bkui-vue 2.0.2-beta.7 → 2.0.2-beta.71

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 (320) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +165 -138
  4. package/dist/index.esm.js +24227 -18480
  5. package/dist/index.umd.js +165 -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 +26 -24
  32. package/lib/cascader/cascader.d.ts +311 -0
  33. package/lib/cascader/cascader.less +78 -76
  34. package/lib/cascader/cascader.variable.css +28 -25
  35. package/lib/cascader/index.d.ts +610 -0
  36. package/lib/cascader/index.js +107 -49
  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 +62 -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 +77 -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 +6 -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 +16 -4
  77. package/lib/form/form.less +24 -6
  78. package/lib/form/form.variable.css +18 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +41 -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 +9 -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 +39 -20
  180. package/lib/input/index.js +44 -27
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +30 -16
  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 +3 -3
  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 +4 -4
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/modal/index.js +14 -6
  200. package/lib/modal/modal.css +20 -1
  201. package/lib/modal/modal.variable.css +22 -2
  202. package/lib/navigation/index.js +3 -3
  203. package/lib/navigation/navigation.css +29 -29
  204. package/lib/navigation/navigation.less +29 -29
  205. package/lib/navigation/navigation.variable.css +31 -30
  206. package/lib/notify/index.js +3 -3
  207. package/lib/notify/notify.variable.css +2 -1
  208. package/lib/overflow-title/index.js +3 -3
  209. package/lib/pagination/index.js +22 -14
  210. package/lib/pagination/pagination.css +1 -0
  211. package/lib/pagination/pagination.less +1 -0
  212. package/lib/pagination/pagination.variable.css +3 -1
  213. package/lib/pop-confirm/index.d.ts +584 -0
  214. package/lib/pop-confirm/index.js +10 -6
  215. package/lib/pop-confirm/pop-confirm.d.ts +292 -0
  216. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  217. package/lib/pop-confirm/props.d.ts +146 -0
  218. package/lib/popover/index.js +18 -21
  219. package/lib/popover/popover.variable.css +2 -1
  220. package/lib/popover2/index.js +2 -2
  221. package/lib/preset.js +1 -1
  222. package/lib/process/index.js +2 -2
  223. package/lib/process/process.d.ts +1 -1
  224. package/lib/process/process.variable.css +2 -1
  225. package/lib/progress/index.js +4 -4
  226. package/lib/progress/progress.variable.css +2 -1
  227. package/lib/radio/index.js +5 -5
  228. package/lib/radio/radio.variable.css +2 -1
  229. package/lib/rate/index.js +3 -3
  230. package/lib/rate/rate.variable.css +2 -1
  231. package/lib/resize-layout/index.js +2 -2
  232. package/lib/resize-layout/resize-layout.css +1 -0
  233. package/lib/resize-layout/resize-layout.less +1 -0
  234. package/lib/resize-layout/resize-layout.variable.css +3 -1
  235. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  236. package/lib/scrollbar/index.js +6 -6
  237. package/lib/search-select/index.d.ts +39 -11
  238. package/lib/search-select/index.js +91 -38
  239. package/lib/search-select/input.d.ts +5 -1
  240. package/lib/search-select/search-select.d.ts +13 -4
  241. package/lib/search-select/search-select.variable.css +2 -1
  242. package/lib/search-select/selected.d.ts +10 -2
  243. package/lib/search-select/utils.d.ts +1 -0
  244. package/lib/select/index.d.ts +22 -3
  245. package/lib/select/index.js +34 -28
  246. package/lib/select/select.d.ts +11 -1
  247. package/lib/select/select.variable.css +2 -1
  248. package/lib/shared/index.d.ts +1 -1
  249. package/lib/shared/index.js +10 -10
  250. package/lib/shared/z-index-manager.d.ts +1 -1
  251. package/lib/sideslider/index.js +5 -3
  252. package/lib/sideslider/sideslider.variable.css +2 -1
  253. package/lib/slider/index.d.ts +1 -1
  254. package/lib/slider/index.js +5 -4
  255. package/lib/slider/slider-button.d.ts +1 -1
  256. package/lib/slider/slider.d.ts +1 -1
  257. package/lib/slider/slider.variable.css +2 -1
  258. package/lib/steps/index.js +2 -2
  259. package/lib/steps/steps.d.ts +1 -1
  260. package/lib/steps/steps.variable.css +2 -1
  261. package/lib/styles/mixins/animate.variable.css +2 -1
  262. package/lib/styles/mixins/popper.variable.css +2 -1
  263. package/lib/styles/mixins/scroll.variable.css +2 -1
  264. package/lib/styles/reset.variable.css +2 -1
  265. package/lib/styles/themes/themes.less +4 -1
  266. package/lib/swiper/index.js +2 -2
  267. package/lib/swiper/swiper.variable.css +2 -1
  268. package/lib/switcher/index.js +2 -2
  269. package/lib/switcher/switcher.variable.css +2 -1
  270. package/lib/tab/index.d.ts +12 -0
  271. package/lib/tab/index.js +20 -17
  272. package/lib/tab/props.d.ts +3 -0
  273. package/lib/tab/tab.d.ts +6 -0
  274. package/lib/tab/tab.variable.css +2 -1
  275. package/lib/table/index.js +33 -36
  276. package/lib/table/plugins/head-filter.variable.css +2 -1
  277. package/lib/table/plugins/head-sort.variable.css +2 -1
  278. package/lib/table/plugins/settings.variable.css +2 -1
  279. package/lib/table/table.css +1 -0
  280. package/lib/table/table.variable.css +3 -1
  281. package/lib/table-column/index.js +1 -1
  282. package/lib/tag/index.js +2 -2
  283. package/lib/tag/tag.variable.css +2 -1
  284. package/lib/tag-input/index.d.ts +9 -0
  285. package/lib/tag-input/index.js +1569 -42
  286. package/lib/tag-input/tag-input.css +16 -0
  287. package/lib/tag-input/tag-input.d.ts +17 -2
  288. package/lib/tag-input/tag-input.less +16 -0
  289. package/lib/tag-input/tag-input.variable.css +18 -1
  290. package/lib/tag-input/tag-render.d.ts +24 -2
  291. package/lib/time-picker/index.js +1 -1
  292. package/lib/time-picker/time-picker.variable.css +2 -1
  293. package/lib/timeline/index.js +1353 -4
  294. package/lib/timeline/timeline.d.ts +1 -1
  295. package/lib/timeline/timeline.variable.css +2 -1
  296. package/lib/transfer/index.d.ts +1 -24
  297. package/lib/transfer/index.js +21 -11
  298. package/lib/transfer/props.d.ts +0 -5
  299. package/lib/transfer/transfer.css +26 -8
  300. package/lib/transfer/transfer.d.ts +1 -12
  301. package/lib/transfer/transfer.less +18 -8
  302. package/lib/transfer/transfer.variable.css +28 -9
  303. package/lib/tree/constant.d.ts +2 -0
  304. package/lib/tree/index.d.ts +48 -11
  305. package/lib/tree/index.js +17650 -106
  306. package/lib/tree/props.d.ts +30 -3
  307. package/lib/tree/tree.css +46 -0
  308. package/lib/tree/tree.d.ts +22 -5
  309. package/lib/tree/tree.less +57 -2
  310. package/lib/tree/tree.variable.css +48 -1
  311. package/lib/tree/use-array-move.d.ts +6 -0
  312. package/lib/tree/use-node-action.d.ts +2 -2
  313. package/lib/tree/use-node-attribute.d.ts +3 -0
  314. package/lib/upload/index.js +8 -8
  315. package/lib/upload/upload.variable.css +2 -1
  316. package/lib/virtual-render/index.js +7 -7
  317. package/lib/virtual-render/virtual-render.variable.css +2 -1
  318. package/lib/volar.components.d.ts +2 -1
  319. package/package.json +13 -2
  320. package/dist/style.css +0 -1
