bkui-vue 0.0.1-beta.390 → 0.0.1-beta.392

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 (210) hide show
  1. package/dist/index.cjs.js +22 -22
  2. package/dist/index.esm.js +0 -1
  3. package/dist/index.umd.js +23 -23
  4. package/lib/affix/index.js +128 -60
  5. package/lib/alert/index.js +124 -56
  6. package/lib/animate-number/index.js +106 -42
  7. package/lib/backtop/index.js +133 -61
  8. package/lib/badge/badge.d.ts +1 -1
  9. package/lib/badge/index.d.ts +4 -4
  10. package/lib/badge/index.js +114 -50
  11. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  12. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  13. package/lib/breadcrumb/index.d.ts +5 -5
  14. package/lib/breadcrumb/index.js +133 -67
  15. package/lib/button/index.js +147 -68
  16. package/lib/card/index.js +154 -69
  17. package/lib/cascader/cascader.d.ts +3 -3
  18. package/lib/cascader/index.d.ts +10 -10
  19. package/lib/cascader/index.js +242 -168
  20. package/lib/checkbox/index.js +139 -77
  21. package/lib/code-diff/index.js +121 -79
  22. package/lib/collapse/index.js +150 -84
  23. package/lib/color-picker/color-picker.d.ts +1 -1
  24. package/lib/color-picker/index.d.ts +4 -4
  25. package/lib/color-picker/index.js +245 -193
  26. package/lib/components.js +671 -434
  27. package/lib/container/container.d.ts +1 -1
  28. package/lib/container/index.d.ts +4 -4
  29. package/lib/container/index.js +125 -64
  30. package/lib/date-picker/date-picker.d.ts +2 -2
  31. package/lib/date-picker/index.d.ts +7 -7
  32. package/lib/date-picker/index.js +563 -462
  33. package/lib/date-picker/panel/time-range.d.ts +3 -3
  34. package/lib/date-picker/panel/time.d.ts +3 -3
  35. package/lib/date-picker/time-picker.d.ts +3 -3
  36. package/lib/dialog/dialog.d.ts +2 -2
  37. package/lib/dialog/index.d.ts +7 -7
  38. package/lib/dialog/index.js +198 -108
  39. package/lib/directives/index.d.ts +1 -0
  40. package/lib/directives/index.js +139 -86
  41. package/lib/dist.index.js +133 -48
  42. package/lib/divider/index.js +118 -50
  43. package/lib/dropdown/dropdown.d.ts +2 -2
  44. package/lib/dropdown/index.d.ts +7 -7
  45. package/lib/dropdown/index.js +155 -73
  46. package/lib/exception/index.js +145 -97
  47. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  48. package/lib/fixed-navbar/index.d.ts +4 -4
  49. package/lib/fixed-navbar/index.js +107 -43
  50. package/lib/form/form-item.d.ts +1 -1
  51. package/lib/form/index.d.ts +1 -1
  52. package/lib/form/index.js +193 -107
  53. package/lib/icon/angle-double-down-line.js +90 -30
  54. package/lib/icon/angle-double-left-line.js +90 -30
  55. package/lib/icon/angle-double-left.js +90 -30
  56. package/lib/icon/angle-double-right-line.js +90 -30
  57. package/lib/icon/angle-double-right.js +90 -30
  58. package/lib/icon/angle-double-up-line.js +90 -30
  59. package/lib/icon/angle-down-fill.js +90 -30
  60. package/lib/icon/angle-down-line.js +90 -30
  61. package/lib/icon/angle-down.js +90 -30
  62. package/lib/icon/angle-left.js +90 -30
  63. package/lib/icon/angle-right.js +90 -30
  64. package/lib/icon/angle-up-fill.js +90 -30
  65. package/lib/icon/angle-up.js +90 -30
  66. package/lib/icon/archive-fill.js +90 -30
  67. package/lib/icon/arrows-left.js +90 -30
  68. package/lib/icon/arrows-right.js +90 -30
  69. package/lib/icon/audio-fill.js +90 -30
  70. package/lib/icon/bk.js +90 -30
  71. package/lib/icon/circle.js +90 -30
  72. package/lib/icon/close-line.js +90 -30
  73. package/lib/icon/close.js +90 -30
  74. package/lib/icon/code.js +90 -30
  75. package/lib/icon/cog-shape.js +90 -30
  76. package/lib/icon/collapse-left.js +90 -30
  77. package/lib/icon/copy.js +90 -30
  78. package/lib/icon/data-shape.js +90 -30
  79. package/lib/icon/del.js +90 -30
  80. package/lib/icon/doc-fill.js +90 -30
  81. package/lib/icon/done.js +90 -30
  82. package/lib/icon/down-shape.js +90 -30
  83. package/lib/icon/down-small.js +90 -30
  84. package/lib/icon/edit-line.js +90 -30
  85. package/lib/icon/ellipsis.js +90 -30
  86. package/lib/icon/enlarge-line.js +90 -30
  87. package/lib/icon/error.js +90 -30
  88. package/lib/icon/excel-fill.js +90 -30
  89. package/lib/icon/exclamation-circle-shape.js +90 -30
  90. package/lib/icon/eye.js +90 -30
  91. package/lib/icon/filliscreen-line.js +90 -30
  92. package/lib/icon/folder-open.js +90 -30
  93. package/lib/icon/folder-shape-open.js +90 -30
  94. package/lib/icon/folder-shape.js +90 -30
  95. package/lib/icon/folder.js +90 -30
  96. package/lib/icon/funnel.js +90 -30
  97. package/lib/icon/help-document-fill.js +90 -30
  98. package/lib/icon/help-fill.js +90 -30
  99. package/lib/icon/help.js +90 -30
  100. package/lib/icon/image-fill.js +90 -30
  101. package/lib/icon/img-placehoulder.js +88 -52
  102. package/lib/icon/index.js +255 -267
  103. package/lib/icon/info-line.js +88 -52
  104. package/lib/icon/info.js +88 -52
  105. package/lib/icon/left-shape.js +88 -52
  106. package/lib/icon/left-turn-line.js +88 -52
  107. package/lib/icon/narrow-line.js +88 -52
  108. package/lib/icon/original.js +88 -52
  109. package/lib/icon/pdf-fill.js +88 -52
  110. package/lib/icon/play-shape.js +88 -52
  111. package/lib/icon/plus.js +88 -52
  112. package/lib/icon/ppt-fill.js +88 -52
  113. package/lib/icon/qq.js +88 -52
  114. package/lib/icon/right-shape.js +88 -52
  115. package/lib/icon/right-turn-line.js +88 -52
  116. package/lib/icon/search.js +88 -52
  117. package/lib/icon/share.js +88 -52
  118. package/lib/icon/spinner.js +88 -52
  119. package/lib/icon/success.js +88 -52
  120. package/lib/icon/switcher-loading.js +88 -52
  121. package/lib/icon/text-file.js +88 -52
  122. package/lib/icon/text-fill.js +88 -52
  123. package/lib/icon/transfer.js +88 -52
  124. package/lib/icon/tree-application-shape.js +88 -52
  125. package/lib/icon/unfull-screen.js +88 -52
  126. package/lib/icon/unvisible.js +88 -52
  127. package/lib/icon/up-shape.js +88 -52
  128. package/lib/icon/upload.js +88 -52
  129. package/lib/icon/video-fill.js +88 -52
  130. package/lib/icon/warn.js +88 -52
  131. package/lib/icon/weixin.js +88 -52
  132. package/lib/image/index.js +213 -164
  133. package/lib/index.js +134 -50
  134. package/lib/info-box/index.js +206 -152
  135. package/lib/input/index.d.ts +4 -4
  136. package/lib/input/index.js +167 -99
  137. package/lib/input/input.d.ts +1 -1
  138. package/lib/link/index.d.ts +4 -4
  139. package/lib/link/index.js +115 -47
  140. package/lib/link/link.d.ts +1 -1
  141. package/lib/loading/index.d.ts +4 -4
  142. package/lib/loading/index.js +127 -67
  143. package/lib/loading/loading.d.ts +1 -1
  144. package/lib/menu/index.js +156 -92
  145. package/lib/message/index.js +148 -76
  146. package/lib/modal/index.d.ts +4 -4
  147. package/lib/modal/index.js +151 -85
  148. package/lib/modal/modal.d.ts +1 -1
  149. package/lib/navigation/index.js +134 -66
  150. package/lib/notify/index.js +153 -81
  151. package/lib/notify/notifyConstructor.d.ts +1 -1
  152. package/lib/overflow-title/index.js +128 -92
  153. package/lib/pagination/index.d.ts +4 -4
  154. package/lib/pagination/index.js +220 -131
  155. package/lib/pagination/pagination.d.ts +1 -1
  156. package/lib/plugin-popover/index.js +190 -143
  157. package/lib/plugins/index.js +100 -33
  158. package/lib/popover/index.d.ts +10 -10
  159. package/lib/popover/index.js +193 -148
  160. package/lib/popover/popover.d.ts +3 -3
  161. package/lib/popover2/index.js +99 -35
  162. package/lib/preset.js +104 -37
  163. package/lib/process/index.d.ts +4 -4
  164. package/lib/process/index.js +134 -92
  165. package/lib/process/process.d.ts +1 -1
  166. package/lib/progress/index.d.ts +7 -7
  167. package/lib/progress/index.js +127 -63
  168. package/lib/progress/progress.d.ts +2 -2
  169. package/lib/radio/index.js +142 -81
  170. package/lib/rate/index.js +127 -63
  171. package/lib/resize-layout/index.js +147 -79
  172. package/lib/search-select/index.js +220 -168
  173. package/lib/select/index.d.ts +10 -10
  174. package/lib/select/index.js +394 -315
  175. package/lib/select/select.d.ts +3 -3
  176. package/lib/shared/index.js +203 -228
  177. package/lib/sideslider/index.d.ts +4 -4
  178. package/lib/sideslider/index.js +137 -88
  179. package/lib/sideslider/sideslider.d.ts +1 -1
  180. package/lib/slider/index.d.ts +7 -7
  181. package/lib/slider/index.js +196 -147
  182. package/lib/slider/slider.d.ts +2 -2
  183. package/lib/steps/index.js +152 -105
  184. package/lib/swiper/index.js +126 -62
  185. package/lib/switcher/index.d.ts +4 -4
  186. package/lib/switcher/index.js +133 -65
  187. package/lib/switcher/switcher.d.ts +1 -1
  188. package/lib/tab/index.d.ts +4 -4
  189. package/lib/tab/index.js +188 -118
  190. package/lib/tab/tab.d.ts +1 -1
  191. package/lib/table/index.js +572 -457
  192. package/lib/table-column/index.js +197 -129
  193. package/lib/tag/index.js +130 -58
  194. package/lib/tag-input/index.d.ts +7 -7
  195. package/lib/tag-input/index.js +277 -175
  196. package/lib/tag-input/tag-input.d.ts +2 -2
  197. package/lib/time-picker/index.d.ts +10 -10
  198. package/lib/time-picker/index.js +111 -40
  199. package/lib/timeline/index.d.ts +4 -4
  200. package/lib/timeline/index.js +114 -50
  201. package/lib/timeline/timeline.d.ts +1 -1
  202. package/lib/transfer/index.js +174 -89
  203. package/lib/tree/index.js +235 -158
  204. package/lib/upload/index.d.ts +7 -7
  205. package/lib/upload/index.js +227 -173
  206. package/lib/upload/upload-list.d.ts +1 -1
  207. package/lib/upload/upload-trigger.d.ts +1 -1
  208. package/lib/upload/upload.d.ts +2 -2
  209. package/lib/virtual-render/index.js +154 -86
  210. package/package.json +1 -1
