@dazhicheng/ui 1.5.265 → 1.6.0
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/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.js +2 -2
- package/dist/components/tt-form/src/components/FormElInput.vue.js +51 -38
- package/dist/components/tt-form/src/form-render/FormField.vue2.js +36 -36
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +3 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +3 -1
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-modal-form/index.vue.js +13 -12
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +2 -2
- package/dist/components/tt-panel-select/src/hooks/usePanelData.js +93 -86
- package/dist/components/tt-panel-select/src/index.vue.js +1 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +4 -4
- package/dist/components/tt-select/src/components/Table.vue.d.ts +4 -4
- package/dist/components/tt-table/index.d.ts +523 -358
- package/dist/components/tt-table/index.js +7 -4
- package/dist/components/tt-table/src/Table.vue.d.ts +306 -216
- package/dist/components/tt-table/src/Table.vue.js +405 -618
- package/dist/components/tt-table/src/TableForm.vue.d.ts +384 -19
- package/dist/components/tt-table/src/TableForm.vue.js +219 -228
- package/dist/components/tt-table/src/components/TableAction.vue.js +108 -131
- package/dist/components/tt-table/src/components/TableButtons.js +25 -25
- package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +88 -85
- package/dist/components/tt-table/src/components/TableToolbarTools.vue.d.ts +80 -0
- package/dist/components/tt-table/src/components/{TableToobalTools.vue.js → TableToolbarTools.vue.js} +29 -31
- package/dist/components/tt-table/src/components/TableToolbarTools.vue2.js +4 -0
- package/dist/components/tt-table/src/emits.js +2 -1
- package/dist/components/tt-table/src/hooks/useColumnPersistence.d.ts +19 -0
- package/dist/components/tt-table/src/hooks/useColumnPersistence.js +63 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +505 -21
- package/dist/components/tt-table/src/hooks/useColumns.js +100 -245
- package/dist/components/tt-table/src/hooks/useGridProps.d.ts +36 -0
- package/dist/components/tt-table/src/hooks/useGridProps.js +121 -0
- package/dist/components/tt-table/src/hooks/useKeyboardNav.d.ts +11 -0
- package/dist/components/tt-table/src/hooks/useKeyboardNav.js +97 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +14 -8
- package/dist/components/tt-table/src/hooks/usePagination.js +29 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +41 -0
- package/dist/components/tt-table/src/hooks/useQuery.js +147 -0
- package/dist/components/tt-table/src/hooks/useRowIdentity.d.ts +22 -0
- package/dist/components/tt-table/src/hooks/useRowIdentity.js +96 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +23 -7
- package/dist/components/tt-table/src/hooks/useRowSelection.js +95 -71
- package/dist/components/tt-table/src/hooks/{useLeftRightSlot.d.ts → useSideSlot.d.ts} +25 -17
- package/dist/components/tt-table/src/hooks/useSideSlot.js +77 -0
- package/dist/components/tt-table/src/hooks/useSyncProps.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useSyncProps.js +55 -0
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +71 -0
- package/dist/components/tt-table/src/hooks/useTableData.js +307 -0
- package/dist/components/tt-table/src/hooks/useTableFooter.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableFooter.js +46 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +10 -5
- package/dist/components/tt-table/src/hooks/useTableForm.js +55 -48
- package/dist/components/tt-table/src/hooks/useTableMethods.d.ts +165 -0
- package/dist/components/tt-table/src/hooks/useTableMethods.js +183 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +24 -55
- package/dist/components/tt-table/src/props.d.ts +318 -151
- package/dist/components/tt-table/src/props.js +117 -270
- package/dist/components/tt-table/src/table-defaults.d.ts +25 -0
- package/dist/components/tt-table/src/table-defaults.js +71 -0
- package/dist/components/tt-table/src/table-mutation-events.d.ts +43 -0
- package/dist/components/tt-table/src/table-mutation-events.js +70 -0
- package/dist/components/tt-table/src/types/table.d.ts +207 -88
- package/dist/components/tt-table/src/types/tableAction.d.ts +23 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +15 -26
- package/dist/components/tt-table/src/utils/action-tab-index.d.ts +2 -0
- package/dist/components/tt-table/src/utils/action-tab-index.js +50 -0
- package/dist/components/tt-table/src/utils/context.js +25 -12
- package/dist/components/tt-table/src/utils/table-api.d.ts +136 -58
- package/dist/components/tt-table/src/utils/table-api.js +198 -165
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +11 -11
- package/dist/components/tt-table/src/utils/table-form-api.js +41 -31
- package/dist/components/types.d.ts +0 -20
- package/dist/hooks/useSetup.js +0 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +105 -101
- package/dist/packages/hooks/src/useDebounce.js +6 -6
- package/dist/packages/utils/src/is.js +20 -18
- package/dist/packages/utils/src/tool.js +76 -149
- package/dist/style.css +1 -1
- package/dist/utils/uppercaseInput.d.ts +29 -0
- package/dist/utils/uppercaseInput.js +16 -0
- package/package.json +3 -3
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +0 -576
- package/dist/components/tt-table/src/components/TableToobalTools.vue2.js +0 -4
- package/dist/components/tt-table/src/enum.d.ts +0 -2
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +0 -15
- package/dist/components/tt-table/src/hooks/useCellArea.js +0 -15
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +0 -20
- package/dist/components/tt-table/src/hooks/useCustomColumns.js +0 -65
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +0 -29
- package/dist/components/tt-table/src/hooks/useDataSource.js +0 -232
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.js +0 -64
- package/dist/components/tt-table/src/hooks/useTable.d.ts +0 -7
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +0 -101
- package/dist/components/tt-table/src/hooks/useTableEvent.js +0 -197
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +0 -10
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +0 -15
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +0 -11
- package/dist/components/tt-table/src/hooks/useTableSlot.js +0 -17
- package/dist/components/tt-table/src/utils/filters.d.ts +0 -109
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +0 -28
- package/dist/packages/utils/src/check.js +0 -10
|
@@ -1,576 +0,0 @@
|
|
|
1
|
-
import { Recordable } from '../../../../../../utils/src';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: Readonly<{
|
|
5
|
-
default: (props: Recordable) => void;
|
|
6
|
-
"toolbar-left": (props: Recordable) => void;
|
|
7
|
-
"toolbar-right": (props: Recordable) => void;
|
|
8
|
-
}> & {
|
|
9
|
-
default: (props: Recordable) => void;
|
|
10
|
-
"toolbar-left": (props: Recordable) => void;
|
|
11
|
-
"toolbar-right": (props: Recordable) => void;
|
|
12
|
-
};
|
|
13
|
-
refs: {
|
|
14
|
-
tooltipRef: (({
|
|
15
|
-
$: import('vue').ComponentInternalInstance;
|
|
16
|
-
$data: {};
|
|
17
|
-
$props: {
|
|
18
|
-
readonly showArrow?: boolean | undefined;
|
|
19
|
-
readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
20
|
-
readonly role?: ("dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree") | undefined;
|
|
21
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
22
|
-
readonly content?: string | undefined;
|
|
23
|
-
readonly rawContent?: boolean | undefined;
|
|
24
|
-
readonly persistent?: boolean | undefined;
|
|
25
|
-
readonly visible?: boolean | null | undefined;
|
|
26
|
-
readonly transition?: string | undefined;
|
|
27
|
-
readonly teleported?: boolean | undefined;
|
|
28
|
-
readonly disabled?: boolean | undefined;
|
|
29
|
-
readonly ariaLabel?: string | undefined;
|
|
30
|
-
readonly showAfter?: number | undefined;
|
|
31
|
-
readonly hideAfter?: number | undefined;
|
|
32
|
-
readonly autoClose?: number | undefined;
|
|
33
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
34
|
-
readonly style?: import('vue').StyleValue;
|
|
35
|
-
readonly id?: string | undefined;
|
|
36
|
-
readonly className?: (string | {
|
|
37
|
-
[x: string]: boolean;
|
|
38
|
-
} | (string | {
|
|
39
|
-
[x: string]: boolean;
|
|
40
|
-
} | (string | {
|
|
41
|
-
[x: string]: boolean;
|
|
42
|
-
} | (string | {
|
|
43
|
-
[x: string]: boolean;
|
|
44
|
-
} | (string | {
|
|
45
|
-
[x: string]: boolean;
|
|
46
|
-
} | (string | {
|
|
47
|
-
[x: string]: boolean;
|
|
48
|
-
} | (string | {
|
|
49
|
-
[x: string]: boolean;
|
|
50
|
-
} | (string | {
|
|
51
|
-
[x: string]: boolean;
|
|
52
|
-
} | (string | {
|
|
53
|
-
[x: string]: boolean;
|
|
54
|
-
} | (string | {
|
|
55
|
-
[x: string]: boolean;
|
|
56
|
-
} | (string | {
|
|
57
|
-
[x: string]: boolean;
|
|
58
|
-
} | (string | {
|
|
59
|
-
[x: string]: boolean;
|
|
60
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
61
|
-
readonly effect?: import('element-plus').PopperEffect | undefined;
|
|
62
|
-
readonly enterable?: boolean | undefined;
|
|
63
|
-
readonly pure?: boolean | undefined;
|
|
64
|
-
readonly focusOnShow?: boolean | undefined;
|
|
65
|
-
readonly trapping?: boolean | undefined;
|
|
66
|
-
readonly popperClass?: (string | {
|
|
67
|
-
[x: string]: boolean;
|
|
68
|
-
} | (string | {
|
|
69
|
-
[x: string]: boolean;
|
|
70
|
-
} | (string | {
|
|
71
|
-
[x: string]: boolean;
|
|
72
|
-
} | (string | {
|
|
73
|
-
[x: string]: boolean;
|
|
74
|
-
} | (string | {
|
|
75
|
-
[x: string]: boolean;
|
|
76
|
-
} | (string | {
|
|
77
|
-
[x: string]: boolean;
|
|
78
|
-
} | (string | {
|
|
79
|
-
[x: string]: boolean;
|
|
80
|
-
} | (string | {
|
|
81
|
-
[x: string]: boolean;
|
|
82
|
-
} | (string | {
|
|
83
|
-
[x: string]: boolean;
|
|
84
|
-
} | (string | {
|
|
85
|
-
[x: string]: boolean;
|
|
86
|
-
} | (string | {
|
|
87
|
-
[x: string]: boolean;
|
|
88
|
-
} | (string | {
|
|
89
|
-
[x: string]: boolean;
|
|
90
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
91
|
-
readonly popperStyle?: import('vue').StyleValue;
|
|
92
|
-
readonly referenceEl?: HTMLElement | undefined;
|
|
93
|
-
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
94
|
-
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
95
|
-
readonly virtualTriggering?: boolean | undefined;
|
|
96
|
-
readonly zIndex?: number | undefined;
|
|
97
|
-
readonly loop?: boolean | undefined;
|
|
98
|
-
readonly boundariesPadding?: number | undefined;
|
|
99
|
-
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
100
|
-
readonly gpuAcceleration?: boolean | undefined;
|
|
101
|
-
readonly offset?: number | undefined;
|
|
102
|
-
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
103
|
-
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
104
|
-
readonly arrowOffset?: number | undefined;
|
|
105
|
-
readonly trigger?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType> | undefined;
|
|
106
|
-
readonly triggerKeys?: string[] | undefined;
|
|
107
|
-
readonly focusOnTarget?: boolean | undefined;
|
|
108
|
-
readonly virtualRef?: import('element-plus').Measurable | undefined;
|
|
109
|
-
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
110
|
-
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
111
|
-
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
112
|
-
readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
113
|
-
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
114
|
-
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
115
|
-
readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
|
|
116
|
-
readonly open?: boolean | undefined;
|
|
117
|
-
readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
|
|
118
|
-
readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
|
|
119
|
-
readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
|
|
120
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
121
|
-
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
122
|
-
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
123
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
124
|
-
$attrs: {
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
};
|
|
127
|
-
$refs: {
|
|
128
|
-
[x: string]: unknown;
|
|
129
|
-
};
|
|
130
|
-
$slots: Readonly<{
|
|
131
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
134
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
135
|
-
$host: Element | null;
|
|
136
|
-
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
|
|
137
|
-
$el: any;
|
|
138
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
139
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
140
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
141
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
142
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
143
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
144
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
146
|
-
}>, {
|
|
147
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
148
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
149
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
150
|
-
updatePopper: () => void;
|
|
151
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
152
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
153
|
-
hide: (event?: Event) => void;
|
|
154
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
155
|
-
close: (...args: any[]) => void;
|
|
156
|
-
hide: (...args: any[]) => void;
|
|
157
|
-
show: (...args: any[]) => void;
|
|
158
|
-
open: (...args: any[]) => void;
|
|
159
|
-
"update:visible": (...args: any[]) => void;
|
|
160
|
-
"before-show": (...args: any[]) => void;
|
|
161
|
-
"before-hide": (...args: any[]) => void;
|
|
162
|
-
}, string, {
|
|
163
|
-
offset: number;
|
|
164
|
-
teleported: boolean;
|
|
165
|
-
effect: import('element-plus').PopperEffect;
|
|
166
|
-
visible: boolean | null;
|
|
167
|
-
content: string;
|
|
168
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
169
|
-
enterable: boolean;
|
|
170
|
-
pure: boolean;
|
|
171
|
-
focusOnShow: boolean;
|
|
172
|
-
trapping: boolean;
|
|
173
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
174
|
-
stopPopperMouseEvent: boolean;
|
|
175
|
-
virtualTriggering: boolean;
|
|
176
|
-
loop: boolean;
|
|
177
|
-
boundariesPadding: number;
|
|
178
|
-
gpuAcceleration: boolean;
|
|
179
|
-
placement: import('element-plus').Placement;
|
|
180
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
181
|
-
strategy: "fixed" | "absolute";
|
|
182
|
-
arrowOffset: number;
|
|
183
|
-
showArrow: boolean;
|
|
184
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
185
|
-
showAfter: number;
|
|
186
|
-
hideAfter: number;
|
|
187
|
-
autoClose: number;
|
|
188
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
189
|
-
triggerKeys: string[];
|
|
190
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
191
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
192
|
-
created?: (() => void) | (() => void)[];
|
|
193
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
194
|
-
mounted?: (() => void) | (() => void)[];
|
|
195
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
196
|
-
updated?: (() => void) | (() => void)[];
|
|
197
|
-
activated?: (() => void) | (() => void)[];
|
|
198
|
-
deactivated?: (() => void) | (() => void)[];
|
|
199
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
200
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
201
|
-
destroyed?: (() => void) | (() => void)[];
|
|
202
|
-
unmounted?: (() => void) | (() => void)[];
|
|
203
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
204
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
205
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
206
|
-
};
|
|
207
|
-
$forceUpdate: () => void;
|
|
208
|
-
$nextTick: typeof import('vue').nextTick;
|
|
209
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
210
|
-
} & Readonly<{
|
|
211
|
-
offset: number;
|
|
212
|
-
teleported: boolean;
|
|
213
|
-
effect: import('element-plus').PopperEffect;
|
|
214
|
-
visible: boolean | null;
|
|
215
|
-
content: string;
|
|
216
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
217
|
-
enterable: boolean;
|
|
218
|
-
pure: boolean;
|
|
219
|
-
focusOnShow: boolean;
|
|
220
|
-
trapping: boolean;
|
|
221
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
222
|
-
stopPopperMouseEvent: boolean;
|
|
223
|
-
virtualTriggering: boolean;
|
|
224
|
-
loop: boolean;
|
|
225
|
-
boundariesPadding: number;
|
|
226
|
-
gpuAcceleration: boolean;
|
|
227
|
-
placement: import('element-plus').Placement;
|
|
228
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
229
|
-
strategy: "fixed" | "absolute";
|
|
230
|
-
arrowOffset: number;
|
|
231
|
-
showArrow: boolean;
|
|
232
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
233
|
-
showAfter: number;
|
|
234
|
-
hideAfter: number;
|
|
235
|
-
autoClose: number;
|
|
236
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
237
|
-
triggerKeys: string[];
|
|
238
|
-
}> & Omit<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
239
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
240
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
241
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
242
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
244
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
245
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
246
|
-
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
247
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
248
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
249
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
250
|
-
updatePopper: () => void;
|
|
251
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
252
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
253
|
-
hide: (event?: Event) => void;
|
|
254
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
255
|
-
$slots: {
|
|
256
|
-
default?: (props: {}) => any;
|
|
257
|
-
} & {
|
|
258
|
-
content?: (props: {}) => any;
|
|
259
|
-
};
|
|
260
|
-
}) | null)[];
|
|
261
|
-
};
|
|
262
|
-
rootEl: HTMLDivElement;
|
|
263
|
-
};
|
|
264
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
265
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
266
|
-
showSetting: {
|
|
267
|
-
type: BooleanConstructor;
|
|
268
|
-
default: boolean;
|
|
269
|
-
};
|
|
270
|
-
showRefresh: {
|
|
271
|
-
type: BooleanConstructor;
|
|
272
|
-
default: boolean;
|
|
273
|
-
};
|
|
274
|
-
showExport: {
|
|
275
|
-
type: BooleanConstructor;
|
|
276
|
-
default: boolean;
|
|
277
|
-
};
|
|
278
|
-
showSetColumn: {
|
|
279
|
-
type: BooleanConstructor;
|
|
280
|
-
default: boolean;
|
|
281
|
-
};
|
|
282
|
-
columnsKey: {
|
|
283
|
-
type: import('vue').PropType<string | (() => string)>;
|
|
284
|
-
default: string;
|
|
285
|
-
};
|
|
286
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
287
|
-
"on-refresh": () => any;
|
|
288
|
-
"on-columns-setting": () => any;
|
|
289
|
-
"on-export": () => any;
|
|
290
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
291
|
-
showSetting: {
|
|
292
|
-
type: BooleanConstructor;
|
|
293
|
-
default: boolean;
|
|
294
|
-
};
|
|
295
|
-
showRefresh: {
|
|
296
|
-
type: BooleanConstructor;
|
|
297
|
-
default: boolean;
|
|
298
|
-
};
|
|
299
|
-
showExport: {
|
|
300
|
-
type: BooleanConstructor;
|
|
301
|
-
default: boolean;
|
|
302
|
-
};
|
|
303
|
-
showSetColumn: {
|
|
304
|
-
type: BooleanConstructor;
|
|
305
|
-
default: boolean;
|
|
306
|
-
};
|
|
307
|
-
columnsKey: {
|
|
308
|
-
type: import('vue').PropType<string | (() => string)>;
|
|
309
|
-
default: string;
|
|
310
|
-
};
|
|
311
|
-
}>> & Readonly<{
|
|
312
|
-
"onOn-refresh"?: (() => any) | undefined;
|
|
313
|
-
"onOn-columns-setting"?: (() => any) | undefined;
|
|
314
|
-
"onOn-export"?: (() => any) | undefined;
|
|
315
|
-
}>, {
|
|
316
|
-
showSetting: boolean;
|
|
317
|
-
showRefresh: boolean;
|
|
318
|
-
showExport: boolean;
|
|
319
|
-
columnsKey: string | (() => string);
|
|
320
|
-
showSetColumn: boolean;
|
|
321
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
322
|
-
tooltipRef: (({
|
|
323
|
-
$: import('vue').ComponentInternalInstance;
|
|
324
|
-
$data: {};
|
|
325
|
-
$props: {
|
|
326
|
-
readonly showArrow?: boolean | undefined;
|
|
327
|
-
readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
328
|
-
readonly role?: ("dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree") | undefined;
|
|
329
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
330
|
-
readonly content?: string | undefined;
|
|
331
|
-
readonly rawContent?: boolean | undefined;
|
|
332
|
-
readonly persistent?: boolean | undefined;
|
|
333
|
-
readonly visible?: boolean | null | undefined;
|
|
334
|
-
readonly transition?: string | undefined;
|
|
335
|
-
readonly teleported?: boolean | undefined;
|
|
336
|
-
readonly disabled?: boolean | undefined;
|
|
337
|
-
readonly ariaLabel?: string | undefined;
|
|
338
|
-
readonly showAfter?: number | undefined;
|
|
339
|
-
readonly hideAfter?: number | undefined;
|
|
340
|
-
readonly autoClose?: number | undefined;
|
|
341
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
342
|
-
readonly style?: import('vue').StyleValue;
|
|
343
|
-
readonly id?: string | undefined;
|
|
344
|
-
readonly className?: (string | {
|
|
345
|
-
[x: string]: boolean;
|
|
346
|
-
} | (string | {
|
|
347
|
-
[x: string]: boolean;
|
|
348
|
-
} | (string | {
|
|
349
|
-
[x: string]: boolean;
|
|
350
|
-
} | (string | {
|
|
351
|
-
[x: string]: boolean;
|
|
352
|
-
} | (string | {
|
|
353
|
-
[x: string]: boolean;
|
|
354
|
-
} | (string | {
|
|
355
|
-
[x: string]: boolean;
|
|
356
|
-
} | (string | {
|
|
357
|
-
[x: string]: boolean;
|
|
358
|
-
} | (string | {
|
|
359
|
-
[x: string]: boolean;
|
|
360
|
-
} | (string | {
|
|
361
|
-
[x: string]: boolean;
|
|
362
|
-
} | (string | {
|
|
363
|
-
[x: string]: boolean;
|
|
364
|
-
} | (string | {
|
|
365
|
-
[x: string]: boolean;
|
|
366
|
-
} | (string | {
|
|
367
|
-
[x: string]: boolean;
|
|
368
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
369
|
-
readonly effect?: import('element-plus').PopperEffect | undefined;
|
|
370
|
-
readonly enterable?: boolean | undefined;
|
|
371
|
-
readonly pure?: boolean | undefined;
|
|
372
|
-
readonly focusOnShow?: boolean | undefined;
|
|
373
|
-
readonly trapping?: boolean | undefined;
|
|
374
|
-
readonly popperClass?: (string | {
|
|
375
|
-
[x: string]: boolean;
|
|
376
|
-
} | (string | {
|
|
377
|
-
[x: string]: boolean;
|
|
378
|
-
} | (string | {
|
|
379
|
-
[x: string]: boolean;
|
|
380
|
-
} | (string | {
|
|
381
|
-
[x: string]: boolean;
|
|
382
|
-
} | (string | {
|
|
383
|
-
[x: string]: boolean;
|
|
384
|
-
} | (string | {
|
|
385
|
-
[x: string]: boolean;
|
|
386
|
-
} | (string | {
|
|
387
|
-
[x: string]: boolean;
|
|
388
|
-
} | (string | {
|
|
389
|
-
[x: string]: boolean;
|
|
390
|
-
} | (string | {
|
|
391
|
-
[x: string]: boolean;
|
|
392
|
-
} | (string | {
|
|
393
|
-
[x: string]: boolean;
|
|
394
|
-
} | (string | {
|
|
395
|
-
[x: string]: boolean;
|
|
396
|
-
} | (string | {
|
|
397
|
-
[x: string]: boolean;
|
|
398
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
399
|
-
readonly popperStyle?: import('vue').StyleValue;
|
|
400
|
-
readonly referenceEl?: HTMLElement | undefined;
|
|
401
|
-
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
402
|
-
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
403
|
-
readonly virtualTriggering?: boolean | undefined;
|
|
404
|
-
readonly zIndex?: number | undefined;
|
|
405
|
-
readonly loop?: boolean | undefined;
|
|
406
|
-
readonly boundariesPadding?: number | undefined;
|
|
407
|
-
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
408
|
-
readonly gpuAcceleration?: boolean | undefined;
|
|
409
|
-
readonly offset?: number | undefined;
|
|
410
|
-
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
411
|
-
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
412
|
-
readonly arrowOffset?: number | undefined;
|
|
413
|
-
readonly trigger?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType> | undefined;
|
|
414
|
-
readonly triggerKeys?: string[] | undefined;
|
|
415
|
-
readonly focusOnTarget?: boolean | undefined;
|
|
416
|
-
readonly virtualRef?: import('element-plus').Measurable | undefined;
|
|
417
|
-
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
418
|
-
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
419
|
-
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
420
|
-
readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
421
|
-
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
422
|
-
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
423
|
-
readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
|
|
424
|
-
readonly open?: boolean | undefined;
|
|
425
|
-
readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
|
|
426
|
-
readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
|
|
427
|
-
readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
|
|
428
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
429
|
-
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
430
|
-
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
431
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
432
|
-
$attrs: {
|
|
433
|
-
[x: string]: unknown;
|
|
434
|
-
};
|
|
435
|
-
$refs: {
|
|
436
|
-
[x: string]: unknown;
|
|
437
|
-
};
|
|
438
|
-
$slots: Readonly<{
|
|
439
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
440
|
-
}>;
|
|
441
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
442
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
443
|
-
$host: Element | null;
|
|
444
|
-
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
|
|
445
|
-
$el: any;
|
|
446
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
447
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
448
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
449
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
450
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
451
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
452
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
453
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
454
|
-
}>, {
|
|
455
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
456
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
457
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
458
|
-
updatePopper: () => void;
|
|
459
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
460
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
461
|
-
hide: (event?: Event) => void;
|
|
462
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
463
|
-
close: (...args: any[]) => void;
|
|
464
|
-
hide: (...args: any[]) => void;
|
|
465
|
-
show: (...args: any[]) => void;
|
|
466
|
-
open: (...args: any[]) => void;
|
|
467
|
-
"update:visible": (...args: any[]) => void;
|
|
468
|
-
"before-show": (...args: any[]) => void;
|
|
469
|
-
"before-hide": (...args: any[]) => void;
|
|
470
|
-
}, string, {
|
|
471
|
-
offset: number;
|
|
472
|
-
teleported: boolean;
|
|
473
|
-
effect: import('element-plus').PopperEffect;
|
|
474
|
-
visible: boolean | null;
|
|
475
|
-
content: string;
|
|
476
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
477
|
-
enterable: boolean;
|
|
478
|
-
pure: boolean;
|
|
479
|
-
focusOnShow: boolean;
|
|
480
|
-
trapping: boolean;
|
|
481
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
482
|
-
stopPopperMouseEvent: boolean;
|
|
483
|
-
virtualTriggering: boolean;
|
|
484
|
-
loop: boolean;
|
|
485
|
-
boundariesPadding: number;
|
|
486
|
-
gpuAcceleration: boolean;
|
|
487
|
-
placement: import('element-plus').Placement;
|
|
488
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
489
|
-
strategy: "fixed" | "absolute";
|
|
490
|
-
arrowOffset: number;
|
|
491
|
-
showArrow: boolean;
|
|
492
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
493
|
-
showAfter: number;
|
|
494
|
-
hideAfter: number;
|
|
495
|
-
autoClose: number;
|
|
496
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
497
|
-
triggerKeys: string[];
|
|
498
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
499
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
500
|
-
created?: (() => void) | (() => void)[];
|
|
501
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
502
|
-
mounted?: (() => void) | (() => void)[];
|
|
503
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
504
|
-
updated?: (() => void) | (() => void)[];
|
|
505
|
-
activated?: (() => void) | (() => void)[];
|
|
506
|
-
deactivated?: (() => void) | (() => void)[];
|
|
507
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
508
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
509
|
-
destroyed?: (() => void) | (() => void)[];
|
|
510
|
-
unmounted?: (() => void) | (() => void)[];
|
|
511
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
512
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
513
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
514
|
-
};
|
|
515
|
-
$forceUpdate: () => void;
|
|
516
|
-
$nextTick: typeof import('vue').nextTick;
|
|
517
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
518
|
-
} & Readonly<{
|
|
519
|
-
offset: number;
|
|
520
|
-
teleported: boolean;
|
|
521
|
-
effect: import('element-plus').PopperEffect;
|
|
522
|
-
visible: boolean | null;
|
|
523
|
-
content: string;
|
|
524
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
525
|
-
enterable: boolean;
|
|
526
|
-
pure: boolean;
|
|
527
|
-
focusOnShow: boolean;
|
|
528
|
-
trapping: boolean;
|
|
529
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
530
|
-
stopPopperMouseEvent: boolean;
|
|
531
|
-
virtualTriggering: boolean;
|
|
532
|
-
loop: boolean;
|
|
533
|
-
boundariesPadding: number;
|
|
534
|
-
gpuAcceleration: boolean;
|
|
535
|
-
placement: import('element-plus').Placement;
|
|
536
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
537
|
-
strategy: "fixed" | "absolute";
|
|
538
|
-
arrowOffset: number;
|
|
539
|
-
showArrow: boolean;
|
|
540
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
541
|
-
showAfter: number;
|
|
542
|
-
hideAfter: number;
|
|
543
|
-
autoClose: number;
|
|
544
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
545
|
-
triggerKeys: string[];
|
|
546
|
-
}> & Omit<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
547
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
548
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
549
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
550
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
551
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
552
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
553
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
554
|
-
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
555
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
556
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
557
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
558
|
-
updatePopper: () => void;
|
|
559
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
560
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
561
|
-
hide: (event?: Event) => void;
|
|
562
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
563
|
-
$slots: {
|
|
564
|
-
default?: (props: {}) => any;
|
|
565
|
-
} & {
|
|
566
|
-
content?: (props: {}) => any;
|
|
567
|
-
};
|
|
568
|
-
}) | null)[];
|
|
569
|
-
}, HTMLDivElement>;
|
|
570
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
571
|
-
export default _default;
|
|
572
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
573
|
-
new (): {
|
|
574
|
-
$slots: S;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VxeGridEvents, VxeGridInstance, VxeTableExtendCellAreaDefines } from 'vxe-table';
|
|
2
|
-
import { TtTableProps } from '../types/table';
|
|
3
|
-
import { Recordable } from '../../../../../../utils/src';
|
|
4
|
-
import { ComputedRef, Ref } from 'vue';
|
|
5
|
-
type EmitType = {
|
|
6
|
-
(e: "cell-area-selection-end", data?: VxeTableExtendCellAreaDefines.CellAreaSelectionAllEndEventParams): void;
|
|
7
|
-
};
|
|
8
|
-
type ExpandFns = {
|
|
9
|
-
onCellAreaSelectionEndSetCheckbox: VxeGridEvents.CellAreaSelectionAllEnd;
|
|
10
|
-
onCheckboxRangeChange: VxeGridEvents.CheckboxRangeChange;
|
|
11
|
-
};
|
|
12
|
-
export declare function useCellArea(propsRef: ComputedRef<TtTableProps>, emit: EmitType, _xGrid: Ref<VxeGridInstance<Recordable>>, expandFns: ExpandFns): {
|
|
13
|
-
onCellAreaSelectionEnd: VxeGridEvents.CellAreaSelectionAllEnd<any>;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GlobalConfig as t } from "../../../../hooks/useSetup.js";
|
|
2
|
-
import { unref as c } from "vue";
|
|
3
|
-
function h(o, i, C, n) {
|
|
4
|
-
return {
|
|
5
|
-
onCellAreaSelectionEnd: function(e) {
|
|
6
|
-
var l, r;
|
|
7
|
-
(l = c(o).checkboxConfig) != null && l.range && c(o).showCheckbox ? n.onCheckboxRangeChange({
|
|
8
|
-
records: e.rows
|
|
9
|
-
}) : (r = t.table) != null && r.isAreaCheckboxSelection && n.onCellAreaSelectionEndSetCheckbox(e), i("cell-area-selection-end", e);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
h as useCellArea
|
|
15
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
|
-
import { VxeTablePropTypes } from 'vxe-table';
|
|
3
|
-
import { TtTableMethods, TtTableProps } from '../types/table';
|
|
4
|
-
import { TtTableFormProps } from '../types/tableForm';
|
|
5
|
-
/**
|
|
6
|
-
* 自定义列配置Hook
|
|
7
|
-
* @param getTableProps 获取表格props的计算属性
|
|
8
|
-
* @param getTableProps.getTableToolProps 表格工具条配置
|
|
9
|
-
* @param getTableProps.getTableProps 表格配置(含列、默认显示字段等)
|
|
10
|
-
* @param getTableProps.tableMethods 表格方法对象
|
|
11
|
-
* @param getTableProps.getProps 获取props的计算属性
|
|
12
|
-
*/
|
|
13
|
-
export declare function useCustomColumns({ getTableProps, tableMethods, getProps, }: {
|
|
14
|
-
getTableProps: ComputedRef<TtTableProps>;
|
|
15
|
-
tableMethods: TtTableMethods<VxeTablePropTypes.Row>;
|
|
16
|
-
getProps: ComputedRef<TtTableFormProps>;
|
|
17
|
-
}): {
|
|
18
|
-
initCustomSetting: () => Promise<void>;
|
|
19
|
-
saveColumns: (json: string) => Promise<any>;
|
|
20
|
-
};
|