@sbb-esta/lyne-elements-dev 4.7.0-dev.1773224724 → 4.7.0-dev.1773236484
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/action-group/action-group.component.js +1 -1
- package/checkbox-group/checkbox-group.component.js +1 -1
- package/custom-elements.json +807 -807
- package/development/action-group/action-group.component.d.ts +1 -1
- package/development/action-group/action-group.component.js +2 -2
- package/development/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/development/checkbox-group/checkbox-group.component.d.ts.map +1 -1
- package/development/checkbox-group/checkbox-group.component.js +2 -2
- package/development/header/header/header.component.js +1 -1
- package/development/image/image.component.d.ts +1 -1
- package/development/image/image.component.js +2 -2
- package/development/radio-button-group/radio-button-group.component.d.ts +1 -1
- package/development/radio-button-group/radio-button-group.component.js +2 -2
- package/image/image.component.js +1 -1
- package/package.json +2 -2
- package/radio-button-group/radio-button-group.component.js +1 -1
package/custom-elements.json
CHANGED
|
@@ -3508,7 +3508,7 @@
|
|
|
3508
3508
|
},
|
|
3509
3509
|
"privacy": "public",
|
|
3510
3510
|
"default": "'large'",
|
|
3511
|
-
"description": "Overrides the
|
|
3511
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
3512
3512
|
"attribute": "horizontal-from",
|
|
3513
3513
|
"reflects": true
|
|
3514
3514
|
},
|
|
@@ -3690,7 +3690,7 @@
|
|
|
3690
3690
|
"text": "SbbHorizontalFrom"
|
|
3691
3691
|
},
|
|
3692
3692
|
"default": "'large'",
|
|
3693
|
-
"description": "Overrides the
|
|
3693
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
3694
3694
|
"fieldName": "horizontalFrom"
|
|
3695
3695
|
},
|
|
3696
3696
|
{
|
|
@@ -7811,7 +7811,7 @@
|
|
|
7811
7811
|
},
|
|
7812
7812
|
"privacy": "public",
|
|
7813
7813
|
"default": "null",
|
|
7814
|
-
"description": "Overrides the
|
|
7814
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
7815
7815
|
"attribute": "horizontal-from",
|
|
7816
7816
|
"reflects": true
|
|
7817
7817
|
},
|
|
@@ -8030,7 +8030,7 @@
|
|
|
8030
8030
|
"text": "SbbHorizontalFrom | null"
|
|
8031
8031
|
},
|
|
8032
8032
|
"default": "null",
|
|
8033
|
-
"description": "Overrides the
|
|
8033
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
8034
8034
|
"fieldName": "horizontalFrom"
|
|
8035
8035
|
},
|
|
8036
8036
|
{
|
|
@@ -13749,7 +13749,7 @@
|
|
|
13749
13749
|
},
|
|
13750
13750
|
"privacy": "public",
|
|
13751
13751
|
"default": "''",
|
|
13752
|
-
"description": "With `performance.mark` you can log a timestamp associated with\nthe name you define in performanceMark when a certain event is\nhappening. In our case we will log the `performance.mark` into\nthe PerformanceEntry API once the image is fully loaded.\nPerformance monitoring tools like SpeedCurve or Lighthouse are\nthen able to grab these entries from the PerformanceEntry API\nand give us additional information and insights about our page\nloading
|
|
13752
|
+
"description": "With `performance.mark` you can log a timestamp associated with\nthe name you define in performanceMark when a certain event is\nhappening. In our case we will log the `performance.mark` into\nthe PerformanceEntry API once the image is fully loaded.\nPerformance monitoring tools like SpeedCurve or Lighthouse are\nthen able to grab these entries from the PerformanceEntry API\nand give us additional information and insights about our page\nloading behavior. We are then also able to monitor these\nvalues over a long period to see if our performance\nincreases or decreases over time. Best to use lowercase strings\nhere, separate words with underscores or dashes.",
|
|
13753
13753
|
"attribute": "performance-mark"
|
|
13754
13754
|
},
|
|
13755
13755
|
{
|
|
@@ -14072,7 +14072,7 @@
|
|
|
14072
14072
|
"text": "string"
|
|
14073
14073
|
},
|
|
14074
14074
|
"default": "''",
|
|
14075
|
-
"description": "With `performance.mark` you can log a timestamp associated with\nthe name you define in performanceMark when a certain event is\nhappening. In our case we will log the `performance.mark` into\nthe PerformanceEntry API once the image is fully loaded.\nPerformance monitoring tools like SpeedCurve or Lighthouse are\nthen able to grab these entries from the PerformanceEntry API\nand give us additional information and insights about our page\nloading
|
|
14075
|
+
"description": "With `performance.mark` you can log a timestamp associated with\nthe name you define in performanceMark when a certain event is\nhappening. In our case we will log the `performance.mark` into\nthe PerformanceEntry API once the image is fully loaded.\nPerformance monitoring tools like SpeedCurve or Lighthouse are\nthen able to grab these entries from the PerformanceEntry API\nand give us additional information and insights about our page\nloading behavior. We are then also able to monitor these\nvalues over a long period to see if our performance\nincreases or decreases over time. Best to use lowercase strings\nhere, separate words with underscores or dashes.",
|
|
14076
14076
|
"fieldName": "performanceMark"
|
|
14077
14077
|
},
|
|
14078
14078
|
{
|
|
@@ -16487,66 +16487,6 @@
|
|
|
16487
16487
|
}
|
|
16488
16488
|
]
|
|
16489
16489
|
},
|
|
16490
|
-
{
|
|
16491
|
-
"kind": "javascript-module",
|
|
16492
|
-
"path": "menu/common.js",
|
|
16493
|
-
"declarations": [],
|
|
16494
|
-
"exports": [
|
|
16495
|
-
{
|
|
16496
|
-
"kind": "js",
|
|
16497
|
-
"name": "*",
|
|
16498
|
-
"declaration": {
|
|
16499
|
-
"name": "*",
|
|
16500
|
-
"module": "menu/common/menu-action-common.js"
|
|
16501
|
-
}
|
|
16502
|
-
}
|
|
16503
|
-
]
|
|
16504
|
-
},
|
|
16505
|
-
{
|
|
16506
|
-
"kind": "javascript-module",
|
|
16507
|
-
"path": "menu/menu-button.js",
|
|
16508
|
-
"declarations": [],
|
|
16509
|
-
"exports": [
|
|
16510
|
-
{
|
|
16511
|
-
"kind": "js",
|
|
16512
|
-
"name": "*",
|
|
16513
|
-
"declaration": {
|
|
16514
|
-
"name": "*",
|
|
16515
|
-
"module": "menu/menu-button/menu-button.component.js"
|
|
16516
|
-
}
|
|
16517
|
-
}
|
|
16518
|
-
]
|
|
16519
|
-
},
|
|
16520
|
-
{
|
|
16521
|
-
"kind": "javascript-module",
|
|
16522
|
-
"path": "menu/menu-link.js",
|
|
16523
|
-
"declarations": [],
|
|
16524
|
-
"exports": [
|
|
16525
|
-
{
|
|
16526
|
-
"kind": "js",
|
|
16527
|
-
"name": "*",
|
|
16528
|
-
"declaration": {
|
|
16529
|
-
"name": "*",
|
|
16530
|
-
"module": "menu/menu-link/menu-link.component.js"
|
|
16531
|
-
}
|
|
16532
|
-
}
|
|
16533
|
-
]
|
|
16534
|
-
},
|
|
16535
|
-
{
|
|
16536
|
-
"kind": "javascript-module",
|
|
16537
|
-
"path": "menu/menu.js",
|
|
16538
|
-
"declarations": [],
|
|
16539
|
-
"exports": [
|
|
16540
|
-
{
|
|
16541
|
-
"kind": "js",
|
|
16542
|
-
"name": "*",
|
|
16543
|
-
"declaration": {
|
|
16544
|
-
"name": "*",
|
|
16545
|
-
"module": "menu/menu/menu.component.js"
|
|
16546
|
-
}
|
|
16547
|
-
}
|
|
16548
|
-
]
|
|
16549
|
-
},
|
|
16550
16490
|
{
|
|
16551
16491
|
"kind": "javascript-module",
|
|
16552
16492
|
"path": "message/message.component.js",
|
|
@@ -16736,6 +16676,66 @@
|
|
|
16736
16676
|
}
|
|
16737
16677
|
]
|
|
16738
16678
|
},
|
|
16679
|
+
{
|
|
16680
|
+
"kind": "javascript-module",
|
|
16681
|
+
"path": "menu/common.js",
|
|
16682
|
+
"declarations": [],
|
|
16683
|
+
"exports": [
|
|
16684
|
+
{
|
|
16685
|
+
"kind": "js",
|
|
16686
|
+
"name": "*",
|
|
16687
|
+
"declaration": {
|
|
16688
|
+
"name": "*",
|
|
16689
|
+
"module": "menu/common/menu-action-common.js"
|
|
16690
|
+
}
|
|
16691
|
+
}
|
|
16692
|
+
]
|
|
16693
|
+
},
|
|
16694
|
+
{
|
|
16695
|
+
"kind": "javascript-module",
|
|
16696
|
+
"path": "menu/menu-button.js",
|
|
16697
|
+
"declarations": [],
|
|
16698
|
+
"exports": [
|
|
16699
|
+
{
|
|
16700
|
+
"kind": "js",
|
|
16701
|
+
"name": "*",
|
|
16702
|
+
"declaration": {
|
|
16703
|
+
"name": "*",
|
|
16704
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
16705
|
+
}
|
|
16706
|
+
}
|
|
16707
|
+
]
|
|
16708
|
+
},
|
|
16709
|
+
{
|
|
16710
|
+
"kind": "javascript-module",
|
|
16711
|
+
"path": "menu/menu-link.js",
|
|
16712
|
+
"declarations": [],
|
|
16713
|
+
"exports": [
|
|
16714
|
+
{
|
|
16715
|
+
"kind": "js",
|
|
16716
|
+
"name": "*",
|
|
16717
|
+
"declaration": {
|
|
16718
|
+
"name": "*",
|
|
16719
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
16720
|
+
}
|
|
16721
|
+
}
|
|
16722
|
+
]
|
|
16723
|
+
},
|
|
16724
|
+
{
|
|
16725
|
+
"kind": "javascript-module",
|
|
16726
|
+
"path": "menu/menu.js",
|
|
16727
|
+
"declarations": [],
|
|
16728
|
+
"exports": [
|
|
16729
|
+
{
|
|
16730
|
+
"kind": "js",
|
|
16731
|
+
"name": "*",
|
|
16732
|
+
"declaration": {
|
|
16733
|
+
"name": "*",
|
|
16734
|
+
"module": "menu/menu/menu.component.js"
|
|
16735
|
+
}
|
|
16736
|
+
}
|
|
16737
|
+
]
|
|
16738
|
+
},
|
|
16739
16739
|
{
|
|
16740
16740
|
"kind": "javascript-module",
|
|
16741
16741
|
"path": "mini-calendar/mini-calendar-day.js",
|
|
@@ -22250,7 +22250,7 @@
|
|
|
22250
22250
|
},
|
|
22251
22251
|
"privacy": "public",
|
|
22252
22252
|
"default": "null",
|
|
22253
|
-
"description": "Overrides the
|
|
22253
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
22254
22254
|
"attribute": "horizontal-from",
|
|
22255
22255
|
"reflects": true
|
|
22256
22256
|
},
|
|
@@ -22528,7 +22528,7 @@
|
|
|
22528
22528
|
"text": "SbbHorizontalFrom | null"
|
|
22529
22529
|
},
|
|
22530
22530
|
"default": "null",
|
|
22531
|
-
"description": "Overrides the
|
|
22531
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
22532
22532
|
"fieldName": "horizontalFrom"
|
|
22533
22533
|
},
|
|
22534
22534
|
{
|
|
@@ -31858,6 +31858,36 @@
|
|
|
31858
31858
|
}
|
|
31859
31859
|
]
|
|
31860
31860
|
},
|
|
31861
|
+
{
|
|
31862
|
+
"kind": "javascript-module",
|
|
31863
|
+
"path": "toggle/toggle-option.js",
|
|
31864
|
+
"declarations": [],
|
|
31865
|
+
"exports": [
|
|
31866
|
+
{
|
|
31867
|
+
"kind": "js",
|
|
31868
|
+
"name": "*",
|
|
31869
|
+
"declaration": {
|
|
31870
|
+
"name": "*",
|
|
31871
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
31872
|
+
}
|
|
31873
|
+
}
|
|
31874
|
+
]
|
|
31875
|
+
},
|
|
31876
|
+
{
|
|
31877
|
+
"kind": "javascript-module",
|
|
31878
|
+
"path": "toggle/toggle.js",
|
|
31879
|
+
"declarations": [],
|
|
31880
|
+
"exports": [
|
|
31881
|
+
{
|
|
31882
|
+
"kind": "js",
|
|
31883
|
+
"name": "*",
|
|
31884
|
+
"declaration": {
|
|
31885
|
+
"name": "*",
|
|
31886
|
+
"module": "toggle/toggle/toggle.component.js"
|
|
31887
|
+
}
|
|
31888
|
+
}
|
|
31889
|
+
]
|
|
31890
|
+
},
|
|
31861
31891
|
{
|
|
31862
31892
|
"kind": "javascript-module",
|
|
31863
31893
|
"path": "toast/toast.component.js",
|
|
@@ -32559,36 +32589,6 @@
|
|
|
32559
32589
|
}
|
|
32560
32590
|
]
|
|
32561
32591
|
},
|
|
32562
|
-
{
|
|
32563
|
-
"kind": "javascript-module",
|
|
32564
|
-
"path": "toggle/toggle-option.js",
|
|
32565
|
-
"declarations": [],
|
|
32566
|
-
"exports": [
|
|
32567
|
-
{
|
|
32568
|
-
"kind": "js",
|
|
32569
|
-
"name": "*",
|
|
32570
|
-
"declaration": {
|
|
32571
|
-
"name": "*",
|
|
32572
|
-
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
32573
|
-
}
|
|
32574
|
-
}
|
|
32575
|
-
]
|
|
32576
|
-
},
|
|
32577
|
-
{
|
|
32578
|
-
"kind": "javascript-module",
|
|
32579
|
-
"path": "toggle/toggle.js",
|
|
32580
|
-
"declarations": [],
|
|
32581
|
-
"exports": [
|
|
32582
|
-
{
|
|
32583
|
-
"kind": "js",
|
|
32584
|
-
"name": "*",
|
|
32585
|
-
"declaration": {
|
|
32586
|
-
"name": "*",
|
|
32587
|
-
"module": "toggle/toggle/toggle.component.js"
|
|
32588
|
-
}
|
|
32589
|
-
}
|
|
32590
|
-
]
|
|
32591
|
-
},
|
|
32592
32592
|
{
|
|
32593
32593
|
"kind": "javascript-module",
|
|
32594
32594
|
"path": "toggle-check/toggle-check.component.js",
|
|
@@ -80339,7 +80339,7 @@
|
|
|
80339
80339
|
},
|
|
80340
80340
|
"privacy": "public",
|
|
80341
80341
|
"default": "'large'",
|
|
80342
|
-
"description": "Overrides the
|
|
80342
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
80343
80343
|
"attribute": "horizontal-from",
|
|
80344
80344
|
"reflects": true,
|
|
80345
80345
|
"inheritedFrom": {
|
|
@@ -80523,7 +80523,7 @@
|
|
|
80523
80523
|
"text": "SbbHorizontalFrom"
|
|
80524
80524
|
},
|
|
80525
80525
|
"default": "'large'",
|
|
80526
|
-
"description": "Overrides the
|
|
80526
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
80527
80527
|
"fieldName": "horizontalFrom",
|
|
80528
80528
|
"inheritedFrom": {
|
|
80529
80529
|
"name": "SbbActionGroupElement",
|
|
@@ -117367,79 +117367,20 @@
|
|
|
117367
117367
|
},
|
|
117368
117368
|
{
|
|
117369
117369
|
"kind": "javascript-module",
|
|
117370
|
-
"path": "stepper/
|
|
117370
|
+
"path": "stepper/step-label/step-label.component.js",
|
|
117371
117371
|
"declarations": [
|
|
117372
117372
|
{
|
|
117373
117373
|
"kind": "class",
|
|
117374
|
-
"description": "",
|
|
117375
|
-
"name": "
|
|
117376
|
-
"members": [
|
|
117377
|
-
{
|
|
117378
|
-
"kind": "field",
|
|
117379
|
-
"name": "selectedIndex",
|
|
117380
|
-
"type": {
|
|
117381
|
-
"text": "number | null"
|
|
117382
|
-
},
|
|
117383
|
-
"privacy": "public",
|
|
117384
|
-
"readonly": true,
|
|
117385
|
-
"description": "The index of the newly selected step.",
|
|
117386
|
-
"default": "selectedIndex"
|
|
117387
|
-
},
|
|
117388
|
-
{
|
|
117389
|
-
"kind": "field",
|
|
117390
|
-
"name": "previousIndex",
|
|
117391
|
-
"type": {
|
|
117392
|
-
"text": "number | null"
|
|
117393
|
-
},
|
|
117394
|
-
"privacy": "public",
|
|
117395
|
-
"readonly": true,
|
|
117396
|
-
"description": "The index of the previously selected step.",
|
|
117397
|
-
"default": "previousIndex"
|
|
117398
|
-
},
|
|
117399
|
-
{
|
|
117400
|
-
"kind": "field",
|
|
117401
|
-
"name": "selectedStep",
|
|
117402
|
-
"type": {
|
|
117403
|
-
"text": "SbbStepElement | null"
|
|
117404
|
-
},
|
|
117405
|
-
"privacy": "public",
|
|
117406
|
-
"readonly": true,
|
|
117407
|
-
"description": "The newly selected step element.",
|
|
117408
|
-
"default": "selectedStep"
|
|
117409
|
-
},
|
|
117410
|
-
{
|
|
117411
|
-
"kind": "field",
|
|
117412
|
-
"name": "previousStep",
|
|
117413
|
-
"type": {
|
|
117414
|
-
"text": "SbbStepElement | null"
|
|
117415
|
-
},
|
|
117416
|
-
"privacy": "public",
|
|
117417
|
-
"readonly": true,
|
|
117418
|
-
"description": "The previously selected step element.",
|
|
117419
|
-
"default": "previousStep"
|
|
117420
|
-
}
|
|
117421
|
-
],
|
|
117422
|
-
"superclass": {
|
|
117423
|
-
"name": "Event",
|
|
117424
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
117425
|
-
}
|
|
117426
|
-
},
|
|
117427
|
-
{
|
|
117428
|
-
"kind": "class",
|
|
117429
|
-
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
117430
|
-
"name": "SbbStepperElement",
|
|
117374
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
117375
|
+
"name": "SbbStepLabelElement",
|
|
117431
117376
|
"slots": [
|
|
117432
117377
|
{
|
|
117433
|
-
"description": "
|
|
117378
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
117434
117379
|
"name": ""
|
|
117435
117380
|
},
|
|
117436
117381
|
{
|
|
117437
|
-
"description": "Use this
|
|
117438
|
-
"name": "
|
|
117439
|
-
},
|
|
117440
|
-
{
|
|
117441
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
117442
|
-
"name": "step"
|
|
117382
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
117383
|
+
"name": "icon"
|
|
117443
117384
|
}
|
|
117444
117385
|
],
|
|
117445
117386
|
"members": [
|
|
@@ -117452,747 +117393,175 @@
|
|
|
117452
117393
|
"privacy": "public",
|
|
117453
117394
|
"static": true,
|
|
117454
117395
|
"readonly": true,
|
|
117455
|
-
"default": "'sbb-stepper'",
|
|
117456
117396
|
"inheritedFrom": {
|
|
117457
117397
|
"name": "SbbElement",
|
|
117458
117398
|
"module": "core/base-elements/element.js"
|
|
117459
|
-
}
|
|
117460
|
-
},
|
|
117461
|
-
{
|
|
117462
|
-
"kind": "field",
|
|
117463
|
-
"name": "events",
|
|
117464
|
-
"privacy": "public",
|
|
117465
|
-
"static": true,
|
|
117466
|
-
"readonly": true,
|
|
117467
|
-
"default": "{ stepchange: 'stepchange', }",
|
|
117468
|
-
"type": {
|
|
117469
|
-
"text": "{\n stepchange: 'stepchange',\n }"
|
|
117470
|
-
}
|
|
117471
|
-
},
|
|
117472
|
-
{
|
|
117473
|
-
"kind": "field",
|
|
117474
|
-
"name": "_observer",
|
|
117475
|
-
"privacy": "private",
|
|
117476
|
-
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
117477
|
-
"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."
|
|
117478
|
-
},
|
|
117479
|
-
{
|
|
117480
|
-
"kind": "field",
|
|
117481
|
-
"name": "linear",
|
|
117482
|
-
"type": {
|
|
117483
|
-
"text": "boolean"
|
|
117484
|
-
},
|
|
117485
|
-
"privacy": "public",
|
|
117486
|
-
"default": "false",
|
|
117487
|
-
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
117488
|
-
"attribute": "linear"
|
|
117489
|
-
},
|
|
117490
|
-
{
|
|
117491
|
-
"kind": "field",
|
|
117492
|
-
"name": "horizontalFrom",
|
|
117493
|
-
"privacy": "public",
|
|
117494
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
117495
|
-
"type": {
|
|
117496
|
-
"text": "SbbHorizontalFrom | null"
|
|
117497
|
-
},
|
|
117498
|
-
"attribute": "horizontal-from",
|
|
117499
|
-
"reflects": true,
|
|
117500
|
-
"default": "null"
|
|
117501
|
-
},
|
|
117502
|
-
{
|
|
117503
|
-
"kind": "field",
|
|
117504
|
-
"name": "_horizontalFrom",
|
|
117505
|
-
"type": {
|
|
117506
|
-
"text": "SbbHorizontalFrom | null"
|
|
117507
|
-
},
|
|
117508
|
-
"privacy": "private",
|
|
117509
|
-
"default": "null"
|
|
117510
|
-
},
|
|
117511
|
-
{
|
|
117512
|
-
"kind": "field",
|
|
117513
|
-
"name": "orientation",
|
|
117514
|
-
"type": {
|
|
117515
|
-
"text": "SbbOrientation"
|
|
117516
117399
|
},
|
|
117517
|
-
"
|
|
117518
|
-
"default": "'horizontal'",
|
|
117519
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
117520
|
-
"attribute": "orientation",
|
|
117521
|
-
"reflects": true
|
|
117400
|
+
"default": "'sbb-step-label'"
|
|
117522
117401
|
},
|
|
117523
117402
|
{
|
|
117524
117403
|
"kind": "field",
|
|
117525
|
-
"name": "
|
|
117404
|
+
"name": "role",
|
|
117526
117405
|
"type": {
|
|
117527
|
-
"text": "
|
|
117406
|
+
"text": "string"
|
|
117528
117407
|
},
|
|
117529
117408
|
"privacy": "public",
|
|
117530
|
-
"
|
|
117531
|
-
"
|
|
117532
|
-
"
|
|
117533
|
-
"
|
|
117534
|
-
|
|
117535
|
-
|
|
117536
|
-
"kind": "field",
|
|
117537
|
-
"name": "selected",
|
|
117538
|
-
"privacy": "public",
|
|
117539
|
-
"description": "The currently selected step.",
|
|
117540
|
-
"type": {
|
|
117541
|
-
"text": "SbbStepElement | null"
|
|
117409
|
+
"static": true,
|
|
117410
|
+
"readonly": true,
|
|
117411
|
+
"default": "'tab'",
|
|
117412
|
+
"inheritedFrom": {
|
|
117413
|
+
"name": "SbbButtonLikeBaseElement",
|
|
117414
|
+
"module": "core/base-elements/button-base-element.js"
|
|
117542
117415
|
}
|
|
117543
117416
|
},
|
|
117544
117417
|
{
|
|
117545
117418
|
"kind": "field",
|
|
117546
|
-
"name": "
|
|
117419
|
+
"name": "step",
|
|
117547
117420
|
"type": {
|
|
117548
117421
|
"text": "SbbStepElement | null"
|
|
117549
117422
|
},
|
|
117550
|
-
"privacy": "private",
|
|
117551
|
-
"default": "null"
|
|
117552
|
-
},
|
|
117553
|
-
{
|
|
117554
|
-
"kind": "field",
|
|
117555
|
-
"name": "selectedIndex",
|
|
117556
117423
|
"privacy": "public",
|
|
117557
|
-
"description": "The
|
|
117558
|
-
"
|
|
117559
|
-
|
|
117560
|
-
},
|
|
117561
|
-
"attribute": "selected-index"
|
|
117424
|
+
"description": "The step controlled by the label.",
|
|
117425
|
+
"readonly": true,
|
|
117426
|
+
"default": "null"
|
|
117562
117427
|
},
|
|
117563
117428
|
{
|
|
117564
117429
|
"kind": "field",
|
|
117565
|
-
"name": "
|
|
117430
|
+
"name": "_step",
|
|
117566
117431
|
"type": {
|
|
117567
|
-
"text": "
|
|
117432
|
+
"text": "SbbStepElement | null"
|
|
117568
117433
|
},
|
|
117569
117434
|
"privacy": "private",
|
|
117570
117435
|
"default": "null"
|
|
117571
117436
|
},
|
|
117572
117437
|
{
|
|
117573
117438
|
"kind": "field",
|
|
117574
|
-
"name": "
|
|
117439
|
+
"name": "stepper",
|
|
117575
117440
|
"type": {
|
|
117576
|
-
"text": "
|
|
117441
|
+
"text": "SbbStepperElement | null"
|
|
117577
117442
|
},
|
|
117578
117443
|
"privacy": "public",
|
|
117579
|
-
"description": "The steps of the stepper.",
|
|
117580
|
-
"readonly": true
|
|
117581
|
-
},
|
|
117582
|
-
{
|
|
117583
|
-
"kind": "field",
|
|
117584
|
-
"name": "_enabledSteps",
|
|
117585
|
-
"type": {
|
|
117586
|
-
"text": "SbbStepElement[]"
|
|
117587
|
-
},
|
|
117588
|
-
"privacy": "private",
|
|
117589
117444
|
"readonly": true
|
|
117590
117445
|
},
|
|
117591
117446
|
{
|
|
117592
117447
|
"kind": "field",
|
|
117593
|
-
"name": "
|
|
117448
|
+
"name": "disabled",
|
|
117449
|
+
"privacy": "public",
|
|
117450
|
+
"description": "Whether the component is disabled.",
|
|
117451
|
+
"default": "false",
|
|
117594
117452
|
"type": {
|
|
117595
117453
|
"text": "boolean"
|
|
117596
117454
|
},
|
|
117597
|
-
"
|
|
117598
|
-
"
|
|
117455
|
+
"attribute": "disabled",
|
|
117456
|
+
"reflects": true,
|
|
117457
|
+
"inheritedFrom": {
|
|
117458
|
+
"name": "SbbDisabledMixin",
|
|
117459
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
117460
|
+
}
|
|
117599
117461
|
},
|
|
117600
117462
|
{
|
|
117601
117463
|
"kind": "field",
|
|
117602
|
-
"name": "
|
|
117464
|
+
"name": "_previousOrientation",
|
|
117603
117465
|
"type": {
|
|
117604
|
-
"text": "
|
|
117466
|
+
"text": "string | undefined"
|
|
117605
117467
|
},
|
|
117606
|
-
"privacy": "private"
|
|
117607
|
-
"default": "null"
|
|
117468
|
+
"privacy": "private"
|
|
117608
117469
|
},
|
|
117609
117470
|
{
|
|
117610
117471
|
"kind": "field",
|
|
117611
|
-
"name": "
|
|
117612
|
-
"
|
|
117613
|
-
|
|
117614
|
-
},
|
|
117615
|
-
{
|
|
117616
|
-
"kind": "method",
|
|
117617
|
-
"name": "next",
|
|
117618
|
-
"privacy": "public",
|
|
117619
|
-
"return": {
|
|
117620
|
-
"type": {
|
|
117621
|
-
"text": "void"
|
|
117622
|
-
}
|
|
117623
|
-
},
|
|
117624
|
-
"description": "Selects the next step."
|
|
117625
|
-
},
|
|
117626
|
-
{
|
|
117627
|
-
"kind": "method",
|
|
117628
|
-
"name": "previous",
|
|
117629
|
-
"privacy": "public",
|
|
117630
|
-
"return": {
|
|
117631
|
-
"type": {
|
|
117632
|
-
"text": "void"
|
|
117633
|
-
}
|
|
117634
|
-
},
|
|
117635
|
-
"description": "Selects the previous step."
|
|
117636
|
-
},
|
|
117637
|
-
{
|
|
117638
|
-
"kind": "method",
|
|
117639
|
-
"name": "reset",
|
|
117640
|
-
"privacy": "public",
|
|
117641
|
-
"return": {
|
|
117642
|
-
"type": {
|
|
117643
|
-
"text": "void"
|
|
117644
|
-
}
|
|
117472
|
+
"name": "_previousSize",
|
|
117473
|
+
"type": {
|
|
117474
|
+
"text": "string | undefined"
|
|
117645
117475
|
},
|
|
117646
|
-
"
|
|
117476
|
+
"privacy": "private"
|
|
117647
117477
|
},
|
|
117648
117478
|
{
|
|
117649
117479
|
"kind": "method",
|
|
117650
|
-
"name": "
|
|
117480
|
+
"name": "_isNotDeactivatedByLinearMode",
|
|
117651
117481
|
"privacy": "private",
|
|
117652
117482
|
"return": {
|
|
117653
117483
|
"type": {
|
|
117654
|
-
"text": "
|
|
117484
|
+
"text": "boolean"
|
|
117655
117485
|
}
|
|
117656
117486
|
},
|
|
117657
117487
|
"parameters": [
|
|
117658
117488
|
{
|
|
117659
117489
|
"name": "step",
|
|
117660
117490
|
"type": {
|
|
117661
|
-
"text": "SbbStepElement
|
|
117491
|
+
"text": "SbbStepElement"
|
|
117662
117492
|
}
|
|
117663
117493
|
}
|
|
117664
117494
|
]
|
|
117665
117495
|
},
|
|
117666
117496
|
{
|
|
117667
117497
|
"kind": "method",
|
|
117668
|
-
"name": "
|
|
117498
|
+
"name": "_assignStep",
|
|
117669
117499
|
"privacy": "private",
|
|
117670
117500
|
"return": {
|
|
117671
117501
|
"type": {
|
|
117672
117502
|
"text": "void"
|
|
117673
117503
|
}
|
|
117674
|
-
}
|
|
117675
|
-
"parameters": [
|
|
117676
|
-
{
|
|
117677
|
-
"name": "step",
|
|
117678
|
-
"type": {
|
|
117679
|
-
"text": "SbbStepElement | null"
|
|
117680
|
-
}
|
|
117681
|
-
}
|
|
117682
|
-
]
|
|
117504
|
+
}
|
|
117683
117505
|
},
|
|
117684
117506
|
{
|
|
117685
|
-
"kind": "
|
|
117686
|
-
"name": "
|
|
117687
|
-
"
|
|
117688
|
-
|
|
117689
|
-
|
|
117690
|
-
|
|
117691
|
-
|
|
117507
|
+
"kind": "field",
|
|
117508
|
+
"name": "iconName",
|
|
117509
|
+
"type": {
|
|
117510
|
+
"text": "string"
|
|
117511
|
+
},
|
|
117512
|
+
"privacy": "public",
|
|
117513
|
+
"default": "''",
|
|
117514
|
+
"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.",
|
|
117515
|
+
"attribute": "icon-name",
|
|
117516
|
+
"inheritedFrom": {
|
|
117517
|
+
"name": "SbbIconNameMixin",
|
|
117518
|
+
"module": "icon/icon-name-mixin.js"
|
|
117692
117519
|
}
|
|
117693
117520
|
},
|
|
117694
117521
|
{
|
|
117695
117522
|
"kind": "method",
|
|
117696
|
-
"name": "
|
|
117697
|
-
"privacy": "
|
|
117523
|
+
"name": "renderIconSlot",
|
|
117524
|
+
"privacy": "protected",
|
|
117698
117525
|
"return": {
|
|
117699
117526
|
"type": {
|
|
117700
|
-
"text": "
|
|
117527
|
+
"text": "TemplateResult"
|
|
117701
117528
|
}
|
|
117702
117529
|
},
|
|
117703
117530
|
"parameters": [
|
|
117704
117531
|
{
|
|
117705
|
-
"name": "
|
|
117532
|
+
"name": "classname",
|
|
117533
|
+
"optional": true,
|
|
117706
117534
|
"type": {
|
|
117707
|
-
"text": "
|
|
117535
|
+
"text": "string"
|
|
117708
117536
|
}
|
|
117709
117537
|
}
|
|
117710
117538
|
],
|
|
117711
|
-
"
|
|
117539
|
+
"inheritedFrom": {
|
|
117540
|
+
"name": "SbbIconNameMixin",
|
|
117541
|
+
"module": "icon/icon-name-mixin.js"
|
|
117542
|
+
}
|
|
117712
117543
|
},
|
|
117713
117544
|
{
|
|
117714
117545
|
"kind": "method",
|
|
117715
|
-
"name": "
|
|
117716
|
-
"privacy": "
|
|
117546
|
+
"name": "renderIconName",
|
|
117547
|
+
"privacy": "protected",
|
|
117717
117548
|
"return": {
|
|
117718
117549
|
"type": {
|
|
117719
|
-
"text": "
|
|
117550
|
+
"text": "string"
|
|
117720
117551
|
}
|
|
117552
|
+
},
|
|
117553
|
+
"inheritedFrom": {
|
|
117554
|
+
"name": "SbbIconNameMixin",
|
|
117555
|
+
"module": "icon/icon-name-mixin.js"
|
|
117721
117556
|
}
|
|
117722
117557
|
},
|
|
117723
117558
|
{
|
|
117724
117559
|
"kind": "method",
|
|
117725
|
-
"name": "
|
|
117560
|
+
"name": "_renderIconName",
|
|
117726
117561
|
"privacy": "private",
|
|
117727
117562
|
"return": {
|
|
117728
117563
|
"type": {
|
|
117729
|
-
"text": "
|
|
117730
|
-
}
|
|
117731
|
-
},
|
|
117732
|
-
"parameters": [
|
|
117733
|
-
{
|
|
117734
|
-
"name": "e",
|
|
117735
|
-
"type": {
|
|
117736
|
-
"text": "Event"
|
|
117737
|
-
}
|
|
117738
|
-
}
|
|
117739
|
-
]
|
|
117740
|
-
},
|
|
117741
|
-
{
|
|
117742
|
-
"kind": "method",
|
|
117743
|
-
"name": "_configure",
|
|
117744
|
-
"privacy": "private",
|
|
117745
|
-
"return": {
|
|
117746
|
-
"type": {
|
|
117747
|
-
"text": "void"
|
|
117748
|
-
}
|
|
117749
|
-
}
|
|
117750
|
-
},
|
|
117751
|
-
{
|
|
117752
|
-
"kind": "method",
|
|
117753
|
-
"name": "_updateLabels",
|
|
117754
|
-
"privacy": "private",
|
|
117755
|
-
"return": {
|
|
117756
|
-
"type": {
|
|
117757
|
-
"text": "void"
|
|
117758
|
-
}
|
|
117759
|
-
}
|
|
117760
|
-
},
|
|
117761
|
-
{
|
|
117762
|
-
"kind": "method",
|
|
117763
|
-
"name": "_checkOrientation",
|
|
117764
|
-
"privacy": "private",
|
|
117765
|
-
"return": {
|
|
117766
|
-
"type": {
|
|
117767
|
-
"text": "void"
|
|
117768
|
-
}
|
|
117769
|
-
}
|
|
117770
|
-
},
|
|
117771
|
-
{
|
|
117772
|
-
"kind": "field",
|
|
117773
|
-
"name": "_onStepperResize",
|
|
117774
|
-
"privacy": "private"
|
|
117775
|
-
},
|
|
117776
|
-
{
|
|
117777
|
-
"kind": "method",
|
|
117778
|
-
"name": "_configureLinearMode",
|
|
117779
|
-
"privacy": "private",
|
|
117780
|
-
"return": {
|
|
117781
|
-
"type": {
|
|
117782
|
-
"text": "void"
|
|
117783
|
-
}
|
|
117784
|
-
}
|
|
117785
|
-
},
|
|
117786
|
-
{
|
|
117787
|
-
"kind": "method",
|
|
117788
|
-
"name": "_handleKeyDown",
|
|
117789
|
-
"privacy": "private",
|
|
117790
|
-
"return": {
|
|
117791
|
-
"type": {
|
|
117792
|
-
"text": "void"
|
|
117793
|
-
}
|
|
117794
|
-
},
|
|
117795
|
-
"parameters": [
|
|
117796
|
-
{
|
|
117797
|
-
"name": "evt",
|
|
117798
|
-
"type": {
|
|
117799
|
-
"text": "KeyboardEvent"
|
|
117800
|
-
}
|
|
117801
|
-
}
|
|
117802
|
-
]
|
|
117803
|
-
},
|
|
117804
|
-
{
|
|
117805
|
-
"kind": "field",
|
|
117806
|
-
"name": "_hydrationRequired",
|
|
117807
|
-
"type": {
|
|
117808
|
-
"text": "boolean"
|
|
117809
|
-
},
|
|
117810
|
-
"privacy": "private",
|
|
117811
|
-
"default": "!!this.shadowRoot",
|
|
117812
|
-
"inheritedFrom": {
|
|
117813
|
-
"name": "SbbElement",
|
|
117814
|
-
"module": "core/base-elements/element.js"
|
|
117815
|
-
}
|
|
117816
|
-
},
|
|
117817
|
-
{
|
|
117818
|
-
"kind": "field",
|
|
117819
|
-
"name": "_hydrationComplete",
|
|
117820
|
-
"privacy": "private",
|
|
117821
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
117822
|
-
"inheritedFrom": {
|
|
117823
|
-
"name": "SbbElement",
|
|
117824
|
-
"module": "core/base-elements/element.js"
|
|
117825
|
-
}
|
|
117826
|
-
},
|
|
117827
|
-
{
|
|
117828
|
-
"kind": "field",
|
|
117829
|
-
"name": "_resolveHydration",
|
|
117830
|
-
"type": {
|
|
117831
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
117832
|
-
},
|
|
117833
|
-
"privacy": "private",
|
|
117834
|
-
"inheritedFrom": {
|
|
117835
|
-
"name": "SbbElement",
|
|
117836
|
-
"module": "core/base-elements/element.js"
|
|
117837
|
-
}
|
|
117838
|
-
},
|
|
117839
|
-
{
|
|
117840
|
-
"kind": "field",
|
|
117841
|
-
"name": "hydrationRequired",
|
|
117842
|
-
"type": {
|
|
117843
|
-
"text": "boolean"
|
|
117844
|
-
},
|
|
117845
|
-
"privacy": "protected",
|
|
117846
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
117847
|
-
"readonly": true,
|
|
117848
|
-
"inheritedFrom": {
|
|
117849
|
-
"name": "SbbElement",
|
|
117850
|
-
"module": "core/base-elements/element.js"
|
|
117851
|
-
},
|
|
117852
|
-
"default": "!!this.shadowRoot"
|
|
117853
|
-
},
|
|
117854
|
-
{
|
|
117855
|
-
"kind": "method",
|
|
117856
|
-
"name": "toggleState",
|
|
117857
|
-
"privacy": "protected",
|
|
117858
|
-
"return": {
|
|
117859
|
-
"type": {
|
|
117860
|
-
"text": "void"
|
|
117861
|
-
}
|
|
117862
|
-
},
|
|
117863
|
-
"parameters": [
|
|
117864
|
-
{
|
|
117865
|
-
"name": "value",
|
|
117866
|
-
"type": {
|
|
117867
|
-
"text": "string"
|
|
117868
|
-
}
|
|
117869
|
-
},
|
|
117870
|
-
{
|
|
117871
|
-
"name": "force",
|
|
117872
|
-
"optional": true,
|
|
117873
|
-
"type": {
|
|
117874
|
-
"text": "boolean"
|
|
117875
|
-
}
|
|
117876
|
-
}
|
|
117877
|
-
],
|
|
117878
|
-
"inheritedFrom": {
|
|
117879
|
-
"name": "SbbElement",
|
|
117880
|
-
"module": "core/base-elements/element.js"
|
|
117881
|
-
}
|
|
117882
|
-
},
|
|
117883
|
-
{
|
|
117884
|
-
"kind": "field",
|
|
117885
|
-
"name": "['_$sbbElement$']",
|
|
117886
|
-
"type": {
|
|
117887
|
-
"text": "boolean"
|
|
117888
|
-
},
|
|
117889
|
-
"privacy": "public",
|
|
117890
|
-
"static": true,
|
|
117891
|
-
"default": "true",
|
|
117892
|
-
"inheritedFrom": {
|
|
117893
|
-
"name": "SbbElement",
|
|
117894
|
-
"module": "core/base-elements/element.js"
|
|
117895
|
-
}
|
|
117896
|
-
},
|
|
117897
|
-
{
|
|
117898
|
-
"kind": "field",
|
|
117899
|
-
"name": "_controllers",
|
|
117900
|
-
"type": {
|
|
117901
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
117902
|
-
},
|
|
117903
|
-
"privacy": "private",
|
|
117904
|
-
"inheritedFrom": {
|
|
117905
|
-
"name": "SbbElement",
|
|
117906
|
-
"module": "core/base-elements/element.js"
|
|
117907
|
-
}
|
|
117908
|
-
}
|
|
117909
|
-
],
|
|
117910
|
-
"events": [
|
|
117911
|
-
{
|
|
117912
|
-
"type": {
|
|
117913
|
-
"text": "SbbStepChangeEvent"
|
|
117914
|
-
},
|
|
117915
|
-
"description": "Emits whenever a step was changed.",
|
|
117916
|
-
"name": "stepchange"
|
|
117917
|
-
}
|
|
117918
|
-
],
|
|
117919
|
-
"attributes": [
|
|
117920
|
-
{
|
|
117921
|
-
"name": "linear",
|
|
117922
|
-
"type": {
|
|
117923
|
-
"text": "boolean"
|
|
117924
|
-
},
|
|
117925
|
-
"default": "false",
|
|
117926
|
-
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
117927
|
-
"fieldName": "linear"
|
|
117928
|
-
},
|
|
117929
|
-
{
|
|
117930
|
-
"name": "horizontal-from",
|
|
117931
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
117932
|
-
"type": {
|
|
117933
|
-
"text": "SbbHorizontalFrom | null"
|
|
117934
|
-
},
|
|
117935
|
-
"fieldName": "horizontalFrom"
|
|
117936
|
-
},
|
|
117937
|
-
{
|
|
117938
|
-
"name": "orientation",
|
|
117939
|
-
"type": {
|
|
117940
|
-
"text": "SbbOrientation"
|
|
117941
|
-
},
|
|
117942
|
-
"default": "'horizontal'",
|
|
117943
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
117944
|
-
"fieldName": "orientation"
|
|
117945
|
-
},
|
|
117946
|
-
{
|
|
117947
|
-
"name": "size",
|
|
117948
|
-
"type": {
|
|
117949
|
-
"text": "'s' | 'm'"
|
|
117950
|
-
},
|
|
117951
|
-
"description": "Size variant, either s or m.",
|
|
117952
|
-
"default": "'m' / 's' (lean)",
|
|
117953
|
-
"fieldName": "size"
|
|
117954
|
-
},
|
|
117955
|
-
{
|
|
117956
|
-
"name": "selected-index",
|
|
117957
|
-
"description": "The currently selected step index.",
|
|
117958
|
-
"type": {
|
|
117959
|
-
"text": "number | null"
|
|
117960
|
-
},
|
|
117961
|
-
"fieldName": "selectedIndex"
|
|
117962
|
-
}
|
|
117963
|
-
],
|
|
117964
|
-
"superclass": {
|
|
117965
|
-
"name": "SbbElement",
|
|
117966
|
-
"module": "core/base-elements.js"
|
|
117967
|
-
},
|
|
117968
|
-
"tagName": "sbb-stepper",
|
|
117969
|
-
"customElement": true
|
|
117970
|
-
},
|
|
117971
|
-
{
|
|
117972
|
-
"kind": "variable",
|
|
117973
|
-
"name": "currentIndex"
|
|
117974
|
-
},
|
|
117975
|
-
{
|
|
117976
|
-
"kind": "variable",
|
|
117977
|
-
"name": "currentStep"
|
|
117978
|
-
}
|
|
117979
|
-
],
|
|
117980
|
-
"exports": [
|
|
117981
|
-
{
|
|
117982
|
-
"kind": "js",
|
|
117983
|
-
"name": "SbbStepChangeEvent",
|
|
117984
|
-
"declaration": {
|
|
117985
|
-
"name": "SbbStepChangeEvent",
|
|
117986
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
117987
|
-
}
|
|
117988
|
-
},
|
|
117989
|
-
{
|
|
117990
|
-
"kind": "js",
|
|
117991
|
-
"name": "SbbStepperElement",
|
|
117992
|
-
"declaration": {
|
|
117993
|
-
"name": "SbbStepperElement",
|
|
117994
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
117995
|
-
}
|
|
117996
|
-
}
|
|
117997
|
-
]
|
|
117998
|
-
},
|
|
117999
|
-
{
|
|
118000
|
-
"kind": "javascript-module",
|
|
118001
|
-
"path": "stepper/step-label/step-label.component.js",
|
|
118002
|
-
"declarations": [
|
|
118003
|
-
{
|
|
118004
|
-
"kind": "class",
|
|
118005
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
118006
|
-
"name": "SbbStepLabelElement",
|
|
118007
|
-
"slots": [
|
|
118008
|
-
{
|
|
118009
|
-
"description": "Use the unnamed slot to provide a label.",
|
|
118010
|
-
"name": ""
|
|
118011
|
-
},
|
|
118012
|
-
{
|
|
118013
|
-
"description": "Use this to display an icon in the label bubble.",
|
|
118014
|
-
"name": "icon"
|
|
118015
|
-
}
|
|
118016
|
-
],
|
|
118017
|
-
"members": [
|
|
118018
|
-
{
|
|
118019
|
-
"kind": "field",
|
|
118020
|
-
"name": "elementName",
|
|
118021
|
-
"type": {
|
|
118022
|
-
"text": "string"
|
|
118023
|
-
},
|
|
118024
|
-
"privacy": "public",
|
|
118025
|
-
"static": true,
|
|
118026
|
-
"readonly": true,
|
|
118027
|
-
"inheritedFrom": {
|
|
118028
|
-
"name": "SbbElement",
|
|
118029
|
-
"module": "core/base-elements/element.js"
|
|
118030
|
-
},
|
|
118031
|
-
"default": "'sbb-step-label'"
|
|
118032
|
-
},
|
|
118033
|
-
{
|
|
118034
|
-
"kind": "field",
|
|
118035
|
-
"name": "role",
|
|
118036
|
-
"type": {
|
|
118037
|
-
"text": "string"
|
|
118038
|
-
},
|
|
118039
|
-
"privacy": "public",
|
|
118040
|
-
"static": true,
|
|
118041
|
-
"readonly": true,
|
|
118042
|
-
"default": "'tab'",
|
|
118043
|
-
"inheritedFrom": {
|
|
118044
|
-
"name": "SbbButtonLikeBaseElement",
|
|
118045
|
-
"module": "core/base-elements/button-base-element.js"
|
|
118046
|
-
}
|
|
118047
|
-
},
|
|
118048
|
-
{
|
|
118049
|
-
"kind": "field",
|
|
118050
|
-
"name": "step",
|
|
118051
|
-
"type": {
|
|
118052
|
-
"text": "SbbStepElement | null"
|
|
118053
|
-
},
|
|
118054
|
-
"privacy": "public",
|
|
118055
|
-
"description": "The step controlled by the label.",
|
|
118056
|
-
"readonly": true,
|
|
118057
|
-
"default": "null"
|
|
118058
|
-
},
|
|
118059
|
-
{
|
|
118060
|
-
"kind": "field",
|
|
118061
|
-
"name": "_step",
|
|
118062
|
-
"type": {
|
|
118063
|
-
"text": "SbbStepElement | null"
|
|
118064
|
-
},
|
|
118065
|
-
"privacy": "private",
|
|
118066
|
-
"default": "null"
|
|
118067
|
-
},
|
|
118068
|
-
{
|
|
118069
|
-
"kind": "field",
|
|
118070
|
-
"name": "stepper",
|
|
118071
|
-
"type": {
|
|
118072
|
-
"text": "SbbStepperElement | null"
|
|
118073
|
-
},
|
|
118074
|
-
"privacy": "public",
|
|
118075
|
-
"readonly": true
|
|
118076
|
-
},
|
|
118077
|
-
{
|
|
118078
|
-
"kind": "field",
|
|
118079
|
-
"name": "disabled",
|
|
118080
|
-
"privacy": "public",
|
|
118081
|
-
"description": "Whether the component is disabled.",
|
|
118082
|
-
"default": "false",
|
|
118083
|
-
"type": {
|
|
118084
|
-
"text": "boolean"
|
|
118085
|
-
},
|
|
118086
|
-
"attribute": "disabled",
|
|
118087
|
-
"reflects": true,
|
|
118088
|
-
"inheritedFrom": {
|
|
118089
|
-
"name": "SbbDisabledMixin",
|
|
118090
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
118091
|
-
}
|
|
118092
|
-
},
|
|
118093
|
-
{
|
|
118094
|
-
"kind": "field",
|
|
118095
|
-
"name": "_previousOrientation",
|
|
118096
|
-
"type": {
|
|
118097
|
-
"text": "string | undefined"
|
|
118098
|
-
},
|
|
118099
|
-
"privacy": "private"
|
|
118100
|
-
},
|
|
118101
|
-
{
|
|
118102
|
-
"kind": "field",
|
|
118103
|
-
"name": "_previousSize",
|
|
118104
|
-
"type": {
|
|
118105
|
-
"text": "string | undefined"
|
|
118106
|
-
},
|
|
118107
|
-
"privacy": "private"
|
|
118108
|
-
},
|
|
118109
|
-
{
|
|
118110
|
-
"kind": "method",
|
|
118111
|
-
"name": "_isNotDeactivatedByLinearMode",
|
|
118112
|
-
"privacy": "private",
|
|
118113
|
-
"return": {
|
|
118114
|
-
"type": {
|
|
118115
|
-
"text": "boolean"
|
|
118116
|
-
}
|
|
118117
|
-
},
|
|
118118
|
-
"parameters": [
|
|
118119
|
-
{
|
|
118120
|
-
"name": "step",
|
|
118121
|
-
"type": {
|
|
118122
|
-
"text": "SbbStepElement"
|
|
118123
|
-
}
|
|
118124
|
-
}
|
|
118125
|
-
]
|
|
118126
|
-
},
|
|
118127
|
-
{
|
|
118128
|
-
"kind": "method",
|
|
118129
|
-
"name": "_assignStep",
|
|
118130
|
-
"privacy": "private",
|
|
118131
|
-
"return": {
|
|
118132
|
-
"type": {
|
|
118133
|
-
"text": "void"
|
|
118134
|
-
}
|
|
118135
|
-
}
|
|
118136
|
-
},
|
|
118137
|
-
{
|
|
118138
|
-
"kind": "field",
|
|
118139
|
-
"name": "iconName",
|
|
118140
|
-
"type": {
|
|
118141
|
-
"text": "string"
|
|
118142
|
-
},
|
|
118143
|
-
"privacy": "public",
|
|
118144
|
-
"default": "''",
|
|
118145
|
-
"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.",
|
|
118146
|
-
"attribute": "icon-name",
|
|
118147
|
-
"inheritedFrom": {
|
|
118148
|
-
"name": "SbbIconNameMixin",
|
|
118149
|
-
"module": "icon/icon-name-mixin.js"
|
|
118150
|
-
}
|
|
118151
|
-
},
|
|
118152
|
-
{
|
|
118153
|
-
"kind": "method",
|
|
118154
|
-
"name": "renderIconSlot",
|
|
118155
|
-
"privacy": "protected",
|
|
118156
|
-
"return": {
|
|
118157
|
-
"type": {
|
|
118158
|
-
"text": "TemplateResult"
|
|
118159
|
-
}
|
|
118160
|
-
},
|
|
118161
|
-
"parameters": [
|
|
118162
|
-
{
|
|
118163
|
-
"name": "classname",
|
|
118164
|
-
"optional": true,
|
|
118165
|
-
"type": {
|
|
118166
|
-
"text": "string"
|
|
118167
|
-
}
|
|
118168
|
-
}
|
|
118169
|
-
],
|
|
118170
|
-
"inheritedFrom": {
|
|
118171
|
-
"name": "SbbIconNameMixin",
|
|
118172
|
-
"module": "icon/icon-name-mixin.js"
|
|
118173
|
-
}
|
|
118174
|
-
},
|
|
118175
|
-
{
|
|
118176
|
-
"kind": "method",
|
|
118177
|
-
"name": "renderIconName",
|
|
118178
|
-
"privacy": "protected",
|
|
118179
|
-
"return": {
|
|
118180
|
-
"type": {
|
|
118181
|
-
"text": "string"
|
|
118182
|
-
}
|
|
118183
|
-
},
|
|
118184
|
-
"inheritedFrom": {
|
|
118185
|
-
"name": "SbbIconNameMixin",
|
|
118186
|
-
"module": "icon/icon-name-mixin.js"
|
|
118187
|
-
}
|
|
118188
|
-
},
|
|
118189
|
-
{
|
|
118190
|
-
"kind": "method",
|
|
118191
|
-
"name": "_renderIconName",
|
|
118192
|
-
"privacy": "private",
|
|
118193
|
-
"return": {
|
|
118194
|
-
"type": {
|
|
118195
|
-
"text": "string"
|
|
117564
|
+
"text": "string"
|
|
118196
117565
|
}
|
|
118197
117566
|
},
|
|
118198
117567
|
"inheritedFrom": {
|
|
@@ -118958,6 +118327,637 @@
|
|
|
118958
118327
|
}
|
|
118959
118328
|
]
|
|
118960
118329
|
},
|
|
118330
|
+
{
|
|
118331
|
+
"kind": "javascript-module",
|
|
118332
|
+
"path": "stepper/stepper/stepper.component.js",
|
|
118333
|
+
"declarations": [
|
|
118334
|
+
{
|
|
118335
|
+
"kind": "class",
|
|
118336
|
+
"description": "",
|
|
118337
|
+
"name": "SbbStepChangeEvent",
|
|
118338
|
+
"members": [
|
|
118339
|
+
{
|
|
118340
|
+
"kind": "field",
|
|
118341
|
+
"name": "selectedIndex",
|
|
118342
|
+
"type": {
|
|
118343
|
+
"text": "number | null"
|
|
118344
|
+
},
|
|
118345
|
+
"privacy": "public",
|
|
118346
|
+
"readonly": true,
|
|
118347
|
+
"description": "The index of the newly selected step.",
|
|
118348
|
+
"default": "selectedIndex"
|
|
118349
|
+
},
|
|
118350
|
+
{
|
|
118351
|
+
"kind": "field",
|
|
118352
|
+
"name": "previousIndex",
|
|
118353
|
+
"type": {
|
|
118354
|
+
"text": "number | null"
|
|
118355
|
+
},
|
|
118356
|
+
"privacy": "public",
|
|
118357
|
+
"readonly": true,
|
|
118358
|
+
"description": "The index of the previously selected step.",
|
|
118359
|
+
"default": "previousIndex"
|
|
118360
|
+
},
|
|
118361
|
+
{
|
|
118362
|
+
"kind": "field",
|
|
118363
|
+
"name": "selectedStep",
|
|
118364
|
+
"type": {
|
|
118365
|
+
"text": "SbbStepElement | null"
|
|
118366
|
+
},
|
|
118367
|
+
"privacy": "public",
|
|
118368
|
+
"readonly": true,
|
|
118369
|
+
"description": "The newly selected step element.",
|
|
118370
|
+
"default": "selectedStep"
|
|
118371
|
+
},
|
|
118372
|
+
{
|
|
118373
|
+
"kind": "field",
|
|
118374
|
+
"name": "previousStep",
|
|
118375
|
+
"type": {
|
|
118376
|
+
"text": "SbbStepElement | null"
|
|
118377
|
+
},
|
|
118378
|
+
"privacy": "public",
|
|
118379
|
+
"readonly": true,
|
|
118380
|
+
"description": "The previously selected step element.",
|
|
118381
|
+
"default": "previousStep"
|
|
118382
|
+
}
|
|
118383
|
+
],
|
|
118384
|
+
"superclass": {
|
|
118385
|
+
"name": "Event",
|
|
118386
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118387
|
+
}
|
|
118388
|
+
},
|
|
118389
|
+
{
|
|
118390
|
+
"kind": "class",
|
|
118391
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
118392
|
+
"name": "SbbStepperElement",
|
|
118393
|
+
"slots": [
|
|
118394
|
+
{
|
|
118395
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
118396
|
+
"name": ""
|
|
118397
|
+
},
|
|
118398
|
+
{
|
|
118399
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
118400
|
+
"name": "step-label"
|
|
118401
|
+
},
|
|
118402
|
+
{
|
|
118403
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
118404
|
+
"name": "step"
|
|
118405
|
+
}
|
|
118406
|
+
],
|
|
118407
|
+
"members": [
|
|
118408
|
+
{
|
|
118409
|
+
"kind": "field",
|
|
118410
|
+
"name": "elementName",
|
|
118411
|
+
"type": {
|
|
118412
|
+
"text": "string"
|
|
118413
|
+
},
|
|
118414
|
+
"privacy": "public",
|
|
118415
|
+
"static": true,
|
|
118416
|
+
"readonly": true,
|
|
118417
|
+
"default": "'sbb-stepper'",
|
|
118418
|
+
"inheritedFrom": {
|
|
118419
|
+
"name": "SbbElement",
|
|
118420
|
+
"module": "core/base-elements/element.js"
|
|
118421
|
+
}
|
|
118422
|
+
},
|
|
118423
|
+
{
|
|
118424
|
+
"kind": "field",
|
|
118425
|
+
"name": "events",
|
|
118426
|
+
"privacy": "public",
|
|
118427
|
+
"static": true,
|
|
118428
|
+
"readonly": true,
|
|
118429
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
118430
|
+
"type": {
|
|
118431
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
118432
|
+
}
|
|
118433
|
+
},
|
|
118434
|
+
{
|
|
118435
|
+
"kind": "field",
|
|
118436
|
+
"name": "_observer",
|
|
118437
|
+
"privacy": "private",
|
|
118438
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
118439
|
+
"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."
|
|
118440
|
+
},
|
|
118441
|
+
{
|
|
118442
|
+
"kind": "field",
|
|
118443
|
+
"name": "linear",
|
|
118444
|
+
"type": {
|
|
118445
|
+
"text": "boolean"
|
|
118446
|
+
},
|
|
118447
|
+
"privacy": "public",
|
|
118448
|
+
"default": "false",
|
|
118449
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
118450
|
+
"attribute": "linear"
|
|
118451
|
+
},
|
|
118452
|
+
{
|
|
118453
|
+
"kind": "field",
|
|
118454
|
+
"name": "horizontalFrom",
|
|
118455
|
+
"privacy": "public",
|
|
118456
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
118457
|
+
"type": {
|
|
118458
|
+
"text": "SbbHorizontalFrom | null"
|
|
118459
|
+
},
|
|
118460
|
+
"attribute": "horizontal-from",
|
|
118461
|
+
"reflects": true,
|
|
118462
|
+
"default": "null"
|
|
118463
|
+
},
|
|
118464
|
+
{
|
|
118465
|
+
"kind": "field",
|
|
118466
|
+
"name": "_horizontalFrom",
|
|
118467
|
+
"type": {
|
|
118468
|
+
"text": "SbbHorizontalFrom | null"
|
|
118469
|
+
},
|
|
118470
|
+
"privacy": "private",
|
|
118471
|
+
"default": "null"
|
|
118472
|
+
},
|
|
118473
|
+
{
|
|
118474
|
+
"kind": "field",
|
|
118475
|
+
"name": "orientation",
|
|
118476
|
+
"type": {
|
|
118477
|
+
"text": "SbbOrientation"
|
|
118478
|
+
},
|
|
118479
|
+
"privacy": "public",
|
|
118480
|
+
"default": "'horizontal'",
|
|
118481
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
118482
|
+
"attribute": "orientation",
|
|
118483
|
+
"reflects": true
|
|
118484
|
+
},
|
|
118485
|
+
{
|
|
118486
|
+
"kind": "field",
|
|
118487
|
+
"name": "size",
|
|
118488
|
+
"type": {
|
|
118489
|
+
"text": "'s' | 'm'"
|
|
118490
|
+
},
|
|
118491
|
+
"privacy": "public",
|
|
118492
|
+
"description": "Size variant, either s or m.",
|
|
118493
|
+
"default": "'m' / 's' (lean)",
|
|
118494
|
+
"attribute": "size",
|
|
118495
|
+
"reflects": true
|
|
118496
|
+
},
|
|
118497
|
+
{
|
|
118498
|
+
"kind": "field",
|
|
118499
|
+
"name": "selected",
|
|
118500
|
+
"privacy": "public",
|
|
118501
|
+
"description": "The currently selected step.",
|
|
118502
|
+
"type": {
|
|
118503
|
+
"text": "SbbStepElement | null"
|
|
118504
|
+
}
|
|
118505
|
+
},
|
|
118506
|
+
{
|
|
118507
|
+
"kind": "field",
|
|
118508
|
+
"name": "_requestedSelected",
|
|
118509
|
+
"type": {
|
|
118510
|
+
"text": "SbbStepElement | null"
|
|
118511
|
+
},
|
|
118512
|
+
"privacy": "private",
|
|
118513
|
+
"default": "null"
|
|
118514
|
+
},
|
|
118515
|
+
{
|
|
118516
|
+
"kind": "field",
|
|
118517
|
+
"name": "selectedIndex",
|
|
118518
|
+
"privacy": "public",
|
|
118519
|
+
"description": "The currently selected step index.",
|
|
118520
|
+
"type": {
|
|
118521
|
+
"text": "number | null"
|
|
118522
|
+
},
|
|
118523
|
+
"attribute": "selected-index"
|
|
118524
|
+
},
|
|
118525
|
+
{
|
|
118526
|
+
"kind": "field",
|
|
118527
|
+
"name": "_requestedSelectedIndex",
|
|
118528
|
+
"type": {
|
|
118529
|
+
"text": "number | null"
|
|
118530
|
+
},
|
|
118531
|
+
"privacy": "private",
|
|
118532
|
+
"default": "null"
|
|
118533
|
+
},
|
|
118534
|
+
{
|
|
118535
|
+
"kind": "field",
|
|
118536
|
+
"name": "steps",
|
|
118537
|
+
"type": {
|
|
118538
|
+
"text": "SbbStepElement[]"
|
|
118539
|
+
},
|
|
118540
|
+
"privacy": "public",
|
|
118541
|
+
"description": "The steps of the stepper.",
|
|
118542
|
+
"readonly": true
|
|
118543
|
+
},
|
|
118544
|
+
{
|
|
118545
|
+
"kind": "field",
|
|
118546
|
+
"name": "_enabledSteps",
|
|
118547
|
+
"type": {
|
|
118548
|
+
"text": "SbbStepElement[]"
|
|
118549
|
+
},
|
|
118550
|
+
"privacy": "private",
|
|
118551
|
+
"readonly": true
|
|
118552
|
+
},
|
|
118553
|
+
{
|
|
118554
|
+
"kind": "field",
|
|
118555
|
+
"name": "_loaded",
|
|
118556
|
+
"type": {
|
|
118557
|
+
"text": "boolean"
|
|
118558
|
+
},
|
|
118559
|
+
"privacy": "private",
|
|
118560
|
+
"default": "false"
|
|
118561
|
+
},
|
|
118562
|
+
{
|
|
118563
|
+
"kind": "field",
|
|
118564
|
+
"name": "_resizeObserverTimeout",
|
|
118565
|
+
"type": {
|
|
118566
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
118567
|
+
},
|
|
118568
|
+
"privacy": "private",
|
|
118569
|
+
"default": "null"
|
|
118570
|
+
},
|
|
118571
|
+
{
|
|
118572
|
+
"kind": "field",
|
|
118573
|
+
"name": "_mediaMatcher",
|
|
118574
|
+
"privacy": "private",
|
|
118575
|
+
"default": "new SbbMediaMatcherController(this, {})"
|
|
118576
|
+
},
|
|
118577
|
+
{
|
|
118578
|
+
"kind": "method",
|
|
118579
|
+
"name": "next",
|
|
118580
|
+
"privacy": "public",
|
|
118581
|
+
"return": {
|
|
118582
|
+
"type": {
|
|
118583
|
+
"text": "void"
|
|
118584
|
+
}
|
|
118585
|
+
},
|
|
118586
|
+
"description": "Selects the next step."
|
|
118587
|
+
},
|
|
118588
|
+
{
|
|
118589
|
+
"kind": "method",
|
|
118590
|
+
"name": "previous",
|
|
118591
|
+
"privacy": "public",
|
|
118592
|
+
"return": {
|
|
118593
|
+
"type": {
|
|
118594
|
+
"text": "void"
|
|
118595
|
+
}
|
|
118596
|
+
},
|
|
118597
|
+
"description": "Selects the previous step."
|
|
118598
|
+
},
|
|
118599
|
+
{
|
|
118600
|
+
"kind": "method",
|
|
118601
|
+
"name": "reset",
|
|
118602
|
+
"privacy": "public",
|
|
118603
|
+
"return": {
|
|
118604
|
+
"type": {
|
|
118605
|
+
"text": "void"
|
|
118606
|
+
}
|
|
118607
|
+
},
|
|
118608
|
+
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
118609
|
+
},
|
|
118610
|
+
{
|
|
118611
|
+
"kind": "method",
|
|
118612
|
+
"name": "_isSelectable",
|
|
118613
|
+
"privacy": "private",
|
|
118614
|
+
"return": {
|
|
118615
|
+
"type": {
|
|
118616
|
+
"text": "step is SbbStepElement"
|
|
118617
|
+
}
|
|
118618
|
+
},
|
|
118619
|
+
"parameters": [
|
|
118620
|
+
{
|
|
118621
|
+
"name": "step",
|
|
118622
|
+
"type": {
|
|
118623
|
+
"text": "SbbStepElement | null"
|
|
118624
|
+
}
|
|
118625
|
+
}
|
|
118626
|
+
]
|
|
118627
|
+
},
|
|
118628
|
+
{
|
|
118629
|
+
"kind": "method",
|
|
118630
|
+
"name": "_select",
|
|
118631
|
+
"privacy": "private",
|
|
118632
|
+
"return": {
|
|
118633
|
+
"type": {
|
|
118634
|
+
"text": "void"
|
|
118635
|
+
}
|
|
118636
|
+
},
|
|
118637
|
+
"parameters": [
|
|
118638
|
+
{
|
|
118639
|
+
"name": "step",
|
|
118640
|
+
"type": {
|
|
118641
|
+
"text": "SbbStepElement | null"
|
|
118642
|
+
}
|
|
118643
|
+
}
|
|
118644
|
+
]
|
|
118645
|
+
},
|
|
118646
|
+
{
|
|
118647
|
+
"kind": "method",
|
|
118648
|
+
"name": "_setMarkerSize",
|
|
118649
|
+
"privacy": "private",
|
|
118650
|
+
"return": {
|
|
118651
|
+
"type": {
|
|
118652
|
+
"text": "void"
|
|
118653
|
+
}
|
|
118654
|
+
}
|
|
118655
|
+
},
|
|
118656
|
+
{
|
|
118657
|
+
"kind": "method",
|
|
118658
|
+
"name": "_setStepperHeight",
|
|
118659
|
+
"privacy": "private",
|
|
118660
|
+
"return": {
|
|
118661
|
+
"type": {
|
|
118662
|
+
"text": "void"
|
|
118663
|
+
}
|
|
118664
|
+
},
|
|
118665
|
+
"parameters": [
|
|
118666
|
+
{
|
|
118667
|
+
"name": "step",
|
|
118668
|
+
"type": {
|
|
118669
|
+
"text": "SbbStepElement | null"
|
|
118670
|
+
}
|
|
118671
|
+
}
|
|
118672
|
+
],
|
|
118673
|
+
"description": "Sets the stepper height based on the height of the provided step."
|
|
118674
|
+
},
|
|
118675
|
+
{
|
|
118676
|
+
"kind": "method",
|
|
118677
|
+
"name": "_calculateLabelOffsetTop",
|
|
118678
|
+
"privacy": "private",
|
|
118679
|
+
"return": {
|
|
118680
|
+
"type": {
|
|
118681
|
+
"text": "number | undefined"
|
|
118682
|
+
}
|
|
118683
|
+
}
|
|
118684
|
+
},
|
|
118685
|
+
{
|
|
118686
|
+
"kind": "method",
|
|
118687
|
+
"name": "_onSelectedStepResize",
|
|
118688
|
+
"privacy": "private",
|
|
118689
|
+
"return": {
|
|
118690
|
+
"type": {
|
|
118691
|
+
"text": "void"
|
|
118692
|
+
}
|
|
118693
|
+
},
|
|
118694
|
+
"parameters": [
|
|
118695
|
+
{
|
|
118696
|
+
"name": "e",
|
|
118697
|
+
"type": {
|
|
118698
|
+
"text": "Event"
|
|
118699
|
+
}
|
|
118700
|
+
}
|
|
118701
|
+
]
|
|
118702
|
+
},
|
|
118703
|
+
{
|
|
118704
|
+
"kind": "method",
|
|
118705
|
+
"name": "_configure",
|
|
118706
|
+
"privacy": "private",
|
|
118707
|
+
"return": {
|
|
118708
|
+
"type": {
|
|
118709
|
+
"text": "void"
|
|
118710
|
+
}
|
|
118711
|
+
}
|
|
118712
|
+
},
|
|
118713
|
+
{
|
|
118714
|
+
"kind": "method",
|
|
118715
|
+
"name": "_updateLabels",
|
|
118716
|
+
"privacy": "private",
|
|
118717
|
+
"return": {
|
|
118718
|
+
"type": {
|
|
118719
|
+
"text": "void"
|
|
118720
|
+
}
|
|
118721
|
+
}
|
|
118722
|
+
},
|
|
118723
|
+
{
|
|
118724
|
+
"kind": "method",
|
|
118725
|
+
"name": "_checkOrientation",
|
|
118726
|
+
"privacy": "private",
|
|
118727
|
+
"return": {
|
|
118728
|
+
"type": {
|
|
118729
|
+
"text": "void"
|
|
118730
|
+
}
|
|
118731
|
+
}
|
|
118732
|
+
},
|
|
118733
|
+
{
|
|
118734
|
+
"kind": "field",
|
|
118735
|
+
"name": "_onStepperResize",
|
|
118736
|
+
"privacy": "private"
|
|
118737
|
+
},
|
|
118738
|
+
{
|
|
118739
|
+
"kind": "method",
|
|
118740
|
+
"name": "_configureLinearMode",
|
|
118741
|
+
"privacy": "private",
|
|
118742
|
+
"return": {
|
|
118743
|
+
"type": {
|
|
118744
|
+
"text": "void"
|
|
118745
|
+
}
|
|
118746
|
+
}
|
|
118747
|
+
},
|
|
118748
|
+
{
|
|
118749
|
+
"kind": "method",
|
|
118750
|
+
"name": "_handleKeyDown",
|
|
118751
|
+
"privacy": "private",
|
|
118752
|
+
"return": {
|
|
118753
|
+
"type": {
|
|
118754
|
+
"text": "void"
|
|
118755
|
+
}
|
|
118756
|
+
},
|
|
118757
|
+
"parameters": [
|
|
118758
|
+
{
|
|
118759
|
+
"name": "evt",
|
|
118760
|
+
"type": {
|
|
118761
|
+
"text": "KeyboardEvent"
|
|
118762
|
+
}
|
|
118763
|
+
}
|
|
118764
|
+
]
|
|
118765
|
+
},
|
|
118766
|
+
{
|
|
118767
|
+
"kind": "field",
|
|
118768
|
+
"name": "_hydrationRequired",
|
|
118769
|
+
"type": {
|
|
118770
|
+
"text": "boolean"
|
|
118771
|
+
},
|
|
118772
|
+
"privacy": "private",
|
|
118773
|
+
"default": "!!this.shadowRoot",
|
|
118774
|
+
"inheritedFrom": {
|
|
118775
|
+
"name": "SbbElement",
|
|
118776
|
+
"module": "core/base-elements/element.js"
|
|
118777
|
+
}
|
|
118778
|
+
},
|
|
118779
|
+
{
|
|
118780
|
+
"kind": "field",
|
|
118781
|
+
"name": "_hydrationComplete",
|
|
118782
|
+
"privacy": "private",
|
|
118783
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
118784
|
+
"inheritedFrom": {
|
|
118785
|
+
"name": "SbbElement",
|
|
118786
|
+
"module": "core/base-elements/element.js"
|
|
118787
|
+
}
|
|
118788
|
+
},
|
|
118789
|
+
{
|
|
118790
|
+
"kind": "field",
|
|
118791
|
+
"name": "_resolveHydration",
|
|
118792
|
+
"type": {
|
|
118793
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
118794
|
+
},
|
|
118795
|
+
"privacy": "private",
|
|
118796
|
+
"inheritedFrom": {
|
|
118797
|
+
"name": "SbbElement",
|
|
118798
|
+
"module": "core/base-elements/element.js"
|
|
118799
|
+
}
|
|
118800
|
+
},
|
|
118801
|
+
{
|
|
118802
|
+
"kind": "field",
|
|
118803
|
+
"name": "hydrationRequired",
|
|
118804
|
+
"type": {
|
|
118805
|
+
"text": "boolean"
|
|
118806
|
+
},
|
|
118807
|
+
"privacy": "protected",
|
|
118808
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
118809
|
+
"readonly": true,
|
|
118810
|
+
"inheritedFrom": {
|
|
118811
|
+
"name": "SbbElement",
|
|
118812
|
+
"module": "core/base-elements/element.js"
|
|
118813
|
+
},
|
|
118814
|
+
"default": "!!this.shadowRoot"
|
|
118815
|
+
},
|
|
118816
|
+
{
|
|
118817
|
+
"kind": "method",
|
|
118818
|
+
"name": "toggleState",
|
|
118819
|
+
"privacy": "protected",
|
|
118820
|
+
"return": {
|
|
118821
|
+
"type": {
|
|
118822
|
+
"text": "void"
|
|
118823
|
+
}
|
|
118824
|
+
},
|
|
118825
|
+
"parameters": [
|
|
118826
|
+
{
|
|
118827
|
+
"name": "value",
|
|
118828
|
+
"type": {
|
|
118829
|
+
"text": "string"
|
|
118830
|
+
}
|
|
118831
|
+
},
|
|
118832
|
+
{
|
|
118833
|
+
"name": "force",
|
|
118834
|
+
"optional": true,
|
|
118835
|
+
"type": {
|
|
118836
|
+
"text": "boolean"
|
|
118837
|
+
}
|
|
118838
|
+
}
|
|
118839
|
+
],
|
|
118840
|
+
"inheritedFrom": {
|
|
118841
|
+
"name": "SbbElement",
|
|
118842
|
+
"module": "core/base-elements/element.js"
|
|
118843
|
+
}
|
|
118844
|
+
},
|
|
118845
|
+
{
|
|
118846
|
+
"kind": "field",
|
|
118847
|
+
"name": "['_$sbbElement$']",
|
|
118848
|
+
"type": {
|
|
118849
|
+
"text": "boolean"
|
|
118850
|
+
},
|
|
118851
|
+
"privacy": "public",
|
|
118852
|
+
"static": true,
|
|
118853
|
+
"default": "true",
|
|
118854
|
+
"inheritedFrom": {
|
|
118855
|
+
"name": "SbbElement",
|
|
118856
|
+
"module": "core/base-elements/element.js"
|
|
118857
|
+
}
|
|
118858
|
+
},
|
|
118859
|
+
{
|
|
118860
|
+
"kind": "field",
|
|
118861
|
+
"name": "_controllers",
|
|
118862
|
+
"type": {
|
|
118863
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
118864
|
+
},
|
|
118865
|
+
"privacy": "private",
|
|
118866
|
+
"inheritedFrom": {
|
|
118867
|
+
"name": "SbbElement",
|
|
118868
|
+
"module": "core/base-elements/element.js"
|
|
118869
|
+
}
|
|
118870
|
+
}
|
|
118871
|
+
],
|
|
118872
|
+
"events": [
|
|
118873
|
+
{
|
|
118874
|
+
"type": {
|
|
118875
|
+
"text": "SbbStepChangeEvent"
|
|
118876
|
+
},
|
|
118877
|
+
"description": "Emits whenever a step was changed.",
|
|
118878
|
+
"name": "stepchange"
|
|
118879
|
+
}
|
|
118880
|
+
],
|
|
118881
|
+
"attributes": [
|
|
118882
|
+
{
|
|
118883
|
+
"name": "linear",
|
|
118884
|
+
"type": {
|
|
118885
|
+
"text": "boolean"
|
|
118886
|
+
},
|
|
118887
|
+
"default": "false",
|
|
118888
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
118889
|
+
"fieldName": "linear"
|
|
118890
|
+
},
|
|
118891
|
+
{
|
|
118892
|
+
"name": "horizontal-from",
|
|
118893
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
118894
|
+
"type": {
|
|
118895
|
+
"text": "SbbHorizontalFrom | null"
|
|
118896
|
+
},
|
|
118897
|
+
"fieldName": "horizontalFrom"
|
|
118898
|
+
},
|
|
118899
|
+
{
|
|
118900
|
+
"name": "orientation",
|
|
118901
|
+
"type": {
|
|
118902
|
+
"text": "SbbOrientation"
|
|
118903
|
+
},
|
|
118904
|
+
"default": "'horizontal'",
|
|
118905
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
118906
|
+
"fieldName": "orientation"
|
|
118907
|
+
},
|
|
118908
|
+
{
|
|
118909
|
+
"name": "size",
|
|
118910
|
+
"type": {
|
|
118911
|
+
"text": "'s' | 'm'"
|
|
118912
|
+
},
|
|
118913
|
+
"description": "Size variant, either s or m.",
|
|
118914
|
+
"default": "'m' / 's' (lean)",
|
|
118915
|
+
"fieldName": "size"
|
|
118916
|
+
},
|
|
118917
|
+
{
|
|
118918
|
+
"name": "selected-index",
|
|
118919
|
+
"description": "The currently selected step index.",
|
|
118920
|
+
"type": {
|
|
118921
|
+
"text": "number | null"
|
|
118922
|
+
},
|
|
118923
|
+
"fieldName": "selectedIndex"
|
|
118924
|
+
}
|
|
118925
|
+
],
|
|
118926
|
+
"superclass": {
|
|
118927
|
+
"name": "SbbElement",
|
|
118928
|
+
"module": "core/base-elements.js"
|
|
118929
|
+
},
|
|
118930
|
+
"tagName": "sbb-stepper",
|
|
118931
|
+
"customElement": true
|
|
118932
|
+
},
|
|
118933
|
+
{
|
|
118934
|
+
"kind": "variable",
|
|
118935
|
+
"name": "currentIndex"
|
|
118936
|
+
},
|
|
118937
|
+
{
|
|
118938
|
+
"kind": "variable",
|
|
118939
|
+
"name": "currentStep"
|
|
118940
|
+
}
|
|
118941
|
+
],
|
|
118942
|
+
"exports": [
|
|
118943
|
+
{
|
|
118944
|
+
"kind": "js",
|
|
118945
|
+
"name": "SbbStepChangeEvent",
|
|
118946
|
+
"declaration": {
|
|
118947
|
+
"name": "SbbStepChangeEvent",
|
|
118948
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118949
|
+
}
|
|
118950
|
+
},
|
|
118951
|
+
{
|
|
118952
|
+
"kind": "js",
|
|
118953
|
+
"name": "SbbStepperElement",
|
|
118954
|
+
"declaration": {
|
|
118955
|
+
"name": "SbbStepperElement",
|
|
118956
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
118957
|
+
}
|
|
118958
|
+
}
|
|
118959
|
+
]
|
|
118960
|
+
},
|
|
118961
118961
|
{
|
|
118962
118962
|
"kind": "javascript-module",
|
|
118963
118963
|
"path": "table/table-wrapper/table-wrapper.component.js",
|