@sbb-esta/lyne-elements-dev 5.14.0-dev.1795700814 → 5.14.0-dev.1795700861
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.js +1 -1
- package/calendar.pure.js +98 -128
- package/core.js +13 -13
- package/custom-elements.json +1821 -398
- package/development/calendar/calendar/calendar.component.d.ts +55 -21
- package/development/calendar/calendar-select-all/calendar-select-all.component.d.ts +18 -0
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts +0 -1
- package/development/calendar/common/calendar-cell-base-element.d.ts +2 -2
- package/development/calendar.js +2 -1
- package/development/calendar.pure.d.ts +1 -0
- package/development/calendar.pure.js +304 -354
- package/development/core/datetime/date-adapter.d.ts +10 -0
- package/development/core/datetime/temporal-date-adapter.d.ts +5 -0
- package/development/core/i18n/i18n.d.ts +7 -0
- package/development/core.js +91 -1
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -4777,6 +4777,26 @@
|
|
|
4777
4777
|
],
|
|
4778
4778
|
"description": "Calculates the day of the week of the first day of the month, and then its offset from the first day of the week."
|
|
4779
4779
|
},
|
|
4780
|
+
{
|
|
4781
|
+
"kind": "method",
|
|
4782
|
+
"name": "getIsoWeek",
|
|
4783
|
+
"privacy": "public",
|
|
4784
|
+
"return": {
|
|
4785
|
+
"type": {
|
|
4786
|
+
"text": "{ week: number; year: number }"
|
|
4787
|
+
}
|
|
4788
|
+
},
|
|
4789
|
+
"parameters": [
|
|
4790
|
+
{
|
|
4791
|
+
"name": "date",
|
|
4792
|
+
"type": {
|
|
4793
|
+
"text": "T"
|
|
4794
|
+
},
|
|
4795
|
+
"description": "The date to get the week of."
|
|
4796
|
+
}
|
|
4797
|
+
],
|
|
4798
|
+
"description": "Gets the ISO 8601 week number and week-numbering year of the given date.\nWeeks start on Monday and belong to the year of their Thursday,\ne.g. 2025-12-29 is in week 1 of 2026 and 2027-01-01 is in week 53 of 2026."
|
|
4799
|
+
},
|
|
4780
4800
|
{
|
|
4781
4801
|
"kind": "method",
|
|
4782
4802
|
"name": "compareDate",
|
|
@@ -6078,6 +6098,155 @@
|
|
|
6078
6098
|
},
|
|
6079
6099
|
"default": "{ de: 'Woche', en: 'Week', fr: 'Semaine', it: 'Settimana', }"
|
|
6080
6100
|
},
|
|
6101
|
+
{
|
|
6102
|
+
"kind": "function",
|
|
6103
|
+
"name": "i18nCalendarSelectAll",
|
|
6104
|
+
"return": {
|
|
6105
|
+
"type": {
|
|
6106
|
+
"text": "Record<string, string>"
|
|
6107
|
+
}
|
|
6108
|
+
},
|
|
6109
|
+
"parameters": [
|
|
6110
|
+
{
|
|
6111
|
+
"name": "monthYear",
|
|
6112
|
+
"type": {
|
|
6113
|
+
"text": "string"
|
|
6114
|
+
}
|
|
6115
|
+
}
|
|
6116
|
+
]
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"kind": "function",
|
|
6120
|
+
"name": "i18nCalendarDeselectAll",
|
|
6121
|
+
"return": {
|
|
6122
|
+
"type": {
|
|
6123
|
+
"text": "Record<string, string>"
|
|
6124
|
+
}
|
|
6125
|
+
},
|
|
6126
|
+
"parameters": [
|
|
6127
|
+
{
|
|
6128
|
+
"name": "monthYear",
|
|
6129
|
+
"type": {
|
|
6130
|
+
"text": "string"
|
|
6131
|
+
}
|
|
6132
|
+
}
|
|
6133
|
+
]
|
|
6134
|
+
},
|
|
6135
|
+
{
|
|
6136
|
+
"kind": "function",
|
|
6137
|
+
"name": "i18nCalendarHeaderNavigationHint",
|
|
6138
|
+
"return": {
|
|
6139
|
+
"type": {
|
|
6140
|
+
"text": "Record<string, string>"
|
|
6141
|
+
}
|
|
6142
|
+
},
|
|
6143
|
+
"parameters": [
|
|
6144
|
+
{
|
|
6145
|
+
"name": "cells",
|
|
6146
|
+
"type": {
|
|
6147
|
+
"text": "'weekdays' | 'weekNumbers'"
|
|
6148
|
+
}
|
|
6149
|
+
},
|
|
6150
|
+
{
|
|
6151
|
+
"name": "orientation",
|
|
6152
|
+
"type": {
|
|
6153
|
+
"text": "'horizontal' | 'vertical'"
|
|
6154
|
+
}
|
|
6155
|
+
}
|
|
6156
|
+
]
|
|
6157
|
+
},
|
|
6158
|
+
{
|
|
6159
|
+
"kind": "function",
|
|
6160
|
+
"name": "i18nCalendarSelectWeekday",
|
|
6161
|
+
"return": {
|
|
6162
|
+
"type": {
|
|
6163
|
+
"text": "Record<string, string>"
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
"parameters": [
|
|
6167
|
+
{
|
|
6168
|
+
"name": "weekday",
|
|
6169
|
+
"type": {
|
|
6170
|
+
"text": "string"
|
|
6171
|
+
}
|
|
6172
|
+
},
|
|
6173
|
+
{
|
|
6174
|
+
"name": "monthYear",
|
|
6175
|
+
"type": {
|
|
6176
|
+
"text": "string"
|
|
6177
|
+
}
|
|
6178
|
+
}
|
|
6179
|
+
]
|
|
6180
|
+
},
|
|
6181
|
+
{
|
|
6182
|
+
"kind": "function",
|
|
6183
|
+
"name": "i18nCalendarDeselectWeekday",
|
|
6184
|
+
"return": {
|
|
6185
|
+
"type": {
|
|
6186
|
+
"text": "Record<string, string>"
|
|
6187
|
+
}
|
|
6188
|
+
},
|
|
6189
|
+
"parameters": [
|
|
6190
|
+
{
|
|
6191
|
+
"name": "weekday",
|
|
6192
|
+
"type": {
|
|
6193
|
+
"text": "string"
|
|
6194
|
+
}
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
"name": "monthYear",
|
|
6198
|
+
"type": {
|
|
6199
|
+
"text": "string"
|
|
6200
|
+
}
|
|
6201
|
+
}
|
|
6202
|
+
]
|
|
6203
|
+
},
|
|
6204
|
+
{
|
|
6205
|
+
"kind": "function",
|
|
6206
|
+
"name": "i18nCalendarSelectWeek",
|
|
6207
|
+
"return": {
|
|
6208
|
+
"type": {
|
|
6209
|
+
"text": "Record<string, string>"
|
|
6210
|
+
}
|
|
6211
|
+
},
|
|
6212
|
+
"parameters": [
|
|
6213
|
+
{
|
|
6214
|
+
"name": "weekNumber",
|
|
6215
|
+
"type": {
|
|
6216
|
+
"text": "number | string"
|
|
6217
|
+
}
|
|
6218
|
+
},
|
|
6219
|
+
{
|
|
6220
|
+
"name": "year",
|
|
6221
|
+
"type": {
|
|
6222
|
+
"text": "number | string"
|
|
6223
|
+
}
|
|
6224
|
+
}
|
|
6225
|
+
]
|
|
6226
|
+
},
|
|
6227
|
+
{
|
|
6228
|
+
"kind": "function",
|
|
6229
|
+
"name": "i18nCalendarDeselectWeek",
|
|
6230
|
+
"return": {
|
|
6231
|
+
"type": {
|
|
6232
|
+
"text": "Record<string, string>"
|
|
6233
|
+
}
|
|
6234
|
+
},
|
|
6235
|
+
"parameters": [
|
|
6236
|
+
{
|
|
6237
|
+
"name": "weekNumber",
|
|
6238
|
+
"type": {
|
|
6239
|
+
"text": "number | string"
|
|
6240
|
+
}
|
|
6241
|
+
},
|
|
6242
|
+
{
|
|
6243
|
+
"name": "year",
|
|
6244
|
+
"type": {
|
|
6245
|
+
"text": "number | string"
|
|
6246
|
+
}
|
|
6247
|
+
}
|
|
6248
|
+
]
|
|
6249
|
+
},
|
|
6081
6250
|
{
|
|
6082
6251
|
"kind": "variable",
|
|
6083
6252
|
"name": "i18nTimetableFormSwapButtonLabel",
|
|
@@ -6967,6 +7136,62 @@
|
|
|
6967
7136
|
"module": "core/i18n/i18n.js"
|
|
6968
7137
|
}
|
|
6969
7138
|
},
|
|
7139
|
+
{
|
|
7140
|
+
"kind": "js",
|
|
7141
|
+
"name": "i18nCalendarSelectAll",
|
|
7142
|
+
"declaration": {
|
|
7143
|
+
"name": "i18nCalendarSelectAll",
|
|
7144
|
+
"module": "core/i18n/i18n.js"
|
|
7145
|
+
}
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
"kind": "js",
|
|
7149
|
+
"name": "i18nCalendarDeselectAll",
|
|
7150
|
+
"declaration": {
|
|
7151
|
+
"name": "i18nCalendarDeselectAll",
|
|
7152
|
+
"module": "core/i18n/i18n.js"
|
|
7153
|
+
}
|
|
7154
|
+
},
|
|
7155
|
+
{
|
|
7156
|
+
"kind": "js",
|
|
7157
|
+
"name": "i18nCalendarHeaderNavigationHint",
|
|
7158
|
+
"declaration": {
|
|
7159
|
+
"name": "i18nCalendarHeaderNavigationHint",
|
|
7160
|
+
"module": "core/i18n/i18n.js"
|
|
7161
|
+
}
|
|
7162
|
+
},
|
|
7163
|
+
{
|
|
7164
|
+
"kind": "js",
|
|
7165
|
+
"name": "i18nCalendarSelectWeekday",
|
|
7166
|
+
"declaration": {
|
|
7167
|
+
"name": "i18nCalendarSelectWeekday",
|
|
7168
|
+
"module": "core/i18n/i18n.js"
|
|
7169
|
+
}
|
|
7170
|
+
},
|
|
7171
|
+
{
|
|
7172
|
+
"kind": "js",
|
|
7173
|
+
"name": "i18nCalendarDeselectWeekday",
|
|
7174
|
+
"declaration": {
|
|
7175
|
+
"name": "i18nCalendarDeselectWeekday",
|
|
7176
|
+
"module": "core/i18n/i18n.js"
|
|
7177
|
+
}
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
"kind": "js",
|
|
7181
|
+
"name": "i18nCalendarSelectWeek",
|
|
7182
|
+
"declaration": {
|
|
7183
|
+
"name": "i18nCalendarSelectWeek",
|
|
7184
|
+
"module": "core/i18n/i18n.js"
|
|
7185
|
+
}
|
|
7186
|
+
},
|
|
7187
|
+
{
|
|
7188
|
+
"kind": "js",
|
|
7189
|
+
"name": "i18nCalendarDeselectWeek",
|
|
7190
|
+
"declaration": {
|
|
7191
|
+
"name": "i18nCalendarDeselectWeek",
|
|
7192
|
+
"module": "core/i18n/i18n.js"
|
|
7193
|
+
}
|
|
7194
|
+
},
|
|
6970
7195
|
{
|
|
6971
7196
|
"kind": "js",
|
|
6972
7197
|
"name": "i18nTimetableFormSwapButtonLabel",
|
|
@@ -10821,6 +11046,30 @@
|
|
|
10821
11046
|
"module": "core/datetime/date-adapter.js"
|
|
10822
11047
|
}
|
|
10823
11048
|
},
|
|
11049
|
+
{
|
|
11050
|
+
"kind": "method",
|
|
11051
|
+
"name": "getIsoWeek",
|
|
11052
|
+
"privacy": "public",
|
|
11053
|
+
"return": {
|
|
11054
|
+
"type": {
|
|
11055
|
+
"text": "{ week: number; year: number }"
|
|
11056
|
+
}
|
|
11057
|
+
},
|
|
11058
|
+
"parameters": [
|
|
11059
|
+
{
|
|
11060
|
+
"name": "date",
|
|
11061
|
+
"type": {
|
|
11062
|
+
"text": "T"
|
|
11063
|
+
},
|
|
11064
|
+
"description": "The date to get the week of."
|
|
11065
|
+
}
|
|
11066
|
+
],
|
|
11067
|
+
"description": "Gets the ISO 8601 week number and week-numbering year of the given date.\nWeeks start on Monday and belong to the year of their Thursday,\ne.g. 2025-12-29 is in week 1 of 2026 and 2027-01-01 is in week 53 of 2026.",
|
|
11068
|
+
"inheritedFrom": {
|
|
11069
|
+
"name": "DateAdapter",
|
|
11070
|
+
"module": "core/datetime/date-adapter.js"
|
|
11071
|
+
}
|
|
11072
|
+
},
|
|
10824
11073
|
{
|
|
10825
11074
|
"kind": "method",
|
|
10826
11075
|
"name": "compareDate",
|
|
@@ -11156,6 +11405,29 @@
|
|
|
11156
11405
|
"module": "core/datetime/date-adapter.js"
|
|
11157
11406
|
}
|
|
11158
11407
|
},
|
|
11408
|
+
{
|
|
11409
|
+
"kind": "method",
|
|
11410
|
+
"name": "getIsoWeek",
|
|
11411
|
+
"privacy": "public",
|
|
11412
|
+
"return": {
|
|
11413
|
+
"type": {
|
|
11414
|
+
"text": "{ week: number; year: number }"
|
|
11415
|
+
}
|
|
11416
|
+
},
|
|
11417
|
+
"parameters": [
|
|
11418
|
+
{
|
|
11419
|
+
"name": "date",
|
|
11420
|
+
"type": {
|
|
11421
|
+
"text": "Temporal.PlainDate"
|
|
11422
|
+
}
|
|
11423
|
+
}
|
|
11424
|
+
],
|
|
11425
|
+
"description": "Gets the ISO 8601 week number and week-numbering year of the given date.",
|
|
11426
|
+
"inheritedFrom": {
|
|
11427
|
+
"name": "DateAdapter",
|
|
11428
|
+
"module": "core/datetime/date-adapter.js"
|
|
11429
|
+
}
|
|
11430
|
+
},
|
|
11159
11431
|
{
|
|
11160
11432
|
"kind": "method",
|
|
11161
11433
|
"name": "getNumDaysInMonth",
|
|
@@ -72246,25 +72518,1069 @@
|
|
|
72246
72518
|
},
|
|
72247
72519
|
{
|
|
72248
72520
|
"kind": "field",
|
|
72249
|
-
"name": "formAssociated",
|
|
72521
|
+
"name": "formAssociated",
|
|
72522
|
+
"type": {
|
|
72523
|
+
"text": "boolean"
|
|
72524
|
+
},
|
|
72525
|
+
"privacy": "public",
|
|
72526
|
+
"static": true,
|
|
72527
|
+
"default": "true",
|
|
72528
|
+
"inheritedFrom": {
|
|
72529
|
+
"name": "SbbFormAssociatedMixin",
|
|
72530
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72531
|
+
}
|
|
72532
|
+
},
|
|
72533
|
+
{
|
|
72534
|
+
"kind": "field",
|
|
72535
|
+
"name": "value",
|
|
72536
|
+
"type": {
|
|
72537
|
+
"text": "unknown"
|
|
72538
|
+
},
|
|
72539
|
+
"privacy": "public",
|
|
72540
|
+
"inheritedFrom": {
|
|
72541
|
+
"name": "SbbFormAssociatedMixin",
|
|
72542
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72543
|
+
}
|
|
72544
|
+
},
|
|
72545
|
+
{
|
|
72546
|
+
"kind": "field",
|
|
72547
|
+
"name": "form",
|
|
72548
|
+
"type": {
|
|
72549
|
+
"text": "HTMLFormElement | null"
|
|
72550
|
+
},
|
|
72551
|
+
"privacy": "public",
|
|
72552
|
+
"description": "Returns the form owner of this element.",
|
|
72553
|
+
"readonly": true,
|
|
72554
|
+
"inheritedFrom": {
|
|
72555
|
+
"name": "SbbFormAssociatedMixin",
|
|
72556
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72557
|
+
}
|
|
72558
|
+
},
|
|
72559
|
+
{
|
|
72560
|
+
"kind": "field",
|
|
72561
|
+
"name": "name",
|
|
72562
|
+
"privacy": "public",
|
|
72563
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
72564
|
+
"type": {
|
|
72565
|
+
"text": "string"
|
|
72566
|
+
},
|
|
72567
|
+
"attribute": "name",
|
|
72568
|
+
"inheritedFrom": {
|
|
72569
|
+
"name": "SbbFormAssociatedMixin",
|
|
72570
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72571
|
+
}
|
|
72572
|
+
},
|
|
72573
|
+
{
|
|
72574
|
+
"kind": "field",
|
|
72575
|
+
"name": "validity",
|
|
72576
|
+
"type": {
|
|
72577
|
+
"text": "ValidityState"
|
|
72578
|
+
},
|
|
72579
|
+
"privacy": "public",
|
|
72580
|
+
"description": "Returns the ValidityState object for this element.",
|
|
72581
|
+
"readonly": true,
|
|
72582
|
+
"inheritedFrom": {
|
|
72583
|
+
"name": "SbbFormAssociatedMixin",
|
|
72584
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72585
|
+
}
|
|
72586
|
+
},
|
|
72587
|
+
{
|
|
72588
|
+
"kind": "field",
|
|
72589
|
+
"name": "validationMessage",
|
|
72590
|
+
"type": {
|
|
72591
|
+
"text": "string"
|
|
72592
|
+
},
|
|
72593
|
+
"privacy": "public",
|
|
72594
|
+
"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.",
|
|
72595
|
+
"readonly": true,
|
|
72596
|
+
"inheritedFrom": {
|
|
72597
|
+
"name": "SbbFormAssociatedMixin",
|
|
72598
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72599
|
+
}
|
|
72600
|
+
},
|
|
72601
|
+
{
|
|
72602
|
+
"kind": "field",
|
|
72603
|
+
"name": "willValidate",
|
|
72604
|
+
"type": {
|
|
72605
|
+
"text": "boolean"
|
|
72606
|
+
},
|
|
72607
|
+
"privacy": "public",
|
|
72608
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
72609
|
+
"readonly": true,
|
|
72610
|
+
"inheritedFrom": {
|
|
72611
|
+
"name": "SbbFormAssociatedMixin",
|
|
72612
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72613
|
+
}
|
|
72614
|
+
},
|
|
72615
|
+
{
|
|
72616
|
+
"kind": "field",
|
|
72617
|
+
"name": "_validityStates",
|
|
72618
|
+
"privacy": "private",
|
|
72619
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
72620
|
+
"inheritedFrom": {
|
|
72621
|
+
"name": "SbbFormAssociatedMixin",
|
|
72622
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72623
|
+
}
|
|
72624
|
+
},
|
|
72625
|
+
{
|
|
72626
|
+
"kind": "field",
|
|
72627
|
+
"name": "formDisabled",
|
|
72628
|
+
"type": {
|
|
72629
|
+
"text": "boolean"
|
|
72630
|
+
},
|
|
72631
|
+
"privacy": "protected",
|
|
72632
|
+
"default": "false",
|
|
72633
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
72634
|
+
"inheritedFrom": {
|
|
72635
|
+
"name": "SbbFormAssociatedMixin",
|
|
72636
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72637
|
+
}
|
|
72638
|
+
},
|
|
72639
|
+
{
|
|
72640
|
+
"kind": "method",
|
|
72641
|
+
"name": "checkValidity",
|
|
72642
|
+
"privacy": "public",
|
|
72643
|
+
"return": {
|
|
72644
|
+
"type": {
|
|
72645
|
+
"text": "boolean"
|
|
72646
|
+
}
|
|
72647
|
+
},
|
|
72648
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
72649
|
+
"inheritedFrom": {
|
|
72650
|
+
"name": "SbbFormAssociatedMixin",
|
|
72651
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72652
|
+
}
|
|
72653
|
+
},
|
|
72654
|
+
{
|
|
72655
|
+
"kind": "method",
|
|
72656
|
+
"name": "reportValidity",
|
|
72657
|
+
"privacy": "public",
|
|
72658
|
+
"return": {
|
|
72659
|
+
"type": {
|
|
72660
|
+
"text": "boolean"
|
|
72661
|
+
}
|
|
72662
|
+
},
|
|
72663
|
+
"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.",
|
|
72664
|
+
"inheritedFrom": {
|
|
72665
|
+
"name": "SbbFormAssociatedMixin",
|
|
72666
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72667
|
+
}
|
|
72668
|
+
},
|
|
72669
|
+
{
|
|
72670
|
+
"kind": "method",
|
|
72671
|
+
"name": "setCustomValidity",
|
|
72672
|
+
"privacy": "public",
|
|
72673
|
+
"return": {
|
|
72674
|
+
"type": {
|
|
72675
|
+
"text": "void"
|
|
72676
|
+
}
|
|
72677
|
+
},
|
|
72678
|
+
"parameters": [
|
|
72679
|
+
{
|
|
72680
|
+
"name": "message",
|
|
72681
|
+
"type": {
|
|
72682
|
+
"text": "string"
|
|
72683
|
+
}
|
|
72684
|
+
}
|
|
72685
|
+
],
|
|
72686
|
+
"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.",
|
|
72687
|
+
"inheritedFrom": {
|
|
72688
|
+
"name": "SbbFormAssociatedMixin",
|
|
72689
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72690
|
+
}
|
|
72691
|
+
},
|
|
72692
|
+
{
|
|
72693
|
+
"kind": "method",
|
|
72694
|
+
"name": "_hasDisabledAncestor",
|
|
72695
|
+
"privacy": "private",
|
|
72696
|
+
"return": {
|
|
72697
|
+
"type": {
|
|
72698
|
+
"text": "boolean"
|
|
72699
|
+
}
|
|
72700
|
+
},
|
|
72701
|
+
"inheritedFrom": {
|
|
72702
|
+
"name": "SbbFormAssociatedMixin",
|
|
72703
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72704
|
+
}
|
|
72705
|
+
},
|
|
72706
|
+
{
|
|
72707
|
+
"kind": "method",
|
|
72708
|
+
"name": "updateFormValue",
|
|
72709
|
+
"privacy": "protected",
|
|
72710
|
+
"return": {
|
|
72711
|
+
"type": {
|
|
72712
|
+
"text": "void"
|
|
72713
|
+
}
|
|
72714
|
+
},
|
|
72715
|
+
"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",
|
|
72716
|
+
"inheritedFrom": {
|
|
72717
|
+
"name": "SbbFormAssociatedMixin",
|
|
72718
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72719
|
+
}
|
|
72720
|
+
},
|
|
72721
|
+
{
|
|
72722
|
+
"kind": "method",
|
|
72723
|
+
"name": "formState",
|
|
72724
|
+
"privacy": "protected",
|
|
72725
|
+
"return": {
|
|
72726
|
+
"type": {
|
|
72727
|
+
"text": "FormRestoreState"
|
|
72728
|
+
}
|
|
72729
|
+
},
|
|
72730
|
+
"inheritedFrom": {
|
|
72731
|
+
"name": "SbbFormAssociatedMixin",
|
|
72732
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72733
|
+
}
|
|
72734
|
+
},
|
|
72735
|
+
{
|
|
72736
|
+
"kind": "method",
|
|
72737
|
+
"name": "setValidityFlag",
|
|
72738
|
+
"privacy": "protected",
|
|
72739
|
+
"return": {
|
|
72740
|
+
"type": {
|
|
72741
|
+
"text": "void"
|
|
72742
|
+
}
|
|
72743
|
+
},
|
|
72744
|
+
"parameters": [
|
|
72745
|
+
{
|
|
72746
|
+
"name": "flag",
|
|
72747
|
+
"type": {
|
|
72748
|
+
"text": "T"
|
|
72749
|
+
}
|
|
72750
|
+
},
|
|
72751
|
+
{
|
|
72752
|
+
"name": "message",
|
|
72753
|
+
"type": {
|
|
72754
|
+
"text": "string"
|
|
72755
|
+
}
|
|
72756
|
+
},
|
|
72757
|
+
{
|
|
72758
|
+
"name": "flagValue",
|
|
72759
|
+
"optional": true,
|
|
72760
|
+
"type": {
|
|
72761
|
+
"text": "ValidityStateFlags[T]"
|
|
72762
|
+
}
|
|
72763
|
+
}
|
|
72764
|
+
],
|
|
72765
|
+
"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).",
|
|
72766
|
+
"inheritedFrom": {
|
|
72767
|
+
"name": "SbbFormAssociatedMixin",
|
|
72768
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72769
|
+
}
|
|
72770
|
+
},
|
|
72771
|
+
{
|
|
72772
|
+
"kind": "method",
|
|
72773
|
+
"name": "removeValidityFlag",
|
|
72774
|
+
"privacy": "protected",
|
|
72775
|
+
"return": {
|
|
72776
|
+
"type": {
|
|
72777
|
+
"text": "void"
|
|
72778
|
+
}
|
|
72779
|
+
},
|
|
72780
|
+
"parameters": [
|
|
72781
|
+
{
|
|
72782
|
+
"name": "flag",
|
|
72783
|
+
"type": {
|
|
72784
|
+
"text": "T"
|
|
72785
|
+
}
|
|
72786
|
+
}
|
|
72787
|
+
],
|
|
72788
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
72789
|
+
"inheritedFrom": {
|
|
72790
|
+
"name": "SbbFormAssociatedMixin",
|
|
72791
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72792
|
+
}
|
|
72793
|
+
},
|
|
72794
|
+
{
|
|
72795
|
+
"kind": "method",
|
|
72796
|
+
"name": "validate",
|
|
72797
|
+
"privacy": "protected",
|
|
72798
|
+
"return": {
|
|
72799
|
+
"type": {
|
|
72800
|
+
"text": "void"
|
|
72801
|
+
}
|
|
72802
|
+
},
|
|
72803
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
72804
|
+
"inheritedFrom": {
|
|
72805
|
+
"name": "SbbFormAssociatedMixin",
|
|
72806
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72807
|
+
}
|
|
72808
|
+
},
|
|
72809
|
+
{
|
|
72810
|
+
"kind": "method",
|
|
72811
|
+
"name": "shouldValidate",
|
|
72812
|
+
"privacy": "protected",
|
|
72813
|
+
"return": {
|
|
72814
|
+
"type": {
|
|
72815
|
+
"text": "boolean"
|
|
72816
|
+
}
|
|
72817
|
+
},
|
|
72818
|
+
"parameters": [
|
|
72819
|
+
{
|
|
72820
|
+
"name": "name",
|
|
72821
|
+
"type": {
|
|
72822
|
+
"text": "PropertyKey | undefined"
|
|
72823
|
+
}
|
|
72824
|
+
}
|
|
72825
|
+
],
|
|
72826
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
72827
|
+
"inheritedFrom": {
|
|
72828
|
+
"name": "SbbFormAssociatedMixin",
|
|
72829
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72830
|
+
}
|
|
72831
|
+
},
|
|
72832
|
+
{
|
|
72833
|
+
"kind": "method",
|
|
72834
|
+
"name": "_setInternalValidity",
|
|
72835
|
+
"privacy": "private",
|
|
72836
|
+
"return": {
|
|
72837
|
+
"type": {
|
|
72838
|
+
"text": "void"
|
|
72839
|
+
}
|
|
72840
|
+
},
|
|
72841
|
+
"inheritedFrom": {
|
|
72842
|
+
"name": "SbbFormAssociatedMixin",
|
|
72843
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72844
|
+
}
|
|
72845
|
+
},
|
|
72846
|
+
{
|
|
72847
|
+
"kind": "field",
|
|
72848
|
+
"name": "role",
|
|
72849
|
+
"type": {
|
|
72850
|
+
"text": "ElementInternals['role']"
|
|
72851
|
+
},
|
|
72852
|
+
"privacy": "public",
|
|
72853
|
+
"static": true,
|
|
72854
|
+
"inheritedFrom": {
|
|
72855
|
+
"name": "SbbElement",
|
|
72856
|
+
"module": "core/base-elements/element.js"
|
|
72857
|
+
},
|
|
72858
|
+
"readonly": true,
|
|
72859
|
+
"default": "'button'"
|
|
72860
|
+
},
|
|
72861
|
+
{
|
|
72862
|
+
"kind": "field",
|
|
72863
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
72864
|
+
"privacy": "private",
|
|
72865
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
72866
|
+
"parameters": [
|
|
72867
|
+
{
|
|
72868
|
+
"description": "The origin event.",
|
|
72869
|
+
"name": "event"
|
|
72870
|
+
}
|
|
72871
|
+
],
|
|
72872
|
+
"inheritedFrom": {
|
|
72873
|
+
"name": "SbbButtonLikeBaseElement",
|
|
72874
|
+
"module": "core/base-elements/button-base-element.js"
|
|
72875
|
+
}
|
|
72876
|
+
},
|
|
72877
|
+
{
|
|
72878
|
+
"kind": "field",
|
|
72879
|
+
"name": "_removeActiveMarker",
|
|
72880
|
+
"privacy": "private",
|
|
72881
|
+
"inheritedFrom": {
|
|
72882
|
+
"name": "SbbButtonLikeBaseElement",
|
|
72883
|
+
"module": "core/base-elements/button-base-element.js"
|
|
72884
|
+
}
|
|
72885
|
+
},
|
|
72886
|
+
{
|
|
72887
|
+
"kind": "field",
|
|
72888
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
72889
|
+
"privacy": "private",
|
|
72890
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
72891
|
+
"parameters": [
|
|
72892
|
+
{
|
|
72893
|
+
"description": "The origin event.",
|
|
72894
|
+
"name": "event"
|
|
72895
|
+
}
|
|
72896
|
+
],
|
|
72897
|
+
"inheritedFrom": {
|
|
72898
|
+
"name": "SbbButtonLikeBaseElement",
|
|
72899
|
+
"module": "core/base-elements/button-base-element.js"
|
|
72900
|
+
}
|
|
72901
|
+
},
|
|
72902
|
+
{
|
|
72903
|
+
"kind": "field",
|
|
72904
|
+
"name": "_dispatchClickEvent",
|
|
72905
|
+
"privacy": "private",
|
|
72906
|
+
"inheritedFrom": {
|
|
72907
|
+
"name": "SbbButtonLikeBaseElement",
|
|
72908
|
+
"module": "core/base-elements/button-base-element.js"
|
|
72909
|
+
}
|
|
72910
|
+
},
|
|
72911
|
+
{
|
|
72912
|
+
"kind": "field",
|
|
72913
|
+
"name": "maybeDisabled",
|
|
72914
|
+
"type": {
|
|
72915
|
+
"text": "boolean | undefined"
|
|
72916
|
+
},
|
|
72917
|
+
"privacy": "protected",
|
|
72918
|
+
"readonly": true,
|
|
72919
|
+
"inheritedFrom": {
|
|
72920
|
+
"name": "SbbActionBaseElement",
|
|
72921
|
+
"module": "core/base-elements/action-base-element.js"
|
|
72922
|
+
}
|
|
72923
|
+
},
|
|
72924
|
+
{
|
|
72925
|
+
"kind": "field",
|
|
72926
|
+
"name": "maybeDisabledInteractive",
|
|
72927
|
+
"type": {
|
|
72928
|
+
"text": "boolean | undefined"
|
|
72929
|
+
},
|
|
72930
|
+
"privacy": "protected",
|
|
72931
|
+
"readonly": true,
|
|
72932
|
+
"inheritedFrom": {
|
|
72933
|
+
"name": "SbbActionBaseElement",
|
|
72934
|
+
"module": "core/base-elements/action-base-element.js"
|
|
72935
|
+
}
|
|
72936
|
+
},
|
|
72937
|
+
{
|
|
72938
|
+
"kind": "method",
|
|
72939
|
+
"name": "setupBaseEventHandlers",
|
|
72940
|
+
"privacy": "protected",
|
|
72941
|
+
"return": {
|
|
72942
|
+
"type": {
|
|
72943
|
+
"text": "void"
|
|
72944
|
+
}
|
|
72945
|
+
},
|
|
72946
|
+
"inheritedFrom": {
|
|
72947
|
+
"name": "SbbActionBaseElement",
|
|
72948
|
+
"module": "core/base-elements/action-base-element.js"
|
|
72949
|
+
}
|
|
72950
|
+
},
|
|
72951
|
+
{
|
|
72952
|
+
"kind": "method",
|
|
72953
|
+
"name": "renderTemplate",
|
|
72954
|
+
"privacy": "protected",
|
|
72955
|
+
"return": {
|
|
72956
|
+
"type": {
|
|
72957
|
+
"text": "TemplateResult"
|
|
72958
|
+
}
|
|
72959
|
+
},
|
|
72960
|
+
"description": "Override this method to render the component template.",
|
|
72961
|
+
"inheritedFrom": {
|
|
72962
|
+
"name": "SbbActionBaseElement",
|
|
72963
|
+
"module": "core/base-elements/action-base-element.js"
|
|
72964
|
+
}
|
|
72965
|
+
},
|
|
72966
|
+
{
|
|
72967
|
+
"kind": "field",
|
|
72968
|
+
"name": "['_$sbbElement$']",
|
|
72969
|
+
"type": {
|
|
72970
|
+
"text": "boolean"
|
|
72971
|
+
},
|
|
72972
|
+
"privacy": "public",
|
|
72973
|
+
"static": true,
|
|
72974
|
+
"default": "true",
|
|
72975
|
+
"inheritedFrom": {
|
|
72976
|
+
"name": "SbbElement",
|
|
72977
|
+
"module": "core/base-elements/element.js"
|
|
72978
|
+
}
|
|
72979
|
+
},
|
|
72980
|
+
{
|
|
72981
|
+
"kind": "field",
|
|
72982
|
+
"name": "elementName",
|
|
72983
|
+
"type": {
|
|
72984
|
+
"text": "string"
|
|
72985
|
+
},
|
|
72986
|
+
"privacy": "public",
|
|
72987
|
+
"static": true,
|
|
72988
|
+
"readonly": true,
|
|
72989
|
+
"inheritedFrom": {
|
|
72990
|
+
"name": "SbbElement",
|
|
72991
|
+
"module": "core/base-elements/element.js"
|
|
72992
|
+
}
|
|
72993
|
+
},
|
|
72994
|
+
{
|
|
72995
|
+
"kind": "field",
|
|
72996
|
+
"name": "elementDependencies",
|
|
72997
|
+
"type": {
|
|
72998
|
+
"text": "SbbElementType[] | undefined"
|
|
72999
|
+
},
|
|
73000
|
+
"privacy": "public",
|
|
73001
|
+
"static": true,
|
|
73002
|
+
"inheritedFrom": {
|
|
73003
|
+
"name": "SbbElement",
|
|
73004
|
+
"module": "core/base-elements/element.js"
|
|
73005
|
+
}
|
|
73006
|
+
},
|
|
73007
|
+
{
|
|
73008
|
+
"kind": "field",
|
|
73009
|
+
"name": "_controllers",
|
|
73010
|
+
"type": {
|
|
73011
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
73012
|
+
},
|
|
73013
|
+
"privacy": "private",
|
|
73014
|
+
"inheritedFrom": {
|
|
73015
|
+
"name": "SbbElement",
|
|
73016
|
+
"module": "core/base-elements/element.js"
|
|
73017
|
+
}
|
|
73018
|
+
},
|
|
73019
|
+
{
|
|
73020
|
+
"kind": "field",
|
|
73021
|
+
"name": "_hydrationRequired",
|
|
73022
|
+
"type": {
|
|
73023
|
+
"text": "boolean"
|
|
73024
|
+
},
|
|
73025
|
+
"privacy": "private",
|
|
73026
|
+
"default": "!!this.shadowRoot",
|
|
73027
|
+
"inheritedFrom": {
|
|
73028
|
+
"name": "SbbElement",
|
|
73029
|
+
"module": "core/base-elements/element.js"
|
|
73030
|
+
}
|
|
73031
|
+
},
|
|
73032
|
+
{
|
|
73033
|
+
"kind": "field",
|
|
73034
|
+
"name": "_hydrationComplete",
|
|
73035
|
+
"privacy": "private",
|
|
73036
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
73037
|
+
"inheritedFrom": {
|
|
73038
|
+
"name": "SbbElement",
|
|
73039
|
+
"module": "core/base-elements/element.js"
|
|
73040
|
+
}
|
|
73041
|
+
},
|
|
73042
|
+
{
|
|
73043
|
+
"kind": "field",
|
|
73044
|
+
"name": "_resolveHydration",
|
|
73045
|
+
"type": {
|
|
73046
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
73047
|
+
},
|
|
73048
|
+
"privacy": "private",
|
|
73049
|
+
"inheritedFrom": {
|
|
73050
|
+
"name": "SbbElement",
|
|
73051
|
+
"module": "core/base-elements/element.js"
|
|
73052
|
+
}
|
|
73053
|
+
},
|
|
73054
|
+
{
|
|
73055
|
+
"kind": "field",
|
|
73056
|
+
"name": "_textObserver",
|
|
73057
|
+
"type": {
|
|
73058
|
+
"text": "MutationObserver | undefined"
|
|
73059
|
+
},
|
|
73060
|
+
"privacy": "private",
|
|
73061
|
+
"inheritedFrom": {
|
|
73062
|
+
"name": "SbbElement",
|
|
73063
|
+
"module": "core/base-elements/element.js"
|
|
73064
|
+
}
|
|
73065
|
+
},
|
|
73066
|
+
{
|
|
73067
|
+
"kind": "field",
|
|
73068
|
+
"name": "hydrationRequired",
|
|
73069
|
+
"type": {
|
|
73070
|
+
"text": "boolean"
|
|
73071
|
+
},
|
|
73072
|
+
"privacy": "protected",
|
|
73073
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
73074
|
+
"readonly": true,
|
|
73075
|
+
"inheritedFrom": {
|
|
73076
|
+
"name": "SbbElement",
|
|
73077
|
+
"module": "core/base-elements/element.js"
|
|
73078
|
+
},
|
|
73079
|
+
"default": "!!this.shadowRoot"
|
|
73080
|
+
},
|
|
73081
|
+
{
|
|
73082
|
+
"kind": "method",
|
|
73083
|
+
"name": "finalizeStyles",
|
|
73084
|
+
"privacy": "protected",
|
|
73085
|
+
"static": true,
|
|
73086
|
+
"return": {
|
|
73087
|
+
"type": {
|
|
73088
|
+
"text": "CSSResultOrNative[]"
|
|
73089
|
+
}
|
|
73090
|
+
},
|
|
73091
|
+
"parameters": [
|
|
73092
|
+
{
|
|
73093
|
+
"name": "_styles",
|
|
73094
|
+
"type": {
|
|
73095
|
+
"text": "CSSResultGroup"
|
|
73096
|
+
}
|
|
73097
|
+
}
|
|
73098
|
+
],
|
|
73099
|
+
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
73100
|
+
"inheritedFrom": {
|
|
73101
|
+
"name": "SbbElement",
|
|
73102
|
+
"module": "core/base-elements/element.js"
|
|
73103
|
+
}
|
|
73104
|
+
},
|
|
73105
|
+
{
|
|
73106
|
+
"kind": "method",
|
|
73107
|
+
"name": "toggleState",
|
|
73108
|
+
"privacy": "protected",
|
|
73109
|
+
"return": {
|
|
73110
|
+
"type": {
|
|
73111
|
+
"text": "void"
|
|
73112
|
+
}
|
|
73113
|
+
},
|
|
73114
|
+
"parameters": [
|
|
73115
|
+
{
|
|
73116
|
+
"name": "value",
|
|
73117
|
+
"type": {
|
|
73118
|
+
"text": "string"
|
|
73119
|
+
}
|
|
73120
|
+
},
|
|
73121
|
+
{
|
|
73122
|
+
"name": "force",
|
|
73123
|
+
"optional": true,
|
|
73124
|
+
"type": {
|
|
73125
|
+
"text": "boolean"
|
|
73126
|
+
}
|
|
73127
|
+
}
|
|
73128
|
+
],
|
|
73129
|
+
"inheritedFrom": {
|
|
73130
|
+
"name": "SbbElement",
|
|
73131
|
+
"module": "core/base-elements/element.js"
|
|
73132
|
+
}
|
|
73133
|
+
},
|
|
73134
|
+
{
|
|
73135
|
+
"kind": "method",
|
|
73136
|
+
"name": "_slotchangeHandler",
|
|
73137
|
+
"privacy": "private",
|
|
73138
|
+
"return": {
|
|
73139
|
+
"type": {
|
|
73140
|
+
"text": "void"
|
|
73141
|
+
}
|
|
73142
|
+
},
|
|
73143
|
+
"parameters": [
|
|
73144
|
+
{
|
|
73145
|
+
"name": "event",
|
|
73146
|
+
"type": {
|
|
73147
|
+
"text": "Event"
|
|
73148
|
+
}
|
|
73149
|
+
},
|
|
73150
|
+
{
|
|
73151
|
+
"name": "slot",
|
|
73152
|
+
"type": {
|
|
73153
|
+
"text": "HTMLSlotElement"
|
|
73154
|
+
}
|
|
73155
|
+
}
|
|
73156
|
+
],
|
|
73157
|
+
"inheritedFrom": {
|
|
73158
|
+
"name": "SbbElement",
|
|
73159
|
+
"module": "core/base-elements/element.js"
|
|
73160
|
+
}
|
|
73161
|
+
},
|
|
73162
|
+
{
|
|
73163
|
+
"kind": "method",
|
|
73164
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
73165
|
+
"privacy": "private",
|
|
73166
|
+
"return": {
|
|
73167
|
+
"type": {
|
|
73168
|
+
"text": "void"
|
|
73169
|
+
}
|
|
73170
|
+
},
|
|
73171
|
+
"parameters": [
|
|
73172
|
+
{
|
|
73173
|
+
"name": "slot",
|
|
73174
|
+
"type": {
|
|
73175
|
+
"text": "HTMLSlotElement"
|
|
73176
|
+
}
|
|
73177
|
+
}
|
|
73178
|
+
],
|
|
73179
|
+
"inheritedFrom": {
|
|
73180
|
+
"name": "SbbElement",
|
|
73181
|
+
"module": "core/base-elements/element.js"
|
|
73182
|
+
}
|
|
73183
|
+
},
|
|
73184
|
+
{
|
|
73185
|
+
"kind": "method",
|
|
73186
|
+
"name": "_updateSlottedState",
|
|
73187
|
+
"privacy": "private",
|
|
73188
|
+
"return": {
|
|
73189
|
+
"type": {
|
|
73190
|
+
"text": "void"
|
|
73191
|
+
}
|
|
73192
|
+
},
|
|
73193
|
+
"parameters": [
|
|
73194
|
+
{
|
|
73195
|
+
"name": "slot",
|
|
73196
|
+
"type": {
|
|
73197
|
+
"text": "HTMLSlotElement"
|
|
73198
|
+
}
|
|
73199
|
+
}
|
|
73200
|
+
],
|
|
73201
|
+
"inheritedFrom": {
|
|
73202
|
+
"name": "SbbElement",
|
|
73203
|
+
"module": "core/base-elements/element.js"
|
|
73204
|
+
}
|
|
73205
|
+
},
|
|
73206
|
+
{
|
|
73207
|
+
"kind": "method",
|
|
73208
|
+
"name": "_observeTextNodesInSlot",
|
|
73209
|
+
"privacy": "private",
|
|
73210
|
+
"return": {
|
|
73211
|
+
"type": {
|
|
73212
|
+
"text": "void"
|
|
73213
|
+
}
|
|
73214
|
+
},
|
|
73215
|
+
"parameters": [
|
|
73216
|
+
{
|
|
73217
|
+
"name": "slot",
|
|
73218
|
+
"type": {
|
|
73219
|
+
"text": "HTMLSlotElement"
|
|
73220
|
+
}
|
|
73221
|
+
}
|
|
73222
|
+
],
|
|
73223
|
+
"inheritedFrom": {
|
|
73224
|
+
"name": "SbbElement",
|
|
73225
|
+
"module": "core/base-elements/element.js"
|
|
73226
|
+
}
|
|
73227
|
+
},
|
|
73228
|
+
{
|
|
73229
|
+
"kind": "method",
|
|
73230
|
+
"name": "_hasSlottedContent",
|
|
73231
|
+
"privacy": "private",
|
|
73232
|
+
"return": {
|
|
73233
|
+
"type": {
|
|
73234
|
+
"text": "boolean"
|
|
73235
|
+
}
|
|
73236
|
+
},
|
|
73237
|
+
"parameters": [
|
|
73238
|
+
{
|
|
73239
|
+
"name": "slot",
|
|
73240
|
+
"type": {
|
|
73241
|
+
"text": "HTMLSlotElement"
|
|
73242
|
+
}
|
|
73243
|
+
}
|
|
73244
|
+
],
|
|
73245
|
+
"inheritedFrom": {
|
|
73246
|
+
"name": "SbbElement",
|
|
73247
|
+
"module": "core/base-elements/element.js"
|
|
73248
|
+
}
|
|
73249
|
+
}
|
|
73250
|
+
],
|
|
73251
|
+
"mixins": [
|
|
73252
|
+
{
|
|
73253
|
+
"name": "SbbDisabledMixin",
|
|
73254
|
+
"module": "core.js"
|
|
73255
|
+
}
|
|
73256
|
+
],
|
|
73257
|
+
"superclass": {
|
|
73258
|
+
"name": "SbbButtonLikeBaseElement",
|
|
73259
|
+
"module": "core.js"
|
|
73260
|
+
},
|
|
73261
|
+
"classGenerics": "T = Date",
|
|
73262
|
+
"attributes": [
|
|
73263
|
+
{
|
|
73264
|
+
"name": "disabled",
|
|
73265
|
+
"description": "Whether the component is disabled.",
|
|
73266
|
+
"default": "false",
|
|
73267
|
+
"type": {
|
|
73268
|
+
"text": "boolean"
|
|
73269
|
+
},
|
|
73270
|
+
"fieldName": "disabled",
|
|
73271
|
+
"inheritedFrom": {
|
|
73272
|
+
"name": "SbbDisabledMixin",
|
|
73273
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
73274
|
+
}
|
|
73275
|
+
},
|
|
73276
|
+
{
|
|
73277
|
+
"name": "name",
|
|
73278
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
73279
|
+
"type": {
|
|
73280
|
+
"text": "string"
|
|
73281
|
+
},
|
|
73282
|
+
"fieldName": "name",
|
|
73283
|
+
"inheritedFrom": {
|
|
73284
|
+
"name": "SbbFormAssociatedMixin",
|
|
73285
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
73286
|
+
}
|
|
73287
|
+
}
|
|
73288
|
+
],
|
|
73289
|
+
"events": [
|
|
73290
|
+
{
|
|
73291
|
+
"name": "validity",
|
|
73292
|
+
"type": {
|
|
73293
|
+
"text": "Event"
|
|
73294
|
+
},
|
|
73295
|
+
"description": "The validity event is dispatched whenever the validity state of the element changes.",
|
|
73296
|
+
"inheritedFrom": {
|
|
73297
|
+
"name": "SbbFormAssociatedMixin",
|
|
73298
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
73299
|
+
}
|
|
73300
|
+
}
|
|
73301
|
+
]
|
|
73302
|
+
}
|
|
73303
|
+
],
|
|
73304
|
+
"exports": [
|
|
73305
|
+
{
|
|
73306
|
+
"kind": "js",
|
|
73307
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73308
|
+
"declaration": {
|
|
73309
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73310
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73311
|
+
}
|
|
73312
|
+
}
|
|
73313
|
+
]
|
|
73314
|
+
},
|
|
73315
|
+
{
|
|
73316
|
+
"kind": "javascript-module",
|
|
73317
|
+
"path": "calendar/calendar-month/calendar-month.component.js",
|
|
73318
|
+
"declarations": [
|
|
73319
|
+
{
|
|
73320
|
+
"kind": "class",
|
|
73321
|
+
"description": "It displays a single month cell in the `sbb-calendar` months view.",
|
|
73322
|
+
"name": "SbbCalendarMonthElement",
|
|
73323
|
+
"members": [
|
|
73324
|
+
{
|
|
73325
|
+
"kind": "field",
|
|
73326
|
+
"name": "elementName",
|
|
73327
|
+
"type": {
|
|
73328
|
+
"text": "string"
|
|
73329
|
+
},
|
|
73330
|
+
"privacy": "public",
|
|
73331
|
+
"static": true,
|
|
73332
|
+
"readonly": true,
|
|
73333
|
+
"inheritedFrom": {
|
|
73334
|
+
"name": "SbbElement",
|
|
73335
|
+
"module": "core/base-elements/element.js"
|
|
73336
|
+
},
|
|
73337
|
+
"default": "'sbb-calendar-month'"
|
|
73338
|
+
},
|
|
73339
|
+
{
|
|
73340
|
+
"kind": "field",
|
|
73341
|
+
"name": "_monthFormatRegex",
|
|
73342
|
+
"privacy": "private",
|
|
73343
|
+
"static": true,
|
|
73344
|
+
"readonly": true,
|
|
73345
|
+
"default": "/^\\d{4}-(0[1-9]|1[0-2])$/"
|
|
73346
|
+
},
|
|
73347
|
+
{
|
|
73348
|
+
"kind": "field",
|
|
73349
|
+
"name": "_monthShortNames",
|
|
73350
|
+
"type": {
|
|
73351
|
+
"text": "string[]"
|
|
73352
|
+
},
|
|
73353
|
+
"privacy": "private"
|
|
73354
|
+
},
|
|
73355
|
+
{
|
|
73356
|
+
"kind": "field",
|
|
73357
|
+
"name": "_monthLongNames",
|
|
73358
|
+
"type": {
|
|
73359
|
+
"text": "string[]"
|
|
73360
|
+
},
|
|
73361
|
+
"privacy": "private"
|
|
73362
|
+
},
|
|
73363
|
+
{
|
|
73364
|
+
"kind": "field",
|
|
73365
|
+
"name": "_monthValue",
|
|
73366
|
+
"type": {
|
|
73367
|
+
"text": "number | null"
|
|
73368
|
+
},
|
|
73369
|
+
"privacy": "private",
|
|
73370
|
+
"default": "null"
|
|
73371
|
+
},
|
|
73372
|
+
{
|
|
73373
|
+
"kind": "field",
|
|
73374
|
+
"name": "_yearValue",
|
|
73375
|
+
"type": {
|
|
73376
|
+
"text": "number | null"
|
|
73377
|
+
},
|
|
73378
|
+
"privacy": "private",
|
|
73379
|
+
"default": "null"
|
|
73380
|
+
},
|
|
73381
|
+
{
|
|
73382
|
+
"kind": "field",
|
|
73383
|
+
"name": "value",
|
|
73384
|
+
"type": {
|
|
73385
|
+
"text": "string | null"
|
|
73386
|
+
},
|
|
73387
|
+
"privacy": "public",
|
|
73388
|
+
"inheritedFrom": {
|
|
73389
|
+
"name": "SbbFormAssociatedMixin",
|
|
73390
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
73391
|
+
},
|
|
73392
|
+
"description": "Value of the calendar-month element in ISO format (YYYY-MM).",
|
|
73393
|
+
"default": "null"
|
|
73394
|
+
},
|
|
73395
|
+
{
|
|
73396
|
+
"kind": "field",
|
|
73397
|
+
"name": "_value",
|
|
73398
|
+
"type": {
|
|
73399
|
+
"text": "string | null"
|
|
73400
|
+
},
|
|
73401
|
+
"privacy": "private",
|
|
73402
|
+
"default": "null"
|
|
73403
|
+
},
|
|
73404
|
+
{
|
|
73405
|
+
"kind": "method",
|
|
73406
|
+
"name": "setSelectedState",
|
|
73407
|
+
"privacy": "protected",
|
|
73408
|
+
"return": {
|
|
73409
|
+
"type": {
|
|
73410
|
+
"text": "void"
|
|
73411
|
+
}
|
|
73412
|
+
},
|
|
73413
|
+
"parameters": [
|
|
73414
|
+
{
|
|
73415
|
+
"name": "parent",
|
|
73416
|
+
"type": {
|
|
73417
|
+
"text": "SbbCalendarElement<T>"
|
|
73418
|
+
}
|
|
73419
|
+
}
|
|
73420
|
+
],
|
|
73421
|
+
"inheritedFrom": {
|
|
73422
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73423
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73424
|
+
}
|
|
73425
|
+
},
|
|
73426
|
+
{
|
|
73427
|
+
"kind": "method",
|
|
73428
|
+
"name": "setDisabledFilteredState",
|
|
73429
|
+
"privacy": "protected",
|
|
73430
|
+
"return": {
|
|
73431
|
+
"type": {
|
|
73432
|
+
"text": "void"
|
|
73433
|
+
}
|
|
73434
|
+
},
|
|
73435
|
+
"parameters": [
|
|
73436
|
+
{
|
|
73437
|
+
"name": "parent",
|
|
73438
|
+
"type": {
|
|
73439
|
+
"text": "SbbCalendarElement<T>"
|
|
73440
|
+
}
|
|
73441
|
+
}
|
|
73442
|
+
],
|
|
73443
|
+
"inheritedFrom": {
|
|
73444
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73445
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73446
|
+
}
|
|
73447
|
+
},
|
|
73448
|
+
{
|
|
73449
|
+
"kind": "method",
|
|
73450
|
+
"name": "_isActiveMonth",
|
|
73451
|
+
"privacy": "private",
|
|
73452
|
+
"return": {
|
|
73453
|
+
"type": {
|
|
73454
|
+
"text": "boolean"
|
|
73455
|
+
}
|
|
73456
|
+
},
|
|
73457
|
+
"parameters": [
|
|
73458
|
+
{
|
|
73459
|
+
"name": "parent",
|
|
73460
|
+
"type": {
|
|
73461
|
+
"text": "SbbCalendarElement<T>"
|
|
73462
|
+
}
|
|
73463
|
+
}
|
|
73464
|
+
]
|
|
73465
|
+
},
|
|
73466
|
+
{
|
|
73467
|
+
"kind": "method",
|
|
73468
|
+
"name": "_isMonthInRange",
|
|
73469
|
+
"privacy": "private",
|
|
73470
|
+
"return": {
|
|
73471
|
+
"type": {
|
|
73472
|
+
"text": "boolean"
|
|
73473
|
+
}
|
|
73474
|
+
},
|
|
73475
|
+
"parameters": [
|
|
73476
|
+
{
|
|
73477
|
+
"name": "min",
|
|
73478
|
+
"type": {
|
|
73479
|
+
"text": "T | null"
|
|
73480
|
+
}
|
|
73481
|
+
},
|
|
73482
|
+
{
|
|
73483
|
+
"name": "max",
|
|
73484
|
+
"type": {
|
|
73485
|
+
"text": "T | null"
|
|
73486
|
+
}
|
|
73487
|
+
}
|
|
73488
|
+
]
|
|
73489
|
+
},
|
|
73490
|
+
{
|
|
73491
|
+
"kind": "method",
|
|
73492
|
+
"name": "renderTemplate",
|
|
73493
|
+
"privacy": "protected",
|
|
73494
|
+
"return": {
|
|
73495
|
+
"type": {
|
|
73496
|
+
"text": "TemplateResult"
|
|
73497
|
+
}
|
|
73498
|
+
},
|
|
73499
|
+
"description": "Override this method to render the component template.",
|
|
73500
|
+
"inheritedFrom": {
|
|
73501
|
+
"name": "SbbActionBaseElement",
|
|
73502
|
+
"module": "core/base-elements/action-base-element.js"
|
|
73503
|
+
}
|
|
73504
|
+
},
|
|
73505
|
+
{
|
|
73506
|
+
"kind": "field",
|
|
73507
|
+
"name": "disabled",
|
|
73508
|
+
"privacy": "public",
|
|
73509
|
+
"description": "Whether the component is disabled.",
|
|
73510
|
+
"default": "false",
|
|
73511
|
+
"type": {
|
|
73512
|
+
"text": "boolean"
|
|
73513
|
+
},
|
|
73514
|
+
"attribute": "disabled",
|
|
73515
|
+
"reflects": true,
|
|
73516
|
+
"inheritedFrom": {
|
|
73517
|
+
"name": "SbbDisabledMixin",
|
|
73518
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
73519
|
+
}
|
|
73520
|
+
},
|
|
73521
|
+
{
|
|
73522
|
+
"kind": "field",
|
|
73523
|
+
"name": "#disabled",
|
|
73524
|
+
"privacy": "private",
|
|
73525
|
+
"type": {
|
|
73526
|
+
"text": "boolean"
|
|
73527
|
+
},
|
|
73528
|
+
"default": "false",
|
|
73529
|
+
"inheritedFrom": {
|
|
73530
|
+
"name": "SbbDisabledMixin",
|
|
73531
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
73532
|
+
}
|
|
73533
|
+
},
|
|
73534
|
+
{
|
|
73535
|
+
"kind": "method",
|
|
73536
|
+
"name": "isDisabledExternally",
|
|
73537
|
+
"privacy": "protected",
|
|
73538
|
+
"return": {
|
|
73539
|
+
"type": {
|
|
73540
|
+
"text": "boolean"
|
|
73541
|
+
}
|
|
73542
|
+
},
|
|
73543
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
73544
|
+
"inheritedFrom": {
|
|
73545
|
+
"name": "SbbDisabledMixin",
|
|
73546
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
73547
|
+
}
|
|
73548
|
+
},
|
|
73549
|
+
{
|
|
73550
|
+
"kind": "field",
|
|
73551
|
+
"name": "dateAdapter",
|
|
72250
73552
|
"type": {
|
|
72251
|
-
"text": "
|
|
73553
|
+
"text": "DateAdapter"
|
|
72252
73554
|
},
|
|
72253
|
-
"privacy": "
|
|
72254
|
-
"static": true,
|
|
72255
|
-
"default": "true",
|
|
73555
|
+
"privacy": "protected",
|
|
72256
73556
|
"inheritedFrom": {
|
|
72257
|
-
"name": "
|
|
72258
|
-
"module": "
|
|
73557
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73558
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73559
|
+
}
|
|
73560
|
+
},
|
|
73561
|
+
{
|
|
73562
|
+
"kind": "method",
|
|
73563
|
+
"name": "getParent",
|
|
73564
|
+
"privacy": "protected",
|
|
73565
|
+
"return": {
|
|
73566
|
+
"type": {
|
|
73567
|
+
"text": "SbbCalendarElement<T> | null"
|
|
73568
|
+
}
|
|
73569
|
+
},
|
|
73570
|
+
"inheritedFrom": {
|
|
73571
|
+
"name": "SbbCalendarCellBaseElement",
|
|
73572
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
72259
73573
|
}
|
|
72260
73574
|
},
|
|
72261
73575
|
{
|
|
72262
73576
|
"kind": "field",
|
|
72263
|
-
"name": "
|
|
73577
|
+
"name": "formAssociated",
|
|
72264
73578
|
"type": {
|
|
72265
|
-
"text": "
|
|
73579
|
+
"text": "boolean"
|
|
72266
73580
|
},
|
|
72267
73581
|
"privacy": "public",
|
|
73582
|
+
"static": true,
|
|
73583
|
+
"default": "true",
|
|
72268
73584
|
"inheritedFrom": {
|
|
72269
73585
|
"name": "SbbFormAssociatedMixin",
|
|
72270
73586
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -72676,21 +73992,6 @@
|
|
|
72676
73992
|
"module": "core/base-elements/action-base-element.js"
|
|
72677
73993
|
}
|
|
72678
73994
|
},
|
|
72679
|
-
{
|
|
72680
|
-
"kind": "method",
|
|
72681
|
-
"name": "renderTemplate",
|
|
72682
|
-
"privacy": "protected",
|
|
72683
|
-
"return": {
|
|
72684
|
-
"type": {
|
|
72685
|
-
"text": "TemplateResult"
|
|
72686
|
-
}
|
|
72687
|
-
},
|
|
72688
|
-
"description": "Override this method to render the component template.",
|
|
72689
|
-
"inheritedFrom": {
|
|
72690
|
-
"name": "SbbActionBaseElement",
|
|
72691
|
-
"module": "core/base-elements/action-base-element.js"
|
|
72692
|
-
}
|
|
72693
|
-
},
|
|
72694
73995
|
{
|
|
72695
73996
|
"kind": "field",
|
|
72696
73997
|
"name": "['_$sbbElement$']",
|
|
@@ -72705,20 +74006,6 @@
|
|
|
72705
74006
|
"module": "core/base-elements/element.js"
|
|
72706
74007
|
}
|
|
72707
74008
|
},
|
|
72708
|
-
{
|
|
72709
|
-
"kind": "field",
|
|
72710
|
-
"name": "elementName",
|
|
72711
|
-
"type": {
|
|
72712
|
-
"text": "string"
|
|
72713
|
-
},
|
|
72714
|
-
"privacy": "public",
|
|
72715
|
-
"static": true,
|
|
72716
|
-
"readonly": true,
|
|
72717
|
-
"inheritedFrom": {
|
|
72718
|
-
"name": "SbbElement",
|
|
72719
|
-
"module": "core/base-elements/element.js"
|
|
72720
|
-
}
|
|
72721
|
-
},
|
|
72722
74009
|
{
|
|
72723
74010
|
"kind": "field",
|
|
72724
74011
|
"name": "elementDependencies",
|
|
@@ -72976,16 +74263,12 @@
|
|
|
72976
74263
|
}
|
|
72977
74264
|
}
|
|
72978
74265
|
],
|
|
72979
|
-
"mixins": [
|
|
72980
|
-
{
|
|
72981
|
-
"name": "SbbDisabledMixin",
|
|
72982
|
-
"module": "core.js"
|
|
72983
|
-
}
|
|
72984
|
-
],
|
|
72985
74266
|
"superclass": {
|
|
72986
|
-
"name": "
|
|
72987
|
-
"module": "
|
|
74267
|
+
"name": "SbbCalendarCellBaseElement",
|
|
74268
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
72988
74269
|
},
|
|
74270
|
+
"tagName": "sbb-calendar-month",
|
|
74271
|
+
"customElement": true,
|
|
72989
74272
|
"classGenerics": "T = Date",
|
|
72990
74273
|
"attributes": [
|
|
72991
74274
|
{
|
|
@@ -73032,22 +74315,22 @@
|
|
|
73032
74315
|
"exports": [
|
|
73033
74316
|
{
|
|
73034
74317
|
"kind": "js",
|
|
73035
|
-
"name": "
|
|
74318
|
+
"name": "SbbCalendarMonthElement",
|
|
73036
74319
|
"declaration": {
|
|
73037
|
-
"name": "
|
|
73038
|
-
"module": "calendar/
|
|
74320
|
+
"name": "SbbCalendarMonthElement",
|
|
74321
|
+
"module": "calendar/calendar-month/calendar-month.component.js"
|
|
73039
74322
|
}
|
|
73040
74323
|
}
|
|
73041
74324
|
]
|
|
73042
74325
|
},
|
|
73043
74326
|
{
|
|
73044
74327
|
"kind": "javascript-module",
|
|
73045
|
-
"path": "calendar/calendar-
|
|
74328
|
+
"path": "calendar/calendar-select-all/calendar-select-all.component.js",
|
|
73046
74329
|
"declarations": [
|
|
73047
74330
|
{
|
|
73048
74331
|
"kind": "class",
|
|
73049
|
-
"description": "It displays a
|
|
73050
|
-
"name": "
|
|
74332
|
+
"description": "It displays a toggle all button inside the `sbb-calendar` component.",
|
|
74333
|
+
"name": "SbbCalendarSelectAllElement",
|
|
73051
74334
|
"members": [
|
|
73052
74335
|
{
|
|
73053
74336
|
"kind": "field",
|
|
@@ -73062,172 +74345,101 @@
|
|
|
73062
74345
|
"name": "SbbElement",
|
|
73063
74346
|
"module": "core/base-elements/element.js"
|
|
73064
74347
|
},
|
|
73065
|
-
"default": "'sbb-calendar-
|
|
73066
|
-
},
|
|
73067
|
-
{
|
|
73068
|
-
"kind": "field",
|
|
73069
|
-
"name": "_monthFormatRegex",
|
|
73070
|
-
"privacy": "private",
|
|
73071
|
-
"static": true,
|
|
73072
|
-
"readonly": true,
|
|
73073
|
-
"default": "/^\\d{4}-(0[1-9]|1[0-2])$/"
|
|
73074
|
-
},
|
|
73075
|
-
{
|
|
73076
|
-
"kind": "field",
|
|
73077
|
-
"name": "_monthShortNames",
|
|
73078
|
-
"type": {
|
|
73079
|
-
"text": "string[]"
|
|
73080
|
-
},
|
|
73081
|
-
"privacy": "private"
|
|
73082
|
-
},
|
|
73083
|
-
{
|
|
73084
|
-
"kind": "field",
|
|
73085
|
-
"name": "_monthLongNames",
|
|
73086
|
-
"type": {
|
|
73087
|
-
"text": "string[]"
|
|
73088
|
-
},
|
|
73089
|
-
"privacy": "private"
|
|
74348
|
+
"default": "'sbb-calendar-select-all'"
|
|
73090
74349
|
},
|
|
73091
74350
|
{
|
|
73092
|
-
"kind": "
|
|
73093
|
-
"name": "
|
|
73094
|
-
"
|
|
73095
|
-
|
|
73096
|
-
|
|
73097
|
-
|
|
73098
|
-
|
|
73099
|
-
},
|
|
73100
|
-
{
|
|
73101
|
-
"kind": "field",
|
|
73102
|
-
"name": "_yearValue",
|
|
73103
|
-
"type": {
|
|
73104
|
-
"text": "number | null"
|
|
74351
|
+
"kind": "method",
|
|
74352
|
+
"name": "renderTemplate",
|
|
74353
|
+
"privacy": "protected",
|
|
74354
|
+
"return": {
|
|
74355
|
+
"type": {
|
|
74356
|
+
"text": "TemplateResult"
|
|
74357
|
+
}
|
|
73105
74358
|
},
|
|
73106
|
-
"
|
|
73107
|
-
"
|
|
74359
|
+
"description": "Override this method to render the component template.",
|
|
74360
|
+
"inheritedFrom": {
|
|
74361
|
+
"name": "SbbActionBaseElement",
|
|
74362
|
+
"module": "core/base-elements/action-base-element.js"
|
|
74363
|
+
}
|
|
73108
74364
|
},
|
|
73109
74365
|
{
|
|
73110
74366
|
"kind": "field",
|
|
73111
|
-
"name": "
|
|
74367
|
+
"name": "elementDependencies",
|
|
73112
74368
|
"type": {
|
|
73113
|
-
"text": "
|
|
74369
|
+
"text": "SbbElementType[]"
|
|
73114
74370
|
},
|
|
73115
74371
|
"privacy": "public",
|
|
74372
|
+
"static": true,
|
|
73116
74373
|
"inheritedFrom": {
|
|
73117
|
-
"name": "
|
|
73118
|
-
"module": "core/
|
|
74374
|
+
"name": "SbbElement",
|
|
74375
|
+
"module": "core/base-elements/element.js"
|
|
73119
74376
|
},
|
|
73120
|
-
"
|
|
73121
|
-
"default": "null"
|
|
74377
|
+
"default": "[SbbIconElement]"
|
|
73122
74378
|
},
|
|
73123
74379
|
{
|
|
73124
74380
|
"kind": "field",
|
|
73125
|
-
"name": "
|
|
74381
|
+
"name": "iconName",
|
|
73126
74382
|
"type": {
|
|
73127
|
-
"text": "string
|
|
74383
|
+
"text": "string"
|
|
73128
74384
|
},
|
|
73129
|
-
"privacy": "
|
|
73130
|
-
"default": "
|
|
74385
|
+
"privacy": "public",
|
|
74386
|
+
"default": "''",
|
|
74387
|
+
"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.",
|
|
74388
|
+
"attribute": "icon-name",
|
|
74389
|
+
"inheritedFrom": {
|
|
74390
|
+
"name": "SbbIconNameMixin",
|
|
74391
|
+
"module": "icon/icon-name-mixin.js"
|
|
74392
|
+
}
|
|
73131
74393
|
},
|
|
73132
74394
|
{
|
|
73133
74395
|
"kind": "method",
|
|
73134
|
-
"name": "
|
|
74396
|
+
"name": "renderIconSlot",
|
|
73135
74397
|
"privacy": "protected",
|
|
73136
74398
|
"return": {
|
|
73137
74399
|
"type": {
|
|
73138
|
-
"text": "
|
|
74400
|
+
"text": "TemplateResult"
|
|
73139
74401
|
}
|
|
73140
74402
|
},
|
|
73141
74403
|
"parameters": [
|
|
73142
74404
|
{
|
|
73143
|
-
"name": "
|
|
74405
|
+
"name": "classname",
|
|
74406
|
+
"optional": true,
|
|
73144
74407
|
"type": {
|
|
73145
|
-
"text": "
|
|
74408
|
+
"text": "string"
|
|
73146
74409
|
}
|
|
73147
74410
|
}
|
|
73148
74411
|
],
|
|
73149
74412
|
"inheritedFrom": {
|
|
73150
|
-
"name": "
|
|
73151
|
-
"module": "
|
|
74413
|
+
"name": "SbbIconNameMixin",
|
|
74414
|
+
"module": "icon/icon-name-mixin.js"
|
|
73152
74415
|
}
|
|
73153
74416
|
},
|
|
73154
74417
|
{
|
|
73155
74418
|
"kind": "method",
|
|
73156
|
-
"name": "
|
|
74419
|
+
"name": "renderIconName",
|
|
73157
74420
|
"privacy": "protected",
|
|
73158
74421
|
"return": {
|
|
73159
74422
|
"type": {
|
|
73160
|
-
"text": "
|
|
74423
|
+
"text": "string"
|
|
73161
74424
|
}
|
|
73162
74425
|
},
|
|
73163
|
-
"parameters": [
|
|
73164
|
-
{
|
|
73165
|
-
"name": "parent",
|
|
73166
|
-
"type": {
|
|
73167
|
-
"text": "SbbCalendarElement<T>"
|
|
73168
|
-
}
|
|
73169
|
-
}
|
|
73170
|
-
],
|
|
73171
74426
|
"inheritedFrom": {
|
|
73172
|
-
"name": "
|
|
73173
|
-
"module": "
|
|
74427
|
+
"name": "SbbIconNameMixin",
|
|
74428
|
+
"module": "icon/icon-name-mixin.js"
|
|
73174
74429
|
}
|
|
73175
74430
|
},
|
|
73176
74431
|
{
|
|
73177
74432
|
"kind": "method",
|
|
73178
|
-
"name": "
|
|
73179
|
-
"privacy": "private",
|
|
73180
|
-
"return": {
|
|
73181
|
-
"type": {
|
|
73182
|
-
"text": "boolean"
|
|
73183
|
-
}
|
|
73184
|
-
},
|
|
73185
|
-
"parameters": [
|
|
73186
|
-
{
|
|
73187
|
-
"name": "parent",
|
|
73188
|
-
"type": {
|
|
73189
|
-
"text": "SbbCalendarElement<T>"
|
|
73190
|
-
}
|
|
73191
|
-
}
|
|
73192
|
-
]
|
|
73193
|
-
},
|
|
73194
|
-
{
|
|
73195
|
-
"kind": "method",
|
|
73196
|
-
"name": "_isMonthInRange",
|
|
74433
|
+
"name": "_renderIconName",
|
|
73197
74434
|
"privacy": "private",
|
|
73198
74435
|
"return": {
|
|
73199
74436
|
"type": {
|
|
73200
|
-
"text": "
|
|
73201
|
-
}
|
|
73202
|
-
},
|
|
73203
|
-
"parameters": [
|
|
73204
|
-
{
|
|
73205
|
-
"name": "min",
|
|
73206
|
-
"type": {
|
|
73207
|
-
"text": "T | null"
|
|
73208
|
-
}
|
|
73209
|
-
},
|
|
73210
|
-
{
|
|
73211
|
-
"name": "max",
|
|
73212
|
-
"type": {
|
|
73213
|
-
"text": "T | null"
|
|
73214
|
-
}
|
|
73215
|
-
}
|
|
73216
|
-
]
|
|
73217
|
-
},
|
|
73218
|
-
{
|
|
73219
|
-
"kind": "method",
|
|
73220
|
-
"name": "renderTemplate",
|
|
73221
|
-
"privacy": "protected",
|
|
73222
|
-
"return": {
|
|
73223
|
-
"type": {
|
|
73224
|
-
"text": "TemplateResult"
|
|
74437
|
+
"text": "string"
|
|
73225
74438
|
}
|
|
73226
74439
|
},
|
|
73227
|
-
"description": "Override this method to render the component template.",
|
|
73228
74440
|
"inheritedFrom": {
|
|
73229
|
-
"name": "
|
|
73230
|
-
"module": "
|
|
74441
|
+
"name": "SbbIconNameMixin",
|
|
74442
|
+
"module": "icon/icon-name-mixin.js"
|
|
73231
74443
|
}
|
|
73232
74444
|
},
|
|
73233
74445
|
{
|
|
@@ -73286,6 +74498,50 @@
|
|
|
73286
74498
|
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73287
74499
|
}
|
|
73288
74500
|
},
|
|
74501
|
+
{
|
|
74502
|
+
"kind": "method",
|
|
74503
|
+
"name": "setDisabledFilteredState",
|
|
74504
|
+
"privacy": "protected",
|
|
74505
|
+
"return": {
|
|
74506
|
+
"type": {
|
|
74507
|
+
"text": "void"
|
|
74508
|
+
}
|
|
74509
|
+
},
|
|
74510
|
+
"parameters": [
|
|
74511
|
+
{
|
|
74512
|
+
"name": "parent",
|
|
74513
|
+
"type": {
|
|
74514
|
+
"text": "SbbCalendarElement<T>"
|
|
74515
|
+
}
|
|
74516
|
+
}
|
|
74517
|
+
],
|
|
74518
|
+
"inheritedFrom": {
|
|
74519
|
+
"name": "SbbCalendarCellBaseElement",
|
|
74520
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
74521
|
+
}
|
|
74522
|
+
},
|
|
74523
|
+
{
|
|
74524
|
+
"kind": "method",
|
|
74525
|
+
"name": "setSelectedState",
|
|
74526
|
+
"privacy": "protected",
|
|
74527
|
+
"return": {
|
|
74528
|
+
"type": {
|
|
74529
|
+
"text": "void"
|
|
74530
|
+
}
|
|
74531
|
+
},
|
|
74532
|
+
"parameters": [
|
|
74533
|
+
{
|
|
74534
|
+
"name": "parent",
|
|
74535
|
+
"type": {
|
|
74536
|
+
"text": "SbbCalendarElement<T>"
|
|
74537
|
+
}
|
|
74538
|
+
}
|
|
74539
|
+
],
|
|
74540
|
+
"inheritedFrom": {
|
|
74541
|
+
"name": "SbbCalendarCellBaseElement",
|
|
74542
|
+
"module": "calendar/common/calendar-cell-base-element.js"
|
|
74543
|
+
}
|
|
74544
|
+
},
|
|
73289
74545
|
{
|
|
73290
74546
|
"kind": "method",
|
|
73291
74547
|
"name": "getParent",
|
|
@@ -73314,6 +74570,18 @@
|
|
|
73314
74570
|
"module": "core/mixins/form-associated-mixin.js"
|
|
73315
74571
|
}
|
|
73316
74572
|
},
|
|
74573
|
+
{
|
|
74574
|
+
"kind": "field",
|
|
74575
|
+
"name": "value",
|
|
74576
|
+
"type": {
|
|
74577
|
+
"text": "unknown"
|
|
74578
|
+
},
|
|
74579
|
+
"privacy": "public",
|
|
74580
|
+
"inheritedFrom": {
|
|
74581
|
+
"name": "SbbFormAssociatedMixin",
|
|
74582
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
74583
|
+
}
|
|
74584
|
+
},
|
|
73317
74585
|
{
|
|
73318
74586
|
"kind": "field",
|
|
73319
74587
|
"name": "form",
|
|
@@ -73734,19 +75002,6 @@
|
|
|
73734
75002
|
"module": "core/base-elements/element.js"
|
|
73735
75003
|
}
|
|
73736
75004
|
},
|
|
73737
|
-
{
|
|
73738
|
-
"kind": "field",
|
|
73739
|
-
"name": "elementDependencies",
|
|
73740
|
-
"type": {
|
|
73741
|
-
"text": "SbbElementType[] | undefined"
|
|
73742
|
-
},
|
|
73743
|
-
"privacy": "public",
|
|
73744
|
-
"static": true,
|
|
73745
|
-
"inheritedFrom": {
|
|
73746
|
-
"name": "SbbElement",
|
|
73747
|
-
"module": "core/base-elements/element.js"
|
|
73748
|
-
}
|
|
73749
|
-
},
|
|
73750
75005
|
{
|
|
73751
75006
|
"kind": "field",
|
|
73752
75007
|
"name": "_controllers",
|
|
@@ -73991,14 +75246,32 @@
|
|
|
73991
75246
|
}
|
|
73992
75247
|
}
|
|
73993
75248
|
],
|
|
75249
|
+
"mixins": [
|
|
75250
|
+
{
|
|
75251
|
+
"name": "SbbIconNameMixin",
|
|
75252
|
+
"module": "icon.pure.js"
|
|
75253
|
+
}
|
|
75254
|
+
],
|
|
73994
75255
|
"superclass": {
|
|
73995
75256
|
"name": "SbbCalendarCellBaseElement",
|
|
73996
75257
|
"module": "calendar/common/calendar-cell-base-element.js"
|
|
73997
75258
|
},
|
|
73998
|
-
"tagName": "sbb-calendar-
|
|
75259
|
+
"tagName": "sbb-calendar-select-all",
|
|
73999
75260
|
"customElement": true,
|
|
74000
|
-
"classGenerics": "T = Date",
|
|
74001
75261
|
"attributes": [
|
|
75262
|
+
{
|
|
75263
|
+
"name": "icon-name",
|
|
75264
|
+
"type": {
|
|
75265
|
+
"text": "string"
|
|
75266
|
+
},
|
|
75267
|
+
"default": "''",
|
|
75268
|
+
"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.",
|
|
75269
|
+
"fieldName": "iconName",
|
|
75270
|
+
"inheritedFrom": {
|
|
75271
|
+
"name": "SbbIconNameMixin",
|
|
75272
|
+
"module": "icon/icon-name-mixin.js"
|
|
75273
|
+
}
|
|
75274
|
+
},
|
|
74002
75275
|
{
|
|
74003
75276
|
"name": "disabled",
|
|
74004
75277
|
"description": "Whether the component is disabled.",
|
|
@@ -74043,10 +75316,10 @@
|
|
|
74043
75316
|
"exports": [
|
|
74044
75317
|
{
|
|
74045
75318
|
"kind": "js",
|
|
74046
|
-
"name": "
|
|
75319
|
+
"name": "SbbCalendarSelectAllElement",
|
|
74047
75320
|
"declaration": {
|
|
74048
|
-
"name": "
|
|
74049
|
-
"module": "calendar/calendar-
|
|
75321
|
+
"name": "SbbCalendarSelectAllElement",
|
|
75322
|
+
"module": "calendar/calendar-select-all/calendar-select-all.component.js"
|
|
74050
75323
|
}
|
|
74051
75324
|
}
|
|
74052
75325
|
]
|
|
@@ -75001,12 +76274,6 @@
|
|
|
75001
76274
|
},
|
|
75002
76275
|
"default": "'sbb-calendar-weeknumber'"
|
|
75003
76276
|
},
|
|
75004
|
-
{
|
|
75005
|
-
"kind": "field",
|
|
75006
|
-
"name": "_language",
|
|
75007
|
-
"privacy": "private",
|
|
75008
|
-
"default": "new SbbLanguageController(this)"
|
|
75009
|
-
},
|
|
75010
76277
|
{
|
|
75011
76278
|
"kind": "field",
|
|
75012
76279
|
"name": "value",
|
|
@@ -76976,7 +78243,7 @@
|
|
|
76976
78243
|
},
|
|
76977
78244
|
"privacy": "public",
|
|
76978
78245
|
"static": true,
|
|
76979
|
-
"default": "[ SbbCalendarDayElement, SbbCalendarMonthElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement, SbbIconElement, SbbSecondaryButtonElement, ]",
|
|
78246
|
+
"default": "[ SbbCalendarDayElement, SbbCalendarMonthElement, SbbCalendarSelectAllElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement, SbbIconElement, SbbSecondaryButtonElement, ]",
|
|
76980
78247
|
"inheritedFrom": {
|
|
76981
78248
|
"name": "SbbElement",
|
|
76982
78249
|
"module": "core/base-elements/element.js"
|
|
@@ -77257,36 +78524,6 @@
|
|
|
77257
78524
|
"privacy": "private",
|
|
77258
78525
|
"default": "false"
|
|
77259
78526
|
},
|
|
77260
|
-
{
|
|
77261
|
-
"kind": "field",
|
|
77262
|
-
"name": "_cells",
|
|
77263
|
-
"type": {
|
|
77264
|
-
"text": "SbbCalendarCellBaseElement<T>[]"
|
|
77265
|
-
},
|
|
77266
|
-
"privacy": "private",
|
|
77267
|
-
"description": "A list of calendar's cells corresponding to days, months or years depending on the view.",
|
|
77268
|
-
"readonly": true
|
|
77269
|
-
},
|
|
77270
|
-
{
|
|
77271
|
-
"kind": "field",
|
|
77272
|
-
"name": "_weekdayCells",
|
|
77273
|
-
"type": {
|
|
77274
|
-
"text": "SbbCalendarWeekdayElement[]"
|
|
77275
|
-
},
|
|
77276
|
-
"privacy": "private",
|
|
77277
|
-
"description": "A list of calendar's weekday cells.",
|
|
77278
|
-
"readonly": true
|
|
77279
|
-
},
|
|
77280
|
-
{
|
|
77281
|
-
"kind": "field",
|
|
77282
|
-
"name": "_weekNumberCells",
|
|
77283
|
-
"type": {
|
|
77284
|
-
"text": "SbbCalendarWeeknumberElement[]"
|
|
77285
|
-
},
|
|
77286
|
-
"privacy": "private",
|
|
77287
|
-
"description": "A list of calendar's weeknumber cells.",
|
|
77288
|
-
"readonly": true
|
|
77289
|
-
},
|
|
77290
78527
|
{
|
|
77291
78528
|
"kind": "field",
|
|
77292
78529
|
"name": "_chosenYear",
|
|
@@ -77349,13 +78586,171 @@
|
|
|
77349
78586
|
"privacy": "private"
|
|
77350
78587
|
},
|
|
77351
78588
|
{
|
|
77352
|
-
"kind": "
|
|
77353
|
-
"name": "
|
|
77354
|
-
"
|
|
77355
|
-
|
|
78589
|
+
"kind": "method",
|
|
78590
|
+
"name": "_cells",
|
|
78591
|
+
"privacy": "private",
|
|
78592
|
+
"return": {
|
|
78593
|
+
"type": {
|
|
78594
|
+
"text": "SbbCalendarCellBaseElement<T>[]"
|
|
78595
|
+
}
|
|
77356
78596
|
},
|
|
78597
|
+
"description": "A list of calendar's cells corresponding to days, months or years depending on the view."
|
|
78598
|
+
},
|
|
78599
|
+
{
|
|
78600
|
+
"kind": "method",
|
|
78601
|
+
"name": "_yearCells",
|
|
77357
78602
|
"privacy": "private",
|
|
77358
|
-
"
|
|
78603
|
+
"return": {
|
|
78604
|
+
"type": {
|
|
78605
|
+
"text": "SbbCalendarYearElement<T>[]"
|
|
78606
|
+
}
|
|
78607
|
+
},
|
|
78608
|
+
"description": "A list of calendar's month cells."
|
|
78609
|
+
},
|
|
78610
|
+
{
|
|
78611
|
+
"kind": "method",
|
|
78612
|
+
"name": "_monthCells",
|
|
78613
|
+
"privacy": "private",
|
|
78614
|
+
"return": {
|
|
78615
|
+
"type": {
|
|
78616
|
+
"text": "SbbCalendarMonthElement<T>[]"
|
|
78617
|
+
}
|
|
78618
|
+
},
|
|
78619
|
+
"description": "A list of calendar's month cells."
|
|
78620
|
+
},
|
|
78621
|
+
{
|
|
78622
|
+
"kind": "method",
|
|
78623
|
+
"name": "_dayCells",
|
|
78624
|
+
"privacy": "private",
|
|
78625
|
+
"return": {
|
|
78626
|
+
"type": {
|
|
78627
|
+
"text": "SbbCalendarDayElement<T>[]"
|
|
78628
|
+
}
|
|
78629
|
+
},
|
|
78630
|
+
"parameters": [
|
|
78631
|
+
{
|
|
78632
|
+
"name": "root",
|
|
78633
|
+
"default": "this.shadowRoot!",
|
|
78634
|
+
"type": {
|
|
78635
|
+
"text": "ParentNode"
|
|
78636
|
+
}
|
|
78637
|
+
}
|
|
78638
|
+
],
|
|
78639
|
+
"description": "Returns the rendered or slotted days within the given root."
|
|
78640
|
+
},
|
|
78641
|
+
{
|
|
78642
|
+
"kind": "method",
|
|
78643
|
+
"name": "_weekdayCells",
|
|
78644
|
+
"privacy": "private",
|
|
78645
|
+
"return": {
|
|
78646
|
+
"type": {
|
|
78647
|
+
"text": "SbbCalendarWeekdayElement[]"
|
|
78648
|
+
}
|
|
78649
|
+
},
|
|
78650
|
+
"description": "A list of calendar's weekday cells."
|
|
78651
|
+
},
|
|
78652
|
+
{
|
|
78653
|
+
"kind": "method",
|
|
78654
|
+
"name": "_weekNumberCells",
|
|
78655
|
+
"privacy": "private",
|
|
78656
|
+
"return": {
|
|
78657
|
+
"type": {
|
|
78658
|
+
"text": "SbbCalendarWeeknumberElement[]"
|
|
78659
|
+
}
|
|
78660
|
+
},
|
|
78661
|
+
"description": "A list of calendar's weeknumber cells."
|
|
78662
|
+
},
|
|
78663
|
+
{
|
|
78664
|
+
"kind": "method",
|
|
78665
|
+
"name": "_selectAllButtons",
|
|
78666
|
+
"privacy": "private",
|
|
78667
|
+
"return": {
|
|
78668
|
+
"type": {
|
|
78669
|
+
"text": "SbbCalendarSelectAllElement[]"
|
|
78670
|
+
}
|
|
78671
|
+
}
|
|
78672
|
+
},
|
|
78673
|
+
{
|
|
78674
|
+
"kind": "method",
|
|
78675
|
+
"name": "_resolveHeaderNavigationCell",
|
|
78676
|
+
"privacy": "private",
|
|
78677
|
+
"return": {
|
|
78678
|
+
"type": {
|
|
78679
|
+
"text": "HTMLElement | undefined"
|
|
78680
|
+
}
|
|
78681
|
+
},
|
|
78682
|
+
"parameters": [
|
|
78683
|
+
{
|
|
78684
|
+
"name": "event",
|
|
78685
|
+
"type": {
|
|
78686
|
+
"text": "Event"
|
|
78687
|
+
}
|
|
78688
|
+
}
|
|
78689
|
+
],
|
|
78690
|
+
"description": "Returns the day, weekday, week number or select-all cell the event originates from."
|
|
78691
|
+
},
|
|
78692
|
+
{
|
|
78693
|
+
"kind": "method",
|
|
78694
|
+
"name": "_handleCellKeydown",
|
|
78695
|
+
"privacy": "private",
|
|
78696
|
+
"return": {
|
|
78697
|
+
"type": {
|
|
78698
|
+
"text": "void"
|
|
78699
|
+
}
|
|
78700
|
+
},
|
|
78701
|
+
"parameters": [
|
|
78702
|
+
{
|
|
78703
|
+
"name": "event",
|
|
78704
|
+
"type": {
|
|
78705
|
+
"text": "KeyboardEvent"
|
|
78706
|
+
}
|
|
78707
|
+
}
|
|
78708
|
+
],
|
|
78709
|
+
"description": "Each table provides two tab stops: the header cells (select-all, weekdays and week numbers)\nand the days. Arrow keys move within a tab stop, Tab moves between them."
|
|
78710
|
+
},
|
|
78711
|
+
{
|
|
78712
|
+
"kind": "method",
|
|
78713
|
+
"name": "_getDayTabStop",
|
|
78714
|
+
"privacy": "private",
|
|
78715
|
+
"return": {
|
|
78716
|
+
"type": {
|
|
78717
|
+
"text": "SbbCalendarDayElement<T> | null"
|
|
78718
|
+
}
|
|
78719
|
+
},
|
|
78720
|
+
"parameters": [
|
|
78721
|
+
{
|
|
78722
|
+
"name": "table",
|
|
78723
|
+
"type": {
|
|
78724
|
+
"text": "HTMLTableElement"
|
|
78725
|
+
}
|
|
78726
|
+
}
|
|
78727
|
+
],
|
|
78728
|
+
"description": "Returns the day of the given table which should receive focus when tabbing into the days."
|
|
78729
|
+
},
|
|
78730
|
+
{
|
|
78731
|
+
"kind": "method",
|
|
78732
|
+
"name": "_getNextNavigationHeaderCell",
|
|
78733
|
+
"privacy": "private",
|
|
78734
|
+
"return": {
|
|
78735
|
+
"type": {
|
|
78736
|
+
"text": "HTMLElement | undefined"
|
|
78737
|
+
}
|
|
78738
|
+
},
|
|
78739
|
+
"parameters": [
|
|
78740
|
+
{
|
|
78741
|
+
"name": "event",
|
|
78742
|
+
"type": {
|
|
78743
|
+
"text": "KeyboardEvent"
|
|
78744
|
+
}
|
|
78745
|
+
},
|
|
78746
|
+
{
|
|
78747
|
+
"name": "cell",
|
|
78748
|
+
"type": {
|
|
78749
|
+
"text": "HTMLElement"
|
|
78750
|
+
}
|
|
78751
|
+
}
|
|
78752
|
+
],
|
|
78753
|
+
"description": "Weekdays are navigated along the orientation axis, week numbers along the other one.\nThe select-all buttons belong to both groups. Navigation spans over all tables."
|
|
77359
78754
|
},
|
|
77360
78755
|
{
|
|
77361
78756
|
"kind": "field",
|
|
@@ -77655,24 +79050,6 @@
|
|
|
77655
79050
|
}
|
|
77656
79051
|
]
|
|
77657
79052
|
},
|
|
77658
|
-
{
|
|
77659
|
-
"kind": "method",
|
|
77660
|
-
"name": "_getWeek",
|
|
77661
|
-
"privacy": "private",
|
|
77662
|
-
"return": {
|
|
77663
|
-
"type": {
|
|
77664
|
-
"text": "number"
|
|
77665
|
-
}
|
|
77666
|
-
},
|
|
77667
|
-
"parameters": [
|
|
77668
|
-
{
|
|
77669
|
-
"name": "date",
|
|
77670
|
-
"type": {
|
|
77671
|
-
"text": "T"
|
|
77672
|
-
}
|
|
77673
|
-
}
|
|
77674
|
-
]
|
|
77675
|
-
},
|
|
77676
79053
|
{
|
|
77677
79054
|
"kind": "method",
|
|
77678
79055
|
"name": "_mapValueToISODate",
|
|
@@ -78055,16 +79432,6 @@
|
|
|
78055
79432
|
}
|
|
78056
79433
|
}
|
|
78057
79434
|
},
|
|
78058
|
-
{
|
|
78059
|
-
"kind": "method",
|
|
78060
|
-
"name": "_setWeekFocus",
|
|
78061
|
-
"privacy": "private",
|
|
78062
|
-
"return": {
|
|
78063
|
-
"type": {
|
|
78064
|
-
"text": "void"
|
|
78065
|
-
}
|
|
78066
|
-
}
|
|
78067
|
-
},
|
|
78068
79435
|
{
|
|
78069
79436
|
"kind": "method",
|
|
78070
79437
|
"name": "_getFirstFocusable",
|
|
@@ -78085,37 +79452,15 @@
|
|
|
78085
79452
|
"text": "SbbCalendarDayElement<T> | null"
|
|
78086
79453
|
}
|
|
78087
79454
|
},
|
|
78088
|
-
"description": "In `day` view in `vertical` orientation,\nif the first of the month is not a Monday, it is not the first rendered element in the table,\nso `this.shadowRoot!.querySelector('sbb-calendar-day:not([disabled])')` will return a wrong value.\n\nTo solve this, the element with the lowest `value` is taken (ISO String are ordered)."
|
|
78089
|
-
},
|
|
78090
|
-
{
|
|
78091
|
-
"kind": "method",
|
|
78092
|
-
"name": "_handleKeyboardEventWeek",
|
|
78093
|
-
"privacy": "private",
|
|
78094
|
-
"return": {
|
|
78095
|
-
"type": {
|
|
78096
|
-
"text": "void"
|
|
78097
|
-
}
|
|
78098
|
-
},
|
|
78099
79455
|
"parameters": [
|
|
78100
79456
|
{
|
|
78101
|
-
"name": "
|
|
78102
|
-
"type": {
|
|
78103
|
-
"text": "KeyboardEvent"
|
|
78104
|
-
}
|
|
78105
|
-
},
|
|
78106
|
-
{
|
|
78107
|
-
"name": "cell",
|
|
78108
|
-
"type": {
|
|
78109
|
-
"text": "TCell"
|
|
78110
|
-
}
|
|
78111
|
-
},
|
|
78112
|
-
{
|
|
78113
|
-
"name": "cellArray",
|
|
79457
|
+
"name": "days",
|
|
78114
79458
|
"type": {
|
|
78115
|
-
"text": "
|
|
79459
|
+
"text": "SbbCalendarDayElement<T>[]"
|
|
78116
79460
|
}
|
|
78117
79461
|
}
|
|
78118
|
-
]
|
|
79462
|
+
],
|
|
79463
|
+
"description": "Returns the enabled day with the earliest date.\nIn `vertical` orientation, the DOM order does not match the date order (e.g. if the first of\nthe month is not a Monday), so the days are compared by their slot name (ISO string)."
|
|
78119
79464
|
},
|
|
78120
79465
|
{
|
|
78121
79466
|
"kind": "method",
|
|
@@ -78198,7 +79543,7 @@
|
|
|
78198
79543
|
},
|
|
78199
79544
|
{
|
|
78200
79545
|
"kind": "method",
|
|
78201
|
-
"name": "
|
|
79546
|
+
"name": "_findEnabledDay",
|
|
78202
79547
|
"privacy": "private",
|
|
78203
79548
|
"return": {
|
|
78204
79549
|
"type": {
|
|
@@ -78212,12 +79557,6 @@
|
|
|
78212
79557
|
"text": "SbbCalendarDayElement<T>[]"
|
|
78213
79558
|
}
|
|
78214
79559
|
},
|
|
78215
|
-
{
|
|
78216
|
-
"name": "index",
|
|
78217
|
-
"type": {
|
|
78218
|
-
"text": "number"
|
|
78219
|
-
}
|
|
78220
|
-
},
|
|
78221
79560
|
{
|
|
78222
79561
|
"name": "date",
|
|
78223
79562
|
"type": {
|
|
@@ -78225,120 +79564,19 @@
|
|
|
78225
79564
|
}
|
|
78226
79565
|
},
|
|
78227
79566
|
{
|
|
78228
|
-
"name": "
|
|
78229
|
-
"type": {
|
|
78230
|
-
"text": "number"
|
|
78231
|
-
}
|
|
78232
|
-
}
|
|
78233
|
-
]
|
|
78234
|
-
},
|
|
78235
|
-
{
|
|
78236
|
-
"kind": "method",
|
|
78237
|
-
"name": "_findDayPageUpDown",
|
|
78238
|
-
"privacy": "private",
|
|
78239
|
-
"return": {
|
|
78240
|
-
"type": {
|
|
78241
|
-
"text": "SbbCalendarDayElement<T>"
|
|
78242
|
-
}
|
|
78243
|
-
},
|
|
78244
|
-
"parameters": [
|
|
78245
|
-
{
|
|
78246
|
-
"name": "cells",
|
|
78247
|
-
"type": {
|
|
78248
|
-
"text": "SbbCalendarDayElement<T>[]"
|
|
78249
|
-
}
|
|
78250
|
-
},
|
|
78251
|
-
{
|
|
78252
|
-
"name": "index",
|
|
78253
|
-
"type": {
|
|
78254
|
-
"text": "number"
|
|
78255
|
-
}
|
|
78256
|
-
},
|
|
78257
|
-
{
|
|
78258
|
-
"name": "day",
|
|
78259
|
-
"type": {
|
|
78260
|
-
"text": "Day<T>"
|
|
78261
|
-
}
|
|
78262
|
-
},
|
|
78263
|
-
{
|
|
78264
|
-
"name": "delta",
|
|
78265
|
-
"type": {
|
|
78266
|
-
"text": "number"
|
|
78267
|
-
}
|
|
78268
|
-
},
|
|
78269
|
-
{
|
|
78270
|
-
"name": "deltaIfDisabled",
|
|
78271
|
-
"type": {
|
|
78272
|
-
"text": "number"
|
|
78273
|
-
}
|
|
78274
|
-
}
|
|
78275
|
-
]
|
|
78276
|
-
},
|
|
78277
|
-
{
|
|
78278
|
-
"kind": "method",
|
|
78279
|
-
"name": "_findDayFirst",
|
|
78280
|
-
"privacy": "private",
|
|
78281
|
-
"return": {
|
|
78282
|
-
"type": {
|
|
78283
|
-
"text": "SbbCalendarDayElement<T>"
|
|
78284
|
-
}
|
|
78285
|
-
},
|
|
78286
|
-
"parameters": [
|
|
78287
|
-
{
|
|
78288
|
-
"name": "cells",
|
|
78289
|
-
"type": {
|
|
78290
|
-
"text": "SbbCalendarDayElement<T>[]"
|
|
78291
|
-
}
|
|
78292
|
-
},
|
|
78293
|
-
{
|
|
78294
|
-
"name": "index",
|
|
78295
|
-
"type": {
|
|
78296
|
-
"text": "number"
|
|
78297
|
-
}
|
|
78298
|
-
},
|
|
78299
|
-
{
|
|
78300
|
-
"name": "day",
|
|
78301
|
-
"type": {
|
|
78302
|
-
"text": "Day<T>"
|
|
78303
|
-
}
|
|
78304
|
-
},
|
|
78305
|
-
{
|
|
78306
|
-
"name": "date",
|
|
78307
|
-
"type": {
|
|
78308
|
-
"text": "number"
|
|
78309
|
-
}
|
|
78310
|
-
}
|
|
78311
|
-
]
|
|
78312
|
-
},
|
|
78313
|
-
{
|
|
78314
|
-
"kind": "method",
|
|
78315
|
-
"name": "_findDayLast",
|
|
78316
|
-
"privacy": "private",
|
|
78317
|
-
"return": {
|
|
78318
|
-
"type": {
|
|
78319
|
-
"text": "SbbCalendarDayElement<T>"
|
|
78320
|
-
}
|
|
78321
|
-
},
|
|
78322
|
-
"parameters": [
|
|
78323
|
-
{
|
|
78324
|
-
"name": "cells",
|
|
78325
|
-
"type": {
|
|
78326
|
-
"text": "SbbCalendarDayElement<T>[]"
|
|
78327
|
-
}
|
|
78328
|
-
},
|
|
78329
|
-
{
|
|
78330
|
-
"name": "index",
|
|
79567
|
+
"name": "step",
|
|
78331
79568
|
"type": {
|
|
78332
79569
|
"text": "number"
|
|
78333
79570
|
}
|
|
78334
79571
|
},
|
|
78335
79572
|
{
|
|
78336
|
-
"name": "
|
|
79573
|
+
"name": "fallback",
|
|
78337
79574
|
"type": {
|
|
78338
|
-
"text": "T"
|
|
79575
|
+
"text": "SbbCalendarDayElement<T>"
|
|
78339
79576
|
}
|
|
78340
79577
|
}
|
|
78341
|
-
]
|
|
79578
|
+
],
|
|
79579
|
+
"description": "Starting from `date`, moves by `step` days until an enabled day is found.\nReturns `fallback` if the visible range is left before."
|
|
78342
79580
|
},
|
|
78343
79581
|
{
|
|
78344
79582
|
"kind": "method",
|
|
@@ -78606,7 +79844,7 @@
|
|
|
78606
79844
|
},
|
|
78607
79845
|
{
|
|
78608
79846
|
"kind": "method",
|
|
78609
|
-
"name": "
|
|
79847
|
+
"name": "_createDayTableHorizontalContent",
|
|
78610
79848
|
"privacy": "private",
|
|
78611
79849
|
"return": {
|
|
78612
79850
|
"type": {
|
|
@@ -78627,13 +79865,56 @@
|
|
|
78627
79865
|
}
|
|
78628
79866
|
},
|
|
78629
79867
|
{
|
|
78630
|
-
"name": "
|
|
79868
|
+
"name": "monthLabel",
|
|
78631
79869
|
"type": {
|
|
78632
|
-
"text": "
|
|
79870
|
+
"text": "string"
|
|
79871
|
+
}
|
|
79872
|
+
},
|
|
79873
|
+
{
|
|
79874
|
+
"name": "days",
|
|
79875
|
+
"type": {
|
|
79876
|
+
"text": "Day<T>[]"
|
|
78633
79877
|
}
|
|
78634
79878
|
}
|
|
78635
79879
|
],
|
|
78636
|
-
"description": "
|
|
79880
|
+
"description": "Weekdays are rendered as columns, weeks as rows."
|
|
79881
|
+
},
|
|
79882
|
+
{
|
|
79883
|
+
"kind": "method",
|
|
79884
|
+
"name": "_createDayTableVerticalContent",
|
|
79885
|
+
"privacy": "private",
|
|
79886
|
+
"return": {
|
|
79887
|
+
"type": {
|
|
79888
|
+
"text": "TemplateResult"
|
|
79889
|
+
}
|
|
79890
|
+
},
|
|
79891
|
+
"parameters": [
|
|
79892
|
+
{
|
|
79893
|
+
"name": "weeks",
|
|
79894
|
+
"type": {
|
|
79895
|
+
"text": "Day<T>[][]"
|
|
79896
|
+
}
|
|
79897
|
+
},
|
|
79898
|
+
{
|
|
79899
|
+
"name": "weekNumbers",
|
|
79900
|
+
"type": {
|
|
79901
|
+
"text": "number[]"
|
|
79902
|
+
}
|
|
79903
|
+
},
|
|
79904
|
+
{
|
|
79905
|
+
"name": "monthLabel",
|
|
79906
|
+
"type": {
|
|
79907
|
+
"text": "string"
|
|
79908
|
+
}
|
|
79909
|
+
},
|
|
79910
|
+
{
|
|
79911
|
+
"name": "days",
|
|
79912
|
+
"type": {
|
|
79913
|
+
"text": "Day<T>[]"
|
|
79914
|
+
}
|
|
79915
|
+
}
|
|
79916
|
+
],
|
|
79917
|
+
"description": "Weekdays are rendered as rows, weeks as columns."
|
|
78637
79918
|
},
|
|
78638
79919
|
{
|
|
78639
79920
|
"kind": "method",
|
|
@@ -78672,6 +79953,105 @@
|
|
|
78672
79953
|
],
|
|
78673
79954
|
"description": "Creates the cells for the daily view."
|
|
78674
79955
|
},
|
|
79956
|
+
{
|
|
79957
|
+
"kind": "method",
|
|
79958
|
+
"name": "_hasUnselectedDays",
|
|
79959
|
+
"privacy": "private",
|
|
79960
|
+
"return": {
|
|
79961
|
+
"type": {
|
|
79962
|
+
"text": "boolean"
|
|
79963
|
+
}
|
|
79964
|
+
},
|
|
79965
|
+
"parameters": [
|
|
79966
|
+
{
|
|
79967
|
+
"name": "days",
|
|
79968
|
+
"type": {
|
|
79969
|
+
"text": "Day<T>[]"
|
|
79970
|
+
}
|
|
79971
|
+
}
|
|
79972
|
+
],
|
|
79973
|
+
"description": "Returns true if at least one of the given days, which can be selected\n(within min/max and not filtered out), is not selected yet."
|
|
79974
|
+
},
|
|
79975
|
+
{
|
|
79976
|
+
"kind": "method",
|
|
79977
|
+
"name": "_weekdayCell",
|
|
79978
|
+
"privacy": "private",
|
|
79979
|
+
"return": {
|
|
79980
|
+
"type": {
|
|
79981
|
+
"text": "TemplateResult"
|
|
79982
|
+
}
|
|
79983
|
+
},
|
|
79984
|
+
"parameters": [
|
|
79985
|
+
{
|
|
79986
|
+
"name": "weekday",
|
|
79987
|
+
"type": {
|
|
79988
|
+
"text": "Weekday"
|
|
79989
|
+
}
|
|
79990
|
+
},
|
|
79991
|
+
{
|
|
79992
|
+
"name": "monthLabel",
|
|
79993
|
+
"type": {
|
|
79994
|
+
"text": "string"
|
|
79995
|
+
}
|
|
79996
|
+
},
|
|
79997
|
+
{
|
|
79998
|
+
"name": "days",
|
|
79999
|
+
"type": {
|
|
80000
|
+
"text": "Day<T>[]"
|
|
80001
|
+
}
|
|
80002
|
+
}
|
|
80003
|
+
],
|
|
80004
|
+
"description": "Weekday header cell, which selects all given days if multiple selection is enabled."
|
|
80005
|
+
},
|
|
80006
|
+
{
|
|
80007
|
+
"kind": "method",
|
|
80008
|
+
"name": "_weekNumberCell",
|
|
80009
|
+
"privacy": "private",
|
|
80010
|
+
"return": {
|
|
80011
|
+
"type": {
|
|
80012
|
+
"text": "TemplateResult"
|
|
80013
|
+
}
|
|
80014
|
+
},
|
|
80015
|
+
"parameters": [
|
|
80016
|
+
{
|
|
80017
|
+
"name": "weekNumber",
|
|
80018
|
+
"type": {
|
|
80019
|
+
"text": "number"
|
|
80020
|
+
}
|
|
80021
|
+
},
|
|
80022
|
+
{
|
|
80023
|
+
"name": "daysOfMonth",
|
|
80024
|
+
"type": {
|
|
80025
|
+
"text": "Day<T>[]"
|
|
80026
|
+
}
|
|
80027
|
+
}
|
|
80028
|
+
],
|
|
80029
|
+
"description": "Week number header cell, which selects the days of the given week if multiple selection is enabled."
|
|
80030
|
+
},
|
|
80031
|
+
{
|
|
80032
|
+
"kind": "method",
|
|
80033
|
+
"name": "_selectAllButton",
|
|
80034
|
+
"privacy": "private",
|
|
80035
|
+
"return": {
|
|
80036
|
+
"type": {
|
|
80037
|
+
"text": "TemplateResult"
|
|
80038
|
+
}
|
|
80039
|
+
},
|
|
80040
|
+
"parameters": [
|
|
80041
|
+
{
|
|
80042
|
+
"name": "monthLabel",
|
|
80043
|
+
"type": {
|
|
80044
|
+
"text": "string"
|
|
80045
|
+
}
|
|
80046
|
+
},
|
|
80047
|
+
{
|
|
80048
|
+
"name": "daysOfMonth",
|
|
80049
|
+
"type": {
|
|
80050
|
+
"text": "Day<T>[]"
|
|
80051
|
+
}
|
|
80052
|
+
}
|
|
80053
|
+
]
|
|
80054
|
+
},
|
|
78675
80055
|
{
|
|
78676
80056
|
"kind": "method",
|
|
78677
80057
|
"name": "_renderMonthView",
|
|
@@ -78783,6 +80163,41 @@
|
|
|
78783
80163
|
}
|
|
78784
80164
|
}
|
|
78785
80165
|
},
|
|
80166
|
+
{
|
|
80167
|
+
"kind": "method",
|
|
80168
|
+
"name": "_applyElementInternalsAriaLabel",
|
|
80169
|
+
"privacy": "private",
|
|
80170
|
+
"return": {
|
|
80171
|
+
"type": {
|
|
80172
|
+
"text": "void"
|
|
80173
|
+
}
|
|
80174
|
+
},
|
|
80175
|
+
"parameters": [
|
|
80176
|
+
{
|
|
80177
|
+
"name": "el",
|
|
80178
|
+
"type": {
|
|
80179
|
+
"text": "Element | undefined"
|
|
80180
|
+
}
|
|
80181
|
+
},
|
|
80182
|
+
{
|
|
80183
|
+
"name": "label",
|
|
80184
|
+
"type": {
|
|
80185
|
+
"text": "string"
|
|
80186
|
+
}
|
|
80187
|
+
}
|
|
80188
|
+
]
|
|
80189
|
+
},
|
|
80190
|
+
{
|
|
80191
|
+
"kind": "method",
|
|
80192
|
+
"name": "_navigationHints",
|
|
80193
|
+
"privacy": "private",
|
|
80194
|
+
"return": {
|
|
80195
|
+
"type": {
|
|
80196
|
+
"text": "TemplateResult"
|
|
80197
|
+
}
|
|
80198
|
+
},
|
|
80199
|
+
"description": "Hidden descriptions referenced by the header cells via aria-describedby."
|
|
80200
|
+
},
|
|
78786
80201
|
{
|
|
78787
80202
|
"kind": "field",
|
|
78788
80203
|
"name": "formAssociated",
|
|
@@ -80632,6 +82047,14 @@
|
|
|
80632
82047
|
"name": "*",
|
|
80633
82048
|
"module": "calendar/common/calendar-cell-base-element.js"
|
|
80634
82049
|
}
|
|
82050
|
+
},
|
|
82051
|
+
{
|
|
82052
|
+
"kind": "js",
|
|
82053
|
+
"name": "*",
|
|
82054
|
+
"declaration": {
|
|
82055
|
+
"name": "*",
|
|
82056
|
+
"module": "calendar/calendar-select-all/calendar-select-all.component.js"
|
|
82057
|
+
}
|
|
80635
82058
|
}
|
|
80636
82059
|
]
|
|
80637
82060
|
},
|