bk-magic-vue 2.3.2-beta.4 → 2.3.2-beta.6

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 (111) hide show
  1. package/dist/bk-magic-vue.css +4 -4
  2. package/dist/bk-magic-vue.js +1507 -2471
  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/alert.js +5 -11
  10. package/lib/animate-number.js +2 -9
  11. package/lib/badge.js +7 -25
  12. package/lib/big-tree.js +2549 -2788
  13. package/lib/breadcrumb-item.js +3 -10
  14. package/lib/breadcrumb.js +1 -9
  15. package/lib/button.js +1 -9
  16. package/lib/card.js +41 -70
  17. package/lib/cascade.js +442 -698
  18. package/lib/checkbox-group.js +2 -16
  19. package/lib/checkbox.js +972 -1179
  20. package/lib/col.js +9 -17
  21. package/lib/collapse-item.js +1 -10
  22. package/lib/collapse.js +1 -9
  23. package/lib/color-picker.js +38 -96
  24. package/lib/compose-form-item.js +1 -4
  25. package/lib/container.js +3 -11
  26. package/lib/date-picker.js +202 -330
  27. package/lib/dialog.js +2572 -2782
  28. package/lib/diff.js +2 -10
  29. package/lib/directives/clickoutside.js +2 -2
  30. package/lib/directives/overflow-tips.js +57 -73
  31. package/lib/directives/tooltips.js +65 -79
  32. package/lib/directives/transfer-dom.js +1 -4
  33. package/lib/divider.js +1 -9
  34. package/lib/dropdown-menu.js +7 -17
  35. package/lib/exception.js +5 -14
  36. package/lib/fixed-navbar.js +2 -13
  37. package/lib/form-item.js +253 -483
  38. package/lib/form.js +5 -22
  39. package/lib/icon.js +4 -5
  40. package/lib/image-viewer.js +22 -35
  41. package/lib/image.js +45 -72
  42. package/lib/info-box.js +2701 -2918
  43. package/lib/input.js +10 -33
  44. package/lib/link.js +1 -9
  45. package/lib/loading.js +9 -21
  46. package/lib/locale/index.js +5 -11
  47. package/lib/message.js +10 -22
  48. package/lib/navigation-menu-group.js +0 -4
  49. package/lib/navigation-menu-item.js +6 -19
  50. package/lib/navigation-menu.js +1046 -1252
  51. package/lib/navigation.js +34 -39
  52. package/lib/notify.js +20 -34
  53. package/lib/option-group.js +5 -10
  54. package/lib/option.js +15 -20
  55. package/lib/pagination.js +6706 -7013
  56. package/lib/popconfirm.js +66 -83
  57. package/lib/popover.js +55 -66
  58. package/lib/process.js +2 -17
  59. package/lib/progress.js +4 -10
  60. package/lib/radio-button.js +6 -13
  61. package/lib/radio-group.js +2 -9
  62. package/lib/radio.js +6 -13
  63. package/lib/rate.js +5 -21
  64. package/lib/resize-layout.js +11 -20
  65. package/lib/round-progress.js +1 -9
  66. package/lib/row.js +5 -18
  67. package/lib/search-select.js +409 -635
  68. package/lib/select.js +5989 -6261
  69. package/lib/sideslider.js +1560 -1769
  70. package/lib/slider.js +78 -127
  71. package/lib/star.js +3 -11
  72. package/lib/steps.js +1754 -1961
  73. package/lib/swiper.js +20 -33
  74. package/lib/switcher.js +3 -12
  75. package/lib/tab-panel.js +2 -9
  76. package/lib/tab.js +2330 -2536
  77. package/lib/table-column.js +328 -547
  78. package/lib/table-setting-content.js +321 -558
  79. package/lib/table.js +566 -917
  80. package/lib/tag-input.js +397 -649
  81. package/lib/tag.js +2 -10
  82. package/lib/time-picker.js +144 -219
  83. package/lib/timeline.js +23 -35
  84. package/lib/transfer.js +111 -161
  85. package/lib/transition.js +1 -9
  86. package/lib/tree.js +31 -75
  87. package/lib/ui/bk-magic-vue.css +4 -4
  88. package/lib/ui/bk-magic-vue.min.css +1 -1
  89. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  90. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  91. package/lib/ui/button.css +1 -1
  92. package/lib/ui/button.min.css +1 -1
  93. package/lib/ui/button.min.css.map +1 -1
  94. package/lib/ui/dialog.css +2 -2
  95. package/lib/ui/dialog.min.css +1 -1
  96. package/lib/ui/dialog.min.css.map +1 -1
  97. package/lib/ui/info-box.css +2 -2
  98. package/lib/ui/info-box.min.css +1 -1
  99. package/lib/ui/info-box.min.css.map +1 -1
  100. package/lib/ui/popconfirm.css +1 -1
  101. package/lib/ui/popconfirm.min.css +1 -1
  102. package/lib/ui/popconfirm.min.css.map +1 -1
  103. package/lib/upload.js +63 -87
  104. package/lib/utils/deepmerge.js +5 -11
  105. package/lib/utils/pinyin.js +5 -11
  106. package/lib/utils/pop-manager.js +2 -2
  107. package/lib/utils/tippy.js +48 -49
  108. package/lib/version-detail.js +5854 -6081
  109. package/lib/virtual-scroll.js +17 -23
  110. package/lib/zoom-image.js +3 -11
  111. package/package.json +1 -1
