bkui-vue 2.0.1-beta.2 → 2.0.1-beta.21

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 (234) hide show
  1. package/dist/index.cjs.js +166 -166
  2. package/dist/index.esm.js +31808 -31749
  3. package/dist/index.umd.js +166 -166
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +7 -7
  7. package/lib/alert/alert.d.ts +5 -5
  8. package/lib/alert/index.d.ts +11 -11
  9. package/lib/backtop/backtop.d.ts +1 -1
  10. package/lib/backtop/index.d.ts +3 -3
  11. package/lib/backtop/index.js +6 -6
  12. package/lib/badge/index.js +1 -1
  13. package/lib/button/button.d.ts +7 -7
  14. package/lib/button/index.d.ts +8 -8
  15. package/lib/button/index.js +6 -7
  16. package/lib/cascader/cascader-panel.d.ts +1 -1
  17. package/lib/cascader/cascader.css +3 -3
  18. package/lib/cascader/cascader.d.ts +1 -1
  19. package/lib/cascader/cascader.less +4 -4
  20. package/lib/cascader/cascader.variable.css +3 -3
  21. package/lib/cascader/index.js +36 -36
  22. package/lib/cascader/interface.d.ts +1 -1
  23. package/lib/checkbox/checkbox.d.ts +7 -7
  24. package/lib/checkbox/index.d.ts +11 -11
  25. package/lib/checkbox/index.js +12 -4
  26. package/lib/checkbox/type.d.ts +1 -1
  27. package/lib/code-diff/index.js +8 -8
  28. package/lib/collapse/index.js +2 -2
  29. package/lib/collapse/utils.d.ts +2 -2
  30. package/lib/color-picker/color-picker.css +3 -3
  31. package/lib/color-picker/color-picker.less +3 -3
  32. package/lib/color-picker/color-picker.variable.css +3 -3
  33. package/lib/color-picker/index.js +45 -45
  34. package/lib/components.d.ts +32 -32
  35. package/lib/components.js +31 -31
  36. package/lib/config-provider/index.d.ts +1 -1
  37. package/lib/container/index.js +6 -7
  38. package/lib/date-picker/base/date-table.d.ts +1 -1
  39. package/lib/date-picker/base/month-table.d.ts +1 -1
  40. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  41. package/lib/date-picker/base/year-table.d.ts +3 -3
  42. package/lib/date-picker/date-picker.d.ts +0 -1
  43. package/lib/date-picker/index.d.ts +0 -3
  44. package/lib/date-picker/index.js +318 -218
  45. package/lib/date-picker/interface.d.ts +9 -9
  46. package/lib/date-picker/panel/date-range.d.ts +6 -68
  47. package/lib/date-picker/panel/date.d.ts +1 -1
  48. package/lib/date-picker/panel/time-range.d.ts +1 -1
  49. package/lib/date-picker/panel/time.d.ts +1 -1
  50. package/lib/date-picker/props.d.ts +1 -1
  51. package/lib/date-picker/utils.d.ts +5 -1
  52. package/lib/dialog/dialog.css +0 -4
  53. package/lib/dialog/dialog.d.ts +25 -20
  54. package/lib/dialog/dialog.variable.css +0 -4
  55. package/lib/dialog/index.d.ts +55 -44
  56. package/lib/dialog/index.js +22 -22
  57. package/lib/dialog/props.d.ts +10 -8
  58. package/lib/directives/index.d.ts +3 -3
  59. package/lib/directives/index.js +166 -166
  60. package/lib/directives/tooltips.d.ts +1 -1
  61. package/lib/dist.index.js +2 -4
  62. package/lib/divider/divider.d.ts +5 -5
  63. package/lib/divider/index.d.ts +11 -11
  64. package/lib/divider/index.js +2 -2
  65. package/lib/divider/props.d.ts +2 -2
  66. package/lib/dropdown/dropdown.d.ts +5 -5
  67. package/lib/dropdown/index.d.ts +11 -11
  68. package/lib/dropdown/index.js +7 -7
  69. package/lib/exception/exception.d.ts +9 -9
  70. package/lib/exception/index.d.ts +11 -11
  71. package/lib/exception/index.js +10 -10
  72. package/lib/exception/typings/index.d.ts +1 -1
  73. package/lib/fixed-navbar/index.js +2 -2
  74. package/lib/form/form.d.ts +2 -2
  75. package/lib/form/index.js +14 -15
  76. package/lib/form/type.d.ts +2 -2
  77. package/lib/icon/index.d.ts +11 -11
  78. package/lib/icon/index.js +11 -11
  79. package/lib/image/image-viewer.d.ts +1 -1
  80. package/lib/image/index.js +20 -21
  81. package/lib/index.d.ts +9 -3
  82. package/lib/index.js +5 -29
  83. package/lib/info-box/index.js +13 -13
  84. package/lib/info-box/info-box.d.ts +15 -15
  85. package/lib/input/index.d.ts +15 -15
  86. package/lib/input/index.js +16 -17
  87. package/lib/input/input.d.ts +15 -15
  88. package/lib/link/index.d.ts +11 -11
  89. package/lib/link/index.js +3 -3
  90. package/lib/link/link.d.ts +5 -5
  91. package/lib/loading/index.d.ts +4 -4
  92. package/lib/loading/index.js +6 -6
  93. package/lib/loading/loading.d.ts +6 -6
  94. package/lib/locale/index.d.ts +1 -1
  95. package/lib/menu/index.js +0 -1
  96. package/lib/menu/utils.d.ts +3 -3
  97. package/lib/message/index.js +18 -18
  98. package/lib/message/messageConstructor.d.ts +11 -11
  99. package/lib/modal/index.d.ts +21 -8
  100. package/lib/modal/index.js +14 -8
  101. package/lib/modal/modal.css +0 -4
  102. package/lib/modal/modal.d.ts +8 -3
  103. package/lib/modal/modal.less +0 -5
  104. package/lib/modal/modal.variable.css +0 -4
  105. package/lib/modal/props.mixin.d.ts +3 -1
  106. package/lib/navigation/index.js +20 -20
  107. package/lib/navigation/navigation.d.ts +1 -1
  108. package/lib/notify/index.js +4 -4
  109. package/lib/overflow-title/components/overflow-title.d.ts +9 -9
  110. package/lib/overflow-title/index.d.ts +19 -19
  111. package/lib/overflow-title/index.js +61 -11
  112. package/lib/overflow-title/props.d.ts +18 -18
  113. package/lib/pagination/index.js +16 -16
  114. package/lib/pagination/type.d.ts +1 -1
  115. package/lib/pagination/use-limit.d.ts +1 -1
  116. package/lib/pagination/use-total.d.ts +1 -1
  117. package/lib/plugin-popover/index.js +18 -20
  118. package/lib/pop-confirm/index.d.ts +11 -11
  119. package/lib/pop-confirm/index.js +11 -10
  120. package/lib/pop-confirm/pop-confirm.d.ts +5 -5
  121. package/lib/pop-confirm/props.d.ts +4 -4
  122. package/lib/popover/const.d.ts +3 -3
  123. package/lib/popover/index.d.ts +19 -19
  124. package/lib/popover/index.js +18 -20
  125. package/lib/popover/plugin-popover.d.ts +1 -1
  126. package/lib/popover/popover.d.ts +7 -7
  127. package/lib/popover/props.d.ts +4 -4
  128. package/lib/preset.d.ts +0 -1
  129. package/lib/preset.js +0 -1
  130. package/lib/process/index.js +3 -3
  131. package/lib/progress/index.d.ts +11 -11
  132. package/lib/progress/index.js +10 -11
  133. package/lib/progress/progress.d.ts +7 -7
  134. package/lib/radio/index.d.ts +21 -21
  135. package/lib/radio/index.js +28 -17
  136. package/lib/radio/radio-button.d.ts +7 -7
  137. package/lib/radio/radio-group.d.ts +7 -7
  138. package/lib/radio/radio.d.ts +7 -7
  139. package/lib/radio/type.d.ts +1 -1
  140. package/lib/rate/index.js +8 -8
  141. package/lib/rate/rate.css +27 -0
  142. package/lib/rate/rate.less +33 -0
  143. package/lib/rate/rate.variable.css +27 -0
  144. package/lib/resize-layout/index.d.ts +11 -11
  145. package/lib/resize-layout/index.js +7 -8
  146. package/lib/resize-layout/resize-layout.d.ts +5 -5
  147. package/lib/scrollbar/index.js +0 -1
  148. package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
  149. package/lib/search-select/index.js +66 -66
  150. package/lib/search-select/menu.d.ts +1 -1
  151. package/lib/search-select/selected.d.ts +1 -1
  152. package/lib/search-select/utils.d.ts +3 -3
  153. package/lib/select/common.d.ts +4 -4
  154. package/lib/select/index.d.ts +88 -70
  155. package/lib/select/index.js +134 -125
  156. package/lib/select/option.d.ts +1 -1
  157. package/lib/select/select.css +1 -2
  158. package/lib/select/select.d.ts +35 -27
  159. package/lib/select/select.less +1 -2
  160. package/lib/select/select.variable.css +1 -2
  161. package/lib/select/selectTagInput.d.ts +6 -6
  162. package/lib/select/type.d.ts +2 -2
  163. package/lib/shared/index.d.ts +1 -1
  164. package/lib/shared/index.js +38 -46
  165. package/lib/shared/popover.d.ts +3 -3
  166. package/lib/shared/token.d.ts +1 -1
  167. package/lib/shared/vue-types.d.ts +46 -46
  168. package/lib/shared/z-index-manager.d.ts +6 -6
  169. package/lib/sideslider/index.d.ts +18 -7
  170. package/lib/sideslider/index.js +11 -11
  171. package/lib/sideslider/sideslider.d.ts +8 -3
  172. package/lib/slider/index.js +21 -23
  173. package/lib/steps/index.d.ts +11 -11
  174. package/lib/steps/index.js +3 -3
  175. package/lib/steps/steps.d.ts +7 -7
  176. package/lib/styles/index.d.ts +0 -1
  177. package/lib/swiper/index.js +5 -5
  178. package/lib/switcher/index.js +2 -2
  179. package/lib/switcher/switcher.d.ts +2 -2
  180. package/lib/tab/index.d.ts +22 -22
  181. package/lib/tab/index.js +15 -15
  182. package/lib/tab/props.d.ts +15 -15
  183. package/lib/tab/tab-nav.d.ts +10 -10
  184. package/lib/tab/tab.d.ts +10 -10
  185. package/lib/table/components/table-column.d.ts +27 -87
  186. package/lib/table/const.d.ts +8 -8
  187. package/lib/table/events.d.ts +21 -21
  188. package/lib/table/index.d.ts +194 -244
  189. package/lib/table/index.js +166 -145
  190. package/lib/table/plugins/use-shift-key.d.ts +2 -0
  191. package/lib/table/props.d.ts +34 -34
  192. package/lib/table/table.css +3 -4
  193. package/lib/table/table.d.ts +47 -47
  194. package/lib/table/table.less +4 -12
  195. package/lib/table/table.variable.css +3 -4
  196. package/lib/table/use-attributes.d.ts +3 -3
  197. package/lib/table/use-column.d.ts +9 -129
  198. package/lib/table/use-common.d.ts +4 -4
  199. package/lib/table/utils.d.ts +5 -5
  200. package/lib/table-column/index.d.ts +42 -172
  201. package/lib/table-column/index.js +19 -19
  202. package/lib/tag/index.d.ts +11 -11
  203. package/lib/tag/index.js +2 -2
  204. package/lib/tag/tag.d.ts +5 -5
  205. package/lib/tag-input/common.d.ts +1 -1
  206. package/lib/tag-input/index.d.ts +8 -8
  207. package/lib/tag-input/index.js +30 -30
  208. package/lib/tag-input/tag-input.d.ts +4 -4
  209. package/lib/tag-input/tag-props.d.ts +2 -2
  210. package/lib/timeline/index.js +2 -2
  211. package/lib/transfer/const.d.ts +2 -2
  212. package/lib/transfer/index.js +19 -19
  213. package/lib/transfer/transfer.css +9 -9
  214. package/lib/transfer/transfer.less +3 -3
  215. package/lib/transfer/transfer.variable.css +9 -9
  216. package/lib/tree/constant.d.ts +20 -20
  217. package/lib/tree/index.d.ts +20 -20
  218. package/lib/tree/index.js +53 -49
  219. package/lib/tree/props.d.ts +6 -6
  220. package/lib/tree/tree.d.ts +8 -14
  221. package/lib/tree/tree.less +1 -1
  222. package/lib/tree/use-empty.d.ts +1 -1
  223. package/lib/tree/use-node-action.d.ts +2 -2
  224. package/lib/tree/use-search.d.ts +1 -1
  225. package/lib/tree/util.d.ts +1 -1
  226. package/lib/upload/index.js +41 -35
  227. package/lib/upload/props.d.ts +1 -1
  228. package/lib/upload/upload.type.d.ts +7 -7
  229. package/lib/upload/use-file-handler.d.ts +1 -1
  230. package/lib/virtual-render/index.js +2 -3
  231. package/package.json +17 -55
  232. package/lib/rate/star.css +0 -27
  233. package/lib/rate/star.less +0 -34
  234. package/lib/rate/star.variable.css +0 -156