@@ -1,39 +1,107 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
- import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
4
- /******/ // The require scope
5
- /******/ var __webpack_require__ = {};
6
- /******/
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("../icon"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "../icon"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../icon")) : factory(root["../shared"], root["vue"], root["../icon"]);
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__6870__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 6870:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 4212:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
26
+
27
+ /***/ }),
28
+
29
+ /***/ 748:
30
+ /***/ ((module) => {
31
+
32
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
33
+
34
+ /***/ })
35
+
36
+ /******/ });
7
37
  /************************************************************************/
8
- /******/ /* webpack/runtime/define property getters */
9
- /******/ (() => {
10
- /******/ // define getter functions for harmony exports
11
- /******/ __webpack_require__.d = (exports, definition) => {
12
- /******/ for(var key in definition) {
13
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
14
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
15
- /******/ }
38
+ /******/ // The module cache
39
+ /******/ var __webpack_module_cache__ = {};
40
+ /******/
41
+ /******/ // The require function
42
+ /******/ function __webpack_require__(moduleId) {
43
+ /******/ // Check if module is in cache
44
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
45
+ /******/ if (cachedModule !== undefined) {
46
+ /******/ return cachedModule.exports;
16
47
  /******/ }
17
- /******/ };
18
- /******/ })();
19
- /******/
20
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
21
- /******/ (() => {
22
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
23
- /******/ })();
24
- /******/
48
+ /******/ // Create a new module (and put it into the cache)
49
+ /******/ var module = __webpack_module_cache__[moduleId] = {
50
+ /******/ // no module.id needed
51
+ /******/ // no module.loaded needed
52
+ /******/ exports: {}
53
+ /******/ };
54
+ /******/
55
+ /******/ // Execute the module function
56
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
57
+ /******/
58
+ /******/ // Return the exports of the module
59
+ /******/ return module.exports;
60
+ /******/ }
61
+ /******/
62
+ /************************************************************************/
63
+ /******/ /* webpack/runtime/define property getters */
64
+ /******/ (() => {
65
+ /******/ // define getter functions for harmony exports
66
+ /******/ __webpack_require__.d = (exports, definition) => {
67
+ /******/ for(var key in definition) {
68
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
69
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
70
+ /******/ }
71
+ /******/ }
72
+ /******/ };
73
+ /******/ })();
74
+ /******/
75
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
76
+ /******/ (() => {
77
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
78
+ /******/ })();
79
+ /******/
80
+ /******/ /* webpack/runtime/make namespace object */
81
+ /******/ (() => {
82
+ /******/ // define __esModule on exports
83
+ /******/ __webpack_require__.r = (exports) => {
84
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
85
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
86
+ /******/ }
87
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
88
+ /******/ };
89
+ /******/ })();
90
+ /******/
25
91
  /************************************************************************/
