@sbb-esta/lyne-elements 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/a11y.css +1 -1
  2. package/alert/alert-group/alert-group.component.js +12 -12
  3. package/autocomplete/autocomplete-base-element.d.ts +14 -0
  4. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  5. package/autocomplete/autocomplete-base-element.js +110 -77
  6. package/autocomplete/autocomplete.component.d.ts.map +1 -1
  7. package/autocomplete/autocomplete.component.js +9 -9
  8. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  9. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +5 -5
  10. package/carousel/carousel/carousel.component.d.ts +32 -0
  11. package/carousel/carousel/carousel.component.d.ts.map +1 -0
  12. package/carousel/carousel/carousel.component.js +78 -0
  13. package/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  14. package/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  15. package/carousel/carousel-item/carousel-item.component.js +26 -0
  16. package/carousel/carousel-item.d.ts +5 -0
  17. package/carousel/carousel-item.d.ts.map +1 -0
  18. package/carousel/carousel-item.js +4 -0
  19. package/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  20. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  21. package/carousel/carousel-list/carousel-list.component.js +78 -0
  22. package/carousel/carousel-list.d.ts +5 -0
  23. package/carousel/carousel-list.d.ts.map +1 -0
  24. package/carousel/carousel-list.js +4 -0
  25. package/carousel/carousel.d.ts +5 -0
  26. package/carousel/carousel.d.ts.map +1 -0
  27. package/carousel/carousel.js +4 -0
  28. package/carousel.d.ts +7 -0
  29. package/carousel.d.ts.map +1 -0
  30. package/carousel.js +8 -0
  31. package/core/i18n/i18n.d.ts +6 -0
  32. package/core/i18n/i18n.d.ts.map +1 -1
  33. package/core/i18n/i18n.js +196 -160
  34. package/core/i18n.js +94 -88
  35. package/core/styles/core.scss +1 -1
  36. package/core/styles/mixins/a11y.scss +1 -1
  37. package/core/styles/mixins/scrollbar.scss +5 -3
  38. package/core/styles/mixins/timetable-form.scss +63 -0
  39. package/core/styles/standard-theme.scss +1 -0
  40. package/core/styles/timetable-form.scss +27 -0
  41. package/core.css +30 -30
  42. package/custom-elements.json +2907 -0
  43. package/datepicker/datepicker/datepicker.component.js +1 -1
  44. package/development/alert/alert-group/alert-group.component.js +1 -1
  45. package/development/autocomplete/autocomplete-base-element.d.ts +14 -0
  46. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  47. package/development/autocomplete/autocomplete-base-element.js +64 -9
  48. package/development/autocomplete/autocomplete.component.d.ts.map +1 -1
  49. package/development/autocomplete/autocomplete.component.js +4 -1
  50. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  51. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +4 -1
  52. package/development/carousel/carousel/carousel.component.d.ts +32 -0
  53. package/development/carousel/carousel/carousel.component.d.ts.map +1 -0
  54. package/development/carousel/carousel/carousel.component.js +153 -0
  55. package/development/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  56. package/development/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  57. package/development/carousel/carousel-item/carousel-item.component.js +46 -0
  58. package/development/carousel/carousel-item.d.ts +5 -0
  59. package/development/carousel/carousel-item.d.ts.map +1 -0
  60. package/development/carousel/carousel-item.js +5 -0
  61. package/development/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  62. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  63. package/development/carousel/carousel-list/carousel-list.component.js +143 -0
  64. package/development/carousel/carousel-list.d.ts +5 -0
  65. package/development/carousel/carousel-list.d.ts.map +1 -0
  66. package/development/carousel/carousel-list.js +5 -0
  67. package/development/carousel/carousel.d.ts +5 -0
  68. package/development/carousel/carousel.d.ts.map +1 -0
  69. package/development/carousel/carousel.js +5 -0
  70. package/development/carousel.d.ts +7 -0
  71. package/development/carousel.d.ts.map +1 -0
  72. package/development/carousel.js +9 -0
  73. package/development/core/i18n/i18n.d.ts +6 -0
  74. package/development/core/i18n/i18n.d.ts.map +1 -1
  75. package/development/core/i18n/i18n.js +43 -1
  76. package/development/core/i18n.js +7 -1
  77. package/development/datepicker/datepicker/datepicker.component.js +1 -1
  78. package/development/file-selector/common.js +1 -1
  79. package/development/{file-selector-common-B4I8rwJE.js → file-selector-common-CRnQigIZ.js} +2 -2
  80. package/development/file-selector.js +1 -1
  81. package/development/footer/footer.component.js +1 -1
  82. package/development/form-field/form-field/form-field.component.d.ts +3 -0
  83. package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
  84. package/development/form-field/form-field/form-field.component.js +4 -2
  85. package/development/header/common/header-action-common.js +8 -8
  86. package/development/link-list/link-list/link-list.component.js +8 -8
  87. package/development/navigation/navigation-section/navigation-section.component.js +1 -1
  88. package/development/paginator/paginator/paginator.component.js +1 -1
  89. package/development/radio-button/common.js +1 -1
  90. package/development/{radio-button-common-BRyEhlYf.js → radio-button-common-454JtP9b.js} +2 -2
  91. package/development/radio-button.js +1 -1
  92. package/development/screen-reader-only/screen-reader-only.component.js +1 -1
  93. package/development/skiplink-list/skiplink-list.component.js +1 -1
  94. package/development/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  95. package/development/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  96. package/development/timetable-form/timetable-form/timetable-form.component.js +40 -0
  97. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  98. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  99. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +57 -0
  100. package/development/timetable-form/timetable-form-details.d.ts +5 -0
  101. package/development/timetable-form/timetable-form-details.d.ts.map +1 -0
  102. package/development/timetable-form/timetable-form-details.js +5 -0
  103. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  104. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  105. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +130 -0
  106. package/development/timetable-form/timetable-form-field.d.ts +5 -0
  107. package/development/timetable-form/timetable-form-field.d.ts.map +1 -0
  108. package/development/timetable-form/timetable-form-field.js +5 -0
  109. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  110. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  111. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +80 -0
  112. package/development/timetable-form/timetable-form-swap-button.d.ts +5 -0
  113. package/development/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  114. package/development/timetable-form/timetable-form-swap-button.js +5 -0
  115. package/development/timetable-form/timetable-form.d.ts +5 -0
  116. package/development/timetable-form/timetable-form.d.ts.map +1 -0
  117. package/development/timetable-form/timetable-form.js +5 -0
  118. package/development/timetable-form.d.ts +8 -0
  119. package/development/timetable-form.d.ts.map +1 -0
  120. package/development/timetable-form.js +11 -0
  121. package/development/train/train/train.component.js +1 -1
  122. package/development/train/train-wagon/train-wagon.component.js +1 -1
  123. package/file-selector/common.js +1 -1
  124. package/{file-selector-common-Cn6U8goV.js → file-selector-common-OHK9hu3a.js} +1 -1
  125. package/file-selector.js +1 -1
  126. package/footer/footer.component.js +1 -1
  127. package/form-field/form-field/form-field.component.d.ts +3 -0
  128. package/form-field/form-field/form-field.component.d.ts.map +1 -1
  129. package/form-field/form-field/form-field.component.js +1 -1
  130. package/header/common/header-action-common.js +5 -5
  131. package/index.d.ts +14 -0
  132. package/index.js +14 -0
  133. package/link-list/link-list/link-list.component.js +8 -8
  134. package/navigation/navigation-section/navigation-section.component.js +1 -1
  135. package/package.json +50 -1
  136. package/paginator/paginator/paginator.component.js +1 -1
  137. package/radio-button/common.js +1 -1
  138. package/radio-button-common-CUppr5FI.js +5 -0
  139. package/radio-button.js +1 -1
  140. package/screen-reader-only/screen-reader-only.component.js +1 -1
  141. package/skiplink-list/skiplink-list.component.js +1 -1
  142. package/standard-theme.css +105 -31
  143. package/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  144. package/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  145. package/timetable-form/timetable-form/timetable-form.component.js +19 -0
  146. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  147. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  148. package/timetable-form/timetable-form-details/timetable-form-details.component.js +19 -0
  149. package/timetable-form/timetable-form-details.d.ts +5 -0
  150. package/timetable-form/timetable-form-details.d.ts.map +1 -0
  151. package/timetable-form/timetable-form-details.js +4 -0
  152. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  153. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  154. package/timetable-form/timetable-form-field/timetable-form-field.component.js +32 -0
  155. package/timetable-form/timetable-form-field.d.ts +5 -0
  156. package/timetable-form/timetable-form-field.d.ts.map +1 -0
  157. package/timetable-form/timetable-form-field.js +4 -0
  158. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  159. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  160. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +38 -0
  161. package/timetable-form/timetable-form-swap-button.d.ts +5 -0
  162. package/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  163. package/timetable-form/timetable-form-swap-button.js +4 -0
  164. package/timetable-form/timetable-form.d.ts +5 -0
  165. package/timetable-form/timetable-form.d.ts.map +1 -0
  166. package/timetable-form/timetable-form.js +4 -0
  167. package/timetable-form.css +73 -0
  168. package/timetable-form.d.ts +8 -0
  169. package/timetable-form.d.ts.map +1 -0
  170. package/timetable-form.js +10 -0
  171. package/train/train/train.component.js +1 -1
  172. package/train/train-wagon/train-wagon.component.js +1 -1
  173. package/radio-button-common-DzALx3X7.js +0 -5
@@ -345,6 +345,37 @@
345
345
  }
346
346
  ]
347
347
  },
348
+ {
349
+ "kind": "javascript-module",
350
+ "path": "carousel.js",
351
+ "declarations": [],
352
+ "exports": [
353
+ {
354
+ "kind": "js",
355
+ "name": "*",
356
+ "declaration": {
357
+ "name": "*",
358
+ "package": "./carousel/carousel.js"
359
+ }
360
+ },
361
+ {
362
+ "kind": "js",
363
+ "name": "*",
364
+ "declaration": {
365
+ "name": "*",
366
+ "package": "./carousel/carousel-item.js"
367
+ }
368
+ },
369
+ {
370
+ "kind": "js",
371
+ "name": "*",
372
+ "declaration": {
373
+ "name": "*",
374
+ "package": "./carousel/carousel-list.js"
375
+ }
376
+ }
377
+ ]
378
+ },
348
379
  {
349
380
  "kind": "javascript-module",
350
381
  "path": "checkbox.js",
@@ -1685,6 +1716,45 @@
1685
1716
  }
1686
1717
  ]
1687
1718
  },
1719
+ {
1720
+ "kind": "javascript-module",
1721
+ "path": "timetable-form.js",
1722
+ "declarations": [],
1723
+ "exports": [
1724
+ {
1725
+ "kind": "js",
1726
+ "name": "*",
1727
+ "declaration": {
1728
+ "name": "*",
1729
+ "package": "./timetable-form/timetable-form.js"
1730
+ }
1731
+ },
1732
+ {
1733
+ "kind": "js",
1734
+ "name": "*",
1735
+ "declaration": {
1736
+ "name": "*",
1737
+ "package": "./timetable-form/timetable-form-details.js"
1738
+ }
1739
+ },
1740
+ {
1741
+ "kind": "js",
1742
+ "name": "*",
1743
+ "declaration": {
1744
+ "name": "*",
1745
+ "package": "./timetable-form/timetable-form-field.js"
1746
+ }
1747
+ },
1748
+ {
1749
+ "kind": "js",
1750
+ "name": "*",
1751
+ "declaration": {
1752
+ "name": "*",
1753
+ "package": "./timetable-form/timetable-form-swap-button.js"
1754
+ }
1755
+ }
1756
+ ]
1757
+ },
1688
1758
  {
1689
1759
  "kind": "javascript-module",
1690
1760
  "path": "timetable-occupancy-icon.js",
@@ -2355,6 +2425,28 @@
2355
2425
  "attribute": "size",
2356
2426
  "reflects": true
2357
2427
  },
2428
+ {
2429
+ "kind": "field",
2430
+ "name": "autoSelectActiveOption",
2431
+ "type": {
2432
+ "text": "boolean"
2433
+ },
2434
+ "privacy": "public",
2435
+ "default": "false",
2436
+ "description": "Whether the active option should be selected as the user is navigating.",
2437
+ "attribute": "auto-select-active-option"
2438
+ },
2439
+ {
2440
+ "kind": "field",
2441
+ "name": "requireSelection",
2442
+ "type": {
2443
+ "text": "boolean"
2444
+ },
2445
+ "privacy": "public",
2446
+ "default": "false",
2447
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
2448
+ "attribute": "require-selection"
2449
+ },
2358
2450
  {
2359
2451
  "kind": "field",
2360
2452
  "name": "originElement",
@@ -2476,6 +2568,16 @@
2476
2568
  "privacy": "private",
2477
2569
  "default": "0"
2478
2570
  },
2571
+ {
2572
+ "kind": "field",
2573
+ "name": "_lastUserInput",
2574
+ "type": {
2575
+ "text": "string | null"
2576
+ },
2577
+ "privacy": "private",
2578
+ "default": "null",
2579
+ "description": "Tracks input from keyboard."
2580
+ },
2479
2581
  {
2480
2582
  "kind": "field",
2481
2583
  "name": "options",
@@ -2637,6 +2739,43 @@
2637
2739
  ],
2638
2740
  "description": "When an option is selected, update the input value and close the autocomplete."
2639
2741
  },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "onOptionArrowsSelected",
