@opengis/cms 0.0.62 → 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/README.md +131 -131
- package/dist/{ArticlesPage-CFjE_cw_.js → ArticlesPage-BjYzvTWM.js} +3 -3
- package/dist/{CollectionsBreadcrumb-BCxeRikP.js → CollectionsBreadcrumb-HePNJb-d.js} +1 -1
- package/dist/CollectionsBreadcrumb.vue_vue_type_script_setup_true_lang-BJh-tjam.js +53 -0
- package/dist/{Dashboard-C1eGscNd.js → Dashboard-CXkg_pk8.js} +132 -132
- package/dist/{EditCollectionPage-C4uNmBJf.js → EditCollectionPage-CzFBw3wE.js} +3 -3
- package/dist/{MenuAddPage-D-p3gFgm.js → MenuAddPage-QTnwCoGh.js} +1 -1
- package/dist/{MenuBody-rN5j4YBu.js → MenuBody-Bi0ONVZf.js} +2 -2
- package/dist/{MenuItemPage-BoJw885D.js → MenuItemPage-B7Y9KFyb.js} +3 -3
- package/dist/{MenuList-DFEBS0NB.js → MenuList-BLIpeqSd.js} +53 -53
- package/dist/{MenuPage-BCZB_S8j.js → MenuPage-3W6jZ15H.js} +1 -1
- package/dist/{MenuWrapper-AZ_8s-zd.js → MenuWrapper-OrOv6sOb.js} +1 -1
- package/dist/{MonacoEditor-Db-3Jc3E.js → MonacoEditor-ByPT8pnv.js} +1 -1
- package/dist/MonacoEditor.vue_vue_type_script_setup_true_lang-C8cip9Ci.js +84 -0
- package/dist/{UniversalTable-CzqPG-tY.js → UniversalTable-GBd_pStq.js} +80 -80
- package/dist/{UniversalTablePagination-4gL47A7I.js → UniversalTablePagination-Dw2hc0nc.js} +46 -46
- package/dist/{contentForm-CcFbUeal.js → contentForm-CELj2rGf.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/{vs-builder-monaco-B3Jj0V31.js → vs-builder-monaco-Cw-f19gc.js} +1 -1
- package/dist/{vs-builder-preview-DL3RYMp7.js → vs-builder-preview-BLfKnxhd.js} +1 -1
- package/dist/{vs-form-reference-list-Dtv8fJJU.js → vs-form-reference-list-DukrxeuH.js} +811 -364
- package/input-types.json +9 -9
- package/locales/en.json +823 -815
- package/locales/uk.json +821 -813
- package/module/cms/cls/content.status.json +17 -17
- package/module/cms/cls/user_type.json +9 -9
- package/module/cms/form/admin.users.form.json +77 -77
- package/module/cms/select/cms.page_type.sql +1 -1
- package/module/cms/select/news_tag_id.sql +11 -11
- package/module/cms/table/admin.users.table.json +53 -53
- package/module/cms/table/collection.default.table.json +96 -96
- package/module/cms/table/single.default.table.json +116 -116
- package/package.json +69 -69
- package/plugin.js +43 -43
- package/server/app.js +35 -35
- package/server/config.js +4 -4
- package/server/functions/getContent.js +45 -45
- package/server/functions/getDraftKey.js +22 -22
- package/server/functions/getSearchData.js +31 -31
- package/server/functions/getTags.js +30 -30
- package/server/functions/getUser.js +27 -27
- package/server/functions/utils/mock.reply.js +55 -55
- package/server/index.js +22 -22
- package/server/migrations/fixes.sql +132 -132
- package/server/migrations/site.sql +596 -596
- package/server/plugins/adminHook.js +78 -78
- package/server/plugins/hook.js +59 -59
- package/server/plugins/vite.js +75 -75
- package/server/routes/category/controllers/cms.category.delete.js +21 -21
- package/server/routes/category/controllers/cms.category.get.js +17 -17
- package/server/routes/category/controllers/cms.category.list.js +16 -16
- package/server/routes/category/controllers/cms.category.post.js +21 -21
- package/server/routes/category/controllers/cms.category.put.js +23 -23
- package/server/routes/category/index.mjs +22 -22
- package/server/routes/cms/controllers/cmsStat.js +55 -55
- package/server/routes/cms/controllers/cmsSuggest.js +57 -57
- package/server/routes/cms/controllers/deleteContent.js +113 -113
- package/server/routes/cms/controllers/downloadMedia.js +84 -84
- package/server/routes/cms/controllers/getContent.js +113 -113
- package/server/routes/cms/controllers/getContentBySlug.js +93 -93
- package/server/routes/cms/controllers/getPermissions.js +15 -15
- package/server/routes/cms/controllers/insertContent.js +226 -226
- package/server/routes/cms/controllers/listMedia.js +155 -155
- package/server/routes/cms/controllers/properties.get.js +18 -18
- package/server/routes/cms/controllers/properties.post.js +99 -99
- package/server/routes/cms/controllers/searchContent.js +214 -214
- package/server/routes/cms/controllers/setPermissions.js +49 -49
- package/server/routes/cms/controllers/translate.js +89 -89
- package/server/routes/cms/controllers/updateContent.js +231 -231
- package/server/routes/cms/functions/getSettings.js +48 -48
- package/server/routes/cms/index.mjs +112 -112
- package/server/routes/cms/utils/additionalData.js +35 -35
- package/server/routes/cms/utils/getCollection.js +89 -89
- package/server/routes/cms/utils/getSingle.js +188 -188
- package/server/routes/cms/utils/inputTypes.js +5 -5
- package/server/routes/cms/utils/insertContentLocalization.js +104 -104
- package/server/routes/cms/utils/requestTranslation.js +135 -135
- package/server/routes/cms/utils/updateLocalization.js +42 -42
- package/server/routes/cmsSpace/controllers/deleteSpace.js +26 -26
- package/server/routes/cmsSpace/controllers/getSpaces.js +28 -28
- package/server/routes/cmsSpace/controllers/insertSpace.js +22 -22
- package/server/routes/cmsSpace/controllers/updateSpace.js +24 -24
- package/server/routes/cmsSpace/index.mjs +20 -20
- package/server/routes/contentType/controllers/addContentType.js +160 -160
- package/server/routes/contentType/controllers/contentTypeList.js +47 -47
- package/server/routes/contentType/controllers/delContentType.js +75 -75
- package/server/routes/contentType/controllers/editContentType.js +70 -70
- package/server/routes/contentType/controllers/getContentType.js +57 -57
- package/server/routes/contentType/index.mjs +35 -35
- package/server/routes/contentType/utils/updateContents.js +44 -44
- package/server/routes/contentType/utils/updateCustomContentTable.js +53 -53
- package/server/routes/feedback/controllers/email.list.js +24 -24
- package/server/routes/feedback/controllers/feedback.js +48 -48
- package/server/routes/feedback/controllers/feedback.list.js +37 -37
- package/server/routes/feedback/controllers/news.subscriptions.js +44 -44
- package/server/routes/feedback/index.mjs +71 -71
- package/server/routes/logs/controllers/export.user.logs.js +77 -77
- package/server/routes/logs/controllers/user.logs.js +44 -44
- package/server/routes/logs/index.mjs +9 -9
- package/server/routes/menu/controllers/addMenu.js +37 -37
- package/server/routes/menu/controllers/delMenu.js +31 -31
- package/server/routes/menu/controllers/editMenu.js +41 -41
- package/server/routes/menu/controllers/getMenu.js +24 -24
- package/server/routes/menu/functions/getMenu.js +50 -50
- package/server/routes/menu/index.mjs +13 -13
- package/server/routes/migration/controllers/collectionToCustom.js +137 -137
- package/server/routes/migration/index.mjs +8 -8
- package/server/routes/root.mjs +8 -8
- package/server/routes/tags/controllers/add.tags.js +24 -24
- package/server/routes/tags/controllers/del.tags.js +19 -19
- package/server/routes/tags/controllers/edit.tags.js +25 -25
- package/server/routes/tags/controllers/get.tags.js +15 -15
- package/server/routes/tags/index.mjs +14 -14
- package/server/templates/cls/cms.category_type.json +9 -9
- package/server/templates/cls/cms.content_review_status.json +9 -9
- package/server/templates/cls/cms.content_status.json +9 -9
- package/server/templates/cls/cms.content_type.json +9 -9
- package/server/templates/cls/cms.lang.json +9 -9
- package/server/templates/page/login.html +126 -126
- package/server/templates/select/core.user_mentioned.sql +1 -1
- package/utils.d.ts +52 -52
- package/utils.js +8 -8
- package/dist/CollectionsBreadcrumb.vue_vue_type_script_setup_true_lang-umRzB5mY.js +0 -53
- package/dist/MonacoEditor.vue_vue_type_script_setup_true_lang-B1DrxmQX.js +0 -84
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { Edit as
|
|
3
|
-
import { d as
|
|
4
|
-
import { VsDrawer as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { inputs as
|
|
7
|
-
import { useI18n as
|
|
8
|
-
const
|
|
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
|
+
import { Edit as J, Trash2 as K, GripVertical as O } from "lucide-vue-next";
|
|
3
|
+
import { d as P } from "./vuedraggable-CoAPPFYd.js";
|
|
4
|
+
import { VsDrawer as F, notify as T } from "@opengis/core";
|
|
5
|
+
import { _ as H } from "./vs-form-tiptap.vue_vue_type_script_setup_true_lang-DGgsqXwg.js";
|
|
6
|
+
import { inputs as L, VForm as R } from "@opengis/form";
|
|
7
|
+
import { useI18n as Y } from "vue-i18n";
|
|
8
|
+
const U = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAAGfklEQVR4Ae3d7W6baBSF0d7/7Q6IDxkzmrHEQU2DHZudWH1XflRHcXNqVnka4tL01+qNAIGwwK/wfusJEFjPyexyuUzTNAxD3/dd1/3z/1vXdX3fD8MwTdPlcoFNoFmBlzJblmWapr7vb10d/9j3/TRNy7I0a+3AmxV4MrPr9TqO43FXnz06juP1em1W3IE3KPBMZvM8b1eGn7V0/P6u6+Z5bpDbIbcp8OXMnv4k9jG8cRzbRHfUrQl8LbNhGD7W8sp7hmFoTdzxNijwhcxOb+zWp9IaPO1aO+RHMzvxWvHjZz9Xj62ddq0d70OZzfP8sY1z3+MVkdbOvKaO935m1+v1xdcVHwmy6zqv8jd15jV1sPczi14u7gt06djUmdfUwd7JbFmWfQnp2T0iTZ187RzsncymaUqntd8/TVM79I60HYE7mT14v+I+lVfmvu+P6W93UQ7eCLyxwMd7d48yu1wurzTz3Mce3Mu/LMs4jt3/b88t91EE0gK383Mcx/1XQEeZffMV4+34D64bb42lmewn8LpA13X7l/SOMgvd9nF8DAc3hXzzFezx8/QogWOB/VdAR5n9yGm9f3K/fZ32DX99dwznUQKPC3Rdt53AR5n9yGm9f3Lbs7wNjx+hn0ngHQS2E/gos596otuT+234qefj1yXwnMB2AsvsOUAfReC+wEOZuWi8D+lnEPhc4KHM3u0lkM8PxyME3lHgocze7QX9d4T0nAh8LvBQZu/219M/8tn1c0OPEDgS2P/V1NFLIO92s9U0TT/y5eKRpccI/Emg67r9/UxHma3r+s2fQPZ/AGyfcLfhlW8O+ScK7yOQEvjtm5Heyeybrxv3fwBsde2HZVnmeZ68EXhjgXme9/cNr+u976Hvn3XuIzcTeE7gzmezdV19k4LnZH0UgU3gfma+5c6GZSDwnMD9zNZ19Q3knsP1UQRuAg9llr503P8DOL8xBP4+gUczW9c1dFPIwb/j/Pu4HVGbAl/ILFGaxto87Vo76q9ldu7Vo2vF1s62Zo/3y5ndXhF58aYn/41gsydcmwf+TGbrur5y39Nv96G06e6omxJ4MrObkf/ivalzxcE+LfBSZtuverlcpmkahqHv++16suu6vu+HYZim6eCbnG5LDAT+VoFzMvtbdRwXgVMEZHYKoyUEjgRkdqTjMQKnCMjsFEZLCBwJyOxIx2METhGQ2SmMlhA4EpDZkY7HCJwiILNTGC0hcCTwX2a3/1/QjwQInCuwlSezc2FtI1ACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhASkFkI1loCJSCzsjARCAnILARrLYESkFlZmAiEBGQWgrWWQAnIrCxMBEICMgvBWkugBGRWFiYCIQGZhWCtJVACMisLE4GQgMxCsNYSKAGZlYWJQEhAZiFYawmUgMzKwkQgJCCzEKy1BEpAZmVhIhAS2DL7F8r/OP7dtZNpAAAAAElFTkSuQmCC", D = {
|
|
9
9
|
faq: {
|
|
10
10
|
schema: {
|
|
11
11
|
title: {
|
|
@@ -781,87 +781,10 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
text: "reference.faq",
|
|
787
|
-
id: "faq"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
text: "reference.banner",
|
|
791
|
-
id: "banner"
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
text: "reference.slider",
|
|
795
|
-
id: "slider"
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
text: "reference.photoGrid",
|
|
799
|
-
id: "photoGrid"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
text: "reference.video",
|
|
803
|
-
id: "video"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
text: "reference.about",
|
|
807
|
-
id: "about"
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
text: "reference.cards",
|
|
811
|
-
id: "cards"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
text: "reference.usefulLinks",
|
|
815
|
-
id: "usefulLinks"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
text: "reference.team",
|
|
819
|
-
id: "team"
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
text: "reference.body",
|
|
823
|
-
id: "body"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
text: "reference.news",
|
|
827
|
-
id: "news"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
text: "reference.form",
|
|
831
|
-
id: "form"
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
text: "reference.tabs",
|
|
835
|
-
id: "tabs"
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
text: "reference.vertical_tabs",
|
|
839
|
-
id: "vertical_tabs"
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
text: "reference.documents",
|
|
843
|
-
id: "documents"
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
text: "reference.infoLine",
|
|
847
|
-
id: "infoLine"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
text: "reference.interested",
|
|
851
|
-
id: "interested"
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
text: "reference.contact",
|
|
855
|
-
id: "contact"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
text: "reference.iframe",
|
|
859
|
-
id: "iframe"
|
|
860
|
-
}
|
|
861
|
-
], O = { class: "h-full w-full flex flex-col" }, H = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, P = { class: "text-xs font-medium text-gray-600" }, X = {
|
|
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 = {
|
|
862
785
|
key: 0,
|
|
863
786
|
class: "text-xs text-gray-500"
|
|
864
|
-
},
|
|
787
|
+
}, Q = {
|
|
865
788
|
__name: "cards-skeleton",
|
|
866
789
|
props: {
|
|
867
790
|
text: {
|
|
@@ -874,18 +797,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
874
797
|
}
|
|
875
798
|
},
|
|
876
799
|
setup(e) {
|
|
877
|
-
return (
|
|
878
|
-
t[0] || (t[0] =
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
e.count && e.count > 0 ? (
|
|
800
|
+
return (l, t) => (d(), s("div", X, [
|
|
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
|
+
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)
|
|
882
805
|
])
|
|
883
806
|
]));
|
|
884
807
|
}
|
|
885
|
-
},
|
|
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 = {
|
|
886
809
|
key: 0,
|
|
887
810
|
class: "text-xs text-gray-500"
|
|
888
|
-
},
|
|
811
|
+
}, ae = {
|
|
889
812
|
__name: "faq-skeleton",
|
|
890
813
|
props: {
|
|
891
814
|
text: {
|
|
@@ -898,18 +821,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
898
821
|
}
|
|
899
822
|
},
|
|
900
823
|
setup(e) {
|
|
901
|
-
return (
|
|
902
|
-
t[0] || (t[0] =
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
e.count && e.count > 0 ? (
|
|
824
|
+
return (l, t) => (d(), s("div", de, [
|
|
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
|
+
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)
|
|
906
829
|
])
|
|
907
830
|
]));
|
|
908
831
|
}
|
|
909
|
-
},
|
|
832
|
+
}, oe = { class: "h-full w-full flex flex-col" }, ne = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, ce = { class: "text-xs font-medium text-gray-600" }, ue = {
|
|
910
833
|
key: 0,
|
|
911
834
|
class: "text-xs text-gray-500"
|
|
912
|
-
},
|
|
835
|
+
}, z = {
|
|
913
836
|
__name: "banner-skeleton",
|
|
914
837
|
props: {
|
|
915
838
|
text: {
|
|
@@ -922,18 +845,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
922
845
|
}
|
|
923
846
|
},
|
|
924
847
|
setup(e) {
|
|
925
|
-
return (
|
|
926
|
-
t[0] || (t[0] =
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
e.count && e.count > 0 ? (
|
|
848
|
+
return (l, t) => (d(), s("div", oe, [
|
|
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
|
+
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)
|
|
930
853
|
])
|
|
931
854
|
]));
|
|
932
855
|
}
|
|
933
|
-
},
|
|
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 = {
|
|
934
857
|
key: 0,
|
|
935
858
|
class: "text-xs text-gray-500"
|
|
936
|
-
},
|
|
859
|
+
}, be = {
|
|
937
860
|
__name: "form-skeleton",
|
|
938
861
|
props: {
|
|
939
862
|
text: {
|
|
@@ -946,18 +869,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
946
869
|
}
|
|
947
870
|
},
|
|
948
871
|
setup(e) {
|
|
949
|
-
return (
|
|
950
|
-
t[0] || (t[0] =
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
e.count && e.count > 0 ? (
|
|
872
|
+
return (l, t) => (d(), s("div", ve, [
|
|
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
|
+
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)
|
|
954
877
|
])
|
|
955
878
|
]));
|
|
956
879
|
}
|
|
957
|
-
},
|
|
880
|
+
}, he = { class: "h-full w-full flex flex-col" }, fe = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, me = { class: "text-xs font-medium text-gray-600" }, pe = {
|
|
958
881
|
key: 0,
|
|
959
882
|
class: "text-xs text-gray-500"
|
|
960
|
-
},
|
|
883
|
+
}, I = {
|
|
961
884
|
__name: "news-skeleton",
|
|
962
885
|
props: {
|
|
963
886
|
text: {
|
|
@@ -970,18 +893,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
970
893
|
}
|
|
971
894
|
},
|
|
972
895
|
setup(e) {
|
|
973
|
-
return (
|
|
974
|
-
t[0] || (t[0] =
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
e.count && e.count > 0 ? (
|
|
896
|
+
return (l, t) => (d(), s("div", he, [
|
|
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
|
+
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)
|
|
978
901
|
])
|
|
979
902
|
]));
|
|
980
903
|
}
|
|
981
|
-
},
|
|
904
|
+
}, we = { class: "h-full w-full flex flex-col" }, ke = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, $e = { class: "text-xs font-medium text-gray-600" }, _e = {
|
|
982
905
|
key: 0,
|
|
983
906
|
class: "text-xs text-gray-500"
|
|
984
|
-
},
|
|
907
|
+
}, Ce = {
|
|
985
908
|
__name: "team-skeleton",
|
|
986
909
|
props: {
|
|
987
910
|
text: {
|
|
@@ -994,18 +917,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
994
917
|
}
|
|
995
918
|
},
|
|
996
919
|
setup(e) {
|
|
997
|
-
return (
|
|
998
|
-
t[0] || (t[0] =
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
e.count && e.count > 0 ? (
|
|
920
|
+
return (l, t) => (d(), s("div", we, [
|
|
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
|
+
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)
|
|
1002
925
|
])
|
|
1003
926
|
]));
|
|
1004
927
|
}
|
|
1005
|
-
},
|
|
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 = {
|
|
1006
929
|
key: 0,
|
|
1007
930
|
class: "text-xs text-gray-500"
|
|
1008
|
-
},
|
|
931
|
+
}, N = {
|
|
1009
932
|
__name: "usefulLinks-skeleton",
|
|
1010
933
|
props: {
|
|
1011
934
|
text: {
|
|
@@ -1018,18 +941,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1018
941
|
}
|
|
1019
942
|
},
|
|
1020
943
|
setup(e) {
|
|
1021
|
-
return (
|
|
1022
|
-
t[0] || (t[0] =
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
e.count && e.count > 0 ? (
|
|
944
|
+
return (l, t) => (d(), s("div", je, [
|
|
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
|
+
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)
|
|
1026
949
|
])
|
|
1027
950
|
]));
|
|
1028
951
|
}
|
|
1029
|
-
},
|
|
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 = {
|
|
1030
953
|
key: 0,
|
|
1031
954
|
class: "text-xs text-gray-500"
|
|
1032
|
-
},
|
|
955
|
+
}, Le = {
|
|
1033
956
|
__name: "video-skeleton",
|
|
1034
957
|
props: {
|
|
1035
958
|
text: {
|
|
@@ -1042,18 +965,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1042
965
|
}
|
|
1043
966
|
},
|
|
1044
967
|
setup(e) {
|
|
1045
|
-
return (
|
|
1046
|
-
t[0] || (t[0] =
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
e.count && e.count > 0 ? (
|
|
968
|
+
return (l, t) => (d(), s("div", Se, [
|
|
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
|
+
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)
|
|
1050
973
|
])
|
|
1051
974
|
]));
|
|
1052
975
|
}
|
|
1053
|
-
},
|
|
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 = {
|
|
1054
977
|
key: 0,
|
|
1055
978
|
class: "text-xs text-gray-500"
|
|
1056
|
-
},
|
|
979
|
+
}, We = {
|
|
1057
980
|
__name: "about-skeleton",
|
|
1058
981
|
props: {
|
|
1059
982
|
text: {
|
|
@@ -1066,18 +989,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1066
989
|
}
|
|
1067
990
|
},
|
|
1068
991
|
setup(e) {
|
|
1069
|
-
return (
|
|
1070
|
-
t[0] || (t[0] =
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
e.count && e.count > 0 ? (
|
|
992
|
+
return (l, t) => (d(), s("div", Qe, [
|
|
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
|
+
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)
|
|
1074
997
|
])
|
|
1075
998
|
]));
|
|
1076
999
|
}
|
|
1077
|
-
},
|
|
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 = {
|
|
1078
1001
|
key: 0,
|
|
1079
1002
|
class: "text-xs text-gray-500"
|
|
1080
|
-
},
|
|
1003
|
+
}, Re = {
|
|
1081
1004
|
__name: "slider-skeleton",
|
|
1082
1005
|
props: {
|
|
1083
1006
|
text: {
|
|
@@ -1090,18 +1013,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1090
1013
|
}
|
|
1091
1014
|
},
|
|
1092
1015
|
setup(e) {
|
|
1093
|
-
return (
|
|
1094
|
-
t[0] || (t[0] =
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
e.count && e.count > 0 ? (
|
|
1016
|
+
return (l, t) => (d(), s("div", Ze, [
|
|
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
|
+
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)
|
|
1098
1021
|
])
|
|
1099
1022
|
]));
|
|
1100
1023
|
}
|
|
1101
|
-
},
|
|
1024
|
+
}, Ye = { class: "h-full flex flex-col" }, Ue = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, De = { class: "text-xs font-medium text-gray-600" }, Je = {
|
|
1102
1025
|
key: 0,
|
|
1103
1026
|
class: "text-xs text-gray-500"
|
|
1104
|
-
},
|
|
1027
|
+
}, Ke = {
|
|
1105
1028
|
__name: "infoLine-skeleton",
|
|
1106
1029
|
props: {
|
|
1107
1030
|
text: {
|
|
@@ -1114,18 +1037,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1114
1037
|
}
|
|
1115
1038
|
},
|
|
1116
1039
|
setup(e) {
|
|
1117
|
-
return (
|
|
1118
|
-
t[0] || (t[0] =
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
e.count && e.count > 0 ? (
|
|
1040
|
+
return (l, t) => (d(), s("div", Ye, [
|
|
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
|
+
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)
|
|
1122
1045
|
])
|
|
1123
1046
|
]));
|
|
1124
1047
|
}
|
|
1125
|
-
},
|
|
1048
|
+
}, Oe = { class: "h-full flex flex-col" }, Pe = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, He = { class: "text-xs font-medium text-gray-600" }, Xe = {
|
|
1126
1049
|
key: 0,
|
|
1127
1050
|
class: "text-xs text-gray-500"
|
|
1128
|
-
},
|
|
1051
|
+
}, et = {
|
|
1129
1052
|
__name: "tabs-skeleton",
|
|
1130
1053
|
props: {
|
|
1131
1054
|
text: {
|
|
@@ -1138,18 +1061,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1138
1061
|
}
|
|
1139
1062
|
},
|
|
1140
1063
|
setup(e) {
|
|
1141
|
-
return (
|
|
1142
|
-
t[0] || (t[0] =
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
e.count && e.count > 0 ? (
|
|
1064
|
+
return (l, t) => (d(), s("div", Oe, [
|
|
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
|
+
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)
|
|
1146
1069
|
])
|
|
1147
1070
|
]));
|
|
1148
1071
|
}
|
|
1149
|
-
},
|
|
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 = {
|
|
1150
1073
|
key: 0,
|
|
1151
1074
|
class: "text-xs text-gray-500"
|
|
1152
|
-
},
|
|
1075
|
+
}, W = {
|
|
1153
1076
|
__name: "documents-skeleton",
|
|
1154
1077
|
props: {
|
|
1155
1078
|
text: {
|
|
@@ -1162,18 +1085,18 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1162
1085
|
}
|
|
1163
1086
|
},
|
|
1164
1087
|
setup(e) {
|
|
1165
|
-
return (
|
|
1166
|
-
t[0] || (t[0] =
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
e.count && e.count > 0 ? (
|
|
1088
|
+
return (l, t) => (d(), s("div", tt, [
|
|
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
|
+
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)
|
|
1170
1093
|
])
|
|
1171
1094
|
]));
|
|
1172
1095
|
}
|
|
1173
|
-
},
|
|
1096
|
+
}, lt = { class: "h-full flex flex-col" }, it = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, at = { class: "text-xs font-medium text-gray-600" }, ot = {
|
|
1174
1097
|
key: 0,
|
|
1175
1098
|
class: "text-xs text-gray-500"
|
|
1176
|
-
},
|
|
1099
|
+
}, nt = {
|
|
1177
1100
|
__name: "body-skeleton",
|
|
1178
1101
|
props: {
|
|
1179
1102
|
text: {
|
|
@@ -1186,70 +1109,595 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1186
1109
|
}
|
|
1187
1110
|
},
|
|
1188
1111
|
setup(e) {
|
|
1189
|
-
return (
|
|
1190
|
-
t[0] || (t[0] =
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
e.count && e.count > 0 ? (
|
|
1112
|
+
return (l, t) => (d(), s("div", lt, [
|
|
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
|
+
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)
|
|
1194
1117
|
])
|
|
1195
1118
|
]));
|
|
1196
1119
|
}
|
|
1197
|
-
},
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1120
|
+
}, ct = { class: "h-full w-full flex flex-col" }, ut = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, vt = { class: "text-xs font-medium text-gray-600" }, gt = {
|
|
1121
|
+
key: 0,
|
|
1122
|
+
class: "text-xs text-gray-500"
|
|
1123
|
+
}, yt = {
|
|
1124
|
+
__name: "image-slider-skeleton",
|
|
1125
|
+
props: {
|
|
1126
|
+
text: {
|
|
1127
|
+
type: String,
|
|
1128
|
+
required: !0
|
|
1129
|
+
},
|
|
1130
|
+
count: {
|
|
1131
|
+
type: Number,
|
|
1132
|
+
required: !0
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
setup(e) {
|
|
1136
|
+
return (l, t) => (d(), s("div", ct, [
|
|
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
|
+
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
|
+
])
|
|
1142
|
+
]));
|
|
1143
|
+
}
|
|
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
|
+
key: 0,
|
|
1146
|
+
class: "text-xs text-gray-500"
|
|
1147
|
+
}, mt = {
|
|
1148
|
+
__name: "video-slider-skeleton",
|
|
1149
|
+
props: {
|
|
1150
|
+
text: {
|
|
1151
|
+
type: String,
|
|
1152
|
+
required: !0
|
|
1153
|
+
},
|
|
1154
|
+
count: {
|
|
1155
|
+
type: Number,
|
|
1156
|
+
required: !0
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
setup(e) {
|
|
1160
|
+
return (l, t) => (d(), s("div", xt, [
|
|
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
|
+
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
|
+
])
|
|
1166
|
+
]));
|
|
1167
|
+
}
|
|
1168
|
+
}, pt = { class: "h-full flex flex-col relative" }, wt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, kt = { class: "text-xs font-medium text-gray-600" }, $t = {
|
|
1169
|
+
key: 0,
|
|
1170
|
+
class: "text-xs text-gray-500"
|
|
1171
|
+
}, _t = {
|
|
1172
|
+
__name: "detailed-banner-skeleton",
|
|
1173
|
+
props: {
|
|
1174
|
+
text: {
|
|
1175
|
+
type: String,
|
|
1176
|
+
required: !0
|
|
1177
|
+
},
|
|
1178
|
+
count: {
|
|
1179
|
+
type: Number,
|
|
1180
|
+
required: !0
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
setup(e) {
|
|
1184
|
+
return (l, t) => (d(), s("div", pt, [
|
|
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
|
+
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
|
+
])
|
|
1190
|
+
]));
|
|
1191
|
+
}
|
|
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
|
+
key: 0,
|
|
1194
|
+
class: "text-xs text-gray-500"
|
|
1195
|
+
}, Mt = {
|
|
1196
|
+
__name: "cards-reverse-skeleton",
|
|
1197
|
+
props: {
|
|
1198
|
+
text: {
|
|
1199
|
+
type: String,
|
|
1200
|
+
required: !0
|
|
1201
|
+
},
|
|
1202
|
+
count: {
|
|
1203
|
+
type: Number,
|
|
1204
|
+
required: !0
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
setup(e) {
|
|
1208
|
+
return (l, t) => (d(), s("div", Ct, [
|
|
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
|
+
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
|
+
])
|
|
1214
|
+
]));
|
|
1215
|
+
}
|
|
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
|
+
key: 0,
|
|
1218
|
+
class: "text-xs text-gray-500"
|
|
1219
|
+
}, Qt = 5, zt = {
|
|
1220
|
+
__name: "table-skeleton",
|
|
1221
|
+
props: {
|
|
1222
|
+
text: {
|
|
1223
|
+
type: String,
|
|
1224
|
+
required: !0
|
|
1225
|
+
},
|
|
1226
|
+
count: {
|
|
1227
|
+
type: Number,
|
|
1228
|
+
required: !0
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
setup(e) {
|
|
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
|
+
], -1)),
|
|
1236
|
+
r("div", Bt, [
|
|
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
|
+
(d(), s(w, null, _(Qt, (o, n) => r("div", {
|
|
1239
|
+
key: n,
|
|
1240
|
+
class: "flex border-b border-gray-300 last:border-b-0"
|
|
1241
|
+
}, [
|
|
1242
|
+
r("div", {
|
|
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
|
+
}, [...t[0] || (t[0] = [
|
|
1245
|
+
r("div", { class: "h-2.5 bg-gray-300 rounded w-full max-w-[12rem]" }, null, -1)
|
|
1246
|
+
])], 2),
|
|
1247
|
+
r("div", {
|
|
1248
|
+
class: C(["flex-1 px-4 py-2", n % 2 === 0 ? "bg-gray-200" : "bg-gray-100"])
|
|
1249
|
+
}, [...t[1] || (t[1] = [
|
|
1250
|
+
r("div", { class: "h-2.5 bg-gray-300 rounded w-16" }, null, -1)
|
|
1251
|
+
])], 2)
|
|
1252
|
+
])), 64))
|
|
1253
|
+
]),
|
|
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
|
+
])
|
|
1258
|
+
]));
|
|
1259
|
+
}
|
|
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
|
+
key: 0,
|
|
1262
|
+
class: "text-xs text-gray-500"
|
|
1263
|
+
}, Gt = {
|
|
1264
|
+
__name: "file-download-skeleton",
|
|
1265
|
+
props: {
|
|
1266
|
+
text: {
|
|
1267
|
+
type: String,
|
|
1268
|
+
required: !0
|
|
1269
|
+
},
|
|
1270
|
+
count: {
|
|
1271
|
+
type: Number,
|
|
1272
|
+
required: !0
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
setup(e) {
|
|
1276
|
+
return (l, t) => (d(), s("div", It, [
|
|
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
|
+
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
|
+
])
|
|
1282
|
+
]));
|
|
1283
|
+
}
|
|
1284
|
+
}, Ft = { class: "h-full flex flex-col text-left" }, Tt = { class: "flex justify-between items-center mt-2 pt-2 border-t border-gray-300" }, Rt = { class: "text-xs font-medium text-gray-600" }, Yt = {
|
|
1285
|
+
key: 0,
|
|
1286
|
+
class: "text-xs text-gray-500"
|
|
1287
|
+
}, Ut = {
|
|
1288
|
+
__name: "body-content-skeleton",
|
|
1219
1289
|
props: {
|
|
1290
|
+
text: {
|
|
1291
|
+
type: String,
|
|
1292
|
+
default: ""
|
|
1293
|
+
},
|
|
1294
|
+
count: {
|
|
1295
|
+
type: Number,
|
|
1296
|
+
default: 0
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
setup(e) {
|
|
1300
|
+
return (l, t) => (d(), s("div", Ft, [
|
|
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
|
+
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
|
+
])
|
|
1306
|
+
]));
|
|
1307
|
+
}
|
|
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
|
+
key: 0,
|
|
1310
|
+
class: "text-xs text-gray-500"
|
|
1311
|
+
}, er = {
|
|
1312
|
+
__name: "column-list-skeleton",
|
|
1313
|
+
props: {
|
|
1314
|
+
text: {
|
|
1315
|
+
type: String,
|
|
1316
|
+
required: !0
|
|
1317
|
+
},
|
|
1318
|
+
count: {
|
|
1319
|
+
type: Number,
|
|
1320
|
+
required: !0
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
setup(e) {
|
|
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
|
+
key: "l-" + o,
|
|
1330
|
+
class: "flex items-center gap-2"
|
|
1331
|
+
}, [
|
|
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
|
+
class: C(["h-3 bg-gray-300 rounded flex-1", o === 1 ? "max-w-full" : "w-28"])
|
|
1335
|
+
}, null, 2)
|
|
1336
|
+
])), 64))
|
|
1337
|
+
]),
|
|
1338
|
+
r("div", Ot, [
|
|
1339
|
+
(d(), s(w, null, _(4, (o) => r("div", {
|
|
1340
|
+
key: "r-" + o,
|
|
1341
|
+
class: "flex items-center gap-2"
|
|
1342
|
+
}, [
|
|
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
|
+
class: C(["h-3 bg-gray-300 rounded flex-1", o === 1 ? "max-w-full" : "w-28"])
|
|
1346
|
+
}, null, 2)
|
|
1347
|
+
])), 64))
|
|
1348
|
+
])
|
|
1349
|
+
]),
|
|
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
|
+
])
|
|
1354
|
+
]));
|
|
1355
|
+
}
|
|
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
|
+
key: 0,
|
|
1358
|
+
class: "text-xs text-gray-500"
|
|
1359
|
+
}, ar = {
|
|
1360
|
+
__name: "list-skeleton",
|
|
1361
|
+
props: {
|
|
1362
|
+
text: {
|
|
1363
|
+
type: String,
|
|
1364
|
+
required: !0
|
|
1365
|
+
},
|
|
1366
|
+
count: {
|
|
1367
|
+
type: Number,
|
|
1368
|
+
required: !0
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
setup(e) {
|
|
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
|
+
key: o,
|
|
1378
|
+
class: "flex items-center gap-2"
|
|
1379
|
+
}, [
|
|
1380
|
+
t[0] || (t[0] = r("svg", {
|
|
1381
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1382
|
+
width: "20",
|
|
1383
|
+
height: "20",
|
|
1384
|
+
viewBox: "0 0 24 24",
|
|
1385
|
+
fill: "none",
|
|
1386
|
+
stroke: "currentColor",
|
|
1387
|
+
"stroke-width": "2",
|
|
1388
|
+
"stroke-linecap": "round",
|
|
1389
|
+
"stroke-linejoin": "round",
|
|
1390
|
+
class: "shrink-0 text-gray-200 w-3 h-3",
|
|
1391
|
+
"aria-hidden": "true"
|
|
1392
|
+
}, [
|
|
1393
|
+
r("circle", {
|
|
1394
|
+
cx: "12",
|
|
1395
|
+
cy: "12",
|
|
1396
|
+
r: "10"
|
|
1397
|
+
}),
|
|
1398
|
+
r("path", { d: "m9 12 2 2 4-4" })
|
|
1399
|
+
], -1)),
|
|
1400
|
+
r("div", {
|
|
1401
|
+
class: C(["h-2.5 bg-gray-200 rounded flex-1", o === 1 ? "max-w-[12rem]" : o === 3 ? "w-28" : "w-20"])
|
|
1402
|
+
}, null, 2)
|
|
1403
|
+
])), 64))
|
|
1404
|
+
])
|
|
1405
|
+
]),
|
|
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
|
+
])
|
|
1410
|
+
]));
|
|
1411
|
+
}
|
|
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
|
+
key: 0,
|
|
1414
|
+
class: "text-xs text-gray-500"
|
|
1415
|
+
}, yr = {
|
|
1416
|
+
__name: "list-link-skeleton",
|
|
1417
|
+
props: {
|
|
1418
|
+
text: {
|
|
1419
|
+
type: String,
|
|
1420
|
+
required: !0
|
|
1421
|
+
},
|
|
1422
|
+
count: {
|
|
1423
|
+
type: Number,
|
|
1424
|
+
required: !0
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
setup(e) {
|
|
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", {
|
|
1518
|
+
key: o,
|
|
1519
|
+
class: "flex items-center gap-2"
|
|
1520
|
+
}, [
|
|
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", {
|
|
1539
|
+
class: C(["h-2.5 bg-gray-300 rounded flex-1", o === 1 ? "max-w-[12rem]" : o === 3 ? "w-28" : "w-20"])
|
|
1540
|
+
}, null, 2)
|
|
1541
|
+
])), 64))
|
|
1542
|
+
])
|
|
1543
|
+
]),
|
|
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)
|
|
1547
|
+
])
|
|
1548
|
+
]));
|
|
1549
|
+
}
|
|
1550
|
+
}, S = {
|
|
1551
|
+
faq: ae,
|
|
1552
|
+
banner: z,
|
|
1553
|
+
slider: Re,
|
|
1554
|
+
video: Le,
|
|
1555
|
+
about: We,
|
|
1556
|
+
cards: Q,
|
|
1557
|
+
usefulLinks: N,
|
|
1558
|
+
team: Ce,
|
|
1559
|
+
news: I,
|
|
1560
|
+
form: be,
|
|
1561
|
+
tabs: et,
|
|
1562
|
+
vertical_tabs: I,
|
|
1563
|
+
documents: W,
|
|
1564
|
+
infoLine: Ke,
|
|
1565
|
+
body: nt,
|
|
1566
|
+
photoGrid: Q,
|
|
1567
|
+
interested: N,
|
|
1568
|
+
contact: W,
|
|
1569
|
+
iframe: z,
|
|
1570
|
+
imageSlider: yt,
|
|
1571
|
+
videoSlider: mt,
|
|
1572
|
+
detailedBanner: _t,
|
|
1573
|
+
cardsReverse: Mt,
|
|
1574
|
+
table: zt,
|
|
1575
|
+
fileDownload: Gt,
|
|
1576
|
+
bodyContent: Ut,
|
|
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 = {
|
|
1584
|
+
__name: "vs-form-reference-choce",
|
|
1585
|
+
props: /* @__PURE__ */ B({
|
|
1586
|
+
options: {
|
|
1587
|
+
type: Array,
|
|
1588
|
+
required: !0
|
|
1589
|
+
}
|
|
1590
|
+
}, {
|
|
1220
1591
|
modelValue: {
|
|
1221
1592
|
type: String,
|
|
1222
1593
|
required: !0
|
|
1223
1594
|
},
|
|
1224
1595
|
modelModifiers: {}
|
|
1225
|
-
},
|
|
1596
|
+
}),
|
|
1226
1597
|
emits: ["update:modelValue"],
|
|
1227
1598
|
setup(e) {
|
|
1228
|
-
const
|
|
1229
|
-
return (t,
|
|
1230
|
-
(
|
|
1231
|
-
key:
|
|
1232
|
-
onClick: (
|
|
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", {
|
|
1602
|
+
key: n.id,
|
|
1603
|
+
onClick: (y) => l.value = n.id,
|
|
1233
1604
|
class: "relative"
|
|
1234
1605
|
}, [
|
|
1235
|
-
|
|
1236
|
-
b(
|
|
1606
|
+
r("div", Lr, [
|
|
1607
|
+
b(S)[n.id] ? (d(), j(Z(b(S)[n.id]), {
|
|
1237
1608
|
key: 0,
|
|
1238
|
-
text:
|
|
1239
|
-
count: (
|
|
1240
|
-
}, null, 8, ["text", "count"])) : (
|
|
1609
|
+
text: n == null ? void 0 : n.text,
|
|
1610
|
+
count: (n == null ? void 0 : n.data) || 0
|
|
1611
|
+
}, null, 8, ["text", "count"])) : (d(), s("img", {
|
|
1241
1612
|
key: 1,
|
|
1242
|
-
src: b(
|
|
1613
|
+
src: b(U),
|
|
1243
1614
|
alt: "Team collaboration",
|
|
1244
1615
|
class: "w-full h-full object-cover"
|
|
1245
|
-
}, null, 8,
|
|
1616
|
+
}, null, 8, Qr))
|
|
1246
1617
|
])
|
|
1247
|
-
], 8,
|
|
1618
|
+
], 8, Vr))), 128))
|
|
1248
1619
|
]));
|
|
1249
1620
|
}
|
|
1250
|
-
},
|
|
1621
|
+
}, Ir = [
|
|
1622
|
+
{
|
|
1623
|
+
text: "reference.faq",
|
|
1624
|
+
id: "faq"
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
text: "reference.banner",
|
|
1628
|
+
id: "banner"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
text: "reference.slider",
|
|
1632
|
+
id: "slider"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
text: "reference.photoGrid",
|
|
1636
|
+
id: "photoGrid"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
text: "reference.video",
|
|
1640
|
+
id: "video"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
text: "reference.about",
|
|
1644
|
+
id: "about"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
text: "reference.cards",
|
|
1648
|
+
id: "cards"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
text: "reference.usefulLinks",
|
|
1652
|
+
id: "usefulLinks"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
text: "reference.team",
|
|
1656
|
+
id: "team"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
text: "reference.body",
|
|
1660
|
+
id: "body"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
text: "reference.news",
|
|
1664
|
+
id: "news"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
text: "reference.form",
|
|
1668
|
+
id: "form"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
text: "reference.tabs",
|
|
1672
|
+
id: "tabs"
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
text: "reference.vertical_tabs",
|
|
1676
|
+
id: "vertical_tabs"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
text: "reference.documents",
|
|
1680
|
+
id: "documents"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
text: "reference.infoLine",
|
|
1684
|
+
id: "infoLine"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
text: "reference.interested",
|
|
1688
|
+
id: "interested"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
text: "reference.contact",
|
|
1692
|
+
id: "contact"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
text: "reference.iframe",
|
|
1696
|
+
id: "iframe"
|
|
1697
|
+
}
|
|
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 = {
|
|
1251
1699
|
__name: "vs-form-reference-add",
|
|
1252
|
-
props: /* @__PURE__ */
|
|
1700
|
+
props: /* @__PURE__ */ B({
|
|
1253
1701
|
title: {
|
|
1254
1702
|
type: String,
|
|
1255
1703
|
required: !0
|
|
@@ -1263,88 +1711,90 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1263
1711
|
}),
|
|
1264
1712
|
emits: ["update:modelValue"],
|
|
1265
1713
|
setup(e) {
|
|
1266
|
-
const { t:
|
|
1267
|
-
|
|
1268
|
-
const
|
|
1269
|
-
var
|
|
1270
|
-
return ((
|
|
1271
|
-
}),
|
|
1272
|
-
if (await
|
|
1273
|
-
|
|
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 () => {
|
|
1720
|
+
if (await y.value.validate()) {
|
|
1721
|
+
T({
|
|
1274
1722
|
type: "warning",
|
|
1275
|
-
title:
|
|
1276
|
-
message:
|
|
1723
|
+
title: l("cms.common.actions.warning"),
|
|
1724
|
+
message: l("cms.builder.editFieldFailed")
|
|
1277
1725
|
});
|
|
1278
1726
|
return;
|
|
1279
1727
|
}
|
|
1280
1728
|
try {
|
|
1281
|
-
Object.keys(
|
|
1282
|
-
...
|
|
1729
|
+
Object.keys(x.value).length !== 0 && (o.value = [
|
|
1730
|
+
...o.value || [],
|
|
1283
1731
|
{
|
|
1284
|
-
...
|
|
1732
|
+
...x.value,
|
|
1285
1733
|
id: Math.random().toString(36).substring(2, 15),
|
|
1286
|
-
reference_type:
|
|
1734
|
+
reference_type: a.value
|
|
1287
1735
|
}
|
|
1288
|
-
]),
|
|
1289
|
-
} catch (
|
|
1290
|
-
console.log(
|
|
1736
|
+
]), n.value = !1, a.value = null, x.value = {};
|
|
1737
|
+
} catch (c) {
|
|
1738
|
+
console.log(c);
|
|
1291
1739
|
}
|
|
1292
1740
|
};
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
})
|
|
1296
|
-
|
|
1741
|
+
V(n, () => {
|
|
1742
|
+
n.value || (a.value = null, x.value = {});
|
|
1743
|
+
});
|
|
1744
|
+
const h = M(() => t.sectionsList || Ir);
|
|
1745
|
+
return (v, c) => (d(), s("div", null, [
|
|
1746
|
+
r("button", {
|
|
1297
1747
|
type: "button",
|
|
1298
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",
|
|
1299
|
-
onClick:
|
|
1300
|
-
},
|
|
1301
|
-
|
|
1302
|
-
visible:
|
|
1303
|
-
"onUpdate:visible":
|
|
1749
|
+
onClick: c[0] || (c[0] = (f) => n.value = !n.value)
|
|
1750
|
+
}, i(v.$t("cms.builder.create")), 1),
|
|
1751
|
+
$(b(F), {
|
|
1752
|
+
visible: n.value,
|
|
1753
|
+
"onUpdate:visible": c[6] || (c[6] = (f) => n.value = f),
|
|
1304
1754
|
position: "right",
|
|
1305
1755
|
closeClickBackdrop: !1,
|
|
1306
|
-
onClose:
|
|
1307
|
-
title:
|
|
1756
|
+
onClose: c[7] || (c[7] = (f) => n.value = !1),
|
|
1757
|
+
title: a.value ? v.$t("cms.builder." + a.value) : v.$t("cms.builder.selectType"),
|
|
1308
1758
|
size: "50vw"
|
|
1309
1759
|
}, {
|
|
1310
|
-
footer:
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
onClick:
|
|
1760
|
+
footer: q(() => [
|
|
1761
|
+
r("div", Zr, [
|
|
1762
|
+
r("button", {
|
|
1763
|
+
onClick: c[5] || (c[5] = (f) => n.value = !1),
|
|
1314
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"
|
|
1315
|
-
},
|
|
1316
|
-
|
|
1317
|
-
onClick:
|
|
1765
|
+
}, i(v.$t("cms.builder.cancel")), 1),
|
|
1766
|
+
r("button", {
|
|
1767
|
+
onClick: E,
|
|
1318
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"
|
|
1319
|
-
},
|
|
1769
|
+
}, i(v.$t("cms.builder.create")), 1)
|
|
1320
1770
|
])
|
|
1321
1771
|
]),
|
|
1322
|
-
default:
|
|
1323
|
-
var
|
|
1772
|
+
default: q(() => {
|
|
1773
|
+
var f;
|
|
1324
1774
|
return [
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
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)
|
|
1329
1779
|
]),
|
|
1330
|
-
|
|
1780
|
+
r("button", {
|
|
1331
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",
|
|
1332
|
-
onClick:
|
|
1333
|
-
},
|
|
1782
|
+
onClick: c[2] || (c[2] = (p) => a.value = null)
|
|
1783
|
+
}, i(v.$t("cms.builder.changeType")), 1)
|
|
1334
1784
|
]),
|
|
1335
|
-
|
|
1336
|
-
key:
|
|
1337
|
-
schema:
|
|
1338
|
-
modelValue:
|
|
1339
|
-
"onUpdate:modelValue":
|
|
1340
|
-
form:
|
|
1341
|
-
"onUpdate:form":
|
|
1342
|
-
}, null, 8, ["schema", "modelValue", "form"])) :
|
|
1343
|
-
], 64)) : (
|
|
1785
|
+
m.value ? (d(), j(b(R), {
|
|
1786
|
+
key: a.value,
|
|
1787
|
+
schema: m.value,
|
|
1788
|
+
modelValue: x.value,
|
|
1789
|
+
"onUpdate:modelValue": c[3] || (c[3] = (p) => x.value = p),
|
|
1790
|
+
form: y.value,
|
|
1791
|
+
"onUpdate:form": c[4] || (c[4] = (p) => y.value = p)
|
|
1792
|
+
}, null, 8, ["schema", "modelValue", "form"])) : u("", !0)
|
|
1793
|
+
], 64)) : (d(), j(zr, {
|
|
1344
1794
|
key: 0,
|
|
1345
|
-
modelValue:
|
|
1346
|
-
"onUpdate:modelValue":
|
|
1347
|
-
options:
|
|
1795
|
+
modelValue: a.value,
|
|
1796
|
+
"onUpdate:modelValue": c[1] || (c[1] = (p) => a.value = p),
|
|
1797
|
+
options: h.value
|
|
1348
1798
|
}, null, 8, ["modelValue", "options"]))
|
|
1349
1799
|
];
|
|
1350
1800
|
}),
|
|
@@ -1352,9 +1802,9 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1352
1802
|
}, 8, ["visible", "title"])
|
|
1353
1803
|
]));
|
|
1354
1804
|
}
|
|
1355
|
-
},
|
|
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 = {
|
|
1356
1806
|
__name: "vs-form-reference-controls",
|
|
1357
|
-
props: /* @__PURE__ */
|
|
1807
|
+
props: /* @__PURE__ */ B({
|
|
1358
1808
|
title: {
|
|
1359
1809
|
type: String,
|
|
1360
1810
|
required: !0
|
|
@@ -1373,81 +1823,81 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1373
1823
|
}),
|
|
1374
1824
|
emits: ["update:modelValue", "update:parent"],
|
|
1375
1825
|
setup(e) {
|
|
1376
|
-
const { t:
|
|
1377
|
-
var
|
|
1378
|
-
return ((
|
|
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;
|
|
1379
1829
|
});
|
|
1380
|
-
|
|
1381
|
-
|
|
1830
|
+
V(y, (h) => {
|
|
1831
|
+
h && (a.value = { ...o.value });
|
|
1382
1832
|
});
|
|
1383
|
-
const
|
|
1833
|
+
const E = async () => {
|
|
1384
1834
|
try {
|
|
1385
|
-
if (await
|
|
1386
|
-
|
|
1835
|
+
if (await x.value.validate()) {
|
|
1836
|
+
T({
|
|
1387
1837
|
type: "warning",
|
|
1388
|
-
title:
|
|
1389
|
-
message:
|
|
1838
|
+
title: l("cms.common.actions.warning"),
|
|
1839
|
+
message: l("cms.builder.editFieldFailed")
|
|
1390
1840
|
});
|
|
1391
1841
|
return;
|
|
1392
1842
|
}
|
|
1393
|
-
|
|
1394
|
-
} catch (
|
|
1395
|
-
console.log(
|
|
1843
|
+
o.value = { ...a.value }, y.value = !1;
|
|
1844
|
+
} catch (h) {
|
|
1845
|
+
console.log(h);
|
|
1396
1846
|
}
|
|
1397
1847
|
};
|
|
1398
|
-
return (
|
|
1399
|
-
|
|
1400
|
-
onClick:
|
|
1848
|
+
return (h, v) => (d(), s("div", Fr, [
|
|
1849
|
+
r("button", {
|
|
1850
|
+
onClick: v[0] || (v[0] = (c) => y.value = !y.value),
|
|
1401
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"
|
|
1402
1852
|
}, [
|
|
1403
|
-
|
|
1853
|
+
$(b(J), { class: "h-4 w-4 text-gray-400" })
|
|
1404
1854
|
]),
|
|
1405
|
-
|
|
1406
|
-
onClick:
|
|
1855
|
+
r("button", {
|
|
1856
|
+
onClick: v[1] || (v[1] = (c) => n.value = n.value.filter((f) => f.id !== o.value.id)),
|
|
1407
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"
|
|
1408
1858
|
}, [
|
|
1409
|
-
|
|
1859
|
+
$(b(K), { class: "h-4 w-4 text-red-500" })
|
|
1410
1860
|
]),
|
|
1411
|
-
|
|
1412
|
-
visible:
|
|
1413
|
-
"onUpdate:visible":
|
|
1414
|
-
onClose:
|
|
1861
|
+
$(b(F), {
|
|
1862
|
+
visible: y.value,
|
|
1863
|
+
"onUpdate:visible": v[5] || (v[5] = (c) => y.value = c),
|
|
1864
|
+
onClose: v[6] || (v[6] = (c) => y.value = !1),
|
|
1415
1865
|
title: e.title,
|
|
1416
1866
|
width: "50vw"
|
|
1417
1867
|
}, {
|
|
1418
|
-
footer:
|
|
1419
|
-
|
|
1420
|
-
|
|
1868
|
+
footer: q(() => [
|
|
1869
|
+
r("div", Tr, [
|
|
1870
|
+
r("button", {
|
|
1421
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",
|
|
1422
|
-
onClick:
|
|
1423
|
-
},
|
|
1424
|
-
|
|
1425
|
-
onClick:
|
|
1872
|
+
onClick: v[4] || (v[4] = (c) => y.value = !1)
|
|
1873
|
+
}, i(h.$t("cms.common.actions.cancel")), 1),
|
|
1874
|
+
r("button", {
|
|
1875
|
+
onClick: E,
|
|
1426
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"
|
|
1427
|
-
},
|
|
1877
|
+
}, i(h.$t("cms.common.actions.save")), 1)
|
|
1428
1878
|
])
|
|
1429
1879
|
]),
|
|
1430
|
-
default:
|
|
1431
|
-
|
|
1880
|
+
default: q(() => [
|
|
1881
|
+
m.value ? (d(), j(b(R), {
|
|
1432
1882
|
key: 0,
|
|
1433
|
-
form:
|
|
1434
|
-
"onUpdate:form":
|
|
1435
|
-
schema:
|
|
1436
|
-
modelValue:
|
|
1437
|
-
"onUpdate:modelValue":
|
|
1883
|
+
form: x.value,
|
|
1884
|
+
"onUpdate:form": v[2] || (v[2] = (c) => x.value = c),
|
|
1885
|
+
schema: m.value,
|
|
1886
|
+
modelValue: a.value,
|
|
1887
|
+
"onUpdate:modelValue": v[3] || (v[3] = (c) => a.value = c),
|
|
1438
1888
|
class: "-mr-[10px] ml-[10px] mt-[10px]"
|
|
1439
|
-
}, null, 8, ["form", "schema", "modelValue"])) :
|
|
1889
|
+
}, null, 8, ["form", "schema", "modelValue"])) : u("", !0)
|
|
1440
1890
|
]),
|
|
1441
1891
|
_: 1
|
|
1442
1892
|
}, 8, ["visible", "title"])
|
|
1443
1893
|
]));
|
|
1444
1894
|
}
|
|
1445
|
-
},
|
|
1895
|
+
}, Yr = { class: "w-full" }, Ur = {
|
|
1446
1896
|
key: 0,
|
|
1447
1897
|
class: "relative"
|
|
1448
|
-
},
|
|
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 = {
|
|
1449
1899
|
__name: "vs-form-reference-list",
|
|
1450
|
-
props: /* @__PURE__ */
|
|
1900
|
+
props: /* @__PURE__ */ B({
|
|
1451
1901
|
reference_type: {
|
|
1452
1902
|
type: String,
|
|
1453
1903
|
required: !0
|
|
@@ -1464,73 +1914,70 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAACbCAIAAABJbgHoAAA
|
|
|
1464
1914
|
}),
|
|
1465
1915
|
emits: ["update:modelValue"],
|
|
1466
1916
|
setup(e) {
|
|
1467
|
-
const
|
|
1468
|
-
var c;
|
|
1469
|
-
return (c = _.find((h) => h.id === l)) == null ? void 0 : c.text;
|
|
1470
|
-
}, t = A(e, "modelValue"), v = j({
|
|
1917
|
+
const l = A(e, "modelValue"), t = M({
|
|
1471
1918
|
get() {
|
|
1472
|
-
const
|
|
1473
|
-
return
|
|
1919
|
+
const o = l.value;
|
|
1920
|
+
return o == null ? [] : Array.isArray(o) ? o : [];
|
|
1474
1921
|
},
|
|
1475
|
-
set(
|
|
1476
|
-
|
|
1922
|
+
set(o) {
|
|
1923
|
+
l.value = Array.isArray(o) ? o : [];
|
|
1477
1924
|
}
|
|
1478
1925
|
});
|
|
1479
|
-
return
|
|
1480
|
-
|
|
1481
|
-
}, { immediate: !0 }), (
|
|
1482
|
-
var
|
|
1483
|
-
return
|
|
1484
|
-
((
|
|
1926
|
+
return V(l, (o) => {
|
|
1927
|
+
o != null && !Array.isArray(o) && (l.value = []);
|
|
1928
|
+
}, { immediate: !0 }), (o, n) => {
|
|
1929
|
+
var y;
|
|
1930
|
+
return d(), s("div", Yr, [
|
|
1931
|
+
((y = t.value) == null ? void 0 : y.length) > 0 ? (d(), j(b(P), {
|
|
1485
1932
|
key: 0,
|
|
1486
|
-
modelValue:
|
|
1487
|
-
"onUpdate:modelValue":
|
|
1933
|
+
modelValue: t.value,
|
|
1934
|
+
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.value = a),
|
|
1488
1935
|
"item-key": "id",
|
|
1489
1936
|
handle: ".drag-handle",
|
|
1490
1937
|
class: "grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4"
|
|
1491
1938
|
}, {
|
|
1492
|
-
item:
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
(
|
|
1496
|
-
key:
|
|
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", {
|
|
1943
|
+
key: a.id,
|
|
1497
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"
|
|
1498
1945
|
}, [
|
|
1499
|
-
|
|
1946
|
+
$(b(O), { class: "h-4 w-4 text-gray-400" })
|
|
1500
1947
|
])),
|
|
1501
|
-
|
|
1502
|
-
title:
|
|
1503
|
-
modelValue:
|
|
1504
|
-
"onUpdate:modelValue": (
|
|
1505
|
-
parent:
|
|
1506
|
-
"onUpdate:parent":
|
|
1948
|
+
$(Rr, {
|
|
1949
|
+
title: o.$t("cms.builder." + (a == null ? void 0 : a.reference_type)),
|
|
1950
|
+
modelValue: t.value[x],
|
|
1951
|
+
"onUpdate:modelValue": (m) => t.value[x] = m,
|
|
1952
|
+
parent: t.value,
|
|
1953
|
+
"onUpdate:parent": n[0] || (n[0] = (m) => t.value = m)
|
|
1507
1954
|
}, null, 8, ["title", "modelValue", "onUpdate:modelValue", "parent"]),
|
|
1508
|
-
b(
|
|
1955
|
+
b(S)[a == null ? void 0 : a.reference_type] ? (d(), j(Z(b(S)[a == null ? void 0 : a.reference_type]), {
|
|
1509
1956
|
key: 0,
|
|
1510
|
-
index:
|
|
1511
|
-
text:
|
|
1512
|
-
count: Array.isArray(
|
|
1513
|
-
}, null, 8, ["index", "text", "count"])) : (
|
|
1957
|
+
index: x,
|
|
1958
|
+
text: a == null ? void 0 : a.reference_type,
|
|
1959
|
+
count: Array.isArray(a == null ? void 0 : a.data) ? a.data.length : 0
|
|
1960
|
+
}, null, 8, ["index", "text", "count"])) : (d(), s("img", {
|
|
1514
1961
|
key: 1,
|
|
1515
|
-
src: b(
|
|
1962
|
+
src: b(U),
|
|
1516
1963
|
alt: "Team collaboration",
|
|
1517
1964
|
class: "w-full h-full object-cover"
|
|
1518
|
-
}, null, 8,
|
|
1965
|
+
}, null, 8, Jr))
|
|
1519
1966
|
])
|
|
1520
|
-
])) :
|
|
1967
|
+
])) : u("", !0)
|
|
1521
1968
|
]),
|
|
1522
1969
|
_: 1
|
|
1523
|
-
}, 8, ["modelValue"])) :
|
|
1524
|
-
|
|
1970
|
+
}, 8, ["modelValue"])) : u("", !0),
|
|
1971
|
+
$(Gr, {
|
|
1525
1972
|
class: "mt-4",
|
|
1526
1973
|
title: e.title,
|
|
1527
|
-
modelValue:
|
|
1528
|
-
"onUpdate:modelValue":
|
|
1974
|
+
modelValue: t.value,
|
|
1975
|
+
"onUpdate:modelValue": n[2] || (n[2] = (a) => t.value = a)
|
|
1529
1976
|
}, null, 8, ["title", "modelValue"])
|
|
1530
1977
|
]);
|
|
1531
1978
|
};
|
|
1532
1979
|
}
|
|
1533
1980
|
};
|
|
1534
1981
|
export {
|
|
1535
|
-
|
|
1982
|
+
Kr as default
|
|
1536
1983
|
};
|