bkui-vue 2.0.1-beta.112 → 2.0.1-beta.113

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 (248) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +13942 -13951
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +111 -57
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +126 -73
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +96 -33
  10. package/lib/animate-number/index.js +7 -8
  11. package/lib/backtop/index.d.ts +117 -69
  12. package/lib/backtop/index.js +10 -11
  13. package/lib/badge/index.d.ts +152 -119
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +119 -67
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +155 -119
  19. package/lib/button/index.js +20 -19
  20. package/lib/card/index.d.ts +157 -128
  21. package/lib/card/index.js +22 -20
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +354 -393
  24. package/lib/cascader/index.js +57 -59
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +175 -143
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +82 -65
  29. package/lib/code-diff/index.js +438 -381
  30. package/lib/collapse/index.d.ts +175 -156
  31. package/lib/collapse/index.js +27 -28
  32. package/lib/collapse-transition/index.d.ts +94 -19
  33. package/lib/collapse-transition/index.js +3 -4
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +165 -144
  36. package/lib/color-picker/index.js +40 -42
  37. package/lib/config-provider/index.d.ts +227 -160
  38. package/lib/config-provider/index.js +17 -17
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +85 -74
  41. package/lib/container/index.js +26 -28
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +351 -380
  46. package/lib/date-picker/index.js +79 -80
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +269 -299
  53. package/lib/dialog/index.js +228 -227
  54. package/lib/directives/index.js +29 -29
  55. package/lib/divider/index.d.ts +111 -57
  56. package/lib/divider/index.js +2 -3
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +136 -94
  59. package/lib/dropdown/index.js +22 -24
  60. package/lib/exception/index.d.ts +102 -41
  61. package/lib/exception/index.js +21 -21
  62. package/lib/fixed-navbar/index.d.ts +113 -59
  63. package/lib/fixed-navbar/index.js +2 -3
  64. package/lib/form/form.d.ts +1 -1
  65. package/lib/form/index.d.ts +132 -80
  66. package/lib/form/index.js +22 -21
  67. package/lib/icon/angle-double-down-line.js +17 -17
  68. package/lib/icon/angle-double-left-line.js +17 -17
  69. package/lib/icon/angle-double-left.js +17 -17
  70. package/lib/icon/angle-double-right-line.js +17 -17
  71. package/lib/icon/angle-double-right.js +17 -17
  72. package/lib/icon/angle-double-up-line.js +17 -17
  73. package/lib/icon/angle-down-fill.js +17 -17
  74. package/lib/icon/angle-down-line.js +17 -17
  75. package/lib/icon/angle-down.js +17 -17
  76. package/lib/icon/angle-left.js +17 -17
  77. package/lib/icon/angle-right.js +17 -17
  78. package/lib/icon/angle-up-fill.js +17 -17
  79. package/lib/icon/angle-up.js +17 -17
  80. package/lib/icon/archive-fill.js +17 -17
  81. package/lib/icon/arrows-left.js +17 -17
  82. package/lib/icon/arrows-right.js +17 -17
  83. package/lib/icon/assistant.js +17 -17
  84. package/lib/icon/audio-fill.js +17 -17
  85. package/lib/icon/bk.js +17 -17
  86. package/lib/icon/circle.js +17 -17
  87. package/lib/icon/close-line.js +17 -17
  88. package/lib/icon/close.js +17 -17
  89. package/lib/icon/code.js +17 -17
  90. package/lib/icon/cog-shape.js +17 -17
  91. package/lib/icon/collapse-left.js +17 -17
  92. package/lib/icon/copy-shape.js +17 -17
  93. package/lib/icon/copy.js +17 -17
  94. package/lib/icon/data-shape.js +17 -17
  95. package/lib/icon/del.js +17 -17
  96. package/lib/icon/doc-fill.js +17 -17
  97. package/lib/icon/done.js +17 -17
  98. package/lib/icon/down-shape.js +17 -17
  99. package/lib/icon/down-small.js +17 -17
  100. package/lib/icon/edit-line.js +17 -17
  101. package/lib/icon/ellipsis.js +17 -17
  102. package/lib/icon/enlarge-line.js +17 -17
  103. package/lib/icon/error.js +17 -17
  104. package/lib/icon/excel-fill.js +17 -17
  105. package/lib/icon/exclamation-circle-shape.js +17 -17
  106. package/lib/icon/eye.js +17 -17
  107. package/lib/icon/filliscreen-line.js +17 -17
  108. package/lib/icon/fix-line.js +17 -17
  109. package/lib/icon/fix-shape.js +17 -17
  110. package/lib/icon/folder-open.js +17 -17
  111. package/lib/icon/folder-shape-open.js +17 -17
  112. package/lib/icon/folder-shape.js +17 -17
  113. package/lib/icon/folder.js +17 -17
  114. package/lib/icon/funnel.js +17 -17
  115. package/lib/icon/grag-fill.js +17 -17
  116. package/lib/icon/help-document-fill.js +17 -17
  117. package/lib/icon/help-fill.js +17 -17
  118. package/lib/icon/help.js +17 -17
  119. package/lib/icon/image-fill.js +17 -17
  120. package/lib/icon/img-error.js +17 -17
  121. package/lib/icon/img-placehoulder.js +17 -17
  122. package/lib/icon/info-line.js +17 -17
  123. package/lib/icon/info.js +17 -17
  124. package/lib/icon/left-shape.js +17 -17
  125. package/lib/icon/left-turn-line.js +17 -17
  126. package/lib/icon/loading.js +17 -17
  127. package/lib/icon/narrow-line.js +17 -17
  128. package/lib/icon/original.js +17 -17
  129. package/lib/icon/pdf-fill.js +17 -17
  130. package/lib/icon/play-shape.js +17 -17
  131. package/lib/icon/plus.js +17 -17
  132. package/lib/icon/ppt-fill.js +17 -17
  133. package/lib/icon/qq.js +17 -17
  134. package/lib/icon/right-shape.js +17 -17
  135. package/lib/icon/right-turn-line.js +17 -17
  136. package/lib/icon/search.js +17 -17
  137. package/lib/icon/share.js +17 -17
  138. package/lib/icon/spinner.js +17 -17
  139. package/lib/icon/success.js +17 -17
  140. package/lib/icon/switcher-loading.js +17 -17
  141. package/lib/icon/text-all.js +17 -17
  142. package/lib/icon/text-file.js +17 -17
  143. package/lib/icon/text-fill.js +17 -17
  144. package/lib/icon/transfer.js +17 -17
  145. package/lib/icon/tree-application-shape.js +17 -17
  146. package/lib/icon/unfull-screen.js +17 -17
  147. package/lib/icon/unvisible.js +17 -17
  148. package/lib/icon/up-shape.js +17 -17
  149. package/lib/icon/upload.js +17 -17
  150. package/lib/icon/video-fill.js +17 -17
  151. package/lib/icon/warn.js +17 -17
  152. package/lib/icon/weixin-pro.js +17 -17
  153. package/lib/icon/weixin.js +17 -17
  154. package/lib/image/index.d.ts +149 -113
  155. package/lib/image/index.js +26 -27
  156. package/lib/index.js +1 -1
  157. package/lib/info-box/index.js +233 -232
  158. package/lib/input/index.d.ts +293 -326
  159. package/lib/input/index.js +48 -46
  160. package/lib/link/index.d.ts +122 -73
  161. package/lib/link/index.js +2 -2
  162. package/lib/loading/index.d.ts +156 -130
  163. package/lib/loading/index.js +33 -32
  164. package/lib/loading/loading.d.ts +1 -1
  165. package/lib/menu/index.d.ts +116 -55
  166. package/lib/menu/index.js +25 -26
  167. package/lib/message/index.js +25 -24
  168. package/lib/message/messageConstructor.d.ts +5 -5
  169. package/lib/modal/index.d.ts +185 -171
  170. package/lib/modal/index.js +19 -19
  171. package/lib/navigation/index.d.ts +188 -152
  172. package/lib/navigation/index.js +7 -9
  173. package/lib/notify/index.js +21 -20
  174. package/lib/overflow-title/index.d.ts +256 -343
  175. package/lib/overflow-title/index.js +10 -11
  176. package/lib/pagination/index.d.ts +198 -184
  177. package/lib/pagination/index.js +56 -49
  178. package/lib/pop-confirm/index.d.ts +153 -115
  179. package/lib/pop-confirm/index.js +4 -5
  180. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  181. package/lib/popover/content.d.ts +1 -1
  182. package/lib/popover/index.d.ts +359 -421
  183. package/lib/popover/index.js +122 -220
  184. package/lib/popover2/index.d.ts +83 -8
  185. package/lib/popover2/index.js +2 -2
  186. package/lib/process/index.d.ts +137 -93
  187. package/lib/process/index.js +226 -226
  188. package/lib/progress/index.d.ts +187 -178
  189. package/lib/progress/index.js +21 -22
  190. package/lib/progress/progress.d.ts +2 -2
  191. package/lib/radio/index.d.ts +140 -91
  192. package/lib/radio/index.js +48 -46
  193. package/lib/rate/index.d.ts +112 -55
  194. package/lib/rate/index.js +20 -19
  195. package/lib/resize-layout/index.d.ts +192 -168
  196. package/lib/resize-layout/index.js +21 -20
  197. package/lib/resize-layout/resize-layout.d.ts +2 -2
  198. package/lib/scrollbar/index.js +38 -38
  199. package/lib/search-select/index.d.ts +901 -684
  200. package/lib/search-select/index.js +274 -274
  201. package/lib/search-select/input.d.ts +2 -2
  202. package/lib/search-select/search-select.d.ts +188 -133
  203. package/lib/search-select/selected.d.ts +188 -133
  204. package/lib/select/index.d.ts +1333 -1491
  205. package/lib/select/index.js +280 -279
  206. package/lib/select/select.d.ts +169 -132
  207. package/lib/select/selectTagInput.d.ts +2 -2
  208. package/lib/shared/index.js +56 -54
  209. package/lib/sideslider/index.d.ts +201 -197
  210. package/lib/sideslider/index.js +228 -227
  211. package/lib/slider/index.d.ts +210 -214
  212. package/lib/slider/index.js +225 -226
  213. package/lib/steps/index.d.ts +149 -110
  214. package/lib/steps/index.js +231 -230
  215. package/lib/swiper/index.d.ts +127 -81
  216. package/lib/swiper/index.js +18 -18
  217. package/lib/switcher/index.d.ts +174 -152
  218. package/lib/switcher/index.js +22 -20
  219. package/lib/tab/index.d.ts +183 -151
  220. package/lib/tab/index.js +19 -20
  221. package/lib/table/components/table-column.d.ts +1 -1
  222. package/lib/table/hooks/use-columns.d.ts +1 -1
  223. package/lib/table/hooks/use-layout.d.ts +2 -2
  224. package/lib/table/hooks/use-rows.d.ts +1 -1
  225. package/lib/table/index.d.ts +362 -457
  226. package/lib/table/index.js +348 -336
  227. package/lib/table/table.d.ts +1 -1
  228. package/lib/table-column/index.d.ts +150 -104
  229. package/lib/tag/index.d.ts +142 -95
  230. package/lib/tag/index.js +19 -19
  231. package/lib/tag-input/index.d.ts +540 -755
  232. package/lib/tag-input/index.js +58 -52
  233. package/lib/tag-input/tag-input.d.ts +5 -5
  234. package/lib/time-picker/index.d.ts +386 -439
  235. package/lib/timeline/index.d.ts +131 -64
  236. package/lib/timeline/index.js +6 -6
  237. package/lib/transfer/index.d.ts +206 -191
  238. package/lib/tree/index.d.ts +308 -350
  239. package/lib/tree/index.js +74 -71
  240. package/lib/tree/tree.d.ts +1 -1
  241. package/lib/tree/use-tree-init.d.ts +1 -1
  242. package/lib/upload/index.d.ts +273 -311
  243. package/lib/upload/index.js +264 -261
  244. package/lib/upload/upload.d.ts +2 -2
  245. package/lib/virtual-render/index.d.ts +241 -333
  246. package/lib/virtual-render/index.js +29 -29
  247. package/lib/virtual-render/virtual-render.d.ts +1 -1
  248. package/package.json +1 -1
