bkui-vue 1.0.0 → 1.0.1

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 (261) hide show
  1. package/README.md +1 -0
  2. package/dist/index.cjs.js +47 -47
  3. package/dist/index.esm.js +10405 -10394
  4. package/dist/index.umd.js +47 -47
  5. package/dist/locale/en.esm.js +1 -1
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js +1 -1
  8. package/dist/locale/en.umd.js.map +1 -1
  9. package/dist/locale/zh-cn.esm.js +1 -1
  10. package/dist/locale/zh-cn.esm.js.map +1 -1
  11. package/dist/locale/zh-cn.umd.js +1 -1
  12. package/dist/locale/zh-cn.umd.js.map +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/index.d.ts +57 -111
  16. package/lib/affix/index.js +19 -19
  17. package/lib/alert/alert.d.ts +1 -1
  18. package/lib/alert/index.d.ts +82 -132
  19. package/lib/alert/index.js +20 -20
  20. package/lib/animate-number/index.d.ts +33 -96
  21. package/lib/backtop/index.d.ts +69 -117
  22. package/lib/badge/badge.d.ts +1 -1
  23. package/lib/badge/index.d.ts +120 -153
  24. package/lib/badge/index.js +19 -19
  25. package/lib/breadcrumb/index.d.ts +67 -119
  26. package/lib/breadcrumb/index.js +17 -17
  27. package/lib/button/button.d.ts +2 -2
  28. package/lib/button/index.d.ts +119 -155
  29. package/lib/button/index.js +19 -20
  30. package/lib/card/card.d.ts +1 -1
  31. package/lib/card/index.d.ts +129 -158
  32. package/lib/card/index.js +20 -22
  33. package/lib/cascader/cascader.d.ts +3 -3
  34. package/lib/cascader/index.d.ts +393 -354
  35. package/lib/cascader/index.js +233 -234
  36. package/lib/checkbox/checkbox.d.ts +1 -1
  37. package/lib/checkbox/index.d.ts +119 -161
  38. package/lib/checkbox/index.js +39 -41
  39. package/lib/code-diff/index.d.ts +65 -82
  40. package/lib/code-diff/index.js +381 -438
  41. package/lib/collapse/index.d.ts +144 -168
  42. package/lib/collapse/index.js +21 -21
  43. package/lib/collapse-transition/index.d.ts +19 -94
  44. package/lib/color-picker/color-picker.d.ts +1 -1
  45. package/lib/color-picker/index.d.ts +128 -154
  46. package/lib/color-picker/index.js +25 -28
  47. package/lib/config-provider/config-provider.d.ts +9 -0
  48. package/lib/config-provider/index.d.ts +168 -223
  49. package/lib/config-provider/index.js +19 -19
  50. package/lib/config-provider/token.d.ts +3 -0
  51. package/lib/container/container.d.ts +1 -1
  52. package/lib/container/index.d.ts +74 -85
  53. package/lib/container/index.js +19 -19
  54. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  55. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  56. package/lib/date-picker/date-picker.d.ts +3 -3
  57. package/lib/date-picker/index.d.ts +384 -351
  58. package/lib/date-picker/index.js +92 -104
  59. package/lib/date-picker/panel/date-range.d.ts +1 -1
  60. package/lib/date-picker/panel/date.d.ts +1 -1
  61. package/lib/date-picker/panel/time-range.d.ts +2 -2
  62. package/lib/date-picker/panel/time.d.ts +1 -1
  63. package/lib/date-picker/time-picker.d.ts +3 -3
  64. package/lib/dialog/index.d.ts +355 -309
  65. package/lib/dialog/index.js +227 -228
  66. package/lib/directives/index.js +27 -27
  67. package/lib/divider/index.d.ts +57 -111
  68. package/lib/dropdown/dropdown.d.ts +1 -1
  69. package/lib/dropdown/index.d.ts +94 -136
  70. package/lib/dropdown/index.js +17 -17
  71. package/lib/exception/index.d.ts +41 -102
  72. package/lib/exception/index.js +18 -19
  73. package/lib/fixed-navbar/index.d.ts +59 -113
  74. package/lib/form/form.css +3 -0
  75. package/lib/form/form.d.ts +1 -1
  76. package/lib/form/form.less +3 -0
  77. package/lib/form/form.variable.css +3 -0
  78. package/lib/form/index.d.ts +80 -132
  79. package/lib/form/index.js +29 -27
  80. package/lib/icon/angle-double-down-line.js +21 -21
  81. package/lib/icon/angle-double-left-line.js +21 -21
  82. package/lib/icon/angle-double-left.js +21 -21
  83. package/lib/icon/angle-double-right-line.js +21 -21
  84. package/lib/icon/angle-double-right.js +21 -21
  85. package/lib/icon/angle-double-up-line.js +21 -21
  86. package/lib/icon/angle-down-fill.js +21 -21
  87. package/lib/icon/angle-down-line.js +21 -21
  88. package/lib/icon/angle-down.js +21 -21
  89. package/lib/icon/angle-left.js +21 -21
  90. package/lib/icon/angle-right.js +21 -21
  91. package/lib/icon/angle-up-fill.js +21 -21
  92. package/lib/icon/angle-up.js +21 -21
  93. package/lib/icon/archive-fill.js +21 -21
  94. package/lib/icon/arrows-left.js +21 -21
  95. package/lib/icon/arrows-right.js +21 -21
  96. package/lib/icon/assistant.js +21 -21
  97. package/lib/icon/audio-fill.js +21 -21
  98. package/lib/icon/bk.js +21 -21
  99. package/lib/icon/circle.js +21 -21
  100. package/lib/icon/close-line.js +21 -21
  101. package/lib/icon/close.js +21 -21
  102. package/lib/icon/code.js +21 -21
  103. package/lib/icon/cog-shape.js +21 -21
  104. package/lib/icon/collapse-left.js +21 -21
  105. package/lib/icon/copy-shape.js +21 -21
  106. package/lib/icon/copy.js +21 -21
  107. package/lib/icon/data-shape.js +21 -21
  108. package/lib/icon/del.js +21 -21
  109. package/lib/icon/doc-fill.js +21 -21
  110. package/lib/icon/done.js +21 -21
  111. package/lib/icon/down-shape.js +21 -21
  112. package/lib/icon/down-small.js +21 -21
  113. package/lib/icon/edit-line.js +21 -21
  114. package/lib/icon/ellipsis.js +21 -21
  115. package/lib/icon/enlarge-line.js +21 -21
  116. package/lib/icon/error.js +21 -21
  117. package/lib/icon/excel-fill.js +21 -21
  118. package/lib/icon/exclamation-circle-shape.js +21 -21
  119. package/lib/icon/eye.js +21 -21
  120. package/lib/icon/filliscreen-line.js +21 -21
  121. package/lib/icon/fix-line.js +21 -21
  122. package/lib/icon/fix-shape.js +21 -21
  123. package/lib/icon/folder-open.js +21 -21
  124. package/lib/icon/folder-shape-open.js +21 -21
  125. package/lib/icon/folder-shape.js +21 -21
  126. package/lib/icon/folder.js +21 -21
  127. package/lib/icon/funnel.js +21 -21
  128. package/lib/icon/grag-fill.js +21 -21
  129. package/lib/icon/help-document-fill.js +21 -21
  130. package/lib/icon/help-fill.js +21 -21
  131. package/lib/icon/help.js +21 -21
  132. package/lib/icon/image-fill.js +22 -22
  133. package/lib/icon/img-error.js +22 -22
  134. package/lib/icon/img-placehoulder.js +22 -22
  135. package/lib/icon/index.js +192 -192
  136. package/lib/icon/info-line.js +22 -22
  137. package/lib/icon/info.js +22 -22
  138. package/lib/icon/left-shape.js +22 -22
  139. package/lib/icon/left-turn-line.js +22 -22
  140. package/lib/icon/loading.js +22 -22
  141. package/lib/icon/narrow-line.js +22 -22
  142. package/lib/icon/original.js +22 -22
  143. package/lib/icon/pdf-fill.js +22 -22
  144. package/lib/icon/play-shape.js +22 -22
  145. package/lib/icon/plus.js +22 -22
  146. package/lib/icon/ppt-fill.js +22 -22
  147. package/lib/icon/qq.js +22 -22
  148. package/lib/icon/right-shape.js +22 -22
  149. package/lib/icon/right-turn-line.js +22 -22
  150. package/lib/icon/search.js +22 -22
  151. package/lib/icon/share.js +22 -22
  152. package/lib/icon/spinner.js +22 -22
  153. package/lib/icon/success.js +22 -22
  154. package/lib/icon/switcher-loading.js +22 -22
  155. package/lib/icon/text-file.js +22 -22
  156. package/lib/icon/text-fill.js +22 -22
  157. package/lib/icon/transfer.js +22 -22
  158. package/lib/icon/tree-application-shape.js +22 -22
  159. package/lib/icon/unfull-screen.js +22 -22
  160. package/lib/icon/unvisible.js +22 -22
  161. package/lib/icon/up-shape.js +22 -22
  162. package/lib/icon/upload.js +22 -22
  163. package/lib/icon/video-fill.js +22 -22
  164. package/lib/icon/warn.js +22 -22
  165. package/lib/icon/weixin-pro.js +22 -22
  166. package/lib/icon/weixin.js +22 -22
  167. package/lib/image/index.d.ts +113 -149
  168. package/lib/image/index.js +19 -19
  169. package/lib/info-box/index.js +231 -232
  170. package/lib/input/index.d.ts +326 -293
  171. package/lib/input/index.js +256 -258
  172. package/lib/link/index.d.ts +73 -122
  173. package/lib/loading/index.d.ts +132 -158
  174. package/lib/loading/index.js +23 -25
  175. package/lib/loading/loading.d.ts +4 -4
  176. package/lib/locale/index.js +8 -12
  177. package/lib/locale/lang/en.d.ts +3 -0
  178. package/lib/menu/index.d.ts +51 -112
  179. package/lib/menu/index.js +25 -25
  180. package/lib/message/index.js +28 -30
  181. package/lib/message/messageConstructor.d.ts +5 -5
  182. package/lib/modal/index.d.ts +261 -249
  183. package/lib/modal/index.js +492 -33
  184. package/lib/navigation/index.d.ts +152 -188
  185. package/lib/notify/index.js +22 -24
  186. package/lib/notify/notifyConstructor.d.ts +1 -1
  187. package/lib/overflow-title/index.d.ts +314 -242
  188. package/lib/overflow-title/index.js +1 -1
  189. package/lib/pagination/index.d.ts +194 -205
  190. package/lib/pagination/index.js +49 -56
  191. package/lib/plugin-popover/index.js +192 -98
  192. package/lib/pop-confirm/index.d.ts +126 -159
  193. package/lib/pop-confirm/index.js +0 -1
  194. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  195. package/lib/popover/content.d.ts +1 -1
  196. package/lib/popover/index.d.ts +374 -330
  197. package/lib/popover/index.js +192 -98
  198. package/lib/popover2/index.d.ts +8 -83
  199. package/lib/process/index.d.ts +93 -137
  200. package/lib/process/index.js +225 -226
  201. package/lib/progress/index.d.ts +178 -187
  202. package/lib/progress/index.js +19 -19
  203. package/lib/progress/progress.d.ts +2 -2
  204. package/lib/radio/index.d.ts +83 -135
  205. package/lib/radio/index.js +41 -43
  206. package/lib/rate/index.d.ts +55 -112
  207. package/lib/rate/index.js +19 -20
  208. package/lib/resize-layout/index.d.ts +156 -185
  209. package/lib/resize-layout/index.js +20 -21
  210. package/lib/resize-layout/resize-layout.d.ts +2 -2
  211. package/lib/search-select/index.d.ts +292 -327
  212. package/lib/search-select/index.js +239 -240
  213. package/lib/search-select/input.d.ts +2 -2
  214. package/lib/search-select/search-select.d.ts +3 -3
  215. package/lib/search-select/selected.d.ts +2 -2
  216. package/lib/select/index.d.ts +1234 -1135
  217. package/lib/select/index.js +259 -262
  218. package/lib/select/select.d.ts +121 -161
  219. package/lib/select/selectTagInput.d.ts +2 -2
  220. package/lib/shared/helper.d.ts +4 -0
  221. package/lib/shared/index.js +81 -63
  222. package/lib/sideslider/index.d.ts +247 -233
  223. package/lib/sideslider/index.js +241 -247
  224. package/lib/slider/index.d.ts +204 -204
  225. package/lib/slider/index.js +208 -209
  226. package/lib/steps/index.d.ts +114 -150
  227. package/lib/steps/index.js +227 -228
  228. package/lib/swiper/index.d.ts +81 -127
  229. package/lib/swiper/index.js +18 -18
  230. package/lib/switcher/index.d.ts +152 -174
  231. package/lib/switcher/index.js +20 -22
  232. package/lib/tab/index.d.ts +199 -211
  233. package/lib/tab/index.js +23 -25
  234. package/lib/table/components/table-column.d.ts +2 -2
  235. package/lib/table/index.d.ts +605 -593
  236. package/lib/table/index.js +81 -95
  237. package/lib/table/plugins/use-pagination.d.ts +1 -1
  238. package/lib/table/table.d.ts +1 -1
  239. package/lib/table/use-common.d.ts +67 -34
  240. package/lib/table-column/index.d.ts +207 -243
  241. package/lib/table-column/index.js +18 -19
  242. package/lib/tag/index.d.ts +95 -142
  243. package/lib/tag/index.js +19 -19
  244. package/lib/tag-input/index.d.ts +690 -498
  245. package/lib/tag-input/index.js +54 -62
  246. package/lib/tag-input/tag-input.d.ts +5 -5
  247. package/lib/time-picker/index.d.ts +442 -385
  248. package/lib/timeline/index.d.ts +50 -109
  249. package/lib/timeline/index.js +6 -6
  250. package/lib/transfer/index.d.ts +191 -206
  251. package/lib/tree/index.d.ts +322 -288
  252. package/lib/tree/index.js +36 -39
  253. package/lib/tree/tree.d.ts +1 -1
  254. package/lib/tree/use-tree-init.d.ts +1 -1
  255. package/lib/upload/index.d.ts +281 -254
  256. package/lib/upload/index.js +254 -257
  257. package/lib/upload/upload.d.ts +2 -2
  258. package/lib/virtual-render/index.d.ts +337 -242
  259. package/lib/virtual-render/index.js +30 -30
  260. package/lib/virtual-render/virtual-render.d.ts +1 -1
  261. package/package.json +6 -13
