@vtx/components 4.0.0-beta.2 → 4.0.0-beta.21

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 (357) hide show
  1. package/es/index.js +3 -1
  2. package/es/utils/filterSpecialCharacters.js +47 -46
  3. package/es/utils/index.js +1 -2
  4. package/es/vtx-color-picker/index.js +50 -39
  5. package/es/vtx-combogrid/Combogrid.js +11 -6
  6. package/es/vtx-combogrid/index.js +1 -1
  7. package/es/vtx-combogrid/style/index.js +4 -4
  8. package/es/vtx-datagrid/Store/Provide.js +6 -5
  9. package/es/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +8 -3
  10. package/es/vtx-datagrid/ToolBar/components/Density/index.js +3 -0
  11. package/es/vtx-datagrid/ToolBar/components/TableStyle/index.js +3 -0
  12. package/es/vtx-datagrid/ToolBar/index.js +2 -2
  13. package/es/vtx-datagrid/index.js +26 -14
  14. package/es/vtx-datagrid/style/index.js +22 -7
  15. package/es/vtx-descriptions/Descriptions.js +30 -0
  16. package/es/vtx-descriptions/index.js +3 -0
  17. package/es/vtx-descriptions/style/index.js +19 -0
  18. package/es/vtx-ellipsis-text/index.js +6 -1
  19. package/es/vtx-export/index.js +24 -25
  20. package/es/vtx-export-async/index.js +28 -8
  21. package/es/vtx-form-layout/Card.js +10 -10
  22. package/es/vtx-form-layout/Divider.js +1 -1
  23. package/es/vtx-form-layout/Pane.js +23 -12
  24. package/es/vtx-form-layout/style/index.js +0 -1
  25. package/es/vtx-icon/index.js +41 -4
  26. package/es/vtx-image/Preview.js +11 -6
  27. package/es/vtx-import/index.js +78 -37
  28. package/es/vtx-import/result.js +2 -1
  29. package/es/vtx-import/style/index.js +11 -1
  30. package/es/vtx-import2/index.js +4 -2
  31. package/es/vtx-import2/style/index.js +1 -1
  32. package/es/vtx-input/TextArea/index.js +11 -6
  33. package/es/vtx-modal/style/index.js +5 -3
  34. package/es/vtx-page-layout/Content.js +1 -1
  35. package/es/vtx-page-layout/TabLayout.js +1 -7
  36. package/es/vtx-page-layout/TableLayout.js +14 -4
  37. package/es/vtx-page-layout/TableWrap.js +3 -2
  38. package/es/vtx-page-layout/TreeLayout.js +2 -8
  39. package/es/vtx-page-layout/container.js +6 -5
  40. package/es/vtx-provider/index.js +11 -4
  41. package/es/vtx-provider/locale/en_US.js +10 -2
  42. package/es/vtx-provider/locale/zh_CN.js +20 -2
  43. package/es/vtx-scrollable-row/index.js +38 -28
  44. package/es/vtx-search/index.js +5 -4
  45. package/es/vtx-search/style/index.js +2 -1
  46. package/es/vtx-select/index.js +25 -11
  47. package/es/vtx-signature/index.js +5 -4
  48. package/es/vtx-signature/style/index.js +1 -1
  49. package/es/vtx-split-pane/SplitPane.js +34 -24
  50. package/es/vtx-split-pane/style/index.js +7 -112
  51. package/es/vtx-transfer/Transfer.js +16 -233
  52. package/es/vtx-transfer/style/index.js +5 -28
  53. package/es/vtx-transfer-select/TransferSelect.js +143 -0
  54. package/es/vtx-transfer-select/index.js +3 -0
  55. package/es/vtx-transfer-select/style/index.js +19 -0
  56. package/es/vtx-tree/index.js +104 -40
  57. package/es/vtx-tree-select/index.js +55 -92
  58. package/es/vtx-tree-select/style/index.js +4 -2
  59. package/es/vtx-upload/FilePreview.js +2 -1
  60. package/es/vtx-wang-editor/index.js +278 -108
  61. package/es/vtx-wang-editor/wangEditorUtil.js +59 -9
  62. package/lib/index.js +28 -4
  63. package/lib/utils/filterSpecialCharacters.js +48 -46
  64. package/lib/utils/index.js +0 -7
  65. package/lib/vtx-color-picker/index.js +50 -39
  66. package/lib/vtx-combogrid/Combogrid.js +11 -6
  67. package/lib/vtx-combogrid/index.js +1 -1
  68. package/lib/vtx-combogrid/style/index.js +4 -4
  69. package/lib/vtx-datagrid/Store/Provide.js +21 -19
  70. package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +8 -4
  71. package/lib/vtx-datagrid/ToolBar/components/Density/index.js +3 -0
  72. package/lib/vtx-datagrid/ToolBar/components/TableStyle/index.js +3 -0
  73. package/lib/vtx-datagrid/ToolBar/index.js +2 -2
  74. package/lib/vtx-datagrid/index.js +27 -14
  75. package/lib/vtx-datagrid/style/index.js +22 -7
  76. package/lib/vtx-descriptions/Descriptions.js +39 -0
  77. package/lib/vtx-descriptions/index.js +15 -0
  78. package/lib/vtx-descriptions/style/index.js +25 -0
  79. package/lib/vtx-ellipsis-text/index.js +6 -1
  80. package/lib/vtx-export/index.js +25 -26
  81. package/lib/vtx-export-async/index.js +26 -6
  82. package/lib/vtx-form-layout/Card.js +9 -9
  83. package/lib/vtx-form-layout/Divider.js +1 -1
  84. package/lib/vtx-form-layout/Pane.js +22 -11
  85. package/lib/vtx-form-layout/style/index.js +0 -1
  86. package/lib/vtx-icon/index.js +59 -14
  87. package/lib/vtx-image/Preview.js +11 -6
  88. package/lib/vtx-import/index.js +77 -36
  89. package/lib/vtx-import/result.js +2 -1
  90. package/lib/vtx-import/style/index.js +11 -1
  91. package/lib/vtx-import2/index.js +4 -2
  92. package/lib/vtx-import2/style/index.js +1 -1
  93. package/lib/vtx-input/TextArea/index.js +11 -6
  94. package/lib/vtx-modal/style/index.js +5 -3
  95. package/lib/vtx-page-layout/Content.js +1 -1
  96. package/lib/vtx-page-layout/TabLayout.js +3 -9
  97. package/lib/vtx-page-layout/TableLayout.js +14 -4
  98. package/lib/vtx-page-layout/TableWrap.js +3 -2
  99. package/lib/vtx-page-layout/TreeLayout.js +4 -10
  100. package/lib/vtx-page-layout/container.js +6 -5
  101. package/lib/vtx-provider/index.js +11 -4
  102. package/lib/vtx-provider/locale/en_US.js +10 -2
  103. package/lib/vtx-provider/locale/zh_CN.js +20 -2
  104. package/lib/vtx-scrollable-row/index.js +38 -28
  105. package/lib/vtx-search/index.js +5 -4
  106. package/lib/vtx-search/style/index.js +2 -1
  107. package/lib/vtx-select/index.js +25 -11
  108. package/lib/vtx-signature/index.js +4 -3
  109. package/lib/vtx-signature/style/index.js +1 -1
  110. package/lib/vtx-split-pane/SplitPane.js +32 -22
  111. package/lib/vtx-split-pane/style/index.js +7 -112
  112. package/lib/vtx-transfer/Transfer.js +15 -231
  113. package/lib/vtx-transfer/style/index.js +5 -28
  114. package/lib/vtx-transfer-select/TransferSelect.js +151 -0
  115. package/lib/vtx-transfer-select/index.js +15 -0
  116. package/lib/vtx-transfer-select/style/index.js +25 -0
  117. package/lib/vtx-tree/index.js +102 -38
  118. package/lib/vtx-tree-select/index.js +55 -92
  119. package/lib/vtx-tree-select/style/index.js +4 -2
  120. package/lib/vtx-upload/FilePreview.js +2 -1
  121. package/lib/vtx-wang-editor/index.js +277 -109
  122. package/lib/vtx-wang-editor/wangEditorUtil.js +59 -10
  123. package/package.json +60 -33
  124. package/dist/1077.66b69576.async.js +0 -1
  125. package/dist/1572.2b90c634.async.js +0 -1
  126. package/dist/1632.03c8f7ad.async.js +0 -2
  127. package/dist/2267.aeefe75c.async.js +0 -137
  128. package/dist/2791.54c703a9.async.js +0 -5
  129. package/dist/2952.348f2c3f.async.js +0 -654
  130. package/dist/3421.4387ba14.async.js +0 -1264
  131. package/dist/3500.29895123.async.js +0 -1
  132. package/dist/404.html +0 -17
  133. package/dist/4195.93b9d34d.async.js +0 -1
  134. package/dist/4680.bca43384.async.js +0 -1
  135. package/dist/7965.a57e8f9a.async.js +0 -1
  136. package/dist/8300.66a39b1b.async.js +0 -1
  137. package/dist/8982.8e38e68e.async.js +0 -1
  138. package/dist/9877.87ec0c28.async.js +0 -11
  139. package/dist/VtxColorPicker__demos.60d61929.async.js +0 -1
  140. package/dist/VtxCombogrid__demos.8c798bc7.async.js +0 -1
  141. package/dist/VtxDatagrid__demos.e07857d0.async.js +0 -1
  142. package/dist/VtxEllipsisText__demos.2e269d20.async.js +0 -1
  143. package/dist/VtxExportAsync__demos.13e3bb1c.async.js +0 -1
  144. package/dist/VtxExport__demos.1cce5217.async.js +0 -1
  145. package/dist/VtxFormLayout__demos.b8bb038a.async.js +0 -1
  146. package/dist/VtxImage__demos.774c697e.async.js +0 -1
  147. package/dist/VtxImport2__demos.8182b8d2.async.js +0 -1
  148. package/dist/VtxImport__demos.3865c4e9.async.js +0 -1
  149. package/dist/VtxInput__demos.5fd77ccb.async.js +0 -1
  150. package/dist/VtxModal__demos.e0aae505.async.js +0 -1
  151. package/dist/VtxPageLayout__demos.b1cd7624.async.js +0 -1
  152. package/dist/VtxRpsFrame__demos.07c3fb5e.async.js +0 -1
  153. package/dist/VtxScrollableRow__demos.eeb18c3c.async.js +0 -1
  154. package/dist/VtxSearch__demos.f6b048ae.async.js +0 -1
  155. package/dist/VtxSelect__demos.0e8f1c52.async.js +0 -1
  156. package/dist/VtxSignature__demos.d0c4bcac.async.js +0 -1
  157. package/dist/VtxSplitPane__demos.6dda4f09.async.js +0 -1
  158. package/dist/VtxStatisticsColumn__demos.b2be3e4b.async.js +0 -1
  159. package/dist/VtxTimePicker__demos.ced305a6.async.js +0 -1
  160. package/dist/VtxTreeSelect__demos.daab9057.async.js +0 -1
  161. package/dist/VtxTree__demos.15550a80.async.js +0 -1
  162. package/dist/VtxUpload__demos.794c746a.async.js +0 -1
  163. package/dist/VtxWangEditor__demos.92b4daf1.async.js +0 -1
  164. package/dist/changelog/index.html +0 -17
  165. package/dist/components/index.html +0 -17
  166. package/dist/components/vtx-color-picker/index.html +0 -17
  167. package/dist/components/vtx-combogrid/index.html +0 -17
  168. package/dist/components/vtx-datagrid/index.html +0 -17
  169. package/dist/components/vtx-date-picker/index.html +0 -17
  170. package/dist/components/vtx-ellipsis-text/index.html +0 -17
  171. package/dist/components/vtx-export/index.html +0 -17
  172. package/dist/components/vtx-export-async/index.html +0 -17
  173. package/dist/components/vtx-form-layout/index.html +0 -17
  174. package/dist/components/vtx-image/index.html +0 -17
  175. package/dist/components/vtx-import/index.html +0 -17
  176. package/dist/components/vtx-import2/index.html +0 -17
  177. package/dist/components/vtx-input/index.html +0 -17
  178. package/dist/components/vtx-modal/index.html +0 -17
  179. package/dist/components/vtx-page-layout/index.html +0 -17
  180. package/dist/components/vtx-rps-frame/index.html +0 -17
  181. package/dist/components/vtx-scrollable-row/index.html +0 -17
  182. package/dist/components/vtx-search/index.html +0 -17
  183. package/dist/components/vtx-select/index.html +0 -17
  184. package/dist/components/vtx-signature/index.html +0 -17
  185. package/dist/components/vtx-split-pane/index.html +0 -17
  186. package/dist/components/vtx-statistics-column/index.html +0 -17
  187. package/dist/components/vtx-time-picker/index.html +0 -17
  188. package/dist/components/vtx-tree/index.html +0 -17
  189. package/dist/components/vtx-tree-select/index.html +0 -17
  190. package/dist/components/vtx-upload/index.html +0 -17
  191. package/dist/components/vtx-wang-editor/index.html +0 -17
  192. package/dist/demos.f6817f69.async.js +0 -1
  193. package/dist/docs/api-changes/index.html +0 -17
  194. package/dist/docs/index.html +0 -17
  195. package/dist/docs/migration-guide/index.html +0 -17
  196. package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.aca58684.async.js +0 -1
  197. package/dist/favicon.ico +0 -0
  198. package/dist/icon.png +0 -0
  199. package/dist/index.html +0 -17
  200. package/dist/meta__site.2e323023.async.js +0 -5392
  201. package/dist/meta__site.51651769.chunk.css +0 -9
  202. package/dist/meta__vtx-search.5ddbd36b.async.js +0 -5
  203. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.7cea644e.async.js +0 -1
  204. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +0 -1
  205. package/dist/nm__dumi__dist__client__pages__404.0d35bb9e.async.js +0 -1
  206. package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +0 -1
  207. package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +0 -1
  208. package/dist/nm__dumi__dist__client__pages__Demo__index.88d92ec7.async.js +0 -1
  209. package/dist/preload_helper.214f203a.js +0 -1
  210. package/dist/site__changelog.md.33be0665.chunk.css +0 -1
  211. package/dist/site__changelog.md.ca6f70d0.async.js +0 -1
  212. package/dist/site__components__index.md.1c0dd566.async.js +0 -1
  213. package/dist/site__components__index.md.33be0665.chunk.css +0 -1
  214. package/dist/site__components__vtx-color-picker__index.md.0b5f09f9.async.js +0 -1
  215. package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +0 -1
  216. package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +0 -1
  217. package/dist/site__components__vtx-combogrid__index.md.5c184a19.async.js +0 -19
  218. package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +0 -1
  219. package/dist/site__components__vtx-datagrid__index.md.3b6b11a0.async.js +0 -58
  220. package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +0 -1
  221. package/dist/site__components__vtx-date-picker__index.md.e498db68.async.js +0 -1
  222. package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +0 -1
  223. package/dist/site__components__vtx-ellipsis-text__index.md.3df8b85b.async.js +0 -1
  224. package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +0 -1
  225. package/dist/site__components__vtx-export-async__index.md.7ad10351.async.js +0 -50
  226. package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +0 -1
  227. package/dist/site__components__vtx-export__index.md.ae512624.async.js +0 -6
  228. package/dist/site__components__vtx-form-layout__index.md.26ce0de4.async.js +0 -1
  229. package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +0 -1
  230. package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +0 -1
  231. package/dist/site__components__vtx-image__index.md.51d7fede.async.js +0 -7
  232. package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +0 -1
  233. package/dist/site__components__vtx-import2__index.md.3d03da86.async.js +0 -22
  234. package/dist/site__components__vtx-import__index.md.2706afc2.async.js +0 -1
  235. package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +0 -1
  236. package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +0 -1
  237. package/dist/site__components__vtx-input__index.md.dbe2e571.async.js +0 -1
  238. package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +0 -1
  239. package/dist/site__components__vtx-modal__index.md.6a9b2eda.async.js +0 -9
  240. package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +0 -1
  241. package/dist/site__components__vtx-page-layout__index.md.46cefa9b.async.js +0 -1
  242. package/dist/site__components__vtx-rps-frame__index.md.0126d79c.async.js +0 -1
  243. package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +0 -1
  244. package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +0 -1
  245. package/dist/site__components__vtx-scrollable-row__index.md.83c9c112.async.js +0 -1
  246. package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +0 -1
  247. package/dist/site__components__vtx-search__index.md.a36329f4.async.js +0 -5
  248. package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +0 -1
  249. package/dist/site__components__vtx-select__index.md.d4b9a187.async.js +0 -6
  250. package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +0 -1
  251. package/dist/site__components__vtx-signature__index.md.e502b176.async.js +0 -1
  252. package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +0 -1
  253. package/dist/site__components__vtx-split-pane__index.md.744d87da.async.js +0 -1
  254. package/dist/site__components__vtx-statistics-column__index.md.106749e3.async.js +0 -1
  255. package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +0 -1
  256. package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +0 -1
  257. package/dist/site__components__vtx-time-picker__index.md.c9f4700c.async.js +0 -1
  258. package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +0 -1
  259. package/dist/site__components__vtx-tree-select__index.md.49b56c10.async.js +0 -1
  260. package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +0 -1
  261. package/dist/site__components__vtx-tree__index.md.4c124fad.async.js +0 -1
  262. package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +0 -1
  263. package/dist/site__components__vtx-upload__index.md.57969550.async.js +0 -6
  264. package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +0 -1
  265. package/dist/site__components__vtx-wang-editor__index.md.b98b12a6.async.js +0 -7
  266. package/dist/site__docs__api-changes.md.33be0665.chunk.css +0 -1
  267. package/dist/site__docs__api-changes.md.aaa38736.async.js +0 -6
  268. package/dist/site__docs__index.md.33be0665.chunk.css +0 -1
  269. package/dist/site__docs__index.md.586150c4.async.js +0 -53
  270. package/dist/site__docs__migration-guide.md.02f5996d.async.js +0 -194
  271. package/dist/site__docs__migration-guide.md.33be0665.chunk.css +0 -1
  272. package/dist/site__index.md.33be0665.chunk.css +0 -1
  273. package/dist/site__index.md.634bf57a.async.js +0 -1
  274. package/dist/sitemap.xml +0 -1
  275. package/dist/umi.f49a7748.css +0 -1
  276. package/dist/umi.f610424c.js +0 -877
  277. package/dist/vtx-search__index.md.33be0665.chunk.css +0 -1
  278. package/dist/vtx-search__index.md.37a39d66.async.js +0 -5
  279. package/dist/~demos/:id/index.html +0 -17
  280. package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +0 -17
  281. package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +0 -17
  282. package/dist/~demos/vtxcolorpicker-demo-base/index.html +0 -17
  283. package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +0 -17
  284. package/dist/~demos/vtxcombogrid-demo-demo1/index.html +0 -17
  285. package/dist/~demos/vtxcombogrid-demo-demo2/index.html +0 -17
  286. package/dist/~demos/vtxcombogrid-demo-demo3/index.html +0 -17
  287. package/dist/~demos/vtxcombogrid-demo-demo4/index.html +0 -17
  288. package/dist/~demos/vtxcombogrid-demo-demo5/index.html +0 -17
  289. package/dist/~demos/vtxdatagrid-demo-demo1/index.html +0 -17
  290. package/dist/~demos/vtxdatagrid-demo-demo10/index.html +0 -17
  291. package/dist/~demos/vtxdatagrid-demo-demo2/index.html +0 -17
  292. package/dist/~demos/vtxdatagrid-demo-demo3/index.html +0 -17
  293. package/dist/~demos/vtxdatagrid-demo-demo4/index.html +0 -17
  294. package/dist/~demos/vtxdatagrid-demo-demo5/index.html +0 -17
  295. package/dist/~demos/vtxdatagrid-demo-demo6/index.html +0 -17
  296. package/dist/~demos/vtxdatagrid-demo-demo7/index.html +0 -17
  297. package/dist/~demos/vtxdatagrid-demo-demo8/index.html +0 -17
  298. package/dist/~demos/vtxdatagrid-demo-demo9/index.html +0 -17
  299. package/dist/~demos/vtxellipsistext-demo-demo1/index.html +0 -17
  300. package/dist/~demos/vtxexport-demo-demo1/index.html +0 -17
  301. package/dist/~demos/vtxexportasync-demo-demo1/index.html +0 -17
  302. package/dist/~demos/vtxformlayout-demo-demo1/index.html +0 -17
  303. package/dist/~demos/vtxformlayout-demo-demo10/index.html +0 -17
  304. package/dist/~demos/vtxformlayout-demo-demo2/index.html +0 -17
  305. package/dist/~demos/vtxformlayout-demo-demo3/index.html +0 -17
  306. package/dist/~demos/vtxformlayout-demo-demo4/index.html +0 -17
  307. package/dist/~demos/vtxformlayout-demo-demo5/index.html +0 -17
  308. package/dist/~demos/vtxformlayout-demo-demo6/index.html +0 -17
  309. package/dist/~demos/vtxformlayout-demo-demo7/index.html +0 -17
  310. package/dist/~demos/vtxformlayout-demo-demo8/index.html +0 -17
  311. package/dist/~demos/vtxformlayout-demo-demo9/index.html +0 -17
  312. package/dist/~demos/vtximage-demo-demo1/index.html +0 -17
  313. package/dist/~demos/vtximage-demo-demo2/index.html +0 -17
  314. package/dist/~demos/vtximage-demo-demo3/index.html +0 -17
  315. package/dist/~demos/vtximage-demo-demo4/index.html +0 -17
  316. package/dist/~demos/vtximport-demo-base/index.html +0 -17
  317. package/dist/~demos/vtximport2-demo-base/index.html +0 -17
  318. package/dist/~demos/vtxinput-demo-demo1/index.html +0 -17
  319. package/dist/~demos/vtxinput-demo-demo2/index.html +0 -17
  320. package/dist/~demos/vtxinput-demo-demo3/index.html +0 -17
  321. package/dist/~demos/vtxmodal-demo-demo1/index.html +0 -17
  322. package/dist/~demos/vtxmodal-demo-demo2/index.html +0 -17
  323. package/dist/~demos/vtxmodal-demo-demo3/index.html +0 -17
  324. package/dist/~demos/vtxpagelayout-demo-demo1/index.html +0 -17
  325. package/dist/~demos/vtxpagelayout-demo-demo2/index.html +0 -17
  326. package/dist/~demos/vtxpagelayout-demo-demo3/index.html +0 -17
  327. package/dist/~demos/vtxpagelayout-demo-demo4/index.html +0 -17
  328. package/dist/~demos/vtxrpsframe-demo-base/index.html +0 -17
  329. package/dist/~demos/vtxscrollablerow-demo-demo/index.html +0 -17
  330. package/dist/~demos/vtxsearch-demo-demo1/index.html +0 -17
  331. package/dist/~demos/vtxsearch-demo-demo2/index.html +0 -17
  332. package/dist/~demos/vtxsearch-demo-demo3/index.html +0 -17
  333. package/dist/~demos/vtxsearch-demo-demo4/index.html +0 -17
  334. package/dist/~demos/vtxselect-demo-base/index.html +0 -17
  335. package/dist/~demos/vtxselect-demo-base-multiple/index.html +0 -17
  336. package/dist/~demos/vtxsignature-demo-demo/index.html +0 -17
  337. package/dist/~demos/vtxsignature-demo-demo1/index.html +0 -17
  338. package/dist/~demos/vtxsplitpane-demo-demo1/index.html +0 -17
  339. package/dist/~demos/vtxsplitpane-demo-demo2/index.html +0 -17
  340. package/dist/~demos/vtxsplitpane-demo-demo3/index.html +0 -17
  341. package/dist/~demos/vtxsplitpane-demo-demo4/index.html +0 -17
  342. package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +0 -17
  343. package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +0 -17
  344. package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +0 -17
  345. package/dist/~demos/vtxtimepicker-demo-base/index.html +0 -17
  346. package/dist/~demos/vtxtree-demo-demo1/index.html +0 -17
  347. package/dist/~demos/vtxtree-demo-demo2/index.html +0 -17
  348. package/dist/~demos/vtxtree-demo-demo3/index.html +0 -17
  349. package/dist/~demos/vtxtreeselect-demo-demo1/index.html +0 -17
  350. package/dist/~demos/vtxtreeselect-demo-demo2/index.html +0 -17
  351. package/dist/~demos/vtxtreeselect-demo-demo3/index.html +0 -17
  352. package/dist/~demos/vtxupload-demo-demo1/index.html +0 -17
  353. package/dist/~demos/vtxupload-demo-demo2/index.html +0 -17
  354. package/dist/~demos/vtxupload-demo-demo3/index.html +0 -17
  355. package/dist/~demos/vtxwangeditor-demo-demo1/index.html +0 -17
  356. package/es/utils/hooks/useFetchData/index.js +0 -82
  357. package/lib/utils/hooks/useFetchData/index.js +0 -89
