bkui-vue 0.0.3-beta.2 → 0.0.3-beta.2-2

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 (249) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +10567 -10537
  3. package/dist/index.umd.js +48 -48
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +57 -111
  7. package/lib/affix/index.js +19 -19
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +82 -132
  10. package/lib/alert/index.js +20 -20
  11. package/lib/animate-number/index.d.ts +33 -96
  12. package/lib/backtop/index.d.ts +69 -117
  13. package/lib/badge/badge.d.ts +1 -1
  14. package/lib/badge/index.d.ts +120 -153
  15. package/lib/badge/index.js +19 -19
  16. package/lib/breadcrumb/index.d.ts +67 -119
  17. package/lib/breadcrumb/index.js +17 -17
  18. package/lib/button/button.d.ts +2 -2
  19. package/lib/button/index.d.ts +119 -155
  20. package/lib/button/index.js +19 -20
  21. package/lib/card/card.d.ts +1 -1
  22. package/lib/card/index.d.ts +129 -158
  23. package/lib/card/index.js +20 -22
  24. package/lib/cascader/cascader.d.ts +3 -3
  25. package/lib/cascader/index.d.ts +393 -354
  26. package/lib/cascader/index.js +233 -234
  27. package/lib/checkbox/checkbox.d.ts +1 -1
  28. package/lib/checkbox/index.d.ts +119 -161
  29. package/lib/checkbox/index.js +39 -41
  30. package/lib/code-diff/index.d.ts +65 -82
  31. package/lib/code-diff/index.js +380 -437
  32. package/lib/collapse/index.d.ts +144 -168
  33. package/lib/collapse/index.js +21 -21
  34. package/lib/collapse-transition/index.d.ts +19 -94
  35. package/lib/color-picker/color-picker.d.ts +1 -1
  36. package/lib/color-picker/index.d.ts +128 -154
  37. package/lib/color-picker/index.js +25 -28
  38. package/lib/config-provider/index.d.ts +156 -223
  39. package/lib/config-provider/index.js +19 -19
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +74 -85
  42. package/lib/container/index.js +19 -19
  43. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  44. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  45. package/lib/date-picker/date-picker.d.ts +3 -3
  46. package/lib/date-picker/index.d.ts +384 -351
  47. package/lib/date-picker/index.js +92 -104
  48. package/lib/date-picker/panel/date-range.d.ts +1 -1
  49. package/lib/date-picker/panel/date.d.ts +1 -1
  50. package/lib/date-picker/panel/time-range.d.ts +2 -2
  51. package/lib/date-picker/panel/time.d.ts +1 -1
  52. package/lib/date-picker/time-picker.d.ts +3 -3
  53. package/lib/dialog/index.d.ts +345 -302
  54. package/lib/dialog/index.js +227 -228
  55. package/lib/directives/index.js +27 -27
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +17 -17
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +18 -19
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/form/form.d.ts +1 -1
  64. package/lib/form/index.d.ts +80 -132
  65. package/lib/form/index.js +25 -26
  66. package/lib/icon/angle-double-down-line.js +21 -21
  67. package/lib/icon/angle-double-left-line.js +21 -21
  68. package/lib/icon/angle-double-left.js +21 -21
  69. package/lib/icon/angle-double-right-line.js +21 -21
  70. package/lib/icon/angle-double-right.js +21 -21
  71. package/lib/icon/angle-double-up-line.js +21 -21
  72. package/lib/icon/angle-down-fill.js +21 -21
  73. package/lib/icon/angle-down-line.js +21 -21
  74. package/lib/icon/angle-down.js +21 -21
  75. package/lib/icon/angle-left.js +21 -21
  76. package/lib/icon/angle-right.js +21 -21
  77. package/lib/icon/angle-up-fill.js +21 -21
  78. package/lib/icon/angle-up.js +21 -21
  79. package/lib/icon/archive-fill.js +21 -21
  80. package/lib/icon/arrows-left.js +21 -21
  81. package/lib/icon/arrows-right.js +21 -21
  82. package/lib/icon/assistant.js +21 -21
  83. package/lib/icon/audio-fill.js +21 -21
  84. package/lib/icon/bk.js +21 -21
  85. package/lib/icon/circle.js +21 -21
  86. package/lib/icon/close-line.js +21 -21
  87. package/lib/icon/close.js +21 -21
  88. package/lib/icon/code.js +21 -21
  89. package/lib/icon/cog-shape.js +21 -21
  90. package/lib/icon/collapse-left.js +21 -21
  91. package/lib/icon/copy-shape.js +21 -21
  92. package/lib/icon/copy.js +21 -21
  93. package/lib/icon/data-shape.js +21 -21
  94. package/lib/icon/del.js +21 -21
  95. package/lib/icon/doc-fill.js +21 -21
  96. package/lib/icon/done.js +21 -21
  97. package/lib/icon/down-shape.js +21 -21
  98. package/lib/icon/down-small.js +21 -21
  99. package/lib/icon/edit-line.js +21 -21
  100. package/lib/icon/ellipsis.js +21 -21
  101. package/lib/icon/enlarge-line.js +21 -21
  102. package/lib/icon/error.js +21 -21
  103. package/lib/icon/excel-fill.js +21 -21
  104. package/lib/icon/exclamation-circle-shape.js +21 -21
  105. package/lib/icon/eye.js +21 -21
  106. package/lib/icon/filliscreen-line.js +21 -21
  107. package/lib/icon/fix-line.js +21 -21
  108. package/lib/icon/fix-shape.js +21 -21
  109. package/lib/icon/folder-open.js +21 -21
  110. package/lib/icon/folder-shape-open.js +21 -21
  111. package/lib/icon/folder-shape.js +21 -21
  112. package/lib/icon/folder.js +21 -21
  113. package/lib/icon/funnel.js +21 -21
  114. package/lib/icon/grag-fill.js +21 -21
  115. package/lib/icon/help-document-fill.js +21 -21
  116. package/lib/icon/help-fill.js +21 -21
  117. package/lib/icon/help.js +21 -21
  118. package/lib/icon/image-fill.js +22 -22
  119. package/lib/icon/img-error.js +22 -22
  120. package/lib/icon/img-placehoulder.js +22 -22
  121. package/lib/icon/index.js +192 -192
  122. package/lib/icon/info-line.js +22 -22
  123. package/lib/icon/info.js +22 -22
  124. package/lib/icon/left-shape.js +22 -22
  125. package/lib/icon/left-turn-line.js +22 -22
  126. package/lib/icon/loading.js +22 -22
  127. package/lib/icon/narrow-line.js +22 -22
  128. package/lib/icon/original.js +22 -22
  129. package/lib/icon/pdf-fill.js +22 -22
  130. package/lib/icon/play-shape.js +22 -22
  131. package/lib/icon/plus.js +22 -22
  132. package/lib/icon/ppt-fill.js +22 -22
  133. package/lib/icon/qq.js +22 -22
  134. package/lib/icon/right-shape.js +22 -22
  135. package/lib/icon/right-turn-line.js +22 -22
  136. package/lib/icon/search.js +22 -22
  137. package/lib/icon/share.js +22 -22
  138. package/lib/icon/spinner.js +22 -22
  139. package/lib/icon/success.js +22 -22
  140. package/lib/icon/switcher-loading.js +22 -22
  141. package/lib/icon/text-file.js +22 -22
  142. package/lib/icon/text-fill.js +22 -22
  143. package/lib/icon/transfer.js +22 -22
  144. package/lib/icon/tree-application-shape.js +22 -22
  145. package/lib/icon/unfull-screen.js +22 -22
  146. package/lib/icon/unvisible.js +22 -22
  147. package/lib/icon/up-shape.js +22 -22
  148. package/lib/icon/upload.js +22 -22
  149. package/lib/icon/video-fill.js +22 -22
  150. package/lib/icon/warn.js +22 -22
  151. package/lib/icon/weixin-pro.js +22 -22
  152. package/lib/icon/weixin.js +22 -22
  153. package/lib/image/index.d.ts +113 -149
  154. package/lib/image/index.js +19 -19
  155. package/lib/info-box/index.js +229 -230
  156. package/lib/input/index.d.ts +326 -293
  157. package/lib/input/index.js +256 -258
  158. package/lib/link/index.d.ts +73 -122
  159. package/lib/loading/index.d.ts +130 -156
  160. package/lib/loading/index.js +23 -25
  161. package/lib/loading/loading.d.ts +1 -1
  162. package/lib/locale/index.js +0 -4
  163. package/lib/menu/index.d.ts +51 -112
  164. package/lib/menu/index.js +25 -25
  165. package/lib/message/index.js +28 -30
  166. package/lib/message/messageConstructor.d.ts +5 -5
  167. package/lib/modal/index.d.ts +251 -246
  168. package/lib/modal/index.js +24 -24
  169. package/lib/navigation/index.d.ts +152 -188
  170. package/lib/notify/index.js +22 -24
  171. package/lib/notify/notifyConstructor.d.ts +1 -1
  172. package/lib/overflow-title/index.d.ts +314 -242
  173. package/lib/overflow-title/index.js +1 -1
  174. package/lib/pagination/index.d.ts +194 -205
  175. package/lib/pagination/index.js +49 -56
  176. package/lib/plugin-popover/index.js +192 -98
  177. package/lib/pop-confirm/index.d.ts +126 -159
  178. package/lib/pop-confirm/index.js +0 -1
  179. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  180. package/lib/popover/content.d.ts +1 -1
  181. package/lib/popover/index.d.ts +374 -330
  182. package/lib/popover/index.js +192 -98
  183. package/lib/popover2/index.d.ts +8 -83
  184. package/lib/process/index.d.ts +93 -137
  185. package/lib/process/index.js +225 -226
  186. package/lib/progress/index.d.ts +178 -187
  187. package/lib/progress/index.js +19 -19
  188. package/lib/progress/progress.d.ts +2 -2
  189. package/lib/radio/index.d.ts +83 -135
  190. package/lib/radio/index.js +41 -43
  191. package/lib/rate/index.d.ts +55 -112
  192. package/lib/rate/index.js +19 -20
  193. package/lib/resize-layout/index.d.ts +156 -185
  194. package/lib/resize-layout/index.js +20 -21
  195. package/lib/resize-layout/resize-layout.d.ts +2 -2
  196. package/lib/search-select/index.d.ts +292 -327
  197. package/lib/search-select/index.js +239 -240
  198. package/lib/search-select/input.d.ts +2 -2
  199. package/lib/search-select/search-select.d.ts +3 -3
  200. package/lib/search-select/selected.d.ts +2 -2
  201. package/lib/select/index.d.ts +1234 -1135
  202. package/lib/select/index.js +259 -262
  203. package/lib/select/select.d.ts +121 -161
  204. package/lib/select/selectTagInput.d.ts +2 -2
  205. package/lib/shared/index.js +62 -64
  206. package/lib/sideslider/index.d.ts +237 -226
  207. package/lib/sideslider/index.js +227 -227
  208. package/lib/slider/index.d.ts +204 -204
  209. package/lib/slider/index.js +208 -209
  210. package/lib/steps/index.d.ts +114 -150
  211. package/lib/steps/index.js +227 -228
  212. package/lib/swiper/index.d.ts +81 -127
  213. package/lib/swiper/index.js +18 -18
  214. package/lib/switcher/index.d.ts +152 -174
  215. package/lib/switcher/index.js +20 -22
  216. package/lib/tab/index.d.ts +199 -211
  217. package/lib/tab/index.js +23 -25
  218. package/lib/table/components/table-column.d.ts +2 -2
  219. package/lib/table/index.d.ts +605 -593
  220. package/lib/table/index.js +161 -132
  221. package/lib/table/plugins/use-pagination.d.ts +3 -2
  222. package/lib/table/table.css +12 -5
  223. package/lib/table/table.d.ts +1 -1
  224. package/lib/table/table.less +15 -5
  225. package/lib/table/table.variable.css +12 -5
  226. package/lib/table/use-attributes.d.ts +40 -1
  227. package/lib/table/use-common.d.ts +68 -34
  228. package/lib/table-column/index.d.ts +206 -242
  229. package/lib/table-column/index.js +18 -19
  230. package/lib/tag/index.d.ts +95 -142
  231. package/lib/tag/index.js +19 -19
  232. package/lib/tag-input/index.d.ts +690 -498
  233. package/lib/tag-input/index.js +54 -62
  234. package/lib/tag-input/tag-input.d.ts +5 -5
  235. package/lib/time-picker/index.d.ts +442 -385
  236. package/lib/timeline/index.d.ts +50 -109
  237. package/lib/timeline/index.js +6 -6
  238. package/lib/transfer/index.d.ts +191 -206
  239. package/lib/tree/index.d.ts +334 -293
  240. package/lib/tree/index.js +36 -39
  241. package/lib/tree/tree.d.ts +1 -1
  242. package/lib/tree/use-tree-init.d.ts +1 -1
  243. package/lib/upload/index.d.ts +281 -254
  244. package/lib/upload/index.js +254 -257
  245. package/lib/upload/upload.d.ts +2 -2
  246. package/lib/virtual-render/index.d.ts +337 -242
  247. package/lib/virtual-render/index.js +30 -30
  248. package/lib/virtual-render/virtual-render.d.ts +1 -1
  249. package/package.json +1 -1