2745
+ "privacy": "protected",
2746
+ "return": {
2747
+ "type": {
2748
+ "text": "void"
2749
+ }
2750
+ },
2751
+ "parameters": [
2752
+ {
2753
+ "name": "activeOption",
2754
+ "type": {
2755
+ "text": "SbbOptionBaseElement<T>"
2756
+ }
2757
+ }
2758
+ ],
2759
+ "description": "When an option is selected, update the input value and close the autocomplete."
2760
+ },
2761
+ {
2762
+ "kind": "method",
2763
+ "name": "_setValueAndDispatchEvents",
2764
+ "privacy": "private",
2765
+ "return": {
2766
+ "type": {
2767
+ "text": "void"
2768
+ }
2769
+ },
2770
+ "parameters": [
2771
+ {
2772
+ "name": "selectedOption",
2773
+ "type": {
2774
+ "text": "SbbOptionBaseElement<T>"
2775
+ }
2776
+ }
2777
+ ]
2778
+ },
2640
2779
  {
2641
2780
  "kind": "method",
2642
2781
  "name": "_handleSlotchange",
@@ -3041,6 +3180,24 @@
3041
3180
  "default": "'m' / 's' (lean)",
3042
3181
  "fieldName": "size"
3043
3182
  },
3183
+ {
3184
+ "name": "auto-select-active-option",
3185
+ "type": {
3186
+ "text": "boolean"
3187
+ },
3188
+ "default": "false",
3189
+ "description": "Whether the active option should be selected as the user is navigating.",
3190
+ "fieldName": "autoSelectActiveOption"
3191
+ },
3192
+ {
3193
+ "name": "require-selection",
3194
+ "type": {
3195
+ "text": "boolean"
3196
+ },
3197
+ "default": "false",
3198
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
3199
+ "fieldName": "requireSelection"
3200
+ },
3044
3201
  {
3045
3202
  "name": "negative",
3046
3203
  "type": {
@@ -3471,6 +3628,36 @@
3471
3628
  "module": "autocomplete/autocomplete-base-element.js"
3472
3629
  }
3473
3630
  },
3631
+ {
3632
+ "kind": "field",
3633
+ "name": "autoSelectActiveOption",
3634
+ "type": {
3635
+ "text": "boolean"
3636
+ },
3637
+ "privacy": "public",
3638
+ "default": "false",
3639
+ "description": "Whether the active option should be selected as the user is navigating.",
3640
+ "attribute": "auto-select-active-option",
3641
+ "inheritedFrom": {
3642
+ "name": "SbbAutocompleteBaseElement",
3643
+ "module": "autocomplete/autocomplete-base-element.js"
3644
+ }
3645
+ },
3646
+ {
3647
+ "kind": "field",
3648
+ "name": "requireSelection",
3649
+ "type": {
3650
+ "text": "boolean"
3651
+ },
3652
+ "privacy": "public",
3653
+ "default": "false",
3654
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
3655
+ "attribute": "require-selection",
3656
+ "inheritedFrom": {
3657
+ "name": "SbbAutocompleteBaseElement",
3658
+ "module": "autocomplete/autocomplete-base-element.js"
3659
+ }
3660
+ },
3474
3661
  {
3475
3662
  "kind": "field",
3476
3663
  "name": "originElement",
@@ -3628,6 +3815,20 @@
3628
3815
  "module": "autocomplete/autocomplete-base-element.js"
3629
3816
  }
3630
3817
  },
3818
+ {
3819
+ "kind": "field",
3820
+ "name": "_lastUserInput",
3821
+ "type": {
3822
+ "text": "string | null"
3823
+ },
3824
+ "privacy": "private",
3825
+ "default": "null",
3826
+ "description": "Tracks input from keyboard.",
3827
+ "inheritedFrom": {
3828
+ "name": "SbbAutocompleteBaseElement",
3829
+ "module": "autocomplete/autocomplete-base-element.js"
3830
+ }
3831
+ },
3631
3832
  {
3632
3833
  "kind": "method",
3633
3834
  "name": "open",
@@ -3695,6 +3896,51 @@
3695
3896
  "module": "autocomplete/autocomplete-base-element.js"
3696
3897
  }
3697
3898
  },
3899
+ {
3900
+ "kind": "method",
3901
+ "name": "onOptionArrowsSelected",
3902
+ "privacy": "protected",
3903
+ "return": {
3904
+ "type": {
3905
+ "text": "void"
3906
+ }
3907
+ },
3908
+ "parameters": [
3909
+ {
3910
+ "name": "activeOption",
3911
+ "type": {
3912
+ "text": "SbbOptionBaseElement<T>"
3913
+ }
3914
+ }
3915
+ ],
3916
+ "description": "When an option is selected, update the input value and close the autocomplete.",
3917
+ "inheritedFrom": {
3918
+ "name": "SbbAutocompleteBaseElement",
3919
+ "module": "autocomplete/autocomplete-base-element.js"
3920
+ }
3921
+ },
3922
+ {
3923
+ "kind": "method",
3924
+ "name": "_setValueAndDispatchEvents",
3925
+ "privacy": "private",
3926
+ "return": {
3927
+ "type": {
3928
+ "text": "void"
3929
+ }
3930
+ },
3931
+ "parameters": [
3932
+ {
3933
+ "name": "selectedOption",
3934
+ "type": {
3935
+ "text": "SbbOptionBaseElement<T>"
3936
+ }
3937
+ }
3938
+ ],
3939
+ "inheritedFrom": {
3940
+ "name": "SbbAutocompleteBaseElement",
3941
+ "module": "autocomplete/autocomplete-base-element.js"
3942
+ }
3943
+ },
3698
3944
  {
3699
3945
  "kind": "method",
3700
3946
  "name": "_handleSlotchange",
@@ -4128,6 +4374,32 @@
4128
4374
  "name": "SbbAutocompleteBaseElement",
4129
4375
  "module": "autocomplete/autocomplete-base-element.js"
4130
4376
  }
4377
+ },
4378
+ {
4379
+ "name": "auto-select-active-option",
4380
+ "type": {
4381
+ "text": "boolean"
4382
+ },
4383
+ "default": "false",
4384
+ "description": "Whether the active option should be selected as the user is navigating.",
4385
+ "fieldName": "autoSelectActiveOption",
4386
+ "inheritedFrom": {
4387
+ "name": "SbbAutocompleteBaseElement",
4388
+ "module": "autocomplete/autocomplete-base-element.js"
4389
+ }
4390
+ },
4391
+ {
4392
+ "name": "require-selection",
4393
+ "type": {
4394
+ "text": "boolean"
4395
+ },
4396
+ "default": "false",
4397
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
4398
+ "fieldName": "requireSelection",
4399
+ "inheritedFrom": {
4400
+ "name": "SbbAutocompleteBaseElement",
4401
+ "module": "autocomplete/autocomplete-base-element.js"
4402
+ }
4131
4403
  }
4132
4404
  ],
4133
4405
  "events": [
@@ -6650,6 +6922,51 @@
6650
6922
  }
6651
6923
  ]
6652
6924
  },
6925
+ {
6926
+ "kind": "javascript-module",
6927
+ "path": "carousel/carousel-item.js",
6928
+ "declarations": [],
6929
+ "exports": [
6930
+ {
6931
+ "kind": "js",
6932
+ "name": "*",
6933
+ "declaration": {
6934
+ "name": "*",
6935
+ "package": "./carousel-item/carousel-item.component.js"
6936
+ }
6937
+ }
6938
+ ]
6939
+ },
6940
+ {
6941
+ "kind": "javascript-module",
6942
+ "path": "carousel/carousel-list.js",
6943
+ "declarations": [],
6944
+ "exports": [
6945
+ {
6946
+ "kind": "js",
6947
+ "name": "*",
6948
+ "declaration": {
6949
+ "name": "*",
6950
+ "package": "./carousel-list/carousel-list.component.js"
6951
+ }
6952
+ }
6953
+ ]
6954
+ },
6955
+ {
6956
+ "kind": "javascript-module",
6957
+ "path": "carousel/carousel.js",
6958
+ "declarations": [],
6959
+ "exports": [
6960
+ {
6961
+ "kind": "js",
6962
+ "name": "*",
6963
+ "declaration": {
6964
+ "name": "*",
6965
+ "package": "./carousel/carousel.component.js"
6966
+ }
6967
+ }
6968
+ ]
6969
+ },
6653
6970
  {
6654
6971
  "kind": "javascript-module",
6655
6972
  "path": "checkbox/checkbox-group.js",
@@ -20223,6 +20540,66 @@
20223
20540
  }
20224
20541
  ]
20225
20542
  },
20543
+ {
20544
+ "kind": "javascript-module",
20545
+ "path": "timetable-form/timetable-form-details.js",
20546
+ "declarations": [],
20547
+ "exports": [
20548
+ {
20549
+ "kind": "js",
20550
+ "name": "*",
20551
+ "declaration": {
20552
+ "name": "*",
20553
+ "package": "./timetable-form-details/timetable-form-details.component.js"
20554
+ }
20555
+ }
20556
+ ]
20557
+ },
20558
+ {
20559
+ "kind": "javascript-module",
20560
+ "path": "timetable-form/timetable-form-field.js",
20561
+ "declarations": [],
20562
+ "exports": [
20563
+ {
20564
+ "kind": "js",
20565
+ "name": "*",
20566
+ "declaration": {
20567
+ "name": "*",
20568
+ "package": "./timetable-form-field/timetable-form-field.component.js"
20569
+ }
20570
+ }
20571
+ ]
20572
+ },
20573
+ {
20574
+ "kind": "javascript-module",
20575
+ "path": "timetable-form/timetable-form-swap-button.js",
20576
+ "declarations": [],
20577
+ "exports": [
20578
+ {
20579
+ "kind": "js",
20580
+ "name": "*",
20581
+ "declaration": {
20582
+ "name": "*",
20583
+ "package": "./timetable-form-swap-button/timetable-form-swap-button.component.js"
20584
+ }
20585
+ }
20586
+ ]
20587
+ },
20588
+ {
20589
+ "kind": "javascript-module",
20590
+ "path": "timetable-form/timetable-form.js",
20591
+ "declarations": [],
20592
+ "exports": [
20593
+ {
20594
+ "kind": "js",
20595
+ "name": "*",
20596
+ "declaration": {
20597
+ "name": "*",
20598
+ "package": "./timetable-form/timetable-form.component.js"
20599
+ }
20600
+ }
20601
+ ]
20602
+ },
20226
20603
  {
20227
20604
  "kind": "javascript-module",
20228
20605
  "path": "timetable-occupancy/timetable-occupancy.component.js",
@@ -23751,6 +24128,36 @@
23751
24128
  "module": "autocomplete/autocomplete-base-element.js"
23752
24129
  }
23753
24130
  },
24131
+ {
24132
+ "kind": "field",
24133
+ "name": "autoSelectActiveOption",
24134
+ "type": {
24135
+ "text": "boolean"
24136
+ },
24137
+ "privacy": "public",
24138
+ "default": "false",
24139
+ "description": "Whether the active option should be selected as the user is navigating.",
24140
+ "attribute": "auto-select-active-option",
24141
+ "inheritedFrom": {
24142
+ "name": "SbbAutocompleteBaseElement",
24143
+ "module": "autocomplete/autocomplete-base-element.js"
24144
+ }
24145
+ },
24146
+ {
24147
+ "kind": "field",
24148
+ "name": "requireSelection",
24149
+ "type": {
24150
+ "text": "boolean"
24151
+ },
24152
+ "privacy": "public",
24153
+ "default": "false",
24154
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
24155
+ "attribute": "require-selection",
24156
+ "inheritedFrom": {
24157
+ "name": "SbbAutocompleteBaseElement",
24158
+ "module": "autocomplete/autocomplete-base-element.js"
24159
+ }
24160
+ },
23754
24161
  {
23755
24162
  "kind": "field",
23756
24163
  "name": "originElement",
@@ -23908,6 +24315,20 @@
23908
24315
  "module": "autocomplete/autocomplete-base-element.js"
23909
24316
  }
23910
24317
  },
24318
+ {
24319
+ "kind": "field",
24320
+ "name": "_lastUserInput",
24321
+ "type": {
24322
+ "text": "string | null"
24323
+ },
24324
+ "privacy": "private",
24325
+ "default": "null",
24326
+ "description": "Tracks input from keyboard.",
24327
+ "inheritedFrom": {
24328
+ "name": "SbbAutocompleteBaseElement",
24329
+ "module": "autocomplete/autocomplete-base-element.js"
24330
+ }
24331
+ },
23911
24332
  {
23912
24333
  "kind": "method",
23913
24334
  "name": "open",
@@ -23975,6 +24396,51 @@
23975
24396
  "module": "autocomplete/autocomplete-base-element.js"
23976
24397
  }
23977
24398
  },
24399
+ {
24400
+ "kind": "method",
24401
+ "name": "onOptionArrowsSelected",
24402
+ "privacy": "protected",
24403
+ "return": {
24404
+ "type": {
24405
+ "text": "void"
24406
+ }
24407
+ },
24408
+ "parameters": [
24409
+ {
24410
+ "name": "activeOption",
24411
+ "type": {
24412
+ "text": "SbbOptionBaseElement<T>"
24413
+ }
24414
+ }
24415
+ ],
24416
+ "description": "When an option is selected, update the input value and close the autocomplete.",
24417
+ "inheritedFrom": {
24418
+ "name": "SbbAutocompleteBaseElement",
24419
+ "module": "autocomplete/autocomplete-base-element.js"
24420
+ }
24421
+ },
24422
+ {
24423
+ "kind": "method",
24424
+ "name": "_setValueAndDispatchEvents",
24425
+ "privacy": "private",
24426
+ "return": {
24427
+ "type": {
24428
+ "text": "void"
24429
+ }
24430
+ },
24431
+ "parameters": [
24432
+ {
24433
+ "name": "selectedOption",
24434
+ "type": {
24435
+ "text": "SbbOptionBaseElement<T>"
24436
+ }
24437
+ }
24438
+ ],
24439
+ "inheritedFrom": {
24440
+ "name": "SbbAutocompleteBaseElement",
24441
+ "module": "autocomplete/autocomplete-base-element.js"
24442
+ }
24443
+ },
23978
24444
  {
23979
24445
  "kind": "method",
23980
24446
  "name": "_handleSlotchange",
@@ -24408,6 +24874,32 @@
24408
24874
  "name": "SbbAutocompleteBaseElement",
24409
24875
  "module": "autocomplete/autocomplete-base-element.js"
24410
24876
  }
