@sbb-esta/lyne-elements 2.5.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/autocomplete-base-element.d.ts +19 -20
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +7 -7
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts +2 -2
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/autocomplete.js +143 -134
- package/chip/chip/chip.d.ts +32 -0
- package/chip/chip/chip.d.ts.map +1 -0
- package/chip/chip-group/chip-group.d.ts +100 -0
- package/chip/chip-group/chip-group.d.ts.map +1 -0
- package/chip/chip-group.d.ts +2 -0
- package/chip/chip-group.d.ts.map +1 -0
- package/chip/chip-group.js +225 -0
- package/chip/chip.d.ts +2 -0
- package/chip/chip.d.ts.map +1 -0
- package/chip/chip.js +85 -0
- package/chip.d.ts +3 -0
- package/chip.d.ts.map +1 -0
- package/chip.js +2 -0
- package/clock/clock.d.ts.map +1 -1
- package/clock.js +1 -1
- package/core/controllers/id-observer-controller.d.ts +21 -0
- package/core/controllers/id-observer-controller.d.ts.map +1 -0
- package/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/core/controllers.d.ts +2 -1
- package/core/controllers.d.ts.map +1 -1
- package/core/controllers.js +135 -80
- package/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/core/datetime.js +8 -3
- package/core/dom/find-referenced-element.d.ts +1 -0
- package/core/dom/find-referenced-element.d.ts.map +1 -1
- package/core/dom/input-element.d.ts +3 -1
- package/core/dom/input-element.d.ts.map +1 -1
- package/core/i18n/i18n.d.ts +3 -0
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +135 -117
- package/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/core/mixins.js +64 -59
- package/core/overlay/overlay-trigger-attributes.d.ts +1 -1
- package/core/overlay/overlay-trigger-attributes.d.ts.map +1 -1
- package/core/overlay/position.d.ts +1 -1
- package/core/overlay/position.d.ts.map +1 -1
- package/core/styles/core.scss +89 -24
- package/core/styles/image.scss +1 -1
- package/core/styles/mixins/table.scss +63 -26
- package/core/styles/table.scss +16 -0
- package/core/testing/scroll.d.ts +1 -0
- package/core/testing/scroll.d.ts.map +1 -1
- package/core/testing/wait-for-image-ready.d.ts.map +1 -1
- package/core/testing.js +8 -5
- package/core.css +90 -34
- package/custom-elements.json +1588 -650
- package/datepicker/datepicker/datepicker.d.ts +4 -4
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +0 -3
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +30 -34
- package/datepicker/datepicker.js +103 -105
- package/development/autocomplete/autocomplete-base-element.d.ts +19 -20
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +3 -3
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts +2 -2
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup.js +1 -1
- package/development/autocomplete.js +103 -79
- package/development/chip/chip/chip.d.ts +32 -0
- package/development/chip/chip/chip.d.ts.map +1 -0
- package/development/chip/chip-group/chip-group.d.ts +100 -0
- package/development/chip/chip-group/chip-group.d.ts.map +1 -0
- package/development/chip/chip-group.d.ts +2 -0
- package/development/chip/chip-group.d.ts.map +1 -0
- package/development/chip/chip-group.js +349 -0
- package/development/chip/chip.d.ts +2 -0
- package/development/chip/chip.d.ts.map +1 -0
- package/development/chip/chip.js +212 -0
- package/development/chip.d.ts +3 -0
- package/development/chip.d.ts.map +1 -0
- package/development/chip.js +3 -0
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +5 -2
- package/development/core/controllers/id-observer-controller.d.ts +21 -0
- package/development/core/controllers/id-observer-controller.d.ts.map +1 -0
- package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/development/core/controllers.d.ts +2 -1
- package/development/core/controllers.d.ts.map +1 -1
- package/development/core/controllers.js +116 -44
- package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/development/core/datetime.js +6 -2
- package/development/core/dom/find-referenced-element.d.ts +1 -0
- package/development/core/dom/find-referenced-element.d.ts.map +1 -1
- package/development/core/dom/input-element.d.ts +3 -1
- package/development/core/dom/input-element.d.ts.map +1 -1
- package/development/core/dom.js +1 -1
- package/development/core/i18n/i18n.d.ts +3 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +23 -2
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/development/core/mixins.js +12 -3
- package/development/core/overlay/overlay-trigger-attributes.d.ts +1 -1
- package/development/core/overlay/overlay-trigger-attributes.d.ts.map +1 -1
- package/development/core/overlay/position.d.ts +1 -1
- package/development/core/overlay/position.d.ts.map +1 -1
- package/development/core/overlay.js +1 -1
- package/development/core/testing/scroll.d.ts +1 -0
- package/development/core/testing/scroll.d.ts.map +1 -1
- package/development/core/testing/wait-for-image-ready.d.ts.map +1 -1
- package/development/core/testing.js +6 -2
- package/development/datepicker/datepicker/datepicker.d.ts +4 -4
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +0 -3
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +4 -12
- package/development/datepicker/datepicker.js +46 -43
- package/development/dialog/dialog-title/dialog-title.d.ts +0 -1
- package/development/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +2 -5
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts +0 -2
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel.js +2 -7
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +3 -3
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +12 -145
- package/development/header/header/header.d.ts +6 -7
- package/development/header/header/header.d.ts.map +1 -1
- package/development/header/header.js +45 -34
- package/development/menu/menu/menu.d.ts +7 -8
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +42 -41
- package/development/navigation/navigation/navigation.d.ts +7 -8
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/development/navigation/navigation-marker.js +3 -3
- package/development/navigation/navigation-section/navigation-section.d.ts +8 -9
- package/development/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +50 -47
- package/development/navigation/navigation.js +42 -40
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup.d.ts +2 -2
- package/development/option/optgroup/optgroup.d.ts.map +1 -1
- package/development/option/optgroup.js +3 -3
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option.js +3 -3
- package/development/paginator/paginator.js +12 -1
- package/development/popover/popover/popover.d.ts +8 -7
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover.js +28 -35
- package/development/select/select.d.ts +1 -1
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +15 -15
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts +0 -2
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +2 -7
- package/development/sidebar/sidebar/sidebar.d.ts.map +1 -1
- package/development/sidebar/sidebar.js +3 -3
- package/development/stepper/step/step.d.ts +15 -1
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step-label.js +2 -2
- package/development/stepper/step.js +23 -3
- package/development/stepper/stepper/stepper.d.ts +1 -0
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +5 -1
- package/development/table/table-wrapper.js +2 -1
- package/development/time-input/time-input.d.ts +6 -8
- package/development/time-input/time-input.d.ts.map +1 -1
- package/development/time-input.js +42 -44
- package/dialog/dialog-title/dialog-title.d.ts +0 -1
- package/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/dialog/dialog-title.js +18 -21
- package/expansion-panel/expansion-panel/expansion-panel.d.ts +0 -2
- package/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/expansion-panel/expansion-panel.js +53 -56
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +8 -8
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +102 -97
- package/header/header/header.d.ts +6 -7
- package/header/header/header.d.ts.map +1 -1
- package/header/header.js +72 -70
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/menu/menu/menu.d.ts +7 -8
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +73 -73
- package/navigation/navigation/navigation.d.ts +7 -8
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/navigation/navigation-marker.js +4 -4
- package/navigation/navigation-section/navigation-section.d.ts +8 -9
- package/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +75 -77
- package/navigation/navigation.js +70 -70
- package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/option/optgroup/optgroup.d.ts +2 -2
- package/option/optgroup/optgroup.d.ts.map +1 -1
- package/option/optgroup.js +13 -13
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option.js +2 -2
- package/package.json +16 -1
- package/paginator/paginator.js +44 -44
- package/popover/popover/popover.d.ts +8 -7
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover.js +73 -73
- package/select/select.d.ts +1 -1
- package/select/select.d.ts.map +1 -1
- package/select.js +68 -67
- package/selection-expansion-panel/selection-expansion-panel.d.ts +0 -2
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +10 -13
- package/sidebar/sidebar/sidebar.d.ts.map +1 -1
- package/sidebar/sidebar.js +2 -2
- package/standard-theme.css +166 -79
- package/stepper/step/step.d.ts +15 -1
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step-label.js +1 -1
- package/stepper/step.js +36 -22
- package/stepper/stepper/stepper.d.ts +1 -0
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +19 -16
- package/table/table-wrapper.js +4 -4
- package/table.css +75 -44
- package/time-input/time-input.d.ts +6 -8
- package/time-input/time-input.d.ts.map +1 -1
- package/time-input.js +66 -73
package/custom-elements.json
CHANGED
|
@@ -488,6 +488,15 @@
|
|
|
488
488
|
"kind": "javascript-module",
|
|
489
489
|
"path": "autocomplete.js",
|
|
490
490
|
"declarations": [
|
|
491
|
+
{
|
|
492
|
+
"kind": "variable",
|
|
493
|
+
"name": "inputAutocompleteEvent",
|
|
494
|
+
"type": {
|
|
495
|
+
"text": "string"
|
|
496
|
+
},
|
|
497
|
+
"default": "'inputAutocomplete'",
|
|
498
|
+
"description": "Custom event emitted on the input when an option is selected"
|
|
499
|
+
},
|
|
491
500
|
{
|
|
492
501
|
"kind": "class",
|
|
493
502
|
"description": "",
|
|
@@ -501,7 +510,7 @@
|
|
|
501
510
|
},
|
|
502
511
|
"privacy": "public",
|
|
503
512
|
"default": "null",
|
|
504
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
513
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
505
514
|
"attribute": "origin"
|
|
506
515
|
},
|
|
507
516
|
{
|
|
@@ -531,25 +540,17 @@
|
|
|
531
540
|
"kind": "field",
|
|
532
541
|
"name": "originElement",
|
|
533
542
|
"type": {
|
|
534
|
-
"text": "HTMLElement"
|
|
543
|
+
"text": "HTMLElement | null"
|
|
535
544
|
},
|
|
536
545
|
"privacy": "public",
|
|
537
546
|
"description": "Returns the element where autocomplete overlay is attached to.",
|
|
538
547
|
"readonly": true
|
|
539
548
|
},
|
|
540
|
-
{
|
|
541
|
-
"kind": "field",
|
|
542
|
-
"name": "_originElement",
|
|
543
|
-
"type": {
|
|
544
|
-
"text": "HTMLElement | undefined"
|
|
545
|
-
},
|
|
546
|
-
"privacy": "private"
|
|
547
|
-
},
|
|
548
549
|
{
|
|
549
550
|
"kind": "field",
|
|
550
551
|
"name": "triggerElement",
|
|
551
552
|
"type": {
|
|
552
|
-
"text": "HTMLInputElement | undefined"
|
|
553
|
+
"text": "HTMLInputElement | null | undefined"
|
|
553
554
|
},
|
|
554
555
|
"privacy": "public",
|
|
555
556
|
"description": "Returns the trigger element.",
|
|
@@ -559,7 +560,7 @@
|
|
|
559
560
|
"kind": "field",
|
|
560
561
|
"name": "_triggerElement",
|
|
561
562
|
"type": {
|
|
562
|
-
"text": "HTMLInputElement | undefined"
|
|
563
|
+
"text": "HTMLInputElement | null | undefined"
|
|
563
564
|
},
|
|
564
565
|
"privacy": "private"
|
|
565
566
|
},
|
|
@@ -586,6 +587,18 @@
|
|
|
586
587
|
"default": "new SbbConnectedAbortController(this)",
|
|
587
588
|
"deprecated": "No longer used internally."
|
|
588
589
|
},
|
|
590
|
+
{
|
|
591
|
+
"kind": "field",
|
|
592
|
+
"name": "_originResizeObserver",
|
|
593
|
+
"privacy": "private",
|
|
594
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => { if (this.state === 'opened') { this._setOverlayPosition(); } }, })"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "_triggerAttributeObserver",
|
|
599
|
+
"privacy": "private",
|
|
600
|
+
"description": "Listens to the changes on the `disabled` or `readonly` attribute of the trigger."
|
|
601
|
+
},
|
|
589
602
|
{
|
|
590
603
|
"kind": "field",
|
|
591
604
|
"name": "_overlay",
|
|
@@ -604,12 +617,24 @@
|
|
|
604
617
|
},
|
|
605
618
|
{
|
|
606
619
|
"kind": "field",
|
|
607
|
-
"name": "
|
|
620
|
+
"name": "_triggerAbortController",
|
|
608
621
|
"type": {
|
|
609
622
|
"text": "AbortController"
|
|
610
623
|
},
|
|
611
624
|
"privacy": "private"
|
|
612
625
|
},
|
|
626
|
+
{
|
|
627
|
+
"kind": "field",
|
|
628
|
+
"name": "_triggerIdReferenceController",
|
|
629
|
+
"privacy": "private",
|
|
630
|
+
"default": "new SbbIdReferenceController(this, 'trigger')"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "field",
|
|
634
|
+
"name": "_originIdReferenceController",
|
|
635
|
+
"privacy": "private",
|
|
636
|
+
"default": "new SbbIdReferenceController(this, 'origin')"
|
|
637
|
+
},
|
|
613
638
|
{
|
|
614
639
|
"kind": "field",
|
|
615
640
|
"name": "_openPanelEventsController",
|
|
@@ -629,7 +654,7 @@
|
|
|
629
654
|
},
|
|
630
655
|
{
|
|
631
656
|
"kind": "field",
|
|
632
|
-
"name": "
|
|
657
|
+
"name": "_escapableOverlayController",
|
|
633
658
|
"privacy": "private",
|
|
634
659
|
"default": "new SbbEscapableOverlayController(this)"
|
|
635
660
|
},
|
|
@@ -837,29 +862,17 @@
|
|
|
837
862
|
},
|
|
838
863
|
{
|
|
839
864
|
"kind": "method",
|
|
840
|
-
"name": "
|
|
841
|
-
"privacy": "private",
|
|
842
|
-
"return": {
|
|
843
|
-
"type": {
|
|
844
|
-
"text": ""
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
"description": "Retrieve the element where the autocomplete will be attached."
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"kind": "method",
|
|
851
|
-
"name": "_getTriggerElement",
|
|
865
|
+
"name": "_configureTrigger",
|
|
852
866
|
"privacy": "private",
|
|
853
867
|
"return": {
|
|
854
868
|
"type": {
|
|
855
|
-
"text": ""
|
|
869
|
+
"text": "void"
|
|
856
870
|
}
|
|
857
|
-
}
|
|
858
|
-
"description": "Retrieve the element that will trigger the autocomplete opening."
|
|
871
|
+
}
|
|
859
872
|
},
|
|
860
873
|
{
|
|
861
874
|
"kind": "method",
|
|
862
|
-
"name": "
|
|
875
|
+
"name": "_setOverlayPosition",
|
|
863
876
|
"privacy": "private",
|
|
864
877
|
"return": {
|
|
865
878
|
"type": {
|
|
@@ -868,33 +881,11 @@
|
|
|
868
881
|
},
|
|
869
882
|
"parameters": [
|
|
870
883
|
{
|
|
871
|
-
"name": "
|
|
872
|
-
"
|
|
873
|
-
"text": "HTMLInputElement"
|
|
874
|
-
}
|
|
884
|
+
"name": "originElement",
|
|
885
|
+
"default": "this.originElement"
|
|
875
886
|
}
|
|
876
887
|
]
|
|
877
888
|
},
|
|
878
|
-
{
|
|
879
|
-
"kind": "method",
|
|
880
|
-
"name": "_setupTriggerEvents",
|
|
881
|
-
"privacy": "private",
|
|
882
|
-
"return": {
|
|
883
|
-
"type": {
|
|
884
|
-
"text": "void"
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"kind": "method",
|
|
890
|
-
"name": "_setOverlayPosition",
|
|
891
|
-
"privacy": "private",
|
|
892
|
-
"return": {
|
|
893
|
-
"type": {
|
|
894
|
-
"text": "void"
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
889
|
{
|
|
899
890
|
"kind": "method",
|
|
900
891
|
"name": "_onAnimationEnd",
|
|
@@ -992,25 +983,6 @@
|
|
|
992
983
|
],
|
|
993
984
|
"description": "Highlight the searched text on the options."
|
|
994
985
|
},
|
|
995
|
-
{
|
|
996
|
-
"kind": "method",
|
|
997
|
-
"name": "_removeTriggerAttributes",
|
|
998
|
-
"privacy": "private",
|
|
999
|
-
"return": {
|
|
1000
|
-
"type": {
|
|
1001
|
-
"text": "void"
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
"parameters": [
|
|
1005
|
-
{
|
|
1006
|
-
"name": "element",
|
|
1007
|
-
"optional": true,
|
|
1008
|
-
"type": {
|
|
1009
|
-
"text": "HTMLInputElement"
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
]
|
|
1013
|
-
},
|
|
1014
986
|
{
|
|
1015
987
|
"kind": "field",
|
|
1016
988
|
"name": "negative",
|
|
@@ -1183,7 +1155,7 @@
|
|
|
1183
1155
|
"text": "string | HTMLElement | null"
|
|
1184
1156
|
},
|
|
1185
1157
|
"default": "null",
|
|
1186
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
1158
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
1187
1159
|
"fieldName": "origin"
|
|
1188
1160
|
},
|
|
1189
1161
|
{
|
|
@@ -1523,7 +1495,7 @@
|
|
|
1523
1495
|
},
|
|
1524
1496
|
"privacy": "public",
|
|
1525
1497
|
"default": "null",
|
|
1526
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
1498
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
1527
1499
|
"attribute": "origin",
|
|
1528
1500
|
"inheritedFrom": {
|
|
1529
1501
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -1565,7 +1537,7 @@
|
|
|
1565
1537
|
"kind": "field",
|
|
1566
1538
|
"name": "originElement",
|
|
1567
1539
|
"type": {
|
|
1568
|
-
"text": "HTMLElement"
|
|
1540
|
+
"text": "HTMLElement | null"
|
|
1569
1541
|
},
|
|
1570
1542
|
"privacy": "public",
|
|
1571
1543
|
"description": "Returns the element where autocomplete overlay is attached to.",
|
|
@@ -1575,23 +1547,11 @@
|
|
|
1575
1547
|
"module": "autocomplete.js"
|
|
1576
1548
|
}
|
|
1577
1549
|
},
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "field",
|
|
1580
|
-
"name": "_originElement",
|
|
1581
|
-
"type": {
|
|
1582
|
-
"text": "HTMLElement | undefined"
|
|
1583
|
-
},
|
|
1584
|
-
"privacy": "private",
|
|
1585
|
-
"inheritedFrom": {
|
|
1586
|
-
"name": "SbbAutocompleteBaseElement",
|
|
1587
|
-
"module": "autocomplete.js"
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
1550
|
{
|
|
1591
1551
|
"kind": "field",
|
|
1592
1552
|
"name": "triggerElement",
|
|
1593
1553
|
"type": {
|
|
1594
|
-
"text": "HTMLInputElement | undefined"
|
|
1554
|
+
"text": "HTMLInputElement | null | undefined"
|
|
1595
1555
|
},
|
|
1596
1556
|
"privacy": "public",
|
|
1597
1557
|
"description": "Returns the trigger element.",
|
|
@@ -1605,7 +1565,7 @@
|
|
|
1605
1565
|
"kind": "field",
|
|
1606
1566
|
"name": "_triggerElement",
|
|
1607
1567
|
"type": {
|
|
1608
|
-
"text": "HTMLInputElement | undefined"
|
|
1568
|
+
"text": "HTMLInputElement | null | undefined"
|
|
1609
1569
|
},
|
|
1610
1570
|
"privacy": "private",
|
|
1611
1571
|
"inheritedFrom": {
|
|
@@ -1624,6 +1584,26 @@
|
|
|
1624
1584
|
"module": "autocomplete.js"
|
|
1625
1585
|
}
|
|
1626
1586
|
},
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "field",
|
|
1589
|
+
"name": "_originResizeObserver",
|
|
1590
|
+
"privacy": "private",
|
|
1591
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => { if (this.state === 'opened') { this._setOverlayPosition(); } }, })",
|
|
1592
|
+
"inheritedFrom": {
|
|
1593
|
+
"name": "SbbAutocompleteBaseElement",
|
|
1594
|
+
"module": "autocomplete.js"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"kind": "field",
|
|
1599
|
+
"name": "_triggerAttributeObserver",
|
|
1600
|
+
"privacy": "private",
|
|
1601
|
+
"description": "Listens to the changes on the `disabled` or `readonly` attribute of the trigger.",
|
|
1602
|
+
"inheritedFrom": {
|
|
1603
|
+
"name": "SbbAutocompleteBaseElement",
|
|
1604
|
+
"module": "autocomplete.js"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1627
1607
|
{
|
|
1628
1608
|
"kind": "field",
|
|
1629
1609
|
"name": "_overlay",
|
|
@@ -1650,7 +1630,7 @@
|
|
|
1650
1630
|
},
|
|
1651
1631
|
{
|
|
1652
1632
|
"kind": "field",
|
|
1653
|
-
"name": "
|
|
1633
|
+
"name": "_triggerAbortController",
|
|
1654
1634
|
"type": {
|
|
1655
1635
|
"text": "AbortController"
|
|
1656
1636
|
},
|
|
@@ -1660,6 +1640,26 @@
|
|
|
1660
1640
|
"module": "autocomplete.js"
|
|
1661
1641
|
}
|
|
1662
1642
|
},
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "field",
|
|
1645
|
+
"name": "_triggerIdReferenceController",
|
|
1646
|
+
"privacy": "private",
|
|
1647
|
+
"default": "new SbbIdReferenceController(this, 'trigger')",
|
|
1648
|
+
"inheritedFrom": {
|
|
1649
|
+
"name": "SbbAutocompleteBaseElement",
|
|
1650
|
+
"module": "autocomplete.js"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "field",
|
|
1655
|
+
"name": "_originIdReferenceController",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"default": "new SbbIdReferenceController(this, 'origin')",
|
|
1658
|
+
"inheritedFrom": {
|
|
1659
|
+
"name": "SbbAutocompleteBaseElement",
|
|
1660
|
+
"module": "autocomplete.js"
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
1663
|
{
|
|
1664
1664
|
"kind": "field",
|
|
1665
1665
|
"name": "_openPanelEventsController",
|
|
@@ -1687,7 +1687,7 @@
|
|
|
1687
1687
|
},
|
|
1688
1688
|
{
|
|
1689
1689
|
"kind": "field",
|
|
1690
|
-
"name": "
|
|
1690
|
+
"name": "_escapableOverlayController",
|
|
1691
1691
|
"privacy": "private",
|
|
1692
1692
|
"default": "new SbbEscapableOverlayController(this)",
|
|
1693
1693
|
"inheritedFrom": {
|
|
@@ -1822,29 +1822,13 @@
|
|
|
1822
1822
|
},
|
|
1823
1823
|
{
|
|
1824
1824
|
"kind": "method",
|
|
1825
|
-
"name": "
|
|
1825
|
+
"name": "_configureTrigger",
|
|
1826
1826
|
"privacy": "private",
|
|
1827
1827
|
"return": {
|
|
1828
1828
|
"type": {
|
|
1829
|
-
"text": ""
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
"description": "Retrieve the element where the autocomplete will be attached.",
|
|
1833
|
-
"inheritedFrom": {
|
|
1834
|
-
"name": "SbbAutocompleteBaseElement",
|
|
1835
|
-
"module": "autocomplete.js"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "method",
|
|
1840
|
-
"name": "_getTriggerElement",
|
|
1841
|
-
"privacy": "private",
|
|
1842
|
-
"return": {
|
|
1843
|
-
"type": {
|
|
1844
|
-
"text": ""
|
|
1829
|
+
"text": "void"
|
|
1845
1830
|
}
|
|
1846
1831
|
},
|
|
1847
|
-
"description": "Retrieve the element that will trigger the autocomplete opening.",
|
|
1848
1832
|
"inheritedFrom": {
|
|
1849
1833
|
"name": "SbbAutocompleteBaseElement",
|
|
1850
1834
|
"module": "autocomplete.js"
|
|
@@ -1852,7 +1836,7 @@
|
|
|
1852
1836
|
},
|
|
1853
1837
|
{
|
|
1854
1838
|
"kind": "method",
|
|
1855
|
-
"name": "
|
|
1839
|
+
"name": "_setOverlayPosition",
|
|
1856
1840
|
"privacy": "private",
|
|
1857
1841
|
"return": {
|
|
1858
1842
|
"type": {
|
|
@@ -1861,10 +1845,8 @@
|
|
|
1861
1845
|
},
|
|
1862
1846
|
"parameters": [
|
|
1863
1847
|
{
|
|
1864
|
-
"name": "
|
|
1865
|
-
"
|
|
1866
|
-
"text": "HTMLInputElement"
|
|
1867
|
-
}
|
|
1848
|
+
"name": "originElement",
|
|
1849
|
+
"default": "this.originElement"
|
|
1868
1850
|
}
|
|
1869
1851
|
],
|
|
1870
1852
|
"inheritedFrom": {
|
|
@@ -1872,34 +1854,6 @@
|
|
|
1872
1854
|
"module": "autocomplete.js"
|
|
1873
1855
|
}
|
|
1874
1856
|
},
|
|
1875
|
-
{
|
|
1876
|
-
"kind": "method",
|
|
1877
|
-
"name": "_setupTriggerEvents",
|
|
1878
|
-
"privacy": "private",
|
|
1879
|
-
"return": {
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "void"
|
|
1882
|
-
}
|
|
1883
|
-
},
|
|
1884
|
-
"inheritedFrom": {
|
|
1885
|
-
"name": "SbbAutocompleteBaseElement",
|
|
1886
|
-
"module": "autocomplete.js"
|
|
1887
|
-
}
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
"kind": "method",
|
|
1891
|
-
"name": "_setOverlayPosition",
|
|
1892
|
-
"privacy": "private",
|
|
1893
|
-
"return": {
|
|
1894
|
-
"type": {
|
|
1895
|
-
"text": "void"
|
|
1896
|
-
}
|
|
1897
|
-
},
|
|
1898
|
-
"inheritedFrom": {
|
|
1899
|
-
"name": "SbbAutocompleteBaseElement",
|
|
1900
|
-
"module": "autocomplete.js"
|
|
1901
|
-
}
|
|
1902
|
-
},
|
|
1903
1857
|
{
|
|
1904
1858
|
"kind": "method",
|
|
1905
1859
|
"name": "_onAnimationEnd",
|
|
@@ -2029,29 +1983,6 @@
|
|
|
2029
1983
|
"module": "autocomplete.js"
|
|
2030
1984
|
}
|
|
2031
1985
|
},
|
|
2032
|
-
{
|
|
2033
|
-
"kind": "method",
|
|
2034
|
-
"name": "_removeTriggerAttributes",
|
|
2035
|
-
"privacy": "private",
|
|
2036
|
-
"return": {
|
|
2037
|
-
"type": {
|
|
2038
|
-
"text": "void"
|
|
2039
|
-
}
|
|
2040
|
-
},
|
|
2041
|
-
"parameters": [
|
|
2042
|
-
{
|
|
2043
|
-
"name": "element",
|
|
2044
|
-
"optional": true,
|
|
2045
|
-
"type": {
|
|
2046
|
-
"text": "HTMLInputElement"
|
|
2047
|
-
}
|
|
2048
|
-
}
|
|
2049
|
-
],
|
|
2050
|
-
"inheritedFrom": {
|
|
2051
|
-
"name": "SbbAutocompleteBaseElement",
|
|
2052
|
-
"module": "autocomplete.js"
|
|
2053
|
-
}
|
|
2054
|
-
},
|
|
2055
1986
|
{
|
|
2056
1987
|
"kind": "field",
|
|
2057
1988
|
"name": "events",
|
|
@@ -2223,7 +2154,7 @@
|
|
|
2223
2154
|
"text": "string | HTMLElement | null"
|
|
2224
2155
|
},
|
|
2225
2156
|
"default": "null",
|
|
2226
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
2157
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
2227
2158
|
"fieldName": "origin",
|
|
2228
2159
|
"inheritedFrom": {
|
|
2229
2160
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -2260,6 +2191,14 @@
|
|
|
2260
2191
|
}
|
|
2261
2192
|
],
|
|
2262
2193
|
"exports": [
|
|
2194
|
+
{
|
|
2195
|
+
"kind": "js",
|
|
2196
|
+
"name": "inputAutocompleteEvent",
|
|
2197
|
+
"declaration": {
|
|
2198
|
+
"name": "inputAutocompleteEvent",
|
|
2199
|
+
"module": "autocomplete.js"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2263
2202
|
{
|
|
2264
2203
|
"kind": "js",
|
|
2265
2204
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -4377,6 +4316,29 @@
|
|
|
4377
4316
|
}
|
|
4378
4317
|
]
|
|
4379
4318
|
},
|
|
4319
|
+
{
|
|
4320
|
+
"kind": "javascript-module",
|
|
4321
|
+
"path": "chip.js",
|
|
4322
|
+
"declarations": [],
|
|
4323
|
+
"exports": [
|
|
4324
|
+
{
|
|
4325
|
+
"kind": "js",
|
|
4326
|
+
"name": "*",
|
|
4327
|
+
"declaration": {
|
|
4328
|
+
"name": "*",
|
|
4329
|
+
"package": "./chip/chip.js"
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
"kind": "js",
|
|
4334
|
+
"name": "*",
|
|
4335
|
+
"declaration": {
|
|
4336
|
+
"name": "*",
|
|
4337
|
+
"package": "./chip/chip-group.js"
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
]
|
|
4341
|
+
},
|
|
4380
4342
|
{
|
|
4381
4343
|
"kind": "javascript-module",
|
|
4382
4344
|
"path": "clock.js",
|
|
@@ -10027,7 +9989,7 @@
|
|
|
10027
9989
|
},
|
|
10028
9990
|
{
|
|
10029
9991
|
"kind": "field",
|
|
10030
|
-
"name": "
|
|
9992
|
+
"name": "_escapableOverlayController",
|
|
10031
9993
|
"privacy": "private",
|
|
10032
9994
|
"default": "new SbbEscapableOverlayController(this)"
|
|
10033
9995
|
},
|
|
@@ -11605,15 +11567,6 @@
|
|
|
11605
11567
|
"privacy": "private",
|
|
11606
11568
|
"default": "new SbbLanguageController(this)"
|
|
11607
11569
|
},
|
|
11608
|
-
{
|
|
11609
|
-
"kind": "field",
|
|
11610
|
-
"name": "_initialized",
|
|
11611
|
-
"type": {
|
|
11612
|
-
"text": "boolean"
|
|
11613
|
-
},
|
|
11614
|
-
"privacy": "private",
|
|
11615
|
-
"default": "false"
|
|
11616
|
-
},
|
|
11617
11570
|
{
|
|
11618
11571
|
"kind": "field",
|
|
11619
11572
|
"name": "_sizeAttributeObserver",
|
|
@@ -14144,22 +14097,13 @@
|
|
|
14144
14097
|
{
|
|
14145
14098
|
"kind": "field",
|
|
14146
14099
|
"name": "input",
|
|
14147
|
-
"privacy": "public",
|
|
14148
|
-
"description": "Reference of the native input connected to the datepicker.",
|
|
14149
|
-
"type": {
|
|
14150
|
-
"text": "string | HTMLElement | null"
|
|
14151
|
-
},
|
|
14152
|
-
"attribute": "input",
|
|
14153
|
-
"default": "null"
|
|
14154
|
-
},
|
|
14155
|
-
{
|
|
14156
|
-
"kind": "field",
|
|
14157
|
-
"name": "_input",
|
|
14158
14100
|
"type": {
|
|
14159
14101
|
"text": "string | HTMLElement | null"
|
|
14160
14102
|
},
|
|
14161
|
-
"privacy": "
|
|
14162
|
-
"default": "null"
|
|
14103
|
+
"privacy": "public",
|
|
14104
|
+
"default": "null",
|
|
14105
|
+
"description": "Reference of the native input connected to the datepicker.",
|
|
14106
|
+
"attribute": "input"
|
|
14163
14107
|
},
|
|
14164
14108
|
{
|
|
14165
14109
|
"kind": "field",
|
|
@@ -14209,29 +14153,25 @@
|
|
|
14209
14153
|
},
|
|
14210
14154
|
{
|
|
14211
14155
|
"kind": "field",
|
|
14212
|
-
"name": "
|
|
14156
|
+
"name": "_inputAbortController",
|
|
14213
14157
|
"privacy": "private",
|
|
14214
14158
|
"default": "new AbortController()"
|
|
14215
14159
|
},
|
|
14216
14160
|
{
|
|
14217
14161
|
"kind": "field",
|
|
14218
|
-
"name": "
|
|
14162
|
+
"name": "_inputIdReferenceController",
|
|
14219
14163
|
"privacy": "private",
|
|
14220
|
-
"default": "new
|
|
14164
|
+
"default": "new SbbIdReferenceController(this, 'input')"
|
|
14221
14165
|
},
|
|
14222
14166
|
{
|
|
14223
|
-
"kind": "
|
|
14224
|
-
"name": "
|
|
14167
|
+
"kind": "field",
|
|
14168
|
+
"name": "_language",
|
|
14225
14169
|
"privacy": "private",
|
|
14226
|
-
"
|
|
14227
|
-
"type": {
|
|
14228
|
-
"text": "void"
|
|
14229
|
-
}
|
|
14230
|
-
}
|
|
14170
|
+
"default": "new SbbLanguageController(this)"
|
|
14231
14171
|
},
|
|
14232
14172
|
{
|
|
14233
14173
|
"kind": "method",
|
|
14234
|
-
"name": "
|
|
14174
|
+
"name": "_configureInputElement",
|
|
14235
14175
|
"privacy": "private",
|
|
14236
14176
|
"return": {
|
|
14237
14177
|
"type": {
|
|
@@ -14402,10 +14342,11 @@
|
|
|
14402
14342
|
"attributes": [
|
|
14403
14343
|
{
|
|
14404
14344
|
"name": "input",
|
|
14405
|
-
"description": "Reference of the native input connected to the datepicker.",
|
|
14406
14345
|
"type": {
|
|
14407
14346
|
"text": "string | HTMLElement | null"
|
|
14408
14347
|
},
|
|
14348
|
+
"default": "null",
|
|
14349
|
+
"description": "Reference of the native input connected to the datepicker.",
|
|
14409
14350
|
"fieldName": "input"
|
|
14410
14351
|
}
|
|
14411
14352
|
],
|
|
@@ -17687,7 +17628,7 @@
|
|
|
17687
17628
|
"privacy": "protected",
|
|
17688
17629
|
"return": {
|
|
17689
17630
|
"type": {
|
|
17690
|
-
"text": "
|
|
17631
|
+
"text": "SbbAutocompleteBaseElement | null"
|
|
17691
17632
|
}
|
|
17692
17633
|
},
|
|
17693
17634
|
"inheritedFrom": {
|
|
@@ -18931,7 +18872,7 @@
|
|
|
18931
18872
|
},
|
|
18932
18873
|
"privacy": "public",
|
|
18933
18874
|
"default": "null",
|
|
18934
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
18875
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
18935
18876
|
"attribute": "origin",
|
|
18936
18877
|
"inheritedFrom": {
|
|
18937
18878
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -18973,7 +18914,7 @@
|
|
|
18973
18914
|
"kind": "field",
|
|
18974
18915
|
"name": "originElement",
|
|
18975
18916
|
"type": {
|
|
18976
|
-
"text": "HTMLElement"
|
|
18917
|
+
"text": "HTMLElement | null"
|
|
18977
18918
|
},
|
|
18978
18919
|
"privacy": "public",
|
|
18979
18920
|
"description": "Returns the element where autocomplete overlay is attached to.",
|
|
@@ -18983,23 +18924,11 @@
|
|
|
18983
18924
|
"module": "autocomplete.js"
|
|
18984
18925
|
}
|
|
18985
18926
|
},
|
|
18986
|
-
{
|
|
18987
|
-
"kind": "field",
|
|
18988
|
-
"name": "_originElement",
|
|
18989
|
-
"type": {
|
|
18990
|
-
"text": "HTMLElement | undefined"
|
|
18991
|
-
},
|
|
18992
|
-
"privacy": "private",
|
|
18993
|
-
"inheritedFrom": {
|
|
18994
|
-
"name": "SbbAutocompleteBaseElement",
|
|
18995
|
-
"module": "autocomplete.js"
|
|
18996
|
-
}
|
|
18997
|
-
},
|
|
18998
18927
|
{
|
|
18999
18928
|
"kind": "field",
|
|
19000
18929
|
"name": "triggerElement",
|
|
19001
18930
|
"type": {
|
|
19002
|
-
"text": "HTMLInputElement | undefined"
|
|
18931
|
+
"text": "HTMLInputElement | null | undefined"
|
|
19003
18932
|
},
|
|
19004
18933
|
"privacy": "public",
|
|
19005
18934
|
"description": "Returns the trigger element.",
|
|
@@ -19013,7 +18942,7 @@
|
|
|
19013
18942
|
"kind": "field",
|
|
19014
18943
|
"name": "_triggerElement",
|
|
19015
18944
|
"type": {
|
|
19016
|
-
"text": "HTMLInputElement | undefined"
|
|
18945
|
+
"text": "HTMLInputElement | null | undefined"
|
|
19017
18946
|
},
|
|
19018
18947
|
"privacy": "private",
|
|
19019
18948
|
"inheritedFrom": {
|
|
@@ -19032,6 +18961,26 @@
|
|
|
19032
18961
|
"module": "autocomplete.js"
|
|
19033
18962
|
}
|
|
19034
18963
|
},
|
|
18964
|
+
{
|
|
18965
|
+
"kind": "field",
|
|
18966
|
+
"name": "_originResizeObserver",
|
|
18967
|
+
"privacy": "private",
|
|
18968
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => { if (this.state === 'opened') { this._setOverlayPosition(); } }, })",
|
|
18969
|
+
"inheritedFrom": {
|
|
18970
|
+
"name": "SbbAutocompleteBaseElement",
|
|
18971
|
+
"module": "autocomplete.js"
|
|
18972
|
+
}
|
|
18973
|
+
},
|
|
18974
|
+
{
|
|
18975
|
+
"kind": "field",
|
|
18976
|
+
"name": "_triggerAttributeObserver",
|
|
18977
|
+
"privacy": "private",
|
|
18978
|
+
"description": "Listens to the changes on the `disabled` or `readonly` attribute of the trigger.",
|
|
18979
|
+
"inheritedFrom": {
|
|
18980
|
+
"name": "SbbAutocompleteBaseElement",
|
|
18981
|
+
"module": "autocomplete.js"
|
|
18982
|
+
}
|
|
18983
|
+
},
|
|
19035
18984
|
{
|
|
19036
18985
|
"kind": "field",
|
|
19037
18986
|
"name": "_overlay",
|
|
@@ -19058,7 +19007,7 @@
|
|
|
19058
19007
|
},
|
|
19059
19008
|
{
|
|
19060
19009
|
"kind": "field",
|
|
19061
|
-
"name": "
|
|
19010
|
+
"name": "_triggerAbortController",
|
|
19062
19011
|
"type": {
|
|
19063
19012
|
"text": "AbortController"
|
|
19064
19013
|
},
|
|
@@ -19068,6 +19017,26 @@
|
|
|
19068
19017
|
"module": "autocomplete.js"
|
|
19069
19018
|
}
|
|
19070
19019
|
},
|
|
19020
|
+
{
|
|
19021
|
+
"kind": "field",
|
|
19022
|
+
"name": "_triggerIdReferenceController",
|
|
19023
|
+
"privacy": "private",
|
|
19024
|
+
"default": "new SbbIdReferenceController(this, 'trigger')",
|
|
19025
|
+
"inheritedFrom": {
|
|
19026
|
+
"name": "SbbAutocompleteBaseElement",
|
|
19027
|
+
"module": "autocomplete.js"
|
|
19028
|
+
}
|
|
19029
|
+
},
|
|
19030
|
+
{
|
|
19031
|
+
"kind": "field",
|
|
19032
|
+
"name": "_originIdReferenceController",
|
|
19033
|
+
"privacy": "private",
|
|
19034
|
+
"default": "new SbbIdReferenceController(this, 'origin')",
|
|
19035
|
+
"inheritedFrom": {
|
|
19036
|
+
"name": "SbbAutocompleteBaseElement",
|
|
19037
|
+
"module": "autocomplete.js"
|
|
19038
|
+
}
|
|
19039
|
+
},
|
|
19071
19040
|
{
|
|
19072
19041
|
"kind": "field",
|
|
19073
19042
|
"name": "_openPanelEventsController",
|
|
@@ -19095,7 +19064,7 @@
|
|
|
19095
19064
|
},
|
|
19096
19065
|
{
|
|
19097
19066
|
"kind": "field",
|
|
19098
|
-
"name": "
|
|
19067
|
+
"name": "_escapableOverlayController",
|
|
19099
19068
|
"privacy": "private",
|
|
19100
19069
|
"default": "new SbbEscapableOverlayController(this)",
|
|
19101
19070
|
"inheritedFrom": {
|
|
@@ -19230,29 +19199,13 @@
|
|
|
19230
19199
|
},
|
|
19231
19200
|
{
|
|
19232
19201
|
"kind": "method",
|
|
19233
|
-
"name": "
|
|
19234
|
-
"privacy": "private",
|
|
19235
|
-
"return": {
|
|
19236
|
-
"type": {
|
|
19237
|
-
"text": ""
|
|
19238
|
-
}
|
|
19239
|
-
},
|
|
19240
|
-
"description": "Retrieve the element where the autocomplete will be attached.",
|
|
19241
|
-
"inheritedFrom": {
|
|
19242
|
-
"name": "SbbAutocompleteBaseElement",
|
|
19243
|
-
"module": "autocomplete.js"
|
|
19244
|
-
}
|
|
19245
|
-
},
|
|
19246
|
-
{
|
|
19247
|
-
"kind": "method",
|
|
19248
|
-
"name": "_getTriggerElement",
|
|
19202
|
+
"name": "_configureTrigger",
|
|
19249
19203
|
"privacy": "private",
|
|
19250
19204
|
"return": {
|
|
19251
19205
|
"type": {
|
|
19252
|
-
"text": ""
|
|
19206
|
+
"text": "void"
|
|
19253
19207
|
}
|
|
19254
19208
|
},
|
|
19255
|
-
"description": "Retrieve the element that will trigger the autocomplete opening.",
|
|
19256
19209
|
"inheritedFrom": {
|
|
19257
19210
|
"name": "SbbAutocompleteBaseElement",
|
|
19258
19211
|
"module": "autocomplete.js"
|
|
@@ -19260,7 +19213,7 @@
|
|
|
19260
19213
|
},
|
|
19261
19214
|
{
|
|
19262
19215
|
"kind": "method",
|
|
19263
|
-
"name": "
|
|
19216
|
+
"name": "_setOverlayPosition",
|
|
19264
19217
|
"privacy": "private",
|
|
19265
19218
|
"return": {
|
|
19266
19219
|
"type": {
|
|
@@ -19269,10 +19222,8 @@
|
|
|
19269
19222
|
},
|
|
19270
19223
|
"parameters": [
|
|
19271
19224
|
{
|
|
19272
|
-
"name": "
|
|
19273
|
-
"
|
|
19274
|
-
"text": "HTMLInputElement"
|
|
19275
|
-
}
|
|
19225
|
+
"name": "originElement",
|
|
19226
|
+
"default": "this.originElement"
|
|
19276
19227
|
}
|
|
19277
19228
|
],
|
|
19278
19229
|
"inheritedFrom": {
|
|
@@ -19280,34 +19231,6 @@
|
|
|
19280
19231
|
"module": "autocomplete.js"
|
|
19281
19232
|
}
|
|
19282
19233
|
},
|
|
19283
|
-
{
|
|
19284
|
-
"kind": "method",
|
|
19285
|
-
"name": "_setupTriggerEvents",
|
|
19286
|
-
"privacy": "private",
|
|
19287
|
-
"return": {
|
|
19288
|
-
"type": {
|
|
19289
|
-
"text": "void"
|
|
19290
|
-
}
|
|
19291
|
-
},
|
|
19292
|
-
"inheritedFrom": {
|
|
19293
|
-
"name": "SbbAutocompleteBaseElement",
|
|
19294
|
-
"module": "autocomplete.js"
|
|
19295
|
-
}
|
|
19296
|
-
},
|
|
19297
|
-
{
|
|
19298
|
-
"kind": "method",
|
|
19299
|
-
"name": "_setOverlayPosition",
|
|
19300
|
-
"privacy": "private",
|
|
19301
|
-
"return": {
|
|
19302
|
-
"type": {
|
|
19303
|
-
"text": "void"
|
|
19304
|
-
}
|
|
19305
|
-
},
|
|
19306
|
-
"inheritedFrom": {
|
|
19307
|
-
"name": "SbbAutocompleteBaseElement",
|
|
19308
|
-
"module": "autocomplete.js"
|
|
19309
|
-
}
|
|
19310
|
-
},
|
|
19311
19234
|
{
|
|
19312
19235
|
"kind": "method",
|
|
19313
19236
|
"name": "_onAnimationEnd",
|
|
@@ -19437,29 +19360,6 @@
|
|
|
19437
19360
|
"module": "autocomplete.js"
|
|
19438
19361
|
}
|
|
19439
19362
|
},
|
|
19440
|
-
{
|
|
19441
|
-
"kind": "method",
|
|
19442
|
-
"name": "_removeTriggerAttributes",
|
|
19443
|
-
"privacy": "private",
|
|
19444
|
-
"return": {
|
|
19445
|
-
"type": {
|
|
19446
|
-
"text": "void"
|
|
19447
|
-
}
|
|
19448
|
-
},
|
|
19449
|
-
"parameters": [
|
|
19450
|
-
{
|
|
19451
|
-
"name": "element",
|
|
19452
|
-
"optional": true,
|
|
19453
|
-
"type": {
|
|
19454
|
-
"text": "HTMLInputElement"
|
|
19455
|
-
}
|
|
19456
|
-
}
|
|
19457
|
-
],
|
|
19458
|
-
"inheritedFrom": {
|
|
19459
|
-
"name": "SbbAutocompleteBaseElement",
|
|
19460
|
-
"module": "autocomplete.js"
|
|
19461
|
-
}
|
|
19462
|
-
},
|
|
19463
19363
|
{
|
|
19464
19364
|
"kind": "field",
|
|
19465
19365
|
"name": "events",
|
|
@@ -19631,7 +19531,7 @@
|
|
|
19631
19531
|
"text": "string | HTMLElement | null"
|
|
19632
19532
|
},
|
|
19633
19533
|
"default": "null",
|
|
19634
|
-
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set,
|
|
19534
|
+
"description": "The element where the autocomplete will attach; accepts both an element's id or an HTMLElement.\nIf not set, as fallback there are two elements which can act as origin with following priority order:\n1. `sbb-form-field` if it is an ancestor.\n2. trigger element if set.",
|
|
19635
19535
|
"fieldName": "origin",
|
|
19636
19536
|
"inheritedFrom": {
|
|
19637
19537
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -30969,104 +30869,970 @@
|
|
|
30969
30869
|
"name": "SbbFormAssociatedMixin",
|
|
30970
30870
|
"module": "core/mixins.js"
|
|
30971
30871
|
}
|
|
30972
|
-
},
|
|
30973
|
-
{
|
|
30974
|
-
"kind": "field",
|
|
30975
|
-
"name": "iconName",
|
|
30976
|
-
"type": {
|
|
30977
|
-
"text": "string"
|
|
30978
|
-
},
|
|
30979
|
-
"privacy": "public",
|
|
30980
|
-
"default": "''",
|
|
30981
|
-
"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.",
|
|
30982
|
-
"attribute": "icon-name",
|
|
30983
|
-
"reflects": true,
|
|
30984
|
-
"inheritedFrom": {
|
|
30985
|
-
"name": "SbbIconNameMixin",
|
|
30986
|
-
"module": "icon.js"
|
|
30987
|
-
}
|
|
30988
|
-
},
|
|
30989
|
-
{
|
|
30990
|
-
"kind": "method",
|
|
30991
|
-
"name": "renderIconSlot",
|
|
30992
|
-
"privacy": "protected",
|
|
30993
|
-
"return": {
|
|
30994
|
-
"type": {
|
|
30995
|
-
"text": "TemplateResult"
|
|
30996
|
-
}
|
|
30997
|
-
},
|
|
30998
|
-
"parameters": [
|
|
30999
|
-
{
|
|
31000
|
-
"name": "classname",
|
|
31001
|
-
"optional": true,
|
|
31002
|
-
"type": {
|
|
31003
|
-
"text": "string"
|
|
31004
|
-
}
|
|
31005
|
-
}
|
|
31006
|
-
],
|
|
31007
|
-
"inheritedFrom": {
|
|
31008
|
-
"name": "SbbIconNameMixin",
|
|
31009
|
-
"module": "icon.js"
|
|
31010
|
-
}
|
|
30872
|
+
},
|
|
30873
|
+
{
|
|
30874
|
+
"kind": "field",
|
|
30875
|
+
"name": "iconName",
|
|
30876
|
+
"type": {
|
|
30877
|
+
"text": "string"
|
|
30878
|
+
},
|
|
30879
|
+
"privacy": "public",
|
|
30880
|
+
"default": "''",
|
|
30881
|
+
"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.",
|
|
30882
|
+
"attribute": "icon-name",
|
|
30883
|
+
"reflects": true,
|
|
30884
|
+
"inheritedFrom": {
|
|
30885
|
+
"name": "SbbIconNameMixin",
|
|
30886
|
+
"module": "icon.js"
|
|
30887
|
+
}
|
|
30888
|
+
},
|
|
30889
|
+
{
|
|
30890
|
+
"kind": "method",
|
|
30891
|
+
"name": "renderIconSlot",
|
|
30892
|
+
"privacy": "protected",
|
|
30893
|
+
"return": {
|
|
30894
|
+
"type": {
|
|
30895
|
+
"text": "TemplateResult"
|
|
30896
|
+
}
|
|
30897
|
+
},
|
|
30898
|
+
"parameters": [
|
|
30899
|
+
{
|
|
30900
|
+
"name": "classname",
|
|
30901
|
+
"optional": true,
|
|
30902
|
+
"type": {
|
|
30903
|
+
"text": "string"
|
|
30904
|
+
}
|
|
30905
|
+
}
|
|
30906
|
+
],
|
|
30907
|
+
"inheritedFrom": {
|
|
30908
|
+
"name": "SbbIconNameMixin",
|
|
30909
|
+
"module": "icon.js"
|
|
30910
|
+
}
|
|
30911
|
+
}
|
|
30912
|
+
],
|
|
30913
|
+
"events": [
|
|
30914
|
+
{
|
|
30915
|
+
"type": {
|
|
30916
|
+
"text": "Event"
|
|
30917
|
+
},
|
|
30918
|
+
"description": "Event fired on change.",
|
|
30919
|
+
"name": "change"
|
|
30920
|
+
},
|
|
30921
|
+
{
|
|
30922
|
+
"type": {
|
|
30923
|
+
"text": "InputEvent"
|
|
30924
|
+
},
|
|
30925
|
+
"description": "Event fired on input.",
|
|
30926
|
+
"name": "input"
|
|
30927
|
+
}
|
|
30928
|
+
],
|
|
30929
|
+
"attributes": [
|
|
30930
|
+
{
|
|
30931
|
+
"name": "size",
|
|
30932
|
+
"type": {
|
|
30933
|
+
"text": "SbbCheckboxSize"
|
|
30934
|
+
},
|
|
30935
|
+
"description": "Size variant, either m, s or xs.",
|
|
30936
|
+
"default": "'m' / 'xs' (lean)",
|
|
30937
|
+
"fieldName": "size"
|
|
30938
|
+
},
|
|
30939
|
+
{
|
|
30940
|
+
"name": "icon-placement",
|
|
30941
|
+
"type": {
|
|
30942
|
+
"text": "SbbIconPlacement"
|
|
30943
|
+
},
|
|
30944
|
+
"default": "'end'",
|
|
30945
|
+
"description": "The label position relative to the labelIcon. Defaults to end",
|
|
30946
|
+
"fieldName": "iconPlacement"
|
|
30947
|
+
},
|
|
30948
|
+
{
|
|
30949
|
+
"name": "indeterminate",
|
|
30950
|
+
"type": {
|
|
30951
|
+
"text": "boolean"
|
|
30952
|
+
},
|
|
30953
|
+
"default": "false",
|
|
30954
|
+
"description": "Whether the checkbox is indeterminate.",
|
|
30955
|
+
"fieldName": "indeterminate",
|
|
30956
|
+
"inheritedFrom": {
|
|
30957
|
+
"name": "SbbCheckboxCommonElementMixin",
|
|
30958
|
+
"module": "checkbox/common/checkbox-common.js"
|
|
30959
|
+
}
|
|
30960
|
+
},
|
|
30961
|
+
{
|
|
30962
|
+
"name": "checked",
|
|
30963
|
+
"description": "Whether the checkbox is checked.",
|
|
30964
|
+
"type": {
|
|
30965
|
+
"text": "boolean"
|
|
30966
|
+
},
|
|
30967
|
+
"fieldName": "checked",
|
|
30968
|
+
"inheritedFrom": {
|
|
30969
|
+
"name": "SbbFormAssociatedCheckboxMixin",
|
|
30970
|
+
"module": "core/mixins.js"
|
|
30971
|
+
}
|
|
30972
|
+
},
|
|
30973
|
+
{
|
|
30974
|
+
"name": "disabled",
|
|
30975
|
+
"type": {
|
|
30976
|
+
"text": "boolean"
|
|
30977
|
+
},
|
|
30978
|
+
"default": "false",
|
|
30979
|
+
"description": "Whether the component is disabled.",
|
|
30980
|
+
"fieldName": "disabled",
|
|
30981
|
+
"inheritedFrom": {
|
|
30982
|
+
"name": "SbbDisabledMixin",
|
|
30983
|
+
"module": "core/mixins.js"
|
|
30984
|
+
}
|
|
30985
|
+
},
|
|
30986
|
+
{
|
|
30987
|
+
"name": "required",
|
|
30988
|
+
"description": "Whether the component is required.",
|
|
30989
|
+
"type": {
|
|
30990
|
+
"text": "boolean"
|
|
30991
|
+
},
|
|
30992
|
+
"fieldName": "required",
|
|
30993
|
+
"inheritedFrom": {
|
|
30994
|
+
"name": "SbbRequiredMixin",
|
|
30995
|
+
"module": "core/mixins.js"
|
|
30996
|
+
}
|
|
30997
|
+
},
|
|
30998
|
+
{
|
|
30999
|
+
"name": "name",
|
|
31000
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
31001
|
+
"type": {
|
|
31002
|
+
"text": "string"
|
|
31003
|
+
},
|
|
31004
|
+
"fieldName": "name",
|
|
31005
|
+
"inheritedFrom": {
|
|
31006
|
+
"name": "SbbFormAssociatedMixin",
|
|
31007
|
+
"module": "core/mixins.js"
|
|
31008
|
+
}
|
|
31009
|
+
},
|
|
31010
|
+
{
|
|
31011
|
+
"name": "value",
|
|
31012
|
+
"description": "Value of the form element.",
|
|
31013
|
+
"type": {
|
|
31014
|
+
"text": "string | null"
|
|
31015
|
+
},
|
|
31016
|
+
"fieldName": "value",
|
|
31017
|
+
"inheritedFrom": {
|
|
31018
|
+
"name": "SbbFormAssociatedMixin",
|
|
31019
|
+
"module": "core/mixins.js"
|
|
31020
|
+
}
|
|
31021
|
+
},
|
|
31022
|
+
{
|
|
31023
|
+
"name": "icon-name",
|
|
31024
|
+
"type": {
|
|
31025
|
+
"text": "string"
|
|
31026
|
+
},
|
|
31027
|
+
"default": "''",
|
|
31028
|
+
"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.",
|
|
31029
|
+
"fieldName": "iconName",
|
|
31030
|
+
"inheritedFrom": {
|
|
31031
|
+
"name": "SbbIconNameMixin",
|
|
31032
|
+
"module": "icon.js"
|
|
31033
|
+
}
|
|
31034
|
+
}
|
|
31035
|
+
],
|
|
31036
|
+
"mixins": [
|
|
31037
|
+
{
|
|
31038
|
+
"name": "SbbCheckboxCommonElementMixin",
|
|
31039
|
+
"module": "checkbox.js"
|
|
31040
|
+
},
|
|
31041
|
+
{
|
|
31042
|
+
"name": "SbbIconNameMixin",
|
|
31043
|
+
"module": "icon.js"
|
|
31044
|
+
}
|
|
31045
|
+
],
|
|
31046
|
+
"superclass": {
|
|
31047
|
+
"name": "LitElement",
|
|
31048
|
+
"package": "lit"
|
|
31049
|
+
},
|
|
31050
|
+
"tagName": "sbb-checkbox",
|
|
31051
|
+
"customElement": true
|
|
31052
|
+
}
|
|
31053
|
+
],
|
|
31054
|
+
"exports": [
|
|
31055
|
+
{
|
|
31056
|
+
"kind": "js",
|
|
31057
|
+
"name": "SbbCheckboxElement",
|
|
31058
|
+
"declaration": {
|
|
31059
|
+
"name": "SbbCheckboxElement",
|
|
31060
|
+
"module": "checkbox/checkbox.js"
|
|
31061
|
+
}
|
|
31062
|
+
},
|
|
31063
|
+
{
|
|
31064
|
+
"kind": "custom-element-definition",
|
|
31065
|
+
"name": "sbb-checkbox",
|
|
31066
|
+
"declaration": {
|
|
31067
|
+
"name": "SbbCheckboxElement",
|
|
31068
|
+
"module": "checkbox/checkbox.js"
|
|
31069
|
+
}
|
|
31070
|
+
}
|
|
31071
|
+
]
|
|
31072
|
+
},
|
|
31073
|
+
{
|
|
31074
|
+
"kind": "javascript-module",
|
|
31075
|
+
"path": "chip/chip-group.js",
|
|
31076
|
+
"declarations": [
|
|
31077
|
+
{
|
|
31078
|
+
"kind": "class",
|
|
31079
|
+
"description": "The `sbb-chip-group` component is used as a container for one or multiple `sbb-chip`.",
|
|
31080
|
+
"name": "SbbChipGroupElement",
|
|
31081
|
+
"slots": [
|
|
31082
|
+
{
|
|
31083
|
+
"description": "Use the unnamed slot to add `sbb-chip` elements.",
|
|
31084
|
+
"name": ""
|
|
31085
|
+
}
|
|
31086
|
+
],
|
|
31087
|
+
"members": [
|
|
31088
|
+
{
|
|
31089
|
+
"kind": "field",
|
|
31090
|
+
"name": "events",
|
|
31091
|
+
"privacy": "public",
|
|
31092
|
+
"static": true,
|
|
31093
|
+
"readonly": true,
|
|
31094
|
+
"default": "{ input: 'input', change: 'change', chipInputTokenEnd: 'chipInputTokenEnd', }",
|
|
31095
|
+
"type": {
|
|
31096
|
+
"text": "{\n input: 'input',\n change: 'change',\n chipInputTokenEnd: 'chipInputTokenEnd',\n }"
|
|
31097
|
+
}
|
|
31098
|
+
},
|
|
31099
|
+
{
|
|
31100
|
+
"kind": "field",
|
|
31101
|
+
"name": "value",
|
|
31102
|
+
"privacy": "public",
|
|
31103
|
+
"description": "Value of the form element.",
|
|
31104
|
+
"type": {
|
|
31105
|
+
"text": "string[] | null"
|
|
31106
|
+
},
|
|
31107
|
+
"attribute": "value",
|
|
31108
|
+
"inheritedFrom": {
|
|
31109
|
+
"name": "SbbFormAssociatedMixin",
|
|
31110
|
+
"module": "core/mixins.js"
|
|
31111
|
+
},
|
|
31112
|
+
"default": "null"
|
|
31113
|
+
},
|
|
31114
|
+
{
|
|
31115
|
+
"kind": "field",
|
|
31116
|
+
"name": "separatorKeys",
|
|
31117
|
+
"type": {
|
|
31118
|
+
"text": "string[]"
|
|
31119
|
+
},
|
|
31120
|
+
"privacy": "public",
|
|
31121
|
+
"default": "['Enter']",
|
|
31122
|
+
"description": "The array of keys that will trigger a `chipInputTokenEnd` event. Default `['Enter']`",
|
|
31123
|
+
"attribute": "separator-keys"
|
|
31124
|
+
},
|
|
31125
|
+
{
|
|
31126
|
+
"kind": "field",
|
|
31127
|
+
"name": "_change",
|
|
31128
|
+
"type": {
|
|
31129
|
+
"text": "EventEmitter"
|
|
31130
|
+
},
|
|
31131
|
+
"privacy": "private",
|
|
31132
|
+
"default": "new EventEmitter(this, SbbChipGroupElement.events.change)",
|
|
31133
|
+
"description": "Notifies that the component's value has changed."
|
|
31134
|
+
},
|
|
31135
|
+
{
|
|
31136
|
+
"kind": "field",
|
|
31137
|
+
"name": "_input",
|
|
31138
|
+
"type": {
|
|
31139
|
+
"text": "EventEmitter"
|
|
31140
|
+
},
|
|
31141
|
+
"privacy": "private",
|
|
31142
|
+
"default": "new EventEmitter(this, SbbChipGroupElement.events.input)",
|
|
31143
|
+
"description": "Notifies that the component's value has changed."
|
|
31144
|
+
},
|
|
31145
|
+
{
|
|
31146
|
+
"kind": "field",
|
|
31147
|
+
"name": "_chipInputTokenEnd",
|
|
31148
|
+
"privacy": "private",
|
|
31149
|
+
"default": "new EventEmitter<SbbChipInputTokenEndEventDetails>( this, SbbChipGroupElement.events.chipInputTokenEnd, )",
|
|
31150
|
+
"description": "Notifies that a chip is about to be created. Can be prevented."
|
|
31151
|
+
},
|
|
31152
|
+
{
|
|
31153
|
+
"kind": "field",
|
|
31154
|
+
"name": "_inputAttributeObserver",
|
|
31155
|
+
"privacy": "private",
|
|
31156
|
+
"description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`."
|
|
31157
|
+
},
|
|
31158
|
+
{
|
|
31159
|
+
"kind": "field",
|
|
31160
|
+
"name": "_formFieldAttributeObserver",
|
|
31161
|
+
"privacy": "private",
|
|
31162
|
+
"description": "Listens to the 'size' changes on the `sbb-form-field`."
|
|
31163
|
+
},
|
|
31164
|
+
{
|
|
31165
|
+
"kind": "field",
|
|
31166
|
+
"name": "_inputElement",
|
|
31167
|
+
"type": {
|
|
31168
|
+
"text": "HTMLInputElement | undefined"
|
|
31169
|
+
},
|
|
31170
|
+
"privacy": "private"
|
|
31171
|
+
},
|
|
31172
|
+
{
|
|
31173
|
+
"kind": "field",
|
|
31174
|
+
"name": "_inputAbortController",
|
|
31175
|
+
"type": {
|
|
31176
|
+
"text": "AbortController | undefined"
|
|
31177
|
+
},
|
|
31178
|
+
"privacy": "private"
|
|
31179
|
+
},
|
|
31180
|
+
{
|
|
31181
|
+
"kind": "field",
|
|
31182
|
+
"name": "_language",
|
|
31183
|
+
"privacy": "private",
|
|
31184
|
+
"default": "new SbbLanguageController(this)"
|
|
31185
|
+
},
|
|
31186
|
+
{
|
|
31187
|
+
"kind": "method",
|
|
31188
|
+
"name": "updateFormValue",
|
|
31189
|
+
"privacy": "protected",
|
|
31190
|
+
"return": {
|
|
31191
|
+
"type": {
|
|
31192
|
+
"text": "void"
|
|
31193
|
+
}
|
|
31194
|
+
},
|
|
31195
|
+
"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",
|
|
31196
|
+
"inheritedFrom": {
|
|
31197
|
+
"name": "SbbFormAssociatedMixin",
|
|
31198
|
+
"module": "core/mixins.js"
|
|
31199
|
+
}
|
|
31200
|
+
},
|
|
31201
|
+
{
|
|
31202
|
+
"kind": "method",
|
|
31203
|
+
"name": "shouldValidate",
|
|
31204
|
+
"privacy": "protected",
|
|
31205
|
+
"return": {
|
|
31206
|
+
"type": {
|
|
31207
|
+
"text": "boolean"
|
|
31208
|
+
}
|
|
31209
|
+
},
|
|
31210
|
+
"parameters": [
|
|
31211
|
+
{
|
|
31212
|
+
"name": "name",
|
|
31213
|
+
"type": {
|
|
31214
|
+
"text": "PropertyKey | undefined"
|
|
31215
|
+
}
|
|
31216
|
+
}
|
|
31217
|
+
],
|
|
31218
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
31219
|
+
"inheritedFrom": {
|
|
31220
|
+
"name": "SbbFormAssociatedMixin",
|
|
31221
|
+
"module": "core/mixins.js"
|
|
31222
|
+
}
|
|
31223
|
+
},
|
|
31224
|
+
{
|
|
31225
|
+
"kind": "method",
|
|
31226
|
+
"name": "validate",
|
|
31227
|
+
"privacy": "protected",
|
|
31228
|
+
"return": {
|
|
31229
|
+
"type": {
|
|
31230
|
+
"text": "void"
|
|
31231
|
+
}
|
|
31232
|
+
},
|
|
31233
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
31234
|
+
"inheritedFrom": {
|
|
31235
|
+
"name": "SbbFormAssociatedMixin",
|
|
31236
|
+
"module": "core/mixins.js"
|
|
31237
|
+
}
|
|
31238
|
+
},
|
|
31239
|
+
{
|
|
31240
|
+
"kind": "method",
|
|
31241
|
+
"name": "_chipElements",
|
|
31242
|
+
"privacy": "private",
|
|
31243
|
+
"return": {
|
|
31244
|
+
"type": {
|
|
31245
|
+
"text": "SbbChipElement[]"
|
|
31246
|
+
}
|
|
31247
|
+
},
|
|
31248
|
+
"description": "Return the list of chip elements *"
|
|
31249
|
+
},
|
|
31250
|
+
{
|
|
31251
|
+
"kind": "method",
|
|
31252
|
+
"name": "_enabledChipElements",
|
|
31253
|
+
"privacy": "private",
|
|
31254
|
+
"return": {
|
|
31255
|
+
"type": {
|
|
31256
|
+
"text": "SbbChipElement[]"
|
|
31257
|
+
}
|
|
31258
|
+
},
|
|
31259
|
+
"description": "Return the list of enabled chip elements *"
|
|
31260
|
+
},
|
|
31261
|
+
{
|
|
31262
|
+
"kind": "method",
|
|
31263
|
+
"name": "_setupComponent",
|
|
31264
|
+
"privacy": "private",
|
|
31265
|
+
"return": {
|
|
31266
|
+
"type": {
|
|
31267
|
+
"text": "void"
|
|
31268
|
+
}
|
|
31269
|
+
}
|
|
31270
|
+
},
|
|
31271
|
+
{
|
|
31272
|
+
"kind": "method",
|
|
31273
|
+
"name": "_onChipKeyDown",
|
|
31274
|
+
"privacy": "private",
|
|
31275
|
+
"return": {
|
|
31276
|
+
"type": {
|
|
31277
|
+
"text": "void"
|
|
31278
|
+
}
|
|
31279
|
+
},
|
|
31280
|
+
"parameters": [
|
|
31281
|
+
{
|
|
31282
|
+
"name": "event",
|
|
31283
|
+
"type": {
|
|
31284
|
+
"text": "KeyboardEvent"
|
|
31285
|
+
}
|
|
31286
|
+
}
|
|
31287
|
+
],
|
|
31288
|
+
"description": "Listen for keyboard events on the chip elements"
|
|
31289
|
+
},
|
|
31290
|
+
{
|
|
31291
|
+
"kind": "method",
|
|
31292
|
+
"name": "_onInputKeyDown",
|
|
31293
|
+
"privacy": "private",
|
|
31294
|
+
"return": {
|
|
31295
|
+
"type": {
|
|
31296
|
+
"text": "void"
|
|
31297
|
+
}
|
|
31298
|
+
},
|
|
31299
|
+
"parameters": [
|
|
31300
|
+
{
|
|
31301
|
+
"name": "event",
|
|
31302
|
+
"type": {
|
|
31303
|
+
"text": "KeyboardEvent"
|
|
31304
|
+
}
|
|
31305
|
+
}
|
|
31306
|
+
],
|
|
31307
|
+
"description": "Listen for keyboard events on the input"
|
|
31308
|
+
},
|
|
31309
|
+
{
|
|
31310
|
+
"kind": "method",
|
|
31311
|
+
"name": "_createChipFromInput",
|
|
31312
|
+
"privacy": "private",
|
|
31313
|
+
"return": {
|
|
31314
|
+
"type": {
|
|
31315
|
+
"text": "void"
|
|
31316
|
+
}
|
|
31317
|
+
},
|
|
31318
|
+
"parameters": [
|
|
31319
|
+
{
|
|
31320
|
+
"name": "origin",
|
|
31321
|
+
"default": "'input'",
|
|
31322
|
+
"type": {
|
|
31323
|
+
"text": "'input' | 'autocomplete'"
|
|
31324
|
+
}
|
|
31325
|
+
}
|
|
31326
|
+
],
|
|
31327
|
+
"description": "If the input is not empty, create a chip with its value"
|
|
31328
|
+
},
|
|
31329
|
+
{
|
|
31330
|
+
"kind": "method",
|
|
31331
|
+
"name": "_deleteChip",
|
|
31332
|
+
"privacy": "private",
|
|
31333
|
+
"return": {
|
|
31334
|
+
"type": {
|
|
31335
|
+
"text": "void"
|
|
31336
|
+
}
|
|
31337
|
+
},
|
|
31338
|
+
"parameters": [
|
|
31339
|
+
{
|
|
31340
|
+
"name": "chip",
|
|
31341
|
+
"type": {
|
|
31342
|
+
"text": "SbbChipElement"
|
|
31343
|
+
}
|
|
31344
|
+
}
|
|
31345
|
+
]
|
|
31346
|
+
},
|
|
31347
|
+
{
|
|
31348
|
+
"kind": "method",
|
|
31349
|
+
"name": "_focusChip",
|
|
31350
|
+
"privacy": "private",
|
|
31351
|
+
"return": {
|
|
31352
|
+
"type": {
|
|
31353
|
+
"text": "void"
|
|
31354
|
+
}
|
|
31355
|
+
},
|
|
31356
|
+
"parameters": [
|
|
31357
|
+
{
|
|
31358
|
+
"name": "index",
|
|
31359
|
+
"optional": true,
|
|
31360
|
+
"type": {
|
|
31361
|
+
"text": "number"
|
|
31362
|
+
},
|
|
31363
|
+
"description": "The index of the enabled chip. If null, focus the last one."
|
|
31364
|
+
}
|
|
31365
|
+
],
|
|
31366
|
+
"description": "Focus an enabled chip. If none are present, focus the input"
|
|
31367
|
+
},
|
|
31368
|
+
{
|
|
31369
|
+
"kind": "method",
|
|
31370
|
+
"name": "_emitInputEvents",
|
|
31371
|
+
"privacy": "private",
|
|
31372
|
+
"return": {
|
|
31373
|
+
"type": {
|
|
31374
|
+
"text": "void"
|
|
31375
|
+
}
|
|
31376
|
+
}
|
|
31377
|
+
},
|
|
31378
|
+
{
|
|
31379
|
+
"kind": "method",
|
|
31380
|
+
"name": "_createChipElement",
|
|
31381
|
+
"privacy": "private",
|
|
31382
|
+
"return": {
|
|
31383
|
+
"type": {
|
|
31384
|
+
"text": "void"
|
|
31385
|
+
}
|
|
31386
|
+
},
|
|
31387
|
+
"parameters": [
|
|
31388
|
+
{
|
|
31389
|
+
"name": "value",
|
|
31390
|
+
"type": {
|
|
31391
|
+
"text": "string"
|
|
31392
|
+
}
|
|
31393
|
+
},
|
|
31394
|
+
{
|
|
31395
|
+
"name": "label",
|
|
31396
|
+
"optional": true,
|
|
31397
|
+
"type": {
|
|
31398
|
+
"text": "string"
|
|
31399
|
+
}
|
|
31400
|
+
}
|
|
31401
|
+
]
|
|
31402
|
+
},
|
|
31403
|
+
{
|
|
31404
|
+
"kind": "method",
|
|
31405
|
+
"name": "_reactToInputChanges",
|
|
31406
|
+
"privacy": "private",
|
|
31407
|
+
"return": {
|
|
31408
|
+
"type": {
|
|
31409
|
+
"text": "void"
|
|
31410
|
+
}
|
|
31411
|
+
}
|
|
31412
|
+
},
|
|
31413
|
+
{
|
|
31414
|
+
"kind": "method",
|
|
31415
|
+
"name": "_proxyStateToChips",
|
|
31416
|
+
"privacy": "private",
|
|
31417
|
+
"return": {
|
|
31418
|
+
"type": {
|
|
31419
|
+
"text": "void"
|
|
31420
|
+
}
|
|
31421
|
+
}
|
|
31422
|
+
},
|
|
31423
|
+
{
|
|
31424
|
+
"kind": "method",
|
|
31425
|
+
"name": "_inheritSize",
|
|
31426
|
+
"privacy": "private",
|
|
31427
|
+
"return": {
|
|
31428
|
+
"type": {
|
|
31429
|
+
"text": "void"
|
|
31430
|
+
}
|
|
31431
|
+
}
|
|
31432
|
+
},
|
|
31433
|
+
{
|
|
31434
|
+
"kind": "method",
|
|
31435
|
+
"name": "_updateInputDescription",
|
|
31436
|
+
"privacy": "private",
|
|
31437
|
+
"return": {
|
|
31438
|
+
"type": {
|
|
31439
|
+
"text": "void"
|
|
31440
|
+
}
|
|
31441
|
+
}
|
|
31442
|
+
},
|
|
31443
|
+
{
|
|
31444
|
+
"kind": "field",
|
|
31445
|
+
"name": "required",
|
|
31446
|
+
"privacy": "public",
|
|
31447
|
+
"description": "Whether the component is required.",
|
|
31448
|
+
"type": {
|
|
31449
|
+
"text": "boolean"
|
|
31450
|
+
},
|
|
31451
|
+
"attribute": "required",
|
|
31452
|
+
"reflects": true,
|
|
31453
|
+
"inheritedFrom": {
|
|
31454
|
+
"name": "SbbRequiredMixin",
|
|
31455
|
+
"module": "core/mixins.js"
|
|
31456
|
+
},
|
|
31457
|
+
"default": "false"
|
|
31458
|
+
},
|
|
31459
|
+
{
|
|
31460
|
+
"kind": "field",
|
|
31461
|
+
"name": "_required",
|
|
31462
|
+
"type": {
|
|
31463
|
+
"text": "boolean"
|
|
31464
|
+
},
|
|
31465
|
+
"privacy": "private",
|
|
31466
|
+
"default": "false",
|
|
31467
|
+
"inheritedFrom": {
|
|
31468
|
+
"name": "SbbRequiredMixin",
|
|
31469
|
+
"module": "core/mixins.js"
|
|
31470
|
+
}
|
|
31471
|
+
},
|
|
31472
|
+
{
|
|
31473
|
+
"kind": "method",
|
|
31474
|
+
"name": "isRequiredExternally",
|
|
31475
|
+
"privacy": "protected",
|
|
31476
|
+
"return": {
|
|
31477
|
+
"type": {
|
|
31478
|
+
"text": "boolean"
|
|
31479
|
+
}
|
|
31480
|
+
},
|
|
31481
|
+
"description": "Will be used as 'or' check to the current required state.\nCan e.g. be used to read required state of a group.",
|
|
31482
|
+
"inheritedFrom": {
|
|
31483
|
+
"name": "SbbRequiredMixin",
|
|
31484
|
+
"module": "core/mixins.js"
|
|
31485
|
+
}
|
|
31486
|
+
},
|
|
31487
|
+
{
|
|
31488
|
+
"kind": "field",
|
|
31489
|
+
"name": "disabled",
|
|
31490
|
+
"type": {
|
|
31491
|
+
"text": "boolean"
|
|
31492
|
+
},
|
|
31493
|
+
"privacy": "public",
|
|
31494
|
+
"default": "false",
|
|
31495
|
+
"description": "Whether the component is disabled.",
|
|
31496
|
+
"attribute": "disabled",
|
|
31497
|
+
"reflects": true,
|
|
31498
|
+
"inheritedFrom": {
|
|
31499
|
+
"name": "SbbDisabledMixin",
|
|
31500
|
+
"module": "core/mixins.js"
|
|
31501
|
+
}
|
|
31502
|
+
},
|
|
31503
|
+
{
|
|
31504
|
+
"kind": "method",
|
|
31505
|
+
"name": "isDisabledExternally",
|
|
31506
|
+
"privacy": "protected",
|
|
31507
|
+
"return": {
|
|
31508
|
+
"type": {
|
|
31509
|
+
"text": "boolean"
|
|
31510
|
+
}
|
|
31511
|
+
},
|
|
31512
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
31513
|
+
"inheritedFrom": {
|
|
31514
|
+
"name": "SbbDisabledMixin",
|
|
31515
|
+
"module": "core/mixins.js"
|
|
31516
|
+
}
|
|
31517
|
+
},
|
|
31518
|
+
{
|
|
31519
|
+
"kind": "field",
|
|
31520
|
+
"name": "negative",
|
|
31521
|
+
"type": {
|
|
31522
|
+
"text": "boolean"
|
|
31523
|
+
},
|
|
31524
|
+
"privacy": "public",
|
|
31525
|
+
"default": "false",
|
|
31526
|
+
"description": "Negative coloring variant flag.",
|
|
31527
|
+
"attribute": "negative",
|
|
31528
|
+
"reflects": true,
|
|
31529
|
+
"inheritedFrom": {
|
|
31530
|
+
"name": "SbbNegativeMixin",
|
|
31531
|
+
"module": "core/mixins.js"
|
|
31532
|
+
}
|
|
31533
|
+
},
|
|
31534
|
+
{
|
|
31535
|
+
"kind": "field",
|
|
31536
|
+
"name": "formAssociated",
|
|
31537
|
+
"type": {
|
|
31538
|
+
"text": "boolean"
|
|
31539
|
+
},
|
|
31540
|
+
"privacy": "public",
|
|
31541
|
+
"static": true,
|
|
31542
|
+
"default": "true",
|
|
31543
|
+
"inheritedFrom": {
|
|
31544
|
+
"name": "SbbFormAssociatedMixin",
|
|
31545
|
+
"module": "core/mixins.js"
|
|
31546
|
+
}
|
|
31547
|
+
},
|
|
31548
|
+
{
|
|
31549
|
+
"kind": "field",
|
|
31550
|
+
"name": "form",
|
|
31551
|
+
"type": {
|
|
31552
|
+
"text": "HTMLFormElement | null"
|
|
31553
|
+
},
|
|
31554
|
+
"privacy": "public",
|
|
31555
|
+
"description": "Returns the form owner of this element.",
|
|
31556
|
+
"readonly": true,
|
|
31557
|
+
"inheritedFrom": {
|
|
31558
|
+
"name": "SbbFormAssociatedMixin",
|
|
31559
|
+
"module": "core/mixins.js"
|
|
31560
|
+
}
|
|
31561
|
+
},
|
|
31562
|
+
{
|
|
31563
|
+
"kind": "field",
|
|
31564
|
+
"name": "name",
|
|
31565
|
+
"privacy": "public",
|
|
31566
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
31567
|
+
"type": {
|
|
31568
|
+
"text": "string"
|
|
31569
|
+
},
|
|
31570
|
+
"attribute": "name",
|
|
31571
|
+
"inheritedFrom": {
|
|
31572
|
+
"name": "SbbFormAssociatedMixin",
|
|
31573
|
+
"module": "core/mixins.js"
|
|
31574
|
+
}
|
|
31575
|
+
},
|
|
31576
|
+
{
|
|
31577
|
+
"kind": "field",
|
|
31578
|
+
"name": "_value",
|
|
31579
|
+
"type": {
|
|
31580
|
+
"text": "string | null"
|
|
31581
|
+
},
|
|
31582
|
+
"privacy": "private",
|
|
31583
|
+
"default": "null",
|
|
31584
|
+
"inheritedFrom": {
|
|
31585
|
+
"name": "SbbFormAssociatedMixin",
|
|
31586
|
+
"module": "core/mixins.js"
|
|
31587
|
+
}
|
|
31588
|
+
},
|
|
31589
|
+
{
|
|
31590
|
+
"kind": "field",
|
|
31591
|
+
"name": "validity",
|
|
31592
|
+
"type": {
|
|
31593
|
+
"text": "ValidityState"
|
|
31594
|
+
},
|
|
31595
|
+
"privacy": "public",
|
|
31596
|
+
"description": "Returns the ValidityState object for this element.",
|
|
31597
|
+
"readonly": true,
|
|
31598
|
+
"inheritedFrom": {
|
|
31599
|
+
"name": "SbbFormAssociatedMixin",
|
|
31600
|
+
"module": "core/mixins.js"
|
|
31601
|
+
}
|
|
31602
|
+
},
|
|
31603
|
+
{
|
|
31604
|
+
"kind": "field",
|
|
31605
|
+
"name": "validationMessage",
|
|
31606
|
+
"type": {
|
|
31607
|
+
"text": "string"
|
|
31608
|
+
},
|
|
31609
|
+
"privacy": "public",
|
|
31610
|
+
"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.",
|
|
31611
|
+
"readonly": true,
|
|
31612
|
+
"inheritedFrom": {
|
|
31613
|
+
"name": "SbbFormAssociatedMixin",
|
|
31614
|
+
"module": "core/mixins.js"
|
|
31615
|
+
}
|
|
31616
|
+
},
|
|
31617
|
+
{
|
|
31618
|
+
"kind": "field",
|
|
31619
|
+
"name": "willValidate",
|
|
31620
|
+
"type": {
|
|
31621
|
+
"text": "boolean"
|
|
31622
|
+
},
|
|
31623
|
+
"privacy": "public",
|
|
31624
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
31625
|
+
"readonly": true,
|
|
31626
|
+
"inheritedFrom": {
|
|
31627
|
+
"name": "SbbFormAssociatedMixin",
|
|
31628
|
+
"module": "core/mixins.js"
|
|
31629
|
+
}
|
|
31630
|
+
},
|
|
31631
|
+
{
|
|
31632
|
+
"kind": "field",
|
|
31633
|
+
"name": "_validityStates",
|
|
31634
|
+
"privacy": "private",
|
|
31635
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
31636
|
+
"inheritedFrom": {
|
|
31637
|
+
"name": "SbbFormAssociatedMixin",
|
|
31638
|
+
"module": "core/mixins.js"
|
|
31639
|
+
}
|
|
31640
|
+
},
|
|
31641
|
+
{
|
|
31642
|
+
"kind": "field",
|
|
31643
|
+
"name": "formDisabled",
|
|
31644
|
+
"type": {
|
|
31645
|
+
"text": "boolean"
|
|
31646
|
+
},
|
|
31647
|
+
"privacy": "protected",
|
|
31648
|
+
"default": "false",
|
|
31649
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
31650
|
+
"inheritedFrom": {
|
|
31651
|
+
"name": "SbbFormAssociatedMixin",
|
|
31652
|
+
"module": "core/mixins.js"
|
|
31653
|
+
}
|
|
31654
|
+
},
|
|
31655
|
+
{
|
|
31656
|
+
"kind": "method",
|
|
31657
|
+
"name": "checkValidity",
|
|
31658
|
+
"privacy": "public",
|
|
31659
|
+
"return": {
|
|
31660
|
+
"type": {
|
|
31661
|
+
"text": "boolean"
|
|
31662
|
+
}
|
|
31663
|
+
},
|
|
31664
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
31665
|
+
"inheritedFrom": {
|
|
31666
|
+
"name": "SbbFormAssociatedMixin",
|
|
31667
|
+
"module": "core/mixins.js"
|
|
31668
|
+
}
|
|
31669
|
+
},
|
|
31670
|
+
{
|
|
31671
|
+
"kind": "method",
|
|
31672
|
+
"name": "reportValidity",
|
|
31673
|
+
"privacy": "public",
|
|
31674
|
+
"return": {
|
|
31675
|
+
"type": {
|
|
31676
|
+
"text": "boolean"
|
|
31677
|
+
}
|
|
31678
|
+
},
|
|
31679
|
+
"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.",
|
|
31680
|
+
"inheritedFrom": {
|
|
31681
|
+
"name": "SbbFormAssociatedMixin",
|
|
31682
|
+
"module": "core/mixins.js"
|
|
31683
|
+
}
|
|
31684
|
+
},
|
|
31685
|
+
{
|
|
31686
|
+
"kind": "method",
|
|
31687
|
+
"name": "setCustomValidity",
|
|
31688
|
+
"privacy": "public",
|
|
31689
|
+
"return": {
|
|
31690
|
+
"type": {
|
|
31691
|
+
"text": "void"
|
|
31692
|
+
}
|
|
31693
|
+
},
|
|
31694
|
+
"parameters": [
|
|
31695
|
+
{
|
|
31696
|
+
"name": "message",
|
|
31697
|
+
"type": {
|
|
31698
|
+
"text": "string"
|
|
31699
|
+
}
|
|
31700
|
+
}
|
|
31701
|
+
],
|
|
31702
|
+
"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.",
|
|
31703
|
+
"inheritedFrom": {
|
|
31704
|
+
"name": "SbbFormAssociatedMixin",
|
|
31705
|
+
"module": "core/mixins.js"
|
|
31706
|
+
}
|
|
31707
|
+
},
|
|
31708
|
+
{
|
|
31709
|
+
"kind": "method",
|
|
31710
|
+
"name": "setValidityFlag",
|
|
31711
|
+
"privacy": "protected",
|
|
31712
|
+
"return": {
|
|
31713
|
+
"type": {
|
|
31714
|
+
"text": "void"
|
|
31715
|
+
}
|
|
31716
|
+
},
|
|
31717
|
+
"parameters": [
|
|
31718
|
+
{
|
|
31719
|
+
"name": "flag",
|
|
31720
|
+
"type": {
|
|
31721
|
+
"text": "T"
|
|
31722
|
+
}
|
|
31723
|
+
},
|
|
31724
|
+
{
|
|
31725
|
+
"name": "message",
|
|
31726
|
+
"type": {
|
|
31727
|
+
"text": "string"
|
|
31728
|
+
}
|
|
31729
|
+
},
|
|
31730
|
+
{
|
|
31731
|
+
"name": "flagValue",
|
|
31732
|
+
"optional": true,
|
|
31733
|
+
"type": {
|
|
31734
|
+
"text": "ValidityStateFlags[T]"
|
|
31735
|
+
}
|
|
31736
|
+
}
|
|
31737
|
+
],
|
|
31738
|
+
"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).",
|
|
31739
|
+
"inheritedFrom": {
|
|
31740
|
+
"name": "SbbFormAssociatedMixin",
|
|
31741
|
+
"module": "core/mixins.js"
|
|
31742
|
+
}
|
|
31743
|
+
},
|
|
31744
|
+
{
|
|
31745
|
+
"kind": "method",
|
|
31746
|
+
"name": "removeValidityFlag",
|
|
31747
|
+
"privacy": "protected",
|
|
31748
|
+
"return": {
|
|
31749
|
+
"type": {
|
|
31750
|
+
"text": "void"
|
|
31751
|
+
}
|
|
31752
|
+
},
|
|
31753
|
+
"parameters": [
|
|
31754
|
+
{
|
|
31755
|
+
"name": "flag",
|
|
31756
|
+
"type": {
|
|
31757
|
+
"text": "T"
|
|
31758
|
+
}
|
|
31759
|
+
}
|
|
31760
|
+
],
|
|
31761
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
31762
|
+
"inheritedFrom": {
|
|
31763
|
+
"name": "SbbFormAssociatedMixin",
|
|
31764
|
+
"module": "core/mixins.js"
|
|
31765
|
+
}
|
|
31766
|
+
},
|
|
31767
|
+
{
|
|
31768
|
+
"kind": "method",
|
|
31769
|
+
"name": "_setInternalValidity",
|
|
31770
|
+
"privacy": "private",
|
|
31771
|
+
"return": {
|
|
31772
|
+
"type": {
|
|
31773
|
+
"text": "void"
|
|
31774
|
+
}
|
|
31775
|
+
},
|
|
31776
|
+
"inheritedFrom": {
|
|
31777
|
+
"name": "SbbFormAssociatedMixin",
|
|
31778
|
+
"module": "core/mixins.js"
|
|
31779
|
+
}
|
|
31011
31780
|
}
|
|
31012
31781
|
],
|
|
31013
31782
|
"events": [
|
|
31014
31783
|
{
|
|
31015
31784
|
"type": {
|
|
31016
|
-
"text": "
|
|
31785
|
+
"text": "CustomEvent<void>"
|
|
31017
31786
|
},
|
|
31018
|
-
"description": "
|
|
31787
|
+
"description": "Notifies that the component's value has changed.",
|
|
31019
31788
|
"name": "change"
|
|
31020
31789
|
},
|
|
31021
31790
|
{
|
|
31022
31791
|
"type": {
|
|
31023
|
-
"text": "
|
|
31792
|
+
"text": "CustomEvent<void>"
|
|
31024
31793
|
},
|
|
31025
|
-
"description": "
|
|
31794
|
+
"description": "Notifies that the component's value has changed.",
|
|
31026
31795
|
"name": "input"
|
|
31027
|
-
}
|
|
31028
|
-
],
|
|
31029
|
-
"attributes": [
|
|
31796
|
+
},
|
|
31030
31797
|
{
|
|
31031
|
-
"name": "size",
|
|
31032
31798
|
"type": {
|
|
31033
|
-
"text": "
|
|
31799
|
+
"text": "CustomEvent<SbbChipInputTokenEndEventDetails>"
|
|
31034
31800
|
},
|
|
31035
|
-
"description": "
|
|
31036
|
-
"
|
|
31037
|
-
|
|
31038
|
-
|
|
31801
|
+
"description": "Notifies that a chip is about to be created. Can be used to customize the value and the label. Can be prevented.",
|
|
31802
|
+
"name": "chipInputTokenEnd"
|
|
31803
|
+
}
|
|
31804
|
+
],
|
|
31805
|
+
"attributes": [
|
|
31039
31806
|
{
|
|
31040
|
-
"name": "
|
|
31807
|
+
"name": "value",
|
|
31808
|
+
"description": "Value of the form element.",
|
|
31041
31809
|
"type": {
|
|
31042
|
-
"text": "
|
|
31810
|
+
"text": "string | null"
|
|
31043
31811
|
},
|
|
31044
|
-
"
|
|
31045
|
-
"
|
|
31046
|
-
|
|
31812
|
+
"fieldName": "value",
|
|
31813
|
+
"inheritedFrom": {
|
|
31814
|
+
"name": "SbbFormAssociatedMixin",
|
|
31815
|
+
"module": "core/mixins.js"
|
|
31816
|
+
}
|
|
31047
31817
|
},
|
|
31048
31818
|
{
|
|
31049
|
-
"name": "
|
|
31819
|
+
"name": "separator-keys",
|
|
31050
31820
|
"type": {
|
|
31051
|
-
"text": "
|
|
31821
|
+
"text": "string[]"
|
|
31052
31822
|
},
|
|
31053
|
-
"default": "
|
|
31054
|
-
"description": "
|
|
31055
|
-
"fieldName": "
|
|
31056
|
-
"inheritedFrom": {
|
|
31057
|
-
"name": "SbbCheckboxCommonElementMixin",
|
|
31058
|
-
"module": "checkbox/common/checkbox-common.js"
|
|
31059
|
-
}
|
|
31823
|
+
"default": "['Enter']",
|
|
31824
|
+
"description": "The array of keys that will trigger a `chipInputTokenEnd` event. Default `['Enter']`",
|
|
31825
|
+
"fieldName": "separatorKeys"
|
|
31060
31826
|
},
|
|
31061
31827
|
{
|
|
31062
|
-
"name": "
|
|
31063
|
-
"description": "Whether the
|
|
31828
|
+
"name": "required",
|
|
31829
|
+
"description": "Whether the component is required.",
|
|
31064
31830
|
"type": {
|
|
31065
31831
|
"text": "boolean"
|
|
31066
31832
|
},
|
|
31067
|
-
"fieldName": "
|
|
31833
|
+
"fieldName": "required",
|
|
31068
31834
|
"inheritedFrom": {
|
|
31069
|
-
"name": "
|
|
31835
|
+
"name": "SbbRequiredMixin",
|
|
31070
31836
|
"module": "core/mixins.js"
|
|
31071
31837
|
}
|
|
31072
31838
|
},
|
|
@@ -31084,14 +31850,15 @@
|
|
|
31084
31850
|
}
|
|
31085
31851
|
},
|
|
31086
31852
|
{
|
|
31087
|
-
"name": "
|
|
31088
|
-
"description": "Whether the component is required.",
|
|
31853
|
+
"name": "negative",
|
|
31089
31854
|
"type": {
|
|
31090
31855
|
"text": "boolean"
|
|
31091
31856
|
},
|
|
31092
|
-
"
|
|
31857
|
+
"default": "false",
|
|
31858
|
+
"description": "Negative coloring variant flag.",
|
|
31859
|
+
"fieldName": "negative",
|
|
31093
31860
|
"inheritedFrom": {
|
|
31094
|
-
"name": "
|
|
31861
|
+
"name": "SbbNegativeMixin",
|
|
31095
31862
|
"module": "core/mixins.js"
|
|
31096
31863
|
}
|
|
31097
31864
|
},
|
|
@@ -31106,66 +31873,245 @@
|
|
|
31106
31873
|
"name": "SbbFormAssociatedMixin",
|
|
31107
31874
|
"module": "core/mixins.js"
|
|
31108
31875
|
}
|
|
31876
|
+
}
|
|
31877
|
+
],
|
|
31878
|
+
"mixins": [
|
|
31879
|
+
{
|
|
31880
|
+
"name": "SbbRequiredMixin",
|
|
31881
|
+
"module": "core/mixins.js"
|
|
31882
|
+
},
|
|
31883
|
+
{
|
|
31884
|
+
"name": "SbbDisabledMixin",
|
|
31885
|
+
"module": "core/mixins.js"
|
|
31886
|
+
},
|
|
31887
|
+
{
|
|
31888
|
+
"name": "SbbNegativeMixin",
|
|
31889
|
+
"module": "core/mixins.js"
|
|
31890
|
+
},
|
|
31891
|
+
{
|
|
31892
|
+
"name": "SbbFormAssociatedMixin",
|
|
31893
|
+
"module": "core/mixins.js"
|
|
31894
|
+
}
|
|
31895
|
+
],
|
|
31896
|
+
"superclass": {
|
|
31897
|
+
"name": "LitElement",
|
|
31898
|
+
"package": "lit"
|
|
31899
|
+
},
|
|
31900
|
+
"tagName": "sbb-chip-group",
|
|
31901
|
+
"customElement": true
|
|
31902
|
+
}
|
|
31903
|
+
],
|
|
31904
|
+
"exports": [
|
|
31905
|
+
{
|
|
31906
|
+
"kind": "js",
|
|
31907
|
+
"name": "SbbChipGroupElement",
|
|
31908
|
+
"declaration": {
|
|
31909
|
+
"name": "SbbChipGroupElement",
|
|
31910
|
+
"module": "chip/chip-group.js"
|
|
31911
|
+
}
|
|
31912
|
+
},
|
|
31913
|
+
{
|
|
31914
|
+
"kind": "custom-element-definition",
|
|
31915
|
+
"name": "sbb-chip-group",
|
|
31916
|
+
"declaration": {
|
|
31917
|
+
"name": "SbbChipGroupElement",
|
|
31918
|
+
"module": "chip/chip-group.js"
|
|
31919
|
+
}
|
|
31920
|
+
}
|
|
31921
|
+
]
|
|
31922
|
+
},
|
|
31923
|
+
{
|
|
31924
|
+
"kind": "javascript-module",
|
|
31925
|
+
"path": "chip/chip.js",
|
|
31926
|
+
"declarations": [
|
|
31927
|
+
{
|
|
31928
|
+
"kind": "class",
|
|
31929
|
+
"description": "It displays a chip. Usually used in combination with `sbb-chip-group`.",
|
|
31930
|
+
"name": "SbbChipElement",
|
|
31931
|
+
"slots": [
|
|
31932
|
+
{
|
|
31933
|
+
"description": "Use the unnamed slot to add the display value. If not provided, the 'value' will be used.",
|
|
31934
|
+
"name": ""
|
|
31935
|
+
}
|
|
31936
|
+
],
|
|
31937
|
+
"members": [
|
|
31938
|
+
{
|
|
31939
|
+
"kind": "field",
|
|
31940
|
+
"name": "events",
|
|
31941
|
+
"privacy": "public",
|
|
31942
|
+
"static": true,
|
|
31943
|
+
"readonly": true,
|
|
31944
|
+
"default": "{ requestDelete: 'requestDelete', }",
|
|
31945
|
+
"type": {
|
|
31946
|
+
"text": "{\n requestDelete: 'requestDelete',\n }"
|
|
31947
|
+
}
|
|
31109
31948
|
},
|
|
31110
31949
|
{
|
|
31950
|
+
"kind": "field",
|
|
31111
31951
|
"name": "value",
|
|
31112
|
-
"description": "Value of the form element.",
|
|
31113
31952
|
"type": {
|
|
31114
|
-
"text": "string
|
|
31953
|
+
"text": "string"
|
|
31115
31954
|
},
|
|
31116
|
-
"
|
|
31955
|
+
"privacy": "public",
|
|
31956
|
+
"default": "''",
|
|
31957
|
+
"description": "The value of chip. Will be used as label if nothing is slotted.",
|
|
31958
|
+
"attribute": "value"
|
|
31959
|
+
},
|
|
31960
|
+
{
|
|
31961
|
+
"kind": "field",
|
|
31962
|
+
"name": "readonly",
|
|
31963
|
+
"type": {
|
|
31964
|
+
"text": "boolean"
|
|
31965
|
+
},
|
|
31966
|
+
"privacy": "public",
|
|
31967
|
+
"default": "false",
|
|
31968
|
+
"description": "Whether the component is readonly",
|
|
31969
|
+
"attribute": "readonly",
|
|
31970
|
+
"reflects": true
|
|
31971
|
+
},
|
|
31972
|
+
{
|
|
31973
|
+
"kind": "field",
|
|
31974
|
+
"name": "_language",
|
|
31975
|
+
"privacy": "private",
|
|
31976
|
+
"default": "new SbbLanguageController(this)"
|
|
31977
|
+
},
|
|
31978
|
+
{
|
|
31979
|
+
"kind": "method",
|
|
31980
|
+
"name": "_deleteButton",
|
|
31981
|
+
"privacy": "private",
|
|
31982
|
+
"return": {
|
|
31983
|
+
"type": {
|
|
31984
|
+
"text": "HTMLElement"
|
|
31985
|
+
}
|
|
31986
|
+
}
|
|
31987
|
+
},
|
|
31988
|
+
{
|
|
31989
|
+
"kind": "field",
|
|
31990
|
+
"name": "negative",
|
|
31991
|
+
"type": {
|
|
31992
|
+
"text": "boolean"
|
|
31993
|
+
},
|
|
31994
|
+
"privacy": "public",
|
|
31995
|
+
"default": "false",
|
|
31996
|
+
"description": "Negative coloring variant flag.",
|
|
31997
|
+
"attribute": "negative",
|
|
31998
|
+
"reflects": true,
|
|
31117
31999
|
"inheritedFrom": {
|
|
31118
|
-
"name": "
|
|
32000
|
+
"name": "SbbNegativeMixin",
|
|
31119
32001
|
"module": "core/mixins.js"
|
|
31120
32002
|
}
|
|
31121
32003
|
},
|
|
31122
32004
|
{
|
|
31123
|
-
"
|
|
32005
|
+
"kind": "field",
|
|
32006
|
+
"name": "disabled",
|
|
32007
|
+
"type": {
|
|
32008
|
+
"text": "boolean"
|
|
32009
|
+
},
|
|
32010
|
+
"privacy": "public",
|
|
32011
|
+
"default": "false",
|
|
32012
|
+
"description": "Whether the component is disabled.",
|
|
32013
|
+
"attribute": "disabled",
|
|
32014
|
+
"reflects": true,
|
|
32015
|
+
"inheritedFrom": {
|
|
32016
|
+
"name": "SbbDisabledMixin",
|
|
32017
|
+
"module": "core/mixins.js"
|
|
32018
|
+
}
|
|
32019
|
+
},
|
|
32020
|
+
{
|
|
32021
|
+
"kind": "method",
|
|
32022
|
+
"name": "isDisabledExternally",
|
|
32023
|
+
"privacy": "protected",
|
|
32024
|
+
"return": {
|
|
32025
|
+
"type": {
|
|
32026
|
+
"text": "boolean"
|
|
32027
|
+
}
|
|
32028
|
+
},
|
|
32029
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
32030
|
+
"inheritedFrom": {
|
|
32031
|
+
"name": "SbbDisabledMixin",
|
|
32032
|
+
"module": "core/mixins.js"
|
|
32033
|
+
}
|
|
32034
|
+
}
|
|
32035
|
+
],
|
|
32036
|
+
"attributes": [
|
|
32037
|
+
{
|
|
32038
|
+
"name": "value",
|
|
31124
32039
|
"type": {
|
|
31125
32040
|
"text": "string"
|
|
31126
32041
|
},
|
|
31127
32042
|
"default": "''",
|
|
31128
|
-
"description": "The
|
|
31129
|
-
"fieldName": "
|
|
32043
|
+
"description": "The value of chip. Will be used as label if nothing is slotted.",
|
|
32044
|
+
"fieldName": "value"
|
|
32045
|
+
},
|
|
32046
|
+
{
|
|
32047
|
+
"name": "readonly",
|
|
32048
|
+
"type": {
|
|
32049
|
+
"text": "boolean"
|
|
32050
|
+
},
|
|
32051
|
+
"default": "false",
|
|
32052
|
+
"description": "Whether the component is readonly",
|
|
32053
|
+
"fieldName": "readonly"
|
|
32054
|
+
},
|
|
32055
|
+
{
|
|
32056
|
+
"name": "negative",
|
|
32057
|
+
"type": {
|
|
32058
|
+
"text": "boolean"
|
|
32059
|
+
},
|
|
32060
|
+
"default": "false",
|
|
32061
|
+
"description": "Negative coloring variant flag.",
|
|
32062
|
+
"fieldName": "negative",
|
|
31130
32063
|
"inheritedFrom": {
|
|
31131
|
-
"name": "
|
|
31132
|
-
"module": "
|
|
32064
|
+
"name": "SbbNegativeMixin",
|
|
32065
|
+
"module": "core/mixins.js"
|
|
32066
|
+
}
|
|
32067
|
+
},
|
|
32068
|
+
{
|
|
32069
|
+
"name": "disabled",
|
|
32070
|
+
"type": {
|
|
32071
|
+
"text": "boolean"
|
|
32072
|
+
},
|
|
32073
|
+
"default": "false",
|
|
32074
|
+
"description": "Whether the component is disabled.",
|
|
32075
|
+
"fieldName": "disabled",
|
|
32076
|
+
"inheritedFrom": {
|
|
32077
|
+
"name": "SbbDisabledMixin",
|
|
32078
|
+
"module": "core/mixins.js"
|
|
31133
32079
|
}
|
|
31134
32080
|
}
|
|
31135
32081
|
],
|
|
31136
32082
|
"mixins": [
|
|
31137
32083
|
{
|
|
31138
|
-
"name": "
|
|
31139
|
-
"module": "
|
|
32084
|
+
"name": "SbbNegativeMixin",
|
|
32085
|
+
"module": "core/mixins.js"
|
|
31140
32086
|
},
|
|
31141
32087
|
{
|
|
31142
|
-
"name": "
|
|
31143
|
-
"module": "
|
|
32088
|
+
"name": "SbbDisabledMixin",
|
|
32089
|
+
"module": "core/mixins.js"
|
|
31144
32090
|
}
|
|
31145
32091
|
],
|
|
31146
32092
|
"superclass": {
|
|
31147
32093
|
"name": "LitElement",
|
|
31148
32094
|
"package": "lit"
|
|
31149
32095
|
},
|
|
31150
|
-
"tagName": "sbb-
|
|
32096
|
+
"tagName": "sbb-chip",
|
|
31151
32097
|
"customElement": true
|
|
31152
32098
|
}
|
|
31153
32099
|
],
|
|
31154
32100
|
"exports": [
|
|
31155
32101
|
{
|
|
31156
32102
|
"kind": "js",
|
|
31157
|
-
"name": "
|
|
32103
|
+
"name": "SbbChipElement",
|
|
31158
32104
|
"declaration": {
|
|
31159
|
-
"name": "
|
|
31160
|
-
"module": "
|
|
32105
|
+
"name": "SbbChipElement",
|
|
32106
|
+
"module": "chip/chip.js"
|
|
31161
32107
|
}
|
|
31162
32108
|
},
|
|
31163
32109
|
{
|
|
31164
32110
|
"kind": "custom-element-definition",
|
|
31165
|
-
"name": "sbb-
|
|
32111
|
+
"name": "sbb-chip",
|
|
31166
32112
|
"declaration": {
|
|
31167
|
-
"name": "
|
|
31168
|
-
"module": "
|
|
32113
|
+
"name": "SbbChipElement",
|
|
32114
|
+
"module": "chip/chip.js"
|
|
31169
32115
|
}
|
|
31170
32116
|
}
|
|
31171
32117
|
]
|
|
@@ -33222,6 +34168,54 @@
|
|
|
33222
34168
|
}
|
|
33223
34169
|
]
|
|
33224
34170
|
},
|
|
34171
|
+
{
|
|
34172
|
+
"kind": "class",
|
|
34173
|
+
"description": "Tracks id changes in the DOM and calls component when matching with requestUpdate().",
|
|
34174
|
+
"name": "SbbIdReferenceController",
|
|
34175
|
+
"members": [
|
|
34176
|
+
{
|
|
34177
|
+
"kind": "field",
|
|
34178
|
+
"name": "_rootNode",
|
|
34179
|
+
"type": {
|
|
34180
|
+
"text": "Document | ShadowRoot | null"
|
|
34181
|
+
},
|
|
34182
|
+
"privacy": "private",
|
|
34183
|
+
"default": "null"
|
|
34184
|
+
},
|
|
34185
|
+
{
|
|
34186
|
+
"kind": "method",
|
|
34187
|
+
"name": "hostConnected",
|
|
34188
|
+
"privacy": "public",
|
|
34189
|
+
"return": {
|
|
34190
|
+
"type": {
|
|
34191
|
+
"text": "void"
|
|
34192
|
+
}
|
|
34193
|
+
}
|
|
34194
|
+
},
|
|
34195
|
+
{
|
|
34196
|
+
"kind": "method",
|
|
34197
|
+
"name": "hostDisconnected",
|
|
34198
|
+
"privacy": "public",
|
|
34199
|
+
"return": {
|
|
34200
|
+
"type": {
|
|
34201
|
+
"text": "void"
|
|
34202
|
+
}
|
|
34203
|
+
}
|
|
34204
|
+
},
|
|
34205
|
+
{
|
|
34206
|
+
"kind": "method",
|
|
34207
|
+
"name": "find",
|
|
34208
|
+
"privacy": "public",
|
|
34209
|
+
"return": {
|
|
34210
|
+
"type": {
|
|
34211
|
+
"text": "HTMLElement | null"
|
|
34212
|
+
}
|
|
34213
|
+
},
|
|
34214
|
+
"description": "Find the element by id in the current document fragment"
|
|
34215
|
+
}
|
|
34216
|
+
],
|
|
34217
|
+
"classGenerics": "T extends LitElement"
|
|
34218
|
+
},
|
|
33225
34219
|
{
|
|
33226
34220
|
"kind": "class",
|
|
33227
34221
|
"description": "",
|
|
@@ -33608,6 +34602,14 @@
|
|
|
33608
34602
|
"module": "core/controllers.js"
|
|
33609
34603
|
}
|
|
33610
34604
|
},
|
|
34605
|
+
{
|
|
34606
|
+
"kind": "js",
|
|
34607
|
+
"name": "SbbIdReferenceController",
|
|
34608
|
+
"declaration": {
|
|
34609
|
+
"name": "SbbIdReferenceController",
|
|
34610
|
+
"module": "core/controllers.js"
|
|
34611
|
+
}
|
|
34612
|
+
},
|
|
33611
34613
|
{
|
|
33612
34614
|
"kind": "js",
|
|
33613
34615
|
"name": "SbbInertController",
|
|
@@ -35475,7 +36477,8 @@
|
|
|
35475
36477
|
"description": "either the wanted id or the HTMLElement"
|
|
35476
36478
|
}
|
|
35477
36479
|
],
|
|
35478
|
-
"description": "Check whether it's a string or an HTMLElement, if it's a string queries the element with the\ncorresponding id."
|
|
36480
|
+
"description": "Check whether it's a string or an HTMLElement, if it's a string queries the element with the\ncorresponding id.",
|
|
36481
|
+
"deprecated": "no longer in use, will be removed with next major release"
|
|
35479
36482
|
},
|
|
35480
36483
|
{
|
|
35481
36484
|
"kind": "function",
|
|
@@ -35537,10 +36540,12 @@
|
|
|
35537
36540
|
},
|
|
35538
36541
|
{
|
|
35539
36542
|
"name": "inputSelector",
|
|
35540
|
-
"default": "'input'"
|
|
36543
|
+
"default": "'input'",
|
|
36544
|
+
"description": "a custom selector for the input element"
|
|
35541
36545
|
}
|
|
35542
36546
|
],
|
|
35543
|
-
"description": "Given an element, returns the related input reference, if it exists respecting following priority.\n1. Input field in `sbb-form-field` (if trigger is
|
|
36547
|
+
"description": "Given an element, returns the related input reference, if it exists respecting following priority.\n1. Input field in `sbb-form-field` (if trigger is undefined)\n2. Input referenced by id (trigger is string)\n3. Input referenced directly (trigger is HTMLElement)",
|
|
36548
|
+
"deprecated": "Will be removed with next major version."
|
|
35544
36549
|
},
|
|
35545
36550
|
{
|
|
35546
36551
|
"kind": "function",
|
|
@@ -36343,13 +37348,21 @@
|
|
|
36343
37348
|
},
|
|
36344
37349
|
"default": "{ de: 'Echtzeitinformationen', en: 'Real time information', fr: 'Informations en temps réel', it: 'Informazioni in tempo reale', }"
|
|
36345
37350
|
},
|
|
37351
|
+
{
|
|
37352
|
+
"kind": "variable",
|
|
37353
|
+
"name": "i18nTransferProcedure",
|
|
37354
|
+
"type": {
|
|
37355
|
+
"text": "Record<string, string>"
|
|
37356
|
+
},
|
|
37357
|
+
"default": "{ de: 'mal umsteigen', en: 'change', fr: 'changement de train', it: 'cambio', }"
|
|
37358
|
+
},
|
|
36346
37359
|
{
|
|
36347
37360
|
"kind": "variable",
|
|
36348
37361
|
"name": "i18nTransferProcedures",
|
|
36349
37362
|
"type": {
|
|
36350
37363
|
"text": "Record<string, string>"
|
|
36351
37364
|
},
|
|
36352
|
-
"default": "{ de: 'mal umsteigen', en: 'changes', fr: '
|
|
37365
|
+
"default": "{ de: 'mal umsteigen', en: 'changes', fr: 'changements de train', it: 'cambi', }"
|
|
36353
37366
|
},
|
|
36354
37367
|
{
|
|
36355
37368
|
"kind": "variable",
|
|
@@ -36903,6 +37916,22 @@
|
|
|
36903
37916
|
}
|
|
36904
37917
|
}
|
|
36905
37918
|
]
|
|
37919
|
+
},
|
|
37920
|
+
{
|
|
37921
|
+
"kind": "variable",
|
|
37922
|
+
"name": "i18nChipDelete",
|
|
37923
|
+
"type": {
|
|
37924
|
+
"text": "Record<string, string>"
|
|
37925
|
+
},
|
|
37926
|
+
"default": "{ de: 'Drücken Sie die Entfernen-Taste um den Chip zu löschen', en: 'Press the Delete button to remove the chip', fr: 'Appuyez sur la touche Del pour supprimer cette puce', it: 'Premi il tasto Canc per rimuovere questa chip', }"
|
|
37927
|
+
},
|
|
37928
|
+
{
|
|
37929
|
+
"kind": "variable",
|
|
37930
|
+
"name": "i18nChipGroupInputDescription",
|
|
37931
|
+
"type": {
|
|
37932
|
+
"text": "Record<string, string>"
|
|
37933
|
+
},
|
|
37934
|
+
"default": "{ de: 'Ausgewählte Elemente:', en: 'Selected elements:', fr: 'Éléments sélectionnés:', it: 'Elementi selezionati:', }"
|
|
36906
37935
|
}
|
|
36907
37936
|
],
|
|
36908
37937
|
"exports": [
|
|
@@ -37106,6 +38135,14 @@
|
|
|
37106
38135
|
"module": "core/i18n.js"
|
|
37107
38136
|
}
|
|
37108
38137
|
},
|
|
38138
|
+
{
|
|
38139
|
+
"kind": "js",
|
|
38140
|
+
"name": "i18nTransferProcedure",
|
|
38141
|
+
"declaration": {
|
|
38142
|
+
"name": "i18nTransferProcedure",
|
|
38143
|
+
"module": "core/i18n.js"
|
|
38144
|
+
}
|
|
38145
|
+
},
|
|
37109
38146
|
{
|
|
37110
38147
|
"kind": "js",
|
|
37111
38148
|
"name": "i18nTransferProcedures",
|
|
@@ -37585,6 +38622,22 @@
|
|
|
37585
38622
|
"name": "i18nDateMax",
|
|
37586
38623
|
"module": "core/i18n.js"
|
|
37587
38624
|
}
|
|
38625
|
+
},
|
|
38626
|
+
{
|
|
38627
|
+
"kind": "js",
|
|
38628
|
+
"name": "i18nChipDelete",
|
|
38629
|
+
"declaration": {
|
|
38630
|
+
"name": "i18nChipDelete",
|
|
38631
|
+
"module": "core/i18n.js"
|
|
38632
|
+
}
|
|
38633
|
+
},
|
|
38634
|
+
{
|
|
38635
|
+
"kind": "js",
|
|
38636
|
+
"name": "i18nChipGroupInputDescription",
|
|
38637
|
+
"declaration": {
|
|
38638
|
+
"name": "i18nChipGroupInputDescription",
|
|
38639
|
+
"module": "core/i18n.js"
|
|
38640
|
+
}
|
|
37588
38641
|
}
|
|
37589
38642
|
]
|
|
37590
38643
|
},
|
|
@@ -42730,7 +43783,7 @@
|
|
|
42730
43783
|
"name": "trigger",
|
|
42731
43784
|
"optional": true,
|
|
42732
43785
|
"type": {
|
|
42733
|
-
"text": "HTMLElement"
|
|
43786
|
+
"text": "HTMLElement | null"
|
|
42734
43787
|
}
|
|
42735
43788
|
}
|
|
42736
43789
|
],
|
|
@@ -42776,7 +43829,7 @@
|
|
|
42776
43829
|
{
|
|
42777
43830
|
"name": "element",
|
|
42778
43831
|
"type": {
|
|
42779
|
-
"text": "HTMLElement"
|
|
43832
|
+
"text": "HTMLElement | null"
|
|
42780
43833
|
}
|
|
42781
43834
|
},
|
|
42782
43835
|
{
|
|
@@ -43154,7 +44207,8 @@
|
|
|
43154
44207
|
"description": "ScrollToOptions"
|
|
43155
44208
|
}
|
|
43156
44209
|
],
|
|
43157
|
-
"description": "Can be used in tests where scroll events are not triggered by default."
|
|
44210
|
+
"description": "Can be used in tests where scroll events are not triggered by default.",
|
|
44211
|
+
"deprecated": "Will be removed with next major version"
|
|
43158
44212
|
},
|
|
43159
44213
|
{
|
|
43160
44214
|
"kind": "function",
|
|
@@ -45899,22 +46953,6 @@
|
|
|
45899
46953
|
},
|
|
45900
46954
|
"privacy": "private"
|
|
45901
46955
|
},
|
|
45902
|
-
{
|
|
45903
|
-
"kind": "field",
|
|
45904
|
-
"name": "_triggerElement",
|
|
45905
|
-
"type": {
|
|
45906
|
-
"text": "SbbMiniButtonElement"
|
|
45907
|
-
},
|
|
45908
|
-
"privacy": "private"
|
|
45909
|
-
},
|
|
45910
|
-
{
|
|
45911
|
-
"kind": "field",
|
|
45912
|
-
"name": "_popoverElement",
|
|
45913
|
-
"type": {
|
|
45914
|
-
"text": "SbbPopoverElement"
|
|
45915
|
-
},
|
|
45916
|
-
"privacy": "private"
|
|
45917
|
-
},
|
|
45918
46956
|
{
|
|
45919
46957
|
"kind": "field",
|
|
45920
46958
|
"name": "_language",
|
|
@@ -46137,7 +47175,7 @@
|
|
|
46137
47175
|
}
|
|
46138
47176
|
],
|
|
46139
47177
|
"description": "Given a SbbDatepickerPreviousDayElement, a SbbDatepickerNextDayElement or a SbbDatepickerToggleElement component,\nit returns the related SbbDatepickerElement reference, if exists.",
|
|
46140
|
-
"deprecated": "No longer in use."
|
|
47178
|
+
"deprecated": "No longer in use. Will be removed with next major version."
|
|
46141
47179
|
},
|
|
46142
47180
|
{
|
|
46143
47181
|
"kind": "function",
|
|
@@ -46312,12 +47350,18 @@
|
|
|
46312
47350
|
},
|
|
46313
47351
|
{
|
|
46314
47352
|
"kind": "field",
|
|
46315
|
-
"name": "
|
|
47353
|
+
"name": "_inputAbortController",
|
|
46316
47354
|
"type": {
|
|
46317
47355
|
"text": "AbortController"
|
|
46318
47356
|
},
|
|
46319
47357
|
"privacy": "private"
|
|
46320
47358
|
},
|
|
47359
|
+
{
|
|
47360
|
+
"kind": "field",
|
|
47361
|
+
"name": "_inputIdReferenceController",
|
|
47362
|
+
"privacy": "private",
|
|
47363
|
+
"default": "new SbbIdReferenceController(this, 'input')"
|
|
47364
|
+
},
|
|
46321
47365
|
{
|
|
46322
47366
|
"kind": "field",
|
|
46323
47367
|
"name": "_inputObserver",
|
|
@@ -46345,7 +47389,7 @@
|
|
|
46345
47389
|
},
|
|
46346
47390
|
{
|
|
46347
47391
|
"kind": "method",
|
|
46348
|
-
"name": "
|
|
47392
|
+
"name": "_configureInputElement",
|
|
46349
47393
|
"privacy": "private",
|
|
46350
47394
|
"return": {
|
|
46351
47395
|
"type": {
|
|
@@ -49019,15 +50063,6 @@
|
|
|
49019
50063
|
},
|
|
49020
50064
|
"privacy": "private"
|
|
49021
50065
|
},
|
|
49022
|
-
{
|
|
49023
|
-
"kind": "field",
|
|
49024
|
-
"name": "_initialized",
|
|
49025
|
-
"type": {
|
|
49026
|
-
"text": "boolean"
|
|
49027
|
-
},
|
|
49028
|
-
"privacy": "private",
|
|
49029
|
-
"default": "false"
|
|
49030
|
-
},
|
|
49031
50066
|
{
|
|
49032
50067
|
"kind": "method",
|
|
49033
50068
|
"name": "_toggleExpanded",
|
|
@@ -52470,7 +53505,7 @@
|
|
|
52470
53505
|
},
|
|
52471
53506
|
"privacy": "private",
|
|
52472
53507
|
"readonly": true,
|
|
52473
|
-
"default": "['button', 'sbb-popover', 'sbb-option']"
|
|
53508
|
+
"default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']"
|
|
52474
53509
|
},
|
|
52475
53510
|
{
|
|
52476
53511
|
"kind": "field",
|
|
@@ -52695,14 +53730,6 @@
|
|
|
52695
53730
|
"text": "void"
|
|
52696
53731
|
}
|
|
52697
53732
|
},
|
|
52698
|
-
"parameters": [
|
|
52699
|
-
{
|
|
52700
|
-
"name": "event",
|
|
52701
|
-
"type": {
|
|
52702
|
-
"text": "Event"
|
|
52703
|
-
}
|
|
52704
|
-
}
|
|
52705
|
-
],
|
|
52706
53733
|
"description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes."
|
|
52707
53734
|
},
|
|
52708
53735
|
{
|
|
@@ -54372,21 +55399,13 @@
|
|
|
54372
55399
|
{
|
|
54373
55400
|
"kind": "field",
|
|
54374
55401
|
"name": "scrollOrigin",
|
|
54375
|
-
"privacy": "public",
|
|
54376
|
-
"description": "The element's id or the element on which the scroll listener is attached.",
|
|
54377
55402
|
"type": {
|
|
54378
55403
|
"text": "string | HTMLElement | Document"
|
|
54379
55404
|
},
|
|
55405
|
+
"privacy": "public",
|
|
55406
|
+
"description": "The element's id or the element on which the scroll listener is attached.",
|
|
54380
55407
|
"attribute": "scroll-origin"
|
|
54381
55408
|
},
|
|
54382
|
-
{
|
|
54383
|
-
"kind": "field",
|
|
54384
|
-
"name": "_scrollOrigin",
|
|
54385
|
-
"type": {
|
|
54386
|
-
"text": "string | HTMLElement | Document"
|
|
54387
|
-
},
|
|
54388
|
-
"privacy": "private"
|
|
54389
|
-
},
|
|
54390
55409
|
{
|
|
54391
55410
|
"kind": "field",
|
|
54392
55411
|
"name": "hideOnScroll",
|
|
@@ -54454,47 +55473,20 @@
|
|
|
54454
55473
|
"default": "0"
|
|
54455
55474
|
},
|
|
54456
55475
|
{
|
|
54457
|
-
"kind": "
|
|
54458
|
-
"name": "
|
|
55476
|
+
"kind": "field",
|
|
55477
|
+
"name": "_scrollOriginIdReferenceController",
|
|
54459
55478
|
"privacy": "private",
|
|
54460
|
-
"
|
|
54461
|
-
"type": {
|
|
54462
|
-
"text": "void"
|
|
54463
|
-
}
|
|
54464
|
-
},
|
|
54465
|
-
"parameters": [
|
|
54466
|
-
{
|
|
54467
|
-
"name": "newValue",
|
|
54468
|
-
"type": {
|
|
54469
|
-
"text": "string | HTMLElement | Document"
|
|
54470
|
-
}
|
|
54471
|
-
},
|
|
54472
|
-
{
|
|
54473
|
-
"name": "oldValue",
|
|
54474
|
-
"type": {
|
|
54475
|
-
"text": "string | HTMLElement | Document"
|
|
54476
|
-
}
|
|
54477
|
-
}
|
|
54478
|
-
]
|
|
55479
|
+
"default": "new SbbIdReferenceController(this, 'scrollOrigin')"
|
|
54479
55480
|
},
|
|
54480
55481
|
{
|
|
54481
55482
|
"kind": "method",
|
|
54482
|
-
"name": "
|
|
55483
|
+
"name": "_updateScrollListener",
|
|
54483
55484
|
"privacy": "private",
|
|
54484
55485
|
"return": {
|
|
54485
55486
|
"type": {
|
|
54486
55487
|
"text": "void"
|
|
54487
55488
|
}
|
|
54488
|
-
}
|
|
54489
|
-
"parameters": [
|
|
54490
|
-
{
|
|
54491
|
-
"name": "scrollOrigin",
|
|
54492
|
-
"type": {
|
|
54493
|
-
"text": "string | HTMLElement | Document"
|
|
54494
|
-
}
|
|
54495
|
-
}
|
|
54496
|
-
],
|
|
54497
|
-
"description": "Sets the value of `_scrollElement` and `_scrollFunction` and possibly adds the function on the correct element."
|
|
55489
|
+
}
|
|
54498
55490
|
},
|
|
54499
55491
|
{
|
|
54500
55492
|
"kind": "method",
|
|
@@ -54621,10 +55613,10 @@
|
|
|
54621
55613
|
},
|
|
54622
55614
|
{
|
|
54623
55615
|
"name": "scroll-origin",
|
|
54624
|
-
"description": "The element's id or the element on which the scroll listener is attached.",
|
|
54625
55616
|
"type": {
|
|
54626
55617
|
"text": "string | HTMLElement | Document"
|
|
54627
55618
|
},
|
|
55619
|
+
"description": "The element's id or the element on which the scroll listener is attached.",
|
|
54628
55620
|
"fieldName": "scrollOrigin"
|
|
54629
55621
|
},
|
|
54630
55622
|
{
|
|
@@ -60430,22 +61422,13 @@
|
|
|
60430
61422
|
{
|
|
60431
61423
|
"kind": "field",
|
|
60432
61424
|
"name": "trigger",
|
|
60433
|
-
"privacy": "public",
|
|
60434
|
-
"description": "The element that will trigger the menu overlay.\nAccepts both a string (id of an element) or an HTML element.",
|
|
60435
|
-
"type": {
|
|
60436
|
-
"text": "string | HTMLElement | null"
|
|
60437
|
-
},
|
|
60438
|
-
"attribute": "trigger",
|
|
60439
|
-
"default": "null"
|
|
60440
|
-
},
|
|
60441
|
-
{
|
|
60442
|
-
"kind": "field",
|
|
60443
|
-
"name": "_trigger",
|
|
60444
61425
|
"type": {
|
|
60445
61426
|
"text": "string | HTMLElement | null"
|
|
60446
61427
|
},
|
|
60447
|
-
"privacy": "
|
|
60448
|
-
"default": "null"
|
|
61428
|
+
"privacy": "public",
|
|
61429
|
+
"default": "null",
|
|
61430
|
+
"description": "The element that will trigger the menu overlay.\nAccepts both a string (id of an element) or an HTML element.",
|
|
61431
|
+
"attribute": "trigger"
|
|
60449
61432
|
},
|
|
60450
61433
|
{
|
|
60451
61434
|
"kind": "field",
|
|
@@ -60477,20 +61460,26 @@
|
|
|
60477
61460
|
},
|
|
60478
61461
|
{
|
|
60479
61462
|
"kind": "field",
|
|
60480
|
-
"name": "
|
|
61463
|
+
"name": "_triggerAbortController",
|
|
60481
61464
|
"type": {
|
|
60482
|
-
"text": "
|
|
61465
|
+
"text": "AbortController"
|
|
60483
61466
|
},
|
|
61467
|
+
"privacy": "private"
|
|
61468
|
+
},
|
|
61469
|
+
{
|
|
61470
|
+
"kind": "field",
|
|
61471
|
+
"name": "_triggerIdReferenceController",
|
|
60484
61472
|
"privacy": "private",
|
|
60485
|
-
"default": "
|
|
61473
|
+
"default": "new SbbIdReferenceController(this, 'trigger')"
|
|
60486
61474
|
},
|
|
60487
61475
|
{
|
|
60488
61476
|
"kind": "field",
|
|
60489
|
-
"name": "
|
|
61477
|
+
"name": "_isPointerDownEventOnMenu",
|
|
60490
61478
|
"type": {
|
|
60491
|
-
"text": "
|
|
61479
|
+
"text": "boolean"
|
|
60492
61480
|
},
|
|
60493
|
-
"privacy": "private"
|
|
61481
|
+
"privacy": "private",
|
|
61482
|
+
"default": "false"
|
|
60494
61483
|
},
|
|
60495
61484
|
{
|
|
60496
61485
|
"kind": "field",
|
|
@@ -60502,7 +61491,7 @@
|
|
|
60502
61491
|
},
|
|
60503
61492
|
{
|
|
60504
61493
|
"kind": "field",
|
|
60505
|
-
"name": "
|
|
61494
|
+
"name": "_escapableOverlayController",
|
|
60506
61495
|
"privacy": "private",
|
|
60507
61496
|
"default": "new SbbEscapableOverlayController(this)"
|
|
60508
61497
|
},
|
|
@@ -60627,30 +61616,6 @@
|
|
|
60627
61616
|
}
|
|
60628
61617
|
]
|
|
60629
61618
|
},
|
|
60630
|
-
{
|
|
60631
|
-
"kind": "method",
|
|
60632
|
-
"name": "_removeTriggerClickListener",
|
|
60633
|
-
"privacy": "private",
|
|
60634
|
-
"return": {
|
|
60635
|
-
"type": {
|
|
60636
|
-
"text": "void"
|
|
60637
|
-
}
|
|
60638
|
-
},
|
|
60639
|
-
"parameters": [
|
|
60640
|
-
{
|
|
60641
|
-
"name": "newValue",
|
|
60642
|
-
"type": {
|
|
60643
|
-
"text": "string | HTMLElement | null"
|
|
60644
|
-
}
|
|
60645
|
-
},
|
|
60646
|
-
{
|
|
60647
|
-
"name": "oldValue",
|
|
60648
|
-
"type": {
|
|
60649
|
-
"text": "string | HTMLElement | null"
|
|
60650
|
-
}
|
|
60651
|
-
}
|
|
60652
|
-
]
|
|
60653
|
-
},
|
|
60654
61619
|
{
|
|
60655
61620
|
"kind": "method",
|
|
60656
61621
|
"name": "_checkListCase",
|
|
@@ -60671,21 +61636,13 @@
|
|
|
60671
61636
|
},
|
|
60672
61637
|
{
|
|
60673
61638
|
"kind": "method",
|
|
60674
|
-
"name": "
|
|
61639
|
+
"name": "_configureTrigger",
|
|
60675
61640
|
"privacy": "private",
|
|
60676
61641
|
"return": {
|
|
60677
61642
|
"type": {
|
|
60678
61643
|
"text": "void"
|
|
60679
61644
|
}
|
|
60680
|
-
}
|
|
60681
|
-
"parameters": [
|
|
60682
|
-
{
|
|
60683
|
-
"name": "trigger",
|
|
60684
|
-
"type": {
|
|
60685
|
-
"text": "string | HTMLElement | null"
|
|
60686
|
-
}
|
|
60687
|
-
}
|
|
60688
|
-
]
|
|
61645
|
+
}
|
|
60689
61646
|
},
|
|
60690
61647
|
{
|
|
60691
61648
|
"kind": "method",
|
|
@@ -61053,10 +62010,11 @@
|
|
|
61053
62010
|
"attributes": [
|
|
61054
62011
|
{
|
|
61055
62012
|
"name": "trigger",
|
|
61056
|
-
"description": "The element that will trigger the menu overlay.\nAccepts both a string (id of an element) or an HTML element.",
|
|
61057
62013
|
"type": {
|
|
61058
62014
|
"text": "string | HTMLElement | null"
|
|
61059
62015
|
},
|
|
62016
|
+
"default": "null",
|
|
62017
|
+
"description": "The element that will trigger the menu overlay.\nAccepts both a string (id of an element) or an HTML element.",
|
|
61060
62018
|
"fieldName": "trigger"
|
|
61061
62019
|
},
|
|
61062
62020
|
{
|
|
@@ -62971,22 +63929,13 @@
|
|
|
62971
63929
|
{
|
|
62972
63930
|
"kind": "field",
|
|
62973
63931
|
"name": "trigger",
|
|
62974
|
-
"privacy": "public",
|
|
62975
|
-
"description": "The element that will trigger the navigation section.\nAccepts both a string (id of an element) or an HTML element.",
|
|
62976
|
-
"type": {
|
|
62977
|
-
"text": "string | HTMLElement | null"
|
|
62978
|
-
},
|
|
62979
|
-
"attribute": "trigger",
|
|
62980
|
-
"default": "null"
|
|
62981
|
-
},
|
|
62982
|
-
{
|
|
62983
|
-
"kind": "field",
|
|
62984
|
-
"name": "_trigger",
|
|
62985
63932
|
"type": {
|
|
62986
63933
|
"text": "string | HTMLElement | null"
|
|
62987
63934
|
},
|
|
62988
|
-
"privacy": "
|
|
62989
|
-
"default": "null"
|
|
63935
|
+
"privacy": "public",
|
|
63936
|
+
"default": "null",
|
|
63937
|
+
"description": "The element that will trigger the navigation section.\nAccepts both a string (id of an element) or an SbbNavigationButtonElement.",
|
|
63938
|
+
"attribute": "trigger"
|
|
62990
63939
|
},
|
|
62991
63940
|
{
|
|
62992
63941
|
"kind": "field",
|
|
@@ -63048,19 +63997,25 @@
|
|
|
63048
63997
|
"kind": "field",
|
|
63049
63998
|
"name": "_triggerElement",
|
|
63050
63999
|
"type": {
|
|
63051
|
-
"text": "
|
|
64000
|
+
"text": "HTMLElement | null"
|
|
63052
64001
|
},
|
|
63053
64002
|
"privacy": "private",
|
|
63054
64003
|
"default": "null"
|
|
63055
64004
|
},
|
|
63056
64005
|
{
|
|
63057
64006
|
"kind": "field",
|
|
63058
|
-
"name": "
|
|
64007
|
+
"name": "_triggerAbortController",
|
|
63059
64008
|
"type": {
|
|
63060
64009
|
"text": "AbortController"
|
|
63061
64010
|
},
|
|
63062
64011
|
"privacy": "private"
|
|
63063
64012
|
},
|
|
64013
|
+
{
|
|
64014
|
+
"kind": "field",
|
|
64015
|
+
"name": "_triggerIdReferenceController",
|
|
64016
|
+
"privacy": "private",
|
|
64017
|
+
"default": "new SbbIdReferenceController(this, 'trigger')"
|
|
64018
|
+
},
|
|
63064
64019
|
{
|
|
63065
64020
|
"kind": "field",
|
|
63066
64021
|
"name": "_windowEventsController",
|
|
@@ -63116,16 +64071,6 @@
|
|
|
63116
64071
|
}
|
|
63117
64072
|
}
|
|
63118
64073
|
},
|
|
63119
|
-
{
|
|
63120
|
-
"kind": "method",
|
|
63121
|
-
"name": "_setActiveNavigationAction",
|
|
63122
|
-
"privacy": "private",
|
|
63123
|
-
"return": {
|
|
63124
|
-
"type": {
|
|
63125
|
-
"text": "void"
|
|
63126
|
-
}
|
|
63127
|
-
}
|
|
63128
|
-
},
|
|
63129
64074
|
{
|
|
63130
64075
|
"kind": "method",
|
|
63131
64076
|
"name": "_closePreviousNavigationSection",
|
|
@@ -63149,42 +64094,28 @@
|
|
|
63149
64094
|
},
|
|
63150
64095
|
{
|
|
63151
64096
|
"kind": "method",
|
|
63152
|
-
"name": "
|
|
64097
|
+
"name": "_configureTrigger",
|
|
63153
64098
|
"privacy": "private",
|
|
63154
64099
|
"return": {
|
|
63155
64100
|
"type": {
|
|
63156
64101
|
"text": "void"
|
|
63157
64102
|
}
|
|
63158
|
-
}
|
|
63159
|
-
"parameters": [
|
|
63160
|
-
{
|
|
63161
|
-
"name": "newValue",
|
|
63162
|
-
"type": {
|
|
63163
|
-
"text": "string | HTMLElement | null"
|
|
63164
|
-
}
|
|
63165
|
-
},
|
|
63166
|
-
{
|
|
63167
|
-
"name": "oldValue",
|
|
63168
|
-
"type": {
|
|
63169
|
-
"text": "string | HTMLElement | null"
|
|
63170
|
-
}
|
|
63171
|
-
}
|
|
63172
|
-
]
|
|
64103
|
+
}
|
|
63173
64104
|
},
|
|
63174
64105
|
{
|
|
63175
64106
|
"kind": "method",
|
|
63176
|
-
"name": "
|
|
64107
|
+
"name": "_isNavigationButton",
|
|
63177
64108
|
"privacy": "private",
|
|
63178
64109
|
"return": {
|
|
63179
64110
|
"type": {
|
|
63180
|
-
"text": "
|
|
64111
|
+
"text": "trigger is SbbNavigationButtonElement"
|
|
63181
64112
|
}
|
|
63182
64113
|
},
|
|
63183
64114
|
"parameters": [
|
|
63184
64115
|
{
|
|
63185
64116
|
"name": "trigger",
|
|
63186
64117
|
"type": {
|
|
63187
|
-
"text": "
|
|
64118
|
+
"text": "HTMLElement | null"
|
|
63188
64119
|
}
|
|
63189
64120
|
}
|
|
63190
64121
|
]
|
|
@@ -63399,10 +64330,11 @@
|
|
|
63399
64330
|
},
|
|
63400
64331
|
{
|
|
63401
64332
|
"name": "trigger",
|
|
63402
|
-
"description": "The element that will trigger the navigation section.\nAccepts both a string (id of an element) or an HTML element.",
|
|
63403
64333
|
"type": {
|
|
63404
64334
|
"text": "string | HTMLElement | null"
|
|
63405
64335
|
},
|
|
64336
|
+
"default": "null",
|
|
64337
|
+
"description": "The element that will trigger the navigation section.\nAccepts both a string (id of an element) or an SbbNavigationButtonElement.",
|
|
63406
64338
|
"fieldName": "trigger"
|
|
63407
64339
|
},
|
|
63408
64340
|
{
|
|
@@ -63482,22 +64414,13 @@
|
|
|
63482
64414
|
{
|
|
63483
64415
|
"kind": "field",
|
|
63484
64416
|
"name": "trigger",
|
|
63485
|
-
"privacy": "public",
|
|
63486
|
-
"description": "The element that will trigger the navigation.\nAccepts both a string (id of an element) or an HTML element.",
|
|
63487
|
-
"type": {
|
|
63488
|
-
"text": "string | HTMLElement | null"
|
|
63489
|
-
},
|
|
63490
|
-
"attribute": "trigger",
|
|
63491
|
-
"default": "null"
|
|
63492
|
-
},
|
|
63493
|
-
{
|
|
63494
|
-
"kind": "field",
|
|
63495
|
-
"name": "_trigger",
|
|
63496
64417
|
"type": {
|
|
63497
64418
|
"text": "string | HTMLElement | null"
|
|
63498
64419
|
},
|
|
63499
|
-
"privacy": "
|
|
63500
|
-
"default": "null"
|
|
64420
|
+
"privacy": "public",
|
|
64421
|
+
"default": "null",
|
|
64422
|
+
"description": "The element that will trigger the navigation.\nAccepts both a string (id of an element) or an HTML element.",
|
|
64423
|
+
"attribute": "trigger"
|
|
63501
64424
|
},
|
|
63502
64425
|
{
|
|
63503
64426
|
"kind": "field",
|
|
@@ -63557,12 +64480,18 @@
|
|
|
63557
64480
|
},
|
|
63558
64481
|
{
|
|
63559
64482
|
"kind": "field",
|
|
63560
|
-
"name": "
|
|
64483
|
+
"name": "_triggerAbortController",
|
|
63561
64484
|
"type": {
|
|
63562
64485
|
"text": "AbortController"
|
|
63563
64486
|
},
|
|
63564
64487
|
"privacy": "private"
|
|
63565
64488
|
},
|
|
64489
|
+
{
|
|
64490
|
+
"kind": "field",
|
|
64491
|
+
"name": "_triggerIdReferenceController",
|
|
64492
|
+
"privacy": "private",
|
|
64493
|
+
"default": "new SbbIdReferenceController(this, 'trigger')"
|
|
64494
|
+
},
|
|
63566
64495
|
{
|
|
63567
64496
|
"kind": "field",
|
|
63568
64497
|
"name": "_language",
|
|
@@ -63577,7 +64506,7 @@
|
|
|
63577
64506
|
},
|
|
63578
64507
|
{
|
|
63579
64508
|
"kind": "field",
|
|
63580
|
-
"name": "
|
|
64509
|
+
"name": "_escapableOverlayController",
|
|
63581
64510
|
"privacy": "private",
|
|
63582
64511
|
"default": "new SbbEscapableOverlayController(this)"
|
|
63583
64512
|
},
|
|
@@ -63699,45 +64628,13 @@
|
|
|
63699
64628
|
},
|
|
63700
64629
|
{
|
|
63701
64630
|
"kind": "method",
|
|
63702
|
-
"name": "
|
|
63703
|
-
"privacy": "private",
|
|
63704
|
-
"return": {
|
|
63705
|
-
"type": {
|
|
63706
|
-
"text": "void"
|
|
63707
|
-
}
|
|
63708
|
-
},
|
|
63709
|
-
"parameters": [
|
|
63710
|
-
{
|
|
63711
|
-
"name": "newValue",
|
|
63712
|
-
"type": {
|
|
63713
|
-
"text": "string | HTMLElement | null"
|
|
63714
|
-
}
|
|
63715
|
-
},
|
|
63716
|
-
{
|
|
63717
|
-
"name": "oldValue",
|
|
63718
|
-
"type": {
|
|
63719
|
-
"text": "string | HTMLElement | null"
|
|
63720
|
-
}
|
|
63721
|
-
}
|
|
63722
|
-
]
|
|
63723
|
-
},
|
|
63724
|
-
{
|
|
63725
|
-
"kind": "method",
|
|
63726
|
-
"name": "_configure",
|
|
64631
|
+
"name": "_configureTrigger",
|
|
63727
64632
|
"privacy": "private",
|
|
63728
64633
|
"return": {
|
|
63729
64634
|
"type": {
|
|
63730
64635
|
"text": "void"
|
|
63731
64636
|
}
|
|
63732
|
-
}
|
|
63733
|
-
"parameters": [
|
|
63734
|
-
{
|
|
63735
|
-
"name": "trigger",
|
|
63736
|
-
"type": {
|
|
63737
|
-
"text": "string | HTMLElement | null"
|
|
63738
|
-
}
|
|
63739
|
-
}
|
|
63740
|
-
]
|
|
64637
|
+
}
|
|
63741
64638
|
},
|
|
63742
64639
|
{
|
|
63743
64640
|
"kind": "field",
|
|
@@ -64064,10 +64961,11 @@
|
|
|
64064
64961
|
"attributes": [
|
|
64065
64962
|
{
|
|
64066
64963
|
"name": "trigger",
|
|
64067
|
-
"description": "The element that will trigger the navigation.\nAccepts both a string (id of an element) or an HTML element.",
|
|
64068
64964
|
"type": {
|
|
64069
64965
|
"text": "string | HTMLElement | null"
|
|
64070
64966
|
},
|
|
64967
|
+
"default": "null",
|
|
64968
|
+
"description": "The element that will trigger the navigation.\nAccepts both a string (id of an element) or an HTML element.",
|
|
64071
64969
|
"fieldName": "trigger"
|
|
64072
64970
|
},
|
|
64073
64971
|
{
|
|
@@ -64381,7 +65279,7 @@
|
|
|
64381
65279
|
"privacy": "protected",
|
|
64382
65280
|
"return": {
|
|
64383
65281
|
"type": {
|
|
64384
|
-
"text": "
|
|
65282
|
+
"text": "SbbAutocompleteBaseElement | null"
|
|
64385
65283
|
}
|
|
64386
65284
|
},
|
|
64387
65285
|
"inheritedFrom": {
|
|
@@ -68253,14 +69151,6 @@
|
|
|
68253
69151
|
},
|
|
68254
69152
|
"privacy": "private"
|
|
68255
69153
|
},
|
|
68256
|
-
{
|
|
68257
|
-
"kind": "field",
|
|
68258
|
-
"name": "_triggerElement",
|
|
68259
|
-
"type": {
|
|
68260
|
-
"text": "HTMLElement | null | undefined"
|
|
68261
|
-
},
|
|
68262
|
-
"privacy": "private"
|
|
68263
|
-
},
|
|
68264
69154
|
{
|
|
68265
69155
|
"kind": "field",
|
|
68266
69156
|
"name": "_nextFocusedElement",
|
|
@@ -68296,12 +69186,35 @@
|
|
|
68296
69186
|
},
|
|
68297
69187
|
{
|
|
68298
69188
|
"kind": "field",
|
|
68299
|
-
"name": "
|
|
69189
|
+
"name": "_hoverTrigger",
|
|
69190
|
+
"type": {
|
|
69191
|
+
"text": "boolean"
|
|
69192
|
+
},
|
|
69193
|
+
"privacy": "private",
|
|
69194
|
+
"default": "false"
|
|
69195
|
+
},
|
|
69196
|
+
{
|
|
69197
|
+
"kind": "field",
|
|
69198
|
+
"name": "_triggerElement",
|
|
69199
|
+
"type": {
|
|
69200
|
+
"text": "HTMLElement | null | undefined"
|
|
69201
|
+
},
|
|
69202
|
+
"privacy": "private"
|
|
69203
|
+
},
|
|
69204
|
+
{
|
|
69205
|
+
"kind": "field",
|
|
69206
|
+
"name": "_triggerAbortController",
|
|
68300
69207
|
"type": {
|
|
68301
69208
|
"text": "AbortController"
|
|
68302
69209
|
},
|
|
68303
69210
|
"privacy": "private"
|
|
68304
69211
|
},
|
|
69212
|
+
{
|
|
69213
|
+
"kind": "field",
|
|
69214
|
+
"name": "_triggerIdReferenceController",
|
|
69215
|
+
"privacy": "private",
|
|
69216
|
+
"default": "new SbbIdReferenceController(this, 'trigger')"
|
|
69217
|
+
},
|
|
68305
69218
|
{
|
|
68306
69219
|
"kind": "field",
|
|
68307
69220
|
"name": "_openStateController",
|
|
@@ -68312,7 +69225,7 @@
|
|
|
68312
69225
|
},
|
|
68313
69226
|
{
|
|
68314
69227
|
"kind": "field",
|
|
68315
|
-
"name": "
|
|
69228
|
+
"name": "_escapableOverlayController",
|
|
68316
69229
|
"privacy": "private",
|
|
68317
69230
|
"default": "new SbbEscapableOverlayController(this)"
|
|
68318
69231
|
},
|
|
@@ -68322,15 +69235,6 @@
|
|
|
68322
69235
|
"privacy": "private",
|
|
68323
69236
|
"default": "new SbbFocusHandler()"
|
|
68324
69237
|
},
|
|
68325
|
-
{
|
|
68326
|
-
"kind": "field",
|
|
68327
|
-
"name": "_hoverTrigger",
|
|
68328
|
-
"type": {
|
|
68329
|
-
"text": "boolean"
|
|
68330
|
-
},
|
|
68331
|
-
"privacy": "private",
|
|
68332
|
-
"default": "false"
|
|
68333
|
-
},
|
|
68334
69238
|
{
|
|
68335
69239
|
"kind": "field",
|
|
68336
69240
|
"name": "_openTimeout",
|
|
@@ -68424,7 +69328,7 @@
|
|
|
68424
69328
|
},
|
|
68425
69329
|
{
|
|
68426
69330
|
"kind": "method",
|
|
68427
|
-
"name": "
|
|
69331
|
+
"name": "_configureTrigger",
|
|
68428
69332
|
"privacy": "private",
|
|
68429
69333
|
"return": {
|
|
68430
69334
|
"type": {
|
|
@@ -74809,9 +75713,9 @@
|
|
|
74809
75713
|
"privacy": "public",
|
|
74810
75714
|
"static": true,
|
|
74811
75715
|
"readonly": true,
|
|
74812
|
-
"default": "{ validate: 'validate', }",
|
|
75716
|
+
"default": "{ validate: 'validate', resizeChange: 'resizeChange', }",
|
|
74813
75717
|
"type": {
|
|
74814
|
-
"text": "{\n validate: 'validate',\n }"
|
|
75718
|
+
"text": "{\n validate: 'validate',\n resizeChange: 'resizeChange',\n }"
|
|
74815
75719
|
}
|
|
74816
75720
|
},
|
|
74817
75721
|
{
|
|
@@ -74842,6 +75746,12 @@
|
|
|
74842
75746
|
"privacy": "private",
|
|
74843
75747
|
"default": "null"
|
|
74844
75748
|
},
|
|
75749
|
+
{
|
|
75750
|
+
"kind": "field",
|
|
75751
|
+
"name": "_stepResizeObserver",
|
|
75752
|
+
"privacy": "private",
|
|
75753
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
|
|
75754
|
+
},
|
|
74845
75755
|
{
|
|
74846
75756
|
"kind": "field",
|
|
74847
75757
|
"name": "label",
|
|
@@ -74908,6 +75818,16 @@
|
|
|
74908
75818
|
}
|
|
74909
75819
|
]
|
|
74910
75820
|
},
|
|
75821
|
+
{
|
|
75822
|
+
"kind": "method",
|
|
75823
|
+
"name": "_onStepElementResize",
|
|
75824
|
+
"privacy": "private",
|
|
75825
|
+
"return": {
|
|
75826
|
+
"type": {
|
|
75827
|
+
"text": "void"
|
|
75828
|
+
}
|
|
75829
|
+
}
|
|
75830
|
+
},
|
|
74911
75831
|
{
|
|
74912
75832
|
"kind": "method",
|
|
74913
75833
|
"name": "_getStepLabel",
|
|
@@ -75205,6 +76125,24 @@
|
|
|
75205
76125
|
}
|
|
75206
76126
|
}
|
|
75207
76127
|
},
|
|
76128
|
+
{
|
|
76129
|
+
"kind": "method",
|
|
76130
|
+
"name": "_onSelectedStepResize",
|
|
76131
|
+
"privacy": "private",
|
|
76132
|
+
"return": {
|
|
76133
|
+
"type": {
|
|
76134
|
+
"text": "void"
|
|
76135
|
+
}
|
|
76136
|
+
},
|
|
76137
|
+
"parameters": [
|
|
76138
|
+
{
|
|
76139
|
+
"name": "e",
|
|
76140
|
+
"type": {
|
|
76141
|
+
"text": "CustomEvent<void>"
|
|
76142
|
+
}
|
|
76143
|
+
}
|
|
76144
|
+
]
|
|
76145
|
+
},
|
|
75208
76146
|
{
|
|
75209
76147
|
"kind": "method",
|
|
75210
76148
|
"name": "_configure",
|