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,42 +1,102 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
- /******/ // The require scope
4
- /******/ var __webpack_require__ = {};
5
- /******/
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue")) : factory(root["../shared"], root["vue"]);
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__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 4212:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 748:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
26
+
27
+ /***/ })
28
+
29
+ /******/ });
6
30
  /************************************************************************/
7
- /******/ /* webpack/runtime/define property getters */
8
- /******/ (() => {
9
- /******/ // define getter functions for harmony exports
10
- /******/ __webpack_require__.d = (exports, definition) => {
11
- /******/ for(var key in definition) {
12
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
- /******/ }
31
+ /******/ // The module cache
32
+ /******/ var __webpack_module_cache__ = {};
33
+ /******/
34
+ /******/ // The require function
35
+ /******/ function __webpack_require__(moduleId) {
36
+ /******/ // Check if module is in cache
37
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
38
+ /******/ if (cachedModule !== undefined) {
39
+ /******/ return cachedModule.exports;
15
40
  /******/ }
16
- /******/ };
17
- /******/ })();
18
- /******/
19
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
- /******/ (() => {
21
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22
- /******/ })();
23
- /******/
41
+ /******/ // Create a new module (and put it into the cache)
42
+ /******/ var module = __webpack_module_cache__[moduleId] = {
43
+ /******/ // no module.id needed
44
+ /******/ // no module.loaded needed
45
+ /******/ exports: {}
46
+ /******/ };
47
+ /******/
48
+ /******/ // Execute the module function
49
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
50
+ /******/
51
+ /******/ // Return the exports of the module
52
+ /******/ return module.exports;
53
+ /******/ }
54
+ /******/
55
+ /************************************************************************/
56
+ /******/ /* webpack/runtime/define property getters */
57
+ /******/ (() => {
58
+ /******/ // define getter functions for harmony exports
59
+ /******/ __webpack_require__.d = (exports, definition) => {
60
+ /******/ for(var key in definition) {
61
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
62
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
63
+ /******/ }
64
+ /******/ }
65
+ /******/ };
66
+ /******/ })();
67
+ /******/
68
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
69
+ /******/ (() => {
70
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
71
+ /******/ })();
72
+ /******/
73
+ /******/ /* webpack/runtime/make namespace object */
74
+ /******/ (() => {
75
+ /******/ // define __esModule on exports
76
+ /******/ __webpack_require__.r = (exports) => {
77
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
78
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
79
+ /******/ }
80
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
81
+ /******/ };
82
+ /******/ })();
83
+ /******/
24
84
  /************************************************************************/
25
85
  var __webpack_exports__ = {};