@@ -548,7 +548,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
548
548
  * Tencent is pleased to support the open source community by making
549
549
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
550
550
  *
551
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
551
+ * Copyright (C) 2025 Tencent. All rights reserved.
552
552
  *
553
553
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
554
554
  *
@@ -619,7 +619,7 @@ function dialog_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
619
619
  * Tencent is pleased to support the open source community by making
620
620
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
621
621
  *
622
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
622
+ * Copyright (C) 2025 Tencent. All rights reserved.
623
623
  *
624
624
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
625
625
  *
@@ -688,8 +688,6 @@ function _isSlot(s) {
688
688
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
689
689
  var isMoveing = (0,external_vue_namespaceObject.ref)(false);
690
690
  var positionData = (0,external_vue_namespaceObject.reactive)({
691
- positionX: 0,
692
- positionY: 0,
693
691
  moveStyle: {
694
692
  top: '50%',
695
693
  left: '50%'
@@ -776,38 +774,17 @@ function _isSlot(s) {
776
774
  if (!props.draggable) {
777
775
  return false;
778
776
  }
779
- var odiv = e.target;
780
- var parentHeight = e.currentTarget.parentNode.parentNode.offsetHeight;
781
- var parentWidth = e.currentTarget.parentNode.parentNode.offsetWidth;
782
- var disX;
783
- var disY;
784
- if (positionData.positionX !== 0 && positionData.positionY !== 0) {
785
- disX = e.clientX - positionData.positionX;
786
- disY = e.clientY - positionData.positionY;
787
- } else {
788
- disX = e.clientX - odiv.offsetLeft;
789
- disY = e.clientY - odiv.offsetTop;
790
- }
777
+ var clientRect = e.currentTarget.parentNode.parentNode.getBoundingClientRect();
778
+ var boxLeft = clientRect.left + clientRect.width / 2;
779
+ var boxTop = clientRect.top + clientRect.height / 2;
791
780
  isMoveing.value = true;
792
- document.onmousemove = function (e) {
793
- var boxLeft = window.innerWidth - parentWidth;
794
- var boxTop = window.innerHeight - parentHeight;
795
- var left = e.clientX - disX;
796
- var top = e.clientY - disY;
797
- if (boxLeft / 2 - left <= 0) {
798
- left = boxLeft / 2;
799
- } else if (boxLeft / 2 + left <= 0) {
800
- left = -boxLeft / 2;
801
- }
802
- if (boxTop / 2 - top <= 0) {
803
- top = boxTop / 2;
804
- } else if (boxTop / 2 + top <= 0) {
805
- top = -boxTop / 2;
806
- }
807
- positionData.positionX = left;
808
- positionData.positionY = top;
809
- positionData.moveStyle.left = "calc(50% + ".concat(left, "px)");
810
- positionData.moveStyle.top = "calc(50% + ".concat(top, "px)");
781
+ var startX = e.clientX;
782
+ var startY = e.clientY;
783
+ document.onmousemove = function (evt) {
784
+ var diffX = evt.clientX - startX;
785
+ var diffY = evt.clientY - startY;
786
+ positionData.moveStyle.left = "".concat(boxLeft + diffX, "px");
787
+ positionData.moveStyle.top = "".concat(boxTop + diffY, "px");
811
788
  };
812
789
  document.onmouseup = function () {
813
790
  document.onmousemove = null;
@@ -954,7 +931,7 @@ function _isSlot(s) {
954
931
  * Tencent is pleased to support the open source community by making
955
932
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
956
933
  *
957
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
934
+ * Copyright (C) 2025 Tencent. All rights reserved.
958
935
  *
959
936
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
960
937
  *
@@ -891,7 +891,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
891
891
  * Tencent is pleased to support the open source community by making
892
892
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
893
893
  *
894
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
894
+ * Copyright (C) 2025 Tencent. All rights reserved.
895
895
  *
896
896
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
897
897
  *
@@ -1019,7 +1019,7 @@ var popover_ = __webpack_require__(563);
1019
1019
  * Tencent is pleased to support the open source community by making
1020
1020
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1021
1021
  *
1022
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1022
+ * Copyright (C) 2025 Tencent. All rights reserved.
1023
1023
  *
1024
1024
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1025
1025
  *
@@ -1131,7 +1131,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
1131
1131
  * Tencent is pleased to support the open source community by making
1132
1132
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1133
1133
  *
1134
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1134
+ * Copyright (C) 2025 Tencent. All rights reserved.
1135
1135
  *
1136
1136
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1137
1137
  *
@@ -1190,7 +1190,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1190
1190
  * Tencent is pleased to support the open source community by making
1191
1191
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1192
1192
  *
1193
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1193
+ * Copyright (C) 2025 Tencent. All rights reserved.
1194
1194
  *
1195
1195
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1196
1196
  *
@@ -1245,9 +1245,6 @@ var tooltips = {
1245
1245
  hide(el);
1246
1246
  }, 100);
1247
1247
  });
1248
- el.addEventListener('click', function () {
1249
- hide(el);
1250
- });
1251
1248
  popper.addEventListener('mouseleave', function () {
1252
1249
  clearTimeout(delayTimeout);
1253
1250
  hideTimeout = setTimeout(function () {
@@ -1261,7 +1258,7 @@ var tooltips = {
1261
1258
  show(el);
1262
1259
  clearTimeout(delayTimeout);
1263
1260
  }, opts.delay);
1264
- } else if (popper.hasAttribute('data-show')) {
1261
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
1265
1262
  hide(el);
1266
1263
  }
1267
1264
  });
@@ -1485,7 +1482,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ ["ov
1485
1482
  * Tencent is pleased to support the open source community by making
1486
1483
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1487
1484
  *
1488
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1485
+ * Copyright (C) 2025 Tencent. All rights reserved.
1489
1486
  *
1490
1487
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1491
1488
  *
package/lib/dist.index.js CHANGED
@@ -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-divider {
132
133
  position: relative;
@@ -49,7 +49,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
49
49
  * Tencent is pleased to support the open source community by making
50
50
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
51
51
  *
52
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
52
+ * Copyright (C) 2025 Tencent. All rights reserved.
53
53
  *
54
54
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
55
55
  *
@@ -84,7 +84,7 @@ var dividerProps = {
84
84
  * Tencent is pleased to support the open source community by making
85
85
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
86
86
  *
87
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
87
+ * Copyright (C) 2025 Tencent. All rights reserved.
88
88
  *
89
89
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
90
90
  *
@@ -142,7 +142,7 @@ var dividerProps = {
142
142
  * Tencent is pleased to support the open source community by making
143
143
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
144
144
  *
145
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
145
+ * Copyright (C) 2025 Tencent. All rights reserved.
146
146
  *
147
147
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
148
148
  *
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  default: string;
37
37
  };
38
38
  }, {
39
+ isPopoverShow: import("vue").Ref<boolean>;
39
40
  afterShow: () => void;
40
41
  afterHidden: () => void;
41
42
  popoverRef: import("vue").Ref<any>;
@@ -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-popover.bk-pop2-content {
132
133
  position: absolute;
@@ -37,6 +37,7 @@ declare const BkDropdown: {
37
37
  onHide?: (...args: any[]) => any;
38
38
  onShowChange?: (...args: any[]) => any;
39
39
  }, {
40
+ isPopoverShow: import("vue").Ref<boolean>;
40
41
  afterShow: () => void;
41
42
  afterHidden: () => void;
42
43
  popoverRef: import("vue").Ref<any>;
@@ -128,6 +129,7 @@ declare const BkDropdown: {
128
129
  onHide?: (...args: any[]) => any;
129
130
  onShowChange?: (...args: any[]) => any;
130
131
  }, {
132
+ isPopoverShow: import("vue").Ref<boolean>;
131
133
  afterShow: () => void;
132
134
  afterHidden: () => void;
133
135
  popoverRef: import("vue").Ref<any>;
@@ -181,6 +183,7 @@ declare const BkDropdown: {
181
183
  onHide?: (...args: any[]) => any;
182
184
  onShowChange?: (...args: any[]) => any;
183
185
  }, {
186
+ isPopoverShow: import("vue").Ref<boolean>;
184
187
  afterShow: () => void;
185
188
  afterHidden: () => void;
186
189
  popoverRef: import("vue").Ref<any>;
@@ -90,7 +90,7 @@ function _defineProperty(obj, key, value) {
90
90
  ;// CONCATENATED MODULE: external "vue"
91
91
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
92
92
  var external_vue_y = x => () => x
93
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
93
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
94
94
  ;// CONCATENATED MODULE: external "../config-provider"
95
95
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
96
96
  var config_provider_y = x => () => x
@@ -114,7 +114,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
114
114
  * Tencent is pleased to support the open source community by making
115
115
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
116
116
  *
117
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
117
+ * Copyright (C) 2025 Tencent. All rights reserved.
118
118
  *
119
119
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
120
120
  *
@@ -160,8 +160,13 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
160
160
  emits: ['showChange', 'show', 'hide'],
161
161
  setup: function setup(_props, _ref) {
162
162
  var emit = _ref.emit;
163
+ var popoverRef = (0,external_vue_namespaceObject.ref)(null);
164
+ var isPopoverShow = (0,external_vue_namespaceObject.ref)(false);
165
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
166
+ resolveClassName = _usePrefix.resolveClassName;
163
167
  /** 弹层显示值变更 */
164
168
  var handleShowChagne = function handleShowChagne(val) {
169
+ isPopoverShow.value = val;
165
170
  emit('showChange', val);
166
171
  };
167
172
  /** 显示后回调 */
@@ -174,10 +179,8 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
174
179
  emit('hide');
175
180
  handleShowChagne(false);
176
181
  };
177
- var popoverRef = (0,external_vue_namespaceObject.ref)(null);
178
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
179
- resolveClassName = _usePrefix.resolveClassName;
180
182
  return {
183
+ isPopoverShow: isPopoverShow,
181
184
  afterShow: afterShow,
182
185
  afterHidden: afterHidden,
183
186
  popoverRef: popoverRef,
@@ -209,13 +212,15 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
209
212
  var _this$$slots$default, _this$$slots;
210
213
  return (0,external_vue_namespaceObject.createVNode)("div", {
211
214
  "class": ["".concat(_this.resolveClassName('dropdown-reference')), _this.disabled ? 'disabled' : '']
212
- }, [' ', (_this$$slots$default = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots), ' ']);
215
+ }, [(_this$$slots$default = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots, {
216
+ popoverShow: _this.isPopoverShow
217
+ })]);
213
218
  },
214
219
  content: function content() {
215
220
  var _this$$slots$content, _this$$slots2;
216
221
  return (0,external_vue_namespaceObject.createVNode)("div", {
217
222
  "class": "".concat(_this.resolveClassName('dropdown-content'))
218
- }, [(0,external_vue_namespaceObject.createTextVNode)(" "), (_this$$slots$content = (_this$$slots2 = _this.$slots).content) === null || _this$$slots$content === void 0 ? void 0 : _this$$slots$content.call(_this$$slots2), (0,external_vue_namespaceObject.createTextVNode)(" ")]);
223
+ }, [(_this$$slots$content = (_this$$slots2 = _this.$slots).content) === null || _this$$slots$content === void 0 ? void 0 : _this$$slots$content.call(_this$$slots2)]);
219
224
  }
220
225
  })]);
221
226
  }
@@ -226,7 +231,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
226
231
  * Tencent is pleased to support the open source community by making
227
232
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
228
233
  *
229
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
234
+ * Copyright (C) 2025 Tencent. All rights reserved.
230
235
  *
231
236
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
232
237
  *
@@ -289,7 +294,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
289
294
  * Tencent is pleased to support the open source community by making
290
295
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
291
296
  *
292
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
297
+ * Copyright (C) 2025 Tencent. All rights reserved.
293
298
  *
294
299
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
295
300
  *
@@ -341,7 +346,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
341
346
  * Tencent is pleased to support the open source community by making
342
347
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
343
348
  *
344
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
349
+ * Copyright (C) 2025 Tencent. All rights reserved.
345
350
  *
346
351
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
347
352
  *
@@ -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-exception {
132
133
  position: relative;
@@ -218,7 +218,7 @@ var search_empty_default = /*#__PURE__*/__webpack_require__.n(search_empty);
218
218
  * Tencent is pleased to support the open source community by making
219
219
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
220
220
  *
221
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
221
+ * Copyright (C) 2025 Tencent. All rights reserved.
222
222
  *
223
223
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
224
224
  *
@@ -351,7 +351,7 @@ var SceneEnum;
351
351
  * Tencent is pleased to support the open source community by making
352
352
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
353
353
  *
354
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
354
+ * Copyright (C) 2025 Tencent. All rights reserved.
355
355
  *
356
356
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
357
357
  *
@@ -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-fixed-navbar {
132
133
  position: fixed;
@@ -50,7 +50,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
50
50
  * Tencent is pleased to support the open source community by making
51
51
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
52
52
  *
53
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
53
+ * Copyright (C) 2025 Tencent. All rights reserved.
54
54
  *
55
55
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
56
56
  *
@@ -127,7 +127,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
127
127
  * Tencent is pleased to support the open source community by making
128
128
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
129
129
  *
130
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
130
+ * Copyright (C) 2025 Tencent. All rights reserved.
131
131
  *
132
132
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
133
133
  *
@@ -1,5 +1,6 @@
1
1
  import type { ComputedRef, ExtractPropTypes } from 'vue';
2
2
  declare const formItemProps: {
3
+ itemType: import("vue-types").VueTypeDef<string>;
3
4
  label: import("vue-types").VueTypeValidableDef<string> & {
4
5
  default: string;
5
6
  };
@@ -38,9 +39,15 @@ declare const formItemProps: {
38
39
  errorDisplayType: import("vue-types").VueTypeDef<string> & {
39
40
  default: string;
40
41
  };
42
+ errorTipAppendToParent: import("vue-types").VueTypeValidableDef<boolean> & {
43
+ default: boolean;
44
+ } & {
45
+ default: boolean;
46
+ };
41
47
  };
42
48
  export type FormItemProps = Readonly<ExtractPropTypes<typeof formItemProps>>;
43
49
  declare const _default: import("vue").DefineComponent<{
50
+ itemType: import("vue-types").VueTypeDef<string>;
44
51
  label: import("vue-types").VueTypeValidableDef<string> & {
45
52
  default: string;
46
53
  };
@@ -79,6 +86,11 @@ declare const _default: import("vue").DefineComponent<{
79
86
  errorDisplayType: import("vue-types").VueTypeDef<string> & {
80
87
  default: string;
81
88
  };
89
+ errorTipAppendToParent: import("vue-types").VueTypeValidableDef<boolean> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
93
+ };
82
94
  }, {
83
95
  isShowLabel: ComputedRef<boolean>;
84
96
  labelStyles: ComputedRef<{
@@ -96,6 +108,7 @@ declare const _default: import("vue").DefineComponent<{
96
108
  isError: import("vue").Ref<boolean>;
97
109
  errorMessage: import("vue").Ref<string>;
98
110
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
111
+ itemType: import("vue-types").VueTypeDef<string>;
99
112
  label: import("vue-types").VueTypeValidableDef<string> & {
100
113
  default: string;
101
114
  };
@@ -134,6 +147,11 @@ declare const _default: import("vue").DefineComponent<{
134
147
  errorDisplayType: import("vue-types").VueTypeDef<string> & {
135
148
  default: string;
136
149
  };
150
+ errorTipAppendToParent: import("vue-types").VueTypeValidableDef<boolean> & {
151
+ default: boolean;
152
+ } & {
153
+ default: boolean;
154
+ };
137
155
  }>>, {
138
156
  required: boolean;
139
157
  label: string;
@@ -145,5 +163,6 @@ declare const _default: import("vue").DefineComponent<{
145
163
  maxlength: number;
146
164
  rules: unknown[];
147
165
  errorDisplayType: string;
166
+ errorTipAppendToParent: boolean;
148
167
  }, {}>;
149
168
  export default _default;
package/lib/form/form.css CHANGED
@@ -19,12 +19,23 @@
19
19
  line-height: 20px;
20
20
  text-align: left;
21
21
  }
22
- .bk-form--vertical .bk-form-content {
23
- text-align: left;
24
- }
25
22
  .bk-form-item {
26
23
  margin-bottom: 24px;
27
24
  }
25
+ .bk-form-item--vertical .bk-form-label {
26
+ float: unset;
27
+ width: auto;
28
+ padding-right: 0;
29
+ margin-bottom: 6px;
30
+ line-height: 20px;
31
+ text-align: left;
32
+ }
33
+ .bk-form-item--default .bk-form-label {
34
+ float: left;
35
+ padding-right: 22px;
36
+ line-height: 32px;
37
+ text-align: right;
38
+ }
28
39
  .bk-form-item.is-required .bk-form-label:after {
29
40
  position: absolute;
30
41
  top: 0;
@@ -51,6 +62,7 @@
51
62
  }
52
63
  .bk-form-label {
53
64
  position: relative;
65
+ box-sizing: border-box;
54
66
  float: left;
55
67
  padding-right: 22px;
56
68
  font-size: 14px;
@@ -59,7 +71,6 @@
59
71
  color: #63656e;
60
72
  text-align: right;
61
73
  vertical-align: middle;
62
- box-sizing: border-box;
63
74
  }
64
75
  .bk-form-label-description {
65
76
  cursor: pointer;
@@ -71,6 +82,7 @@
71
82
  .bk-form-content {
72
83
  position: relative;
73
84
  line-height: 32px;
85
+ text-align: left;
74
86
  }
75
87
  .bk-form-error {
76
88
  position: absolute;
@@ -26,16 +26,34 @@
26
26
  text-align: left;
27
27
 
28
28
  }
29
-
30
- .@{bk-prefix}-form-content {
31
- text-align: left;
32
- }
33
29
  }
34
30
  }
35
31
 
36
32
  .@{bk-prefix}-form-item {
37
33
  margin-bottom: 24px;
38
34
 
35
+ &--vertical {
36
+
37
+ .@{bk-prefix}-form-label {
38
+ float: unset;
39
+ width: auto;
40
+ padding-right: 0;
41
+ margin-bottom: 6px;
42
+ line-height: 20px;
43
+ text-align: left;
44
+ }
45
+ }
46
+
47
+ &--default {
48
+
49
+ .@{bk-prefix}-form-label {
50
+ float: left;
51
+ padding-right: 22px;
52
+ line-height: 32px;
53
+ text-align: right;
54
+ }
55
+ }
56
+
39
57
  &.is-required {
40
58
  .@{bk-prefix}-form-label {
41
59
  &:after {
@@ -73,6 +91,7 @@
73
91
 
74
92
  .@{bk-prefix}-form-label {
75
93
  position: relative;
94
+ box-sizing: border-box;
76
95
  float: left;
77
96
  padding-right: 22px;
78
97
  font-size: 14px;
@@ -80,9 +99,7 @@
80
99
  line-height: 32px;
81
100
  color: #63656e;
82
101
  text-align: right;
83
- text-align: right;
84
102
  vertical-align: middle;
85
- box-sizing: border-box;
86
103
  }
87
104
  .@{bk-prefix}-form-label-description {
88
105
  cursor: pointer;
@@ -95,6 +112,7 @@
95
112
  .@{bk-prefix}-form-content {
96
113
  position: relative;
97
114
  line-height: 32px;
115
+ text-align: left;
98
116
  }
99
117
 
100
118
  .@{bk-prefix}-form-error {
@@ -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
  @keyframes form-error-appear-animation {
132
133
  from {
@@ -149,12 +150,23 @@
149
150
  line-height: 20px;
150
151
  text-align: left;
151
152
  }
152
- .bk-form--vertical .bk-form-content {
153
- text-align: left;
154
- }
155
153
  .bk-form-item {
156
154
  margin-bottom: 24px;
157
155
  }
156
+ .bk-form-item--vertical .bk-form-label {
157
+ float: unset;
158
+ width: auto;
159
+ padding-right: 0;
160
+ margin-bottom: 6px;
161
+ line-height: 20px;
162
+ text-align: left;
163
+ }
164
+ .bk-form-item--default .bk-form-label {
165
+ float: left;
166
+ padding-right: 22px;
167
+ line-height: 32px;
168
+ text-align: right;
169
+ }
158
170
  .bk-form-item.is-required .bk-form-label:after {
159
171
  position: absolute;
160
172
  top: 0;
@@ -181,6 +193,7 @@
181
193
  }
182
194
  .bk-form-label {
183
195
  position: relative;
196
+ box-sizing: border-box;
184
197
  float: left;
185
198
  padding-right: 22px;
186
199
  font-size: 14px;
@@ -189,7 +202,6 @@
189
202
  color: #63656e;
190
203
  text-align: right;
191
204
  vertical-align: middle;
192
- box-sizing: border-box;
193
205
  }
194
206
  .bk-form-label-description {
195
207
  cursor: pointer;
@@ -201,6 +213,7 @@
201
213
  .bk-form-content {
202
214
  position: relative;
203
215
  line-height: 32px;
216
+ text-align: left;
204
217
  }
205
218
  .bk-form-error {
206
219
  position: absolute;