@@ -52,7 +52,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
52
52
  ;// CONCATENATED MODULE: external "vue"
53
53
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
54
54
  var external_vue_y = x => () => x
55
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
55
+ const external_vue_namespaceObject = external_vue_x({ ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
56
56
  ;// CONCATENATED MODULE: external "vue-types"
57
57
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
58
58
  var external_vue_types_y = x => () => x
@@ -103,10 +103,9 @@ var checkbox_less_y = x => () => x
103
103
  const checkbox_less_namespaceObject = checkbox_less_x({ });
104
104
  ;// CONCATENATED MODULE: ../../packages/cascader/src/cascader-panel.tsx
105
105
 
106
- 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; } } }; }
107
- 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); }
108
- 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; }
109
- /*
106
+ 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; } } }; }
107
+ 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; } }
108
+ 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; } /*
110
109
  * Tencent is pleased to support the open source community by making
111
110
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
112
111
  *
@@ -137,12 +136,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
137
136
 
138
137
 
139
138
 
140
-
141
139
  /**
142
140
  * CascaderPanel 组件
143
141
  * 用于展示级联选择器的面板,支持多选、单选、远程加载等功能。
144
142
  */
145
- /* harmony default export */ const cascader_panel = ((0,external_vue_namespaceObject.defineComponent)({
143
+ /* harmony default export */ const cascader_panel = (defineComponent({
146
144
  name: 'CascaderPanel',
147
145
  props: {
148
146
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.string]).def('auto'),
@@ -161,11 +159,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
161
159
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
162
160
  resolveClassName = _usePrefix.resolveClassName;
163
161
  var store = props.store;
164
- var menus = (0,external_vue_namespaceObject.reactive)({
162
+ var menus = reactive({
165
163
  list: [props.store.getNodes()]
166
164
  });
167
- var activePath = (0,external_vue_namespaceObject.ref)([]);
168
- var checkValue = (0,external_vue_namespaceObject.ref)([]);
165
+ var activePath = ref([]);
166
+ var checkValue = ref([]);
169
167
  /**
170
168
  * 根据传入的值计算尺寸
171
169
  * @param value - 数字或字符串类型的尺寸值
@@ -318,7 +316,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
318
316
  // 查找当前级别中选中的或已勾选的节点
319
317
  var selectedNode = document.querySelector(".".concat(resolveClassName('cascader-panel'), ":nth-child(").concat(level + 1, ") .").concat(resolveClassName('cascader-node.is-selected'), ", .").concat(resolveClassName('cascader-node.is-checked')));
320
318
  if (selectedNode) {
321
- (0,external_vue_namespaceObject.nextTick)(function () {
319
+ nextTick(function () {
322
320
  selectedNode.scrollIntoView();
323
321
  });
324
322
  }
@@ -368,7 +366,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
368
366
  }, null);
369
367
  };
370
368
  // 监听 modelValue 的变化,更新选中值
371
- (0,external_vue_namespaceObject.watch)(function () {
369
+ watch(function () {
372
370
  return props.modelValue;
373
371
  }, function (value) {
374
372
  updateCheckValue(value);
@@ -376,7 +374,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
376
374
  immediate: true
377
375
  });
378
376
  // 监听 store 的变化,更新菜单列表
379
- (0,external_vue_namespaceObject.watch)(function () {
377
+ watch(function () {
380
378
  return props.store;
381
379
  }, function (value) {
382
380
  menus.list = [value.getNodes()];
@@ -475,33 +473,33 @@ function _classCallCheck(instance, Constructor) {
475
473
  }
476
474
  }
477
475
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
478
- function _typeof(o) {
476
+ function _typeof(obj) {
479
477
  "@babel/helpers - typeof";
480
478
 
481
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
482
- return typeof o;
483
- } : function (o) {
484
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
485
- }, _typeof(o);
479
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
480
+ return typeof obj;
481
+ } : function (obj) {
482
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
483
+ }, _typeof(obj);
486
484
  }
487
485
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
488
486
 
489
- function toPrimitive(t, r) {
490
- if ("object" != _typeof(t) || !t) return t;
491
- var e = t[Symbol.toPrimitive];
492
- if (void 0 !== e) {
493
- var i = e.call(t, r || "default");
494
- if ("object" != _typeof(i)) return i;
487
+ function _toPrimitive(input, hint) {
488
+ if (_typeof(input) !== "object" || input === null) return input;
489
+ var prim = input[Symbol.toPrimitive];
490
+ if (prim !== undefined) {
491
+ var res = prim.call(input, hint || "default");
492
+ if (_typeof(res) !== "object") return res;
495
493
  throw new TypeError("@@toPrimitive must return a primitive value.");
496
494
  }
497
- return ("string" === r ? String : Number)(t);
495
+ return (hint === "string" ? String : Number)(input);
498
496
  }
499
497
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
500
498
 
501
499
 
502
- function toPropertyKey(t) {
503
- var i = toPrimitive(t, "string");
504
- return "symbol" == _typeof(i) ? i : String(i);
500
+ function _toPropertyKey(arg) {
501
+ var key = _toPrimitive(arg, "string");
502
+ return _typeof(key) === "symbol" ? key : String(key);
505
503
  }
506
504
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
507
505
 
@@ -511,7 +509,7 @@ function _defineProperties(target, props) {
511
509
  descriptor.enumerable = descriptor.enumerable || false;
512
510
  descriptor.configurable = true;
513
511
  if ("value" in descriptor) descriptor.writable = true;
514
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
512
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
515
513
  }
516
514
  }
517
515
  function _createClass(Constructor, protoProps, staticProps) {
@@ -641,7 +639,7 @@ var Node = /*#__PURE__*/function () {
641
639
  var _child$handlerName;
642
640
  // 自底向上广播事件
643
641
  child.broadcast(event, checkStatus);
644
- (_child$handlerName = child[handlerName]) === null || _child$handlerName === void 0 || _child$handlerName.call(child, checkStatus);
642
+ (_child$handlerName = child[handlerName]) === null || _child$handlerName === void 0 ? void 0 : _child$handlerName.call(child, checkStatus);
645
643
  }
646
644
  });
647
645
  }
@@ -653,7 +651,7 @@ var Node = /*#__PURE__*/function () {
653
651
  var handlerName = "onChild".concat((0,shared_namespaceObject.capitalize)(event));
654
652
  if (parent) {
655
653
  var _parent$handlerName;
656
- (_parent$handlerName = parent[handlerName]) === null || _parent$handlerName === void 0 || _parent$handlerName.call(parent);
654
+ (_parent$handlerName = parent[handlerName]) === null || _parent$handlerName === void 0 ? void 0 : _parent$handlerName.call(parent);
657
655
  parent.emit(event);
658
656
  }
659
657
  }
@@ -918,7 +916,7 @@ var Store = /*#__PURE__*/function () {
918
916
  * Cascader 组件
919
917
  * 用于展示级联选择器,支持多选、单选、搜索、远程加载等功能。
920
918
  */
921
- /* harmony default export */ const cascader = ((0,external_vue_namespaceObject.defineComponent)({
919
+ /* harmony default export */ const cascader = (defineComponent({
922
920
  name: 'Cascader',
923
921
  directives: {
924
922
  bkTooltips: directives_namespaceObject.bkTooltips
@@ -970,29 +968,29 @@ var Store = /*#__PURE__*/function () {
970
968
  isHover = _useHover.isHover,
971
969
  setHover = _useHover.setHover,
972
970
  cancelHover = _useHover.cancelHover;
973
- var store = (0,external_vue_namespaceObject.ref)(new src_store(props));
971
+ var store = ref(new src_store(props));
974
972
  // 定义selectedText变量用于记录当前选择的值的文本
975
- var selectedText = (0,external_vue_namespaceObject.ref)('');
973
+ var selectedText = ref('');
976
974
  // 定义selectedTags变量用于记录多选模式下已选的tag
977
- var selectedTags = (0,external_vue_namespaceObject.ref)([]);
978
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
975
+ var selectedTags = ref([]);
976
+ var _toRefs = toRefs(props),
979
977
  modelValue = _toRefs.modelValue;
980
978
  // 定义cascaderPanel 引用
981
- var cascaderPanel = (0,external_vue_namespaceObject.ref)();
979
+ var cascaderPanel = ref();
982
980
  // 定义searchKey变量,支持搜索时,搜索框绑定变量
983
- var searchKey = (0,external_vue_namespaceObject.ref)('');
981
+ var searchKey = ref('');
984
982
  // 定义suggestions变量,搜索功能打开时,面板给出的列表
985
- var suggestions = (0,external_vue_namespaceObject.ref)([]);
983
+ var suggestions = ref([]);
986
984
  // 定义isFiltering变量,记录是否正在搜索,过滤
987
- var isFiltering = (0,external_vue_namespaceObject.ref)(false);
985
+ var isFiltering = ref(false);
988
986
  // 定义isEdit变量,记录是否处于编辑状态
989
- var isEdit = (0,external_vue_namespaceObject.ref)(false);
987
+ var isEdit = ref(false);
990
988
  // 定义isFocus变量,记录是否处于焦点状态
991
- var isFocus = (0,external_vue_namespaceObject.ref)(false);
989
+ var isFocus = ref(false);
992
990
  // 定义isShowPanel变量,用于标致面板显示
993
- var isShowPanel = (0,external_vue_namespaceObject.ref)(false);
991
+ var isShowPanel = ref(false);
994
992
  // 用computed定义checkedValue变量,用于监听modelValue的变化
995
- var checkedValue = (0,external_vue_namespaceObject.computed)({
993
+ var checkedValue = computed({
996
994
  get: function get() {
997
995
  return modelValue.value;
998
996
  },
@@ -1001,15 +999,15 @@ var Store = /*#__PURE__*/function () {
1001
999
  }
1002
1000
  });
1003
1001
  // 定义popover变量
1004
- var popover = (0,external_vue_namespaceObject.ref)(null);
1002
+ var popover = ref(null);
1005
1003
  // 定义bkCascaderRef和inputRef变量
1006
- var bkCascaderRef = (0,external_vue_namespaceObject.ref)(null);
1007
- var inputRef = (0,external_vue_namespaceObject.ref)(null);
1004
+ var bkCascaderRef = ref(null);
1005
+ var inputRef = ref(null);
1008
1006
  // 用computed定义placeholder变量,用于处理props中的placeholder属性
1009
- var placeholder = (0,external_vue_namespaceObject.computed)(function () {
1007
+ var placeholder = computed(function () {
1010
1008
  return props.placeholder ? props.placeholder : t.value.pleaseSelect;
1011
1009
  });
1012
- var displayText = (0,external_vue_namespaceObject.computed)(function () {
1010
+ var displayText = computed(function () {
1013
1011
  if (props.customTextFillback) {
1014
1012
  return props.customTextFillback(props.modelValue, store.value.getFlattedNodes());
1015
1013
  }
@@ -1054,7 +1052,7 @@ var Store = /*#__PURE__*/function () {
1054
1052
  // 如果 checkAnyLevel 配置为 false,则隐藏弹出框
1055
1053
  if (!props.checkAnyLevel) {
1056
1054
  var _popover$value;
1057
- popover === null || popover === void 0 || (_popover$value = popover.value) === null || _popover$value === void 0 || _popover$value.hide();
1055
+ popover === null || popover === void 0 || (_popover$value = popover.value) === null || _popover$value === void 0 ? void 0 : _popover$value.hide();
1058
1056
  }
1059
1057
  // 获取与选中值对应的节点
1060
1058
  var node = store.value.getNodeByValue(val);
@@ -1094,7 +1092,7 @@ var Store = /*#__PURE__*/function () {
1094
1092
  emit('update:modelValue', value);
1095
1093
  oldValue !== undefined && emit('change', value); // oldValue = undefined代表初始化,init不派发change事件
1096
1094
  // 如果有过滤搜索,选择后,自动focus到input
1097
- inputRef === null || inputRef === void 0 || (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 || _inputRef$value.focus();
1095
+ inputRef === null || inputRef === void 0 || (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 ? void 0 : _inputRef$value.focus();
1098
1096
  // 选择后过滤条件清除,面板初始化渲染
1099
1097
  isFiltering.value = false;
1100
1098
  };
@@ -1110,12 +1108,12 @@ var Store = /*#__PURE__*/function () {
1110
1108
  isEdit.value = val.isShow;
1111
1109
  // popover激活后,focus相应事件
1112
1110
  isFocus.value = val.isShow;
1113
- (0,external_vue_namespaceObject.nextTick)(function () {
1111
+ nextTick(function () {
1114
1112
  var _inputRef$value2;
1115
1113
  val && ((_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 ? void 0 : _inputRef$value2.focus());
1116
1114
  if (val.isShow) {
1117
1115
  var _cascaderPanel$value;
1118
- (_cascaderPanel$value = cascaderPanel.value) === null || _cascaderPanel$value === void 0 || _cascaderPanel$value.scrollToSelected(); // 滚动到选中的节点
1116
+ (_cascaderPanel$value = cascaderPanel.value) === null || _cascaderPanel$value === void 0 ? void 0 : _cascaderPanel$value.scrollToSelected(); // 滚动到选中的节点
1119
1117
  }
1120
1118
  });
1121
1119
  val.isShow && focusEmitter(); // 面板打开,触发focus事件
@@ -1158,28 +1156,28 @@ var Store = /*#__PURE__*/function () {
1158
1156
  emit('focus');
1159
1157
  };
1160
1158
  // 监听modelValue的变化
1161
- (0,external_vue_namespaceObject.watch)(function () {
1159
+ watch(function () {
1162
1160
  return props.modelValue;
1163
1161
  }, modelValueChangeHandler, {
1164
1162
  immediate: true
1165
1163
  });
1166
1164
  // 监听list的变化
1167
- (0,external_vue_namespaceObject.watch)(function () {
1165
+ watch(function () {
1168
1166
  return props.list;
1169
1167
  }, listChangeHandler, {
1170
1168
  deep: true,
1171
1169
  immediate: true
1172
1170
  });
1173
1171
  // 定义overflowTagIndex变量,用于处理tag的折叠
1174
- var tagList = (0,external_vue_namespaceObject.computed)(function () {
1172
+ var tagList = computed(function () {
1175
1173
  return props.customTagsFillback ? props.customTagsFillback(props.modelValue, store.value.getFlattedNodes()) : selectedTags.value.map(function (item) {
1176
1174
  return item.text;
1177
1175
  });
1178
1176
  });
1179
- var isCollapse = (0,external_vue_namespaceObject.computed)(function () {
1177
+ var isCollapse = computed(function () {
1180
1178
  return props.collapseTags ? props.collapseTags && isFocus.value : props.collapseTags;
1181
1179
  });
1182
- var isEditMode = (0,external_vue_namespaceObject.computed)(function () {
1180
+ var isEditMode = computed(function () {
1183
1181
  return props.collapseTags ? props.collapseTags && isEdit.value : props.collapseTags;
1184
1182
  });
1185
1183
  // 如果使用了trigger插槽,则不存在bkCascaderRef,做兼容处理
@@ -151,8 +151,8 @@ declare const _default: import("vue").DefineComponent<{
151
151
  onClick?: (_event: MouseEvent) => any;
152
152
  "onUpdate:modelValue"?: (value: any) => any;
153
153
  }, {
154
- size: "default" | "small" | "large" | "huge";
155
154
  disabled: boolean;
155
+ size: "default" | "small" | "large" | "huge";
156
156
  outline: boolean;
157
157
  readonly: boolean;
158
158
  trueLabel: string | number | boolean;
@@ -1,7 +1,178 @@
1
1
  import { CheckboxProps } from './checkbox';
2
2
  import CheckboxGroup from './checkbox-group';
3
3
  declare const BkCheckbox: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ new (...args: any[]): {
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: {
8
+ disabled?: boolean;
9
+ size?: "default" | "small" | "large" | "huge";
10
+ outline?: boolean;
11
+ readonly?: boolean;
12
+ trueLabel?: string | number | boolean;
13
+ falseLabel?: string | number | boolean;
14
+ checked?: boolean;
15
+ indeterminate?: boolean;
16
+ beforeChange?: (event: string | number | boolean) => boolean | Promise<boolean>;
17
+ immediateEmitChange?: boolean;
18
+ class?: unknown;
19
+ readonly label?: string | number | boolean;
20
+ style?: unknown;
21
+ onChange?: (value: any, _event?: Event) => any;
22
+ onClick?: (_event: MouseEvent) => any;
23
+ ref?: import("vue").VNodeRef;
24
+ key?: string | number | symbol;
25
+ ref_for?: boolean;
26
+ ref_key?: string;
27
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>) => void)[];
32
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>) => void)[];
37
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ [key: string]: any;
45
+ }>) => void)[];
46
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
+ [key: string]: any;
52
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>) => void)[];
55
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
+ [key: string]: any;
57
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
+ [key: string]: any;
59
+ }>) => void)[];
60
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
+ [key: string]: any;
62
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
+ [key: string]: any;
64
+ }>) => void)[];
65
+ readonly modelValue?: string | number | boolean;
66
+ "onUpdate:modelValue"?: (value: any) => any;
67
+ };
68
+ $attrs: {
69
+ [x: string]: unknown;
70
+ };
71
+ $refs: {
72
+ [x: string]: unknown;
73
+ };
74
+ $slots: Readonly<{
75
+ [name: string]: import("vue").Slot<any>;
76
+ }>;
77
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
78
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
79
+ $emit: ((event: "change", value: any, _event?: Event) => void) & ((event: "click", _event: MouseEvent) => void) & ((event: "update:modelValue", value: any) => void);
80
+ $el: any;
81
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
82
+ modelValue: import("vue-types").VueTypeDef<string | number | boolean>;
83
+ label: import("vue-types").VueTypeDef<string | number | boolean>;
84
+ trueLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
85
+ default: string | number | boolean;
86
+ };
87
+ falseLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
88
+ default: string | number | boolean;
89
+ };
90
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
91
+ default: boolean;
92
+ } & {
93
+ default: boolean;
94
+ };
95
+ checked: import("vue-types").VueTypeValidableDef<boolean> & {
96
+ default: boolean;
97
+ } & {
98
+ default: boolean;
99
+ };
100
+ indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
101
+ default: boolean;
102
+ };
103
+ beforeChange: import("vue-types").VueTypeValidableDef<(event: string | number | boolean) => boolean | Promise<boolean>> & {
104
+ default: (event: string | number | boolean) => boolean | Promise<boolean>;
105
+ };
106
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
107
+ default: "default" | "small" | "large" | "huge";
108
+ };
109
+ immediateEmitChange: import("vue-types").VueTypeValidableDef<boolean> & {
110
+ default: boolean;
111
+ } & {
112
+ default: boolean;
113
+ };
114
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
115
+ default: boolean;
116
+ } & {
117
+ default: boolean;
118
+ };
119
+ outline: import("vue-types").VueTypeValidableDef<boolean> & {
120
+ default: boolean;
121
+ } & {
122
+ default: boolean;
123
+ };
124
+ }>> & {
125
+ onChange?: (value: any, _event?: Event) => any;
126
+ onClick?: (_event: MouseEvent) => any;
127
+ "onUpdate:modelValue"?: (value: any) => any;
128
+ }, {
129
+ inputRef: import("vue").Ref<any>;
130
+ isFocus: import("vue").Ref<boolean>;
131
+ isChecked: import("vue").Ref<boolean>;
132
+ isPrechecking: import("vue").Ref<boolean>;
133
+ isDisabled: import("vue").ComputedRef<boolean>;
134
+ setChecked: (value?: boolean) => void;
135
+ handleBlur: () => void;
136
+ handleFocus: () => void;
137
+ handleChange: (event: Event) => void;
138
+ size: "default" | "small" | "large" | "huge";
139
+ resolveClassName: (cls: string) => string;
140
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
141
+ 'update:modelValue': (value: any) => boolean;
142
+ change: (value: any, _event?: Event) => boolean;
143
+ click: (_event: MouseEvent) => true;
144
+ }, string, {
145
+ disabled: boolean;
146
+ size: "default" | "small" | "large" | "huge";
147
+ outline: boolean;
148
+ readonly: boolean;
149
+ trueLabel: string | number | boolean;
150
+ falseLabel: string | number | boolean;
151
+ checked: boolean;
152
+ indeterminate: boolean;
153
+ beforeChange: (event: string | number | boolean) => boolean | Promise<boolean>;
154
+ immediateEmitChange: boolean;
155
+ }, {}, string, {}> & {
156
+ beforeCreate?: (() => void) | (() => void)[];
157
+ created?: (() => void) | (() => void)[];
158
+ beforeMount?: (() => void) | (() => void)[];
159
+ mounted?: (() => void) | (() => void)[];
160
+ beforeUpdate?: (() => void) | (() => void)[];
161
+ updated?: (() => void) | (() => void)[];
162
+ activated?: (() => void) | (() => void)[];
163
+ deactivated?: (() => void) | (() => void)[];
164
+ beforeDestroy?: (() => void) | (() => void)[];
165
+ beforeUnmount?: (() => void) | (() => void)[];
166
+ destroyed?: (() => void) | (() => void)[];
167
+ unmounted?: (() => void) | (() => void)[];
168
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
169
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
170
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
171
+ };
172
+ $forceUpdate: () => void;
173
+ $nextTick: typeof import("vue").nextTick;
174
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
175
+ } & Readonly<import("vue").ExtractPropTypes<{
5
176
  modelValue: import("vue-types").VueTypeDef<string | number | boolean>;
6
177
  label: import("vue-types").VueTypeDef<string | number | boolean>;
7
178
  trueLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
@@ -48,7 +219,7 @@ declare const BkCheckbox: {
48
219
  onChange?: (value: any, _event?: Event) => any;
49
220
  onClick?: (_event: MouseEvent) => any;
50
221
  "onUpdate:modelValue"?: (value: any) => any;
51
- }, {
222
+ } & import("vue").ShallowUnwrapRef<{
52
223
  inputRef: import("vue").Ref<any>;
53
224
  isFocus: import("vue").Ref<boolean>;
54
225
  isChecked: import("vue").Ref<boolean>;
@@ -60,146 +231,7 @@ declare const BkCheckbox: {
60
231
  handleChange: (event: Event) => void;
61
232
  size: "default" | "small" | "large" | "huge";
62
233
  resolveClassName: (cls: string) => string;
63
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
- 'update:modelValue': (value: any) => boolean;
65
- change: (value: any, _event?: Event) => boolean;
66
- click: (_event: MouseEvent) => true;
67
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
68
- modelValue: import("vue-types").VueTypeDef<string | number | boolean>;
69
- label: import("vue-types").VueTypeDef<string | number | boolean>;
70
- trueLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
71
- default: string | number | boolean;
72
- };
73
- falseLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
74
- default: string | number | boolean;
75
- };
76
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
77
- default: boolean;
78
- } & {
79
- default: boolean;
80
- };
81
- checked: import("vue-types").VueTypeValidableDef<boolean> & {
82
- default: boolean;
83
- } & {
84
- default: boolean;
85
- };
86
- indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
87
- default: boolean;
88
- };
89
- beforeChange: import("vue-types").VueTypeValidableDef<(event: string | number | boolean) => boolean | Promise<boolean>> & {
90
- default: (event: string | number | boolean) => boolean | Promise<boolean>;
91
- };
92
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
93
- default: "default" | "small" | "large" | "huge";
94
- };
95
- immediateEmitChange: import("vue-types").VueTypeValidableDef<boolean> & {
96
- default: boolean;
97
- } & {
98
- default: boolean;
99
- };
100
- readonly: import("vue-types").VueTypeValidableDef<boolean> & {
101
- default: boolean;
102
- } & {
103
- default: boolean;
104
- };
105
- outline: import("vue-types").VueTypeValidableDef<boolean> & {
106
- default: boolean;
107
- } & {
108
- default: boolean;
109
- };
110
- }>> & {
111
- onChange?: (value: any, _event?: Event) => any;
112
- onClick?: (_event: MouseEvent) => any;
113
- "onUpdate:modelValue"?: (value: any) => any;
114
- }, {
115
- size: "default" | "small" | "large" | "huge";
116
- disabled: boolean;
117
- outline: boolean;
118
- readonly: boolean;
119
- trueLabel: string | number | boolean;
120
- falseLabel: string | number | boolean;
121
- checked: boolean;
122
- indeterminate: boolean;
123
- beforeChange: (event: string | number | boolean) => boolean | Promise<boolean>;
124
- immediateEmitChange: boolean;
125
- }, true, {}, {}, {
126
- P: {};
127
- B: {};
128
- D: {};
129
- C: {};
130
- M: {};
131
- Defaults: {};
132
- }, Readonly<import("vue").ExtractPropTypes<{
133
- modelValue: import("vue-types").VueTypeDef<string | number | boolean>;
134
- label: import("vue-types").VueTypeDef<string | number | boolean>;
135
- trueLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
136
- default: string | number | boolean;
137
- };
138
- falseLabel: import("vue-types").VueTypeDef<string | number | boolean> & {
139
- default: string | number | boolean;
140
- };
141
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
142
- default: boolean;
143
- } & {
144
- default: boolean;
145
- };
146
- checked: import("vue-types").VueTypeValidableDef<boolean> & {
147
- default: boolean;
148
- } & {
149
- default: boolean;
150
- };
151
- indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
152
- default: boolean;
153
- };
154
- beforeChange: import("vue-types").VueTypeValidableDef<(event: string | number | boolean) => boolean | Promise<boolean>> & {
155
- default: (event: string | number | boolean) => boolean | Promise<boolean>;
156
- };
157
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
158
- default: "default" | "small" | "large" | "huge";
159
- };
160
- immediateEmitChange: import("vue-types").VueTypeValidableDef<boolean> & {
161
- default: boolean;
162
- } & {
163
- default: boolean;
164
- };
165
- readonly: import("vue-types").VueTypeValidableDef<boolean> & {
166
- default: boolean;
167
- } & {
168
- default: boolean;
169
- };
170
- outline: import("vue-types").VueTypeValidableDef<boolean> & {
171
- default: boolean;
172
- } & {
173
- default: boolean;
174
- };
175
- }>> & {
176
- onChange?: (value: any, _event?: Event) => any;
177
- onClick?: (_event: MouseEvent) => any;
178
- "onUpdate:modelValue"?: (value: any) => any;
179
- }, {
180
- inputRef: import("vue").Ref<any>;
181
- isFocus: import("vue").Ref<boolean>;
182
- isChecked: import("vue").Ref<boolean>;
183
- isPrechecking: import("vue").Ref<boolean>;
184
- isDisabled: import("vue").ComputedRef<boolean>;
185
- setChecked: (value?: boolean) => void;
186
- handleBlur: () => void;
187
- handleFocus: () => void;
188
- handleChange: (event: Event) => void;
189
- size: "default" | "small" | "large" | "huge";
190
- resolveClassName: (cls: string) => string;
191
- }, {}, {}, {}, {
192
- size: "default" | "small" | "large" | "huge";
193
- disabled: boolean;
194
- outline: boolean;
195
- readonly: boolean;
196
- trueLabel: string | number | boolean;
197
- falseLabel: string | number | boolean;
198
- checked: boolean;
199
- indeterminate: boolean;
200
- beforeChange: (event: string | number | boolean) => boolean | Promise<boolean>;
201
- immediateEmitChange: boolean;
202
- }>;
234
+ }> & {} & import("vue").ComponentCustomProperties & {};
203
235
  __isFragment?: never;
204
236
  __isTeleport?: never;
205
237
  __isSuspense?: never;
@@ -267,8 +299,8 @@ declare const BkCheckbox: {
267
299
  change: (value: any, _event?: Event) => boolean;
268
300
  click: (_event: MouseEvent) => true;
269
301
  }, string, {
270
- size: "default" | "small" | "large" | "huge";
271
302
  disabled: boolean;
303
+ size: "default" | "small" | "large" | "huge";
272
304
  outline: boolean;
273
305
  readonly: boolean;
274
306
  trueLabel: string | number | boolean;