@uzum-tech/ui 2.0.5 → 2.0.6

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 (106) hide show
  1. package/dist/index.js +1039 -493
  2. package/dist/index.mjs +1039 -493
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/_internal/icons/DragHandleRound.d.ts +2 -0
  6. package/es/_internal/icons/DragHandleRound.mjs +16 -0
  7. package/es/_internal/icons/index.d.ts +1 -0
  8. package/es/_internal/icons/index.mjs +1 -0
  9. package/es/components.d.ts +32 -0
  10. package/es/data-table/src/DataTable.d.ts +24 -0
  11. package/es/data-table/src/DataTable.mjs +31 -0
  12. package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -0
  13. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -0
  14. package/es/data-table/src/TableParts/Body.d.ts +17 -9
  15. package/es/data-table/src/TableParts/Body.mjs +81 -274
  16. package/es/data-table/src/TableParts/BodyEmpty.d.ts +3 -0
  17. package/es/data-table/src/TableParts/BodyEmpty.mjs +22 -0
  18. package/es/data-table/src/TableParts/BodyRow.d.ts +3 -0
  19. package/es/data-table/src/TableParts/BodyRow.mjs +257 -0
  20. package/es/data-table/src/TableParts/BodySkeleton.mjs +5 -2
  21. package/es/data-table/src/TableParts/Header.d.ts +6 -0
  22. package/es/data-table/src/TableParts/Header.mjs +5 -1
  23. package/es/data-table/src/TableParts/VirtualListItemWrapper.d.ts +36 -0
  24. package/es/data-table/src/TableParts/VirtualListItemWrapper.mjs +46 -0
  25. package/es/data-table/src/interface.d.ts +161 -2
  26. package/es/data-table/src/styles/index.cssr.mjs +26 -3
  27. package/es/data-table/src/use-group-header.d.ts +3 -3
  28. package/es/data-table/src/use-row-drag.d.ts +2 -0
  29. package/es/data-table/src/use-row-drag.mjs +241 -0
  30. package/es/data-table/src/use-sorter.d.ts +4 -8
  31. package/es/data-table/src/use-sorter.mjs +14 -2
  32. package/es/data-table/src/use-table-data.d.ts +11 -14
  33. package/es/data-table/src/use-table-data.mjs +4 -2
  34. package/es/data-table/src/use-table-storage.d.ts +2 -2
  35. package/es/data-table/src/use-table-storage.mjs +1 -1
  36. package/es/data-table/src/utils/column-utils.d.ts +3 -2
  37. package/es/data-table/src/utils/column-utils.mjs +9 -1
  38. package/es/data-table/src/utils/csv-utils.mjs +1 -1
  39. package/es/data-table/src/utils/flatten-rows.d.ts +2 -0
  40. package/es/data-table/src/utils/flatten-rows.mjs +33 -0
  41. package/es/data-table/src/utils/index.d.ts +1 -0
  42. package/es/data-table/src/utils/index.mjs +1 -0
  43. package/es/data-table/src/utils/resize-orchestrator-utils.d.ts +3 -5
  44. package/es/data-table/src/utils/width-utils.d.ts +2 -2
  45. package/es/data-table/styles/light.d.ts +6 -0
  46. package/es/data-table/styles/light.mjs +3 -0
  47. package/es/mapping-card/src/MappingCard.d.ts +8 -0
  48. package/es/mapping-card/src/MappingCard.mjs +3 -1
  49. package/es/mapping-card/src/MappingCardParts/Header.mjs +31 -10
  50. package/es/mapping-card/src/interface.d.ts +8 -0
  51. package/es/mapping-card/src/interface.mjs +4 -0
  52. package/es/mapping-card/src/styles/index.cssr.mjs +8 -1
  53. package/es/version.d.ts +1 -1
  54. package/es/version.mjs +1 -1
  55. package/lib/_internal/icons/DragHandleRound.d.ts +2 -0
  56. package/lib/_internal/icons/DragHandleRound.js +10 -0
  57. package/lib/_internal/icons/index.d.ts +1 -0
  58. package/lib/_internal/icons/index.js +4 -2
  59. package/lib/components.d.ts +32 -0
  60. package/lib/data-table/src/DataTable.d.ts +24 -0
  61. package/lib/data-table/src/DataTable.js +19 -1
  62. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -0
  63. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -0
  64. package/lib/data-table/src/TableParts/Body.d.ts +18 -10
  65. package/lib/data-table/src/TableParts/Body.js +65 -237
  66. package/lib/data-table/src/TableParts/BodyEmpty.d.ts +3 -0
  67. package/lib/data-table/src/TableParts/BodyEmpty.js +15 -0
  68. package/lib/data-table/src/TableParts/BodyRow.d.ts +3 -0
  69. package/lib/data-table/src/TableParts/BodyRow.js +210 -0
  70. package/lib/data-table/src/TableParts/BodySkeleton.js +8 -2
  71. package/lib/data-table/src/TableParts/Header.d.ts +6 -0
  72. package/lib/data-table/src/TableParts/Header.js +6 -0
  73. package/lib/data-table/src/TableParts/VirtualListItemWrapper.d.ts +36 -0
  74. package/lib/data-table/src/TableParts/VirtualListItemWrapper.js +29 -0
  75. package/lib/data-table/src/interface.d.ts +161 -2
  76. package/lib/data-table/src/styles/index.cssr.js +26 -3
  77. package/lib/data-table/src/use-group-header.d.ts +3 -3
  78. package/lib/data-table/src/use-row-drag.d.ts +2 -0
  79. package/lib/data-table/src/use-row-drag.js +270 -0
  80. package/lib/data-table/src/use-sorter.d.ts +4 -8
  81. package/lib/data-table/src/use-sorter.js +14 -0
  82. package/lib/data-table/src/use-table-data.d.ts +11 -14
  83. package/lib/data-table/src/use-table-data.js +5 -1
  84. package/lib/data-table/src/use-table-storage.d.ts +2 -2
  85. package/lib/data-table/src/use-table-storage.js +1 -0
  86. package/lib/data-table/src/utils/column-utils.d.ts +3 -2
  87. package/lib/data-table/src/utils/column-utils.js +11 -2
  88. package/lib/data-table/src/utils/csv-utils.js +1 -0
  89. package/lib/data-table/src/utils/flatten-rows.d.ts +2 -0
  90. package/lib/data-table/src/utils/flatten-rows.js +35 -0
  91. package/lib/data-table/src/utils/index.d.ts +1 -0
  92. package/lib/data-table/src/utils/index.js +1 -0
  93. package/lib/data-table/src/utils/resize-orchestrator-utils.d.ts +3 -5
  94. package/lib/data-table/src/utils/width-utils.d.ts +2 -2
  95. package/lib/data-table/styles/light.d.ts +6 -0
  96. package/lib/data-table/styles/light.js +3 -0
  97. package/lib/mapping-card/src/MappingCard.d.ts +8 -0
  98. package/lib/mapping-card/src/MappingCard.js +5 -1
  99. package/lib/mapping-card/src/MappingCardParts/Header.js +29 -5
  100. package/lib/mapping-card/src/interface.d.ts +8 -0
  101. package/lib/mapping-card/src/interface.js +4 -0
  102. package/lib/mapping-card/src/styles/index.cssr.js +8 -1
  103. package/lib/version.d.ts +1 -1
  104. package/lib/version.js +1 -1
  105. package/package.json +1 -1
  106. package/web-types.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { defineComponent, h } from 'vue';
