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.cjs.js +1 -1
- package/dist/index.esm.js +23 -21
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/modal/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +0 -9
- package/lib/resize-layout/resize-layout.less +0 -12
- package/lib/resize-layout/resize-layout.variable.css +0 -9
- package/package.json +1 -1
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
|
10247
|
-
|
10248
|
-
|
10249
|
-
|
10250
|
-
|
10251
|
-
this.
|
10252
|
-
|
10253
|
-
|
10254
|
-
|
10255
|
-
|
10256
|
-
|
10257
|
-
|
10258
|
-
|
10259
|
-
|
10260
|
-
|
10261
|
-
|
10262
|
-
|
10263
|
-
|
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() {
|