vlite3 0.8.6 → 0.8.7

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 (27) hide show
  1. package/components/Chip/Chip.vue.d.ts +2 -2
  2. package/components/DataTable/DataTable.vue.d.ts +2 -2
  3. package/components/Empty/Empty.vue.js +51 -40
  4. package/components/Empty/variants/Variant1.vue.js +31 -2
  5. package/components/Empty/variants/Variant1.vue2.js +2 -31
  6. package/components/Empty/variants/Variant10.vue.js +35 -2
  7. package/components/Empty/variants/Variant10.vue2.js +2 -35
  8. package/components/Empty/variants/Variant11.vue.js +27 -2
  9. package/components/Empty/variants/Variant11.vue2.js +2 -27
  10. package/components/Empty/variants/Variant2.vue.js +31 -2
  11. package/components/Empty/variants/Variant2.vue2.js +2 -31
  12. package/components/Empty/variants/Variant3.vue.js +20 -2
  13. package/components/Empty/variants/Variant3.vue2.js +2 -20
  14. package/components/Empty/variants/Variant4.vue.js +31 -2
  15. package/components/Empty/variants/Variant4.vue2.js +2 -31
  16. package/components/Empty/variants/Variant5.vue.js +28 -2
  17. package/components/Empty/variants/Variant5.vue2.js +2 -28
  18. package/components/Empty/variants/Variant6.vue.js +31 -2
  19. package/components/Empty/variants/Variant6.vue2.js +2 -31
  20. package/components/Empty/variants/Variant7.vue.js +33 -2
  21. package/components/Empty/variants/Variant7.vue2.js +2 -33
  22. package/components/Empty/variants/Variant8.vue.js +31 -2
  23. package/components/Empty/variants/Variant8.vue2.js +2 -31
  24. package/components/Empty/variants/Variant9.vue.js +31 -2
  25. package/components/Empty/variants/Variant9.vue2.js +2 -31
  26. package/components/Workbook/Workbook.vue.d.ts +2 -2
  27. package/package.json +1 -1
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<ExtendedProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
- delete: (event: MouseEvent) => any;
17
16
  click: (event: MouseEvent) => any;
