vxe-pc-ui 4.9.1 → 4.9.3

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 (50) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/split/src/split-pane.js +3 -3
  3. package/es/split/src/split.js +244 -141
  4. package/es/split/style.css +82 -45
  5. package/es/split/style.min.css +1 -1
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/es/vxe-split/style.css +82 -45
  11. package/es/vxe-split/style.min.css +1 -1
  12. package/lib/icon/style/style.css +1 -1
  13. package/lib/icon/style/style.min.css +1 -1
  14. package/lib/index.umd.js +252 -159
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/split/src/split-pane.js +3 -3
  17. package/lib/split/src/split-pane.min.js +1 -1
  18. package/lib/split/src/split.js +247 -154
  19. package/lib/split/src/split.min.js +1 -1
  20. package/lib/split/style/style.css +82 -45
  21. package/lib/split/style/style.min.css +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/ui/index.js +1 -1
  25. package/lib/ui/index.min.js +1 -1
  26. package/lib/ui/src/log.js +1 -1
  27. package/lib/ui/src/log.min.js +1 -1
  28. package/lib/vxe-split/style/style.css +82 -45
  29. package/lib/vxe-split/style/style.min.css +1 -1
  30. package/package.json +1 -1
  31. package/packages/split/src/split-pane.ts +4 -3
  32. package/packages/split/src/split.ts +243 -142
  33. package/styles/components/split.scss +109 -88
  34. package/types/components/grid.d.ts +8 -0
  35. package/types/components/split-pane.d.ts +11 -2
  36. package/types/components/split.d.ts +26 -22
  37. package/types/components/table-module/edit.d.ts +44 -4
  38. package/types/components/table.d.ts +47 -6
  39. /package/es/icon/{iconfont.1756086135196.ttf → iconfont.1756272563924.ttf} +0 -0
  40. /package/es/icon/{iconfont.1756086135196.woff → iconfont.1756272563924.woff} +0 -0
  41. /package/es/icon/{iconfont.1756086135196.woff2 → iconfont.1756272563924.woff2} +0 -0
  42. /package/es/{iconfont.1756086135196.ttf → iconfont.1756272563924.ttf} +0 -0
  43. /package/es/{iconfont.1756086135196.woff → iconfont.1756272563924.woff} +0 -0
  44. /package/es/{iconfont.1756086135196.woff2 → iconfont.1756272563924.woff2} +0 -0
  45. /package/lib/icon/style/{iconfont.1756086135196.ttf → iconfont.1756272563924.ttf} +0 -0
  46. /package/lib/icon/style/{iconfont.1756086135196.woff → iconfont.1756272563924.woff} +0 -0
  47. /package/lib/icon/style/{iconfont.1756086135196.woff2 → iconfont.1756272563924.woff2} +0 -0
  48. /package/lib/{iconfont.1756086135196.ttf → iconfont.1756272563924.ttf} +0 -0
  49. /package/lib/{iconfont.1756086135196.woff → iconfont.1756272563924.woff} +0 -0
  50. /package/lib/{iconfont.1756086135196.woff2 → iconfont.1756272563924.woff2} +0 -0
@@ -118,6 +118,7 @@
118
118
  }
119
119
 
120
120
  .vxe-split-pane-handle {
121
+ display: flex;
121
122
  position: relative;
122
123
  flex-shrink: 0;
123
124
  user-select: none;
@@ -143,18 +144,22 @@
143
144
  background-color: var(--vxe-ui-split-handle-bar-hover-background-color);
144
145
  }
145
146
  }
