UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

103 lines (102 loc) 1.66 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const dropdownProps = { /** * 弹出框是否可见 */ visible: { type: Boolean }, /** * 非受控模式,弹出框是否默认可见 */ defaultVisible: { type: Boolean, default: false }, /** * 大小 SizeT */ size: { type: String }, /** * 圆角值 RoundT */ round: { type: String }, /** * 下拉选项触发方式 PopupTriggerT */ trigger: { type: String, default: "click" }, /** * 下拉选项位置 PopupPositionT */ optionPosition: { type: String, default: "bl" }, /** * 下拉选项宽度自适应规则 * 'auto':自动 | 'min-width':最小宽度与选择框一致 | 'width': 宽度与选择框一致 */ optionWidthMode: { type: String, default: "min-width" }, /** * 挂载容器,默认为body */ optionsWrapper: { type: [String, Object], default: "body" }, /** * 下拉容器自定义类 */ optionWrapClass: { type: [String, Array] }, /** * 是否在结束选择时,卸载下拉选项 */ unmountOnHide: { type: Boolean, default: true }, /** * 过渡名称 */ transition: { type: String } }; const dropdownItemProps = { /** * 显示文本 */ label: { type: String, default: "" }, /** * 选项值 */ value: { type: [String, Number], default: "" }, /** * 是否禁用 */ disabled: { type: Boolean, default: false } }; exports.dropdownItemProps = dropdownItemProps; exports.dropdownProps = dropdownProps;