bkui-vue 1.0.0 → 1.0.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 (262) hide show
  1. package/dist/index.cjs.js +47 -47
  2. package/dist/index.esm.js +10405 -10394
  3. package/dist/index.umd.js +47 -47
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/index.d.ts +57 -111
  15. package/lib/affix/index.js +19 -19
  16. package/lib/alert/alert.d.ts +1 -1
  17. package/lib/alert/index.d.ts +82 -132
  18. package/lib/alert/index.js +20 -20
  19. package/lib/animate-number/index.d.ts +33 -96
  20. package/lib/backtop/index.d.ts +69 -117
  21. package/lib/badge/badge.d.ts +1 -1
  22. package/lib/badge/index.d.ts +120 -153
  23. package/lib/badge/index.js +19 -19
  24. package/lib/breadcrumb/index.d.ts +67 -119
  25. package/lib/breadcrumb/index.js +17 -17
  26. package/lib/button/button.d.ts +2 -2
  27. package/lib/button/index.d.ts +119 -155
  28. package/lib/button/index.js +19 -20
  29. package/lib/card/card.d.ts +1 -1
  30. package/lib/card/index.d.ts +129 -158
  31. package/lib/card/index.js +20 -22
  32. package/lib/cascader/cascader.d.ts +3 -3
  33. package/lib/cascader/index.d.ts +393 -354
  34. package/lib/cascader/index.js +233 -234
  35. package/lib/checkbox/checkbox.d.ts +1 -1
  36. package/lib/checkbox/index.d.ts +119 -161
  37. package/lib/checkbox/index.js +39 -41
  38. package/lib/code-diff/index.d.ts +65 -82
  39. package/lib/code-diff/index.js +381 -438
  40. package/lib/collapse/index.d.ts +144 -168
  41. package/lib/collapse/index.js +21 -21
  42. package/lib/collapse-transition/index.d.ts +19 -94
  43. package/lib/color-picker/color-picker.d.ts +1 -1
  44. package/lib/color-picker/index.d.ts +128 -154
  45. package/lib/color-picker/index.js +25 -28
  46. package/lib/config-provider/config-provider.d.ts +9 -0
  47. package/lib/config-provider/index.d.ts +168 -223
  48. package/lib/config-provider/index.js +19 -19
  49. package/lib/config-provider/token.d.ts +3 -0
  50. package/lib/container/container.d.ts +1 -1
  51. package/lib/container/index.d.ts +74 -85
  52. package/lib/container/index.js +19 -19
  53. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  54. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  55. package/lib/date-picker/date-picker.d.ts +3 -3
  56. package/lib/date-picker/index.d.ts +384 -351
  57. package/lib/date-picker/index.js +92 -104
  58. package/lib/date-picker/panel/date-range.d.ts +1 -1
  59. package/lib/date-picker/panel/date.d.ts +1 -1
  60. package/lib/date-picker/panel/time-range.d.ts +2 -2
  61. package/lib/date-picker/panel/time.d.ts +1 -1
  62. package/lib/date-picker/time-picker.d.ts +3 -3
  63. package/lib/dialog/index.d.ts +355 -309
  64. package/lib/dialog/index.js +227 -228
  65. package/lib/directives/index.js +27 -27
  66. package/lib/divider/index.d.ts +57 -111
  67. package/lib/dropdown/dropdown.d.ts +1 -1
  68. package/lib/dropdown/index.d.ts +94 -136
  69. package/lib/dropdown/index.js +17 -17
  70. package/lib/exception/index.d.ts +41 -102
  71. package/lib/exception/index.js +18 -19
  72. package/lib/fixed-navbar/index.d.ts +59 -113
  73. package/lib/form/form.css +3 -0
  74. package/lib/form/form.d.ts +1 -1
  75. package/lib/form/form.less +3 -0
  76. package/lib/form/form.variable.css +3 -0
  77. package/lib/form/index.d.ts +80 -132
  78. package/lib/form/index.js +29 -27
  79. package/lib/icon/angle-double-down-line.js +21 -21
  80. package/lib/icon/angle-double-left-line.js +21 -21
  81. package/lib/icon/angle-double-left.js +21 -21
  82. package/lib/icon/angle-double-right-line.js +21 -21
  83. package/lib/icon/angle-double-right.js +21 -21
  84. package/lib/icon/angle-double-up-line.js +21 -21
  85. package/lib/icon/angle-down-fill.js +21 -21
  86. package/lib/icon/angle-down-line.js +21 -21
  87. package/lib/icon/angle-down.js +21 -21
  88. package/lib/icon/angle-left.js +21 -21
  89. package/lib/icon/angle-right.js +21 -21
  90. package/lib/icon/angle-up-fill.js +21 -21
  91. package/lib/icon/angle-up.js +21 -21
  92. package/lib/icon/archive-fill.js +21 -21
  93. package/lib/icon/arrows-left.js +21 -21
  94. package/lib/icon/arrows-right.js +21 -21
  95. package/lib/icon/assistant.js +21 -21
  96. package/lib/icon/audio-fill.js +21 -21
  97. package/lib/icon/bk.js +21 -21
  98. package/lib/icon/circle.js +21 -21
  99. package/lib/icon/close-line.js +21 -21
  100. package/lib/icon/close.js +21 -21
  101. package/lib/icon/code.js +21 -21
  102. package/lib/icon/cog-shape.js +21 -21
  103. package/lib/icon/collapse-left.js +21 -21
  104. package/lib/icon/copy-shape.js +21 -21
  105. package/lib/icon/copy.js +21 -21
  106. package/lib/icon/data-shape.js +21 -21
  107. package/lib/icon/del.js +21 -21
  108. package/lib/icon/doc-fill.js +21 -21
  109. package/lib/icon/done.js +21 -21
  110. package/lib/icon/down-shape.js +21 -21
  111. package/lib/icon/down-small.js +21 -21
  112. package/lib/icon/edit-line.js +21 -21
  113. package/lib/icon/ellipsis.js +21 -21
  114. package/lib/icon/enlarge-line.js +21 -21
  115. package/lib/icon/error.js +21 -21
  116. package/lib/icon/excel-fill.js +21 -21
  117. package/lib/icon/exclamation-circle-shape.js +21 -21
  118. package/lib/icon/eye.js +21 -21
  119. package/lib/icon/filliscreen-line.js +21 -21
  120. package/lib/icon/fix-line.js +21 -21
  121. package/lib/icon/fix-shape.js +21 -21
  122. package/lib/icon/folder-open.js +21 -21
  123. package/lib/icon/folder-shape-open.js +21 -21
  124. package/lib/icon/folder-shape.js +21 -21
  125. package/lib/icon/folder.js +21 -21
  126. package/lib/icon/funnel.js +21 -21
  127. package/lib/icon/grag-fill.js +21 -21
  128. package/lib/icon/help-document-fill.js +21 -21
  129. package/lib/icon/help-fill.js +21 -21
  130. package/lib/icon/help.js +21 -21
  131. package/lib/icon/image-fill.js +22 -22
  132. package/lib/icon/img-error.js +22 -22
  133. package/lib/icon/img-placehoulder.js +22 -22
  134. package/lib/icon/index.js +192 -192
  135. package/lib/icon/info-line.js +22 -22
  136. package/lib/icon/info.js +22 -22
  137. package/lib/icon/left-shape.js +22 -22
  138. package/lib/icon/left-turn-line.js +22 -22
  139. package/lib/icon/loading.js +22 -22
  140. package/lib/icon/narrow-line.js +22 -22
  141. package/lib/icon/original.js +22 -22
  142. package/lib/icon/pdf-fill.js +22 -22
  143. package/lib/icon/play-shape.js +22 -22
  144. package/lib/icon/plus.js +22 -22
  145. package/lib/icon/ppt-fill.js +22 -22
  146. package/lib/icon/qq.js +22 -22
  147. package/lib/icon/right-shape.js +22 -22
  148. package/lib/icon/right-turn-line.js +22 -22
  149. package/lib/icon/search.js +22 -22
  150. package/lib/icon/share.js +22 -22
  151. package/lib/icon/spinner.js +22 -22
  152. package/lib/icon/success.js +22 -22
  153. package/lib/icon/switcher-loading.js +22 -22
  154. package/lib/icon/text-file.js +22 -22
  155. package/lib/icon/text-fill.js +22 -22
  156. package/lib/icon/transfer.js +22 -22
  157. package/lib/icon/tree-application-shape.js +22 -22
  158. package/lib/icon/unfull-screen.js +22 -22
  159. package/lib/icon/unvisible.js +22 -22
  160. package/lib/icon/up-shape.js +22 -22
  161. package/lib/icon/upload.js +22 -22
  162. package/lib/icon/video-fill.js +22 -22
  163. package/lib/icon/warn.js +22 -22
  164. package/lib/icon/weixin-pro.js +22 -22
  165. package/lib/icon/weixin.js +22 -22
  166. package/lib/image/index.d.ts +113 -149
  167. package/lib/image/index.js +19 -19
  168. package/lib/info-box/index.js +231 -232
  169. package/lib/input/index.d.ts +326 -293
  170. package/lib/input/index.js +256 -258
  171. package/lib/link/index.d.ts +73 -122
  172. package/lib/loading/index.d.ts +132 -158
  173. package/lib/loading/index.js +23 -25
  174. package/lib/loading/loading.d.ts +4 -4
  175. package/lib/locale/index.js +8 -12
  176. package/lib/locale/lang/en.d.ts +3 -0
  177. package/lib/menu/index.d.ts +51 -112
  178. package/lib/menu/index.js +25 -25
  179. package/lib/message/index.js +28 -30
  180. package/lib/message/messageConstructor.d.ts +5 -5
  181. package/lib/modal/index.d.ts +261 -249
  182. package/lib/modal/index.js +492 -33
  183. package/lib/navigation/index.d.ts +152 -188
  184. package/lib/notify/index.js +22 -24
  185. package/lib/notify/notifyConstructor.d.ts +1 -1
  186. package/lib/overflow-title/index.d.ts +314 -242
  187. package/lib/overflow-title/index.js +1 -1
  188. package/lib/pagination/index.d.ts +194 -205
  189. package/lib/pagination/index.js +49 -56
  190. package/lib/plugin-popover/index.js +192 -98
  191. package/lib/pop-confirm/index.d.ts +126 -159
  192. package/lib/pop-confirm/index.js +0 -1
  193. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  194. package/lib/popover/content.d.ts +1 -1
  195. package/lib/popover/index.d.ts +374 -330
  196. package/lib/popover/index.js +192 -98
  197. package/lib/popover2/index.d.ts +8 -83
  198. package/lib/preset.d.ts +287 -2
  199. package/lib/preset.js +3 -1
  200. package/lib/process/index.d.ts +93 -137
  201. package/lib/process/index.js +225 -226
  202. package/lib/progress/index.d.ts +178 -187
  203. package/lib/progress/index.js +19 -19
  204. package/lib/progress/progress.d.ts +2 -2
  205. package/lib/radio/index.d.ts +83 -135
  206. package/lib/radio/index.js +41 -43
  207. package/lib/rate/index.d.ts +55 -112
  208. package/lib/rate/index.js +19 -20
  209. package/lib/resize-layout/index.d.ts +156 -185
  210. package/lib/resize-layout/index.js +20 -21
  211. package/lib/resize-layout/resize-layout.d.ts +2 -2
  212. package/lib/search-select/index.d.ts +292 -327
  213. package/lib/search-select/index.js +239 -240
  214. package/lib/search-select/input.d.ts +2 -2
  215. package/lib/search-select/search-select.d.ts +3 -3
  216. package/lib/search-select/selected.d.ts +2 -2
  217. package/lib/select/index.d.ts +1234 -1135
  218. package/lib/select/index.js +259 -262
  219. package/lib/select/select.d.ts +121 -161
  220. package/lib/select/selectTagInput.d.ts +2 -2
  221. package/lib/shared/helper.d.ts +4 -0
  222. package/lib/shared/index.js +81 -63
  223. package/lib/sideslider/index.d.ts +247 -233
  224. package/lib/sideslider/index.js +241 -247
  225. package/lib/slider/index.d.ts +204 -204
  226. package/lib/slider/index.js +208 -209
  227. package/lib/steps/index.d.ts +114 -150
  228. package/lib/steps/index.js +227 -228
  229. package/lib/swiper/index.d.ts +81 -127
  230. package/lib/swiper/index.js +18 -18
  231. package/lib/switcher/index.d.ts +152 -174
  232. package/lib/switcher/index.js +20 -22
  233. package/lib/tab/index.d.ts +199 -211
  234. package/lib/tab/index.js +23 -25
  235. package/lib/table/components/table-column.d.ts +2 -2
  236. package/lib/table/index.d.ts +605 -593
  237. package/lib/table/index.js +81 -95
  238. package/lib/table/plugins/use-pagination.d.ts +1 -1
  239. package/lib/table/table.d.ts +1 -1
  240. package/lib/table/use-common.d.ts +67 -34
  241. package/lib/table-column/index.d.ts +207 -243
  242. package/lib/table-column/index.js +18 -19
  243. package/lib/tag/index.d.ts +95 -142
  244. package/lib/tag/index.js +19 -19
  245. package/lib/tag-input/index.d.ts +690 -498
  246. package/lib/tag-input/index.js +54 -62
  247. package/lib/tag-input/tag-input.d.ts +5 -5
  248. package/lib/time-picker/index.d.ts +442 -385
  249. package/lib/timeline/index.d.ts +50 -109
  250. package/lib/timeline/index.js +6 -6
  251. package/lib/transfer/index.d.ts +191 -206
  252. package/lib/tree/index.d.ts +322 -288
  253. package/lib/tree/index.js +36 -39
  254. package/lib/tree/tree.d.ts +1 -1
  255. package/lib/tree/use-tree-init.d.ts +1 -1
  256. package/lib/upload/index.d.ts +281 -254
  257. package/lib/upload/index.js +254 -257
  258. package/lib/upload/upload.d.ts +2 -2
  259. package/lib/virtual-render/index.d.ts +337 -242
  260. package/lib/virtual-render/index.js +30 -30
  261. package/lib/virtual-render/virtual-render.d.ts +1 -1
  262. package/package.json +7 -13
