vlite3 0.8.3 → 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/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/Empty/Empty.vue.js +1 -1
- package/components/Empty/variants/Variant1.vue2.js +20 -17
- package/components/Empty/variants/Variant2.vue2.js +21 -21
- package/components/Empty/variants/Variant3.vue2.js +8 -11
- package/components/Empty/variants/Variant5.vue2.js +15 -18
- package/components/Empty/variants/Variant6.vue2.js +22 -22
- package/components/Form/Form.vue.d.ts +1 -0
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +162 -169
- package/components/Form/utils/form.utils.d.ts +11 -0
- package/components/Form/utils/form.utils.js +115 -104
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
|
@@ -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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { $t as r } from "../../utils/i18n.js";
|
|
3
3
|
import { useVLiteConfig as g } from "../../core/config.js";
|
|
4
|
-
const k = { class: "flex items-center justify-center min-h-[
|
|
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: {},
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
2
|
import a from "../../Icon.vue.js";
|
|
3
|
-
const d = { class: "flex flex-col items-center
|
|
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({
|
|
4
7
|
__name: "Variant1",
|
|
5
8
|
props: {
|
|
6
9
|
title: {},
|
|
7
10
|
description: {},
|
|
8
11
|
icon: {}
|
|
9
12
|
},
|
|
10
|
-
setup(
|
|
11
|
-
return (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class: "text-sm text-muted max-w-[280px] mb-8 leading-relaxed font-normal",
|
|
22
|
-
innerHTML: e.description
|
|
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
|
|
23
24
|
}, null, 8, f),
|
|
24
|
-
|
|
25
|
+
e.$slots.action ? (o(), n("div", x, [
|
|
26
|
+
l(e.$slots, "action")
|
|
27
|
+
])) : m("", !0)
|
|
25
28
|
]));
|
|
26
29
|
}
|
|
27
30
|
});
|
|
28
31
|
export {
|
|
29
|
-
|
|
32
|
+
k as default
|
|
30
33
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const a = { class: "flex
|
|
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({
|
|
4
7
|
__name: "Variant2",
|
|
5
8
|
props: {
|
|
6
9
|
title: {},
|
|
@@ -8,26 +11,23 @@ const a = { class: "flex flex-col md:flex-row items-center gap-6 md:gap-8 p-8 md
|
|
|
8
11
|
icon: {}
|
|
9
12
|
},
|
|
10
13
|
setup(e) {
|
|
11
|
-
return (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
]),
|
|
25
|
-
t("div", h, [
|
|
26
|
-
d(o.$slots, "action")
|
|
27
|
-
])
|
|
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
28
|
]));
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
b as default
|
|
33
33
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
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
3
|
__name: "Variant3",
|
|
4
4
|
props: {
|
|
5
5
|
title: {},
|
|
@@ -7,19 +7,16 @@ const d = { class: "flex flex-col items-center text-center w-full group py-8" },
|
|
|
7
7
|
icon: {}
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
|
-
return (n,
|
|
11
|
-
t("
|
|
12
|
-
t("h3", u, l(e.title), 1)
|
|
13
|
-
]),
|
|
14
|
-
o[0] || (o[0] = t("div", { class: "h-1.5 w-16 rounded-full bg-foreground/20 mb-8 transition-all duration-500 group-hover:w-24 group-hover:bg-foreground" }, null, -1)),
|
|
10
|
+
return (n, f) => (r(), i("div", c, [
|
|
11
|
+
t("h3", a, s(e.title), 1),
|
|
15
12
|
t("p", {
|
|
16
|
-
class: "text-xs
|
|
13
|
+
class: "text-xs mb-4.5 text-foreground/40 leading-relaxed font-light",
|
|
17
14
|
innerHTML: e.description
|
|
18
|
-
}, null, 8,
|
|
19
|
-
|
|
15
|
+
}, null, 8, d),
|
|
16
|
+
l(n.$slots, "action")
|
|
20
17
|
]));
|
|
21
18
|
}
|
|
22
19
|
});
|
|
23
20
|
export {
|
|
24
|
-
|
|
21
|
+
p as default
|
|
25
22
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
2
|
import a from "../../Icon.vue.js";
|
|
3
|
-
const d = { class: "flex
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "mt-8"
|
|
6
|
-
}, b = /* @__PURE__ */ r({
|
|
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({
|
|
7
4
|
__name: "Variant5",
|
|
8
5
|
props: {
|
|
9
6
|
title: {},
|
|
@@ -11,23 +8,23 @@ const d = { class: "flex w-full flex-col items-center justify-center p-10 min-h-
|
|
|
11
8
|
icon: {}
|
|
12
9
|
},
|
|
13
10
|
setup(e) {
|
|
14
|
-
return (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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",
|
|
23
22
|
innerHTML: e.description
|
|
24
23
|
}, null, 8, f),
|
|
25
|
-
|
|
26
|
-
l(t.$slots, "action")
|
|
27
|
-
])) : m("", !0)
|
|
24
|
+
l(o.$slots, "action")
|
|
28
25
|
]));
|
|
29
26
|
}
|
|
30
27
|
});
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
_ as default
|
|
33
30
|
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "mt-8"
|
|
6
|
-
}, g = /* @__PURE__ */ i({
|
|
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({
|
|
7
4
|
__name: "Variant6",
|
|
8
5
|
props: {
|
|
9
6
|
title: {},
|
|
10
7
|
description: {},
|
|
11
8
|
icon: {}
|
|
12
9
|
},
|
|
13
|
-
setup(
|
|
14
|
-
return (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
])
|
|
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
28
|
]));
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
k as default
|
|
33
33
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Form.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8eb29b35"]]);
|
|
5
5
|
export {
|
|
6
6
|
_ as default
|
|
7
7
|
};
|