@sbb-esta/lyne-elements-dev 4.10.0-dev.1775999614 → 4.10.0-dev.1776029734
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 +1348 -1348
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -106270,27 +106270,23 @@
|
|
|
106270
106270
|
},
|
|
106271
106271
|
{
|
|
106272
106272
|
"kind": "javascript-module",
|
|
106273
|
-
"path": "menu/menu
|
|
106273
|
+
"path": "menu/menu/menu.component.js",
|
|
106274
106274
|
"declarations": [
|
|
106275
106275
|
{
|
|
106276
106276
|
"kind": "class",
|
|
106277
|
-
"description": "It displays a
|
|
106278
|
-
"name": "
|
|
106277
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
106278
|
+
"name": "SbbMenuElement",
|
|
106279
106279
|
"cssProperties": [
|
|
106280
106280
|
{
|
|
106281
|
-
"description": "
|
|
106282
|
-
"name": "--sbb-menu-
|
|
106283
|
-
"default": "var(--sbb-
|
|
106281
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
106282
|
+
"name": "--sbb-menu-z-index",
|
|
106283
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
106284
106284
|
}
|
|
106285
106285
|
],
|
|
106286
106286
|
"slots": [
|
|
106287
106287
|
{
|
|
106288
|
-
"description": "Use the unnamed slot to add
|
|
106288
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
106289
106289
|
"name": ""
|
|
106290
|
-
},
|
|
106291
|
-
{
|
|
106292
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
106293
|
-
"name": "icon"
|
|
106294
106290
|
}
|
|
106295
106291
|
],
|
|
106296
106292
|
"members": [
|
|
@@ -106307,261 +106303,274 @@
|
|
|
106307
106303
|
"name": "SbbElement",
|
|
106308
106304
|
"module": "core/base-elements/element.js"
|
|
106309
106305
|
},
|
|
106310
|
-
"default": "'sbb-menu
|
|
106306
|
+
"default": "'sbb-menu'"
|
|
106311
106307
|
},
|
|
106312
106308
|
{
|
|
106313
106309
|
"kind": "field",
|
|
106314
106310
|
"name": "role",
|
|
106315
106311
|
"type": {
|
|
106316
|
-
"text": "
|
|
106312
|
+
"text": "string"
|
|
106317
106313
|
},
|
|
106318
106314
|
"privacy": "public",
|
|
106319
106315
|
"static": true,
|
|
106320
106316
|
"readonly": true,
|
|
106321
|
-
"default": "'
|
|
106322
|
-
"inheritedFrom": {
|
|
106323
|
-
"name": "SbbButtonLikeBaseElement",
|
|
106324
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106325
|
-
}
|
|
106317
|
+
"default": "'menu'"
|
|
106326
106318
|
},
|
|
106327
106319
|
{
|
|
106328
106320
|
"kind": "field",
|
|
106329
|
-
"name": "
|
|
106321
|
+
"name": "trigger",
|
|
106330
106322
|
"type": {
|
|
106331
|
-
"text": "
|
|
106323
|
+
"text": "HTMLElement | null"
|
|
106332
106324
|
},
|
|
106333
106325
|
"privacy": "public",
|
|
106334
|
-
"default": "
|
|
106335
|
-
"description": "
|
|
106336
|
-
"attribute": "
|
|
106337
|
-
"reflects": true,
|
|
106338
|
-
"inheritedFrom": {
|
|
106339
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
106340
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106341
|
-
}
|
|
106326
|
+
"default": "null",
|
|
106327
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106328
|
+
"attribute": "trigger"
|
|
106342
106329
|
},
|
|
106343
106330
|
{
|
|
106344
106331
|
"kind": "field",
|
|
106345
|
-
"name": "
|
|
106346
|
-
"privacy": "public",
|
|
106347
|
-
"description": "Whether the component is disabled.",
|
|
106348
|
-
"default": "false",
|
|
106332
|
+
"name": "_menu",
|
|
106349
106333
|
"type": {
|
|
106350
|
-
"text": "
|
|
106334
|
+
"text": "HTMLDivElement"
|
|
106351
106335
|
},
|
|
106352
|
-
"
|
|
106353
|
-
"reflects": true,
|
|
106354
|
-
"inheritedFrom": {
|
|
106355
|
-
"name": "SbbDisabledMixin",
|
|
106356
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106357
|
-
}
|
|
106336
|
+
"privacy": "private"
|
|
106358
106337
|
},
|
|
106359
106338
|
{
|
|
106360
106339
|
"kind": "field",
|
|
106361
|
-
"name": "
|
|
106340
|
+
"name": "_triggerElement",
|
|
106341
|
+
"type": {
|
|
106342
|
+
"text": "HTMLElement | null"
|
|
106343
|
+
},
|
|
106362
106344
|
"privacy": "private",
|
|
106345
|
+
"default": "null"
|
|
106346
|
+
},
|
|
106347
|
+
{
|
|
106348
|
+
"kind": "field",
|
|
106349
|
+
"name": "_triggerAbortController",
|
|
106350
|
+
"type": {
|
|
106351
|
+
"text": "AbortController"
|
|
106352
|
+
},
|
|
106353
|
+
"privacy": "private"
|
|
106354
|
+
},
|
|
106355
|
+
{
|
|
106356
|
+
"kind": "field",
|
|
106357
|
+
"name": "_isPointerDownEventOnMenu",
|
|
106363
106358
|
"type": {
|
|
106364
106359
|
"text": "boolean"
|
|
106365
106360
|
},
|
|
106366
|
-
"
|
|
106367
|
-
"
|
|
106368
|
-
|
|
106369
|
-
|
|
106370
|
-
|
|
106361
|
+
"privacy": "private",
|
|
106362
|
+
"default": "false"
|
|
106363
|
+
},
|
|
106364
|
+
{
|
|
106365
|
+
"kind": "field",
|
|
106366
|
+
"name": "_windowEventsController",
|
|
106367
|
+
"type": {
|
|
106368
|
+
"text": "AbortController"
|
|
106369
|
+
},
|
|
106370
|
+
"privacy": "private"
|
|
106371
|
+
},
|
|
106372
|
+
{
|
|
106373
|
+
"kind": "field",
|
|
106374
|
+
"name": "_escapableOverlayController",
|
|
106375
|
+
"privacy": "private",
|
|
106376
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
106377
|
+
},
|
|
106378
|
+
{
|
|
106379
|
+
"kind": "field",
|
|
106380
|
+
"name": "_focusTrapController",
|
|
106381
|
+
"privacy": "private",
|
|
106382
|
+
"default": "new SbbFocusTrapController(this)"
|
|
106383
|
+
},
|
|
106384
|
+
{
|
|
106385
|
+
"kind": "field",
|
|
106386
|
+
"name": "_scrollHandler",
|
|
106387
|
+
"privacy": "private",
|
|
106388
|
+
"default": "new SbbScrollHandler()"
|
|
106389
|
+
},
|
|
106390
|
+
{
|
|
106391
|
+
"kind": "field",
|
|
106392
|
+
"name": "_inertController",
|
|
106393
|
+
"privacy": "private",
|
|
106394
|
+
"default": "new SbbInertController(this)"
|
|
106395
|
+
},
|
|
106396
|
+
{
|
|
106397
|
+
"kind": "field",
|
|
106398
|
+
"name": "_mobileBreakpoint",
|
|
106399
|
+
"privacy": "private",
|
|
106400
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
106401
|
+
},
|
|
106402
|
+
{
|
|
106403
|
+
"kind": "field",
|
|
106404
|
+
"name": "_mediaMatcher",
|
|
106405
|
+
"privacy": "private",
|
|
106406
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
106407
|
+
},
|
|
106408
|
+
{
|
|
106409
|
+
"kind": "field",
|
|
106410
|
+
"name": "_darkModeController",
|
|
106411
|
+
"privacy": "private",
|
|
106412
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
106413
|
+
},
|
|
106414
|
+
{
|
|
106415
|
+
"kind": "field",
|
|
106416
|
+
"name": "_language",
|
|
106417
|
+
"privacy": "private",
|
|
106418
|
+
"default": "new SbbLanguageController(this)"
|
|
106419
|
+
},
|
|
106420
|
+
{
|
|
106421
|
+
"kind": "field",
|
|
106422
|
+
"name": "_nestedMenu",
|
|
106423
|
+
"type": {
|
|
106424
|
+
"text": "SbbMenuElement | null"
|
|
106425
|
+
},
|
|
106426
|
+
"privacy": "private",
|
|
106427
|
+
"default": "null"
|
|
106371
106428
|
},
|
|
106372
106429
|
{
|
|
106373
106430
|
"kind": "method",
|
|
106374
|
-
"name": "
|
|
106375
|
-
"privacy": "
|
|
106431
|
+
"name": "escapeStrategy",
|
|
106432
|
+
"privacy": "public",
|
|
106376
106433
|
"return": {
|
|
106377
106434
|
"type": {
|
|
106378
|
-
"text": "
|
|
106435
|
+
"text": "void"
|
|
106379
106436
|
}
|
|
106380
106437
|
},
|
|
106381
|
-
"description": "
|
|
106438
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
106382
106439
|
"inheritedFrom": {
|
|
106383
|
-
"name": "
|
|
106384
|
-
"module": "core/
|
|
106440
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106441
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106385
106442
|
}
|
|
106386
106443
|
},
|
|
106387
106444
|
{
|
|
106388
|
-
"kind": "
|
|
106389
|
-
"name": "
|
|
106390
|
-
"type": {
|
|
106391
|
-
"text": "CSSResultGroup"
|
|
106392
|
-
},
|
|
106445
|
+
"kind": "method",
|
|
106446
|
+
"name": "open",
|
|
106393
106447
|
"privacy": "public",
|
|
106394
|
-
"
|
|
106395
|
-
|
|
106448
|
+
"return": {
|
|
106449
|
+
"type": {
|
|
106450
|
+
"text": "void"
|
|
106451
|
+
}
|
|
106452
|
+
},
|
|
106453
|
+
"description": "Opens the menu on trigger click.",
|
|
106396
106454
|
"inheritedFrom": {
|
|
106397
|
-
"name": "
|
|
106398
|
-
"module": "
|
|
106455
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106456
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106399
106457
|
}
|
|
106400
106458
|
},
|
|
106401
106459
|
{
|
|
106402
106460
|
"kind": "method",
|
|
106403
|
-
"name": "
|
|
106404
|
-
"privacy": "
|
|
106461
|
+
"name": "close",
|
|
106462
|
+
"privacy": "public",
|
|
106405
106463
|
"return": {
|
|
106406
106464
|
"type": {
|
|
106407
|
-
"text": "
|
|
106465
|
+
"text": "void"
|
|
106408
106466
|
}
|
|
106409
106467
|
},
|
|
106410
|
-
"description": "
|
|
106468
|
+
"description": "Closes the menu and all its nested menus.",
|
|
106411
106469
|
"inheritedFrom": {
|
|
106412
|
-
"name": "
|
|
106413
|
-
"module": "core/base-elements/
|
|
106470
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106471
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106414
106472
|
}
|
|
106415
106473
|
},
|
|
106416
106474
|
{
|
|
106417
|
-
"kind": "
|
|
106418
|
-
"name": "
|
|
106419
|
-
"type": {
|
|
106420
|
-
"text": "string"
|
|
106421
|
-
},
|
|
106475
|
+
"kind": "method",
|
|
106476
|
+
"name": "closeAll",
|
|
106422
106477
|
"privacy": "public",
|
|
106423
|
-
"
|
|
106424
|
-
|
|
106425
|
-
|
|
106426
|
-
|
|
106427
|
-
|
|
106428
|
-
|
|
106429
|
-
}
|
|
106478
|
+
"return": {
|
|
106479
|
+
"type": {
|
|
106480
|
+
"text": "void"
|
|
106481
|
+
}
|
|
106482
|
+
},
|
|
106483
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
106430
106484
|
},
|
|
106431
106485
|
{
|
|
106432
106486
|
"kind": "method",
|
|
106433
|
-
"name": "
|
|
106434
|
-
"privacy": "
|
|
106487
|
+
"name": "_close",
|
|
106488
|
+
"privacy": "private",
|
|
106435
106489
|
"return": {
|
|
106436
106490
|
"type": {
|
|
106437
|
-
"text": "
|
|
106491
|
+
"text": "void"
|
|
106438
106492
|
}
|
|
106439
106493
|
},
|
|
106440
106494
|
"parameters": [
|
|
106441
106495
|
{
|
|
106442
|
-
"name": "
|
|
106443
|
-
"
|
|
106444
|
-
"
|
|
106445
|
-
|
|
106446
|
-
}
|
|
106496
|
+
"name": "closeAll",
|
|
106497
|
+
"default": "false",
|
|
106498
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
106499
|
+
"optional": true
|
|
106447
106500
|
}
|
|
106448
|
-
]
|
|
106449
|
-
"inheritedFrom": {
|
|
106450
|
-
"name": "SbbIconNameMixin",
|
|
106451
|
-
"module": "icon/icon-name-mixin.js"
|
|
106452
|
-
}
|
|
106501
|
+
]
|
|
106453
106502
|
},
|
|
106454
106503
|
{
|
|
106455
106504
|
"kind": "method",
|
|
106456
|
-
"name": "
|
|
106457
|
-
"privacy": "
|
|
106505
|
+
"name": "_isZeroAnimationDuration",
|
|
106506
|
+
"privacy": "private",
|
|
106458
106507
|
"return": {
|
|
106459
106508
|
"type": {
|
|
106460
|
-
"text": "
|
|
106509
|
+
"text": "boolean"
|
|
106461
106510
|
}
|
|
106462
|
-
},
|
|
106463
|
-
"inheritedFrom": {
|
|
106464
|
-
"name": "SbbIconNameMixin",
|
|
106465
|
-
"module": "icon/icon-name-mixin.js"
|
|
106466
106511
|
}
|
|
106467
106512
|
},
|
|
106468
106513
|
{
|
|
106469
106514
|
"kind": "method",
|
|
106470
|
-
"name": "
|
|
106515
|
+
"name": "_handleOpening",
|
|
106471
106516
|
"privacy": "private",
|
|
106472
106517
|
"return": {
|
|
106473
106518
|
"type": {
|
|
106474
|
-
"text": "
|
|
106519
|
+
"text": "void"
|
|
106475
106520
|
}
|
|
106476
|
-
},
|
|
106477
|
-
"inheritedFrom": {
|
|
106478
|
-
"name": "SbbIconNameMixin",
|
|
106479
|
-
"module": "icon/icon-name-mixin.js"
|
|
106480
106521
|
}
|
|
106481
106522
|
},
|
|
106482
106523
|
{
|
|
106483
|
-
"kind": "
|
|
106484
|
-
"name": "
|
|
106485
|
-
"type": {
|
|
106486
|
-
"text": "array"
|
|
106487
|
-
},
|
|
106524
|
+
"kind": "method",
|
|
106525
|
+
"name": "_handleClosing",
|
|
106488
106526
|
"privacy": "private",
|
|
106489
|
-
"
|
|
106490
|
-
|
|
106491
|
-
|
|
106492
|
-
|
|
106493
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106494
|
-
}
|
|
106495
|
-
},
|
|
106496
|
-
{
|
|
106497
|
-
"kind": "field",
|
|
106498
|
-
"name": "value",
|
|
106499
|
-
"type": {
|
|
106500
|
-
"text": "string"
|
|
106501
|
-
},
|
|
106502
|
-
"privacy": "public",
|
|
106503
|
-
"inheritedFrom": {
|
|
106504
|
-
"name": "SbbButtonBaseElement",
|
|
106505
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106506
|
-
},
|
|
106507
|
-
"default": "''",
|
|
106508
|
-
"description": "Value of the form element.",
|
|
106509
|
-
"attribute": "value"
|
|
106510
|
-
},
|
|
106511
|
-
{
|
|
106512
|
-
"kind": "field",
|
|
106513
|
-
"name": "type",
|
|
106514
|
-
"privacy": "public",
|
|
106515
|
-
"description": "The type attribute to use for the button.",
|
|
106516
|
-
"default": "'button'",
|
|
106517
|
-
"type": {
|
|
106518
|
-
"text": "SbbButtonType"
|
|
106519
|
-
},
|
|
106520
|
-
"attribute": "type",
|
|
106521
|
-
"inheritedFrom": {
|
|
106522
|
-
"name": "SbbButtonBaseElement",
|
|
106523
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106527
|
+
"return": {
|
|
106528
|
+
"type": {
|
|
106529
|
+
"text": "void"
|
|
106530
|
+
}
|
|
106524
106531
|
}
|
|
106525
106532
|
},
|
|
106526
106533
|
{
|
|
106527
|
-
"kind": "
|
|
106528
|
-
"name": "
|
|
106529
|
-
"
|
|
106530
|
-
|
|
106531
|
-
|
|
106532
|
-
|
|
106533
|
-
|
|
106534
|
-
"inheritedFrom": {
|
|
106535
|
-
"name": "SbbButtonBaseElement",
|
|
106536
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106534
|
+
"kind": "method",
|
|
106535
|
+
"name": "_handleKeyDown",
|
|
106536
|
+
"privacy": "private",
|
|
106537
|
+
"return": {
|
|
106538
|
+
"type": {
|
|
106539
|
+
"text": "void"
|
|
106540
|
+
}
|
|
106537
106541
|
},
|
|
106538
|
-
"
|
|
106542
|
+
"parameters": [
|
|
106543
|
+
{
|
|
106544
|
+
"name": "evt",
|
|
106545
|
+
"type": {
|
|
106546
|
+
"text": "KeyboardEvent"
|
|
106547
|
+
}
|
|
106548
|
+
}
|
|
106549
|
+
]
|
|
106539
106550
|
},
|
|
106540
106551
|
{
|
|
106541
|
-
"kind": "
|
|
106542
|
-
"name": "
|
|
106543
|
-
"type": {
|
|
106544
|
-
"text": "string"
|
|
106545
|
-
},
|
|
106552
|
+
"kind": "method",
|
|
106553
|
+
"name": "_configureTrigger",
|
|
106546
106554
|
"privacy": "private",
|
|
106547
|
-
"
|
|
106548
|
-
|
|
106549
|
-
|
|
106550
|
-
|
|
106555
|
+
"return": {
|
|
106556
|
+
"type": {
|
|
106557
|
+
"text": "void"
|
|
106558
|
+
}
|
|
106551
106559
|
}
|
|
106552
106560
|
},
|
|
106553
106561
|
{
|
|
106554
|
-
"kind": "
|
|
106555
|
-
"name": "
|
|
106562
|
+
"kind": "method",
|
|
106563
|
+
"name": "_attachWindowEvents",
|
|
106556
106564
|
"privacy": "private",
|
|
106557
|
-
"
|
|
106558
|
-
"
|
|
106559
|
-
|
|
106565
|
+
"return": {
|
|
106566
|
+
"type": {
|
|
106567
|
+
"text": "void"
|
|
106568
|
+
}
|
|
106560
106569
|
}
|
|
106561
106570
|
},
|
|
106562
106571
|
{
|
|
106563
106572
|
"kind": "method",
|
|
106564
|
-
"name": "
|
|
106573
|
+
"name": "_interactiveElementClick",
|
|
106565
106574
|
"privacy": "private",
|
|
106566
106575
|
"return": {
|
|
106567
106576
|
"type": {
|
|
@@ -106570,154 +106579,79 @@
|
|
|
106570
106579
|
},
|
|
106571
106580
|
"parameters": [
|
|
106572
106581
|
{
|
|
106573
|
-
"name": "
|
|
106582
|
+
"name": "event",
|
|
106574
106583
|
"type": {
|
|
106575
|
-
"text": "
|
|
106584
|
+
"text": "Event"
|
|
106576
106585
|
}
|
|
106577
106586
|
}
|
|
106578
|
-
]
|
|
106579
|
-
"inheritedFrom": {
|
|
106580
|
-
"name": "SbbButtonBaseElement",
|
|
106581
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106582
|
-
}
|
|
106583
|
-
},
|
|
106584
|
-
{
|
|
106585
|
-
"kind": "field",
|
|
106586
|
-
"name": "_formKeyDown",
|
|
106587
|
-
"privacy": "private",
|
|
106588
|
-
"inheritedFrom": {
|
|
106589
|
-
"name": "SbbButtonBaseElement",
|
|
106590
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106591
|
-
}
|
|
106592
|
-
},
|
|
106593
|
-
{
|
|
106594
|
-
"kind": "field",
|
|
106595
|
-
"name": "formAssociated",
|
|
106596
|
-
"type": {
|
|
106597
|
-
"text": "boolean"
|
|
106598
|
-
},
|
|
106599
|
-
"privacy": "public",
|
|
106600
|
-
"static": true,
|
|
106601
|
-
"default": "true",
|
|
106602
|
-
"inheritedFrom": {
|
|
106603
|
-
"name": "SbbFormAssociatedMixin",
|
|
106604
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106605
|
-
}
|
|
106606
|
-
},
|
|
106607
|
-
{
|
|
106608
|
-
"kind": "field",
|
|
106609
|
-
"name": "name",
|
|
106610
|
-
"privacy": "public",
|
|
106611
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
106612
|
-
"type": {
|
|
106613
|
-
"text": "string"
|
|
106614
|
-
},
|
|
106615
|
-
"attribute": "name",
|
|
106616
|
-
"inheritedFrom": {
|
|
106617
|
-
"name": "SbbFormAssociatedMixin",
|
|
106618
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106619
|
-
}
|
|
106587
|
+
]
|
|
106620
106588
|
},
|
|
106621
106589
|
{
|
|
106622
106590
|
"kind": "field",
|
|
106623
|
-
"name": "
|
|
106624
|
-
"
|
|
106625
|
-
"text": "ValidityState"
|
|
106626
|
-
},
|
|
106627
|
-
"privacy": "public",
|
|
106628
|
-
"description": "Returns the ValidityState object for this element.",
|
|
106629
|
-
"readonly": true,
|
|
106630
|
-
"inheritedFrom": {
|
|
106631
|
-
"name": "SbbFormAssociatedMixin",
|
|
106632
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106633
|
-
}
|
|
106591
|
+
"name": "_pointerDownListener",
|
|
106592
|
+
"privacy": "private"
|
|
106634
106593
|
},
|
|
106635
106594
|
{
|
|
106636
106595
|
"kind": "field",
|
|
106637
|
-
"name": "
|
|
106638
|
-
"
|
|
106639
|
-
"text": "string"
|
|
106640
|
-
},
|
|
106641
|
-
"privacy": "public",
|
|
106642
|
-
"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.",
|
|
106643
|
-
"readonly": true,
|
|
106644
|
-
"inheritedFrom": {
|
|
106645
|
-
"name": "SbbFormAssociatedMixin",
|
|
106646
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106647
|
-
}
|
|
106596
|
+
"name": "_closeOnBackdropClick",
|
|
106597
|
+
"privacy": "private"
|
|
106648
106598
|
},
|
|
106649
106599
|
{
|
|
106650
|
-
"kind": "
|
|
106651
|
-
"name": "
|
|
106652
|
-
"
|
|
106653
|
-
|
|
106600
|
+
"kind": "method",
|
|
106601
|
+
"name": "_nestedMenus",
|
|
106602
|
+
"privacy": "private",
|
|
106603
|
+
"return": {
|
|
106604
|
+
"type": {
|
|
106605
|
+
"text": "SbbMenuElement[]"
|
|
106606
|
+
}
|
|
106654
106607
|
},
|
|
106655
|
-
"
|
|
106656
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
106657
|
-
"readonly": true,
|
|
106658
|
-
"inheritedFrom": {
|
|
106659
|
-
"name": "SbbFormAssociatedMixin",
|
|
106660
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106661
|
-
}
|
|
106608
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106662
106609
|
},
|
|
106663
106610
|
{
|
|
106664
|
-
"kind": "
|
|
106665
|
-
"name": "
|
|
106611
|
+
"kind": "method",
|
|
106612
|
+
"name": "_parentMenu",
|
|
106666
106613
|
"privacy": "private",
|
|
106667
|
-
"
|
|
106668
|
-
|
|
106669
|
-
|
|
106670
|
-
|
|
106614
|
+
"return": {
|
|
106615
|
+
"type": {
|
|
106616
|
+
"text": "SbbMenuElement | null"
|
|
106617
|
+
}
|
|
106671
106618
|
}
|
|
106672
106619
|
},
|
|
106673
106620
|
{
|
|
106674
|
-
"kind": "
|
|
106675
|
-
"name": "
|
|
106676
|
-
"
|
|
106677
|
-
|
|
106621
|
+
"kind": "method",
|
|
106622
|
+
"name": "_mainMenu",
|
|
106623
|
+
"privacy": "private",
|
|
106624
|
+
"return": {
|
|
106625
|
+
"type": {
|
|
106626
|
+
"text": "SbbMenuElement"
|
|
106627
|
+
}
|
|
106678
106628
|
},
|
|
106679
|
-
"
|
|
106680
|
-
"default": "false",
|
|
106681
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
106682
|
-
"inheritedFrom": {
|
|
106683
|
-
"name": "SbbFormAssociatedMixin",
|
|
106684
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106685
|
-
}
|
|
106629
|
+
"description": "The outermost menu."
|
|
106686
106630
|
},
|
|
106687
106631
|
{
|
|
106688
106632
|
"kind": "method",
|
|
106689
|
-
"name": "
|
|
106690
|
-
"privacy": "
|
|
106633
|
+
"name": "_isNested",
|
|
106634
|
+
"privacy": "private",
|
|
106691
106635
|
"return": {
|
|
106692
106636
|
"type": {
|
|
106693
106637
|
"text": "boolean"
|
|
106694
106638
|
}
|
|
106695
|
-
},
|
|
106696
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
106697
|
-
"inheritedFrom": {
|
|
106698
|
-
"name": "SbbFormAssociatedMixin",
|
|
106699
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106700
106639
|
}
|
|
106701
106640
|
},
|
|
106702
106641
|
{
|
|
106703
106642
|
"kind": "method",
|
|
106704
|
-
"name": "
|
|
106705
|
-
"privacy": "
|
|
106643
|
+
"name": "_updateNestedInert",
|
|
106644
|
+
"privacy": "private",
|
|
106706
106645
|
"return": {
|
|
106707
106646
|
"type": {
|
|
106708
|
-
"text": "
|
|
106647
|
+
"text": "void"
|
|
106709
106648
|
}
|
|
106710
|
-
},
|
|
106711
|
-
"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.",
|
|
106712
|
-
"inheritedFrom": {
|
|
106713
|
-
"name": "SbbFormAssociatedMixin",
|
|
106714
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106715
106649
|
}
|
|
106716
106650
|
},
|
|
106717
106651
|
{
|
|
106718
106652
|
"kind": "method",
|
|
106719
|
-
"name": "
|
|
106720
|
-
"privacy": "
|
|
106653
|
+
"name": "_handleMouseOver",
|
|
106654
|
+
"privacy": "private",
|
|
106721
106655
|
"return": {
|
|
106722
106656
|
"type": {
|
|
106723
106657
|
"text": "void"
|
|
@@ -106725,260 +106659,170 @@
|
|
|
106725
106659
|
},
|
|
106726
106660
|
"parameters": [
|
|
106727
106661
|
{
|
|
106728
|
-
"name": "
|
|
106662
|
+
"name": "event",
|
|
106729
106663
|
"type": {
|
|
106730
|
-
"text": "
|
|
106664
|
+
"text": "MouseEvent"
|
|
106731
106665
|
}
|
|
106732
106666
|
}
|
|
106733
|
-
]
|
|
106734
|
-
"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.",
|
|
106735
|
-
"inheritedFrom": {
|
|
106736
|
-
"name": "SbbFormAssociatedMixin",
|
|
106737
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106738
|
-
}
|
|
106667
|
+
]
|
|
106739
106668
|
},
|
|
106740
106669
|
{
|
|
106741
106670
|
"kind": "method",
|
|
106742
|
-
"name": "
|
|
106671
|
+
"name": "_onMenuAnimationEnd",
|
|
106743
106672
|
"privacy": "private",
|
|
106744
106673
|
"return": {
|
|
106745
106674
|
"type": {
|
|
106746
|
-
"text": "
|
|
106747
|
-
}
|
|
106748
|
-
},
|
|
106749
|
-
"inheritedFrom": {
|
|
106750
|
-
"name": "SbbFormAssociatedMixin",
|
|
106751
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106752
|
-
}
|
|
106753
|
-
},
|
|
106754
|
-
{
|
|
106755
|
-
"kind": "method",
|
|
106756
|
-
"name": "updateFormValue",
|
|
106757
|
-
"privacy": "protected",
|
|
106758
|
-
"return": {
|
|
106759
|
-
"type": {
|
|
106760
|
-
"text": "void"
|
|
106761
|
-
}
|
|
106762
|
-
},
|
|
106763
|
-
"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",
|
|
106764
|
-
"inheritedFrom": {
|
|
106765
|
-
"name": "SbbFormAssociatedMixin",
|
|
106766
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106767
|
-
}
|
|
106768
|
-
},
|
|
106769
|
-
{
|
|
106770
|
-
"kind": "method",
|
|
106771
|
-
"name": "formState",
|
|
106772
|
-
"privacy": "protected",
|
|
106773
|
-
"return": {
|
|
106774
|
-
"type": {
|
|
106775
|
-
"text": "FormRestoreState"
|
|
106776
|
-
}
|
|
106777
|
-
},
|
|
106778
|
-
"inheritedFrom": {
|
|
106779
|
-
"name": "SbbFormAssociatedMixin",
|
|
106780
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106781
|
-
}
|
|
106782
|
-
},
|
|
106783
|
-
{
|
|
106784
|
-
"kind": "method",
|
|
106785
|
-
"name": "setValidityFlag",
|
|
106786
|
-
"privacy": "protected",
|
|
106787
|
-
"return": {
|
|
106788
|
-
"type": {
|
|
106789
|
-
"text": "void"
|
|
106675
|
+
"text": "void"
|
|
106790
106676
|
}
|
|
106791
106677
|
},
|
|
106792
106678
|
"parameters": [
|
|
106793
106679
|
{
|
|
106794
|
-
"name": "
|
|
106795
|
-
"type": {
|
|
106796
|
-
"text": "T"
|
|
106797
|
-
}
|
|
106798
|
-
},
|
|
106799
|
-
{
|
|
106800
|
-
"name": "message",
|
|
106801
|
-
"type": {
|
|
106802
|
-
"text": "string"
|
|
106803
|
-
}
|
|
106804
|
-
},
|
|
106805
|
-
{
|
|
106806
|
-
"name": "flagValue",
|
|
106807
|
-
"optional": true,
|
|
106680
|
+
"name": "event",
|
|
106808
106681
|
"type": {
|
|
106809
|
-
"text": "
|
|
106682
|
+
"text": "AnimationEvent"
|
|
106810
106683
|
}
|
|
106811
106684
|
}
|
|
106812
|
-
]
|
|
106813
|
-
"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).",
|
|
106814
|
-
"inheritedFrom": {
|
|
106815
|
-
"name": "SbbFormAssociatedMixin",
|
|
106816
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106817
|
-
}
|
|
106685
|
+
]
|
|
106818
106686
|
},
|
|
106819
106687
|
{
|
|
106820
106688
|
"kind": "method",
|
|
106821
|
-
"name": "
|
|
106822
|
-
"privacy": "
|
|
106689
|
+
"name": "_setMenuPosition",
|
|
106690
|
+
"privacy": "private",
|
|
106823
106691
|
"return": {
|
|
106824
106692
|
"type": {
|
|
106825
106693
|
"text": "void"
|
|
106826
106694
|
}
|
|
106827
|
-
},
|
|
106828
|
-
"parameters": [
|
|
106829
|
-
{
|
|
106830
|
-
"name": "flag",
|
|
106831
|
-
"type": {
|
|
106832
|
-
"text": "T"
|
|
106833
|
-
}
|
|
106834
|
-
}
|
|
106835
|
-
],
|
|
106836
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
106837
|
-
"inheritedFrom": {
|
|
106838
|
-
"name": "SbbFormAssociatedMixin",
|
|
106839
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106840
106695
|
}
|
|
106841
106696
|
},
|
|
106842
106697
|
{
|
|
106843
106698
|
"kind": "method",
|
|
106844
|
-
"name": "
|
|
106845
|
-
"privacy": "
|
|
106699
|
+
"name": "_syncNegative",
|
|
106700
|
+
"privacy": "private",
|
|
106846
106701
|
"return": {
|
|
106847
106702
|
"type": {
|
|
106848
106703
|
"text": "void"
|
|
106849
106704
|
}
|
|
106850
|
-
},
|
|
106851
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
106852
|
-
"inheritedFrom": {
|
|
106853
|
-
"name": "SbbFormAssociatedMixin",
|
|
106854
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106855
106705
|
}
|
|
106856
106706
|
},
|
|
106857
106707
|
{
|
|
106858
106708
|
"kind": "method",
|
|
106859
|
-
"name": "
|
|
106860
|
-
"privacy": "
|
|
106709
|
+
"name": "_isMobile",
|
|
106710
|
+
"privacy": "private",
|
|
106861
106711
|
"return": {
|
|
106862
106712
|
"type": {
|
|
106863
106713
|
"text": "boolean"
|
|
106864
106714
|
}
|
|
106865
|
-
},
|
|
106866
|
-
"parameters": [
|
|
106867
|
-
{
|
|
106868
|
-
"name": "name",
|
|
106869
|
-
"type": {
|
|
106870
|
-
"text": "PropertyKey | undefined"
|
|
106871
|
-
}
|
|
106872
|
-
}
|
|
106873
|
-
],
|
|
106874
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
106875
|
-
"inheritedFrom": {
|
|
106876
|
-
"name": "SbbFormAssociatedMixin",
|
|
106877
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106878
106715
|
}
|
|
106879
106716
|
},
|
|
106880
106717
|
{
|
|
106881
|
-
"kind": "
|
|
106882
|
-
"name": "
|
|
106883
|
-
"privacy": "
|
|
106884
|
-
"
|
|
106885
|
-
|
|
106886
|
-
|
|
106887
|
-
|
|
106718
|
+
"kind": "field",
|
|
106719
|
+
"name": "events",
|
|
106720
|
+
"privacy": "public",
|
|
106721
|
+
"static": true,
|
|
106722
|
+
"readonly": true,
|
|
106723
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106724
|
+
"type": {
|
|
106725
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106888
106726
|
},
|
|
106889
106727
|
"inheritedFrom": {
|
|
106890
|
-
"name": "
|
|
106891
|
-
"module": "core/
|
|
106728
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106729
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106892
106730
|
}
|
|
106893
106731
|
},
|
|
106894
106732
|
{
|
|
106895
106733
|
"kind": "field",
|
|
106896
|
-
"name": "
|
|
106897
|
-
"privacy": "
|
|
106898
|
-
"description": "
|
|
106899
|
-
"
|
|
106900
|
-
|
|
106901
|
-
|
|
106902
|
-
|
|
106903
|
-
}
|
|
106904
|
-
],
|
|
106734
|
+
"name": "state",
|
|
106735
|
+
"privacy": "protected",
|
|
106736
|
+
"description": "The state of the component.",
|
|
106737
|
+
"type": {
|
|
106738
|
+
"text": "SbbOpenedClosedState"
|
|
106739
|
+
},
|
|
106740
|
+
"default": "'closed'",
|
|
106905
106741
|
"inheritedFrom": {
|
|
106906
|
-
"name": "
|
|
106907
|
-
"module": "core/base-elements/
|
|
106742
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106743
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106908
106744
|
}
|
|
106909
106745
|
},
|
|
106910
106746
|
{
|
|
106911
106747
|
"kind": "field",
|
|
106912
|
-
"name": "
|
|
106748
|
+
"name": "_state",
|
|
106749
|
+
"type": {
|
|
106750
|
+
"text": "SbbOpenedClosedState"
|
|
106751
|
+
},
|
|
106913
106752
|
"privacy": "private",
|
|
106914
106753
|
"inheritedFrom": {
|
|
106915
|
-
"name": "
|
|
106916
|
-
"module": "core/base-elements/
|
|
106754
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106755
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106917
106756
|
}
|
|
106918
106757
|
},
|
|
106919
106758
|
{
|
|
106920
106759
|
"kind": "field",
|
|
106921
|
-
"name": "
|
|
106922
|
-
"
|
|
106923
|
-
|
|
106924
|
-
|
|
106925
|
-
|
|
106926
|
-
|
|
106927
|
-
|
|
106928
|
-
}
|
|
106929
|
-
],
|
|
106760
|
+
"name": "isOpen",
|
|
106761
|
+
"type": {
|
|
106762
|
+
"text": "boolean"
|
|
106763
|
+
},
|
|
106764
|
+
"privacy": "public",
|
|
106765
|
+
"description": "Whether the element is open.",
|
|
106766
|
+
"readonly": true,
|
|
106930
106767
|
"inheritedFrom": {
|
|
106931
|
-
"name": "
|
|
106932
|
-
"module": "core/base-elements/
|
|
106768
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106769
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106933
106770
|
}
|
|
106934
106771
|
},
|
|
106935
106772
|
{
|
|
106936
|
-
"kind": "
|
|
106937
|
-
"name": "
|
|
106938
|
-
"privacy": "
|
|
106773
|
+
"kind": "method",
|
|
106774
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106775
|
+
"privacy": "protected",
|
|
106776
|
+
"return": {
|
|
106777
|
+
"type": {
|
|
106778
|
+
"text": "boolean"
|
|
106779
|
+
}
|
|
106780
|
+
},
|
|
106939
106781
|
"inheritedFrom": {
|
|
106940
|
-
"name": "
|
|
106941
|
-
"module": "core/base-elements/
|
|
106782
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106783
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106942
106784
|
}
|
|
106943
106785
|
},
|
|
106944
106786
|
{
|
|
106945
|
-
"kind": "
|
|
106946
|
-
"name": "
|
|
106947
|
-
"type": {
|
|
106948
|
-
"text": "boolean | undefined"
|
|
106949
|
-
},
|
|
106787
|
+
"kind": "method",
|
|
106788
|
+
"name": "dispatchOpenEvent",
|
|
106950
106789
|
"privacy": "protected",
|
|
106951
|
-
"
|
|
106790
|
+
"return": {
|
|
106791
|
+
"type": {
|
|
106792
|
+
"text": "boolean"
|
|
106793
|
+
}
|
|
106794
|
+
},
|
|
106952
106795
|
"inheritedFrom": {
|
|
106953
|
-
"name": "
|
|
106954
|
-
"module": "core/base-elements/
|
|
106796
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106797
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106955
106798
|
}
|
|
106956
106799
|
},
|
|
106957
106800
|
{
|
|
106958
|
-
"kind": "
|
|
106959
|
-
"name": "
|
|
106960
|
-
"type": {
|
|
106961
|
-
"text": "boolean | undefined"
|
|
106962
|
-
},
|
|
106801
|
+
"kind": "method",
|
|
106802
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106963
106803
|
"privacy": "protected",
|
|
106964
|
-
"
|
|
106804
|
+
"return": {
|
|
106805
|
+
"type": {
|
|
106806
|
+
"text": "boolean"
|
|
106807
|
+
}
|
|
106808
|
+
},
|
|
106965
106809
|
"inheritedFrom": {
|
|
106966
|
-
"name": "
|
|
106967
|
-
"module": "core/base-elements/
|
|
106810
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106811
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106968
106812
|
}
|
|
106969
106813
|
},
|
|
106970
106814
|
{
|
|
106971
106815
|
"kind": "method",
|
|
106972
|
-
"name": "
|
|
106816
|
+
"name": "dispatchCloseEvent",
|
|
106973
106817
|
"privacy": "protected",
|
|
106974
106818
|
"return": {
|
|
106975
106819
|
"type": {
|
|
106976
|
-
"text": "
|
|
106820
|
+
"text": "boolean"
|
|
106977
106821
|
}
|
|
106978
106822
|
},
|
|
106979
106823
|
"inheritedFrom": {
|
|
106980
|
-
"name": "
|
|
106981
|
-
"module": "core/base-elements/
|
|
106824
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106825
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106982
106826
|
}
|
|
106983
106827
|
},
|
|
106984
106828
|
{
|
|
@@ -107087,110 +106931,66 @@
|
|
|
107087
106931
|
}
|
|
107088
106932
|
}
|
|
107089
106933
|
],
|
|
107090
|
-
"
|
|
107091
|
-
{
|
|
107092
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
107093
|
-
"module": "core/mixins.js"
|
|
107094
|
-
},
|
|
106934
|
+
"attributes": [
|
|
107095
106935
|
{
|
|
107096
|
-
"name": "
|
|
107097
|
-
"
|
|
106936
|
+
"name": "trigger",
|
|
106937
|
+
"type": {
|
|
106938
|
+
"text": "HTMLElement | null"
|
|
106939
|
+
},
|
|
106940
|
+
"default": "null",
|
|
106941
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106942
|
+
"fieldName": "trigger"
|
|
107098
106943
|
}
|
|
107099
106944
|
],
|
|
107100
106945
|
"superclass": {
|
|
107101
|
-
"name": "
|
|
106946
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107102
106947
|
"module": "core/base-elements.js"
|
|
107103
106948
|
},
|
|
107104
|
-
"tagName": "sbb-menu
|
|
106949
|
+
"tagName": "sbb-menu",
|
|
107105
106950
|
"customElement": true,
|
|
107106
|
-
"
|
|
106951
|
+
"events": [
|
|
107107
106952
|
{
|
|
107108
|
-
"name": "
|
|
107109
|
-
"type": {
|
|
107110
|
-
"text": "boolean"
|
|
107111
|
-
},
|
|
107112
|
-
"default": "false",
|
|
107113
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107114
|
-
"fieldName": "disabledInteractive",
|
|
107115
|
-
"inheritedFrom": {
|
|
107116
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
107117
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107118
|
-
}
|
|
107119
|
-
},
|
|
107120
|
-
{
|
|
107121
|
-
"name": "disabled",
|
|
107122
|
-
"description": "Whether the component is disabled.",
|
|
107123
|
-
"default": "false",
|
|
107124
|
-
"type": {
|
|
107125
|
-
"text": "boolean"
|
|
107126
|
-
},
|
|
107127
|
-
"fieldName": "disabled",
|
|
107128
|
-
"inheritedFrom": {
|
|
107129
|
-
"name": "SbbDisabledMixin",
|
|
107130
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107131
|
-
}
|
|
107132
|
-
},
|
|
107133
|
-
{
|
|
107134
|
-
"name": "icon-name",
|
|
107135
|
-
"type": {
|
|
107136
|
-
"text": "string"
|
|
107137
|
-
},
|
|
107138
|
-
"default": "''",
|
|
107139
|
-
"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.",
|
|
107140
|
-
"fieldName": "iconName",
|
|
107141
|
-
"inheritedFrom": {
|
|
107142
|
-
"name": "SbbIconNameMixin",
|
|
107143
|
-
"module": "icon/icon-name-mixin.js"
|
|
107144
|
-
}
|
|
107145
|
-
},
|
|
107146
|
-
{
|
|
107147
|
-
"name": "value",
|
|
106953
|
+
"name": "beforeopen",
|
|
107148
106954
|
"type": {
|
|
107149
|
-
"text": "
|
|
106955
|
+
"text": "Event"
|
|
107150
106956
|
},
|
|
107151
|
-
"
|
|
107152
|
-
"description": "Value of the form element.",
|
|
107153
|
-
"fieldName": "value",
|
|
106957
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
107154
106958
|
"inheritedFrom": {
|
|
107155
|
-
"name": "
|
|
107156
|
-
"module": "core/base-elements/
|
|
106959
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106960
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107157
106961
|
}
|
|
107158
106962
|
},
|
|
107159
106963
|
{
|
|
107160
|
-
"name": "
|
|
107161
|
-
"description": "The type attribute to use for the button.",
|
|
107162
|
-
"default": "'button'",
|
|
106964
|
+
"name": "open",
|
|
107163
106965
|
"type": {
|
|
107164
|
-
"text": "
|
|
106966
|
+
"text": "Event"
|
|
107165
106967
|
},
|
|
107166
|
-
"
|
|
106968
|
+
"description": "Emits whenever the component is opened.",
|
|
107167
106969
|
"inheritedFrom": {
|
|
107168
|
-
"name": "
|
|
107169
|
-
"module": "core/base-elements/
|
|
106970
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106971
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107170
106972
|
}
|
|
107171
106973
|
},
|
|
107172
106974
|
{
|
|
107173
|
-
"name": "
|
|
107174
|
-
"description": "The `<form>` element to associate the button with.",
|
|
106975
|
+
"name": "beforeclose",
|
|
107175
106976
|
"type": {
|
|
107176
|
-
"text": "
|
|
106977
|
+
"text": "Event"
|
|
107177
106978
|
},
|
|
107178
|
-
"
|
|
106979
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
107179
106980
|
"inheritedFrom": {
|
|
107180
|
-
"name": "
|
|
107181
|
-
"module": "core/base-elements/
|
|
106981
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106982
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107182
106983
|
}
|
|
107183
106984
|
},
|
|
107184
106985
|
{
|
|
107185
|
-
"name": "
|
|
107186
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
106986
|
+
"name": "close",
|
|
107187
106987
|
"type": {
|
|
107188
|
-
"text": "
|
|
106988
|
+
"text": "Event"
|
|
107189
106989
|
},
|
|
107190
|
-
"
|
|
106990
|
+
"description": "Emits whenever the component is closed.",
|
|
107191
106991
|
"inheritedFrom": {
|
|
107192
|
-
"name": "
|
|
107193
|
-
"module": "core/
|
|
106992
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106993
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107194
106994
|
}
|
|
107195
106995
|
}
|
|
107196
106996
|
]
|
|
@@ -107199,33 +106999,37 @@
|
|
|
107199
106999
|
"exports": [
|
|
107200
107000
|
{
|
|
107201
107001
|
"kind": "js",
|
|
107202
|
-
"name": "
|
|
107002
|
+
"name": "SbbMenuElement",
|
|
107203
107003
|
"declaration": {
|
|
107204
|
-
"name": "
|
|
107205
|
-
"module": "menu/menu
|
|
107004
|
+
"name": "SbbMenuElement",
|
|
107005
|
+
"module": "menu/menu/menu.component.js"
|
|
107206
107006
|
}
|
|
107207
107007
|
}
|
|
107208
107008
|
]
|
|
107209
107009
|
},
|
|
107210
107010
|
{
|
|
107211
107011
|
"kind": "javascript-module",
|
|
107212
|
-
"path": "menu/menu/menu.component.js",
|
|
107012
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
107213
107013
|
"declarations": [
|
|
107214
107014
|
{
|
|
107215
107015
|
"kind": "class",
|
|
107216
|
-
"description": "It displays a
|
|
107217
|
-
"name": "
|
|
107016
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107017
|
+
"name": "SbbMenuButtonElement",
|
|
107218
107018
|
"cssProperties": [
|
|
107219
107019
|
{
|
|
107220
|
-
"description": "
|
|
107221
|
-
"name": "--sbb-menu-
|
|
107222
|
-
"default": "var(--sbb-
|
|
107020
|
+
"description": "Can be used to modify horizontal padding.",
|
|
107021
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
107022
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
107223
107023
|
}
|
|
107224
107024
|
],
|
|
107225
107025
|
"slots": [
|
|
107226
107026
|
{
|
|
107227
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
107027
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107228
107028
|
"name": ""
|
|
107029
|
+
},
|
|
107030
|
+
{
|
|
107031
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
107032
|
+
"name": "icon"
|
|
107229
107033
|
}
|
|
107230
107034
|
],
|
|
107231
107035
|
"members": [
|
|
@@ -107242,189 +107046,417 @@
|
|
|
107242
107046
|
"name": "SbbElement",
|
|
107243
107047
|
"module": "core/base-elements/element.js"
|
|
107244
107048
|
},
|
|
107245
|
-
"default": "'sbb-menu'"
|
|
107049
|
+
"default": "'sbb-menu-button'"
|
|
107246
107050
|
},
|
|
107247
107051
|
{
|
|
107248
107052
|
"kind": "field",
|
|
107249
107053
|
"name": "role",
|
|
107250
107054
|
"type": {
|
|
107251
|
-
"text": "
|
|
107055
|
+
"text": "ElementInternals['role']"
|
|
107252
107056
|
},
|
|
107253
107057
|
"privacy": "public",
|
|
107254
107058
|
"static": true,
|
|
107255
107059
|
"readonly": true,
|
|
107256
|
-
"default": "'
|
|
107060
|
+
"default": "'menuitem'",
|
|
107061
|
+
"inheritedFrom": {
|
|
107062
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107063
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107064
|
+
}
|
|
107257
107065
|
},
|
|
107258
107066
|
{
|
|
107259
107067
|
"kind": "field",
|
|
107260
|
-
"name": "
|
|
107068
|
+
"name": "disabledInteractive",
|
|
107261
107069
|
"type": {
|
|
107262
|
-
"text": "
|
|
107070
|
+
"text": "boolean"
|
|
107263
107071
|
},
|
|
107264
107072
|
"privacy": "public",
|
|
107265
|
-
"default": "
|
|
107266
|
-
"description": "
|
|
107267
|
-
"attribute": "
|
|
107073
|
+
"default": "false",
|
|
107074
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107075
|
+
"attribute": "disabled-interactive",
|
|
107076
|
+
"reflects": true,
|
|
107077
|
+
"inheritedFrom": {
|
|
107078
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107079
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107080
|
+
}
|
|
107268
107081
|
},
|
|
107269
107082
|
{
|
|
107270
107083
|
"kind": "field",
|
|
107271
|
-
"name": "
|
|
107084
|
+
"name": "disabled",
|
|
107085
|
+
"privacy": "public",
|
|
107086
|
+
"description": "Whether the component is disabled.",
|
|
107087
|
+
"default": "false",
|
|
107272
107088
|
"type": {
|
|
107273
|
-
"text": "
|
|
107089
|
+
"text": "boolean"
|
|
107274
107090
|
},
|
|
107275
|
-
"
|
|
107091
|
+
"attribute": "disabled",
|
|
107092
|
+
"reflects": true,
|
|
107093
|
+
"inheritedFrom": {
|
|
107094
|
+
"name": "SbbDisabledMixin",
|
|
107095
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107096
|
+
}
|
|
107276
107097
|
},
|
|
107277
107098
|
{
|
|
107278
107099
|
"kind": "field",
|
|
107279
|
-
"name": "
|
|
107100
|
+
"name": "#disabled",
|
|
107101
|
+
"privacy": "private",
|
|
107280
107102
|
"type": {
|
|
107281
|
-
"text": "
|
|
107103
|
+
"text": "boolean"
|
|
107282
107104
|
},
|
|
107283
|
-
"
|
|
107284
|
-
"
|
|
107105
|
+
"default": "false",
|
|
107106
|
+
"inheritedFrom": {
|
|
107107
|
+
"name": "SbbDisabledMixin",
|
|
107108
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107109
|
+
}
|
|
107110
|
+
},
|
|
107111
|
+
{
|
|
107112
|
+
"kind": "method",
|
|
107113
|
+
"name": "isDisabledExternally",
|
|
107114
|
+
"privacy": "protected",
|
|
107115
|
+
"return": {
|
|
107116
|
+
"type": {
|
|
107117
|
+
"text": "boolean"
|
|
107118
|
+
}
|
|
107119
|
+
},
|
|
107120
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107121
|
+
"inheritedFrom": {
|
|
107122
|
+
"name": "SbbDisabledMixin",
|
|
107123
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107124
|
+
}
|
|
107285
107125
|
},
|
|
107286
107126
|
{
|
|
107287
107127
|
"kind": "field",
|
|
107288
|
-
"name": "
|
|
107128
|
+
"name": "styles",
|
|
107289
107129
|
"type": {
|
|
107290
|
-
"text": "
|
|
107130
|
+
"text": "CSSResultGroup"
|
|
107291
107131
|
},
|
|
107292
|
-
"privacy": "
|
|
107132
|
+
"privacy": "public",
|
|
107133
|
+
"static": true,
|
|
107134
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
107135
|
+
"inheritedFrom": {
|
|
107136
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107137
|
+
"module": "menu/common/menu-action-common.js"
|
|
107138
|
+
}
|
|
107139
|
+
},
|
|
107140
|
+
{
|
|
107141
|
+
"kind": "method",
|
|
107142
|
+
"name": "renderTemplate",
|
|
107143
|
+
"privacy": "protected",
|
|
107144
|
+
"return": {
|
|
107145
|
+
"type": {
|
|
107146
|
+
"text": "TemplateResult"
|
|
107147
|
+
}
|
|
107148
|
+
},
|
|
107149
|
+
"description": "Override this method to render the component template.",
|
|
107150
|
+
"inheritedFrom": {
|
|
107151
|
+
"name": "SbbActionBaseElement",
|
|
107152
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107153
|
+
}
|
|
107293
107154
|
},
|
|
107294
107155
|
{
|
|
107295
107156
|
"kind": "field",
|
|
107296
|
-
"name": "
|
|
107157
|
+
"name": "iconName",
|
|
107297
107158
|
"type": {
|
|
107298
|
-
"text": "
|
|
107159
|
+
"text": "string"
|
|
107160
|
+
},
|
|
107161
|
+
"privacy": "public",
|
|
107162
|
+
"default": "''",
|
|
107163
|
+
"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.",
|
|
107164
|
+
"attribute": "icon-name",
|
|
107165
|
+
"inheritedFrom": {
|
|
107166
|
+
"name": "SbbIconNameMixin",
|
|
107167
|
+
"module": "icon/icon-name-mixin.js"
|
|
107168
|
+
}
|
|
107169
|
+
},
|
|
107170
|
+
{
|
|
107171
|
+
"kind": "method",
|
|
107172
|
+
"name": "renderIconSlot",
|
|
107173
|
+
"privacy": "protected",
|
|
107174
|
+
"return": {
|
|
107175
|
+
"type": {
|
|
107176
|
+
"text": "TemplateResult"
|
|
107177
|
+
}
|
|
107178
|
+
},
|
|
107179
|
+
"parameters": [
|
|
107180
|
+
{
|
|
107181
|
+
"name": "classname",
|
|
107182
|
+
"optional": true,
|
|
107183
|
+
"type": {
|
|
107184
|
+
"text": "string"
|
|
107185
|
+
}
|
|
107186
|
+
}
|
|
107187
|
+
],
|
|
107188
|
+
"inheritedFrom": {
|
|
107189
|
+
"name": "SbbIconNameMixin",
|
|
107190
|
+
"module": "icon/icon-name-mixin.js"
|
|
107191
|
+
}
|
|
107192
|
+
},
|
|
107193
|
+
{
|
|
107194
|
+
"kind": "method",
|
|
107195
|
+
"name": "renderIconName",
|
|
107196
|
+
"privacy": "protected",
|
|
107197
|
+
"return": {
|
|
107198
|
+
"type": {
|
|
107199
|
+
"text": "string"
|
|
107200
|
+
}
|
|
107299
107201
|
},
|
|
107202
|
+
"inheritedFrom": {
|
|
107203
|
+
"name": "SbbIconNameMixin",
|
|
107204
|
+
"module": "icon/icon-name-mixin.js"
|
|
107205
|
+
}
|
|
107206
|
+
},
|
|
107207
|
+
{
|
|
107208
|
+
"kind": "method",
|
|
107209
|
+
"name": "_renderIconName",
|
|
107300
107210
|
"privacy": "private",
|
|
107301
|
-
"
|
|
107211
|
+
"return": {
|
|
107212
|
+
"type": {
|
|
107213
|
+
"text": "string"
|
|
107214
|
+
}
|
|
107215
|
+
},
|
|
107216
|
+
"inheritedFrom": {
|
|
107217
|
+
"name": "SbbIconNameMixin",
|
|
107218
|
+
"module": "icon/icon-name-mixin.js"
|
|
107219
|
+
}
|
|
107302
107220
|
},
|
|
107303
107221
|
{
|
|
107304
107222
|
"kind": "field",
|
|
107305
|
-
"name": "
|
|
107223
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107306
107224
|
"type": {
|
|
107307
|
-
"text": "
|
|
107225
|
+
"text": "array"
|
|
107308
107226
|
},
|
|
107309
|
-
"privacy": "private"
|
|
107227
|
+
"privacy": "private",
|
|
107228
|
+
"readonly": true,
|
|
107229
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107230
|
+
"inheritedFrom": {
|
|
107231
|
+
"name": "SbbButtonBaseElement",
|
|
107232
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107233
|
+
}
|
|
107310
107234
|
},
|
|
107311
107235
|
{
|
|
107312
107236
|
"kind": "field",
|
|
107313
|
-
"name": "
|
|
107314
|
-
"
|
|
107315
|
-
|
|
107237
|
+
"name": "value",
|
|
107238
|
+
"type": {
|
|
107239
|
+
"text": "string"
|
|
107240
|
+
},
|
|
107241
|
+
"privacy": "public",
|
|
107242
|
+
"inheritedFrom": {
|
|
107243
|
+
"name": "SbbButtonBaseElement",
|
|
107244
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107245
|
+
},
|
|
107246
|
+
"default": "''",
|
|
107247
|
+
"description": "Value of the form element.",
|
|
107248
|
+
"attribute": "value"
|
|
107316
107249
|
},
|
|
107317
107250
|
{
|
|
107318
107251
|
"kind": "field",
|
|
107319
|
-
"name": "
|
|
107320
|
-
"privacy": "
|
|
107321
|
-
"
|
|
107252
|
+
"name": "type",
|
|
107253
|
+
"privacy": "public",
|
|
107254
|
+
"description": "The type attribute to use for the button.",
|
|
107255
|
+
"default": "'button'",
|
|
107256
|
+
"type": {
|
|
107257
|
+
"text": "SbbButtonType"
|
|
107258
|
+
},
|
|
107259
|
+
"attribute": "type",
|
|
107260
|
+
"inheritedFrom": {
|
|
107261
|
+
"name": "SbbButtonBaseElement",
|
|
107262
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107263
|
+
}
|
|
107322
107264
|
},
|
|
107323
107265
|
{
|
|
107324
107266
|
"kind": "field",
|
|
107325
|
-
"name": "
|
|
107326
|
-
"
|
|
107327
|
-
|
|
107267
|
+
"name": "form",
|
|
107268
|
+
"type": {
|
|
107269
|
+
"text": "HTMLFormElement | null"
|
|
107270
|
+
},
|
|
107271
|
+
"privacy": "public",
|
|
107272
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107273
|
+
"inheritedFrom": {
|
|
107274
|
+
"name": "SbbButtonBaseElement",
|
|
107275
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107276
|
+
},
|
|
107277
|
+
"attribute": "form"
|
|
107328
107278
|
},
|
|
107329
107279
|
{
|
|
107330
107280
|
"kind": "field",
|
|
107331
|
-
"name": "
|
|
107281
|
+
"name": "_formId",
|
|
107282
|
+
"type": {
|
|
107283
|
+
"text": "string"
|
|
107284
|
+
},
|
|
107332
107285
|
"privacy": "private",
|
|
107333
|
-
"default": "
|
|
107286
|
+
"default": "''",
|
|
107287
|
+
"inheritedFrom": {
|
|
107288
|
+
"name": "SbbButtonBaseElement",
|
|
107289
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107290
|
+
}
|
|
107334
107291
|
},
|
|
107335
107292
|
{
|
|
107336
107293
|
"kind": "field",
|
|
107337
|
-
"name": "
|
|
107294
|
+
"name": "_handleButtonClick",
|
|
107338
107295
|
"privacy": "private",
|
|
107339
|
-
"
|
|
107296
|
+
"inheritedFrom": {
|
|
107297
|
+
"name": "SbbButtonBaseElement",
|
|
107298
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107299
|
+
}
|
|
107300
|
+
},
|
|
107301
|
+
{
|
|
107302
|
+
"kind": "method",
|
|
107303
|
+
"name": "_requestSubmit",
|
|
107304
|
+
"privacy": "private",
|
|
107305
|
+
"return": {
|
|
107306
|
+
"type": {
|
|
107307
|
+
"text": "void"
|
|
107308
|
+
}
|
|
107309
|
+
},
|
|
107310
|
+
"parameters": [
|
|
107311
|
+
{
|
|
107312
|
+
"name": "form",
|
|
107313
|
+
"type": {
|
|
107314
|
+
"text": "HTMLFormElement"
|
|
107315
|
+
}
|
|
107316
|
+
}
|
|
107317
|
+
],
|
|
107318
|
+
"inheritedFrom": {
|
|
107319
|
+
"name": "SbbButtonBaseElement",
|
|
107320
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107321
|
+
}
|
|
107340
107322
|
},
|
|
107341
107323
|
{
|
|
107342
107324
|
"kind": "field",
|
|
107343
|
-
"name": "
|
|
107325
|
+
"name": "_formKeyDown",
|
|
107344
107326
|
"privacy": "private",
|
|
107345
|
-
"
|
|
107327
|
+
"inheritedFrom": {
|
|
107328
|
+
"name": "SbbButtonBaseElement",
|
|
107329
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107330
|
+
}
|
|
107331
|
+
},
|
|
107332
|
+
{
|
|
107333
|
+
"kind": "field",
|
|
107334
|
+
"name": "formAssociated",
|
|
107335
|
+
"type": {
|
|
107336
|
+
"text": "boolean"
|
|
107337
|
+
},
|
|
107338
|
+
"privacy": "public",
|
|
107339
|
+
"static": true,
|
|
107340
|
+
"default": "true",
|
|
107341
|
+
"inheritedFrom": {
|
|
107342
|
+
"name": "SbbFormAssociatedMixin",
|
|
107343
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107344
|
+
}
|
|
107345
|
+
},
|
|
107346
|
+
{
|
|
107347
|
+
"kind": "field",
|
|
107348
|
+
"name": "name",
|
|
107349
|
+
"privacy": "public",
|
|
107350
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107351
|
+
"type": {
|
|
107352
|
+
"text": "string"
|
|
107353
|
+
},
|
|
107354
|
+
"attribute": "name",
|
|
107355
|
+
"inheritedFrom": {
|
|
107356
|
+
"name": "SbbFormAssociatedMixin",
|
|
107357
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107358
|
+
}
|
|
107346
107359
|
},
|
|
107347
107360
|
{
|
|
107348
107361
|
"kind": "field",
|
|
107349
|
-
"name": "
|
|
107350
|
-
"
|
|
107351
|
-
|
|
107362
|
+
"name": "validity",
|
|
107363
|
+
"type": {
|
|
107364
|
+
"text": "ValidityState"
|
|
107365
|
+
},
|
|
107366
|
+
"privacy": "public",
|
|
107367
|
+
"description": "Returns the ValidityState object for this element.",
|
|
107368
|
+
"readonly": true,
|
|
107369
|
+
"inheritedFrom": {
|
|
107370
|
+
"name": "SbbFormAssociatedMixin",
|
|
107371
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107372
|
+
}
|
|
107352
107373
|
},
|
|
107353
107374
|
{
|
|
107354
107375
|
"kind": "field",
|
|
107355
|
-
"name": "
|
|
107356
|
-
"
|
|
107357
|
-
|
|
107376
|
+
"name": "validationMessage",
|
|
107377
|
+
"type": {
|
|
107378
|
+
"text": "string"
|
|
107379
|
+
},
|
|
107380
|
+
"privacy": "public",
|
|
107381
|
+
"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.",
|
|
107382
|
+
"readonly": true,
|
|
107383
|
+
"inheritedFrom": {
|
|
107384
|
+
"name": "SbbFormAssociatedMixin",
|
|
107385
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107386
|
+
}
|
|
107358
107387
|
},
|
|
107359
107388
|
{
|
|
107360
107389
|
"kind": "field",
|
|
107361
|
-
"name": "
|
|
107390
|
+
"name": "willValidate",
|
|
107362
107391
|
"type": {
|
|
107363
|
-
"text": "
|
|
107392
|
+
"text": "boolean"
|
|
107364
107393
|
},
|
|
107365
|
-
"privacy": "
|
|
107366
|
-
"
|
|
107394
|
+
"privacy": "public",
|
|
107395
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107396
|
+
"readonly": true,
|
|
107397
|
+
"inheritedFrom": {
|
|
107398
|
+
"name": "SbbFormAssociatedMixin",
|
|
107399
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107400
|
+
}
|
|
107367
107401
|
},
|
|
107368
107402
|
{
|
|
107369
|
-
"kind": "
|
|
107370
|
-
"name": "
|
|
107371
|
-
"privacy": "
|
|
107372
|
-
"
|
|
107373
|
-
"type": {
|
|
107374
|
-
"text": "void"
|
|
107375
|
-
}
|
|
107376
|
-
},
|
|
107377
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
107403
|
+
"kind": "field",
|
|
107404
|
+
"name": "_validityStates",
|
|
107405
|
+
"privacy": "private",
|
|
107406
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
107378
107407
|
"inheritedFrom": {
|
|
107379
|
-
"name": "
|
|
107380
|
-
"module": "core/
|
|
107408
|
+
"name": "SbbFormAssociatedMixin",
|
|
107409
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107381
107410
|
}
|
|
107382
107411
|
},
|
|
107383
107412
|
{
|
|
107384
|
-
"kind": "
|
|
107385
|
-
"name": "
|
|
107386
|
-
"
|
|
107387
|
-
|
|
107388
|
-
"type": {
|
|
107389
|
-
"text": "void"
|
|
107390
|
-
}
|
|
107413
|
+
"kind": "field",
|
|
107414
|
+
"name": "formDisabled",
|
|
107415
|
+
"type": {
|
|
107416
|
+
"text": "boolean"
|
|
107391
107417
|
},
|
|
107392
|
-
"
|
|
107418
|
+
"privacy": "protected",
|
|
107419
|
+
"default": "false",
|
|
107420
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107393
107421
|
"inheritedFrom": {
|
|
107394
|
-
"name": "
|
|
107395
|
-
"module": "core/
|
|
107422
|
+
"name": "SbbFormAssociatedMixin",
|
|
107423
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107396
107424
|
}
|
|
107397
107425
|
},
|
|
107398
107426
|
{
|
|
107399
107427
|
"kind": "method",
|
|
107400
|
-
"name": "
|
|
107428
|
+
"name": "checkValidity",
|
|
107401
107429
|
"privacy": "public",
|
|
107402
107430
|
"return": {
|
|
107403
107431
|
"type": {
|
|
107404
|
-
"text": "
|
|
107432
|
+
"text": "boolean"
|
|
107405
107433
|
}
|
|
107406
107434
|
},
|
|
107407
|
-
"description": "
|
|
107435
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107408
107436
|
"inheritedFrom": {
|
|
107409
|
-
"name": "
|
|
107410
|
-
"module": "core/
|
|
107437
|
+
"name": "SbbFormAssociatedMixin",
|
|
107438
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107411
107439
|
}
|
|
107412
107440
|
},
|
|
107413
107441
|
{
|
|
107414
107442
|
"kind": "method",
|
|
107415
|
-
"name": "
|
|
107443
|
+
"name": "reportValidity",
|
|
107416
107444
|
"privacy": "public",
|
|
107417
107445
|
"return": {
|
|
107418
107446
|
"type": {
|
|
107419
|
-
"text": "
|
|
107447
|
+
"text": "boolean"
|
|
107420
107448
|
}
|
|
107421
107449
|
},
|
|
107422
|
-
"description": "
|
|
107450
|
+
"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.",
|
|
107451
|
+
"inheritedFrom": {
|
|
107452
|
+
"name": "SbbFormAssociatedMixin",
|
|
107453
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107454
|
+
}
|
|
107423
107455
|
},
|
|
107424
107456
|
{
|
|
107425
107457
|
"kind": "method",
|
|
107426
|
-
"name": "
|
|
107427
|
-
"privacy": "
|
|
107458
|
+
"name": "setCustomValidity",
|
|
107459
|
+
"privacy": "public",
|
|
107428
107460
|
"return": {
|
|
107429
107461
|
"type": {
|
|
107430
107462
|
"text": "void"
|
|
@@ -107432,47 +107464,65 @@
|
|
|
107432
107464
|
},
|
|
107433
107465
|
"parameters": [
|
|
107434
107466
|
{
|
|
107435
|
-
"name": "
|
|
107436
|
-
"
|
|
107437
|
-
|
|
107438
|
-
|
|
107467
|
+
"name": "message",
|
|
107468
|
+
"type": {
|
|
107469
|
+
"text": "string"
|
|
107470
|
+
}
|
|
107439
107471
|
}
|
|
107440
|
-
]
|
|
107472
|
+
],
|
|
107473
|
+
"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.",
|
|
107474
|
+
"inheritedFrom": {
|
|
107475
|
+
"name": "SbbFormAssociatedMixin",
|
|
107476
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107477
|
+
}
|
|
107441
107478
|
},
|
|
107442
107479
|
{
|
|
107443
107480
|
"kind": "method",
|
|
107444
|
-
"name": "
|
|
107481
|
+
"name": "_hasDisabledAncestor",
|
|
107445
107482
|
"privacy": "private",
|
|
107446
107483
|
"return": {
|
|
107447
107484
|
"type": {
|
|
107448
107485
|
"text": "boolean"
|
|
107449
107486
|
}
|
|
107487
|
+
},
|
|
107488
|
+
"inheritedFrom": {
|
|
107489
|
+
"name": "SbbFormAssociatedMixin",
|
|
107490
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107450
107491
|
}
|
|
107451
107492
|
},
|
|
107452
107493
|
{
|
|
107453
107494
|
"kind": "method",
|
|
107454
|
-
"name": "
|
|
107455
|
-
"privacy": "
|
|
107495
|
+
"name": "updateFormValue",
|
|
107496
|
+
"privacy": "protected",
|
|
107456
107497
|
"return": {
|
|
107457
107498
|
"type": {
|
|
107458
107499
|
"text": "void"
|
|
107459
107500
|
}
|
|
107501
|
+
},
|
|
107502
|
+
"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",
|
|
107503
|
+
"inheritedFrom": {
|
|
107504
|
+
"name": "SbbFormAssociatedMixin",
|
|
107505
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107460
107506
|
}
|
|
107461
107507
|
},
|
|
107462
107508
|
{
|
|
107463
107509
|
"kind": "method",
|
|
107464
|
-
"name": "
|
|
107465
|
-
"privacy": "
|
|
107510
|
+
"name": "formState",
|
|
107511
|
+
"privacy": "protected",
|
|
107466
107512
|
"return": {
|
|
107467
107513
|
"type": {
|
|
107468
|
-
"text": "
|
|
107514
|
+
"text": "FormRestoreState"
|
|
107469
107515
|
}
|
|
107516
|
+
},
|
|
107517
|
+
"inheritedFrom": {
|
|
107518
|
+
"name": "SbbFormAssociatedMixin",
|
|
107519
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107470
107520
|
}
|
|
107471
107521
|
},
|
|
107472
107522
|
{
|
|
107473
107523
|
"kind": "method",
|
|
107474
|
-
"name": "
|
|
107475
|
-
"privacy": "
|
|
107524
|
+
"name": "setValidityFlag",
|
|
107525
|
+
"privacy": "protected",
|
|
107476
107526
|
"return": {
|
|
107477
107527
|
"type": {
|
|
107478
107528
|
"text": "void"
|
|
@@ -107480,117 +107530,35 @@
|
|
|
107480
107530
|
},
|
|
107481
107531
|
"parameters": [
|
|
107482
107532
|
{
|
|
107483
|
-
"name": "
|
|
107533
|
+
"name": "flag",
|
|
107484
107534
|
"type": {
|
|
107485
|
-
"text": "
|
|
107535
|
+
"text": "T"
|
|
107486
107536
|
}
|
|
107487
|
-
}
|
|
107488
|
-
]
|
|
107489
|
-
},
|
|
107490
|
-
{
|
|
107491
|
-
"kind": "method",
|
|
107492
|
-
"name": "_configureTrigger",
|
|
107493
|
-
"privacy": "private",
|
|
107494
|
-
"return": {
|
|
107495
|
-
"type": {
|
|
107496
|
-
"text": "void"
|
|
107497
|
-
}
|
|
107498
|
-
}
|
|
107499
|
-
},
|
|
107500
|
-
{
|
|
107501
|
-
"kind": "method",
|
|
107502
|
-
"name": "_attachWindowEvents",
|
|
107503
|
-
"privacy": "private",
|
|
107504
|
-
"return": {
|
|
107505
|
-
"type": {
|
|
107506
|
-
"text": "void"
|
|
107507
|
-
}
|
|
107508
|
-
}
|
|
107509
|
-
},
|
|
107510
|
-
{
|
|
107511
|
-
"kind": "method",
|
|
107512
|
-
"name": "_interactiveElementClick",
|
|
107513
|
-
"privacy": "private",
|
|
107514
|
-
"return": {
|
|
107515
|
-
"type": {
|
|
107516
|
-
"text": "void"
|
|
107517
|
-
}
|
|
107518
|
-
},
|
|
107519
|
-
"parameters": [
|
|
107537
|
+
},
|
|
107520
107538
|
{
|
|
107521
|
-
"name": "
|
|
107539
|
+
"name": "message",
|
|
107522
107540
|
"type": {
|
|
107523
|
-
"text": "
|
|
107541
|
+
"text": "string"
|
|
107542
|
+
}
|
|
107543
|
+
},
|
|
107544
|
+
{
|
|
107545
|
+
"name": "flagValue",
|
|
107546
|
+
"optional": true,
|
|
107547
|
+
"type": {
|
|
107548
|
+
"text": "ValidityStateFlags[T]"
|
|
107524
107549
|
}
|
|
107525
107550
|
}
|
|
107526
|
-
]
|
|
107527
|
-
|
|
107528
|
-
|
|
107529
|
-
|
|
107530
|
-
|
|
107531
|
-
"privacy": "private"
|
|
107532
|
-
},
|
|
107533
|
-
{
|
|
107534
|
-
"kind": "field",
|
|
107535
|
-
"name": "_closeOnBackdropClick",
|
|
107536
|
-
"privacy": "private"
|
|
107537
|
-
},
|
|
107538
|
-
{
|
|
107539
|
-
"kind": "method",
|
|
107540
|
-
"name": "_nestedMenus",
|
|
107541
|
-
"privacy": "private",
|
|
107542
|
-
"return": {
|
|
107543
|
-
"type": {
|
|
107544
|
-
"text": "SbbMenuElement[]"
|
|
107545
|
-
}
|
|
107546
|
-
},
|
|
107547
|
-
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
107548
|
-
},
|
|
107549
|
-
{
|
|
107550
|
-
"kind": "method",
|
|
107551
|
-
"name": "_parentMenu",
|
|
107552
|
-
"privacy": "private",
|
|
107553
|
-
"return": {
|
|
107554
|
-
"type": {
|
|
107555
|
-
"text": "SbbMenuElement | null"
|
|
107556
|
-
}
|
|
107557
|
-
}
|
|
107558
|
-
},
|
|
107559
|
-
{
|
|
107560
|
-
"kind": "method",
|
|
107561
|
-
"name": "_mainMenu",
|
|
107562
|
-
"privacy": "private",
|
|
107563
|
-
"return": {
|
|
107564
|
-
"type": {
|
|
107565
|
-
"text": "SbbMenuElement"
|
|
107566
|
-
}
|
|
107567
|
-
},
|
|
107568
|
-
"description": "The outermost menu."
|
|
107569
|
-
},
|
|
107570
|
-
{
|
|
107571
|
-
"kind": "method",
|
|
107572
|
-
"name": "_isNested",
|
|
107573
|
-
"privacy": "private",
|
|
107574
|
-
"return": {
|
|
107575
|
-
"type": {
|
|
107576
|
-
"text": "boolean"
|
|
107577
|
-
}
|
|
107578
|
-
}
|
|
107579
|
-
},
|
|
107580
|
-
{
|
|
107581
|
-
"kind": "method",
|
|
107582
|
-
"name": "_updateNestedInert",
|
|
107583
|
-
"privacy": "private",
|
|
107584
|
-
"return": {
|
|
107585
|
-
"type": {
|
|
107586
|
-
"text": "void"
|
|
107587
|
-
}
|
|
107551
|
+
],
|
|
107552
|
+
"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).",
|
|
107553
|
+
"inheritedFrom": {
|
|
107554
|
+
"name": "SbbFormAssociatedMixin",
|
|
107555
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107588
107556
|
}
|
|
107589
107557
|
},
|
|
107590
107558
|
{
|
|
107591
107559
|
"kind": "method",
|
|
107592
|
-
"name": "
|
|
107593
|
-
"privacy": "
|
|
107560
|
+
"name": "removeValidityFlag",
|
|
107561
|
+
"privacy": "protected",
|
|
107594
107562
|
"return": {
|
|
107595
107563
|
"type": {
|
|
107596
107564
|
"text": "void"
|
|
@@ -107598,170 +107566,158 @@
|
|
|
107598
107566
|
},
|
|
107599
107567
|
"parameters": [
|
|
107600
107568
|
{
|
|
107601
|
-
"name": "
|
|
107569
|
+
"name": "flag",
|
|
107602
107570
|
"type": {
|
|
107603
|
-
"text": "
|
|
107571
|
+
"text": "T"
|
|
107604
107572
|
}
|
|
107605
107573
|
}
|
|
107606
|
-
]
|
|
107574
|
+
],
|
|
107575
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107576
|
+
"inheritedFrom": {
|
|
107577
|
+
"name": "SbbFormAssociatedMixin",
|
|
107578
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107579
|
+
}
|
|
107607
107580
|
},
|
|
107608
107581
|
{
|
|
107609
107582
|
"kind": "method",
|
|
107610
|
-
"name": "
|
|
107611
|
-
"privacy": "
|
|
107583
|
+
"name": "validate",
|
|
107584
|
+
"privacy": "protected",
|
|
107612
107585
|
"return": {
|
|
107613
107586
|
"type": {
|
|
107614
107587
|
"text": "void"
|
|
107615
107588
|
}
|
|
107616
107589
|
},
|
|
107617
|
-
"
|
|
107618
|
-
|
|
107619
|
-
|
|
107620
|
-
|
|
107621
|
-
|
|
107622
|
-
}
|
|
107623
|
-
}
|
|
107624
|
-
]
|
|
107590
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
107591
|
+
"inheritedFrom": {
|
|
107592
|
+
"name": "SbbFormAssociatedMixin",
|
|
107593
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107594
|
+
}
|
|
107625
107595
|
},
|
|
107626
107596
|
{
|
|
107627
107597
|
"kind": "method",
|
|
107628
|
-
"name": "
|
|
107629
|
-
"privacy": "
|
|
107598
|
+
"name": "shouldValidate",
|
|
107599
|
+
"privacy": "protected",
|
|
107630
107600
|
"return": {
|
|
107631
107601
|
"type": {
|
|
107632
|
-
"text": "
|
|
107602
|
+
"text": "boolean"
|
|
107603
|
+
}
|
|
107604
|
+
},
|
|
107605
|
+
"parameters": [
|
|
107606
|
+
{
|
|
107607
|
+
"name": "name",
|
|
107608
|
+
"type": {
|
|
107609
|
+
"text": "PropertyKey | undefined"
|
|
107610
|
+
}
|
|
107633
107611
|
}
|
|
107612
|
+
],
|
|
107613
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
107614
|
+
"inheritedFrom": {
|
|
107615
|
+
"name": "SbbFormAssociatedMixin",
|
|
107616
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107634
107617
|
}
|
|
107635
107618
|
},
|
|
107636
107619
|
{
|
|
107637
107620
|
"kind": "method",
|
|
107638
|
-
"name": "
|
|
107621
|
+
"name": "_setInternalValidity",
|
|
107639
107622
|
"privacy": "private",
|
|
107640
107623
|
"return": {
|
|
107641
107624
|
"type": {
|
|
107642
107625
|
"text": "void"
|
|
107643
107626
|
}
|
|
107627
|
+
},
|
|
107628
|
+
"inheritedFrom": {
|
|
107629
|
+
"name": "SbbFormAssociatedMixin",
|
|
107630
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107644
107631
|
}
|
|
107645
107632
|
},
|
|
107646
107633
|
{
|
|
107647
|
-
"kind": "
|
|
107648
|
-
"name": "
|
|
107634
|
+
"kind": "field",
|
|
107635
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
107649
107636
|
"privacy": "private",
|
|
107650
|
-
"
|
|
107651
|
-
|
|
107652
|
-
|
|
107637
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107638
|
+
"parameters": [
|
|
107639
|
+
{
|
|
107640
|
+
"description": "The origin event.",
|
|
107641
|
+
"name": "event"
|
|
107653
107642
|
}
|
|
107643
|
+
],
|
|
107644
|
+
"inheritedFrom": {
|
|
107645
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107646
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107654
107647
|
}
|
|
107655
107648
|
},
|
|
107656
107649
|
{
|
|
107657
107650
|
"kind": "field",
|
|
107658
|
-
"name": "
|
|
107659
|
-
"privacy": "
|
|
107660
|
-
"static": true,
|
|
107661
|
-
"readonly": true,
|
|
107662
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
107663
|
-
"type": {
|
|
107664
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
107665
|
-
},
|
|
107651
|
+
"name": "_removeActiveMarker",
|
|
107652
|
+
"privacy": "private",
|
|
107666
107653
|
"inheritedFrom": {
|
|
107667
|
-
"name": "
|
|
107668
|
-
"module": "core/base-elements/
|
|
107654
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107655
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107669
107656
|
}
|
|
107670
107657
|
},
|
|
107671
107658
|
{
|
|
107672
107659
|
"kind": "field",
|
|
107673
|
-
"name": "
|
|
107674
|
-
"privacy": "
|
|
107675
|
-
"description": "
|
|
107676
|
-
"
|
|
107677
|
-
|
|
107678
|
-
|
|
107679
|
-
|
|
107660
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
107661
|
+
"privacy": "private",
|
|
107662
|
+
"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.",
|
|
107663
|
+
"parameters": [
|
|
107664
|
+
{
|
|
107665
|
+
"description": "The origin event.",
|
|
107666
|
+
"name": "event"
|
|
107667
|
+
}
|
|
107668
|
+
],
|
|
107680
107669
|
"inheritedFrom": {
|
|
107681
|
-
"name": "
|
|
107682
|
-
"module": "core/base-elements/
|
|
107670
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107671
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107683
107672
|
}
|
|
107684
107673
|
},
|
|
107685
107674
|
{
|
|
107686
107675
|
"kind": "field",
|
|
107687
|
-
"name": "
|
|
107688
|
-
"type": {
|
|
107689
|
-
"text": "SbbOpenedClosedState"
|
|
107690
|
-
},
|
|
107676
|
+
"name": "_dispatchClickEvent",
|
|
107691
107677
|
"privacy": "private",
|
|
107692
107678
|
"inheritedFrom": {
|
|
107693
|
-
"name": "
|
|
107694
|
-
"module": "core/base-elements/
|
|
107679
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107680
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107695
107681
|
}
|
|
107696
107682
|
},
|
|
107697
107683
|
{
|
|
107698
107684
|
"kind": "field",
|
|
107699
|
-
"name": "
|
|
107685
|
+
"name": "maybeDisabled",
|
|
107700
107686
|
"type": {
|
|
107701
|
-
"text": "boolean"
|
|
107687
|
+
"text": "boolean | undefined"
|
|
107702
107688
|
},
|
|
107703
|
-
"privacy": "public",
|
|
107704
|
-
"description": "Whether the element is open.",
|
|
107705
|
-
"readonly": true,
|
|
107706
|
-
"inheritedFrom": {
|
|
107707
|
-
"name": "SbbOpenCloseBaseElement",
|
|
107708
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
107709
|
-
}
|
|
107710
|
-
},
|
|
107711
|
-
{
|
|
107712
|
-
"kind": "method",
|
|
107713
|
-
"name": "dispatchBeforeOpenEvent",
|
|
107714
107689
|
"privacy": "protected",
|
|
107715
|
-
"
|
|
107716
|
-
"type": {
|
|
107717
|
-
"text": "boolean"
|
|
107718
|
-
}
|
|
107719
|
-
},
|
|
107690
|
+
"readonly": true,
|
|
107720
107691
|
"inheritedFrom": {
|
|
107721
|
-
"name": "
|
|
107722
|
-
"module": "core/base-elements/
|
|
107692
|
+
"name": "SbbActionBaseElement",
|
|
107693
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107723
107694
|
}
|
|
107724
107695
|
},
|
|
107725
107696
|
{
|
|
107726
|
-
"kind": "
|
|
107727
|
-
"name": "
|
|
107728
|
-
"
|
|
107729
|
-
|
|
107730
|
-
"type": {
|
|
107731
|
-
"text": "boolean"
|
|
107732
|
-
}
|
|
107697
|
+
"kind": "field",
|
|
107698
|
+
"name": "maybeDisabledInteractive",
|
|
107699
|
+
"type": {
|
|
107700
|
+
"text": "boolean | undefined"
|
|
107733
107701
|
},
|
|
107734
|
-
"inheritedFrom": {
|
|
107735
|
-
"name": "SbbOpenCloseBaseElement",
|
|
107736
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
107737
|
-
}
|
|
107738
|
-
},
|
|
107739
|
-
{
|
|
107740
|
-
"kind": "method",
|
|
107741
|
-
"name": "dispatchBeforeCloseEvent",
|
|
107742
107702
|
"privacy": "protected",
|
|
107743
|
-
"
|
|
107744
|
-
"type": {
|
|
107745
|
-
"text": "boolean"
|
|
107746
|
-
}
|
|
107747
|
-
},
|
|
107703
|
+
"readonly": true,
|
|
107748
107704
|
"inheritedFrom": {
|
|
107749
|
-
"name": "
|
|
107750
|
-
"module": "core/base-elements/
|
|
107705
|
+
"name": "SbbActionBaseElement",
|
|
107706
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107751
107707
|
}
|
|
107752
107708
|
},
|
|
107753
107709
|
{
|
|
107754
107710
|
"kind": "method",
|
|
107755
|
-
"name": "
|
|
107711
|
+
"name": "setupBaseEventHandlers",
|
|
107756
107712
|
"privacy": "protected",
|
|
107757
107713
|
"return": {
|
|
107758
107714
|
"type": {
|
|
107759
|
-
"text": "
|
|
107715
|
+
"text": "void"
|
|
107760
107716
|
}
|
|
107761
107717
|
},
|
|
107762
107718
|
"inheritedFrom": {
|
|
107763
|
-
"name": "
|
|
107764
|
-
"module": "core/base-elements/
|
|
107719
|
+
"name": "SbbActionBaseElement",
|
|
107720
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107765
107721
|
}
|
|
107766
107722
|
},
|
|
107767
107723
|
{
|
|
@@ -107870,66 +107826,110 @@
|
|
|
107870
107826
|
}
|
|
107871
107827
|
}
|
|
107872
107828
|
],
|
|
107873
|
-
"
|
|
107829
|
+
"mixins": [
|
|
107874
107830
|
{
|
|
107875
|
-
"name": "
|
|
107876
|
-
"
|
|
107877
|
-
|
|
107878
|
-
|
|
107879
|
-
"
|
|
107880
|
-
"
|
|
107881
|
-
"fieldName": "trigger"
|
|
107831
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
107832
|
+
"module": "core/mixins.js"
|
|
107833
|
+
},
|
|
107834
|
+
{
|
|
107835
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107836
|
+
"module": "menu/common/menu-action-common.js"
|
|
107882
107837
|
}
|
|
107883
107838
|
],
|
|
107884
107839
|
"superclass": {
|
|
107885
|
-
"name": "
|
|
107840
|
+
"name": "SbbButtonBaseElement",
|
|
107886
107841
|
"module": "core/base-elements.js"
|
|
107887
107842
|
},
|
|
107888
|
-
"tagName": "sbb-menu",
|
|
107843
|
+
"tagName": "sbb-menu-button",
|
|
107889
107844
|
"customElement": true,
|
|
107890
|
-
"
|
|
107845
|
+
"attributes": [
|
|
107891
107846
|
{
|
|
107892
|
-
"name": "
|
|
107847
|
+
"name": "disabled-interactive",
|
|
107893
107848
|
"type": {
|
|
107894
|
-
"text": "
|
|
107849
|
+
"text": "boolean"
|
|
107895
107850
|
},
|
|
107896
|
-
"
|
|
107851
|
+
"default": "false",
|
|
107852
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107853
|
+
"fieldName": "disabledInteractive",
|
|
107897
107854
|
"inheritedFrom": {
|
|
107898
|
-
"name": "
|
|
107899
|
-
"module": "core/
|
|
107855
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107856
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107857
|
+
}
|
|
107858
|
+
},
|
|
107859
|
+
{
|
|
107860
|
+
"name": "disabled",
|
|
107861
|
+
"description": "Whether the component is disabled.",
|
|
107862
|
+
"default": "false",
|
|
107863
|
+
"type": {
|
|
107864
|
+
"text": "boolean"
|
|
107865
|
+
},
|
|
107866
|
+
"fieldName": "disabled",
|
|
107867
|
+
"inheritedFrom": {
|
|
107868
|
+
"name": "SbbDisabledMixin",
|
|
107869
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107870
|
+
}
|
|
107871
|
+
},
|
|
107872
|
+
{
|
|
107873
|
+
"name": "icon-name",
|
|
107874
|
+
"type": {
|
|
107875
|
+
"text": "string"
|
|
107876
|
+
},
|
|
107877
|
+
"default": "''",
|
|
107878
|
+
"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.",
|
|
107879
|
+
"fieldName": "iconName",
|
|
107880
|
+
"inheritedFrom": {
|
|
107881
|
+
"name": "SbbIconNameMixin",
|
|
107882
|
+
"module": "icon/icon-name-mixin.js"
|
|
107883
|
+
}
|
|
107884
|
+
},
|
|
107885
|
+
{
|
|
107886
|
+
"name": "value",
|
|
107887
|
+
"type": {
|
|
107888
|
+
"text": "string"
|
|
107889
|
+
},
|
|
107890
|
+
"default": "''",
|
|
107891
|
+
"description": "Value of the form element.",
|
|
107892
|
+
"fieldName": "value",
|
|
107893
|
+
"inheritedFrom": {
|
|
107894
|
+
"name": "SbbButtonBaseElement",
|
|
107895
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107900
107896
|
}
|
|
107901
107897
|
},
|
|
107902
107898
|
{
|
|
107903
|
-
"name": "
|
|
107899
|
+
"name": "type",
|
|
107900
|
+
"description": "The type attribute to use for the button.",
|
|
107901
|
+
"default": "'button'",
|
|
107904
107902
|
"type": {
|
|
107905
|
-
"text": "
|
|
107903
|
+
"text": "SbbButtonType"
|
|
107906
107904
|
},
|
|
107907
|
-
"
|
|
107905
|
+
"fieldName": "type",
|
|
107908
107906
|
"inheritedFrom": {
|
|
107909
|
-
"name": "
|
|
107910
|
-
"module": "core/base-elements/
|
|
107907
|
+
"name": "SbbButtonBaseElement",
|
|
107908
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107911
107909
|
}
|
|
107912
107910
|
},
|
|
107913
107911
|
{
|
|
107914
|
-
"name": "
|
|
107912
|
+
"name": "form",
|
|
107913
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107915
107914
|
"type": {
|
|
107916
|
-
"text": "
|
|
107915
|
+
"text": "HTMLFormElement | null"
|
|
107917
107916
|
},
|
|
107918
|
-
"
|
|
107917
|
+
"fieldName": "form",
|
|
107919
107918
|
"inheritedFrom": {
|
|
107920
|
-
"name": "
|
|
107921
|
-
"module": "core/base-elements/
|
|
107919
|
+
"name": "SbbButtonBaseElement",
|
|
107920
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107922
107921
|
}
|
|
107923
107922
|
},
|
|
107924
107923
|
{
|
|
107925
|
-
"name": "
|
|
107924
|
+
"name": "name",
|
|
107925
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107926
107926
|
"type": {
|
|
107927
|
-
"text": "
|
|
107927
|
+
"text": "string"
|
|
107928
107928
|
},
|
|
107929
|
-
"
|
|
107929
|
+
"fieldName": "name",
|
|
107930
107930
|
"inheritedFrom": {
|
|
107931
|
-
"name": "
|
|
107932
|
-
"module": "core/
|
|
107931
|
+
"name": "SbbFormAssociatedMixin",
|
|
107932
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107933
107933
|
}
|
|
107934
107934
|
}
|
|
107935
107935
|
]
|
|
@@ -107938,10 +107938,10 @@
|
|
|
107938
107938
|
"exports": [
|
|
107939
107939
|
{
|
|
107940
107940
|
"kind": "js",
|
|
107941
|
-
"name": "
|
|
107941
|
+
"name": "SbbMenuButtonElement",
|
|
107942
107942
|
"declaration": {
|
|
107943
|
-
"name": "
|
|
107944
|
-
"module": "menu/menu/menu.component.js"
|
|
107943
|
+
"name": "SbbMenuButtonElement",
|
|
107944
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
107945
107945
|
}
|
|
107946
107946
|
}
|
|
107947
107947
|
]
|
|
@@ -120905,267 +120905,55 @@
|
|
|
120905
120905
|
"type": {
|
|
120906
120906
|
"text": "Event"
|
|
120907
120907
|
},
|
|
120908
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
120909
|
-
"inheritedFrom": {
|
|
120910
|
-
"name": "SbbOpenCloseBaseElement",
|
|
120911
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
120912
|
-
}
|
|
120913
|
-
},
|
|
120914
|
-
{
|
|
120915
|
-
"name": "open",
|
|
120916
|
-
"type": {
|
|
120917
|
-
"text": "Event"
|
|
120918
|
-
},
|
|
120919
|
-
"description": "Emits whenever the component is opened.",
|
|
120920
|
-
"inheritedFrom": {
|
|
120921
|
-
"name": "SbbOpenCloseBaseElement",
|
|
120922
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
120923
|
-
}
|
|
120924
|
-
},
|
|
120925
|
-
{
|
|
120926
|
-
"name": "beforeclose",
|
|
120927
|
-
"type": {
|
|
120928
|
-
"text": "Event"
|
|
120929
|
-
},
|
|
120930
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
120931
|
-
"inheritedFrom": {
|
|
120932
|
-
"name": "SbbOpenCloseBaseElement",
|
|
120933
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
120934
|
-
}
|
|
120935
|
-
},
|
|
120936
|
-
{
|
|
120937
|
-
"name": "close",
|
|
120938
|
-
"type": {
|
|
120939
|
-
"text": "Event"
|
|
120940
|
-
},
|
|
120941
|
-
"description": "Emits whenever the component is closed.",
|
|
120942
|
-
"inheritedFrom": {
|
|
120943
|
-
"name": "SbbOpenCloseBaseElement",
|
|
120944
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
120945
|
-
}
|
|
120946
|
-
}
|
|
120947
|
-
]
|
|
120948
|
-
}
|
|
120949
|
-
],
|
|
120950
|
-
"exports": [
|
|
120951
|
-
{
|
|
120952
|
-
"kind": "js",
|
|
120953
|
-
"name": "SbbSidebarElement",
|
|
120954
|
-
"declaration": {
|
|
120955
|
-
"name": "SbbSidebarElement",
|
|
120956
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
120957
|
-
}
|
|
120958
|
-
}
|
|
120959
|
-
]
|
|
120960
|
-
},
|
|
120961
|
-
{
|
|
120962
|
-
"kind": "javascript-module",
|
|
120963
|
-
"path": "sidebar/sidebar-container/sidebar-container.component.js",
|
|
120964
|
-
"declarations": [
|
|
120965
|
-
{
|
|
120966
|
-
"kind": "class",
|
|
120967
|
-
"description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
|
|
120968
|
-
"name": "SbbSidebarContainerElement",
|
|
120969
|
-
"slots": [
|
|
120970
|
-
{
|
|
120971
|
-
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
120972
|
-
"name": ""
|
|
120973
|
-
}
|
|
120974
|
-
],
|
|
120975
|
-
"members": [
|
|
120976
|
-
{
|
|
120977
|
-
"kind": "field",
|
|
120978
|
-
"name": "elementName",
|
|
120979
|
-
"type": {
|
|
120980
|
-
"text": "string"
|
|
120981
|
-
},
|
|
120982
|
-
"privacy": "public",
|
|
120983
|
-
"static": true,
|
|
120984
|
-
"readonly": true,
|
|
120985
|
-
"default": "'sbb-sidebar-container'",
|
|
120986
|
-
"inheritedFrom": {
|
|
120987
|
-
"name": "SbbElement",
|
|
120988
|
-
"module": "core/base-elements/element.js"
|
|
120989
|
-
}
|
|
120990
|
-
},
|
|
120991
|
-
{
|
|
120992
|
-
"kind": "field",
|
|
120993
|
-
"name": "sidebars",
|
|
120994
|
-
"type": {
|
|
120995
|
-
"text": "SbbSidebarElement[]"
|
|
120996
|
-
},
|
|
120997
|
-
"privacy": "public",
|
|
120998
|
-
"description": "The sidebar children.",
|
|
120999
|
-
"readonly": true
|
|
121000
|
-
},
|
|
121001
|
-
{
|
|
121002
|
-
"kind": "field",
|
|
121003
|
-
"name": "start",
|
|
121004
|
-
"type": {
|
|
121005
|
-
"text": "SbbSidebarElement | null"
|
|
121006
|
-
},
|
|
121007
|
-
"privacy": "public",
|
|
121008
|
-
"description": "The sidebar child with the `start` position.",
|
|
121009
|
-
"readonly": true
|
|
121010
|
-
},
|
|
121011
|
-
{
|
|
121012
|
-
"kind": "field",
|
|
121013
|
-
"name": "end",
|
|
121014
|
-
"type": {
|
|
121015
|
-
"text": "SbbSidebarElement | null"
|
|
121016
|
-
},
|
|
121017
|
-
"privacy": "public",
|
|
121018
|
-
"description": "The sidebar child with the `end` position.",
|
|
121019
|
-
"readonly": true
|
|
121020
|
-
},
|
|
121021
|
-
{
|
|
121022
|
-
"kind": "field",
|
|
121023
|
-
"name": "_forcedClosedSidebars",
|
|
121024
|
-
"privacy": "private",
|
|
121025
|
-
"default": "new WeakSet<SbbSidebarElement>()"
|
|
121026
|
-
},
|
|
121027
|
-
{
|
|
121028
|
-
"kind": "method",
|
|
121029
|
-
"name": "_handleWidthChange",
|
|
121030
|
-
"privacy": "private",
|
|
121031
|
-
"return": {
|
|
121032
|
-
"type": {
|
|
121033
|
-
"text": "void"
|
|
121034
|
-
}
|
|
121035
|
-
}
|
|
121036
|
-
},
|
|
121037
|
-
{
|
|
121038
|
-
"kind": "method",
|
|
121039
|
-
"name": "_calculateSpaceState",
|
|
121040
|
-
"privacy": "private",
|
|
121041
|
-
"return": {
|
|
121042
|
-
"type": {
|
|
121043
|
-
"text": "Promise<void>"
|
|
121044
|
-
}
|
|
121045
|
-
},
|
|
121046
|
-
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
121047
|
-
},
|
|
121048
|
-
{
|
|
121049
|
-
"kind": "field",
|
|
121050
|
-
"name": "_hydrationRequired",
|
|
121051
|
-
"type": {
|
|
121052
|
-
"text": "boolean"
|
|
121053
|
-
},
|
|
121054
|
-
"privacy": "private",
|
|
121055
|
-
"default": "!!this.shadowRoot",
|
|
121056
|
-
"inheritedFrom": {
|
|
121057
|
-
"name": "SbbElement",
|
|
121058
|
-
"module": "core/base-elements/element.js"
|
|
121059
|
-
}
|
|
121060
|
-
},
|
|
121061
|
-
{
|
|
121062
|
-
"kind": "field",
|
|
121063
|
-
"name": "_hydrationComplete",
|
|
121064
|
-
"privacy": "private",
|
|
121065
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
121066
|
-
"inheritedFrom": {
|
|
121067
|
-
"name": "SbbElement",
|
|
121068
|
-
"module": "core/base-elements/element.js"
|
|
121069
|
-
}
|
|
121070
|
-
},
|
|
121071
|
-
{
|
|
121072
|
-
"kind": "field",
|
|
121073
|
-
"name": "_resolveHydration",
|
|
121074
|
-
"type": {
|
|
121075
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
121076
|
-
},
|
|
121077
|
-
"privacy": "private",
|
|
121078
|
-
"inheritedFrom": {
|
|
121079
|
-
"name": "SbbElement",
|
|
121080
|
-
"module": "core/base-elements/element.js"
|
|
121081
|
-
}
|
|
121082
|
-
},
|
|
121083
|
-
{
|
|
121084
|
-
"kind": "field",
|
|
121085
|
-
"name": "hydrationRequired",
|
|
121086
|
-
"type": {
|
|
121087
|
-
"text": "boolean"
|
|
121088
|
-
},
|
|
121089
|
-
"privacy": "protected",
|
|
121090
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
121091
|
-
"readonly": true,
|
|
121092
|
-
"inheritedFrom": {
|
|
121093
|
-
"name": "SbbElement",
|
|
121094
|
-
"module": "core/base-elements/element.js"
|
|
121095
|
-
},
|
|
121096
|
-
"default": "!!this.shadowRoot"
|
|
121097
|
-
},
|
|
121098
|
-
{
|
|
121099
|
-
"kind": "method",
|
|
121100
|
-
"name": "toggleState",
|
|
121101
|
-
"privacy": "protected",
|
|
121102
|
-
"return": {
|
|
121103
|
-
"type": {
|
|
121104
|
-
"text": "void"
|
|
121105
|
-
}
|
|
121106
|
-
},
|
|
121107
|
-
"parameters": [
|
|
121108
|
-
{
|
|
121109
|
-
"name": "value",
|
|
121110
|
-
"type": {
|
|
121111
|
-
"text": "string"
|
|
121112
|
-
}
|
|
121113
|
-
},
|
|
121114
|
-
{
|
|
121115
|
-
"name": "force",
|
|
121116
|
-
"optional": true,
|
|
121117
|
-
"type": {
|
|
121118
|
-
"text": "boolean"
|
|
121119
|
-
}
|
|
121120
|
-
}
|
|
121121
|
-
],
|
|
120908
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
121122
120909
|
"inheritedFrom": {
|
|
121123
|
-
"name": "
|
|
121124
|
-
"module": "core/base-elements/element.js"
|
|
120910
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120911
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121125
120912
|
}
|
|
121126
120913
|
},
|
|
121127
120914
|
{
|
|
121128
|
-
"
|
|
121129
|
-
"name": "['_$sbbElement$']",
|
|
120915
|
+
"name": "open",
|
|
121130
120916
|
"type": {
|
|
121131
|
-
"text": "
|
|
120917
|
+
"text": "Event"
|
|
121132
120918
|
},
|
|
121133
|
-
"
|
|
121134
|
-
"static": true,
|
|
121135
|
-
"default": "true",
|
|
120919
|
+
"description": "Emits whenever the component is opened.",
|
|
121136
120920
|
"inheritedFrom": {
|
|
121137
|
-
"name": "
|
|
121138
|
-
"module": "core/base-elements/element.js"
|
|
120921
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120922
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121139
120923
|
}
|
|
121140
120924
|
},
|
|
121141
120925
|
{
|
|
121142
|
-
"
|
|
121143
|
-
"name": "_controllers",
|
|
120926
|
+
"name": "beforeclose",
|
|
121144
120927
|
"type": {
|
|
121145
|
-
"text": "
|
|
120928
|
+
"text": "Event"
|
|
121146
120929
|
},
|
|
121147
|
-
"
|
|
120930
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
121148
120931
|
"inheritedFrom": {
|
|
121149
|
-
"name": "
|
|
121150
|
-
"module": "core/base-elements/element.js"
|
|
120932
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120933
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120934
|
+
}
|
|
120935
|
+
},
|
|
120936
|
+
{
|
|
120937
|
+
"name": "close",
|
|
120938
|
+
"type": {
|
|
120939
|
+
"text": "Event"
|
|
120940
|
+
},
|
|
120941
|
+
"description": "Emits whenever the component is closed.",
|
|
120942
|
+
"inheritedFrom": {
|
|
120943
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120944
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121151
120945
|
}
|
|
121152
120946
|
}
|
|
121153
|
-
]
|
|
121154
|
-
"superclass": {
|
|
121155
|
-
"name": "SbbElement",
|
|
121156
|
-
"module": "core/base-elements.js"
|
|
121157
|
-
},
|
|
121158
|
-
"tagName": "sbb-sidebar-container",
|
|
121159
|
-
"customElement": true
|
|
120947
|
+
]
|
|
121160
120948
|
}
|
|
121161
120949
|
],
|
|
121162
120950
|
"exports": [
|
|
121163
120951
|
{
|
|
121164
120952
|
"kind": "js",
|
|
121165
|
-
"name": "
|
|
120953
|
+
"name": "SbbSidebarElement",
|
|
121166
120954
|
"declaration": {
|
|
121167
|
-
"name": "
|
|
121168
|
-
"module": "sidebar/sidebar
|
|
120955
|
+
"name": "SbbSidebarElement",
|
|
120956
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
121169
120957
|
}
|
|
121170
120958
|
}
|
|
121171
120959
|
]
|
|
@@ -122168,24 +121956,236 @@
|
|
|
122168
121956
|
],
|
|
122169
121957
|
"cssProperties": [
|
|
122170
121958
|
{
|
|
122171
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
122172
|
-
"name": "--sbb-button-loading-delay",
|
|
122173
|
-
"default": "300ms",
|
|
121959
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
121960
|
+
"name": "--sbb-button-loading-delay",
|
|
121961
|
+
"default": "300ms",
|
|
121962
|
+
"inheritedFrom": {
|
|
121963
|
+
"name": "SbbSecondaryButtonElement",
|
|
121964
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121965
|
+
}
|
|
121966
|
+
}
|
|
121967
|
+
]
|
|
121968
|
+
}
|
|
121969
|
+
],
|
|
121970
|
+
"exports": [
|
|
121971
|
+
{
|
|
121972
|
+
"kind": "js",
|
|
121973
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121974
|
+
"declaration": {
|
|
121975
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121976
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
121977
|
+
}
|
|
121978
|
+
}
|
|
121979
|
+
]
|
|
121980
|
+
},
|
|
121981
|
+
{
|
|
121982
|
+
"kind": "javascript-module",
|
|
121983
|
+
"path": "sidebar/sidebar-container/sidebar-container.component.js",
|
|
121984
|
+
"declarations": [
|
|
121985
|
+
{
|
|
121986
|
+
"kind": "class",
|
|
121987
|
+
"description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
|
|
121988
|
+
"name": "SbbSidebarContainerElement",
|
|
121989
|
+
"slots": [
|
|
121990
|
+
{
|
|
121991
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
121992
|
+
"name": ""
|
|
121993
|
+
}
|
|
121994
|
+
],
|
|
121995
|
+
"members": [
|
|
121996
|
+
{
|
|
121997
|
+
"kind": "field",
|
|
121998
|
+
"name": "elementName",
|
|
121999
|
+
"type": {
|
|
122000
|
+
"text": "string"
|
|
122001
|
+
},
|
|
122002
|
+
"privacy": "public",
|
|
122003
|
+
"static": true,
|
|
122004
|
+
"readonly": true,
|
|
122005
|
+
"default": "'sbb-sidebar-container'",
|
|
122006
|
+
"inheritedFrom": {
|
|
122007
|
+
"name": "SbbElement",
|
|
122008
|
+
"module": "core/base-elements/element.js"
|
|
122009
|
+
}
|
|
122010
|
+
},
|
|
122011
|
+
{
|
|
122012
|
+
"kind": "field",
|
|
122013
|
+
"name": "sidebars",
|
|
122014
|
+
"type": {
|
|
122015
|
+
"text": "SbbSidebarElement[]"
|
|
122016
|
+
},
|
|
122017
|
+
"privacy": "public",
|
|
122018
|
+
"description": "The sidebar children.",
|
|
122019
|
+
"readonly": true
|
|
122020
|
+
},
|
|
122021
|
+
{
|
|
122022
|
+
"kind": "field",
|
|
122023
|
+
"name": "start",
|
|
122024
|
+
"type": {
|
|
122025
|
+
"text": "SbbSidebarElement | null"
|
|
122026
|
+
},
|
|
122027
|
+
"privacy": "public",
|
|
122028
|
+
"description": "The sidebar child with the `start` position.",
|
|
122029
|
+
"readonly": true
|
|
122030
|
+
},
|
|
122031
|
+
{
|
|
122032
|
+
"kind": "field",
|
|
122033
|
+
"name": "end",
|
|
122034
|
+
"type": {
|
|
122035
|
+
"text": "SbbSidebarElement | null"
|
|
122036
|
+
},
|
|
122037
|
+
"privacy": "public",
|
|
122038
|
+
"description": "The sidebar child with the `end` position.",
|
|
122039
|
+
"readonly": true
|
|
122040
|
+
},
|
|
122041
|
+
{
|
|
122042
|
+
"kind": "field",
|
|
122043
|
+
"name": "_forcedClosedSidebars",
|
|
122044
|
+
"privacy": "private",
|
|
122045
|
+
"default": "new WeakSet<SbbSidebarElement>()"
|
|
122046
|
+
},
|
|
122047
|
+
{
|
|
122048
|
+
"kind": "method",
|
|
122049
|
+
"name": "_handleWidthChange",
|
|
122050
|
+
"privacy": "private",
|
|
122051
|
+
"return": {
|
|
122052
|
+
"type": {
|
|
122053
|
+
"text": "void"
|
|
122054
|
+
}
|
|
122055
|
+
}
|
|
122056
|
+
},
|
|
122057
|
+
{
|
|
122058
|
+
"kind": "method",
|
|
122059
|
+
"name": "_calculateSpaceState",
|
|
122060
|
+
"privacy": "private",
|
|
122061
|
+
"return": {
|
|
122062
|
+
"type": {
|
|
122063
|
+
"text": "Promise<void>"
|
|
122064
|
+
}
|
|
122065
|
+
},
|
|
122066
|
+
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
122067
|
+
},
|
|
122068
|
+
{
|
|
122069
|
+
"kind": "field",
|
|
122070
|
+
"name": "_hydrationRequired",
|
|
122071
|
+
"type": {
|
|
122072
|
+
"text": "boolean"
|
|
122073
|
+
},
|
|
122074
|
+
"privacy": "private",
|
|
122075
|
+
"default": "!!this.shadowRoot",
|
|
122076
|
+
"inheritedFrom": {
|
|
122077
|
+
"name": "SbbElement",
|
|
122078
|
+
"module": "core/base-elements/element.js"
|
|
122079
|
+
}
|
|
122080
|
+
},
|
|
122081
|
+
{
|
|
122082
|
+
"kind": "field",
|
|
122083
|
+
"name": "_hydrationComplete",
|
|
122084
|
+
"privacy": "private",
|
|
122085
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
122086
|
+
"inheritedFrom": {
|
|
122087
|
+
"name": "SbbElement",
|
|
122088
|
+
"module": "core/base-elements/element.js"
|
|
122089
|
+
}
|
|
122090
|
+
},
|
|
122091
|
+
{
|
|
122092
|
+
"kind": "field",
|
|
122093
|
+
"name": "_resolveHydration",
|
|
122094
|
+
"type": {
|
|
122095
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
122096
|
+
},
|
|
122097
|
+
"privacy": "private",
|
|
122098
|
+
"inheritedFrom": {
|
|
122099
|
+
"name": "SbbElement",
|
|
122100
|
+
"module": "core/base-elements/element.js"
|
|
122101
|
+
}
|
|
122102
|
+
},
|
|
122103
|
+
{
|
|
122104
|
+
"kind": "field",
|
|
122105
|
+
"name": "hydrationRequired",
|
|
122106
|
+
"type": {
|
|
122107
|
+
"text": "boolean"
|
|
122108
|
+
},
|
|
122109
|
+
"privacy": "protected",
|
|
122110
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
122111
|
+
"readonly": true,
|
|
122112
|
+
"inheritedFrom": {
|
|
122113
|
+
"name": "SbbElement",
|
|
122114
|
+
"module": "core/base-elements/element.js"
|
|
122115
|
+
},
|
|
122116
|
+
"default": "!!this.shadowRoot"
|
|
122117
|
+
},
|
|
122118
|
+
{
|
|
122119
|
+
"kind": "method",
|
|
122120
|
+
"name": "toggleState",
|
|
122121
|
+
"privacy": "protected",
|
|
122122
|
+
"return": {
|
|
122123
|
+
"type": {
|
|
122124
|
+
"text": "void"
|
|
122125
|
+
}
|
|
122126
|
+
},
|
|
122127
|
+
"parameters": [
|
|
122128
|
+
{
|
|
122129
|
+
"name": "value",
|
|
122130
|
+
"type": {
|
|
122131
|
+
"text": "string"
|
|
122132
|
+
}
|
|
122133
|
+
},
|
|
122134
|
+
{
|
|
122135
|
+
"name": "force",
|
|
122136
|
+
"optional": true,
|
|
122137
|
+
"type": {
|
|
122138
|
+
"text": "boolean"
|
|
122139
|
+
}
|
|
122140
|
+
}
|
|
122141
|
+
],
|
|
122142
|
+
"inheritedFrom": {
|
|
122143
|
+
"name": "SbbElement",
|
|
122144
|
+
"module": "core/base-elements/element.js"
|
|
122145
|
+
}
|
|
122146
|
+
},
|
|
122147
|
+
{
|
|
122148
|
+
"kind": "field",
|
|
122149
|
+
"name": "['_$sbbElement$']",
|
|
122150
|
+
"type": {
|
|
122151
|
+
"text": "boolean"
|
|
122152
|
+
},
|
|
122153
|
+
"privacy": "public",
|
|
122154
|
+
"static": true,
|
|
122155
|
+
"default": "true",
|
|
122156
|
+
"inheritedFrom": {
|
|
122157
|
+
"name": "SbbElement",
|
|
122158
|
+
"module": "core/base-elements/element.js"
|
|
122159
|
+
}
|
|
122160
|
+
},
|
|
122161
|
+
{
|
|
122162
|
+
"kind": "field",
|
|
122163
|
+
"name": "_controllers",
|
|
122164
|
+
"type": {
|
|
122165
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
122166
|
+
},
|
|
122167
|
+
"privacy": "private",
|
|
122174
122168
|
"inheritedFrom": {
|
|
122175
|
-
"name": "
|
|
122176
|
-
"module": "
|
|
122169
|
+
"name": "SbbElement",
|
|
122170
|
+
"module": "core/base-elements/element.js"
|
|
122177
122171
|
}
|
|
122178
122172
|
}
|
|
122179
|
-
]
|
|
122173
|
+
],
|
|
122174
|
+
"superclass": {
|
|
122175
|
+
"name": "SbbElement",
|
|
122176
|
+
"module": "core/base-elements.js"
|
|
122177
|
+
},
|
|
122178
|
+
"tagName": "sbb-sidebar-container",
|
|
122179
|
+
"customElement": true
|
|
122180
122180
|
}
|
|
122181
122181
|
],
|
|
122182
122182
|
"exports": [
|
|
122183
122183
|
{
|
|
122184
122184
|
"kind": "js",
|
|
122185
|
-
"name": "
|
|
122185
|
+
"name": "SbbSidebarContainerElement",
|
|
122186
122186
|
"declaration": {
|
|
122187
|
-
"name": "
|
|
122188
|
-
"module": "sidebar/sidebar-
|
|
122187
|
+
"name": "SbbSidebarContainerElement",
|
|
122188
|
+
"module": "sidebar/sidebar-container/sidebar-container.component.js"
|
|
122189
122189
|
}
|
|
122190
122190
|
}
|
|
122191
122191
|
]
|
|
@@ -132389,247 +132389,45 @@
|
|
|
132389
132389
|
"description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
|
|
132390
132390
|
"inheritedFrom": {
|
|
132391
132391
|
"name": "SbbNamedSlotListMixin",
|
|
132392
|
-
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132393
|
-
}
|
|
132394
|
-
},
|
|
132395
|
-
{
|
|
132396
|
-
"kind": "method",
|
|
132397
|
-
"name": "listSlotEntries",
|
|
132398
|
-
"privacy": "protected",
|
|
132399
|
-
"return": {
|
|
132400
|
-
"type": {
|
|
132401
|
-
"text": "SbbNamedSlotProperties[]"
|
|
132402
|
-
}
|
|
132403
|
-
},
|
|
132404
|
-
"parameters": [
|
|
132405
|
-
{
|
|
132406
|
-
"name": "listItemAttributes",
|
|
132407
|
-
"type": {
|
|
132408
|
-
"text": "{\n localNameVisualOnly?: string[];\n }"
|
|
132409
|
-
}
|
|
132410
|
-
}
|
|
132411
|
-
],
|
|
132412
|
-
"description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
|
|
132413
|
-
"inheritedFrom": {
|
|
132414
|
-
"name": "SbbNamedSlotListMixin",
|
|
132415
|
-
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132416
|
-
}
|
|
132417
|
-
},
|
|
132418
|
-
{
|
|
132419
|
-
"kind": "method",
|
|
132420
|
-
"name": "renderHiddenSlot",
|
|
132421
|
-
"privacy": "protected",
|
|
132422
|
-
"return": {
|
|
132423
|
-
"type": {
|
|
132424
|
-
"text": "TemplateResult"
|
|
132425
|
-
}
|
|
132426
|
-
},
|
|
132427
|
-
"description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
|
|
132428
|
-
"inheritedFrom": {
|
|
132429
|
-
"name": "SbbNamedSlotListMixin",
|
|
132430
|
-
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132431
|
-
}
|
|
132432
|
-
},
|
|
132433
|
-
{
|
|
132434
|
-
"kind": "field",
|
|
132435
|
-
"name": "_hydrationRequired",
|
|
132436
|
-
"type": {
|
|
132437
|
-
"text": "boolean"
|
|
132438
|
-
},
|
|
132439
|
-
"privacy": "private",
|
|
132440
|
-
"default": "!!this.shadowRoot",
|
|
132441
|
-
"inheritedFrom": {
|
|
132442
|
-
"name": "SbbElement",
|
|
132443
|
-
"module": "core/base-elements/element.js"
|
|
132444
|
-
}
|
|
132445
|
-
},
|
|
132446
|
-
{
|
|
132447
|
-
"kind": "field",
|
|
132448
|
-
"name": "_hydrationComplete",
|
|
132449
|
-
"privacy": "private",
|
|
132450
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132451
|
-
"inheritedFrom": {
|
|
132452
|
-
"name": "SbbElement",
|
|
132453
|
-
"module": "core/base-elements/element.js"
|
|
132454
|
-
}
|
|
132455
|
-
},
|
|
132456
|
-
{
|
|
132457
|
-
"kind": "field",
|
|
132458
|
-
"name": "_resolveHydration",
|
|
132459
|
-
"type": {
|
|
132460
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
132461
|
-
},
|
|
132462
|
-
"privacy": "private",
|
|
132463
|
-
"inheritedFrom": {
|
|
132464
|
-
"name": "SbbElement",
|
|
132465
|
-
"module": "core/base-elements/element.js"
|
|
132466
|
-
}
|
|
132467
|
-
},
|
|
132468
|
-
{
|
|
132469
|
-
"kind": "field",
|
|
132470
|
-
"name": "hydrationRequired",
|
|
132471
|
-
"type": {
|
|
132472
|
-
"text": "boolean"
|
|
132473
|
-
},
|
|
132474
|
-
"privacy": "protected",
|
|
132475
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
132476
|
-
"readonly": true,
|
|
132477
|
-
"inheritedFrom": {
|
|
132478
|
-
"name": "SbbElement",
|
|
132479
|
-
"module": "core/base-elements/element.js"
|
|
132480
|
-
},
|
|
132481
|
-
"default": "!!this.shadowRoot"
|
|
132482
|
-
},
|
|
132483
|
-
{
|
|
132484
|
-
"kind": "method",
|
|
132485
|
-
"name": "toggleState",
|
|
132486
|
-
"privacy": "protected",
|
|
132487
|
-
"return": {
|
|
132488
|
-
"type": {
|
|
132489
|
-
"text": "void"
|
|
132490
|
-
}
|
|
132491
|
-
},
|
|
132492
|
-
"parameters": [
|
|
132493
|
-
{
|
|
132494
|
-
"name": "value",
|
|
132495
|
-
"type": {
|
|
132496
|
-
"text": "string"
|
|
132497
|
-
}
|
|
132498
|
-
},
|
|
132499
|
-
{
|
|
132500
|
-
"name": "force",
|
|
132501
|
-
"optional": true,
|
|
132502
|
-
"type": {
|
|
132503
|
-
"text": "boolean"
|
|
132504
|
-
}
|
|
132505
|
-
}
|
|
132506
|
-
],
|
|
132507
|
-
"inheritedFrom": {
|
|
132508
|
-
"name": "SbbElement",
|
|
132509
|
-
"module": "core/base-elements/element.js"
|
|
132510
|
-
}
|
|
132511
|
-
},
|
|
132512
|
-
{
|
|
132513
|
-
"kind": "field",
|
|
132514
|
-
"name": "['_$sbbElement$']",
|
|
132515
|
-
"type": {
|
|
132516
|
-
"text": "boolean"
|
|
132517
|
-
},
|
|
132518
|
-
"privacy": "public",
|
|
132519
|
-
"static": true,
|
|
132520
|
-
"default": "true",
|
|
132521
|
-
"inheritedFrom": {
|
|
132522
|
-
"name": "SbbElement",
|
|
132523
|
-
"module": "core/base-elements/element.js"
|
|
132524
|
-
}
|
|
132525
|
-
},
|
|
132526
|
-
{
|
|
132527
|
-
"kind": "field",
|
|
132528
|
-
"name": "_controllers",
|
|
132529
|
-
"type": {
|
|
132530
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
132531
|
-
},
|
|
132532
|
-
"privacy": "private",
|
|
132533
|
-
"inheritedFrom": {
|
|
132534
|
-
"name": "SbbElement",
|
|
132535
|
-
"module": "core/base-elements/element.js"
|
|
132536
|
-
}
|
|
132537
|
-
}
|
|
132538
|
-
],
|
|
132539
|
-
"attributes": [
|
|
132540
|
-
{
|
|
132541
|
-
"name": "direction-label",
|
|
132542
|
-
"type": {
|
|
132543
|
-
"text": "string"
|
|
132544
|
-
},
|
|
132545
|
-
"default": "''",
|
|
132546
|
-
"description": "General label for \"driving direction\".",
|
|
132547
|
-
"fieldName": "directionLabel"
|
|
132548
|
-
},
|
|
132549
|
-
{
|
|
132550
|
-
"name": "direction-label-level",
|
|
132551
|
-
"type": {
|
|
132552
|
-
"text": "SbbTitleLevel"
|
|
132553
|
-
},
|
|
132554
|
-
"default": "'6'",
|
|
132555
|
-
"description": "Heading level of the direction label, used for screen readers.",
|
|
132556
|
-
"fieldName": "directionLabelLevel"
|
|
132557
|
-
},
|
|
132558
|
-
{
|
|
132559
|
-
"name": "station",
|
|
132560
|
-
"type": {
|
|
132561
|
-
"text": "string"
|
|
132562
|
-
},
|
|
132563
|
-
"default": "''",
|
|
132564
|
-
"description": "Label for the destination station of the train.",
|
|
132565
|
-
"fieldName": "station"
|
|
132566
|
-
},
|
|
132567
|
-
{
|
|
132568
|
-
"name": "accessibility-label",
|
|
132569
|
-
"type": {
|
|
132570
|
-
"text": "string"
|
|
132571
|
-
},
|
|
132572
|
-
"default": "''",
|
|
132573
|
-
"description": "Accessibility label for additional information regarding the leaving direction of the train.",
|
|
132574
|
-
"fieldName": "accessibilityLabel"
|
|
132575
|
-
},
|
|
132576
|
-
{
|
|
132577
|
-
"name": "direction",
|
|
132578
|
-
"type": {
|
|
132579
|
-
"text": "'left' | 'right'"
|
|
132580
|
-
},
|
|
132581
|
-
"default": "'left'",
|
|
132582
|
-
"description": "Controls the direction indicator to show the arrow left or right. Default is left.",
|
|
132583
|
-
"fieldName": "direction"
|
|
132584
|
-
}
|
|
132585
|
-
],
|
|
132586
|
-
"mixins": [
|
|
132587
|
-
{
|
|
132588
|
-
"name": "SbbNamedSlotListMixin",
|
|
132589
|
-
"module": "core/mixins.js"
|
|
132590
|
-
}
|
|
132591
|
-
],
|
|
132592
|
-
"superclass": {
|
|
132593
|
-
"name": "SbbElement",
|
|
132594
|
-
"module": "core/base-elements.js"
|
|
132595
|
-
},
|
|
132596
|
-
"tagName": "sbb-train",
|
|
132597
|
-
"customElement": true
|
|
132598
|
-
}
|
|
132599
|
-
],
|
|
132600
|
-
"exports": [
|
|
132601
|
-
{
|
|
132602
|
-
"kind": "js",
|
|
132603
|
-
"name": "SbbTrainElement",
|
|
132604
|
-
"declaration": {
|
|
132605
|
-
"name": "SbbTrainElement",
|
|
132606
|
-
"module": "train/train/train.component.js"
|
|
132607
|
-
}
|
|
132608
|
-
}
|
|
132609
|
-
]
|
|
132610
|
-
},
|
|
132611
|
-
{
|
|
132612
|
-
"kind": "javascript-module",
|
|
132613
|
-
"path": "train/train-blocked-passage/train-blocked-passage.component.js",
|
|
132614
|
-
"declarations": [
|
|
132615
|
-
{
|
|
132616
|
-
"kind": "class",
|
|
132617
|
-
"description": "It visually displays a blocked passage between train wagons.",
|
|
132618
|
-
"name": "SbbTrainBlockedPassageElement",
|
|
132619
|
-
"members": [
|
|
132392
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132393
|
+
}
|
|
132394
|
+
},
|
|
132620
132395
|
{
|
|
132621
|
-
"kind": "
|
|
132622
|
-
"name": "
|
|
132623
|
-
"
|
|
132624
|
-
|
|
132396
|
+
"kind": "method",
|
|
132397
|
+
"name": "listSlotEntries",
|
|
132398
|
+
"privacy": "protected",
|
|
132399
|
+
"return": {
|
|
132400
|
+
"type": {
|
|
132401
|
+
"text": "SbbNamedSlotProperties[]"
|
|
132402
|
+
}
|
|
132625
132403
|
},
|
|
132626
|
-
"
|
|
132627
|
-
|
|
132628
|
-
|
|
132629
|
-
|
|
132404
|
+
"parameters": [
|
|
132405
|
+
{
|
|
132406
|
+
"name": "listItemAttributes",
|
|
132407
|
+
"type": {
|
|
132408
|
+
"text": "{\n localNameVisualOnly?: string[];\n }"
|
|
132409
|
+
}
|
|
132410
|
+
}
|
|
132411
|
+
],
|
|
132412
|
+
"description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
|
|
132630
132413
|
"inheritedFrom": {
|
|
132631
|
-
"name": "
|
|
132632
|
-
"module": "core/
|
|
132414
|
+
"name": "SbbNamedSlotListMixin",
|
|
132415
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132416
|
+
}
|
|
132417
|
+
},
|
|
132418
|
+
{
|
|
132419
|
+
"kind": "method",
|
|
132420
|
+
"name": "renderHiddenSlot",
|
|
132421
|
+
"privacy": "protected",
|
|
132422
|
+
"return": {
|
|
132423
|
+
"type": {
|
|
132424
|
+
"text": "TemplateResult"
|
|
132425
|
+
}
|
|
132426
|
+
},
|
|
132427
|
+
"description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
|
|
132428
|
+
"inheritedFrom": {
|
|
132429
|
+
"name": "SbbNamedSlotListMixin",
|
|
132430
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
132633
132431
|
}
|
|
132634
132432
|
},
|
|
132635
132433
|
{
|
|
@@ -132738,21 +132536,74 @@
|
|
|
132738
132536
|
}
|
|
132739
132537
|
}
|
|
132740
132538
|
],
|
|
132539
|
+
"attributes": [
|
|
132540
|
+
{
|
|
132541
|
+
"name": "direction-label",
|
|
132542
|
+
"type": {
|
|
132543
|
+
"text": "string"
|
|
132544
|
+
},
|
|
132545
|
+
"default": "''",
|
|
132546
|
+
"description": "General label for \"driving direction\".",
|
|
132547
|
+
"fieldName": "directionLabel"
|
|
132548
|
+
},
|
|
132549
|
+
{
|
|
132550
|
+
"name": "direction-label-level",
|
|
132551
|
+
"type": {
|
|
132552
|
+
"text": "SbbTitleLevel"
|
|
132553
|
+
},
|
|
132554
|
+
"default": "'6'",
|
|
132555
|
+
"description": "Heading level of the direction label, used for screen readers.",
|
|
132556
|
+
"fieldName": "directionLabelLevel"
|
|
132557
|
+
},
|
|
132558
|
+
{
|
|
132559
|
+
"name": "station",
|
|
132560
|
+
"type": {
|
|
132561
|
+
"text": "string"
|
|
132562
|
+
},
|
|
132563
|
+
"default": "''",
|
|
132564
|
+
"description": "Label for the destination station of the train.",
|
|
132565
|
+
"fieldName": "station"
|
|
132566
|
+
},
|
|
132567
|
+
{
|
|
132568
|
+
"name": "accessibility-label",
|
|
132569
|
+
"type": {
|
|
132570
|
+
"text": "string"
|
|
132571
|
+
},
|
|
132572
|
+
"default": "''",
|
|
132573
|
+
"description": "Accessibility label for additional information regarding the leaving direction of the train.",
|
|
132574
|
+
"fieldName": "accessibilityLabel"
|
|
132575
|
+
},
|
|
132576
|
+
{
|
|
132577
|
+
"name": "direction",
|
|
132578
|
+
"type": {
|
|
132579
|
+
"text": "'left' | 'right'"
|
|
132580
|
+
},
|
|
132581
|
+
"default": "'left'",
|
|
132582
|
+
"description": "Controls the direction indicator to show the arrow left or right. Default is left.",
|
|
132583
|
+
"fieldName": "direction"
|
|
132584
|
+
}
|
|
132585
|
+
],
|
|
132586
|
+
"mixins": [
|
|
132587
|
+
{
|
|
132588
|
+
"name": "SbbNamedSlotListMixin",
|
|
132589
|
+
"module": "core/mixins.js"
|
|
132590
|
+
}
|
|
132591
|
+
],
|
|
132741
132592
|
"superclass": {
|
|
132742
132593
|
"name": "SbbElement",
|
|
132743
132594
|
"module": "core/base-elements.js"
|
|
132744
132595
|
},
|
|
132745
|
-
"tagName": "sbb-train
|
|
132596
|
+
"tagName": "sbb-train",
|
|
132746
132597
|
"customElement": true
|
|
132747
132598
|
}
|
|
132748
132599
|
],
|
|
132749
132600
|
"exports": [
|
|
132750
132601
|
{
|
|
132751
132602
|
"kind": "js",
|
|
132752
|
-
"name": "
|
|
132603
|
+
"name": "SbbTrainElement",
|
|
132753
132604
|
"declaration": {
|
|
132754
|
-
"name": "
|
|
132755
|
-
"module": "train/train
|
|
132605
|
+
"name": "SbbTrainElement",
|
|
132606
|
+
"module": "train/train/train.component.js"
|
|
132756
132607
|
}
|
|
132757
132608
|
}
|
|
132758
132609
|
]
|
|
@@ -133089,6 +132940,155 @@
|
|
|
133089
132940
|
}
|
|
133090
132941
|
]
|
|
133091
132942
|
},
|
|
132943
|
+
{
|
|
132944
|
+
"kind": "javascript-module",
|
|
132945
|
+
"path": "train/train-blocked-passage/train-blocked-passage.component.js",
|
|
132946
|
+
"declarations": [
|
|
132947
|
+
{
|
|
132948
|
+
"kind": "class",
|
|
132949
|
+
"description": "It visually displays a blocked passage between train wagons.",
|
|
132950
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
132951
|
+
"members": [
|
|
132952
|
+
{
|
|
132953
|
+
"kind": "field",
|
|
132954
|
+
"name": "elementName",
|
|
132955
|
+
"type": {
|
|
132956
|
+
"text": "string"
|
|
132957
|
+
},
|
|
132958
|
+
"privacy": "public",
|
|
132959
|
+
"static": true,
|
|
132960
|
+
"readonly": true,
|
|
132961
|
+
"default": "'sbb-train-blocked-passage'",
|
|
132962
|
+
"inheritedFrom": {
|
|
132963
|
+
"name": "SbbElement",
|
|
132964
|
+
"module": "core/base-elements/element.js"
|
|
132965
|
+
}
|
|
132966
|
+
},
|
|
132967
|
+
{
|
|
132968
|
+
"kind": "field",
|
|
132969
|
+
"name": "_hydrationRequired",
|
|
132970
|
+
"type": {
|
|
132971
|
+
"text": "boolean"
|
|
132972
|
+
},
|
|
132973
|
+
"privacy": "private",
|
|
132974
|
+
"default": "!!this.shadowRoot",
|
|
132975
|
+
"inheritedFrom": {
|
|
132976
|
+
"name": "SbbElement",
|
|
132977
|
+
"module": "core/base-elements/element.js"
|
|
132978
|
+
}
|
|
132979
|
+
},
|
|
132980
|
+
{
|
|
132981
|
+
"kind": "field",
|
|
132982
|
+
"name": "_hydrationComplete",
|
|
132983
|
+
"privacy": "private",
|
|
132984
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132985
|
+
"inheritedFrom": {
|
|
132986
|
+
"name": "SbbElement",
|
|
132987
|
+
"module": "core/base-elements/element.js"
|
|
132988
|
+
}
|
|
132989
|
+
},
|
|
132990
|
+
{
|
|
132991
|
+
"kind": "field",
|
|
132992
|
+
"name": "_resolveHydration",
|
|
132993
|
+
"type": {
|
|
132994
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
132995
|
+
},
|
|
132996
|
+
"privacy": "private",
|
|
132997
|
+
"inheritedFrom": {
|
|
132998
|
+
"name": "SbbElement",
|
|
132999
|
+
"module": "core/base-elements/element.js"
|
|
133000
|
+
}
|
|
133001
|
+
},
|
|
133002
|
+
{
|
|
133003
|
+
"kind": "field",
|
|
133004
|
+
"name": "hydrationRequired",
|
|
133005
|
+
"type": {
|
|
133006
|
+
"text": "boolean"
|
|
133007
|
+
},
|
|
133008
|
+
"privacy": "protected",
|
|
133009
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
133010
|
+
"readonly": true,
|
|
133011
|
+
"inheritedFrom": {
|
|
133012
|
+
"name": "SbbElement",
|
|
133013
|
+
"module": "core/base-elements/element.js"
|
|
133014
|
+
},
|
|
133015
|
+
"default": "!!this.shadowRoot"
|
|
133016
|
+
},
|
|
133017
|
+
{
|
|
133018
|
+
"kind": "method",
|
|
133019
|
+
"name": "toggleState",
|
|
133020
|
+
"privacy": "protected",
|
|
133021
|
+
"return": {
|
|
133022
|
+
"type": {
|
|
133023
|
+
"text": "void"
|
|
133024
|
+
}
|
|
133025
|
+
},
|
|
133026
|
+
"parameters": [
|
|
133027
|
+
{
|
|
133028
|
+
"name": "value",
|
|
133029
|
+
"type": {
|
|
133030
|
+
"text": "string"
|
|
133031
|
+
}
|
|
133032
|
+
},
|
|
133033
|
+
{
|
|
133034
|
+
"name": "force",
|
|
133035
|
+
"optional": true,
|
|
133036
|
+
"type": {
|
|
133037
|
+
"text": "boolean"
|
|
133038
|
+
}
|
|
133039
|
+
}
|
|
133040
|
+
],
|
|
133041
|
+
"inheritedFrom": {
|
|
133042
|
+
"name": "SbbElement",
|
|
133043
|
+
"module": "core/base-elements/element.js"
|
|
133044
|
+
}
|
|
133045
|
+
},
|
|
133046
|
+
{
|
|
133047
|
+
"kind": "field",
|
|
133048
|
+
"name": "['_$sbbElement$']",
|
|
133049
|
+
"type": {
|
|
133050
|
+
"text": "boolean"
|
|
133051
|
+
},
|
|
133052
|
+
"privacy": "public",
|
|
133053
|
+
"static": true,
|
|
133054
|
+
"default": "true",
|
|
133055
|
+
"inheritedFrom": {
|
|
133056
|
+
"name": "SbbElement",
|
|
133057
|
+
"module": "core/base-elements/element.js"
|
|
133058
|
+
}
|
|
133059
|
+
},
|
|
133060
|
+
{
|
|
133061
|
+
"kind": "field",
|
|
133062
|
+
"name": "_controllers",
|
|
133063
|
+
"type": {
|
|
133064
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
133065
|
+
},
|
|
133066
|
+
"privacy": "private",
|
|
133067
|
+
"inheritedFrom": {
|
|
133068
|
+
"name": "SbbElement",
|
|
133069
|
+
"module": "core/base-elements/element.js"
|
|
133070
|
+
}
|
|
133071
|
+
}
|
|
133072
|
+
],
|
|
133073
|
+
"superclass": {
|
|
133074
|
+
"name": "SbbElement",
|
|
133075
|
+
"module": "core/base-elements.js"
|
|
133076
|
+
},
|
|
133077
|
+
"tagName": "sbb-train-blocked-passage",
|
|
133078
|
+
"customElement": true
|
|
133079
|
+
}
|
|
133080
|
+
],
|
|
133081
|
+
"exports": [
|
|
133082
|
+
{
|
|
133083
|
+
"kind": "js",
|
|
133084
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
133085
|
+
"declaration": {
|
|
133086
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
133087
|
+
"module": "train/train-blocked-passage/train-blocked-passage.component.js"
|
|
133088
|
+
}
|
|
133089
|
+
}
|
|
133090
|
+
]
|
|
133091
|
+
},
|
|
133092
133092
|
{
|
|
133093
133093
|
"kind": "javascript-module",
|
|
133094
133094
|
"path": "train/train-wagon/train-wagon.component.js",
|