@eifi1/ui-kit 0.22.0 → 0.23.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.
- package/README.md +42 -25
- package/dist/chart.d.ts +11 -8
- package/dist/components/amount-input.d.ts +28 -8
- package/dist/components/amount-input.js +3 -1
- package/dist/components/amount-input.js.map +1 -1
- package/dist/components/autocomplete.d.ts +21 -0
- package/dist/components/autocomplete.js +128 -103
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/button-group.d.ts +11 -8
- package/dist/components/calculator.d.ts +11 -8
- package/dist/components/column-mapper.d.ts +182 -0
- package/dist/components/column-mapper.js +375 -0
- package/dist/components/column-mapper.js.map +1 -0
- package/dist/components/combobox-core.d.ts +39 -2
- package/dist/components/combobox-core.js +29 -6
- package/dist/components/combobox-core.js.map +1 -1
- package/dist/components/combobox.d.ts +80 -2
- package/dist/components/combobox.js +448 -311
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/confirm-dialog.d.ts +11 -8
- package/dist/components/confirm-dialog.js +7 -8
- package/dist/components/confirm-dialog.js.map +1 -1
- package/dist/components/copy-button.d.ts +8 -5
- package/dist/components/country-select.d.ts +50 -7
- package/dist/components/country-select.js +65 -9
- package/dist/components/country-select.js.map +1 -1
- package/dist/components/danger-confirm.d.ts +11 -8
- package/dist/components/danger-confirm.js +13 -3
- package/dist/components/danger-confirm.js.map +1 -1
- package/dist/components/date-picker.d.ts +41 -0
- package/dist/components/date-picker.js +269 -8
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/entity-combobox.d.ts +35 -1
- package/dist/components/entity-combobox.js +148 -112
- package/dist/components/entity-combobox.js.map +1 -1
- package/dist/components/facing-pair.d.ts +11 -8
- package/dist/components/field-parts.d.ts +116 -6
- package/dist/components/field-parts.js +84 -0
- package/dist/components/field-parts.js.map +1 -1
- package/dist/components/field-strip.d.ts +105 -0
- package/dist/components/field-strip.js +46 -0
- package/dist/components/field-strip.js.map +1 -0
- package/dist/components/file-button.d.ts +11 -8
- package/dist/components/file-dropzone.d.ts +11 -8
- package/dist/components/form-actions.d.ts +10 -7
- package/dist/components/form-actions.js +8 -2
- package/dist/components/form-actions.js.map +1 -1
- package/dist/components/iban-input.d.ts +11 -8
- package/dist/components/icon-picker.d.ts +10 -1
- package/dist/components/icon-picker.js +12 -4
- package/dist/components/icon-picker.js.map +1 -1
- package/dist/components/language-select.d.ts +11 -8
- package/dist/components/money-field.d.ts +14 -8
- package/dist/components/money-field.js.map +1 -1
- package/dist/components/month-picker.js +2 -1
- package/dist/components/month-picker.js.map +1 -1
- package/dist/components/multi-entity-combobox.d.ts +26 -1
- package/dist/components/multi-entity-combobox.js +143 -102
- package/dist/components/multi-entity-combobox.js.map +1 -1
- package/dist/components/number-field.d.ts +11 -8
- package/dist/components/number-input.d.ts +11 -8
- package/dist/components/numpad-sheet.d.ts +11 -8
- package/dist/components/phone-input.d.ts +11 -8
- package/dist/components/reauth-dialog.d.ts +2 -2
- package/dist/components/reauth-dialog.js +6 -8
- package/dist/components/reauth-dialog.js.map +1 -1
- package/dist/components/series-chart.d.ts +11 -8
- package/dist/components/settings-fields.d.ts +11 -8
- package/dist/components/share-card.d.ts +10 -7
- package/dist/components/swatch-picker.d.ts +17 -1
- package/dist/components/swatch-picker.js +10 -4
- package/dist/components/swatch-picker.js.map +1 -1
- package/dist/components/text-link.d.ts +10 -7
- package/dist/components/tile-radio.d.ts +20 -0
- package/dist/components/tile-radio.js +25 -8
- package/dist/components/tile-radio.js.map +1 -1
- package/dist/components/time-input.d.ts +11 -8
- package/dist/components/toggle-group.js +2 -2
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/trigger-aria.d.ts +3 -0
- package/dist/components/trigger-aria.js +3 -1
- package/dist/components/trigger-aria.js.map +1 -1
- package/dist/components/ui.d.ts +8 -5
- package/dist/components/ui.js +5 -11
- package/dist/components/ui.js.map +1 -1
- package/dist/feedback/feedback-attachment.d.ts +1 -1
- package/dist/feedback/feedback-attachment.js +156 -56
- package/dist/feedback/feedback-attachment.js.map +1 -1
- package/dist/feedback/feedback-dialog.d.ts +1 -1
- package/dist/feedback/feedback-dialog.js.map +1 -1
- package/dist/feedback/feedback-inbox.d.ts +3 -2
- package/dist/feedback/feedback-inbox.js.map +1 -1
- package/dist/feedback/feedback-thread.d.ts +68 -287
- package/dist/feedback/feedback-thread.js +8 -1
- package/dist/feedback/feedback-thread.js.map +1 -1
- package/dist/{kit-labels-R8mIAc9N.d.ts → feedback-BxeQVzwq.d.ts} +405 -22
- package/dist/{feedback-attachment-NhUm7Zga.d.ts → feedback-attachment-fGAzZPf0.d.ts} +112 -10
- package/dist/feedback.d.ts +66 -2
- package/dist/hooks/use-file-drop.d.ts +11 -8
- package/dist/i18n/defaults.d.ts +11 -8
- package/dist/i18n/defaults.js +3 -1
- package/dist/i18n/defaults.js.map +1 -1
- package/dist/i18n/german.d.ts +11 -8
- package/dist/i18n/german.js +36 -2
- package/dist/i18n/german.js.map +1 -1
- package/dist/i18n/kit-labels.d.ts +7 -4
- package/dist/i18n/kit-labels.js.map +1 -1
- package/dist/i18n/languages.d.ts +11 -8
- package/dist/i18n/locales/de-CH.d.ts +11 -8
- package/dist/i18n/locales/en.d.ts +11 -8
- package/dist/i18n/locales/en.js +7 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +11 -8
- package/dist/i18n/locales/es.js +37 -2
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +11 -8
- package/dist/i18n/locales/fr.js +36 -2
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hu.d.ts +11 -8
- package/dist/i18n/locales/hu.js +38 -2
- package/dist/i18n/locales/hu.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +11 -8
- package/dist/i18n/locales/it.js +37 -2
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +11 -8
- package/dist/i18n/locales/zh.js +34 -2
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/i18n/review.d.ts +11 -8
- package/dist/i18n/review.js +20 -1
- package/dist/i18n/review.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/column-mapping.d.ts +81 -0
- package/dist/lib/column-mapping.js +108 -0
- package/dist/lib/column-mapping.js.map +1 -0
- package/dist/lib/table-text.d.ts +109 -1
- package/dist/lib/table-text.js +122 -1
- package/dist/lib/table-text.js.map +1 -1
- package/dist/rhf/fields.d.ts +89 -11
- package/dist/rhf/fields.js +124 -0
- package/dist/rhf/fields.js.map +1 -1
- package/dist/rhf/form.d.ts +11 -8
- package/dist/rhf.d.ts +12 -9
- package/dist/rhf.js.map +1 -1
- package/dist/shell/app-shell.d.ts +10 -7
- package/dist/shell/top-bar-brand.d.ts +11 -8
- package/dist/shell/topbar-action-menu.d.ts +36 -3
- package/dist/shell/topbar-action-menu.js +74 -33
- package/dist/shell/topbar-action-menu.js.map +1 -1
- package/dist/shell.d.ts +10 -7
- package/dist/table-text.d.ts +1 -1
- package/dist/wizard/stepper-nav.d.ts +41 -10
- package/dist/wizard/stepper-nav.js +4 -0
- package/dist/wizard/stepper-nav.js.map +1 -1
- package/dist/wizard.d.ts +11 -8
- package/package.json +1 -1
- package/src/components/amount-input.tsx +20 -1
- package/src/components/autocomplete.tsx +172 -111
- package/src/components/column-mapper.tsx +666 -0
- package/src/components/combobox-core.tsx +82 -9
- package/src/components/combobox.tsx +614 -332
- package/src/components/confirm-dialog.tsx +12 -8
- package/src/components/country-select.tsx +135 -22
- package/src/components/danger-confirm.tsx +91 -12
- package/src/components/date-picker.tsx +423 -10
- package/src/components/entity-combobox.tsx +217 -126
- package/src/components/field-parts.tsx +224 -5
- package/src/components/field-strip.tsx +149 -0
- package/src/components/form-actions.tsx +32 -4
- package/src/components/icon-picker.tsx +23 -4
- package/src/components/money-field.tsx +3 -0
- package/src/components/month-picker.tsx +2 -1
- package/src/components/multi-entity-combobox.tsx +207 -120
- package/src/components/reauth-dialog.tsx +17 -18
- package/src/components/swatch-picker.tsx +29 -5
- package/src/components/tile-radio.tsx +74 -13
- package/src/components/toggle-group.tsx +2 -2
- package/src/components/trigger-aria.ts +5 -0
- package/src/components/ui.tsx +7 -33
- package/src/feedback/feedback-attachment.tsx +308 -61
- package/src/feedback/feedback-dialog.tsx +7 -3
- package/src/feedback/feedback-inbox.tsx +3 -2
- package/src/feedback/feedback-thread.tsx +47 -4
- package/src/i18n/defaults.ts +2 -0
- package/src/i18n/german.ts +42 -0
- package/src/i18n/kit-labels.tsx +4 -0
- package/src/i18n/locales/en.ts +27 -5
- package/src/i18n/locales/es.ts +41 -0
- package/src/i18n/locales/fr.ts +42 -0
- package/src/i18n/locales/hu.ts +37 -0
- package/src/i18n/locales/it.ts +41 -0
- package/src/i18n/locales/zh.ts +32 -0
- package/src/i18n/review.ts +19 -0
- package/src/index.ts +18 -0
- package/src/lib/column-mapping.ts +234 -0
- package/src/lib/table-text.ts +271 -0
- package/src/rhf/fields.tsx +254 -0
- package/src/rhf.ts +2 -1
- package/src/shell/topbar-action-menu.tsx +134 -38
- package/src/wizard/stepper-nav.tsx +35 -1
- package/dist/components/field-anatomy.d.ts +0 -95
- package/dist/components/field-anatomy.js +0 -84
- package/dist/components/field-anatomy.js.map +0 -1
- package/src/components/field-anatomy.tsx +0 -190
|
@@ -126,7 +126,9 @@ interface FeedbackDialogBaseProps {
|
|
|
126
126
|
interface FeedbackDialogSingleProps extends FeedbackDialogBaseProps {
|
|
127
127
|
attachments?: "single";
|
|
128
128
|
onSubmit: (data: FeedbackSubmission) => void | Promise<void>;
|
|
129
|
-
|
|
129
|
+
/** `info` (0.23.0) names the refused file and the limit — see
|
|
130
|
+
* {@link FeedbackAttachmentErrorInfo}. */
|
|
131
|
+
onAttachmentError?: (kind: "type" | "size", info: FeedbackAttachmentErrorInfo) => void;
|
|
130
132
|
/** Multiple mode only — refused here rather than silently ignored. */
|
|
131
133
|
maxAttachments?: never;
|
|
132
134
|
}
|
|
@@ -140,8 +142,9 @@ interface FeedbackDialogMultipleProps extends FeedbackDialogBaseProps {
|
|
|
140
142
|
/** Default `DEFAULT_MAX_ATTACHMENTS` (5). The screenshot does not count. */
|
|
141
143
|
maxAttachments?: number;
|
|
142
144
|
onSubmit: (data: FeedbackMultipleSubmission) => void | Promise<void>;
|
|
143
|
-
/** `"count"`: more files arrived at once than there was room for; the surplus was
|
|
144
|
-
|
|
145
|
+
/** `"count"`: more files arrived at once than there was room for; the surplus was
|
|
146
|
+
* dropped. `info` (0.23.0) names the refused file(s) and the limit. */
|
|
147
|
+
onAttachmentError?: (kind: FeedbackAttachmentError, info: FeedbackAttachmentErrorInfo) => void;
|
|
145
148
|
}
|
|
146
149
|
type FeedbackDialogProps = FeedbackDialogSingleProps | FeedbackDialogMultipleProps;
|
|
147
150
|
/**
|
|
@@ -207,6 +210,11 @@ interface FeedbackAttachmentFieldLabels {
|
|
|
207
210
|
* running, where an uploaded one shows its size — "Uploading…". Optional, like the
|
|
208
211
|
* keys above, so a `UiKitLabels` typed before it still compiles. */
|
|
209
212
|
attachmentUploading?: string;
|
|
213
|
+
/** `refs` mode (0.23.0, keksdose G5a): {@link FeedbackAttachmentErrorInfo.message} for
|
|
214
|
+
* an `"upload"` refusal — "“huge.png” could not be uploaded". The other refusals'
|
|
215
|
+
* sentences are the `filePicker` namespace's, shared with FileButton. Optional, like
|
|
216
|
+
* the keys above. */
|
|
217
|
+
attachmentUploadFailed?: (name: string) => string;
|
|
210
218
|
}
|
|
211
219
|
declare const DEFAULT_FEEDBACK_ATTACHMENT_LABELS: FeedbackAttachmentFieldLabels;
|
|
212
220
|
/** Why a file was turned away. `"count"` only ever comes from `multiple` (and `refs`)
|
|
@@ -217,6 +225,57 @@ type FeedbackAttachmentError = "type" | "size" | "count";
|
|
|
217
225
|
* rejected, and what it rejected with is `onError`'s second argument. A type of its
|
|
218
226
|
* own so a host's exhaustive switch over the File modes' reasons stays exhaustive. */
|
|
219
227
|
type FeedbackAttachmentRefsError = FeedbackAttachmentError | "upload";
|
|
228
|
+
/**
|
|
229
|
+
* What `onError` knows about a refusal beyond its kind (0.23.0, keksdose G5a): the file
|
|
230
|
+
* it was about, the limit that refused it, and a sentence that says both.
|
|
231
|
+
*
|
|
232
|
+
* keksdose's support chat toasted "File too large" with no name — the field's `onError`
|
|
233
|
+
* carried a kind and nothing else, so a refusal could not say WHICH of three pasted
|
|
234
|
+
* screenshots went, nor what the ceiling was, and its own `AttachmentPicker` (a
|
|
235
|
+
* FileButton, whose `onReject` hands over `{ file, message }`) said more than the kit's
|
|
236
|
+
* field would have. This is that, for every mode.
|
|
237
|
+
*
|
|
238
|
+
* It arrives as an EXTRA argument, after the ones `onError` already had, so a handler
|
|
239
|
+
* written for 0.22 — `(kind) => …`, or `refs` mode's `(kind, error) => …` — compiles
|
|
240
|
+
* and behaves as before:
|
|
241
|
+
*
|
|
242
|
+
* - single and `multiple`: `onError(kind, info)`;
|
|
243
|
+
* - `refs`: `onError(kind, error, info)` — the second place is `onUpload`'s rejection
|
|
244
|
+
* since 0.22 (`undefined` for the other kinds, as it always was), so the info comes
|
|
245
|
+
* third rather than changing what a 0.22 handler reads there. It also carries that
|
|
246
|
+
* `error`, so one helper `(kind, info) => …` serves all three modes.
|
|
247
|
+
*
|
|
248
|
+
* An object rather than more positional arguments because what a host reaches for
|
|
249
|
+
* differs by kind — the bytes for `"size"`, `max` for `"count"`, the server's answer for
|
|
250
|
+
* `"upload"` — and a field added later must not shift anyone's arguments.
|
|
251
|
+
*/
|
|
252
|
+
interface FeedbackAttachmentErrorInfo {
|
|
253
|
+
/** The file refused — under the name the field would have given it (a pasted image
|
|
254
|
+
* is already "pasted.png"). For `"count"`, the first of the surplus; for
|
|
255
|
+
* `"upload"`, the file whose upload failed. */
|
|
256
|
+
file: File;
|
|
257
|
+
/** `"count"`: every file of the surplus (several can arrive in one pick). Otherwise
|
|
258
|
+
* `[file]`. */
|
|
259
|
+
files: File[];
|
|
260
|
+
/**
|
|
261
|
+
* One translated sentence naming the file and the limit — the ones FileButton's
|
|
262
|
+
* `onReject` hands over, from the same `filePicker` namespace: "“huge.png” is larger
|
|
263
|
+
* than 10 MB", "Only image/png, image/jpeg files", "“c.png” was not added: at most 5
|
|
264
|
+
* files" (several at once: "3 files were not added"). `"upload"`: the field's own
|
|
265
|
+
* `attachmentUploadFailed`, "“huge.png” could not be uploaded" — a host with a better
|
|
266
|
+
* sentence from the server's answer uses `error`. Ready for a toast as it is.
|
|
267
|
+
*/
|
|
268
|
+
message: string;
|
|
269
|
+
/** The field's `maxBytes` — the ceiling a `"size"` refusal went over, in bytes. */
|
|
270
|
+
maxBytes: number;
|
|
271
|
+
/** The field's `accept` — the types a `"type"` refusal was not among. */
|
|
272
|
+
accept: string[];
|
|
273
|
+
/** The field's `max` — the ceiling a `"count"` refusal hit. Absent in single mode,
|
|
274
|
+
* which holds one file by definition. */
|
|
275
|
+
max?: number;
|
|
276
|
+
/** `"upload"` only: what `onUpload` rejected with — `onError`'s second argument. */
|
|
277
|
+
error?: unknown;
|
|
278
|
+
}
|
|
220
279
|
/**
|
|
221
280
|
* One uploaded attachment in `refs` mode: what the host's upload answered with. `key`
|
|
222
281
|
* identifies it (a storage key, an upload id) and is what a remove goes by; `name` is
|
|
@@ -232,9 +291,24 @@ interface FeedbackAttachmentRef {
|
|
|
232
291
|
interface FeedbackAttachmentFieldBaseProps {
|
|
233
292
|
/** Prop > `<UiKitProvider labels={{ feedbackAttachment }}>` > English. Optional
|
|
234
293
|
* since 0.7.0; `attachment` (the heading) is only ever read from here. */
|
|
235
|
-
labels?: Partial<FeedbackAttachmentLabels> & Pick<Partial<FeedbackAttachmentFieldLabels>, "attachmentUploading">;
|
|
294
|
+
labels?: Partial<FeedbackAttachmentLabels> & Pick<Partial<FeedbackAttachmentFieldLabels>, "attachmentUploading" | "attachmentUploadFailed">;
|
|
236
295
|
accept?: string[];
|
|
237
296
|
maxBytes?: number;
|
|
297
|
+
/**
|
|
298
|
+
* Take no files for now (0.23.0, keksdose G5b): the add and capture buttons, the
|
|
299
|
+
* hidden file input and every chip's remove button are natively disabled, and a paste
|
|
300
|
+
* is let through untouched. The chips stay as they are — what is about to be sent
|
|
301
|
+
* stays readable.
|
|
302
|
+
*
|
|
303
|
+
* For the moment a send is in flight. keksdose's support picker is `disabled` while
|
|
304
|
+
* the message goes out, because the message carries the attachments AS THEY WERE at
|
|
305
|
+
* the press: a chip removed mid-send has gone with it all the same, and one added
|
|
306
|
+
* mid-send looks as if it had. The field has no drop target; the paste is its drop.
|
|
307
|
+
*
|
|
308
|
+
* This is a pause, not a lock that explains itself — for that, `refs` mode (the mode
|
|
309
|
+
* that commits) takes `commit` and `disabledReason`.
|
|
310
|
+
*/
|
|
311
|
+
disabled?: boolean;
|
|
238
312
|
/** Snapshot the app view behind this and return it as a File. A "Capture
|
|
239
313
|
* screenshot" button appears only when it is given. */
|
|
240
314
|
onCaptureScreenshot?: () => Promise<File | null>;
|
|
@@ -254,10 +328,14 @@ interface FeedbackAttachmentFieldSingleProps extends FeedbackAttachmentFieldBase
|
|
|
254
328
|
refs?: false;
|
|
255
329
|
value: File | null;
|
|
256
330
|
onChange: (file: File | null) => void;
|
|
257
|
-
|
|
331
|
+
/** A file was refused. `info` (0.23.0) names it and the limit — see
|
|
332
|
+
* {@link FeedbackAttachmentErrorInfo}. */
|
|
333
|
+
onError?: (kind: "type" | "size", info: FeedbackAttachmentErrorInfo) => void;
|
|
258
334
|
max?: never;
|
|
259
335
|
screenshot?: never;
|
|
260
336
|
onScreenshotChange?: never;
|
|
337
|
+
commit?: never;
|
|
338
|
+
disabledReason?: never;
|
|
261
339
|
}
|
|
262
340
|
/**
|
|
263
341
|
* Several files (0.15.5, keksdose dev#578: "pasted two photos, the second overwrote
|
|
@@ -272,8 +350,10 @@ interface FeedbackAttachmentFieldMultipleProps extends FeedbackAttachmentFieldBa
|
|
|
272
350
|
/** How many files `value` may hold. Default {@link DEFAULT_MAX_ATTACHMENTS} (5). The
|
|
273
351
|
* add buttons and the paste hint are offered only while there is room. */
|
|
274
352
|
max?: number;
|
|
275
|
-
/** Per file: a rejected one is reported and the others are still added.
|
|
276
|
-
|
|
353
|
+
/** Per file: a rejected one is reported and the others are still added. `"count"` is
|
|
354
|
+
* once per pick, with the whole surplus in `info.files`. `info` (0.23.0): see
|
|
355
|
+
* {@link FeedbackAttachmentErrorInfo}. */
|
|
356
|
+
onError?: (kind: FeedbackAttachmentError, info: FeedbackAttachmentErrorInfo) => void;
|
|
277
357
|
/**
|
|
278
358
|
* A separate slot for THE screenshot, outside `value` and `max`. Given
|
|
279
359
|
* `onScreenshotChange`, what `onCaptureScreenshot` returns lands here instead of in
|
|
@@ -284,6 +364,8 @@ interface FeedbackAttachmentFieldMultipleProps extends FeedbackAttachmentFieldBa
|
|
|
284
364
|
*/
|
|
285
365
|
screenshot?: File | null;
|
|
286
366
|
onScreenshotChange?: (file: File | null) => void;
|
|
367
|
+
commit?: never;
|
|
368
|
+
disabledReason?: never;
|
|
287
369
|
}
|
|
288
370
|
/**
|
|
289
371
|
* Uploaded on pick (0.22.0, keksdose K16). keksdose's support chat uploads each file
|
|
@@ -320,8 +402,28 @@ interface FeedbackAttachmentFieldRefsProps extends FeedbackAttachmentFieldBasePr
|
|
|
320
402
|
/** How many refs `value` may hold, uploads in flight included. Default
|
|
321
403
|
* {@link DEFAULT_MAX_ATTACHMENTS} (5). */
|
|
322
404
|
max?: number;
|
|
323
|
-
/** Per file. `"upload"` carries what `onUpload` rejected with
|
|
324
|
-
|
|
405
|
+
/** Per file. `"upload"` carries what `onUpload` rejected with as `error` (`undefined`
|
|
406
|
+
* for the other kinds). `info` (0.23.0) comes third so a 0.22 handler's `error` is
|
|
407
|
+
* still the second argument — see {@link FeedbackAttachmentErrorInfo}. */
|
|
408
|
+
onError?: (kind: FeedbackAttachmentRefsError, error: unknown, info: FeedbackAttachmentErrorInfo) => void;
|
|
409
|
+
/**
|
|
410
|
+
* This field COMMITS (0.23.0): each file is uploaded the moment it is chosen, and a
|
|
411
|
+
* remove may delete the upload (`onRemove`) — a save, unlike the File modes, which
|
|
412
|
+
* only stage a file for a form sent later (and so stay open under a lock, like every
|
|
413
|
+
* field). Under a locked {@link WriteLockProvider} it takes the `disabledReason` path
|
|
414
|
+
* with the lock's reason, which wins over one of its own. No provider, or an unlocked
|
|
415
|
+
* one: no effect.
|
|
416
|
+
*/
|
|
417
|
+
commit?: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Why no file can be added or removed — the write lock's sentence, a quota, a thread
|
|
420
|
+
* closed to replies. Unlike `disabled`, it SAYS so, the kit's commit-control way: the
|
|
421
|
+
* buttons (add, capture, every chip's remove) stay focusable, `aria-disabled`, with
|
|
422
|
+
* the reason in the kit Tooltip and their description; no pick, paste or remove gets
|
|
423
|
+
* through; and the reason stands where the paste hint was, for a phone that never
|
|
424
|
+
* hovers. The chips stay readable.
|
|
425
|
+
*/
|
|
426
|
+
disabledReason?: ReactNode;
|
|
325
427
|
screenshot?: never;
|
|
326
428
|
onScreenshotChange?: never;
|
|
327
429
|
}
|
|
@@ -364,4 +466,4 @@ declare function FeedbackAttachmentField(props: FeedbackAttachmentFieldProps): r
|
|
|
364
466
|
* a PNG is one the receiving end opens wrong. */
|
|
365
467
|
declare function pastedName(type: string): string;
|
|
366
468
|
|
|
367
|
-
export { DEFAULT_ATTACHMENT_ACCEPT as D, type FeedbackAttachmentError as F, DEFAULT_FEEDBACK_ATTACHMENT_LABELS as a, DEFAULT_FEEDBACK_DIALOG_LABELS as b, DEFAULT_MAX_ATTACHMENTS as c, DEFAULT_MAX_ATTACHMENT_BYTES as d,
|
|
469
|
+
export { DEFAULT_ATTACHMENT_ACCEPT as D, type FeedbackAttachmentError as F, DEFAULT_FEEDBACK_ATTACHMENT_LABELS as a, DEFAULT_FEEDBACK_DIALOG_LABELS as b, DEFAULT_MAX_ATTACHMENTS as c, DEFAULT_MAX_ATTACHMENT_BYTES as d, type FeedbackAttachmentErrorInfo as e, FeedbackAttachmentField as f, type FeedbackAttachmentFieldLabels as g, type FeedbackAttachmentFieldMultipleProps as h, type FeedbackAttachmentFieldProps as i, type FeedbackAttachmentFieldRefsProps as j, type FeedbackAttachmentFieldSingleProps as k, type FeedbackAttachmentLabels as l, type FeedbackAttachmentRef as m, type FeedbackAttachmentRefsError as n, type FeedbackCategoryOption as o, FeedbackDialog as p, type FeedbackDialogLabels as q, type FeedbackDialogMultipleProps as r, type FeedbackDialogProps as s, type FeedbackDialogSingleProps as t, type FeedbackDialogTextLabels as u, type FeedbackMultipleSubmission as v, type FeedbackSubmission as w, pastedName as x };
|
package/dist/feedback.d.ts
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
1
|
-
export { D as DEFAULT_ATTACHMENT_ACCEPT, a as DEFAULT_FEEDBACK_ATTACHMENT_LABELS, b as DEFAULT_FEEDBACK_DIALOG_LABELS, c as DEFAULT_MAX_ATTACHMENTS, d as DEFAULT_MAX_ATTACHMENT_BYTES, F as FeedbackAttachmentError, e as
|
|
1
|
+
export { D as DEFAULT_ATTACHMENT_ACCEPT, a as DEFAULT_FEEDBACK_ATTACHMENT_LABELS, b as DEFAULT_FEEDBACK_DIALOG_LABELS, c as DEFAULT_MAX_ATTACHMENTS, d as DEFAULT_MAX_ATTACHMENT_BYTES, F as FeedbackAttachmentError, e as FeedbackAttachmentErrorInfo, f as FeedbackAttachmentField, g as FeedbackAttachmentFieldLabels, h as FeedbackAttachmentFieldMultipleProps, i as FeedbackAttachmentFieldProps, j as FeedbackAttachmentFieldRefsProps, k as FeedbackAttachmentFieldSingleProps, l as FeedbackAttachmentLabels, m as FeedbackAttachmentRef, n as FeedbackAttachmentRefsError, o as FeedbackCategoryOption, p as FeedbackDialog, q as FeedbackDialogLabels, r as FeedbackDialogMultipleProps, s as FeedbackDialogProps, t as FeedbackDialogSingleProps, u as FeedbackDialogTextLabels, v as FeedbackMultipleSubmission, w as FeedbackSubmission, x as pastedName } from './feedback-attachment-fGAzZPf0.js';
|
|
2
2
|
export { FEEDBACK_CATEGORY_META, FEEDBACK_CATEGORY_ORDER, FEEDBACK_STATUS_META, FEEDBACK_STATUS_ORDER, FeedbackCategory, FeedbackCategoryBadge, FeedbackDetail, FeedbackDetailSection, FeedbackNoteAttachment, FeedbackNoteEditor, FeedbackProse, FeedbackStatus, FeedbackStatusBadge, FeedbackStatusTransitions, feedbackCategoryRank, nextFeedbackStatus, selectableFeedbackStatuses, visibleFeedbackStatuses } from './feedback/feedback-inbox.js';
|
|
3
|
-
export { ChatComposer, ChatComposerHandle, ChatComposerLabels, ChatComposerProps, DEFAULT_FEEDBACK_COMPOSER_LABELS, DEFAULT_FEEDBACK_THREAD_LABELS, FeedbackComposer, FeedbackComposerAttachment, FeedbackComposerHandle, FeedbackComposerLabels, FeedbackComposerProps, FeedbackThread, FeedbackThreadAttachment, FeedbackThreadEvent, FeedbackThreadItem, FeedbackThreadLabels, FeedbackThreadMessage, FeedbackThreadProps } from './feedback
|
|
3
|
+
export { z as ChatComposer, D as ChatComposerHandle, E as ChatComposerLabels, F as ChatComposerProps, a3 as DEFAULT_FEEDBACK_COMPOSER_LABELS, a4 as DEFAULT_FEEDBACK_THREAD_LABELS, ax as FeedbackComposer, ay as FeedbackComposerAttachment, az as FeedbackComposerHandle, aA as FeedbackComposerLabels, aB as FeedbackComposerProps, aC as FeedbackThread, aD as FeedbackThreadAttachment, aE as FeedbackThreadEvent, aF as FeedbackThreadItem, aG as FeedbackThreadLabels, aH as FeedbackThreadMessage, aI as FeedbackThreadProps } from './feedback-BxeQVzwq.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'lucide-react';
|
|
6
|
+
import './components/tooltip.js';
|
|
7
|
+
import './hooks/use-anchored-rect.js';
|
|
8
|
+
import './lib/clipping.js';
|
|
9
|
+
import './data-table-labels-B7OdnM0S.js';
|
|
10
|
+
import './components/data-table-sort.js';
|
|
11
|
+
import './components/swipeable-row.js';
|
|
12
|
+
import './components/mini-calendar.js';
|
|
13
|
+
import './components/calendar-heatmap.js';
|
|
14
|
+
import './components/popover.js';
|
|
15
|
+
import './components/chip.js';
|
|
16
|
+
import './components/field-sync.js';
|
|
17
|
+
import './wizard/types.js';
|
|
18
|
+
import './tour/tour.js';
|
|
19
|
+
import './search/command-palette.js';
|
|
20
|
+
import './search/global-search.js';
|
|
21
|
+
import './search/search-index.js';
|
|
22
|
+
import './components/month-picker.js';
|
|
23
|
+
import './components/page-contents.js';
|
|
24
|
+
import './components/series-chart-labels.js';
|
|
25
|
+
import './components/pie-chart-labels.js';
|
|
26
|
+
import './components/sparkline.js';
|
|
27
|
+
import './components/stat-tile.js';
|
|
28
|
+
import './components/signature-pad.js';
|
|
29
|
+
import './components/password-strength.js';
|
|
30
|
+
import './components/swatch-picker.js';
|
|
31
|
+
import './components/tile-radio.js';
|
|
32
|
+
import './components/icon-picker.js';
|
|
33
|
+
import './components/dialog-frame.js';
|
|
34
|
+
import './components/modal.js';
|
|
35
|
+
import './hooks/use-search-param-state.js';
|
|
36
|
+
import './components/measured-grid.js';
|
|
37
|
+
import './components/account-settings-labels.js';
|
|
38
|
+
import './components/floating-panel.js';
|
|
39
|
+
import './components/bulk-action-bar.js';
|
|
40
|
+
import './components/list.js';
|
|
41
|
+
import './components/signed-amount.js';
|
|
42
|
+
import './components/breadcrumbs.js';
|
|
43
|
+
import './components/toast.js';
|
|
44
|
+
import './components/description-list.js';
|
|
45
|
+
import './components/line-items.js';
|
|
46
|
+
import './components/progress-bar.js';
|
|
47
|
+
import './components/error-boundary.js';
|
|
48
|
+
import './components/authed-image.js';
|
|
49
|
+
import './hooks/use-authed-src.js';
|
|
50
|
+
import './components/image-grid.js';
|
|
51
|
+
import './components/lightbox.js';
|
|
52
|
+
import './components/write-lock.js';
|
|
53
|
+
import './components/legal.js';
|
|
54
|
+
import './components/account-chips.js';
|
|
55
|
+
import './lib/format.js';
|
|
56
|
+
import './components/reauth-dialog.js';
|
|
57
|
+
import './components/server-wake.js';
|
|
58
|
+
import './lib/server-wake.js';
|
|
59
|
+
import './components/translation-review-labels.js';
|
|
60
|
+
import './lib/translation-review.js';
|
|
61
|
+
import './components/country-select.js';
|
|
62
|
+
import './components/inline-edit-field.js';
|
|
63
|
+
import './lib/iban.js';
|
|
64
|
+
import './lib/phone.js';
|
|
65
|
+
import './components/sign-chip.js';
|
|
66
|
+
import './components/column-mapper.js';
|
|
67
|
+
import './lib/column-mapping.js';
|
|
68
|
+
import './lib/table-text.js';
|
|
69
|
+
import './components/field-parts.js';
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { DragEvent, ReactElement } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { b$ as UseFilePickerOptions } from '../feedback-BxeQVzwq.js';
|
|
3
|
+
import '../feedback-attachment-fGAzZPf0.js';
|
|
4
|
+
import '../feedback/feedback-inbox.js';
|
|
5
|
+
import 'lucide-react';
|
|
6
|
+
import '../components/tooltip.js';
|
|
7
|
+
import './use-anchored-rect.js';
|
|
8
|
+
import '../lib/clipping.js';
|
|
3
9
|
import '../data-table-labels-B7OdnM0S.js';
|
|
4
10
|
import '../components/data-table-sort.js';
|
|
5
11
|
import '../components/swipeable-row.js';
|
|
@@ -7,11 +13,7 @@ import '../components/mini-calendar.js';
|
|
|
7
13
|
import '../components/calendar-heatmap.js';
|
|
8
14
|
import '../components/popover.js';
|
|
9
15
|
import '../components/chip.js';
|
|
10
|
-
import 'lucide-react';
|
|
11
16
|
import '../components/field-sync.js';
|
|
12
|
-
import '../components/tooltip.js';
|
|
13
|
-
import './use-anchored-rect.js';
|
|
14
|
-
import '../lib/clipping.js';
|
|
15
17
|
import '../wizard/types.js';
|
|
16
18
|
import '../tour/tour.js';
|
|
17
19
|
import '../search/command-palette.js';
|
|
@@ -32,9 +34,6 @@ import '../components/dialog-frame.js';
|
|
|
32
34
|
import '../components/modal.js';
|
|
33
35
|
import './use-search-param-state.js';
|
|
34
36
|
import '../components/measured-grid.js';
|
|
35
|
-
import '../feedback-attachment-NhUm7Zga.js';
|
|
36
|
-
import '../feedback/feedback-thread.js';
|
|
37
|
-
import '../feedback/feedback-inbox.js';
|
|
38
37
|
import '../components/account-settings-labels.js';
|
|
39
38
|
import '../components/floating-panel.js';
|
|
40
39
|
import '../components/bulk-action-bar.js';
|
|
@@ -64,6 +63,10 @@ import '../components/inline-edit-field.js';
|
|
|
64
63
|
import '../lib/iban.js';
|
|
65
64
|
import '../lib/phone.js';
|
|
66
65
|
import '../components/sign-chip.js';
|
|
66
|
+
import '../components/column-mapper.js';
|
|
67
|
+
import '../lib/column-mapping.js';
|
|
68
|
+
import '../lib/table-text.js';
|
|
69
|
+
import '../components/field-parts.js';
|
|
67
70
|
|
|
68
71
|
/**
|
|
69
72
|
* Turn ANY element into a file drop target — kastlan's ask, for the document list of
|
package/dist/i18n/defaults.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as UiKitLabels } from '../feedback-BxeQVzwq.js';
|
|
2
|
+
import '../feedback-attachment-fGAzZPf0.js';
|
|
2
3
|
import 'react';
|
|
4
|
+
import '../feedback/feedback-inbox.js';
|
|
5
|
+
import 'lucide-react';
|
|
6
|
+
import '../components/tooltip.js';
|
|
7
|
+
import '../hooks/use-anchored-rect.js';
|
|
8
|
+
import '../lib/clipping.js';
|
|
3
9
|
import '../data-table-labels-B7OdnM0S.js';
|
|
4
10
|
import '../components/data-table-sort.js';
|
|
5
11
|
import '../components/swipeable-row.js';
|
|
@@ -7,11 +13,7 @@ import '../components/mini-calendar.js';
|
|
|
7
13
|
import '../components/calendar-heatmap.js';
|
|
8
14
|
import '../components/popover.js';
|
|
9
15
|
import '../components/chip.js';
|
|
10
|
-
import 'lucide-react';
|
|
11
16
|
import '../components/field-sync.js';
|
|
12
|
-
import '../components/tooltip.js';
|
|
13
|
-
import '../hooks/use-anchored-rect.js';
|
|
14
|
-
import '../lib/clipping.js';
|
|
15
17
|
import '../wizard/types.js';
|
|
16
18
|
import '../tour/tour.js';
|
|
17
19
|
import '../search/command-palette.js';
|
|
@@ -32,9 +34,6 @@ import '../components/dialog-frame.js';
|
|
|
32
34
|
import '../components/modal.js';
|
|
33
35
|
import '../hooks/use-search-param-state.js';
|
|
34
36
|
import '../components/measured-grid.js';
|
|
35
|
-
import '../feedback-attachment-NhUm7Zga.js';
|
|
36
|
-
import '../feedback/feedback-thread.js';
|
|
37
|
-
import '../feedback/feedback-inbox.js';
|
|
38
37
|
import '../components/account-settings-labels.js';
|
|
39
38
|
import '../components/floating-panel.js';
|
|
40
39
|
import '../components/bulk-action-bar.js';
|
|
@@ -64,6 +63,10 @@ import '../components/inline-edit-field.js';
|
|
|
64
63
|
import '../lib/iban.js';
|
|
65
64
|
import '../lib/phone.js';
|
|
66
65
|
import '../components/sign-chip.js';
|
|
66
|
+
import '../components/column-mapper.js';
|
|
67
|
+
import '../lib/column-mapping.js';
|
|
68
|
+
import '../lib/table-text.js';
|
|
69
|
+
import '../components/field-parts.js';
|
|
67
70
|
|
|
68
71
|
/**
|
|
69
72
|
* The whole English tree in one object: what a translation is written against, and
|
package/dist/i18n/defaults.js
CHANGED
|
@@ -63,6 +63,7 @@ import { DEFAULT_INLINE_EDIT_LABELS } from "../components/inline-edit-field.js";
|
|
|
63
63
|
import { DEFAULT_IBAN_INPUT_LABELS } from "../components/iban-input.js";
|
|
64
64
|
import { DEFAULT_PHONE_INPUT_LABELS } from "../components/phone-input.js";
|
|
65
65
|
import { DEFAULT_SIGN_CHIP_LABELS } from "../components/sign-chip.js";
|
|
66
|
+
import { DEFAULT_COLUMN_MAPPER_LABELS } from "../components/column-mapper.js";
|
|
66
67
|
import {
|
|
67
68
|
DEFAULT_APP_SHELL_LABELS,
|
|
68
69
|
DEFAULT_CALCULATOR_LABELS,
|
|
@@ -147,7 +148,8 @@ const DEFAULT_UI_KIT_LABELS = {
|
|
|
147
148
|
inlineEdit: DEFAULT_INLINE_EDIT_LABELS,
|
|
148
149
|
ibanInput: DEFAULT_IBAN_INPUT_LABELS,
|
|
149
150
|
phoneInput: DEFAULT_PHONE_INPUT_LABELS,
|
|
150
|
-
signChip: DEFAULT_SIGN_CHIP_LABELS
|
|
151
|
+
signChip: DEFAULT_SIGN_CHIP_LABELS,
|
|
152
|
+
columnMapper: DEFAULT_COLUMN_MAPPER_LABELS
|
|
151
153
|
};
|
|
152
154
|
export {
|
|
153
155
|
DEFAULT_UI_KIT_LABELS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/i18n/defaults.ts"],"sourcesContent":["import { DEFAULT_DATA_TABLE_LABELS } from \"../components/data-table-labels\";\nimport { DEFAULT_MINI_CALENDAR_LABELS } from \"../components/mini-calendar\";\nimport { DEFAULT_CALENDAR_HEATMAP_LABELS } from \"../components/calendar-heatmap\";\nimport { DEFAULT_MONTH_PICKER_LABELS } from \"../components/month-picker\";\nimport { DEFAULT_PAGE_CONTENTS_LABELS } from \"../components/page-contents\";\nimport { DEFAULT_POPOVER_LABELS } from \"../components/popover\";\nimport { DEFAULT_CHIP_INPUT_LABELS } from \"../components/chip\";\nimport { DEFAULT_FIELD_SYNC_LABELS } from \"../components/field-sync\";\nimport {\n DEFAULT_CHARACTER_COUNT_LABELS,\n DEFAULT_PASSWORD_REVEAL_LABELS,\n DEFAULT_TABS_LABELS,\n} from \"../components/ui\";\nimport { DEFAULT_WIZARD_LABELS } from \"../wizard/types\";\nimport { DEFAULT_TOUR_LABELS } from \"../tour/tour\";\nimport { DEFAULT_COMMAND_PALETTE_LABELS } from \"../search/command-palette\";\nimport { DEFAULT_GLOBAL_SEARCH_LABELS } from \"../search/global-search\";\nimport { DEFAULT_SERIES_CHART_LABELS } from \"../components/series-chart-labels\";\nimport { DEFAULT_PIE_CHART_LABELS } from \"../components/pie-chart-labels\";\nimport { DEFAULT_SPARKLINE_LABELS } from \"../components/sparkline\";\nimport { DEFAULT_STAT_TILE_LABELS } from \"../components/stat-tile\";\nimport { DEFAULT_SIGNATURE_PAD_LABELS } from \"../components/signature-pad\";\nimport { DEFAULT_PASSWORD_STRENGTH_LABELS } from \"../components/password-strength\";\nimport { DEFAULT_DANGER_CONFIRM_LABELS } from \"../components/danger-confirm\";\nimport { DEFAULT_SWATCH_PICKER_LABELS } from \"../components/swatch-picker\";\nimport { DEFAULT_ICON_PICKER_LABELS } from \"../components/icon-picker\";\nimport { DEFAULT_DIALOG_FRAME_LABELS } from \"../components/dialog-frame\";\nimport { DEFAULT_FILE_PICKER_LABELS } from \"../components/file-button\";\nimport { DEFAULT_MEASURED_GRID_LABELS } from \"../components/measured-grid\";\nimport { DEFAULT_CONFIRM_DIALOG_LABELS } from \"../components/confirm-dialog\";\nimport { DEFAULT_FLOATING_PANEL_LABELS } from \"../components/floating-panel\";\nimport { DEFAULT_FEEDBACK_ATTACHMENT_LABELS } from \"../feedback/feedback-attachment\";\nimport { DEFAULT_FEEDBACK_DIALOG_LABELS } from \"../feedback/feedback-dialog\";\nimport {\n DEFAULT_FEEDBACK_COMPOSER_LABELS,\n DEFAULT_FEEDBACK_THREAD_LABELS,\n} from \"../feedback/feedback-thread\";\nimport { DEFAULT_ACCOUNT_SETTINGS_LABELS } from \"../components/account-settings-labels\";\nimport { DEFAULT_COPY_BUTTON_LABELS } from \"../components/copy-button\";\nimport { DEFAULT_BULK_ACTION_BAR_LABELS } from \"../components/bulk-action-bar\";\nimport { DEFAULT_LIST_LABELS } from \"../components/list\";\nimport { DEFAULT_BREADCRUMBS_LABELS } from \"../components/breadcrumbs\";\nimport { DEFAULT_TOAST_LABELS } from \"../components/toast\";\nimport { DEFAULT_FORM_ACTIONS_LABELS } from \"../components/form-actions\";\nimport { DEFAULT_DESCRIPTION_LIST_LABELS } from \"../components/description-list\";\nimport { DEFAULT_LINE_ITEMS_LABELS } from \"../components/line-items\";\nimport { DEFAULT_PROGRESS_BAR_LABELS } from \"../components/progress-bar\";\nimport { DEFAULT_SIGNED_AMOUNT_LABELS } from \"../components/signed-amount\";\nimport { DEFAULT_ERROR_BOUNDARY_LABELS } from \"../components/error-boundary\";\nimport { DEFAULT_AUTHED_IMAGE_LABELS } from \"../components/authed-image\";\nimport { DEFAULT_IMAGE_GRID_LABELS } from \"../components/image-grid\";\nimport { DEFAULT_LIGHTBOX_LABELS } from \"../components/lightbox\";\nimport { DEFAULT_WRITE_LOCK_LABELS } from \"../components/write-lock\";\nimport { DEFAULT_LEGAL_LABELS } from \"../components/legal\";\nimport { DEFAULT_ACCOUNT_STATE_LABELS } from \"../components/account-chips\";\nimport { DEFAULT_SHARE_CARD_LABELS } from \"../components/share-card\";\nimport { DEFAULT_REAUTH_DIALOG_LABELS } from \"../components/reauth-dialog\";\nimport { DEFAULT_SERVER_WAKE_LABELS } from \"../components/server-wake\";\nimport { DEFAULT_TRANSLATION_REVIEW_LABELS } from \"../components/translation-review-labels\";\nimport { DEFAULT_COUNTRY_SELECT_LABELS } from \"../components/country-select\";\nimport { DEFAULT_INLINE_EDIT_LABELS } from \"../components/inline-edit-field\";\nimport { DEFAULT_IBAN_INPUT_LABELS } from \"../components/iban-input\";\nimport { DEFAULT_PHONE_INPUT_LABELS } from \"../components/phone-input\";\nimport { DEFAULT_SIGN_CHIP_LABELS } from \"../components/sign-chip\";\nimport {\n DEFAULT_APP_SHELL_LABELS,\n DEFAULT_CALCULATOR_LABELS,\n DEFAULT_COMBOBOX_LABELS,\n DEFAULT_COMMON_LABELS,\n DEFAULT_CURRENCY_LABELS,\n DEFAULT_DATE_PICKER_LABELS,\n DEFAULT_FILE_LABELS,\n DEFAULT_MULTI_SELECT_LABELS,\n DEFAULT_PICKER_SHEET_LABELS,\n DEFAULT_SWIPEABLE_ROW_LABELS,\n DEFAULT_TOP_BAR_LABELS,\n} from \"./kit-labels\";\nimport type { UiKitLabels } from \"./kit-labels\";\n\n/**\n * The whole English tree in one object: what a translation is written against, and\n * the `reference` for {@link missingKitLabels}.\n *\n * A separate module from the provider on purpose. Components import the provider's\n * hooks; this file imports the components' defaults. Kept together they would be an\n * import cycle through every component in the kit.\n */\nexport const DEFAULT_UI_KIT_LABELS: UiKitLabels = {\n common: DEFAULT_COMMON_LABELS,\n dataTable: DEFAULT_DATA_TABLE_LABELS,\n miniCalendar: DEFAULT_MINI_CALENDAR_LABELS,\n calendarHeatmap: DEFAULT_CALENDAR_HEATMAP_LABELS,\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n monthPicker: DEFAULT_MONTH_PICKER_LABELS,\n popover: DEFAULT_POPOVER_LABELS,\n combobox: DEFAULT_COMBOBOX_LABELS,\n multiSelect: DEFAULT_MULTI_SELECT_LABELS,\n calculator: DEFAULT_CALCULATOR_LABELS,\n currency: DEFAULT_CURRENCY_LABELS,\n chipInput: DEFAULT_CHIP_INPUT_LABELS,\n fieldSync: DEFAULT_FIELD_SYNC_LABELS,\n passwordReveal: DEFAULT_PASSWORD_REVEAL_LABELS,\n tabs: DEFAULT_TABS_LABELS,\n appShell: DEFAULT_APP_SHELL_LABELS,\n pageContents: DEFAULT_PAGE_CONTENTS_LABELS,\n topBar: DEFAULT_TOP_BAR_LABELS,\n pickerSheet: DEFAULT_PICKER_SHEET_LABELS,\n swipeableRow: DEFAULT_SWIPEABLE_ROW_LABELS,\n file: DEFAULT_FILE_LABELS,\n wizard: DEFAULT_WIZARD_LABELS,\n tour: DEFAULT_TOUR_LABELS,\n commandPalette: DEFAULT_COMMAND_PALETTE_LABELS,\n globalSearch: DEFAULT_GLOBAL_SEARCH_LABELS,\n seriesChart: DEFAULT_SERIES_CHART_LABELS,\n pieChart: DEFAULT_PIE_CHART_LABELS,\n sparkline: DEFAULT_SPARKLINE_LABELS,\n statTile: DEFAULT_STAT_TILE_LABELS,\n signaturePad: DEFAULT_SIGNATURE_PAD_LABELS,\n passwordStrength: DEFAULT_PASSWORD_STRENGTH_LABELS,\n dangerConfirm: DEFAULT_DANGER_CONFIRM_LABELS,\n swatchPicker: DEFAULT_SWATCH_PICKER_LABELS,\n iconPicker: DEFAULT_ICON_PICKER_LABELS,\n dialogFrame: DEFAULT_DIALOG_FRAME_LABELS,\n filePicker: DEFAULT_FILE_PICKER_LABELS,\n measuredGrid: DEFAULT_MEASURED_GRID_LABELS,\n feedbackAttachment: DEFAULT_FEEDBACK_ATTACHMENT_LABELS,\n feedbackDialog: DEFAULT_FEEDBACK_DIALOG_LABELS,\n feedbackThread: DEFAULT_FEEDBACK_THREAD_LABELS,\n feedbackComposer: DEFAULT_FEEDBACK_COMPOSER_LABELS,\n accountSettings: DEFAULT_ACCOUNT_SETTINGS_LABELS,\n confirmDialog: DEFAULT_CONFIRM_DIALOG_LABELS,\n floatingPanel: DEFAULT_FLOATING_PANEL_LABELS,\n copyButton: DEFAULT_COPY_BUTTON_LABELS,\n bulkActionBar: DEFAULT_BULK_ACTION_BAR_LABELS,\n list: DEFAULT_LIST_LABELS,\n breadcrumbs: DEFAULT_BREADCRUMBS_LABELS,\n toast: DEFAULT_TOAST_LABELS,\n form: DEFAULT_FORM_ACTIONS_LABELS,\n descriptionList: DEFAULT_DESCRIPTION_LIST_LABELS,\n lineItems: DEFAULT_LINE_ITEMS_LABELS,\n progressBar: DEFAULT_PROGRESS_BAR_LABELS,\n signedAmount: DEFAULT_SIGNED_AMOUNT_LABELS,\n errorBoundary: DEFAULT_ERROR_BOUNDARY_LABELS,\n authedImage: DEFAULT_AUTHED_IMAGE_LABELS,\n imageGrid: DEFAULT_IMAGE_GRID_LABELS,\n lightbox: DEFAULT_LIGHTBOX_LABELS,\n writeLock: DEFAULT_WRITE_LOCK_LABELS,\n accountState: DEFAULT_ACCOUNT_STATE_LABELS,\n shareCard: DEFAULT_SHARE_CARD_LABELS,\n reauthDialog: DEFAULT_REAUTH_DIALOG_LABELS,\n serverWake: DEFAULT_SERVER_WAKE_LABELS,\n translationReview: DEFAULT_TRANSLATION_REVIEW_LABELS,\n legal: DEFAULT_LEGAL_LABELS,\n characterCount: DEFAULT_CHARACTER_COUNT_LABELS,\n countrySelect: DEFAULT_COUNTRY_SELECT_LABELS,\n inlineEdit: DEFAULT_INLINE_EDIT_LABELS,\n ibanInput: DEFAULT_IBAN_INPUT_LABELS,\n phoneInput: DEFAULT_PHONE_INPUT_LABELS,\n signChip: DEFAULT_SIGN_CHIP_LABELS,\n};\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/i18n/defaults.ts"],"sourcesContent":["import { DEFAULT_DATA_TABLE_LABELS } from \"../components/data-table-labels\";\nimport { DEFAULT_MINI_CALENDAR_LABELS } from \"../components/mini-calendar\";\nimport { DEFAULT_CALENDAR_HEATMAP_LABELS } from \"../components/calendar-heatmap\";\nimport { DEFAULT_MONTH_PICKER_LABELS } from \"../components/month-picker\";\nimport { DEFAULT_PAGE_CONTENTS_LABELS } from \"../components/page-contents\";\nimport { DEFAULT_POPOVER_LABELS } from \"../components/popover\";\nimport { DEFAULT_CHIP_INPUT_LABELS } from \"../components/chip\";\nimport { DEFAULT_FIELD_SYNC_LABELS } from \"../components/field-sync\";\nimport {\n DEFAULT_CHARACTER_COUNT_LABELS,\n DEFAULT_PASSWORD_REVEAL_LABELS,\n DEFAULT_TABS_LABELS,\n} from \"../components/ui\";\nimport { DEFAULT_WIZARD_LABELS } from \"../wizard/types\";\nimport { DEFAULT_TOUR_LABELS } from \"../tour/tour\";\nimport { DEFAULT_COMMAND_PALETTE_LABELS } from \"../search/command-palette\";\nimport { DEFAULT_GLOBAL_SEARCH_LABELS } from \"../search/global-search\";\nimport { DEFAULT_SERIES_CHART_LABELS } from \"../components/series-chart-labels\";\nimport { DEFAULT_PIE_CHART_LABELS } from \"../components/pie-chart-labels\";\nimport { DEFAULT_SPARKLINE_LABELS } from \"../components/sparkline\";\nimport { DEFAULT_STAT_TILE_LABELS } from \"../components/stat-tile\";\nimport { DEFAULT_SIGNATURE_PAD_LABELS } from \"../components/signature-pad\";\nimport { DEFAULT_PASSWORD_STRENGTH_LABELS } from \"../components/password-strength\";\nimport { DEFAULT_DANGER_CONFIRM_LABELS } from \"../components/danger-confirm\";\nimport { DEFAULT_SWATCH_PICKER_LABELS } from \"../components/swatch-picker\";\nimport { DEFAULT_ICON_PICKER_LABELS } from \"../components/icon-picker\";\nimport { DEFAULT_DIALOG_FRAME_LABELS } from \"../components/dialog-frame\";\nimport { DEFAULT_FILE_PICKER_LABELS } from \"../components/file-button\";\nimport { DEFAULT_MEASURED_GRID_LABELS } from \"../components/measured-grid\";\nimport { DEFAULT_CONFIRM_DIALOG_LABELS } from \"../components/confirm-dialog\";\nimport { DEFAULT_FLOATING_PANEL_LABELS } from \"../components/floating-panel\";\nimport { DEFAULT_FEEDBACK_ATTACHMENT_LABELS } from \"../feedback/feedback-attachment\";\nimport { DEFAULT_FEEDBACK_DIALOG_LABELS } from \"../feedback/feedback-dialog\";\nimport {\n DEFAULT_FEEDBACK_COMPOSER_LABELS,\n DEFAULT_FEEDBACK_THREAD_LABELS,\n} from \"../feedback/feedback-thread\";\nimport { DEFAULT_ACCOUNT_SETTINGS_LABELS } from \"../components/account-settings-labels\";\nimport { DEFAULT_COPY_BUTTON_LABELS } from \"../components/copy-button\";\nimport { DEFAULT_BULK_ACTION_BAR_LABELS } from \"../components/bulk-action-bar\";\nimport { DEFAULT_LIST_LABELS } from \"../components/list\";\nimport { DEFAULT_BREADCRUMBS_LABELS } from \"../components/breadcrumbs\";\nimport { DEFAULT_TOAST_LABELS } from \"../components/toast\";\nimport { DEFAULT_FORM_ACTIONS_LABELS } from \"../components/form-actions\";\nimport { DEFAULT_DESCRIPTION_LIST_LABELS } from \"../components/description-list\";\nimport { DEFAULT_LINE_ITEMS_LABELS } from \"../components/line-items\";\nimport { DEFAULT_PROGRESS_BAR_LABELS } from \"../components/progress-bar\";\nimport { DEFAULT_SIGNED_AMOUNT_LABELS } from \"../components/signed-amount\";\nimport { DEFAULT_ERROR_BOUNDARY_LABELS } from \"../components/error-boundary\";\nimport { DEFAULT_AUTHED_IMAGE_LABELS } from \"../components/authed-image\";\nimport { DEFAULT_IMAGE_GRID_LABELS } from \"../components/image-grid\";\nimport { DEFAULT_LIGHTBOX_LABELS } from \"../components/lightbox\";\nimport { DEFAULT_WRITE_LOCK_LABELS } from \"../components/write-lock\";\nimport { DEFAULT_LEGAL_LABELS } from \"../components/legal\";\nimport { DEFAULT_ACCOUNT_STATE_LABELS } from \"../components/account-chips\";\nimport { DEFAULT_SHARE_CARD_LABELS } from \"../components/share-card\";\nimport { DEFAULT_REAUTH_DIALOG_LABELS } from \"../components/reauth-dialog\";\nimport { DEFAULT_SERVER_WAKE_LABELS } from \"../components/server-wake\";\nimport { DEFAULT_TRANSLATION_REVIEW_LABELS } from \"../components/translation-review-labels\";\nimport { DEFAULT_COUNTRY_SELECT_LABELS } from \"../components/country-select\";\nimport { DEFAULT_INLINE_EDIT_LABELS } from \"../components/inline-edit-field\";\nimport { DEFAULT_IBAN_INPUT_LABELS } from \"../components/iban-input\";\nimport { DEFAULT_PHONE_INPUT_LABELS } from \"../components/phone-input\";\nimport { DEFAULT_SIGN_CHIP_LABELS } from \"../components/sign-chip\";\nimport { DEFAULT_COLUMN_MAPPER_LABELS } from \"../components/column-mapper\";\nimport {\n DEFAULT_APP_SHELL_LABELS,\n DEFAULT_CALCULATOR_LABELS,\n DEFAULT_COMBOBOX_LABELS,\n DEFAULT_COMMON_LABELS,\n DEFAULT_CURRENCY_LABELS,\n DEFAULT_DATE_PICKER_LABELS,\n DEFAULT_FILE_LABELS,\n DEFAULT_MULTI_SELECT_LABELS,\n DEFAULT_PICKER_SHEET_LABELS,\n DEFAULT_SWIPEABLE_ROW_LABELS,\n DEFAULT_TOP_BAR_LABELS,\n} from \"./kit-labels\";\nimport type { UiKitLabels } from \"./kit-labels\";\n\n/**\n * The whole English tree in one object: what a translation is written against, and\n * the `reference` for {@link missingKitLabels}.\n *\n * A separate module from the provider on purpose. Components import the provider's\n * hooks; this file imports the components' defaults. Kept together they would be an\n * import cycle through every component in the kit.\n */\nexport const DEFAULT_UI_KIT_LABELS: UiKitLabels = {\n common: DEFAULT_COMMON_LABELS,\n dataTable: DEFAULT_DATA_TABLE_LABELS,\n miniCalendar: DEFAULT_MINI_CALENDAR_LABELS,\n calendarHeatmap: DEFAULT_CALENDAR_HEATMAP_LABELS,\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n monthPicker: DEFAULT_MONTH_PICKER_LABELS,\n popover: DEFAULT_POPOVER_LABELS,\n combobox: DEFAULT_COMBOBOX_LABELS,\n multiSelect: DEFAULT_MULTI_SELECT_LABELS,\n calculator: DEFAULT_CALCULATOR_LABELS,\n currency: DEFAULT_CURRENCY_LABELS,\n chipInput: DEFAULT_CHIP_INPUT_LABELS,\n fieldSync: DEFAULT_FIELD_SYNC_LABELS,\n passwordReveal: DEFAULT_PASSWORD_REVEAL_LABELS,\n tabs: DEFAULT_TABS_LABELS,\n appShell: DEFAULT_APP_SHELL_LABELS,\n pageContents: DEFAULT_PAGE_CONTENTS_LABELS,\n topBar: DEFAULT_TOP_BAR_LABELS,\n pickerSheet: DEFAULT_PICKER_SHEET_LABELS,\n swipeableRow: DEFAULT_SWIPEABLE_ROW_LABELS,\n file: DEFAULT_FILE_LABELS,\n wizard: DEFAULT_WIZARD_LABELS,\n tour: DEFAULT_TOUR_LABELS,\n commandPalette: DEFAULT_COMMAND_PALETTE_LABELS,\n globalSearch: DEFAULT_GLOBAL_SEARCH_LABELS,\n seriesChart: DEFAULT_SERIES_CHART_LABELS,\n pieChart: DEFAULT_PIE_CHART_LABELS,\n sparkline: DEFAULT_SPARKLINE_LABELS,\n statTile: DEFAULT_STAT_TILE_LABELS,\n signaturePad: DEFAULT_SIGNATURE_PAD_LABELS,\n passwordStrength: DEFAULT_PASSWORD_STRENGTH_LABELS,\n dangerConfirm: DEFAULT_DANGER_CONFIRM_LABELS,\n swatchPicker: DEFAULT_SWATCH_PICKER_LABELS,\n iconPicker: DEFAULT_ICON_PICKER_LABELS,\n dialogFrame: DEFAULT_DIALOG_FRAME_LABELS,\n filePicker: DEFAULT_FILE_PICKER_LABELS,\n measuredGrid: DEFAULT_MEASURED_GRID_LABELS,\n feedbackAttachment: DEFAULT_FEEDBACK_ATTACHMENT_LABELS,\n feedbackDialog: DEFAULT_FEEDBACK_DIALOG_LABELS,\n feedbackThread: DEFAULT_FEEDBACK_THREAD_LABELS,\n feedbackComposer: DEFAULT_FEEDBACK_COMPOSER_LABELS,\n accountSettings: DEFAULT_ACCOUNT_SETTINGS_LABELS,\n confirmDialog: DEFAULT_CONFIRM_DIALOG_LABELS,\n floatingPanel: DEFAULT_FLOATING_PANEL_LABELS,\n copyButton: DEFAULT_COPY_BUTTON_LABELS,\n bulkActionBar: DEFAULT_BULK_ACTION_BAR_LABELS,\n list: DEFAULT_LIST_LABELS,\n breadcrumbs: DEFAULT_BREADCRUMBS_LABELS,\n toast: DEFAULT_TOAST_LABELS,\n form: DEFAULT_FORM_ACTIONS_LABELS,\n descriptionList: DEFAULT_DESCRIPTION_LIST_LABELS,\n lineItems: DEFAULT_LINE_ITEMS_LABELS,\n progressBar: DEFAULT_PROGRESS_BAR_LABELS,\n signedAmount: DEFAULT_SIGNED_AMOUNT_LABELS,\n errorBoundary: DEFAULT_ERROR_BOUNDARY_LABELS,\n authedImage: DEFAULT_AUTHED_IMAGE_LABELS,\n imageGrid: DEFAULT_IMAGE_GRID_LABELS,\n lightbox: DEFAULT_LIGHTBOX_LABELS,\n writeLock: DEFAULT_WRITE_LOCK_LABELS,\n accountState: DEFAULT_ACCOUNT_STATE_LABELS,\n shareCard: DEFAULT_SHARE_CARD_LABELS,\n reauthDialog: DEFAULT_REAUTH_DIALOG_LABELS,\n serverWake: DEFAULT_SERVER_WAKE_LABELS,\n translationReview: DEFAULT_TRANSLATION_REVIEW_LABELS,\n legal: DEFAULT_LEGAL_LABELS,\n characterCount: DEFAULT_CHARACTER_COUNT_LABELS,\n countrySelect: DEFAULT_COUNTRY_SELECT_LABELS,\n inlineEdit: DEFAULT_INLINE_EDIT_LABELS,\n ibanInput: DEFAULT_IBAN_INPUT_LABELS,\n phoneInput: DEFAULT_PHONE_INPUT_LABELS,\n signChip: DEFAULT_SIGN_CHIP_LABELS,\n columnMapper: DEFAULT_COLUMN_MAPPER_LABELS,\n};\n"],"mappings":"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","names":[]}
|
package/dist/i18n/german.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as UiKitLabels } from '../feedback-BxeQVzwq.js';
|
|
2
|
+
import '../feedback-attachment-fGAzZPf0.js';
|
|
2
3
|
import 'react';
|
|
4
|
+
import '../feedback/feedback-inbox.js';
|
|
5
|
+
import 'lucide-react';
|
|
6
|
+
import '../components/tooltip.js';
|
|
7
|
+
import '../hooks/use-anchored-rect.js';
|
|
8
|
+
import '../lib/clipping.js';
|
|
3
9
|
import '../data-table-labels-B7OdnM0S.js';
|
|
4
10
|
import '../components/data-table-sort.js';
|
|
5
11
|
import '../components/swipeable-row.js';
|
|
@@ -7,11 +13,7 @@ import '../components/mini-calendar.js';
|
|
|
7
13
|
import '../components/calendar-heatmap.js';
|
|
8
14
|
import '../components/popover.js';
|
|
9
15
|
import '../components/chip.js';
|
|
10
|
-
import 'lucide-react';
|
|
11
16
|
import '../components/field-sync.js';
|
|
12
|
-
import '../components/tooltip.js';
|
|
13
|
-
import '../hooks/use-anchored-rect.js';
|
|
14
|
-
import '../lib/clipping.js';
|
|
15
17
|
import '../wizard/types.js';
|
|
16
18
|
import '../tour/tour.js';
|
|
17
19
|
import '../search/command-palette.js';
|
|
@@ -32,9 +34,6 @@ import '../components/dialog-frame.js';
|
|
|
32
34
|
import '../components/modal.js';
|
|
33
35
|
import '../hooks/use-search-param-state.js';
|
|
34
36
|
import '../components/measured-grid.js';
|
|
35
|
-
import '../feedback-attachment-NhUm7Zga.js';
|
|
36
|
-
import '../feedback/feedback-thread.js';
|
|
37
|
-
import '../feedback/feedback-inbox.js';
|
|
38
37
|
import '../components/account-settings-labels.js';
|
|
39
38
|
import '../components/floating-panel.js';
|
|
40
39
|
import '../components/bulk-action-bar.js';
|
|
@@ -64,6 +63,10 @@ import '../components/inline-edit-field.js';
|
|
|
64
63
|
import '../lib/iban.js';
|
|
65
64
|
import '../lib/phone.js';
|
|
66
65
|
import '../components/sign-chip.js';
|
|
66
|
+
import '../components/column-mapper.js';
|
|
67
|
+
import '../lib/column-mapping.js';
|
|
68
|
+
import '../lib/table-text.js';
|
|
69
|
+
import '../components/field-parts.js';
|
|
67
70
|
|
|
68
71
|
/**
|
|
69
72
|
* The kit's German, formal ("Sie"), written in standard spelling with "ß" — the SOURCE
|
package/dist/i18n/german.js
CHANGED
|
@@ -13,7 +13,8 @@ function germanLabels(numberLocale) {
|
|
|
13
13
|
attachmentScreenshot: "Screenshot",
|
|
14
14
|
attachmentRemoveFile: (name) => `${name} entfernen`,
|
|
15
15
|
attachmentLimit: (max) => `Maximal ${n(max)} ${max === 1 ? "Anhang" : "Anh\xE4nge"} \u2013 zum Hinzuf\xFCgen erst einen entfernen.`,
|
|
16
|
-
attachmentUploading: "Wird hochgeladen\u2026"
|
|
16
|
+
attachmentUploading: "Wird hochgeladen\u2026",
|
|
17
|
+
attachmentUploadFailed: (name) => `\u201E${name}\u201C konnte nicht hochgeladen werden`
|
|
17
18
|
},
|
|
18
19
|
feedbackDialog: {
|
|
19
20
|
title: "Feedback senden",
|
|
@@ -319,7 +320,10 @@ function germanLabels(numberLocale) {
|
|
|
319
320
|
prompt: "Dies kann nicht r\xFCckg\xE4ngig gemacht werden.",
|
|
320
321
|
password: "Passwort",
|
|
321
322
|
phrase: (phrase) => `Geben Sie zur Best\xE4tigung \u201E${phrase}\u201C ein`,
|
|
322
|
-
acknowledge: "Ich habe gelesen, was dies bewirkt, und m\xF6chte fortfahren."
|
|
323
|
+
acknowledge: "Ich habe gelesen, was dies bewirkt, und m\xF6chte fortfahren.",
|
|
324
|
+
needsPhrase: (phrase) => `Geben Sie zur Best\xE4tigung \u201E${phrase}\u201C ein`,
|
|
325
|
+
needsAcknowledge: "Setzen Sie zur Best\xE4tigung das H\xE4kchen",
|
|
326
|
+
needsPassword: "Geben Sie zur Best\xE4tigung Ihr Passwort ein"
|
|
323
327
|
},
|
|
324
328
|
tabs: {
|
|
325
329
|
// "Tab" is what German UIs say; "Registerkarte" reads like a 1990s manual.
|
|
@@ -665,6 +669,36 @@ function germanLabels(numberLocale) {
|
|
|
665
669
|
inflow: "Einnahme",
|
|
666
670
|
direction: (current, next) => `Richtung: ${current} \u2013 zu ${next} wechseln`
|
|
667
671
|
},
|
|
672
|
+
columnMapper: {
|
|
673
|
+
paste: "Tabelle einf\xFCgen",
|
|
674
|
+
pasteHint: "Die Zeilen aus einer Tabellenkalkulation kopieren und hier einf\xFCgen \u2013 oder eine CSV- oder Textdatei hier ablegen.",
|
|
675
|
+
chooseFile: "Datei ausw\xE4hlen",
|
|
676
|
+
readError: (name) => `\u201E${name}\u201C konnte nicht gelesen werden`,
|
|
677
|
+
headerRow: "Die erste Zeile enth\xE4lt die Spaltennamen",
|
|
678
|
+
summary: (columns, rows) => `${n(columns)} ${columns === 1 ? "Spalte" : "Spalten"}, ${n(rows)} ${rows === 1 ? "Zeile" : "Zeilen"}`,
|
|
679
|
+
// Fragments of the summary line ("3 Spalten, 120 Zeilen · durch Semikolons getrennt").
|
|
680
|
+
separatorSemicolon: "durch Semikolons getrennt",
|
|
681
|
+
separatorComma: "durch Kommas getrennt",
|
|
682
|
+
separatorTab: "durch Tabulatoren getrennt",
|
|
683
|
+
separatorSpace: "durch Leerzeichen getrennt",
|
|
684
|
+
// The examples stay as written: they show the convention, not the reader's locale.
|
|
685
|
+
decimalComma: "Dezimalkomma (1,5)",
|
|
686
|
+
decimalPoint: "Dezimalpunkt (1.5)",
|
|
687
|
+
unreadCount: (count) => count === 1 ? "1 Zeile konnte nicht gelesen werden" : `${n(count)} Zeilen konnten nicht gelesen werden`,
|
|
688
|
+
// A line number is a position, not a count: unformatted, as `measuredGrid.lineError`.
|
|
689
|
+
unreadLine: (line) => `Zeile ${line} konnte nicht gelesen werden`,
|
|
690
|
+
unreadMore: (count) => `\u2026und ${n(count)} weitere`,
|
|
691
|
+
noRows: "Keine Zeile dieses Textes l\xE4sst sich als Tabellenzeile lesen.",
|
|
692
|
+
table: "Spaltenzuordnung",
|
|
693
|
+
columnN: (column) => `Spalte ${column}`,
|
|
694
|
+
roleOf: (column) => `Was enth\xE4lt die Spalte \u201E${column}\u201C?`,
|
|
695
|
+
ignore: "Ignorieren",
|
|
696
|
+
requiredRole: (role) => `${role} (erforderlich)`,
|
|
697
|
+
previewOf: (shown, total) => shown === 1 ? `Die erste von ${n(total)} Zeilen` : `Die ersten ${n(shown)} von ${n(total)} Zeilen`,
|
|
698
|
+
// `roles` arrives joined with "oder" ("Soll oder Haben").
|
|
699
|
+
oneOf: (roles) => `entweder ${roles}`,
|
|
700
|
+
missing: (roles) => `Noch erforderlich: ${roles}.`
|
|
701
|
+
},
|
|
668
702
|
translationReview: {
|
|
669
703
|
statusMissing: "Fehlt",
|
|
670
704
|
statusUnreviewed: "Ungepr\xFCft",
|