bkui-vue 0.0.1-beta.186 → 0.0.1-beta.187

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.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, createVNode, h as h$1, mergeProps, defineComponent, reactive, ref, computed, watch, onMounted, onBeforeUnmount, getCurrentInstance, nextTick, Transition, provide, createTextVNode, isVNode, withDirectives, vShow, renderSlot, Fragment, toRefs, createApp, onUnmounted, Teleport, resolveDirective, customRef, onBeforeMount, toRef, vModelText, unref, watchEffect, onUpdated, render as render$1, shallowRef, toRaw, withModifiers, TransitionGroup } from "vue";
36
+ import { inject, createVNode, h as h$1, mergeProps, defineComponent, reactive, ref, computed, watch, onMounted, onBeforeUnmount, getCurrentInstance, nextTick, Transition, provide, createTextVNode, isVNode, withDirectives, vShow, renderSlot, Fragment, toRefs, createApp, Teleport, resolveDirective, customRef, onBeforeMount, toRef, vModelText, unref, watchEffect, onUpdated, render as render$1, onUnmounted, shallowRef, toRaw, withModifiers, TransitionGroup } from "vue";
37
37
  var reset = "";
38
38
  var alert = "";
39
39
  var affix = "";
@@ -13046,7 +13046,7 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
13046
13046
  elArrow
13047
13047
  } = resolvePopElements();
13048
13048
  const targetEl = virtualEl || elReference;
13049
- if (!targetEl)
13049
+ if (!targetEl || !elContent)
13050
13050
  return;
13051
13051
  const options = resolvePopOptions(elArrow, props3);
13052
13052
  computePosition(targetEl, elContent, options).then(({
@@ -13297,9 +13297,6 @@ var usePopoverInit = (props2, ctx, refReference, refContent, refArrow, refRoot)
13297
13297
  const { getPrefixId, resetFullscreenElementTag } = usePopperId(props2, "#");
13298
13298
  const boundary = ref();
13299
13299
  const beforeInstanceUnmount = () => {
13300
- if (typeof cleanup === "function") {
13301
- cleanup();
13302
- }
13303
13300
  removeEventListener2();
13304
13301
  };
13305
13302
  const handleFullscreenChange = () => {
@@ -13401,7 +13398,7 @@ var Component$p = defineComponent({
13401
13398
  });
13402
13399
  updateBoundary();
13403
13400
  onMounted(onMountedFn);
13404
- onUnmounted(onUnmountedFn);
13401
+ onBeforeUnmount(onUnmountedFn);
13405
13402
  const transBoundary = computed(() => (isFullscreen.value || !disableTeleport) && typeof boundary.value === "string");
13406
13403
  const show2 = () => {
13407
13404
  showFn();
@@ -18199,7 +18196,12 @@ const useClass = (props2, targetColumns, root, reactiveProp, pageData) => {
18199
18196
  }
18200
18197
  return defaultValue;
18201
18198
  };
18202
- const contentStyle = reactive({});
18199
+ const contentStyle = reactive({
18200
+ display: "",
18201
+ "min-height": "",
18202
+ height: "",
18203
+ maxHeight: ""
18204
+ });
18203
18205
  const getHeadHeight = () => props2.showHead ? resolvePropHeight(props2.headHeight, LINE_HEIGHT) : 0;
18204
18206
  const resolveContentStyle = () => {
18205
18207
  const resolveHeight = resolvePropHeight(props2.height, autoHeight.value);
@@ -18395,7 +18397,7 @@ var Component$d = defineComponent({
18395
18397
  tableOffsetRight.value = $tableScrollWidth - $contentWidth;
18396
18398
  }
18397
18399
  };
18398
- watch(() => [props2.data, props2.pagination], () => {
18400
+ watch(() => [props2.data, props2.pagination, props2.height, props2.maxHeight, props2.minHeight], () => {
18399
18401
  initIndexData(props2.reserveExpand);
18400
18402
  watchEffectFn(columnFilterFn, columnSortFn, activeSortColumn);
18401
18403
  nextTick(() => {