@uzum-tech/ui 2.0.5 → 2.0.7
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.
- package/dist/index.js +1183 -573
- package/dist/index.mjs +1183 -573
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/_internal/icons/DragHandleRound.mjs +16 -0
- package/es/_internal/icons/index.d.ts +1 -1
- package/es/_internal/icons/index.mjs +1 -1
- package/es/components.d.ts +99 -30
- package/es/data-table/src/DataTable.d.ts +24 -0
- package/es/data-table/src/DataTable.mjs +31 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -0
- package/es/data-table/src/TableParts/Body.d.ts +17 -9
- package/es/data-table/src/TableParts/Body.mjs +81 -274
- package/es/data-table/src/TableParts/BodyEmpty.d.ts +3 -0
- package/es/data-table/src/TableParts/BodyEmpty.mjs +22 -0
- package/es/data-table/src/TableParts/BodyRow.d.ts +3 -0
- package/es/data-table/src/TableParts/BodyRow.mjs +257 -0
- package/es/data-table/src/TableParts/BodySkeleton.mjs +5 -2
- package/es/data-table/src/TableParts/Header.d.ts +6 -0
- package/es/data-table/src/TableParts/Header.mjs +5 -1
- package/es/data-table/src/TableParts/VirtualListItemWrapper.d.ts +36 -0
- package/es/data-table/src/TableParts/VirtualListItemWrapper.mjs +46 -0
- package/es/data-table/src/interface.d.ts +161 -2
- package/es/data-table/src/styles/index.cssr.mjs +26 -3
- package/es/data-table/src/use-group-header.d.ts +3 -3
- package/es/data-table/src/use-row-drag.d.ts +2 -0
- package/es/data-table/src/use-row-drag.mjs +241 -0
- package/es/data-table/src/use-sorter.d.ts +4 -8
- package/es/data-table/src/use-sorter.mjs +14 -2
- package/es/data-table/src/use-table-data.d.ts +11 -14
- package/es/data-table/src/use-table-data.mjs +4 -2
- package/es/data-table/src/use-table-storage.d.ts +2 -2
- package/es/data-table/src/use-table-storage.mjs +1 -1
- package/es/data-table/src/utils/column-utils.d.ts +3 -2
- package/es/data-table/src/utils/column-utils.mjs +9 -1
- package/es/data-table/src/utils/csv-utils.mjs +1 -1
- package/es/data-table/src/utils/flatten-rows.d.ts +2 -0
- package/es/data-table/src/utils/flatten-rows.mjs +33 -0
- package/es/data-table/src/utils/index.d.ts +1 -0
- package/es/data-table/src/utils/index.mjs +1 -0
- package/es/data-table/src/utils/resize-orchestrator-utils.d.ts +3 -5
- package/es/data-table/src/utils/width-utils.d.ts +2 -2
- package/es/data-table/styles/light.d.ts +6 -0
- package/es/data-table/styles/light.mjs +3 -0
- package/es/mapping-card/src/MappingCard.d.ts +8 -0
- package/es/mapping-card/src/MappingCard.mjs +3 -1
- package/es/mapping-card/src/MappingCardParts/Header.mjs +31 -10
- package/es/mapping-card/src/interface.d.ts +8 -0
- package/es/mapping-card/src/interface.mjs +4 -0
- package/es/mapping-card/src/styles/index.cssr.mjs +8 -1
- package/es/tree/src/Tree.d.ts +49 -24
- package/es/tree/src/Tree.mjs +18 -13
- package/es/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/es/tree/src/TreeNodeSwitcher.mjs +24 -26
- package/es/tree/src/styles/index.cssr.mjs +11 -8
- package/es/tree/styles/light.d.ts +4 -0
- package/es/tree/styles/light.mjs +2 -0
- package/es/tree-select/index.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +43 -16
- package/es/tree-select/src/TreeSelect.mjs +65 -35
- package/es/tree-select/src/interface.d.ts +6 -1
- package/es/tree-select/src/scroll-option-end.d.ts +3 -0
- package/es/tree-select/src/scroll-option-end.mjs +28 -0
- package/es/tree-select/styles/light.d.ts +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/icons/DragHandleRound.js +10 -0
- package/lib/_internal/icons/index.d.ts +1 -1
- package/lib/_internal/icons/index.js +4 -4
- package/lib/components.d.ts +99 -30
- package/lib/data-table/src/DataTable.d.ts +24 -0
- package/lib/data-table/src/DataTable.js +19 -1
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -0
- package/lib/data-table/src/TableParts/Body.d.ts +18 -10
- package/lib/data-table/src/TableParts/Body.js +65 -237
- package/lib/data-table/src/TableParts/BodyEmpty.d.ts +3 -0
- package/lib/data-table/src/TableParts/BodyEmpty.js +15 -0
- package/lib/data-table/src/TableParts/BodyRow.d.ts +3 -0
- package/lib/data-table/src/TableParts/BodyRow.js +210 -0
- package/lib/data-table/src/TableParts/BodySkeleton.js +8 -2
- package/lib/data-table/src/TableParts/Header.d.ts +6 -0
- package/lib/data-table/src/TableParts/Header.js +6 -0
- package/lib/data-table/src/TableParts/VirtualListItemWrapper.d.ts +36 -0
- package/lib/data-table/src/TableParts/VirtualListItemWrapper.js +29 -0
- package/lib/data-table/src/interface.d.ts +161 -2
- package/lib/data-table/src/styles/index.cssr.js +26 -3
- package/lib/data-table/src/use-group-header.d.ts +3 -3
- package/lib/data-table/src/use-row-drag.d.ts +2 -0
- package/lib/data-table/src/use-row-drag.js +270 -0
- package/lib/data-table/src/use-sorter.d.ts +4 -8
- package/lib/data-table/src/use-sorter.js +14 -0
- package/lib/data-table/src/use-table-data.d.ts +11 -14
- package/lib/data-table/src/use-table-data.js +5 -1
- package/lib/data-table/src/use-table-storage.d.ts +2 -2
- package/lib/data-table/src/use-table-storage.js +1 -0
- package/lib/data-table/src/utils/column-utils.d.ts +3 -2
- package/lib/data-table/src/utils/column-utils.js +11 -2
- package/lib/data-table/src/utils/csv-utils.js +1 -0
- package/lib/data-table/src/utils/flatten-rows.d.ts +2 -0
- package/lib/data-table/src/utils/flatten-rows.js +35 -0
- package/lib/data-table/src/utils/index.d.ts +1 -0
- package/lib/data-table/src/utils/index.js +1 -0
- package/lib/data-table/src/utils/resize-orchestrator-utils.d.ts +3 -5
- package/lib/data-table/src/utils/width-utils.d.ts +2 -2
- package/lib/data-table/styles/light.d.ts +6 -0
- package/lib/data-table/styles/light.js +3 -0
- package/lib/mapping-card/src/MappingCard.d.ts +8 -0
- package/lib/mapping-card/src/MappingCard.js +5 -1
- package/lib/mapping-card/src/MappingCardParts/Header.js +29 -5
- package/lib/mapping-card/src/interface.d.ts +8 -0
- package/lib/mapping-card/src/interface.js +4 -0
- package/lib/mapping-card/src/styles/index.cssr.js +8 -1
- package/lib/tree/src/Tree.d.ts +49 -24
- package/lib/tree/src/Tree.js +16 -15
- package/lib/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/lib/tree/src/TreeNodeSwitcher.js +11 -14
- package/lib/tree/src/styles/index.cssr.js +11 -8
- package/lib/tree/styles/light.d.ts +4 -0
- package/lib/tree/styles/light.js +2 -0
- package/lib/tree-select/index.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +43 -16
- package/lib/tree-select/src/TreeSelect.js +66 -40
- package/lib/tree-select/src/interface.d.ts +6 -1
- package/lib/tree-select/src/scroll-option-end.d.ts +3 -0
- package/lib/tree-select/src/scroll-option-end.js +30 -0
- package/lib/tree-select/styles/light.d.ts +2 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +21 -1
- package/es/_internal/icons/Switcher.mjs +0 -12
- package/lib/_internal/icons/Switcher.js +0 -10
- /package/es/_internal/icons/{Switcher.d.ts → DragHandleRound.d.ts} +0 -0
- /package/lib/_internal/icons/{Switcher.d.ts → DragHandleRound.d.ts} +0 -0
package/lib/components.d.ts
CHANGED
|
@@ -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"]>;
|
|
@@ -106195,7 +106227,7 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106195
106227
|
readonly scrollbarProps: import("vue").PropType<import("./scrollbar").ScrollbarProps>;
|
|
106196
106228
|
readonly indent: {
|
|
106197
106229
|
readonly type: NumberConstructor;
|
|
106198
|
-
readonly default:
|
|
106230
|
+
readonly default: 36;
|
|
106199
106231
|
};
|
|
106200
106232
|
readonly allowDrop: {
|
|
106201
106233
|
readonly type: import("vue").PropType<import("./tree/src/interface").AllowDrop>;
|
|
@@ -106221,16 +106253,17 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106221
106253
|
readonly default: true;
|
|
106222
106254
|
};
|
|
106223
106255
|
readonly getChildren: import("vue").PropType<import("./tree/src/interface").GetChildren>;
|
|
106224
|
-
readonly onDragenter: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106225
|
-
readonly onDragleave: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106226
|
-
readonly onDragend: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106227
|
-
readonly onDragstart: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106228
|
-
readonly onDragover: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106229
|
-
readonly onDrop: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
106256
|
+
readonly onDragenter: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
106257
|
+
readonly onDragleave: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
106258
|
+
readonly onDragend: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
106259
|
+
readonly onDragstart: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
106260
|
+
readonly onDragover: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
106261
|
+
readonly onDrop: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDropInfo) => void>>;
|
|
106230
106262
|
readonly onUpdateCheckedKeys: import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateCheckedKeys>>;
|
|
106231
106263
|
readonly 'onUpdate:checkedKeys': import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateCheckedKeys>>;
|
|
106232
106264
|
readonly onUpdateSelectedKeys: import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateSelectedKeys>>;
|
|
106233
106265
|
readonly 'onUpdate:selectedKeys': import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateSelectedKeys>>;
|
|
106266
|
+
readonly onScroll: import("vue").PropType<import("./_utils").MaybeArray<(event: Event) => void>>;
|
|
106234
106267
|
readonly theme: import("vue").PropType<import("./_mixins").Theme<"Tree", {
|
|
106235
106268
|
fontSize: string;
|
|
106236
106269
|
lineHeight: string;
|
|
@@ -106241,6 +106274,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106241
106274
|
nodeColorPressed: string;
|
|
106242
106275
|
nodeColorActive: string;
|
|
106243
106276
|
arrowColor: string;
|
|
106277
|
+
switcherColor: string;
|
|
106278
|
+
switcherSize: string;
|
|
106244
106279
|
nodeTextColor: string;
|
|
106245
106280
|
nodeTextColorDisabled: string;
|
|
106246
106281
|
loadingColor: string;
|
|
@@ -106340,6 +106375,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106340
106375
|
nodeColorPressed: string;
|
|
106341
106376
|
nodeColorActive: string;
|
|
106342
106377
|
arrowColor: string;
|
|
106378
|
+
switcherColor: string;
|
|
106379
|
+
switcherSize: string;
|
|
106343
106380
|
nodeTextColor: string;
|
|
106344
106381
|
nodeTextColorDisabled: string;
|
|
106345
106382
|
loadingColor: string;
|
|
@@ -106439,6 +106476,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106439
106476
|
nodeColorPressed: string;
|
|
106440
106477
|
nodeColorActive: string;
|
|
106441
106478
|
arrowColor: string;
|
|
106479
|
+
switcherColor: string;
|
|
106480
|
+
switcherSize: string;
|
|
106442
106481
|
nodeTextColor: string;
|
|
106443
106482
|
nodeTextColorDisabled: string;
|
|
106444
106483
|
loadingColor: string;
|
|
@@ -106542,6 +106581,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106542
106581
|
nodeColorPressed: string;
|
|
106543
106582
|
nodeColorActive: string;
|
|
106544
106583
|
arrowColor: string;
|
|
106584
|
+
switcherColor: string;
|
|
106585
|
+
switcherSize: string;
|
|
106545
106586
|
nodeTextColor: string;
|
|
106546
106587
|
nodeTextColorDisabled: string;
|
|
106547
106588
|
loadingColor: string;
|
|
@@ -106931,15 +106972,17 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
106931
106972
|
handleMouseEnterWrapper: () => void;
|
|
106932
106973
|
handleMouseLeaveWrapper: () => void;
|
|
106933
106974
|
} | null>;
|
|
106934
|
-
handleFocusout: (
|
|
106935
|
-
handleDragLeaveTree: (
|
|
106936
|
-
handleScroll: () => void;
|
|
106975
|
+
handleFocusout: (event: FocusEvent) => void;
|
|
106976
|
+
handleDragLeaveTree: (event: DragEvent) => void;
|
|
106977
|
+
handleScroll: (event: Event) => void;
|
|
106937
106978
|
getScrollContainer: () => HTMLElement | null | undefined;
|
|
106938
106979
|
getScrollContent: () => HTMLElement | null | undefined;
|
|
106939
106980
|
handleAfterEnter: () => void;
|
|
106940
106981
|
handleResize: () => void;
|
|
106941
106982
|
cssVars: import("vue").ComputedRef<{
|
|
106942
106983
|
'--u-arrow-color': string;
|
|
106984
|
+
'--u-switcher-color': string;
|
|
106985
|
+
'--u-switcher-size': string;
|
|
106943
106986
|
'--u-loading-color': string;
|
|
106944
106987
|
'--u-bezier': string;
|
|
106945
106988
|
'--u-font-size': string;
|
|
@@ -107076,7 +107119,7 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107076
107119
|
readonly scrollbarProps: import("vue").PropType<import("./scrollbar").ScrollbarProps>;
|
|
107077
107120
|
readonly indent: {
|
|
107078
107121
|
readonly type: NumberConstructor;
|
|
107079
|
-
readonly default:
|
|
107122
|
+
readonly default: 36;
|
|
107080
107123
|
};
|
|
107081
107124
|
readonly allowDrop: {
|
|
107082
107125
|
readonly type: import("vue").PropType<import("./tree/src/interface").AllowDrop>;
|
|
@@ -107102,16 +107145,17 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107102
107145
|
readonly default: true;
|
|
107103
107146
|
};
|
|
107104
107147
|
readonly getChildren: import("vue").PropType<import("./tree/src/interface").GetChildren>;
|
|
107105
|
-
readonly onDragenter: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107106
|
-
readonly onDragleave: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107107
|
-
readonly onDragend: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107108
|
-
readonly onDragstart: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107109
|
-
readonly onDragover: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107110
|
-
readonly onDrop: import("vue").PropType<import("./_utils").MaybeArray<(
|
|
107148
|
+
readonly onDragenter: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
107149
|
+
readonly onDragleave: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
107150
|
+
readonly onDragend: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
107151
|
+
readonly onDragstart: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
107152
|
+
readonly onDragover: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDragInfo) => void>>;
|
|
107153
|
+
readonly onDrop: import("vue").PropType<import("./_utils").MaybeArray<(event: import("./tree").TreeDropInfo) => void>>;
|
|
107111
107154
|
readonly onUpdateCheckedKeys: import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateCheckedKeys>>;
|
|
107112
107155
|
readonly 'onUpdate:checkedKeys': import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateCheckedKeys>>;
|
|
107113
107156
|
readonly onUpdateSelectedKeys: import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateSelectedKeys>>;
|
|
107114
107157
|
readonly 'onUpdate:selectedKeys': import("vue").PropType<import("./_utils").MaybeArray<import("./tree/src/Tree").OnUpdateSelectedKeys>>;
|
|
107158
|
+
readonly onScroll: import("vue").PropType<import("./_utils").MaybeArray<(event: Event) => void>>;
|
|
107115
107159
|
readonly theme: import("vue").PropType<import("./_mixins").Theme<"Tree", {
|
|
107116
107160
|
fontSize: string;
|
|
107117
107161
|
lineHeight: string;
|
|
@@ -107122,6 +107166,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107122
107166
|
nodeColorPressed: string;
|
|
107123
107167
|
nodeColorActive: string;
|
|
107124
107168
|
arrowColor: string;
|
|
107169
|
+
switcherColor: string;
|
|
107170
|
+
switcherSize: string;
|
|
107125
107171
|
nodeTextColor: string;
|
|
107126
107172
|
nodeTextColorDisabled: string;
|
|
107127
107173
|
loadingColor: string;
|
|
@@ -107221,6 +107267,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107221
107267
|
nodeColorPressed: string;
|
|
107222
107268
|
nodeColorActive: string;
|
|
107223
107269
|
arrowColor: string;
|
|
107270
|
+
switcherColor: string;
|
|
107271
|
+
switcherSize: string;
|
|
107224
107272
|
nodeTextColor: string;
|
|
107225
107273
|
nodeTextColorDisabled: string;
|
|
107226
107274
|
loadingColor: string;
|
|
@@ -107320,6 +107368,8 @@ export declare const UTree: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107320
107368
|
nodeColorPressed: string;
|
|
107321
107369
|
nodeColorActive: string;
|
|
107322
107370
|
arrowColor: string;
|
|
107371
|
+
switcherColor: string;
|
|
107372
|
+
switcherSize: string;
|
|
107323
107373
|
nodeTextColor: string;
|
|
107324
107374
|
nodeTextColorDisabled: string;
|
|
107325
107375
|
loadingColor: string;
|
|
@@ -107458,8 +107508,10 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
107458
107508
|
readonly renderPrefix: import("vue").PropType<import("./tree-select").TreeSelectRenderPrefix>;
|
|
107459
107509
|
readonly renderSuffix: import("vue").PropType<import("./tree-select").TreeSelectRenderSuffix>;
|
|
107460
107510
|
readonly nodeProps: import("vue").PropType<import("./tree-select").TreeSelectNodeProps>;
|
|
107461
|
-
readonly onBlur: import("vue").PropType<(
|
|
107462
|
-
readonly onFocus: import("vue").PropType<(
|
|
107511
|
+
readonly onBlur: import("vue").PropType<(event: FocusEvent) => void>;
|
|
107512
|
+
readonly onFocus: import("vue").PropType<(event: FocusEvent) => void>;
|
|
107513
|
+
readonly onScroll: import("vue").PropType<import("./_utils").MaybeArray<(event: Event) => void>>;
|
|
107514
|
+
readonly onScrollOptionEnd: import("vue").PropType<import("./_utils").MaybeArray<import("./tree-select").OnScrollOptionEnd>>;
|
|
107463
107515
|
readonly onLoad: import("vue").PropType<(node: import("./tree-select").TreeSelectOption) => Promise<void>>;
|
|
107464
107516
|
readonly onUpdateShow: import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
107465
107517
|
readonly onUpdateValue: import("vue").PropType<import("./_utils").MaybeArray<import("./tree-select/src/interface").OnUpdateValue>>;
|
|
@@ -107580,6 +107632,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
107580
107632
|
nodeColorPressed: string;
|
|
107581
107633
|
nodeColorActive: string;
|
|
107582
107634
|
arrowColor: string;
|
|
107635
|
+
switcherColor: string;
|
|
107636
|
+
switcherSize: string;
|
|
107583
107637
|
nodeTextColor: string;
|
|
107584
107638
|
nodeTextColorDisabled: string;
|
|
107585
107639
|
loadingColor: string;
|
|
@@ -107832,6 +107886,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
107832
107886
|
nodeColorPressed: string;
|
|
107833
107887
|
nodeColorActive: string;
|
|
107834
107888
|
arrowColor: string;
|
|
107889
|
+
switcherColor: string;
|
|
107890
|
+
switcherSize: string;
|
|
107835
107891
|
nodeTextColor: string;
|
|
107836
107892
|
nodeTextColorDisabled: string;
|
|
107837
107893
|
loadingColor: string;
|
|
@@ -108084,6 +108140,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
108084
108140
|
nodeColorPressed: string;
|
|
108085
108141
|
nodeColorActive: string;
|
|
108086
108142
|
arrowColor: string;
|
|
108143
|
+
switcherColor: string;
|
|
108144
|
+
switcherSize: string;
|
|
108087
108145
|
nodeTextColor: string;
|
|
108088
108146
|
nodeTextColorDisabled: string;
|
|
108089
108147
|
loadingColor: string;
|
|
@@ -108382,22 +108440,23 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
108382
108440
|
}) => void;
|
|
108383
108441
|
handleMenuLeave: () => void;
|
|
108384
108442
|
handleTriggerClick: () => void;
|
|
108385
|
-
handleMenuClickoutside: (
|
|
108443
|
+
handleMenuClickoutside: (event: MouseEvent) => void;
|
|
108386
108444
|
handleUpdateCheckedKeys: (keys: import("./tree/src/interface").Key[], _: unknown, meta: {
|
|
108387
108445
|
node: import("./tree").TreeOption | null;
|
|
108388
108446
|
action: "check" | "uncheck";
|
|
108389
108447
|
}) => void;
|
|
108390
108448
|
handleUpdateIndeterminateKeys: (keys: import("./tree/src/interface").Key[]) => void;
|
|
108391
|
-
handleTriggerFocus: (
|
|
108392
|
-
handleTriggerBlur: (
|
|
108393
|
-
handleMenuFocusin: (
|
|
108394
|
-
handleMenuFocusout: (
|
|
108395
|
-
handleClear: (
|
|
108449
|
+
handleTriggerFocus: (event: FocusEvent) => void;
|
|
108450
|
+
handleTriggerBlur: (event: FocusEvent) => void;
|
|
108451
|
+
handleMenuFocusin: (event: FocusEvent) => void;
|
|
108452
|
+
handleMenuFocusout: (event: FocusEvent) => void;
|
|
108453
|
+
handleClear: (event: MouseEvent) => void;
|
|
108396
108454
|
handleDeleteOption: (option: import("./select/src/interface").SelectBaseOption) => void;
|
|
108397
|
-
handlePatternInput: (
|
|
108398
|
-
handleKeydown: (
|
|
108455
|
+
handlePatternInput: (event: InputEvent) => void;
|
|
108456
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
108399
108457
|
handleTabOut: () => void;
|
|
108400
|
-
handleMenuMousedown: (
|
|
108458
|
+
handleMenuMousedown: (event: MouseEvent) => void;
|
|
108459
|
+
handleTreeScroll: (event: Event) => void;
|
|
108401
108460
|
mergedTheme: import("vue").ComputedRef<{
|
|
108402
108461
|
common: import("./config-provider").ThemeCommonVars;
|
|
108403
108462
|
self: {
|
|
@@ -108421,6 +108480,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
108421
108480
|
nodeColorPressed: string;
|
|
108422
108481
|
nodeColorActive: string;
|
|
108423
108482
|
arrowColor: string;
|
|
108483
|
+
switcherColor: string;
|
|
108484
|
+
switcherSize: string;
|
|
108424
108485
|
nodeTextColor: string;
|
|
108425
108486
|
nodeTextColorDisabled: string;
|
|
108426
108487
|
loadingColor: string;
|
|
@@ -108795,8 +108856,10 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
108795
108856
|
readonly renderPrefix: import("vue").PropType<import("./tree-select").TreeSelectRenderPrefix>;
|
|
108796
108857
|
readonly renderSuffix: import("vue").PropType<import("./tree-select").TreeSelectRenderSuffix>;
|
|
108797
108858
|
readonly nodeProps: import("vue").PropType<import("./tree-select").TreeSelectNodeProps>;
|
|
108798
|
-
readonly onBlur: import("vue").PropType<(
|
|
108799
|
-
readonly onFocus: import("vue").PropType<(
|
|
108859
|
+
readonly onBlur: import("vue").PropType<(event: FocusEvent) => void>;
|
|
108860
|
+
readonly onFocus: import("vue").PropType<(event: FocusEvent) => void>;
|
|
108861
|
+
readonly onScroll: import("vue").PropType<import("./_utils").MaybeArray<(event: Event) => void>>;
|
|
108862
|
+
readonly onScrollOptionEnd: import("vue").PropType<import("./_utils").MaybeArray<import("./tree-select").OnScrollOptionEnd>>;
|
|
108800
108863
|
readonly onLoad: import("vue").PropType<(node: import("./tree-select").TreeSelectOption) => Promise<void>>;
|
|
108801
108864
|
readonly onUpdateShow: import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
108802
108865
|
readonly onUpdateValue: import("vue").PropType<import("./_utils").MaybeArray<import("./tree-select/src/interface").OnUpdateValue>>;
|
|
@@ -108917,6 +108980,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
108917
108980
|
nodeColorPressed: string;
|
|
108918
108981
|
nodeColorActive: string;
|
|
108919
108982
|
arrowColor: string;
|
|
108983
|
+
switcherColor: string;
|
|
108984
|
+
switcherSize: string;
|
|
108920
108985
|
nodeTextColor: string;
|
|
108921
108986
|
nodeTextColorDisabled: string;
|
|
108922
108987
|
loadingColor: string;
|
|
@@ -109169,6 +109234,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
109169
109234
|
nodeColorPressed: string;
|
|
109170
109235
|
nodeColorActive: string;
|
|
109171
109236
|
arrowColor: string;
|
|
109237
|
+
switcherColor: string;
|
|
109238
|
+
switcherSize: string;
|
|
109172
109239
|
nodeTextColor: string;
|
|
109173
109240
|
nodeTextColorDisabled: string;
|
|
109174
109241
|
loadingColor: string;
|
|
@@ -109421,6 +109488,8 @@ export declare const UTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
109421
109488
|
nodeColorPressed: string;
|
|
109422
109489
|
nodeColorActive: string;
|
|
109423
109490
|
arrowColor: string;
|
|
109491
|
+
switcherColor: string;
|
|
109492
|
+
switcherSize: string;
|
|
109424
109493
|
nodeTextColor: string;
|
|
109425
109494
|
nodeTextColorDisabled: string;
|
|
109426
109495
|
loadingColor: string;
|
|
@@ -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;
|
|
@@ -16,6 +16,7 @@ const use_check_1 = require("./use-check");
|
|
|
16
16
|
const use_expand_1 = require("./use-expand");
|
|
17
17
|
const use_group_header_1 = require("./use-group-header");
|
|
18
18
|
const use_resizable_1 = require("./use-resizable");
|
|
19
|
+
const use_row_drag_1 = require("./use-row-drag");
|
|
19
20
|
const use_scroll_1 = require("./use-scroll");
|
|
20
21
|
const use_table_data_1 = require("./use-table-data");
|
|
21
22
|
const use_table_storage_1 = require("./use-table-storage");
|
|
@@ -78,6 +79,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
78
79
|
paginatedDataRef
|
|
79
80
|
});
|
|
80
81
|
const { stickyExpandedRowsRef, mergedExpandedRowKeysRef, renderExpandRef, expandableRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props, treeMateRef);
|
|
82
|
+
const { draggableColumnRef, draggingRowKeySetRef, droppingRowKeyRef, droppingPositionRef, handleRowDragStart, handleRowDragOver, handleRowDragLeave, handleRowDragEnd, handleRowDrop } = (0, use_row_drag_1.useRowDrag)(props, {
|
|
83
|
+
paginatedDataRef,
|
|
84
|
+
mergedCheckedRowKeySetRef,
|
|
85
|
+
mergedClsPrefixRef
|
|
86
|
+
});
|
|
81
87
|
const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = (0, use_scroll_1.useScroll)(props, {
|
|
82
88
|
bodyWidthRef,
|
|
83
89
|
mainTableInstRef,
|
|
@@ -482,6 +488,15 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
482
488
|
'--u-action-divider-color': actionDividerColor
|
|
483
489
|
};
|
|
484
490
|
}),
|
|
491
|
+
draggableColumnRef,
|
|
492
|
+
draggingRowKeySetRef,
|
|
493
|
+
droppingRowKeyRef,
|
|
494
|
+
droppingPositionRef,
|
|
495
|
+
handleRowDragStart,
|
|
496
|
+
handleRowDragOver,
|
|
497
|
+
handleRowDragLeave,
|
|
498
|
+
handleRowDragEnd,
|
|
499
|
+
handleRowDrop,
|
|
485
500
|
onLoadRef: (0, vue_1.toRef)(props, 'onLoad'),
|
|
486
501
|
mergedTableLayoutRef,
|
|
487
502
|
resizableEnabledRef,
|
|
@@ -546,7 +561,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
546
561
|
};
|
|
547
562
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
548
563
|
const { size } = props;
|
|
549
|
-
const { common: { cubicBezierEaseInOut }, self: { borderColor, tdColorHover, thColor, thColorHover, tdColor, tdTextColor, thTextColor, thFontWeight, thButtonColorHover, thIconColor, thIconColorActive, filterSize, borderRadius, lineHeight, tdColorModal, thColorModal, borderColorModal, thColorHoverModal, tdColorHoverModal, borderColorPopover, thColorPopover, tdColorPopover, tdColorHoverPopover, thColorHoverPopover, paginationMargin, emptyPadding, fixedBoxShadow, sorterSize, resizableContainerSize, resizableSize, loadingColor, loadingSize, opacityLoading, tdColorStriped, tdColorStripedModal, tdColorStripedPopover, thSubFontSize, thSubColor, thSubFontWeight, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('thPadding', size)]: thPadding, [(0, _utils_1.createKey)('tdPadding', size)]: tdPadding, [(0, _utils_1.createKey)('thHeight', size)]: thHeight, [(0, _utils_1.createKey)('tdHeight', size)]: tdHeight } } = themeRef.value;
|
|
564
|
+
const { common: { cubicBezierEaseInOut }, self: { borderColor, tdColorHover, thColor, thColorHover, tdColor, tdTextColor, thTextColor, thFontWeight, thButtonColorHover, thIconColor, thIconColorActive, dropMarkColor, dragGhostOpacity, dragGhostFilter, filterSize, borderRadius, lineHeight, tdColorModal, thColorModal, borderColorModal, thColorHoverModal, tdColorHoverModal, borderColorPopover, thColorPopover, tdColorPopover, tdColorHoverPopover, thColorHoverPopover, paginationMargin, emptyPadding, fixedBoxShadow, sorterSize, resizableContainerSize, resizableSize, loadingColor, loadingSize, opacityLoading, tdColorStriped, tdColorStripedModal, tdColorStripedPopover, thSubFontSize, thSubColor, thSubFontWeight, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('thPadding', size)]: thPadding, [(0, _utils_1.createKey)('tdPadding', size)]: tdPadding, [(0, _utils_1.createKey)('thHeight', size)]: thHeight, [(0, _utils_1.createKey)('tdHeight', size)]: tdHeight } } = themeRef.value;
|
|
550
565
|
return {
|
|
551
566
|
'--u-th-height': thHeight,
|
|
552
567
|
'--u-td-height': tdHeight,
|
|
@@ -580,6 +595,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
580
595
|
'--u-th-button-color-hover': thButtonColorHover,
|
|
581
596
|
'--u-th-icon-color': thIconColor,
|
|
582
597
|
'--u-th-icon-color-active': thIconColorActive,
|
|
598
|
+
'--u-drop-mark-color': dropMarkColor,
|
|
599
|
+
'--u-drag-ghost-opacity': dragGhostOpacity,
|
|
600
|
+
'--u-drag-ghost-filter': dragGhostFilter,
|
|
583
601
|
'--u-filter-size': filterSize,
|
|
584
602
|
'--u-pagination-margin': paginationMargin,
|
|
585
603
|
'--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>;
|
|
@@ -2909,7 +2908,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2909
2908
|
handleUpdateExpanded: (key: RowKey, tmNode: TmNode | null) => void;
|
|
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
|
-
emptyPropsRef: import("vue").Ref<Partial<import("
|
|
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>;
|