@@ -42,38 +42,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
42
42
  var y = x => () => x
43
43
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
44
44
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
45
- function _typeof(obj) {
45
+ function _typeof(o) {
46
46
  "@babel/helpers - typeof";
47
47
 
48
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
49
- return typeof obj;
50
- } : function (obj) {
51
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
52
- }, _typeof(obj);
48
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
49
+ return typeof o;
50
+ } : function (o) {
51
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
52
+ }, _typeof(o);
53
53
  }
54
54
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
55
55
 
56
- function _toPrimitive(input, hint) {
57
- if (_typeof(input) !== "object" || input === null) return input;
58
- var prim = input[Symbol.toPrimitive];
59
- if (prim !== undefined) {
60
- var res = prim.call(input, hint || "default");
61
- if (_typeof(res) !== "object") return res;
56
+ function toPrimitive(t, r) {
57
+ if ("object" != _typeof(t) || !t) return t;
58
+ var e = t[Symbol.toPrimitive];
59
+ if (void 0 !== e) {
60
+ var i = e.call(t, r || "default");
61
+ if ("object" != _typeof(i)) return i;
62
62
  throw new TypeError("@@toPrimitive must return a primitive value.");
63
63
  }
64
- return (hint === "string" ? String : Number)(input);
64
+ return ("string" === r ? String : Number)(t);
65
65
  }
66
66
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
67
67
 
68
68
 
69
- function _toPropertyKey(arg) {
70
- var key = _toPrimitive(arg, "string");
71
- return _typeof(key) === "symbol" ? key : String(key);
69
+ function toPropertyKey(t) {
70
+ var i = toPrimitive(t, "string");
71
+ return "symbol" == _typeof(i) ? i : String(i);
72
72
  }
73
73
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
74
74
 
75
75
  function _defineProperty(obj, key, value) {
76
- key = _toPropertyKey(key);
76
+ key = toPropertyKey(key);
77
77
  if (key in obj) {
78
78
  Object.defineProperty(obj, key, {
79
79
  value: value,
@@ -1,110 +1,44 @@
1
1
  import Exception, { ExceptionEnum, SceneEnum } from './exception';
2
2
  declare const BkException: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: {
7
- title?: string;
8
- type?: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
9
- description?: string;
10
- scene?: "page" | "part";
11
- class?: unknown;
12
- style?: unknown;
13
- ref?: import("vue").VNodeRef;
14
- key?: string | number | symbol;
15
- ref_for?: boolean;
16
- ref_key?: string;
17
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
- [key: string]: any;
19
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
- [key: string]: any;
21
- }>) => void)[];
22
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
- [key: string]: any;
24
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>) => void)[];
27
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
- [key: string]: any;
29
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
- [key: string]: any;
31
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
- [key: string]: any;
33
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
- [key: string]: any;
35
- }>) => void)[];
36
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
- [key: string]: any;
38
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
- [key: string]: any;
40
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
- [key: string]: any;
42
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
- [key: string]: any;
44
- }>) => void)[];
45
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
- [key: string]: any;
47
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>) => void)[];
50
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
- [key: string]: any;
52
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>) => void)[];
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
5
+ default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
6
+ };
7
+ scene: import("vue-types").VueTypeDef<"page" | "part"> & {
8
+ default: "page" | "part";
9
+ };
10
+ title: import("vue-types").VueTypeValidableDef<string> & {
11
+ default: string;
12
+ };
13
+ description: import("vue-types").VueTypeValidableDef<string> & {
14
+ default: string;
55
15
  };
