@agrotools1/at-components 2.0.37 → 2.0.38

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.
@@ -1,18 +1,425 @@
1
- import { TabsListProps } from 'reka-ui';
2
- import { HTMLAttributes } from 'vue';
1
+ import { TabsListProps, TabsList } from 'reka-ui';
2
+ import { HTMLAttributes, nextTick } from 'vue';
3
+ import { ChevronRight } from 'lucide-vue-next';
4
+ import { cn } from '../lib/utils';
5
+ import { AgtDropdownMenu, AgtDropdownMenuTrigger, AgtDropdownMenuContent, AgtDropdownMenuItem } from '../dropdown-menu';
6
+ import { tabsTriggerVariants } from './tabs.variants';
3
7
  type __VLS_Props = TabsListProps & {
4
8
  class?: HTMLAttributes['class'];
9
+ align?: 'start' | 'center';
10
+ overflowLabel?: string;
5
11
  };
12
+ declare const delegatedProps: Omit<Readonly<{
13
+ loop: boolean;
14
+ asChild: boolean;
15
+ as: import('reka-ui').AsTag | import('vue').Component;
16
+ class: HTMLAttributes["class"];
17
+ }> & {
18
+ readonly align: "start" | "center";
19
+ readonly overflowLabel: string;
20
+ } & {
21
+ readonly asChild: boolean;
22
+ readonly class: boolean;
23
+ readonly loop: boolean;
24
+ }, "class" | "align" | "overflowLabel">;
25
+ declare const listRef: import('vue').Ref<({
26
+ $: import('vue').ComponentInternalInstance;
27
+ $data: {};
28
+ $props: {
29
+ readonly loop?: boolean | undefined;
30
+ readonly asChild?: boolean | undefined;
31
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
32
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
+ $attrs: {
34
+ [x: string]: unknown;
35
+ };
36
+ $refs: {
37
+ [x: string]: unknown;
38
+ };
39
+ $slots: Readonly<{
40
+ [name: string]: import('vue').Slot<any> | undefined;
41
+ }>;
42
+ $root: import('vue').ComponentPublicInstance | null;
43
+ $parent: import('vue').ComponentPublicInstance | null;
44
+ $host: Element | null;
45
+ $emit: (event: string, ...args: any[]) => void;
46
+ $el: any;
47
+ $options: import('vue').ComponentOptionsBase<Readonly<TabsListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
48
+ loop: boolean;
49
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
50
+ beforeCreate?: (() => void) | (() => void)[];
51
+ created?: (() => void) | (() => void)[];
52
+ beforeMount?: (() => void) | (() => void)[];
53
+ mounted?: (() => void) | (() => void)[];
54
+ beforeUpdate?: (() => void) | (() => void)[];
55
+ updated?: (() => void) | (() => void)[];
56
+ activated?: (() => void) | (() => void)[];
57
+ deactivated?: (() => void) | (() => void)[];
58
+ beforeDestroy?: (() => void) | (() => void)[];
59
+ beforeUnmount?: (() => void) | (() => void)[];
60
+ destroyed?: (() => void) | (() => void)[];
61
+ unmounted?: (() => void) | (() => void)[];
62
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
63
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
64
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof nextTick;
68
+ $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;
69
+ } & Readonly<{
70
+ loop: boolean;
71
+ }> & Omit<Readonly<TabsListProps> & Readonly<{}>, "loop"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
72
+ $slots: {
73
+ default?: (props: {}) => any;
74
+ };
75
+ }) | null, ({
76
+ $: import('vue').ComponentInternalInstance;
77
+ $data: {};
78
+ $props: {
79
+ readonly loop?: boolean | undefined;
80
+ readonly asChild?: boolean | undefined;
81
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
82
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
83
+ $attrs: {
84
+ [x: string]: unknown;
85
+ };
86
+ $refs: {
87
+ [x: string]: unknown;
88
+ };
89
+ $slots: Readonly<{
90
+ [name: string]: import('vue').Slot<any> | undefined;
91
+ }>;
92
+ $root: import('vue').ComponentPublicInstance | null;
93
+ $parent: import('vue').ComponentPublicInstance | null;
94
+ $host: Element | null;
95
+ $emit: (event: string, ...args: any[]) => void;
96
+ $el: any;
97
+ $options: import('vue').ComponentOptionsBase<Readonly<TabsListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
98
+ loop: boolean;
99
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
100
+ beforeCreate?: (() => void) | (() => void)[];
101
+ created?: (() => void) | (() => void)[];
102
+ beforeMount?: (() => void) | (() => void)[];
103
+ mounted?: (() => void) | (() => void)[];
104
+ beforeUpdate?: (() => void) | (() => void)[];
105
+ updated?: (() => void) | (() => void)[];
106
+ activated?: (() => void) | (() => void)[];
107
+ deactivated?: (() => void) | (() => void)[];
108
+ beforeDestroy?: (() => void) | (() => void)[];
109
+ beforeUnmount?: (() => void) | (() => void)[];
110
+ destroyed?: (() => void) | (() => void)[];
111
+ unmounted?: (() => void) | (() => void)[];
112
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
113
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
114
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
115
+ };
116
+ $forceUpdate: () => void;
117
+ $nextTick: typeof nextTick;
118
+ $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;
119
+ } & Readonly<{
120
+ loop: boolean;
121
+ }> & Omit<Readonly<TabsListProps> & Readonly<{}>, "loop"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
122
+ $slots: {
123
+ default?: (props: {}) => any;
124
+ };
125
+ }) | null>;
126
+ declare const wrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
127
+ declare const isDropdownOpen: import('vue').Ref<boolean, boolean>;
128
+ declare const overflowTabs: import('vue').Ref<{
129
+ id: string;
130
+ label: string;
131
+ isActive: boolean;
132
+ }[], import('./useTabsOverflow').OverflowTab[] | {
133
+ id: string;
134
+ label: string;
135
+ isActive: boolean;
136
+ }[]>, hasOverflow: import('vue').Ref<boolean, boolean>;
137
+ declare function handleDropdownClick(tabId: string): void;
6
138
  declare function __VLS_template(): {
7
139
  attrs: Partial<{}>;
8
140
  slots: {
9
141
  default?(_: {}): any;
10
142
  };
11
- refs: {};
12
- rootEl: any;
143
+ refs: {
144
+ wrapperRef: HTMLDivElement;
145
+ listRef: ({
146
+ $: import('vue').ComponentInternalInstance;
147
+ $data: {};
148
+ $props: {
149
+ readonly loop?: boolean | undefined;
150
+ readonly asChild?: boolean | undefined;
151
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
152
+ readonly class?: HTMLAttributes["class"];
153
+ readonly align?: "start" | "center" | undefined;
154
+ readonly overflowLabel?: string | undefined;
155
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
156
+ $attrs: {
157
+ [x: string]: unknown;
158
+ };
159
+ $refs: {
160
+ [x: string]: unknown;
161
+ };
162
+ $slots: Readonly<{
163
+ [name: string]: import('vue').Slot<any> | undefined;
164
+ }>;
165
+ $root: import('vue').ComponentPublicInstance | null;
166
+ $parent: import('vue').ComponentPublicInstance | null;
167
+ $host: Element | null;
168
+ $emit: (event: string, ...args: any[]) => void;
169
+ $el: any;
170
+ $options: import('vue').ComponentOptionsBase<Readonly<__VLS_Props> & Readonly<{}>, {
171
+ TabsList: typeof TabsList;
172
+ ChevronRight: typeof ChevronRight;
173
+ cn: typeof cn;
174
+ AgtDropdownMenu: typeof AgtDropdownMenu;
175
+ AgtDropdownMenuTrigger: typeof AgtDropdownMenuTrigger;
176
+ AgtDropdownMenuContent: typeof AgtDropdownMenuContent;
177
+ AgtDropdownMenuItem: typeof AgtDropdownMenuItem;
178
+ tabsTriggerVariants: typeof tabsTriggerVariants;
179
+ delegatedProps: typeof delegatedProps;
180
+ listRef: typeof listRef;
181
+ wrapperRef: typeof wrapperRef;
182
+ isDropdownOpen: typeof isDropdownOpen;
183
+ overflowTabs: typeof overflowTabs;
184
+ hasOverflow: typeof hasOverflow;
185
+ handleDropdownClick: typeof handleDropdownClick;
186
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
187
+ align: "start" | "center";
188
+ overflowLabel: string;
189
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
190
+ beforeCreate?: (() => void) | (() => void)[];
191
+ created?: (() => void) | (() => void)[];
192
+ beforeMount?: (() => void) | (() => void)[];
193
+ mounted?: (() => void) | (() => void)[];
194
+ beforeUpdate?: (() => void) | (() => void)[];
195
+ updated?: (() => void) | (() => void)[];
196
+ activated?: (() => void) | (() => void)[];
197
+ deactivated?: (() => void) | (() => void)[];
198
+ beforeDestroy?: (() => void) | (() => void)[];
199
+ beforeUnmount?: (() => void) | (() => void)[];
200
+ destroyed?: (() => void) | (() => void)[];
201
+ unmounted?: (() => void) | (() => void)[];
202
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
203
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
204
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
205
+ };
206
+ $forceUpdate: () => void;
207
+ $nextTick: typeof nextTick;
208
+ $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;
209
+ } & Readonly<{
210
+ align: "start" | "center";
211
+ overflowLabel: string;
212
+ }> & Omit<Readonly<__VLS_Props> & Readonly<{}>, "cn" | "delegatedProps" | "ChevronRight" | "wrapperRef" | "overflowTabs" | "hasOverflow" | "TabsList" | "AgtDropdownMenu" | "AgtDropdownMenuTrigger" | "AgtDropdownMenuContent" | "AgtDropdownMenuItem" | "tabsTriggerVariants" | "listRef" | "isDropdownOpen" | "handleDropdownClick" | ("align" | "overflowLabel")> & import('vue').ShallowUnwrapRef<{
213
+ TabsList: typeof TabsList;
214
+ ChevronRight: typeof ChevronRight;
215
+ cn: typeof cn;
216
+ AgtDropdownMenu: typeof AgtDropdownMenu;
217
+ AgtDropdownMenuTrigger: typeof AgtDropdownMenuTrigger;
218
+ AgtDropdownMenuContent: typeof AgtDropdownMenuContent;
219
+ AgtDropdownMenuItem: typeof AgtDropdownMenuItem;
220
+ tabsTriggerVariants: typeof tabsTriggerVariants;
221
+ delegatedProps: typeof delegatedProps;
222
+ listRef: typeof listRef;
223
+ wrapperRef: typeof wrapperRef;
224
+ isDropdownOpen: typeof isDropdownOpen;
225
+ overflowTabs: typeof overflowTabs;
226
+ hasOverflow: typeof hasOverflow;
227
+ handleDropdownClick: typeof handleDropdownClick;
228
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
229
+ $slots: {
230
+ default?(_: {}): any;
231
+ };
232
+ } & {
233
+ $: import('vue').ComponentInternalInstance;
234
+ $data: {};
235
+ $props: {
236
+ readonly loop?: boolean | undefined;
237
+ readonly asChild?: boolean | undefined;
238
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
239
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
240
+ $attrs: {
241
+ [x: string]: unknown;
242
+ };
243
+ $refs: {
244
+ [x: string]: unknown;
245
+ };
246
+ $slots: Readonly<{
247
+ [name: string]: import('vue').Slot<any> | undefined;
248
+ }>;
249
+ $root: import('vue').ComponentPublicInstance | null;
250
+ $parent: import('vue').ComponentPublicInstance | null;
251
+ $host: Element | null;
252
+ $emit: (event: string, ...args: any[]) => void;
253
+ $el: any;
254
+ $options: import('vue').ComponentOptionsBase<Readonly<TabsListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
255
+ loop: boolean;
256
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
257
+ beforeCreate?: (() => void) | (() => void)[];
258
+ created?: (() => void) | (() => void)[];
259
+ beforeMount?: (() => void) | (() => void)[];
260
+ mounted?: (() => void) | (() => void)[];
261
+ beforeUpdate?: (() => void) | (() => void)[];
262
+ updated?: (() => void) | (() => void)[];
263
+ activated?: (() => void) | (() => void)[];
264
+ deactivated?: (() => void) | (() => void)[];
265
+ beforeDestroy?: (() => void) | (() => void)[];
266
+ beforeUnmount?: (() => void) | (() => void)[];
267
+ destroyed?: (() => void) | (() => void)[];
268
+ unmounted?: (() => void) | (() => void)[];
269
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
270
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
271
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
272
+ };
273
+ $forceUpdate: () => void;
274
+ $nextTick: typeof nextTick;
275
+ $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;
276
+ } & Readonly<{
277
+ loop: boolean;
278
+ }> & Omit<Readonly<TabsListProps> & Readonly<{}>, "loop"> & import('vue').ShallowUnwrapRef<{}>) | null;
279
+ };
280
+ rootEl: HTMLDivElement;
13
281
  };
14
282
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
283
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
284
+ align: "start" | "center";
285
+ overflowLabel: string;
286
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
287
+ wrapperRef: HTMLDivElement;
288
+ listRef: ({
289
+ $: import('vue').ComponentInternalInstance;
290
+ $data: {};
291
+ $props: {
292
+ readonly loop?: boolean | undefined;
293
+ readonly asChild?: boolean | undefined;
294
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
295
+ readonly class?: HTMLAttributes["class"];
296
+ readonly align?: "start" | "center" | undefined;
297
+ readonly overflowLabel?: string | undefined;
298
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
299
+ $attrs: {
300
+ [x: string]: unknown;
301
+ };
302
+ $refs: {
303
+ [x: string]: unknown;
304
+ };
305
+ $slots: Readonly<{
306
+ [name: string]: import('vue').Slot<any> | undefined;
307
+ }>;
308
+ $root: import('vue').ComponentPublicInstance | null;
309
+ $parent: import('vue').ComponentPublicInstance | null;
310
+ $host: Element | null;
311
+ $emit: (event: string, ...args: any[]) => void;
312
+ $el: any;
313
+ $options: import('vue').ComponentOptionsBase<Readonly<__VLS_Props> & Readonly<{}>, {
314
+ TabsList: typeof TabsList;
315
+ ChevronRight: typeof ChevronRight;
316
+ cn: typeof cn;
317
+ AgtDropdownMenu: typeof AgtDropdownMenu;
318
+ AgtDropdownMenuTrigger: typeof AgtDropdownMenuTrigger;
319
+ AgtDropdownMenuContent: typeof AgtDropdownMenuContent;
320
+ AgtDropdownMenuItem: typeof AgtDropdownMenuItem;
321
+ tabsTriggerVariants: typeof tabsTriggerVariants;
322
+ delegatedProps: typeof delegatedProps;
323
+ listRef: typeof listRef;
324
+ wrapperRef: typeof wrapperRef;
325
+ isDropdownOpen: typeof isDropdownOpen;
326
+ overflowTabs: typeof overflowTabs;
327
+ hasOverflow: typeof hasOverflow;
328
+ handleDropdownClick: typeof handleDropdownClick;
329
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
330
+ align: "start" | "center";
331
+ overflowLabel: string;
332
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
333
+ beforeCreate?: (() => void) | (() => void)[];
334
+ created?: (() => void) | (() => void)[];
335
+ beforeMount?: (() => void) | (() => void)[];
336
+ mounted?: (() => void) | (() => void)[];
337
+ beforeUpdate?: (() => void) | (() => void)[];
338
+ updated?: (() => void) | (() => void)[];
339
+ activated?: (() => void) | (() => void)[];
340
+ deactivated?: (() => void) | (() => void)[];
341
+ beforeDestroy?: (() => void) | (() => void)[];
342
+ beforeUnmount?: (() => void) | (() => void)[];
343
+ destroyed?: (() => void) | (() => void)[];
344
+ unmounted?: (() => void) | (() => void)[];
345
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
346
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
347
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
348
+ };
349
+ $forceUpdate: () => void;
350
+ $nextTick: typeof nextTick;
351
+ $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;
352
+ } & Readonly<{
353
+ align: "start" | "center";
354
+ overflowLabel: string;
355
+ }> & Omit<Readonly<__VLS_Props> & Readonly<{}>, "cn" | "delegatedProps" | "ChevronRight" | "wrapperRef" | "overflowTabs" | "hasOverflow" | "TabsList" | "AgtDropdownMenu" | "AgtDropdownMenuTrigger" | "AgtDropdownMenuContent" | "AgtDropdownMenuItem" | "tabsTriggerVariants" | "listRef" | "isDropdownOpen" | "handleDropdownClick" | ("align" | "overflowLabel")> & import('vue').ShallowUnwrapRef<{
356
+ TabsList: typeof TabsList;
357
+ ChevronRight: typeof ChevronRight;
358
+ cn: typeof cn;
359
+ AgtDropdownMenu: typeof AgtDropdownMenu;
360
+ AgtDropdownMenuTrigger: typeof AgtDropdownMenuTrigger;
361
+ AgtDropdownMenuContent: typeof AgtDropdownMenuContent;
362
+ AgtDropdownMenuItem: typeof AgtDropdownMenuItem;
363
+ tabsTriggerVariants: typeof tabsTriggerVariants;
364
+ delegatedProps: typeof delegatedProps;
365
+ listRef: typeof listRef;
366
+ wrapperRef: typeof wrapperRef;
367
+ isDropdownOpen: typeof isDropdownOpen;
368
+ overflowTabs: typeof overflowTabs;
369
+ hasOverflow: typeof hasOverflow;
370
+ handleDropdownClick: typeof handleDropdownClick;
371
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
372
+ $slots: {
373
+ default?(_: {}): any;
374
+ };
375
+ } & {
376
+ $: import('vue').ComponentInternalInstance;
377
+ $data: {};
378
+ $props: {
379
+ readonly loop?: boolean | undefined;
380
+ readonly asChild?: boolean | undefined;
381
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
382
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
383
+ $attrs: {
384
+ [x: string]: unknown;
385
+ };
386
+ $refs: {
387
+ [x: string]: unknown;
388
+ };
389
+ $slots: Readonly<{
390
+ [name: string]: import('vue').Slot<any> | undefined;
391
+ }>;
392
+ $root: import('vue').ComponentPublicInstance | null;
393
+ $parent: import('vue').ComponentPublicInstance | null;
394
+ $host: Element | null;
395
+ $emit: (event: string, ...args: any[]) => void;
396
+ $el: any;
397
+ $options: import('vue').ComponentOptionsBase<Readonly<TabsListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
398
+ loop: boolean;
399
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
400
+ beforeCreate?: (() => void) | (() => void)[];
401
+ created?: (() => void) | (() => void)[];
402
+ beforeMount?: (() => void) | (() => void)[];
403
+ mounted?: (() => void) | (() => void)[];
404
+ beforeUpdate?: (() => void) | (() => void)[];
405
+ updated?: (() => void) | (() => void)[];
406
+ activated?: (() => void) | (() => void)[];
407
+ deactivated?: (() => void) | (() => void)[];
408
+ beforeDestroy?: (() => void) | (() => void)[];
409
+ beforeUnmount?: (() => void) | (() => void)[];
410
+ destroyed?: (() => void) | (() => void)[];
411
+ unmounted?: (() => void) | (() => void)[];
412
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
413
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
414
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
415
+ };
416
+ $forceUpdate: () => void;
417
+ $nextTick: typeof nextTick;
418
+ $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;
419
+ } & Readonly<{
420
+ loop: boolean;
421
+ }> & Omit<Readonly<TabsListProps> & Readonly<{}>, "loop"> & import('vue').ShallowUnwrapRef<{}>) | null;
422
+ }, HTMLDivElement>;
16
423
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
424
  export default _default;
18
425
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"TabsList.vue.d.ts","sourceRoot":"","sources":["../../src/tabs/TabsList.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,KAAK,WAAW,GAAG,aAAa,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAOvE,iBAAS,cAAc;WA8CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB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AG;;;;kBArB54W,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,30 +1,107 @@
1
- import { defineComponent as r, createBlock as n, openBlock as l, unref as t, mergeProps as i, withCtx as c, renderSlot as p } from "vue";
2
- import { reactiveOmit as f } from "@vueuse/core";
3
- import { TabsList as m } from "reka-ui";
4
- import { cn as d } from "../lib/utils.js";
5
- const y = /* @__PURE__ */ r({
1
+ import { defineComponent as C, ref as d, createElementBlock as f, openBlock as s, createVNode as t, unref as e, mergeProps as T, withCtx as r, renderSlot as L, createCommentVNode as R, createElementVNode as V, normalizeClass as v, createTextVNode as h, toDisplayString as _, Fragment as $, renderList as B, createBlock as O, nextTick as N } from "vue";
2
+ import { reactiveOmit as j } from "@vueuse/core";
3
+ import { injectTabsRootContext as D, TabsList as z } from "reka-ui";
4
+ import { cn as g } from "../lib/utils.js";
5
+ import A from "../dropdown-menu/DropdownMenu.vue.js";
6
+ import E from "../dropdown-menu/DropdownMenuContent.vue.js";
7
+ import M from "../dropdown-menu/DropdownMenuItem.vue.js";
8
+ import P from "../dropdown-menu/DropdownMenuTrigger.vue.js";
9
+ import { tabsTriggerVariants as S } from "./tabs.variants.js";
10
+ import { useTabsOverflow as F } from "./useTabsOverflow.js";
11
+ import U from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-right.js";
12
+ const q = {
13
+ key: 0,
14
+ class: "shrink-0 has-data-[variant=default]:drop-shadow-lg has-data-[variant=default]:drop-shadow-black/8 has-data-[variant=default]:h-full"
15
+ }, G = ["aria-expanded"], re = /* @__PURE__ */ C({
6
16
  __name: "TabsList",
7
17
  props: {
8
18
  loop: { type: Boolean },
9
19
  asChild: { type: Boolean },
10
- as: { type: [String, Object, Function] },
11
- class: {}
20
+ as: {},
21
+ class: {},
22
+ align: { default: "center" },
23
+ overflowLabel: { default: "Mais abas" }
12
24
  },
13
- setup(a) {
14
- const e = a, s = f(e, "class");
15
- return (o, u) => (l(), n(t(m), i({ "data-slot": "tabs-list" }, t(s), {
16
- class: t(d)(
17
- "has-data-[variant=default]:h-13 has-data-[variant=default]:gap-2 inline-flex w-fit items-center justify-center",
18
- e.class
19
- )
20
- }), {
21
- default: c(() => [
22
- p(o.$slots, "default")
23
- ]),
24
- _: 3
25
- }, 16, ["class"]));
25
+ setup(w) {
26
+ const o = w, k = j(o, "class", "align", "overflowLabel"), n = D(null), p = d(null), c = d(null), l = d(!1), { overflowTabs: u, hasOverflow: x, updateOverflow: y } = F(p, c);
27
+ function b(i) {
28
+ n == null || n.changeModelValue(i), N(y);
29
+ }
30
+ return (i, m) => (s(), f("div", {
31
+ ref_key: "wrapperRef",
32
+ ref: c,
33
+ class: "w-full"
34
+ }, [
35
+ t(e(z), T({
36
+ ref_key: "listRef",
37
+ ref: p,
38
+ "data-slot": "tabs-list"
39
+ }, e(k), {
40
+ class: e(g)(
41
+ "has-data-[variant=default]:h-13 has-data-[variant=default]:gap-2 inline-flex items-center",
42
+ o.align === "center" ? "justify-center" : "justify-start",
43
+ o.class
44
+ )
45
+ }), {
46
+ default: r(() => [
47
+ L(i.$slots, "default"),
48
+ e(x) ? (s(), f("div", q, [
49
+ t(e(A), {
50
+ open: l.value,
51
+ "onUpdate:open": m[0] || (m[0] = (a) => l.value = a)
52
+ }, {
53
+ default: r(() => [
54
+ t(e(P), { "as-child": "" }, {
55
+ default: r(() => [
56
+ V("button", {
57
+ "data-variant": "default",
58
+ class: v(
59
+ e(g)(
60
+ e(S)({ variant: "default" }),
61
+ "!flex-none group after:hidden",
62
+ e(u).some((a) => a.isActive) ? "text-primary-500 after:bg-neutral-200" : ""
63
+ )
64
+ ),
65
+ "aria-expanded": l.value,
66
+ "aria-haspopup": "true"
67
+ }, [
68
+ h(_(o.overflowLabel) + " ", 1),
69
+ t(e(U), {
70
+ "aria-hidden": "true",
71
+ class: "size-4 shrink-0 transition-transform group-data-[state=open]:rotate-90 text-primary-500"
72
+ })
73
+ ], 10, G)
74
+ ]),
75
+ _: 1
76
+ }),
77
+ t(e(E), {
78
+ align: "end",
79
+ class: "min-w-48 max-w-64 !px-0 !py-1"
80
+ }, {
81
+ default: r(() => [
82
+ (s(!0), f($, null, B(e(u), (a) => (s(), O(e(M), {
83
+ key: a.id,
84
+ class: v(["cursor-pointer !rounded-none py-2 px-3 font-medium", a.isActive ? "text-primary-500" : ""]),
85
+ onClick: (H) => b(a.id)
86
+ }, {
87
+ default: r(() => [
88
+ h(_(a.label), 1)
89
+ ]),
90
+ _: 2
91
+ }, 1032, ["class", "onClick"]))), 128))
92
+ ]),
93
+ _: 1
94
+ })
95
+ ]),
96
+ _: 1
97
+ }, 8, ["open"])
98
+ ])) : R("", !0)
99
+ ]),
100
+ _: 3
101
+ }, 16, ["class"])
102
+ ], 512));
26
103
  }
27
104
  });
28
105
  export {
29
- y as default
106
+ re as default
30
107
  };
@@ -1,6 +1,6 @@
1
1
  import { TabsTriggerProps } from 'reka-ui';
2
2
  import { HTMLAttributes } from 'vue';
3
- import { TabsTriggerVariants } from '.';
3
+ import { TabsTriggerVariants } from './tabs.variants';
4
4
  type __VLS_Props = TabsTriggerProps & {
5
5
  class?: HTMLAttributes['class'];
6
6
  variant?: TabsTriggerVariants['variant'];
@@ -1 +1 @@
1
- {"version":3,"file":"TabsTrigger.vue.d.ts","sourceRoot":"","sources":["../../src/tabs/TabsTrigger.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,GAAG,CA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AoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,9 +1,9 @@
1
- import { defineComponent as n, createElementBlock as d, openBlock as i, createVNode as l, unref as a, mergeProps as p, withCtx as c, renderSlot as f } from "vue";
2
- import { reactiveOmit as m } from "@vueuse/core";
3
- import { useForwardProps as u, TabsTrigger as g } from "reka-ui";
4
- import { tabsTriggerVariants as v } from "./index.js";
1
+ import { defineComponent as d, createElementBlock as l, openBlock as n, createVNode as i, unref as a, mergeProps as p, withCtx as c, renderSlot as u } from "vue";
2
+ import { reactiveOmit as f } from "@vueuse/core";
3
+ import { useForwardProps as m, TabsTrigger as v } from "reka-ui";
4
+ import { tabsTriggerVariants as g } from "./tabs.variants.js";
5
5
  import { cn as h } from "../lib/utils.js";
6
- const b = { class: "has-data-[variant=default]:drop-shadow-lg has-data-[variant=default]:drop-shadow-black/8 has-data-[variant=default]:h-full" }, y = /* @__PURE__ */ n({
6
+ const b = { class: "has-data-[variant=default]:drop-shadow-lg has-data-[variant=default]:drop-shadow-black/8 has-data-[variant=default]:h-full" }, y = /* @__PURE__ */ d({
7
7
  __name: "TabsTrigger",
8
8
  props: {
9
9
  value: {},
@@ -14,17 +14,20 @@ const b = { class: "has-data-[variant=default]:drop-shadow-lg has-data-[variant=
14
14
  variant: {}
15
15
  },
16
16
  setup(e) {
17
- const r = e, s = m(r, "class"), o = u(s);
18
- return (t, _) => (i(), d("div", b, [
19
- l(a(g), p({ "data-slot": "tabs-trigger" }, a(o), {
20
- "data-variant": t.variant ?? "default",
21
- class: a(h)(a(v)({ variant: t.variant }), r.class)
17
+ const t = e, s = f(t, "class"), o = m(s);
18
+ return (r, _) => (n(), l("div", b, [
19
+ i(a(v), p({
20
+ "data-slot": "tabs-trigger",
21
+ "data-value": t.value
22
+ }, a(o), {
23
+ "data-variant": r.variant ?? "default",
24
+ class: a(h)(a(g)({ variant: r.variant }), t.class)
22
25
  }), {
23
26
  default: c(() => [
24
- f(t.$slots, "default")
27
+ u(r.$slots, "default")
25
28
  ]),
26
29
  _: 3
27
- }, 16, ["data-variant", "class"])
30
+ }, 16, ["data-value", "data-variant", "class"])
28
31
  ]));
29
32
  }
30
33
  });
@@ -1,10 +1,7 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  export { default as AgtTabs } from './Tabs.vue';
3
2
  export { default as AgtTabsContent } from './TabsContent.vue';
4
3
  export { default as AgtTabsList } from './TabsList.vue';
5
4
  export { default as AgtTabsTrigger } from './TabsTrigger.vue';
6
- export declare const tabsTriggerVariants: (props?: ({
7
- variant?: "default" | "simple" | null | undefined;
8
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
- export type TabsTriggerVariants = VariantProps<typeof tabsTriggerVariants>;
5
+ export { tabsTriggerVariants } from './tabs.variants';
6
+ export type { TabsTriggerVariants } from './tabs.variants';
10
7
  //# sourceMappingURL=index.d.ts.map