bkui-vue 2.0.2-beta.9 → 2.0.2-beta.91

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 (343) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +166 -138
  4. package/dist/index.esm.js +24632 -18447
  5. package/dist/index.umd.js +166 -138
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/ja-jp.esm.js +2 -0
  9. package/dist/locale/ja-jp.esm.js.map +1 -0
  10. package/dist/locale/ja-jp.umd.js +2 -0
  11. package/dist/locale/ja-jp.umd.js.map +1 -0
  12. package/dist/locale/zh-cn.esm.js.map +1 -1
  13. package/dist/locale/zh-cn.umd.js.map +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/affix.variable.css +2 -1
  16. package/lib/affix/index.js +2 -2
  17. package/lib/alert/alert.variable.css +2 -1
  18. package/lib/alert/index.js +16 -5
  19. package/lib/animate-number/index.js +2 -2
  20. package/lib/backtop/backtop.variable.css +2 -1
  21. package/lib/backtop/index.js +2 -2
  22. package/lib/badge/badge.variable.css +2 -1
  23. package/lib/badge/index.js +2 -2
  24. package/lib/breadcrumb/breadcrumb.variable.css +2 -1
  25. package/lib/breadcrumb/index.js +3 -3
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +2 -1
  28. package/lib/button/index.js +3 -3
  29. package/lib/card/card.variable.css +2 -1
  30. package/lib/card/index.js +2 -2
  31. package/lib/cascader/cascader.css +52 -25
  32. package/lib/cascader/cascader.d.ts +309 -0
  33. package/lib/cascader/cascader.less +109 -75
  34. package/lib/cascader/cascader.variable.css +54 -26
  35. package/lib/cascader/index.d.ts +618 -0
  36. package/lib/cascader/index.js +147 -65
  37. package/lib/checkbox/checkbox.variable.css +2 -1
  38. package/lib/checkbox/index.js +5 -5
  39. package/lib/code-diff/code-diff.variable.css +2 -1
  40. package/lib/code-diff/index.js +2 -2
  41. package/lib/collapse/collapse.variable.css +2 -1
  42. package/lib/collapse/index.js +3 -3
  43. package/lib/collapse-transition/collapse-transition.variable.css +2 -1
  44. package/lib/collapse-transition/index.js +2 -2
  45. package/lib/color-picker/color-picker.variable.css +2 -1
  46. package/lib/color-picker/index.js +64 -55
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +2 -1
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +6 -6
  51. package/lib/container/container.variable.css +2 -1
  52. package/lib/container/index.js +5 -5
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +2 -1
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +79 -76
  57. package/lib/date-picker/panel/date-range.d.ts +2 -1
  58. package/lib/date-picker/panel/time.d.ts +1 -1
  59. package/lib/date-picker/utils.d.ts +5 -17
  60. package/lib/dialog/dialog.css +20 -1
  61. package/lib/dialog/dialog.variable.css +22 -2
  62. package/lib/dialog/index.js +13 -36
  63. package/lib/directives/index.js +8 -9
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +2 -1
  66. package/lib/divider/index.js +3 -3
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +2 -1
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +15 -10
  71. package/lib/exception/exception.variable.css +2 -1
  72. package/lib/exception/index.js +2 -2
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
  74. package/lib/fixed-navbar/index.js +2 -2
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +17 -4
  77. package/lib/form/form.less +25 -6
  78. package/lib/form/form.variable.css +19 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +43 -50
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +1 -1
  83. package/lib/icon/angle-double-left-line.js +1 -1
  84. package/lib/icon/angle-double-left.js +1 -1
  85. package/lib/icon/angle-double-right-line.js +1 -1
  86. package/lib/icon/angle-double-right.js +1 -1
  87. package/lib/icon/angle-double-up-line.js +1 -1
  88. package/lib/icon/angle-down-fill.js +1 -1
  89. package/lib/icon/angle-down-line.js +1 -1
  90. package/lib/icon/angle-down.js +1 -1
  91. package/lib/icon/angle-left.js +1 -1
  92. package/lib/icon/angle-right.js +1 -1
  93. package/lib/icon/angle-up-fill.js +1 -1
  94. package/lib/icon/angle-up.js +1 -1
  95. package/lib/icon/archive-fill.js +1 -1
  96. package/lib/icon/arrows-left.js +1 -1
  97. package/lib/icon/arrows-right.js +1 -1
  98. package/lib/icon/assistant.js +1 -1
  99. package/lib/icon/audio-fill.js +1 -1
  100. package/lib/icon/bk.js +1 -1
  101. package/lib/icon/circle.js +1 -1
  102. package/lib/icon/close-line.js +1 -1
  103. package/lib/icon/close.js +1 -1
  104. package/lib/icon/code.js +1 -1
  105. package/lib/icon/cog-shape.js +1 -1
  106. package/lib/icon/collapse-left.js +1 -1
  107. package/lib/icon/copy-shape.js +1 -1
  108. package/lib/icon/copy.js +1 -1
  109. package/lib/icon/data-shape.js +1 -1
  110. package/lib/icon/del.js +1 -1
  111. package/lib/icon/doc-fill.js +1 -1
  112. package/lib/icon/done.js +1 -1
  113. package/lib/icon/down-shape.js +1 -1
  114. package/lib/icon/down-small.js +1 -1
  115. package/lib/icon/edit-line.js +1 -1
  116. package/lib/icon/ellipsis.js +1 -1
  117. package/lib/icon/enlarge-line.js +1 -1
  118. package/lib/icon/error.js +1 -1
  119. package/lib/icon/excel-fill.js +1 -1
  120. package/lib/icon/exclamation-circle-shape.js +1 -1
  121. package/lib/icon/eye.js +1 -1
  122. package/lib/icon/filliscreen-line.js +1 -1
  123. package/lib/icon/fix-line.js +1 -1
  124. package/lib/icon/fix-shape.js +1 -1
  125. package/lib/icon/folder-open.js +1 -1
  126. package/lib/icon/folder-shape-open.js +1 -1
  127. package/lib/icon/folder-shape.js +1 -1
  128. package/lib/icon/folder.js +1 -1
  129. package/lib/icon/funnel.js +1 -1
  130. package/lib/icon/grag-fill.js +1 -1
  131. package/lib/icon/help-document-fill.js +1 -1
  132. package/lib/icon/help-fill.js +1 -1
  133. package/lib/icon/help.js +1 -1
  134. package/lib/icon/image-fill.js +1 -1
  135. package/lib/icon/img-error.js +1 -1
  136. package/lib/icon/img-placehoulder.js +1 -1
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +1 -1
  139. package/lib/icon/info.js +1 -1
  140. package/lib/icon/left-shape.js +1 -1
  141. package/lib/icon/left-turn-line.js +1 -1
  142. package/lib/icon/loading.js +1 -1
  143. package/lib/icon/narrow-line.js +1 -1
  144. package/lib/icon/original.js +1 -1
  145. package/lib/icon/pdf-fill.js +1 -1
  146. package/lib/icon/play-shape.js +1 -1
  147. package/lib/icon/plus.js +1 -1
  148. package/lib/icon/ppt-fill.js +1 -1
  149. package/lib/icon/qq.js +1 -1
  150. package/lib/icon/right-shape.js +1 -1
  151. package/lib/icon/right-turn-line.js +1 -1
  152. package/lib/icon/search.js +1 -1
  153. package/lib/icon/share.js +1 -1
  154. package/lib/icon/spinner.js +1 -1
  155. package/lib/icon/success.js +1 -1
  156. package/lib/icon/switcher-loading.js +1 -1
  157. package/lib/icon/text-all.js +1 -1
  158. package/lib/icon/text-file.js +1 -1
  159. package/lib/icon/text-fill.js +1 -1
  160. package/lib/icon/transfer.js +1 -1
  161. package/lib/icon/tree-application-shape.js +1 -1
  162. package/lib/icon/unfull-screen.js +1 -1
  163. package/lib/icon/unvisible.js +1 -1
  164. package/lib/icon/up-shape.js +1 -1
  165. package/lib/icon/upload.js +1 -1
  166. package/lib/icon/video-fill.js +1 -1
  167. package/lib/icon/warn.js +1 -1
  168. package/lib/icon/weixin-pro.js +1 -1
  169. package/lib/icon/weixin.js +1 -1
  170. package/lib/image/image-viewer.variable.css +2 -1
  171. package/lib/image/image.variable.css +2 -1
  172. package/lib/image/index.js +11 -12
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +22 -7
  175. package/lib/info-box/info-box.css +20 -1
  176. package/lib/info-box/info-box.d.ts +1 -0
  177. package/lib/info-box/info-box.less +28 -2
  178. package/lib/info-box/info-box.variable.css +23 -3
  179. package/lib/input/index.d.ts +45 -20
  180. package/lib/input/index.js +57 -29
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +35 -17
  183. package/lib/input/input.less +7 -0
  184. package/lib/input/input.variable.css +8 -1
  185. package/lib/link/index.js +2 -2
  186. package/lib/link/link.variable.css +2 -1
  187. package/lib/loading/index.js +15 -7
  188. package/lib/loading/loading.variable.css +2 -1
  189. package/lib/locale/index.d.ts +1 -0
  190. package/lib/locale/index.js +172 -4
  191. package/lib/locale/lang/ja-jp.d.ts +3 -0
  192. package/lib/menu/index.js +12 -9
  193. package/lib/menu/menu.css +5 -4
  194. package/lib/menu/menu.less +1 -0
  195. package/lib/menu/menu.variable.css +7 -5
  196. package/lib/menu/submenu.variable.css +2 -1
  197. package/lib/message/index.js +62 -28
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/message/messageConstructor.d.ts +1 -1
  200. package/lib/modal/index.js +19 -8
  201. package/lib/modal/modal.css +20 -1
  202. package/lib/modal/modal.variable.css +22 -2
  203. package/lib/navigation/index.js +3 -3
  204. package/lib/navigation/navigation.css +29 -29
  205. package/lib/navigation/navigation.less +29 -29
  206. package/lib/navigation/navigation.variable.css +31 -30
  207. package/lib/notify/index.js +43 -24
  208. package/lib/notify/notify.variable.css +2 -1
  209. package/lib/overflow-title/components/overflow-title.d.ts +6 -2
  210. package/lib/overflow-title/index.d.ts +12 -4
  211. package/lib/overflow-title/index.js +3 -3
  212. package/lib/overflow-title/props.d.ts +3 -1
  213. package/lib/pagination/index.js +22 -14
  214. package/lib/pagination/pagination.css +1 -0
  215. package/lib/pagination/pagination.less +1 -0
  216. package/lib/pagination/pagination.variable.css +3 -1
  217. package/lib/pop-confirm/index.d.ts +592 -0
  218. package/lib/pop-confirm/index.js +10 -6
  219. package/lib/pop-confirm/pop-confirm.d.ts +296 -0
  220. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  221. package/lib/pop-confirm/props.d.ts +148 -0
  222. package/lib/popover/index.d.ts +18 -10
  223. package/lib/popover/index.js +281 -76
  224. package/lib/popover/popover.d.ts +8 -4
  225. package/lib/popover/popover.variable.css +2 -1
  226. package/lib/popover/props.d.ts +3 -1
  227. package/lib/popover/use-floating.d.ts +2 -2
  228. package/lib/popover/use-popover-init.d.ts +2 -2
  229. package/lib/popover/use-popper-id.d.ts +3 -1
  230. package/lib/popover2/index.js +2 -2
  231. package/lib/preset.js +1 -1
  232. package/lib/process/index.js +2 -2
  233. package/lib/process/process.d.ts +1 -1
  234. package/lib/process/process.variable.css +2 -1
  235. package/lib/progress/index.js +4 -4
  236. package/lib/progress/progress.variable.css +2 -1
  237. package/lib/radio/index.js +5 -5
  238. package/lib/radio/radio.variable.css +2 -1
  239. package/lib/rate/index.js +3 -3
  240. package/lib/rate/rate.variable.css +2 -1
  241. package/lib/resize-layout/index.js +2 -2
  242. package/lib/resize-layout/resize-layout.css +1 -0
  243. package/lib/resize-layout/resize-layout.less +1 -0
  244. package/lib/resize-layout/resize-layout.variable.css +3 -1
  245. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  246. package/lib/scrollbar/index.js +6 -6
  247. package/lib/search-select/index.d.ts +43 -15
  248. package/lib/search-select/index.js +88 -37
  249. package/lib/search-select/input.d.ts +5 -1
  250. package/lib/search-select/search-select.d.ts +14 -5
  251. package/lib/search-select/search-select.variable.css +2 -1
  252. package/lib/search-select/selected.d.ts +10 -2
  253. package/lib/search-select/utils.d.ts +1 -0
  254. package/lib/select/common.d.ts +0 -1
  255. package/lib/select/index.d.ts +58 -14
  256. package/lib/select/index.js +67 -71
  257. package/lib/select/optionGroup.d.ts +12 -1
  258. package/lib/select/select.d.ts +21 -5
  259. package/lib/select/select.variable.css +2 -1
  260. package/lib/select/type.d.ts +1 -0
  261. package/lib/shared/index.d.ts +1 -1
  262. package/lib/shared/index.js +10 -10
  263. package/lib/shared/z-index-manager.d.ts +1 -1
  264. package/lib/sideslider/index.d.ts +129 -2
  265. package/lib/sideslider/index.js +149 -11
  266. package/lib/sideslider/sideslider.css +62 -0
  267. package/lib/sideslider/sideslider.d.ts +59 -1
  268. package/lib/sideslider/sideslider.less +83 -0
  269. package/lib/sideslider/sideslider.variable.css +64 -1
  270. package/lib/slider/index.d.ts +1 -1
  271. package/lib/slider/index.js +5 -4
  272. package/lib/slider/slider-button.d.ts +1 -1
  273. package/lib/slider/slider.d.ts +1 -1
  274. package/lib/slider/slider.variable.css +2 -1
  275. package/lib/steps/index.js +13 -14
  276. package/lib/steps/steps.css +24 -11
  277. package/lib/steps/steps.d.ts +1 -1
  278. package/lib/steps/steps.less +28 -10
  279. package/lib/steps/steps.variable.css +26 -12
  280. package/lib/styles/mixins/animate.variable.css +2 -1
  281. package/lib/styles/mixins/popper.variable.css +2 -1
  282. package/lib/styles/mixins/scroll.variable.css +2 -1
  283. package/lib/styles/reset.variable.css +2 -1
  284. package/lib/styles/themes/themes.less +4 -1
  285. package/lib/swiper/index.js +2 -2
  286. package/lib/swiper/swiper.variable.css +2 -1
  287. package/lib/switcher/index.js +2 -2
  288. package/lib/switcher/switcher.variable.css +2 -1
  289. package/lib/tab/index.d.ts +12 -0
  290. package/lib/tab/index.js +22 -17
  291. package/lib/tab/props.d.ts +3 -0
  292. package/lib/tab/tab.d.ts +6 -0
  293. package/lib/tab/tab.variable.css +2 -1
  294. package/lib/table/index.js +35 -36
  295. package/lib/table/plugins/head-filter.variable.css +2 -1
  296. package/lib/table/plugins/head-sort.variable.css +2 -1
  297. package/lib/table/plugins/settings.variable.css +2 -1
  298. package/lib/table/table.css +1 -0
  299. package/lib/table/table.variable.css +3 -1
  300. package/lib/table-column/index.js +1 -1
  301. package/lib/tag/index.d.ts +23 -0
  302. package/lib/tag/index.js +10 -5
  303. package/lib/tag/tag.d.ts +11 -0
  304. package/lib/tag/tag.variable.css +2 -1
  305. package/lib/tag-input/index.d.ts +82 -9
  306. package/lib/tag-input/index.js +1639 -54
  307. package/lib/tag-input/tag-input.css +31 -0
  308. package/lib/tag-input/tag-input.d.ts +36 -4
  309. package/lib/tag-input/tag-input.less +36 -0
  310. package/lib/tag-input/tag-input.variable.css +33 -1
  311. package/lib/tag-input/tag-props.d.ts +13 -1
  312. package/lib/tag-input/tag-render.d.ts +24 -2
  313. package/lib/time-picker/index.js +1 -1
  314. package/lib/time-picker/time-picker.variable.css +2 -1
  315. package/lib/timeline/index.d.ts +7 -7
  316. package/lib/timeline/index.js +1375 -9
  317. package/lib/timeline/timeline.d.ts +5 -5
  318. package/lib/timeline/timeline.variable.css +2 -1
  319. package/lib/transfer/index.d.ts +1 -24
  320. package/lib/transfer/index.js +21 -11
  321. package/lib/transfer/props.d.ts +0 -5
  322. package/lib/transfer/transfer.css +26 -8
  323. package/lib/transfer/transfer.d.ts +1 -12
  324. package/lib/transfer/transfer.less +18 -8
  325. package/lib/transfer/transfer.variable.css +28 -9
  326. package/lib/tree/constant.d.ts +2 -0
  327. package/lib/tree/index.d.ts +67 -11
  328. package/lib/tree/index.js +17694 -103
  329. package/lib/tree/props.d.ts +37 -3
  330. package/lib/tree/tree.css +34 -0
  331. package/lib/tree/tree.d.ts +31 -5
  332. package/lib/tree/tree.less +41 -2
  333. package/lib/tree/tree.variable.css +36 -1
  334. package/lib/tree/use-array-move.d.ts +6 -0
  335. package/lib/tree/use-node-action.d.ts +3 -1
  336. package/lib/tree/use-node-attribute.d.ts +3 -0
  337. package/lib/upload/index.js +8 -8
  338. package/lib/upload/upload.variable.css +2 -1
  339. package/lib/virtual-render/index.js +11 -7
  340. package/lib/virtual-render/virtual-render.variable.css +2 -1
  341. package/lib/volar.components.d.ts +2 -1
  342. package/package.json +13 -2
  343. package/dist/style.css +0 -1