24877
+ },
24878
+ {
24879
+ "name": "auto-select-active-option",
24880
+ "type": {
24881
+ "text": "boolean"
24882
+ },
24883
+ "default": "false",
24884
+ "description": "Whether the active option should be selected as the user is navigating.",
24885
+ "fieldName": "autoSelectActiveOption",
24886
+ "inheritedFrom": {
24887
+ "name": "SbbAutocompleteBaseElement",
24888
+ "module": "autocomplete/autocomplete-base-element.js"
24889
+ }
24890
+ },
24891
+ {
24892
+ "name": "require-selection",
24893
+ "type": {
24894
+ "text": "boolean"
24895
+ },
24896
+ "default": "false",
24897
+ "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
24898
+ "fieldName": "requireSelection",
24899
+ "inheritedFrom": {
24900
+ "name": "SbbAutocompleteBaseElement",
24901
+ "module": "autocomplete/autocomplete-base-element.js"
24902
+ }
24411
24903
  }
24412
24904
  ],
24413
24905
  "events": [
@@ -37449,6 +37941,407 @@
37449
37941
  }
37450
37942
  ]
37451
37943
  },
37944
+ {
37945
+ "kind": "javascript-module",
37946
+ "path": "carousel/carousel/carousel.component.js",
37947
+ "declarations": [
37948
+ {
37949
+ "kind": "class",
37950
+ "description": "It displays a carousel component.",
37951
+ "name": "SbbCarouselElement",
37952
+ "slots": [
37953
+ {
37954
+ "description": "Use the unnamed slot to add the `sbb-carousel-list` for content and a `sbb-paginator` for controls.",
37955
+ "name": ""
37956
+ }
37957
+ ],
37958
+ "members": [
37959
+ {
37960
+ "kind": "field",
37961
+ "name": "shadow",
37962
+ "type": {
37963
+ "text": "boolean"
37964
+ },
37965
+ "privacy": "public",
37966
+ "default": "false",
37967
+ "description": "Used to display a box-shadow around the component.",
37968
+ "attribute": "shadow",
37969
+ "reflects": true
37970
+ },
37971
+ {
37972
+ "kind": "field",
37973
+ "name": "_paginator",
37974
+ "type": {
37975
+ "text": "SbbCompactPaginatorElement | null"
37976
+ },
37977
+ "privacy": "private",
37978
+ "default": "null"
37979
+ },
37980
+ {
37981
+ "kind": "field",
37982
+ "name": "_abortController",
37983
+ "type": {
37984
+ "text": "AbortController | null"
37985
+ },
37986
+ "privacy": "private",
37987
+ "default": "null"
37988
+ },
37989
+ {
37990
+ "kind": "field",
37991
+ "name": "_language",
37992
+ "privacy": "private",
37993
+ "default": "new SbbLanguageController(this)"
37994
+ },
37995
+ {
37996
+ "kind": "method",
37997
+ "name": "_handleSlotchange",
37998
+ "privacy": "private",
37999
+ "return": {
38000
+ "type": {
38001
+ "text": "void"
38002
+ }
38003
+ }
38004
+ },
38005
+ {
38006
+ "kind": "method",
38007
+ "name": "_scrollAtPageChange",
38008
+ "privacy": "private",
38009
+ "return": {
38010
+ "type": {
38011
+ "text": "void"
38012
+ }
38013
+ },
38014
+ "parameters": [
38015
+ {
38016
+ "name": "e",
38017
+ "type": {
38018
+ "text": "CustomEvent<SbbPaginatorPageEventDetails>"
38019
+ }
38020
+ }
38021
+ ]
38022
+ },
38023
+ {
38024
+ "kind": "method",
38025
+ "name": "toggleState",
38026
+ "privacy": "protected",
38027
+ "return": {
38028
+ "type": {
38029
+ "text": "void"
38030
+ }
38031
+ },
38032
+ "parameters": [
38033
+ {
38034
+ "name": "state",
38035
+ "type": {
38036
+ "text": "string"
38037
+ }
38038
+ },
38039
+ {
38040
+ "name": "force",
38041
+ "optional": true,
38042
+ "type": {
38043
+ "text": "boolean"
38044
+ }
38045
+ }
38046
+ ],
38047
+ "inheritedFrom": {
38048
+ "name": "SbbElementInternalsMixin",
38049
+ "module": "core/mixins/element-internals-mixin.js"
38050
+ }
38051
+ }
38052
+ ],
38053
+ "attributes": [
38054
+ {
38055
+ "name": "shadow",
38056
+ "type": {
38057
+ "text": "boolean"
38058
+ },
38059
+ "default": "false",
38060
+ "description": "Used to display a box-shadow around the component.",
38061
+ "fieldName": "shadow"
38062
+ }
38063
+ ],
38064
+ "mixins": [
38065
+ {
38066
+ "name": "SbbElementInternalsMixin",
38067
+ "module": "core/mixins.js"
38068
+ }
38069
+ ],
38070
+ "superclass": {
38071
+ "name": "LitElement",
38072
+ "package": "lit"
38073
+ },
38074
+ "tagName": "sbb-carousel",
38075
+ "customElement": true
38076
+ }
38077
+ ],
38078
+ "exports": [
38079
+ {
38080
+ "kind": "js",
38081
+ "name": "SbbCarouselElement",
38082
+ "declaration": {
38083
+ "name": "SbbCarouselElement",
38084
+ "module": "carousel/carousel/carousel.component.js"
38085
+ }
38086
+ },
38087
+ {
38088
+ "kind": "custom-element-definition",
38089
+ "name": "sbb-carousel",
38090
+ "declaration": {
38091
+ "name": "SbbCarouselElement",
38092
+ "module": "carousel/carousel/carousel.component.js"
38093
+ }
38094
+ }
38095
+ ]
38096
+ },
38097
+ {
38098
+ "kind": "javascript-module",
38099
+ "path": "carousel/carousel-item/carousel-item.component.js",
38100
+ "declarations": [
38101
+ {
38102
+ "kind": "class",
38103
+ "description": "It displays an item contained into the `sbb-carousel` component.",
38104
+ "name": "SbbCarouselItemElement",
38105
+ "slots": [
38106
+ {
38107
+ "description": "Use the unnamed slot to add images for the carousel, as <img>, <sbb-image>, <picture>, ...",
38108
+ "name": ""
38109
+ }
38110
+ ],
38111
+ "members": [
38112
+ {
38113
+ "kind": "field",
38114
+ "name": "events",
38115
+ "type": {
38116
+ "text": "{\n beforeshow: 'beforeshow',\n show: 'show',\n }"
38117
+ },
38118
+ "privacy": "public",
38119
+ "static": true,
38120
+ "readonly": true,
38121
+ "default": "{ beforeshow: 'beforeshow', show: 'show', }"
38122
+ },
38123
+ {
38124
+ "kind": "method",
38125
+ "name": "toggleState",
38126
+ "privacy": "protected",
38127
+ "return": {
38128
+ "type": {
38129
+ "text": "void"
38130
+ }
38131
+ },
38132
+ "parameters": [
38133
+ {
38134
+ "name": "state",
38135
+ "type": {
38136
+ "text": "string"
38137
+ }
38138
+ },
38139
+ {
38140
+ "name": "force",
38141
+ "optional": true,
38142
+ "type": {
38143
+ "text": "boolean"
38144
+ }
38145
+ }
38146
+ ],
38147
+ "inheritedFrom": {
38148
+ "name": "SbbElementInternalsMixin",
38149
+ "module": "core/mixins/element-internals-mixin.js"
38150
+ }
38151
+ }
38152
+ ],
38153
+ "events": [
38154
+ {
38155
+ "type": {
38156
+ "text": "CustomEvent<SbbCarouselItemEventDetail>"
38157
+ },
38158
+ "description": "Event emitted when the item is starting scrolling.",
38159
+ "name": "beforeshow"
38160
+ },
38161
+ {
38162
+ "type": {
38163
+ "text": "CustomEvent<SbbCarouselItemEventDetail>"
38164
+ },
38165
+ "description": "Event emitted when the item is full visible after scrolling.",
38166
+ "name": "show"
38167
+ }
38168
+ ],
38169
+ "mixins": [
38170
+ {
38171
+ "name": "SbbElementInternalsMixin",
38172
+ "module": "core/mixins.js"
38173
+ }
38174
+ ],
38175
+ "superclass": {
38176
+ "name": "LitElement",
38177
+ "package": "lit"
38178
+ },
38179
+ "tagName": "sbb-carousel-item",
38180
+ "customElement": true
38181
+ }
38182
+ ],
38183
+ "exports": [
38184
+ {
38185
+ "kind": "js",
38186
+ "name": "SbbCarouselItemElement",
38187
+ "declaration": {
38188
+ "name": "SbbCarouselItemElement",
38189
+ "module": "carousel/carousel-item/carousel-item.component.js"
38190
+ }
38191
+ },
38192
+ {
38193
+ "kind": "custom-element-definition",
38194
+ "name": "sbb-carousel-item",
38195
+ "declaration": {
38196
+ "name": "SbbCarouselItemElement",
38197
+ "module": "carousel/carousel-item/carousel-item.component.js"
38198
+ }
38199
+ }
38200
+ ]
38201
+ },
38202
+ {
38203
+ "kind": "javascript-module",
38204
+ "path": "carousel/carousel-list/carousel-list.component.js",
38205
+ "declarations": [
38206
+ {
38207
+ "kind": "class",
38208
+ "description": "It displays a list of `sbb-carousel-item` components.",
38209
+ "name": "SbbCarouselListElement",
38210
+ "slots": [
38211
+ {
38212
+ "description": "Use the unnamed slot to add `sbb-carousel-item` elements.",
38213
+ "name": ""
38214
+ }
38215
+ ],
38216
+ "members": [
38217
+ {
38218
+ "kind": "field",
38219
+ "name": "_currentIndex",
38220
+ "type": {
38221
+ "text": "number"
38222
+ },
38223
+ "privacy": "private",
38224
+ "default": "0"
38225
+ },
38226
+ {
38227
+ "kind": "field",
38228
+ "name": "_carouselItems",
38229
+ "type": {
38230
+ "text": "SbbCarouselItemElement[]"
38231
+ },
38232
+ "privacy": "private",
38233
+ "description": "Gets the slotted items.",
38234
+ "readonly": true
38235
+ },
38236
+ {
38237
+ "kind": "field",
38238
+ "name": "_language",
38239
+ "privacy": "private",
38240
+ "default": "new SbbLanguageController(this)"
38241
+ },
38242
+ {
38243
+ "kind": "field",
38244
+ "name": "_beforeShowObserver",
38245
+ "privacy": "private",
38246
+ "default": "new IntersectionController(this, { callback: (entry) => { const item = entry.filter((e) => e.isIntersecting && e.target !== this); item.forEach((e) => { const target = e.target as SbbCarouselItemElement; target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('beforeshow', { detail: { index: this._carouselItems.findIndex((e) => e === target) }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.01, root: this, rootMargin: '100% 0% 100% 0%' }, })"
38247
+ },
38248
+ {
38249
+ "kind": "field",
38250
+ "name": "_showObserver",
38251
+ "privacy": "private",
38252
+ "default": "new IntersectionController(this, { callback: (entryArr) => { const entries = entryArr.filter((e) => e.target !== this); entries .filter((e) => !e.isIntersecting) .forEach((e) => ((e.target as SbbCarouselItemElement).ariaHidden = 'true')); entries .filter((e) => e.isIntersecting) .forEach((e) => { const target = e.target as SbbCarouselItemElement; target.ariaHidden = 'false'; this._currentIndex = this._carouselItems.findIndex((e) => e === target); target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('show', { detail: { index: this._currentIndex }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.99, root: this, rootMargin: '100% 0% 100% 0%' }, })"
38253
+ },
38254
+ {
38255
+ "kind": "method",
38256
+ "name": "_handleSlotchange",
38257
+ "privacy": "private",
38258
+ "return": {
38259
+ "type": {
38260
+ "text": "void"
38261
+ }
38262
+ }
38263
+ },
38264
+ {
38265
+ "kind": "method",
38266
+ "name": "_onKeyDown",
38267
+ "privacy": "private",
38268
+ "return": {
38269
+ "type": {
38270
+ "text": "void"
38271
+ }
38272
+ },
38273
+ "parameters": [
38274
+ {
38275
+ "name": "evt",
38276
+ "type": {
38277
+ "text": "KeyboardEvent"
38278
+ }
38279
+ }
38280
+ ]
38281
+ },
38282
+ {
38283
+ "kind": "method",
38284
+ "name": "toggleState",
38285
+ "privacy": "protected",
38286
+ "return": {
38287
+ "type": {
38288
+ "text": "void"
38289
+ }
38290
+ },
38291
+ "parameters": [
38292
+ {
38293
+ "name": "state",
38294
+ "type": {
38295
+ "text": "string"
38296
+ }
38297
+ },
38298
+ {
38299
+ "name": "force",
38300
+ "optional": true,
38301
+ "type": {
38302
+ "text": "boolean"
38303
+ }
38304
+ }
38305
+ ],
38306
+ "inheritedFrom": {
38307
+ "name": "SbbElementInternalsMixin",
38308
+ "module": "core/mixins/element-internals-mixin.js"
38309
+ }
38310
+ }
38311
+ ],
38312
+ "mixins": [
38313
+ {
38314
+ "name": "SbbElementInternalsMixin",
38315
+ "module": "core/mixins.js"
38316
+ }
38317
+ ],
38318
+ "superclass": {
38319
+ "name": "LitElement",
38320
+ "package": "lit"
38321
+ },
38322
+ "tagName": "sbb-carousel-list",
38323
+ "customElement": true
38324
+ }
38325
+ ],
38326
+ "exports": [
38327
+ {
38328
+ "kind": "js",
38329
+ "name": "SbbCarouselListElement",
38330
+ "declaration": {
38331
+ "name": "SbbCarouselListElement",
38332
+ "module": "carousel/carousel-list/carousel-list.component.js"
38333
+ }
38334
+ },
38335
+ {
38336
+ "kind": "custom-element-definition",
38337
+ "name": "sbb-carousel-list",
38338
+ "declaration": {
38339
+ "name": "SbbCarouselListElement",
38340
+ "module": "carousel/carousel-list/carousel-list.component.js"
38341
+ }
38342
+ }
38343
+ ]
38344
+ },
37452
38345
  {
37453
38346
  "kind": "javascript-module",
37454
38347
  "path": "checkbox/checkbox/checkbox.component.js",
@@ -49030,6 +49923,69 @@
49030
49923
  "text": "Record<string, string>"
49031
49924
  },
