@sbb-esta/lyne-elements-dev 4.7.0-dev.1773405905 → 4.7.0-dev.1773406096
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +928 -928
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -117376,79 +117376,20 @@
|
|
|
117376
117376
|
},
|
|
117377
117377
|
{
|
|
117378
117378
|
"kind": "javascript-module",
|
|
117379
|
-
"path": "stepper/
|
|
117379
|
+
"path": "stepper/step-label/step-label.component.js",
|
|
117380
117380
|
"declarations": [
|
|
117381
117381
|
{
|
|
117382
117382
|
"kind": "class",
|
|
117383
|
-
"description": "",
|
|
117384
|
-
"name": "
|
|
117385
|
-
"members": [
|
|
117386
|
-
{
|
|
117387
|
-
"kind": "field",
|
|
117388
|
-
"name": "selectedIndex",
|
|
117389
|
-
"type": {
|
|
117390
|
-
"text": "number | null"
|
|
117391
|
-
},
|
|
117392
|
-
"privacy": "public",
|
|
117393
|
-
"readonly": true,
|
|
117394
|
-
"description": "The index of the newly selected step.",
|
|
117395
|
-
"default": "selectedIndex"
|
|
117396
|
-
},
|
|
117397
|
-
{
|
|
117398
|
-
"kind": "field",
|
|
117399
|
-
"name": "previousIndex",
|
|
117400
|
-
"type": {
|
|
117401
|
-
"text": "number | null"
|
|
117402
|
-
},
|
|
117403
|
-
"privacy": "public",
|
|
117404
|
-
"readonly": true,
|
|
117405
|
-
"description": "The index of the previously selected step.",
|
|
117406
|
-
"default": "previousIndex"
|
|
117407
|
-
},
|
|
117408
|
-
{
|
|
117409
|
-
"kind": "field",
|
|
117410
|
-
"name": "selectedStep",
|
|
117411
|
-
"type": {
|
|
117412
|
-
"text": "SbbStepElement | null"
|
|
117413
|
-
},
|
|
117414
|
-
"privacy": "public",
|
|
117415
|
-
"readonly": true,
|
|
117416
|
-
"description": "The newly selected step element.",
|
|
117417
|
-
"default": "selectedStep"
|
|
117418
|
-
},
|
|
117419
|
-
{
|
|
117420
|
-
"kind": "field",
|
|
117421
|
-
"name": "previousStep",
|
|
117422
|
-
"type": {
|
|
117423
|
-
"text": "SbbStepElement | null"
|
|
117424
|
-
},
|
|
117425
|
-
"privacy": "public",
|
|
117426
|
-
"readonly": true,
|
|
117427
|
-
"description": "The previously selected step element.",
|
|
117428
|
-
"default": "previousStep"
|
|
117429
|
-
}
|
|
117430
|
-
],
|
|
117431
|
-
"superclass": {
|
|
117432
|
-
"name": "Event",
|
|
117433
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
117434
|
-
}
|
|
117435
|
-
},
|
|
117436
|
-
{
|
|
117437
|
-
"kind": "class",
|
|
117438
|
-
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
117439
|
-
"name": "SbbStepperElement",
|
|
117383
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
117384
|
+
"name": "SbbStepLabelElement",
|
|
117440
117385
|
"slots": [
|
|
117441
117386
|
{
|
|
117442
|
-
"description": "
|
|
117387
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
117443
117388
|
"name": ""
|
|
117444
117389
|
},
|
|
117445
117390
|
{
|
|
117446
|
-
"description": "Use this
|
|
117447
|
-
"name": "
|
|
117448
|
-
},
|
|
117449
|
-
{
|
|
117450
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
117451
|
-
"name": "step"
|
|
117391
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
117392
|
+
"name": "icon"
|
|
117452
117393
|
}
|
|
117453
117394
|
],
|
|
117454
117395
|
"members": [
|
|
@@ -117461,340 +117402,293 @@
|
|
|
117461
117402
|
"privacy": "public",
|
|
117462
117403
|
"static": true,
|
|
117463
117404
|
"readonly": true,
|
|
117464
|
-
"default": "'sbb-stepper'",
|
|
117465
117405
|
"inheritedFrom": {
|
|
117466
117406
|
"name": "SbbElement",
|
|
117467
117407
|
"module": "core/base-elements/element.js"
|
|
117468
|
-
}
|
|
117469
|
-
},
|
|
117470
|
-
{
|
|
117471
|
-
"kind": "field",
|
|
117472
|
-
"name": "events",
|
|
117473
|
-
"privacy": "public",
|
|
117474
|
-
"static": true,
|
|
117475
|
-
"readonly": true,
|
|
117476
|
-
"default": "{ stepchange: 'stepchange', }",
|
|
117477
|
-
"type": {
|
|
117478
|
-
"text": "{\n stepchange: 'stepchange',\n }"
|
|
117479
|
-
}
|
|
117480
|
-
},
|
|
117481
|
-
{
|
|
117482
|
-
"kind": "field",
|
|
117483
|
-
"name": "_observer",
|
|
117484
|
-
"privacy": "private",
|
|
117485
|
-
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
117486
|
-
"description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
|
|
117487
|
-
},
|
|
117488
|
-
{
|
|
117489
|
-
"kind": "field",
|
|
117490
|
-
"name": "linear",
|
|
117491
|
-
"type": {
|
|
117492
|
-
"text": "boolean"
|
|
117493
|
-
},
|
|
117494
|
-
"privacy": "public",
|
|
117495
|
-
"default": "false",
|
|
117496
|
-
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
117497
|
-
"attribute": "linear"
|
|
117498
|
-
},
|
|
117499
|
-
{
|
|
117500
|
-
"kind": "field",
|
|
117501
|
-
"name": "horizontalFrom",
|
|
117502
|
-
"privacy": "public",
|
|
117503
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
117504
|
-
"type": {
|
|
117505
|
-
"text": "SbbHorizontalFrom | null"
|
|
117506
|
-
},
|
|
117507
|
-
"attribute": "horizontal-from",
|
|
117508
|
-
"reflects": true,
|
|
117509
|
-
"default": "null"
|
|
117510
|
-
},
|
|
117511
|
-
{
|
|
117512
|
-
"kind": "field",
|
|
117513
|
-
"name": "_horizontalFrom",
|
|
117514
|
-
"type": {
|
|
117515
|
-
"text": "SbbHorizontalFrom | null"
|
|
117516
|
-
},
|
|
117517
|
-
"privacy": "private",
|
|
117518
|
-
"default": "null"
|
|
117519
|
-
},
|
|
117520
|
-
{
|
|
117521
|
-
"kind": "field",
|
|
117522
|
-
"name": "orientation",
|
|
117523
|
-
"type": {
|
|
117524
|
-
"text": "SbbOrientation"
|
|
117525
117408
|
},
|
|
117526
|
-
"
|
|
117527
|
-
"default": "'horizontal'",
|
|
117528
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
117529
|
-
"attribute": "orientation",
|
|
117530
|
-
"reflects": true
|
|
117409
|
+
"default": "'sbb-step-label'"
|
|
117531
117410
|
},
|
|
117532
117411
|
{
|
|
117533
117412
|
"kind": "field",
|
|
117534
|
-
"name": "
|
|
117413
|
+
"name": "role",
|
|
117535
117414
|
"type": {
|
|
117536
|
-
"text": "
|
|
117415
|
+
"text": "string"
|
|
117537
117416
|
},
|
|
117538
117417
|
"privacy": "public",
|
|
117539
|
-
"
|
|
117540
|
-
"
|
|
117541
|
-
"
|
|
117542
|
-
"
|
|
117543
|
-
|
|
117544
|
-
|
|
117545
|
-
"kind": "field",
|
|
117546
|
-
"name": "selected",
|
|
117547
|
-
"privacy": "public",
|
|
117548
|
-
"description": "The currently selected step.",
|
|
117549
|
-
"type": {
|
|
117550
|
-
"text": "SbbStepElement | null"
|
|
117418
|
+
"static": true,
|
|
117419
|
+
"readonly": true,
|
|
117420
|
+
"default": "'tab'",
|
|
117421
|
+
"inheritedFrom": {
|
|
117422
|
+
"name": "SbbButtonLikeBaseElement",
|
|
117423
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117551
117424
|
}
|
|
117552
117425
|
},
|
|
117553
117426
|
{
|
|
117554
117427
|
"kind": "field",
|
|
117555
|
-
"name": "
|
|
117428
|
+
"name": "step",
|
|
117556
117429
|
"type": {
|
|
117557
117430
|
"text": "SbbStepElement | null"
|
|
117558
117431
|
},
|
|
117559
|
-
"privacy": "private",
|
|
117560
|
-
"default": "null"
|
|
117561
|
-
},
|
|
117562
|
-
{
|
|
117563
|
-
"kind": "field",
|
|
117564
|
-
"name": "selectedIndex",
|
|
117565
117432
|
"privacy": "public",
|
|
117566
|
-
"description": "The
|
|
117567
|
-
"
|
|
117568
|
-
|
|
117569
|
-
},
|
|
117570
|
-
"attribute": "selected-index"
|
|
117433
|
+
"description": "The step controlled by the label.",
|
|
117434
|
+
"readonly": true,
|
|
117435
|
+
"default": "null"
|
|
117571
117436
|
},
|
|
117572
117437
|
{
|
|
117573
117438
|
"kind": "field",
|
|
117574
|
-
"name": "
|
|
117439
|
+
"name": "_step",
|
|
117575
117440
|
"type": {
|
|
117576
|
-
"text": "
|
|
117441
|
+
"text": "SbbStepElement | null"
|
|
117577
117442
|
},
|
|
117578
117443
|
"privacy": "private",
|
|
117579
117444
|
"default": "null"
|
|
117580
117445
|
},
|
|
117581
117446
|
{
|
|
117582
117447
|
"kind": "field",
|
|
117583
|
-
"name": "
|
|
117448
|
+
"name": "stepper",
|
|
117584
117449
|
"type": {
|
|
117585
|
-
"text": "
|
|
117450
|
+
"text": "SbbStepperElement | null"
|
|
117586
117451
|
},
|
|
117587
117452
|
"privacy": "public",
|
|
117588
|
-
"description": "The steps of the stepper.",
|
|
117589
117453
|
"readonly": true
|
|
117590
117454
|
},
|
|
117591
117455
|
{
|
|
117592
117456
|
"kind": "field",
|
|
117593
|
-
"name": "
|
|
117457
|
+
"name": "disabled",
|
|
117458
|
+
"privacy": "public",
|
|
117459
|
+
"description": "Whether the component is disabled.",
|
|
117460
|
+
"default": "false",
|
|
117594
117461
|
"type": {
|
|
117595
|
-
"text": "
|
|
117462
|
+
"text": "boolean"
|
|
117596
117463
|
},
|
|
117597
|
-
"
|
|
117598
|
-
"
|
|
117464
|
+
"attribute": "disabled",
|
|
117465
|
+
"reflects": true,
|
|
117466
|
+
"inheritedFrom": {
|
|
117467
|
+
"name": "SbbDisabledMixin",
|
|
117468
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
117469
|
+
}
|
|
117599
117470
|
},
|
|
117600
117471
|
{
|
|
117601
117472
|
"kind": "field",
|
|
117602
|
-
"name": "
|
|
117473
|
+
"name": "_previousOrientation",
|
|
117603
117474
|
"type": {
|
|
117604
|
-
"text": "
|
|
117475
|
+
"text": "string | undefined"
|
|
117605
117476
|
},
|
|
117606
|
-
"privacy": "private"
|
|
117607
|
-
"default": "false"
|
|
117477
|
+
"privacy": "private"
|
|
117608
117478
|
},
|
|
117609
117479
|
{
|
|
117610
117480
|
"kind": "field",
|
|
117611
|
-
"name": "
|
|
117481
|
+
"name": "_previousSize",
|
|
117612
117482
|
"type": {
|
|
117613
|
-
"text": "
|
|
117483
|
+
"text": "string | undefined"
|
|
117614
117484
|
},
|
|
117615
|
-
"privacy": "private"
|
|
117616
|
-
"default": "null"
|
|
117617
|
-
},
|
|
117618
|
-
{
|
|
117619
|
-
"kind": "field",
|
|
117620
|
-
"name": "_mediaMatcher",
|
|
117621
|
-
"privacy": "private",
|
|
117622
|
-
"default": "new SbbMediaMatcherController(this, {})"
|
|
117485
|
+
"privacy": "private"
|
|
117623
117486
|
},
|
|
117624
117487
|
{
|
|
117625
117488
|
"kind": "method",
|
|
117626
|
-
"name": "
|
|
117627
|
-
"privacy": "
|
|
117489
|
+
"name": "_isNotDeactivatedByLinearMode",
|
|
117490
|
+
"privacy": "private",
|
|
117628
117491
|
"return": {
|
|
117629
117492
|
"type": {
|
|
117630
|
-
"text": "
|
|
117493
|
+
"text": "boolean"
|
|
117631
117494
|
}
|
|
117632
117495
|
},
|
|
117633
|
-
"
|
|
117496
|
+
"parameters": [
|
|
117497
|
+
{
|
|
117498
|
+
"name": "step",
|
|
117499
|
+
"type": {
|
|
117500
|
+
"text": "SbbStepElement"
|
|
117501
|
+
}
|
|
117502
|
+
}
|
|
117503
|
+
]
|
|
117634
117504
|
},
|
|
117635
117505
|
{
|
|
117636
117506
|
"kind": "method",
|
|
117637
|
-
"name": "
|
|
117638
|
-
"privacy": "
|
|
117507
|
+
"name": "_assignStep",
|
|
117508
|
+
"privacy": "private",
|
|
117639
117509
|
"return": {
|
|
117640
117510
|
"type": {
|
|
117641
117511
|
"text": "void"
|
|
117642
117512
|
}
|
|
117513
|
+
}
|
|
117514
|
+
},
|
|
117515
|
+
{
|
|
117516
|
+
"kind": "field",
|
|
117517
|
+
"name": "iconName",
|
|
117518
|
+
"type": {
|
|
117519
|
+
"text": "string"
|
|
117643
117520
|
},
|
|
117644
|
-
"
|
|
117521
|
+
"privacy": "public",
|
|
117522
|
+
"default": "''",
|
|
117523
|
+
"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.",
|
|
117524
|
+
"attribute": "icon-name",
|
|
117525
|
+
"inheritedFrom": {
|
|
117526
|
+
"name": "SbbIconNameMixin",
|
|
117527
|
+
"module": "icon/icon-name-mixin.js"
|
|
117528
|
+
}
|
|
117645
117529
|
},
|
|
117646
117530
|
{
|
|
117647
117531
|
"kind": "method",
|
|
117648
|
-
"name": "
|
|
117649
|
-
"privacy": "
|
|
117532
|
+
"name": "renderIconSlot",
|
|
117533
|
+
"privacy": "protected",
|
|
117650
117534
|
"return": {
|
|
117651
117535
|
"type": {
|
|
117652
|
-
"text": "
|
|
117653
|
-
}
|
|
117654
|
-
},
|
|
117655
|
-
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
117656
|
-
},
|
|
117657
|
-
{
|
|
117658
|
-
"kind": "method",
|
|
117659
|
-
"name": "_isSelectable",
|
|
117660
|
-
"privacy": "private",
|
|
117661
|
-
"return": {
|
|
117662
|
-
"type": {
|
|
117663
|
-
"text": "step is SbbStepElement"
|
|
117536
|
+
"text": "TemplateResult"
|
|
117664
117537
|
}
|
|
117665
117538
|
},
|
|
117666
117539
|
"parameters": [
|
|
117667
117540
|
{
|
|
117668
|
-
"name": "
|
|
117541
|
+
"name": "classname",
|
|
117542
|
+
"optional": true,
|
|
117669
117543
|
"type": {
|
|
117670
|
-
"text": "
|
|
117544
|
+
"text": "string"
|
|
117671
117545
|
}
|
|
117672
117546
|
}
|
|
117673
|
-
]
|
|
117547
|
+
],
|
|
117548
|
+
"inheritedFrom": {
|
|
117549
|
+
"name": "SbbIconNameMixin",
|
|
117550
|
+
"module": "icon/icon-name-mixin.js"
|
|
117551
|
+
}
|
|
117674
117552
|
},
|
|
117675
117553
|
{
|
|
117676
117554
|
"kind": "method",
|
|
117677
|
-
"name": "
|
|
117678
|
-
"privacy": "
|
|
117555
|
+
"name": "renderIconName",
|
|
117556
|
+
"privacy": "protected",
|
|
117679
117557
|
"return": {
|
|
117680
117558
|
"type": {
|
|
117681
|
-
"text": "
|
|
117559
|
+
"text": "string"
|
|
117682
117560
|
}
|
|
117683
117561
|
},
|
|
117684
|
-
"
|
|
117685
|
-
|
|
117686
|
-
|
|
117687
|
-
|
|
117688
|
-
"text": "SbbStepElement | null"
|
|
117689
|
-
}
|
|
117690
|
-
}
|
|
117691
|
-
]
|
|
117562
|
+
"inheritedFrom": {
|
|
117563
|
+
"name": "SbbIconNameMixin",
|
|
117564
|
+
"module": "icon/icon-name-mixin.js"
|
|
117565
|
+
}
|
|
117692
117566
|
},
|
|
117693
117567
|
{
|
|
117694
117568
|
"kind": "method",
|
|
117695
|
-
"name": "
|
|
117569
|
+
"name": "_renderIconName",
|
|
117696
117570
|
"privacy": "private",
|
|
117697
117571
|
"return": {
|
|
117698
117572
|
"type": {
|
|
117699
|
-
"text": "
|
|
117573
|
+
"text": "string"
|
|
117700
117574
|
}
|
|
117575
|
+
},
|
|
117576
|
+
"inheritedFrom": {
|
|
117577
|
+
"name": "SbbIconNameMixin",
|
|
117578
|
+
"module": "icon/icon-name-mixin.js"
|
|
117701
117579
|
}
|
|
117702
117580
|
},
|
|
117703
117581
|
{
|
|
117704
|
-
"kind": "
|
|
117705
|
-
"name": "
|
|
117582
|
+
"kind": "field",
|
|
117583
|
+
"name": "#disabled",
|
|
117706
117584
|
"privacy": "private",
|
|
117707
|
-
"
|
|
117708
|
-
"
|
|
117709
|
-
"text": "void"
|
|
117710
|
-
}
|
|
117585
|
+
"type": {
|
|
117586
|
+
"text": "boolean"
|
|
117711
117587
|
},
|
|
117712
|
-
"
|
|
117713
|
-
|
|
117714
|
-
|
|
117715
|
-
|
|
117716
|
-
|
|
117717
|
-
}
|
|
117718
|
-
}
|
|
117719
|
-
],
|
|
117720
|
-
"description": "Sets the stepper height based on the height of the provided step."
|
|
117588
|
+
"default": "false",
|
|
117589
|
+
"inheritedFrom": {
|
|
117590
|
+
"name": "SbbDisabledMixin",
|
|
117591
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
117592
|
+
}
|
|
117721
117593
|
},
|
|
117722
117594
|
{
|
|
117723
117595
|
"kind": "method",
|
|
117724
|
-
"name": "
|
|
117725
|
-
"privacy": "
|
|
117596
|
+
"name": "isDisabledExternally",
|
|
117597
|
+
"privacy": "protected",
|
|
117726
117598
|
"return": {
|
|
117727
117599
|
"type": {
|
|
117728
|
-
"text": "
|
|
117600
|
+
"text": "boolean"
|
|
117729
117601
|
}
|
|
117602
|
+
},
|
|
117603
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
117604
|
+
"inheritedFrom": {
|
|
117605
|
+
"name": "SbbDisabledMixin",
|
|
117606
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
117730
117607
|
}
|
|
117731
117608
|
},
|
|
117732
117609
|
{
|
|
117733
|
-
"kind": "
|
|
117734
|
-
"name": "
|
|
117610
|
+
"kind": "field",
|
|
117611
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
117612
|
+
"type": {
|
|
117613
|
+
"text": "array"
|
|
117614
|
+
},
|
|
117735
117615
|
"privacy": "private",
|
|
117736
|
-
"
|
|
117737
|
-
|
|
117738
|
-
|
|
117739
|
-
|
|
117616
|
+
"readonly": true,
|
|
117617
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
117618
|
+
"inheritedFrom": {
|
|
117619
|
+
"name": "SbbButtonBaseElement",
|
|
117620
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117621
|
+
}
|
|
117622
|
+
},
|
|
117623
|
+
{
|
|
117624
|
+
"kind": "field",
|
|
117625
|
+
"name": "value",
|
|
117626
|
+
"type": {
|
|
117627
|
+
"text": "string"
|
|
117740
117628
|
},
|
|
117741
|
-
"
|
|
117742
|
-
|
|
117743
|
-
|
|
117744
|
-
|
|
117745
|
-
|
|
117746
|
-
|
|
117747
|
-
|
|
117748
|
-
|
|
117629
|
+
"privacy": "public",
|
|
117630
|
+
"inheritedFrom": {
|
|
117631
|
+
"name": "SbbButtonBaseElement",
|
|
117632
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117633
|
+
},
|
|
117634
|
+
"default": "''",
|
|
117635
|
+
"description": "Value of the form element.",
|
|
117636
|
+
"attribute": "value"
|
|
117749
117637
|
},
|
|
117750
117638
|
{
|
|
117751
|
-
"kind": "
|
|
117752
|
-
"name": "
|
|
117753
|
-
"privacy": "
|
|
117754
|
-
"
|
|
117755
|
-
|
|
117756
|
-
|
|
117757
|
-
|
|
117639
|
+
"kind": "field",
|
|
117640
|
+
"name": "type",
|
|
117641
|
+
"privacy": "public",
|
|
117642
|
+
"description": "The type attribute to use for the button.",
|
|
117643
|
+
"default": "'button'",
|
|
117644
|
+
"type": {
|
|
117645
|
+
"text": "SbbButtonType"
|
|
117646
|
+
},
|
|
117647
|
+
"attribute": "type",
|
|
117648
|
+
"inheritedFrom": {
|
|
117649
|
+
"name": "SbbButtonBaseElement",
|
|
117650
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117758
117651
|
}
|
|
117759
117652
|
},
|
|
117760
117653
|
{
|
|
117761
|
-
"kind": "
|
|
117762
|
-
"name": "
|
|
117763
|
-
"
|
|
117764
|
-
|
|
117765
|
-
|
|
117766
|
-
|
|
117767
|
-
|
|
117768
|
-
|
|
117654
|
+
"kind": "field",
|
|
117655
|
+
"name": "form",
|
|
117656
|
+
"type": {
|
|
117657
|
+
"text": "HTMLFormElement | null"
|
|
117658
|
+
},
|
|
117659
|
+
"privacy": "public",
|
|
117660
|
+
"description": "The `<form>` element to associate the button with.",
|
|
117661
|
+
"inheritedFrom": {
|
|
117662
|
+
"name": "SbbButtonBaseElement",
|
|
117663
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117664
|
+
},
|
|
117665
|
+
"attribute": "form"
|
|
117769
117666
|
},
|
|
117770
117667
|
{
|
|
117771
|
-
"kind": "
|
|
117772
|
-
"name": "
|
|
117668
|
+
"kind": "field",
|
|
117669
|
+
"name": "_formId",
|
|
117670
|
+
"type": {
|
|
117671
|
+
"text": "string"
|
|
117672
|
+
},
|
|
117773
117673
|
"privacy": "private",
|
|
117774
|
-
"
|
|
117775
|
-
|
|
117776
|
-
|
|
117777
|
-
|
|
117674
|
+
"default": "''",
|
|
117675
|
+
"inheritedFrom": {
|
|
117676
|
+
"name": "SbbButtonBaseElement",
|
|
117677
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117778
117678
|
}
|
|
117779
117679
|
},
|
|
117780
117680
|
{
|
|
117781
117681
|
"kind": "field",
|
|
117782
|
-
"name": "
|
|
117783
|
-
"privacy": "private"
|
|
117784
|
-
},
|
|
117785
|
-
{
|
|
117786
|
-
"kind": "method",
|
|
117787
|
-
"name": "_configureLinearMode",
|
|
117682
|
+
"name": "_handleButtonClick",
|
|
117788
117683
|
"privacy": "private",
|
|
117789
|
-
"
|
|
117790
|
-
"
|
|
117791
|
-
|
|
117792
|
-
}
|
|
117684
|
+
"inheritedFrom": {
|
|
117685
|
+
"name": "SbbButtonBaseElement",
|
|
117686
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117793
117687
|
}
|
|
117794
117688
|
},
|
|
117795
117689
|
{
|
|
117796
117690
|
"kind": "method",
|
|
117797
|
-
"name": "
|
|
117691
|
+
"name": "_requestSubmit",
|
|
117798
117692
|
"privacy": "private",
|
|
117799
117693
|
"return": {
|
|
117800
117694
|
"type": {
|
|
@@ -117803,67 +117697,154 @@
|
|
|
117803
117697
|
},
|
|
117804
117698
|
"parameters": [
|
|
117805
117699
|
{
|
|
117806
|
-
"name": "
|
|
117700
|
+
"name": "form",
|
|
117807
117701
|
"type": {
|
|
117808
|
-
"text": "
|
|
117702
|
+
"text": "HTMLFormElement"
|
|
117809
117703
|
}
|
|
117810
117704
|
}
|
|
117811
|
-
]
|
|
117705
|
+
],
|
|
117706
|
+
"inheritedFrom": {
|
|
117707
|
+
"name": "SbbButtonBaseElement",
|
|
117708
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117709
|
+
}
|
|
117812
117710
|
},
|
|
117813
117711
|
{
|
|
117814
117712
|
"kind": "field",
|
|
117815
|
-
"name": "
|
|
117816
|
-
"type": {
|
|
117817
|
-
"text": "boolean"
|
|
117818
|
-
},
|
|
117713
|
+
"name": "_formKeyDown",
|
|
117819
117714
|
"privacy": "private",
|
|
117820
|
-
"default": "!!this.shadowRoot",
|
|
117821
117715
|
"inheritedFrom": {
|
|
117822
|
-
"name": "
|
|
117823
|
-
"module": "core/base-elements/element.js"
|
|
117716
|
+
"name": "SbbButtonBaseElement",
|
|
117717
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117824
117718
|
}
|
|
117825
117719
|
},
|
|
117826
117720
|
{
|
|
117827
117721
|
"kind": "field",
|
|
117828
|
-
"name": "
|
|
117829
|
-
"
|
|
117830
|
-
|
|
117722
|
+
"name": "formAssociated",
|
|
117723
|
+
"type": {
|
|
117724
|
+
"text": "boolean"
|
|
117725
|
+
},
|
|
117726
|
+
"privacy": "public",
|
|
117727
|
+
"static": true,
|
|
117728
|
+
"default": "true",
|
|
117831
117729
|
"inheritedFrom": {
|
|
117832
|
-
"name": "
|
|
117833
|
-
"module": "core/
|
|
117730
|
+
"name": "SbbFormAssociatedMixin",
|
|
117731
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117834
117732
|
}
|
|
117835
117733
|
},
|
|
117836
117734
|
{
|
|
117837
117735
|
"kind": "field",
|
|
117838
|
-
"name": "
|
|
117736
|
+
"name": "name",
|
|
117737
|
+
"privacy": "public",
|
|
117738
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
117839
117739
|
"type": {
|
|
117840
|
-
"text": "
|
|
117740
|
+
"text": "string"
|
|
117841
117741
|
},
|
|
117842
|
-
"
|
|
117742
|
+
"attribute": "name",
|
|
117843
117743
|
"inheritedFrom": {
|
|
117844
|
-
"name": "
|
|
117845
|
-
"module": "core/
|
|
117744
|
+
"name": "SbbFormAssociatedMixin",
|
|
117745
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117846
117746
|
}
|
|
117847
117747
|
},
|
|
117848
117748
|
{
|
|
117849
117749
|
"kind": "field",
|
|
117850
|
-
"name": "
|
|
117750
|
+
"name": "validity",
|
|
117851
117751
|
"type": {
|
|
117852
|
-
"text": "
|
|
117752
|
+
"text": "ValidityState"
|
|
117853
117753
|
},
|
|
117854
|
-
"privacy": "
|
|
117855
|
-
"description": "Returns
|
|
117754
|
+
"privacy": "public",
|
|
117755
|
+
"description": "Returns the ValidityState object for this element.",
|
|
117856
117756
|
"readonly": true,
|
|
117857
117757
|
"inheritedFrom": {
|
|
117858
|
-
"name": "
|
|
117859
|
-
"module": "core/
|
|
117860
|
-
}
|
|
117861
|
-
"default": "!!this.shadowRoot"
|
|
117758
|
+
"name": "SbbFormAssociatedMixin",
|
|
117759
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117760
|
+
}
|
|
117862
117761
|
},
|
|
117863
117762
|
{
|
|
117864
|
-
"kind": "
|
|
117865
|
-
"name": "
|
|
117763
|
+
"kind": "field",
|
|
117764
|
+
"name": "validationMessage",
|
|
117765
|
+
"type": {
|
|
117766
|
+
"text": "string"
|
|
117767
|
+
},
|
|
117768
|
+
"privacy": "public",
|
|
117769
|
+
"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.",
|
|
117770
|
+
"readonly": true,
|
|
117771
|
+
"inheritedFrom": {
|
|
117772
|
+
"name": "SbbFormAssociatedMixin",
|
|
117773
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117774
|
+
}
|
|
117775
|
+
},
|
|
117776
|
+
{
|
|
117777
|
+
"kind": "field",
|
|
117778
|
+
"name": "willValidate",
|
|
117779
|
+
"type": {
|
|
117780
|
+
"text": "boolean"
|
|
117781
|
+
},
|
|
117782
|
+
"privacy": "public",
|
|
117783
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
117784
|
+
"readonly": true,
|
|
117785
|
+
"inheritedFrom": {
|
|
117786
|
+
"name": "SbbFormAssociatedMixin",
|
|
117787
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117788
|
+
}
|
|
117789
|
+
},
|
|
117790
|
+
{
|
|
117791
|
+
"kind": "field",
|
|
117792
|
+
"name": "_validityStates",
|
|
117793
|
+
"privacy": "private",
|
|
117794
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
117795
|
+
"inheritedFrom": {
|
|
117796
|
+
"name": "SbbFormAssociatedMixin",
|
|
117797
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117798
|
+
}
|
|
117799
|
+
},
|
|
117800
|
+
{
|
|
117801
|
+
"kind": "field",
|
|
117802
|
+
"name": "formDisabled",
|
|
117803
|
+
"type": {
|
|
117804
|
+
"text": "boolean"
|
|
117805
|
+
},
|
|
117866
117806
|
"privacy": "protected",
|
|
117807
|
+
"default": "false",
|
|
117808
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
117809
|
+
"inheritedFrom": {
|
|
117810
|
+
"name": "SbbFormAssociatedMixin",
|
|
117811
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117812
|
+
}
|
|
117813
|
+
},
|
|
117814
|
+
{
|
|
117815
|
+
"kind": "method",
|
|
117816
|
+
"name": "checkValidity",
|
|
117817
|
+
"privacy": "public",
|
|
117818
|
+
"return": {
|
|
117819
|
+
"type": {
|
|
117820
|
+
"text": "boolean"
|
|
117821
|
+
}
|
|
117822
|
+
},
|
|
117823
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
117824
|
+
"inheritedFrom": {
|
|
117825
|
+
"name": "SbbFormAssociatedMixin",
|
|
117826
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117827
|
+
}
|
|
117828
|
+
},
|
|
117829
|
+
{
|
|
117830
|
+
"kind": "method",
|
|
117831
|
+
"name": "reportValidity",
|
|
117832
|
+
"privacy": "public",
|
|
117833
|
+
"return": {
|
|
117834
|
+
"type": {
|
|
117835
|
+
"text": "boolean"
|
|
117836
|
+
}
|
|
117837
|
+
},
|
|
117838
|
+
"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.",
|
|
117839
|
+
"inheritedFrom": {
|
|
117840
|
+
"name": "SbbFormAssociatedMixin",
|
|
117841
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117842
|
+
}
|
|
117843
|
+
},
|
|
117844
|
+
{
|
|
117845
|
+
"kind": "method",
|
|
117846
|
+
"name": "setCustomValidity",
|
|
117847
|
+
"privacy": "public",
|
|
117867
117848
|
"return": {
|
|
117868
117849
|
"type": {
|
|
117869
117850
|
"text": "void"
|
|
@@ -117871,184 +117852,183 @@
|
|
|
117871
117852
|
},
|
|
117872
117853
|
"parameters": [
|
|
117873
117854
|
{
|
|
117874
|
-
"name": "
|
|
117855
|
+
"name": "message",
|
|
117875
117856
|
"type": {
|
|
117876
117857
|
"text": "string"
|
|
117877
117858
|
}
|
|
117878
|
-
},
|
|
117879
|
-
{
|
|
117880
|
-
"name": "force",
|
|
117881
|
-
"optional": true,
|
|
117882
|
-
"type": {
|
|
117883
|
-
"text": "boolean"
|
|
117884
|
-
}
|
|
117885
117859
|
}
|
|
117886
117860
|
],
|
|
117861
|
+
"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.",
|
|
117887
117862
|
"inheritedFrom": {
|
|
117888
|
-
"name": "
|
|
117889
|
-
"module": "core/
|
|
117863
|
+
"name": "SbbFormAssociatedMixin",
|
|
117864
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117890
117865
|
}
|
|
117891
117866
|
},
|
|
117892
117867
|
{
|
|
117893
|
-
"kind": "
|
|
117894
|
-
"name": "
|
|
117895
|
-
"
|
|
117896
|
-
|
|
117868
|
+
"kind": "method",
|
|
117869
|
+
"name": "_hasDisabledAncestor",
|
|
117870
|
+
"privacy": "private",
|
|
117871
|
+
"return": {
|
|
117872
|
+
"type": {
|
|
117873
|
+
"text": "boolean"
|
|
117874
|
+
}
|
|
117897
117875
|
},
|
|
117898
|
-
"privacy": "public",
|
|
117899
|
-
"static": true,
|
|
117900
|
-
"default": "true",
|
|
117901
117876
|
"inheritedFrom": {
|
|
117902
|
-
"name": "
|
|
117903
|
-
"module": "core/
|
|
117877
|
+
"name": "SbbFormAssociatedMixin",
|
|
117878
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117904
117879
|
}
|
|
117905
117880
|
},
|
|
117906
117881
|
{
|
|
117907
|
-
"kind": "
|
|
117908
|
-
"name": "
|
|
117909
|
-
"
|
|
117910
|
-
|
|
117882
|
+
"kind": "method",
|
|
117883
|
+
"name": "updateFormValue",
|
|
117884
|
+
"privacy": "protected",
|
|
117885
|
+
"return": {
|
|
117886
|
+
"type": {
|
|
117887
|
+
"text": "void"
|
|
117888
|
+
}
|
|
117911
117889
|
},
|
|
117912
|
-
"
|
|
117890
|
+
"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",
|
|
117913
117891
|
"inheritedFrom": {
|
|
117914
|
-
"name": "
|
|
117915
|
-
"module": "core/
|
|
117892
|
+
"name": "SbbFormAssociatedMixin",
|
|
117893
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117916
117894
|
}
|
|
117917
|
-
}
|
|
117918
|
-
],
|
|
117919
|
-
"events": [
|
|
117920
|
-
{
|
|
117921
|
-
"type": {
|
|
117922
|
-
"text": "SbbStepChangeEvent"
|
|
117923
|
-
},
|
|
117924
|
-
"description": "Emits whenever a step was changed.",
|
|
117925
|
-
"name": "stepchange"
|
|
117926
|
-
}
|
|
117927
|
-
],
|
|
117928
|
-
"attributes": [
|
|
117895
|
+
},
|
|
117929
117896
|
{
|
|
117930
|
-
"
|
|
117931
|
-
"
|
|
117932
|
-
|
|
117897
|
+
"kind": "method",
|
|
117898
|
+
"name": "formState",
|
|
117899
|
+
"privacy": "protected",
|
|
117900
|
+
"return": {
|
|
117901
|
+
"type": {
|
|
117902
|
+
"text": "FormRestoreState"
|
|
117903
|
+
}
|
|
117933
117904
|
},
|
|
117934
|
-
"
|
|
117935
|
-
|
|
117936
|
-
|
|
117905
|
+
"inheritedFrom": {
|
|
117906
|
+
"name": "SbbFormAssociatedMixin",
|
|
117907
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117908
|
+
}
|
|
117937
117909
|
},
|
|
117938
117910
|
{
|
|
117939
|
-
"
|
|
117940
|
-
"
|
|
117941
|
-
"
|
|
117942
|
-
|
|
117911
|
+
"kind": "method",
|
|
117912
|
+
"name": "setValidityFlag",
|
|
117913
|
+
"privacy": "protected",
|
|
117914
|
+
"return": {
|
|
117915
|
+
"type": {
|
|
117916
|
+
"text": "void"
|
|
117917
|
+
}
|
|
117943
117918
|
},
|
|
117944
|
-
"
|
|
117919
|
+
"parameters": [
|
|
117920
|
+
{
|
|
117921
|
+
"name": "flag",
|
|
117922
|
+
"type": {
|
|
117923
|
+
"text": "T"
|
|
117924
|
+
}
|
|
117925
|
+
},
|
|
117926
|
+
{
|
|
117927
|
+
"name": "message",
|
|
117928
|
+
"type": {
|
|
117929
|
+
"text": "string"
|
|
117930
|
+
}
|
|
117931
|
+
},
|
|
117932
|
+
{
|
|
117933
|
+
"name": "flagValue",
|
|
117934
|
+
"optional": true,
|
|
117935
|
+
"type": {
|
|
117936
|
+
"text": "ValidityStateFlags[T]"
|
|
117937
|
+
}
|
|
117938
|
+
}
|
|
117939
|
+
],
|
|
117940
|
+
"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).",
|
|
117941
|
+
"inheritedFrom": {
|
|
117942
|
+
"name": "SbbFormAssociatedMixin",
|
|
117943
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117944
|
+
}
|
|
117945
117945
|
},
|
|
117946
117946
|
{
|
|
117947
|
-
"
|
|
117948
|
-
"
|
|
117949
|
-
|
|
117947
|
+
"kind": "method",
|
|
117948
|
+
"name": "removeValidityFlag",
|
|
117949
|
+
"privacy": "protected",
|
|
117950
|
+
"return": {
|
|
117951
|
+
"type": {
|
|
117952
|
+
"text": "void"
|
|
117953
|
+
}
|
|
117950
117954
|
},
|
|
117951
|
-
"
|
|
117952
|
-
|
|
117953
|
-
|
|
117955
|
+
"parameters": [
|
|
117956
|
+
{
|
|
117957
|
+
"name": "flag",
|
|
117958
|
+
"type": {
|
|
117959
|
+
"text": "T"
|
|
117960
|
+
}
|
|
117961
|
+
}
|
|
117962
|
+
],
|
|
117963
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
117964
|
+
"inheritedFrom": {
|
|
117965
|
+
"name": "SbbFormAssociatedMixin",
|
|
117966
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117967
|
+
}
|
|
117954
117968
|
},
|
|
117955
117969
|
{
|
|
117956
|
-
"
|
|
117957
|
-
"
|
|
117958
|
-
|
|
117970
|
+
"kind": "method",
|
|
117971
|
+
"name": "validate",
|
|
117972
|
+
"privacy": "protected",
|
|
117973
|
+
"return": {
|
|
117974
|
+
"type": {
|
|
117975
|
+
"text": "void"
|
|
117976
|
+
}
|
|
117959
117977
|
},
|
|
117960
|
-
"description": "
|
|
117961
|
-
"
|
|
117962
|
-
|
|
117978
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
117979
|
+
"inheritedFrom": {
|
|
117980
|
+
"name": "SbbFormAssociatedMixin",
|
|
117981
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
117982
|
+
}
|
|
117963
117983
|
},
|
|
117964
117984
|
{
|
|
117965
|
-
"
|
|
117966
|
-
"
|
|
117967
|
-
"
|
|
117968
|
-
|
|
117985
|
+
"kind": "method",
|
|
117986
|
+
"name": "shouldValidate",
|
|
117987
|
+
"privacy": "protected",
|
|
117988
|
+
"return": {
|
|
117989
|
+
"type": {
|
|
117990
|
+
"text": "boolean"
|
|
117991
|
+
}
|
|
117969
117992
|
},
|
|
117970
|
-
"
|
|
117971
|
-
|
|
117972
|
-
|
|
117973
|
-
|
|
117974
|
-
|
|
117975
|
-
|
|
117976
|
-
|
|
117977
|
-
|
|
117978
|
-
|
|
117979
|
-
|
|
117980
|
-
|
|
117981
|
-
|
|
117982
|
-
|
|
117983
|
-
},
|
|
117984
|
-
{
|
|
117985
|
-
"kind": "variable",
|
|
117986
|
-
"name": "currentStep"
|
|
117987
|
-
}
|
|
117988
|
-
],
|
|
117989
|
-
"exports": [
|
|
117990
|
-
{
|
|
117991
|
-
"kind": "js",
|
|
117992
|
-
"name": "SbbStepChangeEvent",
|
|
117993
|
-
"declaration": {
|
|
117994
|
-
"name": "SbbStepChangeEvent",
|
|
117995
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
117996
|
-
}
|
|
117997
|
-
},
|
|
117998
|
-
{
|
|
117999
|
-
"kind": "js",
|
|
118000
|
-
"name": "SbbStepperElement",
|
|
118001
|
-
"declaration": {
|
|
118002
|
-
"name": "SbbStepperElement",
|
|
118003
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
118004
|
-
}
|
|
118005
|
-
}
|
|
118006
|
-
]
|
|
118007
|
-
},
|
|
118008
|
-
{
|
|
118009
|
-
"kind": "javascript-module",
|
|
118010
|
-
"path": "stepper/step-label/step-label.component.js",
|
|
118011
|
-
"declarations": [
|
|
118012
|
-
{
|
|
118013
|
-
"kind": "class",
|
|
118014
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
118015
|
-
"name": "SbbStepLabelElement",
|
|
118016
|
-
"slots": [
|
|
118017
|
-
{
|
|
118018
|
-
"description": "Use the unnamed slot to provide a label.",
|
|
118019
|
-
"name": ""
|
|
117993
|
+
"parameters": [
|
|
117994
|
+
{
|
|
117995
|
+
"name": "name",
|
|
117996
|
+
"type": {
|
|
117997
|
+
"text": "PropertyKey | undefined"
|
|
117998
|
+
}
|
|
117999
|
+
}
|
|
118000
|
+
],
|
|
118001
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
118002
|
+
"inheritedFrom": {
|
|
118003
|
+
"name": "SbbFormAssociatedMixin",
|
|
118004
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
118005
|
+
}
|
|
118020
118006
|
},
|
|
118021
118007
|
{
|
|
118022
|
-
"
|
|
118023
|
-
"name": "
|
|
118024
|
-
|
|
118025
|
-
|
|
118026
|
-
|
|
118027
|
-
|
|
118028
|
-
|
|
118029
|
-
"name": "elementName",
|
|
118030
|
-
"type": {
|
|
118031
|
-
"text": "string"
|
|
118008
|
+
"kind": "method",
|
|
118009
|
+
"name": "_setInternalValidity",
|
|
118010
|
+
"privacy": "private",
|
|
118011
|
+
"return": {
|
|
118012
|
+
"type": {
|
|
118013
|
+
"text": "void"
|
|
118014
|
+
}
|
|
118032
118015
|
},
|
|
118033
|
-
"privacy": "public",
|
|
118034
|
-
"static": true,
|
|
118035
|
-
"readonly": true,
|
|
118036
118016
|
"inheritedFrom": {
|
|
118037
|
-
"name": "
|
|
118038
|
-
"module": "core/
|
|
118039
|
-
}
|
|
118040
|
-
"default": "'sbb-step-label'"
|
|
118017
|
+
"name": "SbbFormAssociatedMixin",
|
|
118018
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
118019
|
+
}
|
|
118041
118020
|
},
|
|
118042
118021
|
{
|
|
118043
118022
|
"kind": "field",
|
|
118044
|
-
"name": "
|
|
118045
|
-
"
|
|
118046
|
-
|
|
118047
|
-
|
|
118048
|
-
|
|
118049
|
-
|
|
118050
|
-
|
|
118051
|
-
|
|
118023
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
118024
|
+
"privacy": "private",
|
|
118025
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
118026
|
+
"parameters": [
|
|
118027
|
+
{
|
|
118028
|
+
"description": "The origin event.",
|
|
118029
|
+
"name": "event"
|
|
118030
|
+
}
|
|
118031
|
+
],
|
|
118052
118032
|
"inheritedFrom": {
|
|
118053
118033
|
"name": "SbbButtonLikeBaseElement",
|
|
118054
118034
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -118056,528 +118036,608 @@
|
|
|
118056
118036
|
},
|
|
118057
118037
|
{
|
|
118058
118038
|
"kind": "field",
|
|
118059
|
-
"name": "
|
|
118060
|
-
"type": {
|
|
118061
|
-
"text": "SbbStepElement | null"
|
|
118062
|
-
},
|
|
118063
|
-
"privacy": "public",
|
|
118064
|
-
"description": "The step controlled by the label.",
|
|
118065
|
-
"readonly": true,
|
|
118066
|
-
"default": "null"
|
|
118067
|
-
},
|
|
118068
|
-
{
|
|
118069
|
-
"kind": "field",
|
|
118070
|
-
"name": "_step",
|
|
118071
|
-
"type": {
|
|
118072
|
-
"text": "SbbStepElement | null"
|
|
118073
|
-
},
|
|
118039
|
+
"name": "_removeActiveMarker",
|
|
118074
118040
|
"privacy": "private",
|
|
118075
|
-
"
|
|
118041
|
+
"inheritedFrom": {
|
|
118042
|
+
"name": "SbbButtonLikeBaseElement",
|
|
118043
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118044
|
+
}
|
|
118076
118045
|
},
|
|
118077
118046
|
{
|
|
118078
118047
|
"kind": "field",
|
|
118079
|
-
"name": "
|
|
118080
|
-
"
|
|
118081
|
-
|
|
118082
|
-
|
|
118083
|
-
|
|
118084
|
-
|
|
118048
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
118049
|
+
"privacy": "private",
|
|
118050
|
+
"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.",
|
|
118051
|
+
"parameters": [
|
|
118052
|
+
{
|
|
118053
|
+
"description": "The origin event.",
|
|
118054
|
+
"name": "event"
|
|
118055
|
+
}
|
|
118056
|
+
],
|
|
118057
|
+
"inheritedFrom": {
|
|
118058
|
+
"name": "SbbButtonLikeBaseElement",
|
|
118059
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118060
|
+
}
|
|
118085
118061
|
},
|
|
118086
118062
|
{
|
|
118087
118063
|
"kind": "field",
|
|
118088
|
-
"name": "
|
|
118089
|
-
"privacy": "
|
|
118090
|
-
"description": "Whether the component is disabled.",
|
|
118091
|
-
"default": "false",
|
|
118092
|
-
"type": {
|
|
118093
|
-
"text": "boolean"
|
|
118094
|
-
},
|
|
118095
|
-
"attribute": "disabled",
|
|
118096
|
-
"reflects": true,
|
|
118064
|
+
"name": "_dispatchClickEvent",
|
|
118065
|
+
"privacy": "private",
|
|
118097
118066
|
"inheritedFrom": {
|
|
118098
|
-
"name": "
|
|
118099
|
-
"module": "core/
|
|
118067
|
+
"name": "SbbButtonLikeBaseElement",
|
|
118068
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118100
118069
|
}
|
|
118101
118070
|
},
|
|
118102
118071
|
{
|
|
118103
118072
|
"kind": "field",
|
|
118104
|
-
"name": "
|
|
118073
|
+
"name": "maybeDisabled",
|
|
118105
118074
|
"type": {
|
|
118106
|
-
"text": "
|
|
118075
|
+
"text": "boolean | undefined"
|
|
118107
118076
|
},
|
|
118108
|
-
"privacy": "
|
|
118077
|
+
"privacy": "protected",
|
|
118078
|
+
"readonly": true,
|
|
118079
|
+
"inheritedFrom": {
|
|
118080
|
+
"name": "SbbActionBaseElement",
|
|
118081
|
+
"module": "core/base-elements/action-base-element.js"
|
|
118082
|
+
}
|
|
118109
118083
|
},
|
|
118110
118084
|
{
|
|
118111
118085
|
"kind": "field",
|
|
118112
|
-
"name": "
|
|
118086
|
+
"name": "maybeDisabledInteractive",
|
|
118113
118087
|
"type": {
|
|
118114
|
-
"text": "
|
|
118088
|
+
"text": "boolean | undefined"
|
|
118115
118089
|
},
|
|
118116
|
-
"privacy": "
|
|
118090
|
+
"privacy": "protected",
|
|
118091
|
+
"readonly": true,
|
|
118092
|
+
"inheritedFrom": {
|
|
118093
|
+
"name": "SbbActionBaseElement",
|
|
118094
|
+
"module": "core/base-elements/action-base-element.js"
|
|
118095
|
+
}
|
|
118117
118096
|
},
|
|
118118
118097
|
{
|
|
118119
118098
|
"kind": "method",
|
|
118120
|
-
"name": "
|
|
118121
|
-
"privacy": "
|
|
118099
|
+
"name": "setupBaseEventHandlers",
|
|
118100
|
+
"privacy": "protected",
|
|
118122
118101
|
"return": {
|
|
118123
118102
|
"type": {
|
|
118124
|
-
"text": "
|
|
118103
|
+
"text": "void"
|
|
118125
118104
|
}
|
|
118126
118105
|
},
|
|
118127
|
-
"
|
|
118128
|
-
|
|
118129
|
-
|
|
118130
|
-
|
|
118131
|
-
"text": "SbbStepElement"
|
|
118132
|
-
}
|
|
118133
|
-
}
|
|
118134
|
-
]
|
|
118106
|
+
"inheritedFrom": {
|
|
118107
|
+
"name": "SbbActionBaseElement",
|
|
118108
|
+
"module": "core/base-elements/action-base-element.js"
|
|
118109
|
+
}
|
|
118135
118110
|
},
|
|
118136
118111
|
{
|
|
118137
118112
|
"kind": "method",
|
|
118138
|
-
"name": "
|
|
118139
|
-
"privacy": "
|
|
118113
|
+
"name": "renderTemplate",
|
|
118114
|
+
"privacy": "protected",
|
|
118140
118115
|
"return": {
|
|
118141
118116
|
"type": {
|
|
118142
|
-
"text": "
|
|
118117
|
+
"text": "TemplateResult"
|
|
118143
118118
|
}
|
|
118119
|
+
},
|
|
118120
|
+
"description": "Override this method to render the component template.",
|
|
118121
|
+
"inheritedFrom": {
|
|
118122
|
+
"name": "SbbActionBaseElement",
|
|
118123
|
+
"module": "core/base-elements/action-base-element.js"
|
|
118144
118124
|
}
|
|
118145
118125
|
},
|
|
118146
118126
|
{
|
|
118147
118127
|
"kind": "field",
|
|
118148
|
-
"name": "
|
|
118128
|
+
"name": "_hydrationRequired",
|
|
118149
118129
|
"type": {
|
|
118150
|
-
"text": "
|
|
118130
|
+
"text": "boolean"
|
|
118151
118131
|
},
|
|
118152
|
-
"privacy": "
|
|
118153
|
-
"default": "
|
|
118154
|
-
"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.",
|
|
118155
|
-
"attribute": "icon-name",
|
|
118132
|
+
"privacy": "private",
|
|
118133
|
+
"default": "!!this.shadowRoot",
|
|
118156
118134
|
"inheritedFrom": {
|
|
118157
|
-
"name": "
|
|
118158
|
-
"module": "
|
|
118135
|
+
"name": "SbbElement",
|
|
118136
|
+
"module": "core/base-elements/element.js"
|
|
118137
|
+
}
|
|
118138
|
+
},
|
|
118139
|
+
{
|
|
118140
|
+
"kind": "field",
|
|
118141
|
+
"name": "_hydrationComplete",
|
|
118142
|
+
"privacy": "private",
|
|
118143
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
118144
|
+
"inheritedFrom": {
|
|
118145
|
+
"name": "SbbElement",
|
|
118146
|
+
"module": "core/base-elements/element.js"
|
|
118147
|
+
}
|
|
118148
|
+
},
|
|
118149
|
+
{
|
|
118150
|
+
"kind": "field",
|
|
118151
|
+
"name": "_resolveHydration",
|
|
118152
|
+
"type": {
|
|
118153
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
118154
|
+
},
|
|
118155
|
+
"privacy": "private",
|
|
118156
|
+
"inheritedFrom": {
|
|
118157
|
+
"name": "SbbElement",
|
|
118158
|
+
"module": "core/base-elements/element.js"
|
|
118159
118159
|
}
|
|
118160
118160
|
},
|
|
118161
|
+
{
|
|
118162
|
+
"kind": "field",
|
|
118163
|
+
"name": "hydrationRequired",
|
|
118164
|
+
"type": {
|
|
118165
|
+
"text": "boolean"
|
|
118166
|
+
},
|
|
118167
|
+
"privacy": "protected",
|
|
118168
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
118169
|
+
"readonly": true,
|
|
118170
|
+
"inheritedFrom": {
|
|
118171
|
+
"name": "SbbElement",
|
|
118172
|
+
"module": "core/base-elements/element.js"
|
|
118173
|
+
},
|
|
118174
|
+
"default": "!!this.shadowRoot"
|
|
118175
|
+
},
|
|
118161
118176
|
{
|
|
118162
118177
|
"kind": "method",
|
|
118163
|
-
"name": "
|
|
118178
|
+
"name": "toggleState",
|
|
118164
118179
|
"privacy": "protected",
|
|
118165
118180
|
"return": {
|
|
118166
118181
|
"type": {
|
|
118167
|
-
"text": "
|
|
118182
|
+
"text": "void"
|
|
118168
118183
|
}
|
|
118169
118184
|
},
|
|
118170
118185
|
"parameters": [
|
|
118171
118186
|
{
|
|
118172
|
-
"name": "
|
|
118173
|
-
"optional": true,
|
|
118187
|
+
"name": "value",
|
|
118174
118188
|
"type": {
|
|
118175
118189
|
"text": "string"
|
|
118176
118190
|
}
|
|
118191
|
+
},
|
|
118192
|
+
{
|
|
118193
|
+
"name": "force",
|
|
118194
|
+
"optional": true,
|
|
118195
|
+
"type": {
|
|
118196
|
+
"text": "boolean"
|
|
118197
|
+
}
|
|
118177
118198
|
}
|
|
118178
118199
|
],
|
|
118179
118200
|
"inheritedFrom": {
|
|
118180
|
-
"name": "
|
|
118181
|
-
"module": "
|
|
118201
|
+
"name": "SbbElement",
|
|
118202
|
+
"module": "core/base-elements/element.js"
|
|
118182
118203
|
}
|
|
118183
118204
|
},
|
|
118184
118205
|
{
|
|
118185
|
-
"kind": "
|
|
118186
|
-
"name": "
|
|
118187
|
-
"
|
|
118188
|
-
|
|
118189
|
-
"type": {
|
|
118190
|
-
"text": "string"
|
|
118191
|
-
}
|
|
118206
|
+
"kind": "field",
|
|
118207
|
+
"name": "['_$sbbElement$']",
|
|
118208
|
+
"type": {
|
|
118209
|
+
"text": "boolean"
|
|
118192
118210
|
},
|
|
118211
|
+
"privacy": "public",
|
|
118212
|
+
"static": true,
|
|
118213
|
+
"default": "true",
|
|
118193
118214
|
"inheritedFrom": {
|
|
118194
|
-
"name": "
|
|
118195
|
-
"module": "
|
|
118215
|
+
"name": "SbbElement",
|
|
118216
|
+
"module": "core/base-elements/element.js"
|
|
118217
|
+
}
|
|
118218
|
+
},
|
|
118219
|
+
{
|
|
118220
|
+
"kind": "field",
|
|
118221
|
+
"name": "_controllers",
|
|
118222
|
+
"type": {
|
|
118223
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
118224
|
+
},
|
|
118225
|
+
"privacy": "private",
|
|
118226
|
+
"inheritedFrom": {
|
|
118227
|
+
"name": "SbbElement",
|
|
118228
|
+
"module": "core/base-elements/element.js"
|
|
118196
118229
|
}
|
|
118230
|
+
}
|
|
118231
|
+
],
|
|
118232
|
+
"mixins": [
|
|
118233
|
+
{
|
|
118234
|
+
"name": "SbbIconNameMixin",
|
|
118235
|
+
"module": "icon.js"
|
|
118197
118236
|
},
|
|
118198
118237
|
{
|
|
118199
|
-
"
|
|
118200
|
-
"
|
|
118201
|
-
|
|
118202
|
-
|
|
118203
|
-
|
|
118204
|
-
|
|
118205
|
-
|
|
118238
|
+
"name": "SbbDisabledMixin",
|
|
118239
|
+
"module": "core/mixins.js"
|
|
118240
|
+
}
|
|
118241
|
+
],
|
|
118242
|
+
"superclass": {
|
|
118243
|
+
"name": "SbbButtonBaseElement",
|
|
118244
|
+
"module": "core/base-elements.js"
|
|
118245
|
+
},
|
|
118246
|
+
"tagName": "sbb-step-label",
|
|
118247
|
+
"customElement": true,
|
|
118248
|
+
"attributes": [
|
|
118249
|
+
{
|
|
118250
|
+
"name": "icon-name",
|
|
118251
|
+
"type": {
|
|
118252
|
+
"text": "string"
|
|
118206
118253
|
},
|
|
118254
|
+
"default": "''",
|
|
118255
|
+
"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.",
|
|
118256
|
+
"fieldName": "iconName",
|
|
118207
118257
|
"inheritedFrom": {
|
|
118208
118258
|
"name": "SbbIconNameMixin",
|
|
118209
118259
|
"module": "icon/icon-name-mixin.js"
|
|
118210
118260
|
}
|
|
118211
118261
|
},
|
|
118212
118262
|
{
|
|
118213
|
-
"
|
|
118214
|
-
"
|
|
118215
|
-
"
|
|
118263
|
+
"name": "disabled",
|
|
118264
|
+
"description": "Whether the component is disabled.",
|
|
118265
|
+
"default": "false",
|
|
118216
118266
|
"type": {
|
|
118217
118267
|
"text": "boolean"
|
|
118218
118268
|
},
|
|
118219
|
-
"
|
|
118269
|
+
"fieldName": "disabled",
|
|
118220
118270
|
"inheritedFrom": {
|
|
118221
118271
|
"name": "SbbDisabledMixin",
|
|
118222
118272
|
"module": "core/mixins/disabled-mixin.js"
|
|
118223
118273
|
}
|
|
118224
118274
|
},
|
|
118225
118275
|
{
|
|
118226
|
-
"
|
|
118227
|
-
"
|
|
118228
|
-
|
|
118229
|
-
"return": {
|
|
118230
|
-
"type": {
|
|
118231
|
-
"text": "boolean"
|
|
118232
|
-
}
|
|
118276
|
+
"name": "value",
|
|
118277
|
+
"type": {
|
|
118278
|
+
"text": "string"
|
|
118233
118279
|
},
|
|
118234
|
-
"
|
|
118280
|
+
"default": "''",
|
|
118281
|
+
"description": "Value of the form element.",
|
|
118282
|
+
"fieldName": "value",
|
|
118235
118283
|
"inheritedFrom": {
|
|
118236
|
-
"name": "
|
|
118237
|
-
"module": "core/
|
|
118284
|
+
"name": "SbbButtonBaseElement",
|
|
118285
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118238
118286
|
}
|
|
118239
118287
|
},
|
|
118240
118288
|
{
|
|
118241
|
-
"
|
|
118242
|
-
"
|
|
118289
|
+
"name": "type",
|
|
118290
|
+
"description": "The type attribute to use for the button.",
|
|
118291
|
+
"default": "'button'",
|
|
118243
118292
|
"type": {
|
|
118244
|
-
"text": "
|
|
118293
|
+
"text": "SbbButtonType"
|
|
118245
118294
|
},
|
|
118246
|
-
"
|
|
118247
|
-
"readonly": true,
|
|
118248
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
118295
|
+
"fieldName": "type",
|
|
118249
118296
|
"inheritedFrom": {
|
|
118250
118297
|
"name": "SbbButtonBaseElement",
|
|
118251
118298
|
"module": "core/base-elements/button-base-element.js"
|
|
118252
118299
|
}
|
|
118253
118300
|
},
|
|
118254
118301
|
{
|
|
118255
|
-
"
|
|
118256
|
-
"
|
|
118302
|
+
"name": "form",
|
|
118303
|
+
"description": "The `<form>` element to associate the button with.",
|
|
118257
118304
|
"type": {
|
|
118258
|
-
"text": "
|
|
118305
|
+
"text": "HTMLFormElement | null"
|
|
118259
118306
|
},
|
|
118260
|
-
"
|
|
118307
|
+
"fieldName": "form",
|
|
118261
118308
|
"inheritedFrom": {
|
|
118262
118309
|
"name": "SbbButtonBaseElement",
|
|
118263
118310
|
"module": "core/base-elements/button-base-element.js"
|
|
118264
|
-
}
|
|
118265
|
-
"default": "''",
|
|
118266
|
-
"description": "Value of the form element.",
|
|
118267
|
-
"attribute": "value"
|
|
118311
|
+
}
|
|
118268
118312
|
},
|
|
118269
118313
|
{
|
|
118270
|
-
"
|
|
118271
|
-
"
|
|
118272
|
-
"privacy": "public",
|
|
118273
|
-
"description": "The type attribute to use for the button.",
|
|
118274
|
-
"default": "'button'",
|
|
118314
|
+
"name": "name",
|
|
118315
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
118275
118316
|
"type": {
|
|
118276
|
-
"text": "
|
|
118317
|
+
"text": "string"
|
|
118277
118318
|
},
|
|
118278
|
-
"
|
|
118319
|
+
"fieldName": "name",
|
|
118279
118320
|
"inheritedFrom": {
|
|
118280
|
-
"name": "
|
|
118281
|
-
"module": "core/
|
|
118321
|
+
"name": "SbbFormAssociatedMixin",
|
|
118322
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
118282
118323
|
}
|
|
118324
|
+
}
|
|
118325
|
+
]
|
|
118326
|
+
}
|
|
118327
|
+
],
|
|
118328
|
+
"exports": [
|
|
118329
|
+
{
|
|
118330
|
+
"kind": "js",
|
|
118331
|
+
"name": "SbbStepLabelElement",
|
|
118332
|
+
"declaration": {
|
|
118333
|
+
"name": "SbbStepLabelElement",
|
|
118334
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
118335
|
+
}
|
|
118336
|
+
}
|
|
118337
|
+
]
|
|
118338
|
+
},
|
|
118339
|
+
{
|
|
118340
|
+
"kind": "javascript-module",
|
|
118341
|
+
"path": "stepper/stepper/stepper.component.js",
|
|
118342
|
+
"declarations": [
|
|
118343
|
+
{
|
|
118344
|
+
"kind": "class",
|
|
118345
|
+
"description": "",
|
|
118346
|
+
"name": "SbbStepChangeEvent",
|
|
118347
|
+
"members": [
|
|
118348
|
+
{
|
|
118349
|
+
"kind": "field",
|
|
118350
|
+
"name": "selectedIndex",
|
|
118351
|
+
"type": {
|
|
118352
|
+
"text": "number | null"
|
|
118353
|
+
},
|
|
118354
|
+
"privacy": "public",
|
|
118355
|
+
"readonly": true,
|
|
118356
|
+
"description": "The index of the newly selected step.",
|
|
118357
|
+
"default": "selectedIndex"
|
|
118283
118358
|
},
|
|
118284
118359
|
{
|
|
118285
118360
|
"kind": "field",
|
|
118286
|
-
"name": "
|
|
118361
|
+
"name": "previousIndex",
|
|
118287
118362
|
"type": {
|
|
118288
|
-
"text": "
|
|
118363
|
+
"text": "number | null"
|
|
118289
118364
|
},
|
|
118290
118365
|
"privacy": "public",
|
|
118291
|
-
"
|
|
118292
|
-
"
|
|
118293
|
-
|
|
118294
|
-
|
|
118366
|
+
"readonly": true,
|
|
118367
|
+
"description": "The index of the previously selected step.",
|
|
118368
|
+
"default": "previousIndex"
|
|
118369
|
+
},
|
|
118370
|
+
{
|
|
118371
|
+
"kind": "field",
|
|
118372
|
+
"name": "selectedStep",
|
|
118373
|
+
"type": {
|
|
118374
|
+
"text": "SbbStepElement | null"
|
|
118295
118375
|
},
|
|
118296
|
-
"
|
|
118376
|
+
"privacy": "public",
|
|
118377
|
+
"readonly": true,
|
|
118378
|
+
"description": "The newly selected step element.",
|
|
118379
|
+
"default": "selectedStep"
|
|
118297
118380
|
},
|
|
118298
118381
|
{
|
|
118299
118382
|
"kind": "field",
|
|
118300
|
-
"name": "
|
|
118383
|
+
"name": "previousStep",
|
|
118384
|
+
"type": {
|
|
118385
|
+
"text": "SbbStepElement | null"
|
|
118386
|
+
},
|
|
118387
|
+
"privacy": "public",
|
|
118388
|
+
"readonly": true,
|
|
118389
|
+
"description": "The previously selected step element.",
|
|
118390
|
+
"default": "previousStep"
|
|
118391
|
+
}
|
|
118392
|
+
],
|
|
118393
|
+
"superclass": {
|
|
118394
|
+
"name": "Event",
|
|
118395
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118396
|
+
}
|
|
118397
|
+
},
|
|
118398
|
+
{
|
|
118399
|
+
"kind": "class",
|
|
118400
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
118401
|
+
"name": "SbbStepperElement",
|
|
118402
|
+
"slots": [
|
|
118403
|
+
{
|
|
118404
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
118405
|
+
"name": ""
|
|
118406
|
+
},
|
|
118407
|
+
{
|
|
118408
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
118409
|
+
"name": "step-label"
|
|
118410
|
+
},
|
|
118411
|
+
{
|
|
118412
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
118413
|
+
"name": "step"
|
|
118414
|
+
}
|
|
118415
|
+
],
|
|
118416
|
+
"members": [
|
|
118417
|
+
{
|
|
118418
|
+
"kind": "field",
|
|
118419
|
+
"name": "elementName",
|
|
118301
118420
|
"type": {
|
|
118302
118421
|
"text": "string"
|
|
118303
118422
|
},
|
|
118304
|
-
"privacy": "
|
|
118305
|
-
"
|
|
118423
|
+
"privacy": "public",
|
|
118424
|
+
"static": true,
|
|
118425
|
+
"readonly": true,
|
|
118426
|
+
"default": "'sbb-stepper'",
|
|
118306
118427
|
"inheritedFrom": {
|
|
118307
|
-
"name": "
|
|
118308
|
-
"module": "core/base-elements/
|
|
118428
|
+
"name": "SbbElement",
|
|
118429
|
+
"module": "core/base-elements/element.js"
|
|
118309
118430
|
}
|
|
118310
118431
|
},
|
|
118311
118432
|
{
|
|
118312
118433
|
"kind": "field",
|
|
118313
|
-
"name": "
|
|
118314
|
-
"privacy": "
|
|
118315
|
-
"
|
|
118316
|
-
|
|
118317
|
-
|
|
118434
|
+
"name": "events",
|
|
118435
|
+
"privacy": "public",
|
|
118436
|
+
"static": true,
|
|
118437
|
+
"readonly": true,
|
|
118438
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
118439
|
+
"type": {
|
|
118440
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
118318
118441
|
}
|
|
118319
118442
|
},
|
|
118320
118443
|
{
|
|
118321
|
-
"kind": "
|
|
118322
|
-
"name": "
|
|
118444
|
+
"kind": "field",
|
|
118445
|
+
"name": "_observer",
|
|
118323
118446
|
"privacy": "private",
|
|
118324
|
-
"
|
|
118325
|
-
|
|
118326
|
-
|
|
118327
|
-
|
|
118447
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
118448
|
+
"description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
|
|
118449
|
+
},
|
|
118450
|
+
{
|
|
118451
|
+
"kind": "field",
|
|
118452
|
+
"name": "linear",
|
|
118453
|
+
"type": {
|
|
118454
|
+
"text": "boolean"
|
|
118328
118455
|
},
|
|
118329
|
-
"
|
|
118330
|
-
|
|
118331
|
-
|
|
118332
|
-
|
|
118333
|
-
|
|
118334
|
-
|
|
118335
|
-
|
|
118336
|
-
|
|
118337
|
-
"
|
|
118338
|
-
|
|
118339
|
-
|
|
118340
|
-
|
|
118456
|
+
"privacy": "public",
|
|
118457
|
+
"default": "false",
|
|
118458
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
118459
|
+
"attribute": "linear"
|
|
118460
|
+
},
|
|
118461
|
+
{
|
|
118462
|
+
"kind": "field",
|
|
118463
|
+
"name": "horizontalFrom",
|
|
118464
|
+
"privacy": "public",
|
|
118465
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
118466
|
+
"type": {
|
|
118467
|
+
"text": "SbbHorizontalFrom | null"
|
|
118468
|
+
},
|
|
118469
|
+
"attribute": "horizontal-from",
|
|
118470
|
+
"reflects": true,
|
|
118471
|
+
"default": "null"
|
|
118472
|
+
},
|
|
118473
|
+
{
|
|
118474
|
+
"kind": "field",
|
|
118475
|
+
"name": "_horizontalFrom",
|
|
118476
|
+
"type": {
|
|
118477
|
+
"text": "SbbHorizontalFrom | null"
|
|
118478
|
+
},
|
|
118479
|
+
"privacy": "private",
|
|
118480
|
+
"default": "null"
|
|
118341
118481
|
},
|
|
118342
118482
|
{
|
|
118343
118483
|
"kind": "field",
|
|
118344
|
-
"name": "
|
|
118345
|
-
"
|
|
118346
|
-
|
|
118347
|
-
|
|
118348
|
-
|
|
118349
|
-
|
|
118484
|
+
"name": "orientation",
|
|
118485
|
+
"type": {
|
|
118486
|
+
"text": "SbbOrientation"
|
|
118487
|
+
},
|
|
118488
|
+
"privacy": "public",
|
|
118489
|
+
"default": "'horizontal'",
|
|
118490
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
118491
|
+
"attribute": "orientation",
|
|
118492
|
+
"reflects": true
|
|
118350
118493
|
},
|
|
118351
118494
|
{
|
|
118352
118495
|
"kind": "field",
|
|
118353
|
-
"name": "
|
|
118496
|
+
"name": "size",
|
|
118354
118497
|
"type": {
|
|
118355
|
-
"text": "
|
|
118498
|
+
"text": "'s' | 'm'"
|
|
118356
118499
|
},
|
|
118357
118500
|
"privacy": "public",
|
|
118358
|
-
"
|
|
118359
|
-
"default": "
|
|
118360
|
-
"
|
|
118361
|
-
|
|
118362
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118363
|
-
}
|
|
118501
|
+
"description": "Size variant, either s or m.",
|
|
118502
|
+
"default": "'m' / 's' (lean)",
|
|
118503
|
+
"attribute": "size",
|
|
118504
|
+
"reflects": true
|
|
118364
118505
|
},
|
|
118365
118506
|
{
|
|
118366
118507
|
"kind": "field",
|
|
118367
|
-
"name": "
|
|
118508
|
+
"name": "selected",
|
|
118368
118509
|
"privacy": "public",
|
|
118369
|
-
"description": "
|
|
118510
|
+
"description": "The currently selected step.",
|
|
118370
118511
|
"type": {
|
|
118371
|
-
"text": "
|
|
118372
|
-
},
|
|
118373
|
-
"attribute": "name",
|
|
118374
|
-
"inheritedFrom": {
|
|
118375
|
-
"name": "SbbFormAssociatedMixin",
|
|
118376
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118512
|
+
"text": "SbbStepElement | null"
|
|
118377
118513
|
}
|
|
118378
118514
|
},
|
|
118379
118515
|
{
|
|
118380
118516
|
"kind": "field",
|
|
118381
|
-
"name": "
|
|
118517
|
+
"name": "_requestedSelected",
|
|
118382
118518
|
"type": {
|
|
118383
|
-
"text": "
|
|
118519
|
+
"text": "SbbStepElement | null"
|
|
118384
118520
|
},
|
|
118521
|
+
"privacy": "private",
|
|
118522
|
+
"default": "null"
|
|
118523
|
+
},
|
|
118524
|
+
{
|
|
118525
|
+
"kind": "field",
|
|
118526
|
+
"name": "selectedIndex",
|
|
118385
118527
|
"privacy": "public",
|
|
118386
|
-
"description": "
|
|
118387
|
-
"
|
|
118388
|
-
|
|
118389
|
-
|
|
118390
|
-
|
|
118391
|
-
}
|
|
118528
|
+
"description": "The currently selected step index.",
|
|
118529
|
+
"type": {
|
|
118530
|
+
"text": "number | null"
|
|
118531
|
+
},
|
|
118532
|
+
"attribute": "selected-index"
|
|
118392
118533
|
},
|
|
118393
118534
|
{
|
|
118394
118535
|
"kind": "field",
|
|
118395
|
-
"name": "
|
|
118536
|
+
"name": "_requestedSelectedIndex",
|
|
118396
118537
|
"type": {
|
|
118397
|
-
"text": "
|
|
118538
|
+
"text": "number | null"
|
|
118398
118539
|
},
|
|
118399
|
-
"privacy": "
|
|
118400
|
-
"
|
|
118401
|
-
"readonly": true,
|
|
118402
|
-
"inheritedFrom": {
|
|
118403
|
-
"name": "SbbFormAssociatedMixin",
|
|
118404
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118405
|
-
}
|
|
118540
|
+
"privacy": "private",
|
|
118541
|
+
"default": "null"
|
|
118406
118542
|
},
|
|
118407
118543
|
{
|
|
118408
118544
|
"kind": "field",
|
|
118409
|
-
"name": "
|
|
118545
|
+
"name": "steps",
|
|
118410
118546
|
"type": {
|
|
118411
|
-
"text": "
|
|
118547
|
+
"text": "SbbStepElement[]"
|
|
118412
118548
|
},
|
|
118413
118549
|
"privacy": "public",
|
|
118414
|
-
"description": "
|
|
118415
|
-
"readonly": true
|
|
118416
|
-
"inheritedFrom": {
|
|
118417
|
-
"name": "SbbFormAssociatedMixin",
|
|
118418
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118419
|
-
}
|
|
118550
|
+
"description": "The steps of the stepper.",
|
|
118551
|
+
"readonly": true
|
|
118420
118552
|
},
|
|
118421
118553
|
{
|
|
118422
118554
|
"kind": "field",
|
|
118423
|
-
"name": "
|
|
118555
|
+
"name": "_enabledSteps",
|
|
118556
|
+
"type": {
|
|
118557
|
+
"text": "SbbStepElement[]"
|
|
118558
|
+
},
|
|
118424
118559
|
"privacy": "private",
|
|
118425
|
-
"
|
|
118426
|
-
"inheritedFrom": {
|
|
118427
|
-
"name": "SbbFormAssociatedMixin",
|
|
118428
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118429
|
-
}
|
|
118560
|
+
"readonly": true
|
|
118430
118561
|
},
|
|
118431
118562
|
{
|
|
118432
118563
|
"kind": "field",
|
|
118433
|
-
"name": "
|
|
118564
|
+
"name": "_loaded",
|
|
118434
118565
|
"type": {
|
|
118435
118566
|
"text": "boolean"
|
|
118436
118567
|
},
|
|
118437
|
-
"privacy": "
|
|
118438
|
-
"default": "false"
|
|
118439
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
118440
|
-
"inheritedFrom": {
|
|
118441
|
-
"name": "SbbFormAssociatedMixin",
|
|
118442
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118443
|
-
}
|
|
118568
|
+
"privacy": "private",
|
|
118569
|
+
"default": "false"
|
|
118444
118570
|
},
|
|
118445
118571
|
{
|
|
118446
|
-
"kind": "
|
|
118447
|
-
"name": "
|
|
118448
|
-
"
|
|
118449
|
-
|
|
118450
|
-
"type": {
|
|
118451
|
-
"text": "boolean"
|
|
118452
|
-
}
|
|
118572
|
+
"kind": "field",
|
|
118573
|
+
"name": "_resizeObserverTimeout",
|
|
118574
|
+
"type": {
|
|
118575
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
118453
118576
|
},
|
|
118454
|
-
"
|
|
118455
|
-
"
|
|
118456
|
-
"name": "SbbFormAssociatedMixin",
|
|
118457
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118458
|
-
}
|
|
118577
|
+
"privacy": "private",
|
|
118578
|
+
"default": "null"
|
|
118459
118579
|
},
|
|
118460
118580
|
{
|
|
118461
|
-
"kind": "
|
|
118462
|
-
"name": "
|
|
118463
|
-
"privacy": "
|
|
118464
|
-
"
|
|
118465
|
-
"type": {
|
|
118466
|
-
"text": "boolean"
|
|
118467
|
-
}
|
|
118468
|
-
},
|
|
118469
|
-
"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.",
|
|
118470
|
-
"inheritedFrom": {
|
|
118471
|
-
"name": "SbbFormAssociatedMixin",
|
|
118472
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118473
|
-
}
|
|
118581
|
+
"kind": "field",
|
|
118582
|
+
"name": "_mediaMatcher",
|
|
118583
|
+
"privacy": "private",
|
|
118584
|
+
"default": "new SbbMediaMatcherController(this, {})"
|
|
118474
118585
|
},
|
|
118475
118586
|
{
|
|
118476
118587
|
"kind": "method",
|
|
118477
|
-
"name": "
|
|
118588
|
+
"name": "next",
|
|
118478
118589
|
"privacy": "public",
|
|
118479
118590
|
"return": {
|
|
118480
118591
|
"type": {
|
|
118481
118592
|
"text": "void"
|
|
118482
118593
|
}
|
|
118483
118594
|
},
|
|
118484
|
-
"
|
|
118485
|
-
{
|
|
118486
|
-
"name": "message",
|
|
118487
|
-
"type": {
|
|
118488
|
-
"text": "string"
|
|
118489
|
-
}
|
|
118490
|
-
}
|
|
118491
|
-
],
|
|
118492
|
-
"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.",
|
|
118493
|
-
"inheritedFrom": {
|
|
118494
|
-
"name": "SbbFormAssociatedMixin",
|
|
118495
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118496
|
-
}
|
|
118497
|
-
},
|
|
118498
|
-
{
|
|
118499
|
-
"kind": "method",
|
|
118500
|
-
"name": "_hasDisabledAncestor",
|
|
118501
|
-
"privacy": "private",
|
|
118502
|
-
"return": {
|
|
118503
|
-
"type": {
|
|
118504
|
-
"text": "boolean"
|
|
118505
|
-
}
|
|
118506
|
-
},
|
|
118507
|
-
"inheritedFrom": {
|
|
118508
|
-
"name": "SbbFormAssociatedMixin",
|
|
118509
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118510
|
-
}
|
|
118595
|
+
"description": "Selects the next step."
|
|
118511
118596
|
},
|
|
118512
118597
|
{
|
|
118513
118598
|
"kind": "method",
|
|
118514
|
-
"name": "
|
|
118515
|
-
"privacy": "
|
|
118599
|
+
"name": "previous",
|
|
118600
|
+
"privacy": "public",
|
|
118516
118601
|
"return": {
|
|
118517
118602
|
"type": {
|
|
118518
118603
|
"text": "void"
|
|
118519
118604
|
}
|
|
118520
118605
|
},
|
|
118521
|
-
"description": "
|
|
118522
|
-
"inheritedFrom": {
|
|
118523
|
-
"name": "SbbFormAssociatedMixin",
|
|
118524
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118525
|
-
}
|
|
118606
|
+
"description": "Selects the previous step."
|
|
118526
118607
|
},
|
|
118527
118608
|
{
|
|
118528
118609
|
"kind": "method",
|
|
118529
|
-
"name": "
|
|
118530
|
-
"privacy": "
|
|
118610
|
+
"name": "reset",
|
|
118611
|
+
"privacy": "public",
|
|
118531
118612
|
"return": {
|
|
118532
118613
|
"type": {
|
|
118533
|
-
"text": "
|
|
118614
|
+
"text": "void"
|
|
118534
118615
|
}
|
|
118535
118616
|
},
|
|
118536
|
-
"
|
|
118537
|
-
"name": "SbbFormAssociatedMixin",
|
|
118538
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118539
|
-
}
|
|
118617
|
+
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
118540
118618
|
},
|
|
118541
118619
|
{
|
|
118542
118620
|
"kind": "method",
|
|
118543
|
-
"name": "
|
|
118544
|
-
"privacy": "
|
|
118621
|
+
"name": "_isSelectable",
|
|
118622
|
+
"privacy": "private",
|
|
118545
118623
|
"return": {
|
|
118546
118624
|
"type": {
|
|
118547
|
-
"text": "
|
|
118625
|
+
"text": "step is SbbStepElement"
|
|
118548
118626
|
}
|
|
118549
118627
|
},
|
|
118550
118628
|
"parameters": [
|
|
118551
118629
|
{
|
|
118552
|
-
"name": "
|
|
118553
|
-
"type": {
|
|
118554
|
-
"text": "T"
|
|
118555
|
-
}
|
|
118556
|
-
},
|
|
118557
|
-
{
|
|
118558
|
-
"name": "message",
|
|
118559
|
-
"type": {
|
|
118560
|
-
"text": "string"
|
|
118561
|
-
}
|
|
118562
|
-
},
|
|
118563
|
-
{
|
|
118564
|
-
"name": "flagValue",
|
|
118565
|
-
"optional": true,
|
|
118630
|
+
"name": "step",
|
|
118566
118631
|
"type": {
|
|
118567
|
-
"text": "
|
|
118632
|
+
"text": "SbbStepElement | null"
|
|
118568
118633
|
}
|
|
118569
118634
|
}
|
|
118570
|
-
]
|
|
118571
|
-
"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).",
|
|
118572
|
-
"inheritedFrom": {
|
|
118573
|
-
"name": "SbbFormAssociatedMixin",
|
|
118574
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118575
|
-
}
|
|
118635
|
+
]
|
|
118576
118636
|
},
|
|
118577
118637
|
{
|
|
118578
118638
|
"kind": "method",
|
|
118579
|
-
"name": "
|
|
118580
|
-
"privacy": "
|
|
118639
|
+
"name": "_select",
|
|
118640
|
+
"privacy": "private",
|
|
118581
118641
|
"return": {
|
|
118582
118642
|
"type": {
|
|
118583
118643
|
"text": "void"
|
|
@@ -118585,174 +118645,132 @@
|
|
|
118585
118645
|
},
|
|
118586
118646
|
"parameters": [
|
|
118587
118647
|
{
|
|
118588
|
-
"name": "
|
|
118648
|
+
"name": "step",
|
|
118589
118649
|
"type": {
|
|
118590
|
-
"text": "
|
|
118650
|
+
"text": "SbbStepElement | null"
|
|
118591
118651
|
}
|
|
118592
118652
|
}
|
|
118593
|
-
]
|
|
118594
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
118595
|
-
"inheritedFrom": {
|
|
118596
|
-
"name": "SbbFormAssociatedMixin",
|
|
118597
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118598
|
-
}
|
|
118653
|
+
]
|
|
118599
118654
|
},
|
|
118600
118655
|
{
|
|
118601
118656
|
"kind": "method",
|
|
118602
|
-
"name": "
|
|
118603
|
-
"privacy": "
|
|
118657
|
+
"name": "_setMarkerSize",
|
|
118658
|
+
"privacy": "private",
|
|
118604
118659
|
"return": {
|
|
118605
118660
|
"type": {
|
|
118606
118661
|
"text": "void"
|
|
118607
118662
|
}
|
|
118608
|
-
},
|
|
118609
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
118610
|
-
"inheritedFrom": {
|
|
118611
|
-
"name": "SbbFormAssociatedMixin",
|
|
118612
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118613
118663
|
}
|
|
118614
118664
|
},
|
|
118615
118665
|
{
|
|
118616
118666
|
"kind": "method",
|
|
118617
|
-
"name": "
|
|
118618
|
-
"privacy": "
|
|
118667
|
+
"name": "_setStepperHeight",
|
|
118668
|
+
"privacy": "private",
|
|
118619
118669
|
"return": {
|
|
118620
118670
|
"type": {
|
|
118621
|
-
"text": "
|
|
118671
|
+
"text": "void"
|
|
118622
118672
|
}
|
|
118623
118673
|
},
|
|
118624
118674
|
"parameters": [
|
|
118625
118675
|
{
|
|
118626
|
-
"name": "
|
|
118676
|
+
"name": "step",
|
|
118627
118677
|
"type": {
|
|
118628
|
-
"text": "
|
|
118678
|
+
"text": "SbbStepElement | null"
|
|
118629
118679
|
}
|
|
118630
118680
|
}
|
|
118631
118681
|
],
|
|
118632
|
-
"description": "
|
|
118633
|
-
"inheritedFrom": {
|
|
118634
|
-
"name": "SbbFormAssociatedMixin",
|
|
118635
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118636
|
-
}
|
|
118682
|
+
"description": "Sets the stepper height based on the height of the provided step."
|
|
118637
118683
|
},
|
|
118638
118684
|
{
|
|
118639
118685
|
"kind": "method",
|
|
118640
|
-
"name": "
|
|
118686
|
+
"name": "_calculateLabelOffsetTop",
|
|
118641
118687
|
"privacy": "private",
|
|
118642
118688
|
"return": {
|
|
118643
118689
|
"type": {
|
|
118644
|
-
"text": "
|
|
118690
|
+
"text": "number | undefined"
|
|
118645
118691
|
}
|
|
118646
|
-
},
|
|
118647
|
-
"inheritedFrom": {
|
|
118648
|
-
"name": "SbbFormAssociatedMixin",
|
|
118649
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118650
118692
|
}
|
|
118651
118693
|
},
|
|
118652
118694
|
{
|
|
118653
|
-
"kind": "
|
|
118654
|
-
"name": "
|
|
118695
|
+
"kind": "method",
|
|
118696
|
+
"name": "_onSelectedStepResize",
|
|
118655
118697
|
"privacy": "private",
|
|
118656
|
-
"
|
|
118698
|
+
"return": {
|
|
118699
|
+
"type": {
|
|
118700
|
+
"text": "void"
|
|
118701
|
+
}
|
|
118702
|
+
},
|
|
118657
118703
|
"parameters": [
|
|
118658
118704
|
{
|
|
118659
|
-
"
|
|
118660
|
-
"
|
|
118705
|
+
"name": "e",
|
|
118706
|
+
"type": {
|
|
118707
|
+
"text": "Event"
|
|
118708
|
+
}
|
|
118661
118709
|
}
|
|
118662
|
-
]
|
|
118663
|
-
"inheritedFrom": {
|
|
118664
|
-
"name": "SbbButtonLikeBaseElement",
|
|
118665
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118666
|
-
}
|
|
118710
|
+
]
|
|
118667
118711
|
},
|
|
118668
118712
|
{
|
|
118669
|
-
"kind": "
|
|
118670
|
-
"name": "
|
|
118713
|
+
"kind": "method",
|
|
118714
|
+
"name": "_configure",
|
|
118671
118715
|
"privacy": "private",
|
|
118672
|
-
"
|
|
118673
|
-
"
|
|
118674
|
-
|
|
118716
|
+
"return": {
|
|
118717
|
+
"type": {
|
|
118718
|
+
"text": "void"
|
|
118719
|
+
}
|
|
118675
118720
|
}
|
|
118676
118721
|
},
|
|
118677
118722
|
{
|
|
118678
|
-
"kind": "
|
|
118679
|
-
"name": "
|
|
118723
|
+
"kind": "method",
|
|
118724
|
+
"name": "_updateLabels",
|
|
118680
118725
|
"privacy": "private",
|
|
118681
|
-
"
|
|
118682
|
-
|
|
118683
|
-
|
|
118684
|
-
"description": "The origin event.",
|
|
118685
|
-
"name": "event"
|
|
118726
|
+
"return": {
|
|
118727
|
+
"type": {
|
|
118728
|
+
"text": "void"
|
|
118686
118729
|
}
|
|
118687
|
-
],
|
|
118688
|
-
"inheritedFrom": {
|
|
118689
|
-
"name": "SbbButtonLikeBaseElement",
|
|
118690
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118691
118730
|
}
|
|
118692
118731
|
},
|
|
118693
118732
|
{
|
|
118694
|
-
"kind": "
|
|
118695
|
-
"name": "
|
|
118733
|
+
"kind": "method",
|
|
118734
|
+
"name": "_checkOrientation",
|
|
118696
118735
|
"privacy": "private",
|
|
118697
|
-
"
|
|
118698
|
-
"
|
|
118699
|
-
|
|
118700
|
-
|
|
118701
|
-
},
|
|
118702
|
-
{
|
|
118703
|
-
"kind": "field",
|
|
118704
|
-
"name": "maybeDisabled",
|
|
118705
|
-
"type": {
|
|
118706
|
-
"text": "boolean | undefined"
|
|
118707
|
-
},
|
|
118708
|
-
"privacy": "protected",
|
|
118709
|
-
"readonly": true,
|
|
118710
|
-
"inheritedFrom": {
|
|
118711
|
-
"name": "SbbActionBaseElement",
|
|
118712
|
-
"module": "core/base-elements/action-base-element.js"
|
|
118736
|
+
"return": {
|
|
118737
|
+
"type": {
|
|
118738
|
+
"text": "void"
|
|
118739
|
+
}
|
|
118713
118740
|
}
|
|
118714
118741
|
},
|
|
118715
118742
|
{
|
|
118716
118743
|
"kind": "field",
|
|
118717
|
-
"name": "
|
|
118718
|
-
"
|
|
118719
|
-
"text": "boolean | undefined"
|
|
118720
|
-
},
|
|
118721
|
-
"privacy": "protected",
|
|
118722
|
-
"readonly": true,
|
|
118723
|
-
"inheritedFrom": {
|
|
118724
|
-
"name": "SbbActionBaseElement",
|
|
118725
|
-
"module": "core/base-elements/action-base-element.js"
|
|
118726
|
-
}
|
|
118744
|
+
"name": "_onStepperResize",
|
|
118745
|
+
"privacy": "private"
|
|
118727
118746
|
},
|
|
118728
118747
|
{
|
|
118729
118748
|
"kind": "method",
|
|
118730
|
-
"name": "
|
|
118731
|
-
"privacy": "
|
|
118749
|
+
"name": "_configureLinearMode",
|
|
118750
|
+
"privacy": "private",
|
|
118732
118751
|
"return": {
|
|
118733
118752
|
"type": {
|
|
118734
118753
|
"text": "void"
|
|
118735
118754
|
}
|
|
118736
|
-
},
|
|
118737
|
-
"inheritedFrom": {
|
|
118738
|
-
"name": "SbbActionBaseElement",
|
|
118739
|
-
"module": "core/base-elements/action-base-element.js"
|
|
118740
118755
|
}
|
|
118741
118756
|
},
|
|
118742
118757
|
{
|
|
118743
118758
|
"kind": "method",
|
|
118744
|
-
"name": "
|
|
118745
|
-
"privacy": "
|
|
118759
|
+
"name": "_handleKeyDown",
|
|
118760
|
+
"privacy": "private",
|
|
118746
118761
|
"return": {
|
|
118747
118762
|
"type": {
|
|
118748
|
-
"text": "
|
|
118763
|
+
"text": "void"
|
|
118749
118764
|
}
|
|
118750
118765
|
},
|
|
118751
|
-
"
|
|
118752
|
-
|
|
118753
|
-
|
|
118754
|
-
|
|
118755
|
-
|
|
118766
|
+
"parameters": [
|
|
118767
|
+
{
|
|
118768
|
+
"name": "evt",
|
|
118769
|
+
"type": {
|
|
118770
|
+
"text": "KeyboardEvent"
|
|
118771
|
+
}
|
|
118772
|
+
}
|
|
118773
|
+
]
|
|
118756
118774
|
},
|
|
118757
118775
|
{
|
|
118758
118776
|
"kind": "field",
|
|
@@ -118860,109 +118878,91 @@
|
|
|
118860
118878
|
}
|
|
118861
118879
|
}
|
|
118862
118880
|
],
|
|
118863
|
-
"
|
|
118864
|
-
{
|
|
118865
|
-
"name": "SbbIconNameMixin",
|
|
118866
|
-
"module": "icon.js"
|
|
118867
|
-
},
|
|
118881
|
+
"events": [
|
|
118868
118882
|
{
|
|
118869
|
-
"
|
|
118870
|
-
|
|
118883
|
+
"type": {
|
|
118884
|
+
"text": "SbbStepChangeEvent"
|
|
118885
|
+
},
|
|
118886
|
+
"description": "Emits whenever a step was changed.",
|
|
118887
|
+
"name": "stepchange"
|
|
118871
118888
|
}
|
|
118872
118889
|
],
|
|
118873
|
-
"superclass": {
|
|
118874
|
-
"name": "SbbButtonBaseElement",
|
|
118875
|
-
"module": "core/base-elements.js"
|
|
118876
|
-
},
|
|
118877
|
-
"tagName": "sbb-step-label",
|
|
118878
|
-
"customElement": true,
|
|
118879
118890
|
"attributes": [
|
|
118880
118891
|
{
|
|
118881
|
-
"name": "
|
|
118882
|
-
"type": {
|
|
118883
|
-
"text": "string"
|
|
118884
|
-
},
|
|
118885
|
-
"default": "''",
|
|
118886
|
-
"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.",
|
|
118887
|
-
"fieldName": "iconName",
|
|
118888
|
-
"inheritedFrom": {
|
|
118889
|
-
"name": "SbbIconNameMixin",
|
|
118890
|
-
"module": "icon/icon-name-mixin.js"
|
|
118891
|
-
}
|
|
118892
|
-
},
|
|
118893
|
-
{
|
|
118894
|
-
"name": "disabled",
|
|
118895
|
-
"description": "Whether the component is disabled.",
|
|
118896
|
-
"default": "false",
|
|
118892
|
+
"name": "linear",
|
|
118897
118893
|
"type": {
|
|
118898
118894
|
"text": "boolean"
|
|
118899
118895
|
},
|
|
118900
|
-
"
|
|
118901
|
-
"
|
|
118902
|
-
|
|
118903
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
118904
|
-
}
|
|
118896
|
+
"default": "false",
|
|
118897
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
118898
|
+
"fieldName": "linear"
|
|
118905
118899
|
},
|
|
118906
118900
|
{
|
|
118907
|
-
"name": "
|
|
118901
|
+
"name": "horizontal-from",
|
|
118902
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
118908
118903
|
"type": {
|
|
118909
|
-
"text": "
|
|
118904
|
+
"text": "SbbHorizontalFrom | null"
|
|
118910
118905
|
},
|
|
118911
|
-
"
|
|
118912
|
-
"description": "Value of the form element.",
|
|
118913
|
-
"fieldName": "value",
|
|
118914
|
-
"inheritedFrom": {
|
|
118915
|
-
"name": "SbbButtonBaseElement",
|
|
118916
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118917
|
-
}
|
|
118906
|
+
"fieldName": "horizontalFrom"
|
|
118918
118907
|
},
|
|
118919
118908
|
{
|
|
118920
|
-
"name": "
|
|
118921
|
-
"description": "The type attribute to use for the button.",
|
|
118922
|
-
"default": "'button'",
|
|
118909
|
+
"name": "orientation",
|
|
118923
118910
|
"type": {
|
|
118924
|
-
"text": "
|
|
118911
|
+
"text": "SbbOrientation"
|
|
118925
118912
|
},
|
|
118926
|
-
"
|
|
118927
|
-
"
|
|
118928
|
-
|
|
118929
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118930
|
-
}
|
|
118913
|
+
"default": "'horizontal'",
|
|
118914
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
118915
|
+
"fieldName": "orientation"
|
|
118931
118916
|
},
|
|
118932
118917
|
{
|
|
118933
|
-
"name": "
|
|
118934
|
-
"description": "The `<form>` element to associate the button with.",
|
|
118918
|
+
"name": "size",
|
|
118935
118919
|
"type": {
|
|
118936
|
-
"text": "
|
|
118920
|
+
"text": "'s' | 'm'"
|
|
118937
118921
|
},
|
|
118938
|
-
"
|
|
118939
|
-
"
|
|
118940
|
-
|
|
118941
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118942
|
-
}
|
|
118922
|
+
"description": "Size variant, either s or m.",
|
|
118923
|
+
"default": "'m' / 's' (lean)",
|
|
118924
|
+
"fieldName": "size"
|
|
118943
118925
|
},
|
|
118944
118926
|
{
|
|
118945
|
-
"name": "
|
|
118946
|
-
"description": "
|
|
118927
|
+
"name": "selected-index",
|
|
118928
|
+
"description": "The currently selected step index.",
|
|
118947
118929
|
"type": {
|
|
118948
|
-
"text": "
|
|
118930
|
+
"text": "number | null"
|
|
118949
118931
|
},
|
|
118950
|
-
"fieldName": "
|
|
118951
|
-
"inheritedFrom": {
|
|
118952
|
-
"name": "SbbFormAssociatedMixin",
|
|
118953
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
118954
|
-
}
|
|
118932
|
+
"fieldName": "selectedIndex"
|
|
118955
118933
|
}
|
|
118956
|
-
]
|
|
118934
|
+
],
|
|
118935
|
+
"superclass": {
|
|
118936
|
+
"name": "SbbElement",
|
|
118937
|
+
"module": "core/base-elements.js"
|
|
118938
|
+
},
|
|
118939
|
+
"tagName": "sbb-stepper",
|
|
118940
|
+
"customElement": true
|
|
118941
|
+
},
|
|
118942
|
+
{
|
|
118943
|
+
"kind": "variable",
|
|
118944
|
+
"name": "currentIndex"
|
|
118945
|
+
},
|
|
118946
|
+
{
|
|
118947
|
+
"kind": "variable",
|
|
118948
|
+
"name": "currentStep"
|
|
118957
118949
|
}
|
|
118958
118950
|
],
|
|
118959
118951
|
"exports": [
|
|
118960
118952
|
{
|
|
118961
118953
|
"kind": "js",
|
|
118962
|
-
"name": "
|
|
118954
|
+
"name": "SbbStepChangeEvent",
|
|
118963
118955
|
"declaration": {
|
|
118964
|
-
"name": "
|
|
118965
|
-
"module": "stepper/
|
|
118956
|
+
"name": "SbbStepChangeEvent",
|
|
118957
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118958
|
+
}
|
|
118959
|
+
},
|
|
118960
|
+
{
|
|
118961
|
+
"kind": "js",
|
|
118962
|
+
"name": "SbbStepperElement",
|
|
118963
|
+
"declaration": {
|
|
118964
|
+
"name": "SbbStepperElement",
|
|
118965
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118966
118966
|
}
|
|
118967
118967
|
}
|
|
118968
118968
|
]
|