PageSourceSearch

https://ris.loewenberger-land.de/dist/js/CustomerListNew_DwTxcR9f.min.js

js loewenberger-land.de collected 2026-10-02 18:11:32 UTC 7,718 bytes, 194 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] = "8dc61fd5-ab5c-46c0-a3c7-d731c5088187", e._sentryDebugIdIdentifier = "sentry-dbid-8dc61fd5-ab5c-46c0-a3c7-d731c5088187");
7	} catch (e) {}
8})();
9import { Bo as e, Ga as t, Jc as n, Sn as r, _a as ee, jc as i, mc as a, xi as o } from "./topMessageHandler_CaWydTPF.min.js";
10import { F as s, L as c, N as l, R as u, T as te, X as d, Y as f, _ as p, c as m, f as h, g, i as ne, jt as _, l as v, lt as y, nt as b, tt as x, u as S, y as re } from "./runtime-core.esm-bundler_DscPLG0X.min.js";
11import { r as C } from "./vuex.esm-bundler_ByHC_Vqx.min.js";
12import { s as w } from "./addresses_BKkK47Xf.min.js";
13import { t as T } from "./ListPager_ClTN-8nC.min.js";
14import { t as E } from "./searchAbstract_DeMDx6Lx.min.js";
15import { t as ie } from "./AppContent_DtiJZ3PY.min.js";
16import { t as D } from "./ChoiceButton_BlNzx_nD.min.js";
17//#region src/views/customer/CustomerListNew.vue?vue&type=script&setup=true&lang.ts
18var O = { class: "button-row" }, k = { class: "row" }, A = { class: "col-md-4" }, j = { class: "col-md-4" }, M = { class: "portuna-table portuna-table-bordered" }, N = {
19	id: "checkbox-all",
20	class: "portuna-checkbox md-24",
21	type: "checkbox"
22}, P = { class: "text-right" }, F = { key: 0 }, I = { colspan: "4" }, L = { class: "default-padding flex-center" }, R = { key: 1 }, z = { class: "text-right" }, B = { class: "text-overflow" }, V = { class: "button-row" }, H = /* @__PURE__ */ re({
23	__name: "CustomerListNew",
24	setup(re, { expose: H }) {
25		let U = n(), W = E({ emitter: U.emitter }), G = C(), K = [{
26			label: "Kunden",
27			href: { name: "customer-list" }
28		}], q = m(() => [{
29			name: "generate-export",
30			label: "Neukunden-Export",
31			icon: "download",
32			popupAction: {
33				url: "/customer/entry/export/build/export-new-customer",
34				text: "Möchten Sie wirklich [count] Einträge exportieren?",
35				showResponseMessage: !1
36			}
37		}]), J = b(), Y = b(!0), X = b([]), Z = x({
38			start: e("Y-m-01"),
39			end: e("Y-m-t")
40		}), Q = (e) => {
41			e.action.name === "generate-export" && (location.href = "/customer/entry/download/file/" + e.data.file);
42		}, $ = m(() => G.state.clipboard.selectedItems["Customer\\NewList"] || []), ae = m(() => X.value.filter((e) => e.start_date >= Z.start && e.start_date <= Z.end));
43		return Y.value = !0, X.value = [], i.get("/customer/entry/fetch-new-customer-list").then((e) => {
44			let { data: t, status: n } = e.data;
45			if (n !== "OK") throw e;
46			X.value = t.entries;
47		}).catch(a).finally(() => {
48			Y.value = !1;
49		}), H(Object.assign({}, U, W.expose)), (n, i) => {
50			let a = c("router-link"), m = u("indeterminate-checkbox"), b = u("sort"), x = u("tooltip");
51			return l(), S(ie, {
52				breadcrumb: K,
53				class: "module-contact list",
54				headline: "Neukunden"
55			}, {
56				default: f(() => [p(T, te({
57					ref_key: "listPager",
58					ref: J
59				}, y(W).properties, { entries: ae.value }), {
60					default: f(({ listEntries: n, filteredEntries: c }) => [
61						v("div", O, [p(D, {
62							actions: q.value,
63							items: $.value,
64							onButtonAction: Q
65						}, null, 8, ["actions", "items"])]),
66						i[22] || (i[22] = g()),
67						v("div", k, [
68							v("div", A, [p(t, {
69								label: "Start",
70								"label-for": "start"
71							}, {
72								default: f(() => [p(r, {
73									modelValue: Z.start,
74									"onUpdate:modelValue": i[0] || (i[0] = (e) => Z.start = e)
75								}, null, 8, ["modelValue"])]),
76								_: 1
77							})]),
78							i[2] || (i[2] = g()),
79							v("div", j, [p(t, {
80								label: "Ende",
81								"label-for": "end"
82							}, {
83								default: f(() => [p(r, {
84									modelValue: Z.end,
85									"onUpdate:modelValue": i[1] || (i[1] = (e) => Z.end = e)
86								}, null, 8, ["modelValue"])]),
87								_: 1
88							})])
89						]),
90						i[23] || (i[23] = g()),
91						v("table", M, [
92							i[19] || (i[19] = v("colgroup", null, [
93								v("col", { style: { width: "45px" } }),
94								g(),
95								v("col", { style: { width: "150px" } }),
96								g(),
97								v("col"),
98								g(),
99								v("col", { style: { width: "150px" } }),
100								g(),
101								v("col", { style: { width: "45px" } })
102							], -1)),
103							i[20] || (i[20] = g()),
104							v("thead", null, [v("tr", null, [
105								v("td", null, [
106									d(v("input", N, null, 512), [[m, {
107										entries: c,
108										field: "checked",
109										clipboardIdField: "institution_id",
110										clipboardClass: "Customer\\NewList"
111									}]]),
112									i[3] || (i[3] = g()),
113									i[4] || (i[4] = v("label", { for: "checkbox-all" }, null, -1))
114								]),
115								i[8] || (i[8] = g()),
116								d((l(), h("th", P, [...i[5] || (i[5] = [g("Nummer", -1)])])), [[b, "institution_id"]]),
117								i[9] || (i[9] = g()),
118								d((l(), h("th", null, [...i[6] || (i[6] = [g("Name", -1)])])), [[b, "institution_name"]]),
119								i[10] || (i[10] = g()),
120								d((l(), h("th", null, [...i[7] || (i[7] = [g("Startdatum", -1)])])), [[
121									b,
122									"start_date",
123									void 0,
124									{
125										default: !0,
126										desc: !0
127									}
128								]]),
129								i[11] || (i[11] = g()),
130								i[12] || (i[12] = v("th", null, null, -1))
131							])]),
132							i[21] || (i[21] = g()),
133							v("tbody", null, [Y.value ? (l(), h("tr", F, [v("td", I, [v("div", L, [p(w)])])])) : n.length ? (l(!0), h(ne, { key: 2 }, s(n, (t) => (l(), h("tr", { key: "contact-list-entry-" + t.institution_id }, [
134								v("td", null, [p(ee, {
135									modelValue: t.checked,
136									"onUpdate:modelValue": (e) => t.checked = e,
137									"aria-label": "Eintrag markieren"
138								}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
139								i[15] || (i[15] = g()),
140								v("td", z, [p(a, { to: {
141									name: "customer-entry-view",
142									params: { id: t.institution_id }
143								} }, {
144									default: f(() => [g("#" + _(t.institution_id), 1)]),
145									_: 2
146								}, 1032, ["to"])]),
147								i[16] || (i[16] = g()),
148								v("td", B, [d((l(), S(a, { to: {
149									name: "customer-entry-view",
150									params: { id: t.institution_id }
151								} }, {
152									default: f(() => [g(_(t.institution_name), 1)]),
153									_: 2
154								}, 1032, ["to"])), [[x, `${t.institution_name} (${t.institution_id})`]])]),
155								i[17] || (i[17] = g()),
156								v("td", null, _(y(e)("d.m.Y", t.start_date)), 1),
157								i[18] || (i[18] = g()),
158								v("td", null, [p(o, null, {
159									default: f(() => [v("li", null, [p(a, { to: {
160										name: "customer-entry-edit",
161										params: { id: t.institution_id }
162									} }, {
163										default: f(() => [...i[14] || (i[14] = [v("i", {
164											"aria-hidden": "true",
165											class: "material-icons",
166											role: "img"
167										}, "edit", -1), g("\n                                        Bearbeiten\n                                    ", -1)])]),
168										_: 1
169									}, 8, ["to"])])]),
170									_: 2
171								}, 1024)])
172							]))), 128)) : (l(), h("tr", R, [...i[13] || (i[13] = [v("td", {
173								class: "padding-small text-center",
174								colspan: "4"
175							}, "\n                        Keine Kontakte gefunden.\n                    ", -1)])]))])
176						]),
177						i[24] || (i[24] = g()),
178						v("div", V, [p(D, {
179							actions: q.value,
180							items: $.value,
181							onButtonAction: Q
182						}, null, 8, ["actions", "items"])])
183					]),
184					_: 1
185				}, 16, ["entries"])]),
186				_: 1
187			});
188		};
189	}
190});
191//#endregion
192export { H as default };
193
194//# sourceMappingURL=CustomerListNew_DwTxcR9f.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.