bkui-vue 0.0.1-beta.430 → 0.0.1-beta.432
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 +8 -8
- package/dist/index.umd.js +2 -2
- package/lib/overflow-title/index.js +1 -1
- package/lib/select/index.js +1 -1
- package/lib/table/index.js +1 -1
- package/lib/table/use-common.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -33,7 +33,7 @@ var __publicField = (obj, key2, value) => {
|
|
33
33
|
__defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
|
34
34
|
return value;
|
35
35
|
};
|
36
|
-
import { inject, reactive, defineComponent, computed, watch, provide, createVNode, mergeProps, h as h$1, ref, onMounted, onBeforeUnmount, getCurrentInstance, nextTick, Transition, createApp, createTextVNode, withDirectives, vShow, Fragment, isVNode, renderSlot, toRefs, Teleport, resolveDirective, customRef, onBeforeMount, toRef, shallowRef,
|
36
|
+
import { inject, reactive, defineComponent, computed, watch, provide, createVNode, mergeProps, h as h$1, ref, onMounted, onBeforeUnmount, getCurrentInstance, nextTick, Transition, createApp, createTextVNode, withDirectives, vShow, Fragment, isVNode, renderSlot, toRefs, Teleport, resolveDirective, customRef, onBeforeMount, toRef, shallowRef, vModelText, unref, watchEffect, markRaw, onUpdated, render as render$1, onUnmounted, toRaw, withModifiers, TransitionGroup } from "vue";
|
37
37
|
var reset = "";
|
38
38
|
var alert = "";
|
39
39
|
var affix = "";
|
@@ -15084,9 +15084,9 @@ var OverflowTitle = defineComponent({
|
|
15084
15084
|
if (props2.resizeable) {
|
15085
15085
|
const observer = new ResizeObserver(resizeHandler);
|
15086
15086
|
observer.observe(boxRef.value);
|
15087
|
-
|
15088
|
-
observer.unobserve(boxRef.value);
|
15089
|
-
observer.disconnect();
|
15087
|
+
onBeforeUnmount(() => {
|
15088
|
+
boxRef.value && (observer == null ? void 0 : observer.unobserve(boxRef.value));
|
15089
|
+
observer == null ? void 0 : observer.disconnect();
|
15090
15090
|
});
|
15091
15091
|
}
|
15092
15092
|
});
|
@@ -16119,7 +16119,7 @@ var SelectTagInput = defineComponent({
|
|
16119
16119
|
"class": resolveClassName("select-overflow-tag")
|
16120
16120
|
}, {
|
16121
16121
|
default: () => [createTextVNode("+"), this.selected.length - this.overflowTagIndex]
|
16122
|
-
})
|
16122
|
+
}), createVNode("input", {
|
16123
16123
|
"class": resolveClassName("select-tag-input"),
|
16124
16124
|
"ref": "inputRef",
|
16125
16125
|
"type": "text",
|
@@ -16130,7 +16130,7 @@ var SelectTagInput = defineComponent({
|
|
16130
16130
|
"value": !this.filterable ? "" : this.value,
|
16131
16131
|
"onInput": this.handleInput,
|
16132
16132
|
"onKeydown": this.handleKeydown
|
16133
|
-
}, null), (_g = (_f = this.$slots) == null ? void 0 : _f.suffix) == null ? void 0 : _g.call(_f)]);
|
16133
|
+
}, null)]), (_g = (_f = this.$slots) == null ? void 0 : _f.suffix) == null ? void 0 : _g.call(_f)]);
|
16134
16134
|
}
|
16135
16135
|
});
|
16136
16136
|
var Component$k = defineComponent({
|
@@ -20411,11 +20411,11 @@ const useClass = (props2, targetColumns, root, reactiveProp, pageData) => {
|
|
20411
20411
|
}
|
20412
20412
|
return "100%";
|
20413
20413
|
};
|
20414
|
-
const wrapperStyle = computed(() => ({
|
20414
|
+
const wrapperStyle = computed(() => __spreadValues({
|
20415
20415
|
minHeight: resolveNumberOrStringToPix(props2.minHeight, "auto"),
|
20416
20416
|
width: resolveWidth2(),
|
20417
20417
|
maxWidth: "100%"
|
20418
|
-
}));
|
20418
|
+
}, typeof props2.height === "number" ? { height: `${props2.height}px` } : null));
|
20419
20419
|
const resolvePropHeight = (height, defaultValue) => {
|
20420
20420
|
const strHeight = String(height);
|
20421
20421
|
if (/^\d+\.?\d*$/.test(strHeight)) {
|