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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/License.txt +1 -2
  2. package/dist/index.cjs.js +47 -42
  3. package/dist/index.esm.js +7199 -7009
  4. package/dist/index.umd.js +50 -45
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js.map +1 -1
  7. package/dist/locale/ja-jp.esm.js +1 -1
  8. package/dist/locale/ja-jp.esm.js.map +1 -1
  9. package/dist/locale/ja-jp.umd.js +1 -1
  10. package/dist/locale/ja-jp.umd.js.map +1 -1
  11. package/dist/locale/zh-cn.esm.js.map +1 -1
  12. package/dist/locale/zh-cn.umd.js.map +1 -1
  13. package/lib/affix/index.js +14 -16
  14. package/lib/alert/index.js +14 -16
  15. package/lib/animate-number/index.js +13 -14
  16. package/lib/backtop/index.js +12 -13
  17. package/lib/badge/index.js +14 -16
  18. package/lib/breadcrumb/index.js +15 -17
  19. package/lib/button/button.d.ts +1 -1
  20. package/lib/button/index.js +15 -17
  21. package/lib/card/index.js +14 -16
  22. package/lib/cascader/index.js +104 -111
  23. package/lib/checkbox/index.js +41 -39
  24. package/lib/code-diff/index.js +1173 -677
  25. package/lib/collapse/index.js +47 -45
  26. package/lib/collapse-transition/index.js +5 -6
  27. package/lib/color-picker/index.js +72 -73
  28. package/lib/components.js +1 -1
  29. package/lib/config-provider/index.d.ts +1 -1
  30. package/lib/config-provider/index.js +18 -20
  31. package/lib/container/index.js +26 -30
  32. package/lib/date-picker/index.js +79 -72
  33. package/lib/dialog/index.js +56 -477
  34. package/lib/directives/index.js +42 -39
  35. package/lib/dist.index.js +1 -1
  36. package/lib/divider/index.js +5 -6
  37. package/lib/dropdown/index.js +21 -25
  38. package/lib/exception/index.js +16 -19
  39. package/lib/fixed-navbar/index.js +4 -5
  40. package/lib/form/index.js +48 -45
  41. package/lib/hooks.js +1 -1
  42. package/lib/icon/angle-double-down-line.js +30 -37
  43. package/lib/icon/angle-double-left-line.js +30 -37
  44. package/lib/icon/angle-double-left.js +30 -37
  45. package/lib/icon/angle-double-right-line.js +30 -37
  46. package/lib/icon/angle-double-right.js +30 -37
  47. package/lib/icon/angle-double-up-line.js +30 -37
  48. package/lib/icon/angle-down-fill.js +30 -37
  49. package/lib/icon/angle-down-line.js +30 -37
  50. package/lib/icon/angle-down.js +30 -37
  51. package/lib/icon/angle-left.js +30 -37
  52. package/lib/icon/angle-right.js +30 -37
  53. package/lib/icon/angle-up-fill.js +30 -37
  54. package/lib/icon/angle-up.js +30 -37
  55. package/lib/icon/archive-fill.js +30 -37
  56. package/lib/icon/arrows-left.js +30 -37
  57. package/lib/icon/arrows-right.js +30 -37
  58. package/lib/icon/assistant.js +30 -37
  59. package/lib/icon/audio-fill.js +30 -37
  60. package/lib/icon/bk.js +30 -37
  61. package/lib/icon/circle.js +30 -37
  62. package/lib/icon/close-line.js +30 -37
  63. package/lib/icon/close.js +30 -37
  64. package/lib/icon/code.js +30 -37
  65. package/lib/icon/cog-shape.js +30 -37
  66. package/lib/icon/collapse-left.js +30 -37
  67. package/lib/icon/copy-shape.js +30 -37
  68. package/lib/icon/copy.js +30 -37
  69. package/lib/icon/data-shape.js +30 -37
  70. package/lib/icon/del.js +30 -37
  71. package/lib/icon/doc-fill.js +30 -37
  72. package/lib/icon/done.js +30 -37
  73. package/lib/icon/down-shape.js +30 -37
  74. package/lib/icon/down-small.js +30 -37
  75. package/lib/icon/edit-line.js +30 -37
  76. package/lib/icon/ellipsis.js +30 -37
  77. package/lib/icon/enlarge-line.js +30 -37
  78. package/lib/icon/error.js +30 -37
  79. package/lib/icon/excel-fill.js +30 -37
  80. package/lib/icon/exclamation-circle-shape.js +30 -37
  81. package/lib/icon/eye.js +30 -37
  82. package/lib/icon/filliscreen-line.js +30 -37
  83. package/lib/icon/fix-line.js +30 -37
  84. package/lib/icon/fix-shape.js +30 -37
  85. package/lib/icon/folder-open.js +30 -37
  86. package/lib/icon/folder-shape-open.js +30 -37
  87. package/lib/icon/folder-shape.js +30 -37
  88. package/lib/icon/folder.js +30 -37
  89. package/lib/icon/funnel.js +30 -37
  90. package/lib/icon/grag-fill.js +30 -37
  91. package/lib/icon/help-document-fill.js +30 -37
  92. package/lib/icon/help-fill.js +30 -37
  93. package/lib/icon/help.js +30 -37
  94. package/lib/icon/image-fill.js +30 -37
  95. package/lib/icon/img-error.js +30 -37
  96. package/lib/icon/img-placehoulder.js +30 -37
  97. package/lib/icon/index.js +1 -1
  98. package/lib/icon/info-line.js +30 -37
  99. package/lib/icon/info.js +30 -37
  100. package/lib/icon/left-shape.js +30 -37
  101. package/lib/icon/left-turn-line.js +30 -37
  102. package/lib/icon/loading.js +30 -37
  103. package/lib/icon/narrow-line.js +30 -37
  104. package/lib/icon/original.js +30 -37
  105. package/lib/icon/pdf-fill.js +30 -37
  106. package/lib/icon/play-shape.js +30 -37
  107. package/lib/icon/plus.js +30 -37
  108. package/lib/icon/ppt-fill.js +30 -37
  109. package/lib/icon/qq.js +30 -37
  110. package/lib/icon/right-shape.js +30 -37
  111. package/lib/icon/right-turn-line.js +30 -37
  112. package/lib/icon/search.js +30 -37
  113. package/lib/icon/share.js +30 -37
  114. package/lib/icon/spinner.js +30 -37
  115. package/lib/icon/success.js +30 -37
  116. package/lib/icon/switcher-loading.js +30 -37
  117. package/lib/icon/text-all.js +30 -37
  118. package/lib/icon/text-file.js +30 -37
  119. package/lib/icon/text-fill.js +30 -37
  120. package/lib/icon/transfer.js +30 -37
  121. package/lib/icon/tree-application-shape.js +30 -37
  122. package/lib/icon/unfull-screen.js +30 -37
  123. package/lib/icon/unvisible.js +30 -37
  124. package/lib/icon/up-shape.js +30 -37
  125. package/lib/icon/upload.js +30 -37
  126. package/lib/icon/video-fill.js +30 -37
  127. package/lib/icon/warn.js +30 -37
  128. package/lib/icon/weixin-pro.js +30 -37
  129. package/lib/icon/weixin.js +30 -37
  130. package/lib/image/index.js +57 -55
  131. package/lib/index.js +1 -1
  132. package/lib/info-box/index.js +65 -464
  133. package/lib/input/index.js +70 -68
  134. package/lib/link/index.js +4 -4
  135. package/lib/loading/index.js +25 -28
  136. package/lib/locale/index.js +16 -16
  137. package/lib/menu/index.js +42 -40
  138. package/lib/message/index.js +37 -34
  139. package/lib/modal/index.js +17 -19
  140. package/lib/navigation/index.js +10 -12
  141. package/lib/notify/index.js +15 -17
  142. package/lib/overflow-title/index.js +12 -13
  143. package/lib/pagination/index.js +38 -35
  144. package/lib/pop-confirm/index.js +7 -8
  145. package/lib/popover/index.js +226 -153
  146. package/lib/popover2/index.js +4 -4
  147. package/lib/preset.js +1 -1
  148. package/lib/process/index.js +61 -454
  149. package/lib/process/process.d.ts +1 -1
  150. package/lib/progress/index.js +20 -23
  151. package/lib/radio/index.js +42 -39
  152. package/lib/rate/index.js +15 -17
  153. package/lib/resize-layout/index.js +20 -22
  154. package/lib/scrollbar/index.js +57 -64
  155. package/lib/search-select/index.js +233 -606
  156. package/lib/select/index.js +126 -478
  157. package/lib/shared/index.d.ts +1 -1
  158. package/lib/shared/index.js +93 -105
  159. package/lib/shared/z-index-manager.d.ts +1 -1
  160. package/lib/sideslider/index.js +45 -443
  161. package/lib/slider/index.d.ts +1 -1
  162. package/lib/slider/index.js +52 -449
  163. package/lib/slider/slider-button.d.ts +1 -1
  164. package/lib/slider/slider.d.ts +1 -1
  165. package/lib/steps/index.js +62 -460
  166. package/lib/steps/steps.d.ts +1 -1
  167. package/lib/swiper/index.js +17 -19
  168. package/lib/switcher/index.js +14 -16
  169. package/lib/tab/index.js +50 -48
  170. package/lib/table/index.js +184 -533
  171. package/lib/table-column/index.js +1 -1
  172. package/lib/tag/index.js +14 -16
  173. package/lib/tag-input/index.js +58 -52
  174. package/lib/time-picker/index.js +1 -1
  175. package/lib/timeline/index.js +3 -2
  176. package/lib/timeline/timeline.d.ts +1 -1
  177. package/lib/transfer/index.d.ts +1 -1
  178. package/lib/transfer/index.js +26 -21
  179. package/lib/transfer/transfer.d.ts +1 -1
  180. package/lib/tree/index.js +85 -78
  181. package/lib/upload/index.js +144 -495
  182. package/lib/virtual-render/index.js +54 -58
  183. package/lib/volar.components.d.ts +1 -1
  184. package/package.json +13 -2
