@contentstudio/ui 0.1.42 → 0.1.43
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.js +53 -51
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Jx = Object.defineProperty;
|
|
2
2
|
var Qx = (t, a, o) => a in t ? Jx(t, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[a] = o;
|
|
3
3
|
var Oe = (t, a, o) => (Qx(t, typeof a != "symbol" ? a + "" : a, o), o);
|
|
4
|
-
import { defineComponent as O, computed as u, openBlock as k, createElementBlock as g, normalizeClass as I, unref as l, normalizeStyle as W, renderSlot as H, createCommentVNode as L, createElementVNode as f, withKeys as sx, withModifiers as Pe, toDisplayString as U, ref as j, createTextVNode as ae, mergeProps as ce, Fragment as re, renderList as O2, withDirectives as F2, createBlock as
|
|
4
|
+
import { defineComponent as O, computed as u, openBlock as k, createElementBlock as g, normalizeClass as I, unref as l, normalizeStyle as W, renderSlot as H, createCommentVNode as L, createElementVNode as f, withKeys as sx, withModifiers as Pe, toDisplayString as U, ref as j, createTextVNode as ae, mergeProps as ce, Fragment as re, renderList as O2, withDirectives as F2, createBlock as K, resolveDynamicComponent as ve, vShow as yv, Teleport as $2, createVNode as E, Transition as se, withCtx as N, shallowRef as Yx, watch as ne, getCurrentScope as lx, onScopeDispose as hx, shallowReadonly as H2, readonly as _x, inject as fe, onMounted as xe, provide as Ee, nextTick as me, onBeforeUnmount as K2, reactive as E2, createApp as Sv, createSlots as eI, useSlots as tI, h as Ue, createStaticVNode as aI, onUnmounted as Dv, watchEffect as to, toRaw as ze, isVNode as yx, cloneVNode as oI, pushScopeId as cI, popScopeId as nI } from "vue";
|
|
5
5
|
const b2 = {
|
|
6
6
|
primary: {
|
|
7
7
|
base: "blue",
|
|
@@ -654,7 +654,7 @@ const wI = {
|
|
|
654
654
|
fullWidth: S = !1,
|
|
655
655
|
pattern: V = "",
|
|
656
656
|
title: Z = "",
|
|
657
|
-
inputClass:
|
|
657
|
+
inputClass: J = "",
|
|
658
658
|
maxLength: B = void 0
|
|
659
659
|
} = t, P = `text-input-${Math.random().toString(36).substring(2, 11)}`, D = j(null), Y = {
|
|
660
660
|
xs: {
|
|
@@ -1463,7 +1463,7 @@ const cw = /* @__PURE__ */ O({
|
|
|
1463
1463
|
return tw;
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
|
-
return (d, r) => F2((k(),
|
|
1466
|
+
return (d, r) => F2((k(), K(ve(l(i)), {
|
|
1467
1467
|
class: I([
|
|
1468
1468
|
"cstu-inline-block",
|
|
1469
1469
|
l(c),
|
|
@@ -1517,7 +1517,7 @@ const cw = /* @__PURE__ */ O({
|
|
|
1517
1517
|
lg: "w-[440px]",
|
|
1518
1518
|
xl: "w-[520px]"
|
|
1519
1519
|
})[a.size]);
|
|
1520
|
-
return (c, n) => (k(),
|
|
1520
|
+
return (c, n) => (k(), K($2, { to: "body" }, [
|
|
1521
1521
|
E(se, {
|
|
1522
1522
|
"enter-active-class": "transition duration-200 ease-out",
|
|
1523
1523
|
"enter-from-class": "opacity-0 scale-95",
|
|
@@ -1842,7 +1842,7 @@ const vw = (t) => ({
|
|
|
1842
1842
|
}, m = $v(n), C = Ov(m), z = await d.getDimensions(s), w = m === "y", A = w ? "top" : "left", b = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", v = i.reference[C] + i.reference[m] - p[m] - i.floating[C], S = p[m] - i.reference[m], V = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(s));
|
|
1843
1843
|
let Z = V ? V[x] : 0;
|
|
1844
1844
|
(!Z || !await (d.isElement == null ? void 0 : d.isElement(V))) && (Z = r.floating[x] || i.floating[C]);
|
|
1845
|
-
const
|
|
1845
|
+
const J = v / 2 - S / 2, B = Z / 2 - z[C] / 2 - 1, P = j2(y[A], B), D = j2(y[b], B), Y = P, oe = Z - z[C] - D, G = Z / 2 - z[C] / 2 + J, le = qv(Y, G, oe), he = !h.arrow && He(n) != null && G !== le && i.reference[C] / 2 - (G < Y ? P : D) - z[C] / 2 < 0, de = he ? G < Y ? G - Y : G - oe : 0;
|
|
1846
1846
|
return {
|
|
1847
1847
|
[m]: p[m] + de,
|
|
1848
1848
|
data: {
|
|
@@ -1953,11 +1953,11 @@ const Iw = function(t) {
|
|
|
1953
1953
|
return {};
|
|
1954
1954
|
const A = Te(n), b = D2(r), x = Te(r) === r, v = await (h.isRTL == null ? void 0 : h.isRTL(s.floating)), S = p || (x || !z ? [iv(r)] : kw(r)), V = C !== "none";
|
|
1955
1955
|
!p && V && S.push(...fw(r, z, C, v));
|
|
1956
|
-
const Z = [r, ...S],
|
|
1956
|
+
const Z = [r, ...S], J = await Ev(a, w), B = [];
|
|
1957
1957
|
let P = ((c = i.flip) == null ? void 0 : c.overflows) || [];
|
|
1958
|
-
if (M && B.push(
|
|
1958
|
+
if (M && B.push(J[A]), y) {
|
|
1959
1959
|
const G = gx(n, d, v);
|
|
1960
|
-
B.push(
|
|
1960
|
+
B.push(J[G[0]], J[G[1]]);
|
|
1961
1961
|
}
|
|
1962
1962
|
if (P = [...P, {
|
|
1963
1963
|
placement: n,
|
|
@@ -2654,16 +2654,16 @@ function mv(t, a, o) {
|
|
|
2654
2654
|
};
|
|
2655
2655
|
if (!M.value)
|
|
2656
2656
|
return Z;
|
|
2657
|
-
const
|
|
2657
|
+
const J = ax(M.value, y.value), B = ax(M.value, p.value);
|
|
2658
2658
|
return h.value ? {
|
|
2659
2659
|
...Z,
|
|
2660
|
-
transform: "translate(" +
|
|
2660
|
+
transform: "translate(" + J + "px, " + B + "px)",
|
|
2661
2661
|
...zx(M.value) >= 1.5 && {
|
|
2662
2662
|
willChange: "transform"
|
|
2663
2663
|
}
|
|
2664
2664
|
} : {
|
|
2665
2665
|
position: m.value,
|
|
2666
|
-
left:
|
|
2666
|
+
left: J + "px",
|
|
2667
2667
|
top: B + "px"
|
|
2668
2668
|
};
|
|
2669
2669
|
});
|
|
@@ -2676,8 +2676,8 @@ function mv(t, a, o) {
|
|
|
2676
2676
|
middleware: i.value,
|
|
2677
2677
|
placement: d.value,
|
|
2678
2678
|
strategy: r.value
|
|
2679
|
-
}).then((
|
|
2680
|
-
y.value =
|
|
2679
|
+
}).then((J) => {
|
|
2680
|
+
y.value = J.x, p.value = J.y, m.value = J.strategy, C.value = J.placement, z.value = J.middlewareData, w.value = Z !== !1;
|
|
2681
2681
|
});
|
|
2682
2682
|
}
|
|
2683
2683
|
function v() {
|
|
@@ -2884,7 +2884,7 @@ const Ax = Symbol("hover-card"), Hx = /* @__PURE__ */ O({
|
|
|
2884
2884
|
]),
|
|
2885
2885
|
_: 3
|
|
2886
2886
|
}),
|
|
2887
|
-
o.value ? (k(),
|
|
2887
|
+
o.value ? (k(), K($2, {
|
|
2888
2888
|
key: 0,
|
|
2889
2889
|
to: "body"
|
|
2890
2890
|
}, [
|
|
@@ -3140,7 +3140,7 @@ const _w = /* @__PURE__ */ f("span", { tabindex: "0" }, null, -1), eC = { class:
|
|
|
3140
3140
|
typeof t.message == "string" ? (k(), g("div", {
|
|
3141
3141
|
key: 0,
|
|
3142
3142
|
innerHTML: t.message
|
|
3143
|
-
}, null, 8, oC)) : (k(),
|
|
3143
|
+
}, null, 8, oC)) : (k(), K(ve(t.message), { key: 1 }))
|
|
3144
3144
|
], 2),
|
|
3145
3145
|
f("footer", {
|
|
3146
3146
|
class: I([
|
|
@@ -3388,7 +3388,7 @@ const _w = /* @__PURE__ */ f("span", { tabindex: "0" }, null, -1), eC = { class:
|
|
|
3388
3388
|
typeof t.message == "string" ? (k(), g("div", {
|
|
3389
3389
|
key: 0,
|
|
3390
3390
|
innerHTML: t.message
|
|
3391
|
-
}, null, 8, lC)) : (k(),
|
|
3391
|
+
}, null, 8, lC)) : (k(), K(ve(t.message), { key: 1 }))
|
|
3392
3392
|
], 2),
|
|
3393
3393
|
f("footer", {
|
|
3394
3394
|
class: I([
|
|
@@ -3801,7 +3801,7 @@ const pC = ["id"], kC = ["id", "aria-labelledby"], MC = /* @__PURE__ */ f("span"
|
|
|
3801
3801
|
me(() => {
|
|
3802
3802
|
if (!r.value)
|
|
3803
3803
|
return;
|
|
3804
|
-
const B = r.value, P =
|
|
3804
|
+
const B = r.value, P = J(B);
|
|
3805
3805
|
P.length > 0 && P[0].focus();
|
|
3806
3806
|
});
|
|
3807
3807
|
}
|
|
@@ -3821,7 +3821,7 @@ const pC = ["id"], kC = ["id", "aria-labelledby"], MC = /* @__PURE__ */ f("span"
|
|
|
3821
3821
|
return;
|
|
3822
3822
|
s.value = !0;
|
|
3823
3823
|
try {
|
|
3824
|
-
const oe =
|
|
3824
|
+
const oe = J(D);
|
|
3825
3825
|
oe.length > 0 ? oe[0].focus() : D.focus();
|
|
3826
3826
|
} finally {
|
|
3827
3827
|
setTimeout(() => {
|
|
@@ -3831,7 +3831,7 @@ const pC = ["id"], kC = ["id", "aria-labelledby"], MC = /* @__PURE__ */ f("span"
|
|
|
3831
3831
|
}
|
|
3832
3832
|
}
|
|
3833
3833
|
}
|
|
3834
|
-
function
|
|
3834
|
+
function J(B) {
|
|
3835
3835
|
return Array.from(B.querySelectorAll(
|
|
3836
3836
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
3837
3837
|
));
|
|
@@ -3863,7 +3863,7 @@ const pC = ["id"], kC = ["id", "aria-labelledby"], MC = /* @__PURE__ */ f("span"
|
|
|
3863
3863
|
show: z,
|
|
3864
3864
|
close: b,
|
|
3865
3865
|
toggle: A
|
|
3866
|
-
}), (B, P) => (k(),
|
|
3866
|
+
}), (B, P) => (k(), K($2, {
|
|
3867
3867
|
to: "body",
|
|
3868
3868
|
disabled: c.static || c.teleport === !1
|
|
3869
3869
|
}, [
|
|
@@ -3970,7 +3970,7 @@ const pC = ["id"], kC = ["id", "aria-labelledby"], MC = /* @__PURE__ */ f("span"
|
|
|
3970
3970
|
])
|
|
3971
3971
|
}, [
|
|
3972
3972
|
H(B.$slots, "modal-footer", {}, () => [
|
|
3973
|
-
t.okOnly ? L("", !0) : (k(),
|
|
3973
|
+
t.okOnly ? L("", !0) : (k(), K(Me, {
|
|
3974
3974
|
key: 0,
|
|
3975
3975
|
variant: t.cancelVariant,
|
|
3976
3976
|
color: t.cancelColor,
|
|
@@ -4123,7 +4123,7 @@ const qC = ["src", "alt"], zC = ["title"], AC = {
|
|
|
4123
4123
|
var p;
|
|
4124
4124
|
o.value = !0, (p = a.imageProps) != null && p.onError && a.imageProps.onError(y);
|
|
4125
4125
|
};
|
|
4126
|
-
return (y, p) => (k(),
|
|
4126
|
+
return (y, p) => (k(), K(ve(t.component || "div"), {
|
|
4127
4127
|
class: I([
|
|
4128
4128
|
"avatar",
|
|
4129
4129
|
l(i),
|
|
@@ -4383,7 +4383,7 @@ const DC = /* @__PURE__ */ O({
|
|
|
4383
4383
|
}), n = fe("tabsOrientation", j("horizontal")), i = fe("tabsPlacement", j("top")), d = u(() => o.value), r = u(() => n.value), h = u(() => i.value), s = u(() => d.value === a.value), M = u(() => r.value === "vertical"), y = u(() => a.fullWidth && r.value === "horizontal"), p = () => {
|
|
4384
4384
|
!a.disabled && !a.loading && c(a.value);
|
|
4385
4385
|
};
|
|
4386
|
-
return (m, C) => (k(),
|
|
4386
|
+
return (m, C) => (k(), K(l(Me), {
|
|
4387
4387
|
class: I(
|
|
4388
4388
|
[
|
|
4389
4389
|
"tabs-tab",
|
|
@@ -4614,7 +4614,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4614
4614
|
return (p, m) => (k(), g("div", {
|
|
4615
4615
|
class: I(["cstu-flex cstu-items-center cstu-gap-2", [o.class]])
|
|
4616
4616
|
}, [
|
|
4617
|
-
o.withEdges ? (k(),
|
|
4617
|
+
o.withEdges ? (k(), K(Me, {
|
|
4618
4618
|
key: 0,
|
|
4619
4619
|
variant: l(y),
|
|
4620
4620
|
color: "light",
|
|
@@ -4630,7 +4630,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4630
4630
|
]),
|
|
4631
4631
|
_: 1
|
|
4632
4632
|
}, 8, ["variant", "size", "disabled", "class"])) : L("", !0),
|
|
4633
|
-
o.withControls ? (k(),
|
|
4633
|
+
o.withControls ? (k(), K(Me, {
|
|
4634
4634
|
key: 1,
|
|
4635
4635
|
variant: l(y),
|
|
4636
4636
|
color: "light",
|
|
@@ -4648,7 +4648,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4648
4648
|
}, 8, ["variant", "size", "disabled", "class"])) : L("", !0),
|
|
4649
4649
|
o.withPages ? (k(), g("div", UC, [
|
|
4650
4650
|
(k(!0), g(re, null, O2(l(h), (C, z) => (k(), g(re, { key: z }, [
|
|
4651
|
-
C !== "dots" ? (k(),
|
|
4651
|
+
C !== "dots" ? (k(), K(Me, {
|
|
4652
4652
|
key: 0,
|
|
4653
4653
|
variant: C === c.value ? "filled" : l(y),
|
|
4654
4654
|
color: C === c.value ? o.color : "light",
|
|
@@ -4669,7 +4669,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4669
4669
|
}, NC, 2))
|
|
4670
4670
|
], 64))), 128))
|
|
4671
4671
|
])) : L("", !0),
|
|
4672
|
-
o.withControls ? (k(),
|
|
4672
|
+
o.withControls ? (k(), K(Me, {
|
|
4673
4673
|
key: 3,
|
|
4674
4674
|
variant: l(y),
|
|
4675
4675
|
color: "light",
|
|
@@ -4685,7 +4685,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4685
4685
|
]),
|
|
4686
4686
|
_: 1
|
|
4687
4687
|
}, 8, ["variant", "size", "disabled", "class"])) : L("", !0),
|
|
4688
|
-
o.withEdges ? (k(),
|
|
4688
|
+
o.withEdges ? (k(), K(Me, {
|
|
4689
4689
|
key: 4,
|
|
4690
4690
|
variant: l(y),
|
|
4691
4691
|
color: "light",
|
|
@@ -4791,7 +4791,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4791
4791
|
p(), o.trapFocus && Z();
|
|
4792
4792
|
}), a("open"), a("update:open", !0));
|
|
4793
4793
|
}, S = (q = "programmatic") => {
|
|
4794
|
-
c.value && (c.value = !1, o.trapFocus &&
|
|
4794
|
+
c.value && (c.value = !1, o.trapFocus && J(r.value), a("close", q), a("update:open", !1));
|
|
4795
4795
|
}, V = () => {
|
|
4796
4796
|
c.value ? S() : v();
|
|
4797
4797
|
}, Z = () => {
|
|
@@ -4799,7 +4799,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4799
4799
|
return;
|
|
4800
4800
|
const q = B(i.value);
|
|
4801
4801
|
q.length > 0 ? q[0].focus() : i.value.focus();
|
|
4802
|
-
},
|
|
4802
|
+
}, J = (q) => {
|
|
4803
4803
|
q && typeof q.focus == "function" && q.focus();
|
|
4804
4804
|
}, B = (q) => Array.from(
|
|
4805
4805
|
q.querySelectorAll(
|
|
@@ -4941,7 +4941,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4941
4941
|
}, [
|
|
4942
4942
|
H(q.$slots, "trigger")
|
|
4943
4943
|
], 34),
|
|
4944
|
-
(k(),
|
|
4944
|
+
(k(), K($2, { to: "body" }, [
|
|
4945
4945
|
E(se, {
|
|
4946
4946
|
name: "fade",
|
|
4947
4947
|
appear: ""
|
|
@@ -4996,7 +4996,7 @@ const RC = /* @__PURE__ */ f("span", { class: "cstu-sr-only" }, "First page", -1
|
|
|
4996
4996
|
id: `${o.id}-title`,
|
|
4997
4997
|
class: I(["cstu-popover-title cstu-font-medium", l(C2)(o.size || "md")])
|
|
4998
4998
|
}, U(o.title), 11, YC),
|
|
4999
|
-
o.showCloseIcon ? (k(),
|
|
4999
|
+
o.showCloseIcon ? (k(), K(Me, {
|
|
5000
5000
|
key: 0,
|
|
5001
5001
|
icon: "X",
|
|
5002
5002
|
variant: "text",
|
|
@@ -5106,7 +5106,7 @@ const LS = /* @__PURE__ */ O({
|
|
|
5106
5106
|
H(y.$slots, `item-${C}`, {
|
|
5107
5107
|
isActive: i(C)
|
|
5108
5108
|
}, () => [
|
|
5109
|
-
(k(),
|
|
5109
|
+
(k(), K(ve(m)))
|
|
5110
5110
|
])
|
|
5111
5111
|
], 6),
|
|
5112
5112
|
i(C) ? L("", !0) : (k(), g("div", {
|
|
@@ -5120,7 +5120,7 @@ const LS = /* @__PURE__ */ O({
|
|
|
5120
5120
|
H(y.$slots, "separator", {}, () => [
|
|
5121
5121
|
typeof a.separator == "string" ? (k(), g(re, { key: 0 }, [
|
|
5122
5122
|
ae(U(a.separator), 1)
|
|
5123
|
-
], 64)) : a.separator ? (k(),
|
|
5123
|
+
], 64)) : a.separator ? (k(), K(ve(a.separator), { key: 1 })) : L("", !0)
|
|
5124
5124
|
])
|
|
5125
5125
|
], 2))
|
|
5126
5126
|
], 64))), 128)) : H(y.$slots, "default", { key: 0 })
|
|
@@ -5193,34 +5193,34 @@ const _C = {
|
|
|
5193
5193
|
radius: S = "md",
|
|
5194
5194
|
color: V = "primary",
|
|
5195
5195
|
class: Z,
|
|
5196
|
-
fullWidth:
|
|
5196
|
+
fullWidth: J = !1,
|
|
5197
5197
|
inputClass: B = "",
|
|
5198
5198
|
rows: P = 3,
|
|
5199
5199
|
resize: D = "none",
|
|
5200
5200
|
maxLength: Y = void 0
|
|
5201
5201
|
} = t, oe = `textarea-${Math.random().toString(36).substring(2, 11)}`, G = j(null), le = {
|
|
5202
5202
|
xs: {
|
|
5203
|
-
inputClass: `cstu-min-h-8 ${
|
|
5203
|
+
inputClass: `cstu-min-h-8 ${J ? "cstu-w-full" : "cstu-max-w-[20.5rem]"}`,
|
|
5204
5204
|
labelSize: "cstu-text-xs cstu-font-medium",
|
|
5205
5205
|
descriptionSize: "cstu-text-xs"
|
|
5206
5206
|
},
|
|
5207
5207
|
sm: {
|
|
5208
|
-
inputClass: `cstu-min-h-9 ${
|
|
5208
|
+
inputClass: `cstu-min-h-9 ${J ? "cstu-w-full" : "cstu-max-w-[20.5rem]"}`,
|
|
5209
5209
|
labelSize: "cstu-text-sm cstu-font-medium",
|
|
5210
5210
|
descriptionSize: "cstu-text-xs"
|
|
5211
5211
|
},
|
|
5212
5212
|
md: {
|
|
5213
|
-
inputClass: `cstu-min-h-10 ${
|
|
5213
|
+
inputClass: `cstu-min-h-10 ${J ? "cstu-w-full" : "cstu-max-w-[20.5rem]"}`,
|
|
5214
5214
|
labelSize: "cstu-text-sm cstu-font-medium",
|
|
5215
5215
|
descriptionSize: "cstu-text-sm"
|
|
5216
5216
|
},
|
|
5217
5217
|
lg: {
|
|
5218
|
-
inputClass: `cstu-min-h-11 ${
|
|
5218
|
+
inputClass: `cstu-min-h-11 ${J ? "cstu-w-full" : "cstu-max-w-[20.5rem]"}`,
|
|
5219
5219
|
labelSize: "cstu-text-sm cstu-font-medium",
|
|
5220
5220
|
descriptionSize: "cstu-text-sm"
|
|
5221
5221
|
},
|
|
5222
5222
|
xl: {
|
|
5223
|
-
inputClass: `cstu-min-h-12 ${
|
|
5223
|
+
inputClass: `cstu-min-h-12 ${J ? "cstu-w-full" : "cstu-max-w-[20.5rem]"}`,
|
|
5224
5224
|
labelSize: "cstu-text-base cstu-font-medium",
|
|
5225
5225
|
descriptionSize: "cstu-text-sm"
|
|
5226
5226
|
}
|
|
@@ -34285,7 +34285,7 @@ const rL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
34285
34285
|
},
|
|
34286
34286
|
setup(t) {
|
|
34287
34287
|
const a = t, o = u(() => rL[a.name]);
|
|
34288
|
-
return (c, n) => (k(),
|
|
34288
|
+
return (c, n) => (k(), K(ve(l(o)), {
|
|
34289
34289
|
size: t.size,
|
|
34290
34290
|
color: t.color,
|
|
34291
34291
|
"stroke-width": t.strokeWidth,
|
|
@@ -34401,7 +34401,7 @@ const rL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
34401
34401
|
f("span", {
|
|
34402
34402
|
class: I(["flex items-center justify-center", { "opacity-0": t.loading }])
|
|
34403
34403
|
}, [
|
|
34404
|
-
t.iconName ? (k(),
|
|
34404
|
+
t.iconName ? (k(), K(l(dL), {
|
|
34405
34405
|
key: 0,
|
|
34406
34406
|
name: t.iconName,
|
|
34407
34407
|
size: l(n)
|
|
@@ -34575,7 +34575,7 @@ const lL = /* @__PURE__ */ aI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
34575
34575
|
default: N(() => {
|
|
34576
34576
|
var S;
|
|
34577
34577
|
return [
|
|
34578
|
-
(k(),
|
|
34578
|
+
(k(), K($2, { to: "body" }, [
|
|
34579
34579
|
F2(f("div", {
|
|
34580
34580
|
ref_key: "dropdownList",
|
|
34581
34581
|
ref: i,
|
|
@@ -34843,7 +34843,7 @@ const lL = /* @__PURE__ */ aI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
34843
34843
|
}, null, 8, ["class"])
|
|
34844
34844
|
])
|
|
34845
34845
|
], 14, ML),
|
|
34846
|
-
(k(),
|
|
34846
|
+
(k(), K($2, { to: "body" }, [
|
|
34847
34847
|
E(se, {
|
|
34848
34848
|
"enter-active-class": "cstu-transition cstu-duration-200 cstu-ease-out",
|
|
34849
34849
|
"enter-from-class": "cstu-transform cstu-scale-95 cstu-opacity-0",
|
|
@@ -35274,7 +35274,7 @@ const lL = /* @__PURE__ */ aI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35274
35274
|
}
|
|
35275
35275
|
return s;
|
|
35276
35276
|
});
|
|
35277
|
-
return (s, M) => (k(),
|
|
35277
|
+
return (s, M) => (k(), K(ve(t.component || "div"), ce({
|
|
35278
35278
|
class: l(r),
|
|
35279
35279
|
style: l(h)
|
|
35280
35280
|
}, s.$attrs), {
|
|
@@ -35282,7 +35282,7 @@ const lL = /* @__PURE__ */ aI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35282
35282
|
t.leftSection ? (k(), g("span", IL, [
|
|
35283
35283
|
typeof t.leftSection == "string" ? (k(), g(re, { key: 0 }, [
|
|
35284
35284
|
ae(U(t.leftSection), 1)
|
|
35285
|
-
], 64)) : (k(),
|
|
35285
|
+
], 64)) : (k(), K(ve(t.leftSection), { key: 1 }))
|
|
35286
35286
|
])) : L("", !0),
|
|
35287
35287
|
f("span", {
|
|
35288
35288
|
class: I([[{ "overflow-hidden max-w-full": t.circle }, t.textClass], "badge-label"])
|
|
@@ -35292,7 +35292,7 @@ const lL = /* @__PURE__ */ aI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35292
35292
|
t.rightSection ? (k(), g("span", wL, [
|
|
35293
35293
|
typeof t.rightSection == "string" ? (k(), g(re, { key: 0 }, [
|
|
35294
35294
|
ae(U(t.rightSection), 1)
|
|
35295
|
-
], 64)) : (k(),
|
|
35295
|
+
], 64)) : (k(), K(ve(t.rightSection), { key: 1 }))
|
|
35296
35296
|
])) : L("", !0)
|
|
35297
35297
|
]),
|
|
35298
35298
|
_: 3
|
|
@@ -35324,7 +35324,7 @@ const Fx = /* @__PURE__ */ O({
|
|
|
35324
35324
|
lg: "cstu-px-5",
|
|
35325
35325
|
xl: "cstu-px-6"
|
|
35326
35326
|
}[o] || "cstu-px-4" : "");
|
|
35327
|
-
return (i, d) => (k(),
|
|
35327
|
+
return (i, d) => (k(), K(ve(t.component), {
|
|
35328
35328
|
class: I([
|
|
35329
35329
|
l(c),
|
|
35330
35330
|
l(n),
|
|
@@ -35367,7 +35367,7 @@ const Fx = /* @__PURE__ */ O({
|
|
|
35367
35367
|
})[o.padding] || "cstu-p-4");
|
|
35368
35368
|
return a({
|
|
35369
35369
|
Section: Fx
|
|
35370
|
-
}), (r, h) => (k(),
|
|
35370
|
+
}), (r, h) => (k(), K(ve(t.component), {
|
|
35371
35371
|
class: I([
|
|
35372
35372
|
"cstu-overflow-hidden cstu-bg-white",
|
|
35373
35373
|
l(c),
|
|
@@ -37135,6 +37135,7 @@ const OS = {}, rS = /* @__PURE__ */ O({
|
|
|
37135
37135
|
disabled: { type: Boolean, default: !1 },
|
|
37136
37136
|
class: { default: "" },
|
|
37137
37137
|
hideArrow: { type: Boolean, default: !1 },
|
|
37138
|
+
hideTrigger: { type: Boolean, default: !1 },
|
|
37138
37139
|
buttonClass: { default: "" },
|
|
37139
37140
|
selectedClass: { default: "" }
|
|
37140
37141
|
},
|
|
@@ -37152,7 +37153,8 @@ const OS = {}, rS = /* @__PURE__ */ O({
|
|
|
37152
37153
|
return (h, s) => (k(), g("div", {
|
|
37153
37154
|
class: I(["space-y-1 cstu-select-none", l(d)])
|
|
37154
37155
|
}, [
|
|
37155
|
-
|
|
37156
|
+
t.hideTrigger ? L("", !0) : (k(), K(rS, {
|
|
37157
|
+
key: 0,
|
|
37156
37158
|
role: "button",
|
|
37157
37159
|
disabled: t.disabled,
|
|
37158
37160
|
class: I(["cstu-flex cstu-items-center cstu-justify-between", t.buttonClass].join(" ")),
|
|
@@ -37174,7 +37176,7 @@ const OS = {}, rS = /* @__PURE__ */ O({
|
|
|
37174
37176
|
}, sS, 2))
|
|
37175
37177
|
]),
|
|
37176
37178
|
_: 3
|
|
37177
|
-
}, 8, ["disabled", "class", "selected-class", "selected"]),
|
|
37179
|
+
}, 8, ["disabled", "class", "selected-class", "selected"])),
|
|
37178
37180
|
E(se, {
|
|
37179
37181
|
"enter-active-class": "cstu-transition cstu-duration-100 cstu-ease-out",
|
|
37180
37182
|
"enter-from-class": "cstu-transform cstu-scale-95 cstu-opacity-0",
|