@sbb-esta/lyne-elements-dev 4.12.1-dev.1778459394 → 4.12.1-dev.1778481174
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/custom-elements.json +1171 -1171
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -82295,12 +82295,12 @@
|
|
|
82295
82295
|
},
|
|
82296
82296
|
{
|
|
82297
82297
|
"kind": "javascript-module",
|
|
82298
|
-
"path": "datepicker/datepicker-
|
|
82298
|
+
"path": "datepicker/datepicker-toggle/datepicker-toggle.component.js",
|
|
82299
82299
|
"declarations": [
|
|
82300
82300
|
{
|
|
82301
82301
|
"kind": "class",
|
|
82302
|
-
"description": "Combined with a `sbb-datepicker`, it can be used to
|
|
82303
|
-
"name": "
|
|
82302
|
+
"description": "Combined with a `sbb-datepicker`, it can be used to select a date from a `sbb-calendar`.",
|
|
82303
|
+
"name": "SbbDatepickerToggleElement",
|
|
82304
82304
|
"members": [
|
|
82305
82305
|
{
|
|
82306
82306
|
"kind": "field",
|
|
@@ -82315,7 +82315,7 @@
|
|
|
82315
82315
|
"name": "SbbElement",
|
|
82316
82316
|
"module": "core/base-elements/element.js"
|
|
82317
82317
|
},
|
|
82318
|
-
"default": "'sbb-datepicker-
|
|
82318
|
+
"default": "'sbb-datepicker-toggle'"
|
|
82319
82319
|
},
|
|
82320
82320
|
{
|
|
82321
82321
|
"kind": "field",
|
|
@@ -82324,157 +82324,22 @@
|
|
|
82324
82324
|
"text": "string"
|
|
82325
82325
|
},
|
|
82326
82326
|
"privacy": "protected",
|
|
82327
|
+
"default": "'calendar-small'",
|
|
82327
82328
|
"inheritedFrom": {
|
|
82328
82329
|
"name": "SbbDatepickerButtonBase",
|
|
82329
82330
|
"module": "datepicker/common/datepicker-button.js"
|
|
82330
|
-
},
|
|
82331
|
-
"default": "'chevron-small-left-small'"
|
|
82332
|
-
},
|
|
82333
|
-
{
|
|
82334
|
-
"kind": "field",
|
|
82335
|
-
"name": "i18nOffBoundaryDay",
|
|
82336
|
-
"type": {
|
|
82337
|
-
"text": "Record<string, string>"
|
|
82338
|
-
},
|
|
82339
|
-
"privacy": "protected",
|
|
82340
|
-
"default": "i18nPreviousDay",
|
|
82341
|
-
"inheritedFrom": {
|
|
82342
|
-
"name": "SbbDatepickerButton",
|
|
82343
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82344
|
-
}
|
|
82345
|
-
},
|
|
82346
|
-
{
|
|
82347
|
-
"kind": "field",
|
|
82348
|
-
"name": "i18nSelectOffBoundaryDay",
|
|
82349
|
-
"type": {
|
|
82350
|
-
"text": "(_currentDate: string) => Record<string, string>"
|
|
82351
|
-
},
|
|
82352
|
-
"privacy": "protected",
|
|
82353
|
-
"default": "i18nSelectPreviousDay",
|
|
82354
|
-
"inheritedFrom": {
|
|
82355
|
-
"name": "SbbDatepickerButton",
|
|
82356
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82357
|
-
}
|
|
82358
|
-
},
|
|
82359
|
-
{
|
|
82360
|
-
"kind": "method",
|
|
82361
|
-
"name": "getFollowingDate",
|
|
82362
|
-
"privacy": "protected",
|
|
82363
|
-
"return": {
|
|
82364
|
-
"type": {
|
|
82365
|
-
"text": "T | null"
|
|
82366
|
-
}
|
|
82367
|
-
},
|
|
82368
|
-
"parameters": [
|
|
82369
|
-
{
|
|
82370
|
-
"name": "date",
|
|
82371
|
-
"type": {
|
|
82372
|
-
"text": "T"
|
|
82373
|
-
}
|
|
82374
|
-
}
|
|
82375
|
-
],
|
|
82376
|
-
"inheritedFrom": {
|
|
82377
|
-
"name": "SbbDatepickerButton",
|
|
82378
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82379
|
-
}
|
|
82380
|
-
},
|
|
82381
|
-
{
|
|
82382
|
-
"kind": "method",
|
|
82383
|
-
"name": "_isBeforeMinDate",
|
|
82384
|
-
"privacy": "private",
|
|
82385
|
-
"return": {
|
|
82386
|
-
"type": {
|
|
82387
|
-
"text": "boolean"
|
|
82388
|
-
}
|
|
82389
|
-
},
|
|
82390
|
-
"parameters": [
|
|
82391
|
-
{
|
|
82392
|
-
"name": "date",
|
|
82393
|
-
"type": {
|
|
82394
|
-
"text": "T"
|
|
82395
|
-
}
|
|
82396
|
-
}
|
|
82397
|
-
]
|
|
82398
|
-
},
|
|
82399
|
-
{
|
|
82400
|
-
"kind": "field",
|
|
82401
|
-
"name": "_disabled",
|
|
82402
|
-
"type": {
|
|
82403
|
-
"text": "boolean"
|
|
82404
|
-
},
|
|
82405
|
-
"privacy": "private",
|
|
82406
|
-
"default": "true",
|
|
82407
|
-
"description": "Whether the component is disabled due date equals to boundary date.",
|
|
82408
|
-
"inheritedFrom": {
|
|
82409
|
-
"name": "SbbDatepickerButton",
|
|
82410
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82411
82331
|
}
|
|
82412
82332
|
},
|
|
82413
82333
|
{
|
|
82414
82334
|
"kind": "field",
|
|
82415
|
-
"name": "
|
|
82335
|
+
"name": "datepicker",
|
|
82416
82336
|
"type": {
|
|
82417
|
-
"text": "
|
|
82337
|
+
"text": "SbbDatepickerElement<T> | null"
|
|
82418
82338
|
},
|
|
82419
82339
|
"privacy": "public",
|
|
82420
|
-
"
|
|
82421
|
-
"
|
|
82422
|
-
"
|
|
82423
|
-
"name": "SbbDatepickerButtonBase",
|
|
82424
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82425
|
-
},
|
|
82426
|
-
"default": "true"
|
|
82427
|
-
},
|
|
82428
|
-
{
|
|
82429
|
-
"kind": "method",
|
|
82430
|
-
"name": "findAvailableDate",
|
|
82431
|
-
"privacy": "protected",
|
|
82432
|
-
"return": {
|
|
82433
|
-
"type": {
|
|
82434
|
-
"text": "T | null"
|
|
82435
|
-
}
|
|
82436
|
-
},
|
|
82437
|
-
"parameters": [
|
|
82438
|
-
{
|
|
82439
|
-
"name": "_date",
|
|
82440
|
-
"type": {
|
|
82441
|
-
"text": "T"
|
|
82442
|
-
}
|
|
82443
|
-
}
|
|
82444
|
-
],
|
|
82445
|
-
"deprecated": "Use `getFollowingDate(date: T)` instead.",
|
|
82446
|
-
"inheritedFrom": {
|
|
82447
|
-
"name": "SbbDatepickerButton",
|
|
82448
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82449
|
-
}
|
|
82450
|
-
},
|
|
82451
|
-
{
|
|
82452
|
-
"kind": "method",
|
|
82453
|
-
"name": "_handleClick",
|
|
82454
|
-
"privacy": "private",
|
|
82455
|
-
"return": {
|
|
82456
|
-
"type": {
|
|
82457
|
-
"text": "void"
|
|
82458
|
-
}
|
|
82459
|
-
},
|
|
82460
|
-
"inheritedFrom": {
|
|
82461
|
-
"name": "SbbDatepickerButton",
|
|
82462
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82463
|
-
}
|
|
82464
|
-
},
|
|
82465
|
-
{
|
|
82466
|
-
"kind": "method",
|
|
82467
|
-
"name": "syncDateInputState",
|
|
82468
|
-
"privacy": "protected",
|
|
82469
|
-
"return": {
|
|
82470
|
-
"type": {
|
|
82471
|
-
"text": "void"
|
|
82472
|
-
}
|
|
82473
|
-
},
|
|
82474
|
-
"inheritedFrom": {
|
|
82475
|
-
"name": "SbbDatepickerButtonBase",
|
|
82476
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
82477
|
-
}
|
|
82340
|
+
"default": "null",
|
|
82341
|
+
"description": "Datepicker reference.",
|
|
82342
|
+
"attribute": "datepicker"
|
|
82478
82343
|
},
|
|
82479
82344
|
{
|
|
82480
82345
|
"kind": "field",
|
|
@@ -82522,6 +82387,20 @@
|
|
|
82522
82387
|
"module": "datepicker/common/datepicker-button.js"
|
|
82523
82388
|
}
|
|
82524
82389
|
},
|
|
82390
|
+
{
|
|
82391
|
+
"kind": "field",
|
|
82392
|
+
"name": "disabled",
|
|
82393
|
+
"type": {
|
|
82394
|
+
"text": "boolean"
|
|
82395
|
+
},
|
|
82396
|
+
"privacy": "public",
|
|
82397
|
+
"description": "Whether this button is disabled.",
|
|
82398
|
+
"readonly": true,
|
|
82399
|
+
"inheritedFrom": {
|
|
82400
|
+
"name": "SbbDatepickerButtonBase",
|
|
82401
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
82402
|
+
}
|
|
82403
|
+
},
|
|
82525
82404
|
{
|
|
82526
82405
|
"kind": "field",
|
|
82527
82406
|
"name": "_inputDisabled",
|
|
@@ -82598,6 +82477,20 @@
|
|
|
82598
82477
|
"module": "datepicker/common/datepicker-button.js"
|
|
82599
82478
|
}
|
|
82600
82479
|
},
|
|
82480
|
+
{
|
|
82481
|
+
"kind": "method",
|
|
82482
|
+
"name": "syncDateInputState",
|
|
82483
|
+
"privacy": "protected",
|
|
82484
|
+
"return": {
|
|
82485
|
+
"type": {
|
|
82486
|
+
"text": "void"
|
|
82487
|
+
}
|
|
82488
|
+
},
|
|
82489
|
+
"inheritedFrom": {
|
|
82490
|
+
"name": "SbbDatepickerButtonBase",
|
|
82491
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
82492
|
+
}
|
|
82493
|
+
},
|
|
82601
82494
|
{
|
|
82602
82495
|
"kind": "method",
|
|
82603
82496
|
"name": "renderTemplate",
|
|
@@ -83236,14 +83129,16 @@
|
|
|
83236
83129
|
}
|
|
83237
83130
|
}
|
|
83238
83131
|
],
|
|
83239
|
-
"superclass": {
|
|
83240
|
-
"name": "SbbDatepickerButton",
|
|
83241
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
83242
|
-
},
|
|
83243
|
-
"tagName": "sbb-datepicker-previous-day",
|
|
83244
|
-
"customElement": true,
|
|
83245
|
-
"classGenerics": "T = Date",
|
|
83246
83132
|
"attributes": [
|
|
83133
|
+
{
|
|
83134
|
+
"name": "datepicker",
|
|
83135
|
+
"type": {
|
|
83136
|
+
"text": "SbbDatepickerElement<T> | null"
|
|
83137
|
+
},
|
|
83138
|
+
"default": "null",
|
|
83139
|
+
"description": "Datepicker reference.",
|
|
83140
|
+
"fieldName": "datepicker"
|
|
83141
|
+
},
|
|
83247
83142
|
{
|
|
83248
83143
|
"name": "negative",
|
|
83249
83144
|
"type": {
|
|
@@ -83321,6 +83216,13 @@
|
|
|
83321
83216
|
}
|
|
83322
83217
|
}
|
|
83323
83218
|
],
|
|
83219
|
+
"superclass": {
|
|
83220
|
+
"name": "SbbDatepickerButtonBase",
|
|
83221
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83222
|
+
},
|
|
83223
|
+
"tagName": "sbb-datepicker-toggle",
|
|
83224
|
+
"customElement": true,
|
|
83225
|
+
"classGenerics": "T = Date",
|
|
83324
83226
|
"events": [
|
|
83325
83227
|
{
|
|
83326
83228
|
"type": {
|
|
@@ -83350,22 +83252,22 @@
|
|
|
83350
83252
|
"exports": [
|
|
83351
83253
|
{
|
|
83352
83254
|
"kind": "js",
|
|
83353
|
-
"name": "
|
|
83255
|
+
"name": "SbbDatepickerToggleElement",
|
|
83354
83256
|
"declaration": {
|
|
83355
|
-
"name": "
|
|
83356
|
-
"module": "datepicker/datepicker-
|
|
83257
|
+
"name": "SbbDatepickerToggleElement",
|
|
83258
|
+
"module": "datepicker/datepicker-toggle/datepicker-toggle.component.js"
|
|
83357
83259
|
}
|
|
83358
83260
|
}
|
|
83359
83261
|
]
|
|
83360
83262
|
},
|
|
83361
83263
|
{
|
|
83362
83264
|
"kind": "javascript-module",
|
|
83363
|
-
"path": "datepicker/datepicker-
|
|
83265
|
+
"path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
|
|
83364
83266
|
"declarations": [
|
|
83365
83267
|
{
|
|
83366
83268
|
"kind": "class",
|
|
83367
|
-
"description": "Combined with a `sbb-datepicker`, it can be used to
|
|
83368
|
-
"name": "
|
|
83269
|
+
"description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
|
|
83270
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
83369
83271
|
"members": [
|
|
83370
83272
|
{
|
|
83371
83273
|
"kind": "field",
|
|
@@ -83380,7 +83282,7 @@
|
|
|
83380
83282
|
"name": "SbbElement",
|
|
83381
83283
|
"module": "core/base-elements/element.js"
|
|
83382
83284
|
},
|
|
83383
|
-
"default": "'sbb-datepicker-
|
|
83285
|
+
"default": "'sbb-datepicker-previous-day'"
|
|
83384
83286
|
},
|
|
83385
83287
|
{
|
|
83386
83288
|
"kind": "field",
|
|
@@ -83389,22 +83291,157 @@
|
|
|
83389
83291
|
"text": "string"
|
|
83390
83292
|
},
|
|
83391
83293
|
"privacy": "protected",
|
|
83392
|
-
"default": "'calendar-small'",
|
|
83393
83294
|
"inheritedFrom": {
|
|
83394
83295
|
"name": "SbbDatepickerButtonBase",
|
|
83395
83296
|
"module": "datepicker/common/datepicker-button.js"
|
|
83297
|
+
},
|
|
83298
|
+
"default": "'chevron-small-left-small'"
|
|
83299
|
+
},
|
|
83300
|
+
{
|
|
83301
|
+
"kind": "field",
|
|
83302
|
+
"name": "i18nOffBoundaryDay",
|
|
83303
|
+
"type": {
|
|
83304
|
+
"text": "Record<string, string>"
|
|
83305
|
+
},
|
|
83306
|
+
"privacy": "protected",
|
|
83307
|
+
"default": "i18nPreviousDay",
|
|
83308
|
+
"inheritedFrom": {
|
|
83309
|
+
"name": "SbbDatepickerButton",
|
|
83310
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83396
83311
|
}
|
|
83397
83312
|
},
|
|
83398
83313
|
{
|
|
83399
83314
|
"kind": "field",
|
|
83400
|
-
"name": "
|
|
83315
|
+
"name": "i18nSelectOffBoundaryDay",
|
|
83401
83316
|
"type": {
|
|
83402
|
-
"text": "
|
|
83317
|
+
"text": "(_currentDate: string) => Record<string, string>"
|
|
83318
|
+
},
|
|
83319
|
+
"privacy": "protected",
|
|
83320
|
+
"default": "i18nSelectPreviousDay",
|
|
83321
|
+
"inheritedFrom": {
|
|
83322
|
+
"name": "SbbDatepickerButton",
|
|
83323
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83324
|
+
}
|
|
83325
|
+
},
|
|
83326
|
+
{
|
|
83327
|
+
"kind": "method",
|
|
83328
|
+
"name": "getFollowingDate",
|
|
83329
|
+
"privacy": "protected",
|
|
83330
|
+
"return": {
|
|
83331
|
+
"type": {
|
|
83332
|
+
"text": "T | null"
|
|
83333
|
+
}
|
|
83334
|
+
},
|
|
83335
|
+
"parameters": [
|
|
83336
|
+
{
|
|
83337
|
+
"name": "date",
|
|
83338
|
+
"type": {
|
|
83339
|
+
"text": "T"
|
|
83340
|
+
}
|
|
83341
|
+
}
|
|
83342
|
+
],
|
|
83343
|
+
"inheritedFrom": {
|
|
83344
|
+
"name": "SbbDatepickerButton",
|
|
83345
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83346
|
+
}
|
|
83347
|
+
},
|
|
83348
|
+
{
|
|
83349
|
+
"kind": "method",
|
|
83350
|
+
"name": "_isBeforeMinDate",
|
|
83351
|
+
"privacy": "private",
|
|
83352
|
+
"return": {
|
|
83353
|
+
"type": {
|
|
83354
|
+
"text": "boolean"
|
|
83355
|
+
}
|
|
83356
|
+
},
|
|
83357
|
+
"parameters": [
|
|
83358
|
+
{
|
|
83359
|
+
"name": "date",
|
|
83360
|
+
"type": {
|
|
83361
|
+
"text": "T"
|
|
83362
|
+
}
|
|
83363
|
+
}
|
|
83364
|
+
]
|
|
83365
|
+
},
|
|
83366
|
+
{
|
|
83367
|
+
"kind": "field",
|
|
83368
|
+
"name": "_disabled",
|
|
83369
|
+
"type": {
|
|
83370
|
+
"text": "boolean"
|
|
83371
|
+
},
|
|
83372
|
+
"privacy": "private",
|
|
83373
|
+
"default": "true",
|
|
83374
|
+
"description": "Whether the component is disabled due date equals to boundary date.",
|
|
83375
|
+
"inheritedFrom": {
|
|
83376
|
+
"name": "SbbDatepickerButton",
|
|
83377
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83378
|
+
}
|
|
83379
|
+
},
|
|
83380
|
+
{
|
|
83381
|
+
"kind": "field",
|
|
83382
|
+
"name": "disabled",
|
|
83383
|
+
"type": {
|
|
83384
|
+
"text": "boolean"
|
|
83403
83385
|
},
|
|
83404
83386
|
"privacy": "public",
|
|
83405
|
-
"
|
|
83406
|
-
"
|
|
83407
|
-
"
|
|
83387
|
+
"description": "Whether this button is disabled.",
|
|
83388
|
+
"readonly": true,
|
|
83389
|
+
"inheritedFrom": {
|
|
83390
|
+
"name": "SbbDatepickerButtonBase",
|
|
83391
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83392
|
+
},
|
|
83393
|
+
"default": "true"
|
|
83394
|
+
},
|
|
83395
|
+
{
|
|
83396
|
+
"kind": "method",
|
|
83397
|
+
"name": "findAvailableDate",
|
|
83398
|
+
"privacy": "protected",
|
|
83399
|
+
"return": {
|
|
83400
|
+
"type": {
|
|
83401
|
+
"text": "T | null"
|
|
83402
|
+
}
|
|
83403
|
+
},
|
|
83404
|
+
"parameters": [
|
|
83405
|
+
{
|
|
83406
|
+
"name": "_date",
|
|
83407
|
+
"type": {
|
|
83408
|
+
"text": "T"
|
|
83409
|
+
}
|
|
83410
|
+
}
|
|
83411
|
+
],
|
|
83412
|
+
"deprecated": "Use `getFollowingDate(date: T)` instead.",
|
|
83413
|
+
"inheritedFrom": {
|
|
83414
|
+
"name": "SbbDatepickerButton",
|
|
83415
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83416
|
+
}
|
|
83417
|
+
},
|
|
83418
|
+
{
|
|
83419
|
+
"kind": "method",
|
|
83420
|
+
"name": "_handleClick",
|
|
83421
|
+
"privacy": "private",
|
|
83422
|
+
"return": {
|
|
83423
|
+
"type": {
|
|
83424
|
+
"text": "void"
|
|
83425
|
+
}
|
|
83426
|
+
},
|
|
83427
|
+
"inheritedFrom": {
|
|
83428
|
+
"name": "SbbDatepickerButton",
|
|
83429
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83430
|
+
}
|
|
83431
|
+
},
|
|
83432
|
+
{
|
|
83433
|
+
"kind": "method",
|
|
83434
|
+
"name": "syncDateInputState",
|
|
83435
|
+
"privacy": "protected",
|
|
83436
|
+
"return": {
|
|
83437
|
+
"type": {
|
|
83438
|
+
"text": "void"
|
|
83439
|
+
}
|
|
83440
|
+
},
|
|
83441
|
+
"inheritedFrom": {
|
|
83442
|
+
"name": "SbbDatepickerButtonBase",
|
|
83443
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83444
|
+
}
|
|
83408
83445
|
},
|
|
83409
83446
|
{
|
|
83410
83447
|
"kind": "field",
|
|
@@ -83452,20 +83489,6 @@
|
|
|
83452
83489
|
"module": "datepicker/common/datepicker-button.js"
|
|
83453
83490
|
}
|
|
83454
83491
|
},
|
|
83455
|
-
{
|
|
83456
|
-
"kind": "field",
|
|
83457
|
-
"name": "disabled",
|
|
83458
|
-
"type": {
|
|
83459
|
-
"text": "boolean"
|
|
83460
|
-
},
|
|
83461
|
-
"privacy": "public",
|
|
83462
|
-
"description": "Whether this button is disabled.",
|
|
83463
|
-
"readonly": true,
|
|
83464
|
-
"inheritedFrom": {
|
|
83465
|
-
"name": "SbbDatepickerButtonBase",
|
|
83466
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
83467
|
-
}
|
|
83468
|
-
},
|
|
83469
83492
|
{
|
|
83470
83493
|
"kind": "field",
|
|
83471
83494
|
"name": "_inputDisabled",
|
|
@@ -83542,20 +83565,6 @@
|
|
|
83542
83565
|
"module": "datepicker/common/datepicker-button.js"
|
|
83543
83566
|
}
|
|
83544
83567
|
},
|
|
83545
|
-
{
|
|
83546
|
-
"kind": "method",
|
|
83547
|
-
"name": "syncDateInputState",
|
|
83548
|
-
"privacy": "protected",
|
|
83549
|
-
"return": {
|
|
83550
|
-
"type": {
|
|
83551
|
-
"text": "void"
|
|
83552
|
-
}
|
|
83553
|
-
},
|
|
83554
|
-
"inheritedFrom": {
|
|
83555
|
-
"name": "SbbDatepickerButtonBase",
|
|
83556
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
83557
|
-
}
|
|
83558
|
-
},
|
|
83559
83568
|
{
|
|
83560
83569
|
"kind": "method",
|
|
83561
83570
|
"name": "renderTemplate",
|
|
@@ -84194,16 +84203,14 @@
|
|
|
84194
84203
|
}
|
|
84195
84204
|
}
|
|
84196
84205
|
],
|
|
84206
|
+
"superclass": {
|
|
84207
|
+
"name": "SbbDatepickerButton",
|
|
84208
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
84209
|
+
},
|
|
84210
|
+
"tagName": "sbb-datepicker-previous-day",
|
|
84211
|
+
"customElement": true,
|
|
84212
|
+
"classGenerics": "T = Date",
|
|
84197
84213
|
"attributes": [
|
|
84198
|
-
{
|
|
84199
|
-
"name": "datepicker",
|
|
84200
|
-
"type": {
|
|
84201
|
-
"text": "SbbDatepickerElement<T> | null"
|
|
84202
|
-
},
|
|
84203
|
-
"default": "null",
|
|
84204
|
-
"description": "Datepicker reference.",
|
|
84205
|
-
"fieldName": "datepicker"
|
|
84206
|
-
},
|
|
84207
84214
|
{
|
|
84208
84215
|
"name": "negative",
|
|
84209
84216
|
"type": {
|
|
@@ -84281,13 +84288,6 @@
|
|
|
84281
84288
|
}
|
|
84282
84289
|
}
|
|
84283
84290
|
],
|
|
84284
|
-
"superclass": {
|
|
84285
|
-
"name": "SbbDatepickerButtonBase",
|
|
84286
|
-
"module": "datepicker/common/datepicker-button.js"
|
|
84287
|
-
},
|
|
84288
|
-
"tagName": "sbb-datepicker-toggle",
|
|
84289
|
-
"customElement": true,
|
|
84290
|
-
"classGenerics": "T = Date",
|
|
84291
84291
|
"events": [
|
|
84292
84292
|
{
|
|
84293
84293
|
"type": {
|
|
@@ -84317,10 +84317,10 @@
|
|
|
84317
84317
|
"exports": [
|
|
84318
84318
|
{
|
|
84319
84319
|
"kind": "js",
|
|
84320
|
-
"name": "
|
|
84320
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
84321
84321
|
"declaration": {
|
|
84322
|
-
"name": "
|
|
84323
|
-
"module": "datepicker/datepicker-
|
|
84322
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
84323
|
+
"module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
|
|
84324
84324
|
}
|
|
84325
84325
|
}
|
|
84326
84326
|
]
|
|
@@ -120458,28 +120458,20 @@
|
|
|
120458
120458
|
},
|
|
120459
120459
|
{
|
|
120460
120460
|
"kind": "javascript-module",
|
|
120461
|
-
"path": "sidebar/sidebar
|
|
120461
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
120462
120462
|
"declarations": [
|
|
120463
120463
|
{
|
|
120464
120464
|
"kind": "class",
|
|
120465
|
-
"description": "
|
|
120466
|
-
"name": "
|
|
120465
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
120466
|
+
"name": "SbbSidebarElement",
|
|
120467
120467
|
"slots": [
|
|
120468
120468
|
{
|
|
120469
|
-
"description": "Use the unnamed slot to
|
|
120470
|
-
"name": ""
|
|
120471
|
-
"inheritedFrom": {
|
|
120472
|
-
"name": "SbbSecondaryButtonElement",
|
|
120473
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
120474
|
-
}
|
|
120469
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
120470
|
+
"name": ""
|
|
120475
120471
|
},
|
|
120476
120472
|
{
|
|
120477
|
-
"description": "
|
|
120478
|
-
"name": "
|
|
120479
|
-
"inheritedFrom": {
|
|
120480
|
-
"name": "SbbSecondaryButtonElement",
|
|
120481
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
120482
|
-
}
|
|
120473
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
120474
|
+
"name": "title"
|
|
120483
120475
|
}
|
|
120484
120476
|
],
|
|
120485
120477
|
"members": [
|
|
@@ -120496,718 +120488,484 @@
|
|
|
120496
120488
|
"name": "SbbElement",
|
|
120497
120489
|
"module": "core/base-elements/element.js"
|
|
120498
120490
|
},
|
|
120499
|
-
"default": "'sbb-sidebar
|
|
120491
|
+
"default": "'sbb-sidebar'"
|
|
120500
120492
|
},
|
|
120501
120493
|
{
|
|
120502
120494
|
"kind": "field",
|
|
120503
|
-
"name": "
|
|
120504
|
-
"
|
|
120505
|
-
|
|
120506
|
-
},
|
|
120507
|
-
{
|
|
120508
|
-
"kind": "method",
|
|
120509
|
-
"name": "renderTemplate",
|
|
120510
|
-
"privacy": "protected",
|
|
120511
|
-
"return": {
|
|
120512
|
-
"type": {
|
|
120513
|
-
"text": "TemplateResult"
|
|
120514
|
-
}
|
|
120495
|
+
"name": "color",
|
|
120496
|
+
"type": {
|
|
120497
|
+
"text": "'white' | 'milk'"
|
|
120515
120498
|
},
|
|
120516
|
-
"
|
|
120517
|
-
"
|
|
120518
|
-
|
|
120519
|
-
|
|
120520
|
-
|
|
120499
|
+
"privacy": "public",
|
|
120500
|
+
"default": "'white'",
|
|
120501
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120502
|
+
"attribute": "color",
|
|
120503
|
+
"reflects": true
|
|
120521
120504
|
},
|
|
120522
120505
|
{
|
|
120523
|
-
"kind": "
|
|
120524
|
-
"name": "
|
|
120525
|
-
"
|
|
120526
|
-
|
|
120527
|
-
"type": {
|
|
120528
|
-
"text": "string"
|
|
120529
|
-
}
|
|
120506
|
+
"kind": "field",
|
|
120507
|
+
"name": "mode",
|
|
120508
|
+
"type": {
|
|
120509
|
+
"text": "'side' | 'over'"
|
|
120530
120510
|
},
|
|
120531
|
-
"
|
|
120532
|
-
|
|
120533
|
-
|
|
120534
|
-
|
|
120511
|
+
"privacy": "public",
|
|
120512
|
+
"default": "'side'",
|
|
120513
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
120514
|
+
"attribute": "mode",
|
|
120515
|
+
"reflects": true
|
|
120535
120516
|
},
|
|
120536
120517
|
{
|
|
120537
120518
|
"kind": "field",
|
|
120538
|
-
"name": "
|
|
120519
|
+
"name": "position",
|
|
120539
120520
|
"type": {
|
|
120540
|
-
"text": "
|
|
120521
|
+
"text": "'start' | 'end'"
|
|
120541
120522
|
},
|
|
120542
120523
|
"privacy": "public",
|
|
120543
|
-
"
|
|
120544
|
-
"
|
|
120545
|
-
"attribute": "
|
|
120546
|
-
"reflects": true
|
|
120547
|
-
"inheritedFrom": {
|
|
120548
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120549
|
-
"module": "button/common/button-common.js"
|
|
120550
|
-
}
|
|
120524
|
+
"default": "'start'",
|
|
120525
|
+
"description": "The side that the sidebar is attached to.",
|
|
120526
|
+
"attribute": "position",
|
|
120527
|
+
"reflects": true
|
|
120551
120528
|
},
|
|
120552
120529
|
{
|
|
120553
120530
|
"kind": "field",
|
|
120554
|
-
"name": "
|
|
120531
|
+
"name": "opened",
|
|
120555
120532
|
"type": {
|
|
120556
120533
|
"text": "boolean"
|
|
120557
120534
|
},
|
|
120558
120535
|
"privacy": "public",
|
|
120559
120536
|
"default": "false",
|
|
120560
|
-
"description": "Whether the
|
|
120561
|
-
"attribute": "
|
|
120562
|
-
"reflects": true
|
|
120563
|
-
"inheritedFrom": {
|
|
120564
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120565
|
-
"module": "button/common/button-common.js"
|
|
120566
|
-
}
|
|
120537
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
120538
|
+
"attribute": "opened",
|
|
120539
|
+
"reflects": true
|
|
120567
120540
|
},
|
|
120568
120541
|
{
|
|
120569
120542
|
"kind": "field",
|
|
120570
|
-
"name": "
|
|
120543
|
+
"name": "focusOnOpen",
|
|
120571
120544
|
"type": {
|
|
120572
120545
|
"text": "boolean"
|
|
120573
120546
|
},
|
|
120574
120547
|
"privacy": "public",
|
|
120575
120548
|
"default": "false",
|
|
120576
|
-
"description": "
|
|
120577
|
-
"attribute": "
|
|
120578
|
-
"reflects": true,
|
|
120579
|
-
"inheritedFrom": {
|
|
120580
|
-
"name": "SbbNegativeMixin",
|
|
120581
|
-
"module": "core/mixins/negative-mixin.js"
|
|
120582
|
-
}
|
|
120549
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
120550
|
+
"attribute": "focus-on-open"
|
|
120583
120551
|
},
|
|
120584
120552
|
{
|
|
120585
120553
|
"kind": "field",
|
|
120586
|
-
"name": "
|
|
120554
|
+
"name": "container",
|
|
120587
120555
|
"type": {
|
|
120588
|
-
"text": "
|
|
120556
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120589
120557
|
},
|
|
120590
120558
|
"privacy": "public",
|
|
120591
|
-
"
|
|
120592
|
-
"
|
|
120593
|
-
"
|
|
120559
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
120560
|
+
"readonly": true,
|
|
120561
|
+
"default": "null"
|
|
120562
|
+
},
|
|
120563
|
+
{
|
|
120564
|
+
"kind": "field",
|
|
120565
|
+
"name": "_container",
|
|
120566
|
+
"type": {
|
|
120567
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120568
|
+
},
|
|
120569
|
+
"privacy": "private",
|
|
120570
|
+
"default": "null"
|
|
120571
|
+
},
|
|
120572
|
+
{
|
|
120573
|
+
"kind": "field",
|
|
120574
|
+
"name": "_lastFocusedElement",
|
|
120575
|
+
"type": {
|
|
120576
|
+
"text": "HTMLElement | null"
|
|
120577
|
+
},
|
|
120578
|
+
"privacy": "private",
|
|
120579
|
+
"default": "null"
|
|
120580
|
+
},
|
|
120581
|
+
{
|
|
120582
|
+
"kind": "field",
|
|
120583
|
+
"name": "_focusTrapController",
|
|
120584
|
+
"privacy": "private",
|
|
120585
|
+
"default": "new SbbFocusTrapController(this)"
|
|
120586
|
+
},
|
|
120587
|
+
{
|
|
120588
|
+
"kind": "field",
|
|
120589
|
+
"name": "_escapableOverlayController",
|
|
120590
|
+
"privacy": "private",
|
|
120591
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
120592
|
+
},
|
|
120593
|
+
{
|
|
120594
|
+
"kind": "field",
|
|
120595
|
+
"name": "_closeOnNavigation",
|
|
120596
|
+
"privacy": "private"
|
|
120597
|
+
},
|
|
120598
|
+
{
|
|
120599
|
+
"kind": "method",
|
|
120600
|
+
"name": "toggle",
|
|
120601
|
+
"privacy": "public",
|
|
120602
|
+
"return": {
|
|
120603
|
+
"type": {
|
|
120604
|
+
"text": "void"
|
|
120605
|
+
}
|
|
120606
|
+
},
|
|
120607
|
+
"description": "Toggles the sidebar visibility."
|
|
120608
|
+
},
|
|
120609
|
+
{
|
|
120610
|
+
"kind": "method",
|
|
120611
|
+
"name": "open",
|
|
120612
|
+
"privacy": "public",
|
|
120613
|
+
"return": {
|
|
120614
|
+
"type": {
|
|
120615
|
+
"text": "void"
|
|
120616
|
+
}
|
|
120617
|
+
},
|
|
120618
|
+
"description": "Opens the sidebar.",
|
|
120594
120619
|
"inheritedFrom": {
|
|
120595
|
-
"name": "
|
|
120596
|
-
"module": "
|
|
120620
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120621
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120597
120622
|
}
|
|
120598
120623
|
},
|
|
120599
120624
|
{
|
|
120600
120625
|
"kind": "method",
|
|
120601
|
-
"name": "
|
|
120626
|
+
"name": "_isZeroAnimationDuration",
|
|
120627
|
+
"privacy": "private",
|
|
120628
|
+
"return": {
|
|
120629
|
+
"type": {
|
|
120630
|
+
"text": "boolean"
|
|
120631
|
+
}
|
|
120632
|
+
}
|
|
120633
|
+
},
|
|
120634
|
+
{
|
|
120635
|
+
"kind": "method",
|
|
120636
|
+
"name": "_handleOpening",
|
|
120637
|
+
"privacy": "private",
|
|
120638
|
+
"return": {
|
|
120639
|
+
"type": {
|
|
120640
|
+
"text": "void"
|
|
120641
|
+
}
|
|
120642
|
+
}
|
|
120643
|
+
},
|
|
120644
|
+
{
|
|
120645
|
+
"kind": "method",
|
|
120646
|
+
"name": "close",
|
|
120647
|
+
"privacy": "public",
|
|
120648
|
+
"return": {
|
|
120649
|
+
"type": {
|
|
120650
|
+
"text": "void"
|
|
120651
|
+
}
|
|
120652
|
+
},
|
|
120653
|
+
"description": "Closes the sidebar.",
|
|
120654
|
+
"inheritedFrom": {
|
|
120655
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120656
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120657
|
+
}
|
|
120658
|
+
},
|
|
120659
|
+
{
|
|
120660
|
+
"kind": "method",
|
|
120661
|
+
"name": "_handleClosing",
|
|
120662
|
+
"privacy": "private",
|
|
120663
|
+
"return": {
|
|
120664
|
+
"type": {
|
|
120665
|
+
"text": "void"
|
|
120666
|
+
}
|
|
120667
|
+
}
|
|
120668
|
+
},
|
|
120669
|
+
{
|
|
120670
|
+
"kind": "method",
|
|
120671
|
+
"name": "_takeFocus",
|
|
120672
|
+
"privacy": "private",
|
|
120673
|
+
"return": {
|
|
120674
|
+
"type": {
|
|
120675
|
+
"text": "void"
|
|
120676
|
+
}
|
|
120677
|
+
}
|
|
120678
|
+
},
|
|
120679
|
+
{
|
|
120680
|
+
"kind": "method",
|
|
120681
|
+
"name": "cedeFocus",
|
|
120602
120682
|
"privacy": "protected",
|
|
120603
120683
|
"return": {
|
|
120604
120684
|
"type": {
|
|
120605
|
-
"text": "
|
|
120685
|
+
"text": "void"
|
|
120686
|
+
}
|
|
120687
|
+
}
|
|
120688
|
+
},
|
|
120689
|
+
{
|
|
120690
|
+
"kind": "method",
|
|
120691
|
+
"name": "_updateSidebarWidth",
|
|
120692
|
+
"privacy": "private",
|
|
120693
|
+
"return": {
|
|
120694
|
+
"type": {
|
|
120695
|
+
"text": "void"
|
|
120606
120696
|
}
|
|
120607
120697
|
},
|
|
120608
120698
|
"parameters": [
|
|
120609
120699
|
{
|
|
120610
|
-
"name": "
|
|
120700
|
+
"name": "oldPosition",
|
|
120611
120701
|
"optional": true,
|
|
120612
120702
|
"type": {
|
|
120613
|
-
"text": "
|
|
120703
|
+
"text": "this['position']"
|
|
120614
120704
|
}
|
|
120615
120705
|
}
|
|
120616
|
-
]
|
|
120617
|
-
"inheritedFrom": {
|
|
120618
|
-
"name": "SbbIconNameMixin",
|
|
120619
|
-
"module": "icon/icon-name-mixin.js"
|
|
120620
|
-
}
|
|
120706
|
+
]
|
|
120621
120707
|
},
|
|
120622
120708
|
{
|
|
120623
120709
|
"kind": "method",
|
|
120624
|
-
"name": "
|
|
120710
|
+
"name": "_buildCssWidthVar",
|
|
120625
120711
|
"privacy": "private",
|
|
120626
120712
|
"return": {
|
|
120627
120713
|
"type": {
|
|
120628
120714
|
"text": "string"
|
|
120629
120715
|
}
|
|
120630
120716
|
},
|
|
120631
|
-
"
|
|
120632
|
-
|
|
120633
|
-
|
|
120717
|
+
"parameters": [
|
|
120718
|
+
{
|
|
120719
|
+
"name": "position",
|
|
120720
|
+
"default": "this.position"
|
|
120721
|
+
}
|
|
120722
|
+
]
|
|
120723
|
+
},
|
|
120724
|
+
{
|
|
120725
|
+
"kind": "method",
|
|
120726
|
+
"name": "_isModeOver",
|
|
120727
|
+
"privacy": "private",
|
|
120728
|
+
"return": {
|
|
120729
|
+
"type": {
|
|
120730
|
+
"text": "boolean"
|
|
120731
|
+
}
|
|
120732
|
+
}
|
|
120733
|
+
},
|
|
120734
|
+
{
|
|
120735
|
+
"kind": "method",
|
|
120736
|
+
"name": "_onTransitionEnd",
|
|
120737
|
+
"privacy": "private",
|
|
120738
|
+
"return": {
|
|
120739
|
+
"type": {
|
|
120740
|
+
"text": "void"
|
|
120741
|
+
}
|
|
120742
|
+
},
|
|
120743
|
+
"parameters": [
|
|
120744
|
+
{
|
|
120745
|
+
"name": "event",
|
|
120746
|
+
"type": {
|
|
120747
|
+
"text": "TransitionEvent"
|
|
120748
|
+
}
|
|
120749
|
+
}
|
|
120750
|
+
]
|
|
120751
|
+
},
|
|
120752
|
+
{
|
|
120753
|
+
"kind": "method",
|
|
120754
|
+
"name": "_detectScrolledState",
|
|
120755
|
+
"privacy": "private",
|
|
120756
|
+
"return": {
|
|
120757
|
+
"type": {
|
|
120758
|
+
"text": "void"
|
|
120759
|
+
}
|
|
120634
120760
|
}
|
|
120635
120761
|
},
|
|
120636
120762
|
{
|
|
120637
120763
|
"kind": "field",
|
|
120638
|
-
"name": "
|
|
120764
|
+
"name": "isAnimating",
|
|
120639
120765
|
"type": {
|
|
120640
120766
|
"text": "boolean"
|
|
120641
120767
|
},
|
|
120642
120768
|
"privacy": "public",
|
|
120643
120769
|
"default": "false",
|
|
120644
|
-
"description": "Whether the
|
|
120645
|
-
"attribute": "disabled-interactive",
|
|
120646
|
-
"reflects": true,
|
|
120770
|
+
"description": "Whether the component is currently animating.",
|
|
120647
120771
|
"inheritedFrom": {
|
|
120648
|
-
"name": "
|
|
120649
|
-
"module": "core/mixins/
|
|
120772
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120773
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120650
120774
|
}
|
|
120651
120775
|
},
|
|
120652
120776
|
{
|
|
120653
120777
|
"kind": "field",
|
|
120654
|
-
"name": "
|
|
120655
|
-
"privacy": "public",
|
|
120656
|
-
"description": "Whether the component is disabled.",
|
|
120657
|
-
"default": "false",
|
|
120778
|
+
"name": "animationComplete",
|
|
120658
120779
|
"type": {
|
|
120659
|
-
"text": "
|
|
120780
|
+
"text": "Promise<void>"
|
|
120660
120781
|
},
|
|
120661
|
-
"
|
|
120662
|
-
"
|
|
120782
|
+
"privacy": "public",
|
|
120783
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
120784
|
+
"readonly": true,
|
|
120663
120785
|
"inheritedFrom": {
|
|
120664
|
-
"name": "
|
|
120665
|
-
"module": "core/mixins/
|
|
120786
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120787
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120666
120788
|
}
|
|
120667
120789
|
},
|
|
120668
120790
|
{
|
|
120669
120791
|
"kind": "field",
|
|
120670
|
-
"name": "
|
|
120671
|
-
"privacy": "private",
|
|
120792
|
+
"name": "_animationPromise",
|
|
120672
120793
|
"type": {
|
|
120673
|
-
"text": "
|
|
120794
|
+
"text": "Promise<void>"
|
|
120674
120795
|
},
|
|
120675
|
-
"
|
|
120796
|
+
"privacy": "private",
|
|
120676
120797
|
"inheritedFrom": {
|
|
120677
|
-
"name": "
|
|
120678
|
-
"module": "core/mixins/
|
|
120798
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120799
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120679
120800
|
}
|
|
120680
120801
|
},
|
|
120681
120802
|
{
|
|
120682
120803
|
"kind": "method",
|
|
120683
|
-
"name": "
|
|
120804
|
+
"name": "startAnimation",
|
|
120684
120805
|
"privacy": "protected",
|
|
120685
120806
|
"return": {
|
|
120686
120807
|
"type": {
|
|
120687
|
-
"text": "
|
|
120808
|
+
"text": "void"
|
|
120688
120809
|
}
|
|
120689
120810
|
},
|
|
120690
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120691
120811
|
"inheritedFrom": {
|
|
120692
|
-
"name": "
|
|
120693
|
-
"module": "core/mixins/
|
|
120812
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120813
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120694
120814
|
}
|
|
120695
120815
|
},
|
|
120696
120816
|
{
|
|
120697
|
-
"kind": "
|
|
120698
|
-
"name": "
|
|
120699
|
-
"
|
|
120700
|
-
|
|
120817
|
+
"kind": "method",
|
|
120818
|
+
"name": "stopAnimation",
|
|
120819
|
+
"privacy": "protected",
|
|
120820
|
+
"return": {
|
|
120821
|
+
"type": {
|
|
120822
|
+
"text": "void"
|
|
120823
|
+
}
|
|
120701
120824
|
},
|
|
120702
|
-
"
|
|
120703
|
-
"readonly": true,
|
|
120704
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120825
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
120705
120826
|
"inheritedFrom": {
|
|
120706
|
-
"name": "
|
|
120707
|
-
"module": "core/
|
|
120827
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120828
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120708
120829
|
}
|
|
120709
120830
|
},
|
|
120710
120831
|
{
|
|
120711
|
-
"kind": "
|
|
120712
|
-
"name": "
|
|
120713
|
-
"
|
|
120714
|
-
|
|
120832
|
+
"kind": "method",
|
|
120833
|
+
"name": "_enqueueAnimation",
|
|
120834
|
+
"privacy": "private",
|
|
120835
|
+
"return": {
|
|
120836
|
+
"type": {
|
|
120837
|
+
"text": "Promise<void>"
|
|
120838
|
+
}
|
|
120715
120839
|
},
|
|
120716
|
-
"privacy": "public",
|
|
120717
120840
|
"inheritedFrom": {
|
|
120718
|
-
"name": "
|
|
120719
|
-
"module": "core/
|
|
120720
|
-
}
|
|
120721
|
-
"default": "''",
|
|
120722
|
-
"description": "Value of the form element.",
|
|
120723
|
-
"attribute": "value"
|
|
120841
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120842
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120843
|
+
}
|
|
120724
120844
|
},
|
|
120725
120845
|
{
|
|
120726
120846
|
"kind": "field",
|
|
120727
|
-
"name": "
|
|
120847
|
+
"name": "events",
|
|
120728
120848
|
"privacy": "public",
|
|
120729
|
-
"
|
|
120730
|
-
"
|
|
120849
|
+
"static": true,
|
|
120850
|
+
"readonly": true,
|
|
120851
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
120731
120852
|
"type": {
|
|
120732
|
-
"text": "
|
|
120853
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
120733
120854
|
},
|
|
120734
|
-
"attribute": "type",
|
|
120735
120855
|
"inheritedFrom": {
|
|
120736
|
-
"name": "
|
|
120737
|
-
"module": "core/base-elements/
|
|
120856
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120857
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120738
120858
|
}
|
|
120739
120859
|
},
|
|
120740
120860
|
{
|
|
120741
120861
|
"kind": "field",
|
|
120742
|
-
"name": "
|
|
120862
|
+
"name": "state",
|
|
120863
|
+
"privacy": "protected",
|
|
120864
|
+
"description": "The state of the component.",
|
|
120743
120865
|
"type": {
|
|
120744
|
-
"text": "
|
|
120866
|
+
"text": "SbbOpenedClosedState"
|
|
120745
120867
|
},
|
|
120746
|
-
"
|
|
120747
|
-
"description": "The `<form>` element to associate the button with.",
|
|
120868
|
+
"default": "'closed'",
|
|
120748
120869
|
"inheritedFrom": {
|
|
120749
|
-
"name": "
|
|
120750
|
-
"module": "core/base-elements/
|
|
120751
|
-
}
|
|
120752
|
-
"attribute": "form"
|
|
120870
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120871
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120872
|
+
}
|
|
120753
120873
|
},
|
|
120754
120874
|
{
|
|
120755
120875
|
"kind": "field",
|
|
120756
|
-
"name": "
|
|
120876
|
+
"name": "_state",
|
|
120757
120877
|
"type": {
|
|
120758
|
-
"text": "
|
|
120878
|
+
"text": "SbbOpenedClosedState"
|
|
120759
120879
|
},
|
|
120760
120880
|
"privacy": "private",
|
|
120761
|
-
"default": "''",
|
|
120762
120881
|
"inheritedFrom": {
|
|
120763
|
-
"name": "
|
|
120764
|
-
"module": "core/base-elements/
|
|
120882
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120883
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120765
120884
|
}
|
|
120766
120885
|
},
|
|
120767
120886
|
{
|
|
120768
120887
|
"kind": "field",
|
|
120769
|
-
"name": "
|
|
120770
|
-
"
|
|
120888
|
+
"name": "isOpen",
|
|
120889
|
+
"type": {
|
|
120890
|
+
"text": "boolean"
|
|
120891
|
+
},
|
|
120892
|
+
"privacy": "public",
|
|
120893
|
+
"description": "Whether the element is open.",
|
|
120894
|
+
"readonly": true,
|
|
120771
120895
|
"inheritedFrom": {
|
|
120772
|
-
"name": "
|
|
120773
|
-
"module": "core/base-elements/
|
|
120896
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120897
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120774
120898
|
}
|
|
120775
120899
|
},
|
|
120776
120900
|
{
|
|
120777
120901
|
"kind": "method",
|
|
120778
|
-
"name": "
|
|
120779
|
-
"privacy": "
|
|
120902
|
+
"name": "escapeStrategy",
|
|
120903
|
+
"privacy": "public",
|
|
120780
120904
|
"return": {
|
|
120781
120905
|
"type": {
|
|
120782
120906
|
"text": "void"
|
|
120783
120907
|
}
|
|
120784
120908
|
},
|
|
120785
|
-
"
|
|
120786
|
-
{
|
|
120787
|
-
"name": "form",
|
|
120788
|
-
"type": {
|
|
120789
|
-
"text": "HTMLFormElement"
|
|
120790
|
-
}
|
|
120791
|
-
}
|
|
120792
|
-
],
|
|
120793
|
-
"inheritedFrom": {
|
|
120794
|
-
"name": "SbbButtonBaseElement",
|
|
120795
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120796
|
-
}
|
|
120797
|
-
},
|
|
120798
|
-
{
|
|
120799
|
-
"kind": "field",
|
|
120800
|
-
"name": "_formKeyDown",
|
|
120801
|
-
"privacy": "private",
|
|
120802
|
-
"inheritedFrom": {
|
|
120803
|
-
"name": "SbbButtonBaseElement",
|
|
120804
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120805
|
-
}
|
|
120806
|
-
},
|
|
120807
|
-
{
|
|
120808
|
-
"kind": "field",
|
|
120809
|
-
"name": "formAssociated",
|
|
120810
|
-
"type": {
|
|
120811
|
-
"text": "boolean"
|
|
120812
|
-
},
|
|
120813
|
-
"privacy": "public",
|
|
120814
|
-
"static": true,
|
|
120815
|
-
"default": "true",
|
|
120816
|
-
"inheritedFrom": {
|
|
120817
|
-
"name": "SbbFormAssociatedMixin",
|
|
120818
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120819
|
-
}
|
|
120820
|
-
},
|
|
120821
|
-
{
|
|
120822
|
-
"kind": "field",
|
|
120823
|
-
"name": "name",
|
|
120824
|
-
"privacy": "public",
|
|
120825
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120826
|
-
"type": {
|
|
120827
|
-
"text": "string"
|
|
120828
|
-
},
|
|
120829
|
-
"attribute": "name",
|
|
120830
|
-
"inheritedFrom": {
|
|
120831
|
-
"name": "SbbFormAssociatedMixin",
|
|
120832
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120833
|
-
}
|
|
120834
|
-
},
|
|
120835
|
-
{
|
|
120836
|
-
"kind": "field",
|
|
120837
|
-
"name": "validity",
|
|
120838
|
-
"type": {
|
|
120839
|
-
"text": "ValidityState"
|
|
120840
|
-
},
|
|
120841
|
-
"privacy": "public",
|
|
120842
|
-
"description": "Returns the ValidityState object for this element.",
|
|
120843
|
-
"readonly": true,
|
|
120844
|
-
"inheritedFrom": {
|
|
120845
|
-
"name": "SbbFormAssociatedMixin",
|
|
120846
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120847
|
-
}
|
|
120848
|
-
},
|
|
120849
|
-
{
|
|
120850
|
-
"kind": "field",
|
|
120851
|
-
"name": "validationMessage",
|
|
120852
|
-
"type": {
|
|
120853
|
-
"text": "string"
|
|
120854
|
-
},
|
|
120855
|
-
"privacy": "public",
|
|
120856
|
-
"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.",
|
|
120857
|
-
"readonly": true,
|
|
120858
|
-
"inheritedFrom": {
|
|
120859
|
-
"name": "SbbFormAssociatedMixin",
|
|
120860
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120861
|
-
}
|
|
120862
|
-
},
|
|
120863
|
-
{
|
|
120864
|
-
"kind": "field",
|
|
120865
|
-
"name": "willValidate",
|
|
120866
|
-
"type": {
|
|
120867
|
-
"text": "boolean"
|
|
120868
|
-
},
|
|
120869
|
-
"privacy": "public",
|
|
120870
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120871
|
-
"readonly": true,
|
|
120872
|
-
"inheritedFrom": {
|
|
120873
|
-
"name": "SbbFormAssociatedMixin",
|
|
120874
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120875
|
-
}
|
|
120876
|
-
},
|
|
120877
|
-
{
|
|
120878
|
-
"kind": "field",
|
|
120879
|
-
"name": "_validityStates",
|
|
120880
|
-
"privacy": "private",
|
|
120881
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120882
|
-
"inheritedFrom": {
|
|
120883
|
-
"name": "SbbFormAssociatedMixin",
|
|
120884
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120885
|
-
}
|
|
120886
|
-
},
|
|
120887
|
-
{
|
|
120888
|
-
"kind": "field",
|
|
120889
|
-
"name": "formDisabled",
|
|
120890
|
-
"type": {
|
|
120891
|
-
"text": "boolean"
|
|
120892
|
-
},
|
|
120893
|
-
"privacy": "protected",
|
|
120894
|
-
"default": "false",
|
|
120895
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120896
|
-
"inheritedFrom": {
|
|
120897
|
-
"name": "SbbFormAssociatedMixin",
|
|
120898
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120899
|
-
}
|
|
120900
|
-
},
|
|
120901
|
-
{
|
|
120902
|
-
"kind": "method",
|
|
120903
|
-
"name": "checkValidity",
|
|
120904
|
-
"privacy": "public",
|
|
120905
|
-
"return": {
|
|
120906
|
-
"type": {
|
|
120907
|
-
"text": "boolean"
|
|
120908
|
-
}
|
|
120909
|
-
},
|
|
120910
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120911
|
-
"inheritedFrom": {
|
|
120912
|
-
"name": "SbbFormAssociatedMixin",
|
|
120913
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120914
|
-
}
|
|
120915
|
-
},
|
|
120916
|
-
{
|
|
120917
|
-
"kind": "method",
|
|
120918
|
-
"name": "reportValidity",
|
|
120919
|
-
"privacy": "public",
|
|
120920
|
-
"return": {
|
|
120921
|
-
"type": {
|
|
120922
|
-
"text": "boolean"
|
|
120923
|
-
}
|
|
120924
|
-
},
|
|
120925
|
-
"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.",
|
|
120926
|
-
"inheritedFrom": {
|
|
120927
|
-
"name": "SbbFormAssociatedMixin",
|
|
120928
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120929
|
-
}
|
|
120930
|
-
},
|
|
120931
|
-
{
|
|
120932
|
-
"kind": "method",
|
|
120933
|
-
"name": "setCustomValidity",
|
|
120934
|
-
"privacy": "public",
|
|
120935
|
-
"return": {
|
|
120936
|
-
"type": {
|
|
120937
|
-
"text": "void"
|
|
120938
|
-
}
|
|
120939
|
-
},
|
|
120940
|
-
"parameters": [
|
|
120941
|
-
{
|
|
120942
|
-
"name": "message",
|
|
120943
|
-
"type": {
|
|
120944
|
-
"text": "string"
|
|
120945
|
-
}
|
|
120946
|
-
}
|
|
120947
|
-
],
|
|
120948
|
-
"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.",
|
|
120949
|
-
"inheritedFrom": {
|
|
120950
|
-
"name": "SbbFormAssociatedMixin",
|
|
120951
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120952
|
-
}
|
|
120953
|
-
},
|
|
120954
|
-
{
|
|
120955
|
-
"kind": "method",
|
|
120956
|
-
"name": "_hasDisabledAncestor",
|
|
120957
|
-
"privacy": "private",
|
|
120958
|
-
"return": {
|
|
120959
|
-
"type": {
|
|
120960
|
-
"text": "boolean"
|
|
120961
|
-
}
|
|
120962
|
-
},
|
|
120963
|
-
"inheritedFrom": {
|
|
120964
|
-
"name": "SbbFormAssociatedMixin",
|
|
120965
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120966
|
-
}
|
|
120967
|
-
},
|
|
120968
|
-
{
|
|
120969
|
-
"kind": "method",
|
|
120970
|
-
"name": "updateFormValue",
|
|
120971
|
-
"privacy": "protected",
|
|
120972
|
-
"return": {
|
|
120973
|
-
"type": {
|
|
120974
|
-
"text": "void"
|
|
120975
|
-
}
|
|
120976
|
-
},
|
|
120977
|
-
"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",
|
|
120978
|
-
"inheritedFrom": {
|
|
120979
|
-
"name": "SbbFormAssociatedMixin",
|
|
120980
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120981
|
-
}
|
|
120982
|
-
},
|
|
120983
|
-
{
|
|
120984
|
-
"kind": "method",
|
|
120985
|
-
"name": "formState",
|
|
120986
|
-
"privacy": "protected",
|
|
120987
|
-
"return": {
|
|
120988
|
-
"type": {
|
|
120989
|
-
"text": "FormRestoreState"
|
|
120990
|
-
}
|
|
120991
|
-
},
|
|
120992
|
-
"inheritedFrom": {
|
|
120993
|
-
"name": "SbbFormAssociatedMixin",
|
|
120994
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120995
|
-
}
|
|
120996
|
-
},
|
|
120997
|
-
{
|
|
120998
|
-
"kind": "method",
|
|
120999
|
-
"name": "setValidityFlag",
|
|
121000
|
-
"privacy": "protected",
|
|
121001
|
-
"return": {
|
|
121002
|
-
"type": {
|
|
121003
|
-
"text": "void"
|
|
121004
|
-
}
|
|
121005
|
-
},
|
|
121006
|
-
"parameters": [
|
|
121007
|
-
{
|
|
121008
|
-
"name": "flag",
|
|
121009
|
-
"type": {
|
|
121010
|
-
"text": "T"
|
|
121011
|
-
}
|
|
121012
|
-
},
|
|
121013
|
-
{
|
|
121014
|
-
"name": "message",
|
|
121015
|
-
"type": {
|
|
121016
|
-
"text": "string"
|
|
121017
|
-
}
|
|
121018
|
-
},
|
|
121019
|
-
{
|
|
121020
|
-
"name": "flagValue",
|
|
121021
|
-
"optional": true,
|
|
121022
|
-
"type": {
|
|
121023
|
-
"text": "ValidityStateFlags[T]"
|
|
121024
|
-
}
|
|
121025
|
-
}
|
|
121026
|
-
],
|
|
121027
|
-
"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).",
|
|
120909
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
121028
120910
|
"inheritedFrom": {
|
|
121029
|
-
"name": "
|
|
121030
|
-
"module": "core/
|
|
120911
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120912
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121031
120913
|
}
|
|
121032
120914
|
},
|
|
121033
120915
|
{
|
|
121034
120916
|
"kind": "method",
|
|
121035
|
-
"name": "
|
|
120917
|
+
"name": "dispatchBeforeOpenEvent",
|
|
121036
120918
|
"privacy": "protected",
|
|
121037
120919
|
"return": {
|
|
121038
120920
|
"type": {
|
|
121039
|
-
"text": "
|
|
120921
|
+
"text": "boolean"
|
|
121040
120922
|
}
|
|
121041
120923
|
},
|
|
121042
|
-
"parameters": [
|
|
121043
|
-
{
|
|
121044
|
-
"name": "flag",
|
|
121045
|
-
"type": {
|
|
121046
|
-
"text": "T"
|
|
121047
|
-
}
|
|
121048
|
-
}
|
|
121049
|
-
],
|
|
121050
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121051
120924
|
"inheritedFrom": {
|
|
121052
|
-
"name": "
|
|
121053
|
-
"module": "core/
|
|
120925
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120926
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121054
120927
|
}
|
|
121055
120928
|
},
|
|
121056
120929
|
{
|
|
121057
120930
|
"kind": "method",
|
|
121058
|
-
"name": "
|
|
120931
|
+
"name": "dispatchOpenEvent",
|
|
121059
120932
|
"privacy": "protected",
|
|
121060
120933
|
"return": {
|
|
121061
120934
|
"type": {
|
|
121062
|
-
"text": "
|
|
120935
|
+
"text": "boolean"
|
|
121063
120936
|
}
|
|
121064
120937
|
},
|
|
121065
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
121066
120938
|
"inheritedFrom": {
|
|
121067
|
-
"name": "
|
|
121068
|
-
"module": "core/
|
|
120939
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120940
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121069
120941
|
}
|
|
121070
120942
|
},
|
|
121071
120943
|
{
|
|
121072
120944
|
"kind": "method",
|
|
121073
|
-
"name": "
|
|
120945
|
+
"name": "dispatchBeforeCloseEvent",
|
|
121074
120946
|
"privacy": "protected",
|
|
121075
120947
|
"return": {
|
|
121076
120948
|
"type": {
|
|
121077
120949
|
"text": "boolean"
|
|
121078
120950
|
}
|
|
121079
120951
|
},
|
|
121080
|
-
"parameters": [
|
|
121081
|
-
{
|
|
121082
|
-
"name": "name",
|
|
121083
|
-
"type": {
|
|
121084
|
-
"text": "PropertyKey | undefined"
|
|
121085
|
-
}
|
|
121086
|
-
}
|
|
121087
|
-
],
|
|
121088
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
121089
|
-
"inheritedFrom": {
|
|
121090
|
-
"name": "SbbFormAssociatedMixin",
|
|
121091
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121092
|
-
}
|
|
121093
|
-
},
|
|
121094
|
-
{
|
|
121095
|
-
"kind": "method",
|
|
121096
|
-
"name": "_setInternalValidity",
|
|
121097
|
-
"privacy": "private",
|
|
121098
|
-
"return": {
|
|
121099
|
-
"type": {
|
|
121100
|
-
"text": "void"
|
|
121101
|
-
}
|
|
121102
|
-
},
|
|
121103
|
-
"inheritedFrom": {
|
|
121104
|
-
"name": "SbbFormAssociatedMixin",
|
|
121105
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121106
|
-
}
|
|
121107
|
-
},
|
|
121108
|
-
{
|
|
121109
|
-
"kind": "field",
|
|
121110
|
-
"name": "role",
|
|
121111
|
-
"type": {
|
|
121112
|
-
"text": "ElementInternals['role']"
|
|
121113
|
-
},
|
|
121114
|
-
"privacy": "public",
|
|
121115
|
-
"static": true,
|
|
121116
|
-
"readonly": true,
|
|
121117
|
-
"default": "'button'",
|
|
121118
|
-
"inheritedFrom": {
|
|
121119
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121120
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121121
|
-
}
|
|
121122
|
-
},
|
|
121123
|
-
{
|
|
121124
|
-
"kind": "field",
|
|
121125
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
121126
|
-
"privacy": "private",
|
|
121127
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121128
|
-
"parameters": [
|
|
121129
|
-
{
|
|
121130
|
-
"description": "The origin event.",
|
|
121131
|
-
"name": "event"
|
|
121132
|
-
}
|
|
121133
|
-
],
|
|
121134
|
-
"inheritedFrom": {
|
|
121135
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121136
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121137
|
-
}
|
|
121138
|
-
},
|
|
121139
|
-
{
|
|
121140
|
-
"kind": "field",
|
|
121141
|
-
"name": "_removeActiveMarker",
|
|
121142
|
-
"privacy": "private",
|
|
121143
|
-
"inheritedFrom": {
|
|
121144
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121145
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121146
|
-
}
|
|
121147
|
-
},
|
|
121148
|
-
{
|
|
121149
|
-
"kind": "field",
|
|
121150
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121151
|
-
"privacy": "private",
|
|
121152
|
-
"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.",
|
|
121153
|
-
"parameters": [
|
|
121154
|
-
{
|
|
121155
|
-
"description": "The origin event.",
|
|
121156
|
-
"name": "event"
|
|
121157
|
-
}
|
|
121158
|
-
],
|
|
121159
|
-
"inheritedFrom": {
|
|
121160
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121161
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121162
|
-
}
|
|
121163
|
-
},
|
|
121164
|
-
{
|
|
121165
|
-
"kind": "field",
|
|
121166
|
-
"name": "_dispatchClickEvent",
|
|
121167
|
-
"privacy": "private",
|
|
121168
|
-
"inheritedFrom": {
|
|
121169
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121170
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121171
|
-
}
|
|
121172
|
-
},
|
|
121173
|
-
{
|
|
121174
|
-
"kind": "field",
|
|
121175
|
-
"name": "maybeDisabled",
|
|
121176
|
-
"type": {
|
|
121177
|
-
"text": "boolean | undefined"
|
|
121178
|
-
},
|
|
121179
|
-
"privacy": "protected",
|
|
121180
|
-
"readonly": true,
|
|
121181
|
-
"inheritedFrom": {
|
|
121182
|
-
"name": "SbbActionBaseElement",
|
|
121183
|
-
"module": "core/base-elements/action-base-element.js"
|
|
121184
|
-
}
|
|
121185
|
-
},
|
|
121186
|
-
{
|
|
121187
|
-
"kind": "field",
|
|
121188
|
-
"name": "maybeDisabledInteractive",
|
|
121189
|
-
"type": {
|
|
121190
|
-
"text": "boolean | undefined"
|
|
121191
|
-
},
|
|
121192
|
-
"privacy": "protected",
|
|
121193
|
-
"readonly": true,
|
|
121194
120952
|
"inheritedFrom": {
|
|
121195
|
-
"name": "
|
|
121196
|
-
"module": "core/base-elements/
|
|
120953
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120954
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121197
120955
|
}
|
|
121198
120956
|
},
|
|
121199
120957
|
{
|
|
121200
120958
|
"kind": "method",
|
|
121201
|
-
"name": "
|
|
120959
|
+
"name": "dispatchCloseEvent",
|
|
121202
120960
|
"privacy": "protected",
|
|
121203
120961
|
"return": {
|
|
121204
120962
|
"type": {
|
|
121205
|
-
"text": "
|
|
120963
|
+
"text": "boolean"
|
|
121206
120964
|
}
|
|
121207
120965
|
},
|
|
121208
120966
|
"inheritedFrom": {
|
|
121209
|
-
"name": "
|
|
121210
|
-
"module": "core/base-elements/
|
|
120967
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120968
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121211
120969
|
}
|
|
121212
120970
|
},
|
|
121213
120971
|
{
|
|
@@ -121316,400 +121074,666 @@
|
|
|
121316
121074
|
}
|
|
121317
121075
|
}
|
|
121318
121076
|
],
|
|
121077
|
+
"attributes": [
|
|
121078
|
+
{
|
|
121079
|
+
"name": "color",
|
|
121080
|
+
"type": {
|
|
121081
|
+
"text": "'white' | 'milk'"
|
|
121082
|
+
},
|
|
121083
|
+
"default": "'white'",
|
|
121084
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
121085
|
+
"fieldName": "color"
|
|
121086
|
+
},
|
|
121087
|
+
{
|
|
121088
|
+
"name": "mode",
|
|
121089
|
+
"type": {
|
|
121090
|
+
"text": "'side' | 'over'"
|
|
121091
|
+
},
|
|
121092
|
+
"default": "'side'",
|
|
121093
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
121094
|
+
"fieldName": "mode"
|
|
121095
|
+
},
|
|
121096
|
+
{
|
|
121097
|
+
"name": "position",
|
|
121098
|
+
"type": {
|
|
121099
|
+
"text": "'start' | 'end'"
|
|
121100
|
+
},
|
|
121101
|
+
"default": "'start'",
|
|
121102
|
+
"description": "The side that the sidebar is attached to.",
|
|
121103
|
+
"fieldName": "position"
|
|
121104
|
+
},
|
|
121105
|
+
{
|
|
121106
|
+
"name": "opened",
|
|
121107
|
+
"type": {
|
|
121108
|
+
"text": "boolean"
|
|
121109
|
+
},
|
|
121110
|
+
"default": "false",
|
|
121111
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
121112
|
+
"fieldName": "opened"
|
|
121113
|
+
},
|
|
121114
|
+
{
|
|
121115
|
+
"name": "focus-on-open",
|
|
121116
|
+
"type": {
|
|
121117
|
+
"text": "boolean"
|
|
121118
|
+
},
|
|
121119
|
+
"default": "false",
|
|
121120
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
121121
|
+
"fieldName": "focusOnOpen"
|
|
121122
|
+
}
|
|
121123
|
+
],
|
|
121124
|
+
"mixins": [
|
|
121125
|
+
{
|
|
121126
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121127
|
+
"module": "core/mixins.js"
|
|
121128
|
+
}
|
|
121129
|
+
],
|
|
121319
121130
|
"superclass": {
|
|
121320
|
-
"name": "
|
|
121321
|
-
"module": "
|
|
121131
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121132
|
+
"module": "core/base-elements.js"
|
|
121322
121133
|
},
|
|
121323
|
-
"tagName": "sbb-sidebar
|
|
121134
|
+
"tagName": "sbb-sidebar",
|
|
121324
121135
|
"customElement": true,
|
|
121325
|
-
"
|
|
121136
|
+
"events": [
|
|
121326
121137
|
{
|
|
121138
|
+
"name": "beforeopen",
|
|
121139
|
+
"type": {
|
|
121140
|
+
"text": "Event"
|
|
121141
|
+
},
|
|
121142
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
121143
|
+
"inheritedFrom": {
|
|
121144
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121145
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121146
|
+
}
|
|
121147
|
+
},
|
|
121148
|
+
{
|
|
121149
|
+
"name": "open",
|
|
121150
|
+
"type": {
|
|
121151
|
+
"text": "Event"
|
|
121152
|
+
},
|
|
121153
|
+
"description": "Emits whenever the component is opened.",
|
|
121154
|
+
"inheritedFrom": {
|
|
121155
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121156
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121157
|
+
}
|
|
121158
|
+
},
|
|
121159
|
+
{
|
|
121160
|
+
"name": "beforeclose",
|
|
121161
|
+
"type": {
|
|
121162
|
+
"text": "Event"
|
|
121163
|
+
},
|
|
121164
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
121165
|
+
"inheritedFrom": {
|
|
121166
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121167
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121168
|
+
}
|
|
121169
|
+
},
|
|
121170
|
+
{
|
|
121171
|
+
"name": "close",
|
|
121172
|
+
"type": {
|
|
121173
|
+
"text": "Event"
|
|
121174
|
+
},
|
|
121175
|
+
"description": "Emits whenever the component is closed.",
|
|
121176
|
+
"inheritedFrom": {
|
|
121177
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121178
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121179
|
+
}
|
|
121180
|
+
}
|
|
121181
|
+
]
|
|
121182
|
+
}
|
|
121183
|
+
],
|
|
121184
|
+
"exports": [
|
|
121185
|
+
{
|
|
121186
|
+
"kind": "js",
|
|
121187
|
+
"name": "SbbSidebarElement",
|
|
121188
|
+
"declaration": {
|
|
121189
|
+
"name": "SbbSidebarElement",
|
|
121190
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
121191
|
+
}
|
|
121192
|
+
}
|
|
121193
|
+
]
|
|
121194
|
+
},
|
|
121195
|
+
{
|
|
121196
|
+
"kind": "javascript-module",
|
|
121197
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
121198
|
+
"declarations": [
|
|
121199
|
+
{
|
|
121200
|
+
"kind": "class",
|
|
121201
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
121202
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121203
|
+
"slots": [
|
|
121204
|
+
{
|
|
121205
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
121206
|
+
"name": "",
|
|
121207
|
+
"inheritedFrom": {
|
|
121208
|
+
"name": "SbbSecondaryButtonElement",
|
|
121209
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121210
|
+
}
|
|
121211
|
+
},
|
|
121212
|
+
{
|
|
121213
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
121214
|
+
"name": "icon",
|
|
121215
|
+
"inheritedFrom": {
|
|
121216
|
+
"name": "SbbSecondaryButtonElement",
|
|
121217
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121218
|
+
}
|
|
121219
|
+
}
|
|
121220
|
+
],
|
|
121221
|
+
"members": [
|
|
121222
|
+
{
|
|
121223
|
+
"kind": "field",
|
|
121224
|
+
"name": "elementName",
|
|
121225
|
+
"type": {
|
|
121226
|
+
"text": "string"
|
|
121227
|
+
},
|
|
121228
|
+
"privacy": "public",
|
|
121229
|
+
"static": true,
|
|
121230
|
+
"readonly": true,
|
|
121231
|
+
"inheritedFrom": {
|
|
121232
|
+
"name": "SbbElement",
|
|
121233
|
+
"module": "core/base-elements/element.js"
|
|
121234
|
+
},
|
|
121235
|
+
"default": "'sbb-sidebar-close-button'"
|
|
121236
|
+
},
|
|
121237
|
+
{
|
|
121238
|
+
"kind": "field",
|
|
121239
|
+
"name": "_languageController",
|
|
121240
|
+
"privacy": "private",
|
|
121241
|
+
"default": "new SbbLanguageController(this)"
|
|
121242
|
+
},
|
|
121243
|
+
{
|
|
121244
|
+
"kind": "method",
|
|
121245
|
+
"name": "renderTemplate",
|
|
121246
|
+
"privacy": "protected",
|
|
121247
|
+
"return": {
|
|
121248
|
+
"type": {
|
|
121249
|
+
"text": "TemplateResult"
|
|
121250
|
+
}
|
|
121251
|
+
},
|
|
121252
|
+
"description": "Override this method to render the component template.",
|
|
121253
|
+
"inheritedFrom": {
|
|
121254
|
+
"name": "SbbActionBaseElement",
|
|
121255
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121256
|
+
}
|
|
121257
|
+
},
|
|
121258
|
+
{
|
|
121259
|
+
"kind": "method",
|
|
121260
|
+
"name": "renderIconName",
|
|
121261
|
+
"privacy": "protected",
|
|
121262
|
+
"return": {
|
|
121263
|
+
"type": {
|
|
121264
|
+
"text": "string"
|
|
121265
|
+
}
|
|
121266
|
+
},
|
|
121267
|
+
"inheritedFrom": {
|
|
121268
|
+
"name": "SbbIconNameMixin",
|
|
121269
|
+
"module": "icon/icon-name-mixin.js"
|
|
121270
|
+
}
|
|
121271
|
+
},
|
|
121272
|
+
{
|
|
121273
|
+
"kind": "field",
|
|
121327
121274
|
"name": "size",
|
|
121328
121275
|
"type": {
|
|
121329
121276
|
"text": "SbbButtonSize"
|
|
121330
121277
|
},
|
|
121278
|
+
"privacy": "public",
|
|
121331
121279
|
"description": "Size variant, either l, m or s.",
|
|
121332
|
-
"default": "'
|
|
121333
|
-
"
|
|
121280
|
+
"default": "'s'",
|
|
121281
|
+
"attribute": "size",
|
|
121282
|
+
"reflects": true,
|
|
121334
121283
|
"inheritedFrom": {
|
|
121335
121284
|
"name": "SbbButtonCommonElementMixin",
|
|
121336
121285
|
"module": "button/common/button-common.js"
|
|
121337
121286
|
}
|
|
121338
121287
|
},
|
|
121339
121288
|
{
|
|
121289
|
+
"kind": "field",
|
|
121340
121290
|
"name": "loading",
|
|
121341
121291
|
"type": {
|
|
121342
121292
|
"text": "boolean"
|
|
121343
121293
|
},
|
|
121294
|
+
"privacy": "public",
|
|
121344
121295
|
"default": "false",
|
|
121345
121296
|
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
121346
|
-
"
|
|
121297
|
+
"attribute": "loading",
|
|
121298
|
+
"reflects": true,
|
|
121347
121299
|
"inheritedFrom": {
|
|
121348
121300
|
"name": "SbbButtonCommonElementMixin",
|
|
121349
121301
|
"module": "button/common/button-common.js"
|
|
121350
121302
|
}
|
|
121351
121303
|
},
|
|
121352
121304
|
{
|
|
121305
|
+
"kind": "field",
|
|
121353
121306
|
"name": "negative",
|
|
121354
121307
|
"type": {
|
|
121355
121308
|
"text": "boolean"
|
|
121356
121309
|
},
|
|
121310
|
+
"privacy": "public",
|
|
121357
121311
|
"default": "false",
|
|
121358
121312
|
"description": "Negative coloring variant flag.",
|
|
121359
|
-
"
|
|
121313
|
+
"attribute": "negative",
|
|
121314
|
+
"reflects": true,
|
|
121360
121315
|
"inheritedFrom": {
|
|
121361
121316
|
"name": "SbbNegativeMixin",
|
|
121362
121317
|
"module": "core/mixins/negative-mixin.js"
|
|
121363
121318
|
}
|
|
121364
121319
|
},
|
|
121365
121320
|
{
|
|
121366
|
-
"
|
|
121321
|
+
"kind": "field",
|
|
121322
|
+
"name": "iconName",
|
|
121367
121323
|
"type": {
|
|
121368
121324
|
"text": "string"
|
|
121369
121325
|
},
|
|
121326
|
+
"privacy": "public",
|
|
121370
121327
|
"default": "''",
|
|
121371
121328
|
"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.",
|
|
121372
|
-
"
|
|
121329
|
+
"attribute": "icon-name",
|
|
121373
121330
|
"inheritedFrom": {
|
|
121374
121331
|
"name": "SbbIconNameMixin",
|
|
121375
121332
|
"module": "icon/icon-name-mixin.js"
|
|
121376
121333
|
}
|
|
121377
121334
|
},
|
|
121378
121335
|
{
|
|
121379
|
-
"
|
|
121336
|
+
"kind": "method",
|
|
121337
|
+
"name": "renderIconSlot",
|
|
121338
|
+
"privacy": "protected",
|
|
121339
|
+
"return": {
|
|
121340
|
+
"type": {
|
|
121341
|
+
"text": "TemplateResult"
|
|
121342
|
+
}
|
|
121343
|
+
},
|
|
121344
|
+
"parameters": [
|
|
121345
|
+
{
|
|
121346
|
+
"name": "classname",
|
|
121347
|
+
"optional": true,
|
|
121348
|
+
"type": {
|
|
121349
|
+
"text": "string"
|
|
121350
|
+
}
|
|
121351
|
+
}
|
|
121352
|
+
],
|
|
121353
|
+
"inheritedFrom": {
|
|
121354
|
+
"name": "SbbIconNameMixin",
|
|
121355
|
+
"module": "icon/icon-name-mixin.js"
|
|
121356
|
+
}
|
|
121357
|
+
},
|
|
121358
|
+
{
|
|
121359
|
+
"kind": "method",
|
|
121360
|
+
"name": "_renderIconName",
|
|
121361
|
+
"privacy": "private",
|
|
121362
|
+
"return": {
|
|
121363
|
+
"type": {
|
|
121364
|
+
"text": "string"
|
|
121365
|
+
}
|
|
121366
|
+
},
|
|
121367
|
+
"inheritedFrom": {
|
|
121368
|
+
"name": "SbbIconNameMixin",
|
|
121369
|
+
"module": "icon/icon-name-mixin.js"
|
|
121370
|
+
}
|
|
121371
|
+
},
|
|
121372
|
+
{
|
|
121373
|
+
"kind": "field",
|
|
121374
|
+
"name": "disabledInteractive",
|
|
121380
121375
|
"type": {
|
|
121381
121376
|
"text": "boolean"
|
|
121382
121377
|
},
|
|
121378
|
+
"privacy": "public",
|
|
121383
121379
|
"default": "false",
|
|
121384
121380
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121385
|
-
"
|
|
121381
|
+
"attribute": "disabled-interactive",
|
|
121382
|
+
"reflects": true,
|
|
121386
121383
|
"inheritedFrom": {
|
|
121387
121384
|
"name": "SbbDisabledInteractiveMixin",
|
|
121388
121385
|
"module": "core/mixins/disabled-mixin.js"
|
|
121389
121386
|
}
|
|
121390
121387
|
},
|
|
121391
121388
|
{
|
|
121389
|
+
"kind": "field",
|
|
121392
121390
|
"name": "disabled",
|
|
121391
|
+
"privacy": "public",
|
|
121393
121392
|
"description": "Whether the component is disabled.",
|
|
121394
121393
|
"default": "false",
|
|
121395
121394
|
"type": {
|
|
121396
121395
|
"text": "boolean"
|
|
121397
121396
|
},
|
|
121398
|
-
"
|
|
121397
|
+
"attribute": "disabled",
|
|
121398
|
+
"reflects": true,
|
|
121399
121399
|
"inheritedFrom": {
|
|
121400
121400
|
"name": "SbbDisabledMixin",
|
|
121401
121401
|
"module": "core/mixins/disabled-mixin.js"
|
|
121402
121402
|
}
|
|
121403
121403
|
},
|
|
121404
121404
|
{
|
|
121405
|
-
"
|
|
121405
|
+
"kind": "field",
|
|
121406
|
+
"name": "#disabled",
|
|
121407
|
+
"privacy": "private",
|
|
121406
121408
|
"type": {
|
|
121407
|
-
"text": "
|
|
121409
|
+
"text": "boolean"
|
|
121408
121410
|
},
|
|
121409
|
-
"default": "
|
|
121410
|
-
"description": "Value of the form element.",
|
|
121411
|
-
"fieldName": "value",
|
|
121411
|
+
"default": "false",
|
|
121412
121412
|
"inheritedFrom": {
|
|
121413
|
-
"name": "
|
|
121414
|
-
"module": "core/
|
|
121413
|
+
"name": "SbbDisabledMixin",
|
|
121414
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121415
121415
|
}
|
|
121416
121416
|
},
|
|
121417
121417
|
{
|
|
121418
|
-
"
|
|
121419
|
-
"
|
|
121420
|
-
"
|
|
121421
|
-
"
|
|
121422
|
-
"
|
|
121418
|
+
"kind": "method",
|
|
121419
|
+
"name": "isDisabledExternally",
|
|
121420
|
+
"privacy": "protected",
|
|
121421
|
+
"return": {
|
|
121422
|
+
"type": {
|
|
121423
|
+
"text": "boolean"
|
|
121424
|
+
}
|
|
121423
121425
|
},
|
|
121424
|
-
"
|
|
121426
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
121425
121427
|
"inheritedFrom": {
|
|
121426
|
-
"name": "
|
|
121427
|
-
"module": "core/
|
|
121428
|
+
"name": "SbbDisabledMixin",
|
|
121429
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121428
121430
|
}
|
|
121429
121431
|
},
|
|
121430
121432
|
{
|
|
121431
|
-
"
|
|
121432
|
-
"
|
|
121433
|
+
"kind": "field",
|
|
121434
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
121433
121435
|
"type": {
|
|
121434
|
-
"text": "
|
|
121436
|
+
"text": "array"
|
|
121435
121437
|
},
|
|
121436
|
-
"
|
|
121438
|
+
"privacy": "private",
|
|
121439
|
+
"readonly": true,
|
|
121440
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
121437
121441
|
"inheritedFrom": {
|
|
121438
121442
|
"name": "SbbButtonBaseElement",
|
|
121439
121443
|
"module": "core/base-elements/button-base-element.js"
|
|
121440
121444
|
}
|
|
121441
121445
|
},
|
|
121442
121446
|
{
|
|
121443
|
-
"
|
|
121444
|
-
"
|
|
121447
|
+
"kind": "field",
|
|
121448
|
+
"name": "value",
|
|
121445
121449
|
"type": {
|
|
121446
121450
|
"text": "string"
|
|
121447
121451
|
},
|
|
121448
|
-
"
|
|
121452
|
+
"privacy": "public",
|
|
121449
121453
|
"inheritedFrom": {
|
|
121450
|
-
"name": "
|
|
121451
|
-
"module": "core/
|
|
121452
|
-
}
|
|
121453
|
-
|
|
121454
|
-
|
|
121455
|
-
|
|
121454
|
+
"name": "SbbButtonBaseElement",
|
|
121455
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121456
|
+
},
|
|
121457
|
+
"default": "''",
|
|
121458
|
+
"description": "Value of the form element.",
|
|
121459
|
+
"attribute": "value"
|
|
121460
|
+
},
|
|
121456
121461
|
{
|
|
121457
|
-
"
|
|
121458
|
-
"name": "
|
|
121459
|
-
"
|
|
121462
|
+
"kind": "field",
|
|
121463
|
+
"name": "type",
|
|
121464
|
+
"privacy": "public",
|
|
121465
|
+
"description": "The type attribute to use for the button.",
|
|
121466
|
+
"default": "'button'",
|
|
121467
|
+
"type": {
|
|
121468
|
+
"text": "SbbButtonType"
|
|
121469
|
+
},
|
|
121470
|
+
"attribute": "type",
|
|
121460
121471
|
"inheritedFrom": {
|
|
121461
|
-
"name": "
|
|
121462
|
-
"module": "
|
|
121472
|
+
"name": "SbbButtonBaseElement",
|
|
121473
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121463
121474
|
}
|
|
121464
|
-
}
|
|
121465
|
-
]
|
|
121466
|
-
}
|
|
121467
|
-
],
|
|
121468
|
-
"exports": [
|
|
121469
|
-
{
|
|
121470
|
-
"kind": "js",
|
|
121471
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
121472
|
-
"declaration": {
|
|
121473
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
121474
|
-
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
121475
|
-
}
|
|
121476
|
-
}
|
|
121477
|
-
]
|
|
121478
|
-
},
|
|
121479
|
-
{
|
|
121480
|
-
"kind": "javascript-module",
|
|
121481
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
121482
|
-
"declarations": [
|
|
121483
|
-
{
|
|
121484
|
-
"kind": "class",
|
|
121485
|
-
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
121486
|
-
"name": "SbbSidebarElement",
|
|
121487
|
-
"slots": [
|
|
121488
|
-
{
|
|
121489
|
-
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
121490
|
-
"name": ""
|
|
121491
121475
|
},
|
|
121492
|
-
{
|
|
121493
|
-
"description": "Use the title slot to add an <sbb-title>.",
|
|
121494
|
-
"name": "title"
|
|
121495
|
-
}
|
|
121496
|
-
],
|
|
121497
|
-
"members": [
|
|
121498
121476
|
{
|
|
121499
121477
|
"kind": "field",
|
|
121500
|
-
"name": "
|
|
121478
|
+
"name": "form",
|
|
121501
121479
|
"type": {
|
|
121502
|
-
"text": "
|
|
121480
|
+
"text": "HTMLFormElement | null"
|
|
121503
121481
|
},
|
|
121504
121482
|
"privacy": "public",
|
|
121505
|
-
"
|
|
121506
|
-
"readonly": true,
|
|
121483
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121507
121484
|
"inheritedFrom": {
|
|
121508
|
-
"name": "
|
|
121509
|
-
"module": "core/base-elements/element.js"
|
|
121485
|
+
"name": "SbbButtonBaseElement",
|
|
121486
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121510
121487
|
},
|
|
121511
|
-
"
|
|
121488
|
+
"attribute": "form"
|
|
121512
121489
|
},
|
|
121513
121490
|
{
|
|
121514
121491
|
"kind": "field",
|
|
121515
|
-
"name": "
|
|
121492
|
+
"name": "_formId",
|
|
121516
121493
|
"type": {
|
|
121517
|
-
"text": "
|
|
121494
|
+
"text": "string"
|
|
121518
121495
|
},
|
|
121519
|
-
"privacy": "
|
|
121520
|
-
"default": "'
|
|
121521
|
-
"
|
|
121522
|
-
|
|
121523
|
-
|
|
121496
|
+
"privacy": "private",
|
|
121497
|
+
"default": "''",
|
|
121498
|
+
"inheritedFrom": {
|
|
121499
|
+
"name": "SbbButtonBaseElement",
|
|
121500
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121501
|
+
}
|
|
121524
121502
|
},
|
|
121525
121503
|
{
|
|
121526
121504
|
"kind": "field",
|
|
121527
|
-
"name": "
|
|
121528
|
-
"
|
|
121529
|
-
|
|
121505
|
+
"name": "_handleButtonClick",
|
|
121506
|
+
"privacy": "private",
|
|
121507
|
+
"inheritedFrom": {
|
|
121508
|
+
"name": "SbbButtonBaseElement",
|
|
121509
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121510
|
+
}
|
|
121511
|
+
},
|
|
121512
|
+
{
|
|
121513
|
+
"kind": "method",
|
|
121514
|
+
"name": "_requestSubmit",
|
|
121515
|
+
"privacy": "private",
|
|
121516
|
+
"return": {
|
|
121517
|
+
"type": {
|
|
121518
|
+
"text": "void"
|
|
121519
|
+
}
|
|
121530
121520
|
},
|
|
121531
|
-
"
|
|
121532
|
-
|
|
121533
|
-
|
|
121534
|
-
|
|
121535
|
-
|
|
121521
|
+
"parameters": [
|
|
121522
|
+
{
|
|
121523
|
+
"name": "form",
|
|
121524
|
+
"type": {
|
|
121525
|
+
"text": "HTMLFormElement"
|
|
121526
|
+
}
|
|
121527
|
+
}
|
|
121528
|
+
],
|
|
121529
|
+
"inheritedFrom": {
|
|
121530
|
+
"name": "SbbButtonBaseElement",
|
|
121531
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121532
|
+
}
|
|
121536
121533
|
},
|
|
121537
121534
|
{
|
|
121538
121535
|
"kind": "field",
|
|
121539
|
-
"name": "
|
|
121540
|
-
"
|
|
121541
|
-
|
|
121542
|
-
|
|
121543
|
-
|
|
121544
|
-
|
|
121545
|
-
"description": "The side that the sidebar is attached to.",
|
|
121546
|
-
"attribute": "position",
|
|
121547
|
-
"reflects": true
|
|
121536
|
+
"name": "_formKeyDown",
|
|
121537
|
+
"privacy": "private",
|
|
121538
|
+
"inheritedFrom": {
|
|
121539
|
+
"name": "SbbButtonBaseElement",
|
|
121540
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121541
|
+
}
|
|
121548
121542
|
},
|
|
121549
121543
|
{
|
|
121550
121544
|
"kind": "field",
|
|
121551
|
-
"name": "
|
|
121545
|
+
"name": "formAssociated",
|
|
121552
121546
|
"type": {
|
|
121553
121547
|
"text": "boolean"
|
|
121554
121548
|
},
|
|
121555
121549
|
"privacy": "public",
|
|
121556
|
-
"
|
|
121557
|
-
"
|
|
121558
|
-
"
|
|
121559
|
-
|
|
121550
|
+
"static": true,
|
|
121551
|
+
"default": "true",
|
|
121552
|
+
"inheritedFrom": {
|
|
121553
|
+
"name": "SbbFormAssociatedMixin",
|
|
121554
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121555
|
+
}
|
|
121560
121556
|
},
|
|
121561
121557
|
{
|
|
121562
121558
|
"kind": "field",
|
|
121563
|
-
"name": "
|
|
121559
|
+
"name": "name",
|
|
121560
|
+
"privacy": "public",
|
|
121561
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121564
121562
|
"type": {
|
|
121565
|
-
"text": "
|
|
121563
|
+
"text": "string"
|
|
121566
121564
|
},
|
|
121567
|
-
"
|
|
121568
|
-
"
|
|
121569
|
-
|
|
121570
|
-
|
|
121565
|
+
"attribute": "name",
|
|
121566
|
+
"inheritedFrom": {
|
|
121567
|
+
"name": "SbbFormAssociatedMixin",
|
|
121568
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121569
|
+
}
|
|
121571
121570
|
},
|
|
121572
121571
|
{
|
|
121573
121572
|
"kind": "field",
|
|
121574
|
-
"name": "
|
|
121573
|
+
"name": "validity",
|
|
121575
121574
|
"type": {
|
|
121576
|
-
"text": "
|
|
121575
|
+
"text": "ValidityState"
|
|
121577
121576
|
},
|
|
121578
121577
|
"privacy": "public",
|
|
121579
|
-
"description": "Returns the
|
|
121578
|
+
"description": "Returns the ValidityState object for this element.",
|
|
121580
121579
|
"readonly": true,
|
|
121581
|
-
"
|
|
121580
|
+
"inheritedFrom": {
|
|
121581
|
+
"name": "SbbFormAssociatedMixin",
|
|
121582
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121583
|
+
}
|
|
121582
121584
|
},
|
|
121583
121585
|
{
|
|
121584
121586
|
"kind": "field",
|
|
121585
|
-
"name": "
|
|
121587
|
+
"name": "validationMessage",
|
|
121586
121588
|
"type": {
|
|
121587
|
-
"text": "
|
|
121589
|
+
"text": "string"
|
|
121588
121590
|
},
|
|
121589
|
-
"privacy": "
|
|
121590
|
-
"
|
|
121591
|
+
"privacy": "public",
|
|
121592
|
+
"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.",
|
|
121593
|
+
"readonly": true,
|
|
121594
|
+
"inheritedFrom": {
|
|
121595
|
+
"name": "SbbFormAssociatedMixin",
|
|
121596
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121597
|
+
}
|
|
121591
121598
|
},
|
|
121592
121599
|
{
|
|
121593
121600
|
"kind": "field",
|
|
121594
|
-
"name": "
|
|
121601
|
+
"name": "willValidate",
|
|
121595
121602
|
"type": {
|
|
121596
|
-
"text": "
|
|
121603
|
+
"text": "boolean"
|
|
121597
121604
|
},
|
|
121598
|
-
"privacy": "
|
|
121599
|
-
"
|
|
121600
|
-
|
|
121601
|
-
|
|
121602
|
-
|
|
121603
|
-
|
|
121604
|
-
|
|
121605
|
-
"default": "new SbbFocusTrapController(this)"
|
|
121605
|
+
"privacy": "public",
|
|
121606
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
121607
|
+
"readonly": true,
|
|
121608
|
+
"inheritedFrom": {
|
|
121609
|
+
"name": "SbbFormAssociatedMixin",
|
|
121610
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121611
|
+
}
|
|
121606
121612
|
},
|
|
121607
121613
|
{
|
|
121608
121614
|
"kind": "field",
|
|
121609
|
-
"name": "
|
|
121615
|
+
"name": "_validityStates",
|
|
121610
121616
|
"privacy": "private",
|
|
121611
|
-
"default": "new
|
|
121617
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
121618
|
+
"inheritedFrom": {
|
|
121619
|
+
"name": "SbbFormAssociatedMixin",
|
|
121620
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121621
|
+
}
|
|
121612
121622
|
},
|
|
121613
121623
|
{
|
|
121614
121624
|
"kind": "field",
|
|
121615
|
-
"name": "
|
|
121616
|
-
"
|
|
121617
|
-
|
|
121618
|
-
{
|
|
121619
|
-
"kind": "method",
|
|
121620
|
-
"name": "toggle",
|
|
121621
|
-
"privacy": "public",
|
|
121622
|
-
"return": {
|
|
121623
|
-
"type": {
|
|
121624
|
-
"text": "void"
|
|
121625
|
-
}
|
|
121626
|
-
},
|
|
121627
|
-
"description": "Toggles the sidebar visibility."
|
|
121628
|
-
},
|
|
121629
|
-
{
|
|
121630
|
-
"kind": "method",
|
|
121631
|
-
"name": "open",
|
|
121632
|
-
"privacy": "public",
|
|
121633
|
-
"return": {
|
|
121634
|
-
"type": {
|
|
121635
|
-
"text": "void"
|
|
121636
|
-
}
|
|
121625
|
+
"name": "formDisabled",
|
|
121626
|
+
"type": {
|
|
121627
|
+
"text": "boolean"
|
|
121637
121628
|
},
|
|
121638
|
-
"
|
|
121629
|
+
"privacy": "protected",
|
|
121630
|
+
"default": "false",
|
|
121631
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
121639
121632
|
"inheritedFrom": {
|
|
121640
|
-
"name": "
|
|
121641
|
-
"module": "core/
|
|
121633
|
+
"name": "SbbFormAssociatedMixin",
|
|
121634
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121642
121635
|
}
|
|
121643
121636
|
},
|
|
121644
121637
|
{
|
|
121645
121638
|
"kind": "method",
|
|
121646
|
-
"name": "
|
|
121647
|
-
"privacy": "
|
|
121639
|
+
"name": "checkValidity",
|
|
121640
|
+
"privacy": "public",
|
|
121648
121641
|
"return": {
|
|
121649
121642
|
"type": {
|
|
121650
121643
|
"text": "boolean"
|
|
121651
121644
|
}
|
|
121645
|
+
},
|
|
121646
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
121647
|
+
"inheritedFrom": {
|
|
121648
|
+
"name": "SbbFormAssociatedMixin",
|
|
121649
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121652
121650
|
}
|
|
121653
121651
|
},
|
|
121654
121652
|
{
|
|
121655
121653
|
"kind": "method",
|
|
121656
|
-
"name": "
|
|
121657
|
-
"privacy": "
|
|
121654
|
+
"name": "reportValidity",
|
|
121655
|
+
"privacy": "public",
|
|
121658
121656
|
"return": {
|
|
121659
121657
|
"type": {
|
|
121660
|
-
"text": "
|
|
121658
|
+
"text": "boolean"
|
|
121661
121659
|
}
|
|
121660
|
+
},
|
|
121661
|
+
"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.",
|
|
121662
|
+
"inheritedFrom": {
|
|
121663
|
+
"name": "SbbFormAssociatedMixin",
|
|
121664
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121662
121665
|
}
|
|
121663
121666
|
},
|
|
121664
121667
|
{
|
|
121665
121668
|
"kind": "method",
|
|
121666
|
-
"name": "
|
|
121669
|
+
"name": "setCustomValidity",
|
|
121667
121670
|
"privacy": "public",
|
|
121668
121671
|
"return": {
|
|
121669
121672
|
"type": {
|
|
121670
121673
|
"text": "void"
|
|
121671
121674
|
}
|
|
121672
121675
|
},
|
|
121673
|
-
"
|
|
121676
|
+
"parameters": [
|
|
121677
|
+
{
|
|
121678
|
+
"name": "message",
|
|
121679
|
+
"type": {
|
|
121680
|
+
"text": "string"
|
|
121681
|
+
}
|
|
121682
|
+
}
|
|
121683
|
+
],
|
|
121684
|
+
"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.",
|
|
121674
121685
|
"inheritedFrom": {
|
|
121675
|
-
"name": "
|
|
121676
|
-
"module": "core/
|
|
121686
|
+
"name": "SbbFormAssociatedMixin",
|
|
121687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121677
121688
|
}
|
|
121678
121689
|
},
|
|
121679
121690
|
{
|
|
121680
121691
|
"kind": "method",
|
|
121681
|
-
"name": "
|
|
121692
|
+
"name": "_hasDisabledAncestor",
|
|
121682
121693
|
"privacy": "private",
|
|
121683
121694
|
"return": {
|
|
121684
121695
|
"type": {
|
|
121685
|
-
"text": "
|
|
121696
|
+
"text": "boolean"
|
|
121686
121697
|
}
|
|
121698
|
+
},
|
|
121699
|
+
"inheritedFrom": {
|
|
121700
|
+
"name": "SbbFormAssociatedMixin",
|
|
121701
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121687
121702
|
}
|
|
121688
121703
|
},
|
|
121689
121704
|
{
|
|
121690
121705
|
"kind": "method",
|
|
121691
|
-
"name": "
|
|
121692
|
-
"privacy": "
|
|
121706
|
+
"name": "updateFormValue",
|
|
121707
|
+
"privacy": "protected",
|
|
121693
121708
|
"return": {
|
|
121694
121709
|
"type": {
|
|
121695
121710
|
"text": "void"
|
|
121696
121711
|
}
|
|
121712
|
+
},
|
|
121713
|
+
"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",
|
|
121714
|
+
"inheritedFrom": {
|
|
121715
|
+
"name": "SbbFormAssociatedMixin",
|
|
121716
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121697
121717
|
}
|
|
121698
121718
|
},
|
|
121699
121719
|
{
|
|
121700
121720
|
"kind": "method",
|
|
121701
|
-
"name": "
|
|
121721
|
+
"name": "formState",
|
|
121702
121722
|
"privacy": "protected",
|
|
121703
121723
|
"return": {
|
|
121704
121724
|
"type": {
|
|
121705
|
-
"text": "
|
|
121725
|
+
"text": "FormRestoreState"
|
|
121706
121726
|
}
|
|
121727
|
+
},
|
|
121728
|
+
"inheritedFrom": {
|
|
121729
|
+
"name": "SbbFormAssociatedMixin",
|
|
121730
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121707
121731
|
}
|
|
121708
121732
|
},
|
|
121709
121733
|
{
|
|
121710
121734
|
"kind": "method",
|
|
121711
|
-
"name": "
|
|
121712
|
-
"privacy": "
|
|
121735
|
+
"name": "setValidityFlag",
|
|
121736
|
+
"privacy": "protected",
|
|
121713
121737
|
"return": {
|
|
121714
121738
|
"type": {
|
|
121715
121739
|
"text": "void"
|
|
@@ -121717,44 +121741,35 @@
|
|
|
121717
121741
|
},
|
|
121718
121742
|
"parameters": [
|
|
121719
121743
|
{
|
|
121720
|
-
"name": "
|
|
121721
|
-
"optional": true,
|
|
121744
|
+
"name": "flag",
|
|
121722
121745
|
"type": {
|
|
121723
|
-
"text": "
|
|
121746
|
+
"text": "T"
|
|
121724
121747
|
}
|
|
121725
|
-
}
|
|
121726
|
-
]
|
|
121727
|
-
},
|
|
121728
|
-
{
|
|
121729
|
-
"kind": "method",
|
|
121730
|
-
"name": "_buildCssWidthVar",
|
|
121731
|
-
"privacy": "private",
|
|
121732
|
-
"return": {
|
|
121733
|
-
"type": {
|
|
121734
|
-
"text": "string"
|
|
121735
|
-
}
|
|
121736
|
-
},
|
|
121737
|
-
"parameters": [
|
|
121748
|
+
},
|
|
121738
121749
|
{
|
|
121739
|
-
"name": "
|
|
121740
|
-
"
|
|
121741
|
-
|
|
121742
|
-
|
|
121743
|
-
|
|
121744
|
-
|
|
121745
|
-
|
|
121746
|
-
|
|
121747
|
-
|
|
121748
|
-
|
|
121749
|
-
|
|
121750
|
-
"text": "boolean"
|
|
121750
|
+
"name": "message",
|
|
121751
|
+
"type": {
|
|
121752
|
+
"text": "string"
|
|
121753
|
+
}
|
|
121754
|
+
},
|
|
121755
|
+
{
|
|
121756
|
+
"name": "flagValue",
|
|
121757
|
+
"optional": true,
|
|
121758
|
+
"type": {
|
|
121759
|
+
"text": "ValidityStateFlags[T]"
|
|
121760
|
+
}
|
|
121751
121761
|
}
|
|
121762
|
+
],
|
|
121763
|
+
"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).",
|
|
121764
|
+
"inheritedFrom": {
|
|
121765
|
+
"name": "SbbFormAssociatedMixin",
|
|
121766
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121752
121767
|
}
|
|
121753
121768
|
},
|
|
121754
121769
|
{
|
|
121755
121770
|
"kind": "method",
|
|
121756
|
-
"name": "
|
|
121757
|
-
"privacy": "
|
|
121771
|
+
"name": "removeValidityFlag",
|
|
121772
|
+
"privacy": "protected",
|
|
121758
121773
|
"return": {
|
|
121759
121774
|
"type": {
|
|
121760
121775
|
"text": "void"
|
|
@@ -121762,230 +121777,173 @@
|
|
|
121762
121777
|
},
|
|
121763
121778
|
"parameters": [
|
|
121764
121779
|
{
|
|
121765
|
-
"name": "
|
|
121780
|
+
"name": "flag",
|
|
121766
121781
|
"type": {
|
|
121767
|
-
"text": "
|
|
121782
|
+
"text": "T"
|
|
121768
121783
|
}
|
|
121769
121784
|
}
|
|
121770
|
-
]
|
|
121771
|
-
|
|
121772
|
-
{
|
|
121773
|
-
"kind": "method",
|
|
121774
|
-
"name": "_detectScrolledState",
|
|
121775
|
-
"privacy": "private",
|
|
121776
|
-
"return": {
|
|
121777
|
-
"type": {
|
|
121778
|
-
"text": "void"
|
|
121779
|
-
}
|
|
121780
|
-
}
|
|
121781
|
-
},
|
|
121782
|
-
{
|
|
121783
|
-
"kind": "field",
|
|
121784
|
-
"name": "isAnimating",
|
|
121785
|
-
"type": {
|
|
121786
|
-
"text": "boolean"
|
|
121787
|
-
},
|
|
121788
|
-
"privacy": "public",
|
|
121789
|
-
"default": "false",
|
|
121790
|
-
"description": "Whether the component is currently animating.",
|
|
121791
|
-
"inheritedFrom": {
|
|
121792
|
-
"name": "SbbAnimationCompleteMixin",
|
|
121793
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
121794
|
-
}
|
|
121795
|
-
},
|
|
121796
|
-
{
|
|
121797
|
-
"kind": "field",
|
|
121798
|
-
"name": "animationComplete",
|
|
121799
|
-
"type": {
|
|
121800
|
-
"text": "Promise<void>"
|
|
121801
|
-
},
|
|
121802
|
-
"privacy": "public",
|
|
121803
|
-
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
121804
|
-
"readonly": true,
|
|
121805
|
-
"inheritedFrom": {
|
|
121806
|
-
"name": "SbbAnimationCompleteMixin",
|
|
121807
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
121808
|
-
}
|
|
121809
|
-
},
|
|
121810
|
-
{
|
|
121811
|
-
"kind": "field",
|
|
121812
|
-
"name": "_animationPromise",
|
|
121813
|
-
"type": {
|
|
121814
|
-
"text": "Promise<void>"
|
|
121815
|
-
},
|
|
121816
|
-
"privacy": "private",
|
|
121785
|
+
],
|
|
121786
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121817
121787
|
"inheritedFrom": {
|
|
121818
|
-
"name": "
|
|
121819
|
-
"module": "core/mixins/
|
|
121788
|
+
"name": "SbbFormAssociatedMixin",
|
|
121789
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121820
121790
|
}
|
|
121821
121791
|
},
|
|
121822
121792
|
{
|
|
121823
121793
|
"kind": "method",
|
|
121824
|
-
"name": "
|
|
121794
|
+
"name": "validate",
|
|
121825
121795
|
"privacy": "protected",
|
|
121826
121796
|
"return": {
|
|
121827
121797
|
"type": {
|
|
121828
121798
|
"text": "void"
|
|
121829
121799
|
}
|
|
121830
121800
|
},
|
|
121801
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
121831
121802
|
"inheritedFrom": {
|
|
121832
|
-
"name": "
|
|
121833
|
-
"module": "core/mixins/
|
|
121803
|
+
"name": "SbbFormAssociatedMixin",
|
|
121804
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121834
121805
|
}
|
|
121835
121806
|
},
|
|
121836
121807
|
{
|
|
121837
121808
|
"kind": "method",
|
|
121838
|
-
"name": "
|
|
121809
|
+
"name": "shouldValidate",
|
|
121839
121810
|
"privacy": "protected",
|
|
121840
121811
|
"return": {
|
|
121841
121812
|
"type": {
|
|
121842
|
-
"text": "
|
|
121813
|
+
"text": "boolean"
|
|
121843
121814
|
}
|
|
121844
121815
|
},
|
|
121845
|
-
"
|
|
121816
|
+
"parameters": [
|
|
121817
|
+
{
|
|
121818
|
+
"name": "name",
|
|
121819
|
+
"type": {
|
|
121820
|
+
"text": "PropertyKey | undefined"
|
|
121821
|
+
}
|
|
121822
|
+
}
|
|
121823
|
+
],
|
|
121824
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
121846
121825
|
"inheritedFrom": {
|
|
121847
|
-
"name": "
|
|
121848
|
-
"module": "core/mixins/
|
|
121826
|
+
"name": "SbbFormAssociatedMixin",
|
|
121827
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121849
121828
|
}
|
|
121850
121829
|
},
|
|
121851
121830
|
{
|
|
121852
121831
|
"kind": "method",
|
|
121853
|
-
"name": "
|
|
121832
|
+
"name": "_setInternalValidity",
|
|
121854
121833
|
"privacy": "private",
|
|
121855
121834
|
"return": {
|
|
121856
121835
|
"type": {
|
|
121857
|
-
"text": "
|
|
121836
|
+
"text": "void"
|
|
121858
121837
|
}
|
|
121859
121838
|
},
|
|
121860
121839
|
"inheritedFrom": {
|
|
121861
|
-
"name": "
|
|
121862
|
-
"module": "core/mixins/
|
|
121840
|
+
"name": "SbbFormAssociatedMixin",
|
|
121841
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121863
121842
|
}
|
|
121864
121843
|
},
|
|
121865
121844
|
{
|
|
121866
121845
|
"kind": "field",
|
|
121867
|
-
"name": "
|
|
121846
|
+
"name": "role",
|
|
121847
|
+
"type": {
|
|
121848
|
+
"text": "ElementInternals['role']"
|
|
121849
|
+
},
|
|
121868
121850
|
"privacy": "public",
|
|
121869
121851
|
"static": true,
|
|
121870
121852
|
"readonly": true,
|
|
121871
|
-
"default": "
|
|
121872
|
-
"type": {
|
|
121873
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
121874
|
-
},
|
|
121853
|
+
"default": "'button'",
|
|
121875
121854
|
"inheritedFrom": {
|
|
121876
|
-
"name": "
|
|
121877
|
-
"module": "core/base-elements/
|
|
121855
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121856
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121878
121857
|
}
|
|
121879
121858
|
},
|
|
121880
121859
|
{
|
|
121881
121860
|
"kind": "field",
|
|
121882
|
-
"name": "
|
|
121883
|
-
"privacy": "
|
|
121884
|
-
"description": "
|
|
121885
|
-
"
|
|
121886
|
-
|
|
121887
|
-
|
|
121888
|
-
|
|
121861
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
121862
|
+
"privacy": "private",
|
|
121863
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121864
|
+
"parameters": [
|
|
121865
|
+
{
|
|
121866
|
+
"description": "The origin event.",
|
|
121867
|
+
"name": "event"
|
|
121868
|
+
}
|
|
121869
|
+
],
|
|
121889
121870
|
"inheritedFrom": {
|
|
121890
|
-
"name": "
|
|
121891
|
-
"module": "core/base-elements/
|
|
121871
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121872
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121892
121873
|
}
|
|
121893
121874
|
},
|
|
121894
121875
|
{
|
|
121895
121876
|
"kind": "field",
|
|
121896
|
-
"name": "
|
|
121897
|
-
"type": {
|
|
121898
|
-
"text": "SbbOpenedClosedState"
|
|
121899
|
-
},
|
|
121877
|
+
"name": "_removeActiveMarker",
|
|
121900
121878
|
"privacy": "private",
|
|
121901
121879
|
"inheritedFrom": {
|
|
121902
|
-
"name": "
|
|
121903
|
-
"module": "core/base-elements/
|
|
121880
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121881
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121904
121882
|
}
|
|
121905
121883
|
},
|
|
121906
121884
|
{
|
|
121907
121885
|
"kind": "field",
|
|
121908
|
-
"name": "
|
|
121909
|
-
"
|
|
121910
|
-
|
|
121911
|
-
|
|
121912
|
-
|
|
121913
|
-
|
|
121914
|
-
|
|
121915
|
-
"inheritedFrom": {
|
|
121916
|
-
"name": "SbbOpenCloseBaseElement",
|
|
121917
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
121918
|
-
}
|
|
121919
|
-
},
|
|
121920
|
-
{
|
|
121921
|
-
"kind": "method",
|
|
121922
|
-
"name": "escapeStrategy",
|
|
121923
|
-
"privacy": "public",
|
|
121924
|
-
"return": {
|
|
121925
|
-
"type": {
|
|
121926
|
-
"text": "void"
|
|
121886
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121887
|
+
"privacy": "private",
|
|
121888
|
+
"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.",
|
|
121889
|
+
"parameters": [
|
|
121890
|
+
{
|
|
121891
|
+
"description": "The origin event.",
|
|
121892
|
+
"name": "event"
|
|
121927
121893
|
}
|
|
121928
|
-
|
|
121929
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
121894
|
+
],
|
|
121930
121895
|
"inheritedFrom": {
|
|
121931
|
-
"name": "
|
|
121932
|
-
"module": "core/base-elements/
|
|
121896
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121897
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121933
121898
|
}
|
|
121934
121899
|
},
|
|
121935
121900
|
{
|
|
121936
|
-
"kind": "
|
|
121937
|
-
"name": "
|
|
121938
|
-
"privacy": "
|
|
121939
|
-
"return": {
|
|
121940
|
-
"type": {
|
|
121941
|
-
"text": "boolean"
|
|
121942
|
-
}
|
|
121943
|
-
},
|
|
121901
|
+
"kind": "field",
|
|
121902
|
+
"name": "_dispatchClickEvent",
|
|
121903
|
+
"privacy": "private",
|
|
121944
121904
|
"inheritedFrom": {
|
|
121945
|
-
"name": "
|
|
121946
|
-
"module": "core/base-elements/
|
|
121905
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121906
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121947
121907
|
}
|
|
121948
121908
|
},
|
|
121949
121909
|
{
|
|
121950
|
-
"kind": "
|
|
121951
|
-
"name": "
|
|
121952
|
-
"
|
|
121953
|
-
|
|
121954
|
-
"type": {
|
|
121955
|
-
"text": "boolean"
|
|
121956
|
-
}
|
|
121910
|
+
"kind": "field",
|
|
121911
|
+
"name": "maybeDisabled",
|
|
121912
|
+
"type": {
|
|
121913
|
+
"text": "boolean | undefined"
|
|
121957
121914
|
},
|
|
121915
|
+
"privacy": "protected",
|
|
121916
|
+
"readonly": true,
|
|
121958
121917
|
"inheritedFrom": {
|
|
121959
|
-
"name": "
|
|
121960
|
-
"module": "core/base-elements/
|
|
121918
|
+
"name": "SbbActionBaseElement",
|
|
121919
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121961
121920
|
}
|
|
121962
121921
|
},
|
|
121963
121922
|
{
|
|
121964
|
-
"kind": "
|
|
121965
|
-
"name": "
|
|
121966
|
-
"
|
|
121967
|
-
|
|
121968
|
-
"type": {
|
|
121969
|
-
"text": "boolean"
|
|
121970
|
-
}
|
|
121923
|
+
"kind": "field",
|
|
121924
|
+
"name": "maybeDisabledInteractive",
|
|
121925
|
+
"type": {
|
|
121926
|
+
"text": "boolean | undefined"
|
|
121971
121927
|
},
|
|
121928
|
+
"privacy": "protected",
|
|
121929
|
+
"readonly": true,
|
|
121972
121930
|
"inheritedFrom": {
|
|
121973
|
-
"name": "
|
|
121974
|
-
"module": "core/base-elements/
|
|
121931
|
+
"name": "SbbActionBaseElement",
|
|
121932
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121975
121933
|
}
|
|
121976
121934
|
},
|
|
121977
121935
|
{
|
|
121978
121936
|
"kind": "method",
|
|
121979
|
-
"name": "
|
|
121937
|
+
"name": "setupBaseEventHandlers",
|
|
121980
121938
|
"privacy": "protected",
|
|
121981
121939
|
"return": {
|
|
121982
121940
|
"type": {
|
|
121983
|
-
"text": "
|
|
121941
|
+
"text": "void"
|
|
121984
121942
|
}
|
|
121985
121943
|
},
|
|
121986
121944
|
"inheritedFrom": {
|
|
121987
|
-
"name": "
|
|
121988
|
-
"module": "core/base-elements/
|
|
121945
|
+
"name": "SbbActionBaseElement",
|
|
121946
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121989
121947
|
}
|
|
121990
121948
|
},
|
|
121991
121949
|
{
|
|
@@ -122094,108 +122052,150 @@
|
|
|
122094
122052
|
}
|
|
122095
122053
|
}
|
|
122096
122054
|
],
|
|
122055
|
+
"superclass": {
|
|
122056
|
+
"name": "SbbSecondaryButtonElement",
|
|
122057
|
+
"module": "button.pure.js"
|
|
122058
|
+
},
|
|
122059
|
+
"tagName": "sbb-sidebar-close-button",
|
|
122060
|
+
"customElement": true,
|
|
122097
122061
|
"attributes": [
|
|
122098
122062
|
{
|
|
122099
|
-
"name": "
|
|
122063
|
+
"name": "size",
|
|
122100
122064
|
"type": {
|
|
122101
|
-
"text": "
|
|
122065
|
+
"text": "SbbButtonSize"
|
|
122102
122066
|
},
|
|
122103
|
-
"
|
|
122104
|
-
"
|
|
122105
|
-
"fieldName": "
|
|
122067
|
+
"description": "Size variant, either l, m or s.",
|
|
122068
|
+
"default": "'l' / 's' (lean)",
|
|
122069
|
+
"fieldName": "size",
|
|
122070
|
+
"inheritedFrom": {
|
|
122071
|
+
"name": "SbbButtonCommonElementMixin",
|
|
122072
|
+
"module": "button/common/button-common.js"
|
|
122073
|
+
}
|
|
122106
122074
|
},
|
|
122107
122075
|
{
|
|
122108
|
-
"name": "
|
|
122076
|
+
"name": "loading",
|
|
122109
122077
|
"type": {
|
|
122110
|
-
"text": "
|
|
122078
|
+
"text": "boolean"
|
|
122111
122079
|
},
|
|
122112
|
-
"default": "
|
|
122113
|
-
"description": "
|
|
122114
|
-
"fieldName": "
|
|
122080
|
+
"default": "false",
|
|
122081
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
122082
|
+
"fieldName": "loading",
|
|
122083
|
+
"inheritedFrom": {
|
|
122084
|
+
"name": "SbbButtonCommonElementMixin",
|
|
122085
|
+
"module": "button/common/button-common.js"
|
|
122086
|
+
}
|
|
122115
122087
|
},
|
|
122116
122088
|
{
|
|
122117
|
-
"name": "
|
|
122089
|
+
"name": "negative",
|
|
122118
122090
|
"type": {
|
|
122119
|
-
"text": "
|
|
122091
|
+
"text": "boolean"
|
|
122120
122092
|
},
|
|
122121
|
-
"default": "
|
|
122122
|
-
"description": "
|
|
122123
|
-
"fieldName": "
|
|
122093
|
+
"default": "false",
|
|
122094
|
+
"description": "Negative coloring variant flag.",
|
|
122095
|
+
"fieldName": "negative",
|
|
122096
|
+
"inheritedFrom": {
|
|
122097
|
+
"name": "SbbNegativeMixin",
|
|
122098
|
+
"module": "core/mixins/negative-mixin.js"
|
|
122099
|
+
}
|
|
122124
122100
|
},
|
|
122125
122101
|
{
|
|
122126
|
-
"name": "
|
|
122102
|
+
"name": "icon-name",
|
|
122127
122103
|
"type": {
|
|
122128
|
-
"text": "
|
|
122104
|
+
"text": "string"
|
|
122129
122105
|
},
|
|
122130
|
-
"default": "
|
|
122131
|
-
"description": "
|
|
122132
|
-
"fieldName": "
|
|
122106
|
+
"default": "''",
|
|
122107
|
+
"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.",
|
|
122108
|
+
"fieldName": "iconName",
|
|
122109
|
+
"inheritedFrom": {
|
|
122110
|
+
"name": "SbbIconNameMixin",
|
|
122111
|
+
"module": "icon/icon-name-mixin.js"
|
|
122112
|
+
}
|
|
122133
122113
|
},
|
|
122134
122114
|
{
|
|
122135
|
-
"name": "
|
|
122115
|
+
"name": "disabled-interactive",
|
|
122136
122116
|
"type": {
|
|
122137
122117
|
"text": "boolean"
|
|
122138
122118
|
},
|
|
122139
122119
|
"default": "false",
|
|
122140
|
-
"description": "Whether the
|
|
122141
|
-
"fieldName": "
|
|
122142
|
-
|
|
122143
|
-
|
|
122144
|
-
|
|
122120
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
122121
|
+
"fieldName": "disabledInteractive",
|
|
122122
|
+
"inheritedFrom": {
|
|
122123
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
122124
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122125
|
+
}
|
|
122126
|
+
},
|
|
122145
122127
|
{
|
|
122146
|
-
"name": "
|
|
122147
|
-
"
|
|
122148
|
-
|
|
122149
|
-
|
|
122150
|
-
|
|
122151
|
-
|
|
122152
|
-
|
|
122153
|
-
|
|
122154
|
-
|
|
122155
|
-
|
|
122156
|
-
|
|
122128
|
+
"name": "disabled",
|
|
122129
|
+
"description": "Whether the component is disabled.",
|
|
122130
|
+
"default": "false",
|
|
122131
|
+
"type": {
|
|
122132
|
+
"text": "boolean"
|
|
122133
|
+
},
|
|
122134
|
+
"fieldName": "disabled",
|
|
122135
|
+
"inheritedFrom": {
|
|
122136
|
+
"name": "SbbDisabledMixin",
|
|
122137
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122138
|
+
}
|
|
122139
|
+
},
|
|
122157
122140
|
{
|
|
122158
|
-
"name": "
|
|
122141
|
+
"name": "value",
|
|
122159
122142
|
"type": {
|
|
122160
|
-
"text": "
|
|
122143
|
+
"text": "string"
|
|
122161
122144
|
},
|
|
122162
|
-
"
|
|
122145
|
+
"default": "''",
|
|
122146
|
+
"description": "Value of the form element.",
|
|
122147
|
+
"fieldName": "value",
|
|
122163
122148
|
"inheritedFrom": {
|
|
122164
|
-
"name": "
|
|
122165
|
-
"module": "core/base-elements/
|
|
122149
|
+
"name": "SbbButtonBaseElement",
|
|
122150
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122166
122151
|
}
|
|
122167
122152
|
},
|
|
122168
122153
|
{
|
|
122169
|
-
"name": "
|
|
122154
|
+
"name": "type",
|
|
122155
|
+
"description": "The type attribute to use for the button.",
|
|
122156
|
+
"default": "'button'",
|
|
122170
122157
|
"type": {
|
|
122171
|
-
"text": "
|
|
122158
|
+
"text": "SbbButtonType"
|
|
122172
122159
|
},
|
|
122173
|
-
"
|
|
122160
|
+
"fieldName": "type",
|
|
122174
122161
|
"inheritedFrom": {
|
|
122175
|
-
"name": "
|
|
122176
|
-
"module": "core/base-elements/
|
|
122162
|
+
"name": "SbbButtonBaseElement",
|
|
122163
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122177
122164
|
}
|
|
122178
122165
|
},
|
|
122179
122166
|
{
|
|
122180
|
-
"name": "
|
|
122167
|
+
"name": "form",
|
|
122168
|
+
"description": "The `<form>` element to associate the button with.",
|
|
122181
122169
|
"type": {
|
|
122182
|
-
"text": "
|
|
122170
|
+
"text": "HTMLFormElement | null"
|
|
122183
122171
|
},
|
|
122184
|
-
"
|
|
122172
|
+
"fieldName": "form",
|
|
122185
122173
|
"inheritedFrom": {
|
|
122186
|
-
"name": "
|
|
122187
|
-
"module": "core/base-elements/
|
|
122174
|
+
"name": "SbbButtonBaseElement",
|
|
122175
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122188
122176
|
}
|
|
122189
122177
|
},
|
|
122190
122178
|
{
|
|
122191
|
-
"name": "
|
|
122179
|
+
"name": "name",
|
|
122180
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
122192
122181
|
"type": {
|
|
122193
|
-
"text": "
|
|
122182
|
+
"text": "string"
|
|
122194
122183
|
},
|
|
122195
|
-
"
|
|
122184
|
+
"fieldName": "name",
|
|
122196
122185
|
"inheritedFrom": {
|
|
122197
|
-
"name": "
|
|
122198
|
-
"module": "core/
|
|
122186
|
+
"name": "SbbFormAssociatedMixin",
|
|
122187
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
122188
|
+
}
|
|
122189
|
+
}
|
|
122190
|
+
],
|
|
122191
|
+
"cssProperties": [
|
|
122192
|
+
{
|
|
122193
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
122194
|
+
"name": "--sbb-button-loading-delay",
|
|
122195
|
+
"default": "300ms",
|
|
122196
|
+
"inheritedFrom": {
|
|
122197
|
+
"name": "SbbSecondaryButtonElement",
|
|
122198
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
122199
122199
|
}
|
|
122200
122200
|
}
|
|
122201
122201
|
]
|
|
@@ -122204,10 +122204,10 @@
|
|
|
122204
122204
|
"exports": [
|
|
122205
122205
|
{
|
|
122206
122206
|
"kind": "js",
|
|
122207
|
-
"name": "
|
|
122207
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
122208
122208
|
"declaration": {
|
|
122209
|
-
"name": "
|
|
122210
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
122209
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
122210
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
122211
122211
|
}
|
|
122212
122212
|
}
|
|
122213
122213
|
]
|