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/process/index.js
CHANGED
@@ -1,15 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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__ = ({
|
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
|
+
/******/ var __webpack_modules__ = ({
|
13
5
|
|
14
6
|
/***/ 7162:
|
15
7
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
@@ -778,114 +770,78 @@ try {
|
|
778
770
|
}
|
779
771
|
|
780
772
|
|
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
|
-
|
805
773
|
/***/ })
|
806
774
|
|
807
|
-
/******/
|
775
|
+
/******/ });
|
808
776
|
/************************************************************************/
|
809
|
-
/******/
|
810
|
-
/******/
|
811
|
-
/******/
|
812
|
-
/******/
|
813
|
-
/******/
|
814
|
-
/******/
|
815
|
-
/******/
|
816
|
-
/******/
|
817
|
-
/******/
|
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;
|
777
|
+
/******/ // The module cache
|
778
|
+
/******/ var __webpack_module_cache__ = {};
|
779
|
+
/******/
|
780
|
+
/******/ // The require function
|
781
|
+
/******/ function __webpack_require__(moduleId) {
|
782
|
+
/******/ // Check if module is in cache
|
783
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
784
|
+
/******/ if (cachedModule !== undefined) {
|
785
|
+
/******/ return cachedModule.exports;
|
831
786
|
/******/ }
|
832
|
-
/******/
|
787
|
+
/******/ // Create a new module (and put it into the cache)
|
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
|
+
/******/
|
833
801
|
/************************************************************************/
|
834
|
-
/******/
|
835
|
-
/******/
|
836
|
-
/******/
|
837
|
-
/******/
|
838
|
-
/******/
|
839
|
-
/******/
|
840
|
-
/******/
|
841
|
-
/******/
|
842
|
-
/******/
|
843
|
-
/******/
|
844
|
-
/******/
|
845
|
-
/******/
|
846
|
-
/******/
|
847
|
-
/******/
|
848
|
-
/******/
|
849
|
-
/******/
|
850
|
-
/******/
|
851
|
-
/******/
|
852
|
-
/******/
|
853
|
-
/******/ }
|
802
|
+
/******/ /* webpack/runtime/compat get default export */
|
803
|
+
/******/ (() => {
|
804
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
805
|
+
/******/ __webpack_require__.n = (module) => {
|
806
|
+
/******/ var getter = module && module.__esModule ?
|
807
|
+
/******/ () => (module['default']) :
|
808
|
+
/******/ () => (module);
|
809
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
810
|
+
/******/ return getter;
|
811
|
+
/******/ };
|
812
|
+
/******/ })();
|
813
|
+
/******/
|
814
|
+
/******/ /* webpack/runtime/define property getters */
|
815
|
+
/******/ (() => {
|
816
|
+
/******/ // define getter functions for harmony exports
|
817
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
818
|
+
/******/ for(var key in definition) {
|
819
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
820
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
854
821
|
/******/ }
|
855
|
-
/******/ }
|
856
|
-
/******/ }
|
857
|
-
/******/
|
858
|
-
/******/
|
859
|
-
/******/
|
860
|
-
/******/
|
861
|
-
/******/
|
862
|
-
/******/
|
863
|
-
/******/
|
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
|
-
/******/
|
822
|
+
/******/ }
|
823
|
+
/******/ };
|
824
|
+
/******/ })();
|
825
|
+
/******/
|
826
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
827
|
+
/******/ (() => {
|
828
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
829
|
+
/******/ })();
|
830
|
+
/******/
|
874
831
|
/************************************************************************/
|
875
832
|
var __webpack_exports__ = {};
|
876
|
-
// This entry need to be wrapped in an IIFE because it need to be in
|
833
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
877
834
|
(() => {
|
878
|
-
"use strict";
|
879
|
-
// ESM COMPAT FLAG
|
880
|
-
__webpack_require__.r(__webpack_exports__);
|
881
835
|
|
882
836
|
// EXPORTS
|
883
837
|
__webpack_require__.d(__webpack_exports__, {
|
884
|
-
"
|
838
|
+
"Z": () => (/* binding */ src)
|
885
839
|
});
|
886
840
|
|
887
|
-
|
888
|
-
var
|
841
|
+
;// CONCATENATED MODULE: external "../shared"
|
842
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
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 });
|
889
845
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
890
846
|
function _defineProperty(obj, key, value) {
|
891
847
|
if (key in obj) {
|
@@ -942,8 +898,10 @@ function _nonIterableSpread() {
|
|
942
898
|
function _toConsumableArray(arr) {
|
943
899
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
944
900
|
}
|
945
|
-
|
946
|
-
var
|
901
|
+
;// CONCATENATED MODULE: external "vue"
|
902
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
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 });
|
947
905
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
948
906
|
var regenerator = __webpack_require__(7162);
|
949
907
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
@@ -1197,8 +1155,10 @@ function __classPrivateFieldIn(state, receiver) {
|
|
1197
1155
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
1198
1156
|
}
|
1199
1157
|
|
1200
|
-
|
1201
|
-
var
|
1158
|
+
;// CONCATENATED MODULE: external "../icon"
|
1159
|
+
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
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 });
|
1202
1162
|
;// CONCATENATED MODULE: ../../packages/process/src/process.tsx
|
1203
1163
|
|
1204
1164
|
|
@@ -1236,14 +1196,14 @@ var external_icon_ = __webpack_require__(6870);
|
|
1236
1196
|
// import { Error, Circle, Done } from '@bkui-vue/icon';
|
1237
1197
|
|
1238
1198
|
var processProps = {
|
1239
|
-
list:
|
1240
|
-
controllable:
|
1241
|
-
showSteps:
|
1242
|
-
curProcess:
|
1243
|
-
displayKey:
|
1244
|
-
extCls:
|
1199
|
+
list: external_shared_namespaceObject.PropTypes.array.def([]),
|
1200
|
+
controllable: external_shared_namespaceObject.PropTypes.bool.def(false),
|
1201
|
+
showSteps: external_shared_namespaceObject.PropTypes.bool.def(false),
|
1202
|
+
curProcess: external_shared_namespaceObject.PropTypes.number.def(0),
|
1203
|
+
displayKey: external_shared_namespaceObject.PropTypes.string.def('content'),
|
1204
|
+
extCls: external_shared_namespaceObject.PropTypes.string
|
1245
1205
|
};
|
1246
|
-
/* harmony default export */ const process = ((0,
|
1206
|
+
/* harmony default export */ const process = ((0,external_vue_namespaceObject.defineComponent)({
|
1247
1207
|
name: 'Process',
|
1248
1208
|
props: processProps,
|
1249
1209
|
emits: ['update:curProcess', 'click'],
|
@@ -1251,8 +1211,8 @@ var processProps = {
|
|
1251
1211
|
var _this = this;
|
1252
1212
|
|
1253
1213
|
var emit = _ref.emit;
|
1254
|
-
var defaultProcessList = (0,
|
1255
|
-
var paddingBottom = (0,
|
1214
|
+
var defaultProcessList = (0,external_vue_namespaceObject.ref)([]);
|
1215
|
+
var paddingBottom = (0,external_vue_namespaceObject.ref)(0);
|
1256
1216
|
|
1257
1217
|
var init = function init() {
|
1258
1218
|
var _defaultProcessList$v;
|
@@ -1300,7 +1260,7 @@ var processProps = {
|
|
1300
1260
|
}));
|
1301
1261
|
};
|
1302
1262
|
|
1303
|
-
(0,
|
1263
|
+
(0,external_vue_namespaceObject.onMounted)(init);
|
1304
1264
|
return {
|
1305
1265
|
defaultProcessList: defaultProcessList,
|
1306
1266
|
paddingBottom: paddingBottom,
|
@@ -1311,7 +1271,7 @@ var processProps = {
|
|
1311
1271
|
var _this2 = this;
|
1312
1272
|
|
1313
1273
|
var processClsPrefix = 'bk-process';
|
1314
|
-
var processCls = (0,
|
1274
|
+
var processCls = (0,external_shared_namespaceObject.classes)(_defineProperty({}, "".concat(this.extCls), !!this.extCls), "".concat(processClsPrefix));
|
1315
1275
|
|
1316
1276
|
var isLoadingStatus = function isLoadingStatus(item) {
|
1317
1277
|
return item.status === 'loading';
|
@@ -1331,39 +1291,39 @@ var processProps = {
|
|
1331
1291
|
|
1332
1292
|
var renderIcon = function renderIcon(index, item) {
|
1333
1293
|
if (index === _this2.curProcess - 1 && isLoadingStatus(item)) {
|
1334
|
-
return (0,
|
1294
|
+
return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Circle, {
|
1335
1295
|
"class": "bk-icon bk-process-icon icon-loading"
|
1336
1296
|
}, null);
|
1337
1297
|
}
|
1338
1298
|
|
1339
1299
|
if (index === _this2.curProcess - 1 && isErrorStatus(item)) {
|
1340
|
-
return (0,
|
1300
|
+
return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
|
1341
1301
|
"class": "bk-process-icon"
|
1342
1302
|
}, null);
|
1343
1303
|
}
|
1344
1304
|
|
1345
1305
|
if (index === _this2.curProcess - 1 && isIcon(item)) {
|
1346
|
-
return (0,
|
1306
|
+
return (0,external_vue_namespaceObject.createVNode)("span", {
|
1347
1307
|
"class": "bk-process-icon-custom"
|
1348
|
-
}, [(0,
|
1308
|
+
}, [(0,external_vue_namespaceObject.createVNode)(item.icon, null, null)]);
|
1349
1309
|
}
|
1350
1310
|
|
1351
1311
|
if (isDone(index)) {
|
1352
|
-
return (0,
|
1312
|
+
return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
|
1353
1313
|
"class": "bk-process-icon-done"
|
1354
1314
|
}, null);
|
1355
1315
|
} // return (<span class="number">{<item.icon/>}</span>);
|
1356
1316
|
|
1357
1317
|
};
|
1358
1318
|
|
1359
|
-
return (0,
|
1319
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1360
1320
|
"class": processCls
|
1361
|
-
}, [(0,
|
1321
|
+
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
1362
1322
|
"style": {
|
1363
1323
|
paddingBottom: "".concat(this.paddingBottom, "px")
|
1364
1324
|
}
|
1365
1325
|
}, [this.defaultProcessList.map(function (item, index) {
|
1366
|
-
return (0,
|
1326
|
+
return (0,external_vue_namespaceObject.createVNode)("li", {
|
1367
1327
|
"onClick": function onClick() {
|
1368
1328
|
_this2.jumpTo(index + 1);
|
1369
1329
|
},
|
@@ -1407,11 +1367,9 @@ var processProps = {
|
|
1407
1367
|
*/
|
1408
1368
|
|
1409
1369
|
|
1410
|
-
var BkProcess = (0,
|
1370
|
+
var BkProcess = (0,external_shared_namespaceObject.withInstall)(process);
|
1411
1371
|
/* harmony default export */ const src = (BkProcess);
|
1412
1372
|
})();
|
1413
1373
|
|
1414
|
-
|
1415
|
-
|
1416
|
-
;
|
1417
|
-
});
|
1374
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
1375
|
+
export { __webpack_exports__default as default };
|
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
|
-
list: unknown[];
|
125
124
|
extCls: string;
|
125
|
+
list: unknown[];
|
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
|
-
width: number;
|
9
8
|
theme: "success" | "warning" | "danger" | "primary";
|
10
|
-
color: string;
|
11
9
|
extCls: string;
|
10
|
+
width: number;
|
11
|
+
color: 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" | "theme" | "extCls" | "width" | "color" | "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
|
-
width: number;
|
189
188
|
theme: "success" | "warning" | "danger" | "primary";
|
190
|
-
color: string;
|
191
189
|
extCls: string;
|
190
|
+
width: number;
|
191
|
+
color: 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
|
-
width: number;
|
384
383
|
theme: "success" | "warning" | "danger" | "primary";
|
385
|
-
color: string;
|
386
384
|
extCls: string;
|
385
|
+
width: number;
|
386
|
+
color: string;
|
387
387
|
strokeLinecap: string;
|
388
388
|
strokeWidth: number;
|
389
389
|
format: (...args: any[]) => any;
|