@mendmania/ui-name
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,2 +0,2 @@ | ||
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"; | ||
import { openBlock as t, createElementBlock as s, normalizeProps as V, guardReactiveProps as R, 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 j, 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, createTextVNode as se, useCssVars as ne, ref as H, onMounted as le, onUnmounted as re, TransitionGroup as ae } from "vue"; | ||
const b = (e, r) => { | ||
@@ -7,10 +7,10 @@ const l = e.__vccOpts || e; | ||
return l; | ||
}, ae = {}; | ||
function oe(e, r) { | ||
return t(), s("button", R(V(e.$attrs)), [ | ||
}, oe = {}; | ||
function ie(e, r) { | ||
return t(), s("button", V(R(e.$attrs)), [ | ||
v(e.$slots, "default") | ||
], 16); | ||
} | ||
const Et = /* @__PURE__ */ b(ae, [["render", oe]]), ie = {}; | ||
function ue(e, r) { | ||
const Dt = /* @__PURE__ */ b(oe, [["render", ie]]), ue = {}; | ||
function ce(e, r) { | ||
return t(), s("input", g(e.$attrs, { | ||
@@ -21,16 +21,16 @@ type: "text", | ||
} | ||
const Dt = /* @__PURE__ */ b(ie, [["render", ue]]); | ||
const ce = (e) => (U("data-v-dfc1ec80"), e = e(), Z(), e), de = { | ||
const Nt = /* @__PURE__ */ b(ue, [["render", ce]]); | ||
const de = (e) => (U("data-v-dfc1ec80"), e = e(), Z(), e), fe = { | ||
key: 0, | ||
class: "relative max-w-[230px]" | ||
}, _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 = { | ||
}, _e = { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, me = { class: "flex" }, pe = { class: "flex ml-auto absolute right-0" }, ye = { | ||
key: 0, | ||
class: "py-0.5 px-1 rounded text-white bg-black/50 mx-1" | ||
}, ye = /* @__PURE__ */ ce(() => /* @__PURE__ */ o("div", { class: "flex w-full mt-auto" }, null, -1)), ve = { class: "flex" }, he = { class: "flex ml-auto" }, ge = { | ||
}, ve = /* @__PURE__ */ de(() => /* @__PURE__ */ o("div", { class: "flex w-full mt-auto" }, null, -1)), he = { class: "flex" }, ge = { class: "flex ml-auto" }, be = { | ||
key: 1, | ||
class: "pt-3 flex gap-5 text-xs text-cyan infobox" | ||
}, be = { key: 0 }, Se = { key: 1 }, $e = { key: 2 }, xe = { | ||
}, Se = { key: 0 }, $e = { key: 1 }, xe = { key: 2 }, we = { | ||
inheritAttrs: !1, | ||
customOptions: {} | ||
}, we = /* @__PURE__ */ Object.assign(xe, { | ||
}, Je = /* @__PURE__ */ Object.assign(we, { | ||
__name: "JCard", | ||
@@ -103,28 +103,28 @@ props: { | ||
setup(e) { | ||
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 | ||
const r = e, l = W(), i = p(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: u, showViews: a, showDate: f } = B(r), d = p( | ||
() => u.value || a.value || f.value | ||
); | ||
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, [ | ||
return (_, J) => (t(), s("div", g({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, _.$attrs, { class: n(i) }), [ | ||
e.showThumbnail ? (t(), s("div", fe, [ | ||
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) | ||
o("div", me, [ | ||
v(_.$slots, "top_left", {}, void 0, !0), | ||
o("div", pe, [ | ||
v(_.$slots, "top_right", {}, void 0, !0), | ||
e.showTimeDuration ? (t(), s("span", ye, S(e.timeDuration), 1)) : c("", !0) | ||
]) | ||
]), | ||
ye, | ||
o("div", ve, [ | ||
v(f.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
o("div", he, [ | ||
v(f.$slots, "bottom_right", {}, void 0, !0) | ||
ve, | ||
o("div", he, [ | ||
v(_.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
o("div", ge, [ | ||
v(_.$slots, "bottom_right", {}, void 0, !0) | ||
]) | ||
]) | ||
]), | ||
v(f.$slots, "image", {}, void 0, !0) | ||
v(_.$slots, "image", {}, void 0, !0) | ||
])) : c("", !0), | ||
n(d) || e.showTitle ? (t(), s("div", { | ||
key: 1, | ||
style: k(e.detailsStyle), | ||
style: j(e.detailsStyle), | ||
class: "p-1 box-border" | ||
@@ -134,8 +134,8 @@ }, [ | ||
key: 0, | ||
style: k(e.titleStyle) | ||
style: j(e.titleStyle) | ||
}, S(e.title), 5)) : 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(_) ? (t(), s("span", $e, S(e.date), 1)) : c("", !0) | ||
n(d) ? (t(), s("div", be, [ | ||
n(u) ? (t(), s("span", Se, S(e.author), 1)) : c("", !0), | ||
n(a) ? (t(), s("span", $e, S(e.views), 1)) : c("", !0), | ||
n(f) ? (t(), s("span", xe, S(e.date), 1)) : c("", !0) | ||
])) : c("", !0) | ||
@@ -145,16 +145,16 @@ ], 4)) : c("", !0) | ||
} | ||
}), Nt = /* @__PURE__ */ b(we, [["__scopeId", "data-v-dfc1ec80"]]); | ||
const Je = (e) => (U("data-v-b6261246"), e = e(), Z(), e), je = { | ||
}), Ft = /* @__PURE__ */ b(Je, [["__scopeId", "data-v-dfc1ec80"]]); | ||
const ke = (e) => (U("data-v-b6261246"), e = e(), Z(), e), je = { | ||
key: 0, | ||
class: "relative" | ||
}, 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 = { | ||
}, qe = /* @__PURE__ */ ke(() => /* @__PURE__ */ o("div", { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, null, -1)), Oe = { | ||
key: 0, | ||
class: "jcard-sceleton-title" | ||
}, Oe = { | ||
}, Ie = { | ||
key: 1, | ||
class: "pt-3 flex gap-5 text-xs text-cyan infobox" | ||
}, Ie = { key: 0 }, Me = { key: 1 }, Ce = { key: 2 }, He = { | ||
}, Me = { key: 0 }, Ce = { key: 1 }, He = { key: 2 }, ze = { | ||
inheritAttrs: !1, | ||
customOptions: {} | ||
}, ze = /* @__PURE__ */ Object.assign(He, { | ||
}, Te = /* @__PURE__ */ Object.assign(ze, { | ||
__name: "JCardSceleton", | ||
@@ -222,20 +222,20 @@ props: { | ||
setup(e) { | ||
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 | ||
const r = e, l = W(), i = p(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: u, showViews: a, showDate: f } = B(r), d = p( | ||
() => u.value || a.value || f.value | ||
); | ||
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) }), [ | ||
return (_, J) => (t(), s("div", g({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, _.$attrs, { class: n(i) }), [ | ||
e.showThumbnail ? (t(), s("div", je, [ | ||
ke, | ||
v(f.$slots, "image", {}, void 0, !0) | ||
qe, | ||
v(_.$slots, "image", {}, void 0, !0) | ||
])) : c("", !0), | ||
n(d) || e.showTitle ? (t(), s("div", { | ||
key: 1, | ||
style: k(e.detailsStyle), | ||
style: j(e.detailsStyle), | ||
class: "p-1 box-border" | ||
}, [ | ||
e.showTitle ? (t(), s("div", qe)) : c("", !0), | ||
n(d) ? (t(), s("div", Oe, [ | ||
n(u) ? (t(), s("span", Ie)) : c("", !0), | ||
n(a) ? (t(), s("span", Me)) : c("", !0), | ||
n(_) ? (t(), s("span", Ce)) : c("", !0) | ||
e.showTitle ? (t(), s("div", Oe)) : c("", !0), | ||
n(d) ? (t(), s("div", Ie, [ | ||
n(u) ? (t(), s("span", Me)) : c("", !0), | ||
n(a) ? (t(), s("span", Ce)) : c("", !0), | ||
n(f) ? (t(), s("span", He)) : c("", !0) | ||
])) : c("", !0) | ||
@@ -245,4 +245,4 @@ ], 4)) : c("", !0) | ||
} | ||
}), Ft = /* @__PURE__ */ b(ze, [["__scopeId", "data-v-b6261246"]]), Te = {}; | ||
function Ae(e, r) { | ||
}), Vt = /* @__PURE__ */ b(Te, [["__scopeId", "data-v-b6261246"]]), Ae = {}; | ||
function Be(e, r) { | ||
return t(), s("span", g({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, e.$attrs), [ | ||
@@ -252,3 +252,3 @@ v(e.$slots, "default") | ||
} | ||
const Rt = /* @__PURE__ */ b(Te, [["render", Ae]]), Be = ["src"], Le = { | ||
const Rt = /* @__PURE__ */ b(Ae, [["render", Be]]), Le = ["src"], Pe = { | ||
__name: "JImage", | ||
@@ -267,6 +267,6 @@ props: { | ||
class: "w-full" | ||
}, r.$attrs), null, 16, Be)); | ||
}, r.$attrs), null, 16, Le)); | ||
} | ||
}; | ||
const Pe = { | ||
const Ee = { | ||
__name: "JImageSceleton", | ||
@@ -286,3 +286,3 @@ props: { | ||
} | ||
}, Vt = /* @__PURE__ */ b(Pe, [["__scopeId", "data-v-4e30e0b0"]]), Wt = { | ||
}, Wt = /* @__PURE__ */ b(Ee, [["__scopeId", "data-v-4e30e0b0"]]), Ut = { | ||
__name: "JFooter", | ||
@@ -298,7 +298,7 @@ props: { | ||
function r(l) { | ||
return l === "label" ? L(Ee) : l === "menu" ? L(Ve) : L(We); | ||
return l === "label" ? L(De) : l === "menu" ? L(We) : L(Ue); | ||
} | ||
return (l, i) => (t(), s("div", g(l.$attrs, { class: "j-footer w-full container mx-auto flex flex-wrap gap-4" }), [ | ||
return (l, i) => (t(), s("div", g(l.$attrs, { class: "j-footer w-full flex flex-wrap gap-4" }), [ | ||
v(l.$slots, "default", {}, () => [ | ||
(t(!0), s(x, null, w(e.children, (u) => (t(), h(n(Xe), { | ||
(t(!0), s(x, null, w(e.children, (u) => (t(), h(n(Ye), { | ||
key: u.id, | ||
@@ -309,3 +309,3 @@ "x-alignment": u.props.xAlignment, | ||
default: z(() => [ | ||
(t(!0), s(x, null, w(u.children, (a) => (t(), h(n(Ye), { | ||
(t(!0), s(x, null, w(u.children, (a) => (t(), h(n(et), { | ||
key: a.id, | ||
@@ -315,6 +315,6 @@ columns: a.props.columns | ||
default: z(() => [ | ||
(t(!0), s(x, null, w(a.children, (_) => (t(), h(T(r(_.type)), { | ||
key: _.id, | ||
data: _.props, | ||
style: k(_.style) | ||
(t(!0), s(x, null, w(a.children, (f) => (t(), h(T(r(f.type)), { | ||
key: f.id, | ||
data: f.props, | ||
style: j(f.style) | ||
}, null, 8, ["data", "style"]))), 128)) | ||
@@ -330,3 +330,3 @@ ]), | ||
} | ||
}, Ee = { | ||
}, De = { | ||
__name: "JFooterLabel", | ||
@@ -349,6 +349,6 @@ props: { | ||
}; | ||
const De = { | ||
const Ne = { | ||
key: 0, | ||
class: "mb-6" | ||
}, Ne = { class: "menu-item" }, Fe = { class: "cursor-pointer item" }, Re = { | ||
}, Fe = { class: "menu-item" }, Ve = { class: "cursor-pointer item" }, Re = { | ||
__name: "JFooterMenu", | ||
@@ -376,4 +376,4 @@ props: { | ||
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, [ | ||
return (a, f) => (t(), s("div", g(a.$attrs, { class: "p-4" }), [ | ||
n(l) ? (t(), s("div", Ne, [ | ||
o("h5", null, S(n(l)), 1) | ||
@@ -384,4 +384,4 @@ ])) : c("", !0), | ||
}, [ | ||
(t(!0), s(x, null, w(n(i).items, (d) => (t(), s("li", Ne, [ | ||
o("a", Fe, S(d.navigationLabel), 1) | ||
(t(!0), s(x, null, w(n(i).items, (d) => (t(), s("li", Fe, [ | ||
o("a", Ve, S(d.navigationLabel), 1) | ||
]))), 256)) | ||
@@ -391,3 +391,3 @@ ], 2) | ||
} | ||
}, Ve = /* @__PURE__ */ b(Re, [["__scopeId", "data-v-b5ccdf48"]]), We = { | ||
}, We = /* @__PURE__ */ b(Re, [["__scopeId", "data-v-b5ccdf48"]]), Ue = { | ||
__name: "JFooterImage", | ||
@@ -406,3 +406,3 @@ props: { | ||
setup(e) { | ||
return (r, l) => (t(), h(n(Le), { | ||
return (r, l) => (t(), h(n(Pe), { | ||
"image-src": e.data.image | ||
@@ -412,3 +412,3 @@ }, null, 8, ["image-src"])); | ||
}; | ||
const Ue = {}, Ze = { class: "j-footer-sceleton w-full" }, Ke = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
const Ze = {}, Ke = { class: "j-footer-sceleton w-full" }, Ge = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ o("div", { class: "image" }), | ||
@@ -419,9 +419,9 @@ /* @__PURE__ */ o("div", { class: "content" }, [ | ||
]) | ||
], -1), Ge = [ | ||
Ke | ||
], -1), Qe = [ | ||
Ge | ||
]; | ||
function Qe(e, r) { | ||
return t(), s("div", Ze, Ge); | ||
function Xe(e, r) { | ||
return t(), s("div", Ke, Qe); | ||
} | ||
const Ut = /* @__PURE__ */ b(Ue, [["render", Qe]]), Xe = { | ||
const Zt = /* @__PURE__ */ b(Ze, [["render", Xe]]), Ye = { | ||
__name: "JRow", | ||
@@ -455,7 +455,7 @@ props: { | ||
}, u = p(() => { | ||
const { xAlignment: a, yAlignment: _ } = r; | ||
return `${a ? l[a] : ""}${_ ? " " + i[_] : ""}`; | ||
const { xAlignment: a, yAlignment: f } = r; | ||
return `${a ? l[a] : ""}${f ? " " + i[f] : ""}`; | ||
}); | ||
return (a, _) => (t(), s("div", { | ||
class: M(["j-row w-full relative flex flex-wrap", n(u)]) | ||
return (a, f) => (t(), s("div", { | ||
class: M(["j-row w-full relative flex flex-wrap container mx-auto", n(u)]) | ||
}, [ | ||
@@ -465,3 +465,3 @@ v(a.$slots, "default") | ||
} | ||
}, Ye = { | ||
}, et = { | ||
__name: "JCol", | ||
@@ -495,3 +495,3 @@ props: { | ||
} | ||
}, et = (e, r) => { | ||
}, tt = (e, r) => { | ||
const l = e[r]; | ||
@@ -527,3 +527,3 @@ return l ? typeof l == "function" ? l() : Promise.resolve(l) : new Promise((i, u) => { | ||
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(() => 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`) | ||
() => tt(/* @__PURE__ */ Object.assign({ "./JHeader.vue": () => Promise.resolve().then(() => ht), "./JHeaderLanguage.vue": () => import("./JHeaderLanguage.ddf3aeaa.mjs"), "./JHeaderLogo.vue": () => Promise.resolve().then(() => ct), "./JHeaderMenu.vue": () => Promise.resolve().then(() => mt), "./JHeaderMenuItems.vue": () => Promise.resolve().then(() => rt), "./JHeaderNotifications.vue": () => import("./JHeaderNotifications.9d5fc11b.mjs"), "./JHeaderProfile.vue": () => import("./JHeaderProfile.0457c21d.mjs"), "./JHeaderSceleton.vue": () => Promise.resolve().then(() => Jt), "./JHeaderSearch.vue": () => import("./JHeaderSearch.ad190547.mjs") }), `./JHeader${l[a]}.vue`) | ||
); | ||
@@ -534,6 +534,6 @@ } | ||
} | ||
return (a, _) => (t(), s("div", null, [ | ||
return (a, f) => (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), | ||
style: j(e.iconsStyle), | ||
onCustomEvent: u, | ||
@@ -548,3 +548,3 @@ icon: e.iconsStyle ? { | ||
}; | ||
const tt = { class: "menu-item" }, st = ["href"], nt = { | ||
const st = { class: "menu-item" }, nt = ["href"], lt = { | ||
__name: "JHeaderMenuItems", | ||
@@ -558,4 +558,4 @@ props: { | ||
setup(e) { | ||
return (r, l) => (t(), s("ul", R(V(r.$attrs)), [ | ||
(t(!0), s(x, null, w(e.menuItems, (i) => (t(), s("li", tt, [ | ||
return (r, l) => (t(), s("ul", V(R(r.$attrs)), [ | ||
(t(!0), s(x, null, w(e.menuItems, (i) => (t(), s("li", st, [ | ||
o("a", { | ||
@@ -565,11 +565,11 @@ class: "cursor-pointer item", | ||
target: "_blank" | ||
}, S(i.navigationLabel), 9, st) | ||
}, S(i.navigationLabel), 9, nt) | ||
]))), 256)) | ||
], 16)); | ||
} | ||
}, P = /* @__PURE__ */ b(nt, [["__scopeId", "data-v-70ca0b02"]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, P = /* @__PURE__ */ b(lt, [["__scopeId", "data-v-70ca0b02"]]), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: P | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const rt = { class: "logo flex" }, at = { class: "w-full m-auto" }, ot = ["src"], it = { | ||
const at = { class: "logo flex" }, ot = { class: "w-full m-auto" }, it = ["src"], ut = { | ||
__name: "JHeaderLogo", | ||
@@ -583,4 +583,4 @@ props: { | ||
setup(e) { | ||
return (r, l) => (t(), s("div", rt, [ | ||
o("a", at, [ | ||
return (r, l) => (t(), s("div", at, [ | ||
o("a", ot, [ | ||
o("img", { | ||
@@ -590,10 +590,10 @@ src: e.imageSrc, | ||
class: "" | ||
}, null, 8, ot) | ||
}, null, 8, it) | ||
]) | ||
])); | ||
} | ||
}, K = /* @__PURE__ */ b(it, [["__scopeId", "data-v-21179e41"]]), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, K = /* @__PURE__ */ b(ut, [["__scopeId", "data-v-21179e41"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: K | ||
}, Symbol.toStringTag, { value: "Module" })), ct = { | ||
}, Symbol.toStringTag, { value: "Module" })), dt = { | ||
style: { fill: "currentColor" }, | ||
@@ -604,3 +604,3 @@ viewBox: "0,0,24,24", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, dt = /* @__PURE__ */ o("path", { | ||
}, ft = /* @__PURE__ */ o("path", { | ||
"fill-rule": "evenodd", | ||
@@ -610,3 +610,3 @@ "clip-rule": "evenodd", | ||
}, null, -1), _t = [ | ||
dt | ||
ft | ||
], G = { | ||
@@ -623,16 +623,16 @@ __name: "JHeaderMenu", | ||
o("a", null, [ | ||
(t(), s("svg", ct, _t)) | ||
(t(), s("svg", dt, _t)) | ||
]) | ||
])); | ||
} | ||
}, ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: G | ||
}, Symbol.toStringTag, { value: "Module" })), mt = { | ||
}, Symbol.toStringTag, { value: "Module" })), pt = { | ||
key: 1, | ||
class: "flex-1" | ||
}, pt = { | ||
}, yt = { | ||
key: 0, | ||
class: "flex-1" | ||
}, yt = { | ||
}, vt = { | ||
__name: "JHeader", | ||
@@ -667,3 +667,3 @@ props: { | ||
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])); | ||
const l = e, { breakpoint: i, components: u, settings: a } = l, f = p(() => i === "mobile"), d = p(() => i === "desktop"), _ = 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) { | ||
@@ -681,10 +681,10 @@ r("customEvent", m); | ||
}, null, 8, ["image-src"])) : c("", !0), | ||
n(f) && n(d) ? (t(), s("div", mt, [ | ||
n(_) && n(d) ? (t(), s("div", pt, [ | ||
A(P, { | ||
class: "flex flex-row items-center gap-6 text-sm", | ||
"menu-items": e.menuItems || n(a).menu.menuItems, | ||
style: k(e.menuStyle) | ||
style: j(e.menuStyle) | ||
}, null, 8, ["menu-items", "style"]) | ||
])) : c("", !0), | ||
n(_) ? c("", !0) : (t(), h(F, { | ||
n(f) ? c("", !0) : (t(), h(F, { | ||
key: 2, | ||
@@ -697,14 +697,14 @@ class: "actions flex ml-auto gap-x-4", | ||
}, null, 8, ["settings", "actions", "icons-style"])), | ||
n(f) && !n(d) ? (t(), h(G, { | ||
n(_) && !n(d) ? (t(), h(G, { | ||
key: 3, | ||
"is-mobile": n(_) | ||
"is-mobile": n(f) | ||
}, null, 8, ["is-mobile"])) : c("", !0) | ||
], 16), | ||
n(f) && !n(d) ? (t(), s("div", pt, [ | ||
n(_) && !n(d) ? (t(), s("div", yt, [ | ||
A(P, { | ||
class: "flex flex-col gap-y-7 items-center py-10 px-2 text-sm", | ||
"menu-items": e.menuItems || n(a).menu.menuItems, | ||
style: k(e.menuStyle) | ||
style: j(e.menuStyle) | ||
}, null, 8, ["menu-items", "style"]), | ||
n(_) && n(C).length ? (t(), h(F, { | ||
n(f) && n(C).length ? (t(), h(F, { | ||
key: 0, | ||
@@ -719,19 +719,19 @@ class: "actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4", | ||
} | ||
}, vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: yt | ||
default: vt | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const ht = {}, gt = { class: "j-header-sceleton w-full" }, bt = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
const gt = {}, bt = { class: "j-header-sceleton w-full" }, St = /* @__PURE__ */ o("div", { class: "card w-full is-loading" }, [ | ||
/* @__PURE__ */ o("div", { class: "image" }) | ||
], -1), St = [ | ||
bt | ||
], -1), $t = [ | ||
St | ||
]; | ||
function $t(e, r) { | ||
return t(), s("div", gt, St); | ||
function xt(e, r) { | ||
return t(), s("div", bt, $t); | ||
} | ||
const xt = /* @__PURE__ */ b(ht, [["render", $t]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
const wt = /* @__PURE__ */ b(gt, [["render", xt]]), Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: xt | ||
default: wt | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const Jt = { class: "j-banner" }, jt = ["src", "alt"], kt = { class: "slider-content" }, qt = { | ||
const kt = { class: "j-banner" }, jt = ["src", "alt"], qt = { class: "slider-content flex container mx-auto items-end" }, Ot = { | ||
__name: "JBanner", | ||
@@ -751,3 +751,3 @@ props: { | ||
const r = e, { data: l, customWrapper: i } = B(r); | ||
return (u, a) => (t(), s("div", Jt, [ | ||
return (u, a) => (t(), s("div", kt, [ | ||
(t(), h(T(n(i)), { | ||
@@ -761,10 +761,12 @@ to: n(l).imgSource | ||
}, null, 8, jt), | ||
(t(), h(T(n(i)), { | ||
to: n(l).textSource | ||
}, { | ||
default: z(() => [ | ||
o("div", kt, S(n(l).text), 1) | ||
]), | ||
_: 1 | ||
}, 8, ["to"])) | ||
o("div", qt, [ | ||
(t(), h(T(n(i)), { | ||
to: n(l).textSource | ||
}, { | ||
default: z(() => [ | ||
se(S(n(l).text), 1) | ||
]), | ||
_: 1 | ||
}, 8, ["to"])) | ||
]) | ||
]), | ||
@@ -776,7 +778,7 @@ _: 1 | ||
}; | ||
const Ot = { | ||
const It = { | ||
key: 0, | ||
class: "slider-tracker container" | ||
}, It = { class: "slider-indicators" }, Mt = ["onClick"], Ct = { | ||
style: { fill: "currentColor" }, | ||
class: "slider-tracker slider-tracker container mx-auto absolute left-0 right-0" | ||
}, Mt = { class: "slider-indicators" }, Ct = ["onClick"], Ht = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
@@ -786,10 +788,10 @@ width: 70, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, Ht = /* @__PURE__ */ o("path", { | ||
}, zt = /* @__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" }, | ||
}, null, -1), Tt = [ | ||
zt | ||
], At = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
@@ -799,9 +801,9 @@ width: 70, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, At = /* @__PURE__ */ o("path", { | ||
}, Bt = /* @__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 = { | ||
}, null, -1), Lt = [ | ||
Bt | ||
], Kt = { | ||
__name: "JSlider", | ||
@@ -846,6 +848,6 @@ props: { | ||
const r = e; | ||
se((y) => ({ | ||
"2ee84937": f.value | ||
ne((y) => ({ | ||
dec4c90a: _.value | ||
})); | ||
const { slides: l, autoSlide: i, scrollInterval: u, showIndicators: a, customWrapper: _ } = B(r), d = H(r.activeSlide), f = H(r.animationTime), J = p( | ||
const { slides: l, autoSlide: i, scrollInterval: u, showIndicators: a, customWrapper: f } = B(r), d = H(r.activeSlide), _ = H(r.animationTime), J = p( | ||
() => Math.abs(d.value % l.value.length) | ||
@@ -860,5 +862,5 @@ ), C = p( | ||
const Q = () => D("slide-right"), N = () => D("slide-left"); | ||
function X(y, j) { | ||
const $ = Math.abs(y % j.length); | ||
var I = [j[$]]; | ||
function X(y, k) { | ||
const $ = Math.abs(y % k.length); | ||
var I = [k[$]]; | ||
return I; | ||
@@ -869,7 +871,7 @@ } | ||
} | ||
ne(() => { | ||
le(() => { | ||
!i.value || (E = setInterval(() => { | ||
O.value || N(); | ||
}, u.value * 1e3)); | ||
}), le(() => { | ||
}), re(() => { | ||
clearInterval(E); | ||
@@ -880,8 +882,8 @@ }); | ||
} | ||
return (y, j) => (t(), s("div", { | ||
return (y, k) => (t(), s("div", { | ||
class: "j-slider", | ||
onMouseover: j[0] || (j[0] = ($) => O.value = !0), | ||
onMouseleave: j[1] || (j[1] = ($) => O.value = !1) | ||
onMouseover: k[0] || (k[0] = ($) => O.value = !0), | ||
onMouseleave: k[1] || (k[1] = ($) => O.value = !1) | ||
}, [ | ||
A(re, { | ||
A(ae, { | ||
name: "slide", | ||
@@ -897,3 +899,3 @@ onAfterEnter: Y, | ||
}, [ | ||
A(qt, { data: $ }, null, 8, ["data"]) | ||
A(Ot, { data: $ }, null, 8, ["data"]) | ||
], 2))), 128)) | ||
@@ -903,9 +905,9 @@ ]), | ||
}, 8, ["class"]), | ||
n(a) ? (t(), s("div", Ot, [ | ||
o("ol", It, [ | ||
n(a) ? (t(), s("div", It, [ | ||
o("ol", Mt, [ | ||
(t(!0), s(x, null, w(n(l), ($, I) => (t(), s("li", { | ||
class: M(["slide-indicator", n(J) === I ? "active" : null]), | ||
onClick: (Lt) => ee(I), | ||
onClick: (Pt) => ee(I), | ||
key: I | ||
}, null, 10, Mt))), 128)) | ||
}, null, 10, Ct))), 128)) | ||
]) | ||
@@ -917,3 +919,3 @@ ])) : c("", !0), | ||
}, [ | ||
(t(), s("svg", Ct, zt)) | ||
(t(), s("svg", Ht, Tt)) | ||
]), | ||
@@ -924,3 +926,3 @@ o("button", { | ||
}, [ | ||
(t(), s("svg", Tt, Bt)) | ||
(t(), s("svg", At, Lt)) | ||
]) | ||
@@ -932,19 +934,19 @@ ], 32)); | ||
Rt as JBadge, | ||
qt as JBanner, | ||
Nt as JCard, | ||
Ft as JCardSceleton, | ||
Ye as JCol, | ||
Wt as JFooter, | ||
We as JFooterImage, | ||
Ee as JFooterLabel, | ||
Ve as JFooterMenu, | ||
Ut as JFooterSceleton, | ||
yt as JHeader, | ||
xt as JHeaderSceleton, | ||
Le as JImage, | ||
Vt as JImageSceleton, | ||
Xe as JRow, | ||
Zt as JSlider, | ||
Dt as MInput, | ||
Et as VButton | ||
Ot as JBanner, | ||
Ft as JCard, | ||
Vt as JCardSceleton, | ||
et as JCol, | ||
Ut as JFooter, | ||
Ue as JFooterImage, | ||
De as JFooterLabel, | ||
We as JFooterMenu, | ||
Zt as JFooterSceleton, | ||
vt as JHeader, | ||
wt as JHeaderSceleton, | ||
Pe as JImage, | ||
Wt as JImageSceleton, | ||
Ye as JRow, | ||
Kt as JSlider, | ||
Nt as MInput, | ||
Dt 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 _=(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"}})}); | ||
(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"]]),fe={};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 pe=_(fe,[["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 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 container mx-auto",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(([f,g])=>g&&f!=="logo"&&f!=="menu").map(f=>f[0]));function y(f){n("customEvent",f)}return(f,g)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(f.$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"},f.$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 flex container mx-auto items-end"},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.createElementVNode("div",Ze,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(o).textSource},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).text),1)]),_:1},8,["to"]))])]),_:1},8,["to"]))]))}},po="",Ue={key:0,class:"slider-tracker slider-tracker container mx-auto absolute left-0 right-0"},Ge={class:"slider-indicators"},Qe=["onClick"],Xe={style:{fill:"#fff"},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:"#fff"},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(p=>({dec4c90a: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),f=e.ref(""),g=e.ref(!1);let M=null;function q(p){y.value||(y.value=!0,f.value=p,a.value+=p==="slide-left"?1:-1)}const At=()=>q("slide-right"),D=()=>q("slide-left");function Rt(p,u){const h=Math.abs(p%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(p){y.value||(p<d.value?(f.value="slide-right",a.value=p):p>d.value&&(f.value="slide-left",a.value=p))}return(p,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",f.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)],ft={key:0,class:"notification-suggestion-wrapper"},_t=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Notification ",-1),pt=["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",ft,[_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,pt)),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:"Search video or show"},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=pe,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.1.0", | ||
"version": "0.1.1", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "dev": "vite", |
Sorry, the diff of this file is not supported yet
81363
5
1434