iryx-ui 0.25.0 → 0.27.0

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 (35) hide show
  1. package/dist/components/AppShell.vue.d.ts +12 -11
  2. package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +76 -61
  3. package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +2 -1
  4. package/dist/components/CommandPalette.vue.d.ts +12 -0
  5. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +122 -85
  6. package/dist/components/DateRangePicker.vue.d.ts +14 -2
  7. package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +111 -70
  8. package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +19 -18
  9. package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +12 -8
  10. package/dist/components/Sidebar.vue.d.ts +11 -5
  11. package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +172 -92
  12. package/dist/components/Tabs.vue.d.ts +7 -6
  13. package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js +65 -30
  14. package/dist/composables/command-palette.d.ts +7 -0
  15. package/dist/composables/command-palette.js +8 -2
  16. package/dist/composables/date.d.ts +25 -0
  17. package/dist/composables/date.js +59 -16
  18. package/dist/composables/dropdown-menu.d.ts +3 -1
  19. package/dist/composables/scroll-fade.d.ts +1 -1
  20. package/dist/composables/sidebar.d.ts +3 -0
  21. package/dist/composables/sidebar.js +7 -6
  22. package/dist/index.js +166 -166
  23. package/dist/theme/app-shell.d.ts +27 -6
  24. package/dist/theme/app-shell.js +26 -9
  25. package/dist/theme/avatar.js +1 -1
  26. package/dist/theme/date-picker.d.ts +9 -0
  27. package/dist/theme/date-picker.js +3 -0
  28. package/dist/theme/presets.d.ts +1 -0
  29. package/dist/theme/presets.js +1 -0
  30. package/dist/theme/sidebar.d.ts +24 -0
  31. package/dist/theme/sidebar.js +9 -2
  32. package/dist/theme/tabs.d.ts +18 -3
  33. package/dist/theme/tabs.js +20 -12
  34. package/package.json +1 -1
  35. package/theme.css +4 -0
@@ -2,18 +2,22 @@ import { useIryxUiConfig as e } from "../config.js";
2
2
  import t from "./Icon.js";
3
3
  import { formatIsoDate as n, toCalendarDate as r, toIsoDate as i } from "../composables/date.js";
4
4
  import { calendarTheme as ee } from "../theme/calendar.js";
5
- import { useFormField as te } from "../composables/form.js";
6
- import { datePickerTheme as a } from "../theme/date-picker.js";
7
- import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeModels as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, shallowRef as b, toDisplayString as x, unref as S, useModel as C, watch as w, withCtx as T } from "vue";
8
- import { ArrowLeft01Icon as E, ArrowRight01Icon as ne, Calendar03Icon as re } from "@hugeicons/core-free-icons";
9
- import { PopoverContent as D, PopoverPortal as O, PopoverRoot as k, PopoverTrigger as A, RangeCalendarCell as j, RangeCalendarCellTrigger as M, RangeCalendarGrid as N, RangeCalendarGridBody as P, RangeCalendarGridHead as F, RangeCalendarGridRow as I, RangeCalendarHeadCell as L, RangeCalendarHeader as R, RangeCalendarHeading as z, RangeCalendarNext as B, RangeCalendarPrev as V, RangeCalendarRoot as ie } from "reka-ui";
5
+ import { useFormField as a } from "../composables/form.js";
6
+ import { datePickerTheme as o } from "../theme/date-picker.js";
7
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, mergeModels as h, normalizeClass as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, shallowRef as b, toDisplayString as x, unref as S, useModel as ie, watch as C, withCtx as w } from "vue";
8
+ import { ArrowLeft01Icon as ae, ArrowRight01Icon as oe, Calendar03Icon as se } from "@hugeicons/core-free-icons";
9
+ import { PopoverContent as ce, PopoverPortal as le, PopoverRoot as ue, PopoverTrigger as de, RangeCalendarCell as T, RangeCalendarCellTrigger as E, RangeCalendarGrid as D, RangeCalendarGridBody as O, RangeCalendarGridHead as k, RangeCalendarGridRow as A, RangeCalendarHeadCell as j, RangeCalendarHeader as M, RangeCalendarHeading as N, RangeCalendarNext as P, RangeCalendarPrev as F, RangeCalendarRoot as I } from "reka-ui";
10
10
  //#region src/components/DateRangePicker.vue?vue&type=script&setup=true&lang.ts
