bk-magic-vue 2.5.2 → 2.5.3-beta.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 +20 -1
- 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/card.js +16 -0
- package/lib/cascade.js +1 -1
- package/lib/date-picker.js +3 -0
- package/lib/directives/overflow-tips.js +1 -1
- package/lib/directives/tooltips.js +1 -1
- package/lib/form-item.js +1 -1
- package/lib/input.js +16 -0
- package/lib/pagination.js +17 -1
- package/lib/popconfirm.js +1 -1
- package/lib/popover.js +1 -1
- package/lib/search-select.js +1 -1
- package/lib/select.js +1 -1
- package/lib/slider.js +17 -1
- package/lib/table.js +17 -1
- package/lib/tag-input.js +1 -1
- package/lib/time-picker.js +3 -0
- package/lib/transfer.js +17 -1
- package/lib/upload.js +1 -1
- package/lib/utils/tippy.js +1 -1
- package/lib/version-detail.js +1 -1
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -7687,6 +7687,9 @@
|
|
|
7687
7687
|
if (shouldEmitInput) {
|
|
7688
7688
|
this.$emit('input', now);
|
|
7689
7689
|
}
|
|
7690
|
+
},
|
|
7691
|
+
visualValue: function visualValue(val) {
|
|
7692
|
+
this.focusedTime.time = this.internalValue.map(extractTime);
|
|
7690
7693
|
}
|
|
7691
7694
|
},
|
|
7692
7695
|
mounted: function mounted() {
|
|
@@ -27119,7 +27122,7 @@
|
|
|
27119
27122
|
var isIOS = isBrowser$2 && /iPhone|iPad|iPod/.test(navigator.platform) && !window.MSStream;
|
|
27120
27123
|
var defaultProps = {
|
|
27121
27124
|
a11y: true,
|
|
27122
|
-
allowHTML:
|
|
27125
|
+
allowHTML: true,
|
|
27123
27126
|
animateFill: true,
|
|
27124
27127
|
animation: 'shift-away',
|
|
27125
27128
|
appendTo: function appendTo() {
|
|
@@ -29507,6 +29510,22 @@
|
|
|
29507
29510
|
event.preventDefault();
|
|
29508
29511
|
this.handleNumberDelete(event);
|
|
29509
29512
|
}
|
|
29513
|
+
if (document.getSelection().type !== 'Range') {
|
|
29514
|
+
if (value.indexOf('-') === 0 && target.selectionStart === 0) {
|
|
29515
|
+
var keyCodeList = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
29516
|
+
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
29517
|
+
189,
|
|
29518
|
+
109,
|
|
29519
|
+
190,
|
|
29520
|
+
110
|
|
29521
|
+
];
|
|
29522
|
+
if (keyCodeList.indexOf(keyCode) > -1) {
|
|
29523
|
+
event.stopPropagation();
|
|
29524
|
+
event.preventDefault();
|
|
29525
|
+
return false;
|
|
29526
|
+
}
|
|
29527
|
+
}
|
|
29528
|
+
}
|
|
29510
29529
|
}
|
|
29511
29530
|
this.$emit('keydown', value, event);
|
|
29512
29531
|
},
|