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

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 (157) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7204 -7010
  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.d.ts +12 -0
  146. package/lib/tab/index.js +53 -45
  147. package/lib/tab/props.d.ts +3 -0
  148. package/lib/tab/tab.d.ts +6 -0
  149. package/lib/table/index.js +152 -501
  150. package/lib/tag/index.js +12 -14
  151. package/lib/tag-input/index.js +47 -41
  152. package/lib/timeline/index.js +1 -0
  153. package/lib/transfer/index.js +22 -17
  154. package/lib/tree/index.js +73 -66
  155. package/lib/upload/index.js +136 -487
  156. package/lib/virtual-render/index.js +47 -51
  157. package/package.json +1 -1
@@ -686,9 +686,10 @@ 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(arr) {
690
- if (Array.isArray(arr)) return arr;
689
+ function _arrayWithHoles(r) {
690
+ if (Array.isArray(r)) return r;
691
691
  }
692
+
692
693
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
693
694
  function _iterableToArrayLimit(r, l) {
694
695
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -717,64 +718,63 @@ function _iterableToArrayLimit(r, l) {
717
718
  return a;
718
719
  }
719
720
  }
721
+
720
722
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
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;
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;
725
727
  }
728
+
726
729
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
727
730
 
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);
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
+ }
735
737
  }
738
+
736
739
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
737
740
  function _nonIterableRest() {
738
741
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
739
742
  }
743
+
740
744
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
741
745
 
742
746
 
743
747
 
744
748
 
745
- function _slicedToArray(arr, i) {
746
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
749
+ function _slicedToArray(r, e) {
750
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
747
751
  }
752
+
748
753
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
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];
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];
758
760
  }
759
- return target;
761
+ return t;
760
762
  }
763
+
761
764
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
762
765
 
763
- function _objectWithoutProperties(source, excluded) {
764
- if (source == null) return {};
765
- var target = _objectWithoutPropertiesLoose(source, excluded);
766
- var key, i;
766
+ function _objectWithoutProperties(e, t) {
767
+ if (null == e) return {};
768
+ var o,
769
+ r,
770
+ i = _objectWithoutPropertiesLoose(e, t);
767
771
  if (Object.getOwnPropertySymbols) {
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
- }
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]);
775
774
  }
776
- return target;
775
+ return i;
777
776
  }
777
+
778
778
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
779
779
  function _typeof(o) {
780
780
  "@babel/helpers - typeof";
@@ -785,6 +785,7 @@ 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
+
788
789
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
789
790
 
790
791
  function toPrimitive(t, r) {
@@ -797,29 +798,26 @@ function toPrimitive(t, r) {
797
798
  }
798
799
  return ("string" === r ? String : Number)(t);
799
800
  }
801
+
800
802
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
801
803
 
802
804
 
803
805
  function toPropertyKey(t) {
804
806
  var i = toPrimitive(t, "string");
805
- return "symbol" == _typeof(i) ? i : String(i);
807
+ return "symbol" == _typeof(i) ? i : i + "";
806
808
  }
809
+
807
810
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
808
811
 
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;
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;
822
819
  }
820
+
823
821
  ;// CONCATENATED MODULE: external "vue"
824
822
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
825
823
  var external_vue_y = x => () => x
@@ -829,9 +827,9 @@ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x
829
827
  var config_provider_y = x => () => x
830
828
  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 });