56
- $attrs: {
57
- [x: string]: unknown;
16
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
17
+ type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
18
+ default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
19
+ };
20
+ scene: import("vue-types").VueTypeDef<"page" | "part"> & {
21
+ default: "page" | "part";
58
22
  };
59
- $refs: {
60
- [x: string]: unknown;
23
+ title: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
61
25
  };
62
- $slots: Readonly<{
63
- [name: string]: import("vue").Slot<any>;
64
- }>;
65
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
66
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
67
- $emit: (event: string, ...args: any[]) => void;
68
- $el: any;
69
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
70
- type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
71
- default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
72
- };
73
- scene: import("vue-types").VueTypeDef<"page" | "part"> & {
74
- default: "page" | "part";
75
- };
76
- title: import("vue-types").VueTypeValidableDef<string> & {
77
- default: string;
78
- };
79
- description: import("vue-types").VueTypeValidableDef<string> & {
80
- default: string;
81
- };
82
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
83
- title: string;
84
- type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
85
- description: string;
86
- scene: "page" | "part";
87
- }, {}, string, {}> & {
88
- beforeCreate?: (() => void) | (() => void)[];
89
- created?: (() => void) | (() => void)[];
90
- beforeMount?: (() => void) | (() => void)[];
91
- mounted?: (() => void) | (() => void)[];
92
- beforeUpdate?: (() => void) | (() => void)[];
93
- updated?: (() => void) | (() => void)[];
94
- activated?: (() => void) | (() => void)[];
95
- deactivated?: (() => void) | (() => void)[];
96
- beforeDestroy?: (() => void) | (() => void)[];
97
- beforeUnmount?: (() => void) | (() => void)[];
98
- destroyed?: (() => void) | (() => void)[];
99
- unmounted?: (() => void) | (() => void)[];
100
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
101
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
102
- 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)[];
26
+ description: import("vue-types").VueTypeValidableDef<string> & {
27
+ default: string;
103
28
  };