11
- var H = [
11
+ var L = [
12
12
  "id",
13
13
  "disabled",
14
14
  "aria-invalid",
15
15
  "aria-describedby"
16
- ], U = { key: 0 }, W = /*@__PURE__*/ m({
16
+ ], R = { key: 0 }, z = ["aria-label"], B = [
17
+ "disabled",
18
+ "aria-pressed",
19
+ "onClick"
20
+ ], V = /*@__PURE__*/ m({
17
21
  __name: "DateRangePicker",
18
22
  props: /*@__PURE__*/ h({
19
23
  size: {},
@@ -30,6 +34,8 @@ var H = [
30
34
  format: {},
31
35
  weekStartsOn: {},
32
36
  months: { default: 2 },
37
+ presets: {},
38
+ presetsLabel: { default: "Presets" },
33
39
  clearable: { type: Boolean },
34
40
  separator: { default: " – " },
35
41
  clearLabel: { default: "Clear" },
@@ -55,127 +61,162 @@ var H = [
55
61
  }),
56
62
  emits: ["update:modelValue"],
57
63
  setup(m) {
58
- let h = m, W = C(m, "modelValue"), G = v(!1), K = te(), q = s(() => h.id ?? K?.id.value);
59
- K && h.id && (K.id.value = h.id);
60
- let J = s(() => h.invalid ?? K?.invalid.value ?? !1), Y = e(), ae = s(() => h.unstyled ?? Y.unstyled), X = b({
61
- start: r(W.value?.start),
62
- end: r(W.value?.end)
64
+ let h = m, V = ie(m, "modelValue"), H = v(!1), U = a(), fe = c(() => h.id ?? U?.id.value);
65
+ U && h.id && (U.id.value = h.id);
66
+ let W = c(() => h.invalid ?? U?.invalid.value ?? !1), pe = e(), me = c(() => h.unstyled ?? pe.unstyled), G = b({
67
+ start: r(V.value?.start),
68
+ end: r(V.value?.end)
63
69
  });
64
- function Z(e) {
65
- return i(e.start) === (W.value?.start ?? null) && i(e.end) === (W.value?.end ?? null);
70
+ function K(e) {
71
+ return i(e.start) === (V.value?.start ?? null) && i(e.end) === (V.value?.end ?? null);
66
72
  }
67
- w(W, () => {
68
- Z(X.value) || (X.value = {
69
- start: r(W.value?.start),
70
- end: r(W.value?.end)
73
+ C(V, () => {
74
+ K(G.value) || (G.value = {
75
+ start: r(V.value?.start),
76
+ end: r(V.value?.end)
71
77
  });
72
- }, { deep: !0 }), w(X, (e) => {
73
- Z(e) || (W.value = {
78
+ }, { deep: !0 }), C(G, (e) => {
79
+ K(e) || (V.value = {
74
80
  start: i(e.start),
75
81
  end: i(e.end)
76
82
  });
77
83
  });
78
- let oe = s(() => r(h.min)), se = s(() => r(h.max)), Q = s(() => {
79
- let e = n(W.value?.start, h.locale, h.format), t = n(W.value?.end, h.locale, h.format);
84
+ let q = v(!1), J;
85
+ function Y(e) {
86
+ q.value = e.matches;
87
+ }
88
+ re(() => {
89
+ typeof window.matchMedia == "function" && (J = window.matchMedia("(max-width: 39.99rem)"), q.value = J.matches, J.addEventListener("change", Y));
90
+ }), ne(() => J?.removeEventListener("change", Y));
91
+ let he = c(() => q.value ? 1 : h.months), ge = c(() => r(h.min)), _e = c(() => r(h.max)), X = c(() => {
92
+ let e = n(V.value?.start, h.locale, h.format), t = n(V.value?.end, h.locale, h.format);
80
93
  return !e && !t ? "" : t ? `${e}${h.separator}${t}` : e;
81
94
  });
82
- w(W, (e) => {
83
- G.value && e?.start && e?.end && (G.value = !1);
95
+ C(V, (e) => {
96
+ H.value && e?.start && e?.end && (H.value = !1);
84
97
  }, { deep: !0 });
85
- function ce() {
86
- W.value = {
98
+ let Z = c(() => (H.value, (h.presets ?? []).map((e) => ({
99
+ label: e.label,
100
+ range: typeof e.range == "function" ? e.range() : e.range
101
+ }))));
102
+ function Q(e) {
103
+ return (!h.min || !e.start || e.start >= h.min) && (!h.max || !e.end || e.end <= h.max);
104
+ }
105
+ function ve(e) {
106
+ return V.value?.start === e.start && V.value?.end === e.end;
107
+ }
108
+ function ye(e) {
109
+ V.value = {
110
+ start: e.start,
111
+ end: e.end
112
+ }, H.value = !1;
113
+ }
114
+ function be() {
115
+ V.value = {
87
116
  start: null,
88
117
  end: null
89
- }, G.value = !1;
118
+ }, H.value = !1;
90
119
  }
91
- let le = s(() => ({
92
- ...a({
120
+ let xe = c(() => ({
121
+ ...o({
93
122
  size: h.size,
94
- invalid: J.value
123
+ invalid: W.value
95
124
  }),
96
125
  ...ee({ range: !0 })
97
126
  }));
98
127
  function $(e, t) {
99
128
  let n = h.ui?.[e];
100
- return ae.value ? [n, t] : le.value[e]({ class: [n, t] });
129
+ return me.value ? [n, t] : xe.value[e]({ class: [n, t] });
101
130
  }
102
- return (e, n) => (_(), c(S(k), {
103
- open: G.value,
104
- "onUpdate:open": n[1] ||= (e) => G.value = e
131
+ return (e, n) => (_(), l(S(ue), {
132
+ open: H.value,
133
+ "onUpdate:open": n[1] ||= (e) => H.value = e
105
134
  }, {
106
- default: T(() => [p(S(A), { "as-child": "" }, {
107
- default: T(() => [d("button", {
108
- id: q.value,
135
+ default: w(() => [p(S(de), { "as-child": "" }, {
136
+ default: w(() => [f("button", {
137
+ id: fe.value,
109
138
  type: "button",
110
139
  disabled: h.disabled,
111
- "aria-invalid": J.value || void 0,
112
- "aria-describedby": S(K)?.describedBy.value,
140
+ "aria-invalid": W.value || void 0,
141
+ "aria-describedby": S(U)?.describedBy.value,
113
142
  class: g($("trigger", h.class))
114
- }, [Q.value ? (_(), u("span", U, x(Q.value), 1)) : (_(), u("span", {
143
+ }, [X.value ? (_(), d("span", R, x(X.value), 1)) : (_(), d("span", {
115
144
  key: 1,
116
145
  class: g($("placeholder"))
117
- }, x(h.placeholder), 3)), p(t, { icon: S(re) }, null, 8, ["icon"])], 10, H)]),
146
+ }, x(h.placeholder), 3)), p(t, { icon: S(se) }, null, 8, ["icon"])], 10, L)]),
118
147
  _: 1
119
- }), p(S(O), null, {
120
- default: T(() => [p(S(D), {
148
+ }), p(S(le), null, {
149
+ default: w(() => [p(S(ce), {
121
150
  class: g($("content")),
122
151
  "side-offset": 4,
123
152
  align: "start"
124
153
  }, {
125
- default: T(() => [p(S(ie), {
126
- modelValue: X.value,
127
- "onUpdate:modelValue": n[0] ||= (e) => X.value = e,
128
- "min-value": oe.value,
129
- "max-value": se.value,
154
+ default: w(() => [f("div", { class: g($("panel")) }, [Z.value.length ? (_(), d("div", {
155
+ key: 0,
156
+ role: "group",
157
+ "aria-label": h.presetsLabel,
158
+ class: g($("presets"))
159
+ }, [(_(!0), d(s, null, y(Z.value, (e) => (_(), d("button", {
160
+ key: e.label,
161
+ type: "button",
162
+ disabled: !Q(e.range),
163
+ "aria-pressed": ve(e.range),
164
+ class: g($("preset")),
165
+ onClick: (t) => ye(e.range)
166
+ }, x(e.label), 11, B))), 128))], 10, z)) : u("", !0), p(S(I), {
167
+ modelValue: G.value,
168
+ "onUpdate:modelValue": n[0] ||= (e) => G.value = e,
169
+ "min-value": ge.value,
170
+ "max-value": _e.value,
130
171
  locale: h.locale,
131
172
  "week-starts-on": h.weekStartsOn,
132
- "number-of-months": h.months,
173
+ "number-of-months": he.value,
133
174
  "fixed-weeks": "",
134
175
  "initial-focus": ""
135
176
  }, {
136
- default: T(({ grid: e, weekDays: n }) => [p(S(R), { class: g($("header")) }, {
137
- default: T(() => [
138
- p(S(V), {
177
+ default: w(({ grid: e, weekDays: n }) => [p(S(M), { class: g($("header")) }, {
178
+ default: w(() => [
179
+ p(S(F), {
139
180
  "aria-label": h.previousLabel,
140
181
  class: g($("nav"))
141
182
  }, {
142
- default: T(() => [p(t, { icon: S(E) }, null, 8, ["icon"])]),
183
+ default: w(() => [p(t, { icon: S(ae) }, null, 8, ["icon"])]),
143
184
  _: 1
144
185
  }, 8, ["aria-label", "class"]),
145
- p(S(z), { class: g($("heading")) }, null, 8, ["class"]),
146
- p(S(B), {
186
+ p(S(N), { class: g($("heading")) }, null, 8, ["class"]),
187
+ p(S(P), {
147
188
  "aria-label": h.nextLabel,
148
189
  class: g($("nav"))
149
190
  }, {
150
- default: T(() => [p(t, { icon: S(ne) }, null, 8, ["icon"])]),
191
+ default: w(() => [p(t, { icon: S(oe) }, null, 8, ["icon"])]),
151
192
  _: 1
152
193
  }, 8, ["aria-label", "class"])
153
194
  ]),
154
195
  _: 1
155
- }, 8, ["class"]), d("div", { class: g($("months")) }, [(_(!0), u(o, null, y(e, (e) => (_(), c(S(N), {
196
+ }, 8, ["class"]), f("div", { class: g($("months")) }, [(_(!0), d(s, null, y(e, (e) => (_(), l(S(D), {
156
197
  key: e.value.toString(),
157
198
  class: g($("grid"))
158
199
  }, {
159
- default: T(() => [p(S(F), null, {
160
- default: T(() => [p(S(I), null, {
161
- default: T(() => [(_(!0), u(o, null, y(n, (e) => (_(), c(S(L), {
200
+ default: w(() => [p(S(k), null, {
201
+ default: w(() => [p(S(A), null, {
202
+ default: w(() => [(_(!0), d(s, null, y(n, (e) => (_(), l(S(j), {
162
203
  key: e,
163
204
  class: g($("headCell"))
164
205
  }, {
165
- default: T(() => [f(x(e), 1)]),
206
+ default: w(() => [te(x(e), 1)]),
166
207
  _: 2
167
208
  }, 1032, ["class"]))), 128))]),
168
209
  _: 2
169
210
  }, 1024)]),
170
211
  _: 2
171
- }, 1024), p(S(P), null, {
172
- default: T(() => [(_(!0), u(o, null, y(e.rows, (t, n) => (_(), c(S(I), { key: `week-${n}` }, {
173
- default: T(() => [(_(!0), u(o, null, y(t, (t) => (_(), c(S(j), {
212
+ }, 1024), p(S(O), null, {
213
+ default: w(() => [(_(!0), d(s, null, y(e.rows, (t, n) => (_(), l(S(A), { key: `week-${n}` }, {
214
+ default: w(() => [(_(!0), d(s, null, y(t, (t) => (_(), l(S(T), {
174
215
  key: t.toString(),
175
216
  date: t,
176
217
  class: g($("cell"))
177
218
  }, {
178
- default: T(() => [p(S(M), {
219
+ default: w(() => [p(S(E), {
179
220
  day: t,
180
221
  month: e.value,
181
222
  class: g($("cellTrigger"))
@@ -200,14 +241,14 @@ var H = [
200
241
  "locale",
201
242
  "week-starts-on",
202
243
  "number-of-months"
203
- ]), h.clearable ? (_(), u("div", {
244
+ ])], 2), h.clearable ? (_(), d("div", {
204
245
  key: 0,
205
246
  class: g($("footer"))
206
- }, [d("button", {
247
+ }, [f("button", {
207
248
  type: "button",
208
249
  class: g($("action")),
209
- onClick: ce
210
- }, x(h.clearLabel), 3)], 2)) : l("", !0)]),
250
+ onClick: be
251
+ }, x(h.clearLabel), 3)], 2)) : u("", !0)]),
211
252
  _: 1
212
253
  }, 8, ["class"])]),
213
254
  _: 1
@@ -217,4 +258,4 @@ var H = [
217
258
  }
218
259
  });
219
260
  //#endregion
220
- export { W as default };
261
+ export { V as default };
@@ -1,10 +1,11 @@
1
1
  import { useIryxUiConfig as e } from "../config.js";
2
2
  import { dropdownMenuTheme as t } from "../theme/dropdown-menu.js";
3
3
  import n from "./DropdownMenuItems.js";
4
- import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, mergeModels as l, normalizeClass as u, openBlock as d, renderSlot as f, unref as p, useModel as m, withCtx as h } from "vue";
5
- import { DropdownMenuContent as g, DropdownMenuPortal as _, DropdownMenuRoot as v, DropdownMenuTrigger as y } from "reka-ui";
4
+ import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, normalizeClass as d, openBlock as f, renderSlot as p, unref as m, useModel as h, withCtx as g } from "vue";
5
+ import { DropdownMenuContent as _, DropdownMenuPortal as v, DropdownMenuRoot as y, DropdownMenuTrigger as b } from "reka-ui";
6
6
  //#region src/components/DropdownMenu.vue?vue&type=script&setup=true&lang.ts
7
- var b = /*@__PURE__*/ c({
7
+ var x = /*@__PURE__*/ c({
8
+ inheritAttrs: !1,
8
9
  __name: "DropdownMenu",
9
10
  props: /*@__PURE__*/ l({
10
11
  items: {},
@@ -32,28 +33,28 @@ var b = /*@__PURE__*/ c({
32
33
  }),
33
34
  emits: ["update:open"],
34
35
  setup(c) {
35
- let l = c, b = m(c, "open"), x = e(), S = r(() => l.unstyled ?? x.unstyled), C = r(() => l.items ?? []), w = r(() => S.value ? l.ui?.header : t().header({ class: l.ui?.header })), T = r(() => S.value ? [l.ui?.content, l.class] : t().content({ class: [l.ui?.content, l.class] }));
36
- return (e, t) => (d(), i(p(v), {
37
- open: b.value,
38
- "onUpdate:open": t[0] ||= (e) => b.value = e
36
+ let l = c, x = h(c, "open"), S = e(), C = r(() => l.unstyled ?? S.unstyled), w = r(() => l.items ?? []), T = r(() => C.value ? l.ui?.header : t().header({ class: l.ui?.header })), E = r(() => C.value ? [l.ui?.content, l.class] : t().content({ class: [l.ui?.content, l.class] }));
37
+ return (e, t) => (f(), i(m(y), {
38
+ open: x.value,
39
+ "onUpdate:open": t[0] ||= (e) => x.value = e
39
40
  }, {
40
- default: h(() => [s(p(y), { "as-child": "" }, {
41
- default: h(() => [f(e.$slots, "trigger")]),
41
+ default: g(() => [s(m(b), u({ "as-child": "" }, e.$attrs), {
42
+ default: g(() => [p(e.$slots, "trigger")]),
42
43
  _: 3
43
- }), s(p(_), null, {
44
- default: h(() => [s(p(g), {
44
+ }, 16), s(m(v), null, {
45
+ default: g(() => [s(m(_), {
45
46
  align: l.align,
46
47
  "align-offset": l.alignOffset,
47
48
  side: l.side,
48
49
  "side-offset": l.sideOffset,
49
- class: u(T.value)
50
+ class: d(E.value)
50
51
  }, {
51
- default: h(() => [e.$slots.header ? (d(), o("div", {
52
+ default: g(() => [e.$slots.header ? (f(), o("div", {
52
53
  key: 0,
53
- class: u(w.value)
54
- }, [f(e.$slots, "header")], 2)) : a("", !0), f(e.$slots, "default", {}, () => [s(n, {
55
- entries: C.value,
56
- unstyled: S.value,
54
+ class: d(T.value)
55
+ }, [p(e.$slots, "header")], 2)) : a("", !0), p(e.$slots, "default", {}, () => [s(n, {
56
+ entries: w.value,
57
+ unstyled: C.value,
57
58
  ui: l.ui
58
59
  }, null, 8, [
59
60
  "entries",
@@ -75,4 +76,4 @@ var b = /*@__PURE__*/ c({
75
76
  }
76
77
  });
77
78
  //#endregion
78
- export { b as default };
79
+ export { x as default };
@@ -63,8 +63,16 @@ var E = /*@__PURE__*/ u({
63
63
  _: 2
64
64
  }, 1024)]),
65
65
  _: 2
66
- }, 1024)) : t.onSelect ? (f(), a(g(y), {
66
+ }, 1024)) : !t.onSelect && !t.href ? (f(), a(g(b), {
67
+ key: 2,
68
+ class: d(D("label"))
69
+ }, {
70
+ default: _(() => [c(h(t.label), 1)]),
71
+ _: 2
72
+ }, 1032, ["class"])) : (f(), a(g(y), {
67
73
  key: 3,
74
+ as: t.href ? "a" : void 0,
75
+ href: t.href,
68
76
  disabled: t.disabled,
69
77
  class: d(D("item", t.danger)),
70
78
  onSelect: t.onSelect
@@ -75,16 +83,12 @@ var E = /*@__PURE__*/ u({
75
83
  }, null, 8, ["icon"])) : o("", !0), c(" " + h(t.label), 1)]),
76
84
  _: 2
77
85
  }, 1032, [
86
+ "as",
87
+ "href",
78
88
  "disabled",
79
89
  "class",
80
90
  "onSelect"
81
- ])) : (f(), a(g(b), {
82
- key: 2,
83
- class: d(D("label"))
84
- }, {
85
- default: _(() => [c(h(t.label), 1)]),
86
- _: 2
87
- }, 1032, ["class"]))], 64))), 128);
91
+ ]))], 64))), 128);
88
92
  };
89
93
  }
90
94
  });
@@ -3,7 +3,7 @@ import type { SidebarItems, SidebarLink } from '../composables/sidebar';
3
3
  export interface SidebarProps {
4
4
  /** Links, optionally grouped into labelled sections. */
5
5
  items?: SidebarItems;
6
- /** Which edge it sits on. Only decides where the border goes. */
6
+ /** Which edge it sits on: where the border goes and which way tooltips and group menus open. */
7
7
  side?: 'left' | 'right';
8
8
  /**
9
9
  * Accessible name for the navigation landmark — override for non-English
@@ -23,6 +23,7 @@ export interface SidebarProps {
23
23
  sectionLabel?: string;
24
24
  link?: string;
25
25
  linkLabel?: string;
26
+ linkInitial?: string;
26
27
  linkBadge?: string;
27
28
  groupIcon?: string;
28
29
  groupContent?: string;
@@ -39,10 +40,13 @@ declare var __VLS_8: {
39
40
  collapsed: boolean;
40
41
  }, __VLS_10: {
41
42
  collapsed: boolean;
42
- }, __VLS_61: {
43
+ }, __VLS_26: {
44
+ link: SidebarLink;
45
+ collapsed: true;
46
+ }, __VLS_92: {
43
47
  link: SidebarLink;
44
48
  collapsed: boolean;
45
- }, __VLS_68: {
49
+ }, __VLS_99: {
46
50
  collapsed: boolean;
47
51
  };
48
52
  type __VLS_Slots = {} & {
@@ -50,9 +54,11 @@ type __VLS_Slots = {} & {
50
54
  } & {
51
55
  default?: (props: typeof __VLS_10) => any;
52
56
  } & {
53
- link?: (props: typeof __VLS_61) => any;
57
+ link?: (props: typeof __VLS_26) => any;
58
+ } & {
59
+ link?: (props: typeof __VLS_92) => any;
54
60
  } & {
55
- footer?: (props: typeof __VLS_68) => any;
61
+ footer?: (props: typeof __VLS_99) => any;
56
62
  };
57
63
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
64
  "update:collapsed": (value: boolean) => any;