PageSourceSearch

https://intranet.westliches-weserbergland.de/dist/js/CalendarEntryRequestCancel_DlTi0gIe.min.js

js westliches-weserbergland.de collected 2026-10-02 11:02:24 UTC 4,861 bytes, 116 lines download raw bytes

1(function() {
2	try {
3		var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4		e.SENTRY_RELEASE = { id: "live_2026-10-01-1531" };
5		var t = new e.Error().stack;
6		t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "801ebcb3-7151-4f84-87f1-4d34e97c5b50", e._sentryDebugIdIdentifier = "sentry-dbid-801ebcb3-7151-4f84-87f1-4d34e97c5b50");
7	} catch (e) {}
8})();
9import { Bo as e, jc as t, vo as n } from "./topMessageHandler_CaWydTPF.min.js";
10import { N as r, R as i, X as a, c as o, d as s, f as c, g as l, i as u, jt as d, l as f, nt as p, ot as m, u as h, y as g } from "./runtime-core.esm-bundler_DscPLG0X.min.js";
11import { s as _ } from "./addresses_BKkK47Xf.min.js";
12//#region src/views/calendar/CalendarEntryRequestCancel.vue?vue&type=script&setup=true&lang.ts
13var v = {
14	id: "minimal-content",
15	class: "minimal-content-wide"
16}, y = {
17	key: 1,
18	class: "font-size-15"
19}, b = { class: "default-margin-top" }, x = {
20	class: "button button-save",
21	type: "button"
22}, S = {
23	key: 2,
24	class: "font-size-15"
25}, C = { key: 3 }, w = { class: "error" }, T = /* @__PURE__ */ g({
26	__name: "CalendarEntryRequestCancel",
27	props: {
28		resource: {},
29		id: {},
30		code: {}
31	},
32	setup(g) {
33		let { resource: T, id: E, code: D } = m(g), O = o(() => ({
34			sportsarea: "die Sportstätte",
35			equipment: "das Gerät",
36			roommanagement: "den Raum",
37			vehicle: "das Fahrzeug"
38		})), k = p(!0), A = p(!0), j = p(!1), M = p("Es ist ein Fehler bei der Absage aufgetreten."), N = p(), P = o(() => ({
39			start: e("d.m.Y", N.value.start),
40			startTime: N.value.start.split(" ")[1],
41			startWeekday: n(N.value.start).dayName,
42			end: e("d.m.Y", N.value.end),
43			endTime: N.value.end.split(" ")[1],
44			endWeekday: n(N.value.end).dayName
45		})), F = o(() => N.value.start.split(" ")[1] === "00:00" && N.value.end.split(" ")[1] === "24:00"), I = o(() => N.value.start.split(" ")[0] === N.value.end.split(" ")[0]), L = () => {
46			k.value = !0, t.get("/" + T.value + "/entry/fetch-entry/id/" + E.value + "/code/" + D.value).then((e) => {
47				e.data.status === "OK" && (N.value = e.data.data.entry);
48			}, (e) => {
49				throw e;
50			}).catch((e) => {
51				M.value = e.response.data.message, A.value = !1, j.value = !1;
52			}).finally(() => {
53				k.value = !1;
54			});
55		}, R = () => {
56			k.value = !0, t.post("/" + T.value + "/entry/cancel-entry/id/" + E.value + "/code/" + D.value).then((e) => {
57				e.data.status === "OK" && (A.value = !1, j.value = !0);
58			}, (e) => {
59				throw e;
60			}).catch((e) => {
61				M.value = e.response.data.message, A.value = !1, j.value = !1;
62			}).finally(() => {
63				k.value = !1;
64			});
65		};
66		return L(), (e, t) => {
67			let n = i("interact");
68			return r(), c("div", v, [k.value || !N.value ? (r(), h(_, { key: 0 })) : A.value ? (r(), c("div", y, [
69				f("p", null, [
70					l("\n                Bitte bestätigen Sie, dass Sie Ihre Reservierungsanfrage für " + d(O.value[N.value.resource]) + " ", 1),
71					f("strong", null, d(N.value.calendar_title), 1),
72					t[10] || (t[10] = l(",\n                ", -1)),
73					I.value ? (r(), c(u, { key: 0 }, [
74						t[0] || (t[0] = l("am ", -1)),
75						f("strong", null, d(P.value.startWeekday), 1),
76						t[1] || (t[1] = l(", den ", -1)),
77						f("strong", null, d(P.value.start), 1),
78						t[2] || (t[2] = l(",", -1))
79					], 64)) : (r(), c(u, { key: 1 }, [
80						t[3] || (t[3] = l("vom ", -1)),
81						f("strong", null, d(P.value.startWeekday), 1),
82						t[4] || (t[4] = l(", den ", -1)),
83						f("strong", null, d(P.value.start), 1),
84						t[5] || (t[5] = l(", bis zum\n                    ", -1)),
85						f("strong", null, d(P.value.endWeekday), 1),
86						t[6] || (t[6] = l(", den", -1)),
87						f("strong", null, d(P.value.end), 1),
88						t[7] || (t[7] = l(",\n                ", -1))
89					], 64)),
90					t[11] || (t[11] = l()),
91					F.value ? s("", !0) : (r(), c(u, { key: 2 }, [
92						t[8] || (t[8] = l("von ", -1)),
93						f("strong", null, d(P.value.startTime), 1),
94						t[9] || (t[9] = l(" bis ", -1)),
95						f("strong", null, d(P.value.endTime), 1)
96					], 64)),
97					t[12] || (t[12] = l("\n                absagen möchten.\n            ", -1))
98				]),
99				t[14] || (t[14] = l()),
100				f("div", b, [a((r(), c("button", x, [...t[13] || (t[13] = [l("\n                    Reservierung stornieren\n                ", -1)])])), [[n, R]])])
101			])) : j.value ? (r(), c("div", S, "\n            Ihre Reservierung wurde erfolgreich storniert.\n        ")) : (r(), c("div", C, [f("div", w, [
102				t[15] || (t[15] = f("i", {
103					"aria-hidden": "true",
104					class: "material-icons md-light",
105					role: "img"
106				}, "error", -1)),
107				t[16] || (t[16] = l()),
108				f("div", null, d(M.value), 1)
109			])]))]);
110		};
111	}
112});
113//#endregion
114export { T as default };
115
116//# sourceMappingURL=CalendarEntryRequestCancel_DlTi0gIe.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.