@wot-ui/ui 2.0.0-alpha.4 → 2.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/changelog.md +11 -0
- package/components/wd-cascader/types.ts +2 -2
- package/components/wd-config-provider/types.ts +1 -0
- package/components/wd-notify/index.scss +1 -1
- package/components/wd-select-picker/index.scss +6 -0
- package/components/wd-select-picker/wd-select-picker.vue +2 -2
- package/package.json +1 -1
- package/web-types.json +1 -1
package/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"wot-ui","version":"2.0.0-alpha.4","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"vue-components":[{"name":"wd-action-sheet","source":{"symbol":"WdActionSheet"},"description":"从底部弹出的动作菜单面板。","doc-url":"https://wot-ui.cn/component/action-sheet.html#actionsheet","props":[{"name":"v-model","description":"设置菜单显示隐藏","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"false"},{"name":"actions","description":"菜单选项,详见下方 Action 数据结构","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":[{"name":"Action[]","source":{"symbol":"Action"}}],"default":"[]"},{"name":"panels","description":"自定义宫格面板项,支持一维 `Panel[]` 与二维 `Panel[][]`(多行)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["Array<Panel | Panel[]>"],"default":"[]"},{"name":"title","description":"标题","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"cancel-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"close-on-click-action","description":"点击选项后是否关闭菜单","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"动画持续时间(ms)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["number"],"default":"200"},{"name":"z-index","description":"菜单层级","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["number"],"default":"10"},{"name":"lazy-render","description":"弹层内容懒渲染,触发展示时才渲染内容","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iPhone X 类型机型)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面中脱离出来(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-title-class","description":"标题区域自定义类名","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]}],"js":{"events":[{"name":"select","description":"点击选项时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"enter","description":"打开动画开始时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"after-enter","description":"打开动画结束时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"leave","description":"关闭动画开始时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"after-leave","description":"关闭动画结束时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"close","description":"面板关闭时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"cancel","description":"点击取消按钮时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"}]}},{"name":"wd-avatar","source":{"symbol":"WdAvatar"},"description":"用来代表用户或事物,支持图片、文本或图标展示。","doc-url":"https://wot-ui.cn/component/avatar.html#avatar","props":[{"name":"src","description":"图片地址","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"text","description":"文本内容","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"icon","description":"图标名称,使用 wd-icon 组件","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"size","description":"头像尺寸,支持 `large / medium / normal / small` 或自定义数值/单位字符串","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string | number"],"default":"normal"},{"name":"shape","description":"头像形状,支持 `round / square`","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"],"default":"round"},{"name":"bg-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"color","description":"文字颜色","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"alt","description":"图片加载失败时的占位文本","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"mode","description":"图片填充模式,同 uni-app image 组件的 mode","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"],"default":"aspectFill"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义头像内容","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-slots"}],"js":{"events":[{"name":"click","description":"点击头像时触发","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-events"},{"name":"error","description":"图片加载失败时触发","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-events"}]}},{"name":"wd-avatar-group","source":{"symbol":"WdAvatarGroup"},"description":"用来代表用户或事物,支持图片、文本或图标展示。","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup","props":[{"name":"max-count","description":"最大显示数量,超出后显示折叠头像","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["number"]},{"name":"cascading","description":"叠层方向,支持 `left-up / right-up`","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"],"default":"left-up"},{"name":"shape","description":"统一设置组内头像形状,支持 `round / square`","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"],"default":"round"},{"name":"size","description":"统一设置组内头像尺寸,支持预设尺寸或自定义数值/单位字符串","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string | number"],"default":"normal"},{"name":"collapse-avatar","description":"超出最大数量时折叠头像显示文本","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]},{"name":"vertical","description":"是否垂直展示","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]}],"slots":[{"name":"default","description":"头像列表,放置 wd-avatar 组件","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-slots"}]},{"name":"wd-backtop","source":{"symbol":"WdBacktop"},"description":"用于返回页面顶部的操作按钮。","doc-url":"https://wot-ui.cn/component/backtop.html#backtop","props":[{"name":"scroll-top","description":"页面滚动距离","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"]},{"name":"text","description":"按钮文字","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"top","description":"滚动距离超过该值时显示按钮,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"300"},{"name":"duration","description":"返回顶部滚动时间,单位为 `ms`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"100"},{"name":"z-index","description":"组件层级","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"10"},{"name":"icon-style","description":"自定义图标样式","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"shape","description":"按钮形状,可选值为 `circle`、`square`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"],"default":"circle","attribute-value":{"type":"enum"},"values":[{"name":"circle"},{"name":"square"}]},{"name":"bottom","description":"距离屏幕底部的距离,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"100"},{"name":"right","description":"距离屏幕右侧的距离,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"20"},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义按钮内容","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-slots"}]},{"name":"wd-badge","source":{"symbol":"WdBadge"},"description":"出现在按钮、图标旁的数字或状态标记。","doc-url":"https://wot-ui.cn/component/badge.html#badge","props":[{"name":"value","description":"显示值","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"max","description":"最大值,超过后显示 `{max}+`,仅当 `value` 为 number 时生效","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["number"]},{"name":"top","description":"为正时,角标向下偏移对应像素","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"right","description":"为正时,角标向左偏移对应像素","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"is-dot","description":"红色点状标注","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"hidden","description":"隐藏 badge","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"类型,支持 `primary / success / warning / danger / info`","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"bg-color","description":"背景色","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"show-zero","description":"是否显示 0","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"shape","description":"徽标形状,支持 `circle / square / bubble`","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"],"default":"circle"},{"name":"border","description":"是否显示白色描边","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"徽标包裹的内容","doc-url":"https://wot-ui.cn/component/badge.html#slots"}]},{"name":"wd-button","source":{"symbol":"WdButton"},"description":"按钮用于触发一个操作,如提交表单或打开链接。","doc-url":"https://wot-ui.cn/component/button.html#button","props":[{"name":"type","description":"按钮类型,可选值为 `primary`、`success`、`info`、`warning`、`danger`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"primary","attribute-value":{"type":"enum"},"values":[{"name":"primary"},{"name":"success"},{"name":"info"},{"name":"warning"},{"name":"danger"}]},{"name":"variant","description":"按钮变体,可选值为 `base`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"base","attribute-value":{"type":"enum"},"values":[{"name":"base"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"size","description":"按钮尺寸,可选值为 `mini`、`small`、`medium`、`large`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"medium","attribute-value":{"type":"enum"},"values":[{"name":"mini"},{"name":"small"},{"name":"medium"},{"name":"large"}]},{"name":"round","description":"圆角按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"禁用按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"hairline","description":"细边框","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"block","description":"块状按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"loading","description":"加载中按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"text","description":"按钮文本","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"icon","description":"图标类名","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"wd-icon"},{"name":"loading-props","description":"加载配置项","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["Partial<LoadingProps>"]},{"name":"open-type","description":"开放能力类型,详见下方 `ButtonOpenType`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"hover-stop-propagation","description":"阻止祖先节点点击态","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"hover-start-time","description":"按下后多久出现点击态(ms)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["number"],"default":"20"},{"name":"hover-stay-time","description":"松开后多久移除点击态(ms)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["number"],"default":"70"},{"name":"lang","description":"用户信息语言,可选值为 `zh_CN`、`zh_TW`、`en`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"zh_CN"},{"name":"zh_TW"},{"name":"en"}]},{"name":"session-from","description":"会话来源(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"send-message-title","description":"会话消息卡片标题(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"当前标题"},{"name":"send-message-path","description":"会话消息卡片路径(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"当前分享路径"},{"name":"send-message-img","description":"会话消息卡片图片(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"截图"},{"name":"app-parameter","description":"打开 APP 传参(`open-type=launchApp` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"show-message-card","description":"显示会话消息卡片(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"button-id","description":"按钮唯一标识","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"scope","description":"支付宝授权范围,可选值为 `phoneNumber`、`userInfo`(`open-type=getAuthorize` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"phoneNumber"},{"name":"userInfo"},{"name":"open-type=getAuthorize"}]},{"name":"loading-color","description":"加载图标颜色","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击事件","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getuserinfo","description":"获取用户信息回调","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"contact","description":"客服消息回调(`open-type=contact`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getphonenumber","description":"获取手机号回调(`open-type=getPhoneNumber`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getrealtimephonenumber","description":"实时获取手机号回调(`open-type=getRealtimePhoneNumber`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"error","description":"开放能力错误回调(`open-type=launchApp`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"launchapp","description":"打开 APP 成功回调(`open-type=launchApp`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"opensetting","description":"打开授权设置页回调(`open-type=openSetting`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"chooseavatar","description":"获取用户头像回调(`open-type=chooseAvatar`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"agreeprivacyauthorization","description":"同意隐私协议回调(`open-type=agreePrivacyAuthorization`)","doc-url":"https://wot-ui.cn/component/button.html#events"}]}},{"name":"wd-calendar-view","source":{"symbol":"WdCalendarView"},"description":"提供单选、多选、范围、周/月、日期时间等日历选择能力,可作为业务日历选择器的底层面板组件。","doc-url":"https://wot-ui.cn/component/calendar-view.html#calendarview","props":[{"name":"v-model","description":"选中值,13 位时间戳或时间戳数组","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number | number[] | null"]},{"name":"type","description":"日期类型,支持 `date / dates / datetime / week / month / daterange / datetimerange / weekrange / monthrange`","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"],"default":"date"},{"name":"min-date","description":"最小日期时间戳","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往前 6 个月"},{"name":"max-date","description":"最大日期时间戳","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往后 6 个月"},{"name":"first-day-of-week","description":"周起始日(0 表示周日)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":[{"name":"CalendarFormatter","source":{"symbol":"CalendarFormatter"}}]},{"name":"max-range","description":"范围类型的最大可选范围","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"]},{"name":"range-prompt","description":"超出最大范围提示文案","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]},{"name":"allow-same-day","description":"范围类型是否允许同一天/同一周/同一月","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"show-panel-title","description":"是否展示面板标题","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"true"},{"name":"default-time","description":"日期默认时分秒","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string | string[]"],"default":"00:00:00"},{"name":"panel-height","description":"可滚动面板高度","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"316"},{"name":"time-filter","description":"时间选项过滤函数(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":[{"name":"CalendarTimeFilter","source":{"symbol":"CalendarTimeFilter"}}]},{"name":"time-item-height","description":"时间选项高度","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"44"},{"name":"time-visible-item-count","description":"时间可见项数量","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"3"},{"name":"hide-second","description":"是否隐藏秒选择(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"immediate-change","description":"是否手指松开即触发时间选择 change 事件","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"switch-mode","description":"切换模式:`none` 平铺展示所有月份/年份且不展示切换按钮;`month` 支持按月切换并展示上个月/下个月按钮;`year-month` 支持按年与按月切换并展示上一年/下一年、上个月/下个月按钮。大跨度日期场景建议使用 `month` 或 `year-month` 以降低渲染压力","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"],"default":"none"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"面板值变化时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"},{"name":"pickstart","description":"时间选择滚动开始时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"},{"name":"pickend","description":"时间选择滚动结束时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"}]}},{"name":"wd-calendar","source":{"symbol":"WdCalendar"},"description":"提供单选、多选、范围、周/月、日期时间等日历选择能力。","doc-url":"https://wot-ui.cn/component/calendar.html#calendar","props":[{"name":"v-model","description":"选中值,13 位时间戳或时间戳数组","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number | number[] | null"]},{"name":"v-model:visible","description":"是否显示弹层","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"日期类型,支持 `date / dates / datetime / week / month / daterange / datetimerange / weekrange / monthrange`","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"date"},{"name":"min-date","description":"最小日期时间戳","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往前 6 个月"},{"name":"max-date","description":"最大日期时间戳","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往后 6 个月"},{"name":"first-day-of-week","description":"周起始日(0 表示周日)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarFormatter","source":{"symbol":"CalendarFormatter"}}]},{"name":"max-range","description":"范围类型的最大可选范围","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"]},{"name":"range-prompt","description":"超出最大范围提示文案","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"allow-same-day","description":"范围类型是否允许同一天/同一周/同一月","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"default-time","description":"日期默认时分秒","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string | string[]"]},{"name":"time-filter","description":"时间选项过滤函数(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarTimeFilter","source":{"symbol":"CalendarTimeFilter"}}]},{"name":"hide-second","description":"是否隐藏秒选择(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹层标题","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"选择日期(内置文案)"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"15"},{"name":"show-confirm","description":"是否显示确认按钮","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"confirm-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"确定(内置文案)"},{"name":"inner-display-format","description":"自定义范围面板内部回显","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarInnerDisplayFormat","source":{"symbol":"CalendarInnerDisplayFormat"}}]},{"name":"ellipsis","description":"范围文案是否省略显示","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"show-type-switch","description":"是否显示日周月切换","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"shortcuts","description":"快捷选项列表(项需包含 `text`)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["Record<string, any>[]"],"default":"[]"},{"name":"on-shortcuts-click","description":"快捷选项点击回调","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarOnShortcutsClick","source":{"symbol":"CalendarOnShortcutsClick"}}]},{"name":"safe-area-inset-bottom","description":"是否开启底部安全区","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"before-confirm","description":"确认前校验函数","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarBeforeConfirm","source":{"symbol":"CalendarBeforeConfirm"}}]},{"name":"custom-view-class","description":"面板内部视图类名","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"immediate-change","description":"是否手指松开即触发时间选择 change 事件","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否脱离页面渲染","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"panel-height","description":"可滚动面板高度","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"316"},{"name":"show-panel-title","description":"是否展示滚动面板标题","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"switch-mode","description":"切换模式:`none` 平铺展示所有月份/年份且不展示切换按钮;`month` 支持按月切换并展示上个月/下个月按钮;`year-month` 支持按年与按月切换并展示上一年/下一年、上个月/下个月按钮。大跨度日期场景建议使用 `month` 或 `year-month` 以降低渲染压力","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"none"},{"name":"duration","description":"弹层动画时长","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"200"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"点击确认后触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"change","description":"面板日期变化时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"cancel","description":"关闭且未确认时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"open","description":"日历打开时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"}]}},{"name":"wd-card","source":{"symbol":"WdCard"},"description":"用于展示商品的图片、价格等信息。","doc-url":"https://wot-ui.cn/component/card.html#card","props":[{"name":"title","description":"卡片标题","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"type","description":"卡片类型,支持 `rectangle`","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-title-class","description":"标题区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-content-class","description":"内容区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-footer-class","description":"底部区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]}]},{"name":"wd-cascader","source":{"symbol":"WdCascader"},"description":"用于处理树形结构数据的分级选择,支持静态数据与异步加载两种模式。","doc-url":"https://wot-ui.cn/component/cascader.html#cascader","props":[{"name":"v-model","description":"选中项。静态模式为叶子节点值;异步模式可传路径数组用于回显","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string | number | (string | number)[]"]},{"name":"v-model:visible","description":"是否显示弹窗","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"options","description":"层级选项数据(树形结构)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderOption[]","source":{"symbol":"CascaderOption"}}],"default":"[]"},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"before-confirm","description":"确定前校验函数,参数为 `(value, selectedOptions)`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderBeforeConfirm","source":{"symbol":"CascaderBeforeConfirm"}}]},{"name":"check-strictly","description":"是否开启任意级可选","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"confirm-text","description":"严格模式下确认按钮文案","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"value"},{"name":"text-key","description":"选项文本字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"text"},{"name":"children-key","description":"子节点字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"children"},{"name":"tip-key","description":"提示文案字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"tip"},{"name":"is-leaf-key","description":"叶子节点标识字段名,值为 `true` 时点击即确认","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"isLeaf"},{"name":"lazy-load","description":"异步加载回调,参数为 `(option, tabIndex, resolve)`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderLazyLoad","source":{"symbol":"CascaderLazyLoad"}}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iPhone X 类型机型)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"true"},{"name":"line-width","description":"底部条宽度,支持 number 或带单位字符串","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number | string"]},{"name":"line-height","description":"底部条高度,支持 number 或带单位字符串","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number | string"]},{"name":"line-theme","description":"底部条位置样式,支持 `normal / text / underline / dot`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"normal"},{"name":"root-portal","description":"是否脱离文档流渲染(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"确认选择时触发","doc-url":"https://wot-ui.cn/component/cascader.html#events"},{"name":"close","description":"弹窗关闭时触发","doc-url":"https://wot-ui.cn/component/cascader.html#events"}]}},{"name":"wd-cell-group","source":{"symbol":"WdCellGroup"},"description":"单元格用于信息展示与轻交互,可独立使用,也可通过 `wd-cell-group` 统一管理布局与样式。","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup","props":[{"name":"title","description":"分组标题","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"value","description":"分组右侧内容","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"border","description":"是否展示外边框","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"insert","description":"是否展示为圆角卡片风格","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"center","description":"是否使内容垂直居中","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"size","description":"单元格大小,支持 `large`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string | number"]},{"name":"layout","description":"单元格布局方式,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"value-align","description":"右侧内容对齐方式,支持 `left / right / center`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]}]},{"name":"wd-cell","source":{"symbol":"WdCell"},"description":"单元格用于信息展示与轻交互,可独立使用,也可通过 `wd-cell-group` 统一管理布局与样式。","doc-url":"https://wot-ui.cn/component/cell.html#cell","props":[{"name":"title","description":"左侧标题","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"value","description":"右侧内容","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"]},{"name":"placeholder","description":"占位符,仅在 value 为空时显示","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"label","description":"标题下方描述信息","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"prefix-icon","description":"前置图标名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"suffix-icon","description":"后置图标名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"icon-size","description":"图标大小","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"]},{"name":"icon-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"to","description":"跳转地址","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"replace","description":"跳转时是否替换当前页面历史","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"clickable","description":"是否开启点击反馈","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"is-link","description":"是否展示右侧箭头并开启点击反馈","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"arrow-direction","description":"箭头方向(仅在 is-link 为 true 时生效),支持 `left / up / down / right`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"right"},{"name":"size","description":"单元格大小,支持 `large`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"border","description":"是否显示内边框,优先级高于 cell-group 同名属性","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"继承自 CellGroup"},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"],"default":"继承自 CellGroup"},{"name":"center","description":"是否垂直居中","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"继承自 CellGroup"},{"name":"layout","description":"单元格布局方式,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"继承自 CellGroup"},{"name":"value-align","description":"右侧内容对齐方式,支持 `left / right / center`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"继承自 CellGroup"},{"name":"required","description":"是否显示必填星号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"asterisk-position","description":"必填星号位置,支持 `start / end`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"start"},{"name":"hide-asterisk","description":"是否隐藏必填星号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"ellipsis","description":"内容是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"use-title-slot","description":"是否启用 title 插槽","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-prefix-class","description":"前置图标自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-suffix-class","description":"后置图标自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-label-class","description":"label 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-value-class","description":"value 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-title-class","description":"title 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"当 clickable 或 is-link 为 true 时,点击单元格触发","doc-url":"https://wot-ui.cn/component/cell.html#cell-events"}]}},{"name":"wd-checkbox","source":{"symbol":"WdCheckbox"},"description":"用于在一组备选项中进行多选,支持普通样式、按钮样式、自定义图标及全选控制。","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox","props":[{"name":"v-model","description":"单独使用时的绑定值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"false"},{"name":"name","description":"在 CheckboxGroup 中的唯一标识值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"]},{"name":"type","description":"形状类型,支持 `circle / square / button / dot`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"checked-color","description":"选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"unchecked-color","description":"未选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean | null"],"default":"继承自 CheckboxGroup"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean | null"],"default":"继承自 CheckboxGroup"},{"name":"indeterminate","description":"是否半选状态(样式优先级最高)","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean"],"default":"false"},{"name":"true-value","description":"单独使用时的选中值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"true"},{"name":"false-value","description":"单独使用时的非选中值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"false"},{"name":"size","description":"尺寸,支持 `large`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"placement","description":"勾选图标位置,支持 `left / right`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"direction","description":"布局方向,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"max-width","description":"文本最大宽度","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-label-class","description":"label 文本自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"单独使用时,绑定值变化后触发","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-events"}]}},{"name":"wd-checkbox-group","source":{"symbol":"WdCheckboxGroup"},"description":"用于在一组备选项中进行多选,支持普通样式、按钮样式、自定义图标及全选控制。","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup","props":[{"name":"v-model","description":"绑定值数组","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["Array<string | number | boolean>"],"default":"[]"},{"name":"type","description":"形状类型,支持 `circle / square / button / dot`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"circle"},{"name":"checked-color","description":"选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"unchecked-color","description":"未选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"disabled","description":"是否禁用全部选项","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读全部选项","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"min","description":"最小可选数量","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"max","description":"最大可选数量,`0` 表示不限制","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"size","description":"尺寸,支持 `large`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"placement","description":"勾选图标位置,支持 `left / right`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"left"},{"name":"direction","description":"布局方向,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"vertical"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"组选中值变化后触发","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-events"}]}},{"name":"wd-circle","source":{"symbol":"WdCircle"},"description":"圆环形进度条组件,支持颜色定制、渐变色、方向控制和插槽内容。","doc-url":"https://wot-ui.cn/component/circle.html#circle","props":[{"name":"v-model","description":"当前进度","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"0"},{"name":"size","description":"圆环直径,单位 px","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"120"},{"name":"color","description":"进度条颜色,支持字符串或渐变对象","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string | Record<string, string>"],"default":"#1C64FD"},{"name":"layer-color","description":"轨道颜色","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"],"default":"#F2F3F5"},{"name":"fill","description":"填充颜色","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"speed","description":"动画速度,单位 rate/s","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"50"},{"name":"text","description":"圆环中间文字","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"stroke-width","description":"进度条宽度,单位 px","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"18"},{"name":"stroke-linecap","description":"端点形状,可选值为 `butt`、`round`、`square`","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"],"default":"round","attribute-value":{"type":"enum"},"values":[{"name":"butt"},{"name":"round"},{"name":"square"}]},{"name":"clockwise","description":"是否顺时针增加","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]}]},{"name":"wd-collapse-item","source":{"symbol":"WdCollapseItem"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem","props":[{"name":"name","description":"折叠栏唯一标识符","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"title","description":"折叠栏标题,支持 `title` 插槽覆盖","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"disabled","description":"是否禁用该折叠栏","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["boolean"],"default":"false"},{"name":"before-expend","description":"打开前拦截函数,接收 `name` 参数,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":[{"name":"CollapseItemBeforeExpand","source":{"symbol":"CollapseItemBeforeExpand"}}]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["boolean"],"default":"true"},{"name":"custom-body-class","description":"折叠栏内容容器自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-body-style","description":"折叠栏内容容器自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]}]},{"name":"wd-collapse","source":{"symbol":"WdCollapse"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapse","props":[{"name":"v-model","description":"绑定值。普通模式为 `string[]`,手风琴模式为 `string`,查看更多模式为 `boolean`","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string | string[] | boolean"]},{"name":"accordion","description":"是否开启手风琴模式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"viewmore","description":"是否开启查看更多模式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"use-more-slot","description":"查看更多模式下是否启用 `more` 插槽","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"line-num","description":"查看更多模式下收起显示行数","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["number"],"default":"2"},{"name":"custom-more-slot-class","description":"查看更多模式下 `more` 插槽外部自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]}]},{"name":"wd-collapse","source":{"symbol":"WdCollapse"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapse","js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-ui.cn/component/collapse.html#events"}]}},{"name":"wd-config-provider","source":{"symbol":"WdConfigProvider"},"description":"用于为 `Wot` 组件提供主题模式和主题变量配置,支持深色模式、主题定制和跨组件树共享配置。","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider","props":[{"name":"theme","description":"主题风格,可选值为 `light`、`dark`","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"],"default":"light","attribute-value":{"type":"enum"},"values":[{"name":"light"},{"name":"dark"}]},{"name":"theme-vars","description":"自定义主题变量","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":[{"name":"ConfigProviderThemeVars","source":{"symbol":"ConfigProviderThemeVars"}}],"default":"{}"},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"]}],"slots":[{"name":"default","description":"默认插槽,用于包裹需要应用主题的子组件","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-slots"}]},{"name":"wd-count-down","source":{"symbol":"WdCountDown"},"description":"用于实时展示倒计时数值,支持毫秒级渲染与手动控制。","doc-url":"https://wot-ui.cn/component/count-down.html#countdown","props":[{"name":"time","description":"倒计时时长,单位毫秒","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["number"]},{"name":"millisecond","description":"是否开启毫秒级渲染","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["boolean"],"default":"false"},{"name":"format","description":"倒计时格式化字符串","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"],"default":"HH:mm:ss"},{"name":"auto-start","description":"是否在初始化和重置后自动开始倒计时","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"倒计时变化时触发","doc-url":"https://wot-ui.cn/component/count-down.html#events"},{"name":"finish","description":"倒计时结束时触发","doc-url":"https://wot-ui.cn/component/count-down.html#events"}]}},{"name":"wd-count-to","source":{"symbol":"WdCountTo"},"description":"用于数字滚动展示,支持主题、前后缀、小数精度与手动控制。","doc-url":"https://wot-ui.cn/component/count-to.html#countto","props":[{"name":"color","description":"文本颜色","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"type","description":"主题类型,可选值为 `default`、`primary`、`success`、`warning`、`error`","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":"default","attribute-value":{"type":"enum"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"error"}]},{"name":"start-val","description":"起始值","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"0"},{"name":"end-val","description":"最终值","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"2024"},{"name":"duration","description":"从起始值到结束值数字变动的时间(毫秒)","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"3000"},{"name":"auto-start","description":"是否自动开始","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"},{"name":"decimals","description":"保留的小数位数,需大于等于 0","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"0"},{"name":"decimal","description":"小数点符号","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":"."},{"name":"separator","description":"千分位分隔符","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":","},{"name":"prefix","description":"前缀文本","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"suffix","description":"后缀文本","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"use-easing","description":"是否使用缓动动画","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"主体数字内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"},{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"}],"js":{"events":[{"name":"mounted","description":"组件加载完成时触发","doc-url":"https://wot-ui.cn/component/count-to.html#events"},{"name":"finish","description":"动画完成时触发","doc-url":"https://wot-ui.cn/component/count-to.html#events"}]}},{"name":"wd-curtain","source":{"symbol":"WdCurtain"},"description":"一般用于公告类图片弹窗展示。","doc-url":"https://wot-ui.cn/component/curtain.html#curtain","props":[{"name":"v-model","description":"绑定值,控制幕帘显示与关闭","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"value","description":"绑定值(已废弃,请使用 `modelValue`)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"src","description":"幕帘图片地址,必须使用网络地址","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"width","description":"幕帘图片宽度,默认单位 px","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["number"]},{"name":"to","description":"幕帘图片点击链接","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"close-position","description":"关闭按钮位置,可选值为 `inset`、`top`、`bottom`、`top-left`、`top-right`、`bottom-left`、`bottom-right`","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"],"default":"inset","attribute-value":{"type":"enum"},"values":[{"name":"inset"},{"name":"top"},{"name":"bottom"},{"name":"top-left"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom-right"}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"hide-when-close","description":"关闭时是否隐藏弹出层(`display: none`)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"设置层级","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["number"],"default":"10"},{"name":"custom-close-class","description":"关闭按钮自定义类名","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"custom-close-style","description":"关闭按钮自定义样式","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"root-portal","description":"是否从页面中脱离,用于解决 fixed 失效问题(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"show-menu-by-longpress","description":"开启长按图片显示识别小程序码菜单,仅微信小程序支持","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"close-on-click","description":"点击图片时是否关闭幕帘","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击幕帘图片时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"closed","description":"弹出层关闭动画结束后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"beforeenter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"afterenter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"beforeleave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"afterleave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"load","description":"图片加载完成时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"error","description":"图片加载失败时触发。图片加载失败后,即使 `modelValue` 为 `true` 也不会展示幕帘","doc-url":"https://wot-ui.cn/component/curtain.html#events"}]}},{"name":"wd-datetime-picker-view","source":{"symbol":"WdDatetimePickerView"},"description":"用于构建日期时间滚筒选项的基础视图组件。","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#datetimepickerview","props":[{"name":"v-model","description":"选中项,`time` 类型为字符串,其余类型为时间戳","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string | number"]},{"name":"type","description":"选择器类型,可选值为 `datetime`、`date`、`year-month`、`time`、`year`","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DateTimeType","source":{"symbol":"DateTimeType"}}],"default":"datetime","attribute-value":{"type":"of-match"},"values":[{"name":"datetime"},{"name":"date"},{"name":"year-month"},{"name":"time"},{"name":"year"}]},{"name":"item-height","description":"单项高度","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见项数量","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文案字段名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"label"},{"name":"formatter","description":"自定义选项文案格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewFormatter","source":{"symbol":"DatetimePickerViewFormatter"}}]},{"name":"filter","description":"自定义过滤函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewFilter","source":{"symbol":"DatetimePickerViewFilter"}}]},{"name":"column-formatter","description":"自定义列格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewColumnFormatter","source":{"symbol":"DatetimePickerViewColumnFormatter"}}]},{"name":"min-date","description":"最小日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"当前年份前 10 年 1 月 1 日"},{"name":"max-date","description":"最大日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"当前年份后 10 年 12 月 31 日"},{"name":"min-hour","description":"最小小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-hour","description":"最大小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"23"},{"name":"min-minute","description":"最小分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-minute","description":"最大分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"59"},{"name":"use-second","description":"是否显示秒选择,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"min-second","description":"最小秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-second","description":"最大秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"59"},{"name":"immediate-change","description":"是否在手指松开时立即触发 change(仅微信/支付宝小程序)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"boundary-min-date","description":"区间模式开始时间最小边界(用于联动)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"]},{"name":"boundary-max-date","description":"区间模式结束时间最大边界(用于联动)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选中项变化时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"},{"name":"pickstart","description":"滚动开始时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"},{"name":"pickend","description":"滚动结束时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"}]}},{"name":"wd-datetime-picker","source":{"symbol":"WdDatetimePicker"},"description":"对 `DatetimePickerView` 的封装组件,内置日期时间列构建与弹窗交互。","doc-url":"https://wot-ui.cn/component/datetime-picker.html#datetimepicker","props":[{"name":"v-model","description":"绑定值。`time` 类型为字符串;区间模式为数组;其余类型为时间戳","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string | number | Array<string | number>"]},{"name":"v-model:visible","description":"是否显示弹窗","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"选择器类型,可选值为 `datetime`、`date`、`year-month`、`time`、`year`","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"datetime","attribute-value":{"type":"enum"},"values":[{"name":"datetime"},{"name":"date"},{"name":"year-month"},{"name":"time"},{"name":"year"}]},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"cancel-button-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"item-height","description":"单项高度","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见项数量","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文案字段名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"label"},{"name":"min-date","description":"最小日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"当前年份前 10 年 1 月 1 日"},{"name":"max-date","description":"最大日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"当前年份后 10 年 12 月 31 日 23:59:59"},{"name":"min-hour","description":"最小小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-hour","description":"最大小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"23"},{"name":"min-minute","description":"最小分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-minute","description":"最大分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"59"},{"name":"use-second","description":"是否显示秒选择,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"min-second","description":"最小秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-second","description":"最大秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"59"},{"name":"formatter","description":"自定义滚筒选项格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerViewFormatter","source":{"symbol":"DatetimePickerViewFormatter"}}]},{"name":"filter","description":"自定义过滤函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerViewFilter","source":{"symbol":"DatetimePickerViewFilter"}}]},{"name":"before-confirm","description":"确定前校验函数,接收 `(value)`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerBeforeConfirm","source":{"symbol":"DatetimePickerBeforeConfirm"}}]},{"name":"display-format-tab-label","description":"区间模式下自定义 Tab 标签格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerDisplayFormatTabLabel","source":{"symbol":"DatetimePickerDisplayFormatTabLabel"}}]},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"15"},{"name":"immediate-change","description":"是否在手指松开时立即触发 change(仅微信/支付宝小程序)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否脱离文档流渲染(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"custom-view-class","description":"pickerView 外部自定义样式类","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"open","description":"打开弹窗时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"cancel","description":"点击取消或关闭弹窗时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"confirm","description":"点击确认按钮触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"toggle","description":"区间模式切换开始/结束 Tab 时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"}]}},{"name":"wd-dialog","source":{"symbol":"WdDialog"},"description":"弹出对话框,常用于消息提示、操作确认和输入收集,支持函数式调用。","doc-url":"https://wot-ui.cn/component/dialog.html#dialog","slots":[{"name":"header","description":"自定义头部区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"image","description":"自定义图片区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"title","description":"自定义标题区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"default","description":"自定义内容区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"actions","description":"自定义操作区","doc-url":"https://wot-ui.cn/component/dialog.html#slots"}]},{"name":"wd-divider","source":{"symbol":"WdDivider"},"description":"用于将内容分隔为多个区域。","doc-url":"https://wot-ui.cn/component/divider.html#divider","props":[{"name":"color","description":"自定义颜色,支持所有合法颜色值","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]},{"name":"content-position","description":"内容位置,可选值为 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":[{"name":"DividerPosition","source":{"symbol":"DividerPosition"}}],"default":"center","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"center"},{"name":"right"}]},{"name":"dashed","description":"是否显示为虚线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"false"},{"name":"vertical","description":"是否显示为垂直分割线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"false"},{"name":"hairline","description":"是否显示为 0.5px 细线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"分割线内容,仅在 `vertical` 为 `false` 时生效","doc-url":"https://wot-ui.cn/component/divider.html#slots"}]},{"name":"wd-drop-menu","source":{"symbol":"WdDropMenu"},"description":"向下或向上弹出的菜单列表。","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu","props":[{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["number"],"default":"12"},{"name":"direction","description":"菜单展开方向,可选值为 `up`、`down`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":[{"name":"DropDirection","source":{"symbol":"DropDirection"}}],"default":"down","attribute-value":{"type":"of-match"},"values":[{"name":"up"},{"name":"down"}]},{"name":"modal","description":"是否展示蒙层","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["boolean"],"default":"true"},{"name":"close-on-click-modal","description":"是否点击蒙层时关闭","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"菜单展开/收起动画时长,单位 ms","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["number"],"default":"200"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["string"]}],"slots":[{"name":"default","description":"菜单项容器插槽","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-slots"}]},{"name":"wd-drop-menu-item","source":{"symbol":"WdDropMenuItem"},"description":"向下或向上弹出的菜单列表。","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem","props":[{"name":"v-model","description":"当前选中值","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string | number"]},{"name":"disabled","description":"是否禁用菜单","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["boolean"],"default":"false"},{"name":"options","description":"菜单选项列表,默认结构为 `{ label, value, tip }`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["Array<Record<string, any>>"],"default":"[]"},{"name":"icon-name","description":"选中项图标名称","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"check"},{"name":"title","description":"菜单标题,设置后优先展示标题文案","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"icon","description":"菜单右侧图标","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"caret-down"},{"name":"icon-size","description":"菜单图标尺寸","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string | number"]},{"name":"before-toggle","description":"菜单开关前拦截函数,接收 `{ status }`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":[{"name":"DropMenuItemBeforeToggle","source":{"symbol":"DropMenuItemBeforeToggle"}}]},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文本字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"label"},{"name":"tip-key","description":"选项说明字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"tip"},{"name":"custom-popup-class","description":"自定义下拉 popup 样式类","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"custom-popup-style","description":"自定义下拉 popup 样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"popup-height","description":"popup 高度,未设置时默认最大高度为 80%","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"root-portal","description":"是否脱离页面文档流渲染,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义菜单内容","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-slots"}],"js":{"events":[{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"open","description":"菜单开始展开时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"opened","description":"菜单展开完成时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"close","description":"菜单开始关闭时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"closed","description":"菜单关闭完成时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"}]}},{"name":"wd-empty","source":{"symbol":"WdEmpty"},"description":"一般用于兜底占位展示。","doc-url":"https://wot-ui.cn/component/empty.html#empty","props":[{"name":"icon","description":"缺省图标名称或图片 URL","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string"],"default":"empty"},{"name":"icon-size","description":"图标或图片大小,默认单位为 px","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string","number"]},{"name":"tip","description":"提示文案","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string"]}]},{"name":"wd-fab","source":{"symbol":"WdFab"},"description":"悬浮动作按钮组件,按下可显示一组动作按钮。","doc-url":"https://wot-ui.cn/component/fab.html#fab","props":[{"name":"v-model:active","description":"是否激活","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"悬浮按钮类型,可选值为 `primary`、`success`、`info`、`warning`、`danger`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabType","source":{"symbol":"FabType"}}],"default":"primary","attribute-value":{"type":"of-match"},"values":[{"name":"primary"},{"name":"success"},{"name":"info"},{"name":"warning"},{"name":"danger"}]},{"name":"position","description":"悬浮按钮位置,可选值为 `left-top`、`right-top`、`left-bottom`、`right-bottom`、`left-center`、`right-center`、`top-center`、`bottom-center`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabPosition","source":{"symbol":"FabPosition"}}],"default":"right-bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left-top"},{"name":"right-top"},{"name":"left-bottom"},{"name":"right-bottom"},{"name":"left-center"},{"name":"right-center"},{"name":"top-center"},{"name":"bottom-center"}]},{"name":"draggable","description":"按钮能否拖动","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"direction","description":"悬浮按钮菜单弹出方向,可选值为 `top`、`right`、`bottom`、`left`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabDirection","source":{"symbol":"FabDirection"}}],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"right"},{"name":"bottom"},{"name":"left"}]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"inactive-icon","description":"悬浮按钮未展开时的图标","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"],"default":"plus"},{"name":"active-icon","description":"悬浮按钮展开时的图标","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"],"default":"close"},{"name":"z-index","description":"自定义悬浮按钮层级","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["number"],"default":"99"},{"name":"gap","description":"自定义悬浮按钮与可视区域边缘的间距","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabGap","source":{"symbol":"FabGap"}}],"default":"{ top: 16, right: 16, bottom: 16, left: 16 }"},{"name":"expandable","description":"用于控制点击时是否展开菜单,设置为 `false` 时触发 `click` 事件","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"`expandable` 设置为 `false` 时,点击悬浮组件内部但不触发内部逻辑时则抛出版事件","doc-url":"https://wot-ui.cn/component/fab.html#events"}]}},{"name":"wd-floating-panel","source":{"symbol":"WdFloatingPanel"},"description":"浮动在页面底部的面板,用户可以通过上下拖动秒板来浏览内容,从而在不离开当前视图的情况下访问更多信息,常用于地图导航。","doc-url":"https://wot-ui.cn/component/floating-panel.html#floatingpanel","props":[{"name":"v-model:height","description":"当前面板的显示高度","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number"],"default":"0"},{"name":"anchors","description":"设置自定义锚点, 单位 `px`","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number[]"],"default":"[100, windowHeight 0.6]"},{"name":"duration","description":"动画时长,单位 `ms`,设置为 `0` 可以禁用动画","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number"],"default":"300"},{"name":"content-draggable","description":"允许拖拽内容容器","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"是否开启底部安全区适配","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"false"},{"name":"show-scrollbar","description":"是否开启滚动条","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"默认内容区域插槽","doc-url":"https://wot-ui.cn/component/floating-panel.html#slots"}]},{"name":"wd-form-item","source":{"symbol":"WdFormItem"},"description":"用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型。","doc-url":"https://wot-ui.cn/component/form.html#formitem","js":{"events":[{"name":"click","description":"点击表单项时触发","doc-url":"https://wot-ui.cn/component/form.html#formitem-events"}]}},{"name":"wd-form","source":{"symbol":"WdForm"},"description":"用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型。","doc-url":"https://wot-ui.cn/component/form.html#form","props":[{"name":"model","description":"表单数据对象","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["Record<string, any>"]},{"name":"schema","description":"表单校验对象","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":[{"name":"FormSchema","source":{"symbol":"FormSchema"}}]},{"name":"validate-trigger","description":"校验触发时机,可选值为 `change`、`blur`、`submit`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string | string[]"],"default":"submit","attribute-value":{"type":"of-match"},"values":[{"name":"change"},{"name":"blur"},{"name":"submit"}]},{"name":"reset-on-change","description":"表单数据变化时是否重置表单提示信息(设置为 `false` 时需要开发者单独对变更项进行校验)","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"true"},{"name":"error-type","description":"校验错误提示方式,可选值为 `toast`、`message`、`none`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"default":"message","attribute-value":{"type":"of-match"},"values":[{"name":"toast"},{"name":"message"},{"name":"none"}]},{"name":"border","description":"是否展示边框线","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"center","description":"是否使内容垂直居中","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"size","description":"单元格大小,可选值为 `large`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"large"}]},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string | number"]},{"name":"layout","description":"单元格布局方式,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"value-align","description":"右侧内容对齐方式,可选值为 `left`、`right`、`center`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"},{"name":"center"}]},{"name":"asterisk-position","description":"必填星号位置,可选值为 `start`、`end`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"start"},{"name":"end"}]},{"name":"hide-asterisk","description":"是否隐藏必填星号","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"ellipsis","description":"是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"}]},{"name":"wd-gap","source":{"symbol":"WdGap"},"description":"用于页面布局中的间距占位,可替代 `margin` 或 `padding`,也可作为底部占位元素。","doc-url":"https://wot-ui.cn/component/gap.html#gap","props":[{"name":"height","description":"间隔槽高度,支持数字(单位 `px`)或字符串(如 `20rpx`)","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string | number"],"default":"14"},{"name":"bg-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"],"default":"transparent"},{"name":"safe-area-bottom","description":"是否开启底部安全区适配","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"]}]},{"name":"wd-grid","source":{"symbol":"WdGrid"},"description":"宫格可以在水平方向上把页面分隔成等宽度的区块,用于展示内容或进行页面导航。","doc-url":"https://wot-ui.cn/component/grid.html#grid","props":[{"name":"column","description":"列数","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["number"]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"gutter","description":"格子之间的间距,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["number"]},{"name":"square","description":"是否将格子固定为正方形","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"clickable","description":"是否开启格子点击反馈","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"bg-color","description":"背景颜色设置","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]},{"name":"hover-class","description":"指定 grid-item 按下去的样式类","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"wd-grid-item__content--hover"},{"name":"center","description":"是否将格子内容居中显示","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"true"},{"name":"direction","description":"格子内容排列的方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"reverse","description":"是否调换图标和文本的位置","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"icon-size","description":"图标大小,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"28px"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]}]},{"name":"wd-grid-item","source":{"symbol":"WdGridItem"},"description":"宫格可以在水平方向上把页面分隔成等宽度的区块,用于展示内容或进行页面导航。","doc-url":"https://wot-ui.cn/component/grid.html#griditem","props":[{"name":"text","description":"文字内容","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"ellipsis","description":"是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["boolean"],"default":"false"},{"name":"icon","description":"图标名称,可选值见 `wd-icon` 组件","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"icon-color","description":"图标颜色","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"icon-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"is-dot","description":"是否显示图标右上角小红点","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["boolean"],"default":"false"},{"name":"value","description":"图标右上角徽标显示值","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string | number"]},{"name":"max","description":"图标右上角徽标最大值,超过最大值会显示 `{max}+`","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["number"],"default":"99"},{"name":"badge-props","description":"自定义徽标属性,透传给 [Badge 组件](/component/badge#attributes)","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":[{"name":"BadgeProps","source":{"symbol":"BadgeProps"}}]},{"name":"url","description":"点击后跳转的链接地址","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"link-type","description":"页面跳转方式,可选值为 `navigateTo`、`switchTab`、`reLaunch`、`redirectTo`","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"],"default":"navigateTo","attribute-value":{"type":"of-match"},"values":[{"name":"navigateTo"},{"name":"switchTab"},{"name":"reLaunch"},{"name":"redirectTo"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]}]},{"name":"wd-icon","source":{"symbol":"WdIcon"},"description":"基于字体的图标集。","doc-url":"https://wot-ui.cn/component/icon.html#icon","props":[{"name":"name","description":"图标名称或图片链接","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]},{"name":"color","description":"图标的颜色","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"],"default":"inherit"},{"name":"size","description":"图标的字体大小","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string | number"],"default":"inherit"},{"name":"class-prefix","description":"类名前缀,用于使用自定义图标","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"],"default":"wd-icon"},{"name":"css-icon","description":"是否为 CSS 类名图标(如 UnoCSS 图标),为 true 时 name 直接作为 CSS class 使用","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击图标时触发","doc-url":"https://wot-ui.cn/component/icon.html#events"}]}},{"name":"wd-image-preview","source":{"symbol":"WdImagePreview"},"description":"图片预览组件,支持多图预览、滑动切换和函数式调用。","doc-url":"https://wot-ui.cn/component/image-preview.html#imagepreview","props":[{"name":"selector","description":"选择器","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"]},{"name":"images","description":"图片 URL 数组","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string[]"],"default":"[]"},{"name":"start-position","description":"起始位置索引","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["number"],"default":"0"},{"name":"show-index","description":"是否显示页码","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"loop","description":"是否循环播放","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"closeable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"close-icon","description":"关闭图标名称","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"],"default":"close"},{"name":"close-icon-position","description":"关闭图标位置,可选值为 `top-left`、`top-right`","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"],"default":"top-right","attribute-value":{"type":"of-match"},"values":[{"name":"top-left"},{"name":"top-right"}]},{"name":"close-on-click","description":"是否点击图片或遮罩时关闭","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"show-menu-by-longpress","description":"开启长按图片显示识别小程序码菜单","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["number"],"default":"1000"}],"js":{"events":[{"name":"open","description":"打开预览时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"close","description":"关闭预览时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"change","description":"切换图片时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"long-press","description":"长按图片时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"}]}},{"name":"wd-img-cropper","source":{"symbol":"WdImgCropper"},"description":"图片剪裁组件,用于图片裁剪,支持拖拽、缩放、旋转等操作。","doc-url":"https://wot-ui.cn/component/img-cropper.html#imgcropper","props":[{"name":"v-model","description":"打开图片裁剪组件","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["boolean"],"default":"false"},{"name":"img-src","description":"图片资源链接","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"]},{"name":"img-width","description":"截屏预览图片的初始宽度; `1、设置宽度不设置高度,按照宽度等比缩放;2、如果都不设置,预览时图片大小会根据裁剪框大小进行等比缩放,进行锁边处理;`; `string` 类型只支持 `%` 单位,`number` 类型时单位为 `px`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number | string"]},{"name":"img-height","description":"截屏预览图片的初始高度; `1、设置高度不设置宽度,按照高度等比缩放;2、如果都不设置,预览时图片大小会根据裁剪框大小进行等比缩放,进行锁边处理;`; `string` 类型只支持 `%` 单位,`number` 类型时单位为 `px`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number | string"]},{"name":"disabled-rotate","description":"禁止图片旋转","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["boolean"],"default":"false"},{"name":"export-scale","description":"设置导出图片尺寸","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"2"},{"name":"max-scale","description":"最大缩放倍数","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"3"},{"name":"cancel-button-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"取消"},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"完成"},{"name":"quality","description":"生成的图片质量 [wx.canvasToTempFilePath属性介绍](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasToTempFilePath.html#%E5%8F%82%E6%95%B0)","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"1"},{"name":"file-type","description":"目标文件的类型,[wx.canvasToTempFilePath属性介绍](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasToTempFilePath.html#%E5%8F%82%E6%95%B0)","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"png"},{"name":"aspect-ratio","description":"裁剪框宽高比,格式为 `width:height`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"1:1"}],"js":{"events":[{"name":"confirm","description":"完成截图时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"cancel","description":"当取消截图时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"imgloaderror","description":"当图片加载错误时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"imgloaded","description":"当图片加载完成时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"}]}},{"name":"wd-img","source":{"symbol":"WdImg"},"description":"增强版图片组件,支持填充模式、懒加载、加载态/失败态插槽,以及点击预览。","doc-url":"https://wot-ui.cn/component/img.html#img","props":[{"name":"src","description":"图片链接","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"preview-src","description":"预览图片链接","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"width","description":"宽度,支持数字(单位 `px`)或字符串","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"height","description":"高度,支持数字(单位 `px`)或字符串","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"mode","description":"填充模式,可选值为 `top left`、`top right`、`bottom left`、`bottom right`、`right`、`left`、`center`、`bottom`、`top`、`heightFix`、`widthFix`、`scaleToFill`、`aspectFit`、`aspectFill`","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"scaleToFill","attribute-value":{"type":"of-match"},"values":[{"name":"top left"},{"name":"top right"},{"name":"bottom left"},{"name":"bottom right"},{"name":"right"},{"name":"left"},{"name":"center"},{"name":"bottom"},{"name":"top"},{"name":"heightFix"},{"name":"widthFix"},{"name":"scaleToFill"},{"name":"aspectFit"},{"name":"aspectFill"}]},{"name":"round","description":"是否显示为圆形","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"radius","description":"圆角大小,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"lazy-load","description":"是否开启图片懒加载","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"enable-preview","description":"是否支持点击预览","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"show-menu-by-longpress","description":"是否开启长按图片显示识别小程序码菜单,仅微信小程序平台有效","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"show-loading","description":"是否展示默认加载态","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"true"},{"name":"show-error","description":"是否展示默认失败态","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"custom-image","description":"内部 `image` 节点自定义类名","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]}],"slots":[{"name":"loading","description":"自定义图片加载中的展示内容","doc-url":"https://wot-ui.cn/component/img.html#slots"},{"name":"error","description":"自定义图片加载失败后的展示内容","doc-url":"https://wot-ui.cn/component/img.html#slots"}],"js":{"events":[{"name":"click","description":"点击图片时触发","doc-url":"https://wot-ui.cn/component/img.html#events"},{"name":"load","description":"图片加载完成时触发,返回图片加载事件对象","doc-url":"https://wot-ui.cn/component/img.html#events"},{"name":"error","description":"图片加载失败时触发,返回图片错误事件对象","doc-url":"https://wot-ui.cn/component/img.html#events"}]}},{"name":"wd-index-anchor","source":{"symbol":"WdIndexAnchor"},"description":"用于列表的索引分类显示和快速定位。","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor","props":[{"name":"index","description":"索引字符","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string | number"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string"]}]},{"name":"wd-index-bar","source":{"symbol":"WdIndexBar"},"description":"用于列表的索引分类显示和快速定位。","doc-url":"https://wot-ui.cn/component/index-bar.html#indexbar","props":[{"name":"sticky","description":"索引是否吸顶","doc-url":"https://wot-ui.cn/component/index-bar.html#attributes","type":["boolean"],"default":"false"}]},{"name":"wd-input-number","source":{"symbol":"WdInputNumber"},"description":"由增加按钮、减少按钮和输入框组成,用于在一定范围内输入或调整数字。","doc-url":"https://wot-ui.cn/component/input-number.html#inputnumber","props":[{"name":"v-model","description":"绑定值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"]},{"name":"min","description":"最小值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"1"},{"name":"max","description":"最大值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"Number.MAX_SAFE_INTEGER"},{"name":"step","description":"步进值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"1"},{"name":"step-strictly","description":"是否严格按步进值递增或递减","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"precision","description":"数值精度","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"],"default":"0"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-input","description":"是否禁用输入框","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-minus","description":"是否禁用减号按钮","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-plus","description":"是否禁用加号按钮","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"without-input","description":"是否不显示输入框","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"input-width","description":"输入框宽度,支持数字和带单位字符串","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"]},{"name":"allow-null","description":"是否允许输入值为空,设置为 `true` 后允许传入空字符串","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder","description":"输入框占位文本","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"before-change","description":"数值变更前触发,返回 `false` 可阻止值更新,支持返回 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["(value: number | string) => boolean | Promise<boolean>"]},{"name":"long-press","description":"是否允许长按进行加减","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"immediate-change","description":"是否立即响应输入变化,`false` 时仅在失焦或按钮点击时更新","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"update-on-init","description":"是否在初始化时更新 `v-model` 为修正后的值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"input-type","description":"输入框类型,可选值为 `number`、`digit`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number' | 'digit"],"default":"digit","attribute-value":{"type":"of-match"},"values":[{"name":"number"},{"name":"digit"}]},{"name":"theme","description":"主题风格,可选值为 `default`、`outline`、`outline-split`、`primary`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":[{"name":"InputNumberTheme","source":{"symbol":"InputNumberTheme"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"outline"},{"name":"outline-split"},{"name":"primary"}]},{"name":"round","description":"是否启用圆角样式","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"值修改时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"focus","description":"输入框获取焦点时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"blur","description":"输入框失去焦点时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"}]}},{"name":"wd-input","source":{"symbol":"WdInput"},"description":"用户可以在文本框中输入内容。","doc-url":"https://wot-ui.cn/component/input.html#input","props":[{"name":"v-model","description":"输入框绑定值","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string | number"]},{"name":"type","description":"输入框类型,可选值为 `text`、`number`、`digit`、`idcard`、`safe-password`、`nickname`、`tel`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputType","source":{"symbol":"InputType"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"number"},{"name":"digit"},{"name":"idcard"},{"name":"safe-password"},{"name":"nickname"},{"name":"tel"}]},{"name":"placeholder","description":"占位文本","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"],"default":"请输入..."},{"name":"placeholder-style","description":"placeholder 样式,目前支持 `color`、`font-size`、`font-weight`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"placeholder-class","description":"placeholder 样式类","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"maxlength","description":"最大输入长度","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"支付宝小程序无默认值,其余平台为 -1"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"clearable","description":"是否显示清空按钮","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"clear-trigger","description":"清空按钮显示时机,可选值为 `focus`、`always`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputClearTrigger","source":{"symbol":"InputClearTrigger"}}],"default":"always","attribute-value":{"type":"of-match"},"values":[{"name":"focus"},{"name":"always"}]},{"name":"focus-when-clear","description":"点击清空按钮后是否自动聚焦","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"show-password","description":"是否显示密码切换按钮","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"prefix-icon","description":"前置图标名称","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"suffix-icon","description":"后置图标名称","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"show-word-limit","description":"是否显示字数统计,需要同时设置 `maxlength`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"error","description":"是否展示错误状态","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"align-right","description":"输入内容是否右对齐","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"compact","description":"是否开启紧凑模式;未显式设置时,在 `wd-form-item` 中会自动启用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"]},{"name":"focus","description":"是否获取焦点","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"cursor-spacing","description":"光标与键盘的距离","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"0"},{"name":"cursor","description":"获取焦点时的光标位置","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"selection-start","description":"光标起始位置,需与 `selection-end` 搭配使用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"selection-end","description":"光标结束位置,需与 `selection-start` 搭配使用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"hold-keyboard","description":"聚焦时点击页面是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"confirm-type","description":"键盘右下角按钮文字,可选值为 `done`、`go`、`next`、`search`、`send`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputConfirmType","source":{"symbol":"InputConfirmType"}}],"default":"done","attribute-value":{"type":"of-match"},"values":[{"name":"done"},{"name":"go"},{"name":"next"},{"name":"search"},{"name":"send"}]},{"name":"confirm-hold","description":"点击键盘右下角按钮时是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"always-embed","description":"是否强制 input 处于同层状态,仅微信小程序 iOS 生效","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"ignore-composition-event","description":"是否忽略文本合成系统事件处理;为 `false` 时会触发 composition 相关事件,且合成期间会触发 `input`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"inputmode","description":"输入模式提示,可选值为 `none`、`text`、`decimal`、`numeric`、`tel`、`search`、`email`、`url`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputMode","source":{"symbol":"InputMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"text"},{"name":"decimal"},{"name":"numeric"},{"name":"tel"},{"name":"search"},{"name":"email"},{"name":"url"}]},{"name":"enable-native","description":"支付宝小程序下是否启用原生输入框,设为 `false` 可避免弹起键盘后内容上移","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-input-class","description":"输入框自定义类名","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]}],"slots":[{"name":"prefix","description":"自定义前置内容","doc-url":"https://wot-ui.cn/component/input.html#slots"},{"name":"suffix","description":"自定义后置内容","doc-url":"https://wot-ui.cn/component/input.html#slots"}],"js":{"events":[{"name":"input","description":"输入时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"focus","description":"聚焦时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"blur","description":"失焦时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"confirm","description":"点击键盘完成按钮时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"keyboardheightchange","description":"键盘高度变化时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clickprefixicon","description":"点击前置图标时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clicksuffixicon","description":"点击后置图标时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"click","description":"点击组件根节点时触发","doc-url":"https://wot-ui.cn/component/input.html#events"}]}},{"name":"wd-keyboard","source":{"symbol":"WdKeyboard"},"description":"虚拟数字键盘,用于输入数字、密码、身份证或车牌号等场景。","doc-url":"https://wot-ui.cn/component/keyboard.html#keyboard","props":[{"name":"v-model:visible","description":"是否展开","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"v-model","description":"当前输入值","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"title","description":"键盘标题","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"mode","description":"键盘模式,可选值为 `default`、`custom`、`car`","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":[{"name":"KeyboardMode","source":{"symbol":"KeyboardMode"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"custom"},{"name":"car"}]},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["number"],"default":"100"},{"name":"maxlength","description":"最大输入长度","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["number"],"default":"Infinity"},{"name":"show-delete-key","description":"是否显示删除键;仅对默认数字键盘与右侧栏键盘生效","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"random-key-order","description":"是否随机排序数字按键","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"close-text","description":"关闭按钮文本;在默认/车牌模式中显示在头部,在 `custom` 模式中显示在右侧大按钮上","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"delete-text","description":"删除按钮文本","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"close-button-loading","description":"关闭按钮是否显示加载状态","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"modal","description":"是否显示蒙层;设为 `false` 时蒙层透明","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"hide-on-click-outside","description":"是否允许点击外部关闭键盘,同时控制是否渲染遮罩","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"lock-scroll","description":"是否锁定背景滚动","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"是否适配底部安全区","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"extra-key","description":"额外按键,可传单个字符串或字符串数组;`custom` 模式下支持两个额外按键","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string | string[]"]},{"name":"root-portal","description":"是否从页面中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"v-model:car","description":"车牌键盘语言模式,当 `mode=car` 时生效,可选值为 `zh`、`en`","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":[{"name":"CarKeyboardLang","source":{"symbol":"CarKeyboardLang"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"mode=car"},{"name":"zh"},{"name":"en"}]},{"name":"auto-switch-lang","description":"是否自动切换车牌键盘语言,当 `mode=car` 且 `car-lang` 为非受控状态时生效","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]}],"slots":[{"name":"title","description":"自定义标题内容","doc-url":"https://wot-ui.cn/component/keyboard.html#slots"}],"js":{"events":[{"name":"input","description":"点击可输入按键时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"delete","description":"点击删除键时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"close","description":"点击关闭按钮或遮罩关闭时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:visible","description":"键盘显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:modelValue","description":"当前输入值变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:carLang","description":"车牌键盘语言变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"}]}},{"name":"wd-row","source":{"symbol":"WdRow"},"description":"用于快速进行布局。","doc-url":"https://wot-ui.cn/component/layout.html#row","props":[{"name":"gutter","description":"列元素之间的间距(单位为 px)","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["number"],"default":"0"},{"name":"justify","description":"主轴对齐方式,可选值为 `start`、`center`、`end`、`space-between`、`space-around`、`space-evenly`","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"],"default":"start","attribute-value":{"type":"of-match"},"values":[{"name":"start"},{"name":"center"},{"name":"end"},{"name":"space-between"},{"name":"space-around"},{"name":"space-evenly"}]},{"name":"align","description":"交叉轴对齐方式,可选值为 `top`、`middle`、`bottom`","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"middle"},{"name":"bottom"}]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"]}]},{"name":"wd-col","source":{"symbol":"WdCol"},"description":"用于快速进行布局。","doc-url":"https://wot-ui.cn/component/layout.html#col","props":[{"name":"span","description":"列元素宽度(栅格占据的列数,共 24 列)","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["number"],"default":"24"},{"name":"offset","description":"列元素偏移距离(栅格左侧的间隔列数)","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["number"],"default":"0"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["string"]}]},{"name":"wd-loading","source":{"symbol":"WdLoading"},"description":"加载动画,用于表示加载中的过渡状态。","doc-url":"https://wot-ui.cn/component/loading.html#loading","props":[{"name":"type","description":"加载指示器类型,可选值为 `circular`、`spinner`、`dots`","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":[{"name":"LoadingType","source":{"symbol":"LoadingType"}}],"default":"circular","attribute-value":{"type":"of-match"},"values":[{"name":"circular"},{"name":"spinner"},{"name":"dots"}]},{"name":"color","description":"设置加载指示器颜色","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"size","description":"设置加载指示器大小","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["number | string"]},{"name":"text","description":"加载指示器文字","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"direction","description":"排列方向,可选值为 `vertical`、`horizontal`","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":[{"name":"LoadingDirection","source":{"symbol":"LoadingDirection"}}],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"vertical"},{"name":"horizontal"}]},{"name":"inherit-color","description":"是否继承父元素颜色","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"custom-spinner-class","description":"自定义加载指示器样式类","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]}]},{"name":"wd-loadmore","source":{"symbol":"WdLoadmore"},"description":"用于在列表底部展示加载状态。","doc-url":"https://wot-ui.cn/component/loadmore.html#loadmore","props":[{"name":"state","description":"加载状态,可选值为 `loading`、`finished`、`error`","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":[{"name":"LoadMoreState","source":{"symbol":"LoadMoreState"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"loading"},{"name":"finished"},{"name":"error"}]},{"name":"loading-text","description":"加载状态文案","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“正在努力加载中...”"},{"name":"finished-text","description":"加载完成文案","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“已加载完毕”"},{"name":"error-text","description":"加载失败文案;“点击重试”为组件内独立提示文案,不包含在该属性默认值中","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“加载失败”"},{"name":"loading-props","description":"内部 `wd-loading` 的属性配置,类型参见下方 `LoadingProps`","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["Partial<LoadingProps>"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"]}],"js":{"events":[{"name":"reload","description":"`state` 为 `error` 时,点击组件触发","doc-url":"https://wot-ui.cn/component/loadmore.html#events"}]}},{"name":"wd-navbar-capsule","source":{"symbol":"WdNavbarCapsule"},"description":"为页面提供导航功能,常用于页面顶部。","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule","props":[{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-attributes","type":["string"]}],"js":{"events":[{"name":"back","description":"点击返回按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-events"},{"name":"back-home","description":"点击返回首页按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-events"}]}},{"name":"wd-navbar","source":{"symbol":"WdNavbar"},"description":"为页面提供导航功能,常用于页面顶部。","doc-url":"https://wot-ui.cn/component/navbar.html#navbar","props":[{"name":"title","description":"标题文字","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"left-text","description":"左侧文案","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"right-text","description":"右侧文案","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"left-arrow","description":"是否显示左侧箭头","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"bordered","description":"是否显示下边框","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"是否固定到顶部","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder","description":"固定在顶部时,在标签位置生成一个等高的占位元素","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"z-index","description":"导航栏 z-index","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["number"],"default":"10"},{"name":"safe-area-inset-top","description":"是否开启顶部安全区适配","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"left-disabled","description":"是否禁用左侧按钮,禁用时透明度降低,且无法点击","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"right-disabled","description":"是否禁用右侧按钮,禁用时透明度降低,且无法点击","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]}],"js":{"events":[{"name":"click-left","description":"点击左侧按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#events"},{"name":"click-right","description":"点击右侧按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#events"}]}},{"name":"wd-notice-bar","source":{"symbol":"WdNoticeBar"},"description":"通知栏组件,用于在页面顶部展示通知提醒。","doc-url":"https://wot-ui.cn/component/notice-bar.html#noticebar","props":[{"name":"text","description":"通知栏文案","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string | string[]"]},{"name":"type","description":"通知栏类型,可选值为 `warning`、`info`、`danger`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":[{"name":"NoticeBarType","source":{"symbol":"NoticeBarType"}}],"default":"warning","attribute-value":{"type":"of-match"},"values":[{"name":"warning"},{"name":"info"},{"name":"danger"}]},{"name":"prefix","description":"左侧图标名称","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"scrollable","description":"是否开启滚动播放","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"true"},{"name":"delay","description":"滚动动画初始延时,单位为秒","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["number"],"default":"1"},{"name":"speed","description":"滚动速度,单位为 `px/s`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["number"],"default":"50"},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"false"},{"name":"wrapable","description":"是否换行展示;仅在 `scrollable=false` 的横向模式下生效","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文字和图标颜色","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"background-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"direction","description":"滚动方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":[{"name":"NoticeBarScrollDirection","source":{"symbol":"NoticeBarScrollDirection"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]}],"js":{"events":[{"name":"close","description":"点击关闭按钮时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"},{"name":"next","description":"切换到下一条文本时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"},{"name":"click","description":"点击内容区时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"}]}},{"name":"wd-notify","source":{"symbol":"WdNotify"},"description":"通知类组件,用于在页面顶部展示通知信息。","doc-url":"https://wot-ui.cn/component/notify.html#notify","props":[{"name":"type","description":"类型,可选值为 `primary` `success` `warning` `danger`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyType","source":{"symbol":"NotifyType"}}],"default":"danger","attribute-value":{"type":"of-match"},"values":[{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"danger"}]},{"name":"message","description":"展示文案,支持通过`\\n`换行","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string | number"]},{"name":"duration","description":"展示时长(ms),值为 0 时,notify 不会消失","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number"],"default":"3000"},{"name":"visible","description":"显示状态(支持 v-model)","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"position","description":"弹出位置,可选值为 `top` `bottom`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyPosition","source":{"symbol":"NotifyPosition"}}],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"bottom"}]},{"name":"color","description":"字体颜色","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"background","description":"背景颜色","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"z-index","description":"将组件的 z-index 层级设置为一个固定值","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number"],"default":"99"},{"name":"safe-height","description":"顶部安全高度","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number | string"]},{"name":"selector","description":"指定唯一标识","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"root-portal","description":"是否从页面中脱离出来,用于解决各种 fixed 失效问题","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"variant","description":"展示形态,可选值为 `filled` `floating`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyVariant","source":{"symbol":"NotifyVariant"}}],"default":"filled","attribute-value":{"type":"of-match"},"values":[{"name":"filled"},{"name":"floating"}]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]}]},{"name":"wd-overlay","source":{"symbol":"WdOverlay"},"description":"创建一个遮罩层,用于强调特定的页面元素,并阻止用户进行其他操作。","doc-url":"https://wot-ui.cn/component/overlay.html#overlay","props":[{"name":"show","description":"是否展示遮罩层","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画时长,单位为毫秒","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["<code>Record<string, number> | number | boolean<",{"name":"code>","source":{"symbol":"code>"}}],"default":"300"},{"name":"lock-scroll","description":"是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["number"],"default":"10"},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击遮罩层时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"before-enter","description":"进入动画开始前触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"enter","description":"进入动画开始时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"after-enter","description":"进入动画结束后触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"before-leave","description":"离开动画开始前触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"leave","description":"离开动画开始时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"after-leave","description":"离开动画结束后触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"}]}},{"name":"wd-pagination","source":{"symbol":"WdPagination"},"description":"当数据量过多时,使用分页分解数据。","doc-url":"https://wot-ui.cn/component/pagination.html#pagination","props":[{"name":"v-model","description":"当前页码","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"]},{"name":"total-page","description":"总页数;传入 `total` 时会优先根据 `total` 与 `page-size` 计算","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"1"},{"name":"total","description":"总数据条数","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"0"},{"name":"page-size","description":"每页条数","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"10"},{"name":"prev-text","description":"上一页按钮文字;未设置时使用内置国际化文案","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"next-text","description":"下一页按钮文字;未设置时使用内置国际化文案","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"show-icon","description":"是否展示翻页图标","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"show-message","description":"是否展示文字提示","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"button-variant","description":"分页按钮风格,可选值为 `base`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":[{"name":"ButtonVariant","source":{"symbol":"ButtonVariant"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"base"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"hide-if-one-page","description":"总页数只有一页时是否隐藏","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"页码变化时触发","doc-url":"https://wot-ui.cn/component/pagination.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/pagination.html#events"}]}},{"name":"wd-password-input","source":{"symbol":"WdPasswordInput"},"description":"带网格的密码输入组件,适用于支付密码、短信验证码等场景,通常与 [Keyboard 键盘]","doc-url":"https://wot-ui.cn/component/password-input.html#passwordinput","props":[{"name":"v-model","description":"当前输入值","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"mask","description":"是否隐藏密码内容","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["boolean"],"default":"true"},{"name":"info","description":"输入框下方文字提示","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"error-info","description":"输入框下方错误提示","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"gutter","description":"输入框格子之间的间距,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["number | string"],"default":"0"},{"name":"length","description":"密码长度","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["number"],"default":"6"},{"name":"focused","description":"是否处于聚焦状态;聚焦时显示光标,通常与键盘显隐状态联动","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]}],"js":{"events":[{"name":"focus","description":"点击密码输入框时触发","doc-url":"https://wot-ui.cn/component/password-input.html#events"}]}},{"name":"wd-picker-view","source":{"symbol":"WdPickerView"},"description":"选择器视图,用于从一组数据中选择单个或多个值。","doc-url":"https://wot-ui.cn/component/picker-view.html#pickerview","props":[{"name":"v-model","description":"当前选中值;单列时通常为长度为 1 的数组,多列与级联时按列顺序保存各列选中值","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["(string | number)[]"],"default":"[]"},{"name":"columns","description":"选择器数据;可传入一维数组、对象数组、二维数组,级联模式下传入树形数据","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["Array<string | number | PickerOption> | Array<Array<string | number | PickerOption>>"],"default":"[]"},{"name":"item-height","description":"每个选项的高度","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见选项数量","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项对象中值字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中文本字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"label"},{"name":"immediate-change","description":"是否在手指松开时立即触发 `change` 事件;若不开启,则在滚动动画结束后触发","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"cascade","description":"是否开启级联模式;开启后 `columns` 应传入树形数据","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"children-key","description":"级联模式下子节点字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"children"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"pickstart","description":"开始滚动选择时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"pickend","description":"结束滚动选择时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"}]}},{"name":"wd-picker","source":{"symbol":"WdPicker"},"description":"Picker 包含了一个弹出层(`wd-popup`)与一个选择器视图(`wd-picker-view`),不包含外层的触发元素(如 Input、Cell 等)。通常需要结合 `wd-cell` 或表单相关组件来触发显示。","doc-url":"https://wot-ui.cn/component/picker.html#picker","props":[{"name":"v-model","description":"选中项。单列选择器为长度为 1 的数组,多列则为对应多项值组成的数组","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["(string | number)[]"],"default":"[]"},{"name":"v-model:visible","description":"控制选择器弹出层的显示与隐藏","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"columns","description":"选项数据结构数组配置,对于多列使用二维数组,多级联动结合 cascade 嵌套 children","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["PickerOption[] | PickerOption[][]"],"default":"[]"},{"name":"cascade","description":"是否开启级联模式","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹出层大标题","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"cancel-button-text","description":"顶部操作栏左侧取消按钮文案","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"confirm-button-text","description":"顶部操作栏右侧确认按钮文案","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"value-key","description":"选项对象中负责标示值的键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中负责呈现文本的键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"label"},{"name":"children-key","description":"级联模式中对应的下一级子级键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"children"},{"name":"item-height","description":"内部滚筒每个选项的单个高度(px)","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"单屏视窗内最多可见的选项数量","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"6"},{"name":"before-confirm","description":"确定前校验函数,接收 `(value)` 参数,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["Function"]},{"name":"close-on-click-modal","description":"点击遮罩层时是否关闭弹窗","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹出层层级深度","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置默认的底部安全距离","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"true"},{"name":"immediate-change","description":"是否在手指松开时立即触发 `change` 而非滚动结束","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否开启 `root-portal` 将组件脱离当前节点进行渲染","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"custom-view-class","description":"pickerView 组件的外部自定义样式类","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"点击完成按钮触发","doc-url":"https://wot-ui.cn/component/picker.html#events"},{"name":"cancel","description":"点击取消或蒙层关闭触发","doc-url":"https://wot-ui.cn/component/picker.html#events"},{"name":"open","description":"打开弹出层选择器时触发","doc-url":"https://wot-ui.cn/component/picker.html#events"}]}},{"name":"wd-popover","source":{"symbol":"WdPopover"},"description":"常用于展示提示信息或菜单操作。","doc-url":"https://wot-ui.cn/component/popover.html#popover","props":[{"name":"v-model","description":"是否显示气泡","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"content","description":"显示内容,`normal` 模式下为字符串,`menu` 模式下为 `PopoverMenuItem[]`,也可以通过 `content` 插槽传入","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string | PopoverMenuItem[]"]},{"name":"mode","description":"当前显示模式,可选值为 `normal`、`menu`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PopoverMode","source":{"symbol":"PopoverMode"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"menu"}]},{"name":"placement","description":"弹出位置,可选值为 `top`、`top-start`、`top-end`、`bottom`、`bottom-start`、`bottom-end`、`left`、`left-start`、`left-end`、`right`、`right-start`、`right-end`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PlacementType","source":{"symbol":"PlacementType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"}]},{"name":"offset","description":"偏移量,支持 number、number[] 或 `{ x: number, y: number }`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PopoverOffset","source":{"symbol":"PopoverOffset"}}],"default":"0"},{"name":"visible-arrow","description":"是否显示箭头","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"true"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"show-close","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-arrow","description":"箭头节点自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-pop","description":"气泡内容容器自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"触发器区域内容","doc-url":"https://wot-ui.cn/component/popover.html#slots"},{"name":"content","description":"自定义气泡内容","doc-url":"https://wot-ui.cn/component/popover.html#slots"}],"js":{"events":[{"name":"open","description":"气泡显示时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"close","description":"气泡隐藏时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"change","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"menuclick","description":"`menu` 模式下点击选项时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"}]}},{"name":"wd-popup","source":{"symbol":"WdPopup"},"description":"弹出层组件,用于展示弹窗、信息提示等内容。","doc-url":"https://wot-ui.cn/component/popup.html#popup","props":[{"name":"v-model","description":"弹出层是否显示","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"transition","description":"动画类型,参见 `wd-transition` 组件的 `name`","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":[{"name":"TransitionName","source":{"symbol":"TransitionName"}}]},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"position","description":"弹出位置,可选值为 `center`、`top`、`right`、`bottom`、`left`","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"],"default":"center","attribute-value":{"type":"of-match"},"values":[{"name":"center"},{"name":"top"},{"name":"right"},{"name":"bottom"},{"name":"left"}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭弹出层","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"动画持续时间","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["number | boolean"],"default":"300"},{"name":"modal","description":"是否显示遮罩","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["number"],"default":"10"},{"name":"hide-when-close","description":"关闭时是否隐藏弹层节点","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"modal-style","description":"自定义遮罩样式","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]},{"name":"safe-area-inset-bottom","description":"底部弹层是否适配底部安全区","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"lazy-render","description":"弹层内容是否懒渲染","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"lock-scroll","description":"是否锁定背景滚动,锁定后蒙层内内容也将无法滚动","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面结构中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"round","description":"是否开启圆角,开启后根据弹出位置自动适配(底部弹出→上圆角,顶部弹出→下圆角,居中→四圆角)","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"自定义根节点类名","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]},{"name":"custom-style","description":"自定义弹层样式","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]}],"js":{"events":[{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"before-enter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"after-enter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"before-leave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"after-leave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/popup.html#events"}]}},{"name":"wd-progress","source":{"symbol":"WdProgress"},"description":"用于展示操作的当前进度。","doc-url":"https://wot-ui.cn/component/progress.html#progress","props":[{"name":"percentage","description":"进度数值,最大值为 `100`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["number"],"default":"0"},{"name":"hide-text","description":"是否隐藏进度文字","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"进度条颜色,可选值为 `string`、`string[]`、`ProgressColor[]`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string | string[] | ProgressColor[]"],"attribute-value":{"type":"of-match"},"values":[{"name":"string"},{"name":"string[]"},{"name":"ProgressColor[]"}]},{"name":"status","description":"进度条状态,可选值为 `success`、`danger`、`warning`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"success"},{"name":"danger"},{"name":"warning"}]},{"name":"duration","description":"进度增加 `1%` 所需毫秒数","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["number"],"default":"30"},{"name":"percent-position","description":"百分比显示位置配置,`type` 可选 `inner`、`outer`,`align` 可选 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":[{"name":"PercentPosition","source":{"symbol":"PercentPosition"}}],"default":"{ align: 'right', type: 'outer' }"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"]}]},{"name":"wd-radio-group","source":{"symbol":"WdRadioGroup"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup","props":[{"name":"v-model","description":"当前选中的值,会自动匹配对应 `wd-radio` 的 `value`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string | number | boolean"]},{"name":"type","description":"单选框类型,可选值为 `circle`、`dot`、`square`、`button`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"circle","attribute-value":{"type":"of-match"},"values":[{"name":"circle"},{"name":"dot"},{"name":"square"},{"name":"button"}]},{"name":"checked-color","description":"选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"unchecked-color","description":"未选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"disabled","description":"是否禁用整组单选框","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"placement","description":"图标位置,可选值为 `left`、`right`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"left","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"}]},{"name":"direction","description":"布局方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"allow-uncheck","description":"是否允许取消当前已选中的值","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-events"}]}},{"name":"wd-radio","source":{"symbol":"WdRadio"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radio","props":[{"name":"value","description":"单选项的值,会与 `wd-radio-group` 的 `v-model` 匹配","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string | number | boolean"]},{"name":"type","description":"单选框类型,可选值为 `circle`、`dot`、`square`、`button`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"circle"},{"name":"dot"},{"name":"square"},{"name":"button"}]},{"name":"checked-color","description":"选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group"},{"name":"unchecked-color","description":"未选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group"},{"name":"disabled","description":"是否禁用当前单选项","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["boolean"],"default":"继承自 wd-radio-group"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["boolean"],"default":"继承自 wd-radio-group"},{"name":"placement","description":"图标位置,可选值为 `left`、`right`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"}]},{"name":"direction","description":"布局方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"custom-label-class","description":"自定义文本节点类名","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]}]},{"name":"wd-radio","source":{"symbol":"WdRadio"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radio"},{"name":"wd-rate","source":{"symbol":"WdRate"},"description":"用于快速评价,或展示评分结果。","doc-url":"https://wot-ui.cn/component/rate.html#rate","props":[{"name":"v-model","description":"当前分数","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["number | null"],"default":"null"},{"name":"num","description":"评分最大值","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["number"],"default":"5"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"size","description":"图标大小","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"space","description":"图标间距","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string | number"]},{"name":"color","description":"未选中图标颜色","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"active-color","description":"选中图标颜色,支持 `string` 或 `string[]`","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string | string[]"]},{"name":"icon","description":"未选中图标类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"],"default":"star-fill"},{"name":"active-icon","description":"选中图标类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"],"default":"star-fill"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"allow-half","description":"是否允许半选","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"clearable","description":"是否允许再次点击后清除","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"block","description":"是否块级显示","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"点击图标修改分值时触发","doc-url":"https://wot-ui.cn/component/rate.html#events"}]}},{"name":"wd-resize","source":{"symbol":"WdResize"},"description":"当组件包裹的文档流尺寸发生变化时,触发 `resize` 事件。一般用于监听内容更新引起的尺寸和位置信息变化,再据此重新进行布局计算。","doc-url":"https://wot-ui.cn/component/resize.html#resize","props":[{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]},{"name":"custom-container-class","description":"自定义容器样式类","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]}],"slots":[{"name":"default","description":"需要监听尺寸变化的内容","doc-url":"https://wot-ui.cn/component/resize.html#resize-slots"}],"js":{"events":[{"name":"resize","description":"尺寸发生变化时触发","doc-url":"https://wot-ui.cn/component/resize.html#resize-events"}]}},{"name":"wd-root-portal","source":{"symbol":"WdRootPortal"},"description":"是否从页面中脱离出来,用于解决各种 fixed 失效问题,主要用于制作弹窗、弹出层等。","doc-url":"https://wot-ui.cn/component/root-portal.html#root-portal"},{"name":"wd-search","source":{"symbol":"WdSearch"},"description":"搜索框组件,支持输入框聚焦、失焦、输入、搜索、取消、清空事件。","doc-url":"https://wot-ui.cn/component/search.html#search","props":[{"name":"v-model","description":"输入框内容,双向绑定","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-input-class","description":"自定义输入框类名","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"placeholder","description":"搜索框占位文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"搜索"},{"name":"cancel-txt","description":"搜索框右侧文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"取消"},{"name":"variant","description":"搜索框变体,可选值为 `plain`、`filled`、`light`","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"plain","attribute-value":{"type":"of-match"},"values":[{"name":"plain"},{"name":"filled"},{"name":"light"}]},{"name":"hide-cancel","description":"是否隐藏右侧文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"是否禁用搜索框","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"maxlength","description":"原生属性,设置最大长度,`-1` 表示无限制","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["number | string"],"default":"-1"},{"name":"placeholder-left","description":"placeholder 是否左对齐","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"focus","description":"是否自动聚焦","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"focus-when-clear","description":"是否在点击清空按钮后聚焦输入框","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder-style","description":"原生属性,指定 placeholder 的样式,目前仅支持 `color`、`font-size` 和 `font-weight`","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"placeholder-class","description":"原生属性,指定 placeholder 的样式类","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]}],"js":{"events":[{"name":"focus","description":"输入框聚焦事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"blur","description":"输入框失焦事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"search","description":"输入框搜索事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"cancel","description":"点击右侧文本时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"change","description":"输入框内容变化时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"click","description":"禁用状态下点击组件时触发","doc-url":"https://wot-ui.cn/component/search.html#events"}]}},{"name":"wd-segmented","source":{"symbol":"WdSegmented"},"description":"分段器用于展示多个选项并允许用户选择其中单个选项。","doc-url":"https://wot-ui.cn/component/segmented.html#segmented","props":[{"name":"v-model:value","description":"当前选中的值","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string | number"]},{"name":"disabled","description":"是否禁用分段器","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["boolean"],"default":"false"},{"name":"options","description":"数据集合","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string[] | number[] | SegmentedOption[]"],"default":"[]"},{"name":"theme","description":"分段器主题,可选值为 `card`、`outline`","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"],"default":"card","attribute-value":{"type":"of-match"},"values":[{"name":"card"},{"name":"outline"}]},{"name":"vibrate-short","description":"切换选项时是否触发短振动","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选项切换时触发","doc-url":"https://wot-ui.cn/component/segmented.html#events"},{"name":"click","description":"选项点击时触发","doc-url":"https://wot-ui.cn/component/segmented.html#events"}]}},{"name":"wd-select-picker","source":{"symbol":"WdSelectPicker"},"description":"用于从一组选项中进行单选或多选,通常配合外部单元格或按钮控制弹层显示。","doc-url":"https://wot-ui.cn/component/select-picker.html#selectpicker","props":[{"name":"v-model","description":"选中项,`checkbox` 时为数组,`radio` 时为 `string`、`number` 或 `boolean`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string | number | boolean | (string | number | boolean)[]"]},{"name":"v-model:visible","description":"控制弹层显示状态","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"选择器"},{"name":"checked-color","description":"单选框或复选框选中颜色","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"min","description":"最小选中数量,仅 `checkbox` 生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"0"},{"name":"max","description":"最大选中数量,`0` 表示不限制,仅 `checkbox` 生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"0"},{"name":"select-size","description":"选择器内部选项尺寸","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"loading","description":"是否显示加载状态","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"loading-color","description":"加载图标颜色","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"#4D80F0"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"columns","description":"选择器数据,一维数组","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["Record<string, any>[]"],"default":"[]"},{"name":"type","description":"选择器类型,可选值为 `checkbox`、`radio`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"checkbox","attribute-value":{"type":"of-match"},"values":[{"name":"checkbox"},{"name":"radio"}]},{"name":"value-key","description":"选项对象中值字段的 key","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中展示文本字段的 key","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"label"},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"确认"},{"name":"before-confirm","description":"确认前校验函数,接收当前选中值,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["function"]},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"是否适配底部安全区","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"filterable","description":"是否支持本地搜索","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"filter-placeholder","description":"搜索框占位符","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"搜索"},{"name":"scroll-into-view","description":"重新打开时是否滚动到选中项","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-content-class","description":"自定义弹层内容区域类名","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"show-confirm","description":"是否显示确认按钮,仅 `radio` 模式生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面结构中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选择器内部选项变化时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"cancel","description":"点击关闭按钮或遮罩关闭时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"confirm","description":"点击确认时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"open","description":"弹层打开时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"close","description":"弹层关闭时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"}]}},{"name":"wd-sidebar","source":{"symbol":"WdSidebar"},"description":"垂直展示的导航栏,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar","props":[{"name":"v-model","description":"当前激活项的值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string | number"],"default":"0"},{"name":"before-change","description":"切换前钩子,接收目标值,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["function"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"激活项切换时触发","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-events"}]}},{"name":"wd-sidebar-item","source":{"symbol":"WdSidebarItem"},"description":"垂直展示的导航栏,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem","props":[{"name":"label","description":"当前选项标题","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"value","description":"当前选项值,唯一标识","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string | number"]},{"name":"badge","description":"徽标显示值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string | number"]},{"name":"badge-props","description":"自定义徽标属性,会透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["Partial<BadgeProps>"]},{"name":"icon","description":"图标名称","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"is-dot","description":"是否显示点状徽标","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["boolean"],"default":"false"},{"name":"max","description":"徽标最大值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["number"],"default":"99"},{"name":"disabled","description":"是否禁用当前选项","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]}]},{"name":"wd-signature","source":{"symbol":"WdSignature"},"description":"用于签名场景,基于 Canvas 实现的签名组件,支持导出图片、历史记录、笔锋效果、自定义底部操作等能力。","doc-url":"https://wot-ui.cn/component/signature.html#signature","props":[{"name":"pen-color","description":"签名笔颜色","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"#000"},{"name":"line-width","description":"签名笔宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"3"},{"name":"confirm-text","description":"确认按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"clear-text","description":"清空按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"revoke-text","description":"撤回按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"restore-text","description":"恢复按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"file-type","description":"导出图片类型,可选值为 `png`、`jpg`","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["png' | 'jpg"],"default":"png","attribute-value":{"type":"of-match"},"values":[{"name":"png"},{"name":"jpg"}]},{"name":"quality","description":"导出图片质量,取值范围为 `0` 到 `1`","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"export-scale","description":"导出图片缩放比例","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"disabled","description":"是否禁用签名板","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"height","description":"画布高度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string | number"]},{"name":"width","description":"画布宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string | number"]},{"name":"background-color","description":"画板背景色","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]},{"name":"disable-scroll","description":"是否禁用画布滚动","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"true"},{"name":"enable-history","description":"是否开启历史记录","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"step","description":"撤回和恢复的步长","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"undo-text","description":"撤销按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"redo-text","description":"恢复按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"pressure","description":"是否开启压感模式","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"max-width","description":"压感模式下的最大笔触宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"6"},{"name":"min-width","description":"压感模式下的最小笔触宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"2"},{"name":"min-speed","description":"压感模式下的最小速度阈值","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1.5"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]}],"js":{"events":[{"name":"start","description":"开始签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"end","description":"结束签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"signing","description":"签名过程中持续触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"confirm","description":"确认签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"clear","description":"清空签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"}]}},{"name":"wd-skeleton","source":{"symbol":"WdSkeleton"},"description":"","doc-url":"https://wot-ui.cn/component/skeleton.html#skeleton","props":[{"name":"theme","description":"骨架屏主题,可选值为 `text`、`avatar`、`paragraph`、`image`","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonTheme","source":{"symbol":"SkeletonTheme"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"avatar"},{"name":"paragraph"},{"name":"image"}]},{"name":"row-col","description":"自定义每行占位配置,用于设置行列数量、宽高、间距、圆角和占位类型等","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonRowCol[]","source":{"symbol":"SkeletonRowCol"}}],"default":"[]"},{"name":"loading","description":"是否显示骨架屏","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":["boolean"],"default":"true"},{"name":"animation","description":"动画类型,可选值为 `gradient`、`flashed`","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonAnimation","source":{"symbol":"SkeletonAnimation"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"gradient"},{"name":"flashed"}]},{"name":"custom-class","description":"自定义样式类名","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":["string | string[] | Record<string, boolean>"]},{"name":"custom-style","description":"自定义内联样式","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"CSSProperties","source":{"symbol":"CSSProperties","module":"vue"}}],"default":"{}"}]},{"name":"wd-slide-verify","source":{"symbol":"WdSlideVerify"},"description":"滑动验证组件,用于人机验证场景。","doc-url":"https://wot-ui.cn/component/slide-verify.html#slideverify","props":[{"name":"tolerance","description":"容错范围,单位为 `px`","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["number"],"default":"10"},{"name":"text","description":"提示文字,为空时显示内置文案","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"success-text","description":"验证成功提示文字,为空时显示内置文案","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["boolean"],"default":"false"},{"name":"background-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"active-background-color","description":"激活时的背景颜色","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"icon","description":"滑块图标名称","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"],"default":"double-right"},{"name":"success-icon","description":"成功图标名称","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"],"default":"check-circle-fill"},{"name":"icon-size","description":"图标大小","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string","number"]},{"name":"success-icon-size","description":"成功图标大小","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string","number"]}],"js":{"events":[{"name":"success","description":"验证成功时触发","doc-url":"https://wot-ui.cn/component/slide-verify.html#events"},{"name":"fail","description":"验证失败时触发","doc-url":"https://wot-ui.cn/component/slide-verify.html#events"}]}},{"name":"wd-slider","source":{"symbol":"WdSlider"},"description":"支持单向滑块和双向滑块,可用于在范围内选择一个值或一段区间。","doc-url":"https://wot-ui.cn/component/slider.html#slider","props":[{"name":"v-model","description":"当前滑块值,单滑块为 `number`,双滑块为 `number[]`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderValue","source":{"symbol":"SliderValue"}}],"default":"0"},{"name":"min","description":"最小值","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"0"},{"name":"max","description":"最大值","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"100"},{"name":"step","description":"步长","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"1"},{"name":"range","description":"是否为双向滑块模式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"vertical","description":"是否垂直展示","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"theme","description":"滑块风格,可选值为 `default`、`capsule`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderTheme","source":{"symbol":"SliderTheme"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"capsule"}]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"show-extreme-value","description":"是否显示最小值和最大值文本","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"popover-visible","description":"气泡显示模式,可选值为 `always`、`normal`、`never`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderPopoverVisible","source":{"symbol":"SliderPopoverVisible"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"always"},{"name":"normal"},{"name":"never"}]},{"name":"marks","description":"刻度标记,支持数组或对象形式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderMarks","source":{"symbol":"SliderMarks"}}]},{"name":"active-color","description":"进度条激活态颜色","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"inactive-color","description":"进度条未激活态颜色","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式类","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]}],"js":{"events":[{"name":"dragstart","description":"开始拖动时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"dragmove","description":"拖动过程中触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"dragend","description":"拖动结束时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"change","description":"值变化时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"}]}},{"name":"wd-sort-button","source":{"symbol":"WdSortButton"},"description":"用于展示排序按钮,支持升序、降序、重置三种状态。","doc-url":"https://wot-ui.cn/component/sort-button.html#sortbutton","props":[{"name":"v-model","description":"当前排序方向值,`1` 表示升序,`0` 表示重置状态,`-1` 表示降序","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":[{"name":"SortButtonValue","source":{"symbol":"SortButtonValue"}}],"default":"0"},{"name":"title","description":"排序按钮文案","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]},{"name":"allow-reset","description":"是否允许重置为未选中状态","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"desc-first","description":"是否优先切换为降序","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"line","description":"是否显示下划线","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"排序方向变化时触发","doc-url":"https://wot-ui.cn/component/sort-button.html#events"}]}},{"name":"wd-steps","source":{"symbol":"WdSteps"},"description":"用于引导用户按照流程完成任务,或向用户展示当前所处的步骤状态。","doc-url":"https://wot-ui.cn/component/steps.html#steps","props":[{"name":"active","description":"当前激活步骤下标","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["number"],"default":"0"},{"name":"vertical","description":"是否垂直方向展示","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"dot","description":"是否使用点状步骤条","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"space","description":"步骤条间距,默认自动计算","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]},{"name":"align-center","description":"是否水平居中,只对横向步骤条有效","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]}]},{"name":"wd-step","source":{"symbol":"WdStep"},"description":"用于引导用户按照流程完成任务,或向用户展示当前所处的步骤状态。","doc-url":"https://wot-ui.cn/component/steps.html#step","props":[{"name":"title","description":"步骤标题,不传时显示默认文案","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"description","description":"步骤描述","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"icon","description":"步骤图标","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"status","description":"步骤状态,可选值为 `finished`、`process`、`error`、`wait`","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":[{"name":"StepStatus","source":{"symbol":"StepStatus"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"finished"},{"name":"process"},{"name":"error"},{"name":"wait"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]}]},{"name":"wd-sticky","source":{"symbol":"WdSticky"},"description":"粘性布局组件,用于在页面滚动时将元素固定在指定位置。","doc-url":"https://wot-ui.cn/component/sticky.html#sticky","props":[{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["number"],"default":"1"},{"name":"offset-top","description":"吸顶距离","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["number"],"default":"0"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["string"]}]},{"name":"wd-sticky-box","source":{"symbol":"WdStickyBox"},"description":"粘性布局组件,用于在页面滚动时将元素固定在指定位置。","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-box"},{"name":"wd-swipe-action","source":{"symbol":"WdSwipeAction"},"description":"常用于单元格左右滑删除等手势操作。","doc-url":"https://wot-ui.cn/component/swipe-action.html#swipeaction","props":[{"name":"v-model","description":"当前滑动状态,可选值为 `left`、`close`、`right`","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":[{"name":"SwipeActionStatus","source":{"symbol":"SwipeActionStatus"}}],"default":"close","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"close"},{"name":"right"}]},{"name":"disabled","description":"是否禁用滑动操作","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["boolean"],"default":"false"},{"name":"before-close","description":"关闭前拦截函数,接收 `(reason, position)`,返回 `true` 或 `Promise<boolean>` 时继续关闭,返回 `false` 时阻止关闭","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":[{"name":"SwipeActionBeforeClose","source":{"symbol":"SwipeActionBeforeClose"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["string"]}],"slots":[{"name":"left","description":"自定义左侧操作区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"},{"name":"default","description":"自定义内容区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"},{"name":"right","description":"自定义右侧操作区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"}],"js":{"events":[{"name":"click","description":"已展开状态下点击内容区或操作区并关闭时触发","doc-url":"https://wot-ui.cn/component/swipe-action.html#events"},{"name":"update:modelValue","description":"滑动状态变化时触发","doc-url":"https://wot-ui.cn/component/swipe-action.html#events"}]}},{"name":"wd-swiper-indicator","source":{"symbol":"WdSwiperIndicator"},"description":"用于创建轮播,支持水平和垂直方向滑动、自定义指示器、图片和视频资源展示,以及基于对象数据渲染标题。","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator","props":[{"name":"current","description":"当前轮播项索引","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"0"},{"name":"direction","description":"轮播方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"DirectionType","source":{"symbol":"DirectionType"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"min-show-num","description":"小于该数量时不显示导航器","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"2"},{"name":"indicator-position","description":"指示器位置,可选值为 `left`、`top-left`、`top`、`top-right`、`bottom-left`、`bottom`、`bottom-right`、`right`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"IndicatorPositionType","source":{"symbol":"IndicatorPositionType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"top-left"},{"name":"top"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom"},{"name":"bottom-right"},{"name":"right"}]},{"name":"show-controls","description":"是否显示两侧控制按钮","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["boolean"],"default":"false"},{"name":"total","description":"轮播项总数","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"0"},{"name":"type","description":"指示器类型,可选值为 `dots`、`dots-bar`、`fraction`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"SwiperIndicatorType","source":{"symbol":"SwiperIndicatorType"}}],"default":"dots","attribute-value":{"type":"of-match"},"values":[{"name":"dots"},{"name":"dots-bar"},{"name":"fraction"}]}]},{"name":"wd-swiper","source":{"symbol":"WdSwiper"},"description":"用于创建轮播,支持水平和垂直方向滑动、自定义指示器、图片和视频资源展示,以及基于对象数据渲染标题。","doc-url":"https://wot-ui.cn/component/swiper.html#swiper","props":[{"name":"autoplay","description":"是否自动播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"v-model:current","description":"当前轮播项索引","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"0"},{"name":"direction","description":"轮播方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"DirectionType","source":{"symbol":"DirectionType"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"display-multiple-items","description":"同时显示的滑块数量","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"1"},{"name":"duration","description":"滑动动画时长,单位为 `ms`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"300"},{"name":"easing-function","description":"切换缓动动画类型,可选值为 `default`、`linear`、`easeInCubic`、`easeOutCubic`、`easeInOutCubic`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"EasingType","source":{"symbol":"EasingType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"linear"},{"name":"easeInCubic"},{"name":"easeOutCubic"},{"name":"easeInOutCubic"}]},{"name":"height","description":"轮播高度","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"192"},{"name":"interval","description":"自动轮播间隔时间,单位为 `ms`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"5000"},{"name":"list","description":"轮播数据列表,支持字符串数组或对象数组","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string[] | SwiperItem[]<",{"name":"code>","source":{"symbol":"code>"}}],"default":"[]"},{"name":"loop","description":"是否循环播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"video-loop","description":"视频是否循环播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"muted","description":"视频是否静音播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"next-margin","description":"后边距","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"0"},{"name":"indicator-position","description":"指示器位置,可选值为 `left`、`top-left`、`top`、`top-right`、`bottom-left`、`bottom`、`bottom-right`、`right`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"IndicatorPositionType","source":{"symbol":"IndicatorPositionType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"top-left"},{"name":"top"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom"},{"name":"bottom-right"},{"name":"right"}]},{"name":"previous-margin","description":"前边距","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"0"},{"name":"radius","description":"轮播圆角","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"snap-to-edge","description":"是否将边距应用到首尾元素","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"indicator","description":"指示器配置,传入 `false` 时隐藏指示器","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>boolean | Partial<SwiperIndicatorProps><",{"name":"code>","source":{"symbol":"code>"}}],"default":"true"},{"name":"image-mode","description":"图片裁剪模式,取值参考 uni-app Image 组件 `mode`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"aspectFill"},{"name":"show-menu-by-longpress","description":"是否开启长按图片显示识别小程序码菜单","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"value-key","description":"选项对象中图片地址字段名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"],"default":"value"},{"name":"text-key","description":"选项对象中标题字段名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"],"default":"text"},{"name":"autoplay-video","description":"视频是否自动播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"stop-previous-video","description":"切换轮播项时是否停止上一个视频播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"stop-autoplay-when-video-play","description":"视频播放时是否停止自动轮播","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"adjust-height","description":"自动根据滑块高度调整容器高度,可选值为 `first`、`current`、`highest`、`none`,仅支付宝小程序支持","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"AdjustHeightType","source":{"symbol":"AdjustHeightType"}}],"default":"highest","attribute-value":{"type":"of-match"},"values":[{"name":"first"},{"name":"current"},{"name":"highest"},{"name":"none"}]},{"name":"adjust-vertical-height","description":"`vertical` 为 `true` 时强制让 `adjust-height` 生效,仅支付宝小程序支持","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-indicator-class","description":"自定义指示器类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-image-class","description":"自定义图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-prev-image-class","description":"自定义前一个图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-next-image-class","description":"自定义后一个图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-item-class","description":"自定义轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-prev-class","description":"自定义前一个轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-next-class","description":"自定义后一个轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-text-class","description":"自定义标题类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-text-style","description":"自定义标题样式","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义轮播项内容,参数为 <code>{ item, index }</code>","doc-url":"https://wot-ui.cn/component/swiper.html#slots"},{"name":"indicator","description":"自定义指示器内容,参数为 <code>{ current, total }</code>","doc-url":"https://wot-ui.cn/component/swiper.html#slots"}],"js":{"events":[{"name":"click","description":"点击轮播项时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"change","description":"轮播切换时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"animationfinish","description":"轮播动画结束时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"update:current","description":"当前轮播项更新时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"}]}},{"name":"wd-switch","source":{"symbol":"WdSwitch"},"description":"用来打开或关闭选项。","doc-url":"https://wot-ui.cn/component/switch.html#switch","props":[{"name":"v-model","description":"绑定值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"false"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean"],"default":"false"},{"name":"inactive-action-icon","description":"非激活状态操作按钮图标","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-action-icon","description":"激活状态操作按钮图标","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-icon","description":"激活状态图标,设置后会忽略 `active-text`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-icon","description":"非激活状态图标,设置后会忽略 `inactive-text`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-text","description":"激活状态文本","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-text","description":"非激活状态文本","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-value","description":"激活值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"true"},{"name":"inactive-value","description":"非激活值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"false"},{"name":"active-color","description":"激活颜色","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-color","description":"非激活颜色","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"size","description":"开关大小","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string | number"]},{"name":"shape","description":"形状,可选值为 `round`、`square`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":[{"name":"SwitchShape","source":{"symbol":"SwitchShape"}}],"default":"round","attribute-value":{"type":"of-match"},"values":[{"name":"round"},{"name":"square"}]},{"name":"loading","description":"是否显示加载中","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean"],"default":"false"},{"name":"loading-props","description":"加载配置项","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["Partial<LoadingProps>"]},{"name":"before-change","description":"修改前钩子","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":[{"name":"SwitchBeforeChange","source":{"symbol":"SwitchBeforeChange"}}]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"],"default":"wd-icon"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"值修改事件","doc-url":"https://wot-ui.cn/component/switch.html#events"}]}},{"name":"wd-tabbar","source":{"symbol":"WdTabbar"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar","props":[{"name":"v-model","description":"选中标签的索引值或者名称","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["number | string"],"default":"0"},{"name":"fixed","description":"是否固定在底部","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"bordered","description":"是否显示顶部边框","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"safe-area-inset-bottom","description":"是否设置底部安全区","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"shape","description":"标签栏形状,可选值为 `default`、`round`","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":[{"name":"TabbarShape","source":{"symbol":"TabbarShape"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"round"}]},{"name":"active-color","description":"激活标签颜色","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"inactive-color","description":"未激活标签颜色","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"placeholder","description":"固定在底部时,是否生成等高占位元素","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"z-index","description":"组件层级","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["number"],"default":"10"},{"name":"before-change","description":"切换前的回调函数,返回 `false` 可阻止切换,支持返回 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":[{"name":"TabbarBeforeChange","source":{"symbol":"TabbarBeforeChange"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]}]},{"name":"wd-tabbar-item","source":{"symbol":"WdTabbarItem"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem","props":[{"name":"title","description":"标签页标题","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"name","description":"唯一标识符,不传时默认使用索引值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string | number"]},{"name":"icon","description":"图标名称","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"value","description":"徽标显示值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["number | string"]},{"name":"is-dot","description":"是否显示点状徽标","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["boolean"],"default":"false"},{"name":"max","description":"徽标最大值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["number"],"default":"99"},{"name":"badge-props","description":"自定义徽标属性,会透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":[{"name":"BadgeProps","source":{"symbol":"BadgeProps"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]}]},{"name":"wd-tabbar","source":{"symbol":"WdTabbar"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar","js":{"events":[{"name":"change","description":"标签切换时触发","doc-url":"https://wot-ui.cn/component/tabbar.html#events"}]}},{"name":"wd-table","source":{"symbol":"WdTable"},"description":"用于展示多条结构类似的数据,支持固定列、排序、合并单元格与虚拟滚动等能力。","doc-url":"https://wot-ui.cn/component/table.html#table","props":[{"name":"data","description":"表格数据源(必填)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>Record<string, any>[]<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"stripe","description":"是否显示斑马纹","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"height","description":"表格最大高度,设置后可纵向滚动;开启虚拟滚动时必须传入数值类型","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"show-header","description":"是否显示表头","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"ellipsis","description":"单元格文本是否超出两行后省略","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"false"},{"name":"index","description":"是否显示索引列,传入对象时可自定义索引列配置(`prop` 除外)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>boolean | Omit<Partial<TableColumnProps>, 'prop'><",{"name":"code>","source":{"symbol":"code>"}}],"default":"false"},{"name":"fixed-header","description":"是否固定表头(使用 CSS sticky 定位)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"span-method","description":"合并单元格方法,回调参数为 `SpanMethodParams`,返回 `{ rowspan, colspan }` 或 `void`(等同 `{ rowspan: 1, colspan: 1 }`)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":[{"name":"SpanMethod","source":{"symbol":"SpanMethod"}}]},{"name":"virtual","description":"是否开启虚拟滚动,大数据量时只渲染可视区域行","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"false"},{"name":"row-height","description":"虚拟滚动固定行高,开启 `virtual` 时必须传入","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["number"],"default":"44"},{"name":"buffer","description":"虚拟滚动可视区域上下各额外预渲染行数","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["number"],"default":"5"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["string"]}],"slots":[{"name":"default","description":"表格列内容,通常放置一个或多个 `wd-table-column`","doc-url":"https://wot-ui.cn/component/table.html#table-slots"}],"js":{"events":[{"name":"sort-method","description":"点击可排序列表头后触发","doc-url":"https://wot-ui.cn/component/table.html#table-events"},{"name":"row-click","description":"点击表格行时触发","doc-url":"https://wot-ui.cn/component/table.html#table-events"}]}},{"name":"wd-table-column","source":{"symbol":"WdTableColumn"},"description":"用于展示多条结构类似的数据,支持固定列、排序、合并单元格与虚拟滚动等能力。","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn","props":[{"name":"prop","description":"列对应的数据字段名(必填)","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["string"]},{"name":"label","description":"列标题(必填)","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["string"]},{"name":"width","description":"列宽度","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"100"},{"name":"sortable","description":"是否开启排序","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"是否固定当前列,仅支持固定在左侧","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["boolean"],"default":"false"},{"name":"align","description":"内容对齐方式,可选值为 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":[{"name":"AlignType","source":{"symbol":"AlignType"}}],"default":"left","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"center"},{"name":"right"}]}],"slots":[{"name":"value","description":"自定义单元格内容,插槽参数为 `{ row: Record<string, any>, index: number }`","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-slots"}]},{"name":"wd-tabs","source":{"symbol":"WdTabs"},"description":"标签页组件,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/tabs.html#tabs","props":[{"name":"v-model","description":"当前激活项,可为索引或名称","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"slidable-num","description":"自动开启滚动的标签数量阈值","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"6"},{"name":"map-num","description":"显示导航地图的标签数量阈值","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"10"},{"name":"map-title","description":"导航地图标题","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"sticky","description":"是否开启粘性布局","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"offset-top","description":"吸顶偏移量","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"0"},{"name":"swipeable","description":"是否开启手势滑动","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"line-theme","description":"底部条样式,可选值为 `normal`、`text`、`underline`、`dot`","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":[{"name":"TabsLineTheme","source":{"symbol":"TabsLineTheme"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"text"},{"name":"underline"},{"name":"dot"}]},{"name":"line-width","description":"底部条宽度","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"line-height","description":"底部条高度","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"color","description":"激活项文字颜色","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"inactive-color","description":"非激活项文字颜色","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"animated","description":"是否开启切换动画","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画时长,单位毫秒","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"300"},{"name":"slidable","description":"是否开启滚动导航,可选值为 `auto`、`always`","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":[{"name":"TabsSlidable","source":{"symbol":"TabsSlidable"}}],"default":"auto","attribute-value":{"type":"of-match"},"values":[{"name":"auto"},{"name":"always"}]},{"name":"show-scrollbar","description":"滚动时是否显示滚动条","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]}],"slots":[{"name":"default","description":"Tab 内容","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-slots"}],"js":{"events":[{"name":"change","description":"激活项变化时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"click","description":"点击页签标题时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"disabled","description":"点击禁用页签时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"update:modelValue","description":"激活项变化时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"}]}},{"name":"wd-tab","source":{"symbol":"WdTab"},"description":"标签页组件,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/tabs.html#tab","props":[{"name":"name","description":"标签唯一标识,默认取索引","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["number"],"default":"string"},{"name":"title","description":"标签标题","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["boolean"],"default":"false"},{"name":"lazy","description":"是否懒加载内容","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["boolean"],"default":"true"},{"name":"badge-props","description":"徽标属性,透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["Partial<BadgeProps>"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]}],"slots":[{"name":"default","description":"页签内容","doc-url":"https://wot-ui.cn/component/tabs.html#tab-slots"}]},{"name":"wd-tag","source":{"symbol":"WdTag"},"description":"用于标记状态或者概括主要内容。","doc-url":"https://wot-ui.cn/component/tag.html#tag","props":[{"name":"size","description":"标签尺寸,可选值为 `small`、`medium`、`large`、`extra-large`、`default`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagSize","source":{"symbol":"TagSize"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"small"},{"name":"medium"},{"name":"large"},{"name":"extra-large"},{"name":"default"}]},{"name":"type","description":"标签类型,可选值为 `default`、`primary`、`success`、`warning`、`danger`、`volcano`、`lightblue`、`cyan`、`pink`、`purple`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagType","source":{"symbol":"TagType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"danger"},{"name":"volcano"},{"name":"lightblue"},{"name":"cyan"},{"name":"pink"},{"name":"purple"}]},{"name":"icon","description":"左侧图标","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"closable","description":"是否可关闭","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"dynamic","description":"是否为新增标签","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文字颜色","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"bg-color","description":"背景色和边框色","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"round","description":"是否圆角","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"mark","description":"是否标记样式","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"variant","description":"标签变体,可选值为 `light`、`dark`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagVariant","source":{"symbol":"TagVariant"}}],"default":"dark","attribute-value":{"type":"of-match"},"values":[{"name":"light"},{"name":"dark"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"标签内容","doc-url":"https://wot-ui.cn/component/tag.html#slots"},{"name":"icon","description":"自定义图标","doc-url":"https://wot-ui.cn/component/tag.html#slots"},{"name":"add","description":"自定义新增标签内容,`dynamic` 为 `true` 时生效","doc-url":"https://wot-ui.cn/component/tag.html#slots"}],"js":{"events":[{"name":"click","description":"点击标签时触发","doc-url":"https://wot-ui.cn/component/tag.html#events"},{"name":"close","description":"点击关闭按钮时触发","doc-url":"https://wot-ui.cn/component/tag.html#events"},{"name":"confirm","description":"新增标签输入确认后触发","doc-url":"https://wot-ui.cn/component/tag.html#events"}]}},{"name":"wd-text","source":{"symbol":"WdText"},"description":"文本组件,用于展示文本信息。","doc-url":"https://wot-ui.cn/component/text.html#text","props":[{"name":"type","description":"主题类型,可选值为 `default`、`primary`、`success`、`warning`、`error`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextType","source":{"symbol":"TextType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"error"}]},{"name":"text","description":"文本内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"],"default":"number"},{"name":"size","description":"字体大小","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"mode","description":"文本处理模式,可选值为 `text`、`date`、`phone`、`name`、`price`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextMode","source":{"symbol":"TextMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"date"},{"name":"phone"},{"name":"name"},{"name":"price"}]},{"name":"decoration","description":"文本装饰,可选值为 `none`、`underline`、`line-through`、`overline`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextDecoration","source":{"symbol":"TextDecoration"}}],"default":"none","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"underline"},{"name":"line-through"},{"name":"overline"}]},{"name":"call","description":"`mode=\"phone\"` 时点击文本是否拨号","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"bold","description":"是否粗体","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"format","description":"是否脱敏,仅在 `mode` 为 `phone` 和 `name` 时生效","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文本颜色","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"lines","description":"展示行数,超出后显示省略号","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["number"]},{"name":"line-height","description":"文本行高","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]}],"slots":[{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/text.html#slots"},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/text.html#slots"}],"js":{"events":[{"name":"click","description":"点击文本时触发","doc-url":"https://wot-ui.cn/component/text.html#events"}]}},{"name":"wd-textarea","source":{"symbol":"WdTextarea"},"description":"用于输入多行文本信息,支持清空、字数统计、高度自适应与紧凑布局。","doc-url":"https://wot-ui.cn/component/textarea.html#textarea","props":[{"name":"v-model","description":"文本域绑定值","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string | number"]},{"name":"placeholder","description":"占位文本","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"],"default":"请输入..."},{"name":"placeholder-style","description":"placeholder 样式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"placeholder-class","description":"placeholder 样式类","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"maxlength","description":"最大输入长度,设置为 `-1` 时不限制长度","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"clearable","description":"是否显示清空按钮","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"show-word-limit","description":"是否显示字数统计,需要同时设置 `maxlength`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"clear-trigger","description":"清空按钮显示时机,可选值为 `focus`、`always`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"InputClearTrigger","source":{"symbol":"InputClearTrigger"}}],"default":"always","attribute-value":{"type":"of-match"},"values":[{"name":"focus"},{"name":"always"}]},{"name":"focus-when-clear","description":"点击清空按钮后是否自动聚焦","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"error","description":"是否展示错误状态","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"focus","description":"是否获取焦点","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"auto-focus","description":"是否自动聚焦并拉起键盘","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"auto-height","description":"是否自动增高输入框高度","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"在 `position: fixed` 区域时是否启用固定模式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"cursor-spacing","description":"光标与键盘的距离","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"0"},{"name":"cursor","description":"获取焦点时的光标位置","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"confirm-type","description":"键盘右下角按钮文字,可选值为 `done`、`go`、`next`、`search`、`send`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"ConfirmType","source":{"symbol":"ConfirmType"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"done"},{"name":"go"},{"name":"next"},{"name":"search"},{"name":"send"}]},{"name":"confirm-hold","description":"点击键盘右下角按钮时是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"show-confirm-bar","description":"是否显示键盘上方带有“完成”按钮的工具栏","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"selection-start","description":"光标起始位置,需与 `selection-end` 搭配使用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"selection-end","description":"光标结束位置,需与 `selection-start` 搭配使用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"disable-default-padding","description":"是否去掉 iOS 下默认内边距","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"hold-keyboard","description":"聚焦时点击页面是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"ignore-composition-event","description":"是否忽略文本合成系统事件处理;为 `false` 时会触发 composition 相关事件,且在合成期间会触发 `input`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"inputmode","description":"输入模式提示,可选值为 `none`、`text`、`decimal`、`numeric`、`tel`、`search`、`email`、`url`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"InputMode","source":{"symbol":"InputMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"text"},{"name":"decimal"},{"name":"numeric"},{"name":"tel"},{"name":"search"},{"name":"email"},{"name":"url"}]},{"name":"enable-native","description":"支付宝小程序下是否启用原生输入框,设为 `false` 可避免弹起键盘后内容上移","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"compact","description":"是否开启紧凑模式;未显式设置时,在 `wd-form-item` 中会自动启用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"]},{"name":"custom-textarea-class","description":"textarea 自定义类名","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]}],"js":{"events":[{"name":"input","description":"输入时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"focus","description":"聚焦时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"blur","description":"失焦时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"linechange","description":"行数变化时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"confirm","description":"点击键盘完成按钮时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"keyboardheightchange","description":"键盘高度变化时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"}]}},{"name":"wd-toast","source":{"symbol":"WdToast"},"description":"轻提示组件,用于消息通知、加载提示和操作结果反馈,支持组件挂载点配合 `useToast","doc-url":"https://wot-ui.cn/component/toast.html#toast","props":[{"name":"selector","description":"唯一挂载标识,多实例场景下用于区分不同 toast","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"msg","description":"默认提示文案","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"direction","description":"默认排版方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastDirection","source":{"symbol":"ToastDirection"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"icon-name","description":"默认图标类型,可选值为 `success`、`error`、`warning`、`loading`、`info`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastIconType","source":{"symbol":"ToastIconType"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"success"},{"name":"error"},{"name":"warning"},{"name":"loading"},{"name":"info"}]},{"name":"icon-size","description":"默认图标大小","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"]},{"name":"loading-type","description":"默认加载图标类型,可选值为 `circular`、`spinner`、`dots`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastLoadingType","source":{"symbol":"ToastLoadingType"}}],"default":"circular","attribute-value":{"type":"of-match"},"values":[{"name":"circular"},{"name":"spinner"},{"name":"dots"}]},{"name":"loading-color","description":"默认加载图标颜色","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"],"default":"#ffffff"},{"name":"loading-size","description":"默认加载图标大小","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"]},{"name":"icon-color","description":"默认图标颜色","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"position","description":"默认提示位置,可选值为 `top`、`middle-top`、`middle`、`bottom`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastPositionType","source":{"symbol":"ToastPositionType"}}],"default":"middle","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"middle-top"},{"name":"middle"},{"name":"bottom"}]},{"name":"z-index","description":"默认层级","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"],"default":"100"},{"name":"cover","description":"是否显示透明遮罩层","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["boolean"],"default":"false"},{"name":"icon-class","description":"默认图标类名","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"],"default":"wd-icon"},{"name":"opened","description":"完全展示后的回调","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"closed","description":"完全关闭后的回调","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]}]},{"name":"wd-tooltip","source":{"symbol":"WdTooltip"},"description":"用于展示简短提示信息,支持多方向定位、受控显隐、自定义内容和动态更新位置。","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip","props":[{"name":"model-value","description":"是否显示提示层,支持 `v-model`","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"content","description":"提示内容,也可以通过 `content` 插槽传入","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["<code>string | Array<Record<string, any>><",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"placement","description":"提示位置,可选值为 `top`、`top-start`、`top-end`、`bottom`、`bottom-start`、`bottom-end`、`left`、`left-start`、`left-end`、`right`、`right-start`、`right-end`","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":[{"name":"PlacementType","source":{"symbol":"PlacementType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"}]},{"name":"offset","description":"位置偏移量,支持数字、数组或对象配置","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":[{"name":"PopoverOffset","source":{"symbol":"PopoverOffset"}}],"default":"0"},{"name":"visible-arrow","description":"是否显示箭头","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"true"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"show-close","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"custom-arrow","description":"箭头自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-pop","description":"提示层自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]}],"slots":[{"name":"default","description":"触发提示层的目标内容","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-slots"},{"name":"content","description":"自定义提示层内容","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-slots"}],"js":{"events":[{"name":"open","description":"提示层显示时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"close","description":"提示层关闭时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"change","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"update:modelValue","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"}]}},{"name":"wd-tour","source":{"symbol":"WdTour"},"description":"用于分步骤引导用户了解页面功能,可高亮目标元素并在其附近展示说明面板。","doc-url":"https://wot-ui.cn/component/tour.html#tour","props":[{"name":"model-value","description":"是否显示引导组件,支持 `v-model`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"steps","description":"引导步骤列表","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"<code>TourStep[]<","source":{"symbol":"<code>TourStep[]<"}},{"name":"code>","source":{"symbol":"code>"}}],"default":"[]"},{"name":"current","description":"当前步骤索引,支持 `v-model:current`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"0"},{"name":"mask","description":"是否显示蒙版","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"true"},{"name":"mask-color","description":"蒙版颜色","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]},{"name":"offset","description":"引导面板与高亮区域的间距","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"20"},{"name":"duration","description":"动画时长,单位毫秒","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"300"},{"name":"border-radius","description":"高亮区域圆角","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"4"},{"name":"padding","description":"高亮区域内边距","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"8"},{"name":"prev-text","description":"上一步按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"上一步"},{"name":"next-text","description":"下一步按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"下一步"},{"name":"skip-text","description":"跳过按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"跳过"},{"name":"finish-text","description":"完成按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"完成"},{"name":"bottom-safety-offset","description":"底部安全偏移量,用于滚动计算","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"100"},{"name":"top-safety-offset","description":"顶部安全偏移量,用于滚动计算","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"0"},{"name":"custom-nav","description":"是否启用自定义导航栏模式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"click-mask-next","description":"点击遮罩层是否进入下一步","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"highlight-style","description":"默认高亮区域样式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"<code>CSSProperties<","source":{"symbol":"<code>CSSProperties<"}},{"name":"code>","source":{"symbol":"code>"}}],"default":"{}"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"]},{"name":"show-tour-buttons","description":"是否显示引导按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"true"},{"name":"scope","description":"查询作用域,限定选择器查找范围","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"unknown","source":{"symbol":"unknown"}}]},{"name":"missing-strategy","description":"目标元素缺失时的处理策略,可选值为 `skip`、`stop`、`hide`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"MissingStrategy","source":{"symbol":"MissingStrategy"}}],"default":"stop","attribute-value":{"type":"of-match"},"values":[{"name":"skip"},{"name":"stop"},{"name":"hide"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]}],"slots":[{"name":"highlight","description":"自定义高亮区域","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"content","description":"自定义引导内容","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"prev","description":"自定义上一步按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"next","description":"自定义下一步按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"skip","description":"自定义跳过按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"finish","description":"自定义完成按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"}],"js":{"events":[{"name":"change","description":"当前步骤变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"prev","description":"点击上一步时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"next","description":"点击下一步时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"finish","description":"点击完成时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"skip","description":"点击跳过时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"error","description":"目标元素查询失败时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"update:modelValue","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"update:current","description":"当前步骤变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"}]}},{"name":"wd-tour-step","source":{"symbol":"WdTourStep"},"description":"用于分步骤引导用户了解页面功能,可高亮目标元素并在其附近展示说明面板。","doc-url":"https://wot-ui.cn/component/tour.html#tourstep","props":[{"name":"element","description":"需要高亮的元素选择器","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["string"]},{"name":"content","description":"步骤说明,支持 `rich-text` 渲染","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["string"]},{"name":"padding","description":"覆盖当前步骤的高亮内边距","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["number"]},{"name":"offset","description":"覆盖当前步骤的面板间距","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["number"]},{"name":"placement","description":"强制指定提示位置,可选值为 `auto`、`top`、`bottom`、`left`、`right`","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":[{"name":"TourPlacement","source":{"symbol":"TourPlacement"}}],"default":"auto","attribute-value":{"type":"of-match"},"values":[{"name":"auto"},{"name":"top"},{"name":"bottom"},{"name":"left"},{"name":"right"}]}]},{"name":"wd-transition","source":{"symbol":"WdTransition"},"description":"用于在元素进入或离开时应用过渡效果。","doc-url":"https://wot-ui.cn/component/transition.html#transition","props":[{"name":"show","description":"是否展示组件","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画执行时间,支持统一时长或分别设置进入、离开时长","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["<code>number | boolean | Record<string, number><",{"name":"code>","source":{"symbol":"code>"}}],"default":"300"},{"name":"lazy-render","description":"是否在首次展示时再渲染内容","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"name","description":"动画类型,可选值为 `fade`、`fade-up`、`fade-down`、`fade-left`、`fade-right`、`slide-up`、`slide-down`、`slide-left`、`slide-right`、`zoom-in`、`zoom-out`,也支持数组组合多个动画","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["<code>TransitionName | TransitionName[]<",{"name":"code>","source":{"symbol":"code>"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"fade"},{"name":"fade-up"},{"name":"fade-down"},{"name":"fade-left"},{"name":"fade-right"},{"name":"slide-up"},{"name":"slide-down"},{"name":"slide-left"},{"name":"slide-right"},{"name":"zoom-in"},{"name":"zoom-out"}]},{"name":"destroy","description":"是否在动画结束后通过 `display: none` 隐藏内容","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"true"},{"name":"enter-class","description":"进入过渡的开始状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"enter-active-class","description":"进入过渡的激活状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"enter-to-class","description":"进入过渡的结束状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-class","description":"离开过渡的开始状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-active-class","description":"离开过渡的激活状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-to-class","description":"离开过渡的结束状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"disable-touch-move","description":"是否阻止触摸滚动","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"需要应用动画效果的内容","doc-url":"https://wot-ui.cn/component/transition.html#slots"}],"js":{"events":[{"name":"before-enter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"after-enter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"before-leave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"after-leave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"click","description":"点击组件时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"}]}},{"name":"wd-upload","source":{"symbol":"WdUpload"},"description":"图片、视频和文件上传组件。","doc-url":"https://wot-ui.cn/component/upload.html#upload","props":[{"name":"v-model:file","description":"上传文件列表,例如 <code>[{ url: 'https://xxx.cdn.com/xxx.jpg' }]</code>","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadFile[]","source":{"symbol":"UploadFile"}}],"default":"[]"},{"name":"action","description":"上传地址","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"header","description":"上传请求头","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["Record<string, any>"],"default":"{}"},{"name":"multiple","description":"是否支持多选文件","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"limit","description":"最大允许上传个数","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"]},{"name":"show-limit-num","description":"限制上传数量时,是否显示当前数量","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"max-size","description":"文件大小限制,单位为 byte","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"],"default":"Number.MAX_VALUE"},{"name":"source-type","description":"选择图片来源","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadSourceType[]","source":{"symbol":"UploadSourceType"}}],"default":"<code>['album', 'camera']</code>"},{"name":"size-type","description":"所选图片尺寸","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadSizeType[]","source":{"symbol":"UploadSizeType"}}],"default":"<code>['original', 'compressed']</code>"},{"name":"name","description":"上传文件字段名","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"file"},{"name":"form-data","description":"HTTP 请求附带的额外表单数据","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["Record<string, any>"],"default":"{}"},{"name":"on-preview-fail","description":"预览失败回调","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadOnPreviewFail","source":{"symbol":"UploadOnPreviewFail"}}]},{"name":"before-upload","description":"上传前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeUpload","source":{"symbol":"UploadBeforeUpload"}}]},{"name":"before-choose","description":"选择文件前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeChoose","source":{"symbol":"UploadBeforeChoose"}}]},{"name":"before-remove","description":"删除文件前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeRemove","source":{"symbol":"UploadBeforeRemove"}}]},{"name":"before-preview","description":"图片预览前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforePreview","source":{"symbol":"UploadBeforePreview"}}]},{"name":"build-form-data","description":"动态构建上传 `formData` 的钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBuildFormData","source":{"symbol":"UploadBuildFormData"}}]},{"name":"loading-type","description":"加载中图标类型","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"LoadingType","source":{"symbol":"LoadingType"}}],"default":"circular"},{"name":"loading-color","description":"加载中图标颜色","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"#ffffff"},{"name":"loading-size","description":"加载中图标尺寸","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"24px"},{"name":"accept","description":"接受的文件类型,可选值为 `image`、`video`、`media`、`all`、`file`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadFileType","source":{"symbol":"UploadFileType"}}],"default":"image","attribute-value":{"type":"of-match"},"values":[{"name":"image"},{"name":"video"},{"name":"media"},{"name":"all"},{"name":"file"}]},{"name":"status-key","description":"`file` 数据结构中状态字段对应的 key","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"status"},{"name":"compressed","description":"是否压缩视频,当 `accept` 为 `video` 或 `media` 时生效","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"max-duration","description":"拍摄视频最大时长,单位为秒","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"],"default":"60"},{"name":"camera","description":"使用前置或后置相机,可选值为 `front`、`back`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadCameraType","source":{"symbol":"UploadCameraType"}}],"default":"back","attribute-value":{"type":"of-match"},"values":[{"name":"front"},{"name":"back"}]},{"name":"image-mode","description":"预览图片的 `mode` 属性","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"aspectFit"},{"name":"success-status","description":"接口响应成功状态码","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["<code>number | number[]<",{"name":"code>","source":{"symbol":"code>"}}],"default":"200"},{"name":"custom-evoke-class","description":"自定义上传按钮样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"custom-preview-class","description":"自定义预览列表样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"auto-upload","description":"是否选择文件后自动上传,关闭后需手动调用 `submit`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"reupload","description":"是否开启覆盖上传,开启后会关闭图片预览","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"upload-method","description":"自定义上传方法","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadMethod","source":{"symbol":"UploadMethod"}}]},{"name":"extension","description":"根据文件拓展名过滤,H5 支持全部类型过滤,微信小程序支持 `all` 和 `file` 场景过滤","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string[]"]},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义上传唤起区域","doc-url":"https://wot-ui.cn/component/upload.html#upload-slots"},{"name":"preview-cover","description":"自定义覆盖在预览区域上方的内容,参数为 <code>{ file, index }</code>","doc-url":"https://wot-ui.cn/component/upload.html#upload-slots"}],"js":{"events":[{"name":"success","description":"上传成功时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"fail","description":"上传失败时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"progress","description":"上传中时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"oversize","description":"文件大小超过限制时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"chooseerror","description":"选择文件失败时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"change","description":"上传列表修改时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"remove","description":"移除文件时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"update:fileList","description":"`v-model:file-list` 对应的更新事件","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"}]}},{"name":"wd-video-preview","source":{"symbol":"WdVideoPreview"},"description":"视频预览组件,支持通过组件实例或 `useVideoPreview` 函数式调用打开全屏视频预览层。`useVideoPreview` 的独立用法与 API 说明见 [useVideoPreview]","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview","props":[{"name":"selector","description":"实例标识,用于区分多个视频预览实例","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]},{"name":"z-index","description":"预览层级","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["number"],"default":"1000"},{"name":"on-open","description":"组件打开时的回调","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"on-close","description":"组件关闭时的回调","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]}],"js":{"events":[{"name":"open","description":"打开预览时触发","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-events"},{"name":"close","description":"关闭预览时触发","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-events"}]}},{"name":"wd-watermark","source":{"symbol":"WdWatermark"},"description":"在页面或组件上添加指定的图片或文字,可用于版权保护、品牌宣传等场景。","doc-url":"https://wot-ui.cn/component/watermark.html#watermark","props":[{"name":"content","description":"水印文字内容","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"image","description":"水印图片地址,支持网络图片和 Base64 图片,钉钉小程序仅支持网络图片","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"image-height","description":"图片高度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"image-width","description":"图片宽度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"gutter-x","description":"X 轴间距,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"0"},{"name":"gutter-y","description":"Y 轴间距,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"0"},{"name":"width","description":"单个水印画布宽度,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"height","description":"单个水印画布高度,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"full-screen","description":"是否铺满整个页面","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["boolean"],"default":"true"},{"name":"color","description":"水印文字颜色","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"],"default":"#C9CBD4"},{"name":"size","description":"水印文字大小,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"14"},{"name":"font-style","description":"水印字体样式,仅微信、支付宝和 H5 支持,可选值为 `normal`、`italic`、`oblique`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":[{"name":"WatermarkFontStyle","source":{"symbol":"WatermarkFontStyle"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"italic"},{"name":"oblique"}]},{"name":"font-weight","description":"水印字体粗细,仅微信、支付宝和 H5 支持","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"normal"},{"name":"font-family","description":"水印字体系列,仅微信、支付宝和 H5 支持","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"],"default":"PingFang SC"},{"name":"rotate","description":"水印旋转角度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"-25"},{"name":"z-index","description":"水印层级","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"1100"},{"name":"opacity","description":"水印透明度,取值范围为 `0` 到 `1`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"]},{"name":"layout","description":"水印布局,可选值为 `grid`、`staggered`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":[{"name":"WatermarkLayout","source":{"symbol":"WatermarkLayout"}}],"default":"grid","attribute-value":{"type":"of-match"},"values":[{"name":"grid"},{"name":"staggered"}]},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]}]}]}}}
|
|
1
|
+
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"wot-ui","version":"2.0.0-alpha.5","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"vue-components":[{"name":"wd-action-sheet","source":{"symbol":"WdActionSheet"},"description":"从底部弹出的动作菜单面板。","doc-url":"https://wot-ui.cn/component/action-sheet.html#actionsheet","props":[{"name":"v-model","description":"设置菜单显示隐藏","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"false"},{"name":"actions","description":"菜单选项,详见下方 Action 数据结构","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":[{"name":"Action[]","source":{"symbol":"Action"}}],"default":"[]"},{"name":"panels","description":"自定义宫格面板项,支持一维 `Panel[]` 与二维 `Panel[][]`(多行)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["Array<Panel | Panel[]>"],"default":"[]"},{"name":"title","description":"标题","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"cancel-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"close-on-click-action","description":"点击选项后是否关闭菜单","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"动画持续时间(ms)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["number"],"default":"200"},{"name":"z-index","description":"菜单层级","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["number"],"default":"10"},{"name":"lazy-render","description":"弹层内容懒渲染,触发展示时才渲染内容","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iPhone X 类型机型)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面中脱离出来(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-title-class","description":"标题区域自定义类名","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/action-sheet.html#attributes","type":["string"]}],"js":{"events":[{"name":"select","description":"点击选项时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"enter","description":"打开动画开始时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"after-enter","description":"打开动画结束时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"leave","description":"关闭动画开始时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"after-leave","description":"关闭动画结束时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"close","description":"面板关闭时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"},{"name":"cancel","description":"点击取消按钮时触发","doc-url":"https://wot-ui.cn/component/action-sheet.html#events"}]}},{"name":"wd-avatar","source":{"symbol":"WdAvatar"},"description":"用来代表用户或事物,支持图片、文本或图标展示。","doc-url":"https://wot-ui.cn/component/avatar.html#avatar","props":[{"name":"src","description":"图片地址","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"text","description":"文本内容","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"icon","description":"图标名称,使用 wd-icon 组件","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"size","description":"头像尺寸,支持 `large / medium / normal / small` 或自定义数值/单位字符串","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string | number"],"default":"normal"},{"name":"shape","description":"头像形状,支持 `round / square`","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"],"default":"round"},{"name":"bg-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"color","description":"文字颜色","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"alt","description":"图片加载失败时的占位文本","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"mode","description":"图片填充模式,同 uni-app image 组件的 mode","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"],"default":"aspectFill"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义头像内容","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-slots"}],"js":{"events":[{"name":"click","description":"点击头像时触发","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-events"},{"name":"error","description":"图片加载失败时触发","doc-url":"https://wot-ui.cn/component/avatar.html#avatar-events"}]}},{"name":"wd-avatar-group","source":{"symbol":"WdAvatarGroup"},"description":"用来代表用户或事物,支持图片、文本或图标展示。","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup","props":[{"name":"max-count","description":"最大显示数量,超出后显示折叠头像","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["number"]},{"name":"cascading","description":"叠层方向,支持 `left-up / right-up`","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"],"default":"left-up"},{"name":"shape","description":"统一设置组内头像形状,支持 `round / square`","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"],"default":"round"},{"name":"size","description":"统一设置组内头像尺寸,支持预设尺寸或自定义数值/单位字符串","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string | number"],"default":"normal"},{"name":"collapse-avatar","description":"超出最大数量时折叠头像显示文本","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]},{"name":"vertical","description":"是否垂直展示","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-attributes","type":["string"]}],"slots":[{"name":"default","description":"头像列表,放置 wd-avatar 组件","doc-url":"https://wot-ui.cn/component/avatar.html#avatargroup-slots"}]},{"name":"wd-backtop","source":{"symbol":"WdBacktop"},"description":"用于返回页面顶部的操作按钮。","doc-url":"https://wot-ui.cn/component/backtop.html#backtop","props":[{"name":"scroll-top","description":"页面滚动距离","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"]},{"name":"text","description":"按钮文字","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"top","description":"滚动距离超过该值时显示按钮,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"300"},{"name":"duration","description":"返回顶部滚动时间,单位为 `ms`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"100"},{"name":"z-index","description":"组件层级","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"10"},{"name":"icon-style","description":"自定义图标样式","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"shape","description":"按钮形状,可选值为 `circle`、`square`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"],"default":"circle","attribute-value":{"type":"enum"},"values":[{"name":"circle"},{"name":"square"}]},{"name":"bottom","description":"距离屏幕底部的距离,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"100"},{"name":"right","description":"距离屏幕右侧的距离,单位为 `px`","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["number"],"default":"20"},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义按钮内容","doc-url":"https://wot-ui.cn/component/backtop.html#backtop-slots"}]},{"name":"wd-badge","source":{"symbol":"WdBadge"},"description":"出现在按钮、图标旁的数字或状态标记。","doc-url":"https://wot-ui.cn/component/badge.html#badge","props":[{"name":"value","description":"显示值","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"max","description":"最大值,超过后显示 `{max}+`,仅当 `value` 为 number 时生效","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["number"]},{"name":"top","description":"为正时,角标向下偏移对应像素","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"right","description":"为正时,角标向左偏移对应像素","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string | number"]},{"name":"is-dot","description":"红色点状标注","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"hidden","description":"隐藏 badge","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"类型,支持 `primary / success / warning / danger / info`","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"bg-color","description":"背景色","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"show-zero","description":"是否显示 0","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"shape","description":"徽标形状,支持 `circle / square / bubble`","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"],"default":"circle"},{"name":"border","description":"是否显示白色描边","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/badge.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"徽标包裹的内容","doc-url":"https://wot-ui.cn/component/badge.html#slots"}]},{"name":"wd-button","source":{"symbol":"WdButton"},"description":"按钮用于触发一个操作,如提交表单或打开链接。","doc-url":"https://wot-ui.cn/component/button.html#button","props":[{"name":"type","description":"按钮类型,可选值为 `primary`、`success`、`info`、`warning`、`danger`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"primary","attribute-value":{"type":"enum"},"values":[{"name":"primary"},{"name":"success"},{"name":"info"},{"name":"warning"},{"name":"danger"}]},{"name":"variant","description":"按钮变体,可选值为 `base`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"base","attribute-value":{"type":"enum"},"values":[{"name":"base"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"size","description":"按钮尺寸,可选值为 `mini`、`small`、`medium`、`large`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"medium","attribute-value":{"type":"enum"},"values":[{"name":"mini"},{"name":"small"},{"name":"medium"},{"name":"large"}]},{"name":"round","description":"圆角按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"禁用按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"hairline","description":"细边框","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"block","description":"块状按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"loading","description":"加载中按钮","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"text","description":"按钮文本","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"icon","description":"图标类名","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"wd-icon"},{"name":"loading-props","description":"加载配置项","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["Partial<LoadingProps>"]},{"name":"open-type","description":"开放能力类型,详见下方 `ButtonOpenType`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"hover-stop-propagation","description":"阻止祖先节点点击态","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"hover-start-time","description":"按下后多久出现点击态(ms)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["number"],"default":"20"},{"name":"hover-stay-time","description":"松开后多久移除点击态(ms)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["number"],"default":"70"},{"name":"lang","description":"用户信息语言,可选值为 `zh_CN`、`zh_TW`、`en`","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"zh_CN"},{"name":"zh_TW"},{"name":"en"}]},{"name":"session-from","description":"会话来源(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"send-message-title","description":"会话消息卡片标题(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"当前标题"},{"name":"send-message-path","description":"会话消息卡片路径(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"当前分享路径"},{"name":"send-message-img","description":"会话消息卡片图片(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"default":"截图"},{"name":"app-parameter","description":"打开 APP 传参(`open-type=launchApp` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"show-message-card","description":"显示会话消息卡片(`open-type=contact` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"button-id","description":"按钮唯一标识","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"scope","description":"支付宝授权范围,可选值为 `phoneNumber`、`userInfo`(`open-type=getAuthorize` 时有效)","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"phoneNumber"},{"name":"userInfo"},{"name":"open-type=getAuthorize"}]},{"name":"loading-color","description":"加载图标颜色","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/button.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击事件","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getuserinfo","description":"获取用户信息回调","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"contact","description":"客服消息回调(`open-type=contact`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getphonenumber","description":"获取手机号回调(`open-type=getPhoneNumber`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"getrealtimephonenumber","description":"实时获取手机号回调(`open-type=getRealtimePhoneNumber`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"error","description":"开放能力错误回调(`open-type=launchApp`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"launchapp","description":"打开 APP 成功回调(`open-type=launchApp`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"opensetting","description":"打开授权设置页回调(`open-type=openSetting`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"chooseavatar","description":"获取用户头像回调(`open-type=chooseAvatar`)","doc-url":"https://wot-ui.cn/component/button.html#events"},{"name":"agreeprivacyauthorization","description":"同意隐私协议回调(`open-type=agreePrivacyAuthorization`)","doc-url":"https://wot-ui.cn/component/button.html#events"}]}},{"name":"wd-calendar-view","source":{"symbol":"WdCalendarView"},"description":"提供单选、多选、范围、周/月、日期时间等日历选择能力,可作为业务日历选择器的底层面板组件。","doc-url":"https://wot-ui.cn/component/calendar-view.html#calendarview","props":[{"name":"v-model","description":"选中值,13 位时间戳或时间戳数组","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number | number[] | null"]},{"name":"type","description":"日期类型,支持 `date / dates / datetime / week / month / daterange / datetimerange / weekrange / monthrange`","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"],"default":"date"},{"name":"min-date","description":"最小日期时间戳","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往前 6 个月"},{"name":"max-date","description":"最大日期时间戳","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往后 6 个月"},{"name":"first-day-of-week","description":"周起始日(0 表示周日)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":[{"name":"CalendarFormatter","source":{"symbol":"CalendarFormatter"}}]},{"name":"max-range","description":"范围类型的最大可选范围","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"]},{"name":"range-prompt","description":"超出最大范围提示文案","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]},{"name":"allow-same-day","description":"范围类型是否允许同一天/同一周/同一月","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"show-panel-title","description":"是否展示面板标题","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"true"},{"name":"default-time","description":"日期默认时分秒","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string | string[]"],"default":"00:00:00"},{"name":"panel-height","description":"可滚动面板高度","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"316"},{"name":"time-filter","description":"时间选项过滤函数(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":[{"name":"CalendarTimeFilter","source":{"symbol":"CalendarTimeFilter"}}]},{"name":"time-item-height","description":"时间选项高度","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"44"},{"name":"time-visible-item-count","description":"时间可见项数量","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["number"],"default":"3"},{"name":"hide-second","description":"是否隐藏秒选择(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"immediate-change","description":"是否手指松开即触发时间选择 change 事件","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"switch-mode","description":"切换模式:`none` 平铺展示所有月份/年份且不展示切换按钮;`month` 支持按月切换并展示上个月/下个月按钮;`year-month` 支持按年与按月切换并展示上一年/下一年、上个月/下个月按钮。大跨度日期场景建议使用 `month` 或 `year-month` 以降低渲染压力","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"],"default":"none"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/calendar-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"面板值变化时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"},{"name":"pickstart","description":"时间选择滚动开始时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"},{"name":"pickend","description":"时间选择滚动结束时触发","doc-url":"https://wot-ui.cn/component/calendar-view.html#events"}]}},{"name":"wd-calendar","source":{"symbol":"WdCalendar"},"description":"提供单选、多选、范围、周/月、日期时间等日历选择能力。","doc-url":"https://wot-ui.cn/component/calendar.html#calendar","props":[{"name":"v-model","description":"选中值,13 位时间戳或时间戳数组","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number | number[] | null"]},{"name":"v-model:visible","description":"是否显示弹层","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"日期类型,支持 `date / dates / datetime / week / month / daterange / datetimerange / weekrange / monthrange`","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"date"},{"name":"min-date","description":"最小日期时间戳","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往前 6 个月"},{"name":"max-date","description":"最大日期时间戳","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往后 6 个月"},{"name":"first-day-of-week","description":"周起始日(0 表示周日)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarFormatter","source":{"symbol":"CalendarFormatter"}}]},{"name":"max-range","description":"范围类型的最大可选范围","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"]},{"name":"range-prompt","description":"超出最大范围提示文案","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"allow-same-day","description":"范围类型是否允许同一天/同一周/同一月","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"default-time","description":"日期默认时分秒","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string | string[]"]},{"name":"time-filter","description":"时间选项过滤函数(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarTimeFilter","source":{"symbol":"CalendarTimeFilter"}}]},{"name":"hide-second","description":"是否隐藏秒选择(datetime / datetimerange)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹层标题","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"选择日期(内置文案)"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"15"},{"name":"show-confirm","description":"是否显示确认按钮","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"confirm-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"确定(内置文案)"},{"name":"inner-display-format","description":"自定义范围面板内部回显","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarInnerDisplayFormat","source":{"symbol":"CalendarInnerDisplayFormat"}}]},{"name":"ellipsis","description":"范围文案是否省略显示","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"show-type-switch","description":"是否显示日周月切换","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"shortcuts","description":"快捷选项列表(项需包含 `text`)","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["Record<string, any>[]"],"default":"[]"},{"name":"on-shortcuts-click","description":"快捷选项点击回调","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarOnShortcutsClick","source":{"symbol":"CalendarOnShortcutsClick"}}]},{"name":"safe-area-inset-bottom","description":"是否开启底部安全区","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"before-confirm","description":"确认前校验函数","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":[{"name":"CalendarBeforeConfirm","source":{"symbol":"CalendarBeforeConfirm"}}]},{"name":"custom-view-class","description":"面板内部视图类名","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"immediate-change","description":"是否手指松开即触发时间选择 change 事件","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否脱离页面渲染","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"panel-height","description":"可滚动面板高度","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"316"},{"name":"show-panel-title","description":"是否展示滚动面板标题","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"switch-mode","description":"切换模式:`none` 平铺展示所有月份/年份且不展示切换按钮;`month` 支持按月切换并展示上个月/下个月按钮;`year-month` 支持按年与按月切换并展示上一年/下一年、上个月/下个月按钮。大跨度日期场景建议使用 `month` 或 `year-month` 以降低渲染压力","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"],"default":"none"},{"name":"duration","description":"弹层动画时长","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["number"],"default":"200"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/calendar.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"点击确认后触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"change","description":"面板日期变化时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"cancel","description":"关闭且未确认时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"},{"name":"open","description":"日历打开时触发","doc-url":"https://wot-ui.cn/component/calendar.html#events"}]}},{"name":"wd-card","source":{"symbol":"WdCard"},"description":"用于展示商品的图片、价格等信息。","doc-url":"https://wot-ui.cn/component/card.html#card","props":[{"name":"title","description":"卡片标题","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"type","description":"卡片类型,支持 `rectangle`","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-title-class","description":"标题区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-content-class","description":"内容区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-footer-class","description":"底部区域自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/card.html#attributes","type":["string"]}]},{"name":"wd-cascader","source":{"symbol":"WdCascader"},"description":"用于处理树形结构数据的分级选择,支持静态数据与异步加载两种模式。","doc-url":"https://wot-ui.cn/component/cascader.html#cascader","props":[{"name":"v-model","description":"选中项。静态模式为叶子节点值;异步模式可传路径数组用于回显","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string | number | (string | number)[]"]},{"name":"v-model:visible","description":"是否显示弹窗","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"options","description":"层级选项数据(树形结构)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderOption[]","source":{"symbol":"CascaderOption"}}],"default":"[]"},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"before-confirm","description":"确定前校验函数,参数为 `(value, selectedOptions)`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderBeforeConfirm","source":{"symbol":"CascaderBeforeConfirm"}}]},{"name":"check-strictly","description":"是否开启任意级可选","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"confirm-text","description":"严格模式下确认按钮文案","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"value"},{"name":"text-key","description":"选项文本字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"text"},{"name":"children-key","description":"子节点字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"children"},{"name":"tip-key","description":"提示文案字段名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"tip"},{"name":"is-leaf-key","description":"叶子节点标识字段名,值为 `true` 时点击即确认","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"isLeaf"},{"name":"lazy-load","description":"异步加载回调,参数为 `(option, tabIndex, resolve)`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":[{"name":"CascaderLazyLoad","source":{"symbol":"CascaderLazyLoad"}}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iPhone X 类型机型)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"true"},{"name":"line-width","description":"底部条宽度,支持 number 或带单位字符串","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number | string"]},{"name":"line-height","description":"底部条高度,支持 number 或带单位字符串","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["number | string"]},{"name":"line-theme","description":"底部条位置样式,支持 `normal / text / underline / dot`","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"],"default":"normal"},{"name":"root-portal","description":"是否脱离文档流渲染(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cascader.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"确认选择时触发","doc-url":"https://wot-ui.cn/component/cascader.html#events"},{"name":"close","description":"弹窗关闭时触发","doc-url":"https://wot-ui.cn/component/cascader.html#events"}]}},{"name":"wd-cell-group","source":{"symbol":"WdCellGroup"},"description":"单元格用于信息展示与轻交互,可独立使用,也可通过 `wd-cell-group` 统一管理布局与样式。","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup","props":[{"name":"title","description":"分组标题","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"value","description":"分组右侧内容","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"border","description":"是否展示外边框","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"insert","description":"是否展示为圆角卡片风格","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"center","description":"是否使内容垂直居中","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"},{"name":"size","description":"单元格大小,支持 `large`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string | number"]},{"name":"layout","description":"单元格布局方式,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"value-align","description":"右侧内容对齐方式,支持 `left / right / center`","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cell.html#cellgroup-attributes","type":["string"]}]},{"name":"wd-cell","source":{"symbol":"WdCell"},"description":"单元格用于信息展示与轻交互,可独立使用,也可通过 `wd-cell-group` 统一管理布局与样式。","doc-url":"https://wot-ui.cn/component/cell.html#cell","props":[{"name":"title","description":"左侧标题","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"value","description":"右侧内容","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"]},{"name":"placeholder","description":"占位符,仅在 value 为空时显示","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"label","description":"标题下方描述信息","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"prefix-icon","description":"前置图标名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"suffix-icon","description":"后置图标名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"icon-size","description":"图标大小","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"]},{"name":"icon-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"to","description":"跳转地址","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"replace","description":"跳转时是否替换当前页面历史","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"clickable","description":"是否开启点击反馈","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"is-link","description":"是否展示右侧箭头并开启点击反馈","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"arrow-direction","description":"箭头方向(仅在 is-link 为 true 时生效),支持 `left / up / down / right`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"right"},{"name":"size","description":"单元格大小,支持 `large`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"border","description":"是否显示内边框,优先级高于 cell-group 同名属性","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"继承自 CellGroup"},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string | number"],"default":"继承自 CellGroup"},{"name":"center","description":"是否垂直居中","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"继承自 CellGroup"},{"name":"layout","description":"单元格布局方式,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"继承自 CellGroup"},{"name":"value-align","description":"右侧内容对齐方式,支持 `left / right / center`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"继承自 CellGroup"},{"name":"required","description":"是否显示必填星号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"asterisk-position","description":"必填星号位置,支持 `start / end`","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"],"default":"start"},{"name":"hide-asterisk","description":"是否隐藏必填星号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"ellipsis","description":"内容是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"use-title-slot","description":"是否启用 title 插槽","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-prefix-class","description":"前置图标自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-suffix-class","description":"后置图标自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-label-class","description":"label 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-value-class","description":"value 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"custom-title-class","description":"title 区域自定义样式类","doc-url":"https://wot-ui.cn/component/cell.html#cell-attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"当 clickable 或 is-link 为 true 时,点击单元格触发","doc-url":"https://wot-ui.cn/component/cell.html#cell-events"}]}},{"name":"wd-checkbox","source":{"symbol":"WdCheckbox"},"description":"用于在一组备选项中进行多选,支持普通样式、按钮样式、自定义图标及全选控制。","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox","props":[{"name":"v-model","description":"单独使用时的绑定值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"false"},{"name":"name","description":"在 CheckboxGroup 中的唯一标识值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"]},{"name":"type","description":"形状类型,支持 `circle / square / button / dot`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"checked-color","description":"选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"unchecked-color","description":"未选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean | null"],"default":"继承自 CheckboxGroup"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean | null"],"default":"继承自 CheckboxGroup"},{"name":"indeterminate","description":"是否半选状态(样式优先级最高)","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["boolean"],"default":"false"},{"name":"true-value","description":"单独使用时的选中值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"true"},{"name":"false-value","description":"单独使用时的非选中值","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string | number | boolean"],"default":"false"},{"name":"size","description":"尺寸,支持 `large`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"placement","description":"勾选图标位置,支持 `left / right`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"direction","description":"布局方向,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"继承自 CheckboxGroup"},{"name":"max-width","description":"文本最大宽度","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-label-class","description":"label 文本自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"单独使用时,绑定值变化后触发","doc-url":"https://wot-ui.cn/component/checkbox.html#checkbox-events"}]}},{"name":"wd-checkbox-group","source":{"symbol":"WdCheckboxGroup"},"description":"用于在一组备选项中进行多选,支持普通样式、按钮样式、自定义图标及全选控制。","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup","props":[{"name":"v-model","description":"绑定值数组","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["Array<string | number | boolean>"],"default":"[]"},{"name":"type","description":"形状类型,支持 `circle / square / button / dot`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"circle"},{"name":"checked-color","description":"选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"unchecked-color","description":"未选中颜色","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"disabled","description":"是否禁用全部选项","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读全部选项","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"min","description":"最小可选数量","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"max","description":"最大可选数量,`0` 表示不限制","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"size","description":"尺寸,支持 `large`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"placement","description":"勾选图标位置,支持 `left / right`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"left"},{"name":"direction","description":"布局方向,支持 `horizontal / vertical`","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"vertical"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"组选中值变化后触发","doc-url":"https://wot-ui.cn/component/checkbox.html#checkboxgroup-events"}]}},{"name":"wd-circle","source":{"symbol":"WdCircle"},"description":"圆环形进度条组件,支持颜色定制、渐变色、方向控制和插槽内容。","doc-url":"https://wot-ui.cn/component/circle.html#circle","props":[{"name":"v-model","description":"当前进度","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"0"},{"name":"size","description":"圆环直径,单位 px","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"120"},{"name":"color","description":"进度条颜色,支持字符串或渐变对象","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string | Record<string, string>"],"default":"#1C64FD"},{"name":"layer-color","description":"轨道颜色","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"],"default":"#F2F3F5"},{"name":"fill","description":"填充颜色","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"speed","description":"动画速度,单位 rate/s","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"50"},{"name":"text","description":"圆环中间文字","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"stroke-width","description":"进度条宽度,单位 px","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["number"],"default":"18"},{"name":"stroke-linecap","description":"端点形状,可选值为 `butt`、`round`、`square`","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"],"default":"round","attribute-value":{"type":"enum"},"values":[{"name":"butt"},{"name":"round"},{"name":"square"}]},{"name":"clockwise","description":"是否顺时针增加","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/circle.html#attributes","type":["string"]}]},{"name":"wd-collapse-item","source":{"symbol":"WdCollapseItem"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem","props":[{"name":"name","description":"折叠栏唯一标识符","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"title","description":"折叠栏标题,支持 `title` 插槽覆盖","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"disabled","description":"是否禁用该折叠栏","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["boolean"],"default":"false"},{"name":"before-expend","description":"打开前拦截函数,接收 `name` 参数,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":[{"name":"CollapseItemBeforeExpand","source":{"symbol":"CollapseItemBeforeExpand"}}]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["boolean"],"default":"true"},{"name":"custom-body-class","description":"折叠栏内容容器自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-body-style","description":"折叠栏内容容器自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapseitem-attributes","type":["string"]}]},{"name":"wd-collapse","source":{"symbol":"WdCollapse"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapse","props":[{"name":"v-model","description":"绑定值。普通模式为 `string[]`,手风琴模式为 `string`,查看更多模式为 `boolean`","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string | string[] | boolean"]},{"name":"accordion","description":"是否开启手风琴模式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"viewmore","description":"是否开启查看更多模式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"use-more-slot","description":"查看更多模式下是否启用 `more` 插槽","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"line-num","description":"查看更多模式下收起显示行数","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["number"],"default":"2"},{"name":"custom-more-slot-class","description":"查看更多模式下 `more` 插槽外部自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/collapse.html#collapse-attributes","type":["string"]}]},{"name":"wd-collapse","source":{"symbol":"WdCollapse"},"description":"将一组内容放置在多个折叠面板中,点击面板标题可展开或收起内容。","doc-url":"https://wot-ui.cn/component/collapse.html#collapse","js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-ui.cn/component/collapse.html#events"}]}},{"name":"wd-config-provider","source":{"symbol":"WdConfigProvider"},"description":"用于为 `Wot` 组件提供主题模式和主题变量配置,支持深色模式、主题定制和跨组件树共享配置。","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider","props":[{"name":"theme","description":"主题风格,可选值为 `light`、`dark`","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"],"default":"light","attribute-value":{"type":"enum"},"values":[{"name":"light"},{"name":"dark"}]},{"name":"theme-vars","description":"自定义主题变量","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":[{"name":"ConfigProviderThemeVars","source":{"symbol":"ConfigProviderThemeVars"}}],"default":"{}"},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-attributes","type":["string"]}],"slots":[{"name":"default","description":"默认插槽,用于包裹需要应用主题的子组件","doc-url":"https://wot-ui.cn/component/config-provider.html#configprovider-slots"}]},{"name":"wd-count-down","source":{"symbol":"WdCountDown"},"description":"用于实时展示倒计时数值,支持毫秒级渲染与手动控制。","doc-url":"https://wot-ui.cn/component/count-down.html#countdown","props":[{"name":"time","description":"倒计时时长,单位毫秒","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["number"]},{"name":"millisecond","description":"是否开启毫秒级渲染","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["boolean"],"default":"false"},{"name":"format","description":"倒计时格式化字符串","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"],"default":"HH:mm:ss"},{"name":"auto-start","description":"是否在初始化和重置后自动开始倒计时","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/count-down.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"倒计时变化时触发","doc-url":"https://wot-ui.cn/component/count-down.html#events"},{"name":"finish","description":"倒计时结束时触发","doc-url":"https://wot-ui.cn/component/count-down.html#events"}]}},{"name":"wd-count-to","source":{"symbol":"WdCountTo"},"description":"用于数字滚动展示,支持主题、前后缀、小数精度与手动控制。","doc-url":"https://wot-ui.cn/component/count-to.html#countto","props":[{"name":"color","description":"文本颜色","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"type","description":"主题类型,可选值为 `default`、`primary`、`success`、`warning`、`error`","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":"default","attribute-value":{"type":"enum"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"error"}]},{"name":"start-val","description":"起始值","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"0"},{"name":"end-val","description":"最终值","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"2024"},{"name":"duration","description":"从起始值到结束值数字变动的时间(毫秒)","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"3000"},{"name":"auto-start","description":"是否自动开始","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"},{"name":"decimals","description":"保留的小数位数,需大于等于 0","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["number"],"default":"0"},{"name":"decimal","description":"小数点符号","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":"."},{"name":"separator","description":"千分位分隔符","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"],"default":","},{"name":"prefix","description":"前缀文本","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"suffix","description":"后缀文本","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"use-easing","description":"是否使用缓动动画","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/count-to.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"主体数字内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"},{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/count-to.html#slots"}],"js":{"events":[{"name":"mounted","description":"组件加载完成时触发","doc-url":"https://wot-ui.cn/component/count-to.html#events"},{"name":"finish","description":"动画完成时触发","doc-url":"https://wot-ui.cn/component/count-to.html#events"}]}},{"name":"wd-curtain","source":{"symbol":"WdCurtain"},"description":"一般用于公告类图片弹窗展示。","doc-url":"https://wot-ui.cn/component/curtain.html#curtain","props":[{"name":"v-model","description":"绑定值,控制幕帘显示与关闭","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"value","description":"绑定值(已废弃,请使用 `modelValue`)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"src","description":"幕帘图片地址,必须使用网络地址","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"width","description":"幕帘图片宽度,默认单位 px","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["number"]},{"name":"to","description":"幕帘图片点击链接","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"close-position","description":"关闭按钮位置,可选值为 `inset`、`top`、`bottom`、`top-left`、`top-right`、`bottom-left`、`bottom-right`","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"],"default":"inset","attribute-value":{"type":"enum"},"values":[{"name":"inset"},{"name":"top"},{"name":"bottom"},{"name":"top-left"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom-right"}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"hide-when-close","description":"关闭时是否隐藏弹出层(`display: none`)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"设置层级","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["number"],"default":"10"},{"name":"custom-close-class","description":"关闭按钮自定义类名","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"custom-close-style","description":"关闭按钮自定义样式","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"root-portal","description":"是否从页面中脱离,用于解决 fixed 失效问题(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"show-menu-by-longpress","description":"开启长按图片显示识别小程序码菜单,仅微信小程序支持","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"close-on-click","description":"点击图片时是否关闭幕帘","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/curtain.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击幕帘图片时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"closed","description":"弹出层关闭动画结束后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"beforeenter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"afterenter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"beforeleave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"afterleave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"load","description":"图片加载完成时触发","doc-url":"https://wot-ui.cn/component/curtain.html#events"},{"name":"error","description":"图片加载失败时触发。图片加载失败后,即使 `modelValue` 为 `true` 也不会展示幕帘","doc-url":"https://wot-ui.cn/component/curtain.html#events"}]}},{"name":"wd-datetime-picker-view","source":{"symbol":"WdDatetimePickerView"},"description":"用于构建日期时间滚筒选项的基础视图组件。","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#datetimepickerview","props":[{"name":"v-model","description":"选中项,`time` 类型为字符串,其余类型为时间戳","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string | number"]},{"name":"type","description":"选择器类型,可选值为 `datetime`、`date`、`year-month`、`time`、`year`","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DateTimeType","source":{"symbol":"DateTimeType"}}],"default":"datetime","attribute-value":{"type":"of-match"},"values":[{"name":"datetime"},{"name":"date"},{"name":"year-month"},{"name":"time"},{"name":"year"}]},{"name":"item-height","description":"单项高度","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见项数量","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文案字段名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"label"},{"name":"formatter","description":"自定义选项文案格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewFormatter","source":{"symbol":"DatetimePickerViewFormatter"}}]},{"name":"filter","description":"自定义过滤函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewFilter","source":{"symbol":"DatetimePickerViewFilter"}}]},{"name":"column-formatter","description":"自定义列格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":[{"name":"DatetimePickerViewColumnFormatter","source":{"symbol":"DatetimePickerViewColumnFormatter"}}]},{"name":"min-date","description":"最小日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"当前年份前 10 年 1 月 1 日"},{"name":"max-date","description":"最大日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"当前年份后 10 年 12 月 31 日"},{"name":"min-hour","description":"最小小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-hour","description":"最大小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"23"},{"name":"min-minute","description":"最小分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-minute","description":"最大分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"59"},{"name":"use-second","description":"是否显示秒选择,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"min-second","description":"最小秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-second","description":"最大秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"59"},{"name":"immediate-change","description":"是否在手指松开时立即触发 change(仅微信/支付宝小程序)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"boundary-min-date","description":"区间模式开始时间最小边界(用于联动)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"]},{"name":"boundary-max-date","description":"区间模式结束时间最大边界(用于联动)","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["number"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选中项变化时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"},{"name":"pickstart","description":"滚动开始时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"},{"name":"pickend","description":"滚动结束时触发","doc-url":"https://wot-ui.cn/component/datetime-picker-view.html#events"}]}},{"name":"wd-datetime-picker","source":{"symbol":"WdDatetimePicker"},"description":"对 `DatetimePickerView` 的封装组件,内置日期时间列构建与弹窗交互。","doc-url":"https://wot-ui.cn/component/datetime-picker.html#datetimepicker","props":[{"name":"v-model","description":"绑定值。`time` 类型为字符串;区间模式为数组;其余类型为时间戳","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string | number | Array<string | number>"]},{"name":"v-model:visible","description":"是否显示弹窗","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"选择器类型,可选值为 `datetime`、`date`、`year-month`、`time`、`year`","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"datetime","attribute-value":{"type":"enum"},"values":[{"name":"datetime"},{"name":"date"},{"name":"year-month"},{"name":"time"},{"name":"year"}]},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"cancel-button-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"item-height","description":"单项高度","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见项数量","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文案字段名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"],"default":"label"},{"name":"min-date","description":"最小日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"当前年份前 10 年 1 月 1 日"},{"name":"max-date","description":"最大日期(时间戳)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"当前年份后 10 年 12 月 31 日 23:59:59"},{"name":"min-hour","description":"最小小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-hour","description":"最大小时(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"23"},{"name":"min-minute","description":"最小分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-minute","description":"最大分钟(`time` 类型生效)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"59"},{"name":"use-second","description":"是否显示秒选择,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"min-second","description":"最小秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"0"},{"name":"max-second","description":"最大秒数,仅 `time` 和 `datetime` 生效","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"59"},{"name":"formatter","description":"自定义滚筒选项格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerViewFormatter","source":{"symbol":"DatetimePickerViewFormatter"}}]},{"name":"filter","description":"自定义过滤函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerViewFilter","source":{"symbol":"DatetimePickerViewFilter"}}]},{"name":"before-confirm","description":"确定前校验函数,接收 `(value)`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerBeforeConfirm","source":{"symbol":"DatetimePickerBeforeConfirm"}}]},{"name":"display-format-tab-label","description":"区间模式下自定义 Tab 标签格式化函数","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":[{"name":"DatetimePickerDisplayFormatTabLabel","source":{"symbol":"DatetimePickerDisplayFormatTabLabel"}}]},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["number"],"default":"15"},{"name":"immediate-change","description":"是否在手指松开时立即触发 change(仅微信/支付宝小程序)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否脱离文档流渲染(H5: teleport,App: renderjs,小程序: root-portal)","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]},{"name":"custom-view-class","description":"pickerView 外部自定义样式类","doc-url":"https://wot-ui.cn/component/datetime-picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"open","description":"打开弹窗时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"cancel","description":"点击取消或关闭弹窗时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"confirm","description":"点击确认按钮触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"},{"name":"toggle","description":"区间模式切换开始/结束 Tab 时触发","doc-url":"https://wot-ui.cn/component/datetime-picker.html#events"}]}},{"name":"wd-dialog","source":{"symbol":"WdDialog"},"description":"弹出对话框,常用于消息提示、操作确认和输入收集,支持函数式调用。","doc-url":"https://wot-ui.cn/component/dialog.html#dialog","slots":[{"name":"header","description":"自定义头部区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"image","description":"自定义图片区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"title","description":"自定义标题区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"default","description":"自定义内容区域","doc-url":"https://wot-ui.cn/component/dialog.html#slots"},{"name":"actions","description":"自定义操作区","doc-url":"https://wot-ui.cn/component/dialog.html#slots"}]},{"name":"wd-divider","source":{"symbol":"WdDivider"},"description":"用于将内容分隔为多个区域。","doc-url":"https://wot-ui.cn/component/divider.html#divider","props":[{"name":"color","description":"自定义颜色,支持所有合法颜色值","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]},{"name":"content-position","description":"内容位置,可选值为 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":[{"name":"DividerPosition","source":{"symbol":"DividerPosition"}}],"default":"center","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"center"},{"name":"right"}]},{"name":"dashed","description":"是否显示为虚线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"false"},{"name":"vertical","description":"是否显示为垂直分割线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"false"},{"name":"hairline","description":"是否显示为 0.5px 细线","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/divider.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"分割线内容,仅在 `vertical` 为 `false` 时生效","doc-url":"https://wot-ui.cn/component/divider.html#slots"}]},{"name":"wd-drop-menu","source":{"symbol":"WdDropMenu"},"description":"向下或向上弹出的菜单列表。","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu","props":[{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["number"],"default":"12"},{"name":"direction","description":"菜单展开方向,可选值为 `up`、`down`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":[{"name":"DropDirection","source":{"symbol":"DropDirection"}}],"default":"down","attribute-value":{"type":"of-match"},"values":[{"name":"up"},{"name":"down"}]},{"name":"modal","description":"是否展示蒙层","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["boolean"],"default":"true"},{"name":"close-on-click-modal","description":"是否点击蒙层时关闭","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"菜单展开/收起动画时长,单位 ms","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["number"],"default":"200"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-attributes","type":["string"]}],"slots":[{"name":"default","description":"菜单项容器插槽","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenu-slots"}]},{"name":"wd-drop-menu-item","source":{"symbol":"WdDropMenuItem"},"description":"向下或向上弹出的菜单列表。","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem","props":[{"name":"v-model","description":"当前选中值","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string | number"]},{"name":"disabled","description":"是否禁用菜单","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["boolean"],"default":"false"},{"name":"options","description":"菜单选项列表,默认结构为 `{ label, value, tip }`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["Array<Record<string, any>>"],"default":"[]"},{"name":"icon-name","description":"选中项图标名称","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"check"},{"name":"title","description":"菜单标题,设置后优先展示标题文案","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"icon","description":"菜单右侧图标","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"caret-down"},{"name":"icon-size","description":"菜单图标尺寸","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string | number"]},{"name":"before-toggle","description":"菜单开关前拦截函数,接收 `{ status }`,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":[{"name":"DropMenuItemBeforeToggle","source":{"symbol":"DropMenuItemBeforeToggle"}}]},{"name":"value-key","description":"选项值字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项文本字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"label"},{"name":"tip-key","description":"选项说明字段名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"],"default":"tip"},{"name":"custom-popup-class","description":"自定义下拉 popup 样式类","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"custom-popup-style","description":"自定义下拉 popup 样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"popup-height","description":"popup 高度,未设置时默认最大高度为 80%","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"root-portal","description":"是否脱离页面文档流渲染,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义菜单内容","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-slots"}],"js":{"events":[{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"open","description":"菜单开始展开时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"opened","description":"菜单展开完成时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"close","description":"菜单开始关闭时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"},{"name":"closed","description":"菜单关闭完成时触发","doc-url":"https://wot-ui.cn/component/drop-menu.html#dropmenuitem-events"}]}},{"name":"wd-empty","source":{"symbol":"WdEmpty"},"description":"一般用于兜底占位展示。","doc-url":"https://wot-ui.cn/component/empty.html#empty","props":[{"name":"icon","description":"缺省图标名称或图片 URL","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string"],"default":"empty"},{"name":"icon-size","description":"图标或图片大小,默认单位为 px","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string","number"]},{"name":"tip","description":"提示文案","doc-url":"https://wot-ui.cn/component/empty.html#attributes","type":["string"]}]},{"name":"wd-fab","source":{"symbol":"WdFab"},"description":"悬浮动作按钮组件,按下可显示一组动作按钮。","doc-url":"https://wot-ui.cn/component/fab.html#fab","props":[{"name":"v-model:active","description":"是否激活","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"悬浮按钮类型,可选值为 `primary`、`success`、`info`、`warning`、`danger`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabType","source":{"symbol":"FabType"}}],"default":"primary","attribute-value":{"type":"of-match"},"values":[{"name":"primary"},{"name":"success"},{"name":"info"},{"name":"warning"},{"name":"danger"}]},{"name":"position","description":"悬浮按钮位置,可选值为 `left-top`、`right-top`、`left-bottom`、`right-bottom`、`left-center`、`right-center`、`top-center`、`bottom-center`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabPosition","source":{"symbol":"FabPosition"}}],"default":"right-bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left-top"},{"name":"right-top"},{"name":"left-bottom"},{"name":"right-bottom"},{"name":"left-center"},{"name":"right-center"},{"name":"top-center"},{"name":"bottom-center"}]},{"name":"draggable","description":"按钮能否拖动","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"direction","description":"悬浮按钮菜单弹出方向,可选值为 `top`、`right`、`bottom`、`left`","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabDirection","source":{"symbol":"FabDirection"}}],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"right"},{"name":"bottom"},{"name":"left"}]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"false"},{"name":"inactive-icon","description":"悬浮按钮未展开时的图标","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"],"default":"plus"},{"name":"active-icon","description":"悬浮按钮展开时的图标","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"],"default":"close"},{"name":"z-index","description":"自定义悬浮按钮层级","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["number"],"default":"99"},{"name":"gap","description":"自定义悬浮按钮与可视区域边缘的间距","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":[{"name":"FabGap","source":{"symbol":"FabGap"}}],"default":"{ top: 16, right: 16, bottom: 16, left: 16 }"},{"name":"expandable","description":"用于控制点击时是否展开菜单,设置为 `false` 时触发 `click` 事件","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/fab.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"`expandable` 设置为 `false` 时,点击悬浮组件内部但不触发内部逻辑时则抛出版事件","doc-url":"https://wot-ui.cn/component/fab.html#events"}]}},{"name":"wd-floating-panel","source":{"symbol":"WdFloatingPanel"},"description":"浮动在页面底部的面板,用户可以通过上下拖动秒板来浏览内容,从而在不离开当前视图的情况下访问更多信息,常用于地图导航。","doc-url":"https://wot-ui.cn/component/floating-panel.html#floatingpanel","props":[{"name":"v-model:height","description":"当前面板的显示高度","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number"],"default":"0"},{"name":"anchors","description":"设置自定义锚点, 单位 `px`","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number[]"],"default":"[100, windowHeight 0.6]"},{"name":"duration","description":"动画时长,单位 `ms`,设置为 `0` 可以禁用动画","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["number"],"default":"300"},{"name":"content-draggable","description":"允许拖拽内容容器","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"是否开启底部安全区适配","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"false"},{"name":"show-scrollbar","description":"是否开启滚动条","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/floating-panel.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"默认内容区域插槽","doc-url":"https://wot-ui.cn/component/floating-panel.html#slots"}]},{"name":"wd-form-item","source":{"symbol":"WdFormItem"},"description":"用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型。","doc-url":"https://wot-ui.cn/component/form.html#formitem","js":{"events":[{"name":"click","description":"点击表单项时触发","doc-url":"https://wot-ui.cn/component/form.html#formitem-events"}]}},{"name":"wd-form","source":{"symbol":"WdForm"},"description":"用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型。","doc-url":"https://wot-ui.cn/component/form.html#form","props":[{"name":"model","description":"表单数据对象","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["Record<string, any>"]},{"name":"schema","description":"表单校验对象","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":[{"name":"FormSchema","source":{"symbol":"FormSchema"}}]},{"name":"validate-trigger","description":"校验触发时机,可选值为 `change`、`blur`、`submit`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string | string[]"],"default":"submit","attribute-value":{"type":"of-match"},"values":[{"name":"change"},{"name":"blur"},{"name":"submit"}]},{"name":"reset-on-change","description":"表单数据变化时是否重置表单提示信息(设置为 `false` 时需要开发者单独对变更项进行校验)","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"true"},{"name":"error-type","description":"校验错误提示方式,可选值为 `toast`、`message`、`none`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"default":"message","attribute-value":{"type":"of-match"},"values":[{"name":"toast"},{"name":"message"},{"name":"none"}]},{"name":"border","description":"是否展示边框线","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"center","description":"是否使内容垂直居中","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"size","description":"单元格大小,可选值为 `large`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"large"}]},{"name":"title-width","description":"左侧标题宽度","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string | number"]},{"name":"layout","description":"单元格布局方式,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"value-align","description":"右侧内容对齐方式,可选值为 `left`、`right`、`center`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"},{"name":"center"}]},{"name":"asterisk-position","description":"必填星号位置,可选值为 `start`、`end`","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"start"},{"name":"end"}]},{"name":"hide-asterisk","description":"是否隐藏必填星号","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"},{"name":"ellipsis","description":"是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/form.html#attributes","type":["boolean"],"default":"false"}]},{"name":"wd-gap","source":{"symbol":"WdGap"},"description":"用于页面布局中的间距占位,可替代 `margin` 或 `padding`,也可作为底部占位元素。","doc-url":"https://wot-ui.cn/component/gap.html#gap","props":[{"name":"height","description":"间隔槽高度,支持数字(单位 `px`)或字符串(如 `20rpx`)","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string | number"],"default":"14"},{"name":"bg-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"],"default":"transparent"},{"name":"safe-area-bottom","description":"是否开启底部安全区适配","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/gap.html#attributes","type":["string"]}]},{"name":"wd-grid","source":{"symbol":"WdGrid"},"description":"宫格可以在水平方向上把页面分隔成等宽度的区块,用于展示内容或进行页面导航。","doc-url":"https://wot-ui.cn/component/grid.html#grid","props":[{"name":"column","description":"列数","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["number"]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"gutter","description":"格子之间的间距,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["number"]},{"name":"square","description":"是否将格子固定为正方形","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"clickable","description":"是否开启格子点击反馈","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"bg-color","description":"背景颜色设置","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]},{"name":"hover-class","description":"指定 grid-item 按下去的样式类","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"wd-grid-item__content--hover"},{"name":"center","description":"是否将格子内容居中显示","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"true"},{"name":"direction","description":"格子内容排列的方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"reverse","description":"是否调换图标和文本的位置","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["boolean"],"default":"false"},{"name":"icon-size","description":"图标大小,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"],"default":"28px"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/grid.html#grid-attributes","type":["string"]}]},{"name":"wd-grid-item","source":{"symbol":"WdGridItem"},"description":"宫格可以在水平方向上把页面分隔成等宽度的区块,用于展示内容或进行页面导航。","doc-url":"https://wot-ui.cn/component/grid.html#griditem","props":[{"name":"text","description":"文字内容","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"ellipsis","description":"是否超出隐藏显示省略号","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["boolean"],"default":"false"},{"name":"icon","description":"图标名称,可选值见 `wd-icon` 组件","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"icon-color","description":"图标颜色","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"icon-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"is-dot","description":"是否显示图标右上角小红点","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["boolean"],"default":"false"},{"name":"value","description":"图标右上角徽标显示值","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string | number"]},{"name":"max","description":"图标右上角徽标最大值,超过最大值会显示 `{max}+`","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["number"],"default":"99"},{"name":"badge-props","description":"自定义徽标属性,透传给 [Badge 组件](/component/badge#attributes)","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":[{"name":"BadgeProps","source":{"symbol":"BadgeProps"}}]},{"name":"url","description":"点击后跳转的链接地址","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"link-type","description":"页面跳转方式,可选值为 `navigateTo`、`switchTab`、`reLaunch`、`redirectTo`","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"],"default":"navigateTo","attribute-value":{"type":"of-match"},"values":[{"name":"navigateTo"},{"name":"switchTab"},{"name":"reLaunch"},{"name":"redirectTo"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/grid.html#griditem-attributes","type":["string"]}]},{"name":"wd-icon","source":{"symbol":"WdIcon"},"description":"基于字体的图标集。","doc-url":"https://wot-ui.cn/component/icon.html#icon","props":[{"name":"name","description":"图标名称或图片链接","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]},{"name":"color","description":"图标的颜色","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"],"default":"inherit"},{"name":"size","description":"图标的字体大小","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string | number"],"default":"inherit"},{"name":"class-prefix","description":"类名前缀,用于使用自定义图标","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"],"default":"wd-icon"},{"name":"css-icon","description":"是否为 CSS 类名图标(如 UnoCSS 图标),为 true 时 name 直接作为 CSS class 使用","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式","doc-url":"https://wot-ui.cn/component/icon.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击图标时触发","doc-url":"https://wot-ui.cn/component/icon.html#events"}]}},{"name":"wd-image-preview","source":{"symbol":"WdImagePreview"},"description":"图片预览组件,支持多图预览、滑动切换和函数式调用。","doc-url":"https://wot-ui.cn/component/image-preview.html#imagepreview","props":[{"name":"selector","description":"选择器","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"]},{"name":"images","description":"图片 URL 数组","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string[]"],"default":"[]"},{"name":"start-position","description":"起始位置索引","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["number"],"default":"0"},{"name":"show-index","description":"是否显示页码","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"loop","description":"是否循环播放","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"closeable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"close-icon","description":"关闭图标名称","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"],"default":"close"},{"name":"close-icon-position","description":"关闭图标位置,可选值为 `top-left`、`top-right`","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["string"],"default":"top-right","attribute-value":{"type":"of-match"},"values":[{"name":"top-left"},{"name":"top-right"}]},{"name":"close-on-click","description":"是否点击图片或遮罩时关闭","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"show-menu-by-longpress","description":"开启长按图片显示识别小程序码菜单","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/image-preview.html#attributes","type":["number"],"default":"1000"}],"js":{"events":[{"name":"open","description":"打开预览时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"close","description":"关闭预览时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"change","description":"切换图片时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"},{"name":"long-press","description":"长按图片时触发","doc-url":"https://wot-ui.cn/component/image-preview.html#events"}]}},{"name":"wd-img-cropper","source":{"symbol":"WdImgCropper"},"description":"图片剪裁组件,用于图片裁剪,支持拖拽、缩放、旋转等操作。","doc-url":"https://wot-ui.cn/component/img-cropper.html#imgcropper","props":[{"name":"v-model","description":"打开图片裁剪组件","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["boolean"],"default":"false"},{"name":"img-src","description":"图片资源链接","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"]},{"name":"img-width","description":"截屏预览图片的初始宽度; `1、设置宽度不设置高度,按照宽度等比缩放;2、如果都不设置,预览时图片大小会根据裁剪框大小进行等比缩放,进行锁边处理;`; `string` 类型只支持 `%` 单位,`number` 类型时单位为 `px`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number | string"]},{"name":"img-height","description":"截屏预览图片的初始高度; `1、设置高度不设置宽度,按照高度等比缩放;2、如果都不设置,预览时图片大小会根据裁剪框大小进行等比缩放,进行锁边处理;`; `string` 类型只支持 `%` 单位,`number` 类型时单位为 `px`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number | string"]},{"name":"disabled-rotate","description":"禁止图片旋转","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["boolean"],"default":"false"},{"name":"export-scale","description":"设置导出图片尺寸","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"2"},{"name":"max-scale","description":"最大缩放倍数","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"3"},{"name":"cancel-button-text","description":"取消按钮文案","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"取消"},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"完成"},{"name":"quality","description":"生成的图片质量 [wx.canvasToTempFilePath属性介绍](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasToTempFilePath.html#%E5%8F%82%E6%95%B0)","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["number"],"default":"1"},{"name":"file-type","description":"目标文件的类型,[wx.canvasToTempFilePath属性介绍](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasToTempFilePath.html#%E5%8F%82%E6%95%B0)","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"png"},{"name":"aspect-ratio","description":"裁剪框宽高比,格式为 `width:height`","doc-url":"https://wot-ui.cn/component/img-cropper.html#attributes","type":["string"],"default":"1:1"}],"js":{"events":[{"name":"confirm","description":"完成截图时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"cancel","description":"当取消截图时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"imgloaderror","description":"当图片加载错误时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"},{"name":"imgloaded","description":"当图片加载完成时触发","doc-url":"https://wot-ui.cn/component/img-cropper.html#events"}]}},{"name":"wd-img","source":{"symbol":"WdImg"},"description":"增强版图片组件,支持填充模式、懒加载、加载态/失败态插槽,以及点击预览。","doc-url":"https://wot-ui.cn/component/img.html#img","props":[{"name":"src","description":"图片链接","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"preview-src","description":"预览图片链接","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"width","description":"宽度,支持数字(单位 `px`)或字符串","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"height","description":"高度,支持数字(单位 `px`)或字符串","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"mode","description":"填充模式,可选值为 `top left`、`top right`、`bottom left`、`bottom right`、`right`、`left`、`center`、`bottom`、`top`、`heightFix`、`widthFix`、`scaleToFill`、`aspectFit`、`aspectFill`","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"scaleToFill","attribute-value":{"type":"of-match"},"values":[{"name":"top left"},{"name":"top right"},{"name":"bottom left"},{"name":"bottom right"},{"name":"right"},{"name":"left"},{"name":"center"},{"name":"bottom"},{"name":"top"},{"name":"heightFix"},{"name":"widthFix"},{"name":"scaleToFill"},{"name":"aspectFit"},{"name":"aspectFill"}]},{"name":"round","description":"是否显示为圆形","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"radius","description":"圆角大小,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string | number"]},{"name":"lazy-load","description":"是否开启图片懒加载","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"enable-preview","description":"是否支持点击预览","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"show-menu-by-longpress","description":"是否开启长按图片显示识别小程序码菜单,仅微信小程序平台有效","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"false"},{"name":"show-loading","description":"是否展示默认加载态","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"true"},{"name":"show-error","description":"是否展示默认失败态","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]},{"name":"custom-image","description":"内部 `image` 节点自定义类名","doc-url":"https://wot-ui.cn/component/img.html#attributes","type":["string"]}],"slots":[{"name":"loading","description":"自定义图片加载中的展示内容","doc-url":"https://wot-ui.cn/component/img.html#slots"},{"name":"error","description":"自定义图片加载失败后的展示内容","doc-url":"https://wot-ui.cn/component/img.html#slots"}],"js":{"events":[{"name":"click","description":"点击图片时触发","doc-url":"https://wot-ui.cn/component/img.html#events"},{"name":"load","description":"图片加载完成时触发,返回图片加载事件对象","doc-url":"https://wot-ui.cn/component/img.html#events"},{"name":"error","description":"图片加载失败时触发,返回图片错误事件对象","doc-url":"https://wot-ui.cn/component/img.html#events"}]}},{"name":"wd-index-anchor","source":{"symbol":"WdIndexAnchor"},"description":"用于列表的索引分类显示和快速定位。","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor","props":[{"name":"index","description":"索引字符","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string | number"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/index-bar.html#indexanchor-attributes","type":["string"]}]},{"name":"wd-index-bar","source":{"symbol":"WdIndexBar"},"description":"用于列表的索引分类显示和快速定位。","doc-url":"https://wot-ui.cn/component/index-bar.html#indexbar","props":[{"name":"sticky","description":"索引是否吸顶","doc-url":"https://wot-ui.cn/component/index-bar.html#attributes","type":["boolean"],"default":"false"}]},{"name":"wd-input-number","source":{"symbol":"WdInputNumber"},"description":"由增加按钮、减少按钮和输入框组成,用于在一定范围内输入或调整数字。","doc-url":"https://wot-ui.cn/component/input-number.html#inputnumber","props":[{"name":"v-model","description":"绑定值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"]},{"name":"min","description":"最小值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"1"},{"name":"max","description":"最大值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"Number.MAX_SAFE_INTEGER"},{"name":"step","description":"步进值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number"],"default":"1"},{"name":"step-strictly","description":"是否严格按步进值递增或递减","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"precision","description":"数值精度","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"],"default":"0"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-input","description":"是否禁用输入框","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-minus","description":"是否禁用减号按钮","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"disable-plus","description":"是否禁用加号按钮","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"without-input","description":"是否不显示输入框","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"input-width","description":"输入框宽度,支持数字和带单位字符串","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number | string"]},{"name":"allow-null","description":"是否允许输入值为空,设置为 `true` 后允许传入空字符串","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder","description":"输入框占位文本","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"before-change","description":"数值变更前触发,返回 `false` 可阻止值更新,支持返回 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["(value: number | string) => boolean | Promise<boolean>"]},{"name":"long-press","description":"是否允许长按进行加减","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"immediate-change","description":"是否立即响应输入变化,`false` 时仅在失焦或按钮点击时更新","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"update-on-init","description":"是否在初始化时更新 `v-model` 为修正后的值","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"true"},{"name":"input-type","description":"输入框类型,可选值为 `number`、`digit`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["number' | 'digit"],"default":"digit","attribute-value":{"type":"of-match"},"values":[{"name":"number"},{"name":"digit"}]},{"name":"theme","description":"主题风格,可选值为 `default`、`outline`、`outline-split`、`primary`","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":[{"name":"InputNumberTheme","source":{"symbol":"InputNumberTheme"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"outline"},{"name":"outline-split"},{"name":"primary"}]},{"name":"round","description":"是否启用圆角样式","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/input-number.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"值修改时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"focus","description":"输入框获取焦点时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"blur","description":"输入框失去焦点时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/input-number.html#events"}]}},{"name":"wd-input","source":{"symbol":"WdInput"},"description":"用户可以在文本框中输入内容。","doc-url":"https://wot-ui.cn/component/input.html#input","props":[{"name":"v-model","description":"输入框绑定值","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string | number"]},{"name":"type","description":"输入框类型,可选值为 `text`、`number`、`digit`、`idcard`、`safe-password`、`nickname`、`tel`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputType","source":{"symbol":"InputType"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"number"},{"name":"digit"},{"name":"idcard"},{"name":"safe-password"},{"name":"nickname"},{"name":"tel"}]},{"name":"placeholder","description":"占位文本","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"],"default":"请输入..."},{"name":"placeholder-style","description":"placeholder 样式,目前支持 `color`、`font-size`、`font-weight`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"placeholder-class","description":"placeholder 样式类","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"maxlength","description":"最大输入长度","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"支付宝小程序无默认值,其余平台为 -1"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"clearable","description":"是否显示清空按钮","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"clear-trigger","description":"清空按钮显示时机,可选值为 `focus`、`always`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputClearTrigger","source":{"symbol":"InputClearTrigger"}}],"default":"always","attribute-value":{"type":"of-match"},"values":[{"name":"focus"},{"name":"always"}]},{"name":"focus-when-clear","description":"点击清空按钮后是否自动聚焦","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"show-password","description":"是否显示密码切换按钮","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"prefix-icon","description":"前置图标名称","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"suffix-icon","description":"后置图标名称","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"show-word-limit","description":"是否显示字数统计,需要同时设置 `maxlength`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"error","description":"是否展示错误状态","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"align-right","description":"输入内容是否右对齐","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"compact","description":"是否开启紧凑模式;未显式设置时,在 `wd-form-item` 中会自动启用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"]},{"name":"focus","description":"是否获取焦点","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"cursor-spacing","description":"光标与键盘的距离","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"0"},{"name":"cursor","description":"获取焦点时的光标位置","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"selection-start","description":"光标起始位置,需与 `selection-end` 搭配使用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"selection-end","description":"光标结束位置,需与 `selection-start` 搭配使用","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["number"],"default":"-1"},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"hold-keyboard","description":"聚焦时点击页面是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"confirm-type","description":"键盘右下角按钮文字,可选值为 `done`、`go`、`next`、`search`、`send`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputConfirmType","source":{"symbol":"InputConfirmType"}}],"default":"done","attribute-value":{"type":"of-match"},"values":[{"name":"done"},{"name":"go"},{"name":"next"},{"name":"search"},{"name":"send"}]},{"name":"confirm-hold","description":"点击键盘右下角按钮时是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"always-embed","description":"是否强制 input 处于同层状态,仅微信小程序 iOS 生效","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"false"},{"name":"ignore-composition-event","description":"是否忽略文本合成系统事件处理;为 `false` 时会触发 composition 相关事件,且合成期间会触发 `input`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"inputmode","description":"输入模式提示,可选值为 `none`、`text`、`decimal`、`numeric`、`tel`、`search`、`email`、`url`","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":[{"name":"InputMode","source":{"symbol":"InputMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"text"},{"name":"decimal"},{"name":"numeric"},{"name":"tel"},{"name":"search"},{"name":"email"},{"name":"url"}]},{"name":"enable-native","description":"支付宝小程序下是否启用原生输入框,设为 `false` 可避免弹起键盘后内容上移","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-input-class","description":"输入框自定义类名","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/input.html#attributes","type":["string"]}],"slots":[{"name":"prefix","description":"自定义前置内容","doc-url":"https://wot-ui.cn/component/input.html#slots"},{"name":"suffix","description":"自定义后置内容","doc-url":"https://wot-ui.cn/component/input.html#slots"}],"js":{"events":[{"name":"input","description":"输入时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"focus","description":"聚焦时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"blur","description":"失焦时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"confirm","description":"点击键盘完成按钮时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"keyboardheightchange","description":"键盘高度变化时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clickprefixicon","description":"点击前置图标时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"clicksuffixicon","description":"点击后置图标时触发","doc-url":"https://wot-ui.cn/component/input.html#events"},{"name":"click","description":"点击组件根节点时触发","doc-url":"https://wot-ui.cn/component/input.html#events"}]}},{"name":"wd-keyboard","source":{"symbol":"WdKeyboard"},"description":"虚拟数字键盘,用于输入数字、密码、身份证或车牌号等场景。","doc-url":"https://wot-ui.cn/component/keyboard.html#keyboard","props":[{"name":"v-model:visible","description":"是否展开","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"v-model","description":"当前输入值","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"title","description":"键盘标题","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"mode","description":"键盘模式,可选值为 `default`、`custom`、`car`","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":[{"name":"KeyboardMode","source":{"symbol":"KeyboardMode"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"custom"},{"name":"car"}]},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["number"],"default":"100"},{"name":"maxlength","description":"最大输入长度","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["number"],"default":"Infinity"},{"name":"show-delete-key","description":"是否显示删除键;仅对默认数字键盘与右侧栏键盘生效","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"random-key-order","description":"是否随机排序数字按键","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"close-text","description":"关闭按钮文本;在默认/车牌模式中显示在头部,在 `custom` 模式中显示在右侧大按钮上","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"delete-text","description":"删除按钮文本","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"close-button-loading","description":"关闭按钮是否显示加载状态","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"modal","description":"是否显示蒙层;设为 `false` 时蒙层透明","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"hide-on-click-outside","description":"是否允许点击外部关闭键盘,同时控制是否渲染遮罩","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"lock-scroll","description":"是否锁定背景滚动","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"是否适配底部安全区","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"true"},{"name":"extra-key","description":"额外按键,可传单个字符串或字符串数组;`custom` 模式下支持两个额外按键","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string | string[]"]},{"name":"root-portal","description":"是否从页面中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"v-model:car","description":"车牌键盘语言模式,当 `mode=car` 时生效,可选值为 `zh`、`en`","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":[{"name":"CarKeyboardLang","source":{"symbol":"CarKeyboardLang"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"mode=car"},{"name":"zh"},{"name":"en"}]},{"name":"auto-switch-lang","description":"是否自动切换车牌键盘语言,当 `mode=car` 且 `car-lang` 为非受控状态时生效","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/keyboard.html#attributes","type":["string"]}],"slots":[{"name":"title","description":"自定义标题内容","doc-url":"https://wot-ui.cn/component/keyboard.html#slots"}],"js":{"events":[{"name":"input","description":"点击可输入按键时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"delete","description":"点击删除键时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"close","description":"点击关闭按钮或遮罩关闭时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:visible","description":"键盘显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:modelValue","description":"当前输入值变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"},{"name":"update:carLang","description":"车牌键盘语言变化时触发","doc-url":"https://wot-ui.cn/component/keyboard.html#events"}]}},{"name":"wd-row","source":{"symbol":"WdRow"},"description":"用于快速进行布局。","doc-url":"https://wot-ui.cn/component/layout.html#row","props":[{"name":"gutter","description":"列元素之间的间距(单位为 px)","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["number"],"default":"0"},{"name":"justify","description":"主轴对齐方式,可选值为 `start`、`center`、`end`、`space-between`、`space-around`、`space-evenly`","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"],"default":"start","attribute-value":{"type":"of-match"},"values":[{"name":"start"},{"name":"center"},{"name":"end"},{"name":"space-between"},{"name":"space-around"},{"name":"space-evenly"}]},{"name":"align","description":"交叉轴对齐方式,可选值为 `top`、`middle`、`bottom`","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"middle"},{"name":"bottom"}]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/layout.html#row-attributes","type":["string"]}]},{"name":"wd-col","source":{"symbol":"WdCol"},"description":"用于快速进行布局。","doc-url":"https://wot-ui.cn/component/layout.html#col","props":[{"name":"span","description":"列元素宽度(栅格占据的列数,共 24 列)","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["number"],"default":"24"},{"name":"offset","description":"列元素偏移距离(栅格左侧的间隔列数)","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["number"],"default":"0"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/layout.html#col-attributes","type":["string"]}]},{"name":"wd-loading","source":{"symbol":"WdLoading"},"description":"加载动画,用于表示加载中的过渡状态。","doc-url":"https://wot-ui.cn/component/loading.html#loading","props":[{"name":"type","description":"加载指示器类型,可选值为 `circular`、`spinner`、`dots`","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":[{"name":"LoadingType","source":{"symbol":"LoadingType"}}],"default":"circular","attribute-value":{"type":"of-match"},"values":[{"name":"circular"},{"name":"spinner"},{"name":"dots"}]},{"name":"color","description":"设置加载指示器颜色","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"size","description":"设置加载指示器大小","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["number | string"]},{"name":"text","description":"加载指示器文字","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"direction","description":"排列方向,可选值为 `vertical`、`horizontal`","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":[{"name":"LoadingDirection","source":{"symbol":"LoadingDirection"}}],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"vertical"},{"name":"horizontal"}]},{"name":"inherit-color","description":"是否继承父元素颜色","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]},{"name":"custom-spinner-class","description":"自定义加载指示器样式类","doc-url":"https://wot-ui.cn/component/loading.html#attributes","type":["string"]}]},{"name":"wd-loadmore","source":{"symbol":"WdLoadmore"},"description":"用于在列表底部展示加载状态。","doc-url":"https://wot-ui.cn/component/loadmore.html#loadmore","props":[{"name":"state","description":"加载状态,可选值为 `loading`、`finished`、`error`","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":[{"name":"LoadMoreState","source":{"symbol":"LoadMoreState"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"loading"},{"name":"finished"},{"name":"error"}]},{"name":"loading-text","description":"加载状态文案","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“正在努力加载中...”"},{"name":"finished-text","description":"加载完成文案","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“已加载完毕”"},{"name":"error-text","description":"加载失败文案;“点击重试”为组件内独立提示文案,不包含在该属性默认值中","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"],"default":"国际化文案“加载失败”"},{"name":"loading-props","description":"内部 `wd-loading` 的属性配置,类型参见下方 `LoadingProps`","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["Partial<LoadingProps>"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/loadmore.html#attributes","type":["string"]}],"js":{"events":[{"name":"reload","description":"`state` 为 `error` 时,点击组件触发","doc-url":"https://wot-ui.cn/component/loadmore.html#events"}]}},{"name":"wd-navbar-capsule","source":{"symbol":"WdNavbarCapsule"},"description":"为页面提供导航功能,常用于页面顶部。","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule","props":[{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-attributes","type":["string"]}],"js":{"events":[{"name":"back","description":"点击返回按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-events"},{"name":"back-home","description":"点击返回首页按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#navbarcapsule-events"}]}},{"name":"wd-navbar","source":{"symbol":"WdNavbar"},"description":"为页面提供导航功能,常用于页面顶部。","doc-url":"https://wot-ui.cn/component/navbar.html#navbar","props":[{"name":"title","description":"标题文字","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"left-text","description":"左侧文案","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"right-text","description":"右侧文案","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"left-arrow","description":"是否显示左侧箭头","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"bordered","description":"是否显示下边框","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"是否固定到顶部","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder","description":"固定在顶部时,在标签位置生成一个等高的占位元素","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"z-index","description":"导航栏 z-index","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["number"],"default":"10"},{"name":"safe-area-inset-top","description":"是否开启顶部安全区适配","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"left-disabled","description":"是否禁用左侧按钮,禁用时透明度降低,且无法点击","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"right-disabled","description":"是否禁用右侧按钮,禁用时透明度降低,且无法点击","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/navbar.html#attributes","type":["string"]}],"js":{"events":[{"name":"click-left","description":"点击左侧按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#events"},{"name":"click-right","description":"点击右侧按钮时触发","doc-url":"https://wot-ui.cn/component/navbar.html#events"}]}},{"name":"wd-notice-bar","source":{"symbol":"WdNoticeBar"},"description":"通知栏组件,用于在页面顶部展示通知提醒。","doc-url":"https://wot-ui.cn/component/notice-bar.html#noticebar","props":[{"name":"text","description":"通知栏文案","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string | string[]"]},{"name":"type","description":"通知栏类型,可选值为 `warning`、`info`、`danger`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":[{"name":"NoticeBarType","source":{"symbol":"NoticeBarType"}}],"default":"warning","attribute-value":{"type":"of-match"},"values":[{"name":"warning"},{"name":"info"},{"name":"danger"}]},{"name":"prefix","description":"左侧图标名称","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"scrollable","description":"是否开启滚动播放","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"true"},{"name":"delay","description":"滚动动画初始延时,单位为秒","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["number"],"default":"1"},{"name":"speed","description":"滚动速度,单位为 `px/s`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["number"],"default":"50"},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"false"},{"name":"wrapable","description":"是否换行展示;仅在 `scrollable=false` 的横向模式下生效","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文字和图标颜色","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"background-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"direction","description":"滚动方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":[{"name":"NoticeBarScrollDirection","source":{"symbol":"NoticeBarScrollDirection"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/notice-bar.html#attributes","type":["string"]}],"js":{"events":[{"name":"close","description":"点击关闭按钮时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"},{"name":"next","description":"切换到下一条文本时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"},{"name":"click","description":"点击内容区时触发","doc-url":"https://wot-ui.cn/component/notice-bar.html#events"}]}},{"name":"wd-notify","source":{"symbol":"WdNotify"},"description":"通知类组件,用于在页面顶部展示通知信息。","doc-url":"https://wot-ui.cn/component/notify.html#notify","props":[{"name":"type","description":"类型,可选值为 `primary` `success` `warning` `danger`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyType","source":{"symbol":"NotifyType"}}],"default":"danger","attribute-value":{"type":"of-match"},"values":[{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"danger"}]},{"name":"message","description":"展示文案,支持通过`\\n`换行","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string | number"]},{"name":"duration","description":"展示时长(ms),值为 0 时,notify 不会消失","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number"],"default":"3000"},{"name":"visible","description":"显示状态(支持 v-model)","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"position","description":"弹出位置,可选值为 `top` `bottom`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyPosition","source":{"symbol":"NotifyPosition"}}],"default":"top","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"bottom"}]},{"name":"color","description":"字体颜色","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"background","description":"背景颜色","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"z-index","description":"将组件的 z-index 层级设置为一个固定值","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number"],"default":"99"},{"name":"safe-height","description":"顶部安全高度","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["number | string"]},{"name":"selector","description":"指定唯一标识","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"root-portal","description":"是否从页面中脱离出来,用于解决各种 fixed 失效问题","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["boolean"],"default":"false"},{"name":"variant","description":"展示形态,可选值为 `filled` `floating`","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":[{"name":"NotifyVariant","source":{"symbol":"NotifyVariant"}}],"default":"filled","attribute-value":{"type":"of-match"},"values":[{"name":"filled"},{"name":"floating"}]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/notify.html#attributes","type":["string"]}]},{"name":"wd-overlay","source":{"symbol":"WdOverlay"},"description":"创建一个遮罩层,用于强调特定的页面元素,并阻止用户进行其他操作。","doc-url":"https://wot-ui.cn/component/overlay.html#overlay","props":[{"name":"show","description":"是否展示遮罩层","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画时长,单位为毫秒","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["<code>Record<string, number> | number | boolean<",{"name":"code>","source":{"symbol":"code>"}}],"default":"300"},{"name":"lock-scroll","description":"是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["number"],"default":"10"},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式类名","doc-url":"https://wot-ui.cn/component/overlay.html#attributes","type":["string"]}],"js":{"events":[{"name":"click","description":"点击遮罩层时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"before-enter","description":"进入动画开始前触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"enter","description":"进入动画开始时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"after-enter","description":"进入动画结束后触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"before-leave","description":"离开动画开始前触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"leave","description":"离开动画开始时触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"},{"name":"after-leave","description":"离开动画结束后触发","doc-url":"https://wot-ui.cn/component/overlay.html#events"}]}},{"name":"wd-pagination","source":{"symbol":"WdPagination"},"description":"当数据量过多时,使用分页分解数据。","doc-url":"https://wot-ui.cn/component/pagination.html#pagination","props":[{"name":"v-model","description":"当前页码","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"]},{"name":"total-page","description":"总页数;传入 `total` 时会优先根据 `total` 与 `page-size` 计算","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"1"},{"name":"total","description":"总数据条数","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"0"},{"name":"page-size","description":"每页条数","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["number"],"default":"10"},{"name":"prev-text","description":"上一页按钮文字;未设置时使用内置国际化文案","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"next-text","description":"下一页按钮文字;未设置时使用内置国际化文案","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"show-icon","description":"是否展示翻页图标","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"show-message","description":"是否展示文字提示","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"button-variant","description":"分页按钮风格,可选值为 `base`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":[{"name":"ButtonVariant","source":{"symbol":"ButtonVariant"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"base"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"hide-if-one-page","description":"总页数只有一页时是否隐藏","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/pagination.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"页码变化时触发","doc-url":"https://wot-ui.cn/component/pagination.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/pagination.html#events"}]}},{"name":"wd-password-input","source":{"symbol":"WdPasswordInput"},"description":"带网格的密码输入组件,适用于支付密码、短信验证码等场景,通常与 [Keyboard 键盘]","doc-url":"https://wot-ui.cn/component/password-input.html#passwordinput","props":[{"name":"v-model","description":"当前输入值","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"mask","description":"是否隐藏密码内容","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["boolean"],"default":"true"},{"name":"info","description":"输入框下方文字提示","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"error-info","description":"输入框下方错误提示","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"gutter","description":"输入框格子之间的间距,默认单位为 `px`","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["number | string"],"default":"0"},{"name":"length","description":"密码长度","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["number"],"default":"6"},{"name":"focused","description":"是否处于聚焦状态;聚焦时显示光标,通常与键盘显隐状态联动","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/password-input.html#attributes","type":["string"]}],"js":{"events":[{"name":"focus","description":"点击密码输入框时触发","doc-url":"https://wot-ui.cn/component/password-input.html#events"}]}},{"name":"wd-picker-view","source":{"symbol":"WdPickerView"},"description":"选择器视图,用于从一组数据中选择单个或多个值。","doc-url":"https://wot-ui.cn/component/picker-view.html#pickerview","props":[{"name":"v-model","description":"当前选中值;单列时通常为长度为 1 的数组,多列与级联时按列顺序保存各列选中值","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["(string | number)[]"],"default":"[]"},{"name":"columns","description":"选择器数据;可传入一维数组、对象数组、二维数组,级联模式下传入树形数据","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["Array<string | number | PickerOption> | Array<Array<string | number | PickerOption>>"],"default":"[]"},{"name":"item-height","description":"每个选项的高度","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"可见选项数量","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["number"],"default":"6"},{"name":"value-key","description":"选项对象中值字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中文本字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"label"},{"name":"immediate-change","description":"是否在手指松开时立即触发 `change` 事件;若不开启,则在滚动动画结束后触发","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"cascade","description":"是否开启级联模式;开启后 `columns` 应传入树形数据","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"children-key","description":"级联模式下子节点字段对应的键名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"],"default":"children"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/picker-view.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选中值变化时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"pickstart","description":"开始滚动选择时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"pickend","description":"结束滚动选择时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"},{"name":"update:modelValue","description":"`v-model` 更新时触发","doc-url":"https://wot-ui.cn/component/picker-view.html#events"}]}},{"name":"wd-picker","source":{"symbol":"WdPicker"},"description":"Picker 包含了一个弹出层(`wd-popup`)与一个选择器视图(`wd-picker-view`),不包含外层的触发元素(如 Input、Cell 等)。通常需要结合 `wd-cell` 或表单相关组件来触发显示。","doc-url":"https://wot-ui.cn/component/picker.html#picker","props":[{"name":"v-model","description":"选中项。单列选择器为长度为 1 的数组,多列则为对应多项值组成的数组","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["(string | number)[]"],"default":"[]"},{"name":"v-model:visible","description":"控制选择器弹出层的显示与隐藏","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"columns","description":"选项数据结构数组配置,对于多列使用二维数组,多级联动结合 cascade 嵌套 children","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["PickerOption[] | PickerOption[][]"],"default":"[]"},{"name":"cascade","description":"是否开启级联模式","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹出层大标题","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"cancel-button-text","description":"顶部操作栏左侧取消按钮文案","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"confirm-button-text","description":"顶部操作栏右侧确认按钮文案","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"value-key","description":"选项对象中负责标示值的键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中负责呈现文本的键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"label"},{"name":"children-key","description":"级联模式中对应的下一级子级键名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"],"default":"children"},{"name":"item-height","description":"内部滚筒每个选项的单个高度(px)","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"44"},{"name":"visible-item-count","description":"单屏视窗内最多可见的选项数量","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"6"},{"name":"before-confirm","description":"确定前校验函数,接收 `(value)` 参数,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["Function"]},{"name":"close-on-click-modal","description":"点击遮罩层时是否关闭弹窗","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹出层层级深度","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置默认的底部安全距离","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"true"},{"name":"immediate-change","description":"是否在手指松开时立即触发 `change` 而非滚动结束","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"root-portal","description":"是否开启 `root-portal` 将组件脱离当前节点进行渲染","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]},{"name":"custom-view-class","description":"pickerView 组件的外部自定义样式类","doc-url":"https://wot-ui.cn/component/picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"confirm","description":"点击完成按钮触发","doc-url":"https://wot-ui.cn/component/picker.html#events"},{"name":"cancel","description":"点击取消或蒙层关闭触发","doc-url":"https://wot-ui.cn/component/picker.html#events"},{"name":"open","description":"打开弹出层选择器时触发","doc-url":"https://wot-ui.cn/component/picker.html#events"}]}},{"name":"wd-popover","source":{"symbol":"WdPopover"},"description":"常用于展示提示信息或菜单操作。","doc-url":"https://wot-ui.cn/component/popover.html#popover","props":[{"name":"v-model","description":"是否显示气泡","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"content","description":"显示内容,`normal` 模式下为字符串,`menu` 模式下为 `PopoverMenuItem[]`,也可以通过 `content` 插槽传入","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string | PopoverMenuItem[]"]},{"name":"mode","description":"当前显示模式,可选值为 `normal`、`menu`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PopoverMode","source":{"symbol":"PopoverMode"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"menu"}]},{"name":"placement","description":"弹出位置,可选值为 `top`、`top-start`、`top-end`、`bottom`、`bottom-start`、`bottom-end`、`left`、`left-start`、`left-end`、`right`、`right-start`、`right-end`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PlacementType","source":{"symbol":"PlacementType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"}]},{"name":"offset","description":"偏移量,支持 number、number[] 或 `{ x: number, y: number }`","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":[{"name":"PopoverOffset","source":{"symbol":"PopoverOffset"}}],"default":"0"},{"name":"visible-arrow","description":"是否显示箭头","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"true"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"show-close","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-arrow","description":"箭头节点自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]},{"name":"custom-pop","description":"气泡内容容器自定义类名","doc-url":"https://wot-ui.cn/component/popover.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"触发器区域内容","doc-url":"https://wot-ui.cn/component/popover.html#slots"},{"name":"content","description":"自定义气泡内容","doc-url":"https://wot-ui.cn/component/popover.html#slots"}],"js":{"events":[{"name":"open","description":"气泡显示时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"close","description":"气泡隐藏时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"change","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"},{"name":"menuclick","description":"`menu` 模式下点击选项时触发","doc-url":"https://wot-ui.cn/component/popover.html#events"}]}},{"name":"wd-popup","source":{"symbol":"WdPopup"},"description":"弹出层组件,用于展示弹窗、信息提示等内容。","doc-url":"https://wot-ui.cn/component/popup.html#popup","props":[{"name":"v-model","description":"弹出层是否显示","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"transition","description":"动画类型,参见 `wd-transition` 组件的 `name`","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":[{"name":"TransitionName","source":{"symbol":"TransitionName"}}]},{"name":"closable","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"position","description":"弹出位置,可选值为 `center`、`top`、`right`、`bottom`、`left`","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"],"default":"center","attribute-value":{"type":"of-match"},"values":[{"name":"center"},{"name":"top"},{"name":"right"},{"name":"bottom"},{"name":"left"}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭弹出层","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"动画持续时间","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["number | boolean"],"default":"300"},{"name":"modal","description":"是否显示遮罩","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["number"],"default":"10"},{"name":"hide-when-close","description":"关闭时是否隐藏弹层节点","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"modal-style","description":"自定义遮罩样式","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]},{"name":"safe-area-inset-bottom","description":"底部弹层是否适配底部安全区","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"lazy-render","description":"弹层内容是否懒渲染","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"lock-scroll","description":"是否锁定背景滚动,锁定后蒙层内内容也将无法滚动","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面结构中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"round","description":"是否开启圆角,开启后根据弹出位置自动适配(底部弹出→上圆角,顶部弹出→下圆角,居中→四圆角)","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"自定义根节点类名","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]},{"name":"custom-style","description":"自定义弹层样式","doc-url":"https://wot-ui.cn/component/popup.html#attributes","type":["string"]}],"js":{"events":[{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"before-enter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"after-enter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"before-leave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/popup.html#events"},{"name":"after-leave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/popup.html#events"}]}},{"name":"wd-progress","source":{"symbol":"WdProgress"},"description":"用于展示操作的当前进度。","doc-url":"https://wot-ui.cn/component/progress.html#progress","props":[{"name":"percentage","description":"进度数值,最大值为 `100`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["number"],"default":"0"},{"name":"hide-text","description":"是否隐藏进度文字","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"进度条颜色,可选值为 `string`、`string[]`、`ProgressColor[]`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string | string[] | ProgressColor[]"],"attribute-value":{"type":"of-match"},"values":[{"name":"string"},{"name":"string[]"},{"name":"ProgressColor[]"}]},{"name":"status","description":"进度条状态,可选值为 `success`、`danger`、`warning`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"],"attribute-value":{"type":"of-match"},"values":[{"name":"success"},{"name":"danger"},{"name":"warning"}]},{"name":"duration","description":"进度增加 `1%` 所需毫秒数","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["number"],"default":"30"},{"name":"percent-position","description":"百分比显示位置配置,`type` 可选 `inner`、`outer`,`align` 可选 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":[{"name":"PercentPosition","source":{"symbol":"PercentPosition"}}],"default":"{ align: 'right', type: 'outer' }"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/progress.html#attributes","type":["string"]}]},{"name":"wd-radio-group","source":{"symbol":"WdRadioGroup"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup","props":[{"name":"v-model","description":"当前选中的值,会自动匹配对应 `wd-radio` 的 `value`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string | number | boolean"]},{"name":"type","description":"单选框类型,可选值为 `circle`、`dot`、`square`、`button`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"circle","attribute-value":{"type":"of-match"},"values":[{"name":"circle"},{"name":"dot"},{"name":"square"},{"name":"button"}]},{"name":"checked-color","description":"选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"unchecked-color","description":"未选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"disabled","description":"是否禁用整组单选框","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"placement","description":"图标位置,可选值为 `left`、`right`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"left","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"}]},{"name":"direction","description":"布局方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"],"default":"vertical","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"allow-uncheck","description":"是否允许取消当前已选中的值","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-ui.cn/component/radio.html#radiogroup-events"}]}},{"name":"wd-radio","source":{"symbol":"WdRadio"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radio","props":[{"name":"value","description":"单选项的值,会与 `wd-radio-group` 的 `v-model` 匹配","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string | number | boolean"]},{"name":"type","description":"单选框类型,可选值为 `circle`、`dot`、`square`、`button`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"circle"},{"name":"dot"},{"name":"square"},{"name":"button"}]},{"name":"checked-color","description":"选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group"},{"name":"unchecked-color","description":"未选中状态的图标颜色","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group"},{"name":"disabled","description":"是否禁用当前单选项","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["boolean"],"default":"继承自 wd-radio-group"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["boolean"],"default":"继承自 wd-radio-group"},{"name":"placement","description":"图标位置,可选值为 `left`、`right`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"right"}]},{"name":"direction","description":"布局方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"],"default":"继承自 wd-radio-group","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"custom-label-class","description":"自定义文本节点类名","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/radio.html#radio-attributes","type":["string"]}]},{"name":"wd-radio","source":{"symbol":"WdRadio"},"description":"单选框用于在一组备选项中进行单选。","doc-url":"https://wot-ui.cn/component/radio.html#radio"},{"name":"wd-rate","source":{"symbol":"WdRate"},"description":"用于快速评价,或展示评分结果。","doc-url":"https://wot-ui.cn/component/rate.html#rate","props":[{"name":"v-model","description":"当前分数","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["number | null"],"default":"null"},{"name":"num","description":"评分最大值","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["number"],"default":"5"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"size","description":"图标大小","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"space","description":"图标间距","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string | number"]},{"name":"color","description":"未选中图标颜色","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"active-color","description":"选中图标颜色,支持 `string` 或 `string[]`","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string | string[]"]},{"name":"icon","description":"未选中图标类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"],"default":"star-fill"},{"name":"active-icon","description":"选中图标类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"],"default":"star-fill"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"allow-half","description":"是否允许半选","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"clearable","description":"是否允许再次点击后清除","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"block","description":"是否块级显示","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/rate.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"点击图标修改分值时触发","doc-url":"https://wot-ui.cn/component/rate.html#events"}]}},{"name":"wd-resize","source":{"symbol":"WdResize"},"description":"当组件包裹的文档流尺寸发生变化时,触发 `resize` 事件。一般用于监听内容更新引起的尺寸和位置信息变化,再据此重新进行布局计算。","doc-url":"https://wot-ui.cn/component/resize.html#resize","props":[{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]},{"name":"custom-container-class","description":"自定义容器样式类","doc-url":"https://wot-ui.cn/component/resize.html#resize-attributes","type":["string"]}],"slots":[{"name":"default","description":"需要监听尺寸变化的内容","doc-url":"https://wot-ui.cn/component/resize.html#resize-slots"}],"js":{"events":[{"name":"resize","description":"尺寸发生变化时触发","doc-url":"https://wot-ui.cn/component/resize.html#resize-events"}]}},{"name":"wd-root-portal","source":{"symbol":"WdRootPortal"},"description":"是否从页面中脱离出来,用于解决各种 fixed 失效问题,主要用于制作弹窗、弹出层等。","doc-url":"https://wot-ui.cn/component/root-portal.html#root-portal"},{"name":"wd-search","source":{"symbol":"WdSearch"},"description":"搜索框组件,支持输入框聚焦、失焦、输入、搜索、取消、清空事件。","doc-url":"https://wot-ui.cn/component/search.html#search","props":[{"name":"v-model","description":"输入框内容,双向绑定","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-input-class","description":"自定义输入框类名","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"placeholder","description":"搜索框占位文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"搜索"},{"name":"cancel-txt","description":"搜索框右侧文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"取消"},{"name":"variant","description":"搜索框变体,可选值为 `plain`、`filled`、`light`","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"],"default":"plain","attribute-value":{"type":"of-match"},"values":[{"name":"plain"},{"name":"filled"},{"name":"light"}]},{"name":"hide-cancel","description":"是否隐藏右侧文本","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"是否禁用搜索框","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"maxlength","description":"原生属性,设置最大长度,`-1` 表示无限制","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["number | string"],"default":"-1"},{"name":"placeholder-left","description":"placeholder 是否左对齐","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"focus","description":"是否自动聚焦","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"focus-when-clear","description":"是否在点击清空按钮后聚焦输入框","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["boolean"],"default":"false"},{"name":"placeholder-style","description":"原生属性,指定 placeholder 的样式,目前仅支持 `color`、`font-size` 和 `font-weight`","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"placeholder-class","description":"原生属性,指定 placeholder 的样式类","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/search.html#attributes","type":["string"]}],"js":{"events":[{"name":"focus","description":"输入框聚焦事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"blur","description":"输入框失焦事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"search","description":"输入框搜索事件","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"cancel","description":"点击右侧文本时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"change","description":"输入框内容变化时触发","doc-url":"https://wot-ui.cn/component/search.html#events"},{"name":"click","description":"禁用状态下点击组件时触发","doc-url":"https://wot-ui.cn/component/search.html#events"}]}},{"name":"wd-segmented","source":{"symbol":"WdSegmented"},"description":"分段器用于展示多个选项并允许用户选择其中单个选项。","doc-url":"https://wot-ui.cn/component/segmented.html#segmented","props":[{"name":"v-model:value","description":"当前选中的值","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string | number"]},{"name":"disabled","description":"是否禁用分段器","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["boolean"],"default":"false"},{"name":"options","description":"数据集合","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string[] | number[] | SegmentedOption[]"],"default":"[]"},{"name":"theme","description":"分段器主题,可选值为 `card`、`outline`","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"],"default":"card","attribute-value":{"type":"of-match"},"values":[{"name":"card"},{"name":"outline"}]},{"name":"vibrate-short","description":"切换选项时是否触发短振动","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/segmented.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选项切换时触发","doc-url":"https://wot-ui.cn/component/segmented.html#events"},{"name":"click","description":"选项点击时触发","doc-url":"https://wot-ui.cn/component/segmented.html#events"}]}},{"name":"wd-select-picker","source":{"symbol":"WdSelectPicker"},"description":"用于从一组选项中进行单选或多选,通常配合外部单元格或按钮控制弹层显示。","doc-url":"https://wot-ui.cn/component/select-picker.html#selectpicker","props":[{"name":"v-model","description":"选中项,`checkbox` 时为数组,`radio` 时为 `string`、`number` 或 `boolean`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string | number | boolean | (string | number | boolean)[]"]},{"name":"v-model:visible","description":"控制弹层显示状态","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"title","description":"弹出层标题","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"选择器"},{"name":"checked-color","description":"单选框或复选框选中颜色","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"min","description":"最小选中数量,仅 `checkbox` 生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"0"},{"name":"max","description":"最大选中数量,`0` 表示不限制,仅 `checkbox` 生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"0"},{"name":"select-size","description":"选择器内部选项尺寸","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"loading","description":"是否显示加载状态","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"loading-color","description":"加载图标颜色","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"#4D80F0"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"columns","description":"选择器数据,一维数组","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["Record<string, any>[]"],"default":"[]"},{"name":"type","description":"选择器类型,可选值为 `checkbox`、`radio`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"checkbox","attribute-value":{"type":"of-match"},"values":[{"name":"checkbox"},{"name":"radio"}]},{"name":"value-key","description":"选项对象中值字段的 key","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中展示文本字段的 key","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"label"},{"name":"confirm-button-text","description":"确认按钮文案","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"确认"},{"name":"before-confirm","description":"确认前校验函数,接收当前选中值,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["function"]},{"name":"z-index","description":"弹层层级","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"是否适配底部安全区","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"filterable","description":"是否支持本地搜索","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"filter-placeholder","description":"搜索框占位符","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"],"default":"搜索"},{"name":"scroll-into-view","description":"重新打开时是否滚动到选中项","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"custom-content-class","description":"自定义弹层内容区域类名","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"show-confirm","description":"是否显示确认按钮,仅 `radio` 模式生效","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"root-portal","description":"是否从页面结构中脱离出来,用于解决 fixed 失效问题","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/select-picker.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"选择器内部选项变化时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"cancel","description":"点击关闭按钮或遮罩关闭时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"confirm","description":"点击确认时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"open","description":"弹层打开时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"},{"name":"close","description":"弹层关闭时触发","doc-url":"https://wot-ui.cn/component/select-picker.html#events"}]}},{"name":"wd-sidebar","source":{"symbol":"WdSidebar"},"description":"垂直展示的导航栏,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar","props":[{"name":"v-model","description":"当前激活项的值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string | number"],"default":"0"},{"name":"before-change","description":"切换前钩子,接收目标值,返回 `boolean` 或 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["function"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"激活项切换时触发","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebar-events"}]}},{"name":"wd-sidebar-item","source":{"symbol":"WdSidebarItem"},"description":"垂直展示的导航栏,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem","props":[{"name":"label","description":"当前选项标题","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"value","description":"当前选项值,唯一标识","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string | number"]},{"name":"badge","description":"徽标显示值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string | number"]},{"name":"badge-props","description":"自定义徽标属性,会透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["Partial<BadgeProps>"]},{"name":"icon","description":"图标名称","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"is-dot","description":"是否显示点状徽标","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["boolean"],"default":"false"},{"name":"max","description":"徽标最大值","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["number"],"default":"99"},{"name":"disabled","description":"是否禁用当前选项","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sidebar.html#sidebaritem-attributes","type":["string"]}]},{"name":"wd-signature","source":{"symbol":"WdSignature"},"description":"用于签名场景,基于 Canvas 实现的签名组件,支持导出图片、历史记录、笔锋效果、自定义底部操作等能力。","doc-url":"https://wot-ui.cn/component/signature.html#signature","props":[{"name":"pen-color","description":"签名笔颜色","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"#000"},{"name":"line-width","description":"签名笔宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"3"},{"name":"confirm-text","description":"确认按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"clear-text","description":"清空按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"revoke-text","description":"撤回按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"restore-text","description":"恢复按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"file-type","description":"导出图片类型,可选值为 `png`、`jpg`","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["png' | 'jpg"],"default":"png","attribute-value":{"type":"of-match"},"values":[{"name":"png"},{"name":"jpg"}]},{"name":"quality","description":"导出图片质量,取值范围为 `0` 到 `1`","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"export-scale","description":"导出图片缩放比例","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"disabled","description":"是否禁用签名板","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"height","description":"画布高度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string | number"]},{"name":"width","description":"画布宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string | number"]},{"name":"background-color","description":"画板背景色","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]},{"name":"disable-scroll","description":"是否禁用画布滚动","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"true"},{"name":"enable-history","description":"是否开启历史记录","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"step","description":"撤回和恢复的步长","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1"},{"name":"undo-text","description":"撤销按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"redo-text","description":"恢复按钮文本","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"],"default":"内置文案"},{"name":"pressure","description":"是否开启压感模式","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["boolean"],"default":"false"},{"name":"max-width","description":"压感模式下的最大笔触宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"6"},{"name":"min-width","description":"压感模式下的最小笔触宽度","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"2"},{"name":"min-speed","description":"压感模式下的最小速度阈值","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["number"],"default":"1.5"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/signature.html#attributes","type":["string"]}],"js":{"events":[{"name":"start","description":"开始签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"end","description":"结束签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"signing","description":"签名过程中持续触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"confirm","description":"确认签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"},{"name":"clear","description":"清空签名时触发","doc-url":"https://wot-ui.cn/component/signature.html#events"}]}},{"name":"wd-skeleton","source":{"symbol":"WdSkeleton"},"description":"","doc-url":"https://wot-ui.cn/component/skeleton.html#skeleton","props":[{"name":"theme","description":"骨架屏主题,可选值为 `text`、`avatar`、`paragraph`、`image`","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonTheme","source":{"symbol":"SkeletonTheme"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"avatar"},{"name":"paragraph"},{"name":"image"}]},{"name":"row-col","description":"自定义每行占位配置,用于设置行列数量、宽高、间距、圆角和占位类型等","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonRowCol[]","source":{"symbol":"SkeletonRowCol"}}],"default":"[]"},{"name":"loading","description":"是否显示骨架屏","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":["boolean"],"default":"true"},{"name":"animation","description":"动画类型,可选值为 `gradient`、`flashed`","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"SkeletonAnimation","source":{"symbol":"SkeletonAnimation"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"gradient"},{"name":"flashed"}]},{"name":"custom-class","description":"自定义样式类名","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":["string | string[] | Record<string, boolean>"]},{"name":"custom-style","description":"自定义内联样式","doc-url":"https://wot-ui.cn/component/skeleton.html#attributes","type":[{"name":"CSSProperties","source":{"symbol":"CSSProperties","module":"vue"}}],"default":"{}"}]},{"name":"wd-slide-verify","source":{"symbol":"WdSlideVerify"},"description":"滑动验证组件,用于人机验证场景。","doc-url":"https://wot-ui.cn/component/slide-verify.html#slideverify","props":[{"name":"tolerance","description":"容错范围,单位为 `px`","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["number"],"default":"10"},{"name":"text","description":"提示文字,为空时显示内置文案","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"success-text","description":"验证成功提示文字,为空时显示内置文案","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["boolean"],"default":"false"},{"name":"background-color","description":"背景颜色","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"active-background-color","description":"激活时的背景颜色","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"]},{"name":"icon","description":"滑块图标名称","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"],"default":"double-right"},{"name":"success-icon","description":"成功图标名称","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string"],"default":"check-circle-fill"},{"name":"icon-size","description":"图标大小","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string","number"]},{"name":"success-icon-size","description":"成功图标大小","doc-url":"https://wot-ui.cn/component/slide-verify.html#attributes","type":["string","number"]}],"js":{"events":[{"name":"success","description":"验证成功时触发","doc-url":"https://wot-ui.cn/component/slide-verify.html#events"},{"name":"fail","description":"验证失败时触发","doc-url":"https://wot-ui.cn/component/slide-verify.html#events"}]}},{"name":"wd-slider","source":{"symbol":"WdSlider"},"description":"支持单向滑块和双向滑块,可用于在范围内选择一个值或一段区间。","doc-url":"https://wot-ui.cn/component/slider.html#slider","props":[{"name":"v-model","description":"当前滑块值,单滑块为 `number`,双滑块为 `number[]`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderValue","source":{"symbol":"SliderValue"}}],"default":"0"},{"name":"min","description":"最小值","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"0"},{"name":"max","description":"最大值","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"100"},{"name":"step","description":"步长","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["number"],"default":"1"},{"name":"range","description":"是否为双向滑块模式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"vertical","description":"是否垂直展示","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"theme","description":"滑块风格,可选值为 `default`、`capsule`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderTheme","source":{"symbol":"SliderTheme"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"capsule"}]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"show-extreme-value","description":"是否显示最小值和最大值文本","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["boolean"],"default":"false"},{"name":"popover-visible","description":"气泡显示模式,可选值为 `always`、`normal`、`never`","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderPopoverVisible","source":{"symbol":"SliderPopoverVisible"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"always"},{"name":"normal"},{"name":"never"}]},{"name":"marks","description":"刻度标记,支持数组或对象形式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":[{"name":"SliderMarks","source":{"symbol":"SliderMarks"}}]},{"name":"active-color","description":"进度条激活态颜色","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"inactive-color","description":"进度条未激活态颜色","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点样式类","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点样式","doc-url":"https://wot-ui.cn/component/slider.html#attributes","type":["string"]}],"js":{"events":[{"name":"dragstart","description":"开始拖动时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"dragmove","description":"拖动过程中触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"dragend","description":"拖动结束时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"},{"name":"change","description":"值变化时触发","doc-url":"https://wot-ui.cn/component/slider.html#events"}]}},{"name":"wd-sort-button","source":{"symbol":"WdSortButton"},"description":"用于展示排序按钮,支持升序、降序、重置三种状态。","doc-url":"https://wot-ui.cn/component/sort-button.html#sortbutton","props":[{"name":"v-model","description":"当前排序方向值,`1` 表示升序,`0` 表示重置状态,`-1` 表示降序","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":[{"name":"SortButtonValue","source":{"symbol":"SortButtonValue"}}],"default":"0"},{"name":"title","description":"排序按钮文案","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]},{"name":"allow-reset","description":"是否允许重置为未选中状态","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"desc-first","description":"是否优先切换为降序","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"line","description":"是否显示下划线","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sort-button.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"排序方向变化时触发","doc-url":"https://wot-ui.cn/component/sort-button.html#events"}]}},{"name":"wd-steps","source":{"symbol":"WdSteps"},"description":"用于引导用户按照流程完成任务,或向用户展示当前所处的步骤状态。","doc-url":"https://wot-ui.cn/component/steps.html#steps","props":[{"name":"active","description":"当前激活步骤下标","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["number"],"default":"0"},{"name":"vertical","description":"是否垂直方向展示","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"dot","description":"是否使用点状步骤条","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"space","description":"步骤条间距,默认自动计算","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]},{"name":"align-center","description":"是否水平居中,只对横向步骤条有效","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/steps.html#steps-attributes","type":["string"]}]},{"name":"wd-step","source":{"symbol":"WdStep"},"description":"用于引导用户按照流程完成任务,或向用户展示当前所处的步骤状态。","doc-url":"https://wot-ui.cn/component/steps.html#step","props":[{"name":"title","description":"步骤标题,不传时显示默认文案","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"description","description":"步骤描述","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"icon","description":"步骤图标","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"status","description":"步骤状态,可选值为 `finished`、`process`、`error`、`wait`","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":[{"name":"StepStatus","source":{"symbol":"StepStatus"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"finished"},{"name":"process"},{"name":"error"},{"name":"wait"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/steps.html#step-attributes","type":["string"]}]},{"name":"wd-sticky","source":{"symbol":"WdSticky"},"description":"粘性布局组件,用于在页面滚动时将元素固定在指定位置。","doc-url":"https://wot-ui.cn/component/sticky.html#sticky","props":[{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["number"],"default":"1"},{"name":"offset-top","description":"吸顶距离","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["number"],"default":"0"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-attributes","type":["string"]}]},{"name":"wd-sticky-box","source":{"symbol":"WdStickyBox"},"description":"粘性布局组件,用于在页面滚动时将元素固定在指定位置。","doc-url":"https://wot-ui.cn/component/sticky.html#sticky-box"},{"name":"wd-swipe-action","source":{"symbol":"WdSwipeAction"},"description":"常用于单元格左右滑删除等手势操作。","doc-url":"https://wot-ui.cn/component/swipe-action.html#swipeaction","props":[{"name":"v-model","description":"当前滑动状态,可选值为 `left`、`close`、`right`","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":[{"name":"SwipeActionStatus","source":{"symbol":"SwipeActionStatus"}}],"default":"close","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"close"},{"name":"right"}]},{"name":"disabled","description":"是否禁用滑动操作","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["boolean"],"default":"false"},{"name":"before-close","description":"关闭前拦截函数,接收 `(reason, position)`,返回 `true` 或 `Promise<boolean>` 时继续关闭,返回 `false` 时阻止关闭","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":[{"name":"SwipeActionBeforeClose","source":{"symbol":"SwipeActionBeforeClose"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/swipe-action.html#attributes","type":["string"]}],"slots":[{"name":"left","description":"自定义左侧操作区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"},{"name":"default","description":"自定义内容区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"},{"name":"right","description":"自定义右侧操作区","doc-url":"https://wot-ui.cn/component/swipe-action.html#slots"}],"js":{"events":[{"name":"click","description":"已展开状态下点击内容区或操作区并关闭时触发","doc-url":"https://wot-ui.cn/component/swipe-action.html#events"},{"name":"update:modelValue","description":"滑动状态变化时触发","doc-url":"https://wot-ui.cn/component/swipe-action.html#events"}]}},{"name":"wd-swiper-indicator","source":{"symbol":"WdSwiperIndicator"},"description":"用于创建轮播,支持水平和垂直方向滑动、自定义指示器、图片和视频资源展示,以及基于对象数据渲染标题。","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator","props":[{"name":"current","description":"当前轮播项索引","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"0"},{"name":"direction","description":"轮播方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"DirectionType","source":{"symbol":"DirectionType"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"min-show-num","description":"小于该数量时不显示导航器","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"2"},{"name":"indicator-position","description":"指示器位置,可选值为 `left`、`top-left`、`top`、`top-right`、`bottom-left`、`bottom`、`bottom-right`、`right`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"IndicatorPositionType","source":{"symbol":"IndicatorPositionType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"top-left"},{"name":"top"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom"},{"name":"bottom-right"},{"name":"right"}]},{"name":"show-controls","description":"是否显示两侧控制按钮","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["boolean"],"default":"false"},{"name":"total","description":"轮播项总数","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":["number"],"default":"0"},{"name":"type","description":"指示器类型,可选值为 `dots`、`dots-bar`、`fraction`","doc-url":"https://wot-ui.cn/component/swiper.html#swiperindicator-attributes","type":[{"name":"SwiperIndicatorType","source":{"symbol":"SwiperIndicatorType"}}],"default":"dots","attribute-value":{"type":"of-match"},"values":[{"name":"dots"},{"name":"dots-bar"},{"name":"fraction"}]}]},{"name":"wd-swiper","source":{"symbol":"WdSwiper"},"description":"用于创建轮播,支持水平和垂直方向滑动、自定义指示器、图片和视频资源展示,以及基于对象数据渲染标题。","doc-url":"https://wot-ui.cn/component/swiper.html#swiper","props":[{"name":"autoplay","description":"是否自动播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"v-model:current","description":"当前轮播项索引","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"0"},{"name":"direction","description":"轮播方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"DirectionType","source":{"symbol":"DirectionType"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"display-multiple-items","description":"同时显示的滑块数量","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"1"},{"name":"duration","description":"滑动动画时长,单位为 `ms`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"300"},{"name":"easing-function","description":"切换缓动动画类型,可选值为 `default`、`linear`、`easeInCubic`、`easeOutCubic`、`easeInOutCubic`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"EasingType","source":{"symbol":"EasingType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"linear"},{"name":"easeInCubic"},{"name":"easeOutCubic"},{"name":"easeInOutCubic"}]},{"name":"height","description":"轮播高度","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"192"},{"name":"interval","description":"自动轮播间隔时间,单位为 `ms`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["number"],"default":"5000"},{"name":"list","description":"轮播数据列表,支持字符串数组或对象数组","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string[] | SwiperItem[]<",{"name":"code>","source":{"symbol":"code>"}}],"default":"[]"},{"name":"loop","description":"是否循环播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"video-loop","description":"视频是否循环播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"muted","description":"视频是否静音播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"next-margin","description":"后边距","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"0"},{"name":"indicator-position","description":"指示器位置,可选值为 `left`、`top-left`、`top`、`top-right`、`bottom-left`、`bottom`、`bottom-right`、`right`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"IndicatorPositionType","source":{"symbol":"IndicatorPositionType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"top-left"},{"name":"top"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom"},{"name":"bottom-right"},{"name":"right"}]},{"name":"previous-margin","description":"前边距","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"0"},{"name":"radius","description":"轮播圆角","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"snap-to-edge","description":"是否将边距应用到首尾元素","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"indicator","description":"指示器配置,传入 `false` 时隐藏指示器","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["<code>boolean | Partial<SwiperIndicatorProps><",{"name":"code>","source":{"symbol":"code>"}}],"default":"true"},{"name":"image-mode","description":"图片裁剪模式,取值参考 uni-app Image 组件 `mode`","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"aspectFill"},{"name":"show-menu-by-longpress","description":"是否开启长按图片显示识别小程序码菜单","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"value-key","description":"选项对象中图片地址字段名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"],"default":"value"},{"name":"text-key","description":"选项对象中标题字段名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"],"default":"text"},{"name":"autoplay-video","description":"视频是否自动播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"stop-previous-video","description":"切换轮播项时是否停止上一个视频播放","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"true"},{"name":"stop-autoplay-when-video-play","description":"视频播放时是否停止自动轮播","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"adjust-height","description":"自动根据滑块高度调整容器高度,可选值为 `first`、`current`、`highest`、`none`,仅支付宝小程序支持","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":[{"name":"AdjustHeightType","source":{"symbol":"AdjustHeightType"}}],"default":"highest","attribute-value":{"type":"of-match"},"values":[{"name":"first"},{"name":"current"},{"name":"highest"},{"name":"none"}]},{"name":"adjust-vertical-height","description":"`vertical` 为 `true` 时强制让 `adjust-height` 生效,仅支付宝小程序支持","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-indicator-class","description":"自定义指示器类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-image-class","description":"自定义图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-prev-image-class","description":"自定义前一个图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-next-image-class","description":"自定义后一个图片类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-item-class","description":"自定义轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-prev-class","description":"自定义前一个轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-next-class","description":"自定义后一个轮播项类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-text-class","description":"自定义标题类名","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-text-style","description":"自定义标题样式","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/swiper.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义轮播项内容,参数为 <code>{ item, index }</code>","doc-url":"https://wot-ui.cn/component/swiper.html#slots"},{"name":"indicator","description":"自定义指示器内容,参数为 <code>{ current, total }</code>","doc-url":"https://wot-ui.cn/component/swiper.html#slots"}],"js":{"events":[{"name":"click","description":"点击轮播项时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"change","description":"轮播切换时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"animationfinish","description":"轮播动画结束时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"},{"name":"update:current","description":"当前轮播项更新时触发","doc-url":"https://wot-ui.cn/component/swiper.html#events"}]}},{"name":"wd-switch","source":{"symbol":"WdSwitch"},"description":"用来打开或关闭选项。","doc-url":"https://wot-ui.cn/component/switch.html#switch","props":[{"name":"v-model","description":"绑定值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"false"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean"],"default":"false"},{"name":"inactive-action-icon","description":"非激活状态操作按钮图标","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-action-icon","description":"激活状态操作按钮图标","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-icon","description":"激活状态图标,设置后会忽略 `active-text`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-icon","description":"非激活状态图标,设置后会忽略 `inactive-text`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-text","description":"激活状态文本","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-text","description":"非激活状态文本","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"active-value","description":"激活值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"true"},{"name":"inactive-value","description":"非激活值","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean | string | number"],"default":"false"},{"name":"active-color","description":"激活颜色","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"inactive-color","description":"非激活颜色","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"size","description":"开关大小","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string | number"]},{"name":"shape","description":"形状,可选值为 `round`、`square`","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":[{"name":"SwitchShape","source":{"symbol":"SwitchShape"}}],"default":"round","attribute-value":{"type":"of-match"},"values":[{"name":"round"},{"name":"square"}]},{"name":"loading","description":"是否显示加载中","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["boolean"],"default":"false"},{"name":"loading-props","description":"加载配置项","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["Partial<LoadingProps>"]},{"name":"before-change","description":"修改前钩子","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":[{"name":"SwitchBeforeChange","source":{"symbol":"SwitchBeforeChange"}}]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"],"default":"wd-icon"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/switch.html#attributes","type":["string"]}],"js":{"events":[{"name":"change","description":"值修改事件","doc-url":"https://wot-ui.cn/component/switch.html#events"}]}},{"name":"wd-tabbar","source":{"symbol":"WdTabbar"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar","props":[{"name":"v-model","description":"选中标签的索引值或者名称","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["number | string"],"default":"0"},{"name":"fixed","description":"是否固定在底部","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"bordered","description":"是否显示顶部边框","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"safe-area-inset-bottom","description":"是否设置底部安全区","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"shape","description":"标签栏形状,可选值为 `default`、`round`","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":[{"name":"TabbarShape","source":{"symbol":"TabbarShape"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"round"}]},{"name":"active-color","description":"激活标签颜色","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"inactive-color","description":"未激活标签颜色","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"placeholder","description":"固定在底部时,是否生成等高占位元素","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["boolean"],"default":"false"},{"name":"z-index","description":"组件层级","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["number"],"default":"10"},{"name":"before-change","description":"切换前的回调函数,返回 `false` 可阻止切换,支持返回 `Promise<boolean>`","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":[{"name":"TabbarBeforeChange","source":{"symbol":"TabbarBeforeChange"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar-attributes","type":["string"]}]},{"name":"wd-tabbar-item","source":{"symbol":"WdTabbarItem"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem","props":[{"name":"title","description":"标签页标题","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"name","description":"唯一标识符,不传时默认使用索引值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string | number"]},{"name":"icon","description":"图标名称","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"value","description":"徽标显示值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["number | string"]},{"name":"is-dot","description":"是否显示点状徽标","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["boolean"],"default":"false"},{"name":"max","description":"徽标最大值","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["number"],"default":"99"},{"name":"badge-props","description":"自定义徽标属性,会透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":[{"name":"BadgeProps","source":{"symbol":"BadgeProps"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbaritem-attributes","type":["string"]}]},{"name":"wd-tabbar","source":{"symbol":"WdTabbar"},"description":"底部导航栏,用于在不同页面之间进行切换。","doc-url":"https://wot-ui.cn/component/tabbar.html#tabbar","js":{"events":[{"name":"change","description":"标签切换时触发","doc-url":"https://wot-ui.cn/component/tabbar.html#events"}]}},{"name":"wd-table","source":{"symbol":"WdTable"},"description":"用于展示多条结构类似的数据,支持固定列、排序、合并单元格与虚拟滚动等能力。","doc-url":"https://wot-ui.cn/component/table.html#table","props":[{"name":"data","description":"表格数据源(必填)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>Record<string, any>[]<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"border","description":"是否显示边框","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"stripe","description":"是否显示斑马纹","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"height","description":"表格最大高度,设置后可纵向滚动;开启虚拟滚动时必须传入数值类型","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"show-header","description":"是否显示表头","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"ellipsis","description":"单元格文本是否超出两行后省略","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"false"},{"name":"index","description":"是否显示索引列,传入对象时可自定义索引列配置(`prop` 除外)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["<code>boolean | Omit<Partial<TableColumnProps>, 'prop'><",{"name":"code>","source":{"symbol":"code>"}}],"default":"false"},{"name":"fixed-header","description":"是否固定表头(使用 CSS sticky 定位)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"true"},{"name":"span-method","description":"合并单元格方法,回调参数为 `SpanMethodParams`,返回 `{ rowspan, colspan }` 或 `void`(等同 `{ rowspan: 1, colspan: 1 }`)","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":[{"name":"SpanMethod","source":{"symbol":"SpanMethod"}}]},{"name":"virtual","description":"是否开启虚拟滚动,大数据量时只渲染可视区域行","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["boolean"],"default":"false"},{"name":"row-height","description":"虚拟滚动固定行高,开启 `virtual` 时必须传入","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["number"],"default":"44"},{"name":"buffer","description":"虚拟滚动可视区域上下各额外预渲染行数","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["number"],"default":"5"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/table.html#table-attributes","type":["string"]}],"slots":[{"name":"default","description":"表格列内容,通常放置一个或多个 `wd-table-column`","doc-url":"https://wot-ui.cn/component/table.html#table-slots"}],"js":{"events":[{"name":"sort-method","description":"点击可排序列表头后触发","doc-url":"https://wot-ui.cn/component/table.html#table-events"},{"name":"row-click","description":"点击表格行时触发","doc-url":"https://wot-ui.cn/component/table.html#table-events"}]}},{"name":"wd-table-column","source":{"symbol":"WdTableColumn"},"description":"用于展示多条结构类似的数据,支持固定列、排序、合并单元格与虚拟滚动等能力。","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn","props":[{"name":"prop","description":"列对应的数据字段名(必填)","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["string"]},{"name":"label","description":"列标题(必填)","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["string"]},{"name":"width","description":"列宽度","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"100"},{"name":"sortable","description":"是否开启排序","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"是否固定当前列,仅支持固定在左侧","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":["boolean"],"default":"false"},{"name":"align","description":"内容对齐方式,可选值为 `left`、`center`、`right`","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-attributes","type":[{"name":"AlignType","source":{"symbol":"AlignType"}}],"default":"left","attribute-value":{"type":"of-match"},"values":[{"name":"left"},{"name":"center"},{"name":"right"}]}],"slots":[{"name":"value","description":"自定义单元格内容,插槽参数为 `{ row: Record<string, any>, index: number }`","doc-url":"https://wot-ui.cn/component/table.html#tablecolumn-slots"}]},{"name":"wd-tabs","source":{"symbol":"WdTabs"},"description":"标签页组件,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/tabs.html#tabs","props":[{"name":"v-model","description":"当前激活项,可为索引或名称","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"slidable-num","description":"自动开启滚动的标签数量阈值","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"6"},{"name":"map-num","description":"显示导航地图的标签数量阈值","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"10"},{"name":"map-title","description":"导航地图标题","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"sticky","description":"是否开启粘性布局","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"offset-top","description":"吸顶偏移量","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"0"},{"name":"swipeable","description":"是否开启手势滑动","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"line-theme","description":"底部条样式,可选值为 `normal`、`text`、`underline`、`dot`","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":[{"name":"TabsLineTheme","source":{"symbol":"TabsLineTheme"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"text"},{"name":"underline"},{"name":"dot"}]},{"name":"line-width","description":"底部条宽度","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"line-height","description":"底部条高度","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"string"},{"name":"color","description":"激活项文字颜色","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"inactive-color","description":"非激活项文字颜色","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"animated","description":"是否开启切换动画","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画时长,单位毫秒","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["number"],"default":"300"},{"name":"slidable","description":"是否开启滚动导航,可选值为 `auto`、`always`","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":[{"name":"TabsSlidable","source":{"symbol":"TabsSlidable"}}],"default":"auto","attribute-value":{"type":"of-match"},"values":[{"name":"auto"},{"name":"always"}]},{"name":"show-scrollbar","description":"滚动时是否显示滚动条","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["boolean"],"default":"false"},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-attributes","type":["string"]}],"slots":[{"name":"default","description":"Tab 内容","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-slots"}],"js":{"events":[{"name":"change","description":"激活项变化时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"click","description":"点击页签标题时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"disabled","description":"点击禁用页签时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"},{"name":"update:modelValue","description":"激活项变化时触发","doc-url":"https://wot-ui.cn/component/tabs.html#tabs-events"}]}},{"name":"wd-tab","source":{"symbol":"WdTab"},"description":"标签页组件,用于在不同内容区域之间进行切换。","doc-url":"https://wot-ui.cn/component/tabs.html#tab","props":[{"name":"name","description":"标签唯一标识,默认取索引","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["number"],"default":"string"},{"name":"title","description":"标签标题","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["boolean"],"default":"false"},{"name":"lazy","description":"是否懒加载内容","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["boolean"],"default":"true"},{"name":"badge-props","description":"徽标属性,透传给 Badge 组件","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["Partial<BadgeProps>"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tabs.html#tab-attributes","type":["string"]}],"slots":[{"name":"default","description":"页签内容","doc-url":"https://wot-ui.cn/component/tabs.html#tab-slots"}]},{"name":"wd-tag","source":{"symbol":"WdTag"},"description":"用于标记状态或者概括主要内容。","doc-url":"https://wot-ui.cn/component/tag.html#tag","props":[{"name":"size","description":"标签尺寸,可选值为 `small`、`medium`、`large`、`extra-large`、`default`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagSize","source":{"symbol":"TagSize"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"small"},{"name":"medium"},{"name":"large"},{"name":"extra-large"},{"name":"default"}]},{"name":"type","description":"标签类型,可选值为 `default`、`primary`、`success`、`warning`、`danger`、`volcano`、`lightblue`、`cyan`、`pink`、`purple`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagType","source":{"symbol":"TagType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"danger"},{"name":"volcano"},{"name":"lightblue"},{"name":"cyan"},{"name":"pink"},{"name":"purple"}]},{"name":"icon","description":"左侧图标","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"closable","description":"是否可关闭","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"dynamic","description":"是否为新增标签","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文字颜色","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"bg-color","description":"背景色和边框色","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"round","description":"是否圆角","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"mark","description":"是否标记样式","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["boolean"],"default":"false"},{"name":"variant","description":"标签变体,可选值为 `light`、`dark`、`plain`、`dashed`、`text`","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":[{"name":"TagVariant","source":{"symbol":"TagVariant"}}],"default":"dark","attribute-value":{"type":"of-match"},"values":[{"name":"light"},{"name":"dark"},{"name":"plain"},{"name":"dashed"},{"name":"text"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tag.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"标签内容","doc-url":"https://wot-ui.cn/component/tag.html#slots"},{"name":"icon","description":"自定义图标","doc-url":"https://wot-ui.cn/component/tag.html#slots"},{"name":"add","description":"自定义新增标签内容,`dynamic` 为 `true` 时生效","doc-url":"https://wot-ui.cn/component/tag.html#slots"}],"js":{"events":[{"name":"click","description":"点击标签时触发","doc-url":"https://wot-ui.cn/component/tag.html#events"},{"name":"close","description":"点击关闭按钮时触发","doc-url":"https://wot-ui.cn/component/tag.html#events"},{"name":"confirm","description":"新增标签输入确认后触发","doc-url":"https://wot-ui.cn/component/tag.html#events"}]}},{"name":"wd-text","source":{"symbol":"WdText"},"description":"文本组件,用于展示文本信息。","doc-url":"https://wot-ui.cn/component/text.html#text","props":[{"name":"type","description":"主题类型,可选值为 `default`、`primary`、`success`、`warning`、`error`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextType","source":{"symbol":"TextType"}}],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"default"},{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"error"}]},{"name":"text","description":"文本内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"],"default":"number"},{"name":"size","description":"字体大小","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"mode","description":"文本处理模式,可选值为 `text`、`date`、`phone`、`name`、`price`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextMode","source":{"symbol":"TextMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"text"},{"name":"date"},{"name":"phone"},{"name":"name"},{"name":"price"}]},{"name":"decoration","description":"文本装饰,可选值为 `none`、`underline`、`line-through`、`overline`","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":[{"name":"TextDecoration","source":{"symbol":"TextDecoration"}}],"default":"none","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"underline"},{"name":"line-through"},{"name":"overline"}]},{"name":"call","description":"`mode=\"phone\"` 时点击文本是否拨号","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"bold","description":"是否粗体","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"format","description":"是否脱敏,仅在 `mode` 为 `phone` 和 `name` 时生效","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["boolean"],"default":"false"},{"name":"color","description":"文本颜色","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"lines","description":"展示行数,超出后显示省略号","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["number"]},{"name":"line-height","description":"文本行高","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/text.html#attributes","type":["string"]}],"slots":[{"name":"prefix","description":"前缀内容","doc-url":"https://wot-ui.cn/component/text.html#slots"},{"name":"suffix","description":"后缀内容","doc-url":"https://wot-ui.cn/component/text.html#slots"}],"js":{"events":[{"name":"click","description":"点击文本时触发","doc-url":"https://wot-ui.cn/component/text.html#events"}]}},{"name":"wd-textarea","source":{"symbol":"WdTextarea"},"description":"用于输入多行文本信息,支持清空、字数统计、高度自适应与紧凑布局。","doc-url":"https://wot-ui.cn/component/textarea.html#textarea","props":[{"name":"v-model","description":"文本域绑定值","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string | number"]},{"name":"placeholder","description":"占位文本","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"],"default":"请输入..."},{"name":"placeholder-style","description":"placeholder 样式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"placeholder-class","description":"placeholder 样式类","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"是否只读","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"maxlength","description":"最大输入长度,设置为 `-1` 时不限制长度","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"clearable","description":"是否显示清空按钮","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"show-word-limit","description":"是否显示字数统计,需要同时设置 `maxlength`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"clear-trigger","description":"清空按钮显示时机,可选值为 `focus`、`always`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"InputClearTrigger","source":{"symbol":"InputClearTrigger"}}],"default":"always","attribute-value":{"type":"of-match"},"values":[{"name":"focus"},{"name":"always"}]},{"name":"focus-when-clear","description":"点击清空按钮后是否自动聚焦","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"error","description":"是否展示错误状态","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"focus","description":"是否获取焦点","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"auto-focus","description":"是否自动聚焦并拉起键盘","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"auto-height","description":"是否自动增高输入框高度","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"fixed","description":"在 `position: fixed` 区域时是否启用固定模式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"cursor-spacing","description":"光标与键盘的距离","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"0"},{"name":"cursor","description":"获取焦点时的光标位置","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"confirm-type","description":"键盘右下角按钮文字,可选值为 `done`、`go`、`next`、`search`、`send`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"ConfirmType","source":{"symbol":"ConfirmType"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"done"},{"name":"go"},{"name":"next"},{"name":"search"},{"name":"send"}]},{"name":"confirm-hold","description":"点击键盘右下角按钮时是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"show-confirm-bar","description":"是否显示键盘上方带有“完成”按钮的工具栏","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"selection-start","description":"光标起始位置,需与 `selection-end` 搭配使用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"selection-end","description":"光标结束位置,需与 `selection-start` 搭配使用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["number"],"default":"-1"},{"name":"adjust-position","description":"键盘弹起时是否自动上推页面","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"disable-default-padding","description":"是否去掉 iOS 下默认内边距","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"hold-keyboard","description":"聚焦时点击页面是否保持键盘不收起","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"false"},{"name":"ignore-composition-event","description":"是否忽略文本合成系统事件处理;为 `false` 时会触发 composition 相关事件,且在合成期间会触发 `input`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"inputmode","description":"输入模式提示,可选值为 `none`、`text`、`decimal`、`numeric`、`tel`、`search`、`email`、`url`","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":[{"name":"InputMode","source":{"symbol":"InputMode"}}],"default":"text","attribute-value":{"type":"of-match"},"values":[{"name":"none"},{"name":"text"},{"name":"decimal"},{"name":"numeric"},{"name":"tel"},{"name":"search"},{"name":"email"},{"name":"url"}]},{"name":"enable-native","description":"支付宝小程序下是否启用原生输入框,设为 `false` 可避免弹起键盘后内容上移","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"],"default":"true"},{"name":"compact","description":"是否开启紧凑模式;未显式设置时,在 `wd-form-item` 中会自动启用","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["boolean"]},{"name":"custom-textarea-class","description":"textarea 自定义类名","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/textarea.html#attributes","type":["string"]}],"js":{"events":[{"name":"input","description":"输入时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"focus","description":"聚焦时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"blur","description":"失焦时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"clear","description":"点击清空按钮时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"linechange","description":"行数变化时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"confirm","description":"点击键盘完成按钮时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"},{"name":"keyboardheightchange","description":"键盘高度变化时触发","doc-url":"https://wot-ui.cn/component/textarea.html#events"}]}},{"name":"wd-toast","source":{"symbol":"WdToast"},"description":"轻提示组件,用于消息通知、加载提示和操作结果反馈,支持组件挂载点配合 `useToast","doc-url":"https://wot-ui.cn/component/toast.html#toast","props":[{"name":"selector","description":"唯一挂载标识,多实例场景下用于区分不同 toast","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"msg","description":"默认提示文案","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"direction","description":"默认排版方向,可选值为 `horizontal`、`vertical`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastDirection","source":{"symbol":"ToastDirection"}}],"default":"horizontal","attribute-value":{"type":"of-match"},"values":[{"name":"horizontal"},{"name":"vertical"}]},{"name":"icon-name","description":"默认图标类型,可选值为 `success`、`error`、`warning`、`loading`、`info`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastIconType","source":{"symbol":"ToastIconType"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"success"},{"name":"error"},{"name":"warning"},{"name":"loading"},{"name":"info"}]},{"name":"icon-size","description":"默认图标大小","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"]},{"name":"loading-type","description":"默认加载图标类型,可选值为 `circular`、`spinner`、`dots`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastLoadingType","source":{"symbol":"ToastLoadingType"}}],"default":"circular","attribute-value":{"type":"of-match"},"values":[{"name":"circular"},{"name":"spinner"},{"name":"dots"}]},{"name":"loading-color","description":"默认加载图标颜色","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"],"default":"#ffffff"},{"name":"loading-size","description":"默认加载图标大小","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"]},{"name":"icon-color","description":"默认图标颜色","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"position","description":"默认提示位置,可选值为 `top`、`middle-top`、`middle`、`bottom`","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":[{"name":"ToastPositionType","source":{"symbol":"ToastPositionType"}}],"default":"middle","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"middle-top"},{"name":"middle"},{"name":"bottom"}]},{"name":"z-index","description":"默认层级","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["number"],"default":"100"},{"name":"cover","description":"是否显示透明遮罩层","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["boolean"],"default":"false"},{"name":"icon-class","description":"默认图标类名","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"class-prefix","description":"图标类名前缀","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"],"default":"wd-icon"},{"name":"opened","description":"完全展示后的回调","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"closed","description":"完全关闭后的回调","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/toast.html#toast-attributes","type":["string"]}]},{"name":"wd-tooltip","source":{"symbol":"WdTooltip"},"description":"用于展示简短提示信息,支持多方向定位、受控显隐、自定义内容和动态更新位置。","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip","props":[{"name":"model-value","description":"是否显示提示层,支持 `v-model`","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"content","description":"提示内容,也可以通过 `content` 插槽传入","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["<code>string | Array<Record<string, any>><",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"placement","description":"提示位置,可选值为 `top`、`top-start`、`top-end`、`bottom`、`bottom-start`、`bottom-end`、`left`、`left-start`、`left-end`、`right`、`right-start`、`right-end`","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":[{"name":"PlacementType","source":{"symbol":"PlacementType"}}],"default":"bottom","attribute-value":{"type":"of-match"},"values":[{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"}]},{"name":"offset","description":"位置偏移量,支持数字、数组或对象配置","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":[{"name":"PopoverOffset","source":{"symbol":"PopoverOffset"}}],"default":"0"},{"name":"visible-arrow","description":"是否显示箭头","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"true"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"show-close","description":"是否显示关闭按钮","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["boolean"],"default":"false"},{"name":"custom-arrow","description":"箭头自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-pop","description":"提示层自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-attributes","type":["string"]}],"slots":[{"name":"default","description":"触发提示层的目标内容","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-slots"},{"name":"content","description":"自定义提示层内容","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-slots"}],"js":{"events":[{"name":"open","description":"提示层显示时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"close","description":"提示层关闭时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"change","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"},{"name":"update:modelValue","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tooltip.html#tooltip-events"}]}},{"name":"wd-tour","source":{"symbol":"WdTour"},"description":"用于分步骤引导用户了解页面功能,可高亮目标元素并在其附近展示说明面板。","doc-url":"https://wot-ui.cn/component/tour.html#tour","props":[{"name":"model-value","description":"是否显示引导组件,支持 `v-model`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"steps","description":"引导步骤列表","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"<code>TourStep[]<","source":{"symbol":"<code>TourStep[]<"}},{"name":"code>","source":{"symbol":"code>"}}],"default":"[]"},{"name":"current","description":"当前步骤索引,支持 `v-model:current`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"0"},{"name":"mask","description":"是否显示蒙版","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"true"},{"name":"mask-color","description":"蒙版颜色","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]},{"name":"offset","description":"引导面板与高亮区域的间距","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"20"},{"name":"duration","description":"动画时长,单位毫秒","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"300"},{"name":"border-radius","description":"高亮区域圆角","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"4"},{"name":"padding","description":"高亮区域内边距","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"8"},{"name":"prev-text","description":"上一步按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"上一步"},{"name":"next-text","description":"下一步按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"下一步"},{"name":"skip-text","description":"跳过按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"跳过"},{"name":"finish-text","description":"完成按钮文案","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"],"default":"完成"},{"name":"bottom-safety-offset","description":"底部安全偏移量,用于滚动计算","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"100"},{"name":"top-safety-offset","description":"顶部安全偏移量,用于滚动计算","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"],"default":"0"},{"name":"custom-nav","description":"是否启用自定义导航栏模式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"click-mask-next","description":"点击遮罩层是否进入下一步","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"false"},{"name":"highlight-style","description":"默认高亮区域样式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"<code>CSSProperties<","source":{"symbol":"<code>CSSProperties<"}},{"name":"code>","source":{"symbol":"code>"}}],"default":"{}"},{"name":"z-index","description":"层级","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["number"]},{"name":"show-tour-buttons","description":"是否显示引导按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["boolean"],"default":"true"},{"name":"scope","description":"查询作用域,限定选择器查找范围","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"unknown","source":{"symbol":"unknown"}}]},{"name":"missing-strategy","description":"目标元素缺失时的处理策略,可选值为 `skip`、`stop`、`hide`","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":[{"name":"MissingStrategy","source":{"symbol":"MissingStrategy"}}],"default":"stop","attribute-value":{"type":"of-match"},"values":[{"name":"skip"},{"name":"stop"},{"name":"hide"}]},{"name":"custom-class","description":"根节点自定义类名","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/tour.html#tour-attributes","type":["string"]}],"slots":[{"name":"highlight","description":"自定义高亮区域","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"content","description":"自定义引导内容","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"prev","description":"自定义上一步按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"next","description":"自定义下一步按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"skip","description":"自定义跳过按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"},{"name":"finish","description":"自定义完成按钮","doc-url":"https://wot-ui.cn/component/tour.html#tour-slots"}],"js":{"events":[{"name":"change","description":"当前步骤变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"prev","description":"点击上一步时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"next","description":"点击下一步时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"finish","description":"点击完成时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"skip","description":"点击跳过时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"error","description":"目标元素查询失败时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"update:modelValue","description":"显隐状态变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"},{"name":"update:current","description":"当前步骤变化时触发","doc-url":"https://wot-ui.cn/component/tour.html#tour-events"}]}},{"name":"wd-tour-step","source":{"symbol":"WdTourStep"},"description":"用于分步骤引导用户了解页面功能,可高亮目标元素并在其附近展示说明面板。","doc-url":"https://wot-ui.cn/component/tour.html#tourstep","props":[{"name":"element","description":"需要高亮的元素选择器","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["string"]},{"name":"content","description":"步骤说明,支持 `rich-text` 渲染","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["string"]},{"name":"padding","description":"覆盖当前步骤的高亮内边距","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["number"]},{"name":"offset","description":"覆盖当前步骤的面板间距","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":["number"]},{"name":"placement","description":"强制指定提示位置,可选值为 `auto`、`top`、`bottom`、`left`、`right`","doc-url":"https://wot-ui.cn/component/tour.html#tourstep-attributes","type":[{"name":"TourPlacement","source":{"symbol":"TourPlacement"}}],"default":"auto","attribute-value":{"type":"of-match"},"values":[{"name":"auto"},{"name":"top"},{"name":"bottom"},{"name":"left"},{"name":"right"}]}]},{"name":"wd-transition","source":{"symbol":"WdTransition"},"description":"用于在元素进入或离开时应用过渡效果。","doc-url":"https://wot-ui.cn/component/transition.html#transition","props":[{"name":"show","description":"是否展示组件","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"duration","description":"动画执行时间,支持统一时长或分别设置进入、离开时长","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["<code>number | boolean | Record<string, number><",{"name":"code>","source":{"symbol":"code>"}}],"default":"300"},{"name":"lazy-render","description":"是否在首次展示时再渲染内容","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"name","description":"动画类型,可选值为 `fade`、`fade-up`、`fade-down`、`fade-left`、`fade-right`、`slide-up`、`slide-down`、`slide-left`、`slide-right`、`zoom-in`、`zoom-out`,也支持数组组合多个动画","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["<code>TransitionName | TransitionName[]<",{"name":"code>","source":{"symbol":"code>"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"fade"},{"name":"fade-up"},{"name":"fade-down"},{"name":"fade-left"},{"name":"fade-right"},{"name":"slide-up"},{"name":"slide-down"},{"name":"slide-left"},{"name":"slide-right"},{"name":"zoom-in"},{"name":"zoom-out"}]},{"name":"destroy","description":"是否在动画结束后通过 `display: none` 隐藏内容","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"true"},{"name":"enter-class","description":"进入过渡的开始状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"enter-active-class","description":"进入过渡的激活状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"enter-to-class","description":"进入过渡的结束状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-class","description":"离开过渡的开始状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-active-class","description":"离开过渡的激活状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"leave-to-class","description":"离开过渡的结束状态类名","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"disable-touch-move","description":"是否阻止触摸滚动","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["boolean"],"default":"false"},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/transition.html#attributes","type":["string"]}],"slots":[{"name":"default","description":"需要应用动画效果的内容","doc-url":"https://wot-ui.cn/component/transition.html#slots"}],"js":{"events":[{"name":"before-enter","description":"进入前触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"after-enter","description":"进入后触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"before-leave","description":"离开前触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"after-leave","description":"离开后触发","doc-url":"https://wot-ui.cn/component/transition.html#events"},{"name":"click","description":"点击组件时触发","doc-url":"https://wot-ui.cn/component/transition.html#events"}]}},{"name":"wd-upload","source":{"symbol":"WdUpload"},"description":"图片、视频和文件上传组件。","doc-url":"https://wot-ui.cn/component/upload.html#upload","props":[{"name":"v-model:file","description":"上传文件列表,例如 <code>[{ url: 'https://xxx.cdn.com/xxx.jpg' }]</code>","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadFile[]","source":{"symbol":"UploadFile"}}],"default":"[]"},{"name":"action","description":"上传地址","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"header","description":"上传请求头","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["Record<string, any>"],"default":"{}"},{"name":"multiple","description":"是否支持多选文件","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"disabled","description":"是否禁用","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"limit","description":"最大允许上传个数","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"]},{"name":"show-limit-num","description":"限制上传数量时,是否显示当前数量","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"max-size","description":"文件大小限制,单位为 byte","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"],"default":"Number.MAX_VALUE"},{"name":"source-type","description":"选择图片来源","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadSourceType[]","source":{"symbol":"UploadSourceType"}}],"default":"<code>['album', 'camera']</code>"},{"name":"size-type","description":"所选图片尺寸","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadSizeType[]","source":{"symbol":"UploadSizeType"}}],"default":"<code>['original', 'compressed']</code>"},{"name":"name","description":"上传文件字段名","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"file"},{"name":"form-data","description":"HTTP 请求附带的额外表单数据","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["Record<string, any>"],"default":"{}"},{"name":"on-preview-fail","description":"预览失败回调","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadOnPreviewFail","source":{"symbol":"UploadOnPreviewFail"}}]},{"name":"before-upload","description":"上传前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeUpload","source":{"symbol":"UploadBeforeUpload"}}]},{"name":"before-choose","description":"选择文件前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeChoose","source":{"symbol":"UploadBeforeChoose"}}]},{"name":"before-remove","description":"删除文件前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforeRemove","source":{"symbol":"UploadBeforeRemove"}}]},{"name":"before-preview","description":"图片预览前置钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBeforePreview","source":{"symbol":"UploadBeforePreview"}}]},{"name":"build-form-data","description":"动态构建上传 `formData` 的钩子","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadBuildFormData","source":{"symbol":"UploadBuildFormData"}}]},{"name":"loading-type","description":"加载中图标类型","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"LoadingType","source":{"symbol":"LoadingType"}}],"default":"circular"},{"name":"loading-color","description":"加载中图标颜色","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"#ffffff"},{"name":"loading-size","description":"加载中图标尺寸","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"24px"},{"name":"accept","description":"接受的文件类型,可选值为 `image`、`video`、`media`、`all`、`file`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadFileType","source":{"symbol":"UploadFileType"}}],"default":"image","attribute-value":{"type":"of-match"},"values":[{"name":"image"},{"name":"video"},{"name":"media"},{"name":"all"},{"name":"file"}]},{"name":"status-key","description":"`file` 数据结构中状态字段对应的 key","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"],"default":"status"},{"name":"compressed","description":"是否压缩视频,当 `accept` 为 `video` 或 `media` 时生效","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"max-duration","description":"拍摄视频最大时长,单位为秒","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["number"],"default":"60"},{"name":"camera","description":"使用前置或后置相机,可选值为 `front`、`back`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadCameraType","source":{"symbol":"UploadCameraType"}}],"default":"back","attribute-value":{"type":"of-match"},"values":[{"name":"front"},{"name":"back"}]},{"name":"image-mode","description":"预览图片的 `mode` 属性","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"ImageMode","source":{"symbol":"ImageMode"}}],"default":"aspectFit"},{"name":"success-status","description":"接口响应成功状态码","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["<code>number | number[]<",{"name":"code>","source":{"symbol":"code>"}}],"default":"200"},{"name":"custom-evoke-class","description":"自定义上传按钮样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"custom-preview-class","description":"自定义预览列表样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"auto-upload","description":"是否选择文件后自动上传,关闭后需手动调用 `submit`","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"true"},{"name":"reupload","description":"是否开启覆盖上传,开启后会关闭图片预览","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["boolean"],"default":"false"},{"name":"upload-method","description":"自定义上传方法","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":[{"name":"UploadMethod","source":{"symbol":"UploadMethod"}}]},{"name":"extension","description":"根据文件拓展名过滤,H5 支持全部类型过滤,微信小程序支持 `all` 和 `file` 场景过滤","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string[]"]},{"name":"custom-class","description":"根节点自定义样式类","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]},{"name":"custom-style","description":"根节点自定义样式","doc-url":"https://wot-ui.cn/component/upload.html#upload-attributes","type":["string"]}],"slots":[{"name":"default","description":"自定义上传唤起区域","doc-url":"https://wot-ui.cn/component/upload.html#upload-slots"},{"name":"preview-cover","description":"自定义覆盖在预览区域上方的内容,参数为 <code>{ file, index }</code>","doc-url":"https://wot-ui.cn/component/upload.html#upload-slots"}],"js":{"events":[{"name":"success","description":"上传成功时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"fail","description":"上传失败时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"progress","description":"上传中时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"oversize","description":"文件大小超过限制时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"chooseerror","description":"选择文件失败时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"change","description":"上传列表修改时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"remove","description":"移除文件时触发","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"},{"name":"update:fileList","description":"`v-model:file-list` 对应的更新事件","doc-url":"https://wot-ui.cn/component/upload.html#upload-events"}]}},{"name":"wd-video-preview","source":{"symbol":"WdVideoPreview"},"description":"视频预览组件,支持通过组件实例或 `useVideoPreview` 函数式调用打开全屏视频预览层。`useVideoPreview` 的独立用法与 API 说明见 [useVideoPreview]","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview","props":[{"name":"selector","description":"实例标识,用于区分多个视频预览实例","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]},{"name":"z-index","description":"预览层级","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["number"],"default":"1000"},{"name":"on-open","description":"组件打开时的回调","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"on-close","description":"组件关闭时的回调","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["<code>() => void<",{"name":"code>","source":{"symbol":"code>"}}]},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-attributes","type":["string"]}],"js":{"events":[{"name":"open","description":"打开预览时触发","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-events"},{"name":"close","description":"关闭预览时触发","doc-url":"https://wot-ui.cn/component/video-preview.html#videopreview-events"}]}},{"name":"wd-watermark","source":{"symbol":"WdWatermark"},"description":"在页面或组件上添加指定的图片或文字,可用于版权保护、品牌宣传等场景。","doc-url":"https://wot-ui.cn/component/watermark.html#watermark","props":[{"name":"content","description":"水印文字内容","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"image","description":"水印图片地址,支持网络图片和 Base64 图片,钉钉小程序仅支持网络图片","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"image-height","description":"图片高度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"image-width","description":"图片宽度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"gutter-x","description":"X 轴间距,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"0"},{"name":"gutter-y","description":"Y 轴间距,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"0"},{"name":"width","description":"单个水印画布宽度,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"height","description":"单个水印画布高度,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"100"},{"name":"full-screen","description":"是否铺满整个页面","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["boolean"],"default":"true"},{"name":"color","description":"水印文字颜色","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"],"default":"#C9CBD4"},{"name":"size","description":"水印文字大小,单位为 `px`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"14"},{"name":"font-style","description":"水印字体样式,仅微信、支付宝和 H5 支持,可选值为 `normal`、`italic`、`oblique`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":[{"name":"WatermarkFontStyle","source":{"symbol":"WatermarkFontStyle"}}],"default":"normal","attribute-value":{"type":"of-match"},"values":[{"name":"normal"},{"name":"italic"},{"name":"oblique"}]},{"name":"font-weight","description":"水印字体粗细,仅微信、支付宝和 H5 支持","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["<code>string | number<",{"name":"code>","source":{"symbol":"code>"}}],"default":"normal"},{"name":"font-family","description":"水印字体系列,仅微信、支付宝和 H5 支持","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"],"default":"PingFang SC"},{"name":"rotate","description":"水印旋转角度","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"-25"},{"name":"z-index","description":"水印层级","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"],"default":"1100"},{"name":"opacity","description":"水印透明度,取值范围为 `0` 到 `1`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["number"]},{"name":"layout","description":"水印布局,可选值为 `grid`、`staggered`","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":[{"name":"WatermarkLayout","source":{"symbol":"WatermarkLayout"}}],"default":"grid","attribute-value":{"type":"of-match"},"values":[{"name":"grid"},{"name":"staggered"}]},{"name":"custom-style","description":"自定义根节点样式","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]},{"name":"custom-class","description":"自定义根节点样式类","doc-url":"https://wot-ui.cn/component/watermark.html#watermark-attributes","type":["string"]}]}]}}}
|