veylan-component-library 1.2.0 → 1.2.1
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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, createElementBlock as n, createCommentVNode as s, openBlock as
|
|
1
|
+
import { defineComponent as w, createElementBlock as n, createCommentVNode as s, openBlock as o, withModifiers as M, createElementVNode as e, renderSlot as A, toDisplayString as g, normalizeStyle as N, normalizeClass as z, createBlock as k, createTextVNode as c, Fragment as m, renderList as C, createVNode as B, createStaticVNode as b, ref as S, computed as V, withDirectives as P, vModelText as E } from "vue";
|
|
2
2
|
import { ChevronDown as U, Share2 as G, ArrowRight as O, ArrowLeft as W, MoreHorizontal as R, ToyBrick as Z, MessageSquare as $, Home as Q } from "lucide-vue-next";
|
|
3
3
|
const K = /* @__PURE__ */ w({
|
|
4
4
|
__name: "BaseModal",
|
|
@@ -11,7 +11,7 @@ const K = /* @__PURE__ */ w({
|
|
|
11
11
|
emits: ["close", "primary", "secondary"],
|
|
12
12
|
setup(i, { expose: t, emit: l }) {
|
|
13
13
|
t();
|
|
14
|
-
const
|
|
14
|
+
const a = i, x = l, u = { props: a, emit: x, handleClose: () => {
|
|
15
15
|
x("close");
|
|
16
16
|
}, handlePrimary: () => {
|
|
17
17
|
x("primary");
|
|
@@ -22,18 +22,18 @@ const K = /* @__PURE__ */ w({
|
|
|
22
22
|
}
|
|
23
23
|
}), y = (i, t) => {
|
|
24
24
|
const l = i.__vccOpts || i;
|
|
25
|
-
for (const [
|
|
26
|
-
l[
|
|
25
|
+
for (const [a, x] of t)
|
|
26
|
+
l[a] = x;
|
|
27
27
|
return l;
|
|
28
|
-
}, Y = { class: "bg-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, J = {
|
|
29
|
-
class: "text-2xl font-bold text-black mb-8",
|
|
28
|
+
}, Y = { class: "bg-veylan-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, J = {
|
|
29
|
+
class: "text-2xl font-bold text-veylan-black mb-8",
|
|
30
30
|
style: { "letter-spacing": "0" }
|
|
31
31
|
}, X = { class: "flex gap-4 pt-6" };
|
|
32
|
-
function ee(i, t, l,
|
|
33
|
-
return l.isOpen ? (
|
|
32
|
+
function ee(i, t, l, a, x, v) {
|
|
33
|
+
return l.isOpen ? (o(), n("div", {
|
|
34
34
|
key: 0,
|
|
35
|
-
class: "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",
|
|
36
|
-
onClick: M(
|
|
35
|
+
class: "fixed inset-0 bg-veylan-black/50 flex items-center justify-center z-50 p-4",
|
|
36
|
+
onClick: M(a.handleClose, ["self"])
|
|
37
37
|
}, [
|
|
38
38
|
e("div", Y, [
|
|
39
39
|
s(" Header "),
|
|
@@ -51,8 +51,8 @@ function ee(i, t, l, o, x, p) {
|
|
|
51
51
|
e(
|
|
52
52
|
"button",
|
|
53
53
|
{
|
|
54
|
-
onClick:
|
|
55
|
-
class: "flex-1 h-8 flex items-center justify-center px-4 text-gray-800 rounded-xl hover:bg-gray-
|
|
54
|
+
onClick: a.handleSecondary,
|
|
55
|
+
class: "flex-1 h-8 flex items-center justify-center px-4 text-veylan-gray-800 rounded-xl hover:bg-veylan-gray-300 transition-colors font-medium",
|
|
56
56
|
style: { "font-size": "12px" }
|
|
57
57
|
},
|
|
58
58
|
g(l.secondaryButtonText),
|
|
@@ -62,8 +62,8 @@ function ee(i, t, l, o, x, p) {
|
|
|
62
62
|
e(
|
|
63
63
|
"button",
|
|
64
64
|
{
|
|
65
|
-
onClick:
|
|
66
|
-
class: "flex-1 h-8 px-4 bg-black text-white rounded-xl hover:bg-gray-
|
|
65
|
+
onClick: a.handlePrimary,
|
|
66
|
+
class: "flex-1 h-8 px-4 bg-veylan-black text-veylan-white rounded-xl hover:bg-veylan-gray-900 transition-colors font-medium",
|
|
67
67
|
style: { "font-size": "12px" }
|
|
68
68
|
},
|
|
69
69
|
g(l.primaryButtonText),
|
|
@@ -85,8 +85,8 @@ const Nt = /* @__PURE__ */ y(K, [["render", ee], ["__file", "/root/app/code/src/
|
|
|
85
85
|
emits: ["click"],
|
|
86
86
|
setup(i, { expose: t, emit: l }) {
|
|
87
87
|
t();
|
|
88
|
-
const
|
|
89
|
-
|
|
88
|
+
const a = l, v = { emit: a, handleClick: () => {
|
|
89
|
+
a("click");
|
|
90
90
|
}, get ArrowLeft() {
|
|
91
91
|
return W;
|
|
92
92
|
}, get ArrowRight() {
|
|
@@ -96,35 +96,35 @@ const Nt = /* @__PURE__ */ y(K, [["render", ee], ["__file", "/root/app/code/src/
|
|
|
96
96
|
}, get ChevronDown() {
|
|
97
97
|
return U;
|
|
98
98
|
} };
|
|
99
|
-
return Object.defineProperty(
|
|
99
|
+
return Object.defineProperty(v, "__isScriptSetup", { enumerable: !1, value: !0 }), v;
|
|
100
100
|
}
|
|
101
101
|
}), le = ["disabled"];
|
|
102
|
-
function se(i, t, l,
|
|
103
|
-
return
|
|
104
|
-
onClick:
|
|
102
|
+
function se(i, t, l, a, x, v) {
|
|
103
|
+
return o(), n("button", {
|
|
104
|
+
onClick: a.handleClick,
|
|
105
105
|
disabled: l.disabled || l.variant === "disabled",
|
|
106
106
|
class: z([
|
|
107
107
|
"flex items-center justify-center gap-3 h-8 rounded-lg font-medium text-sm transition-all duration-200",
|
|
108
108
|
{
|
|
109
|
-
"bg-black text-white hover:bg-gray-
|
|
110
|
-
"bg-white text-black hover:bg-gray-
|
|
111
|
-
"bg-transparent text-black": l.variant === "text" && !l.disabled,
|
|
109
|
+
"bg-veylan-black text-veylan-white hover:bg-veylan-gray-900": l.variant === "primary" && !l.disabled,
|
|
110
|
+
"bg-veylan-white text-veylan-black hover:bg-veylan-gray-300": l.variant === "outlined" && !l.disabled,
|
|
111
|
+
"bg-transparent text-veylan-black": l.variant === "text" && !l.disabled,
|
|
112
112
|
"cursor-not-allowed": l.variant === "disabled" || l.disabled
|
|
113
113
|
}
|
|
114
114
|
]),
|
|
115
115
|
style: N({
|
|
116
116
|
paddingLeft: l.rightIcon === "dropdown" ? "16px" : "24px",
|
|
117
117
|
paddingRight: l.rightIcon === "dropdown" ? "8px" : "24px",
|
|
118
|
-
...l.variant === "outlined" && !l.disabled && l.rightIcon === "dropdown" ? { borderWidth: "1px", borderColor: "#
|
|
119
|
-
...l.variant === "disabled" || l.disabled ? { backgroundColor: "#
|
|
118
|
+
...l.variant === "outlined" && !l.disabled && l.rightIcon === "dropdown" ? { borderWidth: "1px", borderColor: "#BDBDBD" } : l.variant === "outlined" && !l.disabled ? { borderWidth: "1px", borderColor: "#000000" } : {},
|
|
119
|
+
...l.variant === "disabled" || l.disabled ? { backgroundColor: "#DDDDDD", color: "#7D7D7D" } : {}
|
|
120
120
|
})
|
|
121
121
|
}, [
|
|
122
122
|
s(" Left Icon "),
|
|
123
|
-
l.leftIcon === "arrow" ? (
|
|
123
|
+
l.leftIcon === "arrow" ? (o(), k(a.ArrowLeft, {
|
|
124
124
|
key: 0,
|
|
125
125
|
size: 20,
|
|
126
126
|
"stroke-width": 1.5
|
|
127
|
-
})) : l.leftIcon === "share" ? (
|
|
127
|
+
})) : l.leftIcon === "share" ? (o(), k(a.Share2, {
|
|
128
128
|
key: 1,
|
|
129
129
|
size: 20,
|
|
130
130
|
"stroke-width": 1.5
|
|
@@ -138,22 +138,22 @@ function se(i, t, l, o, x, p) {
|
|
|
138
138
|
))
|
|
139
139
|
]),
|
|
140
140
|
s(" Right Icon "),
|
|
141
|
-
l.rightIcon === "arrow" ? (
|
|
141
|
+
l.rightIcon === "arrow" ? (o(), k(a.ArrowRight, {
|
|
142
142
|
key: 2,
|
|
143
143
|
size: 20,
|
|
144
144
|
"stroke-width": 1.5
|
|
145
|
-
})) : l.rightIcon === "share" ? (
|
|
145
|
+
})) : l.rightIcon === "share" ? (o(), k(a.Share2, {
|
|
146
146
|
key: 3,
|
|
147
147
|
size: 20,
|
|
148
148
|
"stroke-width": 1.5
|
|
149
|
-
})) : l.rightIcon === "dropdown" ? (
|
|
149
|
+
})) : l.rightIcon === "dropdown" ? (o(), k(a.ChevronDown, {
|
|
150
150
|
key: 4,
|
|
151
151
|
size: 20,
|
|
152
152
|
"stroke-width": 1.5
|
|
153
153
|
})) : s("v-if", !0)
|
|
154
154
|
], 14, le);
|
|
155
155
|
}
|
|
156
|
-
const Vt = /* @__PURE__ */ y(te, [["render", se], ["__file", "/root/app/code/src/components/ButtonComponent.vue"]]),
|
|
156
|
+
const Vt = /* @__PURE__ */ y(te, [["render", se], ["__file", "/root/app/code/src/components/ButtonComponent.vue"]]), ae = /* @__PURE__ */ w({
|
|
157
157
|
__name: "CampaignCard",
|
|
158
158
|
props: {
|
|
159
159
|
showImage: { type: Boolean, required: !1, default: !0 },
|
|
@@ -176,19 +176,19 @@ const Vt = /* @__PURE__ */ y(te, [["render", se], ["__file", "/root/app/code/src
|
|
|
176
176
|
emits: ["menu-click", "add-click"],
|
|
177
177
|
setup(i, { expose: t }) {
|
|
178
178
|
t();
|
|
179
|
-
const
|
|
180
|
-
return Object.defineProperty(
|
|
179
|
+
const a = { props: i };
|
|
180
|
+
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
181
181
|
}
|
|
182
|
-
}),
|
|
182
|
+
}), oe = { class: "absolute inset-0" }, ne = ["src", "alt"], re = { class: "relative flex justify-between items-start w-full" }, ie = {
|
|
183
183
|
key: 0,
|
|
184
184
|
class: "flex items-center gap-2"
|
|
185
185
|
}, de = {
|
|
186
186
|
key: 0,
|
|
187
|
-
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-white text-black font-medium",
|
|
187
|
+
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-veylan-white text-veylan-black font-medium",
|
|
188
188
|
style: { gap: "10px", "line-height": "24px", "font-size": "10px" }
|
|
189
189
|
}, ce = {
|
|
190
190
|
key: 1,
|
|
191
|
-
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-black text-white font-medium",
|
|
191
|
+
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-veylan-black text-veylan-white font-medium",
|
|
192
192
|
style: { gap: "10px", "line-height": "24px", "font-size": "10px" }
|
|
193
193
|
}, xe = {
|
|
194
194
|
style: { width: "18px", height: "18px" },
|
|
@@ -201,17 +201,17 @@ const Vt = /* @__PURE__ */ y(te, [["render", se], ["__file", "/root/app/code/src
|
|
|
201
201
|
style: { padding: "0 16px", gap: "8px", margin: "0" }
|
|
202
202
|
}, ue = {
|
|
203
203
|
key: 0,
|
|
204
|
-
class: "text-black",
|
|
204
|
+
class: "text-veylan-black",
|
|
205
205
|
style: { "font-size": "16px", "font-weight": "600", "line-height": "20px" }
|
|
206
|
-
},
|
|
206
|
+
}, ve = {
|
|
207
207
|
key: 1,
|
|
208
|
-
class: "text-black",
|
|
208
|
+
class: "text-veylan-black",
|
|
209
209
|
style: { "font-size": "12px", "font-weight": "400", "line-height": "18px" }
|
|
210
|
-
},
|
|
210
|
+
}, pe = {
|
|
211
211
|
key: 2,
|
|
212
212
|
class: "flex items-end",
|
|
213
213
|
style: { padding: "0 16px", gap: "4px" }
|
|
214
|
-
},
|
|
214
|
+
}, fe = {
|
|
215
215
|
class: "flex justify-between items-end flex-1",
|
|
216
216
|
style: { height: "24px" }
|
|
217
217
|
}, ye = {
|
|
@@ -227,16 +227,16 @@ const Vt = /* @__PURE__ */ y(te, [["render", se], ["__file", "/root/app/code/src
|
|
|
227
227
|
fill: "none",
|
|
228
228
|
xmlns: "http://www.w3.org/2000/svg"
|
|
229
229
|
};
|
|
230
|
-
function be(i, t, l,
|
|
231
|
-
return
|
|
230
|
+
function be(i, t, l, a, x, v) {
|
|
231
|
+
return o(), n(
|
|
232
232
|
"div",
|
|
233
233
|
{
|
|
234
|
-
class: z(["flex flex-col bg-white rounded-2xl shadow-card w-full", l.cardClasses]),
|
|
234
|
+
class: z(["flex flex-col bg-veylan-white rounded-2xl shadow-card w-full", l.cardClasses]),
|
|
235
235
|
style: { gap: "16px", padding: "16px 0 24px 0" }
|
|
236
236
|
},
|
|
237
237
|
[
|
|
238
238
|
s(" Card Image Section "),
|
|
239
|
-
l.showImage ? (
|
|
239
|
+
l.showImage ? (o(), n(
|
|
240
240
|
"div",
|
|
241
241
|
{
|
|
242
242
|
key: 0,
|
|
@@ -245,7 +245,7 @@ function be(i, t, l, o, x, p) {
|
|
|
245
245
|
},
|
|
246
246
|
[
|
|
247
247
|
s(" Background Image "),
|
|
248
|
-
e("div",
|
|
248
|
+
e("div", oe, [
|
|
249
249
|
e("img", {
|
|
250
250
|
src: l.imageSrc,
|
|
251
251
|
alt: l.imageAlt,
|
|
@@ -255,15 +255,15 @@ function be(i, t, l, o, x, p) {
|
|
|
255
255
|
s(" Card Header Overlay "),
|
|
256
256
|
e("div", re, [
|
|
257
257
|
s(" Labels/Pills "),
|
|
258
|
-
l.showLabels ? (
|
|
259
|
-
l.label1 ? (
|
|
258
|
+
l.showLabels ? (o(), n("div", ie, [
|
|
259
|
+
l.label1 ? (o(), n(
|
|
260
260
|
"div",
|
|
261
261
|
de,
|
|
262
262
|
g(l.label1),
|
|
263
263
|
1
|
|
264
264
|
/* TEXT */
|
|
265
265
|
)) : s("v-if", !0),
|
|
266
|
-
l.label2 ? (
|
|
266
|
+
l.label2 ? (o(), n(
|
|
267
267
|
"div",
|
|
268
268
|
ce,
|
|
269
269
|
g(l.label2),
|
|
@@ -272,13 +272,13 @@ function be(i, t, l, o, x, p) {
|
|
|
272
272
|
)) : s("v-if", !0)
|
|
273
273
|
])) : s("v-if", !0),
|
|
274
274
|
s(" Menu Button "),
|
|
275
|
-
l.showMenu ? (
|
|
275
|
+
l.showMenu ? (o(), n("button", {
|
|
276
276
|
key: 1,
|
|
277
277
|
onClick: t[0] || (t[0] = (r) => i.$emit("menu-click")),
|
|
278
|
-
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-white hover:bg-gray-
|
|
278
|
+
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-veylan-white hover:bg-veylan-gray-300 transition-colors",
|
|
279
279
|
style: { width: "32px", height: "32px" }
|
|
280
280
|
}, [
|
|
281
|
-
(
|
|
281
|
+
(o(), n("svg", xe, t[2] || (t[2] = [
|
|
282
282
|
e(
|
|
283
283
|
"path",
|
|
284
284
|
{
|
|
@@ -326,31 +326,31 @@ function be(i, t, l, o, x, p) {
|
|
|
326
326
|
/* CLASS */
|
|
327
327
|
)) : s("v-if", !0),
|
|
328
328
|
s(" Content Section "),
|
|
329
|
-
l.showContent ? (
|
|
330
|
-
l.title ? (
|
|
329
|
+
l.showContent ? (o(), n("div", ge, [
|
|
330
|
+
l.title ? (o(), n(
|
|
331
331
|
"h3",
|
|
332
332
|
ue,
|
|
333
333
|
g(l.title),
|
|
334
334
|
1
|
|
335
335
|
/* TEXT */
|
|
336
336
|
)) : s("v-if", !0),
|
|
337
|
-
l.description ? (
|
|
337
|
+
l.description ? (o(), n(
|
|
338
338
|
"p",
|
|
339
|
-
|
|
339
|
+
ve,
|
|
340
340
|
g(l.description),
|
|
341
341
|
1
|
|
342
342
|
/* TEXT */
|
|
343
343
|
)) : s("v-if", !0)
|
|
344
344
|
])) : s("v-if", !0),
|
|
345
345
|
s(" Footer Section "),
|
|
346
|
-
l.showFooter ? (
|
|
347
|
-
e("div",
|
|
346
|
+
l.showFooter ? (o(), n("div", pe, [
|
|
347
|
+
e("div", fe, [
|
|
348
348
|
s(" Member Avatars "),
|
|
349
|
-
l.showMembers ? (
|
|
350
|
-
(
|
|
349
|
+
l.showMembers ? (o(), n("div", ye, [
|
|
350
|
+
(o(!0), n(
|
|
351
351
|
m,
|
|
352
352
|
null,
|
|
353
|
-
C(l.members, (r, d) => (
|
|
353
|
+
C(l.members, (r, d) => (o(), n("div", {
|
|
354
354
|
key: d,
|
|
355
355
|
class: "relative",
|
|
356
356
|
style: { width: "24px", height: "24px" }
|
|
@@ -389,13 +389,13 @@ function be(i, t, l, o, x, p) {
|
|
|
389
389
|
))
|
|
390
390
|
])) : s("v-if", !0),
|
|
391
391
|
s(" Add Button "),
|
|
392
|
-
l.showAddButton ? (
|
|
392
|
+
l.showAddButton ? (o(), n("button", {
|
|
393
393
|
key: 1,
|
|
394
394
|
onClick: t[1] || (t[1] = (r) => i.$emit("add-click")),
|
|
395
|
-
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-black hover:bg-gray-
|
|
395
|
+
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-veylan-black hover:bg-veylan-gray-900 transition-colors",
|
|
396
396
|
style: { width: "32px", height: "32px" }
|
|
397
397
|
}, [
|
|
398
|
-
(
|
|
398
|
+
(o(), n("svg", he, t[4] || (t[4] = [
|
|
399
399
|
e(
|
|
400
400
|
"path",
|
|
401
401
|
{
|
|
@@ -431,7 +431,7 @@ function be(i, t, l, o, x, p) {
|
|
|
431
431
|
/* CLASS */
|
|
432
432
|
);
|
|
433
433
|
}
|
|
434
|
-
const Pt = /* @__PURE__ */ y(
|
|
434
|
+
const Pt = /* @__PURE__ */ y(ae, [["render", be], ["__file", "/root/app/code/src/components/CampaignCard.vue"]]), we = /* @__PURE__ */ w({
|
|
435
435
|
__name: "CardComponents",
|
|
436
436
|
props: {
|
|
437
437
|
showImage: { type: Boolean, required: !1, default: !0 },
|
|
@@ -454,42 +454,42 @@ const Pt = /* @__PURE__ */ y(oe, [["render", be], ["__file", "/root/app/code/src
|
|
|
454
454
|
emits: ["menu-click", "add-click"],
|
|
455
455
|
setup(i, { expose: t }) {
|
|
456
456
|
t();
|
|
457
|
-
const
|
|
457
|
+
const a = { props: i, get MoreHorizontal() {
|
|
458
458
|
return R;
|
|
459
459
|
} };
|
|
460
|
-
return Object.defineProperty(
|
|
460
|
+
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
461
461
|
}
|
|
462
462
|
}), _e = { class: "absolute inset-0" }, ke = ["src", "alt"], Ce = { class: "relative flex justify-between items-start w-full" }, ze = {
|
|
463
463
|
key: 0,
|
|
464
464
|
class: "flex items-center gap-2"
|
|
465
465
|
}, Se = {
|
|
466
466
|
key: 0,
|
|
467
|
-
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-white text-black font-medium",
|
|
467
|
+
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-veylan-white text-veylan-black font-medium",
|
|
468
468
|
style: { gap: "10px", "line-height": "24px", "font-size": "10px" }
|
|
469
469
|
}, Me = {
|
|
470
470
|
key: 1,
|
|
471
|
-
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-black text-white font-medium",
|
|
471
|
+
class: "flex h-6 px-2.5 justify-center items-center rounded-lg bg-veylan-black text-veylan-white font-medium",
|
|
472
472
|
style: { gap: "10px", "line-height": "24px", "font-size": "10px" }
|
|
473
|
-
},
|
|
473
|
+
}, Be = {
|
|
474
474
|
key: 1,
|
|
475
475
|
class: "flex flex-col",
|
|
476
476
|
style: { padding: "0 16px", gap: "8px", margin: "0" }
|
|
477
|
-
},
|
|
477
|
+
}, Ie = {
|
|
478
478
|
key: 0,
|
|
479
|
-
class: "text-black",
|
|
479
|
+
class: "text-veylan-black",
|
|
480
480
|
style: { "font-size": "16px", "font-weight": "600", "line-height": "20px" }
|
|
481
|
-
},
|
|
481
|
+
}, De = {
|
|
482
482
|
key: 1,
|
|
483
|
-
class: "text-black",
|
|
483
|
+
class: "text-veylan-black",
|
|
484
484
|
style: { "font-size": "12px", "font-weight": "400", "line-height": "18px" }
|
|
485
485
|
}, Ae = {
|
|
486
486
|
key: 2,
|
|
487
487
|
class: "flex items-end mt-auto",
|
|
488
488
|
style: { padding: "0 16px", gap: "4px" }
|
|
489
|
-
},
|
|
489
|
+
}, qe = {
|
|
490
490
|
class: "flex justify-between items-end flex-1",
|
|
491
491
|
style: { height: "24px" }
|
|
492
|
-
},
|
|
492
|
+
}, Le = {
|
|
493
493
|
key: 0,
|
|
494
494
|
class: "flex items-center",
|
|
495
495
|
style: { gap: "4px" }
|
|
@@ -502,16 +502,16 @@ const Pt = /* @__PURE__ */ y(oe, [["render", be], ["__file", "/root/app/code/src
|
|
|
502
502
|
fill: "none",
|
|
503
503
|
xmlns: "http://www.w3.org/2000/svg"
|
|
504
504
|
};
|
|
505
|
-
function Te(i, t, l,
|
|
506
|
-
return
|
|
505
|
+
function Te(i, t, l, a, x, v) {
|
|
506
|
+
return o(), n(
|
|
507
507
|
"div",
|
|
508
508
|
{
|
|
509
|
-
class: z(["flex flex-col bg-white rounded-2xl shadow-card w-full", l.cardClasses]),
|
|
509
|
+
class: z(["flex flex-col bg-veylan-white rounded-2xl shadow-card w-full", l.cardClasses]),
|
|
510
510
|
style: { gap: "16px", padding: "16px 0 24px 0" }
|
|
511
511
|
},
|
|
512
512
|
[
|
|
513
513
|
s(" Card Image Section "),
|
|
514
|
-
l.showImage ? (
|
|
514
|
+
l.showImage ? (o(), n(
|
|
515
515
|
"div",
|
|
516
516
|
{
|
|
517
517
|
key: 0,
|
|
@@ -530,15 +530,15 @@ function Te(i, t, l, o, x, p) {
|
|
|
530
530
|
s(" Card Header Overlay "),
|
|
531
531
|
e("div", Ce, [
|
|
532
532
|
s(" Labels/Pills "),
|
|
533
|
-
l.showLabels ? (
|
|
534
|
-
l.label1 ? (
|
|
533
|
+
l.showLabels ? (o(), n("div", ze, [
|
|
534
|
+
l.label1 ? (o(), n(
|
|
535
535
|
"div",
|
|
536
536
|
Se,
|
|
537
537
|
g(l.label1),
|
|
538
538
|
1
|
|
539
539
|
/* TEXT */
|
|
540
540
|
)) : s("v-if", !0),
|
|
541
|
-
l.label2 ? (
|
|
541
|
+
l.label2 ? (o(), n(
|
|
542
542
|
"div",
|
|
543
543
|
Me,
|
|
544
544
|
g(l.label2),
|
|
@@ -547,15 +547,15 @@ function Te(i, t, l, o, x, p) {
|
|
|
547
547
|
)) : s("v-if", !0)
|
|
548
548
|
])) : s("v-if", !0),
|
|
549
549
|
s(" Menu Button "),
|
|
550
|
-
l.showMenu ? (
|
|
550
|
+
l.showMenu ? (o(), n("button", {
|
|
551
551
|
key: 1,
|
|
552
552
|
onClick: t[0] || (t[0] = (r) => i.$emit("menu-click")),
|
|
553
|
-
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-white hover:bg-gray-
|
|
553
|
+
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-veylan-white hover:bg-veylan-gray-300 transition-colors",
|
|
554
554
|
style: { width: "24px", height: "24px" }
|
|
555
555
|
}, [
|
|
556
|
-
|
|
556
|
+
B(a.MoreHorizontal, {
|
|
557
557
|
size: 16,
|
|
558
|
-
color: "
|
|
558
|
+
color: "#000000",
|
|
559
559
|
"stroke-width": 2
|
|
560
560
|
})
|
|
561
561
|
])) : s("v-if", !0)
|
|
@@ -565,31 +565,31 @@ function Te(i, t, l, o, x, p) {
|
|
|
565
565
|
/* CLASS */
|
|
566
566
|
)) : s("v-if", !0),
|
|
567
567
|
s(" Content Section "),
|
|
568
|
-
l.showContent ? (
|
|
569
|
-
l.title ? (
|
|
568
|
+
l.showContent ? (o(), n("div", Be, [
|
|
569
|
+
l.title ? (o(), n(
|
|
570
570
|
"h3",
|
|
571
|
-
|
|
571
|
+
Ie,
|
|
572
572
|
g(l.title),
|
|
573
573
|
1
|
|
574
574
|
/* TEXT */
|
|
575
575
|
)) : s("v-if", !0),
|
|
576
|
-
l.description ? (
|
|
576
|
+
l.description ? (o(), n(
|
|
577
577
|
"p",
|
|
578
|
-
|
|
578
|
+
De,
|
|
579
579
|
g(l.description),
|
|
580
580
|
1
|
|
581
581
|
/* TEXT */
|
|
582
582
|
)) : s("v-if", !0)
|
|
583
583
|
])) : s("v-if", !0),
|
|
584
584
|
s(" Footer Section "),
|
|
585
|
-
l.showFooter ? (
|
|
586
|
-
e("div",
|
|
585
|
+
l.showFooter ? (o(), n("div", Ae, [
|
|
586
|
+
e("div", qe, [
|
|
587
587
|
s(" Member Avatars "),
|
|
588
|
-
l.showMembers ? (
|
|
589
|
-
(
|
|
588
|
+
l.showMembers ? (o(), n("div", Le, [
|
|
589
|
+
(o(!0), n(
|
|
590
590
|
m,
|
|
591
591
|
null,
|
|
592
|
-
C(l.members, (r, d) => (
|
|
592
|
+
C(l.members, (r, d) => (o(), n("div", {
|
|
593
593
|
key: d,
|
|
594
594
|
class: "relative",
|
|
595
595
|
style: { width: "24px", height: "24px" }
|
|
@@ -628,13 +628,13 @@ function Te(i, t, l, o, x, p) {
|
|
|
628
628
|
))
|
|
629
629
|
])) : s("v-if", !0),
|
|
630
630
|
s(" Add Button "),
|
|
631
|
-
l.showAddButton ? (
|
|
631
|
+
l.showAddButton ? (o(), n("button", {
|
|
632
632
|
key: 1,
|
|
633
633
|
onClick: t[1] || (t[1] = (r) => i.$emit("add-click")),
|
|
634
|
-
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-black hover:bg-gray-
|
|
634
|
+
class: "flex justify-center items-center flex-shrink-0 rounded-full bg-veylan-black hover:bg-veylan-gray-900 transition-colors",
|
|
635
635
|
style: { width: "24px", height: "24px" }
|
|
636
636
|
}, [
|
|
637
|
-
(
|
|
637
|
+
(o(), n("svg", Fe, t[3] || (t[3] = [
|
|
638
638
|
e(
|
|
639
639
|
"path",
|
|
640
640
|
{
|
|
@@ -678,8 +678,8 @@ const Et = /* @__PURE__ */ y(we, [["render", Te], ["__file", "/root/app/code/src
|
|
|
678
678
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
679
679
|
}
|
|
680
680
|
}), Ne = { class: "flex flex-col gap-12 w-full" };
|
|
681
|
-
function Ve(i, t, l,
|
|
682
|
-
return
|
|
681
|
+
function Ve(i, t, l, a, x, v) {
|
|
682
|
+
return o(), n("div", Ne, [
|
|
683
683
|
s(" Neutrals "),
|
|
684
684
|
t[0] || (t[0] = b('<div class="flex flex-col gap-4"><h3 class="text-lg font-semibold text-gray-900">Neutrals</h3><div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-black border border-gray-200"></div><p class="text-xs font-medium">Black</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-black</code><code class="text-xs text-gray-600">#000000</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-white border border-gray-200"></div><p class="text-xs font-medium">White</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-white</code><code class="text-xs text-gray-600">#FFFFFF</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-900"></div><p class="text-xs font-medium">Gray 900</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-900</code><code class="text-xs text-gray-600">#2D2D2D</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-800"></div><p class="text-xs font-medium">Gray 800</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-800</code><code class="text-xs text-gray-600">#3D3D3D</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-700"></div><p class="text-xs font-medium">Gray 700</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-700</code><code class="text-xs text-gray-600">#5D5D5D</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-600"></div><p class="text-xs font-medium">Gray 600</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-600</code><code class="text-xs text-gray-600">#7D7D7D</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-500"></div><p class="text-xs font-medium">Gray 500</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-500</code><code class="text-xs text-gray-600">#9D9D9D</code></div></div><div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-4"><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-400"></div><p class="text-xs font-medium">Gray 400</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-400</code><code class="text-xs text-gray-600">#BDBDBD</code></div><div class="flex flex-col gap-2"><div class="w-full h-20 rounded-lg bg-veylan-gray-300 border border-gray-200"></div><p class="text-xs font-medium">Gray 300</p><code class="text-xs bg-gray-100 px-2 py-1 rounded">bg-veylan-gray-300</code><code class="text-xs text-gray-600">#DDDDDD</code></div></div></div>', 1)),
|
|
685
685
|
s(" Green/Lime Palette "),
|
|
@@ -702,24 +702,24 @@ const Ut = /* @__PURE__ */ y(je, [["render", Ve], ["__file", "/root/app/code/src
|
|
|
702
702
|
emits: ["close", "add"],
|
|
703
703
|
setup(i, { expose: t, emit: l }) {
|
|
704
704
|
t();
|
|
705
|
-
const
|
|
706
|
-
const
|
|
707
|
-
if (!d.value) return
|
|
705
|
+
const a = i, x = l, v = S(null), r = S(!1), d = S(""), u = S([]), _ = S([...a.initialCollaborators]), q = V(() => a.availableUsersList.filter((p) => {
|
|
706
|
+
const f = !_.value.some((j) => j.email === p.email);
|
|
707
|
+
if (!d.value) return f;
|
|
708
708
|
const h = d.value.toLowerCase();
|
|
709
|
-
return
|
|
710
|
-
})),
|
|
711
|
-
const
|
|
712
|
-
|
|
713
|
-
}, F = (
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
}, T = (
|
|
717
|
-
const
|
|
718
|
-
|
|
719
|
-
},
|
|
720
|
-
|
|
721
|
-
},
|
|
722
|
-
r.value = !r.value, r.value &&
|
|
709
|
+
return f && (p.name.toLowerCase().includes(h) || p.email.toLowerCase().includes(h));
|
|
710
|
+
})), L = (p) => u.value.some((f) => f.email === p.email), H = (p) => {
|
|
711
|
+
const f = u.value.findIndex((h) => h.email === p.email);
|
|
712
|
+
f > -1 ? u.value.splice(f, 1) : u.value.push(p), d.value = "";
|
|
713
|
+
}, F = (p) => {
|
|
714
|
+
const f = u.value.findIndex((h) => h.email === p.email);
|
|
715
|
+
f > -1 && u.value.splice(f, 1);
|
|
716
|
+
}, T = (p) => {
|
|
717
|
+
const f = _.value.findIndex((h) => h.email === p.email);
|
|
718
|
+
f > -1 && _.value.splice(f, 1);
|
|
719
|
+
}, I = () => {
|
|
720
|
+
v.value?.focus();
|
|
721
|
+
}, D = { props: a, emit: x, hiddenInput: v, showDropdown: r, searchQuery: d, selectedUsers: u, collaborators: _, availableUsers: q, isUserSelected: L, toggleUser: H, removeUser: F, removeCollaborator: T, focusInput: I, toggleDropdown: () => {
|
|
722
|
+
r.value = !r.value, r.value && I();
|
|
723
723
|
}, handleBlur: () => {
|
|
724
724
|
setTimeout(() => {
|
|
725
725
|
r.value = !1;
|
|
@@ -727,36 +727,36 @@ const Ut = /* @__PURE__ */ y(je, [["render", Ve], ["__file", "/root/app/code/src
|
|
|
727
727
|
}, closeModal: () => {
|
|
728
728
|
x("close"), u.value = [], d.value = "", r.value = !1;
|
|
729
729
|
}, addCollaborators: () => {
|
|
730
|
-
u.value.length > 0 && (u.value.forEach((
|
|
731
|
-
_.value.some((
|
|
730
|
+
u.value.length > 0 && (u.value.forEach((p) => {
|
|
731
|
+
_.value.some((f) => f.email === p.email) || _.value.push(p);
|
|
732
732
|
}), x("add", u.value, _.value), u.value = [], d.value = "", r.value = !1), x("close");
|
|
733
733
|
} };
|
|
734
|
-
return Object.defineProperty(
|
|
734
|
+
return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
|
|
735
735
|
}
|
|
736
|
-
}), Ee = { class: "bg-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, Ue = { class: "relative mb-6" }, Ge = { class: "flex flex-wrap gap-2 flex-1" }, Oe = ["onClick"], We = {
|
|
736
|
+
}), Ee = { class: "bg-veylan-white rounded-2xl w-full max-w-[630px] p-8 shadow-xl" }, Ue = { class: "relative mb-6" }, Ge = { class: "flex flex-wrap gap-2 flex-1" }, Oe = ["onClick"], We = {
|
|
737
737
|
key: 0,
|
|
738
|
-
class: "absolute top-full left-0 right-0 mt-2 bg-white border border-gray-
|
|
739
|
-
}, Re = ["onMousedown"], Ze = { class: "flex-1" }, $e = { class: "text-sm font-semibold text-black" }, Qe = { class: "text-sm text-gray-600" }, Ke = {
|
|
738
|
+
class: "absolute top-full left-0 right-0 mt-2 bg-veylan-white border border-veylan-gray-400 rounded-xl shadow-lg max-h-64 overflow-y-auto z-10"
|
|
739
|
+
}, Re = ["onMousedown"], Ze = { class: "flex-1" }, $e = { class: "text-sm font-semibold text-veylan-black" }, Qe = { class: "text-sm text-gray-600" }, Ke = {
|
|
740
740
|
key: 0,
|
|
741
|
-
class: "w-5 h-5 flex items-center justify-center text-black"
|
|
741
|
+
class: "w-5 h-5 flex items-center justify-center text-veylan-black"
|
|
742
742
|
}, Ye = { class: "collaborators-list mb-8 max-h-96 overflow-y-auto" }, Je = {
|
|
743
|
-
class: "font-semibold text-black",
|
|
743
|
+
class: "font-semibold text-veylan-black",
|
|
744
744
|
style: { "font-size": "14px" }
|
|
745
745
|
}, Xe = {
|
|
746
|
-
class: "text-black",
|
|
746
|
+
class: "text-veylan-black",
|
|
747
747
|
style: { "font-size": "14px" }
|
|
748
748
|
}, et = ["onClick"];
|
|
749
|
-
function tt(i, t, l,
|
|
750
|
-
return l.isOpen ? (
|
|
749
|
+
function tt(i, t, l, a, x, v) {
|
|
750
|
+
return l.isOpen ? (o(), n("div", {
|
|
751
751
|
key: 0,
|
|
752
|
-
class: "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",
|
|
753
|
-
onClick: M(
|
|
752
|
+
class: "fixed inset-0 bg-veylan-black/50 flex items-center justify-center z-50 p-4",
|
|
753
|
+
onClick: M(a.closeModal, ["self"])
|
|
754
754
|
}, [
|
|
755
755
|
e("div", Ee, [
|
|
756
756
|
s(" Header "),
|
|
757
757
|
t[3] || (t[3] = e(
|
|
758
758
|
"h2",
|
|
759
|
-
{ class: "text-2xl font-bold text-black mb-8" },
|
|
759
|
+
{ class: "text-2xl font-bold text-veylan-black mb-8" },
|
|
760
760
|
"Invite Collaborators",
|
|
761
761
|
-1
|
|
762
762
|
/* CACHED */
|
|
@@ -775,23 +775,23 @@ function tt(i, t, l, o, x, p) {
|
|
|
775
775
|
s(" Multi-select Input "),
|
|
776
776
|
e("div", Ue, [
|
|
777
777
|
e("div", {
|
|
778
|
-
class: "flex items-center gap-2 w-full px-4 py-2 border border-gray-
|
|
779
|
-
onClick:
|
|
778
|
+
class: "flex items-center gap-2 w-full px-4 py-2 border border-veylan-gray-400 rounded-xl bg-veylan-white focus-within:border-veylan-gray-500 focus-within:outline-none transition-colors cursor-text min-h-[40px]",
|
|
779
|
+
onClick: a.focusInput
|
|
780
780
|
}, [
|
|
781
781
|
s(" Plus Icon "),
|
|
782
782
|
e("button", {
|
|
783
783
|
type: "button",
|
|
784
|
-
class: "flex-shrink-0 text-gray-800 text-xl font-light",
|
|
785
|
-
onClick:
|
|
784
|
+
class: "flex-shrink-0 text-veylan-gray-800 text-xl font-light",
|
|
785
|
+
onClick: a.toggleDropdown
|
|
786
786
|
}, " + "),
|
|
787
787
|
s(" Selected User Pills "),
|
|
788
788
|
e("div", Ge, [
|
|
789
|
-
(
|
|
789
|
+
(o(!0), n(
|
|
790
790
|
m,
|
|
791
791
|
null,
|
|
792
|
-
C(
|
|
792
|
+
C(a.selectedUsers, (r) => (o(), n("span", {
|
|
793
793
|
key: r.email,
|
|
794
|
-
class: "inline-flex items-center gap-2 px-3 py-1.5 bg-gray-
|
|
794
|
+
class: "inline-flex items-center gap-2 px-3 py-1.5 bg-veylan-gray-300 rounded-lg text-sm font-normal text-veylan-black"
|
|
795
795
|
}, [
|
|
796
796
|
c(
|
|
797
797
|
g(r.display) + " ",
|
|
@@ -799,8 +799,8 @@ function tt(i, t, l, o, x, p) {
|
|
|
799
799
|
/* TEXT */
|
|
800
800
|
),
|
|
801
801
|
e("button", {
|
|
802
|
-
onClick: M((d) =>
|
|
803
|
-
class: "text-gray-600 hover:text-black transition-colors"
|
|
802
|
+
onClick: M((d) => a.removeUser(r), ["stop"]),
|
|
803
|
+
class: "text-veylan-gray-600 hover:text-veylan-black transition-colors"
|
|
804
804
|
}, " × ", 8, Oe)
|
|
805
805
|
]))),
|
|
806
806
|
128
|
|
@@ -812,30 +812,30 @@ function tt(i, t, l, o, x, p) {
|
|
|
812
812
|
{
|
|
813
813
|
ref: "hiddenInput",
|
|
814
814
|
type: "text",
|
|
815
|
-
class: "flex-1 min-w-[100px] outline-none bg-transparent text-black placeholder-gray-400",
|
|
815
|
+
class: "flex-1 min-w-[100px] outline-none bg-transparent text-veylan-black placeholder-gray-400",
|
|
816
816
|
placeholder: "",
|
|
817
|
-
onFocus: t[0] || (t[0] = (r) =>
|
|
818
|
-
onBlur:
|
|
819
|
-
"onUpdate:modelValue": t[1] || (t[1] = (r) =>
|
|
817
|
+
onFocus: t[0] || (t[0] = (r) => a.showDropdown = !0),
|
|
818
|
+
onBlur: a.handleBlur,
|
|
819
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => a.searchQuery = r)
|
|
820
820
|
},
|
|
821
821
|
null,
|
|
822
822
|
544
|
|
823
823
|
/* NEED_HYDRATION, NEED_PATCH */
|
|
824
824
|
), [
|
|
825
|
-
[E,
|
|
825
|
+
[E, a.searchQuery]
|
|
826
826
|
])
|
|
827
827
|
])
|
|
828
828
|
]),
|
|
829
829
|
s(" Dropdown "),
|
|
830
|
-
|
|
831
|
-
(
|
|
830
|
+
a.showDropdown ? (o(), n("div", We, [
|
|
831
|
+
(o(!0), n(
|
|
832
832
|
m,
|
|
833
833
|
null,
|
|
834
|
-
C(
|
|
834
|
+
C(a.availableUsers, (r) => (o(), n("button", {
|
|
835
835
|
key: r.email,
|
|
836
836
|
type: "button",
|
|
837
|
-
class: "w-full px-4 py-3 text-left hover:bg-gray-
|
|
838
|
-
onMousedown: M((d) =>
|
|
837
|
+
class: "w-full px-4 py-3 text-left hover:bg-veylan-gray-300 transition-colors flex items-center justify-between group",
|
|
838
|
+
onMousedown: M((d) => a.toggleUser(r), ["prevent"])
|
|
839
839
|
}, [
|
|
840
840
|
e("div", Ze, [
|
|
841
841
|
e(
|
|
@@ -853,7 +853,7 @@ function tt(i, t, l, o, x, p) {
|
|
|
853
853
|
/* TEXT */
|
|
854
854
|
)
|
|
855
855
|
]),
|
|
856
|
-
|
|
856
|
+
a.isUserSelected(r) ? (o(), n("div", Ke, " ✓ ")) : s("v-if", !0)
|
|
857
857
|
], 40, Re))),
|
|
858
858
|
128
|
|
859
859
|
/* KEYED_FRAGMENT */
|
|
@@ -862,12 +862,12 @@ function tt(i, t, l, o, x, p) {
|
|
|
862
862
|
]),
|
|
863
863
|
s(" Collaborators List "),
|
|
864
864
|
e("div", Ye, [
|
|
865
|
-
(
|
|
865
|
+
(o(!0), n(
|
|
866
866
|
m,
|
|
867
867
|
null,
|
|
868
|
-
C(
|
|
868
|
+
C(a.collaborators, (r) => (o(), n("div", {
|
|
869
869
|
key: r.email,
|
|
870
|
-
class: "grid grid-cols-[1fr_1.5fr_auto] gap-4 items-center py-4 border-b border-gray-
|
|
870
|
+
class: "grid grid-cols-[1fr_1.5fr_auto] gap-4 items-center py-4 border-b border-veylan-gray-400"
|
|
871
871
|
}, [
|
|
872
872
|
e(
|
|
873
873
|
"div",
|
|
@@ -884,8 +884,8 @@ function tt(i, t, l, o, x, p) {
|
|
|
884
884
|
/* TEXT */
|
|
885
885
|
),
|
|
886
886
|
e("button", {
|
|
887
|
-
onClick: (d) =>
|
|
888
|
-
class: "text-gray-800 hover:text-black transition-colors text-2xl leading-none"
|
|
887
|
+
onClick: (d) => a.removeCollaborator(r),
|
|
888
|
+
class: "text-veylan-gray-800 hover:text-veylan-black transition-colors text-2xl leading-none"
|
|
889
889
|
}, " × ", 8, et)
|
|
890
890
|
]))),
|
|
891
891
|
128
|
|
@@ -895,8 +895,8 @@ function tt(i, t, l, o, x, p) {
|
|
|
895
895
|
s(" Action Buttons "),
|
|
896
896
|
e("div", { class: "flex gap-4 pt-6" }, [
|
|
897
897
|
e("button", {
|
|
898
|
-
onClick:
|
|
899
|
-
class: "flex-1 h-8 flex items-center justify-center gap-2 px-4 text-gray-800 rounded-xl hover:bg-gray-
|
|
898
|
+
onClick: a.closeModal,
|
|
899
|
+
class: "flex-1 h-8 flex items-center justify-center gap-2 px-4 text-veylan-gray-800 rounded-xl hover:bg-veylan-gray-300 transition-colors font-medium",
|
|
900
900
|
style: { "font-size": "12px" }
|
|
901
901
|
}, t[2] || (t[2] = [
|
|
902
902
|
e(
|
|
@@ -926,8 +926,8 @@ function tt(i, t, l, o, x, p) {
|
|
|
926
926
|
)
|
|
927
927
|
])),
|
|
928
928
|
e("button", {
|
|
929
|
-
onClick:
|
|
930
|
-
class: "flex-1 h-8 px-4 bg-black text-white rounded-xl hover:bg-gray-
|
|
929
|
+
onClick: a.addCollaborators,
|
|
930
|
+
class: "flex-1 h-8 px-4 bg-veylan-black text-veylan-white rounded-xl hover:bg-veylan-gray-900 transition-colors font-medium",
|
|
931
931
|
style: { "font-size": "12px" }
|
|
932
932
|
}, " Add Collaborators ")
|
|
933
933
|
])
|
|
@@ -949,9 +949,9 @@ const Gt = /* @__PURE__ */ y(Pe, [["render", tt], ["__scopeId", "data-v-f6014a35
|
|
|
949
949
|
emits: ["item-click"],
|
|
950
950
|
setup(i, { expose: t, emit: l }) {
|
|
951
951
|
t();
|
|
952
|
-
const
|
|
953
|
-
|
|
954
|
-
}, getIconColor: (d) => d ? "#
|
|
952
|
+
const a = l, r = { emit: a, handleItemClick: (d) => {
|
|
953
|
+
a("item-click", d);
|
|
954
|
+
}, getIconColor: (d) => d ? "#A2DA00" : "#FFFFFF", get Home() {
|
|
955
955
|
return Q;
|
|
956
956
|
}, get MessageSquare() {
|
|
957
957
|
return $;
|
|
@@ -960,59 +960,59 @@ const Gt = /* @__PURE__ */ y(Pe, [["render", tt], ["__scopeId", "data-v-f6014a35
|
|
|
960
960
|
} };
|
|
961
961
|
return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
|
|
962
962
|
}
|
|
963
|
-
}), st = { class: "sidebar-nav group bg-black flex flex-col justify-between shadow-md" },
|
|
964
|
-
function ut(i, t, l,
|
|
965
|
-
return
|
|
963
|
+
}), st = { class: "sidebar-nav group bg-veylan-black flex flex-col justify-between shadow-md" }, at = { class: "pt-10 px-2 flex flex-col gap-8" }, ot = { class: "flex flex-col gap-4" }, nt = ["onClick"], rt = { class: "nav-label text-sm text-gray-300 whitespace-nowrap" }, it = { class: "flex flex-col items-start px-4 pb-8 gap-4" }, dt = { class: "profile-section flex items-center gap-3 w-full" }, ct = { class: "profile-text flex-1 min-w-0" }, xt = { class: "text-sm text-white font-medium whitespace-nowrap" }, gt = { class: "text-[10px] text-gray-400 whitespace-nowrap" };
|
|
964
|
+
function ut(i, t, l, a, x, v) {
|
|
965
|
+
return o(), n(
|
|
966
966
|
m,
|
|
967
967
|
null,
|
|
968
968
|
[
|
|
969
969
|
s(" Expandable Sidebar Navigation "),
|
|
970
970
|
e("aside", st, [
|
|
971
971
|
s(" Top Section "),
|
|
972
|
-
e("div",
|
|
972
|
+
e("div", at, [
|
|
973
973
|
s(" Logo "),
|
|
974
974
|
t[0] || (t[0] = b('<div class="px-2" data-v-4c3eb68c><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-4c3eb68c><path d="M0 11.8333V0L11.8333 11.8333H0Z" fill="white" data-v-4c3eb68c></path><path d="M11.8333 12.166V23.9994L0 12.166H11.8333Z" fill="white" data-v-4c3eb68c></path><path d="M24 11.8333V0L12.1667 11.8333H24Z" fill="white" data-v-4c3eb68c></path><path d="M12.1665 12.166H23.9998L12.1665 23.9994V12.166Z" fill="white" data-v-4c3eb68c></path></svg></div>', 1)),
|
|
975
975
|
s(" Navigation Items "),
|
|
976
|
-
e("div",
|
|
977
|
-
(
|
|
976
|
+
e("div", ot, [
|
|
977
|
+
(o(!0), n(
|
|
978
978
|
m,
|
|
979
979
|
null,
|
|
980
|
-
C(l.items, (r, d) => (
|
|
980
|
+
C(l.items, (r, d) => (o(), n("div", {
|
|
981
981
|
key: d,
|
|
982
|
-
onClick: (u) =>
|
|
983
|
-
class: z(["nav-item flex items-center gap-[18px] px-2.5 py-2 rounded-lg cursor-pointer transition-colors duration-200", l.activeItem === d ? "bg-
|
|
982
|
+
onClick: (u) => a.handleItemClick(d),
|
|
983
|
+
class: z(["nav-item flex items-center gap-[18px] px-2.5 py-2 rounded-lg cursor-pointer transition-colors duration-200", l.activeItem === d ? "bg-veylan-gray-900" : "hover:bg-veylan-gray-900"])
|
|
984
984
|
}, [
|
|
985
985
|
s(" Dashboard Icon "),
|
|
986
|
-
r.icon === "dashboard" ? (
|
|
986
|
+
r.icon === "dashboard" ? (o(), k(a.Home, {
|
|
987
987
|
key: 0,
|
|
988
988
|
class: "flex-shrink-0",
|
|
989
989
|
size: 20,
|
|
990
990
|
"stroke-width": 1.5,
|
|
991
|
-
color:
|
|
992
|
-
}, null, 8, ["color"])) : r.icon === "conversations" ? (
|
|
991
|
+
color: a.getIconColor(l.activeItem === d)
|
|
992
|
+
}, null, 8, ["color"])) : r.icon === "conversations" ? (o(), n(
|
|
993
993
|
m,
|
|
994
994
|
{ key: 1 },
|
|
995
995
|
[
|
|
996
996
|
s(" Conversations Icon "),
|
|
997
|
-
|
|
997
|
+
B(a.MessageSquare, {
|
|
998
998
|
class: "flex-shrink-0",
|
|
999
999
|
size: 20,
|
|
1000
1000
|
"stroke-width": 1.5,
|
|
1001
|
-
color:
|
|
1001
|
+
color: a.getIconColor(l.activeItem === d)
|
|
1002
1002
|
}, null, 8, ["color"])
|
|
1003
1003
|
],
|
|
1004
1004
|
2112
|
|
1005
1005
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1006
|
-
)) : r.icon === "templates" ? (
|
|
1006
|
+
)) : r.icon === "templates" ? (o(), n(
|
|
1007
1007
|
m,
|
|
1008
1008
|
{ key: 2 },
|
|
1009
1009
|
[
|
|
1010
1010
|
s(" Templates Icon "),
|
|
1011
|
-
|
|
1011
|
+
B(a.ToyBrick, {
|
|
1012
1012
|
class: "flex-shrink-0",
|
|
1013
1013
|
size: 20,
|
|
1014
1014
|
"stroke-width": 1.5,
|
|
1015
|
-
color:
|
|
1015
|
+
color: a.getIconColor(l.activeItem === d)
|
|
1016
1016
|
}, null, 8, ["color"])
|
|
1017
1017
|
],
|
|
1018
1018
|
2112
|
|
@@ -1061,16 +1061,16 @@ function ut(i, t, l, o, x, p) {
|
|
|
1061
1061
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1062
1062
|
);
|
|
1063
1063
|
}
|
|
1064
|
-
const Ot = /* @__PURE__ */ y(lt, [["render", ut], ["__scopeId", "data-v-4c3eb68c"], ["__file", "/root/app/code/src/components/NavigationSidebar.vue"]]),
|
|
1064
|
+
const Ot = /* @__PURE__ */ y(lt, [["render", ut], ["__scopeId", "data-v-4c3eb68c"], ["__file", "/root/app/code/src/components/NavigationSidebar.vue"]]), vt = /* @__PURE__ */ w({
|
|
1065
1065
|
__name: "TextStyles",
|
|
1066
1066
|
setup(i, { expose: t }) {
|
|
1067
1067
|
t();
|
|
1068
1068
|
const l = {};
|
|
1069
1069
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
1070
1070
|
}
|
|
1071
|
-
}),
|
|
1072
|
-
function
|
|
1073
|
-
return
|
|
1071
|
+
}), pt = { class: "flex flex-col gap-12 w-full" };
|
|
1072
|
+
function ft(i, t, l, a, x, v) {
|
|
1073
|
+
return o(), n("div", pt, [
|
|
1074
1074
|
s(" h1 "),
|
|
1075
1075
|
t[0] || (t[0] = e(
|
|
1076
1076
|
"div",
|
|
@@ -1277,14 +1277,14 @@ function vt(i, t, l, o, x, p) {
|
|
|
1277
1277
|
))
|
|
1278
1278
|
]);
|
|
1279
1279
|
}
|
|
1280
|
-
const Wt = /* @__PURE__ */ y(
|
|
1280
|
+
const Wt = /* @__PURE__ */ y(vt, [["render", ft], ["__file", "/root/app/code/src/components/TextStyles.vue"]]), yt = {}, mt = {
|
|
1281
1281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1282
1282
|
width: "20",
|
|
1283
1283
|
height: "20",
|
|
1284
1284
|
fill: "currentColor"
|
|
1285
1285
|
};
|
|
1286
1286
|
function ht(i, t) {
|
|
1287
|
-
return
|
|
1287
|
+
return o(), n("svg", mt, t[0] || (t[0] = [
|
|
1288
1288
|
e(
|
|
1289
1289
|
"path",
|
|
1290
1290
|
{ 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" },
|
|
@@ -1301,7 +1301,7 @@ const Rt = /* @__PURE__ */ y(yt, [["render", ht], ["__file", "/root/app/code/src
|
|
|
1301
1301
|
fill: "currentColor"
|
|
1302
1302
|
};
|
|
1303
1303
|
function _t(i, t) {
|
|
1304
|
-
return
|
|
1304
|
+
return o(), n("svg", wt, t[0] || (t[0] = [
|
|
1305
1305
|
e(
|
|
1306
1306
|
"path",
|
|
1307
1307
|
{ d: "M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z" },
|
|
@@ -1318,7 +1318,7 @@ const Zt = /* @__PURE__ */ y(bt, [["render", _t], ["__file", "/root/app/code/src
|
|
|
1318
1318
|
fill: "currentColor"
|
|
1319
1319
|
};
|
|
1320
1320
|
function zt(i, t) {
|
|
1321
|
-
return
|
|
1321
|
+
return o(), n("svg", Ct, t[0] || (t[0] = [
|
|
1322
1322
|
e(
|
|
1323
1323
|
"path",
|
|
1324
1324
|
{ d: "M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z" },
|
|
@@ -1334,8 +1334,8 @@ const $t = /* @__PURE__ */ y(kt, [["render", zt], ["__file", "/root/app/code/src
|
|
|
1334
1334
|
height: "20",
|
|
1335
1335
|
fill: "currentColor"
|
|
1336
1336
|
};
|
|
1337
|
-
function
|
|
1338
|
-
return
|
|
1337
|
+
function Bt(i, t) {
|
|
1338
|
+
return o(), n("svg", Mt, t[0] || (t[0] = [
|
|
1339
1339
|
e(
|
|
1340
1340
|
"path",
|
|
1341
1341
|
{ d: "M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z" },
|
|
@@ -1345,7 +1345,7 @@ function It(i, t) {
|
|
|
1345
1345
|
)
|
|
1346
1346
|
]));
|
|
1347
1347
|
}
|
|
1348
|
-
const Qt = /* @__PURE__ */ y(St, [["render",
|
|
1348
|
+
const Qt = /* @__PURE__ */ y(St, [["render", Bt], ["__file", "/root/app/code/src/components/icons/IconSupport.vue"]]), It = {}, Dt = {
|
|
1349
1349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1350
1350
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1351
1351
|
"aria-hidden": "true",
|
|
@@ -1357,7 +1357,7 @@ const Qt = /* @__PURE__ */ y(St, [["render", It], ["__file", "/root/app/code/src
|
|
|
1357
1357
|
viewBox: "0 0 24 24"
|
|
1358
1358
|
};
|
|
1359
1359
|
function At(i, t) {
|
|
1360
|
-
return
|
|
1360
|
+
return o(), n("svg", Dt, t[0] || (t[0] = [
|
|
1361
1361
|
e(
|
|
1362
1362
|
"path",
|
|
1363
1363
|
{
|
|
@@ -1370,7 +1370,7 @@ function At(i, t) {
|
|
|
1370
1370
|
)
|
|
1371
1371
|
]));
|
|
1372
1372
|
}
|
|
1373
|
-
const Kt = /* @__PURE__ */ y(
|
|
1373
|
+
const Kt = /* @__PURE__ */ y(It, [["render", At], ["__file", "/root/app/code/src/components/icons/IconTooling.vue"]]);
|
|
1374
1374
|
export {
|
|
1375
1375
|
Nt as BaseModal,
|
|
1376
1376
|
Vt as ButtonComponent,
|