@@ -9,6 +9,31 @@ declare const _default: import("vue").DefineComponent<{
9
9
  default: string;
10
10
  validator: (value: string) => boolean;
11
11
  };
12
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
13
+ default: boolean;
14
+ } & {
15
+ default: boolean;
16
+ };
17
+ minWidth: import("vue-types").VueTypeValidableDef<number> & {
18
+ default: number;
19
+ } & {
20
+ default: number;
21
+ };
22
+ maxWidth: import("vue-types").VueTypeValidableDef<number> & {
23
+ default: number;
24
+ } & {
25
+ default: number;
26
+ };
27
+ triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
28
+ default: number;
29
+ } & {
30
+ default: number;
31
+ };
32
+ immediate: import("vue-types").VueTypeValidableDef<boolean> & {
33
+ default: boolean;
34
+ } & {
35
+ default: boolean;
36
+ };
12
37
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
13
38
  default: boolean;
14
39
  } & {
@@ -69,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
69
94
  } & {
70
95
  default: string;
71
96
  };
72
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
97
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "before-resize" | "resizing" | "after-resize" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "before-resize" | "resizing" | "after-resize" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
73
98
  title: import("vue-types").VueTypeValidableDef<string> & {
74
99
  default: string;
75
100
  } & {
@@ -80,6 +105,31 @@ declare const _default: import("vue").DefineComponent<{
80
105
  default: string;
81
106
  validator: (value: string) => boolean;
82
107
  };
108
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
109
+ default: boolean;
110
+ } & {
111
+ default: boolean;
112
+ };
113
+ minWidth: import("vue-types").VueTypeValidableDef<number> & {
114
+ default: number;
115
+ } & {
116
+ default: number;
117
+ };
118
+ maxWidth: import("vue-types").VueTypeValidableDef<number> & {
119
+ default: number;
120
+ } & {
121
+ default: number;
122
+ };
123
+ triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
124
+ default: number;
125
+ } & {
126
+ default: number;
127
+ };
128
+ immediate: import("vue-types").VueTypeValidableDef<boolean> & {
129
+ default: boolean;
130
+ } & {
131
+ default: boolean;
132
+ };
83
133
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
84
134
  default: boolean;
