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,109 +1,41 @@
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
- "BkCollapsePanel": () => (/* reexport */ collapse_panel),
101
- "Collapse": () => (/* reexport */ collapse),
102
- "default": () => (/* binding */ src)
30
+ "AP": () => (/* reexport */ collapse_panel),
31
+ "UO": () => (/* reexport */ collapse),
32
+ "ZP": () => (/* binding */ src)
103
33
  });
104
34
 
105
- // EXTERNAL MODULE: external "../shared"
106
- var external_shared_ = __webpack_require__(4212);
35
+ ;// CONCATENATED MODULE: external "../shared"
36
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
37
+ var y = x => () => x
38
+ const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["renderDirectiveType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.renderDirectiveType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
107
39
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
108
40
  function _arrayLikeToArray(arr, len) {
109
41
  if (len == null || len > arr.length) len = arr.length;
@@ -145,10 +77,14 @@ function _nonIterableSpread() {
145
77
  function _toConsumableArray(arr) {
146
78
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
147
79
  }
148
- // EXTERNAL MODULE: external "vue"
149
- var external_vue_ = __webpack_require__(748);
150
- // EXTERNAL MODULE: external "../icon"
151
- var external_icon_ = __webpack_require__(6870);
80
+ ;// CONCATENATED MODULE: external "vue"
81
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
82
+ var external_vue_y = x => () => x
83
+ const external_vue_namespaceObject = external_vue_x({ ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["renderSlot"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
84
+ ;// CONCATENATED MODULE: external "../icon"
85
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
+ var external_icon_y = x => () => x
87
+ const external_icon_namespaceObject = external_icon_x({ ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.AngleRight });
152
88
  ;// CONCATENATED MODULE: ../../packages/collapse/src/props.ts
153
89
  /*
154
90
  * Tencent is pleased to support the open source community by making
@@ -181,33 +117,33 @@ var propsCollapse = {
181
117
  * 渲染列表
182
118
  * 对象数组或者字符串数组,字符串数组默认会增加 name 字段,值为传入的字符串值
183
119
  */
184
- list: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.any).def([]),
120
+ list: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.any).def([]),
185
121
 
186
122
  /**
187
123
  * ID字段
188
124
  */
189
- idFiled: external_shared_.PropTypes.string.def('$index'),
125
+ idFiled: external_shared_namespaceObject.PropTypes.string.def('$index'),
190
126
 
191
127
  /**
192
128
  * Title 字段
193
129
  */
194
- titleField: external_shared_.PropTypes.string.def('name'),
130
+ titleField: external_shared_namespaceObject.PropTypes.string.def('name'),
195
131
 
196
132
  /**
197
133
  * Content 字段,默认渲染内容,不配置时自动读取 content 字段
198
134
  * 自定义配置slot时可以忽略
199
135
  */
200
- contentField: external_shared_.PropTypes.string.def('content'),
136
+ contentField: external_shared_namespaceObject.PropTypes.string.def('content'),
201
137
 
202
138
  /**
203
139
  * 当前激活Index
204
140
  */
205
- modelValue: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.number).def([]), external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.string).def([]), external_shared_.PropTypes.number.def(-1)]),
141
+ modelValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.number).def([]), external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.string).def([]), external_shared_namespaceObject.PropTypes.number.def(-1)]),
206
142
 
207
143
  /**
208
144
  * 是否使用手风琴效果
209
145
  */
210
- accordion: external_shared_.PropTypes.bool.def(false)
146
+ accordion: external_shared_namespaceObject.PropTypes.bool.def(false)
211
147
  };
212
148
  var CollapsePanelEventProps = {
213
149
  itemClick: {
@@ -215,13 +151,13 @@ var CollapsePanelEventProps = {
215
151
  }
216
152
  };
217
153
  var propsCollapsePanel = Object.assign({
218
- name: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.number, external_shared_.PropTypes.string]).def(''),
219
- title: external_shared_.PropTypes.any,
220
- content: external_shared_.PropTypes.string,
221
- disabled: external_shared_.PropTypes.bool.def(false),
222
- isFormList: external_shared_.PropTypes.bool.def(false),
223
- renderDirective: (0,external_shared_.renderDirectiveType)(),
224
- modelValue: external_shared_.PropTypes.bool.def(false)
154
+ name: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.string]).def(''),
155
+ title: external_shared_namespaceObject.PropTypes.any,
156
+ content: external_shared_namespaceObject.PropTypes.string,
157
+ disabled: external_shared_namespaceObject.PropTypes.bool.def(false),
158
+ isFormList: external_shared_namespaceObject.PropTypes.bool.def(false),
159
+ renderDirective: (0,external_shared_namespaceObject.renderDirectiveType)(),
160
+ modelValue: external_shared_namespaceObject.PropTypes.bool.def(false)
225
161
  }, CollapsePanelEventProps);
