@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1779268556 → 5.0.0-next.3-dev.1779280398
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/autocomplete/autocomplete-base-element.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/{autocomplete-base-element-jaXVQcA7.js → autocomplete-base-element-DjfmUS0W.js} +0 -1
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/calendar/calendar/calendar.component.js +1 -1
- package/{calendar.component-DKgkIocz.js → calendar.component-BhUyyFtR.js} +66 -66
- package/calendar.js +1 -1
- package/calendar.pure.js +1 -1
- package/core/base-elements/button-base-element.js +47 -68
- package/core/datetime/date-adapter.js +2 -2
- package/core/i18n/i18n.js +69 -74
- package/core/mixins/form-associated-checkbox-mixin.js +17 -26
- package/core.js +40 -42
- package/custom-elements.json +98 -446
- package/datepicker/common/datepicker-button.js +1 -1
- package/{datepicker-button-aYDFZ_3v.js → datepicker-button-CuoZoC6e.js} +0 -3
- package/datepicker.js +1 -1
- package/datepicker.pure.js +1 -1
- package/development/autocomplete/autocomplete-base-element.d.ts +0 -2
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/{autocomplete-base-element-JxM7QbC4.js → autocomplete-base-element-CTZEg--s.js} +1 -3
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/calendar/calendar/calendar.component.d.ts +0 -6
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar.component-DnC8Zkdk.js +1478 -0
- package/development/calendar.js +1 -1
- package/development/calendar.pure.js +1 -1
- package/development/core/base-elements/button-base-element.d.ts +1 -0
- package/development/core/base-elements/button-base-element.d.ts.map +1 -1
- package/development/core/base-elements/button-base-element.js +66 -92
- package/development/core/base-elements/element.d.ts.map +1 -1
- package/development/core/datetime/date-adapter.d.ts +0 -5
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/date-adapter.js +2 -7
- package/development/core/i18n/i18n.d.ts +0 -1
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n/i18n.js +2 -8
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-checkbox-mixin.js +7 -21
- package/development/core/mixins/form-associated-mixin.d.ts +1 -1
- package/development/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-mixin.js +1 -1
- package/development/core.d.ts +0 -2
- package/development/core.d.ts.map +1 -1
- package/development/core.js +3 -5
- package/development/datepicker/common/datepicker-button.d.ts +0 -2
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common/datepicker-button.js +1 -1
- package/development/{datepicker-button-BAT1ebzJ.js → datepicker-button-Bb76EBYH.js} +1 -5
- package/development/datepicker.js +1 -1
- package/development/datepicker.pure.js +1 -1
- package/development/dialog/dialog/dialog.component.js +1 -1
- package/development/{dialog.component-D8B2dVck.js → dialog.component-cZ3SAujq.js} +5 -5
- package/development/dialog.js +1 -1
- package/development/dialog.pure.js +1 -1
- package/development/element-BAsBayf5.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
- package/development/expansion-panel-header.component-gg5A_7Pz.js +1 -1
- package/development/form-field/form-field/form-field.component.d.ts +0 -6
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field.component-w4nlNsj2.js +670 -0
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/development/icon/icon.component.d.ts +1 -1
- package/development/icon/icon.component.d.ts.map +1 -1
- package/development/icon/icon.component.js +5 -7
- package/development/optgroup-base-element-BzfcJgxG.js +140 -0
- package/development/option/optgroup/optgroup-base-element.d.ts +1 -2
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup-base-element.js +1 -1
- package/development/option/optgroup/optgroup.component.js +1 -1
- package/development/option.js +1 -1
- package/development/option.pure.js +1 -1
- package/development/overlay/overlay-base-element.d.ts +2 -4
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay-base-element.js +6 -5
- package/development/overlay/overlay.component.js +1 -1
- package/development/{overlay.component-BH-aue7w.js → overlay.component-DywhKxO1.js} +5 -5
- package/development/overlay.js +1 -1
- package/development/overlay.pure.js +1 -1
- package/development/panel-mixin-DPybe45K.js +1 -1
- package/development/slider/slider.component.d.ts +1 -0
- package/development/slider/slider.component.d.ts.map +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/{slider.component-BLptxiZ4.js → slider.component-Dz4Nl2ZL.js} +8 -21
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/development/{step.component-DpSJEkrK.js → step.component-CfA-kmt1.js} +1 -11
- package/development/stepper/step/step.component.d.ts +4 -14
- package/development/stepper/step/step.component.d.ts.map +1 -1
- package/development/stepper/step/step.component.js +1 -1
- package/development/stepper/stepper/stepper.component.js +1 -1
- package/development/{stepper.component-Bv6LCFU0.js → stepper.component-2yRFnnju.js} +5 -5
- package/development/stepper.js +2 -2
- package/development/stepper.pure.js +2 -2
- package/dialog/dialog/dialog.component.js +1 -1
- package/{dialog.component-CsBryhM-.js → dialog.component-D3G0AX4Y.js} +4 -4
- package/dialog.js +1 -1
- package/dialog.pure.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/{form-field.component-BdfK6r2v.js → form-field.component-DkqZz7aZ.js} +62 -83
- package/form-field.js +1 -1
- package/form-field.pure.js +1 -1
- package/icon/icon.component.js +2 -5
- package/lean-off-brand-theme.css +1 -0
- package/lean-safety-theme.css +1 -0
- package/lean-theme.css +1 -0
- package/off-brand-theme.css +1 -0
- package/{optgroup-base-element-Cxe8SIQh.js → optgroup-base-element-CBxsRPUF.js} +10 -17
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/optgroup/optgroup.component.js +1 -1
- package/option.js +1 -1
- package/option.pure.js +1 -1
- package/overlay/overlay-base-element.js +3 -3
- package/overlay/overlay.component.js +1 -1
- package/{overlay.component-D7Z_vx1A.js → overlay.component-OSLtja0_.js} +4 -4
- package/overlay.js +1 -1
- package/overlay.pure.js +1 -1
- package/package.json +2 -2
- package/safety-theme.css +1 -0
- package/slider/slider.component.js +1 -1
- package/{slider.component-C8LKcM11.js → slider.component-BMkoF1l1.js} +23 -31
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +1 -0
- package/core/decorators/host-attributes.js +0 -17
- package/core/eventing/throttle.js +0 -11
- package/development/calendar.component-CgEXjBeQ.js +0 -1473
- package/development/core/decorators/host-attributes.d.ts +0 -22
- package/development/core/decorators/host-attributes.d.ts.map +0 -1
- package/development/core/decorators/host-attributes.js +0 -41
- package/development/core/eventing/throttle.d.ts +0 -3
- package/development/core/eventing/throttle.d.ts.map +0 -1
- package/development/core/eventing/throttle.js +0 -18
- package/development/form-field.component-CPWBCHer.js +0 -702
- package/development/optgroup-base-element-CLfE6pmz.js +0 -147
package/core/i18n/i18n.js
CHANGED
|
@@ -325,221 +325,216 @@ var e = {
|
|
|
325
325
|
it: "Treno"
|
|
326
326
|
}
|
|
327
327
|
}, N = {
|
|
328
|
-
de: "(optional)",
|
|
329
|
-
en: "(optional)",
|
|
330
|
-
fr: "(facultatif)",
|
|
331
|
-
it: "(facoltativo)"
|
|
332
|
-
}, P = {
|
|
333
328
|
de: "Linkziel öffnet in neuem Fenster.",
|
|
334
329
|
en: "Link target opens in a new window.",
|
|
335
330
|
fr: "Le lien s'ouvre dans une nouvelle fenêtre.",
|
|
336
331
|
it: "Il link si apre in una nuova finestra."
|
|
337
|
-
},
|
|
332
|
+
}, P = {
|
|
338
333
|
de: "Minuten Fussweg nach Ankunft:",
|
|
339
334
|
en: "minutes of walking time after arrival:",
|
|
340
335
|
fr: "minutes de trajet à pied après l’arrivée:",
|
|
341
336
|
it: "minuti a piedi all’arrivo:"
|
|
342
|
-
},
|
|
337
|
+
}, F = {
|
|
343
338
|
de: "Minuten Fussweg vor Abfahrt:",
|
|
344
339
|
en: "minutes of walking time before departure:",
|
|
345
340
|
fr: "minutes de trajet à pied avant le départ:",
|
|
346
341
|
it: "minuti a piedi prima della partenza:"
|
|
347
|
-
},
|
|
342
|
+
}, I = {
|
|
348
343
|
de: "Meldung schliessen",
|
|
349
344
|
en: "Close message",
|
|
350
345
|
fr: "Fermer le message",
|
|
351
346
|
it: "Chiudere il messaggio"
|
|
352
|
-
},
|
|
347
|
+
}, L = {
|
|
353
348
|
de: "Nachricht schliessen",
|
|
354
349
|
en: "Close message",
|
|
355
350
|
fr: "Fermer le message",
|
|
356
351
|
it: "Chiudere il messaggio"
|
|
357
|
-
},
|
|
352
|
+
}, R = {
|
|
358
353
|
de: "Dialog",
|
|
359
354
|
en: "Dialog",
|
|
360
355
|
fr: "Dialogue",
|
|
361
356
|
it: "Dialogo"
|
|
362
|
-
},
|
|
357
|
+
}, z = {
|
|
363
358
|
de: "Übergelagertes Fenster schliessen",
|
|
364
359
|
en: "Close secondary window",
|
|
365
360
|
fr: "Fermer la fenêtre superposée",
|
|
366
361
|
it: "Chiudere la finestra sovrapposta"
|
|
367
|
-
},
|
|
362
|
+
}, B = {
|
|
368
363
|
de: "Navigation schliessen",
|
|
369
364
|
en: "Close navigation",
|
|
370
365
|
fr: "Fermer la navigation",
|
|
371
366
|
it: "Chiudere la navigazione"
|
|
372
|
-
},
|
|
367
|
+
}, V = {
|
|
373
368
|
de: "Seitenleiste schliessen",
|
|
374
369
|
en: "Close sidebar",
|
|
375
370
|
fr: "Fermer la barre latérale",
|
|
376
371
|
it: "Chiudere la barra laterale"
|
|
377
|
-
},
|
|
372
|
+
}, H = {
|
|
378
373
|
de: "Hinweis schliessen",
|
|
379
374
|
en: "Close note",
|
|
380
375
|
fr: "Fermer la note",
|
|
381
376
|
it: "Chiudere la nota"
|
|
382
|
-
},
|
|
377
|
+
}, U = {
|
|
383
378
|
de: "Zurück",
|
|
384
379
|
en: "Go back",
|
|
385
380
|
fr: "Retourner",
|
|
386
381
|
it: "Indietro"
|
|
387
|
-
},
|
|
382
|
+
}, W = {
|
|
388
383
|
de: "Heute",
|
|
389
384
|
en: "Today",
|
|
390
385
|
fr: "Aujourd’hui",
|
|
391
386
|
it: "Oggi"
|
|
392
|
-
},
|
|
387
|
+
}, G = {
|
|
393
388
|
de: "Zum nächsten Monat wechseln",
|
|
394
389
|
en: "Change to the next month",
|
|
395
390
|
fr: "Passer au mois suivant",
|
|
396
391
|
it: "Passare al mese successivo"
|
|
397
|
-
},
|
|
392
|
+
}, K = {
|
|
398
393
|
de: "Zum letzten Monat wechseln",
|
|
399
394
|
en: "Change to the previous month",
|
|
400
395
|
fr: "Passer au mois précédent",
|
|
401
396
|
it: "Passare al mese precedente"
|
|
402
|
-
},
|
|
397
|
+
}, q = {
|
|
403
398
|
de: "Nächster Tag",
|
|
404
399
|
en: "Next day",
|
|
405
400
|
fr: "Jour suivant",
|
|
406
401
|
it: "Giorno successivo"
|
|
407
|
-
},
|
|
402
|
+
}, J = {
|
|
408
403
|
de: "Vorheriger Tag",
|
|
409
404
|
en: "Previous day",
|
|
410
405
|
fr: "Jour précédent",
|
|
411
406
|
it: "Giorno precedente"
|
|
412
|
-
},
|
|
407
|
+
}, Y = {
|
|
413
408
|
de: "Jahr und Monat auswählen",
|
|
414
409
|
en: "Choose year and month",
|
|
415
410
|
fr: "Choisir l’année et le mois",
|
|
416
411
|
it: "Seleziona anno e mese"
|
|
417
|
-
},
|
|
412
|
+
}, X = {
|
|
418
413
|
de: "Datum auswählen",
|
|
419
414
|
en: "Choose date",
|
|
420
415
|
fr: "Choisir une date",
|
|
421
416
|
it: "Seleziona una data"
|
|
422
|
-
},
|
|
417
|
+
}, Z = (e) => ({
|
|
423
418
|
de: `Wechsel zu den nächsten ${e} Jahren`,
|
|
424
419
|
en: `Change to the next ${e} years`,
|
|
425
420
|
fr: `Passer aux ${e} prochaines années`,
|
|
426
421
|
it: `Passare ai successivi ${e} anni`
|
|
427
|
-
}),
|
|
422
|
+
}), Q = (e) => ({
|
|
428
423
|
de: `Wechsel zu den vorherigen ${e} Jahren`,
|
|
429
424
|
en: `Change to the previous ${e} years`,
|
|
430
425
|
fr: `Passage aux ${e} précédentes années`,
|
|
431
426
|
it: `Passare ai precedenti ${e} anni`
|
|
432
|
-
}),
|
|
427
|
+
}), $ = {
|
|
433
428
|
de: "Zum nächsten Jahr wechseln",
|
|
434
429
|
en: "Change to the next year",
|
|
435
430
|
fr: "Passer à l'année suivante",
|
|
436
431
|
it: "Passare all'anno successivo"
|
|
437
|
-
},
|
|
432
|
+
}, ee = {
|
|
438
433
|
de: "Zum letzten Jahr wechseln",
|
|
439
434
|
en: "Change to the previous year",
|
|
440
435
|
fr: "Passer à l'année précédent",
|
|
441
436
|
it: "Passare all'anno precedente"
|
|
442
|
-
},
|
|
437
|
+
}, te = (e) => ({
|
|
443
438
|
de: `Zum nächsten Tag wechseln, derzeit ausgewählt ${e}.`,
|
|
444
439
|
en: `Change to the next day, currently selected ${e}.`,
|
|
445
440
|
fr: `Passer au jour suivant, actuellement sélectionné ${e}.`,
|
|
446
441
|
it: `Passare al giorno successivo, attualmente selezionato ${e}.`
|
|
447
|
-
}),
|
|
442
|
+
}), ne = (e) => ({
|
|
448
443
|
de: `Zum vorherigen Tag wechseln, derzeit ausgewählt ${e}.`,
|
|
449
444
|
en: `Change to the previous day, currently selected ${e}.`,
|
|
450
445
|
fr: `Passer au jour précédent, actuellement sélectionné ${e}.`,
|
|
451
446
|
it: `Passare al giorno precedente, attualmente selezionato ${e}.`
|
|
452
|
-
}),
|
|
447
|
+
}), re = {
|
|
453
448
|
de: "Kalender anzeigen",
|
|
454
449
|
en: "Show calendar",
|
|
455
450
|
fr: "Afficher le calendrier",
|
|
456
451
|
it: "Visualizza il calendario"
|
|
457
|
-
},
|
|
452
|
+
}, ie = {
|
|
458
453
|
de: "TT.MM.JJJJ",
|
|
459
454
|
en: "DD.MM.YYYY",
|
|
460
455
|
fr: "JJ.MM.AAAA",
|
|
461
456
|
it: "GG.MM.AAAA"
|
|
462
|
-
},
|
|
457
|
+
}, ae = {
|
|
463
458
|
de: "Datum geändert auf",
|
|
464
459
|
en: "Date changed to",
|
|
465
460
|
fr: "Date modifiée au",
|
|
466
461
|
it: "Data modificata in"
|
|
467
|
-
},
|
|
462
|
+
}, oe = {
|
|
468
463
|
de: "Verbindung von",
|
|
469
464
|
en: "Connection from",
|
|
470
465
|
fr: "Liaison de",
|
|
471
466
|
it: "Collegamento da"
|
|
472
|
-
},
|
|
467
|
+
}, se = {
|
|
473
468
|
de: "nach",
|
|
474
469
|
en: "to",
|
|
475
470
|
fr: "à",
|
|
476
471
|
it: "a"
|
|
477
|
-
},
|
|
472
|
+
}, ce = (e) => ({
|
|
478
473
|
de: `und zurück nach ${e}.`,
|
|
479
474
|
en: `and back to ${e}.`,
|
|
480
475
|
fr: `et retour à ${e}.`,
|
|
481
476
|
it: `e ritorno a ${e}.`
|
|
482
|
-
}),
|
|
477
|
+
}), le = {
|
|
483
478
|
de: "erweitert",
|
|
484
479
|
en: "expanded",
|
|
485
480
|
fr: "étendu",
|
|
486
481
|
it: "espanso"
|
|
487
|
-
},
|
|
482
|
+
}, ue = {
|
|
488
483
|
de: "reduziert",
|
|
489
484
|
en: "collapsed",
|
|
490
485
|
fr: "condensé",
|
|
491
486
|
it: "compresso"
|
|
492
|
-
},
|
|
487
|
+
}, de = {
|
|
493
488
|
de: "Karte zeigen",
|
|
494
489
|
en: "Show map",
|
|
495
490
|
fr: "Afficher la carte",
|
|
496
491
|
it: "Mostra la mappa"
|
|
497
|
-
},
|
|
492
|
+
}, fe = {
|
|
498
493
|
de: "Mehr Breadcrumbs anzeigen",
|
|
499
494
|
en: "Show more breadcrumbs",
|
|
500
495
|
fr: "Afficher plus de fils d’Ariane",
|
|
501
496
|
it: "Mostra più breadcrumbs"
|
|
502
|
-
},
|
|
497
|
+
}, pe = {
|
|
503
498
|
de: "Feldinhalt löschen",
|
|
504
499
|
en: "Clear input value",
|
|
505
500
|
fr: "Effacer la valeur d’entrée",
|
|
506
501
|
it: "Cancella il valore dell’input"
|
|
507
|
-
},
|
|
502
|
+
}, me = {
|
|
508
503
|
de: "Klicken Sie auf diese Karte für Details",
|
|
509
504
|
en: "Click on this card for details",
|
|
510
505
|
fr: "Cliquez sur cette carte pour plus de détails",
|
|
511
506
|
it: "Clicca su questa scheda per i dettagli"
|
|
512
|
-
},
|
|
507
|
+
}, he = {
|
|
513
508
|
de: "Klicken Sie auf diese Karte, um zurück zur Zusammenfassung zu gelangen",
|
|
514
509
|
en: "Click on this card to go back to the summary",
|
|
515
510
|
fr: "Cliquez sur cette carte pour revenir au résumé",
|
|
516
511
|
it: "Clicca su questa scheda per tornare al sommario"
|
|
517
|
-
},
|
|
512
|
+
}, ge = {
|
|
518
513
|
de: "Datei auswählen",
|
|
519
514
|
en: "Choose a file",
|
|
520
515
|
fr: "Choisissez un fichier",
|
|
521
516
|
it: "Scegli un file"
|
|
522
|
-
},
|
|
517
|
+
}, _e = {
|
|
523
518
|
de: "Dateien auswählen",
|
|
524
519
|
en: "Choose files",
|
|
525
520
|
fr: "Choisissez des fichiers",
|
|
526
521
|
it: "Scegli file"
|
|
527
|
-
},
|
|
522
|
+
}, ve = {
|
|
528
523
|
de: "Ziehen Sie Ihre Datei hier hin (Drag & Drop)",
|
|
529
524
|
en: "Drag & Drop your file here",
|
|
530
525
|
fr: "Faites glisser et déposez votre fichier ici",
|
|
531
526
|
it: "Trascina e rilascia il file qui"
|
|
532
|
-
},
|
|
527
|
+
}, ye = {
|
|
533
528
|
de: "Ziehen Sie Ihre Dateien hier hin (Drag & Drop)",
|
|
534
529
|
en: "Drag & Drop your files here",
|
|
535
530
|
fr: "Faites glisser et déposez vos fichiers ici",
|
|
536
531
|
it: "Trascina e rilascia i file qui"
|
|
537
|
-
},
|
|
532
|
+
}, be = {
|
|
538
533
|
de: "Datei entfernen",
|
|
539
534
|
en: "Remove file",
|
|
540
535
|
fr: "Effacer le fichier",
|
|
541
536
|
it: "Rimuovi il file"
|
|
542
|
-
},
|
|
537
|
+
}, xe = (e) => e && e.length > 0 ? {
|
|
543
538
|
de: `Aktuell ausgewählte Datei: ${e.join(", ")}.`,
|
|
544
539
|
en: `Currently selected files: ${e.join(", ")}.`,
|
|
545
540
|
fr: `Fichier actuellement sélectionné: ${e.join(", ")}.`,
|
|
@@ -549,136 +544,136 @@ var e = {
|
|
|
549
544
|
en: "No files selected.",
|
|
550
545
|
fr: "Nessun fichier sélectionné.",
|
|
551
546
|
it: "Nessun file selezionato."
|
|
552
|
-
},
|
|
547
|
+
}, Se = {
|
|
553
548
|
de: "Nächste Seite",
|
|
554
549
|
en: "Next page",
|
|
555
550
|
fr: "Page suivante",
|
|
556
551
|
it: "Pagina successiva"
|
|
557
|
-
},
|
|
552
|
+
}, Ce = {
|
|
558
553
|
de: "Vorherige Seite",
|
|
559
554
|
en: "Previous page",
|
|
560
555
|
fr: "Page précédente",
|
|
561
556
|
it: "Pagina precedente"
|
|
562
|
-
},
|
|
557
|
+
}, we = {
|
|
563
558
|
de: "Seite",
|
|
564
559
|
en: "Page",
|
|
565
560
|
fr: "Page",
|
|
566
561
|
it: "Pagina"
|
|
567
|
-
},
|
|
562
|
+
}, Te = {
|
|
568
563
|
de: "Einträge pro Seite",
|
|
569
564
|
en: "Items per page",
|
|
570
565
|
fr: "Entrées par page",
|
|
571
566
|
it: "Elementi per pagina"
|
|
572
|
-
},
|
|
567
|
+
}, Ee = {
|
|
573
568
|
de: "ausgewählt",
|
|
574
569
|
en: "selected",
|
|
575
570
|
fr: "sélectionnée",
|
|
576
571
|
it: "selezionata"
|
|
577
|
-
},
|
|
572
|
+
}, De = {
|
|
578
573
|
de: "von",
|
|
579
574
|
en: "of",
|
|
580
575
|
fr: "sur",
|
|
581
576
|
it: "di"
|
|
582
|
-
},
|
|
577
|
+
}, Oe = {
|
|
583
578
|
de: "Muss gesetzt sein.",
|
|
584
579
|
en: "Must be checked.",
|
|
585
580
|
fr: "Doit être cochée.",
|
|
586
581
|
it: "Deve essere impostato."
|
|
587
|
-
},
|
|
582
|
+
}, ke = {
|
|
588
583
|
de: "Auswahl erforderlich.",
|
|
589
584
|
en: "Selection required.",
|
|
590
585
|
fr: "Sélection requise.",
|
|
591
586
|
it: "Selezione necessaria."
|
|
592
|
-
},
|
|
587
|
+
}, Ae = {
|
|
593
588
|
de: "Eingabe erforderlich.",
|
|
594
589
|
en: "Input required.",
|
|
595
590
|
fr: "Entrée obligatoire.",
|
|
596
591
|
it: "Inserimento necessario."
|
|
597
|
-
},
|
|
592
|
+
}, je = {
|
|
598
593
|
de: "Bitte gültiges Datum eingeben.",
|
|
599
594
|
en: "Please provide a valid date.",
|
|
600
595
|
fr: "Veuillez saisir une date valide.",
|
|
601
596
|
it: "Inserire una data valida."
|
|
602
|
-
},
|
|
597
|
+
}, Me = (e) => ({
|
|
603
598
|
de: `Datum darf nicht vor ${e} sein.`,
|
|
604
599
|
en: `Date must not be before ${e}.`,
|
|
605
600
|
fr: `La date ne doit pas être antérieure au ${e}.`,
|
|
606
601
|
it: `La data non deve essere anteriore al ${e}.`
|
|
607
|
-
}),
|
|
602
|
+
}), Ne = (e) => ({
|
|
608
603
|
de: `Datum darf nicht nach ${e} sein.`,
|
|
609
604
|
en: `Date must not be after ${e}.`,
|
|
610
605
|
fr: `La date ne doit pas être postérieure au ${e}.`,
|
|
611
606
|
it: `La data non deve essere successiva al ${e}.`
|
|
612
|
-
}),
|
|
607
|
+
}), Pe = (e) => ({
|
|
613
608
|
de: `Zeit geändert zu ${e}.`,
|
|
614
609
|
en: `Time changed to ${e}.`,
|
|
615
610
|
fr: `Heure modifiée: ${e}.`,
|
|
616
611
|
it: `Orario modificata alle ${e}.`
|
|
617
|
-
}),
|
|
612
|
+
}), Fe = {
|
|
618
613
|
de: "Bitte gültige Zeit eingeben.",
|
|
619
614
|
en: "Please provide a valid time.",
|
|
620
615
|
fr: "Veuillez saisir une heure valide.",
|
|
621
616
|
it: "Inserisci un orario valido."
|
|
622
|
-
},
|
|
617
|
+
}, Ie = {
|
|
623
618
|
de: "Zeit darf nicht nach 23:59 sein.",
|
|
624
619
|
en: "Time must not be after 23:59.",
|
|
625
620
|
fr: "L’heure ne doit pas être postérieure à 23h59.",
|
|
626
621
|
it: "L’orario non può essere successivo alle 23.59."
|
|
627
|
-
},
|
|
622
|
+
}, Le = {
|
|
628
623
|
de: "Die Zeiteingabe darf nicht mehr als fünf Zeichen haben.",
|
|
629
624
|
en: "The time input must not exceed five characters.",
|
|
630
625
|
fr: "La saisie de l’heure ne doit pas comporter plus de cinq caractères.",
|
|
631
626
|
it: "L’indicazione temporale non può contenere più di cinque caratteri."
|
|
632
|
-
},
|
|
627
|
+
}, Re = {
|
|
633
628
|
de: "Drücken Sie die Entfernen-Taste um den Chip zu löschen",
|
|
634
629
|
en: "Press the Delete button to remove the chip",
|
|
635
630
|
fr: "Appuyez sur la touche Del pour supprimer cette puce",
|
|
636
631
|
it: "Premi il tasto Canc per rimuovere questa chip"
|
|
637
|
-
},
|
|
632
|
+
}, ze = {
|
|
638
633
|
de: "Ausgewählte Elemente:",
|
|
639
634
|
en: "Selected elements:",
|
|
640
635
|
fr: "Éléments sélectionnés:",
|
|
641
636
|
it: "Elementi selezionati:"
|
|
642
|
-
},
|
|
637
|
+
}, Be = {
|
|
643
638
|
de: "Woche",
|
|
644
639
|
en: "Week",
|
|
645
640
|
fr: "Semaine",
|
|
646
641
|
it: "Settimana"
|
|
647
|
-
},
|
|
642
|
+
}, Ve = {
|
|
648
643
|
de: "Von und Nach tauschen",
|
|
649
644
|
en: "Swap from and to",
|
|
650
645
|
fr: "Échanger de et à",
|
|
651
646
|
it: "Inverti Da e A"
|
|
652
|
-
},
|
|
647
|
+
}, He = (e, t) => ({
|
|
653
648
|
de: `${e} von ${t}`,
|
|
654
649
|
en: `${e} of ${t}`,
|
|
655
650
|
fr: `${e} sur ${t}`,
|
|
656
651
|
it: `${e} di ${t}`
|
|
657
|
-
}),
|
|
652
|
+
}), Ue = {
|
|
658
653
|
de: "Karussell – Benutzen Sie die Pfeiltasten im Interaktionsmodus, um durch die Folien zu navigieren",
|
|
659
654
|
en: "Carousel - Use the arrow keys in interaction mode to navigate through the slides",
|
|
660
655
|
fr: "Carrousel – Utilisez les touches fléchées en mode interaction pour naviguer dans les diapositives",
|
|
661
656
|
it: "Carosello – Utilizzare i tasti freccia in modalità interazione per navigare tra le slide"
|
|
662
|
-
},
|
|
657
|
+
}, We = {
|
|
663
658
|
de: "Nächste Folie",
|
|
664
659
|
en: "Next slide",
|
|
665
660
|
fr: "Diapositive suivante",
|
|
666
661
|
it: "Slide successiva"
|
|
667
|
-
},
|
|
662
|
+
}, Ge = {
|
|
668
663
|
de: "Vorherige Folie",
|
|
669
664
|
en: "Previous slide",
|
|
670
665
|
fr: "Diapositive précédente",
|
|
671
666
|
it: "Slide precedente"
|
|
672
|
-
},
|
|
667
|
+
}, Ke = {
|
|
673
668
|
de: "Folie",
|
|
674
669
|
en: "Slide",
|
|
675
670
|
fr: "Diapositive",
|
|
676
671
|
it: "Slide"
|
|
677
|
-
},
|
|
672
|
+
}, qe = {
|
|
678
673
|
de: "Zeichen übrig",
|
|
679
674
|
en: "characters remaining",
|
|
680
675
|
fr: "caractères restants",
|
|
681
676
|
it: "caratteri rimanenti"
|
|
682
677
|
};
|
|
683
678
|
//#endregion
|
|
684
|
-
export { _ as i18nAdditionalWagonInformationHeading, i as i18nAnd, t as i18nArrival, g as i18nBlockedPassage,
|
|
679
|
+
export { _ as i18nAdditionalWagonInformationHeading, i as i18nAnd, t as i18nArrival, g as i18nBlockedPassage, fe as i18nBreadcrumbEllipsisButtonLabel, X as i18nCalendarDateSelection, Be as i18nCalendarWeekNumber, Ue as i18nCarouselArrowsNavigationHint, He as i18nCarouselItemAriaLabel, Oe as i18nCheckboxRequired, Re as i18nChipDelete, ze as i18nChipGroupInputDescription, a as i18nClass, pe as i18nClearInput, I as i18nCloseAlert, z as i18nCloseDialog, B as i18nCloseNavigation, L as i18nCloseNotification, H as i18nClosePopover, V as i18nCloseSidebar, d as i18nClosedCompartmentLabel, ue as i18nCollapsed, oe as i18nConnectionFrom, ce as i18nConnectionRoundtrip, se as i18nConnectionTo, m as i18nCouchetteWagonLabel, ae as i18nDateChangedTo, je as i18nDateInvalid, Ne as i18nDateMax, Me as i18nDateMin, ie as i18nDatePickerPlaceholder, v as i18nDeparture, R as i18nDialog, e as i18nDirection, x as i18nDurationDay, b as i18nDurationHour, y as i18nDurationMinute, le as i18nExpanded, ge as i18nFileSelectorButtonLabel, _e as i18nFileSelectorButtonLabelMultiple, xe as i18nFileSelectorCurrentlySelected, be as i18nFileSelectorDeleteFile, ve as i18nFileSelectorSubtitleLabel, ye as i18nFileSelectorSubtitleLabelMultiple, me as i18nFlipCard, k as i18nFromPlatform, U as i18nGoBack, Ae as i18nInputRequired, Te as i18nItemsPerPage, f as i18nLocomotiveLabel, de as i18nMapContainerButtonLabel, M as i18nMeansOfTransport, O as i18nNew, q as i18nNextDay, G as i18nNextMonth, Se as i18nNextPage, We as i18nNextSlide, $ as i18nNextYear, Z as i18nNextYearRange, j as i18nOccupancy, we as i18nPage, De as i18nPaginatorOf, Ee as i18nPaginatorSelected, J as i18nPreviousDay, K as i18nPreviousMonth, Ce as i18nPreviousPage, Ge as i18nPreviousSlide, ee as i18nPreviousYear, Q as i18nPreviousYearRange, T as i18nRealTimeInfo, qe as i18nRemainingCharacters, h as i18nRestaurantWagonLabel, he as i18nReverseCard, n as i18nSector, r as i18nSectorShort, te as i18nSelectNextDay, ne as i18nSelectPreviousDay, ke as i18nSelectionRequired, re as i18nShowCalendar, p as i18nSleepingWagonLabel, Ke as i18nSlide, A as i18nSupersaver, N as i18nTargetOpensInNewWindow, Pe as i18nTimeInputChange, Fe as i18nTimeInvalid, Ie as i18nTimeMax, Le as i18nTimeMaxLength, Ve as i18nTimetableFormSwapButtonLabel, W as i18nToday, o as i18nTrain, s as i18nTrains, E as i18nTransferProcedure, D as i18nTransferProcedures, w as i18nTravelhints, C as i18nTripDuration, S as i18nTripQuayChange, l as i18nWagonLabel, u as i18nWagonLabelNumber, c as i18nWagonsLabel, P as i18nWalkingDistanceArrival, F as i18nWalkingDistanceDeparture, Y as i18nYearMonthSelection };
|
|
@@ -4,20 +4,16 @@ import { SbbRequiredMixin as n } from "./required-mixin.js";
|
|
|
4
4
|
import { __esDecorate as r, __runInitializers as i } from "tslib";
|
|
5
5
|
import { defaultConverter as a } from "lit";
|
|
6
6
|
import { property as o } from "lit/decorators.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { preventScrollOnSpacebarPress as u } from "../eventing/form-element-handlers.js";
|
|
7
|
+
import { SbbLanguageController as s } from "../controllers/language-controller.js";
|
|
8
|
+
import { i18nCheckboxRequired as c } from "../i18n/i18n.js";
|
|
9
|
+
import { preventScrollOnSpacebarPress as l } from "../eventing/form-element-handlers.js";
|
|
11
10
|
//#region src/elements/core/mixins/form-associated-checkbox-mixin.ts
|
|
12
|
-
var
|
|
13
|
-
let
|
|
14
|
-
|
|
11
|
+
var u = (u) => (() => {
|
|
12
|
+
let d = e(n(t(u))), f = [], p;
|
|
13
|
+
return class extends d {
|
|
15
14
|
static {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
static {
|
|
19
|
-
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
|
|
20
|
-
v = [o({
|
|
15
|
+
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
16
|
+
p = [o({
|
|
21
17
|
type: Boolean,
|
|
22
18
|
converter: {
|
|
23
19
|
...a,
|
|
@@ -26,7 +22,7 @@ var d = (d) => (() => {
|
|
|
26
22
|
attribute: !0
|
|
27
23
|
})
|
|
28
24
|
}
|
|
29
|
-
})], r(this, null,
|
|
25
|
+
})], r(this, null, p, {
|
|
30
26
|
kind: "setter",
|
|
31
27
|
name: "checked",
|
|
32
28
|
static: !1,
|
|
@@ -38,11 +34,7 @@ var d = (d) => (() => {
|
|
|
38
34
|
}
|
|
39
35
|
},
|
|
40
36
|
metadata: e
|
|
41
|
-
}, null,
|
|
42
|
-
kind: "class",
|
|
43
|
-
name: h.name,
|
|
44
|
-
metadata: e
|
|
45
|
-
}, null, m), y = h = p.value, e && Object.defineProperty(h, Symbol.metadata, {
|
|
37
|
+
}, null, f), e && Object.defineProperty(this, Symbol.metadata, {
|
|
46
38
|
enumerable: !0,
|
|
47
39
|
configurable: !0,
|
|
48
40
|
writable: !0,
|
|
@@ -63,14 +55,17 @@ var d = (d) => (() => {
|
|
|
63
55
|
return "checkbox";
|
|
64
56
|
}
|
|
65
57
|
constructor() {
|
|
66
|
-
super(), this._attributeMutationBlocked = (i(this,
|
|
58
|
+
super(), this._attributeMutationBlocked = (i(this, f), !1), this._languageController = new s(this), this._checked = !1, this._handleKeyboardInteraction = (e) => {
|
|
67
59
|
e.key === " " && this._handleUserInteraction();
|
|
68
60
|
}, this._handleUserInteraction = () => {
|
|
69
61
|
this.disabled || (this.withUserInteraction?.(), this.checked = !this.checked, this._attributeMutationBlocked = !0, this.dispatchEvent(new InputEvent("input", {
|
|
70
62
|
composed: !0,
|
|
71
63
|
bubbles: !0
|
|
72
64
|
})), this.dispatchEvent(new Event("change", { bubbles: !0 })));
|
|
73
|
-
}, this.addEventListener?.("click", this._handleUserInteraction), this.addEventListener?.("keydown",
|
|
65
|
+
}, this.addEventListener?.("click", this._handleUserInteraction), this.addEventListener?.("keydown", l), this.addEventListener?.("keyup", this._handleKeyboardInteraction);
|
|
66
|
+
}
|
|
67
|
+
connectedCallback() {
|
|
68
|
+
super.connectedCallback(), this.tabIndex = 0;
|
|
74
69
|
}
|
|
75
70
|
attributeChangedCallback(e, t, n) {
|
|
76
71
|
(e !== "checked" || !this._attributeMutationBlocked) && super.attributeChangedCallback(e, t, n);
|
|
@@ -91,13 +86,9 @@ var d = (d) => (() => {
|
|
|
91
86
|
return super.shouldValidate(e) || e === "checked" || e === "required";
|
|
92
87
|
}
|
|
93
88
|
validate() {
|
|
94
|
-
super.validate(), this.required && !this.checked ? this.setValidityFlag("valueMissing",
|
|
95
|
-
}
|
|
96
|
-
static {
|
|
97
|
-
i(h, m);
|
|
89
|
+
super.validate(), this.required && !this.checked ? this.setValidityFlag("valueMissing", c[this._languageController.current]) : this.removeValidityFlag("valueMissing");
|
|
98
90
|
}
|
|
99
91
|
};
|
|
100
|
-
return h;
|
|
101
92
|
})();
|
|
102
93
|
//#endregion
|
|
103
|
-
export {
|
|
94
|
+
export { u as SbbFormAssociatedCheckboxMixin };
|