104
- $forceUpdate: () => void;
105
- $nextTick: typeof import("vue").nextTick;
106
- $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;
107
- } & Readonly<import("vue").ExtractPropTypes<{
29
+ }>>, {
30
+ title: string;
31
+ type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
32
+ description: string;
33
+ scene: "page" | "part";
34
+ }, true, {}, {}, {
35
+ P: {};
36
+ B: {};
37
+ D: {};
38
+ C: {};
39
+ M: {};
40
+ Defaults: {};
41
+ }, Readonly<import("vue").ExtractPropTypes<{
108
42
  type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
109
43
  default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
110
44
  };
@@ -117,7 +51,12 @@ declare const BkException: {
117
51
  description: import("vue-types").VueTypeValidableDef<string> & {
118
52
  default: string;
119
53
  };
120
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
54
+ }>>, () => JSX.Element, {}, {}, {}, {
55
+ title: string;
56
+ type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
57
+ description: string;
58
+ scene: "page" | "part";
59
+ }>;
121
60
  __isFragment?: never;
122
61
  __isTeleport?: never;
123
62
  __isSuspense?: never;
@@ -129,38 +129,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
129
129
  var y = x => () => x
130
130
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
131
131
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
132
- function _typeof(obj) {
132
+ function _typeof(o) {
133
133
  "@babel/helpers - typeof";
134
134
 
135
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
136
- return typeof obj;
137
- } : function (obj) {
138
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
139
- }, _typeof(obj);
135
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
136
+ return typeof o;
137
+ } : function (o) {
138
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
139
+ }, _typeof(o);
140
140
  }
