3h1-ui 1.2.0 → 1.2.2
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/es/index.js +7 -9
- package/es/ui/src/Button/index.d.ts +1 -48
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +1 -1
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -55
- package/es/ui/src/Drawer/index.d.ts +0 -1
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/es/ui/src/Modal/index.d.ts +4 -0
- package/es/ui/src/Modal/src/components/Modal.d.ts +10 -0
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +14 -0
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/props.d.ts +34 -0
- package/es/ui/src/Table/src/props.d.ts +2 -0
- package/lib/index.js +5 -7
- package/package.json +2 -2
- package/lib/ui/index.d.ts +0 -20
- package/lib/ui/src/Basic/index.d.ts +0 -4
- package/lib/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
- package/lib/ui/src/Button/index.d.ts +0 -51
- package/lib/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
- package/lib/ui/src/Button/src/props.d.ts +0 -37
- package/lib/ui/src/ClickOutSide/index.d.ts +0 -2
- package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
- package/lib/ui/src/Container/index.d.ts +0 -5
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
- package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
- package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
- package/lib/ui/src/Container/src/typing.d.ts +0 -15
- package/lib/ui/src/ContextMenu/index.d.ts +0 -3
- package/lib/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
- package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
- package/lib/ui/src/ContextMenu/src/typing.d.ts +0 -33
- package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
- package/lib/ui/src/CountDown/index.d.ts +0 -3
- package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
- package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
- package/lib/ui/src/CountDown/src/useCountdown.d.ts +0 -9
- package/lib/ui/src/CountTo/index.d.ts +0 -2
- package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
- package/lib/ui/src/Cropper/index.d.ts +0 -4
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
- package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -125
- package/lib/ui/src/Cropper/src/typing.d.ts +0 -6
- package/lib/ui/src/Description/index.d.ts +0 -4
- package/lib/ui/src/Description/src/Description.vue.d.ts +0 -101
- package/lib/ui/src/Description/src/typing.d.ts +0 -39
- package/lib/ui/src/Description/src/useDescription.d.ts +0 -2
- package/lib/ui/src/Drawer/index.d.ts +0 -4
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
- package/lib/ui/src/Drawer/src/props.d.ts +0 -115
- package/lib/ui/src/Drawer/src/typing.d.ts +0 -177
- package/lib/ui/src/Drawer/src/useDrawer.d.ts +0 -6
- package/lib/ui/src/Dropdown/index.d.ts +0 -3
- package/lib/ui/src/Dropdown/src/typing.d.ts +0 -9
- package/lib/ui/src/Icon/data/icons.data.d.ts +0 -2
- package/lib/ui/src/Icon/index.d.ts +0 -5
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
- package/lib/ui/src/Loading/index.d.ts +0 -4
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +0 -57
- package/lib/ui/src/Loading/src/createLoading.d.ts +0 -13
- package/lib/ui/src/Loading/src/typing.d.ts +0 -9
- package/lib/ui/src/Loading/src/useLoading.d.ts +0 -11
- package/lib/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
- package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
- package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
- package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
- package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
- package/lib/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
- package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
- package/lib/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
- package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
- package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
- package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
- package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
- package/lib/ui/src/Modal/src/typing.d.ts +0 -173
- package/lib/ui/src/Modal/src/utils/index.d.ts +0 -5
- package/lib/ui/src/Modal/src/utils/is.d.ts +0 -13
- package/lib/ui/src/Modal/src/utils/log.d.ts +0 -2
- package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
- package/lib/ui/src/Page/index.d.ts +0 -4
- package/lib/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
- package/lib/ui/src/Scrollbar/index.d.ts +0 -6
- package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
- package/lib/ui/src/Scrollbar/src/bar.d.ts +0 -14
- package/lib/ui/src/Scrollbar/src/types.d.ts +0 -18
- package/lib/ui/src/Scrollbar/src/util.d.ts +0 -8
- package/lib/ui/src/StrengthMeter/index.d.ts +0 -2
- package/lib/ui/src/Table/index.d.ts +0 -11
- package/lib/ui/src/Table/src/componentMap.d.ts +0 -6
- package/lib/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
- package/lib/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
- package/lib/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
- package/lib/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
- package/lib/ui/src/Table/src/components/editable/helper.d.ts +0 -5
- package/lib/ui/src/Table/src/components/editable/index.d.ts +0 -22
- package/lib/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
- package/lib/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
- package/lib/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
- package/lib/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
- package/lib/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
- package/lib/ui/src/Table/src/const.d.ts +0 -22
- package/lib/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
- package/lib/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
- package/lib/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
- package/lib/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
- package/lib/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
- package/lib/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
- package/lib/ui/src/Table/src/hooks/useTable.d.ts +0 -17
- package/lib/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
- package/lib/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
- package/lib/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
- package/lib/ui/src/Table/src/hooks/useTableForm.d.ts +0 -9
- package/lib/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
- package/lib/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
- package/lib/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
- package/lib/ui/src/Table/src/types/componentType.d.ts +0 -1
- package/lib/ui/src/Table/src/types/pagination.d.ts +0 -93
- package/lib/ui/src/Table/src/types/table.d.ts +0 -372
- package/lib/ui/src/Table/src/types/tableAction.d.ts +0 -28
- package/lib/ui/src/Transition/index.d.ts +0 -368
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +0 -47
- package/lib/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
- package/lib/ui/src/Tree/index.d.ts +0 -12
- package/lib/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
- package/lib/ui/src/Tree/src/TreeIcon.d.ts +0 -2
- package/lib/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
- package/lib/ui/src/Tree/src/types/tree.d.ts +0 -105
- package/lib/ui/src/Tree/style/index.d.ts +0 -0
- package/lib/ui/src/directives/clickOutside.d.ts +0 -3
- package/lib/ui/src/directives/index.d.ts +0 -1
- package/lib/ui/src/enums/sizeEnum.d.ts +0 -11
- package/lib/ui/types/global.d.ts +0 -102
- package/lib/ui/types/index.d.ts +0 -28
- /package/{lib/ui/src/Button/src/BasicButton.vue.d.ts → es/ui/src/Table/src/BasicTable.vue.d.ts} +0 -0
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
export { default as CollapseTransition } from './src/CollapseTransition.vue';
|
|
2
|
-
export declare const FadeTransition: import("vue").DefineComponent<{
|
|
3
|
-
group: {
|
|
4
|
-
type: import("vue").PropType<boolean>;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
mode: {
|
|
8
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
9
|
-
default: "default" | "in-out" | "out-in";
|
|
10
|
-
};
|
|
11
|
-
origin: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
group: {
|
|
17
|
-
type: import("vue").PropType<boolean>;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
mode: {
|
|
21
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
22
|
-
default: "default" | "in-out" | "out-in";
|
|
23
|
-
};
|
|
24
|
-
origin: {
|
|
25
|
-
type: import("vue").PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}>>, {
|
|
29
|
-
mode: "default" | "in-out" | "out-in";
|
|
30
|
-
group: boolean;
|
|
31
|
-
origin: string;
|
|
32
|
-
}>;
|
|
33
|
-
export declare const ScaleTransition: import("vue").DefineComponent<{
|
|
34
|
-
group: {
|
|
35
|
-
type: import("vue").PropType<boolean>;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
mode: {
|
|
39
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
40
|
-
default: "default" | "in-out" | "out-in";
|
|
41
|
-
};
|
|
42
|
-
origin: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
group: {
|
|
48
|
-
type: import("vue").PropType<boolean>;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
mode: {
|
|
52
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
53
|
-
default: "default" | "in-out" | "out-in";
|
|
54
|
-
};
|
|
55
|
-
origin: {
|
|
56
|
-
type: import("vue").PropType<string>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
60
|
-
mode: "default" | "in-out" | "out-in";
|
|
61
|
-
group: boolean;
|
|
62
|
-
origin: string;
|
|
63
|
-
}>;
|
|
64
|
-
export declare const SlideYTransition: import("vue").DefineComponent<{
|
|
65
|
-
group: {
|
|
66
|
-
type: import("vue").PropType<boolean>;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
mode: {
|
|
70
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
71
|
-
default: "default" | "in-out" | "out-in";
|
|
72
|
-
};
|
|
73
|
-
origin: {
|
|
74
|
-
type: import("vue").PropType<string>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
-
group: {
|
|
79
|
-
type: import("vue").PropType<boolean>;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
mode: {
|
|
83
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
84
|
-
default: "default" | "in-out" | "out-in";
|
|
85
|
-
};
|
|
86
|
-
origin: {
|
|
87
|
-
type: import("vue").PropType<string>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
}>>, {
|
|
91
|
-
mode: "default" | "in-out" | "out-in";
|
|
92
|
-
group: boolean;
|
|
93
|
-
origin: string;
|
|
94
|
-
}>;
|
|
95
|
-
export declare const ScrollYTransition: import("vue").DefineComponent<{
|
|
96
|
-
group: {
|
|
97
|
-
type: import("vue").PropType<boolean>;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
mode: {
|
|
101
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
102
|
-
default: "default" | "in-out" | "out-in";
|
|
103
|
-
};
|
|
104
|
-
origin: {
|
|
105
|
-
type: import("vue").PropType<string>;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
-
group: {
|
|
110
|
-
type: import("vue").PropType<boolean>;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
mode: {
|
|
114
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
115
|
-
default: "default" | "in-out" | "out-in";
|
|
116
|
-
};
|
|
117
|
-
origin: {
|
|
118
|
-
type: import("vue").PropType<string>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
}>>, {
|
|
122
|
-
mode: "default" | "in-out" | "out-in";
|
|
123
|
-
group: boolean;
|
|
124
|
-
origin: string;
|
|
125
|
-
}>;
|
|
126
|
-
export declare const SlideYReverseTransition: import("vue").DefineComponent<{
|
|
127
|
-
group: {
|
|
128
|
-
type: import("vue").PropType<boolean>;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
mode: {
|
|
132
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
133
|
-
default: "default" | "in-out" | "out-in";
|
|
134
|
-
};
|
|
135
|
-
origin: {
|
|
136
|
-
type: import("vue").PropType<string>;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
139
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
-
group: {
|
|
141
|
-
type: import("vue").PropType<boolean>;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
mode: {
|
|
145
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
146
|
-
default: "default" | "in-out" | "out-in";
|
|
147
|
-
};
|
|
148
|
-
origin: {
|
|
149
|
-
type: import("vue").PropType<string>;
|
|
150
|
-
default: string;
|
|
151
|
-
};
|
|
152
|
-
}>>, {
|
|
153
|
-
mode: "default" | "in-out" | "out-in";
|
|
154
|
-
group: boolean;
|
|
155
|
-
origin: string;
|
|
156
|
-
}>;
|
|
157
|
-
export declare const ScrollYReverseTransition: import("vue").DefineComponent<{
|
|
158
|
-
group: {
|
|
159
|
-
type: import("vue").PropType<boolean>;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
mode: {
|
|
163
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
164
|
-
default: "default" | "in-out" | "out-in";
|
|
165
|
-
};
|
|
166
|
-
origin: {
|
|
167
|
-
type: import("vue").PropType<string>;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
171
|
-
group: {
|
|
172
|
-
type: import("vue").PropType<boolean>;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
mode: {
|
|
176
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
177
|
-
default: "default" | "in-out" | "out-in";
|
|
178
|
-
};
|
|
179
|
-
origin: {
|
|
180
|
-
type: import("vue").PropType<string>;
|
|
181
|
-
default: string;
|
|
182
|
-
};
|
|
183
|
-
}>>, {
|
|
184
|
-
mode: "default" | "in-out" | "out-in";
|
|
185
|
-
group: boolean;
|
|
186
|
-
origin: string;
|
|
187
|
-
}>;
|
|
188
|
-
export declare const SlideXTransition: import("vue").DefineComponent<{
|
|
189
|
-
group: {
|
|
190
|
-
type: import("vue").PropType<boolean>;
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
|
-
mode: {
|
|
194
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
195
|
-
default: "default" | "in-out" | "out-in";
|
|
196
|
-
};
|
|
197
|
-
origin: {
|
|
198
|
-
type: import("vue").PropType<string>;
|
|
199
|
-
default: string;
|
|
200
|
-
};
|
|
201
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
202
|
-
group: {
|
|
203
|
-
type: import("vue").PropType<boolean>;
|
|
204
|
-
default: boolean;
|
|
205
|
-
};
|
|
206
|
-
mode: {
|
|
207
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
208
|
-
default: "default" | "in-out" | "out-in";
|
|
209
|
-
};
|
|
210
|
-
origin: {
|
|
211
|
-
type: import("vue").PropType<string>;
|
|
212
|
-
default: string;
|
|
213
|
-
};
|
|
214
|
-
}>>, {
|
|
215
|
-
mode: "default" | "in-out" | "out-in";
|
|
216
|
-
group: boolean;
|
|
217
|
-
origin: string;
|
|
218
|
-
}>;
|
|
219
|
-
export declare const ScrollXTransition: import("vue").DefineComponent<{
|
|
220
|
-
group: {
|
|
221
|
-
type: import("vue").PropType<boolean>;
|
|
222
|
-
default: boolean;
|
|
223
|
-
};
|
|
224
|
-
mode: {
|
|
225
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
226
|
-
default: "default" | "in-out" | "out-in";
|
|
227
|
-
};
|
|
228
|
-
origin: {
|
|
229
|
-
type: import("vue").PropType<string>;
|
|
230
|
-
default: string;
|
|
231
|
-
};
|
|
232
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
233
|
-
group: {
|
|
234
|
-
type: import("vue").PropType<boolean>;
|
|
235
|
-
default: boolean;
|
|
236
|
-
};
|
|
237
|
-
mode: {
|
|
238
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
239
|
-
default: "default" | "in-out" | "out-in";
|
|
240
|
-
};
|
|
241
|
-
origin: {
|
|
242
|
-
type: import("vue").PropType<string>;
|
|
243
|
-
default: string;
|
|
244
|
-
};
|
|
245
|
-
}>>, {
|
|
246
|
-
mode: "default" | "in-out" | "out-in";
|
|
247
|
-
group: boolean;
|
|
248
|
-
origin: string;
|
|
249
|
-
}>;
|
|
250
|
-
export declare const SlideXReverseTransition: import("vue").DefineComponent<{
|
|
251
|
-
group: {
|
|
252
|
-
type: import("vue").PropType<boolean>;
|
|
253
|
-
default: boolean;
|
|
254
|
-
};
|
|
255
|
-
mode: {
|
|
256
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
257
|
-
default: "default" | "in-out" | "out-in";
|
|
258
|
-
};
|
|
259
|
-
origin: {
|
|
260
|
-
type: import("vue").PropType<string>;
|
|
261
|
-
default: string;
|
|
262
|
-
};
|
|
263
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
264
|
-
group: {
|
|
265
|
-
type: import("vue").PropType<boolean>;
|
|
266
|
-
default: boolean;
|
|
267
|
-
};
|
|
268
|
-
mode: {
|
|
269
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
270
|
-
default: "default" | "in-out" | "out-in";
|
|
271
|
-
};
|
|
272
|
-
origin: {
|
|
273
|
-
type: import("vue").PropType<string>;
|
|
274
|
-
default: string;
|
|
275
|
-
};
|
|
276
|
-
}>>, {
|
|
277
|
-
mode: "default" | "in-out" | "out-in";
|
|
278
|
-
group: boolean;
|
|
279
|
-
origin: string;
|
|
280
|
-
}>;
|
|
281
|
-
export declare const ScrollXReverseTransition: import("vue").DefineComponent<{
|
|
282
|
-
group: {
|
|
283
|
-
type: import("vue").PropType<boolean>;
|
|
284
|
-
default: boolean;
|
|
285
|
-
};
|
|
286
|
-
mode: {
|
|
287
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
288
|
-
default: "default" | "in-out" | "out-in";
|
|
289
|
-
};
|
|
290
|
-
origin: {
|
|
291
|
-
type: import("vue").PropType<string>;
|
|
292
|
-
default: string;
|
|
293
|
-
};
|
|
294
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
295
|
-
group: {
|
|
296
|
-
type: import("vue").PropType<boolean>;
|
|
297
|
-
default: boolean;
|
|
298
|
-
};
|
|
299
|
-
mode: {
|
|
300
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
301
|
-
default: "default" | "in-out" | "out-in";
|
|
302
|
-
};
|
|
303
|
-
origin: {
|
|
304
|
-
type: import("vue").PropType<string>;
|
|
305
|
-
default: string;
|
|
306
|
-
};
|
|
307
|
-
}>>, {
|
|
308
|
-
mode: "default" | "in-out" | "out-in";
|
|
309
|
-
group: boolean;
|
|
310
|
-
origin: string;
|
|
311
|
-
}>;
|
|
312
|
-
export declare const ScaleRotateTransition: import("vue").DefineComponent<{
|
|
313
|
-
group: {
|
|
314
|
-
type: import("vue").PropType<boolean>;
|
|
315
|
-
default: boolean;
|
|
316
|
-
};
|
|
317
|
-
mode: {
|
|
318
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
319
|
-
default: "default" | "in-out" | "out-in";
|
|
320
|
-
};
|
|
321
|
-
origin: {
|
|
322
|
-
type: import("vue").PropType<string>;
|
|
323
|
-
default: string;
|
|
324
|
-
};
|
|
325
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
326
|
-
group: {
|
|
327
|
-
type: import("vue").PropType<boolean>;
|
|
328
|
-
default: boolean;
|
|
329
|
-
};
|
|
330
|
-
mode: {
|
|
331
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
332
|
-
default: "default" | "in-out" | "out-in";
|
|
333
|
-
};
|
|
334
|
-
origin: {
|
|
335
|
-
type: import("vue").PropType<string>;
|
|
336
|
-
default: string;
|
|
337
|
-
};
|
|
338
|
-
}>>, {
|
|
339
|
-
mode: "default" | "in-out" | "out-in";
|
|
340
|
-
group: boolean;
|
|
341
|
-
origin: string;
|
|
342
|
-
}>;
|
|
343
|
-
export declare const ExpandXTransition: import("vue").DefineComponent<{
|
|
344
|
-
mode: {
|
|
345
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
346
|
-
default: "default" | "in-out" | "out-in";
|
|
347
|
-
};
|
|
348
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
-
mode: {
|
|
350
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
351
|
-
default: "default" | "in-out" | "out-in";
|
|
352
|
-
};
|
|
353
|
-
}>>, {
|
|
354
|
-
mode: "default" | "in-out" | "out-in";
|
|
355
|
-
}>;
|
|
356
|
-
export declare const ExpandTransition: import("vue").DefineComponent<{
|
|
357
|
-
mode: {
|
|
358
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
359
|
-
default: "default" | "in-out" | "out-in";
|
|
360
|
-
};
|
|
361
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
362
|
-
mode: {
|
|
363
|
-
type: import("vue").PropType<"default" | "in-out" | "out-in">;
|
|
364
|
-
default: "default" | "in-out" | "out-in";
|
|
365
|
-
};
|
|
366
|
-
}>>, {
|
|
367
|
-
mode: "default" | "in-out" | "out-in";
|
|
368
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
-
on: {
|
|
3
|
-
beforeEnter(el: any): void;
|
|
4
|
-
enter(el: any): void;
|
|
5
|
-
afterEnter(el: any): void;
|
|
6
|
-
beforeLeave(el: any): void;
|
|
7
|
-
leave(el: any): void;
|
|
8
|
-
afterLeave(el: any): void;
|
|
9
|
-
};
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
11
|
-
export default _sfc_main;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
declare type Mode = 'in-out' | 'out-in' | 'default' | undefined;
|
|
3
|
-
export declare function createSimpleTransition(name: string, origin?: string, mode?: Mode): import("vue").DefineComponent<{
|
|
4
|
-
group: {
|
|
5
|
-
type: PropType<boolean>;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
mode: {
|
|
9
|
-
type: PropType<Mode>;
|
|
10
|
-
default: Mode;
|
|
11
|
-
};
|
|
12
|
-
origin: {
|
|
13
|
-
type: PropType<string>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
group: {
|
|
18
|
-
type: PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
mode: {
|
|
22
|
-
type: PropType<Mode>;
|
|
23
|
-
default: Mode;
|
|
24
|
-
};
|
|
25
|
-
origin: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
mode: Mode;
|
|
31
|
-
group: boolean;
|
|
32
|
-
origin: string;
|
|
33
|
-
}>;
|
|
34
|
-
export declare function createJavascriptTransition(name: string, functions: Recordable, mode?: Mode): import("vue").DefineComponent<{
|
|
35
|
-
mode: {
|
|
36
|
-
type: PropType<Mode>;
|
|
37
|
-
default: Mode;
|
|
38
|
-
};
|
|
39
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
mode: {
|
|
41
|
-
type: PropType<Mode>;
|
|
42
|
-
default: Mode;
|
|
43
|
-
};
|
|
44
|
-
}>>, {
|
|
45
|
-
mode: Mode;
|
|
46
|
-
}>;
|
|
47
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Makes the first character of a string uppercase
|
|
3
|
-
*/
|
|
4
|
-
export declare function upperFirst(str: string): string;
|
|
5
|
-
interface HTMLExpandElement extends HTMLElement {
|
|
6
|
-
_parent?: (Node & ParentNode & HTMLElement) | null;
|
|
7
|
-
_initialStyle: {
|
|
8
|
-
transition: string;
|
|
9
|
-
overflow: string | null;
|
|
10
|
-
height?: string | null;
|
|
11
|
-
width?: string | null;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default function (expandedParentClass?: string, x?: boolean): {
|
|
15
|
-
beforeEnter(el: HTMLExpandElement): void;
|
|
16
|
-
enter(el: HTMLExpandElement): void;
|
|
17
|
-
afterEnter: (el: HTMLExpandElement) => void;
|
|
18
|
-
enterCancelled: (el: HTMLExpandElement) => void;
|
|
19
|
-
leave(el: HTMLExpandElement): void;
|
|
20
|
-
afterLeave: (el: HTMLExpandElement) => void;
|
|
21
|
-
leaveCancelled: (el: HTMLExpandElement) => void;
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import BasicTree from './src/BasicTree.vue';
|
|
2
|
-
export { BasicTree };
|
|
3
|
-
export interface ContextMenuItem {
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
hidden?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
handler?: Fn;
|
|
9
|
-
divider?: boolean;
|
|
10
|
-
children?: ContextMenuItem[];
|
|
11
|
-
}
|
|
12
|
-
export * from './src/types/tree';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import type { FieldNames, TreeItem, KeyType, CheckKeys } from './types/tree';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
value: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[] | CheckKeys>, (() => KeyType[]) | (() => KeyType[]) | (() => {
|
|
4
|
-
checked: string[] | number[];
|
|
5
|
-
halfChecked: string[] | number[];
|
|
6
|
-
}), unknown, unknown, unknown>;
|
|
7
|
-
renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
|
|
8
|
-
helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
|
|
9
|
-
title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
10
|
-
toolbar: BooleanConstructor;
|
|
11
|
-
search: BooleanConstructor;
|
|
12
|
-
searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
13
|
-
checkStrictly: BooleanConstructor;
|
|
14
|
-
clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
15
|
-
checkable: BooleanConstructor;
|
|
16
|
-
defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
|
|
17
|
-
defaultExpandAll: BooleanConstructor;
|
|
18
|
-
fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<FieldNames>, unknown, unknown, unknown, unknown>;
|
|
19
|
-
treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
|
|
20
|
-
actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("./types/tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
|
|
21
|
-
expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
22
|
-
selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
23
|
-
checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<CheckKeys>, () => any[], unknown, unknown, unknown>;
|
|
24
|
-
beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
|
|
25
|
-
rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("./types/tree").ContextMenuItem[]>, () => import("./types/tree").ContextMenuItem[], unknown, unknown, unknown>;
|
|
26
|
-
filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean>, any, unknown, unknown, unknown>;
|
|
27
|
-
highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
28
|
-
expandOnSearch: BooleanConstructor;
|
|
29
|
-
checkOnSearch: BooleanConstructor;
|
|
30
|
-
selectedOnSearch: BooleanConstructor;
|
|
31
|
-
loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
32
|
-
treeWrapperClassName: StringConstructor;
|
|
33
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
-
value: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[] | CheckKeys>, (() => KeyType[]) | (() => KeyType[]) | (() => {
|
|
35
|
-
checked: string[] | number[];
|
|
36
|
-
halfChecked: string[] | number[];
|
|
37
|
-
}), unknown, unknown, unknown>;
|
|
38
|
-
renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
|
|
39
|
-
helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
|
|
40
|
-
title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
41
|
-
toolbar: BooleanConstructor;
|
|
42
|
-
search: BooleanConstructor;
|
|
43
|
-
searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
44
|
-
checkStrictly: BooleanConstructor;
|
|
45
|
-
clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
46
|
-
checkable: BooleanConstructor;
|
|
47
|
-
defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
|
|
48
|
-
defaultExpandAll: BooleanConstructor;
|
|
49
|
-
fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<FieldNames>, unknown, unknown, unknown, unknown>;
|
|
50
|
-
treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
|
|
51
|
-
actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("./types/tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
|
|
52
|
-
expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
53
|
-
selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
54
|
-
checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<CheckKeys>, () => any[], unknown, unknown, unknown>;
|
|
55
|
-
beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
|
|
56
|
-
rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("./types/tree").ContextMenuItem[]>, () => import("./types/tree").ContextMenuItem[], unknown, unknown, unknown>;
|
|
57
|
-
filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean>, any, unknown, unknown, unknown>;
|
|
58
|
-
highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
59
|
-
expandOnSearch: BooleanConstructor;
|
|
60
|
-
checkOnSearch: BooleanConstructor;
|
|
61
|
-
selectedOnSearch: BooleanConstructor;
|
|
62
|
-
loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
63
|
-
treeWrapperClassName: StringConstructor;
|
|
64
|
-
}>> & {
|
|
65
|
-
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
66
|
-
}, {
|
|
67
|
-
title: string;
|
|
68
|
-
loading: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
69
|
-
value: import("@shy-plugins/utils").BuildPropType<PropType<KeyType[] | CheckKeys>, unknown, unknown>;
|
|
70
|
-
helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
|
|
71
|
-
search: boolean;
|
|
72
|
-
selectedKeys: KeyType[];
|
|
73
|
-
renderIcon: (params: Recordable<any>) => string;
|
|
74
|
-
toolbar: boolean;
|
|
75
|
-
searchValue: string;
|
|
76
|
-
checkStrictly: boolean;
|
|
77
|
-
clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
78
|
-
checkable: boolean;
|
|
79
|
-
defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
|
|
80
|
-
defaultExpandAll: boolean;
|
|
81
|
-
fieldNames: undefined;
|
|
82
|
-
treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
|
|
83
|
-
actionList: import("./types/tree").TreeActionItem[];
|
|
84
|
-
expandedKeys: KeyType[];
|
|
85
|
-
checkedKeys: CheckKeys;
|
|
86
|
-
beforeRightClick: (...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[];
|
|
87
|
-
rightMenuList: import("./types/tree").ContextMenuItem[];
|
|
88
|
-
filterFn: (searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean;
|
|
89
|
-
highlight: import("@shy-plugins/utils").BuildPropType<PropType<String | Boolean>, unknown, unknown>;
|
|
90
|
-
expandOnSearch: boolean;
|
|
91
|
-
checkOnSearch: boolean;
|
|
92
|
-
selectedOnSearch: boolean;
|
|
93
|
-
}>;
|
|
94
|
-
export default _sfc_main;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { InsertNodeParams, KeyType, FieldNames, TreeItem } from '../types/tree';
|
|
2
|
-
import type { Ref, ComputedRef } from 'vue';
|
|
3
|
-
import type { TreeDataItem } from 'ant-design-vue/es/tree/Tree';
|
|
4
|
-
export declare function useTree(treeDataRef: Ref<TreeDataItem[]>, getFieldNames: ComputedRef<FieldNames>): {
|
|
5
|
-
deleteNodeByKey: (key: string, list?: TreeDataItem[]) => void;
|
|
6
|
-
insertNodeByKey: ({ parentKey, node, push }: InsertNodeParams) => void;
|
|
7
|
-
insertNodesByKey: ({ parentKey, list, push }: InsertNodeParams) => void;
|
|
8
|
-
filterByLevel: (level?: number, list?: TreeDataItem[], currentLevel?: number) => string[] | number[];
|
|
9
|
-
updateNodeByKey: (key: string, node: TreeDataItem, list?: TreeDataItem[]) => void;
|
|
10
|
-
getAllKeys: (list?: TreeDataItem[]) => KeyType[];
|
|
11
|
-
getChildrenKeys: (nodeKey: string | number, list?: TreeDataItem[]) => KeyType[];
|
|
12
|
-
getEnabledKeys: (list?: TreeDataItem[]) => KeyType[];
|
|
13
|
-
getSelectedNode: (key: KeyType, list?: TreeItem[], selectedNode?: TreeItem | null) => TreeItem;
|
|
14
|
-
};
|