vlite3 1.5.33 → 1.5.35

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 (39) hide show
  1. package/components/AppShell/AppShell.vue.d.ts +1 -0
  2. package/components/AppShell/AppShell.vue.js +5 -4
  3. package/components/AppShell/AppShellLayoutClassic.vue.d.ts +15 -4
  4. package/components/AppShell/AppShellLayoutClassic.vue.js +106 -97
  5. package/components/AppShell/AppShellLayoutDashboard.vue.d.ts +15 -4
  6. package/components/AppShell/AppShellLayoutDashboard.vue.js +87 -78
  7. package/components/AppShell/AppShellLayoutDock.vue.d.ts +15 -4
  8. package/components/AppShell/AppShellLayoutDock.vue.js +83 -74
  9. package/components/AppShell/AppShellLayoutHeaderShell.vue.d.ts +15 -4
  10. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +82 -73
  11. package/components/AppShell/AppShellLayoutSidebarFirst.vue.d.ts +15 -4
  12. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +82 -73
  13. package/components/AppShell/AppShellLayoutStorefront.vue.d.ts +7 -1
  14. package/components/AppShell/AppShellLayoutStorefront.vue.js +119 -107
  15. package/components/AppShell/index.d.ts +1 -1
  16. package/components/AppShell/useAppShell.d.ts +11 -0
  17. package/components/AppShell/useAppShell.js +157 -109
  18. package/components/CategoryManager/CategoryManager2.vue.js +1 -1
  19. package/components/CommandPalette/CommandPaletteContent2.vue.js +1 -1
  20. package/components/CommandPalette/{CommandPaletteItem2.vue.js → CommandPaletteItem.vue.js} +1 -1
  21. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  22. package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +1 -1
  23. package/components/Form/Form2.vue.js +3 -2
  24. package/components/Form/index2.vue.js +1 -1
  25. package/components/ImportData/ImportData.vue.js +3 -2
  26. package/components/NavbarCommandPalette.vue.js +1 -1
  27. package/components/Screen/ScreenFilter.vue.js +1 -1
  28. package/components/Timeline/Timeline.vue.d.ts +12 -3
  29. package/components/Timeline/Timeline.vue.js +90 -61
  30. package/components/Timeline/Timeline3.vue.js +5 -0
  31. package/docs/components/app-shell.md +2 -0
  32. package/docs-manifest.json +3 -3
  33. package/index.js +502 -501
  34. package/package.json +1 -1
  35. package/style.css +1 -1
  36. package/types/appshell.type.d.ts +6 -0
  37. package/types/timeline.type.d.ts +2 -0
  38. package/components/Timeline/Timeline2.vue.js +0 -4
  39. /package/components/Dropdown/{DropdownMenu2.vue.js → DropdownMenu3.vue.js} +0 -0
