bkui-vue 0.0.1-beta.389 → 0.0.1-beta.390

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/lib/affix/index.js +60 -128
  2. package/lib/alert/index.js +56 -124
  3. package/lib/animate-number/index.js +42 -106
  4. package/lib/backtop/index.js +61 -133
  5. package/lib/badge/badge.d.ts +1 -1
  6. package/lib/badge/index.d.ts +4 -4
  7. package/lib/badge/index.js +50 -114
  8. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  9. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  10. package/lib/breadcrumb/index.d.ts +5 -5
  11. package/lib/breadcrumb/index.js +67 -133
  12. package/lib/button/index.js +68 -147
  13. package/lib/card/index.js +69 -154
  14. package/lib/cascader/cascader.d.ts +3 -3
  15. package/lib/cascader/index.d.ts +10 -10
  16. package/lib/cascader/index.js +168 -242
  17. package/lib/checkbox/index.js +77 -139
  18. package/lib/code-diff/index.js +79 -121
  19. package/lib/collapse/index.js +84 -150
  20. package/lib/color-picker/color-picker.d.ts +1 -1
  21. package/lib/color-picker/index.d.ts +4 -4
  22. package/lib/color-picker/index.js +193 -245
  23. package/lib/components.js +434 -671
  24. package/lib/container/container.d.ts +1 -1
  25. package/lib/container/index.d.ts +4 -4
  26. package/lib/container/index.js +64 -125
  27. package/lib/date-picker/date-picker.d.ts +2 -2
  28. package/lib/date-picker/index.d.ts +7 -7
  29. package/lib/date-picker/index.js +462 -563
  30. package/lib/date-picker/panel/time-range.d.ts +3 -3
  31. package/lib/date-picker/panel/time.d.ts +3 -3
  32. package/lib/date-picker/time-picker.d.ts +3 -3
  33. package/lib/dialog/dialog.d.ts +2 -2
  34. package/lib/dialog/index.d.ts +7 -7
  35. package/lib/dialog/index.js +108 -198
  36. package/lib/directives/index.d.ts +0 -2
  37. package/lib/directives/index.js +86 -140
  38. package/lib/dist.index.js +48 -133
  39. package/lib/divider/index.js +50 -118
  40. package/lib/dropdown/dropdown.d.ts +2 -2
  41. package/lib/dropdown/index.d.ts +7 -7
  42. package/lib/dropdown/index.js +73 -155
  43. package/lib/exception/index.js +97 -145
  44. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  45. package/lib/fixed-navbar/index.d.ts +4 -4
  46. package/lib/fixed-navbar/index.js +43 -107
  47. package/lib/form/form-item.d.ts +1 -1
  48. package/lib/form/index.d.ts +1 -1
  49. package/lib/form/index.js +107 -193
  50. package/lib/icon/angle-double-down-line.js +30 -90
  51. package/lib/icon/angle-double-left-line.js +30 -90
  52. package/lib/icon/angle-double-left.js +30 -90
  53. package/lib/icon/angle-double-right-line.js +30 -90
  54. package/lib/icon/angle-double-right.js +30 -90
  55. package/lib/icon/angle-double-up-line.js +30 -90
  56. package/lib/icon/angle-down-fill.js +30 -90
  57. package/lib/icon/angle-down-line.js +30 -90
  58. package/lib/icon/angle-down.js +30 -90
  59. package/lib/icon/angle-left.js +30 -90
  60. package/lib/icon/angle-right.js +30 -90
  61. package/lib/icon/angle-up-fill.js +30 -90
  62. package/lib/icon/angle-up.js +30 -90
  63. package/lib/icon/archive-fill.js +30 -90
  64. package/lib/icon/arrows-left.js +30 -90
  65. package/lib/icon/arrows-right.js +30 -90
  66. package/lib/icon/audio-fill.js +30 -90
  67. package/lib/icon/bk.js +30 -90
  68. package/lib/icon/circle.js +30 -90
  69. package/lib/icon/close-line.js +30 -90
  70. package/lib/icon/close.js +30 -90
  71. package/lib/icon/code.js +30 -90
  72. package/lib/icon/cog-shape.js +30 -90
  73. package/lib/icon/collapse-left.js +30 -90
  74. package/lib/icon/copy.js +30 -90
  75. package/lib/icon/data-shape.js +30 -90
  76. package/lib/icon/del.js +30 -90
  77. package/lib/icon/doc-fill.js +30 -90
  78. package/lib/icon/done.js +30 -90
  79. package/lib/icon/down-shape.js +30 -90
  80. package/lib/icon/down-small.js +30 -90
  81. package/lib/icon/edit-line.js +30 -90
  82. package/lib/icon/ellipsis.js +30 -90
  83. package/lib/icon/enlarge-line.js +30 -90
  84. package/lib/icon/error.js +30 -90
  85. package/lib/icon/excel-fill.js +30 -90
  86. package/lib/icon/exclamation-circle-shape.js +30 -90
  87. package/lib/icon/eye.js +30 -90
  88. package/lib/icon/filliscreen-line.js +30 -90
  89. package/lib/icon/folder-open.js +30 -90
  90. package/lib/icon/folder-shape-open.js +30 -90
  91. package/lib/icon/folder-shape.js +30 -90
  92. package/lib/icon/folder.js +30 -90
  93. package/lib/icon/funnel.js +30 -90
  94. package/lib/icon/help-document-fill.js +30 -90
  95. package/lib/icon/help-fill.js +30 -90
  96. package/lib/icon/help.js +30 -90
  97. package/lib/icon/image-fill.js +30 -90
  98. package/lib/icon/img-placehoulder.js +52 -88
  99. package/lib/icon/index.js +267 -255
  100. package/lib/icon/info-line.js +52 -88
  101. package/lib/icon/info.js +52 -88
  102. package/lib/icon/left-shape.js +52 -88
  103. package/lib/icon/left-turn-line.js +52 -88
  104. package/lib/icon/narrow-line.js +52 -88
  105. package/lib/icon/original.js +52 -88
  106. package/lib/icon/pdf-fill.js +52 -88
  107. package/lib/icon/play-shape.js +52 -88
  108. package/lib/icon/plus.js +52 -88
  109. package/lib/icon/ppt-fill.js +52 -88
  110. package/lib/icon/qq.js +52 -88
  111. package/lib/icon/right-shape.js +52 -88
  112. package/lib/icon/right-turn-line.js +52 -88
  113. package/lib/icon/search.js +52 -88
  114. package/lib/icon/share.js +52 -88
  115. package/lib/icon/spinner.js +52 -88
  116. package/lib/icon/success.js +52 -88
  117. package/lib/icon/switcher-loading.js +52 -88
  118. package/lib/icon/text-file.js +52 -88
  119. package/lib/icon/text-fill.js +52 -88
  120. package/lib/icon/transfer.js +52 -88
  121. package/lib/icon/tree-application-shape.js +52 -88
  122. package/lib/icon/unfull-screen.js +52 -88
  123. package/lib/icon/unvisible.js +52 -88
  124. package/lib/icon/up-shape.js +52 -88
  125. package/lib/icon/upload.js +52 -88
  126. package/lib/icon/video-fill.js +52 -88
  127. package/lib/icon/warn.js +52 -88
  128. package/lib/icon/weixin.js +52 -88
  129. package/lib/image/index.js +164 -213
  130. package/lib/index.js +50 -134
  131. package/lib/info-box/index.js +152 -206
  132. package/lib/input/index.d.ts +4 -4
  133. package/lib/input/index.js +99 -167
  134. package/lib/input/input.d.ts +1 -1
  135. package/lib/link/index.d.ts +4 -4
  136. package/lib/link/index.js +47 -115
  137. package/lib/link/link.d.ts +1 -1
  138. package/lib/loading/index.d.ts +4 -4
  139. package/lib/loading/index.js +67 -127
  140. package/lib/loading/loading.d.ts +1 -1
  141. package/lib/menu/index.js +92 -156
  142. package/lib/message/index.js +76 -148
  143. package/lib/modal/index.d.ts +4 -4
  144. package/lib/modal/index.js +85 -151
  145. package/lib/modal/modal.d.ts +1 -1
  146. package/lib/navigation/index.js +66 -134
  147. package/lib/notify/index.js +81 -153
  148. package/lib/notify/notifyConstructor.d.ts +1 -1
  149. package/lib/overflow-title/index.js +92 -128
  150. package/lib/pagination/index.d.ts +4 -4
  151. package/lib/pagination/index.js +131 -220
  152. package/lib/pagination/pagination.d.ts +1 -1
  153. package/lib/plugin-popover/index.js +143 -191
  154. package/lib/plugins/index.js +33 -100
  155. package/lib/popover/index.d.ts +10 -10
  156. package/lib/popover/index.js +148 -194
  157. package/lib/popover/popover.d.ts +3 -3
  158. package/lib/popover2/index.js +35 -99
  159. package/lib/preset.js +37 -104
  160. package/lib/process/index.d.ts +4 -4
  161. package/lib/process/index.js +92 -134
  162. package/lib/process/process.d.ts +1 -1
  163. package/lib/progress/index.d.ts +7 -7
  164. package/lib/progress/index.js +63 -127
  165. package/lib/progress/progress.d.ts +2 -2
  166. package/lib/radio/index.js +81 -142
  167. package/lib/rate/index.js +63 -127
  168. package/lib/resize-layout/index.js +79 -147
  169. package/lib/search-select/index.js +168 -220
  170. package/lib/select/index.d.ts +10 -10
  171. package/lib/select/index.js +315 -394
  172. package/lib/select/select.d.ts +3 -3
  173. package/lib/shared/index.js +228 -203
  174. package/lib/sideslider/index.d.ts +4 -4
  175. package/lib/sideslider/index.js +88 -137
  176. package/lib/sideslider/sideslider.d.ts +1 -1
  177. package/lib/slider/index.d.ts +7 -7
  178. package/lib/slider/index.js +147 -196
  179. package/lib/slider/slider.d.ts +2 -2
  180. package/lib/steps/index.js +105 -152
  181. package/lib/swiper/index.js +62 -126
  182. package/lib/switcher/index.d.ts +4 -4
  183. package/lib/switcher/index.js +65 -133
  184. package/lib/switcher/switcher.d.ts +1 -1
  185. package/lib/tab/index.d.ts +4 -4
  186. package/lib/tab/index.js +118 -188
  187. package/lib/tab/tab.d.ts +1 -1
  188. package/lib/table/index.js +457 -572
  189. package/lib/table-column/index.js +129 -197
  190. package/lib/tag/index.js +58 -130
  191. package/lib/tag-input/index.d.ts +7 -7
  192. package/lib/tag-input/index.js +175 -277
  193. package/lib/tag-input/tag-input.d.ts +2 -2
  194. package/lib/time-picker/index.d.ts +10 -10
  195. package/lib/time-picker/index.js +40 -111
  196. package/lib/timeline/index.d.ts +4 -4
  197. package/lib/timeline/index.js +50 -114
  198. package/lib/timeline/timeline.d.ts +1 -1
  199. package/lib/transfer/index.js +89 -174
  200. package/lib/tree/index.js +158 -235
  201. package/lib/upload/index.d.ts +7 -7
  202. package/lib/upload/index.js +173 -227
  203. package/lib/upload/upload-list.d.ts +1 -1
  204. package/lib/upload/upload-trigger.d.ts +1 -1
  205. package/lib/upload/upload.d.ts +2 -2
  206. package/lib/virtual-render/index.js +86 -154
  207. package/package.json +1 -1