@@ -1,4 +1,4 @@
1
- export type ViewerAction = 'zoomIn' | 'zoomOut' | 'clockwise' | 'anticlockwise';
1
+ export type ViewerAction = 'anticlockwise' | 'clockwise' | 'zoomIn' | 'zoomOut';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  urlList: {
4
4
  type: import("vue").PropType<string[]>;
@@ -4,8 +4,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
7
- import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
8
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
8
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
9
9
  /******/ // The require scope
10
10
  /******/ var __webpack_require__ = {};
11
11
  /******/
@@ -62,9 +62,9 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: ()
62
62
 
63
63
  var FitEnum;
64
64
  (function (FitEnum) {
65
- FitEnum["FILL"] = "fill";
66
65
  FitEnum["CONTAIN"] = "contain";
67
66
  FitEnum["COVER"] = "cover";
67
+ FitEnum["FILL"] = "fill";
68
68
  FitEnum["NONE"] = "none";
69
69
  FitEnum["SCALE_DOWN"] = "scale-down";
70
70
  })(FitEnum || (FitEnum = {}));
@@ -125,7 +125,6 @@ var propsImageViever = {
125
125
 
126
126
 
127
127
  /* harmony default export */ const src_image = ((0,external_vue_namespaceObject.defineComponent)({
128
- // eslint-disable-next-line vue/no-reserved-component-names
129
128
  name: 'Image',
130
129
  props: propsImage,
131
130
  emits: ['loaded', 'error', 'close', 'change'],
@@ -179,8 +178,8 @@ var propsImageViever = {
179
178
  return (0,external_vue_namespaceObject.createVNode)("div", {
180
179
  "class": "".concat(resolveClassName('image-placeholder'))
181
180
  }, [props.fallback ? (0,external_vue_namespaceObject.createVNode)("img", {
182
- "src": props.fallback,
183
- "alt": "\u56FE\u7247\u52A0\u8F7D\u9519\u8BEF"
181
+ "alt": "\u56FE\u7247\u52A0\u8F7D\u9519\u8BEF",
182
+ "src": props.fallback
184
183
  }, null) : '', (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("i", {
185
184
  "class": "".concat(resolveClassName('icon'), " icon-image-fail")
186
185
  }, null), [[(0,external_vue_namespaceObject.resolveDirective)("else")]])]);
@@ -193,12 +192,12 @@ var propsImageViever = {
193
192
  return (0,external_vue_namespaceObject.createVNode)("div", {
194
193
  "class": "".concat(resolveClassName('image'))
195
194
  }, [getContent(), preview.value && isShowViewer.value ? (0,external_vue_namespaceObject.createVNode)(image_viewer, {
196
- "zIndex": props.zIndex,
197
- "maskClose": props.maskClose,
198
195
  "is-show-title": props.isShowPreviewTitle,
196
+ "maskClose": props.maskClose,
199
197
  "url-list": props.urlList,
200
- "onClose": closeViewer,
201
- "onChange": change
198
+ "zIndex": props.zIndex,
199
+ "onChange": change,
200
+ "onClose": closeViewer
202
201
  }, null) : '']);
203
202
  };
204
203
  }
@@ -248,14 +247,14 @@ function _defineProperty(obj, key, value) {
248
247
  }
249
248
  return obj;
250
249
  }
251
- ;// CONCATENATED MODULE: external "lodash/throttle"
252
- var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
253
- var throttle_y = x => () => x
254
- const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
255
250
  ;// CONCATENATED MODULE: external "../directives"
256
251
  var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
257
252
  var directives_y = x => () => x
258
253
  const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
254
+ ;// CONCATENATED MODULE: external "lodash/throttle"
255
+ var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
256
+ var throttle_y = x => () => x
257
+ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
259
258
  ;// CONCATENATED MODULE: ../../packages/image/src/image-viewer.tsx
260
259
 
261
260
 
@@ -535,10 +534,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
535
534
  return [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, null, {
536
535
  "default": function _default() {
537
536
  return [(0,external_vue_namespaceObject.createVNode)("div", {
538
- "tabindex": "-1",
539
537
  "ref": "wrapper",
538
+ "style": wrapStyles.value,
540
539
  "class": "".concat(resolveClassName('image-viewer-wrapper')),
541
- "style": wrapStyles.value
540
+ "tabindex": "-1"
542
541
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
543
542
  "class": "".concat(resolveClassName('image-viewer-mask')),
544
543
  "onClick": function onClick() {
@@ -556,11 +555,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
556
555
  "class": "".concat(resolveClassName('image-viewer-close')),
557
556
  "onClick": hide
558
557
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, null, null)])])]) : '', !isSingle.value ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("div", {
559
- "onClick": prev,
560
- "class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isFirst ? 'is-disabled' : '')
558
+ "class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isFirst ? 'is-disabled' : ''),
559
+ "onClick": prev
561
560
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
562
- "onClick": next,
563
- "class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isLast ? 'is-disabled' : '')
561
+ "class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isLast ? 'is-disabled' : ''),
562
+ "onClick": next
564
563
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleRight, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
565
564
  "class": "".concat(resolveClassName('image-viewer-actions-inner'))
566
565
  }, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, {
@@ -592,11 +591,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
592
591
  "ref": function ref(el) {
593
592
  return imgRefs[i] = el;
594
593
  },
595
- "class": "".concat(resolveClassName('image-viewer-img')),
596
594
  "style": imgStyle.value,
595
+ "class": "".concat(resolveClassName('image-viewer-img')),
597
596
  "src": url,
598
- "onLoad": handleImgLoad,
599
597
  "onError": handleImgError,
598
+ "onLoad": handleImgLoad,
600
599
  "onMousedown": handleMouseDown
601
600
  }, null);
602
601
  })])])];
