@sbb-esta/lyne-elements-dev 4.13.0-dev.1779441043 → 4.13.0-dev.1779482589
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 +755 -755
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -37045,12 +37045,12 @@
|
|
|
37045
37045
|
},
|
|
37046
37046
|
{
|
|
37047
37047
|
"kind": "javascript-module",
|
|
37048
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
37048
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
37049
37049
|
"declarations": [
|
|
37050
37050
|
{
|
|
37051
37051
|
"kind": "class",
|
|
37052
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37053
|
-
"name": "
|
|
37052
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
37053
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37054
37054
|
"cssProperties": [
|
|
37055
37055
|
{
|
|
37056
37056
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -37060,7 +37060,7 @@
|
|
|
37060
37060
|
],
|
|
37061
37061
|
"slots": [
|
|
37062
37062
|
{
|
|
37063
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
37063
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
37064
37064
|
"name": ""
|
|
37065
37065
|
},
|
|
37066
37066
|
{
|
|
@@ -37078,7 +37078,7 @@
|
|
|
37078
37078
|
"privacy": "public",
|
|
37079
37079
|
"static": true,
|
|
37080
37080
|
"readonly": true,
|
|
37081
|
-
"default": "'sbb-accent-button'",
|
|
37081
|
+
"default": "'sbb-accent-button-link'",
|
|
37082
37082
|
"inheritedFrom": {
|
|
37083
37083
|
"name": "SbbElement",
|
|
37084
37084
|
"module": "core/base-elements/element.js"
|
|
@@ -37275,1163 +37275,1195 @@
|
|
|
37275
37275
|
},
|
|
37276
37276
|
{
|
|
37277
37277
|
"kind": "field",
|
|
37278
|
-
"name": "
|
|
37278
|
+
"name": "href",
|
|
37279
37279
|
"type": {
|
|
37280
|
-
"text": "
|
|
37280
|
+
"text": "string"
|
|
37281
37281
|
},
|
|
37282
|
-
"privacy": "
|
|
37283
|
-
"
|
|
37284
|
-
"
|
|
37282
|
+
"privacy": "public",
|
|
37283
|
+
"default": "''",
|
|
37284
|
+
"description": "The href value you want to link to.",
|
|
37285
|
+
"attribute": "href",
|
|
37286
|
+
"reflects": true,
|
|
37285
37287
|
"inheritedFrom": {
|
|
37286
|
-
"name": "
|
|
37287
|
-
"module": "core/base-elements/
|
|
37288
|
+
"name": "SbbLinkBaseElement",
|
|
37289
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37288
37290
|
}
|
|
37289
37291
|
},
|
|
37290
37292
|
{
|
|
37291
37293
|
"kind": "field",
|
|
37292
|
-
"name": "
|
|
37294
|
+
"name": "target",
|
|
37293
37295
|
"type": {
|
|
37294
|
-
"text": "string"
|
|
37296
|
+
"text": "LinkTargetType | string"
|
|
37295
37297
|
},
|
|
37296
37298
|
"privacy": "public",
|
|
37297
37299
|
"default": "''",
|
|
37298
|
-
"description": "
|
|
37299
|
-
"attribute": "
|
|
37300
|
+
"description": "Where to display the linked URL.",
|
|
37301
|
+
"attribute": "target",
|
|
37302
|
+
"reflects": true,
|
|
37300
37303
|
"inheritedFrom": {
|
|
37301
|
-
"name": "
|
|
37302
|
-
"module": "core/base-elements/
|
|
37304
|
+
"name": "SbbLinkBaseElement",
|
|
37305
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37303
37306
|
}
|
|
37304
37307
|
},
|
|
37305
37308
|
{
|
|
37306
37309
|
"kind": "field",
|
|
37307
|
-
"name": "
|
|
37310
|
+
"name": "rel",
|
|
37311
|
+
"type": {
|
|
37312
|
+
"text": "string"
|
|
37313
|
+
},
|
|
37308
37314
|
"privacy": "public",
|
|
37309
|
-
"
|
|
37310
|
-
"
|
|
37315
|
+
"default": "''",
|
|
37316
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37317
|
+
"attribute": "rel",
|
|
37318
|
+
"reflects": true,
|
|
37319
|
+
"inheritedFrom": {
|
|
37320
|
+
"name": "SbbLinkBaseElement",
|
|
37321
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37322
|
+
}
|
|
37323
|
+
},
|
|
37324
|
+
{
|
|
37325
|
+
"kind": "field",
|
|
37326
|
+
"name": "download",
|
|
37311
37327
|
"type": {
|
|
37312
|
-
"text": "
|
|
37328
|
+
"text": "boolean"
|
|
37313
37329
|
},
|
|
37314
|
-
"
|
|
37330
|
+
"privacy": "public",
|
|
37331
|
+
"default": "false",
|
|
37332
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
37333
|
+
"attribute": "download",
|
|
37334
|
+
"reflects": true,
|
|
37315
37335
|
"inheritedFrom": {
|
|
37316
|
-
"name": "
|
|
37317
|
-
"module": "core/base-elements/
|
|
37336
|
+
"name": "SbbLinkBaseElement",
|
|
37337
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37318
37338
|
}
|
|
37319
37339
|
},
|
|
37320
37340
|
{
|
|
37321
37341
|
"kind": "field",
|
|
37322
|
-
"name": "
|
|
37342
|
+
"name": "accessibilityLabel",
|
|
37323
37343
|
"type": {
|
|
37324
|
-
"text": "
|
|
37344
|
+
"text": "string"
|
|
37325
37345
|
},
|
|
37326
37346
|
"privacy": "public",
|
|
37327
|
-
"
|
|
37328
|
-
"
|
|
37347
|
+
"default": "''",
|
|
37348
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37349
|
+
"attribute": "accessibility-label",
|
|
37329
37350
|
"inheritedFrom": {
|
|
37330
|
-
"name": "
|
|
37331
|
-
"module": "core/base-elements/
|
|
37351
|
+
"name": "SbbLinkBaseElement",
|
|
37352
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37332
37353
|
}
|
|
37333
37354
|
},
|
|
37334
37355
|
{
|
|
37335
37356
|
"kind": "field",
|
|
37336
|
-
"name": "
|
|
37357
|
+
"name": "accessibilityCurrent",
|
|
37337
37358
|
"type": {
|
|
37338
37359
|
"text": "string"
|
|
37339
37360
|
},
|
|
37340
|
-
"privacy": "
|
|
37361
|
+
"privacy": "public",
|
|
37341
37362
|
"default": "''",
|
|
37363
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37364
|
+
"attribute": "accessibility-current",
|
|
37342
37365
|
"inheritedFrom": {
|
|
37343
|
-
"name": "
|
|
37344
|
-
"module": "core/base-elements/
|
|
37366
|
+
"name": "SbbLinkBaseElement",
|
|
37367
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37345
37368
|
}
|
|
37346
37369
|
},
|
|
37347
37370
|
{
|
|
37348
37371
|
"kind": "field",
|
|
37349
|
-
"name": "
|
|
37372
|
+
"name": "language",
|
|
37373
|
+
"privacy": "protected",
|
|
37374
|
+
"default": "new SbbLanguageController(this)",
|
|
37375
|
+
"inheritedFrom": {
|
|
37376
|
+
"name": "SbbLinkBaseElement",
|
|
37377
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37378
|
+
}
|
|
37379
|
+
},
|
|
37380
|
+
{
|
|
37381
|
+
"kind": "field",
|
|
37382
|
+
"name": "anchorRole",
|
|
37383
|
+
"type": {
|
|
37384
|
+
"text": "string | null"
|
|
37385
|
+
},
|
|
37386
|
+
"privacy": "protected",
|
|
37387
|
+
"readonly": true,
|
|
37388
|
+
"default": "null",
|
|
37389
|
+
"inheritedFrom": {
|
|
37390
|
+
"name": "SbbLinkBaseElement",
|
|
37391
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37392
|
+
}
|
|
37393
|
+
},
|
|
37394
|
+
{
|
|
37395
|
+
"kind": "field",
|
|
37396
|
+
"name": "_evaluateRelAttribute",
|
|
37350
37397
|
"privacy": "private",
|
|
37351
37398
|
"inheritedFrom": {
|
|
37352
|
-
"name": "
|
|
37353
|
-
"module": "core/base-elements/
|
|
37399
|
+
"name": "SbbLinkBaseElement",
|
|
37400
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37354
37401
|
}
|
|
37355
37402
|
},
|
|
37356
37403
|
{
|
|
37357
37404
|
"kind": "method",
|
|
37358
|
-
"name": "
|
|
37359
|
-
"privacy": "
|
|
37405
|
+
"name": "renderLink",
|
|
37406
|
+
"privacy": "protected",
|
|
37360
37407
|
"return": {
|
|
37361
37408
|
"type": {
|
|
37362
|
-
"text": "
|
|
37409
|
+
"text": "TemplateResult"
|
|
37363
37410
|
}
|
|
37364
37411
|
},
|
|
37365
37412
|
"parameters": [
|
|
37366
37413
|
{
|
|
37367
|
-
"name": "
|
|
37414
|
+
"name": "renderContent",
|
|
37368
37415
|
"type": {
|
|
37369
|
-
"text": "
|
|
37416
|
+
"text": "TemplateResult"
|
|
37370
37417
|
}
|
|
37371
37418
|
}
|
|
37372
37419
|
],
|
|
37373
37420
|
"inheritedFrom": {
|
|
37374
|
-
"name": "
|
|
37375
|
-
"module": "core/base-elements/
|
|
37376
|
-
}
|
|
37377
|
-
},
|
|
37378
|
-
{
|
|
37379
|
-
"kind": "field",
|
|
37380
|
-
"name": "_formKeyDown",
|
|
37381
|
-
"privacy": "private",
|
|
37382
|
-
"inheritedFrom": {
|
|
37383
|
-
"name": "SbbButtonBaseElement",
|
|
37384
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37421
|
+
"name": "SbbLinkBaseElement",
|
|
37422
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37385
37423
|
}
|
|
37386
37424
|
},
|
|
37387
37425
|
{
|
|
37388
37426
|
"kind": "field",
|
|
37389
|
-
"name": "
|
|
37427
|
+
"name": "maybeDisabled",
|
|
37390
37428
|
"type": {
|
|
37391
|
-
"text": "boolean"
|
|
37429
|
+
"text": "boolean | undefined"
|
|
37392
37430
|
},
|
|
37393
|
-
"privacy": "
|
|
37394
|
-
"
|
|
37395
|
-
"default": "true",
|
|
37431
|
+
"privacy": "protected",
|
|
37432
|
+
"readonly": true,
|
|
37396
37433
|
"inheritedFrom": {
|
|
37397
|
-
"name": "
|
|
37398
|
-
"module": "core/
|
|
37434
|
+
"name": "SbbActionBaseElement",
|
|
37435
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37399
37436
|
}
|
|
37400
37437
|
},
|
|
37401
37438
|
{
|
|
37402
37439
|
"kind": "field",
|
|
37403
|
-
"name": "
|
|
37404
|
-
"privacy": "public",
|
|
37405
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
37440
|
+
"name": "maybeDisabledInteractive",
|
|
37406
37441
|
"type": {
|
|
37407
|
-
"text": "
|
|
37442
|
+
"text": "boolean | undefined"
|
|
37408
37443
|
},
|
|
37409
|
-
"
|
|
37444
|
+
"privacy": "protected",
|
|
37445
|
+
"readonly": true,
|
|
37410
37446
|
"inheritedFrom": {
|
|
37411
|
-
"name": "
|
|
37412
|
-
"module": "core/
|
|
37447
|
+
"name": "SbbActionBaseElement",
|
|
37448
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37413
37449
|
}
|
|
37414
37450
|
},
|
|
37415
37451
|
{
|
|
37416
|
-
"kind": "
|
|
37417
|
-
"name": "
|
|
37418
|
-
"
|
|
37419
|
-
|
|
37452
|
+
"kind": "method",
|
|
37453
|
+
"name": "setupBaseEventHandlers",
|
|
37454
|
+
"privacy": "protected",
|
|
37455
|
+
"return": {
|
|
37456
|
+
"type": {
|
|
37457
|
+
"text": "void"
|
|
37458
|
+
}
|
|
37420
37459
|
},
|
|
37421
|
-
"privacy": "public",
|
|
37422
|
-
"description": "Returns the ValidityState object for this element.",
|
|
37423
|
-
"readonly": true,
|
|
37424
37460
|
"inheritedFrom": {
|
|
37425
|
-
"name": "
|
|
37426
|
-
"module": "core/
|
|
37461
|
+
"name": "SbbActionBaseElement",
|
|
37462
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37427
37463
|
}
|
|
37428
37464
|
},
|
|
37429
37465
|
{
|
|
37430
37466
|
"kind": "field",
|
|
37431
|
-
"name": "
|
|
37467
|
+
"name": "_hydrationRequired",
|
|
37432
37468
|
"type": {
|
|
37433
|
-
"text": "
|
|
37469
|
+
"text": "boolean"
|
|
37434
37470
|
},
|
|
37435
|
-
"privacy": "
|
|
37436
|
-
"
|
|
37437
|
-
"readonly": true,
|
|
37471
|
+
"privacy": "private",
|
|
37472
|
+
"default": "!!this.shadowRoot",
|
|
37438
37473
|
"inheritedFrom": {
|
|
37439
|
-
"name": "
|
|
37440
|
-
"module": "core/mixins/
|
|
37474
|
+
"name": "SbbHydrationMixin",
|
|
37475
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37441
37476
|
}
|
|
37442
37477
|
},
|
|
37443
37478
|
{
|
|
37444
37479
|
"kind": "field",
|
|
37445
|
-
"name": "
|
|
37446
|
-
"
|
|
37447
|
-
|
|
37448
|
-
},
|
|
37449
|
-
"privacy": "public",
|
|
37450
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
37451
|
-
"readonly": true,
|
|
37480
|
+
"name": "_hydrationComplete",
|
|
37481
|
+
"privacy": "private",
|
|
37482
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
37452
37483
|
"inheritedFrom": {
|
|
37453
|
-
"name": "
|
|
37454
|
-
"module": "core/mixins/
|
|
37484
|
+
"name": "SbbHydrationMixin",
|
|
37485
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37455
37486
|
}
|
|
37456
37487
|
},
|
|
37457
37488
|
{
|
|
37458
37489
|
"kind": "field",
|
|
37459
|
-
"name": "
|
|
37490
|
+
"name": "_resolveHydration",
|
|
37491
|
+
"type": {
|
|
37492
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
37493
|
+
},
|
|
37460
37494
|
"privacy": "private",
|
|
37461
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
37462
37495
|
"inheritedFrom": {
|
|
37463
|
-
"name": "
|
|
37464
|
-
"module": "core/mixins/
|
|
37496
|
+
"name": "SbbHydrationMixin",
|
|
37497
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37465
37498
|
}
|
|
37466
37499
|
},
|
|
37467
37500
|
{
|
|
37468
37501
|
"kind": "field",
|
|
37469
|
-
"name": "
|
|
37502
|
+
"name": "hydrationRequired",
|
|
37470
37503
|
"type": {
|
|
37471
37504
|
"text": "boolean"
|
|
37472
37505
|
},
|
|
37473
37506
|
"privacy": "protected",
|
|
37474
|
-
"
|
|
37475
|
-
"
|
|
37507
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
37508
|
+
"readonly": true,
|
|
37476
37509
|
"inheritedFrom": {
|
|
37477
|
-
"name": "
|
|
37478
|
-
"module": "core/mixins/
|
|
37479
|
-
}
|
|
37510
|
+
"name": "SbbHydrationMixin",
|
|
37511
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37512
|
+
},
|
|
37513
|
+
"default": "!!this.shadowRoot"
|
|
37480
37514
|
},
|
|
37481
37515
|
{
|
|
37482
37516
|
"kind": "method",
|
|
37483
|
-
"name": "
|
|
37484
|
-
"privacy": "
|
|
37517
|
+
"name": "toggleState",
|
|
37518
|
+
"privacy": "protected",
|
|
37485
37519
|
"return": {
|
|
37486
37520
|
"type": {
|
|
37487
|
-
"text": "
|
|
37488
|
-
}
|
|
37489
|
-
},
|
|
37490
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
37491
|
-
"inheritedFrom": {
|
|
37492
|
-
"name": "SbbFormAssociatedMixin",
|
|
37493
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37494
|
-
}
|
|
37495
|
-
},
|
|
37496
|
-
{
|
|
37497
|
-
"kind": "method",
|
|
37498
|
-
"name": "reportValidity",
|
|
37499
|
-
"privacy": "public",
|
|
37500
|
-
"return": {
|
|
37501
|
-
"type": {
|
|
37502
|
-
"text": "boolean"
|
|
37503
|
-
}
|
|
37504
|
-
},
|
|
37505
|
-
"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.",
|
|
37506
|
-
"inheritedFrom": {
|
|
37507
|
-
"name": "SbbFormAssociatedMixin",
|
|
37508
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37509
|
-
}
|
|
37510
|
-
},
|
|
37511
|
-
{
|
|
37512
|
-
"kind": "method",
|
|
37513
|
-
"name": "setCustomValidity",
|
|
37514
|
-
"privacy": "public",
|
|
37515
|
-
"return": {
|
|
37516
|
-
"type": {
|
|
37517
|
-
"text": "void"
|
|
37518
|
-
}
|
|
37519
|
-
},
|
|
37520
|
-
"parameters": [
|
|
37521
|
-
{
|
|
37522
|
-
"name": "message",
|
|
37523
|
-
"type": {
|
|
37524
|
-
"text": "string"
|
|
37525
|
-
}
|
|
37526
|
-
}
|
|
37527
|
-
],
|
|
37528
|
-
"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.",
|
|
37529
|
-
"inheritedFrom": {
|
|
37530
|
-
"name": "SbbFormAssociatedMixin",
|
|
37531
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37532
|
-
}
|
|
37533
|
-
},
|
|
37534
|
-
{
|
|
37535
|
-
"kind": "method",
|
|
37536
|
-
"name": "_hasDisabledAncestor",
|
|
37537
|
-
"privacy": "private",
|
|
37538
|
-
"return": {
|
|
37539
|
-
"type": {
|
|
37540
|
-
"text": "boolean"
|
|
37541
|
-
}
|
|
37542
|
-
},
|
|
37543
|
-
"inheritedFrom": {
|
|
37544
|
-
"name": "SbbFormAssociatedMixin",
|
|
37545
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37546
|
-
}
|
|
37547
|
-
},
|
|
37548
|
-
{
|
|
37549
|
-
"kind": "method",
|
|
37550
|
-
"name": "updateFormValue",
|
|
37551
|
-
"privacy": "protected",
|
|
37552
|
-
"return": {
|
|
37553
|
-
"type": {
|
|
37554
|
-
"text": "void"
|
|
37555
|
-
}
|
|
37556
|
-
},
|
|
37557
|
-
"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",
|
|
37558
|
-
"inheritedFrom": {
|
|
37559
|
-
"name": "SbbFormAssociatedMixin",
|
|
37560
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37561
|
-
}
|
|
37562
|
-
},
|
|
37563
|
-
{
|
|
37564
|
-
"kind": "method",
|
|
37565
|
-
"name": "formState",
|
|
37566
|
-
"privacy": "protected",
|
|
37567
|
-
"return": {
|
|
37568
|
-
"type": {
|
|
37569
|
-
"text": "FormRestoreState"
|
|
37570
|
-
}
|
|
37571
|
-
},
|
|
37572
|
-
"inheritedFrom": {
|
|
37573
|
-
"name": "SbbFormAssociatedMixin",
|
|
37574
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37575
|
-
}
|
|
37576
|
-
},
|
|
37577
|
-
{
|
|
37578
|
-
"kind": "method",
|
|
37579
|
-
"name": "setValidityFlag",
|
|
37580
|
-
"privacy": "protected",
|
|
37581
|
-
"return": {
|
|
37582
|
-
"type": {
|
|
37583
|
-
"text": "void"
|
|
37521
|
+
"text": "void"
|
|
37584
37522
|
}
|
|
37585
37523
|
},
|
|
37586
37524
|
"parameters": [
|
|
37587
37525
|
{
|
|
37588
|
-
"name": "
|
|
37589
|
-
"type": {
|
|
37590
|
-
"text": "T"
|
|
37591
|
-
}
|
|
37592
|
-
},
|
|
37593
|
-
{
|
|
37594
|
-
"name": "message",
|
|
37526
|
+
"name": "value",
|
|
37595
37527
|
"type": {
|
|
37596
37528
|
"text": "string"
|
|
37597
37529
|
}
|
|
37598
37530
|
},
|
|
37599
37531
|
{
|
|
37600
|
-
"name": "
|
|
37532
|
+
"name": "force",
|
|
37601
37533
|
"optional": true,
|
|
37602
37534
|
"type": {
|
|
37603
|
-
"text": "
|
|
37604
|
-
}
|
|
37605
|
-
}
|
|
37606
|
-
],
|
|
37607
|
-
"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).",
|
|
37608
|
-
"inheritedFrom": {
|
|
37609
|
-
"name": "SbbFormAssociatedMixin",
|
|
37610
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37611
|
-
}
|
|
37612
|
-
},
|
|
37613
|
-
{
|
|
37614
|
-
"kind": "method",
|
|
37615
|
-
"name": "removeValidityFlag",
|
|
37616
|
-
"privacy": "protected",
|
|
37617
|
-
"return": {
|
|
37618
|
-
"type": {
|
|
37619
|
-
"text": "void"
|
|
37620
|
-
}
|
|
37621
|
-
},
|
|
37622
|
-
"parameters": [
|
|
37623
|
-
{
|
|
37624
|
-
"name": "flag",
|
|
37625
|
-
"type": {
|
|
37626
|
-
"text": "T"
|
|
37627
|
-
}
|
|
37628
|
-
}
|
|
37629
|
-
],
|
|
37630
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
37631
|
-
"inheritedFrom": {
|
|
37632
|
-
"name": "SbbFormAssociatedMixin",
|
|
37633
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37634
|
-
}
|
|
37635
|
-
},
|
|
37636
|
-
{
|
|
37637
|
-
"kind": "method",
|
|
37638
|
-
"name": "validate",
|
|
37639
|
-
"privacy": "protected",
|
|
37640
|
-
"return": {
|
|
37641
|
-
"type": {
|
|
37642
|
-
"text": "void"
|
|
37643
|
-
}
|
|
37644
|
-
},
|
|
37645
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
37646
|
-
"inheritedFrom": {
|
|
37647
|
-
"name": "SbbFormAssociatedMixin",
|
|
37648
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37649
|
-
}
|
|
37650
|
-
},
|
|
37651
|
-
{
|
|
37652
|
-
"kind": "method",
|
|
37653
|
-
"name": "shouldValidate",
|
|
37654
|
-
"privacy": "protected",
|
|
37655
|
-
"return": {
|
|
37656
|
-
"type": {
|
|
37657
|
-
"text": "boolean"
|
|
37658
|
-
}
|
|
37659
|
-
},
|
|
37660
|
-
"parameters": [
|
|
37661
|
-
{
|
|
37662
|
-
"name": "name",
|
|
37663
|
-
"type": {
|
|
37664
|
-
"text": "PropertyKey | undefined"
|
|
37535
|
+
"text": "boolean"
|
|
37665
37536
|
}
|
|
37666
37537
|
}
|
|
37667
37538
|
],
|
|
37668
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
37669
|
-
"inheritedFrom": {
|
|
37670
|
-
"name": "SbbFormAssociatedMixin",
|
|
37671
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37672
|
-
}
|
|
37673
|
-
},
|
|
37674
|
-
{
|
|
37675
|
-
"kind": "method",
|
|
37676
|
-
"name": "_setInternalValidity",
|
|
37677
|
-
"privacy": "private",
|
|
37678
|
-
"return": {
|
|
37679
|
-
"type": {
|
|
37680
|
-
"text": "void"
|
|
37681
|
-
}
|
|
37682
|
-
},
|
|
37683
37539
|
"inheritedFrom": {
|
|
37684
|
-
"name": "
|
|
37685
|
-
"module": "core/mixins/
|
|
37540
|
+
"name": "SbbElementInternalsMixin",
|
|
37541
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
37686
37542
|
}
|
|
37687
37543
|
},
|
|
37688
37544
|
{
|
|
37689
37545
|
"kind": "field",
|
|
37690
|
-
"name": "
|
|
37546
|
+
"name": "['_$sbbElement$']",
|
|
37691
37547
|
"type": {
|
|
37692
|
-
"text": "
|
|
37548
|
+
"text": "boolean"
|
|
37693
37549
|
},
|
|
37694
37550
|
"privacy": "public",
|
|
37695
37551
|
"static": true,
|
|
37696
|
-
"
|
|
37697
|
-
"default": "'button'",
|
|
37552
|
+
"default": "true",
|
|
37698
37553
|
"inheritedFrom": {
|
|
37699
|
-
"name": "
|
|
37700
|
-
"module": "core/base-elements/
|
|
37554
|
+
"name": "SbbElement",
|
|
37555
|
+
"module": "core/base-elements/element.js"
|
|
37701
37556
|
}
|
|
37702
37557
|
},
|
|
37703
37558
|
{
|
|
37704
37559
|
"kind": "field",
|
|
37705
|
-
"name": "
|
|
37560
|
+
"name": "_controllers",
|
|
37561
|
+
"type": {
|
|
37562
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
37563
|
+
},
|
|
37706
37564
|
"privacy": "private",
|
|
37707
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
37708
|
-
"parameters": [
|
|
37709
|
-
{
|
|
37710
|
-
"description": "The origin event.",
|
|
37711
|
-
"name": "event"
|
|
37712
|
-
}
|
|
37713
|
-
],
|
|
37714
37565
|
"inheritedFrom": {
|
|
37715
|
-
"name": "
|
|
37716
|
-
"module": "core/base-elements/
|
|
37566
|
+
"name": "SbbElement",
|
|
37567
|
+
"module": "core/base-elements/element.js"
|
|
37717
37568
|
}
|
|
37569
|
+
}
|
|
37570
|
+
],
|
|
37571
|
+
"mixins": [
|
|
37572
|
+
{
|
|
37573
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37574
|
+
"module": "button/common/button-common.js"
|
|
37718
37575
|
},
|
|
37719
37576
|
{
|
|
37720
|
-
"
|
|
37721
|
-
"
|
|
37722
|
-
"privacy": "private",
|
|
37723
|
-
"inheritedFrom": {
|
|
37724
|
-
"name": "SbbButtonLikeBaseElement",
|
|
37725
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37726
|
-
}
|
|
37577
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
37578
|
+
"module": "core/mixins.js"
|
|
37727
37579
|
},
|
|
37728
37580
|
{
|
|
37729
|
-
"
|
|
37730
|
-
"
|
|
37731
|
-
|
|
37732
|
-
|
|
37733
|
-
|
|
37734
|
-
|
|
37735
|
-
|
|
37736
|
-
|
|
37737
|
-
|
|
37738
|
-
|
|
37581
|
+
"name": "SbbDisabledMixin",
|
|
37582
|
+
"module": "core/mixins.js"
|
|
37583
|
+
}
|
|
37584
|
+
],
|
|
37585
|
+
"superclass": {
|
|
37586
|
+
"name": "SbbLinkBaseElement",
|
|
37587
|
+
"module": "core/base-elements.js"
|
|
37588
|
+
},
|
|
37589
|
+
"tagName": "sbb-accent-button-link",
|
|
37590
|
+
"customElement": true,
|
|
37591
|
+
"attributes": [
|
|
37592
|
+
{
|
|
37593
|
+
"name": "size",
|
|
37594
|
+
"type": {
|
|
37595
|
+
"text": "SbbButtonSize"
|
|
37596
|
+
},
|
|
37597
|
+
"description": "Size variant, either l, m or s.",
|
|
37598
|
+
"default": "'l' / 's' (lean)",
|
|
37599
|
+
"fieldName": "size",
|
|
37739
37600
|
"inheritedFrom": {
|
|
37740
|
-
"name": "
|
|
37741
|
-
"module": "
|
|
37601
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37602
|
+
"module": "button/common/button-common.js"
|
|
37742
37603
|
}
|
|
37743
37604
|
},
|
|
37744
37605
|
{
|
|
37745
|
-
"
|
|
37746
|
-
"
|
|
37747
|
-
|
|
37606
|
+
"name": "loading",
|
|
37607
|
+
"type": {
|
|
37608
|
+
"text": "boolean"
|
|
37609
|
+
},
|
|
37610
|
+
"default": "false",
|
|
37611
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
37612
|
+
"fieldName": "loading",
|
|
37748
37613
|
"inheritedFrom": {
|
|
37749
|
-
"name": "
|
|
37750
|
-
"module": "
|
|
37614
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37615
|
+
"module": "button/common/button-common.js"
|
|
37751
37616
|
}
|
|
37752
37617
|
},
|
|
37753
37618
|
{
|
|
37754
|
-
"
|
|
37755
|
-
"name": "maybeDisabled",
|
|
37619
|
+
"name": "negative",
|
|
37756
37620
|
"type": {
|
|
37757
|
-
"text": "boolean
|
|
37621
|
+
"text": "boolean"
|
|
37758
37622
|
},
|
|
37759
|
-
"
|
|
37760
|
-
"
|
|
37623
|
+
"default": "false",
|
|
37624
|
+
"description": "Negative coloring variant flag.",
|
|
37625
|
+
"fieldName": "negative",
|
|
37761
37626
|
"inheritedFrom": {
|
|
37762
|
-
"name": "
|
|
37763
|
-
"module": "core/
|
|
37627
|
+
"name": "SbbNegativeMixin",
|
|
37628
|
+
"module": "core/mixins/negative-mixin.js"
|
|
37764
37629
|
}
|
|
37765
37630
|
},
|
|
37766
37631
|
{
|
|
37767
|
-
"
|
|
37768
|
-
"name": "maybeDisabledInteractive",
|
|
37632
|
+
"name": "icon-name",
|
|
37769
37633
|
"type": {
|
|
37770
|
-
"text": "
|
|
37634
|
+
"text": "string"
|
|
37771
37635
|
},
|
|
37772
|
-
"
|
|
37773
|
-
"
|
|
37636
|
+
"default": "''",
|
|
37637
|
+
"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.",
|
|
37638
|
+
"fieldName": "iconName",
|
|
37774
37639
|
"inheritedFrom": {
|
|
37775
|
-
"name": "
|
|
37776
|
-
"module": "
|
|
37640
|
+
"name": "SbbIconNameMixin",
|
|
37641
|
+
"module": "icon/icon-name-mixin.js"
|
|
37777
37642
|
}
|
|
37778
37643
|
},
|
|
37779
37644
|
{
|
|
37780
|
-
"
|
|
37781
|
-
"
|
|
37782
|
-
|
|
37783
|
-
"return": {
|
|
37784
|
-
"type": {
|
|
37785
|
-
"text": "void"
|
|
37786
|
-
}
|
|
37645
|
+
"name": "disabled-interactive",
|
|
37646
|
+
"type": {
|
|
37647
|
+
"text": "boolean"
|
|
37787
37648
|
},
|
|
37649
|
+
"default": "false",
|
|
37650
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
37651
|
+
"fieldName": "disabledInteractive",
|
|
37788
37652
|
"inheritedFrom": {
|
|
37789
|
-
"name": "
|
|
37790
|
-
"module": "core/
|
|
37653
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
37654
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37791
37655
|
}
|
|
37792
37656
|
},
|
|
37793
37657
|
{
|
|
37794
|
-
"
|
|
37795
|
-
"
|
|
37658
|
+
"name": "disabled",
|
|
37659
|
+
"description": "Whether the component is disabled.",
|
|
37660
|
+
"default": "false",
|
|
37796
37661
|
"type": {
|
|
37797
37662
|
"text": "boolean"
|
|
37798
37663
|
},
|
|
37799
|
-
"
|
|
37800
|
-
"default": "!!this.shadowRoot",
|
|
37664
|
+
"fieldName": "disabled",
|
|
37801
37665
|
"inheritedFrom": {
|
|
37802
|
-
"name": "
|
|
37803
|
-
"module": "core/mixins/
|
|
37666
|
+
"name": "SbbDisabledMixin",
|
|
37667
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37804
37668
|
}
|
|
37805
37669
|
},
|
|
37806
37670
|
{
|
|
37807
|
-
"
|
|
37808
|
-
"
|
|
37809
|
-
|
|
37810
|
-
|
|
37671
|
+
"name": "href",
|
|
37672
|
+
"type": {
|
|
37673
|
+
"text": "string"
|
|
37674
|
+
},
|
|
37675
|
+
"default": "''",
|
|
37676
|
+
"description": "The href value you want to link to.",
|
|
37677
|
+
"fieldName": "href",
|
|
37811
37678
|
"inheritedFrom": {
|
|
37812
|
-
"name": "
|
|
37813
|
-
"module": "core/
|
|
37679
|
+
"name": "SbbLinkBaseElement",
|
|
37680
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37814
37681
|
}
|
|
37815
37682
|
},
|
|
37816
37683
|
{
|
|
37817
|
-
"
|
|
37818
|
-
"name": "_resolveHydration",
|
|
37684
|
+
"name": "target",
|
|
37819
37685
|
"type": {
|
|
37820
|
-
"text": "
|
|
37686
|
+
"text": "LinkTargetType | string"
|
|
37821
37687
|
},
|
|
37822
|
-
"
|
|
37688
|
+
"default": "''",
|
|
37689
|
+
"description": "Where to display the linked URL.",
|
|
37690
|
+
"fieldName": "target",
|
|
37823
37691
|
"inheritedFrom": {
|
|
37824
|
-
"name": "
|
|
37825
|
-
"module": "core/
|
|
37692
|
+
"name": "SbbLinkBaseElement",
|
|
37693
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37826
37694
|
}
|
|
37827
37695
|
},
|
|
37828
37696
|
{
|
|
37829
|
-
"
|
|
37830
|
-
"name": "hydrationRequired",
|
|
37697
|
+
"name": "rel",
|
|
37831
37698
|
"type": {
|
|
37832
|
-
"text": "
|
|
37699
|
+
"text": "string"
|
|
37833
37700
|
},
|
|
37834
|
-
"
|
|
37835
|
-
"description": "
|
|
37836
|
-
"
|
|
37701
|
+
"default": "''",
|
|
37702
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37703
|
+
"fieldName": "rel",
|
|
37837
37704
|
"inheritedFrom": {
|
|
37838
|
-
"name": "
|
|
37839
|
-
"module": "core/
|
|
37840
|
-
}
|
|
37841
|
-
"default": "!!this.shadowRoot"
|
|
37705
|
+
"name": "SbbLinkBaseElement",
|
|
37706
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37707
|
+
}
|
|
37842
37708
|
},
|
|
37843
37709
|
{
|
|
37844
|
-
"
|
|
37845
|
-
"
|
|
37846
|
-
|
|
37847
|
-
"return": {
|
|
37848
|
-
"type": {
|
|
37849
|
-
"text": "void"
|
|
37850
|
-
}
|
|
37710
|
+
"name": "download",
|
|
37711
|
+
"type": {
|
|
37712
|
+
"text": "boolean"
|
|
37851
37713
|
},
|
|
37852
|
-
"
|
|
37853
|
-
|
|
37854
|
-
|
|
37855
|
-
"type": {
|
|
37856
|
-
"text": "string"
|
|
37857
|
-
}
|
|
37858
|
-
},
|
|
37859
|
-
{
|
|
37860
|
-
"name": "force",
|
|
37861
|
-
"optional": true,
|
|
37862
|
-
"type": {
|
|
37863
|
-
"text": "boolean"
|
|
37864
|
-
}
|
|
37865
|
-
}
|
|
37866
|
-
],
|
|
37714
|
+
"default": "false",
|
|
37715
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
37716
|
+
"fieldName": "download",
|
|
37867
37717
|
"inheritedFrom": {
|
|
37868
|
-
"name": "
|
|
37869
|
-
"module": "core/
|
|
37718
|
+
"name": "SbbLinkBaseElement",
|
|
37719
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37870
37720
|
}
|
|
37871
37721
|
},
|
|
37872
37722
|
{
|
|
37873
|
-
"
|
|
37874
|
-
"name": "['_$sbbElement$']",
|
|
37723
|
+
"name": "accessibility-label",
|
|
37875
37724
|
"type": {
|
|
37876
|
-
"text": "
|
|
37725
|
+
"text": "string"
|
|
37877
37726
|
},
|
|
37878
|
-
"
|
|
37879
|
-
"
|
|
37880
|
-
"
|
|
37727
|
+
"default": "''",
|
|
37728
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37729
|
+
"fieldName": "accessibilityLabel",
|
|
37881
37730
|
"inheritedFrom": {
|
|
37882
|
-
"name": "
|
|
37883
|
-
"module": "core/base-elements/element.js"
|
|
37731
|
+
"name": "SbbLinkBaseElement",
|
|
37732
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37884
37733
|
}
|
|
37885
37734
|
},
|
|
37886
37735
|
{
|
|
37887
|
-
"
|
|
37888
|
-
"name": "_controllers",
|
|
37736
|
+
"name": "accessibility-current",
|
|
37889
37737
|
"type": {
|
|
37890
|
-
"text": "
|
|
37738
|
+
"text": "string"
|
|
37891
37739
|
},
|
|
37892
|
-
"
|
|
37740
|
+
"default": "''",
|
|
37741
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37742
|
+
"fieldName": "accessibilityCurrent",
|
|
37893
37743
|
"inheritedFrom": {
|
|
37894
|
-
"name": "
|
|
37895
|
-
"module": "core/base-elements/element.js"
|
|
37744
|
+
"name": "SbbLinkBaseElement",
|
|
37745
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37896
37746
|
}
|
|
37897
37747
|
}
|
|
37748
|
+
]
|
|
37749
|
+
}
|
|
37750
|
+
],
|
|
37751
|
+
"exports": [
|
|
37752
|
+
{
|
|
37753
|
+
"kind": "js",
|
|
37754
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37755
|
+
"declaration": {
|
|
37756
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37757
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
37758
|
+
}
|
|
37759
|
+
}
|
|
37760
|
+
]
|
|
37761
|
+
},
|
|
37762
|
+
{
|
|
37763
|
+
"kind": "javascript-module",
|
|
37764
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
37765
|
+
"declarations": [
|
|
37766
|
+
{
|
|
37767
|
+
"kind": "class",
|
|
37768
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37769
|
+
"name": "SbbAccentButtonElement",
|
|
37770
|
+
"cssProperties": [
|
|
37771
|
+
{
|
|
37772
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
37773
|
+
"name": "--sbb-button-loading-delay",
|
|
37774
|
+
"default": "300ms"
|
|
37775
|
+
}
|
|
37898
37776
|
],
|
|
37899
|
-
"
|
|
37777
|
+
"slots": [
|
|
37900
37778
|
{
|
|
37901
|
-
"
|
|
37902
|
-
"
|
|
37779
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
37780
|
+
"name": ""
|
|
37903
37781
|
},
|
|
37904
37782
|
{
|
|
37905
|
-
"
|
|
37906
|
-
"
|
|
37783
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
37784
|
+
"name": "icon"
|
|
37907
37785
|
}
|
|
37908
37786
|
],
|
|
37909
|
-
"
|
|
37910
|
-
|
|
37911
|
-
|
|
37912
|
-
|
|
37913
|
-
|
|
37914
|
-
|
|
37915
|
-
|
|
37787
|
+
"members": [
|
|
37788
|
+
{
|
|
37789
|
+
"kind": "field",
|
|
37790
|
+
"name": "elementName",
|
|
37791
|
+
"type": {
|
|
37792
|
+
"text": "string"
|
|
37793
|
+
},
|
|
37794
|
+
"privacy": "public",
|
|
37795
|
+
"static": true,
|
|
37796
|
+
"readonly": true,
|
|
37797
|
+
"default": "'sbb-accent-button'",
|
|
37798
|
+
"inheritedFrom": {
|
|
37799
|
+
"name": "SbbElement",
|
|
37800
|
+
"module": "core/base-elements/element.js"
|
|
37801
|
+
}
|
|
37802
|
+
},
|
|
37916
37803
|
{
|
|
37804
|
+
"kind": "field",
|
|
37917
37805
|
"name": "size",
|
|
37918
37806
|
"type": {
|
|
37919
37807
|
"text": "SbbButtonSize"
|
|
37920
37808
|
},
|
|
37809
|
+
"privacy": "public",
|
|
37921
37810
|
"description": "Size variant, either l, m or s.",
|
|
37922
37811
|
"default": "'l' / 's' (lean)",
|
|
37923
|
-
"
|
|
37812
|
+
"attribute": "size",
|
|
37813
|
+
"reflects": true,
|
|
37924
37814
|
"inheritedFrom": {
|
|
37925
37815
|
"name": "SbbButtonCommonElementMixin",
|
|
37926
37816
|
"module": "button/common/button-common.js"
|
|
37927
37817
|
}
|
|
37928
37818
|
},
|
|
37929
37819
|
{
|
|
37820
|
+
"kind": "field",
|
|
37930
37821
|
"name": "loading",
|
|
37931
37822
|
"type": {
|
|
37932
37823
|
"text": "boolean"
|
|
37933
37824
|
},
|
|
37825
|
+
"privacy": "public",
|
|
37934
37826
|
"default": "false",
|
|
37935
37827
|
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
37936
|
-
"
|
|
37828
|
+
"attribute": "loading",
|
|
37829
|
+
"reflects": true,
|
|
37937
37830
|
"inheritedFrom": {
|
|
37938
37831
|
"name": "SbbButtonCommonElementMixin",
|
|
37939
37832
|
"module": "button/common/button-common.js"
|
|
37940
37833
|
}
|
|
37941
37834
|
},
|
|
37942
37835
|
{
|
|
37836
|
+
"kind": "method",
|
|
37837
|
+
"name": "renderTemplate",
|
|
37838
|
+
"privacy": "protected",
|
|
37839
|
+
"return": {
|
|
37840
|
+
"type": {
|
|
37841
|
+
"text": "TemplateResult"
|
|
37842
|
+
}
|
|
37843
|
+
},
|
|
37844
|
+
"description": "Override this method to render the component template.",
|
|
37845
|
+
"inheritedFrom": {
|
|
37846
|
+
"name": "SbbActionBaseElement",
|
|
37847
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37848
|
+
}
|
|
37849
|
+
},
|
|
37850
|
+
{
|
|
37851
|
+
"kind": "field",
|
|
37943
37852
|
"name": "negative",
|
|
37944
37853
|
"type": {
|
|
37945
37854
|
"text": "boolean"
|
|
37946
37855
|
},
|
|
37856
|
+
"privacy": "public",
|
|
37947
37857
|
"default": "false",
|
|
37948
37858
|
"description": "Negative coloring variant flag.",
|
|
37949
|
-
"
|
|
37859
|
+
"attribute": "negative",
|
|
37860
|
+
"reflects": true,
|
|
37950
37861
|
"inheritedFrom": {
|
|
37951
37862
|
"name": "SbbNegativeMixin",
|
|
37952
37863
|
"module": "core/mixins/negative-mixin.js"
|
|
37953
37864
|
}
|
|
37954
37865
|
},
|
|
37955
37866
|
{
|
|
37956
|
-
"
|
|
37867
|
+
"kind": "field",
|
|
37868
|
+
"name": "iconName",
|
|
37957
37869
|
"type": {
|
|
37958
37870
|
"text": "string"
|
|
37959
37871
|
},
|
|
37872
|
+
"privacy": "public",
|
|
37960
37873
|
"default": "''",
|
|
37961
37874
|
"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.",
|
|
37962
|
-
"
|
|
37875
|
+
"attribute": "icon-name",
|
|
37963
37876
|
"inheritedFrom": {
|
|
37964
37877
|
"name": "SbbIconNameMixin",
|
|
37965
37878
|
"module": "icon/icon-name-mixin.js"
|
|
37966
37879
|
}
|
|
37967
37880
|
},
|
|
37968
37881
|
{
|
|
37969
|
-
"
|
|
37882
|
+
"kind": "method",
|
|
37883
|
+
"name": "renderIconSlot",
|
|
37884
|
+
"privacy": "protected",
|
|
37885
|
+
"return": {
|
|
37886
|
+
"type": {
|
|
37887
|
+
"text": "TemplateResult"
|
|
37888
|
+
}
|
|
37889
|
+
},
|
|
37890
|
+
"parameters": [
|
|
37891
|
+
{
|
|
37892
|
+
"name": "classname",
|
|
37893
|
+
"optional": true,
|
|
37894
|
+
"type": {
|
|
37895
|
+
"text": "string"
|
|
37896
|
+
}
|
|
37897
|
+
}
|
|
37898
|
+
],
|
|
37899
|
+
"inheritedFrom": {
|
|
37900
|
+
"name": "SbbIconNameMixin",
|
|
37901
|
+
"module": "icon/icon-name-mixin.js"
|
|
37902
|
+
}
|
|
37903
|
+
},
|
|
37904
|
+
{
|
|
37905
|
+
"kind": "method",
|
|
37906
|
+
"name": "renderIconName",
|
|
37907
|
+
"privacy": "protected",
|
|
37908
|
+
"return": {
|
|
37909
|
+
"type": {
|
|
37910
|
+
"text": "string"
|
|
37911
|
+
}
|
|
37912
|
+
},
|
|
37913
|
+
"inheritedFrom": {
|
|
37914
|
+
"name": "SbbIconNameMixin",
|
|
37915
|
+
"module": "icon/icon-name-mixin.js"
|
|
37916
|
+
}
|
|
37917
|
+
},
|
|
37918
|
+
{
|
|
37919
|
+
"kind": "method",
|
|
37920
|
+
"name": "_renderIconName",
|
|
37921
|
+
"privacy": "private",
|
|
37922
|
+
"return": {
|
|
37923
|
+
"type": {
|
|
37924
|
+
"text": "string"
|
|
37925
|
+
}
|
|
37926
|
+
},
|
|
37927
|
+
"inheritedFrom": {
|
|
37928
|
+
"name": "SbbIconNameMixin",
|
|
37929
|
+
"module": "icon/icon-name-mixin.js"
|
|
37930
|
+
}
|
|
37931
|
+
},
|
|
37932
|
+
{
|
|
37933
|
+
"kind": "field",
|
|
37934
|
+
"name": "disabledInteractive",
|
|
37970
37935
|
"type": {
|
|
37971
37936
|
"text": "boolean"
|
|
37972
37937
|
},
|
|
37938
|
+
"privacy": "public",
|
|
37973
37939
|
"default": "false",
|
|
37974
37940
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
37975
|
-
"
|
|
37941
|
+
"attribute": "disabled-interactive",
|
|
37942
|
+
"reflects": true,
|
|
37976
37943
|
"inheritedFrom": {
|
|
37977
37944
|
"name": "SbbDisabledInteractiveMixin",
|
|
37978
37945
|
"module": "core/mixins/disabled-mixin.js"
|
|
37979
37946
|
}
|
|
37980
37947
|
},
|
|
37981
37948
|
{
|
|
37949
|
+
"kind": "field",
|
|
37982
37950
|
"name": "disabled",
|
|
37951
|
+
"privacy": "public",
|
|
37983
37952
|
"description": "Whether the component is disabled.",
|
|
37984
37953
|
"default": "false",
|
|
37985
37954
|
"type": {
|
|
37986
37955
|
"text": "boolean"
|
|
37987
37956
|
},
|
|
37988
|
-
"
|
|
37957
|
+
"attribute": "disabled",
|
|
37958
|
+
"reflects": true,
|
|
37959
|
+
"inheritedFrom": {
|
|
37960
|
+
"name": "SbbDisabledMixin",
|
|
37961
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37962
|
+
}
|
|
37963
|
+
},
|
|
37964
|
+
{
|
|
37965
|
+
"kind": "field",
|
|
37966
|
+
"name": "#disabled",
|
|
37967
|
+
"privacy": "private",
|
|
37968
|
+
"type": {
|
|
37969
|
+
"text": "boolean"
|
|
37970
|
+
},
|
|
37971
|
+
"default": "false",
|
|
37972
|
+
"inheritedFrom": {
|
|
37973
|
+
"name": "SbbDisabledMixin",
|
|
37974
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37975
|
+
}
|
|
37976
|
+
},
|
|
37977
|
+
{
|
|
37978
|
+
"kind": "method",
|
|
37979
|
+
"name": "isDisabledExternally",
|
|
37980
|
+
"privacy": "protected",
|
|
37981
|
+
"return": {
|
|
37982
|
+
"type": {
|
|
37983
|
+
"text": "boolean"
|
|
37984
|
+
}
|
|
37985
|
+
},
|
|
37986
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
37989
37987
|
"inheritedFrom": {
|
|
37990
37988
|
"name": "SbbDisabledMixin",
|
|
37991
37989
|
"module": "core/mixins/disabled-mixin.js"
|
|
37992
37990
|
}
|
|
37993
37991
|
},
|
|
37994
37992
|
{
|
|
37993
|
+
"kind": "field",
|
|
37994
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
37995
|
+
"type": {
|
|
37996
|
+
"text": "array"
|
|
37997
|
+
},
|
|
37998
|
+
"privacy": "private",
|
|
37999
|
+
"readonly": true,
|
|
38000
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
38001
|
+
"inheritedFrom": {
|
|
38002
|
+
"name": "SbbButtonBaseElement",
|
|
38003
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38004
|
+
}
|
|
38005
|
+
},
|
|
38006
|
+
{
|
|
38007
|
+
"kind": "field",
|
|
37995
38008
|
"name": "value",
|
|
37996
38009
|
"type": {
|
|
37997
38010
|
"text": "string"
|
|
37998
38011
|
},
|
|
38012
|
+
"privacy": "public",
|
|
37999
38013
|
"default": "''",
|
|
38000
38014
|
"description": "Value of the form element.",
|
|
38001
|
-
"
|
|
38015
|
+
"attribute": "value",
|
|
38002
38016
|
"inheritedFrom": {
|
|
38003
38017
|
"name": "SbbButtonBaseElement",
|
|
38004
38018
|
"module": "core/base-elements/button-base-element.js"
|
|
38005
38019
|
}
|
|
38006
38020
|
},
|
|
38007
38021
|
{
|
|
38022
|
+
"kind": "field",
|
|
38008
38023
|
"name": "type",
|
|
38024
|
+
"privacy": "public",
|
|
38009
38025
|
"description": "The type attribute to use for the button.",
|
|
38010
38026
|
"default": "'button'",
|
|
38011
38027
|
"type": {
|
|
38012
38028
|
"text": "SbbButtonType"
|
|
38013
38029
|
},
|
|
38014
|
-
"
|
|
38030
|
+
"attribute": "type",
|
|
38015
38031
|
"inheritedFrom": {
|
|
38016
38032
|
"name": "SbbButtonBaseElement",
|
|
38017
38033
|
"module": "core/base-elements/button-base-element.js"
|
|
38018
38034
|
}
|
|
38019
38035
|
},
|
|
38020
38036
|
{
|
|
38037
|
+
"kind": "field",
|
|
38021
38038
|
"name": "form",
|
|
38022
|
-
"description": "The `<form>` element to associate the button with.",
|
|
38023
38039
|
"type": {
|
|
38024
38040
|
"text": "HTMLFormElement | null"
|
|
38025
38041
|
},
|
|
38026
|
-
"
|
|
38042
|
+
"privacy": "public",
|
|
38043
|
+
"description": "The `<form>` element to associate the button with.",
|
|
38044
|
+
"attribute": "form",
|
|
38027
38045
|
"inheritedFrom": {
|
|
38028
38046
|
"name": "SbbButtonBaseElement",
|
|
38029
38047
|
"module": "core/base-elements/button-base-element.js"
|
|
38030
38048
|
}
|
|
38031
38049
|
},
|
|
38032
38050
|
{
|
|
38033
|
-
"
|
|
38034
|
-
"
|
|
38051
|
+
"kind": "field",
|
|
38052
|
+
"name": "_formId",
|
|
38035
38053
|
"type": {
|
|
38036
38054
|
"text": "string"
|
|
38037
38055
|
},
|
|
38038
|
-
"
|
|
38056
|
+
"privacy": "private",
|
|
38057
|
+
"default": "''",
|
|
38039
38058
|
"inheritedFrom": {
|
|
38040
|
-
"name": "
|
|
38041
|
-
"module": "core/
|
|
38059
|
+
"name": "SbbButtonBaseElement",
|
|
38060
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38042
38061
|
}
|
|
38043
|
-
}
|
|
38044
|
-
]
|
|
38045
|
-
}
|
|
38046
|
-
],
|
|
38047
|
-
"exports": [
|
|
38048
|
-
{
|
|
38049
|
-
"kind": "js",
|
|
38050
|
-
"name": "SbbAccentButtonElement",
|
|
38051
|
-
"declaration": {
|
|
38052
|
-
"name": "SbbAccentButtonElement",
|
|
38053
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
38054
|
-
}
|
|
38055
|
-
}
|
|
38056
|
-
]
|
|
38057
|
-
},
|
|
38058
|
-
{
|
|
38059
|
-
"kind": "javascript-module",
|
|
38060
|
-
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
38061
|
-
"declarations": [
|
|
38062
|
-
{
|
|
38063
|
-
"kind": "class",
|
|
38064
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
38065
|
-
"name": "SbbAccentButtonLinkElement",
|
|
38066
|
-
"cssProperties": [
|
|
38062
|
+
},
|
|
38067
38063
|
{
|
|
38068
|
-
"
|
|
38069
|
-
"name": "
|
|
38070
|
-
"
|
|
38071
|
-
|
|
38072
|
-
|
|
38073
|
-
|
|
38064
|
+
"kind": "field",
|
|
38065
|
+
"name": "_handleButtonClick",
|
|
38066
|
+
"privacy": "private",
|
|
38067
|
+
"inheritedFrom": {
|
|
38068
|
+
"name": "SbbButtonBaseElement",
|
|
38069
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38070
|
+
}
|
|
38071
|
+
},
|
|
38074
38072
|
{
|
|
38075
|
-
"
|
|
38076
|
-
"name": ""
|
|
38073
|
+
"kind": "method",
|
|
38074
|
+
"name": "_requestSubmit",
|
|
38075
|
+
"privacy": "private",
|
|
38076
|
+
"return": {
|
|
38077
|
+
"type": {
|
|
38078
|
+
"text": "void"
|
|
38079
|
+
}
|
|
38080
|
+
},
|
|
38081
|
+
"parameters": [
|
|
38082
|
+
{
|
|
38083
|
+
"name": "form",
|
|
38084
|
+
"type": {
|
|
38085
|
+
"text": "HTMLFormElement"
|
|
38086
|
+
}
|
|
38087
|
+
}
|
|
38088
|
+
],
|
|
38089
|
+
"inheritedFrom": {
|
|
38090
|
+
"name": "SbbButtonBaseElement",
|
|
38091
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38092
|
+
}
|
|
38077
38093
|
},
|
|
38078
38094
|
{
|
|
38079
|
-
"
|
|
38080
|
-
"name": "
|
|
38081
|
-
|
|
38082
|
-
|
|
38083
|
-
|
|
38095
|
+
"kind": "field",
|
|
38096
|
+
"name": "_formKeyDown",
|
|
38097
|
+
"privacy": "private",
|
|
38098
|
+
"inheritedFrom": {
|
|
38099
|
+
"name": "SbbButtonBaseElement",
|
|
38100
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38101
|
+
}
|
|
38102
|
+
},
|
|
38103
|
+
{
|
|
38104
|
+
"kind": "field",
|
|
38105
|
+
"name": "formAssociated",
|
|
38106
|
+
"type": {
|
|
38107
|
+
"text": "boolean"
|
|
38108
|
+
},
|
|
38109
|
+
"privacy": "public",
|
|
38110
|
+
"static": true,
|
|
38111
|
+
"default": "true",
|
|
38112
|
+
"inheritedFrom": {
|
|
38113
|
+
"name": "SbbFormAssociatedMixin",
|
|
38114
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38115
|
+
}
|
|
38116
|
+
},
|
|
38084
38117
|
{
|
|
38085
38118
|
"kind": "field",
|
|
38086
|
-
"name": "
|
|
38119
|
+
"name": "name",
|
|
38120
|
+
"privacy": "public",
|
|
38121
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
38087
38122
|
"type": {
|
|
38088
38123
|
"text": "string"
|
|
38089
38124
|
},
|
|
38125
|
+
"attribute": "name",
|
|
38126
|
+
"inheritedFrom": {
|
|
38127
|
+
"name": "SbbFormAssociatedMixin",
|
|
38128
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38129
|
+
}
|
|
38130
|
+
},
|
|
38131
|
+
{
|
|
38132
|
+
"kind": "field",
|
|
38133
|
+
"name": "validity",
|
|
38134
|
+
"type": {
|
|
38135
|
+
"text": "ValidityState"
|
|
38136
|
+
},
|
|
38090
38137
|
"privacy": "public",
|
|
38091
|
-
"
|
|
38138
|
+
"description": "Returns the ValidityState object for this element.",
|
|
38092
38139
|
"readonly": true,
|
|
38093
|
-
"default": "'sbb-accent-button-link'",
|
|
38094
38140
|
"inheritedFrom": {
|
|
38095
|
-
"name": "
|
|
38096
|
-
"module": "core/
|
|
38141
|
+
"name": "SbbFormAssociatedMixin",
|
|
38142
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38097
38143
|
}
|
|
38098
38144
|
},
|
|
38099
38145
|
{
|
|
38100
38146
|
"kind": "field",
|
|
38101
|
-
"name": "
|
|
38147
|
+
"name": "validationMessage",
|
|
38102
38148
|
"type": {
|
|
38103
|
-
"text": "
|
|
38149
|
+
"text": "string"
|
|
38104
38150
|
},
|
|
38105
38151
|
"privacy": "public",
|
|
38106
|
-
"description": "
|
|
38107
|
-
"
|
|
38108
|
-
"attribute": "size",
|
|
38109
|
-
"reflects": true,
|
|
38152
|
+
"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.",
|
|
38153
|
+
"readonly": true,
|
|
38110
38154
|
"inheritedFrom": {
|
|
38111
|
-
"name": "
|
|
38112
|
-
"module": "
|
|
38155
|
+
"name": "SbbFormAssociatedMixin",
|
|
38156
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38113
38157
|
}
|
|
38114
38158
|
},
|
|
38115
38159
|
{
|
|
38116
38160
|
"kind": "field",
|
|
38117
|
-
"name": "
|
|
38161
|
+
"name": "willValidate",
|
|
38118
38162
|
"type": {
|
|
38119
38163
|
"text": "boolean"
|
|
38120
38164
|
},
|
|
38121
38165
|
"privacy": "public",
|
|
38122
|
-
"
|
|
38123
|
-
"
|
|
38124
|
-
"attribute": "loading",
|
|
38125
|
-
"reflects": true,
|
|
38166
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
38167
|
+
"readonly": true,
|
|
38126
38168
|
"inheritedFrom": {
|
|
38127
|
-
"name": "
|
|
38128
|
-
"module": "
|
|
38169
|
+
"name": "SbbFormAssociatedMixin",
|
|
38170
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38129
38171
|
}
|
|
38130
38172
|
},
|
|
38131
38173
|
{
|
|
38132
|
-
"kind": "
|
|
38133
|
-
"name": "
|
|
38134
|
-
"privacy": "
|
|
38135
|
-
"
|
|
38136
|
-
"type": {
|
|
38137
|
-
"text": "TemplateResult"
|
|
38138
|
-
}
|
|
38139
|
-
},
|
|
38140
|
-
"description": "Override this method to render the component template.",
|
|
38174
|
+
"kind": "field",
|
|
38175
|
+
"name": "_validityStates",
|
|
38176
|
+
"privacy": "private",
|
|
38177
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
38141
38178
|
"inheritedFrom": {
|
|
38142
|
-
"name": "
|
|
38143
|
-
"module": "core/
|
|
38179
|
+
"name": "SbbFormAssociatedMixin",
|
|
38180
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38144
38181
|
}
|
|
38145
38182
|
},
|
|
38146
38183
|
{
|
|
38147
38184
|
"kind": "field",
|
|
38148
|
-
"name": "
|
|
38185
|
+
"name": "formDisabled",
|
|
38149
38186
|
"type": {
|
|
38150
38187
|
"text": "boolean"
|
|
38151
38188
|
},
|
|
38152
|
-
"privacy": "
|
|
38189
|
+
"privacy": "protected",
|
|
38153
38190
|
"default": "false",
|
|
38154
|
-
"description": "
|
|
38155
|
-
"attribute": "negative",
|
|
38156
|
-
"reflects": true,
|
|
38191
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
38157
38192
|
"inheritedFrom": {
|
|
38158
|
-
"name": "
|
|
38159
|
-
"module": "core/mixins/
|
|
38193
|
+
"name": "SbbFormAssociatedMixin",
|
|
38194
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38160
38195
|
}
|
|
38161
38196
|
},
|
|
38162
38197
|
{
|
|
38163
|
-
"kind": "
|
|
38164
|
-
"name": "
|
|
38165
|
-
"
|
|
38166
|
-
|
|
38198
|
+
"kind": "method",
|
|
38199
|
+
"name": "checkValidity",
|
|
38200
|
+
"privacy": "public",
|
|
38201
|
+
"return": {
|
|
38202
|
+
"type": {
|
|
38203
|
+
"text": "boolean"
|
|
38204
|
+
}
|
|
38167
38205
|
},
|
|
38206
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
38207
|
+
"inheritedFrom": {
|
|
38208
|
+
"name": "SbbFormAssociatedMixin",
|
|
38209
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38210
|
+
}
|
|
38211
|
+
},
|
|
38212
|
+
{
|
|
38213
|
+
"kind": "method",
|
|
38214
|
+
"name": "reportValidity",
|
|
38168
38215
|
"privacy": "public",
|
|
38169
|
-
"
|
|
38170
|
-
|
|
38171
|
-
|
|
38216
|
+
"return": {
|
|
38217
|
+
"type": {
|
|
38218
|
+
"text": "boolean"
|
|
38219
|
+
}
|
|
38220
|
+
},
|
|
38221
|
+
"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.",
|
|
38172
38222
|
"inheritedFrom": {
|
|
38173
|
-
"name": "
|
|
38174
|
-
"module": "
|
|
38223
|
+
"name": "SbbFormAssociatedMixin",
|
|
38224
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38175
38225
|
}
|
|
38176
38226
|
},
|
|
38177
38227
|
{
|
|
38178
38228
|
"kind": "method",
|
|
38179
|
-
"name": "
|
|
38180
|
-
"privacy": "
|
|
38229
|
+
"name": "setCustomValidity",
|
|
38230
|
+
"privacy": "public",
|
|
38181
38231
|
"return": {
|
|
38182
38232
|
"type": {
|
|
38183
|
-
"text": "
|
|
38233
|
+
"text": "void"
|
|
38184
38234
|
}
|
|
38185
38235
|
},
|
|
38186
38236
|
"parameters": [
|
|
38187
38237
|
{
|
|
38188
|
-
"name": "
|
|
38189
|
-
"optional": true,
|
|
38238
|
+
"name": "message",
|
|
38190
38239
|
"type": {
|
|
38191
38240
|
"text": "string"
|
|
38192
38241
|
}
|
|
38193
38242
|
}
|
|
38194
38243
|
],
|
|
38244
|
+
"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.",
|
|
38195
38245
|
"inheritedFrom": {
|
|
38196
|
-
"name": "
|
|
38197
|
-
"module": "
|
|
38246
|
+
"name": "SbbFormAssociatedMixin",
|
|
38247
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38198
38248
|
}
|
|
38199
38249
|
},
|
|
38200
38250
|
{
|
|
38201
38251
|
"kind": "method",
|
|
38202
|
-
"name": "
|
|
38203
|
-
"privacy": "
|
|
38252
|
+
"name": "_hasDisabledAncestor",
|
|
38253
|
+
"privacy": "private",
|
|
38204
38254
|
"return": {
|
|
38205
38255
|
"type": {
|
|
38206
|
-
"text": "
|
|
38256
|
+
"text": "boolean"
|
|
38207
38257
|
}
|
|
38208
38258
|
},
|
|
38209
38259
|
"inheritedFrom": {
|
|
38210
|
-
"name": "
|
|
38211
|
-
"module": "
|
|
38260
|
+
"name": "SbbFormAssociatedMixin",
|
|
38261
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38212
38262
|
}
|
|
38213
38263
|
},
|
|
38214
38264
|
{
|
|
38215
38265
|
"kind": "method",
|
|
38216
|
-
"name": "
|
|
38217
|
-
"privacy": "
|
|
38266
|
+
"name": "updateFormValue",
|
|
38267
|
+
"privacy": "protected",
|
|
38218
38268
|
"return": {
|
|
38219
38269
|
"type": {
|
|
38220
|
-
"text": "
|
|
38270
|
+
"text": "void"
|
|
38221
38271
|
}
|
|
38222
38272
|
},
|
|
38273
|
+
"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",
|
|
38223
38274
|
"inheritedFrom": {
|
|
38224
|
-
"name": "
|
|
38225
|
-
"module": "
|
|
38226
|
-
}
|
|
38227
|
-
},
|
|
38228
|
-
{
|
|
38229
|
-
"kind": "field",
|
|
38230
|
-
"name": "disabledInteractive",
|
|
38231
|
-
"type": {
|
|
38232
|
-
"text": "boolean"
|
|
38233
|
-
},
|
|
38234
|
-
"privacy": "public",
|
|
38235
|
-
"default": "false",
|
|
38236
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
38237
|
-
"attribute": "disabled-interactive",
|
|
38238
|
-
"reflects": true,
|
|
38239
|
-
"inheritedFrom": {
|
|
38240
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
38241
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
38242
|
-
}
|
|
38243
|
-
},
|
|
38244
|
-
{
|
|
38245
|
-
"kind": "field",
|
|
38246
|
-
"name": "disabled",
|
|
38247
|
-
"privacy": "public",
|
|
38248
|
-
"description": "Whether the component is disabled.",
|
|
38249
|
-
"default": "false",
|
|
38250
|
-
"type": {
|
|
38251
|
-
"text": "boolean"
|
|
38252
|
-
},
|
|
38253
|
-
"attribute": "disabled",
|
|
38254
|
-
"reflects": true,
|
|
38255
|
-
"inheritedFrom": {
|
|
38256
|
-
"name": "SbbDisabledMixin",
|
|
38257
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
38258
|
-
}
|
|
38259
|
-
},
|
|
38260
|
-
{
|
|
38261
|
-
"kind": "field",
|
|
38262
|
-
"name": "#disabled",
|
|
38263
|
-
"privacy": "private",
|
|
38264
|
-
"type": {
|
|
38265
|
-
"text": "boolean"
|
|
38266
|
-
},
|
|
38267
|
-
"default": "false",
|
|
38268
|
-
"inheritedFrom": {
|
|
38269
|
-
"name": "SbbDisabledMixin",
|
|
38270
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
38275
|
+
"name": "SbbFormAssociatedMixin",
|
|
38276
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38271
38277
|
}
|
|
38272
38278
|
},
|
|
38273
38279
|
{
|
|
38274
38280
|
"kind": "method",
|
|
38275
|
-
"name": "
|
|
38281
|
+
"name": "formState",
|
|
38276
38282
|
"privacy": "protected",
|
|
38277
38283
|
"return": {
|
|
38278
38284
|
"type": {
|
|
38279
|
-
"text": "
|
|
38285
|
+
"text": "FormRestoreState"
|
|
38280
38286
|
}
|
|
38281
38287
|
},
|
|
38282
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
38283
38288
|
"inheritedFrom": {
|
|
38284
|
-
"name": "
|
|
38285
|
-
"module": "core/mixins/
|
|
38289
|
+
"name": "SbbFormAssociatedMixin",
|
|
38290
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38286
38291
|
}
|
|
38287
38292
|
},
|
|
38288
38293
|
{
|
|
38289
|
-
"kind": "
|
|
38290
|
-
"name": "
|
|
38291
|
-
"
|
|
38292
|
-
|
|
38294
|
+
"kind": "method",
|
|
38295
|
+
"name": "setValidityFlag",
|
|
38296
|
+
"privacy": "protected",
|
|
38297
|
+
"return": {
|
|
38298
|
+
"type": {
|
|
38299
|
+
"text": "void"
|
|
38300
|
+
}
|
|
38293
38301
|
},
|
|
38294
|
-
"
|
|
38295
|
-
|
|
38296
|
-
|
|
38297
|
-
|
|
38298
|
-
|
|
38302
|
+
"parameters": [
|
|
38303
|
+
{
|
|
38304
|
+
"name": "flag",
|
|
38305
|
+
"type": {
|
|
38306
|
+
"text": "T"
|
|
38307
|
+
}
|
|
38308
|
+
},
|
|
38309
|
+
{
|
|
38310
|
+
"name": "message",
|
|
38311
|
+
"type": {
|
|
38312
|
+
"text": "string"
|
|
38313
|
+
}
|
|
38314
|
+
},
|
|
38315
|
+
{
|
|
38316
|
+
"name": "flagValue",
|
|
38317
|
+
"optional": true,
|
|
38318
|
+
"type": {
|
|
38319
|
+
"text": "ValidityStateFlags[T]"
|
|
38320
|
+
}
|
|
38321
|
+
}
|
|
38322
|
+
],
|
|
38323
|
+
"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).",
|
|
38299
38324
|
"inheritedFrom": {
|
|
38300
|
-
"name": "
|
|
38301
|
-
"module": "core/
|
|
38325
|
+
"name": "SbbFormAssociatedMixin",
|
|
38326
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38302
38327
|
}
|
|
38303
38328
|
},
|
|
38304
38329
|
{
|
|
38305
|
-
"kind": "
|
|
38306
|
-
"name": "
|
|
38307
|
-
"
|
|
38308
|
-
|
|
38330
|
+
"kind": "method",
|
|
38331
|
+
"name": "removeValidityFlag",
|
|
38332
|
+
"privacy": "protected",
|
|
38333
|
+
"return": {
|
|
38334
|
+
"type": {
|
|
38335
|
+
"text": "void"
|
|
38336
|
+
}
|
|
38309
38337
|
},
|
|
38310
|
-
"
|
|
38311
|
-
|
|
38312
|
-
|
|
38313
|
-
|
|
38314
|
-
|
|
38338
|
+
"parameters": [
|
|
38339
|
+
{
|
|
38340
|
+
"name": "flag",
|
|
38341
|
+
"type": {
|
|
38342
|
+
"text": "T"
|
|
38343
|
+
}
|
|
38344
|
+
}
|
|
38345
|
+
],
|
|
38346
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
38315
38347
|
"inheritedFrom": {
|
|
38316
|
-
"name": "
|
|
38317
|
-
"module": "core/
|
|
38348
|
+
"name": "SbbFormAssociatedMixin",
|
|
38349
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38318
38350
|
}
|
|
38319
38351
|
},
|
|
38320
38352
|
{
|
|
38321
|
-
"kind": "
|
|
38322
|
-
"name": "
|
|
38323
|
-
"
|
|
38324
|
-
|
|
38353
|
+
"kind": "method",
|
|
38354
|
+
"name": "validate",
|
|
38355
|
+
"privacy": "protected",
|
|
38356
|
+
"return": {
|
|
38357
|
+
"type": {
|
|
38358
|
+
"text": "void"
|
|
38359
|
+
}
|
|
38325
38360
|
},
|
|
38326
|
-
"
|
|
38327
|
-
"default": "''",
|
|
38328
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38329
|
-
"attribute": "rel",
|
|
38330
|
-
"reflects": true,
|
|
38361
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
38331
38362
|
"inheritedFrom": {
|
|
38332
|
-
"name": "
|
|
38333
|
-
"module": "core/
|
|
38363
|
+
"name": "SbbFormAssociatedMixin",
|
|
38364
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38334
38365
|
}
|
|
38335
38366
|
},
|
|
38336
38367
|
{
|
|
38337
|
-
"kind": "
|
|
38338
|
-
"name": "
|
|
38339
|
-
"
|
|
38340
|
-
|
|
38368
|
+
"kind": "method",
|
|
38369
|
+
"name": "shouldValidate",
|
|
38370
|
+
"privacy": "protected",
|
|
38371
|
+
"return": {
|
|
38372
|
+
"type": {
|
|
38373
|
+
"text": "boolean"
|
|
38374
|
+
}
|
|
38341
38375
|
},
|
|
38342
|
-
"
|
|
38343
|
-
|
|
38344
|
-
|
|
38345
|
-
|
|
38346
|
-
|
|
38376
|
+
"parameters": [
|
|
38377
|
+
{
|
|
38378
|
+
"name": "name",
|
|
38379
|
+
"type": {
|
|
38380
|
+
"text": "PropertyKey | undefined"
|
|
38381
|
+
}
|
|
38382
|
+
}
|
|
38383
|
+
],
|
|
38384
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
38347
38385
|
"inheritedFrom": {
|
|
38348
|
-
"name": "
|
|
38349
|
-
"module": "core/
|
|
38386
|
+
"name": "SbbFormAssociatedMixin",
|
|
38387
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38350
38388
|
}
|
|
38351
38389
|
},
|
|
38352
38390
|
{
|
|
38353
|
-
"kind": "
|
|
38354
|
-
"name": "
|
|
38355
|
-
"
|
|
38356
|
-
|
|
38391
|
+
"kind": "method",
|
|
38392
|
+
"name": "_setInternalValidity",
|
|
38393
|
+
"privacy": "private",
|
|
38394
|
+
"return": {
|
|
38395
|
+
"type": {
|
|
38396
|
+
"text": "void"
|
|
38397
|
+
}
|
|
38357
38398
|
},
|
|
38358
|
-
"privacy": "public",
|
|
38359
|
-
"default": "''",
|
|
38360
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38361
|
-
"attribute": "accessibility-label",
|
|
38362
38399
|
"inheritedFrom": {
|
|
38363
|
-
"name": "
|
|
38364
|
-
"module": "core/
|
|
38400
|
+
"name": "SbbFormAssociatedMixin",
|
|
38401
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38365
38402
|
}
|
|
38366
38403
|
},
|
|
38367
38404
|
{
|
|
38368
38405
|
"kind": "field",
|
|
38369
|
-
"name": "
|
|
38406
|
+
"name": "role",
|
|
38370
38407
|
"type": {
|
|
38371
|
-
"text": "
|
|
38408
|
+
"text": "ElementInternals['role']"
|
|
38372
38409
|
},
|
|
38373
38410
|
"privacy": "public",
|
|
38374
|
-
"
|
|
38375
|
-
"
|
|
38376
|
-
"
|
|
38411
|
+
"static": true,
|
|
38412
|
+
"readonly": true,
|
|
38413
|
+
"default": "'button'",
|
|
38377
38414
|
"inheritedFrom": {
|
|
38378
|
-
"name": "
|
|
38379
|
-
"module": "core/base-elements/
|
|
38415
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38416
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38380
38417
|
}
|
|
38381
38418
|
},
|
|
38382
38419
|
{
|
|
38383
38420
|
"kind": "field",
|
|
38384
|
-
"name": "
|
|
38385
|
-
"privacy": "
|
|
38386
|
-
"
|
|
38421
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
38422
|
+
"privacy": "private",
|
|
38423
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
38424
|
+
"parameters": [
|
|
38425
|
+
{
|
|
38426
|
+
"description": "The origin event.",
|
|
38427
|
+
"name": "event"
|
|
38428
|
+
}
|
|
38429
|
+
],
|
|
38387
38430
|
"inheritedFrom": {
|
|
38388
|
-
"name": "
|
|
38389
|
-
"module": "core/base-elements/
|
|
38431
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38432
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38390
38433
|
}
|
|
38391
38434
|
},
|
|
38392
38435
|
{
|
|
38393
38436
|
"kind": "field",
|
|
38394
|
-
"name": "
|
|
38395
|
-
"
|
|
38396
|
-
"text": "string | null"
|
|
38397
|
-
},
|
|
38398
|
-
"privacy": "protected",
|
|
38399
|
-
"readonly": true,
|
|
38400
|
-
"default": "null",
|
|
38437
|
+
"name": "_removeActiveMarker",
|
|
38438
|
+
"privacy": "private",
|
|
38401
38439
|
"inheritedFrom": {
|
|
38402
|
-
"name": "
|
|
38403
|
-
"module": "core/base-elements/
|
|
38440
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38441
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38404
38442
|
}
|
|
38405
38443
|
},
|
|
38406
38444
|
{
|
|
38407
38445
|
"kind": "field",
|
|
38408
|
-
"name": "
|
|
38446
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
38409
38447
|
"privacy": "private",
|
|
38410
|
-
"
|
|
38411
|
-
"name": "SbbLinkBaseElement",
|
|
38412
|
-
"module": "core/base-elements/link-base-element.js"
|
|
38413
|
-
}
|
|
38414
|
-
},
|
|
38415
|
-
{
|
|
38416
|
-
"kind": "method",
|
|
38417
|
-
"name": "renderLink",
|
|
38418
|
-
"privacy": "protected",
|
|
38419
|
-
"return": {
|
|
38420
|
-
"type": {
|
|
38421
|
-
"text": "TemplateResult"
|
|
38422
|
-
}
|
|
38423
|
-
},
|
|
38448
|
+
"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.",
|
|
38424
38449
|
"parameters": [
|
|
38425
38450
|
{
|
|
38426
|
-
"
|
|
38427
|
-
"
|
|
38428
|
-
"text": "TemplateResult"
|
|
38429
|
-
}
|
|
38451
|
+
"description": "The origin event.",
|
|
38452
|
+
"name": "event"
|
|
38430
38453
|
}
|
|
38431
38454
|
],
|
|
38432
38455
|
"inheritedFrom": {
|
|
38433
|
-
"name": "
|
|
38434
|
-
"module": "core/base-elements/
|
|
38456
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38457
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38458
|
+
}
|
|
38459
|
+
},
|
|
38460
|
+
{
|
|
38461
|
+
"kind": "field",
|
|
38462
|
+
"name": "_dispatchClickEvent",
|
|
38463
|
+
"privacy": "private",
|
|
38464
|
+
"inheritedFrom": {
|
|
38465
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38466
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38435
38467
|
}
|
|
38436
38468
|
},
|
|
38437
38469
|
{
|
|
@@ -38586,19 +38618,15 @@
|
|
|
38586
38618
|
"module": "button/common/button-common.js"
|
|
38587
38619
|
},
|
|
38588
38620
|
{
|
|
38589
|
-
"name": "
|
|
38590
|
-
"module": "core/mixins.js"
|
|
38591
|
-
},
|
|
38592
|
-
{
|
|
38593
|
-
"name": "SbbDisabledMixin",
|
|
38621
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
38594
38622
|
"module": "core/mixins.js"
|
|
38595
38623
|
}
|
|
38596
38624
|
],
|
|
38597
38625
|
"superclass": {
|
|
38598
|
-
"name": "
|
|
38626
|
+
"name": "SbbButtonBaseElement",
|
|
38599
38627
|
"module": "core/base-elements.js"
|
|
38600
38628
|
},
|
|
38601
|
-
"tagName": "sbb-accent-button
|
|
38629
|
+
"tagName": "sbb-accent-button",
|
|
38602
38630
|
"customElement": true,
|
|
38603
38631
|
"attributes": [
|
|
38604
38632
|
{
|
|
@@ -38680,81 +38708,53 @@
|
|
|
38680
38708
|
}
|
|
38681
38709
|
},
|
|
38682
38710
|
{
|
|
38683
|
-
"name": "
|
|
38684
|
-
"type": {
|
|
38685
|
-
"text": "string"
|
|
38686
|
-
},
|
|
38687
|
-
"default": "''",
|
|
38688
|
-
"description": "The href value you want to link to.",
|
|
38689
|
-
"fieldName": "href",
|
|
38690
|
-
"inheritedFrom": {
|
|
38691
|
-
"name": "SbbLinkBaseElement",
|
|
38692
|
-
"module": "core/base-elements/link-base-element.js"
|
|
38693
|
-
}
|
|
38694
|
-
},
|
|
38695
|
-
{
|
|
38696
|
-
"name": "target",
|
|
38697
|
-
"type": {
|
|
38698
|
-
"text": "LinkTargetType | string"
|
|
38699
|
-
},
|
|
38700
|
-
"default": "''",
|
|
38701
|
-
"description": "Where to display the linked URL.",
|
|
38702
|
-
"fieldName": "target",
|
|
38703
|
-
"inheritedFrom": {
|
|
38704
|
-
"name": "SbbLinkBaseElement",
|
|
38705
|
-
"module": "core/base-elements/link-base-element.js"
|
|
38706
|
-
}
|
|
38707
|
-
},
|
|
38708
|
-
{
|
|
38709
|
-
"name": "rel",
|
|
38711
|
+
"name": "value",
|
|
38710
38712
|
"type": {
|
|
38711
38713
|
"text": "string"
|
|
38712
38714
|
},
|
|
38713
38715
|
"default": "''",
|
|
38714
|
-
"description": "
|
|
38715
|
-
"fieldName": "
|
|
38716
|
+
"description": "Value of the form element.",
|
|
38717
|
+
"fieldName": "value",
|
|
38716
38718
|
"inheritedFrom": {
|
|
38717
|
-
"name": "
|
|
38718
|
-
"module": "core/base-elements/
|
|
38719
|
+
"name": "SbbButtonBaseElement",
|
|
38720
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38719
38721
|
}
|
|
38720
38722
|
},
|
|
38721
38723
|
{
|
|
38722
|
-
"name": "
|
|
38724
|
+
"name": "type",
|
|
38725
|
+
"description": "The type attribute to use for the button.",
|
|
38726
|
+
"default": "'button'",
|
|
38723
38727
|
"type": {
|
|
38724
|
-
"text": "
|
|
38728
|
+
"text": "SbbButtonType"
|
|
38725
38729
|
},
|
|
38726
|
-
"
|
|
38727
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
38728
|
-
"fieldName": "download",
|
|
38730
|
+
"fieldName": "type",
|
|
38729
38731
|
"inheritedFrom": {
|
|
38730
|
-
"name": "
|
|
38731
|
-
"module": "core/base-elements/
|
|
38732
|
+
"name": "SbbButtonBaseElement",
|
|
38733
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38732
38734
|
}
|
|
38733
38735
|
},
|
|
38734
38736
|
{
|
|
38735
|
-
"name": "
|
|
38737
|
+
"name": "form",
|
|
38738
|
+
"description": "The `<form>` element to associate the button with.",
|
|
38736
38739
|
"type": {
|
|
38737
|
-
"text": "
|
|
38740
|
+
"text": "HTMLFormElement | null"
|
|
38738
38741
|
},
|
|
38739
|
-
"
|
|
38740
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38741
|
-
"fieldName": "accessibilityLabel",
|
|
38742
|
+
"fieldName": "form",
|
|
38742
38743
|
"inheritedFrom": {
|
|
38743
|
-
"name": "
|
|
38744
|
-
"module": "core/base-elements/
|
|
38744
|
+
"name": "SbbButtonBaseElement",
|
|
38745
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38745
38746
|
}
|
|
38746
38747
|
},
|
|
38747
38748
|
{
|
|
38748
|
-
"name": "
|
|
38749
|
+
"name": "name",
|
|
38750
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
38749
38751
|
"type": {
|
|
38750
38752
|
"text": "string"
|
|
38751
38753
|
},
|
|
38752
|
-
"
|
|
38753
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38754
|
-
"fieldName": "accessibilityCurrent",
|
|
38754
|
+
"fieldName": "name",
|
|
38755
38755
|
"inheritedFrom": {
|
|
38756
|
-
"name": "
|
|
38757
|
-
"module": "core/
|
|
38756
|
+
"name": "SbbFormAssociatedMixin",
|
|
38757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38758
38758
|
}
|
|
38759
38759
|
}
|
|
38760
38760
|
]
|
|
@@ -38763,10 +38763,10 @@
|
|
|
38763
38763
|
"exports": [
|
|
38764
38764
|
{
|
|
38765
38765
|
"kind": "js",
|
|
38766
|
-
"name": "
|
|
38766
|
+
"name": "SbbAccentButtonElement",
|
|
38767
38767
|
"declaration": {
|
|
38768
|
-
"name": "
|
|
38769
|
-
"module": "button/accent-button
|
|
38768
|
+
"name": "SbbAccentButtonElement",
|
|
38769
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
38770
38770
|
}
|
|
38771
38771
|
}
|
|
38772
38772
|
]
|