bkui-vue 2.0.2-beta.11 → 2.0.2-beta.12
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/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +18 -5
- package/dist/index.umd.js +22 -22
- package/lib/index.js +1 -1
- package/lib/input/index.d.ts +19 -0
- package/lib/input/index.js +11 -5
- package/lib/input/input.d.ts +15 -1
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +8 -1
- package/lib/select/select.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -7153,6 +7153,10 @@ const GC = {
|
|
7153
7153
|
withValidate: m.bool.def(!0),
|
7154
7154
|
overMaxLengthLimit: m.bool.def(!1),
|
7155
7155
|
showOverflowTooltips: m.bool.def(!0),
|
7156
|
+
tooltipsOptions: {
|
7157
|
+
type: Object,
|
7158
|
+
default: () => ({})
|
7159
|
+
},
|
7156
7160
|
resize: m.bool.def(!0),
|
7157
7161
|
autosize: m.oneOfType([Boolean, Object]).def(!1),
|
7158
7162
|
stopPropagation: m.bool.def(!0)
|
@@ -7245,12 +7249,15 @@ const YC = {
|
|
7245
7249
|
})), F = k(() => {
|
7246
7250
|
var X;
|
7247
7251
|
return M.value && T.value - N.value === 0 ? {
|
7248
|
-
content: a.value.maxlengthLimitTips
|
7252
|
+
content: a.value.maxlengthLimitTips,
|
7253
|
+
...e.tooltipsOptions || {}
|
7249
7254
|
} : e.showOverflowTooltips && y.value && e.modelValue ? {
|
7250
7255
|
content: (X = e.modelValue) == null ? void 0 : X.toString(),
|
7251
|
-
sameWidth: !0
|
7256
|
+
sameWidth: !0,
|
7257
|
+
...e.tooltipsOptions || {}
|
7252
7258
|
} : {
|
7253
|
-
disabled: !0
|
7259
|
+
disabled: !0,
|
7260
|
+
...e.tooltipsOptions || {}
|
7254
7261
|
};
|
7255
7262
|
}), M = k(() => typeof e.maxlength == "number" || typeof e.maxcharacter == "number");
|
7256
7263
|
fe(() => e.type, () => {
|
@@ -10631,8 +10638,13 @@ const VT = /* @__PURE__ */ me({
|
|
10631
10638
|
default: "default"
|
10632
10639
|
},
|
10633
10640
|
// content显示和隐藏方式
|
10634
|
-
disableScrollToSelectedOption: m.bool.def(!1)
|
10641
|
+
disableScrollToSelectedOption: m.bool.def(!1),
|
10635
10642
|
// 是否禁用滚动到选中option的功能
|
10643
|
+
inputTooltipsOptions: {
|
10644
|
+
type: Object,
|
10645
|
+
default: () => ({})
|
10646
|
+
}
|
10647
|
+
// 透传Input组件的tooltips配置
|
10636
10648
|
},
|
10637
10649
|
emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur", "tag-remove", "select", "deselect", "search-change"],
|
10638
10650
|
setup(e, {
|
@@ -11113,6 +11125,7 @@ const VT = /* @__PURE__ */ me({
|
|
11113
11125
|
selectReadonly: !0,
|
11114
11126
|
size: this.size,
|
11115
11127
|
stopPropagation: !1,
|
11128
|
+
tooltipsOptions: this.inputTooltipsOptions,
|
11116
11129
|
type: "text",
|
11117
11130
|
withValidate: !1,
|
11118
11131
|
onEnter: this.handleCreateCustomOption,
|
@@ -33624,7 +33637,7 @@ const HH = (e, t) => {
|
|
33624
33637
|
}, qH = {
|
33625
33638
|
createInstall: $2,
|
33626
33639
|
install: $2()
|
33627
|
-
}, BH = "2.0.2-beta.
|
33640
|
+
}, BH = "2.0.2-beta.12";
|
33628
33641
|
window.__bkui_vue_version__ = BH;
|
33629
33642
|
export {
|
33630
33643
|
nh as $bkPopover,
|