@sbb-esta/lyne-elements-dev 4.11.0-dev.1776089549 → 4.11.0-dev.1776143908
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 +939 -939
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -106279,23 +106279,27 @@
|
|
|
106279
106279
|
},
|
|
106280
106280
|
{
|
|
106281
106281
|
"kind": "javascript-module",
|
|
106282
|
-
"path": "menu/menu/menu.component.js",
|
|
106282
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
106283
106283
|
"declarations": [
|
|
106284
106284
|
{
|
|
106285
106285
|
"kind": "class",
|
|
106286
|
-
"description": "It displays a
|
|
106287
|
-
"name": "
|
|
106286
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
106287
|
+
"name": "SbbMenuButtonElement",
|
|
106288
106288
|
"cssProperties": [
|
|
106289
106289
|
{
|
|
106290
|
-
"description": "
|
|
106291
|
-
"name": "--sbb-menu-
|
|
106292
|
-
"default": "var(--sbb-
|
|
106290
|
+
"description": "Can be used to modify horizontal padding.",
|
|
106291
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
106292
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
106293
106293
|
}
|
|
106294
106294
|
],
|
|
106295
106295
|
"slots": [
|
|
106296
106296
|
{
|
|
106297
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
106297
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
106298
106298
|
"name": ""
|
|
106299
|
+
},
|
|
106300
|
+
{
|
|
106301
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
106302
|
+
"name": "icon"
|
|
106299
106303
|
}
|
|
106300
106304
|
],
|
|
106301
106305
|
"members": [
|
|
@@ -106312,274 +106316,261 @@
|
|
|
106312
106316
|
"name": "SbbElement",
|
|
106313
106317
|
"module": "core/base-elements/element.js"
|
|
106314
106318
|
},
|
|
106315
|
-
"default": "'sbb-menu'"
|
|
106319
|
+
"default": "'sbb-menu-button'"
|
|
106316
106320
|
},
|
|
106317
106321
|
{
|
|
106318
106322
|
"kind": "field",
|
|
106319
106323
|
"name": "role",
|
|
106320
106324
|
"type": {
|
|
106321
|
-
"text": "
|
|
106325
|
+
"text": "ElementInternals['role']"
|
|
106322
106326
|
},
|
|
106323
106327
|
"privacy": "public",
|
|
106324
106328
|
"static": true,
|
|
106325
106329
|
"readonly": true,
|
|
106326
|
-
"default": "'
|
|
106330
|
+
"default": "'menuitem'",
|
|
106331
|
+
"inheritedFrom": {
|
|
106332
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106333
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106334
|
+
}
|
|
106327
106335
|
},
|
|
106328
106336
|
{
|
|
106329
106337
|
"kind": "field",
|
|
106330
|
-
"name": "
|
|
106338
|
+
"name": "disabledInteractive",
|
|
106331
106339
|
"type": {
|
|
106332
|
-
"text": "
|
|
106340
|
+
"text": "boolean"
|
|
106333
106341
|
},
|
|
106334
106342
|
"privacy": "public",
|
|
106335
|
-
"default": "
|
|
106336
|
-
"description": "
|
|
106337
|
-
"attribute": "
|
|
106338
|
-
|
|
106339
|
-
|
|
106340
|
-
|
|
106341
|
-
|
|
106342
|
-
|
|
106343
|
-
"text": "HTMLDivElement"
|
|
106344
|
-
},
|
|
106345
|
-
"privacy": "private"
|
|
106346
|
-
},
|
|
106347
|
-
{
|
|
106348
|
-
"kind": "field",
|
|
106349
|
-
"name": "_triggerElement",
|
|
106350
|
-
"type": {
|
|
106351
|
-
"text": "HTMLElement | null"
|
|
106352
|
-
},
|
|
106353
|
-
"privacy": "private",
|
|
106354
|
-
"default": "null"
|
|
106355
|
-
},
|
|
106356
|
-
{
|
|
106357
|
-
"kind": "field",
|
|
106358
|
-
"name": "_triggerAbortController",
|
|
106359
|
-
"type": {
|
|
106360
|
-
"text": "AbortController"
|
|
106361
|
-
},
|
|
106362
|
-
"privacy": "private"
|
|
106343
|
+
"default": "false",
|
|
106344
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
106345
|
+
"attribute": "disabled-interactive",
|
|
106346
|
+
"reflects": true,
|
|
106347
|
+
"inheritedFrom": {
|
|
106348
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
106349
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106350
|
+
}
|
|
106363
106351
|
},
|
|
106364
106352
|
{
|
|
106365
106353
|
"kind": "field",
|
|
106366
|
-
"name": "
|
|
106354
|
+
"name": "disabled",
|
|
106355
|
+
"privacy": "public",
|
|
106356
|
+
"description": "Whether the component is disabled.",
|
|
106357
|
+
"default": "false",
|
|
106367
106358
|
"type": {
|
|
106368
106359
|
"text": "boolean"
|
|
106369
106360
|
},
|
|
106370
|
-
"
|
|
106371
|
-
"
|
|
106372
|
-
|
|
106373
|
-
|
|
106374
|
-
|
|
106375
|
-
|
|
106376
|
-
"type": {
|
|
106377
|
-
"text": "AbortController"
|
|
106378
|
-
},
|
|
106379
|
-
"privacy": "private"
|
|
106380
|
-
},
|
|
106381
|
-
{
|
|
106382
|
-
"kind": "field",
|
|
106383
|
-
"name": "_escapableOverlayController",
|
|
106384
|
-
"privacy": "private",
|
|
106385
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
106386
|
-
},
|
|
106387
|
-
{
|
|
106388
|
-
"kind": "field",
|
|
106389
|
-
"name": "_focusTrapController",
|
|
106390
|
-
"privacy": "private",
|
|
106391
|
-
"default": "new SbbFocusTrapController(this)"
|
|
106392
|
-
},
|
|
106393
|
-
{
|
|
106394
|
-
"kind": "field",
|
|
106395
|
-
"name": "_scrollHandler",
|
|
106396
|
-
"privacy": "private",
|
|
106397
|
-
"default": "new SbbScrollHandler()"
|
|
106398
|
-
},
|
|
106399
|
-
{
|
|
106400
|
-
"kind": "field",
|
|
106401
|
-
"name": "_inertController",
|
|
106402
|
-
"privacy": "private",
|
|
106403
|
-
"default": "new SbbInertController(this)"
|
|
106404
|
-
},
|
|
106405
|
-
{
|
|
106406
|
-
"kind": "field",
|
|
106407
|
-
"name": "_mobileBreakpoint",
|
|
106408
|
-
"privacy": "private",
|
|
106409
|
-
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
106410
|
-
},
|
|
106411
|
-
{
|
|
106412
|
-
"kind": "field",
|
|
106413
|
-
"name": "_mediaMatcher",
|
|
106414
|
-
"privacy": "private",
|
|
106415
|
-
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
106416
|
-
},
|
|
106417
|
-
{
|
|
106418
|
-
"kind": "field",
|
|
106419
|
-
"name": "_darkModeController",
|
|
106420
|
-
"privacy": "private",
|
|
106421
|
-
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
106361
|
+
"attribute": "disabled",
|
|
106362
|
+
"reflects": true,
|
|
106363
|
+
"inheritedFrom": {
|
|
106364
|
+
"name": "SbbDisabledMixin",
|
|
106365
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106366
|
+
}
|
|
106422
106367
|
},
|
|
106423
106368
|
{
|
|
106424
106369
|
"kind": "field",
|
|
106425
|
-
"name": "
|
|
106370
|
+
"name": "#disabled",
|
|
106426
106371
|
"privacy": "private",
|
|
106427
|
-
"default": "new SbbLanguageController(this)"
|
|
106428
|
-
},
|
|
106429
|
-
{
|
|
106430
|
-
"kind": "field",
|
|
106431
|
-
"name": "_nestedMenu",
|
|
106432
106372
|
"type": {
|
|
106433
|
-
"text": "
|
|
106373
|
+
"text": "boolean"
|
|
106434
106374
|
},
|
|
106435
|
-
"
|
|
106436
|
-
"
|
|
106375
|
+
"default": "false",
|
|
106376
|
+
"inheritedFrom": {
|
|
106377
|
+
"name": "SbbDisabledMixin",
|
|
106378
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106379
|
+
}
|
|
106437
106380
|
},
|
|
106438
106381
|
{
|
|
106439
106382
|
"kind": "method",
|
|
106440
|
-
"name": "
|
|
106441
|
-
"privacy": "
|
|
106383
|
+
"name": "isDisabledExternally",
|
|
106384
|
+
"privacy": "protected",
|
|
106442
106385
|
"return": {
|
|
106443
106386
|
"type": {
|
|
106444
|
-
"text": "
|
|
106387
|
+
"text": "boolean"
|
|
106445
106388
|
}
|
|
106446
106389
|
},
|
|
106447
|
-
"description": "
|
|
106390
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106448
106391
|
"inheritedFrom": {
|
|
106449
|
-
"name": "
|
|
106450
|
-
"module": "core/
|
|
106392
|
+
"name": "SbbDisabledMixin",
|
|
106393
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106451
106394
|
}
|
|
106452
106395
|
},
|
|
106453
106396
|
{
|
|
106454
|
-
"kind": "
|
|
106455
|
-
"name": "
|
|
106456
|
-
"
|
|
106457
|
-
|
|
106458
|
-
"type": {
|
|
106459
|
-
"text": "void"
|
|
106460
|
-
}
|
|
106397
|
+
"kind": "field",
|
|
106398
|
+
"name": "styles",
|
|
106399
|
+
"type": {
|
|
106400
|
+
"text": "CSSResultGroup"
|
|
106461
106401
|
},
|
|
106462
|
-
"
|
|
106402
|
+
"privacy": "public",
|
|
106403
|
+
"static": true,
|
|
106404
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
106463
106405
|
"inheritedFrom": {
|
|
106464
|
-
"name": "
|
|
106465
|
-
"module": "
|
|
106406
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106407
|
+
"module": "menu/common/menu-action-common.js"
|
|
106466
106408
|
}
|
|
106467
106409
|
},
|
|
106468
106410
|
{
|
|
106469
106411
|
"kind": "method",
|
|
106470
|
-
"name": "
|
|
106471
|
-
"privacy": "
|
|
106412
|
+
"name": "renderTemplate",
|
|
106413
|
+
"privacy": "protected",
|
|
106472
106414
|
"return": {
|
|
106473
106415
|
"type": {
|
|
106474
|
-
"text": "
|
|
106416
|
+
"text": "TemplateResult"
|
|
106475
106417
|
}
|
|
106476
106418
|
},
|
|
106477
|
-
"description": "
|
|
106419
|
+
"description": "Override this method to render the component template.",
|
|
106478
106420
|
"inheritedFrom": {
|
|
106479
|
-
"name": "
|
|
106480
|
-
"module": "core/base-elements/
|
|
106421
|
+
"name": "SbbActionBaseElement",
|
|
106422
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106481
106423
|
}
|
|
106482
106424
|
},
|
|
106483
106425
|
{
|
|
106484
|
-
"kind": "
|
|
106485
|
-
"name": "
|
|
106486
|
-
"
|
|
106487
|
-
|
|
106488
|
-
"type": {
|
|
106489
|
-
"text": "void"
|
|
106490
|
-
}
|
|
106426
|
+
"kind": "field",
|
|
106427
|
+
"name": "iconName",
|
|
106428
|
+
"type": {
|
|
106429
|
+
"text": "string"
|
|
106491
106430
|
},
|
|
106492
|
-
"
|
|
106431
|
+
"privacy": "public",
|
|
106432
|
+
"default": "''",
|
|
106433
|
+
"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.",
|
|
106434
|
+
"attribute": "icon-name",
|
|
106435
|
+
"inheritedFrom": {
|
|
106436
|
+
"name": "SbbIconNameMixin",
|
|
106437
|
+
"module": "icon/icon-name-mixin.js"
|
|
106438
|
+
}
|
|
106493
106439
|
},
|
|
106494
106440
|
{
|
|
106495
106441
|
"kind": "method",
|
|
106496
|
-
"name": "
|
|
106497
|
-
"privacy": "
|
|
106442
|
+
"name": "renderIconSlot",
|
|
106443
|
+
"privacy": "protected",
|
|
106498
106444
|
"return": {
|
|
106499
106445
|
"type": {
|
|
106500
|
-
"text": "
|
|
106446
|
+
"text": "TemplateResult"
|
|
106501
106447
|
}
|
|
106502
106448
|
},
|
|
106503
106449
|
"parameters": [
|
|
106504
106450
|
{
|
|
106505
|
-
"name": "
|
|
106506
|
-
"
|
|
106507
|
-
"
|
|
106508
|
-
|
|
106451
|
+
"name": "classname",
|
|
106452
|
+
"optional": true,
|
|
106453
|
+
"type": {
|
|
106454
|
+
"text": "string"
|
|
106455
|
+
}
|
|
106509
106456
|
}
|
|
106510
|
-
]
|
|
106457
|
+
],
|
|
106458
|
+
"inheritedFrom": {
|
|
106459
|
+
"name": "SbbIconNameMixin",
|
|
106460
|
+
"module": "icon/icon-name-mixin.js"
|
|
106461
|
+
}
|
|
106511
106462
|
},
|
|
106512
106463
|
{
|
|
106513
106464
|
"kind": "method",
|
|
106514
|
-
"name": "
|
|
106515
|
-
"privacy": "
|
|
106465
|
+
"name": "renderIconName",
|
|
106466
|
+
"privacy": "protected",
|
|
106516
106467
|
"return": {
|
|
106517
106468
|
"type": {
|
|
106518
|
-
"text": "
|
|
106469
|
+
"text": "string"
|
|
106519
106470
|
}
|
|
106471
|
+
},
|
|
106472
|
+
"inheritedFrom": {
|
|
106473
|
+
"name": "SbbIconNameMixin",
|
|
106474
|
+
"module": "icon/icon-name-mixin.js"
|
|
106520
106475
|
}
|
|
106521
106476
|
},
|
|
106522
106477
|
{
|
|
106523
106478
|
"kind": "method",
|
|
106524
|
-
"name": "
|
|
106479
|
+
"name": "_renderIconName",
|
|
106525
106480
|
"privacy": "private",
|
|
106526
106481
|
"return": {
|
|
106527
106482
|
"type": {
|
|
106528
|
-
"text": "
|
|
106483
|
+
"text": "string"
|
|
106529
106484
|
}
|
|
106485
|
+
},
|
|
106486
|
+
"inheritedFrom": {
|
|
106487
|
+
"name": "SbbIconNameMixin",
|
|
106488
|
+
"module": "icon/icon-name-mixin.js"
|
|
106530
106489
|
}
|
|
106531
106490
|
},
|
|
106532
106491
|
{
|
|
106533
|
-
"kind": "
|
|
106534
|
-
"name": "
|
|
106492
|
+
"kind": "field",
|
|
106493
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
106494
|
+
"type": {
|
|
106495
|
+
"text": "array"
|
|
106496
|
+
},
|
|
106535
106497
|
"privacy": "private",
|
|
106536
|
-
"
|
|
106537
|
-
|
|
106538
|
-
|
|
106539
|
-
|
|
106498
|
+
"readonly": true,
|
|
106499
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
106500
|
+
"inheritedFrom": {
|
|
106501
|
+
"name": "SbbButtonBaseElement",
|
|
106502
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106540
106503
|
}
|
|
106541
106504
|
},
|
|
106542
106505
|
{
|
|
106543
|
-
"kind": "
|
|
106544
|
-
"name": "
|
|
106545
|
-
"
|
|
106546
|
-
|
|
106547
|
-
"type": {
|
|
106548
|
-
"text": "void"
|
|
106549
|
-
}
|
|
106506
|
+
"kind": "field",
|
|
106507
|
+
"name": "value",
|
|
106508
|
+
"type": {
|
|
106509
|
+
"text": "string"
|
|
106550
106510
|
},
|
|
106551
|
-
"
|
|
106552
|
-
|
|
106553
|
-
|
|
106554
|
-
|
|
106555
|
-
|
|
106556
|
-
|
|
106557
|
-
|
|
106558
|
-
|
|
106511
|
+
"privacy": "public",
|
|
106512
|
+
"inheritedFrom": {
|
|
106513
|
+
"name": "SbbButtonBaseElement",
|
|
106514
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106515
|
+
},
|
|
106516
|
+
"default": "''",
|
|
106517
|
+
"description": "Value of the form element.",
|
|
106518
|
+
"attribute": "value"
|
|
106559
106519
|
},
|
|
106560
106520
|
{
|
|
106561
|
-
"kind": "
|
|
106562
|
-
"name": "
|
|
106521
|
+
"kind": "field",
|
|
106522
|
+
"name": "type",
|
|
106523
|
+
"privacy": "public",
|
|
106524
|
+
"description": "The type attribute to use for the button.",
|
|
106525
|
+
"default": "'button'",
|
|
106526
|
+
"type": {
|
|
106527
|
+
"text": "SbbButtonType"
|
|
106528
|
+
},
|
|
106529
|
+
"attribute": "type",
|
|
106530
|
+
"inheritedFrom": {
|
|
106531
|
+
"name": "SbbButtonBaseElement",
|
|
106532
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106533
|
+
}
|
|
106534
|
+
},
|
|
106535
|
+
{
|
|
106536
|
+
"kind": "field",
|
|
106537
|
+
"name": "form",
|
|
106538
|
+
"type": {
|
|
106539
|
+
"text": "HTMLFormElement | null"
|
|
106540
|
+
},
|
|
106541
|
+
"privacy": "public",
|
|
106542
|
+
"description": "The `<form>` element to associate the button with.",
|
|
106543
|
+
"inheritedFrom": {
|
|
106544
|
+
"name": "SbbButtonBaseElement",
|
|
106545
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106546
|
+
},
|
|
106547
|
+
"attribute": "form"
|
|
106548
|
+
},
|
|
106549
|
+
{
|
|
106550
|
+
"kind": "field",
|
|
106551
|
+
"name": "_formId",
|
|
106552
|
+
"type": {
|
|
106553
|
+
"text": "string"
|
|
106554
|
+
},
|
|
106563
106555
|
"privacy": "private",
|
|
106564
|
-
"
|
|
106565
|
-
|
|
106566
|
-
|
|
106567
|
-
|
|
106556
|
+
"default": "''",
|
|
106557
|
+
"inheritedFrom": {
|
|
106558
|
+
"name": "SbbButtonBaseElement",
|
|
106559
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106568
106560
|
}
|
|
106569
106561
|
},
|
|
106570
106562
|
{
|
|
106571
|
-
"kind": "
|
|
106572
|
-
"name": "
|
|
106563
|
+
"kind": "field",
|
|
106564
|
+
"name": "_handleButtonClick",
|
|
106573
106565
|
"privacy": "private",
|
|
106574
|
-
"
|
|
106575
|
-
"
|
|
106576
|
-
|
|
106577
|
-
}
|
|
106566
|
+
"inheritedFrom": {
|
|
106567
|
+
"name": "SbbButtonBaseElement",
|
|
106568
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106578
106569
|
}
|
|
106579
106570
|
},
|
|
106580
106571
|
{
|
|
106581
106572
|
"kind": "method",
|
|
106582
|
-
"name": "
|
|
106573
|
+
"name": "_requestSubmit",
|
|
106583
106574
|
"privacy": "private",
|
|
106584
106575
|
"return": {
|
|
106585
106576
|
"type": {
|
|
@@ -106588,79 +106579,154 @@
|
|
|
106588
106579
|
},
|
|
106589
106580
|
"parameters": [
|
|
106590
106581
|
{
|
|
106591
|
-
"name": "
|
|
106582
|
+
"name": "form",
|
|
106592
106583
|
"type": {
|
|
106593
|
-
"text": "
|
|
106584
|
+
"text": "HTMLFormElement"
|
|
106594
106585
|
}
|
|
106595
106586
|
}
|
|
106596
|
-
]
|
|
106587
|
+
],
|
|
106588
|
+
"inheritedFrom": {
|
|
106589
|
+
"name": "SbbButtonBaseElement",
|
|
106590
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106591
|
+
}
|
|
106597
106592
|
},
|
|
106598
106593
|
{
|
|
106599
106594
|
"kind": "field",
|
|
106600
|
-
"name": "
|
|
106601
|
-
"privacy": "private"
|
|
106595
|
+
"name": "_formKeyDown",
|
|
106596
|
+
"privacy": "private",
|
|
106597
|
+
"inheritedFrom": {
|
|
106598
|
+
"name": "SbbButtonBaseElement",
|
|
106599
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106600
|
+
}
|
|
106602
106601
|
},
|
|
106603
106602
|
{
|
|
106604
106603
|
"kind": "field",
|
|
106605
|
-
"name": "
|
|
106606
|
-
"
|
|
106604
|
+
"name": "formAssociated",
|
|
106605
|
+
"type": {
|
|
106606
|
+
"text": "boolean"
|
|
106607
|
+
},
|
|
106608
|
+
"privacy": "public",
|
|
106609
|
+
"static": true,
|
|
106610
|
+
"default": "true",
|
|
106611
|
+
"inheritedFrom": {
|
|
106612
|
+
"name": "SbbFormAssociatedMixin",
|
|
106613
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106614
|
+
}
|
|
106607
106615
|
},
|
|
106608
106616
|
{
|
|
106609
|
-
"kind": "
|
|
106610
|
-
"name": "
|
|
106611
|
-
"privacy": "
|
|
106612
|
-
"
|
|
106613
|
-
|
|
106614
|
-
|
|
106615
|
-
}
|
|
106617
|
+
"kind": "field",
|
|
106618
|
+
"name": "name",
|
|
106619
|
+
"privacy": "public",
|
|
106620
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
106621
|
+
"type": {
|
|
106622
|
+
"text": "string"
|
|
106616
106623
|
},
|
|
106617
|
-
"
|
|
106624
|
+
"attribute": "name",
|
|
106625
|
+
"inheritedFrom": {
|
|
106626
|
+
"name": "SbbFormAssociatedMixin",
|
|
106627
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106628
|
+
}
|
|
106618
106629
|
},
|
|
106619
106630
|
{
|
|
106620
|
-
"kind": "
|
|
106621
|
-
"name": "
|
|
106622
|
-
"
|
|
106623
|
-
|
|
106624
|
-
|
|
106625
|
-
|
|
106626
|
-
|
|
106631
|
+
"kind": "field",
|
|
106632
|
+
"name": "validity",
|
|
106633
|
+
"type": {
|
|
106634
|
+
"text": "ValidityState"
|
|
106635
|
+
},
|
|
106636
|
+
"privacy": "public",
|
|
106637
|
+
"description": "Returns the ValidityState object for this element.",
|
|
106638
|
+
"readonly": true,
|
|
106639
|
+
"inheritedFrom": {
|
|
106640
|
+
"name": "SbbFormAssociatedMixin",
|
|
106641
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106627
106642
|
}
|
|
106628
106643
|
},
|
|
106629
106644
|
{
|
|
106630
|
-
"kind": "
|
|
106631
|
-
"name": "
|
|
106645
|
+
"kind": "field",
|
|
106646
|
+
"name": "validationMessage",
|
|
106647
|
+
"type": {
|
|
106648
|
+
"text": "string"
|
|
106649
|
+
},
|
|
106650
|
+
"privacy": "public",
|
|
106651
|
+
"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.",
|
|
106652
|
+
"readonly": true,
|
|
106653
|
+
"inheritedFrom": {
|
|
106654
|
+
"name": "SbbFormAssociatedMixin",
|
|
106655
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106656
|
+
}
|
|
106657
|
+
},
|
|
106658
|
+
{
|
|
106659
|
+
"kind": "field",
|
|
106660
|
+
"name": "willValidate",
|
|
106661
|
+
"type": {
|
|
106662
|
+
"text": "boolean"
|
|
106663
|
+
},
|
|
106664
|
+
"privacy": "public",
|
|
106665
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
106666
|
+
"readonly": true,
|
|
106667
|
+
"inheritedFrom": {
|
|
106668
|
+
"name": "SbbFormAssociatedMixin",
|
|
106669
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106670
|
+
}
|
|
106671
|
+
},
|
|
106672
|
+
{
|
|
106673
|
+
"kind": "field",
|
|
106674
|
+
"name": "_validityStates",
|
|
106632
106675
|
"privacy": "private",
|
|
106633
|
-
"
|
|
106634
|
-
|
|
106635
|
-
|
|
106636
|
-
|
|
106676
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
106677
|
+
"inheritedFrom": {
|
|
106678
|
+
"name": "SbbFormAssociatedMixin",
|
|
106679
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106680
|
+
}
|
|
106681
|
+
},
|
|
106682
|
+
{
|
|
106683
|
+
"kind": "field",
|
|
106684
|
+
"name": "formDisabled",
|
|
106685
|
+
"type": {
|
|
106686
|
+
"text": "boolean"
|
|
106637
106687
|
},
|
|
106638
|
-
"
|
|
106688
|
+
"privacy": "protected",
|
|
106689
|
+
"default": "false",
|
|
106690
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
106691
|
+
"inheritedFrom": {
|
|
106692
|
+
"name": "SbbFormAssociatedMixin",
|
|
106693
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106694
|
+
}
|
|
106639
106695
|
},
|
|
106640
106696
|
{
|
|
106641
106697
|
"kind": "method",
|
|
106642
|
-
"name": "
|
|
106643
|
-
"privacy": "
|
|
106698
|
+
"name": "checkValidity",
|
|
106699
|
+
"privacy": "public",
|
|
106644
106700
|
"return": {
|
|
106645
106701
|
"type": {
|
|
106646
106702
|
"text": "boolean"
|
|
106647
106703
|
}
|
|
106704
|
+
},
|
|
106705
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
106706
|
+
"inheritedFrom": {
|
|
106707
|
+
"name": "SbbFormAssociatedMixin",
|
|
106708
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106648
106709
|
}
|
|
106649
106710
|
},
|
|
106650
106711
|
{
|
|
106651
106712
|
"kind": "method",
|
|
106652
|
-
"name": "
|
|
106653
|
-
"privacy": "
|
|
106713
|
+
"name": "reportValidity",
|
|
106714
|
+
"privacy": "public",
|
|
106654
106715
|
"return": {
|
|
106655
106716
|
"type": {
|
|
106656
|
-
"text": "
|
|
106717
|
+
"text": "boolean"
|
|
106657
106718
|
}
|
|
106719
|
+
},
|
|
106720
|
+
"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.",
|
|
106721
|
+
"inheritedFrom": {
|
|
106722
|
+
"name": "SbbFormAssociatedMixin",
|
|
106723
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106658
106724
|
}
|
|
106659
106725
|
},
|
|
106660
106726
|
{
|
|
106661
106727
|
"kind": "method",
|
|
106662
|
-
"name": "
|
|
106663
|
-
"privacy": "
|
|
106728
|
+
"name": "setCustomValidity",
|
|
106729
|
+
"privacy": "public",
|
|
106664
106730
|
"return": {
|
|
106665
106731
|
"type": {
|
|
106666
106732
|
"text": "void"
|
|
@@ -106668,405 +106734,208 @@
|
|
|
106668
106734
|
},
|
|
106669
106735
|
"parameters": [
|
|
106670
106736
|
{
|
|
106671
|
-
"name": "
|
|
106737
|
+
"name": "message",
|
|
106672
106738
|
"type": {
|
|
106673
|
-
"text": "
|
|
106739
|
+
"text": "string"
|
|
106674
106740
|
}
|
|
106675
106741
|
}
|
|
106676
|
-
]
|
|
106742
|
+
],
|
|
106743
|
+
"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.",
|
|
106744
|
+
"inheritedFrom": {
|
|
106745
|
+
"name": "SbbFormAssociatedMixin",
|
|
106746
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106747
|
+
}
|
|
106677
106748
|
},
|
|
106678
106749
|
{
|
|
106679
106750
|
"kind": "method",
|
|
106680
|
-
"name": "
|
|
106751
|
+
"name": "_hasDisabledAncestor",
|
|
106681
106752
|
"privacy": "private",
|
|
106682
106753
|
"return": {
|
|
106683
106754
|
"type": {
|
|
106684
|
-
"text": "
|
|
106755
|
+
"text": "boolean"
|
|
106685
106756
|
}
|
|
106686
106757
|
},
|
|
106687
|
-
"
|
|
106688
|
-
|
|
106689
|
-
|
|
106690
|
-
"type": {
|
|
106691
|
-
"text": "AnimationEvent"
|
|
106692
|
-
}
|
|
106693
|
-
}
|
|
106694
|
-
]
|
|
106695
|
-
},
|
|
106696
|
-
{
|
|
106697
|
-
"kind": "method",
|
|
106698
|
-
"name": "_setMenuPosition",
|
|
106699
|
-
"privacy": "private",
|
|
106700
|
-
"return": {
|
|
106701
|
-
"type": {
|
|
106702
|
-
"text": "void"
|
|
106703
|
-
}
|
|
106758
|
+
"inheritedFrom": {
|
|
106759
|
+
"name": "SbbFormAssociatedMixin",
|
|
106760
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106704
106761
|
}
|
|
106705
106762
|
},
|
|
106706
106763
|
{
|
|
106707
106764
|
"kind": "method",
|
|
106708
|
-
"name": "
|
|
106709
|
-
"privacy": "
|
|
106765
|
+
"name": "updateFormValue",
|
|
106766
|
+
"privacy": "protected",
|
|
106710
106767
|
"return": {
|
|
106711
106768
|
"type": {
|
|
106712
106769
|
"text": "void"
|
|
106713
106770
|
}
|
|
106714
|
-
}
|
|
106715
|
-
},
|
|
106716
|
-
{
|
|
106717
|
-
"kind": "method",
|
|
106718
|
-
"name": "_isMobile",
|
|
106719
|
-
"privacy": "private",
|
|
106720
|
-
"return": {
|
|
106721
|
-
"type": {
|
|
106722
|
-
"text": "boolean"
|
|
106723
|
-
}
|
|
106724
|
-
}
|
|
106725
|
-
},
|
|
106726
|
-
{
|
|
106727
|
-
"kind": "field",
|
|
106728
|
-
"name": "events",
|
|
106729
|
-
"privacy": "public",
|
|
106730
|
-
"static": true,
|
|
106731
|
-
"readonly": true,
|
|
106732
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106733
|
-
"type": {
|
|
106734
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106735
|
-
},
|
|
106736
|
-
"inheritedFrom": {
|
|
106737
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106738
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106739
|
-
}
|
|
106740
|
-
},
|
|
106741
|
-
{
|
|
106742
|
-
"kind": "field",
|
|
106743
|
-
"name": "state",
|
|
106744
|
-
"privacy": "protected",
|
|
106745
|
-
"description": "The state of the component.",
|
|
106746
|
-
"type": {
|
|
106747
|
-
"text": "SbbOpenedClosedState"
|
|
106748
106771
|
},
|
|
106749
|
-
"
|
|
106750
|
-
"inheritedFrom": {
|
|
106751
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106752
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106753
|
-
}
|
|
106754
|
-
},
|
|
106755
|
-
{
|
|
106756
|
-
"kind": "field",
|
|
106757
|
-
"name": "_state",
|
|
106758
|
-
"type": {
|
|
106759
|
-
"text": "SbbOpenedClosedState"
|
|
106760
|
-
},
|
|
106761
|
-
"privacy": "private",
|
|
106762
|
-
"inheritedFrom": {
|
|
106763
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106764
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106765
|
-
}
|
|
106766
|
-
},
|
|
106767
|
-
{
|
|
106768
|
-
"kind": "field",
|
|
106769
|
-
"name": "isOpen",
|
|
106770
|
-
"type": {
|
|
106771
|
-
"text": "boolean"
|
|
106772
|
-
},
|
|
106773
|
-
"privacy": "public",
|
|
106774
|
-
"description": "Whether the element is open.",
|
|
106775
|
-
"readonly": true,
|
|
106772
|
+
"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",
|
|
106776
106773
|
"inheritedFrom": {
|
|
106777
|
-
"name": "
|
|
106778
|
-
"module": "core/
|
|
106774
|
+
"name": "SbbFormAssociatedMixin",
|
|
106775
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106779
106776
|
}
|
|
106780
106777
|
},
|
|
106781
106778
|
{
|
|
106782
106779
|
"kind": "method",
|
|
106783
|
-
"name": "
|
|
106780
|
+
"name": "formState",
|
|
106784
106781
|
"privacy": "protected",
|
|
106785
106782
|
"return": {
|
|
106786
106783
|
"type": {
|
|
106787
|
-
"text": "
|
|
106784
|
+
"text": "FormRestoreState"
|
|
106788
106785
|
}
|
|
106789
106786
|
},
|
|
106790
106787
|
"inheritedFrom": {
|
|
106791
|
-
"name": "
|
|
106792
|
-
"module": "core/
|
|
106788
|
+
"name": "SbbFormAssociatedMixin",
|
|
106789
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106793
106790
|
}
|
|
106794
106791
|
},
|
|
106795
106792
|
{
|
|
106796
106793
|
"kind": "method",
|
|
106797
|
-
"name": "
|
|
106794
|
+
"name": "setValidityFlag",
|
|
106798
106795
|
"privacy": "protected",
|
|
106799
106796
|
"return": {
|
|
106800
106797
|
"type": {
|
|
106801
|
-
"text": "
|
|
106798
|
+
"text": "void"
|
|
106802
106799
|
}
|
|
106803
106800
|
},
|
|
106801
|
+
"parameters": [
|
|
106802
|
+
{
|
|
106803
|
+
"name": "flag",
|
|
106804
|
+
"type": {
|
|
106805
|
+
"text": "T"
|
|
106806
|
+
}
|
|
106807
|
+
},
|
|
106808
|
+
{
|
|
106809
|
+
"name": "message",
|
|
106810
|
+
"type": {
|
|
106811
|
+
"text": "string"
|
|
106812
|
+
}
|
|
106813
|
+
},
|
|
106814
|
+
{
|
|
106815
|
+
"name": "flagValue",
|
|
106816
|
+
"optional": true,
|
|
106817
|
+
"type": {
|
|
106818
|
+
"text": "ValidityStateFlags[T]"
|
|
106819
|
+
}
|
|
106820
|
+
}
|
|
106821
|
+
],
|
|
106822
|
+
"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).",
|
|
106804
106823
|
"inheritedFrom": {
|
|
106805
|
-
"name": "
|
|
106806
|
-
"module": "core/
|
|
106824
|
+
"name": "SbbFormAssociatedMixin",
|
|
106825
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106807
106826
|
}
|
|
106808
106827
|
},
|
|
106809
106828
|
{
|
|
106810
106829
|
"kind": "method",
|
|
106811
|
-
"name": "
|
|
106830
|
+
"name": "removeValidityFlag",
|
|
106812
106831
|
"privacy": "protected",
|
|
106813
106832
|
"return": {
|
|
106814
106833
|
"type": {
|
|
106815
|
-
"text": "
|
|
106834
|
+
"text": "void"
|
|
106816
106835
|
}
|
|
106817
106836
|
},
|
|
106837
|
+
"parameters": [
|
|
106838
|
+
{
|
|
106839
|
+
"name": "flag",
|
|
106840
|
+
"type": {
|
|
106841
|
+
"text": "T"
|
|
106842
|
+
}
|
|
106843
|
+
}
|
|
106844
|
+
],
|
|
106845
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
106818
106846
|
"inheritedFrom": {
|
|
106819
|
-
"name": "
|
|
106820
|
-
"module": "core/
|
|
106847
|
+
"name": "SbbFormAssociatedMixin",
|
|
106848
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106821
106849
|
}
|
|
106822
106850
|
},
|
|
106823
106851
|
{
|
|
106824
106852
|
"kind": "method",
|
|
106825
|
-
"name": "
|
|
106853
|
+
"name": "validate",
|
|
106826
106854
|
"privacy": "protected",
|
|
106827
106855
|
"return": {
|
|
106828
106856
|
"type": {
|
|
106829
|
-
"text": "
|
|
106857
|
+
"text": "void"
|
|
106830
106858
|
}
|
|
106831
106859
|
},
|
|
106860
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
106832
106861
|
"inheritedFrom": {
|
|
106833
|
-
"name": "
|
|
106834
|
-
"module": "core/
|
|
106835
|
-
}
|
|
106836
|
-
},
|
|
106837
|
-
{
|
|
106838
|
-
"kind": "field",
|
|
106839
|
-
"name": "_hydrationRequired",
|
|
106840
|
-
"type": {
|
|
106841
|
-
"text": "boolean"
|
|
106842
|
-
},
|
|
106843
|
-
"privacy": "private",
|
|
106844
|
-
"default": "!!this.shadowRoot",
|
|
106845
|
-
"inheritedFrom": {
|
|
106846
|
-
"name": "SbbElement",
|
|
106847
|
-
"module": "core/base-elements/element.js"
|
|
106848
|
-
}
|
|
106849
|
-
},
|
|
106850
|
-
{
|
|
106851
|
-
"kind": "field",
|
|
106852
|
-
"name": "_hydrationComplete",
|
|
106853
|
-
"privacy": "private",
|
|
106854
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106855
|
-
"inheritedFrom": {
|
|
106856
|
-
"name": "SbbElement",
|
|
106857
|
-
"module": "core/base-elements/element.js"
|
|
106858
|
-
}
|
|
106859
|
-
},
|
|
106860
|
-
{
|
|
106861
|
-
"kind": "field",
|
|
106862
|
-
"name": "_resolveHydration",
|
|
106863
|
-
"type": {
|
|
106864
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
106865
|
-
},
|
|
106866
|
-
"privacy": "private",
|
|
106867
|
-
"inheritedFrom": {
|
|
106868
|
-
"name": "SbbElement",
|
|
106869
|
-
"module": "core/base-elements/element.js"
|
|
106862
|
+
"name": "SbbFormAssociatedMixin",
|
|
106863
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106870
106864
|
}
|
|
106871
106865
|
},
|
|
106872
|
-
{
|
|
106873
|
-
"kind": "field",
|
|
106874
|
-
"name": "hydrationRequired",
|
|
106875
|
-
"type": {
|
|
106876
|
-
"text": "boolean"
|
|
106877
|
-
},
|
|
106878
|
-
"privacy": "protected",
|
|
106879
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
106880
|
-
"readonly": true,
|
|
106881
|
-
"inheritedFrom": {
|
|
106882
|
-
"name": "SbbElement",
|
|
106883
|
-
"module": "core/base-elements/element.js"
|
|
106884
|
-
},
|
|
106885
|
-
"default": "!!this.shadowRoot"
|
|
106886
|
-
},
|
|
106887
106866
|
{
|
|
106888
106867
|
"kind": "method",
|
|
106889
|
-
"name": "
|
|
106868
|
+
"name": "shouldValidate",
|
|
106890
106869
|
"privacy": "protected",
|
|
106891
106870
|
"return": {
|
|
106892
106871
|
"type": {
|
|
106893
|
-
"text": "
|
|
106872
|
+
"text": "boolean"
|
|
106894
106873
|
}
|
|
106895
106874
|
},
|
|
106896
106875
|
"parameters": [
|
|
106897
106876
|
{
|
|
106898
|
-
"name": "
|
|
106899
|
-
"type": {
|
|
106900
|
-
"text": "string"
|
|
106901
|
-
}
|
|
106902
|
-
},
|
|
106903
|
-
{
|
|
106904
|
-
"name": "force",
|
|
106905
|
-
"optional": true,
|
|
106877
|
+
"name": "name",
|
|
106906
106878
|
"type": {
|
|
106907
|
-
"text": "
|
|
106879
|
+
"text": "PropertyKey | undefined"
|
|
106908
106880
|
}
|
|
106909
106881
|
}
|
|
106910
106882
|
],
|
|
106883
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
106911
106884
|
"inheritedFrom": {
|
|
106912
|
-
"name": "
|
|
106913
|
-
"module": "core/
|
|
106914
|
-
}
|
|
106915
|
-
},
|
|
106916
|
-
{
|
|
106917
|
-
"kind": "field",
|
|
106918
|
-
"name": "['_$sbbElement$']",
|
|
106919
|
-
"type": {
|
|
106920
|
-
"text": "boolean"
|
|
106921
|
-
},
|
|
106922
|
-
"privacy": "public",
|
|
106923
|
-
"static": true,
|
|
106924
|
-
"default": "true",
|
|
106925
|
-
"inheritedFrom": {
|
|
106926
|
-
"name": "SbbElement",
|
|
106927
|
-
"module": "core/base-elements/element.js"
|
|
106928
|
-
}
|
|
106929
|
-
},
|
|
106930
|
-
{
|
|
106931
|
-
"kind": "field",
|
|
106932
|
-
"name": "_controllers",
|
|
106933
|
-
"type": {
|
|
106934
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
106935
|
-
},
|
|
106936
|
-
"privacy": "private",
|
|
106937
|
-
"inheritedFrom": {
|
|
106938
|
-
"name": "SbbElement",
|
|
106939
|
-
"module": "core/base-elements/element.js"
|
|
106940
|
-
}
|
|
106941
|
-
}
|
|
106942
|
-
],
|
|
106943
|
-
"attributes": [
|
|
106944
|
-
{
|
|
106945
|
-
"name": "trigger",
|
|
106946
|
-
"type": {
|
|
106947
|
-
"text": "HTMLElement | null"
|
|
106948
|
-
},
|
|
106949
|
-
"default": "null",
|
|
106950
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106951
|
-
"fieldName": "trigger"
|
|
106952
|
-
}
|
|
106953
|
-
],
|
|
106954
|
-
"superclass": {
|
|
106955
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106956
|
-
"module": "core/base-elements.js"
|
|
106957
|
-
},
|
|
106958
|
-
"tagName": "sbb-menu",
|
|
106959
|
-
"customElement": true,
|
|
106960
|
-
"events": [
|
|
106961
|
-
{
|
|
106962
|
-
"name": "beforeopen",
|
|
106963
|
-
"type": {
|
|
106964
|
-
"text": "Event"
|
|
106965
|
-
},
|
|
106966
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
106967
|
-
"inheritedFrom": {
|
|
106968
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106969
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106970
|
-
}
|
|
106971
|
-
},
|
|
106972
|
-
{
|
|
106973
|
-
"name": "open",
|
|
106974
|
-
"type": {
|
|
106975
|
-
"text": "Event"
|
|
106976
|
-
},
|
|
106977
|
-
"description": "Emits whenever the component is opened.",
|
|
106978
|
-
"inheritedFrom": {
|
|
106979
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106980
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106981
|
-
}
|
|
106982
|
-
},
|
|
106983
|
-
{
|
|
106984
|
-
"name": "beforeclose",
|
|
106985
|
-
"type": {
|
|
106986
|
-
"text": "Event"
|
|
106987
|
-
},
|
|
106988
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
106989
|
-
"inheritedFrom": {
|
|
106990
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106991
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106885
|
+
"name": "SbbFormAssociatedMixin",
|
|
106886
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106992
106887
|
}
|
|
106993
106888
|
},
|
|
106994
106889
|
{
|
|
106995
|
-
"
|
|
106996
|
-
"
|
|
106997
|
-
|
|
106998
|
-
|
|
106999
|
-
|
|
107000
|
-
|
|
107001
|
-
|
|
107002
|
-
|
|
107003
|
-
|
|
107004
|
-
|
|
107005
|
-
|
|
107006
|
-
|
|
107007
|
-
],
|
|
107008
|
-
"exports": [
|
|
107009
|
-
{
|
|
107010
|
-
"kind": "js",
|
|
107011
|
-
"name": "SbbMenuElement",
|
|
107012
|
-
"declaration": {
|
|
107013
|
-
"name": "SbbMenuElement",
|
|
107014
|
-
"module": "menu/menu/menu.component.js"
|
|
107015
|
-
}
|
|
107016
|
-
}
|
|
107017
|
-
]
|
|
107018
|
-
},
|
|
107019
|
-
{
|
|
107020
|
-
"kind": "javascript-module",
|
|
107021
|
-
"path": "menu/menu-button/menu-button.component.js",
|
|
107022
|
-
"declarations": [
|
|
107023
|
-
{
|
|
107024
|
-
"kind": "class",
|
|
107025
|
-
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107026
|
-
"name": "SbbMenuButtonElement",
|
|
107027
|
-
"cssProperties": [
|
|
107028
|
-
{
|
|
107029
|
-
"description": "Can be used to modify horizontal padding.",
|
|
107030
|
-
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
107031
|
-
"default": "var(--sbb-spacing-fixed-3x)"
|
|
107032
|
-
}
|
|
107033
|
-
],
|
|
107034
|
-
"slots": [
|
|
107035
|
-
{
|
|
107036
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107037
|
-
"name": ""
|
|
106890
|
+
"kind": "method",
|
|
106891
|
+
"name": "_setInternalValidity",
|
|
106892
|
+
"privacy": "private",
|
|
106893
|
+
"return": {
|
|
106894
|
+
"type": {
|
|
106895
|
+
"text": "void"
|
|
106896
|
+
}
|
|
106897
|
+
},
|
|
106898
|
+
"inheritedFrom": {
|
|
106899
|
+
"name": "SbbFormAssociatedMixin",
|
|
106900
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106901
|
+
}
|
|
107038
106902
|
},
|
|
107039
106903
|
{
|
|
107040
|
-
"
|
|
107041
|
-
"name": "
|
|
107042
|
-
|
|
107043
|
-
|
|
107044
|
-
|
|
106904
|
+
"kind": "field",
|
|
106905
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
106906
|
+
"privacy": "private",
|
|
106907
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
106908
|
+
"parameters": [
|
|
106909
|
+
{
|
|
106910
|
+
"description": "The origin event.",
|
|
106911
|
+
"name": "event"
|
|
106912
|
+
}
|
|
106913
|
+
],
|
|
106914
|
+
"inheritedFrom": {
|
|
106915
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106916
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106917
|
+
}
|
|
106918
|
+
},
|
|
107045
106919
|
{
|
|
107046
106920
|
"kind": "field",
|
|
107047
|
-
"name": "
|
|
107048
|
-
"
|
|
107049
|
-
"text": "string"
|
|
107050
|
-
},
|
|
107051
|
-
"privacy": "public",
|
|
107052
|
-
"static": true,
|
|
107053
|
-
"readonly": true,
|
|
106921
|
+
"name": "_removeActiveMarker",
|
|
106922
|
+
"privacy": "private",
|
|
107054
106923
|
"inheritedFrom": {
|
|
107055
|
-
"name": "
|
|
107056
|
-
"module": "core/base-elements/element.js"
|
|
107057
|
-
}
|
|
107058
|
-
"default": "'sbb-menu-button'"
|
|
106924
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106925
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106926
|
+
}
|
|
107059
106927
|
},
|
|
107060
106928
|
{
|
|
107061
106929
|
"kind": "field",
|
|
107062
|
-
"name": "
|
|
107063
|
-
"
|
|
107064
|
-
|
|
107065
|
-
|
|
107066
|
-
|
|
107067
|
-
|
|
107068
|
-
|
|
107069
|
-
|
|
106930
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
106931
|
+
"privacy": "private",
|
|
106932
|
+
"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.",
|
|
106933
|
+
"parameters": [
|
|
106934
|
+
{
|
|
106935
|
+
"description": "The origin event.",
|
|
106936
|
+
"name": "event"
|
|
106937
|
+
}
|
|
106938
|
+
],
|
|
107070
106939
|
"inheritedFrom": {
|
|
107071
106940
|
"name": "SbbButtonLikeBaseElement",
|
|
107072
106941
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -107074,464 +106943,545 @@
|
|
|
107074
106943
|
},
|
|
107075
106944
|
{
|
|
107076
106945
|
"kind": "field",
|
|
107077
|
-
"name": "
|
|
107078
|
-
"
|
|
107079
|
-
"text": "boolean"
|
|
107080
|
-
},
|
|
107081
|
-
"privacy": "public",
|
|
107082
|
-
"default": "false",
|
|
107083
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107084
|
-
"attribute": "disabled-interactive",
|
|
107085
|
-
"reflects": true,
|
|
106946
|
+
"name": "_dispatchClickEvent",
|
|
106947
|
+
"privacy": "private",
|
|
107086
106948
|
"inheritedFrom": {
|
|
107087
|
-
"name": "
|
|
107088
|
-
"module": "core/
|
|
106949
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106950
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107089
106951
|
}
|
|
107090
106952
|
},
|
|
107091
106953
|
{
|
|
107092
106954
|
"kind": "field",
|
|
107093
|
-
"name": "
|
|
107094
|
-
"privacy": "public",
|
|
107095
|
-
"description": "Whether the component is disabled.",
|
|
107096
|
-
"default": "false",
|
|
106955
|
+
"name": "maybeDisabled",
|
|
107097
106956
|
"type": {
|
|
107098
|
-
"text": "boolean"
|
|
106957
|
+
"text": "boolean | undefined"
|
|
107099
106958
|
},
|
|
107100
|
-
"
|
|
107101
|
-
"
|
|
106959
|
+
"privacy": "protected",
|
|
106960
|
+
"readonly": true,
|
|
107102
106961
|
"inheritedFrom": {
|
|
107103
|
-
"name": "
|
|
107104
|
-
"module": "core/
|
|
106962
|
+
"name": "SbbActionBaseElement",
|
|
106963
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107105
106964
|
}
|
|
107106
106965
|
},
|
|
107107
106966
|
{
|
|
107108
106967
|
"kind": "field",
|
|
107109
|
-
"name": "
|
|
107110
|
-
"privacy": "private",
|
|
106968
|
+
"name": "maybeDisabledInteractive",
|
|
107111
106969
|
"type": {
|
|
107112
|
-
"text": "boolean"
|
|
106970
|
+
"text": "boolean | undefined"
|
|
107113
106971
|
},
|
|
107114
|
-
"
|
|
106972
|
+
"privacy": "protected",
|
|
106973
|
+
"readonly": true,
|
|
107115
106974
|
"inheritedFrom": {
|
|
107116
|
-
"name": "
|
|
107117
|
-
"module": "core/
|
|
106975
|
+
"name": "SbbActionBaseElement",
|
|
106976
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107118
106977
|
}
|
|
107119
106978
|
},
|
|
107120
106979
|
{
|
|
107121
106980
|
"kind": "method",
|
|
107122
|
-
"name": "
|
|
106981
|
+
"name": "setupBaseEventHandlers",
|
|
107123
106982
|
"privacy": "protected",
|
|
107124
106983
|
"return": {
|
|
107125
106984
|
"type": {
|
|
107126
|
-
"text": "
|
|
106985
|
+
"text": "void"
|
|
107127
106986
|
}
|
|
107128
106987
|
},
|
|
107129
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107130
106988
|
"inheritedFrom": {
|
|
107131
|
-
"name": "
|
|
107132
|
-
"module": "core/
|
|
106989
|
+
"name": "SbbActionBaseElement",
|
|
106990
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107133
106991
|
}
|
|
107134
106992
|
},
|
|
107135
106993
|
{
|
|
107136
106994
|
"kind": "field",
|
|
107137
|
-
"name": "
|
|
106995
|
+
"name": "_hydrationRequired",
|
|
107138
106996
|
"type": {
|
|
107139
|
-
"text": "
|
|
106997
|
+
"text": "boolean"
|
|
107140
106998
|
},
|
|
107141
|
-
"privacy": "
|
|
107142
|
-
"
|
|
107143
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
106999
|
+
"privacy": "private",
|
|
107000
|
+
"default": "!!this.shadowRoot",
|
|
107144
107001
|
"inheritedFrom": {
|
|
107145
|
-
"name": "
|
|
107146
|
-
"module": "
|
|
107002
|
+
"name": "SbbElement",
|
|
107003
|
+
"module": "core/base-elements/element.js"
|
|
107147
107004
|
}
|
|
107148
107005
|
},
|
|
107149
107006
|
{
|
|
107150
|
-
"kind": "
|
|
107151
|
-
"name": "
|
|
107152
|
-
"privacy": "
|
|
107153
|
-
"
|
|
107154
|
-
"type": {
|
|
107155
|
-
"text": "TemplateResult"
|
|
107156
|
-
}
|
|
107157
|
-
},
|
|
107158
|
-
"description": "Override this method to render the component template.",
|
|
107007
|
+
"kind": "field",
|
|
107008
|
+
"name": "_hydrationComplete",
|
|
107009
|
+
"privacy": "private",
|
|
107010
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
107159
107011
|
"inheritedFrom": {
|
|
107160
|
-
"name": "
|
|
107161
|
-
"module": "core/base-elements/
|
|
107012
|
+
"name": "SbbElement",
|
|
107013
|
+
"module": "core/base-elements/element.js"
|
|
107162
107014
|
}
|
|
107163
107015
|
},
|
|
107164
107016
|
{
|
|
107165
107017
|
"kind": "field",
|
|
107166
|
-
"name": "
|
|
107018
|
+
"name": "_resolveHydration",
|
|
107167
107019
|
"type": {
|
|
107168
|
-
"text": "
|
|
107020
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
107169
107021
|
},
|
|
107170
|
-
"privacy": "
|
|
107171
|
-
"default": "''",
|
|
107172
|
-
"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.",
|
|
107173
|
-
"attribute": "icon-name",
|
|
107022
|
+
"privacy": "private",
|
|
107174
107023
|
"inheritedFrom": {
|
|
107175
|
-
"name": "
|
|
107176
|
-
"module": "
|
|
107024
|
+
"name": "SbbElement",
|
|
107025
|
+
"module": "core/base-elements/element.js"
|
|
107177
107026
|
}
|
|
107178
107027
|
},
|
|
107028
|
+
{
|
|
107029
|
+
"kind": "field",
|
|
107030
|
+
"name": "hydrationRequired",
|
|
107031
|
+
"type": {
|
|
107032
|
+
"text": "boolean"
|
|
107033
|
+
},
|
|
107034
|
+
"privacy": "protected",
|
|
107035
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
107036
|
+
"readonly": true,
|
|
107037
|
+
"inheritedFrom": {
|
|
107038
|
+
"name": "SbbElement",
|
|
107039
|
+
"module": "core/base-elements/element.js"
|
|
107040
|
+
},
|
|
107041
|
+
"default": "!!this.shadowRoot"
|
|
107042
|
+
},
|
|
107179
107043
|
{
|
|
107180
107044
|
"kind": "method",
|
|
107181
|
-
"name": "
|
|
107045
|
+
"name": "toggleState",
|
|
107182
107046
|
"privacy": "protected",
|
|
107183
107047
|
"return": {
|
|
107184
107048
|
"type": {
|
|
107185
|
-
"text": "
|
|
107049
|
+
"text": "void"
|
|
107186
107050
|
}
|
|
107187
107051
|
},
|
|
107188
107052
|
"parameters": [
|
|
107189
107053
|
{
|
|
107190
|
-
"name": "
|
|
107191
|
-
"optional": true,
|
|
107054
|
+
"name": "value",
|
|
107192
107055
|
"type": {
|
|
107193
107056
|
"text": "string"
|
|
107194
107057
|
}
|
|
107058
|
+
},
|
|
107059
|
+
{
|
|
107060
|
+
"name": "force",
|
|
107061
|
+
"optional": true,
|
|
107062
|
+
"type": {
|
|
107063
|
+
"text": "boolean"
|
|
107064
|
+
}
|
|
107195
107065
|
}
|
|
107196
107066
|
],
|
|
107197
107067
|
"inheritedFrom": {
|
|
107198
|
-
"name": "
|
|
107199
|
-
"module": "
|
|
107068
|
+
"name": "SbbElement",
|
|
107069
|
+
"module": "core/base-elements/element.js"
|
|
107200
107070
|
}
|
|
107201
107071
|
},
|
|
107202
107072
|
{
|
|
107203
|
-
"kind": "
|
|
107204
|
-
"name": "
|
|
107205
|
-
"
|
|
107206
|
-
|
|
107207
|
-
"type": {
|
|
107208
|
-
"text": "string"
|
|
107209
|
-
}
|
|
107073
|
+
"kind": "field",
|
|
107074
|
+
"name": "['_$sbbElement$']",
|
|
107075
|
+
"type": {
|
|
107076
|
+
"text": "boolean"
|
|
107210
107077
|
},
|
|
107078
|
+
"privacy": "public",
|
|
107079
|
+
"static": true,
|
|
107080
|
+
"default": "true",
|
|
107211
107081
|
"inheritedFrom": {
|
|
107212
|
-
"name": "
|
|
107213
|
-
"module": "
|
|
107082
|
+
"name": "SbbElement",
|
|
107083
|
+
"module": "core/base-elements/element.js"
|
|
107214
107084
|
}
|
|
107215
107085
|
},
|
|
107216
107086
|
{
|
|
107217
|
-
"kind": "
|
|
107218
|
-
"name": "
|
|
107087
|
+
"kind": "field",
|
|
107088
|
+
"name": "_controllers",
|
|
107089
|
+
"type": {
|
|
107090
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
107091
|
+
},
|
|
107219
107092
|
"privacy": "private",
|
|
107220
|
-
"
|
|
107221
|
-
"
|
|
107222
|
-
|
|
107223
|
-
|
|
107093
|
+
"inheritedFrom": {
|
|
107094
|
+
"name": "SbbElement",
|
|
107095
|
+
"module": "core/base-elements/element.js"
|
|
107096
|
+
}
|
|
107097
|
+
}
|
|
107098
|
+
],
|
|
107099
|
+
"mixins": [
|
|
107100
|
+
{
|
|
107101
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
107102
|
+
"module": "core/mixins.js"
|
|
107103
|
+
},
|
|
107104
|
+
{
|
|
107105
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107106
|
+
"module": "menu/common/menu-action-common.js"
|
|
107107
|
+
}
|
|
107108
|
+
],
|
|
107109
|
+
"superclass": {
|
|
107110
|
+
"name": "SbbButtonBaseElement",
|
|
107111
|
+
"module": "core/base-elements.js"
|
|
107112
|
+
},
|
|
107113
|
+
"tagName": "sbb-menu-button",
|
|
107114
|
+
"customElement": true,
|
|
107115
|
+
"attributes": [
|
|
107116
|
+
{
|
|
107117
|
+
"name": "disabled-interactive",
|
|
107118
|
+
"type": {
|
|
107119
|
+
"text": "boolean"
|
|
107120
|
+
},
|
|
107121
|
+
"default": "false",
|
|
107122
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107123
|
+
"fieldName": "disabledInteractive",
|
|
107124
|
+
"inheritedFrom": {
|
|
107125
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107126
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107127
|
+
}
|
|
107128
|
+
},
|
|
107129
|
+
{
|
|
107130
|
+
"name": "disabled",
|
|
107131
|
+
"description": "Whether the component is disabled.",
|
|
107132
|
+
"default": "false",
|
|
107133
|
+
"type": {
|
|
107134
|
+
"text": "boolean"
|
|
107224
107135
|
},
|
|
107136
|
+
"fieldName": "disabled",
|
|
107225
107137
|
"inheritedFrom": {
|
|
107226
|
-
"name": "
|
|
107227
|
-
"module": "
|
|
107138
|
+
"name": "SbbDisabledMixin",
|
|
107139
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107228
107140
|
}
|
|
107229
107141
|
},
|
|
107230
107142
|
{
|
|
107231
|
-
"
|
|
107232
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107143
|
+
"name": "icon-name",
|
|
107233
107144
|
"type": {
|
|
107234
|
-
"text": "
|
|
107145
|
+
"text": "string"
|
|
107235
107146
|
},
|
|
107236
|
-
"
|
|
107237
|
-
"
|
|
107238
|
-
"
|
|
107147
|
+
"default": "''",
|
|
107148
|
+
"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.",
|
|
107149
|
+
"fieldName": "iconName",
|
|
107239
107150
|
"inheritedFrom": {
|
|
107240
|
-
"name": "
|
|
107241
|
-
"module": "
|
|
107151
|
+
"name": "SbbIconNameMixin",
|
|
107152
|
+
"module": "icon/icon-name-mixin.js"
|
|
107242
107153
|
}
|
|
107243
107154
|
},
|
|
107244
107155
|
{
|
|
107245
|
-
"kind": "field",
|
|
107246
107156
|
"name": "value",
|
|
107247
107157
|
"type": {
|
|
107248
107158
|
"text": "string"
|
|
107249
107159
|
},
|
|
107250
|
-
"
|
|
107160
|
+
"default": "''",
|
|
107161
|
+
"description": "Value of the form element.",
|
|
107162
|
+
"fieldName": "value",
|
|
107251
107163
|
"inheritedFrom": {
|
|
107252
107164
|
"name": "SbbButtonBaseElement",
|
|
107253
107165
|
"module": "core/base-elements/button-base-element.js"
|
|
107254
|
-
}
|
|
107255
|
-
"default": "''",
|
|
107256
|
-
"description": "Value of the form element.",
|
|
107257
|
-
"attribute": "value"
|
|
107166
|
+
}
|
|
107258
107167
|
},
|
|
107259
107168
|
{
|
|
107260
|
-
"kind": "field",
|
|
107261
107169
|
"name": "type",
|
|
107262
|
-
"privacy": "public",
|
|
107263
107170
|
"description": "The type attribute to use for the button.",
|
|
107264
107171
|
"default": "'button'",
|
|
107265
107172
|
"type": {
|
|
107266
107173
|
"text": "SbbButtonType"
|
|
107267
107174
|
},
|
|
107268
|
-
"
|
|
107175
|
+
"fieldName": "type",
|
|
107269
107176
|
"inheritedFrom": {
|
|
107270
107177
|
"name": "SbbButtonBaseElement",
|
|
107271
107178
|
"module": "core/base-elements/button-base-element.js"
|
|
107272
107179
|
}
|
|
107273
107180
|
},
|
|
107274
107181
|
{
|
|
107275
|
-
"kind": "field",
|
|
107276
107182
|
"name": "form",
|
|
107183
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107277
107184
|
"type": {
|
|
107278
107185
|
"text": "HTMLFormElement | null"
|
|
107279
107186
|
},
|
|
107280
|
-
"
|
|
107281
|
-
"description": "The `<form>` element to associate the button with.",
|
|
107187
|
+
"fieldName": "form",
|
|
107282
107188
|
"inheritedFrom": {
|
|
107283
107189
|
"name": "SbbButtonBaseElement",
|
|
107284
107190
|
"module": "core/base-elements/button-base-element.js"
|
|
107285
|
-
}
|
|
107286
|
-
"attribute": "form"
|
|
107191
|
+
}
|
|
107287
107192
|
},
|
|
107288
107193
|
{
|
|
107289
|
-
"
|
|
107290
|
-
"
|
|
107194
|
+
"name": "name",
|
|
107195
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107291
107196
|
"type": {
|
|
107292
107197
|
"text": "string"
|
|
107293
107198
|
},
|
|
107294
|
-
"
|
|
107295
|
-
"default": "''",
|
|
107199
|
+
"fieldName": "name",
|
|
107296
107200
|
"inheritedFrom": {
|
|
107297
|
-
"name": "
|
|
107298
|
-
"module": "core/
|
|
107201
|
+
"name": "SbbFormAssociatedMixin",
|
|
107202
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107299
107203
|
}
|
|
107300
|
-
}
|
|
107204
|
+
}
|
|
107205
|
+
]
|
|
107206
|
+
}
|
|
107207
|
+
],
|
|
107208
|
+
"exports": [
|
|
107209
|
+
{
|
|
107210
|
+
"kind": "js",
|
|
107211
|
+
"name": "SbbMenuButtonElement",
|
|
107212
|
+
"declaration": {
|
|
107213
|
+
"name": "SbbMenuButtonElement",
|
|
107214
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
107215
|
+
}
|
|
107216
|
+
}
|
|
107217
|
+
]
|
|
107218
|
+
},
|
|
107219
|
+
{
|
|
107220
|
+
"kind": "javascript-module",
|
|
107221
|
+
"path": "menu/menu/menu.component.js",
|
|
107222
|
+
"declarations": [
|
|
107223
|
+
{
|
|
107224
|
+
"kind": "class",
|
|
107225
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
107226
|
+
"name": "SbbMenuElement",
|
|
107227
|
+
"cssProperties": [
|
|
107301
107228
|
{
|
|
107302
|
-
"
|
|
107303
|
-
"name": "
|
|
107304
|
-
"
|
|
107305
|
-
|
|
107306
|
-
|
|
107307
|
-
|
|
107308
|
-
}
|
|
107309
|
-
},
|
|
107229
|
+
"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`.",
|
|
107230
|
+
"name": "--sbb-menu-z-index",
|
|
107231
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
107232
|
+
}
|
|
107233
|
+
],
|
|
107234
|
+
"slots": [
|
|
107310
107235
|
{
|
|
107311
|
-
"
|
|
107312
|
-
"name": "
|
|
107313
|
-
|
|
107314
|
-
|
|
107315
|
-
|
|
107316
|
-
"text": "void"
|
|
107317
|
-
}
|
|
107318
|
-
},
|
|
107319
|
-
"parameters": [
|
|
107320
|
-
{
|
|
107321
|
-
"name": "form",
|
|
107322
|
-
"type": {
|
|
107323
|
-
"text": "HTMLFormElement"
|
|
107324
|
-
}
|
|
107325
|
-
}
|
|
107326
|
-
],
|
|
107327
|
-
"inheritedFrom": {
|
|
107328
|
-
"name": "SbbButtonBaseElement",
|
|
107329
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107330
|
-
}
|
|
107331
|
-
},
|
|
107236
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
107237
|
+
"name": ""
|
|
107238
|
+
}
|
|
107239
|
+
],
|
|
107240
|
+
"members": [
|
|
107332
107241
|
{
|
|
107333
107242
|
"kind": "field",
|
|
107334
|
-
"name": "
|
|
107335
|
-
"
|
|
107243
|
+
"name": "elementName",
|
|
107244
|
+
"type": {
|
|
107245
|
+
"text": "string"
|
|
107246
|
+
},
|
|
107247
|
+
"privacy": "public",
|
|
107248
|
+
"static": true,
|
|
107249
|
+
"readonly": true,
|
|
107336
107250
|
"inheritedFrom": {
|
|
107337
|
-
"name": "
|
|
107338
|
-
"module": "core/base-elements/
|
|
107339
|
-
}
|
|
107251
|
+
"name": "SbbElement",
|
|
107252
|
+
"module": "core/base-elements/element.js"
|
|
107253
|
+
},
|
|
107254
|
+
"default": "'sbb-menu'"
|
|
107340
107255
|
},
|
|
107341
107256
|
{
|
|
107342
107257
|
"kind": "field",
|
|
107343
|
-
"name": "
|
|
107258
|
+
"name": "role",
|
|
107344
107259
|
"type": {
|
|
107345
|
-
"text": "
|
|
107260
|
+
"text": "string"
|
|
107346
107261
|
},
|
|
107347
107262
|
"privacy": "public",
|
|
107348
107263
|
"static": true,
|
|
107349
|
-
"
|
|
107350
|
-
"
|
|
107351
|
-
"name": "SbbFormAssociatedMixin",
|
|
107352
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107353
|
-
}
|
|
107264
|
+
"readonly": true,
|
|
107265
|
+
"default": "'menu'"
|
|
107354
107266
|
},
|
|
107355
107267
|
{
|
|
107356
107268
|
"kind": "field",
|
|
107357
|
-
"name": "
|
|
107269
|
+
"name": "trigger",
|
|
107270
|
+
"type": {
|
|
107271
|
+
"text": "HTMLElement | null"
|
|
107272
|
+
},
|
|
107358
107273
|
"privacy": "public",
|
|
107359
|
-
"
|
|
107274
|
+
"default": "null",
|
|
107275
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
107276
|
+
"attribute": "trigger"
|
|
107277
|
+
},
|
|
107278
|
+
{
|
|
107279
|
+
"kind": "field",
|
|
107280
|
+
"name": "_menu",
|
|
107360
107281
|
"type": {
|
|
107361
|
-
"text": "
|
|
107282
|
+
"text": "HTMLDivElement"
|
|
107362
107283
|
},
|
|
107363
|
-
"
|
|
107364
|
-
"inheritedFrom": {
|
|
107365
|
-
"name": "SbbFormAssociatedMixin",
|
|
107366
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107367
|
-
}
|
|
107284
|
+
"privacy": "private"
|
|
107368
107285
|
},
|
|
107369
107286
|
{
|
|
107370
107287
|
"kind": "field",
|
|
107371
|
-
"name": "
|
|
107288
|
+
"name": "_triggerElement",
|
|
107372
107289
|
"type": {
|
|
107373
|
-
"text": "
|
|
107290
|
+
"text": "HTMLElement | null"
|
|
107374
107291
|
},
|
|
107375
|
-
"privacy": "
|
|
107376
|
-
"
|
|
107377
|
-
"readonly": true,
|
|
107378
|
-
"inheritedFrom": {
|
|
107379
|
-
"name": "SbbFormAssociatedMixin",
|
|
107380
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107381
|
-
}
|
|
107292
|
+
"privacy": "private",
|
|
107293
|
+
"default": "null"
|
|
107382
107294
|
},
|
|
107383
107295
|
{
|
|
107384
107296
|
"kind": "field",
|
|
107385
|
-
"name": "
|
|
107297
|
+
"name": "_triggerAbortController",
|
|
107386
107298
|
"type": {
|
|
107387
|
-
"text": "
|
|
107299
|
+
"text": "AbortController"
|
|
107388
107300
|
},
|
|
107389
|
-
"privacy": "
|
|
107390
|
-
"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.",
|
|
107391
|
-
"readonly": true,
|
|
107392
|
-
"inheritedFrom": {
|
|
107393
|
-
"name": "SbbFormAssociatedMixin",
|
|
107394
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107395
|
-
}
|
|
107301
|
+
"privacy": "private"
|
|
107396
107302
|
},
|
|
107397
107303
|
{
|
|
107398
107304
|
"kind": "field",
|
|
107399
|
-
"name": "
|
|
107305
|
+
"name": "_isPointerDownEventOnMenu",
|
|
107400
107306
|
"type": {
|
|
107401
107307
|
"text": "boolean"
|
|
107402
107308
|
},
|
|
107403
|
-
"privacy": "
|
|
107404
|
-
"
|
|
107405
|
-
|
|
107406
|
-
|
|
107407
|
-
|
|
107408
|
-
|
|
107409
|
-
|
|
107309
|
+
"privacy": "private",
|
|
107310
|
+
"default": "false"
|
|
107311
|
+
},
|
|
107312
|
+
{
|
|
107313
|
+
"kind": "field",
|
|
107314
|
+
"name": "_windowEventsController",
|
|
107315
|
+
"type": {
|
|
107316
|
+
"text": "AbortController"
|
|
107317
|
+
},
|
|
107318
|
+
"privacy": "private"
|
|
107319
|
+
},
|
|
107320
|
+
{
|
|
107321
|
+
"kind": "field",
|
|
107322
|
+
"name": "_escapableOverlayController",
|
|
107323
|
+
"privacy": "private",
|
|
107324
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
107325
|
+
},
|
|
107326
|
+
{
|
|
107327
|
+
"kind": "field",
|
|
107328
|
+
"name": "_focusTrapController",
|
|
107329
|
+
"privacy": "private",
|
|
107330
|
+
"default": "new SbbFocusTrapController(this)"
|
|
107331
|
+
},
|
|
107332
|
+
{
|
|
107333
|
+
"kind": "field",
|
|
107334
|
+
"name": "_scrollHandler",
|
|
107335
|
+
"privacy": "private",
|
|
107336
|
+
"default": "new SbbScrollHandler()"
|
|
107337
|
+
},
|
|
107338
|
+
{
|
|
107339
|
+
"kind": "field",
|
|
107340
|
+
"name": "_inertController",
|
|
107341
|
+
"privacy": "private",
|
|
107342
|
+
"default": "new SbbInertController(this)"
|
|
107343
|
+
},
|
|
107344
|
+
{
|
|
107345
|
+
"kind": "field",
|
|
107346
|
+
"name": "_mobileBreakpoint",
|
|
107347
|
+
"privacy": "private",
|
|
107348
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
107349
|
+
},
|
|
107350
|
+
{
|
|
107351
|
+
"kind": "field",
|
|
107352
|
+
"name": "_mediaMatcher",
|
|
107353
|
+
"privacy": "private",
|
|
107354
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
107355
|
+
},
|
|
107356
|
+
{
|
|
107357
|
+
"kind": "field",
|
|
107358
|
+
"name": "_darkModeController",
|
|
107359
|
+
"privacy": "private",
|
|
107360
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
107410
107361
|
},
|
|
107411
107362
|
{
|
|
107412
107363
|
"kind": "field",
|
|
107413
|
-
"name": "
|
|
107364
|
+
"name": "_language",
|
|
107414
107365
|
"privacy": "private",
|
|
107415
|
-
"default": "new
|
|
107416
|
-
"inheritedFrom": {
|
|
107417
|
-
"name": "SbbFormAssociatedMixin",
|
|
107418
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107419
|
-
}
|
|
107366
|
+
"default": "new SbbLanguageController(this)"
|
|
107420
107367
|
},
|
|
107421
107368
|
{
|
|
107422
107369
|
"kind": "field",
|
|
107423
|
-
"name": "
|
|
107370
|
+
"name": "_nestedMenu",
|
|
107424
107371
|
"type": {
|
|
107425
|
-
"text": "
|
|
107372
|
+
"text": "SbbMenuElement | null"
|
|
107426
107373
|
},
|
|
107427
|
-
"privacy": "
|
|
107428
|
-
"default": "
|
|
107429
|
-
|
|
107374
|
+
"privacy": "private",
|
|
107375
|
+
"default": "null"
|
|
107376
|
+
},
|
|
107377
|
+
{
|
|
107378
|
+
"kind": "method",
|
|
107379
|
+
"name": "escapeStrategy",
|
|
107380
|
+
"privacy": "public",
|
|
107381
|
+
"return": {
|
|
107382
|
+
"type": {
|
|
107383
|
+
"text": "void"
|
|
107384
|
+
}
|
|
107385
|
+
},
|
|
107386
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
107430
107387
|
"inheritedFrom": {
|
|
107431
|
-
"name": "
|
|
107432
|
-
"module": "core/
|
|
107388
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107389
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107433
107390
|
}
|
|
107434
107391
|
},
|
|
107435
107392
|
{
|
|
107436
107393
|
"kind": "method",
|
|
107437
|
-
"name": "
|
|
107394
|
+
"name": "open",
|
|
107438
107395
|
"privacy": "public",
|
|
107439
107396
|
"return": {
|
|
107440
107397
|
"type": {
|
|
107441
|
-
"text": "
|
|
107398
|
+
"text": "void"
|
|
107442
107399
|
}
|
|
107443
107400
|
},
|
|
107444
|
-
"description": "
|
|
107401
|
+
"description": "Opens the menu on trigger click.",
|
|
107445
107402
|
"inheritedFrom": {
|
|
107446
|
-
"name": "
|
|
107447
|
-
"module": "core/
|
|
107403
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107404
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107448
107405
|
}
|
|
107449
107406
|
},
|
|
107450
107407
|
{
|
|
107451
107408
|
"kind": "method",
|
|
107452
|
-
"name": "
|
|
107409
|
+
"name": "close",
|
|
107453
107410
|
"privacy": "public",
|
|
107454
107411
|
"return": {
|
|
107455
107412
|
"type": {
|
|
107456
|
-
"text": "
|
|
107413
|
+
"text": "void"
|
|
107457
107414
|
}
|
|
107458
107415
|
},
|
|
107459
|
-
"description": "
|
|
107416
|
+
"description": "Closes the menu and all its nested menus.",
|
|
107460
107417
|
"inheritedFrom": {
|
|
107461
|
-
"name": "
|
|
107462
|
-
"module": "core/
|
|
107418
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107419
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107463
107420
|
}
|
|
107464
107421
|
},
|
|
107465
107422
|
{
|
|
107466
107423
|
"kind": "method",
|
|
107467
|
-
"name": "
|
|
107424
|
+
"name": "closeAll",
|
|
107468
107425
|
"privacy": "public",
|
|
107469
107426
|
"return": {
|
|
107470
107427
|
"type": {
|
|
107471
107428
|
"text": "void"
|
|
107472
107429
|
}
|
|
107473
107430
|
},
|
|
107431
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
107432
|
+
},
|
|
107433
|
+
{
|
|
107434
|
+
"kind": "method",
|
|
107435
|
+
"name": "_close",
|
|
107436
|
+
"privacy": "private",
|
|
107437
|
+
"return": {
|
|
107438
|
+
"type": {
|
|
107439
|
+
"text": "void"
|
|
107440
|
+
}
|
|
107441
|
+
},
|
|
107474
107442
|
"parameters": [
|
|
107475
107443
|
{
|
|
107476
|
-
"name": "
|
|
107477
|
-
"
|
|
107478
|
-
|
|
107479
|
-
|
|
107444
|
+
"name": "closeAll",
|
|
107445
|
+
"default": "false",
|
|
107446
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
107447
|
+
"optional": true
|
|
107480
107448
|
}
|
|
107481
|
-
]
|
|
107482
|
-
"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.",
|
|
107483
|
-
"inheritedFrom": {
|
|
107484
|
-
"name": "SbbFormAssociatedMixin",
|
|
107485
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107486
|
-
}
|
|
107449
|
+
]
|
|
107487
107450
|
},
|
|
107488
107451
|
{
|
|
107489
107452
|
"kind": "method",
|
|
107490
|
-
"name": "
|
|
107453
|
+
"name": "_isZeroAnimationDuration",
|
|
107491
107454
|
"privacy": "private",
|
|
107492
107455
|
"return": {
|
|
107493
107456
|
"type": {
|
|
107494
107457
|
"text": "boolean"
|
|
107495
107458
|
}
|
|
107496
|
-
},
|
|
107497
|
-
"inheritedFrom": {
|
|
107498
|
-
"name": "SbbFormAssociatedMixin",
|
|
107499
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107500
107459
|
}
|
|
107501
107460
|
},
|
|
107502
107461
|
{
|
|
107503
107462
|
"kind": "method",
|
|
107504
|
-
"name": "
|
|
107505
|
-
"privacy": "
|
|
107463
|
+
"name": "_handleOpening",
|
|
107464
|
+
"privacy": "private",
|
|
107506
107465
|
"return": {
|
|
107507
107466
|
"type": {
|
|
107508
107467
|
"text": "void"
|
|
107509
107468
|
}
|
|
107510
|
-
},
|
|
107511
|
-
"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",
|
|
107512
|
-
"inheritedFrom": {
|
|
107513
|
-
"name": "SbbFormAssociatedMixin",
|
|
107514
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107515
107469
|
}
|
|
107516
107470
|
},
|
|
107517
107471
|
{
|
|
107518
107472
|
"kind": "method",
|
|
107519
|
-
"name": "
|
|
107520
|
-
"privacy": "
|
|
107473
|
+
"name": "_handleClosing",
|
|
107474
|
+
"privacy": "private",
|
|
107521
107475
|
"return": {
|
|
107522
107476
|
"type": {
|
|
107523
|
-
"text": "
|
|
107477
|
+
"text": "void"
|
|
107524
107478
|
}
|
|
107525
|
-
},
|
|
107526
|
-
"inheritedFrom": {
|
|
107527
|
-
"name": "SbbFormAssociatedMixin",
|
|
107528
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107529
107479
|
}
|
|
107530
107480
|
},
|
|
107531
107481
|
{
|
|
107532
107482
|
"kind": "method",
|
|
107533
|
-
"name": "
|
|
107534
|
-
"privacy": "
|
|
107483
|
+
"name": "_handleKeyDown",
|
|
107484
|
+
"privacy": "private",
|
|
107535
107485
|
"return": {
|
|
107536
107486
|
"type": {
|
|
107537
107487
|
"text": "void"
|
|
@@ -107539,35 +107489,37 @@
|
|
|
107539
107489
|
},
|
|
107540
107490
|
"parameters": [
|
|
107541
107491
|
{
|
|
107542
|
-
"name": "
|
|
107543
|
-
"type": {
|
|
107544
|
-
"text": "T"
|
|
107545
|
-
}
|
|
107546
|
-
},
|
|
107547
|
-
{
|
|
107548
|
-
"name": "message",
|
|
107549
|
-
"type": {
|
|
107550
|
-
"text": "string"
|
|
107551
|
-
}
|
|
107552
|
-
},
|
|
107553
|
-
{
|
|
107554
|
-
"name": "flagValue",
|
|
107555
|
-
"optional": true,
|
|
107492
|
+
"name": "evt",
|
|
107556
107493
|
"type": {
|
|
107557
|
-
"text": "
|
|
107494
|
+
"text": "KeyboardEvent"
|
|
107558
107495
|
}
|
|
107559
107496
|
}
|
|
107560
|
-
]
|
|
107561
|
-
|
|
107562
|
-
|
|
107563
|
-
|
|
107564
|
-
|
|
107497
|
+
]
|
|
107498
|
+
},
|
|
107499
|
+
{
|
|
107500
|
+
"kind": "method",
|
|
107501
|
+
"name": "_configureTrigger",
|
|
107502
|
+
"privacy": "private",
|
|
107503
|
+
"return": {
|
|
107504
|
+
"type": {
|
|
107505
|
+
"text": "void"
|
|
107506
|
+
}
|
|
107565
107507
|
}
|
|
107566
107508
|
},
|
|
107567
107509
|
{
|
|
107568
107510
|
"kind": "method",
|
|
107569
|
-
"name": "
|
|
107570
|
-
"privacy": "
|
|
107511
|
+
"name": "_attachWindowEvents",
|
|
107512
|
+
"privacy": "private",
|
|
107513
|
+
"return": {
|
|
107514
|
+
"type": {
|
|
107515
|
+
"text": "void"
|
|
107516
|
+
}
|
|
107517
|
+
}
|
|
107518
|
+
},
|
|
107519
|
+
{
|
|
107520
|
+
"kind": "method",
|
|
107521
|
+
"name": "_interactiveElementClick",
|
|
107522
|
+
"privacy": "private",
|
|
107571
107523
|
"return": {
|
|
107572
107524
|
"type": {
|
|
107573
107525
|
"text": "void"
|
|
@@ -107575,158 +107527,250 @@
|
|
|
107575
107527
|
},
|
|
107576
107528
|
"parameters": [
|
|
107577
107529
|
{
|
|
107578
|
-
"name": "
|
|
107530
|
+
"name": "event",
|
|
107579
107531
|
"type": {
|
|
107580
|
-
"text": "
|
|
107532
|
+
"text": "Event"
|
|
107581
107533
|
}
|
|
107582
107534
|
}
|
|
107583
|
-
]
|
|
107584
|
-
|
|
107585
|
-
|
|
107586
|
-
|
|
107587
|
-
|
|
107588
|
-
|
|
107535
|
+
]
|
|
107536
|
+
},
|
|
107537
|
+
{
|
|
107538
|
+
"kind": "field",
|
|
107539
|
+
"name": "_pointerDownListener",
|
|
107540
|
+
"privacy": "private"
|
|
107541
|
+
},
|
|
107542
|
+
{
|
|
107543
|
+
"kind": "field",
|
|
107544
|
+
"name": "_closeOnBackdropClick",
|
|
107545
|
+
"privacy": "private"
|
|
107589
107546
|
},
|
|
107590
107547
|
{
|
|
107591
107548
|
"kind": "method",
|
|
107592
|
-
"name": "
|
|
107593
|
-
"privacy": "
|
|
107549
|
+
"name": "_nestedMenus",
|
|
107550
|
+
"privacy": "private",
|
|
107594
107551
|
"return": {
|
|
107595
107552
|
"type": {
|
|
107596
|
-
"text": "
|
|
107553
|
+
"text": "SbbMenuElement[]"
|
|
107597
107554
|
}
|
|
107598
107555
|
},
|
|
107599
|
-
"description": "
|
|
107600
|
-
|
|
107601
|
-
|
|
107602
|
-
|
|
107556
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
107557
|
+
},
|
|
107558
|
+
{
|
|
107559
|
+
"kind": "method",
|
|
107560
|
+
"name": "_parentMenu",
|
|
107561
|
+
"privacy": "private",
|
|
107562
|
+
"return": {
|
|
107563
|
+
"type": {
|
|
107564
|
+
"text": "SbbMenuElement | null"
|
|
107565
|
+
}
|
|
107603
107566
|
}
|
|
107604
107567
|
},
|
|
107605
107568
|
{
|
|
107606
107569
|
"kind": "method",
|
|
107607
|
-
"name": "
|
|
107608
|
-
"privacy": "
|
|
107570
|
+
"name": "_mainMenu",
|
|
107571
|
+
"privacy": "private",
|
|
107572
|
+
"return": {
|
|
107573
|
+
"type": {
|
|
107574
|
+
"text": "SbbMenuElement"
|
|
107575
|
+
}
|
|
107576
|
+
},
|
|
107577
|
+
"description": "The outermost menu."
|
|
107578
|
+
},
|
|
107579
|
+
{
|
|
107580
|
+
"kind": "method",
|
|
107581
|
+
"name": "_isNested",
|
|
107582
|
+
"privacy": "private",
|
|
107609
107583
|
"return": {
|
|
107610
107584
|
"type": {
|
|
107611
107585
|
"text": "boolean"
|
|
107612
107586
|
}
|
|
107587
|
+
}
|
|
107588
|
+
},
|
|
107589
|
+
{
|
|
107590
|
+
"kind": "method",
|
|
107591
|
+
"name": "_updateNestedInert",
|
|
107592
|
+
"privacy": "private",
|
|
107593
|
+
"return": {
|
|
107594
|
+
"type": {
|
|
107595
|
+
"text": "void"
|
|
107596
|
+
}
|
|
107597
|
+
}
|
|
107598
|
+
},
|
|
107599
|
+
{
|
|
107600
|
+
"kind": "method",
|
|
107601
|
+
"name": "_handleMouseOver",
|
|
107602
|
+
"privacy": "private",
|
|
107603
|
+
"return": {
|
|
107604
|
+
"type": {
|
|
107605
|
+
"text": "void"
|
|
107606
|
+
}
|
|
107613
107607
|
},
|
|
107614
107608
|
"parameters": [
|
|
107615
107609
|
{
|
|
107616
|
-
"name": "
|
|
107610
|
+
"name": "event",
|
|
107611
|
+
"type": {
|
|
107612
|
+
"text": "MouseEvent"
|
|
107613
|
+
}
|
|
107614
|
+
}
|
|
107615
|
+
]
|
|
107616
|
+
},
|
|
107617
|
+
{
|
|
107618
|
+
"kind": "method",
|
|
107619
|
+
"name": "_onMenuAnimationEnd",
|
|
107620
|
+
"privacy": "private",
|
|
107621
|
+
"return": {
|
|
107622
|
+
"type": {
|
|
107623
|
+
"text": "void"
|
|
107624
|
+
}
|
|
107625
|
+
},
|
|
107626
|
+
"parameters": [
|
|
107627
|
+
{
|
|
107628
|
+
"name": "event",
|
|
107617
107629
|
"type": {
|
|
107618
|
-
"text": "
|
|
107630
|
+
"text": "AnimationEvent"
|
|
107619
107631
|
}
|
|
107620
107632
|
}
|
|
107621
|
-
]
|
|
107622
|
-
|
|
107623
|
-
|
|
107624
|
-
|
|
107625
|
-
|
|
107633
|
+
]
|
|
107634
|
+
},
|
|
107635
|
+
{
|
|
107636
|
+
"kind": "method",
|
|
107637
|
+
"name": "_setMenuPosition",
|
|
107638
|
+
"privacy": "private",
|
|
107639
|
+
"return": {
|
|
107640
|
+
"type": {
|
|
107641
|
+
"text": "void"
|
|
107642
|
+
}
|
|
107626
107643
|
}
|
|
107627
107644
|
},
|
|
107628
107645
|
{
|
|
107629
107646
|
"kind": "method",
|
|
107630
|
-
"name": "
|
|
107647
|
+
"name": "_syncNegative",
|
|
107631
107648
|
"privacy": "private",
|
|
107632
107649
|
"return": {
|
|
107633
107650
|
"type": {
|
|
107634
107651
|
"text": "void"
|
|
107635
107652
|
}
|
|
107636
|
-
},
|
|
107637
|
-
"inheritedFrom": {
|
|
107638
|
-
"name": "SbbFormAssociatedMixin",
|
|
107639
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107640
107653
|
}
|
|
107641
107654
|
},
|
|
107642
107655
|
{
|
|
107643
|
-
"kind": "
|
|
107644
|
-
"name": "
|
|
107656
|
+
"kind": "method",
|
|
107657
|
+
"name": "_isMobile",
|
|
107645
107658
|
"privacy": "private",
|
|
107646
|
-
"
|
|
107647
|
-
|
|
107648
|
-
|
|
107649
|
-
"description": "The origin event.",
|
|
107650
|
-
"name": "event"
|
|
107659
|
+
"return": {
|
|
107660
|
+
"type": {
|
|
107661
|
+
"text": "boolean"
|
|
107651
107662
|
}
|
|
107652
|
-
],
|
|
107653
|
-
"inheritedFrom": {
|
|
107654
|
-
"name": "SbbButtonLikeBaseElement",
|
|
107655
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107656
107663
|
}
|
|
107657
107664
|
},
|
|
107658
107665
|
{
|
|
107659
107666
|
"kind": "field",
|
|
107660
|
-
"name": "
|
|
107661
|
-
"privacy": "
|
|
107667
|
+
"name": "events",
|
|
107668
|
+
"privacy": "public",
|
|
107669
|
+
"static": true,
|
|
107670
|
+
"readonly": true,
|
|
107671
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
107672
|
+
"type": {
|
|
107673
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
107674
|
+
},
|
|
107662
107675
|
"inheritedFrom": {
|
|
107663
|
-
"name": "
|
|
107664
|
-
"module": "core/base-elements/
|
|
107676
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107677
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107665
107678
|
}
|
|
107666
107679
|
},
|
|
107667
107680
|
{
|
|
107668
107681
|
"kind": "field",
|
|
107669
|
-
"name": "
|
|
107670
|
-
"privacy": "
|
|
107671
|
-
"description": "
|
|
107672
|
-
"
|
|
107673
|
-
|
|
107674
|
-
|
|
107675
|
-
|
|
107676
|
-
}
|
|
107677
|
-
],
|
|
107682
|
+
"name": "state",
|
|
107683
|
+
"privacy": "protected",
|
|
107684
|
+
"description": "The state of the component.",
|
|
107685
|
+
"type": {
|
|
107686
|
+
"text": "SbbOpenedClosedState"
|
|
107687
|
+
},
|
|
107688
|
+
"default": "'closed'",
|
|
107678
107689
|
"inheritedFrom": {
|
|
107679
|
-
"name": "
|
|
107680
|
-
"module": "core/base-elements/
|
|
107690
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107691
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107681
107692
|
}
|
|
107682
107693
|
},
|
|
107683
107694
|
{
|
|
107684
107695
|
"kind": "field",
|
|
107685
|
-
"name": "
|
|
107696
|
+
"name": "_state",
|
|
107697
|
+
"type": {
|
|
107698
|
+
"text": "SbbOpenedClosedState"
|
|
107699
|
+
},
|
|
107686
107700
|
"privacy": "private",
|
|
107687
107701
|
"inheritedFrom": {
|
|
107688
|
-
"name": "
|
|
107689
|
-
"module": "core/base-elements/
|
|
107702
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107703
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107690
107704
|
}
|
|
107691
107705
|
},
|
|
107692
107706
|
{
|
|
107693
107707
|
"kind": "field",
|
|
107694
|
-
"name": "
|
|
107708
|
+
"name": "isOpen",
|
|
107695
107709
|
"type": {
|
|
107696
|
-
"text": "boolean
|
|
107710
|
+
"text": "boolean"
|
|
107697
107711
|
},
|
|
107698
|
-
"privacy": "
|
|
107712
|
+
"privacy": "public",
|
|
107713
|
+
"description": "Whether the element is open.",
|
|
107699
107714
|
"readonly": true,
|
|
107700
107715
|
"inheritedFrom": {
|
|
107701
|
-
"name": "
|
|
107702
|
-
"module": "core/base-elements/
|
|
107716
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107717
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107703
107718
|
}
|
|
107704
107719
|
},
|
|
107705
107720
|
{
|
|
107706
|
-
"kind": "
|
|
107707
|
-
"name": "
|
|
107708
|
-
"
|
|
107709
|
-
|
|
107721
|
+
"kind": "method",
|
|
107722
|
+
"name": "dispatchBeforeOpenEvent",
|
|
107723
|
+
"privacy": "protected",
|
|
107724
|
+
"return": {
|
|
107725
|
+
"type": {
|
|
107726
|
+
"text": "boolean"
|
|
107727
|
+
}
|
|
107710
107728
|
},
|
|
107729
|
+
"inheritedFrom": {
|
|
107730
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107731
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107732
|
+
}
|
|
107733
|
+
},
|
|
107734
|
+
{
|
|
107735
|
+
"kind": "method",
|
|
107736
|
+
"name": "dispatchOpenEvent",
|
|
107711
107737
|
"privacy": "protected",
|
|
107712
|
-
"
|
|
107738
|
+
"return": {
|
|
107739
|
+
"type": {
|
|
107740
|
+
"text": "boolean"
|
|
107741
|
+
}
|
|
107742
|
+
},
|
|
107713
107743
|
"inheritedFrom": {
|
|
107714
|
-
"name": "
|
|
107715
|
-
"module": "core/base-elements/
|
|
107744
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107745
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107716
107746
|
}
|
|
107717
107747
|
},
|
|
107718
107748
|
{
|
|
107719
107749
|
"kind": "method",
|
|
107720
|
-
"name": "
|
|
107750
|
+
"name": "dispatchBeforeCloseEvent",
|
|
107721
107751
|
"privacy": "protected",
|
|
107722
107752
|
"return": {
|
|
107723
107753
|
"type": {
|
|
107724
|
-
"text": "
|
|
107754
|
+
"text": "boolean"
|
|
107725
107755
|
}
|
|
107726
107756
|
},
|
|
107727
107757
|
"inheritedFrom": {
|
|
107728
|
-
"name": "
|
|
107729
|
-
"module": "core/base-elements/
|
|
107758
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107759
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107760
|
+
}
|
|
107761
|
+
},
|
|
107762
|
+
{
|
|
107763
|
+
"kind": "method",
|
|
107764
|
+
"name": "dispatchCloseEvent",
|
|
107765
|
+
"privacy": "protected",
|
|
107766
|
+
"return": {
|
|
107767
|
+
"type": {
|
|
107768
|
+
"text": "boolean"
|
|
107769
|
+
}
|
|
107770
|
+
},
|
|
107771
|
+
"inheritedFrom": {
|
|
107772
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107773
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107730
107774
|
}
|
|
107731
107775
|
},
|
|
107732
107776
|
{
|
|
@@ -107835,110 +107879,66 @@
|
|
|
107835
107879
|
}
|
|
107836
107880
|
}
|
|
107837
107881
|
],
|
|
107838
|
-
"
|
|
107839
|
-
{
|
|
107840
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
107841
|
-
"module": "core/mixins.js"
|
|
107842
|
-
},
|
|
107882
|
+
"attributes": [
|
|
107843
107883
|
{
|
|
107844
|
-
"name": "
|
|
107845
|
-
"
|
|
107884
|
+
"name": "trigger",
|
|
107885
|
+
"type": {
|
|
107886
|
+
"text": "HTMLElement | null"
|
|
107887
|
+
},
|
|
107888
|
+
"default": "null",
|
|
107889
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
107890
|
+
"fieldName": "trigger"
|
|
107846
107891
|
}
|
|
107847
107892
|
],
|
|
107848
107893
|
"superclass": {
|
|
107849
|
-
"name": "
|
|
107894
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107850
107895
|
"module": "core/base-elements.js"
|
|
107851
107896
|
},
|
|
107852
|
-
"tagName": "sbb-menu
|
|
107897
|
+
"tagName": "sbb-menu",
|
|
107853
107898
|
"customElement": true,
|
|
107854
|
-
"
|
|
107855
|
-
{
|
|
107856
|
-
"name": "disabled-interactive",
|
|
107857
|
-
"type": {
|
|
107858
|
-
"text": "boolean"
|
|
107859
|
-
},
|
|
107860
|
-
"default": "false",
|
|
107861
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107862
|
-
"fieldName": "disabledInteractive",
|
|
107863
|
-
"inheritedFrom": {
|
|
107864
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
107865
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107866
|
-
}
|
|
107867
|
-
},
|
|
107868
|
-
{
|
|
107869
|
-
"name": "disabled",
|
|
107870
|
-
"description": "Whether the component is disabled.",
|
|
107871
|
-
"default": "false",
|
|
107872
|
-
"type": {
|
|
107873
|
-
"text": "boolean"
|
|
107874
|
-
},
|
|
107875
|
-
"fieldName": "disabled",
|
|
107876
|
-
"inheritedFrom": {
|
|
107877
|
-
"name": "SbbDisabledMixin",
|
|
107878
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107879
|
-
}
|
|
107880
|
-
},
|
|
107881
|
-
{
|
|
107882
|
-
"name": "icon-name",
|
|
107883
|
-
"type": {
|
|
107884
|
-
"text": "string"
|
|
107885
|
-
},
|
|
107886
|
-
"default": "''",
|
|
107887
|
-
"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.",
|
|
107888
|
-
"fieldName": "iconName",
|
|
107889
|
-
"inheritedFrom": {
|
|
107890
|
-
"name": "SbbIconNameMixin",
|
|
107891
|
-
"module": "icon/icon-name-mixin.js"
|
|
107892
|
-
}
|
|
107893
|
-
},
|
|
107899
|
+
"events": [
|
|
107894
107900
|
{
|
|
107895
|
-
"name": "
|
|
107901
|
+
"name": "beforeopen",
|
|
107896
107902
|
"type": {
|
|
107897
|
-
"text": "
|
|
107903
|
+
"text": "Event"
|
|
107898
107904
|
},
|
|
107899
|
-
"
|
|
107900
|
-
"description": "Value of the form element.",
|
|
107901
|
-
"fieldName": "value",
|
|
107905
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
107902
107906
|
"inheritedFrom": {
|
|
107903
|
-
"name": "
|
|
107904
|
-
"module": "core/base-elements/
|
|
107907
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107908
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107905
107909
|
}
|
|
107906
107910
|
},
|
|
107907
107911
|
{
|
|
107908
|
-
"name": "
|
|
107909
|
-
"description": "The type attribute to use for the button.",
|
|
107910
|
-
"default": "'button'",
|
|
107912
|
+
"name": "open",
|
|
107911
107913
|
"type": {
|
|
107912
|
-
"text": "
|
|
107914
|
+
"text": "Event"
|
|
107913
107915
|
},
|
|
107914
|
-
"
|
|
107916
|
+
"description": "Emits whenever the component is opened.",
|
|
107915
107917
|
"inheritedFrom": {
|
|
107916
|
-
"name": "
|
|
107917
|
-
"module": "core/base-elements/
|
|
107918
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107919
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107918
107920
|
}
|
|
107919
107921
|
},
|
|
107920
107922
|
{
|
|
107921
|
-
"name": "
|
|
107922
|
-
"description": "The `<form>` element to associate the button with.",
|
|
107923
|
+
"name": "beforeclose",
|
|
107923
107924
|
"type": {
|
|
107924
|
-
"text": "
|
|
107925
|
+
"text": "Event"
|
|
107925
107926
|
},
|
|
107926
|
-
"
|
|
107927
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
107927
107928
|
"inheritedFrom": {
|
|
107928
|
-
"name": "
|
|
107929
|
-
"module": "core/base-elements/
|
|
107929
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107930
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107930
107931
|
}
|
|
107931
107932
|
},
|
|
107932
107933
|
{
|
|
107933
|
-
"name": "
|
|
107934
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107934
|
+
"name": "close",
|
|
107935
107935
|
"type": {
|
|
107936
|
-
"text": "
|
|
107936
|
+
"text": "Event"
|
|
107937
107937
|
},
|
|
107938
|
-
"
|
|
107938
|
+
"description": "Emits whenever the component is closed.",
|
|
107939
107939
|
"inheritedFrom": {
|
|
107940
|
-
"name": "
|
|
107941
|
-
"module": "core/
|
|
107940
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107941
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107942
107942
|
}
|
|
107943
107943
|
}
|
|
107944
107944
|
]
|
|
@@ -107947,10 +107947,10 @@
|
|
|
107947
107947
|
"exports": [
|
|
107948
107948
|
{
|
|
107949
107949
|
"kind": "js",
|
|
107950
|
-
"name": "
|
|
107950
|
+
"name": "SbbMenuElement",
|
|
107951
107951
|
"declaration": {
|
|
107952
|
-
"name": "
|
|
107953
|
-
"module": "menu/menu
|
|
107952
|
+
"name": "SbbMenuElement",
|
|
107953
|
+
"module": "menu/menu/menu.component.js"
|
|
107954
107954
|
}
|
|
107955
107955
|
}
|
|
107956
107956
|
]
|