bkui-vue 2.0.2-beta.48 → 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
@@ -686,10 +686,9 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
686
686
  var y = x => () => x
687
687
  const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
688
688
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
689
- function _arrayWithHoles(r) {
690
- if (Array.isArray(r)) return r;
689
+ function _arrayWithHoles(arr) {
690
+ if (Array.isArray(arr)) return arr;
691
691
  }
692
-
693
692
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
694
693
  function _iterableToArrayLimit(r, l) {
695
694
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -718,63 +717,64 @@ function _iterableToArrayLimit(r, l) {
718
717
  return a;
719
718
  }
720
719
  }
721
-
722
720
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
723
- function _arrayLikeToArray(r, a) {
724
- (null == a || a > r.length) && (a = r.length);
725
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
726
- return n;
721
+ function _arrayLikeToArray(arr, len) {
722
+ if (len == null || len > arr.length) len = arr.length;
723
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
724
+ return arr2;
727
725
  }
728
-
729
726
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
730
727
 
731
- function _unsupportedIterableToArray(r, a) {
732
- if (r) {
733
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
734
- var t = {}.toString.call(r).slice(8, -1);
735
- 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;
736
- }
728
+ function _unsupportedIterableToArray(o, minLen) {
729
+ if (!o) return;
730
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
731
+ var n = Object.prototype.toString.call(o).slice(8, -1);
732
+ if (n === "Object" && o.constructor) n = o.constructor.name;
733
+ if (n === "Map" || n === "Set") return Array.from(o);
734
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
737
735
  }
738
-
739
736
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
740
737
  function _nonIterableRest() {
741
738
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
742
739
  }
743
-
744
740
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
745
741
 
746
742
 
747
743
 
748
744
 
749
- function _slicedToArray(r, e) {
750
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
745
+ function _slicedToArray(arr, i) {
746
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
751
747
  }
752
-
753
748
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
754
- function _objectWithoutPropertiesLoose(r, e) {
755
- if (null == r) return {};
756
- var t = {};
757
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
758
- if (-1 !== e.indexOf(n)) continue;
759
- t[n] = r[n];
749
+ function _objectWithoutPropertiesLoose(source, excluded) {
750
+ if (source == null) return {};
751
+ var target = {};
752
+ var sourceKeys = Object.keys(source);
753
+ var key, i;
754
+ for (i = 0; i < sourceKeys.length; i++) {
755
+ key = sourceKeys[i];
756
+ if (excluded.indexOf(key) >= 0) continue;
757
+ target[key] = source[key];
760
758
  }
761
- return t;
759
+ return target;
762
760
  }
763
-
764
761
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
765
762
 
766
- function _objectWithoutProperties(e, t) {
767
- if (null == e) return {};
768
- var o,
769
- r,
770
- i = _objectWithoutPropertiesLoose(e, t);
763
+ function _objectWithoutProperties(source, excluded) {
764
+ if (source == null) return {};
765
+ var target = _objectWithoutPropertiesLoose(source, excluded);
766
+ var key, i;
771
767
  if (Object.getOwnPropertySymbols) {
772
- var n = Object.getOwnPropertySymbols(e);
773
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
768
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
769
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
770
+ key = sourceSymbolKeys[i];
771
+ if (excluded.indexOf(key) >= 0) continue;
772
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
773
+ target[key] = source[key];
774
+ }
774
775
  }
775
- return i;
776
+ return target;
776
777
  }
777
-
778
778
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
779
779
  function _typeof(o) {
780
780
  "@babel/helpers - typeof";
@@ -785,7 +785,6 @@ function _typeof(o) {
785
785
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
786
786
  }, _typeof(o);
787
787
  }
788
-
789
788
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
790
789
 
791
790
  function toPrimitive(t, r) {
@@ -798,26 +797,29 @@ function toPrimitive(t, r) {
798
797
  }
799
798
  return ("string" === r ? String : Number)(t);
800
799
  }
801
-
802
800
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
803
801
 
804
802
 
805
803
  function toPropertyKey(t) {
806
804
  var i = toPrimitive(t, "string");
807
- return "symbol" == _typeof(i) ? i : i + "";
805
+ return "symbol" == _typeof(i) ? i : String(i);
808
806
  }
809
-
810
807
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
811
808
 
812
- function _defineProperty(e, r, t) {
813
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
814
- value: t,
815
- enumerable: !0,
816
- configurable: !0,
817
- writable: !0
818
- }) : e[r] = t, e;
809
+ function _defineProperty(obj, key, value) {
810
+ key = toPropertyKey(key);
811
+ if (key in obj) {
812
+ Object.defineProperty(obj, key, {
813
+ value: value,
814
+ enumerable: true,
815
+ configurable: true,
816
+ writable: true
817
+ });
818
+ } else {
819
+ obj[key] = value;
820
+ }
821
+ return obj;
819
822
  }
820
-
821
823
  ;// CONCATENATED MODULE: external "vue"
822
824
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
823
825
  var external_vue_y = x => () => x
@@ -827,9 +829,9 @@ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x
827
829
  var config_provider_y = x => () => x
828
830
  const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
829
831
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
830
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = clickoutside_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
831
- function clickoutside_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return clickoutside_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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) ? clickoutside_arrayLikeToArray(r, a) : void 0; } }
832
- function clickoutside_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
832
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
833
+ function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return clickoutside_arrayLikeToArray(o, minLen); }
834
+ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
833
835
  /*
834
836
  * Tencent is pleased to support the open source community by making
835
837
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1113,29 +1115,25 @@ var mousewheel = {
1113
1115
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1114
1116
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1115
1117
 
1116
- function _arrayWithoutHoles(r) {
1117
- if (Array.isArray(r)) return _arrayLikeToArray(r);
1118
+ function _arrayWithoutHoles(arr) {
1119
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1118
1120
  }
1119
-
1120
1121
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1121
- function _iterableToArray(r) {
1122
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1122
+ function _iterableToArray(iter) {
1123
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1123
1124
  }
1124
-
1125
1125
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1126
1126
  function _nonIterableSpread() {
1127
1127
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1128
1128
  }
1129
-
1130
1129
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1131
1130
 
1132
1131
 
1133
1132
 
1134
1133
 
1135
- function _toConsumableArray(r) {
1136
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1134
+ function _toConsumableArray(arr) {
1135
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1137
1136
  }
1138
-
1139
1137
  ;// CONCATENATED MODULE: external "@popperjs/core"
1140
1138
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1141
1139
  var core_y = x => () => x
package/lib/link/index.js CHANGED
@@ -40,7 +40,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
40
40
  ;// CONCATENATED MODULE: external "vue"
41
41
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
42
42
  var external_vue_y = x => () => x
43
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
43
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
44
44
  ;// CONCATENATED MODULE: external "vue-types"
45
45
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
46
46
  var external_vue_types_y = x => () => x
@@ -88,7 +88,7 @@ var LinkThemeEnum;
88
88
  LinkThemeEnum["SUCCESS"] = "success";
89
89
  LinkThemeEnum["WARNING"] = "warning";
90
90
  })(LinkThemeEnum || (LinkThemeEnum = {}));
91
- /* harmony default export */ const src_link = (defineComponent({
91
+ /* harmony default export */ const src_link = ((0,external_vue_namespaceObject.defineComponent)({
92
92
  name: 'Link',
93
93
  props: {
94
94
  theme: (0,external_vue_types_namespaceObject.toType)('linkTheme', {}).def(LinkThemeEnum.DEFAULT),
@@ -44,7 +44,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
44
44
  ;// CONCATENATED MODULE: external "vue"
45
45
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
46
46
  var external_vue_y = x => () => x
47
- const external_vue_namespaceObject = external_vue_x({ ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
47
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
48
48
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
49
49
  function _typeof(o) {
50
50
  "@babel/helpers - typeof";
@@ -55,7 +55,6 @@ function _typeof(o) {
55
55
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
56
56
  }, _typeof(o);
57
57
  }
58
-
59
58
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
60
59
 
61
60
  function toPrimitive(t, r) {
@@ -68,32 +67,38 @@ function toPrimitive(t, r) {
68
67
  }
69
68
  return ("string" === r ? String : Number)(t);
70
69
  }
71
-
72
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
73
71
 
74
72
 
75
73
  function toPropertyKey(t) {
76
74
  var i = toPrimitive(t, "string");
77
- return "symbol" == _typeof(i) ? i : i + "";
75
+ return "symbol" == _typeof(i) ? i : String(i);
78
76
  }
79
-
80
77
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
81
78
 
82
- function _defineProperty(e, r, t) {
83
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
84
- value: t,
85
- enumerable: !0,
86
- configurable: !0,
87
- writable: !0
88
- }) : e[r] = t, e;
79
+ function _defineProperty(obj, key, value) {
80
+ key = toPropertyKey(key);
81
+ if (key in obj) {
82
+ Object.defineProperty(obj, key, {
83
+ value: value,
84
+ enumerable: true,
85
+ configurable: true,
86
+ writable: true
87
+ });
88
+ } else {
89
+ obj[key] = value;
90
+ }
91
+ return obj;
89
92
  }
90
-
91
93
  ;// CONCATENATED MODULE: external "../config-provider"
92
94
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
93
95
  var config_provider_y = x => () => x
94
96
  const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
95
97
  ;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
96
98
 
99
+
100
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
101
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
97
102
  /*
98
103
  * Tencent is pleased to support the open source community by making
99
104
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -120,8 +125,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
120
125
  * IN THE SOFTWARE.
121
126
  */
122
127
 
123
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
124
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
125
128
 
126
129
 
127
130
  var BkLoadingMode;
@@ -165,7 +168,7 @@ var loadingTypes = {
165
168
  zIndex: shared_namespaceObject.PropTypes.number.def(1),
166
169
  isDirective: shared_namespaceObject.PropTypes.bool.def(false)
167
170
  };
168
- /* harmony default export */ const loading = (defineComponent({
171
+ /* harmony default export */ const loading = ((0,external_vue_namespaceObject.defineComponent)({
169
172
  name: 'Loading',
170
173
  props: loadingTypes,
171
174
  setup: function setup(props, ctx) {
@@ -185,27 +188,27 @@ var loadingTypes = {
185
188
  "class": "oval oval-".concat(i)
186
189
  }, null);
187
190
  })]);
188
- var zIndexStyle = computed(function () {
191
+ var zIndexStyle = (0,external_vue_namespaceObject.computed)(function () {
189
192
  return {
190
193
  zIndex: props.zIndex
191
194
  };
192
195
  });
193
- var maskStyle = computed(function () {
196
+ var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
194
197
  return _objectSpread({
195
198
  opacity: props.opacity,
196
199
  backgroundColor: props.color
197
200
  }, zIndexStyle.value);
198
201
  });
199
- var loadingWrapperCls = computed(function () {
202
+ var loadingWrapperCls = (0,external_vue_namespaceObject.computed)(function () {
200
203
  return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('loading-wrapper')), props.loading), "".concat(resolveClassName('nested-loading')), !!ctx.slots["default"]), "".concat(resolveClassName('directive-loading')), props.isDirective));
201
204
  });
202
- var containerCls = computed(function () {
205
+ var containerCls = (0,external_vue_namespaceObject.computed)(function () {
203
206
  return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName("loading-size-".concat(props.size))), !!props.size), "".concat(resolveClassName("loading-".concat(props.theme))), !!props.theme), resolveClassName('loading-indicator'));
204
207
  });
205
- var hasTitle = computed(function () {
208
+ var hasTitle = (0,external_vue_namespaceObject.computed)(function () {
206
209
  return !!props.title;
207
210
  });
208
- var indicator = computed(function () {
211
+ var indicator = (0,external_vue_namespaceObject.computed)(function () {
209
212
  var isSpinMode = props.mode === BkLoadingMode.Spin;
210
213
  if (typeof props.indicator === 'function') {
211
214
  return (0,external_vue_namespaceObject.createVNode)(props.indicator, null, null);
package/lib/menu/index.js CHANGED
@@ -51,7 +51,6 @@ function _typeof(o) {
51
51
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
52
52
  }, _typeof(o);
53
53
  }
54
-
55
54
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
56
55
 
57
56
  function toPrimitive(t, r) {
@@ -64,68 +63,66 @@ function toPrimitive(t, r) {
64
63
  }
65
64
  return ("string" === r ? String : Number)(t);
66
65
  }
67
-
68
66
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
69
67
 
70
68
 
71
69
  function toPropertyKey(t) {
72
70
  var i = toPrimitive(t, "string");
73
- return "symbol" == _typeof(i) ? i : i + "";
71
+ return "symbol" == _typeof(i) ? i : String(i);
74
72
  }
75
-
76
73
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
77
74
 
78
- function _defineProperty(e, r, t) {
79
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
80
- value: t,
81
- enumerable: !0,
82
- configurable: !0,
83
- writable: !0
84
- }) : e[r] = t, e;
75
+ function _defineProperty(obj, key, value) {
76
+ key = toPropertyKey(key);
77
+ if (key in obj) {
78
+ Object.defineProperty(obj, key, {
79
+ value: value,
80
+ enumerable: true,
81
+ configurable: true,
82
+ writable: true
83
+ });
84
+ } else {
85
+ obj[key] = value;
86
+ }
87
+ return obj;
85
88
  }
86
-
87
89
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
88
- function _arrayLikeToArray(r, a) {
89
- (null == a || a > r.length) && (a = r.length);
90
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
91
- return n;
90
+ function _arrayLikeToArray(arr, len) {
91
+ if (len == null || len > arr.length) len = arr.length;
92
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
93
+ return arr2;
92
94
  }
93
-
94
95
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
95
96
 
96
- function _arrayWithoutHoles(r) {
97
- if (Array.isArray(r)) return _arrayLikeToArray(r);
97
+ function _arrayWithoutHoles(arr) {
98
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
98
99
  }
99
-
100
100
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
101
- function _iterableToArray(r) {
102
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
101
+ function _iterableToArray(iter) {
102
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
103
103
  }
104
-
105
104
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
106
105
 
107
- function _unsupportedIterableToArray(r, a) {
108
- if (r) {
109
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
110
- var t = {}.toString.call(r).slice(8, -1);
111
- 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;
112
- }
106
+ function _unsupportedIterableToArray(o, minLen) {
107
+ if (!o) return;
108
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
109
+ var n = Object.prototype.toString.call(o).slice(8, -1);
110
+ if (n === "Object" && o.constructor) n = o.constructor.name;
111
+ if (n === "Map" || n === "Set") return Array.from(o);
112
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
113
113
  }
114
-
115
114
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
116
115
  function _nonIterableSpread() {
117
116
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
118
117
  }
119
-
120
118
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
121
119
 
122
120
 
123
121
 
124
122
 
125
- function _toConsumableArray(r) {
126
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
123
+ function _toConsumableArray(arr) {
124
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
127
125
  }
128
-
129
126
  ;// CONCATENATED MODULE: external "vue"
130
127
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
131
128
  var external_vue_y = x => () => x
@@ -451,7 +448,8 @@ var menuProps = {
451
448
  */
452
449
 
453
450
 
454
- /* harmony default export */ const menu_group = (defineComponent({
451
+
452
+ /* harmony default export */ const menu_group = ((0,external_vue_namespaceObject.defineComponent)({
455
453
  name: 'MenuGroup',
456
454
  props: {
457
455
  name: {
@@ -469,7 +467,7 @@ var menuProps = {
469
467
  collapse = _useMenuInject.collapse;
470
468
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
471
469
  resolveClassName = _usePrefix.resolveClassName;
472
- var displayTitle = computed(function () {
470
+ var displayTitle = (0,external_vue_namespaceObject.computed)(function () {
473
471
  if (collapse.value) {
474
472
  // 收起
475
473
  return props.foldName !== undefined ? props.foldName : props.name;
@@ -982,7 +982,6 @@ function _typeof(o) {
982
982
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
983
983
  }, _typeof(o);
984
984
  }
985
-
986
985
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
987
986
 
988
987
  function toPrimitive(t, r) {
@@ -995,26 +994,29 @@ function toPrimitive(t, r) {
995
994
  }
996
995
  return ("string" === r ? String : Number)(t);
997
996
  }
998
-
999
997
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
1000
998
 
1001
999
 
1002
1000
  function toPropertyKey(t) {
1003
1001
  var i = toPrimitive(t, "string");
1004
- return "symbol" == _typeof(i) ? i : i + "";
1002
+ return "symbol" == _typeof(i) ? i : String(i);
1005
1003
  }
1006
-
1007
1004
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1008
1005
 
1009
- function _defineProperty(e, r, t) {
1010
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1011
- value: t,
1012
- enumerable: !0,
1013
- configurable: !0,
1014
- writable: !0
1015
- }) : e[r] = t, e;
1006
+ function _defineProperty(obj, key, value) {
1007
+ key = toPropertyKey(key);
1008
+ if (key in obj) {
1009
+ Object.defineProperty(obj, key, {
1010
+ value: value,
1011
+ enumerable: true,
1012
+ configurable: true,
1013
+ writable: true
1014
+ });
1015
+ } else {
1016
+ obj[key] = value;
1017
+ }
1018
+ return obj;
1016
1019
  }
1017
-
1018
1020
  ;// CONCATENATED MODULE: external "vue"
1019
1021
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1020
1022
  var y = x => () => x
@@ -1140,47 +1142,42 @@ function use_message_close(id, position, spacing, userOnClose) {
1140
1142
  }
1141
1143
  /* harmony default export */ const use_message = (Message);
1142
1144
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
1143
- function _arrayLikeToArray(r, a) {
1144
- (null == a || a > r.length) && (a = r.length);
1145
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1146
- return n;
1145
+ function _arrayLikeToArray(arr, len) {
1146
+ if (len == null || len > arr.length) len = arr.length;
1147
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1148
+ return arr2;
1147
1149
  }
1148
-
1149
1150
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1150
1151
 
1151
- function _arrayWithoutHoles(r) {
1152
- if (Array.isArray(r)) return _arrayLikeToArray(r);
1152
+ function _arrayWithoutHoles(arr) {
1153
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1153
1154
  }
1154
-
1155
1155
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1156
- function _iterableToArray(r) {
1157
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1156
+ function _iterableToArray(iter) {
1157
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1158
1158
  }
1159
-
1160
1159
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1161
1160
 
1162
- function _unsupportedIterableToArray(r, a) {
1163
- if (r) {
1164
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
1165
- var t = {}.toString.call(r).slice(8, -1);
1166
- 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;
1167
- }
1161
+ function _unsupportedIterableToArray(o, minLen) {
1162
+ if (!o) return;
1163
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1164
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1165
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1166
+ if (n === "Map" || n === "Set") return Array.from(o);
1167
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1168
1168
  }
1169
-
1170
1169
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1171
1170
  function _nonIterableSpread() {
1172
1171
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1173
1172
  }
1174
-
1175
1173
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1176
1174
 
1177
1175
 
1178
1176
 
1179
1177
 
1180
- function _toConsumableArray(r) {
1181
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1178
+ function _toConsumableArray(arr) {
1179
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1182
1180
  }
1183
-
1184
1181
  ;// CONCATENATED MODULE: external "vue-types"
1185
1182
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1186
1183
  var external_vue_types_y = x => () => x