831
829
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
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; }
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; }
835
833
  /*
836
834
  * Tencent is pleased to support the open source community by making
837
835
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1115,25 +1113,29 @@ var mousewheel = {
1115
1113
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1116
1114
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1117
1115
 
1118
- function _arrayWithoutHoles(arr) {
1119
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1116
+ function _arrayWithoutHoles(r) {
1117
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
1120
1118
  }
1119
+
1121
1120
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1122
- function _iterableToArray(iter) {
1123
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1121
+ function _iterableToArray(r) {
1122
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1124
1123
  }
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
+
1129
1130
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1130
1131
 
1131
1132
 
1132
1133
 
1133
1134
 
1134
- function _toConsumableArray(arr) {
1135
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1135
+ function _toConsumableArray(r) {
1136
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1136
1137
  }
1138
+
1137
1139
  ;// CONCATENATED MODULE: external "@popperjs/core"
1138
1140
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1139
1141
  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, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
43
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
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 = ((0,external_vue_namespaceObject.defineComponent)({
91
+ /* harmony default export */ const src_link = (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({ ["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 });
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 });
48
48
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
49
49
  function _typeof(o) {
50
50
  "@babel/helpers - typeof";
@@ -55,6 +55,7 @@ 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
+
58
59
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
59
60
 
60
61
  function toPrimitive(t, r) {
@@ -67,38 +68,32 @@ function toPrimitive(t, r) {
67
68
  }
68
69
  return ("string" === r ? String : Number)(t);
69
70
  }
71
+
70
72
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
71
73
 
72
74
 
73
75
  function toPropertyKey(t) {
74
76
  var i = toPrimitive(t, "string");
75
- return "symbol" == _typeof(i) ? i : String(i);
77
+ return "symbol" == _typeof(i) ? i : i + "";
76
78
  }
79
+
77
80
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
78
81
 
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;
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;
92
89
  }
90
+
93
91
  ;// CONCATENATED MODULE: external "../config-provider"
94
92
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
95
93
  var config_provider_y = x => () => x
96
94
  const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
97
95
  ;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
98
96
 
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; }
102
97
  /*
103
98
  * Tencent is pleased to support the open source community by making
104
99
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -125,6 +120,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
125
120
  * IN THE SOFTWARE.
126
121
  */
127
122
 
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; }
128
125
 
129
126
 
130
127
  var BkLoadingMode;
@@ -168,7 +165,7 @@ var loadingTypes = {
168
165
  zIndex: shared_namespaceObject.PropTypes.number.def(1),
169
166
  isDirective: shared_namespaceObject.PropTypes.bool.def(false)
170
167
  };
