@sbb-esta/lyne-elements-dev 4.13.0-dev.1780293195 → 4.13.0-dev.1780308350
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/core/mixins/form-associated-input-mixin.js +5 -0
- package/custom-elements.json +1280 -1190
- package/date-input/date-input.component.js +1 -1
- package/{date-input.component-e3c3CgE1.js → date-input.component-kYGldhkg.js} +8 -6
- package/date-input.js +1 -1
- package/date-input.pure.js +1 -1
- package/development/core/mixins/form-associated-input-mixin.d.ts +1 -0
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-input-mixin.js +6 -1
- package/development/date-input/date-input.component.d.ts.map +1 -1
- package/development/date-input/date-input.component.js +1 -1
- package/development/date-input.component-BBdsFSUJ.js +307 -0
- package/development/date-input.js +1 -1
- package/development/date-input.pure.js +1 -1
- package/development/time-input/time-input.component.d.ts +3 -1
- package/development/time-input/time-input.component.d.ts.map +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/time-input.component-BgsJfVZ1.js +198 -0
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/package.json +2 -2
- package/time-input/time-input.component.js +1 -1
- package/{time-input.component-I1it887_.js → time-input.component-DBXdyVPm.js} +15 -8
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/development/date-input.component-aFqmx0uy.js +0 -307
- package/development/time-input.component-BZ-9meEb.js +0 -191
package/custom-elements.json
CHANGED
|
@@ -11281,6 +11281,20 @@
|
|
|
11281
11281
|
"module": "core/mixins/form-associated-input-mixin.js"
|
|
11282
11282
|
}
|
|
11283
11283
|
},
|
|
11284
|
+
{
|
|
11285
|
+
"kind": "method",
|
|
11286
|
+
"name": "isSelected",
|
|
11287
|
+
"privacy": "protected",
|
|
11288
|
+
"return": {
|
|
11289
|
+
"type": {
|
|
11290
|
+
"text": "boolean"
|
|
11291
|
+
}
|
|
11292
|
+
},
|
|
11293
|
+
"inheritedFrom": {
|
|
11294
|
+
"name": "SbbFormAssociatedInputMixin",
|
|
11295
|
+
"module": "core/mixins/form-associated-input-mixin.js"
|
|
11296
|
+
}
|
|
11297
|
+
},
|
|
11284
11298
|
{
|
|
11285
11299
|
"kind": "method",
|
|
11286
11300
|
"name": "preparePastedText",
|
|
@@ -30138,6 +30152,48 @@
|
|
|
30138
30152
|
],
|
|
30139
30153
|
"description": "Validate input against the defined RegExps."
|
|
30140
30154
|
},
|
|
30155
|
+
{
|
|
30156
|
+
"kind": "method",
|
|
30157
|
+
"name": "_toTime",
|
|
30158
|
+
"privacy": "private",
|
|
30159
|
+
"return": {
|
|
30160
|
+
"type": {
|
|
30161
|
+
"text": "Time | null"
|
|
30162
|
+
}
|
|
30163
|
+
},
|
|
30164
|
+
"parameters": [
|
|
30165
|
+
{
|
|
30166
|
+
"name": "value",
|
|
30167
|
+
"type": {
|
|
30168
|
+
"text": "Date | null"
|
|
30169
|
+
}
|
|
30170
|
+
}
|
|
30171
|
+
]
|
|
30172
|
+
},
|
|
30173
|
+
{
|
|
30174
|
+
"kind": "method",
|
|
30175
|
+
"name": "_isSameTime",
|
|
30176
|
+
"privacy": "private",
|
|
30177
|
+
"return": {
|
|
30178
|
+
"type": {
|
|
30179
|
+
"text": "boolean"
|
|
30180
|
+
}
|
|
30181
|
+
},
|
|
30182
|
+
"parameters": [
|
|
30183
|
+
{
|
|
30184
|
+
"name": "time1",
|
|
30185
|
+
"type": {
|
|
30186
|
+
"text": "Time | null"
|
|
30187
|
+
}
|
|
30188
|
+
},
|
|
30189
|
+
{
|
|
30190
|
+
"name": "time2",
|
|
30191
|
+
"type": {
|
|
30192
|
+
"text": "Time | null"
|
|
30193
|
+
}
|
|
30194
|
+
}
|
|
30195
|
+
]
|
|
30196
|
+
},
|
|
30141
30197
|
{
|
|
30142
30198
|
"kind": "method",
|
|
30143
30199
|
"name": "_updateValueDateFormat",
|
|
@@ -30437,6 +30493,20 @@
|
|
|
30437
30493
|
"module": "core/mixins/form-associated-input-mixin.js"
|
|
30438
30494
|
}
|
|
30439
30495
|
},
|
|
30496
|
+
{
|
|
30497
|
+
"kind": "method",
|
|
30498
|
+
"name": "isSelected",
|
|
30499
|
+
"privacy": "protected",
|
|
30500
|
+
"return": {
|
|
30501
|
+
"type": {
|
|
30502
|
+
"text": "boolean"
|
|
30503
|
+
}
|
|
30504
|
+
},
|
|
30505
|
+
"inheritedFrom": {
|
|
30506
|
+
"name": "SbbFormAssociatedInputMixin",
|
|
30507
|
+
"module": "core/mixins/form-associated-input-mixin.js"
|
|
30508
|
+
}
|
|
30509
|
+
},
|
|
30440
30510
|
{
|
|
30441
30511
|
"kind": "method",
|
|
30442
30512
|
"name": "_requiresEmptyPatch",
|
|
@@ -60695,30 +60765,32 @@
|
|
|
60695
60765
|
},
|
|
60696
60766
|
{
|
|
60697
60767
|
"kind": "javascript-module",
|
|
60698
|
-
"path": "container/
|
|
60768
|
+
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
60699
60769
|
"declarations": [
|
|
60700
60770
|
{
|
|
60701
60771
|
"kind": "class",
|
|
60702
|
-
"description": "
|
|
60703
|
-
"name": "
|
|
60772
|
+
"description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
|
|
60773
|
+
"name": "SbbStickyBarElement",
|
|
60704
60774
|
"cssProperties": [
|
|
60705
60775
|
{
|
|
60706
|
-
"description": "
|
|
60707
|
-
"name": "--sbb-
|
|
60776
|
+
"description": "Block padding of the sticky bar.",
|
|
60777
|
+
"name": "--sbb-sticky-bar-padding-block",
|
|
60778
|
+
"default": "var(--sbb-spacing-responsive-xs)"
|
|
60779
|
+
},
|
|
60780
|
+
{
|
|
60781
|
+
"description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
|
|
60782
|
+
"name": "--sbb-sticky-bar-bottom-overlapping-height",
|
|
60783
|
+
"default": "0px"
|
|
60784
|
+
},
|
|
60785
|
+
{
|
|
60786
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
|
|
60787
|
+
"name": "--sbb-sticky-bar-z-index"
|
|
60708
60788
|
}
|
|
60709
60789
|
],
|
|
60710
60790
|
"slots": [
|
|
60711
60791
|
{
|
|
60712
|
-
"description": "Use the unnamed slot to add
|
|
60792
|
+
"description": "Use the unnamed slot to add content to the sticky bar.",
|
|
60713
60793
|
"name": ""
|
|
60714
|
-
},
|
|
60715
|
-
{
|
|
60716
|
-
"description": "The slot used by the sbb-sticky-bar component.",
|
|
60717
|
-
"name": "sticky-bar"
|
|
60718
|
-
},
|
|
60719
|
-
{
|
|
60720
|
-
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
60721
|
-
"name": "image"
|
|
60722
60794
|
}
|
|
60723
60795
|
],
|
|
60724
60796
|
"members": [
|
|
@@ -60731,7 +60803,7 @@
|
|
|
60731
60803
|
"privacy": "public",
|
|
60732
60804
|
"static": true,
|
|
60733
60805
|
"readonly": true,
|
|
60734
|
-
"default": "'sbb-
|
|
60806
|
+
"default": "'sbb-sticky-bar'",
|
|
60735
60807
|
"inheritedFrom": {
|
|
60736
60808
|
"name": "SbbElement",
|
|
60737
60809
|
"module": "core/base-elements/element.js"
|
|
@@ -60739,39 +60811,499 @@
|
|
|
60739
60811
|
},
|
|
60740
60812
|
{
|
|
60741
60813
|
"kind": "field",
|
|
60742
|
-
"name": "
|
|
60814
|
+
"name": "events",
|
|
60815
|
+
"privacy": "public",
|
|
60816
|
+
"static": true,
|
|
60817
|
+
"readonly": true,
|
|
60818
|
+
"default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
|
|
60743
60819
|
"type": {
|
|
60744
|
-
"text": "
|
|
60820
|
+
"text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
|
|
60821
|
+
}
|
|
60822
|
+
},
|
|
60823
|
+
{
|
|
60824
|
+
"kind": "field",
|
|
60825
|
+
"name": "color",
|
|
60826
|
+
"type": {
|
|
60827
|
+
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
60745
60828
|
},
|
|
60746
60829
|
"privacy": "public",
|
|
60747
|
-
"default": "
|
|
60748
|
-
"description": "
|
|
60749
|
-
"attribute": "
|
|
60830
|
+
"default": "null",
|
|
60831
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
60832
|
+
"attribute": "color",
|
|
60750
60833
|
"reflects": true
|
|
60751
60834
|
},
|
|
60752
60835
|
{
|
|
60753
60836
|
"kind": "field",
|
|
60754
|
-
"name": "
|
|
60837
|
+
"name": "size",
|
|
60755
60838
|
"type": {
|
|
60756
|
-
"text": "
|
|
60839
|
+
"text": "'m' | 's'"
|
|
60757
60840
|
},
|
|
60758
60841
|
"privacy": "public",
|
|
60759
|
-
"
|
|
60760
|
-
"
|
|
60761
|
-
"attribute": "
|
|
60842
|
+
"description": "Size of the container.",
|
|
60843
|
+
"default": "'m' / 's' (lean)",
|
|
60844
|
+
"attribute": "size",
|
|
60762
60845
|
"reflects": true
|
|
60763
60846
|
},
|
|
60764
60847
|
{
|
|
60765
60848
|
"kind": "field",
|
|
60766
|
-
"name": "
|
|
60849
|
+
"name": "_state",
|
|
60850
|
+
"privacy": "private",
|
|
60851
|
+
"description": "The state of the component.",
|
|
60767
60852
|
"type": {
|
|
60768
|
-
"text": "
|
|
60853
|
+
"text": "StickyState"
|
|
60854
|
+
},
|
|
60855
|
+
"default": "'sticky'"
|
|
60856
|
+
},
|
|
60857
|
+
{
|
|
60858
|
+
"kind": "field",
|
|
60859
|
+
"name": "_stateInternal",
|
|
60860
|
+
"type": {
|
|
60861
|
+
"text": "StickyState"
|
|
60862
|
+
},
|
|
60863
|
+
"privacy": "private"
|
|
60864
|
+
},
|
|
60865
|
+
{
|
|
60866
|
+
"kind": "field",
|
|
60867
|
+
"name": "_intersector",
|
|
60868
|
+
"type": {
|
|
60869
|
+
"text": "HTMLSpanElement | undefined"
|
|
60870
|
+
},
|
|
60871
|
+
"privacy": "private"
|
|
60872
|
+
},
|
|
60873
|
+
{
|
|
60874
|
+
"kind": "field",
|
|
60875
|
+
"name": "_observer",
|
|
60876
|
+
"privacy": "private",
|
|
60877
|
+
"default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
|
|
60878
|
+
},
|
|
60879
|
+
{
|
|
60880
|
+
"kind": "method",
|
|
60881
|
+
"name": "_isZeroAnimationDuration",
|
|
60882
|
+
"privacy": "private",
|
|
60883
|
+
"return": {
|
|
60884
|
+
"type": {
|
|
60885
|
+
"text": "boolean"
|
|
60886
|
+
}
|
|
60887
|
+
}
|
|
60888
|
+
},
|
|
60889
|
+
{
|
|
60890
|
+
"kind": "method",
|
|
60891
|
+
"name": "_detectStickyState",
|
|
60892
|
+
"privacy": "private",
|
|
60893
|
+
"return": {
|
|
60894
|
+
"type": {
|
|
60895
|
+
"text": "void"
|
|
60896
|
+
}
|
|
60769
60897
|
},
|
|
60898
|
+
"parameters": [
|
|
60899
|
+
{
|
|
60900
|
+
"name": "entry",
|
|
60901
|
+
"type": {
|
|
60902
|
+
"text": "IntersectionObserverEntry"
|
|
60903
|
+
}
|
|
60904
|
+
}
|
|
60905
|
+
]
|
|
60906
|
+
},
|
|
60907
|
+
{
|
|
60908
|
+
"kind": "method",
|
|
60909
|
+
"name": "stick",
|
|
60770
60910
|
"privacy": "public",
|
|
60771
|
-
"
|
|
60772
|
-
|
|
60773
|
-
|
|
60774
|
-
|
|
60911
|
+
"return": {
|
|
60912
|
+
"type": {
|
|
60913
|
+
"text": "void"
|
|
60914
|
+
}
|
|
60915
|
+
},
|
|
60916
|
+
"description": "Animates from normal content flow position to `position: sticky`."
|
|
60917
|
+
},
|
|
60918
|
+
{
|
|
60919
|
+
"kind": "method",
|
|
60920
|
+
"name": "unstick",
|
|
60921
|
+
"privacy": "public",
|
|
60922
|
+
"return": {
|
|
60923
|
+
"type": {
|
|
60924
|
+
"text": "void"
|
|
60925
|
+
}
|
|
60926
|
+
},
|
|
60927
|
+
"description": "Animates `position: sticky` to normal content flow position."
|
|
60928
|
+
},
|
|
60929
|
+
{
|
|
60930
|
+
"kind": "method",
|
|
60931
|
+
"name": "_stickyCallback",
|
|
60932
|
+
"privacy": "private",
|
|
60933
|
+
"return": {
|
|
60934
|
+
"type": {
|
|
60935
|
+
"text": "void"
|
|
60936
|
+
}
|
|
60937
|
+
}
|
|
60938
|
+
},
|
|
60939
|
+
{
|
|
60940
|
+
"kind": "method",
|
|
60941
|
+
"name": "_unstickyCallback",
|
|
60942
|
+
"privacy": "private",
|
|
60943
|
+
"return": {
|
|
60944
|
+
"type": {
|
|
60945
|
+
"text": "void"
|
|
60946
|
+
}
|
|
60947
|
+
}
|
|
60948
|
+
},
|
|
60949
|
+
{
|
|
60950
|
+
"kind": "method",
|
|
60951
|
+
"name": "_onAnimationEnd",
|
|
60952
|
+
"privacy": "private",
|
|
60953
|
+
"return": {
|
|
60954
|
+
"type": {
|
|
60955
|
+
"text": "void"
|
|
60956
|
+
}
|
|
60957
|
+
},
|
|
60958
|
+
"parameters": [
|
|
60959
|
+
{
|
|
60960
|
+
"name": "event",
|
|
60961
|
+
"type": {
|
|
60962
|
+
"text": "AnimationEvent"
|
|
60963
|
+
}
|
|
60964
|
+
}
|
|
60965
|
+
]
|
|
60966
|
+
},
|
|
60967
|
+
{
|
|
60968
|
+
"kind": "method",
|
|
60969
|
+
"name": "_dispatchBeforeStickEvent",
|
|
60970
|
+
"privacy": "private",
|
|
60971
|
+
"return": {
|
|
60972
|
+
"type": {
|
|
60973
|
+
"text": "boolean"
|
|
60974
|
+
}
|
|
60975
|
+
}
|
|
60976
|
+
},
|
|
60977
|
+
{
|
|
60978
|
+
"kind": "method",
|
|
60979
|
+
"name": "_dispatchBeforeUnStickEvent",
|
|
60980
|
+
"privacy": "private",
|
|
60981
|
+
"return": {
|
|
60982
|
+
"type": {
|
|
60983
|
+
"text": "boolean"
|
|
60984
|
+
}
|
|
60985
|
+
}
|
|
60986
|
+
},
|
|
60987
|
+
{
|
|
60988
|
+
"kind": "field",
|
|
60989
|
+
"name": "_updatePromise",
|
|
60990
|
+
"privacy": "private",
|
|
60991
|
+
"inheritedFrom": {
|
|
60992
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
60993
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
60994
|
+
}
|
|
60995
|
+
},
|
|
60996
|
+
{
|
|
60997
|
+
"kind": "field",
|
|
60998
|
+
"name": "_updateResolve",
|
|
60999
|
+
"privacy": "private",
|
|
61000
|
+
"inheritedFrom": {
|
|
61001
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
61002
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
61003
|
+
}
|
|
61004
|
+
},
|
|
61005
|
+
{
|
|
61006
|
+
"kind": "method",
|
|
61007
|
+
"name": "startUpdate",
|
|
61008
|
+
"privacy": "protected",
|
|
61009
|
+
"return": {
|
|
61010
|
+
"type": {
|
|
61011
|
+
"text": "void"
|
|
61012
|
+
}
|
|
61013
|
+
},
|
|
61014
|
+
"inheritedFrom": {
|
|
61015
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
61016
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
61017
|
+
}
|
|
61018
|
+
},
|
|
61019
|
+
{
|
|
61020
|
+
"kind": "method",
|
|
61021
|
+
"name": "completeUpdate",
|
|
61022
|
+
"privacy": "protected",
|
|
61023
|
+
"return": {
|
|
61024
|
+
"type": {
|
|
61025
|
+
"text": "void"
|
|
61026
|
+
}
|
|
61027
|
+
},
|
|
61028
|
+
"inheritedFrom": {
|
|
61029
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
61030
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
61031
|
+
}
|
|
61032
|
+
},
|
|
61033
|
+
{
|
|
61034
|
+
"kind": "method",
|
|
61035
|
+
"name": "getUpdateComplete",
|
|
61036
|
+
"privacy": "protected",
|
|
61037
|
+
"return": {
|
|
61038
|
+
"type": {
|
|
61039
|
+
"text": "Promise<boolean>"
|
|
61040
|
+
}
|
|
61041
|
+
},
|
|
61042
|
+
"inheritedFrom": {
|
|
61043
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
61044
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
61045
|
+
}
|
|
61046
|
+
},
|
|
61047
|
+
{
|
|
61048
|
+
"kind": "field",
|
|
61049
|
+
"name": "_hydrationRequired",
|
|
61050
|
+
"type": {
|
|
61051
|
+
"text": "boolean"
|
|
61052
|
+
},
|
|
61053
|
+
"privacy": "private",
|
|
61054
|
+
"default": "!!this.shadowRoot",
|
|
61055
|
+
"inheritedFrom": {
|
|
61056
|
+
"name": "SbbHydrationMixin",
|
|
61057
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
61058
|
+
}
|
|
61059
|
+
},
|
|
61060
|
+
{
|
|
61061
|
+
"kind": "field",
|
|
61062
|
+
"name": "_hydrationComplete",
|
|
61063
|
+
"privacy": "private",
|
|
61064
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
61065
|
+
"inheritedFrom": {
|
|
61066
|
+
"name": "SbbHydrationMixin",
|
|
61067
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
61068
|
+
}
|
|
61069
|
+
},
|
|
61070
|
+
{
|
|
61071
|
+
"kind": "field",
|
|
61072
|
+
"name": "_resolveHydration",
|
|
61073
|
+
"type": {
|
|
61074
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
61075
|
+
},
|
|
61076
|
+
"privacy": "private",
|
|
61077
|
+
"inheritedFrom": {
|
|
61078
|
+
"name": "SbbHydrationMixin",
|
|
61079
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
61080
|
+
}
|
|
61081
|
+
},
|
|
61082
|
+
{
|
|
61083
|
+
"kind": "field",
|
|
61084
|
+
"name": "hydrationRequired",
|
|
61085
|
+
"type": {
|
|
61086
|
+
"text": "boolean"
|
|
61087
|
+
},
|
|
61088
|
+
"privacy": "protected",
|
|
61089
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
61090
|
+
"readonly": true,
|
|
61091
|
+
"inheritedFrom": {
|
|
61092
|
+
"name": "SbbHydrationMixin",
|
|
61093
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
61094
|
+
},
|
|
61095
|
+
"default": "!!this.shadowRoot"
|
|
61096
|
+
},
|
|
61097
|
+
{
|
|
61098
|
+
"kind": "method",
|
|
61099
|
+
"name": "toggleState",
|
|
61100
|
+
"privacy": "protected",
|
|
61101
|
+
"return": {
|
|
61102
|
+
"type": {
|
|
61103
|
+
"text": "void"
|
|
61104
|
+
}
|
|
61105
|
+
},
|
|
61106
|
+
"parameters": [
|
|
61107
|
+
{
|
|
61108
|
+
"name": "value",
|
|
61109
|
+
"type": {
|
|
61110
|
+
"text": "string"
|
|
61111
|
+
}
|
|
61112
|
+
},
|
|
61113
|
+
{
|
|
61114
|
+
"name": "force",
|
|
61115
|
+
"optional": true,
|
|
61116
|
+
"type": {
|
|
61117
|
+
"text": "boolean"
|
|
61118
|
+
}
|
|
61119
|
+
}
|
|
61120
|
+
],
|
|
61121
|
+
"inheritedFrom": {
|
|
61122
|
+
"name": "SbbElementInternalsMixin",
|
|
61123
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
61124
|
+
}
|
|
61125
|
+
},
|
|
61126
|
+
{
|
|
61127
|
+
"kind": "field",
|
|
61128
|
+
"name": "['_$sbbElement$']",
|
|
61129
|
+
"type": {
|
|
61130
|
+
"text": "boolean"
|
|
61131
|
+
},
|
|
61132
|
+
"privacy": "public",
|
|
61133
|
+
"static": true,
|
|
61134
|
+
"default": "true",
|
|
61135
|
+
"inheritedFrom": {
|
|
61136
|
+
"name": "SbbElement",
|
|
61137
|
+
"module": "core/base-elements/element.js"
|
|
61138
|
+
}
|
|
61139
|
+
},
|
|
61140
|
+
{
|
|
61141
|
+
"kind": "field",
|
|
61142
|
+
"name": "_controllers",
|
|
61143
|
+
"type": {
|
|
61144
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
61145
|
+
},
|
|
61146
|
+
"privacy": "private",
|
|
61147
|
+
"inheritedFrom": {
|
|
61148
|
+
"name": "SbbElement",
|
|
61149
|
+
"module": "core/base-elements/element.js"
|
|
61150
|
+
}
|
|
61151
|
+
}
|
|
61152
|
+
],
|
|
61153
|
+
"events": [
|
|
61154
|
+
{
|
|
61155
|
+
"name": "stick",
|
|
61156
|
+
"type": {
|
|
61157
|
+
"text": "Event"
|
|
61158
|
+
},
|
|
61159
|
+
"description": "Emits when the animation from normal content flow to `position: sticky` ends."
|
|
61160
|
+
},
|
|
61161
|
+
{
|
|
61162
|
+
"name": "unstick",
|
|
61163
|
+
"type": {
|
|
61164
|
+
"text": "Event"
|
|
61165
|
+
},
|
|
61166
|
+
"description": "Emits when the animation from `position: sticky` to normal content flow ends."
|
|
61167
|
+
},
|
|
61168
|
+
{
|
|
61169
|
+
"name": "beforestick",
|
|
61170
|
+
"type": {
|
|
61171
|
+
"text": "Event"
|
|
61172
|
+
},
|
|
61173
|
+
"description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
|
|
61174
|
+
},
|
|
61175
|
+
{
|
|
61176
|
+
"name": "beforeunstick",
|
|
61177
|
+
"type": {
|
|
61178
|
+
"text": "Event"
|
|
61179
|
+
},
|
|
61180
|
+
"description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
|
|
61181
|
+
}
|
|
61182
|
+
],
|
|
61183
|
+
"attributes": [
|
|
61184
|
+
{
|
|
61185
|
+
"name": "color",
|
|
61186
|
+
"type": {
|
|
61187
|
+
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
61188
|
+
},
|
|
61189
|
+
"default": "null",
|
|
61190
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
61191
|
+
"fieldName": "color"
|
|
61192
|
+
},
|
|
61193
|
+
{
|
|
61194
|
+
"name": "size",
|
|
61195
|
+
"type": {
|
|
61196
|
+
"text": "'m' | 's'"
|
|
61197
|
+
},
|
|
61198
|
+
"description": "Size of the container.",
|
|
61199
|
+
"default": "'m' / 's' (lean)",
|
|
61200
|
+
"fieldName": "size"
|
|
61201
|
+
}
|
|
61202
|
+
],
|
|
61203
|
+
"mixins": [
|
|
61204
|
+
{
|
|
61205
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
61206
|
+
"module": "core/mixins.js"
|
|
61207
|
+
}
|
|
61208
|
+
],
|
|
61209
|
+
"superclass": {
|
|
61210
|
+
"name": "SbbElement",
|
|
61211
|
+
"module": "core/base-elements.js"
|
|
61212
|
+
},
|
|
61213
|
+
"tagName": "sbb-sticky-bar",
|
|
61214
|
+
"customElement": true
|
|
61215
|
+
}
|
|
61216
|
+
],
|
|
61217
|
+
"exports": [
|
|
61218
|
+
{
|
|
61219
|
+
"kind": "js",
|
|
61220
|
+
"name": "SbbStickyBarElement",
|
|
61221
|
+
"declaration": {
|
|
61222
|
+
"name": "SbbStickyBarElement",
|
|
61223
|
+
"module": "container/sticky-bar/sticky-bar.component.js"
|
|
61224
|
+
}
|
|
61225
|
+
}
|
|
61226
|
+
]
|
|
61227
|
+
},
|
|
61228
|
+
{
|
|
61229
|
+
"kind": "javascript-module",
|
|
61230
|
+
"path": "container/container/container.component.js",
|
|
61231
|
+
"declarations": [
|
|
61232
|
+
{
|
|
61233
|
+
"kind": "class",
|
|
61234
|
+
"description": "It displays its content with the default page spacing.",
|
|
61235
|
+
"name": "SbbContainerElement",
|
|
61236
|
+
"cssProperties": [
|
|
61237
|
+
{
|
|
61238
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
61239
|
+
"name": "--sbb-page-spacing-padding"
|
|
61240
|
+
}
|
|
61241
|
+
],
|
|
61242
|
+
"slots": [
|
|
61243
|
+
{
|
|
61244
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
61245
|
+
"name": ""
|
|
61246
|
+
},
|
|
61247
|
+
{
|
|
61248
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
61249
|
+
"name": "sticky-bar"
|
|
61250
|
+
},
|
|
61251
|
+
{
|
|
61252
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
61253
|
+
"name": "image"
|
|
61254
|
+
}
|
|
61255
|
+
],
|
|
61256
|
+
"members": [
|
|
61257
|
+
{
|
|
61258
|
+
"kind": "field",
|
|
61259
|
+
"name": "elementName",
|
|
61260
|
+
"type": {
|
|
61261
|
+
"text": "string"
|
|
61262
|
+
},
|
|
61263
|
+
"privacy": "public",
|
|
61264
|
+
"static": true,
|
|
61265
|
+
"readonly": true,
|
|
61266
|
+
"default": "'sbb-container'",
|
|
61267
|
+
"inheritedFrom": {
|
|
61268
|
+
"name": "SbbElement",
|
|
61269
|
+
"module": "core/base-elements/element.js"
|
|
61270
|
+
}
|
|
61271
|
+
},
|
|
61272
|
+
{
|
|
61273
|
+
"kind": "field",
|
|
61274
|
+
"name": "expanded",
|
|
61275
|
+
"type": {
|
|
61276
|
+
"text": "boolean"
|
|
61277
|
+
},
|
|
61278
|
+
"privacy": "public",
|
|
61279
|
+
"default": "false",
|
|
61280
|
+
"description": "Whether the container is expanded.",
|
|
61281
|
+
"attribute": "expanded",
|
|
61282
|
+
"reflects": true
|
|
61283
|
+
},
|
|
61284
|
+
{
|
|
61285
|
+
"kind": "field",
|
|
61286
|
+
"name": "backgroundExpanded",
|
|
61287
|
+
"type": {
|
|
61288
|
+
"text": "boolean"
|
|
61289
|
+
},
|
|
61290
|
+
"privacy": "public",
|
|
61291
|
+
"default": "false",
|
|
61292
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
61293
|
+
"attribute": "background-expanded",
|
|
61294
|
+
"reflects": true
|
|
61295
|
+
},
|
|
61296
|
+
{
|
|
61297
|
+
"kind": "field",
|
|
61298
|
+
"name": "color",
|
|
61299
|
+
"type": {
|
|
61300
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
61301
|
+
},
|
|
61302
|
+
"privacy": "public",
|
|
61303
|
+
"default": "'white'",
|
|
61304
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
61305
|
+
"attribute": "color",
|
|
61306
|
+
"reflects": true
|
|
60775
61307
|
},
|
|
60776
61308
|
{
|
|
60777
61309
|
"kind": "field",
|
|
@@ -61819,468 +62351,6 @@
|
|
|
61819
62351
|
}
|
|
61820
62352
|
]
|
|
61821
62353
|
},
|
|
61822
|
-
{
|
|
61823
|
-
"kind": "javascript-module",
|
|
61824
|
-
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
61825
|
-
"declarations": [
|
|
61826
|
-
{
|
|
61827
|
-
"kind": "class",
|
|
61828
|
-
"description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
|
|
61829
|
-
"name": "SbbStickyBarElement",
|
|
61830
|
-
"cssProperties": [
|
|
61831
|
-
{
|
|
61832
|
-
"description": "Block padding of the sticky bar.",
|
|
61833
|
-
"name": "--sbb-sticky-bar-padding-block",
|
|
61834
|
-
"default": "var(--sbb-spacing-responsive-xs)"
|
|
61835
|
-
},
|
|
61836
|
-
{
|
|
61837
|
-
"description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
|
|
61838
|
-
"name": "--sbb-sticky-bar-bottom-overlapping-height",
|
|
61839
|
-
"default": "0px"
|
|
61840
|
-
},
|
|
61841
|
-
{
|
|
61842
|
-
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
|
|
61843
|
-
"name": "--sbb-sticky-bar-z-index"
|
|
61844
|
-
}
|
|
61845
|
-
],
|
|
61846
|
-
"slots": [
|
|
61847
|
-
{
|
|
61848
|
-
"description": "Use the unnamed slot to add content to the sticky bar.",
|
|
61849
|
-
"name": ""
|
|
61850
|
-
}
|
|
61851
|
-
],
|
|
61852
|
-
"members": [
|
|
61853
|
-
{
|
|
61854
|
-
"kind": "field",
|
|
61855
|
-
"name": "elementName",
|
|
61856
|
-
"type": {
|
|
61857
|
-
"text": "string"
|
|
61858
|
-
},
|
|
61859
|
-
"privacy": "public",
|
|
61860
|
-
"static": true,
|
|
61861
|
-
"readonly": true,
|
|
61862
|
-
"default": "'sbb-sticky-bar'",
|
|
61863
|
-
"inheritedFrom": {
|
|
61864
|
-
"name": "SbbElement",
|
|
61865
|
-
"module": "core/base-elements/element.js"
|
|
61866
|
-
}
|
|
61867
|
-
},
|
|
61868
|
-
{
|
|
61869
|
-
"kind": "field",
|
|
61870
|
-
"name": "events",
|
|
61871
|
-
"privacy": "public",
|
|
61872
|
-
"static": true,
|
|
61873
|
-
"readonly": true,
|
|
61874
|
-
"default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
|
|
61875
|
-
"type": {
|
|
61876
|
-
"text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
|
|
61877
|
-
}
|
|
61878
|
-
},
|
|
61879
|
-
{
|
|
61880
|
-
"kind": "field",
|
|
61881
|
-
"name": "color",
|
|
61882
|
-
"type": {
|
|
61883
|
-
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
61884
|
-
},
|
|
61885
|
-
"privacy": "public",
|
|
61886
|
-
"default": "null",
|
|
61887
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
61888
|
-
"attribute": "color",
|
|
61889
|
-
"reflects": true
|
|
61890
|
-
},
|
|
61891
|
-
{
|
|
61892
|
-
"kind": "field",
|
|
61893
|
-
"name": "size",
|
|
61894
|
-
"type": {
|
|
61895
|
-
"text": "'m' | 's'"
|
|
61896
|
-
},
|
|
61897
|
-
"privacy": "public",
|
|
61898
|
-
"description": "Size of the container.",
|
|
61899
|
-
"default": "'m' / 's' (lean)",
|
|
61900
|
-
"attribute": "size",
|
|
61901
|
-
"reflects": true
|
|
61902
|
-
},
|
|
61903
|
-
{
|
|
61904
|
-
"kind": "field",
|
|
61905
|
-
"name": "_state",
|
|
61906
|
-
"privacy": "private",
|
|
61907
|
-
"description": "The state of the component.",
|
|
61908
|
-
"type": {
|
|
61909
|
-
"text": "StickyState"
|
|
61910
|
-
},
|
|
61911
|
-
"default": "'sticky'"
|
|
61912
|
-
},
|
|
61913
|
-
{
|
|
61914
|
-
"kind": "field",
|
|
61915
|
-
"name": "_stateInternal",
|
|
61916
|
-
"type": {
|
|
61917
|
-
"text": "StickyState"
|
|
61918
|
-
},
|
|
61919
|
-
"privacy": "private"
|
|
61920
|
-
},
|
|
61921
|
-
{
|
|
61922
|
-
"kind": "field",
|
|
61923
|
-
"name": "_intersector",
|
|
61924
|
-
"type": {
|
|
61925
|
-
"text": "HTMLSpanElement | undefined"
|
|
61926
|
-
},
|
|
61927
|
-
"privacy": "private"
|
|
61928
|
-
},
|
|
61929
|
-
{
|
|
61930
|
-
"kind": "field",
|
|
61931
|
-
"name": "_observer",
|
|
61932
|
-
"privacy": "private",
|
|
61933
|
-
"default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
|
|
61934
|
-
},
|
|
61935
|
-
{
|
|
61936
|
-
"kind": "method",
|
|
61937
|
-
"name": "_isZeroAnimationDuration",
|
|
61938
|
-
"privacy": "private",
|
|
61939
|
-
"return": {
|
|
61940
|
-
"type": {
|
|
61941
|
-
"text": "boolean"
|
|
61942
|
-
}
|
|
61943
|
-
}
|
|
61944
|
-
},
|
|
61945
|
-
{
|
|
61946
|
-
"kind": "method",
|
|
61947
|
-
"name": "_detectStickyState",
|
|
61948
|
-
"privacy": "private",
|
|
61949
|
-
"return": {
|
|
61950
|
-
"type": {
|
|
61951
|
-
"text": "void"
|
|
61952
|
-
}
|
|
61953
|
-
},
|
|
61954
|
-
"parameters": [
|
|
61955
|
-
{
|
|
61956
|
-
"name": "entry",
|
|
61957
|
-
"type": {
|
|
61958
|
-
"text": "IntersectionObserverEntry"
|
|
61959
|
-
}
|
|
61960
|
-
}
|
|
61961
|
-
]
|
|
61962
|
-
},
|
|
61963
|
-
{
|
|
61964
|
-
"kind": "method",
|
|
61965
|
-
"name": "stick",
|
|
61966
|
-
"privacy": "public",
|
|
61967
|
-
"return": {
|
|
61968
|
-
"type": {
|
|
61969
|
-
"text": "void"
|
|
61970
|
-
}
|
|
61971
|
-
},
|
|
61972
|
-
"description": "Animates from normal content flow position to `position: sticky`."
|
|
61973
|
-
},
|
|
61974
|
-
{
|
|
61975
|
-
"kind": "method",
|
|
61976
|
-
"name": "unstick",
|
|
61977
|
-
"privacy": "public",
|
|
61978
|
-
"return": {
|
|
61979
|
-
"type": {
|
|
61980
|
-
"text": "void"
|
|
61981
|
-
}
|
|
61982
|
-
},
|
|
61983
|
-
"description": "Animates `position: sticky` to normal content flow position."
|
|
61984
|
-
},
|
|
61985
|
-
{
|
|
61986
|
-
"kind": "method",
|
|
61987
|
-
"name": "_stickyCallback",
|
|
61988
|
-
"privacy": "private",
|
|
61989
|
-
"return": {
|
|
61990
|
-
"type": {
|
|
61991
|
-
"text": "void"
|
|
61992
|
-
}
|
|
61993
|
-
}
|
|
61994
|
-
},
|
|
61995
|
-
{
|
|
61996
|
-
"kind": "method",
|
|
61997
|
-
"name": "_unstickyCallback",
|
|
61998
|
-
"privacy": "private",
|
|
61999
|
-
"return": {
|
|
62000
|
-
"type": {
|
|
62001
|
-
"text": "void"
|
|
62002
|
-
}
|
|
62003
|
-
}
|
|
62004
|
-
},
|
|
62005
|
-
{
|
|
62006
|
-
"kind": "method",
|
|
62007
|
-
"name": "_onAnimationEnd",
|
|
62008
|
-
"privacy": "private",
|
|
62009
|
-
"return": {
|
|
62010
|
-
"type": {
|
|
62011
|
-
"text": "void"
|
|
62012
|
-
}
|
|
62013
|
-
},
|
|
62014
|
-
"parameters": [
|
|
62015
|
-
{
|
|
62016
|
-
"name": "event",
|
|
62017
|
-
"type": {
|
|
62018
|
-
"text": "AnimationEvent"
|
|
62019
|
-
}
|
|
62020
|
-
}
|
|
62021
|
-
]
|
|
62022
|
-
},
|
|
62023
|
-
{
|
|
62024
|
-
"kind": "method",
|
|
62025
|
-
"name": "_dispatchBeforeStickEvent",
|
|
62026
|
-
"privacy": "private",
|
|
62027
|
-
"return": {
|
|
62028
|
-
"type": {
|
|
62029
|
-
"text": "boolean"
|
|
62030
|
-
}
|
|
62031
|
-
}
|
|
62032
|
-
},
|
|
62033
|
-
{
|
|
62034
|
-
"kind": "method",
|
|
62035
|
-
"name": "_dispatchBeforeUnStickEvent",
|
|
62036
|
-
"privacy": "private",
|
|
62037
|
-
"return": {
|
|
62038
|
-
"type": {
|
|
62039
|
-
"text": "boolean"
|
|
62040
|
-
}
|
|
62041
|
-
}
|
|
62042
|
-
},
|
|
62043
|
-
{
|
|
62044
|
-
"kind": "field",
|
|
62045
|
-
"name": "_updatePromise",
|
|
62046
|
-
"privacy": "private",
|
|
62047
|
-
"inheritedFrom": {
|
|
62048
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62049
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
62050
|
-
}
|
|
62051
|
-
},
|
|
62052
|
-
{
|
|
62053
|
-
"kind": "field",
|
|
62054
|
-
"name": "_updateResolve",
|
|
62055
|
-
"privacy": "private",
|
|
62056
|
-
"inheritedFrom": {
|
|
62057
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62058
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
62059
|
-
}
|
|
62060
|
-
},
|
|
62061
|
-
{
|
|
62062
|
-
"kind": "method",
|
|
62063
|
-
"name": "startUpdate",
|
|
62064
|
-
"privacy": "protected",
|
|
62065
|
-
"return": {
|
|
62066
|
-
"type": {
|
|
62067
|
-
"text": "void"
|
|
62068
|
-
}
|
|
62069
|
-
},
|
|
62070
|
-
"inheritedFrom": {
|
|
62071
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62072
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
62073
|
-
}
|
|
62074
|
-
},
|
|
62075
|
-
{
|
|
62076
|
-
"kind": "method",
|
|
62077
|
-
"name": "completeUpdate",
|
|
62078
|
-
"privacy": "protected",
|
|
62079
|
-
"return": {
|
|
62080
|
-
"type": {
|
|
62081
|
-
"text": "void"
|
|
62082
|
-
}
|
|
62083
|
-
},
|
|
62084
|
-
"inheritedFrom": {
|
|
62085
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62086
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
62087
|
-
}
|
|
62088
|
-
},
|
|
62089
|
-
{
|
|
62090
|
-
"kind": "method",
|
|
62091
|
-
"name": "getUpdateComplete",
|
|
62092
|
-
"privacy": "protected",
|
|
62093
|
-
"return": {
|
|
62094
|
-
"type": {
|
|
62095
|
-
"text": "Promise<boolean>"
|
|
62096
|
-
}
|
|
62097
|
-
},
|
|
62098
|
-
"inheritedFrom": {
|
|
62099
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62100
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
62101
|
-
}
|
|
62102
|
-
},
|
|
62103
|
-
{
|
|
62104
|
-
"kind": "field",
|
|
62105
|
-
"name": "_hydrationRequired",
|
|
62106
|
-
"type": {
|
|
62107
|
-
"text": "boolean"
|
|
62108
|
-
},
|
|
62109
|
-
"privacy": "private",
|
|
62110
|
-
"default": "!!this.shadowRoot",
|
|
62111
|
-
"inheritedFrom": {
|
|
62112
|
-
"name": "SbbHydrationMixin",
|
|
62113
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
62114
|
-
}
|
|
62115
|
-
},
|
|
62116
|
-
{
|
|
62117
|
-
"kind": "field",
|
|
62118
|
-
"name": "_hydrationComplete",
|
|
62119
|
-
"privacy": "private",
|
|
62120
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
62121
|
-
"inheritedFrom": {
|
|
62122
|
-
"name": "SbbHydrationMixin",
|
|
62123
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
62124
|
-
}
|
|
62125
|
-
},
|
|
62126
|
-
{
|
|
62127
|
-
"kind": "field",
|
|
62128
|
-
"name": "_resolveHydration",
|
|
62129
|
-
"type": {
|
|
62130
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
62131
|
-
},
|
|
62132
|
-
"privacy": "private",
|
|
62133
|
-
"inheritedFrom": {
|
|
62134
|
-
"name": "SbbHydrationMixin",
|
|
62135
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
62136
|
-
}
|
|
62137
|
-
},
|
|
62138
|
-
{
|
|
62139
|
-
"kind": "field",
|
|
62140
|
-
"name": "hydrationRequired",
|
|
62141
|
-
"type": {
|
|
62142
|
-
"text": "boolean"
|
|
62143
|
-
},
|
|
62144
|
-
"privacy": "protected",
|
|
62145
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
62146
|
-
"readonly": true,
|
|
62147
|
-
"inheritedFrom": {
|
|
62148
|
-
"name": "SbbHydrationMixin",
|
|
62149
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
62150
|
-
},
|
|
62151
|
-
"default": "!!this.shadowRoot"
|
|
62152
|
-
},
|
|
62153
|
-
{
|
|
62154
|
-
"kind": "method",
|
|
62155
|
-
"name": "toggleState",
|
|
62156
|
-
"privacy": "protected",
|
|
62157
|
-
"return": {
|
|
62158
|
-
"type": {
|
|
62159
|
-
"text": "void"
|
|
62160
|
-
}
|
|
62161
|
-
},
|
|
62162
|
-
"parameters": [
|
|
62163
|
-
{
|
|
62164
|
-
"name": "value",
|
|
62165
|
-
"type": {
|
|
62166
|
-
"text": "string"
|
|
62167
|
-
}
|
|
62168
|
-
},
|
|
62169
|
-
{
|
|
62170
|
-
"name": "force",
|
|
62171
|
-
"optional": true,
|
|
62172
|
-
"type": {
|
|
62173
|
-
"text": "boolean"
|
|
62174
|
-
}
|
|
62175
|
-
}
|
|
62176
|
-
],
|
|
62177
|
-
"inheritedFrom": {
|
|
62178
|
-
"name": "SbbElementInternalsMixin",
|
|
62179
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
62180
|
-
}
|
|
62181
|
-
},
|
|
62182
|
-
{
|
|
62183
|
-
"kind": "field",
|
|
62184
|
-
"name": "['_$sbbElement$']",
|
|
62185
|
-
"type": {
|
|
62186
|
-
"text": "boolean"
|
|
62187
|
-
},
|
|
62188
|
-
"privacy": "public",
|
|
62189
|
-
"static": true,
|
|
62190
|
-
"default": "true",
|
|
62191
|
-
"inheritedFrom": {
|
|
62192
|
-
"name": "SbbElement",
|
|
62193
|
-
"module": "core/base-elements/element.js"
|
|
62194
|
-
}
|
|
62195
|
-
},
|
|
62196
|
-
{
|
|
62197
|
-
"kind": "field",
|
|
62198
|
-
"name": "_controllers",
|
|
62199
|
-
"type": {
|
|
62200
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
62201
|
-
},
|
|
62202
|
-
"privacy": "private",
|
|
62203
|
-
"inheritedFrom": {
|
|
62204
|
-
"name": "SbbElement",
|
|
62205
|
-
"module": "core/base-elements/element.js"
|
|
62206
|
-
}
|
|
62207
|
-
}
|
|
62208
|
-
],
|
|
62209
|
-
"events": [
|
|
62210
|
-
{
|
|
62211
|
-
"name": "stick",
|
|
62212
|
-
"type": {
|
|
62213
|
-
"text": "Event"
|
|
62214
|
-
},
|
|
62215
|
-
"description": "Emits when the animation from normal content flow to `position: sticky` ends."
|
|
62216
|
-
},
|
|
62217
|
-
{
|
|
62218
|
-
"name": "unstick",
|
|
62219
|
-
"type": {
|
|
62220
|
-
"text": "Event"
|
|
62221
|
-
},
|
|
62222
|
-
"description": "Emits when the animation from `position: sticky` to normal content flow ends."
|
|
62223
|
-
},
|
|
62224
|
-
{
|
|
62225
|
-
"name": "beforestick",
|
|
62226
|
-
"type": {
|
|
62227
|
-
"text": "Event"
|
|
62228
|
-
},
|
|
62229
|
-
"description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
|
|
62230
|
-
},
|
|
62231
|
-
{
|
|
62232
|
-
"name": "beforeunstick",
|
|
62233
|
-
"type": {
|
|
62234
|
-
"text": "Event"
|
|
62235
|
-
},
|
|
62236
|
-
"description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
|
|
62237
|
-
}
|
|
62238
|
-
],
|
|
62239
|
-
"attributes": [
|
|
62240
|
-
{
|
|
62241
|
-
"name": "color",
|
|
62242
|
-
"type": {
|
|
62243
|
-
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
62244
|
-
},
|
|
62245
|
-
"default": "null",
|
|
62246
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
62247
|
-
"fieldName": "color"
|
|
62248
|
-
},
|
|
62249
|
-
{
|
|
62250
|
-
"name": "size",
|
|
62251
|
-
"type": {
|
|
62252
|
-
"text": "'m' | 's'"
|
|
62253
|
-
},
|
|
62254
|
-
"description": "Size of the container.",
|
|
62255
|
-
"default": "'m' / 's' (lean)",
|
|
62256
|
-
"fieldName": "size"
|
|
62257
|
-
}
|
|
62258
|
-
],
|
|
62259
|
-
"mixins": [
|
|
62260
|
-
{
|
|
62261
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
62262
|
-
"module": "core/mixins.js"
|
|
62263
|
-
}
|
|
62264
|
-
],
|
|
62265
|
-
"superclass": {
|
|
62266
|
-
"name": "SbbElement",
|
|
62267
|
-
"module": "core/base-elements.js"
|
|
62268
|
-
},
|
|
62269
|
-
"tagName": "sbb-sticky-bar",
|
|
62270
|
-
"customElement": true
|
|
62271
|
-
}
|
|
62272
|
-
],
|
|
62273
|
-
"exports": [
|
|
62274
|
-
{
|
|
62275
|
-
"kind": "js",
|
|
62276
|
-
"name": "SbbStickyBarElement",
|
|
62277
|
-
"declaration": {
|
|
62278
|
-
"name": "SbbStickyBarElement",
|
|
62279
|
-
"module": "container/sticky-bar/sticky-bar.component.js"
|
|
62280
|
-
}
|
|
62281
|
-
}
|
|
62282
|
-
]
|
|
62283
|
-
},
|
|
62284
62354
|
{
|
|
62285
62355
|
"kind": "javascript-module",
|
|
62286
62356
|
"path": "core/base-elements/action-base-element.js",
|
|
@@ -73197,6 +73267,16 @@
|
|
|
73197
73267
|
}
|
|
73198
73268
|
]
|
|
73199
73269
|
},
|
|
73270
|
+
{
|
|
73271
|
+
"kind": "method",
|
|
73272
|
+
"name": "isSelected",
|
|
73273
|
+
"privacy": "protected",
|
|
73274
|
+
"return": {
|
|
73275
|
+
"type": {
|
|
73276
|
+
"text": "boolean"
|
|
73277
|
+
}
|
|
73278
|
+
}
|
|
73279
|
+
},
|
|
73200
73280
|
{
|
|
73201
73281
|
"kind": "method",
|
|
73202
73282
|
"name": "preparePastedText",
|
|
@@ -73835,6 +73915,16 @@
|
|
|
73835
73915
|
"module": "core/mixins/form-associated-mixin.js"
|
|
73836
73916
|
}
|
|
73837
73917
|
},
|
|
73918
|
+
{
|
|
73919
|
+
"kind": "method",
|
|
73920
|
+
"name": "isSelected",
|
|
73921
|
+
"privacy": "protected",
|
|
73922
|
+
"return": {
|
|
73923
|
+
"type": {
|
|
73924
|
+
"text": "boolean"
|
|
73925
|
+
}
|
|
73926
|
+
}
|
|
73927
|
+
},
|
|
73838
73928
|
{
|
|
73839
73929
|
"kind": "method",
|
|
73840
73930
|
"name": "preparePastedText",
|
|
@@ -77919,6 +78009,26 @@
|
|
|
77919
78009
|
}
|
|
77920
78010
|
]
|
|
77921
78011
|
},
|
|
78012
|
+
{
|
|
78013
|
+
"kind": "javascript-module",
|
|
78014
|
+
"path": "core/styles/styles.js",
|
|
78015
|
+
"declarations": [
|
|
78016
|
+
{
|
|
78017
|
+
"kind": "variable",
|
|
78018
|
+
"name": "boxSizingStyles"
|
|
78019
|
+
}
|
|
78020
|
+
],
|
|
78021
|
+
"exports": [
|
|
78022
|
+
{
|
|
78023
|
+
"kind": "js",
|
|
78024
|
+
"name": "boxSizingStyles",
|
|
78025
|
+
"declaration": {
|
|
78026
|
+
"name": "boxSizingStyles",
|
|
78027
|
+
"module": "core/styles/styles.js"
|
|
78028
|
+
}
|
|
78029
|
+
}
|
|
78030
|
+
]
|
|
78031
|
+
},
|
|
77922
78032
|
{
|
|
77923
78033
|
"kind": "javascript-module",
|
|
77924
78034
|
"path": "core/testing/event-spy.js",
|
|
@@ -78316,26 +78426,6 @@
|
|
|
78316
78426
|
}
|
|
78317
78427
|
]
|
|
78318
78428
|
},
|
|
78319
|
-
{
|
|
78320
|
-
"kind": "javascript-module",
|
|
78321
|
-
"path": "core/styles/styles.js",
|
|
78322
|
-
"declarations": [
|
|
78323
|
-
{
|
|
78324
|
-
"kind": "variable",
|
|
78325
|
-
"name": "boxSizingStyles"
|
|
78326
|
-
}
|
|
78327
|
-
],
|
|
78328
|
-
"exports": [
|
|
78329
|
-
{
|
|
78330
|
-
"kind": "js",
|
|
78331
|
-
"name": "boxSizingStyles",
|
|
78332
|
-
"declaration": {
|
|
78333
|
-
"name": "boxSizingStyles",
|
|
78334
|
-
"module": "core/styles/styles.js"
|
|
78335
|
-
}
|
|
78336
|
-
}
|
|
78337
|
-
]
|
|
78338
|
-
},
|
|
78339
78429
|
{
|
|
78340
78430
|
"kind": "javascript-module",
|
|
78341
78431
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -131320,20 +131410,16 @@
|
|
|
131320
131410
|
},
|
|
131321
131411
|
{
|
|
131322
131412
|
"kind": "javascript-module",
|
|
131323
|
-
"path": "toggle/toggle
|
|
131413
|
+
"path": "toggle/toggle/toggle.component.js",
|
|
131324
131414
|
"declarations": [
|
|
131325
131415
|
{
|
|
131326
131416
|
"kind": "class",
|
|
131327
|
-
"description": "It
|
|
131328
|
-
"name": "
|
|
131417
|
+
"description": "It can be used as a container for two `sbb-toggle-option`, acting as a toggle button.",
|
|
131418
|
+
"name": "SbbToggleElement",
|
|
131329
131419
|
"slots": [
|
|
131330
131420
|
{
|
|
131331
|
-
"description": "Use the unnamed slot to add
|
|
131421
|
+
"description": "Use the unnamed slot to add `<sbb-toggle-option>` elements to the toggle.",
|
|
131332
131422
|
"name": ""
|
|
131333
|
-
},
|
|
131334
|
-
{
|
|
131335
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
131336
|
-
"name": "icon"
|
|
131337
131423
|
}
|
|
131338
131424
|
],
|
|
131339
131425
|
"members": [
|
|
@@ -131346,7 +131432,7 @@
|
|
|
131346
131432
|
"privacy": "public",
|
|
131347
131433
|
"static": true,
|
|
131348
131434
|
"readonly": true,
|
|
131349
|
-
"default": "'sbb-toggle
|
|
131435
|
+
"default": "'sbb-toggle'",
|
|
131350
131436
|
"inheritedFrom": {
|
|
131351
131437
|
"name": "SbbElement",
|
|
131352
131438
|
"module": "core/base-elements/element.js"
|
|
@@ -131361,18 +131447,41 @@
|
|
|
131361
131447
|
"privacy": "public",
|
|
131362
131448
|
"static": true,
|
|
131363
131449
|
"readonly": true,
|
|
131364
|
-
"default": "'
|
|
131450
|
+
"default": "'radiogroup'"
|
|
131365
131451
|
},
|
|
131366
131452
|
{
|
|
131367
131453
|
"kind": "field",
|
|
131368
|
-
"name": "
|
|
131454
|
+
"name": "events",
|
|
131455
|
+
"privacy": "public",
|
|
131456
|
+
"static": true,
|
|
131457
|
+
"readonly": true,
|
|
131458
|
+
"default": "{ change: 'change', }",
|
|
131459
|
+
"type": {
|
|
131460
|
+
"text": "{\n change: 'change',\n }"
|
|
131461
|
+
}
|
|
131462
|
+
},
|
|
131463
|
+
{
|
|
131464
|
+
"kind": "field",
|
|
131465
|
+
"name": "even",
|
|
131369
131466
|
"type": {
|
|
131370
131467
|
"text": "boolean"
|
|
131371
131468
|
},
|
|
131372
131469
|
"privacy": "public",
|
|
131373
131470
|
"default": "false",
|
|
131374
|
-
"description": "
|
|
131375
|
-
"attribute": "
|
|
131471
|
+
"description": "If true, set the width of the component fixed; if false,\nthe width is dynamic based on the label of the sbb-toggle-option.",
|
|
131472
|
+
"attribute": "even",
|
|
131473
|
+
"reflects": true
|
|
131474
|
+
},
|
|
131475
|
+
{
|
|
131476
|
+
"kind": "field",
|
|
131477
|
+
"name": "size",
|
|
131478
|
+
"type": {
|
|
131479
|
+
"text": "'s' | 'm'"
|
|
131480
|
+
},
|
|
131481
|
+
"privacy": "public",
|
|
131482
|
+
"description": "Size variant, either m or s.",
|
|
131483
|
+
"default": "'m' / 's' (lean)",
|
|
131484
|
+
"attribute": "size",
|
|
131376
131485
|
"reflects": true
|
|
131377
131486
|
},
|
|
131378
131487
|
{
|
|
@@ -131382,22 +131491,53 @@
|
|
|
131382
131491
|
"text": "(T = string) | null"
|
|
131383
131492
|
},
|
|
131384
131493
|
"privacy": "public",
|
|
131385
|
-
"
|
|
131386
|
-
"
|
|
131387
|
-
"
|
|
131494
|
+
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
131495
|
+
"attribute": "value",
|
|
131496
|
+
"inheritedFrom": {
|
|
131497
|
+
"name": "SbbFormAssociatedMixin",
|
|
131498
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131499
|
+
}
|
|
131388
131500
|
},
|
|
131389
131501
|
{
|
|
131390
131502
|
"kind": "field",
|
|
131391
|
-
"name": "
|
|
131503
|
+
"name": "_fallbackValue",
|
|
131392
131504
|
"type": {
|
|
131393
|
-
"text": "
|
|
131505
|
+
"text": "T | null"
|
|
131394
131506
|
},
|
|
131395
131507
|
"privacy": "private",
|
|
131396
131508
|
"default": "null"
|
|
131397
131509
|
},
|
|
131510
|
+
{
|
|
131511
|
+
"kind": "field",
|
|
131512
|
+
"name": "options",
|
|
131513
|
+
"type": {
|
|
131514
|
+
"text": "SbbToggleOptionElement<T>[]"
|
|
131515
|
+
},
|
|
131516
|
+
"privacy": "public",
|
|
131517
|
+
"description": "The child instances of sbb-toggle-option as an array.",
|
|
131518
|
+
"readonly": true
|
|
131519
|
+
},
|
|
131398
131520
|
{
|
|
131399
131521
|
"kind": "method",
|
|
131400
|
-
"name": "
|
|
131522
|
+
"name": "_readFormData",
|
|
131523
|
+
"privacy": "private",
|
|
131524
|
+
"return": {
|
|
131525
|
+
"type": {
|
|
131526
|
+
"text": "Promise<T>"
|
|
131527
|
+
}
|
|
131528
|
+
},
|
|
131529
|
+
"parameters": [
|
|
131530
|
+
{
|
|
131531
|
+
"name": "formData",
|
|
131532
|
+
"type": {
|
|
131533
|
+
"text": "FormData"
|
|
131534
|
+
}
|
|
131535
|
+
}
|
|
131536
|
+
]
|
|
131537
|
+
},
|
|
131538
|
+
{
|
|
131539
|
+
"kind": "method",
|
|
131540
|
+
"name": "_updateToggle",
|
|
131401
131541
|
"privacy": "private",
|
|
131402
131542
|
"return": {
|
|
131403
131543
|
"type": {
|
|
@@ -131407,7 +131547,25 @@
|
|
|
131407
131547
|
},
|
|
131408
131548
|
{
|
|
131409
131549
|
"kind": "method",
|
|
131410
|
-
"name": "
|
|
131550
|
+
"name": "_valueChanged",
|
|
131551
|
+
"privacy": "private",
|
|
131552
|
+
"return": {
|
|
131553
|
+
"type": {
|
|
131554
|
+
"text": "void"
|
|
131555
|
+
}
|
|
131556
|
+
},
|
|
131557
|
+
"parameters": [
|
|
131558
|
+
{
|
|
131559
|
+
"name": "value",
|
|
131560
|
+
"type": {
|
|
131561
|
+
"text": "T | null"
|
|
131562
|
+
}
|
|
131563
|
+
}
|
|
131564
|
+
]
|
|
131565
|
+
},
|
|
131566
|
+
{
|
|
131567
|
+
"kind": "method",
|
|
131568
|
+
"name": "_updateDisabled",
|
|
131411
131569
|
"privacy": "private",
|
|
131412
131570
|
"return": {
|
|
131413
131571
|
"type": {
|
|
@@ -131423,17 +131581,44 @@
|
|
|
131423
131581
|
"type": {
|
|
131424
131582
|
"text": "void"
|
|
131425
131583
|
}
|
|
131426
|
-
}
|
|
131584
|
+
},
|
|
131585
|
+
"description": "Called on user interaction (click or keyboard)"
|
|
131427
131586
|
},
|
|
131428
131587
|
{
|
|
131429
131588
|
"kind": "method",
|
|
131430
|
-
"name": "
|
|
131589
|
+
"name": "_handleKeyDown",
|
|
131431
131590
|
"privacy": "private",
|
|
131432
131591
|
"return": {
|
|
131433
131592
|
"type": {
|
|
131434
131593
|
"text": "void"
|
|
131435
131594
|
}
|
|
131436
|
-
}
|
|
131595
|
+
},
|
|
131596
|
+
"parameters": [
|
|
131597
|
+
{
|
|
131598
|
+
"name": "evt",
|
|
131599
|
+
"type": {
|
|
131600
|
+
"text": "KeyboardEvent"
|
|
131601
|
+
}
|
|
131602
|
+
}
|
|
131603
|
+
]
|
|
131604
|
+
},
|
|
131605
|
+
{
|
|
131606
|
+
"kind": "method",
|
|
131607
|
+
"name": "_selectAndFocusOption",
|
|
131608
|
+
"privacy": "private",
|
|
131609
|
+
"return": {
|
|
131610
|
+
"type": {
|
|
131611
|
+
"text": "void"
|
|
131612
|
+
}
|
|
131613
|
+
},
|
|
131614
|
+
"parameters": [
|
|
131615
|
+
{
|
|
131616
|
+
"name": "option",
|
|
131617
|
+
"type": {
|
|
131618
|
+
"text": "SbbToggleOptionElement<T> | undefined"
|
|
131619
|
+
}
|
|
131620
|
+
}
|
|
131621
|
+
]
|
|
131437
131622
|
},
|
|
131438
131623
|
{
|
|
131439
131624
|
"kind": "field",
|
|
@@ -131481,68 +131666,317 @@
|
|
|
131481
131666
|
},
|
|
131482
131667
|
{
|
|
131483
131668
|
"kind": "field",
|
|
131484
|
-
"name": "
|
|
131669
|
+
"name": "formAssociated",
|
|
131670
|
+
"type": {
|
|
131671
|
+
"text": "boolean"
|
|
131672
|
+
},
|
|
131673
|
+
"privacy": "public",
|
|
131674
|
+
"static": true,
|
|
131675
|
+
"default": "true",
|
|
131676
|
+
"inheritedFrom": {
|
|
131677
|
+
"name": "SbbFormAssociatedMixin",
|
|
131678
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131679
|
+
}
|
|
131680
|
+
},
|
|
131681
|
+
{
|
|
131682
|
+
"kind": "field",
|
|
131683
|
+
"name": "form",
|
|
131684
|
+
"type": {
|
|
131685
|
+
"text": "HTMLFormElement | null"
|
|
131686
|
+
},
|
|
131687
|
+
"privacy": "public",
|
|
131688
|
+
"description": "Returns the form owner of this element.",
|
|
131689
|
+
"readonly": true,
|
|
131690
|
+
"inheritedFrom": {
|
|
131691
|
+
"name": "SbbFormAssociatedMixin",
|
|
131692
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131693
|
+
}
|
|
131694
|
+
},
|
|
131695
|
+
{
|
|
131696
|
+
"kind": "field",
|
|
131697
|
+
"name": "name",
|
|
131698
|
+
"privacy": "public",
|
|
131699
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
131485
131700
|
"type": {
|
|
131486
131701
|
"text": "string"
|
|
131487
131702
|
},
|
|
131703
|
+
"attribute": "name",
|
|
131704
|
+
"inheritedFrom": {
|
|
131705
|
+
"name": "SbbFormAssociatedMixin",
|
|
131706
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131707
|
+
}
|
|
131708
|
+
},
|
|
131709
|
+
{
|
|
131710
|
+
"kind": "field",
|
|
131711
|
+
"name": "validity",
|
|
131712
|
+
"type": {
|
|
131713
|
+
"text": "ValidityState"
|
|
131714
|
+
},
|
|
131488
131715
|
"privacy": "public",
|
|
131489
|
-
"
|
|
131490
|
-
"
|
|
131491
|
-
"attribute": "icon-name",
|
|
131716
|
+
"description": "Returns the ValidityState object for this element.",
|
|
131717
|
+
"readonly": true,
|
|
131492
131718
|
"inheritedFrom": {
|
|
131493
|
-
"name": "
|
|
131494
|
-
"module": "
|
|
131719
|
+
"name": "SbbFormAssociatedMixin",
|
|
131720
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131721
|
+
}
|
|
131722
|
+
},
|
|
131723
|
+
{
|
|
131724
|
+
"kind": "field",
|
|
131725
|
+
"name": "validationMessage",
|
|
131726
|
+
"type": {
|
|
131727
|
+
"text": "string"
|
|
131728
|
+
},
|
|
131729
|
+
"privacy": "public",
|
|
131730
|
+
"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.",
|
|
131731
|
+
"readonly": true,
|
|
131732
|
+
"inheritedFrom": {
|
|
131733
|
+
"name": "SbbFormAssociatedMixin",
|
|
131734
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131735
|
+
}
|
|
131736
|
+
},
|
|
131737
|
+
{
|
|
131738
|
+
"kind": "field",
|
|
131739
|
+
"name": "willValidate",
|
|
131740
|
+
"type": {
|
|
131741
|
+
"text": "boolean"
|
|
131742
|
+
},
|
|
131743
|
+
"privacy": "public",
|
|
131744
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
131745
|
+
"readonly": true,
|
|
131746
|
+
"inheritedFrom": {
|
|
131747
|
+
"name": "SbbFormAssociatedMixin",
|
|
131748
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131749
|
+
}
|
|
131750
|
+
},
|
|
131751
|
+
{
|
|
131752
|
+
"kind": "field",
|
|
131753
|
+
"name": "_validityStates",
|
|
131754
|
+
"privacy": "private",
|
|
131755
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
131756
|
+
"inheritedFrom": {
|
|
131757
|
+
"name": "SbbFormAssociatedMixin",
|
|
131758
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131759
|
+
}
|
|
131760
|
+
},
|
|
131761
|
+
{
|
|
131762
|
+
"kind": "field",
|
|
131763
|
+
"name": "formDisabled",
|
|
131764
|
+
"type": {
|
|
131765
|
+
"text": "boolean"
|
|
131766
|
+
},
|
|
131767
|
+
"privacy": "protected",
|
|
131768
|
+
"default": "false",
|
|
131769
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
131770
|
+
"inheritedFrom": {
|
|
131771
|
+
"name": "SbbFormAssociatedMixin",
|
|
131772
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131495
131773
|
}
|
|
131496
131774
|
},
|
|
131497
131775
|
{
|
|
131498
131776
|
"kind": "method",
|
|
131499
|
-
"name": "
|
|
131777
|
+
"name": "checkValidity",
|
|
131778
|
+
"privacy": "public",
|
|
131779
|
+
"return": {
|
|
131780
|
+
"type": {
|
|
131781
|
+
"text": "boolean"
|
|
131782
|
+
}
|
|
131783
|
+
},
|
|
131784
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
131785
|
+
"inheritedFrom": {
|
|
131786
|
+
"name": "SbbFormAssociatedMixin",
|
|
131787
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131788
|
+
}
|
|
131789
|
+
},
|
|
131790
|
+
{
|
|
131791
|
+
"kind": "method",
|
|
131792
|
+
"name": "reportValidity",
|
|
131793
|
+
"privacy": "public",
|
|
131794
|
+
"return": {
|
|
131795
|
+
"type": {
|
|
131796
|
+
"text": "boolean"
|
|
131797
|
+
}
|
|
131798
|
+
},
|
|
131799
|
+
"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.",
|
|
131800
|
+
"inheritedFrom": {
|
|
131801
|
+
"name": "SbbFormAssociatedMixin",
|
|
131802
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131803
|
+
}
|
|
131804
|
+
},
|
|
131805
|
+
{
|
|
131806
|
+
"kind": "method",
|
|
131807
|
+
"name": "setCustomValidity",
|
|
131808
|
+
"privacy": "public",
|
|
131809
|
+
"return": {
|
|
131810
|
+
"type": {
|
|
131811
|
+
"text": "void"
|
|
131812
|
+
}
|
|
131813
|
+
},
|
|
131814
|
+
"parameters": [
|
|
131815
|
+
{
|
|
131816
|
+
"name": "message",
|
|
131817
|
+
"type": {
|
|
131818
|
+
"text": "string"
|
|
131819
|
+
}
|
|
131820
|
+
}
|
|
131821
|
+
],
|
|
131822
|
+
"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.",
|
|
131823
|
+
"inheritedFrom": {
|
|
131824
|
+
"name": "SbbFormAssociatedMixin",
|
|
131825
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131826
|
+
}
|
|
131827
|
+
},
|
|
131828
|
+
{
|
|
131829
|
+
"kind": "method",
|
|
131830
|
+
"name": "_hasDisabledAncestor",
|
|
131831
|
+
"privacy": "private",
|
|
131832
|
+
"return": {
|
|
131833
|
+
"type": {
|
|
131834
|
+
"text": "boolean"
|
|
131835
|
+
}
|
|
131836
|
+
},
|
|
131837
|
+
"inheritedFrom": {
|
|
131838
|
+
"name": "SbbFormAssociatedMixin",
|
|
131839
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131840
|
+
}
|
|
131841
|
+
},
|
|
131842
|
+
{
|
|
131843
|
+
"kind": "method",
|
|
131844
|
+
"name": "updateFormValue",
|
|
131500
131845
|
"privacy": "protected",
|
|
131501
131846
|
"return": {
|
|
131502
131847
|
"type": {
|
|
131503
|
-
"text": "
|
|
131848
|
+
"text": "void"
|
|
131849
|
+
}
|
|
131850
|
+
},
|
|
131851
|
+
"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",
|
|
131852
|
+
"inheritedFrom": {
|
|
131853
|
+
"name": "SbbFormAssociatedMixin",
|
|
131854
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131855
|
+
}
|
|
131856
|
+
},
|
|
131857
|
+
{
|
|
131858
|
+
"kind": "method",
|
|
131859
|
+
"name": "formState",
|
|
131860
|
+
"privacy": "protected",
|
|
131861
|
+
"return": {
|
|
131862
|
+
"type": {
|
|
131863
|
+
"text": "FormRestoreState"
|
|
131864
|
+
}
|
|
131865
|
+
},
|
|
131866
|
+
"inheritedFrom": {
|
|
131867
|
+
"name": "SbbFormAssociatedMixin",
|
|
131868
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131869
|
+
}
|
|
131870
|
+
},
|
|
131871
|
+
{
|
|
131872
|
+
"kind": "method",
|
|
131873
|
+
"name": "setValidityFlag",
|
|
131874
|
+
"privacy": "protected",
|
|
131875
|
+
"return": {
|
|
131876
|
+
"type": {
|
|
131877
|
+
"text": "void"
|
|
131504
131878
|
}
|
|
131505
131879
|
},
|
|
131506
131880
|
"parameters": [
|
|
131507
131881
|
{
|
|
131508
|
-
"name": "
|
|
131509
|
-
"
|
|
131882
|
+
"name": "flag",
|
|
131883
|
+
"type": {
|
|
131884
|
+
"text": "T"
|
|
131885
|
+
}
|
|
131886
|
+
},
|
|
131887
|
+
{
|
|
131888
|
+
"name": "message",
|
|
131510
131889
|
"type": {
|
|
131511
131890
|
"text": "string"
|
|
131512
131891
|
}
|
|
131892
|
+
},
|
|
131893
|
+
{
|
|
131894
|
+
"name": "flagValue",
|
|
131895
|
+
"optional": true,
|
|
131896
|
+
"type": {
|
|
131897
|
+
"text": "ValidityStateFlags[T]"
|
|
131898
|
+
}
|
|
131513
131899
|
}
|
|
131514
131900
|
],
|
|
131901
|
+
"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).",
|
|
131515
131902
|
"inheritedFrom": {
|
|
131516
|
-
"name": "
|
|
131517
|
-
"module": "
|
|
131903
|
+
"name": "SbbFormAssociatedMixin",
|
|
131904
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131518
131905
|
}
|
|
131519
131906
|
},
|
|
131520
131907
|
{
|
|
131521
131908
|
"kind": "method",
|
|
131522
|
-
"name": "
|
|
131909
|
+
"name": "removeValidityFlag",
|
|
131523
131910
|
"privacy": "protected",
|
|
131524
131911
|
"return": {
|
|
131525
131912
|
"type": {
|
|
131526
|
-
"text": "
|
|
131913
|
+
"text": "void"
|
|
131527
131914
|
}
|
|
131528
131915
|
},
|
|
131916
|
+
"parameters": [
|
|
131917
|
+
{
|
|
131918
|
+
"name": "flag",
|
|
131919
|
+
"type": {
|
|
131920
|
+
"text": "T"
|
|
131921
|
+
}
|
|
131922
|
+
}
|
|
131923
|
+
],
|
|
131924
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
131529
131925
|
"inheritedFrom": {
|
|
131530
|
-
"name": "
|
|
131531
|
-
"module": "
|
|
131926
|
+
"name": "SbbFormAssociatedMixin",
|
|
131927
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131532
131928
|
}
|
|
131533
131929
|
},
|
|
131534
131930
|
{
|
|
131535
131931
|
"kind": "method",
|
|
131536
|
-
"name": "
|
|
131932
|
+
"name": "validate",
|
|
131933
|
+
"privacy": "protected",
|
|
131934
|
+
"return": {
|
|
131935
|
+
"type": {
|
|
131936
|
+
"text": "void"
|
|
131937
|
+
}
|
|
131938
|
+
},
|
|
131939
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
131940
|
+
"inheritedFrom": {
|
|
131941
|
+
"name": "SbbFormAssociatedMixin",
|
|
131942
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131943
|
+
}
|
|
131944
|
+
},
|
|
131945
|
+
{
|
|
131946
|
+
"kind": "method",
|
|
131947
|
+
"name": "shouldValidate",
|
|
131948
|
+
"privacy": "protected",
|
|
131949
|
+
"return": {
|
|
131950
|
+
"type": {
|
|
131951
|
+
"text": "boolean"
|
|
131952
|
+
}
|
|
131953
|
+
},
|
|
131954
|
+
"parameters": [
|
|
131955
|
+
{
|
|
131956
|
+
"name": "name",
|
|
131957
|
+
"type": {
|
|
131958
|
+
"text": "PropertyKey | undefined"
|
|
131959
|
+
}
|
|
131960
|
+
}
|
|
131961
|
+
],
|
|
131962
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
131963
|
+
"inheritedFrom": {
|
|
131964
|
+
"name": "SbbFormAssociatedMixin",
|
|
131965
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131966
|
+
}
|
|
131967
|
+
},
|
|
131968
|
+
{
|
|
131969
|
+
"kind": "method",
|
|
131970
|
+
"name": "_setInternalValidity",
|
|
131537
131971
|
"privacy": "private",
|
|
131538
131972
|
"return": {
|
|
131539
131973
|
"type": {
|
|
131540
|
-
"text": "
|
|
131974
|
+
"text": "void"
|
|
131541
131975
|
}
|
|
131542
131976
|
},
|
|
131543
131977
|
"inheritedFrom": {
|
|
131544
|
-
"name": "
|
|
131545
|
-
"module": "
|
|
131978
|
+
"name": "SbbFormAssociatedMixin",
|
|
131979
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131546
131980
|
}
|
|
131547
131981
|
},
|
|
131548
131982
|
{
|
|
@@ -131653,30 +132087,38 @@
|
|
|
131653
132087
|
],
|
|
131654
132088
|
"events": [
|
|
131655
132089
|
{
|
|
132090
|
+
"name": "change",
|
|
131656
132091
|
"type": {
|
|
131657
|
-
"text": "
|
|
132092
|
+
"text": "Event"
|
|
131658
132093
|
},
|
|
131659
|
-
"description": "The
|
|
131660
|
-
"name": "input"
|
|
132094
|
+
"description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
|
|
131661
132095
|
}
|
|
131662
132096
|
],
|
|
131663
132097
|
"attributes": [
|
|
131664
132098
|
{
|
|
131665
|
-
"name": "
|
|
132099
|
+
"name": "even",
|
|
131666
132100
|
"type": {
|
|
131667
132101
|
"text": "boolean"
|
|
131668
132102
|
},
|
|
131669
132103
|
"default": "false",
|
|
131670
|
-
"description": "
|
|
131671
|
-
"fieldName": "
|
|
132104
|
+
"description": "If true, set the width of the component fixed; if false,\nthe width is dynamic based on the label of the sbb-toggle-option.",
|
|
132105
|
+
"fieldName": "even"
|
|
132106
|
+
},
|
|
132107
|
+
{
|
|
132108
|
+
"name": "size",
|
|
132109
|
+
"type": {
|
|
132110
|
+
"text": "'s' | 'm'"
|
|
132111
|
+
},
|
|
132112
|
+
"description": "Size variant, either m or s.",
|
|
132113
|
+
"default": "'m' / 's' (lean)",
|
|
132114
|
+
"fieldName": "size"
|
|
131672
132115
|
},
|
|
131673
132116
|
{
|
|
131674
132117
|
"name": "value",
|
|
132118
|
+
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
131675
132119
|
"type": {
|
|
131676
132120
|
"text": "T | null"
|
|
131677
132121
|
},
|
|
131678
|
-
"default": "null",
|
|
131679
|
-
"description": "Value of toggle-option.",
|
|
131680
132122
|
"fieldName": "value"
|
|
131681
132123
|
},
|
|
131682
132124
|
{
|
|
@@ -131693,16 +132135,15 @@
|
|
|
131693
132135
|
}
|
|
131694
132136
|
},
|
|
131695
132137
|
{
|
|
131696
|
-
"name": "
|
|
132138
|
+
"name": "name",
|
|
132139
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
131697
132140
|
"type": {
|
|
131698
132141
|
"text": "string"
|
|
131699
132142
|
},
|
|
131700
|
-
"
|
|
131701
|
-
"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.",
|
|
131702
|
-
"fieldName": "iconName",
|
|
132143
|
+
"fieldName": "name",
|
|
131703
132144
|
"inheritedFrom": {
|
|
131704
|
-
"name": "
|
|
131705
|
-
"module": "
|
|
132145
|
+
"name": "SbbFormAssociatedMixin",
|
|
132146
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131706
132147
|
}
|
|
131707
132148
|
}
|
|
131708
132149
|
],
|
|
@@ -131712,15 +132153,15 @@
|
|
|
131712
132153
|
"module": "core/mixins.js"
|
|
131713
132154
|
},
|
|
131714
132155
|
{
|
|
131715
|
-
"name": "
|
|
131716
|
-
"module": "
|
|
132156
|
+
"name": "SbbFormAssociatedMixin",
|
|
132157
|
+
"module": "core/mixins.js"
|
|
131717
132158
|
}
|
|
131718
132159
|
],
|
|
131719
132160
|
"superclass": {
|
|
131720
132161
|
"name": "SbbElement",
|
|
131721
132162
|
"module": "core/base-elements.js"
|
|
131722
132163
|
},
|
|
131723
|
-
"tagName": "sbb-toggle
|
|
132164
|
+
"tagName": "sbb-toggle",
|
|
131724
132165
|
"customElement": true,
|
|
131725
132166
|
"classGenerics": "T = string"
|
|
131726
132167
|
}
|
|
@@ -131728,26 +132169,30 @@
|
|
|
131728
132169
|
"exports": [
|
|
131729
132170
|
{
|
|
131730
132171
|
"kind": "js",
|
|
131731
|
-
"name": "
|
|
132172
|
+
"name": "SbbToggleElement",
|
|
131732
132173
|
"declaration": {
|
|
131733
|
-
"name": "
|
|
131734
|
-
"module": "toggle/toggle
|
|
132174
|
+
"name": "SbbToggleElement",
|
|
132175
|
+
"module": "toggle/toggle/toggle.component.js"
|
|
131735
132176
|
}
|
|
131736
132177
|
}
|
|
131737
132178
|
]
|
|
131738
132179
|
},
|
|
131739
132180
|
{
|
|
131740
132181
|
"kind": "javascript-module",
|
|
131741
|
-
"path": "toggle/toggle/toggle.component.js",
|
|
132182
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131742
132183
|
"declarations": [
|
|
131743
132184
|
{
|
|
131744
132185
|
"kind": "class",
|
|
131745
|
-
"description": "It
|
|
131746
|
-
"name": "
|
|
132186
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
132187
|
+
"name": "SbbToggleOptionElement",
|
|
131747
132188
|
"slots": [
|
|
131748
132189
|
{
|
|
131749
|
-
"description": "Use the unnamed slot to add
|
|
132190
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131750
132191
|
"name": ""
|
|
132192
|
+
},
|
|
132193
|
+
{
|
|
132194
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
132195
|
+
"name": "icon"
|
|
131751
132196
|
}
|
|
131752
132197
|
],
|
|
131753
132198
|
"members": [
|
|
@@ -131760,7 +132205,7 @@
|
|
|
131760
132205
|
"privacy": "public",
|
|
131761
132206
|
"static": true,
|
|
131762
132207
|
"readonly": true,
|
|
131763
|
-
"default": "'sbb-toggle'",
|
|
132208
|
+
"default": "'sbb-toggle-option'",
|
|
131764
132209
|
"inheritedFrom": {
|
|
131765
132210
|
"name": "SbbElement",
|
|
131766
132211
|
"module": "core/base-elements/element.js"
|
|
@@ -131775,41 +132220,18 @@
|
|
|
131775
132220
|
"privacy": "public",
|
|
131776
132221
|
"static": true,
|
|
131777
132222
|
"readonly": true,
|
|
131778
|
-
"default": "'
|
|
131779
|
-
},
|
|
131780
|
-
{
|
|
131781
|
-
"kind": "field",
|
|
131782
|
-
"name": "events",
|
|
131783
|
-
"privacy": "public",
|
|
131784
|
-
"static": true,
|
|
131785
|
-
"readonly": true,
|
|
131786
|
-
"default": "{ change: 'change', }",
|
|
131787
|
-
"type": {
|
|
131788
|
-
"text": "{\n change: 'change',\n }"
|
|
131789
|
-
}
|
|
132223
|
+
"default": "'radio'"
|
|
131790
132224
|
},
|
|
131791
132225
|
{
|
|
131792
132226
|
"kind": "field",
|
|
131793
|
-
"name": "
|
|
132227
|
+
"name": "checked",
|
|
131794
132228
|
"type": {
|
|
131795
132229
|
"text": "boolean"
|
|
131796
132230
|
},
|
|
131797
132231
|
"privacy": "public",
|
|
131798
132232
|
"default": "false",
|
|
131799
|
-
"description": "
|
|
131800
|
-
"attribute": "
|
|
131801
|
-
"reflects": true
|
|
131802
|
-
},
|
|
131803
|
-
{
|
|
131804
|
-
"kind": "field",
|
|
131805
|
-
"name": "size",
|
|
131806
|
-
"type": {
|
|
131807
|
-
"text": "'s' | 'm'"
|
|
131808
|
-
},
|
|
131809
|
-
"privacy": "public",
|
|
131810
|
-
"description": "Size variant, either m or s.",
|
|
131811
|
-
"default": "'m' / 's' (lean)",
|
|
131812
|
-
"attribute": "size",
|
|
132233
|
+
"description": "Whether the toggle-option is checked.",
|
|
132234
|
+
"attribute": "checked",
|
|
131813
132235
|
"reflects": true
|
|
131814
132236
|
},
|
|
131815
132237
|
{
|
|
@@ -131819,53 +132241,22 @@
|
|
|
131819
132241
|
"text": "(T = string) | null"
|
|
131820
132242
|
},
|
|
131821
132243
|
"privacy": "public",
|
|
131822
|
-
"
|
|
131823
|
-
"
|
|
131824
|
-
"
|
|
131825
|
-
"name": "SbbFormAssociatedMixin",
|
|
131826
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131827
|
-
}
|
|
132244
|
+
"default": "null",
|
|
132245
|
+
"description": "Value of toggle-option.",
|
|
132246
|
+
"attribute": "value"
|
|
131828
132247
|
},
|
|
131829
132248
|
{
|
|
131830
132249
|
"kind": "field",
|
|
131831
|
-
"name": "
|
|
132250
|
+
"name": "_toggle",
|
|
131832
132251
|
"type": {
|
|
131833
|
-
"text": "
|
|
132252
|
+
"text": "SbbToggleElement | null"
|
|
131834
132253
|
},
|
|
131835
132254
|
"privacy": "private",
|
|
131836
132255
|
"default": "null"
|
|
131837
132256
|
},
|
|
131838
|
-
{
|
|
131839
|
-
"kind": "field",
|
|
131840
|
-
"name": "options",
|
|
131841
|
-
"type": {
|
|
131842
|
-
"text": "SbbToggleOptionElement<T>[]"
|
|
131843
|
-
},
|
|
131844
|
-
"privacy": "public",
|
|
131845
|
-
"description": "The child instances of sbb-toggle-option as an array.",
|
|
131846
|
-
"readonly": true
|
|
131847
|
-
},
|
|
131848
|
-
{
|
|
131849
|
-
"kind": "method",
|
|
131850
|
-
"name": "_readFormData",
|
|
131851
|
-
"privacy": "private",
|
|
131852
|
-
"return": {
|
|
131853
|
-
"type": {
|
|
131854
|
-
"text": "Promise<T>"
|
|
131855
|
-
}
|
|
131856
|
-
},
|
|
131857
|
-
"parameters": [
|
|
131858
|
-
{
|
|
131859
|
-
"name": "formData",
|
|
131860
|
-
"type": {
|
|
131861
|
-
"text": "FormData"
|
|
131862
|
-
}
|
|
131863
|
-
}
|
|
131864
|
-
]
|
|
131865
|
-
},
|
|
131866
132257
|
{
|
|
131867
132258
|
"kind": "method",
|
|
131868
|
-
"name": "
|
|
132259
|
+
"name": "_uncheckOtherOptions",
|
|
131869
132260
|
"privacy": "private",
|
|
131870
132261
|
"return": {
|
|
131871
132262
|
"type": {
|
|
@@ -131875,25 +132266,7 @@
|
|
|
131875
132266
|
},
|
|
131876
132267
|
{
|
|
131877
132268
|
"kind": "method",
|
|
131878
|
-
"name": "
|
|
131879
|
-
"privacy": "private",
|
|
131880
|
-
"return": {
|
|
131881
|
-
"type": {
|
|
131882
|
-
"text": "void"
|
|
131883
|
-
}
|
|
131884
|
-
},
|
|
131885
|
-
"parameters": [
|
|
131886
|
-
{
|
|
131887
|
-
"name": "value",
|
|
131888
|
-
"type": {
|
|
131889
|
-
"text": "T | null"
|
|
131890
|
-
}
|
|
131891
|
-
}
|
|
131892
|
-
]
|
|
131893
|
-
},
|
|
131894
|
-
{
|
|
131895
|
-
"kind": "method",
|
|
131896
|
-
"name": "_updateDisabled",
|
|
132269
|
+
"name": "_handleDisabledChange",
|
|
131897
132270
|
"privacy": "private",
|
|
131898
132271
|
"return": {
|
|
131899
132272
|
"type": {
|
|
@@ -131909,44 +132282,17 @@
|
|
|
131909
132282
|
"type": {
|
|
131910
132283
|
"text": "void"
|
|
131911
132284
|
}
|
|
131912
|
-
}
|
|
131913
|
-
"description": "Called on user interaction (click or keyboard)"
|
|
131914
|
-
},
|
|
131915
|
-
{
|
|
131916
|
-
"kind": "method",
|
|
131917
|
-
"name": "_handleKeyDown",
|
|
131918
|
-
"privacy": "private",
|
|
131919
|
-
"return": {
|
|
131920
|
-
"type": {
|
|
131921
|
-
"text": "void"
|
|
131922
|
-
}
|
|
131923
|
-
},
|
|
131924
|
-
"parameters": [
|
|
131925
|
-
{
|
|
131926
|
-
"name": "evt",
|
|
131927
|
-
"type": {
|
|
131928
|
-
"text": "KeyboardEvent"
|
|
131929
|
-
}
|
|
131930
|
-
}
|
|
131931
|
-
]
|
|
132285
|
+
}
|
|
131932
132286
|
},
|
|
131933
132287
|
{
|
|
131934
132288
|
"kind": "method",
|
|
131935
|
-
"name": "
|
|
132289
|
+
"name": "_verifyTabindex",
|
|
131936
132290
|
"privacy": "private",
|
|
131937
132291
|
"return": {
|
|
131938
132292
|
"type": {
|
|
131939
132293
|
"text": "void"
|
|
131940
132294
|
}
|
|
131941
|
-
}
|
|
131942
|
-
"parameters": [
|
|
131943
|
-
{
|
|
131944
|
-
"name": "option",
|
|
131945
|
-
"type": {
|
|
131946
|
-
"text": "SbbToggleOptionElement<T> | undefined"
|
|
131947
|
-
}
|
|
131948
|
-
}
|
|
131949
|
-
]
|
|
132295
|
+
}
|
|
131950
132296
|
},
|
|
131951
132297
|
{
|
|
131952
132298
|
"kind": "field",
|
|
@@ -131994,317 +132340,68 @@
|
|
|
131994
132340
|
},
|
|
131995
132341
|
{
|
|
131996
132342
|
"kind": "field",
|
|
131997
|
-
"name": "
|
|
131998
|
-
"type": {
|
|
131999
|
-
"text": "boolean"
|
|
132000
|
-
},
|
|
132001
|
-
"privacy": "public",
|
|
132002
|
-
"static": true,
|
|
132003
|
-
"default": "true",
|
|
132004
|
-
"inheritedFrom": {
|
|
132005
|
-
"name": "SbbFormAssociatedMixin",
|
|
132006
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132007
|
-
}
|
|
132008
|
-
},
|
|
132009
|
-
{
|
|
132010
|
-
"kind": "field",
|
|
132011
|
-
"name": "form",
|
|
132012
|
-
"type": {
|
|
132013
|
-
"text": "HTMLFormElement | null"
|
|
132014
|
-
},
|
|
132015
|
-
"privacy": "public",
|
|
132016
|
-
"description": "Returns the form owner of this element.",
|
|
132017
|
-
"readonly": true,
|
|
132018
|
-
"inheritedFrom": {
|
|
132019
|
-
"name": "SbbFormAssociatedMixin",
|
|
132020
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132021
|
-
}
|
|
132022
|
-
},
|
|
132023
|
-
{
|
|
132024
|
-
"kind": "field",
|
|
132025
|
-
"name": "name",
|
|
132026
|
-
"privacy": "public",
|
|
132027
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
132028
|
-
"type": {
|
|
132029
|
-
"text": "string"
|
|
132030
|
-
},
|
|
132031
|
-
"attribute": "name",
|
|
132032
|
-
"inheritedFrom": {
|
|
132033
|
-
"name": "SbbFormAssociatedMixin",
|
|
132034
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132035
|
-
}
|
|
132036
|
-
},
|
|
132037
|
-
{
|
|
132038
|
-
"kind": "field",
|
|
132039
|
-
"name": "validity",
|
|
132040
|
-
"type": {
|
|
132041
|
-
"text": "ValidityState"
|
|
132042
|
-
},
|
|
132043
|
-
"privacy": "public",
|
|
132044
|
-
"description": "Returns the ValidityState object for this element.",
|
|
132045
|
-
"readonly": true,
|
|
132046
|
-
"inheritedFrom": {
|
|
132047
|
-
"name": "SbbFormAssociatedMixin",
|
|
132048
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132049
|
-
}
|
|
132050
|
-
},
|
|
132051
|
-
{
|
|
132052
|
-
"kind": "field",
|
|
132053
|
-
"name": "validationMessage",
|
|
132343
|
+
"name": "iconName",
|
|
132054
132344
|
"type": {
|
|
132055
132345
|
"text": "string"
|
|
132056
132346
|
},
|
|
132057
132347
|
"privacy": "public",
|
|
132058
|
-
"
|
|
132059
|
-
"
|
|
132060
|
-
"
|
|
132061
|
-
"name": "SbbFormAssociatedMixin",
|
|
132062
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132063
|
-
}
|
|
132064
|
-
},
|
|
132065
|
-
{
|
|
132066
|
-
"kind": "field",
|
|
132067
|
-
"name": "willValidate",
|
|
132068
|
-
"type": {
|
|
132069
|
-
"text": "boolean"
|
|
132070
|
-
},
|
|
132071
|
-
"privacy": "public",
|
|
132072
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
132073
|
-
"readonly": true,
|
|
132074
|
-
"inheritedFrom": {
|
|
132075
|
-
"name": "SbbFormAssociatedMixin",
|
|
132076
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132077
|
-
}
|
|
132078
|
-
},
|
|
132079
|
-
{
|
|
132080
|
-
"kind": "field",
|
|
132081
|
-
"name": "_validityStates",
|
|
132082
|
-
"privacy": "private",
|
|
132083
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
132084
|
-
"inheritedFrom": {
|
|
132085
|
-
"name": "SbbFormAssociatedMixin",
|
|
132086
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132087
|
-
}
|
|
132088
|
-
},
|
|
132089
|
-
{
|
|
132090
|
-
"kind": "field",
|
|
132091
|
-
"name": "formDisabled",
|
|
132092
|
-
"type": {
|
|
132093
|
-
"text": "boolean"
|
|
132094
|
-
},
|
|
132095
|
-
"privacy": "protected",
|
|
132096
|
-
"default": "false",
|
|
132097
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
132098
|
-
"inheritedFrom": {
|
|
132099
|
-
"name": "SbbFormAssociatedMixin",
|
|
132100
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132101
|
-
}
|
|
132102
|
-
},
|
|
132103
|
-
{
|
|
132104
|
-
"kind": "method",
|
|
132105
|
-
"name": "checkValidity",
|
|
132106
|
-
"privacy": "public",
|
|
132107
|
-
"return": {
|
|
132108
|
-
"type": {
|
|
132109
|
-
"text": "boolean"
|
|
132110
|
-
}
|
|
132111
|
-
},
|
|
132112
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
132113
|
-
"inheritedFrom": {
|
|
132114
|
-
"name": "SbbFormAssociatedMixin",
|
|
132115
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132116
|
-
}
|
|
132117
|
-
},
|
|
132118
|
-
{
|
|
132119
|
-
"kind": "method",
|
|
132120
|
-
"name": "reportValidity",
|
|
132121
|
-
"privacy": "public",
|
|
132122
|
-
"return": {
|
|
132123
|
-
"type": {
|
|
132124
|
-
"text": "boolean"
|
|
132125
|
-
}
|
|
132126
|
-
},
|
|
132127
|
-
"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.",
|
|
132128
|
-
"inheritedFrom": {
|
|
132129
|
-
"name": "SbbFormAssociatedMixin",
|
|
132130
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132131
|
-
}
|
|
132132
|
-
},
|
|
132133
|
-
{
|
|
132134
|
-
"kind": "method",
|
|
132135
|
-
"name": "setCustomValidity",
|
|
132136
|
-
"privacy": "public",
|
|
132137
|
-
"return": {
|
|
132138
|
-
"type": {
|
|
132139
|
-
"text": "void"
|
|
132140
|
-
}
|
|
132141
|
-
},
|
|
132142
|
-
"parameters": [
|
|
132143
|
-
{
|
|
132144
|
-
"name": "message",
|
|
132145
|
-
"type": {
|
|
132146
|
-
"text": "string"
|
|
132147
|
-
}
|
|
132148
|
-
}
|
|
132149
|
-
],
|
|
132150
|
-
"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.",
|
|
132151
|
-
"inheritedFrom": {
|
|
132152
|
-
"name": "SbbFormAssociatedMixin",
|
|
132153
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132154
|
-
}
|
|
132155
|
-
},
|
|
132156
|
-
{
|
|
132157
|
-
"kind": "method",
|
|
132158
|
-
"name": "_hasDisabledAncestor",
|
|
132159
|
-
"privacy": "private",
|
|
132160
|
-
"return": {
|
|
132161
|
-
"type": {
|
|
132162
|
-
"text": "boolean"
|
|
132163
|
-
}
|
|
132164
|
-
},
|
|
132165
|
-
"inheritedFrom": {
|
|
132166
|
-
"name": "SbbFormAssociatedMixin",
|
|
132167
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132168
|
-
}
|
|
132169
|
-
},
|
|
132170
|
-
{
|
|
132171
|
-
"kind": "method",
|
|
132172
|
-
"name": "updateFormValue",
|
|
132173
|
-
"privacy": "protected",
|
|
132174
|
-
"return": {
|
|
132175
|
-
"type": {
|
|
132176
|
-
"text": "void"
|
|
132177
|
-
}
|
|
132178
|
-
},
|
|
132179
|
-
"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",
|
|
132180
|
-
"inheritedFrom": {
|
|
132181
|
-
"name": "SbbFormAssociatedMixin",
|
|
132182
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132183
|
-
}
|
|
132184
|
-
},
|
|
132185
|
-
{
|
|
132186
|
-
"kind": "method",
|
|
132187
|
-
"name": "formState",
|
|
132188
|
-
"privacy": "protected",
|
|
132189
|
-
"return": {
|
|
132190
|
-
"type": {
|
|
132191
|
-
"text": "FormRestoreState"
|
|
132192
|
-
}
|
|
132193
|
-
},
|
|
132348
|
+
"default": "''",
|
|
132349
|
+
"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.",
|
|
132350
|
+
"attribute": "icon-name",
|
|
132194
132351
|
"inheritedFrom": {
|
|
132195
|
-
"name": "
|
|
132196
|
-
"module": "
|
|
132352
|
+
"name": "SbbIconNameMixin",
|
|
132353
|
+
"module": "icon/icon-name-mixin.js"
|
|
132197
132354
|
}
|
|
132198
132355
|
},
|
|
132199
132356
|
{
|
|
132200
132357
|
"kind": "method",
|
|
132201
|
-
"name": "
|
|
132358
|
+
"name": "renderIconSlot",
|
|
132202
132359
|
"privacy": "protected",
|
|
132203
132360
|
"return": {
|
|
132204
132361
|
"type": {
|
|
132205
|
-
"text": "
|
|
132362
|
+
"text": "TemplateResult"
|
|
132206
132363
|
}
|
|
132207
132364
|
},
|
|
132208
132365
|
"parameters": [
|
|
132209
132366
|
{
|
|
132210
|
-
"name": "
|
|
132211
|
-
"type": {
|
|
132212
|
-
"text": "T"
|
|
132213
|
-
}
|
|
132214
|
-
},
|
|
132215
|
-
{
|
|
132216
|
-
"name": "message",
|
|
132217
|
-
"type": {
|
|
132218
|
-
"text": "string"
|
|
132219
|
-
}
|
|
132220
|
-
},
|
|
132221
|
-
{
|
|
132222
|
-
"name": "flagValue",
|
|
132367
|
+
"name": "classname",
|
|
132223
132368
|
"optional": true,
|
|
132224
132369
|
"type": {
|
|
132225
|
-
"text": "
|
|
132226
|
-
}
|
|
132227
|
-
}
|
|
132228
|
-
],
|
|
132229
|
-
"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).",
|
|
132230
|
-
"inheritedFrom": {
|
|
132231
|
-
"name": "SbbFormAssociatedMixin",
|
|
132232
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132233
|
-
}
|
|
132234
|
-
},
|
|
132235
|
-
{
|
|
132236
|
-
"kind": "method",
|
|
132237
|
-
"name": "removeValidityFlag",
|
|
132238
|
-
"privacy": "protected",
|
|
132239
|
-
"return": {
|
|
132240
|
-
"type": {
|
|
132241
|
-
"text": "void"
|
|
132242
|
-
}
|
|
132243
|
-
},
|
|
132244
|
-
"parameters": [
|
|
132245
|
-
{
|
|
132246
|
-
"name": "flag",
|
|
132247
|
-
"type": {
|
|
132248
|
-
"text": "T"
|
|
132370
|
+
"text": "string"
|
|
132249
132371
|
}
|
|
132250
132372
|
}
|
|
132251
132373
|
],
|
|
132252
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
132253
132374
|
"inheritedFrom": {
|
|
132254
|
-
"name": "
|
|
132255
|
-
"module": "
|
|
132256
|
-
}
|
|
132257
|
-
},
|
|
132258
|
-
{
|
|
132259
|
-
"kind": "method",
|
|
132260
|
-
"name": "validate",
|
|
132261
|
-
"privacy": "protected",
|
|
132262
|
-
"return": {
|
|
132263
|
-
"type": {
|
|
132264
|
-
"text": "void"
|
|
132265
|
-
}
|
|
132266
|
-
},
|
|
132267
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
132268
|
-
"inheritedFrom": {
|
|
132269
|
-
"name": "SbbFormAssociatedMixin",
|
|
132270
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132375
|
+
"name": "SbbIconNameMixin",
|
|
132376
|
+
"module": "icon/icon-name-mixin.js"
|
|
132271
132377
|
}
|
|
132272
132378
|
},
|
|
132273
132379
|
{
|
|
132274
132380
|
"kind": "method",
|
|
132275
|
-
"name": "
|
|
132381
|
+
"name": "renderIconName",
|
|
132276
132382
|
"privacy": "protected",
|
|
132277
132383
|
"return": {
|
|
132278
132384
|
"type": {
|
|
132279
|
-
"text": "
|
|
132385
|
+
"text": "string"
|
|
132280
132386
|
}
|
|
132281
132387
|
},
|
|
132282
|
-
"parameters": [
|
|
132283
|
-
{
|
|
132284
|
-
"name": "name",
|
|
132285
|
-
"type": {
|
|
132286
|
-
"text": "PropertyKey | undefined"
|
|
132287
|
-
}
|
|
132288
|
-
}
|
|
132289
|
-
],
|
|
132290
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
132291
132388
|
"inheritedFrom": {
|
|
132292
|
-
"name": "
|
|
132293
|
-
"module": "
|
|
132389
|
+
"name": "SbbIconNameMixin",
|
|
132390
|
+
"module": "icon/icon-name-mixin.js"
|
|
132294
132391
|
}
|
|
132295
132392
|
},
|
|
132296
132393
|
{
|
|
132297
132394
|
"kind": "method",
|
|
132298
|
-
"name": "
|
|
132395
|
+
"name": "_renderIconName",
|
|
132299
132396
|
"privacy": "private",
|
|
132300
132397
|
"return": {
|
|
132301
132398
|
"type": {
|
|
132302
|
-
"text": "
|
|
132399
|
+
"text": "string"
|
|
132303
132400
|
}
|
|
132304
132401
|
},
|
|
132305
132402
|
"inheritedFrom": {
|
|
132306
|
-
"name": "
|
|
132307
|
-
"module": "
|
|
132403
|
+
"name": "SbbIconNameMixin",
|
|
132404
|
+
"module": "icon/icon-name-mixin.js"
|
|
132308
132405
|
}
|
|
132309
132406
|
},
|
|
132310
132407
|
{
|
|
@@ -132415,38 +132512,30 @@
|
|
|
132415
132512
|
],
|
|
132416
132513
|
"events": [
|
|
132417
132514
|
{
|
|
132418
|
-
"name": "change",
|
|
132419
132515
|
"type": {
|
|
132420
|
-
"text": "
|
|
132516
|
+
"text": "InputEvent"
|
|
132421
132517
|
},
|
|
132422
|
-
"description": "The
|
|
132518
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
132519
|
+
"name": "input"
|
|
132423
132520
|
}
|
|
132424
132521
|
],
|
|
132425
132522
|
"attributes": [
|
|
132426
132523
|
{
|
|
132427
|
-
"name": "
|
|
132524
|
+
"name": "checked",
|
|
132428
132525
|
"type": {
|
|
132429
132526
|
"text": "boolean"
|
|
132430
132527
|
},
|
|
132431
132528
|
"default": "false",
|
|
132432
|
-
"description": "
|
|
132433
|
-
"fieldName": "
|
|
132434
|
-
},
|
|
132435
|
-
{
|
|
132436
|
-
"name": "size",
|
|
132437
|
-
"type": {
|
|
132438
|
-
"text": "'s' | 'm'"
|
|
132439
|
-
},
|
|
132440
|
-
"description": "Size variant, either m or s.",
|
|
132441
|
-
"default": "'m' / 's' (lean)",
|
|
132442
|
-
"fieldName": "size"
|
|
132529
|
+
"description": "Whether the toggle-option is checked.",
|
|
132530
|
+
"fieldName": "checked"
|
|
132443
132531
|
},
|
|
132444
132532
|
{
|
|
132445
132533
|
"name": "value",
|
|
132446
|
-
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
132447
132534
|
"type": {
|
|
132448
132535
|
"text": "T | null"
|
|
132449
132536
|
},
|
|
132537
|
+
"default": "null",
|
|
132538
|
+
"description": "Value of toggle-option.",
|
|
132450
132539
|
"fieldName": "value"
|
|
132451
132540
|
},
|
|
132452
132541
|
{
|
|
@@ -132463,15 +132552,16 @@
|
|
|
132463
132552
|
}
|
|
132464
132553
|
},
|
|
132465
132554
|
{
|
|
132466
|
-
"name": "name",
|
|
132467
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
132555
|
+
"name": "icon-name",
|
|
132468
132556
|
"type": {
|
|
132469
132557
|
"text": "string"
|
|
132470
132558
|
},
|
|
132471
|
-
"
|
|
132559
|
+
"default": "''",
|
|
132560
|
+
"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.",
|
|
132561
|
+
"fieldName": "iconName",
|
|
132472
132562
|
"inheritedFrom": {
|
|
132473
|
-
"name": "
|
|
132474
|
-
"module": "
|
|
132563
|
+
"name": "SbbIconNameMixin",
|
|
132564
|
+
"module": "icon/icon-name-mixin.js"
|
|
132475
132565
|
}
|
|
132476
132566
|
}
|
|
132477
132567
|
],
|
|
@@ -132481,15 +132571,15 @@
|
|
|
132481
132571
|
"module": "core/mixins.js"
|
|
132482
132572
|
},
|
|
132483
132573
|
{
|
|
132484
|
-
"name": "
|
|
132485
|
-
"module": "
|
|
132574
|
+
"name": "SbbIconNameMixin",
|
|
132575
|
+
"module": "icon.js"
|
|
132486
132576
|
}
|
|
132487
132577
|
],
|
|
132488
132578
|
"superclass": {
|
|
132489
132579
|
"name": "SbbElement",
|
|
132490
132580
|
"module": "core/base-elements.js"
|
|
132491
132581
|
},
|
|
132492
|
-
"tagName": "sbb-toggle",
|
|
132582
|
+
"tagName": "sbb-toggle-option",
|
|
132493
132583
|
"customElement": true,
|
|
132494
132584
|
"classGenerics": "T = string"
|
|
132495
132585
|
}
|
|
@@ -132497,10 +132587,10 @@
|
|
|
132497
132587
|
"exports": [
|
|
132498
132588
|
{
|
|
132499
132589
|
"kind": "js",
|
|
132500
|
-
"name": "
|
|
132590
|
+
"name": "SbbToggleOptionElement",
|
|
132501
132591
|
"declaration": {
|
|
132502
|
-
"name": "
|
|
132503
|
-
"module": "toggle/toggle/toggle.component.js"
|
|
132592
|
+
"name": "SbbToggleOptionElement",
|
|
132593
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
132504
132594
|
}
|
|
132505
132595
|
}
|
|
132506
132596
|
]
|
|
@@ -133056,15 +133146,22 @@
|
|
|
133056
133146
|
},
|
|
133057
133147
|
{
|
|
133058
133148
|
"kind": "javascript-module",
|
|
133059
|
-
"path": "train/train-
|
|
133149
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
133060
133150
|
"declarations": [
|
|
133061
133151
|
{
|
|
133062
133152
|
"kind": "class",
|
|
133063
|
-
"description": "It displays a train
|
|
133064
|
-
"name": "
|
|
133153
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
133154
|
+
"name": "SbbTrainFormationElement",
|
|
133155
|
+
"cssProperties": [
|
|
133156
|
+
{
|
|
133157
|
+
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
133158
|
+
"name": "--sbb-train-formation-padding-inline",
|
|
133159
|
+
"default": "0px"
|
|
133160
|
+
}
|
|
133161
|
+
],
|
|
133065
133162
|
"slots": [
|
|
133066
133163
|
{
|
|
133067
|
-
"description": "Use the unnamed slot to add
|
|
133164
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
133068
133165
|
"name": ""
|
|
133069
133166
|
}
|
|
133070
133167
|
],
|
|
@@ -133078,35 +133175,12 @@
|
|
|
133078
133175
|
"privacy": "public",
|
|
133079
133176
|
"static": true,
|
|
133080
133177
|
"readonly": true,
|
|
133081
|
-
"default": "'sbb-train-
|
|
133178
|
+
"default": "'sbb-train-formation'",
|
|
133082
133179
|
"inheritedFrom": {
|
|
133083
133180
|
"name": "SbbElement",
|
|
133084
133181
|
"module": "core/base-elements/element.js"
|
|
133085
133182
|
}
|
|
133086
133183
|
},
|
|
133087
|
-
{
|
|
133088
|
-
"kind": "field",
|
|
133089
|
-
"name": "events",
|
|
133090
|
-
"privacy": "public",
|
|
133091
|
-
"static": true,
|
|
133092
|
-
"readonly": true,
|
|
133093
|
-
"default": "{ sectorchange: 'sectorchange', }",
|
|
133094
|
-
"type": {
|
|
133095
|
-
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
133096
|
-
}
|
|
133097
|
-
},
|
|
133098
|
-
{
|
|
133099
|
-
"kind": "field",
|
|
133100
|
-
"name": "type",
|
|
133101
|
-
"type": {
|
|
133102
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133103
|
-
},
|
|
133104
|
-
"privacy": "public",
|
|
133105
|
-
"default": "'wagon'",
|
|
133106
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133107
|
-
"attribute": "type",
|
|
133108
|
-
"reflects": true
|
|
133109
|
-
},
|
|
133110
133184
|
{
|
|
133111
133185
|
"kind": "field",
|
|
133112
133186
|
"name": "listChildLocalNames",
|
|
@@ -133116,7 +133190,7 @@
|
|
|
133116
133190
|
"privacy": "protected",
|
|
133117
133191
|
"readonly": true,
|
|
133118
133192
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
133119
|
-
"default": "['sbb-
|
|
133193
|
+
"default": "['sbb-train']",
|
|
133120
133194
|
"inheritedFrom": {
|
|
133121
133195
|
"name": "SbbNamedSlotListMixin",
|
|
133122
133196
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -133124,71 +133198,24 @@
|
|
|
133124
133198
|
},
|
|
133125
133199
|
{
|
|
133126
133200
|
"kind": "field",
|
|
133127
|
-
"name": "
|
|
133128
|
-
"type": {
|
|
133129
|
-
"text": "SbbOccupancy | null"
|
|
133130
|
-
},
|
|
133131
|
-
"privacy": "public",
|
|
133132
|
-
"default": "null",
|
|
133133
|
-
"description": "Occupancy of a wagon.",
|
|
133134
|
-
"attribute": "occupancy"
|
|
133135
|
-
},
|
|
133136
|
-
{
|
|
133137
|
-
"kind": "field",
|
|
133138
|
-
"name": "sector",
|
|
133139
|
-
"type": {
|
|
133140
|
-
"text": "string"
|
|
133141
|
-
},
|
|
133142
|
-
"privacy": "public",
|
|
133143
|
-
"default": "''",
|
|
133144
|
-
"description": "Sector in which the wagon stops.",
|
|
133145
|
-
"attribute": "sector",
|
|
133146
|
-
"reflects": true
|
|
133147
|
-
},
|
|
133148
|
-
{
|
|
133149
|
-
"kind": "field",
|
|
133150
|
-
"name": "blockedPassage",
|
|
133151
|
-
"type": {
|
|
133152
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133153
|
-
},
|
|
133154
|
-
"privacy": "public",
|
|
133155
|
-
"default": "'none'",
|
|
133156
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133157
|
-
"attribute": "blocked-passage"
|
|
133158
|
-
},
|
|
133159
|
-
{
|
|
133160
|
-
"kind": "field",
|
|
133161
|
-
"name": "wagonClass",
|
|
133162
|
-
"type": {
|
|
133163
|
-
"text": "'1' | '2' | null"
|
|
133164
|
-
},
|
|
133165
|
-
"privacy": "public",
|
|
133166
|
-
"default": "null",
|
|
133167
|
-
"description": "Class label",
|
|
133168
|
-
"attribute": "wagon-class"
|
|
133169
|
-
},
|
|
133170
|
-
{
|
|
133171
|
-
"kind": "field",
|
|
133172
|
-
"name": "label",
|
|
133201
|
+
"name": "view",
|
|
133173
133202
|
"type": {
|
|
133174
|
-
"text": "
|
|
133203
|
+
"text": "'side' | 'top'"
|
|
133175
133204
|
},
|
|
133176
133205
|
"privacy": "public",
|
|
133177
|
-
"default": "''",
|
|
133178
|
-
"description": "
|
|
133179
|
-
"attribute": "
|
|
133206
|
+
"default": "'side'",
|
|
133207
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
133208
|
+
"attribute": "view",
|
|
133180
133209
|
"reflects": true
|
|
133181
133210
|
},
|
|
133182
133211
|
{
|
|
133183
133212
|
"kind": "field",
|
|
133184
|
-
"name": "
|
|
133213
|
+
"name": "_sectors",
|
|
133185
133214
|
"type": {
|
|
133186
|
-
"text": "
|
|
133215
|
+
"text": "AggregatedSector[]"
|
|
133187
133216
|
},
|
|
133188
|
-
"privacy": "
|
|
133189
|
-
"default": "
|
|
133190
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
133191
|
-
"attribute": "additional-accessibility-text"
|
|
133217
|
+
"privacy": "private",
|
|
133218
|
+
"default": "[]"
|
|
133192
133219
|
},
|
|
133193
133220
|
{
|
|
133194
133221
|
"kind": "field",
|
|
@@ -133198,23 +133225,22 @@
|
|
|
133198
133225
|
},
|
|
133199
133226
|
{
|
|
133200
133227
|
"kind": "method",
|
|
133201
|
-
"name": "
|
|
133228
|
+
"name": "_readSectors",
|
|
133202
133229
|
"privacy": "private",
|
|
133203
133230
|
"return": {
|
|
133204
133231
|
"type": {
|
|
133205
133232
|
"text": "void"
|
|
133206
133233
|
}
|
|
133207
|
-
}
|
|
133208
|
-
|
|
133209
|
-
|
|
133210
|
-
|
|
133211
|
-
|
|
133212
|
-
|
|
133213
|
-
|
|
133214
|
-
|
|
133215
|
-
"text": "string"
|
|
133234
|
+
},
|
|
133235
|
+
"parameters": [
|
|
133236
|
+
{
|
|
133237
|
+
"name": "event",
|
|
133238
|
+
"optional": true,
|
|
133239
|
+
"type": {
|
|
133240
|
+
"text": "Event"
|
|
133241
|
+
}
|
|
133216
133242
|
}
|
|
133217
|
-
|
|
133243
|
+
]
|
|
133218
133244
|
},
|
|
133219
133245
|
{
|
|
133220
133246
|
"kind": "field",
|
|
@@ -133416,67 +133442,13 @@
|
|
|
133416
133442
|
],
|
|
133417
133443
|
"attributes": [
|
|
133418
133444
|
{
|
|
133419
|
-
"name": "
|
|
133420
|
-
"type": {
|
|
133421
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133422
|
-
},
|
|
133423
|
-
"default": "'wagon'",
|
|
133424
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133425
|
-
"fieldName": "type"
|
|
133426
|
-
},
|
|
133427
|
-
{
|
|
133428
|
-
"name": "occupancy",
|
|
133429
|
-
"type": {
|
|
133430
|
-
"text": "SbbOccupancy | null"
|
|
133431
|
-
},
|
|
133432
|
-
"default": "null",
|
|
133433
|
-
"description": "Occupancy of a wagon.",
|
|
133434
|
-
"fieldName": "occupancy"
|
|
133435
|
-
},
|
|
133436
|
-
{
|
|
133437
|
-
"name": "sector",
|
|
133438
|
-
"type": {
|
|
133439
|
-
"text": "string"
|
|
133440
|
-
},
|
|
133441
|
-
"default": "''",
|
|
133442
|
-
"description": "Sector in which the wagon stops.",
|
|
133443
|
-
"fieldName": "sector"
|
|
133444
|
-
},
|
|
133445
|
-
{
|
|
133446
|
-
"name": "blocked-passage",
|
|
133447
|
-
"type": {
|
|
133448
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133449
|
-
},
|
|
133450
|
-
"default": "'none'",
|
|
133451
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133452
|
-
"fieldName": "blockedPassage"
|
|
133453
|
-
},
|
|
133454
|
-
{
|
|
133455
|
-
"name": "wagon-class",
|
|
133456
|
-
"type": {
|
|
133457
|
-
"text": "'1' | '2' | null"
|
|
133458
|
-
},
|
|
133459
|
-
"default": "null",
|
|
133460
|
-
"description": "Class label",
|
|
133461
|
-
"fieldName": "wagonClass"
|
|
133462
|
-
},
|
|
133463
|
-
{
|
|
133464
|
-
"name": "label",
|
|
133465
|
-
"type": {
|
|
133466
|
-
"text": "string"
|
|
133467
|
-
},
|
|
133468
|
-
"default": "''",
|
|
133469
|
-
"description": "Wagon number",
|
|
133470
|
-
"fieldName": "label"
|
|
133471
|
-
},
|
|
133472
|
-
{
|
|
133473
|
-
"name": "additional-accessibility-text",
|
|
133445
|
+
"name": "view",
|
|
133474
133446
|
"type": {
|
|
133475
|
-
"text": "
|
|
133447
|
+
"text": "'side' | 'top'"
|
|
133476
133448
|
},
|
|
133477
|
-
"default": "''",
|
|
133478
|
-
"description": "
|
|
133479
|
-
"fieldName": "
|
|
133449
|
+
"default": "'side'",
|
|
133450
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
133451
|
+
"fieldName": "view"
|
|
133480
133452
|
}
|
|
133481
133453
|
],
|
|
133482
133454
|
"mixins": [
|
|
@@ -133489,39 +133461,32 @@
|
|
|
133489
133461
|
"name": "SbbElement",
|
|
133490
133462
|
"module": "core/base-elements.js"
|
|
133491
133463
|
},
|
|
133492
|
-
"tagName": "sbb-train-
|
|
133464
|
+
"tagName": "sbb-train-formation",
|
|
133493
133465
|
"customElement": true
|
|
133494
133466
|
}
|
|
133495
133467
|
],
|
|
133496
133468
|
"exports": [
|
|
133497
133469
|
{
|
|
133498
133470
|
"kind": "js",
|
|
133499
|
-
"name": "
|
|
133471
|
+
"name": "SbbTrainFormationElement",
|
|
133500
133472
|
"declaration": {
|
|
133501
|
-
"name": "
|
|
133502
|
-
"module": "train/train-
|
|
133473
|
+
"name": "SbbTrainFormationElement",
|
|
133474
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
133503
133475
|
}
|
|
133504
133476
|
}
|
|
133505
133477
|
]
|
|
133506
133478
|
},
|
|
133507
133479
|
{
|
|
133508
133480
|
"kind": "javascript-module",
|
|
133509
|
-
"path": "train/train-
|
|
133481
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
133510
133482
|
"declarations": [
|
|
133511
133483
|
{
|
|
133512
133484
|
"kind": "class",
|
|
133513
|
-
"description": "It displays a train
|
|
133514
|
-
"name": "
|
|
133515
|
-
"cssProperties": [
|
|
133516
|
-
{
|
|
133517
|
-
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
133518
|
-
"name": "--sbb-train-formation-padding-inline",
|
|
133519
|
-
"default": "0px"
|
|
133520
|
-
}
|
|
133521
|
-
],
|
|
133485
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
133486
|
+
"name": "SbbTrainWagonElement",
|
|
133522
133487
|
"slots": [
|
|
133523
133488
|
{
|
|
133524
|
-
"description": "Use the unnamed slot to add
|
|
133489
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
|
|
133525
133490
|
"name": ""
|
|
133526
133491
|
}
|
|
133527
133492
|
],
|
|
@@ -133535,12 +133500,35 @@
|
|
|
133535
133500
|
"privacy": "public",
|
|
133536
133501
|
"static": true,
|
|
133537
133502
|
"readonly": true,
|
|
133538
|
-
"default": "'sbb-train-
|
|
133503
|
+
"default": "'sbb-train-wagon'",
|
|
133539
133504
|
"inheritedFrom": {
|
|
133540
133505
|
"name": "SbbElement",
|
|
133541
133506
|
"module": "core/base-elements/element.js"
|
|
133542
133507
|
}
|
|
133543
133508
|
},
|
|
133509
|
+
{
|
|
133510
|
+
"kind": "field",
|
|
133511
|
+
"name": "events",
|
|
133512
|
+
"privacy": "public",
|
|
133513
|
+
"static": true,
|
|
133514
|
+
"readonly": true,
|
|
133515
|
+
"default": "{ sectorchange: 'sectorchange', }",
|
|
133516
|
+
"type": {
|
|
133517
|
+
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
133518
|
+
}
|
|
133519
|
+
},
|
|
133520
|
+
{
|
|
133521
|
+
"kind": "field",
|
|
133522
|
+
"name": "type",
|
|
133523
|
+
"type": {
|
|
133524
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133525
|
+
},
|
|
133526
|
+
"privacy": "public",
|
|
133527
|
+
"default": "'wagon'",
|
|
133528
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133529
|
+
"attribute": "type",
|
|
133530
|
+
"reflects": true
|
|
133531
|
+
},
|
|
133544
133532
|
{
|
|
133545
133533
|
"kind": "field",
|
|
133546
133534
|
"name": "listChildLocalNames",
|
|
@@ -133550,7 +133538,7 @@
|
|
|
133550
133538
|
"privacy": "protected",
|
|
133551
133539
|
"readonly": true,
|
|
133552
133540
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
133553
|
-
"default": "['sbb-
|
|
133541
|
+
"default": "['sbb-icon']",
|
|
133554
133542
|
"inheritedFrom": {
|
|
133555
133543
|
"name": "SbbNamedSlotListMixin",
|
|
133556
133544
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -133558,24 +133546,71 @@
|
|
|
133558
133546
|
},
|
|
133559
133547
|
{
|
|
133560
133548
|
"kind": "field",
|
|
133561
|
-
"name": "
|
|
133549
|
+
"name": "occupancy",
|
|
133562
133550
|
"type": {
|
|
133563
|
-
"text": "
|
|
133551
|
+
"text": "SbbOccupancy | null"
|
|
133564
133552
|
},
|
|
133565
133553
|
"privacy": "public",
|
|
133566
|
-
"default": "
|
|
133567
|
-
"description": "
|
|
133568
|
-
"attribute": "
|
|
133554
|
+
"default": "null",
|
|
133555
|
+
"description": "Occupancy of a wagon.",
|
|
133556
|
+
"attribute": "occupancy"
|
|
133557
|
+
},
|
|
133558
|
+
{
|
|
133559
|
+
"kind": "field",
|
|
133560
|
+
"name": "sector",
|
|
133561
|
+
"type": {
|
|
133562
|
+
"text": "string"
|
|
133563
|
+
},
|
|
133564
|
+
"privacy": "public",
|
|
133565
|
+
"default": "''",
|
|
133566
|
+
"description": "Sector in which the wagon stops.",
|
|
133567
|
+
"attribute": "sector",
|
|
133569
133568
|
"reflects": true
|
|
133570
133569
|
},
|
|
133571
133570
|
{
|
|
133572
133571
|
"kind": "field",
|
|
133573
|
-
"name": "
|
|
133572
|
+
"name": "blockedPassage",
|
|
133574
133573
|
"type": {
|
|
133575
|
-
"text": "
|
|
133574
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133576
133575
|
},
|
|
133577
|
-
"privacy": "
|
|
133578
|
-
"default": "
|
|
133576
|
+
"privacy": "public",
|
|
133577
|
+
"default": "'none'",
|
|
133578
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133579
|
+
"attribute": "blocked-passage"
|
|
133580
|
+
},
|
|
133581
|
+
{
|
|
133582
|
+
"kind": "field",
|
|
133583
|
+
"name": "wagonClass",
|
|
133584
|
+
"type": {
|
|
133585
|
+
"text": "'1' | '2' | null"
|
|
133586
|
+
},
|
|
133587
|
+
"privacy": "public",
|
|
133588
|
+
"default": "null",
|
|
133589
|
+
"description": "Class label",
|
|
133590
|
+
"attribute": "wagon-class"
|
|
133591
|
+
},
|
|
133592
|
+
{
|
|
133593
|
+
"kind": "field",
|
|
133594
|
+
"name": "label",
|
|
133595
|
+
"type": {
|
|
133596
|
+
"text": "string"
|
|
133597
|
+
},
|
|
133598
|
+
"privacy": "public",
|
|
133599
|
+
"default": "''",
|
|
133600
|
+
"description": "Wagon number",
|
|
133601
|
+
"attribute": "label",
|
|
133602
|
+
"reflects": true
|
|
133603
|
+
},
|
|
133604
|
+
{
|
|
133605
|
+
"kind": "field",
|
|
133606
|
+
"name": "additionalAccessibilityText",
|
|
133607
|
+
"type": {
|
|
133608
|
+
"text": "string"
|
|
133609
|
+
},
|
|
133610
|
+
"privacy": "public",
|
|
133611
|
+
"default": "''",
|
|
133612
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
133613
|
+
"attribute": "additional-accessibility-text"
|
|
133579
133614
|
},
|
|
133580
133615
|
{
|
|
133581
133616
|
"kind": "field",
|
|
@@ -133585,22 +133620,23 @@
|
|
|
133585
133620
|
},
|
|
133586
133621
|
{
|
|
133587
133622
|
"kind": "method",
|
|
133588
|
-
"name": "
|
|
133623
|
+
"name": "_sectorChanged",
|
|
133589
133624
|
"privacy": "private",
|
|
133590
133625
|
"return": {
|
|
133591
133626
|
"type": {
|
|
133592
133627
|
"text": "void"
|
|
133593
133628
|
}
|
|
133594
|
-
}
|
|
133595
|
-
|
|
133596
|
-
|
|
133597
|
-
|
|
133598
|
-
|
|
133599
|
-
|
|
133600
|
-
|
|
133601
|
-
|
|
133629
|
+
}
|
|
133630
|
+
},
|
|
133631
|
+
{
|
|
133632
|
+
"kind": "method",
|
|
133633
|
+
"name": "_typeLabel",
|
|
133634
|
+
"privacy": "private",
|
|
133635
|
+
"return": {
|
|
133636
|
+
"type": {
|
|
133637
|
+
"text": "string"
|
|
133602
133638
|
}
|
|
133603
|
-
|
|
133639
|
+
}
|
|
133604
133640
|
},
|
|
133605
133641
|
{
|
|
133606
133642
|
"kind": "field",
|
|
@@ -133802,13 +133838,67 @@
|
|
|
133802
133838
|
],
|
|
133803
133839
|
"attributes": [
|
|
133804
133840
|
{
|
|
133805
|
-
"name": "
|
|
133841
|
+
"name": "type",
|
|
133806
133842
|
"type": {
|
|
133807
|
-
"text": "'
|
|
133843
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133808
133844
|
},
|
|
133809
|
-
"default": "'
|
|
133810
|
-
"description": "
|
|
133811
|
-
"fieldName": "
|
|
133845
|
+
"default": "'wagon'",
|
|
133846
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133847
|
+
"fieldName": "type"
|
|
133848
|
+
},
|
|
133849
|
+
{
|
|
133850
|
+
"name": "occupancy",
|
|
133851
|
+
"type": {
|
|
133852
|
+
"text": "SbbOccupancy | null"
|
|
133853
|
+
},
|
|
133854
|
+
"default": "null",
|
|
133855
|
+
"description": "Occupancy of a wagon.",
|
|
133856
|
+
"fieldName": "occupancy"
|
|
133857
|
+
},
|
|
133858
|
+
{
|
|
133859
|
+
"name": "sector",
|
|
133860
|
+
"type": {
|
|
133861
|
+
"text": "string"
|
|
133862
|
+
},
|
|
133863
|
+
"default": "''",
|
|
133864
|
+
"description": "Sector in which the wagon stops.",
|
|
133865
|
+
"fieldName": "sector"
|
|
133866
|
+
},
|
|
133867
|
+
{
|
|
133868
|
+
"name": "blocked-passage",
|
|
133869
|
+
"type": {
|
|
133870
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133871
|
+
},
|
|
133872
|
+
"default": "'none'",
|
|
133873
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133874
|
+
"fieldName": "blockedPassage"
|
|
133875
|
+
},
|
|
133876
|
+
{
|
|
133877
|
+
"name": "wagon-class",
|
|
133878
|
+
"type": {
|
|
133879
|
+
"text": "'1' | '2' | null"
|
|
133880
|
+
},
|
|
133881
|
+
"default": "null",
|
|
133882
|
+
"description": "Class label",
|
|
133883
|
+
"fieldName": "wagonClass"
|
|
133884
|
+
},
|
|
133885
|
+
{
|
|
133886
|
+
"name": "label",
|
|
133887
|
+
"type": {
|
|
133888
|
+
"text": "string"
|
|
133889
|
+
},
|
|
133890
|
+
"default": "''",
|
|
133891
|
+
"description": "Wagon number",
|
|
133892
|
+
"fieldName": "label"
|
|
133893
|
+
},
|
|
133894
|
+
{
|
|
133895
|
+
"name": "additional-accessibility-text",
|
|
133896
|
+
"type": {
|
|
133897
|
+
"text": "string"
|
|
133898
|
+
},
|
|
133899
|
+
"default": "''",
|
|
133900
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
133901
|
+
"fieldName": "additionalAccessibilityText"
|
|
133812
133902
|
}
|
|
133813
133903
|
],
|
|
133814
133904
|
"mixins": [
|
|
@@ -133821,17 +133911,17 @@
|
|
|
133821
133911
|
"name": "SbbElement",
|
|
133822
133912
|
"module": "core/base-elements.js"
|
|
133823
133913
|
},
|
|
133824
|
-
"tagName": "sbb-train-
|
|
133914
|
+
"tagName": "sbb-train-wagon",
|
|
133825
133915
|
"customElement": true
|
|
133826
133916
|
}
|
|
133827
133917
|
],
|
|
133828
133918
|
"exports": [
|
|
133829
133919
|
{
|
|
133830
133920
|
"kind": "js",
|
|
133831
|
-
"name": "
|
|
133921
|
+
"name": "SbbTrainWagonElement",
|
|
133832
133922
|
"declaration": {
|
|
133833
|
-
"name": "
|
|
133834
|
-
"module": "train/train-
|
|
133923
|
+
"name": "SbbTrainWagonElement",
|
|
133924
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
133835
133925
|
}
|
|
133836
133926
|
}
|
|
133837
133927
|
]
|