bkui-vue 0.0.2-table-refactor.8 → 0.0.3-beta.1

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 (394) hide show
  1. package/dist/index.cjs.js +135 -161
  2. package/dist/index.esm.js +17059 -19431
  3. package/dist/index.umd.js +135 -161
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +6 -2
  15. package/lib/affix/index.js +321 -1
  16. package/lib/alert/alert.variable.css +6 -2
  17. package/lib/alert/index.js +214 -1
  18. package/lib/animate-number/index.js +155 -1
  19. package/lib/backtop/backtop.variable.css +6 -2
  20. package/lib/backtop/index.js +188 -1
  21. package/lib/badge/badge.css +8 -2
  22. package/lib/badge/badge.less +8 -4
  23. package/lib/badge/badge.variable.css +14 -4
  24. package/lib/badge/index.js +235 -1
  25. package/lib/breadcrumb/breadcrumb.variable.css +6 -2
  26. package/lib/breadcrumb/index.js +309 -1
  27. package/lib/button/button-group.d.ts +2 -2
  28. package/lib/button/button.css +10 -7
  29. package/lib/button/button.d.ts +1 -1
  30. package/lib/button/button.less +98 -93
  31. package/lib/button/button.variable.css +24 -17
  32. package/lib/button/index.d.ts +5 -5
  33. package/lib/button/index.js +321 -1
  34. package/lib/card/card.css +7 -7
  35. package/lib/card/card.less +7 -7
  36. package/lib/card/card.variable.css +13 -9
  37. package/lib/card/index.js +285 -1
  38. package/lib/cascader/cascader-panel.d.ts +1 -0
  39. package/lib/cascader/cascader.css +3 -3
  40. package/lib/cascader/cascader.d.ts +1 -0
  41. package/lib/cascader/cascader.less +4 -6
  42. package/lib/cascader/cascader.variable.css +9 -5
  43. package/lib/cascader/index.d.ts +4 -0
  44. package/lib/cascader/index.js +2053 -2
  45. package/lib/checkbox/checkbox.css +13 -1
  46. package/lib/checkbox/checkbox.d.ts +13 -10
  47. package/lib/checkbox/checkbox.less +15 -1
  48. package/lib/checkbox/checkbox.variable.css +19 -3
  49. package/lib/checkbox/common.d.ts +1 -0
  50. package/lib/checkbox/index.d.ts +28 -19
  51. package/lib/checkbox/index.js +569 -1
  52. package/lib/code-diff/code-diff.variable.css +6 -2
  53. package/lib/code-diff/index.js +5501 -1
  54. package/lib/collapse/collapse.variable.css +6 -2
  55. package/lib/collapse/index.js +570 -1
  56. package/lib/collapse-transition/collapse-transition.variable.css +6 -2
  57. package/lib/collapse-transition/index.js +177 -1
  58. package/lib/color-picker/color-picker.variable.css +6 -2
  59. package/lib/color-picker/index.js +2665 -1
  60. package/lib/components.js +530 -1
  61. package/lib/config-provider/config-provider.d.ts +18 -0
  62. package/lib/config-provider/config-provider.variable.css +6 -2
  63. package/lib/config-provider/index.d.ts +24 -0
  64. package/lib/config-provider/index.js +365 -1
  65. package/lib/config-provider/token.d.ts +6 -0
  66. package/lib/container/container.variable.css +6 -2
  67. package/lib/container/index.js +391 -1
  68. package/lib/date-picker/common.d.ts +2 -0
  69. package/lib/date-picker/date-picker.d.ts +3 -1
  70. package/lib/date-picker/date-picker.variable.css +6 -2
  71. package/lib/date-picker/index.d.ts +9 -3
  72. package/lib/date-picker/index.js +5629 -1
  73. package/lib/date-picker/panel/date.d.ts +2 -2
  74. package/lib/date-picker/panel/time-range.d.ts +17 -0
  75. package/lib/date-picker/panel/time.d.ts +17 -1
  76. package/lib/date-picker/time-picker.d.ts +3 -1
  77. package/lib/dialog/dialog.css +7 -6
  78. package/lib/dialog/dialog.less +7 -6
  79. package/lib/dialog/dialog.variable.css +13 -8
  80. package/lib/dialog/index.js +971 -2
  81. package/lib/directives/index.js +1387 -2
  82. package/lib/dist.index.js +87 -1
  83. package/lib/divider/divider.variable.css +6 -2
  84. package/lib/divider/index.js +169 -1
  85. package/lib/dropdown/dropdown.css +1 -1
  86. package/lib/dropdown/dropdown.variable.css +7 -3
  87. package/lib/dropdown/index.js +369 -1
  88. package/lib/exception/exception.variable.css +6 -2
  89. package/lib/exception/index.js +385 -1
  90. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
  91. package/lib/fixed-navbar/index.js +154 -1
  92. package/lib/form/form.css +2 -1
  93. package/lib/form/form.less +3 -2
  94. package/lib/form/form.variable.css +8 -3
  95. package/lib/form/index.js +952 -1
  96. package/lib/hooks.js +73 -1
  97. package/lib/icon/angle-double-down-line.js +191 -1
  98. package/lib/icon/angle-double-left-line.js +191 -1
  99. package/lib/icon/angle-double-left.js +191 -1
  100. package/lib/icon/angle-double-right-line.js +191 -1
  101. package/lib/icon/angle-double-right.js +191 -1
  102. package/lib/icon/angle-double-up-line.js +191 -1
  103. package/lib/icon/angle-down-fill.js +191 -1
  104. package/lib/icon/angle-down-line.js +191 -1
  105. package/lib/icon/angle-down.js +191 -1
  106. package/lib/icon/angle-left.js +191 -1
  107. package/lib/icon/angle-right.js +191 -1
  108. package/lib/icon/angle-up-fill.js +191 -1
  109. package/lib/icon/angle-up.js +191 -1
  110. package/lib/icon/archive-fill.js +191 -1
  111. package/lib/icon/arrows-left.js +191 -1
  112. package/lib/icon/arrows-right.js +191 -1
  113. package/lib/icon/assistant.js +191 -1
  114. package/lib/icon/audio-fill.js +191 -1
  115. package/lib/icon/bk.js +191 -1
  116. package/lib/icon/circle.js +191 -1
  117. package/lib/icon/close-line.js +191 -1
  118. package/lib/icon/close.js +191 -1
  119. package/lib/icon/code.js +191 -1
  120. package/lib/icon/cog-shape.js +191 -1
  121. package/lib/icon/collapse-left.js +191 -1
  122. package/lib/icon/copy-shape.js +191 -1
  123. package/lib/icon/copy.js +191 -1
  124. package/lib/icon/data-shape.js +191 -1
  125. package/lib/icon/del.js +191 -1
  126. package/lib/icon/doc-fill.js +191 -1
  127. package/lib/icon/done.js +191 -1
  128. package/lib/icon/down-shape.js +191 -1
  129. package/lib/icon/down-small.js +191 -1
  130. package/lib/icon/edit-line.js +191 -1
  131. package/lib/icon/ellipsis.js +191 -1
  132. package/lib/icon/enlarge-line.js +191 -1
  133. package/lib/icon/error.js +191 -1
  134. package/lib/icon/excel-fill.js +191 -1
  135. package/lib/icon/exclamation-circle-shape.js +191 -1
  136. package/lib/icon/eye.js +191 -1
  137. package/lib/icon/filliscreen-line.js +191 -1
  138. package/lib/icon/fix-line.js +191 -1
  139. package/lib/icon/fix-shape.js +191 -1
  140. package/lib/icon/folder-open.js +191 -1
  141. package/lib/icon/folder-shape-open.js +191 -1
  142. package/lib/icon/folder-shape.js +191 -1
  143. package/lib/icon/folder.js +191 -1
  144. package/lib/icon/funnel.js +191 -1
  145. package/lib/icon/help-document-fill.js +191 -1
  146. package/lib/icon/help-fill.js +191 -1
  147. package/lib/icon/help.js +191 -1
  148. package/lib/icon/image-fill.js +276 -1
  149. package/lib/icon/img-error.js +276 -1
  150. package/lib/icon/img-placehoulder.js +276 -1
  151. package/lib/icon/index.d.ts +1 -0
  152. package/lib/icon/index.js +2432 -1
  153. package/lib/icon/info-line.js +276 -1
  154. package/lib/icon/info.js +276 -1
  155. package/lib/icon/left-shape.js +276 -1
  156. package/lib/icon/left-turn-line.js +276 -1
  157. package/lib/icon/loading.d.ts +4 -0
  158. package/lib/icon/loading.js +276 -0
  159. package/lib/icon/narrow-line.js +276 -1
  160. package/lib/icon/original.js +276 -1
  161. package/lib/icon/pdf-fill.js +276 -1
  162. package/lib/icon/play-shape.js +276 -1
  163. package/lib/icon/plus.js +276 -1
  164. package/lib/icon/ppt-fill.js +276 -1
  165. package/lib/icon/qq.js +276 -1
  166. package/lib/icon/right-shape.js +276 -1
  167. package/lib/icon/right-turn-line.js +276 -1
  168. package/lib/icon/search.js +276 -1
  169. package/lib/icon/share.js +276 -1
  170. package/lib/icon/spinner.js +276 -1
  171. package/lib/icon/success.js +276 -1
  172. package/lib/icon/switcher-loading.js +276 -1
  173. package/lib/icon/text-file.js +276 -1
  174. package/lib/icon/text-fill.js +276 -1
  175. package/lib/icon/transfer.js +276 -1
  176. package/lib/icon/tree-application-shape.js +276 -1
  177. package/lib/icon/unfull-screen.js +276 -1
  178. package/lib/icon/unvisible.js +276 -1
  179. package/lib/icon/up-shape.js +276 -1
  180. package/lib/icon/upload.js +276 -1
  181. package/lib/icon/video-fill.js +276 -1
  182. package/lib/icon/warn.js +276 -1
  183. package/lib/icon/weixin-pro.js +276 -1
  184. package/lib/icon/weixin.js +276 -1
  185. package/lib/image/image-viewer.variable.css +6 -2
  186. package/lib/image/image.variable.css +6 -2
  187. package/lib/image/index.js +641 -1
  188. package/lib/index.js +97 -1
  189. package/lib/info-box/index.js +1161 -2
  190. package/lib/info-box/info-box.d.ts +4 -0
  191. package/lib/info-box/info-box.variable.css +6 -2
  192. package/lib/input/index.d.ts +4 -4
  193. package/lib/input/index.js +1233 -2
  194. package/lib/input/input.css +21 -5
  195. package/lib/input/input.d.ts +3 -3
  196. package/lib/input/input.less +19 -0
  197. package/lib/input/input.variable.css +27 -7
  198. package/lib/link/index.js +160 -1
  199. package/lib/link/link.variable.css +6 -2
  200. package/lib/loading/index.d.ts +3 -3
  201. package/lib/loading/index.js +381 -1
  202. package/lib/loading/loading.css +9 -9
  203. package/lib/loading/loading.d.ts +1 -1
  204. package/lib/loading/loading.less +14 -9
  205. package/lib/loading/loading.variable.css +15 -11
  206. package/lib/locale/index.js +477 -1
  207. package/lib/locale/lang/en.d.ts +6 -0
  208. package/lib/menu/index.js +724 -1
  209. package/lib/menu/menu.variable.css +6 -2
  210. package/lib/menu/submenu.variable.css +6 -2
  211. package/lib/message/index.js +1795 -2
  212. package/lib/message/message.variable.css +6 -2
  213. package/lib/modal/index.js +396 -1
  214. package/lib/modal/modal.variable.css +6 -2
  215. package/lib/navigation/index.js +367 -1
  216. package/lib/navigation/navigation.variable.css +6 -2
  217. package/lib/notify/index.js +397 -1
  218. package/lib/notify/notify.css +6 -6
  219. package/lib/notify/notify.less +6 -6
  220. package/lib/notify/notify.variable.css +12 -8
  221. package/lib/overflow-title/components/overflow-title.d.ts +0 -1
  222. package/lib/overflow-title/index.js +285 -1
  223. package/lib/pagination/index.d.ts +4 -4
  224. package/lib/pagination/index.js +880 -1
  225. package/lib/pagination/pagination.css +1 -0
  226. package/lib/pagination/pagination.d.ts +3 -3
  227. package/lib/pagination/pagination.less +1 -0
  228. package/lib/pagination/pagination.variable.css +7 -2
  229. package/lib/plugin-popover/index.js +3833 -1
  230. package/lib/plugins/index.js +63 -1
  231. package/lib/pop-confirm/index.d.ts +42 -3
  232. package/lib/pop-confirm/index.js +281 -1
  233. package/lib/pop-confirm/pop-confirm.css +4 -4
  234. package/lib/pop-confirm/pop-confirm.d.ts +14 -1
  235. package/lib/pop-confirm/pop-confirm.less +4 -4
  236. package/lib/pop-confirm/pop-confirm.variable.css +10 -6
  237. package/lib/popover/index.js +3841 -1
  238. package/lib/popover/popover.css +1 -1
  239. package/lib/popover/popover.less +1 -1
  240. package/lib/popover/popover.variable.css +7 -3
  241. package/lib/popover2/index.js +107 -1
  242. package/lib/preset.d.ts +12 -0
  243. package/lib/preset.js +93 -1
  244. package/lib/process/index.js +759 -2
  245. package/lib/process/process.variable.css +6 -2
  246. package/lib/progress/index.d.ts +4 -4
  247. package/lib/progress/index.js +431 -1
  248. package/lib/progress/progress.css +7 -3
  249. package/lib/progress/progress.d.ts +3 -3
  250. package/lib/progress/progress.less +8 -3
  251. package/lib/progress/progress.variable.css +13 -5
  252. package/lib/radio/common.d.ts +1 -0
  253. package/lib/radio/index.d.ts +8 -2
  254. package/lib/radio/index.js +635 -1
  255. package/lib/radio/radio-button.d.ts +4 -3
  256. package/lib/radio/radio-group.d.ts +3 -0
  257. package/lib/radio/radio.css +26 -12
  258. package/lib/radio/radio.d.ts +1 -0
  259. package/lib/radio/radio.less +42 -8
  260. package/lib/radio/radio.variable.css +26 -8
  261. package/lib/rate/index.d.ts +4 -4
  262. package/lib/rate/index.js +354 -1
  263. package/lib/rate/rate.d.ts +2 -2
  264. package/lib/rate/rate.variable.css +6 -2
  265. package/lib/rate/star.css +3 -0
  266. package/lib/rate/star.less +3 -0
  267. package/lib/rate/star.variable.css +9 -2
  268. package/lib/resize-layout/index.js +429 -1
  269. package/lib/resize-layout/resize-layout.css +2 -2
  270. package/lib/resize-layout/resize-layout.less +2 -2
  271. package/lib/resize-layout/resize-layout.variable.css +8 -4
  272. package/lib/search-select/index.js +2729 -2
  273. package/lib/search-select/search-select.css +2 -4
  274. package/lib/search-select/search-select.less +10 -12
  275. package/lib/search-select/search-select.variable.css +8 -6
  276. package/lib/select/common.d.ts +3 -1
  277. package/lib/select/index.d.ts +96 -30
  278. package/lib/select/index.js +2384 -2
  279. package/lib/select/option.d.ts +1 -0
  280. package/lib/select/select.css +3 -0
  281. package/lib/select/select.d.ts +40 -14
  282. package/lib/select/select.less +3 -0
  283. package/lib/select/select.variable.css +9 -2
  284. package/lib/select/selectTagInput.d.ts +2 -0
  285. package/lib/select/type.d.ts +3 -0
  286. package/lib/shared/index.js +2690 -1
  287. package/lib/shared/vue-types.d.ts +1 -1
  288. package/lib/sideslider/index.js +704 -2
  289. package/lib/sideslider/sideslider.variable.css +6 -2
  290. package/lib/slider/index.js +1297 -2
  291. package/lib/slider/slider.css +2 -0
  292. package/lib/slider/slider.less +2 -0
  293. package/lib/slider/slider.variable.css +8 -2
  294. package/lib/steps/index.d.ts +4 -4
  295. package/lib/steps/index.js +825 -2
  296. package/lib/steps/steps.css +18 -6
  297. package/lib/steps/steps.d.ts +3 -3
  298. package/lib/steps/steps.less +26 -5
  299. package/lib/steps/steps.variable.css +24 -8
  300. package/lib/styles/index.d.ts +1 -0
  301. package/lib/styles/mixins/animate.variable.css +6 -2
  302. package/lib/styles/mixins/popper.variable.css +6 -2
  303. package/lib/styles/mixins/scroll.variable.css +6 -2
  304. package/lib/styles/reset.variable.css +6 -2
  305. package/lib/styles/themes/themes.less +7 -3
  306. package/lib/swiper/index.js +336 -1
  307. package/lib/swiper/swiper.variable.css +6 -2
  308. package/lib/switcher/index.d.ts +4 -4
  309. package/lib/switcher/index.js +277 -1
  310. package/lib/switcher/switcher.d.ts +3 -3
  311. package/lib/switcher/switcher.variable.css +6 -2
  312. package/lib/tab/index.js +914 -1
  313. package/lib/tab/tab.variable.css +6 -2
  314. package/lib/table/components/table-column.d.ts +6 -5
  315. package/lib/table/index.d.ts +57 -7
  316. package/lib/table/index.js +6510 -1
  317. package/lib/table/plugins/body-empty.d.ts +1 -1
  318. package/lib/table/plugins/head-filter.css +1 -28
  319. package/lib/table/plugins/head-filter.less +2 -34
  320. package/lib/table/plugins/head-filter.variable.css +7 -30
  321. package/lib/table/plugins/head-sort.variable.css +6 -2
  322. package/lib/table/plugins/settings.d.ts +0 -7
  323. package/lib/table/plugins/settings.variable.css +6 -2
  324. package/lib/table/plugins/use-column-resize.d.ts +1 -1
  325. package/lib/table/plugins/use-head-cell.d.ts +7 -0
  326. package/lib/table/plugins/use-pagination.d.ts +2 -1
  327. package/lib/table/props.d.ts +2 -1
  328. package/lib/table/table.css +51 -59
  329. package/lib/table/table.d.ts +1 -1
  330. package/lib/table/table.less +28 -22
  331. package/lib/table/table.variable.css +57 -61
  332. package/lib/table/use-attributes.d.ts +5 -1
  333. package/lib/table/use-column.d.ts +87 -0
  334. package/lib/table/use-common.d.ts +0 -1
  335. package/lib/table/use-render.d.ts +1 -1
  336. package/lib/table/utils.d.ts +6 -4
  337. package/lib/table-column/index.d.ts +160 -10
  338. package/lib/table-column/index.js +775 -1
  339. package/lib/tag/index.d.ts +4 -21
  340. package/lib/tag/index.js +229 -1
  341. package/lib/tag/tag.css +14 -10
  342. package/lib/tag/tag.d.ts +2 -12
  343. package/lib/tag/tag.less +31 -27
  344. package/lib/tag/tag.variable.css +20 -12
  345. package/lib/tag-input/index.d.ts +3 -0
  346. package/lib/tag-input/index.js +1674 -1
  347. package/lib/tag-input/list-tag-render.d.ts +11 -0
  348. package/lib/tag-input/tag-input.d.ts +1 -0
  349. package/lib/tag-input/tag-input.variable.css +6 -2
  350. package/lib/time-picker/index.d.ts +9 -3
  351. package/lib/time-picker/index.js +71 -1
  352. package/lib/time-picker/time-picker.css +4 -3
  353. package/lib/time-picker/time-picker.less +5 -9
  354. package/lib/time-picker/time-picker.variable.css +10 -5
  355. package/lib/timeline/index.js +241 -1
  356. package/lib/timeline/timeline.variable.css +6 -2
  357. package/lib/transfer/index.js +673 -1
  358. package/lib/transfer/transfer.css +2 -2
  359. package/lib/transfer/transfer.less +2 -2
  360. package/lib/transfer/transfer.variable.css +8 -4
  361. package/lib/tree/index.d.ts +21 -33
  362. package/lib/tree/index.js +2584 -1
  363. package/lib/tree/props.d.ts +4 -8
  364. package/lib/tree/tree.css +13 -1
  365. package/lib/tree/tree.d.ts +15 -19
  366. package/lib/tree/tree.variable.css +19 -3
  367. package/lib/tree/use-empty.d.ts +1 -3
  368. package/lib/tree/util.d.ts +1 -0
  369. package/lib/upload/index.js +2874 -2
  370. package/lib/upload/upload.type.d.ts +1 -1
  371. package/lib/upload/upload.variable.css +6 -2
  372. package/lib/upload/use-file-handler.d.ts +2 -2
  373. package/lib/virtual-render/index.js +901 -1
  374. package/lib/virtual-render/use-fix-top.d.ts +18 -0
  375. package/lib/virtual-render/v-virtual-render.d.ts +6 -1
  376. package/lib/virtual-render/virtual-render.variable.css +6 -2
  377. package/package.json +17 -4
  378. package/lib/cascader/index.js.LICENSE.txt +0 -1
  379. package/lib/dialog/index.js.LICENSE.txt +0 -1
  380. package/lib/directives/index.js.LICENSE.txt +0 -14
  381. package/lib/info-box/index.js.LICENSE.txt +0 -1
  382. package/lib/input/index.js.LICENSE.txt +0 -1
  383. package/lib/message/index.js.LICENSE.txt +0 -6
  384. package/lib/process/index.js.LICENSE.txt +0 -1
  385. package/lib/search-select/index.js.LICENSE.txt +0 -1
  386. package/lib/select/index.js.LICENSE.txt +0 -1
  387. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  388. package/lib/slider/index.js.LICENSE.txt +0 -1
  389. package/lib/steps/index.js.LICENSE.txt +0 -1
  390. package/lib/table/render.d.ts +0 -130
  391. package/lib/upload/index.js.LICENSE.txt +0 -1
  392. /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
  393. /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
  394. /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
