bk-magic-vue 2.4.8-beta.6 → 2.4.8-beta.7

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.
@@ -6694,6 +6694,7 @@
6694
6694
  var nodeList = [];
6695
6695
  var clickctx = '$clickoutsideCtx';
6696
6696
  var beginClick;
6697
+ var seed = 0;
6697
6698
  document.addEventListener('mousedown', function (event) {
6698
6699
  return beginClick = event;
6699
6700
  });
@@ -6704,7 +6705,8 @@
6704
6705
  });
6705
6706
  var bkClickoutside = {
6706
6707
  bind: function bind(el, binding, vnode) {
6707
- var id = nodeList.push(el) - 1;
6708
+ nodeList.push(el);
6709
+ var id = seed++;
6708
6710
  var clickoutsideHandler = function clickoutsideHandler() {
6709
6711
  var mouseup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
6710
6712
  var mousedown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -8511,7 +8513,7 @@
8511
8513
  expression: "handleClose"
8512
8514
  }],
8513
8515
  staticClass: "bk-date-picker",
8514
- class: [_vm.type === 'datetimerange' ? 'long' : '', _vm.longWidthCls, _vm.extCls]
8516
+ class: [_vm.type === 'datetimerange' ? 'long' : '', _vm.longWidthCls, _vm.extCls, _vm.type === 'time' ? 'time-picker' : '']
8515
8517
  }, [_c('div', {
8516
8518
  ref: "reference",
8517
8519
  staticClass: "bk-date-picker-rel"
@@ -29409,10 +29411,10 @@
29409
29411
 
29410
29412
  var InfoBoxConstructor = Vue.extend(__vue_component__$v);
29411
29413
  var instancesList = [];
29412
- var seed = 0;
29414
+ var seed$1 = 0;
29413
29415
  var Info = function Info() {
29414
29416
  var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
29415
- var id = 'bkInfoBox' + seed++;
29417
+ var id = 'bkInfoBox' + seed$1++;
29416
29418
  if (typeof opts === 'string') {
29417
29419
  opts = {
29418
29420
  title: opts
@@ -30797,7 +30799,7 @@
30797
30799
 
30798
30800
  var MessageComponent = Vue.extend(__vue_component__$D);
30799
30801
  var messageList = [];
30800
- var seed$1 = 0;
30802
+ var seed$2 = 0;
30801
30803
  var BkMessage = function BkMessage(config) {
30802
30804
  if (config.limit === 0) {
30803
30805
  BkMessage.batchClose();
@@ -30806,7 +30808,7 @@
30806
30808
  if (config.limit > 0) {
30807
30809
  BkMessage.batchClose(config.limit);
30808
30810
  }
30809
- var instanceId = "messageInstance_".concat(now$1(), "_").concat(seed$1++);
30811
+ var instanceId = "messageInstance_".concat(now$1(), "_").concat(seed$2++);
30810
30812
  var offsetY = _parseInt$2(config.offsetY) || 30;
30811
30813
  var spacing = _parseInt$2(config.spacing) || 10;
30812
30814
  if (config.ellipsisLine === null || config.ellipsisLine === undefined || config.ellipsisLine === '' || isNaN(config.ellipsisLine)) {
@@ -31055,7 +31057,7 @@
31055
31057
 
31056
31058
  var NotifyComponent = Vue.extend(__vue_component__$E);
31057
31059
  var notifyList = [];
31058
- var seed$2 = 0;
31060
+ var seed$3 = 0;
31059
31061
  var BkNotify = function BkNotify(config) {
31060
31062
  if (config.limit === 0) {
31061
31063
  BkNotify.batchClose();
@@ -31064,7 +31066,7 @@
31064
31066
  if (config.limit > 0) {
31065
31067
  BkNotify.batchClose(config.limit);
31066
31068
  }
31067
- var instanceId = "notifyInstance_".concat(now$1(), "_").concat(seed$2++);
31069
+ var instanceId = "notifyInstance_".concat(now$1(), "_").concat(seed$3++);
31068
31070
  var offsetY = config.offsetY || 30;
31069
31071
  var offsetX = config.offsetX || 10;
31070
31072
  var spacing = config.spacing || 10;