bk-magic-vue 2.5.9-beta.7 → 2.5.9-beta.9

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.
@@ -32839,9 +32839,7 @@
32839
32839
  return !this.enabledOptions.length;
32840
32840
  },
32841
32841
  isAllSelected: function isAllSelected() {
32842
- return !this.enabledOptions.some(function (option) {
32843
- return !option.isSelected;
32844
- });
32842
+ return this.select.selected.length === this.enabledOptions.length;
32845
32843
  }
32846
32844
  },
32847
32845
  watch: {
@@ -37041,8 +37039,7 @@
37041
37039
  default: ''
37042
37040
  },
37043
37041
  zIndex: {
37044
- type: [Number, String],
37045
- default: 'default'
37042
+ type: [Number, String]
37046
37043
  },
37047
37044
  multiInstance: {
37048
37045
  type: Boolean,
@@ -37051,10 +37048,6 @@
37051
37048
  transfer: {
37052
37049
  type: Boolean,
37053
37050
  default: false
37054
- },
37055
- appendToBody: {
37056
- type: Boolean,
37057
- default: false
37058
37051
  }
37059
37052
  },
37060
37053
  data: function data() {
@@ -37119,8 +37112,6 @@
37119
37112
  this.$el.parentNode.removeChild(this.$el);
37120
37113
  }
37121
37114
  },
37122
- beforeDestroy: function beforeDestroy() {
37123
- },
37124
37115
  methods: {
37125
37116
  isScrollY: function isScrollY() {
37126
37117
  return document.documentElement.offsetHeight > document.documentElement.clientHeight;
@@ -45989,8 +45980,16 @@
45989
45980
  components: {
45990
45981
  vnodeIcon: {
45991
45982
  functional: true,
45992
- render: function render(h, ctx) {
45993
- return ctx.props.icon;
45983
+ render: function render(_, _ref) {
45984
+ var props = _ref.props;
45985
+ return props.icon;
45986
+ }
45987
+ },
45988
+ ContentVnode: {
45989
+ functional: true,
45990
+ render: function render(_, _ref2) {
45991
+ var props = _ref2.props;
45992
+ return props.content;
45994
45993
  }
45995
45994
  }
45996
45995
  },
@@ -46018,9 +46017,9 @@
46018
46017
  this.$emit('select', item);
46019
46018
  },
46020
46019
  makeClass: function makeClass(item) {
46021
- var _ref;
46020
+ var _ref3;
46022
46021
  var classPrefix = 'bk-timeline-item-';
46023
- var classNames = [(_ref = {}, _defineProperty(_ref, "".concat(classPrefix, "filled"), item.filled), _defineProperty(_ref, "".concat(classPrefix, "custom-icon"), this.isCustomIcon(item.icon)), _ref)];
46022
+ var classNames = [(_ref3 = {}, _defineProperty(_ref3, "".concat(classPrefix, "filled"), item.filled), _defineProperty(_ref3, "".concat(classPrefix, "custom-icon"), this.isCustomIcon(item.icon)), _ref3)];
46024
46023
  var dotColors = ['blue', 'red', 'green', 'yellow', 'gray'];
46025
46024
  if (item.size) {
46026
46025
  classNames.push("".concat(classPrefix).concat(item.size));
@@ -46040,9 +46039,6 @@
46040
46039
  return false;
46041
46040
  }
46042
46041
  },
46043
- nodeContent: function nodeContent(data, index) {
46044
- this.$slots["nodeContent".concat(index)] = [data.content];
46045
- },
46046
46042
  isBuiltinIcon: function isBuiltinIcon(icon) {
46047
46043
  return typeof icon === 'string';
46048
46044
  },
@@ -46101,16 +46097,20 @@
46101
46097
  }) : _vm._e()];
46102
46098
  }, null, item), item.content ? _c('div', {
46103
46099
  staticClass: "bk-timeline-content"
46104
- }, [_vm.isNode(item) ? [_vm._t('nodeContent' + index, function () {
46105
- return [_vm._v(_vm._s(_vm.nodeContent(item, index)))];
46106
- })] : [_c('div', {
46107
- attrs: {
46108
- "title": _vm.computedTitle(item.content)
46109
- },
46110
- domProps: {
46111
- "innerHTML": _vm._s(item.content)
46112
- }
46113
- })]], 2) : _vm._e()], 2)]);
46100
+ }, [_vm._t("nodeContent" + index, function () {
46101
+ return [_vm.isNode(item) ? [_c('content-vnode', {
46102
+ attrs: {
46103
+ "content": item.content
46104
+ }
46105
+ })] : [_c('div', {
46106
+ attrs: {
46107
+ "title": _vm.computedTitle(item.content)
46108
+ },
46109
+ domProps: {
46110
+ "innerHTML": _vm._s(item.content)
46111
+ }
46112
+ })]];
46113
+ }, null, item)], 2) : _vm._e()], 2)]);
46114
46114
  }), 0);
46115
46115
  };
46116
46116
  var __vue_staticRenderFns__$17 = [];