226
162
  ;// CONCATENATED MODULE: ../../packages/collapse/src/utils.ts
227
163
 
@@ -381,25 +317,25 @@ var collapseMotion = function collapseMotion(emit) {
381
317
 
382
318
 
383
319
  function _isSlot(s) {
384
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
320
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
385
321
  }
386
322
 
387
- /* harmony default export */ const collapse_panel = ((0,external_vue_.defineComponent)({
323
+ /* harmony default export */ const collapse_panel = ((0,external_vue_namespaceObject.defineComponent)({
388
324
  name: 'CollapsePanel',
389
325
  props: propsCollapsePanel,
390
326
  emits: ['change', 'update:modelValue', 'after-leave', 'before-enter'],
391
327
  setup: function setup(props, _ref) {
392
328
  var emit = _ref.emit,
393
329
  slots = _ref.slots;
394
- var localActiveItems = (0,external_vue_.inject)('localActiveItems');
395
- var handleItemClick = (0,external_vue_.inject)('handleItemClick');
396
- var isActive = (0,external_vue_.ref)(props.modelValue);
397
- (0,external_vue_.watch)(function () {
330
+ var localActiveItems = (0,external_vue_namespaceObject.inject)('localActiveItems');
331
+ var handleItemClick = (0,external_vue_namespaceObject.inject)('handleItemClick');
332
+ var isActive = (0,external_vue_namespaceObject.ref)(props.modelValue);
333
+ (0,external_vue_namespaceObject.watch)(function () {
398
334
  return props.modelValue;
399
335
  }, function (newVal) {
400
336
  isActive.value = newVal;
401
337
  });
402
- (0,external_vue_.watch)(localActiveItems, function (newVal) {
338
+ (0,external_vue_namespaceObject.watch)(localActiveItems, function (newVal) {
403
339
  if (newVal === null || newVal === void 0 ? void 0 : newVal.length) {
404
340
  isActive.value = newVal.includes(props.name);
405
341
  }
@@ -428,7 +364,7 @@ function _isSlot(s) {
428
364
  }
429
365
  }
430
366
 
431
- var transition = (0,external_vue_.ref)(collapseMotion(emit));
367
+ var transition = (0,external_vue_namespaceObject.ref)(collapseMotion(emit));
432
368
 
433
369
  function getContent() {
434
370
  if (props.content) {
@@ -436,7 +372,7 @@ function _isSlot(s) {
436
372
  }
437
373
 
438
374
  if (typeof slots.content === 'function') {
439
- return slots.content(external_vue_.h);
375
+ return slots.content(external_vue_namespaceObject.h);
440
376
  }
441
377
 
442
378
  return slots.content;
@@ -447,15 +383,15 @@ function _isSlot(s) {
447
383
  return '';
448
384
  }
449
385
 
450
- return (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("div", {
386
+ return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
451
387
  "class": "bk-collapse-content ".concat(isActive.value && 'active' || '')
452
- }, [getContent()]), [[external_vue_.vShow, isActive.value]]);
388
+ }, [getContent()]), [[external_vue_namespaceObject.vShow, isActive.value]]);
453
389
  }
454
390
 
455
391
  function renderHeader() {
456
392
  if (slots.header) {
457
393
  if (typeof slots.header === 'function') {
458
- return slots.header(external_vue_.h);
394
+ return slots.header(external_vue_namespaceObject.h);
459
395
  }
460
396
 
461
397
  return slots.header;
@@ -465,7 +401,7 @@ function _isSlot(s) {
465
401
 
466
402
  if (slots["default"]) {
467
403
  if (typeof slots["default"] === 'function') {
468
- title = slots["default"](external_vue_.h);
404
+ title = slots["default"](external_vue_namespaceObject.h);
469
405
  } else {
470
406
  title = slots["default"];
471
407
  }
@@ -473,11 +409,11 @@ function _isSlot(s) {
473
409
  title = props.title;
474
410
  }
475
411
 
476
- return (0,external_vue_.createVNode)("div", {
412
+ return (0,external_vue_namespaceObject.createVNode)("div", {
477
413
  "class": 'bk-collapse-header'
478
- }, [(0,external_vue_.createVNode)("span", {
414
+ }, [(0,external_vue_namespaceObject.createVNode)("span", {
479
415
  "class": 'bk-collapse-title'
480
- }, [title]), (0,external_vue_.createVNode)(external_icon_.AngleRight, {
416
+ }, [title]), (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleRight, {
481
417
  "class": "bk-collapse-icon ".concat(isActive.value && 'rotate-icon' || '')
482
418
  }, null)]);
483
419
  }
@@ -485,13 +421,13 @@ function _isSlot(s) {
485
421
  return function () {
486
422
  var _slot;
487
423
 
488
- return (0,external_vue_.createVNode)("div", {
424
+ return (0,external_vue_namespaceObject.createVNode)("div", {
489
425
  "class": "bk-collapse-item ".concat(props.disabled ? 'is-disabled' : '', " ").concat(isActive.value ? 'bk-collapse-item-active' : '')
490
- }, [(0,external_vue_.createVNode)("div", {
426
+ }, [(0,external_vue_namespaceObject.createVNode)("div", {
491
427
  "onClick": function onClick() {
492
428
  return clickItem(props);
493
429
  }
494
- }, [renderHeader()]), (0,external_vue_.createVNode)(external_vue_.Transition, transition.value, _isSlot(_slot = renderPanel()) ? _slot : {
430
+ }, [renderHeader()]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, transition.value, _isSlot(_slot = renderPanel()) ? _slot : {
495
431
  "default": function _default() {
496
432
  return [_slot];
497
433
  }
@@ -531,16 +467,16 @@ function _isSlot(s) {
531
467
 
532
468
 
533
469
 
534
- /* harmony default export */ const collapse = ((0,external_vue_.defineComponent)({
470
+ /* harmony default export */ const collapse = ((0,external_vue_namespaceObject.defineComponent)({
535
471
  name: 'Collapse',
536
472
  props: propsCollapse,
537
473
  emits: ['item-click', 'update:modelValue', 'after-leave', 'before-enter'],
538
474
  setup: function setup(props, _ref) {
539
475
  var emit = _ref.emit,
540
476
  slots = _ref.slots;
541
- var localActiveItems = (0,external_vue_.ref)([]); // 以保证当前的设置生效
477
+ var localActiveItems = (0,external_vue_namespaceObject.ref)([]); // 以保证当前的设置生效
542
478
 
543
- (0,external_vue_.watch)(function () {
479
+ (0,external_vue_namespaceObject.watch)(function () {
544
480
  return [props.modelValue];
545
481
  }, function () {
546
482
  var value = props.modelValue;
@@ -586,15 +522,15 @@ function _isSlot(s) {
586
522
  emit('update:modelValue', localActiveItems.value);
587
523
  };
588
524
 
589
- (0,external_vue_.provide)('localActiveItems', localActiveItems);
590
- (0,external_vue_.provide)('handleItemClick', handleItemClick);
525
+ (0,external_vue_namespaceObject.provide)('localActiveItems', localActiveItems);
526
+ (0,external_vue_namespaceObject.provide)('handleItemClick', handleItemClick);
591
527
  var className = 'bk-collapse-wrapper';
592
528
 
593
529
  if (!Array.isArray(props.list) || !props.list.length) {
594
530
  return function () {
595
- return (0,external_vue_.createVNode)('div', {
531
+ return (0,external_vue_namespaceObject.createVNode)('div', {
596
532
  "class": className
597
- }, [(0,external_vue_.renderSlot)(slots, 'default', {
533
+ }, [(0,external_vue_namespaceObject.renderSlot)(slots, 'default', {
598
534
  props: {
599
535
  isList: true
600
536
  }
@@ -603,7 +539,7 @@ function _isSlot(s) {
603
539
  } // 统一格式化传入数据格式为标准渲染格式
604
540
 
605
541
 
606
- var collapseData = (0,external_vue_.computed)(function () {
542
+ var collapseData = (0,external_vue_namespaceObject.computed)(function () {
607
543
  return (props.list || []).map(function (item, index) {
608
544
  if (typeof item === 'string' || typeof item === 'number' || typeof item === 'boolean') {
609
545
  return {
@@ -637,7 +573,7 @@ function _isSlot(s) {
637
573
  title = (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots, item, index);
638
574
  }
639
575
 
640
- return (0,external_vue_.createVNode)(collapse_panel, {
576
+ return (0,external_vue_namespaceObject.createVNode)(collapse_panel, {
641
577
  "key": index,
642
578
  "item-click": handleItemClick,
643
579
  "disabled": item.disabled,
@@ -650,7 +586,7 @@ function _isSlot(s) {
650
586
  };
651
587
 
652
588
  return function () {
653
- return (0,external_vue_.createVNode)("div", {
589
+ return (0,external_vue_namespaceObject.createVNode)("div", {
654
590
  "class": className
655
591
  }, [renderItems()]);
656
592
  };
@@ -685,14 +621,12 @@ function _isSlot(s) {
685
621
 
686
622
 
687
623
 
688
- var BkCollapse = (0,external_shared_.withInstallProps)(collapse, {
624
+ var BkCollapse = (0,external_shared_namespaceObject.withInstallProps)(collapse, {
689
625
  CollapsePanel: collapse_panel
690
626
  });
691
627
 
692
628
  /* harmony default export */ const src = (BkCollapse);
693
- })();
694
-
695
- /******/ return __webpack_exports__;
696
- /******/ })()
697
- ;
698
- });
629
+ var __webpack_exports__BkCollapsePanel = __webpack_exports__.AP;
630
+ var __webpack_exports__Collapse = __webpack_exports__.UO;
631
+ var __webpack_exports__default = __webpack_exports__.ZP;
632
+ export { __webpack_exports__BkCollapsePanel as BkCollapsePanel, __webpack_exports__Collapse as Collapse, __webpack_exports__default as default };
@@ -131,9 +131,9 @@ declare const _default: import("vue").DefineComponent<{
131
131
  onChange?: (...args: any[]) => any;
132
132
  "onUpdate:modelValue"?: (...args: any[]) => any;
133
133
  }, {
134
+ extCls: string;
134
135
  disabled: boolean;
135
136
  size: "" | "small" | "large";
136
- extCls: string;
137
137
  transfer: boolean;
138
138
  readonly: boolean;
139
139
  modelValue: string;
@@ -3,9 +3,9 @@ declare const BkColorPicker: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
+ extCls: string;
6
7
  disabled: boolean;
7
8
  size: "" | "small" | "large";
8
- extCls: string;
9
9
  transfer: boolean;
10
10
  readonly: boolean;
11
11
  modelValue: string;
@@ -57,7 +57,7 @@ declare const BkColorPicker: {
57
57
  }>> & {
58
58
  onChange?: (...args: any[]) => any;
59
59
  "onUpdate:modelValue"?: (...args: any[]) => any;
60
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "size" | "extCls" | "transfer" | "readonly" | "modelValue" | "withValidate" | "recommend" | "showValue">;
60
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "disabled" | "size" | "transfer" | "readonly" | "modelValue" | "withValidate" | "recommend" | "showValue">;
61
61
  $attrs: {
62
62
  [x: string]: unknown;
63
63
  };
@@ -117,9 +117,9 @@ declare const BkColorPicker: {
117
117
  onChange?: (...args: any[]) => any;
118
118
  "onUpdate:modelValue"?: (...args: any[]) => any;
119
119
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
120
+ extCls: string;
120
121
  disabled: boolean;
121
122
  size: "" | "small" | "large";
122
- extCls: string;
123
123
  transfer: boolean;
124
124
  readonly: boolean;
125
125
  modelValue: string;
@@ -241,9 +241,9 @@ declare const BkColorPicker: {
241
241
  onChange?: (...args: any[]) => any;
242
242
  "onUpdate:modelValue"?: (...args: any[]) => any;
243
243
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
244
+ extCls: string;
244
245
  disabled: boolean;
245
246
  size: "" | "small" | "large";
246
- extCls: string;
247
247
  transfer: boolean;
248
248
  readonly: boolean;
249
249
  modelValue: string;