@@ -1,139 +1,187 @@
1
- import { computed as t, shallowRef as A, ref as i, provide as S, onMounted as I, onUnmounted as P, watch as p, nextTick as Y } from "vue";
2
- import { useRoute as D } from "vue-router";
3
- import { useLocalStorage as U, useBreakpoints as _, breakpointsTailwind as F } from "@vueuse/core";
4
- import { useBreadcrumb as K } from "../../composables/useBreadcrumb.js";
5
- import { useRtl as V } from "../../composables/useRtl.js";
6
- const W = /* @__PURE__ */ Symbol("appshell-layout-ctx");
7
- function ee(e, v) {
8
- const L = e.breadcrumb ? K({
1
+ import { computed as n, shallowRef as I, ref as d, provide as L, watch as k, onMounted as Y, onUnmounted as _, nextTick as U } from "vue";
2
+ import { useRoute as V } from "vue-router";
3
+ import { useLocalStorage as W, useBreakpoints as F, breakpointsTailwind as K } from "@vueuse/core";
4
+ import { useBreadcrumb as q } from "../../composables/useBreadcrumb.js";
5
+ import { useRtl as G } from "../../composables/useRtl.js";
6
+ const J = /* @__PURE__ */ Symbol("appshell-layout-ctx");
7
+ function ne(e, v) {
8
+ const O = e.breadcrumb ? q({
9
9
  homeIcon: e.breadcrumbHomeIcon,
10
10
  labelMap: e.breadcrumbLabels || {}
11
- }) : { items: t(() => []) }, c = A([]), m = i("");
12
- S("navbar-context", {
13
- compact: t(() => e.compact),
14
- renderNestedTabs: t(() => e.renderNestedTabs),
15
- setNestedTabs: (l, n) => {
16
- c.value = l, m.value = n;
11
+ }) : { items: n(() => []) }, f = I([]), u = d("");
12
+ L("navbar-context", {
13
+ compact: n(() => e.compact),
14
+ renderNestedTabs: n(() => e.renderNestedTabs),
15
+ setNestedTabs: (l, i) => {
16
+ f.value = l, u.value = i;
17
17
  }
18
18
  });
19
- const u = i(!1), o = i(!1), a = i(null), f = i(null), E = V(), w = t(() => E.value), N = t(
20
- () => w.value ? "opacity-0 translate-x-2" : "opacity-0 -translate-x-2"
21
- ), d = U("vlite-appshell-sidebar-visible", !0), R = t(() => e.sidebarToggle && v), j = () => {
22
- d.value = !d.value;
23
- }, B = t(() => e.hideSidebar || R.value && !d.value), H = (l) => {
24
- c.value.find((s) => s.value === l) && (typeof l == "string" && l.startsWith("/") ? import("vue-router").then(({ useRouter: s }) => {
25
- s().push(l).catch(() => {
19
+ const b = d(!1), w = d(null), s = d(null), H = n(
20
+ () => (e.breakpointSource ?? "viewport") === "container" ? "@container" : ""
21
+ );
22
+ k(w, (l, i, t) => {
23
+ if ((e.breakpointSource ?? "viewport") !== "container" || !l) {
24
+ s.value = null;
25
+ return;
26
+ }
27
+ const o = new ResizeObserver((a) => {
28
+ s.value = a[0]?.contentRect.width ?? 0;
29
+ });
30
+ o.observe(l), t(() => o.disconnect());
31
+ });
32
+ const x = d(!1), r = d(null), h = d(null), j = G(), y = n(() => j.value), R = n(
33
+ () => y.value ? "opacity-0 translate-x-2" : "opacity-0 -translate-x-2"
34
+ ), c = W("vlite-appshell-sidebar-visible", !0), $ = n(() => e.sidebarToggle && v), E = () => {
35
+ c.value = !c.value;
36
+ }, B = n(() => e.hideSidebar || $.value && !c.value), M = (l) => {
37
+ f.value.find((t) => t.value === l) && (typeof l == "string" && l.startsWith("/") ? import("vue-router").then(({ useRouter: t }) => {
38
+ t().push(l).catch(() => {
26
39
  });
27
- }) : m.value = l);
28
- }, k = () => {
29
- o.value = window.scrollY > 10;
40
+ }) : u.value = l);
41
+ }, S = () => {
42
+ x.value = window.scrollY > 10;
30
43
  };
31
- I(() => {
32
- window.addEventListener("scroll", k, { passive: !0 });
33
- }), P(() => {
34
- window.removeEventListener("scroll", k);
44
+ Y(() => {
45
+ window.addEventListener("scroll", S, { passive: !0 });
46
+ }), _(() => {
47
+ window.removeEventListener("scroll", S);
35
48
  });
36
- const y = t(() => {
37
- const l = e.mobileBreakpoint || "md", n = {
38
- sm: "sm:hidden",
39
- md: "md:hidden",
40
- lg: "lg:hidden",
41
- xl: "xl:hidden"
42
- }, s = {
43
- sm: "hidden sm:flex",
44
- md: "hidden md:flex",
45
- lg: "hidden lg:flex",
46
- xl: "hidden xl:flex"
47
- }, r = {
48
- sm: `flex flex-col max-sm:w-full ${e.compact ? "w-20" : ""} h-auto sm:h-full sm:max-h-screen shrink-0`,
49
- md: `flex flex-col max-md:w-full ${e.compact ? "w-20" : ""} h-auto md:h-full md:max-h-screen shrink-0`,
50
- lg: `flex flex-col max-lg:w-full ${e.compact ? "w-20" : ""} h-auto lg:h-full lg:max-h-screen shrink-0`,
51
- xl: `flex flex-col max-xl:w-full ${e.compact ? "w-20" : ""} h-auto xl:h-full xl:max-h-screen shrink-0`
52
- }, h = {
53
- sm: "sm:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
54
- md: "md:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
55
- lg: "lg:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
56
- xl: "xl:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background"
57
- }, C = {
58
- sm: "hidden sm:flex flex-col h-full w-full overflow-hidden",
59
- md: "hidden md:flex flex-col h-full w-full overflow-hidden",
60
- lg: "hidden lg:flex flex-col h-full w-full overflow-hidden",
61
- xl: "hidden xl:flex flex-col h-full w-full overflow-hidden"
62
- }, x = {
63
- sm: "hidden sm:flex",
64
- md: "hidden md:flex",
65
- lg: "hidden lg:flex",
66
- xl: "hidden xl:flex"
67
- };
68
- return {
69
- mobileTrigger: n[l],
70
- desktopContent: s[l],
71
- sidebarLayout: r[l],
72
- mobileHeader: h[l],
73
- desktopSidebar: C[l],
74
- desktopOnly: x[l]
49
+ const p = n(() => {
50
+ const l = e.mobileBreakpoint || "md", i = e.compact ? "w-20" : "", t = (e.breakpointSource ?? "viewport") === "container", o = {
51
+ sm: {
52
+ mobileTrigger: "sm:hidden",
53
+ desktopContent: "hidden sm:flex",
54
+ sidebarLayout: `flex flex-col max-sm:w-full ${i} h-auto sm:h-full sm:max-h-screen shrink-0`,
55
+ mobileHeader: "sm:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
56
+ desktopSidebar: "hidden sm:flex flex-col h-full w-full overflow-hidden",
57
+ desktopOnly: "hidden sm:flex",
58
+ mobileSidebar: "max-sm:hidden"
59
+ },
60
+ md: {
61
+ mobileTrigger: "md:hidden",
62
+ desktopContent: "hidden md:flex",
63
+ sidebarLayout: `flex flex-col max-md:w-full ${i} h-auto md:h-full md:max-h-screen shrink-0`,
64
+ mobileHeader: "md:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
65
+ desktopSidebar: "hidden md:flex flex-col h-full w-full overflow-hidden",
66
+ desktopOnly: "hidden md:flex",
67
+ mobileSidebar: "max-md:hidden"
68
+ },
69
+ lg: {
70
+ mobileTrigger: "lg:hidden",
71
+ desktopContent: "hidden lg:flex",
72
+ sidebarLayout: `flex flex-col max-lg:w-full ${i} h-auto lg:h-full lg:max-h-screen shrink-0`,
73
+ mobileHeader: "lg:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
74
+ desktopSidebar: "hidden lg:flex flex-col h-full w-full overflow-hidden",
75
+ desktopOnly: "hidden lg:flex",
76
+ mobileSidebar: "max-lg:hidden"
77
+ },
78
+ xl: {
79
+ mobileTrigger: "xl:hidden",
80
+ desktopContent: "hidden xl:flex",
81
+ sidebarLayout: `flex flex-col max-xl:w-full ${i} h-auto xl:h-full xl:max-h-screen shrink-0`,
82
+ mobileHeader: "xl:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
83
+ desktopSidebar: "hidden xl:flex flex-col h-full w-full overflow-hidden",
84
+ desktopOnly: "hidden xl:flex",
85
+ mobileSidebar: "max-xl:hidden"
86
+ }
87
+ }, a = {
88
+ sm: {
89
+ mobileTrigger: "@min-[640px]:hidden",
90
+ desktopContent: "hidden @min-[640px]:flex",
91
+ sidebarLayout: `flex flex-col @max-[639px]:w-full ${i} h-auto @min-[640px]:h-full @min-[640px]:max-h-screen shrink-0`,
92
+ mobileHeader: "@min-[640px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
93
+ desktopSidebar: "hidden @min-[640px]:flex flex-col h-full w-full overflow-hidden",
94
+ desktopOnly: "hidden @min-[640px]:flex",
95
+ mobileSidebar: "@max-[639px]:hidden"
96
+ },
97
+ md: {
98
+ mobileTrigger: "@min-[768px]:hidden",
99
+ desktopContent: "hidden @min-[768px]:flex",
100
+ sidebarLayout: `flex flex-col @max-[767px]:w-full ${i} h-auto @min-[768px]:h-full @min-[768px]:max-h-screen shrink-0`,
101
+ mobileHeader: "@min-[768px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
102
+ desktopSidebar: "hidden @min-[768px]:flex flex-col h-full w-full overflow-hidden",
103
+ desktopOnly: "hidden @min-[768px]:flex",
104
+ mobileSidebar: "@max-[767px]:hidden"
105
+ },
106
+ lg: {
107
+ mobileTrigger: "@min-[1024px]:hidden",
108
+ desktopContent: "hidden @min-[1024px]:flex",
109
+ sidebarLayout: `flex flex-col @max-[1023px]:w-full ${i} h-auto @min-[1024px]:h-full @min-[1024px]:max-h-screen shrink-0`,
110
+ mobileHeader: "@min-[1024px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
111
+ desktopSidebar: "hidden @min-[1024px]:flex flex-col h-full w-full overflow-hidden",
112
+ desktopOnly: "hidden @min-[1024px]:flex",
113
+ mobileSidebar: "@max-[1023px]:hidden"
114
+ },
115
+ xl: {
116
+ mobileTrigger: "@min-[1280px]:hidden",
117
+ desktopContent: "hidden @min-[1280px]:flex",
118
+ sidebarLayout: `flex flex-col @max-[1279px]:w-full ${i} h-auto @min-[1280px]:h-full @min-[1280px]:max-h-screen shrink-0`,
119
+ mobileHeader: "@min-[1280px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
120
+ desktopSidebar: "hidden @min-[1280px]:flex flex-col h-full w-full overflow-hidden",
121
+ desktopOnly: "hidden @min-[1280px]:flex",
122
+ mobileSidebar: "@max-[1279px]:hidden"
123
+ }
75
124
  };
76
- }), M = t(() => {
77
- const l = e.variant === "sidebar", n = {
125
+ return (t ? a : o)[l];
126
+ }), z = n(() => {
127
+ const l = e.variant === "sidebar", i = {
78
128
  fixed: "relative z-40",
79
129
  sticky: "relative z-40",
80
130
  relative: "relative z-10",
81
131
  absolute: "relative z-40"
82
- }, s = "bg-body", r = [
83
- e.glass && (o.value || l || e.floating) ? "bg-background/95" : "bg-background",
132
+ }, t = "bg-body", o = [
133
+ e.glass && (x.value || l || e.floating) ? "bg-background/95" : "bg-background",
84
134
  e.border && !e.floating ? l ? "border-e border-border" : "border-b border-border" : "",
85
135
  e.floating ? "m-4 rounded shadow-lg border border-border/50" : "",
86
- o.value && !e.floating && !l && e.position === "sticky" ? "shadow-sm" : ""
87
- ], h = e.mobileBreakpoint || "md", x = l ? {
88
- sm: "max-sm:hidden",
89
- md: "max-md:hidden",
90
- lg: "max-lg:hidden",
91
- xl: "max-xl:hidden"
92
- }[h] : "";
93
- let g = "";
94
- return l ? g = y.value.sidebarLayout : g = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${e.height}`, [s, n[e.position], ...r, g, x, e.class].filter(Boolean).join(" ");
95
- }), O = t(() => {
136
+ x.value && !e.floating && !l && e.position === "sticky" ? "shadow-sm" : ""
137
+ ], a = l ? p.value.mobileSidebar : "";
138
+ let m = "";
139
+ return l ? m = p.value.sidebarLayout : (e.breakpointSource ?? "viewport") === "container" ? m = `flex items-center gap-4 w-full px-4 @min-[640px]:px-6 @min-[1024px]:px-8 ${e.height}` : m = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${e.height}`, [t, i[e.position], ...o, m, a, e.class].filter(Boolean).join(" ");
140
+ }), N = n(() => {
96
141
  if (e.variant === "sidebar")
97
142
  return "flex-1 py-4 overflow-y-auto scrollbar-thin scrollbar-stable";
98
143
  if (e.centerPosition === "left")
99
144
  return "flex items-center justify-start";
100
- }), b = D();
101
- p(
102
- () => b.path,
145
+ }), g = V();
146
+ k(
147
+ () => g.path,
103
148
  () => {
104
- u.value = !1, Y(() => {
105
- a.value && (a.value.scrollTop = 0, a.value.firstElementChild && (a.value.firstElementChild.scrollTop = 0)), f.value && (f.value.scrollTop = 0);
149
+ b.value = !1, U(() => {
150
+ r.value && (r.value.scrollTop = 0, r.value.firstElementChild && (r.value.firstElementChild.scrollTop = 0)), h.value && (h.value.scrollTop = 0);
106
151
  });
107
152
  }
108
153
  );
109
- const $ = _(F).greater(e.mobileBreakpoint);
110
- p($, (l) => {
111
- l && (u.value = !1);
154
+ const P = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A = F(K).greater(e.mobileBreakpoint), T = n(() => (e.breakpointSource ?? "viewport") !== "container" ? A.value : s.value == null ? null : s.value >= P[e.mobileBreakpoint || "md"]);
155
+ k(T, (l) => {
156
+ l && (b.value = !1);
112
157
  });
113
- const z = t(() => b.meta?.title || b.name || ""), T = {
158
+ const D = n(() => g.meta?.title || g.name || ""), C = {
114
159
  props: e,
115
160
  isLayoutMode: v,
116
- isMobileMenuOpen: u,
117
- isSidebarVisible: d,
161
+ isMobileMenuOpen: b,
162
+ isSidebarVisible: c,
118
163
  sidebarHidden: B,
119
- pageTitle: z,
120
- isScrolled: o,
121
- isRtl: w,
122
- sidebarSlideFromClass: N,
123
- mainScrollRef: a,
124
- layoutMainRef: f,
125
- toggleSidebar: j,
126
- handleNestedTabClick: H,
127
- breakpointClasses: y,
128
- containerClasses: M,
129
- centerClasses: O,
130
- breadcrumbData: L,
131
- nestedTabsItems: c,
132
- activeNestedTab: m
164
+ isDesktop: T,
165
+ shellRef: w,
166
+ shellClass: H,
167
+ pageTitle: D,
168
+ isScrolled: x,
169
+ isRtl: y,
170
+ sidebarSlideFromClass: R,
171
+ mainScrollRef: r,
172
+ layoutMainRef: h,
173
+ toggleSidebar: E,
174
+ handleNestedTabClick: M,
175
+ breakpointClasses: p,
176
+ containerClasses: z,
177
+ centerClasses: N,
178
+ breadcrumbData: O,
179
+ nestedTabsItems: f,
180
+ activeNestedTab: u
133
181
  };
134
- return S(W, T), T;
182
+ return L(J, C), C;
135
183
  }
136
184
  export {
137
- W as APPSHELL_LAYOUT_KEY,
138
- ee as useAppShell
185
+ J as APPSHELL_LAYOUT_KEY,
186
+ ne as useAppShell
139
187
  };
@@ -22,7 +22,7 @@ import "@vueuse/core";
22
22
  /* empty css */
23
23
  import qe from "../IconPicker.vue.js";
24
24
  /* empty css */
25
- /* empty css */
25
+ /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
28
  /* empty css */
@@ -4,7 +4,7 @@ import _ from "../Icon.vue.js";
4
4
  import { $t as E } from "../../utils/i18n.js";
5
5
  import { useCommandPaletteItems as Y } from "./useCommandPaletteItems.js";
6
6
  import { useCommandPaletteNav as Z } from "./useCommandPaletteNav.js";
7
- import ee from "./CommandPaletteItem2.vue.js";
7
+ import ee from "./CommandPaletteItem.vue.js";
8
8
  const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[70vh]" }, oe = { class: "flex items-center gap-3 px-4 py-3 border-b border-border/80 shrink-0" }, se = ["placeholder"], ne = ["aria-label"], re = {
9
9
  key: 0,
10
10
  class: "flex flex-col items-center justify-center py-14 px-6 text-center select-none",
@@ -1,5 +1,5 @@
1
1
  import t from "./CommandPaletteItem3.vue.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-66b1ae06"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import o from "./DropdownMenu2.vue.js";
1
+ import o from "./DropdownMenu3.vue.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b2b8e35e"]]);
@@ -1,5 +1,5 @@
1
1
  import o from "./AccordionView3.vue.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-543c2aba"]]);
5
5
  export {
@@ -7,6 +7,7 @@ import Xe from "../Accordion/Accordion.vue.js";
7
7
  import S from "../Button.vue.js";
8
8
  import Ze from "../BackButton.vue.js";
9
9
  import _e from "../Timeline/Timeline.vue.js";
10
+ /* empty css */
10
11
  import "@iconify/vue";
11
12
  import "../../icons/IconRegistry.js";
12
13
  import { resolveI18nText as et } from "../../utils/i18n.js";
@@ -32,7 +33,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
32
33
  }, ft = {
33
34
  key: 0,
34
35
  class: "flex gap-3 items-center"
35
- }, It = /* @__PURE__ */ Ge({
36
+ }, zt = /* @__PURE__ */ Ge({
36
37
  __name: "Form",
37
38
  props: {
38
39
  schema: {},
@@ -616,5 +617,5 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
616
617
  }
617
618
  });
618
619
  export {
619
- It as default
620
+ zt as default
620
621
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as d, openBlock as n, createElementBlock as R, createElementVNode as x, createBlock as s, withCtx as k, createTextVNode as B, toDisplayString as I, createCommentVNode as y, unref as l } from "vue";
2
2
  import T from "./TableView.vue.js";
3
- import C from "./AccordionView.vue.js";
3
+ import C from "./AccordionView2.vue.js";
4
4
  import U from "../Label.vue.js";
5
5
  import z from "../Button.vue.js";
6
6
  import { useCustomFieldRows as N } from "./composables/useCustomFieldRows.js";
@@ -2,6 +2,7 @@ import { defineComponent as ne, computed as h, ref as y, shallowRef as B, openBl
2
2
  import me from "../Modal.vue.js";
3
3
  import I from "../Button.vue.js";
4
4
  import fe from "../Timeline/Timeline.vue.js";
5
+ /* empty css */
5
6
  import "@iconify/vue";
6
7
  import "../../icons/IconRegistry.js";
7
8
  import { $t as E } from "../../utils/i18n.js";
@@ -16,7 +17,7 @@ import { showToast as j } from "../../composables/useNotifications.js";
16
17
  const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
17
18
  key: 0,
18
19
  class: "mt-4 p-3 bg-destructive/10 border border-destructive/20 rounded-lg text-sm text-destructive"
19
- }, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 }, Ae = /* @__PURE__ */ ne({
20
+ }, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 }, Pe = /* @__PURE__ */ ne({
20
21
  __name: "ImportData",
21
22
  props: {
22
23
  title: { default: "Import Data" },
@@ -260,5 +261,5 @@ const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
260
261
  }
261
262
  });
262
263
  export {
263
- Ae as default
264
+ Pe as default
264
265
  };
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
3
3
  import v from "./Modal.vue.js";
4
4
  import N from "./CommandPalette/CommandPaletteContent.vue.js";
5
5
  import { $t as U } from "../utils/i18n.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ms-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ms-1" }, A = /* @__PURE__ */ x({
8
8
  __name: "NavbarCommandPalette",
9
9
  props: {
@@ -23,7 +23,7 @@ import "iconify-icon-picker/style.css";
23
23
  import "../../icons/IconRegistry.js";
24
24
  /* empty css */
25
25
  /* empty css */
26
- /* empty css */
26
+ /* empty css */
27
27
  /* empty css */
28
28
  /* empty css */
29
29
  /* empty css */
@@ -1,11 +1,16 @@
1
- import { TimelineStep, TimelineDirection, TimelineTextPosition, TimelineLineStyle, TimelineIndicatorType } from '../../types';
1
+ import { Component } from 'vue';
2
+ import { TimelineStep, TimelineMode, TimelineDirection, TimelineTextPosition, TimelineLineStyle, TimelineIndicatorType, TimelineTone } from '../../types';
2
3
  interface Props {
3
4
  steps: TimelineStep[];
5
+ mode?: TimelineMode;
6
+ as?: string | Component;
7
+ gap?: number | string;
4
8
  activeStep?: number;
5
9
  direction?: TimelineDirection;
6
10
  textPosition?: TimelineTextPosition;
7
11
  lineStyle?: TimelineLineStyle;
8
12
  indicatorType?: TimelineIndicatorType;
13
+ tone?: TimelineTone;
9
14
  clickable?: boolean;
10
15
  class?: string;
11
16
  }
@@ -35,7 +40,7 @@ declare function __VLS_template(): {
35
40
  }): any;
36
41
  };
37
42
  refs: {};
38
- rootEl: HTMLElement;
43
+ rootEl: any;
39
44
  };
40
45
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
46
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -43,14 +48,18 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
43
48
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
44
49
  "onStep-click"?: (step: TimelineStep, index: number) => any;
45
50
  }>, {
51
+ mode: TimelineMode;
46
52
  class: string;
47
53
  clickable: boolean;
48
54
  direction: TimelineDirection;
55
+ gap: number | string;
49
56
  indicatorType: TimelineIndicatorType;
50
57
  activeStep: number;
51
58
  textPosition: TimelineTextPosition;
52
59
  lineStyle: TimelineLineStyle;
53
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
60
+ as: string;
61
+ tone: TimelineTone;
62
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
63
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
64
  export default _default;
56
65
  type __VLS_WithTemplateSlots<T, S> = T & {