@@ -691,7 +691,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
691
691
  ;// CONCATENATED MODULE: external "vue"
692
692
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
693
693
  var external_vue_y = x => () => x
694
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["effectScope"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.effectScope, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
694
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["effectScope"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.effectScope, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
695
695
  ;// CONCATENATED MODULE: external "../config-provider"
696
696
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
697
697
  var config_provider_y = x => () => x
@@ -710,6 +710,7 @@ function _typeof(o) {
710
710
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
711
711
  }, _typeof(o);
712
712
  }
713
+
713
714
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
714
715
 
715
716
  function toPrimitive(t, r) {
@@ -722,38 +723,35 @@ function toPrimitive(t, r) {
722
723
  }
723
724
  return ("string" === r ? String : Number)(t);
724
725
  }
726
+
725
727
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
726
728
 
727
729
 
728
730
  function toPropertyKey(t) {
729
731
  var i = toPrimitive(t, "string");
730
- return "symbol" == _typeof(i) ? i : String(i);
732
+ return "symbol" == _typeof(i) ? i : i + "";
731
733
  }
734
+
732
735
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
733
736
 
734
- function _defineProperty(obj, key, value) {
735
- key = toPropertyKey(key);
736
- if (key in obj) {
737
- Object.defineProperty(obj, key, {
738
- value: value,
739
- enumerable: true,
740
- configurable: true,
741
- writable: true
742
- });
743
- } else {
744
- obj[key] = value;
745
- }
746
- return obj;
737
+ function _defineProperty(e, r, t) {
738
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
739
+ value: t,
740
+ enumerable: !0,
741
+ configurable: !0,
742
+ writable: !0
743
+ }) : e[r] = t, e;
747
744
  }