146
- .vxe-split-pane-action-btn {
147
+
148
+ .vxe-split-pane-action-btn-wrapper {
147
149
  position: absolute;
150
+ display: flex;
151
+ top: 50%;
152
+ left: 50%;
153
+ transform: translate(-50%, -50%);
154
+ z-index: 2;
155
+ }
156
+ .vxe-split-pane-action-btn {
148
157
  display: flex;
149
158
  flex-direction: row;
150
159
  align-items: center;
151
160
  justify-content: center;
152
161
  font-size: 0.5em;
153
162
  border-radius: var(--vxe-ui-base-border-radius);
154
- top: 50%;
155
- left: 50%;
156
- transform: translate(-50%, -50%);
157
- z-index: 2;
158
163
  color: var(--vxe-ui-layout-background-color);
159
164
  background-color: var(--vxe-ui-split-handle-button-background-color);
160
165
  border: 1px solid var(--vxe-ui-input-border-color);
@@ -165,7 +170,86 @@
165
170
  background-color: var(--vxe-ui-font-primary-color);
166
171
  }
167
172
  &:active {
168
- transform: translate(-50%, -50%) scale(0.9);
173
+ transform: scale(0.9);
174
+ }
175
+ }
176
+ .vxe-split-pane-handle {
177
+ &.is--horizontal {
178
+ flex-direction: row;
179
+ &.is--border {
180
+ border-width: 1px 0 1px 0;
181
+ }
182
+ .vxe-split-pane-action-btn-wrapper {
183
+ flex-direction: column;
184
+ & div {
185
+ margin-top: 1em;
186
+ &:first-child {
187
+ margin-top: 0;
188
+ }
189
+ }
190
+ }
191
+ .vxe-split-pane-handle-bar {
192
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
193
+ height: 100%;
194
+ }
195
+ .vxe-split-pane-action-btn {
196
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
197
+ height: var(--vxe-ui-split-handle-bar-horizontal-height);
198
+ }
199
+ }
200
+ &.is--vertical {
201
+ flex-direction: column;
202
+ &.is--border {
203
+ border-width: 0 1px 0 1px;
204
+ }
205
+ .vxe-split-pane-action-btn-wrapper {
206
+ flex-direction: row;
207
+ & div {
208
+ margin-left: 1em;
209
+ &:first-child {
210
+ margin-left: 0;
211
+ }
212
+ }
213
+ }
214
+ .vxe-split-pane-handle-bar {
215
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
216
+ width: 100%;
217
+ }
218
+ .vxe-split-pane-action-btn {
219
+ width: var(--vxe-ui-split-handle-bar-vertical-width);
220
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
221
+ }
222
+ }
223
+ &.is--resize {
224
+ &.is-resize--immediate {
225
+ &.is--horizontal {
226
+ .vxe-split-pane-handle-bar {
227
+ cursor: w-resize;
228
+ }
229
+ }
230
+ &.is--vertical {
231
+ .vxe-split-pane-handle-bar {
232
+ cursor: n-resize;
233
+ }
234
+ }
235
+ & > .vxe-split-pane-handle-bar {
236
+ &:active {
237
+ background-color: var(--vxe-ui-font-primary-color);
238
+ }
239
+ }
240
+ }
241
+ &.is-resize--lazy {
242
+ &.is--horizontal {
243
+ .vxe-split-pane-handle-bar {
244
+ cursor: col-resize;
245
+ }
246
+ }
247
+ &.is--vertical {
248
+ .vxe-split-pane-handle-bar {
249
+ cursor: row-resize;
250
+ }
251
+ }
252
+ }
169
253
  }
170
254
  }
171
255
 
@@ -173,17 +257,23 @@
173
257
  display: flex;
174
258
  position: relative;
175
259
  overflow: hidden;
260
+ &.is--fill {
261
+ flex-grow: 1;
262
+ }
176
263
  &.is--hidden {
177
- width: 0;
264
+ &.is--horizontal {
265
+ width: 0;
266
+ }
267
+ &.is--vertical {
268
+ height: 0;
269
+ }
178
270
  }
179
271
  &.is--padding {
180
272
  & > .vxe-split-pane--wrapper {
181
273
  padding: var(--vxe-ui-layout-padding-default);
182
274
  }
183
275
  }
184
- &.is--fill {
185
- flex-grow: 1;
186
- }
276
+ &.is--hidden,
187
277
  &.is--width,
188
278
  &.is--height {
189
279
  flex-shrink: 0;
@@ -193,84 +283,15 @@
193
283
  border: 1px solid var(--vxe-ui-base-popup-border-color);
194
284
  }
195
285
  }