171
- /* harmony default export */ const loading = ((0,external_vue_namespaceObject.defineComponent)({
168
+ /* harmony default export */ const loading = (defineComponent({
172
169
  name: 'Loading',
173
170
  props: loadingTypes,
174
171
  setup: function setup(props, ctx) {
@@ -188,27 +185,27 @@ var loadingTypes = {
188
185
  "class": "oval oval-".concat(i)
189
186
  }, null);
190
187
  })]);
191
- var zIndexStyle = (0,external_vue_namespaceObject.computed)(function () {
188
+ var zIndexStyle = computed(function () {
192
189
  return {
193
190
  zIndex: props.zIndex
194
191
  };
195
192
  });
196
- var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
193
+ var maskStyle = computed(function () {
197
194
  return _objectSpread({
198
195
  opacity: props.opacity,
199
196
  backgroundColor: props.color
200
197
  }, zIndexStyle.value);
201
198
  });
202
- var loadingWrapperCls = (0,external_vue_namespaceObject.computed)(function () {
199
+ var loadingWrapperCls = computed(function () {
203
200
  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));
204
201
  });
205
- var containerCls = (0,external_vue_namespaceObject.computed)(function () {
202
+ var containerCls = computed(function () {
206
203
  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'));
207
204
  });
208
- var hasTitle = (0,external_vue_namespaceObject.computed)(function () {
205
+ var hasTitle = computed(function () {
209
206
  return !!props.title;
210
207
  });
211
- var indicator = (0,external_vue_namespaceObject.computed)(function () {
208
+ var indicator = computed(function () {
212
209
  var isSpinMode = props.mode === BkLoadingMode.Spin;
213
210
  if (typeof props.indicator === 'function') {
214
211
  return (0,external_vue_namespaceObject.createVNode)(props.indicator, null, null);
package/lib/menu/index.js CHANGED
@@ -51,6 +51,7 @@ 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
+
54
55
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
55
56
 
56
57
  function toPrimitive(t, r) {
@@ -63,66 +64,68 @@ function toPrimitive(t, r) {
63
64
  }
64
65
  return ("string" === r ? String : Number)(t);
65
66
  }
67
+
66
68
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
67
69
 
68
70
 
69
71
  function toPropertyKey(t) {
70
72
  var i = toPrimitive(t, "string");
71
- return "symbol" == _typeof(i) ? i : String(i);
73
+ return "symbol" == _typeof(i) ? i : i + "";
72
74
  }
75
+
73
76
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
74
77
 
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;
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;
88
85
  }
86
+
89
87
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
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;
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;
94
92
  }
93
+
95
94
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
96
95
 
97
- function _arrayWithoutHoles(arr) {
98
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
96
+ function _arrayWithoutHoles(r) {
97
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
99
98
  }
99
+
100
100
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
101
- function _iterableToArray(iter) {
102
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
101
+ function _iterableToArray(r) {
102
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
103
103
  }
104
+
104
105
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
105
106
 
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);
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
+ }
113
113
  }
114
+
114
115
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
115
116
  function _nonIterableSpread() {
116
117
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
117
118
  }
119
+
118
120
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
119
121
 
120
122
 
121
123
 
122
124
 
123
- function _toConsumableArray(arr) {
124
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
125
+ function _toConsumableArray(r) {
126
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
125
127
  }
128
+
126
129
  ;// CONCATENATED MODULE: external "vue"
127
130
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
128
131
  var external_vue_y = x => () => x
@@ -448,8 +451,7 @@ var menuProps = {
448
451
  */
449
452
 
450
453
 
451
-
452
- /* harmony default export */ const menu_group = ((0,external_vue_namespaceObject.defineComponent)({
454
+ /* harmony default export */ const menu_group = (defineComponent({
453
455
  name: 'MenuGroup',
454
456
  props: {
455
457
  name: {
@@ -467,7 +469,7 @@ var menuProps = {
467
469
  collapse = _useMenuInject.collapse;
468
470
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
469
471
  resolveClassName = _usePrefix.resolveClassName;
470
- var displayTitle = (0,external_vue_namespaceObject.computed)(function () {
472
+ var displayTitle = computed(function () {
471
473
  if (collapse.value) {
472
474
  // 收起
473
475
  return props.foldName !== undefined ? props.foldName : props.name;
@@ -982,6 +982,7 @@ 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
+
985
986
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
986
987
 
987
988
  function toPrimitive(t, r) {
@@ -994,29 +995,26 @@ function toPrimitive(t, r) {
994
995
  }
995
996
  return ("string" === r ? String : Number)(t);
996
997
  }
998
+
997
999
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
998
1000
 
999
1001
 
1000
1002
  function toPropertyKey(t) {
1001
1003
  var i = toPrimitive(t, "string");
1002
- return "symbol" == _typeof(i) ? i : String(i);
1004
+ return "symbol" == _typeof(i) ? i : i + "";
1003
1005
  }
1006
+
1004
1007
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1005
1008
 
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;
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;
1019
1016
  }
1017
+
1020
1018
  ;// CONCATENATED MODULE: external "vue"
1021
1019
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1022
1020
  var y = x => () => x
@@ -1142,42 +1140,47 @@ function use_message_close(id, position, spacing, userOnClose) {
1142
1140
  }
1143
1141
  /* harmony default export */ const use_message = (Message);
1144
1142
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
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;
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;
1149
1147
  }
1148
+
1150
1149
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1151
1150
 
1152
- function _arrayWithoutHoles(arr) {
1153
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1151
+ function _arrayWithoutHoles(r) {
1152
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
1154
1153
  }
1154
+
1155
1155
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1156
- function _iterableToArray(iter) {
1157
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1156
+ function _iterableToArray(r) {
1157
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1158
1158
  }
1159
+
1159
1160
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1160
1161
 
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);
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
+ }
1168
1168
  }
1169
+
1169
1170
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1170
1171
  function _nonIterableSpread() {
1171
1172
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1172
1173
  }
1174
+
1173
1175
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1174
1176
 
1175
1177
 
1176
1178
 
1177
1179
 
1178
- function _toConsumableArray(arr) {
1179
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1180
+ function _toConsumableArray(r) {
1181
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1180
1182
  }
1183
+
1181
1184
  ;// CONCATENATED MODULE: external "vue-types"
1182
1185
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1183
1186
  var external_vue_types_y = x => () => x