package/lib/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
- export { default } from './preset';
1
+ declare global {
2
+ interface Window {
3
+ __bkui_vue_version__: string;
4
+ }
5
+ }
2
6
  export * from './components';
7
+ export * from './hooks';
8
+ export { default } from './preset';
9
+ export * from './config-provider';
3
10
  export * from './directives';
4
11
  export * as plugins from './plugins';
5
- export * from './config-provider';
6
- export * from './hooks';
12
+ export declare const version: string;
package/lib/index.js CHANGED
@@ -1,32 +1,8 @@
1
- /*
2
- * Tencent is pleased to support the open source community by making
3
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
- *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
- *
7
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
- *
9
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
- *
11
- * ---------------------------------------------------
12
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
- * the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
- * IN THE SOFTWARE.
25
- */
26
- // import './styles';
27
- export { default } from './preset';
28
1
  export * from './components';
2
+ export * from './hooks';
3
+ export { default } from './preset';
4
+ export * from './config-provider';
29
5
  export * from './directives';
30
6
  export * as plugins from './plugins';
31
- export * from './config-provider';
32
- export * from './hooks';
7
+ export const version = "2.0.1-beta.21";
8
+ window.__bkui_vue_version__ = version;
@@ -2,13 +2,13 @@ import "../styles/reset.css";
2
2
  import "./info-box.less";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
