@dejwcake/craftable 0.1.10 → 2.0.0

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.
Files changed (126) hide show
  1. package/README.md +117 -3
  2. package/dist/buildMatchPatternFn-BV4I8r8j.js +63 -0
  3. package/dist/buildMatchPatternFn-T5KjFTBQ.cjs +1 -0
  4. package/dist/craftable.css +2 -0
  5. package/dist/cs-B5QMxFrl.js +682 -0
  6. package/dist/cs-MAoetkhe.cjs +1 -0
  7. package/dist/de-BlQ2ZKmc.js +526 -0
  8. package/dist/de-BoVLAn6U.cjs +1 -0
  9. package/dist/en-US-BLvEnhs4.js +443 -0
  10. package/dist/en-US-Dz8vkDZ_.cjs +1 -0
  11. package/dist/en-US-X9gX759i.cjs +1 -0
  12. package/dist/es-DBHDeXHI.cjs +1 -0
  13. package/dist/es-YEqfkBY2.js +437 -0
  14. package/dist/fr-B7MHC2AN.js +407 -0
  15. package/dist/fr-DLs3QoNB.cjs +1 -0
  16. package/dist/hu-BKZPI9jH.cjs +1 -0
  17. package/dist/hu-reoJgNxD.js +425 -0
  18. package/dist/index.cjs +1 -0
  19. package/dist/index.mjs +3866 -0
  20. package/dist/isSameWeek-CC6GX_zp.js +40 -0
  21. package/dist/isSameWeek-Mctj6Tdj.cjs +1 -0
  22. package/dist/pl-B5A0Rjp7.js +628 -0
  23. package/dist/pl-BMyrOO-Q.cjs +1 -0
  24. package/dist/sk-B7JF2MoV.cjs +1 -0
  25. package/dist/sk-Btro3W4S.js +602 -0
  26. package/package.json +68 -40
  27. package/scripts/publish-components.js +118 -0
  28. package/scss/_images.scss +1 -1
  29. package/scss/_variables.scss +13 -6
  30. package/scss/app.scss +4 -4
  31. package/scss/overrides/_alerts.scss +0 -2
  32. package/scss/overrides/_badges.scss +1 -17
  33. package/scss/overrides/_buttons.scss +64 -7
  34. package/scss/overrides/_cards.scss +4 -51
  35. package/scss/overrides/_checkboxes.scss +54 -59
  36. package/scss/overrides/_forms.scss +270 -176
  37. package/scss/overrides/_index.scss +18 -18
  38. package/scss/overrides/_keyframes.scss +6 -4
  39. package/scss/overrides/_layout.scss +24 -30
  40. package/scss/overrides/_media-wysiwyg.scss +9 -111
  41. package/scss/overrides/_modal.scss +0 -18
  42. package/scss/overrides/_multiselect.scss +63 -7
  43. package/scss/overrides/_nav.scss +55 -33
  44. package/scss/overrides/_notifications.scss +6 -1
  45. package/scss/overrides/_pagination.scss +3 -3
  46. package/scss/overrides/_sidebar.scss +84 -0
  47. package/scss/overrides/_tables.scss +52 -37
  48. package/scss/overrides/_text.scss +1 -3
  49. package/scss/overrides/_wysiwyg.scss +151 -48
  50. package/scss/styles/_auth.scss +32 -37
  51. package/scss/styles/_custom.scss +44 -1
  52. package/scss/styles/_index.scss +4 -4
  53. package/scss/styles/_legacy.scss +5 -81
  54. package/scss/styles/_others.scss +232 -337
  55. package/scss/vendor/_index.scss +5 -4
  56. package/src/auth/ActivationError.vue +23 -0
  57. package/src/auth/ActivationForm.vue +69 -0
  58. package/src/auth/ForgotPasswordForm.vue +74 -0
  59. package/src/auth/LoginForm.vue +107 -0
  60. package/src/auth/ResetPasswordForm.vue +122 -0
  61. package/src/components/ConfirmModal.vue +65 -0
  62. package/src/components/UserDetailTooltip.vue +88 -0
  63. package/src/components/form/CkeditorEditor.vue +205 -0
  64. package/src/components/form/FormCheckbox.vue +29 -0
  65. package/src/components/form/FormDatePicker.vue +52 -0
  66. package/src/components/form/FormEmail.vue +17 -0
  67. package/src/components/form/FormInput.vue +31 -0
  68. package/src/components/form/FormLocalizedInput.vue +47 -0
  69. package/src/components/form/FormLocalizedWysiwyg.vue +55 -0
  70. package/src/components/form/FormLocalizedWysiwygSimple.vue +55 -0
  71. package/src/components/form/FormMultiSelect.vue +36 -0
  72. package/src/components/form/FormPasswordConfirm.vue +49 -0
  73. package/src/components/form/FormSelect.vue +35 -0
  74. package/src/components/form/FormSubmit.vue +13 -0
  75. package/src/components/form/FormTextarea.vue +31 -0
  76. package/src/components/form/FormWysiwyg.vue +31 -0
  77. package/src/components/form/FormWysiwygSimple.vue +31 -0
  78. package/src/components/form/LocalizationBar.vue +90 -0
  79. package/src/components/form/MediaUpload.vue +317 -0
  80. package/src/components/form/TiptapEditor.vue +238 -0
  81. package/src/components/listing/BulkCheckboxHeader.vue +18 -0
  82. package/src/components/listing/BulkCheckboxRow.vue +21 -0
  83. package/src/components/listing/BulkOperationsBar.vue +41 -0
  84. package/src/components/listing/DeleteButton.vue +46 -0
  85. package/src/components/listing/EditButton.vue +17 -0
  86. package/src/components/listing/EmptyState.vue +25 -0
  87. package/src/components/listing/ListingHeader.vue +24 -0
  88. package/src/components/listing/Pagination.vue +158 -0
  89. package/src/components/listing/PerPage.vue +15 -0
  90. package/src/components/listing/PublishedAtColumn.vue +226 -0
  91. package/src/components/listing/Search.vue +81 -0
  92. package/src/components/listing/Sortable.vue +28 -0
  93. package/src/components/listing/ToggleSwitch.vue +47 -0
  94. package/src/composables/useAdmin.js +39 -0
  95. package/src/composables/useBaseAuth.js +81 -0
  96. package/src/composables/useBaseForm.js +265 -0
  97. package/src/composables/useBaseListing.js +316 -0
  98. package/src/composables/useResponsiveColumns.js +62 -0
  99. package/src/index.js +62 -0
  100. package/src/translation/TranslationListing.vue +230 -0
  101. package/src/translation/modals/TranslationEditModal.vue +86 -0
  102. package/src/translation/modals/TranslationExportModal.vue +74 -0
  103. package/src/translation/modals/TranslationImportModal.vue +255 -0
  104. package/src/ui/index.js +99 -0
  105. package/src/utils/ckeditorHelpers.js +36 -0
  106. package/src/utils/dateFnsLocale.js +24 -0
  107. package/src/utils/dateFormatters.js +30 -0
  108. package/src/utils/mediaProps.js +14 -0
  109. package/src/utils/notify.js +22 -0
  110. package/dist/admin/Admin.js +0 -42
  111. package/dist/auth/Form.js +0 -15
  112. package/dist/base-components/Form/BaseForm.js +0 -395
  113. package/dist/base-components/Form/BaseUpload.js +0 -188
  114. package/dist/base-components/Form/bootstrap.js +0 -21
  115. package/dist/base-components/Listing/BaseListing.js +0 -454
  116. package/dist/base-components/Listing/components/Pagination.js +0 -105
  117. package/dist/base-components/Listing/components/Sortable.js +0 -48
  118. package/dist/base-components/Listing/components/UserDetailTooltip.js +0 -55
  119. package/dist/index.js +0 -70
  120. package/dist/overrides/trumbowyg.edit-embed-template.js +0 -72
  121. package/dist/overrides/trumbowyg.reupload.js +0 -146
  122. package/dist/overrides/trumbowyg.template.js +0 -67
  123. package/dist/translation/Form.js +0 -15
  124. package/dist/translation/Listing.js +0 -283
  125. package/dist/ui/index.js +0 -33
  126. package/scss/overrides/_switches.scss +0 -25
