@pantograph/vue 0.28.5 → 0.28.6

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.
Files changed (54) hide show
  1. package/dist/Avatar/Avatar.d.ts +0 -2
  2. package/dist/Avatar/Avatar.model.d.ts +1 -1
  3. package/dist/Avatar/index.js +1 -1
  4. package/dist/Avatar/index.umd.cjs +1 -1
  5. package/dist/Avatar.vue_vue_type_style_index_0_lang-MQITXCju.js +202 -0
  6. package/dist/Avatar.vue_vue_type_style_index_0_lang-iFQme6cr.js +1 -0
  7. package/dist/AvatarGroup/AvatarGroup.d.ts +6 -5
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/AvatarGroup/index.umd.cjs +1 -1
  10. package/dist/Chip/Chip.d.ts +1 -0
  11. package/dist/Chip/Chip.model.d.ts +1 -1
  12. package/dist/Chip/index.js +1 -1
  13. package/dist/Chip/index.umd.cjs +1 -1
  14. package/dist/{Chip.vue_vue_type_style_index_0_lang-C5g6ivHU.js → Chip.vue_vue_type_style_index_0_lang-CGBRYOsr.js} +25 -25
  15. package/dist/Chip.vue_vue_type_style_index_0_lang-Cr9OkEzs.js +1 -0
  16. package/dist/ChipGroup/ChipGroup.d.ts +1 -0
  17. package/dist/ChipGroup/index.js +1 -1
  18. package/dist/ChipGroup/index.umd.cjs +1 -1
  19. package/dist/ColorPicker/index.js +1 -1
  20. package/dist/ColorPicker/index.umd.cjs +1 -1
  21. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-CqosPpAC.js → ColorPicker.vue_vue_type_style_index_0_lang-BsPMp6nY.js} +1 -1
  22. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BXzoWqMJ.js → ColorPicker.vue_vue_type_style_index_0_lang-k4zhYbY2.js} +1 -1
  23. package/dist/ColorSwatchGroup/index.js +1 -1
  24. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  25. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-Ckk-UUhA.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-Bhy0Nsts.js} +1 -1
  26. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-bvjeYaZB.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-CsFGOy9g.js} +1 -1
  27. package/dist/Combobox/index.js +1 -1
  28. package/dist/Combobox/index.umd.cjs +1 -1
  29. package/dist/{Combobox.vue_vue_type_style_index_0_lang-DwX86qXK.js → Combobox.vue_vue_type_style_index_0_lang-BOVytQ70.js} +1 -1
  30. package/dist/{Combobox.vue_vue_type_style_index_0_lang-lDMxlocK.js → Combobox.vue_vue_type_style_index_0_lang-CXwlC1VR.js} +2 -2
  31. package/dist/Comment/index.js +3 -3
  32. package/dist/Comment/index.umd.cjs +1 -1
  33. package/dist/GOPicker/index.js +1 -1
  34. package/dist/GOPicker/index.umd.cjs +1 -1
  35. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CeCZeMIy.js → GOPicker.vue_vue_type_style_index_0_lang-B79spkzQ.js} +1 -1
  36. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-D2ZnoKpk.js → GOPicker.vue_vue_type_style_index_0_lang-BikulE0p.js} +1 -1
  37. package/dist/Select/index.js +1 -1
  38. package/dist/Select/index.umd.cjs +1 -1
  39. package/dist/{Select.vue_vue_type_style_index_0_lang-u2mkyMPk.js → Select.vue_vue_type_style_index_0_lang-BWQI_Gdd.js} +1 -1
  40. package/dist/{Select.vue_vue_type_style_index_0_lang-DzGpei7j.js → Select.vue_vue_type_style_index_0_lang-CNm59A4k.js} +1 -1
  41. package/dist/TabContent.vue_vue_type_script_setup_true_lang-BBb-wV7s.js +1 -0
  42. package/dist/TabContent.vue_vue_type_script_setup_true_lang-D0L4W1At.js +364 -0
  43. package/dist/Tabs/TabList.d.ts +1 -276
  44. package/dist/Tabs/index.js +1 -1
  45. package/dist/Tabs/index.umd.cjs +1 -1
  46. package/dist/index.js +8 -8
  47. package/dist/index.umd.cjs +1 -1
  48. package/dist/style/index.css +1 -1
  49. package/package.json +1 -1
  50. package/dist/Avatar.vue_vue_type_style_index_0_lang-CS0wzmEg.js +0 -200
  51. package/dist/Avatar.vue_vue_type_style_index_0_lang-DtvtisQt.js +0 -1
  52. package/dist/Chip.vue_vue_type_style_index_0_lang-AeVPgAnJ.js +0 -1
  53. package/dist/TabContent.vue_vue_type_script_setup_true_lang-CoRnMTmp.js +0 -378
  54. package/dist/TabContent.vue_vue_type_script_setup_true_lang-Cz7tqTyz.js +0 -1
