@hotelinking/ui 4.34.7 → 4.34.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -2322,13 +2322,13 @@ const Gr = Ro(Wr, [["render", function(t2, l2, n2, o2, r2, i2) {
2322
2322
  return e2;
2323
2323
  });
2324
2324
  return (l3, s2) => t2.loading ? (e(), a("div", pi, gi)) : (e(), a("div", ei, [i("div", ti, [i("a", li, [r(l3.$slots, "previous")]), i("a", ni, [r(l3.$slots, "next")])]), i("div", ai, [i("div", null, [i("p", oi, [r(l3.$slots, "showing"), I(), i("span", ri, _(t2.current + " "), 1), r(l3.$slots, "of"), I(), i("span", ii, _(t2.total), 1)])]), i("div", null, [i("nav", si, [B(i("button", { onClick: s2[0] || (s2[0] = (e2) => c2("changePage", t2.current - 1)), class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50" }, [i("span", ui, [r(l3.$slots, "previous")]), o(d(an), { class: "h-5 w-5", "aria-hidden": "true" })], 512), [[L, 1 !== t2.current]]), (e(true), a(w, null, j(v2.value, (l4) => (e(), a("button", { onClick: (e2) => c2("changePage", l4), key: l4, "aria-current": "page", class: n([[l4 === t2.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"]) }, _(l4), 11, di))), 128)), B(i("button", { onClick: s2[1] || (s2[1] = (e2) => c2("changePage", t2.current + 1)), class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50" }, [i("span", ci, [r(l3.$slots, "next")]), o(d(on), { class: "h-5 w-5", "aria-hidden": "true" })], 512), [[L, t2.current !== t2.total]])])])])]));
2325
- } }), vi = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, hi = { class: "flex flex-col flex-grow overflow-y-auto" }, yi = { class: "grow flex flex-col" }, bi = { class: "flex-1 space-y-1", "aria-label": "Sidebar" }, xi = { key: 0 }, wi = ["onClick"], ki = { key: 0 }, Si = { key: 1, class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, Ci = { key: 0, class: "flex-1" }, Oi = { key: 1, class: "flex-1" }, Mi = [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)], Ti = { key: 0 }, Di = { key: 1, class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, Ei = { name: "uiSidebar" }, Ii = Object.assign(Ei, { props: { navigation: { type: Array, required: true }, loading: { type: Boolean, default: true } }, emits: ["sideBarClick"], setup(l2, { emit: r2 }) {
2325
+ } }), vi = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, hi = { class: "flex flex-col flex-grow overflow-y-auto" }, yi = { class: "grow flex flex-col" }, bi = { class: "flex-1 space-y-1", "aria-label": "Sidebar" }, xi = { key: 0 }, wi = ["onClick"], ki = { key: 0 }, Si = { key: 0, class: "flex-1" }, Ci = { key: 1, class: "flex-1" }, Oi = [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)], Mi = { key: 0 }, Ti = { key: 1, class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, Di = { key: 1 }, Ei = { class: "h-12 flex flex-row items-center" }, Ii = [i("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1), i("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)], _i = { name: "uiSidebar" }, Pi = Object.assign(_i, { props: { navigation: { type: Array, required: true }, loading: { type: Boolean, default: true } }, emits: ["sideBarClick"], setup(l2, { emit: r2 }) {
2326
2326
  const s2 = r2;
2327
- return (r3, u2) => (e(), a("div", vi, [i("div", hi, [i("div", yi, [i("nav", bi, [(e(true), a(w, null, j(l2.navigation, (r4) => (e(), a(w, { key: r4.name }, [r4.children ? (e(), t(d(hl), { key: 1, as: "div", class: "space-y-1" }, { default: E(({ open: i2 }) => [o(d(yl), { class: n([r4.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"]) }, { default: E(() => [o(K, { loading: l2.loading, icon: r4.icon, class: "mr-3 flex-shrink-0 h-6 w-6 text-gray-400 group-hover:text-gray-500", "aria-hidden": "true" }, null, 8, ["loading", "icon"]), l2.loading ? (e(), a("div", Oi, Mi)) : (e(), a("span", Ci, _(r4.name), 1)), o(d(on), { class: n([i2 ? "text-gray-400 rotate-90" : "text-gray-400", "ml-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"]) }, null, 8, ["class"])]), _: 2 }, 1032, ["class"]), o(d(bl), { class: "space-y-1" }, { default: E(() => [(e(true), a(w, null, j(r4.children, (n2) => (e(), t(d(yl), { onClick: (e2) => s2("sideBarClick", n2.id), key: n2.name, class: "group w-full flex items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50" }, { default: E(() => [l2.loading ? (e(), a("div", Di)) : (e(), a("span", Ti, _(n2.name), 1))]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 2 }, 1024)]), _: 2 }, 1024)) : (e(), a("div", xi, [i("button", { onClick: (e2) => s2("sideBarClick", r4.id), class: n([r4.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"]) }, [o(K, { loading: l2.loading, icon: r4.icon, class: n([r4.current ? "text-white" : "text-gray-400 group-hover:text-gray-500", "mr-3 flex-shrink-0 h-6 w-6"]), "aria-hidden": "true" }, null, 8, ["loading", "icon", "class"]), l2.loading ? (e(), a("div", Si)) : (e(), a("span", ki, _(r4.name), 1))], 10, wi)]))], 64))), 128))])])])]));
2328
- } }), _i = { key: 0 }, Pi = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, ji = { class: "ml-16 flex items-baseline pb-5" }, Ri = { class: "text-2xl font-semibold text-gray-900" }, Bi = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Ai = { class: "text-sm" }, Li = { key: 1 }, Fi = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Ni = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, zi = i("div", { class: "ml-16" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 mb-4 animate-pulse" })], -1), $i = i("div", { class: "ml-16" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 animate-pulse" })], -1), Hi = { name: "uiStats" }, Vi = Object.assign(Hi, { props: { item: { type: Object, required: true }, loading: { type: Boolean, default: true } }, emits: ["statClick"], setup(l2, { emit: r2 }) {
2327
+ return (r3, u2) => (e(), a("div", vi, [i("div", hi, [i("div", yi, [i("nav", bi, [l2.loading ? (e(), a("div", Di, [(e(), a(w, null, j(5, (e2) => i("div", Ei, Ii)), 64))])) : (e(true), a(w, { key: 0 }, j(l2.navigation, (r4) => (e(), a(w, { key: r4.name }, [r4.children ? (e(), t(d(hl), { key: 1, as: "div", class: "space-y-1" }, { default: E(({ open: i2 }) => [o(d(yl), { class: n([r4.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"]) }, { default: E(() => [o(K, { loading: l2.loading, icon: r4.icon, class: "mr-3 flex-shrink-0 h-6 w-6 text-gray-400 group-hover:text-gray-500", "aria-hidden": "true" }, null, 8, ["loading", "icon"]), l2.loading ? (e(), a("div", Ci, Oi)) : (e(), a("span", Si, _(r4.name), 1)), o(d(on), { class: n([i2 ? "text-gray-400 rotate-90" : "text-gray-400", "ml-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"]) }, null, 8, ["class"])]), _: 2 }, 1032, ["class"]), o(d(bl), { class: "space-y-1" }, { default: E(() => [(e(true), a(w, null, j(r4.children, (n2) => (e(), t(d(yl), { onClick: (e2) => s2("sideBarClick", n2.id), key: n2.name, class: "group w-full flex items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50" }, { default: E(() => [l2.loading ? (e(), a("div", Ti)) : (e(), a("span", Mi, _(n2.name), 1))]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 2 }, 1024)]), _: 2 }, 1024)) : (e(), a("div", xi, [i("button", { onClick: (e2) => s2("sideBarClick", r4.id), class: n([r4.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"]) }, [o(K, { loading: l2.loading, icon: r4.icon, class: n([r4.current ? "text-white" : "text-gray-400 group-hover:text-gray-500", "mr-3 flex-shrink-0 h-6 w-6"]), "aria-hidden": "true" }, null, 8, ["loading", "icon", "class"]), l2.loading ? R("", true) : (e(), a("span", ki, _(r4.name), 1))], 10, wi)]))], 64))), 128))])])])]));
2328
+ } }), ji = { key: 0 }, Ri = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Bi = { class: "ml-16 flex items-baseline pb-5" }, Ai = { class: "text-2xl font-semibold text-gray-900" }, Li = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Fi = { class: "text-sm" }, Ni = { key: 1 }, zi = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, $i = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Hi = i("div", { class: "ml-16" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 mb-4 animate-pulse" })], -1), Vi = i("div", { class: "ml-16" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 animate-pulse" })], -1), Yi = { name: "uiStats" }, Ui = Object.assign(Yi, { props: { item: { type: Object, required: true }, loading: { type: Boolean, default: true } }, emits: ["statClick"], setup(l2, { emit: r2 }) {
2329
2329
  const s2 = r2;
2330
- return (r3, u2) => l2.loading ? (e(), a("div", Li, [i("div", Fi, [i("dt", null, [i("div", Ni, [o(K, { loading: l2.loading, icon: l2.item.icon, class: "h-6 w-6 text-white", "aria-hidden": "true" }, null, 8, ["loading", "icon"])]), zi, $i])])])) : (e(), a("div", _i, [i("div", { class: n(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l2.item.showFooter }]) }, [i("dt", null, [i("div", { class: n(["absolute rounded-md p-3", { "bg-indigo-500": !l2.item.color, "bg-green-500": "success" === l2.item.color, "bg-red-500": "danger" === l2.item.color, "bg-yellow-500": "warning" === l2.item.color }]) }, [o(K, { icon: l2.item.icon, class: "h-6 w-6 text-white", "aria-hidden": "true", loading: l2.loading }, null, 8, ["icon", "loading"])], 2), i("p", Pi, _(l2.item.name), 1)]), i("dd", ji, [i("p", Ri, _(l2.item.stat), 1), l2.item.changeType ? (e(), a("p", { key: 0, class: n([{ "text-green-600": "increase" === l2.item.changeType, "text-red-600": "decrease" === l2.item.changeType, "text-black": "neutral" === l2.item.changeType }, "ml-2 flex items-baseline text-sm font-semibold"]) }, ["increase" === l2.item.changeType ? (e(), t(d(Ql), { key: 0, class: "self-center flex-shrink-0 h-3 w-3 text-green-500", "aria-hidden": "true" })) : R("", true), "decrease" === l2.item.changeType ? (e(), t(d(Xl), { key: 1, class: "self-center flex-shrink-0 h-3 w-3 text-red-500", "aria-hidden": "true" })) : R("", true), I(" " + _(l2.item.change), 1)], 2)) : R("", true), B(i("div", Bi, [i("div", Ai, [i("span", { onClick: u2[0] || (u2[0] = (e2) => s2("statClick", l2.item.id)), class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer" }, _(l2.item.actionText), 1)])], 512), [[L, l2.item.showFooter]])])], 2)]));
2331
- } }), Yi = { key: 0, class: "overflow-hidden bg-white shadow sm:rounded-lg" }, Ui = { class: "px-4 py-5 sm:px-6" }, qi = { class: "text-lg font-medium leading-6 text-gray-900" }, Wi = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Ki = { class: "border-t border-gray-200" }, Ji = { class: "text-sm font-medium text-gray-500" }, Gi = { key: 0, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal" }, Zi = { key: 1, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal" }, Xi = ["onClick"], Qi = { key: 3, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words" }, es = { key: 1, class: "overflow-hidden bg-white shadow sm:rounded-lg" }, ts = z('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><p class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></p></div>', 1), ls = { class: "border-t border-gray-200" }, ns = [i("dt", { class: "text-sm font-medium text-gray-500" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })], -1), i("dd", { class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })], -1)], as = { name: "uiStripedCard" }, os = Object.assign(as, { props: { title: String, subtitle: String, items: Object, loading: { type: Boolean, default: true } }, emits: ["itemClicked"], setup: (l2, { emit: r2 }) => (r3, s2) => l2.loading ? (e(), a("div", es, [ts, i("div", ls, [i("dl", null, [(e(), a(w, null, j(5, (e2) => i("div", { key: e2, class: n(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [e2 % 2 == 0 ? "bg-gray-50" : "bg-white"]]) }, ns, 2)), 64))])])])) : (e(), a("div", Yi, [i("div", Ui, [i("h3", qi, _(l2.title), 1), i("p", Wi, _(l2.subtitle), 1)]), i("div", Ki, [i("dl", null, [(e(true), a(w, null, j(l2.items, (s3, u2) => (e(), a("div", { key: u2, class: n(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [u2 % 2 == 0 ? "bg-gray-50" : "bg-white"]]) }, [i("dt", Ji, _(s3.title), 1), "tag" === s3.type ? (e(), a("dd", Gi, [o(na, { color: s3.color }, { default: E(() => [I(_(s3.text), 1)]), _: 2 }, 1032, ["color"])])) : "tags" === s3.type ? (e(), a("dd", Zi, [(e(true), a(w, null, j(s3.tags, (n2, a2) => (e(), t(na, { loading: l2.loading, key: a2, color: n2.color, class: "mr-2 mb-2" }, { default: E(() => [I(_(n2.text), 1)]), _: 2 }, 1032, ["loading", "color"]))), 128))])) : "link" === s3.type ? (e(), a("dd", { key: 2, class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer", onClick: (e2) => r3.$emit("itemClicked", s3.emits) }, _(s3.text), 9, Xi)) : (e(), a("dd", Qi, _(s3.text), 1))], 2))), 128))])])])) }), rs = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, is = i("svg", { class: "absolute -top-3 left-0", xmlns: "http://www.w3.org/2000/svg", width: "27.687", height: "26.954", viewBox: "0 0 27.687 26.954" }, [i("path", { id: "Polígono_1", "data-name": "Polígono 1", d: "M10.5,0,21,19H0Z", transform: "translate(0 10.5) rotate(-30)", fill: "#4f46e5" })], -1), ss = { class: "ml-2" }, us = { __name: "tooltip", props: { tip: { type: String, required: true } }, setup: (t2) => (l2, n2) => (e(), a("div", rs, [is, i("div", null, [o(K, { icon: d(gn), loading: false, color: "white", size: "big" }, null, 8, ["icon"])]), i("span", ss, _(t2.tip), 1)])) }, ds = { key: 0 }, cs = { class: "flex flex-col" }, ps = { class: "-my-2 overflow-x-auto" }, gs = { class: "inline-block min-w-full py-2 align-middle px-1" }, ms = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, fs = { key: 0, class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10" }, vs = ["onClick"], hs = { class: "min-w-full table-fixed divide-y divide-gray-300" }, ys = { class: "bg-gray-50" }, bs = ["checked", "indeterminate"], xs = ["onMouseover", "onMouseleave"], ws = ["onClick"], ks = { key: 2, class: "group flex items-center uppercase text-xs" }, Ss = { class: "divide-y divide-gray-200 bg-white" }, Cs = { key: 0, class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600" }, Os = ["value"], Ms = ["onClick"], Ts = ["href"], Ds = { key: 3 }, Es = { name: "uiTable" }, Is = Object.assign(Es, { props: { header: { type: Array, required: true }, items: { type: Array, required: true }, orderedBy: String, orderDirection: { type: String, default: "asc" }, actions: Array, loading: { type: Boolean, default: true } }, emits: ["tableAction", "orderBy"], setup(l2, { emit: r2 }) {
2330
+ return (r3, u2) => l2.loading ? (e(), a("div", Ni, [i("div", zi, [i("dt", null, [i("div", $i, [o(K, { loading: l2.loading, icon: l2.item.icon, class: "h-6 w-6 text-white", "aria-hidden": "true" }, null, 8, ["loading", "icon"])]), Hi, Vi])])])) : (e(), a("div", ji, [i("div", { class: n(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l2.item.showFooter }]) }, [i("dt", null, [i("div", { class: n(["absolute rounded-md p-3", { "bg-indigo-500": !l2.item.color, "bg-green-500": "success" === l2.item.color, "bg-red-500": "danger" === l2.item.color, "bg-yellow-500": "warning" === l2.item.color }]) }, [o(K, { icon: l2.item.icon, class: "h-6 w-6 text-white", "aria-hidden": "true", loading: l2.loading }, null, 8, ["icon", "loading"])], 2), i("p", Ri, _(l2.item.name), 1)]), i("dd", Bi, [i("p", Ai, _(l2.item.stat), 1), l2.item.changeType ? (e(), a("p", { key: 0, class: n([{ "text-green-600": "increase" === l2.item.changeType, "text-red-600": "decrease" === l2.item.changeType, "text-black": "neutral" === l2.item.changeType }, "ml-2 flex items-baseline text-sm font-semibold"]) }, ["increase" === l2.item.changeType ? (e(), t(d(Ql), { key: 0, class: "self-center flex-shrink-0 h-3 w-3 text-green-500", "aria-hidden": "true" })) : R("", true), "decrease" === l2.item.changeType ? (e(), t(d(Xl), { key: 1, class: "self-center flex-shrink-0 h-3 w-3 text-red-500", "aria-hidden": "true" })) : R("", true), I(" " + _(l2.item.change), 1)], 2)) : R("", true), B(i("div", Li, [i("div", Fi, [i("span", { onClick: u2[0] || (u2[0] = (e2) => s2("statClick", l2.item.id)), class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer" }, _(l2.item.actionText), 1)])], 512), [[L, l2.item.showFooter]])])], 2)]));
2331
+ } }), qi = { key: 0, class: "overflow-hidden bg-white shadow sm:rounded-lg" }, Wi = { class: "px-4 py-5 sm:px-6" }, Ki = { class: "text-lg font-medium leading-6 text-gray-900" }, Ji = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Gi = { class: "border-t border-gray-200" }, Zi = { class: "text-sm font-medium text-gray-500" }, Xi = { key: 0, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal" }, Qi = { key: 1, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal" }, es = ["onClick"], ts = { key: 3, class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words" }, ls = { key: 1, class: "overflow-hidden bg-white shadow sm:rounded-lg" }, ns = z('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><p class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></p></div>', 1), as = { class: "border-t border-gray-200" }, os = [i("dt", { class: "text-sm font-medium text-gray-500" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })], -1), i("dd", { class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })], -1)], rs = { name: "uiStripedCard" }, is = Object.assign(rs, { props: { title: String, subtitle: String, items: Object, loading: { type: Boolean, default: true } }, emits: ["itemClicked"], setup: (l2, { emit: r2 }) => (r3, s2) => l2.loading ? (e(), a("div", ls, [ns, i("div", as, [i("dl", null, [(e(), a(w, null, j(5, (e2) => i("div", { key: e2, class: n(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [e2 % 2 == 0 ? "bg-gray-50" : "bg-white"]]) }, os, 2)), 64))])])])) : (e(), a("div", qi, [i("div", Wi, [i("h3", Ki, _(l2.title), 1), i("p", Ji, _(l2.subtitle), 1)]), i("div", Gi, [i("dl", null, [(e(true), a(w, null, j(l2.items, (s3, u2) => (e(), a("div", { key: u2, class: n(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [u2 % 2 == 0 ? "bg-gray-50" : "bg-white"]]) }, [i("dt", Zi, _(s3.title), 1), "tag" === s3.type ? (e(), a("dd", Xi, [o(na, { color: s3.color }, { default: E(() => [I(_(s3.text), 1)]), _: 2 }, 1032, ["color"])])) : "tags" === s3.type ? (e(), a("dd", Qi, [(e(true), a(w, null, j(s3.tags, (n2, a2) => (e(), t(na, { loading: l2.loading, key: a2, color: n2.color, class: "mr-2 mb-2" }, { default: E(() => [I(_(n2.text), 1)]), _: 2 }, 1032, ["loading", "color"]))), 128))])) : "link" === s3.type ? (e(), a("dd", { key: 2, class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer", onClick: (e2) => r3.$emit("itemClicked", s3.emits) }, _(s3.text), 9, es)) : (e(), a("dd", ts, _(s3.text), 1))], 2))), 128))])])])) }), ss = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, us = i("svg", { class: "absolute -top-3 left-0", xmlns: "http://www.w3.org/2000/svg", width: "27.687", height: "26.954", viewBox: "0 0 27.687 26.954" }, [i("path", { id: "Polígono_1", "data-name": "Polígono 1", d: "M10.5,0,21,19H0Z", transform: "translate(0 10.5) rotate(-30)", fill: "#4f46e5" })], -1), ds = { class: "ml-2" }, cs = { __name: "tooltip", props: { tip: { type: String, required: true } }, setup: (t2) => (l2, n2) => (e(), a("div", ss, [us, i("div", null, [o(K, { icon: d(gn), loading: false, color: "white", size: "big" }, null, 8, ["icon"])]), i("span", ds, _(t2.tip), 1)])) }, ps = { key: 0 }, gs = { class: "flex flex-col" }, ms = { class: "-my-2 overflow-x-auto" }, fs = { class: "inline-block min-w-full py-2 align-middle px-1" }, vs = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, hs = { key: 0, class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10" }, ys = ["onClick"], bs = { class: "min-w-full table-fixed divide-y divide-gray-300" }, xs = { class: "bg-gray-50" }, ws = ["checked", "indeterminate"], ks = ["onMouseover", "onMouseleave"], Ss = ["onClick"], Cs = { key: 2, class: "group flex items-center uppercase text-xs" }, Os = { class: "divide-y divide-gray-200 bg-white" }, Ms = { key: 0, class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600" }, Ts = ["value"], Ds = ["onClick"], Es = ["href"], Is = { key: 3 }, _s = { name: "uiTable" }, Ps = Object.assign(_s, { props: { header: { type: Array, required: true }, items: { type: Array, required: true }, orderedBy: String, orderDirection: { type: String, default: "asc" }, actions: Array, loading: { type: Boolean, default: true } }, emits: ["tableAction", "orderBy"], setup(l2, { emit: r2 }) {
2332
2332
  let c2 = s([]);
2333
2333
  s(false);
2334
2334
  let p2 = s(void 0);
@@ -2337,52 +2337,52 @@ const Gr = Ro(Wr, [["render", function(t2, l2, n2, o2, r2, i2) {
2337
2337
  };
2338
2338
  return (r3, s2) => {
2339
2339
  var _a2, _b;
2340
- return l2.loading ? (e(), t(Go, { key: 1 })) : (e(), a("div", ds, [i("div", cs, [i("div", ps, [i("div", gs, [i("div", ms, [((_a2 = d(c2)) == null ? void 0 : _a2.length) > 0 && ((_b = l2.actions) == null ? void 0 : _b.length) > 0 ? (e(), a("div", fs, [(e(true), a(w, null, j(l2.actions, (t2, l3) => (e(), a("button", { onClick: (e2) => g2("tableAction", { action: t2.id, items: d(c2) }), key: l3, type: "button", class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30" }, _(t2.name), 9, vs))), 128))])) : R("", true), i("table", hs, [i("thead", ys, [i("tr", null, [i("th", { scope: "col", class: n([l2.actions ? "px-6 sm:px-8" : "px-3", "relative"]) }, [l2.actions ? (e(), a("input", { key: 0, checked: f2.value || d(c2).length === l2.items.length, indeterminate: f2.value, class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500", type: "checkbox", onChange: s2[0] || (s2[0] = (e2) => V(c2) ? c2.value = e2.target.checked ? l2.items.map((e3) => e3.id) : [] : c2 = e2.target.checked ? l2.items.map((e3) => e3.id) : []) }, null, 40, bs)) : R("", true)], 2), (e(true), a(w, null, j(l2.header, (r4, s3) => (e(), a("th", { key: s3, class: "py-3.5 pr-3 text-left font-semibold text-gray-900 flex-wrap relative", scope: "col", onMouseover: (e2) => v2(r4.name, true), onMouseleave: (e2) => v2(r4.name, false) }, [r4.tooltip ? B((e(), t(us, { key: 0, tip: r4.tooltip }, null, 8, ["tip"])), [[L, d(p2) === r4.name]]) : R("", true), r4.value ? (e(), a("button", { key: 1, class: "group flex items-center uppercase text-xs relative", onClick: (e2) => g2("orderBy", { value: r4.value, orderDirection: "asc" === l2.orderDirection ? "desc" : "asc" }) }, [i("span", null, _(r4.name), 1), i("span", { class: n([[r4.value === l2.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"]) }, [o(K, { icon: "asc" === l2.orderDirection ? d(nn) : d(sn), loading: l2.loading, color: r4.value === l2.orderedBy ? "white" : "primary" }, null, 8, ["icon", "loading", "color"])], 2)], 8, ws)) : (e(), a("p", ks, [i("span", null, _(r4.name), 1)]))], 40, xs))), 128))])]), i("tbody", Ss, [(e(true), a(w, null, j(l2.items, (o2, r4) => {
2340
+ return l2.loading ? (e(), t(Go, { key: 1 })) : (e(), a("div", ps, [i("div", gs, [i("div", ms, [i("div", fs, [i("div", vs, [((_a2 = d(c2)) == null ? void 0 : _a2.length) > 0 && ((_b = l2.actions) == null ? void 0 : _b.length) > 0 ? (e(), a("div", hs, [(e(true), a(w, null, j(l2.actions, (t2, l3) => (e(), a("button", { onClick: (e2) => g2("tableAction", { action: t2.id, items: d(c2) }), key: l3, type: "button", class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30" }, _(t2.name), 9, ys))), 128))])) : R("", true), i("table", bs, [i("thead", xs, [i("tr", null, [i("th", { scope: "col", class: n([l2.actions ? "px-6 sm:px-8" : "px-3", "relative"]) }, [l2.actions ? (e(), a("input", { key: 0, checked: f2.value || d(c2).length === l2.items.length, indeterminate: f2.value, class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500", type: "checkbox", onChange: s2[0] || (s2[0] = (e2) => V(c2) ? c2.value = e2.target.checked ? l2.items.map((e3) => e3.id) : [] : c2 = e2.target.checked ? l2.items.map((e3) => e3.id) : []) }, null, 40, ws)) : R("", true)], 2), (e(true), a(w, null, j(l2.header, (r4, s3) => (e(), a("th", { key: s3, class: "py-3.5 pr-3 text-left font-semibold text-gray-900 flex-wrap relative", scope: "col", onMouseover: (e2) => v2(r4.name, true), onMouseleave: (e2) => v2(r4.name, false) }, [r4.tooltip ? B((e(), t(cs, { key: 0, tip: r4.tooltip }, null, 8, ["tip"])), [[L, d(p2) === r4.name]]) : R("", true), r4.value ? (e(), a("button", { key: 1, class: "group flex items-center uppercase text-xs relative", onClick: (e2) => g2("orderBy", { value: r4.value, orderDirection: "asc" === l2.orderDirection ? "desc" : "asc" }) }, [i("span", null, _(r4.name), 1), i("span", { class: n([[r4.value === l2.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"]) }, [o(K, { icon: "asc" === l2.orderDirection ? d(nn) : d(sn), loading: l2.loading, color: r4.value === l2.orderedBy ? "white" : "primary" }, null, 8, ["icon", "loading", "color"])], 2)], 8, Ss)) : (e(), a("p", Cs, [i("span", null, _(r4.name), 1)]))], 40, ks))), 128))])]), i("tbody", Os, [(e(true), a(w, null, j(l2.items, (o2, r4) => {
2341
2341
  var _a3, _b2;
2342
- return e(), a("tr", { key: o2.id, class: n([d(c2).includes(o2.id) && "bg-gray-50", r4 % 2 == 0 ? void 0 : "bg-gray-50"]) }, [i("td", { class: n([((_a3 = l2.actions) == null ? void 0 : _a3.length) > 0 ? "w-2" : "w-0", "relative"]) }, [d(c2).includes(o2.id) ? (e(), a("div", Cs)) : R("", true), ((_b2 = l2.actions) == null ? void 0 : _b2.length) > 0 ? B((e(), a("input", { key: 1, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => V(c2) ? c2.value = e2 : c2 = e2), value: o2.id, class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap", type: "checkbox" }, null, 8, Os)), [[H, d(c2)]]) : R("", true)], 2), (e(true), a(w, null, j(o2.row, (r5, i2) => (e(), a("td", { key: i2, class: n(["whitespace-nowrap py-4 pr-3 text-sm", d(c2).includes(o2.id) ? "text-indigo-600" : "text-gray-900"]) }, ["object" == typeof r5 && "tag" === r5.type ? (e(), t(na, { key: 0, loading: l2.loading, color: r5.color }, { default: E(() => [I(_(r5.content), 1)]), _: 2 }, 1032, ["loading", "color"])) : "object" == typeof r5 && "link" === r5.type ? (e(), a("span", { key: 1, class: "text-indigo-600 hover:text-indigo-400 cursor-pointer", onClick: (e2) => g2(r5.emits, { id: o2.id, data: (o2 == null ? void 0 : o2.emitWith) || null }) }, _(r5.content), 9, Ms)) : "object" == typeof r5 && "href" === r5.type ? (e(), a("a", { key: 2, class: "text-indigo-600 hover:text-indigo-400 cursor-pointer", href: r5.href, target: "_blank" }, _(r5.content), 9, Ts)) : (e(), a("span", Ds, _(r5), 1))], 2))), 128))], 2);
2342
+ return e(), a("tr", { key: o2.id, class: n([d(c2).includes(o2.id) && "bg-gray-50", r4 % 2 == 0 ? void 0 : "bg-gray-50"]) }, [i("td", { class: n([((_a3 = l2.actions) == null ? void 0 : _a3.length) > 0 ? "w-2" : "w-0", "relative"]) }, [d(c2).includes(o2.id) ? (e(), a("div", Ms)) : R("", true), ((_b2 = l2.actions) == null ? void 0 : _b2.length) > 0 ? B((e(), a("input", { key: 1, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => V(c2) ? c2.value = e2 : c2 = e2), value: o2.id, class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap", type: "checkbox" }, null, 8, Ts)), [[H, d(c2)]]) : R("", true)], 2), (e(true), a(w, null, j(o2.row, (r5, i2) => (e(), a("td", { key: i2, class: n(["whitespace-nowrap py-4 pr-3 text-sm", d(c2).includes(o2.id) ? "text-indigo-600" : "text-gray-900"]) }, ["object" == typeof r5 && "tag" === r5.type ? (e(), t(na, { key: 0, loading: l2.loading, color: r5.color }, { default: E(() => [I(_(r5.content), 1)]), _: 2 }, 1032, ["loading", "color"])) : "object" == typeof r5 && "link" === r5.type ? (e(), a("span", { key: 1, class: "text-indigo-600 hover:text-indigo-400 cursor-pointer", onClick: (e2) => g2(r5.emits, { id: o2.id, data: (o2 == null ? void 0 : o2.emitWith) || null }) }, _(r5.content), 9, Ds)) : "object" == typeof r5 && "href" === r5.type ? (e(), a("a", { key: 2, class: "text-indigo-600 hover:text-indigo-400 cursor-pointer", href: r5.href, target: "_blank" }, _(r5.content), 9, Es)) : (e(), a("span", Is, _(r5), 1))], 2))), 128))], 2);
2343
2343
  }), 128))])])])])])])]));
2344
2344
  };
2345
- } }), _s = { class: "lg:hidden" }, Ps = ["value"], js = { class: "hidden lg:block" }, Rs = { class: "border-b border-gray-200" }, Bs = { class: "-mb-px flex space-x-8", "aria-label": "Tabs" }, As = ["onClick", "aria-current"], Ls = { name: "uiTabs" }, Fs = Object.assign(Ls, { props: { tabs: Array }, emits: ["tabClicked"], setup(t2, { emit: l2 }) {
2345
+ } }), js = { class: "lg:hidden" }, Rs = ["value"], Bs = { class: "hidden lg:block" }, As = { class: "border-b border-gray-200" }, Ls = { class: "-mb-px flex space-x-8", "aria-label": "Tabs" }, Fs = ["onClick", "aria-current"], Ns = { name: "uiTabs" }, zs = Object.assign(Ns, { props: { tabs: Array }, emits: ["tabClicked"], setup(t2, { emit: l2 }) {
2346
2346
  const o2 = l2;
2347
- return (l3, r2) => (e(), a("div", null, [i("div", _s, [i("select", { onChange: r2[0] || (r2[0] = (e2) => {
2347
+ return (l3, r2) => (e(), a("div", null, [i("div", js, [i("select", { onChange: r2[0] || (r2[0] = (e2) => {
2348
2348
  o2("tabClicked", e2.target.value);
2349
- }), id: "tabs", name: "tabs", class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" }, [(e(true), a(w, null, j(t2.tabs, (t3) => (e(), a("option", { value: t3.id, key: t3.name }, _(t3.name), 9, Ps))), 128))], 32)]), i("div", js, [i("div", Rs, [i("nav", Bs, [(e(true), a(w, null, j(t2.tabs, (t3) => (e(), a("a", { key: t3.name, onClick: (e2) => o2("tabClicked", t3.id), class: n([t3.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200", "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"]), "aria-current": t3.current ? "page" : void 0 }, [I(_(t3.name) + " ", 1), t3.count ? (e(), a("span", { key: 0, class: n([t3.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900", "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"]) }, _(t3.count), 3)) : R("", true)], 10, As))), 128))])])])]));
2350
- } }), Ns = { key: 0, class: "bg-white overflow-hidden shadow rounded-lg" }, zs = { class: "px-4 py-5 sm:px-6" }, $s = { class: "text-xl font-bold" }, Hs = { class: "px-4 py-5 sm:p-6" }, Vs = { class: "flow-root" }, Ys = { class: "-mb-8", role: "list" }, Us = { class: "relative pb-8" }, qs = { key: 0, class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" }, Ws = { class: "relative flex space-x-3" }, Ks = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Js = { class: "text-sm text-gray-500" }, Gs = ["onClick"], Zs = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Xs = ["datetime"], Qs = { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10" }, eu = { class: "text-sm" }, tu = { class: "h-full w-full flex items-center justify-center flex-col mb-5" }, lu = i("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1), nu = { key: 1, class: "bg-white overflow-hidden shadow rounded-lg" }, au = i("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [i("h1", { class: "text-xl font-bold" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })])], -1), ou = { class: "px-4 py-5 sm:p-6 animate-pulse" }, ru = { class: "flow-root" }, iu = { class: "-mb-8", role: "list" }, su = { class: "relative pb-8" }, uu = { key: 0, class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" }, du = z('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><p class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></p></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1), cu = i("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [i("div", { class: "text-sm" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })])], -1), pu = { name: "uiTimeline" }, gu = Object.assign(pu, { props: { name: { type: String, required: true }, timeline: { type: Object }, loading: { type: Boolean, default: true }, empty: { type: Boolean, default: false } }, setup: (t2) => (l2, r2) => {
2349
+ }), id: "tabs", name: "tabs", class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" }, [(e(true), a(w, null, j(t2.tabs, (t3) => (e(), a("option", { value: t3.id, key: t3.name }, _(t3.name), 9, Rs))), 128))], 32)]), i("div", Bs, [i("div", As, [i("nav", Ls, [(e(true), a(w, null, j(t2.tabs, (t3) => (e(), a("a", { key: t3.name, onClick: (e2) => o2("tabClicked", t3.id), class: n([t3.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200", "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"]), "aria-current": t3.current ? "page" : void 0 }, [I(_(t3.name) + " ", 1), t3.count ? (e(), a("span", { key: 0, class: n([t3.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900", "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"]) }, _(t3.count), 3)) : R("", true)], 10, Fs))), 128))])])])]));
2350
+ } }), $s = { key: 0, class: "bg-white overflow-hidden shadow rounded-lg" }, Hs = { class: "px-4 py-5 sm:px-6" }, Vs = { class: "text-xl font-bold" }, Ys = { class: "px-4 py-5 sm:p-6" }, Us = { class: "flow-root" }, qs = { class: "-mb-8", role: "list" }, Ws = { class: "relative pb-8" }, Ks = { key: 0, class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" }, Js = { class: "relative flex space-x-3" }, Gs = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Zs = { class: "text-sm text-gray-500" }, Xs = ["onClick"], Qs = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, eu = ["datetime"], tu = { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10" }, lu = { class: "text-sm" }, nu = { class: "h-full w-full flex items-center justify-center flex-col mb-5" }, au = i("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1), ou = { key: 1, class: "bg-white overflow-hidden shadow rounded-lg" }, ru = i("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [i("h1", { class: "text-xl font-bold" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })])], -1), iu = { class: "px-4 py-5 sm:p-6 animate-pulse" }, su = { class: "flow-root" }, uu = { class: "-mb-8", role: "list" }, du = { class: "relative pb-8" }, cu = { key: 0, class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" }, pu = z('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><p class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></p></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1), gu = i("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [i("div", { class: "text-sm" }, [i("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })])], -1), mu = { name: "uiTimeline" }, fu = Object.assign(mu, { props: { name: { type: String, required: true }, timeline: { type: Object }, loading: { type: Boolean, default: true }, empty: { type: Boolean, default: false } }, setup: (t2) => (l2, r2) => {
2351
2351
  const s2 = $("uiIcon");
2352
- return t2.loading ? (e(), a("div", nu, [au, i("div", ou, [i("div", ru, [i("ul", iu, [(e(), a(w, null, j(10, (t3) => i("li", { key: l2.index }, [i("div", su, [10 !== t3 ? (e(), a("span", uu)) : R("", true), du])])), 64))])])]), cu])) : (e(), a("div", Ns, [i("div", zs, [i("h1", $s, _(t2.name), 1)]), B(i("div", Hs, [i("div", Vs, [i("ul", Ys, [(e(true), a(w, null, j(t2.timeline.items, (r3, u2) => (e(), a("li", { key: u2 }, [i("div", Us, [u2 !== t2.timeline.items.length - 1 ? (e(), a("span", qs)) : R("", true), i("div", Ws, [i("div", null, [i("span", { class: n([r3.iconBackground, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"]) }, [o(s2, { loading: t2.loading, icon: r3.icon, "aria-hidden": "true", class: "h-5 w-5 text-white", color: "white" }, null, 8, ["loading", "icon"])], 2)]), i("div", Ks, [i("div", null, [i("p", Js, [i("a", { onClick: (e2) => l2.$emit("timelineEventClicked", r3.linkId), class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer" }, _(r3.target), 9, Gs), I(" " + _(r3.content), 1)])]), i("div", Zs, [i("time", { datetime: r3.datetime }, _(r3.date), 9, Xs)])])])])]))), 128))])])], 512), [[L, !t2.empty]]), B(i("div", Qs, [i("div", eu, [i("a", { class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500", onClick: r2[0] || (r2[0] = (e2) => l2.$emit("timelineFooterClicked", t2.timeline.id)) }, _(t2.timeline.footerText), 1)])], 512), [[L, !t2.empty]]), B(i("div", tu, [o(K, { icon: d(un), color: "gray", loading: false, size: "huge" }, null, 8, ["icon"]), lu], 512), [[L, t2.empty]])]));
2353
- } }), mu = { name: "uiTopbar", props: ["navigation", "logo", "profileMenu", "brand", "accountLogo", "alerted"], components: { Disclosure: hl, DisclosureButton: yl, DisclosurePanel: bl, Menu: Tl, MenuButton: Dl, MenuItem: Il, MenuItems: El, Bars3Icon: function(t2, l2) {
2352
+ return t2.loading ? (e(), a("div", ou, [ru, i("div", iu, [i("div", su, [i("ul", uu, [(e(), a(w, null, j(10, (t3) => i("li", { key: l2.index }, [i("div", du, [10 !== t3 ? (e(), a("span", cu)) : R("", true), pu])])), 64))])])]), gu])) : (e(), a("div", $s, [i("div", Hs, [i("h1", Vs, _(t2.name), 1)]), B(i("div", Ys, [i("div", Us, [i("ul", qs, [(e(true), a(w, null, j(t2.timeline.items, (r3, u2) => (e(), a("li", { key: u2 }, [i("div", Ws, [u2 !== t2.timeline.items.length - 1 ? (e(), a("span", Ks)) : R("", true), i("div", Js, [i("div", null, [i("span", { class: n([r3.iconBackground, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"]) }, [o(s2, { loading: t2.loading, icon: r3.icon, "aria-hidden": "true", class: "h-5 w-5 text-white", color: "white" }, null, 8, ["loading", "icon"])], 2)]), i("div", Gs, [i("div", null, [i("p", Zs, [i("a", { onClick: (e2) => l2.$emit("timelineEventClicked", r3.linkId), class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer" }, _(r3.target), 9, Xs), I(" " + _(r3.content), 1)])]), i("div", Qs, [i("time", { datetime: r3.datetime }, _(r3.date), 9, eu)])])])])]))), 128))])])], 512), [[L, !t2.empty]]), B(i("div", tu, [i("div", lu, [i("a", { class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500", onClick: r2[0] || (r2[0] = (e2) => l2.$emit("timelineFooterClicked", t2.timeline.id)) }, _(t2.timeline.footerText), 1)])], 512), [[L, !t2.empty]]), B(i("div", nu, [o(K, { icon: d(un), color: "gray", loading: false, size: "huge" }, null, 8, ["icon"]), au], 512), [[L, t2.empty]])]));
2353
+ } }), vu = { name: "uiTopbar", props: ["navigation", "logo", "profileMenu", "brand", "accountLogo", "alerted"], components: { Disclosure: hl, DisclosureButton: yl, DisclosurePanel: bl, Menu: Tl, MenuButton: Dl, MenuItem: Il, MenuItems: El, Bars3Icon: function(t2, l2) {
2354
2354
  return e(), a("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", "aria-hidden": "true", "data-slot": "icon" }, [i("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" })]);
2355
- }, XMarkIcon: vn } }, fu = { class: "mx-auto px-6 lg:px-8" }, vu = { class: "flex justify-between h-20" }, hu = { class: "flex" }, yu = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, bu = i("span", { class: "sr-only" }, "Open main menu", -1), xu = ["src"], wu = { class: "flex items-center" }, ku = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Su = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Cu = [i("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)], Ou = ["src"], Mu = ["onClick"], Tu = { class: "pt-2 pb-3 space-y-1" }, Du = ["onClick"], Eu = { class: "pt-4 pb-3 border-t border-gray-200" }, Iu = { class: "flex items-center px-4 sm:px-6" }, _u = { class: "flex-shrink-0" }, Pu = ["src"], ju = { key: 0, class: "ml-3" }, Ru = { class: "text-base font-medium text-gray-800" }, Bu = { class: "text-sm font-medium text-gray-500" }, Au = { class: "mt-3 space-y-1" }, Lu = ["onClick"];
2356
- const Fu = Ro(mu, [["render", function(l2, r2, s2, u2, d2, c2) {
2355
+ }, XMarkIcon: vn } }, hu = { class: "mx-auto px-6 lg:px-8" }, yu = { class: "flex justify-between h-20" }, bu = { class: "flex" }, xu = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, wu = i("span", { class: "sr-only" }, "Open main menu", -1), ku = ["src"], Su = { class: "flex items-center" }, Cu = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Ou = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Mu = [i("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)], Tu = ["src"], Du = ["onClick"], Eu = { class: "pt-2 pb-3 space-y-1" }, Iu = ["onClick"], _u = { class: "pt-4 pb-3 border-t border-gray-200" }, Pu = { class: "flex items-center px-4 sm:px-6" }, ju = { class: "flex-shrink-0" }, Ru = ["src"], Bu = { key: 0, class: "ml-3" }, Au = { class: "text-base font-medium text-gray-800" }, Lu = { class: "text-sm font-medium text-gray-500" }, Fu = { class: "mt-3 space-y-1" }, Nu = ["onClick"];
2356
+ const zu = Ro(vu, [["render", function(l2, r2, s2, u2, d2, c2) {
2357
2357
  const p2 = $("Bars3Icon"), g2 = $("XMarkIcon"), m2 = $("DisclosureButton"), f2 = $("MenuButton"), v2 = $("MenuItem"), h2 = $("MenuItems"), y2 = $("Menu"), b2 = $("DisclosurePanel"), x2 = $("Disclosure");
2358
- return e(), t(x2, { as: "nav", class: "bg-white shadow z-10" }, { default: E(({ open: u3 }) => [i("div", fu, [i("div", vu, [i("div", hu, [i("div", yu, [o(m2, { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, { default: E(() => [bu, u3 ? (e(), t(g2, { key: 1, class: "block h-6 w-6", "aria-hidden": "true" })) : (e(), t(p2, { key: 0, class: "block h-6 w-6", "aria-hidden": "true" }))]), _: 2 }, 1024)]), i("div", { class: "flex-shrink-0 flex items-center cursor-pointer", onClick: r2[0] || (r2[0] = (e2) => l2.$emit("topBarClick", "logo")) }, [i("img", { class: "h-10", src: s2.logo, alt: "Hotelinking suite product logo" }, null, 8, xu)])]), i("div", wu, [i("div", ku, [o(y2, { as: "div", class: "ml-3 relative" }, { default: E(() => [i("div", null, [B(o(f2, { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, { default: E(() => [B(i("div", Su, Cu, 512), [[L, s2.alerted]]), i("img", { class: "h-10 w-10 rounded-full", src: s2.accountLogo }, null, 8, Ou)]), _: 1 }, 512), [[L, s2.accountLogo]])]), o(P, { "enter-active-class": "transition ease-out duration-200", "enter-from-class": "transform opacity-0 scale-95", "enter-to-class": "transform opacity-100 scale-100", "leave-active-class": "transition ease-in duration-75", "leave-from-class": "transform opacity-100 scale-100", "leave-to-class": "transform opacity-0 scale-95" }, { default: E(() => [o(h2, { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, { default: E(() => [(e(true), a(w, null, j(s2.profileMenu, (a2) => (e(), t(v2, { key: a2.name }, { default: E(({ active: e2 }) => [i("p", { onClick: (e3) => l2.$emit("topBarClick", a2.id), class: n(["cursor-pointer", [e2 ? "bg-gray-100" : "", "block px-4 py-2 text-sm text-gray-700"]]) }, _(a2.name), 11, Mu)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })]), _: 1 })])])])]), o(b2, { class: "lg:hidden" }, { default: E(() => [i("div", Tu, [(e(true), a(w, null, j(s2.navigation, (a2) => (e(), t(m2, { as: "template", key: a2.name, class: n(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", { "bg-indigo-50 border-indigo-500 text-indigo-700": a2.current && true === a2.current, "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !a2.current }]) }, { default: E(() => [i("p", { onClick: (e2) => l2.$emit("topBarClick", a2.id) }, _(a2.name), 9, Du)]), _: 2 }, 1032, ["class"]))), 128))]), i("div", Eu, [i("div", Iu, [i("div", _u, [i("img", { class: "h-10 w-10 rounded-full", src: s2.accountLogo }, null, 8, Pu)]), s2.brand ? (e(), a("div", ju, [i("div", Ru, _(s2.brand.title), 1), i("div", Bu, _(s2.brand.subtitle), 1)])) : R("", true)]), i("div", Au, [(e(true), a(w, null, j(s2.profileMenu, (n2) => (e(), t(m2, { as: "template", key: n2.name, class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6" }, { default: E(() => [i("p", { onClick: (e2) => l2.$emit("topBarClick", n2.id) }, _(n2.name), 9, Lu)]), _: 2 }, 1024))), 128))])])]), _: 1 })]), _: 1 });
2359
- }]]), Nu = { chart: { type: "bar", toolbar: { show: false }, zoom: { enabled: false } }, colors: ["#715aff"], dataLabels: { enabled: true, formatter: function(e2, t2) {
2358
+ return e(), t(x2, { as: "nav", class: "bg-white shadow z-10" }, { default: E(({ open: u3 }) => [i("div", hu, [i("div", yu, [i("div", bu, [i("div", xu, [o(m2, { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, { default: E(() => [wu, u3 ? (e(), t(g2, { key: 1, class: "block h-6 w-6", "aria-hidden": "true" })) : (e(), t(p2, { key: 0, class: "block h-6 w-6", "aria-hidden": "true" }))]), _: 2 }, 1024)]), i("div", { class: "flex-shrink-0 flex items-center cursor-pointer", onClick: r2[0] || (r2[0] = (e2) => l2.$emit("topBarClick", "logo")) }, [i("img", { class: "h-10", src: s2.logo, alt: "Hotelinking suite product logo" }, null, 8, ku)])]), i("div", Su, [i("div", Cu, [o(y2, { as: "div", class: "ml-3 relative" }, { default: E(() => [i("div", null, [B(o(f2, { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, { default: E(() => [B(i("div", Ou, Mu, 512), [[L, s2.alerted]]), i("img", { class: "h-10 w-10 rounded-full", src: s2.accountLogo }, null, 8, Tu)]), _: 1 }, 512), [[L, s2.accountLogo]])]), o(P, { "enter-active-class": "transition ease-out duration-200", "enter-from-class": "transform opacity-0 scale-95", "enter-to-class": "transform opacity-100 scale-100", "leave-active-class": "transition ease-in duration-75", "leave-from-class": "transform opacity-100 scale-100", "leave-to-class": "transform opacity-0 scale-95" }, { default: E(() => [o(h2, { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, { default: E(() => [(e(true), a(w, null, j(s2.profileMenu, (a2) => (e(), t(v2, { key: a2.name }, { default: E(({ active: e2 }) => [i("p", { onClick: (e3) => l2.$emit("topBarClick", a2.id), class: n(["cursor-pointer", [e2 ? "bg-gray-100" : "", "block px-4 py-2 text-sm text-gray-700"]]) }, _(a2.name), 11, Du)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })]), _: 1 })])])])]), o(b2, { class: "lg:hidden" }, { default: E(() => [i("div", Eu, [(e(true), a(w, null, j(s2.navigation, (a2) => (e(), t(m2, { as: "template", key: a2.name, class: n(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", { "bg-indigo-50 border-indigo-500 text-indigo-700": a2.current && true === a2.current, "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !a2.current }]) }, { default: E(() => [i("p", { onClick: (e2) => l2.$emit("topBarClick", a2.id) }, _(a2.name), 9, Iu)]), _: 2 }, 1032, ["class"]))), 128))]), i("div", _u, [i("div", Pu, [i("div", ju, [i("img", { class: "h-10 w-10 rounded-full", src: s2.accountLogo }, null, 8, Ru)]), s2.brand ? (e(), a("div", Bu, [i("div", Au, _(s2.brand.title), 1), i("div", Lu, _(s2.brand.subtitle), 1)])) : R("", true)]), i("div", Fu, [(e(true), a(w, null, j(s2.profileMenu, (n2) => (e(), t(m2, { as: "template", key: n2.name, class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6" }, { default: E(() => [i("p", { onClick: (e2) => l2.$emit("topBarClick", n2.id) }, _(n2.name), 9, Nu)]), _: 2 }, 1024))), 128))])])]), _: 1 })]), _: 1 });
2359
+ }]]), $u = { chart: { type: "bar", toolbar: { show: false }, zoom: { enabled: false } }, colors: ["#715aff"], dataLabels: { enabled: true, formatter: function(e2, t2) {
2360
2360
  return t2.w.globals.labels[t2.dataPointIndex] + ": " + e2;
2361
- } }, markers: { strokeWidth: 0, size: 4, hover: { size: 8 } }, plotOptions: { bar: { borderRadius: 0, horizontal: true, barHeight: "80%", isFunnel: true } } }, zu = { class: "chart-header flex flex-row justify-between" }, $u = { class: "text-sm font-medium text-gray-500 truncate" }, Hu = { class: "chart-content" }, Vu = { class: "h-full w-full flex items-center justify-center flex-col" }, Yu = i("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1), Uu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, qu = [i("div", { role: "status", class: "w-full animate-pulse h-full flex flex-col" }, [i("div", { class: "h-2.5 w-36 bg-gray-200 rounded-full mb-2.5" }), i("div", { class: "w-48 h-2 mb-6 bg-gray-200 rounded-full" }), i("div", { class: "flex flex-row justify-between items-baseline grow gap-x-1" }, [i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" })])], -1)], Wu = { name: "uiChart" }, Ku = Object.assign(Wu, { props: { title: String, id: { type: String, default: "noChartId" }, series: { type: Object, required: true }, options: { type: Object, required: true }, loading: { type: Boolean, default: true }, empty: { type: Boolean, default: false }, range: { type: String, default: "24h" }, height: { type: Number, default: 320 } }, emits: ["selectedRange", "chartUpdated", "dataPointSelection"], setup(t2, { emit: l2 }) {
2362
- const r2 = l2, s2 = t2, c2 = u(() => ({ ...s2.options, ...Nu })), p2 = u(() => s2.series), g2 = () => r2("chartUpdated"), m2 = (e2, t3, l3) => {
2361
+ } }, markers: { strokeWidth: 0, size: 4, hover: { size: 8 } }, plotOptions: { bar: { borderRadius: 0, horizontal: true, barHeight: "80%", isFunnel: true } } }, Hu = { class: "chart-header flex flex-row justify-between" }, Vu = { class: "text-sm font-medium text-gray-500 truncate" }, Yu = { class: "chart-content" }, Uu = { class: "h-full w-full flex items-center justify-center flex-col" }, qu = i("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1), Wu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Ku = [i("div", { role: "status", class: "w-full animate-pulse h-full flex flex-col" }, [i("div", { class: "h-2.5 w-36 bg-gray-200 rounded-full mb-2.5" }), i("div", { class: "w-48 h-2 mb-6 bg-gray-200 rounded-full" }), i("div", { class: "flex flex-row justify-between items-baseline grow gap-x-1" }, [i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-4/5" }), i("div", { class: "w-full bg-gray-200 rounded h-full" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" }), i("div", { class: "w-full bg-gray-200 rounded h-1/3" }), i("div", { class: "w-full bg-gray-200 rounded h-1/2" })])], -1)], Ju = { name: "uiChart" }, Gu = Object.assign(Ju, { props: { title: String, id: { type: String, default: "noChartId" }, series: { type: Object, required: true }, options: { type: Object, required: true }, loading: { type: Boolean, default: true }, empty: { type: Boolean, default: false }, range: { type: String, default: "24h" }, height: { type: Number, default: 320 } }, emits: ["selectedRange", "chartUpdated", "dataPointSelection"], setup(t2, { emit: l2 }) {
2362
+ const r2 = l2, s2 = t2, c2 = u(() => ({ ...s2.options, ...$u })), p2 = u(() => s2.series), g2 = () => r2("chartUpdated"), m2 = (e2, t3, l3) => {
2363
2363
  r2("dataPointSelection", { id: s2.id, chartContext: t3, config: l3, event: e2 });
2364
2364
  };
2365
- return (l3, r3) => (e(), a(w, null, [B(i("div", { class: n(["h-[" + t2.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"]) }, [i("div", zu, [i("div", $u, _(t2.title), 1), o(Lr, { range: t2.range, onRangeSelected: r3[0] || (r3[0] = (e2) => l3.$emit("selectedRange", { range: e2, chartId: t2.id })) }, null, 8, ["range"])]), B(i("div", Hu, [o(d(U), { type: l3.bar, series: p2.value, width: "100%", height: t2.height, options: c2.value, onUpdated: g2, onMounted: g2, onDataPointSelection: m2 }, null, 8, ["type", "series", "height", "options"])], 512), [[L, !t2.empty]]), B(i("div", Vu, [o(K, { icon: d(un), color: "gray", loading: false, size: "huge" }, null, 8, ["icon"]), Yu], 512), [[L, t2.empty]])], 2), [[L, !t2.loading]]), B(i("div", Uu, qu, 512), [[L, t2.loading]])], 64));
2366
- } }), Ju = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, Gu = { class: "text-2xl mt-4 font-bold" }, Zu = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Xu = { __name: "uiNoResults", props: { title: { type: String, required: true }, message: { type: String, required: true }, actions: { type: Array } }, emits: ["action"], setup: (l2, { emit: n2 }) => (n3, r2) => (e(), a("div", Ju, [o(K, { loading: false, icon: d(un), size: "massive", color: "gray" }, null, 8, ["icon"]), i("h2", Gu, _(l2.title), 1), i("p", null, _(l2.message), 1), i("div", Zu, [(e(true), a(w, null, j(l2.actions, (l3, a2) => (e(), t(Q, { key: a2, loading: false, onClick: (e2) => n3.$emit("action", l3.action) }, { default: E(() => [I(_(l3.text), 1)]), _: 2 }, 1032, ["onClick"]))), 128))])])) }, Qu = i("div", { class: "fixed inset-0" }, null, -1), ed = { class: "fixed inset-0 overflow-hidden" }, td = { class: "absolute inset-0 overflow-hidden" }, ld = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, nd = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, ad = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, od = { class: "flex items-center justify-between" }, rd = { class: "ml-3 flex h-7 items-center" }, id = i("span", { class: "absolute -inset-2.5" }, null, -1), sd = i("span", { class: "sr-only" }, "Close panel", -1), ud = { class: "mt-1" }, dd = { class: "text-sm text-indigo-300" }, cd = { class: "relative flex-1 px-4 py-6 sm:px-6" }, pd = { name: "uiRightSidebar" }, gd = Object.assign(pd, { props: { title: { type: String, required: true }, description: { type: String }, open: { type: Boolean, default: false } }, emits: ["closeRightBar"], setup(l2, { emit: n2 }) {
2365
+ return (l3, r3) => (e(), a(w, null, [B(i("div", { class: n(["h-[" + t2.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"]) }, [i("div", Hu, [i("div", Vu, _(t2.title), 1), o(Lr, { range: t2.range, onRangeSelected: r3[0] || (r3[0] = (e2) => l3.$emit("selectedRange", { range: e2, chartId: t2.id })) }, null, 8, ["range"])]), B(i("div", Yu, [o(d(U), { type: l3.bar, series: p2.value, width: "100%", height: t2.height, options: c2.value, onUpdated: g2, onMounted: g2, onDataPointSelection: m2 }, null, 8, ["type", "series", "height", "options"])], 512), [[L, !t2.empty]]), B(i("div", Uu, [o(K, { icon: d(un), color: "gray", loading: false, size: "huge" }, null, 8, ["icon"]), qu], 512), [[L, t2.empty]])], 2), [[L, !t2.loading]]), B(i("div", Wu, Ku, 512), [[L, t2.loading]])], 64));
2366
+ } }), Zu = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, Xu = { class: "text-2xl mt-4 font-bold" }, Qu = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, ed = { __name: "uiNoResults", props: { title: { type: String, required: true }, message: { type: String, required: true }, actions: { type: Array } }, emits: ["action"], setup: (l2, { emit: n2 }) => (n3, r2) => (e(), a("div", Zu, [o(K, { loading: false, icon: d(un), size: "massive", color: "gray" }, null, 8, ["icon"]), i("h2", Xu, _(l2.title), 1), i("p", null, _(l2.message), 1), i("div", Qu, [(e(true), a(w, null, j(l2.actions, (l3, a2) => (e(), t(Q, { key: a2, loading: false, onClick: (e2) => n3.$emit("action", l3.action) }, { default: E(() => [I(_(l3.text), 1)]), _: 2 }, 1032, ["onClick"]))), 128))])])) }, td = i("div", { class: "fixed inset-0" }, null, -1), ld = { class: "fixed inset-0 overflow-hidden" }, nd = { class: "absolute inset-0 overflow-hidden" }, ad = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, od = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, rd = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, id = { class: "flex items-center justify-between" }, sd = { class: "ml-3 flex h-7 items-center" }, ud = i("span", { class: "absolute -inset-2.5" }, null, -1), dd = i("span", { class: "sr-only" }, "Close panel", -1), cd = { class: "mt-1" }, pd = { class: "text-sm text-indigo-300" }, gd = { class: "relative flex-1 px-4 py-6 sm:px-6" }, md = { name: "uiRightSidebar" }, fd = Object.assign(md, { props: { title: { type: String, required: true }, description: { type: String }, open: { type: Boolean, default: false } }, emits: ["closeRightBar"], setup(l2, { emit: n2 }) {
2367
2367
  const a2 = n2;
2368
- return (n3, s2) => (e(), t(d(Zl), { as: "template", show: l2.open }, { default: E(() => [o(d(dl), { as: "div", class: "relative z-10", onClose: s2[1] || (s2[1] = (e2) => a2("closeRightBar")) }, { default: E(() => [Qu, i("div", ed, [i("div", td, [i("div", ld, [o(d(Jl), { as: "template", enter: "transform transition ease-in-out duration-500 sm:duration-700", "enter-from": "translate-x-full", "enter-to": "translate-x-0", leave: "transform transition ease-in-out duration-500 sm:duration-700", "leave-from": "translate-x-0", "leave-to": "translate-x-full" }, { default: E(() => [o(d(cl), { class: "pointer-events-auto w-screen max-w-md" }, { default: E(() => [i("div", nd, [i("div", ad, [i("div", od, [o(d(pl), { class: "text-base font-semibold leading-6 text-white" }, { default: E(() => [I(_(l2.title), 1)]), _: 1 }), i("div", rd, [i("button", { type: "button", class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none", onClick: s2[0] || (s2[0] = (e2) => a2("closeRightBar")) }, [id, sd, o(d(vn), { class: "h-6 w-6 ring-0", "aria-hidden": "true" })])])]), i("div", ud, [i("p", dd, _(l2.description), 1)])]), i("div", cd, [r(n3.$slots, "default")])])]), _: 3 })]), _: 3 })])])])]), _: 3 })]), _: 3 }, 8, ["show"]));
2369
- } }), md = { class: "uiGallery" }, fd = { key: 1, role: "list", class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6" }, vd = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, hd = ["src"], yd = ["onClick"], bd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, xd = { class: "flex items-center justify-between" }, wd = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, kd = { key: 2, role: "list", class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6" }, Sd = [i("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1), i("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1), i("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)], Cd = { name: "uiGallery" }, Od = Object.assign(Cd, { props: { galleryId: String, gallery: Array, loading: Boolean, literals: Object }, setup(l2, { emit: n2 }) {
2368
+ return (n3, s2) => (e(), t(d(Zl), { as: "template", show: l2.open }, { default: E(() => [o(d(dl), { as: "div", class: "relative z-10", onClose: s2[1] || (s2[1] = (e2) => a2("closeRightBar")) }, { default: E(() => [td, i("div", ld, [i("div", nd, [i("div", ad, [o(d(Jl), { as: "template", enter: "transform transition ease-in-out duration-500 sm:duration-700", "enter-from": "translate-x-full", "enter-to": "translate-x-0", leave: "transform transition ease-in-out duration-500 sm:duration-700", "leave-from": "translate-x-0", "leave-to": "translate-x-full" }, { default: E(() => [o(d(cl), { class: "pointer-events-auto w-screen max-w-md" }, { default: E(() => [i("div", od, [i("div", rd, [i("div", id, [o(d(pl), { class: "text-base font-semibold leading-6 text-white" }, { default: E(() => [I(_(l2.title), 1)]), _: 1 }), i("div", sd, [i("button", { type: "button", class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none", onClick: s2[0] || (s2[0] = (e2) => a2("closeRightBar")) }, [ud, dd, o(d(vn), { class: "h-6 w-6 ring-0", "aria-hidden": "true" })])])]), i("div", cd, [i("p", pd, _(l2.description), 1)])]), i("div", gd, [r(n3.$slots, "default")])])]), _: 3 })]), _: 3 })])])])]), _: 3 })]), _: 3 }, 8, ["show"]));
2369
+ } }), vd = { class: "uiGallery" }, hd = { key: 1, role: "list", class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6" }, yd = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, bd = ["src"], xd = ["onClick"], wd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, kd = { class: "flex items-center justify-between" }, Sd = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Cd = { key: 2, role: "list", class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6" }, Od = [i("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1), i("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1), i("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)], Md = { name: "uiGallery" }, Td = Object.assign(Md, { props: { galleryId: String, gallery: Array, loading: Boolean, literals: Object }, setup(l2, { emit: n2 }) {
2370
2370
  const r2 = n2, u2 = s(false);
2371
- return (n3, s2) => (e(), a("div", md, [l2.loading ? R("", true) : (e(), t(ro, { key: 0, open: u2.value, modalName: "deleteAllImagesModal", title: l2.literals.modalTitle, type: "warning", actions: [{ value: "close", name: l2.literals.closeAction }, { value: `deleteGallery_${l2.galleryId}`, name: l2.literals.deleteAction }], onModalAction: s2[0] || (s2[0] = (e2) => {
2371
+ return (n3, s2) => (e(), a("div", vd, [l2.loading ? R("", true) : (e(), t(ro, { key: 0, open: u2.value, modalName: "deleteAllImagesModal", title: l2.literals.modalTitle, type: "warning", actions: [{ value: "close", name: l2.literals.closeAction }, { value: `deleteGallery_${l2.galleryId}`, name: l2.literals.deleteAction }], onModalAction: s2[0] || (s2[0] = (e2) => {
2372
2372
  var t2;
2373
2373
  "close" !== (t2 = e2).action ? r2("modalAction", t2) : u2.value = false;
2374
- }) }, { default: E(() => [i("p", null, _(l2.literals.modalText), 1)]), _: 1 }, 8, ["open", "title", "actions"])), l2.loading ? (e(), a("ul", kd, [(e(), a(w, null, j(4, (e2) => i("li", null, Sd)), 64))])) : (e(), a("ul", fd, [(e(true), a(w, null, j(l2.gallery, (t2) => (e(), a("li", { key: t2.source, class: "relative" }, [i("div", vd, [i("img", { src: t2.source, alt: "", class: "pointer-events-none object-cover group-hover:opacity-75" }, null, 8, hd), i("button", { type: "button", class: "absolute inset-0 focus:outline-none", onClick: (e2) => n3.$emit("imgClicked", t2) }, null, 8, yd)]), i("p", bd, _(t2.title), 1), i("div", xd, [i("p", wd, _(t2.size), 1), o(K, { class: "cursor-pointer", icon: d(mn), color: "red", loading: false, onClick: (e2) => r2("deleteImage", t2) }, null, 8, ["icon", "onClick"])])]))), 128))])), l2.gallery.length > 0 && !l2.loading ? (e(), t(Q, { key: 3, onClick: s2[1] || (s2[1] = (e2) => u2.value = true), class: "mt-8", loading: false, color: "red", size: "small" }, { default: E(() => [I(_(l2.literals.deleteAllImages), 1)]), _: 1 })) : R("", true)]));
2375
- } }), Md = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Td = { class: "flex flex-row items-center w-full" }, Dd = { class: "content text-sm grow" }, Ed = { class: "font-bold" }, Id = { key: 0 }, _d = { class: "font-bold text-gray-400" }, Pd = { key: 1, class: "animate-pulse" }, jd = [z('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)], Rd = { name: "uiDragAndDrop" }, Bd = { uiButton: Q, uiIcon: K, uiCheckbox: se, uiDropdown: kn, uiInput: jn, uiInputFile: Kn, uiSelect: Qn, uiTag: na, uiTextArea: da, uiToggle: va, uiAlert: Ta, uiBreadcrumbs: La, uiCard: qa, uiFilter: Ka, uiModal: ro, uiNotification: bo, uiTaskList: Po, uiPriceCalendar: Rr, uiChart: qr, uiFooter: Gr, uiLoadingScreen: Qr, uiPagination: fi, uiSidebar: Ii, uiStats: Vi, uiStripedCard: os, uiTable: Is, uiTabs: Fs, uiTimeline: gu, uiTopbar: Fu, uiFunnelChartV2: Ku, uiNoResults: Xu, uiRightSidebar: gd, uiGallery: Od, uiDragAndDrop: Object.assign(Rd, { props: { elements: { type: Array, required: true }, loading: true }, setup(l2) {
2374
+ }) }, { default: E(() => [i("p", null, _(l2.literals.modalText), 1)]), _: 1 }, 8, ["open", "title", "actions"])), l2.loading ? (e(), a("ul", Cd, [(e(), a(w, null, j(4, (e2) => i("li", null, Od)), 64))])) : (e(), a("ul", hd, [(e(true), a(w, null, j(l2.gallery, (t2) => (e(), a("li", { key: t2.source, class: "relative" }, [i("div", yd, [i("img", { src: t2.source, alt: "", class: "pointer-events-none object-cover group-hover:opacity-75" }, null, 8, bd), i("button", { type: "button", class: "absolute inset-0 focus:outline-none", onClick: (e2) => n3.$emit("imgClicked", t2) }, null, 8, xd)]), i("p", wd, _(t2.title), 1), i("div", kd, [i("p", Sd, _(t2.size), 1), o(K, { class: "cursor-pointer", icon: d(mn), color: "red", loading: false, onClick: (e2) => r2("deleteImage", t2) }, null, 8, ["icon", "onClick"])])]))), 128))])), l2.gallery.length > 0 && !l2.loading ? (e(), t(Q, { key: 3, onClick: s2[1] || (s2[1] = (e2) => u2.value = true), class: "mt-8", loading: false, color: "red", size: "small" }, { default: E(() => [I(_(l2.literals.deleteAllImages), 1)]), _: 1 })) : R("", true)]));
2375
+ } }), Dd = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Ed = { class: "flex flex-row items-center w-full" }, Id = { class: "content text-sm grow" }, _d = { class: "font-bold" }, Pd = { key: 0 }, jd = { class: "font-bold text-gray-400" }, Rd = { key: 1, class: "animate-pulse" }, Bd = [z('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)], Ad = { name: "uiDragAndDrop" }, Ld = { uiButton: Q, uiIcon: K, uiCheckbox: se, uiDropdown: kn, uiInput: jn, uiInputFile: Kn, uiSelect: Qn, uiTag: na, uiTextArea: da, uiToggle: va, uiAlert: Ta, uiBreadcrumbs: La, uiCard: qa, uiFilter: Ka, uiModal: ro, uiNotification: bo, uiTaskList: Po, uiPriceCalendar: Rr, uiChart: qr, uiFooter: Gr, uiLoadingScreen: Qr, uiPagination: fi, uiSidebar: Pi, uiStats: Ui, uiStripedCard: is, uiTable: Ps, uiTabs: zs, uiTimeline: fu, uiTopbar: zu, uiFunnelChartV2: Gu, uiNoResults: ed, uiRightSidebar: fd, uiGallery: Td, uiDragAndDrop: Object.assign(Ad, { props: { elements: { type: Array, required: true }, loading: true }, setup(l2) {
2376
2376
  const n2 = l2;
2377
2377
  let r2 = s(n2.elements);
2378
2378
  return p(() => n2.elements, (e2) => {
2379
2379
  r2.value = e2;
2380
- }), (n3, s2) => l2.loading ? (e(), a("div", Pd, jd)) : (e(), t(d(q), { key: 0, modelValue: d(r2), "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => V(r2) ? r2.value = e2 : r2 = e2) }, { item: E(({ item: t2 }) => [i("div", Md, [i("div", Td, [o(K, { icon: d(en), loading: false, color: "gray", class: "mr-4", size: "big" }, null, 8, ["icon"]), i("div", Dd, [i("p", Ed, _(t2.name), 1), t2.description ? (e(), a("p", Id, _(t2.description), 1)) : R("", true)]), i("div", _d, _(d(r2).indexOf(t2) + 1), 1)])])]), _: 1 }, 8, ["modelValue"]));
2381
- } }) }, Ad = { install(e2) {
2382
- Object.keys(Bd).forEach((t2) => {
2383
- e2.component(t2, Bd[t2]);
2380
+ }), (n3, s2) => l2.loading ? (e(), a("div", Rd, Bd)) : (e(), t(d(q), { key: 0, modelValue: d(r2), "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => V(r2) ? r2.value = e2 : r2 = e2) }, { item: E(({ item: t2 }) => [i("div", Dd, [i("div", Ed, [o(K, { icon: d(en), loading: false, color: "gray", class: "mr-4", size: "big" }, null, 8, ["icon"]), i("div", Id, [i("p", _d, _(t2.name), 1), t2.description ? (e(), a("p", Pd, _(t2.description), 1)) : R("", true)]), i("div", jd, _(d(r2).indexOf(t2) + 1), 1)])])]), _: 1 }, 8, ["modelValue"]));
2381
+ } }) }, Fd = { install(e2) {
2382
+ Object.keys(Ld).forEach((t2) => {
2383
+ e2.component(t2, Ld[t2]);
2384
2384
  });
2385
2385
  } };
2386
2386
  export {
2387
- Ad as default
2387
+ Fd as default
2388
2388
  };