@firstnoodle-ui/bui 0.0.44 → 0.0.46

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firstnoodle-ui/bui",
3
3
  "type": "module",
4
- "version": "0.0.44",
4
+ "version": "0.0.46",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
@@ -35,6 +35,7 @@
35
35
  "dist"
36
36
  ],
37
37
  "peerDependencies": {
38
+ "@floating-ui/core": "^1.7.3",
38
39
  "tailwindcss": "^4.1.1",
39
40
  "vue": "^3.5.13"
40
41
  },
@@ -43,6 +44,7 @@
43
44
  "access": "public"
44
45
  },
45
46
  "dependencies": {
47
+ "@floating-ui/core": "^1.7.3",
46
48
  "@floating-ui/dom": "^1.6.13",
47
49
  "@tiptap/extension-bold": "^2.11.7",
48
50
  "@tiptap/extension-bullet-list": "^2.11.7",
@@ -76,9 +78,9 @@
76
78
  "vue-tsc": "^2.2.8"
77
79
  },
78
80
  "scripts": {
79
- "build": "vite build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json",
81
+ "build": "vite build",
80
82
  "typecheck": "vue-tsc -p tsconfig.app.json --noEmit",
81
83
  "watch": "vite build --watch",
82
- "release:publish": "pnpm publish --access public --otp=436644 --no-git-checks"
84
+ "release:publish": "pnpm publish --access public --otp=162609 --no-git-checks"
83
85
  }
84
86
  }