@@ -0,0 +1,364 @@
1
+ import { defineComponent as O, computed as N, createBlock as U, openBlock as z, unref as e, isRef as se, withCtx as M, renderSlot as D, useSlots as W, ref as F, watch as ae, onMounted as oe, render as le, h as m, onBeforeUnmount as ne, createVNode as P, normalizeStyle as re, normalizeClass as d, createElementVNode as E, createElementBlock as H, createCommentVNode as q, normalizeProps as X, guardReactiveProps as Y, withModifiers as ie } from "vue";
2
+ import { createContext as de, TabsRoot as ce, TabsList as ue, TabsIndicator as fe, TabsTrigger as pe, TabsContent as me } from "reka-ui";
3
+ import { useVModel as ge, useCollection as Z, isEmptyElement as I } from "@pantograph/utils-vue";
4
+ import { getComponentOptions as j, getBemBlock as ve, getBemElement as n, generateVariantClassList as G, sortPlaceholderCls as be, sortPlaceholderVariantsClass as Ce, normCls as c } from "@pantograph/utils";
5
+ import { useScroll as ye } from "@vueuse/core";
6
+ import { cva as ee } from "class-variance-authority";
7
+ import { _ as J } from "./FloatButton.vue_vue_type_script_setup_true_lang-BTmEBbt_.js";
8
+ import { _ as K } from "./Divider.vue_vue_type_style_index_0_lang-GfWcHNix.js";
9
+ import Pe from "@pantograph/sortable";
10
+ import { u as _e } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-IVHvl51_.js";
11
+ import { i as Q } from "./isNumber-BduWbB-B.js";
12
+ import { _ as he } from "./Skeleton.vue_vue_type_style_index_0_lang-DOsf2SEN.js";
13
+ import { _ as Te } from "./Badge.vue_vue_type_script_setup_true_lang-D8HhPgXQ.js";
14
+ const [te, xe] = de("Tabs"), De = /* @__PURE__ */ O({
15
+ ...j("Tabs", !1),
16
+ __name: "Tabs",
17
+ props: {
18
+ block: { type: Boolean },
19
+ draggable: { type: Boolean },
20
+ size: { default: "md" },
21
+ sortableProps: {},
22
+ defaultValue: {},
23
+ orientation: {},
24
+ dir: {},
25
+ activationMode: {},
26
+ modelValue: {},
27
+ unmountOnHide: { type: Boolean },
28
+ asChild: { type: Boolean },
29
+ as: {}
30
+ },
31
+ emits: ["change", "dragStart", "dragEnd", "update:modelValue"],
32
+ setup(_, { emit: s }) {
33
+ const t = _, g = s, u = ge(t, "modelValue", g, {
34
+ defaultValue: t.defaultValue,
35
+ passive: t.defaultValue === void 0,
36
+ onChange: (h) => g("change", h)
37
+ }), { getDir: v } = _e(), p = v();
38
+ return xe({
39
+ props: t,
40
+ emit: g,
41
+ dir: p,
42
+ slotProps: N(() => ({
43
+ size: t.size === "lg" ? "md" : "sm",
44
+ iconSize: t.size === "lg" ? "sm" : "xsm"
45
+ }))
46
+ }), (h, B) => (z(), U(e(ce), {
47
+ asChild: "",
48
+ orientation: "horizontal",
49
+ modelValue: e(u),
50
+ "onUpdate:modelValue": B[0] || (B[0] = (a) => se(u) ? u.value = a : null),
51
+ dir: e(p)
52
+ }, {
53
+ default: M(() => [
54
+ D(h.$slots, "default")
55
+ ]),
56
+ _: 3
57
+ }, 8, ["modelValue", "dir"]));
58
+ }
59
+ }), ze = ["md", "lg"], l = ve("tabs"), y = n(l, "trigger"), Oe = /* @__PURE__ */ O({
60
+ ...j("TabList"),
61
+ __name: "TabList",
62
+ props: {
63
+ class: {},
64
+ indicatorCls: {},
65
+ containerCls: {},
66
+ fixedActionsCls: {},
67
+ actionsCls: {},
68
+ startScrollCls: {},
69
+ endScrollCls: {}
70
+ },
71
+ setup(_) {
72
+ const s = _, t = W(), g = ee(l, {
73
+ variants: {
74
+ block: G("block", l),
75
+ size: G(ze, l)
76
+ }
77
+ }), u = F(), { arrivedState: v, x: p, measure: h } = ye(u), { CollectionSlot: B, itemMap: a } = Z({ isProvider: !0, key: l });
78
+ ae(() => a.value.size, h, { immediate: !0 });
79
+ const b = N(() => T.value ? !1 : i.dir.value === "ltr" ? !v.left : !v.right), w = N(() => T.value ? !1 : i.dir.value === "ltr" ? !v.right : !v.left), i = te();
80
+ let f;
81
+ function C() {
82
+ f && clearInterval(f), f = null;
83
+ }
84
+ const S = (r) => {
85
+ r ? L() : C();
86
+ }, L = () => {
87
+ f || (f = setInterval(() => {
88
+ Q(p.value) && (w.value ? p.value += 10 : C());
89
+ }, 10));
90
+ }, $ = (r) => {
91
+ r ? R() : C();
92
+ }, R = () => {
93
+ f || (f = setInterval(() => {
94
+ Q(p.value) && (b.value ? p.value -= 10 : C());
95
+ }, 10));
96
+ }, A = () => {
97
+ var o;
98
+ const r = (o = t.actions) == null ? void 0 : o.call(t, i.slotProps.value);
99
+ if (!I(r))
100
+ return [
101
+ m(K, {
102
+ type: "vertical",
103
+ class: n(l, "actions_divider")
104
+ }),
105
+ m(
106
+ "div",
107
+ { class: c(n(l, "actions"), s.actionsCls) },
108
+ r
109
+ )
110
+ ];
111
+ }, k = F(), T = F(!1);
112
+ let V;
113
+ return oe(async () => {
114
+ i.props.draggable && k.value && (V = new Pe(k.value, {
115
+ ...i.props.sortableProps ?? {},
116
+ forceFallback: !1,
117
+ fallbackOnBody: !1,
118
+ filter: "[data-draggable=false]",
119
+ draggable: `.${y}`,
120
+ dataIdAttr: "id",
121
+ onStart(r) {
122
+ T.value = !0, i.emit("dragStart", r, V);
123
+ },
124
+ onEnd(r) {
125
+ T.value = !1, i.emit("dragEnd", r, V);
126
+ },
127
+ getPlaceholder(r) {
128
+ const o = document.createElement("div"), x = r.item.getBoundingClientRect();
129
+ return o.style.width = `${x.width ?? 100}px`, o.style.height = "100%", o.classList.add(n(l, be)), le(
130
+ m("div", {
131
+ class: Ce({ size: i.slotProps.value.size })
132
+ }),
133
+ o
134
+ ), o;
135
+ }
136
+ }));
137
+ }), ne(() => {
138
+ C(), V && (V.destroy(), V = void 0);
139
+ }), (r, o) => (z(), U(e(B), null, {
140
+ default: M(() => [
141
+ P(e(ue), {
142
+ class: d(
143
+ e(c)(
144
+ e(g)({ block: e(i).props.block, size: e(i).props.size }),
145
+ s.class
146
+ )
147
+ ),
148
+ loop: !1,
149
+ asChild: !1,
150
+ style: re({ "--ptc-tabs-count": e(a).size })
151
+ }, {
152
+ default: M(() => [
153
+ E("div", {
154
+ class: d(e(n)(e(l), "wrapper"))
155
+ }, [
156
+ E("div", {
157
+ class: d(e(n)(e(l), "scroll__wrapper"))
158
+ }, [
159
+ b.value ? (z(), H("div", {
160
+ key: 0,
161
+ class: d(e(c)(e(n)(e(l), "left_scroll"), s.startScrollCls))
162
+ }, [
163
+ P(J, {
164
+ type: "outline",
165
+ icon: "tabler:chevron-left",
166
+ size: "sm",
167
+ color: "neutral",
168
+ onMousedown: o[0] || (o[0] = (x) => $(!0)),
169
+ onMouseup: o[1] || (o[1] = (x) => $(!1)),
170
+ onMouseleave: o[2] || (o[2] = (x) => $(!1))
171
+ })
172
+ ], 2)) : q("", !0),
173
+ E("div", {
174
+ class: d(e(n)(e(l), "scroll")),
175
+ ref_key: "scrollBar",
176
+ ref: u
177
+ }, [
178
+ E("div", {
179
+ class: d(e(n)(e(l), "indicator__container"))
180
+ }, [
181
+ P(e(fe), {
182
+ class: d(e(c)(e(n)(e(l), "indicator"), s.indicatorCls))
183
+ }, null, 8, ["class"]),
184
+ E("div", {
185
+ class: d(e(c)(e(n)(e(l), "container"), s.containerCls)),
186
+ ref_key: "container",
187
+ ref: k
188
+ }, [
189
+ D(r.$slots, "default")
190
+ ], 2)
191
+ ], 2)
192
+ ], 2),
193
+ w.value ? (z(), H("div", {
194
+ key: 1,
195
+ class: d(e(c)(e(n)(e(l), "right_scroll"), s.endScrollCls))
196
+ }, [
197
+ P(J, {
198
+ type: "outline",
199
+ icon: "tabler:chevron-right",
200
+ size: "sm",
201
+ color: "neutral",
202
+ onMousedown: o[3] || (o[3] = (x) => S(!0)),
203
+ onMouseup: o[4] || (o[4] = (x) => S(!1)),
204
+ onMouseleave: o[5] || (o[5] = (x) => S(!1))
205
+ })
206
+ ], 2)) : q("", !0)
207
+ ], 2),
208
+ P(A)
209
+ ], 2),
210
+ r.$slots.fixedActions ? (z(), H("div", {
211
+ key: 0,
212
+ class: d(e(c)(e(n)(e(l), "fixed_actions"), s.fixedActionsCls))
213
+ }, [
214
+ D(r.$slots, "fixedActions", X(Y(e(i).slotProps.value)))
215
+ ], 2)) : q("", !0),
216
+ P(K, {
217
+ class: d(e(n)(e(l), "underline"))
218
+ }, null, 8, ["class"])
219
+ ]),
220
+ _: 3
221
+ }, 8, ["class", "style"])
222
+ ]),
223
+ _: 3
224
+ }));
225
+ }
226
+ }), Ue = /* @__PURE__ */ O({
227
+ ...j("TabsTrigger"),
228
+ __name: "TabTrigger",
229
+ props: {
230
+ text: {},
231
+ loading: { type: Boolean, default: void 0 },
232
+ draggable: { type: Boolean, default: void 0 },
233
+ class: {},
234
+ contentCls: {},
235
+ textCls: {},
236
+ trailingCls: {},
237
+ actionCls: {},
238
+ badgeProps: {},
239
+ value: {},
240
+ disabled: { type: Boolean }
241
+ },
242
+ setup(_) {
243
+ const s = _, t = W(), g = ee(y, {
244
+ variants: {
245
+ loading: G("loading", y)
246
+ }
247
+ }), u = te(), v = (a) => {
248
+ a.stopPropagation(), a.preventDefault();
249
+ }, p = () => {
250
+ var b, w, i, f, C, S, L;
251
+ const a = [];
252
+ if (s.loading)
253
+ a.push(
254
+ m(he, {
255
+ size: u.slotProps.value.size,
256
+ class: n(y, "skeleton")
257
+ })
258
+ );
259
+ else {
260
+ const $ = (b = t.leading) == null ? void 0 : b.call(t, u.slotProps.value), R = (w = t.text) == null ? void 0 : w.call(t, {});
261
+ I($) || a.push($);
262
+ const A = !I(R);
263
+ (A || s.text) && a.push(
264
+ m(
265
+ "div",
266
+ {
267
+ class: c(n(y, "text"), s.textCls)
268
+ },
269
+ A ? R : s.text
270
+ )
271
+ );
272
+ const k = (i = t.trailing) == null ? void 0 : i.call(t, u.slotProps.value);
273
+ I(k) || a.push(
274
+ m(
275
+ "div",
276
+ { class: c(n(y, "trailing"), s.trailingCls) },
277
+ k
278
+ )
279
+ ), (t.badgeIcon || t.badge || (f = s.badgeProps) != null && f.text || (C = s.badgeProps) != null && C.icon) && a.push(
280
+ m(
281
+ Te,
282
+ {
283
+ ...s.badgeProps ?? {},
284
+ size: "xsm",
285
+ color: ((S = s.badgeProps) == null ? void 0 : S.color) ?? "primary-subtle"
286
+ },
287
+ {
288
+ default: t.badge,
289
+ icon: t.badgeIcon
290
+ }
291
+ )
292
+ );
293
+ const T = (L = t.action) == null ? void 0 : L.call(t, u.slotProps.value);
294
+ I(T) || a.push(
295
+ m(
296
+ "div",
297
+ {
298
+ class: c(n(y, "action"), s.actionCls),
299
+ onMousedown: v
300
+ },
301
+ T
302
+ )
303
+ );
304
+ }
305
+ return m(
306
+ "div",
307
+ {
308
+ class: c(n(y, "content"), s.contentCls)
309
+ },
310
+ a
311
+ );
312
+ }, { CollectionItem: h } = Z({ key: l }), B = N(
313
+ () => s.disabled || s.draggable === !1 ? !1 : void 0
314
+ );
315
+ return (a, b) => (z(), U(e(h), { value: a.value }, {
316
+ default: M(() => [
317
+ P(e(pe), {
318
+ asChild: !1,
319
+ as: "button",
320
+ value: a.value,
321
+ "data-draggable": B.value,
322
+ disabled: a.loading || a.disabled,
323
+ class: d(e(c)(e(g)({ loading: a.loading }), s.class)),
324
+ onMousedown: b[0] || (b[0] = ie(() => {
325
+ }, ["right", "stop", "prevent"]))
326
+ }, {
327
+ default: M(() => [
328
+ P(p)
329
+ ]),
330
+ _: 1
331
+ }, 8, ["value", "data-draggable", "disabled", "class"])
332
+ ]),
333
+ _: 1
334
+ }, 8, ["value"]));
335
+ }
336
+ }), je = /* @__PURE__ */ O({
337
+ ...j("TabContent"),
338
+ __name: "TabContent",
339
+ props: {
340
+ value: {},
341
+ forceMount: { type: Boolean },
342
+ asChild: { type: Boolean },
343
+ as: {}
344
+ },
345
+ setup(_) {
346
+ const s = _;
347
+ return (t, g) => (z(), U(e(me), X(Y(s)), {
348
+ default: M(() => [
349
+ D(t.$slots, "default")
350
+ ]),
351
+ _: 3
352
+ }, 16));
353
+ }
354
+ });
355
+ export {
356
+ ze as T,
357
+ De as _,
358
+ Oe as a,
359
+ Ue as b,
360
+ je as c,
361
+ te as i,
362
+ xe as p,
363
+ l as t
364
+ };
@@ -17,282 +17,7 @@ export interface TabListSlots {
17
17
  export declare const tabsPrefix: string;
18
18
  export declare const tabsTriggerPrefix: string;
19
19
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TabListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabListProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
- scrollContainer: ({
21
- $: import('vue').ComponentInternalInstance;
22
- $data: {};
23
- $props: {
24
- readonly scrollDistance?: number | undefined;
25
- readonly scrollHideDelay?: number | undefined;
26
- readonly dir?: "rtl" | "ltr" | undefined;
27
- readonly type?: import('..').ScrollContainerType | undefined;
28
- readonly hasMask?: boolean | undefined;
29
- readonly size?: import('..').ScrollContainerSize | undefined;
30
- readonly scrollbarCls?: import('clsx').ClassValue;
31
- readonly wrapCls?: import('clsx').ClassValue;
32
- readonly areaCls?: import('clsx').ClassValue;
33
- readonly rootCls?: import('clsx').ClassValue;
34
- readonly thumbCls?: import('clsx').ClassValue;
35
- readonly cornerCls?: import('clsx').ClassValue;
36
- readonly rootProps?: object | undefined;
37
- readonly wrapProps?: object | undefined;
38
- readonly maskProps?: object | undefined;
39
- readonly overlay?: boolean | undefined;
40
- readonly hideVerticalScrollbar?: boolean | undefined;
41
- readonly hideHorizontalScrollbar?: boolean | undefined;
42
- readonly color?: string | undefined;
43
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
44
- $attrs: {
45
- [x: string]: unknown;
46
- };
47
- $refs: {
48
- [x: string]: unknown;
49
- } & {
50
- root: ({
51
- $: import('vue').ComponentInternalInstance;
52
- $data: {};
53
- $props: {
54
- readonly type?: ("scroll" | "hover" | "always" | "auto") | undefined;
55
- readonly dir?: ("ltr" | "rtl") | undefined;
56
- readonly scrollHideDelay?: number | undefined;
57
- readonly asChild?: boolean | undefined;
58
- readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
59
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
60
- $attrs: {
61
- [x: string]: unknown;
62
- };
63
- $refs: {
64
- [x: string]: unknown;
65
- };
66
- $slots: Readonly<{
67
- [name: string]: import('vue').Slot<any> | undefined;
68
- }>;
69
- $root: import('vue').ComponentPublicInstance | null;
70
- $parent: import('vue').ComponentPublicInstance | null;
71
- $host: Element | null;
72
- $emit: (event: string, ...args: any[]) => void;
73
- $el: any;
74
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, {
75
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
76
- scrollTop: () => void;
77
- scrollTopLeft: () => void;
78
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
79
- type: "scroll" | "hover" | "always" | "auto";
80
- scrollHideDelay: number;
81
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
82
- beforeCreate?: (() => void) | (() => void)[];
83
- created?: (() => void) | (() => void)[];
84
- beforeMount?: (() => void) | (() => void)[];
85
- mounted?: (() => void) | (() => void)[];
86
- beforeUpdate?: (() => void) | (() => void)[];
87
- updated?: (() => void) | (() => void)[];
88
- activated?: (() => void) | (() => void)[];
89
- deactivated?: (() => void) | (() => void)[];
90
- beforeDestroy?: (() => void) | (() => void)[];
91
- beforeUnmount?: (() => void) | (() => void)[];
92
- destroyed?: (() => void) | (() => void)[];
93
- unmounted?: (() => void) | (() => void)[];
94
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
95
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
96
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
97
- };
98
- $forceUpdate: () => void;
99
- $nextTick: typeof import('vue').nextTick;
100
- $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;
101
- } & Readonly<{
102
- type: "scroll" | "hover" | "always" | "auto";
103
- scrollHideDelay: number;
104
- }> & Omit<Readonly<import('reka-ui').ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "scrollTop" | "scrollTopLeft" | "viewport"> & import('vue').ShallowUnwrapRef<{
105
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
106
- scrollTop: () => void;
107
- scrollTopLeft: () => void;
108
- }> & {} & import('vue').ComponentCustomProperties & {} & {
109
- $slots: {
110
- default?: (props: {}) => any;
111
- };
112
- }) | null;
113
- container: ({
114
- $: import('vue').ComponentInternalInstance;
115
- $data: {};
116
- $props: {
117
- readonly nonce?: string | undefined;
118
- readonly asChild?: boolean | undefined;
119
- readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
120
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
121
- $attrs: {
122
- [x: string]: unknown;
123
- };
124
- $refs: {
125
- [x: string]: unknown;
126
- };
127
- $slots: Readonly<{
128
- [name: string]: import('vue').Slot<any> | undefined;
129
- }>;
130
- $root: import('vue').ComponentPublicInstance | null;
131
- $parent: import('vue').ComponentPublicInstance | null;
132
- $host: Element | null;
133
- $emit: (event: string, ...args: any[]) => void;
134
- $el: any;
135
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, {
136
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
137
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
138
- beforeCreate?: (() => void) | (() => void)[];
139
- created?: (() => void) | (() => void)[];
140
- beforeMount?: (() => void) | (() => void)[];
141
- mounted?: (() => void) | (() => void)[];
142
- beforeUpdate?: (() => void) | (() => void)[];
143
- updated?: (() => void) | (() => void)[];
144
- activated?: (() => void) | (() => void)[];
145
- deactivated?: (() => void) | (() => void)[];
146
- beforeDestroy?: (() => void) | (() => void)[];
147
- beforeUnmount?: (() => void) | (() => void)[];
148
- destroyed?: (() => void) | (() => void)[];
149
- unmounted?: (() => void) | (() => void)[];
150
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
151
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
152
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
153
- };
154
- $forceUpdate: () => void;
155
- $nextTick: typeof import('vue').nextTick;
156
- $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;
157
- } & Readonly<{}> & Omit<Readonly<import('reka-ui').ScrollAreaViewportProps> & Readonly<{}>, "viewportElement"> & import('vue').ShallowUnwrapRef<{
158
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
159
- }> & {} & import('vue').ComponentCustomProperties & {} & {
160
- $slots: {
161
- default?: (props: {}) => any;
162
- };
163
- }) | null;
164
- wrap: HTMLDivElement;
165
- top: HTMLDivElement;
166
- right: HTMLDivElement;
167
- left: HTMLDivElement;
168
- bottom: HTMLDivElement;
169
- corner: ({
170
- $: import('vue').ComponentInternalInstance;
171
- $data: {};
172
- $props: {
173
- readonly asChild?: boolean | undefined;
174
- readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
175
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
176
- $attrs: {
177
- [x: string]: unknown;
178
- };
179
- $refs: {
180
- [x: string]: unknown;
181
- };
182
- $slots: Readonly<{
183
- [name: string]: import('vue').Slot<any> | undefined;
184
- }>;
185
- $root: import('vue').ComponentPublicInstance | null;
186
- $parent: import('vue').ComponentPublicInstance | null;
187
- $host: Element | null;
188
- $emit: (event: string, ...args: any[]) => void;
189
- $el: any;
190
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ScrollAreaCornerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
191
- beforeCreate?: (() => void) | (() => void)[];
192
- created?: (() => void) | (() => void)[];
193
- beforeMount?: (() => void) | (() => void)[];
194
- mounted?: (() => void) | (() => void)[];
195
- beforeUpdate?: (() => void) | (() => void)[];
196
- updated?: (() => void) | (() => void)[];
197
- activated?: (() => void) | (() => void)[];
198
- deactivated?: (() => void) | (() => void)[];
199
- beforeDestroy?: (() => void) | (() => void)[];
200
- beforeUnmount?: (() => void) | (() => void)[];
201
- destroyed?: (() => void) | (() => void)[];
202
- unmounted?: (() => void) | (() => void)[];
203
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
204
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
205
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
206
- };
207
- $forceUpdate: () => void;
208
- $nextTick: typeof import('vue').nextTick;
209
- $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;
210
- } & Readonly<{}> & Omit<Readonly<import('reka-ui').ScrollAreaCornerProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
211
- $slots: {
212
- default?: (props: {}) => any;
213
- };
214
- }) | null;
215
- };
216
- $slots: Readonly<{
217
- [name: string]: import('vue').Slot<any> | undefined;
218
- }>;
219
- $root: import('vue').ComponentPublicInstance | null;
220
- $parent: import('vue').ComponentPublicInstance | null;
221
- $host: Element | null;
222
- $emit: (event: string, ...args: any[]) => void;
223
- $el: any;
224
- $options: import('vue').ComponentOptionsBase<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, {
225
- container: import('vue').Ref<any, any>;
226
- wrap: import('vue').Ref<any, any>;
227
- root: import('vue').Ref<any, any>;
228
- isOverflowX: import('vue').ShallowRef<boolean, boolean>;
229
- isOverflowY: import('vue').ShallowRef<boolean, boolean>;
230
- topVisible: import('vue').ShallowRef<boolean, boolean>;
231
- rightVisible: import('vue').ShallowRef<boolean, boolean>;
232
- leftVisible: import('vue').ShallowRef<boolean, boolean>;
233
- bottomVisible: import('vue').ShallowRef<boolean, boolean>;
234
- getScroll: () => {
235
- scrollTop: any;
236
- scrollLeft: any;
237
- };
238
- scrollTop: () => any;
239
- scrollTopLeft: () => any;
240
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
241
- type: import('..').ScrollContainerType;
242
- size: import('..').ScrollContainerSize;
243
- overlay: boolean;
244
- scrollDistance: number;
245
- scrollHideDelay: number;
246
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
247
- beforeCreate?: (() => void) | (() => void)[];
248
- created?: (() => void) | (() => void)[];
249
- beforeMount?: (() => void) | (() => void)[];
250
- mounted?: (() => void) | (() => void)[];
251
- beforeUpdate?: (() => void) | (() => void)[];
252
- updated?: (() => void) | (() => void)[];
253
- activated?: (() => void) | (() => void)[];
254
- deactivated?: (() => void) | (() => void)[];
255
- beforeDestroy?: (() => void) | (() => void)[];
256
- beforeUnmount?: (() => void) | (() => void)[];
257
- destroyed?: (() => void) | (() => void)[];
258
- unmounted?: (() => void) | (() => void)[];
259
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
260
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
261
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
262
- };
263
- $forceUpdate: () => void;
264
- $nextTick: typeof import('vue').nextTick;
265
- $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;
266
- } & Readonly<{
267
- type: import('..').ScrollContainerType;
268
- size: import('..').ScrollContainerSize;
269
- overlay: boolean;
270
- scrollDistance: number;
271
- scrollHideDelay: number;
272
- }> & Omit<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, "wrap" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "container" | "getScroll" | "scrollTop" | "scrollTopLeft" | ("type" | "size" | "overlay" | "scrollDistance" | "scrollHideDelay")> & import('vue').ShallowUnwrapRef<{
273
- container: import('vue').Ref<any, any>;
274
- wrap: import('vue').Ref<any, any>;
275
- root: import('vue').Ref<any, any>;
276
- isOverflowX: import('vue').ShallowRef<boolean, boolean>;
277
- isOverflowY: import('vue').ShallowRef<boolean, boolean>;
278
- topVisible: import('vue').ShallowRef<boolean, boolean>;
279
- rightVisible: import('vue').ShallowRef<boolean, boolean>;
280
- leftVisible: import('vue').ShallowRef<boolean, boolean>;
281
- bottomVisible: import('vue').ShallowRef<boolean, boolean>;
282
- getScroll: () => {
283
- scrollTop: any;
284
- scrollLeft: any;
285
- };
286
- scrollTop: () => any;
287
- scrollTopLeft: () => any;
288
- }> & {} & import('vue').ComponentCustomProperties & {} & {
289
- $slots: {
290
- root?(_: {}): any;
291
- root?(_: {}): any;
292
- area?(_: {}): any;
293
- default?(_: {}): any;
294
- };
295
- }) | null;
20
+ scrollBar: HTMLDivElement;
296
21
  container: HTMLDivElement;
297
22
  }, any>, Readonly<TabListSlots> & TabListSlots>;
298
23
  export default _default;
@@ -1,4 +1,4 @@
1
- import { c as t, a as b, b as e, _ as T, T as i, i as o, p as r, t as n } from "../TabContent.vue_vue_type_script_setup_true_lang-CoRnMTmp.js";
1
+ import { c as t, a as b, b as e, _ as T, T as i, i as o, p as r, t as n } from "../TabContent.vue_vue_type_script_setup_true_lang-D0L4W1At.js";
2
2
  export {
3
3
  t as TabContent,
4
4
  b as TabList,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TabContent.vue_vue_type_script_setup_true_lang-Cz7tqTyz.js");exports.TabContent=e._sfc_main$3;exports.TabList=e._sfc_main$1;exports.TabTrigger=e._sfc_main$2;exports.Tabs=e._sfc_main;exports.TabsSizes=e.TabsSizes;exports.injectTabsContext=e.injectTabsContext;exports.provideTabsContext=e.provideTabsContext;exports.tabsPrefix=e.tabsPrefix;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TabContent.vue_vue_type_script_setup_true_lang-BBb-wV7s.js");exports.TabContent=e._sfc_main$3;exports.TabList=e._sfc_main$1;exports.TabTrigger=e._sfc_main$2;exports.Tabs=e._sfc_main;exports.TabsSizes=e.TabsSizes;exports.injectTabsContext=e.injectTabsContext;exports.provideTabsContext=e.provideTabsContext;exports.tabsPrefix=e.tabsPrefix;