@sbb-esta/lyne-elements-dev 4.6.0-dev.1772125127 → 4.6.0-dev.1772145545
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 +1814 -1814
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -26010,12 +26010,12 @@
|
|
|
26010
26010
|
},
|
|
26011
26011
|
{
|
|
26012
26012
|
"kind": "javascript-module",
|
|
26013
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
26013
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
26014
26014
|
"declarations": [
|
|
26015
26015
|
{
|
|
26016
26016
|
"kind": "class",
|
|
26017
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
26018
|
-
"name": "
|
|
26017
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
26018
|
+
"name": "SbbAccentButtonLinkElement",
|
|
26019
26019
|
"cssProperties": [
|
|
26020
26020
|
{
|
|
26021
26021
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -26025,7 +26025,7 @@
|
|
|
26025
26025
|
],
|
|
26026
26026
|
"slots": [
|
|
26027
26027
|
{
|
|
26028
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
26028
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
26029
26029
|
"name": ""
|
|
26030
26030
|
},
|
|
26031
26031
|
{
|
|
@@ -26225,479 +26225,151 @@
|
|
|
26225
26225
|
},
|
|
26226
26226
|
{
|
|
26227
26227
|
"kind": "field",
|
|
26228
|
-
"name": "
|
|
26229
|
-
"type": {
|
|
26230
|
-
"text": "array"
|
|
26231
|
-
},
|
|
26232
|
-
"privacy": "private",
|
|
26233
|
-
"readonly": true,
|
|
26234
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
26235
|
-
"inheritedFrom": {
|
|
26236
|
-
"name": "SbbButtonBaseElement",
|
|
26237
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26238
|
-
}
|
|
26239
|
-
},
|
|
26240
|
-
{
|
|
26241
|
-
"kind": "field",
|
|
26242
|
-
"name": "value",
|
|
26228
|
+
"name": "href",
|
|
26243
26229
|
"type": {
|
|
26244
26230
|
"text": "string"
|
|
26245
26231
|
},
|
|
26246
26232
|
"privacy": "public",
|
|
26247
26233
|
"default": "''",
|
|
26248
|
-
"description": "
|
|
26249
|
-
"attribute": "
|
|
26250
|
-
"
|
|
26251
|
-
"name": "SbbButtonBaseElement",
|
|
26252
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26253
|
-
}
|
|
26254
|
-
},
|
|
26255
|
-
{
|
|
26256
|
-
"kind": "field",
|
|
26257
|
-
"name": "type",
|
|
26258
|
-
"privacy": "public",
|
|
26259
|
-
"description": "The type attribute to use for the button.",
|
|
26260
|
-
"default": "'button'",
|
|
26261
|
-
"type": {
|
|
26262
|
-
"text": "SbbButtonType"
|
|
26263
|
-
},
|
|
26264
|
-
"attribute": "type",
|
|
26234
|
+
"description": "The href value you want to link to.",
|
|
26235
|
+
"attribute": "href",
|
|
26236
|
+
"reflects": true,
|
|
26265
26237
|
"inheritedFrom": {
|
|
26266
|
-
"name": "
|
|
26267
|
-
"module": "core/base-elements/
|
|
26238
|
+
"name": "SbbLinkBaseElement",
|
|
26239
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26268
26240
|
}
|
|
26269
26241
|
},
|
|
26270
26242
|
{
|
|
26271
26243
|
"kind": "field",
|
|
26272
|
-
"name": "
|
|
26244
|
+
"name": "target",
|
|
26273
26245
|
"type": {
|
|
26274
|
-
"text": "
|
|
26246
|
+
"text": "LinkTargetType | string"
|
|
26275
26247
|
},
|
|
26276
26248
|
"privacy": "public",
|
|
26277
|
-
"
|
|
26278
|
-
"
|
|
26249
|
+
"default": "''",
|
|
26250
|
+
"description": "Where to display the linked URL.",
|
|
26251
|
+
"attribute": "target",
|
|
26252
|
+
"reflects": true,
|
|
26279
26253
|
"inheritedFrom": {
|
|
26280
|
-
"name": "
|
|
26281
|
-
"module": "core/base-elements/
|
|
26254
|
+
"name": "SbbLinkBaseElement",
|
|
26255
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26282
26256
|
}
|
|
26283
26257
|
},
|
|
26284
26258
|
{
|
|
26285
26259
|
"kind": "field",
|
|
26286
|
-
"name": "
|
|
26260
|
+
"name": "rel",
|
|
26287
26261
|
"type": {
|
|
26288
26262
|
"text": "string"
|
|
26289
26263
|
},
|
|
26290
|
-
"privacy": "
|
|
26264
|
+
"privacy": "public",
|
|
26291
26265
|
"default": "''",
|
|
26266
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
26267
|
+
"attribute": "rel",
|
|
26268
|
+
"reflects": true,
|
|
26292
26269
|
"inheritedFrom": {
|
|
26293
|
-
"name": "
|
|
26294
|
-
"module": "core/base-elements/
|
|
26295
|
-
}
|
|
26296
|
-
},
|
|
26297
|
-
{
|
|
26298
|
-
"kind": "field",
|
|
26299
|
-
"name": "_handleButtonClick",
|
|
26300
|
-
"privacy": "private",
|
|
26301
|
-
"inheritedFrom": {
|
|
26302
|
-
"name": "SbbButtonBaseElement",
|
|
26303
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26304
|
-
}
|
|
26305
|
-
},
|
|
26306
|
-
{
|
|
26307
|
-
"kind": "method",
|
|
26308
|
-
"name": "_requestSubmit",
|
|
26309
|
-
"privacy": "private",
|
|
26310
|
-
"return": {
|
|
26311
|
-
"type": {
|
|
26312
|
-
"text": "void"
|
|
26313
|
-
}
|
|
26314
|
-
},
|
|
26315
|
-
"parameters": [
|
|
26316
|
-
{
|
|
26317
|
-
"name": "form",
|
|
26318
|
-
"type": {
|
|
26319
|
-
"text": "HTMLFormElement"
|
|
26320
|
-
}
|
|
26321
|
-
}
|
|
26322
|
-
],
|
|
26323
|
-
"inheritedFrom": {
|
|
26324
|
-
"name": "SbbButtonBaseElement",
|
|
26325
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26326
|
-
}
|
|
26327
|
-
},
|
|
26328
|
-
{
|
|
26329
|
-
"kind": "field",
|
|
26330
|
-
"name": "_formKeyDown",
|
|
26331
|
-
"privacy": "private",
|
|
26332
|
-
"inheritedFrom": {
|
|
26333
|
-
"name": "SbbButtonBaseElement",
|
|
26334
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26270
|
+
"name": "SbbLinkBaseElement",
|
|
26271
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26335
26272
|
}
|
|
26336
26273
|
},
|
|
26337
26274
|
{
|
|
26338
26275
|
"kind": "field",
|
|
26339
|
-
"name": "
|
|
26276
|
+
"name": "download",
|
|
26340
26277
|
"type": {
|
|
26341
26278
|
"text": "boolean"
|
|
26342
26279
|
},
|
|
26343
26280
|
"privacy": "public",
|
|
26344
|
-
"
|
|
26345
|
-
"
|
|
26281
|
+
"default": "false",
|
|
26282
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
26283
|
+
"attribute": "download",
|
|
26284
|
+
"reflects": true,
|
|
26346
26285
|
"inheritedFrom": {
|
|
26347
|
-
"name": "
|
|
26348
|
-
"module": "core/
|
|
26286
|
+
"name": "SbbLinkBaseElement",
|
|
26287
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26349
26288
|
}
|
|
26350
26289
|
},
|
|
26351
26290
|
{
|
|
26352
26291
|
"kind": "field",
|
|
26353
|
-
"name": "
|
|
26354
|
-
"privacy": "public",
|
|
26355
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
26292
|
+
"name": "accessibilityLabel",
|
|
26356
26293
|
"type": {
|
|
26357
26294
|
"text": "string"
|
|
26358
26295
|
},
|
|
26359
|
-
"attribute": "name",
|
|
26360
|
-
"inheritedFrom": {
|
|
26361
|
-
"name": "SbbFormAssociatedMixin",
|
|
26362
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26363
|
-
}
|
|
26364
|
-
},
|
|
26365
|
-
{
|
|
26366
|
-
"kind": "field",
|
|
26367
|
-
"name": "validity",
|
|
26368
|
-
"type": {
|
|
26369
|
-
"text": "ValidityState"
|
|
26370
|
-
},
|
|
26371
26296
|
"privacy": "public",
|
|
26372
|
-
"
|
|
26373
|
-
"
|
|
26297
|
+
"default": "''",
|
|
26298
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
26299
|
+
"attribute": "accessibility-label",
|
|
26374
26300
|
"inheritedFrom": {
|
|
26375
|
-
"name": "
|
|
26376
|
-
"module": "core/
|
|
26301
|
+
"name": "SbbLinkBaseElement",
|
|
26302
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26377
26303
|
}
|
|
26378
26304
|
},
|
|
26379
26305
|
{
|
|
26380
26306
|
"kind": "field",
|
|
26381
|
-
"name": "
|
|
26307
|
+
"name": "accessibilityCurrent",
|
|
26382
26308
|
"type": {
|
|
26383
26309
|
"text": "string"
|
|
26384
26310
|
},
|
|
26385
26311
|
"privacy": "public",
|
|
26386
|
-
"
|
|
26387
|
-
"
|
|
26388
|
-
"
|
|
26389
|
-
"name": "SbbFormAssociatedMixin",
|
|
26390
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26391
|
-
}
|
|
26392
|
-
},
|
|
26393
|
-
{
|
|
26394
|
-
"kind": "field",
|
|
26395
|
-
"name": "willValidate",
|
|
26396
|
-
"type": {
|
|
26397
|
-
"text": "boolean"
|
|
26398
|
-
},
|
|
26399
|
-
"privacy": "public",
|
|
26400
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
26401
|
-
"readonly": true,
|
|
26312
|
+
"default": "''",
|
|
26313
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
26314
|
+
"attribute": "accessibility-current",
|
|
26402
26315
|
"inheritedFrom": {
|
|
26403
|
-
"name": "
|
|
26404
|
-
"module": "core/
|
|
26316
|
+
"name": "SbbLinkBaseElement",
|
|
26317
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26405
26318
|
}
|
|
26406
26319
|
},
|
|
26407
26320
|
{
|
|
26408
26321
|
"kind": "field",
|
|
26409
|
-
"name": "
|
|
26410
|
-
"privacy": "
|
|
26411
|
-
"default": "new
|
|
26322
|
+
"name": "language",
|
|
26323
|
+
"privacy": "protected",
|
|
26324
|
+
"default": "new SbbLanguageController(this)",
|
|
26412
26325
|
"inheritedFrom": {
|
|
26413
|
-
"name": "
|
|
26414
|
-
"module": "core/
|
|
26326
|
+
"name": "SbbLinkBaseElement",
|
|
26327
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26415
26328
|
}
|
|
26416
26329
|
},
|
|
26417
26330
|
{
|
|
26418
26331
|
"kind": "field",
|
|
26419
|
-
"name": "
|
|
26332
|
+
"name": "anchorRole",
|
|
26420
26333
|
"type": {
|
|
26421
|
-
"text": "
|
|
26334
|
+
"text": "string | null"
|
|
26422
26335
|
},
|
|
26423
26336
|
"privacy": "protected",
|
|
26424
|
-
"
|
|
26425
|
-
"
|
|
26426
|
-
"inheritedFrom": {
|
|
26427
|
-
"name": "SbbFormAssociatedMixin",
|
|
26428
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26429
|
-
}
|
|
26430
|
-
},
|
|
26431
|
-
{
|
|
26432
|
-
"kind": "method",
|
|
26433
|
-
"name": "checkValidity",
|
|
26434
|
-
"privacy": "public",
|
|
26435
|
-
"return": {
|
|
26436
|
-
"type": {
|
|
26437
|
-
"text": "boolean"
|
|
26438
|
-
}
|
|
26439
|
-
},
|
|
26440
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
26441
|
-
"inheritedFrom": {
|
|
26442
|
-
"name": "SbbFormAssociatedMixin",
|
|
26443
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26444
|
-
}
|
|
26445
|
-
},
|
|
26446
|
-
{
|
|
26447
|
-
"kind": "method",
|
|
26448
|
-
"name": "reportValidity",
|
|
26449
|
-
"privacy": "public",
|
|
26450
|
-
"return": {
|
|
26451
|
-
"type": {
|
|
26452
|
-
"text": "boolean"
|
|
26453
|
-
}
|
|
26454
|
-
},
|
|
26455
|
-
"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.",
|
|
26456
|
-
"inheritedFrom": {
|
|
26457
|
-
"name": "SbbFormAssociatedMixin",
|
|
26458
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26459
|
-
}
|
|
26460
|
-
},
|
|
26461
|
-
{
|
|
26462
|
-
"kind": "method",
|
|
26463
|
-
"name": "setCustomValidity",
|
|
26464
|
-
"privacy": "public",
|
|
26465
|
-
"return": {
|
|
26466
|
-
"type": {
|
|
26467
|
-
"text": "void"
|
|
26468
|
-
}
|
|
26469
|
-
},
|
|
26470
|
-
"parameters": [
|
|
26471
|
-
{
|
|
26472
|
-
"name": "message",
|
|
26473
|
-
"type": {
|
|
26474
|
-
"text": "string"
|
|
26475
|
-
}
|
|
26476
|
-
}
|
|
26477
|
-
],
|
|
26478
|
-
"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.",
|
|
26337
|
+
"readonly": true,
|
|
26338
|
+
"default": "null",
|
|
26479
26339
|
"inheritedFrom": {
|
|
26480
|
-
"name": "
|
|
26481
|
-
"module": "core/
|
|
26340
|
+
"name": "SbbLinkBaseElement",
|
|
26341
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26482
26342
|
}
|
|
26483
26343
|
},
|
|
26484
26344
|
{
|
|
26485
|
-
"kind": "
|
|
26486
|
-
"name": "
|
|
26345
|
+
"kind": "field",
|
|
26346
|
+
"name": "_evaluateRelAttribute",
|
|
26487
26347
|
"privacy": "private",
|
|
26488
|
-
"return": {
|
|
26489
|
-
"type": {
|
|
26490
|
-
"text": "boolean"
|
|
26491
|
-
}
|
|
26492
|
-
},
|
|
26493
|
-
"inheritedFrom": {
|
|
26494
|
-
"name": "SbbFormAssociatedMixin",
|
|
26495
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26496
|
-
}
|
|
26497
|
-
},
|
|
26498
|
-
{
|
|
26499
|
-
"kind": "method",
|
|
26500
|
-
"name": "updateFormValue",
|
|
26501
|
-
"privacy": "protected",
|
|
26502
|
-
"return": {
|
|
26503
|
-
"type": {
|
|
26504
|
-
"text": "void"
|
|
26505
|
-
}
|
|
26506
|
-
},
|
|
26507
|
-
"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",
|
|
26508
|
-
"inheritedFrom": {
|
|
26509
|
-
"name": "SbbFormAssociatedMixin",
|
|
26510
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26511
|
-
}
|
|
26512
|
-
},
|
|
26513
|
-
{
|
|
26514
|
-
"kind": "method",
|
|
26515
|
-
"name": "formState",
|
|
26516
|
-
"privacy": "protected",
|
|
26517
|
-
"return": {
|
|
26518
|
-
"type": {
|
|
26519
|
-
"text": "FormRestoreState"
|
|
26520
|
-
}
|
|
26521
|
-
},
|
|
26522
|
-
"inheritedFrom": {
|
|
26523
|
-
"name": "SbbFormAssociatedMixin",
|
|
26524
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26525
|
-
}
|
|
26526
|
-
},
|
|
26527
|
-
{
|
|
26528
|
-
"kind": "method",
|
|
26529
|
-
"name": "setValidityFlag",
|
|
26530
|
-
"privacy": "protected",
|
|
26531
|
-
"return": {
|
|
26532
|
-
"type": {
|
|
26533
|
-
"text": "void"
|
|
26534
|
-
}
|
|
26535
|
-
},
|
|
26536
|
-
"parameters": [
|
|
26537
|
-
{
|
|
26538
|
-
"name": "flag",
|
|
26539
|
-
"type": {
|
|
26540
|
-
"text": "T"
|
|
26541
|
-
}
|
|
26542
|
-
},
|
|
26543
|
-
{
|
|
26544
|
-
"name": "message",
|
|
26545
|
-
"type": {
|
|
26546
|
-
"text": "string"
|
|
26547
|
-
}
|
|
26548
|
-
},
|
|
26549
|
-
{
|
|
26550
|
-
"name": "flagValue",
|
|
26551
|
-
"optional": true,
|
|
26552
|
-
"type": {
|
|
26553
|
-
"text": "ValidityStateFlags[T]"
|
|
26554
|
-
}
|
|
26555
|
-
}
|
|
26556
|
-
],
|
|
26557
|
-
"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).",
|
|
26558
|
-
"inheritedFrom": {
|
|
26559
|
-
"name": "SbbFormAssociatedMixin",
|
|
26560
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26561
|
-
}
|
|
26562
|
-
},
|
|
26563
|
-
{
|
|
26564
|
-
"kind": "method",
|
|
26565
|
-
"name": "removeValidityFlag",
|
|
26566
|
-
"privacy": "protected",
|
|
26567
|
-
"return": {
|
|
26568
|
-
"type": {
|
|
26569
|
-
"text": "void"
|
|
26570
|
-
}
|
|
26571
|
-
},
|
|
26572
|
-
"parameters": [
|
|
26573
|
-
{
|
|
26574
|
-
"name": "flag",
|
|
26575
|
-
"type": {
|
|
26576
|
-
"text": "T"
|
|
26577
|
-
}
|
|
26578
|
-
}
|
|
26579
|
-
],
|
|
26580
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
26581
|
-
"inheritedFrom": {
|
|
26582
|
-
"name": "SbbFormAssociatedMixin",
|
|
26583
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26584
|
-
}
|
|
26585
|
-
},
|
|
26586
|
-
{
|
|
26587
|
-
"kind": "method",
|
|
26588
|
-
"name": "validate",
|
|
26589
|
-
"privacy": "protected",
|
|
26590
|
-
"return": {
|
|
26591
|
-
"type": {
|
|
26592
|
-
"text": "void"
|
|
26593
|
-
}
|
|
26594
|
-
},
|
|
26595
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
26596
26348
|
"inheritedFrom": {
|
|
26597
|
-
"name": "
|
|
26598
|
-
"module": "core/
|
|
26349
|
+
"name": "SbbLinkBaseElement",
|
|
26350
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26599
26351
|
}
|
|
26600
26352
|
},
|
|
26601
26353
|
{
|
|
26602
26354
|
"kind": "method",
|
|
26603
|
-
"name": "
|
|
26355
|
+
"name": "renderLink",
|
|
26604
26356
|
"privacy": "protected",
|
|
26605
26357
|
"return": {
|
|
26606
26358
|
"type": {
|
|
26607
|
-
"text": "
|
|
26359
|
+
"text": "TemplateResult"
|
|
26608
26360
|
}
|
|
26609
26361
|
},
|
|
26610
26362
|
"parameters": [
|
|
26611
26363
|
{
|
|
26612
|
-
"name": "
|
|
26364
|
+
"name": "renderContent",
|
|
26613
26365
|
"type": {
|
|
26614
|
-
"text": "
|
|
26366
|
+
"text": "TemplateResult"
|
|
26615
26367
|
}
|
|
26616
26368
|
}
|
|
26617
26369
|
],
|
|
26618
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
26619
|
-
"inheritedFrom": {
|
|
26620
|
-
"name": "SbbFormAssociatedMixin",
|
|
26621
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26622
|
-
}
|
|
26623
|
-
},
|
|
26624
|
-
{
|
|
26625
|
-
"kind": "method",
|
|
26626
|
-
"name": "_setInternalValidity",
|
|
26627
|
-
"privacy": "private",
|
|
26628
|
-
"return": {
|
|
26629
|
-
"type": {
|
|
26630
|
-
"text": "void"
|
|
26631
|
-
}
|
|
26632
|
-
},
|
|
26633
|
-
"inheritedFrom": {
|
|
26634
|
-
"name": "SbbFormAssociatedMixin",
|
|
26635
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
26636
|
-
}
|
|
26637
|
-
},
|
|
26638
|
-
{
|
|
26639
|
-
"kind": "field",
|
|
26640
|
-
"name": "role",
|
|
26641
|
-
"type": {
|
|
26642
|
-
"text": "ElementInternals['role']"
|
|
26643
|
-
},
|
|
26644
|
-
"privacy": "public",
|
|
26645
|
-
"static": true,
|
|
26646
|
-
"readonly": true,
|
|
26647
|
-
"default": "'button'",
|
|
26648
|
-
"inheritedFrom": {
|
|
26649
|
-
"name": "SbbButtonLikeBaseElement",
|
|
26650
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26651
|
-
}
|
|
26652
|
-
},
|
|
26653
|
-
{
|
|
26654
|
-
"kind": "field",
|
|
26655
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
26656
|
-
"privacy": "private",
|
|
26657
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
26658
|
-
"parameters": [
|
|
26659
|
-
{
|
|
26660
|
-
"description": "The origin event.",
|
|
26661
|
-
"name": "event"
|
|
26662
|
-
}
|
|
26663
|
-
],
|
|
26664
|
-
"inheritedFrom": {
|
|
26665
|
-
"name": "SbbButtonLikeBaseElement",
|
|
26666
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26667
|
-
}
|
|
26668
|
-
},
|
|
26669
|
-
{
|
|
26670
|
-
"kind": "field",
|
|
26671
|
-
"name": "_removeActiveMarker",
|
|
26672
|
-
"privacy": "private",
|
|
26673
|
-
"inheritedFrom": {
|
|
26674
|
-
"name": "SbbButtonLikeBaseElement",
|
|
26675
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26676
|
-
}
|
|
26677
|
-
},
|
|
26678
|
-
{
|
|
26679
|
-
"kind": "field",
|
|
26680
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
26681
|
-
"privacy": "private",
|
|
26682
|
-
"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.",
|
|
26683
|
-
"parameters": [
|
|
26684
|
-
{
|
|
26685
|
-
"description": "The origin event.",
|
|
26686
|
-
"name": "event"
|
|
26687
|
-
}
|
|
26688
|
-
],
|
|
26689
|
-
"inheritedFrom": {
|
|
26690
|
-
"name": "SbbButtonLikeBaseElement",
|
|
26691
|
-
"module": "core/base-elements/button-base-element.js"
|
|
26692
|
-
}
|
|
26693
|
-
},
|
|
26694
|
-
{
|
|
26695
|
-
"kind": "field",
|
|
26696
|
-
"name": "_dispatchClickEvent",
|
|
26697
|
-
"privacy": "private",
|
|
26698
26370
|
"inheritedFrom": {
|
|
26699
|
-
"name": "
|
|
26700
|
-
"module": "core/base-elements/
|
|
26371
|
+
"name": "SbbLinkBaseElement",
|
|
26372
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26701
26373
|
}
|
|
26702
26374
|
},
|
|
26703
26375
|
{
|
|
@@ -26776,15 +26448,19 @@
|
|
|
26776
26448
|
"module": "button/common.js"
|
|
26777
26449
|
},
|
|
26778
26450
|
{
|
|
26779
|
-
"name": "
|
|
26451
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
26452
|
+
"module": "core/mixins.js"
|
|
26453
|
+
},
|
|
26454
|
+
{
|
|
26455
|
+
"name": "SbbDisabledMixin",
|
|
26780
26456
|
"module": "core/mixins.js"
|
|
26781
26457
|
}
|
|
26782
26458
|
],
|
|
26783
26459
|
"superclass": {
|
|
26784
|
-
"name": "
|
|
26460
|
+
"name": "SbbLinkBaseElement",
|
|
26785
26461
|
"module": "core/base-elements.js"
|
|
26786
26462
|
},
|
|
26787
|
-
"tagName": "sbb-accent-button",
|
|
26463
|
+
"tagName": "sbb-accent-button-link",
|
|
26788
26464
|
"customElement": true,
|
|
26789
26465
|
"attributes": [
|
|
26790
26466
|
{
|
|
@@ -26866,53 +26542,81 @@
|
|
|
26866
26542
|
}
|
|
26867
26543
|
},
|
|
26868
26544
|
{
|
|
26869
|
-
"name": "
|
|
26545
|
+
"name": "href",
|
|
26870
26546
|
"type": {
|
|
26871
26547
|
"text": "string"
|
|
26872
26548
|
},
|
|
26873
26549
|
"default": "''",
|
|
26874
|
-
"description": "
|
|
26875
|
-
"fieldName": "
|
|
26550
|
+
"description": "The href value you want to link to.",
|
|
26551
|
+
"fieldName": "href",
|
|
26876
26552
|
"inheritedFrom": {
|
|
26877
|
-
"name": "
|
|
26878
|
-
"module": "core/base-elements/
|
|
26553
|
+
"name": "SbbLinkBaseElement",
|
|
26554
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26879
26555
|
}
|
|
26880
26556
|
},
|
|
26881
26557
|
{
|
|
26882
|
-
"name": "
|
|
26883
|
-
"description": "The type attribute to use for the button.",
|
|
26884
|
-
"default": "'button'",
|
|
26558
|
+
"name": "target",
|
|
26885
26559
|
"type": {
|
|
26886
|
-
"text": "
|
|
26560
|
+
"text": "LinkTargetType | string"
|
|
26887
26561
|
},
|
|
26888
|
-
"
|
|
26562
|
+
"default": "''",
|
|
26563
|
+
"description": "Where to display the linked URL.",
|
|
26564
|
+
"fieldName": "target",
|
|
26889
26565
|
"inheritedFrom": {
|
|
26890
|
-
"name": "
|
|
26891
|
-
"module": "core/base-elements/
|
|
26566
|
+
"name": "SbbLinkBaseElement",
|
|
26567
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26892
26568
|
}
|
|
26893
26569
|
},
|
|
26894
26570
|
{
|
|
26895
|
-
"name": "
|
|
26896
|
-
"description": "The `<form>` element to associate the button with.",
|
|
26571
|
+
"name": "rel",
|
|
26897
26572
|
"type": {
|
|
26898
|
-
"text": "
|
|
26573
|
+
"text": "string"
|
|
26899
26574
|
},
|
|
26900
|
-
"
|
|
26575
|
+
"default": "''",
|
|
26576
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
26577
|
+
"fieldName": "rel",
|
|
26901
26578
|
"inheritedFrom": {
|
|
26902
|
-
"name": "
|
|
26903
|
-
"module": "core/base-elements/
|
|
26579
|
+
"name": "SbbLinkBaseElement",
|
|
26580
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26904
26581
|
}
|
|
26905
26582
|
},
|
|
26906
26583
|
{
|
|
26907
|
-
"name": "
|
|
26908
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
26584
|
+
"name": "download",
|
|
26909
26585
|
"type": {
|
|
26910
|
-
"text": "
|
|
26586
|
+
"text": "boolean"
|
|
26911
26587
|
},
|
|
26912
|
-
"
|
|
26913
|
-
"
|
|
26914
|
-
|
|
26915
|
-
|
|
26588
|
+
"default": "false",
|
|
26589
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
26590
|
+
"fieldName": "download",
|
|
26591
|
+
"inheritedFrom": {
|
|
26592
|
+
"name": "SbbLinkBaseElement",
|
|
26593
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26594
|
+
}
|
|
26595
|
+
},
|
|
26596
|
+
{
|
|
26597
|
+
"name": "accessibility-label",
|
|
26598
|
+
"type": {
|
|
26599
|
+
"text": "string"
|
|
26600
|
+
},
|
|
26601
|
+
"default": "''",
|
|
26602
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
26603
|
+
"fieldName": "accessibilityLabel",
|
|
26604
|
+
"inheritedFrom": {
|
|
26605
|
+
"name": "SbbLinkBaseElement",
|
|
26606
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26607
|
+
}
|
|
26608
|
+
},
|
|
26609
|
+
{
|
|
26610
|
+
"name": "accessibility-current",
|
|
26611
|
+
"type": {
|
|
26612
|
+
"text": "string"
|
|
26613
|
+
},
|
|
26614
|
+
"default": "''",
|
|
26615
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
26616
|
+
"fieldName": "accessibilityCurrent",
|
|
26617
|
+
"inheritedFrom": {
|
|
26618
|
+
"name": "SbbLinkBaseElement",
|
|
26619
|
+
"module": "core/base-elements/link-base-element.js"
|
|
26916
26620
|
}
|
|
26917
26621
|
}
|
|
26918
26622
|
]
|
|
@@ -26921,30 +26625,30 @@
|
|
|
26921
26625
|
"exports": [
|
|
26922
26626
|
{
|
|
26923
26627
|
"kind": "js",
|
|
26924
|
-
"name": "
|
|
26628
|
+
"name": "SbbAccentButtonLinkElement",
|
|
26925
26629
|
"declaration": {
|
|
26926
|
-
"name": "
|
|
26927
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
26630
|
+
"name": "SbbAccentButtonLinkElement",
|
|
26631
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
26928
26632
|
}
|
|
26929
26633
|
},
|
|
26930
26634
|
{
|
|
26931
26635
|
"kind": "custom-element-definition",
|
|
26932
|
-
"name": "sbb-accent-button",
|
|
26636
|
+
"name": "sbb-accent-button-link",
|
|
26933
26637
|
"declaration": {
|
|
26934
|
-
"name": "
|
|
26935
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
26638
|
+
"name": "SbbAccentButtonLinkElement",
|
|
26639
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
26936
26640
|
}
|
|
26937
26641
|
}
|
|
26938
26642
|
]
|
|
26939
26643
|
},
|
|
26940
26644
|
{
|
|
26941
26645
|
"kind": "javascript-module",
|
|
26942
|
-
"path": "button/accent-button
|
|
26646
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
26943
26647
|
"declarations": [
|
|
26944
26648
|
{
|
|
26945
26649
|
"kind": "class",
|
|
26946
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant
|
|
26947
|
-
"name": "
|
|
26650
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
26651
|
+
"name": "SbbAccentButtonElement",
|
|
26948
26652
|
"cssProperties": [
|
|
26949
26653
|
{
|
|
26950
26654
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -26954,7 +26658,7 @@
|
|
|
26954
26658
|
],
|
|
26955
26659
|
"slots": [
|
|
26956
26660
|
{
|
|
26957
|
-
"description": "Use the unnamed slot to add content to the accent-button
|
|
26661
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
26958
26662
|
"name": ""
|
|
26959
26663
|
},
|
|
26960
26664
|
{
|
|
@@ -27154,151 +26858,479 @@
|
|
|
27154
26858
|
},
|
|
27155
26859
|
{
|
|
27156
26860
|
"kind": "field",
|
|
27157
|
-
"name": "
|
|
26861
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
26862
|
+
"type": {
|
|
26863
|
+
"text": "array"
|
|
26864
|
+
},
|
|
26865
|
+
"privacy": "private",
|
|
26866
|
+
"readonly": true,
|
|
26867
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
26868
|
+
"inheritedFrom": {
|
|
26869
|
+
"name": "SbbButtonBaseElement",
|
|
26870
|
+
"module": "core/base-elements/button-base-element.js"
|
|
26871
|
+
}
|
|
26872
|
+
},
|
|
26873
|
+
{
|
|
26874
|
+
"kind": "field",
|
|
26875
|
+
"name": "value",
|
|
27158
26876
|
"type": {
|
|
27159
26877
|
"text": "string"
|
|
27160
26878
|
},
|
|
27161
26879
|
"privacy": "public",
|
|
27162
26880
|
"default": "''",
|
|
27163
|
-
"description": "
|
|
27164
|
-
"attribute": "
|
|
27165
|
-
"reflects": true,
|
|
26881
|
+
"description": "Value of the form element.",
|
|
26882
|
+
"attribute": "value",
|
|
27166
26883
|
"inheritedFrom": {
|
|
27167
|
-
"name": "
|
|
27168
|
-
"module": "core/base-elements/
|
|
26884
|
+
"name": "SbbButtonBaseElement",
|
|
26885
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27169
26886
|
}
|
|
27170
26887
|
},
|
|
27171
26888
|
{
|
|
27172
26889
|
"kind": "field",
|
|
27173
|
-
"name": "
|
|
26890
|
+
"name": "type",
|
|
26891
|
+
"privacy": "public",
|
|
26892
|
+
"description": "The type attribute to use for the button.",
|
|
26893
|
+
"default": "'button'",
|
|
27174
26894
|
"type": {
|
|
27175
|
-
"text": "
|
|
26895
|
+
"text": "SbbButtonType"
|
|
26896
|
+
},
|
|
26897
|
+
"attribute": "type",
|
|
26898
|
+
"inheritedFrom": {
|
|
26899
|
+
"name": "SbbButtonBaseElement",
|
|
26900
|
+
"module": "core/base-elements/button-base-element.js"
|
|
26901
|
+
}
|
|
26902
|
+
},
|
|
26903
|
+
{
|
|
26904
|
+
"kind": "field",
|
|
26905
|
+
"name": "form",
|
|
26906
|
+
"type": {
|
|
26907
|
+
"text": "HTMLFormElement | null"
|
|
27176
26908
|
},
|
|
27177
26909
|
"privacy": "public",
|
|
27178
|
-
"
|
|
27179
|
-
"
|
|
27180
|
-
"attribute": "target",
|
|
27181
|
-
"reflects": true,
|
|
26910
|
+
"description": "The `<form>` element to associate the button with.",
|
|
26911
|
+
"attribute": "form",
|
|
27182
26912
|
"inheritedFrom": {
|
|
27183
|
-
"name": "
|
|
27184
|
-
"module": "core/base-elements/
|
|
26913
|
+
"name": "SbbButtonBaseElement",
|
|
26914
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27185
26915
|
}
|
|
27186
26916
|
},
|
|
27187
26917
|
{
|
|
27188
26918
|
"kind": "field",
|
|
27189
|
-
"name": "
|
|
26919
|
+
"name": "_formId",
|
|
27190
26920
|
"type": {
|
|
27191
26921
|
"text": "string"
|
|
27192
26922
|
},
|
|
27193
|
-
"privacy": "
|
|
26923
|
+
"privacy": "private",
|
|
27194
26924
|
"default": "''",
|
|
27195
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
27196
|
-
"attribute": "rel",
|
|
27197
|
-
"reflects": true,
|
|
27198
26925
|
"inheritedFrom": {
|
|
27199
|
-
"name": "
|
|
27200
|
-
"module": "core/base-elements/
|
|
26926
|
+
"name": "SbbButtonBaseElement",
|
|
26927
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27201
26928
|
}
|
|
27202
26929
|
},
|
|
27203
26930
|
{
|
|
27204
26931
|
"kind": "field",
|
|
27205
|
-
"name": "
|
|
26932
|
+
"name": "_handleButtonClick",
|
|
26933
|
+
"privacy": "private",
|
|
26934
|
+
"inheritedFrom": {
|
|
26935
|
+
"name": "SbbButtonBaseElement",
|
|
26936
|
+
"module": "core/base-elements/button-base-element.js"
|
|
26937
|
+
}
|
|
26938
|
+
},
|
|
26939
|
+
{
|
|
26940
|
+
"kind": "method",
|
|
26941
|
+
"name": "_requestSubmit",
|
|
26942
|
+
"privacy": "private",
|
|
26943
|
+
"return": {
|
|
26944
|
+
"type": {
|
|
26945
|
+
"text": "void"
|
|
26946
|
+
}
|
|
26947
|
+
},
|
|
26948
|
+
"parameters": [
|
|
26949
|
+
{
|
|
26950
|
+
"name": "form",
|
|
26951
|
+
"type": {
|
|
26952
|
+
"text": "HTMLFormElement"
|
|
26953
|
+
}
|
|
26954
|
+
}
|
|
26955
|
+
],
|
|
26956
|
+
"inheritedFrom": {
|
|
26957
|
+
"name": "SbbButtonBaseElement",
|
|
26958
|
+
"module": "core/base-elements/button-base-element.js"
|
|
26959
|
+
}
|
|
26960
|
+
},
|
|
26961
|
+
{
|
|
26962
|
+
"kind": "field",
|
|
26963
|
+
"name": "_formKeyDown",
|
|
26964
|
+
"privacy": "private",
|
|
26965
|
+
"inheritedFrom": {
|
|
26966
|
+
"name": "SbbButtonBaseElement",
|
|
26967
|
+
"module": "core/base-elements/button-base-element.js"
|
|
26968
|
+
}
|
|
26969
|
+
},
|
|
26970
|
+
{
|
|
26971
|
+
"kind": "field",
|
|
26972
|
+
"name": "formAssociated",
|
|
27206
26973
|
"type": {
|
|
27207
26974
|
"text": "boolean"
|
|
27208
26975
|
},
|
|
27209
26976
|
"privacy": "public",
|
|
27210
|
-
"
|
|
27211
|
-
"
|
|
27212
|
-
"attribute": "download",
|
|
27213
|
-
"reflects": true,
|
|
26977
|
+
"static": true,
|
|
26978
|
+
"default": "true",
|
|
27214
26979
|
"inheritedFrom": {
|
|
27215
|
-
"name": "
|
|
27216
|
-
"module": "core/
|
|
26980
|
+
"name": "SbbFormAssociatedMixin",
|
|
26981
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27217
26982
|
}
|
|
27218
26983
|
},
|
|
27219
26984
|
{
|
|
27220
26985
|
"kind": "field",
|
|
27221
|
-
"name": "
|
|
26986
|
+
"name": "name",
|
|
26987
|
+
"privacy": "public",
|
|
26988
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
27222
26989
|
"type": {
|
|
27223
26990
|
"text": "string"
|
|
27224
26991
|
},
|
|
26992
|
+
"attribute": "name",
|
|
26993
|
+
"inheritedFrom": {
|
|
26994
|
+
"name": "SbbFormAssociatedMixin",
|
|
26995
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
26996
|
+
}
|
|
26997
|
+
},
|
|
26998
|
+
{
|
|
26999
|
+
"kind": "field",
|
|
27000
|
+
"name": "validity",
|
|
27001
|
+
"type": {
|
|
27002
|
+
"text": "ValidityState"
|
|
27003
|
+
},
|
|
27225
27004
|
"privacy": "public",
|
|
27226
|
-
"
|
|
27227
|
-
"
|
|
27228
|
-
"attribute": "accessibility-label",
|
|
27005
|
+
"description": "Returns the ValidityState object for this element.",
|
|
27006
|
+
"readonly": true,
|
|
27229
27007
|
"inheritedFrom": {
|
|
27230
|
-
"name": "
|
|
27231
|
-
"module": "core/
|
|
27008
|
+
"name": "SbbFormAssociatedMixin",
|
|
27009
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27232
27010
|
}
|
|
27233
27011
|
},
|
|
27234
27012
|
{
|
|
27235
27013
|
"kind": "field",
|
|
27236
|
-
"name": "
|
|
27014
|
+
"name": "validationMessage",
|
|
27237
27015
|
"type": {
|
|
27238
27016
|
"text": "string"
|
|
27239
27017
|
},
|
|
27240
27018
|
"privacy": "public",
|
|
27241
|
-
"
|
|
27242
|
-
"
|
|
27243
|
-
"attribute": "accessibility-current",
|
|
27019
|
+
"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.",
|
|
27020
|
+
"readonly": true,
|
|
27244
27021
|
"inheritedFrom": {
|
|
27245
|
-
"name": "
|
|
27246
|
-
"module": "core/
|
|
27022
|
+
"name": "SbbFormAssociatedMixin",
|
|
27023
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27247
27024
|
}
|
|
27248
27025
|
},
|
|
27249
27026
|
{
|
|
27250
27027
|
"kind": "field",
|
|
27251
|
-
"name": "
|
|
27252
|
-
"
|
|
27253
|
-
|
|
27028
|
+
"name": "willValidate",
|
|
27029
|
+
"type": {
|
|
27030
|
+
"text": "boolean"
|
|
27031
|
+
},
|
|
27032
|
+
"privacy": "public",
|
|
27033
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
27034
|
+
"readonly": true,
|
|
27254
27035
|
"inheritedFrom": {
|
|
27255
|
-
"name": "
|
|
27256
|
-
"module": "core/
|
|
27036
|
+
"name": "SbbFormAssociatedMixin",
|
|
27037
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27257
27038
|
}
|
|
27258
27039
|
},
|
|
27259
27040
|
{
|
|
27260
27041
|
"kind": "field",
|
|
27261
|
-
"name": "
|
|
27042
|
+
"name": "_validityStates",
|
|
27043
|
+
"privacy": "private",
|
|
27044
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
27045
|
+
"inheritedFrom": {
|
|
27046
|
+
"name": "SbbFormAssociatedMixin",
|
|
27047
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27048
|
+
}
|
|
27049
|
+
},
|
|
27050
|
+
{
|
|
27051
|
+
"kind": "field",
|
|
27052
|
+
"name": "formDisabled",
|
|
27262
27053
|
"type": {
|
|
27263
|
-
"text": "
|
|
27054
|
+
"text": "boolean"
|
|
27264
27055
|
},
|
|
27265
27056
|
"privacy": "protected",
|
|
27266
|
-
"
|
|
27267
|
-
"
|
|
27057
|
+
"default": "false",
|
|
27058
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
27268
27059
|
"inheritedFrom": {
|
|
27269
|
-
"name": "
|
|
27270
|
-
"module": "core/
|
|
27060
|
+
"name": "SbbFormAssociatedMixin",
|
|
27061
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27271
27062
|
}
|
|
27272
27063
|
},
|
|
27273
27064
|
{
|
|
27274
|
-
"kind": "
|
|
27275
|
-
"name": "
|
|
27065
|
+
"kind": "method",
|
|
27066
|
+
"name": "checkValidity",
|
|
27067
|
+
"privacy": "public",
|
|
27068
|
+
"return": {
|
|
27069
|
+
"type": {
|
|
27070
|
+
"text": "boolean"
|
|
27071
|
+
}
|
|
27072
|
+
},
|
|
27073
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
27074
|
+
"inheritedFrom": {
|
|
27075
|
+
"name": "SbbFormAssociatedMixin",
|
|
27076
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27077
|
+
}
|
|
27078
|
+
},
|
|
27079
|
+
{
|
|
27080
|
+
"kind": "method",
|
|
27081
|
+
"name": "reportValidity",
|
|
27082
|
+
"privacy": "public",
|
|
27083
|
+
"return": {
|
|
27084
|
+
"type": {
|
|
27085
|
+
"text": "boolean"
|
|
27086
|
+
}
|
|
27087
|
+
},
|
|
27088
|
+
"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.",
|
|
27089
|
+
"inheritedFrom": {
|
|
27090
|
+
"name": "SbbFormAssociatedMixin",
|
|
27091
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27092
|
+
}
|
|
27093
|
+
},
|
|
27094
|
+
{
|
|
27095
|
+
"kind": "method",
|
|
27096
|
+
"name": "setCustomValidity",
|
|
27097
|
+
"privacy": "public",
|
|
27098
|
+
"return": {
|
|
27099
|
+
"type": {
|
|
27100
|
+
"text": "void"
|
|
27101
|
+
}
|
|
27102
|
+
},
|
|
27103
|
+
"parameters": [
|
|
27104
|
+
{
|
|
27105
|
+
"name": "message",
|
|
27106
|
+
"type": {
|
|
27107
|
+
"text": "string"
|
|
27108
|
+
}
|
|
27109
|
+
}
|
|
27110
|
+
],
|
|
27111
|
+
"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.",
|
|
27112
|
+
"inheritedFrom": {
|
|
27113
|
+
"name": "SbbFormAssociatedMixin",
|
|
27114
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27115
|
+
}
|
|
27116
|
+
},
|
|
27117
|
+
{
|
|
27118
|
+
"kind": "method",
|
|
27119
|
+
"name": "_hasDisabledAncestor",
|
|
27276
27120
|
"privacy": "private",
|
|
27121
|
+
"return": {
|
|
27122
|
+
"type": {
|
|
27123
|
+
"text": "boolean"
|
|
27124
|
+
}
|
|
27125
|
+
},
|
|
27277
27126
|
"inheritedFrom": {
|
|
27278
|
-
"name": "
|
|
27279
|
-
"module": "core/
|
|
27127
|
+
"name": "SbbFormAssociatedMixin",
|
|
27128
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27280
27129
|
}
|
|
27281
27130
|
},
|
|
27282
27131
|
{
|
|
27283
27132
|
"kind": "method",
|
|
27284
|
-
"name": "
|
|
27133
|
+
"name": "updateFormValue",
|
|
27285
27134
|
"privacy": "protected",
|
|
27286
27135
|
"return": {
|
|
27287
27136
|
"type": {
|
|
27288
|
-
"text": "
|
|
27137
|
+
"text": "void"
|
|
27138
|
+
}
|
|
27139
|
+
},
|
|
27140
|
+
"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",
|
|
27141
|
+
"inheritedFrom": {
|
|
27142
|
+
"name": "SbbFormAssociatedMixin",
|
|
27143
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27144
|
+
}
|
|
27145
|
+
},
|
|
27146
|
+
{
|
|
27147
|
+
"kind": "method",
|
|
27148
|
+
"name": "formState",
|
|
27149
|
+
"privacy": "protected",
|
|
27150
|
+
"return": {
|
|
27151
|
+
"type": {
|
|
27152
|
+
"text": "FormRestoreState"
|
|
27153
|
+
}
|
|
27154
|
+
},
|
|
27155
|
+
"inheritedFrom": {
|
|
27156
|
+
"name": "SbbFormAssociatedMixin",
|
|
27157
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27158
|
+
}
|
|
27159
|
+
},
|
|
27160
|
+
{
|
|
27161
|
+
"kind": "method",
|
|
27162
|
+
"name": "setValidityFlag",
|
|
27163
|
+
"privacy": "protected",
|
|
27164
|
+
"return": {
|
|
27165
|
+
"type": {
|
|
27166
|
+
"text": "void"
|
|
27289
27167
|
}
|
|
27290
27168
|
},
|
|
27291
27169
|
"parameters": [
|
|
27292
27170
|
{
|
|
27293
|
-
"name": "
|
|
27171
|
+
"name": "flag",
|
|
27294
27172
|
"type": {
|
|
27295
|
-
"text": "
|
|
27173
|
+
"text": "T"
|
|
27174
|
+
}
|
|
27175
|
+
},
|
|
27176
|
+
{
|
|
27177
|
+
"name": "message",
|
|
27178
|
+
"type": {
|
|
27179
|
+
"text": "string"
|
|
27180
|
+
}
|
|
27181
|
+
},
|
|
27182
|
+
{
|
|
27183
|
+
"name": "flagValue",
|
|
27184
|
+
"optional": true,
|
|
27185
|
+
"type": {
|
|
27186
|
+
"text": "ValidityStateFlags[T]"
|
|
27296
27187
|
}
|
|
27297
27188
|
}
|
|
27298
27189
|
],
|
|
27190
|
+
"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).",
|
|
27299
27191
|
"inheritedFrom": {
|
|
27300
|
-
"name": "
|
|
27301
|
-
"module": "core/
|
|
27192
|
+
"name": "SbbFormAssociatedMixin",
|
|
27193
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27194
|
+
}
|
|
27195
|
+
},
|
|
27196
|
+
{
|
|
27197
|
+
"kind": "method",
|
|
27198
|
+
"name": "removeValidityFlag",
|
|
27199
|
+
"privacy": "protected",
|
|
27200
|
+
"return": {
|
|
27201
|
+
"type": {
|
|
27202
|
+
"text": "void"
|
|
27203
|
+
}
|
|
27204
|
+
},
|
|
27205
|
+
"parameters": [
|
|
27206
|
+
{
|
|
27207
|
+
"name": "flag",
|
|
27208
|
+
"type": {
|
|
27209
|
+
"text": "T"
|
|
27210
|
+
}
|
|
27211
|
+
}
|
|
27212
|
+
],
|
|
27213
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
27214
|
+
"inheritedFrom": {
|
|
27215
|
+
"name": "SbbFormAssociatedMixin",
|
|
27216
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27217
|
+
}
|
|
27218
|
+
},
|
|
27219
|
+
{
|
|
27220
|
+
"kind": "method",
|
|
27221
|
+
"name": "validate",
|
|
27222
|
+
"privacy": "protected",
|
|
27223
|
+
"return": {
|
|
27224
|
+
"type": {
|
|
27225
|
+
"text": "void"
|
|
27226
|
+
}
|
|
27227
|
+
},
|
|
27228
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
27229
|
+
"inheritedFrom": {
|
|
27230
|
+
"name": "SbbFormAssociatedMixin",
|
|
27231
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27232
|
+
}
|
|
27233
|
+
},
|
|
27234
|
+
{
|
|
27235
|
+
"kind": "method",
|
|
27236
|
+
"name": "shouldValidate",
|
|
27237
|
+
"privacy": "protected",
|
|
27238
|
+
"return": {
|
|
27239
|
+
"type": {
|
|
27240
|
+
"text": "boolean"
|
|
27241
|
+
}
|
|
27242
|
+
},
|
|
27243
|
+
"parameters": [
|
|
27244
|
+
{
|
|
27245
|
+
"name": "name",
|
|
27246
|
+
"type": {
|
|
27247
|
+
"text": "PropertyKey | undefined"
|
|
27248
|
+
}
|
|
27249
|
+
}
|
|
27250
|
+
],
|
|
27251
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
27252
|
+
"inheritedFrom": {
|
|
27253
|
+
"name": "SbbFormAssociatedMixin",
|
|
27254
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27255
|
+
}
|
|
27256
|
+
},
|
|
27257
|
+
{
|
|
27258
|
+
"kind": "method",
|
|
27259
|
+
"name": "_setInternalValidity",
|
|
27260
|
+
"privacy": "private",
|
|
27261
|
+
"return": {
|
|
27262
|
+
"type": {
|
|
27263
|
+
"text": "void"
|
|
27264
|
+
}
|
|
27265
|
+
},
|
|
27266
|
+
"inheritedFrom": {
|
|
27267
|
+
"name": "SbbFormAssociatedMixin",
|
|
27268
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27269
|
+
}
|
|
27270
|
+
},
|
|
27271
|
+
{
|
|
27272
|
+
"kind": "field",
|
|
27273
|
+
"name": "role",
|
|
27274
|
+
"type": {
|
|
27275
|
+
"text": "ElementInternals['role']"
|
|
27276
|
+
},
|
|
27277
|
+
"privacy": "public",
|
|
27278
|
+
"static": true,
|
|
27279
|
+
"readonly": true,
|
|
27280
|
+
"default": "'button'",
|
|
27281
|
+
"inheritedFrom": {
|
|
27282
|
+
"name": "SbbButtonLikeBaseElement",
|
|
27283
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27284
|
+
}
|
|
27285
|
+
},
|
|
27286
|
+
{
|
|
27287
|
+
"kind": "field",
|
|
27288
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
27289
|
+
"privacy": "private",
|
|
27290
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
27291
|
+
"parameters": [
|
|
27292
|
+
{
|
|
27293
|
+
"description": "The origin event.",
|
|
27294
|
+
"name": "event"
|
|
27295
|
+
}
|
|
27296
|
+
],
|
|
27297
|
+
"inheritedFrom": {
|
|
27298
|
+
"name": "SbbButtonLikeBaseElement",
|
|
27299
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27300
|
+
}
|
|
27301
|
+
},
|
|
27302
|
+
{
|
|
27303
|
+
"kind": "field",
|
|
27304
|
+
"name": "_removeActiveMarker",
|
|
27305
|
+
"privacy": "private",
|
|
27306
|
+
"inheritedFrom": {
|
|
27307
|
+
"name": "SbbButtonLikeBaseElement",
|
|
27308
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27309
|
+
}
|
|
27310
|
+
},
|
|
27311
|
+
{
|
|
27312
|
+
"kind": "field",
|
|
27313
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
27314
|
+
"privacy": "private",
|
|
27315
|
+
"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.",
|
|
27316
|
+
"parameters": [
|
|
27317
|
+
{
|
|
27318
|
+
"description": "The origin event.",
|
|
27319
|
+
"name": "event"
|
|
27320
|
+
}
|
|
27321
|
+
],
|
|
27322
|
+
"inheritedFrom": {
|
|
27323
|
+
"name": "SbbButtonLikeBaseElement",
|
|
27324
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27325
|
+
}
|
|
27326
|
+
},
|
|
27327
|
+
{
|
|
27328
|
+
"kind": "field",
|
|
27329
|
+
"name": "_dispatchClickEvent",
|
|
27330
|
+
"privacy": "private",
|
|
27331
|
+
"inheritedFrom": {
|
|
27332
|
+
"name": "SbbButtonLikeBaseElement",
|
|
27333
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27302
27334
|
}
|
|
27303
27335
|
},
|
|
27304
27336
|
{
|
|
@@ -27377,19 +27409,15 @@
|
|
|
27377
27409
|
"module": "button/common.js"
|
|
27378
27410
|
},
|
|
27379
27411
|
{
|
|
27380
|
-
"name": "
|
|
27381
|
-
"module": "core/mixins.js"
|
|
27382
|
-
},
|
|
27383
|
-
{
|
|
27384
|
-
"name": "SbbDisabledMixin",
|
|
27412
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
27385
27413
|
"module": "core/mixins.js"
|
|
27386
27414
|
}
|
|
27387
27415
|
],
|
|
27388
27416
|
"superclass": {
|
|
27389
|
-
"name": "
|
|
27417
|
+
"name": "SbbButtonBaseElement",
|
|
27390
27418
|
"module": "core/base-elements.js"
|
|
27391
27419
|
},
|
|
27392
|
-
"tagName": "sbb-accent-button
|
|
27420
|
+
"tagName": "sbb-accent-button",
|
|
27393
27421
|
"customElement": true,
|
|
27394
27422
|
"attributes": [
|
|
27395
27423
|
{
|
|
@@ -27471,81 +27499,53 @@
|
|
|
27471
27499
|
}
|
|
27472
27500
|
},
|
|
27473
27501
|
{
|
|
27474
|
-
"name": "
|
|
27475
|
-
"type": {
|
|
27476
|
-
"text": "string"
|
|
27477
|
-
},
|
|
27478
|
-
"default": "''",
|
|
27479
|
-
"description": "The href value you want to link to.",
|
|
27480
|
-
"fieldName": "href",
|
|
27481
|
-
"inheritedFrom": {
|
|
27482
|
-
"name": "SbbLinkBaseElement",
|
|
27483
|
-
"module": "core/base-elements/link-base-element.js"
|
|
27484
|
-
}
|
|
27485
|
-
},
|
|
27486
|
-
{
|
|
27487
|
-
"name": "target",
|
|
27488
|
-
"type": {
|
|
27489
|
-
"text": "LinkTargetType | string"
|
|
27490
|
-
},
|
|
27491
|
-
"default": "''",
|
|
27492
|
-
"description": "Where to display the linked URL.",
|
|
27493
|
-
"fieldName": "target",
|
|
27494
|
-
"inheritedFrom": {
|
|
27495
|
-
"name": "SbbLinkBaseElement",
|
|
27496
|
-
"module": "core/base-elements/link-base-element.js"
|
|
27497
|
-
}
|
|
27498
|
-
},
|
|
27499
|
-
{
|
|
27500
|
-
"name": "rel",
|
|
27502
|
+
"name": "value",
|
|
27501
27503
|
"type": {
|
|
27502
27504
|
"text": "string"
|
|
27503
27505
|
},
|
|
27504
27506
|
"default": "''",
|
|
27505
|
-
"description": "
|
|
27506
|
-
"fieldName": "
|
|
27507
|
+
"description": "Value of the form element.",
|
|
27508
|
+
"fieldName": "value",
|
|
27507
27509
|
"inheritedFrom": {
|
|
27508
|
-
"name": "
|
|
27509
|
-
"module": "core/base-elements/
|
|
27510
|
+
"name": "SbbButtonBaseElement",
|
|
27511
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27510
27512
|
}
|
|
27511
27513
|
},
|
|
27512
27514
|
{
|
|
27513
|
-
"name": "
|
|
27515
|
+
"name": "type",
|
|
27516
|
+
"description": "The type attribute to use for the button.",
|
|
27517
|
+
"default": "'button'",
|
|
27514
27518
|
"type": {
|
|
27515
|
-
"text": "
|
|
27519
|
+
"text": "SbbButtonType"
|
|
27516
27520
|
},
|
|
27517
|
-
"
|
|
27518
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
27519
|
-
"fieldName": "download",
|
|
27521
|
+
"fieldName": "type",
|
|
27520
27522
|
"inheritedFrom": {
|
|
27521
|
-
"name": "
|
|
27522
|
-
"module": "core/base-elements/
|
|
27523
|
+
"name": "SbbButtonBaseElement",
|
|
27524
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27523
27525
|
}
|
|
27524
27526
|
},
|
|
27525
27527
|
{
|
|
27526
|
-
"name": "
|
|
27528
|
+
"name": "form",
|
|
27529
|
+
"description": "The `<form>` element to associate the button with.",
|
|
27527
27530
|
"type": {
|
|
27528
|
-
"text": "
|
|
27531
|
+
"text": "HTMLFormElement | null"
|
|
27529
27532
|
},
|
|
27530
|
-
"
|
|
27531
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
27532
|
-
"fieldName": "accessibilityLabel",
|
|
27533
|
+
"fieldName": "form",
|
|
27533
27534
|
"inheritedFrom": {
|
|
27534
|
-
"name": "
|
|
27535
|
-
"module": "core/base-elements/
|
|
27535
|
+
"name": "SbbButtonBaseElement",
|
|
27536
|
+
"module": "core/base-elements/button-base-element.js"
|
|
27536
27537
|
}
|
|
27537
27538
|
},
|
|
27538
27539
|
{
|
|
27539
|
-
"name": "
|
|
27540
|
+
"name": "name",
|
|
27541
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
27540
27542
|
"type": {
|
|
27541
27543
|
"text": "string"
|
|
27542
27544
|
},
|
|
27543
|
-
"
|
|
27544
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
27545
|
-
"fieldName": "accessibilityCurrent",
|
|
27545
|
+
"fieldName": "name",
|
|
27546
27546
|
"inheritedFrom": {
|
|
27547
|
-
"name": "
|
|
27548
|
-
"module": "core/
|
|
27547
|
+
"name": "SbbFormAssociatedMixin",
|
|
27548
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
27549
27549
|
}
|
|
27550
27550
|
}
|
|
27551
27551
|
]
|
|
@@ -27554,18 +27554,18 @@
|
|
|
27554
27554
|
"exports": [
|
|
27555
27555
|
{
|
|
27556
27556
|
"kind": "js",
|
|
27557
|
-
"name": "
|
|
27557
|
+
"name": "SbbAccentButtonElement",
|
|
27558
27558
|
"declaration": {
|
|
27559
|
-
"name": "
|
|
27560
|
-
"module": "button/accent-button
|
|
27559
|
+
"name": "SbbAccentButtonElement",
|
|
27560
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
27561
27561
|
}
|
|
27562
27562
|
},
|
|
27563
27563
|
{
|
|
27564
27564
|
"kind": "custom-element-definition",
|
|
27565
|
-
"name": "sbb-accent-button
|
|
27565
|
+
"name": "sbb-accent-button",
|
|
27566
27566
|
"declaration": {
|
|
27567
|
-
"name": "
|
|
27568
|
-
"module": "button/accent-button
|
|
27567
|
+
"name": "SbbAccentButtonElement",
|
|
27568
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
27569
27569
|
}
|
|
27570
27570
|
}
|
|
27571
27571
|
]
|
|
@@ -76464,6 +76464,363 @@
|
|
|
76464
76464
|
}
|
|
76465
76465
|
]
|
|
76466
76466
|
},
|
|
76467
|
+
{
|
|
76468
|
+
"kind": "javascript-module",
|
|
76469
|
+
"path": "header/common/header-action-common.js",
|
|
76470
|
+
"declarations": [
|
|
76471
|
+
{
|
|
76472
|
+
"kind": "class",
|
|
76473
|
+
"description": "",
|
|
76474
|
+
"name": "SbbHeaderActionCommonElementMixinType",
|
|
76475
|
+
"members": [
|
|
76476
|
+
{
|
|
76477
|
+
"kind": "field",
|
|
76478
|
+
"name": "expandFrom",
|
|
76479
|
+
"type": {
|
|
76480
|
+
"text": "SbbHorizontalFrom"
|
|
76481
|
+
},
|
|
76482
|
+
"privacy": "public"
|
|
76483
|
+
},
|
|
76484
|
+
{
|
|
76485
|
+
"kind": "field",
|
|
76486
|
+
"name": "iconName",
|
|
76487
|
+
"type": {
|
|
76488
|
+
"text": "string"
|
|
76489
|
+
},
|
|
76490
|
+
"privacy": "public",
|
|
76491
|
+
"default": "''",
|
|
76492
|
+
"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.",
|
|
76493
|
+
"attribute": "icon-name",
|
|
76494
|
+
"inheritedFrom": {
|
|
76495
|
+
"name": "SbbIconNameMixin",
|
|
76496
|
+
"module": "icon/icon-name-mixin.js"
|
|
76497
|
+
}
|
|
76498
|
+
},
|
|
76499
|
+
{
|
|
76500
|
+
"kind": "method",
|
|
76501
|
+
"name": "renderIconSlot",
|
|
76502
|
+
"privacy": "protected",
|
|
76503
|
+
"return": {
|
|
76504
|
+
"type": {
|
|
76505
|
+
"text": "TemplateResult"
|
|
76506
|
+
}
|
|
76507
|
+
},
|
|
76508
|
+
"parameters": [
|
|
76509
|
+
{
|
|
76510
|
+
"name": "classname",
|
|
76511
|
+
"optional": true,
|
|
76512
|
+
"type": {
|
|
76513
|
+
"text": "string"
|
|
76514
|
+
}
|
|
76515
|
+
}
|
|
76516
|
+
],
|
|
76517
|
+
"inheritedFrom": {
|
|
76518
|
+
"name": "SbbIconNameMixin",
|
|
76519
|
+
"module": "icon/icon-name-mixin.js"
|
|
76520
|
+
}
|
|
76521
|
+
},
|
|
76522
|
+
{
|
|
76523
|
+
"kind": "method",
|
|
76524
|
+
"name": "renderIconName",
|
|
76525
|
+
"privacy": "protected",
|
|
76526
|
+
"return": {
|
|
76527
|
+
"type": {
|
|
76528
|
+
"text": "string"
|
|
76529
|
+
}
|
|
76530
|
+
},
|
|
76531
|
+
"inheritedFrom": {
|
|
76532
|
+
"name": "SbbIconNameMixin",
|
|
76533
|
+
"module": "icon/icon-name-mixin.js"
|
|
76534
|
+
}
|
|
76535
|
+
},
|
|
76536
|
+
{
|
|
76537
|
+
"kind": "method",
|
|
76538
|
+
"name": "_renderIconName",
|
|
76539
|
+
"privacy": "private",
|
|
76540
|
+
"return": {
|
|
76541
|
+
"type": {
|
|
76542
|
+
"text": "string"
|
|
76543
|
+
}
|
|
76544
|
+
},
|
|
76545
|
+
"inheritedFrom": {
|
|
76546
|
+
"name": "SbbIconNameMixin",
|
|
76547
|
+
"module": "icon/icon-name-mixin.js"
|
|
76548
|
+
}
|
|
76549
|
+
},
|
|
76550
|
+
{
|
|
76551
|
+
"kind": "method",
|
|
76552
|
+
"name": "toggleState",
|
|
76553
|
+
"privacy": "protected",
|
|
76554
|
+
"return": {
|
|
76555
|
+
"type": {
|
|
76556
|
+
"text": "void"
|
|
76557
|
+
}
|
|
76558
|
+
},
|
|
76559
|
+
"parameters": [
|
|
76560
|
+
{
|
|
76561
|
+
"name": "value",
|
|
76562
|
+
"type": {
|
|
76563
|
+
"text": "string"
|
|
76564
|
+
}
|
|
76565
|
+
},
|
|
76566
|
+
{
|
|
76567
|
+
"name": "force",
|
|
76568
|
+
"optional": true,
|
|
76569
|
+
"type": {
|
|
76570
|
+
"text": "boolean"
|
|
76571
|
+
}
|
|
76572
|
+
}
|
|
76573
|
+
],
|
|
76574
|
+
"inheritedFrom": {
|
|
76575
|
+
"name": "SbbActionBaseElement",
|
|
76576
|
+
"module": "core/base-elements/action-base-element.js"
|
|
76577
|
+
}
|
|
76578
|
+
},
|
|
76579
|
+
{
|
|
76580
|
+
"kind": "field",
|
|
76581
|
+
"name": "maybeDisabled",
|
|
76582
|
+
"type": {
|
|
76583
|
+
"text": "boolean | undefined"
|
|
76584
|
+
},
|
|
76585
|
+
"privacy": "protected",
|
|
76586
|
+
"readonly": true,
|
|
76587
|
+
"inheritedFrom": {
|
|
76588
|
+
"name": "SbbActionBaseElement",
|
|
76589
|
+
"module": "core/base-elements/action-base-element.js"
|
|
76590
|
+
}
|
|
76591
|
+
},
|
|
76592
|
+
{
|
|
76593
|
+
"kind": "field",
|
|
76594
|
+
"name": "maybeDisabledInteractive",
|
|
76595
|
+
"type": {
|
|
76596
|
+
"text": "boolean | undefined"
|
|
76597
|
+
},
|
|
76598
|
+
"privacy": "protected",
|
|
76599
|
+
"readonly": true,
|
|
76600
|
+
"inheritedFrom": {
|
|
76601
|
+
"name": "SbbActionBaseElement",
|
|
76602
|
+
"module": "core/base-elements/action-base-element.js"
|
|
76603
|
+
}
|
|
76604
|
+
},
|
|
76605
|
+
{
|
|
76606
|
+
"kind": "method",
|
|
76607
|
+
"name": "setupBaseEventHandlers",
|
|
76608
|
+
"privacy": "protected",
|
|
76609
|
+
"return": {
|
|
76610
|
+
"type": {
|
|
76611
|
+
"text": "void"
|
|
76612
|
+
}
|
|
76613
|
+
},
|
|
76614
|
+
"inheritedFrom": {
|
|
76615
|
+
"name": "SbbActionBaseElement",
|
|
76616
|
+
"module": "core/base-elements/action-base-element.js"
|
|
76617
|
+
}
|
|
76618
|
+
},
|
|
76619
|
+
{
|
|
76620
|
+
"kind": "method",
|
|
76621
|
+
"name": "renderTemplate",
|
|
76622
|
+
"privacy": "protected",
|
|
76623
|
+
"return": {
|
|
76624
|
+
"type": {
|
|
76625
|
+
"text": "TemplateResult"
|
|
76626
|
+
}
|
|
76627
|
+
},
|
|
76628
|
+
"description": "Override this method to render the component template.",
|
|
76629
|
+
"inheritedFrom": {
|
|
76630
|
+
"name": "SbbActionBaseElement",
|
|
76631
|
+
"module": "core/base-elements/action-base-element.js"
|
|
76632
|
+
}
|
|
76633
|
+
}
|
|
76634
|
+
],
|
|
76635
|
+
"mixins": [
|
|
76636
|
+
{
|
|
76637
|
+
"name": "SbbIconNameMixin",
|
|
76638
|
+
"module": "icon.js"
|
|
76639
|
+
}
|
|
76640
|
+
],
|
|
76641
|
+
"superclass": {
|
|
76642
|
+
"name": "SbbActionBaseElement",
|
|
76643
|
+
"module": "core/base-elements.js"
|
|
76644
|
+
},
|
|
76645
|
+
"attributes": [
|
|
76646
|
+
{
|
|
76647
|
+
"name": "icon-name",
|
|
76648
|
+
"type": {
|
|
76649
|
+
"text": "string"
|
|
76650
|
+
},
|
|
76651
|
+
"default": "''",
|
|
76652
|
+
"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.",
|
|
76653
|
+
"fieldName": "iconName",
|
|
76654
|
+
"inheritedFrom": {
|
|
76655
|
+
"name": "SbbIconNameMixin",
|
|
76656
|
+
"module": "icon/icon-name-mixin.js"
|
|
76657
|
+
}
|
|
76658
|
+
}
|
|
76659
|
+
]
|
|
76660
|
+
},
|
|
76661
|
+
{
|
|
76662
|
+
"kind": "mixin",
|
|
76663
|
+
"description": "",
|
|
76664
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
76665
|
+
"members": [
|
|
76666
|
+
{
|
|
76667
|
+
"kind": "field",
|
|
76668
|
+
"name": "styles",
|
|
76669
|
+
"type": {
|
|
76670
|
+
"text": "CSSResultGroup"
|
|
76671
|
+
},
|
|
76672
|
+
"privacy": "public",
|
|
76673
|
+
"static": true,
|
|
76674
|
+
"default": "[boxSizingStyles, style]"
|
|
76675
|
+
},
|
|
76676
|
+
{
|
|
76677
|
+
"kind": "field",
|
|
76678
|
+
"name": "expandFrom",
|
|
76679
|
+
"type": {
|
|
76680
|
+
"text": "SbbHorizontalFrom"
|
|
76681
|
+
},
|
|
76682
|
+
"privacy": "public",
|
|
76683
|
+
"default": "'large'",
|
|
76684
|
+
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
76685
|
+
"attribute": "expand-from",
|
|
76686
|
+
"reflects": true
|
|
76687
|
+
},
|
|
76688
|
+
{
|
|
76689
|
+
"kind": "method",
|
|
76690
|
+
"name": "renderTemplate",
|
|
76691
|
+
"privacy": "protected",
|
|
76692
|
+
"return": {
|
|
76693
|
+
"type": {
|
|
76694
|
+
"text": "TemplateResult"
|
|
76695
|
+
}
|
|
76696
|
+
}
|
|
76697
|
+
},
|
|
76698
|
+
{
|
|
76699
|
+
"kind": "field",
|
|
76700
|
+
"name": "iconName",
|
|
76701
|
+
"type": {
|
|
76702
|
+
"text": "string"
|
|
76703
|
+
},
|
|
76704
|
+
"privacy": "public",
|
|
76705
|
+
"default": "''",
|
|
76706
|
+
"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.",
|
|
76707
|
+
"attribute": "icon-name",
|
|
76708
|
+
"inheritedFrom": {
|
|
76709
|
+
"name": "SbbIconNameMixin",
|
|
76710
|
+
"module": "icon/icon-name-mixin.js"
|
|
76711
|
+
}
|
|
76712
|
+
},
|
|
76713
|
+
{
|
|
76714
|
+
"kind": "method",
|
|
76715
|
+
"name": "renderIconSlot",
|
|
76716
|
+
"privacy": "protected",
|
|
76717
|
+
"return": {
|
|
76718
|
+
"type": {
|
|
76719
|
+
"text": "TemplateResult"
|
|
76720
|
+
}
|
|
76721
|
+
},
|
|
76722
|
+
"parameters": [
|
|
76723
|
+
{
|
|
76724
|
+
"name": "classname",
|
|
76725
|
+
"optional": true,
|
|
76726
|
+
"type": {
|
|
76727
|
+
"text": "string"
|
|
76728
|
+
}
|
|
76729
|
+
}
|
|
76730
|
+
],
|
|
76731
|
+
"inheritedFrom": {
|
|
76732
|
+
"name": "SbbIconNameMixin",
|
|
76733
|
+
"module": "icon/icon-name-mixin.js"
|
|
76734
|
+
}
|
|
76735
|
+
},
|
|
76736
|
+
{
|
|
76737
|
+
"kind": "method",
|
|
76738
|
+
"name": "renderIconName",
|
|
76739
|
+
"privacy": "protected",
|
|
76740
|
+
"return": {
|
|
76741
|
+
"type": {
|
|
76742
|
+
"text": "string"
|
|
76743
|
+
}
|
|
76744
|
+
},
|
|
76745
|
+
"inheritedFrom": {
|
|
76746
|
+
"name": "SbbIconNameMixin",
|
|
76747
|
+
"module": "icon/icon-name-mixin.js"
|
|
76748
|
+
}
|
|
76749
|
+
},
|
|
76750
|
+
{
|
|
76751
|
+
"kind": "method",
|
|
76752
|
+
"name": "_renderIconName",
|
|
76753
|
+
"privacy": "private",
|
|
76754
|
+
"return": {
|
|
76755
|
+
"type": {
|
|
76756
|
+
"text": "string"
|
|
76757
|
+
}
|
|
76758
|
+
},
|
|
76759
|
+
"inheritedFrom": {
|
|
76760
|
+
"name": "SbbIconNameMixin",
|
|
76761
|
+
"module": "icon/icon-name-mixin.js"
|
|
76762
|
+
}
|
|
76763
|
+
}
|
|
76764
|
+
],
|
|
76765
|
+
"attributes": [
|
|
76766
|
+
{
|
|
76767
|
+
"name": "expand-from",
|
|
76768
|
+
"type": {
|
|
76769
|
+
"text": "SbbHorizontalFrom"
|
|
76770
|
+
},
|
|
76771
|
+
"default": "'large'",
|
|
76772
|
+
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
76773
|
+
"fieldName": "expandFrom"
|
|
76774
|
+
},
|
|
76775
|
+
{
|
|
76776
|
+
"name": "icon-name",
|
|
76777
|
+
"type": {
|
|
76778
|
+
"text": "string"
|
|
76779
|
+
},
|
|
76780
|
+
"default": "''",
|
|
76781
|
+
"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.",
|
|
76782
|
+
"fieldName": "iconName",
|
|
76783
|
+
"inheritedFrom": {
|
|
76784
|
+
"name": "SbbIconNameMixin",
|
|
76785
|
+
"module": "icon/icon-name-mixin.js"
|
|
76786
|
+
}
|
|
76787
|
+
}
|
|
76788
|
+
],
|
|
76789
|
+
"mixins": [
|
|
76790
|
+
{
|
|
76791
|
+
"name": "SbbIconNameMixin",
|
|
76792
|
+
"module": "icon.js"
|
|
76793
|
+
}
|
|
76794
|
+
],
|
|
76795
|
+
"parameters": [
|
|
76796
|
+
{
|
|
76797
|
+
"name": "superClass",
|
|
76798
|
+
"type": {
|
|
76799
|
+
"text": "T"
|
|
76800
|
+
}
|
|
76801
|
+
}
|
|
76802
|
+
]
|
|
76803
|
+
}
|
|
76804
|
+
],
|
|
76805
|
+
"exports": [
|
|
76806
|
+
{
|
|
76807
|
+
"kind": "js",
|
|
76808
|
+
"name": "SbbHeaderActionCommonElementMixinType",
|
|
76809
|
+
"declaration": {
|
|
76810
|
+
"name": "SbbHeaderActionCommonElementMixinType",
|
|
76811
|
+
"module": "header/common/header-action-common.js"
|
|
76812
|
+
}
|
|
76813
|
+
},
|
|
76814
|
+
{
|
|
76815
|
+
"kind": "js",
|
|
76816
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
76817
|
+
"declaration": {
|
|
76818
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
76819
|
+
"module": "header/common/header-action-common.js"
|
|
76820
|
+
}
|
|
76821
|
+
}
|
|
76822
|
+
]
|
|
76823
|
+
},
|
|
76467
76824
|
{
|
|
76468
76825
|
"kind": "javascript-module",
|
|
76469
76826
|
"path": "form-field/form-field-clear/form-field-clear.component.js",
|
|
@@ -77173,363 +77530,6 @@
|
|
|
77173
77530
|
}
|
|
77174
77531
|
]
|
|
77175
77532
|
},
|
|
77176
|
-
{
|
|
77177
|
-
"kind": "javascript-module",
|
|
77178
|
-
"path": "header/common/header-action-common.js",
|
|
77179
|
-
"declarations": [
|
|
77180
|
-
{
|
|
77181
|
-
"kind": "class",
|
|
77182
|
-
"description": "",
|
|
77183
|
-
"name": "SbbHeaderActionCommonElementMixinType",
|
|
77184
|
-
"members": [
|
|
77185
|
-
{
|
|
77186
|
-
"kind": "field",
|
|
77187
|
-
"name": "expandFrom",
|
|
77188
|
-
"type": {
|
|
77189
|
-
"text": "SbbHorizontalFrom"
|
|
77190
|
-
},
|
|
77191
|
-
"privacy": "public"
|
|
77192
|
-
},
|
|
77193
|
-
{
|
|
77194
|
-
"kind": "field",
|
|
77195
|
-
"name": "iconName",
|
|
77196
|
-
"type": {
|
|
77197
|
-
"text": "string"
|
|
77198
|
-
},
|
|
77199
|
-
"privacy": "public",
|
|
77200
|
-
"default": "''",
|
|
77201
|
-
"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.",
|
|
77202
|
-
"attribute": "icon-name",
|
|
77203
|
-
"inheritedFrom": {
|
|
77204
|
-
"name": "SbbIconNameMixin",
|
|
77205
|
-
"module": "icon/icon-name-mixin.js"
|
|
77206
|
-
}
|
|
77207
|
-
},
|
|
77208
|
-
{
|
|
77209
|
-
"kind": "method",
|
|
77210
|
-
"name": "renderIconSlot",
|
|
77211
|
-
"privacy": "protected",
|
|
77212
|
-
"return": {
|
|
77213
|
-
"type": {
|
|
77214
|
-
"text": "TemplateResult"
|
|
77215
|
-
}
|
|
77216
|
-
},
|
|
77217
|
-
"parameters": [
|
|
77218
|
-
{
|
|
77219
|
-
"name": "classname",
|
|
77220
|
-
"optional": true,
|
|
77221
|
-
"type": {
|
|
77222
|
-
"text": "string"
|
|
77223
|
-
}
|
|
77224
|
-
}
|
|
77225
|
-
],
|
|
77226
|
-
"inheritedFrom": {
|
|
77227
|
-
"name": "SbbIconNameMixin",
|
|
77228
|
-
"module": "icon/icon-name-mixin.js"
|
|
77229
|
-
}
|
|
77230
|
-
},
|
|
77231
|
-
{
|
|
77232
|
-
"kind": "method",
|
|
77233
|
-
"name": "renderIconName",
|
|
77234
|
-
"privacy": "protected",
|
|
77235
|
-
"return": {
|
|
77236
|
-
"type": {
|
|
77237
|
-
"text": "string"
|
|
77238
|
-
}
|
|
77239
|
-
},
|
|
77240
|
-
"inheritedFrom": {
|
|
77241
|
-
"name": "SbbIconNameMixin",
|
|
77242
|
-
"module": "icon/icon-name-mixin.js"
|
|
77243
|
-
}
|
|
77244
|
-
},
|
|
77245
|
-
{
|
|
77246
|
-
"kind": "method",
|
|
77247
|
-
"name": "_renderIconName",
|
|
77248
|
-
"privacy": "private",
|
|
77249
|
-
"return": {
|
|
77250
|
-
"type": {
|
|
77251
|
-
"text": "string"
|
|
77252
|
-
}
|
|
77253
|
-
},
|
|
77254
|
-
"inheritedFrom": {
|
|
77255
|
-
"name": "SbbIconNameMixin",
|
|
77256
|
-
"module": "icon/icon-name-mixin.js"
|
|
77257
|
-
}
|
|
77258
|
-
},
|
|
77259
|
-
{
|
|
77260
|
-
"kind": "method",
|
|
77261
|
-
"name": "toggleState",
|
|
77262
|
-
"privacy": "protected",
|
|
77263
|
-
"return": {
|
|
77264
|
-
"type": {
|
|
77265
|
-
"text": "void"
|
|
77266
|
-
}
|
|
77267
|
-
},
|
|
77268
|
-
"parameters": [
|
|
77269
|
-
{
|
|
77270
|
-
"name": "value",
|
|
77271
|
-
"type": {
|
|
77272
|
-
"text": "string"
|
|
77273
|
-
}
|
|
77274
|
-
},
|
|
77275
|
-
{
|
|
77276
|
-
"name": "force",
|
|
77277
|
-
"optional": true,
|
|
77278
|
-
"type": {
|
|
77279
|
-
"text": "boolean"
|
|
77280
|
-
}
|
|
77281
|
-
}
|
|
77282
|
-
],
|
|
77283
|
-
"inheritedFrom": {
|
|
77284
|
-
"name": "SbbActionBaseElement",
|
|
77285
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77286
|
-
}
|
|
77287
|
-
},
|
|
77288
|
-
{
|
|
77289
|
-
"kind": "field",
|
|
77290
|
-
"name": "maybeDisabled",
|
|
77291
|
-
"type": {
|
|
77292
|
-
"text": "boolean | undefined"
|
|
77293
|
-
},
|
|
77294
|
-
"privacy": "protected",
|
|
77295
|
-
"readonly": true,
|
|
77296
|
-
"inheritedFrom": {
|
|
77297
|
-
"name": "SbbActionBaseElement",
|
|
77298
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77299
|
-
}
|
|
77300
|
-
},
|
|
77301
|
-
{
|
|
77302
|
-
"kind": "field",
|
|
77303
|
-
"name": "maybeDisabledInteractive",
|
|
77304
|
-
"type": {
|
|
77305
|
-
"text": "boolean | undefined"
|
|
77306
|
-
},
|
|
77307
|
-
"privacy": "protected",
|
|
77308
|
-
"readonly": true,
|
|
77309
|
-
"inheritedFrom": {
|
|
77310
|
-
"name": "SbbActionBaseElement",
|
|
77311
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77312
|
-
}
|
|
77313
|
-
},
|
|
77314
|
-
{
|
|
77315
|
-
"kind": "method",
|
|
77316
|
-
"name": "setupBaseEventHandlers",
|
|
77317
|
-
"privacy": "protected",
|
|
77318
|
-
"return": {
|
|
77319
|
-
"type": {
|
|
77320
|
-
"text": "void"
|
|
77321
|
-
}
|
|
77322
|
-
},
|
|
77323
|
-
"inheritedFrom": {
|
|
77324
|
-
"name": "SbbActionBaseElement",
|
|
77325
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77326
|
-
}
|
|
77327
|
-
},
|
|
77328
|
-
{
|
|
77329
|
-
"kind": "method",
|
|
77330
|
-
"name": "renderTemplate",
|
|
77331
|
-
"privacy": "protected",
|
|
77332
|
-
"return": {
|
|
77333
|
-
"type": {
|
|
77334
|
-
"text": "TemplateResult"
|
|
77335
|
-
}
|
|
77336
|
-
},
|
|
77337
|
-
"description": "Override this method to render the component template.",
|
|
77338
|
-
"inheritedFrom": {
|
|
77339
|
-
"name": "SbbActionBaseElement",
|
|
77340
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77341
|
-
}
|
|
77342
|
-
}
|
|
77343
|
-
],
|
|
77344
|
-
"mixins": [
|
|
77345
|
-
{
|
|
77346
|
-
"name": "SbbIconNameMixin",
|
|
77347
|
-
"module": "icon.js"
|
|
77348
|
-
}
|
|
77349
|
-
],
|
|
77350
|
-
"superclass": {
|
|
77351
|
-
"name": "SbbActionBaseElement",
|
|
77352
|
-
"module": "core/base-elements.js"
|
|
77353
|
-
},
|
|
77354
|
-
"attributes": [
|
|
77355
|
-
{
|
|
77356
|
-
"name": "icon-name",
|
|
77357
|
-
"type": {
|
|
77358
|
-
"text": "string"
|
|
77359
|
-
},
|
|
77360
|
-
"default": "''",
|
|
77361
|
-
"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.",
|
|
77362
|
-
"fieldName": "iconName",
|
|
77363
|
-
"inheritedFrom": {
|
|
77364
|
-
"name": "SbbIconNameMixin",
|
|
77365
|
-
"module": "icon/icon-name-mixin.js"
|
|
77366
|
-
}
|
|
77367
|
-
}
|
|
77368
|
-
]
|
|
77369
|
-
},
|
|
77370
|
-
{
|
|
77371
|
-
"kind": "mixin",
|
|
77372
|
-
"description": "",
|
|
77373
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
77374
|
-
"members": [
|
|
77375
|
-
{
|
|
77376
|
-
"kind": "field",
|
|
77377
|
-
"name": "styles",
|
|
77378
|
-
"type": {
|
|
77379
|
-
"text": "CSSResultGroup"
|
|
77380
|
-
},
|
|
77381
|
-
"privacy": "public",
|
|
77382
|
-
"static": true,
|
|
77383
|
-
"default": "[boxSizingStyles, style]"
|
|
77384
|
-
},
|
|
77385
|
-
{
|
|
77386
|
-
"kind": "field",
|
|
77387
|
-
"name": "expandFrom",
|
|
77388
|
-
"type": {
|
|
77389
|
-
"text": "SbbHorizontalFrom"
|
|
77390
|
-
},
|
|
77391
|
-
"privacy": "public",
|
|
77392
|
-
"default": "'large'",
|
|
77393
|
-
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
77394
|
-
"attribute": "expand-from",
|
|
77395
|
-
"reflects": true
|
|
77396
|
-
},
|
|
77397
|
-
{
|
|
77398
|
-
"kind": "method",
|
|
77399
|
-
"name": "renderTemplate",
|
|
77400
|
-
"privacy": "protected",
|
|
77401
|
-
"return": {
|
|
77402
|
-
"type": {
|
|
77403
|
-
"text": "TemplateResult"
|
|
77404
|
-
}
|
|
77405
|
-
}
|
|
77406
|
-
},
|
|
77407
|
-
{
|
|
77408
|
-
"kind": "field",
|
|
77409
|
-
"name": "iconName",
|
|
77410
|
-
"type": {
|
|
77411
|
-
"text": "string"
|
|
77412
|
-
},
|
|
77413
|
-
"privacy": "public",
|
|
77414
|
-
"default": "''",
|
|
77415
|
-
"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.",
|
|
77416
|
-
"attribute": "icon-name",
|
|
77417
|
-
"inheritedFrom": {
|
|
77418
|
-
"name": "SbbIconNameMixin",
|
|
77419
|
-
"module": "icon/icon-name-mixin.js"
|
|
77420
|
-
}
|
|
77421
|
-
},
|
|
77422
|
-
{
|
|
77423
|
-
"kind": "method",
|
|
77424
|
-
"name": "renderIconSlot",
|
|
77425
|
-
"privacy": "protected",
|
|
77426
|
-
"return": {
|
|
77427
|
-
"type": {
|
|
77428
|
-
"text": "TemplateResult"
|
|
77429
|
-
}
|
|
77430
|
-
},
|
|
77431
|
-
"parameters": [
|
|
77432
|
-
{
|
|
77433
|
-
"name": "classname",
|
|
77434
|
-
"optional": true,
|
|
77435
|
-
"type": {
|
|
77436
|
-
"text": "string"
|
|
77437
|
-
}
|
|
77438
|
-
}
|
|
77439
|
-
],
|
|
77440
|
-
"inheritedFrom": {
|
|
77441
|
-
"name": "SbbIconNameMixin",
|
|
77442
|
-
"module": "icon/icon-name-mixin.js"
|
|
77443
|
-
}
|
|
77444
|
-
},
|
|
77445
|
-
{
|
|
77446
|
-
"kind": "method",
|
|
77447
|
-
"name": "renderIconName",
|
|
77448
|
-
"privacy": "protected",
|
|
77449
|
-
"return": {
|
|
77450
|
-
"type": {
|
|
77451
|
-
"text": "string"
|
|
77452
|
-
}
|
|
77453
|
-
},
|
|
77454
|
-
"inheritedFrom": {
|
|
77455
|
-
"name": "SbbIconNameMixin",
|
|
77456
|
-
"module": "icon/icon-name-mixin.js"
|
|
77457
|
-
}
|
|
77458
|
-
},
|
|
77459
|
-
{
|
|
77460
|
-
"kind": "method",
|
|
77461
|
-
"name": "_renderIconName",
|
|
77462
|
-
"privacy": "private",
|
|
77463
|
-
"return": {
|
|
77464
|
-
"type": {
|
|
77465
|
-
"text": "string"
|
|
77466
|
-
}
|
|
77467
|
-
},
|
|
77468
|
-
"inheritedFrom": {
|
|
77469
|
-
"name": "SbbIconNameMixin",
|
|
77470
|
-
"module": "icon/icon-name-mixin.js"
|
|
77471
|
-
}
|
|
77472
|
-
}
|
|
77473
|
-
],
|
|
77474
|
-
"attributes": [
|
|
77475
|
-
{
|
|
77476
|
-
"name": "expand-from",
|
|
77477
|
-
"type": {
|
|
77478
|
-
"text": "SbbHorizontalFrom"
|
|
77479
|
-
},
|
|
77480
|
-
"default": "'large'",
|
|
77481
|
-
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
77482
|
-
"fieldName": "expandFrom"
|
|
77483
|
-
},
|
|
77484
|
-
{
|
|
77485
|
-
"name": "icon-name",
|
|
77486
|
-
"type": {
|
|
77487
|
-
"text": "string"
|
|
77488
|
-
},
|
|
77489
|
-
"default": "''",
|
|
77490
|
-
"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.",
|
|
77491
|
-
"fieldName": "iconName",
|
|
77492
|
-
"inheritedFrom": {
|
|
77493
|
-
"name": "SbbIconNameMixin",
|
|
77494
|
-
"module": "icon/icon-name-mixin.js"
|
|
77495
|
-
}
|
|
77496
|
-
}
|
|
77497
|
-
],
|
|
77498
|
-
"mixins": [
|
|
77499
|
-
{
|
|
77500
|
-
"name": "SbbIconNameMixin",
|
|
77501
|
-
"module": "icon.js"
|
|
77502
|
-
}
|
|
77503
|
-
],
|
|
77504
|
-
"parameters": [
|
|
77505
|
-
{
|
|
77506
|
-
"name": "superClass",
|
|
77507
|
-
"type": {
|
|
77508
|
-
"text": "T"
|
|
77509
|
-
}
|
|
77510
|
-
}
|
|
77511
|
-
]
|
|
77512
|
-
}
|
|
77513
|
-
],
|
|
77514
|
-
"exports": [
|
|
77515
|
-
{
|
|
77516
|
-
"kind": "js",
|
|
77517
|
-
"name": "SbbHeaderActionCommonElementMixinType",
|
|
77518
|
-
"declaration": {
|
|
77519
|
-
"name": "SbbHeaderActionCommonElementMixinType",
|
|
77520
|
-
"module": "header/common/header-action-common.js"
|
|
77521
|
-
}
|
|
77522
|
-
},
|
|
77523
|
-
{
|
|
77524
|
-
"kind": "js",
|
|
77525
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
77526
|
-
"declaration": {
|
|
77527
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
77528
|
-
"module": "header/common/header-action-common.js"
|
|
77529
|
-
}
|
|
77530
|
-
}
|
|
77531
|
-
]
|
|
77532
|
-
},
|
|
77533
77533
|
{
|
|
77534
77534
|
"kind": "javascript-module",
|
|
77535
77535
|
"path": "header/header/header.component.js",
|
|
@@ -103808,168 +103808,52 @@
|
|
|
103808
103808
|
},
|
|
103809
103809
|
{
|
|
103810
103810
|
"kind": "javascript-module",
|
|
103811
|
-
"path": "stepper/
|
|
103811
|
+
"path": "stepper/step-label/step-label.component.js",
|
|
103812
103812
|
"declarations": [
|
|
103813
103813
|
{
|
|
103814
103814
|
"kind": "class",
|
|
103815
|
-
"description": "",
|
|
103816
|
-
"name": "
|
|
103817
|
-
"members": [
|
|
103818
|
-
{
|
|
103819
|
-
"kind": "field",
|
|
103820
|
-
"name": "selectedIndex",
|
|
103821
|
-
"type": {
|
|
103822
|
-
"text": "number | null"
|
|
103823
|
-
},
|
|
103824
|
-
"privacy": "public",
|
|
103825
|
-
"readonly": true,
|
|
103826
|
-
"description": "The index of the newly selected step.",
|
|
103827
|
-
"default": "selectedIndex"
|
|
103828
|
-
},
|
|
103829
|
-
{
|
|
103830
|
-
"kind": "field",
|
|
103831
|
-
"name": "previousIndex",
|
|
103832
|
-
"type": {
|
|
103833
|
-
"text": "number | null"
|
|
103834
|
-
},
|
|
103835
|
-
"privacy": "public",
|
|
103836
|
-
"readonly": true,
|
|
103837
|
-
"description": "The index of the previously selected step.",
|
|
103838
|
-
"default": "previousIndex"
|
|
103839
|
-
},
|
|
103840
|
-
{
|
|
103841
|
-
"kind": "field",
|
|
103842
|
-
"name": "selectedStep",
|
|
103843
|
-
"type": {
|
|
103844
|
-
"text": "SbbStepElement | null"
|
|
103845
|
-
},
|
|
103846
|
-
"privacy": "public",
|
|
103847
|
-
"readonly": true,
|
|
103848
|
-
"description": "The newly selected step element.",
|
|
103849
|
-
"default": "selectedStep"
|
|
103850
|
-
},
|
|
103851
|
-
{
|
|
103852
|
-
"kind": "field",
|
|
103853
|
-
"name": "previousStep",
|
|
103854
|
-
"type": {
|
|
103855
|
-
"text": "SbbStepElement | null"
|
|
103856
|
-
},
|
|
103857
|
-
"privacy": "public",
|
|
103858
|
-
"readonly": true,
|
|
103859
|
-
"description": "The previously selected step element.",
|
|
103860
|
-
"default": "previousStep"
|
|
103861
|
-
}
|
|
103862
|
-
],
|
|
103863
|
-
"superclass": {
|
|
103864
|
-
"name": "Event",
|
|
103865
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
103866
|
-
}
|
|
103867
|
-
},
|
|
103868
|
-
{
|
|
103869
|
-
"kind": "class",
|
|
103870
|
-
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
103871
|
-
"name": "SbbStepperElement",
|
|
103815
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
103816
|
+
"name": "SbbStepLabelElement",
|
|
103872
103817
|
"slots": [
|
|
103873
103818
|
{
|
|
103874
|
-
"description": "
|
|
103819
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
103875
103820
|
"name": ""
|
|
103876
103821
|
},
|
|
103877
103822
|
{
|
|
103878
|
-
"description": "Use this
|
|
103879
|
-
"name": "
|
|
103880
|
-
},
|
|
103881
|
-
{
|
|
103882
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
103883
|
-
"name": "step"
|
|
103823
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
103824
|
+
"name": "icon"
|
|
103884
103825
|
}
|
|
103885
103826
|
],
|
|
103886
103827
|
"members": [
|
|
103887
103828
|
{
|
|
103888
103829
|
"kind": "field",
|
|
103889
|
-
"name": "
|
|
103830
|
+
"name": "role",
|
|
103831
|
+
"type": {
|
|
103832
|
+
"text": "string"
|
|
103833
|
+
},
|
|
103890
103834
|
"privacy": "public",
|
|
103891
103835
|
"static": true,
|
|
103892
103836
|
"readonly": true,
|
|
103893
|
-
"default": "
|
|
103894
|
-
"
|
|
103895
|
-
"
|
|
103837
|
+
"default": "'tab'",
|
|
103838
|
+
"inheritedFrom": {
|
|
103839
|
+
"name": "SbbButtonLikeBaseElement",
|
|
103840
|
+
"module": "core/base-elements/button-base-element.js"
|
|
103896
103841
|
}
|
|
103897
103842
|
},
|
|
103898
103843
|
{
|
|
103899
103844
|
"kind": "field",
|
|
103900
|
-
"name": "
|
|
103901
|
-
"privacy": "private",
|
|
103902
|
-
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
103903
|
-
"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."
|
|
103904
|
-
},
|
|
103905
|
-
{
|
|
103906
|
-
"kind": "field",
|
|
103907
|
-
"name": "linear",
|
|
103845
|
+
"name": "step",
|
|
103908
103846
|
"type": {
|
|
103909
|
-
"text": "
|
|
103847
|
+
"text": "SbbStepElement | null"
|
|
103910
103848
|
},
|
|
103911
103849
|
"privacy": "public",
|
|
103912
|
-
"
|
|
103913
|
-
"
|
|
103914
|
-
"attribute": "linear"
|
|
103915
|
-
},
|
|
103916
|
-
{
|
|
103917
|
-
"kind": "field",
|
|
103918
|
-
"name": "horizontalFrom",
|
|
103919
|
-
"privacy": "public",
|
|
103920
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
103921
|
-
"type": {
|
|
103922
|
-
"text": "SbbHorizontalFrom | null"
|
|
103923
|
-
},
|
|
103924
|
-
"attribute": "horizontal-from",
|
|
103925
|
-
"reflects": true,
|
|
103926
|
-
"default": "null"
|
|
103927
|
-
},
|
|
103928
|
-
{
|
|
103929
|
-
"kind": "field",
|
|
103930
|
-
"name": "_horizontalFrom",
|
|
103931
|
-
"type": {
|
|
103932
|
-
"text": "SbbHorizontalFrom | null"
|
|
103933
|
-
},
|
|
103934
|
-
"privacy": "private",
|
|
103850
|
+
"description": "The step controlled by the label.",
|
|
103851
|
+
"readonly": true,
|
|
103935
103852
|
"default": "null"
|
|
103936
103853
|
},
|
|
103937
103854
|
{
|
|
103938
103855
|
"kind": "field",
|
|
103939
|
-
"name": "
|
|
103940
|
-
"type": {
|
|
103941
|
-
"text": "SbbOrientation"
|
|
103942
|
-
},
|
|
103943
|
-
"privacy": "public",
|
|
103944
|
-
"default": "'horizontal'",
|
|
103945
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
103946
|
-
"attribute": "orientation",
|
|
103947
|
-
"reflects": true
|
|
103948
|
-
},
|
|
103949
|
-
{
|
|
103950
|
-
"kind": "field",
|
|
103951
|
-
"name": "size",
|
|
103952
|
-
"type": {
|
|
103953
|
-
"text": "'s' | 'm'"
|
|
103954
|
-
},
|
|
103955
|
-
"privacy": "public",
|
|
103956
|
-
"description": "Size variant, either s or m.",
|
|
103957
|
-
"default": "'m' / 's' (lean)",
|
|
103958
|
-
"attribute": "size",
|
|
103959
|
-
"reflects": true
|
|
103960
|
-
},
|
|
103961
|
-
{
|
|
103962
|
-
"kind": "field",
|
|
103963
|
-
"name": "selected",
|
|
103964
|
-
"privacy": "public",
|
|
103965
|
-
"description": "The currently selected step.",
|
|
103966
|
-
"type": {
|
|
103967
|
-
"text": "SbbStepElement | null"
|
|
103968
|
-
}
|
|
103969
|
-
},
|
|
103970
|
-
{
|
|
103971
|
-
"kind": "field",
|
|
103972
|
-
"name": "_requestedSelected",
|
|
103856
|
+
"name": "_step",
|
|
103973
103857
|
"type": {
|
|
103974
103858
|
"text": "SbbStepElement | null"
|
|
103975
103859
|
},
|
|
@@ -103978,309 +103862,251 @@
|
|
|
103978
103862
|
},
|
|
103979
103863
|
{
|
|
103980
103864
|
"kind": "field",
|
|
103981
|
-
"name": "
|
|
103982
|
-
"privacy": "public",
|
|
103983
|
-
"description": "The currently selected step index.",
|
|
103984
|
-
"type": {
|
|
103985
|
-
"text": "number | null"
|
|
103986
|
-
},
|
|
103987
|
-
"attribute": "selected-index"
|
|
103988
|
-
},
|
|
103989
|
-
{
|
|
103990
|
-
"kind": "field",
|
|
103991
|
-
"name": "_requestedSelectedIndex",
|
|
103992
|
-
"type": {
|
|
103993
|
-
"text": "number | null"
|
|
103994
|
-
},
|
|
103995
|
-
"privacy": "private",
|
|
103996
|
-
"default": "null"
|
|
103997
|
-
},
|
|
103998
|
-
{
|
|
103999
|
-
"kind": "field",
|
|
104000
|
-
"name": "steps",
|
|
103865
|
+
"name": "stepper",
|
|
104001
103866
|
"type": {
|
|
104002
|
-
"text": "
|
|
103867
|
+
"text": "SbbStepperElement | null"
|
|
104003
103868
|
},
|
|
104004
103869
|
"privacy": "public",
|
|
104005
|
-
"description": "The steps of the stepper.",
|
|
104006
|
-
"readonly": true
|
|
104007
|
-
},
|
|
104008
|
-
{
|
|
104009
|
-
"kind": "field",
|
|
104010
|
-
"name": "_enabledSteps",
|
|
104011
|
-
"type": {
|
|
104012
|
-
"text": "SbbStepElement[]"
|
|
104013
|
-
},
|
|
104014
|
-
"privacy": "private",
|
|
104015
103870
|
"readonly": true
|
|
104016
103871
|
},
|
|
104017
103872
|
{
|
|
104018
103873
|
"kind": "field",
|
|
104019
|
-
"name": "
|
|
103874
|
+
"name": "disabled",
|
|
103875
|
+
"privacy": "public",
|
|
103876
|
+
"description": "Whether the component is disabled.",
|
|
103877
|
+
"default": "false",
|
|
104020
103878
|
"type": {
|
|
104021
103879
|
"text": "boolean"
|
|
104022
103880
|
},
|
|
104023
|
-
"
|
|
104024
|
-
"
|
|
103881
|
+
"attribute": "disabled",
|
|
103882
|
+
"reflects": true,
|
|
103883
|
+
"inheritedFrom": {
|
|
103884
|
+
"name": "SbbDisabledMixin",
|
|
103885
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
103886
|
+
}
|
|
104025
103887
|
},
|
|
104026
103888
|
{
|
|
104027
103889
|
"kind": "field",
|
|
104028
|
-
"name": "
|
|
103890
|
+
"name": "_previousOrientation",
|
|
104029
103891
|
"type": {
|
|
104030
|
-
"text": "
|
|
103892
|
+
"text": "string | undefined"
|
|
104031
103893
|
},
|
|
104032
|
-
"privacy": "private"
|
|
104033
|
-
"default": "null"
|
|
103894
|
+
"privacy": "private"
|
|
104034
103895
|
},
|
|
104035
103896
|
{
|
|
104036
103897
|
"kind": "field",
|
|
104037
|
-
"name": "
|
|
104038
|
-
"
|
|
104039
|
-
|
|
104040
|
-
},
|
|
104041
|
-
{
|
|
104042
|
-
"kind": "method",
|
|
104043
|
-
"name": "next",
|
|
104044
|
-
"privacy": "public",
|
|
104045
|
-
"return": {
|
|
104046
|
-
"type": {
|
|
104047
|
-
"text": "void"
|
|
104048
|
-
}
|
|
104049
|
-
},
|
|
104050
|
-
"description": "Selects the next step."
|
|
104051
|
-
},
|
|
104052
|
-
{
|
|
104053
|
-
"kind": "method",
|
|
104054
|
-
"name": "previous",
|
|
104055
|
-
"privacy": "public",
|
|
104056
|
-
"return": {
|
|
104057
|
-
"type": {
|
|
104058
|
-
"text": "void"
|
|
104059
|
-
}
|
|
104060
|
-
},
|
|
104061
|
-
"description": "Selects the previous step."
|
|
104062
|
-
},
|
|
104063
|
-
{
|
|
104064
|
-
"kind": "method",
|
|
104065
|
-
"name": "reset",
|
|
104066
|
-
"privacy": "public",
|
|
104067
|
-
"return": {
|
|
104068
|
-
"type": {
|
|
104069
|
-
"text": "void"
|
|
104070
|
-
}
|
|
103898
|
+
"name": "_previousSize",
|
|
103899
|
+
"type": {
|
|
103900
|
+
"text": "string | undefined"
|
|
104071
103901
|
},
|
|
104072
|
-
"
|
|
103902
|
+
"privacy": "private"
|
|
104073
103903
|
},
|
|
104074
103904
|
{
|
|
104075
103905
|
"kind": "method",
|
|
104076
|
-
"name": "
|
|
103906
|
+
"name": "_isNotDeactivatedByLinearMode",
|
|
104077
103907
|
"privacy": "private",
|
|
104078
103908
|
"return": {
|
|
104079
103909
|
"type": {
|
|
104080
|
-
"text": "
|
|
103910
|
+
"text": "boolean"
|
|
104081
103911
|
}
|
|
104082
103912
|
},
|
|
104083
103913
|
"parameters": [
|
|
104084
103914
|
{
|
|
104085
103915
|
"name": "step",
|
|
104086
103916
|
"type": {
|
|
104087
|
-
"text": "SbbStepElement
|
|
103917
|
+
"text": "SbbStepElement"
|
|
104088
103918
|
}
|
|
104089
103919
|
}
|
|
104090
103920
|
]
|
|
104091
103921
|
},
|
|
104092
103922
|
{
|
|
104093
103923
|
"kind": "method",
|
|
104094
|
-
"name": "
|
|
103924
|
+
"name": "_assignStep",
|
|
104095
103925
|
"privacy": "private",
|
|
104096
103926
|
"return": {
|
|
104097
103927
|
"type": {
|
|
104098
103928
|
"text": "void"
|
|
104099
103929
|
}
|
|
104100
|
-
}
|
|
104101
|
-
"parameters": [
|
|
104102
|
-
{
|
|
104103
|
-
"name": "step",
|
|
104104
|
-
"type": {
|
|
104105
|
-
"text": "SbbStepElement | null"
|
|
104106
|
-
}
|
|
104107
|
-
}
|
|
104108
|
-
]
|
|
103930
|
+
}
|
|
104109
103931
|
},
|
|
104110
103932
|
{
|
|
104111
|
-
"kind": "
|
|
104112
|
-
"name": "
|
|
104113
|
-
"
|
|
104114
|
-
|
|
104115
|
-
|
|
104116
|
-
|
|
104117
|
-
|
|
103933
|
+
"kind": "field",
|
|
103934
|
+
"name": "iconName",
|
|
103935
|
+
"type": {
|
|
103936
|
+
"text": "string"
|
|
103937
|
+
},
|
|
103938
|
+
"privacy": "public",
|
|
103939
|
+
"default": "''",
|
|
103940
|
+
"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.",
|
|
103941
|
+
"attribute": "icon-name",
|
|
103942
|
+
"inheritedFrom": {
|
|
103943
|
+
"name": "SbbIconNameMixin",
|
|
103944
|
+
"module": "icon/icon-name-mixin.js"
|
|
104118
103945
|
}
|
|
104119
103946
|
},
|
|
104120
103947
|
{
|
|
104121
103948
|
"kind": "method",
|
|
104122
|
-
"name": "
|
|
104123
|
-
"privacy": "
|
|
103949
|
+
"name": "renderIconSlot",
|
|
103950
|
+
"privacy": "protected",
|
|
104124
103951
|
"return": {
|
|
104125
103952
|
"type": {
|
|
104126
|
-
"text": "
|
|
103953
|
+
"text": "TemplateResult"
|
|
104127
103954
|
}
|
|
104128
103955
|
},
|
|
104129
103956
|
"parameters": [
|
|
104130
103957
|
{
|
|
104131
|
-
"name": "
|
|
103958
|
+
"name": "classname",
|
|
103959
|
+
"optional": true,
|
|
104132
103960
|
"type": {
|
|
104133
|
-
"text": "
|
|
103961
|
+
"text": "string"
|
|
104134
103962
|
}
|
|
104135
103963
|
}
|
|
104136
103964
|
],
|
|
104137
|
-
"
|
|
104138
|
-
|
|
104139
|
-
|
|
104140
|
-
"kind": "method",
|
|
104141
|
-
"name": "_calculateLabelOffsetTop",
|
|
104142
|
-
"privacy": "private",
|
|
104143
|
-
"return": {
|
|
104144
|
-
"type": {
|
|
104145
|
-
"text": "number | undefined"
|
|
104146
|
-
}
|
|
103965
|
+
"inheritedFrom": {
|
|
103966
|
+
"name": "SbbIconNameMixin",
|
|
103967
|
+
"module": "icon/icon-name-mixin.js"
|
|
104147
103968
|
}
|
|
104148
103969
|
},
|
|
104149
103970
|
{
|
|
104150
103971
|
"kind": "method",
|
|
104151
|
-
"name": "
|
|
104152
|
-
"privacy": "
|
|
103972
|
+
"name": "renderIconName",
|
|
103973
|
+
"privacy": "protected",
|
|
104153
103974
|
"return": {
|
|
104154
103975
|
"type": {
|
|
104155
|
-
"text": "
|
|
103976
|
+
"text": "string"
|
|
104156
103977
|
}
|
|
104157
103978
|
},
|
|
104158
|
-
"
|
|
104159
|
-
|
|
104160
|
-
|
|
104161
|
-
|
|
104162
|
-
"text": "Event"
|
|
104163
|
-
}
|
|
104164
|
-
}
|
|
104165
|
-
]
|
|
103979
|
+
"inheritedFrom": {
|
|
103980
|
+
"name": "SbbIconNameMixin",
|
|
103981
|
+
"module": "icon/icon-name-mixin.js"
|
|
103982
|
+
}
|
|
104166
103983
|
},
|
|
104167
103984
|
{
|
|
104168
103985
|
"kind": "method",
|
|
104169
|
-
"name": "
|
|
103986
|
+
"name": "_renderIconName",
|
|
104170
103987
|
"privacy": "private",
|
|
104171
103988
|
"return": {
|
|
104172
103989
|
"type": {
|
|
104173
|
-
"text": "
|
|
103990
|
+
"text": "string"
|
|
104174
103991
|
}
|
|
103992
|
+
},
|
|
103993
|
+
"inheritedFrom": {
|
|
103994
|
+
"name": "SbbIconNameMixin",
|
|
103995
|
+
"module": "icon/icon-name-mixin.js"
|
|
104175
103996
|
}
|
|
104176
103997
|
},
|
|
104177
103998
|
{
|
|
104178
|
-
"kind": "
|
|
104179
|
-
"name": "
|
|
103999
|
+
"kind": "field",
|
|
104000
|
+
"name": "#disabled",
|
|
104180
104001
|
"privacy": "private",
|
|
104181
|
-
"
|
|
104182
|
-
"
|
|
104183
|
-
|
|
104184
|
-
|
|
104002
|
+
"type": {
|
|
104003
|
+
"text": "boolean"
|
|
104004
|
+
},
|
|
104005
|
+
"default": "false",
|
|
104006
|
+
"inheritedFrom": {
|
|
104007
|
+
"name": "SbbDisabledMixin",
|
|
104008
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104185
104009
|
}
|
|
104186
104010
|
},
|
|
104187
104011
|
{
|
|
104188
104012
|
"kind": "method",
|
|
104189
|
-
"name": "
|
|
104190
|
-
"privacy": "
|
|
104013
|
+
"name": "isDisabledExternally",
|
|
104014
|
+
"privacy": "protected",
|
|
104191
104015
|
"return": {
|
|
104192
104016
|
"type": {
|
|
104193
|
-
"text": "
|
|
104017
|
+
"text": "boolean"
|
|
104194
104018
|
}
|
|
104019
|
+
},
|
|
104020
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
104021
|
+
"inheritedFrom": {
|
|
104022
|
+
"name": "SbbDisabledMixin",
|
|
104023
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104195
104024
|
}
|
|
104196
104025
|
},
|
|
104197
104026
|
{
|
|
104198
104027
|
"kind": "field",
|
|
104199
|
-
"name": "
|
|
104200
|
-
"
|
|
104201
|
-
|
|
104202
|
-
|
|
104203
|
-
"kind": "method",
|
|
104204
|
-
"name": "_configureLinearMode",
|
|
104028
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
104029
|
+
"type": {
|
|
104030
|
+
"text": "array"
|
|
104031
|
+
},
|
|
104205
104032
|
"privacy": "private",
|
|
104206
|
-
"
|
|
104207
|
-
|
|
104208
|
-
|
|
104209
|
-
|
|
104033
|
+
"readonly": true,
|
|
104034
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
104035
|
+
"inheritedFrom": {
|
|
104036
|
+
"name": "SbbButtonBaseElement",
|
|
104037
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104210
104038
|
}
|
|
104211
104039
|
},
|
|
104212
104040
|
{
|
|
104213
|
-
"kind": "
|
|
104214
|
-
"name": "
|
|
104215
|
-
"
|
|
104216
|
-
|
|
104217
|
-
"type": {
|
|
104218
|
-
"text": "void"
|
|
104219
|
-
}
|
|
104041
|
+
"kind": "field",
|
|
104042
|
+
"name": "value",
|
|
104043
|
+
"type": {
|
|
104044
|
+
"text": "string"
|
|
104220
104045
|
},
|
|
104221
|
-
"
|
|
104222
|
-
|
|
104223
|
-
|
|
104224
|
-
|
|
104225
|
-
|
|
104226
|
-
|
|
104227
|
-
|
|
104228
|
-
|
|
104046
|
+
"privacy": "public",
|
|
104047
|
+
"inheritedFrom": {
|
|
104048
|
+
"name": "SbbButtonBaseElement",
|
|
104049
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104050
|
+
},
|
|
104051
|
+
"default": "''",
|
|
104052
|
+
"description": "Value of the form element.",
|
|
104053
|
+
"attribute": "value"
|
|
104229
104054
|
},
|
|
104230
104055
|
{
|
|
104231
104056
|
"kind": "field",
|
|
104232
|
-
"name": "
|
|
104057
|
+
"name": "type",
|
|
104058
|
+
"privacy": "public",
|
|
104059
|
+
"description": "The type attribute to use for the button.",
|
|
104060
|
+
"default": "'button'",
|
|
104233
104061
|
"type": {
|
|
104234
|
-
"text": "
|
|
104062
|
+
"text": "SbbButtonType"
|
|
104235
104063
|
},
|
|
104236
|
-
"
|
|
104237
|
-
"default": "!!this.shadowRoot",
|
|
104064
|
+
"attribute": "type",
|
|
104238
104065
|
"inheritedFrom": {
|
|
104239
|
-
"name": "
|
|
104240
|
-
"module": "core/
|
|
104066
|
+
"name": "SbbButtonBaseElement",
|
|
104067
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104241
104068
|
}
|
|
104242
104069
|
},
|
|
104243
104070
|
{
|
|
104244
104071
|
"kind": "field",
|
|
104245
|
-
"name": "
|
|
104246
|
-
"
|
|
104247
|
-
|
|
104072
|
+
"name": "form",
|
|
104073
|
+
"type": {
|
|
104074
|
+
"text": "HTMLFormElement | null"
|
|
104075
|
+
},
|
|
104076
|
+
"privacy": "public",
|
|
104077
|
+
"description": "The `<form>` element to associate the button with.",
|
|
104248
104078
|
"inheritedFrom": {
|
|
104249
|
-
"name": "
|
|
104250
|
-
"module": "core/
|
|
104251
|
-
}
|
|
104079
|
+
"name": "SbbButtonBaseElement",
|
|
104080
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104081
|
+
},
|
|
104082
|
+
"attribute": "form"
|
|
104252
104083
|
},
|
|
104253
104084
|
{
|
|
104254
104085
|
"kind": "field",
|
|
104255
|
-
"name": "
|
|
104086
|
+
"name": "_formId",
|
|
104256
104087
|
"type": {
|
|
104257
|
-
"text": "
|
|
104088
|
+
"text": "string"
|
|
104258
104089
|
},
|
|
104259
104090
|
"privacy": "private",
|
|
104091
|
+
"default": "''",
|
|
104260
104092
|
"inheritedFrom": {
|
|
104261
|
-
"name": "
|
|
104262
|
-
"module": "core/
|
|
104093
|
+
"name": "SbbButtonBaseElement",
|
|
104094
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104263
104095
|
}
|
|
104264
104096
|
},
|
|
104265
104097
|
{
|
|
104266
104098
|
"kind": "field",
|
|
104267
|
-
"name": "
|
|
104268
|
-
"
|
|
104269
|
-
"text": "boolean"
|
|
104270
|
-
},
|
|
104271
|
-
"privacy": "protected",
|
|
104272
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
104273
|
-
"readonly": true,
|
|
104099
|
+
"name": "_handleButtonClick",
|
|
104100
|
+
"privacy": "private",
|
|
104274
104101
|
"inheritedFrom": {
|
|
104275
|
-
"name": "
|
|
104276
|
-
"module": "core/
|
|
104277
|
-
}
|
|
104278
|
-
"default": "!!this.shadowRoot"
|
|
104102
|
+
"name": "SbbButtonBaseElement",
|
|
104103
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104104
|
+
}
|
|
104279
104105
|
},
|
|
104280
104106
|
{
|
|
104281
104107
|
"kind": "method",
|
|
104282
|
-
"name": "
|
|
104283
|
-
"privacy": "
|
|
104108
|
+
"name": "_requestSubmit",
|
|
104109
|
+
"privacy": "private",
|
|
104284
104110
|
"return": {
|
|
104285
104111
|
"type": {
|
|
104286
104112
|
"text": "void"
|
|
@@ -104288,654 +104114,892 @@
|
|
|
104288
104114
|
},
|
|
104289
104115
|
"parameters": [
|
|
104290
104116
|
{
|
|
104291
|
-
"name": "
|
|
104292
|
-
"type": {
|
|
104293
|
-
"text": "string"
|
|
104294
|
-
}
|
|
104295
|
-
},
|
|
104296
|
-
{
|
|
104297
|
-
"name": "force",
|
|
104298
|
-
"optional": true,
|
|
104117
|
+
"name": "form",
|
|
104299
104118
|
"type": {
|
|
104300
|
-
"text": "
|
|
104119
|
+
"text": "HTMLFormElement"
|
|
104301
104120
|
}
|
|
104302
104121
|
}
|
|
104303
104122
|
],
|
|
104304
104123
|
"inheritedFrom": {
|
|
104305
|
-
"name": "
|
|
104306
|
-
"module": "core/
|
|
104124
|
+
"name": "SbbButtonBaseElement",
|
|
104125
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104307
104126
|
}
|
|
104308
|
-
}
|
|
104309
|
-
],
|
|
104310
|
-
"events": [
|
|
104127
|
+
},
|
|
104311
104128
|
{
|
|
104312
|
-
"
|
|
104313
|
-
|
|
104314
|
-
|
|
104315
|
-
"
|
|
104316
|
-
|
|
104317
|
-
|
|
104318
|
-
|
|
104319
|
-
|
|
104129
|
+
"kind": "field",
|
|
104130
|
+
"name": "_formKeyDown",
|
|
104131
|
+
"privacy": "private",
|
|
104132
|
+
"inheritedFrom": {
|
|
104133
|
+
"name": "SbbButtonBaseElement",
|
|
104134
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104135
|
+
}
|
|
104136
|
+
},
|
|
104320
104137
|
{
|
|
104321
|
-
"
|
|
104138
|
+
"kind": "field",
|
|
104139
|
+
"name": "formAssociated",
|
|
104322
104140
|
"type": {
|
|
104323
104141
|
"text": "boolean"
|
|
104324
104142
|
},
|
|
104325
|
-
"
|
|
104326
|
-
"
|
|
104327
|
-
"
|
|
104143
|
+
"privacy": "public",
|
|
104144
|
+
"static": true,
|
|
104145
|
+
"default": "true",
|
|
104146
|
+
"inheritedFrom": {
|
|
104147
|
+
"name": "SbbFormAssociatedMixin",
|
|
104148
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104149
|
+
}
|
|
104328
104150
|
},
|
|
104329
104151
|
{
|
|
104330
|
-
"
|
|
104331
|
-
"
|
|
104332
|
-
"
|
|
104333
|
-
|
|
104334
|
-
},
|
|
104335
|
-
"fieldName": "horizontalFrom"
|
|
104336
|
-
},
|
|
104337
|
-
{
|
|
104338
|
-
"name": "orientation",
|
|
104339
|
-
"type": {
|
|
104340
|
-
"text": "SbbOrientation"
|
|
104341
|
-
},
|
|
104342
|
-
"default": "'horizontal'",
|
|
104343
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
104344
|
-
"fieldName": "orientation"
|
|
104345
|
-
},
|
|
104346
|
-
{
|
|
104347
|
-
"name": "size",
|
|
104152
|
+
"kind": "field",
|
|
104153
|
+
"name": "name",
|
|
104154
|
+
"privacy": "public",
|
|
104155
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
104348
104156
|
"type": {
|
|
104349
|
-
"text": "
|
|
104157
|
+
"text": "string"
|
|
104350
104158
|
},
|
|
104351
|
-
"
|
|
104352
|
-
"
|
|
104353
|
-
|
|
104159
|
+
"attribute": "name",
|
|
104160
|
+
"inheritedFrom": {
|
|
104161
|
+
"name": "SbbFormAssociatedMixin",
|
|
104162
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104163
|
+
}
|
|
104354
104164
|
},
|
|
104355
104165
|
{
|
|
104356
|
-
"
|
|
104357
|
-
"
|
|
104166
|
+
"kind": "field",
|
|
104167
|
+
"name": "validity",
|
|
104358
104168
|
"type": {
|
|
104359
|
-
"text": "
|
|
104169
|
+
"text": "ValidityState"
|
|
104360
104170
|
},
|
|
104361
|
-
"
|
|
104362
|
-
|
|
104363
|
-
|
|
104364
|
-
|
|
104365
|
-
|
|
104366
|
-
|
|
104367
|
-
|
|
104368
|
-
},
|
|
104369
|
-
{
|
|
104370
|
-
"name": "SbbElementInternalsMixin",
|
|
104371
|
-
"module": "core/mixins.js"
|
|
104372
|
-
}
|
|
104373
|
-
],
|
|
104374
|
-
"superclass": {
|
|
104375
|
-
"name": "LitElement",
|
|
104376
|
-
"package": "lit"
|
|
104377
|
-
},
|
|
104378
|
-
"tagName": "sbb-stepper",
|
|
104379
|
-
"customElement": true
|
|
104380
|
-
},
|
|
104381
|
-
{
|
|
104382
|
-
"kind": "variable",
|
|
104383
|
-
"name": "currentIndex"
|
|
104384
|
-
},
|
|
104385
|
-
{
|
|
104386
|
-
"kind": "variable",
|
|
104387
|
-
"name": "currentStep"
|
|
104388
|
-
}
|
|
104389
|
-
],
|
|
104390
|
-
"exports": [
|
|
104391
|
-
{
|
|
104392
|
-
"kind": "js",
|
|
104393
|
-
"name": "SbbStepChangeEvent",
|
|
104394
|
-
"declaration": {
|
|
104395
|
-
"name": "SbbStepChangeEvent",
|
|
104396
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104397
|
-
}
|
|
104398
|
-
},
|
|
104399
|
-
{
|
|
104400
|
-
"kind": "js",
|
|
104401
|
-
"name": "SbbStepperElement",
|
|
104402
|
-
"declaration": {
|
|
104403
|
-
"name": "SbbStepperElement",
|
|
104404
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104405
|
-
}
|
|
104406
|
-
},
|
|
104407
|
-
{
|
|
104408
|
-
"kind": "custom-element-definition",
|
|
104409
|
-
"name": "sbb-stepper",
|
|
104410
|
-
"declaration": {
|
|
104411
|
-
"name": "SbbStepperElement",
|
|
104412
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104413
|
-
}
|
|
104414
|
-
}
|
|
104415
|
-
]
|
|
104416
|
-
},
|
|
104417
|
-
{
|
|
104418
|
-
"kind": "javascript-module",
|
|
104419
|
-
"path": "stepper/step-label/step-label.component.js",
|
|
104420
|
-
"declarations": [
|
|
104421
|
-
{
|
|
104422
|
-
"kind": "class",
|
|
104423
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
104424
|
-
"name": "SbbStepLabelElement",
|
|
104425
|
-
"slots": [
|
|
104426
|
-
{
|
|
104427
|
-
"description": "Use the unnamed slot to provide a label.",
|
|
104428
|
-
"name": ""
|
|
104171
|
+
"privacy": "public",
|
|
104172
|
+
"description": "Returns the ValidityState object for this element.",
|
|
104173
|
+
"readonly": true,
|
|
104174
|
+
"inheritedFrom": {
|
|
104175
|
+
"name": "SbbFormAssociatedMixin",
|
|
104176
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104177
|
+
}
|
|
104429
104178
|
},
|
|
104430
|
-
{
|
|
104431
|
-
"description": "Use this to display an icon in the label bubble.",
|
|
104432
|
-
"name": "icon"
|
|
104433
|
-
}
|
|
104434
|
-
],
|
|
104435
|
-
"members": [
|
|
104436
104179
|
{
|
|
104437
104180
|
"kind": "field",
|
|
104438
|
-
"name": "
|
|
104181
|
+
"name": "validationMessage",
|
|
104439
104182
|
"type": {
|
|
104440
104183
|
"text": "string"
|
|
104441
104184
|
},
|
|
104442
104185
|
"privacy": "public",
|
|
104443
|
-
"
|
|
104186
|
+
"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.",
|
|
104444
104187
|
"readonly": true,
|
|
104445
|
-
"default": "'tab'",
|
|
104446
104188
|
"inheritedFrom": {
|
|
104447
|
-
"name": "
|
|
104448
|
-
"module": "core/
|
|
104189
|
+
"name": "SbbFormAssociatedMixin",
|
|
104190
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104449
104191
|
}
|
|
104450
104192
|
},
|
|
104451
104193
|
{
|
|
104452
104194
|
"kind": "field",
|
|
104453
|
-
"name": "
|
|
104195
|
+
"name": "willValidate",
|
|
104454
104196
|
"type": {
|
|
104455
|
-
"text": "
|
|
104197
|
+
"text": "boolean"
|
|
104456
104198
|
},
|
|
104457
104199
|
"privacy": "public",
|
|
104458
|
-
"description": "
|
|
104200
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
104459
104201
|
"readonly": true,
|
|
104460
|
-
"
|
|
104202
|
+
"inheritedFrom": {
|
|
104203
|
+
"name": "SbbFormAssociatedMixin",
|
|
104204
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104205
|
+
}
|
|
104461
104206
|
},
|
|
104462
104207
|
{
|
|
104463
104208
|
"kind": "field",
|
|
104464
|
-
"name": "
|
|
104465
|
-
"type": {
|
|
104466
|
-
"text": "SbbStepElement | null"
|
|
104467
|
-
},
|
|
104209
|
+
"name": "_validityStates",
|
|
104468
104210
|
"privacy": "private",
|
|
104469
|
-
"default": "
|
|
104470
|
-
|
|
104471
|
-
|
|
104472
|
-
|
|
104473
|
-
|
|
104474
|
-
"type": {
|
|
104475
|
-
"text": "SbbStepperElement | null"
|
|
104476
|
-
},
|
|
104477
|
-
"privacy": "public",
|
|
104478
|
-
"readonly": true
|
|
104211
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
104212
|
+
"inheritedFrom": {
|
|
104213
|
+
"name": "SbbFormAssociatedMixin",
|
|
104214
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104215
|
+
}
|
|
104479
104216
|
},
|
|
104480
104217
|
{
|
|
104481
104218
|
"kind": "field",
|
|
104482
|
-
"name": "
|
|
104483
|
-
"privacy": "public",
|
|
104484
|
-
"description": "Whether the component is disabled.",
|
|
104485
|
-
"default": "false",
|
|
104219
|
+
"name": "formDisabled",
|
|
104486
104220
|
"type": {
|
|
104487
104221
|
"text": "boolean"
|
|
104488
104222
|
},
|
|
104489
|
-
"
|
|
104490
|
-
"
|
|
104223
|
+
"privacy": "protected",
|
|
104224
|
+
"default": "false",
|
|
104225
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
104491
104226
|
"inheritedFrom": {
|
|
104492
|
-
"name": "
|
|
104493
|
-
"module": "core/mixins/
|
|
104227
|
+
"name": "SbbFormAssociatedMixin",
|
|
104228
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104494
104229
|
}
|
|
104495
104230
|
},
|
|
104496
104231
|
{
|
|
104497
|
-
"kind": "
|
|
104498
|
-
"name": "
|
|
104499
|
-
"
|
|
104500
|
-
|
|
104232
|
+
"kind": "method",
|
|
104233
|
+
"name": "checkValidity",
|
|
104234
|
+
"privacy": "public",
|
|
104235
|
+
"return": {
|
|
104236
|
+
"type": {
|
|
104237
|
+
"text": "boolean"
|
|
104238
|
+
}
|
|
104501
104239
|
},
|
|
104502
|
-
"
|
|
104240
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
104241
|
+
"inheritedFrom": {
|
|
104242
|
+
"name": "SbbFormAssociatedMixin",
|
|
104243
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104244
|
+
}
|
|
104503
104245
|
},
|
|
104504
104246
|
{
|
|
104505
|
-
"kind": "
|
|
104506
|
-
"name": "
|
|
104507
|
-
"
|
|
104508
|
-
|
|
104247
|
+
"kind": "method",
|
|
104248
|
+
"name": "reportValidity",
|
|
104249
|
+
"privacy": "public",
|
|
104250
|
+
"return": {
|
|
104251
|
+
"type": {
|
|
104252
|
+
"text": "boolean"
|
|
104253
|
+
}
|
|
104509
104254
|
},
|
|
104510
|
-
"
|
|
104255
|
+
"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.",
|
|
104256
|
+
"inheritedFrom": {
|
|
104257
|
+
"name": "SbbFormAssociatedMixin",
|
|
104258
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104259
|
+
}
|
|
104511
104260
|
},
|
|
104512
104261
|
{
|
|
104513
104262
|
"kind": "method",
|
|
104514
|
-
"name": "
|
|
104515
|
-
"privacy": "
|
|
104263
|
+
"name": "setCustomValidity",
|
|
104264
|
+
"privacy": "public",
|
|
104516
104265
|
"return": {
|
|
104517
104266
|
"type": {
|
|
104518
|
-
"text": "
|
|
104267
|
+
"text": "void"
|
|
104519
104268
|
}
|
|
104520
104269
|
},
|
|
104521
104270
|
"parameters": [
|
|
104522
104271
|
{
|
|
104523
|
-
"name": "
|
|
104272
|
+
"name": "message",
|
|
104524
104273
|
"type": {
|
|
104525
|
-
"text": "
|
|
104274
|
+
"text": "string"
|
|
104526
104275
|
}
|
|
104527
104276
|
}
|
|
104528
|
-
]
|
|
104277
|
+
],
|
|
104278
|
+
"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.",
|
|
104279
|
+
"inheritedFrom": {
|
|
104280
|
+
"name": "SbbFormAssociatedMixin",
|
|
104281
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104282
|
+
}
|
|
104529
104283
|
},
|
|
104530
104284
|
{
|
|
104531
104285
|
"kind": "method",
|
|
104532
|
-
"name": "
|
|
104286
|
+
"name": "_hasDisabledAncestor",
|
|
104533
104287
|
"privacy": "private",
|
|
104288
|
+
"return": {
|
|
104289
|
+
"type": {
|
|
104290
|
+
"text": "boolean"
|
|
104291
|
+
}
|
|
104292
|
+
},
|
|
104293
|
+
"inheritedFrom": {
|
|
104294
|
+
"name": "SbbFormAssociatedMixin",
|
|
104295
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104296
|
+
}
|
|
104297
|
+
},
|
|
104298
|
+
{
|
|
104299
|
+
"kind": "method",
|
|
104300
|
+
"name": "updateFormValue",
|
|
104301
|
+
"privacy": "protected",
|
|
104534
104302
|
"return": {
|
|
104535
104303
|
"type": {
|
|
104536
104304
|
"text": "void"
|
|
104537
104305
|
}
|
|
104306
|
+
},
|
|
104307
|
+
"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",
|
|
104308
|
+
"inheritedFrom": {
|
|
104309
|
+
"name": "SbbFormAssociatedMixin",
|
|
104310
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104538
104311
|
}
|
|
104539
104312
|
},
|
|
104540
104313
|
{
|
|
104541
|
-
"kind": "
|
|
104542
|
-
"name": "
|
|
104543
|
-
"
|
|
104544
|
-
|
|
104314
|
+
"kind": "method",
|
|
104315
|
+
"name": "formState",
|
|
104316
|
+
"privacy": "protected",
|
|
104317
|
+
"return": {
|
|
104318
|
+
"type": {
|
|
104319
|
+
"text": "FormRestoreState"
|
|
104320
|
+
}
|
|
104545
104321
|
},
|
|
104546
|
-
"privacy": "public",
|
|
104547
|
-
"default": "''",
|
|
104548
|
-
"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.",
|
|
104549
|
-
"attribute": "icon-name",
|
|
104550
104322
|
"inheritedFrom": {
|
|
104551
|
-
"name": "
|
|
104552
|
-
"module": "
|
|
104323
|
+
"name": "SbbFormAssociatedMixin",
|
|
104324
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104553
104325
|
}
|
|
104554
104326
|
},
|
|
104555
104327
|
{
|
|
104556
104328
|
"kind": "method",
|
|
104557
|
-
"name": "
|
|
104329
|
+
"name": "setValidityFlag",
|
|
104558
104330
|
"privacy": "protected",
|
|
104559
104331
|
"return": {
|
|
104560
104332
|
"type": {
|
|
104561
|
-
"text": "
|
|
104333
|
+
"text": "void"
|
|
104562
104334
|
}
|
|
104563
104335
|
},
|
|
104564
104336
|
"parameters": [
|
|
104565
104337
|
{
|
|
104566
|
-
"name": "
|
|
104567
|
-
"
|
|
104338
|
+
"name": "flag",
|
|
104339
|
+
"type": {
|
|
104340
|
+
"text": "T"
|
|
104341
|
+
}
|
|
104342
|
+
},
|
|
104343
|
+
{
|
|
104344
|
+
"name": "message",
|
|
104568
104345
|
"type": {
|
|
104569
104346
|
"text": "string"
|
|
104570
104347
|
}
|
|
104348
|
+
},
|
|
104349
|
+
{
|
|
104350
|
+
"name": "flagValue",
|
|
104351
|
+
"optional": true,
|
|
104352
|
+
"type": {
|
|
104353
|
+
"text": "ValidityStateFlags[T]"
|
|
104354
|
+
}
|
|
104571
104355
|
}
|
|
104572
104356
|
],
|
|
104357
|
+
"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).",
|
|
104573
104358
|
"inheritedFrom": {
|
|
104574
|
-
"name": "
|
|
104575
|
-
"module": "
|
|
104359
|
+
"name": "SbbFormAssociatedMixin",
|
|
104360
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104576
104361
|
}
|
|
104577
104362
|
},
|
|
104578
104363
|
{
|
|
104579
104364
|
"kind": "method",
|
|
104580
|
-
"name": "
|
|
104365
|
+
"name": "removeValidityFlag",
|
|
104581
104366
|
"privacy": "protected",
|
|
104582
104367
|
"return": {
|
|
104583
104368
|
"type": {
|
|
104584
|
-
"text": "
|
|
104369
|
+
"text": "void"
|
|
104585
104370
|
}
|
|
104586
104371
|
},
|
|
104372
|
+
"parameters": [
|
|
104373
|
+
{
|
|
104374
|
+
"name": "flag",
|
|
104375
|
+
"type": {
|
|
104376
|
+
"text": "T"
|
|
104377
|
+
}
|
|
104378
|
+
}
|
|
104379
|
+
],
|
|
104380
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
104587
104381
|
"inheritedFrom": {
|
|
104588
|
-
"name": "
|
|
104589
|
-
"module": "
|
|
104382
|
+
"name": "SbbFormAssociatedMixin",
|
|
104383
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104590
104384
|
}
|
|
104591
104385
|
},
|
|
104592
104386
|
{
|
|
104593
104387
|
"kind": "method",
|
|
104594
|
-
"name": "
|
|
104388
|
+
"name": "validate",
|
|
104389
|
+
"privacy": "protected",
|
|
104390
|
+
"return": {
|
|
104391
|
+
"type": {
|
|
104392
|
+
"text": "void"
|
|
104393
|
+
}
|
|
104394
|
+
},
|
|
104395
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
104396
|
+
"inheritedFrom": {
|
|
104397
|
+
"name": "SbbFormAssociatedMixin",
|
|
104398
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104399
|
+
}
|
|
104400
|
+
},
|
|
104401
|
+
{
|
|
104402
|
+
"kind": "method",
|
|
104403
|
+
"name": "shouldValidate",
|
|
104404
|
+
"privacy": "protected",
|
|
104405
|
+
"return": {
|
|
104406
|
+
"type": {
|
|
104407
|
+
"text": "boolean"
|
|
104408
|
+
}
|
|
104409
|
+
},
|
|
104410
|
+
"parameters": [
|
|
104411
|
+
{
|
|
104412
|
+
"name": "name",
|
|
104413
|
+
"type": {
|
|
104414
|
+
"text": "PropertyKey | undefined"
|
|
104415
|
+
}
|
|
104416
|
+
}
|
|
104417
|
+
],
|
|
104418
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
104419
|
+
"inheritedFrom": {
|
|
104420
|
+
"name": "SbbFormAssociatedMixin",
|
|
104421
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104422
|
+
}
|
|
104423
|
+
},
|
|
104424
|
+
{
|
|
104425
|
+
"kind": "method",
|
|
104426
|
+
"name": "_setInternalValidity",
|
|
104595
104427
|
"privacy": "private",
|
|
104596
104428
|
"return": {
|
|
104597
104429
|
"type": {
|
|
104598
|
-
"text": "
|
|
104430
|
+
"text": "void"
|
|
104599
104431
|
}
|
|
104600
104432
|
},
|
|
104601
104433
|
"inheritedFrom": {
|
|
104602
|
-
"name": "
|
|
104603
|
-
"module": "
|
|
104434
|
+
"name": "SbbFormAssociatedMixin",
|
|
104435
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104604
104436
|
}
|
|
104605
104437
|
},
|
|
104606
104438
|
{
|
|
104607
104439
|
"kind": "field",
|
|
104608
|
-
"name": "
|
|
104440
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
104609
104441
|
"privacy": "private",
|
|
104610
|
-
"
|
|
104611
|
-
|
|
104612
|
-
|
|
104613
|
-
|
|
104442
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
104443
|
+
"parameters": [
|
|
104444
|
+
{
|
|
104445
|
+
"description": "The origin event.",
|
|
104446
|
+
"name": "event"
|
|
104447
|
+
}
|
|
104448
|
+
],
|
|
104614
104449
|
"inheritedFrom": {
|
|
104615
|
-
"name": "
|
|
104616
|
-
"module": "core/
|
|
104450
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104451
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104452
|
+
}
|
|
104453
|
+
},
|
|
104454
|
+
{
|
|
104455
|
+
"kind": "field",
|
|
104456
|
+
"name": "_removeActiveMarker",
|
|
104457
|
+
"privacy": "private",
|
|
104458
|
+
"inheritedFrom": {
|
|
104459
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104460
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104461
|
+
}
|
|
104462
|
+
},
|
|
104463
|
+
{
|
|
104464
|
+
"kind": "field",
|
|
104465
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
104466
|
+
"privacy": "private",
|
|
104467
|
+
"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.",
|
|
104468
|
+
"parameters": [
|
|
104469
|
+
{
|
|
104470
|
+
"description": "The origin event.",
|
|
104471
|
+
"name": "event"
|
|
104472
|
+
}
|
|
104473
|
+
],
|
|
104474
|
+
"inheritedFrom": {
|
|
104475
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104476
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104477
|
+
}
|
|
104478
|
+
},
|
|
104479
|
+
{
|
|
104480
|
+
"kind": "field",
|
|
104481
|
+
"name": "_dispatchClickEvent",
|
|
104482
|
+
"privacy": "private",
|
|
104483
|
+
"inheritedFrom": {
|
|
104484
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104485
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104617
104486
|
}
|
|
104618
104487
|
},
|
|
104619
104488
|
{
|
|
104620
104489
|
"kind": "method",
|
|
104621
|
-
"name": "
|
|
104490
|
+
"name": "toggleState",
|
|
104622
104491
|
"privacy": "protected",
|
|
104623
104492
|
"return": {
|
|
104624
104493
|
"type": {
|
|
104625
|
-
"text": "
|
|
104494
|
+
"text": "void"
|
|
104626
104495
|
}
|
|
104627
104496
|
},
|
|
104628
|
-
"
|
|
104497
|
+
"parameters": [
|
|
104498
|
+
{
|
|
104499
|
+
"name": "value",
|
|
104500
|
+
"type": {
|
|
104501
|
+
"text": "string"
|
|
104502
|
+
}
|
|
104503
|
+
},
|
|
104504
|
+
{
|
|
104505
|
+
"name": "force",
|
|
104506
|
+
"optional": true,
|
|
104507
|
+
"type": {
|
|
104508
|
+
"text": "boolean"
|
|
104509
|
+
}
|
|
104510
|
+
}
|
|
104511
|
+
],
|
|
104629
104512
|
"inheritedFrom": {
|
|
104630
|
-
"name": "
|
|
104631
|
-
"module": "core/
|
|
104513
|
+
"name": "SbbActionBaseElement",
|
|
104514
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104632
104515
|
}
|
|
104633
104516
|
},
|
|
104634
104517
|
{
|
|
104635
104518
|
"kind": "field",
|
|
104636
|
-
"name": "
|
|
104519
|
+
"name": "maybeDisabled",
|
|
104637
104520
|
"type": {
|
|
104638
|
-
"text": "
|
|
104521
|
+
"text": "boolean | undefined"
|
|
104639
104522
|
},
|
|
104640
|
-
"privacy": "
|
|
104523
|
+
"privacy": "protected",
|
|
104641
104524
|
"readonly": true,
|
|
104642
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
104643
104525
|
"inheritedFrom": {
|
|
104644
|
-
"name": "
|
|
104645
|
-
"module": "core/base-elements/
|
|
104526
|
+
"name": "SbbActionBaseElement",
|
|
104527
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104646
104528
|
}
|
|
104647
104529
|
},
|
|
104648
104530
|
{
|
|
104649
104531
|
"kind": "field",
|
|
104650
|
-
"name": "
|
|
104532
|
+
"name": "maybeDisabledInteractive",
|
|
104533
|
+
"type": {
|
|
104534
|
+
"text": "boolean | undefined"
|
|
104535
|
+
},
|
|
104536
|
+
"privacy": "protected",
|
|
104537
|
+
"readonly": true,
|
|
104538
|
+
"inheritedFrom": {
|
|
104539
|
+
"name": "SbbActionBaseElement",
|
|
104540
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104541
|
+
}
|
|
104542
|
+
},
|
|
104543
|
+
{
|
|
104544
|
+
"kind": "method",
|
|
104545
|
+
"name": "setupBaseEventHandlers",
|
|
104546
|
+
"privacy": "protected",
|
|
104547
|
+
"return": {
|
|
104548
|
+
"type": {
|
|
104549
|
+
"text": "void"
|
|
104550
|
+
}
|
|
104551
|
+
},
|
|
104552
|
+
"inheritedFrom": {
|
|
104553
|
+
"name": "SbbActionBaseElement",
|
|
104554
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104555
|
+
}
|
|
104556
|
+
},
|
|
104557
|
+
{
|
|
104558
|
+
"kind": "method",
|
|
104559
|
+
"name": "renderTemplate",
|
|
104560
|
+
"privacy": "protected",
|
|
104561
|
+
"return": {
|
|
104562
|
+
"type": {
|
|
104563
|
+
"text": "TemplateResult"
|
|
104564
|
+
}
|
|
104565
|
+
},
|
|
104566
|
+
"description": "Override this method to render the component template.",
|
|
104567
|
+
"inheritedFrom": {
|
|
104568
|
+
"name": "SbbActionBaseElement",
|
|
104569
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104570
|
+
}
|
|
104571
|
+
}
|
|
104572
|
+
],
|
|
104573
|
+
"mixins": [
|
|
104574
|
+
{
|
|
104575
|
+
"name": "SbbIconNameMixin",
|
|
104576
|
+
"module": "icon.js"
|
|
104577
|
+
},
|
|
104578
|
+
{
|
|
104579
|
+
"name": "SbbDisabledMixin",
|
|
104580
|
+
"module": "core/mixins.js"
|
|
104581
|
+
}
|
|
104582
|
+
],
|
|
104583
|
+
"superclass": {
|
|
104584
|
+
"name": "SbbButtonBaseElement",
|
|
104585
|
+
"module": "core/base-elements.js"
|
|
104586
|
+
},
|
|
104587
|
+
"tagName": "sbb-step-label",
|
|
104588
|
+
"customElement": true,
|
|
104589
|
+
"attributes": [
|
|
104590
|
+
{
|
|
104591
|
+
"name": "icon-name",
|
|
104651
104592
|
"type": {
|
|
104652
104593
|
"text": "string"
|
|
104653
104594
|
},
|
|
104654
|
-
"
|
|
104595
|
+
"default": "''",
|
|
104596
|
+
"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.",
|
|
104597
|
+
"fieldName": "iconName",
|
|
104655
104598
|
"inheritedFrom": {
|
|
104656
|
-
"name": "
|
|
104657
|
-
"module": "
|
|
104599
|
+
"name": "SbbIconNameMixin",
|
|
104600
|
+
"module": "icon/icon-name-mixin.js"
|
|
104601
|
+
}
|
|
104602
|
+
},
|
|
104603
|
+
{
|
|
104604
|
+
"name": "disabled",
|
|
104605
|
+
"description": "Whether the component is disabled.",
|
|
104606
|
+
"default": "false",
|
|
104607
|
+
"type": {
|
|
104608
|
+
"text": "boolean"
|
|
104609
|
+
},
|
|
104610
|
+
"fieldName": "disabled",
|
|
104611
|
+
"inheritedFrom": {
|
|
104612
|
+
"name": "SbbDisabledMixin",
|
|
104613
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104614
|
+
}
|
|
104615
|
+
},
|
|
104616
|
+
{
|
|
104617
|
+
"name": "value",
|
|
104618
|
+
"type": {
|
|
104619
|
+
"text": "string"
|
|
104658
104620
|
},
|
|
104659
104621
|
"default": "''",
|
|
104660
104622
|
"description": "Value of the form element.",
|
|
104661
|
-
"
|
|
104623
|
+
"fieldName": "value",
|
|
104624
|
+
"inheritedFrom": {
|
|
104625
|
+
"name": "SbbButtonBaseElement",
|
|
104626
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104627
|
+
}
|
|
104662
104628
|
},
|
|
104663
104629
|
{
|
|
104664
|
-
"kind": "field",
|
|
104665
104630
|
"name": "type",
|
|
104666
|
-
"privacy": "public",
|
|
104667
104631
|
"description": "The type attribute to use for the button.",
|
|
104668
104632
|
"default": "'button'",
|
|
104669
104633
|
"type": {
|
|
104670
104634
|
"text": "SbbButtonType"
|
|
104671
104635
|
},
|
|
104672
|
-
"
|
|
104636
|
+
"fieldName": "type",
|
|
104673
104637
|
"inheritedFrom": {
|
|
104674
104638
|
"name": "SbbButtonBaseElement",
|
|
104675
104639
|
"module": "core/base-elements/button-base-element.js"
|
|
104676
104640
|
}
|
|
104677
104641
|
},
|
|
104678
104642
|
{
|
|
104679
|
-
"kind": "field",
|
|
104680
104643
|
"name": "form",
|
|
104644
|
+
"description": "The `<form>` element to associate the button with.",
|
|
104681
104645
|
"type": {
|
|
104682
104646
|
"text": "HTMLFormElement | null"
|
|
104683
104647
|
},
|
|
104684
|
-
"
|
|
104685
|
-
"description": "The `<form>` element to associate the button with.",
|
|
104648
|
+
"fieldName": "form",
|
|
104686
104649
|
"inheritedFrom": {
|
|
104687
104650
|
"name": "SbbButtonBaseElement",
|
|
104688
104651
|
"module": "core/base-elements/button-base-element.js"
|
|
104689
|
-
}
|
|
104690
|
-
"attribute": "form"
|
|
104652
|
+
}
|
|
104691
104653
|
},
|
|
104692
104654
|
{
|
|
104693
|
-
"
|
|
104694
|
-
"
|
|
104655
|
+
"name": "name",
|
|
104656
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
104695
104657
|
"type": {
|
|
104696
104658
|
"text": "string"
|
|
104697
104659
|
},
|
|
104698
|
-
"
|
|
104699
|
-
"default": "''",
|
|
104660
|
+
"fieldName": "name",
|
|
104700
104661
|
"inheritedFrom": {
|
|
104701
|
-
"name": "
|
|
104702
|
-
"module": "core/
|
|
104662
|
+
"name": "SbbFormAssociatedMixin",
|
|
104663
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104703
104664
|
}
|
|
104665
|
+
}
|
|
104666
|
+
]
|
|
104667
|
+
}
|
|
104668
|
+
],
|
|
104669
|
+
"exports": [
|
|
104670
|
+
{
|
|
104671
|
+
"kind": "js",
|
|
104672
|
+
"name": "SbbStepLabelElement",
|
|
104673
|
+
"declaration": {
|
|
104674
|
+
"name": "SbbStepLabelElement",
|
|
104675
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
104676
|
+
}
|
|
104677
|
+
},
|
|
104678
|
+
{
|
|
104679
|
+
"kind": "custom-element-definition",
|
|
104680
|
+
"name": "sbb-step-label",
|
|
104681
|
+
"declaration": {
|
|
104682
|
+
"name": "SbbStepLabelElement",
|
|
104683
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
104684
|
+
}
|
|
104685
|
+
}
|
|
104686
|
+
]
|
|
104687
|
+
},
|
|
104688
|
+
{
|
|
104689
|
+
"kind": "javascript-module",
|
|
104690
|
+
"path": "stepper/stepper/stepper.component.js",
|
|
104691
|
+
"declarations": [
|
|
104692
|
+
{
|
|
104693
|
+
"kind": "class",
|
|
104694
|
+
"description": "",
|
|
104695
|
+
"name": "SbbStepChangeEvent",
|
|
104696
|
+
"members": [
|
|
104697
|
+
{
|
|
104698
|
+
"kind": "field",
|
|
104699
|
+
"name": "selectedIndex",
|
|
104700
|
+
"type": {
|
|
104701
|
+
"text": "number | null"
|
|
104702
|
+
},
|
|
104703
|
+
"privacy": "public",
|
|
104704
|
+
"readonly": true,
|
|
104705
|
+
"description": "The index of the newly selected step.",
|
|
104706
|
+
"default": "selectedIndex"
|
|
104704
104707
|
},
|
|
104705
104708
|
{
|
|
104706
104709
|
"kind": "field",
|
|
104707
|
-
"name": "
|
|
104708
|
-
"
|
|
104709
|
-
|
|
104710
|
-
|
|
104711
|
-
|
|
104712
|
-
|
|
104710
|
+
"name": "previousIndex",
|
|
104711
|
+
"type": {
|
|
104712
|
+
"text": "number | null"
|
|
104713
|
+
},
|
|
104714
|
+
"privacy": "public",
|
|
104715
|
+
"readonly": true,
|
|
104716
|
+
"description": "The index of the previously selected step.",
|
|
104717
|
+
"default": "previousIndex"
|
|
104713
104718
|
},
|
|
104714
104719
|
{
|
|
104715
|
-
"kind": "
|
|
104716
|
-
"name": "
|
|
104717
|
-
"
|
|
104718
|
-
|
|
104719
|
-
"type": {
|
|
104720
|
-
"text": "void"
|
|
104721
|
-
}
|
|
104720
|
+
"kind": "field",
|
|
104721
|
+
"name": "selectedStep",
|
|
104722
|
+
"type": {
|
|
104723
|
+
"text": "SbbStepElement | null"
|
|
104722
104724
|
},
|
|
104723
|
-
"
|
|
104724
|
-
|
|
104725
|
-
|
|
104726
|
-
|
|
104727
|
-
|
|
104728
|
-
|
|
104729
|
-
|
|
104730
|
-
|
|
104731
|
-
"
|
|
104732
|
-
"
|
|
104733
|
-
|
|
104725
|
+
"privacy": "public",
|
|
104726
|
+
"readonly": true,
|
|
104727
|
+
"description": "The newly selected step element.",
|
|
104728
|
+
"default": "selectedStep"
|
|
104729
|
+
},
|
|
104730
|
+
{
|
|
104731
|
+
"kind": "field",
|
|
104732
|
+
"name": "previousStep",
|
|
104733
|
+
"type": {
|
|
104734
|
+
"text": "SbbStepElement | null"
|
|
104735
|
+
},
|
|
104736
|
+
"privacy": "public",
|
|
104737
|
+
"readonly": true,
|
|
104738
|
+
"description": "The previously selected step element.",
|
|
104739
|
+
"default": "previousStep"
|
|
104740
|
+
}
|
|
104741
|
+
],
|
|
104742
|
+
"superclass": {
|
|
104743
|
+
"name": "Event",
|
|
104744
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
104745
|
+
}
|
|
104746
|
+
},
|
|
104747
|
+
{
|
|
104748
|
+
"kind": "class",
|
|
104749
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
104750
|
+
"name": "SbbStepperElement",
|
|
104751
|
+
"slots": [
|
|
104752
|
+
{
|
|
104753
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
104754
|
+
"name": ""
|
|
104755
|
+
},
|
|
104756
|
+
{
|
|
104757
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
104758
|
+
"name": "step-label"
|
|
104759
|
+
},
|
|
104760
|
+
{
|
|
104761
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
104762
|
+
"name": "step"
|
|
104763
|
+
}
|
|
104764
|
+
],
|
|
104765
|
+
"members": [
|
|
104766
|
+
{
|
|
104767
|
+
"kind": "field",
|
|
104768
|
+
"name": "events",
|
|
104769
|
+
"privacy": "public",
|
|
104770
|
+
"static": true,
|
|
104771
|
+
"readonly": true,
|
|
104772
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
104773
|
+
"type": {
|
|
104774
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
104734
104775
|
}
|
|
104735
104776
|
},
|
|
104736
104777
|
{
|
|
104737
104778
|
"kind": "field",
|
|
104738
|
-
"name": "
|
|
104779
|
+
"name": "_observer",
|
|
104739
104780
|
"privacy": "private",
|
|
104740
|
-
"
|
|
104741
|
-
|
|
104742
|
-
"module": "core/base-elements/button-base-element.js"
|
|
104743
|
-
}
|
|
104781
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
104782
|
+
"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."
|
|
104744
104783
|
},
|
|
104745
104784
|
{
|
|
104746
104785
|
"kind": "field",
|
|
104747
|
-
"name": "
|
|
104786
|
+
"name": "linear",
|
|
104748
104787
|
"type": {
|
|
104749
104788
|
"text": "boolean"
|
|
104750
104789
|
},
|
|
104751
104790
|
"privacy": "public",
|
|
104752
|
-
"
|
|
104753
|
-
"
|
|
104754
|
-
"
|
|
104755
|
-
"name": "SbbFormAssociatedMixin",
|
|
104756
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104757
|
-
}
|
|
104791
|
+
"default": "false",
|
|
104792
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
104793
|
+
"attribute": "linear"
|
|
104758
104794
|
},
|
|
104759
104795
|
{
|
|
104760
104796
|
"kind": "field",
|
|
104761
|
-
"name": "
|
|
104797
|
+
"name": "horizontalFrom",
|
|
104762
104798
|
"privacy": "public",
|
|
104763
|
-
"description": "
|
|
104799
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
104764
104800
|
"type": {
|
|
104765
|
-
"text": "
|
|
104801
|
+
"text": "SbbHorizontalFrom | null"
|
|
104766
104802
|
},
|
|
104767
|
-
"attribute": "
|
|
104768
|
-
"
|
|
104769
|
-
|
|
104770
|
-
|
|
104803
|
+
"attribute": "horizontal-from",
|
|
104804
|
+
"reflects": true,
|
|
104805
|
+
"default": "null"
|
|
104806
|
+
},
|
|
104807
|
+
{
|
|
104808
|
+
"kind": "field",
|
|
104809
|
+
"name": "_horizontalFrom",
|
|
104810
|
+
"type": {
|
|
104811
|
+
"text": "SbbHorizontalFrom | null"
|
|
104812
|
+
},
|
|
104813
|
+
"privacy": "private",
|
|
104814
|
+
"default": "null"
|
|
104815
|
+
},
|
|
104816
|
+
{
|
|
104817
|
+
"kind": "field",
|
|
104818
|
+
"name": "orientation",
|
|
104819
|
+
"type": {
|
|
104820
|
+
"text": "SbbOrientation"
|
|
104821
|
+
},
|
|
104822
|
+
"privacy": "public",
|
|
104823
|
+
"default": "'horizontal'",
|
|
104824
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
104825
|
+
"attribute": "orientation",
|
|
104826
|
+
"reflects": true
|
|
104827
|
+
},
|
|
104828
|
+
{
|
|
104829
|
+
"kind": "field",
|
|
104830
|
+
"name": "size",
|
|
104831
|
+
"type": {
|
|
104832
|
+
"text": "'s' | 'm'"
|
|
104833
|
+
},
|
|
104834
|
+
"privacy": "public",
|
|
104835
|
+
"description": "Size variant, either s or m.",
|
|
104836
|
+
"default": "'m' / 's' (lean)",
|
|
104837
|
+
"attribute": "size",
|
|
104838
|
+
"reflects": true
|
|
104839
|
+
},
|
|
104840
|
+
{
|
|
104841
|
+
"kind": "field",
|
|
104842
|
+
"name": "selected",
|
|
104843
|
+
"privacy": "public",
|
|
104844
|
+
"description": "The currently selected step.",
|
|
104845
|
+
"type": {
|
|
104846
|
+
"text": "SbbStepElement | null"
|
|
104771
104847
|
}
|
|
104772
104848
|
},
|
|
104773
104849
|
{
|
|
104774
104850
|
"kind": "field",
|
|
104775
|
-
"name": "
|
|
104851
|
+
"name": "_requestedSelected",
|
|
104852
|
+
"type": {
|
|
104853
|
+
"text": "SbbStepElement | null"
|
|
104854
|
+
},
|
|
104855
|
+
"privacy": "private",
|
|
104856
|
+
"default": "null"
|
|
104857
|
+
},
|
|
104858
|
+
{
|
|
104859
|
+
"kind": "field",
|
|
104860
|
+
"name": "selectedIndex",
|
|
104861
|
+
"privacy": "public",
|
|
104862
|
+
"description": "The currently selected step index.",
|
|
104863
|
+
"type": {
|
|
104864
|
+
"text": "number | null"
|
|
104865
|
+
},
|
|
104866
|
+
"attribute": "selected-index"
|
|
104867
|
+
},
|
|
104868
|
+
{
|
|
104869
|
+
"kind": "field",
|
|
104870
|
+
"name": "_requestedSelectedIndex",
|
|
104871
|
+
"type": {
|
|
104872
|
+
"text": "number | null"
|
|
104873
|
+
},
|
|
104874
|
+
"privacy": "private",
|
|
104875
|
+
"default": "null"
|
|
104876
|
+
},
|
|
104877
|
+
{
|
|
104878
|
+
"kind": "field",
|
|
104879
|
+
"name": "steps",
|
|
104776
104880
|
"type": {
|
|
104777
|
-
"text": "
|
|
104881
|
+
"text": "SbbStepElement[]"
|
|
104778
104882
|
},
|
|
104779
104883
|
"privacy": "public",
|
|
104780
|
-
"description": "
|
|
104781
|
-
"readonly": true
|
|
104782
|
-
"inheritedFrom": {
|
|
104783
|
-
"name": "SbbFormAssociatedMixin",
|
|
104784
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104785
|
-
}
|
|
104884
|
+
"description": "The steps of the stepper.",
|
|
104885
|
+
"readonly": true
|
|
104786
104886
|
},
|
|
104787
104887
|
{
|
|
104788
104888
|
"kind": "field",
|
|
104789
|
-
"name": "
|
|
104889
|
+
"name": "_enabledSteps",
|
|
104790
104890
|
"type": {
|
|
104791
|
-
"text": "
|
|
104891
|
+
"text": "SbbStepElement[]"
|
|
104792
104892
|
},
|
|
104793
|
-
"privacy": "
|
|
104794
|
-
"
|
|
104795
|
-
"readonly": true,
|
|
104796
|
-
"inheritedFrom": {
|
|
104797
|
-
"name": "SbbFormAssociatedMixin",
|
|
104798
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104799
|
-
}
|
|
104893
|
+
"privacy": "private",
|
|
104894
|
+
"readonly": true
|
|
104800
104895
|
},
|
|
104801
104896
|
{
|
|
104802
104897
|
"kind": "field",
|
|
104803
|
-
"name": "
|
|
104898
|
+
"name": "_loaded",
|
|
104804
104899
|
"type": {
|
|
104805
104900
|
"text": "boolean"
|
|
104806
104901
|
},
|
|
104807
|
-
"privacy": "
|
|
104808
|
-
"
|
|
104809
|
-
"readonly": true,
|
|
104810
|
-
"inheritedFrom": {
|
|
104811
|
-
"name": "SbbFormAssociatedMixin",
|
|
104812
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104813
|
-
}
|
|
104902
|
+
"privacy": "private",
|
|
104903
|
+
"default": "false"
|
|
104814
104904
|
},
|
|
104815
104905
|
{
|
|
104816
104906
|
"kind": "field",
|
|
104817
|
-
"name": "
|
|
104907
|
+
"name": "_resizeObserverTimeout",
|
|
104908
|
+
"type": {
|
|
104909
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
104910
|
+
},
|
|
104818
104911
|
"privacy": "private",
|
|
104819
|
-
"default": "
|
|
104820
|
-
"inheritedFrom": {
|
|
104821
|
-
"name": "SbbFormAssociatedMixin",
|
|
104822
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104823
|
-
}
|
|
104912
|
+
"default": "null"
|
|
104824
104913
|
},
|
|
104825
104914
|
{
|
|
104826
104915
|
"kind": "field",
|
|
104827
|
-
"name": "
|
|
104828
|
-
"
|
|
104829
|
-
|
|
104830
|
-
},
|
|
104831
|
-
"privacy": "protected",
|
|
104832
|
-
"default": "false",
|
|
104833
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
104834
|
-
"inheritedFrom": {
|
|
104835
|
-
"name": "SbbFormAssociatedMixin",
|
|
104836
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104837
|
-
}
|
|
104916
|
+
"name": "_mediaMatcher",
|
|
104917
|
+
"privacy": "private",
|
|
104918
|
+
"default": "new SbbMediaMatcherController(this, {})"
|
|
104838
104919
|
},
|
|
104839
104920
|
{
|
|
104840
104921
|
"kind": "method",
|
|
104841
|
-
"name": "
|
|
104922
|
+
"name": "next",
|
|
104842
104923
|
"privacy": "public",
|
|
104843
104924
|
"return": {
|
|
104844
104925
|
"type": {
|
|
104845
|
-
"text": "
|
|
104926
|
+
"text": "void"
|
|
104846
104927
|
}
|
|
104847
104928
|
},
|
|
104848
|
-
"description": "
|
|
104849
|
-
"inheritedFrom": {
|
|
104850
|
-
"name": "SbbFormAssociatedMixin",
|
|
104851
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104852
|
-
}
|
|
104929
|
+
"description": "Selects the next step."
|
|
104853
104930
|
},
|
|
104854
104931
|
{
|
|
104855
104932
|
"kind": "method",
|
|
104856
|
-
"name": "
|
|
104933
|
+
"name": "previous",
|
|
104857
104934
|
"privacy": "public",
|
|
104858
104935
|
"return": {
|
|
104859
104936
|
"type": {
|
|
104860
|
-
"text": "
|
|
104937
|
+
"text": "void"
|
|
104861
104938
|
}
|
|
104862
104939
|
},
|
|
104863
|
-
"description": "
|
|
104864
|
-
"inheritedFrom": {
|
|
104865
|
-
"name": "SbbFormAssociatedMixin",
|
|
104866
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104867
|
-
}
|
|
104940
|
+
"description": "Selects the previous step."
|
|
104868
104941
|
},
|
|
104869
104942
|
{
|
|
104870
104943
|
"kind": "method",
|
|
104871
|
-
"name": "
|
|
104944
|
+
"name": "reset",
|
|
104872
104945
|
"privacy": "public",
|
|
104873
104946
|
"return": {
|
|
104874
104947
|
"type": {
|
|
104875
104948
|
"text": "void"
|
|
104876
104949
|
}
|
|
104877
104950
|
},
|
|
104878
|
-
"
|
|
104879
|
-
{
|
|
104880
|
-
"name": "message",
|
|
104881
|
-
"type": {
|
|
104882
|
-
"text": "string"
|
|
104883
|
-
}
|
|
104884
|
-
}
|
|
104885
|
-
],
|
|
104886
|
-
"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.",
|
|
104887
|
-
"inheritedFrom": {
|
|
104888
|
-
"name": "SbbFormAssociatedMixin",
|
|
104889
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104890
|
-
}
|
|
104951
|
+
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
104891
104952
|
},
|
|
104892
104953
|
{
|
|
104893
104954
|
"kind": "method",
|
|
104894
|
-
"name": "
|
|
104955
|
+
"name": "_isSelectable",
|
|
104895
104956
|
"privacy": "private",
|
|
104896
104957
|
"return": {
|
|
104897
104958
|
"type": {
|
|
104898
|
-
"text": "
|
|
104959
|
+
"text": "step is SbbStepElement"
|
|
104899
104960
|
}
|
|
104900
104961
|
},
|
|
104901
|
-
"
|
|
104902
|
-
|
|
104903
|
-
|
|
104904
|
-
|
|
104962
|
+
"parameters": [
|
|
104963
|
+
{
|
|
104964
|
+
"name": "step",
|
|
104965
|
+
"type": {
|
|
104966
|
+
"text": "SbbStepElement | null"
|
|
104967
|
+
}
|
|
104968
|
+
}
|
|
104969
|
+
]
|
|
104905
104970
|
},
|
|
104906
104971
|
{
|
|
104907
104972
|
"kind": "method",
|
|
104908
|
-
"name": "
|
|
104909
|
-
"privacy": "
|
|
104973
|
+
"name": "_select",
|
|
104974
|
+
"privacy": "private",
|
|
104910
104975
|
"return": {
|
|
104911
104976
|
"type": {
|
|
104912
104977
|
"text": "void"
|
|
104913
104978
|
}
|
|
104914
104979
|
},
|
|
104915
|
-
"
|
|
104916
|
-
|
|
104917
|
-
|
|
104918
|
-
|
|
104919
|
-
|
|
104980
|
+
"parameters": [
|
|
104981
|
+
{
|
|
104982
|
+
"name": "step",
|
|
104983
|
+
"type": {
|
|
104984
|
+
"text": "SbbStepElement | null"
|
|
104985
|
+
}
|
|
104986
|
+
}
|
|
104987
|
+
]
|
|
104920
104988
|
},
|
|
104921
104989
|
{
|
|
104922
104990
|
"kind": "method",
|
|
104923
|
-
"name": "
|
|
104924
|
-
"privacy": "
|
|
104991
|
+
"name": "_setMarkerSize",
|
|
104992
|
+
"privacy": "private",
|
|
104925
104993
|
"return": {
|
|
104926
104994
|
"type": {
|
|
104927
|
-
"text": "
|
|
104995
|
+
"text": "void"
|
|
104928
104996
|
}
|
|
104929
|
-
},
|
|
104930
|
-
"inheritedFrom": {
|
|
104931
|
-
"name": "SbbFormAssociatedMixin",
|
|
104932
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104933
104997
|
}
|
|
104934
104998
|
},
|
|
104935
104999
|
{
|
|
104936
105000
|
"kind": "method",
|
|
104937
|
-
"name": "
|
|
104938
|
-
"privacy": "
|
|
105001
|
+
"name": "_setStepperHeight",
|
|
105002
|
+
"privacy": "private",
|
|
104939
105003
|
"return": {
|
|
104940
105004
|
"type": {
|
|
104941
105005
|
"text": "void"
|
|
@@ -104943,35 +105007,28 @@
|
|
|
104943
105007
|
},
|
|
104944
105008
|
"parameters": [
|
|
104945
105009
|
{
|
|
104946
|
-
"name": "
|
|
104947
|
-
"type": {
|
|
104948
|
-
"text": "T"
|
|
104949
|
-
}
|
|
104950
|
-
},
|
|
104951
|
-
{
|
|
104952
|
-
"name": "message",
|
|
104953
|
-
"type": {
|
|
104954
|
-
"text": "string"
|
|
104955
|
-
}
|
|
104956
|
-
},
|
|
104957
|
-
{
|
|
104958
|
-
"name": "flagValue",
|
|
104959
|
-
"optional": true,
|
|
105010
|
+
"name": "step",
|
|
104960
105011
|
"type": {
|
|
104961
|
-
"text": "
|
|
105012
|
+
"text": "SbbStepElement | null"
|
|
104962
105013
|
}
|
|
104963
105014
|
}
|
|
104964
105015
|
],
|
|
104965
|
-
"description": "
|
|
104966
|
-
|
|
104967
|
-
|
|
104968
|
-
|
|
105016
|
+
"description": "Sets the stepper height based on the height of the provided step."
|
|
105017
|
+
},
|
|
105018
|
+
{
|
|
105019
|
+
"kind": "method",
|
|
105020
|
+
"name": "_calculateLabelOffsetTop",
|
|
105021
|
+
"privacy": "private",
|
|
105022
|
+
"return": {
|
|
105023
|
+
"type": {
|
|
105024
|
+
"text": "number | undefined"
|
|
105025
|
+
}
|
|
104969
105026
|
}
|
|
104970
105027
|
},
|
|
104971
105028
|
{
|
|
104972
105029
|
"kind": "method",
|
|
104973
|
-
"name": "
|
|
104974
|
-
"privacy": "
|
|
105030
|
+
"name": "_onSelectedStepResize",
|
|
105031
|
+
"privacy": "private",
|
|
104975
105032
|
"return": {
|
|
104976
105033
|
"type": {
|
|
104977
105034
|
"text": "void"
|
|
@@ -104979,120 +105036,126 @@
|
|
|
104979
105036
|
},
|
|
104980
105037
|
"parameters": [
|
|
104981
105038
|
{
|
|
104982
|
-
"name": "
|
|
105039
|
+
"name": "e",
|
|
104983
105040
|
"type": {
|
|
104984
|
-
"text": "
|
|
105041
|
+
"text": "Event"
|
|
104985
105042
|
}
|
|
104986
105043
|
}
|
|
104987
|
-
]
|
|
104988
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
104989
|
-
"inheritedFrom": {
|
|
104990
|
-
"name": "SbbFormAssociatedMixin",
|
|
104991
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104992
|
-
}
|
|
105044
|
+
]
|
|
104993
105045
|
},
|
|
104994
105046
|
{
|
|
104995
105047
|
"kind": "method",
|
|
104996
|
-
"name": "
|
|
104997
|
-
"privacy": "
|
|
105048
|
+
"name": "_configure",
|
|
105049
|
+
"privacy": "private",
|
|
104998
105050
|
"return": {
|
|
104999
105051
|
"type": {
|
|
105000
105052
|
"text": "void"
|
|
105001
105053
|
}
|
|
105002
|
-
},
|
|
105003
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
105004
|
-
"inheritedFrom": {
|
|
105005
|
-
"name": "SbbFormAssociatedMixin",
|
|
105006
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105007
105054
|
}
|
|
105008
105055
|
},
|
|
105009
105056
|
{
|
|
105010
105057
|
"kind": "method",
|
|
105011
|
-
"name": "
|
|
105012
|
-
"privacy": "
|
|
105058
|
+
"name": "_updateLabels",
|
|
105059
|
+
"privacy": "private",
|
|
105013
105060
|
"return": {
|
|
105014
105061
|
"type": {
|
|
105015
|
-
"text": "
|
|
105016
|
-
}
|
|
105017
|
-
},
|
|
105018
|
-
"parameters": [
|
|
105019
|
-
{
|
|
105020
|
-
"name": "name",
|
|
105021
|
-
"type": {
|
|
105022
|
-
"text": "PropertyKey | undefined"
|
|
105023
|
-
}
|
|
105062
|
+
"text": "void"
|
|
105024
105063
|
}
|
|
105025
|
-
],
|
|
105026
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
105027
|
-
"inheritedFrom": {
|
|
105028
|
-
"name": "SbbFormAssociatedMixin",
|
|
105029
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105030
105064
|
}
|
|
105031
105065
|
},
|
|
105032
105066
|
{
|
|
105033
105067
|
"kind": "method",
|
|
105034
|
-
"name": "
|
|
105068
|
+
"name": "_checkOrientation",
|
|
105035
105069
|
"privacy": "private",
|
|
105036
105070
|
"return": {
|
|
105037
105071
|
"type": {
|
|
105038
105072
|
"text": "void"
|
|
105039
105073
|
}
|
|
105040
|
-
},
|
|
105041
|
-
"inheritedFrom": {
|
|
105042
|
-
"name": "SbbFormAssociatedMixin",
|
|
105043
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105044
105074
|
}
|
|
105045
105075
|
},
|
|
105046
105076
|
{
|
|
105047
105077
|
"kind": "field",
|
|
105048
|
-
"name": "
|
|
105078
|
+
"name": "_onStepperResize",
|
|
105079
|
+
"privacy": "private"
|
|
105080
|
+
},
|
|
105081
|
+
{
|
|
105082
|
+
"kind": "method",
|
|
105083
|
+
"name": "_configureLinearMode",
|
|
105049
105084
|
"privacy": "private",
|
|
105050
|
-
"
|
|
105085
|
+
"return": {
|
|
105086
|
+
"type": {
|
|
105087
|
+
"text": "void"
|
|
105088
|
+
}
|
|
105089
|
+
}
|
|
105090
|
+
},
|
|
105091
|
+
{
|
|
105092
|
+
"kind": "method",
|
|
105093
|
+
"name": "_handleKeyDown",
|
|
105094
|
+
"privacy": "private",
|
|
105095
|
+
"return": {
|
|
105096
|
+
"type": {
|
|
105097
|
+
"text": "void"
|
|
105098
|
+
}
|
|
105099
|
+
},
|
|
105051
105100
|
"parameters": [
|
|
105052
105101
|
{
|
|
105053
|
-
"
|
|
105054
|
-
"
|
|
105102
|
+
"name": "evt",
|
|
105103
|
+
"type": {
|
|
105104
|
+
"text": "KeyboardEvent"
|
|
105105
|
+
}
|
|
105055
105106
|
}
|
|
105056
|
-
]
|
|
105057
|
-
"inheritedFrom": {
|
|
105058
|
-
"name": "SbbButtonLikeBaseElement",
|
|
105059
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105060
|
-
}
|
|
105107
|
+
]
|
|
105061
105108
|
},
|
|
105062
105109
|
{
|
|
105063
105110
|
"kind": "field",
|
|
105064
|
-
"name": "
|
|
105111
|
+
"name": "_hydrationRequired",
|
|
105112
|
+
"type": {
|
|
105113
|
+
"text": "boolean"
|
|
105114
|
+
},
|
|
105065
105115
|
"privacy": "private",
|
|
105116
|
+
"default": "!!this.shadowRoot",
|
|
105066
105117
|
"inheritedFrom": {
|
|
105067
|
-
"name": "
|
|
105068
|
-
"module": "core/
|
|
105118
|
+
"name": "SbbHydrationMixin",
|
|
105119
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105069
105120
|
}
|
|
105070
105121
|
},
|
|
105071
105122
|
{
|
|
105072
105123
|
"kind": "field",
|
|
105073
|
-
"name": "
|
|
105124
|
+
"name": "_hydrationComplete",
|
|
105074
105125
|
"privacy": "private",
|
|
105075
|
-
"
|
|
105076
|
-
"parameters": [
|
|
105077
|
-
{
|
|
105078
|
-
"description": "The origin event.",
|
|
105079
|
-
"name": "event"
|
|
105080
|
-
}
|
|
105081
|
-
],
|
|
105126
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
105082
105127
|
"inheritedFrom": {
|
|
105083
|
-
"name": "
|
|
105084
|
-
"module": "core/
|
|
105128
|
+
"name": "SbbHydrationMixin",
|
|
105129
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105085
105130
|
}
|
|
105086
105131
|
},
|
|
105087
105132
|
{
|
|
105088
105133
|
"kind": "field",
|
|
105089
|
-
"name": "
|
|
105134
|
+
"name": "_resolveHydration",
|
|
105135
|
+
"type": {
|
|
105136
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
105137
|
+
},
|
|
105090
105138
|
"privacy": "private",
|
|
105091
105139
|
"inheritedFrom": {
|
|
105092
|
-
"name": "
|
|
105093
|
-
"module": "core/
|
|
105140
|
+
"name": "SbbHydrationMixin",
|
|
105141
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105094
105142
|
}
|
|
105095
105143
|
},
|
|
105144
|
+
{
|
|
105145
|
+
"kind": "field",
|
|
105146
|
+
"name": "hydrationRequired",
|
|
105147
|
+
"type": {
|
|
105148
|
+
"text": "boolean"
|
|
105149
|
+
},
|
|
105150
|
+
"privacy": "protected",
|
|
105151
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
105152
|
+
"readonly": true,
|
|
105153
|
+
"inheritedFrom": {
|
|
105154
|
+
"name": "SbbHydrationMixin",
|
|
105155
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105156
|
+
},
|
|
105157
|
+
"default": "!!this.shadowRoot"
|
|
105158
|
+
},
|
|
105096
105159
|
{
|
|
105097
105160
|
"kind": "method",
|
|
105098
105161
|
"name": "toggleState",
|
|
@@ -105118,177 +105181,114 @@
|
|
|
105118
105181
|
}
|
|
105119
105182
|
],
|
|
105120
105183
|
"inheritedFrom": {
|
|
105121
|
-
"name": "
|
|
105122
|
-
"module": "core/
|
|
105123
|
-
}
|
|
105124
|
-
},
|
|
105125
|
-
{
|
|
105126
|
-
"kind": "field",
|
|
105127
|
-
"name": "maybeDisabled",
|
|
105128
|
-
"type": {
|
|
105129
|
-
"text": "boolean | undefined"
|
|
105130
|
-
},
|
|
105131
|
-
"privacy": "protected",
|
|
105132
|
-
"readonly": true,
|
|
105133
|
-
"inheritedFrom": {
|
|
105134
|
-
"name": "SbbActionBaseElement",
|
|
105135
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105136
|
-
}
|
|
105137
|
-
},
|
|
105138
|
-
{
|
|
105139
|
-
"kind": "field",
|
|
105140
|
-
"name": "maybeDisabledInteractive",
|
|
105141
|
-
"type": {
|
|
105142
|
-
"text": "boolean | undefined"
|
|
105143
|
-
},
|
|
105144
|
-
"privacy": "protected",
|
|
105145
|
-
"readonly": true,
|
|
105146
|
-
"inheritedFrom": {
|
|
105147
|
-
"name": "SbbActionBaseElement",
|
|
105148
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105149
|
-
}
|
|
105150
|
-
},
|
|
105151
|
-
{
|
|
105152
|
-
"kind": "method",
|
|
105153
|
-
"name": "setupBaseEventHandlers",
|
|
105154
|
-
"privacy": "protected",
|
|
105155
|
-
"return": {
|
|
105156
|
-
"type": {
|
|
105157
|
-
"text": "void"
|
|
105158
|
-
}
|
|
105159
|
-
},
|
|
105160
|
-
"inheritedFrom": {
|
|
105161
|
-
"name": "SbbActionBaseElement",
|
|
105162
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105163
|
-
}
|
|
105164
|
-
},
|
|
105165
|
-
{
|
|
105166
|
-
"kind": "method",
|
|
105167
|
-
"name": "renderTemplate",
|
|
105168
|
-
"privacy": "protected",
|
|
105169
|
-
"return": {
|
|
105170
|
-
"type": {
|
|
105171
|
-
"text": "TemplateResult"
|
|
105172
|
-
}
|
|
105173
|
-
},
|
|
105174
|
-
"description": "Override this method to render the component template.",
|
|
105175
|
-
"inheritedFrom": {
|
|
105176
|
-
"name": "SbbActionBaseElement",
|
|
105177
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105184
|
+
"name": "SbbElementInternalsMixin",
|
|
105185
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
105178
105186
|
}
|
|
105179
105187
|
}
|
|
105180
105188
|
],
|
|
105181
|
-
"
|
|
105182
|
-
{
|
|
105183
|
-
"name": "SbbIconNameMixin",
|
|
105184
|
-
"module": "icon.js"
|
|
105185
|
-
},
|
|
105189
|
+
"events": [
|
|
105186
105190
|
{
|
|
105187
|
-
"
|
|
105188
|
-
|
|
105191
|
+
"type": {
|
|
105192
|
+
"text": "SbbStepChangeEvent"
|
|
105193
|
+
},
|
|
105194
|
+
"description": "Emits whenever a step was changed.",
|
|
105195
|
+
"name": "stepchange"
|
|
105189
105196
|
}
|
|
105190
105197
|
],
|
|
105191
|
-
"superclass": {
|
|
105192
|
-
"name": "SbbButtonBaseElement",
|
|
105193
|
-
"module": "core/base-elements.js"
|
|
105194
|
-
},
|
|
105195
|
-
"tagName": "sbb-step-label",
|
|
105196
|
-
"customElement": true,
|
|
105197
105198
|
"attributes": [
|
|
105198
105199
|
{
|
|
105199
|
-
"name": "
|
|
105200
|
+
"name": "linear",
|
|
105200
105201
|
"type": {
|
|
105201
|
-
"text": "
|
|
105202
|
+
"text": "boolean"
|
|
105202
105203
|
},
|
|
105203
|
-
"default": "
|
|
105204
|
-
"description": "
|
|
105205
|
-
"fieldName": "
|
|
105206
|
-
"inheritedFrom": {
|
|
105207
|
-
"name": "SbbIconNameMixin",
|
|
105208
|
-
"module": "icon/icon-name-mixin.js"
|
|
105209
|
-
}
|
|
105204
|
+
"default": "false",
|
|
105205
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
105206
|
+
"fieldName": "linear"
|
|
105210
105207
|
},
|
|
105211
105208
|
{
|
|
105212
|
-
"name": "
|
|
105213
|
-
"description": "
|
|
105214
|
-
"default": "false",
|
|
105209
|
+
"name": "horizontal-from",
|
|
105210
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
105215
105211
|
"type": {
|
|
105216
|
-
"text": "
|
|
105212
|
+
"text": "SbbHorizontalFrom | null"
|
|
105217
105213
|
},
|
|
105218
|
-
"fieldName": "
|
|
105219
|
-
"inheritedFrom": {
|
|
105220
|
-
"name": "SbbDisabledMixin",
|
|
105221
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105222
|
-
}
|
|
105214
|
+
"fieldName": "horizontalFrom"
|
|
105223
105215
|
},
|
|
105224
105216
|
{
|
|
105225
|
-
"name": "
|
|
105217
|
+
"name": "orientation",
|
|
105226
105218
|
"type": {
|
|
105227
|
-
"text": "
|
|
105219
|
+
"text": "SbbOrientation"
|
|
105228
105220
|
},
|
|
105229
|
-
"default": "''",
|
|
105230
|
-
"description": "
|
|
105231
|
-
"fieldName": "
|
|
105232
|
-
"inheritedFrom": {
|
|
105233
|
-
"name": "SbbButtonBaseElement",
|
|
105234
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105235
|
-
}
|
|
105221
|
+
"default": "'horizontal'",
|
|
105222
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
105223
|
+
"fieldName": "orientation"
|
|
105236
105224
|
},
|
|
105237
105225
|
{
|
|
105238
|
-
"name": "
|
|
105239
|
-
"description": "The type attribute to use for the button.",
|
|
105240
|
-
"default": "'button'",
|
|
105226
|
+
"name": "size",
|
|
105241
105227
|
"type": {
|
|
105242
|
-
"text": "
|
|
105228
|
+
"text": "'s' | 'm'"
|
|
105243
105229
|
},
|
|
105244
|
-
"
|
|
105245
|
-
"
|
|
105246
|
-
|
|
105247
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105248
|
-
}
|
|
105230
|
+
"description": "Size variant, either s or m.",
|
|
105231
|
+
"default": "'m' / 's' (lean)",
|
|
105232
|
+
"fieldName": "size"
|
|
105249
105233
|
},
|
|
105250
105234
|
{
|
|
105251
|
-
"name": "
|
|
105252
|
-
"description": "The
|
|
105235
|
+
"name": "selected-index",
|
|
105236
|
+
"description": "The currently selected step index.",
|
|
105253
105237
|
"type": {
|
|
105254
|
-
"text": "
|
|
105238
|
+
"text": "number | null"
|
|
105255
105239
|
},
|
|
105256
|
-
"fieldName": "
|
|
105257
|
-
|
|
105258
|
-
|
|
105259
|
-
|
|
105260
|
-
|
|
105240
|
+
"fieldName": "selectedIndex"
|
|
105241
|
+
}
|
|
105242
|
+
],
|
|
105243
|
+
"mixins": [
|
|
105244
|
+
{
|
|
105245
|
+
"name": "SbbHydrationMixin",
|
|
105246
|
+
"module": "core/mixins.js"
|
|
105261
105247
|
},
|
|
105262
105248
|
{
|
|
105263
|
-
"name": "
|
|
105264
|
-
"
|
|
105265
|
-
"type": {
|
|
105266
|
-
"text": "string"
|
|
105267
|
-
},
|
|
105268
|
-
"fieldName": "name",
|
|
105269
|
-
"inheritedFrom": {
|
|
105270
|
-
"name": "SbbFormAssociatedMixin",
|
|
105271
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105272
|
-
}
|
|
105249
|
+
"name": "SbbElementInternalsMixin",
|
|
105250
|
+
"module": "core/mixins.js"
|
|
105273
105251
|
}
|
|
105274
|
-
]
|
|
105252
|
+
],
|
|
105253
|
+
"superclass": {
|
|
105254
|
+
"name": "LitElement",
|
|
105255
|
+
"package": "lit"
|
|
105256
|
+
},
|
|
105257
|
+
"tagName": "sbb-stepper",
|
|
105258
|
+
"customElement": true
|
|
105259
|
+
},
|
|
105260
|
+
{
|
|
105261
|
+
"kind": "variable",
|
|
105262
|
+
"name": "currentIndex"
|
|
105263
|
+
},
|
|
105264
|
+
{
|
|
105265
|
+
"kind": "variable",
|
|
105266
|
+
"name": "currentStep"
|
|
105275
105267
|
}
|
|
105276
105268
|
],
|
|
105277
105269
|
"exports": [
|
|
105278
105270
|
{
|
|
105279
105271
|
"kind": "js",
|
|
105280
|
-
"name": "
|
|
105272
|
+
"name": "SbbStepChangeEvent",
|
|
105281
105273
|
"declaration": {
|
|
105282
|
-
"name": "
|
|
105283
|
-
"module": "stepper/
|
|
105274
|
+
"name": "SbbStepChangeEvent",
|
|
105275
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105276
|
+
}
|
|
105277
|
+
},
|
|
105278
|
+
{
|
|
105279
|
+
"kind": "js",
|
|
105280
|
+
"name": "SbbStepperElement",
|
|
105281
|
+
"declaration": {
|
|
105282
|
+
"name": "SbbStepperElement",
|
|
105283
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105284
105284
|
}
|
|
105285
105285
|
},
|
|
105286
105286
|
{
|
|
105287
105287
|
"kind": "custom-element-definition",
|
|
105288
|
-
"name": "sbb-
|
|
105288
|
+
"name": "sbb-stepper",
|
|
105289
105289
|
"declaration": {
|
|
105290
|
-
"name": "
|
|
105291
|
-
"module": "stepper/
|
|
105290
|
+
"name": "SbbStepperElement",
|
|
105291
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105292
105292
|
}
|
|
105293
105293
|
}
|
|
105294
105294
|
]
|