bk-magic-vue 2.5.3-beta.1 → 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.
@@ -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: false,
27125
+ allowHTML: true,
27123
27126
  animateFill: true,
27124
27127
  animation: 'shift-away',
27125
27128
  appendTo: function appendTo() {
@@ -29508,7 +29511,7 @@
29508
29511
  this.handleNumberDelete(event);
29509
29512
  }
29510
29513
  if (document.getSelection().type !== 'Range') {
29511
- if (value.substring(target.selectionStart, target.selectionEnd + 1) === '-') {
29514
+ if (value.indexOf('-') === 0 && target.selectionStart === 0) {
29512
29515
  var keyCodeList = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
29513
29516
  96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
29514
29517
  189,