86
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
87
+ (() => {
88
+ // ESM COMPAT FLAG
89
+ __webpack_require__.r(__webpack_exports__);
26
90
 
27
91
  // EXPORTS
28
92
  __webpack_require__.d(__webpack_exports__, {
29
- "Z": () => (/* binding */ src)
93
+ "default": () => (/* binding */ src)
30
94
  });
31
95
 
32
- ;// CONCATENATED MODULE: external "../shared"
33
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
34
- var y = x => () => x
35
- const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.ThemeEnum, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
36
- ;// CONCATENATED MODULE: external "vue"
37
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
38
- var external_vue_y = x => () => x
39
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
96
+ // EXTERNAL MODULE: external "../shared"
97
+ var external_shared_ = __webpack_require__(4212);
98
+ // EXTERNAL MODULE: external "vue"
99
+ var external_vue_ = __webpack_require__(748);
40
100
  ;// CONCATENATED MODULE: ../../packages/progress/src/circle.tsx
41
101
 
42
102
 
@@ -136,12 +196,12 @@ var Circle = function Circle(_, _ref) {
136
196
  "class": "process-circle-path bk-".concat(theme, "-circle-trail"),
137
197
  style: pathStyle
138
198
  };
139
- return (0,external_vue_namespaceObject.createVNode)("div", {
199
+ return (0,external_vue_.createVNode)("div", {
140
200
  "class": "progress-outer-circle",
141
201
  "style": circleStyle
142
- }, [(0,external_vue_namespaceObject.createVNode)("svg", {
202
+ }, [(0,external_vue_.createVNode)("svg", {
143
203
  "viewBox": "0 0 100 100"
144
- }, [(0,external_vue_namespaceObject.createVNode)("path", progressCircleTrail, null), (0,external_vue_namespaceObject.createVNode)("path", progressCirclePath, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
204
+ }, [(0,external_vue_.createVNode)("path", progressCircleTrail, null), (0,external_vue_.createVNode)("path", progressCirclePath, null)]), (0,external_vue_.createVNode)("span", {
145
205
  "class": 'progress-circle-text',
146
206
  "style": titleStyle
147
207
  }, [slots === null || slots === void 0 ? void 0 : slots["default"]()])]);
@@ -230,17 +290,17 @@ var Line = function Line(_, _ref) {
230
290
  return null;
231
291
  };
232
292
 
233
- return (0,external_vue_namespaceObject.createVNode)("div", {
293
+ return (0,external_vue_.createVNode)("div", {
234
294
  "class": "progress-outer"
235
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
295
+ }, [(0,external_vue_.createVNode)("div", {
236
296
  "class": "bk-progress-".concat(size || 'normal', " progress-bar"),
237
297
  "style": percentStyle
238
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
298
+ }, [(0,external_vue_.createVNode)("div", {
239
299
  "style": barStyle,
240
300
  "class": _defineProperty({
241
301
  'progress-inner': true
242
302
  }, "bk-".concat(theme), true)
243
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
303
+ }, [(0,external_vue_.createVNode)("div", {
244
304
  "class": "inner-text",
245
305
  "style": titleStyle
246
306
  }, [showDefault()])])]), showDefault(false)]);
@@ -281,33 +341,33 @@ var Line = function Line(_, _ref) {
281
341
 
282
342
 
283
343
  function _isSlot(s) {
284
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
344
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
285
345
  }
286
346
 
287
- /* harmony default export */ const progress = ((0,external_vue_namespaceObject.defineComponent)({
347
+ /* harmony default export */ const progress = ((0,external_vue_.defineComponent)({
288
348
  name: 'Progress',
289
349
  props: {
290
- extCls: external_shared_namespaceObject.PropTypes.string,
291
- type: external_shared_namespaceObject.PropTypes.string.validate(function (value) {
350
+ extCls: external_shared_.PropTypes.string,
351
+ type: external_shared_.PropTypes.string.validate(function (value) {
292
352
  return ['line', 'circle', 'dashboard'].includes(value);
293
353
  }).def('line'),
294
- percent: external_shared_namespaceObject.PropTypes.number.def(0),
295
- theme: external_shared_namespaceObject.PropTypes.theme().def(external_shared_namespaceObject.ThemeEnum.PRIMARY),
296
- size: external_shared_namespaceObject.PropTypes.size(),
297
- width: external_shared_namespaceObject.PropTypes.number.def(126),
298
- strokeWidth: external_shared_namespaceObject.PropTypes.number,
299
- strokeLinecap: external_shared_namespaceObject.PropTypes.string.def('round'),
300
- textInside: external_shared_namespaceObject.PropTypes.bool.def(false),
301
- showText: external_shared_namespaceObject.PropTypes.bool.def(true),
302
- color: external_shared_namespaceObject.PropTypes.string,
303
- bgColor: external_shared_namespaceObject.PropTypes.string,
304
- fixed: external_shared_namespaceObject.PropTypes.number.validate(function (value) {
354
+ percent: external_shared_.PropTypes.number.def(0),
355
+ theme: external_shared_.PropTypes.theme().def(external_shared_.ThemeEnum.PRIMARY),
356
+ size: external_shared_.PropTypes.size(),
357
+ width: external_shared_.PropTypes.number.def(126),
358
+ strokeWidth: external_shared_.PropTypes.number,
359
+ strokeLinecap: external_shared_.PropTypes.string.def('round'),
360
+ textInside: external_shared_.PropTypes.bool.def(false),
361
+ showText: external_shared_.PropTypes.bool.def(true),
362
+ color: external_shared_.PropTypes.string,
363
+ bgColor: external_shared_.PropTypes.string,
364
+ fixed: external_shared_.PropTypes.number.validate(function (value) {
305
365
  return value >= 0 && value <= 20;
306
366
  }).def(0),
307
- format: external_shared_namespaceObject.PropTypes.func.def(function (percent) {
367
+ format: external_shared_.PropTypes.func.def(function (percent) {
308
368
  return "".concat(percent, "%");
309
369
  }),
310
- titleStyle: external_shared_namespaceObject.PropTypes.object.def({
370
+ titleStyle: external_shared_.PropTypes.object.def({
311
371
  fontSize: '16px',
312
372
  verticalAlign: 'middle'
313
373
  })
@@ -343,11 +403,11 @@ function _isSlot(s) {
343
403
  var formatPercent = format((_a = this.validPercent(percent)) === null || _a === void 0 ? void 0 : _a.toFixed(fixed));
344
404
 
345
405
  if ((showText || this.$slots["default"]) && textInside) {
346
- return this.$slots["default"] ? this.$slots["default"]() : (0,external_vue_namespaceObject.createVNode)("span", null, [formatPercent]);
406
+ return this.$slots["default"] ? this.$slots["default"]() : (0,external_vue_.createVNode)("span", null, [formatPercent]);
347
407
  }
348
408
 
349
409
  if (!showText || textInside) return null;
350
- return (0,external_vue_namespaceObject.createVNode)("span", {
410
+ return (0,external_vue_.createVNode)("span", {
351
411
  "class": 'progress-text',
352
412
  "style": typeof formatPercent === 'string' ? titleStyle : undefined
353
413
  }, [this.$slots["default"] ? this.$slots["default"]() : formatPercent]);
@@ -359,14 +419,14 @@ function _isSlot(s) {
359
419
  percent: this.validPercent(this.percent)
360
420
  });
361
421
 
362
- var progress = (0,external_vue_namespaceObject.createVNode)(line, $props, _isSlot(progressInfo) ? progressInfo : {
422
+ var progress = (0,external_vue_.createVNode)(line, $props, _isSlot(progressInfo) ? progressInfo : {
363
423
  "default": function _default() {
364
424
  return [progressInfo];
365
425
  }
366
426
  });
367
427
 
368
428
  if (this.type === 'circle' || this.type === 'dashboard') {
369
- progress = (0,external_vue_namespaceObject.createVNode)(circle, $props, _isSlot(progressInfo) ? progressInfo : {
429
+ progress = (0,external_vue_.createVNode)(circle, $props, _isSlot(progressInfo) ? progressInfo : {
370
430
  "default": function _default() {
371
431
  return [progressInfo];
372
432
  }
@@ -374,11 +434,11 @@ function _isSlot(s) {
374
434
  }
375
435
 
376
436
  var progressProps = {
377
- "class": (0,external_shared_namespaceObject.classes)({
437
+ "class": (0,external_shared_.classes)({
378
438
  extCls: !!this.extCls
379
439
  }, "bk-progress bk-progress-".concat(this.type))
380
440
  };
381
- return (0,external_vue_namespaceObject.createVNode)("div", progressProps, [progress]);
441
+ return (0,external_vue_.createVNode)("div", progressProps, [progress]);
382
442
  }
383
443
  }));
384
444
  ;// CONCATENATED MODULE: ../../packages/progress/src/index.ts
@@ -409,7 +469,11 @@ function _isSlot(s) {
409
469
  */
410
470
 
411
471
 
412
- var BkProgress = (0,external_shared_namespaceObject.withInstall)(progress);
472
+ var BkProgress = (0,external_shared_.withInstall)(progress);
413
473
  /* harmony default export */ const src = (BkProgress);
414
- var __webpack_exports__default = __webpack_exports__.Z;
415
- export { __webpack_exports__default as default };
474
+ })();
475
+
476
+ /******/ return __webpack_exports__;
477
+ /******/ })()
478
+ ;
479
+ });
@@ -153,10 +153,10 @@ declare const _default: import("vue").DefineComponent<{
153
153
  }>>, {
154
154
  fixed: number;
155
155
  type: string;
156
- theme: "success" | "warning" | "danger" | "primary";
157
- extCls: string;
158
156
  width: number;
157
+ theme: "success" | "warning" | "danger" | "primary";
159
158
  color: string;
159
+ extCls: string;
160
160
  strokeLinecap: string;
161
161
  strokeWidth: number;
162
162
  format: (...args: any[]) => any;