49032
49925
  "default": "{ de: 'Woche', en: 'Week', fr: 'Semaine', it: 'Settimana', }"
49926
+ },
49927
+ {
49928
+ "kind": "variable",
49929
+ "name": "i18nTimetableFormSwapButtonLabel",
49930
+ "type": {
49931
+ "text": "Record<string, string>"
49932
+ },
49933
+ "default": "{ de: 'Von und Nach tauschen', en: 'Swap from and to', fr: 'Échanger de et à', it: 'Inverti Da e A', }"
49934
+ },
49935
+ {
49936
+ "kind": "function",
49937
+ "name": "i18nCarouselItemAriaLabel",
49938
+ "return": {
49939
+ "type": {
49940
+ "text": "Record<string, string>"
49941
+ }
49942
+ },
49943
+ "parameters": [
49944
+ {
49945
+ "name": "index",
49946
+ "type": {
49947
+ "text": "number"
49948
+ }
49949
+ },
49950
+ {
49951
+ "name": "total",
49952
+ "type": {
49953
+ "text": "number"
49954
+ }
49955
+ }
49956
+ ]
49957
+ },
49958
+ {
49959
+ "kind": "variable",
49960
+ "name": "i18nCarouselArrowsNavigationHint",
49961
+ "type": {
49962
+ "text": "Record<string, string>"
49963
+ },
49964
+ "default": "{ de: 'Karussell – Benutzen Sie die Pfeiltasten im Interaktionsmodus, um durch die Folien zu navigieren', en: 'Carousel - Use the arrow keys in interaction mode to navigate through the slides', fr: 'Carrousel – Utilisez les touches fléchées en mode interaction pour naviguer dans les diapositives', it: 'Carosello – Utilizzare i tasti freccia in modalità interazione per navigare tra le slide', }"
49965
+ },
49966
+ {
49967
+ "kind": "variable",
49968
+ "name": "i18nNextSlide",
49969
+ "type": {
49970
+ "text": "Record<string, string>"
49971
+ },
49972
+ "default": "{ de: 'Nächste Folie', en: 'Next slide', fr: 'Diapositive suivante', it: 'Slide successiva', }"
49973
+ },
49974
+ {
49975
+ "kind": "variable",
49976
+ "name": "i18nPreviousSlide",
49977
+ "type": {
49978
+ "text": "Record<string, string>"
49979
+ },
49980
+ "default": "{ de: 'Vorherige Folie', en: 'Previous slide', fr: 'Diapositive précédente', it: 'Slide precedente', }"
49981
+ },
49982
+ {
49983
+ "kind": "variable",
49984
+ "name": "i18nSlide",
49985
+ "type": {
49986
+ "text": "Record<string, string>"
49987
+ },
49988
+ "default": "{ de: 'Folie', en: 'Slide', fr: 'Diapositive', it: 'Slide', }"
49033
49989
  }
49034
49990
  ],
49035
49991
  "exports": [
@@ -49800,6 +50756,54 @@
49800
50756
  "name": "i18nCalendarWeekNumber",
49801
50757
  "module": "core/i18n/i18n.js"
49802
50758
  }
50759
+ },
50760
+ {
50761
+ "kind": "js",
50762
+ "name": "i18nTimetableFormSwapButtonLabel",
50763
+ "declaration": {
50764
+ "name": "i18nTimetableFormSwapButtonLabel",
50765
+ "module": "core/i18n/i18n.js"
50766
+ }
50767
+ },
50768
+ {
50769
+ "kind": "js",
50770
+ "name": "i18nCarouselItemAriaLabel",
50771
+ "declaration": {
50772
+ "name": "i18nCarouselItemAriaLabel",
50773
+ "module": "core/i18n/i18n.js"
50774
+ }
50775
+ },
50776
+ {
50777
+ "kind": "js",
50778
+ "name": "i18nCarouselArrowsNavigationHint",
50779
+ "declaration": {
50780
+ "name": "i18nCarouselArrowsNavigationHint",
50781
+ "module": "core/i18n/i18n.js"
50782
+ }
50783
+ },
50784
+ {
50785
+ "kind": "js",
50786
+ "name": "i18nNextSlide",
50787
+ "declaration": {
50788
+ "name": "i18nNextSlide",
50789
+ "module": "core/i18n/i18n.js"
50790
+ }
50791
+ },
50792
+ {
50793
+ "kind": "js",
50794
+ "name": "i18nPreviousSlide",
50795
+ "declaration": {
50796
+ "name": "i18nPreviousSlide",
50797
+ "module": "core/i18n/i18n.js"
50798
+ }
50799
+ },
50800
+ {
50801
+ "kind": "js",
50802
+ "name": "i18nSlide",
50803
+ "declaration": {
50804
+ "name": "i18nSlide",
50805
+ "module": "core/i18n/i18n.js"
50806
+ }
49803
50807
  }
49804
50808
  ]
49805
50809
  },
@@ -70144,6 +71148,16 @@
70144
71148
  "kind": "class",
70145
71149
  "description": "It wraps an input element adding label, errors, icon, etc.",
70146
71150
  "name": "SbbFormFieldElement",
71151
+ "cssProperties": [
71152
+ {
71153
+ "description": "To override the focus outline offset,",
71154
+ "name": "--sbb-form-field-outline-offset"
71155
+ },
71156
+ {
71157
+ "description": "To override the z-index of the focus underline effect,",
71158
+ "name": "--sbb-form-field-focus-underline-z-index"
71159
+ }
71160
+ ],
70147
71161
  "slots": [
70148
71162
  {
70149
71163
  "description": "Use this slot to render an input/select or a supported non-native element.",
@@ -103199,6 +104213,1899 @@
103199
104213
  }
103200
104214
  ]
103201
104215
  },
