@firstnoodle-ui/bui 0.0.46 → 0.0.50
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/LICENSE +21 -21
- package/dist/bui.css +1 -1
- package/dist/components/button/Button.vue.d.ts +1 -1
- package/dist/components/pop-calendar/PopCalendar.vue.d.ts +456 -0
- package/dist/components/pop-confirm/PopConfirm.vue.d.ts +463 -0
- package/dist/components/pop-select/PopSelect.vue.d.ts +1 -1
- package/dist/components/popper/Popper.vue.d.ts +104 -0
- package/dist/components/popper/middleware.d.ts +2 -2
- package/dist/components/toggle-button/ToggleButton.vue.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +4085 -4147
- package/dist/types/floating-ui.d.ts +11 -0
- package/package.json +5 -5
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { Placement } from '../../types/floating-ui';
|
|
2
|
+
import { CalendarViewProps } from '../calendar-view/types';
|
|
3
|
+
type PopCalendarProps = {
|
|
4
|
+
mode?: "immediate" | "confirmation";
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
placement?: Placement;
|
|
7
|
+
} & CalendarViewProps;
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
trigger?(_: {
|
|
12
|
+
visible: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
popperRef: ({
|
|
17
|
+
$: import('vue').ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: {
|
|
20
|
+
readonly closeDelay?: number | undefined;
|
|
21
|
+
readonly closeOnClickOutside?: boolean | undefined;
|
|
22
|
+
readonly disabled?: boolean | undefined;
|
|
23
|
+
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
24
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
25
|
+
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
26
|
+
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
27
|
+
readonly openDelay?: number | undefined;
|
|
28
|
+
readonly placement?: Placement | undefined;
|
|
29
|
+
readonly popperWidthClass?: string | undefined;
|
|
30
|
+
readonly rootClass?: string | string[] | undefined;
|
|
31
|
+
readonly sameWidthAsElement?: HTMLElement | undefined;
|
|
32
|
+
readonly sameWidthAsTrigger?: boolean | undefined;
|
|
33
|
+
readonly show?: boolean | undefined;
|
|
34
|
+
readonly teleportTarget?: string | undefined;
|
|
35
|
+
readonly trigger?: import('..').TPopperTrigger | undefined;
|
|
36
|
+
readonly triggerClass?: string | string[] | undefined;
|
|
37
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
41
|
+
$attrs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$refs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
} & {
|
|
47
|
+
containerRef: HTMLDivElement;
|
|
48
|
+
triggerRef: HTMLDivElement;
|
|
49
|
+
popperRef: HTMLDivElement;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
55
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
56
|
+
$host: Element | null;
|
|
57
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
|
|
58
|
+
$el: HTMLDivElement;
|
|
59
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
60
|
+
closeDelay?: number;
|
|
61
|
+
closeOnClickOutside?: boolean;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
64
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
65
|
+
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
66
|
+
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
67
|
+
openDelay?: number;
|
|
68
|
+
placement?: Placement;
|
|
69
|
+
popperWidthClass?: string;
|
|
70
|
+
rootClass?: string | string[];
|
|
71
|
+
sameWidthAsElement?: HTMLElement;
|
|
72
|
+
sameWidthAsTrigger?: boolean;
|
|
73
|
+
show?: boolean;
|
|
74
|
+
teleportTarget?: string;
|
|
75
|
+
trigger?: import('..').TPopperTrigger;
|
|
76
|
+
triggerClass?: string | string[];
|
|
77
|
+
}> & Readonly<{
|
|
78
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
close: () => void;
|
|
83
|
+
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
84
|
+
open: () => Promise<void>;
|
|
85
|
+
updateClickOutsideTargets: (targets: HTMLElement[]) => void;
|
|
86
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
|
+
close: (...args: any[]) => void;
|
|
88
|
+
open: (...args: any[]) => void;
|
|
89
|
+
updateClickOutside: (...args: any[]) => void;
|
|
90
|
+
}, string, {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
placement: Placement;
|
|
93
|
+
trigger: import('..').TPopperTrigger;
|
|
94
|
+
closeDelay: number;
|
|
95
|
+
closeOnClickOutside: boolean;
|
|
96
|
+
flipOptions: Partial<{
|
|
97
|
+
mainAxis?: boolean | undefined;
|
|
98
|
+
crossAxis?: boolean | undefined;
|
|
99
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
100
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
101
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
102
|
+
flipAlignment?: boolean | undefined;
|
|
103
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
104
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
105
|
+
altBoundary?: boolean | undefined;
|
|
106
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
107
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
110
|
+
shiftOptions: Partial<{
|
|
111
|
+
mainAxis?: boolean | undefined;
|
|
112
|
+
crossAxis?: boolean | undefined;
|
|
113
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
114
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
115
|
+
altBoundary?: boolean | undefined;
|
|
116
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
117
|
+
limiter?: {
|
|
118
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
119
|
+
options?: any;
|
|
120
|
+
} | undefined;
|
|
121
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
122
|
+
}>;
|
|
123
|
+
openDelay: number;
|
|
124
|
+
rootClass: string | string[];
|
|
125
|
+
sameWidthAsTrigger: boolean;
|
|
126
|
+
show: boolean;
|
|
127
|
+
teleportTarget: string;
|
|
128
|
+
triggerClass: string | string[];
|
|
129
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
130
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
131
|
+
created?: (() => void) | (() => void)[];
|
|
132
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
133
|
+
mounted?: (() => void) | (() => void)[];
|
|
134
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
135
|
+
updated?: (() => void) | (() => void)[];
|
|
136
|
+
activated?: (() => void) | (() => void)[];
|
|
137
|
+
deactivated?: (() => void) | (() => void)[];
|
|
138
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
139
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
140
|
+
destroyed?: (() => void) | (() => void)[];
|
|
141
|
+
unmounted?: (() => void) | (() => void)[];
|
|
142
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
143
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
144
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
145
|
+
};
|
|
146
|
+
$forceUpdate: () => void;
|
|
147
|
+
$nextTick: typeof import('vue').nextTick;
|
|
148
|
+
$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;
|
|
149
|
+
} & Readonly<{
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
placement: Placement;
|
|
152
|
+
trigger: import('..').TPopperTrigger;
|
|
153
|
+
closeDelay: number;
|
|
154
|
+
closeOnClickOutside: boolean;
|
|
155
|
+
flipOptions: Partial<{
|
|
156
|
+
mainAxis?: boolean | undefined;
|
|
157
|
+
crossAxis?: boolean | undefined;
|
|
158
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
159
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
160
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
161
|
+
flipAlignment?: boolean | undefined;
|
|
162
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
163
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
164
|
+
altBoundary?: boolean | undefined;
|
|
165
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
166
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
167
|
+
}>;
|
|
168
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
169
|
+
shiftOptions: Partial<{
|
|
170
|
+
mainAxis?: boolean | undefined;
|
|
171
|
+
crossAxis?: boolean | undefined;
|
|
172
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
173
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
174
|
+
altBoundary?: boolean | undefined;
|
|
175
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
176
|
+
limiter?: {
|
|
177
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
178
|
+
options?: any;
|
|
179
|
+
} | undefined;
|
|
180
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
openDelay: number;
|
|
183
|
+
rootClass: string | string[];
|
|
184
|
+
sameWidthAsTrigger: boolean;
|
|
185
|
+
show: boolean;
|
|
186
|
+
teleportTarget: string;
|
|
187
|
+
triggerClass: string | string[];
|
|
188
|
+
}> & Omit<Readonly<{
|
|
189
|
+
closeDelay?: number;
|
|
190
|
+
closeOnClickOutside?: boolean;
|
|
191
|
+
disabled?: boolean;
|
|
192
|
+
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
193
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
194
|
+
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
195
|
+
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
196
|
+
openDelay?: number;
|
|
197
|
+
placement?: Placement;
|
|
198
|
+
popperWidthClass?: string;
|
|
199
|
+
rootClass?: string | string[];
|
|
200
|
+
sameWidthAsElement?: HTMLElement;
|
|
201
|
+
sameWidthAsTrigger?: boolean;
|
|
202
|
+
show?: boolean;
|
|
203
|
+
teleportTarget?: string;
|
|
204
|
+
trigger?: import('..').TPopperTrigger;
|
|
205
|
+
triggerClass?: string | string[];
|
|
206
|
+
}> & Readonly<{
|
|
207
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
208
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
209
|
+
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
210
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "closeOnClickOutside" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "teleportTarget" | "triggerClass")> & import('vue').ShallowUnwrapRef<{
|
|
211
|
+
close: () => void;
|
|
212
|
+
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
213
|
+
open: () => Promise<void>;
|
|
214
|
+
updateClickOutsideTargets: (targets: HTMLElement[]) => void;
|
|
215
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
216
|
+
$slots: {
|
|
217
|
+
default?(_: {
|
|
218
|
+
visible: boolean;
|
|
219
|
+
}): any;
|
|
220
|
+
content?(_: {
|
|
221
|
+
close: () => void;
|
|
222
|
+
isOpen: true;
|
|
223
|
+
}): any;
|
|
224
|
+
};
|
|
225
|
+
}) | null;
|
|
226
|
+
};
|
|
227
|
+
rootEl: HTMLDivElement;
|
|
228
|
+
};
|
|
229
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
230
|
+
declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
231
|
+
close: () => any;
|
|
232
|
+
open: (targets: HTMLElement[]) => any;
|
|
233
|
+
change: (value: Date | null) => any;
|
|
234
|
+
}, string, import('vue').PublicProps, Readonly<PopCalendarProps> & Readonly<{
|
|
235
|
+
onClose?: (() => any) | undefined;
|
|
236
|
+
onOpen?: ((targets: HTMLElement[]) => any) | undefined;
|
|
237
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
238
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
239
|
+
popperRef: ({
|
|
240
|
+
$: import('vue').ComponentInternalInstance;
|
|
241
|
+
$data: {};
|
|
242
|
+
$props: {
|
|
243
|
+
readonly closeDelay?: number | undefined;
|
|
244
|
+
readonly closeOnClickOutside?: boolean | undefined;
|
|
245
|
+
readonly disabled?: boolean | undefined;
|
|
246
|
+
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
247
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
248
|
+
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
249
|
+
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
250
|
+
readonly openDelay?: number | undefined;
|
|
251
|
+
readonly placement?: Placement | undefined;
|
|
252
|
+
readonly popperWidthClass?: string | undefined;
|
|
253
|
+
readonly rootClass?: string | string[] | undefined;
|
|
254
|
+
readonly sameWidthAsElement?: HTMLElement | undefined;
|
|
255
|
+
readonly sameWidthAsTrigger?: boolean | undefined;
|
|
256
|
+
readonly show?: boolean | undefined;
|
|
257
|
+
readonly teleportTarget?: string | undefined;
|
|
258
|
+
readonly trigger?: import('..').TPopperTrigger | undefined;
|
|
259
|
+
readonly triggerClass?: string | string[] | undefined;
|
|
260
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
264
|
+
$attrs: {
|
|
265
|
+
[x: string]: unknown;
|
|
266
|
+
};
|
|
267
|
+
$refs: {
|
|
268
|
+
[x: string]: unknown;
|
|
269
|
+
} & {
|
|
270
|
+
containerRef: HTMLDivElement;
|
|
271
|
+
triggerRef: HTMLDivElement;
|
|
272
|
+
popperRef: HTMLDivElement;
|
|
273
|
+
};
|
|
274
|
+
$slots: Readonly<{
|
|
275
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
276
|
+
}>;
|
|
277
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
278
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
279
|
+
$host: Element | null;
|
|
280
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
|
|
281
|
+
$el: HTMLDivElement;
|
|
282
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
283
|
+
closeDelay?: number;
|
|
284
|
+
closeOnClickOutside?: boolean;
|
|
285
|
+
disabled?: boolean;
|
|
286
|
+
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
287
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
288
|
+
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
289
|
+
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
290
|
+
openDelay?: number;
|
|
291
|
+
placement?: Placement;
|
|
292
|
+
popperWidthClass?: string;
|
|
293
|
+
rootClass?: string | string[];
|
|
294
|
+
sameWidthAsElement?: HTMLElement;
|
|
295
|
+
sameWidthAsTrigger?: boolean;
|
|
296
|
+
show?: boolean;
|
|
297
|
+
teleportTarget?: string;
|
|
298
|
+
trigger?: import('..').TPopperTrigger;
|
|
299
|
+
triggerClass?: string | string[];
|
|
300
|
+
}> & Readonly<{
|
|
301
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
302
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
303
|
+
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
304
|
+
}>, {
|
|
305
|
+
close: () => void;
|
|
306
|
+
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
307
|
+
open: () => Promise<void>;
|
|
308
|
+
updateClickOutsideTargets: (targets: HTMLElement[]) => void;
|
|
309
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
310
|
+
close: (...args: any[]) => void;
|
|
311
|
+
open: (...args: any[]) => void;
|
|
312
|
+
updateClickOutside: (...args: any[]) => void;
|
|
313
|
+
}, string, {
|
|
314
|
+
disabled: boolean;
|
|
315
|
+
placement: Placement;
|
|
316
|
+
trigger: import('..').TPopperTrigger;
|
|
317
|
+
closeDelay: number;
|
|
318
|
+
closeOnClickOutside: boolean;
|
|
319
|
+
flipOptions: Partial<{
|
|
320
|
+
mainAxis?: boolean | undefined;
|
|
321
|
+
crossAxis?: boolean | undefined;
|
|
322
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
323
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
324
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
325
|
+
flipAlignment?: boolean | undefined;
|
|
326
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
327
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
328
|
+
altBoundary?: boolean | undefined;
|
|
329
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
330
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
331
|
+
}>;
|
|
332
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
333
|
+
shiftOptions: Partial<{
|
|
334
|
+
mainAxis?: boolean | undefined;
|
|
335
|
+
crossAxis?: boolean | undefined;
|
|
336
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
337
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
338
|
+
altBoundary?: boolean | undefined;
|
|
339
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
340
|
+
limiter?: {
|
|
341
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
342
|
+
options?: any;
|
|
343
|
+
} | undefined;
|
|
344
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
345
|
+
}>;
|
|
346
|
+
openDelay: number;
|
|
347
|
+
rootClass: string | string[];
|
|
348
|
+
sameWidthAsTrigger: boolean;
|
|
349
|
+
show: boolean;
|
|
350
|
+
teleportTarget: string;
|
|
351
|
+
triggerClass: string | string[];
|
|
352
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
353
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
354
|
+
created?: (() => void) | (() => void)[];
|
|
355
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
356
|
+
mounted?: (() => void) | (() => void)[];
|
|
357
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
358
|
+
updated?: (() => void) | (() => void)[];
|
|
359
|
+
activated?: (() => void) | (() => void)[];
|
|
360
|
+
deactivated?: (() => void) | (() => void)[];
|
|
361
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
362
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
363
|
+
destroyed?: (() => void) | (() => void)[];
|
|
364
|
+
unmounted?: (() => void) | (() => void)[];
|
|
365
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
366
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
367
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
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: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
372
|
+
} & Readonly<{
|
|
373
|
+
disabled: boolean;
|
|
374
|
+
placement: Placement;
|
|
375
|
+
trigger: import('..').TPopperTrigger;
|
|
376
|
+
closeDelay: number;
|
|
377
|
+
closeOnClickOutside: boolean;
|
|
378
|
+
flipOptions: Partial<{
|
|
379
|
+
mainAxis?: boolean | undefined;
|
|
380
|
+
crossAxis?: boolean | undefined;
|
|
381
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
382
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
383
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
384
|
+
flipAlignment?: boolean | undefined;
|
|
385
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
386
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
387
|
+
altBoundary?: boolean | undefined;
|
|
388
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
389
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
390
|
+
}>;
|
|
391
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
392
|
+
shiftOptions: Partial<{
|
|
393
|
+
mainAxis?: boolean | undefined;
|
|
394
|
+
crossAxis?: boolean | undefined;
|
|
395
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
396
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
397
|
+
altBoundary?: boolean | undefined;
|
|
398
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
399
|
+
limiter?: {
|
|
400
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
401
|
+
options?: any;
|
|
402
|
+
} | undefined;
|
|
403
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
404
|
+
}>;
|
|
405
|
+
openDelay: number;
|
|
406
|
+
rootClass: string | string[];
|
|
407
|
+
sameWidthAsTrigger: boolean;
|
|
408
|
+
show: boolean;
|
|
409
|
+
teleportTarget: string;
|
|
410
|
+
triggerClass: string | string[];
|
|
411
|
+
}> & Omit<Readonly<{
|
|
412
|
+
closeDelay?: number;
|
|
413
|
+
closeOnClickOutside?: boolean;
|
|
414
|
+
disabled?: boolean;
|
|
415
|
+
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
416
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
417
|
+
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
418
|
+
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
419
|
+
openDelay?: number;
|
|
420
|
+
placement?: Placement;
|
|
421
|
+
popperWidthClass?: string;
|
|
422
|
+
rootClass?: string | string[];
|
|
423
|
+
sameWidthAsElement?: HTMLElement;
|
|
424
|
+
sameWidthAsTrigger?: boolean;
|
|
425
|
+
show?: boolean;
|
|
426
|
+
teleportTarget?: string;
|
|
427
|
+
trigger?: import('..').TPopperTrigger;
|
|
428
|
+
triggerClass?: string | string[];
|
|
429
|
+
}> & Readonly<{
|
|
430
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
431
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
432
|
+
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
433
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "closeOnClickOutside" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "teleportTarget" | "triggerClass")> & import('vue').ShallowUnwrapRef<{
|
|
434
|
+
close: () => void;
|
|
435
|
+
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
436
|
+
open: () => Promise<void>;
|
|
437
|
+
updateClickOutsideTargets: (targets: HTMLElement[]) => void;
|
|
438
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
439
|
+
$slots: {
|
|
440
|
+
default?(_: {
|
|
441
|
+
visible: boolean;
|
|
442
|
+
}): any;
|
|
443
|
+
content?(_: {
|
|
444
|
+
close: () => void;
|
|
445
|
+
isOpen: true;
|
|
446
|
+
}): any;
|
|
447
|
+
};
|
|
448
|
+
}) | null;
|
|
449
|
+
}, HTMLDivElement>;
|
|
450
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
451
|
+
export default _default;
|
|
452
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
453
|
+
new (): {
|
|
454
|
+
$slots: S;
|
|
455
|
+
};
|
|
456
|
+
};
|