bkui-vue 2.0.2-beta.47 → 2.0.2-beta.49

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