@pantograph/vue 0.34.7 → 0.34.9
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/Combobox/Combobox.d.ts +6 -280
- package/dist/components/Combobox/context.d.ts +2 -1
- package/dist/components/Combobox/types.d.ts +1 -3
- package/dist/components/Comment/CommentMention.d.ts +11 -285
- package/dist/index.js +10459 -10456
- package/dist/index.umd.cjs +11 -11
- package/package.json +3 -3
|
@@ -61,7 +61,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
61
61
|
highlightedOptionKey: import('vue').Ref<string | undefined, string | undefined>;
|
|
62
62
|
comboboxInputFocused: import('vue').Ref<boolean, boolean>;
|
|
63
63
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
64
|
-
|
|
64
|
+
triggerPrefix: string;
|
|
65
|
+
triggerProps: import('vue').ComputedRef<Record<string, any>>;
|
|
65
66
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
67
|
search: (value?: string | null | undefined) => any;
|
|
67
68
|
select: (value: string | undefined, selected: boolean, option?: ComboboxFlattenOptionType | undefined) => any;
|
|
@@ -123,282 +124,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
123
124
|
tagRenderMode: "go" | "avatar" | "chip";
|
|
124
125
|
showTreeTagStrategy: "all" | "child" | "parent";
|
|
125
126
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
126
|
-
scrollContainerRef:
|
|
127
|
-
$: import('vue').ComponentInternalInstance;
|
|
128
|
-
$data: {};
|
|
129
|
-
$props: {
|
|
130
|
-
readonly scrollDistance?: number | undefined;
|
|
131
|
-
readonly scrollHideDelay?: number | undefined;
|
|
132
|
-
readonly dir?: "ltr" | "rtl" | undefined;
|
|
133
|
-
readonly type?: "scroll" | "hover" | "always" | "auto" | undefined;
|
|
134
|
-
readonly hasMask?: boolean | undefined;
|
|
135
|
-
readonly size?: "sm" | "md" | "lg" | "xlg" | undefined;
|
|
136
|
-
readonly scrollbarCls?: import('clsx').ClassValue;
|
|
137
|
-
readonly wrapCls?: import('clsx').ClassValue;
|
|
138
|
-
readonly areaCls?: import('clsx').ClassValue;
|
|
139
|
-
readonly rootCls?: import('clsx').ClassValue;
|
|
140
|
-
readonly thumbCls?: import('clsx').ClassValue;
|
|
141
|
-
readonly cornerCls?: import('clsx').ClassValue;
|
|
142
|
-
readonly rootProps?: object | undefined;
|
|
143
|
-
readonly wrapProps?: object | undefined;
|
|
144
|
-
readonly maskProps?: object | undefined;
|
|
145
|
-
readonly overlay?: boolean | undefined;
|
|
146
|
-
readonly hideVerticalScrollbar?: boolean | undefined;
|
|
147
|
-
readonly hideHorizontalScrollbar?: boolean | undefined;
|
|
148
|
-
readonly color?: string | undefined;
|
|
149
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
150
|
-
$attrs: {
|
|
151
|
-
[x: string]: unknown;
|
|
152
|
-
};
|
|
153
|
-
$refs: {
|
|
154
|
-
[x: string]: unknown;
|
|
155
|
-
} & {
|
|
156
|
-
root: ({
|
|
157
|
-
$: import('vue').ComponentInternalInstance;
|
|
158
|
-
$data: {};
|
|
159
|
-
$props: {
|
|
160
|
-
readonly type?: ("scroll" | "hover" | "always" | "auto") | undefined;
|
|
161
|
-
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
162
|
-
readonly scrollHideDelay?: number | undefined;
|
|
163
|
-
readonly asChild?: boolean | undefined;
|
|
164
|
-
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
165
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
166
|
-
$attrs: {
|
|
167
|
-
[x: string]: unknown;
|
|
168
|
-
};
|
|
169
|
-
$refs: {
|
|
170
|
-
[x: string]: unknown;
|
|
171
|
-
};
|
|
172
|
-
$slots: Readonly<{
|
|
173
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
174
|
-
}>;
|
|
175
|
-
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
176
|
-
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
177
|
-
$host: Element | null;
|
|
178
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
179
|
-
$el: any;
|
|
180
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, {
|
|
181
|
-
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
182
|
-
scrollTop: () => void;
|
|
183
|
-
scrollTopLeft: () => void;
|
|
184
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
185
|
-
type: "scroll" | "hover" | "always" | "auto";
|
|
186
|
-
scrollHideDelay: number;
|
|
187
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
188
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
189
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
190
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
191
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
192
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
193
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
194
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
195
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
196
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
197
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
198
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
199
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
200
|
-
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
201
|
-
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
202
|
-
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
203
|
-
};
|
|
204
|
-
$forceUpdate: () => void;
|
|
205
|
-
$nextTick: typeof import('vue').nextTick;
|
|
206
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
207
|
-
} & Readonly<{
|
|
208
|
-
type: "scroll" | "hover" | "always" | "auto";
|
|
209
|
-
scrollHideDelay: number;
|
|
210
|
-
}> & Omit<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
211
|
-
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
212
|
-
scrollTop: () => void;
|
|
213
|
-
scrollTopLeft: () => void;
|
|
214
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
215
|
-
$slots: {
|
|
216
|
-
default?: ((props: {}) => any) | undefined;
|
|
217
|
-
};
|
|
218
|
-
}) | null;
|
|
219
|
-
container: ({
|
|
220
|
-
$: import('vue').ComponentInternalInstance;
|
|
221
|
-
$data: {};
|
|
222
|
-
$props: {
|
|
223
|
-
readonly nonce?: string | undefined;
|
|
224
|
-
readonly asChild?: boolean | undefined;
|
|
225
|
-
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
226
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
227
|
-
$attrs: {
|
|
228
|
-
[x: string]: unknown;
|
|
229
|
-
};
|
|
230
|
-
$refs: {
|
|
231
|
-
[x: string]: unknown;
|
|
232
|
-
};
|
|
233
|
-
$slots: Readonly<{
|
|
234
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
235
|
-
}>;
|
|
236
|
-
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
237
|
-
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
238
|
-
$host: Element | null;
|
|
239
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
240
|
-
$el: any;
|
|
241
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, {
|
|
242
|
-
viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
243
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
244
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
245
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
246
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
247
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
248
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
249
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
250
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
251
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
252
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
253
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
254
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
255
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
256
|
-
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
257
|
-
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
258
|
-
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
259
|
-
};
|
|
260
|
-
$forceUpdate: () => void;
|
|
261
|
-
$nextTick: typeof import('vue').nextTick;
|
|
262
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
263
|
-
} & Readonly<{}> & Omit<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, "viewportElement"> & import('vue').ShallowUnwrapRef<{
|
|
264
|
-
viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
265
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
266
|
-
$slots: {
|
|
267
|
-
default?: ((props: {}) => any) | undefined;
|
|
268
|
-
};
|
|
269
|
-
}) | null;
|
|
270
|
-
wrap: HTMLDivElement;
|
|
271
|
-
top: HTMLDivElement;
|
|
272
|
-
right: HTMLDivElement;
|
|
273
|
-
left: HTMLDivElement;
|
|
274
|
-
bottom: HTMLDivElement;
|
|
275
|
-
corner: ({
|
|
276
|
-
$: import('vue').ComponentInternalInstance;
|
|
277
|
-
$data: {};
|
|
278
|
-
$props: {
|
|
279
|
-
readonly asChild?: boolean | undefined;
|
|
280
|
-
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
281
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
282
|
-
$attrs: {
|
|
283
|
-
[x: string]: unknown;
|
|
284
|
-
};
|
|
285
|
-
$refs: {
|
|
286
|
-
[x: string]: unknown;
|
|
287
|
-
};
|
|
288
|
-
$slots: Readonly<{
|
|
289
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
290
|
-
}>;
|
|
291
|
-
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
292
|
-
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
293
|
-
$host: Element | null;
|
|
294
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
295
|
-
$el: any;
|
|
296
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaCornerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
297
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
298
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
299
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
300
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
301
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
302
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
303
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
304
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
305
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
306
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
307
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
308
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
309
|
-
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
310
|
-
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
311
|
-
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
312
|
-
};
|
|
313
|
-
$forceUpdate: () => void;
|
|
314
|
-
$nextTick: typeof import('vue').nextTick;
|
|
315
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
316
|
-
} & Readonly<{}> & Omit<Readonly<import('reka-ui').ScrollAreaCornerProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
317
|
-
$slots: {
|
|
318
|
-
default?: ((props: {}) => any) | undefined;
|
|
319
|
-
};
|
|
320
|
-
}) | null;
|
|
321
|
-
};
|
|
322
|
-
$slots: Readonly<{
|
|
323
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
324
|
-
}>;
|
|
325
|
-
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
326
|
-
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
327
|
-
$host: Element | null;
|
|
328
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
329
|
-
$el: any;
|
|
330
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('../ScrollContainer').ScrollContainerProps> & Readonly<{}>, {
|
|
331
|
-
container: import('vue').Ref<any, any>;
|
|
332
|
-
wrap: import('vue').Ref<any, any>;
|
|
333
|
-
root: import('vue').Ref<any, any>;
|
|
334
|
-
isOverflowX: import('vue').ShallowRef<boolean, boolean>;
|
|
335
|
-
isOverflowY: import('vue').ShallowRef<boolean, boolean>;
|
|
336
|
-
topVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
337
|
-
rightVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
338
|
-
leftVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
339
|
-
bottomVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
340
|
-
getScroll: () => {
|
|
341
|
-
scrollTop: any;
|
|
342
|
-
scrollLeft: any;
|
|
343
|
-
};
|
|
344
|
-
scrollTop: () => any;
|
|
345
|
-
scrollTopLeft: () => any;
|
|
346
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
347
|
-
type: "scroll" | "hover" | "always" | "auto";
|
|
348
|
-
size: "sm" | "md" | "lg" | "xlg";
|
|
349
|
-
overlay: boolean;
|
|
350
|
-
scrollDistance: number;
|
|
351
|
-
scrollHideDelay: number;
|
|
352
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
353
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
354
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
355
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
356
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
357
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
358
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
359
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
360
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
361
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
362
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
363
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
364
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
365
|
-
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
366
|
-
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
367
|
-
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
368
|
-
};
|
|
369
|
-
$forceUpdate: () => void;
|
|
370
|
-
$nextTick: typeof import('vue').nextTick;
|
|
371
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
372
|
-
} & Readonly<{
|
|
373
|
-
type: "scroll" | "hover" | "always" | "auto";
|
|
374
|
-
size: "sm" | "md" | "lg" | "xlg";
|
|
375
|
-
overlay: boolean;
|
|
376
|
-
scrollDistance: number;
|
|
377
|
-
scrollHideDelay: number;
|
|
378
|
-
}> & Omit<Readonly<import('../ScrollContainer').ScrollContainerProps> & Readonly<{}>, "wrap" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "scrollTop" | "scrollTopLeft" | "isOverflowX" | "isOverflowY" | "container" | ("type" | "size" | "overlay" | "scrollDistance" | "scrollHideDelay") | "getScroll"> & import('vue').ShallowUnwrapRef<{
|
|
379
|
-
container: import('vue').Ref<any, any>;
|
|
380
|
-
wrap: import('vue').Ref<any, any>;
|
|
381
|
-
root: import('vue').Ref<any, any>;
|
|
382
|
-
isOverflowX: import('vue').ShallowRef<boolean, boolean>;
|
|
383
|
-
isOverflowY: import('vue').ShallowRef<boolean, boolean>;
|
|
384
|
-
topVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
385
|
-
rightVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
386
|
-
leftVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
387
|
-
bottomVisible: import('vue').ShallowRef<boolean, boolean>;
|
|
388
|
-
getScroll: () => {
|
|
389
|
-
scrollTop: any;
|
|
390
|
-
scrollLeft: any;
|
|
391
|
-
};
|
|
392
|
-
scrollTop: () => any;
|
|
393
|
-
scrollTopLeft: () => any;
|
|
394
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
395
|
-
$slots: {
|
|
396
|
-
root?(_: {}): any;
|
|
397
|
-
root?(_: {}): any;
|
|
398
|
-
default?(_: {}): any;
|
|
399
|
-
area?(_: {}): any;
|
|
400
|
-
};
|
|
401
|
-
}) | null;
|
|
127
|
+
scrollContainerRef: HTMLDivElement;
|
|
402
128
|
treeRef: ({
|
|
403
129
|
$: import('vue').ComponentInternalInstance;
|
|
404
130
|
$data: {};
|
|
@@ -503,7 +229,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
503
229
|
scrollContainerRef: import('vue').Ref<any, any>;
|
|
504
230
|
onExpandKey: (node: import('../Tree').TreeItem) => void;
|
|
505
231
|
getLevel: (node: import('../Tree').TreeItem) => number;
|
|
506
|
-
getNodeField: <
|
|
232
|
+
getNodeField: <T>(node: object, field: keyof import('../Tree').TreeNodeType) => T;
|
|
507
233
|
onSelect: (node: import('../Tree').TreeItem, value: boolean) => void;
|
|
508
234
|
onCheck: (node: import('../Tree').TreeItem, value: boolean) => void;
|
|
509
235
|
getNodeChildren: (node: import('../Tree').TreeItem, direct?: boolean | undefined, filterDisabled?: boolean | undefined) => import('../Tree').TreeItem[];
|
|
@@ -557,7 +283,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
557
283
|
};
|
|
558
284
|
$forceUpdate: () => void;
|
|
559
285
|
$nextTick: typeof import('vue').nextTick;
|
|
560
|
-
$watch<
|
|
286
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
561
287
|
} & Readonly<{
|
|
562
288
|
disabled: boolean;
|
|
563
289
|
focusable: boolean;
|
|
@@ -589,7 +315,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
589
315
|
scrollContainerRef: import('vue').Ref<any, any>;
|
|
590
316
|
onExpandKey: (node: import('../Tree').TreeItem) => void;
|
|
591
317
|
getLevel: (node: import('../Tree').TreeItem) => number;
|
|
592
|
-
getNodeField: <
|
|
318
|
+
getNodeField: <T>(node: object, field: keyof import('../Tree').TreeNodeType) => T;
|
|
593
319
|
onSelect: (node: import('../Tree').TreeItem, value: boolean) => void;
|
|
594
320
|
onCheck: (node: import('../Tree').TreeItem, value: boolean) => void;
|
|
595
321
|
getNodeChildren: (node: import('../Tree').TreeItem, direct?: boolean | undefined, filterDisabled?: boolean | undefined) => import('../Tree').TreeItem[];
|
|
@@ -35,7 +35,8 @@ export interface ComboboxContext {
|
|
|
35
35
|
highlightedOptionKey: Ref<string | undefined>;
|
|
36
36
|
comboboxInputFocused: Ref<boolean>;
|
|
37
37
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
38
|
-
|
|
38
|
+
triggerPrefix: string;
|
|
39
|
+
triggerProps: ComputedRef<Record<string, any>>;
|
|
39
40
|
}
|
|
40
41
|
export declare const injectComboboxContext: <T extends ComboboxContext | null | undefined = ComboboxContext>(fallback?: T | undefined) => T extends null ? ComboboxContext | null : ComboboxContext, provideComboboxContext: (contextValue: ComboboxContext) => ComboboxContext;
|
|
41
42
|
export declare const comboboxPrefix: string;
|
|
@@ -6,7 +6,6 @@ import { EmptyProps } from '../Empty';
|
|
|
6
6
|
import { MenuItemProps } from '../MenuItem';
|
|
7
7
|
import { MenuItemLeadingProps } from '../MenuItem/MenuItemContent';
|
|
8
8
|
import { PopoverBaseProps, PopoverEmits, PopoverProps } from '../Popover';
|
|
9
|
-
import { ScrollContainerProps } from '../ScrollContainer';
|
|
10
9
|
import { SkeletonProps } from '../Skeleton';
|
|
11
10
|
import { TreeEmits, TreeProps } from '../Tree';
|
|
12
11
|
import { FlattenItem } from '../Tree/utils';
|
|
@@ -87,6 +86,7 @@ export interface ComboboxProps extends Partial<Pick<PopoverProps, 'placement' |
|
|
|
87
86
|
bordered?: boolean;
|
|
88
87
|
clearOnChangeMultiple?: boolean;
|
|
89
88
|
triggerCls?: ClassValue;
|
|
89
|
+
scrollAreaCls?: ClassValue;
|
|
90
90
|
triggerLeadingCls?: ClassValue;
|
|
91
91
|
triggerContentCls?: ClassValue;
|
|
92
92
|
triggerContentPlaceholderCls?: ClassValue;
|
|
@@ -96,14 +96,12 @@ export interface ComboboxProps extends Partial<Pick<PopoverProps, 'placement' |
|
|
|
96
96
|
optionCls?: ClassValue;
|
|
97
97
|
tagCls?: ClassValue;
|
|
98
98
|
popupCls?: ClassValue;
|
|
99
|
-
containerCls?: ClassValue;
|
|
100
99
|
labelCls?: ClassValue;
|
|
101
100
|
optionsCls?: ClassValue;
|
|
102
101
|
optionTextCls?: ClassValue;
|
|
103
102
|
optionContentCls?: ClassValue;
|
|
104
103
|
emptyCls?: ClassValue;
|
|
105
104
|
skeletonCls?: ClassValue;
|
|
106
|
-
scrollContainerProps?: ScrollContainerProps;
|
|
107
105
|
emptyProps?: EmptyProps;
|
|
108
106
|
samePopupWidth?: boolean;
|
|
109
107
|
popupHeight?: string | number;
|