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.
- package/dist/index.cjs.js +22 -22
- package/dist/index.esm.js +0 -1
- package/dist/index.umd.js +23 -23
- package/lib/affix/index.js +128 -60
- package/lib/alert/index.js +124 -56
- package/lib/animate-number/index.js +106 -42
- package/lib/backtop/index.js +133 -61
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/badge/index.js +114 -50
- 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 +133 -67
- package/lib/button/index.js +147 -68
- package/lib/card/index.js +154 -69
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +10 -10
- package/lib/cascader/index.js +242 -168
- package/lib/checkbox/index.js +139 -77
- package/lib/code-diff/index.js +121 -79
- package/lib/collapse/index.js +150 -84
- 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 +245 -193
- package/lib/components.js +671 -434
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +4 -4
- package/lib/container/index.js +125 -64
- 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 +563 -462
- 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 +198 -108
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +139 -86
- package/lib/dist.index.js +133 -48
- package/lib/divider/index.js +118 -50
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/dropdown/index.js +155 -73
- package/lib/exception/index.js +145 -97
- 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 +107 -43
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.js +193 -107
- package/lib/icon/angle-double-down-line.js +90 -30
- package/lib/icon/angle-double-left-line.js +90 -30
- package/lib/icon/angle-double-left.js +90 -30
- package/lib/icon/angle-double-right-line.js +90 -30
- package/lib/icon/angle-double-right.js +90 -30
- package/lib/icon/angle-double-up-line.js +90 -30
- package/lib/icon/angle-down-fill.js +90 -30
- package/lib/icon/angle-down-line.js +90 -30
- package/lib/icon/angle-down.js +90 -30
- package/lib/icon/angle-left.js +90 -30
- package/lib/icon/angle-right.js +90 -30
- package/lib/icon/angle-up-fill.js +90 -30
- package/lib/icon/angle-up.js +90 -30
- package/lib/icon/archive-fill.js +90 -30
- package/lib/icon/arrows-left.js +90 -30
- package/lib/icon/arrows-right.js +90 -30
- package/lib/icon/audio-fill.js +90 -30
- package/lib/icon/bk.js +90 -30
- package/lib/icon/circle.js +90 -30
- package/lib/icon/close-line.js +90 -30
- package/lib/icon/close.js +90 -30
- package/lib/icon/code.js +90 -30
- package/lib/icon/cog-shape.js +90 -30
- package/lib/icon/collapse-left.js +90 -30
- package/lib/icon/copy.js +90 -30
- package/lib/icon/data-shape.js +90 -30
- package/lib/icon/del.js +90 -30
- package/lib/icon/doc-fill.js +90 -30
- package/lib/icon/done.js +90 -30
- package/lib/icon/down-shape.js +90 -30
- package/lib/icon/down-small.js +90 -30
- package/lib/icon/edit-line.js +90 -30
- package/lib/icon/ellipsis.js +90 -30
- package/lib/icon/enlarge-line.js +90 -30
- package/lib/icon/error.js +90 -30
- package/lib/icon/excel-fill.js +90 -30
- package/lib/icon/exclamation-circle-shape.js +90 -30
- package/lib/icon/eye.js +90 -30
- package/lib/icon/filliscreen-line.js +90 -30
- package/lib/icon/folder-open.js +90 -30
- package/lib/icon/folder-shape-open.js +90 -30
- package/lib/icon/folder-shape.js +90 -30
- package/lib/icon/folder.js +90 -30
- package/lib/icon/funnel.js +90 -30
- package/lib/icon/help-document-fill.js +90 -30
- package/lib/icon/help-fill.js +90 -30
- package/lib/icon/help.js +90 -30
- package/lib/icon/image-fill.js +90 -30
- package/lib/icon/img-placehoulder.js +88 -52
- package/lib/icon/index.js +255 -267
- package/lib/icon/info-line.js +88 -52
- package/lib/icon/info.js +88 -52
- package/lib/icon/left-shape.js +88 -52
- package/lib/icon/left-turn-line.js +88 -52
- package/lib/icon/narrow-line.js +88 -52
- package/lib/icon/original.js +88 -52
- package/lib/icon/pdf-fill.js +88 -52
- package/lib/icon/play-shape.js +88 -52
- package/lib/icon/plus.js +88 -52
- package/lib/icon/ppt-fill.js +88 -52
- package/lib/icon/qq.js +88 -52
- package/lib/icon/right-shape.js +88 -52
- package/lib/icon/right-turn-line.js +88 -52
- package/lib/icon/search.js +88 -52
- package/lib/icon/share.js +88 -52
- package/lib/icon/spinner.js +88 -52
- package/lib/icon/success.js +88 -52
- package/lib/icon/switcher-loading.js +88 -52
- package/lib/icon/text-file.js +88 -52
- package/lib/icon/text-fill.js +88 -52
- package/lib/icon/transfer.js +88 -52
- package/lib/icon/tree-application-shape.js +88 -52
- package/lib/icon/unfull-screen.js +88 -52
- package/lib/icon/unvisible.js +88 -52
- package/lib/icon/up-shape.js +88 -52
- package/lib/icon/upload.js +88 -52
- package/lib/icon/video-fill.js +88 -52
- package/lib/icon/warn.js +88 -52
- package/lib/icon/weixin.js +88 -52
- package/lib/image/index.js +213 -164
- package/lib/index.js +134 -50
- package/lib/info-box/index.js +206 -152
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +167 -99
- package/lib/input/input.d.ts +1 -1
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +115 -47
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +127 -67
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.js +156 -92
- package/lib/message/index.js +148 -76
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +151 -85
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +134 -66
- package/lib/notify/index.js +153 -81
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.js +128 -92
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +220 -131
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.js +190 -143
- package/lib/plugins/index.js +100 -33
- package/lib/popover/index.d.ts +10 -10
- package/lib/popover/index.js +193 -148
- package/lib/popover/popover.d.ts +3 -3
- package/lib/popover2/index.js +99 -35
- package/lib/preset.js +104 -37
- package/lib/process/index.d.ts +4 -4
- package/lib/process/index.js +134 -92
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/index.js +127 -63
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.js +142 -81
- package/lib/rate/index.js +127 -63
- package/lib/resize-layout/index.js +147 -79
- package/lib/search-select/index.js +220 -168
- package/lib/select/index.d.ts +10 -10
- package/lib/select/index.js +394 -315
- package/lib/select/select.d.ts +3 -3
- package/lib/shared/index.js +203 -228
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/index.js +137 -88
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +7 -7
- package/lib/slider/index.js +196 -147
- package/lib/slider/slider.d.ts +2 -2
- package/lib/steps/index.js +152 -105
- package/lib/swiper/index.js +126 -62
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +133 -65
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +188 -118
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.js +572 -457
- package/lib/table-column/index.js +197 -129
- package/lib/tag/index.js +130 -58
- package/lib/tag-input/index.d.ts +7 -7
- package/lib/tag-input/index.js +277 -175
- 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 +111 -40
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/index.js +114 -50
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.js +174 -89
- package/lib/tree/index.js +235 -158
- package/lib/upload/index.d.ts +7 -7
- package/lib/upload/index.js +227 -173
- 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 +154 -86
- package/package.json +1 -1
package/lib/process/index.js
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
+
/******/ var __webpack_modules__ = ({
|
5
13
|
|
6
14
|
/***/ 7162:
|
7
15
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
@@ -770,78 +778,114 @@ try {
|
|
770
778
|
}
|
771
779
|
|
772
780
|
|
781
|
+
/***/ }),
|
782
|
+
|
783
|
+
/***/ 6870:
|
784
|
+
/***/ ((module) => {
|
785
|
+
|
786
|
+
"use strict";
|
787
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
|
788
|
+
|
789
|
+
/***/ }),
|
790
|
+
|
791
|
+
/***/ 4212:
|
792
|
+
/***/ ((module) => {
|
793
|
+
|
794
|
+
"use strict";
|
795
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
|
796
|
+
|
797
|
+
/***/ }),
|
798
|
+
|
799
|
+
/***/ 748:
|
800
|
+
/***/ ((module) => {
|
801
|
+
|
802
|
+
"use strict";
|
803
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
|
804
|
+
|
773
805
|
/***/ })
|
774
806
|
|
775
|
-
/******/
|
807
|
+
/******/ });
|
776
808
|
/************************************************************************/
|
777
|
-
/******/
|
778
|
-
/******/
|
779
|
-
/******/
|
780
|
-
/******/
|
781
|
-
/******/
|
782
|
-
/******/
|
783
|
-
/******/
|
784
|
-
/******/
|
785
|
-
/******/
|
809
|
+
/******/ // The module cache
|
810
|
+
/******/ var __webpack_module_cache__ = {};
|
811
|
+
/******/
|
812
|
+
/******/ // The require function
|
813
|
+
/******/ function __webpack_require__(moduleId) {
|
814
|
+
/******/ // Check if module is in cache
|
815
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
816
|
+
/******/ if (cachedModule !== undefined) {
|
817
|
+
/******/ return cachedModule.exports;
|
818
|
+
/******/ }
|
819
|
+
/******/ // Create a new module (and put it into the cache)
|
820
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
821
|
+
/******/ // no module.id needed
|
822
|
+
/******/ // no module.loaded needed
|
823
|
+
/******/ exports: {}
|
824
|
+
/******/ };
|
825
|
+
/******/
|
826
|
+
/******/ // Execute the module function
|
827
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
828
|
+
/******/
|
829
|
+
/******/ // Return the exports of the module
|
830
|
+
/******/ return module.exports;
|
786
831
|
/******/ }
|
787
|
-
/******/
|
788
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
789
|
-
/******/ // no module.id needed
|
790
|
-
/******/ // no module.loaded needed
|
791
|
-
/******/ exports: {}
|
792
|
-
/******/ };
|
793
|
-
/******/
|
794
|
-
/******/ // Execute the module function
|
795
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
796
|
-
/******/
|
797
|
-
/******/ // Return the exports of the module
|
798
|
-
/******/ return module.exports;
|
799
|
-
/******/ }
|
800
|
-
/******/
|
832
|
+
/******/
|
801
833
|
/************************************************************************/
|
802
|
-
/******/
|
803
|
-
/******/
|
804
|
-
/******/
|
805
|
-
/******/
|
806
|
-
/******/
|
807
|
-
/******/
|
808
|
-
/******/
|
809
|
-
/******/
|
810
|
-
/******/
|
811
|
-
/******/
|
812
|
-
/******/
|
813
|
-
/******/
|
814
|
-
/******/
|
815
|
-
/******/
|
816
|
-
/******/
|
817
|
-
/******/
|
818
|
-
/******/
|
819
|
-
/******/
|
820
|
-
/******/
|
834
|
+
/******/ /* webpack/runtime/compat get default export */
|
835
|
+
/******/ (() => {
|
836
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
837
|
+
/******/ __webpack_require__.n = (module) => {
|
838
|
+
/******/ var getter = module && module.__esModule ?
|
839
|
+
/******/ () => (module['default']) :
|
840
|
+
/******/ () => (module);
|
841
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
842
|
+
/******/ return getter;
|
843
|
+
/******/ };
|
844
|
+
/******/ })();
|
845
|
+
/******/
|
846
|
+
/******/ /* webpack/runtime/define property getters */
|
847
|
+
/******/ (() => {
|
848
|
+
/******/ // define getter functions for harmony exports
|
849
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
850
|
+
/******/ for(var key in definition) {
|
851
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
852
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
853
|
+
/******/ }
|
821
854
|
/******/ }
|
822
|
-
/******/ }
|
823
|
-
/******/ };
|
824
|
-
/******/
|
825
|
-
/******/
|
826
|
-
/******/
|
827
|
-
/******/ (
|
828
|
-
/******/
|
829
|
-
/******/
|
830
|
-
/******/
|
855
|
+
/******/ };
|
856
|
+
/******/ })();
|
857
|
+
/******/
|
858
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
859
|
+
/******/ (() => {
|
860
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
861
|
+
/******/ })();
|
862
|
+
/******/
|
863
|
+
/******/ /* webpack/runtime/make namespace object */
|
864
|
+
/******/ (() => {
|
865
|
+
/******/ // define __esModule on exports
|
866
|
+
/******/ __webpack_require__.r = (exports) => {
|
867
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
868
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
869
|
+
/******/ }
|
870
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
871
|
+
/******/ };
|
872
|
+
/******/ })();
|
873
|
+
/******/
|
831
874
|
/************************************************************************/
|
832
875
|
var __webpack_exports__ = {};
|
833
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
876
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
834
877
|
(() => {
|
878
|
+
"use strict";
|
879
|
+
// ESM COMPAT FLAG
|
880
|
+
__webpack_require__.r(__webpack_exports__);
|
835
881
|
|
836
882
|
// EXPORTS
|
837
883
|
__webpack_require__.d(__webpack_exports__, {
|
838
|
-
"
|
884
|
+
"default": () => (/* binding */ src)
|
839
885
|
});
|
840
886
|
|
841
|
-
|
842
|
-
var
|
843
|
-
var y = x => () => x
|
844
|
-
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
887
|
+
// EXTERNAL MODULE: external "../shared"
|
888
|
+
var external_shared_ = __webpack_require__(4212);
|
845
889
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
846
890
|
function _defineProperty(obj, key, value) {
|
847
891
|
if (key in obj) {
|
@@ -898,10 +942,8 @@ function _nonIterableSpread() {
|
|
898
942
|
function _toConsumableArray(arr) {
|
899
943
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
900
944
|
}
|
901
|
-
|
902
|
-
var
|
903
|
-
var external_vue_y = x => () => x
|
904
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
945
|
+
// EXTERNAL MODULE: external "vue"
|
946
|
+
var external_vue_ = __webpack_require__(748);
|
905
947
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
906
948
|
var regenerator = __webpack_require__(7162);
|
907
949
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
@@ -1155,10 +1197,8 @@ function __classPrivateFieldIn(state, receiver) {
|
|
1155
1197
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
1156
1198
|
}
|
1157
1199
|
|
1158
|
-
|
1159
|
-
var
|
1160
|
-
var external_icon_y = x => () => x
|
1161
|
-
const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Circle, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Done, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Error });
|
1200
|
+
// EXTERNAL MODULE: external "../icon"
|
1201
|
+
var external_icon_ = __webpack_require__(6870);
|
1162
1202
|
;// CONCATENATED MODULE: ../../packages/process/src/process.tsx
|
1163
1203
|
|
1164
1204
|
|
@@ -1196,14 +1236,14 @@ const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBP
|
|
1196
1236
|
// import { Error, Circle, Done } from '@bkui-vue/icon';
|
1197
1237
|
|
1198
1238
|
var processProps = {
|
1199
|
-
list:
|
1200
|
-
controllable:
|
1201
|
-
showSteps:
|
1202
|
-
curProcess:
|
1203
|
-
displayKey:
|
1204
|
-
extCls:
|
1239
|
+
list: external_shared_.PropTypes.array.def([]),
|
1240
|
+
controllable: external_shared_.PropTypes.bool.def(false),
|
1241
|
+
showSteps: external_shared_.PropTypes.bool.def(false),
|
1242
|
+
curProcess: external_shared_.PropTypes.number.def(0),
|
1243
|
+
displayKey: external_shared_.PropTypes.string.def('content'),
|
1244
|
+
extCls: external_shared_.PropTypes.string
|
1205
1245
|
};
|
1206
|
-
/* harmony default export */ const process = ((0,
|
1246
|
+
/* harmony default export */ const process = ((0,external_vue_.defineComponent)({
|
1207
1247
|
name: 'Process',
|
1208
1248
|
props: processProps,
|
1209
1249
|
emits: ['update:curProcess', 'click'],
|
@@ -1211,8 +1251,8 @@ var processProps = {
|
|
1211
1251
|
var _this = this;
|
1212
1252
|
|
1213
1253
|
var emit = _ref.emit;
|
1214
|
-
var defaultProcessList = (0,
|
1215
|
-
var paddingBottom = (0,
|
1254
|
+
var defaultProcessList = (0,external_vue_.ref)([]);
|
1255
|
+
var paddingBottom = (0,external_vue_.ref)(0);
|
1216
1256
|
|
1217
1257
|
var init = function init() {
|
1218
1258
|
var _defaultProcessList$v;
|
@@ -1260,7 +1300,7 @@ var processProps = {
|
|
1260
1300
|
}));
|
1261
1301
|
};
|
1262
1302
|
|
1263
|
-
(0,
|
1303
|
+
(0,external_vue_.onMounted)(init);
|
1264
1304
|
return {
|
1265
1305
|
defaultProcessList: defaultProcessList,
|
1266
1306
|
paddingBottom: paddingBottom,
|
@@ -1271,7 +1311,7 @@ var processProps = {
|
|
1271
1311
|
var _this2 = this;
|
1272
1312
|
|
1273
1313
|
var processClsPrefix = 'bk-process';
|
1274
|
-
var processCls = (0,
|
1314
|
+
var processCls = (0,external_shared_.classes)(_defineProperty({}, "".concat(this.extCls), !!this.extCls), "".concat(processClsPrefix));
|
1275
1315
|
|
1276
1316
|
var isLoadingStatus = function isLoadingStatus(item) {
|
1277
1317
|
return item.status === 'loading';
|
@@ -1291,39 +1331,39 @@ var processProps = {
|
|
1291
1331
|
|
1292
1332
|
var renderIcon = function renderIcon(index, item) {
|
1293
1333
|
if (index === _this2.curProcess - 1 && isLoadingStatus(item)) {
|
1294
|
-
return (0,
|
1334
|
+
return (0,external_vue_.createVNode)(external_icon_.Circle, {
|
1295
1335
|
"class": "bk-icon bk-process-icon icon-loading"
|
1296
1336
|
}, null);
|
1297
1337
|
}
|
1298
1338
|
|
1299
1339
|
if (index === _this2.curProcess - 1 && isErrorStatus(item)) {
|
1300
|
-
return (0,
|
1340
|
+
return (0,external_vue_.createVNode)(external_icon_.Error, {
|
1301
1341
|
"class": "bk-process-icon"
|
1302
1342
|
}, null);
|
1303
1343
|
}
|
1304
1344
|
|
1305
1345
|
if (index === _this2.curProcess - 1 && isIcon(item)) {
|
1306
|
-
return (0,
|
1346
|
+
return (0,external_vue_.createVNode)("span", {
|
1307
1347
|
"class": "bk-process-icon-custom"
|
1308
|
-
}, [(0,
|
1348
|
+
}, [(0,external_vue_.createVNode)(item.icon, null, null)]);
|
1309
1349
|
}
|
1310
1350
|
|
1311
1351
|
if (isDone(index)) {
|
1312
|
-
return (0,
|
1352
|
+
return (0,external_vue_.createVNode)(external_icon_.Done, {
|
1313
1353
|
"class": "bk-process-icon-done"
|
1314
1354
|
}, null);
|
1315
1355
|
} // return (<span class="number">{<item.icon/>}</span>);
|
1316
1356
|
|
1317
1357
|
};
|
1318
1358
|
|
1319
|
-
return (0,
|
1359
|
+
return (0,external_vue_.createVNode)("div", {
|
1320
1360
|
"class": processCls
|
1321
|
-
}, [(0,
|
1361
|
+
}, [(0,external_vue_.createVNode)("ul", {
|
1322
1362
|
"style": {
|
1323
1363
|
paddingBottom: "".concat(this.paddingBottom, "px")
|
1324
1364
|
}
|
1325
1365
|
}, [this.defaultProcessList.map(function (item, index) {
|
1326
|
-
return (0,
|
1366
|
+
return (0,external_vue_.createVNode)("li", {
|
1327
1367
|
"onClick": function onClick() {
|
1328
1368
|
_this2.jumpTo(index + 1);
|
1329
1369
|
},
|
@@ -1367,9 +1407,11 @@ var processProps = {
|
|
1367
1407
|
*/
|
1368
1408
|
|
1369
1409
|
|
1370
|
-
var BkProcess = (0,
|
1410
|
+
var BkProcess = (0,external_shared_.withInstall)(process);
|
1371
1411
|
/* harmony default export */ const src = (BkProcess);
|
1372
1412
|
})();
|
1373
1413
|
|
1374
|
-
|
1375
|
-
|
1414
|
+
/******/ return __webpack_exports__;
|
1415
|
+
/******/ })()
|
1416
|
+
;
|
1417
|
+
});
|
package/lib/process/process.d.ts
CHANGED
@@ -121,8 +121,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
121
121
|
onClick?: (...args: any[]) => any;
|
122
122
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
123
123
|
}, {
|
124
|
-
extCls: string;
|
125
124
|
list: unknown[];
|
125
|
+
extCls: string;
|
126
126
|
displayKey: string;
|
127
127
|
controllable: boolean;
|
128
128
|
showSteps: boolean;
|
package/lib/progress/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ declare const BkProgress: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
fixed: number;
|
7
7
|
type: string;
|
8
|
-
theme: "success" | "warning" | "danger" | "primary";
|
9
|
-
extCls: string;
|
10
8
|
width: number;
|
9
|
+
theme: "success" | "warning" | "danger" | "primary";
|
11
10
|
color: string;
|
11
|
+
extCls: string;
|
12
12
|
strokeLinecap: string;
|
13
13
|
strokeWidth: number;
|
14
14
|
format: (...args: any[]) => any;
|
@@ -91,7 +91,7 @@ declare const BkProgress: {
|
|
91
91
|
[key: string]: any;
|
92
92
|
};
|
93
93
|
};
|
94
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "
|
94
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "width" | "theme" | "color" | "extCls" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
|
95
95
|
$attrs: {
|
96
96
|
[x: string]: unknown;
|
97
97
|
};
|
@@ -185,10 +185,10 @@ declare const BkProgress: {
|
|
185
185
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
186
186
|
fixed: number;
|
187
187
|
type: string;
|
188
|
-
theme: "success" | "warning" | "danger" | "primary";
|
189
|
-
extCls: string;
|
190
188
|
width: number;
|
189
|
+
theme: "success" | "warning" | "danger" | "primary";
|
191
190
|
color: string;
|
191
|
+
extCls: string;
|
192
192
|
strokeLinecap: string;
|
193
193
|
strokeWidth: number;
|
194
194
|
format: (...args: any[]) => any;
|
@@ -380,10 +380,10 @@ declare const BkProgress: {
|
|
380
380
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
381
381
|
fixed: number;
|
382
382
|
type: string;
|
383
|
-
theme: "success" | "warning" | "danger" | "primary";
|
384
|
-
extCls: string;
|
385
383
|
width: number;
|
384
|
+
theme: "success" | "warning" | "danger" | "primary";
|
386
385
|
color: string;
|
386
|
+
extCls: string;
|
387
387
|
strokeLinecap: string;
|
388
388
|
strokeWidth: number;
|
389
389
|
format: (...args: any[]) => any;
|