85
135
  } & {
@@ -145,9 +195,13 @@ declare const _default: import("vue").DefineComponent<{
145
195
  onShown?: (...args: any[]) => any;
146
196
  onClosed?: (...args: any[]) => any;
147
197
  "onUpdate:isShow"?: (...args: any[]) => any;
198
+ "onBefore-resize"?: (...args: any[]) => any;
199
+ onResizing?: (...args: any[]) => any;
200
+ "onAfter-resize"?: (...args: any[]) => any;
148
201
  "onAnimation-end"?: (...args: any[]) => any;
149
202
  }, {
150
203
  title: string;
204
+ maxWidth: number;
151
205
  extCls: string;
152
206
  left: string;
153
207
  top: string;
@@ -156,6 +210,7 @@ declare const _default: import("vue").DefineComponent<{
156
210
  backgroundColor: string;
157
211
  transfer: string | boolean | HTMLElement;
158
212
  direction: string;
213
+ resizable: boolean;
159
214
  fullscreen: boolean;
160
215
  showMask: boolean;
161
216
  closeIcon: boolean;
@@ -163,5 +218,8 @@ declare const _default: import("vue").DefineComponent<{
163
218
  quickClose: boolean;
164
219
  animateType: string;
165
220
  beforeClose: () => boolean | Promise<boolean>;
221
+ minWidth: number;
222
+ triggerWidth: number;
223
+ immediate: boolean;
166
224
  }, {}>;
167
225
  export default _default;
@@ -5,6 +5,23 @@
5
5
  .@{bk-prefix}-modal-wrapper {
6
6
  right: 0;
7
7
  }
8
+
9
+ &.@{bk-prefix}-sideslider-resizable {
10
+ .@{bk-prefix}-sideslider-resize-trigger {
11
+ left: 0;
12
+ cursor: col-resize;
13
+
14
+ &:after {
15
+ left: 1px;
16
+ }
17
+ }
18
+
19
+ .@{bk-prefix}-sideslider-resize-proxy {
20
+ &.right {
21
+ border-left: 2px solid #3a84ff;
22
+ }
23
+ }
24
+ }
8
25
  }
9
26
 
10
27
  &.is-position-left {
@@ -15,6 +32,23 @@
15
32
  .@{bk-prefix}-sideslider-header {
16
33
  flex-direction: row-reverse;
17
34
  }
35
+
36
+ &.@{bk-prefix}-sideslider-resizable {
37
+ .@{bk-prefix}-sideslider-resize-trigger {
38
+ right: 0;
39
+ cursor: col-resize;
40
+
41
+ &:after {
42
+ right: 1px;
43
+ }
44
+ }
45
+
46
+ .@{bk-prefix}-sideslider-resize-proxy {
47
+ &.left {
48
+ border-left: 2px solid #3a84ff;
49
+ }
50
+ }
51
+ }
18
52
  }
19
53
 
20
54
  .@{bk-prefix}-modal-wrapper {
@@ -62,6 +96,10 @@
62
96
  color: #313238;
63
97
  }
64
98
 
99
+ .@{bk-prefix}-sideslider-content {
100
+ position: relative;
101
+ }
102
+
65
103
  .@{bk-prefix}-sideslider-footer {
66
104
  display: flex;
67
105
  align-items: center;
@@ -70,3 +108,48 @@
70
108
  padding-left: 24px;
71
109
  margin-top: 24px;
72
110
  }
111
+
112
+ // 拖拽相关样式
113
+ .@{bk-prefix}-sideslider-resize-trigger {
114
+ position: absolute;
115
+ top: 0;
116
+ z-index: 3;
117
+ width: 5px;
118
+ height: calc(100vh - 52px);
119
+ background-color: transparent;
120
+
121
+ &:after {
122
+ position: absolute;
123
+ top: 50%;
124
+ width: 2px;
125
+ height: 2px;
126
+ color: #c4c6cc;
127
+ content: '';
128
+ background: currentColor;
129
+ box-shadow: 0 4px 0 0 currentColor, 0 8px 0 0 currentColor, 0 -4px 0 0 currentColor, 0 -8px 0 0 currentColor;
130
+ transform: translateY(-50%);
131
+ }
132
+
133
+ &:hover:after {
134
+ color: #3a84ff;
135
+ }
136
+ }
137
+
138
+ .@{bk-prefix}-sideslider-resize-proxy {
139
+ position: fixed;
140
+ top: 0;
141
+ bottom: 0;
142
+ z-index: 9999;
143
+ pointer-events: none;
144
+ visibility: hidden;
145
+ }
146
+
147
+ .@{bk-prefix}-sideslider-resize-mask {
148
+ position: fixed;
149
+ top: 0;
150
+ right: 0;
151
+ bottom: 0;
152
+ left: 0;
153
+ z-index: 9998;
154
+ display: none;
155
+ }
@@ -98,7 +98,7 @@
98
98
  --submenu-bg-color: #151d2c;
99
99
  --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
100
  --menu-color: #96a2b9;
101
- --menu-group-color: var(--default-color);
101
+ --menu-group-color: #6E788B;
102
102
  --menu-width: 260px;
103
103
  --menu-collapse-width: 60px;
104
104
  --menu-active-color: white;
@@ -127,16 +127,37 @@
127
127
  --search-select-menu-border-color: var(--disable-color);
128
128
  --select-active-color: #e1ecff;
129
129
  --select-hover-color: #f5f7fa;
130
+ --sub-title-bg-color: #f5f6fa;
130
131
  }
131
132
  .bk-sideslider.is-position-right .bk-modal-wrapper {
132
133
  right: 0;
133
134
  }
135
+ .bk-sideslider.is-position-right.bk-sideslider-resizable .bk-sideslider-resize-trigger {
136
+ left: 0;
137
+ cursor: col-resize;
138
+ }
139
+ .bk-sideslider.is-position-right.bk-sideslider-resizable .bk-sideslider-resize-trigger:after {
140
+ left: 1px;
141
+ }
142
+ .bk-sideslider.is-position-right.bk-sideslider-resizable .bk-sideslider-resize-proxy.right {
143
+ border-left: 2px solid #3a84ff;
144
+ }
134
145
  .bk-sideslider.is-position-left .bk-modal-wrapper {
135
146
  left: 0;
136
147
  }
137
148
  .bk-sideslider.is-position-left .bk-sideslider-header {
138
149
  flex-direction: row-reverse;
139
150
  }
151
+ .bk-sideslider.is-position-left.bk-sideslider-resizable .bk-sideslider-resize-trigger {
152
+ right: 0;
153
+ cursor: col-resize;
154
+ }
155
+ .bk-sideslider.is-position-left.bk-sideslider-resizable .bk-sideslider-resize-trigger:after {
156
+ right: 1px;
157
+ }
158
+ .bk-sideslider.is-position-left.bk-sideslider-resizable .bk-sideslider-resize-proxy.left {
159
+ border-left: 2px solid #3a84ff;
160
+ }
140
161
  .bk-sideslider .bk-modal-wrapper {
141
162
  position: fixed;
142
163
  top: 0;
@@ -172,6 +193,9 @@
172
193
  font-size: 16px;
173
194
  color: #313238;
174
195
  }
196
+ .bk-sideslider-content {
197
+ position: relative;
198
+ }
175
199
  .bk-sideslider-footer {
176
200
  display: flex;
177
201
  align-items: center;
@@ -180,3 +204,42 @@
180
204
  padding-left: 24px;
181
205
  margin-top: 24px;
182
206
  }
207
+ .bk-sideslider-resize-trigger {
208
+ position: absolute;
209
+ top: 0;
210
+ z-index: 3;
211
+ width: 5px;
212
+ height: calc(100vh - 52px);
213
+ background-color: transparent;
214
+ }
215
+ .bk-sideslider-resize-trigger:after {
216
+ position: absolute;
217
+ top: 50%;
218
+ width: 2px;
219
+ height: 2px;
220
+ color: #c4c6cc;
221
+ content: '';
222
+ background: currentColor;
223
+ box-shadow: 0 4px 0 0 currentColor, 0 8px 0 0 currentColor, 0 -4px 0 0 currentColor, 0 -8px 0 0 currentColor;
224
+ transform: translateY(-50%);
225
+ }
226
+ .bk-sideslider-resize-trigger:hover:after {
227
+ color: #3a84ff;
228
+ }
229
+ .bk-sideslider-resize-proxy {
230
+ position: fixed;
231
+ top: 0;
232
+ bottom: 0;
233
+ z-index: 9999;
234
+ pointer-events: none;
235
+ visibility: hidden;
236
+ }
237
+ .bk-sideslider-resize-mask {
238
+ position: fixed;
239
+ top: 0;
240
+ right: 0;
241
+ bottom: 0;
242
+ left: 0;
243
+ z-index: 9998;
244
+ display: none;
245
+ }
@@ -2,7 +2,7 @@
2
2
  * Tencent is pleased to support the open source community by making
3
3
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
4
  *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5
+ * Copyright (C) 2025 Tencent. All rights reserved.
6
6
  *
7
7
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
8
  *
@@ -491,7 +491,7 @@ const popover_less_namespaceObject = popover_less_x({ });
491
491
  * Tencent is pleased to support the open source community by making
492
492
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
493
493
  *
494
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
494
+ * Copyright (C) 2025 Tencent. All rights reserved.
495
495
  *
496
496
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
497
497
  *
@@ -699,7 +699,7 @@ const popover_less_namespaceObject = popover_less_x({ });
699
699
  * Tencent is pleased to support the open source community by making
700
700
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
701
701
  *
702
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
702
+ * Copyright (C) 2025 Tencent. All rights reserved.
703
703
  *
704
704
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
705
705
  *
@@ -1029,7 +1029,8 @@ var off = function off(element, event, handler) {
1029
1029
  var valueChanged = function valueChanged() {
1030
1030
  if (props.range) {
1031
1031
  return ![rangeMinValue.value, rangeMaxValue.value].every(function (item, index) {
1032
- return item === oldValue.value[index];
1032
+ var _oldValue$value;
1033
+ return item === ((_oldValue$value = oldValue.value) === null || _oldValue$value === void 0 ? void 0 : _oldValue$value[index]);
1033
1034
  });
1034
1035
  }
1035
1036
  return props.modelValue !== oldValue.value;
@@ -1317,7 +1318,7 @@ var off = function off(element, event, handler) {
1317
1318
  * Tencent is pleased to support the open source community by making
1318
1319
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1319
1320
  *
1320
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1321
+ * Copyright (C) 2025 Tencent. All rights reserved.
1321
1322
  *
1322
1323
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1323
1324
  *
@@ -2,7 +2,7 @@
2
2
  * Tencent is pleased to support the open source community by making
3
3
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
4
  *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5
+ * Copyright (C) 2025 Tencent. All rights reserved.
6
6
  *
7
7
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * Tencent is pleased to support the open source community by making
3
3
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
4
  *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5
+ * Copyright (C) 2025 Tencent. All rights reserved.
6
6
  *
7
7
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
8
  *
@@ -98,7 +98,7 @@
98
98
  --submenu-bg-color: #151d2c;
99
99
  --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
100
  --menu-color: #96a2b9;
101
- --menu-group-color: var(--default-color);
101
+ --menu-group-color: #6E788B;
102
102
  --menu-width: 260px;
103
103
  --menu-collapse-width: 60px;
104
104
  --menu-active-color: white;
@@ -127,6 +127,7 @@
127
127
  --search-select-menu-border-color: var(--disable-color);
128
128
  --select-active-color: #e1ecff;
129
129
  --select-hover-color: #f5f7fa;
130
+ --sub-title-bg-color: #f5f6fa;
130
131
  }
131
132
  .bk-slider {
132
133
  display: flex;
@@ -529,7 +529,7 @@ const icon_namespaceObject = icon_x({ ["Circle"]: () => __WEBPACK_EXTERNAL_MODUL
529
529
  * Tencent is pleased to support the open source community by making
530
530
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
531
531
  *
532
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
532
+ * Copyright (C) 2025 Tencent. All rights reserved.
533
533
  *
534
534
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
535
535
  *
@@ -589,13 +589,14 @@ var stepsProps = {
589
589
  if (typeof step === 'string') {
590
590
  defaults.push(step);
591
591
  } else {
592
- var _step$border;
592
+ var _step$border, _step$disabled;
593
593
  defaults.push({
594
594
  title: step.title,
595
595
  icon: step.icon,
596
596
  description: step.description,
597
597
  status: step.status,
598
- border: (_step$border = step.border) !== null && _step$border !== void 0 ? _step$border : true
598
+ border: (_step$border = step.border) !== null && _step$border !== void 0 ? _step$border : true,
599
+ disabled: (_step$disabled = step.disabled) !== null && _step$disabled !== void 0 ? _step$disabled : false
599
600
  });
600
601
  }
601
602
  });
@@ -763,24 +764,22 @@ var stepsProps = {
763
764
  }, [this.defaultSteps.map(function (step, index) {
764
765
  var _this$$slots, _this$$slots2, _this$$slots3;
765
766
  return (0,external_vue_namespaceObject.createVNode)("div", {
766
- "class": [_this.resolveClassName('step'), !step.title ? _this.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this.status === 'error' ? 'is-error' : '', step.status && isCurrent(index) ? ["".concat(_this.resolveClassName("step-".concat(step.status)))] : '']
767
+ "class": [_this.resolveClassName('step'), !step.title ? _this.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this.status === 'error' ? 'is-error' : '', step.status && isCurrent(index) ? ["".concat(_this.resolveClassName("step-".concat(step.status)))] : '', step.disabled ? 'is-disabled' : '', _this.controllable && !step.disabled ? 'is-controllable' : '']
767
768
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
768
- "style": {
769
- cursor: _this.controllable ? 'pointer' : ''
770
- },
771
- "class": ["".concat(_this.resolveClassName('step-indicator')), "".concat(_this.resolveClassName("step-".concat(iconType(step) ? 'icon' : 'number'))), "".concat(_this.resolveClassName("step-icon".concat(step.status)))],
769
+ "class": ["".concat(_this.resolveClassName('step-indicator')), "".concat(_this.resolveClassName("step-".concat(iconType(step) ? 'icon' : 'number'))), "".concat(step.status ? _this.resolveClassName("step-icon".concat(step.status)) : '')],
772
770
  "onClick": function onClick() {
773
- _this.jumpTo(index + 1);
771
+ if (!step.disabled) {
772
+ _this.jumpTo(index + 1);
773
+ }
774
774
  }
775
775
  }, [(_this$$slots = (_this$$slots2 = (_this$$slots3 = _this.$slots)[index + 1]) === null || _this$$slots2 === void 0 ? void 0 : _this$$slots2.call(_this$$slots3)) !== null && _this$$slots !== void 0 ? _this$$slots : renderIcon(index, step)]), step.title ? (0,external_vue_namespaceObject.createVNode)("div", {
776
776
  "class": "".concat(_this.resolveClassName('step-content'))
777
777
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
778
- "style": {
779
- cursor: _this.controllable ? 'pointer' : ''
780
- },
781
778
  "class": "".concat(_this.resolveClassName('step-title')),
782
779
  "onClick": function onClick() {
783
- _this.jumpTo(index + 1);
780
+ if (!step.disabled) {
781
+ _this.jumpTo(index + 1);
782
+ }
784
783
  }
785
784
  }, [step.title]), step.description && (0,external_vue_namespaceObject.createVNode)("div", {
786
785
  "class": "".concat(_this.resolveClassName('step-description')),
@@ -794,7 +793,7 @@ var stepsProps = {
794
793
  * Tencent is pleased to support the open source community by making
795
794
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
796
795
  *
797
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
796
+ * Copyright (C) 2025 Tencent. All rights reserved.
798
797
  *
799
798
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
800
799
  *
@@ -32,15 +32,31 @@
32
32
  }
33
33
  .bk-steps .bk-step {
34
34
  position: relative;
35
+ flex: 1;
35
36
  margin-right: 16px;
36
37
  overflow: hidden;
37
38
  text-align: left;
38
39
  white-space: nowrap;
39
- flex: 1;
40
+ }
41
+ .bk-steps .bk-step.is-controllable {
42
+ cursor: pointer;
43
+ }
44
+ .bk-steps .bk-step.is-disabled {
45
+ cursor: not-allowed;
46
+ }
47
+ .bk-steps .bk-step.is-disabled .bk-step-indicator {
48
+ color: #dcdee5;
49
+ border-color: #dcdee5;
50
+ }
51
+ .bk-steps .bk-step.is-disabled .bk-step-title {
52
+ color: #dcdee5;
40
53
  }
41
54
  .bk-steps .bk-step .bk-step-indicator {
42
55
  z-index: 1;
56
+ box-sizing: border-box;
43
57
  display: inline-flex;
58
+ align-items: center;
59
+ justify-content: center;
44
60
  width: 24px;
45
61
  height: 24px;
46
62
  padding: 0;
@@ -52,9 +68,6 @@
52
68
  background-color: #fff;
53
69
  border: 1px solid #979ba5;
54
70
  border-radius: 50%;
55
- box-sizing: border-box;
56
- align-items: center;
57
- justify-content: center;
58
71
  }
59
72
  .bk-steps .bk-step .bk-step-number {
60
73
  font-family: arial;
@@ -79,8 +92,8 @@
79
92
  left: 100%;
80
93
  width: 99999px;
81
94
  height: 1px;
82
- background-color: transparent;
83
95
  content: '';
96
+ background-color: transparent;
84
97
  }
85
98
  .bk-steps .bk-step .bk-step-description {
86
99
  max-width: 140px;
@@ -97,16 +110,16 @@
97
110
  left: 100%;
98
111
  width: 99999px;
99
112
  height: 1px;
100
- background-color: transparent;
101
113
  content: '';
114
+ background-color: transparent;
102
115
  }
103
116
  .bk-steps .bk-step.bk-step-no-content .bk-step-indicator::after {
104
117
  top: 10px;
105
118
  left: 32px;
106
119
  }
107
120
  .bk-steps .bk-step:last-child {
108
- margin-right: 0;
109
121
  flex: none;
122
+ margin-right: 0;
110
123
  }
111
124
  .bk-steps .bk-step:last-child .bk-step-title {
112
125
  padding-right: 0;
@@ -240,8 +253,8 @@
240
253
  .bk-steps-dashed .bk-step .bk-step-title::after,
241
254
  .bk-steps-dashed .bk-step .bk-step-indicator::after {
242
255
  background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
243
- background-position: bottom;
244
256
  background-repeat: repeat-x;
257
+ background-position: bottom;
245
258
  background-size: 6px 1px;
246
259
  }
247
260
  .bk-steps-solid .bk-step .bk-step-title::after,
@@ -266,11 +279,11 @@
266
279
  left: 12px;
267
280
  width: 1px;
268
281
  height: 100%;
282
+ content: '';
269
283
  background-image: linear-gradient(#c4c6cc 50%, transparent 0%);
270
- background-position: right;
271
284
  background-repeat: repeat-y;
285
+ background-position: right;
272
286
  background-size: 1px 6px;
273
- content: '';
274
287
  }
275
288
  .bk-steps-vertical .bk-step.done:has(+ .current.is-error)::after,
276
289
  .bk-steps-vertical .bk-step.done:has( + .current.bk-step-error)::after {
@@ -278,10 +291,10 @@
278
291
  }
279
292
  .bk-steps-vertical .bk-step .bk-step-title {
280
293
  display: flex;
294
+ align-items: center;
281
295
  height: 100%;
282
296
  margin-top: 0;
283
297
  text-align: left;
284
- align-items: center;
285
298
  }
286
299
  .bk-steps-small .bk-step .bk-step-indicator {
287
300
  width: 20px;
@@ -2,7 +2,7 @@
2
2
  * Tencent is pleased to support the open source community by making
3
3
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
4
  *
5
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
5
+ * Copyright (C) 2025 Tencent. All rights reserved.
6
6
  *
7
7
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
8
  *
@@ -14,8 +14,8 @@
14
14
  left: 100%;
15
15
  width: 99999px;
16
16
  height: 1px;
17
- background-color: transparent;
18
17
  content: '';
18
+ background-color: transparent;
19
19
  }
20
20
  }
21
21
 
@@ -54,15 +54,36 @@
54
54
 
55
55
  .@{bk-prefix}-step {
56
56
  position: relative;
57
+ flex: 1;
57
58
  margin-right: 16px;
58
59
  overflow: hidden;
59
60
  text-align: left;
60
61
  white-space: nowrap;
61
- flex: 1;
62
+
63
+
64
+ &.is-controllable {
65
+ cursor: pointer;
66
+ }
67
+
68
+ &.is-disabled {
69
+ cursor: not-allowed;
70
+ .@{bk-prefix}-step-indicator {
71
+ color: #dcdee5;
72
+ border-color: #dcdee5;
73
+ }
74
+ .@{bk-prefix}-step-title {
75
+ color: #dcdee5;
76
+
77
+
78
+ }
79
+ }
62
80
 
63
81
  .@{bk-prefix}-step-indicator {
64
82
  z-index: 1;
83
+ box-sizing: border-box;
65
84
  display: inline-flex;
85
+ align-items: center;
86
+ justify-content: center;
66
87
  width: 24px;
67
88
  height: 24px;
68
89
  padding: 0;
@@ -74,9 +95,6 @@
74
95
  background-color: #fff;
75
96
  border: 1px solid #979ba5;
76
97
  border-radius: 50%;
77
- box-sizing: border-box;
78
- align-items: center;
79
- justify-content: center;
80
98
 
81
99
  // .@{bk-prefix}-steps-icon {
82
100
  // color: @white-color;
@@ -126,8 +144,8 @@
126
144
  }
127
145
 
128
146
  &:last-child {
129
- margin-right: 0;
130
147
  flex: none;
148
+ margin-right: 0;
131
149
 
132
150
  .@{bk-prefix}-step-title {
133
151
  padding-right: 0;
@@ -253,8 +271,8 @@
253
271
  .@{bk-prefix}-step-indicator {
254
272
  &::after {
255
273
  background-image: linear-gradient(to right, @light-gray 50%, transparent 0%);
256
- background-position: bottom;
257
274
  background-repeat: repeat-x;
275
+ background-position: bottom;
258
276
  background-size: 6px 1px;
259
277
  }
260
278
  }
@@ -293,11 +311,11 @@
293
311
  left: 12px;
294
312
  width: 1px;
295
313
  height: 100%;
314
+ content: '';
296
315
  background-image: linear-gradient(@light-gray 50%, transparent 0%);
297
- background-position: right;
298
316
  background-repeat: repeat-y;
317
+ background-position: right;
299
318
  background-size: 1px 6px;
300
- content: '';
301
319
  }
302
320
 
303
321
  &.done {
@@ -311,10 +329,10 @@
311
329
 
312
330
  .@{bk-prefix}-step-title {
313
331
  display: flex;
332
+ align-items: center;
314
333
  height: 100%;
315
334
  margin-top: 0;
316
335
  text-align: left;
317
- align-items: center;
318
336
  }
319
337
  }
320
338
  }