Update timestamps in nitro.json and latest.json; modify client manifest for asset management; enhance history and rules editing features in CMS with new templates and improved toolbar layout.

This commit is contained in:
Torsten Schulz (local)
2025-10-23 16:46:08 +02:00
parent 6763b15487
commit a4269e970b
11 changed files with 1167 additions and 643 deletions

View File

@@ -521,7 +521,7 @@ const _routes = [
name: "cms-tt-regeln",
path: "/cms/tt-regeln",
meta: { "middleware": "auth" },
component: () => import('./tt-regeln-CzdSgLJc.mjs')
component: () => import('./tt-regeln-CMXBlU5A.mjs')
},
{
name: "cms-ueber-uns",
@@ -642,7 +642,7 @@ const _routes = [
{
name: "cms-mitgliedschaftsantraege",
path: "/cms/mitgliedschaftsantraege",
component: () => import('./mitgliedschaftsantraege-UTBvvWQL.mjs')
component: () => import('./mitgliedschaftsantraege-DnRsAaeb.mjs')
},
{
name: "mitgliederbereich-mitglieder",
@@ -1462,7 +1462,7 @@ function normalizeSlot(slot, data) {
return slotContent.length === 1 ? h(slotContent[0]) : h(Fragment, void 0, slotContent);
}
const _imports_1 = "" + __buildAssetsURL("Harheimer TC.CKfYAfp1.svg");
const _sfc_main$4 = {
const _sfc_main$5 = {
__name: "Navigation",
__ssrInlineRender: true,
setup(__props) {
@@ -2736,14 +2736,14 @@ const _sfc_main$4 = {
};
}
};
const _sfc_setup$4 = _sfc_main$4.setup;
_sfc_main$4.setup = (props, ctx) => {
const _sfc_setup$5 = _sfc_main$5.setup;
_sfc_main$5.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Navigation.vue");
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
};
const Navigation = Object.assign(_sfc_main$4, { __name: "Navigation" });
const _sfc_main$3 = {
const Navigation = Object.assign(_sfc_main$5, { __name: "Navigation" });
const _sfc_main$4 = {
__name: "Footer",
__ssrInlineRender: true,
setup(__props) {
@@ -2859,13 +2859,74 @@ const _sfc_main$3 = {
};
}
};
const _sfc_setup$4 = _sfc_main$4.setup;
_sfc_main$4.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Footer.vue");
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
};
const Footer = Object.assign(_sfc_main$4, { __name: "Footer" });
const _sfc_main$3 = {
__name: "ModalDialog",
__ssrInlineRender: true,
setup(__props) {
const showSuccess = ref(false);
const showError2 = ref(false);
const showConfirm = ref(false);
const successTitle = ref("");
const successMessage = ref("");
const errorTitle = ref("");
const errorMessage = ref("");
const confirmTitle = ref("");
const confirmMessage = ref("");
const confirmAction = ref(null);
const showSuccessModal = (title, message) => {
successTitle.value = title;
successMessage.value = message;
showSuccess.value = true;
};
const showErrorModal = (title, message) => {
errorTitle.value = title;
errorMessage.value = message;
showError2.value = true;
};
const showConfirmModal = (title, message, action) => {
confirmTitle.value = title;
confirmMessage.value = message;
confirmAction.value = action;
showConfirm.value = true;
};
provide("showSuccessModal", showSuccessModal);
provide("showErrorModal", showErrorModal);
provide("showConfirmModal", showConfirmModal);
return (_ctx, _push, _parent, _attrs) => {
_push(`<!--[-->`);
if (showSuccess.value) {
_push(`<div class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4"><div class="bg-white rounded-lg max-w-md w-full p-6"><div class="flex items-center mb-4"><div class="flex-shrink-0 w-10 h-10 mx-auto bg-green-100 rounded-full flex items-center justify-center"><svg class="w-6 h-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg></div></div><div class="text-center"><h3 class="text-lg font-medium text-gray-900 mb-2">${ssrInterpolate(successTitle.value)}</h3><p class="text-sm text-gray-600 mb-6">${ssrInterpolate(successMessage.value)}</p><div class="flex justify-center"><button class="px-6 py-2 bg-primary-600 hover:bg-primary-700 text-white rounded-lg transition-colors"> OK </button></div></div></div></div>`);
} else {
_push(`<!---->`);
}
if (showError2.value) {
_push(`<div class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4"><div class="bg-white rounded-lg max-w-md w-full p-6"><div class="flex items-center mb-4"><div class="flex-shrink-0 w-10 h-10 mx-auto bg-red-100 rounded-full flex items-center justify-center"><svg class="w-6 h-6 text-red-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></div></div><div class="text-center"><h3 class="text-lg font-medium text-gray-900 mb-2">${ssrInterpolate(errorTitle.value)}</h3><p class="text-sm text-gray-600 mb-6">${ssrInterpolate(errorMessage.value)}</p><div class="flex justify-center"><button class="px-6 py-2 bg-red-600 hover:bg-red-700 text-white rounded-lg transition-colors"> OK </button></div></div></div></div>`);
} else {
_push(`<!---->`);
}
if (showConfirm.value) {
_push(`<div class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4"><div class="bg-white rounded-lg max-w-md w-full p-6"><div class="flex items-center mb-4"><div class="flex-shrink-0 w-10 h-10 mx-auto bg-yellow-100 rounded-full flex items-center justify-center"><svg class="w-6 h-6 text-yellow-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"></path></svg></div></div><div class="text-center"><h3 class="text-lg font-medium text-gray-900 mb-2">${ssrInterpolate(confirmTitle.value)}</h3><p class="text-sm text-gray-600 mb-6">${ssrInterpolate(confirmMessage.value)}</p><div class="flex space-x-3 justify-center"><button class="px-4 py-2 text-gray-700 bg-gray-100 hover:bg-gray-200 rounded-lg transition-colors"> Abbrechen </button><button class="px-4 py-2 bg-red-600 hover:bg-red-700 text-white rounded-lg transition-colors"> Bestätigen </button></div></div></div></div>`);
} else {
_push(`<!---->`);
}
_push(`<!--]-->`);
};
}
};
const _sfc_setup$3 = _sfc_main$3.setup;
_sfc_main$3.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Footer.vue");
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ModalDialog.vue");
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
};
const Footer = Object.assign(_sfc_main$3, { __name: "Footer" });
const ModalDialog = Object.assign(_sfc_main$3, { __name: "ModalDialog" });
const _sfc_main$2 = {
__name: "app",
__ssrInlineRender: true,
@@ -2878,6 +2939,7 @@ const _sfc_main$2 = {
_push(ssrRenderComponent(_component_NuxtPage, null, null, _parent));
_push(`</main>`);
_push(ssrRenderComponent(Footer, null, null, _parent));
_push(ssrRenderComponent(ModalDialog, null, null, _parent));
_push(`</div>`);
};
}