bkui-vue 2.0.2-beta.45 → 2.0.2-beta.46

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 (154) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7198 -7008
  3. package/dist/index.umd.js +50 -45
  4. package/lib/affix/index.js +12 -14
  5. package/lib/alert/index.js +12 -14
  6. package/lib/animate-number/index.js +11 -12
  7. package/lib/backtop/index.js +10 -11
  8. package/lib/badge/index.js +12 -14
  9. package/lib/breadcrumb/index.js +12 -14
  10. package/lib/button/index.js +12 -14
  11. package/lib/card/index.js +12 -14
  12. package/lib/cascader/index.js +94 -101
  13. package/lib/checkbox/index.js +37 -35
  14. package/lib/code-diff/index.js +1171 -675
  15. package/lib/collapse/index.js +44 -42
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +59 -60
  18. package/lib/config-provider/index.js +12 -14
  19. package/lib/container/index.js +21 -25
  20. package/lib/date-picker/index.js +58 -51
  21. package/lib/dialog/index.js +53 -474
  22. package/lib/directives/index.js +37 -34
  23. package/lib/divider/index.js +2 -3
  24. package/lib/dropdown/index.js +17 -21
  25. package/lib/exception/index.js +14 -17
  26. package/lib/fixed-navbar/index.js +2 -3
  27. package/lib/form/index.js +37 -34
  28. package/lib/icon/angle-double-down-line.js +29 -36
  29. package/lib/icon/angle-double-left-line.js +29 -36
  30. package/lib/icon/angle-double-left.js +29 -36
  31. package/lib/icon/angle-double-right-line.js +29 -36
  32. package/lib/icon/angle-double-right.js +29 -36
  33. package/lib/icon/angle-double-up-line.js +29 -36
  34. package/lib/icon/angle-down-fill.js +29 -36
  35. package/lib/icon/angle-down-line.js +29 -36
  36. package/lib/icon/angle-down.js +29 -36
  37. package/lib/icon/angle-left.js +29 -36
  38. package/lib/icon/angle-right.js +29 -36
  39. package/lib/icon/angle-up-fill.js +29 -36
  40. package/lib/icon/angle-up.js +29 -36
  41. package/lib/icon/archive-fill.js +29 -36
  42. package/lib/icon/arrows-left.js +29 -36
  43. package/lib/icon/arrows-right.js +29 -36
  44. package/lib/icon/assistant.js +29 -36
  45. package/lib/icon/audio-fill.js +29 -36
  46. package/lib/icon/bk.js +29 -36
  47. package/lib/icon/circle.js +29 -36
  48. package/lib/icon/close-line.js +29 -36
  49. package/lib/icon/close.js +29 -36
  50. package/lib/icon/code.js +29 -36
  51. package/lib/icon/cog-shape.js +29 -36
  52. package/lib/icon/collapse-left.js +29 -36
  53. package/lib/icon/copy-shape.js +29 -36
  54. package/lib/icon/copy.js +29 -36
  55. package/lib/icon/data-shape.js +29 -36
  56. package/lib/icon/del.js +29 -36
  57. package/lib/icon/doc-fill.js +29 -36
  58. package/lib/icon/done.js +29 -36
  59. package/lib/icon/down-shape.js +29 -36
  60. package/lib/icon/down-small.js +29 -36
  61. package/lib/icon/edit-line.js +29 -36
  62. package/lib/icon/ellipsis.js +29 -36
  63. package/lib/icon/enlarge-line.js +29 -36
  64. package/lib/icon/error.js +29 -36
  65. package/lib/icon/excel-fill.js +29 -36
  66. package/lib/icon/exclamation-circle-shape.js +29 -36
  67. package/lib/icon/eye.js +29 -36
  68. package/lib/icon/filliscreen-line.js +29 -36
  69. package/lib/icon/fix-line.js +29 -36
  70. package/lib/icon/fix-shape.js +29 -36
  71. package/lib/icon/folder-open.js +29 -36
  72. package/lib/icon/folder-shape-open.js +29 -36
  73. package/lib/icon/folder-shape.js +29 -36
  74. package/lib/icon/folder.js +29 -36
  75. package/lib/icon/funnel.js +29 -36
  76. package/lib/icon/grag-fill.js +29 -36
  77. package/lib/icon/help-document-fill.js +29 -36
  78. package/lib/icon/help-fill.js +29 -36
  79. package/lib/icon/help.js +29 -36
  80. package/lib/icon/image-fill.js +29 -36
  81. package/lib/icon/img-error.js +29 -36
  82. package/lib/icon/img-placehoulder.js +29 -36
  83. package/lib/icon/info-line.js +29 -36
  84. package/lib/icon/info.js +29 -36
  85. package/lib/icon/left-shape.js +29 -36
  86. package/lib/icon/left-turn-line.js +29 -36
  87. package/lib/icon/loading.js +29 -36
  88. package/lib/icon/narrow-line.js +29 -36
  89. package/lib/icon/original.js +29 -36
  90. package/lib/icon/pdf-fill.js +29 -36
  91. package/lib/icon/play-shape.js +29 -36
  92. package/lib/icon/plus.js +29 -36
  93. package/lib/icon/ppt-fill.js +29 -36
  94. package/lib/icon/qq.js +29 -36
  95. package/lib/icon/right-shape.js +29 -36
  96. package/lib/icon/right-turn-line.js +29 -36
  97. package/lib/icon/search.js +29 -36
  98. package/lib/icon/share.js +29 -36
  99. package/lib/icon/spinner.js +29 -36
  100. package/lib/icon/success.js +29 -36
  101. package/lib/icon/switcher-loading.js +29 -36
  102. package/lib/icon/text-all.js +29 -36
  103. package/lib/icon/text-file.js +29 -36
  104. package/lib/icon/text-fill.js +29 -36
  105. package/lib/icon/transfer.js +29 -36
  106. package/lib/icon/tree-application-shape.js +29 -36
  107. package/lib/icon/unfull-screen.js +29 -36
  108. package/lib/icon/unvisible.js +29 -36
  109. package/lib/icon/up-shape.js +29 -36
  110. package/lib/icon/upload.js +29 -36
  111. package/lib/icon/video-fill.js +29 -36
  112. package/lib/icon/warn.js +29 -36
  113. package/lib/icon/weixin-pro.js +29 -36
  114. package/lib/icon/weixin.js +29 -36
  115. package/lib/image/index.js +49 -47
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +62 -461
  118. package/lib/input/index.js +62 -60
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +22 -25
  121. package/lib/menu/index.js +36 -34
  122. package/lib/message/index.js +34 -31
  123. package/lib/modal/index.js +12 -14
  124. package/lib/navigation/index.js +7 -9
  125. package/lib/notify/index.js +12 -14
  126. package/lib/overflow-title/index.js +9 -10
  127. package/lib/pagination/index.js +32 -29
  128. package/lib/pop-confirm/index.js +4 -5
  129. package/lib/popover/index.js +209 -136
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +59 -452
  132. package/lib/progress/index.js +16 -19
  133. package/lib/radio/index.js +37 -34
  134. package/lib/rate/index.js +12 -14
  135. package/lib/resize-layout/index.js +18 -20
  136. package/lib/scrollbar/index.js +51 -58
  137. package/lib/search-select/index.js +222 -595
  138. package/lib/select/index.js +111 -463
  139. package/lib/shared/index.js +83 -95
  140. package/lib/sideslider/index.js +43 -441
  141. package/lib/slider/index.js +49 -446
  142. package/lib/steps/index.js +60 -458
  143. package/lib/swiper/index.js +15 -17
  144. package/lib/switcher/index.js +12 -14
  145. package/lib/tab/index.js +42 -40
  146. package/lib/table/index.js +152 -501
  147. package/lib/tag/index.js +12 -14
  148. package/lib/tag-input/index.js +47 -41
  149. package/lib/timeline/index.js +1 -0
  150. package/lib/transfer/index.js +22 -17
  151. package/lib/tree/index.js +73 -66
  152. package/lib/upload/index.js +136 -487
  153. package/lib/virtual-render/index.js +47 -51
  154. package/package.json +1 -1
