@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1780381732 → 5.0.0-next.3-dev.1780406485
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/calendar/_calendar.global.scss +25 -26
- package/calendar/calendar/calendar.component.js +1 -1
- package/calendar/calendar-day/calendar-day.component.js +1 -1
- package/calendar/calendar-month/calendar-month.component.js +1 -1
- package/calendar/calendar-year/calendar-year.component.js +1 -1
- package/calendar/common/calendar-cell-base-element.js +1 -1
- package/calendar-cell-base-element-DHCKK3bU.js +23 -0
- package/{calendar-day.component-Caf2w9lS.js → calendar-day.component-DrMWf6-w.js} +2 -2
- package/calendar.component-BM4L9oyb.js +987 -0
- package/calendar.js +3 -3
- package/calendar.pure.js +3 -3
- package/core/i18n/i18n.js +4 -4
- package/core/styles/_theme.scss +1 -0
- package/custom-elements.json +401 -233
- package/datepicker/datepicker/datepicker.component.js +45 -27
- package/development/calendar/calendar/calendar.component.d.ts +27 -42
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar-day/calendar-day.component.js +1 -1
- package/development/calendar/calendar-month/calendar-month.component.js +2 -2
- package/development/calendar/calendar-year/calendar-year.component.js +2 -2
- package/development/calendar/common/calendar-cell-base-element.js +1 -1
- package/development/calendar-cell-base-element-D9XadTz1.js +38 -0
- package/development/calendar-day.component-Zky9Z-Fq.js +139 -0
- package/development/calendar.component-C_Yc2PNV.js +1367 -0
- package/development/calendar.js +3 -3
- package/development/calendar.pure.js +3 -3
- package/development/core/decorators/id-reference.d.ts.map +1 -1
- package/development/core/decorators/id-reference.js +1 -1
- package/development/core/i18n/i18n.js +5 -5
- package/development/datepicker/datepicker/datepicker.component.d.ts +2 -0
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +37 -11
- package/lean-off-brand-theme.css +14 -22
- package/lean-safety-theme.css +14 -22
- package/lean-theme.css +14 -22
- package/off-brand-theme.css +14 -22
- package/package.json +2 -2
- package/safety-theme.css +14 -22
- package/standard-theme.css +14 -22
- package/calendar-cell-base-element-Dq7Ap5n-.js +0 -23
- package/calendar.component-DKKptbyy.js +0 -1082
- package/development/calendar-cell-base-element-D_CTwDn9.js +0 -38
- package/development/calendar-day.component-Bux4ezpg.js +0 -139
- package/development/calendar.component-NvMN01yi.js +0 -1478
package/custom-elements.json
CHANGED
|
@@ -5546,7 +5546,7 @@
|
|
|
5546
5546
|
"type": {
|
|
5547
5547
|
"text": "Record<string, string>"
|
|
5548
5548
|
},
|
|
5549
|
-
"default": "{ de: '
|
|
5549
|
+
"default": "{ de: 'Wechsel zur Datumsauswahl', en: 'Change to date selection', fr: 'Passer à la sélection de date', it: 'Passare alla selezione della data', }"
|
|
5550
5550
|
},
|
|
5551
5551
|
{
|
|
5552
5552
|
"kind": "function",
|
|
@@ -74693,14 +74693,14 @@
|
|
|
74693
74693
|
},
|
|
74694
74694
|
{
|
|
74695
74695
|
"kind": "field",
|
|
74696
|
-
"name": "
|
|
74696
|
+
"name": "amount",
|
|
74697
74697
|
"type": {
|
|
74698
|
-
"text": "
|
|
74698
|
+
"text": "number"
|
|
74699
74699
|
},
|
|
74700
74700
|
"privacy": "public",
|
|
74701
|
-
"default": "
|
|
74702
|
-
"description": "
|
|
74703
|
-
"attribute": "
|
|
74701
|
+
"default": "1",
|
|
74702
|
+
"description": "The amount of months to display in this calendar.",
|
|
74703
|
+
"attribute": "amount"
|
|
74704
74704
|
},
|
|
74705
74705
|
{
|
|
74706
74706
|
"kind": "field",
|
|
@@ -74748,18 +74748,22 @@
|
|
|
74748
74748
|
},
|
|
74749
74749
|
{
|
|
74750
74750
|
"kind": "field",
|
|
74751
|
-
"name": "
|
|
74752
|
-
"privacy": "public",
|
|
74753
|
-
"description": "The selected date: accepts a date object, or, if `multiple`, an array of dates.",
|
|
74751
|
+
"name": "value",
|
|
74754
74752
|
"type": {
|
|
74755
74753
|
"text": "T | T[] | null"
|
|
74756
74754
|
},
|
|
74757
|
-
"
|
|
74755
|
+
"privacy": "public",
|
|
74756
|
+
"description": "The selected date: accepts a date object, or, if `multiple`, an array of dates.",
|
|
74757
|
+
"attribute": "value",
|
|
74758
|
+
"inheritedFrom": {
|
|
74759
|
+
"name": "SbbFormAssociatedMixin",
|
|
74760
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
74761
|
+
},
|
|
74758
74762
|
"default": "null"
|
|
74759
74763
|
},
|
|
74760
74764
|
{
|
|
74761
74765
|
"kind": "field",
|
|
74762
|
-
"name": "
|
|
74766
|
+
"name": "_value",
|
|
74763
74767
|
"type": {
|
|
74764
74768
|
"text": "T | T[] | null"
|
|
74765
74769
|
},
|
|
@@ -74817,24 +74821,6 @@
|
|
|
74817
74821
|
"privacy": "private",
|
|
74818
74822
|
"description": "The currently active date."
|
|
74819
74823
|
},
|
|
74820
|
-
{
|
|
74821
|
-
"kind": "field",
|
|
74822
|
-
"name": "_wide",
|
|
74823
|
-
"privacy": "private",
|
|
74824
|
-
"description": "The current wide property considering property value and breakpoints. From zero to small `wide` has always to be false.",
|
|
74825
|
-
"type": {
|
|
74826
|
-
"text": "boolean"
|
|
74827
|
-
}
|
|
74828
|
-
},
|
|
74829
|
-
{
|
|
74830
|
-
"kind": "field",
|
|
74831
|
-
"name": "_wideInternal",
|
|
74832
|
-
"type": {
|
|
74833
|
-
"text": "boolean"
|
|
74834
|
-
},
|
|
74835
|
-
"privacy": "private",
|
|
74836
|
-
"default": "false"
|
|
74837
|
-
},
|
|
74838
74824
|
{
|
|
74839
74825
|
"kind": "field",
|
|
74840
74826
|
"name": "_calendarView",
|
|
@@ -74845,26 +74831,6 @@
|
|
|
74845
74831
|
"privacy": "private",
|
|
74846
74832
|
"default": "'day'"
|
|
74847
74833
|
},
|
|
74848
|
-
{
|
|
74849
|
-
"kind": "field",
|
|
74850
|
-
"name": "_nextCalendarView",
|
|
74851
|
-
"type": {
|
|
74852
|
-
"text": "SbbCalendarElement['view']",
|
|
74853
|
-
"resolved": "'day' | 'month' | 'year'"
|
|
74854
|
-
},
|
|
74855
|
-
"privacy": "private",
|
|
74856
|
-
"default": "'day'"
|
|
74857
|
-
},
|
|
74858
|
-
{
|
|
74859
|
-
"kind": "field",
|
|
74860
|
-
"name": "_keyboardNavigationDayViewParameters",
|
|
74861
|
-
"type": {
|
|
74862
|
-
"text": "CalendarKeyboardNavigationDayViewParameters"
|
|
74863
|
-
},
|
|
74864
|
-
"privacy": "private",
|
|
74865
|
-
"default": "{ firstDayInView: null, lastDayInView: null, firstMonthOffset: 0, firstMonthLength: 0, secondMonthOffset: 0, }",
|
|
74866
|
-
"description": "Information about the rendered day view; used in keyboard navigation."
|
|
74867
|
-
},
|
|
74868
74834
|
{
|
|
74869
74835
|
"kind": "field",
|
|
74870
74836
|
"name": "_weekdays",
|
|
@@ -74878,7 +74844,7 @@
|
|
|
74878
74844
|
"kind": "field",
|
|
74879
74845
|
"name": "_weeks",
|
|
74880
74846
|
"type": {
|
|
74881
|
-
"text": "Day<T>[][]"
|
|
74847
|
+
"text": "Day<T>[][][]"
|
|
74882
74848
|
},
|
|
74883
74849
|
"privacy": "private",
|
|
74884
74850
|
"default": "[]",
|
|
@@ -74886,39 +74852,41 @@
|
|
|
74886
74852
|
},
|
|
74887
74853
|
{
|
|
74888
74854
|
"kind": "field",
|
|
74889
|
-
"name": "
|
|
74855
|
+
"name": "_firstVisibleDay",
|
|
74890
74856
|
"type": {
|
|
74891
|
-
"text": "
|
|
74857
|
+
"text": "string"
|
|
74892
74858
|
},
|
|
74893
74859
|
"privacy": "private",
|
|
74894
|
-
"
|
|
74860
|
+
"default": "''",
|
|
74861
|
+
"description": "The first visible day in the calendar."
|
|
74895
74862
|
},
|
|
74896
74863
|
{
|
|
74897
74864
|
"kind": "field",
|
|
74898
|
-
"name": "
|
|
74865
|
+
"name": "_lastVisibleDay",
|
|
74899
74866
|
"type": {
|
|
74900
|
-
"text": "
|
|
74867
|
+
"text": "string"
|
|
74901
74868
|
},
|
|
74902
74869
|
"privacy": "private",
|
|
74903
|
-
"
|
|
74870
|
+
"default": "''",
|
|
74871
|
+
"description": "The last visible day in the calendar."
|
|
74904
74872
|
},
|
|
74905
74873
|
{
|
|
74906
74874
|
"kind": "field",
|
|
74907
|
-
"name": "
|
|
74875
|
+
"name": "_months",
|
|
74908
74876
|
"type": {
|
|
74909
|
-
"text": "
|
|
74877
|
+
"text": "MonthCell[][]"
|
|
74910
74878
|
},
|
|
74911
74879
|
"privacy": "private",
|
|
74912
|
-
"description": "Grid of calendar cells representing
|
|
74880
|
+
"description": "Grid of calendar cells representing months."
|
|
74913
74881
|
},
|
|
74914
74882
|
{
|
|
74915
74883
|
"kind": "field",
|
|
74916
|
-
"name": "
|
|
74884
|
+
"name": "_years",
|
|
74917
74885
|
"type": {
|
|
74918
|
-
"text": "
|
|
74886
|
+
"text": "number[][]"
|
|
74919
74887
|
},
|
|
74920
74888
|
"privacy": "private",
|
|
74921
|
-
"description": "Grid of calendar cells representing
|
|
74889
|
+
"description": "Grid of calendar cells representing years."
|
|
74922
74890
|
},
|
|
74923
74891
|
{
|
|
74924
74892
|
"kind": "field",
|
|
@@ -74933,20 +74901,11 @@
|
|
|
74933
74901
|
"kind": "field",
|
|
74934
74902
|
"name": "_weekNumbers",
|
|
74935
74903
|
"type": {
|
|
74936
|
-
"text": "number[]"
|
|
74904
|
+
"text": "number[][]"
|
|
74937
74905
|
},
|
|
74938
74906
|
"privacy": "private",
|
|
74939
74907
|
"description": "An array containing the weeks' numbers for the current month."
|
|
74940
74908
|
},
|
|
74941
|
-
{
|
|
74942
|
-
"kind": "field",
|
|
74943
|
-
"name": "_nextMonthWeekNumbers",
|
|
74944
|
-
"type": {
|
|
74945
|
-
"text": "number[]"
|
|
74946
|
-
},
|
|
74947
|
-
"privacy": "private",
|
|
74948
|
-
"description": "An array containing the weeks' numbers for the next month in wide mode."
|
|
74949
|
-
},
|
|
74950
74909
|
{
|
|
74951
74910
|
"kind": "field",
|
|
74952
74911
|
"name": "_enhancedVariant",
|
|
@@ -75027,12 +74986,6 @@
|
|
|
75027
74986
|
"name": "_language",
|
|
75028
74987
|
"privacy": "private"
|
|
75029
74988
|
},
|
|
75030
|
-
{
|
|
75031
|
-
"kind": "field",
|
|
75032
|
-
"name": "_mediaMatcher",
|
|
75033
|
-
"privacy": "private",
|
|
75034
|
-
"default": "new SbbMediaMatcherController(this, { [SbbMediaQueryBreakpointLargeAndAbove]: () => this._init(), })"
|
|
75035
|
-
},
|
|
75036
74989
|
{
|
|
75037
74990
|
"kind": "field",
|
|
75038
74991
|
"name": "_sortDate",
|
|
@@ -75068,6 +75021,24 @@
|
|
|
75068
75021
|
},
|
|
75069
75022
|
"description": "Resets the active month according to the new state of the calendar."
|
|
75070
75023
|
},
|
|
75024
|
+
{
|
|
75025
|
+
"kind": "method",
|
|
75026
|
+
"name": "_readFormData",
|
|
75027
|
+
"privacy": "private",
|
|
75028
|
+
"return": {
|
|
75029
|
+
"type": {
|
|
75030
|
+
"text": "Promise<T[]>"
|
|
75031
|
+
}
|
|
75032
|
+
},
|
|
75033
|
+
"parameters": [
|
|
75034
|
+
{
|
|
75035
|
+
"name": "formData",
|
|
75036
|
+
"type": {
|
|
75037
|
+
"text": "FormData"
|
|
75038
|
+
}
|
|
75039
|
+
}
|
|
75040
|
+
]
|
|
75041
|
+
},
|
|
75071
75042
|
{
|
|
75072
75043
|
"kind": "field",
|
|
75073
75044
|
"name": "_onSlotChange",
|
|
@@ -75090,7 +75061,7 @@
|
|
|
75090
75061
|
}
|
|
75091
75062
|
}
|
|
75092
75063
|
],
|
|
75093
|
-
"description": "The `
|
|
75064
|
+
"description": "The `_value` state should be adapted when the `multiple` property changes:\n - if it changes to true, the '_value' is set to an array;\n - if it changes to false, the first available option is set as 'value' otherwise it's set to null."
|
|
75094
75065
|
},
|
|
75095
75066
|
{
|
|
75096
75067
|
"kind": "method",
|
|
@@ -75149,10 +75120,6 @@
|
|
|
75149
75120
|
"type": {
|
|
75150
75121
|
"text": "T"
|
|
75151
75122
|
}
|
|
75152
|
-
},
|
|
75153
|
-
{
|
|
75154
|
-
"name": "isSecondMonthInView",
|
|
75155
|
-
"default": "false"
|
|
75156
75123
|
}
|
|
75157
75124
|
],
|
|
75158
75125
|
"description": "Creates the rows along the horizontal direction and sets the parameters used in keyboard navigation."
|
|
@@ -75294,15 +75261,6 @@
|
|
|
75294
75261
|
"text": "number[][]"
|
|
75295
75262
|
}
|
|
75296
75263
|
},
|
|
75297
|
-
"parameters": [
|
|
75298
|
-
{
|
|
75299
|
-
"name": "offset",
|
|
75300
|
-
"default": "0",
|
|
75301
|
-
"type": {
|
|
75302
|
-
"text": "number"
|
|
75303
|
-
}
|
|
75304
|
-
}
|
|
75305
|
-
],
|
|
75306
75264
|
"description": "Creates the rows for the year selection view."
|
|
75307
75265
|
},
|
|
75308
75266
|
{
|
|
@@ -76112,13 +76070,7 @@
|
|
|
76112
76070
|
"type": {
|
|
76113
76071
|
"text": "void"
|
|
76114
76072
|
}
|
|
76115
|
-
}
|
|
76116
|
-
"parameters": [
|
|
76117
|
-
{
|
|
76118
|
-
"name": "initTransition",
|
|
76119
|
-
"default": "false"
|
|
76120
|
-
}
|
|
76121
|
-
]
|
|
76073
|
+
}
|
|
76122
76074
|
},
|
|
76123
76075
|
{
|
|
76124
76076
|
"kind": "method",
|
|
@@ -76128,62 +76080,7 @@
|
|
|
76128
76080
|
"type": {
|
|
76129
76081
|
"text": "void"
|
|
76130
76082
|
}
|
|
76131
|
-
}
|
|
76132
|
-
"parameters": [
|
|
76133
|
-
{
|
|
76134
|
-
"name": "initTransition",
|
|
76135
|
-
"default": "false"
|
|
76136
|
-
}
|
|
76137
|
-
]
|
|
76138
|
-
},
|
|
76139
|
-
{
|
|
76140
|
-
"kind": "method",
|
|
76141
|
-
"name": "_renderDayView",
|
|
76142
|
-
"privacy": "private",
|
|
76143
|
-
"return": {
|
|
76144
|
-
"type": {
|
|
76145
|
-
"text": "TemplateResult"
|
|
76146
|
-
}
|
|
76147
|
-
},
|
|
76148
|
-
"description": "Render the view for the day selection."
|
|
76149
|
-
},
|
|
76150
|
-
{
|
|
76151
|
-
"kind": "method",
|
|
76152
|
-
"name": "_createLabelForDayView",
|
|
76153
|
-
"privacy": "private",
|
|
76154
|
-
"return": {
|
|
76155
|
-
"type": {
|
|
76156
|
-
"text": "TemplateResult"
|
|
76157
|
-
}
|
|
76158
|
-
},
|
|
76159
|
-
"parameters": [
|
|
76160
|
-
{
|
|
76161
|
-
"name": "d",
|
|
76162
|
-
"type": {
|
|
76163
|
-
"text": "T"
|
|
76164
|
-
}
|
|
76165
|
-
}
|
|
76166
|
-
],
|
|
76167
|
-
"description": "Creates the label with the month for the daily view."
|
|
76168
|
-
},
|
|
76169
|
-
{
|
|
76170
|
-
"kind": "method",
|
|
76171
|
-
"name": "_createAriaLabelForDayView",
|
|
76172
|
-
"privacy": "private",
|
|
76173
|
-
"return": {
|
|
76174
|
-
"type": {
|
|
76175
|
-
"text": "string"
|
|
76176
|
-
}
|
|
76177
|
-
},
|
|
76178
|
-
"parameters": [
|
|
76179
|
-
{
|
|
76180
|
-
"name": "dates",
|
|
76181
|
-
"type": {
|
|
76182
|
-
"text": "T[]"
|
|
76183
|
-
}
|
|
76184
|
-
}
|
|
76185
|
-
],
|
|
76186
|
-
"description": "Creates the aria-label for the daily view."
|
|
76083
|
+
}
|
|
76187
76084
|
},
|
|
76188
76085
|
{
|
|
76189
76086
|
"kind": "method",
|
|
@@ -76208,8 +76105,7 @@
|
|
|
76208
76105
|
}
|
|
76209
76106
|
},
|
|
76210
76107
|
{
|
|
76211
|
-
"name": "
|
|
76212
|
-
"default": "false",
|
|
76108
|
+
"name": "first",
|
|
76213
76109
|
"type": {
|
|
76214
76110
|
"text": "boolean"
|
|
76215
76111
|
}
|
|
@@ -76240,10 +76136,9 @@
|
|
|
76240
76136
|
}
|
|
76241
76137
|
},
|
|
76242
76138
|
{
|
|
76243
|
-
"name": "
|
|
76244
|
-
"optional": true,
|
|
76139
|
+
"name": "first",
|
|
76245
76140
|
"type": {
|
|
76246
|
-
"text": "
|
|
76141
|
+
"text": "boolean"
|
|
76247
76142
|
}
|
|
76248
76143
|
}
|
|
76249
76144
|
],
|
|
@@ -76251,7 +76146,7 @@
|
|
|
76251
76146
|
},
|
|
76252
76147
|
{
|
|
76253
76148
|
"kind": "method",
|
|
76254
|
-
"name": "
|
|
76149
|
+
"name": "_createDayTableControls",
|
|
76255
76150
|
"privacy": "private",
|
|
76256
76151
|
"return": {
|
|
76257
76152
|
"type": {
|
|
@@ -76260,60 +76155,42 @@
|
|
|
76260
76155
|
},
|
|
76261
76156
|
"parameters": [
|
|
76262
76157
|
{
|
|
76263
|
-
"name": "
|
|
76158
|
+
"name": "monthLabel",
|
|
76264
76159
|
"type": {
|
|
76265
|
-
"text": "
|
|
76160
|
+
"text": "string"
|
|
76266
76161
|
}
|
|
76267
76162
|
}
|
|
76268
|
-
]
|
|
76269
|
-
"description": "Creates the cells for the daily view."
|
|
76163
|
+
]
|
|
76270
76164
|
},
|
|
76271
76165
|
{
|
|
76272
76166
|
"kind": "method",
|
|
76273
|
-
"name": "
|
|
76167
|
+
"name": "_createDayCells",
|
|
76274
76168
|
"privacy": "private",
|
|
76275
76169
|
"return": {
|
|
76276
76170
|
"type": {
|
|
76277
|
-
"text": "TemplateResult"
|
|
76171
|
+
"text": "TemplateResult[]"
|
|
76278
76172
|
}
|
|
76279
76173
|
},
|
|
76280
|
-
"
|
|
76281
|
-
|
|
76282
|
-
|
|
76283
|
-
|
|
76284
|
-
|
|
76285
|
-
|
|
76286
|
-
"return": {
|
|
76287
|
-
"type": {
|
|
76288
|
-
"text": "TemplateResult"
|
|
76174
|
+
"parameters": [
|
|
76175
|
+
{
|
|
76176
|
+
"name": "week",
|
|
76177
|
+
"type": {
|
|
76178
|
+
"text": "Day<T>[]"
|
|
76179
|
+
}
|
|
76289
76180
|
}
|
|
76290
|
-
|
|
76291
|
-
"description": "Creates the
|
|
76181
|
+
],
|
|
76182
|
+
"description": "Creates the cells for the daily view."
|
|
76292
76183
|
},
|
|
76293
76184
|
{
|
|
76294
76185
|
"kind": "method",
|
|
76295
|
-
"name": "
|
|
76186
|
+
"name": "_renderMonthView",
|
|
76296
76187
|
"privacy": "private",
|
|
76297
76188
|
"return": {
|
|
76298
76189
|
"type": {
|
|
76299
76190
|
"text": "TemplateResult"
|
|
76300
76191
|
}
|
|
76301
76192
|
},
|
|
76302
|
-
"
|
|
76303
|
-
{
|
|
76304
|
-
"name": "months",
|
|
76305
|
-
"type": {
|
|
76306
|
-
"text": "MonthCell[][]"
|
|
76307
|
-
}
|
|
76308
|
-
},
|
|
76309
|
-
{
|
|
76310
|
-
"name": "year",
|
|
76311
|
-
"type": {
|
|
76312
|
-
"text": "number"
|
|
76313
|
-
}
|
|
76314
|
-
}
|
|
76315
|
-
],
|
|
76316
|
-
"description": "Creates the table for the month selection view."
|
|
76193
|
+
"description": "Render the view for the month selection."
|
|
76317
76194
|
},
|
|
76318
76195
|
{
|
|
76319
76196
|
"kind": "method",
|
|
@@ -76351,6 +76228,25 @@
|
|
|
76351
76228
|
},
|
|
76352
76229
|
"description": "Render the view for the year selection."
|
|
76353
76230
|
},
|
|
76231
|
+
{
|
|
76232
|
+
"kind": "method",
|
|
76233
|
+
"name": "_onYearSelection",
|
|
76234
|
+
"privacy": "private",
|
|
76235
|
+
"return": {
|
|
76236
|
+
"type": {
|
|
76237
|
+
"text": "void"
|
|
76238
|
+
}
|
|
76239
|
+
},
|
|
76240
|
+
"parameters": [
|
|
76241
|
+
{
|
|
76242
|
+
"name": "year",
|
|
76243
|
+
"type": {
|
|
76244
|
+
"text": "number"
|
|
76245
|
+
}
|
|
76246
|
+
}
|
|
76247
|
+
],
|
|
76248
|
+
"description": "Select the year and change the view to month selection."
|
|
76249
|
+
},
|
|
76354
76250
|
{
|
|
76355
76251
|
"kind": "method",
|
|
76356
76252
|
"name": "_getArrow",
|
|
@@ -76364,7 +76260,7 @@
|
|
|
76364
76260
|
{
|
|
76365
76261
|
"name": "direction",
|
|
76366
76262
|
"type": {
|
|
76367
|
-
"text": "'left' | 'right'"
|
|
76263
|
+
"text": "'left' | 'right' | 'down' | 'up'"
|
|
76368
76264
|
}
|
|
76369
76265
|
},
|
|
76370
76266
|
{
|
|
@@ -76381,51 +76277,229 @@
|
|
|
76381
76277
|
},
|
|
76382
76278
|
{
|
|
76383
76279
|
"name": "disabled",
|
|
76384
|
-
"
|
|
76385
|
-
"text": "boolean"
|
|
76386
|
-
}
|
|
76280
|
+
"default": "false"
|
|
76387
76281
|
}
|
|
76388
76282
|
],
|
|
76389
76283
|
"description": "Creates the button arrow for all the views."
|
|
76390
76284
|
},
|
|
76391
76285
|
{
|
|
76392
76286
|
"kind": "method",
|
|
76393
|
-
"name": "
|
|
76287
|
+
"name": "_getView",
|
|
76394
76288
|
"privacy": "private",
|
|
76395
76289
|
"return": {
|
|
76396
76290
|
"type": {
|
|
76397
|
-
"text": "TemplateResult"
|
|
76291
|
+
"text": "TemplateResult | typeof nothing"
|
|
76398
76292
|
}
|
|
76293
|
+
}
|
|
76294
|
+
},
|
|
76295
|
+
{
|
|
76296
|
+
"kind": "field",
|
|
76297
|
+
"name": "formAssociated",
|
|
76298
|
+
"type": {
|
|
76299
|
+
"text": "boolean"
|
|
76399
76300
|
},
|
|
76400
|
-
"
|
|
76301
|
+
"privacy": "public",
|
|
76302
|
+
"static": true,
|
|
76303
|
+
"default": "true",
|
|
76304
|
+
"inheritedFrom": {
|
|
76305
|
+
"name": "SbbFormAssociatedMixin",
|
|
76306
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76307
|
+
}
|
|
76401
76308
|
},
|
|
76402
76309
|
{
|
|
76403
|
-
"kind": "
|
|
76404
|
-
"name": "
|
|
76310
|
+
"kind": "field",
|
|
76311
|
+
"name": "form",
|
|
76312
|
+
"type": {
|
|
76313
|
+
"text": "HTMLFormElement | null"
|
|
76314
|
+
},
|
|
76315
|
+
"privacy": "public",
|
|
76316
|
+
"description": "Returns the form owner of this element.",
|
|
76317
|
+
"readonly": true,
|
|
76318
|
+
"inheritedFrom": {
|
|
76319
|
+
"name": "SbbFormAssociatedMixin",
|
|
76320
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76321
|
+
}
|
|
76322
|
+
},
|
|
76323
|
+
{
|
|
76324
|
+
"kind": "field",
|
|
76325
|
+
"name": "name",
|
|
76326
|
+
"privacy": "public",
|
|
76327
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
76328
|
+
"type": {
|
|
76329
|
+
"text": "string"
|
|
76330
|
+
},
|
|
76331
|
+
"attribute": "name",
|
|
76332
|
+
"inheritedFrom": {
|
|
76333
|
+
"name": "SbbFormAssociatedMixin",
|
|
76334
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76335
|
+
}
|
|
76336
|
+
},
|
|
76337
|
+
{
|
|
76338
|
+
"kind": "field",
|
|
76339
|
+
"name": "validity",
|
|
76340
|
+
"type": {
|
|
76341
|
+
"text": "ValidityState"
|
|
76342
|
+
},
|
|
76343
|
+
"privacy": "public",
|
|
76344
|
+
"description": "Returns the ValidityState object for this element.",
|
|
76345
|
+
"readonly": true,
|
|
76346
|
+
"inheritedFrom": {
|
|
76347
|
+
"name": "SbbFormAssociatedMixin",
|
|
76348
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76349
|
+
}
|
|
76350
|
+
},
|
|
76351
|
+
{
|
|
76352
|
+
"kind": "field",
|
|
76353
|
+
"name": "validationMessage",
|
|
76354
|
+
"type": {
|
|
76355
|
+
"text": "string"
|
|
76356
|
+
},
|
|
76357
|
+
"privacy": "public",
|
|
76358
|
+
"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.",
|
|
76359
|
+
"readonly": true,
|
|
76360
|
+
"inheritedFrom": {
|
|
76361
|
+
"name": "SbbFormAssociatedMixin",
|
|
76362
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76363
|
+
}
|
|
76364
|
+
},
|
|
76365
|
+
{
|
|
76366
|
+
"kind": "field",
|
|
76367
|
+
"name": "willValidate",
|
|
76368
|
+
"type": {
|
|
76369
|
+
"text": "boolean"
|
|
76370
|
+
},
|
|
76371
|
+
"privacy": "public",
|
|
76372
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
76373
|
+
"readonly": true,
|
|
76374
|
+
"inheritedFrom": {
|
|
76375
|
+
"name": "SbbFormAssociatedMixin",
|
|
76376
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76377
|
+
}
|
|
76378
|
+
},
|
|
76379
|
+
{
|
|
76380
|
+
"kind": "field",
|
|
76381
|
+
"name": "_validityStates",
|
|
76405
76382
|
"privacy": "private",
|
|
76383
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
76384
|
+
"inheritedFrom": {
|
|
76385
|
+
"name": "SbbFormAssociatedMixin",
|
|
76386
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76387
|
+
}
|
|
76388
|
+
},
|
|
76389
|
+
{
|
|
76390
|
+
"kind": "field",
|
|
76391
|
+
"name": "formDisabled",
|
|
76392
|
+
"type": {
|
|
76393
|
+
"text": "boolean"
|
|
76394
|
+
},
|
|
76395
|
+
"privacy": "protected",
|
|
76396
|
+
"default": "false",
|
|
76397
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
76398
|
+
"inheritedFrom": {
|
|
76399
|
+
"name": "SbbFormAssociatedMixin",
|
|
76400
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76401
|
+
}
|
|
76402
|
+
},
|
|
76403
|
+
{
|
|
76404
|
+
"kind": "method",
|
|
76405
|
+
"name": "checkValidity",
|
|
76406
|
+
"privacy": "public",
|
|
76406
76407
|
"return": {
|
|
76407
76408
|
"type": {
|
|
76408
|
-
"text": "
|
|
76409
|
+
"text": "boolean"
|
|
76410
|
+
}
|
|
76411
|
+
},
|
|
76412
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
76413
|
+
"inheritedFrom": {
|
|
76414
|
+
"name": "SbbFormAssociatedMixin",
|
|
76415
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76416
|
+
}
|
|
76417
|
+
},
|
|
76418
|
+
{
|
|
76419
|
+
"kind": "method",
|
|
76420
|
+
"name": "reportValidity",
|
|
76421
|
+
"privacy": "public",
|
|
76422
|
+
"return": {
|
|
76423
|
+
"type": {
|
|
76424
|
+
"text": "boolean"
|
|
76425
|
+
}
|
|
76426
|
+
},
|
|
76427
|
+
"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.",
|
|
76428
|
+
"inheritedFrom": {
|
|
76429
|
+
"name": "SbbFormAssociatedMixin",
|
|
76430
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76431
|
+
}
|
|
76432
|
+
},
|
|
76433
|
+
{
|
|
76434
|
+
"kind": "method",
|
|
76435
|
+
"name": "setCustomValidity",
|
|
76436
|
+
"privacy": "public",
|
|
76437
|
+
"return": {
|
|
76438
|
+
"type": {
|
|
76439
|
+
"text": "void"
|
|
76409
76440
|
}
|
|
76410
76441
|
},
|
|
76411
76442
|
"parameters": [
|
|
76412
76443
|
{
|
|
76413
|
-
"name": "
|
|
76444
|
+
"name": "message",
|
|
76414
76445
|
"type": {
|
|
76415
|
-
"text": "
|
|
76446
|
+
"text": "string"
|
|
76416
76447
|
}
|
|
76417
|
-
},
|
|
76418
|
-
{
|
|
76419
|
-
"name": "shiftRight",
|
|
76420
|
-
"default": "false"
|
|
76421
76448
|
}
|
|
76422
76449
|
],
|
|
76423
|
-
"description": "
|
|
76450
|
+
"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.",
|
|
76451
|
+
"inheritedFrom": {
|
|
76452
|
+
"name": "SbbFormAssociatedMixin",
|
|
76453
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76454
|
+
}
|
|
76424
76455
|
},
|
|
76425
76456
|
{
|
|
76426
76457
|
"kind": "method",
|
|
76427
|
-
"name": "
|
|
76458
|
+
"name": "_hasDisabledAncestor",
|
|
76428
76459
|
"privacy": "private",
|
|
76460
|
+
"return": {
|
|
76461
|
+
"type": {
|
|
76462
|
+
"text": "boolean"
|
|
76463
|
+
}
|
|
76464
|
+
},
|
|
76465
|
+
"inheritedFrom": {
|
|
76466
|
+
"name": "SbbFormAssociatedMixin",
|
|
76467
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76468
|
+
}
|
|
76469
|
+
},
|
|
76470
|
+
{
|
|
76471
|
+
"kind": "method",
|
|
76472
|
+
"name": "updateFormValue",
|
|
76473
|
+
"privacy": "protected",
|
|
76474
|
+
"return": {
|
|
76475
|
+
"type": {
|
|
76476
|
+
"text": "void"
|
|
76477
|
+
}
|
|
76478
|
+
},
|
|
76479
|
+
"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",
|
|
76480
|
+
"inheritedFrom": {
|
|
76481
|
+
"name": "SbbFormAssociatedMixin",
|
|
76482
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76483
|
+
}
|
|
76484
|
+
},
|
|
76485
|
+
{
|
|
76486
|
+
"kind": "method",
|
|
76487
|
+
"name": "formState",
|
|
76488
|
+
"privacy": "protected",
|
|
76489
|
+
"return": {
|
|
76490
|
+
"type": {
|
|
76491
|
+
"text": "FormRestoreState"
|
|
76492
|
+
}
|
|
76493
|
+
},
|
|
76494
|
+
"inheritedFrom": {
|
|
76495
|
+
"name": "SbbFormAssociatedMixin",
|
|
76496
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76497
|
+
}
|
|
76498
|
+
},
|
|
76499
|
+
{
|
|
76500
|
+
"kind": "method",
|
|
76501
|
+
"name": "setValidityFlag",
|
|
76502
|
+
"privacy": "protected",
|
|
76429
76503
|
"return": {
|
|
76430
76504
|
"type": {
|
|
76431
76505
|
"text": "void"
|
|
@@ -76433,56 +76507,104 @@
|
|
|
76433
76507
|
},
|
|
76434
76508
|
"parameters": [
|
|
76435
76509
|
{
|
|
76436
|
-
"name": "
|
|
76510
|
+
"name": "flag",
|
|
76437
76511
|
"type": {
|
|
76438
|
-
"text": "
|
|
76512
|
+
"text": "T"
|
|
76439
76513
|
}
|
|
76440
76514
|
},
|
|
76441
76515
|
{
|
|
76442
|
-
"name": "
|
|
76516
|
+
"name": "message",
|
|
76443
76517
|
"type": {
|
|
76444
|
-
"text": "
|
|
76518
|
+
"text": "string"
|
|
76519
|
+
}
|
|
76520
|
+
},
|
|
76521
|
+
{
|
|
76522
|
+
"name": "flagValue",
|
|
76523
|
+
"optional": true,
|
|
76524
|
+
"type": {
|
|
76525
|
+
"text": "ValidityStateFlags[T]"
|
|
76445
76526
|
}
|
|
76446
76527
|
}
|
|
76447
76528
|
],
|
|
76448
|
-
"description": "
|
|
76529
|
+
"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).",
|
|
76530
|
+
"inheritedFrom": {
|
|
76531
|
+
"name": "SbbFormAssociatedMixin",
|
|
76532
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76533
|
+
}
|
|
76449
76534
|
},
|
|
76450
76535
|
{
|
|
76451
76536
|
"kind": "method",
|
|
76452
|
-
"name": "
|
|
76453
|
-
"privacy": "
|
|
76537
|
+
"name": "removeValidityFlag",
|
|
76538
|
+
"privacy": "protected",
|
|
76454
76539
|
"return": {
|
|
76455
76540
|
"type": {
|
|
76456
|
-
"text": "
|
|
76541
|
+
"text": "void"
|
|
76542
|
+
}
|
|
76543
|
+
},
|
|
76544
|
+
"parameters": [
|
|
76545
|
+
{
|
|
76546
|
+
"name": "flag",
|
|
76547
|
+
"type": {
|
|
76548
|
+
"text": "T"
|
|
76549
|
+
}
|
|
76457
76550
|
}
|
|
76551
|
+
],
|
|
76552
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
76553
|
+
"inheritedFrom": {
|
|
76554
|
+
"name": "SbbFormAssociatedMixin",
|
|
76555
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76458
76556
|
}
|
|
76459
76557
|
},
|
|
76460
76558
|
{
|
|
76461
76559
|
"kind": "method",
|
|
76462
|
-
"name": "
|
|
76463
|
-
"privacy": "
|
|
76560
|
+
"name": "validate",
|
|
76561
|
+
"privacy": "protected",
|
|
76464
76562
|
"return": {
|
|
76465
76563
|
"type": {
|
|
76466
76564
|
"text": "void"
|
|
76467
76565
|
}
|
|
76468
76566
|
},
|
|
76567
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
76568
|
+
"inheritedFrom": {
|
|
76569
|
+
"name": "SbbFormAssociatedMixin",
|
|
76570
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76571
|
+
}
|
|
76572
|
+
},
|
|
76573
|
+
{
|
|
76574
|
+
"kind": "method",
|
|
76575
|
+
"name": "shouldValidate",
|
|
76576
|
+
"privacy": "protected",
|
|
76577
|
+
"return": {
|
|
76578
|
+
"type": {
|
|
76579
|
+
"text": "boolean"
|
|
76580
|
+
}
|
|
76581
|
+
},
|
|
76469
76582
|
"parameters": [
|
|
76470
76583
|
{
|
|
76471
|
-
"name": "
|
|
76584
|
+
"name": "name",
|
|
76472
76585
|
"type": {
|
|
76473
|
-
"text": "
|
|
76586
|
+
"text": "PropertyKey | undefined"
|
|
76474
76587
|
}
|
|
76475
76588
|
}
|
|
76476
|
-
]
|
|
76589
|
+
],
|
|
76590
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
76591
|
+
"inheritedFrom": {
|
|
76592
|
+
"name": "SbbFormAssociatedMixin",
|
|
76593
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76594
|
+
}
|
|
76477
76595
|
},
|
|
76478
76596
|
{
|
|
76479
76597
|
"kind": "method",
|
|
76480
|
-
"name": "
|
|
76598
|
+
"name": "_setInternalValidity",
|
|
76481
76599
|
"privacy": "private",
|
|
76482
76600
|
"return": {
|
|
76483
76601
|
"type": {
|
|
76484
76602
|
"text": "void"
|
|
76485
76603
|
}
|
|
76604
|
+
},
|
|
76605
|
+
"inheritedFrom": {
|
|
76606
|
+
"name": "SbbFormAssociatedMixin",
|
|
76607
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
76486
76608
|
}
|
|
76487
76609
|
},
|
|
76488
76610
|
{
|
|
@@ -76764,6 +76886,20 @@
|
|
|
76764
76886
|
},
|
|
76765
76887
|
"description": "Event emitted on date selection."
|
|
76766
76888
|
},
|
|
76889
|
+
{
|
|
76890
|
+
"name": "input",
|
|
76891
|
+
"type": {
|
|
76892
|
+
"text": "InputEvent"
|
|
76893
|
+
},
|
|
76894
|
+
"description": "Event emitted on user selection."
|
|
76895
|
+
},
|
|
76896
|
+
{
|
|
76897
|
+
"name": "change",
|
|
76898
|
+
"type": {
|
|
76899
|
+
"text": "Event"
|
|
76900
|
+
},
|
|
76901
|
+
"description": "Event emitted on user selection."
|
|
76902
|
+
},
|
|
76767
76903
|
{
|
|
76768
76904
|
"name": "monthchange",
|
|
76769
76905
|
"type": {
|
|
@@ -76774,13 +76910,13 @@
|
|
|
76774
76910
|
],
|
|
76775
76911
|
"attributes": [
|
|
76776
76912
|
{
|
|
76777
|
-
"name": "
|
|
76913
|
+
"name": "amount",
|
|
76778
76914
|
"type": {
|
|
76779
|
-
"text": "
|
|
76915
|
+
"text": "number"
|
|
76780
76916
|
},
|
|
76781
|
-
"default": "
|
|
76782
|
-
"description": "
|
|
76783
|
-
"fieldName": "
|
|
76917
|
+
"default": "1",
|
|
76918
|
+
"description": "The amount of months to display in this calendar.",
|
|
76919
|
+
"fieldName": "amount"
|
|
76784
76920
|
},
|
|
76785
76921
|
{
|
|
76786
76922
|
"name": "view",
|
|
@@ -76819,12 +76955,12 @@
|
|
|
76819
76955
|
"fieldName": "multiple"
|
|
76820
76956
|
},
|
|
76821
76957
|
{
|
|
76822
|
-
"name": "
|
|
76958
|
+
"name": "value",
|
|
76823
76959
|
"description": "The selected date: accepts a date object, or, if `multiple`, an array of dates.",
|
|
76824
76960
|
"type": {
|
|
76825
76961
|
"text": "T | T[] | null"
|
|
76826
76962
|
},
|
|
76827
|
-
"fieldName": "
|
|
76963
|
+
"fieldName": "value"
|
|
76828
76964
|
},
|
|
76829
76965
|
{
|
|
76830
76966
|
"name": "date-filter",
|
|
@@ -76852,6 +76988,24 @@
|
|
|
76852
76988
|
"default": "false",
|
|
76853
76989
|
"description": "Whether it has to display the week numbers in addition to week days.",
|
|
76854
76990
|
"fieldName": "weekNumbers"
|
|
76991
|
+
},
|
|
76992
|
+
{
|
|
76993
|
+
"name": "name",
|
|
76994
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
76995
|
+
"type": {
|
|
76996
|
+
"text": "string"
|
|
76997
|
+
},
|
|
76998
|
+
"fieldName": "name",
|
|
76999
|
+
"inheritedFrom": {
|
|
77000
|
+
"name": "SbbFormAssociatedMixin",
|
|
77001
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
77002
|
+
}
|
|
77003
|
+
}
|
|
77004
|
+
],
|
|
77005
|
+
"mixins": [
|
|
77006
|
+
{
|
|
77007
|
+
"name": "SbbFormAssociatedMixin",
|
|
77008
|
+
"module": "core.js"
|
|
76855
77009
|
}
|
|
76856
77010
|
],
|
|
76857
77011
|
"superclass": {
|
|
@@ -97541,6 +97695,20 @@
|
|
|
97541
97695
|
"privacy": "private",
|
|
97542
97696
|
"default": "false"
|
|
97543
97697
|
},
|
|
97698
|
+
{
|
|
97699
|
+
"kind": "field",
|
|
97700
|
+
"name": "_mediaMatcher",
|
|
97701
|
+
"privacy": "private",
|
|
97702
|
+
"default": "new SbbMediaMatcherController(this, { [SbbMediaQueryBreakpointLargeAndAbove]: (m) => (this._isBreakpointLargeOrAbove = m), })"
|
|
97703
|
+
},
|
|
97704
|
+
{
|
|
97705
|
+
"kind": "field",
|
|
97706
|
+
"name": "_isBreakpointLargeOrAbove",
|
|
97707
|
+
"type": {
|
|
97708
|
+
"text": "boolean"
|
|
97709
|
+
},
|
|
97710
|
+
"privacy": "private"
|
|
97711
|
+
},
|
|
97544
97712
|
{
|
|
97545
97713
|
"kind": "method",
|
|
97546
97714
|
"name": "_updateStatus",
|