@@ -0,0 +1,526 @@
1
+ import { i as e, n as t, r as n, t as r } from "./buildMatchPatternFn-BV4I8r8j.js";
2
+ //#region node_modules/date-fns/locale/de/_lib/formatDistance.js
3
+ var i = {
4
+ lessThanXSeconds: {
5
+ standalone: {
6
+ one: "weniger als 1 Sekunde",
7
+ other: "weniger als {{count}} Sekunden"
8
+ },
9
+ withPreposition: {
10
+ one: "weniger als 1 Sekunde",
11
+ other: "weniger als {{count}} Sekunden"
12
+ }
13
+ },
14
+ xSeconds: {
15
+ standalone: {
16
+ one: "1 Sekunde",
17
+ other: "{{count}} Sekunden"
18
+ },
19
+ withPreposition: {
20
+ one: "1 Sekunde",
21
+ other: "{{count}} Sekunden"
22
+ }
23
+ },
24
+ halfAMinute: {
25
+ standalone: "eine halbe Minute",
26
+ withPreposition: "einer halben Minute"
27
+ },
28
+ lessThanXMinutes: {
29
+ standalone: {
30
+ one: "weniger als 1 Minute",
31
+ other: "weniger als {{count}} Minuten"
32
+ },
33
+ withPreposition: {
34
+ one: "weniger als 1 Minute",
35
+ other: "weniger als {{count}} Minuten"
36
+ }
37
+ },
38
+ xMinutes: {
39
+ standalone: {
40
+ one: "1 Minute",
41
+ other: "{{count}} Minuten"
42
+ },
43
+ withPreposition: {
44
+ one: "1 Minute",
45
+ other: "{{count}} Minuten"
46
+ }
47
+ },
48
+ aboutXHours: {
49
+ standalone: {
50
+ one: "etwa 1 Stunde",
51
+ other: "etwa {{count}} Stunden"
52
+ },
53
+ withPreposition: {
54
+ one: "etwa 1 Stunde",
55
+ other: "etwa {{count}} Stunden"
56
+ }
57
+ },
58
+ xHours: {
59
+ standalone: {
60
+ one: "1 Stunde",
61
+ other: "{{count}} Stunden"
62
+ },
63
+ withPreposition: {
64
+ one: "1 Stunde",
65
+ other: "{{count}} Stunden"
66
+ }
67
+ },
68
+ xDays: {
69
+ standalone: {
70
+ one: "1 Tag",
71
+ other: "{{count}} Tage"
72
+ },
73
+ withPreposition: {
74
+ one: "1 Tag",
75
+ other: "{{count}} Tagen"
76
+ }
77
+ },
78
+ aboutXWeeks: {
79
+ standalone: {
80
+ one: "etwa 1 Woche",
81
+ other: "etwa {{count}} Wochen"
82
+ },
83
+ withPreposition: {
84
+ one: "etwa 1 Woche",
85
+ other: "etwa {{count}} Wochen"
86
+ }
87
+ },
88
+ xWeeks: {
89
+ standalone: {
90
+ one: "1 Woche",
91
+ other: "{{count}} Wochen"
92
+ },
93
+ withPreposition: {
94
+ one: "1 Woche",
95
+ other: "{{count}} Wochen"
96
+ }
97
+ },
98
+ aboutXMonths: {
99
+ standalone: {
100
+ one: "etwa 1 Monat",
101
+ other: "etwa {{count}} Monate"
102
+ },
103
+ withPreposition: {
104
+ one: "etwa 1 Monat",
105
+ other: "etwa {{count}} Monaten"
106
+ }
107
+ },
108
+ xMonths: {
109
+ standalone: {
110
+ one: "1 Monat",
111
+ other: "{{count}} Monate"
112
+ },
113
+ withPreposition: {
114
+ one: "1 Monat",
115
+ other: "{{count}} Monaten"
116
+ }
117
+ },
118
+ aboutXYears: {
119
+ standalone: {
120
+ one: "etwa 1 Jahr",
121
+ other: "etwa {{count}} Jahre"
122
+ },
123
+ withPreposition: {
124
+ one: "etwa 1 Jahr",
125
+ other: "etwa {{count}} Jahren"
126
+ }
127
+ },
128
+ xYears: {
129
+ standalone: {
130
+ one: "1 Jahr",
131
+ other: "{{count}} Jahre"
132
+ },
133
+ withPreposition: {
134
+ one: "1 Jahr",
135
+ other: "{{count}} Jahren"
136
+ }
137
+ },
138
+ overXYears: {
139
+ standalone: {
140
+ one: "mehr als 1 Jahr",
141
+ other: "mehr als {{count}} Jahre"
142
+ },
143
+ withPreposition: {
144
+ one: "mehr als 1 Jahr",
145
+ other: "mehr als {{count}} Jahren"
146
+ }
147
+ },
148
+ almostXYears: {
149
+ standalone: {
150
+ one: "fast 1 Jahr",
151
+ other: "fast {{count}} Jahre"
152
+ },
153
+ withPreposition: {
154
+ one: "fast 1 Jahr",
155
+ other: "fast {{count}} Jahren"
156
+ }
157
+ }
158
+ }, a = (e, t, n) => {
159
+ let r, a = n?.addSuffix ? i[e].withPreposition : i[e].standalone;
160
+ return r = typeof a == "string" ? a : t === 1 ? a.one : a.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : "vor " + r : r;
161
+ }, o = {
162
+ date: e({
163
+ formats: {
164
+ full: "EEEE, do MMMM y",
165
+ long: "do MMMM y",
166
+ medium: "do MMM y",
167
+ short: "dd.MM.y"
168
+ },
169
+ defaultWidth: "full"
170
+ }),
171
+ time: e({
172
+ formats: {
173
+ full: "HH:mm:ss zzzz",
174
+ long: "HH:mm:ss z",
175
+ medium: "HH:mm:ss",
176
+ short: "HH:mm"
177
+ },
178
+ defaultWidth: "full"
179
+ }),
180
+ dateTime: e({
181
+ formats: {
182
+ full: "{{date}} 'um' {{time}}",
183
+ long: "{{date}} 'um' {{time}}",
184
+ medium: "{{date}} {{time}}",
185
+ short: "{{date}} {{time}}"
186
+ },
187
+ defaultWidth: "full"
188
+ })
189
+ }, s = {
190
+ lastWeek: "'letzten' eeee 'um' p",
191
+ yesterday: "'gestern um' p",
192
+ today: "'heute um' p",
193
+ tomorrow: "'morgen um' p",
194
+ nextWeek: "eeee 'um' p",
195
+ other: "P"
196
+ }, c = (e, t, n, r) => s[e], l = {
197
+ narrow: ["v.Chr.", "n.Chr."],
198
+ abbreviated: ["v.Chr.", "n.Chr."],
199
+ wide: ["vor Christus", "nach Christus"]
200
+ }, u = {
201
+ narrow: [
202
+ "1",
203
+ "2",
204
+ "3",
205
+ "4"
206
+ ],
207
+ abbreviated: [
208
+ "Q1",
209
+ "Q2",
210
+ "Q3",
211
+ "Q4"
212
+ ],
213
+ wide: [
214
+ "1. Quartal",
215
+ "2. Quartal",
216
+ "3. Quartal",
217
+ "4. Quartal"
218
+ ]
219
+ }, d = {
220
+ narrow: [
221
+ "J",
222
+ "F",
223
+ "M",
224
+ "A",
225
+ "M",
226
+ "J",
227
+ "J",
228
+ "A",
229
+ "S",
230
+ "O",
231
+ "N",
232
+ "D"
233
+ ],
234
+ abbreviated: [
235
+ "Jan",
236
+ "Feb",
237
+ "Mär",
238
+ "Apr",
239
+ "Mai",
240
+ "Jun",
241
+ "Jul",
242
+ "Aug",
243
+ "Sep",
244
+ "Okt",
245
+ "Nov",
246
+ "Dez"
247
+ ],
248
+ wide: [
249
+ "Januar",
250
+ "Februar",
251
+ "März",
252
+ "April",
253
+ "Mai",
254
+ "Juni",
255
+ "Juli",
256
+ "August",
257
+ "September",
258
+ "Oktober",
259
+ "November",
260
+ "Dezember"
261
+ ]
262
+ }, f = {
263
+ narrow: d.narrow,
264
+ abbreviated: [
265
+ "Jan.",
266
+ "Feb.",
267
+ "März",
268
+ "Apr.",
269
+ "Mai",
270
+ "Juni",
271
+ "Juli",
272
+ "Aug.",
273
+ "Sep.",
274
+ "Okt.",
275
+ "Nov.",
276
+ "Dez."
277
+ ],
278
+ wide: d.wide
279
+ }, p = {
280
+ code: "de",
281
+ formatDistance: a,
282
+ formatLong: o,
283
+ formatRelative: c,
284
+ localize: {
285
+ ordinalNumber: (e) => Number(e) + ".",
286
+ era: n({
287
+ values: l,
288
+ defaultWidth: "wide"
289
+ }),
290
+ quarter: n({
291
+ values: u,
292
+ defaultWidth: "wide",
293
+ argumentCallback: (e) => e - 1
294
+ }),
295
+ month: n({
296
+ values: d,
297
+ formattingValues: f,
298
+ defaultWidth: "wide"
299
+ }),
300
+ day: n({
301
+ values: {
302
+ narrow: [
303
+ "S",
304
+ "M",
305
+ "D",
306
+ "M",
307
+ "D",
308
+ "F",
309
+ "S"
310
+ ],
311
+ short: [
312
+ "So",
313
+ "Mo",
314
+ "Di",
315
+ "Mi",
316
+ "Do",
317
+ "Fr",
318
+ "Sa"
319
+ ],
320
+ abbreviated: [
321
+ "So.",
322
+ "Mo.",
323
+ "Di.",
324
+ "Mi.",
325
+ "Do.",
326
+ "Fr.",
327
+ "Sa."
328
+ ],
329
+ wide: [
330
+ "Sonntag",
331
+ "Montag",
332
+ "Dienstag",
333
+ "Mittwoch",
334
+ "Donnerstag",
335
+ "Freitag",
336
+ "Samstag"
337
+ ]
338
+ },
339
+ defaultWidth: "wide"
340
+ }),
341
+ dayPeriod: n({
342
+ values: {
343
+ narrow: {
344
+ am: "vm.",
345
+ pm: "nm.",
346
+ midnight: "Mitternacht",
347
+ noon: "Mittag",
348
+ morning: "Morgen",
349
+ afternoon: "Nachm.",
350
+ evening: "Abend",
351
+ night: "Nacht"
352
+ },
353
+ abbreviated: {
354
+ am: "vorm.",
355
+ pm: "nachm.",
356
+ midnight: "Mitternacht",
357
+ noon: "Mittag",
358
+ morning: "Morgen",
359
+ afternoon: "Nachmittag",
360
+ evening: "Abend",
361
+ night: "Nacht"
362
+ },
363
+ wide: {
364
+ am: "vormittags",
365
+ pm: "nachmittags",
366
+ midnight: "Mitternacht",
367
+ noon: "Mittag",
368
+ morning: "Morgen",
369
+ afternoon: "Nachmittag",
370
+ evening: "Abend",
371
+ night: "Nacht"
372
+ }
373
+ },
374
+ defaultWidth: "wide",
375
+ formattingValues: {
376
+ narrow: {
377
+ am: "vm.",
378
+ pm: "nm.",
379
+ midnight: "Mitternacht",
380
+ noon: "Mittag",
381
+ morning: "morgens",
382
+ afternoon: "nachm.",
383
+ evening: "abends",
384
+ night: "nachts"
385
+ },
386
+ abbreviated: {
387
+ am: "vorm.",
388
+ pm: "nachm.",
389
+ midnight: "Mitternacht",
390
+ noon: "Mittag",
391
+ morning: "morgens",
392
+ afternoon: "nachmittags",
393
+ evening: "abends",
394
+ night: "nachts"
395
+ },
396
+ wide: {
397
+ am: "vormittags",
398
+ pm: "nachmittags",
399
+ midnight: "Mitternacht",
400
+ noon: "Mittag",
401
+ morning: "morgens",
402
+ afternoon: "nachmittags",
403
+ evening: "abends",
404
+ night: "nachts"
405
+ }
406
+ },
407
+ defaultFormattingWidth: "wide"
408
+ })
409
+ },
410
+ match: {
411
+ ordinalNumber: r({
412
+ matchPattern: /^(\d+)(\.)?/i,
413
+ parsePattern: /\d+/i,
414
+ valueCallback: (e) => parseInt(e)
415
+ }),
416
+ era: t({
417
+ matchPatterns: {
418
+ narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
419
+ abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
420
+ wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
421
+ },
422
+ defaultMatchWidth: "wide",
423
+ parsePatterns: { any: [/^v/i, /^n/i] },
424
+ defaultParseWidth: "any"
425
+ }),
426
+ quarter: t({
427
+ matchPatterns: {
428
+ narrow: /^[1234]/i,
429
+ abbreviated: /^q[1234]/i,
430
+ wide: /^[1234](\.)? Quartal/i
431
+ },
432
+ defaultMatchWidth: "wide",
433
+ parsePatterns: { any: [
434
+ /1/i,
435
+ /2/i,
436
+ /3/i,
437
+ /4/i
438
+ ] },
439
+ defaultParseWidth: "any",
440
+ valueCallback: (e) => e + 1
441
+ }),
442
+ month: t({
443
+ matchPatterns: {
444
+ narrow: /^[jfmasond]/i,
445
+ abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
446
+ wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
447
+ },
448
+ defaultMatchWidth: "wide",
449
+ parsePatterns: {
450
+ narrow: [
451
+ /^j/i,
452
+ /^f/i,
453
+ /^m/i,
454
+ /^a/i,
455
+ /^m/i,
456
+ /^j/i,
457
+ /^j/i,
458
+ /^a/i,
459
+ /^s/i,
460
+ /^o/i,
461
+ /^n/i,
462
+ /^d/i
463
+ ],
464
+ any: [
465
+ /^j[aä]/i,
466
+ /^f/i,
467
+ /^mär/i,
468
+ /^ap/i,
469
+ /^mai/i,
470
+ /^jun/i,
471
+ /^jul/i,
472
+ /^au/i,
473
+ /^s/i,
474
+ /^o/i,
475
+ /^n/i,
476
+ /^d/i
477
+ ]
478
+ },
479
+ defaultParseWidth: "any"
480
+ }),
481
+ day: t({
482
+ matchPatterns: {
483
+ narrow: /^[smdmf]/i,
484
+ short: /^(so|mo|di|mi|do|fr|sa)/i,
485
+ abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
486
+ wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
487
+ },
488
+ defaultMatchWidth: "wide",
489
+ parsePatterns: { any: [
490
+ /^so/i,
491
+ /^mo/i,
492
+ /^di/i,
493
+ /^mi/i,
494
+ /^do/i,
495
+ /^f/i,
496
+ /^sa/i
497
+ ] },
498
+ defaultParseWidth: "any"
499
+ }),
500
+ dayPeriod: t({
501
+ matchPatterns: {
502
+ narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
503
+ abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
504
+ wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
505
+ },
506
+ defaultMatchWidth: "wide",
507
+ parsePatterns: { any: {
508
+ am: /^v/i,
509
+ pm: /^n/i,
510
+ midnight: /^Mitte/i,
511
+ noon: /^Mitta/i,
512
+ morning: /morgens/i,
513
+ afternoon: /nachmittags/i,
514
+ evening: /abends/i,
515
+ night: /nachts/i
516
+ } },
517
+ defaultParseWidth: "any"
518
+ })
519
+ },
520
+ options: {
521
+ weekStartsOn: 1,
522
+ firstWeekContainsDate: 4
523
+ }
524
+ };
525
+ //#endregion
526
+ export { p as de, p as default };
@@ -0,0 +1 @@
1
+ const e=require(`./buildMatchPatternFn-T5KjFTBQ.cjs`);var t={lessThanXSeconds:{standalone:{one:`weniger als 1 Sekunde`,other:`weniger als {{count}} Sekunden`},withPreposition:{one:`weniger als 1 Sekunde`,other:`weniger als {{count}} Sekunden`}},xSeconds:{standalone:{one:`1 Sekunde`,other:`{{count}} Sekunden`},withPreposition:{one:`1 Sekunde`,other:`{{count}} Sekunden`}},halfAMinute:{standalone:`eine halbe Minute`,withPreposition:`einer halben Minute`},lessThanXMinutes:{standalone:{one:`weniger als 1 Minute`,other:`weniger als {{count}} Minuten`},withPreposition:{one:`weniger als 1 Minute`,other:`weniger als {{count}} Minuten`}},xMinutes:{standalone:{one:`1 Minute`,other:`{{count}} Minuten`},withPreposition:{one:`1 Minute`,other:`{{count}} Minuten`}},aboutXHours:{standalone:{one:`etwa 1 Stunde`,other:`etwa {{count}} Stunden`},withPreposition:{one:`etwa 1 Stunde`,other:`etwa {{count}} Stunden`}},xHours:{standalone:{one:`1 Stunde`,other:`{{count}} Stunden`},withPreposition:{one:`1 Stunde`,other:`{{count}} Stunden`}},xDays:{standalone:{one:`1 Tag`,other:`{{count}} Tage`},withPreposition:{one:`1 Tag`,other:`{{count}} Tagen`}},aboutXWeeks:{standalone:{one:`etwa 1 Woche`,other:`etwa {{count}} Wochen`},withPreposition:{one:`etwa 1 Woche`,other:`etwa {{count}} Wochen`}},xWeeks:{standalone:{one:`1 Woche`,other:`{{count}} Wochen`},withPreposition:{one:`1 Woche`,other:`{{count}} Wochen`}},aboutXMonths:{standalone:{one:`etwa 1 Monat`,other:`etwa {{count}} Monate`},withPreposition:{one:`etwa 1 Monat`,other:`etwa {{count}} Monaten`}},xMonths:{standalone:{one:`1 Monat`,other:`{{count}} Monate`},withPreposition:{one:`1 Monat`,other:`{{count}} Monaten`}},aboutXYears:{standalone:{one:`etwa 1 Jahr`,other:`etwa {{count}} Jahre`},withPreposition:{one:`etwa 1 Jahr`,other:`etwa {{count}} Jahren`}},xYears:{standalone:{one:`1 Jahr`,other:`{{count}} Jahre`},withPreposition:{one:`1 Jahr`,other:`{{count}} Jahren`}},overXYears:{standalone:{one:`mehr als 1 Jahr`,other:`mehr als {{count}} Jahre`},withPreposition:{one:`mehr als 1 Jahr`,other:`mehr als {{count}} Jahren`}},almostXYears:{standalone:{one:`fast 1 Jahr`,other:`fast {{count}} Jahre`},withPreposition:{one:`fast 1 Jahr`,other:`fast {{count}} Jahren`}}},n=(e,n,r)=>{let i,a=r?.addSuffix?t[e].withPreposition:t[e].standalone;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},r={date:e.i({formats:{full:`EEEE, do MMMM y`,long:`do MMMM y`,medium:`do MMM y`,short:`dd.MM.y`},defaultWidth:`full`}),time:e.i({formats:{full:`HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:e.i({formats:{full:`{{date}} 'um' {{time}}`,long:`{{date}} 'um' {{time}}`,medium:`{{date}} {{time}}`,short:`{{date}} {{time}}`},defaultWidth:`full`})},i={lastWeek:`'letzten' eeee 'um' p`,yesterday:`'gestern um' p`,today:`'heute um' p`,tomorrow:`'morgen um' p`,nextWeek:`eeee 'um' p`,other:`P`},a=(e,t,n,r)=>i[e],o={narrow:[`v.Chr.`,`n.Chr.`],abbreviated:[`v.Chr.`,`n.Chr.`],wide:[`vor Christus`,`nach Christus`]},s={narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1. Quartal`,`2. Quartal`,`3. Quartal`,`4. Quartal`]},c={narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mär`,`Apr`,`Mai`,`Jun`,`Jul`,`Aug`,`Sep`,`Okt`,`Nov`,`Dez`],wide:[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`]},l={narrow:c.narrow,abbreviated:[`Jan.`,`Feb.`,`März`,`Apr.`,`Mai`,`Juni`,`Juli`,`Aug.`,`Sep.`,`Okt.`,`Nov.`,`Dez.`],wide:c.wide},u={code:`de`,formatDistance:n,formatLong:r,formatRelative:a,localize:{ordinalNumber:e=>Number(e)+`.`,era:e.r({values:o,defaultWidth:`wide`}),quarter:e.r({values:s,defaultWidth:`wide`,argumentCallback:e=>e-1}),month:e.r({values:c,formattingValues:l,defaultWidth:`wide`}),day:e.r({values:{narrow:[`S`,`M`,`D`,`M`,`D`,`F`,`S`],short:[`So`,`Mo`,`Di`,`Mi`,`Do`,`Fr`,`Sa`],abbreviated:[`So.`,`Mo.`,`Di.`,`Mi.`,`Do.`,`Fr.`,`Sa.`],wide:[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},defaultWidth:`wide`}),dayPeriod:e.r({values:{narrow:{am:`vm.`,pm:`nm.`,midnight:`Mitternacht`,noon:`Mittag`,morning:`Morgen`,afternoon:`Nachm.`,evening:`Abend`,night:`Nacht`},abbreviated:{am:`vorm.`,pm:`nachm.`,midnight:`Mitternacht`,noon:`Mittag`,morning:`Morgen`,afternoon:`Nachmittag`,evening:`Abend`,night:`Nacht`},wide:{am:`vormittags`,pm:`nachmittags`,midnight:`Mitternacht`,noon:`Mittag`,morning:`Morgen`,afternoon:`Nachmittag`,evening:`Abend`,night:`Nacht`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`vm.`,pm:`nm.`,midnight:`Mitternacht`,noon:`Mittag`,morning:`morgens`,afternoon:`nachm.`,evening:`abends`,night:`nachts`},abbreviated:{am:`vorm.`,pm:`nachm.`,midnight:`Mitternacht`,noon:`Mittag`,morning:`morgens`,afternoon:`nachmittags`,evening:`abends`,night:`nachts`},wide:{am:`vormittags`,pm:`nachmittags`,midnight:`Mitternacht`,noon:`Mittag`,morning:`morgens`,afternoon:`nachmittags`,evening:`abends`,night:`nachts`}},defaultFormattingWidth:`wide`})},match:{ordinalNumber:e.t({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:e.n({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:`any`}),quarter:e.n({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:e.n({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:e.n({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:e.n({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:`wide`,parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:4}};exports.de=u,exports.default=u;