veylan-component-library 1.4.2 → 1.4.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as _, createElementBlock as r, createCommentVNode as s, openBlock as a, withModifiers as
|
|
2
|
-
import { ChevronDown as Z, Share2 as
|
|
1
|
+
import { defineComponent as _, createElementBlock as r, createCommentVNode as s, openBlock as a, withModifiers as H, createElementVNode as e, renderSlot as N, toDisplayString as g, normalizeStyle as P, normalizeClass as C, createBlock as I, createTextVNode as x, Fragment as w, renderList as M, createVNode as B, createStaticVNode as y, ref as z, computed as R, withDirectives as U, vModelText as O, watch as G, nextTick as D, onMounted as W } from "vue";
|
|
2
|
+
import { ChevronDown as Z, Share2 as K, ArrowRight as $, ArrowLeft as Q, MoreHorizontal as Y, ToyBrick as J, MessageSquare as X, Home as ee, CircleArrowRight as te, Mic as le, Paperclip as se } from "lucide-vue-next";
|
|
3
3
|
const oe = /* @__PURE__ */ _({
|
|
4
4
|
__name: "BaseModal",
|
|
5
5
|
props: {
|
|
@@ -33,7 +33,7 @@ function ne(n, t, l, o, c, u) {
|
|
|
33
33
|
return l.isOpen ? (a(), r("div", {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",
|
|
36
|
-
onClick:
|
|
36
|
+
onClick: H(o.handleClose, ["self"])
|
|
37
37
|
}, [
|
|
38
38
|
e("div", ae, [
|
|
39
39
|
s(" Header "),
|
|
@@ -90,9 +90,9 @@ const Qt = /* @__PURE__ */ h(oe, [["render", ne], ["__file", "/root/app/code/src
|
|
|
90
90
|
}, get ArrowLeft() {
|
|
91
91
|
return Q;
|
|
92
92
|
}, get ArrowRight() {
|
|
93
|
-
return K;
|
|
94
|
-
}, get Share2() {
|
|
95
93
|
return $;
|
|
94
|
+
}, get Share2() {
|
|
95
|
+
return K;
|
|
96
96
|
}, get ChevronDown() {
|
|
97
97
|
return Z;
|
|
98
98
|
} };
|
|
@@ -459,7 +459,7 @@ const Jt = /* @__PURE__ */ h(ue, [["render", Me], ["__file", "/root/app/code/src
|
|
|
459
459
|
} };
|
|
460
460
|
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
461
461
|
}
|
|
462
|
-
}), qe = { class: "absolute inset-0" },
|
|
462
|
+
}), qe = { class: "absolute inset-0" }, Fe = ["src", "alt"], He = { class: "relative flex justify-between items-start w-full" }, Le = {
|
|
463
463
|
key: 0,
|
|
464
464
|
class: "flex items-center gap-2"
|
|
465
465
|
}, Ae = {
|
|
@@ -506,7 +506,7 @@ function Oe(n, t, l, o, c, u) {
|
|
|
506
506
|
return a(), r(
|
|
507
507
|
"div",
|
|
508
508
|
{
|
|
509
|
-
class: C(["flex flex-col bg-white rounded-2xl shadow-card w-full", l.cardClasses]),
|
|
509
|
+
class: C(["flex flex-col bg-white rounded-2xl shadow-card w-full", [l.cardClasses, { "min-h-[300px]": l.showImage && l.showFooter }]]),
|
|
510
510
|
style: { gap: "16px", padding: "16px 0 24px 0" }
|
|
511
511
|
},
|
|
512
512
|
[
|
|
@@ -525,10 +525,10 @@ function Oe(n, t, l, o, c, u) {
|
|
|
525
525
|
src: l.imageSrc,
|
|
526
526
|
alt: l.imageAlt,
|
|
527
527
|
class: "w-full h-full object-cover"
|
|
528
|
-
}, null, 8,
|
|
528
|
+
}, null, 8, Fe)
|
|
529
529
|
]),
|
|
530
530
|
s(" Card Header Overlay "),
|
|
531
|
-
e("div",
|
|
531
|
+
e("div", He, [
|
|
532
532
|
s(" Labels/Pills "),
|
|
533
533
|
l.showLabels ? (a(), r("div", Le, [
|
|
534
534
|
l.label1 ? (a(), r(
|
|
@@ -694,7 +694,7 @@ function Ze(n, t, l, o, c, u) {
|
|
|
694
694
|
t[5] || (t[5] = y('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Usage Examples</h3><div class="grid grid-cols-1 md:grid-cols-2 gap-6"><div class="bg-white border border-gray-200 rounded-lg p-6"><h4 class="text-sm font-semibold mb-3">Background Colors</h4><div class="space-y-2 text-sm"><code class="block bg-gray-100 px-3 py-2 rounded">className="bg-information"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="bg-success"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="bg-eletric-green"</code></div></div><div class="bg-white border border-gray-200 rounded-lg p-6"><h4 class="text-sm font-semibold mb-3">Text Colors</h4><div class="space-y-2 text-sm"><code class="block bg-gray-100 px-3 py-2 rounded">className="text-information"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="text-success"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="text-eletric-blue"</code></div></div><div class="bg-white border border-gray-200 rounded-lg p-6"><h4 class="text-sm font-semibold mb-3">Border Colors</h4><div class="space-y-2 text-sm"><code class="block bg-gray-100 px-3 py-2 rounded">className="border-gray-400"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="border-success"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="border-warning"</code></div></div><div class="bg-white border border-gray-200 rounded-lg p-6"><h4 class="text-sm font-semibold mb-3">Hover States</h4><div class="space-y-2 text-sm"><code class="block bg-gray-100 px-3 py-2 rounded">className="hover:bg-eletric-green"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="hover:text-error"</code><code class="block bg-gray-100 px-3 py-2 rounded">className="hover:border-information"</code></div></div></div></div>', 1))
|
|
695
695
|
]);
|
|
696
696
|
}
|
|
697
|
-
const el = /* @__PURE__ */ h(Ge, [["render", Ze], ["__file", "/root/app/code/src/components/ColorStyles.vue"]]),
|
|
697
|
+
const el = /* @__PURE__ */ h(Ge, [["render", Ze], ["__file", "/root/app/code/src/components/ColorStyles.vue"]]), Ke = /* @__PURE__ */ _({
|
|
698
698
|
__name: "InviteCollaboratorsModalV2",
|
|
699
699
|
props: {
|
|
700
700
|
isOpen: { type: Boolean, required: !1, default: !1 },
|
|
@@ -712,7 +712,7 @@ const el = /* @__PURE__ */ h(Ge, [["render", Ze], ["__file", "/root/app/code/src
|
|
|
712
712
|
})), q = (f) => p.value.some((m) => m.email === f.email), A = (f) => {
|
|
713
713
|
const m = p.value.findIndex((k) => k.email === f.email);
|
|
714
714
|
m > -1 ? p.value.splice(m, 1) : p.value.push(f), d.value = "";
|
|
715
|
-
},
|
|
715
|
+
}, F = (f) => {
|
|
716
716
|
const m = p.value.findIndex((k) => k.email === f.email);
|
|
717
717
|
m > -1 && p.value.splice(m, 1);
|
|
718
718
|
}, v = (f) => {
|
|
@@ -720,7 +720,7 @@ const el = /* @__PURE__ */ h(Ge, [["render", Ze], ["__file", "/root/app/code/src
|
|
|
720
720
|
m > -1 && b.value.splice(m, 1);
|
|
721
721
|
}, S = () => {
|
|
722
722
|
u.value?.focus();
|
|
723
|
-
}, j = { props: o, emit: c, hiddenInput: u, showDropdown: i, searchQuery: d, selectedUsers: p, collaborators: b, availableUsers: L, isUserSelected: q, toggleUser: A, removeUser:
|
|
723
|
+
}, j = { props: o, emit: c, hiddenInput: u, showDropdown: i, searchQuery: d, selectedUsers: p, collaborators: b, availableUsers: L, isUserSelected: q, toggleUser: A, removeUser: F, removeCollaborator: v, focusInput: S, toggleDropdown: () => {
|
|
724
724
|
i.value = !i.value, i.value && S();
|
|
725
725
|
}, handleBlur: () => {
|
|
726
726
|
setTimeout(() => {
|
|
@@ -735,7 +735,7 @@ const el = /* @__PURE__ */ h(Ge, [["render", Ze], ["__file", "/root/app/code/src
|
|
|
735
735
|
} };
|
|
736
736
|
return Object.defineProperty(j, "__isScriptSetup", { enumerable: !1, value: !0 }), j;
|
|
737
737
|
}
|
|
738
|
-
}),
|
|
738
|
+
}), $e = { class: "bg-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, Qe = { class: "relative mb-6" }, Ye = { class: "flex flex-wrap gap-2 flex-1" }, Je = ["onClick"], Xe = {
|
|
739
739
|
key: 0,
|
|
740
740
|
class: "absolute top-full left-0 right-0 mt-2 bg-white border border-gray-100 rounded-xl shadow-lg max-h-64 overflow-y-auto z-10"
|
|
741
741
|
}, et = ["onMousedown"], tt = { class: "flex-1" }, lt = { class: "text-sm font-semibold text-black" }, st = { class: "text-sm text-gray-600" }, ot = {
|
|
@@ -752,9 +752,9 @@ function dt(n, t, l, o, c, u) {
|
|
|
752
752
|
return l.isOpen ? (a(), r("div", {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",
|
|
755
|
-
onClick:
|
|
755
|
+
onClick: H(o.closeModal, ["self"])
|
|
756
756
|
}, [
|
|
757
|
-
e("div",
|
|
757
|
+
e("div", $e, [
|
|
758
758
|
s(" Header "),
|
|
759
759
|
t[3] || (t[3] = e(
|
|
760
760
|
"h2",
|
|
@@ -801,7 +801,7 @@ function dt(n, t, l, o, c, u) {
|
|
|
801
801
|
/* TEXT */
|
|
802
802
|
),
|
|
803
803
|
e("button", {
|
|
804
|
-
onClick:
|
|
804
|
+
onClick: H((d) => o.removeUser(i), ["stop"]),
|
|
805
805
|
class: "text-gray-300 hover:text-black transition-colors"
|
|
806
806
|
}, " × ", 8, Je)
|
|
807
807
|
]))),
|
|
@@ -837,7 +837,7 @@ function dt(n, t, l, o, c, u) {
|
|
|
837
837
|
key: i.email,
|
|
838
838
|
type: "button",
|
|
839
839
|
class: "w-full px-4 py-3 text-left hover:bg-gray-50 transition-colors flex items-center justify-between group",
|
|
840
|
-
onMousedown:
|
|
840
|
+
onMousedown: H((d) => o.toggleUser(i), ["prevent"])
|
|
841
841
|
}, [
|
|
842
842
|
e("div", tt, [
|
|
843
843
|
e(
|
|
@@ -936,7 +936,7 @@ function dt(n, t, l, o, c, u) {
|
|
|
936
936
|
])
|
|
937
937
|
])) : s("v-if", !0);
|
|
938
938
|
}
|
|
939
|
-
const tl = /* @__PURE__ */ h(
|
|
939
|
+
const tl = /* @__PURE__ */ h(Ke, [["render", dt], ["__scopeId", "data-v-f6014a35"], ["__file", "/root/app/code/src/components/InviteCollaboratorsModalV2.vue"]]), ct = /* @__PURE__ */ _({
|
|
940
940
|
__name: "NavigationSidebar",
|
|
941
941
|
props: {
|
|
942
942
|
items: { type: Array, required: !1, default: () => [
|
|
@@ -1103,14 +1103,14 @@ const ll = /* @__PURE__ */ h(ct, [["render", yt], ["__scopeId", "data-v-4c3eb68c
|
|
|
1103
1103
|
d();
|
|
1104
1104
|
});
|
|
1105
1105
|
});
|
|
1106
|
-
const
|
|
1106
|
+
const F = { props: o, emit: c, inputValue: u, textareaRef: i, autoResize: d, handleInput: p, handleAttach: b, handleVoice: L, handleSubmit: q, handleKeydown: A, get Paperclip() {
|
|
1107
1107
|
return se;
|
|
1108
1108
|
}, get Mic() {
|
|
1109
1109
|
return le;
|
|
1110
1110
|
}, get CircleArrowRight() {
|
|
1111
1111
|
return te;
|
|
1112
1112
|
} };
|
|
1113
|
-
return Object.defineProperty(
|
|
1113
|
+
return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
|
|
1114
1114
|
}
|
|
1115
1115
|
}), _t = { class: "prompt-input-container" }, kt = { class: "prompt-input-wrapper" }, Ct = ["value", "placeholder"], zt = { class: "right-icons" }, St = ["disabled"];
|
|
1116
1116
|
function It(n, t, l, o, c, u) {
|
|
@@ -1383,14 +1383,14 @@ function qt(n, t, l, o, c, u) {
|
|
|
1383
1383
|
))
|
|
1384
1384
|
]);
|
|
1385
1385
|
}
|
|
1386
|
-
const ol = /* @__PURE__ */ h(Mt, [["render", qt], ["__file", "/root/app/code/src/components/TextStyles.vue"]]),
|
|
1386
|
+
const ol = /* @__PURE__ */ h(Mt, [["render", qt], ["__file", "/root/app/code/src/components/TextStyles.vue"]]), Ft = {}, Ht = {
|
|
1387
1387
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1388
1388
|
width: "20",
|
|
1389
1389
|
height: "20",
|
|
1390
1390
|
fill: "currentColor"
|
|
1391
1391
|
};
|
|
1392
1392
|
function Lt(n, t) {
|
|
1393
|
-
return a(), r("svg",
|
|
1393
|
+
return a(), r("svg", Ht, t[0] || (t[0] = [
|
|
1394
1394
|
e(
|
|
1395
1395
|
"path",
|
|
1396
1396
|
{ d: "M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z" },
|
|
@@ -1400,7 +1400,7 @@ function Lt(n, t) {
|
|
|
1400
1400
|
)
|
|
1401
1401
|
]));
|
|
1402
1402
|
}
|
|
1403
|
-
const al = /* @__PURE__ */ h(
|
|
1403
|
+
const al = /* @__PURE__ */ h(Ft, [["render", Lt], ["__file", "/root/app/code/src/components/icons/IconCommunity.vue"]]), At = {}, Dt = {
|
|
1404
1404
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1405
1405
|
width: "20",
|
|
1406
1406
|
height: "17",
|