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

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