@@ -41,45 +41,45 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
41
41
  var y = x => () => x
42
42
  const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["checkOverflow"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.checkOverflow, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
43
43
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
44
- function _typeof(obj) {
44
+ function _typeof(o) {
45
45
  "@babel/helpers - typeof";
46
46
 
47
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
48
- return typeof obj;
49
- } : function (obj) {
50
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
51
- }, _typeof(obj);
47
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
48
+ return typeof o;
49
+ } : function (o) {
50
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
51
+ }, _typeof(o);
52
52
  }
53
53
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
54
54
  function _arrayWithHoles(arr) {
55
55
  if (Array.isArray(arr)) return arr;
56
56
  }
57
57
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
58
- function _iterableToArrayLimit(arr, i) {
59
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
60
- if (null != _i) {
61
- var _s,
62
- _e,
63
- _x,
64
- _r,
65
- _arr = [],
66
- _n = !0,
67
- _d = !1;
58
+ function _iterableToArrayLimit(r, l) {
59
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
60
+ if (null != t) {
61
+ var e,
62
+ n,
63
+ i,
64
+ u,
65
+ a = [],
66
+ f = !0,
67
+ o = !1;
68
68
  try {
69
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
70
- if (Object(_i) !== _i) return;
71
- _n = !1;
72
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
73
- } catch (err) {
74
- _d = !0, _e = err;
69
+ if (i = (t = t.call(r)).next, 0 === l) {
70
+ if (Object(t) !== t) return;
71
+ f = !1;
72
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
73
+ } catch (r) {
74
+ o = !0, n = r;
75
75
  } finally {
76
76
  try {
77
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
77
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
78
78
  } finally {
79
- if (_d) throw _e;
79
+ if (o) throw n;
80
80
  }
81
81
  }
82
- return _arr;
82
+ return a;
83
83
  }
84
84
  }
85
85
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -133,27 +133,27 @@ function _toConsumableArray(arr) {
133
133
  }
134
134
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
135
135
 
136
- function _toPrimitive(input, hint) {
137
- if (_typeof(input) !== "object" || input === null) return input;
138
- var prim = input[Symbol.toPrimitive];
139
- if (prim !== undefined) {
140
- var res = prim.call(input, hint || "default");
141
- if (_typeof(res) !== "object") return res;
136
+ function toPrimitive(t, r) {
137
+ if ("object" != _typeof(t) || !t) return t;
138
+ var e = t[Symbol.toPrimitive];
139
+ if (void 0 !== e) {
140
+ var i = e.call(t, r || "default");
141
+ if ("object" != _typeof(i)) return i;
142
142
  throw new TypeError("@@toPrimitive must return a primitive value.");
143
143
  }
144
- return (hint === "string" ? String : Number)(input);
144
+ return ("string" === r ? String : Number)(t);
145
145
  }
146
146
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
147
147
 
148
148
 
149
- function _toPropertyKey(arg) {
150
- var key = _toPrimitive(arg, "string");
151
- return _typeof(key) === "symbol" ? key : String(key);
149
+ function toPropertyKey(t) {
150
+ var i = toPrimitive(t, "string");
151
+ return "symbol" == _typeof(i) ? i : String(i);
152
152
  }
153
153
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
154
154
 
155
155
  function _defineProperty(obj, key, value) {
156
- key = _toPropertyKey(key);
156
+ key = toPropertyKey(key);
157
157
  if (key in obj) {
158
158
  Object.defineProperty(obj, key, {
159
159
  value: value,
@@ -197,8 +197,8 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
197
197
  ;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
198
198
 
199
199
 
200
- 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; }
201
- 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; }
200
+ 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; }
201
+ 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; }
202
202
  /*
203
203
  * Tencent is pleased to support the open source community by making
204
204
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -543,8 +543,8 @@ var tagProps = function tagProps() {
543
543
  ;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-render.tsx
544
544
 
545
545
 
546
- 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; }
547
- 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; }
546
+ 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; }
547
+ 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; }
548
548
  /*
549
549
  * Tencent is pleased to support the open source community by making
550
550
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -633,8 +633,8 @@ function tag_render_objectSpread(target) { for (var i = 1; i < arguments.length;
633
633
 
634
634
 
635
635
 
636
- 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; }
637
- 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; }
636
+ 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; }
637
+ 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; }
638
638
  /*
639
639
  * Tencent is pleased to support the open source community by making
640
640
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -740,8 +740,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
740
740
  return props.clearable && !props.disabled && listState.selectedTagList.length !== 0 && (props.showClearOnlyHover ? state.isHover : true);
741
741
  });
742
742
  var triggerClass = (0,external_vue_namespaceObject.computed)(function () {
743
- var _ref2;
744
- return _ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('tag-input-trigger')), true), _defineProperty(_ref2, "active", state.isEdit), _defineProperty(_ref2, "disabled", props.disabled), _ref2;
743
+ return _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('tag-input-trigger')), true), "active", state.isEdit), "disabled", props.disabled);
745
744
  });
746
745
  var listState = (0,external_vue_namespaceObject.reactive)({
747
746
  localList: [],
@@ -798,7 +797,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
798
797
  });
799
798
  if (props.withValidate) {
800
799
  var _formItem$validate;
801
- formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
800
+ formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
802
801
  }
803
802
  }
804
803
  });
@@ -888,7 +887,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
888
887
  state.isEdit = true;
889
888
  setTimeout(function () {
890
889
  var _tagInputRef$value;
891
- (_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0 ? void 0 : _tagInputRef$value.focus();
890
+ (_tagInputRef$value = tagInputRef.value) === null || _tagInputRef$value === void 0 || _tagInputRef$value.focus();
892
891
  if (props.trigger === 'focus' && listState.localList.length !== 0) {
893
892
  filterData();
894
893
  if (popoverProps.isShow) {
@@ -917,8 +916,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
917
916
  var item = saveKeyMap.value[tag];
918
917
  modelValueMap[tag] = 1;
919
918
  if (!item && allowCreate) {
920
- var _ref3;
921
- return _ref3 = {}, _defineProperty(_ref3, saveKey, tag), _defineProperty(_ref3, displayKey, tag), _ref3;
919
+ return _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
922
920
  }
923
921
  return item;
924
922
  }).filter(function (item) {
@@ -974,8 +972,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
974
972
  initPage(filterData);
975
973
  };
976
974
  var activeClass = function activeClass(data, index) {
977
- var _style;
978
- var style = (_style = {}, _defineProperty(_style, "".concat(resolveClassName('selector-actived')), true), _defineProperty(_style, "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey])), _style);
975
+ var style = _defineProperty(_defineProperty({}, "".concat(resolveClassName('selector-actived')), true), "".concat(resolveClassName('selector-selected')), tagList.value.includes(data[props.saveKey]));
979
976
  if (props.useGroup) {
980
977
  style["".concat(resolveClassName('selector-actived'))] = data.__index__ === state.focusItemIndex;
981
978
  } else {
@@ -1057,7 +1054,6 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1057
1054
  emit('focus');
1058
1055
  // e.currentTarget.select();
1059
1056
  };
1060
-
1061
1057
  var handleBlur = function handleBlur() {
1062
1058
  timer.value = setTimeout(function () {
1063
1059
  var _formItem$validate2;
@@ -1096,7 +1092,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1096
1092
  }
1097
1093
  popoverProps.isShow = false;
1098
1094
  emit('blur', inputValue, tagList.value);
1099
- formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 ? void 0 : _formItem$validate2.call(formItem, 'blur');
1095
+ formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
1100
1096
  }, 200);
1101
1097
  };
1102
1098
  /**
@@ -1105,7 +1101,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1105
1101
  * @param type emit type
1106
1102
  */
1107
1103
  var handleTagSelected = function handleTagSelected(item, type, e) {
1108
- e === null || e === void 0 ? void 0 : e.stopPropagation();
1104
+ e === null || e === void 0 || e.stopPropagation();
1109
1105
  // 如果 item 不存在(备选项中没有包含输入的字母的情况即输入关键字没有备选项出现的情况)或者选中标签所在组是禁用状态,返回
1110
1106
  if (!item || item.disabled) {
1111
1107
  return;
@@ -1126,7 +1122,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1126
1122
  * @param e mouse event
1127
1123
  */
1128
1124
  var handleTagRemove = function handleTagRemove(data, index, e) {
1129
- e === null || e === void 0 ? void 0 : e.stopPropagation();
1125
+ e === null || e === void 0 || e.stopPropagation();
1130
1126
  removeTag(data, index);
1131
1127
  clearInput();
1132
1128
  handleChange('remove', data);
@@ -1283,9 +1279,8 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1283
1279
  textArr.forEach(function (item) {
1284
1280
  var matchValue = item.match(regx);
1285
1281
  if (matchValue) {
1286
- var _target$push;
1287
1282
  var finalItem = matchValue.join('');
1288
- target.push((_target$push = {}, _defineProperty(_target$push, props.saveKey, finalItem), _defineProperty(_target$push, props.displayKey, finalItem), _target$push));
1283
+ target.push(_defineProperty(_defineProperty({}, props.saveKey, finalItem), props.displayKey, finalItem));
1289
1284
  }
1290
1285
  });
1291
1286
  return target;
@@ -1329,11 +1324,10 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1329
1324
  }
1330
1325
  }
1331
1326
  var localTags = allowCreate ? tags.map(function (tag) {
1332
- var _ref6;
1333
1327
  var localTag = listState.localList.find(function (localTag) {
1334
1328
  return localTag[saveKey] === tag;
1335
1329
  });
1336
- return localTag !== null && localTag !== void 0 ? localTag : (_ref6 = {}, _defineProperty(_ref6, saveKey, tag), _defineProperty(_ref6, displayKey, tag), _ref6);
1330
+ return localTag !== null && localTag !== void 0 ? localTag : _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
1337
1331
  }) : listState.localList.filter(function (tag) {
1338
1332
  return tags.includes(tag[saveKey]);
1339
1333
  });
@@ -1393,8 +1387,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1393
1387
  return (tag === null || tag === void 0 ? void 0 : tag.trim()) && !tagList.value.includes(tag) && validateTag(tag);
1394
1388
  });
1395
1389
  var localTags = tags.map(function (tag) {
1396
- var _ref7;
1397
- return saveKeyMap.value[tag] || (_ref7 = {}, _defineProperty(_ref7, saveKey, tag), _defineProperty(_ref7, displayKey, tag), _ref7);
1390
+ return saveKeyMap.value[tag] || _defineProperty(_defineProperty({}, saveKey, tag), displayKey, tag);
1398
1391
  });
1399
1392
  if (tags.length) {
1400
1393
  var _listState$selectedTa2;
@@ -1407,8 +1400,7 @@ function tag_input_objectSpread(target) { for (var i = 1; i < arguments.length;
1407
1400
  newValue = isObject ? item[saveKey] : item.trim();
1408
1401
  newValue = newValue.replace(/\s+/g, '');
1409
1402
  if (newValue !== undefined && !tagList.value.includes(newValue) && validateTag(newValue)) {
1410
- var _ref8;
1411
- var localItem = saveKeyMap.value[newValue] || (isObject ? item : (_ref8 = {}, _defineProperty(_ref8, saveKey, newValue), _defineProperty(_ref8, displayKey, newValue), _ref8));
1403
+ var localItem = saveKeyMap.value[newValue] || (isObject ? item : _defineProperty(_defineProperty({}, saveKey, newValue), displayKey, newValue));
1412
1404
  listState.selectedTagList.splice(targetIndex, 0, localItem);
1413
1405
  isSelected = true;
1414
1406
  }
@@ -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;