bk-magic-vue 2.3.9 → 2.3.10-beta.1
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/bk-magic-vue.js +16 -4
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/notify.js +8 -3
- package/lib/progress.js +8 -1
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -30463,7 +30463,8 @@
|
|
|
30463
30463
|
limit: 0,
|
|
30464
30464
|
countID: null,
|
|
30465
30465
|
onClose: function onClose() {},
|
|
30466
|
-
extCls: ''
|
|
30466
|
+
extCls: '',
|
|
30467
|
+
useHTMLString: false
|
|
30467
30468
|
};
|
|
30468
30469
|
},
|
|
30469
30470
|
computed: {
|
|
@@ -30564,12 +30565,16 @@
|
|
|
30564
30565
|
limitLine: _vm.limitLine > 0
|
|
30565
30566
|
}],
|
|
30566
30567
|
style: _vm.contentStyle
|
|
30567
|
-
}, [_vm.
|
|
30568
|
+
}, [!_vm.useHTMLString ? [_vm._v(_vm._s(_vm.message))] : _c('span', {
|
|
30569
|
+
domProps: {
|
|
30570
|
+
"innerHTML": _vm._s(_vm.message)
|
|
30571
|
+
}
|
|
30572
|
+
}), _vm.showViewMore ? _c('button', {
|
|
30568
30573
|
staticClass: "showMoreBtn",
|
|
30569
30574
|
on: {
|
|
30570
30575
|
"click": _vm.onClickViewMore
|
|
30571
30576
|
}
|
|
30572
|
-
}, [_vm._v("\n " + _vm._s(_vm.t('bk.notify.showMore')) + "\n ")]) : _vm._e()])])], 2), _vm.dismissable ? _c('div', {
|
|
30577
|
+
}, [_vm._v("\n " + _vm._s(_vm.t('bk.notify.showMore')) + "\n ")]) : _vm._e()], 2)])], 2), _vm.dismissable ? _c('div', {
|
|
30573
30578
|
staticClass: "bk-notify-close"
|
|
30574
30579
|
}, [_c('i', {
|
|
30575
30580
|
staticClass: "bk-icon icon-close",
|
|
@@ -34197,6 +34202,13 @@
|
|
|
34197
34202
|
extCls: {
|
|
34198
34203
|
type: String,
|
|
34199
34204
|
default: ''
|
|
34205
|
+
},
|
|
34206
|
+
fixed: {
|
|
34207
|
+
type: Number,
|
|
34208
|
+
default: 0,
|
|
34209
|
+
validator: function validator(val) {
|
|
34210
|
+
return val >= 0 && val <= 20;
|
|
34211
|
+
}
|
|
34200
34212
|
}
|
|
34201
34213
|
},
|
|
34202
34214
|
data: function data() {
|
|
@@ -34221,7 +34233,7 @@
|
|
|
34221
34233
|
return style;
|
|
34222
34234
|
},
|
|
34223
34235
|
percentFixed: function percentFixed() {
|
|
34224
|
-
return Number(
|
|
34236
|
+
return Number(this.percent * 100).toFixed(this.fixed);
|
|
34225
34237
|
},
|
|
34226
34238
|
progressTextSize: function progressTextSize() {
|
|
34227
34239
|
return 12 + this.strokeWidth * 0.4;
|