@@ -1,15 +1,8 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("../shared"), require("vue"), require("vue-types"), require("../icon"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["../shared", "vue", "vue-types", "../icon"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("vue-types"), require("../icon")) : factory(root["../shared"], root["vue"], root["vue-types"], 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__210__, __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_vue_types_22de060a__ from "vue-types";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
5
+ /******/ var __webpack_modules__ = ({
13
6
 
14
7
  /***/ 7162:
15
8
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
@@ -778,122 +771,78 @@ try {
778
771
  }
779
772
 
780
773
 
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
- /***/ }),
806
-
807
- /***/ 210:
808
- /***/ ((module) => {
809
-
810
- "use strict";
811
- module.exports = __WEBPACK_EXTERNAL_MODULE__210__;
812
-
813
774
  /***/ })
814
775
 
815
- /******/ });
776
+ /******/ });
816
777
  /************************************************************************/
817
- /******/ // The module cache
818
- /******/ var __webpack_module_cache__ = {};
819
- /******/
820
- /******/ // The require function
821
- /******/ function __webpack_require__(moduleId) {
822
- /******/ // Check if module is in cache
823
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
824
- /******/ if (cachedModule !== undefined) {
825
- /******/ return cachedModule.exports;
826
- /******/ }
827
- /******/ // Create a new module (and put it into the cache)
828
- /******/ var module = __webpack_module_cache__[moduleId] = {
829
- /******/ // no module.id needed
830
- /******/ // no module.loaded needed
831
- /******/ exports: {}
832
- /******/ };
833
- /******/
834
- /******/ // Execute the module function
835
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
836
- /******/
837
- /******/ // Return the exports of the module
838
- /******/ return module.exports;
778
+ /******/ // The module cache
779
+ /******/ var __webpack_module_cache__ = {};
780
+ /******/
781
+ /******/ // The require function
782
+ /******/ function __webpack_require__(moduleId) {
783
+ /******/ // Check if module is in cache
784
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
785
+ /******/ if (cachedModule !== undefined) {
786
+ /******/ return cachedModule.exports;
839
787
  /******/ }
840
- /******/
788
+ /******/ // Create a new module (and put it into the cache)
789
+ /******/ var module = __webpack_module_cache__[moduleId] = {
790
+ /******/ // no module.id needed
791
+ /******/ // no module.loaded needed
792
+ /******/ exports: {}
793
+ /******/ };
794
+ /******/
795
+ /******/ // Execute the module function
796
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
797
+ /******/
798
+ /******/ // Return the exports of the module
799
+ /******/ return module.exports;
800
+ /******/ }
801
+ /******/
841
802
  /************************************************************************/
842
- /******/ /* webpack/runtime/compat get default export */
843
- /******/ (() => {
844
- /******/ // getDefaultExport function for compatibility with non-harmony modules
845
- /******/ __webpack_require__.n = (module) => {
846
- /******/ var getter = module && module.__esModule ?
847
- /******/ () => (module['default']) :
848
- /******/ () => (module);
849
- /******/ __webpack_require__.d(getter, { a: getter });
850
- /******/ return getter;
851
- /******/ };
852
- /******/ })();
853
- /******/
854
- /******/ /* webpack/runtime/define property getters */
855
- /******/ (() => {
856
- /******/ // define getter functions for harmony exports
857
- /******/ __webpack_require__.d = (exports, definition) => {
858
- /******/ for(var key in definition) {
859
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
860
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
861
- /******/ }
803
+ /******/ /* webpack/runtime/compat get default export */
804
+ /******/ (() => {
805
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
806
+ /******/ __webpack_require__.n = (module) => {
807
+ /******/ var getter = module && module.__esModule ?
808
+ /******/ () => (module['default']) :
809
+ /******/ () => (module);
810
+ /******/ __webpack_require__.d(getter, { a: getter });
811
+ /******/ return getter;
812
+ /******/ };
813
+ /******/ })();
814
+ /******/
815
+ /******/ /* webpack/runtime/define property getters */
816
+ /******/ (() => {
817
+ /******/ // define getter functions for harmony exports
818
+ /******/ __webpack_require__.d = (exports, definition) => {
819
+ /******/ for(var key in definition) {
820
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
821
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
862
822
  /******/ }
863
- /******/ };
864
- /******/ })();
865
- /******/
866
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
867
- /******/ (() => {
868
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
869
- /******/ })();
870
- /******/
871
- /******/ /* webpack/runtime/make namespace object */
872
- /******/ (() => {
873
- /******/ // define __esModule on exports
874
- /******/ __webpack_require__.r = (exports) => {
875
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
876
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
877
- /******/ }
878
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
879
- /******/ };
880
- /******/ })();
881
- /******/
823
+ /******/ }
824
+ /******/ };
825
+ /******/ })();
826
+ /******/
827
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
828
+ /******/ (() => {
829
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
830
+ /******/ })();
831
+ /******/
882
832
  /************************************************************************/
