@stlhorizon/vue-ui 3.27.7 → 3.27.8
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/dist/index.esm.js +25 -25
- package/dist/index.js +2 -2
- package/dist/src/components/Modal.vue.d.ts.map +1 -1
- package/dist/src/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/src/components/charts/BarChart.vue.d.ts.map +1 -1
- package/dist/src/components/charts/LineChart.vue.d.ts.map +1 -1
- package/dist/src/components/charts/PieChart.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6772,7 +6772,7 @@ const H = {
|
|
|
6772
6772
|
K(a.$slots, "default")
|
|
6773
6773
|
], 2));
|
|
6774
6774
|
}
|
|
6775
|
-
}), hd = { class: "relative w-full bg-(--ui-
|
|
6775
|
+
}), hd = { class: "relative w-full bg-(--ui-surface) rounded-md" }, pd = { class: "relative" }, yd = ["id", "value", "disabled", "placeholder", "required", "aria-describedby"], bd = { class: "flex items-center justify-between mb-3" }, xd = { class: "text-sm font-semibold ui-text" }, wd = { class: "grid grid-cols-7 gap-1 mb-1" }, kd = { class: "grid grid-cols-7 gap-1" }, $d = ["disabled", "onClick"], Cd = {
|
|
6776
6776
|
key: 0,
|
|
6777
6777
|
class: "mt-3 pt-2 border-t ui-border"
|
|
6778
6778
|
}, Kt = {
|
|
@@ -7013,7 +7013,7 @@ const H = {
|
|
|
7013
7013
|
ref_key: "calendarRef",
|
|
7014
7014
|
ref: i,
|
|
7015
7015
|
style: he(u.value),
|
|
7016
|
-
class: "fixed z-10000 rounded-lg shadow-xl p-3 w-64
|
|
7016
|
+
class: "fixed z-10000 rounded-lg shadow-xl p-3 w-64 ui-surface ui-border-strong",
|
|
7017
7017
|
onClick: ue[0] || (ue[0] = we(() => {
|
|
7018
7018
|
}, ["stop"]))
|
|
7019
7019
|
}, [
|
|
@@ -7814,7 +7814,7 @@ const H = {
|
|
|
7814
7814
|
emits: ["update:modelValue", "close"],
|
|
7815
7815
|
setup(e, { emit: a }) {
|
|
7816
7816
|
const t = ee(
|
|
7817
|
-
"ui-surface ui-border relative w-full max-h-[100vh] overflow-y-auto rounded-xl shadow-lg duration-200 p-
|
|
7817
|
+
"ui-surface-strong ui-border relative w-full max-h-[100vh] overflow-y-auto rounded-xl shadow-lg duration-200 p-4 overflow-hidden",
|
|
7818
7818
|
{
|
|
7819
7819
|
variants: {
|
|
7820
7820
|
size: {
|
|
@@ -7860,7 +7860,7 @@ const H = {
|
|
|
7860
7860
|
default: J(() => [
|
|
7861
7861
|
e.modelValue ? (s(), l("div", {
|
|
7862
7862
|
key: 0,
|
|
7863
|
-
class: m(["fixed
|
|
7863
|
+
class: m(["fixed inset-0 z-9999 backdrop-blur-3xl flex items-center justify-center", { "pointer-events-none": e.resizable }]),
|
|
7864
7864
|
onClick: u
|
|
7865
7865
|
}, [
|
|
7866
7866
|
r("div", {
|
|
@@ -9217,7 +9217,7 @@ const Cc = {
|
|
|
9217
9217
|
default: J(() => [
|
|
9218
9218
|
o.value ? (s(), l("div", {
|
|
9219
9219
|
key: 0,
|
|
9220
|
-
class: m(["absolute z-99999 mt-2 rounded-lg shadow-lg p-4 ui-
|
|
9220
|
+
class: m(["absolute z-99999 mt-2 rounded-lg shadow-lg p-4 ui-surface", e.calendarPosition]),
|
|
9221
9221
|
onClick: D[0] || (D[0] = we(() => {
|
|
9222
9222
|
}, ["stop"]))
|
|
9223
9223
|
}, [
|
|
@@ -9466,7 +9466,7 @@ const Cc = {
|
|
|
9466
9466
|
], 2)) : g("", !0)
|
|
9467
9467
|
], 2));
|
|
9468
9468
|
}
|
|
9469
|
-
}, Lf = { class: "w-full h-full relative" }, If = ["width", "height", "viewBox"], Nf = { key: 0 }, Rf = ["x1", "y1", "x2", "y2", "stroke"], Uf = ["id"], qf = ["stop-color"], Yf = ["stop-color"], Hf = ["x", "y", "width", "height", "fill", "onMouseenter", "onClick"], Wf = ["to"], Gf = ["from", "to"], Kf = { key: 1 }, Xf = ["x", "y"], Jf = { key: 2 }, Qf = ["x", "y"], Zf = { key: 3 }, em = ["x", "y"], tm = { key: 4 }, am = ["x"], nm = ["x1", "y1", "x2", "y2"], sm = ["x1", "y1", "x2", "y2"], rm = { class: "--
|
|
9469
|
+
}, Lf = { class: "ui-surface w-full h-full relative" }, If = ["width", "height", "viewBox"], Nf = { key: 0 }, Rf = ["x1", "y1", "x2", "y2", "stroke"], Uf = ["id"], qf = ["stop-color"], Yf = ["stop-color"], Hf = ["x", "y", "width", "height", "fill", "onMouseenter", "onClick"], Wf = ["to"], Gf = ["from", "to"], Kf = { key: 1 }, Xf = ["x", "y"], Jf = { key: 2 }, Qf = ["x", "y"], Zf = { key: 3 }, em = ["x", "y"], tm = { key: 4 }, am = ["x"], nm = ["x1", "y1", "x2", "y2"], sm = ["x1", "y1", "x2", "y2"], rm = { class: "ui--surface ui-text px-4 py-3 rounded-lg shadow-2xl border ui-border-strong min-w-40" }, om = { class: "flex items-center gap-2 mb-1" }, im = { class: "font-semibold text-sm" }, lm = { class: "ml-5" }, um = { class: "text-2xl font-bold" }, Hs = {
|
|
9470
9470
|
__name: "BarChart",
|
|
9471
9471
|
props: {
|
|
9472
9472
|
data: {
|
|
@@ -9704,7 +9704,7 @@ const Cc = {
|
|
|
9704
9704
|
pointerEvents: "none",
|
|
9705
9705
|
zIndex: 9999
|
|
9706
9706
|
}),
|
|
9707
|
-
class: "animate-in fade-in duration-200"
|
|
9707
|
+
class: "ui-surface-strong animate-in fade-in duration-200"
|
|
9708
9708
|
}, [
|
|
9709
9709
|
r("div", rm, [
|
|
9710
9710
|
r("div", om, [
|
|
@@ -9717,12 +9717,12 @@ const Cc = {
|
|
|
9717
9717
|
r("div", lm, [
|
|
9718
9718
|
r("span", um, k(o.value.value) + "%", 1)
|
|
9719
9719
|
]),
|
|
9720
|
-
F[0] || (F[0] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2
|
|
9720
|
+
F[0] || (F[0] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 ui-surface border-r border-b ui-border-strong" }, null, -1))
|
|
9721
9721
|
])
|
|
9722
9722
|
], 4)) : g("", !0)
|
|
9723
9723
|
]));
|
|
9724
9724
|
}
|
|
9725
|
-
}, dm = { class: "w-full h-full" }, cm = ["width", "height", "viewBox"], fm = { key: 0 }, mm = ["x1", "y1", "x2", "y2", "stroke"], vm = ["d", "stroke", "stroke-width"], gm = { key: 1 }, hm = ["cx", "cy", "r", "fill", "stroke", "onMouseenter"], pm = ["d", "fill", "fill-opacity"], ym = { key: 3 }, bm = ["x", "y"], xm = { key: 4 }, wm = ["x", "y"], km = { key: 5 }, $m = ["x", "y", "width", "height", "fill", "stroke"], Cm = ["x", "y"], Ws = {
|
|
9725
|
+
}, dm = { class: "ui-surface w-full h-full" }, cm = ["width", "height", "viewBox"], fm = { key: 0 }, mm = ["x1", "y1", "x2", "y2", "stroke"], vm = ["d", "stroke", "stroke-width"], gm = { key: 1 }, hm = ["cx", "cy", "r", "fill", "stroke", "onMouseenter"], pm = ["d", "fill", "fill-opacity"], ym = { key: 3 }, bm = ["x", "y"], xm = { key: 4 }, wm = ["x", "y"], km = { key: 5 }, $m = ["x", "y", "width", "height", "fill", "stroke"], Cm = ["x", "y"], Ws = {
|
|
9726
9726
|
__name: "LineChart",
|
|
9727
9727
|
props: {
|
|
9728
9728
|
data: {
|
|
@@ -15139,7 +15139,7 @@ const Cc = {
|
|
|
15139
15139
|
}, Ty = {
|
|
15140
15140
|
key: 0,
|
|
15141
15141
|
class: "flex ui-bg items-center justify-between p-4 border-b ui-border-strong shrink-0 lg:hidden"
|
|
15142
|
-
}, Vy = { class: "text-lg font-bold ui-text" }, Fy = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, By = { class: "space-y-2" }, _y = { key: 0 }, jy = {
|
|
15142
|
+
}, Vy = { class: "text-lg font-bold ui-text" }, Fy = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, By = { class: "space-y-2 mt-2" }, _y = { key: 0 }, jy = {
|
|
15143
15143
|
key: 0,
|
|
15144
15144
|
class: "absolute top-2 right-2 inline-flex items-center justify-center w-5 h-5 text-xs font-bold rounded-full ui-danger-bg ui-text"
|
|
15145
15145
|
}, Oy = ["onClick"], Py = {
|
|
@@ -15328,7 +15328,7 @@ const Cc = {
|
|
|
15328
15328
|
}),
|
|
15329
15329
|
r("aside", {
|
|
15330
15330
|
class: m(Z(P)(
|
|
15331
|
-
"fixed left-0 z-
|
|
15331
|
+
"fixed left-0 z-40 ui-bg border-r ui-border-strong overflow-hidden flex flex-col",
|
|
15332
15332
|
"transition-all duration-300 ease-in-out",
|
|
15333
15333
|
" ",
|
|
15334
15334
|
i.value ? Z(P)("transform h-screen", z.value ? "translate-x-0" : "-translate-x-full") : "translate-x-0 h-[calc(100vh-4rem)]"
|
|
@@ -16475,10 +16475,10 @@ function fx(e, a, t, n, o, i) {
|
|
|
16475
16475
|
], 2)
|
|
16476
16476
|
], 2);
|
|
16477
16477
|
}
|
|
16478
|
-
const mx = /* @__PURE__ */ it(Wb, [["render", fx]]), vx = { class: "w-full h-full relative" }, gx = {
|
|
16478
|
+
const mx = /* @__PURE__ */ it(Wb, [["render", fx]]), vx = { class: "ui-surface w-full h-full relative" }, gx = {
|
|
16479
16479
|
key: 0,
|
|
16480
|
-
class: "w-full h-full flex items-center justify-center"
|
|
16481
|
-
}, hx = ["width", "height", "viewBox"], px = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], yx = ["cx", "cy", "r", "fill"], bx = { key: 1 }, xx = ["x", "y"], wx = ["x", "y"], kx = { key: 2 }, $x = ["x", "y"], Cx = { key: 3 }, Sx = ["transform"], zx = ["fill"], Ax = { class: "
|
|
16480
|
+
class: "ui-surface w-full h-full flex items-center justify-center"
|
|
16481
|
+
}, hx = ["width", "height", "viewBox"], px = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], yx = ["cx", "cy", "r", "fill"], bx = { key: 1 }, xx = ["x", "y"], wx = ["x", "y"], kx = { key: 2 }, $x = ["x", "y"], Cx = { key: 3 }, Sx = ["transform"], zx = ["fill"], Ax = { class: "ui-surface ui-text px-4 py-3 rounded-lg shadow-2xl border ui-border-strong min-w-[180px]" }, Dx = { class: "flex items-center gap-2 mb-1.5" }, Mx = { class: "font-semibold text-sm" }, Tx = { class: "flex items-baseline gap-2 ml-5" }, Vx = { class: "text-2xl font-bold" }, Fx = { class: "mt-1 ml-5" }, Bx = { class: "text-xs ui-text" }, Dn = {
|
|
16482
16482
|
__name: "PieChart",
|
|
16483
16483
|
props: {
|
|
16484
16484
|
data: {
|
|
@@ -16748,7 +16748,7 @@ const mx = /* @__PURE__ */ it(Wb, [["render", fx]]), vx = { class: "w-full h-ful
|
|
|
16748
16748
|
r("div", Fx, [
|
|
16749
16749
|
r("span", Bx, k(o.value.percentage) + "% of total", 1)
|
|
16750
16750
|
]),
|
|
16751
|
-
F[2] || (F[2] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2
|
|
16751
|
+
F[2] || (F[2] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 ui-surface border-r border-b ui-border-strong" }, null, -1))
|
|
16752
16752
|
])
|
|
16753
16753
|
], 4)) : g("", !0)
|
|
16754
16754
|
]));
|
|
@@ -16901,7 +16901,7 @@ const mx = /* @__PURE__ */ it(Wb, [["render", fx]]), vx = { class: "w-full h-ful
|
|
|
16901
16901
|
tabindex: "0",
|
|
16902
16902
|
style: he(i.value),
|
|
16903
16903
|
class: m(Z(P)(
|
|
16904
|
-
" rounded-xl border ui-border-strong
|
|
16904
|
+
" rounded-xl border ui-border-strong overflow-hidden transition-all select-none flex flex-col relative",
|
|
16905
16905
|
"shadow-sm",
|
|
16906
16906
|
$.value ? "opacity-50 scale-95" : "hover:shadow-lg cursor-move",
|
|
16907
16907
|
L.value ? "ring-2 ring-(--ui-primary) ring-offset-2" : ""
|
|
@@ -16986,7 +16986,7 @@ const mx = /* @__PURE__ */ it(Wb, [["render", fx]]), vx = { class: "w-full h-ful
|
|
|
16986
16986
|
id: `setting-${h.id}`,
|
|
16987
16987
|
class: m([
|
|
16988
16988
|
"relative inline-flex h-6 w-11 items-center rounded-full transition-colors",
|
|
16989
|
-
c.value[h.id] ? "ui-primary
|
|
16989
|
+
c.value[h.id] ? "ui-primary" : "ui-surface"
|
|
16990
16990
|
]),
|
|
16991
16991
|
onClick: (D) => z(h.id, !c.value[h.id])
|
|
16992
16992
|
}, [
|
|
@@ -17947,13 +17947,13 @@ function v2(e, a, t, n, o, i) {
|
|
|
17947
17947
|
r("div", d0, [
|
|
17948
17948
|
(s(!0), l(W, null, X(o.weekDaysShort, (d) => (s(), l("div", {
|
|
17949
17949
|
key: d,
|
|
17950
|
-
class: "text-center text-
|
|
17950
|
+
class: "text-center text-xl font-black ui-text"
|
|
17951
17951
|
}, k(d), 1))), 128))
|
|
17952
17952
|
]),
|
|
17953
17953
|
r("div", c0, [
|
|
17954
17954
|
(s(!0), l(W, null, X(u.days, (d, c) => (s(), l("div", {
|
|
17955
17955
|
key: c,
|
|
17956
|
-
class: m(["aspect-square flex items-center justify-center text-
|
|
17956
|
+
class: m(["aspect-square flex items-center justify-center text-lg font-normal rounded-md relative transition-all hover:scale-110", [
|
|
17957
17957
|
// Base styles
|
|
17958
17958
|
d.isCurrentMonth ? "text-(--ui-muted)" : "ui-text",
|
|
17959
17959
|
// Today styling
|
|
@@ -17967,7 +17967,7 @@ function v2(e, a, t, n, o, i) {
|
|
|
17967
17967
|
le(k(d.dayNumber) + " ", 1),
|
|
17968
17968
|
d.events.length > 1 && d.isCurrentMonth ? (s(), l("div", {
|
|
17969
17969
|
key: 0,
|
|
17970
|
-
class: m(["absolute -top-1 -right-1 w-4 h-4 rounded-full flex items-center justify-center text-
|
|
17970
|
+
class: m(["absolute -top-1 -right-1 w-4 h-4 rounded-full flex items-center justify-center text-sm font-black shadow-md", d.isToday ? "bg-(--ui-warning-strong) ui-primary" : "ui-danger-bg ui-text"])
|
|
17971
17971
|
}, k(d.events.length), 3)) : g("", !0)
|
|
17972
17972
|
], 2))), 128))
|
|
17973
17973
|
])
|
|
@@ -17979,7 +17979,7 @@ function v2(e, a, t, n, o, i) {
|
|
|
17979
17979
|
r("div", m0, [
|
|
17980
17980
|
(s(!0), l(W, null, X(o.weekDays, (u) => (s(), l("div", {
|
|
17981
17981
|
key: u,
|
|
17982
|
-
class: "text-center text-
|
|
17982
|
+
class: "text-center text-xl font-semibold ui-text py-3 uppercase tracking-wider"
|
|
17983
17983
|
}, k(u), 1))), 128))
|
|
17984
17984
|
]),
|
|
17985
17985
|
r("div", v0, [
|
|
@@ -17994,7 +17994,7 @@ function v2(e, a, t, n, o, i) {
|
|
|
17994
17994
|
}, [
|
|
17995
17995
|
r("div", h0, [
|
|
17996
17996
|
r("span", {
|
|
17997
|
-
class: m(["text-
|
|
17997
|
+
class: m(["text-2xl font-light", [
|
|
17998
17998
|
u.isCurrentMonth ? "ui-text" : "ui-text-muted",
|
|
17999
17999
|
u.isToday ? "ui-primary-soft ui-text w-6 h-6 flex items-center justify-center rounded-full text-xs" : ""
|
|
18000
18000
|
]])
|
|
@@ -18073,7 +18073,7 @@ function v2(e, a, t, n, o, i) {
|
|
|
18073
18073
|
r("div", _0, [
|
|
18074
18074
|
r("div", j0, k(i.dayViewDate.dayName), 1),
|
|
18075
18075
|
r("div", {
|
|
18076
|
-
class: m(["text-
|
|
18076
|
+
class: m(["text-2xl font-bold mt-2", [
|
|
18077
18077
|
i.dayViewDate.isToday ? "ui-primary" : "ui-text"
|
|
18078
18078
|
]])
|
|
18079
18079
|
}, k(i.dayViewDate.dayNumber), 3)
|
|
@@ -18240,7 +18240,7 @@ function v2(e, a, t, n, o, i) {
|
|
|
18240
18240
|
], !0)
|
|
18241
18241
|
]);
|
|
18242
18242
|
}
|
|
18243
|
-
const g2 = /* @__PURE__ */ it(K1, [["render", v2], ["__scopeId", "data-v-
|
|
18243
|
+
const g2 = /* @__PURE__ */ it(K1, [["render", v2], ["__scopeId", "data-v-bde90a62"]]), h2 = { class: "w-full h-full relative" }, p2 = ["width", "height", "viewBox"], y2 = { key: 0 }, b2 = ["x1", "y1", "x2", "y2", "stroke"], x2 = ["id"], w2 = ["stop-color"], k2 = ["stop-color"], $2 = ["x", "y", "width", "height", "fill", "onMouseenter", "onClick"], C2 = ["to", "begin"], S2 = ["from", "to", "begin"], z2 = { key: 1 }, A2 = ["x", "y"], D2 = { key: 2 }, M2 = ["x", "y"], T2 = { key: 3 }, V2 = ["x", "y"], F2 = { key: 4 }, B2 = ["x", "y"], _2 = ["x1", "y1", "x2", "y2"], j2 = ["x1", "y1", "x2", "y2"], O2 = { class: "ui-surface ui-text px-4 py-3 rounded-lg shadow-2xl border ui-border-strong min-w-[180px]" }, P2 = { class: "flex items-center gap-2 mb-2" }, E2 = { class: "font-semibold text-sm" }, L2 = { class: "ml-5" }, I2 = { class: "text-xs ui-text mb-1" }, N2 = { class: "text-2xl font-bold" }, R2 = {
|
|
18244
18244
|
__name: "StackedBarChart",
|
|
18245
18245
|
props: {
|
|
18246
18246
|
data: {
|
|
@@ -18508,7 +18508,7 @@ const g2 = /* @__PURE__ */ it(K1, [["render", v2], ["__scopeId", "data-v-65c240b
|
|
|
18508
18508
|
r("p", I2, k(o.value.barLabel), 1),
|
|
18509
18509
|
r("span", N2, k(o.value.value) + "%", 1)
|
|
18510
18510
|
]),
|
|
18511
|
-
E[0] || (E[0] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2
|
|
18511
|
+
E[0] || (E[0] = r("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 ui-surface border-r border-b ui-border-strong" }, null, -1))
|
|
18512
18512
|
])
|
|
18513
18513
|
], 4)) : g("", !0)
|
|
18514
18514
|
]));
|