@newview/ui 1.2.15 → 1.2.16

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.
@@ -5,7 +5,7 @@ var __publicField2 = (obj, key2, value) => {
5
5
  return value;
6
6
  };
7
7
  import { BaseInstance } from "@newview/base-vue";
8
- import { openBlock, createElementBlock, normalizeStyle, defineComponent, ref, resolveComponent, createVNode, reactive, watch, onMounted, onUnmounted, createBlock, withCtx, createElementVNode, Fragment, renderList, normalizeClass, createTextVNode, toDisplayString, withDirectives, renderSlot, createSlots, createCommentVNode, vShow, h, mergeProps, toRaw, computed, nextTick, toHandlers, pushScopeId, popScopeId, withModifiers, createApp, getCurrentInstance, watchEffect, normalizeProps, guardReactiveProps } from "vue";
8
+ import { openBlock, createElementBlock, normalizeStyle, defineComponent, ref, resolveComponent, createVNode, reactive, watch, onMounted, onUnmounted, createBlock, withCtx, createElementVNode, Fragment, renderList, normalizeClass, createTextVNode, toDisplayString, withDirectives, renderSlot, createSlots, createCommentVNode, vShow, h, mergeProps, toRaw, computed, nextTick, toHandlers, pushScopeId, popScopeId, withModifiers, createApp, getCurrentInstance, normalizeProps, guardReactiveProps, watchEffect } from "vue";
9
9
  import { VxeColumn, VxeColgroup, VXETable, VxeGrid, VxeTable } from "vxe-table";
10
10
  import { utilities } from "@newview/tools";
11
11
  import { Space, Icon, Drawer, Button } from "view-ui-plus";
@@ -221078,9 +221078,6 @@ class ModalInstance extends BaseInstance {
221078
221078
  }
221079
221079
  }
221080
221080
  });
221081
- watchEffect(() => {
221082
- this.visibleChange(this.ctx.attrs.modelValue);
221083
- });
221084
221081
  onUnmounted(() => {
221085
221082
  });
221086
221083
  }
@@ -221105,6 +221102,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
221105
221102
  mask: true,
221106
221103
  width: _ctx.modalWidth,
221107
221104
  "mask-closable": false,
221105
+ onOnVisibleChange: _ctx.visibleChange,
221108
221106
  "class-name": "vertical-center-modal"
221109
221107
  }), createSlots({ _: 2 }, [
221110
221108
  renderList(_ctx.$slots, (_, name2) => {
@@ -221115,7 +221113,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
221115
221113
  ])
221116
221114
  };
221117
221115
  })
221118
- ]), 1040, ["id", "width"]);
221116
+ ]), 1040, ["id", "width", "onOnVisibleChange"]);
221119
221117
  }
221120
221118
  const NvModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
221121
221119
  const index$2 = "";