@mendmania/ui-name
Advanced tools
Comparing version 0.0.29 to 0.1.0
@@ -1,9 +0,9 @@ | ||
import { openBlock as t, createElementBlock as s, normalizeProps as R, guardReactiveProps as V, renderSlot as v, mergeProps as h, useAttrs as W, computed as p, toRefs as B, unref as n, createElementVNode as u, toDisplayString as S, createCommentVNode as c, normalizeStyle as k, pushScopeId as U, popScopeId as Z, Fragment as x, renderList as w, createBlock as g, withCtx as z, resolveDynamicComponent as T, markRaw as P, normalizeClass as M, defineAsyncComponent as te, createVNode as A, useCssVars as se, ref as H, onMounted as ne, onUnmounted as re, TransitionGroup as le } from "vue"; | ||
const b = (e, l) => { | ||
const r = e.__vccOpts || e; | ||
for (const [o, i] of l) | ||
r[o] = i; | ||
return r; | ||
import { openBlock as t, createElementBlock as s, normalizeProps as R, guardReactiveProps as V, renderSlot as v, mergeProps as g, useAttrs as W, computed as p, toRefs as B, unref as n, createElementVNode as o, toDisplayString as S, createCommentVNode as c, normalizeStyle as k, pushScopeId as U, popScopeId as Z, Fragment as x, renderList as w, createBlock as h, withCtx as z, resolveDynamicComponent as T, markRaw as L, normalizeClass as M, defineAsyncComponent as te, createVNode as A, useCssVars as se, ref as H, onMounted as ne, onUnmounted as le, TransitionGroup as re } from "vue"; | ||
const b = (e, r) => { | ||
const l = e.__vccOpts || e; | ||
for (const [i, u] of r) | ||
l[i] = u; | ||
return l; | ||
}, ae = {}; | ||
function oe(e, l) { | ||
function oe(e, r) { | ||
return t(), s("button", R(V(e.$attrs)), [ | ||
@@ -13,5 +13,5 @@ v(e.$slots, "default") | ||
} | ||
const zt = /* @__PURE__ */ b(ae, [["render", oe]]), ie = {}; | ||
function ue(e, l) { | ||
return t(), s("input", h(e.$attrs, { | ||
const Et = /* @__PURE__ */ b(ae, [["render", oe]]), ie = {}; | ||
function ue(e, r) { | ||
return t(), s("input", g(e.$attrs, { | ||
type: "text", | ||
@@ -21,10 +21,10 @@ "aria-label": "Filter projects" | ||
} | ||
const Tt = /* @__PURE__ */ b(ie, [["render", ue]]); | ||
const Dt = /* @__PURE__ */ b(ie, [["render", ue]]); | ||
const ce = (e) => (U("data-v-dfc1ec80"), e = e(), Z(), e), de = { | ||
key: 0, | ||
class: "relative max-w-[230px]" | ||
}, fe = { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, _e = { class: "flex" }, me = { class: "flex ml-auto absolute right-0" }, pe = { | ||
}, _e = { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, fe = { class: "flex" }, me = { class: "flex ml-auto absolute right-0" }, pe = { | ||
key: 0, | ||
class: "py-0.5 px-1 rounded text-white bg-black/50 mx-1" | ||
}, ye = /* @__PURE__ */ ce(() => /* @__PURE__ */ u("div", { class: "flex w-full mt-auto" }, null, -1)), ve = { class: "flex" }, ge = { class: "flex ml-auto" }, he = { | ||
}, ye = /* @__PURE__ */ ce(() => /* @__PURE__ */ o("div", { class: "flex w-full mt-auto" }, null, -1)), ve = { class: "flex" }, he = { class: "flex ml-auto" }, ge = { | ||
key: 1, | ||
@@ -103,12 +103,12 @@ class: "pt-3 flex gap-5 text-xs text-cyan infobox" | ||
setup(e) { | ||
const l = e, r = W(), o = p(() => r.order ? `flex-${r.order}` : "flex-col"), { showAuthor: i, showViews: a, showDate: f } = B(l), d = p( | ||
() => i.value || a.value || f.value | ||
const r = e, l = W(), i = p(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: u, showViews: a, showDate: _ } = B(r), d = p( | ||
() => u.value || a.value || _.value | ||
); | ||
return (_, J) => (t(), s("div", h({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, _.$attrs, { class: n(o) }), [ | ||
return (f, J) => (t(), s("div", g({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, f.$attrs, { class: n(i) }), [ | ||
e.showThumbnail ? (t(), s("div", de, [ | ||
u("div", fe, [ | ||
u("div", _e, [ | ||
v(_.$slots, "top_left", {}, void 0, !0), | ||
u("div", me, [ | ||
v(_.$slots, "top_right", {}, void 0, !0), | ||
o("div", _e, [ | ||
o("div", fe, [ | ||
v(f.$slots, "top_left", {}, void 0, !0), | ||
o("div", me, [ | ||
v(f.$slots, "top_right", {}, void 0, !0), | ||
e.showTimeDuration ? (t(), s("span", pe, S(e.timeDuration), 1)) : c("", !0) | ||
@@ -118,10 +118,10 @@ ]) | ||
ye, | ||
u("div", ve, [ | ||
v(_.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
u("div", ge, [ | ||
v(_.$slots, "bottom_right", {}, void 0, !0) | ||
o("div", ve, [ | ||
v(f.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
o("div", he, [ | ||
v(f.$slots, "bottom_right", {}, void 0, !0) | ||
]) | ||
]) | ||
]), | ||
v(_.$slots, "image", {}, void 0, !0) | ||
v(f.$slots, "image", {}, void 0, !0) | ||
])) : c("", !0), | ||
@@ -137,6 +137,6 @@ n(d) || e.showTitle ? (t(), s("div", { | ||
}, S(e.title), 5)) : c("", !0), | ||
n(d) ? (t(), s("div", he, [ | ||
n(i) ? (t(), s("span", be, S(e.author), 1)) : c("", !0), | ||
n(d) ? (t(), s("div", ge, [ | ||
n(u) ? (t(), s("span", be, S(e.author), 1)) : c("", !0), | ||
n(a) ? (t(), s("span", Se, S(e.views), 1)) : c("", !0), | ||
n(f) ? (t(), s("span", $e, S(e.date), 1)) : c("", !0) | ||
n(_) ? (t(), s("span", $e, S(e.date), 1)) : c("", !0) | ||
])) : c("", !0) | ||
@@ -146,7 +146,7 @@ ], 4)) : c("", !0) | ||
} | ||
}), At = /* @__PURE__ */ b(we, [["__scopeId", "data-v-dfc1ec80"]]); | ||
}), Nt = /* @__PURE__ */ b(we, [["__scopeId", "data-v-dfc1ec80"]]); | ||
const Je = (e) => (U("data-v-b6261246"), e = e(), Z(), e), je = { | ||
key: 0, | ||
class: "relative" | ||
}, ke = /* @__PURE__ */ Je(() => /* @__PURE__ */ u("div", { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, null, -1)), qe = { | ||
}, ke = /* @__PURE__ */ Je(() => /* @__PURE__ */ o("div", { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, null, -1)), qe = { | ||
key: 0, | ||
@@ -223,9 +223,9 @@ class: "jcard-sceleton-title" | ||
setup(e) { | ||
const l = e, r = W(), o = p(() => r.order ? `flex-${r.order}` : "flex-col"), { showAuthor: i, showViews: a, showDate: f } = B(l), d = p( | ||
() => i.value || a.value || f.value | ||
const r = e, l = W(), i = p(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: u, showViews: a, showDate: _ } = B(r), d = p( | ||
() => u.value || a.value || _.value | ||
); | ||
return (_, J) => (t(), s("div", h({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, _.$attrs, { class: n(o) }), [ | ||
return (f, J) => (t(), s("div", g({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, f.$attrs, { class: n(i) }), [ | ||
e.showThumbnail ? (t(), s("div", je, [ | ||
ke, | ||
v(_.$slots, "image", {}, void 0, !0) | ||
v(f.$slots, "image", {}, void 0, !0) | ||
])) : c("", !0), | ||
@@ -239,5 +239,5 @@ n(d) || e.showTitle ? (t(), s("div", { | ||
n(d) ? (t(), s("div", Oe, [ | ||
n(i) ? (t(), s("span", Ie)) : c("", !0), | ||
n(u) ? (t(), s("span", Ie)) : c("", !0), | ||
n(a) ? (t(), s("span", Me)) : c("", !0), | ||
n(f) ? (t(), s("span", Ce)) : c("", !0) | ||
n(_) ? (t(), s("span", Ce)) : c("", !0) | ||
])) : c("", !0) | ||
@@ -247,9 +247,9 @@ ], 4)) : c("", !0) | ||
} | ||
}), Bt = /* @__PURE__ */ b(ze, [["__scopeId", "data-v-b6261246"]]), Te = {}; | ||
function Ae(e, l) { | ||
return t(), s("span", h({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, e.$attrs), [ | ||
}), Ft = /* @__PURE__ */ b(ze, [["__scopeId", "data-v-b6261246"]]), Te = {}; | ||
function Ae(e, r) { | ||
return t(), s("span", g({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, e.$attrs), [ | ||
v(e.$slots, "default") | ||
], 16); | ||
} | ||
const Pt = /* @__PURE__ */ b(Te, [["render", Ae]]), Be = ["src"], Pe = { | ||
const Rt = /* @__PURE__ */ b(Te, [["render", Ae]]), Be = ["src"], Le = { | ||
__name: "JImage", | ||
@@ -264,10 +264,10 @@ props: { | ||
setup(e) { | ||
return (l, r) => (t(), s("img", h({ | ||
return (r, l) => (t(), s("img", g({ | ||
src: e.imageSrc, | ||
alt: "Video Card Placeholder", | ||
class: "w-full" | ||
}, l.$attrs), null, 16, Be)); | ||
}, r.$attrs), null, 16, Be)); | ||
} | ||
}; | ||
const Ee = { | ||
const Pe = { | ||
__name: "JImageSceleton", | ||
@@ -282,8 +282,8 @@ props: { | ||
setup(e) { | ||
return (l, r) => (t(), s("div", h({ | ||
return (r, l) => (t(), s("div", g({ | ||
src: "", | ||
class: "jimage-sceleton w-full" | ||
}, l.$attrs), null, 16)); | ||
}, r.$attrs), null, 16)); | ||
} | ||
}, Et = /* @__PURE__ */ b(Ee, [["__scopeId", "data-v-4e30e0b0"]]), Lt = { | ||
}, Vt = /* @__PURE__ */ b(Pe, [["__scopeId", "data-v-4e30e0b0"]]), Wt = { | ||
__name: "JFooter", | ||
@@ -298,14 +298,14 @@ props: { | ||
setup(e) { | ||
function l(r) { | ||
return r === "label" ? P(Le) : r === "menu" ? P(Ve) : P(We); | ||
function r(l) { | ||
return l === "label" ? L(Ee) : l === "menu" ? L(Ve) : L(We); | ||
} | ||
return (r, o) => (t(), s("div", h(r.$attrs, { class: "j-footer w-full flex flex-wrap gap-4" }), [ | ||
v(r.$slots, "default", {}, () => [ | ||
(t(!0), s(x, null, w(e.children, (i) => (t(), g(n(Xe), { | ||
key: i.id, | ||
"x-alignment": i.props.xAlignment, | ||
"y-alignment": i.props.yAlignment | ||
return (l, i) => (t(), s("div", g(l.$attrs, { class: "j-footer w-full container mx-auto flex flex-wrap gap-4" }), [ | ||
v(l.$slots, "default", {}, () => [ | ||
(t(!0), s(x, null, w(e.children, (u) => (t(), h(n(Xe), { | ||
key: u.id, | ||
"x-alignment": u.props.xAlignment, | ||
"y-alignment": u.props.yAlignment | ||
}, { | ||
default: z(() => [ | ||
(t(!0), s(x, null, w(i.children, (a) => (t(), g(n(Ye), { | ||
(t(!0), s(x, null, w(u.children, (a) => (t(), h(n(Ye), { | ||
key: a.id, | ||
@@ -315,6 +315,6 @@ columns: a.props.columns | ||
default: z(() => [ | ||
(t(!0), s(x, null, w(a.children, (f) => (t(), g(T(l(f.type)), { | ||
key: f.id, | ||
data: f.props, | ||
style: k(f.style) | ||
(t(!0), s(x, null, w(a.children, (_) => (t(), h(T(r(_.type)), { | ||
key: _.id, | ||
data: _.props, | ||
style: k(_.style) | ||
}, null, 8, ["data", "style"]))), 128)) | ||
@@ -330,3 +330,3 @@ ]), | ||
} | ||
}, Le = { | ||
}, Ee = { | ||
__name: "JFooterLabel", | ||
@@ -345,4 +345,4 @@ props: { | ||
setup(e) { | ||
const l = e, { text: r } = l.data; | ||
return (o, i) => (t(), s("div", h(o.$attrs, { class: "p-4" }), S(n(r)), 17)); | ||
const r = e, { text: l } = r.data; | ||
return (i, u) => (t(), s("div", g(i.$attrs, { class: "p-4" }), S(n(l)), 17)); | ||
} | ||
@@ -375,12 +375,12 @@ }; | ||
setup(e) { | ||
const l = e, { title: r, menu: o, orientation: i } = l.data; | ||
return (a, f) => (t(), s("div", h(a.$attrs, { class: "p-4" }), [ | ||
n(r) ? (t(), s("div", De, [ | ||
u("h5", null, S(n(r)), 1) | ||
const r = e, { title: l, menu: i, orientation: u } = r.data; | ||
return (a, _) => (t(), s("div", g(a.$attrs, { class: "p-4" }), [ | ||
n(l) ? (t(), s("div", De, [ | ||
o("h5", null, S(n(l)), 1) | ||
])) : c("", !0), | ||
u("ul", { | ||
class: M(["flex flex-wrap gap-4 text-sm", n(i) === "horizontal" ? "flex-row" : "flex-col"]) | ||
o("ul", { | ||
class: M(["flex flex-wrap gap-4 text-sm", n(u) === "horizontal" ? "flex-row" : "flex-col"]) | ||
}, [ | ||
(t(!0), s(x, null, w(n(o).items, (d) => (t(), s("li", Ne, [ | ||
u("a", Fe, S(d.navigationLabel), 1) | ||
(t(!0), s(x, null, w(n(i).items, (d) => (t(), s("li", Ne, [ | ||
o("a", Fe, S(d.navigationLabel), 1) | ||
]))), 256)) | ||
@@ -404,3 +404,3 @@ ], 2) | ||
setup(e) { | ||
return (l, r) => (t(), g(n(Pe), { | ||
return (r, l) => (t(), h(n(Le), { | ||
"image-src": e.data.image | ||
@@ -410,7 +410,7 @@ }, null, 8, ["image-src"])); | ||
}; | ||
const Ue = {}, Ze = { class: "j-footer-sceleton" }, Ke = /* @__PURE__ */ u("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ u("div", { class: "image" }), | ||
/* @__PURE__ */ u("div", { class: "content" }, [ | ||
/* @__PURE__ */ u("h2"), | ||
/* @__PURE__ */ u("p") | ||
const Ue = {}, Ze = { class: "j-footer-sceleton w-full" }, Ke = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ o("div", { class: "image" }), | ||
/* @__PURE__ */ o("div", { class: "content" }, [ | ||
/* @__PURE__ */ o("h2"), | ||
/* @__PURE__ */ o("p") | ||
]) | ||
@@ -420,6 +420,6 @@ ], -1), Ge = [ | ||
]; | ||
function Qe(e, l) { | ||
function Qe(e, r) { | ||
return t(), s("div", Ze, Ge); | ||
} | ||
const Dt = /* @__PURE__ */ b(Ue, [["render", Qe]]), Xe = { | ||
const Ut = /* @__PURE__ */ b(Ue, [["render", Qe]]), Xe = { | ||
__name: "JRow", | ||
@@ -444,16 +444,16 @@ props: { | ||
setup(e) { | ||
const l = e, r = { | ||
const r = e, l = { | ||
left: "justify-start", | ||
right: "justify-end", | ||
center: "justify-center" | ||
}, o = { | ||
}, i = { | ||
top: "items-start", | ||
bottom: "items-end", | ||
center: "items-center" | ||
}, i = p(() => { | ||
const { xAlignment: a, yAlignment: f } = l; | ||
return `${a ? r[a] : ""}${f ? " " + o[f] : ""}`; | ||
}, u = p(() => { | ||
const { xAlignment: a, yAlignment: _ } = r; | ||
return `${a ? l[a] : ""}${_ ? " " + i[_] : ""}`; | ||
}); | ||
return (a, f) => (t(), s("div", { | ||
class: M(["j-row w-full relative flex flex-wrap", n(i)]) | ||
return (a, _) => (t(), s("div", { | ||
class: M(["j-row w-full relative flex flex-wrap", n(u)]) | ||
}, [ | ||
@@ -472,3 +472,3 @@ v(a.$slots, "default") | ||
setup(e) { | ||
const l = { | ||
const r = { | ||
1: "basis-1/12", | ||
@@ -487,12 +487,12 @@ 2: "basis-2/12", | ||
}; | ||
return (r, o) => (t(), s("div", { | ||
class: M(["j-column flex flex-col", l[e.columns]]) | ||
return (l, i) => (t(), s("div", { | ||
class: M(["j-column flex flex-col", r[e.columns]]) | ||
}, [ | ||
v(r.$slots, "default") | ||
v(l.$slots, "default") | ||
], 2)); | ||
} | ||
}, et = (e, l) => { | ||
const r = e[l]; | ||
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((o, i) => { | ||
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + l))); | ||
}, et = (e, r) => { | ||
const l = e[r]; | ||
return l ? typeof l == "function" ? l() : Promise.resolve(l) : new Promise((i, u) => { | ||
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(u.bind(null, new Error("Unknown variable dynamic import: " + r))); | ||
}); | ||
@@ -516,4 +516,4 @@ }, F = { | ||
emits: ["customEvent"], | ||
setup(e, { emit: l }) { | ||
const r = { | ||
setup(e, { emit: r }) { | ||
const l = { | ||
language: "Language", | ||
@@ -524,15 +524,15 @@ notifications: "Notifications", | ||
}; | ||
function o(a) { | ||
function i(a) { | ||
return te( | ||
() => et(/* @__PURE__ */ Object.assign({ "./JHeader.vue": () => Promise.resolve().then(() => vt), "./JHeaderLanguage.vue": () => import("./JHeaderLanguage.ddf3aeaa.mjs"), "./JHeaderLogo.vue": () => Promise.resolve().then(() => ut), "./JHeaderMenu.vue": () => Promise.resolve().then(() => _t), "./JHeaderMenuItems.vue": () => Promise.resolve().then(() => rt), "./JHeaderNotifications.vue": () => import("./JHeaderNotifications.9d5fc11b.mjs"), "./JHeaderProfile.vue": () => import("./JHeaderProfile.0457c21d.mjs"), "./JHeaderSceleton.vue": () => Promise.resolve().then(() => wt), "./JHeaderSearch.vue": () => import("./JHeaderSearch.d651c3f2.mjs") }), `./JHeader${r[a]}.vue`) | ||
() => et(/* @__PURE__ */ Object.assign({ "./JHeader.vue": () => Promise.resolve().then(() => vt), "./JHeaderLanguage.vue": () => import("./JHeaderLanguage.ddf3aeaa.mjs"), "./JHeaderLogo.vue": () => Promise.resolve().then(() => ut), "./JHeaderMenu.vue": () => Promise.resolve().then(() => ft), "./JHeaderMenuItems.vue": () => Promise.resolve().then(() => lt), "./JHeaderNotifications.vue": () => import("./JHeaderNotifications.9d5fc11b.mjs"), "./JHeaderProfile.vue": () => import("./JHeaderProfile.0457c21d.mjs"), "./JHeaderSceleton.vue": () => Promise.resolve().then(() => wt), "./JHeaderSearch.vue": () => import("./JHeaderSearch.d651c3f2.mjs") }), `./JHeader${l[a]}.vue`) | ||
); | ||
} | ||
function i(a) { | ||
l("customEvent", a); | ||
function u(a) { | ||
r("customEvent", a); | ||
} | ||
return (a, f) => (t(), s("div", null, [ | ||
(t(!0), s(x, null, w(e.actions, (d) => (t(), g(T(o(d)), { | ||
return (a, _) => (t(), s("div", null, [ | ||
(t(!0), s(x, null, w(e.actions, (d) => (t(), h(T(i(d)), { | ||
key: `action-${d}`, | ||
style: k(e.iconsStyle), | ||
onCustomEvent: i, | ||
onCustomEvent: u, | ||
icon: e.iconsStyle ? { | ||
@@ -555,17 +555,17 @@ ...e.settings[d].iconSettings, | ||
setup(e) { | ||
return (l, r) => (t(), s("ul", R(V(l.$attrs)), [ | ||
(t(!0), s(x, null, w(e.menuItems, (o) => (t(), s("li", tt, [ | ||
u("a", { | ||
return (r, l) => (t(), s("ul", R(V(r.$attrs)), [ | ||
(t(!0), s(x, null, w(e.menuItems, (i) => (t(), s("li", tt, [ | ||
o("a", { | ||
class: "cursor-pointer item", | ||
href: o.url, | ||
href: i.url, | ||
target: "_blank" | ||
}, S(o.navigationLabel), 9, st) | ||
}, S(i.navigationLabel), 9, st) | ||
]))), 256)) | ||
], 16)); | ||
} | ||
}, E = /* @__PURE__ */ b(nt, [["__scopeId", "data-v-70ca0b02"]]), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, P = /* @__PURE__ */ b(nt, [["__scopeId", "data-v-70ca0b02"]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: E | ||
default: P | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const lt = { class: "logo flex" }, at = { class: "w-full m-auto" }, ot = ["src"], it = { | ||
const rt = { class: "logo flex" }, at = { class: "w-full m-auto" }, ot = ["src"], it = { | ||
__name: "JHeaderLogo", | ||
@@ -579,5 +579,5 @@ props: { | ||
setup(e) { | ||
return (l, r) => (t(), s("div", lt, [ | ||
u("a", at, [ | ||
u("img", { | ||
return (r, l) => (t(), s("div", rt, [ | ||
o("a", at, [ | ||
o("img", { | ||
src: e.imageSrc, | ||
@@ -599,7 +599,7 @@ alt: "logo", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, dt = /* @__PURE__ */ u("path", { | ||
}, dt = /* @__PURE__ */ o("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M20.6 18.2a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 12a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 5.8a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6z" | ||
}, null, -1), ft = [ | ||
}, null, -1), _t = [ | ||
dt | ||
@@ -615,9 +615,9 @@ ], G = { | ||
setup(e) { | ||
return (l, r) => (t(), s("div", null, [ | ||
u("a", null, [ | ||
(t(), s("svg", ct, ft)) | ||
return (r, l) => (t(), s("div", null, [ | ||
o("a", null, [ | ||
(t(), s("svg", ct, _t)) | ||
]) | ||
])); | ||
} | ||
}, _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
@@ -660,17 +660,18 @@ default: G | ||
emits: ["customEvent"], | ||
setup(e, { emit: l }) { | ||
const r = e, { breakpoint: o, components: i, settings: a } = r, f = p(() => o === "mobile"), d = p(() => o === "desktop"), _ = p(() => i.menu), J = p(() => i.logo), C = p(() => Object.entries(i).filter(([m, O]) => O && m !== "logo" && m !== "menu").map((m) => m[0])); | ||
setup(e, { emit: r }) { | ||
const l = e, { breakpoint: i, components: u, settings: a } = l, _ = p(() => i === "mobile"), d = p(() => i === "desktop"), f = p(() => u.menu), J = p(() => u.logo), C = p(() => Object.entries(u).filter(([m, O]) => O && m !== "logo" && m !== "menu").map((m) => m[0])); | ||
function q(m) { | ||
l("customEvent", m); | ||
r("customEvent", m); | ||
} | ||
return (m, O) => (t(), s("div", h(m.$attrs, { | ||
key: `header-${n(o)}` | ||
return (m, O) => (t(), s("div", g(m.$attrs, { | ||
key: `header-${n(i)}`, | ||
class: "w-full" | ||
}), [ | ||
u("nav", h({ class: "w-full flex gap-4 justify-between items-center px-6 py-2" }, m.$attrs), [ | ||
n(J) ? (t(), g(K, { | ||
o("nav", g({ class: "w-full flex container mx-auto gap-4 justify-between items-center py-2 px-2" }, m.$attrs), [ | ||
n(J) ? (t(), h(K, { | ||
key: 0, | ||
"image-src": n(a).logo.source | ||
}, null, 8, ["image-src"])) : c("", !0), | ||
n(_) && n(d) ? (t(), s("div", mt, [ | ||
A(E, { | ||
n(f) && n(d) ? (t(), s("div", mt, [ | ||
A(P, { | ||
class: "flex flex-row items-center gap-6 text-sm", | ||
@@ -681,3 +682,3 @@ "menu-items": e.menuItems || n(a).menu.menuItems, | ||
])) : c("", !0), | ||
n(f) ? c("", !0) : (t(), g(F, { | ||
n(_) ? c("", !0) : (t(), h(F, { | ||
key: 2, | ||
@@ -690,9 +691,9 @@ class: "actions flex ml-auto gap-x-4", | ||
}, null, 8, ["settings", "actions", "icons-style"])), | ||
n(_) && !n(d) ? (t(), g(G, { | ||
n(f) && !n(d) ? (t(), h(G, { | ||
key: 3, | ||
"is-mobile": n(f) | ||
"is-mobile": n(_) | ||
}, null, 8, ["is-mobile"])) : c("", !0) | ||
], 16), | ||
n(_) && !n(d) ? (t(), s("div", pt, [ | ||
A(E, { | ||
n(f) && !n(d) ? (t(), s("div", pt, [ | ||
A(P, { | ||
class: "flex flex-col gap-y-7 items-center py-10 px-2 text-sm", | ||
@@ -702,3 +703,3 @@ "menu-items": e.menuItems || n(a).menu.menuItems, | ||
}, null, 8, ["menu-items", "style"]), | ||
n(f) && n(C).length ? (t(), g(F, { | ||
n(_) && n(C).length ? (t(), h(F, { | ||
key: 0, | ||
@@ -717,11 +718,11 @@ class: "actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4", | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const gt = {}, ht = { class: "j-header-sceleton" }, bt = /* @__PURE__ */ u("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ u("div", { class: "image" }) | ||
const ht = {}, gt = { class: "j-header-sceleton w-full" }, bt = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ o("div", { class: "image" }) | ||
], -1), St = [ | ||
bt | ||
]; | ||
function $t(e, l) { | ||
return t(), s("div", ht, St); | ||
function $t(e, r) { | ||
return t(), s("div", gt, St); | ||
} | ||
const xt = /* @__PURE__ */ b(gt, [["render", $t]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
const xt = /* @__PURE__ */ b(ht, [["render", $t]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
@@ -744,17 +745,17 @@ default: xt | ||
setup(e) { | ||
const l = e, { data: r, customWrapper: o } = B(l); | ||
return (i, a) => (t(), s("div", Jt, [ | ||
(t(), g(T(n(o)), { | ||
to: n(r).imgSource | ||
const r = e, { data: l, customWrapper: i } = B(r); | ||
return (u, a) => (t(), s("div", Jt, [ | ||
(t(), h(T(n(i)), { | ||
to: n(l).imgSource | ||
}, { | ||
default: z(() => [ | ||
u("img", { | ||
src: n(r).img, | ||
alt: n(r).alt | ||
o("img", { | ||
src: n(l).img, | ||
alt: n(l).alt | ||
}, null, 8, jt), | ||
(t(), g(T(n(o)), { | ||
to: n(r).textSource | ||
(t(), h(T(n(i)), { | ||
to: n(l).textSource | ||
}, { | ||
default: z(() => [ | ||
u("div", kt, S(n(r).text), 1) | ||
o("div", kt, S(n(l).text), 1) | ||
]), | ||
@@ -772,3 +773,27 @@ _: 1 | ||
class: "slider-tracker container" | ||
}, It = { class: "slider-indicators" }, Mt = ["onClick"], Nt = { | ||
}, It = { class: "slider-indicators" }, Mt = ["onClick"], Ct = { | ||
style: { fill: "currentColor" }, | ||
viewBox: "0,0,24,24", | ||
width: 70, | ||
height: 70, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, Ht = /* @__PURE__ */ o("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z" | ||
}, null, -1), zt = [ | ||
Ht | ||
], Tt = { | ||
style: { fill: "currentColor" }, | ||
viewBox: "0,0,24,24", | ||
width: 70, | ||
height: 70, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, At = /* @__PURE__ */ o("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z" | ||
}, null, -1), Bt = [ | ||
At | ||
], Zt = { | ||
__name: "JSlider", | ||
@@ -812,12 +837,12 @@ props: { | ||
setup(e) { | ||
const l = e; | ||
const r = e; | ||
se((y) => ({ | ||
"377cc868": _.value | ||
"2ee84937": f.value | ||
})); | ||
const { slides: r, autoSlide: o, scrollInterval: i, showIndicators: a, customWrapper: f } = B(l), d = H(l.activeSlide), _ = H(l.animationTime), J = p( | ||
() => Math.abs(d.value % r.value.length) | ||
const { slides: l, autoSlide: i, scrollInterval: u, showIndicators: a, customWrapper: _ } = B(r), d = H(r.activeSlide), f = H(r.animationTime), J = p( | ||
() => Math.abs(d.value % l.value.length) | ||
), C = p( | ||
() => X(d.value, r.value) | ||
() => X(d.value, l.value) | ||
), q = H(!1), m = H(""), O = H(!1); | ||
let L = null; | ||
let E = null; | ||
function D(y) { | ||
@@ -836,7 +861,7 @@ q.value || (q.value = !0, m.value = y, d.value += y === "slide-left" ? 1 : -1); | ||
ne(() => { | ||
!o.value || (L = setInterval(() => { | ||
!i.value || (E = setInterval(() => { | ||
O.value || N(); | ||
}, i.value * 1e3)); | ||
}), re(() => { | ||
clearInterval(L); | ||
}, u.value * 1e3)); | ||
}), le(() => { | ||
clearInterval(E); | ||
}); | ||
@@ -851,3 +876,3 @@ function ee(y) { | ||
}, [ | ||
A(le, { | ||
A(re, { | ||
name: "slide", | ||
@@ -869,6 +894,6 @@ onAfterEnter: Y, | ||
n(a) ? (t(), s("div", Ot, [ | ||
u("ol", It, [ | ||
(t(!0), s(x, null, w(n(r), ($, I) => (t(), s("li", { | ||
o("ol", It, [ | ||
(t(!0), s(x, null, w(n(l), ($, I) => (t(), s("li", { | ||
class: M(["slide-indicator", n(J) === I ? "active" : null]), | ||
onClick: (Ct) => ee(I), | ||
onClick: (Lt) => ee(I), | ||
key: I | ||
@@ -878,10 +903,14 @@ }, null, 10, Mt))), 128)) | ||
])) : c("", !0), | ||
u("button", { | ||
o("button", { | ||
class: "button-slide button-slide-left", | ||
onClick: Q | ||
}, "Prev"), | ||
u("button", { | ||
}, [ | ||
(t(), s("svg", Ct, zt)) | ||
]), | ||
o("button", { | ||
class: "button-slide button-slide-right", | ||
onClick: N | ||
}, "Next") | ||
}, [ | ||
(t(), s("svg", Tt, Bt)) | ||
]) | ||
], 32)); | ||
@@ -891,20 +920,20 @@ } | ||
export { | ||
Pt as JBadge, | ||
Rt as JBadge, | ||
qt as JBanner, | ||
At as JCard, | ||
Bt as JCardSceleton, | ||
Nt as JCard, | ||
Ft as JCardSceleton, | ||
Ye as JCol, | ||
Lt as JFooter, | ||
Wt as JFooter, | ||
We as JFooterImage, | ||
Le as JFooterLabel, | ||
Ee as JFooterLabel, | ||
Ve as JFooterMenu, | ||
Dt as JFooterSceleton, | ||
Ut as JFooterSceleton, | ||
yt as JHeader, | ||
xt as JHeaderSceleton, | ||
Pe as JImage, | ||
Et as JImageSceleton, | ||
Le as JImage, | ||
Vt as JImageSceleton, | ||
Xe as JRow, | ||
Nt as JSlider, | ||
Tt as MInput, | ||
zt as VButton | ||
Zt as JSlider, | ||
Dt as MInput, | ||
Et as VButton | ||
}; |
@@ -1,1 +0,1 @@ | ||
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.MyLib={},i.Vue))})(this,function(i,e){"use strict";const f=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o},H={};function I(t,n){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const P=f(H,[["render",I]]),T={};function F(t,n){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const L=f(T,[["render",F]]),At="",A=t=>(e.pushScopeId("data-v-dfc1ec80"),t=t(),e.popScopeId(),t),R={key:0,class:"relative max-w-[230px]"},K={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},W={class:"flex"},Z={class:"flex ml-auto absolute right-0"},U={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 mx-1"},G=A(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),Q={class:"flex"},X={class:"flex ml-auto"},Y={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},v={key:0},ee={key:1},te={key:2},oe=f(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},timeDuration:{type:String,required:!1,default:"03:11"},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const n=t,o=e.useAttrs(),l=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:s,showViews:r,showDate:c}=e.toRefs(n),a=e.computed(()=>s.value||r.value||c.value);return(m,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},m.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("div",K,[e.createElementVNode("div",W,[e.renderSlot(m.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",Z,[e.renderSlot(m.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",U,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),G,e.createElementVNode("div",Q,[e.renderSlot(m.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",X,[e.renderSlot(m.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(m.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(a)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.titleStyle)},e.toDisplayString(t.title),5)):e.createCommentVNode("",!0),e.unref(a)?(e.openBlock(),e.createElementBlock("div",Y,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",ee,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-dfc1ec80"]]),Wt="",ne=t=>(e.pushScopeId("data-v-b6261246"),t=t(),e.popScopeId(),t),le={key:0,class:"relative"},re=ne(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),se={key:0,class:"jcard-sceleton-title"},ae={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},ce={key:0},ie={key:1},de={key:2},me=f(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const n=t,o=e.useAttrs(),l=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:s,showViews:r,showDate:c}=e.toRefs(n),a=e.computed(()=>s.value||r.value||c.value);return(m,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},m.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",le,[re,e.renderSlot(m.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(a)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",se)):e.createCommentVNode("",!0),e.unref(a)?(e.openBlock(),e.createElementBlock("div",ae,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",ce)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",ie)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("span",de)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-b6261246"]]),pe={};function fe(t,n){return e.openBlock(),e.createElementBlock("span",e.mergeProps({class:"rounded py-0.5 px-1 flex items-center justify-center"},t.$attrs),[e.renderSlot(t.$slots,"default")],16)}const _e=f(pe,[["render",fe]]),ue=["src"],S={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:"Video Card Placeholder",class:"w-full"},n.$attrs),null,16,ue))}},Gt="",he=f({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},n.$attrs),null,16))}},[["__scopeId","data-v-4e30e0b0"]]),ye={__name:"JFooter",props:{children:{type:Array,required:!0,default:[]}},setup(t){function n(o){return o==="label"?e.markRaw(E):o==="menu"?e.markRaw($):e.markRaw(x)}return(o,l)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(o.$attrs,{class:"j-footer w-full flex flex-wrap gap-4"}),[e.renderSlot(o.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,s=>(e.openBlock(),e.createBlock(e.unref(w),{key:s.id,"x-alignment":s.props.xAlignment,"y-alignment":s.props.yAlignment},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.children,r=>(e.openBlock(),e.createBlock(e.unref(C),{key:r.id,columns:r.props.columns},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.children,c=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n(c.type)),{key:c.id,data:c.props,style:e.normalizeStyle(c.style)},null,8,["data","style"]))),128))]),_:2},1032,["columns"]))),128))]),_:2},1032,["x-alignment","y-alignment"]))),128))])],16))}},E={__name:"JFooterLabel",props:{data:{type:Object,default:{text:{type:String,default:""}}}},setup(t){const n=t,{text:o}=n.data;return(l,s)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(l.$attrs,{class:"p-4"}),e.toDisplayString(e.unref(o)),17))}},Xt="",ge={key:0,class:"mb-6"},ke={class:"menu-item"},Be={class:"cursor-pointer item"},$=f({__name:"JFooterMenu",props:{data:{type:Object,default:{title:{type:String,default:""},menu:{type:Array,default:[]},orientation:{type:String,default:"vertical"}}}},setup(t){const n=t,{title:o,menu:l,orientation:s}=n.data;return(r,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(r.$attrs,{class:"p-4"}),[e.unref(o)?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("h5",null,e.toDisplayString(e.unref(o)),1)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex flex-wrap gap-4 text-sm",e.unref(s)==="horizontal"?"flex-row":"flex-col"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).items,a=>(e.openBlock(),e.createElementBlock("li",ke,[e.createElementVNode("a",Be,e.toDisplayString(a.navigationLabel),1)]))),256))],2)],16))}},[["__scopeId","data-v-b5ccdf48"]]),x={__name:"JFooterImage",props:{data:{type:Object,default:{image:{type:String,default:""}}}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.unref(S),{"image-src":t.data.image},null,8,["image-src"]))}},vt="",be={},Se={class:"j-footer-sceleton"},Ee=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"}),e.createElementVNode("div",{class:"content"},[e.createElementVNode("h2"),e.createElementVNode("p")])],-1)];function $e(t,n){return e.openBlock(),e.createElementBlock("div",Se,Ee)}const xe=f(be,[["render",$e]]),w={__name:"JRow",props:{alignment:{type:Object,default:{horizontal:null,vertical:null}},xAlignment:{type:[String,null],default:null},yAlignment:{type:[String,null],default:null}},setup(t){const n=t,o={left:"justify-start",right:"justify-end",center:"justify-center"},l={top:"items-start",bottom:"items-end",center:"items-center"},s=e.computed(()=>{const{xAlignment:r,yAlignment:c}=n;return`${r?o[r]:""}${c?" "+l[c]:""}`});return(r,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-row w-full relative flex flex-wrap",e.unref(s)])},[e.renderSlot(r.$slots,"default")],2))}},C={__name:"JCol",props:{columns:{type:[String,Number],default:null}},setup(t){const n={1:"basis-1/12",2:"basis-2/12",3:"basis-3/12",4:"basis-4/12",5:"basis-5/12",6:"basis-6/12",7:"basis-7/12",8:"basis-8/12",9:"basis-9/12",10:"basis-10/12",11:"basis-11/12",12:"basis-full"};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-column flex flex-col",n[t.columns]])},[e.renderSlot(o.$slots,"default")],2))}},we=(t,n)=>{const o=t[n];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+n)))})},V={__name:"JHeaderActions",props:{settings:{type:Object,required:!0},actions:{type:Array,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:n}){const o={language:"Language",notifications:"Notifications",profile:"Profile",search:"Search"};function l(r){return e.defineAsyncComponent(()=>we(Object.assign({"./JHeader.vue":()=>Promise.resolve().then(()=>Pe),"./JHeaderLanguage.vue":()=>Promise.resolve().then(()=>nt),"./JHeaderLogo.vue":()=>Promise.resolve().then(()=>Oe),"./JHeaderMenu.vue":()=>Promise.resolve().then(()=>De),"./JHeaderMenuItems.vue":()=>Promise.resolve().then(()=>Ne),"./JHeaderNotifications.vue":()=>Promise.resolve().then(()=>yt),"./JHeaderProfile.vue":()=>Promise.resolve().then(()=>Et),"./JHeaderSceleton.vue":()=>Promise.resolve().then(()=>Re),"./JHeaderSearch.vue":()=>Promise.resolve().then(()=>It)}),`./JHeader${o[r]}.vue`))}function s(r){n("customEvent",r)}return(r,c)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,a=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(a)),{key:`action-${a}`,style:e.normalizeStyle(t.iconsStyle),onCustomEvent:s,icon:t.iconsStyle?{...t.settings[a].iconSettings,size:t.iconsStyle.size}:t.settings[a].iconSettings},null,40,["style","icon"]))),128))]))}},to="",Ce={class:"menu-item"},Ve=["href"],b=f({__name:"JHeaderMenuItems",props:{menuItems:{type:Array,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("ul",e.normalizeProps(e.guardReactiveProps(n.$attrs)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.menuItems,l=>(e.openBlock(),e.createElementBlock("li",Ce,[e.createElementVNode("a",{class:"cursor-pointer item",href:l.url,target:"_blank"},e.toDisplayString(l.navigationLabel),9,Ve)]))),256))],16))}},[["__scopeId","data-v-70ca0b02"]]),Ne=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"})),no="",je={class:"logo flex"},ze={class:"w-full m-auto"},Je=["src"],N=f({__name:"JHeaderLogo",props:{imageSrc:{type:String,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("a",ze,[e.createElementVNode("img",{src:t.imageSrc,alt:"logo",class:""},null,8,Je)])]))}},[["__scopeId","data-v-21179e41"]]),Oe=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"})),Me={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},qe=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.6 18.2a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 12a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 5.8a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6z"},null,-1)],j={__name:"JHeaderMenu",props:{isMobile:{type:Boolean,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("a",null,[(e.openBlock(),e.createElementBlock("svg",Me,qe))])]))}},De=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"})),He={key:1,class:"flex-1"},Ie={key:0,class:"flex-1"},z={__name:"JHeader",props:{menuItems:{type:Array,default:null},settings:{type:Object,required:!0},components:{type:Object,required:!0},breakpoint:{type:String,required:!0},menuStyle:{type:Object,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:n}){const o=t,{breakpoint:l,components:s,settings:r}=o,c=e.computed(()=>l==="mobile"),a=e.computed(()=>l==="desktop"),m=e.computed(()=>s.menu),d=e.computed(()=>s.logo),B=e.computed(()=>Object.entries(s).filter(([p,g])=>g&&p!=="logo"&&p!=="menu").map(p=>p[0]));function y(p){n("customEvent",p)}return(p,g)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(p.$attrs,{key:`header-${e.unref(l)}`}),[e.createElementVNode("nav",e.mergeProps({class:"w-full flex gap-4 justify-between items-center px-6 py-2"},p.$attrs),[e.unref(d)?(e.openBlock(),e.createBlock(N,{key:0,"image-src":e.unref(r).logo.source},null,8,["image-src"])):e.createCommentVNode("",!0),e.unref(m)&&e.unref(a)?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(b,{class:"flex flex-row items-center gap-6 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"])])):e.createCommentVNode("",!0),e.unref(c)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(V,{key:2,class:"actions flex ml-auto gap-x-4",onCustomEvent:y,settings:e.unref(r),actions:e.unref(B),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])),e.unref(m)&&!e.unref(a)?(e.openBlock(),e.createBlock(j,{key:3,"is-mobile":e.unref(c)},null,8,["is-mobile"])):e.createCommentVNode("",!0)],16),e.unref(m)&&!e.unref(a)?(e.openBlock(),e.createElementBlock("div",Ie,[e.createVNode(b,{class:"flex flex-col gap-y-7 items-center py-10 px-2 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"]),e.unref(c)&&e.unref(B).length?(e.openBlock(),e.createBlock(V,{key:0,class:"actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4",settings:e.unref(r),actions:e.unref(B),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16))}},Pe=Object.freeze(Object.defineProperty({__proto__:null,default:z},Symbol.toStringTag,{value:"Module"})),so="",Te={},Fe={class:"j-header-sceleton"},Le=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"})],-1)];function Ae(t,n){return e.openBlock(),e.createElementBlock("div",Fe,Le)}const J=f(Te,[["render",Ae]]),Re=Object.freeze(Object.defineProperty({__proto__:null,default:J},Symbol.toStringTag,{value:"Module"})),co="",Ke={class:"j-banner"},We=["src","alt"],Ze={class:"slider-content"},O={__name:"JBanner",props:{data:{type:Object,required:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},setup(t){const n=t,{data:o,customWrapper:l}=e.toRefs(n);return(s,r)=>(e.openBlock(),e.createElementBlock("div",Ke,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(o).imgSource},{default:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref(o).img,alt:e.unref(o).alt},null,8,We),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(o).textSource},{default:e.withCtx(()=>[e.createElementVNode("div",Ze,e.toDisplayString(e.unref(o).text),1)]),_:1},8,["to"]))]),_:1},8,["to"]))]))}},io="",Ue={key:0,class:"slider-tracker container"},Ge={class:"slider-indicators"},Qe=["onClick"],Xe={__name:"JSlider",props:{slides:{type:Array,required:!0},autoSlide:{type:Boolean,required:!1,default:!1},scrollInterval:{type:[Number,String],required:!1,default:!1},activeSlide:{type:Number,required:!1,default:0},animationTime:{type:String,required:!1,default:".6s"},showIndicators:{type:Boolean,required:!1,default:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},setup(t){const n=t;e.useCssVars(_=>({"377cc868":m.value}));const{slides:o,autoSlide:l,scrollInterval:s,showIndicators:r,customWrapper:c}=e.toRefs(n),a=e.ref(n.activeSlide),m=e.ref(n.animationTime),d=e.computed(()=>Math.abs(a.value%o.value.length)),B=e.computed(()=>Tt(a.value,o.value)),y=e.ref(!1),p=e.ref(""),g=e.ref(!1);let M=null;function q(_){y.value||(y.value=!0,p.value=_,a.value+=_==="slide-left"?1:-1)}const Pt=()=>q("slide-right"),D=()=>q("slide-left");function Tt(_,h){const u=Math.abs(_%h.length);var k=[h[u]];return k}function Ft(){y.value=!1}e.onMounted(()=>{!l.value||(M=setInterval(()=>{g.value||D()},s.value*1e3))}),e.onUnmounted(()=>{clearInterval(M)});function Lt(_){y.value||(_<d.value?(p.value="slide-right",a.value=_):_>d.value&&(p.value="slide-left",a.value=_))}return(_,h)=>(e.openBlock(),e.createElementBlock("div",{class:"j-slider",onMouseover:h[0]||(h[0]=u=>g.value=!0),onMouseleave:h[1]||(h[1]=u=>g.value=!1)},[e.createVNode(e.TransitionGroup,{name:"slide",onAfterEnter:Ft,tag:"div",class:e.normalizeClass(["j-slider-wrapper",p.value])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B),(u,k)=>(e.openBlock(),e.createElementBlock("div",{key:u.text,class:e.normalizeClass(["slide-page",u.text])},[e.createVNode(O,{data:u},null,8,["data"])],2))),128))]),_:1},8,["class"]),e.unref(r)?(e.openBlock(),e.createElementBlock("div",Ue,[e.createElementVNode("ol",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(u,k)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["slide-indicator",e.unref(d)===k?"active":null]),onClick:Eo=>Lt(k),key:k},null,10,Qe))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"button-slide button-slide-left",onClick:Pt},"Prev"),e.createElementVNode("button",{class:"button-slide button-slide-right",onClick:D},"Next")],32))}},mo="",Ye={class:"j-profile flex"},ve=["onKeydown"],et=["width","height"],tt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.383 12.505l.199-.199a14.88 14.88 0 003.147-5.541l.054-.176h1.85a.616.616 0 100-1.232h-5.43V4.244a.614.614 0 10-1.228 0v1.113H3.54a.61.61 0 100 1.219h9.14l-.116.332a13.892 13.892 0 01-2.788 4.714l-.186.207-.186-.207a13.905 13.905 0 01-1.796-2.506.581.581 0 00-.503-.304c-.409 0-.646.41-.466.735a15.082 15.082 0 001.988 2.786l.16.177-3.945 3.898a.612.612 0 10.862.868L9.59 13.39l1.926 1.926a.602.602 0 10.848-.854l-1.98-1.957zM14.706 17.812h4.448l.836 2.228a.559.559 0 101.046-.392l-3.173-8.463a.996.996 0 00-1.866 0l-3.173 8.463a.559.559 0 101.046.392l.836-2.228zm.46-1.228l1.764-4.706 1.764 4.706h-3.528z"},null,-1)],ot={key:0,class:"j-profile-dropdown-wrapper"},nt=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderLanguage",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:n}){const o=e.ref(!1),l=()=>{o.value=!o.value},s=()=>{o.value=!1};function r(c){console.log("deep Child onClickOptionSearch",c),n("customEvent",{type:"search-option-click",event:c})}return(c,a)=>(e.openBlock(),e.createElementBlock("div",Ye,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(s,["esc"]),onBlur:s,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},tt,8,et))],40,ve),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"1"},"English"),e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"2"},"Shqip")])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),_o="",lt={class:"j-notification flex"},rt=["onKeydown"],st=["width","height"],at=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.867 5.6a3.587 3.587 0 00-3.584 3.455l-.083 2.24a7.885 7.885 0 01-1.926 4.862c1.267.104 3.391.243 5.726.243 2.334 0 4.397-.139 5.617-.243a8.509 8.509 0 01-1.944-4.677l-.233-2.612A3.587 3.587 0 0011.867 5.6zM7.083 9.01a4.787 4.787 0 019.552-.249l.233 2.613a7.312 7.312 0 001.812 4.179c.558.629.22 1.694-.69 1.776A68.766 68.766 0 0112 17.6c-2.61 0-4.957-.17-6.176-.277-.89-.078-1.224-1.133-.65-1.74a6.688 6.688 0 001.827-4.332l.082-2.24zM14.6 19a.6.6 0 01-.6.6h-4a.6.6 0 110-1.2h4a.6.6 0 01.6.6z"},null,-1)],ct={key:0,class:"notification-suggestion-wrapper"},it=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Notification ",-1),dt=["value"],mt={class:"flex m-0"},pt={class:"suggestion-img-holder"},ft=["src"],_t={class:"basis-full px-2"},ut={class:"text-left text-xs font-semibold"},ht={class:"flex justify-start text-xs text-gray-600"},yt=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderNotifications",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:n}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(!1),s=()=>{l.value=!l.value},r=()=>{l.value=!1};function c(a){console.log("deep Child onClickOptionSearch",a),n("customEvent",{type:"search-option-click",event:a})}return(a,m)=>(e.openBlock(),e.createElementBlock("div",lt,[e.createElementVNode("div",{class:e.normalizeClass(["notification-wrapper",l.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(r,["esc"]),onBlur:r,onClick:s},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},at,8,st))],40,rt),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",ct,[it,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"mb-3",onClick:c,value:d.source},[e.createElementVNode("div",mt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",pt,[e.createElementVNode("img",{src:d.img},null,8,ft)]),e.createElementVNode("div",_t,[e.createElementVNode("div",null,[e.createElementVNode("h5",ut,e.toDisplayString(d.text),1),e.createElementVNode("p",ht,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,dt)),64))])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),yo="",gt={class:"j-profile flex"},kt=["onKeydown"],Bt=["width","height"],bt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 4.6c-1.848 0-3.3 1.427-3.3 3.133s1.452 3.133 3.3 3.133c1.848 0 3.3-1.427 3.3-3.133S13.848 4.6 12 4.6zM7.5 7.733C7.5 5.315 9.54 3.4 12 3.4s4.5 1.915 4.5 4.333-2.04 4.333-4.5 4.333-4.5-1.915-4.5-4.333zm1.9 6.999c-1.847 0-3.3 1.427-3.3 3.135V18a1.4 1.4 0 001.4 1.4h9a1.4 1.4 0 001.4-1.4v-.133c0-1.708-1.453-3.135-3.3-3.135H9.4zm-4.5 3.135c0-2.419 2.04-4.335 4.5-4.335h5.2c2.46 0 4.5 1.916 4.5 4.335V18a2.6 2.6 0 01-2.6 2.6h-9A2.6 2.6 0 014.9 18v-.133z"},null,-1)],St={key:0,class:"j-profile-dropdown-wrapper"},Et=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderProfile",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:n}){const o=e.ref(!1),l=()=>{o.value=!o.value},s=()=>{o.value=!1};function r(c){console.log("deep Child onClickOptionSearch",c),n("customEvent",{type:"search-option-click",event:c})}return(c,a)=>(e.openBlock(),e.createElementBlock("div",gt,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(s,["esc"]),onBlur:s,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},bt,8,Bt))],40,kt),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"1"},"Designer"),e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"2"},"Developer")])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),Bo="",$t={class:"j-search flex"},xt=["onKeydown"],wt={key:0,class:"search-suggestion-wrapper"},Ct=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Video ",-1),Vt=["value"],Nt={class:"flex m-0"},jt={class:"suggestion-img-holder"},zt=["src"],Jt={class:"basis-full px-2"},Ot={class:"text-left text-xs font-semibold"},Mt={class:"flex justify-start text-xs text-gray-600"},qt={class:"icon flex items-center justify-center"},Dt=["width","height"],Ht=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3911 15.4518C13.1902 16.4202 11.6628 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 11.6628 16.4202 13.1902 15.4518 14.3911L20.5303 19.4697C20.8232 19.7626 20.8232 20.2374 20.5303 20.5303C20.2374 20.8232 19.7626 20.8232 19.4697 20.5303L14.3911 15.4518ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"currentColor"},null,-1)],It=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderSearch",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:n}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(null),s=()=>{l.value=!1};function r(a){l.value=!0,console.log("deep Child search",a),n("customEvent",{type:"search-input-change",event:a})}function c(a){console.log("deep Child onClickOptionSearch",a),n("customEvent",{type:"search-option-click",event:a})}return(a,m)=>(e.openBlock(),e.createElementBlock("div",$t,[e.createElementVNode("div",{class:e.normalizeClass(["search-input",l.value?"active":null])},[e.createElementVNode("input",{type:"text",onInput:r,onKeydown:e.withKeys(s,["esc"]),onBlur:s,placeholder:"Type to search.."},null,40,xt),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",wt,[Ct,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"mb-3",onClick:c,value:d.source},[e.createElementVNode("div",Nt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",jt,[e.createElementVNode("img",{src:d.img},null,8,zt)]),e.createElementVNode("div",Jt,[e.createElementVNode("div",null,[e.createElementVNode("h5",Ot,e.toDisplayString(d.text),1),e.createElementVNode("p",Mt,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,Vt)),64))])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",qt,[(e.openBlock(),e.createElementBlock("svg",{width:t.icon.size,height:t.icon.size,viewBox:"0 0 24 24",fill:"none"},Ht,8,Dt))])],2)]))}}},Symbol.toStringTag,{value:"Module"}));i.JBadge=_e,i.JBanner=O,i.JCard=oe,i.JCardSceleton=me,i.JCol=C,i.JFooter=ye,i.JFooterImage=x,i.JFooterLabel=E,i.JFooterMenu=$,i.JFooterSceleton=xe,i.JHeader=z,i.JHeaderSceleton=J,i.JImage=S,i.JImageSceleton=he,i.JRow=w,i.JSlider=Xe,i.MInput=L,i.VButton=P,Object.defineProperties(i,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); | ||
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.MyLib={},i.Vue))})(this,function(i,e){"use strict";const _=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o},H={};function I(t,n){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const P=_(H,[["render",I]]),T={};function L(t,n){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const F=_(T,[["render",L]]),Zt="",A=t=>(e.pushScopeId("data-v-dfc1ec80"),t=t(),e.popScopeId(),t),R={key:0,class:"relative max-w-[230px]"},K={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},W={class:"flex"},Z={class:"flex ml-auto absolute right-0"},U={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 mx-1"},G=A(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),Q={class:"flex"},X={class:"flex ml-auto"},Y={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},v={key:0},ee={key:1},te={key:2},oe=_(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},timeDuration:{type:String,required:!1,default:"03:11"},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const n=t,o=e.useAttrs(),l=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:s,showViews:r,showDate:c}=e.toRefs(n),a=e.computed(()=>s.value||r.value||c.value);return(m,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},m.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("div",K,[e.createElementVNode("div",W,[e.renderSlot(m.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",Z,[e.renderSlot(m.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",U,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),G,e.createElementVNode("div",Q,[e.renderSlot(m.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",X,[e.renderSlot(m.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(m.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(a)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.titleStyle)},e.toDisplayString(t.title),5)):e.createCommentVNode("",!0),e.unref(a)?(e.openBlock(),e.createElementBlock("div",Y,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",ee,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-dfc1ec80"]]),Qt="",ne=t=>(e.pushScopeId("data-v-b6261246"),t=t(),e.popScopeId(),t),le={key:0,class:"relative"},re=ne(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),se={key:0,class:"jcard-sceleton-title"},ae={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},ce={key:0},ie={key:1},de={key:2},me=_(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const n=t,o=e.useAttrs(),l=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:s,showViews:r,showDate:c}=e.toRefs(n),a=e.computed(()=>s.value||r.value||c.value);return(m,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},m.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",le,[re,e.renderSlot(m.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(a)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",se)):e.createCommentVNode("",!0),e.unref(a)?(e.openBlock(),e.createElementBlock("div",ae,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",ce)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",ie)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("span",de)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-b6261246"]]),pe={};function _e(t,n){return e.openBlock(),e.createElementBlock("span",e.mergeProps({class:"rounded py-0.5 px-1 flex items-center justify-center"},t.$attrs),[e.renderSlot(t.$slots,"default")],16)}const fe=_(pe,[["render",_e]]),he=["src"],S={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:"Video Card Placeholder",class:"w-full"},n.$attrs),null,16,he))}},vt="",ue=_({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},n.$attrs),null,16))}},[["__scopeId","data-v-4e30e0b0"]]),ye={__name:"JFooter",props:{children:{type:Array,required:!0,default:[]}},setup(t){function n(o){return o==="label"?e.markRaw(E):o==="menu"?e.markRaw($):e.markRaw(w)}return(o,l)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(o.$attrs,{class:"j-footer w-full container mx-auto flex flex-wrap gap-4"}),[e.renderSlot(o.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,s=>(e.openBlock(),e.createBlock(e.unref(x),{key:s.id,"x-alignment":s.props.xAlignment,"y-alignment":s.props.yAlignment},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.children,r=>(e.openBlock(),e.createBlock(e.unref(C),{key:r.id,columns:r.props.columns},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.children,c=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n(c.type)),{key:c.id,data:c.props,style:e.normalizeStyle(c.style)},null,8,["data","style"]))),128))]),_:2},1032,["columns"]))),128))]),_:2},1032,["x-alignment","y-alignment"]))),128))])],16))}},E={__name:"JFooterLabel",props:{data:{type:Object,default:{text:{type:String,default:""}}}},setup(t){const n=t,{text:o}=n.data;return(l,s)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(l.$attrs,{class:"p-4"}),e.toDisplayString(e.unref(o)),17))}},to="",ge={key:0,class:"mb-6"},ke={class:"menu-item"},Be={class:"cursor-pointer item"},$=_({__name:"JFooterMenu",props:{data:{type:Object,default:{title:{type:String,default:""},menu:{type:Array,default:[]},orientation:{type:String,default:"vertical"}}}},setup(t){const n=t,{title:o,menu:l,orientation:s}=n.data;return(r,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(r.$attrs,{class:"p-4"}),[e.unref(o)?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("h5",null,e.toDisplayString(e.unref(o)),1)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex flex-wrap gap-4 text-sm",e.unref(s)==="horizontal"?"flex-row":"flex-col"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).items,a=>(e.openBlock(),e.createElementBlock("li",ke,[e.createElementVNode("a",Be,e.toDisplayString(a.navigationLabel),1)]))),256))],2)],16))}},[["__scopeId","data-v-b5ccdf48"]]),w={__name:"JFooterImage",props:{data:{type:Object,default:{image:{type:String,default:""}}}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.unref(S),{"image-src":t.data.image},null,8,["image-src"]))}},no="",be={},Se={class:"j-footer-sceleton w-full"},Ee=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"}),e.createElementVNode("div",{class:"content"},[e.createElementVNode("h2"),e.createElementVNode("p")])],-1)];function $e(t,n){return e.openBlock(),e.createElementBlock("div",Se,Ee)}const we=_(be,[["render",$e]]),x={__name:"JRow",props:{alignment:{type:Object,default:{horizontal:null,vertical:null}},xAlignment:{type:[String,null],default:null},yAlignment:{type:[String,null],default:null}},setup(t){const n=t,o={left:"justify-start",right:"justify-end",center:"justify-center"},l={top:"items-start",bottom:"items-end",center:"items-center"},s=e.computed(()=>{const{xAlignment:r,yAlignment:c}=n;return`${r?o[r]:""}${c?" "+l[c]:""}`});return(r,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-row w-full relative flex flex-wrap",e.unref(s)])},[e.renderSlot(r.$slots,"default")],2))}},C={__name:"JCol",props:{columns:{type:[String,Number],default:null}},setup(t){const n={1:"basis-1/12",2:"basis-2/12",3:"basis-3/12",4:"basis-4/12",5:"basis-5/12",6:"basis-6/12",7:"basis-7/12",8:"basis-8/12",9:"basis-9/12",10:"basis-10/12",11:"basis-11/12",12:"basis-full"};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-column flex flex-col",n[t.columns]])},[e.renderSlot(o.$slots,"default")],2))}},xe=(t,n)=>{const o=t[n];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+n)))})},V={__name:"JHeaderActions",props:{settings:{type:Object,required:!0},actions:{type:Array,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:n}){const o={language:"Language",notifications:"Notifications",profile:"Profile",search:"Search"};function l(r){return e.defineAsyncComponent(()=>xe(Object.assign({"./JHeader.vue":()=>Promise.resolve().then(()=>Pe),"./JHeaderLanguage.vue":()=>Promise.resolve().then(()=>at),"./JHeaderLogo.vue":()=>Promise.resolve().then(()=>Oe),"./JHeaderMenu.vue":()=>Promise.resolve().then(()=>De),"./JHeaderMenuItems.vue":()=>Promise.resolve().then(()=>Ne),"./JHeaderNotifications.vue":()=>Promise.resolve().then(()=>bt),"./JHeaderProfile.vue":()=>Promise.resolve().then(()=>Ct),"./JHeaderSceleton.vue":()=>Promise.resolve().then(()=>Re),"./JHeaderSearch.vue":()=>Promise.resolve().then(()=>Ft)}),`./JHeader${o[r]}.vue`))}function s(r){n("customEvent",r)}return(r,c)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,a=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(a)),{key:`action-${a}`,style:e.normalizeStyle(t.iconsStyle),onCustomEvent:s,icon:t.iconsStyle?{...t.settings[a].iconSettings,size:t.iconsStyle.size}:t.settings[a].iconSettings},null,40,["style","icon"]))),128))]))}},ro="",Ce={class:"menu-item"},Ve=["href"],b=_({__name:"JHeaderMenuItems",props:{menuItems:{type:Array,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("ul",e.normalizeProps(e.guardReactiveProps(n.$attrs)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.menuItems,l=>(e.openBlock(),e.createElementBlock("li",Ce,[e.createElementVNode("a",{class:"cursor-pointer item",href:l.url,target:"_blank"},e.toDisplayString(l.navigationLabel),9,Ve)]))),256))],16))}},[["__scopeId","data-v-70ca0b02"]]),Ne=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"})),ao="",je={class:"logo flex"},ze={class:"w-full m-auto"},Je=["src"],N=_({__name:"JHeaderLogo",props:{imageSrc:{type:String,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("a",ze,[e.createElementVNode("img",{src:t.imageSrc,alt:"logo",class:""},null,8,Je)])]))}},[["__scopeId","data-v-21179e41"]]),Oe=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"})),Me={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},qe=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.6 18.2a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 12a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 5.8a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6z"},null,-1)],j={__name:"JHeaderMenu",props:{isMobile:{type:Boolean,required:!0}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("a",null,[(e.openBlock(),e.createElementBlock("svg",Me,qe))])]))}},De=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"})),He={key:1,class:"flex-1"},Ie={key:0,class:"flex-1"},z={__name:"JHeader",props:{menuItems:{type:Array,default:null},settings:{type:Object,required:!0},components:{type:Object,required:!0},breakpoint:{type:String,required:!0},menuStyle:{type:Object,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:n}){const o=t,{breakpoint:l,components:s,settings:r}=o,c=e.computed(()=>l==="mobile"),a=e.computed(()=>l==="desktop"),m=e.computed(()=>s.menu),d=e.computed(()=>s.logo),B=e.computed(()=>Object.entries(s).filter(([p,g])=>g&&p!=="logo"&&p!=="menu").map(p=>p[0]));function y(p){n("customEvent",p)}return(p,g)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(p.$attrs,{key:`header-${e.unref(l)}`,class:"w-full"}),[e.createElementVNode("nav",e.mergeProps({class:"w-full flex container mx-auto gap-4 justify-between items-center py-2 px-2"},p.$attrs),[e.unref(d)?(e.openBlock(),e.createBlock(N,{key:0,"image-src":e.unref(r).logo.source},null,8,["image-src"])):e.createCommentVNode("",!0),e.unref(m)&&e.unref(a)?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(b,{class:"flex flex-row items-center gap-6 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"])])):e.createCommentVNode("",!0),e.unref(c)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(V,{key:2,class:"actions flex ml-auto gap-x-4",onCustomEvent:y,settings:e.unref(r),actions:e.unref(B),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])),e.unref(m)&&!e.unref(a)?(e.openBlock(),e.createBlock(j,{key:3,"is-mobile":e.unref(c)},null,8,["is-mobile"])):e.createCommentVNode("",!0)],16),e.unref(m)&&!e.unref(a)?(e.openBlock(),e.createElementBlock("div",Ie,[e.createVNode(b,{class:"flex flex-col gap-y-7 items-center py-10 px-2 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"]),e.unref(c)&&e.unref(B).length?(e.openBlock(),e.createBlock(V,{key:0,class:"actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4",settings:e.unref(r),actions:e.unref(B),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16))}},Pe=Object.freeze(Object.defineProperty({__proto__:null,default:z},Symbol.toStringTag,{value:"Module"})),mo="",Te={},Le={class:"j-header-sceleton w-full"},Fe=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"})],-1)];function Ae(t,n){return e.openBlock(),e.createElementBlock("div",Le,Fe)}const J=_(Te,[["render",Ae]]),Re=Object.freeze(Object.defineProperty({__proto__:null,default:J},Symbol.toStringTag,{value:"Module"})),_o="",Ke={class:"j-banner"},We=["src","alt"],Ze={class:"slider-content"},O={__name:"JBanner",props:{data:{type:Object,required:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},setup(t){const n=t,{data:o,customWrapper:l}=e.toRefs(n);return(s,r)=>(e.openBlock(),e.createElementBlock("div",Ke,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(o).imgSource},{default:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref(o).img,alt:e.unref(o).alt},null,8,We),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(o).textSource},{default:e.withCtx(()=>[e.createElementVNode("div",Ze,e.toDisplayString(e.unref(o).text),1)]),_:1},8,["to"]))]),_:1},8,["to"]))]))}},fo="",Ue={key:0,class:"slider-tracker container"},Ge={class:"slider-indicators"},Qe=["onClick"],Xe={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:70,height:70,xmlns:"http://www.w3.org/2000/svg"},Ye=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z"},null,-1)],ve={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:70,height:70,xmlns:"http://www.w3.org/2000/svg"},et=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z"},null,-1)],tt={__name:"JSlider",props:{slides:{type:Array,required:!0},autoSlide:{type:Boolean,required:!1,default:!1},scrollInterval:{type:[Number,String],required:!1,default:!1},activeSlide:{type:Number,required:!1,default:0},animationTime:{type:String,required:!1,default:".6s"},showIndicators:{type:Boolean,required:!1,default:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},setup(t){const n=t;e.useCssVars(f=>({"2ee84937":m.value}));const{slides:o,autoSlide:l,scrollInterval:s,showIndicators:r,customWrapper:c}=e.toRefs(n),a=e.ref(n.activeSlide),m=e.ref(n.animationTime),d=e.computed(()=>Math.abs(a.value%o.value.length)),B=e.computed(()=>Rt(a.value,o.value)),y=e.ref(!1),p=e.ref(""),g=e.ref(!1);let M=null;function q(f){y.value||(y.value=!0,p.value=f,a.value+=f==="slide-left"?1:-1)}const At=()=>q("slide-right"),D=()=>q("slide-left");function Rt(f,u){const h=Math.abs(f%u.length);var k=[u[h]];return k}function Kt(){y.value=!1}e.onMounted(()=>{!l.value||(M=setInterval(()=>{g.value||D()},s.value*1e3))}),e.onUnmounted(()=>{clearInterval(M)});function Wt(f){y.value||(f<d.value?(p.value="slide-right",a.value=f):f>d.value&&(p.value="slide-left",a.value=f))}return(f,u)=>(e.openBlock(),e.createElementBlock("div",{class:"j-slider",onMouseover:u[0]||(u[0]=h=>g.value=!0),onMouseleave:u[1]||(u[1]=h=>g.value=!1)},[e.createVNode(e.TransitionGroup,{name:"slide",onAfterEnter:Kt,tag:"div",class:e.normalizeClass(["j-slider-wrapper",p.value])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B),(h,k)=>(e.openBlock(),e.createElementBlock("div",{key:h.text,class:e.normalizeClass(["slide-page",h.text])},[e.createVNode(O,{data:h},null,8,["data"])],2))),128))]),_:1},8,["class"]),e.unref(r)?(e.openBlock(),e.createElementBlock("div",Ue,[e.createElementVNode("ol",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(h,k)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["slide-indicator",e.unref(d)===k?"active":null]),onClick:No=>Wt(k),key:k},null,10,Qe))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"button-slide button-slide-left",onClick:At},[(e.openBlock(),e.createElementBlock("svg",Xe,Ye))]),e.createElementVNode("button",{class:"button-slide button-slide-right",onClick:D},[(e.openBlock(),e.createElementBlock("svg",ve,et))])],32))}},yo="",ot={class:"j-profile flex"},nt=["onKeydown"],lt=["width","height"],rt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.383 12.505l.199-.199a14.88 14.88 0 003.147-5.541l.054-.176h1.85a.616.616 0 100-1.232h-5.43V4.244a.614.614 0 10-1.228 0v1.113H3.54a.61.61 0 100 1.219h9.14l-.116.332a13.892 13.892 0 01-2.788 4.714l-.186.207-.186-.207a13.905 13.905 0 01-1.796-2.506.581.581 0 00-.503-.304c-.409 0-.646.41-.466.735a15.082 15.082 0 001.988 2.786l.16.177-3.945 3.898a.612.612 0 10.862.868L9.59 13.39l1.926 1.926a.602.602 0 10.848-.854l-1.98-1.957zM14.706 17.812h4.448l.836 2.228a.559.559 0 101.046-.392l-3.173-8.463a.996.996 0 00-1.866 0l-3.173 8.463a.559.559 0 101.046.392l.836-2.228zm.46-1.228l1.764-4.706 1.764 4.706h-3.528z"},null,-1)],st={key:0,class:"j-profile-dropdown-wrapper"},at=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderLanguage",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:n}){const o=e.ref(!1),l=()=>{o.value=!o.value},s=()=>{o.value=!1};function r(c){console.log("deep Child onClickOptionSearch",c),n("customEvent",{type:"search-option-click",event:c})}return(c,a)=>(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(s,["esc"]),onBlur:s,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},rt,8,lt))],40,nt),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",st,[e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"1"},"English"),e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"2"},"Shqip")])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),Bo="",ct={class:"j-notification flex"},it=["onKeydown"],dt=["width","height"],mt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.867 5.6a3.587 3.587 0 00-3.584 3.455l-.083 2.24a7.885 7.885 0 01-1.926 4.862c1.267.104 3.391.243 5.726.243 2.334 0 4.397-.139 5.617-.243a8.509 8.509 0 01-1.944-4.677l-.233-2.612A3.587 3.587 0 0011.867 5.6zM7.083 9.01a4.787 4.787 0 019.552-.249l.233 2.613a7.312 7.312 0 001.812 4.179c.558.629.22 1.694-.69 1.776A68.766 68.766 0 0112 17.6c-2.61 0-4.957-.17-6.176-.277-.89-.078-1.224-1.133-.65-1.74a6.688 6.688 0 001.827-4.332l.082-2.24zM14.6 19a.6.6 0 01-.6.6h-4a.6.6 0 110-1.2h4a.6.6 0 01.6.6z"},null,-1)],pt={key:0,class:"notification-suggestion-wrapper"},_t=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Notification ",-1),ft=["value"],ht={class:"flex m-0"},ut={class:"suggestion-img-holder"},yt=["src"],gt={class:"basis-full px-2"},kt={class:"text-left text-xs font-semibold"},Bt={class:"flex justify-start text-xs text-gray-600"},bt=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderNotifications",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:n}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(!1),s=()=>{l.value=!l.value},r=()=>{l.value=!1};function c(a){console.log("deep Child onClickOptionSearch",a),n("customEvent",{type:"search-option-click",event:a})}return(a,m)=>(e.openBlock(),e.createElementBlock("div",ct,[e.createElementVNode("div",{class:e.normalizeClass(["notification-wrapper",l.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(r,["esc"]),onBlur:r,onClick:s},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},mt,8,dt))],40,it),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",pt,[_t,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"mb-3",onClick:c,value:d.source},[e.createElementVNode("div",ht,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",ut,[e.createElementVNode("img",{src:d.img},null,8,yt)]),e.createElementVNode("div",gt,[e.createElementVNode("div",null,[e.createElementVNode("h5",kt,e.toDisplayString(d.text),1),e.createElementVNode("p",Bt,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,ft)),64))])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),Eo="",St={class:"j-profile flex"},Et=["onKeydown"],$t=["width","height"],wt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 4.6c-1.848 0-3.3 1.427-3.3 3.133s1.452 3.133 3.3 3.133c1.848 0 3.3-1.427 3.3-3.133S13.848 4.6 12 4.6zM7.5 7.733C7.5 5.315 9.54 3.4 12 3.4s4.5 1.915 4.5 4.333-2.04 4.333-4.5 4.333-4.5-1.915-4.5-4.333zm1.9 6.999c-1.847 0-3.3 1.427-3.3 3.135V18a1.4 1.4 0 001.4 1.4h9a1.4 1.4 0 001.4-1.4v-.133c0-1.708-1.453-3.135-3.3-3.135H9.4zm-4.5 3.135c0-2.419 2.04-4.335 4.5-4.335h5.2c2.46 0 4.5 1.916 4.5 4.335V18a2.6 2.6 0 01-2.6 2.6h-9A2.6 2.6 0 014.9 18v-.133z"},null,-1)],xt={key:0,class:"j-profile-dropdown-wrapper"},Ct=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderProfile",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:n}){const o=e.ref(!1),l=()=>{o.value=!o.value},s=()=>{o.value=!1};function r(c){console.log("deep Child onClickOptionSearch",c),n("customEvent",{type:"search-option-click",event:c})}return(c,a)=>(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(s,["esc"]),onBlur:s,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},wt,8,$t))],40,Et),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",xt,[e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"1"},"Designer"),e.createElementVNode("li",{class:"text-xs font-bold cursor-pointer",onClick:r,value:"2"},"Developer")])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),xo="",Vt={class:"j-search flex"},Nt=["onKeydown"],jt={key:0,class:"search-suggestion-wrapper"},zt=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Video ",-1),Jt=["value"],Ot={class:"flex m-0"},Mt={class:"suggestion-img-holder"},qt=["src"],Dt={class:"basis-full px-2"},Ht={class:"text-left text-xs font-semibold"},It={class:"flex justify-start text-xs text-gray-600"},Pt={class:"icon flex items-center justify-center"},Tt=["width","height"],Lt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3911 15.4518C13.1902 16.4202 11.6628 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 11.6628 16.4202 13.1902 15.4518 14.3911L20.5303 19.4697C20.8232 19.7626 20.8232 20.2374 20.5303 20.5303C20.2374 20.8232 19.7626 20.8232 19.4697 20.5303L14.3911 15.4518ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"currentColor"},null,-1)],Ft=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderSearch",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:n}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(null),s=()=>{l.value=!1};function r(a){l.value=!0,console.log("deep Child search",a),n("customEvent",{type:"search-input-change",event:a})}function c(a){console.log("deep Child onClickOptionSearch",a),n("customEvent",{type:"search-option-click",event:a})}return(a,m)=>(e.openBlock(),e.createElementBlock("div",Vt,[e.createElementVNode("div",{class:e.normalizeClass(["search-input",l.value?"active":null])},[e.createElementVNode("input",{type:"text",onInput:r,onKeydown:e.withKeys(s,["esc"]),onBlur:s,placeholder:"Type to search.."},null,40,Nt),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",jt,[zt,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"mb-3",onClick:c,value:d.source},[e.createElementVNode("div",Ot,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",Mt,[e.createElementVNode("img",{src:d.img},null,8,qt)]),e.createElementVNode("div",Dt,[e.createElementVNode("div",null,[e.createElementVNode("h5",Ht,e.toDisplayString(d.text),1),e.createElementVNode("p",It,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,Jt)),64))])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",Pt,[(e.openBlock(),e.createElementBlock("svg",{width:t.icon.size,height:t.icon.size,viewBox:"0 0 24 24",fill:"none"},Lt,8,Tt))])],2)]))}}},Symbol.toStringTag,{value:"Module"}));i.JBadge=fe,i.JBanner=O,i.JCard=oe,i.JCardSceleton=me,i.JCol=C,i.JFooter=ye,i.JFooterImage=w,i.JFooterLabel=E,i.JFooterMenu=$,i.JFooterSceleton=we,i.JHeader=z,i.JHeaderSceleton=J,i.JImage=S,i.JImageSceleton=ue,i.JRow=x,i.JSlider=tt,i.MInput=F,i.VButton=P,Object.defineProperties(i,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.0.29", | ||
"version": "0.1.0", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "dev": "vite", |
Sorry, the diff of this file is not supported yet
81254
1431