bk-magic-vue 2.4.1 → 2.4.2
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 +23 -17
- 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/back-top.js +1 -1
- package/lib/badge.js +5 -11
- package/lib/big-tree.js +8 -11
- package/lib/cascade.js +11 -1
- package/lib/checkbox.js +8 -1
- package/lib/date-picker.js +5 -11
- package/lib/directives/overflow-tips.js +8 -11
- package/lib/directives/tooltips.js +8 -11
- package/lib/form-item.js +8 -11
- package/lib/form.js +5 -11
- package/lib/image.js +5 -12
- package/lib/info-box.js +5 -11
- package/lib/loading.js +11 -14
- package/lib/locale/index.js +5 -11
- package/lib/message.js +5 -11
- package/lib/notify.js +5 -11
- package/lib/option-group.js +8 -1
- package/lib/pagination.js +14 -14
- package/lib/popconfirm.js +3 -0
- package/lib/popover.js +3 -0
- package/lib/process.js +5 -11
- package/lib/search-select.js +3 -0
- package/lib/select.js +14 -14
- package/lib/slider.js +8 -11
- package/lib/table-column.js +5 -11
- package/lib/table-setting-content.js +8 -1
- package/lib/table.js +22 -15
- package/lib/tag-input.js +14 -14
- package/lib/time-picker.js +5 -11
- package/lib/timeline.js +5 -11
- package/lib/transfer.js +8 -11
- package/lib/tree.js +5 -11
- package/lib/upload.js +8 -11
- package/lib/utils/deepmerge.js +5 -11
- package/lib/utils/pinyin.js +5 -11
- package/lib/utils/tippy.js +3 -0
- package/lib/version-detail.js +14 -14
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -10,17 +10,11 @@
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
_typeof = function (obj) {
|
|
19
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
13
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14
|
+
return typeof obj;
|
|
15
|
+
} : function (obj) {
|
|
16
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
17
|
+
}, _typeof(obj);
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -78,6 +72,9 @@
|
|
|
78
72
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
79
73
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
80
74
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
75
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
76
|
+
writable: false
|
|
77
|
+
});
|
|
81
78
|
return Constructor;
|
|
82
79
|
}
|
|
83
80
|
|
|
@@ -738,7 +735,7 @@
|
|
|
738
735
|
},
|
|
739
736
|
computed: {
|
|
740
737
|
positionStyle: function positionStyle() {
|
|
741
|
-
return "right: ".concat(this.right, "px
|
|
738
|
+
return "right: ".concat(this.right, "px; bottom: ").concat(this.bottom, "px; z-index: ").concat(this.zIndex);
|
|
742
739
|
}
|
|
743
740
|
},
|
|
744
741
|
watch: {
|
|
@@ -2744,7 +2741,14 @@
|
|
|
2744
2741
|
var script$8 = {
|
|
2745
2742
|
name: 'bk-checkbox',
|
|
2746
2743
|
mixins: [emitter],
|
|
2747
|
-
inject:
|
|
2744
|
+
inject: {
|
|
2745
|
+
handleRemoveItem: {
|
|
2746
|
+
default: null
|
|
2747
|
+
},
|
|
2748
|
+
handleAddItem: {
|
|
2749
|
+
default: null
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2748
2752
|
props: {
|
|
2749
2753
|
value: {
|
|
2750
2754
|
type: [String, Number, Boolean],
|
|
@@ -30070,6 +30074,9 @@
|
|
|
30070
30074
|
return;
|
|
30071
30075
|
}
|
|
30072
30076
|
return typeof this.zIndex === 'number' && !isNan$1(this.zIndex);
|
|
30077
|
+
},
|
|
30078
|
+
renderZIndex: function renderZIndex() {
|
|
30079
|
+
return this.zIndex;
|
|
30073
30080
|
}
|
|
30074
30081
|
},
|
|
30075
30082
|
watch: {
|
|
@@ -30089,7 +30096,7 @@
|
|
|
30089
30096
|
},
|
|
30090
30097
|
isShow: function isShow(newVal) {
|
|
30091
30098
|
if (newVal && !this.hasZIndexOption) {
|
|
30092
|
-
this.
|
|
30099
|
+
this.renderZIndex = zIndexManager.nextZIndex();
|
|
30093
30100
|
}
|
|
30094
30101
|
},
|
|
30095
30102
|
isLoading: {
|
|
@@ -30164,7 +30171,7 @@
|
|
|
30164
30171
|
}],
|
|
30165
30172
|
staticClass: "bk-loading-wrapper",
|
|
30166
30173
|
style: {
|
|
30167
|
-
|
|
30174
|
+
renderZIndex: _vm.renderZIndex,
|
|
30168
30175
|
backgroundColor: _vm.bgColor
|
|
30169
30176
|
}
|
|
30170
30177
|
}, [_c('div', {
|
|
@@ -30216,7 +30223,7 @@
|
|
|
30216
30223
|
class: _vm.extCls,
|
|
30217
30224
|
style: {
|
|
30218
30225
|
position: _vm.type,
|
|
30219
|
-
|
|
30226
|
+
renderZIndex: _vm.renderZIndex,
|
|
30220
30227
|
backgroundColor: _vm.bgColor
|
|
30221
30228
|
}
|
|
30222
30229
|
}, [_c('div', {
|
|
@@ -54477,7 +54484,6 @@
|
|
|
54477
54484
|
bkImageViewer: __vue_component__$1w
|
|
54478
54485
|
},
|
|
54479
54486
|
mixins: [locale.mixin],
|
|
54480
|
-
inheritAttrs: false,
|
|
54481
54487
|
props: {
|
|
54482
54488
|
src: String,
|
|
54483
54489
|
fallback: String,
|