ablok-components 0.3.58 → 0.3.60

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 (199) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/ablok-components.css +1 -1
  3. package/dist/ablok-components.umd.js +4 -4
  4. package/dist/assets/img/guide.png.js +4 -0
  5. package/dist/components/atoms/base-button/base-button.vue.js +92 -0
  6. package/dist/components/atoms/base-button/base-button.vue3.js +5 -0
  7. package/dist/components/atoms/base-headline/base-headline.vue.js +30 -0
  8. package/dist/components/atoms/base-headline/base-headline.vue2.js +4 -0
  9. package/dist/components/atoms/base-image/base-image.vue.js +75 -0
  10. package/dist/components/atoms/base-image/base-image.vue3.js +5 -0
  11. package/dist/components/atoms/base-input/base-input.vue.js +181 -0
  12. package/dist/components/atoms/base-input/base-input.vue3.js +5 -0
  13. package/dist/components/atoms/base-paragraph/base-paragraph.vue.js +21 -0
  14. package/dist/components/atoms/base-paragraph/base-paragraph.vue2.js +4 -0
  15. package/dist/components/atoms/canvas-confetti/canvas-confetti.vue.js +113 -0
  16. package/dist/components/atoms/canvas-confetti/canvas-confetti.vue3.js +5 -0
  17. package/dist/components/atoms/check-group/check-group.vue.js +86 -0
  18. package/dist/components/atoms/check-group/check-group.vue3.js +5 -0
  19. package/dist/components/atoms/custom-html/custom-html.vue.js +26 -0
  20. package/dist/components/atoms/custom-html/custom-html.vue2.js +4 -0
  21. package/dist/components/atoms/input-checkbox/input-checkbox.vue.js +84 -0
  22. package/dist/components/atoms/input-checkbox/input-checkbox.vue3.js +5 -0
  23. package/dist/components/atoms/input-datetime/input-datetime.vue.js +99 -0
  24. package/dist/components/atoms/input-datetime/input-datetime.vue2.js +4 -0
  25. package/dist/components/atoms/input-file/input-file.vue.js +130 -0
  26. package/dist/components/atoms/input-file/input-file.vue2.js +4 -0
  27. package/dist/components/atoms/input-passcode/input-passcode.vue.js +149 -0
  28. package/dist/components/atoms/input-passcode/input-passcode.vue2.js +4 -0
  29. package/dist/components/atoms/input-password/input-password.vue.js +118 -0
  30. package/dist/components/atoms/input-password/input-password.vue2.js +4 -0
  31. package/dist/components/atoms/input-textarea/input-textarea.vue.js +105 -0
  32. package/dist/components/atoms/input-textarea/input-textarea.vue2.js +4 -0
  33. package/dist/components/atoms/loading-spinner/loading-spinner.vue.js +38 -0
  34. package/dist/components/atoms/loading-spinner/loading-spinner.vue3.js +5 -0
  35. package/dist/components/atoms/radio-group/radio-group.vue.js +99 -0
  36. package/dist/components/atoms/radio-group/radio-group.vue3.js +5 -0
  37. package/dist/components/atoms/svg-icon/svg-icon.vue.js +44 -0
  38. package/dist/components/atoms/svg-icon/svg-icon.vue3.js +5 -0
  39. package/dist/components/atoms/zoom-slider/zoom-slider.vue.js +59 -0
  40. package/dist/components/atoms/zoom-slider/zoom-slider.vue3.js +5 -0
  41. package/dist/components/molecules/accordion/accordion-item.vue.js +76 -0
  42. package/dist/components/molecules/accordion/accordion-item.vue3.js +5 -0
  43. package/dist/components/molecules/accordion/accordion.vue.js +12 -0
  44. package/dist/components/molecules/auto-suggest/auto-suggest.vue.js +132 -0
  45. package/dist/components/molecules/auto-suggest/auto-suggest.vue3.js +5 -0
  46. package/dist/components/molecules/base-camera/base-camera.vue.js +392 -0
  47. package/dist/components/molecules/base-camera/base-camera.vue3.js +5 -0
  48. package/dist/components/molecules/base-map/base-map.vue.js +386 -0
  49. package/dist/components/molecules/base-map/base-map.vue3.js +5 -0
  50. package/dist/components/molecules/color-palette/color-palette.vue.js +72 -0
  51. package/dist/components/molecules/color-palette/color-palette.vue3.js +5 -0
  52. package/dist/components/molecules/dom-renderer/dom-renderer.vue.js +102 -0
  53. package/dist/components/molecules/dom-renderer/dom-renderer.vue2.js +4 -0
  54. package/dist/components/molecules/file-upload/file-upload.vue.js +177 -0
  55. package/dist/components/molecules/file-upload/file-upload.vue3.js +5 -0
  56. package/dist/components/molecules/hint-system/hint-system.vue.d.ts +1 -1
  57. package/dist/components/molecules/hint-system/hint-system.vue.js +111 -0
  58. package/dist/components/molecules/hint-system/hint-system.vue3.js +5 -0
  59. package/dist/components/molecules/image-crop/image-crop.vue.js +82 -0
  60. package/dist/components/molecules/image-crop/image-crop.vue2.js +4 -0
  61. package/dist/components/molecules/image-crop-resize/image-crop-resize.vue.js +120 -0
  62. package/dist/components/molecules/image-crop-resize/image-crop-resize.vue2.js +4 -0
  63. package/dist/components/molecules/image-resize/image-resize.vue.js +143 -0
  64. package/dist/components/molecules/image-resize/image-resize.vue2.js +4 -0
  65. package/dist/components/molecules/image-upload/image-upload.vue.js +274 -0
  66. package/dist/components/molecules/image-upload/image-upload.vue3.js +5 -0
  67. package/dist/components/molecules/image-zoom/image-zoom.vue.js +209 -0
  68. package/dist/components/molecules/image-zoom/image-zoom.vue3.js +5 -0
  69. package/dist/components/molecules/input-color/input-color.vue.js +105 -0
  70. package/dist/components/molecules/input-color/input-color.vue3.js +5 -0
  71. package/dist/components/molecules/input-datepicker/input-datepicker.vue.js +263 -0
  72. package/dist/components/molecules/input-datepicker/input-datepicker.vue3.js +5 -0
  73. package/dist/components/molecules/input-dropdown/input-dropdown.vue.js +207 -0
  74. package/dist/components/molecules/input-dropdown/input-dropdown.vue3.js +5 -0
  75. package/dist/components/molecules/link-sharing/link-sharing.vue.js +177 -0
  76. package/dist/components/molecules/link-sharing/link-sharing.vue3.js +7 -0
  77. package/dist/components/molecules/location-list/location-list.vue.js +98 -0
  78. package/dist/components/molecules/location-list/location-list.vue3.js +5 -0
  79. package/dist/components/molecules/media-thumbnails/media-thumbnails.vue.js +55 -0
  80. package/dist/components/molecules/media-thumbnails/media-thumbnails.vue3.js +5 -0
  81. package/dist/components/molecules/popover-notifications/popover-notifications.vue.js +135 -0
  82. package/dist/components/molecules/popover-notifications/popover-notifications.vue3.js +5 -0
  83. package/dist/components/molecules/popover-tooltip/popover-tooltip.vue.js +134 -0
  84. package/dist/components/molecules/popover-tooltip/popover-tooltip.vue3.js +5 -0
  85. package/dist/components/molecules/progress-steps/progress-steps.vue.js +84 -0
  86. package/dist/components/molecules/progress-steps/progress-steps.vue3.js +5 -0
  87. package/dist/components/molecules/qr-code/qr-code.vue.js +103 -0
  88. package/dist/components/molecules/qr-code/qr-code.vue3.js +5 -0
  89. package/dist/components/molecules/radio-buttons/radio-buttons.vue.js +79 -0
  90. package/dist/components/molecules/radio-buttons/radio-buttons.vue3.js +5 -0
  91. package/dist/components/molecules/rte-editor/rte-editor.vue.d.ts +1 -1
  92. package/dist/components/molecules/rte-editor/rte-editor.vue.js +472 -0
  93. package/dist/components/molecules/rte-editor/rte-editor.vue3.js +5 -0
  94. package/dist/components/molecules/select-media/select-media.vue.js +87 -0
  95. package/dist/components/molecules/select-media/select-media.vue3.js +5 -0
  96. package/dist/components/molecules/upload-group/upload-group.vue.js +178 -0
  97. package/dist/components/molecules/upload-group/upload-group.vue3.js +5 -0
  98. package/dist/components/organisms/asset-uploader/asset-uploader.vue.js +126 -0
  99. package/dist/components/organisms/asset-uploader/asset-uploader.vue3.js +5 -0
  100. package/dist/components/organisms/location-finder/location-finder.vue.js +634 -0
  101. package/dist/components/organisms/location-finder/location-finder.vue3.js +5 -0
  102. package/dist/components/templates/base-carousel/base-carousel.vue.js +94 -0
  103. package/dist/components/templates/base-carousel/base-carousel.vue3.js +5 -0
  104. package/dist/components/templates/base-form/base-form.vue.js +35 -0
  105. package/dist/components/templates/base-form/base-form.vue3.js +5 -0
  106. package/dist/components/templates/modal-dialog/modal-dialog.vue.js +123 -0
  107. package/dist/components/templates/modal-dialog/modal-dialog.vue3.js +5 -0
  108. package/dist/components/templates/popover-dialog/popover-dialog.vue.js +95 -0
  109. package/dist/components/templates/popover-dialog/popover-dialog.vue3.js +5 -0
  110. package/dist/components/templates/sortable-list/sortable-list.vue.js +160 -0
  111. package/dist/components/templates/sortable-list/sortable-list.vue3.js +5 -0
  112. package/dist/components/templates/touch-wrapper/touch-wrapper.vue.js +85 -0
  113. package/dist/components/templates/touch-wrapper/touch-wrapper.vue3.js +5 -0
  114. package/dist/composables/useCameraFilter.js +56 -0
  115. package/dist/composables/useConfetti.js +12 -0
  116. package/dist/composables/useDirections.js +62 -0
  117. package/dist/composables/useFileUpload.js +79 -0
  118. package/dist/composables/useGeocoding.js +85 -0
  119. package/dist/composables/useGeolocation.js +71 -0
  120. package/dist/composables/useSanitize.js +23 -0
  121. package/dist/i18n.d.ts +3 -0
  122. package/dist/index.js +156 -0
  123. package/dist/locales/en.d.ts +3 -0
  124. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  125. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  126. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  127. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  128. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +163 -0
  129. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/formatLong.js +37 -0
  130. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +11 -0
  131. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/localize.js +161 -0
  132. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de/_lib/match.js +112 -0
  133. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de.js +20 -0
  134. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  135. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  136. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  137. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  138. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  139. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.js +20 -0
  140. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +70 -0
  141. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +33 -0
  142. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -0
  143. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr/_lib/localize.js +121 -0
  144. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr/_lib/match.js +110 -0
  145. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr.js +20 -0
  146. package/dist/rte-icons-defs.svg +9 -0
  147. package/dist/utilities/helpers.js +79 -0
  148. package/package.json +80 -25
  149. package/dist/ablok-components.es.js +0 -8655
  150. package/dist/components/atoms/base-button/base-button.spec.d.ts +0 -1
  151. package/dist/components/atoms/base-headline/base-headline.spec.d.ts +0 -1
  152. package/dist/components/atoms/base-image/base-image.spec.d.ts +0 -1
  153. package/dist/components/atoms/base-input/base-input.spec.d.ts +0 -1
  154. package/dist/components/atoms/base-paragraph/base-paragraph.spec.d.ts +0 -1
  155. package/dist/components/atoms/canvas-confetti/canvas-confetti.spec.d.ts +0 -1
  156. package/dist/components/atoms/check-group/check-group.spec.d.ts +0 -1
  157. package/dist/components/atoms/custom-html/custom-html.spec.d.ts +0 -1
  158. package/dist/components/atoms/input-checkbox/input-checkbox.spec.d.ts +0 -1
  159. package/dist/components/atoms/input-file/input-file.spec.d.ts +0 -1
  160. package/dist/components/atoms/input-passcode/input-passcode.spec.d.ts +0 -1
  161. package/dist/components/atoms/input-password/input-password.spec.d.ts +0 -1
  162. package/dist/components/atoms/input-textarea/input-textarea.spec.d.ts +0 -1
  163. package/dist/components/atoms/loading-spinner/loading-spinner.spec.d.ts +0 -1
  164. package/dist/components/atoms/radio-group/radio-group.spec.d.ts +0 -1
  165. package/dist/components/atoms/svg-icon/svg-icon.spec.d.ts +0 -1
  166. package/dist/components/atoms/zoom-slider/zoom-slider.spec.d.ts +0 -1
  167. package/dist/components/molecules/accordion/accordion-item.spec.d.ts +0 -1
  168. package/dist/components/molecules/auto-suggest/auto-suggest.spec.d.ts +0 -1
  169. package/dist/components/molecules/base-map/base-map.spec.d.ts +0 -1
  170. package/dist/components/molecules/color-palette/color-palette.spec.d.ts +0 -1
  171. package/dist/components/molecules/dom-renderer/dom-renderer.spec.d.ts +0 -1
  172. package/dist/components/molecules/file-upload/file-upload.spec.d.ts +0 -1
  173. package/dist/components/molecules/hint-system/hint-system.spec.d.ts +0 -1
  174. package/dist/components/molecules/image-crop/image-crop.spec.d.ts +0 -1
  175. package/dist/components/molecules/image-crop-resize/image-crop-resize.spec.d.ts +0 -1
  176. package/dist/components/molecules/image-resize/image-resize.spec.d.ts +0 -1
  177. package/dist/components/molecules/image-upload/image-upload.spec.d.ts +0 -1
  178. package/dist/components/molecules/image-zoom/image-zoom.spec.d.ts +0 -1
  179. package/dist/components/molecules/input-color/input-color.spec.d.ts +0 -1
  180. package/dist/components/molecules/input-datepicker/input-datepicker.spec.d.ts +0 -1
  181. package/dist/components/molecules/input-dropdown/input-dropdown.spec.d.ts +0 -1
  182. package/dist/components/molecules/link-sharing/link-sharing.spec.d.ts +0 -1
  183. package/dist/components/molecules/media-thumbnails/media-thumbnails.spec.d.ts +0 -1
  184. package/dist/components/molecules/popover-notifications/popover-notifications.spec.d.ts +0 -1
  185. package/dist/components/molecules/popover-tooltip/popover-tooltip.spec.d.ts +0 -1
  186. package/dist/components/molecules/progress-steps/progress-steps.spec.d.ts +0 -1
  187. package/dist/components/molecules/qr-code/qr-code.spec.d.ts +0 -1
  188. package/dist/components/molecules/radio-buttons/radio-buttons.spec.d.ts +0 -1
  189. package/dist/components/molecules/rte-editor/rte-editor.spec.d.ts +0 -1
  190. package/dist/components/molecules/select-media/select-media.spec.d.ts +0 -1
  191. package/dist/components/molecules/upload-group/upload-group.spec.d.ts +0 -1
  192. package/dist/components/organisms/asset-uploader/asset-uploader.spec.d.ts +0 -1
  193. package/dist/components/organisms/location-finder/location-finder.spec.d.ts +0 -1
  194. package/dist/components/templates/base-carousel/base-carousel.spec.d.ts +0 -1
  195. package/dist/components/templates/base-form/base-form.spec.d.ts +0 -1
  196. package/dist/components/templates/modal-dialog/modal-dialog.spec.d.ts +0 -1
  197. package/dist/components/templates/popover-dialog/popover-dialog.spec.d.ts +0 -1
  198. package/dist/components/templates/sortable-list/sortable-list.spec.d.ts +0 -1
  199. package/dist/components/templates/touch-wrapper/touch-wrapper.spec.d.ts +0 -1
