bk-magic-vue 2.5.9-beta.2 → 2.5.9-beta.21

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.
Files changed (113) hide show
  1. package/dist/bk-magic-vue.css +893 -959
  2. package/dist/bk-magic-vue.js +860 -625
  3. package/dist/bk-magic-vue.min.css +1 -1
  4. package/dist/bk-magic-vue.min.css.gz +0 -0
  5. package/dist/bk-magic-vue.min.css.map +1 -1
  6. package/dist/bk-magic-vue.min.js +1 -1
  7. package/dist/bk-magic-vue.min.js.gz +0 -0
  8. package/dist/bk-magic-vue.min.js.map +1 -1
  9. package/lib/card.js +2981 -203
  10. package/lib/cascade.js +6447 -6411
  11. package/lib/date-picker.js +1 -1
  12. package/lib/dialog.js +484 -9
  13. package/lib/info-box.js +484 -9
  14. package/lib/input.js +2942 -164
  15. package/lib/loading.js +7 -4
  16. package/lib/pagination.js +214 -17
  17. package/lib/rate.js +14 -3
  18. package/lib/resize-layout.js +3 -1
  19. package/lib/select.js +40 -9
  20. package/lib/sideslider.js +802 -336
  21. package/lib/slider.js +3270 -3202
  22. package/lib/star.js +13 -2
  23. package/lib/table.js +214 -17
  24. package/lib/tag-input.js +122 -102
  25. package/lib/time-picker.js +1 -1
  26. package/lib/timeline.js +26 -17
  27. package/lib/transfer.js +1886 -1710
  28. package/lib/ui/badge.css +127 -119
  29. package/lib/ui/badge.min.css +1 -1
  30. package/lib/ui/badge.min.css.map +1 -1
  31. package/lib/ui/bk-magic-vue.css +893 -959
  32. package/lib/ui/bk-magic-vue.min.css +1 -1
  33. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  34. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  35. package/lib/ui/button.css +4 -4
  36. package/lib/ui/button.min.css +1 -1
  37. package/lib/ui/button.min.css.map +1 -1
  38. package/lib/ui/card.css +2 -2
  39. package/lib/ui/card.min.css +1 -1
  40. package/lib/ui/card.min.css.map +1 -1
  41. package/lib/ui/cascade.css +19 -1
  42. package/lib/ui/cascade.min.css +1 -1
  43. package/lib/ui/cascade.min.css.map +1 -1
  44. package/lib/ui/checkbox.css +67 -67
  45. package/lib/ui/checkbox.min.css.map +1 -1
  46. package/lib/ui/dialog.css +4 -4
  47. package/lib/ui/dialog.min.css +1 -1
  48. package/lib/ui/dialog.min.css.map +1 -1
  49. package/lib/ui/exception.css +1 -0
  50. package/lib/ui/exception.min.css +1 -1
  51. package/lib/ui/exception.min.css.map +1 -1
  52. package/lib/ui/form.css +2 -2
  53. package/lib/ui/form.min.css +1 -1
  54. package/lib/ui/form.min.css.map +1 -1
  55. package/lib/ui/info-box.css +4 -4
  56. package/lib/ui/info-box.min.css +1 -1
  57. package/lib/ui/info-box.min.css.map +1 -1
  58. package/lib/ui/input.css +1 -1
  59. package/lib/ui/input.min.css +1 -1
  60. package/lib/ui/input.min.css.map +1 -1
  61. package/lib/ui/link.css +27 -3
  62. package/lib/ui/link.min.css +1 -1
  63. package/lib/ui/link.min.css.map +1 -1
  64. package/lib/ui/loading.css +43 -280
  65. package/lib/ui/loading.min.css +1 -1
  66. package/lib/ui/loading.min.css.map +1 -1
  67. package/lib/ui/notify.css +5 -5
  68. package/lib/ui/notify.min.css +1 -1
  69. package/lib/ui/notify.min.css.map +1 -1
  70. package/lib/ui/overflow-tips.css +3 -2
  71. package/lib/ui/overflow-tips.min.css +1 -1
  72. package/lib/ui/overflow-tips.min.css.map +1 -1
  73. package/lib/ui/pagination.css +1 -1
  74. package/lib/ui/pagination.min.css +1 -1
  75. package/lib/ui/pagination.min.css.map +1 -1
  76. package/lib/ui/popconfirm.css +2 -2
  77. package/lib/ui/popconfirm.min.css +1 -1
  78. package/lib/ui/popconfirm.min.css.map +1 -1
  79. package/lib/ui/popover.css +3 -2
  80. package/lib/ui/popover.min.css +1 -1
  81. package/lib/ui/popover.min.css.map +1 -1
  82. package/lib/ui/process.css +51 -282
  83. package/lib/ui/process.min.css +1 -1
  84. package/lib/ui/process.min.css.map +1 -1
  85. package/lib/ui/progress.css +2 -2
  86. package/lib/ui/progress.min.css +1 -1
  87. package/lib/ui/progress.min.css.map +1 -1
  88. package/lib/ui/radio.css +64 -64
  89. package/lib/ui/radio.min.css +1 -1
  90. package/lib/ui/radio.min.css.map +1 -1
  91. package/lib/ui/resize-layout.css +13 -5
  92. package/lib/ui/resize-layout.min.css +1 -1
  93. package/lib/ui/resize-layout.min.css.map +1 -1
  94. package/lib/ui/sideslider.css +8 -7
  95. package/lib/ui/sideslider.min.css +1 -1
  96. package/lib/ui/sideslider.min.css.map +1 -1
  97. package/lib/ui/star.css +22 -17
  98. package/lib/ui/star.min.css +1 -1
  99. package/lib/ui/star.min.css.map +1 -1
  100. package/lib/ui/steps.css +372 -274
  101. package/lib/ui/steps.min.css +1 -1
  102. package/lib/ui/steps.min.css.map +1 -1
  103. package/lib/ui/tooltips.css +3 -2
  104. package/lib/ui/tooltips.min.css +1 -1
  105. package/lib/ui/tooltips.min.css.map +1 -1
  106. package/lib/ui/transfer.css +122 -121
  107. package/lib/ui/transfer.min.css +1 -1
  108. package/lib/ui/transfer.min.css.map +1 -1
  109. package/lib/ui/tree.css +45 -282
  110. package/lib/ui/tree.min.css +1 -1
  111. package/lib/ui/tree.min.css.map +1 -1
  112. package/lib/version-detail.js +453 -13
  113. package/package.json +3 -4
