bkui-vue 0.0.1-beta.212 → 0.0.1-beta.214

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
@@ -10240,28 +10240,30 @@ var Component$v = defineComponent({
10240
10240
  }, 250);
10241
10241
  }
10242
10242
  },
10243
- immediate: true,
10244
- deep: true
10243
+ immediate: true
10245
10244
  },
10246
- visible(val) {
10247
- var _a, _b;
10248
- if (val) {
10249
- this.bkPopIndexManager = new BKPopIndexManager();
10250
- this.bkPopIndexManager.onMaskClick((_e) => {
10251
- this.handleClickOutSide();
10252
- });
10253
- this.$nextTick(() => {
10254
- const hideMaskStyle = {
10255
- "background-color": "rgba(0,0,0,0)"
10256
- };
10257
- const appendStyle = this.showMask ? {} : hideMaskStyle;
10258
- this.bkPopIndexManager.show(this.$el, this.showMask, appendStyle, this.transfer, this.zIndex);
10259
- this.$emit("shown");
10260
- });
10261
- } else {
10262
- (_a = this.bkPopIndexManager) == null ? void 0 : _a.hide(this.$el, this.transfer);
10263
- (_b = this.bkPopIndexManager) == null ? void 0 : _b.destroy();
10264
- }
10245
+ visible: {
10246
+ handler(val) {
10247
+ var _a, _b;
10248
+ if (val) {
10249
+ this.bkPopIndexManager = new BKPopIndexManager();
10250
+ this.bkPopIndexManager.onMaskClick((_e) => {
10251
+ this.handleClickOutSide();
10252
+ });
10253
+ this.$nextTick(() => {
10254
+ const hideMaskStyle = {
10255
+ "background-color": "rgba(0,0,0,0)"
10256
+ };
10257
+ const appendStyle = this.showMask ? {} : hideMaskStyle;
10258
+ this.bkPopIndexManager.show(this.$el, this.showMask, appendStyle, this.transfer, this.zIndex);
10259
+ this.$emit("shown");
10260
+ });
10261
+ } else {
10262
+ (_a = this.bkPopIndexManager) == null ? void 0 : _a.hide(this.$el, this.transfer);
10263
+ (_b = this.bkPopIndexManager) == null ? void 0 : _b.destroy();
10264
+ }
10265
+ },
10266
+ immediate: true
10265
10267
  }
10266
10268
  },
10267
10269
  beforeUnmount() {