26
92
  var __webpack_exports__ = {};
93
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
94
+ (() => {
95
+ // ESM COMPAT FLAG
96
+ __webpack_require__.r(__webpack_exports__);
27
97
 
28
98
  // EXPORTS
29
99
  __webpack_require__.d(__webpack_exports__, {
30
- "Z": () => (/* binding */ src)
100
+ "default": () => (/* binding */ src)
31
101
  });
32
102
 
33
- ;// CONCATENATED MODULE: external "../shared"
34
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
35
- var y = x => () => x
36
- const external_shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
103
+ // EXTERNAL MODULE: external "../shared"
104
+ var external_shared_ = __webpack_require__(4212);
37
105
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
38
106
  function _arrayWithHoles(arr) {
39
107
  if (Array.isArray(arr)) return arr;
@@ -115,10 +183,8 @@ function _defineProperty(obj, key, value) {
115
183
 
116
184
  return obj;
117
185
  }
118
- ;// CONCATENATED MODULE: external "vue"
119
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
120
- var external_vue_y = x => () => x
121
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
186
+ // EXTERNAL MODULE: external "vue"
187
+ var external_vue_ = __webpack_require__(748);
122
188
  ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.js
123
189
  /******************************************************************************
124
190
  Copyright (c) Microsoft Corporation.
@@ -369,10 +435,8 @@ function __classPrivateFieldIn(state, receiver) {
369
435
  return typeof state === "function" ? receiver === state : state.has(receiver);
370
436
  }
371
437
 
372
- ;// CONCATENATED MODULE: external "../icon"
373
- var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
374
- var external_icon_y = x => () => x
375
- const external_icon_namespaceObject = external_icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Close, ["DownSmall"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.DownSmall, ["Eye"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Eye, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Search, ["Unvisible"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Unvisible });
438
+ // EXTERNAL MODULE: external "../icon"
439
+ var external_icon_ = __webpack_require__(6870);
376
440
  ;// CONCATENATED MODULE: ../../packages/input/src/input.tsx
377
441
 
378
442
 
@@ -411,31 +475,31 @@ var _inputEmitEventsType;
411
475
 
412
476
 
413
477
  var inputType = {
414
- type: external_shared_namespaceObject.PropTypes.string.def('text'),
415
- clearable: external_shared_namespaceObject.PropTypes.bool,
416
- disabled: external_shared_namespaceObject.PropTypes.bool,
417
- readonly: external_shared_namespaceObject.PropTypes.bool,
418
- placeholder: external_shared_namespaceObject.PropTypes.string.def('Enter'),
419
- prefixIcon: external_shared_namespaceObject.PropTypes.string,
420
- suffixIcon: external_shared_namespaceObject.PropTypes.string,
421
- suffix: external_shared_namespaceObject.PropTypes.string,
422
- prefix: external_shared_namespaceObject.PropTypes.string,
423
- step: external_shared_namespaceObject.PropTypes.integer,
424
- max: external_shared_namespaceObject.PropTypes.integer,
425
- min: external_shared_namespaceObject.PropTypes.integer,
426
- maxlength: external_shared_namespaceObject.PropTypes.integer,
427
- behavior: (0,external_shared_namespaceObject.InputBehaviorType)(),
428
- showWordLimit: external_shared_namespaceObject.PropTypes.bool,
429
- showControl: external_shared_namespaceObject.PropTypes.bool.def(true),
430
- showClearOnlyHover: external_shared_namespaceObject.PropTypes.bool.def(true),
431
- precision: external_shared_namespaceObject.PropTypes.number.def(0).validate(function (val) {
478
+ type: external_shared_.PropTypes.string.def('text'),
479
+ clearable: external_shared_.PropTypes.bool,
480
+ disabled: external_shared_.PropTypes.bool,
481
+ readonly: external_shared_.PropTypes.bool,
482
+ placeholder: external_shared_.PropTypes.string.def('Enter'),
483
+ prefixIcon: external_shared_.PropTypes.string,
484
+ suffixIcon: external_shared_.PropTypes.string,
485
+ suffix: external_shared_.PropTypes.string,
486
+ prefix: external_shared_.PropTypes.string,
487
+ step: external_shared_.PropTypes.integer,
488
+ max: external_shared_.PropTypes.integer,
489
+ min: external_shared_.PropTypes.integer,
490
+ maxlength: external_shared_.PropTypes.integer,
491
+ behavior: (0,external_shared_.InputBehaviorType)(),
492
+ showWordLimit: external_shared_.PropTypes.bool,
493
+ showControl: external_shared_.PropTypes.bool.def(true),
494
+ showClearOnlyHover: external_shared_.PropTypes.bool.def(true),
495
+ precision: external_shared_.PropTypes.number.def(0).validate(function (val) {
432
496
  return val >= 0 && val < 20;
433
497
  }),
434
- modelValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number]),
435
- size: external_shared_namespaceObject.PropTypes.size(),
436
- rows: external_shared_namespaceObject.PropTypes.number,
437
- selectReadonly: external_shared_namespaceObject.PropTypes.bool.def(false),
438
- withValidate: external_shared_namespaceObject.PropTypes.bool.def(true)
498
+ modelValue: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.string, external_shared_.PropTypes.number]),
499
+ size: external_shared_.PropTypes.size(),
500
+ rows: external_shared_.PropTypes.number,
501
+ selectReadonly: external_shared_.PropTypes.bool.def(false),
502
+ withValidate: external_shared_.PropTypes.bool.def(true)
439
503
  };
440
504
  var EVENTS;
441
505
 
@@ -471,20 +535,20 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
471
535
  }), _defineProperty(_inputEmitEventsType, EVENTS.CHANGE, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.CLEAR, function () {
472
536
  return true;
473
537
  }), _defineProperty(_inputEmitEventsType, EVENTS.INPUT, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYPRESS, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYDOWN, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.KEYUP, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.ENTER, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.PASTE, EventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONSTART, CompositionEventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), _defineProperty(_inputEmitEventsType, EVENTS.COMPOSITIONEND, CompositionEventFunction), _inputEmitEventsType);
474
- /* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
538
+ /* harmony default export */ const input = ((0,external_vue_.defineComponent)({
475
539
  name: 'Input',
476
540
  inheritAttrs: false,
477
541
  props: inputType,
478
542
  emits: inputEmitEventsType,
479
543
  setup: function setup(props, ctx) {
480
- var formItem = (0,external_shared_namespaceObject.useFormItem)();
481
- var isFocused = (0,external_vue_namespaceObject.ref)(false);
482
- var isCNInput = (0,external_vue_namespaceObject.ref)(false);
483
- var isTextArea = (0,external_vue_namespaceObject.computed)(function () {
544
+ var formItem = (0,external_shared_.useFormItem)();
545
+ var isFocused = (0,external_vue_.ref)(false);
546
+ var isCNInput = (0,external_vue_.ref)(false);
547
+ var isTextArea = (0,external_vue_.computed)(function () {
484
548
  return props.type === 'textarea';
485
549
  });
486
- var inputClsPrefix = (0,external_vue_namespaceObject.computed)(function () {
487
- return isTextArea.value ? (0,external_shared_namespaceObject.resolveClassName)('textarea') : (0,external_shared_namespaceObject.resolveClassName)('input');
550
+ var inputClsPrefix = (0,external_vue_.computed)(function () {
551
+ return isTextArea.value ? (0,external_shared_.resolveClassName)('textarea') : (0,external_shared_.resolveClassName)('input');
488
552
  });
489
553
 
490
554
  var _a = ctx.attrs,
@@ -492,60 +556,60 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
492
556
  style = _a.style,
493
557
  inputAttrs = __rest(_a, ["class", "style"]);
494
558
 
495
- var inputRef = (0,external_vue_namespaceObject.ref)();
496
- var inputCls = (0,external_vue_namespaceObject.computed)(function () {
559
+ var inputRef = (0,external_vue_.ref)();
560
+ var inputCls = (0,external_vue_.computed)(function () {
497
561
  var _classes;
498
562
 
499
- return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(inputClsPrefix.value, "--").concat(props.size), !!props.size), _defineProperty(_classes, 'is-focused', isFocused.value), _defineProperty(_classes, 'is-readonly', props.readonly && !props.selectReadonly), _defineProperty(_classes, 'is-disabled', props.disabled), _defineProperty(_classes, 'is-simplicity', props.behavior === 'simplicity'), _defineProperty(_classes, "".concat(cls), !!cls), _classes), inputClsPrefix.value);
563
+ return (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, "".concat(inputClsPrefix.value, "--").concat(props.size), !!props.size), _defineProperty(_classes, 'is-focused', isFocused.value), _defineProperty(_classes, 'is-readonly', props.readonly && !props.selectReadonly), _defineProperty(_classes, 'is-disabled', props.disabled), _defineProperty(_classes, 'is-simplicity', props.behavior === 'simplicity'), _defineProperty(_classes, "".concat(cls), !!cls), _classes), inputClsPrefix.value);
500
564
  });
501
565
  var suffixIconMap = {
502
566
  search: function search() {
503
- return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Search, null, null);
567
+ return (0,external_vue_.createVNode)(external_icon_.Search, null, null);
504
568
  },
505
569
  password: function password() {
506
- return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Eye, {
570
+ return (0,external_vue_.createVNode)(external_icon_.Eye, {
507
571
  "onClick": handleVisibleChange
508
572
  }, null);
509
573
  }
510
574
  };
511
575
  var suffixCls = getCls('suffix-icon');
512
- var suffixIcon = (0,external_vue_namespaceObject.computed)(function () {
576
+ var suffixIcon = (0,external_vue_.computed)(function () {
513
577
  var icon = suffixIconMap[props.type];
514
578
 
515
579
  if (pwdVisible.value) {
516
- return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Unvisible, {
580
+ return (0,external_vue_.createVNode)(external_icon_.Unvisible, {
517
581
  "onClick": handleVisibleChange,
518
582
  "class": suffixCls
519
583
  }, null);
520
584
  }
521
585
 
522
- return icon ? (0,external_vue_namespaceObject.createVNode)(icon, {
586
+ return icon ? (0,external_vue_.createVNode)(icon, {
523
587
  "class": suffixCls
524
588
  }, null) : null;
525
589
  });
526
- var isNumberInput = (0,external_vue_namespaceObject.computed)(function () {
590
+ var isNumberInput = (0,external_vue_.computed)(function () {
527
591
  return props.type === 'number';
528
592
  });
529
- var ceilMaxLength = (0,external_vue_namespaceObject.computed)(function () {
593
+ var ceilMaxLength = (0,external_vue_.computed)(function () {
530
594
  return Math.floor(props.maxlength);
531
595
  });
532
- var pwdVisible = (0,external_vue_namespaceObject.ref)(false);
533
- var clearCls = (0,external_vue_namespaceObject.computed)(function () {
534
- return (0,external_shared_namespaceObject.classes)(_defineProperty({
596
+ var pwdVisible = (0,external_vue_.ref)(false);
597
+ var clearCls = (0,external_vue_.computed)(function () {
598
+ return (0,external_shared_.classes)(_defineProperty({
535
599
  'show-clear-only-hover': props.showClearOnlyHover
536
600
  }, "".concat(inputClsPrefix.value, "--clear-icon"), true), suffixCls);
537
601
  });
538
- var incControlCls = (0,external_vue_namespaceObject.computed)(function () {
539
- return (0,external_shared_namespaceObject.classes)({
602
+ var incControlCls = (0,external_vue_.computed)(function () {
603
+ return (0,external_shared_.classes)({
540
604
  'is-disabled': props.disabled || props.modelValue >= props.max
541
605
  });
542
606
  });
543
- var decControlCls = (0,external_vue_namespaceObject.computed)(function () {
544
- return (0,external_shared_namespaceObject.classes)({
607
+ var decControlCls = (0,external_vue_.computed)(function () {
608
+ return (0,external_shared_.classes)({
545
609
  'is-disabled': props.disabled || props.modelValue <= props.min
546
610
  });
547
611
  });
548
- (0,external_vue_namespaceObject.watch)(function () {
612
+ (0,external_vue_.watch)(function () {
549
613
  return props.modelValue;
550
614
  }, function () {
551
615
  var _a;
@@ -676,7 +740,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
676
740
  pwdVisible.value = !pwdVisible.value;
677
741
  }
678
742
 
679
- var bindProps = (0,external_vue_namespaceObject.computed)(function () {
743
+ var bindProps = (0,external_vue_.computed)(function () {
680
744
  var val = typeof props.modelValue === 'undefined' || props.modelValue === null ? {} : {
681
745
  value: props.modelValue
682
746
  };
@@ -702,19 +766,19 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
702
766
  return function () {
703
767
  var _a, _b, _c, _d, _e, _f, _g;
704
768
 
705
- return (0,external_vue_namespaceObject.createVNode)("div", {
769
+ return (0,external_vue_.createVNode)("div", {
706
770
  "class": inputCls.value,
707
771
  "style": style
708
- }, [(_c = (_b = (_a = ctx.slots) === null || _a === void 0 ? void 0 : _a.prefix) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : props.prefix && (0,external_vue_namespaceObject.createVNode)("div", {
772
+ }, [(_c = (_b = (_a = ctx.slots) === null || _a === void 0 ? void 0 : _a.prefix) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : props.prefix && (0,external_vue_.createVNode)("div", {
709
773
  "class": getCls('prefix-area')
710
- }, [(0,external_vue_namespaceObject.createVNode)("span", {
774
+ }, [(0,external_vue_.createVNode)("span", {
711
775
  "class": getCls('prefix-area--text')
712
- }, [props.prefix])]), isTextArea.value ? (0,external_vue_namespaceObject.createVNode)("textarea", (0,external_vue_namespaceObject.mergeProps)({
776
+ }, [props.prefix])]), isTextArea.value ? (0,external_vue_.createVNode)("textarea", (0,external_vue_.mergeProps)({
713
777
  "ref": inputRef,
714
778
  "spellcheck": false
715
779
  }, inputAttrs, eventListener, bindProps.value, {
716
780
  "rows": props.rows
717
- }), null) : (0,external_vue_namespaceObject.createVNode)("input", (0,external_vue_namespaceObject.mergeProps)({
781
+ }), null) : (0,external_vue_.createVNode)("input", (0,external_vue_.mergeProps)({
718
782
  "spellcheck": false
719
783
  }, inputAttrs, {
720
784
  "ref": inputRef,
@@ -723,22 +787,22 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
723
787
  "step": props.step,
724
788
  "max": props.max,
725
789
  "min": props.min
726
- }, eventListener, bindProps.value), null), !isTextArea.value && props.clearable && !!props.modelValue && (0,external_vue_namespaceObject.createVNode)("span", {
790
+ }, eventListener, bindProps.value), null), !isTextArea.value && props.clearable && !!props.modelValue && (0,external_vue_.createVNode)("span", {
727
791
  "class": clearCls.value,
728
792
  "onClick": clear
729
- }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, null, null)]), suffixIcon.value, typeof props.maxlength === 'number' && (props.showWordLimit || isTextArea.value) && (0,external_vue_namespaceObject.createVNode)("p", {
793
+ }, [(0,external_vue_.createVNode)(external_icon_.Close, null, null)]), suffixIcon.value, typeof props.maxlength === 'number' && (props.showWordLimit || isTextArea.value) && (0,external_vue_.createVNode)("p", {
730
794
  "class": getCls('max-length')
731
- }, [((_d = props.modelValue) !== null && _d !== void 0 ? _d : '').toString().length, (0,external_vue_namespaceObject.createTextVNode)("/"), (0,external_vue_namespaceObject.createVNode)("span", null, [ceilMaxLength.value])]), isNumberInput.value && props.showControl && (0,external_vue_namespaceObject.createVNode)("div", {
795
+ }, [((_d = props.modelValue) !== null && _d !== void 0 ? _d : '').toString().length, (0,external_vue_.createTextVNode)("/"), (0,external_vue_.createVNode)("span", null, [ceilMaxLength.value])]), isNumberInput.value && props.showControl && (0,external_vue_.createVNode)("div", {
732
796
  "class": getCls('number-control')
733
- }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.DownSmall, {
797
+ }, [(0,external_vue_.createVNode)(external_icon_.DownSmall, {
734
798
  "class": incControlCls.value,
735
799
  "onClick": handleInc
736
- }, null), (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.DownSmall, {
800
+ }, null), (0,external_vue_.createVNode)(external_icon_.DownSmall, {
737
801
  "class": decControlCls.value,
738
802
  "onClick": handleDec
739
- }, null)]), (_g = (_f = (_e = ctx.slots) === null || _e === void 0 ? void 0 : _e.suffix) === null || _f === void 0 ? void 0 : _f.call(_e)) !== null && _g !== void 0 ? _g : props.suffix && (0,external_vue_namespaceObject.createVNode)("div", {
803
+ }, null)]), (_g = (_f = (_e = ctx.slots) === null || _e === void 0 ? void 0 : _e.suffix) === null || _f === void 0 ? void 0 : _f.call(_e)) !== null && _g !== void 0 ? _g : props.suffix && (0,external_vue_.createVNode)("div", {
740
804
  "class": getCls('suffix-area')
741
- }, [(0,external_vue_namespaceObject.createVNode)("span", {
805
+ }, [(0,external_vue_.createVNode)("span", {
742
806
  "class": getCls('suffix-area--text')
743
807
  }, [props.suffix])])]);
744
808
  };
@@ -772,7 +836,11 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
772
836
  */
773
837
 
774
838
 
775
- var BkInput = (0,external_shared_namespaceObject.withInstall)(input);
839
+ var BkInput = (0,external_shared_.withInstall)(input);
776
840
  /* harmony default export */ const src = (BkInput);
777
- var __webpack_exports__default = __webpack_exports__.Z;
778
- export { __webpack_exports__default as default };
841
+ })();
842
+
843
+ /******/ return __webpack_exports__;
844
+ /******/ })()
845
+ ;
846
+ });
@@ -315,9 +315,9 @@ declare const _default: import("vue").DefineComponent<{
315
315
  behavior: "simplicity" | "normal";
316
316
  type: string;
317
317
  disabled: boolean;
318
+ step: number;
318
319
  placeholder: string;
319
320
  prefix: string;
320
- step: number;
321
321
  max: number;
322
322
  min: number;
323
323
  maxlength: number;
@@ -4,8 +4,8 @@ declare const BkLink: {
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  target: string;
7
- theme: "success" | "warning" | "danger" | "default" | "primary";
8
7
  disabled: boolean;
8
+ theme: "success" | "warning" | "danger" | "default" | "primary";
9
9
  underline: boolean;
10
10
  href: string;
11
11
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -34,7 +34,7 @@ declare const BkLink: {
34
34
  };
35
35
  }>> & {
36
36
  onClick?: (...args: any[]) => any;
37
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "theme" | "disabled" | "underline" | "href">;
37
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "disabled" | "theme" | "underline" | "href">;
38
38
  $attrs: {
39
39
  [x: string]: unknown;
40
40
  };
@@ -78,8 +78,8 @@ declare const BkLink: {
78
78
  handleClick: (event: Event) => boolean;
79
79
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
80
80
  target: string;
81
- theme: "success" | "warning" | "danger" | "default" | "primary";
82
81
  disabled: boolean;
82
+ theme: "success" | "warning" | "danger" | "default" | "primary";
83
83
  underline: boolean;
84
84
  href: string;
85
85
  }> & {
@@ -164,8 +164,8 @@ declare const BkLink: {
164
164
  handleClick: (event: Event) => boolean;
165
165
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
166
166
  target: string;
167
- theme: "success" | "warning" | "danger" | "default" | "primary";
168
167
  disabled: boolean;
168
+ theme: "success" | "warning" | "danger" | "default" | "primary";
169
169
  underline: boolean;
170
170
  href: string;
171
171
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;