@@ -0,0 +1,163 @@
1
+ const r = {
2
+ lessThanXSeconds: {
3
+ standalone: {
4
+ one: "weniger als 1 Sekunde",
5
+ other: "weniger als {{count}} Sekunden"
6
+ },
7
+ withPreposition: {
8
+ one: "weniger als 1 Sekunde",
9
+ other: "weniger als {{count}} Sekunden"
10
+ }
11
+ },
12
+ xSeconds: {
13
+ standalone: {
14
+ one: "1 Sekunde",
15
+ other: "{{count}} Sekunden"
16
+ },
17
+ withPreposition: {
18
+ one: "1 Sekunde",
19
+ other: "{{count}} Sekunden"
20
+ }
21
+ },
22
+ halfAMinute: {
23
+ standalone: "eine halbe Minute",
24
+ withPreposition: "einer halben Minute"
25
+ },
26
+ lessThanXMinutes: {
27
+ standalone: {
28
+ one: "weniger als 1 Minute",
29
+ other: "weniger als {{count}} Minuten"
30
+ },
31
+ withPreposition: {
32
+ one: "weniger als 1 Minute",
33
+ other: "weniger als {{count}} Minuten"
34
+ }
35
+ },
36
+ xMinutes: {
37
+ standalone: {
38
+ one: "1 Minute",
39
+ other: "{{count}} Minuten"
40
+ },
41
+ withPreposition: {
42
+ one: "1 Minute",
43
+ other: "{{count}} Minuten"
44
+ }
45
+ },
46
+ aboutXHours: {
47
+ standalone: {
48
+ one: "etwa 1 Stunde",
49
+ other: "etwa {{count}} Stunden"
50
+ },
51
+ withPreposition: {
52
+ one: "etwa 1 Stunde",
53
+ other: "etwa {{count}} Stunden"
54
+ }
55
+ },
56
+ xHours: {
57
+ standalone: {
58
+ one: "1 Stunde",
59
+ other: "{{count}} Stunden"
60
+ },
61
+ withPreposition: {
62
+ one: "1 Stunde",
63
+ other: "{{count}} Stunden"
64
+ }
65
+ },
66
+ xDays: {
67
+ standalone: {
68
+ one: "1 Tag",
69
+ other: "{{count}} Tage"
70
+ },
71
+ withPreposition: {
72
+ one: "1 Tag",
73
+ other: "{{count}} Tagen"
74
+ }
75
+ },
76
+ aboutXWeeks: {
77
+ standalone: {
78
+ one: "etwa 1 Woche",
79
+ other: "etwa {{count}} Wochen"
80
+ },
81
+ withPreposition: {
82
+ one: "etwa 1 Woche",
83
+ other: "etwa {{count}} Wochen"
84
+ }
85
+ },
86
+ xWeeks: {
87
+ standalone: {
88
+ one: "1 Woche",
89
+ other: "{{count}} Wochen"
90
+ },
91
+ withPreposition: {
92
+ one: "1 Woche",
93
+ other: "{{count}} Wochen"
94
+ }
95
+ },
96
+ aboutXMonths: {
97
+ standalone: {
98
+ one: "etwa 1 Monat",
99
+ other: "etwa {{count}} Monate"
100
+ },
101
+ withPreposition: {
102
+ one: "etwa 1 Monat",
103
+ other: "etwa {{count}} Monaten"
104
+ }
105
+ },
106
+ xMonths: {
107
+ standalone: {
108
+ one: "1 Monat",
109
+ other: "{{count}} Monate"
110
+ },
111
+ withPreposition: {
112
+ one: "1 Monat",
113
+ other: "{{count}} Monaten"
114
+ }
115
+ },
116
+ aboutXYears: {
117
+ standalone: {
118
+ one: "etwa 1 Jahr",
119
+ other: "etwa {{count}} Jahre"
120
+ },
121
+ withPreposition: {
122
+ one: "etwa 1 Jahr",
123
+ other: "etwa {{count}} Jahren"
124
+ }
125
+ },
126
+ xYears: {
127
+ standalone: {
128
+ one: "1 Jahr",
129
+ other: "{{count}} Jahre"
130
+ },
131
+ withPreposition: {
132
+ one: "1 Jahr",
133
+ other: "{{count}} Jahren"
134
+ }
135
+ },
136
+ overXYears: {
137
+ standalone: {
138
+ one: "mehr als 1 Jahr",
139
+ other: "mehr als {{count}} Jahre"
140
+ },
141
+ withPreposition: {
142
+ one: "mehr als 1 Jahr",
143
+ other: "mehr als {{count}} Jahren"
144
+ }
145
+ },
146
+ almostXYears: {
147
+ standalone: {
148
+ one: "fast 1 Jahr",
149
+ other: "fast {{count}} Jahre"
150
+ },
151
+ withPreposition: {
152
+ one: "fast 1 Jahr",
153
+ other: "fast {{count}} Jahren"
154
+ }
155
+ }
156
+ }, i = (o, a, n) => {
157
+ let e;
158
+ const t = n?.addSuffix ? r[o].withPreposition : r[o].standalone;
159
+ return typeof t == "string" ? e = t : a === 1 ? e = t.one : e = t.other.replace("{{count}}", String(a)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + e : "vor " + e : e;
160
+ };
161
+ export {
162
+ i as formatDistance
163
+ };
@@ -0,0 +1,37 @@
1
+ import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
2
+ const m = {
3
+ full: "EEEE, do MMMM y",
4
+ // Montag, 7. Januar 2018
5
+ long: "do MMMM y",
6
+ // 7. Januar 2018
7
+ medium: "do MMM y",
8
+ // 7. Jan. 2018
9
+ short: "dd.MM.y"
10
+ // 07.01.2018
11
+ }, o = {
12
+ full: "HH:mm:ss zzzz",
13
+ long: "HH:mm:ss z",
14
+ medium: "HH:mm:ss",
15
+ short: "HH:mm"
16
+ }, d = {
17
+ full: "{{date}} 'um' {{time}}",
18
+ long: "{{date}} 'um' {{time}}",
19
+ medium: "{{date}} {{time}}",
20
+ short: "{{date}} {{time}}"
21
+ }, a = {
22
+ date: t({
23
+ formats: m,
24
+ defaultWidth: "full"
25
+ }),
26
+ time: t({
27
+ formats: o,
28
+ defaultWidth: "full"
29
+ }),
30
+ dateTime: t({
31
+ formats: d,
32
+ defaultWidth: "full"
33
+ })
34
+ };
35
+ export {
36
+ a as formatLong
37
+ };
@@ -0,0 +1,11 @@
1
+ const t = {
2
+ lastWeek: "'letzten' eeee 'um' p",
3
+ yesterday: "'gestern um' p",
4
+ today: "'heute um' p",
5
+ tomorrow: "'morgen um' p",
6
+ nextWeek: "eeee 'um' p",
7
+ other: "P"
8
+ }, r = (e, o, a, m) => t[e];
9
+ export {
10
+ r as formatRelative
11
+ };
@@ -0,0 +1,161 @@
1
+ import { buildLocalizeFn as a } from "../../_lib/buildLocalizeFn.js";
2
+ const e = {
3
+ narrow: ["v.Chr.", "n.Chr."],
4
+ abbreviated: ["v.Chr.", "n.Chr."],
5
+ wide: ["vor Christus", "nach Christus"]
6
+ }, i = {
7
+ narrow: ["1", "2", "3", "4"],
8
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
+ wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
10
+ }, n = {
11
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
+ abbreviated: [
13
+ "Jan",
14
+ "Feb",
15
+ "Mär",
16
+ "Apr",
17
+ "Mai",
18
+ "Jun",
19
+ "Jul",
20
+ "Aug",
21
+ "Sep",
22
+ "Okt",
23
+ "Nov",
24
+ "Dez"
25
+ ],
26
+ wide: [
27
+ "Januar",
28
+ "Februar",
29
+ "März",
30
+ "April",
31
+ "Mai",
32
+ "Juni",
33
+ "Juli",
34
+ "August",
35
+ "September",
36
+ "Oktober",
37
+ "November",
38
+ "Dezember"
39
+ ]
40
+ }, r = {
41
+ narrow: n.narrow,
42
+ abbreviated: [
43
+ "Jan.",
44
+ "Feb.",
45
+ "März",
46
+ "Apr.",
47
+ "Mai",
48
+ "Juni",
49
+ "Juli",
50
+ "Aug.",
51
+ "Sep.",
52
+ "Okt.",
53
+ "Nov.",
54
+ "Dez."
55
+ ],
56
+ wide: n.wide
57
+ }, o = {
58
+ narrow: ["S", "M", "D", "M", "D", "F", "S"],
59
+ short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
60
+ abbreviated: ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."],
61
+ wide: [
62
+ "Sonntag",
63
+ "Montag",
64
+ "Dienstag",
65
+ "Mittwoch",
66
+ "Donnerstag",
67
+ "Freitag",
68
+ "Samstag"
69
+ ]
70
+ }, m = {
71
+ narrow: {
72
+ am: "vm.",
73
+ pm: "nm.",
74
+ midnight: "Mitternacht",
75
+ noon: "Mittag",
76
+ morning: "Morgen",
77
+ afternoon: "Nachm.",
78
+ evening: "Abend",
79
+ night: "Nacht"
80
+ },
81
+ abbreviated: {
82
+ am: "vorm.",
83
+ pm: "nachm.",
84
+ midnight: "Mitternacht",
85
+ noon: "Mittag",
86
+ morning: "Morgen",
87
+ afternoon: "Nachmittag",
88
+ evening: "Abend",
89
+ night: "Nacht"
90
+ },
91
+ wide: {
92
+ am: "vormittags",
93
+ pm: "nachmittags",
94
+ midnight: "Mitternacht",
95
+ noon: "Mittag",
96
+ morning: "Morgen",
97
+ afternoon: "Nachmittag",
98
+ evening: "Abend",
99
+ night: "Nacht"
100
+ }
101
+ }, g = {
102
+ narrow: {
103
+ am: "vm.",
104
+ pm: "nm.",
105
+ midnight: "Mitternacht",
106
+ noon: "Mittag",
107
+ morning: "morgens",
108
+ afternoon: "nachm.",
109
+ evening: "abends",
110
+ night: "nachts"
111
+ },
112
+ abbreviated: {
113
+ am: "vorm.",
114
+ pm: "nachm.",
115
+ midnight: "Mitternacht",
116
+ noon: "Mittag",
117
+ morning: "morgens",
118
+ afternoon: "nachmittags",
119
+ evening: "abends",
120
+ night: "nachts"
121
+ },
122
+ wide: {
123
+ am: "vormittags",
124
+ pm: "nachmittags",
125
+ midnight: "Mitternacht",
126
+ noon: "Mittag",
127
+ morning: "morgens",
128
+ afternoon: "nachmittags",
129
+ evening: "abends",
130
+ night: "nachts"
131
+ }
132
+ }, d = (t) => Number(t) + ".", u = {
133
+ ordinalNumber: d,
134
+ era: a({
135
+ values: e,
136
+ defaultWidth: "wide"
137
+ }),
138
+ quarter: a({
139
+ values: i,
140
+ defaultWidth: "wide",
141
+ argumentCallback: (t) => t - 1
142
+ }),
143
+ month: a({
144
+ values: n,
145
+ formattingValues: r,
146
+ defaultWidth: "wide"
147
+ }),
148
+ day: a({
149
+ values: o,
150
+ defaultWidth: "wide"
151
+ }),
152
+ dayPeriod: a({
153
+ values: m,
154
+ defaultWidth: "wide",
155
+ formattingValues: g,
156
+ defaultFormattingWidth: "wide"
157
+ })
158
+ };
159
+ export {
160
+ u as localize
161
+ };
@@ -0,0 +1,112 @@
1
+ import { buildMatchFn as a } from "../../_lib/buildMatchFn.js";
2
+ import { buildMatchPatternFn as i } from "../../_lib/buildMatchPatternFn.js";
3
+ const e = /^(\d+)(\.)?/i, r = /\d+/i, n = {
4
+ narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
5
+ abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
6
+ wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
7
+ }, s = {
8
+ any: [/^v/i, /^n/i]
9
+ }, d = {
10
+ narrow: /^[1234]/i,
11
+ abbreviated: /^q[1234]/i,
12
+ wide: /^[1234](\.)? Quartal/i
13
+ }, o = {
14
+ any: [/1/i, /2/i, /3/i, /4/i]
15
+ }, m = {
16
+ narrow: /^[jfmasond]/i,
17
+ abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
18
+ wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
19
+ }, h = {
20
+ narrow: [
21
+ /^j/i,
22
+ /^f/i,
23
+ /^m/i,
24
+ /^a/i,
25
+ /^m/i,
26
+ /^j/i,
27
+ /^j/i,
28
+ /^a/i,
29
+ /^s/i,
30
+ /^o/i,
31
+ /^n/i,
32
+ /^d/i
33
+ ],
34
+ any: [
35
+ /^j[aä]/i,
36
+ /^f/i,
37
+ /^mär/i,
38
+ /^ap/i,
39
+ /^mai/i,
40
+ /^jun/i,
41
+ /^jul/i,
42
+ /^au/i,
43
+ /^s/i,
44
+ /^o/i,
45
+ /^n/i,
46
+ /^d/i
47
+ ]
48
+ }, c = {
49
+ narrow: /^[smdmf]/i,
50
+ short: /^(so|mo|di|mi|do|fr|sa)/i,
51
+ abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
52
+ wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
53
+ }, u = {
54
+ any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
55
+ }, P = {
56
+ narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
57
+ abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
58
+ wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
59
+ }, b = {
60
+ any: {
61
+ am: /^v/i,
62
+ pm: /^n/i,
63
+ midnight: /^Mitte/i,
64
+ noon: /^Mitta/i,
65
+ morning: /morgens/i,
66
+ afternoon: /nachmittags/i,
67
+ // will never be matched. Afternoon is matched by `pm`
68
+ evening: /abends/i,
69
+ night: /nachts/i
70
+ // will never be matched. Night is matched by `pm`
71
+ }
72
+ }, f = {
73
+ ordinalNumber: i({
74
+ matchPattern: e,
75
+ parsePattern: r,
76
+ valueCallback: (t) => parseInt(t)
77
+ }),
78
+ era: a({
79
+ matchPatterns: n,
80
+ defaultMatchWidth: "wide",
81
+ parsePatterns: s,
82
+ defaultParseWidth: "any"
83
+ }),
84
+ quarter: a({
85
+ matchPatterns: d,
86
+ defaultMatchWidth: "wide",
87
+ parsePatterns: o,
88
+ defaultParseWidth: "any",
89
+ valueCallback: (t) => t + 1
90
+ }),
91
+ month: a({
92
+ matchPatterns: m,
93
+ defaultMatchWidth: "wide",
94
+ parsePatterns: h,
95
+ defaultParseWidth: "any"
96
+ }),
97
+ day: a({
98
+ matchPatterns: c,
99
+ defaultMatchWidth: "wide",
100
+ parsePatterns: u,
101
+ defaultParseWidth: "any"
102
+ }),
103
+ dayPeriod: a({
104
+ matchPatterns: P,
105
+ defaultMatchWidth: "wide",
106
+ parsePatterns: b,
107
+ defaultParseWidth: "any"
108
+ })
109
+ };
110
+ export {
111
+ f as match
112
+ };
@@ -0,0 +1,20 @@
1
+ import { formatDistance as o } from "./de/_lib/formatDistance.js";
2
+ import { formatLong as t } from "./de/_lib/formatLong.js";
3
+ import { formatRelative as r } from "./de/_lib/formatRelative.js";
4
+ import { localize as m } from "./de/_lib/localize.js";
5
+ import { match as a } from "./de/_lib/match.js";
6
+ const p = {
7
+ code: "de",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: r,
11
+ localize: m,
12
+ match: a,
13
+ options: {
14
+ weekStartsOn: 1,
15
+ firstWeekContainsDate: 4
16
+ }
17
+ };
18
+ export {
19
+ p as de
20
+ };
@@ -0,0 +1,70 @@
1
+ const a = {
2
+ lessThanXSeconds: {
3
+ one: "less than a second",
4
+ other: "less than {{count}} seconds"
5
+ },
6
+ xSeconds: {
7
+ one: "1 second",
8
+ other: "{{count}} seconds"
9
+ },
10
+ halfAMinute: "half a minute",
11
+ lessThanXMinutes: {
12
+ one: "less than a minute",
13
+ other: "less than {{count}} minutes"
14
+ },
15
+ xMinutes: {
16
+ one: "1 minute",
17
+ other: "{{count}} minutes"
18
+ },
19
+ aboutXHours: {
20
+ one: "about 1 hour",
21
+ other: "about {{count}} hours"
22
+ },
23
+ xHours: {
24
+ one: "1 hour",
25
+ other: "{{count}} hours"
26
+ },
27
+ xDays: {
28
+ one: "1 day",
29
+ other: "{{count}} days"
30
+ },
31
+ aboutXWeeks: {
32
+ one: "about 1 week",
33
+ other: "about {{count}} weeks"
34
+ },
35
+ xWeeks: {
36
+ one: "1 week",
37
+ other: "{{count}} weeks"
38
+ },
39
+ aboutXMonths: {
40
+ one: "about 1 month",
41
+ other: "about {{count}} months"
42
+ },
43
+ xMonths: {
44
+ one: "1 month",
45
+ other: "{{count}} months"
46
+ },
47
+ aboutXYears: {
48
+ one: "about 1 year",
49
+ other: "about {{count}} years"
50
+ },
51
+ xYears: {
52
+ one: "1 year",
53
+ other: "{{count}} years"
54
+ },
55
+ overXYears: {
56
+ one: "over 1 year",
57
+ other: "over {{count}} years"
58
+ },
59
+ almostXYears: {
60
+ one: "almost 1 year",
61
+ other: "almost {{count}} years"
62
+ }
63
+ }, r = (s, n, t) => {
64
+ let e;
65
+ const o = a[s];
66
+ return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
67
+ };
68
+ export {
69
+ r as formatDistance
70
+ };
@@ -0,0 +1,33 @@
1
+ import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
2
+ const m = {
3
+ full: "EEEE, MMMM do, y",
4
+ long: "MMMM do, y",
5
+ medium: "MMM d, y",
6
+ short: "MM/dd/yyyy"
7
+ }, a = {
8
+ full: "h:mm:ss a zzzz",
9
+ long: "h:mm:ss a z",
10
+ medium: "h:mm:ss a",
11
+ short: "h:mm a"
12
+ }, o = {
13
+ full: "{{date}} 'at' {{time}}",
14
+ long: "{{date}} 'at' {{time}}",
15
+ medium: "{{date}}, {{time}}",
16
+ short: "{{date}}, {{time}}"
17
+ }, e = {
18
+ date: t({
19
+ formats: m,
20
+ defaultWidth: "full"
21
+ }),
22
+ time: t({
23
+ formats: a,
24
+ defaultWidth: "full"
25
+ }),
26
+ dateTime: t({
27
+ formats: o,
28
+ defaultWidth: "full"
29
+ })
30
+ };
31
+ export {
32
+ e as formatLong
33
+ };
@@ -0,0 +1,11 @@
1
+ const t = {
2
+ lastWeek: "'last' eeee 'at' p",
3
+ yesterday: "'yesterday at' p",
4
+ today: "'today at' p",
5
+ tomorrow: "'tomorrow at' p",
6
+ nextWeek: "eeee 'at' p",
7
+ other: "P"
8
+ }, s = (e, a, o, r) => t[e];
9
+ export {
10
+ s as formatRelative
11
+ };