package/lib/star.js CHANGED
@@ -49,10 +49,18 @@
49
49
  var rate = index + 1;
50
50
  this.$emit('chooseRate', rate);
51
51
  },
52
- changeHover: function changeHover(index) {
52
+ changeHover: function changeHover(e, index) {
53
53
  if (!this.edit) return;
54
54
  var rate = index + 1;
55
55
  this.$emit('changeHover', rate);
56
+ this.$nextTick(function () {
57
+ e.target.classList.add('bk-rate-star-is-hover');
58
+ });
59
+ },
60
+ handleMouseLeave: function handleMouseLeave(e, index) {
61
+ this.$nextTick(function () {
62
+ e.target.classList.remove('bk-rate-star-is-hover');
63
+ });
56
64
  }
57
65
  }
58
66
  };
@@ -157,7 +165,10 @@
157
165
  return _vm.chooseRate(index);
158
166
  },
159
167
  "mouseenter": function mouseenter($event) {
160
- return _vm.changeHover(index);
168
+ return _vm.changeHover($event, index);
169
+ },
170
+ "mouseleave": function mouseleave($event) {
171
+ return _vm.handleMouseLeave($event, index);
161
172
  }
162
173
  }
163
174
  }, [_c('g', {
package/lib/table.js CHANGED
@@ -9192,9 +9192,7 @@
9192
9192
  return !this.enabledOptions.length;
9193
9193
  },
9194
9194
  isAllSelected: function isAllSelected() {
9195
- return !this.enabledOptions.some(function (option) {
9196
- return !option.isSelected;
9197
- });
9195
+ return this.select.selected.length === this.enabledOptions.length;
9198
9196
  }
9199
9197
  },
9200
9198
  watch: {
@@ -9480,11 +9478,11 @@
9480
9478
  staticClass: "point point3"
9481
9479
  }), _c('div', {
9482
9480
  staticClass: "point point4"
9483
- })]], 2), _c('div', {
9481
+ })]], 2), _vm.title ? _c('div', {
9484
9482
  staticClass: "bk-loading-title"
9485
9483
  }, [_vm._t("title", function () {
9486
9484
  return [_vm._v(_vm._s(_vm.title))];
9487
- })], 2)])])], 1) : _c('transition', {
9485
+ })], 2) : _vm._e()])])], 1) : _c('transition', {
9488
9486
  attrs: {
9489
9487
  "name": "fade",
9490
9488
  "duration": {
@@ -9536,11 +9534,11 @@
9536
9534
  staticClass: "point point3"
9537
9535
  }), _c('div', {
9538
9536
  staticClass: "point point4"
9539
- })]], 2), _c('div', {
9537
+ })]], 2), _vm.title ? _c('div', {
9540
9538
  staticClass: "bk-loading-title"
9541
9539
  }, [_vm._t("title", function () {
9542
9540
  return [_vm._v(_vm._s(_vm.title))];
9543
- })], 2)])])]);
9541
+ })], 2) : _vm._e()])])]);
9544
9542
  };
