@firstnoodle-ui/bui 0.0.44 → 0.0.49
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/button/Button.vue.d.ts +1 -1
- package/dist/components/pop-calendar/PopCalendar.vue.d.ts +165 -13
- package/dist/components/pop-confirm/PopConfirm.vue.d.ts +165 -13
- package/dist/components/pop-select/PopSelect.vue.d.ts +1 -1
- package/dist/components/popper/Popper.vue.d.ts +40 -2
- 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 +11 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2529 -2544
- package/dist/types/floating-ui.d.ts +11 -0
- package/package.json +5 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Placement } from '
|
|
1
|
+
import { Placement } from '../../types/floating-ui';
|
|
2
2
|
import { CalendarViewProps } from '../calendar-view/types';
|
|
3
3
|
type PopCalendarProps = {
|
|
4
4
|
mode?: "immediate" | "confirmation";
|
|
@@ -20,7 +20,7 @@ declare function __VLS_template(): {
|
|
|
20
20
|
readonly closeDelay?: number | undefined;
|
|
21
21
|
readonly disabled?: boolean | undefined;
|
|
22
22
|
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
23
|
-
readonly limitShiftOptions?: Partial<import('@floating-ui/
|
|
23
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
24
24
|
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
25
25
|
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
26
26
|
readonly openDelay?: number | undefined;
|
|
@@ -59,7 +59,7 @@ declare function __VLS_template(): {
|
|
|
59
59
|
closeDelay?: number;
|
|
60
60
|
disabled?: boolean;
|
|
61
61
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
62
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
62
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
63
63
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
64
64
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
65
65
|
openDelay?: number;
|
|
@@ -85,7 +85,45 @@ declare function __VLS_template(): {
|
|
|
85
85
|
close: (...args: any[]) => void;
|
|
86
86
|
open: (...args: any[]) => void;
|
|
87
87
|
updateClickOutside: (...args: any[]) => void;
|
|
88
|
-
}, string, {
|
|
88
|
+
}, string, {
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
placement: Placement;
|
|
91
|
+
trigger: import('..').TPopperTrigger;
|
|
92
|
+
closeDelay: number;
|
|
93
|
+
flipOptions: Partial<{
|
|
94
|
+
mainAxis?: boolean | undefined;
|
|
95
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
96
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
97
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
98
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
99
|
+
flipAlignment?: boolean | undefined;
|
|
100
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
101
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
102
|
+
altBoundary?: boolean | undefined;
|
|
103
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
104
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
107
|
+
shiftOptions: Partial<{
|
|
108
|
+
mainAxis?: boolean | undefined;
|
|
109
|
+
crossAxis?: boolean | undefined;
|
|
110
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
111
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
112
|
+
altBoundary?: boolean | undefined;
|
|
113
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
114
|
+
limiter?: {
|
|
115
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
116
|
+
options?: any;
|
|
117
|
+
} | undefined;
|
|
118
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
openDelay: number;
|
|
121
|
+
rootClass: string | string[];
|
|
122
|
+
sameWidthAsTrigger: boolean;
|
|
123
|
+
show: boolean;
|
|
124
|
+
triggerClass: string | string[];
|
|
125
|
+
useOverlay: boolean;
|
|
126
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
89
127
|
beforeCreate?: (() => void) | (() => void)[];
|
|
90
128
|
created?: (() => void) | (() => void)[];
|
|
91
129
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -105,11 +143,49 @@ declare function __VLS_template(): {
|
|
|
105
143
|
$forceUpdate: () => void;
|
|
106
144
|
$nextTick: typeof import('vue').nextTick;
|
|
107
145
|
$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;
|
|
108
|
-
} & Readonly<{
|
|
146
|
+
} & Readonly<{
|
|
147
|
+
disabled: boolean;
|
|
148
|
+
placement: Placement;
|
|
149
|
+
trigger: import('..').TPopperTrigger;
|
|
150
|
+
closeDelay: number;
|
|
151
|
+
flipOptions: Partial<{
|
|
152
|
+
mainAxis?: boolean | undefined;
|
|
153
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
154
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
155
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
156
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
157
|
+
flipAlignment?: boolean | undefined;
|
|
158
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
159
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
160
|
+
altBoundary?: boolean | undefined;
|
|
161
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
162
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
163
|
+
}>;
|
|
164
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
165
|
+
shiftOptions: Partial<{
|
|
166
|
+
mainAxis?: boolean | undefined;
|
|
167
|
+
crossAxis?: boolean | undefined;
|
|
168
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
169
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
170
|
+
altBoundary?: boolean | undefined;
|
|
171
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
172
|
+
limiter?: {
|
|
173
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
174
|
+
options?: any;
|
|
175
|
+
} | undefined;
|
|
176
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
177
|
+
}>;
|
|
178
|
+
openDelay: number;
|
|
179
|
+
rootClass: string | string[];
|
|
180
|
+
sameWidthAsTrigger: boolean;
|
|
181
|
+
show: boolean;
|
|
182
|
+
triggerClass: string | string[];
|
|
183
|
+
useOverlay: boolean;
|
|
184
|
+
}> & Omit<Readonly<{
|
|
109
185
|
closeDelay?: number;
|
|
110
186
|
disabled?: boolean;
|
|
111
187
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
112
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
188
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
113
189
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
114
190
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
115
191
|
openDelay?: number;
|
|
@@ -126,7 +202,7 @@ declare function __VLS_template(): {
|
|
|
126
202
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
127
203
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
128
204
|
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
129
|
-
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
|
|
205
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "triggerClass" | "useOverlay")> & import('vue').ShallowUnwrapRef<{
|
|
130
206
|
close: () => void;
|
|
131
207
|
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
132
208
|
open: () => Promise<void>;
|
|
@@ -166,7 +242,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {
|
|
|
166
242
|
readonly closeDelay?: number | undefined;
|
|
167
243
|
readonly disabled?: boolean | undefined;
|
|
168
244
|
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
169
|
-
readonly limitShiftOptions?: Partial<import('@floating-ui/
|
|
245
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
170
246
|
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
171
247
|
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
172
248
|
readonly openDelay?: number | undefined;
|
|
@@ -205,7 +281,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {
|
|
|
205
281
|
closeDelay?: number;
|
|
206
282
|
disabled?: boolean;
|
|
207
283
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
208
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
284
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
209
285
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
210
286
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
211
287
|
openDelay?: number;
|
|
@@ -231,7 +307,45 @@ declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {
|
|
|
231
307
|
close: (...args: any[]) => void;
|
|
232
308
|
open: (...args: any[]) => void;
|
|
233
309
|
updateClickOutside: (...args: any[]) => void;
|
|
234
|
-
}, string, {
|
|
310
|
+
}, string, {
|
|
311
|
+
disabled: boolean;
|
|
312
|
+
placement: Placement;
|
|
313
|
+
trigger: import('..').TPopperTrigger;
|
|
314
|
+
closeDelay: number;
|
|
315
|
+
flipOptions: Partial<{
|
|
316
|
+
mainAxis?: boolean | undefined;
|
|
317
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
318
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
319
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
320
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
321
|
+
flipAlignment?: boolean | undefined;
|
|
322
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
323
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
324
|
+
altBoundary?: boolean | undefined;
|
|
325
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
326
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
329
|
+
shiftOptions: Partial<{
|
|
330
|
+
mainAxis?: boolean | undefined;
|
|
331
|
+
crossAxis?: boolean | undefined;
|
|
332
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
333
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
334
|
+
altBoundary?: boolean | undefined;
|
|
335
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
336
|
+
limiter?: {
|
|
337
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
338
|
+
options?: any;
|
|
339
|
+
} | undefined;
|
|
340
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
341
|
+
}>;
|
|
342
|
+
openDelay: number;
|
|
343
|
+
rootClass: string | string[];
|
|
344
|
+
sameWidthAsTrigger: boolean;
|
|
345
|
+
show: boolean;
|
|
346
|
+
triggerClass: string | string[];
|
|
347
|
+
useOverlay: boolean;
|
|
348
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
235
349
|
beforeCreate?: (() => void) | (() => void)[];
|
|
236
350
|
created?: (() => void) | (() => void)[];
|
|
237
351
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -251,11 +365,49 @@ declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {
|
|
|
251
365
|
$forceUpdate: () => void;
|
|
252
366
|
$nextTick: typeof import('vue').nextTick;
|
|
253
367
|
$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;
|
|
254
|
-
} & Readonly<{
|
|
368
|
+
} & Readonly<{
|
|
369
|
+
disabled: boolean;
|
|
370
|
+
placement: Placement;
|
|
371
|
+
trigger: import('..').TPopperTrigger;
|
|
372
|
+
closeDelay: number;
|
|
373
|
+
flipOptions: Partial<{
|
|
374
|
+
mainAxis?: boolean | undefined;
|
|
375
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
376
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
377
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
378
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
379
|
+
flipAlignment?: boolean | undefined;
|
|
380
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
381
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
382
|
+
altBoundary?: boolean | undefined;
|
|
383
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
384
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
385
|
+
}>;
|
|
386
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
387
|
+
shiftOptions: Partial<{
|
|
388
|
+
mainAxis?: boolean | undefined;
|
|
389
|
+
crossAxis?: boolean | undefined;
|
|
390
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
391
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
392
|
+
altBoundary?: boolean | undefined;
|
|
393
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
394
|
+
limiter?: {
|
|
395
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
396
|
+
options?: any;
|
|
397
|
+
} | undefined;
|
|
398
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
399
|
+
}>;
|
|
400
|
+
openDelay: number;
|
|
401
|
+
rootClass: string | string[];
|
|
402
|
+
sameWidthAsTrigger: boolean;
|
|
403
|
+
show: boolean;
|
|
404
|
+
triggerClass: string | string[];
|
|
405
|
+
useOverlay: boolean;
|
|
406
|
+
}> & Omit<Readonly<{
|
|
255
407
|
closeDelay?: number;
|
|
256
408
|
disabled?: boolean;
|
|
257
409
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
258
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
410
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
259
411
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
260
412
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
261
413
|
openDelay?: number;
|
|
@@ -272,7 +424,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {
|
|
|
272
424
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
273
425
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
274
426
|
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
275
|
-
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
|
|
427
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "triggerClass" | "useOverlay")> & import('vue').ShallowUnwrapRef<{
|
|
276
428
|
close: () => void;
|
|
277
429
|
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
278
430
|
open: () => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Placement } from '
|
|
1
|
+
import { Placement } from '../../types/floating-ui';
|
|
2
2
|
import { ConfirmCancelProps } from '../confirm-cancel/types';
|
|
3
3
|
import { nextTick } from 'vue';
|
|
4
4
|
type __VLS_Props = ConfirmCancelProps & {
|
|
@@ -22,7 +22,7 @@ declare function __VLS_template(): {
|
|
|
22
22
|
readonly closeDelay?: number | undefined;
|
|
23
23
|
readonly disabled?: boolean | undefined;
|
|
24
24
|
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
25
|
-
readonly limitShiftOptions?: Partial<import('@floating-ui/
|
|
25
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
26
26
|
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
27
27
|
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
28
28
|
readonly openDelay?: number | undefined;
|
|
@@ -61,7 +61,7 @@ declare function __VLS_template(): {
|
|
|
61
61
|
closeDelay?: number;
|
|
62
62
|
disabled?: boolean;
|
|
63
63
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
64
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
64
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
65
65
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
66
66
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
67
67
|
openDelay?: number;
|
|
@@ -87,7 +87,45 @@ declare function __VLS_template(): {
|
|
|
87
87
|
close: (...args: any[]) => void;
|
|
88
88
|
open: (...args: any[]) => void;
|
|
89
89
|
updateClickOutside: (...args: any[]) => void;
|
|
90
|
-
}, string, {
|
|
90
|
+
}, string, {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
placement: Placement;
|
|
93
|
+
trigger: import('../types').TPopperTrigger;
|
|
94
|
+
closeDelay: number;
|
|
95
|
+
flipOptions: Partial<{
|
|
96
|
+
mainAxis?: boolean | undefined;
|
|
97
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
98
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
99
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
100
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
101
|
+
flipAlignment?: boolean | undefined;
|
|
102
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
103
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
104
|
+
altBoundary?: boolean | undefined;
|
|
105
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
106
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
109
|
+
shiftOptions: Partial<{
|
|
110
|
+
mainAxis?: boolean | undefined;
|
|
111
|
+
crossAxis?: boolean | undefined;
|
|
112
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
113
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
114
|
+
altBoundary?: boolean | undefined;
|
|
115
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
116
|
+
limiter?: {
|
|
117
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
118
|
+
options?: any;
|
|
119
|
+
} | undefined;
|
|
120
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
openDelay: number;
|
|
123
|
+
rootClass: string | string[];
|
|
124
|
+
sameWidthAsTrigger: boolean;
|
|
125
|
+
show: boolean;
|
|
126
|
+
triggerClass: string | string[];
|
|
127
|
+
useOverlay: boolean;
|
|
128
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
91
129
|
beforeCreate?: (() => void) | (() => void)[];
|
|
92
130
|
created?: (() => void) | (() => void)[];
|
|
93
131
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -107,11 +145,49 @@ declare function __VLS_template(): {
|
|
|
107
145
|
$forceUpdate: () => void;
|
|
108
146
|
$nextTick: typeof nextTick;
|
|
109
147
|
$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;
|
|
110
|
-
} & Readonly<{
|
|
148
|
+
} & Readonly<{
|
|
149
|
+
disabled: boolean;
|
|
150
|
+
placement: Placement;
|
|
151
|
+
trigger: import('../types').TPopperTrigger;
|
|
152
|
+
closeDelay: number;
|
|
153
|
+
flipOptions: Partial<{
|
|
154
|
+
mainAxis?: boolean | undefined;
|
|
155
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
156
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
157
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
158
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
159
|
+
flipAlignment?: boolean | undefined;
|
|
160
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
161
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
162
|
+
altBoundary?: boolean | undefined;
|
|
163
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
164
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
165
|
+
}>;
|
|
166
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
167
|
+
shiftOptions: Partial<{
|
|
168
|
+
mainAxis?: boolean | undefined;
|
|
169
|
+
crossAxis?: boolean | undefined;
|
|
170
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
171
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
172
|
+
altBoundary?: boolean | undefined;
|
|
173
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
174
|
+
limiter?: {
|
|
175
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
176
|
+
options?: any;
|
|
177
|
+
} | undefined;
|
|
178
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
openDelay: number;
|
|
181
|
+
rootClass: string | string[];
|
|
182
|
+
sameWidthAsTrigger: boolean;
|
|
183
|
+
show: boolean;
|
|
184
|
+
triggerClass: string | string[];
|
|
185
|
+
useOverlay: boolean;
|
|
186
|
+
}> & Omit<Readonly<{
|
|
111
187
|
closeDelay?: number;
|
|
112
188
|
disabled?: boolean;
|
|
113
189
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
114
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
190
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
115
191
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
116
192
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
117
193
|
openDelay?: number;
|
|
@@ -128,7 +204,7 @@ declare function __VLS_template(): {
|
|
|
128
204
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
129
205
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
130
206
|
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
|
|
207
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "triggerClass" | "useOverlay")> & import('vue').ShallowUnwrapRef<{
|
|
132
208
|
close: () => void;
|
|
133
209
|
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
134
210
|
open: () => Promise<void>;
|
|
@@ -172,7 +248,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
172
248
|
readonly closeDelay?: number | undefined;
|
|
173
249
|
readonly disabled?: boolean | undefined;
|
|
174
250
|
readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
|
|
175
|
-
readonly limitShiftOptions?: Partial<import('@floating-ui/
|
|
251
|
+
readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
|
|
176
252
|
readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
|
|
177
253
|
readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
|
|
178
254
|
readonly openDelay?: number | undefined;
|
|
@@ -211,7 +287,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
211
287
|
closeDelay?: number;
|
|
212
288
|
disabled?: boolean;
|
|
213
289
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
214
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
290
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
215
291
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
216
292
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
217
293
|
openDelay?: number;
|
|
@@ -237,7 +313,45 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
237
313
|
close: (...args: any[]) => void;
|
|
238
314
|
open: (...args: any[]) => void;
|
|
239
315
|
updateClickOutside: (...args: any[]) => void;
|
|
240
|
-
}, string, {
|
|
316
|
+
}, string, {
|
|
317
|
+
disabled: boolean;
|
|
318
|
+
placement: Placement;
|
|
319
|
+
trigger: import('../types').TPopperTrigger;
|
|
320
|
+
closeDelay: number;
|
|
321
|
+
flipOptions: Partial<{
|
|
322
|
+
mainAxis?: boolean | undefined;
|
|
323
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
324
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
325
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
326
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
327
|
+
flipAlignment?: boolean | undefined;
|
|
328
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
329
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
330
|
+
altBoundary?: boolean | undefined;
|
|
331
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
332
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
333
|
+
}>;
|
|
334
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
335
|
+
shiftOptions: Partial<{
|
|
336
|
+
mainAxis?: boolean | undefined;
|
|
337
|
+
crossAxis?: boolean | undefined;
|
|
338
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
339
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
340
|
+
altBoundary?: boolean | undefined;
|
|
341
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
342
|
+
limiter?: {
|
|
343
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
344
|
+
options?: any;
|
|
345
|
+
} | undefined;
|
|
346
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
347
|
+
}>;
|
|
348
|
+
openDelay: number;
|
|
349
|
+
rootClass: string | string[];
|
|
350
|
+
sameWidthAsTrigger: boolean;
|
|
351
|
+
show: boolean;
|
|
352
|
+
triggerClass: string | string[];
|
|
353
|
+
useOverlay: boolean;
|
|
354
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
241
355
|
beforeCreate?: (() => void) | (() => void)[];
|
|
242
356
|
created?: (() => void) | (() => void)[];
|
|
243
357
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -257,11 +371,49 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
257
371
|
$forceUpdate: () => void;
|
|
258
372
|
$nextTick: typeof nextTick;
|
|
259
373
|
$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;
|
|
260
|
-
} & Readonly<{
|
|
374
|
+
} & Readonly<{
|
|
375
|
+
disabled: boolean;
|
|
376
|
+
placement: Placement;
|
|
377
|
+
trigger: import('../types').TPopperTrigger;
|
|
378
|
+
closeDelay: number;
|
|
379
|
+
flipOptions: Partial<{
|
|
380
|
+
mainAxis?: boolean | undefined;
|
|
381
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
382
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
383
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
384
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
385
|
+
flipAlignment?: boolean | undefined;
|
|
386
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
387
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
388
|
+
altBoundary?: boolean | undefined;
|
|
389
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
390
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
391
|
+
}>;
|
|
392
|
+
offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
393
|
+
shiftOptions: Partial<{
|
|
394
|
+
mainAxis?: boolean | undefined;
|
|
395
|
+
crossAxis?: boolean | undefined;
|
|
396
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
397
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
398
|
+
altBoundary?: boolean | undefined;
|
|
399
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
400
|
+
limiter?: {
|
|
401
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
402
|
+
options?: any;
|
|
403
|
+
} | undefined;
|
|
404
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
405
|
+
}>;
|
|
406
|
+
openDelay: number;
|
|
407
|
+
rootClass: string | string[];
|
|
408
|
+
sameWidthAsTrigger: boolean;
|
|
409
|
+
show: boolean;
|
|
410
|
+
triggerClass: string | string[];
|
|
411
|
+
useOverlay: boolean;
|
|
412
|
+
}> & Omit<Readonly<{
|
|
261
413
|
closeDelay?: number;
|
|
262
414
|
disabled?: boolean;
|
|
263
415
|
flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
|
|
264
|
-
limitShiftOptions?: Partial<import('@floating-ui/
|
|
416
|
+
limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
|
|
265
417
|
offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
|
|
266
418
|
shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
|
|
267
419
|
openDelay?: number;
|
|
@@ -278,7 +430,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
278
430
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
279
431
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
280
432
|
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
281
|
-
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
|
|
433
|
+
}>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "triggerClass" | "useOverlay")> & import('vue').ShallowUnwrapRef<{
|
|
282
434
|
close: () => void;
|
|
283
435
|
containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
284
436
|
open: () => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Placement } from '
|
|
1
|
+
import { Placement } from '../../types/floating-ui';
|
|
2
2
|
import { TIcon, TPopSelectOption, TPopSelectResultFilter } from '../types';
|
|
3
3
|
declare const _default: <T extends TPopSelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlipOptions, LimitShiftOptions, OffsetOptions, Placement, ShiftOptions } from '
|
|
1
|
+
import { FlipOptions, LimitShiftOptions, OffsetOptions, Placement, ShiftOptions } from '../../types/floating-ui';
|
|
2
2
|
import { TPopperTrigger } from '../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
closeDelay?: number;
|
|
@@ -54,7 +54,45 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
54
54
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}>, {
|
|
57
|
+
}>, {
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
placement: Placement;
|
|
60
|
+
trigger: TPopperTrigger;
|
|
61
|
+
closeDelay: number;
|
|
62
|
+
flipOptions: Partial<{
|
|
63
|
+
mainAxis?: boolean | undefined;
|
|
64
|
+
crossAxis?: boolean | "alignment" | undefined;
|
|
65
|
+
fallbackPlacements?: Array<Placement> | undefined;
|
|
66
|
+
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
67
|
+
fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
|
|
68
|
+
flipAlignment?: boolean | undefined;
|
|
69
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
70
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
71
|
+
altBoundary?: boolean | undefined;
|
|
72
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
73
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
offsetOptions: Partial<OffsetOptions>;
|
|
76
|
+
shiftOptions: Partial<{
|
|
77
|
+
mainAxis?: boolean | undefined;
|
|
78
|
+
crossAxis?: boolean | undefined;
|
|
79
|
+
rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
|
|
80
|
+
elementContext?: import('@floating-ui/core').ElementContext | undefined;
|
|
81
|
+
altBoundary?: boolean | undefined;
|
|
82
|
+
padding?: import('@floating-ui/core').Padding | undefined;
|
|
83
|
+
limiter?: {
|
|
84
|
+
fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
|
|
85
|
+
options?: any;
|
|
86
|
+
} | undefined;
|
|
87
|
+
boundary?: import('@floating-ui/dom').Boundary | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
openDelay: number;
|
|
90
|
+
rootClass: string | string[];
|
|
91
|
+
sameWidthAsTrigger: boolean;
|
|
92
|
+
show: boolean;
|
|
93
|
+
triggerClass: string | string[];
|
|
94
|
+
useOverlay: boolean;
|
|
95
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
58
96
|
containerRef: HTMLDivElement;
|
|
59
97
|
triggerRef: HTMLDivElement;
|
|
60
98
|
popperRef: HTMLDivElement;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const sameWidthAsTriggerMiddleware: {
|
|
2
2
|
options?: any;
|
|
3
3
|
name: string;
|
|
4
|
-
fn: (state: import('@floating-ui/dom').MiddlewareState) => import('@floating-ui/
|
|
4
|
+
fn: (state: import('@floating-ui/dom').MiddlewareState) => import('@floating-ui/core').MiddlewareReturn | Promise<import('@floating-ui/core').MiddlewareReturn>;
|
|
5
5
|
};
|
|
6
6
|
export declare const sameWidthAsElementMiddleware: (element: HTMLElement) => {
|
|
7
7
|
options?: any;
|
|
8
8
|
name: string;
|
|
9
|
-
fn: (state: import('@floating-ui/dom').MiddlewareState) => import('@floating-ui/
|
|
9
|
+
fn: (state: import('@floating-ui/dom').MiddlewareState) => import('@floating-ui/core').MiddlewareReturn | Promise<import('@floating-ui/core').MiddlewareReturn>;
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Placement } from '
|
|
1
|
+
import { Placement } from '../../types/floating-ui';
|
|
2
2
|
import { TPopperTrigger } from '../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
bgColorClass?: string;
|
|
@@ -21,7 +21,16 @@ declare function __VLS_template(): {
|
|
|
21
21
|
rootEl: HTMLDivElement;
|
|
22
22
|
};
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
bgColorClass: string;
|
|
26
|
+
delay: number;
|
|
27
|
+
offsetMain: number;
|
|
28
|
+
offsetCross: number;
|
|
29
|
+
placement: Placement;
|
|
30
|
+
textColorClass: string;
|
|
31
|
+
trigger: TPopperTrigger;
|
|
32
|
+
triggerFullWidth: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
35
|
export default _default;
|
|
27
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/index.d.ts
CHANGED