17
+ delete: (event: MouseEvent) => any;
18
18
  }, string, import('vue').PublicProps, Readonly<ExtendedProps> & Readonly<{
19
- onDelete?: (event: MouseEvent) => any;
20
19
  onClick?: (event: MouseEvent) => any;
20
+ onDelete?: (event: MouseEvent) => any;
21
21
  }>, {
22
22
  text: string;
23
23
  variant: ChipVariant | string;
@@ -18,15 +18,15 @@ declare function __VLS_template(): {
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<DataTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
20
  select: (state: SelectionState) => any;
21
- delete: (rows: any[]) => any;
22
21
  change: (state: TableState) => any;
22
+ delete: (rows: any[]) => any;
23
23
  "update:itemsPerPage": (value: number) => any;
24
24
  rowClick: (payload: RowClickPayload) => any;
25
25
  "update:selectedRows": (value: any[]) => any;
26
26
  }, string, import('vue').PublicProps, Readonly<DataTableProps> & Readonly<{
27
27
  onSelect?: (state: SelectionState) => any;
28
- onDelete?: (rows: any[]) => any;
29
28
  onChange?: (state: TableState) => any;
29
+ onDelete?: (rows: any[]) => any;
30
30
  "onUpdate:itemsPerPage"?: (value: number) => any;
31
31
  onRowClick?: (payload: RowClickPayload) => any;
32
32
  "onUpdate:selectedRows"?: (value: any[]) => any;
@@ -1,7 +1,18 @@
1
- import { defineComponent as y, computed as r, markRaw as t, defineAsyncComponent as i, openBlock as c, createElementBlock as h, createBlock as C, resolveDynamicComponent as I, createSlots as _, renderList as g, withCtx as k, renderSlot as w, normalizeProps as x, guardReactiveProps as B } from "vue";
2
- import { $t as o } from "../../utils/i18n.js";
3
- import { useVLiteConfig as S } from "../../core/config.js";
4
- const V = { class: "flex items-center justify-center min-h-[300px] w-full py-2" }, R = /* @__PURE__ */ y({
1
+ import { defineComponent as d, computed as n, markRaw as t, openBlock as m, createElementBlock as u, createBlock as $, resolveDynamicComponent as y, createSlots as h, renderList as I, withCtx as g, renderSlot as C, normalizeProps as k, guardReactiveProps as w } from "vue";
2
+ import { $t as e } from "../../utils/i18n.js";
3
+ import { useVLiteConfig as x } from "../../core/config.js";
4
+ import B from "./variants/Variant1.vue.js";
5
+ import S from "./variants/Variant2.vue.js";
6
+ import V from "./variants/Variant3.vue.js";
7
+ import b from "./variants/Variant4.vue.js";
8
+ import D from "./variants/Variant5.vue.js";
9
+ import E from "./variants/Variant6.vue.js";
10
+ import L from "./variants/Variant7.vue.js";
11
+ import P from "./variants/Variant8.vue.js";
12
+ import R from "./variants/Variant9.vue.js";
13
+ import T from "./variants/Variant10.vue.js";
14
+ import j from "./variants/Variant11.vue.js";
15
+ const z = { class: "flex items-center justify-center min-h-[300px] w-full py-2" }, tt = /* @__PURE__ */ d({
5
16
  __name: "Empty",
6
17
  props: {
7
18
  title: {},
@@ -11,42 +22,42 @@ const V = { class: "flex items-center justify-center min-h-[300px] w-full py-2"
11
22
  icon: { default: "lucide:inbox" },
12
23
  variant: {}
13
24
  },
14
- setup(a) {
15
- const e = a, l = S(), m = r(() => e.variant || l?.components?.empty?.variant || "variant1"), v = r(() => {
16
- if (e.titleI18n) return o(e.titleI18n);
17
- if (e.title) return e.title;
18
- const n = o("vlite.empty.title");
19
- return n !== "vlite.empty.title" ? n : "No data found";
20
- }), d = r(() => {
21
- if (e.descriptionI18n) return o(e.descriptionI18n);
22
- if (e.description) return e.description;
23
- const n = o("vlite.empty.description");
24
- return n !== "vlite.empty.description" ? n : "There is nothing to display here right now.";
25
- }), s = {
26
- variant1: t(i(() => import("./variants/Variant1.vue.js"))),
27
- variant2: t(i(() => import("./variants/Variant2.vue.js"))),
28
- variant3: t(i(() => import("./variants/Variant3.vue.js"))),
29
- variant4: t(i(() => import("./variants/Variant4.vue.js"))),
30
- variant5: t(i(() => import("./variants/Variant5.vue.js"))),
31
- variant6: t(i(() => import("./variants/Variant6.vue.js"))),
32
- variant7: t(i(() => import("./variants/Variant7.vue.js"))),
33
- variant8: t(i(() => import("./variants/Variant8.vue.js"))),
34
- variant9: t(i(() => import("./variants/Variant9.vue.js"))),
35
- variant10: t(i(() => import("./variants/Variant10.vue.js"))),
36
- variant11: t(i(() => import("./variants/Variant11.vue.js")))
37
- }, u = r(
38
- () => s[m.value] || s.variant1
25
+ setup(o) {
26
+ const i = o, c = x(), p = n(() => i.variant || c?.components?.empty?.variant || "variant1"), f = n(() => {
27
+ if (i.titleI18n) return e(i.titleI18n);
28
+ if (i.title) return i.title;
29
+ const r = e("vlite.empty.title");
30
+ return r !== "vlite.empty.title" ? r : "No data found";
31
+ }), l = n(() => {
32
+ if (i.descriptionI18n) return e(i.descriptionI18n);
33
+ if (i.description) return i.description;
34
+ const r = e("vlite.empty.description");
35
+ return r !== "vlite.empty.description" ? r : "There is nothing to display here right now.";
36
+ }), a = {
37
+ variant1: t(B),
38
+ variant2: t(S),
39
+ variant3: t(V),
40
+ variant4: t(b),
41
+ variant5: t(D),
42
+ variant6: t(E),
43
+ variant7: t(L),
44
+ variant8: t(P),
45
+ variant9: t(R),
46
+ variant10: t(T),
47
+ variant11: t(j)
48
+ }, v = n(
49
+ () => a[p.value] || a.variant1
39
50
  );
40
- return (n, $) => (c(), h("div", V, [
41
- (c(), C(I(u.value), {
42
- title: v.value,
43
- description: d.value,
44
- icon: a.icon
45
- }, _({ _: 2 }, [
46
- g(n.$slots, (D, p) => ({
47
- name: p,
48
- fn: k((f) => [
49
- w(n.$slots, p, x(B(f || {})))
51
+ return (r, N) => (m(), u("div", z, [
52
+ (m(), $(y(v.value), {
53
+ title: f.value,
54
+ description: l.value,
55
+ icon: o.icon
56
+ }, h({ _: 2 }, [
57
+ I(r.$slots, (q, s) => ({
58
+ name: s,
59
+ fn: g((_) => [
60
+ C(r.$slots, s, k(w(_ || {})))
50
61
  ])
51
62
  }))
52
63
  ]), 1032, ["title", "description", "icon"]))
@@ -54,5 +65,5 @@ const V = { class: "flex items-center justify-center min-h-[300px] w-full py-2"
54
65
  }
55
66
  });
56
67
  export {
57
- R as default
68
+ tt as default
58
69
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant1.vue2.js";
1
+ import { defineComponent as i, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as r, renderSlot as l, createCommentVNode as m } from "vue";
2
+ import a from "../../Icon.vue.js";
3
+ const d = { class: "flex w-full flex-col items-center justify-center p-10 min-h-[450px] text-center rounded-2xl bg-card" }, u = { class: "text-fs-5 font-semibold text-foreground" }, f = ["innerHTML"], x = {
4
+ key: 0,
5
+ class: "mt-6"
6
+ }, k = /* @__PURE__ */ i({
7
+ __name: "Variant1",
8
+ props: {
9
+ title: {},
10
+ description: {},
11
+ icon: {}
12
+ },
13
+ setup(t) {
14
+ return (e, p) => (o(), n("div", d, [
15
+ c(a, {
16
+ icon: t.icon,
17
+ class: "mb-3 h-12 w-12 text-muted",
18
+ "stroke-width": "1.2"
19
+ }, null, 8, ["icon"]),
20
+ s("h3", u, r(t.title), 1),
21
+ s("p", {
22
+ class: "mt-1.5 text-sm text-muted max-w-md mx-auto",
23
+ innerHTML: t.description
24
+ }, null, 8, f),
25
+ e.$slots.action ? (o(), n("div", x, [
26
+ l(e.$slots, "action")
27
+ ])) : m("", !0)
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ k as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as i, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as r, renderSlot as l, createCommentVNode as m } from "vue";
2
- import a from "../../Icon.vue.js";
3
- const d = { class: "flex w-full flex-col items-center justify-center p-10 min-h-[450px] text-center rounded-2xl bg-card" }, u = { class: "text-fs-5 font-semibold text-foreground" }, f = ["innerHTML"], x = {
4
- key: 0,
5
- class: "mt-6"
6
- }, k = /* @__PURE__ */ i({
7
- __name: "Variant1",
8
- props: {
9
- title: {},
10
- description: {},
11
- icon: {}
12
- },
13
- setup(t) {
14
- return (e, p) => (o(), n("div", d, [
15
- c(a, {
16
- icon: t.icon,
17
- class: "mb-3 h-12 w-12 text-muted",
18
- "stroke-width": "1.2"
19
- }, null, 8, ["icon"]),
20
- s("h3", u, r(t.title), 1),
21
- s("p", {
22
- class: "mt-1.5 text-sm text-muted max-w-md mx-auto",
23
- innerHTML: t.description
24
- }, null, 8, f),
25
- e.$slots.action ? (o(), n("div", x, [
26
- l(e.$slots, "action")
27
- ])) : m("", !0)
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant1.vue.js";
31
2
  export {
32
- k as default
3
+ f as default
33
4
  };
@@ -1,4 +1,37 @@
1
- import f from "./Variant10.vue2.js";
1
+ import { defineComponent as i, openBlock as s, createElementBlock as n, createElementVNode as t, createVNode as l, toDisplayString as c, renderSlot as r, createCommentVNode as a } from "vue";
2
+ import d from "../../Icon.vue.js";
3
+ const m = { class: "flex w-full flex-col items-center py-12" }, f = { class: "flex w-full max-w-md flex-col text-left" }, u = { class: "mb-6 flex w-full justify-start" }, x = { class: "text-xl font-medium tracking-tight text-foreground" }, _ = ["innerHTML"], h = {
4
+ key: 0,
5
+ class: "mt-8 flex justify-start"
6
+ }, y = /* @__PURE__ */ i({
7
+ __name: "Variant10",
8
+ props: {
9
+ title: {},
10
+ description: {},
11
+ icon: {}
12
+ },
13
+ setup(e) {
14
+ return (o, p) => (s(), n("div", m, [
15
+ t("div", f, [
16
+ t("div", u, [
17
+ l(d, {
18
+ icon: e.icon,
19
+ class: "h-12 w-12 text-foreground opacity-80",
20
+ "stroke-width": "1.2"
21
+ }, null, 8, ["icon"])
22
+ ]),
23
+ t("h3", x, c(e.title), 1),
24
+ t("p", {
25
+ class: "mt-2 text-sm leading-relaxed text-muted",
26
+ innerHTML: e.description
27
+ }, null, 8, _),
28
+ o.$slots.action ? (s(), n("div", h, [
29
+ r(o.$slots, "action")
30
+ ])) : a("", !0)
31
+ ])
32
+ ]));
33
+ }
34
+ });
2
35
  export {
3
- f as default
36
+ y as default
4
37
  };
@@ -1,37 +1,4 @@
1
- import { defineComponent as i, openBlock as s, createElementBlock as n, createElementVNode as t, createVNode as l, toDisplayString as c, renderSlot as r, createCommentVNode as a } from "vue";
2
- import d from "../../Icon.vue.js";
3
- const m = { class: "flex w-full flex-col items-center py-12" }, f = { class: "flex w-full max-w-md flex-col text-left" }, u = { class: "mb-6 flex w-full justify-start" }, x = { class: "text-xl font-medium tracking-tight text-foreground" }, _ = ["innerHTML"], h = {
4
- key: 0,
5
- class: "mt-8 flex justify-start"
6
- }, y = /* @__PURE__ */ i({
7
- __name: "Variant10",
8
- props: {
9
- title: {},
10
- description: {},
11
- icon: {}
12
- },
13
- setup(e) {
14
- return (o, p) => (s(), n("div", m, [
15
- t("div", f, [
16
- t("div", u, [
17
- l(d, {
18
- icon: e.icon,
19
- class: "h-12 w-12 text-foreground opacity-80",
20
- "stroke-width": "1.2"
21
- }, null, 8, ["icon"])
22
- ]),
23
- t("h3", x, c(e.title), 1),
24
- t("p", {
25
- class: "mt-2 text-sm leading-relaxed text-muted",
26
- innerHTML: e.description
27
- }, null, 8, _),
28
- o.$slots.action ? (s(), n("div", h, [
29
- r(o.$slots, "action")
30
- ])) : a("", !0)
31
- ])
32
- ]));
33
- }
34
- });
1
+ import f from "./Variant10.vue.js";
35
2
  export {
36
- y as default
3
+ f as default
37
4
  };
@@ -1,4 +1,29 @@
1
- import f from "./Variant11.vue2.js";
1
+ import { defineComponent as s, openBlock as o, createElementBlock as r, createElementVNode as t, toDisplayString as n, renderSlot as a } from "vue";
2
+ const c = { class: "flex w-full flex-col items-center text-center text-foreground py-6" }, d = { class: "mb-6 space-y-1" }, m = { class: "text-4xl font-bold tracking-tight leading-none" }, x = { class: "text-4xl font-bold tracking-tight leading-none text-muted" }, f = ["innerHTML"], p = /* @__PURE__ */ s({
3
+ __name: "Variant11",
4
+ props: {
5
+ title: {},
6
+ description: {},
7
+ icon: {}
8
+ },
9
+ setup(e) {
10
+ return (i, l) => (o(), r("div", c, [
11
+ t("div", d, [
12
+ t("h3", m, n(e.title.split(" ")[0]) + " " + n(e.title.split(" ")[1] || ""), 1),
13
+ t("h4", x, n(e.title.split(" ").slice(2).join(" ")), 1)
14
+ ]),
15
+ l[0] || (l[0] = t("div", { class: "relative my-8 flex w-full max-w-[400px] items-center h-px" }, [
16
+ t("div", { class: "h-full flex-1 bg-linear-to-r from-transparent via-border to-transparent" }),
17
+ t("div", { class: "absolute right-0 h-1.5 w-1.5 rounded-full bg-muted" })
18
+ ], -1)),
19
+ t("p", {
20
+ class: "mb-10 max-w-sm text-sm font-normal leading-relaxed text-muted",
21
+ innerHTML: e.description
22
+ }, null, 8, f),
23
+ a(i.$slots, "action")
24
+ ]));
25
+ }
26
+ });
2
27
  export {
3
- f as default
28
+ p as default
4
29
  };
@@ -1,29 +1,4 @@
1
- import { defineComponent as s, openBlock as o, createElementBlock as r, createElementVNode as t, toDisplayString as n, renderSlot as a } from "vue";
2
- const c = { class: "flex w-full flex-col items-center text-center text-foreground py-6" }, d = { class: "mb-6 space-y-1" }, m = { class: "text-4xl font-bold tracking-tight leading-none" }, x = { class: "text-4xl font-bold tracking-tight leading-none text-muted" }, f = ["innerHTML"], p = /* @__PURE__ */ s({
3
- __name: "Variant11",
4
- props: {
5
- title: {},
6
- description: {},
7
- icon: {}
8
- },
9
- setup(e) {
10
- return (i, l) => (o(), r("div", c, [
11
- t("div", d, [
12
- t("h3", m, n(e.title.split(" ")[0]) + " " + n(e.title.split(" ")[1] || ""), 1),
13
- t("h4", x, n(e.title.split(" ").slice(2).join(" ")), 1)
14
- ]),
15
- l[0] || (l[0] = t("div", { class: "relative my-8 flex w-full max-w-[400px] items-center h-px" }, [
16
- t("div", { class: "h-full flex-1 bg-linear-to-r from-transparent via-border to-transparent" }),
17
- t("div", { class: "absolute right-0 h-1.5 w-1.5 rounded-full bg-muted" })
18
- ], -1)),
19
- t("p", {
20
- class: "mb-10 max-w-sm text-sm font-normal leading-relaxed text-muted",
21
- innerHTML: e.description
22
- }, null, 8, f),
23
- a(i.$slots, "action")
24
- ]));
25
- }
26
- });
1
+ import f from "./Variant11.vue.js";
27
2
  export {
28
- p as default
3
+ f as default
29
4
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant2.vue2.js";
1
+ import { defineComponent as i, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as r, renderSlot as l, createCommentVNode as m } from "vue";
2
+ import a from "../../Icon.vue.js";
3
+ const d = { class: "flex w-full flex-col items-center justify-center p-10 md:p-16 text-center" }, u = { class: "text-2xl font-medium text-foreground" }, f = ["innerHTML"], x = {
4
+ key: 0,
5
+ class: "mt-5"
6
+ }, k = /* @__PURE__ */ i({
7
+ __name: "Variant2",
8
+ props: {
9
+ title: {},
10
+ description: {},
11
+ icon: {}
12
+ },
13
+ setup(t) {
14
+ return (e, p) => (o(), n("div", d, [
15
+ c(a, {
16
+ icon: t.icon,
17
+ class: "mb-3 h-10 w-10 text-muted",
18
+ "stroke-width": "1.2"
19
+ }, null, 8, ["icon"]),
20
+ s("h3", u, r(t.title), 1),
21
+ s("p", {
22
+ class: "mt-1.5 text-sm text-muted max-w-md mx-auto",
23
+ innerHTML: t.description
24
+ }, null, 8, f),
25
+ e.$slots.action ? (o(), n("div", x, [
26
+ l(e.$slots, "action")
27
+ ])) : m("", !0)
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ k as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as i, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as r, renderSlot as l, createCommentVNode as m } from "vue";
2
- import a from "../../Icon.vue.js";
3
- const d = { class: "flex w-full flex-col items-center justify-center p-10 md:p-16 text-center" }, u = { class: "text-2xl font-medium text-foreground" }, f = ["innerHTML"], x = {
4
- key: 0,
5
- class: "mt-5"
6
- }, k = /* @__PURE__ */ i({
7
- __name: "Variant2",
8
- props: {
9
- title: {},
10
- description: {},
11
- icon: {}
12
- },
13
- setup(t) {
14
- return (e, p) => (o(), n("div", d, [
15
- c(a, {
16
- icon: t.icon,
17
- class: "mb-3 h-10 w-10 text-muted",
18
- "stroke-width": "1.2"
19
- }, null, 8, ["icon"]),
20
- s("h3", u, r(t.title), 1),
21
- s("p", {
22
- class: "mt-1.5 text-sm text-muted max-w-md mx-auto",
23
- innerHTML: t.description
24
- }, null, 8, f),
25
- e.$slots.action ? (o(), n("div", x, [
26
- l(e.$slots, "action")
27
- ])) : m("", !0)
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant2.vue.js";
31
2
  export {
32
- k as default
3
+ f as default
33
4
  };
@@ -1,4 +1,22 @@
1
- import f from "./Variant3.vue2.js";
1
+ import { defineComponent as o, openBlock as r, createElementBlock as i, createElementVNode as t, toDisplayString as s, renderSlot as l } from "vue";
2
+ const c = { class: "group flex flex-col items-center text-center py-14 cursor-default" }, a = { class: "text-lg mb-1.5 font-semibold text-foreground tracking-tight" }, d = ["innerHTML"], p = /* @__PURE__ */ o({
3
+ __name: "Variant3",
4
+ props: {
5
+ title: {},
6
+ description: {},
7
+ icon: {}
8
+ },
9
+ setup(e) {
10
+ return (n, f) => (r(), i("div", c, [
11
+ t("h3", a, s(e.title), 1),
12
+ t("p", {
13
+ class: "text-xs mb-4.5 text-foreground/40 leading-relaxed font-light",
14
+ innerHTML: e.description
15
+ }, null, 8, d),
16
+ l(n.$slots, "action")
17
+ ]));
18
+ }
19
+ });
2
20
  export {
3
- f as default
21
+ p as default
4
22
  };
@@ -1,22 +1,4 @@
1
- import { defineComponent as o, openBlock as r, createElementBlock as i, createElementVNode as t, toDisplayString as s, renderSlot as l } from "vue";
2
- const c = { class: "group flex flex-col items-center text-center py-14 cursor-default" }, a = { class: "text-lg mb-1.5 font-semibold text-foreground tracking-tight" }, d = ["innerHTML"], p = /* @__PURE__ */ o({
3
- __name: "Variant3",
4
- props: {
5
- title: {},
6
- description: {},
7
- icon: {}
8
- },
9
- setup(e) {
10
- return (n, f) => (r(), i("div", c, [
11
- t("h3", a, s(e.title), 1),
12
- t("p", {
13
- class: "text-xs mb-4.5 text-foreground/40 leading-relaxed font-light",
14
- innerHTML: e.description
15
- }, null, 8, d),
16
- l(n.$slots, "action")
17
- ]));
18
- }
19
- });
1
+ import f from "./Variant3.vue.js";
20
2
  export {
21
- p as default
3
+ f as default
22
4
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant4.vue2.js";
1
+ import { defineComponent as i, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as r, renderSlot as a, createCommentVNode as c } from "vue";
2
+ const d = { class: "flex w-full flex-col items-center justify-center py-24 px-6 min-h-[400px]" }, m = { class: "flex flex-col w-full max-w-md text-left" }, x = { class: "text-4xl sm:text-5xl font-bold tracking-tight text-foreground leading-[1.1] max-w-[280px]" }, f = ["innerHTML"], p = {
3
+ key: 0,
4
+ class: "mt-8"
5
+ }, g = /* @__PURE__ */ i({
6
+ __name: "Variant4",
7
+ props: {
8
+ title: {},
9
+ description: {},
10
+ icon: {}
11
+ },
12
+ setup(t) {
13
+ return (l, s) => (n(), o("div", d, [
14
+ e("div", m, [
15
+ e("h3", x, r(t.title), 1),
16
+ s[0] || (s[0] = e("div", { class: "flex items-center w-full my-6" }, [
17
+ e("div", { class: "h-[2px] flex-1 bg-gradient-to-r from-gray-150 via-gray-300 to-gray-100" }),
18
+ e("div", { class: "h-2.5 w-2.5 rounded-full bg-gray-300 ml-1 shrink-0" })
19
+ ], -1)),
20
+ e("p", {
21
+ class: "text-sm sm:text-base text-muted leading-relaxed",
22
+ innerHTML: t.description
23
+ }, null, 8, f),
24
+ l.$slots.action ? (n(), o("div", p, [
25
+ a(l.$slots, "action")
26
+ ])) : c("", !0)
27
+ ])
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ g as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as i, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as r, renderSlot as a, createCommentVNode as c } from "vue";
2
- const d = { class: "flex w-full flex-col items-center justify-center py-24 px-6 min-h-[400px]" }, m = { class: "flex flex-col w-full max-w-md text-left" }, x = { class: "text-4xl sm:text-5xl font-bold tracking-tight text-foreground leading-[1.1] max-w-[280px]" }, f = ["innerHTML"], p = {
3
- key: 0,
4
- class: "mt-8"
5
- }, g = /* @__PURE__ */ i({
6
- __name: "Variant4",
7
- props: {
8
- title: {},
9
- description: {},
10
- icon: {}
11
- },
12
- setup(t) {
13
- return (l, s) => (n(), o("div", d, [
14
- e("div", m, [
15
- e("h3", x, r(t.title), 1),
16
- s[0] || (s[0] = e("div", { class: "flex items-center w-full my-6" }, [
17
- e("div", { class: "h-[2px] flex-1 bg-gradient-to-r from-gray-150 via-gray-300 to-gray-100" }),
18
- e("div", { class: "h-2.5 w-2.5 rounded-full bg-gray-300 ml-1 shrink-0" })
19
- ], -1)),
20
- e("p", {
21
- class: "text-sm sm:text-base text-muted leading-relaxed",
22
- innerHTML: t.description
23
- }, null, 8, f),
24
- l.$slots.action ? (n(), o("div", p, [
25
- a(l.$slots, "action")
26
- ])) : c("", !0)
27
- ])
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant4.vue.js";
31
2
  export {
32
- g as default
3
+ f as default
33
4
  };
@@ -1,4 +1,30 @@
1
- import f from "./Variant5.vue2.js";
1
+ import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as t, createVNode as r, toDisplayString as c, renderSlot as l } from "vue";
2
+ import a from "../../Icon.vue.js";
3
+ const d = { class: "flex flex-col items-center text-center w-full py-4" }, m = { class: "mb-5 p-5 rounded-3xl bg-card border shadow-xs transition-shadow hover:shadow-sm" }, x = { class: "text-2xl font-semibold tracking-tight text-foreground mb-2.5" }, f = ["innerHTML"], _ = /* @__PURE__ */ n({
4
+ __name: "Variant5",
5
+ props: {
6
+ title: {},
7
+ description: {},
8
+ icon: {}
9
+ },
10
+ setup(e) {
11
+ return (o, h) => (s(), i("div", d, [
12
+ t("div", m, [
13
+ r(a, {
14
+ icon: e.icon,
15
+ class: "w-8 h-8 text-foreground",
16
+ "stroke-width": "1.2"
17
+ }, null, 8, ["icon"])
18
+ ]),
19
+ t("h3", x, c(e.title), 1),
20
+ t("p", {
21
+ class: "text-sm text-muted max-w-[280px] mb-5.5 leading-relaxed font-normal",
22
+ innerHTML: e.description
23
+ }, null, 8, f),
24
+ l(o.$slots, "action")
25
+ ]));
26
+ }
27
+ });
2
28
  export {
3
- f as default
29
+ _ as default
4
30
  };
@@ -1,30 +1,4 @@
1
- import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as t, createVNode as r, toDisplayString as c, renderSlot as l } from "vue";
2
- import a from "../../Icon.vue.js";
3
- const d = { class: "flex flex-col items-center text-center w-full py-4" }, m = { class: "mb-5 p-5 rounded-3xl bg-card border shadow-xs transition-shadow hover:shadow-sm" }, x = { class: "text-2xl font-semibold tracking-tight text-foreground mb-2.5" }, f = ["innerHTML"], _ = /* @__PURE__ */ n({
4
- __name: "Variant5",
5
- props: {
6
- title: {},
7
- description: {},
8
- icon: {}
9
- },
10
- setup(e) {
11
- return (o, h) => (s(), i("div", d, [
12
- t("div", m, [
13
- r(a, {
14
- icon: e.icon,
15
- class: "w-8 h-8 text-foreground",
16
- "stroke-width": "1.2"
17
- }, null, 8, ["icon"])
18
- ]),
19
- t("h3", x, c(e.title), 1),
20
- t("p", {
21
- class: "text-sm text-muted max-w-[280px] mb-5.5 leading-relaxed font-normal",
22
- innerHTML: e.description
23
- }, null, 8, f),
24
- l(o.$slots, "action")
25
- ]));
26
- }
27
- });
1
+ import f from "./Variant5.vue.js";
28
2
  export {
29
- _ as default
3
+ f as default
30
4
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant6.vue2.js";
1
+ import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as t, createVNode as c, toDisplayString as r, renderSlot as d } from "vue";
2
+ import l from "../../Icon.vue.js";
3
+ const a = { class: "flex flex-col md:flex-row items-center gap-6 md:gap-8 p-8 md:p-10 rounded-3xl border bg-background w-full shadow-xs" }, m = { class: "w-16 h-16 shrink-0 rounded-2xl bg-foreground flex items-center justify-center shadow-sm" }, f = { class: "flex-1 text-center md:text-left" }, x = { class: "text-xl font-bold text-foreground tracking-tight" }, u = ["innerHTML"], h = { class: "shrink-0 mt-4 md:mt-0" }, k = /* @__PURE__ */ n({
4
+ __name: "Variant6",
5
+ props: {
6
+ title: {},
7
+ description: {},
8
+ icon: {}
9
+ },
10
+ setup(e) {
11
+ return (o, _) => (s(), i("div", a, [
12
+ t("div", m, [
13
+ c(l, {
14
+ icon: e.icon,
15
+ class: "w-7 h-7 text-background"
16
+ }, null, 8, ["icon"])
17
+ ]),
18
+ t("div", f, [
19
+ t("h3", x, r(e.title), 1),
20
+ t("p", {
21
+ class: "text-sm text-muted mt-1.5 font-medium max-w-lg",
22
+ innerHTML: e.description
23
+ }, null, 8, u)
24
+ ]),
25
+ t("div", h, [
26
+ d(o.$slots, "action")
27
+ ])
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ k as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as t, createVNode as c, toDisplayString as r, renderSlot as d } from "vue";
2
- import l from "../../Icon.vue.js";
3
- const a = { class: "flex flex-col md:flex-row items-center gap-6 md:gap-8 p-8 md:p-10 rounded-3xl border bg-background w-full shadow-xs" }, m = { class: "w-16 h-16 shrink-0 rounded-2xl bg-foreground flex items-center justify-center shadow-sm" }, f = { class: "flex-1 text-center md:text-left" }, x = { class: "text-xl font-bold text-foreground tracking-tight" }, u = ["innerHTML"], h = { class: "shrink-0 mt-4 md:mt-0" }, k = /* @__PURE__ */ n({
4
- __name: "Variant6",
5
- props: {
6
- title: {},
7
- description: {},
8
- icon: {}
9
- },
10
- setup(e) {
11
- return (o, _) => (s(), i("div", a, [
12
- t("div", m, [
13
- c(l, {
14
- icon: e.icon,
15
- class: "w-7 h-7 text-background"
16
- }, null, 8, ["icon"])
17
- ]),
18
- t("div", f, [
19
- t("h3", x, r(e.title), 1),
20
- t("p", {
21
- class: "text-sm text-muted mt-1.5 font-medium max-w-lg",
22
- innerHTML: e.description
23
- }, null, 8, u)
24
- ]),
25
- t("div", h, [
26
- d(o.$slots, "action")
27
- ])
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant6.vue.js";
31
2
  export {
32
- k as default
3
+ f as default
33
4
  };
@@ -1,4 +1,35 @@
1
- import f from "./Variant7.vue2.js";
1
+ import { defineComponent as n, openBlock as l, createElementBlock as s, createElementVNode as e, createVNode as i, toDisplayString as d, renderSlot as a } from "vue";
2
+ import m from "../../Icon.vue.js";
3
+ const c = { class: "relative flex w-full max-w-2xl flex-col items-center justify-center py-10 pl-4 md:pl-16" }, f = { class: "flex flex-col items-start relative" }, x = { class: "mb-6 flex h-12 w-12 items-center justify-center rounded-xl bg-card border shadow-xs transition-transform duration-500 hover:scale-110" }, u = { class: "mb-3 font-serif text-3xl font-medium tracking-tight text-foreground md:text-4xl" }, b = ["innerHTML"], h = /* @__PURE__ */ n({
4
+ __name: "Variant7",
5
+ props: {
6
+ title: {},
7
+ description: {},
8
+ icon: {}
9
+ },
10
+ setup(r) {
11
+ return (o, t) => (l(), s("div", c, [
12
+ e("div", f, [
13
+ e("div", x, [
14
+ i(m, {
15
+ icon: r.icon,
16
+ class: "h-5 w-5 text-foreground"
17
+ }, null, 8, ["icon"])
18
+ ]),
19
+ e("h3", u, d(r.title), 1),
20
+ e("p", {
21
+ class: "mb-10 max-w-md text-base leading-relaxed text-muted",
22
+ innerHTML: r.description
23
+ }, null, 8, b),
24
+ a(o.$slots, "action"),
25
+ t[0] || (t[0] = e("div", { class: "max-md:hidden absolute bottom-0 left-0 -ml-16 top-0 mt-4 w-px bg-linear-to-b from-border via-border/50 to-transparent md:left-6" }, null, -1)),
26
+ t[1] || (t[1] = e("div", { class: "max-md:hidden absolute left-0 -ml-16 top-0 flex h-6 w-6 mt-4 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border-[3px] border-background bg-card ring-1 ring-border md:left-6" }, [
27
+ e("div", { class: "h-1.5 w-1.5 rounded-full bg-foreground" })
28
+ ], -1))
29
+ ])
30
+ ]));
31
+ }
32
+ });
2
33
  export {
3
- f as default
34
+ h as default
4
35
  };
@@ -1,35 +1,4 @@
1
- import { defineComponent as n, openBlock as l, createElementBlock as s, createElementVNode as e, createVNode as i, toDisplayString as d, renderSlot as a } from "vue";
2
- import m from "../../Icon.vue.js";
3
- const c = { class: "relative flex w-full max-w-2xl flex-col items-center justify-center py-10 pl-4 md:pl-16" }, f = { class: "flex flex-col items-start relative" }, x = { class: "mb-6 flex h-12 w-12 items-center justify-center rounded-xl bg-card border shadow-xs transition-transform duration-500 hover:scale-110" }, u = { class: "mb-3 font-serif text-3xl font-medium tracking-tight text-foreground md:text-4xl" }, b = ["innerHTML"], h = /* @__PURE__ */ n({
4
- __name: "Variant7",
5
- props: {
6
- title: {},
7
- description: {},
8
- icon: {}
9
- },
10
- setup(r) {
11
- return (o, t) => (l(), s("div", c, [
12
- e("div", f, [
13
- e("div", x, [
14
- i(m, {
15
- icon: r.icon,
16
- class: "h-5 w-5 text-foreground"
17
- }, null, 8, ["icon"])
18
- ]),
19
- e("h3", u, d(r.title), 1),
20
- e("p", {
21
- class: "mb-10 max-w-md text-base leading-relaxed text-muted",
22
- innerHTML: r.description
23
- }, null, 8, b),
24
- a(o.$slots, "action"),
25
- t[0] || (t[0] = e("div", { class: "max-md:hidden absolute bottom-0 left-0 -ml-16 top-0 mt-4 w-px bg-linear-to-b from-border via-border/50 to-transparent md:left-6" }, null, -1)),
26
- t[1] || (t[1] = e("div", { class: "max-md:hidden absolute left-0 -ml-16 top-0 flex h-6 w-6 mt-4 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border-[3px] border-background bg-card ring-1 ring-border md:left-6" }, [
27
- e("div", { class: "h-1.5 w-1.5 rounded-full bg-foreground" })
28
- ], -1))
29
- ])
30
- ]));
31
- }
32
- });
1
+ import f from "./Variant7.vue.js";
33
2
  export {
34
- h as default
3
+ f as default
35
4
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant8.vue2.js";
1
+ import { defineComponent as r, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as i, renderSlot as l, createCommentVNode as a } from "vue";
2
+ import d from "../../Icon.vue.js";
3
+ const m = { class: "flex w-full flex-col items-center justify-center p-8 rounded-xl bg-background border shadow-xs max-w-md mx-auto text-center" }, u = { class: "mb-1.5 text-sm font-medium text-foreground" }, x = ["innerHTML"], f = {
4
+ key: 0,
5
+ class: "mt-6"
6
+ }, w = /* @__PURE__ */ r({
7
+ __name: "Variant8",
8
+ props: {
9
+ title: {},
10
+ description: {},
11
+ icon: {}
12
+ },
13
+ setup(e) {
14
+ return (t, _) => (o(), n("div", m, [
15
+ c(d, {
16
+ icon: e.icon,
17
+ class: "h-6 w-6 text-foreground mb-4",
18
+ "stroke-width": "1.5"
19
+ }, null, 8, ["icon"]),
20
+ s("h3", u, i(e.title), 1),
21
+ s("p", {
22
+ class: "text-sm text-muted max-w-xs",
23
+ innerHTML: e.description
24
+ }, null, 8, x),
25
+ t.$slots.action ? (o(), n("div", f, [
26
+ l(t.$slots, "action")
27
+ ])) : a("", !0)
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ w as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as r, openBlock as o, createElementBlock as n, createVNode as c, createElementVNode as s, toDisplayString as i, renderSlot as l, createCommentVNode as a } from "vue";
2
- import d from "../../Icon.vue.js";
3
- const m = { class: "flex w-full flex-col items-center justify-center p-8 rounded-xl bg-background border shadow-xs max-w-md mx-auto text-center" }, u = { class: "mb-1.5 text-sm font-medium text-foreground" }, x = ["innerHTML"], f = {
4
- key: 0,
5
- class: "mt-6"
6
- }, w = /* @__PURE__ */ r({
7
- __name: "Variant8",
8
- props: {
9
- title: {},
10
- description: {},
11
- icon: {}
12
- },
13
- setup(e) {
14
- return (t, _) => (o(), n("div", m, [
15
- c(d, {
16
- icon: e.icon,
17
- class: "h-6 w-6 text-foreground mb-4",
18
- "stroke-width": "1.5"
19
- }, null, 8, ["icon"]),
20
- s("h3", u, i(e.title), 1),
21
- s("p", {
22
- class: "text-sm text-muted max-w-xs",
23
- innerHTML: e.description
24
- }, null, 8, x),
25
- t.$slots.action ? (o(), n("div", f, [
26
- l(t.$slots, "action")
27
- ])) : a("", !0)
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant8.vue.js";
31
2
  export {
32
- w as default
3
+ f as default
33
4
  };
@@ -1,4 +1,33 @@
1
- import f from "./Variant9.vue2.js";
1
+ import { defineComponent as i, openBlock as n, createElementBlock as s, createElementVNode as e, createVNode as l, toDisplayString as c, renderSlot as r } from "vue";
2
+ import d from "../../Icon.vue.js";
3
+ const a = { class: "grid w-full max-w-4xl grid-cols-1 items-center gap-10 border-l-[3px] border-border py-4 pl-8 md:grid-cols-2 md:gap-16 md:pl-16" }, m = { class: "space-y-6" }, x = { class: "flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50" }, p = { class: "text-4xl md:text-5xl font-black uppercase italic leading-[0.9] tracking-tighter text-foreground" }, f = { class: "flex flex-col items-start" }, g = ["innerHTML"], b = /* @__PURE__ */ i({
4
+ __name: "Variant9",
5
+ props: {
6
+ title: {},
7
+ description: {},
8
+ icon: {}
9
+ },
10
+ setup(t) {
11
+ return (o, _) => (n(), s("div", a, [
12
+ e("div", m, [
13
+ e("div", x, [
14
+ l(d, {
15
+ icon: t.icon,
16
+ class: "h-5 w-5 text-foreground"
17
+ }, null, 8, ["icon"])
18
+ ]),
19
+ e("h3", p, c(t.title), 1)
20
+ ]),
21
+ e("div", f, [
22
+ e("p", {
23
+ class: "mb-8 text-base md:text-lg font-light leading-relaxed text-muted",
24
+ innerHTML: t.description
25
+ }, null, 8, g),
26
+ r(o.$slots, "action")
27
+ ])
28
+ ]));
29
+ }
30
+ });
2
31
  export {
3
- f as default
32
+ b as default
4
33
  };
@@ -1,33 +1,4 @@
1
- import { defineComponent as i, openBlock as n, createElementBlock as s, createElementVNode as e, createVNode as l, toDisplayString as c, renderSlot as r } from "vue";
2
- import d from "../../Icon.vue.js";
3
- const a = { class: "grid w-full max-w-4xl grid-cols-1 items-center gap-10 border-l-[3px] border-border py-4 pl-8 md:grid-cols-2 md:gap-16 md:pl-16" }, m = { class: "space-y-6" }, x = { class: "flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50" }, p = { class: "text-4xl md:text-5xl font-black uppercase italic leading-[0.9] tracking-tighter text-foreground" }, f = { class: "flex flex-col items-start" }, g = ["innerHTML"], b = /* @__PURE__ */ i({
4
- __name: "Variant9",
5
- props: {
6
- title: {},
7
- description: {},
8
- icon: {}
9
- },
10
- setup(t) {
11
- return (o, _) => (n(), s("div", a, [
12
- e("div", m, [
13
- e("div", x, [
14
- l(d, {
15
- icon: t.icon,
16
- class: "h-5 w-5 text-foreground"
17
- }, null, 8, ["icon"])
18
- ]),
19
- e("h3", p, c(t.title), 1)
20
- ]),
21
- e("div", f, [
22
- e("p", {
23
- class: "mb-8 text-base md:text-lg font-light leading-relaxed text-muted",
24
- innerHTML: t.description
25
- }, null, 8, g),
26
- r(o.$slots, "action")
27
- ])
28
- ]));
29
- }
30
- });
1
+ import f from "./Variant9.vue.js";
31
2
  export {
32
- b as default
3
+ f as default
33
4
  };
@@ -13,18 +13,18 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<WorkbookProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ change: (id: string) => any;
16
17
  delete: (id: string) => any;
17
18
  add: () => any;
18
- change: (id: string) => any;
19
19
  "update:modelValue": (id: string) => any;
20
20
  "edit-start": (id: string) => any;
21
21
  "edit-end": (id: string) => any;
22
22
  duplicate: (id: string) => any;
23
23
  "update:sheets": (sheets: WorkbookSheet[]) => any;
24
24
  }, string, import('vue').PublicProps, Readonly<WorkbookProps> & Readonly<{
25
+ onChange?: (id: string) => any;
25
26
  onDelete?: (id: string) => any;
26
27
  onAdd?: () => any;
27
- onChange?: (id: string) => any;
28
28
  "onUpdate:modelValue"?: (id: string) => any;
29
29
  "onEdit-start"?: (id: string) => any;
30
30
  "onEdit-end"?: (id: string) => any;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A Vue 3 UI component library built with Tailwind CSS.",
5
5
  "license": "MIT",
6
- "version": "0.8.6",
6
+ "version": "0.8.7",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",