bkui-vue 0.0.1-beta.430 → 0.0.1-beta.431
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 +6 -6
- package/dist/index.umd.js +2 -2
- package/lib/overflow-title/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
|
});
|
@@ -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)) {
|