@@ -40,42 +40,47 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
40
40
  var y = x => () => x
41
41
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
42
42
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
43
- function _arrayLikeToArray(arr, len) {
44
- if (len == null || len > arr.length) len = arr.length;
45
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
46
- return arr2;
43
+ function _arrayLikeToArray(r, a) {
44
+ (null == a || a > r.length) && (a = r.length);
45
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
46
+ return n;
47
47
  }
48
+
48
49
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
49
50
 
50
- function _arrayWithoutHoles(arr) {
51
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
51
+ function _arrayWithoutHoles(r) {
52
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
52
53
  }
54
+
53
55
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
54
- function _iterableToArray(iter) {
55
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
56
+ function _iterableToArray(r) {
57
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
56
58
  }
59
+
57
60
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
58
61
 
59
- function _unsupportedIterableToArray(o, minLen) {
60
- if (!o) return;
61
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
62
- var n = Object.prototype.toString.call(o).slice(8, -1);
63
- if (n === "Object" && o.constructor) n = o.constructor.name;
64
- if (n === "Map" || n === "Set") return Array.from(o);
65
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
62
+ function _unsupportedIterableToArray(r, a) {
63
+ if (r) {
64
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
65
+ var t = {}.toString.call(r).slice(8, -1);
66
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
67
+ }
66
68
  }
69
+
67
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
68
71
  function _nonIterableSpread() {
69
72
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
70
73
  }
74
+
71
75
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
72
76
 
73
77
 
74
78
 
75
79
 
76
- function _toConsumableArray(arr) {
77
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
80
+ function _toConsumableArray(r) {
81
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
78
82
  }
83
+
79
84
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
80
85
  function _typeof(o) {
81
86
  "@babel/helpers - typeof";
@@ -86,6 +91,7 @@ function _typeof(o) {
86
91
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
87
92
  }, _typeof(o);
88
93
  }
94
+
89
95
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
90
96
 
91
97
  function toPrimitive(t, r) {
@@ -98,29 +104,26 @@ function toPrimitive(t, r) {
98
104
  }
99
105
  return ("string" === r ? String : Number)(t);
100
106
  }
107
+
101
108
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
102
109
 
103
110
 
104
111
  function toPropertyKey(t) {
105
112
  var i = toPrimitive(t, "string");
106
- return "symbol" == _typeof(i) ? i : String(i);
113
+ return "symbol" == _typeof(i) ? i : i + "";
107
114
  }
115
+
108
116
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
109
117
 
110
- function _defineProperty(obj, key, value) {
111
- key = toPropertyKey(key);
112
- if (key in obj) {
113
- Object.defineProperty(obj, key, {
114
- value: value,
115
- enumerable: true,
116
- configurable: true,
117
- writable: true
118
- });
119
- } else {
120
- obj[key] = value;
121
- }
122
- return obj;
118
+ function _defineProperty(e, r, t) {
119
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
120
+ value: t,
121
+ enumerable: !0,
122
+ configurable: !0,
123
+ writable: !0
124
+ }) : e[r] = t, e;
123
125
  }
126
+
124
127
  ;// CONCATENATED MODULE: external "vue"
125
128
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
126
129
  var external_vue_y = x => () => x
@@ -391,30 +394,24 @@ var virtualRenderProps = _objectSpread({
391
394
  };
392
395
  });
393
396
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
394
- function _classCallCheck(instance, Constructor) {
395
- if (!(instance instanceof Constructor)) {
396
- throw new TypeError("Cannot call a class as a function");
397
- }
397
+ function _classCallCheck(a, n) {
398
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
398
399
  }
400
+
399
401
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
400
402
 
401
- function _defineProperties(target, props) {
402
- for (var i = 0; i < props.length; i++) {
403
- var descriptor = props[i];
404
- descriptor.enumerable = descriptor.enumerable || false;
405
- descriptor.configurable = true;
406
- if ("value" in descriptor) descriptor.writable = true;
407
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
403
+ function _defineProperties(e, r) {
404
+ for (var t = 0; t < r.length; t++) {
405
+ var o = r[t];
406
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
408
407
  }
409
408
  }
410
- function _createClass(Constructor, protoProps, staticProps) {
411
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
412
- if (staticProps) _defineProperties(Constructor, staticProps);
413
- Object.defineProperty(Constructor, "prototype", {
414
- writable: false
415
- });
416
- return Constructor;
409
+ function _createClass(e, r, t) {
410
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
411
+ writable: !1
412
+ }), e;
417
413
  }
414
+
418
415
  ;// CONCATENATED MODULE: external "lodash/throttle"
419
416
  var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
420
417
  var throttle_y = x => () => x
@@ -553,7 +550,7 @@ var VisibleRender = /*#__PURE__*/function () {
553
550
  this.delay = throttleDelay;
554
551
  this.delegateWrapper = undefined;
555
552
  }
556
- _createClass(VisibleRender, [{
553
+ return _createClass(VisibleRender, [{
557
554
  key: "scrollHeight",
558
555
  get: function get() {
559
556
  var _this$delegateWrapper, _this$delegateWrapper2, _this$wrapper;
@@ -630,7 +627,6 @@ var VisibleRender = /*#__PURE__*/function () {
630
627
  this.binding = binding;
631
628
  }
632
629
  }]);
633
- return VisibleRender;
634
630
  }();
635
631
  var instance = null;
636
632
  /* harmony default export */ const v_virtual_render = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.2-beta.45",
3
+ "version": "2.0.2-beta.46",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",