2
+ export default defineComponent({
3
+ name: 'DragHandleRound',
4
+ render() {
5
+ return h("svg", {
6
+ width: "24",
7
+ height: "24",
8
+ viewBox: "0 0 24 24",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, h("path", {
12
+ d: "M9 20C8.45 20 7.97917 19.8042 7.5875 19.4125C7.19583 19.0208 7 18.55 7 18C7 17.45 7.19583 16.9792 7.5875 16.5875C7.97917 16.1958 8.45 16 9 16C9.55 16 10.0208 16.1958 10.4125 16.5875C10.8042 16.9792 11 17.45 11 18C11 18.55 10.8042 19.0208 10.4125 19.4125C10.0208 19.8042 9.55 20 9 20ZM15 20C14.45 20 13.9792 19.8042 13.5875 19.4125C13.1958 19.0208 13 18.55 13 18C13 17.45 13.1958 16.9792 13.5875 16.5875C13.9792 16.1958 14.45 16 15 16C15.55 16 16.0208 16.1958 16.4125 16.5875C16.8042 16.9792 17 17.45 17 18C17 18.55 16.8042 19.0208 16.4125 19.4125C16.0208 19.8042 15.55 20 15 20ZM9 14C8.45 14 7.97917 13.8042 7.5875 13.4125C7.19583 13.0208 7 12.55 7 12C7 11.45 7.19583 10.9792 7.5875 10.5875C7.97917 10.1958 8.45 10 9 10C9.55 10 10.0208 10.1958 10.4125 10.5875C10.8042 10.9792 11 11.45 11 12C11 12.55 10.8042 13.0208 10.4125 13.4125C10.0208 13.8042 9.55 14 9 14ZM15 14C14.45 14 13.9792 13.8042 13.5875 13.4125C13.1958 13.0208 13 12.55 13 12C13 11.45 13.1958 10.9792 13.5875 10.5875C13.9792 10.1958 14.45 10 15 10C15.55 10 16.0208 10.1958 16.4125 10.5875C16.8042 10.9792 17 11.45 17 12C17 12.55 16.8042 13.0208 16.4125 13.4125C16.0208 13.8042 15.55 14 15 14ZM9 8C8.45 8 7.97917 7.80417 7.5875 7.4125C7.19583 7.02083 7 6.55 7 6C7 5.45 7.19583 4.97917 7.5875 4.5875C7.97917 4.19583 8.45 4 9 4C9.55 4 10.0208 4.19583 10.4125 4.5875C10.8042 4.97917 11 5.45 11 6C11 6.55 10.8042 7.02083 10.4125 7.4125C10.0208 7.80417 9.55 8 9 8ZM15 8C14.45 8 13.9792 7.80417 13.5875 7.4125C13.1958 7.02083 13 6.55 13 6C13 5.45 13.1958 4.97917 13.5875 4.5875C13.9792 4.19583 14.45 4 15 4C15.55 4 16.0208 4.19583 16.4125 4.5875C16.8042 4.97917 17 5.45 17 6C17 6.55 16.8042 7.02083 16.4125 7.4125C16.0208 7.80417 15.55 8 15 8Z",
13
+ fill: "currentColor"
14
+ }));
15
+ }
16
+ });
@@ -22,6 +22,7 @@ export { default as ContentCopy } from './ContentCopy';
22
22
  export { default as DateIcon } from './Date';
23
23
  export { default as DismissCircleIcon } from './DismissCircle';
24
24
  export { default as DownloadIcon } from './Download';
25
+ export { default as DragHandleRound } from './DragHandleRound';
25
26
  export { default as EditIcon } from './Edit';
26
27
  export { default as EmptyIcon } from './Empty';
27
28
  export { default as ErrorIcon } from './Error';
@@ -22,6 +22,7 @@ export { default as ContentCopy } from "./ContentCopy.mjs";
22
22
  export { default as DateIcon } from "./Date.mjs";
23
23
  export { default as DismissCircleIcon } from "./DismissCircle.mjs";
24
24
  export { default as DownloadIcon } from "./Download.mjs";
25
+ export { default as DragHandleRound } from "./DragHandleRound.mjs";
25
26
  export { default as EditIcon } from "./Edit.mjs";
26
27
  export { default as EmptyIcon } from "./Empty.mjs";
27
28
  export { default as ErrorIcon } from "./Error.mjs";
@@ -34658,6 +34658,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
34658
34658
  thButtonColorHover: string;
34659
34659
  thIconColor: string;
34660
34660
  thIconColorActive: string;
34661
+ dropMarkColor: string;
34662
+ dragGhostOpacity: string;
34663
+ dragGhostFilter: string;
34661
34664
  borderColorModal: string;
34662
34665
  tdColorHoverModal: string;
34663
34666
  tdColorStripedModal: string;
@@ -35613,6 +35616,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
35613
35616
  thButtonColorHover: string;
35614
35617
  thIconColor: string;
35615
35618
  thIconColorActive: string;
35619
+ dropMarkColor: string;
35620
+ dragGhostOpacity: string;
35621
+ dragGhostFilter: string;
35616
35622
  borderColorModal: string;
35617
35623
  tdColorHoverModal: string;
35618
35624
  tdColorStripedModal: string;
@@ -36568,6 +36574,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
36568
36574
  thButtonColorHover: string;
36569
36575
  thIconColor: string;
36570
36576
  thIconColorActive: string;
36577
+ dropMarkColor: string;
36578
+ dragGhostOpacity: string;
36579
+ dragGhostFilter: string;
36571
36580
  borderColorModal: string;
36572
36581
  tdColorHoverModal: string;
36573
36582
  tdColorStripedModal: string;
@@ -37550,6 +37559,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
37550
37559
  thButtonColorHover: string;
37551
37560
  thIconColor: string;
37552
37561
  thIconColorActive: string;
37562
+ dropMarkColor: string;
37563
+ dragGhostOpacity: string;
37564
+ dragGhostFilter: string;
37553
37565
  borderColorModal: string;
37554
37566
  tdColorHoverModal: string;
37555
37567
  tdColorStripedModal: string;
@@ -38939,6 +38951,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
38939
38951
  '--u-th-button-color-hover': string;
38940
38952
  '--u-th-icon-color': string;
38941
38953
  '--u-th-icon-color-active': string;
38954
+ '--u-drop-mark-color': string;
38955
+ '--u-drag-ghost-opacity': string;
38956
+ '--u-drag-ghost-filter': string;
38942
38957
  '--u-filter-size': string;
38943
38958
  '--u-pagination-margin': string;
38944
38959
  '--u-empty-padding': string;
@@ -39123,6 +39138,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
39123
39138
  thButtonColorHover: string;
39124
39139
  thIconColor: string;
39125
39140
  thIconColorActive: string;
39141
+ dropMarkColor: string;
39142
+ dragGhostOpacity: string;
39143
+ dragGhostFilter: string;
39126
39144
  borderColorModal: string;
39127
39145
  tdColorHoverModal: string;
39128
39146
  tdColorStripedModal: string;
@@ -40078,6 +40096,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
40078
40096
  thButtonColorHover: string;
40079
40097
  thIconColor: string;
40080
40098
  thIconColorActive: string;
40099
+ dropMarkColor: string;
40100
+ dragGhostOpacity: string;
40101
+ dragGhostFilter: string;
40081
40102
  borderColorModal: string;
40082
40103
  tdColorHoverModal: string;
40083
40104
  tdColorStripedModal: string;
@@ -41033,6 +41054,9 @@ export declare const UDataTable: import("vue").DefineComponent<import("vue").Ext
41033
41054
  thButtonColorHover: string;
41034
41055
  thIconColor: string;
41035
41056
  thIconColorActive: string;
41057
+ dropMarkColor: string;
41058
+ dragGhostOpacity: string;
41059
+ dragGhostFilter: string;
41036
41060
  borderColorModal: string;
41037
41061
  tdColorHoverModal: string;
41038
41062
  tdColorStripedModal: string;
@@ -77057,6 +77081,10 @@ export { mappingCardDark, mappingCardLight, renderConfig } from './mapping-card'
77057
77081
  export declare const UMappingCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77058
77082
  title: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["title"]>;
77059
77083
  description: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["description"]>;
77084
+ subTitle: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["subTitle"]>;
77085
+ subDescription: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["subDescription"]>;
77086
+ headerInfo: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["headerInfo"]>;
77087
+ headerSubInfo: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["headerSubInfo"]>;
77060
77088
  rows: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["rows"]>;
77061
77089
  cols: {
77062
77090
  readonly type: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["cols"]>;
@@ -78111,6 +78139,10 @@ export declare const UMappingCard: import("vue").DefineComponent<import("vue").E
78111
78139
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78112
78140
  title: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["title"]>;
78113
78141
  description: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["description"]>;
78142
+ subTitle: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["subTitle"]>;
78143
+ subDescription: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["subDescription"]>;
78144
+ headerInfo: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["headerInfo"]>;
78145
+ headerSubInfo: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["headerSubInfo"]>;
78114
78146
  rows: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["rows"]>;
78115
78147
  cols: {
78116
78148
  readonly type: import("vue").PropType<import("./mapping-card/src/interface").MappingCardInterface["cols"]>;
@@ -166,6 +166,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
166
166
  thButtonColorHover: string;
167
167
  thIconColor: string;
168
168
  thIconColorActive: string;
169
+ dropMarkColor: string;
170
+ dragGhostOpacity: string;
171
+ dragGhostFilter: string;
169
172
  borderColorModal: string;
170
173
  tdColorHoverModal: string;
171
174
  tdColorStripedModal: string;
@@ -1121,6 +1124,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1121
1124
  thButtonColorHover: string;
1122
1125
  thIconColor: string;
1123
1126
  thIconColorActive: string;
1127
+ dropMarkColor: string;
1128
+ dragGhostOpacity: string;
1129
+ dragGhostFilter: string;
1124
1130
  borderColorModal: string;
1125
1131
  tdColorHoverModal: string;
1126
1132
  tdColorStripedModal: string;
@@ -2076,6 +2082,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2076
2082
  thButtonColorHover: string;
2077
2083
  thIconColor: string;
2078
2084
  thIconColorActive: string;
2085
+ dropMarkColor: string;
2086
+ dragGhostOpacity: string;
2087
+ dragGhostFilter: string;
2079
2088
  borderColorModal: string;
2080
2089
  tdColorHoverModal: string;
2081
2090
  tdColorStripedModal: string;
@@ -3058,6 +3067,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3058
3067
  thButtonColorHover: string;
3059
3068
  thIconColor: string;
3060
3069
  thIconColorActive: string;
3070
+ dropMarkColor: string;
3071
+ dragGhostOpacity: string;
3072
+ dragGhostFilter: string;
3061
3073
  borderColorModal: string;
3062
3074
  tdColorHoverModal: string;
3063
3075
  tdColorStripedModal: string;
@@ -4447,6 +4459,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4447
4459
  '--u-th-button-color-hover': string;
4448
4460
  '--u-th-icon-color': string;
4449
4461
  '--u-th-icon-color-active': string;
4462
+ '--u-drop-mark-color': string;
4463
+ '--u-drag-ghost-opacity': string;
4464
+ '--u-drag-ghost-filter': string;
4450
4465
  '--u-filter-size': string;
4451
4466
  '--u-pagination-margin': string;
4452
4467
  '--u-empty-padding': string;
@@ -4631,6 +4646,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4631
4646
  thButtonColorHover: string;
4632
4647
  thIconColor: string;
4633
4648
  thIconColorActive: string;
4649
+ dropMarkColor: string;
4650
+ dragGhostOpacity: string;
4651
+ dragGhostFilter: string;
4634
4652
  borderColorModal: string;
4635
4653
  tdColorHoverModal: string;
4636
4654
  tdColorStripedModal: string;
@@ -5586,6 +5604,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5586
5604
  thButtonColorHover: string;
5587
5605
  thIconColor: string;
5588
5606
  thIconColorActive: string;
5607
+ dropMarkColor: string;
5608
+ dragGhostOpacity: string;
5609
+ dragGhostFilter: string;
5589
5610
  borderColorModal: string;
5590
5611
  tdColorHoverModal: string;
5591
5612
  tdColorStripedModal: string;
@@ -6541,6 +6562,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6541
6562
  thButtonColorHover: string;
6542
6563
  thIconColor: string;
6543
6564
  thIconColorActive: string;
6565
+ dropMarkColor: string;
6566
+ dragGhostOpacity: string;
6567
+ dragGhostFilter: string;
6544
6568
  borderColorModal: string;
6545
6569
  tdColorHoverModal: string;
6546
6570
  tdColorStripedModal: string;
@@ -11,6 +11,7 @@ import { useCheck } from "./use-check.mjs";
11
11
  import { useExpand } from "./use-expand.mjs";
12
12
  import { useGroupHeader } from "./use-group-header.mjs";
13
13
  import { useResizable } from "./use-resizable.mjs";
14
+ import { useRowDrag } from "./use-row-drag.mjs";
14
15
  import { useScroll } from "./use-scroll.mjs";
15
16
  import { useTableData } from "./use-table-data.mjs";
16
17
  import { loadTableState, restoreSortStateFromStored, saveTableState } from "./use-table-storage.mjs";
@@ -140,6 +141,21 @@ export default defineComponent({
140
141
  expandableRef,
141
142
  doUpdateExpandedRowKeys
142
143
  } = useExpand(props, treeMateRef);
144
+ const {
145
+ draggableColumnRef,
146
+ draggingRowKeySetRef,
147
+ droppingRowKeyRef,
148
+ droppingPositionRef,
149
+ handleRowDragStart,
150
+ handleRowDragOver,
151
+ handleRowDragLeave,
152
+ handleRowDragEnd,
153
+ handleRowDrop
154
+ } = useRowDrag(props, {
155
+ paginatedDataRef,
156
+ mergedCheckedRowKeySetRef,
157
+ mergedClsPrefixRef
158
+ });
143
159
  const {
144
160
  handleTableBodyScroll,
145
161
  handleTableHeaderScroll,
@@ -556,6 +572,15 @@ export default defineComponent({
556
572
  '--u-action-divider-color': actionDividerColor
557
573
  };
558
574
  }),
575
+ draggableColumnRef,
576
+ draggingRowKeySetRef,
577
+ droppingRowKeyRef,
578
+ droppingPositionRef,
579
+ handleRowDragStart,
580
+ handleRowDragOver,
581
+ handleRowDragLeave,
582
+ handleRowDragEnd,
583
+ handleRowDrop,
559
584
  onLoadRef: toRef(props, 'onLoad'),
560
585
  mergedTableLayoutRef,
561
586
  resizableEnabledRef,
@@ -636,6 +661,9 @@ export default defineComponent({
636
661
  thButtonColorHover,
637
662
  thIconColor,
638
663
  thIconColorActive,
664
+ dropMarkColor,
665
+ dragGhostOpacity,
666
+ dragGhostFilter,
639
667
  filterSize,
640
668
  borderRadius,
641
669
  lineHeight,
@@ -704,6 +732,9 @@ export default defineComponent({
704
732
  '--u-th-button-color-hover': thButtonColorHover,
705
733
  '--u-th-icon-color': thIconColor,
706
734
  '--u-th-icon-color-active': thIconColorActive,
735
+ '--u-drop-mark-color': dropMarkColor,
736
+ '--u-drag-ghost-opacity': dragGhostOpacity,
737
+ '--u-drag-ghost-filter': dragGhostFilter,
707
738
  '--u-filter-size': filterSize,
708
739
  '--u-pagination-margin': paginationMargin,
709
740
  '--u-empty-padding': emptyPadding,
@@ -54,6 +54,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
54
54
  thButtonColorHover: string;
55
55
  thIconColor: string;
56
56
  thIconColorActive: string;
57
+ dropMarkColor: string;
58
+ dragGhostOpacity: string;
59
+ dragGhostFilter: string;
57
60
  borderColorModal: string;
58
61
  tdColorHoverModal: string;
59
62
  tdColorStripedModal: string;
@@ -1448,6 +1451,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1448
1451
  thButtonColorHover: string;
1449
1452
  thIconColor: string;
1450
1453
  thIconColorActive: string;
1454
+ dropMarkColor: string;
1455
+ dragGhostOpacity: string;
1456
+ dragGhostFilter: string;
1451
1457
  borderColorModal: string;
1452
1458
  tdColorHoverModal: string;
1453
1459
  tdColorStripedModal: string;
@@ -79,6 +79,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  thButtonColorHover: string;
80
80
  thIconColor: string;
81
81
  thIconColorActive: string;
82
+ dropMarkColor: string;
83
+ dragGhostOpacity: string;
84
+ dragGhostFilter: string;
82
85
  borderColorModal: string;
83
86
  tdColorHoverModal: string;
84
87
  tdColorStripedModal: string;
@@ -1473,6 +1476,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1473
1476
  thButtonColorHover: string;
1474
1477
  thIconColor: string;
1475
1478
  thIconColorActive: string;
1479
+ dropMarkColor: string;
1480
+ dragGhostOpacity: string;
1481
+ dragGhostFilter: string;
1476
1482
  borderColorModal: string;
1477
1483
  tdColorHoverModal: string;
1478
1484
  tdColorStripedModal: string;
@@ -1,14 +1,7 @@
1
1
  import type { CSSProperties, PropType } from 'vue';
2
2
  import type { VirtualListInst } from 'vueuc';
3
3
  import type { ScrollbarInst } from '../../../_internal';
4
- import type { ColumnKey, RowKey, TmNode } from '../interface';
5
- import type { ColItem } from '../use-group-header';
6
- interface NormalRowRenderInfo {
7
- striped: boolean;
8
- tmNode: TmNode;
9
- key: RowKey;
10
- index: number;
11
- }
4
+ import type { ColumnKey, NormalRowRenderInfo, RowKey, TmNode } from '../interface';
12
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
6
  onEdit: PropType<(value: string, row: string, key: string) => void>;
14
7
  onResize: PropType<(e: ResizeObserverEntry) => void>;
@@ -103,6 +96,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
103
96
  thButtonColorHover: string;
104
97
  thIconColor: string;
105
98
  thIconColorActive: string;
99
+ dropMarkColor: string;
100
+ dragGhostOpacity: string;
101
+ dragGhostFilter: string;
106
102
  borderColorModal: string;
107
103
  tdColorHoverModal: string;
108
104
  tdColorStripedModal: string;
@@ -1497,6 +1493,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1497
1493
  thButtonColorHover: string;
1498
1494
  thIconColor: string;
1499
1495
  thIconColorActive: string;
1496
+ dropMarkColor: string;
1497
+ dragGhostOpacity: string;
1498
+ dragGhostFilter: string;
1500
1499
  borderColorModal: string;
1501
1500
  tdColorHoverModal: string;
1502
1501
  tdColorStripedModal: string;
@@ -2849,7 +2848,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2849
2848
  };
2850
2849
  }>;
2851
2850
  scrollX: import("vue").Ref<string | number | undefined, string | number | undefined>;
2852
- cols: import("vue").Ref<ColItem[], ColItem[]>;
2851
+ cols: import("vue").Ref<import("../use-group-header").ColItem[], import("../use-group-header").ColItem[]>;
2853
2852
  loading: import("vue").Ref<boolean, boolean>;
2854
2853
  loadingSkeleton: import("vue").Ref<boolean, boolean>;
2855
2854
  bodyShowHeaderOnly: import("vue").ComputedRef<boolean>;
@@ -2910,6 +2909,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2910
2909
  renderCell: import("vue").Ref<((value: any, rowData: object, column: import("../interface").TableBaseColumn) => import("vue").VNodeChild) | undefined, ((value: any, rowData: object, column: import("../interface").TableBaseColumn) => import("vue").VNodeChild) | undefined>;
2911
2910
  defaultEmptyValueRef: import("vue").Ref<string | (() => import("vue").VNodeChild) | undefined, string | (() => import("vue").VNodeChild) | undefined>;
2912
2911
  emptyPropsRef: import("vue").Ref<Partial<import("../../..").EmptyProps> | undefined, Partial<import("../../..").EmptyProps> | undefined>;
2912
+ draggableColumn: import("vue").Ref<import("../interface").TableDraggableColumn<import("../interface").InternalRowData> | null, import("../interface").TableDraggableColumn<import("../interface").InternalRowData> | null>;
2913
+ draggingRowKeySet: import("vue").Ref<Set<RowKey>, Set<RowKey>>;
2914
+ droppingRowKey: import("vue").Ref<RowKey | null, RowKey | null>;
2915
+ droppingPosition: import("vue").Ref<import("../interface").RowDropPosition | null, import("../interface").RowDropPosition | null>;
2916
+ handleRowDragStart: (event: DragEvent, rowKey: RowKey) => void;
2917
+ handleRowDragOver: (event: DragEvent, rowKey: RowKey) => void;
2918
+ handleRowDragLeave: (event: DragEvent, rowKey: RowKey) => void;
2919
+ handleRowDragEnd: () => void;
2920
+ handleRowDrop: (event: DragEvent, rowKey: RowKey) => void;
2913
2921
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "edit"[], "edit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2914
2922
  onEdit: PropType<(value: string, row: string, key: string) => void>;
2915
2923
  onResize: PropType<(e: ResizeObserverEntry) => void>;