196
- &.is--resize {
197
- &.is--expand {
198
- &.is-resize--immediate {
199
- &.is--horizontal {
200
- & > .vxe-split-pane-handle {
201
- .vxe-split-pane-handle-bar {
202
- cursor: w-resize;
203
- }
204
- }
205
- }
206
- &.is--vertical {
207
- & > .vxe-split-pane-handle {
208
- .vxe-split-pane-handle-bar {
209
- cursor: n-resize;
210
- }
211
- }
212
- }
213
- & > .vxe-split-pane-handle {
214
- & > .vxe-split-pane-handle-bar {
215
- &:active {
216
- background-color: var(--vxe-ui-font-primary-color);
217
- }
218
- }
219
- }
220
- }
221
- &.is-resize--lazy {
222
- &.is--horizontal {
223
- & > .vxe-split-pane-handle {
224
- .vxe-split-pane-handle-bar {
225
- cursor: col-resize;
226
- }
227
- }
228
- }
229
- &.is--vertical {
230
- & > .vxe-split-pane-handle {
231
- .vxe-split-pane-handle-bar {
232
- cursor: row-resize;
233
- }
234
- }
235
- }
236
- }
237
- }
238
- }
239
- &.is--horizontal {
240
- flex-direction: row;
241
- & > .vxe-split-pane-handle {
242
- .vxe-split-pane-handle-bar {
243
- width: var(--vxe-ui-split-handle-bar-horizontal-width);
244
- height: 100%;
245
- }
246
- .vxe-split-pane-action-btn {
247
- width: var(--vxe-ui-split-handle-bar-horizontal-width);
248
- height: var(--vxe-ui-split-handle-bar-horizontal-height);
249
- }
250
- }
251
- &.is--border {
252
- & > .vxe-split-pane-handle {
253
- border-width: 1px 0 1px 0;
254
- }
255
- }
256
- }
257
- &.is--vertical {
258
- flex-direction: column;
259
- & > .vxe-split-pane-handle {
260
- .vxe-split-pane-handle-bar {
261
- height: var(--vxe-ui-split-handle-bar-vertical-height);
262
- width: 100%;
263
- }
264
- .vxe-split-pane-action-btn {
265
- width: var(--vxe-ui-split-handle-bar-vertical-width);
266
- height: var(--vxe-ui-split-handle-bar-vertical-height);
267
- }
268
- }
269
- &.is--border {
270
- & > .vxe-split-pane-handle {
271
- border-width: 0 1px 0 1px;
272
- }
273
- }
286
+ }
287
+
288
+ .vxe-split--render-vars {
289
+ width: 0;
290
+ height: 0;
291
+ overflow: hidden;
292
+ .vxe-split--handle-bar-info {
293
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
294
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
274
295
  }
275
296
  }
276
297
 