@@ -17316,45 +17316,45 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
17316
17316
  var y = x => () => x
17317
17317
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["checkOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.checkOverflow, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
17318
17318
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
17319
- function _typeof(obj) {
17319
+ function _typeof(o) {
17320
17320
  "@babel/helpers - typeof";
17321
17321
 
17322
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
17323
- return typeof obj;
17324
- } : function (obj) {
17325
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17326
- }, _typeof(obj);
17322
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
17323
+ return typeof o;
17324
+ } : function (o) {
17325
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
17326
+ }, _typeof(o);
17327
17327
  }
17328
17328
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17329
17329
  function _arrayWithHoles(arr) {
17330
17330
  if (Array.isArray(arr)) return arr;
17331
17331
  }
17332
17332
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17333
- function _iterableToArrayLimit(arr, i) {
17334
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
17335
- if (null != _i) {
17336
- var _s,
17337
- _e,
17338
- _x,
17339
- _r,
17340
- _arr = [],
17341
- _n = !0,
17342
- _d = !1;
17333
+ function _iterableToArrayLimit(r, l) {
17334
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17335
+ if (null != t) {
17336
+ var e,
17337
+ n,
17338
+ i,
17339
+ u,
17340
+ a = [],
17341
+ f = !0,
17342
+ o = !1;
17343
17343
  try {
17344
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
17345
- if (Object(_i) !== _i) return;
17346
- _n = !1;
17347
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
17348
- } catch (err) {
17349
- _d = !0, _e = err;
17344
+ if (i = (t = t.call(r)).next, 0 === l) {
17345
+ if (Object(t) !== t) return;
17346
+ f = !1;
17347
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
17348
+ } catch (r) {
17349
+ o = !0, n = r;
17350
17350
  } finally {
17351
17351
  try {
17352
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
17352
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
17353
17353
  } finally {
17354
- if (_d) throw _e;
17354
+ if (o) throw n;
17355
17355
  }
17356
17356
  }
17357
- return _arr;
17357
+ return a;
17358
17358
  }
17359
17359
  }
17360
17360
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -17408,27 +17408,27 @@ function _toConsumableArray(arr) {
17408
17408
  }
17409
17409
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17410
17410
 
17411
- function _toPrimitive(input, hint) {
17412
- if (_typeof(input) !== "object" || input === null) return input;
17413
- var prim = input[Symbol.toPrimitive];
17414
- if (prim !== undefined) {
17415
- var res = prim.call(input, hint || "default");
17416
- if (_typeof(res) !== "object") return res;
17411
+ function toPrimitive(t, r) {
17412
+ if ("object" != _typeof(t) || !t) return t;
17413
+ var e = t[Symbol.toPrimitive];
17414
+ if (void 0 !== e) {
17415
+ var i = e.call(t, r || "default");
17416
+ if ("object" != _typeof(i)) return i;
17417
17417
  throw new TypeError("@@toPrimitive must return a primitive value.");
17418
17418
  }
17419
- return (hint === "string" ? String : Number)(input);
17419
+ return ("string" === r ? String : Number)(t);
17420
17420
  }
17421
17421
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17422
17422
 
17423
17423
 
17424
- function _toPropertyKey(arg) {
17425
- var key = _toPrimitive(arg, "string");
17426
- return _typeof(key) === "symbol" ? key : String(key);
17424
+ function toPropertyKey(t) {
17425
+ var i = toPrimitive(t, "string");
17426
+ return "symbol" == _typeof(i) ? i : String(i);
17427
17427
  }
17428
17428
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
17429
17429
 
17430
17430
  function _defineProperty(obj, key, value) {
17431
- key = _toPropertyKey(key);
17431
+ key = toPropertyKey(key);
17432
17432
  if (key in obj) {
17433
17433
  Object.defineProperty(obj, key, {
17434
17434
  value: value,
@@ -17480,8 +17480,8 @@ const popover_less_namespaceObject = popover_less_x({ });
17480
17480
  ;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
17481
17481
 
17482
17482
 
17483
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17484
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17483
+ 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; }
17484
+ 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; }
17485
17485
  /*
17486
17486
  * Tencent is pleased to support the open source community by making
17487
17487
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -17829,8 +17829,8 @@ var lodash_default = /*#__PURE__*/__webpack_require__.n(lodash);
17829
17829
  ;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-render.tsx
17830
17830
 
17831
17831
 
17832
- function tag_render_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17833
- function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? tag_render_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : tag_render_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17832
+ function tag_render_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; }
17833
+ function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? tag_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : tag_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17834
17834
  /*
17835
17835
  * Tencent is pleased to support the open source community by making
17836
17836
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -17921,8 +17921,8 @@ function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length;
17921
17921
 
17922
17922
 
17923
17923
 
17924
- function tag_input_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17925
- function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? tag_input_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : tag_input_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17924
+ function tag_input_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; }
17925
+ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? tag_input_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : tag_input_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17926
17926
  /*
17927
17927
  * Tencent is pleased to support the open source community by making
17928
17928
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -18031,8 +18031,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18031
18031
  return props.clearable && !props.disabled && listState.selectedTagList.length !== 0 && (props.showClearOnlyHover ? state.isHover : true);
18032
18032
  });
18033
18033
  var triggerClass = (0,external_vue_namespaceObject.computed)(function () {
18034
- var _ref2;
18035
- return _ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('tag-input-trigger')), true), _defineProperty(_ref2, "active", state.isEdit), _defineProperty(_ref2, "disabled", props.disabled), _ref2;
18034
+ return _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('tag-input-trigger')), true), "active", state.isEdit), "disabled", props.disabled);
18036
18035
  });
18037
18036
  var listState = (0,external_vue_namespaceObject.reactive)({
18038
18037
  localList: [],
@@ -18089,7 +18088,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18089
18088
  });
18090
18089
  if (props.withValidate) {
18091
18090
  var _formItem$validate;
18092
- formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
18091
+ formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
18093
18092
  }
18094
18093
  }
18095
18094
  });
@@ -18179,7 +18178,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18179
18178
  state.isEdit = true;
18180
18179
  setTimeout(function () {
18181
18180
  var _tagInputRef$value;
18182
- (_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0 ? void 0 : _tagInputRef$value.focus();
18181
+ (_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0 || _tagInputRef$value.focus();
18183
18182
  if (props.trigger === 'focus' && listState.localList.length !== 0) {
18184
18183
  filterData();
18185
18184
  if (popoverProps.isShow) {
@@ -18208,8 +18207,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18208
18207
  var item = saveKeyMap.value[tag];
18209
18208
  modelValueMap[tag] = 1;
18210
18209
  if (!item && allowCreate) {
18211
- var _ref3;
18212
- return _ref3 = {}, _defineProperty(_ref3, saveKey, tag), _defineProperty(_ref3, displayKey, tag), _ref3;
18210
+ return _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
18213
18211
  }
18214
18212
  return item;
18215
18213
  }).filter(function (item) {
@@ -18265,8 +18263,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18265
18263
  initPage(filterData);
18266
18264
  };
18267
18265
  var activeClass = function activeClass(data, index) {
18268
- var _style;
18269
- var style = (_style = {}, _defineProperty(_style, "".concat(resolveClassName('selector-actived')), true), _defineProperty(_style, "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey])), _style);
18266
+ var style = _defineProperty(_defineProperty({}, "".concat(resolveClassName('selector-actived')), true), "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey]));
18270
18267
  if (props.useGroup) {
18271
18268
  style["".concat(resolveClassName('selector-actived'))] = data.__index__ === state.focusItemIndex;
18272
18269
  } else {
@@ -18348,7 +18345,6 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18348
18345
  emit('focus');
18349
18346
  // e.currentTarget.select();
18350
18347
  };
18351
-
18352
18348
  var handleBlur = function handleBlur() {
18353
18349
  timer.value = setTimeout(function () {
18354
18350
  var _formItem$validate2;
@@ -18387,7 +18383,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18387
18383
  }
18388
18384
  popoverProps.isShow = false;
18389
18385
  emit('blur', inputValue, tagList.value);
18390
- formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 ? void 0 : _formItem$validate2.call(formItem, 'blur');
18386
+ formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
18391
18387
  }, 200);
18392
18388
  };
18393
18389
  /**
@@ -18396,7 +18392,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18396
18392
  * @param type emit type
18397
18393
  */
18398
18394
  var handleTagSelected = function handleTagSelected(item, type, e) {
18399
- e === null || e === void 0 ? void 0 : e.stopPropagation();
18395
+ e === null || e === void 0 || e.stopPropagation();
18400
18396
  // 如果 item 不存在(备选项中没有包含输入的字母的情况即输入关键字没有备选项出现的情况)或者选中标签所在组是禁用状态,返回
18401
18397
  if (!item || item.disabled) {
18402
18398
  return;
@@ -18417,7 +18413,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18417
18413
  * @param e mouse event
18418
18414
  */
18419
18415
  var handleTagRemove = function handleTagRemove(data, index, e) {
18420
- e === null || e === void 0 ? void 0 : e.stopPropagation();
18416
+ e === null || e === void 0 || e.stopPropagation();
18421
18417
  removeTag(data, index);
18422
18418
  clearInput();
18423
18419
  handleChange('remove', data);
@@ -18574,9 +18570,8 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18574
18570
  textArr.forEach(function (item) {
18575
18571
  var matchValue = item.match(regx);
18576
18572
  if (matchValue) {
18577
- var _target$push;
18578
18573
  var finalItem = matchValue.join('');
18579
- target.push((_target$push = {}, _defineProperty(_target$push, props.saveKey, finalItem), _defineProperty(_target$push, props.displayKey, finalItem), _target$push));
18574
+ target.push(_defineProperty(_defineProperty({}, props.saveKey, finalItem), props.displayKey, finalItem));
18580
18575
  }
18581
18576
  });
18582
18577
  return target;
@@ -18620,11 +18615,10 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18620
18615
  }
18621
18616
  }
18622
18617
  var localTags = allowCreate ? tags.map(function (tag) {
18623
- var _ref6;
18624
18618
  var localTag = listState.localList.find(function (localTag) {
18625
18619
  return localTag[saveKey] === tag;
18626
18620
  });
18627
- return localTag !== null && localTag !== void 0 ? localTag : (_ref6 = {}, _defineProperty(_ref6, saveKey, tag), _defineProperty(_ref6, displayKey, tag), _ref6);
18621
+ return localTag !== null && localTag !== void 0 ? localTag : _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
18628
18622
  }) : listState.localList.filter(function (tag) {
18629
18623
  return tags.includes(tag[saveKey]);
18630
18624
  });
@@ -18684,8 +18678,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18684
18678
  return (tag === null || tag === void 0 ? void 0 : tag.trim()) && !tagList.value.includes(tag) && validateTag(tag);
18685
18679
  });
18686
18680
  var localTags = tags.map(function (tag) {
18687
- var _ref7;
18688
- return saveKeyMap.value[tag] || (_ref7 = {}, _defineProperty(_ref7, saveKey, tag), _defineProperty(_ref7, displayKey, tag), _ref7);
18681
+ return saveKeyMap.value[tag] || _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
18689
18682
  });
18690
18683
  if (tags.length) {
18691
18684
  var _listState$selectedTa2;
@@ -18698,8 +18691,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
18698
18691
  newValue = isObject ? item[saveKey] : item.trim();
18699
18692
  newValue = newValue.replace(/\s+/g, '');
18700
18693
  if (newValue !== undefined && !tagList.value.includes(newValue) && validateTag(newValue)) {
18701
- var _ref8;
18702
- var localItem = saveKeyMap.value[newValue] || (isObject ? item : (_ref8 = {}, _defineProperty(_ref8, saveKey, newValue), _defineProperty(_ref8, displayKey, newValue), _ref8));
18694
+ var localItem = saveKeyMap.value[newValue] || (isObject ? item : _defineProperty(_defineProperty({}, saveKey, newValue), displayKey, newValue));
18703
18695
  listState.selectedTagList.splice(targetIndex, 0, localItem);
18704
18696
  isSelected = true;
18705
18697
  }
@@ -290,11 +290,11 @@ declare const _default: import("vue").DefineComponent<{
290
290
  curInputValue: Ref<string>;
291
291
  renderList: import("vue").ComputedRef<any[]>;
292
292
  showTagClose: import("vue").ComputedRef<boolean>;
293
- tagInputRef: any;
294
- bkTagSelectorRef: any;
295
- tagListRef: any;
296
- tagInputItemRef: any;
297
- selectorListRef: any;
293
+ tagInputRef: Ref<any>;
294
+ bkTagSelectorRef: Ref<any>;
295
+ tagListRef: Ref<any>;
296
+ tagInputItemRef: Ref<any>;
297
+ selectorListRef: Ref<any>;
298
298
  triggerClass: import("vue").ComputedRef<{
299
299
  [x: string]: boolean;
300
300
  active: boolean;