141
141
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
142
142
 
143
- function _toPrimitive(input, hint) {
144
- if (_typeof(input) !== "object" || input === null) return input;
145
- var prim = input[Symbol.toPrimitive];
146
- if (prim !== undefined) {
147
- var res = prim.call(input, hint || "default");
148
- if (_typeof(res) !== "object") return res;
143
+ function toPrimitive(t, r) {
144
+ if ("object" != _typeof(t) || !t) return t;
145
+ var e = t[Symbol.toPrimitive];
146
+ if (void 0 !== e) {
147
+ var i = e.call(t, r || "default");
148
+ if ("object" != _typeof(i)) return i;
149
149
  throw new TypeError("@@toPrimitive must return a primitive value.");
150
150
  }
151
- return (hint === "string" ? String : Number)(input);
151
+ return ("string" === r ? String : Number)(t);
152
152
  }
153
153
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
154
154
 
155
155
 
156
- function _toPropertyKey(arg) {
157
- var key = _toPrimitive(arg, "string");
158
- return _typeof(key) === "symbol" ? key : String(key);
156
+ function toPropertyKey(t) {
157
+ var i = toPrimitive(t, "string");
158
+ return "symbol" == _typeof(i) ? i : String(i);
159
159
  }
160
160
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
161
161
 
162
162
  function _defineProperty(obj, key, value) {
163
- key = _toPropertyKey(key);
163
+ key = toPropertyKey(key);
164
164
  if (key in obj) {
165
165
  Object.defineProperty(obj, key, {
166
166
  value: value,
@@ -338,8 +338,7 @@ var SceneEnum;
338
338
  return null;
339
339
  };
340
340
  return function () {
341
- var _classes;
342
- var rootClass = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('exception')), true), _defineProperty(_classes, "".concat(resolveClassName("exception-".concat(props.scene))), true), _classes));
341
+ var rootClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName('exception')), true), "".concat(resolveClassName("exception-".concat(props.scene))), true));
343
342
  return (0,external_vue_namespaceObject.createVNode)("div", {
344
343
  "class": rootClass
345
344
  }, [renderImg(), renderTitle(), renderDescription(), renderFooter()]);