@@ -529,6 +529,8 @@ export namespace VxeGridDefines {
529
529
  export interface RowDragstartEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.RowDragstartEventParams<D> { }
530
530
  export interface RowDragoverEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.RowDragoverEventParams<D> { }
531
531
  export interface RowDragendEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.RowDragendEventParams<D> { }
532
+ export interface RowRemoveDragendEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.RowRemoveDragendEventParams<D> { }
533
+ export interface RowInsertDragendEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.RowInsertDragendEventParams<D> { }
532
534
  export interface ColumnDragstartEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ColumnDragstartEventParams<D> { }
533
535
  export interface ColumnDragoverEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ColumnDragoverEventParams<D> { }
534
536
  export interface ColumnDragendEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ColumnDragendEventParams<D> { }
@@ -620,6 +622,8 @@ export interface VxeGridEventProps<D = any> {
620
622
  onRowDragstart?: VxeGridEvents.RowDragstart<D>
621
623
  onRowDragover?: VxeGridEvents.RowDragover<D>
622
624
  onRowDragend?: VxeGridEvents.RowDragend<D>
625
+ onRowRemoveDragend?: VxeGridEvents.RowRemoveDragend<D>
626
+ onRowInsertDragend?: VxeGridEvents.RowInsertDragend<D>
623
627
  onColumnDragstart?: VxeGridEvents.ColumnDragstart<D>
624
628
  onColumnDragover?: VxeGridEvents.ColumnDragover<D>
625
629
  onColumnDragend?: VxeGridEvents.ColumnDragend<D>
@@ -696,6 +700,8 @@ export interface VxeGridListeners<D = any> {
696
700
  rowDragstart?: VxeGridEvents.RowDragstart<D>
697
701
  rowDragover?: VxeGridEvents.RowDragover<D>
698
702
  rowDragend?: VxeGridEvents.RowDragend<D>
703
+ rowRemoveDragend?: VxeGridEvents.RowRemoveDragend<D>
704
+ rowInsertDragend?: VxeGridEvents.RowInsertDragend<D>
699
705
  columnDragstart?: VxeGridEvents.ColumnDragstart<D>
700
706
  columnDragover?: VxeGridEvents.ColumnDragover<D>
701
707
  columnDragend?: VxeGridEvents.ColumnDragend<D>
@@ -772,6 +778,8 @@ export namespace VxeGridEvents {
772
778
  export type RowDragstart<D = any> = (params: VxeGridDefines.RowDragstartEventParams<D>) => void
773
779
  export type RowDragover<D = any> = (params: VxeGridDefines.RowDragoverEventParams<D>) => void
774
780
  export type RowDragend<D = any> = (params: VxeGridDefines.RowDragendEventParams<D>) => void
781
+ export type RowRemoveDragend<D = any> = (params: VxeGridDefines.RowRemoveDragendEventParams<D>) => void
782
+ export type RowInsertDragend<D = any> = (params: VxeGridDefines.RowInsertDragendEventParams<D>) => void
775
783
  export type ColumnDragstart<D = any> = (params: VxeGridDefines.ColumnDragstartEventParams<D>) => void
776
784
  export type ColumnDragover<D = any> = (params: VxeGridDefines.ColumnDragoverEventParams<D>) => void
777
785
  export type ColumnDragend<D = any> = (params: VxeGridDefines.ColumnDragendEventParams<D>) => void
@@ -28,6 +28,11 @@ export namespace VxeSplitPanePropTypes {
28
28
  export type Height = string | number
29
29
  export type MinWidth = string | number
30
30
  export type MinHeight = string | number
31
+
32
+ /**
33
+ * 已废弃
34
+ * @deprecated
35
+ */
31
36
  export type ShowAction = boolean
32
37
  }
33
38
 
@@ -37,11 +42,15 @@ export interface VxeSplitPaneProps {
37
42
  height?: VxeSplitPanePropTypes.Height
38
43
  minWidth?: VxeSplitPanePropTypes.MinWidth
39
44
  minHeight?: VxeSplitPanePropTypes.MinHeight
40
- showAction?: VxeSplitPanePropTypes.ShowAction
41
-
42
45
  slots?: {
43
46
  default?: string | ((params: VxeSplitPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
44
47
  }
48
+
49
+ /**
50
+ * 已废弃
51
+ * @deprecated
52
+ */
53
+ showAction?: VxeSplitPanePropTypes.ShowAction
45
54
  }
46
55
 
47
56
  export interface SplitItemPrivateComputed {
@@ -59,10 +59,13 @@ export namespace VxeSplitPropTypes {
59
59
  */
60
60
  trigger?: 'click' | 'dblclick' | '' | null
61
61
  /**
62
- * 折叠方向
63
- * 支持向前和向后折叠
62
+ * 显示往向前折叠按钮
64
63
  */
65
- direction?: 'prev' | 'next' | '' | null
64
+ showPrevButton?: boolean
65
+ /**
66
+ * 显示往向后折叠按钮
67
+ */
68
+ showNextButton?: boolean
66
69
  /**
67
70
  * 自定义展开图标
68
71
  */
@@ -71,6 +74,13 @@ export namespace VxeSplitPropTypes {
71
74
  * 自定义关闭图标
72
75
  */
73
76
  closeIcon?: string
77
+
78
+ /**
79
+ * 折叠方向
80
+ * 支持向前和向后折叠
81
+ * @deprecated
82
+ */
83
+ direction?: 'prev' | 'next' | '' | null
74
84
  }
75
85
  }
76
86
 
@@ -125,13 +135,14 @@ export interface SplitPrivateComputed {
125
135
  computeItemOpts: ComputedRef<VxeSplitPropTypes.ItemConfig>
126
136
  computeBarOpts: ComputedRef<VxeSplitPropTypes.BarConfig>
127
137
  computeActionOpts: ComputedRef<VxeSplitPropTypes.ActionConfig>
128
- computeIsFoldNext: ComputedRef<boolean>
129
138
  }
130
139
  export interface VxeSplitPrivateComputed extends SplitPrivateComputed { }
131
140
 
132
141
  export interface SplitReactData {
133
142
  staticItems: VxeSplitDefines.PaneConfig[]
134
143
  itemList: VxeSplitDefines.PaneConfig[]
144
+ barWidth: number
145
+ barHeight: number
135
146
  }
136
147
 
137
148
  export interface SplitInternalData {
@@ -179,7 +190,6 @@ export namespace VxeSplitDefines {
179
190
 
180
191
  export interface PaneConfig extends VxeSplitPaneProps {
181
192
  id: string
182
- isVisible: boolean
183
193
  isExpand: boolean
184
194
  renderWidth: number
185
195
  foldWidth: number
@@ -190,34 +200,29 @@ export namespace VxeSplitDefines {
190
200
  }
191
201
 
192
202
  export interface ActionClickEventParams extends SplitEventParams {
193
- item: PaneConfig
194
- name: VxeSplitPanePropTypes.Name
203
+ prevItem: PaneConfig
204
+ nextItem: PaneConfig
195
205
  }
196
206
  export interface ActionDblclickEventParams extends ActionClickEventParams {}
197
207
  export interface ToggleExpandEventParams extends SplitEventParams {
198
- item: PaneConfig
199
- name: VxeSplitPanePropTypes.Name
200
- targetItem: PaneConfig
201
- targetName: VxeSplitPanePropTypes.Name
208
+ prevItem: PaneConfig
209
+ nextItem: PaneConfig
202
210
  expanded: boolean
211
+ item: PaneConfig
203
212
  }
204
213
  export interface ResizeStartEventParams extends SplitEventParams {
205
- item: PaneConfig
206
- name: VxeSplitPanePropTypes.Name
214
+ prevItem: PaneConfig
215
+ nextItem: PaneConfig
207
216
  }
208
217
  export interface ResizeDragEventParams extends SplitEventParams {
209
- item: PaneConfig
210
- name: VxeSplitPanePropTypes.Name
211
- offsetHeight: number
212
- resizeHeight: number
213
- offsetWidth: number
214
- resizeWidth: number
218
+ prevItem: PaneConfig
219
+ nextItem: PaneConfig
215
220
  }
216
221
  export interface ResizeEndEventParams extends SplitEventParams {
217
222
  item: PaneConfig
218
223
  name: VxeSplitPanePropTypes.Name
219
- resizeHeight: number
220
- resizeWidth: number
224
+ offsetHeight: number
225
+ offsetWidth: number
221
226
  }
222
227
  }
223
228
 
@@ -259,7 +264,6 @@ export interface VxeSplitSlots {
259
264
  */
260
265
  [key: string]: ((params: {
261
266
  name: VxeSplitPanePropTypes.Name
262
- isVisible: boolean
263
267
  isExpand: boolean
264
268
  }) => any) | undefined
265
269
 
@@ -90,12 +90,32 @@ export interface TableEditMethods<D = any> {
90
90
  */
91
91
  getActiveRecord(): {
92
92
  row: D
93
+ column: VxeTableDefines.ColumnInfo<D>
94
+ /**
95
+ * 请使用 getRowIndex(row)
96
+ * @deprecated
97
+ */
93
98
  rowIndex: number
99
+ /**
100
+ * 请使用 getVMRowIndex(row)
101
+ * @deprecated
102
+ */
94
103
  $rowIndex: number
95
- column: VxeTableDefines.ColumnInfo<D>
104
+ /**
105
+ * 请使用 getColumnIndex(column)
106
+ * @deprecated
107
+ */
96
108
  columnIndex: number
109
+ /**
110
+ * 请使用 getVMColumnIndex(column)
111
+ * @deprecated
112
+ */
97
113
  $columnIndex: number
98
- // cell: HTMLElement
114
+ /**
115
+ * 已废弃
116
+ * @deprecated
117
+ */
118
+ cell: HTMLElement
99
119
  }
100
120
  /**
101
121
  * 已废弃,请使用 getEditCell
@@ -103,12 +123,32 @@ export interface TableEditMethods<D = any> {
103
123
  */
104
124
  getEditRecord(): {
105
125
  row: D
126
+ column: VxeTableDefines.ColumnInfo<D>
127
+ /**
128
+ * 请使用 getRowIndex(row)
129
+ * @deprecated
130
+ */
106
131
  rowIndex: number
132
+ /**
133
+ * 请使用 getVMRowIndex(row)
134
+ * @deprecated
135
+ */
107
136
  $rowIndex: number
108
- column: VxeTableDefines.ColumnInfo<D>
137
+ /**
138
+ * 请使用 getColumnIndex(column)
139
+ * @deprecated
140
+ */
109
141
  columnIndex: number
142
+ /**
143
+ * 请使用 getVMColumnIndex(column)
144
+ * @deprecated
145
+ */
110
146
  $columnIndex: number
111
- // cell: HTMLElement
147
+ /**
148
+ * 已废弃
149
+ * @deprecated
150
+ */
151
+ cell: HTMLElement
112
152
  }
113
153
  /**
114
154
  * 用于 edit-config,获取已激活编辑的单元格信息
@@ -745,6 +745,10 @@ export namespace VxeTablePropTypes {
745
745
  * 需要 isCrossDrag,只对 tree-config 启用有效,是否允许将自己拖拽到子级行中
746
746
  */
747
747
  isSelfToChildDrag?: boolean
748
+ /**
749
+ * 是否允许在不同表格之间进行拖拽
750
+ */
751
+ isCrossTableDrag?: boolean
748
752
  /**
749
753
  * 是否显示拖拽辅助状态显示
750
754
  */
@@ -2570,9 +2574,9 @@ export namespace VxeTablePropTypes {
2570
2574
  */
2571
2575
  position?: 'top' | 'bottom' | ''
2572
2576
  /**
2573
- * 是否显示
2577
+ * 滚动条显示方式
2574
2578
  */
2575
- visible?: boolean
2579
+ visible?: 'auto' | 'visible' | 'hidden' | boolean
2576
2580
  }
2577
2581
  /**
2578
2582
  * 纵向滚动条
@@ -2583,9 +2587,9 @@ export namespace VxeTablePropTypes {
2583
2587
  */
2584
2588
  position?: 'left' | 'right' | ''
2585
2589
  /**
2586
- * 是否显示
2590
+ * 滚动条显示方式
2587
2591
  */
2588
- visible?: boolean
2592
+ visible?: 'auto' | 'visible' | 'hidden' | boolean
2589
2593
  }
2590
2594
  }
2591
2595
 
@@ -3731,9 +3735,9 @@ export interface TableReactData<D = any> {
3731
3735
 
3732
3736
  isCustomStatus: boolean
3733
3737
 
3734
- isDragRowMove: Boolean
3738
+ isCrossDragRow: Boolean
3735
3739
  dragRow: any
3736
- isDragColMove: boolean
3740
+ isCrossDragCol: boolean
3737
3741
  dragCol: VxeTableDefines.ColumnInfo | null
3738
3742
  dragTipText: string
3739
3743
 
@@ -5054,6 +5058,22 @@ export interface TablePrivateMethods<D = any> {
5054
5058
  * @private
5055
5059
  */
5056
5060
  handleRowDragDragoverEvent(evnt: DragEvent): void
5061
+ /**
5062
+ * @private
5063
+ */
5064
+ handleCrossTableRowDragInsertEvent(evnt: DragEvent): void
5065
+ /**
5066
+ * @private
5067
+ */
5068
+ handleCrossTableRowDragFinishEvent(evnt: DragEvent): void
5069
+ /**
5070
+ * @private
5071
+ */
5072
+ handleCrossTableRowDragoverEmptyEvent(evnt: DragEvent): void
5073
+ /**
5074
+ * @private
5075
+ */
5076
+ hideCrossTableRowDropClearStatus(): void
5057
5077
  /**
5058
5078
  * @private
5059
5079
  */
@@ -5201,6 +5221,8 @@ export type VxeTableEmits = [
5201
5221
  'row-dragstart',
5202
5222
  'row-dragover',
5203
5223
  'row-dragend',
5224
+ 'row-remove-dragend',
5225
+ 'row-insert-dragend',
5204
5226
  'column-dragstart',
5205
5227
  'column-dragover',
5206
5228
  'column-dragend',
@@ -5927,6 +5949,19 @@ export namespace VxeTableDefines {
5927
5949
  }
5928
5950
  }
5929
5951
 
5952
+ export interface RowRemoveDragendEventParams<D = any> {
5953
+ row: D
5954
+ }
5955
+
5956
+ export interface RowInsertDragendEventParams<D = any> {
5957
+ newRow: D
5958
+ oldRow: D
5959
+ dragRow: D
5960
+ dragPos: 'top' | 'bottom'
5961
+ dragToChild: boolean
5962
+ offsetIndex: 0 | 1
5963
+ }
5964
+
5930
5965
  export interface RowDragToChildMethod<D = any> extends RowDragendEventParams<D> {}
5931
5966
 
5932
5967
  export interface ColumnDragstartEventParams<D = any> {
@@ -6275,6 +6310,8 @@ export interface VxeTableEventProps<D = any> {
6275
6310
  onRowDragstart?: VxeTableEvents.RowDragstart<D>
6276
6311
  onRowDragover?: VxeTableEvents.RowDragover<D>
6277
6312
  onRowDragend?: VxeTableEvents.RowDragend<D>
6313
+ onRowRemoveDragend?: VxeTableEvents.RowRemoveDragend<D>
6314
+ onRowInsertDragend?: VxeTableEvents.RowInsertDragend<D>
6278
6315
  onColumnDragstart?: VxeTableEvents.ColumnDragstart<D>
6279
6316
  onColumnDragover?: VxeTableEvents.ColumnDragover<D>
6280
6317
  onColumnDragend?: VxeTableEvents.ColumnDragend<D>
@@ -6356,6 +6393,8 @@ export interface VxeTableListeners<D = any> {
6356
6393
  rowDragstart?: VxeTableEvents.RowDragstart<D>
6357
6394
  rowDragover?: VxeTableEvents.RowDragover<D>
6358
6395
  rowDragend?: VxeTableEvents.RowDragend<D>
6396
+ rowRemoveDragend?: VxeTableEvents.RowRemoveDragend<D>
6397
+ rowInsertDragend?: VxeTableEvents.RowInsertDragend<D>
6359
6398
  columnDragstart?: VxeTableEvents.ColumnDragstart<D>
6360
6399
  columnDragover?: VxeTableEvents.ColumnDragover<D>
6361
6400
  columnDragend?: VxeTableEvents.ColumnDragend<D>
@@ -6420,6 +6459,8 @@ export namespace VxeTableEvents {
6420
6459
  export type RowDragstart<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.RowDragstartEventParams<D>) => void
6421
6460
  export type RowDragover<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.RowDragoverEventParams<D>) => void
6422
6461
  export type RowDragend<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.RowDragendEventParams<D>) => void
6462
+ export type RowRemoveDragend<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.RowRemoveDragendEventParams<D>) => void
6463
+ export type RowInsertDragend<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.RowInsertDragendEventParams<D>) => void
6423
6464
  export type ColumnDragstart<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ColumnDragstartEventParams<D>) => void
6424
6465
  export type ColumnDragover<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ColumnDragoverEventParams<D>) => void
6425
6466
  export type ColumnDragend<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ColumnDragendEventParams<D>) => void