- import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__ from "../button";
7
6
  import "../button/button.less";
8
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
9
8
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
10
9
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
11
10
  import "../modal/modal.less";
11
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
14
  /***/ 7609:
@@ -512,10 +512,6 @@ function _asyncToGenerator(fn) {
512
512
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
513
513
  var regenerator = __webpack_require__(2841);
514
514
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
515
- ;// CONCATENATED MODULE: external "lodash/isFunction"
516
- var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
517
- var isFunction_y = x => () => x
518
- const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
519
515
  ;// CONCATENATED MODULE: external "../button"
520
516
  var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
521
517
  var button_y = x => () => x
@@ -540,6 +536,10 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
540
536
  var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
541
537
  var modal_less_y = x => () => x
542
538
  const modal_less_namespaceObject = modal_less_x({ });
539
+ ;// CONCATENATED MODULE: external "lodash/isFunction"
540
+ var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
541
+ var isFunction_y = x => () => x
542
+ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
543
543
  ;// CONCATENATED MODULE: ../../packages/info-box/src/render-component.tsx
544
544
 
545
545
 
@@ -774,30 +774,30 @@ var genDefaultState = function genDefaultState() {
774
774
  })]);
775
775
  };
776
776
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], {
777
+ "width": state.width,
777
778
  "class": [resolveClassName('infobox'), state["class"]],
778
- "isShow": isShow.value,
779
779
  "animateType": "fadein",
780
- "transfer": true,
780
+ "closeIcon": state.closeIcon,
781
+ "isShow": isShow.value,
781
782
  "quickClose": false,
782
- "width": state.width,
783
- "closeIcon": state.closeIcon
783
+ "transfer": true
784
784
  }, {
785
785
  header: function header() {
786
786
  return (0,external_vue_namespaceObject.createVNode)("div", {
787
787
  "class": resolveClassName('infobox-header')
788
788
  }, [renderIcon(), (0,external_vue_namespaceObject.createVNode)("div", {
789
- "class": resolveClassName('infobox-title'),
790
789
  "style": {
791
790
  textAlign: state.headerAlign
792
- }
791
+ },
792
+ "class": resolveClassName('infobox-title')
793
793
  }, [renderTitle()])]);
794
794
  },