@@ -1,2 +1,759 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- import*as t from"../shared";import*as e from"vue";import*as r from"../config-provider";import*as o from"../icon";var n={7609:(t,e,r)=>{var o=r(7425).default;function n(){t.exports=n=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(t,e,r,o){var n=e&&e.prototype instanceof y?e:y,i=Object.create(n.prototype),c=new _(o||[]);return a(i,"_invoke",{value:E(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var d={};function y(){}function v(){}function m(){}var g={};f(g,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(O([])));w&&w!==r&&i.call(w,s)&&(g=w);var x=m.prototype=y.prototype=Object.create(g);function P(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(n,a,c,s){var u=h(t[n],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var n;a(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}})}function E(t,e,r){var o="suspendedStart";return function(n,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var a=r.delegate;if(a){var c=N(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var s=h(t,e,r);if("normal"===s.type){if(o=r.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o="completed",r.method="throw",r.arg=s.arg)}}}function N(t,e){var r=e.method,o=t.iterator[r];if(void 0===o)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var n=h(o,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return v.prototype=m,a(x,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:v,configurable:!0}),v.displayName=f(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,f(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},P(L.prototype),f(L.prototype,u,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,i){void 0===i&&(i=Promise);var a=new L(p(t,r,o,n),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},P(x),f(x,l,"Generator"),f(x,s,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var o in e)r.push(o);return r.reverse(),function t(){for(;r.length;){var o=r.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=O,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=void 0),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],a=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var c=i.call(n,"catchLoc"),s=i.call(n,"finallyLoc");if(c&&s){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=t,a.arg=e,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var n=o.arg;j(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},7425:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2841:(t,e,r)=>{var o=r(7609)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var c={};(()=>{a.d(c,{Z:()=>g});const n=(i={PropTypes:()=>t.PropTypes,classes:()=>t.classes,withInstall:()=>t.withInstall},s={},a.d(s,i),s);var i,s;function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}const f=(t=>{var e={};return a.d(e,t),e})({createVNode:()=>e.createVNode,defineComponent:()=>e.defineComponent,onMounted:()=>e.onMounted,ref:()=>e.ref,watch:()=>e.watch});var p=a(2841),h=a.n(p);Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const d=(t=>{var e={};return a.d(e,t),e})({useLocale:()=>r.useLocale,usePrefix:()=>r.usePrefix}),y=(t=>{var e={};return a.d(e,t),e})({Circle:()=>o.Circle,Done:()=>o.Done,Error:()=>o.Error});var v={list:n.PropTypes.array.def([]),controllable:n.PropTypes.bool.def(!1),showSteps:n.PropTypes.bool.def(!1),curProcess:n.PropTypes.number.def(0),displayKey:n.PropTypes.string.def("content"),extCls:n.PropTypes.string};const m=(0,f.defineComponent)({name:"Process",props:v,emits:["update:curProcess","click"],setup:function(t,e){var r=this,o=e.emit,n=(0,d.useLocale)("process"),i=(0,d.useLocale)("lang"),a=(0,f.ref)([]),c=(0,f.ref)(0),s=function(){var e,r,o,i;(e=a.value).splice.apply(e,[0,a.value.length].concat([{content:n.value.step1},{content:n.value.step2},{content:n.value.step3},{content:n.value.step4}])),(null===(r=t.list)||void 0===r?void 0:r.length)&&(o=a.value).splice.apply(o,[0,a.value.length].concat(function(t){if(Array.isArray(t))return l(t)}(i=t.list)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))};(0,f.watch)((function(){return i.value}),(function(){s()})),(0,f.onMounted)(s);var u=(0,d.usePrefix)().resolveClassName;return{defaultProcessList:a,paddingBottom:c,jumpTo:function(e){return n=r,i=void 0,a=void 0,c=h().mark((function r(){return h().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:try{t.controllable&&e!==t.curProcess&&(o("update:curProcess",e),o("click",e))}catch(t){console.warn(t)}case 1:case"end":return r.stop()}}),r)})),new(a||(a=Promise))((function(t,e){function r(t){try{s(c.next(t))}catch(t){e(t)}}function o(t){try{s(c.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):(n=e.value,n instanceof a?n:new a((function(t){t(n)}))).then(r,o)}s((c=c.apply(n,i||[])).next())}));var n,i,a,c},resolveClassName:u}},render:function(){var t,e,r,o=this,i=this.resolveClassName("process"),a=(0,n.classes)((t={},e="".concat(this.extCls),r=!!this.extCls,(e=function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!==u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===u(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t),"".concat(i)),c=function(t){return"loading"===t.status},s=function(t){return"error"===t.status},l=function(t,e){return t===o.curProcess-1&&c(e)?(0,f.createVNode)(y.Circle,{class:"".concat(o.resolveClassName("icon")," ").concat(o.resolveClassName("process-icon")," icon-loading")},null):t===o.curProcess-1&&s(e)?(0,f.createVNode)(y.Error,{class:"".concat(o.resolveClassName("process-icon")," icon-error")},null):t===o.curProcess-1&&function(t){return t.icon?t.icon:""}(e)?(0,f.createVNode)("span",{class:"".concat(o.resolveClassName("process-icon-custom"))},[(0,f.createVNode)(e.icon,null,null)]):function(t){return o.curProcess>=t+1||"done"===o.defaultProcessList[t].status}(t)?(0,f.createVNode)(y.Done,{class:"".concat(o.resolveClassName("process-icon-done"))},null):void 0};return(0,f.createVNode)("div",{class:a},[(0,f.createVNode)("ul",{style:{paddingBottom:"".concat(this.paddingBottom,"px")}},[this.defaultProcessList.map((function(t,e){return(0,f.createVNode)("li",{onClick:function(){o.jumpTo(e+1)},style:{cursor:o.controllable?"pointer":""},class:{success:o.curProcess>=e+1,current:c(t)&&e===o.curProcess-1,error:s(t)&&e===o.curProcess-1}},[(0,f.createVNode)("div",null,[(0,f.createVNode)("span",{class:"display"},[t[o.displayKey]]),l(e,t)])])}))])])}}),g=(0,n.withInstall)(m)})();var s=c.Z;export{s as default};
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__config_provider_9d0186d9__ from "../config-provider";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
5
+ /******/ var __webpack_modules__ = ({
6
+
7
+ /***/ 7609:
8
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9
+
10
+ var _typeof = (__webpack_require__(7425)["default"]);
11
+ function _regeneratorRuntime() {
12
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
13
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
14
+ return exports;
15
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
16
+ var exports = {},
17
+ Op = Object.prototype,
18
+ hasOwn = Op.hasOwnProperty,
19
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
20
+ obj[key] = desc.value;
21
+ },
22
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
23
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
24
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
25
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
26
+ function define(obj, key, value) {
27
+ return Object.defineProperty(obj, key, {
28
+ value: value,
29
+ enumerable: !0,
30
+ configurable: !0,
31
+ writable: !0
32
+ }), obj[key];
33
+ }
34
+ try {
35
+ define({}, "");
36
+ } catch (err) {
37
+ define = function define(obj, key, value) {
38
+ return obj[key] = value;
39
+ };
40
+ }
41
+ function wrap(innerFn, outerFn, self, tryLocsList) {
42
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
43
+ generator = Object.create(protoGenerator.prototype),
44
+ context = new Context(tryLocsList || []);
45
+ return defineProperty(generator, "_invoke", {
46
+ value: makeInvokeMethod(innerFn, self, context)
47
+ }), generator;
48
+ }
49
+ function tryCatch(fn, obj, arg) {
50
+ try {
51
+ return {
52
+ type: "normal",
53
+ arg: fn.call(obj, arg)
54
+ };
55
+ } catch (err) {
56
+ return {
57
+ type: "throw",
58
+ arg: err
59
+ };
60
+ }
61
+ }
62
+ exports.wrap = wrap;
63
+ var ContinueSentinel = {};
64
+ function Generator() {}
65
+ function GeneratorFunction() {}
66
+ function GeneratorFunctionPrototype() {}
67
+ var IteratorPrototype = {};
68
+ define(IteratorPrototype, iteratorSymbol, function () {
69
+ return this;
70
+ });
71
+ var getProto = Object.getPrototypeOf,
72
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
73
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
74
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
75
+ function defineIteratorMethods(prototype) {
76
+ ["next", "throw", "return"].forEach(function (method) {
77
+ define(prototype, method, function (arg) {
78
+ return this._invoke(method, arg);
79
+ });
80
+ });
81
+ }
82
+ function AsyncIterator(generator, PromiseImpl) {
83
+ function invoke(method, arg, resolve, reject) {
84
+ var record = tryCatch(generator[method], generator, arg);
85
+ if ("throw" !== record.type) {
86
+ var result = record.arg,
87
+ value = result.value;
88
+ return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
89
+ invoke("next", value, resolve, reject);
90
+ }, function (err) {
91
+ invoke("throw", err, resolve, reject);
92
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
93
+ result.value = unwrapped, resolve(result);
94
+ }, function (error) {
95
+ return invoke("throw", error, resolve, reject);
96
+ });
97
+ }
98
+ reject(record.arg);
99
+ }
100
+ var previousPromise;
101
+ defineProperty(this, "_invoke", {
102
+ value: function value(method, arg) {
103
+ function callInvokeWithMethodAndArg() {
104
+ return new PromiseImpl(function (resolve, reject) {
105
+ invoke(method, arg, resolve, reject);
106
+ });
107
+ }
108
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
109
+ }
110
+ });
111
+ }
112
+ function makeInvokeMethod(innerFn, self, context) {
113
+ var state = "suspendedStart";
114
+ return function (method, arg) {
115
+ if ("executing" === state) throw new Error("Generator is already running");
116
+ if ("completed" === state) {
117
+ if ("throw" === method) throw arg;
118
+ return doneResult();
119
+ }
120
+ for (context.method = method, context.arg = arg;;) {
121
+ var delegate = context.delegate;
122
+ if (delegate) {
123
+ var delegateResult = maybeInvokeDelegate(delegate, context);
124
+ if (delegateResult) {
125
+ if (delegateResult === ContinueSentinel) continue;
126
+ return delegateResult;
127
+ }
128
+ }
129
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
130
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
131
+ context.dispatchException(context.arg);
132
+ } else "return" === context.method && context.abrupt("return", context.arg);
133
+ state = "executing";
134
+ var record = tryCatch(innerFn, self, context);
135
+ if ("normal" === record.type) {
136
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
137
+ return {
138
+ value: record.arg,
139
+ done: context.done
140
+ };
141
+ }
142
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
143
+ }
144
+ };
145
+ }
146
+ function maybeInvokeDelegate(delegate, context) {
147
+ var methodName = context.method,
148
+ method = delegate.iterator[methodName];
149
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
150
+ var record = tryCatch(method, delegate.iterator, context.arg);
151
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
152
+ var info = record.arg;
153
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
154
+ }
155
+ function pushTryEntry(locs) {
156
+ var entry = {
157
+ tryLoc: locs[0]
158
+ };
159
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
160
+ }
161
+ function resetTryEntry(entry) {
162
+ var record = entry.completion || {};
163
+ record.type = "normal", delete record.arg, entry.completion = record;
164
+ }
165
+ function Context(tryLocsList) {
166
+ this.tryEntries = [{
167
+ tryLoc: "root"
168
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
169
+ }
170
+ function values(iterable) {
171
+ if (iterable) {
172
+ var iteratorMethod = iterable[iteratorSymbol];
173
+ if (iteratorMethod) return iteratorMethod.call(iterable);
174
+ if ("function" == typeof iterable.next) return iterable;
175
+ if (!isNaN(iterable.length)) {
176
+ var i = -1,
177
+ next = function next() {
178
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
179
+ return next.value = undefined, next.done = !0, next;
180
+ };
181
+ return next.next = next;
182
+ }
183
+ }
184
+ return {
185
+ next: doneResult
186
+ };
187
+ }
188
+ function doneResult() {
189
+ return {
190
+ value: undefined,
191
+ done: !0
192
+ };
193
+ }
194
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
195
+ value: GeneratorFunctionPrototype,
196
+ configurable: !0
197
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
198
+ value: GeneratorFunction,
199
+ configurable: !0
200
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
201
+ var ctor = "function" == typeof genFun && genFun.constructor;
202
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
203
+ }, exports.mark = function (genFun) {
204
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
205
+ }, exports.awrap = function (arg) {
206
+ return {
207
+ __await: arg
208
+ };
209
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
210
+ return this;
211
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
212
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
213
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
214
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
215
+ return result.done ? result.value : iter.next();
216
+ });
217
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
218
+ return this;
219
+ }), define(Gp, "toString", function () {
220
+ return "[object Generator]";
221
+ }), exports.keys = function (val) {
222
+ var object = Object(val),
223
+ keys = [];
224
+ for (var key in object) keys.push(key);
225
+ return keys.reverse(), function next() {
226
+ for (; keys.length;) {
227
+ var key = keys.pop();
228
+ if (key in object) return next.value = key, next.done = !1, next;
229
+ }
230
+ return next.done = !0, next;
231
+ };
232
+ }, exports.values = values, Context.prototype = {
233
+ constructor: Context,
234
+ reset: function reset(skipTempReset) {
235
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
236
+ },
237
+ stop: function stop() {
238
+ this.done = !0;
239
+ var rootRecord = this.tryEntries[0].completion;
240
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
241
+ return this.rval;
242
+ },
243
+ dispatchException: function dispatchException(exception) {
244
+ if (this.done) throw exception;
245
+ var context = this;
246
+ function handle(loc, caught) {
247
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
248
+ }
249
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
250
+ var entry = this.tryEntries[i],
251
+ record = entry.completion;
252
+ if ("root" === entry.tryLoc) return handle("end");
253
+ if (entry.tryLoc <= this.prev) {
254
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
255
+ hasFinally = hasOwn.call(entry, "finallyLoc");
256
+ if (hasCatch && hasFinally) {
257
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
258
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
259
+ } else if (hasCatch) {
260
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
261
+ } else {
262
+ if (!hasFinally) throw new Error("try statement without catch or finally");
263
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
264
+ }
265
+ }
266
+ }
267
+ },
268
+ abrupt: function abrupt(type, arg) {
269
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
270
+ var entry = this.tryEntries[i];
271
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
272
+ var finallyEntry = entry;
273
+ break;
274
+ }
275
+ }
276
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
277
+ var record = finallyEntry ? finallyEntry.completion : {};
278
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
279
+ },
280
+ complete: function complete(record, afterLoc) {
281
+ if ("throw" === record.type) throw record.arg;
282
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
283
+ },
284
+ finish: function finish(finallyLoc) {
285
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
286
+ var entry = this.tryEntries[i];
287
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
288
+ }
289
+ },
290
+ "catch": function _catch(tryLoc) {
291
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
292
+ var entry = this.tryEntries[i];
293
+ if (entry.tryLoc === tryLoc) {
294
+ var record = entry.completion;
295
+ if ("throw" === record.type) {
296
+ var thrown = record.arg;
297
+ resetTryEntry(entry);
298
+ }
299
+ return thrown;
300
+ }
301
+ }
302
+ throw new Error("illegal catch attempt");
303
+ },
304
+ delegateYield: function delegateYield(iterable, resultName, nextLoc) {
305
+ return this.delegate = {
306
+ iterator: values(iterable),
307
+ resultName: resultName,
308
+ nextLoc: nextLoc
309
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
310
+ }
311
+ }, exports;
312
+ }
313
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
314
+
315
+ /***/ }),
316
+
317
+ /***/ 7425:
318
+ /***/ ((module) => {
319
+
320
+ function _typeof(obj) {
321
+ "@babel/helpers - typeof";
322
+
323
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
324
+ return typeof obj;
325
+ } : function (obj) {
326
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
327
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
328
+ }
329
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
330
+
331
+ /***/ }),
332
+
333
+ /***/ 2841:
334
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
335
+
336
+ // TODO(Babel 8): Remove this file.
337
+
338
+ var runtime = __webpack_require__(7609)();
339
+ module.exports = runtime;
340
+
341
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
342
+ try {
343
+ regeneratorRuntime = runtime;
344
+ } catch (accidentalStrictMode) {
345
+ if (typeof globalThis === "object") {
346
+ globalThis.regeneratorRuntime = runtime;
347
+ } else {
348
+ Function("r", "regeneratorRuntime = r")(runtime);
349
+ }
350
+ }
351
+
352
+
353
+ /***/ })
354
+
355
+ /******/ });
356
+ /************************************************************************/
357
+ /******/ // The module cache
358
+ /******/ var __webpack_module_cache__ = {};
359
+ /******/
360
+ /******/ // The require function
361
+ /******/ function __webpack_require__(moduleId) {
362
+ /******/ // Check if module is in cache
363
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
364
+ /******/ if (cachedModule !== undefined) {
365
+ /******/ return cachedModule.exports;
366
+ /******/ }
367
+ /******/ // Create a new module (and put it into the cache)
368
+ /******/ var module = __webpack_module_cache__[moduleId] = {
369
+ /******/ // no module.id needed
370
+ /******/ // no module.loaded needed
371
+ /******/ exports: {}
372
+ /******/ };
373
+ /******/
374
+ /******/ // Execute the module function
375
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
376
+ /******/
377
+ /******/ // Return the exports of the module
378
+ /******/ return module.exports;
379
+ /******/ }
380
+ /******/
381
+ /************************************************************************/
382
+ /******/ /* webpack/runtime/compat get default export */
383
+ /******/ (() => {
384
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
385
+ /******/ __webpack_require__.n = (module) => {
386
+ /******/ var getter = module && module.__esModule ?
387
+ /******/ () => (module['default']) :
388
+ /******/ () => (module);
389
+ /******/ __webpack_require__.d(getter, { a: getter });
390
+ /******/ return getter;
391
+ /******/ };
392
+ /******/ })();
393
+ /******/
394
+ /******/ /* webpack/runtime/define property getters */
395
+ /******/ (() => {
396
+ /******/ // define getter functions for harmony exports
397
+ /******/ __webpack_require__.d = (exports, definition) => {
398
+ /******/ for(var key in definition) {
399
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
400
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
401
+ /******/ }
402
+ /******/ }
403
+ /******/ };
404
+ /******/ })();
405
+ /******/
406
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
407
+ /******/ (() => {
408
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
409
+ /******/ })();
410
+ /******/
411
+ /************************************************************************/
412
+ var __webpack_exports__ = {};
413
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
414
+ (() => {
415
+
416
+ // EXPORTS
417
+ __webpack_require__.d(__webpack_exports__, {
418
+ Z: () => (/* binding */ src)
419
+ });
420
+
421
+ ;// CONCATENATED MODULE: external "../shared"
422
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
423
+ var y = x => () => x
424
+ 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 });
425
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
426
+ function _typeof(obj) {
427
+ "@babel/helpers - typeof";
428
+
429
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
430
+ return typeof obj;
431
+ } : function (obj) {
432
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
433
+ }, _typeof(obj);
434
+ }
435
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
436
+
437
+ function _toPrimitive(input, hint) {
438
+ if (_typeof(input) !== "object" || input === null) return input;
439
+ var prim = input[Symbol.toPrimitive];
440
+ if (prim !== undefined) {
441
+ var res = prim.call(input, hint || "default");
442
+ if (_typeof(res) !== "object") return res;
443
+ throw new TypeError("@@toPrimitive must return a primitive value.");
444
+ }
445
+ return (hint === "string" ? String : Number)(input);
446
+ }
447
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
448
+
449
+
450
+ function _toPropertyKey(arg) {
451
+ var key = _toPrimitive(arg, "string");
452
+ return _typeof(key) === "symbol" ? key : String(key);
453
+ }
454
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
455
+
456
+ function _defineProperty(obj, key, value) {
457
+ key = _toPropertyKey(key);
458
+ if (key in obj) {
459
+ Object.defineProperty(obj, key, {
460
+ value: value,
461
+ enumerable: true,
462
+ configurable: true,
463
+ writable: true
464
+ });
465
+ } else {
466
+ obj[key] = value;
467
+ }
468
+ return obj;
469
+ }
470
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
471
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
472
+ try {
473
+ var info = gen[key](arg);
474
+ var value = info.value;
475
+ } catch (error) {
476
+ reject(error);
477
+ return;
478
+ }
479
+ if (info.done) {
480
+ resolve(value);
481
+ } else {
482
+ Promise.resolve(value).then(_next, _throw);
483
+ }
484
+ }
485
+ function _asyncToGenerator(fn) {
486
+ return function () {
487
+ var self = this,
488
+ args = arguments;
489
+ return new Promise(function (resolve, reject) {
490
+ var gen = fn.apply(self, args);
491
+ function _next(value) {
492
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
493
+ }
494
+ function _throw(err) {
495
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
496
+ }
497
+ _next(undefined);
498
+ });
499
+ };
500
+ }
501
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
502
+ function _arrayLikeToArray(arr, len) {
503
+ if (len == null || len > arr.length) len = arr.length;
504
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
505
+ return arr2;
506
+ }
507
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
508
+
509
+ function _arrayWithoutHoles(arr) {
510
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
511
+ }
512
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
513
+ function _iterableToArray(iter) {
514
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
515
+ }
516
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
517
+
518
+ function _unsupportedIterableToArray(o, minLen) {
519
+ if (!o) return;
520
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
521
+ var n = Object.prototype.toString.call(o).slice(8, -1);
522
+ if (n === "Object" && o.constructor) n = o.constructor.name;
523
+ if (n === "Map" || n === "Set") return Array.from(o);
524
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
525
+ }
526
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
527
+ function _nonIterableSpread() {
528
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
529
+ }
530
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
531
+
532
+
533
+
534
+
535
+ function _toConsumableArray(arr) {
536
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
537
+ }
538
+ ;// CONCATENATED MODULE: external "vue"
539
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
540
+ var external_vue_y = x => () => x
541
+ 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 });
542
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
543
+ var regenerator = __webpack_require__(2841);
544
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
545
+ ;// CONCATENATED MODULE: external "../config-provider"
546
+ var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
547
+ var external_config_provider_y = x => () => x
548
+ const external_config_provider_namespaceObject = external_config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
549
+ ;// CONCATENATED MODULE: external "../icon"
550
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
551
+ var external_icon_y = x => () => x
552
+ 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 });
553
+ ;// CONCATENATED MODULE: ../../packages/process/src/process.tsx
554
+
555
+
556
+
557
+
558
+
559
+ /**
560
+ * Tencent is pleased to support the open source community by making
561
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
562
+ *
563
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
564
+ *
565
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
566
+ *
567
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
568
+ *
569
+ * ---------------------------------------------------
570
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
571
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
572
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
573
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
574
+ *
575
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
576
+ * the Software.
577
+ *
578
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
579
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
580
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
581
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
582
+ * IN THE SOFTWARE.
583
+ */
584
+
585
+
586
+
587
+
588
+ // import { Error, Circle, Done } from '@bkui-vue/icon';
589
+ var processProps = {
590
+ list: external_shared_namespaceObject.PropTypes.array.def([]),
591
+ controllable: external_shared_namespaceObject.PropTypes.bool.def(false),
592
+ showSteps: external_shared_namespaceObject.PropTypes.bool.def(false),
593
+ curProcess: external_shared_namespaceObject.PropTypes.number.def(0),
594
+ displayKey: external_shared_namespaceObject.PropTypes.string.def('content'),
595
+ extCls: external_shared_namespaceObject.PropTypes.string
596
+ };
597
+ /* harmony default export */ const process = ((0,external_vue_namespaceObject.defineComponent)({
598
+ name: 'Process',
599
+ props: processProps,
600
+ emits: ['update:curProcess', 'click'],
601
+ setup: function setup(props, _ref) {
602
+ var emit = _ref.emit;
603
+ var t = (0,external_config_provider_namespaceObject.useLocale)('process');
604
+ var lang = (0,external_config_provider_namespaceObject.useLocale)('lang');
605
+ var defaultProcessList = (0,external_vue_namespaceObject.ref)([]);
606
+ var paddingBottom = (0,external_vue_namespaceObject.ref)(0);
607
+ var init = function init() {
608
+ var _defaultProcessList$v, _props$list;
609
+ (_defaultProcessList$v = defaultProcessList.value).splice.apply(_defaultProcessList$v, [0, defaultProcessList.value.length].concat([{
610
+ content: t.value.step1
611
+ }, {
612
+ content: t.value.step2
613
+ }, {
614
+ content: t.value.step3
615
+ }, {
616
+ content: t.value.step4
617
+ }]));
618
+ if ((_props$list = props.list) !== null && _props$list !== void 0 && _props$list.length) {
619
+ var _defaultProcessList$v2;
620
+ (_defaultProcessList$v2 = defaultProcessList.value).splice.apply(_defaultProcessList$v2, [0, defaultProcessList.value.length].concat(_toConsumableArray(props.list)));
621
+ }
622
+ };
623
+ (0,external_vue_namespaceObject.watch)(function () {
624
+ return lang.value;
625
+ }, function () {
626
+ init();
627
+ });
628
+ var jumpTo = /*#__PURE__*/function () {
629
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(index) {
630
+ return regenerator_default().wrap(function _callee$(_context) {
631
+ while (1) switch (_context.prev = _context.next) {
632
+ case 0:
633
+ try {
634
+ if (props.controllable && index !== props.curProcess) {
635
+ emit('update:curProcess', index);
636
+ emit('click', index);
637
+ }
638
+ } catch (e) {
639
+ console.warn(e);
640
+ }
641
+ case 1:
642
+ case "end":
643
+ return _context.stop();
644
+ }
645
+ }, _callee);
646
+ }));
647
+ return function jumpTo(_x) {
648
+ return _ref2.apply(this, arguments);
649
+ };
650
+ }();
651
+ (0,external_vue_namespaceObject.onMounted)(init);
652
+ var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
653
+ resolveClassName = _usePrefix.resolveClassName;
654
+ return {
655
+ defaultProcessList: defaultProcessList,
656
+ paddingBottom: paddingBottom,
657
+ jumpTo: jumpTo,
658
+ resolveClassName: resolveClassName
659
+ };
660
+ },
661
+ render: function render() {
662
+ var _this = this;
663
+ var processClsPrefix = this.resolveClassName('process');
664
+ var processCls = (0,external_shared_namespaceObject.classes)(_defineProperty({}, "".concat(this.extCls), !!this.extCls), "".concat(processClsPrefix));
665
+ var isLoadingStatus = function isLoadingStatus(item) {
666
+ return item.status === 'loading';
667
+ };
668
+ var isErrorStatus = function isErrorStatus(item) {
669
+ return item.status === 'error';
670
+ };
671
+ var isDone = function isDone(index) {
672
+ return _this.curProcess >= index + 1 || _this.defaultProcessList[index].status === 'done';
673
+ };
674
+ var isIcon = function isIcon(item) {
675
+ return item.icon ? item.icon : '';
676
+ };
677
+ var renderIcon = function renderIcon(index, item) {
678
+ if (index === _this.curProcess - 1 && isLoadingStatus(item)) {
679
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Circle, {
680
+ "class": "".concat(_this.resolveClassName('icon'), " ").concat(_this.resolveClassName('process-icon'), " icon-loading")
681
+ }, null);
682
+ }
683
+ if (index === _this.curProcess - 1 && isErrorStatus(item)) {
684
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
685
+ "class": "".concat(_this.resolveClassName('process-icon'), " icon-error")
686
+ }, null);
687
+ }
688
+ if (index === _this.curProcess - 1 && isIcon(item)) {
689
+ return (0,external_vue_namespaceObject.createVNode)("span", {
690
+ "class": "".concat(_this.resolveClassName('process-icon-custom'))
691
+ }, [(0,external_vue_namespaceObject.createVNode)(item.icon, null, null)]);
692
+ }
693
+ if (isDone(index)) {
694
+ return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
695
+ "class": "".concat(_this.resolveClassName('process-icon-done'))
696
+ }, null);
697
+ }
698
+ // return (<span class="number">{<item.icon/>}</span>);
699
+ };
700
+
701
+ return (0,external_vue_namespaceObject.createVNode)("div", {
702
+ "class": processCls
703
+ }, [(0,external_vue_namespaceObject.createVNode)("ul", {
704
+ "style": {
705
+ paddingBottom: "".concat(this.paddingBottom, "px")
706
+ }
707
+ }, [this.defaultProcessList.map(function (item, index) {
708
+ return (0,external_vue_namespaceObject.createVNode)("li", {
709
+ "onClick": function onClick() {
710
+ _this.jumpTo(index + 1);
711
+ },
712
+ "style": {
713
+ cursor: _this.controllable ? 'pointer' : ''
714
+ },
715
+ "class": {
716
+ success: _this.curProcess >= index + 1,
717
+ current: isLoadingStatus(item) && index === _this.curProcess - 1,
718
+ error: isErrorStatus(item) && index === _this.curProcess - 1
719
+ }
720
+ }, [(0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)("span", {
721
+ "class": "display"
722
+ }, [item[_this.displayKey]]), renderIcon(index, item)])]);
723
+ })])]);
724
+ }
725
+ }));
726
+ ;// CONCATENATED MODULE: ../../packages/process/src/index.ts
727
+ /*
728
+ * Tencent is pleased to support the open source community by making
729
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
730
+ *
731
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
732
+ *
733
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
734
+ *
735
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
736
+ *
737
+ * ---------------------------------------------------
738
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
739
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
740
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
741
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
742
+ *
743
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
744
+ * the Software.
745
+ *
746
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
747
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
748
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
749
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
750
+ * IN THE SOFTWARE.
751
+ */
752
+
753
+
754
+ var BkProcess = (0,external_shared_namespaceObject.withInstall)(process);
755
+ /* harmony default export */ const src = (BkProcess);
756
+ })();
757
+
758
+ var __webpack_exports__default = __webpack_exports__.Z;
759
+ export { __webpack_exports__default as default };