@@ -52,44 +52,54 @@ function VtxScrollableRow(props) {
52
52
  setNextPrev();
53
53
  }, 200);
54
54
  window.addEventListener('resize', debouncedResize);
55
- setNextPrev();
55
+ // 使用 requestAnimationFrame 确保 DOM 已渲染
56
+ requestAnimationFrame(function () {
57
+ setNextPrev();
58
+ });
56
59
  return function () {
60
+ debouncedResize.cancel();
57
61
  window.removeEventListener('resize', debouncedResize);
58
62
  };
59
- }, [navRef === null || navRef === void 0 ? void 0 : navRef.current, containerRef.current, navWrapRef.current]);
63
+ }, []);
60
64
  function setNextPrev() {
61
65
  if (navRef !== null && navRef !== void 0 && navRef.current && containerRef.current && navWrapRef.current) {
62
66
  var navNodeW = navRef.current.scrollWidth;
63
67
  var containerW = containerRef.current.offsetWidth;
64
68
  var navWrapNodeW = navWrapRef.current.offsetWidth;
65
69
  var minOffset = containerW - navNodeW;
66
- var _next = state.next,
67
- _prev = state.prev;
68
- if (minOffset >= 0) {
69
- _next = false;
70
- setOffset(0, false);
71
- offset.current = 0;
72
- } else if (minOffset < offset.current) {
73
- _next = true;
74
- } else {
75
- _next = false;
76
- var realOffset = navWrapNodeW - navNodeW;
77
- setOffset(realOffset, false);
78
- offset.current = realOffset;
79
- }
80
- if (offset.current < 0) {
81
- _prev = true;
82
- } else {
83
- _prev = false;
84
- }
85
- setState({
86
- next: _next,
87
- prev: _prev
70
+
71
+ // 使用函数式更新确保状态一致性
72
+ setState(function (prevState) {
73
+ var next = prevState.next,
74
+ prev = prevState.prev;
75
+ var newOffset = offset.current;
76
+ if (minOffset >= 0) {
77
+ next = false;
78
+ setOffset(0, false);
79
+ newOffset = 0;
80
+ } else if (minOffset < newOffset) {
81
+ next = true;
82
+ } else {
83
+ next = false;
84
+ var realOffset = navWrapNodeW - navNodeW;
85
+ setOffset(realOffset, false);
86
+ newOffset = realOffset;
87
+ }
88
+ if (newOffset < 0) {
89
+ prev = true;
90
+ } else {
91
+ prev = false;
92
+ }
93
+
94
+ // 同步更新 ref 值
95
+ offset.current = newOffset;
96
+
97
+ // 返回新的状态对象
98
+ return {
99
+ next: next,
100
+ prev: prev
101
+ };
88
102
  });
89
- return {
90
- next: _next,
91
- prev: _prev
92
- };
93
103
  }
94
104
  }
95
105
  var setOffset = function setOffset(os) {
@@ -94,7 +94,7 @@ function VtxSearch(props) {
94
94
  return !!item;
95
95
  }) : props === null || props === void 0 ? void 0 : props.children;
96
96
  var grid = useMemo(function () {
97
- var weightArr = props.gridWeight.filter(function (item) {
97
+ var weightArr = (props.gridWeight || []).filter(function (item) {
98
98
  return !!item;
99
99
  });
100
100
  var sum = 0;
@@ -121,7 +121,7 @@ function VtxSearch(props) {
121
121
  cumulative: cumulative,
122
122
  // 总数量
123
123
  len: cumulative[cumulative.length - 1],
124
- lenWeight: cumulativeWeight[cumulative.length - 2] + weightArr[(weightArr === null || weightArr === void 0 ? void 0 : weightArr.length) - 1],
124
+ lenWeight: cumulativeWeight[Math.max(0, cumulative.length - 2)] + (weightArr[(weightArr === null || weightArr === void 0 ? void 0 : weightArr.length) - 1] || 0),
125
125
  // 几个children
126
126
  count: count,
127
127
  // 兼容的处理
@@ -218,12 +218,13 @@ function VtxSearch(props) {
218
218
  } else {
219
219
  var chData = [];
220
220
  cData.forEach(function (item) {
221
- if (typeof item == 'function') {
221
+ if (typeof item === 'function') {
222
222
  var ite = item();
223
223
  if (Array.isArray(ite)) {
224
224
  chData.push.apply(chData, _toConsumableArray(ite));
225
+ } else {
226
+ chData.push(ite);
225
227
  }
226
- chData.push(ite);
227
228
  return;
228
229
  }
229
230
  if (Array.isArray(item)) {
@@ -16,7 +16,8 @@ var genVtxStyle = function genVtxStyle(token) {
16
16
  transitionDuration: token.toggleSpeed,
17
17
  transitionProperty: 'height',
18
18
  boxSizing: 'border-box',
19
- overflow: 'hidden'
19
+ overflow: 'hidden',
20
+ color: token.colorText
20
21
  }, "".concat(componentCls, "-element"), {}), "".concat(componentCls, "-label_v"), {
21
22
  overflow: 'hidden',
22
23
  lineHeight: 1,
@@ -3,6 +3,7 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableTo
3
3
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
6
7
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
9
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -31,7 +32,7 @@ var VtxSelect = /*#__PURE__*/forwardRef(function (props, ref) {
31
32
  popWidth = _useState2[0],
32
33
  setPopWidth = _useState2[1];
33
34
  var elRef = useRef();
34
- var elId = useRef("vtx-select-".concat(Date.now()));
35
+ var elId = useRef("vtx-select-".concat(Math.random().toString(36).substr(2, 9)));
35
36
  var _useState3 = useState(''),
36
37
  _useState4 = _slicedToArray(_useState3, 2),
37
38
  searchValue = _useState4[0],
@@ -64,20 +65,33 @@ var VtxSelect = /*#__PURE__*/forwardRef(function (props, ref) {
64
65
  emptyDescriptionText: intl.getMessage('select.empty', '暂无数据')
65
66
  }, customEnumText);
66
67
  useEffect(function () {
67
- if (mode === 'multiple' || mode === 'tags') {
68
- var timer = setInterval(function () {
69
- var _elRef$current;
70
- var _width = (_elRef$current = elRef.current) === null || _elRef$current === void 0 ? void 0 : _elRef$current.clientWidth;
71
- if (_width > 0) {
72
- setPopWidth(_width);
73
- clearInterval(timer);
68
+ if ((mode === 'multiple' || mode === 'tags') && elRef.current) {
69
+ var element = elRef.current;
70
+
71
+ // 立即设置一次
72
+ setPopWidth(element.clientWidth);
73
+
74
+ // 使用 ResizeObserver 监听尺寸变化
75
+ var resizeObserver = new ResizeObserver(function (entries) {
76
+ var _iterator = _createForOfIteratorHelper(entries),
77
+ _step;
78
+ try {
79
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
80
+ var entry = _step.value;
81
+ setPopWidth(entry.contentRect.width);
82
+ }
83
+ } catch (err) {
84
+ _iterator.e(err);
85
+ } finally {
86
+ _iterator.f();
74
87
  }
75
- }, 1000);
88
+ });
89
+ resizeObserver.observe(element);
76
90
  return function () {
77
- return clearInterval(timer);
91
+ resizeObserver.disconnect();
78
92
  };
79
93
  }
80
- }, []);
94
+ }, [mode]);
81
95
  var newChildren = props.children ? Array.isArray(props.children) ? props.children : [props.children] : [];
82
96
  var getContent = function getContent() {
83
97
  var child = {};
@@ -1,4 +1,4 @@
1
- import React, { forwardRef, useRef, useEffect, useContext } from 'react';
1
+ import React, { forwardRef, useRef, useLayoutEffect, useContext } from 'react';
2
2
  import SignaturePad from 'signature_pad';
3
3
  import debounce from 'lodash-es/debounce';
4
4
  import PropTypes from 'prop-types';
@@ -44,7 +44,7 @@ var VtxSignature = /*#__PURE__*/forwardRef(function (props, ref) {
44
44
  clear();
45
45
  }
46
46
  }
47
- useEffect(function () {
47
+ useLayoutEffect(function () {
48
48
  signaturePad.current = new SignaturePad(canvasRef.current, {
49
49
  dotSize: dotSize,
50
50
  minWidth: minWidth,
@@ -65,7 +65,9 @@ var VtxSignature = /*#__PURE__*/forwardRef(function (props, ref) {
65
65
  _onEnd && _onEnd();
66
66
  }
67
67
  });
68
- resizeCanvas();
68
+ setTimeout(function () {
69
+ resizeCanvas();
70
+ }, 0);
69
71
  window.addEventListener('resize', debounce(resizeCanvas, 150));
70
72
  return function () {
71
73
  window.removeEventListener('resize', debounce(resizeCanvas, 150));
@@ -82,7 +84,6 @@ var VtxSignature = /*#__PURE__*/forwardRef(function (props, ref) {
82
84
  };
83
85
  return wrapSSR( /*#__PURE__*/_jsxs("div", {
84
86
  className: classnames(prefixCls, hashId),
85
- ref: ref,
86
87
  children: [/*#__PURE__*/_jsx("div", {
87
88
  className: classnames("".concat(prefixCls, "--body")),
88
89
  children: /*#__PURE__*/_jsx("canvas", {
@@ -11,7 +11,7 @@ var genVtxSignatureStyle = function genVtxSignatureStyle(token) {
11
11
  position: 'relative',
12
12
  display: 'flex',
13
13
  flexDirection: 'column',
14
- height: '300px',
14
+ height: 300,
15
15
  padding: '16px',
16
16
  backgroundColor: token.colorBgBase,
17
17
  border: "1px solid ".concat(token.colorBorder),
@@ -1,12 +1,20 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["children", "defaultSize", "minSize", "maxSize", "style"];
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1
10
  import classnames from 'classnames';
2
11
  import React, { cloneElement, useContext, useRef } from 'react';
3
- import { Panel, PanelGroup, PanelResizeHandle } from 'react-resizable-panels';
12
+ import { Splitter } from 'antd';
4
13
  import Resizer from "./Resizer";
5
14
  import { useStyle } from "./style";
6
15
  import { VtxProvider } from "../vtx-provider";
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
16
  import { Fragment as _Fragment } from "react/jsx-runtime";
9
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx } from "react/jsx-runtime";
10
18
  function removeNullChildren(children) {
11
19
  return React.Children.toArray(children).filter(function (c) {
12
20
  return c;
@@ -21,40 +29,42 @@ function VtxSplitPane(props) {
21
29
  hashId = _useStyle.hashId;
22
30
  var splitPane = useRef();
23
31
  var children = props.children,
32
+ defaultSize = props.defaultSize,
33
+ minSize = props.minSize,
34
+ maxSize = props.maxSize,
24
35
  style = props.style,
25
- _props$direction = props.direction,
26
- direction = _props$direction === void 0 ? 'horizontal' : _props$direction;
36
+ rest = _objectWithoutProperties(props, _excluded);
27
37
  var notNullChildren = removeNullChildren(children);
28
38
  var refs = useRef([]);
29
39
  return wrapSSR( /*#__PURE__*/_jsx("div", {
30
- className: classnames("".concat(prefixCls, " ").concat(prefixCls, "-").concat(direction), hashId),
40
+ className: classnames("".concat(prefixCls), hashId),
31
41
  ref: splitPane,
32
42
  style: style,
33
- children: /*#__PURE__*/_jsx(PanelGroup, {
34
- direction: direction,
43
+ children: /*#__PURE__*/_jsx(Splitter, _objectSpread(_objectSpread({}, rest), {}, {
35
44
  children: notNullChildren === null || notNullChildren === void 0 ? void 0 : notNullChildren.map(function (v, index) {
36
- return /*#__PURE__*/_jsxs(_Fragment, {
37
- children: [/*#__PURE__*/cloneElement(notNullChildren[index], {
45
+ var _v$props;
46
+ return /*#__PURE__*/_jsx(_Fragment, {
47
+ children: /*#__PURE__*/cloneElement(notNullChildren[index], _objectSpread(_objectSpread(_objectSpread({
38
48
  ref: function ref(el) {
39
49
  refs.current[index] = el;
40
- },
41
- collapsible: true
42
- }), index !== (notNullChildren === null || notNullChildren === void 0 ? void 0 : notNullChildren.length) - 1 && /*#__PURE__*/_jsx(_Fragment, {
43
- children: /*#__PURE__*/_jsx(PanelResizeHandle, {
44
- className: classnames("".concat(prefixCls, "-outer"), hashId),
45
- children: /*#__PURE__*/_jsx(Resizer, {
46
- refs: refs,
47
- index: index,
48
- direction: direction
49
- })
50
- })
51
- })]
50
+ }
51
+ }, index === 0 ? {
52
+ max: maxSize,
53
+ min: minSize,
54
+ size: defaultSize
55
+ } : {}), v.props), {}, {
56
+ collapsible: _objectSpread({
57
+ start: true,
58
+ end: true,
59
+ showCollapsibleIcon: 'auto'
60
+ }, (_v$props = v.props) === null || _v$props === void 0 ? void 0 : _v$props.collapsible)
61
+ }))
52
62
  });
53
63
  })
54
- })
64
+ }))
55
65
  }));
56
66
  }
57
67
  VtxSplitPane.propTypes = {};
58
68
  VtxSplitPane.defaultProps = {};
59
- VtxSplitPane.Pane = Panel;
69
+ VtxSplitPane.Pane = Splitter.Panel;
60
70
  export default VtxSplitPane;
@@ -7,121 +7,16 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
7
7
  import { useStyle as useAntdStyle } from "../../vtx-provider";
8
8
  var genVtxSplitPaneStyle = function genVtxSplitPaneStyle(token) {
9
9
  var componentCls = token.componentCls;
10
- return _defineProperty(_defineProperty({}, componentCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty({
10
+ return _defineProperty({}, componentCls, {
11
11
  height: '100%',
12
12
  overflow: 'hidden',
13
- '&-outer': _defineProperty(_defineProperty(_defineProperty(_defineProperty({
14
- backgroundColor: 'transparent',
15
- position: 'relative',
16
- outline: 'none',
17
- '&-resizer': _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
18
- position: 'absolute',
19
- height: '100%',
20
- width: 6,
21
- zIndex: 1
22
- }, '&-left,&-right', {
23
- position: 'absolute',
24
- top: '50%',
25
- zIndex: 1001,
26
- opacity: 0,
27
- width: '16px !important',
28
- height: '24px !important',
29
- backgroundColor: token.colorBorder,
30
- color: token.colorTextSecondary,
31
- borderColor: "transparent !important",
32
- fontSize: 12,
33
- '&:hover': {
34
- color: token.colorTextSecondary,
35
- backgroundColor: "".concat(token.colorPrimaryBg, " !important")
36
- }
37
- }), '&-left', {
38
- transform: 'translate(-16px,-50%)'
39
- }), '&-right', {
40
- transform: 'translate(6px,-50%)'
41
- }), '&::after', {
42
- position: 'absolute',
43
- content: "' '",
44
- left: 0,
45
- top: 0,
46
- bottom: 0,
47
- right: 4,
48
- borderRadius: token.borderRadius
49
- }), '&:hover', _defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
50
- opacity: 1
51
- })), '.ant-btn-icon', {
52
- color: token.colorTextSecondary
53
- })
54
- }, "&[data-resize-handle-state='hover']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
55
- opacity: 1
56
- }), '.vtx-split-pane-outer-resizer::after', {
57
- background: "linear-gradient(to bottom , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
58
- })), "&[data-resize-handle-state='active']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
59
- opacity: 1
60
- }), '.vtx-split-pane-outer-resizer::after', {
61
- background: "linear-gradient(to bottom , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
62
- })), "&[data-resize-handle-state='drag']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
63
- opacity: 1
64
- }), '.vtx-split-pane-outer-resizer::after', {
65
- background: "linear-gradient(to bottom , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
66
- })), "&[data-resize-handle-state='inactive']", {
67
- backgroundColor: 'transparent'
68
- }),
69
- '&-item': {
70
- position: 'relative',
71
- display: 'inline-block',
72
- height: '100%',
73
- verticalAlign: 'top'
13
+ '.ant-splitter-bar .ant-splitter-bar-dragger::before': {
14
+ background: 'transparent'
15
+ },
16
+ '.ant-splitter-bar .ant-splitter-bar-dragger-active::before': {
17
+ background: 'var(--ant-control-item-bg-active)'
74
18
  }
75
- }, '&-resizer-left', {
76
- borderRight: "1px solid ".concat(token.colorBorderSecondary),
77
- '&:hover': {
78
- borderRight: "1px solid ".concat(token.colorBorderSecondary),
79
- transition: 'border-right 0.2s ease-in-out'
80
- }
81
- }), '&-resizer-right', {
82
- borderLeft: "1px solid ".concat(token.colorBorderSecondary),
83
- '&:hover': {
84
- borderLeft: "1px solid ".concat(token.colorBorderSecondary),
85
- transition: 'border-right 0.2s ease-in-out'
86
- }
87
- }), '&-resizer.disabled', {
88
- cursor: 'not-allowed'
89
- }), '&-resizer.disabled:hover', {
90
- borderColor: 'transparent'
91
- })), "".concat(componentCls, "-vertical"), _defineProperty({}, "".concat(componentCls, "-outer"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
92
- '&-resizer': _defineProperty(_defineProperty(_defineProperty(_defineProperty({
93
- width: '100%',
94
- height: 6
95
- }, '&-left,&-right', {
96
- top: 'auto',
97
- left: '50%',
98
- height: '16px !important',
99
- width: '24px !important'
100
- }), '&-left', {
101
- transform: 'translate(-50%,-16px)'
102
- }), '&-right', {
103
- transform: 'translate(-50%, 6px)'
104
- }), '&::after', {
105
- left: 0,
106
- top: 0,
107
- bottom: 4,
108
- right: 0
109
- })
110
- }, "&[data-resize-handle-state='hover']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
111
- opacity: 1
112
- }), '.vtx-split-pane-outer-resizer::after', {
113
- background: "linear-gradient(to right , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
114
- })), "&[data-resize-handle-state='active']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
115
- opacity: 1
116
- }), '.vtx-split-pane-outer-resizer::after', {
117
- background: "linear-gradient(to right , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
118
- })), "&[data-resize-handle-state='drag']", _defineProperty(_defineProperty({}, '.vtx-split-pane-outer-resizer-left,.vtx-split-pane-outer-resizer-right', {
119
- opacity: 1
120
- }), '.vtx-split-pane-outer-resizer::after', {
121
- background: "linear-gradient(to right , rgba(0,0,0,0), ".concat(token.colorSplit, ", rgba(0,0,0,0)) !important")
122
- })), "&[data-resize-handle-state='inactive']", {
123
- backgroundColor: 'transparent'
124
- })));
19
+ });
125
20
  };
126
21
  export function useStyle(prefixCls) {
127
22
  return useAntdStyle(prefixCls, function (token) {