@opengis/cms 0.0.63 → 0.0.64
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/{EditCollectionPage-BGZCMcQS.js → EditCollectionPage-CzFBw3wE.js} +1 -1
- package/dist/{contentForm-NmskI6Ye.js → contentForm-CELj2rGf.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{vs-builder-preview-l5KhqlrF.js → vs-builder-preview-BLfKnxhd.js} +1 -1
- package/dist/{vs-form-reference-list-hZufPxfE.js → vs-form-reference-list-DukrxeuH.js} +365 -261
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { _ as X } from "./CollectionsBreadcrumb.vue_vue_type_script_setup_true_l
|
|
|
6
6
|
const Z = {
|
|
7
7
|
monaco: k(() => import("./vs-builder-monaco-Cw-f19gc.js")),
|
|
8
8
|
edit: k(() => import("./vs-builder-edit-D-q1o8tF.js")),
|
|
9
|
-
preview: k(() => import("./vs-builder-preview-
|
|
9
|
+
preview: k(() => import("./vs-builder-preview-BLfKnxhd.js"))
|
|
10
10
|
}, ee = { class: "mx-auto max-w-[90%]" }, te = { class: "flex items-center justify-between mb-6" }, oe = { class: "mb-2 text-2xl font-semibold text-gray-900" }, ne = { class: "lowercase" }, se = { class: "text-gray-600" }, ie = { class: "flex items-center gap-2" }, ae = { class: "w-full" }, re = { class: "flex items-center w-full h-10 max-w-md grid-cols-3 p-1 mb-6 bg-white border border-gray-200 rounded-md text-muted-foreground" }, le = ["onClick"], ce = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "mx-auto bg-white rounded-md py-4 px-2 bg-opacity-50"
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useRoute as $, routeLocationKey as K } from "vue-router";
|
|
|
3
3
|
const O = "menu", B = (s, c, a) => {
|
|
4
4
|
const o = s == null ? void 0 : s.trim(), l = a == null ? void 0 : a.trim();
|
|
5
5
|
return o ? o === O ? c ? c === "create" ? { type: "createMenu", collection: o } : { type: "editMenu", collection: o, id: c } : { type: "menu", collection: o } : l === "edit" && c ? { type: "editCollection", collection: o, id: c } : c === "edit" ? { type: "editCollection", collection: o } : c ? c === "create" ? { type: "createArticle", collection: o } : { type: "editArticle", collection: o, id: c } : { type: "articles", collection: o } : { type: "collections" };
|
|
6
|
-
}, R = u(() => import("./CollectionsPage-DHfPNql6.js")), L = u(() => import("./ArticlesPage-BjYzvTWM.js")), C = u(() => import("./contentForm-
|
|
6
|
+
}, R = u(() => import("./CollectionsPage-DHfPNql6.js")), L = u(() => import("./ArticlesPage-BjYzvTWM.js")), C = u(() => import("./contentForm-CELj2rGf.js")), N = u(() => import("./EditCollectionPage-CzFBw3wE.js")), W = u(
|
|
7
7
|
() => import("./MenuPage-3W6jZ15H.js")
|
|
8
8
|
), j = u(
|
|
9
9
|
() => import("./MenuItemPage-B7Y9KFyb.js")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as c, useModel as n, computed as d, openBlock as u, createElementBlock as _, createBlock as v, unref as g, createCommentVNode as k } from "vue";
|
|
2
2
|
import { _ as V, g as $ } from "./vs-form-custom-datatable-D880w8gx.js";
|
|
3
3
|
import { inputs as e, VForm as h } from "@opengis/form";
|
|
4
|
-
import x from "./vs-form-reference-list-
|
|
4
|
+
import x from "./vs-form-reference-list-DukrxeuH.js";
|
|
5
5
|
import { _ as B } from "./vs-form-tiptap.vue_vue_type_script_setup_true_lang-DGgsqXwg.js";
|
|
6
6
|
import r from "./vs-form-media-select-NY27EaG1.js";
|
|
7
7
|
import { _ as M } from "./vs-richtext-md.vue_vue_type_script_setup_true_lang-Ct8uTV-J.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as d, createElementBlock as s, createStaticVNode as g, createElementVNode as r, toDisplayString as i, createCommentVNode as u, Fragment as w, renderList as _, normalizeClass as C, mergeModels as B, useModel as A, unref as b, createBlock as j, resolveDynamicComponent as Z, getCurrentInstance as G, ref as k, computed as M, watch as V, createVNode as $, withCtx as q } from "vue";
|
|
2
2
|
import { Edit as J, Trash2 as K, GripVertical as O } from "lucide-vue-next";
|
|
3
3
|
import { d as P } from "./vuedraggable-CoAPPFYd.js";
|
|
4
4
|
import { VsDrawer as F, notify as T } from "@opengis/core";
|
|
@@ -781,7 +781,7 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
}, X = { class: "h-full w-full flex flex-col" }, ee = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, te = { class: "text-xs font-medium text-gray-600" },
|
|
784
|
+
}, X = { class: "h-full w-full flex flex-col" }, ee = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, te = { class: "text-xs font-medium text-gray-600" }, re = {
|
|
785
785
|
key: 0,
|
|
786
786
|
class: "text-xs text-gray-500"
|
|
787
787
|
}, Q = {
|
|
@@ -797,15 +797,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
799
|
setup(e) {
|
|
800
|
-
return (l, t) => (
|
|
800
|
+
return (l, t) => (d(), s("div", X, [
|
|
801
801
|
t[0] || (t[0] = g('<div class="flex-1 grid grid-cols-3 gap-1.5"><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div><div class="bg-gray-200 rounded p-1.5 flex flex-col"><div class="flex-1 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded"></div></div></div>', 1)),
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
e.count && e.count > 0 ? (
|
|
802
|
+
r("div", ee, [
|
|
803
|
+
r("div", te, i(l.$t(e.text)), 1),
|
|
804
|
+
e.count && e.count > 0 ? (d(), s("div", re, i(e.count), 1)) : u("", !0)
|
|
805
805
|
])
|
|
806
806
|
]));
|
|
807
807
|
}
|
|
808
|
-
},
|
|
808
|
+
}, de = { class: "h-full w-full flex flex-col" }, se = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, le = { class: "text-xs font-medium text-gray-600" }, ie = {
|
|
809
809
|
key: 0,
|
|
810
810
|
class: "text-xs text-gray-500"
|
|
811
811
|
}, ae = {
|
|
@@ -821,11 +821,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
setup(e) {
|
|
824
|
-
return (l, t) => (
|
|
824
|
+
return (l, t) => (d(), s("div", de, [
|
|
825
825
|
t[0] || (t[0] = g('<div class="h-3 bg-gray-500 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div><div class="mt-1 pt-1 border-t border-gray-200"><div class="space-y-0.5"><div class="h-1 bg-gray-200 rounded"></div><div class="h-1 bg-gray-200 rounded w-5/6"></div><div class="h-1 bg-gray-200 rounded w-4/5"></div></div></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div><div class="border border-gray-300 rounded p-1"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div></div>', 2)),
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
e.count && e.count > 0 ? (
|
|
826
|
+
r("div", se, [
|
|
827
|
+
r("div", le, i(l.$t(e.text)), 1),
|
|
828
|
+
e.count && e.count > 0 ? (d(), s("div", ie, i(e.count), 1)) : u("", !0)
|
|
829
829
|
])
|
|
830
830
|
]));
|
|
831
831
|
}
|
|
@@ -845,18 +845,18 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
847
|
setup(e) {
|
|
848
|
-
return (l, t) => (
|
|
848
|
+
return (l, t) => (d(), s("div", oe, [
|
|
849
849
|
t[0] || (t[0] = g('<div class="flex-1 bg-gray-200 rounded relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-16 h-10 bg-gray-300 rounded"></div></div><div class="absolute bottom-2 left-2"><div class="h-3 bg-gray-400 rounded w-16"></div></div></div>', 1)),
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
e.count && e.count > 0 ? (
|
|
850
|
+
r("div", ne, [
|
|
851
|
+
r("div", ce, i(l.$t(e.text)), 1),
|
|
852
|
+
e.count && e.count > 0 ? (d(), s("div", ue, i(e.count), 1)) : u("", !0)
|
|
853
853
|
])
|
|
854
854
|
]));
|
|
855
855
|
}
|
|
856
|
-
}, ve = { class: "h-full w-full flex flex-col" }, ge = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, ye = { class: "text-xs font-medium text-gray-600" },
|
|
856
|
+
}, ve = { class: "h-full w-full flex flex-col" }, ge = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, ye = { class: "text-xs font-medium text-gray-600" }, xe = {
|
|
857
857
|
key: 0,
|
|
858
858
|
class: "text-xs text-gray-500"
|
|
859
|
-
},
|
|
859
|
+
}, be = {
|
|
860
860
|
__name: "form-skeleton",
|
|
861
861
|
props: {
|
|
862
862
|
text: {
|
|
@@ -869,11 +869,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
869
869
|
}
|
|
870
870
|
},
|
|
871
871
|
setup(e) {
|
|
872
|
-
return (l, t) => (
|
|
872
|
+
return (l, t) => (d(), s("div", ve, [
|
|
873
873
|
t[0] || (t[0] = g('<div class="h-3 bg-gray-500 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/4"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/3"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/4"></div><div class="h-5 bg-gray-200 rounded border border-gray-300"></div></div><div><div class="h-1.5 bg-gray-300 rounded mb-1 w-1/3"></div><div class="h-8 bg-gray-200 rounded border border-gray-300"></div></div></div><div class="h-6 bg-gray-600 rounded mt-2"></div>', 3)),
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
e.count && e.count > 0 ? (
|
|
874
|
+
r("div", ge, [
|
|
875
|
+
r("div", ye, i(l.$t(e.text)), 1),
|
|
876
|
+
e.count && e.count > 0 ? (d(), s("div", xe, i(e.count), 1)) : u("", !0)
|
|
877
877
|
])
|
|
878
878
|
]));
|
|
879
879
|
}
|
|
@@ -893,11 +893,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
893
893
|
}
|
|
894
894
|
},
|
|
895
895
|
setup(e) {
|
|
896
|
-
return (l, t) => (
|
|
896
|
+
return (l, t) => (d(), s("div", he, [
|
|
897
897
|
t[0] || (t[0] = g('<div class="h-4 bg-gray-400 rounded mb-2"></div><div class="flex gap-2 flex-1"><div class="flex-1 space-y-2"><div class="bg-gray-200 rounded p-1.5"><div class="h-8 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-3/4"></div></div><div class="bg-gray-200 rounded p-1.5"><div class="h-8 bg-gray-300 rounded mb-1"></div><div class="h-1.5 bg-gray-400 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-3/4"></div></div></div><div class="w-20 space-y-1"><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div><div class="border-b border-gray-300 pb-1"><div class="h-1 bg-gray-300 rounded mb-1"></div><div class="h-1 bg-gray-300 rounded w-4/5"></div></div></div></div>', 2)),
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
e.count && e.count > 0 ? (
|
|
898
|
+
r("div", fe, [
|
|
899
|
+
r("div", me, i(l.$t(e.text)), 1),
|
|
900
|
+
e.count && e.count > 0 ? (d(), s("div", pe, i(e.count), 1)) : u("", !0)
|
|
901
901
|
])
|
|
902
902
|
]));
|
|
903
903
|
}
|
|
@@ -917,18 +917,18 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
917
917
|
}
|
|
918
918
|
},
|
|
919
919
|
setup(e) {
|
|
920
|
-
return (l, t) => (
|
|
920
|
+
return (l, t) => (d(), s("div", we, [
|
|
921
921
|
t[0] || (t[0] = g('<div class="space-y-2 flex-1"><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div><div class="flex items-start gap-2"><div class="w-8 h-8 bg-gray-300 rounded flex-shrink-0"></div><div class="flex-1 min-w-0"><div class="h-2 bg-gray-400 rounded mb-1 w-2/3"></div><div class="h-1.5 bg-gray-300 rounded mb-1"></div><div class="flex gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone w-2.5 h-2.5 text-gray-400"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail w-2.5 h-2.5 text-gray-400"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock w-2.5 h-2.5 text-gray-400"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div></div></div></div>', 1)),
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
e.count && e.count > 0 ? (
|
|
922
|
+
r("div", ke, [
|
|
923
|
+
r("div", $e, i(l.$t(e.text)), 1),
|
|
924
|
+
e.count && e.count > 0 ? (d(), s("div", _e, i(e.count), 1)) : u("", !0)
|
|
925
925
|
])
|
|
926
926
|
]));
|
|
927
927
|
}
|
|
928
|
-
},
|
|
928
|
+
}, je = { class: "h-full w-full flex flex-col" }, Ae = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, qe = { class: "text-xs font-medium text-gray-600" }, Me = {
|
|
929
929
|
key: 0,
|
|
930
930
|
class: "text-xs text-gray-500"
|
|
931
|
-
},
|
|
931
|
+
}, N = {
|
|
932
932
|
__name: "usefulLinks-skeleton",
|
|
933
933
|
props: {
|
|
934
934
|
text: {
|
|
@@ -941,15 +941,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
941
941
|
}
|
|
942
942
|
},
|
|
943
943
|
setup(e) {
|
|
944
|
-
return (l, t) => (
|
|
944
|
+
return (l, t) => (d(), s("div", je, [
|
|
945
945
|
t[0] || (t[0] = g('<div class="h-4 bg-gray-400 rounded mb-3"></div><div class="grid grid-cols-2 gap-2 flex-1"><div class="space-y-2"><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div></div><div class="space-y-2"><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div><div class="flex items-center justify-between p-1.5 border border-gray-300 rounded"><div class="h-1.5 bg-gray-300 rounded flex-1 mr-2"></div><div class="w-2 h-2 bg-gray-400 rounded-full"></div></div></div></div>', 2)),
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
e.count && e.count > 0 ? (
|
|
946
|
+
r("div", Ae, [
|
|
947
|
+
r("div", qe, i(l.$t(e.text)), 1),
|
|
948
|
+
e.count && e.count > 0 ? (d(), s("div", Me, i(e.count), 1)) : u("", !0)
|
|
949
949
|
])
|
|
950
950
|
]));
|
|
951
951
|
}
|
|
952
|
-
}, Se = { class: "h-full w-full flex flex-col" },
|
|
952
|
+
}, Se = { class: "h-full w-full flex flex-col" }, Be = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Ee = { class: "text-xs font-medium text-gray-600" }, Ve = {
|
|
953
953
|
key: 0,
|
|
954
954
|
class: "text-xs text-gray-500"
|
|
955
955
|
}, Le = {
|
|
@@ -965,18 +965,18 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
965
965
|
}
|
|
966
966
|
},
|
|
967
967
|
setup(e) {
|
|
968
|
-
return (l, t) => (
|
|
968
|
+
return (l, t) => (d(), s("div", Se, [
|
|
969
969
|
t[0] || (t[0] = g('<div class="flex-1 bg-gray-200 rounded relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-10 h-10 bg-gray-400 rounded-full flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-play w-5 h-5 text-white ml-0.5"><polygon points="6 3 20 12 6 21 6 3"></polygon></svg></div></div><div class="absolute bottom-1.5 left-1.5 right-1.5"><div class="h-2 bg-gray-400 rounded mb-1"></div><div class="h-2 bg-gray-400 rounded w-3/4"></div></div></div><div class="mt-2 flex items-center gap-2"><div class="w-5 h-5 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded flex-1"></div></div>', 2)),
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
e.count && e.count > 0 ? (
|
|
970
|
+
r("div", Be, [
|
|
971
|
+
r("div", Ee, i(l.$t(e.text)), 1),
|
|
972
|
+
e.count && e.count > 0 ? (d(), s("div", Ve, i(e.count), 1)) : u("", !0)
|
|
973
973
|
])
|
|
974
974
|
]));
|
|
975
975
|
}
|
|
976
|
-
}, Qe = { class: "h-full w-full flex flex-col" }, ze = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Ie = { class: "text-xs font-medium text-gray-600" },
|
|
976
|
+
}, Qe = { class: "h-full w-full flex flex-col" }, ze = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Ie = { class: "text-xs font-medium text-gray-600" }, Ne = {
|
|
977
977
|
key: 0,
|
|
978
978
|
class: "text-xs text-gray-500"
|
|
979
|
-
},
|
|
979
|
+
}, We = {
|
|
980
980
|
__name: "about-skeleton",
|
|
981
981
|
props: {
|
|
982
982
|
text: {
|
|
@@ -989,15 +989,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
989
989
|
}
|
|
990
990
|
},
|
|
991
991
|
setup(e) {
|
|
992
|
-
return (l, t) => (
|
|
992
|
+
return (l, t) => (d(), s("div", Qe, [
|
|
993
993
|
t[0] || (t[0] = g('<div class="flex flex-1"><div class="flex-1 pr-2"><div class="h-4 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded w-4/5"></div><div class="h-2 bg-gray-300 rounded"></div><div class="h-2 bg-gray-300 rounded w-3/4"></div><div class="h-2 bg-gray-300 rounded"></div></div></div><div class="w-16 h-20 bg-gray-200 rounded flex items-center justify-center"><div class="w-6 h-6 bg-gray-300 rounded-full"></div></div></div>', 1)),
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
e.count && e.count > 0 ? (
|
|
994
|
+
r("div", ze, [
|
|
995
|
+
r("div", Ie, i(l.$t(e.text)), 1),
|
|
996
|
+
e.count && e.count > 0 ? (d(), s("div", Ne, i(e.count), 1)) : u("", !0)
|
|
997
997
|
])
|
|
998
998
|
]));
|
|
999
999
|
}
|
|
1000
|
-
},
|
|
1000
|
+
}, Ze = { class: "h-full w-full flex flex-col" }, Ge = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Fe = { class: "text-xs font-medium text-gray-600" }, Te = {
|
|
1001
1001
|
key: 0,
|
|
1002
1002
|
class: "text-xs text-gray-500"
|
|
1003
1003
|
}, Re = {
|
|
@@ -1013,11 +1013,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
setup(e) {
|
|
1016
|
-
return (l, t) => (
|
|
1016
|
+
return (l, t) => (d(), s("div", Ze, [
|
|
1017
1017
|
t[0] || (t[0] = g('<div class="flex-1 bg-gray-200 rounded mb-2 relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-12 h-8 bg-gray-300 rounded"></div></div><div class="absolute left-1 top-1/2 transform -translate-y-1/2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left w-4 h-4 text-gray-400"><path d="m15 18-6-6 6-6"></path></svg></div><div class="absolute right-1 top-1/2 transform -translate-y-1/2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right w-4 h-4 text-gray-400"><path d="m9 18 6-6-6-6"></path></svg></div></div><div class="h-3 bg-gray-300 rounded mb-2"></div><div class="h-6 w-20 bg-gray-400 rounded"></div><div class="flex justify-center gap-1 mt-2"><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 bg-gray-300 rounded-full"></div></div>', 4)),
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
e.count && e.count > 0 ? (
|
|
1018
|
+
r("div", Ge, [
|
|
1019
|
+
r("div", Fe, i(l.$t(e.text)), 1),
|
|
1020
|
+
e.count && e.count > 0 ? (d(), s("div", Te, i(e.count), 1)) : u("", !0)
|
|
1021
1021
|
])
|
|
1022
1022
|
]));
|
|
1023
1023
|
}
|
|
@@ -1037,11 +1037,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1037
1037
|
}
|
|
1038
1038
|
},
|
|
1039
1039
|
setup(e) {
|
|
1040
|
-
return (l, t) => (
|
|
1040
|
+
return (l, t) => (d(), s("div", Ye, [
|
|
1041
1041
|
t[0] || (t[0] = g('<div class="flex-1 bg-gray-200 rounded relative overflow-hidden"><div class="absolute inset-0 flex items-center"><div class="flex gap-8 whitespace-nowrap animate-pulse"><div class="h-3 bg-gray-400 rounded w-32"></div><div class="h-3 bg-gray-300 rounded w-24"></div><div class="h-3 bg-gray-400 rounded w-40"></div><div class="h-3 bg-gray-300 rounded w-28"></div><div class="h-3 bg-gray-400 rounded w-36"></div><div class="h-3 bg-gray-300 rounded w-20"></div></div></div><div class="absolute top-2 left-2 right-2 flex justify-between items-center"><div class="w-2 h-2 bg-gray-500 rounded-full"></div><div class="w-2 h-2 bg-gray-500 rounded-full"></div></div></div>', 1)),
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
e.count && e.count > 0 ? (
|
|
1042
|
+
r("div", Ue, [
|
|
1043
|
+
r("div", De, i(l.$t(e.text)), 1),
|
|
1044
|
+
e.count && e.count > 0 ? (d(), s("div", Je, i(e.count), 1)) : u("", !0)
|
|
1045
1045
|
])
|
|
1046
1046
|
]));
|
|
1047
1047
|
}
|
|
@@ -1061,18 +1061,18 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1061
1061
|
}
|
|
1062
1062
|
},
|
|
1063
1063
|
setup(e) {
|
|
1064
|
-
return (l, t) => (
|
|
1064
|
+
return (l, t) => (d(), s("div", Oe, [
|
|
1065
1065
|
t[0] || (t[0] = g('<div class="h-2 bg-gray-300 rounded mb-2"></div><div class="flex gap-1 mb-3"><div class="h-4 w-16 bg-gray-400 rounded"></div><div class="h-4 w-16 bg-gray-200 rounded"></div></div><div class="space-y-2 flex-1"><div class="h-2 bg-gray-300 rounded w-5/6"></div><div class="h-2 bg-gray-300 rounded"></div><div class="space-y-1 mt-3"><div class="flex items-center gap-2"><div class="w-2 h-2 bg-gray-400 rounded-full"></div><div class="h-1.5 bg-gray-300 rounded w-20"></div></div><div class="flex items-center gap-2"><div class="w-2 h-2 bg-gray-400 rounded-full"></div><div class="h-1.5 bg-gray-300 rounded w-16"></div></div></div></div>', 3)),
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
e.count && e.count > 0 ? (
|
|
1066
|
+
r("div", Pe, [
|
|
1067
|
+
r("div", He, i(l.$t(e.text)), 1),
|
|
1068
|
+
e.count && e.count > 0 ? (d(), s("div", Xe, i(e.count), 1)) : u("", !0)
|
|
1069
1069
|
])
|
|
1070
1070
|
]));
|
|
1071
1071
|
}
|
|
1072
|
-
}, tt = { class: "h-full flex flex-col" },
|
|
1072
|
+
}, tt = { class: "h-full flex flex-col" }, rt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, dt = { class: "text-xs font-medium text-gray-600" }, st = {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
class: "text-xs text-gray-500"
|
|
1075
|
-
},
|
|
1075
|
+
}, W = {
|
|
1076
1076
|
__name: "documents-skeleton",
|
|
1077
1077
|
props: {
|
|
1078
1078
|
text: {
|
|
@@ -1085,11 +1085,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1085
1085
|
}
|
|
1086
1086
|
},
|
|
1087
1087
|
setup(e) {
|
|
1088
|
-
return (l, t) => (
|
|
1088
|
+
return (l, t) => (d(), s("div", tt, [
|
|
1089
1089
|
t[0] || (t[0] = g('<div class="h-4 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div><div class="flex items-center justify-between p-1.5 border-b border-gray-200"><div class="flex items-center gap-2"><div class="w-3 h-3 bg-gray-400 rounded-full"></div><div class="h-2 bg-gray-300 rounded flex-1 w-28"></div></div><div class="flex gap-1.5"><div class="w-3 h-3 bg-gray-200 rounded"></div><div class="w-3 h-3 bg-gray-200 rounded"></div></div></div></div>', 2)),
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
e.count && e.count > 0 ? (
|
|
1090
|
+
r("div", rt, [
|
|
1091
|
+
r("div", dt, i(l.$t(e.text)), 1),
|
|
1092
|
+
e.count && e.count > 0 ? (d(), s("div", st, i(e.count), 1)) : u("", !0)
|
|
1093
1093
|
])
|
|
1094
1094
|
]));
|
|
1095
1095
|
}
|
|
@@ -1109,11 +1109,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
1111
|
setup(e) {
|
|
1112
|
-
return (l, t) => (
|
|
1112
|
+
return (l, t) => (d(), s("div", lt, [
|
|
1113
1113
|
t[0] || (t[0] = g('<div class="grid grid-cols-3 gap-2 flex-1"><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div><div class="flex flex-col"><div class="h-3 bg-gray-400 rounded mb-2"></div><div class="space-y-1.5"><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div><div class="h-4 bg-gray-200 rounded border border-gray-300 p-1.5"><div class="h-1.5 bg-gray-300 rounded w-3/4"></div></div></div></div></div>', 1)),
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
e.count && e.count > 0 ? (
|
|
1114
|
+
r("div", it, [
|
|
1115
|
+
r("div", at, i(l.$t(e.text)), 1),
|
|
1116
|
+
e.count && e.count > 0 ? (d(), s("div", ot, i(e.count), 1)) : u("", !0)
|
|
1117
1117
|
])
|
|
1118
1118
|
]));
|
|
1119
1119
|
}
|
|
@@ -1133,15 +1133,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1133
1133
|
}
|
|
1134
1134
|
},
|
|
1135
1135
|
setup(e) {
|
|
1136
|
-
return (l, t) => (
|
|
1136
|
+
return (l, t) => (d(), s("div", ct, [
|
|
1137
1137
|
t[0] || (t[0] = g('<div class="flex-1 flex gap-2"><div class="flex-1 bg-gray-200 rounded mb-2 relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-12 h-8 bg-gray-300 rounded"></div></div></div><div class="bg-gray-200 rounded mb-2 relative w-[25px]"></div></div><div class="h-6 w-[40%] bg-gray-300 rounded"></div><div class="flex justify-start gap-1 mt-2"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full"></div><div class="w-1.5 h-1.5 border border-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 border border-gray-300 rounded-full"></div></div>', 3)),
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
e.count && e.count > 0 ? (
|
|
1138
|
+
r("div", ut, [
|
|
1139
|
+
r("div", vt, i(l.$t(e.text)), 1),
|
|
1140
|
+
e.count && e.count > 0 ? (d(), s("div", gt, i(e.count), 1)) : u("", !0)
|
|
1141
1141
|
])
|
|
1142
1142
|
]));
|
|
1143
1143
|
}
|
|
1144
|
-
},
|
|
1144
|
+
}, xt = { class: "h-full w-full flex flex-col" }, bt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, ht = { class: "text-xs font-medium text-gray-600" }, ft = {
|
|
1145
1145
|
key: 0,
|
|
1146
1146
|
class: "text-xs text-gray-500"
|
|
1147
1147
|
}, mt = {
|
|
@@ -1157,11 +1157,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1157
1157
|
}
|
|
1158
1158
|
},
|
|
1159
1159
|
setup(e) {
|
|
1160
|
-
return (l, t) => (
|
|
1160
|
+
return (l, t) => (d(), s("div", xt, [
|
|
1161
1161
|
t[0] || (t[0] = g('<div class="flex-1 flex gap-2"><div class="flex-1 bg-gray-200 rounded mb-2 relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-10 h-10 bg-gray-400 rounded-full flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-play w-5 h-5 text-white ml-0.5"><polygon points="6 3 20 12 6 21 6 3"></polygon></svg></div></div></div><div class="bg-gray-200 rounded mb-2 relative w-[25px]"></div></div><div class="flex justify-start gap-1 mt-2"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full"></div><div class="w-1.5 h-1.5 border border-gray-300 rounded-full"></div><div class="w-1.5 h-1.5 border border-gray-300 rounded-full"></div></div>', 2)),
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
e.count && e.count > 0 ? (
|
|
1162
|
+
r("div", bt, [
|
|
1163
|
+
r("div", ht, i(l.$t(e.text)), 1),
|
|
1164
|
+
e.count && e.count > 0 ? (d(), s("div", ft, i(e.count), 1)) : u("", !0)
|
|
1165
1165
|
])
|
|
1166
1166
|
]));
|
|
1167
1167
|
}
|
|
@@ -1181,15 +1181,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1181
1181
|
}
|
|
1182
1182
|
},
|
|
1183
1183
|
setup(e) {
|
|
1184
|
-
return (l, t) => (
|
|
1184
|
+
return (l, t) => (d(), s("div", pt, [
|
|
1185
1185
|
t[0] || (t[0] = g('<div class="bg-gray-300 h-[60%] w-full p-4 flex flex-col gap-2"></div><div class="bg-white h-[60%] w-[calc(100%-30px)] left-4 mt-[-50px] relative p-4"><div class="space-y-1.5"><div class="h-2 bg-gray-300 rounded mb-3"></div><div class="h-1.5 bg-gray-300 rounded"></div><div class="h-1.5 bg-gray-300 rounded w-4/5"></div><div class="h-1.5 bg-gray-300 rounded"></div><div class="h-1.5 bg-gray-300 rounded w-3/4"></div><div class="h-1.5 bg-gray-300 rounded"></div></div></div>', 2)),
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
e.count && e.count > 0 ? (
|
|
1186
|
+
r("div", wt, [
|
|
1187
|
+
r("div", kt, i(l.$t(`cms.builder.${e.text}`)), 1),
|
|
1188
|
+
e.count && e.count > 0 ? (d(), s("div", $t, i(e.count), 1)) : u("", !0)
|
|
1189
1189
|
])
|
|
1190
1190
|
]));
|
|
1191
1191
|
}
|
|
1192
|
-
}, Ct = { class: "h-full w-[80%] mx-auto flex flex-col" },
|
|
1192
|
+
}, Ct = { class: "h-full w-[80%] mx-auto flex flex-col" }, jt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, At = { class: "text-xs font-medium text-gray-600" }, qt = {
|
|
1193
1193
|
key: 0,
|
|
1194
1194
|
class: "text-xs text-gray-500"
|
|
1195
1195
|
}, Mt = {
|
|
@@ -1205,15 +1205,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
1207
|
setup(e) {
|
|
1208
|
-
return (l, t) => (
|
|
1208
|
+
return (l, t) => (d(), s("div", Ct, [
|
|
1209
1209
|
t[0] || (t[0] = g('<div class="flex-1 flex flex-col gap-2"><div class="grid grid-cols-1 md:grid-cols-2 gap-4 items-center"><div class="aspect-[2/1] bg-gray-300 rounded"></div><div class="flex flex-col gap-2"><div class="h-1.5 bg-gray-400 rounded w-1/3"></div><div class="space-y-1"><div class="h-1.5 bg-gray-200 rounded w-full"></div><div class="h-1.5 bg-gray-200 rounded w-5/6"></div><div class="h-1.5 bg-gray-200 rounded w-4/5"></div></div><div class="h-2 bg-gray-400 rounded w-1/5"></div></div></div><div class="grid grid-cols-1 md:grid-cols-2 gap-6 items-center"><div class="flex flex-col gap-2"><div class="h-1.5 bg-gray-400 rounded w-1/3"></div><div class="space-y-1"><div class="h-1.5 bg-gray-200 rounded w-full"></div><div class="h-1.5 bg-gray-200 rounded w-5/6"></div><div class="h-1.5 bg-gray-200 rounded w-4/5"></div></div><div class="h-2 bg-gray-400 rounded w-1/5"></div></div><div class="aspect-[2/1] bg-gray-300 rounded order-1 md:order-2"></div></div></div>', 1)),
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
e.count && e.count > 0 ? (
|
|
1210
|
+
r("div", jt, [
|
|
1211
|
+
r("div", At, i(l.$t(e.text)), 1),
|
|
1212
|
+
e.count && e.count > 0 ? (d(), s("div", qt, i(e.count), 1)) : u("", !0)
|
|
1213
1213
|
])
|
|
1214
1214
|
]));
|
|
1215
1215
|
}
|
|
1216
|
-
}, St = { class: "h-full w-full flex flex-col" },
|
|
1216
|
+
}, St = { class: "h-full w-full flex flex-col" }, Bt = { class: "border border-gray-300 rounded overflow-hidden" }, Et = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Vt = { class: "text-xs font-medium text-gray-600" }, Lt = {
|
|
1217
1217
|
key: 0,
|
|
1218
1218
|
class: "text-xs text-gray-500"
|
|
1219
1219
|
}, Qt = 5, zt = {
|
|
@@ -1229,38 +1229,38 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1229
1229
|
}
|
|
1230
1230
|
},
|
|
1231
1231
|
setup(e) {
|
|
1232
|
-
return (l, t) => (
|
|
1233
|
-
t[3] || (t[3] =
|
|
1234
|
-
|
|
1232
|
+
return (l, t) => (d(), s("div", St, [
|
|
1233
|
+
t[3] || (t[3] = r("div", { class: "mb-2" }, [
|
|
1234
|
+
r("div", { class: "h-2 bg-gray-400 rounded w-40" })
|
|
1235
1235
|
], -1)),
|
|
1236
|
-
|
|
1236
|
+
r("div", Bt, [
|
|
1237
1237
|
t[2] || (t[2] = g('<div class="flex border-b border-gray-300 last:border-b-0"><div class="w-2/5 px-4 py-2 bg-gray-400 border-r border-gray-300"><div class="h-2.5 bg-gray-300 rounded w-full max-w-[12rem]"></div></div><div class="flex-1 px-4 py-2 bg-gray-400"><div class="h-2.5 bg-gray-300 rounded w-16"></div></div></div>', 1)),
|
|
1238
|
-
(
|
|
1238
|
+
(d(), s(w, null, _(Qt, (o, n) => r("div", {
|
|
1239
1239
|
key: n,
|
|
1240
1240
|
class: "flex border-b border-gray-300 last:border-b-0"
|
|
1241
1241
|
}, [
|
|
1242
|
-
|
|
1242
|
+
r("div", {
|
|
1243
1243
|
class: C(["w-2/5 px-4 py-2 border-r border-gray-300", n % 2 === 0 ? "bg-gray-200" : "bg-gray-100"])
|
|
1244
1244
|
}, [...t[0] || (t[0] = [
|
|
1245
|
-
|
|
1245
|
+
r("div", { class: "h-2.5 bg-gray-300 rounded w-full max-w-[12rem]" }, null, -1)
|
|
1246
1246
|
])], 2),
|
|
1247
|
-
|
|
1247
|
+
r("div", {
|
|
1248
1248
|
class: C(["flex-1 px-4 py-2", n % 2 === 0 ? "bg-gray-200" : "bg-gray-100"])
|
|
1249
1249
|
}, [...t[1] || (t[1] = [
|
|
1250
|
-
|
|
1250
|
+
r("div", { class: "h-2.5 bg-gray-300 rounded w-16" }, null, -1)
|
|
1251
1251
|
])], 2)
|
|
1252
1252
|
])), 64))
|
|
1253
1253
|
]),
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
e.count && e.count > 0 ? (
|
|
1254
|
+
r("div", Et, [
|
|
1255
|
+
r("div", Vt, i(l.$t(e.text)), 1),
|
|
1256
|
+
e.count && e.count > 0 ? (d(), s("div", Lt, i(e.count), 1)) : u("", !0)
|
|
1257
1257
|
])
|
|
1258
1258
|
]));
|
|
1259
1259
|
}
|
|
1260
|
-
}, It = { class: "h-full w-full flex flex-col min-h-0" },
|
|
1260
|
+
}, It = { class: "h-full w-full flex flex-col min-h-0" }, Nt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Wt = { class: "text-xs font-medium text-gray-600" }, Zt = {
|
|
1261
1261
|
key: 0,
|
|
1262
1262
|
class: "text-xs text-gray-500"
|
|
1263
|
-
},
|
|
1263
|
+
}, Gt = {
|
|
1264
1264
|
__name: "file-download-skeleton",
|
|
1265
1265
|
props: {
|
|
1266
1266
|
text: {
|
|
@@ -1273,11 +1273,11 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1273
1273
|
}
|
|
1274
1274
|
},
|
|
1275
1275
|
setup(e) {
|
|
1276
|
-
return (l, t) => (
|
|
1276
|
+
return (l, t) => (d(), s("div", It, [
|
|
1277
1277
|
t[0] || (t[0] = g('<div class="w-full flex-1 max-w-[70%] mx-auto flex flex-row gap-3 items-center min-h-0 min-w-0"><div class="shrink-0 flex justify-center items-center"><div class="relative w-[90px] h-[100px] mr-[10px]"><div class="absolute w-[60px] h-[80px] bg-gray-300 rounded"></div><div class="absolute w-[60px] h-[80px] bg-gray-200 rounded border border-gray-300 top-[12px] left-[12px] rotate-[-5deg]"></div></div></div><div class="flex-1 flex flex-col gap-2 min-w-0 overflow-hidden"><div class="h-3.5 bg-gray-400 rounded w-full max-w-[180px]"></div><div class="space-y-1"><div class="h-1.5 bg-gray-300 rounded w-20"></div><div class="h-1.5 bg-gray-300 rounded w-16"></div></div><div class="h-4 bg-gray-300 rounded w-24"></div></div></div>', 1)),
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
e.count && e.count > 0 ? (
|
|
1278
|
+
r("div", Nt, [
|
|
1279
|
+
r("div", Wt, i(l.$t(e.text)), 1),
|
|
1280
|
+
e.count && e.count > 0 ? (d(), s("div", Zt, i(e.count), 1)) : u("", !0)
|
|
1281
1281
|
])
|
|
1282
1282
|
]));
|
|
1283
1283
|
}
|
|
@@ -1297,18 +1297,18 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1297
1297
|
}
|
|
1298
1298
|
},
|
|
1299
1299
|
setup(e) {
|
|
1300
|
-
return (l, t) => (
|
|
1300
|
+
return (l, t) => (d(), s("div", Ft, [
|
|
1301
1301
|
t[0] || (t[0] = g('<div class="mb-3"><div class="h-4 bg-gray-400 rounded w-3/4 max-w-md"></div></div><div class="space-y-1 mb-3"><div class="h-2 bg-gray-300 rounded w-full"></div><div class="flex gap-2 items-center"><div class="h-1.5 bg-gray-400 rounded w-24"></div><div class="h-1.5 bg-gray-300 rounded flex-1"></div></div></div><div class="space-y-2 pl-1 mb-3"><div class="flex items-center gap-3"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full shrink-0"></div><div class="h-2 bg-gray-300 rounded w-3/4 max-w-sm"></div></div><div class="flex items-center gap-3"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full shrink-0"></div><div class="h-2 bg-gray-300 rounded w-2/4 max-w-xs"></div></div><div class="flex items-center gap-3"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full shrink-0"></div><div class="h-2 bg-gray-300 rounded w-1/4 max-w-md"></div></div><div class="flex items-center gap-3"><div class="w-1.5 h-1.5 bg-gray-400 rounded-full shrink-0"></div><div class="h-2 bg-gray-300 rounded w-3/4 max-w-sm"></div></div></div><div class="space-y-2 mb-2"><div class="h-1.5 bg-gray-300 rounded w-full"></div><div class="flex gap-2 items-center"><div class="h-1.5 bg-gray-400 rounded flex-1 max-w-[85%]"></div><div class="h-1.5 bg-gray-300 rounded w-1/4"></div></div><div class="h-1.5 bg-gray-300 rounded w-4/5"></div></div>', 4)),
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
e.count && e.count > 0 ? (
|
|
1302
|
+
r("div", Tt, [
|
|
1303
|
+
r("div", Rt, i(l.$t(e.text)), 1),
|
|
1304
|
+
e.count && e.count > 0 ? (d(), s("div", Yt, i(e.count), 1)) : u("", !0)
|
|
1305
1305
|
])
|
|
1306
1306
|
]));
|
|
1307
1307
|
}
|
|
1308
1308
|
}, Dt = { class: "h-full flex flex-col" }, Jt = { class: "space-y-1.5 flex-1 flex gap-6" }, Kt = { class: "flex-1 space-y-1.5" }, Ot = { class: "flex-1 space-y-1.5" }, Pt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Ht = { class: "text-xs font-medium text-gray-600" }, Xt = {
|
|
1309
1309
|
key: 0,
|
|
1310
1310
|
class: "text-xs text-gray-500"
|
|
1311
|
-
},
|
|
1311
|
+
}, er = {
|
|
1312
1312
|
__name: "column-list-skeleton",
|
|
1313
1313
|
props: {
|
|
1314
1314
|
text: {
|
|
@@ -1321,42 +1321,42 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1321
1321
|
}
|
|
1322
1322
|
},
|
|
1323
1323
|
setup(e) {
|
|
1324
|
-
return (l, t) => (
|
|
1325
|
-
t[2] || (t[2] =
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
(
|
|
1324
|
+
return (l, t) => (d(), s("div", Dt, [
|
|
1325
|
+
t[2] || (t[2] = r("div", { class: "h-4 bg-gray-400 rounded mb-3 w-40" }, null, -1)),
|
|
1326
|
+
r("div", Jt, [
|
|
1327
|
+
r("div", Kt, [
|
|
1328
|
+
(d(), s(w, null, _(5, (o) => r("div", {
|
|
1329
1329
|
key: "l-" + o,
|
|
1330
1330
|
class: "flex items-center gap-2"
|
|
1331
1331
|
}, [
|
|
1332
|
-
t[0] || (t[0] =
|
|
1333
|
-
|
|
1332
|
+
t[0] || (t[0] = r("div", { class: "w-1.5 h-1.5 rounded-full bg-gray-400 shrink-0 mt-1.5" }, null, -1)),
|
|
1333
|
+
r("div", {
|
|
1334
1334
|
class: C(["h-3 bg-gray-300 rounded flex-1", o === 1 ? "max-w-full" : "w-28"])
|
|
1335
1335
|
}, null, 2)
|
|
1336
1336
|
])), 64))
|
|
1337
1337
|
]),
|
|
1338
|
-
|
|
1339
|
-
(
|
|
1338
|
+
r("div", Ot, [
|
|
1339
|
+
(d(), s(w, null, _(4, (o) => r("div", {
|
|
1340
1340
|
key: "r-" + o,
|
|
1341
1341
|
class: "flex items-center gap-2"
|
|
1342
1342
|
}, [
|
|
1343
|
-
t[1] || (t[1] =
|
|
1344
|
-
|
|
1343
|
+
t[1] || (t[1] = r("div", { class: "w-1.5 h-1.5 rounded-full bg-gray-400 shrink-0 mt-1.5" }, null, -1)),
|
|
1344
|
+
r("div", {
|
|
1345
1345
|
class: C(["h-3 bg-gray-300 rounded flex-1", o === 1 ? "max-w-full" : "w-28"])
|
|
1346
1346
|
}, null, 2)
|
|
1347
1347
|
])), 64))
|
|
1348
1348
|
])
|
|
1349
1349
|
]),
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
e.count && e.count > 0 ? (
|
|
1350
|
+
r("div", Pt, [
|
|
1351
|
+
r("div", Ht, i(l.$t(e.text)), 1),
|
|
1352
|
+
e.count && e.count > 0 ? (d(), s("div", Xt, i(e.count), 1)) : u("", !0)
|
|
1353
1353
|
])
|
|
1354
1354
|
]));
|
|
1355
1355
|
}
|
|
1356
|
-
},
|
|
1356
|
+
}, tr = { class: "h-full flex flex-col" }, rr = { class: "flex-1 flex flex-col rounded py-4 px-5 bg-gray-400 w-full max-w-[70%] mx-auto" }, dr = { class: "space-y-2 flex-1" }, sr = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-200" }, lr = { class: "text-xs font-medium text-gray-600" }, ir = {
|
|
1357
1357
|
key: 0,
|
|
1358
1358
|
class: "text-xs text-gray-500"
|
|
1359
|
-
},
|
|
1359
|
+
}, ar = {
|
|
1360
1360
|
__name: "list-skeleton",
|
|
1361
1361
|
props: {
|
|
1362
1362
|
text: {
|
|
@@ -1369,15 +1369,15 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1369
1369
|
}
|
|
1370
1370
|
},
|
|
1371
1371
|
setup(e) {
|
|
1372
|
-
return (l, t) => (
|
|
1373
|
-
|
|
1374
|
-
t[1] || (t[1] =
|
|
1375
|
-
|
|
1376
|
-
(
|
|
1372
|
+
return (l, t) => (d(), s("div", tr, [
|
|
1373
|
+
r("div", rr, [
|
|
1374
|
+
t[1] || (t[1] = r("div", { class: "h-4 bg-gray-300 rounded mb-2.5 w-40 shrink-0" }, null, -1)),
|
|
1375
|
+
r("div", dr, [
|
|
1376
|
+
(d(), s(w, null, _(5, (o) => r("div", {
|
|
1377
1377
|
key: o,
|
|
1378
1378
|
class: "flex items-center gap-2"
|
|
1379
1379
|
}, [
|
|
1380
|
-
t[0] || (t[0] =
|
|
1380
|
+
t[0] || (t[0] = r("svg", {
|
|
1381
1381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1382
1382
|
width: "20",
|
|
1383
1383
|
height: "20",
|
|
@@ -1390,29 +1390,29 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1390
1390
|
class: "shrink-0 text-gray-200 w-3 h-3",
|
|
1391
1391
|
"aria-hidden": "true"
|
|
1392
1392
|
}, [
|
|
1393
|
-
|
|
1393
|
+
r("circle", {
|
|
1394
1394
|
cx: "12",
|
|
1395
1395
|
cy: "12",
|
|
1396
1396
|
r: "10"
|
|
1397
1397
|
}),
|
|
1398
|
-
|
|
1398
|
+
r("path", { d: "m9 12 2 2 4-4" })
|
|
1399
1399
|
], -1)),
|
|
1400
|
-
|
|
1400
|
+
r("div", {
|
|
1401
1401
|
class: C(["h-2.5 bg-gray-200 rounded flex-1", o === 1 ? "max-w-[12rem]" : o === 3 ? "w-28" : "w-20"])
|
|
1402
1402
|
}, null, 2)
|
|
1403
1403
|
])), 64))
|
|
1404
1404
|
])
|
|
1405
1405
|
]),
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
e.count && e.count > 0 ? (
|
|
1406
|
+
r("div", sr, [
|
|
1407
|
+
r("div", lr, i(l.$t(e.text)), 1),
|
|
1408
|
+
e.count && e.count > 0 ? (d(), s("div", ir, i(e.count), 1)) : u("", !0)
|
|
1409
1409
|
])
|
|
1410
1410
|
]));
|
|
1411
1411
|
}
|
|
1412
|
-
},
|
|
1412
|
+
}, or = { class: "h-full flex flex-col" }, nr = { class: "flex-1 flex flex-col rounded py-4 px-5 bg-gray-100 w-full max-w-[70%] mx-auto" }, cr = { class: "space-y-2 flex-1" }, ur = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-200" }, vr = { class: "text-xs font-medium text-gray-600" }, gr = {
|
|
1413
1413
|
key: 0,
|
|
1414
1414
|
class: "text-xs text-gray-500"
|
|
1415
|
-
},
|
|
1415
|
+
}, yr = {
|
|
1416
1416
|
__name: "list-link-skeleton",
|
|
1417
1417
|
props: {
|
|
1418
1418
|
text: {
|
|
@@ -1425,24 +1425,125 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1425
1425
|
}
|
|
1426
1426
|
},
|
|
1427
1427
|
setup(e) {
|
|
1428
|
-
return (l, t) => (
|
|
1429
|
-
|
|
1430
|
-
t[1] || (t[1] =
|
|
1431
|
-
|
|
1432
|
-
(
|
|
1428
|
+
return (l, t) => (d(), s("div", or, [
|
|
1429
|
+
r("div", nr, [
|
|
1430
|
+
t[1] || (t[1] = r("div", { class: "h-4 bg-gray-300 rounded mb-2.5 w-40 shrink-0" }, null, -1)),
|
|
1431
|
+
r("div", cr, [
|
|
1432
|
+
(d(), s(w, null, _(5, (o) => r("div", {
|
|
1433
|
+
key: o,
|
|
1434
|
+
class: "flex items-center gap-2"
|
|
1435
|
+
}, [
|
|
1436
|
+
t[0] || (t[0] = r("div", { class: "w-1 h-1 bg-gray-400 rounded-full shrink-0" }, null, -1)),
|
|
1437
|
+
r("div", {
|
|
1438
|
+
class: C(["h-2.5 bg-gray-300 rounded flex-1", o === 1 ? "max-w-[12rem]" : o === 3 ? "w-28" : "w-20"])
|
|
1439
|
+
}, null, 2)
|
|
1440
|
+
])), 64))
|
|
1441
|
+
])
|
|
1442
|
+
]),
|
|
1443
|
+
r("div", ur, [
|
|
1444
|
+
r("div", vr, i(l.$t(e.text)), 1),
|
|
1445
|
+
e.count && e.count > 0 ? (d(), s("div", gr, i(e.count), 1)) : u("", !0)
|
|
1446
|
+
])
|
|
1447
|
+
]));
|
|
1448
|
+
}
|
|
1449
|
+
}, xr = { class: "h-full w-full flex flex-col" }, br = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, hr = { class: "text-xs font-medium text-gray-600" }, fr = {
|
|
1450
|
+
key: 0,
|
|
1451
|
+
class: "text-xs text-gray-500"
|
|
1452
|
+
}, mr = {
|
|
1453
|
+
__name: "video-block-skeleton",
|
|
1454
|
+
props: {
|
|
1455
|
+
text: {
|
|
1456
|
+
type: String,
|
|
1457
|
+
required: !0
|
|
1458
|
+
},
|
|
1459
|
+
count: {
|
|
1460
|
+
type: Number,
|
|
1461
|
+
required: !0
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
setup(e) {
|
|
1465
|
+
return (l, t) => (d(), s("div", xr, [
|
|
1466
|
+
t[0] || (t[0] = g('<div class="flex-1 w-[70%] mx-auto bg-gray-200 rounded relative"><div class="absolute inset-0 flex items-center justify-center"><div class="w-10 h-10 bg-gray-400 rounded-full flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-play w-5 h-5 text-white ml-0.5"><polygon points="6 3 20 12 6 21 6 3"></polygon></svg></div></div></div>', 1)),
|
|
1467
|
+
r("div", br, [
|
|
1468
|
+
r("div", hr, i(l.$t(e.text)), 1),
|
|
1469
|
+
e.count && e.count > 0 ? (d(), s("div", fr, i(e.count), 1)) : u("", !0)
|
|
1470
|
+
])
|
|
1471
|
+
]));
|
|
1472
|
+
}
|
|
1473
|
+
}, pr = { class: "h-full w-[70%] mx-auto flex flex-col" }, wr = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, kr = { class: "text-xs font-medium text-gray-600" }, $r = {
|
|
1474
|
+
key: 0,
|
|
1475
|
+
class: "text-xs text-gray-500"
|
|
1476
|
+
}, _r = {
|
|
1477
|
+
__name: "accordion-skeleton",
|
|
1478
|
+
props: {
|
|
1479
|
+
text: {
|
|
1480
|
+
type: String,
|
|
1481
|
+
required: !0
|
|
1482
|
+
},
|
|
1483
|
+
count: {
|
|
1484
|
+
type: Number,
|
|
1485
|
+
required: !0
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
setup(e) {
|
|
1489
|
+
return (l, t) => (d(), s("div", pr, [
|
|
1490
|
+
t[0] || (t[0] = g('<div class="h-3 w-1/3 bg-gray-500 rounded mb-2"></div><div class="space-y-1.5 flex-1"><div class="border-y border-gray-300 py-2"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded w-1/3 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div><div class="border-y border-gray-300 p-2"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded w-2/3 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div><div class="mt-1 pt-2 border-t border-gray-200"><div class="flex flex-row gap-2"><div class="w-1/2 space-y-1"><div class="h-1 bg-gray-200 rounded"></div><div class="h-1 bg-gray-200 rounded w-5/6"></div><div class="h-1 bg-gray-200 rounded w-4/5"></div></div><div class="w-1/2 bg-gray-200 rounded"></div></div></div></div><div class="border-y border-gray-300 p-2"><div class="flex items-center justify-between"><div class="h-1.5 bg-gray-300 rounded w-1/3 mr-2"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-2.5 h-2.5 text-gray-400"><path d="m6 9 6 6 6-6"></path></svg></div></div></div>', 2)),
|
|
1491
|
+
r("div", wr, [
|
|
1492
|
+
r("div", kr, i(l.$t(e.text)), 1),
|
|
1493
|
+
e.count && e.count > 0 ? (d(), s("div", $r, i(e.count), 1)) : u("", !0)
|
|
1494
|
+
])
|
|
1495
|
+
]));
|
|
1496
|
+
}
|
|
1497
|
+
}, Cr = { class: "h-full flex flex-col" }, jr = { class: "flex-1 flex flex-col rounded py-4 px-5 w-full max-w-[70%] mx-auto" }, Ar = { class: "space-y-2 flex-1" }, qr = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-200" }, Mr = { class: "text-xs font-medium text-gray-600" }, Sr = {
|
|
1498
|
+
key: 0,
|
|
1499
|
+
class: "text-xs text-gray-500"
|
|
1500
|
+
}, Br = {
|
|
1501
|
+
__name: "link-block-skeleton",
|
|
1502
|
+
props: {
|
|
1503
|
+
text: {
|
|
1504
|
+
type: String,
|
|
1505
|
+
required: !0
|
|
1506
|
+
},
|
|
1507
|
+
count: {
|
|
1508
|
+
type: Number,
|
|
1509
|
+
required: !0
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
setup(e) {
|
|
1513
|
+
return (l, t) => (d(), s("div", Cr, [
|
|
1514
|
+
r("div", jr, [
|
|
1515
|
+
t[1] || (t[1] = r("div", { class: "h-4 bg-gray-400 rounded mb-2.5 w-40 shrink-0" }, null, -1)),
|
|
1516
|
+
r("div", Ar, [
|
|
1517
|
+
(d(), s(w, null, _(5, (o) => r("div", {
|
|
1433
1518
|
key: o,
|
|
1434
1519
|
class: "flex items-center gap-2"
|
|
1435
1520
|
}, [
|
|
1436
|
-
t[0] || (t[0] =
|
|
1437
|
-
|
|
1521
|
+
t[0] || (t[0] = r("div", { class: "w-3 h-3 bg-gray-400 rounded-full p-0.5 flex items-center justify-center" }, [
|
|
1522
|
+
r("svg", {
|
|
1523
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1524
|
+
width: "24",
|
|
1525
|
+
height: "24",
|
|
1526
|
+
viewBox: "0 0 24 24",
|
|
1527
|
+
fill: "none",
|
|
1528
|
+
stroke: "currentColor",
|
|
1529
|
+
"stroke-width": "2",
|
|
1530
|
+
"stroke-linecap": "round",
|
|
1531
|
+
"stroke-linejoin": "round",
|
|
1532
|
+
class: "text-gray-100 w-1 h-1"
|
|
1533
|
+
}, [
|
|
1534
|
+
r("path", { d: "M18 8L22 12L18 16" }),
|
|
1535
|
+
r("path", { d: "M2 12H22" })
|
|
1536
|
+
])
|
|
1537
|
+
], -1)),
|
|
1538
|
+
r("div", {
|
|
1438
1539
|
class: C(["h-2.5 bg-gray-300 rounded flex-1", o === 1 ? "max-w-[12rem]" : o === 3 ? "w-28" : "w-20"])
|
|
1439
1540
|
}, null, 2)
|
|
1440
1541
|
])), 64))
|
|
1441
1542
|
])
|
|
1442
1543
|
]),
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
e.count && e.count > 0 ? (
|
|
1544
|
+
r("div", qr, [
|
|
1545
|
+
r("div", Mr, i(l.$t(e.text)), 1),
|
|
1546
|
+
e.count && e.count > 0 ? (d(), s("div", Sr, i(e.count), 1)) : u("", !0)
|
|
1446
1547
|
])
|
|
1447
1548
|
]));
|
|
1448
1549
|
}
|
|
@@ -1451,34 +1552,37 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1451
1552
|
banner: z,
|
|
1452
1553
|
slider: Re,
|
|
1453
1554
|
video: Le,
|
|
1454
|
-
about:
|
|
1555
|
+
about: We,
|
|
1455
1556
|
cards: Q,
|
|
1456
|
-
usefulLinks:
|
|
1557
|
+
usefulLinks: N,
|
|
1457
1558
|
team: Ce,
|
|
1458
1559
|
news: I,
|
|
1459
|
-
form:
|
|
1560
|
+
form: be,
|
|
1460
1561
|
tabs: et,
|
|
1461
1562
|
vertical_tabs: I,
|
|
1462
|
-
documents:
|
|
1563
|
+
documents: W,
|
|
1463
1564
|
infoLine: Ke,
|
|
1464
1565
|
body: nt,
|
|
1465
1566
|
photoGrid: Q,
|
|
1466
|
-
interested:
|
|
1467
|
-
contact:
|
|
1567
|
+
interested: N,
|
|
1568
|
+
contact: W,
|
|
1468
1569
|
iframe: z,
|
|
1469
1570
|
imageSlider: yt,
|
|
1470
1571
|
videoSlider: mt,
|
|
1471
1572
|
detailedBanner: _t,
|
|
1472
1573
|
cardsReverse: Mt,
|
|
1473
1574
|
table: zt,
|
|
1474
|
-
fileDownload:
|
|
1575
|
+
fileDownload: Gt,
|
|
1475
1576
|
bodyContent: Ut,
|
|
1476
|
-
columnList:
|
|
1477
|
-
list:
|
|
1478
|
-
linkList:
|
|
1479
|
-
|
|
1577
|
+
columnList: er,
|
|
1578
|
+
list: ar,
|
|
1579
|
+
linkList: yr,
|
|
1580
|
+
videoBlock: mr,
|
|
1581
|
+
accordionBlock: _r,
|
|
1582
|
+
linkBlock: Br
|
|
1583
|
+
}, Er = { class: "grid grid-cols-1 md:grid-cols-1 lg:grid-cols-2 2xl:grid-cols-3 gap-4" }, Vr = ["onClick"], Lr = { class: "wireframe-block h-[240px] !p-4 border-2 border-dashed bg-white relative overflow-hidden transition-all rounded-lg shadow-sm border-gray-300 hover:border-gray-400 cursor-pointer" }, Qr = ["src"], zr = {
|
|
1480
1584
|
__name: "vs-form-reference-choce",
|
|
1481
|
-
props: /* @__PURE__ */
|
|
1585
|
+
props: /* @__PURE__ */ B({
|
|
1482
1586
|
options: {
|
|
1483
1587
|
type: Array,
|
|
1484
1588
|
required: !0
|
|
@@ -1492,29 +1596,29 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1492
1596
|
}),
|
|
1493
1597
|
emits: ["update:modelValue"],
|
|
1494
1598
|
setup(e) {
|
|
1495
|
-
const l =
|
|
1496
|
-
return (t, o) => (
|
|
1497
|
-
(
|
|
1599
|
+
const l = A(e, "modelValue");
|
|
1600
|
+
return (t, o) => (d(), s("div", Er, [
|
|
1601
|
+
(d(!0), s(w, null, _(e.options, (n) => (d(), s("div", {
|
|
1498
1602
|
key: n.id,
|
|
1499
1603
|
onClick: (y) => l.value = n.id,
|
|
1500
1604
|
class: "relative"
|
|
1501
1605
|
}, [
|
|
1502
|
-
|
|
1503
|
-
|
|
1606
|
+
r("div", Lr, [
|
|
1607
|
+
b(S)[n.id] ? (d(), j(Z(b(S)[n.id]), {
|
|
1504
1608
|
key: 0,
|
|
1505
1609
|
text: n == null ? void 0 : n.text,
|
|
1506
1610
|
count: (n == null ? void 0 : n.data) || 0
|
|
1507
|
-
}, null, 8, ["text", "count"])) : (
|
|
1611
|
+
}, null, 8, ["text", "count"])) : (d(), s("img", {
|
|
1508
1612
|
key: 1,
|
|
1509
|
-
src:
|
|
1613
|
+
src: b(U),
|
|
1510
1614
|
alt: "Team collaboration",
|
|
1511
1615
|
class: "w-full h-full object-cover"
|
|
1512
|
-
}, null, 8,
|
|
1616
|
+
}, null, 8, Qr))
|
|
1513
1617
|
])
|
|
1514
|
-
], 8,
|
|
1618
|
+
], 8, Vr))), 128))
|
|
1515
1619
|
]));
|
|
1516
1620
|
}
|
|
1517
|
-
},
|
|
1621
|
+
}, Ir = [
|
|
1518
1622
|
{
|
|
1519
1623
|
text: "reference.faq",
|
|
1520
1624
|
id: "faq"
|
|
@@ -1591,9 +1695,9 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1591
1695
|
text: "reference.iframe",
|
|
1592
1696
|
id: "iframe"
|
|
1593
1697
|
}
|
|
1594
|
-
],
|
|
1698
|
+
], Nr = { class: "flex gap-4" }, Wr = { class: "text-sm text-gray-500 dark:text-gray-400 border flex items-center h-10 px-4 rounded-lg w-full" }, Zr = { class: "flex items-center justify-between w-full p-4 border-t border-gray-200 dark:border-gray-700" }, Gr = {
|
|
1595
1699
|
__name: "vs-form-reference-add",
|
|
1596
|
-
props: /* @__PURE__ */
|
|
1700
|
+
props: /* @__PURE__ */ B({
|
|
1597
1701
|
title: {
|
|
1598
1702
|
type: String,
|
|
1599
1703
|
required: !0
|
|
@@ -1607,12 +1711,12 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1607
1711
|
}),
|
|
1608
1712
|
emits: ["update:modelValue"],
|
|
1609
1713
|
setup(e) {
|
|
1610
|
-
const { t: l } = Y(), t =
|
|
1611
|
-
L["vs-input-reference"] =
|
|
1612
|
-
const o =
|
|
1613
|
-
var
|
|
1614
|
-
return ((
|
|
1615
|
-
}),
|
|
1714
|
+
const { t: l } = Y(), t = G().appContext.config.globalProperties.$settings.cms;
|
|
1715
|
+
L["vs-input-reference"] = Kr, L["vs-input-tiptap-editor"] = H;
|
|
1716
|
+
const o = A(e, "modelValue"), n = k(!1), y = k({}), a = k(null), x = k({}), m = M(() => {
|
|
1717
|
+
var v, c;
|
|
1718
|
+
return ((v = t.sections.find((f) => f.id === a.value)) == null ? void 0 : v.schema) || ((c = D[a.value]) == null ? void 0 : c.schema) || null;
|
|
1719
|
+
}), E = async () => {
|
|
1616
1720
|
if (await y.value.validate()) {
|
|
1617
1721
|
T({
|
|
1618
1722
|
type: "warning",
|
|
@@ -1622,71 +1726,71 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1622
1726
|
return;
|
|
1623
1727
|
}
|
|
1624
1728
|
try {
|
|
1625
|
-
Object.keys(
|
|
1729
|
+
Object.keys(x.value).length !== 0 && (o.value = [
|
|
1626
1730
|
...o.value || [],
|
|
1627
1731
|
{
|
|
1628
|
-
...
|
|
1732
|
+
...x.value,
|
|
1629
1733
|
id: Math.random().toString(36).substring(2, 15),
|
|
1630
1734
|
reference_type: a.value
|
|
1631
1735
|
}
|
|
1632
|
-
]), n.value = !1, a.value = null,
|
|
1736
|
+
]), n.value = !1, a.value = null, x.value = {};
|
|
1633
1737
|
} catch (c) {
|
|
1634
1738
|
console.log(c);
|
|
1635
1739
|
}
|
|
1636
1740
|
};
|
|
1637
|
-
|
|
1638
|
-
n.value || (a.value = null,
|
|
1741
|
+
V(n, () => {
|
|
1742
|
+
n.value || (a.value = null, x.value = {});
|
|
1639
1743
|
});
|
|
1640
|
-
const h = M(() => t.sectionsList ||
|
|
1641
|
-
return (
|
|
1642
|
-
|
|
1744
|
+
const h = M(() => t.sectionsList || Ir);
|
|
1745
|
+
return (v, c) => (d(), s("div", null, [
|
|
1746
|
+
r("button", {
|
|
1643
1747
|
type: "button",
|
|
1644
1748
|
class: "inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm text-sm font-medium text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-sky-500",
|
|
1645
1749
|
onClick: c[0] || (c[0] = (f) => n.value = !n.value)
|
|
1646
|
-
}, i(
|
|
1647
|
-
|
|
1750
|
+
}, i(v.$t("cms.builder.create")), 1),
|
|
1751
|
+
$(b(F), {
|
|
1648
1752
|
visible: n.value,
|
|
1649
1753
|
"onUpdate:visible": c[6] || (c[6] = (f) => n.value = f),
|
|
1650
1754
|
position: "right",
|
|
1651
1755
|
closeClickBackdrop: !1,
|
|
1652
1756
|
onClose: c[7] || (c[7] = (f) => n.value = !1),
|
|
1653
|
-
title: a.value ?
|
|
1757
|
+
title: a.value ? v.$t("cms.builder." + a.value) : v.$t("cms.builder.selectType"),
|
|
1654
1758
|
size: "50vw"
|
|
1655
1759
|
}, {
|
|
1656
1760
|
footer: q(() => [
|
|
1657
|
-
|
|
1658
|
-
|
|
1761
|
+
r("div", Zr, [
|
|
1762
|
+
r("button", {
|
|
1659
1763
|
onClick: c[5] || (c[5] = (f) => n.value = !1),
|
|
1660
1764
|
class: "inline-flex items-center px-3 py-2 text-sm text-black duration-300 border border-gray-200 rounded-lg gap-x-2 whitespace-nowrap hover:bg-gray-100"
|
|
1661
|
-
}, i(
|
|
1662
|
-
|
|
1663
|
-
onClick:
|
|
1765
|
+
}, i(v.$t("cms.builder.cancel")), 1),
|
|
1766
|
+
r("button", {
|
|
1767
|
+
onClick: E,
|
|
1664
1768
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
1665
|
-
}, i(
|
|
1769
|
+
}, i(v.$t("cms.builder.create")), 1)
|
|
1666
1770
|
])
|
|
1667
1771
|
]),
|
|
1668
1772
|
default: q(() => {
|
|
1669
1773
|
var f;
|
|
1670
1774
|
return [
|
|
1671
|
-
a.value ? (
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1775
|
+
a.value ? (d(), s(w, { key: 1 }, [
|
|
1776
|
+
r("div", Nr, [
|
|
1777
|
+
r("div", Wr, [
|
|
1778
|
+
r("span", null, i((f = h.value.find((p) => p.id === a.value)) == null ? void 0 : f.text), 1)
|
|
1675
1779
|
]),
|
|
1676
|
-
|
|
1780
|
+
r("button", {
|
|
1677
1781
|
class: "py-2.5 px-3 mb-4 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300",
|
|
1678
1782
|
onClick: c[2] || (c[2] = (p) => a.value = null)
|
|
1679
|
-
}, i(
|
|
1783
|
+
}, i(v.$t("cms.builder.changeType")), 1)
|
|
1680
1784
|
]),
|
|
1681
|
-
m.value ? (
|
|
1785
|
+
m.value ? (d(), j(b(R), {
|
|
1682
1786
|
key: a.value,
|
|
1683
1787
|
schema: m.value,
|
|
1684
|
-
modelValue:
|
|
1685
|
-
"onUpdate:modelValue": c[3] || (c[3] = (p) =>
|
|
1788
|
+
modelValue: x.value,
|
|
1789
|
+
"onUpdate:modelValue": c[3] || (c[3] = (p) => x.value = p),
|
|
1686
1790
|
form: y.value,
|
|
1687
1791
|
"onUpdate:form": c[4] || (c[4] = (p) => y.value = p)
|
|
1688
|
-
}, null, 8, ["schema", "modelValue", "form"])) :
|
|
1689
|
-
], 64)) : (
|
|
1792
|
+
}, null, 8, ["schema", "modelValue", "form"])) : u("", !0)
|
|
1793
|
+
], 64)) : (d(), j(zr, {
|
|
1690
1794
|
key: 0,
|
|
1691
1795
|
modelValue: a.value,
|
|
1692
1796
|
"onUpdate:modelValue": c[1] || (c[1] = (p) => a.value = p),
|
|
@@ -1698,9 +1802,9 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1698
1802
|
}, 8, ["visible", "title"])
|
|
1699
1803
|
]));
|
|
1700
1804
|
}
|
|
1701
|
-
},
|
|
1805
|
+
}, Fr = { class: "absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity flex space-x-1 z-10" }, Tr = { class: "flex items-center justify-between w-full p-4 border-t border-gray-200 dark:border-gray-700" }, Rr = {
|
|
1702
1806
|
__name: "vs-form-reference-controls",
|
|
1703
|
-
props: /* @__PURE__ */
|
|
1807
|
+
props: /* @__PURE__ */ B({
|
|
1704
1808
|
title: {
|
|
1705
1809
|
type: String,
|
|
1706
1810
|
required: !0
|
|
@@ -1719,16 +1823,16 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1719
1823
|
}),
|
|
1720
1824
|
emits: ["update:modelValue", "update:parent"],
|
|
1721
1825
|
setup(e) {
|
|
1722
|
-
const { t: l } = Y(), t =
|
|
1723
|
-
var h,
|
|
1724
|
-
return ((h = t.sections.find((c) => c.id === o.value.reference_type)) == null ? void 0 : h.schema) || ((
|
|
1826
|
+
const { t: l } = Y(), t = G().appContext.config.globalProperties.$settings.cms, o = A(e, "modelValue"), n = A(e, "parent"), y = k(!1), a = k({}), x = k({}), m = M(() => {
|
|
1827
|
+
var h, v;
|
|
1828
|
+
return ((h = t.sections.find((c) => c.id === o.value.reference_type)) == null ? void 0 : h.schema) || ((v = D[o.value.reference_type]) == null ? void 0 : v.schema) || null;
|
|
1725
1829
|
});
|
|
1726
|
-
|
|
1830
|
+
V(y, (h) => {
|
|
1727
1831
|
h && (a.value = { ...o.value });
|
|
1728
1832
|
});
|
|
1729
|
-
const
|
|
1833
|
+
const E = async () => {
|
|
1730
1834
|
try {
|
|
1731
|
-
if (await
|
|
1835
|
+
if (await x.value.validate()) {
|
|
1732
1836
|
T({
|
|
1733
1837
|
type: "warning",
|
|
1734
1838
|
title: l("cms.common.actions.warning"),
|
|
@@ -1741,59 +1845,59 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1741
1845
|
console.log(h);
|
|
1742
1846
|
}
|
|
1743
1847
|
};
|
|
1744
|
-
return (h,
|
|
1745
|
-
|
|
1746
|
-
onClick:
|
|
1848
|
+
return (h, v) => (d(), s("div", Fr, [
|
|
1849
|
+
r("button", {
|
|
1850
|
+
onClick: v[0] || (v[0] = (c) => y.value = !y.value),
|
|
1747
1851
|
class: "p-1.5 bg-white dark:bg-gray-800 rounded shadow-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors border border-gray-200 dark:border-gray-700"
|
|
1748
1852
|
}, [
|
|
1749
|
-
|
|
1853
|
+
$(b(J), { class: "h-4 w-4 text-gray-400" })
|
|
1750
1854
|
]),
|
|
1751
|
-
|
|
1752
|
-
onClick:
|
|
1855
|
+
r("button", {
|
|
1856
|
+
onClick: v[1] || (v[1] = (c) => n.value = n.value.filter((f) => f.id !== o.value.id)),
|
|
1753
1857
|
class: "p-1.5 bg-white dark:bg-gray-800 rounded shadow-sm hover:bg-red-50 dark:hover:bg-red-900/20 transition-colors border border-gray-200 dark:border-gray-700"
|
|
1754
1858
|
}, [
|
|
1755
|
-
|
|
1859
|
+
$(b(K), { class: "h-4 w-4 text-red-500" })
|
|
1756
1860
|
]),
|
|
1757
|
-
|
|
1861
|
+
$(b(F), {
|
|
1758
1862
|
visible: y.value,
|
|
1759
|
-
"onUpdate:visible":
|
|
1760
|
-
onClose:
|
|
1863
|
+
"onUpdate:visible": v[5] || (v[5] = (c) => y.value = c),
|
|
1864
|
+
onClose: v[6] || (v[6] = (c) => y.value = !1),
|
|
1761
1865
|
title: e.title,
|
|
1762
1866
|
width: "50vw"
|
|
1763
1867
|
}, {
|
|
1764
1868
|
footer: q(() => [
|
|
1765
|
-
|
|
1766
|
-
|
|
1869
|
+
r("div", Tr, [
|
|
1870
|
+
r("button", {
|
|
1767
1871
|
class: "inline-flex items-center px-3 py-2 text-sm text-black duration-300 border border-gray-200 rounded-lg gap-x-2 whitespace-nowrap hover:bg-gray-100",
|
|
1768
|
-
onClick:
|
|
1872
|
+
onClick: v[4] || (v[4] = (c) => y.value = !1)
|
|
1769
1873
|
}, i(h.$t("cms.common.actions.cancel")), 1),
|
|
1770
|
-
|
|
1771
|
-
onClick:
|
|
1874
|
+
r("button", {
|
|
1875
|
+
onClick: E,
|
|
1772
1876
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
1773
1877
|
}, i(h.$t("cms.common.actions.save")), 1)
|
|
1774
1878
|
])
|
|
1775
1879
|
]),
|
|
1776
1880
|
default: q(() => [
|
|
1777
|
-
m.value ? (
|
|
1881
|
+
m.value ? (d(), j(b(R), {
|
|
1778
1882
|
key: 0,
|
|
1779
|
-
form:
|
|
1780
|
-
"onUpdate:form":
|
|
1883
|
+
form: x.value,
|
|
1884
|
+
"onUpdate:form": v[2] || (v[2] = (c) => x.value = c),
|
|
1781
1885
|
schema: m.value,
|
|
1782
1886
|
modelValue: a.value,
|
|
1783
|
-
"onUpdate:modelValue":
|
|
1887
|
+
"onUpdate:modelValue": v[3] || (v[3] = (c) => a.value = c),
|
|
1784
1888
|
class: "-mr-[10px] ml-[10px] mt-[10px]"
|
|
1785
|
-
}, null, 8, ["form", "schema", "modelValue"])) :
|
|
1889
|
+
}, null, 8, ["form", "schema", "modelValue"])) : u("", !0)
|
|
1786
1890
|
]),
|
|
1787
1891
|
_: 1
|
|
1788
1892
|
}, 8, ["visible", "title"])
|
|
1789
1893
|
]));
|
|
1790
1894
|
}
|
|
1791
|
-
},
|
|
1895
|
+
}, Yr = { class: "w-full" }, Ur = {
|
|
1792
1896
|
key: 0,
|
|
1793
1897
|
class: "relative"
|
|
1794
|
-
},
|
|
1898
|
+
}, Dr = { class: "group wireframe-block h-[280px] !p-4 border-2 border-dashed bg-white relative overflow-hidden transition-all rounded-lg shadow-sm border-gray-00 hover:border-gray-400 cursor-grab" }, Jr = ["src"], Kr = {
|
|
1795
1899
|
__name: "vs-form-reference-list",
|
|
1796
|
-
props: /* @__PURE__ */
|
|
1900
|
+
props: /* @__PURE__ */ B({
|
|
1797
1901
|
reference_type: {
|
|
1798
1902
|
type: String,
|
|
1799
1903
|
required: !0
|
|
@@ -1810,7 +1914,7 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1810
1914
|
}),
|
|
1811
1915
|
emits: ["update:modelValue"],
|
|
1812
1916
|
setup(e) {
|
|
1813
|
-
const l =
|
|
1917
|
+
const l = A(e, "modelValue"), t = M({
|
|
1814
1918
|
get() {
|
|
1815
1919
|
const o = l.value;
|
|
1816
1920
|
return o == null ? [] : Array.isArray(o) ? o : [];
|
|
@@ -1819,12 +1923,12 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1819
1923
|
l.value = Array.isArray(o) ? o : [];
|
|
1820
1924
|
}
|
|
1821
1925
|
});
|
|
1822
|
-
return
|
|
1926
|
+
return V(l, (o) => {
|
|
1823
1927
|
o != null && !Array.isArray(o) && (l.value = []);
|
|
1824
1928
|
}, { immediate: !0 }), (o, n) => {
|
|
1825
1929
|
var y;
|
|
1826
|
-
return
|
|
1827
|
-
((y = t.value) == null ? void 0 : y.length) > 0 ? (
|
|
1930
|
+
return d(), s("div", Yr, [
|
|
1931
|
+
((y = t.value) == null ? void 0 : y.length) > 0 ? (d(), j(b(P), {
|
|
1828
1932
|
key: 0,
|
|
1829
1933
|
modelValue: t.value,
|
|
1830
1934
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.value = a),
|
|
@@ -1832,39 +1936,39 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1832
1936
|
handle: ".drag-handle",
|
|
1833
1937
|
class: "grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4"
|
|
1834
1938
|
}, {
|
|
1835
|
-
item: q(({ element: a, index:
|
|
1836
|
-
a != null && a.reference_type ? (
|
|
1837
|
-
|
|
1838
|
-
(
|
|
1939
|
+
item: q(({ element: a, index: x }) => [
|
|
1940
|
+
a != null && a.reference_type ? (d(), s("div", Ur, [
|
|
1941
|
+
r("div", Dr, [
|
|
1942
|
+
(d(), s("div", {
|
|
1839
1943
|
key: a.id,
|
|
1840
1944
|
class: "absolute top-2 left-2 opacity-0 group-hover:opacity-100 border border-gray-200 dark:border-gray-700 transition-opacity cursor-move z-10 bg-white dark:bg-gray-800 rounded p-1 shadow-sm drag-handle"
|
|
1841
1945
|
}, [
|
|
1842
|
-
|
|
1946
|
+
$(b(O), { class: "h-4 w-4 text-gray-400" })
|
|
1843
1947
|
])),
|
|
1844
|
-
|
|
1948
|
+
$(Rr, {
|
|
1845
1949
|
title: o.$t("cms.builder." + (a == null ? void 0 : a.reference_type)),
|
|
1846
|
-
modelValue: t.value[
|
|
1847
|
-
"onUpdate:modelValue": (m) => t.value[
|
|
1950
|
+
modelValue: t.value[x],
|
|
1951
|
+
"onUpdate:modelValue": (m) => t.value[x] = m,
|
|
1848
1952
|
parent: t.value,
|
|
1849
1953
|
"onUpdate:parent": n[0] || (n[0] = (m) => t.value = m)
|
|
1850
1954
|
}, null, 8, ["title", "modelValue", "onUpdate:modelValue", "parent"]),
|
|
1851
|
-
|
|
1955
|
+
b(S)[a == null ? void 0 : a.reference_type] ? (d(), j(Z(b(S)[a == null ? void 0 : a.reference_type]), {
|
|
1852
1956
|
key: 0,
|
|
1853
|
-
index:
|
|
1957
|
+
index: x,
|
|
1854
1958
|
text: a == null ? void 0 : a.reference_type,
|
|
1855
1959
|
count: Array.isArray(a == null ? void 0 : a.data) ? a.data.length : 0
|
|
1856
|
-
}, null, 8, ["index", "text", "count"])) : (
|
|
1960
|
+
}, null, 8, ["index", "text", "count"])) : (d(), s("img", {
|
|
1857
1961
|
key: 1,
|
|
1858
|
-
src:
|
|
1962
|
+
src: b(U),
|
|
1859
1963
|
alt: "Team collaboration",
|
|
1860
1964
|
class: "w-full h-full object-cover"
|
|
1861
|
-
}, null, 8,
|
|
1965
|
+
}, null, 8, Jr))
|
|
1862
1966
|
])
|
|
1863
|
-
])) :
|
|
1967
|
+
])) : u("", !0)
|
|
1864
1968
|
]),
|
|
1865
1969
|
_: 1
|
|
1866
|
-
}, 8, ["modelValue"])) :
|
|
1867
|
-
|
|
1970
|
+
}, 8, ["modelValue"])) : u("", !0),
|
|
1971
|
+
$(Gr, {
|
|
1868
1972
|
class: "mt-4",
|
|
1869
1973
|
title: e.title,
|
|
1870
1974
|
modelValue: t.value,
|
|
@@ -1875,5 +1979,5 @@ const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1875
1979
|
}
|
|
1876
1980
|
};
|
|
1877
1981
|
export {
|
|
1878
|
-
|
|
1982
|
+
Kr as default
|
|
1879
1983
|
};
|