9545
9543
  var __vue_staticRenderFns__$7 = [];
9546
9544
 
@@ -9599,6 +9597,9 @@
9599
9597
  if (options.title) {
9600
9598
  el.$vm.title = options.title;
9601
9599
  }
9600
+ if (options.size) {
9601
+ el.$vm.size = options.size;
9602
+ }
9602
9603
  }
9603
9604
  var bkLoading = {
9604
9605
  inserted: function inserted(el, binding) {
@@ -9641,6 +9642,7 @@
9641
9642
  data: function data() {
9642
9643
  return {
9643
9644
  overflowTagNode: null,
9645
+ overflowTagTips: null,
9644
9646
  overflowTagIndex: null,
9645
9647
  newOptionName: ''
9646
9648
  };
@@ -9727,6 +9729,25 @@
9727
9729
  },
9728
9730
  setOverflowTagContent: function setOverflowTagContent() {
9729
9731
  this.overflowTagNode.textContent = "+".concat(this.select.selected.length - this.overflowTagIndex);
9732
+ this.destroyTippy();
9733
+ this.overflowTagTips = tippy(this.overflowTagNode, {
9734
+ duration: 0,
9735
+ arrow: true,
9736
+ size: 'small',
9737
+ trigger: 'mouseenter focus',
9738
+ theme: 'dark',
9739
+ interactive: true,
9740
+ boundary: 'window',
9741
+ content: this.getOverflowTagTips(),
9742
+ allowHTML: true,
9743
+ extCls: ''
9744
+ });
9745
+ },
9746
+ getOverflowTagTips: function getOverflowTagTips() {
9747
+ var data = this.select.selectedOptions.slice(this.overflowTagIndex, this.select.selectedOptions.length) || [];
9748
+ return data.map(function (option) {
9749
+ return option.name;
9750
+ }).join(',');
9730
9751
  },
9731
9752
  getOverflowTagNode: function getOverflowTagNode() {
9732
9753
  if (this.overflowTagNode) {
@@ -9741,6 +9762,12 @@
9741
9762
  if (this.overflowTagNode && this.overflowTagNode.parentNode === this.$el) {
9742
9763
  this.$el.removeChild(this.overflowTagNode);
9743
9764
  }
9765
+ this.destroyTippy();
9766
+ },
9767
+ destroyTippy: function destroyTippy() {
9768
+ if (!this.overflowTagTips) return;
9769
+ this.overflowTagTips.destroy();
9770
+ this.overflowTagTips = null;
9744
9771
  },
9745
9772
  handleCreateTag: function handleCreateTag(e) {
9746
9773
  this.$emit('create-tag', e.target.value);
@@ -10859,6 +10886,10 @@
10859
10886
  };
10860
10887
  },
10861
10888
  computed: {
10889
+ virtualScrollHeight: function virtualScrollHeight() {
10890
+ var selectAllOptionHeight = 39;
10891
+ return this.showSelectAll ? this.scrollHeight - selectAllOptionHeight : this.scrollHeight;
10892
+ },
10862
10893
  selectedName: function selectedName() {
10863
10894
  if (this.selectedOptions) {
10864
10895
  if (this.multiple) {
@@ -11430,7 +11461,7 @@
11430
11461
  "placement": "bottom-start",
11431
11462
  "theme": "light bk-select-dropdown",
11432
11463
  "animation": "slide-toggle",
11433
- "offset": -1,
11464
+ "offset": 0,
11434
11465
  "distance": _vm.popoverDistance,
11435
11466
  "z-index": _vm.zIndex,
11436
11467
  "on-show": _vm.handleDropdownShow,
@@ -11567,7 +11598,7 @@
11567
11598
  ref: "virtualScroll",
11568
11599
  staticClass: "bk-virtual-select",
11569
11600
  style: {
11570
- height: _vm.scrollHeight + 'px',
11601
+ height: _vm.virtualScrollHeight + 'px',
11571
11602
  width: '100%'
11572
11603
  },
11573
11604
  attrs: {
@@ -11633,8 +11664,109 @@
11633
11664
 
11634
11665
  var minSafeInteger$1 = minSafeInteger;
11635
11666
 
11667
+ var defaultOptions = {
11668
+ duration: 0,
11669
+ arrow: true,
11670
+ size: 'small',
11671
+ trigger: 'mouseenter focus',
11672
+ theme: 'dark',
11673
+ interactive: true,
11674
+ boundary: 'window',
11675
+ content: '',
11676
+ allowHTML: true,
11677
+ extCls: ''
11678
+ };
11679
+ var validPlacements$1 = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];
11680
+ var createTippy$1 = function createTippy(el, binding) {
11681
+ var value = binding.value;
11682
+ var options = _objectSpread({}, defaultOptions);
11683
+ if (_typeof(value) === 'object') {
11684
+ if (value.allowHtml || value.allowHTML) {
11685
+ value.allowHTML = true;
11686
+ }
11687
+ _extends(options, value);
11688
+ } else {
11689
+ options.content = value;
11690
+ }
11691
+ var placement = validPlacements$1.find(function (placement) {
11692
+ return binding.modifiers[placement];
11693
+ });
11694
+ options.placement = options.placement || placement || (options.placements || ['top'])[0];
11695
+ var _binding$modifiers = binding.modifiers,
11696
+ click = _binding$modifiers.click,
11697
+ light = _binding$modifiers.light;
11698
+ if (click) {
11699
+ options.trigger = 'click';
11700
+ }
11701
+ if (light) {
11702
+ options.theme = 'light';
11703
+ }
11704
+ if (options.allowHTML) {
11705
+ var selector = options.content;
11706
+ if (selector instanceof Vue) {
11707
+ options.content = selector.$el;
11708
+ } else if (typeof selector === 'string') {
11709
+ try {
11710
+ var element = document.querySelector(selector);
11711
+ if (element) {
11712
+ options.content = element;
11713
+ }
11714
+ } catch (e) {
11715
+ var _element = document.createElement('div');
11716
+ _element.innerHTML = selector;
11717
+ }
11718
+ }
11719
+ }
11720
+ if (options.html) {
11721
+ options.content = options.html;
11722
+ }
11723
+ if (typeof options.onClose === 'function') {
11724
+ options.onHide = options.onClose;
11725
+ }
11726
+ var validOptions = getValidTippyProps(options);
11727
+ return tippy(el, validOptions);
11728
+ };
11729
+ var bkTooltips = {
11730
+ inserted: function inserted(el, binding) {
11731
+ var disabled = _typeof(binding.value) === 'object' ? binding.value.disabled : false;
11732
+ if (!disabled) {
11733
+ el.tippyInstance = createTippy$1(el, binding);
11734
+ }
11735
+ },
11736
+ unbind: function unbind(el) {
11737
+ el._tippy && el._tippy.destroy();
11738
+ el.tippyInstance = null;
11739
+ },
11740
+ update: function update(el, binding) {
11741
+ var value = binding.value;
11742
+ var isObject = _typeof(value) === 'object';
11743
+ var content = isObject ? value.content : value;
11744
+ var disabled = isObject ? value.disabled : false;
11745
+ if (disabled || !content) {
11746
+ el._tippy && el._tippy.destroy();
11747
+ el.tippyInstance = null;
11748
+ } else if (content) {
11749
+ if (!el._tippy) {
11750
+ el.tippyInstance = createTippy$1(el, binding);
11751
+ } else {
11752
+ if (_typeof(value) === 'object' && (binding.value.allowHtml || binding.value.allowHTML)) {
11753
+ el.tippyInstance = createTippy$1(el, binding);
11754
+ } else {
11755
+ el._tippy.setContent(content);
11756
+ }
11757
+ }
11758
+ }
11759
+ }
11760
+ };
11761
+ bkTooltips.install = function (Vue) {
11762
+ Vue.directive('bkTooltips', bkTooltips);
11763
+ };
11764
+
11636
11765
  var script$c = {
11637
11766
  name: 'bk-input',
11767
+ directives: {
11768
+ bkTooltips: bkTooltips
11769
+ },
11638
11770
  mixins: [emitter, locale.mixin],
11639
11771
  props: {
11640
11772
  type: {
@@ -11744,7 +11876,12 @@
11744
11876
  allowNumberPaste: {
11745
11877
  type: Boolean,
11746
11878
  default: false
11747
- }
11879
+ },
11880
+ showOverflowTooltips: {
11881
+ type: Boolean,
11882
+ default: false
11883
+ },
11884
+ initialControlValue: Number
11748
11885
  },
11749
11886
  data: function data() {
11750
11887
  return {
@@ -11765,6 +11902,9 @@
11765
11902
  inputPasswordIcon: this.passwordIcon,
11766
11903
  inputRightPadding: '10px',
11767
11904
  iconAreaSizeObserver: null,
11905
+ inputResizeObserver: null,
11906
+ isInputOverflow: false,
11907
+ inputClientWidth: null,
11768
11908
  validKeyCodeList: [48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
11769
11909
  96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
11770
11910
  8,
@@ -11836,6 +11976,13 @@
11836
11976
  return "bk-input-".concat(this.inputSize);
11837
11977
  }
11838
11978
  return '';
11979
+ },
11980
+ inputTooltips: function inputTooltips() {
11981
+ return {
11982
+ content: this.curValue,
11983
+ disabled: !this.showOverflowTooltips || this.type === 'password' || !this.isInputOverflow,
11984
+ width: this.inputClientWidth && this.inputClientWidth
11985
+ };
11839
11986
  }
11840
11987
  },
11841
11988
  watch: {
@@ -11843,6 +11990,7 @@
11843
11990
  handler: function handler(val, old) {
11844
11991
  this.setCurValue(val);
11845
11992
  old === undefined && this.updateNumberValue(val);
11993
+ this.setOverflow();
11846
11994
  },
11847
11995
  immediate: true
11848
11996
  },
@@ -11877,10 +12025,13 @@
11877
12025
  };
11878
12026
  }
11879
12027
  this.observerIconSize();
12028
+ this.observerInputSize();
11880
12029
  },
11881
12030
  beforeDestroy: function beforeDestroy() {
11882
12031
  this.iconAreaSizeObserver && typeof this.iconAreaSizeObserver.disconnect === 'function' && this.iconAreaSizeObserver.disconnect();
11883
12032
  this.iconAreaSizeObserver = null;
12033
+ this.inputResizeObserver && this.inputResizeObserver.disconnect();
12034
+ this.inputResizeObserver = null;
11884
12035
  },
11885
12036
  methods: {
11886
12037
  observerIconSize: function observerIconSize() {
@@ -11907,6 +12058,41 @@
11907
12058
  this.iconAreaSizeObserver.observe(element);
11908
12059
  }
11909
12060
  },
12061
+ observerInputSize: function observerInputSize() {
12062
+ var _this3 = this;
12063
+ var element = this.$refs.input;
12064
+ if (!element) return;
12065
+ this.inputResizeObserver = new ResizeObserver(function (entries) {
12066
+ var _iterator2 = _createForOfIteratorHelper(entries),
12067
+ _step2;
12068
+ try {
12069
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
12070
+ var entry = _step2.value;
12071
+ if (entry.target === element) {
12072
+ _this3.setOverflow();
12073
+ }
12074
+ }
12075
+ } catch (err) {
12076
+ _iterator2.e(err);
12077
+ } finally {
12078
+ _iterator2.f();
12079
+ }
12080
+ });
12081
+ this.inputResizeObserver.observe(element);
12082
+ },
12083
+ setOverflow: function setOverflow() {
12084
+ var _this4 = this;
12085
+ setTimeout(function () {
12086
+ var inputEl = _this4.$refs.input;
12087
+ if (inputEl) {
12088
+ _this4.isInputOverflow = inputEl.scrollWidth > inputEl.clientWidth + 2;
12089
+ if (inputEl.clientWidth !== _this4.inputClientWidth) {
12090
+ _this4.$refs.inputWrapper._tippy && _this4.$refs.inputWrapper._tippy.destroy();
12091
+ }
12092
+ _this4.inputClientWidth = inputEl.clientWidth;
12093
+ }
12094
+ });
12095
+ },
11910
12096
  getAttributeByType: function getAttributeByType() {
11911
12097
  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
11912
12098
  var defaultAttr = {
@@ -11992,7 +12178,9 @@
11992
12178
  }
11993
12179
  },
11994
12180
  handleNumberDelete: function handleNumberDelete(event) {
11995
- this.curValue === '' && (this.curValue = this.max);
12181
+ if (this.curValue === '') {
12182
+ this.curValue = this.initialControlValue === undefined ? this.max : Math.min(this.initialControlValue, this.max);
12183
+ }
11996
12184
  var curNumberValue = Number(this.curValue);
11997
12185
  if (curNumberValue - 1 >= this.min) {
11998
12186
  var curLenAfterDot = (String(curNumberValue) || '').split('.')[1] || '';
@@ -12007,7 +12195,9 @@
12007
12195
  }
12008
12196
  },
12009
12197
  handleNumberAdd: function handleNumberAdd(event) {
12010
- this.curValue === '' && (this.curValue = this.min);
12198
+ if (this.curValue === '') {
12199
+ this.curValue = this.initialControlValue === undefined ? this.min : Math.max(this.initialControlValue, this.min);
12200
+ }
12011
12201
  var curNumberValue = Number(this.curValue);
12012
12202
  if (curNumberValue <= this.max - 1) {
12013
12203
  var curLenAfterDot = (String(curNumberValue) || '').split('.')[1] || '';
@@ -12161,16 +12351,16 @@
12161
12351
  }
12162
12352
  },
12163
12353
  handlerInput: function handlerInput(event) {
12164
- var _this3 = this;
12354
+ var _this5 = this;
12165
12355
  if (this.inputType === 'number' && this.isOnComposition) {
12166
12356
  return;
12167
12357
  }
12168
12358
  this.$nextTick(function () {
12169
12359
  var value = event.target.value;
12170
- _this3.setCurValue(value);
12171
- _this3.$emit('input', value, event);
12172
- _this3.$emit('change', value, event);
12173
- _this3.dispatch('bk-form-item', 'form-change');
12360
+ _this5.setCurValue(value);
12361
+ _this5.$emit('input', value, event);
12362
+ _this5.$emit('change', value, event);
12363
+ _this5.dispatch('bk-form-item', 'form-change');
12174
12364
  });
12175
12365
  },
12176
12366
  handlerClear: function handlerClear(event) {
@@ -12275,6 +12465,13 @@
12275
12465
  }, [_c('span', {
12276
12466
  staticClass: "strong"
12277
12467
  }, [_vm._v(_vm._s(_vm.curValue && _vm.curValue.length || 0))]), _vm._v("/"), _c('span', [_vm._v(_vm._s(_vm.maxlength))])])] : _vm._e()], 2)] : [_c('div', {
12468
+ directives: [{
12469
+ name: "bk-tooltips",
12470
+ rawName: "v-bk-tooltips",
12471
+ value: _vm.inputTooltips,
12472
+ expression: "inputTooltips"
12473
+ }],
12474
+ ref: "inputWrapper",
12278
12475
  class: ["bk-input-" + _vm.type]
12279
12476
  }, [_c('input', _vm._b({
12280
12477
  ref: "input",