ablok-components 0.3.111 → 0.3.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ablok-components.umd.js +2 -2
- package/dist/components/molecules/input-datepicker/input-datepicker.vue_vue_type_script_setup_true_lang.js +37 -39
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -17
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -22
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +0 -162
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatLong.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/localize.js +0 -213
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/match.js +0 -114
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de.js +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -69
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -202
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +0 -124
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +0 -69
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/localize.js +0 -177
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/match.js +0 -124
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr.js +0 -20
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { sanitizeHtml as e } from "../../../composables/useSanitize.js";
|
|
2
2
|
import { uniqueId as t } from "../../../utilities/helpers.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, normalizeClass as d, onMounted as f, openBlock as p, ref as m, renderSlot as h, resolveDynamicComponent as g, shallowRef as _, unref as v, watch as y } from "vue";
|
|
8
|
-
import { useI18n as b } from "vue-i18n";
|
|
4
|
+
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, onMounted as l, openBlock as u, ref as d, renderSlot as f, resolveDynamicComponent as p, shallowRef as m, unref as h, watch as g } from "vue";
|
|
5
|
+
import { useI18n as _ } from "vue-i18n";
|
|
6
|
+
import { de as v, enUS as y, fr as b } from "date-fns/locale";
|
|
9
7
|
//#region src/components/molecules/input-datepicker/input-datepicker.vue?vue&type=script&setup=true&lang.ts
|
|
10
8
|
var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w = { key: 0 }, T = { class: "input-group justify-content-center" }, E = {
|
|
11
9
|
key: 0,
|
|
@@ -13,7 +11,7 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
13
11
|
}, D = { class: "col-12 col-md-6" }, O = { class: "col-12 col-md-6" }, k = {
|
|
14
12
|
key: 1,
|
|
15
13
|
class: "row"
|
|
16
|
-
}, A = { class: "col-12" }, j = /*@__PURE__*/
|
|
14
|
+
}, A = { class: "col-12" }, j = /*@__PURE__*/ s({
|
|
17
15
|
__name: "input-datepicker",
|
|
18
16
|
props: {
|
|
19
17
|
modelValue: {
|
|
@@ -100,30 +98,30 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
100
98
|
"update:from",
|
|
101
99
|
"update:to"
|
|
102
100
|
],
|
|
103
|
-
setup(t, { emit:
|
|
101
|
+
setup(t, { emit: s }) {
|
|
104
102
|
let j = {
|
|
105
103
|
Sunday: 0,
|
|
106
104
|
Monday: 1
|
|
107
|
-
}, M =
|
|
108
|
-
|
|
105
|
+
}, M = m(null);
|
|
106
|
+
l(async () => {
|
|
109
107
|
let { VueDatePicker: e } = await import("@vuepic/vue-datepicker");
|
|
110
108
|
M.value = e, console.log("VueDatePicker loaded:", F.value, N.locale);
|
|
111
109
|
});
|
|
112
|
-
let N = t, P =
|
|
113
|
-
en:
|
|
114
|
-
de:
|
|
115
|
-
fr:
|
|
116
|
-
}, L =
|
|
110
|
+
let N = t, P = s, { t: ee, locale: F } = _(), I = {
|
|
111
|
+
en: y,
|
|
112
|
+
de: v,
|
|
113
|
+
fr: b
|
|
114
|
+
}, L = n(() => {
|
|
117
115
|
let e = N.locale || F.value;
|
|
118
|
-
return I[e] ||
|
|
119
|
-
}), R =
|
|
116
|
+
return I[e] || y;
|
|
117
|
+
}), R = n(() => {
|
|
120
118
|
switch (N.locale || F.value) {
|
|
121
119
|
case "en": return j.Sunday;
|
|
122
120
|
case "de":
|
|
123
121
|
case "fr": return j.Monday;
|
|
124
122
|
default: return j.Sunday;
|
|
125
123
|
}
|
|
126
|
-
}), z =
|
|
124
|
+
}), z = n(() => N.inline || !N.picker ? {
|
|
127
125
|
openMenu: !1,
|
|
128
126
|
format: L.value
|
|
129
127
|
} : !0);
|
|
@@ -142,8 +140,8 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
142
140
|
let e = N.from || (Array.isArray(N.modelValue) ? N.modelValue[0] : null), t = N.to || (Array.isArray(N.modelValue) ? N.modelValue[1] : null);
|
|
143
141
|
return N.utcStore ? (e = e ? Z(e) : null, t = t ? Z(t) : null) : (e = V(e), t = V(t)), [e, t];
|
|
144
142
|
}
|
|
145
|
-
let W =
|
|
146
|
-
|
|
143
|
+
let W = d(U());
|
|
144
|
+
g(() => [
|
|
147
145
|
N.modelValue,
|
|
148
146
|
N.from,
|
|
149
147
|
N.to,
|
|
@@ -159,7 +157,7 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
159
157
|
function K(e, t) {
|
|
160
158
|
W.value = [e ?? null, t ?? null], G(e ?? null, t ?? null);
|
|
161
159
|
}
|
|
162
|
-
let q =
|
|
160
|
+
let q = n({
|
|
163
161
|
get() {
|
|
164
162
|
if (N.range) {
|
|
165
163
|
let e = N.from || (Array.isArray(N.modelValue) ? N.modelValue[0] : null), t = N.to || (Array.isArray(N.modelValue) ? N.modelValue[1] : null);
|
|
@@ -180,14 +178,14 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
180
178
|
P("update:modelValue", t);
|
|
181
179
|
} else P("update:modelValue", H(e));
|
|
182
180
|
}
|
|
183
|
-
}), J =
|
|
181
|
+
}), J = n({
|
|
184
182
|
get() {
|
|
185
183
|
return W.value[0];
|
|
186
184
|
},
|
|
187
185
|
set(e) {
|
|
188
186
|
K(e, W.value[1]);
|
|
189
187
|
}
|
|
190
|
-
}), Y =
|
|
188
|
+
}), Y = n({
|
|
191
189
|
get() {
|
|
192
190
|
return W.value[1];
|
|
193
191
|
},
|
|
@@ -215,19 +213,19 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
215
213
|
return Number.isNaN(t.getTime()) ? null : t.toISOString().split(".")[0];
|
|
216
214
|
}
|
|
217
215
|
let $ = (e) => (e = Array.isArray(e) ? e.map((e) => X(e)).join(" - ") : X(e), e);
|
|
218
|
-
return (n,
|
|
219
|
-
|
|
216
|
+
return (n, s) => (u(), a("div", { class: c(["input", "input--datepicker"]) }, [
|
|
217
|
+
f(n.$slots, "label", {}, () => [o("div", x, [o("div", S, [t.label ? (u(), a("label", {
|
|
220
218
|
key: 0,
|
|
221
219
|
for: t.id,
|
|
222
220
|
class: "input__label",
|
|
223
|
-
innerHTML:
|
|
224
|
-
}, null, 8, C)) :
|
|
225
|
-
t.textInput ? (
|
|
226
|
-
|
|
227
|
-
t.range && !t.textRange ? (
|
|
221
|
+
innerHTML: h(e)(`${t.label}${t.required ? " *" : ""}`)
|
|
222
|
+
}, null, 8, C)) : i("", !0)])])]),
|
|
223
|
+
t.textInput ? (u(), a("div", w, [o("div", T, [
|
|
224
|
+
f(n.$slots, "input-prepend", { slotScope: "props" }),
|
|
225
|
+
t.range && !t.textRange ? (u(), a("div", E, [o("div", D, [(u(), r(p(M.value), {
|
|
228
226
|
uid: `${t.id}-from`,
|
|
229
227
|
modelValue: J.value,
|
|
230
|
-
"onUpdate:modelValue":
|
|
228
|
+
"onUpdate:modelValue": s[0] ||= (e) => J.value = e,
|
|
231
229
|
locale: L.value,
|
|
232
230
|
format: $,
|
|
233
231
|
"text-input": z.value,
|
|
@@ -247,10 +245,10 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
247
245
|
"required",
|
|
248
246
|
"max-date",
|
|
249
247
|
"week-start"
|
|
250
|
-
]))]),
|
|
248
|
+
]))]), o("div", O, [(u(), r(p(M.value), {
|
|
251
249
|
uid: `${t.id}-to`,
|
|
252
250
|
modelValue: Y.value,
|
|
253
|
-
"onUpdate:modelValue":
|
|
251
|
+
"onUpdate:modelValue": s[1] ||= (e) => Y.value = e,
|
|
254
252
|
locale: L.value,
|
|
255
253
|
format: $,
|
|
256
254
|
"text-input": z.value,
|
|
@@ -270,11 +268,11 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
270
268
|
"required",
|
|
271
269
|
"min-date",
|
|
272
270
|
"week-start"
|
|
273
|
-
]))])])) : (
|
|
271
|
+
]))])])) : (u(), r(p(M.value), {
|
|
274
272
|
key: 1,
|
|
275
273
|
uid: `${t.id}-input-to`,
|
|
276
274
|
modelValue: q.value,
|
|
277
|
-
"onUpdate:modelValue":
|
|
275
|
+
"onUpdate:modelValue": s[2] ||= (e) => q.value = e,
|
|
278
276
|
format: $,
|
|
279
277
|
locale: L.value,
|
|
280
278
|
range: t.textRange,
|
|
@@ -295,12 +293,12 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
295
293
|
"required",
|
|
296
294
|
"week-start"
|
|
297
295
|
])),
|
|
298
|
-
|
|
299
|
-
])])) :
|
|
300
|
-
t.inline ? (
|
|
296
|
+
f(n.$slots, "input-append", { slotScope: "props" })
|
|
297
|
+
])])) : i("", !0),
|
|
298
|
+
t.inline ? (u(), a("div", k, [o("div", A, [(u(), r(p(M.value), {
|
|
301
299
|
uid: `${t.id}-inline`,
|
|
302
300
|
modelValue: q.value,
|
|
303
|
-
"onUpdate:modelValue":
|
|
301
|
+
"onUpdate:modelValue": s[3] ||= (e) => q.value = e,
|
|
304
302
|
locale: L.value,
|
|
305
303
|
cancelText: "abbrechen",
|
|
306
304
|
selectText: "auswählen",
|
|
@@ -331,7 +329,7 @@ var x = { class: "row" }, S = { class: "col-12" }, C = ["for", "innerHTML"], w =
|
|
|
331
329
|
"read-only",
|
|
332
330
|
"required",
|
|
333
331
|
"week-start"
|
|
334
|
-
]))])])) :
|
|
332
|
+
]))])])) : i("", !0)
|
|
335
333
|
]));
|
|
336
334
|
}
|
|
337
335
|
});
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return (t = {}) => {
|
|
4
|
-
let n = t.width ? String(t.width) : e.defaultWidth;
|
|
5
|
-
return e.formats[n] || e.formats[e.defaultWidth];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { e as buildFormatLongFn };
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return (t, n) => {
|
|
4
|
-
let r = n?.context ? String(n.context) : "standalone", i;
|
|
5
|
-
if (r === "formatting" && e.formattingValues) {
|
|
6
|
-
let t = e.defaultFormattingWidth || e.defaultWidth, r = n?.width ? String(n.width) : t;
|
|
7
|
-
i = e.formattingValues[r] || e.formattingValues[t];
|
|
8
|
-
} else {
|
|
9
|
-
let t = e.defaultWidth, r = n?.width ? String(n.width) : e.defaultWidth;
|
|
10
|
-
i = e.values[r] || e.values[t];
|
|
11
|
-
}
|
|
12
|
-
let a = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
13
|
-
return i[a];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { e as buildLocalizeFn };
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return (r, i = {}) => {
|
|
4
|
-
let a = i.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], s = r.match(o);
|
|
5
|
-
if (!s) return null;
|
|
6
|
-
let c = s[0], l = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? n(l, (e) => e.test(c)) : t(l, (e) => e.test(c)), d;
|
|
7
|
-
d = e.valueCallback ? e.valueCallback(u) : u, d = i.valueCallback ? i.valueCallback(d) : d;
|
|
8
|
-
let f = r.slice(c.length);
|
|
9
|
-
return {
|
|
10
|
-
value: d,
|
|
11
|
-
rest: f
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function t(e, t) {
|
|
16
|
-
for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
|
|
17
|
-
}
|
|
18
|
-
function n(e, t) {
|
|
19
|
-
for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
export { e as buildMatchFn };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return (t, n = {}) => {
|
|
4
|
-
let r = t.match(e.matchPattern);
|
|
5
|
-
if (!r) return null;
|
|
6
|
-
let i = r[0], a = t.match(e.parsePattern);
|
|
7
|
-
if (!a) return null;
|
|
8
|
-
let o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
|
|
9
|
-
o = n.valueCallback ? n.valueCallback(o) : o;
|
|
10
|
-
let s = t.slice(i.length);
|
|
11
|
-
return {
|
|
12
|
-
value: o,
|
|
13
|
-
rest: s
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { e as buildMatchPatternFn };
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatDistance.js
|
|
2
|
-
var e = {
|
|
3
|
-
lessThanXSeconds: {
|
|
4
|
-
standalone: {
|
|
5
|
-
one: "weniger als 1 Sekunde",
|
|
6
|
-
other: "weniger als {{count}} Sekunden"
|
|
7
|
-
},
|
|
8
|
-
withPreposition: {
|
|
9
|
-
one: "weniger als 1 Sekunde",
|
|
10
|
-
other: "weniger als {{count}} Sekunden"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
xSeconds: {
|
|
14
|
-
standalone: {
|
|
15
|
-
one: "1 Sekunde",
|
|
16
|
-
other: "{{count}} Sekunden"
|
|
17
|
-
},
|
|
18
|
-
withPreposition: {
|
|
19
|
-
one: "1 Sekunde",
|
|
20
|
-
other: "{{count}} Sekunden"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
halfAMinute: {
|
|
24
|
-
standalone: "eine halbe Minute",
|
|
25
|
-
withPreposition: "einer halben Minute"
|
|
26
|
-
},
|
|
27
|
-
lessThanXMinutes: {
|
|
28
|
-
standalone: {
|
|
29
|
-
one: "weniger als 1 Minute",
|
|
30
|
-
other: "weniger als {{count}} Minuten"
|
|
31
|
-
},
|
|
32
|
-
withPreposition: {
|
|
33
|
-
one: "weniger als 1 Minute",
|
|
34
|
-
other: "weniger als {{count}} Minuten"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
xMinutes: {
|
|
38
|
-
standalone: {
|
|
39
|
-
one: "1 Minute",
|
|
40
|
-
other: "{{count}} Minuten"
|
|
41
|
-
},
|
|
42
|
-
withPreposition: {
|
|
43
|
-
one: "1 Minute",
|
|
44
|
-
other: "{{count}} Minuten"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
aboutXHours: {
|
|
48
|
-
standalone: {
|
|
49
|
-
one: "etwa 1 Stunde",
|
|
50
|
-
other: "etwa {{count}} Stunden"
|
|
51
|
-
},
|
|
52
|
-
withPreposition: {
|
|
53
|
-
one: "etwa 1 Stunde",
|
|
54
|
-
other: "etwa {{count}} Stunden"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
xHours: {
|
|
58
|
-
standalone: {
|
|
59
|
-
one: "1 Stunde",
|
|
60
|
-
other: "{{count}} Stunden"
|
|
61
|
-
},
|
|
62
|
-
withPreposition: {
|
|
63
|
-
one: "1 Stunde",
|
|
64
|
-
other: "{{count}} Stunden"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
xDays: {
|
|
68
|
-
standalone: {
|
|
69
|
-
one: "1 Tag",
|
|
70
|
-
other: "{{count}} Tage"
|
|
71
|
-
},
|
|
72
|
-
withPreposition: {
|
|
73
|
-
one: "1 Tag",
|
|
74
|
-
other: "{{count}} Tagen"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
aboutXWeeks: {
|
|
78
|
-
standalone: {
|
|
79
|
-
one: "etwa 1 Woche",
|
|
80
|
-
other: "etwa {{count}} Wochen"
|
|
81
|
-
},
|
|
82
|
-
withPreposition: {
|
|
83
|
-
one: "etwa 1 Woche",
|
|
84
|
-
other: "etwa {{count}} Wochen"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
xWeeks: {
|
|
88
|
-
standalone: {
|
|
89
|
-
one: "1 Woche",
|
|
90
|
-
other: "{{count}} Wochen"
|
|
91
|
-
},
|
|
92
|
-
withPreposition: {
|
|
93
|
-
one: "1 Woche",
|
|
94
|
-
other: "{{count}} Wochen"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
aboutXMonths: {
|
|
98
|
-
standalone: {
|
|
99
|
-
one: "etwa 1 Monat",
|
|
100
|
-
other: "etwa {{count}} Monate"
|
|
101
|
-
},
|
|
102
|
-
withPreposition: {
|
|
103
|
-
one: "etwa 1 Monat",
|
|
104
|
-
other: "etwa {{count}} Monaten"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
xMonths: {
|
|
108
|
-
standalone: {
|
|
109
|
-
one: "1 Monat",
|
|
110
|
-
other: "{{count}} Monate"
|
|
111
|
-
},
|
|
112
|
-
withPreposition: {
|
|
113
|
-
one: "1 Monat",
|
|
114
|
-
other: "{{count}} Monaten"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
aboutXYears: {
|
|
118
|
-
standalone: {
|
|
119
|
-
one: "etwa 1 Jahr",
|
|
120
|
-
other: "etwa {{count}} Jahre"
|
|
121
|
-
},
|
|
122
|
-
withPreposition: {
|
|
123
|
-
one: "etwa 1 Jahr",
|
|
124
|
-
other: "etwa {{count}} Jahren"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
xYears: {
|
|
128
|
-
standalone: {
|
|
129
|
-
one: "1 Jahr",
|
|
130
|
-
other: "{{count}} Jahre"
|
|
131
|
-
},
|
|
132
|
-
withPreposition: {
|
|
133
|
-
one: "1 Jahr",
|
|
134
|
-
other: "{{count}} Jahren"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
overXYears: {
|
|
138
|
-
standalone: {
|
|
139
|
-
one: "mehr als 1 Jahr",
|
|
140
|
-
other: "mehr als {{count}} Jahre"
|
|
141
|
-
},
|
|
142
|
-
withPreposition: {
|
|
143
|
-
one: "mehr als 1 Jahr",
|
|
144
|
-
other: "mehr als {{count}} Jahren"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
almostXYears: {
|
|
148
|
-
standalone: {
|
|
149
|
-
one: "fast 1 Jahr",
|
|
150
|
-
other: "fast {{count}} Jahre"
|
|
151
|
-
},
|
|
152
|
-
withPreposition: {
|
|
153
|
-
one: "fast 1 Jahr",
|
|
154
|
-
other: "fast {{count}} Jahren"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}, t = (t, n, r) => {
|
|
158
|
-
let i, a = r?.addSuffix ? e[t].withPreposition : e[t].standalone;
|
|
159
|
-
return i = typeof a == "string" ? a : n === 1 ? a.one : a.other.replace("{{count}}", String(n)), r?.addSuffix ? r.comparison && r.comparison > 0 ? "in " + i : "vor " + i : i;
|
|
160
|
-
};
|
|
161
|
-
//#endregion
|
|
162
|
-
export { t as formatDistance };
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatLong.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { buildFormatLongFn as e } from "../../_lib/buildFormatLongFn.js";
|
|
2
|
-
var t = {
|
|
3
|
-
date: e({
|
|
4
|
-
formats: {
|
|
5
|
-
full: "EEEE, do MMMM y",
|
|
6
|
-
long: "do MMMM y",
|
|
7
|
-
medium: "do MMM y",
|
|
8
|
-
short: "dd.MM.y"
|
|
9
|
-
},
|
|
10
|
-
defaultWidth: "full"
|
|
11
|
-
}),
|
|
12
|
-
time: e({
|
|
13
|
-
formats: {
|
|
14
|
-
full: "HH:mm:ss zzzz",
|
|
15
|
-
long: "HH:mm:ss z",
|
|
16
|
-
medium: "HH:mm:ss",
|
|
17
|
-
short: "HH:mm"
|
|
18
|
-
},
|
|
19
|
-
defaultWidth: "full"
|
|
20
|
-
}),
|
|
21
|
-
dateTime: e({
|
|
22
|
-
formats: {
|
|
23
|
-
full: "{{date}} 'um' {{time}}",
|
|
24
|
-
long: "{{date}} 'um' {{time}}",
|
|
25
|
-
medium: "{{date}} {{time}}",
|
|
26
|
-
short: "{{date}} {{time}}"
|
|
27
|
-
},
|
|
28
|
-
defaultWidth: "full"
|
|
29
|
-
})
|
|
30
|
-
};
|
|
31
|
-
//#endregion
|
|
32
|
-
export { t as formatLong };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatRelative.js
|
|
2
|
-
var e = {
|
|
3
|
-
lastWeek: "'letzten' eeee 'um' p",
|
|
4
|
-
yesterday: "'gestern um' p",
|
|
5
|
-
today: "'heute um' p",
|
|
6
|
-
tomorrow: "'morgen um' p",
|
|
7
|
-
nextWeek: "eeee 'um' p",
|
|
8
|
-
other: "P"
|
|
9
|
-
}, t = (t, n, r, i) => e[t];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { t as formatRelative };
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/localize.js
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { buildLocalizeFn as e } from "../../_lib/buildLocalizeFn.js";
|
|
2
|
-
//#region node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/localize.js
|
|
3
|
-
var t = {
|
|
4
|
-
narrow: ["v.Chr.", "n.Chr."],
|
|
5
|
-
abbreviated: ["v.Chr.", "n.Chr."],
|
|
6
|
-
wide: ["vor Christus", "nach Christus"]
|
|
7
|
-
}, n = {
|
|
8
|
-
narrow: [
|
|
9
|
-
"1",
|
|
10
|
-
"2",
|
|
11
|
-
"3",
|
|
12
|
-
"4"
|
|
13
|
-
],
|
|
14
|
-
abbreviated: [
|
|
15
|
-
"Q1",
|
|
16
|
-
"Q2",
|
|
17
|
-
"Q3",
|
|
18
|
-
"Q4"
|
|
19
|
-
],
|
|
20
|
-
wide: [
|
|
21
|
-
"1. Quartal",
|
|
22
|
-
"2. Quartal",
|
|
23
|
-
"3. Quartal",
|
|
24
|
-
"4. Quartal"
|
|
25
|
-
]
|
|
26
|
-
}, r = {
|
|
27
|
-
narrow: [
|
|
28
|
-
"J",
|
|
29
|
-
"F",
|
|
30
|
-
"M",
|
|
31
|
-
"A",
|
|
32
|
-
"M",
|
|
33
|
-
"J",
|
|
34
|
-
"J",
|
|
35
|
-
"A",
|
|
36
|
-
"S",
|
|
37
|
-
"O",
|
|
38
|
-
"N",
|
|
39
|
-
"D"
|
|
40
|
-
],
|
|
41
|
-
abbreviated: [
|
|
42
|
-
"Jan",
|
|
43
|
-
"Feb",
|
|
44
|
-
"Mär",
|
|
45
|
-
"Apr",
|
|
46
|
-
"Mai",
|
|
47
|
-
"Jun",
|
|
48
|
-
"Jul",
|
|
49
|
-
"Aug",
|
|
50
|
-
"Sep",
|
|
51
|
-
"Okt",
|
|
52
|
-
"Nov",
|
|
53
|
-
"Dez"
|
|
54
|
-
],
|
|
55
|
-
wide: [
|
|
56
|
-
"Januar",
|
|
57
|
-
"Februar",
|
|
58
|
-
"März",
|
|
59
|
-
"April",
|
|
60
|
-
"Mai",
|
|
61
|
-
"Juni",
|
|
62
|
-
"Juli",
|
|
63
|
-
"August",
|
|
64
|
-
"September",
|
|
65
|
-
"Oktober",
|
|
66
|
-
"November",
|
|
67
|
-
"Dezember"
|
|
68
|
-
]
|
|
69
|
-
}, i = {
|
|
70
|
-
narrow: r.narrow,
|
|
71
|
-
abbreviated: [
|
|
72
|
-
"Jan.",
|
|
73
|
-
"Feb.",
|
|
74
|
-
"März",
|
|
75
|
-
"Apr.",
|
|
76
|
-
"Mai",
|
|
77
|
-
"Juni",
|
|
78
|
-
"Juli",
|
|
79
|
-
"Aug.",
|
|
80
|
-
"Sep.",
|
|
81
|
-
"Okt.",
|
|
82
|
-
"Nov.",
|
|
83
|
-
"Dez."
|
|
84
|
-
],
|
|
85
|
-
wide: r.wide
|
|
86
|
-
}, a = {
|
|
87
|
-
ordinalNumber: (e) => Number(e) + ".",
|
|
88
|
-
era: e({
|
|
89
|
-
values: t,
|
|
90
|
-
defaultWidth: "wide"
|
|
91
|
-
}),
|
|
92
|
-
quarter: e({
|
|
93
|
-
values: n,
|
|
94
|
-
defaultWidth: "wide",
|
|
95
|
-
argumentCallback: (e) => e - 1
|
|
96
|
-
}),
|
|
97
|
-
month: e({
|
|
98
|
-
values: r,
|
|
99
|
-
formattingValues: i,
|
|
100
|
-
defaultWidth: "wide"
|
|
101
|
-
}),
|
|
102
|
-
day: e({
|
|
103
|
-
values: {
|
|
104
|
-
narrow: [
|
|
105
|
-
"S",
|
|
106
|
-
"M",
|
|
107
|
-
"D",
|
|
108
|
-
"M",
|
|
109
|
-
"D",
|
|
110
|
-
"F",
|
|
111
|
-
"S"
|
|
112
|
-
],
|
|
113
|
-
short: [
|
|
114
|
-
"So",
|
|
115
|
-
"Mo",
|
|
116
|
-
"Di",
|
|
117
|
-
"Mi",
|
|
118
|
-
"Do",
|
|
119
|
-
"Fr",
|
|
120
|
-
"Sa"
|
|
121
|
-
],
|
|
122
|
-
abbreviated: [
|
|
123
|
-
"So.",
|
|
124
|
-
"Mo.",
|
|
125
|
-
"Di.",
|
|
126
|
-
"Mi.",
|
|
127
|
-
"Do.",
|
|
128
|
-
"Fr.",
|
|
129
|
-
"Sa."
|
|
130
|
-
],
|
|
131
|
-
wide: [
|
|
132
|
-
"Sonntag",
|
|
133
|
-
"Montag",
|
|
134
|
-
"Dienstag",
|
|
135
|
-
"Mittwoch",
|
|
136
|
-
"Donnerstag",
|
|
137
|
-
"Freitag",
|
|
138
|
-
"Samstag"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
defaultWidth: "wide"
|
|
142
|
-
}),
|
|
143
|
-
dayPeriod: e({
|
|
144
|
-
values: {
|
|
145
|
-
narrow: {
|
|
146
|
-
am: "vm.",
|
|
147
|
-
pm: "nm.",
|
|
148
|
-
midnight: "Mitternacht",
|
|
149
|
-
noon: "Mittag",
|
|
150
|
-
morning: "Morgen",
|
|
151
|
-
afternoon: "Nachm.",
|
|
152
|
-
evening: "Abend",
|
|
153
|
-
night: "Nacht"
|
|
154
|
-
},
|
|
155
|
-
abbreviated: {
|
|
156
|
-
am: "vorm.",
|
|
157
|
-
pm: "nachm.",
|
|
158
|
-
midnight: "Mitternacht",
|
|
159
|
-
noon: "Mittag",
|
|
160
|
-
morning: "Morgen",
|
|
161
|
-
afternoon: "Nachmittag",
|
|
162
|
-
evening: "Abend",
|
|
163
|
-
night: "Nacht"
|
|
164
|
-
},
|
|
165
|
-
wide: {
|
|
166
|
-
am: "vormittags",
|
|
167
|
-
pm: "nachmittags",
|
|
168
|
-
midnight: "Mitternacht",
|
|
169
|
-
noon: "Mittag",
|
|
170
|
-
morning: "Morgen",
|
|
171
|
-
afternoon: "Nachmittag",
|
|
172
|
-
evening: "Abend",
|
|
173
|
-
night: "Nacht"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
defaultWidth: "wide",
|
|
177
|
-
formattingValues: {
|
|
178
|
-
narrow: {
|
|
179
|
-
am: "vm.",
|
|
180
|
-
pm: "nm.",
|
|
181
|
-
midnight: "Mitternacht",
|
|
182
|
-
noon: "Mittag",
|
|
183
|
-
morning: "morgens",
|
|
184
|
-
afternoon: "nachm.",
|
|
185
|
-
evening: "abends",
|
|
186
|
-
night: "nachts"
|
|
187
|
-
},
|
|
188
|
-
abbreviated: {
|
|
189
|
-
am: "vorm.",
|
|
190
|
-
pm: "nachm.",
|
|
191
|
-
midnight: "Mitternacht",
|
|
192
|
-
noon: "Mittag",
|
|
193
|
-
morning: "morgens",
|
|
194
|
-
afternoon: "nachmittags",
|
|
195
|
-
evening: "abends",
|
|
196
|
-
night: "nachts"
|
|
197
|
-
},
|
|
198
|
-
wide: {
|
|
199
|
-
am: "vormittags",
|
|
200
|
-
pm: "nachmittags",
|
|
201
|
-
midnight: "Mitternacht",
|
|
202
|
-
noon: "Mittag",
|
|
203
|
-
morning: "morgens",
|
|
204
|
-
afternoon: "nachmittags",
|
|
205
|
-
evening: "abends",
|
|
206
|
-
night: "nachts"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
defaultFormattingWidth: "wide"
|
|
210
|
-
})
|
|
211
|
-
};
|
|
212
|
-
//#endregion
|
|
213
|
-
export { a as localize };
|