@sbb-esta/lyne-elements-dev 4.14.2-dev.1784022560 → 4.14.2-dev.1785765449
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/calendar/calendar.component.js +1 -1
- package/calendar/calendar.js +1 -1
- package/calendar/common/calendar-cell-base-element.js +1 -1
- package/calendar/common.js +1 -1
- package/calendar-cell-base-element-82Z5AeBH.js +25 -0
- package/{calendar.component-Ba0Fwb29.js → calendar.component-DWTak4w2.js} +3 -3
- package/calendar.js +1 -1
- package/calendar.pure.js +1 -1
- package/core/datetime/date-adapter.js +4 -1
- package/core.css +10 -2
- package/custom-elements.json +1258 -1258
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar.js +1 -1
- package/development/calendar/common/calendar-cell-base-element.js +1 -1
- package/development/calendar/common.js +1 -1
- package/development/calendar-cell-base-element-Ub79t3a8.js +38 -0
- package/development/{calendar.component-_aQkgYF_.js → calendar.component-BpdFNvbt.js} +4 -4
- package/development/calendar.js +1 -1
- package/development/calendar.pure.js +1 -1
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/date-adapter.js +5 -2
- package/off-brand-theme.css +10 -2
- package/package.json +2 -2
- package/safety-theme.css +10 -2
- package/standard-theme.css +10 -2
- package/calendar-cell-base-element-BmCNJgsW.js +0 -25
- package/development/calendar-cell-base-element-C9bSs3Q8.js +0 -38
package/custom-elements.json
CHANGED
|
@@ -107357,12 +107357,12 @@
|
|
|
107357
107357
|
},
|
|
107358
107358
|
{
|
|
107359
107359
|
"kind": "javascript-module",
|
|
107360
|
-
"path": "menu/menu-
|
|
107360
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
107361
107361
|
"declarations": [
|
|
107362
107362
|
{
|
|
107363
107363
|
"kind": "class",
|
|
107364
|
-
"description": "It displays a
|
|
107365
|
-
"name": "
|
|
107364
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107365
|
+
"name": "SbbMenuButtonElement",
|
|
107366
107366
|
"cssProperties": [
|
|
107367
107367
|
{
|
|
107368
107368
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -107372,7 +107372,7 @@
|
|
|
107372
107372
|
],
|
|
107373
107373
|
"slots": [
|
|
107374
107374
|
{
|
|
107375
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
107375
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107376
107376
|
"name": ""
|
|
107377
107377
|
},
|
|
107378
107378
|
{
|
|
@@ -107394,20 +107394,21 @@
|
|
|
107394
107394
|
"name": "SbbElement",
|
|
107395
107395
|
"module": "core/base-elements/element.js"
|
|
107396
107396
|
},
|
|
107397
|
-
"default": "'sbb-menu-
|
|
107397
|
+
"default": "'sbb-menu-button'"
|
|
107398
107398
|
},
|
|
107399
107399
|
{
|
|
107400
107400
|
"kind": "field",
|
|
107401
|
-
"name": "
|
|
107401
|
+
"name": "role",
|
|
107402
107402
|
"type": {
|
|
107403
|
-
"text": "
|
|
107403
|
+
"text": "ElementInternals['role']"
|
|
107404
107404
|
},
|
|
107405
|
-
"privacy": "
|
|
107405
|
+
"privacy": "public",
|
|
107406
|
+
"static": true,
|
|
107406
107407
|
"readonly": true,
|
|
107407
107408
|
"default": "'menuitem'",
|
|
107408
107409
|
"inheritedFrom": {
|
|
107409
|
-
"name": "
|
|
107410
|
-
"module": "core/base-elements/
|
|
107410
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107411
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107411
107412
|
}
|
|
107412
107413
|
},
|
|
107413
107414
|
{
|
|
@@ -107426,6 +107427,50 @@
|
|
|
107426
107427
|
"module": "core/mixins/disabled-mixin.js"
|
|
107427
107428
|
}
|
|
107428
107429
|
},
|
|
107430
|
+
{
|
|
107431
|
+
"kind": "field",
|
|
107432
|
+
"name": "disabled",
|
|
107433
|
+
"privacy": "public",
|
|
107434
|
+
"description": "Whether the component is disabled.",
|
|
107435
|
+
"default": "false",
|
|
107436
|
+
"type": {
|
|
107437
|
+
"text": "boolean"
|
|
107438
|
+
},
|
|
107439
|
+
"attribute": "disabled",
|
|
107440
|
+
"reflects": true,
|
|
107441
|
+
"inheritedFrom": {
|
|
107442
|
+
"name": "SbbDisabledMixin",
|
|
107443
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107444
|
+
}
|
|
107445
|
+
},
|
|
107446
|
+
{
|
|
107447
|
+
"kind": "field",
|
|
107448
|
+
"name": "#disabled",
|
|
107449
|
+
"privacy": "private",
|
|
107450
|
+
"type": {
|
|
107451
|
+
"text": "boolean"
|
|
107452
|
+
},
|
|
107453
|
+
"default": "false",
|
|
107454
|
+
"inheritedFrom": {
|
|
107455
|
+
"name": "SbbDisabledMixin",
|
|
107456
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107457
|
+
}
|
|
107458
|
+
},
|
|
107459
|
+
{
|
|
107460
|
+
"kind": "method",
|
|
107461
|
+
"name": "isDisabledExternally",
|
|
107462
|
+
"privacy": "protected",
|
|
107463
|
+
"return": {
|
|
107464
|
+
"type": {
|
|
107465
|
+
"text": "boolean"
|
|
107466
|
+
}
|
|
107467
|
+
},
|
|
107468
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107469
|
+
"inheritedFrom": {
|
|
107470
|
+
"name": "SbbDisabledMixin",
|
|
107471
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107472
|
+
}
|
|
107473
|
+
},
|
|
107429
107474
|
{
|
|
107430
107475
|
"kind": "field",
|
|
107431
107476
|
"name": "styles",
|
|
@@ -107523,528 +107568,452 @@
|
|
|
107523
107568
|
},
|
|
107524
107569
|
{
|
|
107525
107570
|
"kind": "field",
|
|
107526
|
-
"name": "
|
|
107527
|
-
"privacy": "public",
|
|
107528
|
-
"description": "Whether the component is disabled.",
|
|
107529
|
-
"default": "false",
|
|
107571
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107530
107572
|
"type": {
|
|
107531
|
-
"text": "
|
|
107573
|
+
"text": "array"
|
|
107532
107574
|
},
|
|
107533
|
-
"attribute": "disabled",
|
|
107534
|
-
"reflects": true,
|
|
107535
|
-
"inheritedFrom": {
|
|
107536
|
-
"name": "SbbDisabledMixin",
|
|
107537
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107538
|
-
}
|
|
107539
|
-
},
|
|
107540
|
-
{
|
|
107541
|
-
"kind": "field",
|
|
107542
|
-
"name": "#disabled",
|
|
107543
107575
|
"privacy": "private",
|
|
107544
|
-
"
|
|
107545
|
-
|
|
107546
|
-
},
|
|
107547
|
-
"default": "false",
|
|
107548
|
-
"inheritedFrom": {
|
|
107549
|
-
"name": "SbbDisabledMixin",
|
|
107550
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107551
|
-
}
|
|
107552
|
-
},
|
|
107553
|
-
{
|
|
107554
|
-
"kind": "method",
|
|
107555
|
-
"name": "isDisabledExternally",
|
|
107556
|
-
"privacy": "protected",
|
|
107557
|
-
"return": {
|
|
107558
|
-
"type": {
|
|
107559
|
-
"text": "boolean"
|
|
107560
|
-
}
|
|
107561
|
-
},
|
|
107562
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107576
|
+
"readonly": true,
|
|
107577
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107563
107578
|
"inheritedFrom": {
|
|
107564
|
-
"name": "
|
|
107565
|
-
"module": "core/
|
|
107579
|
+
"name": "SbbButtonBaseElement",
|
|
107580
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107566
107581
|
}
|
|
107567
107582
|
},
|
|
107568
107583
|
{
|
|
107569
107584
|
"kind": "field",
|
|
107570
|
-
"name": "
|
|
107585
|
+
"name": "value",
|
|
107571
107586
|
"type": {
|
|
107572
107587
|
"text": "string"
|
|
107573
107588
|
},
|
|
107574
107589
|
"privacy": "public",
|
|
107575
|
-
"default": "''",
|
|
107576
|
-
"description": "The href value you want to link to.",
|
|
107577
|
-
"attribute": "href",
|
|
107578
|
-
"reflects": true,
|
|
107579
107590
|
"inheritedFrom": {
|
|
107580
|
-
"name": "
|
|
107581
|
-
"module": "core/base-elements/
|
|
107582
|
-
}
|
|
107583
|
-
},
|
|
107584
|
-
{
|
|
107585
|
-
"kind": "field",
|
|
107586
|
-
"name": "target",
|
|
107587
|
-
"type": {
|
|
107588
|
-
"text": "LinkTargetType | string"
|
|
107591
|
+
"name": "SbbButtonBaseElement",
|
|
107592
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107589
107593
|
},
|
|
107590
|
-
"privacy": "public",
|
|
107591
107594
|
"default": "''",
|
|
107592
|
-
"description": "
|
|
107593
|
-
"attribute": "
|
|
107594
|
-
"reflects": true,
|
|
107595
|
-
"inheritedFrom": {
|
|
107596
|
-
"name": "SbbLinkBaseElement",
|
|
107597
|
-
"module": "core/base-elements/link-base-element.js"
|
|
107598
|
-
}
|
|
107595
|
+
"description": "Value of the form element.",
|
|
107596
|
+
"attribute": "value"
|
|
107599
107597
|
},
|
|
107600
107598
|
{
|
|
107601
107599
|
"kind": "field",
|
|
107602
|
-
"name": "
|
|
107603
|
-
"type": {
|
|
107604
|
-
"text": "string"
|
|
107605
|
-
},
|
|
107600
|
+
"name": "type",
|
|
107606
107601
|
"privacy": "public",
|
|
107607
|
-
"
|
|
107608
|
-
"
|
|
107609
|
-
"attribute": "rel",
|
|
107610
|
-
"reflects": true,
|
|
107611
|
-
"inheritedFrom": {
|
|
107612
|
-
"name": "SbbLinkBaseElement",
|
|
107613
|
-
"module": "core/base-elements/link-base-element.js"
|
|
107614
|
-
}
|
|
107615
|
-
},
|
|
107616
|
-
{
|
|
107617
|
-
"kind": "field",
|
|
107618
|
-
"name": "download",
|
|
107602
|
+
"description": "The type attribute to use for the button.",
|
|
107603
|
+
"default": "'button'",
|
|
107619
107604
|
"type": {
|
|
107620
|
-
"text": "
|
|
107605
|
+
"text": "SbbButtonType"
|
|
107621
107606
|
},
|
|
107622
|
-
"
|
|
107623
|
-
"default": "false",
|
|
107624
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
107625
|
-
"attribute": "download",
|
|
107626
|
-
"reflects": true,
|
|
107607
|
+
"attribute": "type",
|
|
107627
107608
|
"inheritedFrom": {
|
|
107628
|
-
"name": "
|
|
107629
|
-
"module": "core/base-elements/
|
|
107609
|
+
"name": "SbbButtonBaseElement",
|
|
107610
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107630
107611
|
}
|
|
107631
107612
|
},
|
|
107632
107613
|
{
|
|
107633
107614
|
"kind": "field",
|
|
107634
|
-
"name": "
|
|
107615
|
+
"name": "form",
|
|
107635
107616
|
"type": {
|
|
107636
|
-
"text": "
|
|
107617
|
+
"text": "HTMLFormElement | null"
|
|
107637
107618
|
},
|
|
107638
107619
|
"privacy": "public",
|
|
107639
|
-
"
|
|
107640
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107641
|
-
"attribute": "accessibility-label",
|
|
107620
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107642
107621
|
"inheritedFrom": {
|
|
107643
|
-
"name": "
|
|
107644
|
-
"module": "core/base-elements/
|
|
107645
|
-
}
|
|
107622
|
+
"name": "SbbButtonBaseElement",
|
|
107623
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107624
|
+
},
|
|
107625
|
+
"attribute": "form"
|
|
107646
107626
|
},
|
|
107647
107627
|
{
|
|
107648
107628
|
"kind": "field",
|
|
107649
|
-
"name": "
|
|
107629
|
+
"name": "_formId",
|
|
107650
107630
|
"type": {
|
|
107651
107631
|
"text": "string"
|
|
107652
107632
|
},
|
|
107653
|
-
"privacy": "
|
|
107633
|
+
"privacy": "private",
|
|
107654
107634
|
"default": "''",
|
|
107655
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
107656
|
-
"attribute": "accessibility-current",
|
|
107657
|
-
"inheritedFrom": {
|
|
107658
|
-
"name": "SbbLinkBaseElement",
|
|
107659
|
-
"module": "core/base-elements/link-base-element.js"
|
|
107660
|
-
}
|
|
107661
|
-
},
|
|
107662
|
-
{
|
|
107663
|
-
"kind": "field",
|
|
107664
|
-
"name": "language",
|
|
107665
|
-
"privacy": "protected",
|
|
107666
|
-
"default": "new SbbLanguageController(this)",
|
|
107667
107635
|
"inheritedFrom": {
|
|
107668
|
-
"name": "
|
|
107669
|
-
"module": "core/base-elements/
|
|
107636
|
+
"name": "SbbButtonBaseElement",
|
|
107637
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107670
107638
|
}
|
|
107671
107639
|
},
|
|
107672
107640
|
{
|
|
107673
107641
|
"kind": "field",
|
|
107674
|
-
"name": "
|
|
107642
|
+
"name": "_handleButtonClick",
|
|
107675
107643
|
"privacy": "private",
|
|
107676
107644
|
"inheritedFrom": {
|
|
107677
|
-
"name": "
|
|
107678
|
-
"module": "core/base-elements/
|
|
107645
|
+
"name": "SbbButtonBaseElement",
|
|
107646
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107679
107647
|
}
|
|
107680
107648
|
},
|
|
107681
107649
|
{
|
|
107682
107650
|
"kind": "method",
|
|
107683
|
-
"name": "
|
|
107684
|
-
"privacy": "
|
|
107651
|
+
"name": "_requestSubmit",
|
|
107652
|
+
"privacy": "private",
|
|
107685
107653
|
"return": {
|
|
107686
107654
|
"type": {
|
|
107687
|
-
"text": "
|
|
107655
|
+
"text": "void"
|
|
107688
107656
|
}
|
|
107689
107657
|
},
|
|
107690
107658
|
"parameters": [
|
|
107691
107659
|
{
|
|
107692
|
-
"name": "
|
|
107660
|
+
"name": "form",
|
|
107693
107661
|
"type": {
|
|
107694
|
-
"text": "
|
|
107662
|
+
"text": "HTMLFormElement"
|
|
107695
107663
|
}
|
|
107696
107664
|
}
|
|
107697
107665
|
],
|
|
107698
107666
|
"inheritedFrom": {
|
|
107699
|
-
"name": "
|
|
107700
|
-
"module": "core/base-elements/
|
|
107667
|
+
"name": "SbbButtonBaseElement",
|
|
107668
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107701
107669
|
}
|
|
107702
107670
|
},
|
|
107703
107671
|
{
|
|
107704
107672
|
"kind": "field",
|
|
107705
|
-
"name": "
|
|
107673
|
+
"name": "_formKeyDown",
|
|
107674
|
+
"privacy": "private",
|
|
107675
|
+
"inheritedFrom": {
|
|
107676
|
+
"name": "SbbButtonBaseElement",
|
|
107677
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107678
|
+
}
|
|
107679
|
+
},
|
|
107680
|
+
{
|
|
107681
|
+
"kind": "field",
|
|
107682
|
+
"name": "formAssociated",
|
|
107706
107683
|
"type": {
|
|
107707
|
-
"text": "boolean
|
|
107684
|
+
"text": "boolean"
|
|
107708
107685
|
},
|
|
107709
|
-
"privacy": "
|
|
107710
|
-
"
|
|
107686
|
+
"privacy": "public",
|
|
107687
|
+
"static": true,
|
|
107688
|
+
"default": "true",
|
|
107711
107689
|
"inheritedFrom": {
|
|
107712
|
-
"name": "
|
|
107713
|
-
"module": "core/
|
|
107690
|
+
"name": "SbbFormAssociatedMixin",
|
|
107691
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107714
107692
|
}
|
|
107715
107693
|
},
|
|
107716
107694
|
{
|
|
107717
107695
|
"kind": "field",
|
|
107718
|
-
"name": "
|
|
107696
|
+
"name": "name",
|
|
107697
|
+
"privacy": "public",
|
|
107698
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107719
107699
|
"type": {
|
|
107720
|
-
"text": "
|
|
107700
|
+
"text": "string"
|
|
107721
107701
|
},
|
|
107722
|
-
"
|
|
107723
|
-
"readonly": true,
|
|
107702
|
+
"attribute": "name",
|
|
107724
107703
|
"inheritedFrom": {
|
|
107725
|
-
"name": "
|
|
107726
|
-
"module": "core/
|
|
107704
|
+
"name": "SbbFormAssociatedMixin",
|
|
107705
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107727
107706
|
}
|
|
107728
107707
|
},
|
|
107729
107708
|
{
|
|
107730
|
-
"kind": "
|
|
107731
|
-
"name": "
|
|
107732
|
-
"
|
|
107733
|
-
|
|
107734
|
-
"type": {
|
|
107735
|
-
"text": "void"
|
|
107736
|
-
}
|
|
107709
|
+
"kind": "field",
|
|
107710
|
+
"name": "validity",
|
|
107711
|
+
"type": {
|
|
107712
|
+
"text": "ValidityState"
|
|
107737
107713
|
},
|
|
107714
|
+
"privacy": "public",
|
|
107715
|
+
"description": "Returns the ValidityState object for this element.",
|
|
107716
|
+
"readonly": true,
|
|
107738
107717
|
"inheritedFrom": {
|
|
107739
|
-
"name": "
|
|
107740
|
-
"module": "core/
|
|
107718
|
+
"name": "SbbFormAssociatedMixin",
|
|
107719
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107741
107720
|
}
|
|
107742
107721
|
},
|
|
107743
107722
|
{
|
|
107744
107723
|
"kind": "field",
|
|
107745
|
-
"name": "
|
|
107724
|
+
"name": "validationMessage",
|
|
107746
107725
|
"type": {
|
|
107747
|
-
"text": "
|
|
107726
|
+
"text": "string"
|
|
107748
107727
|
},
|
|
107749
|
-
"privacy": "
|
|
107750
|
-
"
|
|
107728
|
+
"privacy": "public",
|
|
107729
|
+
"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.",
|
|
107730
|
+
"readonly": true,
|
|
107751
107731
|
"inheritedFrom": {
|
|
107752
|
-
"name": "
|
|
107753
|
-
"module": "core/
|
|
107732
|
+
"name": "SbbFormAssociatedMixin",
|
|
107733
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107754
107734
|
}
|
|
107755
107735
|
},
|
|
107756
107736
|
{
|
|
107757
107737
|
"kind": "field",
|
|
107758
|
-
"name": "
|
|
107759
|
-
"
|
|
107760
|
-
|
|
107738
|
+
"name": "willValidate",
|
|
107739
|
+
"type": {
|
|
107740
|
+
"text": "boolean"
|
|
107741
|
+
},
|
|
107742
|
+
"privacy": "public",
|
|
107743
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107744
|
+
"readonly": true,
|
|
107761
107745
|
"inheritedFrom": {
|
|
107762
|
-
"name": "
|
|
107763
|
-
"module": "core/
|
|
107746
|
+
"name": "SbbFormAssociatedMixin",
|
|
107747
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107764
107748
|
}
|
|
107765
107749
|
},
|
|
107766
107750
|
{
|
|
107767
107751
|
"kind": "field",
|
|
107768
|
-
"name": "
|
|
107769
|
-
"type": {
|
|
107770
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
107771
|
-
},
|
|
107752
|
+
"name": "_validityStates",
|
|
107772
107753
|
"privacy": "private",
|
|
107754
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
107773
107755
|
"inheritedFrom": {
|
|
107774
|
-
"name": "
|
|
107775
|
-
"module": "core/
|
|
107756
|
+
"name": "SbbFormAssociatedMixin",
|
|
107757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107776
107758
|
}
|
|
107777
107759
|
},
|
|
107778
107760
|
{
|
|
107779
107761
|
"kind": "field",
|
|
107780
|
-
"name": "
|
|
107762
|
+
"name": "formDisabled",
|
|
107781
107763
|
"type": {
|
|
107782
107764
|
"text": "boolean"
|
|
107783
107765
|
},
|
|
107784
107766
|
"privacy": "protected",
|
|
107785
|
-
"
|
|
107786
|
-
"
|
|
107767
|
+
"default": "false",
|
|
107768
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107787
107769
|
"inheritedFrom": {
|
|
107788
|
-
"name": "
|
|
107789
|
-
"module": "core/
|
|
107790
|
-
}
|
|
107791
|
-
"default": "!!this.shadowRoot"
|
|
107770
|
+
"name": "SbbFormAssociatedMixin",
|
|
107771
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107772
|
+
}
|
|
107792
107773
|
},
|
|
107793
107774
|
{
|
|
107794
107775
|
"kind": "method",
|
|
107795
|
-
"name": "
|
|
107796
|
-
"privacy": "
|
|
107776
|
+
"name": "checkValidity",
|
|
107777
|
+
"privacy": "public",
|
|
107797
107778
|
"return": {
|
|
107798
107779
|
"type": {
|
|
107799
|
-
"text": "
|
|
107780
|
+
"text": "boolean"
|
|
107800
107781
|
}
|
|
107801
107782
|
},
|
|
107802
|
-
"
|
|
107803
|
-
{
|
|
107804
|
-
"name": "value",
|
|
107805
|
-
"type": {
|
|
107806
|
-
"text": "string"
|
|
107807
|
-
}
|
|
107808
|
-
},
|
|
107809
|
-
{
|
|
107810
|
-
"name": "force",
|
|
107811
|
-
"optional": true,
|
|
107812
|
-
"type": {
|
|
107813
|
-
"text": "boolean"
|
|
107814
|
-
}
|
|
107815
|
-
}
|
|
107816
|
-
],
|
|
107783
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107817
107784
|
"inheritedFrom": {
|
|
107818
|
-
"name": "
|
|
107819
|
-
"module": "core/
|
|
107785
|
+
"name": "SbbFormAssociatedMixin",
|
|
107786
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107820
107787
|
}
|
|
107821
107788
|
},
|
|
107822
107789
|
{
|
|
107823
|
-
"kind": "
|
|
107824
|
-
"name": "
|
|
107825
|
-
"type": {
|
|
107826
|
-
"text": "boolean"
|
|
107827
|
-
},
|
|
107790
|
+
"kind": "method",
|
|
107791
|
+
"name": "reportValidity",
|
|
107828
107792
|
"privacy": "public",
|
|
107829
|
-
"
|
|
107830
|
-
|
|
107793
|
+
"return": {
|
|
107794
|
+
"type": {
|
|
107795
|
+
"text": "boolean"
|
|
107796
|
+
}
|
|
107797
|
+
},
|
|
107798
|
+
"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.",
|
|
107831
107799
|
"inheritedFrom": {
|
|
107832
|
-
"name": "
|
|
107833
|
-
"module": "core/
|
|
107800
|
+
"name": "SbbFormAssociatedMixin",
|
|
107801
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107834
107802
|
}
|
|
107835
107803
|
},
|
|
107836
107804
|
{
|
|
107837
|
-
"kind": "
|
|
107838
|
-
"name": "
|
|
107839
|
-
"
|
|
107840
|
-
|
|
107805
|
+
"kind": "method",
|
|
107806
|
+
"name": "setCustomValidity",
|
|
107807
|
+
"privacy": "public",
|
|
107808
|
+
"return": {
|
|
107809
|
+
"type": {
|
|
107810
|
+
"text": "void"
|
|
107811
|
+
}
|
|
107841
107812
|
},
|
|
107842
|
-
"
|
|
107813
|
+
"parameters": [
|
|
107814
|
+
{
|
|
107815
|
+
"name": "message",
|
|
107816
|
+
"type": {
|
|
107817
|
+
"text": "string"
|
|
107818
|
+
}
|
|
107819
|
+
}
|
|
107820
|
+
],
|
|
107821
|
+
"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.",
|
|
107843
107822
|
"inheritedFrom": {
|
|
107844
|
-
"name": "
|
|
107845
|
-
"module": "core/
|
|
107823
|
+
"name": "SbbFormAssociatedMixin",
|
|
107824
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107846
107825
|
}
|
|
107847
|
-
}
|
|
107848
|
-
],
|
|
107849
|
-
"mixins": [
|
|
107850
|
-
{
|
|
107851
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
107852
|
-
"module": "core/mixins.js"
|
|
107853
107826
|
},
|
|
107854
107827
|
{
|
|
107855
|
-
"
|
|
107856
|
-
"
|
|
107857
|
-
|
|
107858
|
-
|
|
107859
|
-
|
|
107860
|
-
|
|
107861
|
-
|
|
107862
|
-
},
|
|
107863
|
-
"tagName": "sbb-menu-link",
|
|
107864
|
-
"customElement": true,
|
|
107865
|
-
"attributes": [
|
|
107866
|
-
{
|
|
107867
|
-
"name": "disabled-interactive",
|
|
107868
|
-
"type": {
|
|
107869
|
-
"text": "boolean"
|
|
107828
|
+
"kind": "method",
|
|
107829
|
+
"name": "_hasDisabledAncestor",
|
|
107830
|
+
"privacy": "private",
|
|
107831
|
+
"return": {
|
|
107832
|
+
"type": {
|
|
107833
|
+
"text": "boolean"
|
|
107834
|
+
}
|
|
107870
107835
|
},
|
|
107871
|
-
"default": "false",
|
|
107872
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107873
|
-
"fieldName": "disabledInteractive",
|
|
107874
107836
|
"inheritedFrom": {
|
|
107875
|
-
"name": "
|
|
107876
|
-
"module": "core/mixins/
|
|
107837
|
+
"name": "SbbFormAssociatedMixin",
|
|
107838
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107877
107839
|
}
|
|
107878
107840
|
},
|
|
107879
107841
|
{
|
|
107880
|
-
"
|
|
107881
|
-
"
|
|
107882
|
-
|
|
107842
|
+
"kind": "method",
|
|
107843
|
+
"name": "updateFormValue",
|
|
107844
|
+
"privacy": "protected",
|
|
107845
|
+
"return": {
|
|
107846
|
+
"type": {
|
|
107847
|
+
"text": "void"
|
|
107848
|
+
}
|
|
107883
107849
|
},
|
|
107884
|
-
"
|
|
107885
|
-
"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.",
|
|
107886
|
-
"fieldName": "iconName",
|
|
107850
|
+
"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",
|
|
107887
107851
|
"inheritedFrom": {
|
|
107888
|
-
"name": "
|
|
107889
|
-
"module": "
|
|
107852
|
+
"name": "SbbFormAssociatedMixin",
|
|
107853
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107890
107854
|
}
|
|
107891
107855
|
},
|
|
107892
107856
|
{
|
|
107893
|
-
"
|
|
107894
|
-
"
|
|
107895
|
-
"
|
|
107896
|
-
"
|
|
107897
|
-
"
|
|
107857
|
+
"kind": "method",
|
|
107858
|
+
"name": "formState",
|
|
107859
|
+
"privacy": "protected",
|
|
107860
|
+
"return": {
|
|
107861
|
+
"type": {
|
|
107862
|
+
"text": "FormRestoreState"
|
|
107863
|
+
}
|
|
107898
107864
|
},
|
|
107899
|
-
"fieldName": "disabled",
|
|
107900
107865
|
"inheritedFrom": {
|
|
107901
|
-
"name": "
|
|
107902
|
-
"module": "core/mixins/
|
|
107866
|
+
"name": "SbbFormAssociatedMixin",
|
|
107867
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107903
107868
|
}
|
|
107904
107869
|
},
|
|
107905
107870
|
{
|
|
107906
|
-
"
|
|
107907
|
-
"
|
|
107908
|
-
|
|
107871
|
+
"kind": "method",
|
|
107872
|
+
"name": "setValidityFlag",
|
|
107873
|
+
"privacy": "protected",
|
|
107874
|
+
"return": {
|
|
107875
|
+
"type": {
|
|
107876
|
+
"text": "void"
|
|
107877
|
+
}
|
|
107909
107878
|
},
|
|
107910
|
-
"
|
|
107911
|
-
|
|
107912
|
-
|
|
107879
|
+
"parameters": [
|
|
107880
|
+
{
|
|
107881
|
+
"name": "flag",
|
|
107882
|
+
"type": {
|
|
107883
|
+
"text": "T"
|
|
107884
|
+
}
|
|
107885
|
+
},
|
|
107886
|
+
{
|
|
107887
|
+
"name": "message",
|
|
107888
|
+
"type": {
|
|
107889
|
+
"text": "string"
|
|
107890
|
+
}
|
|
107891
|
+
},
|
|
107892
|
+
{
|
|
107893
|
+
"name": "flagValue",
|
|
107894
|
+
"optional": true,
|
|
107895
|
+
"type": {
|
|
107896
|
+
"text": "ValidityStateFlags[T]"
|
|
107897
|
+
}
|
|
107898
|
+
}
|
|
107899
|
+
],
|
|
107900
|
+
"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).",
|
|
107913
107901
|
"inheritedFrom": {
|
|
107914
|
-
"name": "
|
|
107915
|
-
"module": "core/
|
|
107902
|
+
"name": "SbbFormAssociatedMixin",
|
|
107903
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107916
107904
|
}
|
|
107917
107905
|
},
|
|
107918
107906
|
{
|
|
107919
|
-
"
|
|
107920
|
-
"
|
|
107921
|
-
|
|
107907
|
+
"kind": "method",
|
|
107908
|
+
"name": "removeValidityFlag",
|
|
107909
|
+
"privacy": "protected",
|
|
107910
|
+
"return": {
|
|
107911
|
+
"type": {
|
|
107912
|
+
"text": "void"
|
|
107913
|
+
}
|
|
107922
107914
|
},
|
|
107923
|
-
"
|
|
107924
|
-
|
|
107925
|
-
|
|
107915
|
+
"parameters": [
|
|
107916
|
+
{
|
|
107917
|
+
"name": "flag",
|
|
107918
|
+
"type": {
|
|
107919
|
+
"text": "T"
|
|
107920
|
+
}
|
|
107921
|
+
}
|
|
107922
|
+
],
|
|
107923
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107926
107924
|
"inheritedFrom": {
|
|
107927
|
-
"name": "
|
|
107928
|
-
"module": "core/
|
|
107925
|
+
"name": "SbbFormAssociatedMixin",
|
|
107926
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107929
107927
|
}
|
|
107930
107928
|
},
|
|
107931
107929
|
{
|
|
107932
|
-
"
|
|
107933
|
-
"
|
|
107934
|
-
|
|
107930
|
+
"kind": "method",
|
|
107931
|
+
"name": "validate",
|
|
107932
|
+
"privacy": "protected",
|
|
107933
|
+
"return": {
|
|
107934
|
+
"type": {
|
|
107935
|
+
"text": "void"
|
|
107936
|
+
}
|
|
107935
107937
|
},
|
|
107936
|
-
"
|
|
107937
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
107938
|
-
"fieldName": "rel",
|
|
107938
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
107939
107939
|
"inheritedFrom": {
|
|
107940
|
-
"name": "
|
|
107941
|
-
"module": "core/
|
|
107940
|
+
"name": "SbbFormAssociatedMixin",
|
|
107941
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107942
107942
|
}
|
|
107943
107943
|
},
|
|
107944
107944
|
{
|
|
107945
|
-
"
|
|
107946
|
-
"
|
|
107947
|
-
|
|
107945
|
+
"kind": "method",
|
|
107946
|
+
"name": "shouldValidate",
|
|
107947
|
+
"privacy": "protected",
|
|
107948
|
+
"return": {
|
|
107949
|
+
"type": {
|
|
107950
|
+
"text": "boolean"
|
|
107951
|
+
}
|
|
107948
107952
|
},
|
|
107949
|
-
"
|
|
107950
|
-
|
|
107951
|
-
|
|
107953
|
+
"parameters": [
|
|
107954
|
+
{
|
|
107955
|
+
"name": "name",
|
|
107956
|
+
"type": {
|
|
107957
|
+
"text": "PropertyKey | undefined"
|
|
107958
|
+
}
|
|
107959
|
+
}
|
|
107960
|
+
],
|
|
107961
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
107952
107962
|
"inheritedFrom": {
|
|
107953
|
-
"name": "
|
|
107954
|
-
"module": "core/
|
|
107963
|
+
"name": "SbbFormAssociatedMixin",
|
|
107964
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107955
107965
|
}
|
|
107956
107966
|
},
|
|
107957
107967
|
{
|
|
107958
|
-
"
|
|
107959
|
-
"
|
|
107960
|
-
|
|
107968
|
+
"kind": "method",
|
|
107969
|
+
"name": "_setInternalValidity",
|
|
107970
|
+
"privacy": "private",
|
|
107971
|
+
"return": {
|
|
107972
|
+
"type": {
|
|
107973
|
+
"text": "void"
|
|
107974
|
+
}
|
|
107961
107975
|
},
|
|
107962
|
-
"default": "''",
|
|
107963
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107964
|
-
"fieldName": "accessibilityLabel",
|
|
107965
107976
|
"inheritedFrom": {
|
|
107966
|
-
"name": "
|
|
107967
|
-
"module": "core/
|
|
107977
|
+
"name": "SbbFormAssociatedMixin",
|
|
107978
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107968
107979
|
}
|
|
107969
107980
|
},
|
|
107970
107981
|
{
|
|
107971
|
-
"
|
|
107972
|
-
"
|
|
107973
|
-
|
|
107974
|
-
|
|
107975
|
-
"
|
|
107976
|
-
|
|
107977
|
-
|
|
107982
|
+
"kind": "field",
|
|
107983
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
107984
|
+
"privacy": "private",
|
|
107985
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107986
|
+
"parameters": [
|
|
107987
|
+
{
|
|
107988
|
+
"description": "The origin event.",
|
|
107989
|
+
"name": "event"
|
|
107990
|
+
}
|
|
107991
|
+
],
|
|
107978
107992
|
"inheritedFrom": {
|
|
107979
|
-
"name": "
|
|
107980
|
-
"module": "core/base-elements/
|
|
107993
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107994
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107981
107995
|
}
|
|
107982
|
-
}
|
|
107983
|
-
]
|
|
107984
|
-
}
|
|
107985
|
-
],
|
|
107986
|
-
"exports": [
|
|
107987
|
-
{
|
|
107988
|
-
"kind": "js",
|
|
107989
|
-
"name": "SbbMenuLinkElement",
|
|
107990
|
-
"declaration": {
|
|
107991
|
-
"name": "SbbMenuLinkElement",
|
|
107992
|
-
"module": "menu/menu-link/menu-link.component.js"
|
|
107993
|
-
}
|
|
107994
|
-
}
|
|
107995
|
-
]
|
|
107996
|
-
},
|
|
107997
|
-
{
|
|
107998
|
-
"kind": "javascript-module",
|
|
107999
|
-
"path": "menu/menu-button/menu-button.component.js",
|
|
108000
|
-
"declarations": [
|
|
108001
|
-
{
|
|
108002
|
-
"kind": "class",
|
|
108003
|
-
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
108004
|
-
"name": "SbbMenuButtonElement",
|
|
108005
|
-
"cssProperties": [
|
|
108006
|
-
{
|
|
108007
|
-
"description": "Can be used to modify horizontal padding.",
|
|
108008
|
-
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
108009
|
-
"default": "var(--sbb-spacing-fixed-3x)"
|
|
108010
|
-
}
|
|
108011
|
-
],
|
|
108012
|
-
"slots": [
|
|
108013
|
-
{
|
|
108014
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
108015
|
-
"name": ""
|
|
108016
107996
|
},
|
|
108017
|
-
{
|
|
108018
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
108019
|
-
"name": "icon"
|
|
108020
|
-
}
|
|
108021
|
-
],
|
|
108022
|
-
"members": [
|
|
108023
107997
|
{
|
|
108024
107998
|
"kind": "field",
|
|
108025
|
-
"name": "
|
|
108026
|
-
"
|
|
108027
|
-
"text": "string"
|
|
108028
|
-
},
|
|
108029
|
-
"privacy": "public",
|
|
108030
|
-
"static": true,
|
|
108031
|
-
"readonly": true,
|
|
107999
|
+
"name": "_removeActiveMarker",
|
|
108000
|
+
"privacy": "private",
|
|
108032
108001
|
"inheritedFrom": {
|
|
108033
|
-
"name": "
|
|
108034
|
-
"module": "core/base-elements/element.js"
|
|
108035
|
-
}
|
|
108036
|
-
"default": "'sbb-menu-button'"
|
|
108002
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108003
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108004
|
+
}
|
|
108037
108005
|
},
|
|
108038
108006
|
{
|
|
108039
108007
|
"kind": "field",
|
|
108040
|
-
"name": "
|
|
108041
|
-
"
|
|
108042
|
-
|
|
108043
|
-
|
|
108044
|
-
|
|
108045
|
-
|
|
108046
|
-
|
|
108047
|
-
|
|
108008
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
108009
|
+
"privacy": "private",
|
|
108010
|
+
"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.",
|
|
108011
|
+
"parameters": [
|
|
108012
|
+
{
|
|
108013
|
+
"description": "The origin event.",
|
|
108014
|
+
"name": "event"
|
|
108015
|
+
}
|
|
108016
|
+
],
|
|
108048
108017
|
"inheritedFrom": {
|
|
108049
108018
|
"name": "SbbButtonLikeBaseElement",
|
|
108050
108019
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -108052,619 +108021,622 @@
|
|
|
108052
108021
|
},
|
|
108053
108022
|
{
|
|
108054
108023
|
"kind": "field",
|
|
108055
|
-
"name": "
|
|
108056
|
-
"
|
|
108057
|
-
"text": "boolean"
|
|
108058
|
-
},
|
|
108059
|
-
"privacy": "public",
|
|
108060
|
-
"default": "false",
|
|
108061
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108062
|
-
"attribute": "disabled-interactive",
|
|
108063
|
-
"reflects": true,
|
|
108024
|
+
"name": "_dispatchClickEvent",
|
|
108025
|
+
"privacy": "private",
|
|
108064
108026
|
"inheritedFrom": {
|
|
108065
|
-
"name": "
|
|
108066
|
-
"module": "core/
|
|
108027
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108028
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108067
108029
|
}
|
|
108068
108030
|
},
|
|
108069
108031
|
{
|
|
108070
108032
|
"kind": "field",
|
|
108071
|
-
"name": "
|
|
108072
|
-
"privacy": "public",
|
|
108073
|
-
"description": "Whether the component is disabled.",
|
|
108074
|
-
"default": "false",
|
|
108033
|
+
"name": "maybeDisabled",
|
|
108075
108034
|
"type": {
|
|
108076
|
-
"text": "boolean"
|
|
108035
|
+
"text": "boolean | undefined"
|
|
108077
108036
|
},
|
|
108078
|
-
"
|
|
108079
|
-
"
|
|
108037
|
+
"privacy": "protected",
|
|
108038
|
+
"readonly": true,
|
|
108080
108039
|
"inheritedFrom": {
|
|
108081
|
-
"name": "
|
|
108082
|
-
"module": "core/
|
|
108040
|
+
"name": "SbbActionBaseElement",
|
|
108041
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108083
108042
|
}
|
|
108084
108043
|
},
|
|
108085
108044
|
{
|
|
108086
108045
|
"kind": "field",
|
|
108087
|
-
"name": "
|
|
108088
|
-
"privacy": "private",
|
|
108046
|
+
"name": "maybeDisabledInteractive",
|
|
108089
108047
|
"type": {
|
|
108090
|
-
"text": "boolean"
|
|
108048
|
+
"text": "boolean | undefined"
|
|
108091
108049
|
},
|
|
108092
|
-
"
|
|
108093
|
-
"
|
|
108094
|
-
|
|
108095
|
-
"
|
|
108050
|
+
"privacy": "protected",
|
|
108051
|
+
"readonly": true,
|
|
108052
|
+
"inheritedFrom": {
|
|
108053
|
+
"name": "SbbActionBaseElement",
|
|
108054
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108096
108055
|
}
|
|
108097
108056
|
},
|
|
108098
108057
|
{
|
|
108099
108058
|
"kind": "method",
|
|
108100
|
-
"name": "
|
|
108059
|
+
"name": "setupBaseEventHandlers",
|
|
108101
108060
|
"privacy": "protected",
|
|
108102
108061
|
"return": {
|
|
108103
108062
|
"type": {
|
|
108104
|
-
"text": "
|
|
108063
|
+
"text": "void"
|
|
108105
108064
|
}
|
|
108106
108065
|
},
|
|
108107
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
108108
108066
|
"inheritedFrom": {
|
|
108109
|
-
"name": "
|
|
108110
|
-
"module": "core/
|
|
108067
|
+
"name": "SbbActionBaseElement",
|
|
108068
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108111
108069
|
}
|
|
108112
108070
|
},
|
|
108113
108071
|
{
|
|
108114
108072
|
"kind": "field",
|
|
108115
|
-
"name": "
|
|
108073
|
+
"name": "_hydrationRequired",
|
|
108116
108074
|
"type": {
|
|
108117
|
-
"text": "
|
|
108075
|
+
"text": "boolean"
|
|
108118
108076
|
},
|
|
108119
|
-
"privacy": "
|
|
108120
|
-
"
|
|
108121
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
108077
|
+
"privacy": "private",
|
|
108078
|
+
"default": "!!this.shadowRoot",
|
|
108122
108079
|
"inheritedFrom": {
|
|
108123
|
-
"name": "
|
|
108124
|
-
"module": "
|
|
108080
|
+
"name": "SbbElement",
|
|
108081
|
+
"module": "core/base-elements/element.js"
|
|
108125
108082
|
}
|
|
108126
108083
|
},
|
|
108127
108084
|
{
|
|
108128
|
-
"kind": "
|
|
108129
|
-
"name": "
|
|
108130
|
-
"privacy": "
|
|
108131
|
-
"
|
|
108132
|
-
"type": {
|
|
108133
|
-
"text": "TemplateResult"
|
|
108134
|
-
}
|
|
108135
|
-
},
|
|
108136
|
-
"description": "Override this method to render the component template.",
|
|
108085
|
+
"kind": "field",
|
|
108086
|
+
"name": "_hydrationComplete",
|
|
108087
|
+
"privacy": "private",
|
|
108088
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
108137
108089
|
"inheritedFrom": {
|
|
108138
|
-
"name": "
|
|
108139
|
-
"module": "core/base-elements/
|
|
108090
|
+
"name": "SbbElement",
|
|
108091
|
+
"module": "core/base-elements/element.js"
|
|
108140
108092
|
}
|
|
108141
108093
|
},
|
|
108142
108094
|
{
|
|
108143
108095
|
"kind": "field",
|
|
108144
|
-
"name": "
|
|
108096
|
+
"name": "_resolveHydration",
|
|
108145
108097
|
"type": {
|
|
108146
|
-
"text": "
|
|
108098
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
108147
108099
|
},
|
|
108148
|
-
"privacy": "
|
|
108149
|
-
"default": "''",
|
|
108150
|
-
"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.",
|
|
108151
|
-
"attribute": "icon-name",
|
|
108100
|
+
"privacy": "private",
|
|
108152
108101
|
"inheritedFrom": {
|
|
108153
|
-
"name": "
|
|
108154
|
-
"module": "
|
|
108102
|
+
"name": "SbbElement",
|
|
108103
|
+
"module": "core/base-elements/element.js"
|
|
108155
108104
|
}
|
|
108156
108105
|
},
|
|
108106
|
+
{
|
|
108107
|
+
"kind": "field",
|
|
108108
|
+
"name": "hydrationRequired",
|
|
108109
|
+
"type": {
|
|
108110
|
+
"text": "boolean"
|
|
108111
|
+
},
|
|
108112
|
+
"privacy": "protected",
|
|
108113
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
108114
|
+
"readonly": true,
|
|
108115
|
+
"inheritedFrom": {
|
|
108116
|
+
"name": "SbbElement",
|
|
108117
|
+
"module": "core/base-elements/element.js"
|
|
108118
|
+
},
|
|
108119
|
+
"default": "!!this.shadowRoot"
|
|
108120
|
+
},
|
|
108157
108121
|
{
|
|
108158
108122
|
"kind": "method",
|
|
108159
|
-
"name": "
|
|
108123
|
+
"name": "toggleState",
|
|
108160
108124
|
"privacy": "protected",
|
|
108161
108125
|
"return": {
|
|
108162
108126
|
"type": {
|
|
108163
|
-
"text": "
|
|
108127
|
+
"text": "void"
|
|
108164
108128
|
}
|
|
108165
108129
|
},
|
|
108166
108130
|
"parameters": [
|
|
108167
108131
|
{
|
|
108168
|
-
"name": "
|
|
108169
|
-
"optional": true,
|
|
108132
|
+
"name": "value",
|
|
108170
108133
|
"type": {
|
|
108171
108134
|
"text": "string"
|
|
108172
108135
|
}
|
|
108136
|
+
},
|
|
108137
|
+
{
|
|
108138
|
+
"name": "force",
|
|
108139
|
+
"optional": true,
|
|
108140
|
+
"type": {
|
|
108141
|
+
"text": "boolean"
|
|
108142
|
+
}
|
|
108173
108143
|
}
|
|
108174
108144
|
],
|
|
108175
108145
|
"inheritedFrom": {
|
|
108176
|
-
"name": "
|
|
108177
|
-
"module": "
|
|
108178
|
-
}
|
|
108179
|
-
},
|
|
108180
|
-
{
|
|
108181
|
-
"kind": "method",
|
|
108182
|
-
"name": "renderIconName",
|
|
108183
|
-
"privacy": "protected",
|
|
108184
|
-
"return": {
|
|
108185
|
-
"type": {
|
|
108186
|
-
"text": "string"
|
|
108187
|
-
}
|
|
108188
|
-
},
|
|
108189
|
-
"inheritedFrom": {
|
|
108190
|
-
"name": "SbbIconNameMixin",
|
|
108191
|
-
"module": "icon/icon-name-mixin.js"
|
|
108146
|
+
"name": "SbbElement",
|
|
108147
|
+
"module": "core/base-elements/element.js"
|
|
108192
108148
|
}
|
|
108193
108149
|
},
|
|
108194
108150
|
{
|
|
108195
|
-
"kind": "
|
|
108196
|
-
"name": "
|
|
108197
|
-
"
|
|
108198
|
-
|
|
108199
|
-
"type": {
|
|
108200
|
-
"text": "string"
|
|
108201
|
-
}
|
|
108151
|
+
"kind": "field",
|
|
108152
|
+
"name": "['_$sbbElement$']",
|
|
108153
|
+
"type": {
|
|
108154
|
+
"text": "boolean"
|
|
108202
108155
|
},
|
|
108156
|
+
"privacy": "public",
|
|
108157
|
+
"static": true,
|
|
108158
|
+
"default": "true",
|
|
108203
108159
|
"inheritedFrom": {
|
|
108204
|
-
"name": "
|
|
108205
|
-
"module": "
|
|
108160
|
+
"name": "SbbElement",
|
|
108161
|
+
"module": "core/base-elements/element.js"
|
|
108206
108162
|
}
|
|
108207
108163
|
},
|
|
108208
108164
|
{
|
|
108209
108165
|
"kind": "field",
|
|
108210
|
-
"name": "
|
|
108166
|
+
"name": "_controllers",
|
|
108211
108167
|
"type": {
|
|
108212
|
-
"text": "
|
|
108168
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
108213
108169
|
},
|
|
108214
108170
|
"privacy": "private",
|
|
108215
|
-
"readonly": true,
|
|
108216
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
108217
108171
|
"inheritedFrom": {
|
|
108218
|
-
"name": "
|
|
108219
|
-
"module": "core/base-elements/
|
|
108172
|
+
"name": "SbbElement",
|
|
108173
|
+
"module": "core/base-elements/element.js"
|
|
108220
108174
|
}
|
|
108221
|
-
}
|
|
108175
|
+
}
|
|
108176
|
+
],
|
|
108177
|
+
"mixins": [
|
|
108222
108178
|
{
|
|
108223
|
-
"
|
|
108224
|
-
"
|
|
108225
|
-
"type": {
|
|
108226
|
-
"text": "string"
|
|
108227
|
-
},
|
|
108228
|
-
"privacy": "public",
|
|
108229
|
-
"inheritedFrom": {
|
|
108230
|
-
"name": "SbbButtonBaseElement",
|
|
108231
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108232
|
-
},
|
|
108233
|
-
"default": "''",
|
|
108234
|
-
"description": "Value of the form element.",
|
|
108235
|
-
"attribute": "value"
|
|
108179
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
108180
|
+
"module": "core/mixins.js"
|
|
108236
108181
|
},
|
|
108237
108182
|
{
|
|
108238
|
-
"
|
|
108239
|
-
"
|
|
108240
|
-
|
|
108241
|
-
|
|
108242
|
-
|
|
108183
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108184
|
+
"module": "menu/common/menu-action-common.js"
|
|
108185
|
+
}
|
|
108186
|
+
],
|
|
108187
|
+
"superclass": {
|
|
108188
|
+
"name": "SbbButtonBaseElement",
|
|
108189
|
+
"module": "core/base-elements.js"
|
|
108190
|
+
},
|
|
108191
|
+
"tagName": "sbb-menu-button",
|
|
108192
|
+
"customElement": true,
|
|
108193
|
+
"attributes": [
|
|
108194
|
+
{
|
|
108195
|
+
"name": "disabled-interactive",
|
|
108243
108196
|
"type": {
|
|
108244
|
-
"text": "
|
|
108197
|
+
"text": "boolean"
|
|
108245
108198
|
},
|
|
108246
|
-
"
|
|
108199
|
+
"default": "false",
|
|
108200
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108201
|
+
"fieldName": "disabledInteractive",
|
|
108247
108202
|
"inheritedFrom": {
|
|
108248
|
-
"name": "
|
|
108249
|
-
"module": "core/
|
|
108203
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108204
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108250
108205
|
}
|
|
108251
108206
|
},
|
|
108252
108207
|
{
|
|
108253
|
-
"
|
|
108254
|
-
"
|
|
108208
|
+
"name": "disabled",
|
|
108209
|
+
"description": "Whether the component is disabled.",
|
|
108210
|
+
"default": "false",
|
|
108255
108211
|
"type": {
|
|
108256
|
-
"text": "
|
|
108212
|
+
"text": "boolean"
|
|
108257
108213
|
},
|
|
108258
|
-
"
|
|
108259
|
-
"description": "The `<form>` element to associate the button with.",
|
|
108214
|
+
"fieldName": "disabled",
|
|
108260
108215
|
"inheritedFrom": {
|
|
108261
|
-
"name": "
|
|
108262
|
-
"module": "core/
|
|
108263
|
-
}
|
|
108264
|
-
"attribute": "form"
|
|
108216
|
+
"name": "SbbDisabledMixin",
|
|
108217
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108218
|
+
}
|
|
108265
108219
|
},
|
|
108266
108220
|
{
|
|
108267
|
-
"
|
|
108268
|
-
"name": "_formId",
|
|
108221
|
+
"name": "icon-name",
|
|
108269
108222
|
"type": {
|
|
108270
108223
|
"text": "string"
|
|
108271
108224
|
},
|
|
108272
|
-
"privacy": "private",
|
|
108273
108225
|
"default": "''",
|
|
108226
|
+
"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.",
|
|
108227
|
+
"fieldName": "iconName",
|
|
108274
108228
|
"inheritedFrom": {
|
|
108275
|
-
"name": "
|
|
108276
|
-
"module": "
|
|
108277
|
-
}
|
|
108278
|
-
},
|
|
108279
|
-
{
|
|
108280
|
-
"kind": "field",
|
|
108281
|
-
"name": "_handleButtonClick",
|
|
108282
|
-
"privacy": "private",
|
|
108283
|
-
"inheritedFrom": {
|
|
108284
|
-
"name": "SbbButtonBaseElement",
|
|
108285
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108229
|
+
"name": "SbbIconNameMixin",
|
|
108230
|
+
"module": "icon/icon-name-mixin.js"
|
|
108286
108231
|
}
|
|
108287
108232
|
},
|
|
108288
108233
|
{
|
|
108289
|
-
"
|
|
108290
|
-
"
|
|
108291
|
-
|
|
108292
|
-
"return": {
|
|
108293
|
-
"type": {
|
|
108294
|
-
"text": "void"
|
|
108295
|
-
}
|
|
108234
|
+
"name": "value",
|
|
108235
|
+
"type": {
|
|
108236
|
+
"text": "string"
|
|
108296
108237
|
},
|
|
108297
|
-
"
|
|
108298
|
-
|
|
108299
|
-
|
|
108300
|
-
"type": {
|
|
108301
|
-
"text": "HTMLFormElement"
|
|
108302
|
-
}
|
|
108303
|
-
}
|
|
108304
|
-
],
|
|
108238
|
+
"default": "''",
|
|
108239
|
+
"description": "Value of the form element.",
|
|
108240
|
+
"fieldName": "value",
|
|
108305
108241
|
"inheritedFrom": {
|
|
108306
108242
|
"name": "SbbButtonBaseElement",
|
|
108307
108243
|
"module": "core/base-elements/button-base-element.js"
|
|
108308
108244
|
}
|
|
108309
108245
|
},
|
|
108310
108246
|
{
|
|
108311
|
-
"
|
|
108312
|
-
"
|
|
108313
|
-
"
|
|
108247
|
+
"name": "type",
|
|
108248
|
+
"description": "The type attribute to use for the button.",
|
|
108249
|
+
"default": "'button'",
|
|
108250
|
+
"type": {
|
|
108251
|
+
"text": "SbbButtonType"
|
|
108252
|
+
},
|
|
108253
|
+
"fieldName": "type",
|
|
108314
108254
|
"inheritedFrom": {
|
|
108315
108255
|
"name": "SbbButtonBaseElement",
|
|
108316
108256
|
"module": "core/base-elements/button-base-element.js"
|
|
108317
108257
|
}
|
|
108318
108258
|
},
|
|
108319
108259
|
{
|
|
108320
|
-
"
|
|
108321
|
-
"
|
|
108260
|
+
"name": "form",
|
|
108261
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108322
108262
|
"type": {
|
|
108323
|
-
"text": "
|
|
108263
|
+
"text": "HTMLFormElement | null"
|
|
108324
108264
|
},
|
|
108325
|
-
"
|
|
108326
|
-
"static": true,
|
|
108327
|
-
"default": "true",
|
|
108265
|
+
"fieldName": "form",
|
|
108328
108266
|
"inheritedFrom": {
|
|
108329
|
-
"name": "
|
|
108330
|
-
"module": "core/
|
|
108267
|
+
"name": "SbbButtonBaseElement",
|
|
108268
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108331
108269
|
}
|
|
108332
108270
|
},
|
|
108333
108271
|
{
|
|
108334
|
-
"kind": "field",
|
|
108335
108272
|
"name": "name",
|
|
108336
|
-
"privacy": "public",
|
|
108337
108273
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
108338
108274
|
"type": {
|
|
108339
108275
|
"text": "string"
|
|
108340
108276
|
},
|
|
108341
|
-
"
|
|
108277
|
+
"fieldName": "name",
|
|
108342
108278
|
"inheritedFrom": {
|
|
108343
108279
|
"name": "SbbFormAssociatedMixin",
|
|
108344
108280
|
"module": "core/mixins/form-associated-mixin.js"
|
|
108345
108281
|
}
|
|
108282
|
+
}
|
|
108283
|
+
]
|
|
108284
|
+
}
|
|
108285
|
+
],
|
|
108286
|
+
"exports": [
|
|
108287
|
+
{
|
|
108288
|
+
"kind": "js",
|
|
108289
|
+
"name": "SbbMenuButtonElement",
|
|
108290
|
+
"declaration": {
|
|
108291
|
+
"name": "SbbMenuButtonElement",
|
|
108292
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
108293
|
+
}
|
|
108294
|
+
}
|
|
108295
|
+
]
|
|
108296
|
+
},
|
|
108297
|
+
{
|
|
108298
|
+
"kind": "javascript-module",
|
|
108299
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
108300
|
+
"declarations": [
|
|
108301
|
+
{
|
|
108302
|
+
"kind": "class",
|
|
108303
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
108304
|
+
"name": "SbbMenuLinkElement",
|
|
108305
|
+
"cssProperties": [
|
|
108306
|
+
{
|
|
108307
|
+
"description": "Can be used to modify horizontal padding.",
|
|
108308
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
108309
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
108310
|
+
}
|
|
108311
|
+
],
|
|
108312
|
+
"slots": [
|
|
108313
|
+
{
|
|
108314
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
108315
|
+
"name": ""
|
|
108346
108316
|
},
|
|
108317
|
+
{
|
|
108318
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
108319
|
+
"name": "icon"
|
|
108320
|
+
}
|
|
108321
|
+
],
|
|
108322
|
+
"members": [
|
|
108347
108323
|
{
|
|
108348
108324
|
"kind": "field",
|
|
108349
|
-
"name": "
|
|
108325
|
+
"name": "elementName",
|
|
108350
108326
|
"type": {
|
|
108351
|
-
"text": "
|
|
108327
|
+
"text": "string"
|
|
108352
108328
|
},
|
|
108353
108329
|
"privacy": "public",
|
|
108354
|
-
"
|
|
108330
|
+
"static": true,
|
|
108355
108331
|
"readonly": true,
|
|
108356
108332
|
"inheritedFrom": {
|
|
108357
|
-
"name": "
|
|
108358
|
-
"module": "core/
|
|
108359
|
-
}
|
|
108333
|
+
"name": "SbbElement",
|
|
108334
|
+
"module": "core/base-elements/element.js"
|
|
108335
|
+
},
|
|
108336
|
+
"default": "'sbb-menu-link'"
|
|
108360
108337
|
},
|
|
108361
108338
|
{
|
|
108362
108339
|
"kind": "field",
|
|
108363
|
-
"name": "
|
|
108340
|
+
"name": "anchorRole",
|
|
108364
108341
|
"type": {
|
|
108365
108342
|
"text": "string"
|
|
108366
108343
|
},
|
|
108367
|
-
"privacy": "
|
|
108368
|
-
"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.",
|
|
108344
|
+
"privacy": "protected",
|
|
108369
108345
|
"readonly": true,
|
|
108346
|
+
"default": "'menuitem'",
|
|
108370
108347
|
"inheritedFrom": {
|
|
108371
|
-
"name": "
|
|
108372
|
-
"module": "core/
|
|
108348
|
+
"name": "SbbLinkBaseElement",
|
|
108349
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108373
108350
|
}
|
|
108374
108351
|
},
|
|
108375
108352
|
{
|
|
108376
108353
|
"kind": "field",
|
|
108377
|
-
"name": "
|
|
108354
|
+
"name": "disabledInteractive",
|
|
108378
108355
|
"type": {
|
|
108379
108356
|
"text": "boolean"
|
|
108380
108357
|
},
|
|
108381
108358
|
"privacy": "public",
|
|
108382
|
-
"
|
|
108383
|
-
"
|
|
108384
|
-
"
|
|
108385
|
-
|
|
108386
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
108387
|
-
}
|
|
108388
|
-
},
|
|
108389
|
-
{
|
|
108390
|
-
"kind": "field",
|
|
108391
|
-
"name": "_validityStates",
|
|
108392
|
-
"privacy": "private",
|
|
108393
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
108359
|
+
"default": "false",
|
|
108360
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108361
|
+
"attribute": "disabled-interactive",
|
|
108362
|
+
"reflects": true,
|
|
108394
108363
|
"inheritedFrom": {
|
|
108395
|
-
"name": "
|
|
108396
|
-
"module": "core/mixins/
|
|
108364
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108365
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108397
108366
|
}
|
|
108398
108367
|
},
|
|
108399
108368
|
{
|
|
108400
108369
|
"kind": "field",
|
|
108401
|
-
"name": "
|
|
108370
|
+
"name": "styles",
|
|
108402
108371
|
"type": {
|
|
108403
|
-
"text": "
|
|
108372
|
+
"text": "CSSResultGroup"
|
|
108404
108373
|
},
|
|
108405
|
-
"privacy": "
|
|
108406
|
-
"
|
|
108407
|
-
"
|
|
108374
|
+
"privacy": "public",
|
|
108375
|
+
"static": true,
|
|
108376
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
108408
108377
|
"inheritedFrom": {
|
|
108409
|
-
"name": "
|
|
108410
|
-
"module": "
|
|
108378
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108379
|
+
"module": "menu/common/menu-action-common.js"
|
|
108411
108380
|
}
|
|
108412
108381
|
},
|
|
108413
108382
|
{
|
|
108414
108383
|
"kind": "method",
|
|
108415
|
-
"name": "
|
|
108416
|
-
"privacy": "
|
|
108384
|
+
"name": "renderTemplate",
|
|
108385
|
+
"privacy": "protected",
|
|
108417
108386
|
"return": {
|
|
108418
108387
|
"type": {
|
|
108419
|
-
"text": "
|
|
108388
|
+
"text": "TemplateResult"
|
|
108420
108389
|
}
|
|
108421
108390
|
},
|
|
108422
|
-
"description": "
|
|
108391
|
+
"description": "Override this method to render the component template.",
|
|
108423
108392
|
"inheritedFrom": {
|
|
108424
|
-
"name": "
|
|
108425
|
-
"module": "core/
|
|
108393
|
+
"name": "SbbActionBaseElement",
|
|
108394
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108426
108395
|
}
|
|
108427
108396
|
},
|
|
108428
108397
|
{
|
|
108429
|
-
"kind": "
|
|
108430
|
-
"name": "
|
|
108431
|
-
"
|
|
108432
|
-
|
|
108433
|
-
"type": {
|
|
108434
|
-
"text": "boolean"
|
|
108435
|
-
}
|
|
108398
|
+
"kind": "field",
|
|
108399
|
+
"name": "iconName",
|
|
108400
|
+
"type": {
|
|
108401
|
+
"text": "string"
|
|
108436
108402
|
},
|
|
108437
|
-
"
|
|
108403
|
+
"privacy": "public",
|
|
108404
|
+
"default": "''",
|
|
108405
|
+
"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.",
|
|
108406
|
+
"attribute": "icon-name",
|
|
108438
108407
|
"inheritedFrom": {
|
|
108439
|
-
"name": "
|
|
108440
|
-
"module": "
|
|
108408
|
+
"name": "SbbIconNameMixin",
|
|
108409
|
+
"module": "icon/icon-name-mixin.js"
|
|
108441
108410
|
}
|
|
108442
108411
|
},
|
|
108443
108412
|
{
|
|
108444
108413
|
"kind": "method",
|
|
108445
|
-
"name": "
|
|
108446
|
-
"privacy": "
|
|
108414
|
+
"name": "renderIconSlot",
|
|
108415
|
+
"privacy": "protected",
|
|
108447
108416
|
"return": {
|
|
108448
108417
|
"type": {
|
|
108449
|
-
"text": "
|
|
108418
|
+
"text": "TemplateResult"
|
|
108450
108419
|
}
|
|
108451
108420
|
},
|
|
108452
108421
|
"parameters": [
|
|
108453
108422
|
{
|
|
108454
|
-
"name": "
|
|
108423
|
+
"name": "classname",
|
|
108424
|
+
"optional": true,
|
|
108455
108425
|
"type": {
|
|
108456
108426
|
"text": "string"
|
|
108457
108427
|
}
|
|
108458
108428
|
}
|
|
108459
108429
|
],
|
|
108460
|
-
"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.",
|
|
108461
108430
|
"inheritedFrom": {
|
|
108462
|
-
"name": "
|
|
108463
|
-
"module": "
|
|
108431
|
+
"name": "SbbIconNameMixin",
|
|
108432
|
+
"module": "icon/icon-name-mixin.js"
|
|
108464
108433
|
}
|
|
108465
108434
|
},
|
|
108466
108435
|
{
|
|
108467
108436
|
"kind": "method",
|
|
108468
|
-
"name": "
|
|
108469
|
-
"privacy": "
|
|
108437
|
+
"name": "renderIconName",
|
|
108438
|
+
"privacy": "protected",
|
|
108470
108439
|
"return": {
|
|
108471
108440
|
"type": {
|
|
108472
|
-
"text": "
|
|
108441
|
+
"text": "string"
|
|
108473
108442
|
}
|
|
108474
108443
|
},
|
|
108475
108444
|
"inheritedFrom": {
|
|
108476
|
-
"name": "
|
|
108477
|
-
"module": "
|
|
108445
|
+
"name": "SbbIconNameMixin",
|
|
108446
|
+
"module": "icon/icon-name-mixin.js"
|
|
108478
108447
|
}
|
|
108479
108448
|
},
|
|
108480
108449
|
{
|
|
108481
108450
|
"kind": "method",
|
|
108482
|
-
"name": "
|
|
108483
|
-
"privacy": "
|
|
108451
|
+
"name": "_renderIconName",
|
|
108452
|
+
"privacy": "private",
|
|
108484
108453
|
"return": {
|
|
108485
108454
|
"type": {
|
|
108486
|
-
"text": "
|
|
108455
|
+
"text": "string"
|
|
108487
108456
|
}
|
|
108488
108457
|
},
|
|
108489
|
-
"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",
|
|
108490
108458
|
"inheritedFrom": {
|
|
108491
|
-
"name": "
|
|
108492
|
-
"module": "
|
|
108459
|
+
"name": "SbbIconNameMixin",
|
|
108460
|
+
"module": "icon/icon-name-mixin.js"
|
|
108493
108461
|
}
|
|
108494
108462
|
},
|
|
108495
108463
|
{
|
|
108496
|
-
"kind": "
|
|
108497
|
-
"name": "
|
|
108498
|
-
"privacy": "
|
|
108499
|
-
"
|
|
108500
|
-
|
|
108501
|
-
|
|
108502
|
-
|
|
108464
|
+
"kind": "field",
|
|
108465
|
+
"name": "disabled",
|
|
108466
|
+
"privacy": "public",
|
|
108467
|
+
"description": "Whether the component is disabled.",
|
|
108468
|
+
"default": "false",
|
|
108469
|
+
"type": {
|
|
108470
|
+
"text": "boolean"
|
|
108503
108471
|
},
|
|
108472
|
+
"attribute": "disabled",
|
|
108473
|
+
"reflects": true,
|
|
108504
108474
|
"inheritedFrom": {
|
|
108505
|
-
"name": "
|
|
108506
|
-
"module": "core/mixins/
|
|
108475
|
+
"name": "SbbDisabledMixin",
|
|
108476
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108477
|
+
}
|
|
108478
|
+
},
|
|
108479
|
+
{
|
|
108480
|
+
"kind": "field",
|
|
108481
|
+
"name": "#disabled",
|
|
108482
|
+
"privacy": "private",
|
|
108483
|
+
"type": {
|
|
108484
|
+
"text": "boolean"
|
|
108485
|
+
},
|
|
108486
|
+
"default": "false",
|
|
108487
|
+
"inheritedFrom": {
|
|
108488
|
+
"name": "SbbDisabledMixin",
|
|
108489
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108507
108490
|
}
|
|
108508
108491
|
},
|
|
108509
108492
|
{
|
|
108510
108493
|
"kind": "method",
|
|
108511
|
-
"name": "
|
|
108494
|
+
"name": "isDisabledExternally",
|
|
108512
108495
|
"privacy": "protected",
|
|
108513
108496
|
"return": {
|
|
108514
108497
|
"type": {
|
|
108515
|
-
"text": "
|
|
108498
|
+
"text": "boolean"
|
|
108516
108499
|
}
|
|
108517
108500
|
},
|
|
108518
|
-
"
|
|
108519
|
-
|
|
108520
|
-
|
|
108521
|
-
|
|
108522
|
-
|
|
108523
|
-
|
|
108524
|
-
|
|
108525
|
-
|
|
108526
|
-
|
|
108527
|
-
|
|
108528
|
-
|
|
108529
|
-
|
|
108530
|
-
|
|
108531
|
-
|
|
108532
|
-
|
|
108533
|
-
|
|
108534
|
-
|
|
108535
|
-
|
|
108536
|
-
|
|
108537
|
-
|
|
108538
|
-
|
|
108539
|
-
|
|
108501
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
108502
|
+
"inheritedFrom": {
|
|
108503
|
+
"name": "SbbDisabledMixin",
|
|
108504
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108505
|
+
}
|
|
108506
|
+
},
|
|
108507
|
+
{
|
|
108508
|
+
"kind": "field",
|
|
108509
|
+
"name": "href",
|
|
108510
|
+
"type": {
|
|
108511
|
+
"text": "string"
|
|
108512
|
+
},
|
|
108513
|
+
"privacy": "public",
|
|
108514
|
+
"default": "''",
|
|
108515
|
+
"description": "The href value you want to link to.",
|
|
108516
|
+
"attribute": "href",
|
|
108517
|
+
"reflects": true,
|
|
108518
|
+
"inheritedFrom": {
|
|
108519
|
+
"name": "SbbLinkBaseElement",
|
|
108520
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108521
|
+
}
|
|
108522
|
+
},
|
|
108523
|
+
{
|
|
108524
|
+
"kind": "field",
|
|
108525
|
+
"name": "target",
|
|
108526
|
+
"type": {
|
|
108527
|
+
"text": "LinkTargetType | string"
|
|
108528
|
+
},
|
|
108529
|
+
"privacy": "public",
|
|
108530
|
+
"default": "''",
|
|
108531
|
+
"description": "Where to display the linked URL.",
|
|
108532
|
+
"attribute": "target",
|
|
108533
|
+
"reflects": true,
|
|
108540
108534
|
"inheritedFrom": {
|
|
108541
|
-
"name": "
|
|
108542
|
-
"module": "core/
|
|
108535
|
+
"name": "SbbLinkBaseElement",
|
|
108536
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108543
108537
|
}
|
|
108544
108538
|
},
|
|
108545
108539
|
{
|
|
108546
|
-
"kind": "
|
|
108547
|
-
"name": "
|
|
108548
|
-
"
|
|
108549
|
-
|
|
108550
|
-
"type": {
|
|
108551
|
-
"text": "void"
|
|
108552
|
-
}
|
|
108540
|
+
"kind": "field",
|
|
108541
|
+
"name": "rel",
|
|
108542
|
+
"type": {
|
|
108543
|
+
"text": "string"
|
|
108553
108544
|
},
|
|
108554
|
-
"
|
|
108555
|
-
|
|
108556
|
-
|
|
108557
|
-
|
|
108558
|
-
|
|
108559
|
-
}
|
|
108560
|
-
}
|
|
108561
|
-
],
|
|
108562
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
108545
|
+
"privacy": "public",
|
|
108546
|
+
"default": "''",
|
|
108547
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
108548
|
+
"attribute": "rel",
|
|
108549
|
+
"reflects": true,
|
|
108563
108550
|
"inheritedFrom": {
|
|
108564
|
-
"name": "
|
|
108565
|
-
"module": "core/
|
|
108551
|
+
"name": "SbbLinkBaseElement",
|
|
108552
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108566
108553
|
}
|
|
108567
108554
|
},
|
|
108568
108555
|
{
|
|
108569
|
-
"kind": "
|
|
108570
|
-
"name": "
|
|
108571
|
-
"
|
|
108572
|
-
|
|
108573
|
-
"type": {
|
|
108574
|
-
"text": "void"
|
|
108575
|
-
}
|
|
108556
|
+
"kind": "field",
|
|
108557
|
+
"name": "download",
|
|
108558
|
+
"type": {
|
|
108559
|
+
"text": "boolean"
|
|
108576
108560
|
},
|
|
108577
|
-
"
|
|
108561
|
+
"privacy": "public",
|
|
108562
|
+
"default": "false",
|
|
108563
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
108564
|
+
"attribute": "download",
|
|
108565
|
+
"reflects": true,
|
|
108578
108566
|
"inheritedFrom": {
|
|
108579
|
-
"name": "
|
|
108580
|
-
"module": "core/
|
|
108567
|
+
"name": "SbbLinkBaseElement",
|
|
108568
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108581
108569
|
}
|
|
108582
108570
|
},
|
|
108583
108571
|
{
|
|
108584
|
-
"kind": "
|
|
108585
|
-
"name": "
|
|
108586
|
-
"
|
|
108587
|
-
|
|
108588
|
-
"type": {
|
|
108589
|
-
"text": "boolean"
|
|
108590
|
-
}
|
|
108572
|
+
"kind": "field",
|
|
108573
|
+
"name": "accessibilityLabel",
|
|
108574
|
+
"type": {
|
|
108575
|
+
"text": "string"
|
|
108591
108576
|
},
|
|
108592
|
-
"
|
|
108593
|
-
|
|
108594
|
-
|
|
108595
|
-
|
|
108596
|
-
"text": "PropertyKey | undefined"
|
|
108597
|
-
}
|
|
108598
|
-
}
|
|
108599
|
-
],
|
|
108600
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
108577
|
+
"privacy": "public",
|
|
108578
|
+
"default": "''",
|
|
108579
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
108580
|
+
"attribute": "accessibility-label",
|
|
108601
108581
|
"inheritedFrom": {
|
|
108602
|
-
"name": "
|
|
108603
|
-
"module": "core/
|
|
108582
|
+
"name": "SbbLinkBaseElement",
|
|
108583
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108604
108584
|
}
|
|
108605
108585
|
},
|
|
108606
108586
|
{
|
|
108607
|
-
"kind": "
|
|
108608
|
-
"name": "
|
|
108609
|
-
"
|
|
108610
|
-
|
|
108611
|
-
"type": {
|
|
108612
|
-
"text": "void"
|
|
108613
|
-
}
|
|
108587
|
+
"kind": "field",
|
|
108588
|
+
"name": "accessibilityCurrent",
|
|
108589
|
+
"type": {
|
|
108590
|
+
"text": "string"
|
|
108614
108591
|
},
|
|
108592
|
+
"privacy": "public",
|
|
108593
|
+
"default": "''",
|
|
108594
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
108595
|
+
"attribute": "accessibility-current",
|
|
108615
108596
|
"inheritedFrom": {
|
|
108616
|
-
"name": "
|
|
108617
|
-
"module": "core/
|
|
108597
|
+
"name": "SbbLinkBaseElement",
|
|
108598
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108618
108599
|
}
|
|
108619
108600
|
},
|
|
108620
108601
|
{
|
|
108621
108602
|
"kind": "field",
|
|
108622
|
-
"name": "
|
|
108623
|
-
"privacy": "
|
|
108624
|
-
"
|
|
108625
|
-
"parameters": [
|
|
108626
|
-
{
|
|
108627
|
-
"description": "The origin event.",
|
|
108628
|
-
"name": "event"
|
|
108629
|
-
}
|
|
108630
|
-
],
|
|
108603
|
+
"name": "language",
|
|
108604
|
+
"privacy": "protected",
|
|
108605
|
+
"default": "new SbbLanguageController(this)",
|
|
108631
108606
|
"inheritedFrom": {
|
|
108632
|
-
"name": "
|
|
108633
|
-
"module": "core/base-elements/
|
|
108607
|
+
"name": "SbbLinkBaseElement",
|
|
108608
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108634
108609
|
}
|
|
108635
108610
|
},
|
|
108636
108611
|
{
|
|
108637
108612
|
"kind": "field",
|
|
108638
|
-
"name": "
|
|
108613
|
+
"name": "_evaluateRelAttribute",
|
|
108639
108614
|
"privacy": "private",
|
|
108640
108615
|
"inheritedFrom": {
|
|
108641
|
-
"name": "
|
|
108642
|
-
"module": "core/base-elements/
|
|
108616
|
+
"name": "SbbLinkBaseElement",
|
|
108617
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108643
108618
|
}
|
|
108644
108619
|
},
|
|
108645
108620
|
{
|
|
108646
|
-
"kind": "
|
|
108647
|
-
"name": "
|
|
108648
|
-
"privacy": "
|
|
108649
|
-
"
|
|
108621
|
+
"kind": "method",
|
|
108622
|
+
"name": "renderLink",
|
|
108623
|
+
"privacy": "protected",
|
|
108624
|
+
"return": {
|
|
108625
|
+
"type": {
|
|
108626
|
+
"text": "TemplateResult"
|
|
108627
|
+
}
|
|
108628
|
+
},
|
|
108650
108629
|
"parameters": [
|
|
108651
108630
|
{
|
|
108652
|
-
"
|
|
108653
|
-
"
|
|
108631
|
+
"name": "renderContent",
|
|
108632
|
+
"type": {
|
|
108633
|
+
"text": "TemplateResult"
|
|
108634
|
+
}
|
|
108654
108635
|
}
|
|
108655
108636
|
],
|
|
108656
108637
|
"inheritedFrom": {
|
|
108657
|
-
"name": "
|
|
108658
|
-
"module": "core/base-elements/
|
|
108659
|
-
}
|
|
108660
|
-
},
|
|
108661
|
-
{
|
|
108662
|
-
"kind": "field",
|
|
108663
|
-
"name": "_dispatchClickEvent",
|
|
108664
|
-
"privacy": "private",
|
|
108665
|
-
"inheritedFrom": {
|
|
108666
|
-
"name": "SbbButtonLikeBaseElement",
|
|
108667
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108638
|
+
"name": "SbbLinkBaseElement",
|
|
108639
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108668
108640
|
}
|
|
108669
108641
|
},
|
|
108670
108642
|
{
|
|
@@ -108815,7 +108787,7 @@
|
|
|
108815
108787
|
],
|
|
108816
108788
|
"mixins": [
|
|
108817
108789
|
{
|
|
108818
|
-
"name": "
|
|
108790
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108819
108791
|
"module": "core/mixins.js"
|
|
108820
108792
|
},
|
|
108821
108793
|
{
|
|
@@ -108824,10 +108796,10 @@
|
|
|
108824
108796
|
}
|
|
108825
108797
|
],
|
|
108826
108798
|
"superclass": {
|
|
108827
|
-
"name": "
|
|
108799
|
+
"name": "SbbLinkBaseElement",
|
|
108828
108800
|
"module": "core/base-elements.js"
|
|
108829
108801
|
},
|
|
108830
|
-
"tagName": "sbb-menu-
|
|
108802
|
+
"tagName": "sbb-menu-link",
|
|
108831
108803
|
"customElement": true,
|
|
108832
108804
|
"attributes": [
|
|
108833
108805
|
{
|
|
@@ -108843,6 +108815,19 @@
|
|
|
108843
108815
|
"module": "core/mixins/disabled-mixin.js"
|
|
108844
108816
|
}
|
|
108845
108817
|
},
|
|
108818
|
+
{
|
|
108819
|
+
"name": "icon-name",
|
|
108820
|
+
"type": {
|
|
108821
|
+
"text": "string"
|
|
108822
|
+
},
|
|
108823
|
+
"default": "''",
|
|
108824
|
+
"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.",
|
|
108825
|
+
"fieldName": "iconName",
|
|
108826
|
+
"inheritedFrom": {
|
|
108827
|
+
"name": "SbbIconNameMixin",
|
|
108828
|
+
"module": "icon/icon-name-mixin.js"
|
|
108829
|
+
}
|
|
108830
|
+
},
|
|
108846
108831
|
{
|
|
108847
108832
|
"name": "disabled",
|
|
108848
108833
|
"description": "Whether the component is disabled.",
|
|
@@ -108857,66 +108842,81 @@
|
|
|
108857
108842
|
}
|
|
108858
108843
|
},
|
|
108859
108844
|
{
|
|
108860
|
-
"name": "
|
|
108845
|
+
"name": "href",
|
|
108861
108846
|
"type": {
|
|
108862
108847
|
"text": "string"
|
|
108863
108848
|
},
|
|
108864
108849
|
"default": "''",
|
|
108865
|
-
"description": "The
|
|
108866
|
-
"fieldName": "
|
|
108850
|
+
"description": "The href value you want to link to.",
|
|
108851
|
+
"fieldName": "href",
|
|
108867
108852
|
"inheritedFrom": {
|
|
108868
|
-
"name": "
|
|
108869
|
-
"module": "
|
|
108853
|
+
"name": "SbbLinkBaseElement",
|
|
108854
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108870
108855
|
}
|
|
108871
108856
|
},
|
|
108872
108857
|
{
|
|
108873
|
-
"name": "
|
|
108858
|
+
"name": "target",
|
|
108859
|
+
"type": {
|
|
108860
|
+
"text": "LinkTargetType | string"
|
|
108861
|
+
},
|
|
108862
|
+
"default": "''",
|
|
108863
|
+
"description": "Where to display the linked URL.",
|
|
108864
|
+
"fieldName": "target",
|
|
108865
|
+
"inheritedFrom": {
|
|
108866
|
+
"name": "SbbLinkBaseElement",
|
|
108867
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108868
|
+
}
|
|
108869
|
+
},
|
|
108870
|
+
{
|
|
108871
|
+
"name": "rel",
|
|
108874
108872
|
"type": {
|
|
108875
108873
|
"text": "string"
|
|
108876
108874
|
},
|
|
108877
108875
|
"default": "''",
|
|
108878
|
-
"description": "
|
|
108879
|
-
"fieldName": "
|
|
108876
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
108877
|
+
"fieldName": "rel",
|
|
108880
108878
|
"inheritedFrom": {
|
|
108881
|
-
"name": "
|
|
108882
|
-
"module": "core/base-elements/
|
|
108879
|
+
"name": "SbbLinkBaseElement",
|
|
108880
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108883
108881
|
}
|
|
108884
108882
|
},
|
|
108885
108883
|
{
|
|
108886
|
-
"name": "
|
|
108887
|
-
"description": "The type attribute to use for the button.",
|
|
108888
|
-
"default": "'button'",
|
|
108884
|
+
"name": "download",
|
|
108889
108885
|
"type": {
|
|
108890
|
-
"text": "
|
|
108886
|
+
"text": "boolean"
|
|
108891
108887
|
},
|
|
108892
|
-
"
|
|
108888
|
+
"default": "false",
|
|
108889
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
108890
|
+
"fieldName": "download",
|
|
108893
108891
|
"inheritedFrom": {
|
|
108894
|
-
"name": "
|
|
108895
|
-
"module": "core/base-elements/
|
|
108892
|
+
"name": "SbbLinkBaseElement",
|
|
108893
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108896
108894
|
}
|
|
108897
108895
|
},
|
|
108898
108896
|
{
|
|
108899
|
-
"name": "
|
|
108900
|
-
"description": "The `<form>` element to associate the button with.",
|
|
108897
|
+
"name": "accessibility-label",
|
|
108901
108898
|
"type": {
|
|
108902
|
-
"text": "
|
|
108899
|
+
"text": "string"
|
|
108903
108900
|
},
|
|
108904
|
-
"
|
|
108901
|
+
"default": "''",
|
|
108902
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
108903
|
+
"fieldName": "accessibilityLabel",
|
|
108905
108904
|
"inheritedFrom": {
|
|
108906
|
-
"name": "
|
|
108907
|
-
"module": "core/base-elements/
|
|
108905
|
+
"name": "SbbLinkBaseElement",
|
|
108906
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108908
108907
|
}
|
|
108909
108908
|
},
|
|
108910
108909
|
{
|
|
108911
|
-
"name": "
|
|
108912
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
108910
|
+
"name": "accessibility-current",
|
|
108913
108911
|
"type": {
|
|
108914
108912
|
"text": "string"
|
|
108915
108913
|
},
|
|
108916
|
-
"
|
|
108914
|
+
"default": "''",
|
|
108915
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
108916
|
+
"fieldName": "accessibilityCurrent",
|
|
108917
108917
|
"inheritedFrom": {
|
|
108918
|
-
"name": "
|
|
108919
|
-
"module": "core/
|
|
108918
|
+
"name": "SbbLinkBaseElement",
|
|
108919
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108920
108920
|
}
|
|
108921
108921
|
}
|
|
108922
108922
|
]
|
|
@@ -108925,10 +108925,10 @@
|
|
|
108925
108925
|
"exports": [
|
|
108926
108926
|
{
|
|
108927
108927
|
"kind": "js",
|
|
108928
|
-
"name": "
|
|
108928
|
+
"name": "SbbMenuLinkElement",
|
|
108929
108929
|
"declaration": {
|
|
108930
|
-
"name": "
|
|
108931
|
-
"module": "menu/menu-
|
|
108930
|
+
"name": "SbbMenuLinkElement",
|
|
108931
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
108932
108932
|
}
|
|
108933
108933
|
}
|
|
108934
108934
|
]
|
|
@@ -128279,12 +128279,12 @@
|
|
|
128279
128279
|
},
|
|
128280
128280
|
{
|
|
128281
128281
|
"kind": "javascript-module",
|
|
128282
|
-
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
128282
|
+
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
128283
128283
|
"declarations": [
|
|
128284
128284
|
{
|
|
128285
128285
|
"kind": "class",
|
|
128286
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
128287
|
-
"name": "
|
|
128286
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
128287
|
+
"name": "SbbTeaserProductStaticElement",
|
|
128288
128288
|
"cssProperties": [
|
|
128289
128289
|
{
|
|
128290
128290
|
"description": "At which percentage the background should start getting transparent.",
|
|
@@ -128325,7 +128325,7 @@
|
|
|
128325
128325
|
"name": "SbbElement",
|
|
128326
128326
|
"module": "core/base-elements/element.js"
|
|
128327
128327
|
},
|
|
128328
|
-
"default": "'sbb-teaser-product'"
|
|
128328
|
+
"default": "'sbb-teaser-product-static'"
|
|
128329
128329
|
},
|
|
128330
128330
|
{
|
|
128331
128331
|
"kind": "field",
|
|
@@ -128374,155 +128374,6 @@
|
|
|
128374
128374
|
"module": "core/mixins/negative-mixin.js"
|
|
128375
128375
|
}
|
|
128376
128376
|
},
|
|
128377
|
-
{
|
|
128378
|
-
"kind": "field",
|
|
128379
|
-
"name": "href",
|
|
128380
|
-
"type": {
|
|
128381
|
-
"text": "string"
|
|
128382
|
-
},
|
|
128383
|
-
"privacy": "public",
|
|
128384
|
-
"default": "''",
|
|
128385
|
-
"description": "The href value you want to link to.",
|
|
128386
|
-
"attribute": "href",
|
|
128387
|
-
"reflects": true,
|
|
128388
|
-
"inheritedFrom": {
|
|
128389
|
-
"name": "SbbLinkBaseElement",
|
|
128390
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128391
|
-
}
|
|
128392
|
-
},
|
|
128393
|
-
{
|
|
128394
|
-
"kind": "field",
|
|
128395
|
-
"name": "target",
|
|
128396
|
-
"type": {
|
|
128397
|
-
"text": "LinkTargetType | string"
|
|
128398
|
-
},
|
|
128399
|
-
"privacy": "public",
|
|
128400
|
-
"default": "''",
|
|
128401
|
-
"description": "Where to display the linked URL.",
|
|
128402
|
-
"attribute": "target",
|
|
128403
|
-
"reflects": true,
|
|
128404
|
-
"inheritedFrom": {
|
|
128405
|
-
"name": "SbbLinkBaseElement",
|
|
128406
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128407
|
-
}
|
|
128408
|
-
},
|
|
128409
|
-
{
|
|
128410
|
-
"kind": "field",
|
|
128411
|
-
"name": "rel",
|
|
128412
|
-
"type": {
|
|
128413
|
-
"text": "string"
|
|
128414
|
-
},
|
|
128415
|
-
"privacy": "public",
|
|
128416
|
-
"default": "''",
|
|
128417
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
128418
|
-
"attribute": "rel",
|
|
128419
|
-
"reflects": true,
|
|
128420
|
-
"inheritedFrom": {
|
|
128421
|
-
"name": "SbbLinkBaseElement",
|
|
128422
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128423
|
-
}
|
|
128424
|
-
},
|
|
128425
|
-
{
|
|
128426
|
-
"kind": "field",
|
|
128427
|
-
"name": "download",
|
|
128428
|
-
"type": {
|
|
128429
|
-
"text": "boolean"
|
|
128430
|
-
},
|
|
128431
|
-
"privacy": "public",
|
|
128432
|
-
"default": "false",
|
|
128433
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
128434
|
-
"attribute": "download",
|
|
128435
|
-
"reflects": true,
|
|
128436
|
-
"inheritedFrom": {
|
|
128437
|
-
"name": "SbbLinkBaseElement",
|
|
128438
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128439
|
-
}
|
|
128440
|
-
},
|
|
128441
|
-
{
|
|
128442
|
-
"kind": "field",
|
|
128443
|
-
"name": "accessibilityLabel",
|
|
128444
|
-
"type": {
|
|
128445
|
-
"text": "string"
|
|
128446
|
-
},
|
|
128447
|
-
"privacy": "public",
|
|
128448
|
-
"default": "''",
|
|
128449
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
128450
|
-
"attribute": "accessibility-label",
|
|
128451
|
-
"inheritedFrom": {
|
|
128452
|
-
"name": "SbbLinkBaseElement",
|
|
128453
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128454
|
-
}
|
|
128455
|
-
},
|
|
128456
|
-
{
|
|
128457
|
-
"kind": "field",
|
|
128458
|
-
"name": "accessibilityCurrent",
|
|
128459
|
-
"type": {
|
|
128460
|
-
"text": "string"
|
|
128461
|
-
},
|
|
128462
|
-
"privacy": "public",
|
|
128463
|
-
"default": "''",
|
|
128464
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
128465
|
-
"attribute": "accessibility-current",
|
|
128466
|
-
"inheritedFrom": {
|
|
128467
|
-
"name": "SbbLinkBaseElement",
|
|
128468
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128469
|
-
}
|
|
128470
|
-
},
|
|
128471
|
-
{
|
|
128472
|
-
"kind": "field",
|
|
128473
|
-
"name": "language",
|
|
128474
|
-
"privacy": "protected",
|
|
128475
|
-
"default": "new SbbLanguageController(this)",
|
|
128476
|
-
"inheritedFrom": {
|
|
128477
|
-
"name": "SbbLinkBaseElement",
|
|
128478
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128479
|
-
}
|
|
128480
|
-
},
|
|
128481
|
-
{
|
|
128482
|
-
"kind": "field",
|
|
128483
|
-
"name": "anchorRole",
|
|
128484
|
-
"type": {
|
|
128485
|
-
"text": "string | null"
|
|
128486
|
-
},
|
|
128487
|
-
"privacy": "protected",
|
|
128488
|
-
"readonly": true,
|
|
128489
|
-
"default": "null",
|
|
128490
|
-
"inheritedFrom": {
|
|
128491
|
-
"name": "SbbLinkBaseElement",
|
|
128492
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128493
|
-
}
|
|
128494
|
-
},
|
|
128495
|
-
{
|
|
128496
|
-
"kind": "field",
|
|
128497
|
-
"name": "_evaluateRelAttribute",
|
|
128498
|
-
"privacy": "private",
|
|
128499
|
-
"inheritedFrom": {
|
|
128500
|
-
"name": "SbbLinkBaseElement",
|
|
128501
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128502
|
-
}
|
|
128503
|
-
},
|
|
128504
|
-
{
|
|
128505
|
-
"kind": "method",
|
|
128506
|
-
"name": "renderLink",
|
|
128507
|
-
"privacy": "protected",
|
|
128508
|
-
"return": {
|
|
128509
|
-
"type": {
|
|
128510
|
-
"text": "TemplateResult"
|
|
128511
|
-
}
|
|
128512
|
-
},
|
|
128513
|
-
"parameters": [
|
|
128514
|
-
{
|
|
128515
|
-
"name": "renderContent",
|
|
128516
|
-
"type": {
|
|
128517
|
-
"text": "TemplateResult"
|
|
128518
|
-
}
|
|
128519
|
-
}
|
|
128520
|
-
],
|
|
128521
|
-
"inheritedFrom": {
|
|
128522
|
-
"name": "SbbLinkBaseElement",
|
|
128523
|
-
"module": "core/base-elements/link-base-element.js"
|
|
128524
|
-
}
|
|
128525
|
-
},
|
|
128526
128377
|
{
|
|
128527
128378
|
"kind": "field",
|
|
128528
128379
|
"name": "maybeDisabled",
|
|
@@ -128676,10 +128527,10 @@
|
|
|
128676
128527
|
}
|
|
128677
128528
|
],
|
|
128678
128529
|
"superclass": {
|
|
128679
|
-
"name": "
|
|
128530
|
+
"name": "SbbActionBaseElement",
|
|
128680
128531
|
"module": "core/base-elements.js"
|
|
128681
128532
|
},
|
|
128682
|
-
"tagName": "sbb-teaser-product",
|
|
128533
|
+
"tagName": "sbb-teaser-product-static",
|
|
128683
128534
|
"customElement": true,
|
|
128684
128535
|
"attributes": [
|
|
128685
128536
|
{
|
|
@@ -128702,199 +128553,270 @@
|
|
|
128702
128553
|
},
|
|
128703
128554
|
"default": "false",
|
|
128704
128555
|
"description": "Negative coloring variant flag.",
|
|
128705
|
-
"fieldName": "negative",
|
|
128556
|
+
"fieldName": "negative",
|
|
128557
|
+
"inheritedFrom": {
|
|
128558
|
+
"name": "SbbNegativeMixin",
|
|
128559
|
+
"module": "core/mixins/negative-mixin.js"
|
|
128560
|
+
}
|
|
128561
|
+
}
|
|
128562
|
+
]
|
|
128563
|
+
}
|
|
128564
|
+
],
|
|
128565
|
+
"exports": [
|
|
128566
|
+
{
|
|
128567
|
+
"kind": "js",
|
|
128568
|
+
"name": "SbbTeaserProductStaticElement",
|
|
128569
|
+
"declaration": {
|
|
128570
|
+
"name": "SbbTeaserProductStaticElement",
|
|
128571
|
+
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
128572
|
+
}
|
|
128573
|
+
}
|
|
128574
|
+
]
|
|
128575
|
+
},
|
|
128576
|
+
{
|
|
128577
|
+
"kind": "javascript-module",
|
|
128578
|
+
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
128579
|
+
"declarations": [
|
|
128580
|
+
{
|
|
128581
|
+
"kind": "class",
|
|
128582
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
128583
|
+
"name": "SbbTeaserProductElement",
|
|
128584
|
+
"cssProperties": [
|
|
128585
|
+
{
|
|
128586
|
+
"description": "At which percentage the background should start getting transparent.",
|
|
128587
|
+
"name": "--sbb-teaser-product-background-gradient-start",
|
|
128588
|
+
"default": "25%"
|
|
128589
|
+
},
|
|
128590
|
+
{
|
|
128591
|
+
"description": "At which percentage the background should be fully transparent.",
|
|
128592
|
+
"name": "--sbb-teaser-product-background-gradient-end",
|
|
128593
|
+
"default": "75%"
|
|
128594
|
+
}
|
|
128595
|
+
],
|
|
128596
|
+
"slots": [
|
|
128597
|
+
{
|
|
128598
|
+
"description": "Use this slot to provide the main content.",
|
|
128599
|
+
"name": ""
|
|
128600
|
+
},
|
|
128601
|
+
{
|
|
128602
|
+
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
128603
|
+
"name": "image"
|
|
128604
|
+
},
|
|
128605
|
+
{
|
|
128606
|
+
"description": "Use this slot to provide a footnote.",
|
|
128607
|
+
"name": "footnote"
|
|
128608
|
+
}
|
|
128609
|
+
],
|
|
128610
|
+
"members": [
|
|
128611
|
+
{
|
|
128612
|
+
"kind": "field",
|
|
128613
|
+
"name": "elementName",
|
|
128614
|
+
"type": {
|
|
128615
|
+
"text": "string"
|
|
128616
|
+
},
|
|
128617
|
+
"privacy": "public",
|
|
128618
|
+
"static": true,
|
|
128619
|
+
"readonly": true,
|
|
128620
|
+
"inheritedFrom": {
|
|
128621
|
+
"name": "SbbElement",
|
|
128622
|
+
"module": "core/base-elements/element.js"
|
|
128623
|
+
},
|
|
128624
|
+
"default": "'sbb-teaser-product'"
|
|
128625
|
+
},
|
|
128626
|
+
{
|
|
128627
|
+
"kind": "field",
|
|
128628
|
+
"name": "imageAlignment",
|
|
128629
|
+
"type": {
|
|
128630
|
+
"text": "'after' | 'before'"
|
|
128631
|
+
},
|
|
128632
|
+
"privacy": "public",
|
|
128633
|
+
"default": "'after'",
|
|
128634
|
+
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
128635
|
+
"attribute": "image-alignment",
|
|
128636
|
+
"reflects": true,
|
|
128637
|
+
"inheritedFrom": {
|
|
128638
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
128639
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
128640
|
+
}
|
|
128641
|
+
},
|
|
128642
|
+
{
|
|
128643
|
+
"kind": "method",
|
|
128644
|
+
"name": "renderTemplate",
|
|
128645
|
+
"privacy": "protected",
|
|
128646
|
+
"return": {
|
|
128647
|
+
"type": {
|
|
128648
|
+
"text": "TemplateResult"
|
|
128649
|
+
}
|
|
128650
|
+
},
|
|
128651
|
+
"description": "Override this method to render the component template.",
|
|
128652
|
+
"inheritedFrom": {
|
|
128653
|
+
"name": "SbbActionBaseElement",
|
|
128654
|
+
"module": "core/base-elements/action-base-element.js"
|
|
128655
|
+
}
|
|
128656
|
+
},
|
|
128657
|
+
{
|
|
128658
|
+
"kind": "field",
|
|
128659
|
+
"name": "negative",
|
|
128660
|
+
"type": {
|
|
128661
|
+
"text": "boolean"
|
|
128662
|
+
},
|
|
128663
|
+
"privacy": "public",
|
|
128664
|
+
"default": "false",
|
|
128665
|
+
"description": "Negative coloring variant flag.",
|
|
128666
|
+
"attribute": "negative",
|
|
128667
|
+
"reflects": true,
|
|
128706
128668
|
"inheritedFrom": {
|
|
128707
128669
|
"name": "SbbNegativeMixin",
|
|
128708
128670
|
"module": "core/mixins/negative-mixin.js"
|
|
128709
128671
|
}
|
|
128710
128672
|
},
|
|
128711
128673
|
{
|
|
128674
|
+
"kind": "field",
|
|
128712
128675
|
"name": "href",
|
|
128713
128676
|
"type": {
|
|
128714
128677
|
"text": "string"
|
|
128715
128678
|
},
|
|
128679
|
+
"privacy": "public",
|
|
128716
128680
|
"default": "''",
|
|
128717
128681
|
"description": "The href value you want to link to.",
|
|
128718
|
-
"
|
|
128682
|
+
"attribute": "href",
|
|
128683
|
+
"reflects": true,
|
|
128719
128684
|
"inheritedFrom": {
|
|
128720
128685
|
"name": "SbbLinkBaseElement",
|
|
128721
128686
|
"module": "core/base-elements/link-base-element.js"
|
|
128722
128687
|
}
|
|
128723
128688
|
},
|
|
128724
128689
|
{
|
|
128690
|
+
"kind": "field",
|
|
128725
128691
|
"name": "target",
|
|
128726
128692
|
"type": {
|
|
128727
128693
|
"text": "LinkTargetType | string"
|
|
128728
128694
|
},
|
|
128695
|
+
"privacy": "public",
|
|
128729
128696
|
"default": "''",
|
|
128730
128697
|
"description": "Where to display the linked URL.",
|
|
128731
|
-
"
|
|
128698
|
+
"attribute": "target",
|
|
128699
|
+
"reflects": true,
|
|
128732
128700
|
"inheritedFrom": {
|
|
128733
128701
|
"name": "SbbLinkBaseElement",
|
|
128734
128702
|
"module": "core/base-elements/link-base-element.js"
|
|
128735
128703
|
}
|
|
128736
128704
|
},
|
|
128737
128705
|
{
|
|
128706
|
+
"kind": "field",
|
|
128738
128707
|
"name": "rel",
|
|
128739
128708
|
"type": {
|
|
128740
128709
|
"text": "string"
|
|
128741
128710
|
},
|
|
128711
|
+
"privacy": "public",
|
|
128742
128712
|
"default": "''",
|
|
128743
128713
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
128744
|
-
"
|
|
128714
|
+
"attribute": "rel",
|
|
128715
|
+
"reflects": true,
|
|
128745
128716
|
"inheritedFrom": {
|
|
128746
128717
|
"name": "SbbLinkBaseElement",
|
|
128747
128718
|
"module": "core/base-elements/link-base-element.js"
|
|
128748
128719
|
}
|
|
128749
128720
|
},
|
|
128750
128721
|
{
|
|
128722
|
+
"kind": "field",
|
|
128751
128723
|
"name": "download",
|
|
128752
128724
|
"type": {
|
|
128753
128725
|
"text": "boolean"
|
|
128754
128726
|
},
|
|
128727
|
+
"privacy": "public",
|
|
128755
128728
|
"default": "false",
|
|
128756
128729
|
"description": "Whether the browser will show the download dialog on click.",
|
|
128757
|
-
"
|
|
128730
|
+
"attribute": "download",
|
|
128731
|
+
"reflects": true,
|
|
128758
128732
|
"inheritedFrom": {
|
|
128759
128733
|
"name": "SbbLinkBaseElement",
|
|
128760
128734
|
"module": "core/base-elements/link-base-element.js"
|
|
128761
128735
|
}
|
|
128762
128736
|
},
|
|
128763
128737
|
{
|
|
128764
|
-
"
|
|
128738
|
+
"kind": "field",
|
|
128739
|
+
"name": "accessibilityLabel",
|
|
128765
128740
|
"type": {
|
|
128766
128741
|
"text": "string"
|
|
128767
128742
|
},
|
|
128743
|
+
"privacy": "public",
|
|
128768
128744
|
"default": "''",
|
|
128769
128745
|
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
128770
|
-
"
|
|
128746
|
+
"attribute": "accessibility-label",
|
|
128771
128747
|
"inheritedFrom": {
|
|
128772
128748
|
"name": "SbbLinkBaseElement",
|
|
128773
128749
|
"module": "core/base-elements/link-base-element.js"
|
|
128774
128750
|
}
|
|
128775
128751
|
},
|
|
128776
128752
|
{
|
|
128777
|
-
"
|
|
128753
|
+
"kind": "field",
|
|
128754
|
+
"name": "accessibilityCurrent",
|
|
128778
128755
|
"type": {
|
|
128779
128756
|
"text": "string"
|
|
128780
128757
|
},
|
|
128758
|
+
"privacy": "public",
|
|
128781
128759
|
"default": "''",
|
|
128782
128760
|
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
128783
|
-
"
|
|
128761
|
+
"attribute": "accessibility-current",
|
|
128784
128762
|
"inheritedFrom": {
|
|
128785
128763
|
"name": "SbbLinkBaseElement",
|
|
128786
128764
|
"module": "core/base-elements/link-base-element.js"
|
|
128787
128765
|
}
|
|
128788
|
-
}
|
|
128789
|
-
]
|
|
128790
|
-
}
|
|
128791
|
-
],
|
|
128792
|
-
"exports": [
|
|
128793
|
-
{
|
|
128794
|
-
"kind": "js",
|
|
128795
|
-
"name": "SbbTeaserProductElement",
|
|
128796
|
-
"declaration": {
|
|
128797
|
-
"name": "SbbTeaserProductElement",
|
|
128798
|
-
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
128799
|
-
}
|
|
128800
|
-
}
|
|
128801
|
-
]
|
|
128802
|
-
},
|
|
128803
|
-
{
|
|
128804
|
-
"kind": "javascript-module",
|
|
128805
|
-
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
128806
|
-
"declarations": [
|
|
128807
|
-
{
|
|
128808
|
-
"kind": "class",
|
|
128809
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
128810
|
-
"name": "SbbTeaserProductStaticElement",
|
|
128811
|
-
"cssProperties": [
|
|
128812
|
-
{
|
|
128813
|
-
"description": "At which percentage the background should start getting transparent.",
|
|
128814
|
-
"name": "--sbb-teaser-product-background-gradient-start",
|
|
128815
|
-
"default": "25%"
|
|
128816
128766
|
},
|
|
128817
128767
|
{
|
|
128818
|
-
"
|
|
128819
|
-
"name": "
|
|
128820
|
-
"
|
|
128821
|
-
|
|
128822
|
-
|
|
128823
|
-
|
|
128824
|
-
|
|
128825
|
-
|
|
128826
|
-
"name": ""
|
|
128827
|
-
},
|
|
128828
|
-
{
|
|
128829
|
-
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
128830
|
-
"name": "image"
|
|
128768
|
+
"kind": "field",
|
|
128769
|
+
"name": "language",
|
|
128770
|
+
"privacy": "protected",
|
|
128771
|
+
"default": "new SbbLanguageController(this)",
|
|
128772
|
+
"inheritedFrom": {
|
|
128773
|
+
"name": "SbbLinkBaseElement",
|
|
128774
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128775
|
+
}
|
|
128831
128776
|
},
|
|
128832
|
-
{
|
|
128833
|
-
"description": "Use this slot to provide a footnote.",
|
|
128834
|
-
"name": "footnote"
|
|
128835
|
-
}
|
|
128836
|
-
],
|
|
128837
|
-
"members": [
|
|
128838
128777
|
{
|
|
128839
128778
|
"kind": "field",
|
|
128840
|
-
"name": "
|
|
128779
|
+
"name": "anchorRole",
|
|
128841
128780
|
"type": {
|
|
128842
|
-
"text": "string"
|
|
128781
|
+
"text": "string | null"
|
|
128843
128782
|
},
|
|
128844
|
-
"privacy": "
|
|
128845
|
-
"static": true,
|
|
128783
|
+
"privacy": "protected",
|
|
128846
128784
|
"readonly": true,
|
|
128785
|
+
"default": "null",
|
|
128847
128786
|
"inheritedFrom": {
|
|
128848
|
-
"name": "
|
|
128849
|
-
"module": "core/base-elements/element.js"
|
|
128850
|
-
}
|
|
128851
|
-
"default": "'sbb-teaser-product-static'"
|
|
128787
|
+
"name": "SbbLinkBaseElement",
|
|
128788
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128789
|
+
}
|
|
128852
128790
|
},
|
|
128853
128791
|
{
|
|
128854
128792
|
"kind": "field",
|
|
128855
|
-
"name": "
|
|
128856
|
-
"
|
|
128857
|
-
"text": "'after' | 'before'"
|
|
128858
|
-
},
|
|
128859
|
-
"privacy": "public",
|
|
128860
|
-
"default": "'after'",
|
|
128861
|
-
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
128862
|
-
"attribute": "image-alignment",
|
|
128863
|
-
"reflects": true,
|
|
128793
|
+
"name": "_evaluateRelAttribute",
|
|
128794
|
+
"privacy": "private",
|
|
128864
128795
|
"inheritedFrom": {
|
|
128865
|
-
"name": "
|
|
128866
|
-
"module": "
|
|
128796
|
+
"name": "SbbLinkBaseElement",
|
|
128797
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128867
128798
|
}
|
|
128868
128799
|
},
|
|
128869
128800
|
{
|
|
128870
128801
|
"kind": "method",
|
|
128871
|
-
"name": "
|
|
128802
|
+
"name": "renderLink",
|
|
128872
128803
|
"privacy": "protected",
|
|
128873
128804
|
"return": {
|
|
128874
128805
|
"type": {
|
|
128875
128806
|
"text": "TemplateResult"
|
|
128876
128807
|
}
|
|
128877
128808
|
},
|
|
128878
|
-
"
|
|
128879
|
-
|
|
128880
|
-
|
|
128881
|
-
|
|
128882
|
-
|
|
128883
|
-
|
|
128884
|
-
|
|
128885
|
-
|
|
128886
|
-
"name": "negative",
|
|
128887
|
-
"type": {
|
|
128888
|
-
"text": "boolean"
|
|
128889
|
-
},
|
|
128890
|
-
"privacy": "public",
|
|
128891
|
-
"default": "false",
|
|
128892
|
-
"description": "Negative coloring variant flag.",
|
|
128893
|
-
"attribute": "negative",
|
|
128894
|
-
"reflects": true,
|
|
128809
|
+
"parameters": [
|
|
128810
|
+
{
|
|
128811
|
+
"name": "renderContent",
|
|
128812
|
+
"type": {
|
|
128813
|
+
"text": "TemplateResult"
|
|
128814
|
+
}
|
|
128815
|
+
}
|
|
128816
|
+
],
|
|
128895
128817
|
"inheritedFrom": {
|
|
128896
|
-
"name": "
|
|
128897
|
-
"module": "core/
|
|
128818
|
+
"name": "SbbLinkBaseElement",
|
|
128819
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128898
128820
|
}
|
|
128899
128821
|
},
|
|
128900
128822
|
{
|
|
@@ -129026,60 +128948,138 @@
|
|
|
129026
128948
|
"static": true,
|
|
129027
128949
|
"default": "true",
|
|
129028
128950
|
"inheritedFrom": {
|
|
129029
|
-
"name": "SbbElement",
|
|
129030
|
-
"module": "core/base-elements/element.js"
|
|
128951
|
+
"name": "SbbElement",
|
|
128952
|
+
"module": "core/base-elements/element.js"
|
|
128953
|
+
}
|
|
128954
|
+
},
|
|
128955
|
+
{
|
|
128956
|
+
"kind": "field",
|
|
128957
|
+
"name": "_controllers",
|
|
128958
|
+
"type": {
|
|
128959
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
128960
|
+
},
|
|
128961
|
+
"privacy": "private",
|
|
128962
|
+
"inheritedFrom": {
|
|
128963
|
+
"name": "SbbElement",
|
|
128964
|
+
"module": "core/base-elements/element.js"
|
|
128965
|
+
}
|
|
128966
|
+
}
|
|
128967
|
+
],
|
|
128968
|
+
"mixins": [
|
|
128969
|
+
{
|
|
128970
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
128971
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
128972
|
+
}
|
|
128973
|
+
],
|
|
128974
|
+
"superclass": {
|
|
128975
|
+
"name": "SbbLinkBaseElement",
|
|
128976
|
+
"module": "core/base-elements.js"
|
|
128977
|
+
},
|
|
128978
|
+
"tagName": "sbb-teaser-product",
|
|
128979
|
+
"customElement": true,
|
|
128980
|
+
"attributes": [
|
|
128981
|
+
{
|
|
128982
|
+
"name": "image-alignment",
|
|
128983
|
+
"type": {
|
|
128984
|
+
"text": "'after' | 'before'"
|
|
128985
|
+
},
|
|
128986
|
+
"default": "'after'",
|
|
128987
|
+
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
128988
|
+
"fieldName": "imageAlignment",
|
|
128989
|
+
"inheritedFrom": {
|
|
128990
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
128991
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
128992
|
+
}
|
|
128993
|
+
},
|
|
128994
|
+
{
|
|
128995
|
+
"name": "negative",
|
|
128996
|
+
"type": {
|
|
128997
|
+
"text": "boolean"
|
|
128998
|
+
},
|
|
128999
|
+
"default": "false",
|
|
129000
|
+
"description": "Negative coloring variant flag.",
|
|
129001
|
+
"fieldName": "negative",
|
|
129002
|
+
"inheritedFrom": {
|
|
129003
|
+
"name": "SbbNegativeMixin",
|
|
129004
|
+
"module": "core/mixins/negative-mixin.js"
|
|
129005
|
+
}
|
|
129006
|
+
},
|
|
129007
|
+
{
|
|
129008
|
+
"name": "href",
|
|
129009
|
+
"type": {
|
|
129010
|
+
"text": "string"
|
|
129011
|
+
},
|
|
129012
|
+
"default": "''",
|
|
129013
|
+
"description": "The href value you want to link to.",
|
|
129014
|
+
"fieldName": "href",
|
|
129015
|
+
"inheritedFrom": {
|
|
129016
|
+
"name": "SbbLinkBaseElement",
|
|
129017
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129018
|
+
}
|
|
129019
|
+
},
|
|
129020
|
+
{
|
|
129021
|
+
"name": "target",
|
|
129022
|
+
"type": {
|
|
129023
|
+
"text": "LinkTargetType | string"
|
|
129024
|
+
},
|
|
129025
|
+
"default": "''",
|
|
129026
|
+
"description": "Where to display the linked URL.",
|
|
129027
|
+
"fieldName": "target",
|
|
129028
|
+
"inheritedFrom": {
|
|
129029
|
+
"name": "SbbLinkBaseElement",
|
|
129030
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129031
|
+
}
|
|
129032
|
+
},
|
|
129033
|
+
{
|
|
129034
|
+
"name": "rel",
|
|
129035
|
+
"type": {
|
|
129036
|
+
"text": "string"
|
|
129037
|
+
},
|
|
129038
|
+
"default": "''",
|
|
129039
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
129040
|
+
"fieldName": "rel",
|
|
129041
|
+
"inheritedFrom": {
|
|
129042
|
+
"name": "SbbLinkBaseElement",
|
|
129043
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129031
129044
|
}
|
|
129032
129045
|
},
|
|
129033
129046
|
{
|
|
129034
|
-
"
|
|
129035
|
-
"name": "_controllers",
|
|
129047
|
+
"name": "download",
|
|
129036
129048
|
"type": {
|
|
129037
|
-
"text": "
|
|
129049
|
+
"text": "boolean"
|
|
129038
129050
|
},
|
|
129039
|
-
"
|
|
129051
|
+
"default": "false",
|
|
129052
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
129053
|
+
"fieldName": "download",
|
|
129040
129054
|
"inheritedFrom": {
|
|
129041
|
-
"name": "
|
|
129042
|
-
"module": "core/base-elements/element.js"
|
|
129055
|
+
"name": "SbbLinkBaseElement",
|
|
129056
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129043
129057
|
}
|
|
129044
|
-
}
|
|
129045
|
-
],
|
|
129046
|
-
"mixins": [
|
|
129047
|
-
{
|
|
129048
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
129049
|
-
"module": "teaser-product/common/teaser-product-common.js"
|
|
129050
|
-
}
|
|
129051
|
-
],
|
|
129052
|
-
"superclass": {
|
|
129053
|
-
"name": "SbbActionBaseElement",
|
|
129054
|
-
"module": "core/base-elements.js"
|
|
129055
|
-
},
|
|
129056
|
-
"tagName": "sbb-teaser-product-static",
|
|
129057
|
-
"customElement": true,
|
|
129058
|
-
"attributes": [
|
|
129058
|
+
},
|
|
129059
129059
|
{
|
|
129060
|
-
"name": "
|
|
129060
|
+
"name": "accessibility-label",
|
|
129061
129061
|
"type": {
|
|
129062
|
-
"text": "
|
|
129062
|
+
"text": "string"
|
|
129063
129063
|
},
|
|
129064
|
-
"default": "'
|
|
129065
|
-
"description": "
|
|
129066
|
-
"fieldName": "
|
|
129064
|
+
"default": "''",
|
|
129065
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
129066
|
+
"fieldName": "accessibilityLabel",
|
|
129067
129067
|
"inheritedFrom": {
|
|
129068
|
-
"name": "
|
|
129069
|
-
"module": "
|
|
129068
|
+
"name": "SbbLinkBaseElement",
|
|
129069
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129070
129070
|
}
|
|
129071
129071
|
},
|
|
129072
129072
|
{
|
|
129073
|
-
"name": "
|
|
129073
|
+
"name": "accessibility-current",
|
|
129074
129074
|
"type": {
|
|
129075
|
-
"text": "
|
|
129075
|
+
"text": "string"
|
|
129076
129076
|
},
|
|
129077
|
-
"default": "
|
|
129078
|
-
"description": "
|
|
129079
|
-
"fieldName": "
|
|
129077
|
+
"default": "''",
|
|
129078
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
129079
|
+
"fieldName": "accessibilityCurrent",
|
|
129080
129080
|
"inheritedFrom": {
|
|
129081
|
-
"name": "
|
|
129082
|
-
"module": "core/
|
|
129081
|
+
"name": "SbbLinkBaseElement",
|
|
129082
|
+
"module": "core/base-elements/link-base-element.js"
|
|
129083
129083
|
}
|
|
129084
129084
|
}
|
|
129085
129085
|
]
|
|
@@ -129088,10 +129088,10 @@
|
|
|
129088
129088
|
"exports": [
|
|
129089
129089
|
{
|
|
129090
129090
|
"kind": "js",
|
|
129091
|
-
"name": "
|
|
129091
|
+
"name": "SbbTeaserProductElement",
|
|
129092
129092
|
"declaration": {
|
|
129093
|
-
"name": "
|
|
129094
|
-
"module": "teaser-product/teaser-product
|
|
129093
|
+
"name": "SbbTeaserProductElement",
|
|
129094
|
+
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
129095
129095
|
}
|
|
129096
129096
|
}
|
|
129097
129097
|
]
|
|
@@ -133186,22 +133186,15 @@
|
|
|
133186
133186
|
},
|
|
133187
133187
|
{
|
|
133188
133188
|
"kind": "javascript-module",
|
|
133189
|
-
"path": "train/train-
|
|
133189
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
133190
133190
|
"declarations": [
|
|
133191
133191
|
{
|
|
133192
133192
|
"kind": "class",
|
|
133193
|
-
"description": "It displays a train
|
|
133194
|
-
"name": "
|
|
133195
|
-
"cssProperties": [
|
|
133196
|
-
{
|
|
133197
|
-
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
133198
|
-
"name": "--sbb-train-formation-padding-inline",
|
|
133199
|
-
"default": "0px"
|
|
133200
|
-
}
|
|
133201
|
-
],
|
|
133193
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
133194
|
+
"name": "SbbTrainWagonElement",
|
|
133202
133195
|
"slots": [
|
|
133203
133196
|
{
|
|
133204
|
-
"description": "Use the unnamed slot to add
|
|
133197
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
|
|
133205
133198
|
"name": ""
|
|
133206
133199
|
}
|
|
133207
133200
|
],
|
|
@@ -133215,12 +133208,35 @@
|
|
|
133215
133208
|
"privacy": "public",
|
|
133216
133209
|
"static": true,
|
|
133217
133210
|
"readonly": true,
|
|
133218
|
-
"default": "'sbb-train-
|
|
133211
|
+
"default": "'sbb-train-wagon'",
|
|
133219
133212
|
"inheritedFrom": {
|
|
133220
133213
|
"name": "SbbElement",
|
|
133221
133214
|
"module": "core/base-elements/element.js"
|
|
133222
133215
|
}
|
|
133223
133216
|
},
|
|
133217
|
+
{
|
|
133218
|
+
"kind": "field",
|
|
133219
|
+
"name": "events",
|
|
133220
|
+
"privacy": "public",
|
|
133221
|
+
"static": true,
|
|
133222
|
+
"readonly": true,
|
|
133223
|
+
"default": "{ sectorchange: 'sectorchange', }",
|
|
133224
|
+
"type": {
|
|
133225
|
+
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
133226
|
+
}
|
|
133227
|
+
},
|
|
133228
|
+
{
|
|
133229
|
+
"kind": "field",
|
|
133230
|
+
"name": "type",
|
|
133231
|
+
"type": {
|
|
133232
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133233
|
+
},
|
|
133234
|
+
"privacy": "public",
|
|
133235
|
+
"default": "'wagon'",
|
|
133236
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133237
|
+
"attribute": "type",
|
|
133238
|
+
"reflects": true
|
|
133239
|
+
},
|
|
133224
133240
|
{
|
|
133225
133241
|
"kind": "field",
|
|
133226
133242
|
"name": "listChildLocalNames",
|
|
@@ -133230,7 +133246,7 @@
|
|
|
133230
133246
|
"privacy": "protected",
|
|
133231
133247
|
"readonly": true,
|
|
133232
133248
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
133233
|
-
"default": "['sbb-
|
|
133249
|
+
"default": "['sbb-icon']",
|
|
133234
133250
|
"inheritedFrom": {
|
|
133235
133251
|
"name": "SbbNamedSlotListMixin",
|
|
133236
133252
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -133238,24 +133254,71 @@
|
|
|
133238
133254
|
},
|
|
133239
133255
|
{
|
|
133240
133256
|
"kind": "field",
|
|
133241
|
-
"name": "
|
|
133257
|
+
"name": "occupancy",
|
|
133242
133258
|
"type": {
|
|
133243
|
-
"text": "
|
|
133259
|
+
"text": "SbbOccupancy | null"
|
|
133244
133260
|
},
|
|
133245
133261
|
"privacy": "public",
|
|
133246
|
-
"default": "
|
|
133247
|
-
"description": "
|
|
133248
|
-
"attribute": "
|
|
133262
|
+
"default": "null",
|
|
133263
|
+
"description": "Occupancy of a wagon.",
|
|
133264
|
+
"attribute": "occupancy"
|
|
133265
|
+
},
|
|
133266
|
+
{
|
|
133267
|
+
"kind": "field",
|
|
133268
|
+
"name": "sector",
|
|
133269
|
+
"type": {
|
|
133270
|
+
"text": "string"
|
|
133271
|
+
},
|
|
133272
|
+
"privacy": "public",
|
|
133273
|
+
"default": "''",
|
|
133274
|
+
"description": "Sector in which the wagon stops.",
|
|
133275
|
+
"attribute": "sector",
|
|
133249
133276
|
"reflects": true
|
|
133250
133277
|
},
|
|
133251
133278
|
{
|
|
133252
133279
|
"kind": "field",
|
|
133253
|
-
"name": "
|
|
133280
|
+
"name": "blockedPassage",
|
|
133254
133281
|
"type": {
|
|
133255
|
-
"text": "
|
|
133282
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133256
133283
|
},
|
|
133257
|
-
"privacy": "
|
|
133258
|
-
"default": "
|
|
133284
|
+
"privacy": "public",
|
|
133285
|
+
"default": "'none'",
|
|
133286
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133287
|
+
"attribute": "blocked-passage"
|
|
133288
|
+
},
|
|
133289
|
+
{
|
|
133290
|
+
"kind": "field",
|
|
133291
|
+
"name": "wagonClass",
|
|
133292
|
+
"type": {
|
|
133293
|
+
"text": "'1' | '2' | null"
|
|
133294
|
+
},
|
|
133295
|
+
"privacy": "public",
|
|
133296
|
+
"default": "null",
|
|
133297
|
+
"description": "Class label",
|
|
133298
|
+
"attribute": "wagon-class"
|
|
133299
|
+
},
|
|
133300
|
+
{
|
|
133301
|
+
"kind": "field",
|
|
133302
|
+
"name": "label",
|
|
133303
|
+
"type": {
|
|
133304
|
+
"text": "string"
|
|
133305
|
+
},
|
|
133306
|
+
"privacy": "public",
|
|
133307
|
+
"default": "''",
|
|
133308
|
+
"description": "Wagon number",
|
|
133309
|
+
"attribute": "label",
|
|
133310
|
+
"reflects": true
|
|
133311
|
+
},
|
|
133312
|
+
{
|
|
133313
|
+
"kind": "field",
|
|
133314
|
+
"name": "additionalAccessibilityText",
|
|
133315
|
+
"type": {
|
|
133316
|
+
"text": "string"
|
|
133317
|
+
},
|
|
133318
|
+
"privacy": "public",
|
|
133319
|
+
"default": "''",
|
|
133320
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
133321
|
+
"attribute": "additional-accessibility-text"
|
|
133259
133322
|
},
|
|
133260
133323
|
{
|
|
133261
133324
|
"kind": "field",
|
|
@@ -133265,22 +133328,23 @@
|
|
|
133265
133328
|
},
|
|
133266
133329
|
{
|
|
133267
133330
|
"kind": "method",
|
|
133268
|
-
"name": "
|
|
133331
|
+
"name": "_sectorChanged",
|
|
133269
133332
|
"privacy": "private",
|
|
133270
133333
|
"return": {
|
|
133271
133334
|
"type": {
|
|
133272
133335
|
"text": "void"
|
|
133273
133336
|
}
|
|
133274
|
-
}
|
|
133275
|
-
|
|
133276
|
-
|
|
133277
|
-
|
|
133278
|
-
|
|
133279
|
-
|
|
133280
|
-
|
|
133281
|
-
|
|
133337
|
+
}
|
|
133338
|
+
},
|
|
133339
|
+
{
|
|
133340
|
+
"kind": "method",
|
|
133341
|
+
"name": "_typeLabel",
|
|
133342
|
+
"privacy": "private",
|
|
133343
|
+
"return": {
|
|
133344
|
+
"type": {
|
|
133345
|
+
"text": "string"
|
|
133282
133346
|
}
|
|
133283
|
-
|
|
133347
|
+
}
|
|
133284
133348
|
},
|
|
133285
133349
|
{
|
|
133286
133350
|
"kind": "field",
|
|
@@ -133454,41 +133518,95 @@
|
|
|
133454
133518
|
}
|
|
133455
133519
|
},
|
|
133456
133520
|
{
|
|
133457
|
-
"kind": "field",
|
|
133458
|
-
"name": "['_$sbbElement$']",
|
|
133521
|
+
"kind": "field",
|
|
133522
|
+
"name": "['_$sbbElement$']",
|
|
133523
|
+
"type": {
|
|
133524
|
+
"text": "boolean"
|
|
133525
|
+
},
|
|
133526
|
+
"privacy": "public",
|
|
133527
|
+
"static": true,
|
|
133528
|
+
"default": "true",
|
|
133529
|
+
"inheritedFrom": {
|
|
133530
|
+
"name": "SbbElement",
|
|
133531
|
+
"module": "core/base-elements/element.js"
|
|
133532
|
+
}
|
|
133533
|
+
},
|
|
133534
|
+
{
|
|
133535
|
+
"kind": "field",
|
|
133536
|
+
"name": "_controllers",
|
|
133537
|
+
"type": {
|
|
133538
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
133539
|
+
},
|
|
133540
|
+
"privacy": "private",
|
|
133541
|
+
"inheritedFrom": {
|
|
133542
|
+
"name": "SbbElement",
|
|
133543
|
+
"module": "core/base-elements/element.js"
|
|
133544
|
+
}
|
|
133545
|
+
}
|
|
133546
|
+
],
|
|
133547
|
+
"attributes": [
|
|
133548
|
+
{
|
|
133549
|
+
"name": "type",
|
|
133550
|
+
"type": {
|
|
133551
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133552
|
+
},
|
|
133553
|
+
"default": "'wagon'",
|
|
133554
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133555
|
+
"fieldName": "type"
|
|
133556
|
+
},
|
|
133557
|
+
{
|
|
133558
|
+
"name": "occupancy",
|
|
133559
|
+
"type": {
|
|
133560
|
+
"text": "SbbOccupancy | null"
|
|
133561
|
+
},
|
|
133562
|
+
"default": "null",
|
|
133563
|
+
"description": "Occupancy of a wagon.",
|
|
133564
|
+
"fieldName": "occupancy"
|
|
133565
|
+
},
|
|
133566
|
+
{
|
|
133567
|
+
"name": "sector",
|
|
133568
|
+
"type": {
|
|
133569
|
+
"text": "string"
|
|
133570
|
+
},
|
|
133571
|
+
"default": "''",
|
|
133572
|
+
"description": "Sector in which the wagon stops.",
|
|
133573
|
+
"fieldName": "sector"
|
|
133574
|
+
},
|
|
133575
|
+
{
|
|
133576
|
+
"name": "blocked-passage",
|
|
133577
|
+
"type": {
|
|
133578
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133579
|
+
},
|
|
133580
|
+
"default": "'none'",
|
|
133581
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133582
|
+
"fieldName": "blockedPassage"
|
|
133583
|
+
},
|
|
133584
|
+
{
|
|
133585
|
+
"name": "wagon-class",
|
|
133459
133586
|
"type": {
|
|
133460
|
-
"text": "
|
|
133587
|
+
"text": "'1' | '2' | null"
|
|
133461
133588
|
},
|
|
133462
|
-
"
|
|
133463
|
-
"
|
|
133464
|
-
"
|
|
133465
|
-
"inheritedFrom": {
|
|
133466
|
-
"name": "SbbElement",
|
|
133467
|
-
"module": "core/base-elements/element.js"
|
|
133468
|
-
}
|
|
133589
|
+
"default": "null",
|
|
133590
|
+
"description": "Class label",
|
|
133591
|
+
"fieldName": "wagonClass"
|
|
133469
133592
|
},
|
|
133470
133593
|
{
|
|
133471
|
-
"
|
|
133472
|
-
"name": "_controllers",
|
|
133594
|
+
"name": "label",
|
|
133473
133595
|
"type": {
|
|
133474
|
-
"text": "
|
|
133596
|
+
"text": "string"
|
|
133475
133597
|
},
|
|
133476
|
-
"
|
|
133477
|
-
"
|
|
133478
|
-
|
|
133479
|
-
|
|
133480
|
-
}
|
|
133481
|
-
}
|
|
133482
|
-
],
|
|
133483
|
-
"attributes": [
|
|
133598
|
+
"default": "''",
|
|
133599
|
+
"description": "Wagon number",
|
|
133600
|
+
"fieldName": "label"
|
|
133601
|
+
},
|
|
133484
133602
|
{
|
|
133485
|
-
"name": "
|
|
133603
|
+
"name": "additional-accessibility-text",
|
|
133486
133604
|
"type": {
|
|
133487
|
-
"text": "
|
|
133605
|
+
"text": "string"
|
|
133488
133606
|
},
|
|
133489
|
-
"default": "'
|
|
133490
|
-
"description": "
|
|
133491
|
-
"fieldName": "
|
|
133607
|
+
"default": "''",
|
|
133608
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
133609
|
+
"fieldName": "additionalAccessibilityText"
|
|
133492
133610
|
}
|
|
133493
133611
|
],
|
|
133494
133612
|
"mixins": [
|
|
@@ -133501,32 +133619,39 @@
|
|
|
133501
133619
|
"name": "SbbElement",
|
|
133502
133620
|
"module": "core/base-elements.js"
|
|
133503
133621
|
},
|
|
133504
|
-
"tagName": "sbb-train-
|
|
133622
|
+
"tagName": "sbb-train-wagon",
|
|
133505
133623
|
"customElement": true
|
|
133506
133624
|
}
|
|
133507
133625
|
],
|
|
133508
133626
|
"exports": [
|
|
133509
133627
|
{
|
|
133510
133628
|
"kind": "js",
|
|
133511
|
-
"name": "
|
|
133629
|
+
"name": "SbbTrainWagonElement",
|
|
133512
133630
|
"declaration": {
|
|
133513
|
-
"name": "
|
|
133514
|
-
"module": "train/train-
|
|
133631
|
+
"name": "SbbTrainWagonElement",
|
|
133632
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
133515
133633
|
}
|
|
133516
133634
|
}
|
|
133517
133635
|
]
|
|
133518
133636
|
},
|
|
133519
133637
|
{
|
|
133520
133638
|
"kind": "javascript-module",
|
|
133521
|
-
"path": "train/train-
|
|
133639
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
133522
133640
|
"declarations": [
|
|
133523
133641
|
{
|
|
133524
133642
|
"kind": "class",
|
|
133525
|
-
"description": "It displays a train
|
|
133526
|
-
"name": "
|
|
133643
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
133644
|
+
"name": "SbbTrainFormationElement",
|
|
133645
|
+
"cssProperties": [
|
|
133646
|
+
{
|
|
133647
|
+
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
133648
|
+
"name": "--sbb-train-formation-padding-inline",
|
|
133649
|
+
"default": "0px"
|
|
133650
|
+
}
|
|
133651
|
+
],
|
|
133527
133652
|
"slots": [
|
|
133528
133653
|
{
|
|
133529
|
-
"description": "Use the unnamed slot to add
|
|
133654
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
133530
133655
|
"name": ""
|
|
133531
133656
|
}
|
|
133532
133657
|
],
|
|
@@ -133540,35 +133665,12 @@
|
|
|
133540
133665
|
"privacy": "public",
|
|
133541
133666
|
"static": true,
|
|
133542
133667
|
"readonly": true,
|
|
133543
|
-
"default": "'sbb-train-
|
|
133668
|
+
"default": "'sbb-train-formation'",
|
|
133544
133669
|
"inheritedFrom": {
|
|
133545
133670
|
"name": "SbbElement",
|
|
133546
133671
|
"module": "core/base-elements/element.js"
|
|
133547
133672
|
}
|
|
133548
133673
|
},
|
|
133549
|
-
{
|
|
133550
|
-
"kind": "field",
|
|
133551
|
-
"name": "events",
|
|
133552
|
-
"privacy": "public",
|
|
133553
|
-
"static": true,
|
|
133554
|
-
"readonly": true,
|
|
133555
|
-
"default": "{ sectorchange: 'sectorchange', }",
|
|
133556
|
-
"type": {
|
|
133557
|
-
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
133558
|
-
}
|
|
133559
|
-
},
|
|
133560
|
-
{
|
|
133561
|
-
"kind": "field",
|
|
133562
|
-
"name": "type",
|
|
133563
|
-
"type": {
|
|
133564
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133565
|
-
},
|
|
133566
|
-
"privacy": "public",
|
|
133567
|
-
"default": "'wagon'",
|
|
133568
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133569
|
-
"attribute": "type",
|
|
133570
|
-
"reflects": true
|
|
133571
|
-
},
|
|
133572
133674
|
{
|
|
133573
133675
|
"kind": "field",
|
|
133574
133676
|
"name": "listChildLocalNames",
|
|
@@ -133578,7 +133680,7 @@
|
|
|
133578
133680
|
"privacy": "protected",
|
|
133579
133681
|
"readonly": true,
|
|
133580
133682
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
133581
|
-
"default": "['sbb-
|
|
133683
|
+
"default": "['sbb-train']",
|
|
133582
133684
|
"inheritedFrom": {
|
|
133583
133685
|
"name": "SbbNamedSlotListMixin",
|
|
133584
133686
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -133586,71 +133688,24 @@
|
|
|
133586
133688
|
},
|
|
133587
133689
|
{
|
|
133588
133690
|
"kind": "field",
|
|
133589
|
-
"name": "
|
|
133590
|
-
"type": {
|
|
133591
|
-
"text": "SbbOccupancy | null"
|
|
133592
|
-
},
|
|
133593
|
-
"privacy": "public",
|
|
133594
|
-
"default": "null",
|
|
133595
|
-
"description": "Occupancy of a wagon.",
|
|
133596
|
-
"attribute": "occupancy"
|
|
133597
|
-
},
|
|
133598
|
-
{
|
|
133599
|
-
"kind": "field",
|
|
133600
|
-
"name": "sector",
|
|
133601
|
-
"type": {
|
|
133602
|
-
"text": "string"
|
|
133603
|
-
},
|
|
133604
|
-
"privacy": "public",
|
|
133605
|
-
"default": "''",
|
|
133606
|
-
"description": "Sector in which the wagon stops.",
|
|
133607
|
-
"attribute": "sector",
|
|
133608
|
-
"reflects": true
|
|
133609
|
-
},
|
|
133610
|
-
{
|
|
133611
|
-
"kind": "field",
|
|
133612
|
-
"name": "blockedPassage",
|
|
133613
|
-
"type": {
|
|
133614
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133615
|
-
},
|
|
133616
|
-
"privacy": "public",
|
|
133617
|
-
"default": "'none'",
|
|
133618
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133619
|
-
"attribute": "blocked-passage"
|
|
133620
|
-
},
|
|
133621
|
-
{
|
|
133622
|
-
"kind": "field",
|
|
133623
|
-
"name": "wagonClass",
|
|
133624
|
-
"type": {
|
|
133625
|
-
"text": "'1' | '2' | null"
|
|
133626
|
-
},
|
|
133627
|
-
"privacy": "public",
|
|
133628
|
-
"default": "null",
|
|
133629
|
-
"description": "Class label",
|
|
133630
|
-
"attribute": "wagon-class"
|
|
133631
|
-
},
|
|
133632
|
-
{
|
|
133633
|
-
"kind": "field",
|
|
133634
|
-
"name": "label",
|
|
133691
|
+
"name": "view",
|
|
133635
133692
|
"type": {
|
|
133636
|
-
"text": "
|
|
133693
|
+
"text": "'side' | 'top'"
|
|
133637
133694
|
},
|
|
133638
133695
|
"privacy": "public",
|
|
133639
|
-
"default": "''",
|
|
133640
|
-
"description": "
|
|
133641
|
-
"attribute": "
|
|
133696
|
+
"default": "'side'",
|
|
133697
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
133698
|
+
"attribute": "view",
|
|
133642
133699
|
"reflects": true
|
|
133643
133700
|
},
|
|
133644
133701
|
{
|
|
133645
133702
|
"kind": "field",
|
|
133646
|
-
"name": "
|
|
133703
|
+
"name": "_sectors",
|
|
133647
133704
|
"type": {
|
|
133648
|
-
"text": "
|
|
133705
|
+
"text": "AggregatedSector[]"
|
|
133649
133706
|
},
|
|
133650
|
-
"privacy": "
|
|
133651
|
-
"default": "
|
|
133652
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
133653
|
-
"attribute": "additional-accessibility-text"
|
|
133707
|
+
"privacy": "private",
|
|
133708
|
+
"default": "[]"
|
|
133654
133709
|
},
|
|
133655
133710
|
{
|
|
133656
133711
|
"kind": "field",
|
|
@@ -133660,23 +133715,22 @@
|
|
|
133660
133715
|
},
|
|
133661
133716
|
{
|
|
133662
133717
|
"kind": "method",
|
|
133663
|
-
"name": "
|
|
133718
|
+
"name": "_readSectors",
|
|
133664
133719
|
"privacy": "private",
|
|
133665
133720
|
"return": {
|
|
133666
133721
|
"type": {
|
|
133667
133722
|
"text": "void"
|
|
133668
133723
|
}
|
|
133669
|
-
}
|
|
133670
|
-
|
|
133671
|
-
|
|
133672
|
-
|
|
133673
|
-
|
|
133674
|
-
|
|
133675
|
-
|
|
133676
|
-
|
|
133677
|
-
"text": "string"
|
|
133724
|
+
},
|
|
133725
|
+
"parameters": [
|
|
133726
|
+
{
|
|
133727
|
+
"name": "event",
|
|
133728
|
+
"optional": true,
|
|
133729
|
+
"type": {
|
|
133730
|
+
"text": "Event"
|
|
133731
|
+
}
|
|
133678
133732
|
}
|
|
133679
|
-
|
|
133733
|
+
]
|
|
133680
133734
|
},
|
|
133681
133735
|
{
|
|
133682
133736
|
"kind": "field",
|
|
@@ -133878,67 +133932,13 @@
|
|
|
133878
133932
|
],
|
|
133879
133933
|
"attributes": [
|
|
133880
133934
|
{
|
|
133881
|
-
"name": "
|
|
133882
|
-
"type": {
|
|
133883
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
133884
|
-
},
|
|
133885
|
-
"default": "'wagon'",
|
|
133886
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
133887
|
-
"fieldName": "type"
|
|
133888
|
-
},
|
|
133889
|
-
{
|
|
133890
|
-
"name": "occupancy",
|
|
133891
|
-
"type": {
|
|
133892
|
-
"text": "SbbOccupancy | null"
|
|
133893
|
-
},
|
|
133894
|
-
"default": "null",
|
|
133895
|
-
"description": "Occupancy of a wagon.",
|
|
133896
|
-
"fieldName": "occupancy"
|
|
133897
|
-
},
|
|
133898
|
-
{
|
|
133899
|
-
"name": "sector",
|
|
133900
|
-
"type": {
|
|
133901
|
-
"text": "string"
|
|
133902
|
-
},
|
|
133903
|
-
"default": "''",
|
|
133904
|
-
"description": "Sector in which the wagon stops.",
|
|
133905
|
-
"fieldName": "sector"
|
|
133906
|
-
},
|
|
133907
|
-
{
|
|
133908
|
-
"name": "blocked-passage",
|
|
133909
|
-
"type": {
|
|
133910
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
133911
|
-
},
|
|
133912
|
-
"default": "'none'",
|
|
133913
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
133914
|
-
"fieldName": "blockedPassage"
|
|
133915
|
-
},
|
|
133916
|
-
{
|
|
133917
|
-
"name": "wagon-class",
|
|
133918
|
-
"type": {
|
|
133919
|
-
"text": "'1' | '2' | null"
|
|
133920
|
-
},
|
|
133921
|
-
"default": "null",
|
|
133922
|
-
"description": "Class label",
|
|
133923
|
-
"fieldName": "wagonClass"
|
|
133924
|
-
},
|
|
133925
|
-
{
|
|
133926
|
-
"name": "label",
|
|
133927
|
-
"type": {
|
|
133928
|
-
"text": "string"
|
|
133929
|
-
},
|
|
133930
|
-
"default": "''",
|
|
133931
|
-
"description": "Wagon number",
|
|
133932
|
-
"fieldName": "label"
|
|
133933
|
-
},
|
|
133934
|
-
{
|
|
133935
|
-
"name": "additional-accessibility-text",
|
|
133935
|
+
"name": "view",
|
|
133936
133936
|
"type": {
|
|
133937
|
-
"text": "
|
|
133937
|
+
"text": "'side' | 'top'"
|
|
133938
133938
|
},
|
|
133939
|
-
"default": "''",
|
|
133940
|
-
"description": "
|
|
133941
|
-
"fieldName": "
|
|
133939
|
+
"default": "'side'",
|
|
133940
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
133941
|
+
"fieldName": "view"
|
|
133942
133942
|
}
|
|
133943
133943
|
],
|
|
133944
133944
|
"mixins": [
|
|
@@ -133951,17 +133951,17 @@
|
|
|
133951
133951
|
"name": "SbbElement",
|
|
133952
133952
|
"module": "core/base-elements.js"
|
|
133953
133953
|
},
|
|
133954
|
-
"tagName": "sbb-train-
|
|
133954
|
+
"tagName": "sbb-train-formation",
|
|
133955
133955
|
"customElement": true
|
|
133956
133956
|
}
|
|
133957
133957
|
],
|
|
133958
133958
|
"exports": [
|
|
133959
133959
|
{
|
|
133960
133960
|
"kind": "js",
|
|
133961
|
-
"name": "
|
|
133961
|
+
"name": "SbbTrainFormationElement",
|
|
133962
133962
|
"declaration": {
|
|
133963
|
-
"name": "
|
|
133964
|
-
"module": "train/train-
|
|
133963
|
+
"name": "SbbTrainFormationElement",
|
|
133964
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
133965
133965
|
}
|
|
133966
133966
|
}
|
|
133967
133967
|
]
|