104216
+ {
104217
+ "kind": "javascript-module",
104218
+ "path": "timetable-form/timetable-form/timetable-form.component.js",
104219
+ "declarations": [
104220
+ {
104221
+ "kind": "class",
104222
+ "description": "Serves as a building block of a sbb 'timetable-form'.\nIt automatically handles the styles and part of its behaviors",
104223
+ "name": "SbbTimetableFormElement",
104224
+ "slots": [
104225
+ {
104226
+ "description": "Use the unnamed slot to add content to the 'timetable-form'",
104227
+ "name": ""
104228
+ }
104229
+ ],
104230
+ "members": [],
104231
+ "superclass": {
104232
+ "name": "LitElement",
104233
+ "package": "lit"
104234
+ },
104235
+ "tagName": "sbb-timetable-form",
104236
+ "customElement": true
104237
+ }
104238
+ ],
104239
+ "exports": [
104240
+ {
104241
+ "kind": "js",
104242
+ "name": "SbbTimetableFormElement",
104243
+ "declaration": {
104244
+ "name": "SbbTimetableFormElement",
104245
+ "module": "timetable-form/timetable-form/timetable-form.component.js"
104246
+ }
104247
+ },
104248
+ {
104249
+ "kind": "custom-element-definition",
104250
+ "name": "sbb-timetable-form",
104251
+ "declaration": {
104252
+ "name": "SbbTimetableFormElement",
104253
+ "module": "timetable-form/timetable-form/timetable-form.component.js"
104254
+ }
104255
+ }
104256
+ ]
104257
+ },
104258
+ {
104259
+ "kind": "javascript-module",
104260
+ "path": "timetable-form/timetable-form-details/timetable-form-details.component.js",
104261
+ "declarations": [
104262
+ {
104263
+ "kind": "class",
104264
+ "description": "Wraps the details section of the `sbb-timetable-form`.",
104265
+ "name": "SbbTimetableFormDetailsElement",
104266
+ "slots": [
104267
+ {
104268
+ "description": "Use the unnamed slot to add content to the details section.",
104269
+ "name": ""
104270
+ }
104271
+ ],
104272
+ "members": [],
104273
+ "superclass": {
104274
+ "name": "LitElement",
104275
+ "package": "lit"
104276
+ },
104277
+ "tagName": "sbb-timetable-form-details",
104278
+ "customElement": true
104279
+ }
104280
+ ],
104281
+ "exports": [
104282
+ {
104283
+ "kind": "js",
104284
+ "name": "SbbTimetableFormDetailsElement",
104285
+ "declaration": {
104286
+ "name": "SbbTimetableFormDetailsElement",
104287
+ "module": "timetable-form/timetable-form-details/timetable-form-details.component.js"
104288
+ }
104289
+ },
104290
+ {
104291
+ "kind": "custom-element-definition",
104292
+ "name": "sbb-timetable-form-details",
104293
+ "declaration": {
104294
+ "name": "SbbTimetableFormDetailsElement",
104295
+ "module": "timetable-form/timetable-form-details/timetable-form-details.component.js"
104296
+ }
104297
+ }
104298
+ ]
104299
+ },
104300
+ {
104301
+ "kind": "javascript-module",
104302
+ "path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
104303
+ "declarations": [
104304
+ {
104305
+ "kind": "class",
104306
+ "description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
104307
+ "name": "SbbTimetableFormFieldElement",
104308
+ "members": [
104309
+ {
104310
+ "kind": "field",
104311
+ "name": "_routeIcon",
104312
+ "type": {
104313
+ "text": "boolean"
104314
+ },
104315
+ "privacy": "private",
104316
+ "default": "false"
104317
+ },
104318
+ {
104319
+ "kind": "field",
104320
+ "name": "borderless",
104321
+ "type": {
104322
+ "text": "boolean"
104323
+ },
104324
+ "privacy": "public",
104325
+ "default": "true",
104326
+ "description": "Whether to display the form field without a border.",
104327
+ "attribute": "borderless",
104328
+ "reflects": true,
104329
+ "inheritedFrom": {
104330
+ "name": "SbbFormFieldElement",
104331
+ "module": "form-field/form-field/form-field.component.js"
104332
+ }
104333
+ },
104334
+ {
104335
+ "kind": "field",
104336
+ "name": "floatingLabel",
104337
+ "type": {
104338
+ "text": "boolean"
104339
+ },
104340
+ "privacy": "public",
104341
+ "default": "true",
104342
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
104343
+ "attribute": "floating-label",
104344
+ "reflects": true,
104345
+ "inheritedFrom": {
104346
+ "name": "SbbFormFieldElement",
104347
+ "module": "form-field/form-field/form-field.component.js"
104348
+ }
104349
+ },
104350
+ {
104351
+ "kind": "field",
104352
+ "name": "width",
104353
+ "type": {
104354
+ "text": "string"
104355
+ },
104356
+ "privacy": "public",
104357
+ "default": "'collapse'",
104358
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
104359
+ "attribute": "width",
104360
+ "reflects": true,
104361
+ "inheritedFrom": {
104362
+ "name": "SbbFormFieldElement",
104363
+ "module": "form-field/form-field/form-field.component.js"
104364
+ }
104365
+ },
104366
+ {
104367
+ "kind": "field",
104368
+ "name": "size",
104369
+ "type": {
104370
+ "text": "string"
104371
+ },
104372
+ "privacy": "public",
104373
+ "description": "Size variant, either l, m or s.",
104374
+ "default": "'l'",
104375
+ "attribute": "size",
104376
+ "reflects": true,
104377
+ "inheritedFrom": {
104378
+ "name": "SbbFormFieldElement",
104379
+ "module": "form-field/form-field/form-field.component.js"
104380
+ }
104381
+ },
104382
+ {
104383
+ "kind": "field",
104384
+ "name": "negative",
104385
+ "type": {
104386
+ "text": "boolean"
104387
+ },
104388
+ "privacy": "public",
104389
+ "default": "false",
104390
+ "description": "Negative coloring variant flag.",
104391
+ "attribute": "negative",
104392
+ "reflects": true,
104393
+ "inheritedFrom": {
104394
+ "name": "SbbFormFieldElement",
104395
+ "module": "form-field/form-field/form-field.component.js"
104396
+ }
104397
+ },
104398
+ {
104399
+ "kind": "method",
104400
+ "name": "toggleState",
104401
+ "privacy": "protected",
104402
+ "return": {
104403
+ "type": {
104404
+ "text": "void"
104405
+ }
104406
+ },
104407
+ "parameters": [
104408
+ {
104409
+ "name": "state",
104410
+ "type": {
104411
+ "text": "string"
104412
+ }
104413
+ },
104414
+ {
104415
+ "name": "force",
104416
+ "optional": true,
104417
+ "type": {
104418
+ "text": "boolean"
104419
+ }
104420
+ }
104421
+ ],
104422
+ "inheritedFrom": {
104423
+ "name": "SbbFormFieldElement",
104424
+ "module": "form-field/form-field/form-field.component.js"
104425
+ }
104426
+ },
104427
+ {
104428
+ "kind": "field",
104429
+ "name": "_hydrationRequired",
104430
+ "type": {
104431
+ "text": "boolean"
104432
+ },
104433
+ "privacy": "private",
104434
+ "default": "!!this.shadowRoot",
104435
+ "inheritedFrom": {
104436
+ "name": "SbbFormFieldElement",
104437
+ "module": "form-field/form-field/form-field.component.js"
104438
+ }
104439
+ },
104440
+ {
104441
+ "kind": "field",
104442
+ "name": "_hydrationComplete",
104443
+ "privacy": "private",
104444
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
104445
+ "inheritedFrom": {
104446
+ "name": "SbbFormFieldElement",
104447
+ "module": "form-field/form-field/form-field.component.js"
104448
+ }
104449
+ },
104450
+ {
104451
+ "kind": "field",
104452
+ "name": "_resolveHydration",
104453
+ "type": {
104454
+ "text": "(hydrationRequired: boolean) => void"
104455
+ },
104456
+ "privacy": "private",
104457
+ "inheritedFrom": {
104458
+ "name": "SbbFormFieldElement",
104459
+ "module": "form-field/form-field/form-field.component.js"
104460
+ }
104461
+ },
104462
+ {
104463
+ "kind": "field",
104464
+ "name": "hydrationRequired",
104465
+ "type": {
104466
+ "text": "boolean"
104467
+ },
104468
+ "privacy": "protected",
104469
+ "description": "Returns whether hydration is required and not completed.",
104470
+ "readonly": true,
104471
+ "inheritedFrom": {
104472
+ "name": "SbbFormFieldElement",
104473
+ "module": "form-field/form-field/form-field.component.js"
104474
+ },
104475
+ "default": "!!this.shadowRoot"
104476
+ },
104477
+ {
104478
+ "kind": "field",
104479
+ "name": "_excludedFocusElements",
104480
+ "type": {
104481
+ "text": "array"
104482
+ },
104483
+ "privacy": "private",
104484
+ "readonly": true,
104485
+ "default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
104486
+ "inheritedFrom": {
104487
+ "name": "SbbFormFieldElement",
104488
+ "module": "form-field/form-field/form-field.component.js"
104489
+ }
104490
+ },
104491
+ {
104492
+ "kind": "field",
104493
+ "name": "_floatingLabelSupportedInputElements",
104494
+ "type": {
104495
+ "text": "array"
104496
+ },
104497
+ "privacy": "private",
104498
+ "readonly": true,
104499
+ "default": "[ 'input', 'select', 'textarea', 'sbb-select', ]",
104500
+ "inheritedFrom": {
104501
+ "name": "SbbFormFieldElement",
104502
+ "module": "form-field/form-field/form-field.component.js"
104503
+ }
104504
+ },
104505
+ {
104506
+ "kind": "field",
104507
+ "name": "_floatingLabelSupportedInputTypes",
104508
+ "type": {
104509
+ "text": "array"
104510
+ },
104511
+ "privacy": "private",
104512
+ "readonly": true,
104513
+ "default": "[ 'email', 'number', 'password', 'search', 'tel', 'text', 'url', ]",
104514
+ "inheritedFrom": {
104515
+ "name": "SbbFormFieldElement",
104516
+ "module": "form-field/form-field/form-field.component.js"
104517
+ }
104518
+ },
104519
+ {
104520
+ "kind": "field",
104521
+ "name": "errorSpace",
104522
+ "type": {
104523
+ "text": "'none' | 'reserve'"
104524
+ },
104525
+ "privacy": "public",
104526
+ "default": "'none'",
104527
+ "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
104528
+ "attribute": "error-space",
104529
+ "reflects": true,
104530
+ "inheritedFrom": {
104531
+ "name": "SbbFormFieldElement",
104532
+ "module": "form-field/form-field/form-field.component.js"
104533
+ }
104534
+ },
104535
+ {
104536
+ "kind": "field",
104537
+ "name": "optional",
104538
+ "type": {
104539
+ "text": "boolean"
104540
+ },
104541
+ "privacy": "public",
104542
+ "default": "false",
104543
+ "description": "Indicates whether the input is optional.",
104544
+ "attribute": "optional",
104545
+ "inheritedFrom": {
104546
+ "name": "SbbFormFieldElement",
104547
+ "module": "form-field/form-field/form-field.component.js"
104548
+ }
104549
+ },
104550
+ {
104551
+ "kind": "field",
104552
+ "name": "hiddenLabel",
104553
+ "type": {
104554
+ "text": "boolean"
104555
+ },
104556
+ "privacy": "public",
104557
+ "default": "false",
104558
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
104559
+ "attribute": "hidden-label",
104560
+ "reflects": true,
104561
+ "inheritedFrom": {
104562
+ "name": "SbbFormFieldElement",
104563
+ "module": "form-field/form-field/form-field.component.js"
104564
+ }
104565
+ },
104566
+ {
104567
+ "kind": "field",
104568
+ "name": "_errorElements",
104569
+ "type": {
104570
+ "text": "Element[]"
104571
+ },
104572
+ "privacy": "private",
104573
+ "default": "[]",
104574
+ "description": "It is used internally to get the `error` slot.",
104575
+ "inheritedFrom": {
104576
+ "name": "SbbFormFieldElement",
104577
+ "module": "form-field/form-field/form-field.component.js"
104578
+ }
104579
+ },
104580
+ {
104581
+ "kind": "field",
104582
+ "name": "_input",
104583
+ "type": {
104584
+ "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
104585
+ },
104586
+ "privacy": "private",
104587
+ "default": "null",
104588
+ "description": "Reference to the slotted input element.",
104589
+ "inheritedFrom": {
104590
+ "name": "SbbFormFieldElement",
104591
+ "module": "form-field/form-field/form-field.component.js"
104592
+ }
104593
+ },
104594
+ {
104595
+ "kind": "field",
104596
+ "name": "_label",
104597
+ "type": {
104598
+ "text": "HTMLLabelElement"
104599
+ },
104600
+ "privacy": "private",
104601
+ "description": "Reference to the slotted label elements.",
104602
+ "inheritedFrom": {
104603
+ "name": "SbbFormFieldElement",
104604
+ "module": "form-field/form-field/form-field.component.js"
104605
+ }
104606
+ },
104607
+ {
104608
+ "kind": "field",
104609
+ "name": "inputElement",
104610
+ "type": {
104611
+ "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
104612
+ },
104613
+ "privacy": "public",
104614
+ "description": "Returns the input element.",
104615
+ "readonly": true,
104616
+ "inheritedFrom": {
104617
+ "name": "SbbFormFieldElement",
104618
+ "module": "form-field/form-field/form-field.component.js"
104619
+ }
104620
+ },
104621
+ {
104622
+ "kind": "field",
104623
+ "name": "_language",
104624
+ "privacy": "private",
104625
+ "default": "new SbbLanguageController(this)",
104626
+ "inheritedFrom": {
104627
+ "name": "SbbFormFieldElement",
104628
+ "module": "form-field/form-field/form-field.component.js"
104629
+ }
104630
+ },
104631
+ {
104632
+ "kind": "field",
104633
+ "name": "_formFieldAttributeObserver",
104634
+ "privacy": "private",
104635
+ "description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
104636
+ "inheritedFrom": {
104637
+ "name": "SbbFormFieldElement",
104638
+ "module": "form-field/form-field/form-field.component.js"
104639
+ }
104640
+ },
104641
+ {
104642
+ "kind": "field",
104643
+ "name": "_inputFormAbortController",
104644
+ "privacy": "private",
104645
+ "default": "new AbortController()",
104646
+ "inheritedFrom": {
104647
+ "name": "SbbFormFieldElement",
104648
+ "module": "form-field/form-field/form-field.component.js"
104649
+ }
104650
+ },
104651
+ {
104652
+ "kind": "field",
104653
+ "name": "_control",
104654
+ "type": {
104655
+ "text": "SbbFormFieldElementControl | null"
104656
+ },
104657
+ "privacy": "private",
104658
+ "default": "null",
104659
+ "inheritedFrom": {
104660
+ "name": "SbbFormFieldElement",
104661
+ "module": "form-field/form-field/form-field.component.js"
104662
+ }
104663
+ },
104664
+ {
104665
+ "kind": "method",
104666
+ "name": "_handleWrapperClick",
104667
+ "privacy": "private",
104668
+ "return": {
104669
+ "type": {
104670
+ "text": "void"
104671
+ }
104672
+ },
104673
+ "parameters": [
104674
+ {
104675
+ "name": "event",
104676
+ "type": {
104677
+ "text": "MouseEvent"
104678
+ }
104679
+ }
104680
+ ],
104681
+ "inheritedFrom": {
104682
+ "name": "SbbFormFieldElement",
104683
+ "module": "form-field/form-field/form-field.component.js"
104684
+ }
104685
+ },
104686
+ {
104687
+ "kind": "method",
104688
+ "name": "_isElementFocusExcluded",
104689
+ "privacy": "private",
104690
+ "return": {
104691
+ "type": {
104692
+ "text": "boolean"
104693
+ }
104694
+ },
104695
+ "parameters": [
104696
+ {
104697
+ "name": "event",
104698
+ "type": {
104699
+ "text": "Event"
104700
+ }
104701
+ }
104702
+ ],
104703
+ "inheritedFrom": {
104704
+ "name": "SbbFormFieldElement",
104705
+ "module": "form-field/form-field/form-field.component.js"
104706
+ }
104707
+ },
104708
+ {
104709
+ "kind": "method",
104710
+ "name": "_onSlotLabelChange",
104711
+ "privacy": "private",
104712
+ "return": {
104713
+ "type": {
104714
+ "text": "void"
104715
+ }
104716
+ },
104717
+ "inheritedFrom": {
104718
+ "name": "SbbFormFieldElement",
104719
+ "module": "form-field/form-field/form-field.component.js"
104720
+ }
104721
+ },
104722
+ {
104723
+ "kind": "method",
104724
+ "name": "_onSlotInputChange",
104725
+ "privacy": "private",
104726
+ "return": {
104727
+ "type": {
104728
+ "text": "void"
104729
+ }
104730
+ },
104731
+ "description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
104732
+ "inheritedFrom": {
104733
+ "name": "SbbFormFieldElement",
104734
+ "module": "form-field/form-field/form-field.component.js"
104735
+ }
104736
+ },
104737
+ {
104738
+ "kind": "method",
104739
+ "name": "_assignSlots",
104740
+ "privacy": "private",
104741
+ "return": {
104742
+ "type": {
104743
+ "text": "void"
104744
+ }
104745
+ },
104746
+ "inheritedFrom": {
104747
+ "name": "SbbFormFieldElement",
104748
+ "module": "form-field/form-field/form-field.component.js"
104749
+ }
104750
+ },
104751
+ {
104752
+ "kind": "method",
104753
+ "name": "_connectInputElement",
104754
+ "privacy": "private",
104755
+ "return": {
104756
+ "type": {
104757
+ "text": "'changed' | 'no-input' | 'unchanged'"
104758
+ }
104759
+ },
104760
+ "inheritedFrom": {
104761
+ "name": "SbbFormFieldElement",
104762
+ "module": "form-field/form-field/form-field.component.js"
104763
+ }
104764
+ },
104765
+ {
104766
+ "kind": "method",
104767
+ "name": "_syncLabelInputReferences",
104768
+ "privacy": "private",
104769
+ "return": {
104770
+ "type": {
104771
+ "text": "void"
104772
+ }
104773
+ },
104774
+ "inheritedFrom": {
104775
+ "name": "SbbFormFieldElement",
104776
+ "module": "form-field/form-field/form-field.component.js"
104777
+ }
104778
+ },
104779
+ {
104780
+ "kind": "method",
104781
+ "name": "_isInputElement",
104782
+ "privacy": "private",
104783
+ "return": {
104784
+ "type": {
104785
+ "text": "boolean"
104786
+ }
104787
+ },
104788
+ "parameters": [
104789
+ {
104790
+ "name": "input",
104791
+ "type": {
104792
+ "text": "Element"
104793
+ }
104794
+ }
104795
+ ],
104796
+ "inheritedFrom": {
104797
+ "name": "SbbFormFieldElement",
104798
+ "module": "form-field/form-field/form-field.component.js"
104799
+ }
104800
+ },
104801
+ {
104802
+ "kind": "method",
104803
+ "name": "_readInputState",
104804
+ "privacy": "private",
104805
+ "return": {
104806
+ "type": {
104807
+ "text": "void"
104808
+ }
104809
+ },
104810
+ "inheritedFrom": {
104811
+ "name": "SbbFormFieldElement",
104812
+ "module": "form-field/form-field/form-field.component.js"
104813
+ }
104814
+ },
104815
+ {
104816
+ "kind": "method",
104817
+ "name": "_registerInputFormListener",
104818
+ "privacy": "private",
104819
+ "return": {
104820
+ "type": {
104821
+ "text": "void"
104822
+ }
104823
+ },
104824
+ "inheritedFrom": {
104825
+ "name": "SbbFormFieldElement",
104826
+ "module": "form-field/form-field/form-field.component.js"
104827
+ }
104828
+ },
104829
+ {
104830
+ "kind": "method",
104831
+ "name": "_patchInputValue",
104832
+ "privacy": "private",
104833
+ "return": {
104834
+ "type": {
104835
+ "text": "void"
104836
+ }
104837
+ },
104838
+ "inheritedFrom": {
104839
+ "name": "SbbFormFieldElement",
104840
+ "module": "form-field/form-field/form-field.component.js"
104841
+ }
104842
+ },
104843
+ {
104844
+ "kind": "method",
104845
+ "name": "_unpatchInputValue",
104846
+ "privacy": "private",
104847
+ "return": {
104848
+ "type": {
104849
+ "text": "void"
104850
+ }
104851
+ },
104852
+ "inheritedFrom": {
104853
+ "name": "SbbFormFieldElement",
104854
+ "module": "form-field/form-field/form-field.component.js"
104855
+ }
104856
+ },
104857
+ {
104858
+ "kind": "method",
104859
+ "name": "_checkAndUpdateInputEmpty",
104860
+ "privacy": "private",
104861
+ "return": {
104862
+ "type": {
104863
+ "text": "void"
104864
+ }
104865
+ },
104866
+ "inheritedFrom": {
104867
+ "name": "SbbFormFieldElement",
104868
+ "module": "form-field/form-field/form-field.component.js"
104869
+ }
104870
+ },
104871
+ {
104872
+ "kind": "method",
104873
+ "name": "_isInputEmpty",
104874
+ "privacy": "private",
104875
+ "return": {
104876
+ "type": {
104877
+ "text": "boolean"
104878
+ }
104879
+ },
104880
+ "inheritedFrom": {
104881
+ "name": "SbbFormFieldElement",
104882
+ "module": "form-field/form-field/form-field.component.js"
104883
+ }
104884
+ },
104885
+ {
104886
+ "kind": "method",
104887
+ "name": "_isInputValueEmpty",
104888
+ "privacy": "private",
104889
+ "return": {
104890
+ "type": {
104891
+ "text": "boolean"
104892
+ }
104893
+ },
104894
+ "inheritedFrom": {
104895
+ "name": "SbbFormFieldElement",
104896
+ "module": "form-field/form-field/form-field.component.js"
104897
+ }
104898
+ },
104899
+ {
104900
+ "kind": "method",
104901
+ "name": "_onSlotErrorChange",
104902
+ "privacy": "private",
104903
+ "return": {
104904
+ "type": {
104905
+ "text": "void"
104906
+ }
104907
+ },
104908
+ "parameters": [
104909
+ {
104910
+ "name": "event",
104911
+ "type": {
104912
+ "text": "Event"
104913
+ }
104914
+ }
104915
+ ],
104916
+ "description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-form-error> instances.",
104917
+ "inheritedFrom": {
104918
+ "name": "SbbFormFieldElement",
104919
+ "module": "form-field/form-field/form-field.component.js"
104920
+ }
104921
+ },
104922
+ {
104923
+ "kind": "method",
104924
+ "name": "_assignErrorMessageElements",
104925
+ "privacy": "private",
104926
+ "return": {
104927
+ "type": {
104928
+ "text": "void"
104929
+ }
104930
+ },
104931
+ "inheritedFrom": {
104932
+ "name": "SbbFormFieldElement",
104933
+ "module": "form-field/form-field/form-field.component.js"
104934
+ }
104935
+ },
104936
+ {
104937
+ "kind": "method",
104938
+ "name": "reset",
104939
+ "privacy": "public",
104940
+ "return": {
104941
+ "type": {
104942
+ "text": "void"
104943
+ }
104944
+ },
104945
+ "description": "Manually reset the form field. Currently, this only resets the floating label.",
104946
+ "inheritedFrom": {
104947
+ "name": "SbbFormFieldElement",
104948
+ "module": "form-field/form-field/form-field.component.js"
104949
+ }
104950
+ },
104951
+ {
104952
+ "kind": "method",
104953
+ "name": "clear",
104954
+ "privacy": "public",
104955
+ "return": {
104956
+ "type": {
104957
+ "text": "void"
104958
+ }
104959
+ },
104960
+ "description": "Manually clears the input value. It only works for inputs, selects are not supported.",
104961
+ "inheritedFrom": {
104962
+ "name": "SbbFormFieldElement",
104963
+ "module": "form-field/form-field/form-field.component.js"
104964
+ }
104965
+ },
104966
+ {
104967
+ "kind": "method",
104968
+ "name": "_syncNegative",
104969
+ "privacy": "private",
104970
+ "return": {
104971
+ "type": {
104972
+ "text": "void"
104973
+ }
104974
+ },
104975
+ "inheritedFrom": {
104976
+ "name": "SbbFormFieldElement",
104977
+ "module": "form-field/form-field/form-field.component.js"
104978
+ }
104979
+ },
104980
+ {
104981
+ "kind": "method",
104982
+ "name": "_syncSize",
104983
+ "privacy": "private",
104984
+ "return": {
104985
+ "type": {
104986
+ "text": "void"
104987
+ }
104988
+ },
104989
+ "inheritedFrom": {
104990
+ "name": "SbbFormFieldElement",
104991
+ "module": "form-field/form-field/form-field.component.js"
104992
+ }
104993
+ }
104994
+ ],
104995
+ "superclass": {
104996
+ "name": "SbbFormFieldElement",
104997
+ "module": "form-field/form-field.js"
104998
+ },
104999
+ "tagName": "sbb-timetable-form-field",
105000
+ "customElement": true,
105001
+ "attributes": [
105002
+ {
105003
+ "name": "negative",
105004
+ "type": {
105005
+ "text": "boolean"
105006
+ },
105007
+ "default": "false",
105008
+ "description": "Negative coloring variant flag.",
105009
+ "fieldName": "negative",
105010
+ "inheritedFrom": {
105011
+ "name": "SbbFormFieldElement",
105012
+ "module": "form-field/form-field/form-field.component.js"
105013
+ }
105014
+ },
105015
+ {
105016
+ "name": "error-space",
105017
+ "type": {
105018
+ "text": "'none' | 'reserve'"
105019
+ },
105020
+ "default": "'none'",
105021
+ "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
105022
+ "fieldName": "errorSpace",
105023
+ "inheritedFrom": {
105024
+ "name": "SbbFormFieldElement",
105025
+ "module": "form-field/form-field/form-field.component.js"
105026
+ }
105027
+ },
105028
+ {
105029
+ "name": "optional",
105030
+ "type": {
105031
+ "text": "boolean"
105032
+ },
105033
+ "default": "false",
105034
+ "description": "Indicates whether the input is optional.",
105035
+ "fieldName": "optional",
105036
+ "inheritedFrom": {
105037
+ "name": "SbbFormFieldElement",
105038
+ "module": "form-field/form-field/form-field.component.js"
105039
+ }
105040
+ },
105041
+ {
105042
+ "name": "size",
105043
+ "type": {
105044
+ "text": "'l' | 'm' | 's'"
105045
+ },
105046
+ "description": "Size variant, either l, m or s.",
105047
+ "default": "'m' / 's' (lean)",
105048
+ "fieldName": "size",
105049
+ "inheritedFrom": {
105050
+ "name": "SbbFormFieldElement",
105051
+ "module": "form-field/form-field/form-field.component.js"
105052
+ }
105053
+ },
105054
+ {
105055
+ "name": "borderless",
105056
+ "type": {
105057
+ "text": "boolean"
105058
+ },
105059
+ "default": "false",
105060
+ "description": "Whether to display the form field without a border.",
105061
+ "fieldName": "borderless",
105062
+ "inheritedFrom": {
105063
+ "name": "SbbFormFieldElement",
105064
+ "module": "form-field/form-field/form-field.component.js"
105065
+ }
105066
+ },
105067
+ {
105068
+ "name": "width",
105069
+ "type": {
105070
+ "text": "'default' | 'collapse'"
105071
+ },
105072
+ "default": "'default'",
105073
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
105074
+ "fieldName": "width",
105075
+ "inheritedFrom": {
105076
+ "name": "SbbFormFieldElement",
105077
+ "module": "form-field/form-field/form-field.component.js"
105078
+ }
105079
+ },
105080
+ {
105081
+ "name": "hidden-label",
105082
+ "type": {
105083
+ "text": "boolean"
105084
+ },
105085
+ "default": "false",
105086
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
105087
+ "fieldName": "hiddenLabel",
105088
+ "inheritedFrom": {
105089
+ "name": "SbbFormFieldElement",
105090
+ "module": "form-field/form-field/form-field.component.js"
105091
+ }
105092
+ },
105093
+ {
105094
+ "name": "floating-label",
105095
+ "type": {
105096
+ "text": "boolean"
105097
+ },
105098
+ "default": "false",
105099
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
105100
+ "fieldName": "floatingLabel",
105101
+ "inheritedFrom": {
105102
+ "name": "SbbFormFieldElement",
105103
+ "module": "form-field/form-field/form-field.component.js"
105104
+ }
105105
+ }
105106
+ ],
105107
+ "slots": [
105108
+ {
105109
+ "description": "Use this slot to render an input/select or a supported non-native element.",
105110
+ "name": "",
105111
+ "inheritedFrom": {
105112
+ "name": "SbbFormFieldElement",
105113
+ "module": "form-field/form-field/form-field.component.js"
105114
+ }
105115
+ },
105116
+ {
105117
+ "description": "Use this slot to render a label.",
105118
+ "name": "label",
105119
+ "inheritedFrom": {
105120
+ "name": "SbbFormFieldElement",
105121
+ "module": "form-field/form-field/form-field.component.js"
105122
+ }
105123
+ },
105124
+ {
105125
+ "description": "Use this slot to render an icon on the left side of the input.",
105126
+ "name": "prefix",
105127
+ "inheritedFrom": {
105128
+ "name": "SbbFormFieldElement",
105129
+ "module": "form-field/form-field/form-field.component.js"
105130
+ }
105131
+ },
105132
+ {
105133
+ "description": "Use this slot to render an icon on the right side of the input.",
105134
+ "name": "suffix",
105135
+ "inheritedFrom": {
105136
+ "name": "SbbFormFieldElement",
105137
+ "module": "form-field/form-field/form-field.component.js"
105138
+ }
105139
+ },
105140
+ {
105141
+ "description": "Use this slot to render an error.",
105142
+ "name": "error",
105143
+ "inheritedFrom": {
105144
+ "name": "SbbFormFieldElement",
105145
+ "module": "form-field/form-field/form-field.component.js"
105146
+ }
105147
+ }
105148
+ ],
105149
+ "cssProperties": [
105150
+ {
105151
+ "description": "To override the focus outline offset,",
105152
+ "name": "--sbb-form-field-outline-offset",
105153
+ "inheritedFrom": {
105154
+ "name": "SbbFormFieldElement",
105155
+ "module": "form-field/form-field/form-field.component.js"
105156
+ }
105157
+ },
105158
+ {
105159
+ "description": "To override the z-index of the focus underline effect,",
105160
+ "name": "--sbb-form-field-focus-underline-z-index",
105161
+ "inheritedFrom": {
105162
+ "name": "SbbFormFieldElement",
105163
+ "module": "form-field/form-field/form-field.component.js"
105164
+ }
105165
+ }
105166
+ ]
105167
+ }
105168
+ ],
105169
+ "exports": [
105170
+ {
105171
+ "kind": "js",
105172
+ "name": "SbbTimetableFormFieldElement",
105173
+ "declaration": {
105174
+ "name": "SbbTimetableFormFieldElement",
105175
+ "module": "timetable-form/timetable-form-field/timetable-form-field.component.js"
105176
+ }
105177
+ },
105178
+ {
105179
+ "kind": "custom-element-definition",
105180
+ "name": "sbb-timetable-form-field",
105181
+ "declaration": {
105182
+ "name": "SbbTimetableFormFieldElement",
105183
+ "module": "timetable-form/timetable-form-field/timetable-form-field.component.js"
105184
+ }
105185
+ }
105186
+ ]
105187
+ },
105188
+ {
105189
+ "kind": "javascript-module",
105190
+ "path": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js",
105191
+ "declarations": [
105192
+ {
105193
+ "kind": "class",
105194
+ "description": "An extension of `sbb-secondary-button` to be used inside the `sbb-timetable-form`.\nWhen placed between two `sbb-timetable-form-field`, the 'click' swaps the value of the sibling inputs.",
105195
+ "name": "SbbTimetableFormSwapButtonElement",
105196
+ "members": [
105197
+ {
105198
+ "kind": "field",
105199
+ "name": "_languageController",
105200
+ "privacy": "private",
105201
+ "default": "new SbbLanguageController(this)"
105202
+ },
105203
+ {
105204
+ "kind": "method",
105205
+ "name": "_invertFieldValues",
105206
+ "privacy": "private",
105207
+ "return": {
105208
+ "type": {
105209
+ "text": "void"
105210
+ }
105211
+ },
105212
+ "description": "Search for `sbb-timetable-form-field` inputs, invert their values and dispatch the respective input and change events"
105213
+ },
105214
+ {
105215
+ "kind": "field",
105216
+ "name": "iconName",
105217
+ "type": {
105218
+ "text": "string"
105219
+ },
105220
+ "privacy": "public",
105221
+ "default": "'arrow-change-small'",
105222
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
105223
+ "attribute": "icon-name",
105224
+ "reflects": true,
105225
+ "inheritedFrom": {
105226
+ "name": "SbbIconNameMixin",
105227
+ "module": "icon/icon-name-mixin.js"
105228
+ }
105229
+ },
105230
+ {
105231
+ "kind": "field",
105232
+ "name": "size",
105233
+ "type": {
105234
+ "text": "SbbButtonSize"
105235
+ },
105236
+ "privacy": "public",
105237
+ "description": "Size variant, either l, m or s.",
105238
+ "default": "'l' / 's' (lean)",
105239
+ "attribute": "size",
105240
+ "reflects": true,
105241
+ "inheritedFrom": {
105242
+ "name": "SbbButtonCommonElementMixin",
105243
+ "module": "button/common/button-common.js"
105244
+ }
105245
+ },
105246
+ {
105247
+ "kind": "field",
105248
+ "name": "loading",
105249
+ "type": {
105250
+ "text": "boolean"
105251
+ },
105252
+ "privacy": "public",
105253
+ "default": "false",
105254
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
105255
+ "attribute": "loading",
105256
+ "reflects": true,
105257
+ "inheritedFrom": {
105258
+ "name": "SbbButtonCommonElementMixin",
105259
+ "module": "button/common/button-common.js"
105260
+ }
105261
+ },
105262
+ {
105263
+ "kind": "method",
105264
+ "name": "renderTemplate",
105265
+ "privacy": "protected",
105266
+ "return": {
105267
+ "type": {
105268
+ "text": "TemplateResult"
105269
+ }
105270
+ },
105271
+ "description": "Override this method to render the component template.",
105272
+ "inheritedFrom": {
105273
+ "name": "SbbActionBaseElement",
105274
+ "module": "core/base-elements/action-base-element.js"
105275
+ }
105276
+ },
105277
+ {
105278
+ "kind": "field",
105279
+ "name": "negative",
105280
+ "type": {
105281
+ "text": "boolean"
105282
+ },
105283
+ "privacy": "public",
105284
+ "default": "false",
105285
+ "description": "Negative coloring variant flag.",
105286
+ "attribute": "negative",
105287
+ "reflects": true,
105288
+ "inheritedFrom": {
105289
+ "name": "SbbNegativeMixin",
105290
+ "module": "core/mixins/negative-mixin.js"
105291
+ }
105292
+ },
105293
+ {
105294
+ "kind": "method",
105295
+ "name": "renderIconSlot",
105296
+ "privacy": "protected",
105297
+ "return": {
105298
+ "type": {
105299
+ "text": "TemplateResult"
105300
+ }
105301
+ },
105302
+ "parameters": [
105303
+ {
105304
+ "name": "classname",
105305
+ "optional": true,
105306
+ "type": {
105307
+ "text": "string"
105308
+ }
105309
+ }
105310
+ ],
105311
+ "inheritedFrom": {
105312
+ "name": "SbbIconNameMixin",
105313
+ "module": "icon/icon-name-mixin.js"
105314
+ }
105315
+ },
105316
+ {
105317
+ "kind": "field",
105318
+ "name": "disabledInteractive",
105319
+ "type": {
105320
+ "text": "boolean"
105321
+ },
105322
+ "privacy": "public",
105323
+ "default": "false",
105324
+ "description": "Whether the button should be aria-disabled but stay interactive.",
105325
+ "attribute": "disabled-interactive",
105326
+ "reflects": true,
105327
+ "inheritedFrom": {
105328
+ "name": "SbbDisabledInteractiveMixin",
105329
+ "module": "core/mixins/disabled-mixin.js"
105330
+ }
105331
+ },
105332
+ {
105333
+ "kind": "field",
105334
+ "name": "disabled",
105335
+ "privacy": "public",
105336
+ "description": "Whether the component is disabled.",
105337
+ "default": "false",
105338
+ "type": {
105339
+ "text": "boolean"
105340
+ },
105341
+ "attribute": "disabled",
105342
+ "reflects": true,
105343
+ "inheritedFrom": {
105344
+ "name": "SbbDisabledMixin",
105345
+ "module": "core/mixins/disabled-mixin.js"
105346
+ }
105347
+ },
105348
+ {
105349
+ "kind": "field",
105350
+ "name": "#disabled",
105351
+ "privacy": "private",
105352
+ "type": {
105353
+ "text": "boolean"
105354
+ },
105355
+ "default": "false",
105356
+ "inheritedFrom": {
105357
+ "name": "SbbDisabledMixin",
105358
+ "module": "core/mixins/disabled-mixin.js"
105359
+ }
105360
+ },
105361
+ {
105362
+ "kind": "method",
105363
+ "name": "isDisabledExternally",
105364
+ "privacy": "protected",
105365
+ "return": {
105366
+ "type": {
105367
+ "text": "boolean"
105368
+ }
105369
+ },
105370
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
105371
+ "inheritedFrom": {
105372
+ "name": "SbbDisabledMixin",
105373
+ "module": "core/mixins/disabled-mixin.js"
105374
+ }
105375
+ },
105376
+ {
105377
+ "kind": "field",
105378
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
105379
+ "type": {
105380
+ "text": "array"
105381
+ },
105382
+ "privacy": "private",
105383
+ "readonly": true,
105384
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
105385
+ "inheritedFrom": {
105386
+ "name": "SbbButtonBaseElement",
105387
+ "module": "core/base-elements/button-base-element.js"
105388
+ }
105389
+ },
105390
+ {
105391
+ "kind": "field",
105392
+ "name": "value",
105393
+ "type": {
105394
+ "text": "string"
105395
+ },
105396
+ "privacy": "public",
105397
+ "inheritedFrom": {
105398
+ "name": "SbbButtonBaseElement",
105399
+ "module": "core/base-elements/button-base-element.js"
105400
+ },
105401
+ "default": "''",
105402
+ "description": "Value of the form element.",
105403
+ "attribute": "value"
105404
+ },
105405
+ {
105406
+ "kind": "field",
105407
+ "name": "type",
105408
+ "privacy": "public",
105409
+ "description": "The type attribute to use for the button.",
105410
+ "default": "'button'",
105411
+ "type": {
105412
+ "text": "SbbButtonType"
105413
+ },
105414
+ "attribute": "type",
105415
+ "inheritedFrom": {
105416
+ "name": "SbbButtonBaseElement",
105417
+ "module": "core/base-elements/button-base-element.js"
105418
+ }
105419
+ },
105420
+ {
105421
+ "kind": "field",
105422
+ "name": "form",
105423
+ "type": {
105424
+ "text": "HTMLFormElement | null"
105425
+ },
105426
+ "privacy": "public",
105427
+ "description": "The `<form>` element to associate the button with.",
105428
+ "inheritedFrom": {
105429
+ "name": "SbbButtonBaseElement",
105430
+ "module": "core/base-elements/button-base-element.js"
105431
+ },
105432
+ "attribute": "form"
105433
+ },
105434
+ {
105435
+ "kind": "field",
105436
+ "name": "_formId",
105437
+ "type": {
105438
+ "text": "string"
105439
+ },
105440
+ "privacy": "private",
105441
+ "default": "''",
105442
+ "inheritedFrom": {
105443
+ "name": "SbbButtonBaseElement",
105444
+ "module": "core/base-elements/button-base-element.js"
105445
+ }
105446
+ },
105447
+ {
105448
+ "kind": "field",
105449
+ "name": "_handleButtonClick",
105450
+ "privacy": "private",
105451
+ "inheritedFrom": {
105452
+ "name": "SbbButtonBaseElement",
105453
+ "module": "core/base-elements/button-base-element.js"
105454
+ }
105455
+ },
105456
+ {
105457
+ "kind": "method",
105458
+ "name": "_requestSubmit",
105459
+ "privacy": "private",
105460
+ "return": {
105461
+ "type": {
105462
+ "text": "void"
105463
+ }
105464
+ },
105465
+ "parameters": [
105466
+ {
105467
+ "name": "form",
105468
+ "type": {
105469
+ "text": "HTMLFormElement"
105470
+ }
105471
+ }
105472
+ ],
105473
+ "inheritedFrom": {
105474
+ "name": "SbbButtonBaseElement",
105475
+ "module": "core/base-elements/button-base-element.js"
105476
+ }
105477
+ },
105478
+ {
105479
+ "kind": "field",
105480
+ "name": "_formKeyDown",
105481
+ "privacy": "private",
105482
+ "inheritedFrom": {
105483
+ "name": "SbbButtonBaseElement",
105484
+ "module": "core/base-elements/button-base-element.js"
105485
+ }
105486
+ },
105487
+ {
105488
+ "kind": "field",
105489
+ "name": "formAssociated",
105490
+ "type": {
105491
+ "text": "boolean"
105492
+ },
105493
+ "privacy": "public",
105494
+ "static": true,
105495
+ "default": "true",
105496
+ "inheritedFrom": {
105497
+ "name": "SbbFormAssociatedMixin",
105498
+ "module": "core/mixins/form-associated-mixin.js"
105499
+ }
105500
+ },
105501
+ {
105502
+ "kind": "field",
105503
+ "name": "name",
105504
+ "privacy": "public",
105505
+ "description": "Name of the form element. Will be read from name attribute.",
105506
+ "type": {
105507
+ "text": "string"
105508
+ },
105509
+ "attribute": "name",
105510
+ "inheritedFrom": {
105511
+ "name": "SbbFormAssociatedMixin",
105512
+ "module": "core/mixins/form-associated-mixin.js"
105513
+ }
105514
+ },
105515
+ {
105516
+ "kind": "field",
105517
+ "name": "validity",
105518
+ "type": {
105519
+ "text": "ValidityState"
105520
+ },
105521
+ "privacy": "public",
105522
+ "description": "Returns the ValidityState object for this element.",
105523
+ "readonly": true,
105524
+ "inheritedFrom": {
105525
+ "name": "SbbFormAssociatedMixin",
105526
+ "module": "core/mixins/form-associated-mixin.js"
105527
+ }
105528
+ },
105529
+ {
105530
+ "kind": "field",
105531
+ "name": "validationMessage",
105532
+ "type": {
105533
+ "text": "string"
105534
+ },
105535
+ "privacy": "public",
105536
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also a custom validity message\n(see below) has precedence over native validation messages.",
105537
+ "readonly": true,
105538
+ "inheritedFrom": {
105539
+ "name": "SbbFormAssociatedMixin",
105540
+ "module": "core/mixins/form-associated-mixin.js"
105541
+ }
105542
+ },
105543
+ {
105544
+ "kind": "field",
105545
+ "name": "willValidate",
105546
+ "type": {
105547
+ "text": "boolean"
105548
+ },
105549
+ "privacy": "public",
105550
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
105551
+ "readonly": true,
105552
+ "inheritedFrom": {
105553
+ "name": "SbbFormAssociatedMixin",
105554
+ "module": "core/mixins/form-associated-mixin.js"
105555
+ }
105556
+ },
105557
+ {
105558
+ "kind": "field",
105559
+ "name": "_validityStates",
105560
+ "privacy": "private",
105561
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
105562
+ "inheritedFrom": {
105563
+ "name": "SbbFormAssociatedMixin",
105564
+ "module": "core/mixins/form-associated-mixin.js"
105565
+ }
105566
+ },
105567
+ {
105568
+ "kind": "field",
105569
+ "name": "formDisabled",
105570
+ "type": {
105571
+ "text": "boolean"
105572
+ },
105573
+ "privacy": "protected",
105574
+ "default": "false",
105575
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
105576
+ "inheritedFrom": {
105577
+ "name": "SbbFormAssociatedMixin",
105578
+ "module": "core/mixins/form-associated-mixin.js"
105579
+ }
105580
+ },
105581
+ {
105582
+ "kind": "method",
105583
+ "name": "checkValidity",
105584
+ "privacy": "public",
105585
+ "return": {
105586
+ "type": {
105587
+ "text": "boolean"
105588
+ }
105589
+ },
105590
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
105591
+ "inheritedFrom": {
105592
+ "name": "SbbFormAssociatedMixin",
105593
+ "module": "core/mixins/form-associated-mixin.js"
105594
+ }
105595
+ },
105596
+ {
105597
+ "kind": "method",
105598
+ "name": "reportValidity",
105599
+ "privacy": "public",
105600
+ "return": {
105601
+ "type": {
105602
+ "text": "boolean"
105603
+ }
105604
+ },
105605
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
105606
+ "inheritedFrom": {
105607
+ "name": "SbbFormAssociatedMixin",
105608
+ "module": "core/mixins/form-associated-mixin.js"
105609
+ }
105610
+ },
105611
+ {
105612
+ "kind": "method",
105613
+ "name": "setCustomValidity",
105614
+ "privacy": "public",
105615
+ "return": {
105616
+ "type": {
105617
+ "text": "void"
105618
+ }
105619
+ },
105620
+ "parameters": [
105621
+ {
105622
+ "name": "message",
105623
+ "type": {
105624
+ "text": "string"
105625
+ }
105626
+ }
105627
+ ],
105628
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
105629
+ "inheritedFrom": {
105630
+ "name": "SbbFormAssociatedMixin",
105631
+ "module": "core/mixins/form-associated-mixin.js"
105632
+ }
105633
+ },
105634
+ {
105635
+ "kind": "method",
105636
+ "name": "_hasDisabledAncestor",
105637
+ "privacy": "private",
105638
+ "return": {
105639
+ "type": {
105640
+ "text": "boolean"
105641
+ }
105642
+ },
105643
+ "inheritedFrom": {
105644
+ "name": "SbbFormAssociatedMixin",
105645
+ "module": "core/mixins/form-associated-mixin.js"
105646
+ }
105647
+ },
105648
+ {
105649
+ "kind": "method",
105650
+ "name": "updateFormValue",
105651
+ "privacy": "protected",
105652
+ "return": {
105653
+ "type": {
105654
+ "text": "void"
105655
+ }
105656
+ },
105657
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
105658
+ "inheritedFrom": {
105659
+ "name": "SbbFormAssociatedMixin",
105660
+ "module": "core/mixins/form-associated-mixin.js"
105661
+ }
105662
+ },
105663
+ {
105664
+ "kind": "method",
105665
+ "name": "formState",
105666
+ "privacy": "protected",
105667
+ "return": {
105668
+ "type": {
105669
+ "text": "FormRestoreState"
105670
+ }
105671
+ },
105672
+ "inheritedFrom": {
105673
+ "name": "SbbFormAssociatedMixin",
105674
+ "module": "core/mixins/form-associated-mixin.js"
105675
+ }
105676
+ },
105677
+ {
105678
+ "kind": "method",
105679
+ "name": "setValidityFlag",
105680
+ "privacy": "protected",
105681
+ "return": {
105682
+ "type": {
105683
+ "text": "void"
105684
+ }
105685
+ },
105686
+ "parameters": [
105687
+ {
105688
+ "name": "flag",
105689
+ "type": {
105690
+ "text": "T"
105691
+ }
105692
+ },
105693
+ {
105694
+ "name": "message",
105695
+ "type": {
105696
+ "text": "string"
105697
+ }
105698
+ },
105699
+ {
105700
+ "name": "flagValue",
105701
+ "optional": true,
105702
+ "type": {
105703
+ "text": "ValidityStateFlags[T]"
105704
+ }
105705
+ }
105706
+ ],
105707
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
105708
+ "inheritedFrom": {
105709
+ "name": "SbbFormAssociatedMixin",
105710
+ "module": "core/mixins/form-associated-mixin.js"
105711
+ }
105712
+ },
105713
+ {
105714
+ "kind": "method",
105715
+ "name": "removeValidityFlag",
105716
+ "privacy": "protected",
105717
+ "return": {
105718
+ "type": {
105719
+ "text": "void"
105720
+ }
105721
+ },
105722
+ "parameters": [
105723
+ {
105724
+ "name": "flag",
105725
+ "type": {
105726
+ "text": "T"
105727
+ }
105728
+ }
105729
+ ],
105730
+ "description": "Removes the validity state flag entry and updates validity state.",
105731
+ "inheritedFrom": {
105732
+ "name": "SbbFormAssociatedMixin",
105733
+ "module": "core/mixins/form-associated-mixin.js"
105734
+ }
105735
+ },
105736
+ {
105737
+ "kind": "method",
105738
+ "name": "validate",
105739
+ "privacy": "protected",
105740
+ "return": {
105741
+ "type": {
105742
+ "text": "void"
105743
+ }
105744
+ },
105745
+ "description": "To be called whenever the current element needs to be validated.",
105746
+ "inheritedFrom": {
105747
+ "name": "SbbFormAssociatedMixin",
105748
+ "module": "core/mixins/form-associated-mixin.js"
105749
+ }
105750
+ },
105751
+ {
105752
+ "kind": "method",
105753
+ "name": "shouldValidate",
105754
+ "privacy": "protected",
105755
+ "return": {
105756
+ "type": {
105757
+ "text": "boolean"
105758
+ }
105759
+ },
105760
+ "parameters": [
105761
+ {
105762
+ "name": "name",
105763
+ "type": {
105764
+ "text": "PropertyKey | undefined"
105765
+ }
105766
+ }
105767
+ ],
105768
+ "description": "Whether validation should be run on a property change with the given name.",
105769
+ "inheritedFrom": {
105770
+ "name": "SbbFormAssociatedMixin",
105771
+ "module": "core/mixins/form-associated-mixin.js"
105772
+ }
105773
+ },
105774
+ {
105775
+ "kind": "method",
105776
+ "name": "_setInternalValidity",
105777
+ "privacy": "private",
105778
+ "return": {
105779
+ "type": {
105780
+ "text": "void"
105781
+ }
105782
+ },
105783
+ "inheritedFrom": {
105784
+ "name": "SbbFormAssociatedMixin",
105785
+ "module": "core/mixins/form-associated-mixin.js"
105786
+ }
105787
+ },
105788
+ {
105789
+ "kind": "field",
105790
+ "name": "role",
105791
+ "type": {
105792
+ "text": "ElementInternals['role']"
105793
+ },
105794
+ "privacy": "public",
105795
+ "static": true,
105796
+ "readonly": true,
105797
+ "default": "'button'",
105798
+ "inheritedFrom": {
105799
+ "name": "SbbButtonLikeBaseElement",
105800
+ "module": "core/base-elements/button-base-element.js"
105801
+ }
105802
+ },
105803
+ {
105804
+ "kind": "field",
105805
+ "name": "_preventScrollOnSpaceKeydown",
105806
+ "privacy": "private",
105807
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
105808
+ "parameters": [
105809
+ {
105810
+ "description": "The origin event.",
105811
+ "name": "event"
105812
+ }
105813
+ ],
105814
+ "inheritedFrom": {
105815
+ "name": "SbbButtonLikeBaseElement",
105816
+ "module": "core/base-elements/button-base-element.js"
105817
+ }
105818
+ },
105819
+ {
105820
+ "kind": "field",
105821
+ "name": "_removeActiveMarker",
105822
+ "privacy": "private",
105823
+ "inheritedFrom": {
105824
+ "name": "SbbButtonLikeBaseElement",
105825
+ "module": "core/base-elements/button-base-element.js"
105826
+ }
105827
+ },
105828
+ {
105829
+ "kind": "field",
105830
+ "name": "_dispatchClickEventOnSpaceKeyup",
105831
+ "privacy": "private",
105832
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
105833
+ "parameters": [
105834
+ {
105835
+ "description": "The origin event.",
105836
+ "name": "event"
105837
+ }
105838
+ ],
105839
+ "inheritedFrom": {
105840
+ "name": "SbbButtonLikeBaseElement",
105841
+ "module": "core/base-elements/button-base-element.js"
105842
+ }
105843
+ },
105844
+ {
105845
+ "kind": "field",
105846
+ "name": "_dispatchClickEvent",
105847
+ "privacy": "private",
105848
+ "inheritedFrom": {
105849
+ "name": "SbbButtonLikeBaseElement",
105850
+ "module": "core/base-elements/button-base-element.js"
105851
+ }
105852
+ },
105853
+ {
105854
+ "kind": "method",
105855
+ "name": "toggleState",
105856
+ "privacy": "protected",
105857
+ "return": {
105858
+ "type": {
105859
+ "text": "void"
105860
+ }
105861
+ },
105862
+ "parameters": [
105863
+ {
105864
+ "name": "state",
105865
+ "type": {
105866
+ "text": "string"
105867
+ }
105868
+ },
105869
+ {
105870
+ "name": "force",
105871
+ "optional": true,
105872
+ "type": {
105873
+ "text": "boolean"
105874
+ }
105875
+ }
105876
+ ],
105877
+ "inheritedFrom": {
105878
+ "name": "SbbActionBaseElement",
105879
+ "module": "core/base-elements/action-base-element.js"
105880
+ }
105881
+ },
105882
+ {
105883
+ "kind": "field",
105884
+ "name": "maybeDisabled",
105885
+ "type": {
105886
+ "text": "boolean | undefined"
105887
+ },
105888
+ "privacy": "protected",
105889
+ "readonly": true,
105890
+ "inheritedFrom": {
105891
+ "name": "SbbActionBaseElement",
105892
+ "module": "core/base-elements/action-base-element.js"
105893
+ }
105894
+ },
105895
+ {
105896
+ "kind": "field",
105897
+ "name": "maybeDisabledInteractive",
105898
+ "type": {
105899
+ "text": "boolean | undefined"
105900
+ },
105901
+ "privacy": "protected",
105902
+ "readonly": true,
105903
+ "inheritedFrom": {
105904
+ "name": "SbbActionBaseElement",
105905
+ "module": "core/base-elements/action-base-element.js"
105906
+ }
105907
+ },
105908
+ {
105909
+ "kind": "method",
105910
+ "name": "setupBaseEventHandlers",
105911
+ "privacy": "protected",
105912
+ "return": {
105913
+ "type": {
105914
+ "text": "void"
105915
+ }
105916
+ },
105917
+ "inheritedFrom": {
105918
+ "name": "SbbActionBaseElement",
105919
+ "module": "core/base-elements/action-base-element.js"
105920
+ }
105921
+ }
105922
+ ],
105923
+ "superclass": {
105924
+ "name": "SbbSecondaryButtonElement",
105925
+ "module": "button/secondary-button.js"
105926
+ },
105927
+ "tagName": "sbb-timetable-form-swap-button",
105928
+ "customElement": true,
105929
+ "attributes": [
105930
+ {
105931
+ "name": "size",
105932
+ "type": {
105933
+ "text": "SbbButtonSize"
105934
+ },
105935
+ "description": "Size variant, either l, m or s.",
105936
+ "default": "'l' / 's' (lean)",
105937
+ "fieldName": "size",
105938
+ "inheritedFrom": {
105939
+ "name": "SbbButtonCommonElementMixin",
105940
+ "module": "button/common/button-common.js"
105941
+ }
105942
+ },
105943
+ {
105944
+ "name": "loading",
105945
+ "type": {
105946
+ "text": "boolean"
105947
+ },
105948
+ "default": "false",
105949
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
105950
+ "fieldName": "loading",
105951
+ "inheritedFrom": {
105952
+ "name": "SbbButtonCommonElementMixin",
105953
+ "module": "button/common/button-common.js"
105954
+ }
105955
+ },
105956
+ {
105957
+ "name": "negative",
105958
+ "type": {
105959
+ "text": "boolean"
105960
+ },
105961
+ "default": "false",
105962
+ "description": "Negative coloring variant flag.",
105963
+ "fieldName": "negative",
105964
+ "inheritedFrom": {
105965
+ "name": "SbbNegativeMixin",
105966
+ "module": "core/mixins/negative-mixin.js"
105967
+ }
105968
+ },
105969
+ {
105970
+ "name": "icon-name",
105971
+ "type": {
105972
+ "text": "string"
105973
+ },
105974
+ "default": "''",
105975
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
105976
+ "fieldName": "iconName",
105977
+ "inheritedFrom": {
105978
+ "name": "SbbIconNameMixin",
105979
+ "module": "icon/icon-name-mixin.js"
105980
+ }
105981
+ },
105982
+ {
105983
+ "name": "disabled-interactive",
105984
+ "type": {
105985
+ "text": "boolean"
105986
+ },
105987
+ "default": "false",
105988
+ "description": "Whether the button should be aria-disabled but stay interactive.",
105989
+ "fieldName": "disabledInteractive",
105990
+ "inheritedFrom": {
105991
+ "name": "SbbDisabledInteractiveMixin",
105992
+ "module": "core/mixins/disabled-mixin.js"
105993
+ }
105994
+ },
105995
+ {
105996
+ "name": "disabled",
105997
+ "description": "Whether the component is disabled.",
105998
+ "default": "false",
105999
+ "type": {
106000
+ "text": "boolean"
106001
+ },
106002
+ "fieldName": "disabled",
106003
+ "inheritedFrom": {
106004
+ "name": "SbbDisabledMixin",
106005
+ "module": "core/mixins/disabled-mixin.js"
106006
+ }
106007
+ },
106008
+ {
106009
+ "name": "value",
106010
+ "type": {
106011
+ "text": "string"
106012
+ },
106013
+ "default": "''",
106014
+ "description": "Value of the form element.",
106015
+ "fieldName": "value",
106016
+ "inheritedFrom": {
106017
+ "name": "SbbButtonBaseElement",
106018
+ "module": "core/base-elements/button-base-element.js"
106019
+ }
106020
+ },
106021
+ {
106022
+ "name": "type",
106023
+ "description": "The type attribute to use for the button.",
106024
+ "default": "'button'",
106025
+ "type": {
106026
+ "text": "SbbButtonType"
106027
+ },
106028
+ "fieldName": "type",
106029
+ "inheritedFrom": {
106030
+ "name": "SbbButtonBaseElement",
106031
+ "module": "core/base-elements/button-base-element.js"
106032
+ }
106033
+ },
106034
+ {
106035
+ "name": "form",
106036
+ "description": "The `<form>` element to associate the button with.",
106037
+ "type": {
106038
+ "text": "HTMLFormElement | null"
106039
+ },
106040
+ "fieldName": "form",
106041
+ "inheritedFrom": {
106042
+ "name": "SbbButtonBaseElement",
106043
+ "module": "core/base-elements/button-base-element.js"
106044
+ }
106045
+ },
106046
+ {
106047
+ "name": "name",
106048
+ "description": "Name of the form element. Will be read from name attribute.",
106049
+ "type": {
106050
+ "text": "string"
106051
+ },
106052
+ "fieldName": "name",
106053
+ "inheritedFrom": {
106054
+ "name": "SbbFormAssociatedMixin",
106055
+ "module": "core/mixins/form-associated-mixin.js"
106056
+ }
106057
+ }
106058
+ ],
106059
+ "slots": [
106060
+ {
106061
+ "description": "Use the unnamed slot to add content to the secondary-button.",
106062
+ "name": "",
106063
+ "inheritedFrom": {
106064
+ "name": "SbbSecondaryButtonElement",
106065
+ "module": "button/secondary-button/secondary-button.component.js"
106066
+ }
106067
+ },
106068
+ {
106069
+ "description": "Slot used to display the icon, if one is set.",
106070
+ "name": "icon",
106071
+ "inheritedFrom": {
106072
+ "name": "SbbSecondaryButtonElement",
106073
+ "module": "button/secondary-button/secondary-button.component.js"
106074
+ }
106075
+ }
106076
+ ],
106077
+ "cssProperties": [
106078
+ {
106079
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
106080
+ "name": "--sbb-button-loading-delay",
106081
+ "default": "300ms",
106082
+ "inheritedFrom": {
106083
+ "name": "SbbSecondaryButtonElement",
106084
+ "module": "button/secondary-button/secondary-button.component.js"
106085
+ }
106086
+ }
106087
+ ]
106088
+ }
106089
+ ],
106090
+ "exports": [
106091
+ {
106092
+ "kind": "js",
106093
+ "name": "SbbTimetableFormSwapButtonElement",
106094
+ "declaration": {
106095
+ "name": "SbbTimetableFormSwapButtonElement",
106096
+ "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
106097
+ }
106098
+ },
106099
+ {
106100
+ "kind": "custom-element-definition",
106101
+ "name": "sbb-timetable-form-swap-button",
106102
+ "declaration": {
106103
+ "name": "SbbTimetableFormSwapButtonElement",
106104
+ "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
106105
+ }
106106
+ }
106107
+ ]
106108
+ },
103202
106109
  {
103203
106110
  "kind": "javascript-module",
103204
106111
  "path": "toggle/toggle/toggle.component.js",