795
795
  "default": function _default() {
796
796
  return state.content && (0,external_vue_namespaceObject.createVNode)("div", {
797
- "class": resolveClassName('infobox-content'),
798
797
  "style": {
799
798
  textAlign: state.contentAlign
800
- }
799
+ },
800
+ "class": resolveClassName('infobox-content')
801
801
  }, [renderContent()]);
802
802
  },
803
803
  footer: function footer() {
@@ -1,27 +1,27 @@
1
1
  import { VNode } from 'vue';
2
2
  export interface Props {
3
3
  isShow?: boolean;
4
- width?: string | number;
4
+ width?: number | string;
5
5
  extCls?: string | string[];
6
6
  class?: string | string[];
7
- infoType?: 'success' | 'danger' | 'warning' | 'loading';
8
- type?: 'success' | 'danger' | 'warning' | 'loading';
9
- title?: string | (() => VNode | string) | VNode;
10
- subTitle?: string | (() => VNode) | VNode;
11
- content?: string | (() => VNode) | VNode;
12
- footer?: string | (() => VNode) | VNode;
13
- headerAlign?: 'left' | 'center' | 'right';
14
- footerAlign?: 'left' | 'center' | 'right';
15
- contentAlign?: 'left' | 'center' | 'right';
7
+ infoType?: 'danger' | 'loading' | 'success' | 'warning';
8
+ type?: 'danger' | 'loading' | 'success' | 'warning';
9
+ title?: (() => VNode | string) | VNode | string;
10
+ subTitle?: (() => VNode) | VNode | string;
11
+ content?: (() => VNode) | VNode | string;
12
+ footer?: (() => VNode) | VNode | string;
13
+ headerAlign?: 'center' | 'left' | 'right';
14
+ footerAlign?: 'center' | 'left' | 'right';
15
+ contentAlign?: 'center' | 'left' | 'right';
16
16
  showMask?: boolean;
17
17
  quickClose?: boolean;
18
18
  escClose?: boolean;
19
19
  closeIcon?: boolean;
20
- confirmText?: string | (() => VNode) | VNode;
21
- theme?: 'primary' | 'warning' | 'success' | 'danger';
22
- confirmButtonTheme?: 'primary' | 'warning' | 'success' | 'danger';
23
- cancelText?: string | (() => VNode) | VNode;
24
- beforeClose?: (action: string) => boolean | Promise<boolean>;
20
+ confirmText?: (() => VNode) | VNode | string;
21
+ theme?: 'danger' | 'primary' | 'success' | 'warning';
22
+ confirmButtonTheme?: 'danger' | 'primary' | 'success' | 'warning';
23
+ cancelText?: (() => VNode) | VNode | string;
24
+ beforeClose?: (action: string) => Promise<boolean> | boolean;
25
25
  onConfirm?: () => void;
26
26
  onCancel?: () => void;
27
27
  onClose?: () => void;
@@ -99,8 +99,8 @@ declare const BkInput: {
99
99
  } & {
100
100
  default: boolean;
101
101
  };
102
- autosize: import("vue-types").VueTypeDef<Boolean | import("./input").InputAutoSize> & {
103
- default: (() => Boolean) | (() => import("./input").InputAutoSize);
102
+ autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
103
+ default: boolean | (() => import("./input").InputAutoSize);
104
104
  };
105
105
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
106
106
  default: boolean;
@@ -120,8 +120,8 @@ declare const BkInput: {
120
120
  onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
121
121
  onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
122
122
  onClear?: () => any;
123
- "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
124
123
  onEnter?: (_value: any, _evt: KeyboardEvent) => any;
124
+ "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
125
125
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
126
126
  "update:modelValue": (_value: any, _evt: KeyboardEvent) => any;
127
127
  focus: (evt: FocusEvent) => FocusEvent;
@@ -237,8 +237,8 @@ declare const BkInput: {
237
237
  } & {
238
238
  default: boolean;
239
239
  };
240
- autosize: import("vue-types").VueTypeDef<Boolean | import("./input").InputAutoSize> & {
241
- default: (() => Boolean) | (() => import("./input").InputAutoSize);
240
+ autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
241
+ default: boolean | (() => import("./input").InputAutoSize);
242
242
  };
243
243
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
244
244
  default: boolean;
@@ -258,8 +258,8 @@ declare const BkInput: {
258
258
  onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
259
259
  onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
260
260
  onClear?: () => any;
261
- "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
262
261
  onEnter?: (_value: any, _evt: KeyboardEvent) => any;
262
+ "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
263
263
  }, {
264
264
  type: string;
265
265
  prefix: string;
@@ -286,7 +286,7 @@ declare const BkInput: {
286
286
  withValidate: boolean;
287
287
  overMaxLengthLimit: boolean;
288
288
  showOverflowTooltips: boolean;
289
- autosize: Boolean | import("./input").InputAutoSize;
289
+ autosize: boolean | import("./input").InputAutoSize;
290
290
  stopPropagation: boolean;
291
291
  }, true, {}, {}, {
292
292
  P: {};
@@ -395,8 +395,8 @@ declare const BkInput: {
395
395
  } & {
396
396
  default: boolean;
397
397
  };
398
- autosize: import("vue-types").VueTypeDef<Boolean | import("./input").InputAutoSize> & {
399
- default: (() => Boolean) | (() => import("./input").InputAutoSize);
398
+ autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
399
+ default: boolean | (() => import("./input").InputAutoSize);
400
400
  };
401
401
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
402
402
  default: boolean;
@@ -416,8 +416,8 @@ declare const BkInput: {
416
416
  onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
417
417
  onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
418
418
  onClear?: () => any;
419
- "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
420
419
  onEnter?: (_value: any, _evt: KeyboardEvent) => any;
420
+ "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
421
421
  }, () => JSX.Element, {}, {}, {}, {
422
422
  type: string;
423
423
  prefix: string;
@@ -444,7 +444,7 @@ declare const BkInput: {
444
444
  withValidate: boolean;
445
445
  overMaxLengthLimit: boolean;
446
446
  showOverflowTooltips: boolean;
447
- autosize: Boolean | import("./input").InputAutoSize;
447
+ autosize: boolean | import("./input").InputAutoSize;
448
448
  stopPropagation: boolean;
449
449
  }>;
450
450
  __isFragment?: never;
@@ -550,8 +550,8 @@ declare const BkInput: {
550
550
  } & {
551
551
  default: boolean;
552
552
  };
553
- autosize: import("vue-types").VueTypeDef<Boolean | import("./input").InputAutoSize> & {
554
- default: (() => Boolean) | (() => import("./input").InputAutoSize);
553
+ autosize: import("vue-types").VueTypeDef<boolean | import("./input").InputAutoSize> & {
554
+ default: boolean | (() => import("./input").InputAutoSize);
555
555
  };
556
556
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
557
557
  default: boolean;
@@ -571,8 +571,8 @@ declare const BkInput: {
571
571
  onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
572
572
  onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
573
573
  onClear?: () => any;
574
- "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
575
574
  onEnter?: (_value: any, _evt: KeyboardEvent) => any;
575
+ "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
576
576
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
577
577
  "update:modelValue": (_value: any, _evt: KeyboardEvent) => any;
578
578
  focus: (evt: FocusEvent) => FocusEvent;
@@ -614,7 +614,7 @@ declare const BkInput: {
614
614
  withValidate: boolean;
615
615
  overMaxLengthLimit: boolean;
616
616
  showOverflowTooltips: boolean;
617
- autosize: Boolean | import("./input").InputAutoSize;
617
+ autosize: boolean | import("./input").InputAutoSize;
618
618
  stopPropagation: boolean;
619
619
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
620
620
  export default BkInput;
@@ -776,20 +776,20 @@ var inputType = {
776
776
  };
777
777
  var EVENTS;
778
778
  (function (EVENTS) {
779
- EVENTS["UPDATE"] = "update:modelValue";
780
- EVENTS["FOCUS"] = "focus";
781
779
  EVENTS["BLUR"] = "blur";
782
780
  EVENTS["CHANGE"] = "change";
783
781
  EVENTS["CLEAR"] = "clear";
782
+ EVENTS["COMPOSITIONEND"] = "compositionend";
783
+ EVENTS["COMPOSITIONSTART"] = "compositionstart";
784
+ EVENTS["COMPOSITIONUPDATE"] = "compositionupdate";
785
+ EVENTS["ENTER"] = "enter";
786
+ EVENTS["FOCUS"] = "focus";
784
787
  EVENTS["INPUT"] = "input";
785
- EVENTS["KEYPRESS"] = "keypress";
786
788
  EVENTS["KEYDOWN"] = "keydown";
789
+ EVENTS["KEYPRESS"] = "keypress";
787
790
  EVENTS["KEYUP"] = "keyup";
788
- EVENTS["ENTER"] = "enter";
789
791
  EVENTS["PASTE"] = "paste";
790
- EVENTS["COMPOSITIONSTART"] = "compositionstart";
791
- EVENTS["COMPOSITIONUPDATE"] = "compositionupdate";
792
- EVENTS["COMPOSITIONEND"] = "compositionend";
792
+ EVENTS["UPDATE"] = "update:modelValue";
793
793
  })(EVENTS || (EVENTS = {}));
794
794
  function EventFunction(_value, _evt) {
795
795
  return true;
@@ -808,7 +808,6 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
808
808
  return true;
809
809
  }), EVENTS.INPUT, EventFunction), EVENTS.KEYPRESS, EventFunction), EVENTS.KEYDOWN, EventFunction), EVENTS.KEYUP, EventFunction), EVENTS.ENTER, EventFunction), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.PASTE, PastEventFunction), EVENTS.COMPOSITIONSTART, CompositionEventFunction), EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), EVENTS.COMPOSITIONEND, CompositionEventFunction));