package/lib/timeline.js CHANGED
@@ -7,19 +7,12 @@
7
7
  function _typeof(obj) {
8
8
  "@babel/helpers - typeof";
9
9
 
10
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11
- _typeof = function (obj) {
12
- return typeof obj;
13
- };
14
- } else {
15
- _typeof = function (obj) {
16
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
- };
18
- }
19
-
20
- return _typeof(obj);
10
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
11
+ return typeof obj;
12
+ } : function (obj) {
13
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
14
+ }, _typeof(obj);
21
15
  }
22
-
23
16
  function _defineProperty(obj, key, value) {
24
17
  if (key in obj) {
25
18
  Object.defineProperty(obj, key, {
@@ -31,7 +24,6 @@
31
24
  } else {
32
25
  obj[key] = value;
33
26
  }
34
-
35
27
  return obj;
36
28
  }
37
29
 
@@ -221,14 +213,10 @@
221
213
  /* script */
222
214
  var __vue_script__ = script;
223
215
  /* template */
224
-
225
216
  var __vue_render__ = function __vue_render__() {
226
217
  var _vm = this;
227
-
228
218
  var _h = _vm.$createElement;
229
-
230
219
  var _c = _vm._self._c || _h;
231
-
232
220
  return _c('ul', {
233
221
  staticClass: "bk-timeline",
234
222
  class: _vm.extCls
@@ -249,21 +237,25 @@
249
237
  }
250
238
  }) : _vm._e()], 1)]) : _vm._e(), _c('div', {
251
239
  staticClass: "bk-timeline-section"
252
- }, [_vm._t("title" + index, [item.tag !== '' ? _c('div', {
253
- class: ['bk-timeline-title', {
254
- 'has-event': !!_vm.$listeners['select']
255
- }],
256
- domProps: {
257
- "innerHTML": _vm._s(item.tag)
258
- },
259
- on: {
260
- "click": function click($event) {
261
- _vm.toggle(item);
240
+ }, [_vm._t("title" + index, function () {
241
+ return [item.tag !== '' ? _c('div', {
242
+ class: ['bk-timeline-title', {
243
+ 'has-event': !!_vm.$listeners['select']
244
+ }],
245
+ domProps: {
246
+ "innerHTML": _vm._s(item.tag)
247
+ },
248
+ on: {
249
+ "click": function click($event) {
250
+ return _vm.toggle(item);
251
+ }
262
252
  }
263
- }
264
- }) : _vm._e()], null, item), item.content ? _c('div', {
253
+ }) : _vm._e()];
254
+ }, null, item), item.content ? _c('div', {
265
255
  staticClass: "bk-timeline-content"
266
- }, [_vm.isNode(item) ? [_vm._t('nodeContent' + index, [_vm._v(_vm._s(_vm.nodeContent(item, index)))])] : [_c('div', {
256
+ }, [_vm.isNode(item) ? [_vm._t('nodeContent' + index, function () {
257
+ return [_vm._v(_vm._s(_vm.nodeContent(item, index)))];
258
+ })] : [_c('div', {
267
259
  attrs: {
268
260
  "title": _vm.computedTitle(item.content)
269
261
  },
@@ -273,19 +265,15 @@
273
265
  })]], 2) : _vm._e()], 2)]);
274
266
  }), 0);
275
267
  };
276
-
277
268
  var __vue_staticRenderFns__ = [];
278
- /* style */
279
269
 
270
+ /* style */
280
271
  var __vue_inject_styles__ = undefined;
281
272
  /* scoped */
282
-
283
273
  var __vue_scope_id__ = undefined;
284
274
  /* module identifier */
285
-
286
275
  var __vue_module_identifier__ = undefined;
287
276
  /* functional template */
288
-
289
277
  var __vue_is_functional_template__ = false;
290
278
  /* style inject */
291
279