@@ -1,120 +1,61 @@
1
1
  declare const BkFixedNavbar: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: {
6
- extCls?: string;
7
- position?: string;
8
- modelValue?: boolean;
9
- navItems?: unknown[];
10
- class?: unknown;
11
- style?: unknown;
12
- onClick?: (...args: any[]) => any;
13
- ref?: import("vue").VNodeRef;
14
- key?: string | number | symbol;
15
- ref_for?: boolean;
16
- ref_key?: string;
17
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
- [key: string]: any;
19
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
- [key: string]: any;
21
- }>) => void)[];
22
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
- [key: string]: any;
24
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>) => void)[];
27
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
- [key: string]: any;
29
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
- [key: string]: any;
31
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
- [key: string]: any;
33
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
- [key: string]: any;
35
- }>) => void)[];
36
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
- [key: string]: any;
38
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
- [key: string]: any;
40
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
- [key: string]: any;
42
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
- [key: string]: any;
44
- }>) => void)[];
45
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
- [key: string]: any;
47
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>) => void)[];
50
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
- [key: string]: any;
52
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>) => void)[];
55
- "onUpdate:modelValue"?: (...args: any[]) => any;
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
4
+ default: () => unknown[];
5
+ } & {
6
+ default: () => unknown[];
7
+ };
8
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ } & {
11
+ default: string;
12
+ };
13
+ position: import("vue-types").VueTypeDef<string> & {
14
+ default: string;
15
+ };
16
+ modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
17
+ default: boolean;
18
+ } & {
19
+ default: boolean;
20
+ };
21
+ }>> & {
22
+ onClick?: (...args: any[]) => any;
23
+ "onUpdate:modelValue"?: (...args: any[]) => any;
24
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
25
+ navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
26
+ default: () => unknown[];
27
+ } & {
28
+ default: () => unknown[];
56
29
  };
57
- $attrs: {
58
- [x: string]: unknown;
30
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ } & {
33
+ default: string;
59
34
  };