810
810
  /* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
811
- // eslint-disable-next-line vue/no-reserved-component-names
812
811
  name: 'Input',
813
812
  directives: {
814
813
  bkTooltips: directives_namespaceObject.bkTooltips
@@ -881,8 +880,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
881
880
  },
882
881
  password: function password() {
883
882
  return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Unvisible, {
884
- "onClick": handleVisibleChange,
885
- "class": suffixCls
883
+ "class": suffixCls,
884
+ "onClick": handleVisibleChange
886
885
  }, null);
887
886
  }
888
887
  };
@@ -1161,8 +1160,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
1161
1160
  return function () {
1162
1161
  var _ctx$slots$prefix, _ctx$slots, _ctx$slots$prefix2, _ctx$slots$suffix, _ctx$slots2, _ctx$slots2$suffix;
1163
1162
  return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
1164
- "class": inputCls.value,
1165
- "style": style
1163
+ "style": style,
1164
+ "class": inputCls.value
1166
1165
  }, [(_ctx$slots$prefix = (_ctx$slots = ctx.slots) === null || _ctx$slots === void 0 || (_ctx$slots$prefix2 = _ctx$slots.prefix) === null || _ctx$slots$prefix2 === void 0 ? void 0 : _ctx$slots$prefix2.call(_ctx$slots)) !== null && _ctx$slots$prefix !== void 0 ? _ctx$slots$prefix : props.prefix && (0,external_vue_namespaceObject.createVNode)("div", {
1167
1166
  "class": getCls('prefix-area')
1168
1167
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
@@ -1171,17 +1170,17 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
1171
1170
  "ref": inputRef,
1172
1171
  "spellcheck": false
1173
1172
  }, inputAttrs, eventListener, bindProps.value, {
1174
- "rows": props.rows,
1175
- "style": textareaCalcStyle.value
1173
+ "style": textareaCalcStyle.value,
1174
+ "rows": props.rows
1176
1175
  }, innerInputValue.value), null) : (0,external_vue_namespaceObject.createVNode)("input", (0,external_vue_namespaceObject.mergeProps)({
1177
1176
  "spellcheck": false
1178
1177
  }, inputAttrs, {
1179
1178
  "ref": inputRef,
1180
1179
  "class": "".concat(inputClsPrefix.value, "--text"),
1181
- "type": pwdVisible.value && props.type === 'password' ? 'text' : props.type,
1182
- "step": props.step,
1183
1180
  "max": props.max,
1184
- "min": props.min
1181
+ "min": props.min,
1182
+ "step": props.step,
1183
+ "type": pwdVisible.value && props.type === 'password' ? 'text' : props.type
1185
1184
  }, eventListener, bindProps.value, innerInputValue.value), null), !isTextArea.value && props.clearable && !!props.modelValue && (0,external_vue_namespaceObject.createVNode)("span", {
1186
1185
  "class": clearCls.value,
1187
1186
  "onClick": clear
@@ -103,8 +103,8 @@ export declare const inputType: {
103
103
  } & {
104
104
  default: boolean;
105
105
  };
106
- autosize: import("vue-types").VueTypeDef<Boolean | InputAutoSize> & {
107
- default: (() => Boolean) | (() => InputAutoSize);
106
+ autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
107
+ default: boolean | (() => InputAutoSize);
108
108
  };
109
109
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
110
110
  default: boolean;
@@ -113,20 +113,20 @@ export declare const inputType: {
113
113
  };
114
114
  };
115
115
  export declare const enum EVENTS {
116
- UPDATE = "update:modelValue",
117
- FOCUS = "focus",
118
116
  BLUR = "blur",
119
117
  CHANGE = "change",
120
118
  CLEAR = "clear",
119
+ COMPOSITIONEND = "compositionend",
120
+ COMPOSITIONSTART = "compositionstart",
121
+ COMPOSITIONUPDATE = "compositionupdate",
122
+ ENTER = "enter",
123
+ FOCUS = "focus",
121
124
  INPUT = "input",
122
- KEYPRESS = "keypress",
123
125
  KEYDOWN = "keydown",
126
+ KEYPRESS = "keypress",
124
127
  KEYUP = "keyup",
125
- ENTER = "enter",
126
128
  PASTE = "paste",
127
- COMPOSITIONSTART = "compositionstart",
128
- COMPOSITIONUPDATE = "compositionupdate",
129
- COMPOSITIONEND = "compositionend"
129
+ UPDATE = "update:modelValue"
130
130
  }
131
131
  declare function EventFunction(_value: any, _evt: KeyboardEvent): any;
132
132
  declare function PastEventFunction(_value: any, _e: ClipboardEvent): boolean;
@@ -248,8 +248,8 @@ declare const _default: import("vue").DefineComponent<{
248
248
  } & {
249
249
  default: boolean;
250
250
  };
251
- autosize: import("vue-types").VueTypeDef<Boolean | InputAutoSize> & {
252
- default: (() => Boolean) | (() => InputAutoSize);
251
+ autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
252
+ default: boolean | (() => InputAutoSize);
253
253
  };
254
254
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
255
255
  default: boolean;
@@ -371,8 +371,8 @@ declare const _default: import("vue").DefineComponent<{
371
371
  } & {
372
372
  default: boolean;
373
373
  };
374
- autosize: import("vue-types").VueTypeDef<Boolean | InputAutoSize> & {
375
- default: (() => Boolean) | (() => InputAutoSize);
374
+ autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
375
+ default: boolean | (() => InputAutoSize);
376
376
  };
377
377
  stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
378
378
  default: boolean;
@@ -392,8 +392,8 @@ declare const _default: import("vue").DefineComponent<{
392
392
  onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
393
393
  onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
394
394
  onClear?: () => any;
395
- "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
396
395
  onEnter?: (_value: any, _evt: KeyboardEvent) => any;
396
+ "onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
397
397
  }, {
398
398
  type: string;
399
399
  prefix: string;
@@ -420,7 +420,7 @@ declare const _default: import("vue").DefineComponent<{
420
420
  withValidate: boolean;
421
421
  overMaxLengthLimit: boolean;
422
422
  showOverflowTooltips: boolean;
423
- autosize: Boolean | InputAutoSize;
423
+ autosize: boolean | InputAutoSize;
424
424
  stopPropagation: boolean;
425
425
  }, {}>;
426
426
  export default _default;
@@ -1,7 +1,7 @@
1
1
  declare const BkLink: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
- theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
4
- default: "default" | "success" | "warning" | "danger" | "primary";
3
+ theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
4
+ default: "default" | "success" | "danger" | "warning" | "primary";
5
5
  };
6
6
  href: import("vue-types").VueTypeValidableDef<string> & {
7
7
  default: string;
@@ -29,8 +29,8 @@ declare const BkLink: {
29
29
  handleClick: (event: Event) => boolean;
30
30
  resolveClassName: (cls: string) => string;
31
31
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
32
- theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
33
- default: "default" | "success" | "warning" | "danger" | "primary";
32
+ theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
33
+ default: "default" | "success" | "danger" | "warning" | "primary";
34
34
  };
35
35
  href: import("vue-types").VueTypeValidableDef<string> & {
36
36
  default: string;
@@ -57,7 +57,7 @@ declare const BkLink: {
57
57
  }, {
58
58
  disabled: boolean;
59
59
  target: string;
60
- theme: "default" | "success" | "warning" | "danger" | "primary";
60
+ theme: "default" | "success" | "danger" | "warning" | "primary";
61
61
  underline: boolean;
62
62
  href: string;
63
63
  }, true, {}, {}, {
@@ -68,8 +68,8 @@ declare const BkLink: {
68
68
  M: {};
69
69
  Defaults: {};
70
70
  }, Readonly<import("vue").ExtractPropTypes<{
71
- theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
72
- default: "default" | "success" | "warning" | "danger" | "primary";
71
+ theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
72
+ default: "default" | "success" | "danger" | "warning" | "primary";
73
73
  };
74
74
  href: import("vue-types").VueTypeValidableDef<string> & {
75
75
  default: string;
@@ -99,7 +99,7 @@ declare const BkLink: {
99
99
  }, {}, {}, {}, {
100
100
  disabled: boolean;
101
101
  target: string;
102
- theme: "default" | "success" | "warning" | "danger" | "primary";
102
+ theme: "default" | "success" | "danger" | "warning" | "primary";
103
103
  underline: boolean;
104
104
  href: string;
105
105
  }>;
@@ -107,8 +107,8 @@ declare const BkLink: {
107
107
  __isTeleport?: never;
108
108
  __isSuspense?: never;
109
109
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
110
- theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
111
- default: "default" | "success" | "warning" | "danger" | "primary";
110
+ theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
111
+ default: "default" | "success" | "danger" | "warning" | "primary";
112
112
  };
113
113
  href: import("vue-types").VueTypeValidableDef<string> & {
114
114
  default: string;
@@ -138,7 +138,7 @@ declare const BkLink: {
138
138
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
139
139
  disabled: boolean;
140
140
  target: string;
141
- theme: "default" | "success" | "warning" | "danger" | "primary";
141
+ theme: "default" | "success" | "danger" | "warning" | "primary";
142
142
  underline: boolean;
143
143
  href: string;
144
144
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;