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.
- package/lib/affix/index.js +60 -128
- package/lib/alert/index.js +56 -124
- package/lib/animate-number/index.js +42 -106
- package/lib/backtop/index.js +61 -133
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/badge/index.js +50 -114
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/breadcrumb/index.js +67 -133
- package/lib/button/index.js +68 -147
- package/lib/card/index.js +69 -154
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +10 -10
- package/lib/cascader/index.js +168 -242
- package/lib/checkbox/index.js +77 -139
- package/lib/code-diff/index.js +79 -121
- package/lib/collapse/index.js +84 -150
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/color-picker/index.js +193 -245
- package/lib/components.js +434 -671
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +4 -4
- package/lib/container/index.js +64 -125
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/index.js +462 -563
- package/lib/date-picker/panel/time-range.d.ts +3 -3
- package/lib/date-picker/panel/time.d.ts +3 -3
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +7 -7
- package/lib/dialog/index.js +108 -198
- package/lib/directives/index.d.ts +0 -2
- package/lib/directives/index.js +86 -140
- package/lib/dist.index.js +48 -133
- package/lib/divider/index.js +50 -118
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/dropdown/index.js +73 -155
- package/lib/exception/index.js +97 -145
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/fixed-navbar/index.js +43 -107
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.js +107 -193
- package/lib/icon/angle-double-down-line.js +30 -90
- package/lib/icon/angle-double-left-line.js +30 -90
- package/lib/icon/angle-double-left.js +30 -90
- package/lib/icon/angle-double-right-line.js +30 -90
- package/lib/icon/angle-double-right.js +30 -90
- package/lib/icon/angle-double-up-line.js +30 -90
- package/lib/icon/angle-down-fill.js +30 -90
- package/lib/icon/angle-down-line.js +30 -90
- package/lib/icon/angle-down.js +30 -90
- package/lib/icon/angle-left.js +30 -90
- package/lib/icon/angle-right.js +30 -90
- package/lib/icon/angle-up-fill.js +30 -90
- package/lib/icon/angle-up.js +30 -90
- package/lib/icon/archive-fill.js +30 -90
- package/lib/icon/arrows-left.js +30 -90
- package/lib/icon/arrows-right.js +30 -90
- package/lib/icon/audio-fill.js +30 -90
- package/lib/icon/bk.js +30 -90
- package/lib/icon/circle.js +30 -90
- package/lib/icon/close-line.js +30 -90
- package/lib/icon/close.js +30 -90
- package/lib/icon/code.js +30 -90
- package/lib/icon/cog-shape.js +30 -90
- package/lib/icon/collapse-left.js +30 -90
- package/lib/icon/copy.js +30 -90
- package/lib/icon/data-shape.js +30 -90
- package/lib/icon/del.js +30 -90
- package/lib/icon/doc-fill.js +30 -90
- package/lib/icon/done.js +30 -90
- package/lib/icon/down-shape.js +30 -90
- package/lib/icon/down-small.js +30 -90
- package/lib/icon/edit-line.js +30 -90
- package/lib/icon/ellipsis.js +30 -90
- package/lib/icon/enlarge-line.js +30 -90
- package/lib/icon/error.js +30 -90
- package/lib/icon/excel-fill.js +30 -90
- package/lib/icon/exclamation-circle-shape.js +30 -90
- package/lib/icon/eye.js +30 -90
- package/lib/icon/filliscreen-line.js +30 -90
- package/lib/icon/folder-open.js +30 -90
- package/lib/icon/folder-shape-open.js +30 -90
- package/lib/icon/folder-shape.js +30 -90
- package/lib/icon/folder.js +30 -90
- package/lib/icon/funnel.js +30 -90
- package/lib/icon/help-document-fill.js +30 -90
- package/lib/icon/help-fill.js +30 -90
- package/lib/icon/help.js +30 -90
- package/lib/icon/image-fill.js +30 -90
- package/lib/icon/img-placehoulder.js +52 -88
- package/lib/icon/index.js +267 -255
- package/lib/icon/info-line.js +52 -88
- package/lib/icon/info.js +52 -88
- package/lib/icon/left-shape.js +52 -88
- package/lib/icon/left-turn-line.js +52 -88
- package/lib/icon/narrow-line.js +52 -88
- package/lib/icon/original.js +52 -88
- package/lib/icon/pdf-fill.js +52 -88
- package/lib/icon/play-shape.js +52 -88
- package/lib/icon/plus.js +52 -88
- package/lib/icon/ppt-fill.js +52 -88
- package/lib/icon/qq.js +52 -88
- package/lib/icon/right-shape.js +52 -88
- package/lib/icon/right-turn-line.js +52 -88
- package/lib/icon/search.js +52 -88
- package/lib/icon/share.js +52 -88
- package/lib/icon/spinner.js +52 -88
- package/lib/icon/success.js +52 -88
- package/lib/icon/switcher-loading.js +52 -88
- package/lib/icon/text-file.js +52 -88
- package/lib/icon/text-fill.js +52 -88
- package/lib/icon/transfer.js +52 -88
- package/lib/icon/tree-application-shape.js +52 -88
- package/lib/icon/unfull-screen.js +52 -88
- package/lib/icon/unvisible.js +52 -88
- package/lib/icon/up-shape.js +52 -88
- package/lib/icon/upload.js +52 -88
- package/lib/icon/video-fill.js +52 -88
- package/lib/icon/warn.js +52 -88
- package/lib/icon/weixin.js +52 -88
- package/lib/image/index.js +164 -213
- package/lib/index.js +50 -134
- package/lib/info-box/index.js +152 -206
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +99 -167
- package/lib/input/input.d.ts +1 -1
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +47 -115
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +67 -127
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.js +92 -156
- package/lib/message/index.js +76 -148
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +85 -151
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +66 -134
- package/lib/notify/index.js +81 -153
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.js +92 -128
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +131 -220
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.js +143 -191
- package/lib/plugins/index.js +33 -100
- package/lib/popover/index.d.ts +10 -10
- package/lib/popover/index.js +148 -194
- package/lib/popover/popover.d.ts +3 -3
- package/lib/popover2/index.js +35 -99
- package/lib/preset.js +37 -104
- package/lib/process/index.d.ts +4 -4
- package/lib/process/index.js +92 -134
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/index.js +63 -127
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.js +81 -142
- package/lib/rate/index.js +63 -127
- package/lib/resize-layout/index.js +79 -147
- package/lib/search-select/index.js +168 -220
- package/lib/select/index.d.ts +10 -10
- package/lib/select/index.js +315 -394
- package/lib/select/select.d.ts +3 -3
- package/lib/shared/index.js +228 -203
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/index.js +88 -137
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +7 -7
- package/lib/slider/index.js +147 -196
- package/lib/slider/slider.d.ts +2 -2
- package/lib/steps/index.js +105 -152
- package/lib/swiper/index.js +62 -126
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +65 -133
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +118 -188
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.js +457 -572
- package/lib/table-column/index.js +129 -197
- package/lib/tag/index.js +58 -130
- package/lib/tag-input/index.d.ts +7 -7
- package/lib/tag-input/index.js +175 -277
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/time-picker/index.js +40 -111
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/index.js +50 -114
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.js +89 -174
- package/lib/tree/index.js +158 -235
- package/lib/upload/index.d.ts +7 -7
- package/lib/upload/index.js +173 -227
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.js +86 -154
- package/package.json +1 -1
package/lib/progress/index.js
CHANGED
@@ -1,102 +1,42 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
/******/ });
|
30
|
-
/************************************************************************/
|
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;
|
40
|
-
/******/ }
|
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
|
-
/******/
|
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
|
+
/******/
|
55
6
|
/************************************************************************/
|
56
|
-
/******/
|
57
|
-
/******/
|
58
|
-
/******/
|
59
|
-
/******/
|
60
|
-
/******/
|
61
|
-
/******/
|
62
|
-
/******/
|
63
|
-
/******/ }
|
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] });
|
64
14
|
/******/ }
|
65
|
-
/******/ }
|
66
|
-
/******/ }
|
67
|
-
/******/
|
68
|
-
/******/
|
69
|
-
/******/
|
70
|
-
/******/
|
71
|
-
/******/
|
72
|
-
/******/
|
73
|
-
/******/
|
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
|
-
/******/
|
15
|
+
/******/ }
|
16
|
+
/******/ };
|
17
|
+
/******/ })();
|
18
|
+
/******/
|
19
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
20
|
+
/******/ (() => {
|
21
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
22
|
+
/******/ })();
|
23
|
+
/******/
|
84
24
|
/************************************************************************/
|
85
25
|
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__);
|
90
26
|
|
91
27
|
// EXPORTS
|
92
28
|
__webpack_require__.d(__webpack_exports__, {
|
93
|
-
"
|
29
|
+
"Z": () => (/* binding */ src)
|
94
30
|
});
|
95
31
|
|
96
|
-
|
97
|
-
var
|
98
|
-
|
99
|
-
|
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 });
|
100
40
|
;// CONCATENATED MODULE: ../../packages/progress/src/circle.tsx
|
101
41
|
|
102
42
|
|
@@ -196,12 +136,12 @@ var Circle = function Circle(_, _ref) {
|
|
196
136
|
"class": "process-circle-path bk-".concat(theme, "-circle-trail"),
|
197
137
|
style: pathStyle
|
198
138
|
};
|
199
|
-
return (0,
|
139
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
200
140
|
"class": "progress-outer-circle",
|
201
141
|
"style": circleStyle
|
202
|
-
}, [(0,
|
142
|
+
}, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
203
143
|
"viewBox": "0 0 100 100"
|
204
|
-
}, [(0,
|
144
|
+
}, [(0,external_vue_namespaceObject.createVNode)("path", progressCircleTrail, null), (0,external_vue_namespaceObject.createVNode)("path", progressCirclePath, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
205
145
|
"class": 'progress-circle-text',
|
206
146
|
"style": titleStyle
|
207
147
|
}, [slots === null || slots === void 0 ? void 0 : slots["default"]()])]);
|
@@ -290,17 +230,17 @@ var Line = function Line(_, _ref) {
|
|
290
230
|
return null;
|
291
231
|
};
|
292
232
|
|
293
|
-
return (0,
|
233
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
294
234
|
"class": "progress-outer"
|
295
|
-
}, [(0,
|
235
|
+
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
296
236
|
"class": "bk-progress-".concat(size || 'normal', " progress-bar"),
|
297
237
|
"style": percentStyle
|
298
|
-
}, [(0,
|
238
|
+
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
299
239
|
"style": barStyle,
|
300
240
|
"class": _defineProperty({
|
301
241
|
'progress-inner': true
|
302
242
|
}, "bk-".concat(theme), true)
|
303
|
-
}, [(0,
|
243
|
+
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
304
244
|
"class": "inner-text",
|
305
245
|
"style": titleStyle
|
306
246
|
}, [showDefault()])])]), showDefault(false)]);
|
@@ -341,33 +281,33 @@ var Line = function Line(_, _ref) {
|
|
341
281
|
|
342
282
|
|
343
283
|
function _isSlot(s) {
|
344
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,
|
284
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
345
285
|
}
|
346
286
|
|
347
|
-
/* harmony default export */ const progress = ((0,
|
287
|
+
/* harmony default export */ const progress = ((0,external_vue_namespaceObject.defineComponent)({
|
348
288
|
name: 'Progress',
|
349
289
|
props: {
|
350
|
-
extCls:
|
351
|
-
type:
|
290
|
+
extCls: external_shared_namespaceObject.PropTypes.string,
|
291
|
+
type: external_shared_namespaceObject.PropTypes.string.validate(function (value) {
|
352
292
|
return ['line', 'circle', 'dashboard'].includes(value);
|
353
293
|
}).def('line'),
|
354
|
-
percent:
|
355
|
-
theme:
|
356
|
-
size:
|
357
|
-
width:
|
358
|
-
strokeWidth:
|
359
|
-
strokeLinecap:
|
360
|
-
textInside:
|
361
|
-
showText:
|
362
|
-
color:
|
363
|
-
bgColor:
|
364
|
-
fixed:
|
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) {
|
365
305
|
return value >= 0 && value <= 20;
|
366
306
|
}).def(0),
|
367
|
-
format:
|
307
|
+
format: external_shared_namespaceObject.PropTypes.func.def(function (percent) {
|
368
308
|
return "".concat(percent, "%");
|
369
309
|
}),
|
370
|
-
titleStyle:
|
310
|
+
titleStyle: external_shared_namespaceObject.PropTypes.object.def({
|
371
311
|
fontSize: '16px',
|
372
312
|
verticalAlign: 'middle'
|
373
313
|
})
|
@@ -403,11 +343,11 @@ function _isSlot(s) {
|
|
403
343
|
var formatPercent = format((_a = this.validPercent(percent)) === null || _a === void 0 ? void 0 : _a.toFixed(fixed));
|
404
344
|
|
405
345
|
if ((showText || this.$slots["default"]) && textInside) {
|
406
|
-
return this.$slots["default"] ? this.$slots["default"]() : (0,
|
346
|
+
return this.$slots["default"] ? this.$slots["default"]() : (0,external_vue_namespaceObject.createVNode)("span", null, [formatPercent]);
|
407
347
|
}
|
408
348
|
|
409
349
|
if (!showText || textInside) return null;
|
410
|
-
return (0,
|
350
|
+
return (0,external_vue_namespaceObject.createVNode)("span", {
|
411
351
|
"class": 'progress-text',
|
412
352
|
"style": typeof formatPercent === 'string' ? titleStyle : undefined
|
413
353
|
}, [this.$slots["default"] ? this.$slots["default"]() : formatPercent]);
|
@@ -419,14 +359,14 @@ function _isSlot(s) {
|
|
419
359
|
percent: this.validPercent(this.percent)
|
420
360
|
});
|
421
361
|
|
422
|
-
var progress = (0,
|
362
|
+
var progress = (0,external_vue_namespaceObject.createVNode)(line, $props, _isSlot(progressInfo) ? progressInfo : {
|
423
363
|
"default": function _default() {
|
424
364
|
return [progressInfo];
|
425
365
|
}
|
426
366
|
});
|
427
367
|
|
428
368
|
if (this.type === 'circle' || this.type === 'dashboard') {
|
429
|
-
progress = (0,
|
369
|
+
progress = (0,external_vue_namespaceObject.createVNode)(circle, $props, _isSlot(progressInfo) ? progressInfo : {
|
430
370
|
"default": function _default() {
|
431
371
|
return [progressInfo];
|
432
372
|
}
|
@@ -434,11 +374,11 @@ function _isSlot(s) {
|
|
434
374
|
}
|
435
375
|
|
436
376
|
var progressProps = {
|
437
|
-
"class": (0,
|
377
|
+
"class": (0,external_shared_namespaceObject.classes)({
|
438
378
|
extCls: !!this.extCls
|
439
379
|
}, "bk-progress bk-progress-".concat(this.type))
|
440
380
|
};
|
441
|
-
return (0,
|
381
|
+
return (0,external_vue_namespaceObject.createVNode)("div", progressProps, [progress]);
|
442
382
|
}
|
443
383
|
}));
|
444
384
|
;// CONCATENATED MODULE: ../../packages/progress/src/index.ts
|
@@ -469,11 +409,7 @@ function _isSlot(s) {
|
|
469
409
|
*/
|
470
410
|
|
471
411
|
|
472
|
-
var BkProgress = (0,
|
412
|
+
var BkProgress = (0,external_shared_namespaceObject.withInstall)(progress);
|
473
413
|
/* harmony default export */ const src = (BkProgress);
|
474
|
-
|
475
|
-
|
476
|
-
/******/ return __webpack_exports__;
|
477
|
-
/******/ })()
|
478
|
-
;
|
479
|
-
});
|
414
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
415
|
+
export { __webpack_exports__default as default };
|
@@ -153,10 +153,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
153
153
|
}>>, {
|
154
154
|
fixed: number;
|
155
155
|
type: string;
|
156
|
-
width: number;
|
157
156
|
theme: "success" | "warning" | "danger" | "primary";
|
158
|
-
color: string;
|
159
157
|
extCls: string;
|
158
|
+
width: number;
|
159
|
+
color: string;
|
160
160
|
strokeLinecap: string;
|
161
161
|
strokeWidth: number;
|
162
162
|
format: (...args: any[]) => any;
|