60
- $refs: {
61
- [x: string]: unknown;
35
+ position: import("vue-types").VueTypeDef<string> & {
36
+ default: string;
62
37
  };
63
- $slots: Readonly<{
64
- [name: string]: import("vue").Slot<any>;
65
- }>;
66
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
67
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
68
- $emit: (event: "click" | "update:modelValue", ...args: any[]) => void;
69
- $el: any;
70
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
71
- navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
72
- default: () => unknown[];
73
- } & {
74
- default: () => unknown[];
75
- };
76
- extCls: import("vue-types").VueTypeValidableDef<string> & {
77
- default: string;
78
- } & {
79
- default: string;
80
- };
81
- position: import("vue-types").VueTypeDef<string> & {
82
- default: string;
83
- };
84
- modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
85
- default: boolean;
86
- } & {
87
- default: boolean;
88
- };
89
- }>> & {
90
- onClick?: (...args: any[]) => any;
91
- "onUpdate:modelValue"?: (...args: any[]) => any;
92
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue")[], string, {
93
- extCls: string;
94
- position: string;
95
- modelValue: boolean;
96
- navItems: unknown[];
97
- }, {}, string, {}> & {
98
- beforeCreate?: (() => void) | (() => void)[];
99
- created?: (() => void) | (() => void)[];
100
- beforeMount?: (() => void) | (() => void)[];
101
- mounted?: (() => void) | (() => void)[];
102
- beforeUpdate?: (() => void) | (() => void)[];
103
- updated?: (() => void) | (() => void)[];
104
- activated?: (() => void) | (() => void)[];
105
- deactivated?: (() => void) | (() => void)[];
106
- beforeDestroy?: (() => void) | (() => void)[];
107
- beforeUnmount?: (() => void) | (() => void)[];
108
- destroyed?: (() => void) | (() => void)[];
109
- unmounted?: (() => void) | (() => void)[];
110
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
111
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
112
- 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)[];
38
+ modelValue: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ } & {
41
+ default: boolean;
113
42
  };
114
- $forceUpdate: () => void;
115
- $nextTick: typeof import("vue").nextTick;
116
- $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;
117
- } & Readonly<import("vue").ExtractPropTypes<{
43
+ }>> & {
44
+ onClick?: (...args: any[]) => any;
45
+ "onUpdate:modelValue"?: (...args: any[]) => any;
46
+ }, {
47
+ extCls: string;
48
+ position: string;
49
+ modelValue: boolean;
50
+ navItems: unknown[];
51
+ }, true, {}, {}, {
52
+ P: {};
53
+ B: {};
54
+ D: {};
55
+ C: {};
56
+ M: {};
57
+ Defaults: {};
58
+ }, Readonly<import("vue").ExtractPropTypes<{
118
59
  navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
119
60
  default: () => unknown[];
120
61
  } & {
@@ -136,7 +77,12 @@ declare const BkFixedNavbar: {
136
77
  }>> & {
137
78
  onClick?: (...args: any[]) => any;
138
79
  "onUpdate:modelValue"?: (...args: any[]) => any;
139
- } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
80
+ }, () => JSX.Element, {}, {}, {}, {
81
+ extCls: string;
82
+ position: string;
83
+ modelValue: boolean;
84
+ navItems: unknown[];
85
+ }>;
140
86
  __isFragment?: never;
141
87
  __isTeleport?: never;
142
88
  __isSuspense?: never;
package/lib/form/form.css CHANGED
@@ -64,6 +64,9 @@
64
64
  cursor: pointer;
65
65
  border-bottom: 1px dashed #979ba5;
66
66
  }
67
+ .bk-form-label-description-popper {
68
+ max-width: 400px;
69
+ }
67
70
  .bk-form-content {
68
71
  position: relative;
69
72
  line-height: 32px;
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
84
84
  };
85
85
  };
86
86
  }>> & {
87
- onSubmit?: ((...args: any[]) => any) | ((...args: unknown[]) => any);
87
+ onSubmit?: (...args: any[] | unknown[]) => any;
88
88
  onValidate?: (property: string, result: boolean, message: string) => any;
89
89
  }, {
90
90
  labelWidth: string | number;
@@ -86,6 +86,9 @@
86
86
  cursor: pointer;
87
87
  border-bottom: 1px dashed #979ba5;
88
88
  }
89
+ .@{bk-prefix}-form-label-description-popper {
90
+ max-width: 400px;
91
+ }
89
92
 
90
93
  .@{bk-prefix}-form-content {
91
94
  position: relative;
@@ -190,6 +190,9 @@
190
190
  cursor: pointer;
191
191
  border-bottom: 1px dashed #979ba5;
192
192
  }
193
+ .bk-form-label-description-popper {
194
+ max-width: 400px;
195
+ }
193
196
  .bk-form-content {
194
197
  position: relative;
195
198
  line-height: 32px;