745
+
748
746
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
749
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _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; } } }; }
750
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _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 _arrayLikeToArray(o, minLen); }
751
- function _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; }
747
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _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; } } }; }
748
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _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) ? _arrayLikeToArray(r, a) : void 0; } }
749
+ function _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; }
752
750
  /*
753
751
  * Tencent is pleased to support the open source community by making
754
752
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
755
753
  *
756
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
754
+ * Copyright (C) 2025 Tencent. All rights reserved.
757
755
  *
758
756
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
759
757
  *
@@ -881,7 +879,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
881
879
  * Tencent is pleased to support the open source community by making
882
880
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
883
881
  *
884
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
882
+ * Copyright (C) 2025 Tencent. All rights reserved.
885
883
  *
886
884
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
887
885
  *
@@ -993,7 +991,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
993
991
  * Tencent is pleased to support the open source community by making
994
992
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
995
993
  *
996
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
994
+ * Copyright (C) 2025 Tencent. All rights reserved.
997
995
  *
998
996
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
999
997
  *
@@ -1031,42 +1029,47 @@ var mousewheel = {
1031
1029
  };
1032
1030
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1033
1031
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
1034
- function arrayLikeToArray_arrayLikeToArray(arr, len) {
1035
- if (len == null || len > arr.length) len = arr.length;
1036
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1037
- return arr2;
1032
+ function arrayLikeToArray_arrayLikeToArray(r, a) {
1033
+ (null == a || a > r.length) && (a = r.length);
1034
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1035
+ return n;
1038
1036
  }
1037
+
1039
1038
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1040
1039
 
1041
- function _arrayWithoutHoles(arr) {
1042
- if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
1040
+ function _arrayWithoutHoles(r) {
1041
+ if (Array.isArray(r)) return arrayLikeToArray_arrayLikeToArray(r);
1043
1042
  }
1043
+
1044
1044
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1045
- function _iterableToArray(iter) {
1046
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1045
+ function _iterableToArray(r) {
1046
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1047
1047
  }
1048
+
1048
1049
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1049
1050
 
1050
- function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
1051
- if (!o) return;
1052
- if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
1053
- var n = Object.prototype.toString.call(o).slice(8, -1);
1054
- if (n === "Object" && o.constructor) n = o.constructor.name;
1055
- if (n === "Map" || n === "Set") return Array.from(o);
1056
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
1051
+ function unsupportedIterableToArray_unsupportedIterableToArray(r, a) {
1052
+ if (r) {
1053
+ if ("string" == typeof r) return arrayLikeToArray_arrayLikeToArray(r, a);
1054
+ var t = {}.toString.call(r).slice(8, -1);
1055
+ 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_arrayLikeToArray(r, a) : void 0;
1056
+ }
1057
1057
  }
1058
+
1058
1059
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1059
1060
  function _nonIterableSpread() {
1060
1061
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1061
1062
  }
1063
+
1062
1064
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1063
1065
 
1064
1066
 
1065
1067
 
1066
1068
 
1067
- function _toConsumableArray(arr) {
1068
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
1069
+ function _toConsumableArray(r) {
1070
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || unsupportedIterableToArray_unsupportedIterableToArray(r) || _nonIterableSpread();
1069
1071
  }
1072
+
1070
1073
  ;// CONCATENATED MODULE: external "@popperjs/core"
1071
1074
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1072
1075
  var core_y = x => () => x
@@ -1081,7 +1084,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1081
1084
  * Tencent is pleased to support the open source community by making
1082
1085
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1083
1086
  *
1084
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1087
+ * Copyright (C) 2025 Tencent. All rights reserved.
1085
1088
  *
1086
1089
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1087
1090
  *
@@ -1373,7 +1376,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
1373
1376
  * Tencent is pleased to support the open source community by making
1374
1377
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1375
1378
  *
1376
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1379
+ * Copyright (C) 2025 Tencent. All rights reserved.
1377
1380
  *
1378
1381
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1379
1382
  *
@@ -1453,7 +1456,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1453
1456
  * Tencent is pleased to support the open source community by making
1454
1457
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1455
1458
  *
1456
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1459
+ * Copyright (C) 2025 Tencent. All rights reserved.
1457
1460
  *
1458
1461
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1459
1462
  *
@@ -1702,12 +1705,12 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1702
1705
  offsetY: offsetY + ev.pageY - startY
1703
1706
  });
1704
1707
  });
1705
- var mouseup = function mouseup() {
1708
+ var _mouseup = function mouseup() {
1706
1709
  document.removeEventListener('mousemove', mousemove);
1707
- document.removeEventListener('mouseup', mouseup);
1710
+ document.removeEventListener('mouseup', _mouseup);
1708
1711
  };
1709
1712
  document.addEventListener('mousemove', mousemove);
1710
- document.addEventListener('mouseup', mouseup);
1713
+ document.addEventListener('mouseup', _mouseup);
1711
1714
  e.preventDefault();
1712
1715
  }
1713
1716
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -1801,7 +1804,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1801
1804
  * Tencent is pleased to support the open source community by making
1802
1805
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1803
1806
  *
1804
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1807
+ * Copyright (C) 2025 Tencent. All rights reserved.
1805
1808
  *
1806
1809
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1807
1810
  *
@@ -1826,26 +1829,25 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1826
1829
 
1827
1830
 
1828
1831
 
1829
-
1830
- /* harmony default export */ const src_image = ((0,external_vue_namespaceObject.defineComponent)({
1832
+ /* harmony default export */ const src_image = (defineComponent({
1831
1833
  name: 'Image',
1832
1834
  props: propsImage,
1833
1835
  emits: ['loaded', 'error', 'close', 'change'],
1834
1836
  setup: function setup(props, _ref) {
1835
1837
  var emit = _ref.emit,
1836
1838
  slots = _ref.slots;
1837
- var loading = (0,external_vue_namespaceObject.ref)(true);
1838
- var hasError = (0,external_vue_namespaceObject.ref)(true);
1839
- var isShowViewer = (0,external_vue_namespaceObject.ref)(false);
1840
- var prevOverflow = (0,external_vue_namespaceObject.ref)('');
1841
- var imageSrc = (0,external_vue_namespaceObject.ref)('');
1839
+ var loading = ref(true);
1840
+ var hasError = ref(true);
1841
+ var isShowViewer = ref(false);
1842
+ var prevOverflow = ref('');
1843
+ var imageSrc = ref('');
1842
1844
  function clickHandler() {}
1843
- (0,external_vue_namespaceObject.watch)(function () {
1845
+ watch(function () {
1844
1846
  return props.src;
1845
1847
  }, function () {
1846
1848
  loadImage();
1847
1849
  });
1848
- var preview = (0,external_vue_namespaceObject.computed)(function () {
1850
+ var preview = computed(function () {
1849
1851
  var _props$urlList;
1850
1852
  return (props === null || props === void 0 || (_props$urlList = props.urlList) === null || _props$urlList === void 0 ? void 0 : _props$urlList.length) > 0;
1851
1853
  });
@@ -1910,7 +1912,7 @@ function image_viewer_objectSpread(e) { for (var r = 1; r < arguments.length; r+
1910
1912
  * Tencent is pleased to support the open source community by making
1911
1913
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1912
1914
  *
1913
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1915
+ * Copyright (C) 2025 Tencent. All rights reserved.
1914
1916
  *
1915
1917
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1916
1918
  *
package/lib/index.js CHANGED
@@ -3,5 +3,5 @@ export * from './hooks';
3
3
  export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
- export const version = "2.0.2-beta.44";
6
+ export const version = "2.0.2-beta.46";
7
7
  window.__bkui_vue_version__ = version;