883
833
  var __webpack_exports__ = {};
884
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
834
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
885
835
  (() => {
886
- "use strict";
887
- // ESM COMPAT FLAG
888
- __webpack_require__.r(__webpack_exports__);
889
836
 
890
837
  // EXPORTS
891
838
  __webpack_require__.d(__webpack_exports__, {
892
- "default": () => (/* binding */ src)
839
+ "Z": () => (/* binding */ src)
893
840
  });
894
841
 
895
- // EXTERNAL MODULE: external "../shared"
896
- var external_shared_ = __webpack_require__(4212);
842
+ ;// CONCATENATED MODULE: external "../shared"
843
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
844
+ var y = x => () => x
845
+ 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, ["directionType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.directionType, ["lineStyleType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.lineStyleType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
897
846
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
898
847
  function _defineProperty(obj, key, value) {
899
848
  if (key in obj) {
@@ -909,8 +858,10 @@ function _defineProperty(obj, key, value) {
909
858
 
910
859
  return obj;
911
860
  }
912
- // EXTERNAL MODULE: external "vue"
913
- var external_vue_ = __webpack_require__(748);
861
+ ;// CONCATENATED MODULE: external "vue"
862
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
863
+ var external_vue_y = x => () => x
864
+ 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, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
914
865
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
915
866
  var regenerator = __webpack_require__(7162);
916
867
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
@@ -1164,10 +1115,14 @@ function __classPrivateFieldIn(state, receiver) {
1164
1115
  return typeof state === "function" ? receiver === state : state.has(receiver);
1165
1116
  }
1166
1117
 
1167
- // EXTERNAL MODULE: external "vue-types"
1168
- var external_vue_types_ = __webpack_require__(210);
1169
- // EXTERNAL MODULE: external "../icon"
1170
- var external_icon_ = __webpack_require__(6870);
1118
+ ;// CONCATENATED MODULE: external "vue-types"
1119
+ var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1120
+ var external_vue_types_y = x => () => x
1121
+ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
1122
+ ;// CONCATENATED MODULE: external "../icon"
1123
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1124
+ var external_icon_y = x => () => x
1125
+ 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 });
1171
1126
  ;// CONCATENATED MODULE: ../../packages/steps/src/steps.tsx
1172
1127
 
1173
1128
 
@@ -1212,19 +1167,19 @@ var StatusEnum;
1212
1167
  })(StatusEnum || (StatusEnum = {}));
1213
1168
 
1214
1169
  var stepsProps = {
1215
- theme: external_shared_.PropTypes.theme().def(external_shared_.ThemeEnum.PRIMARY),
1216
- size: external_shared_.PropTypes.size(),
1217
- curStep: external_shared_.PropTypes.number.def(1),
1218
- controllable: external_shared_.PropTypes.bool.def(false),
1219
- direction: (0,external_shared_.directionType)(),
1220
- status: (0,external_vue_types_.toType)('status', {}).def(StatusEnum.UNKNOWN),
1221
- lineType: (0,external_shared_.lineStyleType)(),
1222
- text: external_shared_.PropTypes.bool,
1223
- extCls: external_shared_.PropTypes.string,
1224
- steps: external_shared_.PropTypes.array.def([]),
1225
- beforeChange: external_shared_.PropTypes.func
1170
+ theme: external_shared_namespaceObject.PropTypes.theme().def(external_shared_namespaceObject.ThemeEnum.PRIMARY),
1171
+ size: external_shared_namespaceObject.PropTypes.size(),
1172
+ curStep: external_shared_namespaceObject.PropTypes.number.def(1),
1173
+ controllable: external_shared_namespaceObject.PropTypes.bool.def(false),
1174
+ direction: (0,external_shared_namespaceObject.directionType)(),
1175
+ status: (0,external_vue_types_namespaceObject.toType)('status', {}).def(StatusEnum.UNKNOWN),
1176
+ lineType: (0,external_shared_namespaceObject.lineStyleType)(),
1177
+ text: external_shared_namespaceObject.PropTypes.bool,
1178
+ extCls: external_shared_namespaceObject.PropTypes.string,
1179
+ steps: external_shared_namespaceObject.PropTypes.array.def([]),
1180
+ beforeChange: external_shared_namespaceObject.PropTypes.func
1226
1181
  };
1227
- /* harmony default export */ const steps = ((0,external_vue_.defineComponent)({
1182
+ /* harmony default export */ const steps = ((0,external_vue_namespaceObject.defineComponent)({
1228
1183
  name: 'Steps',
1229
1184
  props: stepsProps,
1230
1185
  emits: ['update:curStep', 'click'],
@@ -1232,7 +1187,7 @@ var stepsProps = {
1232
1187
  var _this = this;
1233
1188
 
1234
1189
  var emit = _ref.emit;
1235
- var defaultSteps = (0,external_vue_.ref)([]);
1190
+ var defaultSteps = (0,external_vue_namespaceObject.ref)([]);
1236
1191
 
1237
1192
  var updateSteps = function updateSteps(steps) {
1238
1193
  var _defaultSteps$value;
@@ -1348,15 +1303,15 @@ var stepsProps = {
1348
1303
  }));
1349
1304
  };
1350
1305
 
1351
- (0,external_vue_.onMounted)(init);
1352
- (0,external_vue_.watch)(function () {
1306
+ (0,external_vue_namespaceObject.onMounted)(init);
1307
+ (0,external_vue_namespaceObject.watch)(function () {
1353
1308
  return props.steps;
1354
1309
  }, function () {
1355
1310
  updateSteps(props.steps);
1356
1311
  }, {
1357
1312
  deep: true
1358
1313
  });
1359
- (0,external_vue_.watch)(function () {
1314
+ (0,external_vue_namespaceObject.watch)(function () {
1360
1315
  return props.curStep;
1361
1316
  }, function () {
1362
1317
  updateCurStep(props.curStep);
@@ -1375,7 +1330,7 @@ var stepsProps = {
1375
1330
  var stepsClsPrefix = 'bk-steps';
1376
1331
  var stepsThemeCls = this.theme ? "".concat(stepsClsPrefix, "-").concat(this.theme) : '';
1377
1332
  var stepsSizeCls = this.size ? "".concat(stepsClsPrefix, "-").concat(this.size) : '';
1378
- var stepsCls = (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.extCls), !!this.extCls), _defineProperty(_classes, "bk-steps-".concat(this.direction), this.direction), _defineProperty(_classes, "bk-steps-".concat(this.lineType), this.lineType), _classes), "".concat(stepsThemeCls, " ").concat(stepsClsPrefix, " ").concat(stepsSizeCls));
1333
+ var stepsCls = (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.extCls), !!this.extCls), _defineProperty(_classes, "bk-steps-".concat(this.direction), this.direction), _defineProperty(_classes, "bk-steps-".concat(this.lineType), this.lineType), _classes), "".concat(stepsThemeCls, " ").concat(stepsClsPrefix, " ").concat(stepsSizeCls));
1379
1334
 
1380
1335
  var isDone = function isDone(index) {
1381
1336
  return _this3.curStep > index + 1 || _this3.defaultSteps[index].status === 'done';
@@ -1414,34 +1369,34 @@ var stepsProps = {
1414
1369
 
1415
1370
  var renderIcon = function renderIcon(index, step) {
1416
1371
  if (isCurrent(index) && _this3.status === 'loading' || isLoadingStatus(step)) {
1417
- return (0,external_vue_.createVNode)(external_icon_.Circle, {
1372
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Circle, {
1418
1373
  "class": "bk-icon bk-steps-icon icon-loading"
1419
1374
  }, null);
1420
1375
  }
1421
1376
 
1422
1377
  if (isCurrent(index) && _this3.status === 'error' || isErrorStatus(step)) {
1423
- return (0,external_vue_.createVNode)(external_icon_.Error, {
1378
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
1424
1379
  "class": "bk-steps-icon"
1425
1380
  }, null);
1426
1381
  }
1427
1382
 
1428
1383
  if (isDone(index)) {
1429
- return (0,external_vue_.createVNode)(external_icon_.Done, {
1384
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
1430
1385
  "class": "bk-steps-icon"
1431
1386
  }, null);
1432
1387
  }
1433
1388
 
1434
- return (0,external_vue_.createVNode)("span", null, [isNumberIcon(index, step) ? index + 1 : (0,external_vue_.createVNode)(step.icon, null, null)]);
1389
+ return (0,external_vue_namespaceObject.createVNode)("span", null, [isNumberIcon(index, step) ? index + 1 : (0,external_vue_namespaceObject.createVNode)(step.icon, null, null)]);
1435
1390
  };
1436
1391
 
1437
- return (0,external_vue_.createVNode)("div", {
1392
+ return (0,external_vue_namespaceObject.createVNode)("div", {
1438
1393
  "class": stepsCls
1439
1394
  }, [this.defaultSteps.map(function (step, index) {
1440
1395
  var _a, _b, _c;
1441
1396
 
1442
- return (0,external_vue_.createVNode)("div", {
1397
+ return (0,external_vue_namespaceObject.createVNode)("div", {
1443
1398
  "class": ['bk-step', !step.title ? 'bk-step-no-content' : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this3.status === 'error' ? 'isError' : '', step.status && isCurrent(index) ? ["bk-step-".concat(step.status)] : '']
1444
- }, [(0,external_vue_.createVNode)("span", {
1399
+ }, [(0,external_vue_namespaceObject.createVNode)("span", {
1445
1400
  "class": ['bk-step-indicator', "bk-step-".concat(iconType(step) ? 'icon' : 'number'), "bk-step-icon".concat(step.status)],
1446
1401
  "style": {
1447
1402
  cursor: _this3.controllable ? 'pointer' : ''
@@ -1449,9 +1404,9 @@ var stepsProps = {
1449
1404
  "onClick": function onClick() {
1450
1405
  _this3.jumpTo(index + 1);
1451
1406
  }
1452
- }, [(_c = (_b = (_a = _this3.$slots)[index + 1]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : renderIcon(index, step)]), step.title ? (0,external_vue_.createVNode)("div", {
1407
+ }, [(_c = (_b = (_a = _this3.$slots)[index + 1]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : renderIcon(index, step)]), step.title ? (0,external_vue_namespaceObject.createVNode)("div", {
1453
1408
  "class": "bk-step-content"
1454
- }, [(0,external_vue_.createVNode)("div", {
1409
+ }, [(0,external_vue_namespaceObject.createVNode)("div", {
1455
1410
  "class": "bk-step-title",
1456
1411
  "style": {
1457
1412
  cursor: _this3.controllable ? 'pointer' : ''
@@ -1459,7 +1414,7 @@ var stepsProps = {
1459
1414
  "onClick": function onClick() {
1460
1415
  _this3.jumpTo(index + 1);
1461
1416
  }
1462
- }, [step.title]), step.description && (0,external_vue_.createVNode)("div", {
1417
+ }, [step.title]), step.description && (0,external_vue_namespaceObject.createVNode)("div", {
1463
1418
  "class": "bk-step-description",
1464
1419
  "title": step.description
1465
1420
  }, [step.description])]) : '']);
@@ -1494,11 +1449,9 @@ var stepsProps = {
1494
1449
  */
1495
1450
 
1496
1451
 
1497
- var BkSteps = (0,external_shared_.withInstall)(steps);
1452
+ var BkSteps = (0,external_shared_namespaceObject.withInstall)(steps);
1498
1453
  /* harmony default export */ const src = (BkSteps);
1499
1454
  })();
1500
1455
 
1501
- /******/ return __webpack_exports__;
1502
- /******/ })()
1503
- ;
1504
- });
1456
+ var __webpack_exports__default = __webpack_exports__.Z;
1457
+ export { __webpack_exports__default as default };