@v2coding/ui 0.1.30 → 0.1.31
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/v2coding-ui.esm.js +17 -3
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +22 -6
- package/package.json +1 -1
package/dist/v2coding-ui.ssr.js
CHANGED
|
@@ -8343,7 +8343,11 @@ var script$f = {
|
|
|
8343
8343
|
type: Boolean,
|
|
8344
8344
|
default: false
|
|
8345
8345
|
},
|
|
8346
|
-
beforeClose: Function
|
|
8346
|
+
beforeClose: Function,
|
|
8347
|
+
destroyOnClose: {
|
|
8348
|
+
type: Boolean,
|
|
8349
|
+
default: true
|
|
8350
|
+
}
|
|
8347
8351
|
},
|
|
8348
8352
|
data: function data() {
|
|
8349
8353
|
return {
|
|
@@ -8355,7 +8359,8 @@ var script$f = {
|
|
|
8355
8359
|
dragWidth: this.width,
|
|
8356
8360
|
wrapperWidth: this.width,
|
|
8357
8361
|
wrapperLeft: 0,
|
|
8358
|
-
minWidth: 256
|
|
8362
|
+
minWidth: 256,
|
|
8363
|
+
key: 0
|
|
8359
8364
|
};
|
|
8360
8365
|
},
|
|
8361
8366
|
computed: {
|
|
@@ -8473,14 +8478,24 @@ var script$f = {
|
|
|
8473
8478
|
},
|
|
8474
8479
|
watch: {
|
|
8475
8480
|
value: function value(val) {
|
|
8481
|
+
var _this2 = this;
|
|
8482
|
+
|
|
8476
8483
|
this.visible = val;
|
|
8484
|
+
|
|
8485
|
+
if (!val) {
|
|
8486
|
+
if (this.destroyOnClose) {
|
|
8487
|
+
this.$nextTick(function () {
|
|
8488
|
+
_this2.key++;
|
|
8489
|
+
});
|
|
8490
|
+
}
|
|
8491
|
+
}
|
|
8477
8492
|
},
|
|
8478
8493
|
visible: function visible(val) {
|
|
8479
|
-
var
|
|
8494
|
+
var _this3 = this;
|
|
8480
8495
|
|
|
8481
8496
|
if (val === false) {
|
|
8482
8497
|
this.timer = setTimeout(function () {
|
|
8483
|
-
|
|
8498
|
+
_this3.wrapShow = false;
|
|
8484
8499
|
}, 300);
|
|
8485
8500
|
} else {
|
|
8486
8501
|
if (this.timer) clearTimeout(this.timer);
|
|
@@ -8544,6 +8559,7 @@ var __vue_render__$e = function __vue_render__() {
|
|
|
8544
8559
|
value: _vm.visible,
|
|
8545
8560
|
expression: "visible"
|
|
8546
8561
|
}],
|
|
8562
|
+
key: _vm.key,
|
|
8547
8563
|
class: _vm.classes,
|
|
8548
8564
|
style: _vm.mainStyles
|
|
8549
8565
|
}, [_c('div', {
|
|
@@ -8589,7 +8605,7 @@ var __vue_staticRenderFns__$e = [];
|
|
|
8589
8605
|
|
|
8590
8606
|
var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
8591
8607
|
if (!inject) return;
|
|
8592
|
-
inject("data-v-
|
|
8608
|
+
inject("data-v-74205198_0", {
|
|
8593
8609
|
source: ".ui-drawer{width:auto;height:100%;position:fixed;top:0}.ui-drawer-inner{position:absolute}.ui-drawer-left{left:0}.ui-drawer-right{right:0}.ui-drawer-hidden{display:none!important}.ui-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ui-drawer-wrap-inner{position:absolute;overflow:hidden}.ui-drawer-wrap-dragging{user-select:none}.ui-drawer-wrap *{-webkit-tap-highlight-color:transparent}.ui-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ui-drawer-mask-hidden{display:none}.ui-drawer-mask-inner{position:absolute}.ui-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ui-drawer-content-no-mask{pointer-events:auto}.ui-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ui-drawer-header p,.ui-drawer-header-inner{display:inline-block;width:100%;height:20px;line-height:20px;font-size:16px;color:#17233d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-drawer-close{z-index:1;font-size:12px;position:absolute;right:15px;top:15px;overflow:hidden;cursor:pointer}.ui-drawer-close .el-icon-close{font-size:20px;color:#999;transition:color .2s ease;position:relative;top:1px}.ui-drawer-close .el-icon-close:hover{color:#444}.ui-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:14px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto;box-sizing:border-box}.ui-drawer-no-header .ui-drawer-body{height:100%}.ui-drawer-no-mask{pointer-events:none}.ui-drawer-no-mask .ui-drawer-drag{pointer-events:auto}.ui-drawer-drag{top:0;height:100%;width:0;position:absolute}.ui-drawer-drag-left{right:0}.ui-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;transform:translate(-50%,-50%);border-radius:4px/6px;box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ui-drawer-drag-move-trigger-point{display:inline-block;width:50%;transform:translateX(50%)}.ui-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.fade-appear,.fade-enter-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-leave-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:uiFadeInIn;animation-play-state:running}.fade-leave-active{animation-name:uiFadeInOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0;animation-timing-function:linear}.fade-leave-active{animation-timing-function:linear}@keyframes uiFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}100%{opacity:0}}",
|
|
8594
8610
|
map: undefined,
|
|
8595
8611
|
media: undefined
|
|
@@ -8601,7 +8617,7 @@ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
|
8601
8617
|
var __vue_scope_id__$f = undefined;
|
|
8602
8618
|
/* module identifier */
|
|
8603
8619
|
|
|
8604
|
-
var __vue_module_identifier__$f = "data-v-
|
|
8620
|
+
var __vue_module_identifier__$f = "data-v-74205198";
|
|
8605
8621
|
/* functional template */
|
|
8606
8622
|
|
|
8607
8623
|
var __vue_is_functional_template__$f = false;
|