@m3ui-vue/m3ui-vue 1.6.2 → 1.8.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/dist/API.md +1224 -28
- package/dist/{MColorPickerModal-NtkihoK6.js → MColorPickerModal-H8nuX0Wu.js} +3 -4
- package/dist/{MColorPickerModal-NtkihoK6.js.map → MColorPickerModal-H8nuX0Wu.js.map} +1 -1
- package/dist/MDialog-B42Mhn8W.js +331 -0
- package/dist/MDialog-B42Mhn8W.js.map +1 -0
- package/dist/{MListItem-D2cNUyzP.js → MListItem-DiOAxaN7.js} +431 -325
- package/dist/MListItem-DiOAxaN7.js.map +1 -0
- package/dist/{MLoadingIndicator-DWUj0BAB.js → MLoadingIndicator-CuTZYFFj.js} +2 -2
- package/dist/{MLoadingIndicator-DWUj0BAB.js.map → MLoadingIndicator-CuTZYFFj.js.map} +1 -1
- package/dist/{MSeekBar-C4cn9RIF.js → MSeekBar-BCDQTx2t.js} +2 -2
- package/dist/{MSeekBar-C4cn9RIF.js.map → MSeekBar-BCDQTx2t.js.map} +1 -1
- package/dist/MSegmentedButton-BXzRsg1S.js +105 -0
- package/dist/MSegmentedButton-BXzRsg1S.js.map +1 -0
- package/dist/MSignaturePad-BTqGaPXA.js +313 -0
- package/dist/MSignaturePad-BTqGaPXA.js.map +1 -0
- package/dist/MSlider-D_O8J9YH.js +739 -0
- package/dist/MSlider-D_O8J9YH.js.map +1 -0
- package/dist/{MSpinner-DZkXZJpc.js → MSpinner-UCdtSOHP.js} +2 -2
- package/dist/{MSpinner-DZkXZJpc.js.map → MSpinner-UCdtSOHP.js.map} +1 -1
- package/dist/{MTextField-CNH-byir.js → MTextField-CYk9yFvi.js} +162 -115
- package/dist/MTextField-CYk9yFvi.js.map +1 -0
- package/dist/_useFieldValidation-B0B44M_t.js +191 -0
- package/dist/_useFieldValidation-B0B44M_t.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/code-editor.js +184 -103
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MAddressField.vue.d.ts +18 -3
- package/dist/components/MAppBarWithSearch.vue.d.ts +1 -1
- package/dist/components/MAudioRecorder.vue.d.ts +2 -2
- package/dist/components/MAutocomplete.vue.d.ts +22 -3
- package/dist/components/MCheckbox.vue.d.ts +23 -1
- package/dist/components/MCodeEditor.vue.d.ts +23 -1
- package/dist/components/MColorPicker.vue.d.ts +24 -3
- package/dist/components/MConfirmDialog.vue.d.ts +2 -2
- package/dist/components/MCountrySelect.vue.d.ts +13 -2
- package/dist/components/MCreditCardInput.vue.d.ts +33 -0
- package/dist/components/MCronField.vue.d.ts +23 -1
- package/dist/components/MDataTable.vue.d.ts +1 -1
- package/dist/components/MDatePicker.vue.d.ts +24 -3
- package/dist/components/MDateRangePicker.vue.d.ts +24 -3
- package/dist/components/MFileUpload.vue.d.ts +23 -2
- package/dist/components/MForm.vue.d.ts +61 -0
- package/dist/components/MFormBuilder.vue.d.ts +22 -0
- package/dist/components/MFormRenderer.vue.d.ts +151 -0
- package/dist/components/MJsonEditor.vue.d.ts +23 -1
- package/dist/components/MMapRoute.vue.d.ts +176 -0
- package/dist/components/MMaskField.vue.d.ts +20 -2
- package/dist/components/MMentionField.vue.d.ts +13 -2
- package/dist/components/MMultiAutocomplete.vue.d.ts +22 -3
- package/dist/components/MMultiSelect.vue.d.ts +22 -3
- package/dist/components/MNavigationRail.vue.d.ts +1 -1
- package/dist/components/MNotificationCenter.vue.d.ts +2 -2
- package/dist/components/MNumberField.vue.d.ts +20 -2
- package/dist/components/MPdfSigner.vue.d.ts +499 -0
- package/dist/components/MPdfViewer.vue.d.ts +12 -0
- package/dist/components/MPhoneInput.vue.d.ts +19 -4
- package/dist/components/MPinInput.vue.d.ts +24 -3
- package/dist/components/MPosKeypad.vue.d.ts +3 -3
- package/dist/components/MRadioGroup.vue.d.ts +23 -1
- package/dist/components/MRating.vue.d.ts +23 -1
- package/dist/components/MRichTextEditor.vue.d.ts +23 -1
- package/dist/components/MSearchBar.vue.d.ts +1 -1
- package/dist/components/MSegmentedButton.vue.d.ts +23 -2
- package/dist/components/MSelect.vue.d.ts +22 -3
- package/dist/components/MSignaturePad.vue.d.ts +19 -0
- package/dist/components/MSlider.vue.d.ts +23 -1
- package/dist/components/MSpreadsheet.vue.d.ts +137 -0
- package/dist/components/MStack.vue.d.ts +1 -1
- package/dist/components/MSwitch.vue.d.ts +23 -1
- package/dist/components/MTable.vue.d.ts +1 -1
- package/dist/components/MTagInput.vue.d.ts +20 -2
- package/dist/components/MText.vue.d.ts +1 -1
- package/dist/components/MTextField.vue.d.ts +26 -3
- package/dist/components/MTimePicker.vue.d.ts +24 -3
- package/dist/components/MTimezoneSelect.vue.d.ts +13 -2
- package/dist/components/MTour.vue.d.ts +2 -2
- package/dist/components/MTrackingTimeline.vue.d.ts +75 -0
- package/dist/components/MWindow.vue.d.ts +2 -2
- package/dist/composables/_routeGeometry.d.ts +26 -0
- package/dist/composables/_useFieldValidation.d.ts +91 -0
- package/dist/composables/mapRouting.d.ts +35 -0
- package/dist/composables/pdfSign.d.ts +52 -0
- package/dist/composables/spreadsheetFormula.d.ts +55 -0
- package/dist/composables/useLocale.d.ts +177 -0
- package/dist/composables/validation.d.ts +82 -0
- package/dist/draw.js +2 -2
- package/dist/flow.js +1 -1
- package/dist/gantt.js +2 -2
- package/dist/index.d.ts +12 -0
- package/dist/locales/index.js +693 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +15507 -12417
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +4 -0
- package/dist/map.js +1207 -745
- package/dist/map.js.map +1 -1
- package/dist/media.js +4 -4
- package/dist/pdf.d.ts +3 -0
- package/dist/pdf.js +1228 -687
- package/dist/pdf.js.map +1 -1
- package/dist/rich-text-editor.js +188 -146
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useLocale-DaVSTdm0.js → useLocale-DL96OFgr.js} +99 -1
- package/dist/useLocale-DL96OFgr.js.map +1 -0
- package/package.json +5 -1
- package/src/__tests__/MForm.test.ts +325 -0
- package/src/__tests__/MFormRenderer.test.ts +157 -0
- package/src/__tests__/MMapRoute.test.ts +418 -0
- package/src/__tests__/MPdfSigner.test.ts +175 -0
- package/src/__tests__/MPhoneInput.test.ts +5 -2
- package/src/__tests__/MRichTextEditor.test.ts +2 -1
- package/src/__tests__/MSpreadsheet.test.ts +223 -0
- package/src/__tests__/MTrackingTimeline.test.ts +66 -0
- package/src/__tests__/_fakeMaplibre.ts +4 -1
- package/src/__tests__/_osrmRoutes.ts +10 -0
- package/src/__tests__/attrsFallthrough.test.ts +11 -0
- package/src/__tests__/fieldsValidation.test.ts +229 -0
- package/src/__tests__/spreadsheetFormula.test.ts +77 -0
- package/src/__tests__/ssr.test.ts +4 -0
- package/src/__tests__/validation.test.ts +77 -0
- package/src/components/MAddressField.vue +45 -8
- package/src/components/MAutocomplete.vue +69 -23
- package/src/components/MCheckbox.vue +80 -17
- package/src/components/MCodeEditor.vue +59 -2
- package/src/components/MColorPicker.vue +65 -16
- package/src/components/MCountrySelect.vue +17 -3
- package/src/components/MCreditCardInput.vue +76 -7
- package/src/components/MCronField.vue +60 -10
- package/src/components/MDatePicker.vue +65 -16
- package/src/components/MDateRangePicker.vue +66 -16
- package/src/components/MFileUpload.vue +71 -8
- package/src/components/MForm.vue +208 -0
- package/src/components/MFormBuilder.vue +417 -0
- package/src/components/MFormRenderer.vue +324 -0
- package/src/components/MJsonEditor.vue +57 -3
- package/src/components/MMapRoute.vue +523 -0
- package/src/components/MMaskField.vue +55 -13
- package/src/components/MMentionField.vue +17 -2
- package/src/components/MMultiAutocomplete.vue +70 -23
- package/src/components/MMultiSelect.vue +70 -23
- package/src/components/MNumberField.vue +58 -16
- package/src/components/MPdfSigner.vue +433 -0
- package/src/components/MPdfViewer.vue +12 -0
- package/src/components/MPhoneInput.vue +60 -18
- package/src/components/MPinInput.vue +58 -10
- package/src/components/MRadioGroup.vue +65 -4
- package/src/components/MRating.vue +62 -6
- package/src/components/MRichTextEditor.vue +64 -4
- package/src/components/MSegmentedButton.vue +59 -2
- package/src/components/MSelect.vue +72 -26
- package/src/components/MSignaturePad.vue +71 -6
- package/src/components/MSlider.vue +61 -10
- package/src/components/MSpreadsheet.vue +992 -0
- package/src/components/MSwitch.vue +63 -8
- package/src/components/MTagInput.vue +67 -25
- package/src/components/MTextField.vue +68 -14
- package/src/components/MTimePicker.vue +65 -16
- package/src/components/MTimezoneSelect.vue +17 -3
- package/src/components/MTrackingTimeline.vue +257 -0
- package/src/composables/_routeGeometry.ts +140 -0
- package/src/composables/_useFieldValidation.ts +287 -0
- package/src/composables/mapRouting.ts +55 -0
- package/src/composables/pdfSign.ts +141 -0
- package/src/composables/spreadsheetFormula.ts +459 -0
- package/src/composables/useLocale.ts +277 -0
- package/src/composables/validation.ts +178 -0
- package/src/index.ts +12 -0
- package/src/locales/de.ts +98 -0
- package/src/locales/es.ts +105 -7
- package/src/locales/fr.ts +98 -0
- package/src/locales/ja.ts +98 -0
- package/src/locales/ko.ts +98 -0
- package/src/locales/pt.ts +98 -0
- package/src/locales/zh.ts +98 -0
- package/src/map.ts +4 -0
- package/src/pdf.ts +3 -0
- package/dist/MButton-OQ4wIERQ.js +0 -171
- package/dist/MButton-OQ4wIERQ.js.map +0 -1
- package/dist/MDialog-DYMnaBlt.js +0 -167
- package/dist/MDialog-DYMnaBlt.js.map +0 -1
- package/dist/MListItem-D2cNUyzP.js.map +0 -1
- package/dist/MProgressBar-BWly1UKN.js +0 -179
- package/dist/MProgressBar-BWly1UKN.js.map +0 -1
- package/dist/MSegmentedButton-BEB4gXLA.js +0 -64
- package/dist/MSegmentedButton-BEB4gXLA.js.map +0 -1
- package/dist/MSlider-BIkA6DiE.js +0 -690
- package/dist/MSlider-BIkA6DiE.js.map +0 -1
- package/dist/MTextField-CNH-byir.js.map +0 -1
- package/dist/useLocale-DaVSTdm0.js.map +0 -1
|
@@ -263,6 +263,172 @@ export interface M3Locale {
|
|
|
263
263
|
mapPressEnterToSearch: string
|
|
264
264
|
mapSearching: string
|
|
265
265
|
mapNoPlaces: string
|
|
266
|
+
/** MMapRoute: a stop's name when it has no label (followed by its number) */
|
|
267
|
+
mapRouteStop: string
|
|
268
|
+
/** MMapRoute: the vehicle marker's accessible name */
|
|
269
|
+
mapRouteVehicle: string
|
|
270
|
+
/** MSpreadsheet: the grid's accessible name */
|
|
271
|
+
spreadsheet: string
|
|
272
|
+
/** MSpreadsheet: the formula bar's input */
|
|
273
|
+
spreadsheetFormula: string
|
|
274
|
+
/** MSpreadsheet: the box showing the selected cell's name (B3, A1:C4) */
|
|
275
|
+
spreadsheetName: string
|
|
276
|
+
/** MFormRenderer: the submit button */
|
|
277
|
+
formSubmit: string
|
|
278
|
+
/** MFormBuilder: the editing view */
|
|
279
|
+
formBuilderEdit: string
|
|
280
|
+
/** MFormBuilder: the form as it will look */
|
|
281
|
+
formBuilderPreview: string
|
|
282
|
+
/** MFormBuilder: the schema as JSON */
|
|
283
|
+
formBuilderJson: string
|
|
284
|
+
/** MFormBuilder: the field palette */
|
|
285
|
+
formBuilderAddField: string
|
|
286
|
+
/** MFormBuilder: an empty form */
|
|
287
|
+
formBuilderEmpty: string
|
|
288
|
+
/** MFormBuilder: the form settings */
|
|
289
|
+
formBuilderForm: string
|
|
290
|
+
/** MFormBuilder */
|
|
291
|
+
formBuilderTitle: string
|
|
292
|
+
/** MFormBuilder */
|
|
293
|
+
formBuilderDescription: string
|
|
294
|
+
/** MFormBuilder */
|
|
295
|
+
formBuilderSubmitLabel: string
|
|
296
|
+
/** MFormBuilder */
|
|
297
|
+
formBuilderLabel: string
|
|
298
|
+
/** MFormBuilder: the value key */
|
|
299
|
+
formBuilderName: string
|
|
300
|
+
/** MFormBuilder */
|
|
301
|
+
formBuilderPlaceholder: string
|
|
302
|
+
/** MFormBuilder */
|
|
303
|
+
formBuilderHint: string
|
|
304
|
+
/** MFormBuilder */
|
|
305
|
+
formBuilderRequired: string
|
|
306
|
+
/** MFormBuilder */
|
|
307
|
+
formBuilderWidth: string
|
|
308
|
+
/** MFormBuilder */
|
|
309
|
+
formBuilderWidthFull: string
|
|
310
|
+
/** MFormBuilder */
|
|
311
|
+
formBuilderWidthHalf: string
|
|
312
|
+
/** MFormBuilder */
|
|
313
|
+
formBuilderWidthThird: string
|
|
314
|
+
/** MFormBuilder */
|
|
315
|
+
formBuilderWidthTwoThirds: string
|
|
316
|
+
/** MFormBuilder */
|
|
317
|
+
formBuilderOptions: string
|
|
318
|
+
/** MFormBuilder */
|
|
319
|
+
formBuilderMin: string
|
|
320
|
+
/** MFormBuilder */
|
|
321
|
+
formBuilderMax: string
|
|
322
|
+
/** MFormBuilder */
|
|
323
|
+
formBuilderStep: string
|
|
324
|
+
/** MFormBuilder */
|
|
325
|
+
formBuilderMinLength: string
|
|
326
|
+
/** MFormBuilder */
|
|
327
|
+
formBuilderMaxLength: string
|
|
328
|
+
/** MFormBuilder */
|
|
329
|
+
formBuilderPattern: string
|
|
330
|
+
/** MFormBuilder */
|
|
331
|
+
formBuilderPatternMessage: string
|
|
332
|
+
/** MFormBuilder: textarea lines */
|
|
333
|
+
formBuilderRows: string
|
|
334
|
+
/** MFormBuilder: conditional field */
|
|
335
|
+
formBuilderShowWhen: string
|
|
336
|
+
/** MFormBuilder: no condition */
|
|
337
|
+
formBuilderAlways: string
|
|
338
|
+
/** MFormBuilder: the condition value */
|
|
339
|
+
formBuilderEquals: string
|
|
340
|
+
/** MFormBuilder */
|
|
341
|
+
formBuilderDuplicate: string
|
|
342
|
+
/** MFormBuilder */
|
|
343
|
+
formBuilderDelete: string
|
|
344
|
+
/** MFormBuilder: copy the JSON */
|
|
345
|
+
formBuilderCopy: string
|
|
346
|
+
/** MFormBuilder */
|
|
347
|
+
formBuilderCopied: string
|
|
348
|
+
/** MFormBuilder: what the preview submitted */
|
|
349
|
+
formBuilderSubmitted: string
|
|
350
|
+
/** MFormBuilder: the inspector with nothing selected */
|
|
351
|
+
formBuilderSelectField: string
|
|
352
|
+
/** MFormBuilder: field type */
|
|
353
|
+
formFieldText: string
|
|
354
|
+
/** MFormBuilder: field type */
|
|
355
|
+
formFieldEmail: string
|
|
356
|
+
/** MFormBuilder: field type */
|
|
357
|
+
formFieldPassword: string
|
|
358
|
+
/** MFormBuilder: field type */
|
|
359
|
+
formFieldTel: string
|
|
360
|
+
/** MFormBuilder: field type */
|
|
361
|
+
formFieldUrl: string
|
|
362
|
+
/** MFormBuilder: field type */
|
|
363
|
+
formFieldTextarea: string
|
|
364
|
+
/** MFormBuilder: field type */
|
|
365
|
+
formFieldNumber: string
|
|
366
|
+
/** MFormBuilder: field type */
|
|
367
|
+
formFieldSelect: string
|
|
368
|
+
/** MFormBuilder: field type */
|
|
369
|
+
formFieldAutocomplete: string
|
|
370
|
+
/** MFormBuilder: field type */
|
|
371
|
+
formFieldRadio: string
|
|
372
|
+
/** MFormBuilder: field type */
|
|
373
|
+
formFieldCheckbox: string
|
|
374
|
+
/** MFormBuilder: field type */
|
|
375
|
+
formFieldSwitch: string
|
|
376
|
+
/** MFormBuilder: field type */
|
|
377
|
+
formFieldDate: string
|
|
378
|
+
/** MFormBuilder: field type */
|
|
379
|
+
formFieldTime: string
|
|
380
|
+
/** MFormBuilder: field type */
|
|
381
|
+
formFieldSlider: string
|
|
382
|
+
/** MFormBuilder: field type */
|
|
383
|
+
formFieldRating: string
|
|
384
|
+
/** MFormBuilder: field type */
|
|
385
|
+
formFieldPhone: string
|
|
386
|
+
/** MFormBuilder: field type */
|
|
387
|
+
formFieldHeading: string
|
|
388
|
+
/** MFormBuilder: field type */
|
|
389
|
+
formFieldDivider: string
|
|
390
|
+
/** MPdfSigner: field type */
|
|
391
|
+
pdfSignSignature: string
|
|
392
|
+
/** MPdfSigner: field type */
|
|
393
|
+
pdfSignInitials: string
|
|
394
|
+
/** MPdfSigner: field type */
|
|
395
|
+
pdfSignName: string
|
|
396
|
+
/** MPdfSigner: field type */
|
|
397
|
+
pdfSignDate: string
|
|
398
|
+
/** MPdfSigner: field type */
|
|
399
|
+
pdfSignText: string
|
|
400
|
+
/** MPdfSigner: field type */
|
|
401
|
+
pdfSignCheckbox: string
|
|
402
|
+
/** MPdfSigner: an empty signature field */
|
|
403
|
+
pdfSignHere: string
|
|
404
|
+
/** MPdfSigner: go to the next empty field */
|
|
405
|
+
pdfSignNext: string
|
|
406
|
+
/** MPdfSigner: done signing */
|
|
407
|
+
pdfSignFinish: string
|
|
408
|
+
/** MPdfSigner: {done} and {total} are replaced */
|
|
409
|
+
pdfSignProgress: string
|
|
410
|
+
/** MPdfSigner: draw a signature */
|
|
411
|
+
pdfSignDraw: string
|
|
412
|
+
/** MPdfSigner: type a signature */
|
|
413
|
+
pdfSignTypeIt: string
|
|
414
|
+
/** MPdfSigner: use this signature */
|
|
415
|
+
pdfSignAdopt: string
|
|
416
|
+
/** MPdfSigner: the field palette */
|
|
417
|
+
pdfSignAddField: string
|
|
418
|
+
/** MPdfSigner */
|
|
419
|
+
pdfSignRequired: string
|
|
420
|
+
/** MPdfSigner */
|
|
421
|
+
pdfSignDelete: string
|
|
422
|
+
/** MPdfSigner: every field is filled */
|
|
423
|
+
pdfSignComplete: string
|
|
424
|
+
// MTrackingTimeline ({time} is a clock time)
|
|
425
|
+
trackingArrives: string
|
|
426
|
+
trackingArrivingNow: string
|
|
427
|
+
trackingDelivered: string
|
|
428
|
+
trackingDelayed: string
|
|
429
|
+
trackingCanceled: string
|
|
430
|
+
trackingShowDetails: string
|
|
431
|
+
trackingHideDetails: string
|
|
266
432
|
filterMatchAll: string
|
|
267
433
|
filterMatchAny: string
|
|
268
434
|
filterAddCondition: string
|
|
@@ -594,6 +760,19 @@ export interface M3Locale {
|
|
|
594
760
|
cardInvalidNumber: string
|
|
595
761
|
cardInvalidExpiry: string
|
|
596
762
|
cardInvalidCvc: string
|
|
763
|
+
// Form validation (MForm, field `rules`)
|
|
764
|
+
validationRequired: string
|
|
765
|
+
validationInvalid: string
|
|
766
|
+
validationEmail: string
|
|
767
|
+
validationUrl: string
|
|
768
|
+
validationMinLength: string
|
|
769
|
+
validationMaxLength: string
|
|
770
|
+
validationMinItems: string
|
|
771
|
+
validationMaxItems: string
|
|
772
|
+
validationMin: string
|
|
773
|
+
validationMax: string
|
|
774
|
+
validationPattern: string
|
|
775
|
+
validationSameAs: string
|
|
597
776
|
// MPosKeypad
|
|
598
777
|
keypadDelete: string
|
|
599
778
|
keypadClear: string
|
|
@@ -962,6 +1141,92 @@ export const defaultLocale: M3Locale = {
|
|
|
962
1141
|
mapPressEnterToSearch: 'Press Enter to search',
|
|
963
1142
|
mapSearching: 'Searching…',
|
|
964
1143
|
mapNoPlaces: 'No places found',
|
|
1144
|
+
mapRouteStop: 'Stop',
|
|
1145
|
+
mapRouteVehicle: 'Vehicle',
|
|
1146
|
+
spreadsheet: 'Spreadsheet',
|
|
1147
|
+
spreadsheetFormula: 'Formula',
|
|
1148
|
+
spreadsheetName: 'Name box',
|
|
1149
|
+
formSubmit: 'Submit',
|
|
1150
|
+
formBuilderEdit: 'Edit',
|
|
1151
|
+
formBuilderPreview: 'Preview',
|
|
1152
|
+
formBuilderJson: 'JSON',
|
|
1153
|
+
formBuilderAddField: 'Add a field',
|
|
1154
|
+
formBuilderEmpty: 'No fields yet: add one from the list',
|
|
1155
|
+
formBuilderForm: 'Form',
|
|
1156
|
+
formBuilderTitle: 'Title',
|
|
1157
|
+
formBuilderDescription: 'Description',
|
|
1158
|
+
formBuilderSubmitLabel: 'Submit button text',
|
|
1159
|
+
formBuilderLabel: 'Label',
|
|
1160
|
+
formBuilderName: 'Name (key)',
|
|
1161
|
+
formBuilderPlaceholder: 'Placeholder',
|
|
1162
|
+
formBuilderHint: 'Help text',
|
|
1163
|
+
formBuilderRequired: 'Required',
|
|
1164
|
+
formBuilderWidth: 'Width',
|
|
1165
|
+
formBuilderWidthFull: 'Full',
|
|
1166
|
+
formBuilderWidthHalf: 'Half',
|
|
1167
|
+
formBuilderWidthThird: 'Third',
|
|
1168
|
+
formBuilderWidthTwoThirds: 'Two thirds',
|
|
1169
|
+
formBuilderOptions: 'Options, one per line (label or label=value)',
|
|
1170
|
+
formBuilderMin: 'Minimum',
|
|
1171
|
+
formBuilderMax: 'Maximum',
|
|
1172
|
+
formBuilderStep: 'Step',
|
|
1173
|
+
formBuilderMinLength: 'Minimum length',
|
|
1174
|
+
formBuilderMaxLength: 'Maximum length',
|
|
1175
|
+
formBuilderPattern: 'Pattern (regular expression)',
|
|
1176
|
+
formBuilderPatternMessage: 'Message when it doesn’t match',
|
|
1177
|
+
formBuilderRows: 'Lines',
|
|
1178
|
+
formBuilderShowWhen: 'Show only when',
|
|
1179
|
+
formBuilderAlways: 'Always',
|
|
1180
|
+
formBuilderEquals: 'is',
|
|
1181
|
+
formBuilderDuplicate: 'Duplicate',
|
|
1182
|
+
formBuilderDelete: 'Delete',
|
|
1183
|
+
formBuilderCopy: 'Copy',
|
|
1184
|
+
formBuilderCopied: 'Copied',
|
|
1185
|
+
formBuilderSubmitted: 'Submitted values',
|
|
1186
|
+
formBuilderSelectField: 'Select a field to edit it',
|
|
1187
|
+
formFieldText: 'Text',
|
|
1188
|
+
formFieldEmail: 'Email',
|
|
1189
|
+
formFieldPassword: 'Password',
|
|
1190
|
+
formFieldTel: 'Phone (plain)',
|
|
1191
|
+
formFieldUrl: 'Link',
|
|
1192
|
+
formFieldTextarea: 'Long text',
|
|
1193
|
+
formFieldNumber: 'Number',
|
|
1194
|
+
formFieldSelect: 'Dropdown',
|
|
1195
|
+
formFieldAutocomplete: 'Searchable list',
|
|
1196
|
+
formFieldRadio: 'Single choice',
|
|
1197
|
+
formFieldCheckbox: 'Checkbox',
|
|
1198
|
+
formFieldSwitch: 'Switch',
|
|
1199
|
+
formFieldDate: 'Date',
|
|
1200
|
+
formFieldTime: 'Time',
|
|
1201
|
+
formFieldSlider: 'Slider',
|
|
1202
|
+
formFieldRating: 'Rating',
|
|
1203
|
+
formFieldPhone: 'Phone with country',
|
|
1204
|
+
formFieldHeading: 'Heading',
|
|
1205
|
+
formFieldDivider: 'Divider',
|
|
1206
|
+
pdfSignSignature: 'Signature',
|
|
1207
|
+
pdfSignInitials: 'Initials',
|
|
1208
|
+
pdfSignName: 'Name',
|
|
1209
|
+
pdfSignDate: 'Date',
|
|
1210
|
+
pdfSignText: 'Text',
|
|
1211
|
+
pdfSignCheckbox: 'Checkbox',
|
|
1212
|
+
pdfSignHere: 'Sign here',
|
|
1213
|
+
pdfSignNext: 'Next field',
|
|
1214
|
+
pdfSignFinish: 'Finish',
|
|
1215
|
+
pdfSignProgress: '{done} of {total} fields',
|
|
1216
|
+
pdfSignDraw: 'Draw',
|
|
1217
|
+
pdfSignTypeIt: 'Type',
|
|
1218
|
+
pdfSignAdopt: 'Sign',
|
|
1219
|
+
pdfSignAddField: 'Add a field',
|
|
1220
|
+
pdfSignRequired: 'Required',
|
|
1221
|
+
pdfSignDelete: 'Delete field',
|
|
1222
|
+
pdfSignComplete: 'Every field is filled',
|
|
1223
|
+
trackingArrives: 'Arrives {time}',
|
|
1224
|
+
trackingArrivingNow: 'Arriving now',
|
|
1225
|
+
trackingDelivered: 'Delivered',
|
|
1226
|
+
trackingDelayed: 'Delayed',
|
|
1227
|
+
trackingCanceled: 'Canceled',
|
|
1228
|
+
trackingShowDetails: 'Show details',
|
|
1229
|
+
trackingHideDetails: 'Hide details',
|
|
965
1230
|
filterMatchAll: 'All',
|
|
966
1231
|
filterMatchAny: 'Any',
|
|
967
1232
|
filterAddCondition: 'Add condition',
|
|
@@ -1287,6 +1552,18 @@ export const defaultLocale: M3Locale = {
|
|
|
1287
1552
|
cardInvalidNumber: 'Invalid card number',
|
|
1288
1553
|
cardInvalidExpiry: 'Invalid or expired date',
|
|
1289
1554
|
cardInvalidCvc: 'Invalid security code',
|
|
1555
|
+
validationRequired: 'This field is required',
|
|
1556
|
+
validationInvalid: 'Invalid value',
|
|
1557
|
+
validationEmail: 'Enter a valid email address',
|
|
1558
|
+
validationUrl: 'Enter a valid URL',
|
|
1559
|
+
validationMinLength: 'Enter at least {min} characters',
|
|
1560
|
+
validationMaxLength: 'Enter at most {max} characters',
|
|
1561
|
+
validationMinItems: 'Choose at least {min}',
|
|
1562
|
+
validationMaxItems: 'Choose at most {max}',
|
|
1563
|
+
validationMin: 'Must be at least {min}',
|
|
1564
|
+
validationMax: 'Must be at most {max}',
|
|
1565
|
+
validationPattern: 'Invalid format',
|
|
1566
|
+
validationSameAs: 'Values don\'t match',
|
|
1290
1567
|
keypadDelete: 'Delete',
|
|
1291
1568
|
keypadClear: 'Clear',
|
|
1292
1569
|
keypadChange: 'Change',
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { M3Locale } from './useLocale'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The Standard Schema interface (https://standardschema.dev), implemented by zod (3.24+), valibot (1.0+),
|
|
5
|
+
* arktype, yup (1.7+) and others. A copy of the spec's types, so the lib doesn't depend on any of them:
|
|
6
|
+
* pass a schema straight to a field's `rules` or to `MForm`'s `schema`.
|
|
7
|
+
*/
|
|
8
|
+
export interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
9
|
+
readonly '~standard': {
|
|
10
|
+
readonly version: 1
|
|
11
|
+
readonly vendor: string
|
|
12
|
+
readonly validate: (value: unknown) => StandardSchemaResult<Output> | Promise<StandardSchemaResult<Output>>
|
|
13
|
+
readonly types?: { readonly input: Input; readonly output: Output }
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface StandardSchemaIssue {
|
|
18
|
+
readonly message: string
|
|
19
|
+
readonly path?: ReadonlyArray<PropertyKey | { readonly key: PropertyKey }>
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type StandardSchemaResult<Output> =
|
|
23
|
+
| { readonly value: Output; readonly issues?: undefined }
|
|
24
|
+
| { readonly issues: ReadonlyArray<StandardSchemaIssue> }
|
|
25
|
+
|
|
26
|
+
/** What a rule receives besides the value */
|
|
27
|
+
export interface ValidationContext {
|
|
28
|
+
/** The active locale, for messages */
|
|
29
|
+
locale: M3Locale
|
|
30
|
+
/** The values of every named field of the surrounding `MForm` (empty outside one) */
|
|
31
|
+
values: Record<string, unknown>
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* `true`, `undefined` or `null` = valid; a string = invalid with that message; `false` = invalid with the
|
|
36
|
+
* locale's generic `validationInvalid` message
|
|
37
|
+
*/
|
|
38
|
+
export type ValidationResult = boolean | string | null | undefined
|
|
39
|
+
|
|
40
|
+
/** A function `(value, ctx) => true | 'message'` (may be async), or a Standard Schema (zod, valibot…) */
|
|
41
|
+
export type ValidationRule<T = any> =
|
|
42
|
+
| ((value: T, ctx: ValidationContext) => ValidationResult | Promise<ValidationResult>)
|
|
43
|
+
| StandardSchemaV1
|
|
44
|
+
|
|
45
|
+
/** When a field checks its rules and shows the result */
|
|
46
|
+
export type ValidateOn = 'blur' | 'input' | 'submit'
|
|
47
|
+
|
|
48
|
+
export function isStandardSchema(rule: unknown): rule is StandardSchemaV1 {
|
|
49
|
+
return typeof rule === 'object' && rule !== null && '~standard' in rule
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** The key of a Standard Schema issue path segment */
|
|
53
|
+
export function issueKey(segment: PropertyKey | { readonly key: PropertyKey }): PropertyKey {
|
|
54
|
+
return typeof segment === 'object' && segment !== null ? segment.key : segment
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Runs one rule: the error message, or null when it passes */
|
|
58
|
+
export async function runRule(rule: ValidationRule, value: unknown, ctx: ValidationContext): Promise<string | null> {
|
|
59
|
+
if (isStandardSchema(rule)) {
|
|
60
|
+
const result = await rule['~standard'].validate(value)
|
|
61
|
+
const issue = result.issues?.[0]
|
|
62
|
+
return issue ? issue.message || ctx.locale.validationInvalid : null
|
|
63
|
+
}
|
|
64
|
+
const result = await rule(value, ctx)
|
|
65
|
+
if (result === true || result === undefined || result === null) return null
|
|
66
|
+
if (result === false) return ctx.locale.validationInvalid
|
|
67
|
+
return result || ctx.locale.validationInvalid
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** Runs rules in order and stops at the first that fails */
|
|
71
|
+
export async function runRules(rules: ValidationRule[], value: unknown, ctx: ValidationContext): Promise<string | null> {
|
|
72
|
+
for (const rule of rules) {
|
|
73
|
+
const message = await runRule(rule, value, ctx)
|
|
74
|
+
if (message) return message
|
|
75
|
+
}
|
|
76
|
+
return null
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** Whether a value counts as "not filled in": null/undefined, blank string, empty array, `false` (an unticked checkbox) */
|
|
80
|
+
export function isEmpty(value: unknown): boolean {
|
|
81
|
+
if (value === null || value === undefined || value === false) return true
|
|
82
|
+
if (typeof value === 'string') return value.trim() === ''
|
|
83
|
+
if (Array.isArray(value)) return value.length === 0
|
|
84
|
+
if (value instanceof Set || value instanceof Map) return value.size === 0
|
|
85
|
+
return false
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function lengthOf(value: unknown): number {
|
|
89
|
+
if (typeof value === 'string' || Array.isArray(value)) return value.length
|
|
90
|
+
if (value instanceof Set || value instanceof Map) return value.size
|
|
91
|
+
return String(value).length
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function toNumber(value: unknown): number {
|
|
95
|
+
return typeof value === 'number' ? value : Number(String(value).trim())
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Built-in rules. Every one but `required` passes on an empty value, so an optional field stays optional:
|
|
99
|
+
// `[email()]` accepts '' and `[required(), email()]` doesn't.
|
|
100
|
+
|
|
101
|
+
/** Marks the rules `required()` makes, so a field's `required` prop doesn't add a second one in front */
|
|
102
|
+
export const REQUIRED_RULE = Symbol('m3-required-rule')
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The value must be filled in (see `isEmpty`; a field may define its own "empty", e.g. a date range needs both
|
|
106
|
+
* ends). Given in `rules`, it replaces the check the field's `required` prop adds, so its message is the one shown
|
|
107
|
+
*/
|
|
108
|
+
export function required(message?: string): ValidationRule {
|
|
109
|
+
const rule: ValidationRule = (value, { locale }) => !isEmpty(value) || message || locale.validationRequired
|
|
110
|
+
// Its message (or true): a field with its own "empty" test rebuilds the check with it
|
|
111
|
+
;(rule as any)[REQUIRED_RULE] = message ?? true
|
|
112
|
+
return rule
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Same pattern as the browser's own <input type="email"> check (WHATWG), which is what users expect
|
|
116
|
+
const EMAIL_RE = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/
|
|
117
|
+
|
|
118
|
+
/** An email address (the browser's own rule, plus a dot in the domain) */
|
|
119
|
+
export function email(message?: string): ValidationRule {
|
|
120
|
+
return (value, { locale }) => isEmpty(value) || EMAIL_RE.test(String(value).trim()) || message || locale.validationEmail
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** An absolute http(s) URL */
|
|
124
|
+
export function url(message?: string): ValidationRule {
|
|
125
|
+
return (value, { locale }) => {
|
|
126
|
+
if (isEmpty(value)) return true
|
|
127
|
+
try {
|
|
128
|
+
const u = new URL(String(value).trim())
|
|
129
|
+
if (u.protocol === 'http:' || u.protocol === 'https:') return true
|
|
130
|
+
} catch { /* invalid */ }
|
|
131
|
+
return message || locale.validationUrl
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/** At least `min` characters (strings) or items (arrays) */
|
|
136
|
+
export function minLength(min: number, message?: string): ValidationRule {
|
|
137
|
+
return (value, { locale }) =>
|
|
138
|
+
isEmpty(value) || lengthOf(value) >= min ||
|
|
139
|
+
message || (Array.isArray(value) ? locale.validationMinItems : locale.validationMinLength).replace('{min}', String(min))
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/** At most `max` characters (strings) or items (arrays) */
|
|
143
|
+
export function maxLength(max: number, message?: string): ValidationRule {
|
|
144
|
+
return (value, { locale }) =>
|
|
145
|
+
isEmpty(value) || lengthOf(value) <= max ||
|
|
146
|
+
message || (Array.isArray(value) ? locale.validationMaxItems : locale.validationMaxLength).replace('{max}', String(max))
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** A number (or numeric string) of at least `min` */
|
|
150
|
+
export function min(min: number, message?: string): ValidationRule {
|
|
151
|
+
return (value, { locale }) => isEmpty(value) || toNumber(value) >= min || message || locale.validationMin.replace('{min}', String(min))
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/** A number (or numeric string) of at most `max` */
|
|
155
|
+
export function max(max: number, message?: string): ValidationRule {
|
|
156
|
+
return (value, { locale }) => isEmpty(value) || toNumber(value) <= max || message || locale.validationMax.replace('{max}', String(max))
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** Matches a regular expression */
|
|
160
|
+
export function pattern(re: RegExp, message?: string): ValidationRule {
|
|
161
|
+
return (value, { locale }) => {
|
|
162
|
+
if (isEmpty(value)) return true
|
|
163
|
+
re.lastIndex = 0 // a /g or /y regex keeps state between test() calls
|
|
164
|
+
return re.test(String(value)) || message || locale.validationPattern
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Equals another value: the name of a field in the same `MForm` (e.g. 'password' for a confirmation field),
|
|
170
|
+
* or a getter
|
|
171
|
+
*/
|
|
172
|
+
export function sameAs(other: string | (() => unknown), message?: string): ValidationRule {
|
|
173
|
+
return (value, { locale, values }) => {
|
|
174
|
+
if (isEmpty(value)) return true
|
|
175
|
+
const target = typeof other === 'function' ? other() : values[other]
|
|
176
|
+
return value === target || message || locale.validationSameAs
|
|
177
|
+
}
|
|
178
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -40,6 +40,10 @@ export type { WidthSizeClass, HeightSizeClass, WindowSizeClassInfo } from './com
|
|
|
40
40
|
export { useNotification } from './composables/useNotification'
|
|
41
41
|
export type { Notification, NotificationVariant, NotificationPosition, NotificationOptions } from './composables/useNotification'
|
|
42
42
|
export { useDebounce } from './composables/useDebounce'
|
|
43
|
+
export { required, email, url, minLength, maxLength, min, max, pattern, sameAs, isEmpty } from './composables/validation'
|
|
44
|
+
export type { ValidationRule, ValidationResult, ValidationContext, ValidateOn, StandardSchemaV1, StandardSchemaIssue, StandardSchemaResult } from './composables/validation'
|
|
45
|
+
export { evaluateFormula, createSheetEvaluator, shiftFormula, columnName, columnIndex, cellName, parseCellName, spreadsheetFunctions, FormulaError, formatNumber } from './composables/spreadsheetFormula'
|
|
46
|
+
export type { SpreadsheetCell, SpreadsheetValue, SpreadsheetFunction, FormulaContext } from './composables/spreadsheetFormula'
|
|
43
47
|
export { usePageProgress } from './composables/usePageProgress'
|
|
44
48
|
export { useSpring } from './composables/_useSpring'
|
|
45
49
|
export { motionSprings, motionEasings, motionDurations, cubicBezier } from './composables/motion'
|
|
@@ -134,6 +138,10 @@ export { default as MExportButton } from './components/MExportButton.vue'
|
|
|
134
138
|
export { default as MFab } from './components/MFab.vue'
|
|
135
139
|
export { default as MFabMenu } from './components/MFabMenu.vue'
|
|
136
140
|
export { default as MFileUpload } from './components/MFileUpload.vue'
|
|
141
|
+
export { default as MForm } from './components/MForm.vue'
|
|
142
|
+
export { default as MFormRenderer, isValueField, fieldVisible, emptyValue, normalizeOptions } from './components/MFormRenderer.vue'
|
|
143
|
+
export type { FormSchema, FormFieldSchema, FormFieldType, FormFieldOption, FormFieldCondition } from './components/MFormRenderer.vue'
|
|
144
|
+
export { default as MFormBuilder } from './components/MFormBuilder.vue'
|
|
137
145
|
export { default as MFloorPlan } from './components/MFloorPlan.vue'
|
|
138
146
|
export { default as MFloorPlanToolbar } from './components/MFloorPlanToolbar.vue'
|
|
139
147
|
export type { FloorTablePreset } from './components/MFloorPlanToolbar.vue'
|
|
@@ -265,6 +273,8 @@ export { default as MSearchField } from './components/MSearchField.vue'
|
|
|
265
273
|
export { default as MSection } from './components/MSection.vue'
|
|
266
274
|
export { default as MSeekBar } from './components/MSeekBar.vue'
|
|
267
275
|
export { default as MSegmentedButton } from './components/MSegmentedButton.vue'
|
|
276
|
+
export { default as MSpreadsheet } from './components/MSpreadsheet.vue'
|
|
277
|
+
export type { SpreadsheetPosition, SpreadsheetRange, SpreadsheetChange } from './components/MSpreadsheet.vue'
|
|
268
278
|
export { default as MScrollField } from './components/MScrollField.vue'
|
|
269
279
|
export { default as MSelect } from './components/MSelect.vue'
|
|
270
280
|
export type { SelectOption } from './components/MSelect.vue'
|
|
@@ -303,6 +313,7 @@ export { default as MTabs } from './components/MTabs.vue'
|
|
|
303
313
|
export { default as MText } from './components/MText.vue'
|
|
304
314
|
export { default as MTextField } from './components/MTextField.vue'
|
|
305
315
|
export { default as MTimeline } from './components/MTimeline.vue'
|
|
316
|
+
export { default as MTrackingTimeline } from './components/MTrackingTimeline.vue'
|
|
306
317
|
export { default as MTimePicker } from './components/MTimePicker.vue'
|
|
307
318
|
export { default as MTimePickerModal } from './components/MTimePickerModal.vue'
|
|
308
319
|
export { default as MTimeScroll } from './components/MTimeScroll.vue'
|
|
@@ -348,6 +359,7 @@ export type { StepItem } from './components/MStepper.vue'
|
|
|
348
359
|
export type { CommandItem } from './components/MCommandPalette.vue'
|
|
349
360
|
export type { TableFetchParams } from './components/MTable.vue'
|
|
350
361
|
export type { TimelineItem, TimelineStatus } from './components/MTimeline.vue'
|
|
362
|
+
export type { TrackingStep, TrackingStatus } from './components/MTrackingTimeline.vue'
|
|
351
363
|
export type { TourStep } from './components/MTour.vue'
|
|
352
364
|
export type { TransferItem } from './components/MTransferList.vue'
|
|
353
365
|
export type { TreeNode } from './components/MTree.vue'
|
package/src/locales/de.ts
CHANGED
|
@@ -244,6 +244,92 @@ export const deLocale: M3Locale = {
|
|
|
244
244
|
mapPressEnterToSearch: 'Zum Suchen Enter drücken',
|
|
245
245
|
mapSearching: 'Suche läuft…',
|
|
246
246
|
mapNoPlaces: 'Keine Orte gefunden',
|
|
247
|
+
mapRouteStop: 'Halt',
|
|
248
|
+
mapRouteVehicle: 'Fahrzeug',
|
|
249
|
+
spreadsheet: 'Tabelle',
|
|
250
|
+
spreadsheetFormula: 'Formel',
|
|
251
|
+
spreadsheetName: 'Namensfeld',
|
|
252
|
+
formSubmit: 'Absenden',
|
|
253
|
+
formBuilderEdit: 'Bearbeiten',
|
|
254
|
+
formBuilderPreview: 'Vorschau',
|
|
255
|
+
formBuilderJson: 'JSON',
|
|
256
|
+
formBuilderAddField: 'Feld hinzufügen',
|
|
257
|
+
formBuilderEmpty: 'Noch keine Felder: füge eines aus der Liste hinzu',
|
|
258
|
+
formBuilderForm: 'Formular',
|
|
259
|
+
formBuilderTitle: 'Titel',
|
|
260
|
+
formBuilderDescription: 'Beschreibung',
|
|
261
|
+
formBuilderSubmitLabel: 'Text der Absenden-Schaltfläche',
|
|
262
|
+
formBuilderLabel: 'Beschriftung',
|
|
263
|
+
formBuilderName: 'Name (Schlüssel)',
|
|
264
|
+
formBuilderPlaceholder: 'Platzhalter',
|
|
265
|
+
formBuilderHint: 'Hilfetext',
|
|
266
|
+
formBuilderRequired: 'Pflichtfeld',
|
|
267
|
+
formBuilderWidth: 'Breite',
|
|
268
|
+
formBuilderWidthFull: 'Voll',
|
|
269
|
+
formBuilderWidthHalf: 'Halb',
|
|
270
|
+
formBuilderWidthThird: 'Drittel',
|
|
271
|
+
formBuilderWidthTwoThirds: 'Zwei Drittel',
|
|
272
|
+
formBuilderOptions: 'Optionen, eine pro Zeile (Beschriftung oder Beschriftung=Wert)',
|
|
273
|
+
formBuilderMin: 'Minimum',
|
|
274
|
+
formBuilderMax: 'Maximum',
|
|
275
|
+
formBuilderStep: 'Schritt',
|
|
276
|
+
formBuilderMinLength: 'Mindestlänge',
|
|
277
|
+
formBuilderMaxLength: 'Höchstlänge',
|
|
278
|
+
formBuilderPattern: 'Muster (regulärer Ausdruck)',
|
|
279
|
+
formBuilderPatternMessage: 'Meldung bei Abweichung',
|
|
280
|
+
formBuilderRows: 'Zeilen',
|
|
281
|
+
formBuilderShowWhen: 'Nur anzeigen, wenn',
|
|
282
|
+
formBuilderAlways: 'Immer',
|
|
283
|
+
formBuilderEquals: 'ist',
|
|
284
|
+
formBuilderDuplicate: 'Duplizieren',
|
|
285
|
+
formBuilderDelete: 'Löschen',
|
|
286
|
+
formBuilderCopy: 'Kopieren',
|
|
287
|
+
formBuilderCopied: 'Kopiert',
|
|
288
|
+
formBuilderSubmitted: 'Gesendete Werte',
|
|
289
|
+
formBuilderSelectField: 'Wähle ein Feld zum Bearbeiten',
|
|
290
|
+
formFieldText: 'Text',
|
|
291
|
+
formFieldEmail: 'E-Mail',
|
|
292
|
+
formFieldPassword: 'Passwort',
|
|
293
|
+
formFieldTel: 'Telefon (einfach)',
|
|
294
|
+
formFieldUrl: 'Link',
|
|
295
|
+
formFieldTextarea: 'Langer Text',
|
|
296
|
+
formFieldNumber: 'Zahl',
|
|
297
|
+
formFieldSelect: 'Auswahlliste',
|
|
298
|
+
formFieldAutocomplete: 'Suchliste',
|
|
299
|
+
formFieldRadio: 'Einfachauswahl',
|
|
300
|
+
formFieldCheckbox: 'Kontrollkästchen',
|
|
301
|
+
formFieldSwitch: 'Schalter',
|
|
302
|
+
formFieldDate: 'Datum',
|
|
303
|
+
formFieldTime: 'Uhrzeit',
|
|
304
|
+
formFieldSlider: 'Schieberegler',
|
|
305
|
+
formFieldRating: 'Bewertung',
|
|
306
|
+
formFieldPhone: 'Telefon mit Land',
|
|
307
|
+
formFieldHeading: 'Überschrift',
|
|
308
|
+
formFieldDivider: 'Trennlinie',
|
|
309
|
+
pdfSignSignature: 'Unterschrift',
|
|
310
|
+
pdfSignInitials: 'Initialen',
|
|
311
|
+
pdfSignName: 'Name',
|
|
312
|
+
pdfSignDate: 'Datum',
|
|
313
|
+
pdfSignText: 'Text',
|
|
314
|
+
pdfSignCheckbox: 'Kontrollkästchen',
|
|
315
|
+
pdfSignHere: 'Hier unterschreiben',
|
|
316
|
+
pdfSignNext: 'Nächstes Feld',
|
|
317
|
+
pdfSignFinish: 'Fertig',
|
|
318
|
+
pdfSignProgress: '{done} von {total} Feldern',
|
|
319
|
+
pdfSignDraw: 'Zeichnen',
|
|
320
|
+
pdfSignTypeIt: 'Tippen',
|
|
321
|
+
pdfSignAdopt: 'Unterschreiben',
|
|
322
|
+
pdfSignAddField: 'Feld hinzufügen',
|
|
323
|
+
pdfSignRequired: 'Pflichtfeld',
|
|
324
|
+
pdfSignDelete: 'Feld löschen',
|
|
325
|
+
pdfSignComplete: 'Alle Felder sind ausgefüllt',
|
|
326
|
+
trackingArrives: 'Ankunft {time}',
|
|
327
|
+
trackingArrivingNow: 'Kommt gleich',
|
|
328
|
+
trackingDelivered: 'Zugestellt',
|
|
329
|
+
trackingDelayed: 'Verspätet',
|
|
330
|
+
trackingCanceled: 'Storniert',
|
|
331
|
+
trackingShowDetails: 'Details anzeigen',
|
|
332
|
+
trackingHideDetails: 'Details ausblenden',
|
|
247
333
|
filterMatchAll: 'Alle',
|
|
248
334
|
filterMatchAny: 'Eine',
|
|
249
335
|
filterAddCondition: 'Bedingung hinzufügen',
|
|
@@ -569,6 +655,18 @@ export const deLocale: M3Locale = {
|
|
|
569
655
|
cardInvalidNumber: 'Ungültige Kartennummer',
|
|
570
656
|
cardInvalidExpiry: 'Ungültiges oder abgelaufenes Datum',
|
|
571
657
|
cardInvalidCvc: 'Ungültiger Sicherheitscode',
|
|
658
|
+
validationRequired: 'Dieses Feld ist erforderlich',
|
|
659
|
+
validationInvalid: 'Ungültiger Wert',
|
|
660
|
+
validationEmail: 'Gib eine gültige E-Mail-Adresse ein',
|
|
661
|
+
validationUrl: 'Gib eine gültige URL ein',
|
|
662
|
+
validationMinLength: 'Gib mindestens {min} Zeichen ein',
|
|
663
|
+
validationMaxLength: 'Gib höchstens {max} Zeichen ein',
|
|
664
|
+
validationMinItems: 'Wähle mindestens {min}',
|
|
665
|
+
validationMaxItems: 'Wähle höchstens {max}',
|
|
666
|
+
validationMin: 'Muss mindestens {min} sein',
|
|
667
|
+
validationMax: 'Darf höchstens {max} sein',
|
|
668
|
+
validationPattern: 'Ungültiges Format',
|
|
669
|
+
validationSameAs: 'Die Werte stimmen nicht überein',
|
|
572
670
|
keypadDelete: 'Löschen',
|
|
573
671
|
keypadClear: 'Leeren',
|
|
574
672
|
keypadChange: 'Rückgeld',
|