bkui-vue 0.0.1-beta.15 → 0.0.1-beta.18

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 (250) hide show
  1. package/dist/bkui-vue.cjs.js +1171 -186
  2. package/dist/bkui-vue.esm.js +1214 -233
  3. package/dist/bkui-vue.umd.js +1171 -186
  4. package/dist/style.css +469 -14
  5. package/lib/alert/alert.d.ts +24 -15
  6. package/lib/alert/alert.variable.css +7 -0
  7. package/lib/alert/index.d.ts +96 -60
  8. package/lib/alert/index.js +1 -1
  9. package/lib/animate-number/animate-number.d.ts +12 -7
  10. package/lib/animate-number/index.d.ts +48 -28
  11. package/lib/backtop/backtop.d.ts +27 -13
  12. package/lib/backtop/backtop.variable.css +7 -0
  13. package/lib/backtop/index.d.ts +108 -52
  14. package/lib/backtop/index.js +1 -1
  15. package/lib/badge/badge.d.ts +40 -19
  16. package/lib/badge/badge.variable.css +7 -0
  17. package/lib/badge/index.d.ts +144 -76
  18. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  19. package/lib/breadcrumb/breadcrumb.d.ts +21 -13
  20. package/lib/breadcrumb/breadcrumb.variable.css +7 -0
  21. package/lib/breadcrumb/index.d.ts +97 -61
  22. package/lib/breadcrumb/index.js +1 -1
  23. package/lib/button/button-group.d.ts +3 -5
  24. package/lib/button/button.d.ts +27 -22
  25. package/lib/button/button.variable.css +7 -0
  26. package/lib/button/index.d.ts +111 -93
  27. package/lib/card/card.d.ts +30 -15
  28. package/lib/card/card.variable.css +7 -0
  29. package/lib/card/index.d.ts +120 -60
  30. package/lib/checkbox/checkbox-group.d.ts +13 -9
  31. package/lib/checkbox/checkbox.d.ts +31 -22
  32. package/lib/checkbox/checkbox.variable.css +7 -0
  33. package/lib/checkbox/index.d.ts +137 -97
  34. package/lib/collapse/collapse.d.ts +50 -18
  35. package/lib/collapse/index.d.ts +108 -72
  36. package/lib/collapse/index.js +1 -1
  37. package/lib/components.d.ts +3 -0
  38. package/lib/date-picker/date-picker.d.ts +110 -63
  39. package/lib/date-picker/date-picker.variable.css +7 -0
  40. package/lib/date-picker/index.d.ts +437 -249
  41. package/lib/date-picker/index.js +1 -1
  42. package/lib/dialog/dialog.d.ts +46 -25
  43. package/lib/dialog/index.d.ts +179 -95
  44. package/lib/divider/divider.d.ts +21 -13
  45. package/lib/divider/divider.variable.css +7 -0
  46. package/lib/divider/index.d.ts +84 -52
  47. package/lib/dropdown/dropdown-item.d.ts +6 -5
  48. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  49. package/lib/dropdown/dropdown.d.ts +25 -13
  50. package/lib/dropdown/dropdown.variable.css +7 -0
  51. package/lib/dropdown/index.d.ts +94 -62
  52. package/lib/exception/exception.d.ts +11 -9
  53. package/lib/exception/exception.variable.css +7 -0
  54. package/lib/exception/index.d.ts +44 -36
  55. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  56. package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
  57. package/lib/fixed-navbar/index.d.ts +60 -36
  58. package/lib/form/form-item.d.ts +46 -27
  59. package/lib/form/form.d.ts +22 -14
  60. package/lib/form/index.d.ts +285 -3
  61. package/lib/form/index.js +1 -1
  62. package/lib/icon/angle-double-down-line.d.ts +4 -0
  63. package/lib/icon/angle-double-down-line.js +15 -0
  64. package/lib/icon/angle-double-left-line.d.ts +4 -0
  65. package/lib/icon/angle-double-left-line.js +15 -0
  66. package/lib/icon/angle-double-left.js +15 -0
  67. package/lib/icon/angle-double-right-line.d.ts +4 -0
  68. package/lib/icon/angle-double-right-line.js +15 -0
  69. package/lib/icon/angle-double-right.js +15 -0
  70. package/lib/icon/angle-double-up-line.d.ts +4 -0
  71. package/lib/icon/angle-double-up-line.js +15 -0
  72. package/lib/icon/angle-down-fill.js +15 -0
  73. package/lib/icon/angle-down-line.js +15 -0
  74. package/lib/icon/angle-down.js +15 -0
  75. package/lib/icon/angle-left.js +15 -0
  76. package/lib/icon/angle-right.js +15 -0
  77. package/lib/icon/angle-up-fill.js +15 -0
  78. package/lib/icon/angle-up.js +15 -0
  79. package/lib/icon/arrows-left.js +15 -0
  80. package/lib/icon/circle.js +15 -0
  81. package/lib/icon/close.js +15 -0
  82. package/lib/icon/code.js +15 -0
  83. package/lib/icon/cog-shape.js +15 -0
  84. package/lib/icon/collapse-left.js +15 -0
  85. package/lib/icon/copy.js +15 -0
  86. package/lib/icon/done.js +15 -0
  87. package/lib/icon/down-shape.js +15 -0
  88. package/lib/icon/down-small.js +15 -0
  89. package/lib/icon/ellipsis.d.ts +4 -0
  90. package/lib/icon/ellipsis.js +15 -0
  91. package/lib/icon/error.js +15 -0
  92. package/lib/icon/eye.js +15 -0
  93. package/lib/icon/folder-open.js +15 -0
  94. package/lib/icon/folder-shape-open.js +15 -0
  95. package/lib/icon/folder-shape.js +15 -0
  96. package/lib/icon/folder.js +15 -0
  97. package/lib/icon/help-document-fill.js +15 -0
  98. package/lib/icon/help-fill.js +15 -0
  99. package/lib/icon/help.js +15 -0
  100. package/lib/icon/icon.js +15 -0
  101. package/lib/icon/index.d.ts +7 -0
  102. package/lib/icon/index.js +1 -1
  103. package/lib/icon/info-line.js +15 -0
  104. package/lib/icon/info.js +15 -0
  105. package/lib/icon/left-shape.d.ts +4 -0
  106. package/lib/icon/left-shape.js +15 -0
  107. package/lib/icon/play-shape.js +15 -0
  108. package/lib/icon/plus.js +15 -0
  109. package/lib/icon/right-shape.js +15 -0
  110. package/lib/icon/search.js +15 -0
  111. package/lib/icon/share.js +15 -0
  112. package/lib/icon/spinner.js +15 -0
  113. package/lib/icon/success.js +15 -0
  114. package/lib/icon/switcher-loading.js +15 -0
  115. package/lib/icon/text-file.js +15 -0
  116. package/lib/icon/tree-application-shape.js +15 -0
  117. package/lib/icon/unvisible.js +15 -0
  118. package/lib/icon/up-shape.d.ts +4 -0
  119. package/lib/icon/up-shape.js +15 -0
  120. package/lib/icon/warn.js +15 -0
  121. package/lib/input/index.d.ts +240 -160
  122. package/lib/input/index.js +2 -2
  123. package/lib/input/input.d.ts +60 -40
  124. package/lib/input/input.variable.css +7 -0
  125. package/lib/link/index.d.ts +100 -52
  126. package/lib/link/link.d.ts +25 -13
  127. package/lib/link/link.variable.css +7 -0
  128. package/lib/loading/index.d.ts +64 -64
  129. package/lib/loading/loading.d.ts +16 -16
  130. package/lib/loading/loading.variable.css +7 -0
  131. package/lib/menu/index.d.ts +90 -71
  132. package/lib/menu/index.js +1 -1
  133. package/lib/menu/menu-group.d.ts +6 -5
  134. package/lib/menu/menu-item.d.ts +6 -5
  135. package/lib/menu/menu.d.ts +18 -14
  136. package/lib/menu/menu.variable.css +7 -0
  137. package/lib/menu/submenu.css +3 -0
  138. package/lib/menu/submenu.d.ts +6 -5
  139. package/lib/menu/submenu.less +1 -1
  140. package/lib/menu/submenu.variable.css +10 -0
  141. package/lib/message/index.js +1 -1
  142. package/lib/message/message.variable.css +7 -0
  143. package/lib/message/messageConstructor.d.ts +28 -16
  144. package/lib/modal/index.d.ts +92 -56
  145. package/lib/modal/index.js +1 -1
  146. package/lib/modal/modal.d.ts +24 -15
  147. package/lib/modal/props.mixin.d.ts +1 -1
  148. package/lib/navigation/index.js +1 -1
  149. package/lib/navigation/navigation-title.d.ts +10 -7
  150. package/lib/navigation/navigation.d.ts +40 -23
  151. package/lib/navigation/navigation.variable.css +7 -0
  152. package/lib/notify/index.js +1 -1
  153. package/lib/notify/notify.variable.css +7 -0
  154. package/lib/notify/notifyConstructor.d.ts +36 -20
  155. package/lib/pagination/index.d.ts +395 -0
  156. package/lib/pagination/index.js +1 -0
  157. package/lib/pagination/pagination.css +179 -0
  158. package/lib/pagination/pagination.d.ts +220 -0
  159. package/lib/pagination/pagination.less +201 -0
  160. package/lib/pagination/pagination.variable.css +272 -0
  161. package/lib/pagination/type.d.ts +6 -0
  162. package/lib/pagination/use-limit.d.ts +8 -0
  163. package/lib/pagination/use-list.d.ts +8 -0
  164. package/lib/pagination/use-small-list.d.ts +5 -0
  165. package/lib/pagination/use-total.d.ts +5 -0
  166. package/lib/popover/index.d.ts +207 -177
  167. package/lib/popover/popover.css +1 -0
  168. package/lib/popover/popover.d.ts +52 -30
  169. package/lib/popover/popover.less +2 -0
  170. package/lib/popover/popover.variable.css +8 -0
  171. package/lib/process/index.d.ts +120 -60
  172. package/lib/process/index.js +1 -1
  173. package/lib/process/process.css +2 -3
  174. package/lib/process/process.d.ts +30 -15
  175. package/lib/process/process.less +2 -3
  176. package/lib/process/process.variable.css +9 -3
  177. package/lib/progress/index.d.ts +284 -136
  178. package/lib/progress/progress.d.ts +71 -34
  179. package/lib/progress/progress.variable.css +7 -0
  180. package/lib/radio/index.d.ts +127 -78
  181. package/lib/radio/radio-button.d.ts +24 -16
  182. package/lib/radio/radio-group.d.ts +11 -10
  183. package/lib/radio/radio.d.ts +23 -13
  184. package/lib/radio/radio.variable.css +7 -0
  185. package/lib/rate/index.d.ts +52 -40
  186. package/lib/rate/rate.d.ts +13 -10
  187. package/lib/rate/star.d.ts +32 -15
  188. package/lib/select/index.d.ts +396 -327
  189. package/lib/select/index.js +2 -2
  190. package/lib/select/option.d.ts +9 -10
  191. package/lib/select/optionGroup.d.ts +49 -41
  192. package/lib/select/select.css +2 -1
  193. package/lib/select/select.d.ts +98 -84
  194. package/lib/select/select.less +2 -1
  195. package/lib/select/select.variable.css +9 -1
  196. package/lib/shared/index.js +1 -1
  197. package/lib/sideslider/index.d.ts +111 -63
  198. package/lib/sideslider/sideslider.d.ts +29 -17
  199. package/lib/sideslider/sideslider.variable.css +7 -0
  200. package/lib/slider/slider-button.d.ts +10 -7
  201. package/lib/slider/slider.d.ts +70 -40
  202. package/lib/slider/slider.variable.css +7 -0
  203. package/lib/steps/index.d.ts +156 -104
  204. package/lib/steps/index.js +1 -1
  205. package/lib/steps/steps.css +3 -0
  206. package/lib/steps/steps.d.ts +39 -26
  207. package/lib/steps/steps.less +4 -0
  208. package/lib/steps/steps.variable.css +10 -0
  209. package/lib/styles/index.d.ts +2 -0
  210. package/lib/styles/index.js +1 -1
  211. package/lib/styles/themes/themes.less +11 -0
  212. package/lib/switcher/index.d.ts +192 -128
  213. package/lib/switcher/index.js +1 -1
  214. package/lib/switcher/switcher.d.ts +48 -32
  215. package/lib/switcher/switcher.variable.css +7 -0
  216. package/lib/tab/index.d.ts +344 -208
  217. package/lib/tab/index.js +1 -1
  218. package/lib/tab/tab-nav.d.ts +74 -38
  219. package/lib/tab/tab-panel.d.ts +22 -20
  220. package/lib/tab/tab.d.ts +64 -32
  221. package/lib/tab/tab.variable.css +7 -0
  222. package/lib/table/const.d.ts +4 -0
  223. package/lib/table/index.d.ts +154 -130
  224. package/lib/table/index.js +1 -1
  225. package/lib/table/props.d.ts +18 -0
  226. package/lib/table/render.d.ts +18 -2
  227. package/lib/table/table.css +47 -10
  228. package/lib/table/table.d.ts +47 -22
  229. package/lib/table/table.less +61 -17
  230. package/lib/table/table.variable.css +56 -12
  231. package/lib/table/utils.d.ts +28 -2
  232. package/lib/tag/index.d.ts +10 -286
  233. package/lib/tag/tag.d.ts +2 -48
  234. package/lib/tag/tag.variable.css +7 -0
  235. package/lib/timeline/index.d.ts +129 -0
  236. package/lib/timeline/index.js +1 -0
  237. package/lib/timeline/timeline.css +235 -0
  238. package/lib/timeline/timeline.d.ts +81 -0
  239. package/lib/timeline/timeline.less +239 -0
  240. package/lib/timeline/timeline.variable.css +328 -0
  241. package/lib/tree/index.d.ts +140 -75
  242. package/lib/tree/index.js +1 -1
  243. package/lib/tree/props.d.ts +19 -1
  244. package/lib/tree/tree.d.ts +42 -20
  245. package/lib/use-form.d.ts +3 -0
  246. package/lib/virtual-render/index.d.ts +410 -249
  247. package/lib/virtual-render/index.js +1 -1
  248. package/lib/virtual-render/props.d.ts +10 -0
  249. package/lib/virtual-render/virtual-render.d.ts +110 -41
  250. package/package.json +2 -2
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,i){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(i)}),(e.elements||[]).map((function(t,i){return n(t,"".concat(a,"-").concat(e.name,"-").concat(i))})))}var a=function(e,a){var i=Object.assign(Object.assign({},a.attrs),e),r=i.data,o=i.name,c=i.width,s=i.height,l=i.fill,d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n}(i,["data","name","width","height","fill"]),u="width: ".concat(c,"; height: ").concat(s,"; fill: ").concat(l);return t.createVNode("span",d,[n(r,o,u)])};a.inheritAttrs=!1,a.displayName="bkIcon";var i=JSON.parse('{"type":"element","name":"svg","attributes":{"aria-hidden":"true","class":"anticon-spin","data-icon":"loading","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3 0.1 19.9-16 36-35.9 36z"}}]}'),r=function(e,n){var r=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(r,{data:i,name:"switcherLoading"}),null)};r.displayName="switcherLoading",r.inheritAttrs=!1,e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,s){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(s)}),(e.elements||[]).map((function(t,s){return n(t,"".concat(a,"-").concat(e.name,"-").concat(s))})))}var a=function(e,a){var s=Object.assign(Object.assign({},a.attrs),e),i=s.data,r=s.name,l=s.width,o=s.height,c=s.fill,u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(n[a[s]]=e[a[s]])}return n}(s,["data","name","width","height","fill"]),p="width: ".concat(l,"; height: ").concat(o,"; fill: ").concat(c);return t.createVNode("span",u,[n(i,r,p)])};a.inheritAttrs=!1,a.displayName="bkIcon";var s=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M704 64L704 64H128v896h768V256l0 0L704 64zM704 154.5L805.5 256H704V154.5zM832 896H192V128h448v192h192V896z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 320H544V384H288V320z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 448H736V512H288V448z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 576H736V640H288V576z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 704H736V768H288V704z","class":"st0"}}]}'),i=function(e,n){var i=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(i,{data:s,name:"textFile"}),null)};i.displayName="textFile",i.inheritAttrs=!1,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,i){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(i)}),(e.elements||[]).map((function(t,i){return n(t,"".concat(a,"-").concat(e.name,"-").concat(i))})))}var a=function(e,a){var i=Object.assign(Object.assign({},a.attrs),e),r=i.data,o=i.name,c=i.width,l=i.height,s=i.fill,p=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n}(i,["data","name","width","height","fill"]),u="width: ".concat(c,"; height: ").concat(l,"; fill: ").concat(s);return t.createVNode("span",p,[n(r,o,u)])};a.inheritAttrs=!1,a.displayName="bkIcon";var i=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M432.64 576h156.79999999999998l-79.36-260.48-77.44 260.48z"}},{"type":"element","name":"path","attributes":{"d":"M512 0c-282.75199999999995 0-512 229.248-512 512s229.248 512 512 512c282.75199999999995 0 512-229.248 512-512s-229.248-512-512-512zM681.5999999999999 768h-9.6c-0.042666666666666665 0-0.128 0-0.21333333333333332 0-14.250666666666667 0-26.325333333333333-9.301333333333332-30.464-22.186666666666667l-32.04266666666666-105.81333333333333h-192l-33.28 105.6c-4.1386666666666665 13.994666666666667-16.896 24.02133333333333-32 24.02133333333333-18.389333333333333 0-33.32266666666666-14.933333333333332-33.32266666666666-33.32266666666666 0-3.328 0.46933333333333327-6.485333333333333 1.3653333333333333-9.514666666666667l133.07733333333334-429.82399999999996c9.813333333333333-23.552 32.64-39.808 59.263999999999996-39.808 24.917333333333332 0 46.464 14.208 57.04533333333333 34.986666666666665l134.57066666666665 434.304c1.152 3.157333333333333 1.792 6.784 1.792 10.581333333333333 0 14.890666666666664-10.197333333333333 27.434666666666665-23.97866666666667 30.976z"}}]}'),r=function(e,n){var r=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(r,{data:i,name:"treeApplicationShape"}),null)};r.displayName="treeApplicationShape",r.inheritAttrs=!1,e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,i){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(i)}),(e.elements||[]).map((function(t,i){return n(t,"".concat(a,"-").concat(e.name,"-").concat(i))})))}var a=function(e,a){var i=Object.assign(Object.assign({},a.attrs),e),r=i.data,l=i.name,o=i.width,s=i.height,c=i.fill,u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n}(i,["data","name","width","height","fill"]),p="width: ".concat(o,"; height: ").concat(s,"; fill: ").concat(c);return t.createVNode("span",u,[n(r,l,p)])};a.inheritAttrs=!1,a.displayName="bkIcon";var i=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M500.16 304a355.04 355.04 0 0 1 128 24.8l48-48.96a426.08 426.08 0 0 0-176-39.84v64Z"}},{"type":"element","name":"path","attributes":{"d":"M763.2 328.8l-46.08 46.08a822.24 822.24 0 0 1 160 138.88 807.52 807.52 0 0 1-86.88 85.12C723.84 654.24 620.48 720 502.56 720a331.52 331.52 0 0 1-111.04-19.52l-49.44 49.28a402.4 402.4 0 0 0 160 34.24C768 784 960 512 960 512A962.56 962.56 0 0 0 763.2 328.8Z"}},{"type":"element","name":"path","attributes":{"d":"M254.88 701.12l46.08-46.08a706.56 706.56 0 0 1-156.64-144C197.44 442.88 328.16 304 500.16 304V240h0C234.72 240 64 512 64 512A838.72 838.72 0 0 0 254.88 701.12Z"}},{"type":"element","name":"path","attributes":{"d":"M512 640a128 128 0 0 0 110.24-192.96L888 181.28A32 32 0 1 0 842.72 136L576.96 401.76a128 128 0 0 0-176 176L136 842.72a32 32 0 1 0 45.28 45.28L447.04 622.24A128 128 0 0 0 512 640Zm64-128a64 64 0 0 1-64 64 60.96 60.96 0 0 1-16-2.4L573.6 496A60.96 60.96 0 0 1 576 512Zm-64-64a60.96 60.96 0 0 1 16 2.4L450.4 528A60.96 60.96 0 0 1 448 512 64 64 0 0 1 512 448Z"}}]}'),r=function(e,n){var r=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(r,{data:i,name:"unvisible"}),null)};r.displayName="unvisible",r.inheritAttrs=!1,e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,4 @@
1
+ import { FunctionalComponent } from 'vue';
2
+ import { IIconBaseProps } from './icon';
3
+ declare const upShape: FunctionalComponent<IIconBaseProps>;
4
+ export default upShape;
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,r){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(t,r){return n(t,"".concat(a,"-").concat(e.name,"-").concat(r))})))}var a=function(e,a){var r=Object.assign(Object.assign({},a.attrs),e),i=r.data,c=r.name,o=r.width,s=r.height,l=r.fill,u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(r,["data","name","width","height","fill"]),f="width: ".concat(o,"; height: ").concat(s,"; fill: ").concat(l);return t.createVNode("span",u,[n(i,c,f)])};a.inheritAttrs=!1,a.displayName="bkIcon";var r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M896 671.3599999999999c0-2.5599999999999996-0.6399999999999999-4.4799999999999995-1.2799999999999998-7.04-0.6399999999999999-1.92-0.6399999999999999-3.84-1.2799999999999998-5.119999999999999s-1.2799999999999998-2.5599999999999996-1.92-3.1999999999999997c-1.2799999999999998-2.5599999999999996-2.5599999999999996-4.4799999999999995-4.4799999999999995-6.3999999999999995 0 0 0 0 0-0.6399999999999999l-356.48-384c-10.239999999999998-11.52-26.88-11.52-37.12 0l-356.48 384c0 0 0 0.6399999999999999 0 0.6399999999999999-1.92 1.92-2.5599999999999996 3.84-3.84 6.3999999999999995-0.6399999999999999 1.2799999999999998-1.92 2.5599999999999996-2.5599999999999996 3.84s-0.6399999999999999 3.1999999999999997-1.2799999999999998 5.119999999999999c-0.6399999999999999 1.2799999999999998-1.2799999999999998 3.84-1.2799999999999998 6.3999999999999995 0 0 0 0.6399999999999999 0 0.6399999999999999 0 1.92 0.6399999999999999 3.1999999999999997 0.6399999999999999 4.4799999999999995 0 2.5599999999999996 0.6399999999999999 4.4799999999999995 1.2799999999999998 7.04s1.92 4.4799999999999995 3.1999999999999997 6.3999999999999995c0.6399999999999999 1.2799999999999998 1.2799999999999998 2.5599999999999996 1.92 3.84 0 0 0 0 0.6399999999999999 0.6399999999999999 1.2799999999999998 1.92 3.1999999999999997 3.1999999999999997 5.119999999999999 4.4799999999999995 1.2799999999999998 0.6399999999999999 2.5599999999999996 1.92 3.84 2.5599999999999996s2.5599999999999996 0.6399999999999999 3.84 1.2799999999999998c1.92 0 3.84 1.2799999999999998 6.3999999999999995 1.2799999999999998 0 0 0.6399999999999999 0 0.6399999999999999 0h712.96c3.84 0 7.68-0.6399999999999999 10.879999999999999-2.5599999999999996 0.6399999999999999 0 0.6399999999999999-0.6399999999999999 1.2799999999999998-0.6399999999999999 3.1999999999999997-1.92 5.76-3.84 8.32-6.3999999999999995 0 0 0 0 0.6399999999999999 0 0.6399999999999999-1.2799999999999998 1.2799999999999998-2.5599999999999996 1.92-3.84 1.2799999999999998-1.92 2.5599999999999996-3.84 3.1999999999999997-6.3999999999999995 0.6399999999999999-1.92 0.6399999999999999-4.4799999999999995 1.2799999999999998-7.04 0-1.92 0.6399999999999999-3.1999999999999997 0.6399999999999999-4.4799999999999995-0.6399999999999999-0.6399999999999999-0.6399999999999999-1.2799999999999998-0.6399999999999999-1.2799999999999998z"}}]}'),i=function(e,n){var i=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(i,{data:r,name:"upShape"}),null)};i.displayName="upShape",i.inheritAttrs=!1,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,15 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue)}(this,(function(e,t){"use strict";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function n(e,a,r){return t.h(e.name,Object.assign(Object.assign({key:a},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(t,r){return n(t,"".concat(a,"-").concat(e.name,"-").concat(r))})))}var a=function(e,a){var r=Object.assign(Object.assign({},a.attrs),e),i=r.data,o=r.name,s=r.width,c=r.height,l=r.fill,u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(r,["data","name","width","height","fill"]),f="width: ".concat(s,"; height: ").concat(c,"; fill: ").concat(l);return t.createVNode("span",u,[n(i,o,f)])};a.inheritAttrs=!1,a.displayName="bkIcon";var r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM544 704h-64v-64h64V704zM544 576h-64V320h64V576z"}}]}'),i=function(e,n){var i=Object.assign(Object.assign({},e),n.attrs);return t.createVNode(a,t.mergeProps(i,{data:r,name:"warn"}),null)};i.displayName="warn",i.inheritAttrs=!1,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -19,46 +19,66 @@ declare const BkInput: {
19
19
  showWordLimit: boolean;
