vlite3 0.8.2 → 0.8.4
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.
- package/components/BackButton.vue.js +10 -11
- package/components/Breadcrumb/Breadcrumb.vue.js +2 -2
- package/components/Chip/Chip.vue.d.ts +2 -2
- package/components/ChoiceBox/ChoiceBox.vue.d.ts +1 -1
- package/components/ColorPicker/ColorIro.vue3.js +2 -2
- package/components/ColorPicker/ColorPicker.vue.js +2 -2
- package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue2.js → CommandPaletteItem.vue.js} +1 -1
- package/components/DataTable/DataTable.vue.d.ts +2 -2
- package/components/Empty/Empty.vue.d.ts +2 -0
- package/components/Empty/Empty.vue.js +50 -33
- package/components/Empty/index.d.ts +1 -0
- package/components/Empty/variants/Variant1.vue.d.ts +22 -0
- package/components/Empty/variants/Variant1.vue.js +4 -0
- package/components/Empty/variants/Variant1.vue2.js +33 -0
- package/components/Empty/variants/Variant10.vue.d.ts +22 -0
- package/components/Empty/variants/Variant10.vue.js +4 -0
- package/components/Empty/variants/Variant10.vue2.js +37 -0
- package/components/Empty/variants/Variant11.vue.d.ts +22 -0
- package/components/Empty/variants/Variant11.vue.js +4 -0
- package/components/Empty/variants/Variant11.vue2.js +29 -0
- package/components/Empty/variants/Variant2.vue.d.ts +22 -0
- package/components/Empty/variants/Variant2.vue.js +4 -0
- package/components/Empty/variants/Variant2.vue2.js +33 -0
- package/components/Empty/variants/Variant3.vue.d.ts +22 -0
- package/components/Empty/variants/Variant3.vue.js +4 -0
- package/components/Empty/variants/Variant3.vue2.js +22 -0
- package/components/Empty/variants/Variant4.vue.d.ts +22 -0
- package/components/Empty/variants/Variant4.vue.js +4 -0
- package/components/Empty/variants/Variant4.vue2.js +33 -0
- package/components/Empty/variants/Variant5.vue.d.ts +22 -0
- package/components/Empty/variants/Variant5.vue.js +4 -0
- package/components/Empty/variants/Variant5.vue2.js +30 -0
- package/components/Empty/variants/Variant6.vue.d.ts +22 -0
- package/components/Empty/variants/Variant6.vue.js +4 -0
- package/components/Empty/variants/Variant6.vue2.js +33 -0
- package/components/Empty/variants/Variant7.vue.d.ts +22 -0
- package/components/Empty/variants/Variant7.vue.js +4 -0
- package/components/Empty/variants/Variant7.vue2.js +35 -0
- package/components/Empty/variants/Variant8.vue.d.ts +22 -0
- package/components/Empty/variants/Variant8.vue.js +4 -0
- package/components/Empty/variants/Variant8.vue2.js +33 -0
- package/components/Empty/variants/Variant9.vue.d.ts +22 -0
- package/components/Empty/variants/Variant9.vue.js +4 -0
- package/components/Empty/variants/Variant9.vue2.js +33 -0
- package/components/Form/Form.vue.d.ts +18 -0
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +219 -170
- package/components/Form/types.d.ts +13 -1
- package/components/Form/utils/form.utils.d.ts +11 -0
- package/components/Form/utils/form.utils.js +115 -104
- package/components/Modal.vue.js +2 -2
- package/components/Modal.vue2.js +45 -43
- package/components/Navbar/Navbar.vue.d.ts +2 -2
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/components/Screen/Screen.vue.js +249 -241
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/components/SidebarMenu/SidebarMenuItem.vue.js +5 -7
- package/components/Workbook/Workbook.vue.d.ts +2 -2
- package/core/config.d.ts +6 -0
- package/core/config.js +14 -8
- package/core/index.js +12 -7
- package/index.d.ts +1 -0
- package/index.js +120 -117
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/config.type.d.ts +9 -0
- /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as c, openBlock as s, createBlock as l, normalizeClass as i } from "vue";
|
|
2
2
|
import { useRouter as n } from "vue-router";
|
|
3
3
|
import r from "./Button.vue.js";
|
|
4
|
-
const p = /* @__PURE__ */
|
|
4
|
+
const p = /* @__PURE__ */ c({
|
|
5
5
|
__name: "BackButton",
|
|
6
6
|
props: {
|
|
7
7
|
icon: { default: "heroicons-solid:arrow-left" },
|
|
@@ -10,18 +10,17 @@ const p = /* @__PURE__ */ l({
|
|
|
10
10
|
class: { default: "" },
|
|
11
11
|
fallback: { default: "/" }
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
13
|
+
setup(t) {
|
|
14
|
+
const o = t, e = n();
|
|
15
15
|
function a() {
|
|
16
|
-
window.history.state?.back ? e.back() : e.push(
|
|
16
|
+
window.history.state?.back ? e.back() : e.push(o.fallback);
|
|
17
17
|
}
|
|
18
|
-
return (f, u) => (
|
|
18
|
+
return (f, u) => (s(), l(r, {
|
|
19
19
|
variant: "ghost",
|
|
20
|
-
icon:
|
|
21
|
-
size:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class: i(t.class),
|
|
20
|
+
icon: t.icon,
|
|
21
|
+
size: t.size,
|
|
22
|
+
title: t.tooltip,
|
|
23
|
+
class: i(o.class),
|
|
25
24
|
onClick: a
|
|
26
25
|
}, null, 8, ["icon", "size", "title", "class"]));
|
|
27
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Breadcrumb.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-d1e90135"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -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
|
-
click: (event: MouseEvent) => any;
|
|
17
16
|
delete: (event: MouseEvent) => any;
|
|
17
|
+
click: (event: MouseEvent) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<ExtendedProps> & Readonly<{
|
|
19
|
-
onClick?: (event: MouseEvent) => any;
|
|
20
19
|
onDelete?: (event: MouseEvent) => any;
|
|
20
|
+
onClick?: (event: MouseEvent) => any;
|
|
21
21
|
}>, {
|
|
22
22
|
text: string;
|
|
23
23
|
variant: ChipVariant | string;
|
|
@@ -28,10 +28,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
28
28
|
onChange?: (value: string | number | (string | number)[]) => any;
|
|
29
29
|
"onUpdate:modelValue"?: (value: string | number | (string | number)[]) => any;
|
|
30
30
|
}>, {
|
|
31
|
+
grid: number;
|
|
31
32
|
disabled: boolean;
|
|
32
33
|
multiple: boolean;
|
|
33
34
|
modelValue: string | number | (string | number)[] | null;
|
|
34
|
-
grid: number;
|
|
35
35
|
gap: number;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
37
37
|
export default _default;
|
|
@@ -6,8 +6,8 @@ import O from "../Input.vue.js";
|
|
|
6
6
|
import "../../core/config.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import y from "../Button.vue.js";
|
|
9
|
-
import E from "./ColorIro.
|
|
10
|
-
/* empty css
|
|
9
|
+
import E from "./ColorIro.vue2.js";
|
|
10
|
+
/* empty css */
|
|
11
11
|
import { useEyeDropper as P } from "@vueuse/core";
|
|
12
12
|
const I = {
|
|
13
13
|
key: 0,
|
|
@@ -4,7 +4,7 @@ import k 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 "./CommandPaletteItem.
|
|
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/60 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",
|
|
@@ -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
|
-
change: (state: TableState) => any;
|
|
22
21
|
delete: (rows: any[]) => any;
|
|
22
|
+
change: (state: TableState) => 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
|
-
onChange?: (state: TableState) => any;
|
|
29
28
|
onDelete?: (rows: any[]) => any;
|
|
29
|
+
onChange?: (state: TableState) => any;
|
|
30
30
|
"onUpdate:itemsPerPage"?: (value: number) => any;
|
|
31
31
|
onRowClick?: (payload: RowClickPayload) => any;
|
|
32
32
|
"onUpdate:selectedRows"?: (value: any[]) => any;
|
|
@@ -1,47 +1,64 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as f, computed as n, defineAsyncComponent as t, openBlock as s, createElementBlock as y, createBlock as h, resolveDynamicComponent as C, createSlots as I, withCtx as p, renderSlot as c } from "vue";
|
|
2
|
+
import { $t as r } from "../../utils/i18n.js";
|
|
3
|
+
import { useVLiteConfig as g } from "../../core/config.js";
|
|
4
|
+
const k = { class: "flex items-center justify-center min-h-[400px] w-full py-16 px-6" }, B = /* @__PURE__ */ f({
|
|
5
5
|
__name: "Empty",
|
|
6
6
|
props: {
|
|
7
7
|
title: {},
|
|
8
8
|
titleI18n: {},
|
|
9
9
|
description: {},
|
|
10
10
|
descriptionI18n: {},
|
|
11
|
-
icon: { default: "lucide:inbox" }
|
|
11
|
+
icon: { default: "lucide:inbox" },
|
|
12
|
+
variant: {}
|
|
12
13
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
16
|
-
if (
|
|
17
|
-
const e =
|
|
14
|
+
setup(o) {
|
|
15
|
+
const i = o, l = g(), m = n(() => i.variant || l?.components?.empty?.variant || "variant1"), v = n(() => {
|
|
16
|
+
if (i.titleI18n) return r(i.titleI18n);
|
|
17
|
+
if (i.title) return i.title;
|
|
18
|
+
const e = r("vlite.empty.title");
|
|
18
19
|
return e !== "vlite.empty.title" ? e : "No data found";
|
|
19
|
-
}),
|
|
20
|
-
if (
|
|
21
|
-
if (
|
|
22
|
-
const e =
|
|
20
|
+
}), d = n(() => {
|
|
21
|
+
if (i.descriptionI18n) return r(i.descriptionI18n);
|
|
22
|
+
if (i.description) return i.description;
|
|
23
|
+
const e = r("vlite.empty.description");
|
|
23
24
|
return e !== "vlite.empty.description" ? e : "There is nothing to display here right now.";
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
s(
|
|
41
|
-
|
|
25
|
+
}), a = {
|
|
26
|
+
variant1: t(() => import("./variants/Variant1.vue.js")),
|
|
27
|
+
variant2: t(() => import("./variants/Variant2.vue.js")),
|
|
28
|
+
variant3: t(() => import("./variants/Variant3.vue.js")),
|
|
29
|
+
variant4: t(() => import("./variants/Variant4.vue.js")),
|
|
30
|
+
variant5: t(() => import("./variants/Variant5.vue.js")),
|
|
31
|
+
variant6: t(() => import("./variants/Variant6.vue.js")),
|
|
32
|
+
variant7: t(() => import("./variants/Variant7.vue.js")),
|
|
33
|
+
variant8: t(() => import("./variants/Variant8.vue.js")),
|
|
34
|
+
variant9: t(() => import("./variants/Variant9.vue.js")),
|
|
35
|
+
variant10: t(() => import("./variants/Variant10.vue.js")),
|
|
36
|
+
variant11: t(() => import("./variants/Variant11.vue.js"))
|
|
37
|
+
}, u = n(
|
|
38
|
+
() => a[m.value] || a.variant1
|
|
39
|
+
);
|
|
40
|
+
return (e, x) => (s(), y("div", k, [
|
|
41
|
+
(s(), h(C(u.value), {
|
|
42
|
+
title: v.value,
|
|
43
|
+
description: d.value,
|
|
44
|
+
icon: o.icon
|
|
45
|
+
}, I({
|
|
46
|
+
default: p(() => [
|
|
47
|
+
c(e.$slots, "default")
|
|
48
|
+
]),
|
|
49
|
+
_: 2
|
|
50
|
+
}, [
|
|
51
|
+
e.$slots.action ? {
|
|
52
|
+
name: "action",
|
|
53
|
+
fn: p(() => [
|
|
54
|
+
c(e.$slots, "action")
|
|
55
|
+
]),
|
|
56
|
+
key: "0"
|
|
57
|
+
} : void 0
|
|
58
|
+
]), 1032, ["title", "description", "icon"]))
|
|
42
59
|
]));
|
|
43
60
|
}
|
|
44
61
|
});
|
|
45
62
|
export {
|
|
46
|
-
|
|
63
|
+
B as default
|
|
47
64
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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: "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-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
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
k as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
y as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
p as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as s, openBlock as n, createElementBlock as o, createVNode as i, createElementVNode as r, toDisplayString as c, renderSlot as l, createCommentVNode as m } from "vue";
|
|
2
|
+
import d from "../../Icon.vue.js";
|
|
3
|
+
const a = { class: "flex w-full flex-col items-center justify-center p-10 min-h-[450px] text-center rounded-2xl border border-transparent bg-muted/20" }, u = { class: "text-lg font-medium text-foreground" }, f = ["innerHTML"], x = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "mt-8"
|
|
6
|
+
}, b = /* @__PURE__ */ s({
|
|
7
|
+
__name: "Variant2",
|
|
8
|
+
props: {
|
|
9
|
+
title: {},
|
|
10
|
+
description: {},
|
|
11
|
+
icon: {}
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (t, p) => (n(), o("div", a, [
|
|
15
|
+
i(d, {
|
|
16
|
+
icon: e.icon,
|
|
17
|
+
class: "mb-5 h-12 w-12 text-muted",
|
|
18
|
+
"stroke-width": "1.2"
|
|
19
|
+
}, null, 8, ["icon"]),
|
|
20
|
+
r("h3", u, c(e.title), 1),
|
|
21
|
+
r("p", {
|
|
22
|
+
class: "mt-2 text-sm text-muted max-w-md mx-auto",
|
|
23
|
+
innerHTML: e.description
|
|
24
|
+
}, null, 8, f),
|
|
25
|
+
t.$slots.action ? (n(), o("div", x, [
|
|
26
|
+
l(t.$slots, "action")
|
|
27
|
+
])) : m("", !0)
|
|
28
|
+
]));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
b as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
p as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
g as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|