@mendmania/ui-name
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,9 +0,9 @@ | ||
import { openBlock as t, createElementBlock as s, normalizeProps as q, guardReactiveProps as k, renderSlot as d, mergeProps as f, useAttrs as w, computed as g, toRefs as S, unref as l, createElementVNode as c, toDisplayString as m, createCommentVNode as a, normalizeStyle as v, pushScopeId as $, popScopeId as x } from "vue"; | ||
const _ = (e, r) => { | ||
import { openBlock as t, createElementBlock as s, normalizeProps as q, guardReactiveProps as k, renderSlot as d, mergeProps as c, useAttrs as w, computed as g, toRefs as S, unref as r, createElementVNode as u, toDisplayString as m, createCommentVNode as a, normalizeStyle as v, pushScopeId as $, popScopeId as x } from "vue"; | ||
const f = (e, l) => { | ||
const o = e.__vccOpts || e; | ||
for (const [i, u] of r) | ||
o[i] = u; | ||
for (const [_, i] of l) | ||
o[_] = i; | ||
return o; | ||
}, z = {}; | ||
function B(e, r) { | ||
function B(e, l) { | ||
return t(), s("button", q(k(e.$attrs)), [ | ||
@@ -13,5 +13,5 @@ d(e.$slots, "default") | ||
} | ||
const ne = /* @__PURE__ */ _(z, [["render", B]]), C = {}; | ||
function j(e, r) { | ||
return t(), s("input", f(e.$attrs, { | ||
const ne = /* @__PURE__ */ f(z, [["render", B]]), j = {}; | ||
function I(e, l) { | ||
return t(), s("input", c(e.$attrs, { | ||
type: "text", | ||
@@ -21,4 +21,4 @@ "aria-label": "Filter projects" | ||
} | ||
const de = /* @__PURE__ */ _(C, [["render", j]]); | ||
const I = (e) => ($("data-v-3c029fc4"), e = e(), x(), e), T = { | ||
const de = /* @__PURE__ */ f(j, [["render", I]]); | ||
const T = (e) => ($("data-v-fe853dac"), e = e(), x(), e), C = { | ||
key: 0, | ||
@@ -29,3 +29,3 @@ class: "relative" | ||
class: "py-0.5 px-1 rounded text-white bg-black/50 ml-1" | ||
}, M = /* @__PURE__ */ I(() => /* @__PURE__ */ c("div", { class: "flex w-full mt-auto" }, null, -1)), O = { class: "flex" }, P = { class: "flex ml-auto" }, E = { | ||
}, M = /* @__PURE__ */ T(() => /* @__PURE__ */ u("div", { class: "flex w-full mt-auto" }, null, -1)), O = { class: "flex" }, P = { class: "flex ml-auto" }, E = { | ||
key: 1, | ||
@@ -104,11 +104,11 @@ class: "pt-3 flex gap-5 text-xs text-cyan infobox" | ||
setup(e) { | ||
const r = e, o = w(), i = g(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: u, showViews: h, showDate: p } = S(r), y = g( | ||
() => u.value || h.value || p.value | ||
const l = e, o = w(), _ = g(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: i, showViews: h, showDate: p } = S(l), y = g( | ||
() => i.value || h.value || p.value | ||
); | ||
return console.error("orderClass", i), (n, b) => (t(), s("div", f({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, n.$attrs, { class: l(i) }), [ | ||
e.showThumbnail ? (t(), s("div", T, [ | ||
c("div", D, [ | ||
c("div", J, [ | ||
return (n, b) => (t(), s("div", c({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, n.$attrs, { class: r(_) }), [ | ||
e.showThumbnail ? (t(), s("div", C, [ | ||
u("div", D, [ | ||
u("div", J, [ | ||
d(n.$slots, "top_left", {}, void 0, !0), | ||
c("div", A, [ | ||
u("div", A, [ | ||
d(n.$slots, "top_right", {}, void 0, !0), | ||
@@ -119,5 +119,5 @@ e.showTimeDuration ? (t(), s("span", V, m(e.timeDuration), 1)) : a("", !0) | ||
M, | ||
c("div", O, [ | ||
u("div", O, [ | ||
d(n.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
c("div", P, [ | ||
u("div", P, [ | ||
d(n.$slots, "bottom_right", {}, void 0, !0) | ||
@@ -129,3 +129,3 @@ ]) | ||
])) : a("", !0), | ||
l(y) || e.showTitle ? (t(), s("div", { | ||
r(y) || e.showTitle ? (t(), s("div", { | ||
key: 1, | ||
@@ -139,6 +139,6 @@ style: v(e.detailsStyle), | ||
}, m(e.title), 5)) : a("", !0), | ||
l(y) ? (t(), s("div", E, [ | ||
l(u) ? (t(), s("span", K, m(e.author), 1)) : a("", !0), | ||
l(h) ? (t(), s("span", N, m(e.views), 1)) : a("", !0), | ||
l(p) ? (t(), s("span", R, m(e.date), 1)) : a("", !0) | ||
r(y) ? (t(), s("div", E, [ | ||
r(i) ? (t(), s("span", K, m(e.author), 1)) : a("", !0), | ||
r(h) ? (t(), s("span", N, m(e.views), 1)) : a("", !0), | ||
r(p) ? (t(), s("span", R, m(e.date), 1)) : a("", !0) | ||
])) : a("", !0) | ||
@@ -148,7 +148,7 @@ ], 4)) : a("", !0) | ||
} | ||
}), ie = /* @__PURE__ */ _(F, [["__scopeId", "data-v-3c029fc4"]]); | ||
const G = (e) => ($("data-v-6358611c"), e = e(), x(), e), H = { | ||
}), ie = /* @__PURE__ */ f(F, [["__scopeId", "data-v-fe853dac"]]); | ||
const G = (e) => ($("data-v-9633e860"), e = e(), x(), e), H = { | ||
key: 0, | ||
class: "relative" | ||
}, L = /* @__PURE__ */ G(() => /* @__PURE__ */ c("div", { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, null, -1)), Q = { | ||
}, L = /* @__PURE__ */ G(() => /* @__PURE__ */ u("div", { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, null, -1)), Q = { | ||
key: 0, | ||
@@ -225,6 +225,6 @@ class: "jcard-sceleton-title" | ||
setup(e) { | ||
const r = e, o = w(), i = g(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: u, showViews: h, showDate: p } = S(r), y = g( | ||
() => u.value || h.value || p.value | ||
const l = e, o = w(), _ = g(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: i, showViews: h, showDate: p } = S(l), y = g( | ||
() => i.value || h.value || p.value | ||
); | ||
return console.error("orderClass", i), (n, b) => (t(), s("div", f({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, n.$attrs, { class: l(i) }), [ | ||
return (n, b) => (t(), s("div", c({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, n.$attrs, { class: r(_) }), [ | ||
e.showThumbnail ? (t(), s("div", H, [ | ||
@@ -234,3 +234,3 @@ L, | ||
])) : a("", !0), | ||
l(y) || e.showTitle ? (t(), s("div", { | ||
r(y) || e.showTitle ? (t(), s("div", { | ||
key: 1, | ||
@@ -241,6 +241,6 @@ style: v(e.detailsStyle), | ||
e.showTitle ? (t(), s("div", Q)) : a("", !0), | ||
l(y) ? (t(), s("div", U, [ | ||
l(u) ? (t(), s("span", W)) : a("", !0), | ||
l(h) ? (t(), s("span", X)) : a("", !0), | ||
l(p) ? (t(), s("span", Y)) : a("", !0) | ||
r(y) ? (t(), s("div", U, [ | ||
r(i) ? (t(), s("span", W)) : a("", !0), | ||
r(h) ? (t(), s("span", X)) : a("", !0), | ||
r(p) ? (t(), s("span", Y)) : a("", !0) | ||
])) : a("", !0) | ||
@@ -250,9 +250,9 @@ ], 4)) : a("", !0) | ||
} | ||
}), ue = /* @__PURE__ */ _(te, [["__scopeId", "data-v-6358611c"]]), se = {}; | ||
function ae(e, r) { | ||
return t(), s("span", f({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, e.$attrs), [ | ||
}), ue = /* @__PURE__ */ f(te, [["__scopeId", "data-v-9633e860"]]), se = {}; | ||
function ae(e, l) { | ||
return t(), s("span", c({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, e.$attrs), [ | ||
d(e.$slots, "default") | ||
], 16); | ||
} | ||
const ce = /* @__PURE__ */ _(se, [["render", ae]]), re = ["src"], fe = { | ||
const ce = /* @__PURE__ */ f(se, [["render", ae]]), le = ["src"], fe = { | ||
__name: "JImage", | ||
@@ -267,10 +267,10 @@ props: { | ||
setup(e) { | ||
return (r, o) => (t(), s("img", f({ | ||
return (l, o) => (t(), s("img", c({ | ||
src: e.imageSrc, | ||
alt: "Video Card Placeholder", | ||
class: "w-full" | ||
}, r.$attrs), null, 16, re)); | ||
}, l.$attrs), null, 16, le)); | ||
} | ||
}; | ||
const le = { | ||
const re = { | ||
__name: "JImageSceleton", | ||
@@ -285,8 +285,8 @@ props: { | ||
setup(e) { | ||
return (r, o) => (t(), s("div", f({ | ||
return (l, o) => (t(), s("div", c({ | ||
src: "", | ||
class: "jimage-sceleton w-full" | ||
}, r.$attrs), null, 16)); | ||
}, l.$attrs), null, 16)); | ||
} | ||
}, _e = /* @__PURE__ */ _(le, [["__scopeId", "data-v-8711541f"]]); | ||
}, _e = /* @__PURE__ */ f(re, [["__scopeId", "data-v-8711541f"]]); | ||
export { | ||
@@ -293,0 +293,0 @@ ce as JBadge, |
@@ -1,1 +0,1 @@ | ||
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.MyLib={},o.Vue))})(this,function(o,e){"use strict";const c=(t,l)=>{const r=t.__vccOpts||t;for(const[a,n]of l)r[a]=n;return r},m={};function p(t,l){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const _=c(m,[["render",p]]),u={};function h(t,l){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const y=c(u,[["render",h]]),Q="",g=t=>(e.pushScopeId("data-v-3c029fc4"),t=t(),e.popScopeId(),t),k={key:0,class:"relative"},B={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},S={class:"flex"},w={class:"flex ml-auto absolute right-0"},$={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 ml-1"},b=g(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),C={class:"flex"},V={class:"flex ml-auto"},E={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},q={key:0},x={key:1},N={key:2},z=c(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:String,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:String,required:!1}},setup(t){const l=t,r=e.useAttrs(),a=e.computed(()=>r.order?`flex-${r.order}`:"flex-col"),{showAuthor:n,showViews:d,showDate:i}=e.toRefs(l),f=e.computed(()=>n.value||d.value||i.value);return console.error("orderClass",a),(s,H)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},s.$attrs,{class:e.unref(a)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",B,[e.createElementVNode("div",S,[e.renderSlot(s.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",w,[e.renderSlot(s.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",$,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),b,e.createElementVNode("div",C,[e.renderSlot(s.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",V,[e.renderSlot(s.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(s.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(f)||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(f)?(e.openBlock(),e.createElementBlock("div",E,[e.unref(n)?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(d)?(e.openBlock(),e.createElementBlock("span",x,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-3c029fc4"]]),X="",I=t=>(e.pushScopeId("data-v-6358611c"),t=t(),e.popScopeId(),t),D={key:0,class:"relative"},J=I(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),T={key:0,class:"jcard-sceleton-title"},j={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},A={key:0},P={key:1},M={key:2},O=c(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:String,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:String,required:!1}},setup(t){const l=t,r=e.useAttrs(),a=e.computed(()=>r.order?`flex-${r.order}`:"flex-col"),{showAuthor:n,showViews:d,showDate:i}=e.toRefs(l),f=e.computed(()=>n.value||d.value||i.value);return console.error("orderClass",a),(s,H)=>(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"},s.$attrs,{class:e.unref(a)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",D,[J,e.renderSlot(s.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(f)||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",T)):e.createCommentVNode("",!0),e.unref(f)?(e.openBlock(),e.createElementBlock("div",j,[e.unref(n)?(e.openBlock(),e.createElementBlock("span",A)):e.createCommentVNode("",!0),e.unref(d)?(e.openBlock(),e.createElementBlock("span",P)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("span",M)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-6358611c"]]),R={};function K(t,l){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 Z=c(R,[["render",K]]),F=["src"],L={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:"Video Card Placeholder",class:"w-full"},l.$attrs),null,16,F))}},ee="",G=c({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},l.$attrs),null,16))}},[["__scopeId","data-v-8711541f"]]);o.JBadge=Z,o.JCard=z,o.JCardSceleton=O,o.JImage=L,o.JImageSceleton=G,o.MInput=y,o.VButton=_,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); | ||
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.MyLib={},o.Vue))})(this,function(o,e){"use strict";const n=(t,l)=>{const r=t.__vccOpts||t;for(const[c,s]of l)r[c]=s;return r},m={};function p(t,l){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const _=n(m,[["render",p]]),u={};function h(t,l){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const y=n(u,[["render",h]]),Q="",g=t=>(e.pushScopeId("data-v-fe853dac"),t=t(),e.popScopeId(),t),k={key:0,class:"relative"},B={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},S={class:"flex"},w={class:"flex ml-auto absolute right-0"},$={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 ml-1"},b=g(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),V={class:"flex"},E={class:"flex ml-auto"},q={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},C={key:0},x={key:1},N={key:2},z=n(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:String,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:String,required:!1}},setup(t){const l=t,r=e.useAttrs(),c=e.computed(()=>r.order?`flex-${r.order}`:"flex-col"),{showAuthor:s,showViews:d,showDate:i}=e.toRefs(l),f=e.computed(()=>s.value||d.value||i.value);return(a,H)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},a.$attrs,{class:e.unref(c)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",B,[e.createElementVNode("div",S,[e.renderSlot(a.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",w,[e.renderSlot(a.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",$,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),b,e.createElementVNode("div",V,[e.renderSlot(a.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",E,[e.renderSlot(a.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(a.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(f)||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(f)?(e.openBlock(),e.createElementBlock("div",q,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",C,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(d)?(e.openBlock(),e.createElementBlock("span",x,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-fe853dac"]]),X="",I=t=>(e.pushScopeId("data-v-9633e860"),t=t(),e.popScopeId(),t),D={key:0,class:"relative"},J=I(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),T={key:0,class:"jcard-sceleton-title"},j={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},A={key:0},P={key:1},M={key:2},O=n(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:String,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:String,required:!1}},setup(t){const l=t,r=e.useAttrs(),c=e.computed(()=>r.order?`flex-${r.order}`:"flex-col"),{showAuthor:s,showViews:d,showDate:i}=e.toRefs(l),f=e.computed(()=>s.value||d.value||i.value);return(a,H)=>(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"},a.$attrs,{class:e.unref(c)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",D,[J,e.renderSlot(a.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(f)||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",T)):e.createCommentVNode("",!0),e.unref(f)?(e.openBlock(),e.createElementBlock("div",j,[e.unref(s)?(e.openBlock(),e.createElementBlock("span",A)):e.createCommentVNode("",!0),e.unref(d)?(e.openBlock(),e.createElementBlock("span",P)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("span",M)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-9633e860"]]),R={};function K(t,l){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 Z=n(R,[["render",K]]),F=["src"],L={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:"Video Card Placeholder",class:"w-full"},l.$attrs),null,16,F))}},ee="",G=n({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},l.$attrs),null,16))}},[["__scopeId","data-v-8711541f"]]);o.JBadge=Z,o.JCard=z,o.JCardSceleton=O,o.JImage=L,o.JImageSceleton=G,o.MInput=y,o.VButton=_,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "dev": "vite", |
Sorry, the diff of this file is not supported yet
18922
316