@@ -1,302 +0,0 @@
1
- import { Placement } from '@floating-ui/dom';
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 disabled?: boolean | undefined;
22
- readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
23
- readonly limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions> | undefined;
24
- readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
25
- readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
26
- readonly openDelay?: number | undefined;
27
- readonly placement?: Placement | undefined;
28
- readonly popperWidthClass?: string | undefined;
29
- readonly rootClass?: string | string[] | undefined;
30
- readonly sameWidthAsElement?: HTMLElement | undefined;
31
- readonly sameWidthAsTrigger?: boolean | undefined;
32
- readonly show?: boolean | undefined;
33
- readonly trigger?: import('..').TPopperTrigger | undefined;
34
- readonly triggerClass?: string | string[] | undefined;
35
- readonly useOverlay?: boolean | undefined;
36
- readonly onClose?: ((...args: any[]) => any) | undefined;
37
- readonly onOpen?: ((...args: any[]) => any) | undefined;
38
- readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
39
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
40
- $attrs: {
41
- [x: string]: unknown;
42
- };
43
- $refs: {
44
- [x: string]: unknown;
45
- } & {
46
- containerRef: HTMLDivElement;
47
- triggerRef: HTMLDivElement;
48
- popperRef: HTMLDivElement;
49
- };
50
- $slots: Readonly<{
51
- [name: string]: import('vue').Slot<any> | undefined;
52
- }>;
53
- $root: import('vue').ComponentPublicInstance | null;
54
- $parent: import('vue').ComponentPublicInstance | null;
55
- $host: Element | null;
56
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
57
- $el: HTMLDivElement;
58
- $options: import('vue').ComponentOptionsBase<Readonly<{
59
- closeDelay?: number;
60
- disabled?: boolean;
61
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
62
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
63
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
64
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
65
- openDelay?: number;
66
- placement?: Placement;
67
- popperWidthClass?: string;
68
- rootClass?: string | string[];
69
- sameWidthAsElement?: HTMLElement;
70
- sameWidthAsTrigger?: boolean;
71
- show?: boolean;
72
- trigger?: import('..').TPopperTrigger;
73
- triggerClass?: string | string[];
74
- useOverlay?: boolean;
75
- }> & Readonly<{
76
- onClose?: ((...args: any[]) => any) | undefined;
77
- onOpen?: ((...args: any[]) => any) | undefined;
78
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
79
- }>, {
80
- close: () => void;
81
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
82
- open: () => Promise<void>;
83
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
84
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
85
- close: (...args: any[]) => void;
86
- open: (...args: any[]) => void;
87
- updateClickOutside: (...args: any[]) => void;
88
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
89
- beforeCreate?: (() => void) | (() => void)[];
90
- created?: (() => void) | (() => void)[];
91
- beforeMount?: (() => void) | (() => void)[];
92
- mounted?: (() => void) | (() => void)[];
93
- beforeUpdate?: (() => void) | (() => void)[];
94
- updated?: (() => void) | (() => void)[];
95
- activated?: (() => void) | (() => void)[];
96
- deactivated?: (() => void) | (() => void)[];
97
- beforeDestroy?: (() => void) | (() => void)[];
98
- beforeUnmount?: (() => void) | (() => void)[];
99
- destroyed?: (() => void) | (() => void)[];
100
- unmounted?: (() => void) | (() => void)[];
101
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
102
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
103
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
104
- };
105
- $forceUpdate: () => void;
106
- $nextTick: typeof import('vue').nextTick;
107
- $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<{}> & Omit<Readonly<{
109
- closeDelay?: number;
110
- disabled?: boolean;
111
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
112
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
113
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
114
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
115
- openDelay?: number;
116
- placement?: Placement;
117
- popperWidthClass?: string;
118
- rootClass?: string | string[];
119
- sameWidthAsElement?: HTMLElement;
120
- sameWidthAsTrigger?: boolean;
121
- show?: boolean;
122
- trigger?: import('..').TPopperTrigger;
123
- triggerClass?: string | string[];
124
- useOverlay?: boolean;
125
- }> & Readonly<{
126
- onClose?: ((...args: any[]) => any) | undefined;
127
- onOpen?: ((...args: any[]) => any) | undefined;
128
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
129
- }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
130
- close: () => void;
131
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
132
- open: () => Promise<void>;
133
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
134
- }> & {} & import('vue').ComponentCustomProperties & {} & {
135
- $slots: {
136
- default?(_: {
137
- visible: boolean;
138
- }): any;
139
- content?(_: {
140
- close: () => void;
141
- isOpen: true;
142
- }): any;
143
- content?(_: {
144
- close: () => void;
145
- isOpen: true;
146
- }): any;
147
- };
148
- }) | null;
149
- };
150
- rootEl: HTMLDivElement;
151
- };
152
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
153
- declare const __VLS_component: import('vue').DefineComponent<PopCalendarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
154
- close: () => any;
155
- open: (targets: HTMLElement[]) => any;
156
- change: (value: Date | null) => any;
157
- }, string, import('vue').PublicProps, Readonly<PopCalendarProps> & Readonly<{
158
- onClose?: (() => any) | undefined;
159
- onOpen?: ((targets: HTMLElement[]) => any) | undefined;
160
- onChange?: ((value: Date | null) => any) | undefined;
161
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
162
- popperRef: ({
163
- $: import('vue').ComponentInternalInstance;
164
- $data: {};
165
- $props: {
166
- readonly closeDelay?: number | undefined;
167
- readonly disabled?: boolean | undefined;
168
- readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
169
- readonly limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions> | undefined;
170
- readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
171
- readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
172
- readonly openDelay?: number | undefined;
173
- readonly placement?: Placement | undefined;
174
- readonly popperWidthClass?: string | undefined;
175
- readonly rootClass?: string | string[] | undefined;
176
- readonly sameWidthAsElement?: HTMLElement | undefined;
177
- readonly sameWidthAsTrigger?: boolean | undefined;
178
- readonly show?: boolean | undefined;
179
- readonly trigger?: import('..').TPopperTrigger | undefined;
180
- readonly triggerClass?: string | string[] | undefined;
181
- readonly useOverlay?: boolean | undefined;
182
- readonly onClose?: ((...args: any[]) => any) | undefined;
183
- readonly onOpen?: ((...args: any[]) => any) | undefined;
184
- readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
185
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
186
- $attrs: {
187
- [x: string]: unknown;
188
- };
189
- $refs: {
190
- [x: string]: unknown;
191
- } & {
192
- containerRef: HTMLDivElement;
193
- triggerRef: HTMLDivElement;
194
- popperRef: HTMLDivElement;
195
- };
196
- $slots: Readonly<{
197
- [name: string]: import('vue').Slot<any> | undefined;
198
- }>;
199
- $root: import('vue').ComponentPublicInstance | null;
200
- $parent: import('vue').ComponentPublicInstance | null;
201
- $host: Element | null;
202
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
203
- $el: HTMLDivElement;
204
- $options: import('vue').ComponentOptionsBase<Readonly<{
205
- closeDelay?: number;
206
- disabled?: boolean;
207
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
208
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
209
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
210
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
211
- openDelay?: number;
212
- placement?: Placement;
213
- popperWidthClass?: string;
214
- rootClass?: string | string[];
215
- sameWidthAsElement?: HTMLElement;
216
- sameWidthAsTrigger?: boolean;
217
- show?: boolean;
218
- trigger?: import('..').TPopperTrigger;
219
- triggerClass?: string | string[];
220
- useOverlay?: boolean;
221
- }> & Readonly<{
222
- onClose?: ((...args: any[]) => any) | undefined;
223
- onOpen?: ((...args: any[]) => any) | undefined;
224
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
225
- }>, {
226
- close: () => void;
227
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
228
- open: () => Promise<void>;
229
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
230
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
231
- close: (...args: any[]) => void;
232
- open: (...args: any[]) => void;
233
- updateClickOutside: (...args: any[]) => void;
234
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
235
- beforeCreate?: (() => void) | (() => void)[];
236
- created?: (() => void) | (() => void)[];
237
- beforeMount?: (() => void) | (() => void)[];
238
- mounted?: (() => void) | (() => void)[];
239
- beforeUpdate?: (() => void) | (() => void)[];
240
- updated?: (() => void) | (() => void)[];
241
- activated?: (() => void) | (() => void)[];
242
- deactivated?: (() => void) | (() => void)[];
243
- beforeDestroy?: (() => void) | (() => void)[];
244
- beforeUnmount?: (() => void) | (() => void)[];
245
- destroyed?: (() => void) | (() => void)[];
246
- unmounted?: (() => void) | (() => void)[];
247
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
248
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
249
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
250
- };
251
- $forceUpdate: () => void;
252
- $nextTick: typeof import('vue').nextTick;
253
- $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<{}> & Omit<Readonly<{
255
- closeDelay?: number;
256
- disabled?: boolean;
257
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
258
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
259
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
260
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
261
- openDelay?: number;
262
- placement?: Placement;
263
- popperWidthClass?: string;
264
- rootClass?: string | string[];
265
- sameWidthAsElement?: HTMLElement;
266
- sameWidthAsTrigger?: boolean;
267
- show?: boolean;
268
- trigger?: import('..').TPopperTrigger;
269
- triggerClass?: string | string[];
270
- useOverlay?: boolean;
271
- }> & Readonly<{
272
- onClose?: ((...args: any[]) => any) | undefined;
273
- onOpen?: ((...args: any[]) => any) | undefined;
274
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
275
- }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
276
- close: () => void;
277
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
278
- open: () => Promise<void>;
279
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
280
- }> & {} & import('vue').ComponentCustomProperties & {} & {
281
- $slots: {
282
- default?(_: {
283
- visible: boolean;
284
- }): any;
285
- content?(_: {
286
- close: () => void;
287
- isOpen: true;
288
- }): any;
289
- content?(_: {
290
- close: () => void;
291
- isOpen: true;
292
- }): any;
293
- };
294
- }) | null;
295
- }, HTMLDivElement>;
296
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
297
- export default _default;
298
- type __VLS_WithTemplateSlots<T, S> = T & {
299
- new (): {
300
- $slots: S;
301
- };
302
- };
@@ -1,309 +0,0 @@
1
- import { Placement } from '@floating-ui/dom';
2
- import { ConfirmCancelProps } from '../confirm-cancel/types';
3
- import { nextTick } from 'vue';
4
- type __VLS_Props = ConfirmCancelProps & {
5
- title?: string;
6
- description?: string;
7
- placement?: Placement;
8
- tagName?: string;
9
- };
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- trigger?(_: {
14
- visible: boolean;
15
- }): any;
16
- };
17
- refs: {
18
- popperRef: ({
19
- $: import('vue').ComponentInternalInstance;
20
- $data: {};
21
- $props: {
22
- readonly closeDelay?: number | undefined;
23
- readonly disabled?: boolean | undefined;
24
- readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
25
- readonly limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions> | undefined;
26
- readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
27
- readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
28
- readonly openDelay?: number | undefined;
29
- readonly placement?: Placement | undefined;
30
- readonly popperWidthClass?: string | undefined;
31
- readonly rootClass?: string | string[] | undefined;
32
- readonly sameWidthAsElement?: HTMLElement | undefined;
33
- readonly sameWidthAsTrigger?: boolean | undefined;
34
- readonly show?: boolean | undefined;
35
- readonly trigger?: import('../types').TPopperTrigger | undefined;
36
- readonly triggerClass?: string | string[] | undefined;
37
- readonly useOverlay?: boolean | undefined;
38
- readonly onClose?: ((...args: any[]) => any) | undefined;
39
- readonly onOpen?: ((...args: any[]) => any) | undefined;
40
- readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
41
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
42
- $attrs: {
43
- [x: string]: unknown;
44
- };
45
- $refs: {
46
- [x: string]: unknown;
47
- } & {
48
- containerRef: HTMLDivElement;
49
- triggerRef: HTMLDivElement;
50
- popperRef: HTMLDivElement;
51
- };
52
- $slots: Readonly<{
53
- [name: string]: import('vue').Slot<any> | undefined;
54
- }>;
55
- $root: import('vue').ComponentPublicInstance | null;
56
- $parent: import('vue').ComponentPublicInstance | null;
57
- $host: Element | null;
58
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
59
- $el: HTMLDivElement;
60
- $options: import('vue').ComponentOptionsBase<Readonly<{
61
- closeDelay?: number;
62
- disabled?: boolean;
63
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
64
- limitShiftOptions?: Partial<import('@floating-ui/dom').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
- trigger?: import('../types').TPopperTrigger;
75
- triggerClass?: string | string[];
76
- useOverlay?: boolean;
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, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
91
- beforeCreate?: (() => void) | (() => void)[];
92
- created?: (() => void) | (() => void)[];
93
- beforeMount?: (() => void) | (() => void)[];
94
- mounted?: (() => void) | (() => void)[];
95
- beforeUpdate?: (() => void) | (() => void)[];
96
- updated?: (() => void) | (() => void)[];
97
- activated?: (() => void) | (() => void)[];
98
- deactivated?: (() => void) | (() => void)[];
99
- beforeDestroy?: (() => void) | (() => void)[];
100
- beforeUnmount?: (() => void) | (() => void)[];
101
- destroyed?: (() => void) | (() => void)[];
102
- unmounted?: (() => void) | (() => void)[];
103
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
104
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
105
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
106
- };
107
- $forceUpdate: () => void;
108
- $nextTick: typeof nextTick;
109
- $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<{}> & Omit<Readonly<{
111
- closeDelay?: number;
112
- disabled?: boolean;
113
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
114
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
115
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
116
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
117
- openDelay?: number;
118
- placement?: Placement;
119
- popperWidthClass?: string;
120
- rootClass?: string | string[];
121
- sameWidthAsElement?: HTMLElement;
122
- sameWidthAsTrigger?: boolean;
123
- show?: boolean;
124
- trigger?: import('../types').TPopperTrigger;
125
- triggerClass?: string | string[];
126
- useOverlay?: boolean;
127
- }> & Readonly<{
128
- onClose?: ((...args: any[]) => any) | undefined;
129
- onOpen?: ((...args: any[]) => any) | undefined;
130
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
131
- }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
132
- close: () => void;
133
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
134
- open: () => Promise<void>;
135
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
136
- }> & {} & import('vue').ComponentCustomProperties & {} & {
137
- $slots: {
138
- default?(_: {
139
- visible: boolean;
140
- }): any;
141
- content?(_: {
142
- close: () => void;
143
- isOpen: true;
144
- }): any;
145
- content?(_: {
146
- close: () => void;
147
- isOpen: true;
148
- }): any;
149
- };
150
- }) | null;
151
- contentRef: HTMLDivElement;
152
- };
153
- rootEl: HTMLDivElement;
154
- };
155
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
156
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
157
- close: (...args: any[]) => void;
158
- cancel: (...args: any[]) => void;
159
- confirm: (...args: any[]) => void;
160
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
161
- onClose?: ((...args: any[]) => any) | undefined;
162
- onCancel?: ((...args: any[]) => any) | undefined;
163
- onConfirm?: ((...args: any[]) => any) | undefined;
164
- }>, {
165
- placement: Placement;
166
- tagName: string;
167
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
168
- popperRef: ({
169
- $: import('vue').ComponentInternalInstance;
170
- $data: {};
171
- $props: {
172
- readonly closeDelay?: number | undefined;
173
- readonly disabled?: boolean | undefined;
174
- readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
175
- readonly limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions> | undefined;
176
- readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
177
- readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
178
- readonly openDelay?: number | undefined;
179
- readonly placement?: Placement | undefined;
180
- readonly popperWidthClass?: string | undefined;
181
- readonly rootClass?: string | string[] | undefined;
182
- readonly sameWidthAsElement?: HTMLElement | undefined;
183
- readonly sameWidthAsTrigger?: boolean | undefined;
184
- readonly show?: boolean | undefined;
185
- readonly trigger?: import('../types').TPopperTrigger | undefined;
186
- readonly triggerClass?: string | string[] | undefined;
187
- readonly useOverlay?: boolean | undefined;
188
- readonly onClose?: ((...args: any[]) => any) | undefined;
189
- readonly onOpen?: ((...args: any[]) => any) | undefined;
190
- readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
191
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
192
- $attrs: {
193
- [x: string]: unknown;
194
- };
195
- $refs: {
196
- [x: string]: unknown;
197
- } & {
198
- containerRef: HTMLDivElement;
199
- triggerRef: HTMLDivElement;
200
- popperRef: HTMLDivElement;
201
- };
202
- $slots: Readonly<{
203
- [name: string]: import('vue').Slot<any> | undefined;
204
- }>;
205
- $root: import('vue').ComponentPublicInstance | null;
206
- $parent: import('vue').ComponentPublicInstance | null;
207
- $host: Element | null;
208
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
209
- $el: HTMLDivElement;
210
- $options: import('vue').ComponentOptionsBase<Readonly<{
211
- closeDelay?: number;
212
- disabled?: boolean;
213
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
214
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
215
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
216
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
217
- openDelay?: number;
218
- placement?: Placement;
219
- popperWidthClass?: string;
220
- rootClass?: string | string[];
221
- sameWidthAsElement?: HTMLElement;
222
- sameWidthAsTrigger?: boolean;
223
- show?: boolean;
224
- trigger?: import('../types').TPopperTrigger;
225
- triggerClass?: string | string[];
226
- useOverlay?: boolean;
227
- }> & Readonly<{
228
- onClose?: ((...args: any[]) => any) | undefined;
229
- onOpen?: ((...args: any[]) => any) | undefined;
230
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
231
- }>, {
232
- close: () => void;
233
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
234
- open: () => Promise<void>;
235
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
236
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
237
- close: (...args: any[]) => void;
238
- open: (...args: any[]) => void;
239
- updateClickOutside: (...args: any[]) => void;
240
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
241
- beforeCreate?: (() => void) | (() => void)[];
242
- created?: (() => void) | (() => void)[];
243
- beforeMount?: (() => void) | (() => void)[];
244
- mounted?: (() => void) | (() => void)[];
245
- beforeUpdate?: (() => void) | (() => void)[];
246
- updated?: (() => void) | (() => void)[];
247
- activated?: (() => void) | (() => void)[];
248
- deactivated?: (() => void) | (() => void)[];
249
- beforeDestroy?: (() => void) | (() => void)[];
250
- beforeUnmount?: (() => void) | (() => void)[];
251
- destroyed?: (() => void) | (() => void)[];
252
- unmounted?: (() => void) | (() => void)[];
253
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
254
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
255
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
256
- };
257
- $forceUpdate: () => void;
258
- $nextTick: typeof nextTick;
259
- $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<{}> & Omit<Readonly<{
261
- closeDelay?: number;
262
- disabled?: boolean;
263
- flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
264
- limitShiftOptions?: Partial<import('@floating-ui/dom').LimitShiftOptions>;
265
- offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
266
- shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
267
- openDelay?: number;
268
- placement?: Placement;
269
- popperWidthClass?: string;
270
- rootClass?: string | string[];
271
- sameWidthAsElement?: HTMLElement;
272
- sameWidthAsTrigger?: boolean;
273
- show?: boolean;
274
- trigger?: import('../types').TPopperTrigger;
275
- triggerClass?: string | string[];
276
- useOverlay?: boolean;
277
- }> & Readonly<{
278
- onClose?: ((...args: any[]) => any) | undefined;
279
- onOpen?: ((...args: any[]) => any) | undefined;
280
- onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
281
- }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets"> & import('vue').ShallowUnwrapRef<{
282
- close: () => void;
283
- containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
284
- open: () => Promise<void>;
285
- updateClickOutsideTargets: (targets: HTMLElement[]) => void;
286
- }> & {} & import('vue').ComponentCustomProperties & {} & {
287
- $slots: {
288
- default?(_: {
289
- visible: boolean;
290
- }): any;
291
- content?(_: {
292
- close: () => void;
293
- isOpen: true;
294
- }): any;
295
- content?(_: {
296
- close: () => void;
297
- isOpen: true;
298
- }): any;
299
- };
300
- }) | null;
301
- contentRef: HTMLDivElement;
302
- }, HTMLDivElement>;
303
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
304
- export default _default;
305
- type __VLS_WithTemplateSlots<T, S> = T & {
306
- new (): {
307
- $slots: S;
308
- };
309
- };