20
20
  showControl: boolean;
21
21
  precision: number;
22
- }> & Omit<Readonly<{
23
- type?: unknown;
24
- clearable?: unknown;
25
- disabled?: unknown;
26
- readonly?: unknown;
27
- placeholder?: unknown;
28
- prefixIcon?: unknown;
29
- suffixIcon?: unknown;
30
- suffix?: unknown;
31
- prefix?: unknown;
32
- step?: unknown;
33
- max?: unknown;
34
- min?: unknown;
35
- maxlength?: unknown;
36
- showWordLimit?: unknown;
37
- showControl?: unknown;
38
- precision?: unknown;
39
- modelValue?: unknown;
40
- size?: unknown;
41
- } & {
42
- prefix: string;
43
- placeholder: string;
44
- step: number;
45
- disabled: boolean;
46
- type: string;
47
- readonly: boolean;
48
- clearable: boolean;
49
- max: number;
50
- min: number;
51
- maxlength: number;
52
- prefixIcon: string;
53
- suffixIcon: string;
54
- suffix: string;
55
- showWordLimit: boolean;
56
- showControl: boolean;
57
- precision: number;
58
- } & {
59
- size?: string;
60
- modelValue?: string | number;
61
- }> & {
22
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
23
+ type: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ } & {
26
+ default: string;
27
+ };
28
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
29
+ default: boolean;
30
+ };
31
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
32
+ default: boolean;
33
+ };
34
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
35
+ default: boolean;
36
+ };
37
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
38
+ default: string;
39
+ };
40
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
41
+ default: string;
42
+ };
43
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
44
+ default: string;
45
+ };
46
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
47
+ default: string;
48
+ };
49
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
50
+ default: string;
51
+ };
52
+ step: import("vue-types").VueTypeDef<number> & {
53
+ default: number;
54
+ };
55
+ max: import("vue-types").VueTypeDef<number> & {
56
+ default: number;
57
+ };
58
+ min: import("vue-types").VueTypeDef<number> & {
59
+ default: number;
60
+ };
61
+ maxlength: import("vue-types").VueTypeDef<number> & {
62
+ default: number;
63
+ };
64
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
65
+ default: boolean;
66
+ };
67
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
68
+ default: boolean;
69
+ } & {
70
+ default: boolean;
71
+ };
72
+ precision: import("vue-types").VueTypeValidableDef<number> & {
73
+ default: number;
74
+ } & {
75
+ default: number;
76
+ } & {
77
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
78
+ };
79
+ modelValue: import("vue-types").VueTypeDef<string | number>;
80
+ size: import("vue-types").VueTypeDef<string>;
81
+ }>> & {
62
82
  onFocus?: (...args: any[]) => any;
63
83
  onBlur?: (...args: any[]) => any;
64
84
  onChange?: (...args: any[]) => any;
@@ -80,46 +100,66 @@ declare const BkInput: {
80
100
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
81
101
  $emit: (event: "input" | "focus" | "blur" | "change" | "keydown" | "clear" | "update:modelValue", ...args: any[]) => void;
82
102
  $el: any;
83
- $options: import("vue").ComponentOptionsBase<Readonly<{
84
- type?: unknown;
85
- clearable?: unknown;
86
- disabled?: unknown;
87
- readonly?: unknown;
88
- placeholder?: unknown;
89
- prefixIcon?: unknown;
90
- suffixIcon?: unknown;
91
- suffix?: unknown;
92
- prefix?: unknown;
93
- step?: unknown;
94
- max?: unknown;
95
- min?: unknown;
96
- maxlength?: unknown;
97
- showWordLimit?: unknown;
98
- showControl?: unknown;
99
- precision?: unknown;
100
- modelValue?: unknown;
101
- size?: unknown;
102
- } & {
103
- prefix: string;
104
- placeholder: string;
105
- step: number;
106
- disabled: boolean;
107
- type: string;
108
- readonly: boolean;
109
- clearable: boolean;
110
- max: number;
111
- min: number;
112
- maxlength: number;
113
- prefixIcon: string;
114
- suffixIcon: string;
115
- suffix: string;
116
- showWordLimit: boolean;
117
- showControl: boolean;
118
- precision: number;
119
- } & {
120
- size?: string;
121
- modelValue?: string | number;
122
- }> & {
103
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
104
+ type: import("vue-types").VueTypeValidableDef<string> & {
105
+ default: string;
106
+ } & {
107
+ default: string;
108
+ };
109
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
110
+ default: boolean;
111
+ };
112
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
113
+ default: boolean;
114
+ };
115
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
116
+ default: boolean;
117
+ };
118
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
119
+ default: string;
120
+ };
121
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
122
+ default: string;
123
+ };
124
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
125
+ default: string;
126
+ };
127
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
128
+ default: string;
129
+ };
130
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
131
+ default: string;
132
+ };
133
+ step: import("vue-types").VueTypeDef<number> & {
134
+ default: number;
135
+ };
136
+ max: import("vue-types").VueTypeDef<number> & {
137
+ default: number;
138
+ };
139
+ min: import("vue-types").VueTypeDef<number> & {
140
+ default: number;
141
+ };
142
+ maxlength: import("vue-types").VueTypeDef<number> & {
143
+ default: number;
144
+ };
145
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
146
+ default: boolean;
147
+ };
148
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
149
+ default: boolean;
150
+ } & {
151
+ default: boolean;
152
+ };
153
+ precision: import("vue-types").VueTypeValidableDef<number> & {
154
+ default: number;
155
+ } & {
156
+ default: number;
157
+ } & {
158
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
159
+ };
160
+ modelValue: import("vue-types").VueTypeDef<string | number>;
161
+ size: import("vue-types").VueTypeDef<string>;
162
+ }>> & {
123
163
  onFocus?: (...args: any[]) => any;
124
164
  onBlur?: (...args: any[]) => any;
125
165
  onChange?: (...args: any[]) => any;
@@ -164,46 +204,66 @@ declare const BkInput: {
164
204
  $forceUpdate: () => void;
165
205
  $nextTick: typeof import("vue").nextTick;
166
206
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
167
- } & Readonly<{
168
- type?: unknown;
169
- clearable?: unknown;
170
- disabled?: unknown;
171
- readonly?: unknown;
172
- placeholder?: unknown;
173
- prefixIcon?: unknown;
174
- suffixIcon?: unknown;
175
- suffix?: unknown;
176
- prefix?: unknown;
177
- step?: unknown;
178
- max?: unknown;
179
- min?: unknown;
180
- maxlength?: unknown;
181
- showWordLimit?: unknown;
182
- showControl?: unknown;
183
- precision?: unknown;
184
- modelValue?: unknown;
185
- size?: unknown;
186
- } & {
187
- prefix: string;
188
- placeholder: string;
189
- step: number;
190
- disabled: boolean;
191
- type: string;
192
- readonly: boolean;
193
- clearable: boolean;
194
- max: number;
195
- min: number;
196
- maxlength: number;
197
- prefixIcon: string;
198
- suffixIcon: string;
199
- suffix: string;
200
- showWordLimit: boolean;
201
- showControl: boolean;
202
- precision: number;
203
- } & {
204
- size?: string;
205
- modelValue?: string | number;
206
- }> & {
207
+ } & Readonly<import("vue").ExtractPropTypes<{
208
+ type: import("vue-types").VueTypeValidableDef<string> & {
209
+ default: string;
210
+ } & {
211
+ default: string;
212
+ };
213
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
214
+ default: boolean;
215
+ };
216
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
217
+ default: boolean;
218
+ };
219
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
220
+ default: boolean;
221
+ };
222
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
223
+ default: string;
224
+ };
225
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
226
+ default: string;
227
+ };
228
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
229
+ default: string;
230
+ };
231
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
232
+ default: string;
233
+ };
234
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
235
+ default: string;
236
+ };
237
+ step: import("vue-types").VueTypeDef<number> & {
238
+ default: number;
239
+ };
240
+ max: import("vue-types").VueTypeDef<number> & {
241
+ default: number;
242
+ };
243
+ min: import("vue-types").VueTypeDef<number> & {
244
+ default: number;
245
+ };
246
+ maxlength: import("vue-types").VueTypeDef<number> & {
247
+ default: number;
248
+ };
249
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
250
+ default: boolean;
251
+ };
252
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
253
+ default: boolean;
254
+ } & {
255
+ default: boolean;
256
+ };
257
+ precision: import("vue-types").VueTypeValidableDef<number> & {
258
+ default: number;
259
+ } & {
260
+ default: number;
261
+ } & {
262
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
263
+ };
264
+ modelValue: import("vue-types").VueTypeDef<string | number>;
265
+ size: import("vue-types").VueTypeDef<string>;
266
+ }>> & {
207
267
  onFocus?: (...args: any[]) => any;
208
268
  onBlur?: (...args: any[]) => any;
209
269
  onChange?: (...args: any[]) => any;
@@ -215,46 +275,66 @@ declare const BkInput: {
215
275
  __isFragment?: never;
216
276
  __isTeleport?: never;
217
277
  __isSuspense?: never;
218
- } & import("vue").ComponentOptionsBase<Readonly<{
219
- type?: unknown;
220
- clearable?: unknown;
221
- disabled?: unknown;
222
- readonly?: unknown;
223
- placeholder?: unknown;
224
- prefixIcon?: unknown;
225
- suffixIcon?: unknown;
226
- suffix?: unknown;
227
- prefix?: unknown;
228
- step?: unknown;
229
- max?: unknown;
230
- min?: unknown;
231
- maxlength?: unknown;
232
- showWordLimit?: unknown;
233
- showControl?: unknown;
234
- precision?: unknown;
235
- modelValue?: unknown;
236
- size?: unknown;
237
- } & {
238
- prefix: string;
239
- placeholder: string;
240
- step: number;
241
- disabled: boolean;
242
- type: string;
243
- readonly: boolean;
244
- clearable: boolean;
245
- max: number;
246
- min: number;
247
- maxlength: number;
248
- prefixIcon: string;
249
- suffixIcon: string;
250
- suffix: string;
251
- showWordLimit: boolean;
252
- showControl: boolean;
253
- precision: number;
254
- } & {
255
- size?: string;
256
- modelValue?: string | number;
257
- }> & {
278
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
279
+ type: import("vue-types").VueTypeValidableDef<string> & {
280
+ default: string;
281
+ } & {
282
+ default: string;
283
+ };
284
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
285
+ default: boolean;
286
+ };
287
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
288
+ default: boolean;
289
+ };
290
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
291
+ default: boolean;
292
+ };
293
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
294
+ default: string;
295
+ };
296
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
297
+ default: string;
298
+ };
299
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
300
+ default: string;
301
+ };
302
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
303
+ default: string;
304
+ };
305
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
306
+ default: string;
307
+ };
308
+ step: import("vue-types").VueTypeDef<number> & {
309
+ default: number;
310
+ };
311
+ max: import("vue-types").VueTypeDef<number> & {
312
+ default: number;
313
+ };
314
+ min: import("vue-types").VueTypeDef<number> & {
315
+ default: number;
316
+ };
317
+ maxlength: import("vue-types").VueTypeDef<number> & {
318
+ default: number;
319
+ };
320
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
321
+ default: boolean;
322
+ };
323
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
324
+ default: boolean;
325
+ } & {
326
+ default: boolean;
327
+ };
328
+ precision: import("vue-types").VueTypeValidableDef<number> & {
329
+ default: number;
330
+ } & {
331
+ default: number;
332
+ } & {
333
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
334
+ };
335
+ modelValue: import("vue-types").VueTypeDef<string | number>;
336
+ size: import("vue-types").VueTypeDef<string>;
337
+ }>> & {
258
338
  onFocus?: (...args: any[]) => any;
259
339
  onBlur?: (...args: any[]) => any;
260
340
  onChange?: (...args: any[]) => any;
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared"),require("@bkui-vue/icon")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","@bkui-vue/icon"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e["@bkui-vue/icon/icons"])}(this,(function(e,t,o,n){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}};!function(e){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var a=r(l.exports);
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared"),require("../icon")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","../icon"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e["@bkui-vue/icon/icons"])}(this,(function(e,t,o,n){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}};!function(e){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var a=r(l.exports);
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -12,4 +12,4 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var i={type:o.PropTypes.string.def("text"),clearable:o.PropTypes.bool,disabled:o.PropTypes.bool,readonly:o.PropTypes.bool,placeholder:o.PropTypes.string,prefixIcon:o.PropTypes.string,suffixIcon:o.PropTypes.string,suffix:o.PropTypes.string,prefix:o.PropTypes.string,step:o.PropTypes.integer,max:o.PropTypes.integer,min:o.PropTypes.integer,maxlength:o.PropTypes.integer,showWordLimit:o.PropTypes.bool,showControl:o.PropTypes.bool.def(!0),precision:o.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]),size:o.PropTypes.size()},u=t.defineComponent({name:"Input",inheritAttrs:!1,props:i,emits:["update:modelValue","focus","blur","change","clear","input","keydown"],setup:function(e,r){var l=t.ref(!1),i="bk-input",u=r.attrs,s=u.class,p=u.style,c=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}(u,["class","style"]),d=t.computed((function(){var t;return o.classes((a(t={},"".concat(i,"--").concat(e.size),!!e.size),a(t,"is-focused",l.value),a(t,"is-readonly",e.readonly),a(t,"is-disabled",e.disabled),a(t,"".concat(s),!!s),t),i)})),f={search:function(){return t.createVNode(n.Search,null,null)},password:function(){return t.createVNode(n.Eye,{onClick:C},null)}},m=I("suffix-icon"),y=t.computed((function(){var o=f[e.type];return x.value?t.createVNode(n.Unvisible,{onClick:C,class:m},null):o?t.createVNode(o,{class:m},null):null})),v=t.computed((function(){return"number"===e.type})),b=t.computed((function(){return Math.floor(e.maxlength)})),x=t.ref(!1);function g(){r.emit("update:modelValue",""),r.emit("change",""),r.emit("clear")}function h(e){l.value=!0,r.emit("focus",e)}function V(e){l.value=!1,r.emit("blur",e)}function P(e){r.emit("update:modelValue",v.value?+e.target.value:e.target.value),r.emit("input",e.target.value)}function T(e){r.emit("keydown",e.target.value,e)}function N(e){r.emit("change",e.target.value,e)}function w(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Number.isInteger(e.precision)?e.precision:0,r=parseFloat(e.modelValue.toString()),l=Number.isInteger(t)?t:1,a=r+(o?l:-1*l);return Number.isInteger(e.max)&&(a=Math.min(a,e.max)),Number.isInteger(e.min)&&(a=Math.max(a,e.min)),+a.toFixed(n)}function O(){var t=w(parseInt(String(e.step),10));r.emit("update:modelValue",t)}function k(){var t=w(parseInt(String(e.step),10),!1);r.emit("update:modelValue",t)}function I(e){return"".concat(i,"--").concat(e)}function C(){x.value=!x.value}return function(){var o,l,a,u,s,f;return t.createVNode("div",{class:d.value,style:p},[null!==(a=null===(l=null===(o=r.slots)||void 0===o?void 0:o.prefix)||void 0===l?void 0:l.call(o))&&void 0!==a?a:e.prefix&&t.createVNode("div",{class:I("prefix-area")},[t.createVNode("span",{class:I("prefix-area--text")},[e.prefix])]),t.createVNode("input",t.mergeProps(c,{class:"".concat(i,"--text"),value:e.modelValue,type:x.value&&"password"===e.type?"text":e.type,maxlength:e.maxlength,step:e.step,max:e.max,min:e.min,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,onInput:P,onFocus:h,onBlur:V,onChange:N,onKeydown:T}),null),e.clearable&&!!e.modelValue&&t.createVNode(n.Close,{onClick:g,class:m},null),y.value,"number"==typeof e.maxlength&&e.showWordLimit&&t.createVNode("p",{class:I("max-length")},[e.modelValue.toString().length,t.createTextVNode("/"),t.createVNode("span",null,[b.value])]),v.value&&e.showControl&&t.createVNode("div",{class:I("number-control")},[t.createVNode(n.DownSmall,{onClick:O},null),t.createVNode(n.DownSmall,{onClick:k},null)]),null!==(f=null===(s=null===(u=r.slots)||void 0===u?void 0:u.suffix)||void 0===s?void 0:s.call(u))&&void 0!==f?f:e.suffix&&t.createVNode("div",{class:I("suffix-area")},[t.createVNode("span",{class:I("suffix-area--text")},[e.suffix])])])}}}),s=o.withInstall(u);e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */var i={type:o.PropTypes.string.def("text"),clearable:o.PropTypes.bool,disabled:o.PropTypes.bool,readonly:o.PropTypes.bool,placeholder:o.PropTypes.string,prefixIcon:o.PropTypes.string,suffixIcon:o.PropTypes.string,suffix:o.PropTypes.string,prefix:o.PropTypes.string,step:o.PropTypes.integer,max:o.PropTypes.integer,min:o.PropTypes.integer,maxlength:o.PropTypes.integer,showWordLimit:o.PropTypes.bool,showControl:o.PropTypes.bool.def(!0),precision:o.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]),size:o.PropTypes.size()},u=t.defineComponent({name:"Input",inheritAttrs:!1,props:i,emits:["update:modelValue","focus","blur","change","clear","input","keydown"],setup:function(e,r){var l=t.ref(!1),i="bk-input",u=r.attrs,s=u.class,p=u.style,c=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}(u,["class","style"]),d=t.computed((function(){var t;return o.classes((a(t={},"".concat(i,"--").concat(e.size),!!e.size),a(t,"is-focused",l.value),a(t,"is-readonly",e.readonly),a(t,"is-disabled",e.disabled),a(t,"".concat(s),!!s),t),i)})),f={search:function(){return t.createVNode(n.Search,null,null)},password:function(){return t.createVNode(n.Eye,{onClick:C},null)}},m=k("suffix-icon"),y=t.computed((function(){var o=f[e.type];return b.value?t.createVNode(n.Unvisible,{onClick:C,class:m},null):o?t.createVNode(o,{class:m},null):null})),v=t.computed((function(){return"number"===e.type})),x=t.computed((function(){return Math.floor(e.maxlength)})),b=t.ref(!1);function g(){r.emit("update:modelValue",""),r.emit("change",""),r.emit("clear")}function h(e){l.value=!0,r.emit("focus",e)}function V(e){l.value=!1,r.emit("blur",e)}function P(e){r.emit("update:modelValue",v.value?+e.target.value:e.target.value),r.emit("input",e.target.value)}function T(e){r.emit("keydown",e.target.value,e)}function N(e){r.emit("change",e.target.value,e)}function w(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Number.isInteger(e.precision)?e.precision:0,r=parseFloat(e.modelValue.toString()),l=Number.isInteger(t)?t:1,a=r+(o?l:-1*l);return Number.isInteger(e.max)&&(a=Math.min(a,e.max)),Number.isInteger(e.min)&&(a=Math.max(a,e.min)),+a.toFixed(n)}function O(){var t=w(parseInt(String(e.step),10));r.emit("update:modelValue",t)}function I(){var t=w(parseInt(String(e.step),10),!1);r.emit("update:modelValue",t)}function k(e){return"".concat(i,"--").concat(e)}function C(){b.value=!b.value}return function(){var o,l,a,u,s,f;return t.createVNode("div",{class:d.value,style:p},[null!==(a=null===(l=null===(o=r.slots)||void 0===o?void 0:o.prefix)||void 0===l?void 0:l.call(o))&&void 0!==a?a:e.prefix&&t.createVNode("div",{class:k("prefix-area")},[t.createVNode("span",{class:k("prefix-area--text")},[e.prefix])]),t.createVNode("input",t.mergeProps(c,{class:"".concat(i,"--text"),value:e.modelValue,type:b.value&&"password"===e.type?"text":e.type,maxlength:e.maxlength,step:e.step,max:e.max,min:e.min,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,onInput:P,onFocus:h,onBlur:V,onChange:N,onKeydown:T}),null),e.clearable&&!!e.modelValue&&t.createVNode(n.Close,{onClick:g,class:m},null),y.value,"number"==typeof e.maxlength&&e.showWordLimit&&t.createVNode("p",{class:k("max-length")},[e.modelValue.toString().length,t.createTextVNode("/"),t.createVNode("span",null,[x.value])]),v.value&&e.showControl&&t.createVNode("div",{class:k("number-control")},[t.createVNode(n.DownSmall,{onClick:O},null),t.createVNode(n.DownSmall,{onClick:I},null)]),null!==(f=null===(s=null===(u=r.slots)||void 0===u?void 0:u.suffix)||void 0===s?void 0:s.call(u))&&void 0!==f?f:e.suffix&&t.createVNode("div",{class:k("suffix-area")},[t.createVNode("span",{class:k("suffix-area--text")},[e.suffix])])])}}}),s=o.withInstall(u);e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}));