@sbb-esta/lyne-elements-dev 4.0.0-dev.1775550881 → 4.0.0-dev.1775559954
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 +1693 -1693
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -36973,12 +36973,12 @@
|
|
|
36973
36973
|
},
|
|
36974
36974
|
{
|
|
36975
36975
|
"kind": "javascript-module",
|
|
36976
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
36976
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
36977
36977
|
"declarations": [
|
|
36978
36978
|
{
|
|
36979
36979
|
"kind": "class",
|
|
36980
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
36981
|
-
"name": "
|
|
36980
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
36981
|
+
"name": "SbbAccentButtonLinkElement",
|
|
36982
36982
|
"cssProperties": [
|
|
36983
36983
|
{
|
|
36984
36984
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -36988,7 +36988,7 @@
|
|
|
36988
36988
|
],
|
|
36989
36989
|
"slots": [
|
|
36990
36990
|
{
|
|
36991
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
36991
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
36992
36992
|
"name": ""
|
|
36993
36993
|
},
|
|
36994
36994
|
{
|
|
@@ -37006,7 +37006,7 @@
|
|
|
37006
37006
|
"privacy": "public",
|
|
37007
37007
|
"static": true,
|
|
37008
37008
|
"readonly": true,
|
|
37009
|
-
"default": "'sbb-accent-button'",
|
|
37009
|
+
"default": "'sbb-accent-button-link'",
|
|
37010
37010
|
"inheritedFrom": {
|
|
37011
37011
|
"name": "SbbElement",
|
|
37012
37012
|
"module": "core/base-elements/element.js"
|
|
@@ -37203,479 +37203,151 @@
|
|
|
37203
37203
|
},
|
|
37204
37204
|
{
|
|
37205
37205
|
"kind": "field",
|
|
37206
|
-
"name": "
|
|
37207
|
-
"type": {
|
|
37208
|
-
"text": "array"
|
|
37209
|
-
},
|
|
37210
|
-
"privacy": "private",
|
|
37211
|
-
"readonly": true,
|
|
37212
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
37213
|
-
"inheritedFrom": {
|
|
37214
|
-
"name": "SbbButtonBaseElement",
|
|
37215
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37216
|
-
}
|
|
37217
|
-
},
|
|
37218
|
-
{
|
|
37219
|
-
"kind": "field",
|
|
37220
|
-
"name": "value",
|
|
37206
|
+
"name": "href",
|
|
37221
37207
|
"type": {
|
|
37222
37208
|
"text": "string"
|
|
37223
37209
|
},
|
|
37224
37210
|
"privacy": "public",
|
|
37225
37211
|
"default": "''",
|
|
37226
|
-
"description": "
|
|
37227
|
-
"attribute": "
|
|
37228
|
-
"
|
|
37229
|
-
"name": "SbbButtonBaseElement",
|
|
37230
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37231
|
-
}
|
|
37232
|
-
},
|
|
37233
|
-
{
|
|
37234
|
-
"kind": "field",
|
|
37235
|
-
"name": "type",
|
|
37236
|
-
"privacy": "public",
|
|
37237
|
-
"description": "The type attribute to use for the button.",
|
|
37238
|
-
"default": "'button'",
|
|
37239
|
-
"type": {
|
|
37240
|
-
"text": "SbbButtonType"
|
|
37241
|
-
},
|
|
37242
|
-
"attribute": "type",
|
|
37212
|
+
"description": "The href value you want to link to.",
|
|
37213
|
+
"attribute": "href",
|
|
37214
|
+
"reflects": true,
|
|
37243
37215
|
"inheritedFrom": {
|
|
37244
|
-
"name": "
|
|
37245
|
-
"module": "core/base-elements/
|
|
37216
|
+
"name": "SbbLinkBaseElement",
|
|
37217
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37246
37218
|
}
|
|
37247
37219
|
},
|
|
37248
37220
|
{
|
|
37249
37221
|
"kind": "field",
|
|
37250
|
-
"name": "
|
|
37222
|
+
"name": "target",
|
|
37251
37223
|
"type": {
|
|
37252
|
-
"text": "
|
|
37224
|
+
"text": "LinkTargetType | string"
|
|
37253
37225
|
},
|
|
37254
37226
|
"privacy": "public",
|
|
37255
|
-
"
|
|
37256
|
-
"
|
|
37227
|
+
"default": "''",
|
|
37228
|
+
"description": "Where to display the linked URL.",
|
|
37229
|
+
"attribute": "target",
|
|
37230
|
+
"reflects": true,
|
|
37257
37231
|
"inheritedFrom": {
|
|
37258
|
-
"name": "
|
|
37259
|
-
"module": "core/base-elements/
|
|
37232
|
+
"name": "SbbLinkBaseElement",
|
|
37233
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37260
37234
|
}
|
|
37261
37235
|
},
|
|
37262
37236
|
{
|
|
37263
37237
|
"kind": "field",
|
|
37264
|
-
"name": "
|
|
37238
|
+
"name": "rel",
|
|
37265
37239
|
"type": {
|
|
37266
37240
|
"text": "string"
|
|
37267
37241
|
},
|
|
37268
|
-
"privacy": "
|
|
37242
|
+
"privacy": "public",
|
|
37269
37243
|
"default": "''",
|
|
37244
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37245
|
+
"attribute": "rel",
|
|
37246
|
+
"reflects": true,
|
|
37270
37247
|
"inheritedFrom": {
|
|
37271
|
-
"name": "
|
|
37272
|
-
"module": "core/base-elements/
|
|
37273
|
-
}
|
|
37274
|
-
},
|
|
37275
|
-
{
|
|
37276
|
-
"kind": "field",
|
|
37277
|
-
"name": "_handleButtonClick",
|
|
37278
|
-
"privacy": "private",
|
|
37279
|
-
"inheritedFrom": {
|
|
37280
|
-
"name": "SbbButtonBaseElement",
|
|
37281
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37282
|
-
}
|
|
37283
|
-
},
|
|
37284
|
-
{
|
|
37285
|
-
"kind": "method",
|
|
37286
|
-
"name": "_requestSubmit",
|
|
37287
|
-
"privacy": "private",
|
|
37288
|
-
"return": {
|
|
37289
|
-
"type": {
|
|
37290
|
-
"text": "void"
|
|
37291
|
-
}
|
|
37292
|
-
},
|
|
37293
|
-
"parameters": [
|
|
37294
|
-
{
|
|
37295
|
-
"name": "form",
|
|
37296
|
-
"type": {
|
|
37297
|
-
"text": "HTMLFormElement"
|
|
37298
|
-
}
|
|
37299
|
-
}
|
|
37300
|
-
],
|
|
37301
|
-
"inheritedFrom": {
|
|
37302
|
-
"name": "SbbButtonBaseElement",
|
|
37303
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37304
|
-
}
|
|
37305
|
-
},
|
|
37306
|
-
{
|
|
37307
|
-
"kind": "field",
|
|
37308
|
-
"name": "_formKeyDown",
|
|
37309
|
-
"privacy": "private",
|
|
37310
|
-
"inheritedFrom": {
|
|
37311
|
-
"name": "SbbButtonBaseElement",
|
|
37312
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37248
|
+
"name": "SbbLinkBaseElement",
|
|
37249
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37313
37250
|
}
|
|
37314
37251
|
},
|
|
37315
37252
|
{
|
|
37316
37253
|
"kind": "field",
|
|
37317
|
-
"name": "
|
|
37254
|
+
"name": "download",
|
|
37318
37255
|
"type": {
|
|
37319
37256
|
"text": "boolean"
|
|
37320
37257
|
},
|
|
37321
37258
|
"privacy": "public",
|
|
37322
|
-
"
|
|
37323
|
-
"
|
|
37259
|
+
"default": "false",
|
|
37260
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
37261
|
+
"attribute": "download",
|
|
37262
|
+
"reflects": true,
|
|
37324
37263
|
"inheritedFrom": {
|
|
37325
|
-
"name": "
|
|
37326
|
-
"module": "core/
|
|
37264
|
+
"name": "SbbLinkBaseElement",
|
|
37265
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37327
37266
|
}
|
|
37328
37267
|
},
|
|
37329
37268
|
{
|
|
37330
37269
|
"kind": "field",
|
|
37331
|
-
"name": "
|
|
37332
|
-
"privacy": "public",
|
|
37333
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
37270
|
+
"name": "accessibilityLabel",
|
|
37334
37271
|
"type": {
|
|
37335
37272
|
"text": "string"
|
|
37336
37273
|
},
|
|
37337
|
-
"attribute": "name",
|
|
37338
|
-
"inheritedFrom": {
|
|
37339
|
-
"name": "SbbFormAssociatedMixin",
|
|
37340
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37341
|
-
}
|
|
37342
|
-
},
|
|
37343
|
-
{
|
|
37344
|
-
"kind": "field",
|
|
37345
|
-
"name": "validity",
|
|
37346
|
-
"type": {
|
|
37347
|
-
"text": "ValidityState"
|
|
37348
|
-
},
|
|
37349
37274
|
"privacy": "public",
|
|
37350
|
-
"
|
|
37351
|
-
"
|
|
37275
|
+
"default": "''",
|
|
37276
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37277
|
+
"attribute": "accessibility-label",
|
|
37352
37278
|
"inheritedFrom": {
|
|
37353
|
-
"name": "
|
|
37354
|
-
"module": "core/
|
|
37279
|
+
"name": "SbbLinkBaseElement",
|
|
37280
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37355
37281
|
}
|
|
37356
37282
|
},
|
|
37357
37283
|
{
|
|
37358
37284
|
"kind": "field",
|
|
37359
|
-
"name": "
|
|
37285
|
+
"name": "accessibilityCurrent",
|
|
37360
37286
|
"type": {
|
|
37361
37287
|
"text": "string"
|
|
37362
37288
|
},
|
|
37363
37289
|
"privacy": "public",
|
|
37364
|
-
"
|
|
37365
|
-
"
|
|
37366
|
-
"
|
|
37367
|
-
"name": "SbbFormAssociatedMixin",
|
|
37368
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37369
|
-
}
|
|
37370
|
-
},
|
|
37371
|
-
{
|
|
37372
|
-
"kind": "field",
|
|
37373
|
-
"name": "willValidate",
|
|
37374
|
-
"type": {
|
|
37375
|
-
"text": "boolean"
|
|
37376
|
-
},
|
|
37377
|
-
"privacy": "public",
|
|
37378
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
37379
|
-
"readonly": true,
|
|
37290
|
+
"default": "''",
|
|
37291
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37292
|
+
"attribute": "accessibility-current",
|
|
37380
37293
|
"inheritedFrom": {
|
|
37381
|
-
"name": "
|
|
37382
|
-
"module": "core/
|
|
37294
|
+
"name": "SbbLinkBaseElement",
|
|
37295
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37383
37296
|
}
|
|
37384
37297
|
},
|
|
37385
37298
|
{
|
|
37386
37299
|
"kind": "field",
|
|
37387
|
-
"name": "
|
|
37388
|
-
"privacy": "
|
|
37389
|
-
"default": "new
|
|
37300
|
+
"name": "language",
|
|
37301
|
+
"privacy": "protected",
|
|
37302
|
+
"default": "new SbbLanguageController(this)",
|
|
37390
37303
|
"inheritedFrom": {
|
|
37391
|
-
"name": "
|
|
37392
|
-
"module": "core/
|
|
37304
|
+
"name": "SbbLinkBaseElement",
|
|
37305
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37393
37306
|
}
|
|
37394
37307
|
},
|
|
37395
37308
|
{
|
|
37396
37309
|
"kind": "field",
|
|
37397
|
-
"name": "
|
|
37310
|
+
"name": "anchorRole",
|
|
37398
37311
|
"type": {
|
|
37399
|
-
"text": "
|
|
37312
|
+
"text": "string | null"
|
|
37400
37313
|
},
|
|
37401
37314
|
"privacy": "protected",
|
|
37402
|
-
"
|
|
37403
|
-
"
|
|
37404
|
-
"inheritedFrom": {
|
|
37405
|
-
"name": "SbbFormAssociatedMixin",
|
|
37406
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37407
|
-
}
|
|
37408
|
-
},
|
|
37409
|
-
{
|
|
37410
|
-
"kind": "method",
|
|
37411
|
-
"name": "checkValidity",
|
|
37412
|
-
"privacy": "public",
|
|
37413
|
-
"return": {
|
|
37414
|
-
"type": {
|
|
37415
|
-
"text": "boolean"
|
|
37416
|
-
}
|
|
37417
|
-
},
|
|
37418
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
37419
|
-
"inheritedFrom": {
|
|
37420
|
-
"name": "SbbFormAssociatedMixin",
|
|
37421
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37422
|
-
}
|
|
37423
|
-
},
|
|
37424
|
-
{
|
|
37425
|
-
"kind": "method",
|
|
37426
|
-
"name": "reportValidity",
|
|
37427
|
-
"privacy": "public",
|
|
37428
|
-
"return": {
|
|
37429
|
-
"type": {
|
|
37430
|
-
"text": "boolean"
|
|
37431
|
-
}
|
|
37432
|
-
},
|
|
37433
|
-
"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.",
|
|
37434
|
-
"inheritedFrom": {
|
|
37435
|
-
"name": "SbbFormAssociatedMixin",
|
|
37436
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37437
|
-
}
|
|
37438
|
-
},
|
|
37439
|
-
{
|
|
37440
|
-
"kind": "method",
|
|
37441
|
-
"name": "setCustomValidity",
|
|
37442
|
-
"privacy": "public",
|
|
37443
|
-
"return": {
|
|
37444
|
-
"type": {
|
|
37445
|
-
"text": "void"
|
|
37446
|
-
}
|
|
37447
|
-
},
|
|
37448
|
-
"parameters": [
|
|
37449
|
-
{
|
|
37450
|
-
"name": "message",
|
|
37451
|
-
"type": {
|
|
37452
|
-
"text": "string"
|
|
37453
|
-
}
|
|
37454
|
-
}
|
|
37455
|
-
],
|
|
37456
|
-
"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.",
|
|
37315
|
+
"readonly": true,
|
|
37316
|
+
"default": "null",
|
|
37457
37317
|
"inheritedFrom": {
|
|
37458
|
-
"name": "
|
|
37459
|
-
"module": "core/
|
|
37318
|
+
"name": "SbbLinkBaseElement",
|
|
37319
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37460
37320
|
}
|
|
37461
37321
|
},
|
|
37462
37322
|
{
|
|
37463
|
-
"kind": "
|
|
37464
|
-
"name": "
|
|
37323
|
+
"kind": "field",
|
|
37324
|
+
"name": "_evaluateRelAttribute",
|
|
37465
37325
|
"privacy": "private",
|
|
37466
|
-
"return": {
|
|
37467
|
-
"type": {
|
|
37468
|
-
"text": "boolean"
|
|
37469
|
-
}
|
|
37470
|
-
},
|
|
37471
|
-
"inheritedFrom": {
|
|
37472
|
-
"name": "SbbFormAssociatedMixin",
|
|
37473
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37474
|
-
}
|
|
37475
|
-
},
|
|
37476
|
-
{
|
|
37477
|
-
"kind": "method",
|
|
37478
|
-
"name": "updateFormValue",
|
|
37479
|
-
"privacy": "protected",
|
|
37480
|
-
"return": {
|
|
37481
|
-
"type": {
|
|
37482
|
-
"text": "void"
|
|
37483
|
-
}
|
|
37484
|
-
},
|
|
37485
|
-
"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",
|
|
37486
|
-
"inheritedFrom": {
|
|
37487
|
-
"name": "SbbFormAssociatedMixin",
|
|
37488
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37489
|
-
}
|
|
37490
|
-
},
|
|
37491
|
-
{
|
|
37492
|
-
"kind": "method",
|
|
37493
|
-
"name": "formState",
|
|
37494
|
-
"privacy": "protected",
|
|
37495
|
-
"return": {
|
|
37496
|
-
"type": {
|
|
37497
|
-
"text": "FormRestoreState"
|
|
37498
|
-
}
|
|
37499
|
-
},
|
|
37500
|
-
"inheritedFrom": {
|
|
37501
|
-
"name": "SbbFormAssociatedMixin",
|
|
37502
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37503
|
-
}
|
|
37504
|
-
},
|
|
37505
|
-
{
|
|
37506
|
-
"kind": "method",
|
|
37507
|
-
"name": "setValidityFlag",
|
|
37508
|
-
"privacy": "protected",
|
|
37509
|
-
"return": {
|
|
37510
|
-
"type": {
|
|
37511
|
-
"text": "void"
|
|
37512
|
-
}
|
|
37513
|
-
},
|
|
37514
|
-
"parameters": [
|
|
37515
|
-
{
|
|
37516
|
-
"name": "flag",
|
|
37517
|
-
"type": {
|
|
37518
|
-
"text": "T"
|
|
37519
|
-
}
|
|
37520
|
-
},
|
|
37521
|
-
{
|
|
37522
|
-
"name": "message",
|
|
37523
|
-
"type": {
|
|
37524
|
-
"text": "string"
|
|
37525
|
-
}
|
|
37526
|
-
},
|
|
37527
|
-
{
|
|
37528
|
-
"name": "flagValue",
|
|
37529
|
-
"optional": true,
|
|
37530
|
-
"type": {
|
|
37531
|
-
"text": "ValidityStateFlags[T]"
|
|
37532
|
-
}
|
|
37533
|
-
}
|
|
37534
|
-
],
|
|
37535
|
-
"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).",
|
|
37536
|
-
"inheritedFrom": {
|
|
37537
|
-
"name": "SbbFormAssociatedMixin",
|
|
37538
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37539
|
-
}
|
|
37540
|
-
},
|
|
37541
|
-
{
|
|
37542
|
-
"kind": "method",
|
|
37543
|
-
"name": "removeValidityFlag",
|
|
37544
|
-
"privacy": "protected",
|
|
37545
|
-
"return": {
|
|
37546
|
-
"type": {
|
|
37547
|
-
"text": "void"
|
|
37548
|
-
}
|
|
37549
|
-
},
|
|
37550
|
-
"parameters": [
|
|
37551
|
-
{
|
|
37552
|
-
"name": "flag",
|
|
37553
|
-
"type": {
|
|
37554
|
-
"text": "T"
|
|
37555
|
-
}
|
|
37556
|
-
}
|
|
37557
|
-
],
|
|
37558
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
37559
|
-
"inheritedFrom": {
|
|
37560
|
-
"name": "SbbFormAssociatedMixin",
|
|
37561
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37562
|
-
}
|
|
37563
|
-
},
|
|
37564
|
-
{
|
|
37565
|
-
"kind": "method",
|
|
37566
|
-
"name": "validate",
|
|
37567
|
-
"privacy": "protected",
|
|
37568
|
-
"return": {
|
|
37569
|
-
"type": {
|
|
37570
|
-
"text": "void"
|
|
37571
|
-
}
|
|
37572
|
-
},
|
|
37573
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
37574
37326
|
"inheritedFrom": {
|
|
37575
|
-
"name": "
|
|
37576
|
-
"module": "core/
|
|
37327
|
+
"name": "SbbLinkBaseElement",
|
|
37328
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37577
37329
|
}
|
|
37578
37330
|
},
|
|
37579
37331
|
{
|
|
37580
37332
|
"kind": "method",
|
|
37581
|
-
"name": "
|
|
37333
|
+
"name": "renderLink",
|
|
37582
37334
|
"privacy": "protected",
|
|
37583
37335
|
"return": {
|
|
37584
37336
|
"type": {
|
|
37585
|
-
"text": "
|
|
37337
|
+
"text": "TemplateResult"
|
|
37586
37338
|
}
|
|
37587
37339
|
},
|
|
37588
37340
|
"parameters": [
|
|
37589
37341
|
{
|
|
37590
|
-
"name": "
|
|
37342
|
+
"name": "renderContent",
|
|
37591
37343
|
"type": {
|
|
37592
|
-
"text": "
|
|
37344
|
+
"text": "TemplateResult"
|
|
37593
37345
|
}
|
|
37594
37346
|
}
|
|
37595
37347
|
],
|
|
37596
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
37597
|
-
"inheritedFrom": {
|
|
37598
|
-
"name": "SbbFormAssociatedMixin",
|
|
37599
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37600
|
-
}
|
|
37601
|
-
},
|
|
37602
|
-
{
|
|
37603
|
-
"kind": "method",
|
|
37604
|
-
"name": "_setInternalValidity",
|
|
37605
|
-
"privacy": "private",
|
|
37606
|
-
"return": {
|
|
37607
|
-
"type": {
|
|
37608
|
-
"text": "void"
|
|
37609
|
-
}
|
|
37610
|
-
},
|
|
37611
|
-
"inheritedFrom": {
|
|
37612
|
-
"name": "SbbFormAssociatedMixin",
|
|
37613
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37614
|
-
}
|
|
37615
|
-
},
|
|
37616
|
-
{
|
|
37617
|
-
"kind": "field",
|
|
37618
|
-
"name": "role",
|
|
37619
|
-
"type": {
|
|
37620
|
-
"text": "ElementInternals['role']"
|
|
37621
|
-
},
|
|
37622
|
-
"privacy": "public",
|
|
37623
|
-
"static": true,
|
|
37624
|
-
"readonly": true,
|
|
37625
|
-
"default": "'button'",
|
|
37626
|
-
"inheritedFrom": {
|
|
37627
|
-
"name": "SbbButtonLikeBaseElement",
|
|
37628
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37629
|
-
}
|
|
37630
|
-
},
|
|
37631
|
-
{
|
|
37632
|
-
"kind": "field",
|
|
37633
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
37634
|
-
"privacy": "private",
|
|
37635
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
37636
|
-
"parameters": [
|
|
37637
|
-
{
|
|
37638
|
-
"description": "The origin event.",
|
|
37639
|
-
"name": "event"
|
|
37640
|
-
}
|
|
37641
|
-
],
|
|
37642
|
-
"inheritedFrom": {
|
|
37643
|
-
"name": "SbbButtonLikeBaseElement",
|
|
37644
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37645
|
-
}
|
|
37646
|
-
},
|
|
37647
|
-
{
|
|
37648
|
-
"kind": "field",
|
|
37649
|
-
"name": "_removeActiveMarker",
|
|
37650
|
-
"privacy": "private",
|
|
37651
|
-
"inheritedFrom": {
|
|
37652
|
-
"name": "SbbButtonLikeBaseElement",
|
|
37653
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37654
|
-
}
|
|
37655
|
-
},
|
|
37656
|
-
{
|
|
37657
|
-
"kind": "field",
|
|
37658
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
37659
|
-
"privacy": "private",
|
|
37660
|
-
"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.",
|
|
37661
|
-
"parameters": [
|
|
37662
|
-
{
|
|
37663
|
-
"description": "The origin event.",
|
|
37664
|
-
"name": "event"
|
|
37665
|
-
}
|
|
37666
|
-
],
|
|
37667
|
-
"inheritedFrom": {
|
|
37668
|
-
"name": "SbbButtonLikeBaseElement",
|
|
37669
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37670
|
-
}
|
|
37671
|
-
},
|
|
37672
|
-
{
|
|
37673
|
-
"kind": "field",
|
|
37674
|
-
"name": "_dispatchClickEvent",
|
|
37675
|
-
"privacy": "private",
|
|
37676
37348
|
"inheritedFrom": {
|
|
37677
|
-
"name": "
|
|
37678
|
-
"module": "core/base-elements/
|
|
37349
|
+
"name": "SbbLinkBaseElement",
|
|
37350
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37679
37351
|
}
|
|
37680
37352
|
},
|
|
37681
37353
|
{
|
|
@@ -37830,15 +37502,19 @@
|
|
|
37830
37502
|
"module": "button/common/button-common.js"
|
|
37831
37503
|
},
|
|
37832
37504
|
{
|
|
37833
|
-
"name": "
|
|
37505
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
37506
|
+
"module": "core/mixins.js"
|
|
37507
|
+
},
|
|
37508
|
+
{
|
|
37509
|
+
"name": "SbbDisabledMixin",
|
|
37834
37510
|
"module": "core/mixins.js"
|
|
37835
37511
|
}
|
|
37836
37512
|
],
|
|
37837
37513
|
"superclass": {
|
|
37838
|
-
"name": "
|
|
37514
|
+
"name": "SbbLinkBaseElement",
|
|
37839
37515
|
"module": "core/base-elements.js"
|
|
37840
37516
|
},
|
|
37841
|
-
"tagName": "sbb-accent-button",
|
|
37517
|
+
"tagName": "sbb-accent-button-link",
|
|
37842
37518
|
"customElement": true,
|
|
37843
37519
|
"attributes": [
|
|
37844
37520
|
{
|
|
@@ -37920,53 +37596,81 @@
|
|
|
37920
37596
|
}
|
|
37921
37597
|
},
|
|
37922
37598
|
{
|
|
37923
|
-
"name": "
|
|
37599
|
+
"name": "href",
|
|
37924
37600
|
"type": {
|
|
37925
37601
|
"text": "string"
|
|
37926
37602
|
},
|
|
37927
37603
|
"default": "''",
|
|
37928
|
-
"description": "
|
|
37929
|
-
"fieldName": "
|
|
37604
|
+
"description": "The href value you want to link to.",
|
|
37605
|
+
"fieldName": "href",
|
|
37930
37606
|
"inheritedFrom": {
|
|
37931
|
-
"name": "
|
|
37932
|
-
"module": "core/base-elements/
|
|
37607
|
+
"name": "SbbLinkBaseElement",
|
|
37608
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37933
37609
|
}
|
|
37934
37610
|
},
|
|
37935
37611
|
{
|
|
37936
|
-
"name": "
|
|
37937
|
-
"description": "The type attribute to use for the button.",
|
|
37938
|
-
"default": "'button'",
|
|
37612
|
+
"name": "target",
|
|
37939
37613
|
"type": {
|
|
37940
|
-
"text": "
|
|
37614
|
+
"text": "LinkTargetType | string"
|
|
37941
37615
|
},
|
|
37942
|
-
"
|
|
37616
|
+
"default": "''",
|
|
37617
|
+
"description": "Where to display the linked URL.",
|
|
37618
|
+
"fieldName": "target",
|
|
37943
37619
|
"inheritedFrom": {
|
|
37944
|
-
"name": "
|
|
37945
|
-
"module": "core/base-elements/
|
|
37620
|
+
"name": "SbbLinkBaseElement",
|
|
37621
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37946
37622
|
}
|
|
37947
37623
|
},
|
|
37948
37624
|
{
|
|
37949
|
-
"name": "
|
|
37950
|
-
"description": "The `<form>` element to associate the button with.",
|
|
37625
|
+
"name": "rel",
|
|
37951
37626
|
"type": {
|
|
37952
|
-
"text": "
|
|
37627
|
+
"text": "string"
|
|
37953
37628
|
},
|
|
37954
|
-
"
|
|
37629
|
+
"default": "''",
|
|
37630
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37631
|
+
"fieldName": "rel",
|
|
37955
37632
|
"inheritedFrom": {
|
|
37956
|
-
"name": "
|
|
37957
|
-
"module": "core/base-elements/
|
|
37633
|
+
"name": "SbbLinkBaseElement",
|
|
37634
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37958
37635
|
}
|
|
37959
37636
|
},
|
|
37960
37637
|
{
|
|
37961
|
-
"name": "
|
|
37962
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
37638
|
+
"name": "download",
|
|
37963
37639
|
"type": {
|
|
37964
|
-
"text": "
|
|
37640
|
+
"text": "boolean"
|
|
37965
37641
|
},
|
|
37966
|
-
"
|
|
37642
|
+
"default": "false",
|
|
37643
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
37644
|
+
"fieldName": "download",
|
|
37967
37645
|
"inheritedFrom": {
|
|
37968
|
-
"name": "
|
|
37969
|
-
"module": "core/
|
|
37646
|
+
"name": "SbbLinkBaseElement",
|
|
37647
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37648
|
+
}
|
|
37649
|
+
},
|
|
37650
|
+
{
|
|
37651
|
+
"name": "accessibility-label",
|
|
37652
|
+
"type": {
|
|
37653
|
+
"text": "string"
|
|
37654
|
+
},
|
|
37655
|
+
"default": "''",
|
|
37656
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37657
|
+
"fieldName": "accessibilityLabel",
|
|
37658
|
+
"inheritedFrom": {
|
|
37659
|
+
"name": "SbbLinkBaseElement",
|
|
37660
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37661
|
+
}
|
|
37662
|
+
},
|
|
37663
|
+
{
|
|
37664
|
+
"name": "accessibility-current",
|
|
37665
|
+
"type": {
|
|
37666
|
+
"text": "string"
|
|
37667
|
+
},
|
|
37668
|
+
"default": "''",
|
|
37669
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37670
|
+
"fieldName": "accessibilityCurrent",
|
|
37671
|
+
"inheritedFrom": {
|
|
37672
|
+
"name": "SbbLinkBaseElement",
|
|
37673
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37970
37674
|
}
|
|
37971
37675
|
}
|
|
37972
37676
|
]
|
|
@@ -37975,22 +37679,22 @@
|
|
|
37975
37679
|
"exports": [
|
|
37976
37680
|
{
|
|
37977
37681
|
"kind": "js",
|
|
37978
|
-
"name": "
|
|
37682
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37979
37683
|
"declaration": {
|
|
37980
|
-
"name": "
|
|
37981
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
37684
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37685
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
37982
37686
|
}
|
|
37983
37687
|
}
|
|
37984
37688
|
]
|
|
37985
37689
|
},
|
|
37986
37690
|
{
|
|
37987
37691
|
"kind": "javascript-module",
|
|
37988
|
-
"path": "button/accent-button
|
|
37692
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
37989
37693
|
"declarations": [
|
|
37990
37694
|
{
|
|
37991
37695
|
"kind": "class",
|
|
37992
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant
|
|
37993
|
-
"name": "
|
|
37696
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37697
|
+
"name": "SbbAccentButtonElement",
|
|
37994
37698
|
"cssProperties": [
|
|
37995
37699
|
{
|
|
37996
37700
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -38000,7 +37704,7 @@
|
|
|
38000
37704
|
],
|
|
38001
37705
|
"slots": [
|
|
38002
37706
|
{
|
|
38003
|
-
"description": "Use the unnamed slot to add content to the accent-button
|
|
37707
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
38004
37708
|
"name": ""
|
|
38005
37709
|
},
|
|
38006
37710
|
{
|
|
@@ -38018,7 +37722,7 @@
|
|
|
38018
37722
|
"privacy": "public",
|
|
38019
37723
|
"static": true,
|
|
38020
37724
|
"readonly": true,
|
|
38021
|
-
"default": "'sbb-accent-button
|
|
37725
|
+
"default": "'sbb-accent-button'",
|
|
38022
37726
|
"inheritedFrom": {
|
|
38023
37727
|
"name": "SbbElement",
|
|
38024
37728
|
"module": "core/base-elements/element.js"
|
|
@@ -38215,151 +37919,479 @@
|
|
|
38215
37919
|
},
|
|
38216
37920
|
{
|
|
38217
37921
|
"kind": "field",
|
|
38218
|
-
"name": "
|
|
37922
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
37923
|
+
"type": {
|
|
37924
|
+
"text": "array"
|
|
37925
|
+
},
|
|
37926
|
+
"privacy": "private",
|
|
37927
|
+
"readonly": true,
|
|
37928
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
37929
|
+
"inheritedFrom": {
|
|
37930
|
+
"name": "SbbButtonBaseElement",
|
|
37931
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37932
|
+
}
|
|
37933
|
+
},
|
|
37934
|
+
{
|
|
37935
|
+
"kind": "field",
|
|
37936
|
+
"name": "value",
|
|
38219
37937
|
"type": {
|
|
38220
37938
|
"text": "string"
|
|
38221
37939
|
},
|
|
38222
37940
|
"privacy": "public",
|
|
38223
37941
|
"default": "''",
|
|
38224
|
-
"description": "
|
|
38225
|
-
"attribute": "
|
|
38226
|
-
"reflects": true,
|
|
37942
|
+
"description": "Value of the form element.",
|
|
37943
|
+
"attribute": "value",
|
|
38227
37944
|
"inheritedFrom": {
|
|
38228
|
-
"name": "
|
|
38229
|
-
"module": "core/base-elements/
|
|
37945
|
+
"name": "SbbButtonBaseElement",
|
|
37946
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38230
37947
|
}
|
|
38231
37948
|
},
|
|
38232
37949
|
{
|
|
38233
37950
|
"kind": "field",
|
|
38234
|
-
"name": "
|
|
37951
|
+
"name": "type",
|
|
37952
|
+
"privacy": "public",
|
|
37953
|
+
"description": "The type attribute to use for the button.",
|
|
37954
|
+
"default": "'button'",
|
|
38235
37955
|
"type": {
|
|
38236
|
-
"text": "
|
|
37956
|
+
"text": "SbbButtonType"
|
|
37957
|
+
},
|
|
37958
|
+
"attribute": "type",
|
|
37959
|
+
"inheritedFrom": {
|
|
37960
|
+
"name": "SbbButtonBaseElement",
|
|
37961
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37962
|
+
}
|
|
37963
|
+
},
|
|
37964
|
+
{
|
|
37965
|
+
"kind": "field",
|
|
37966
|
+
"name": "form",
|
|
37967
|
+
"type": {
|
|
37968
|
+
"text": "HTMLFormElement | null"
|
|
38237
37969
|
},
|
|
38238
37970
|
"privacy": "public",
|
|
38239
|
-
"
|
|
38240
|
-
"
|
|
38241
|
-
"attribute": "target",
|
|
38242
|
-
"reflects": true,
|
|
37971
|
+
"description": "The `<form>` element to associate the button with.",
|
|
37972
|
+
"attribute": "form",
|
|
38243
37973
|
"inheritedFrom": {
|
|
38244
|
-
"name": "
|
|
38245
|
-
"module": "core/base-elements/
|
|
37974
|
+
"name": "SbbButtonBaseElement",
|
|
37975
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38246
37976
|
}
|
|
38247
37977
|
},
|
|
38248
37978
|
{
|
|
38249
37979
|
"kind": "field",
|
|
38250
|
-
"name": "
|
|
37980
|
+
"name": "_formId",
|
|
38251
37981
|
"type": {
|
|
38252
37982
|
"text": "string"
|
|
38253
37983
|
},
|
|
38254
|
-
"privacy": "
|
|
37984
|
+
"privacy": "private",
|
|
38255
37985
|
"default": "''",
|
|
38256
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38257
|
-
"attribute": "rel",
|
|
38258
|
-
"reflects": true,
|
|
38259
37986
|
"inheritedFrom": {
|
|
38260
|
-
"name": "
|
|
38261
|
-
"module": "core/base-elements/
|
|
37987
|
+
"name": "SbbButtonBaseElement",
|
|
37988
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38262
37989
|
}
|
|
38263
37990
|
},
|
|
38264
37991
|
{
|
|
38265
37992
|
"kind": "field",
|
|
38266
|
-
"name": "
|
|
37993
|
+
"name": "_handleButtonClick",
|
|
37994
|
+
"privacy": "private",
|
|
37995
|
+
"inheritedFrom": {
|
|
37996
|
+
"name": "SbbButtonBaseElement",
|
|
37997
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37998
|
+
}
|
|
37999
|
+
},
|
|
38000
|
+
{
|
|
38001
|
+
"kind": "method",
|
|
38002
|
+
"name": "_requestSubmit",
|
|
38003
|
+
"privacy": "private",
|
|
38004
|
+
"return": {
|
|
38005
|
+
"type": {
|
|
38006
|
+
"text": "void"
|
|
38007
|
+
}
|
|
38008
|
+
},
|
|
38009
|
+
"parameters": [
|
|
38010
|
+
{
|
|
38011
|
+
"name": "form",
|
|
38012
|
+
"type": {
|
|
38013
|
+
"text": "HTMLFormElement"
|
|
38014
|
+
}
|
|
38015
|
+
}
|
|
38016
|
+
],
|
|
38017
|
+
"inheritedFrom": {
|
|
38018
|
+
"name": "SbbButtonBaseElement",
|
|
38019
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38020
|
+
}
|
|
38021
|
+
},
|
|
38022
|
+
{
|
|
38023
|
+
"kind": "field",
|
|
38024
|
+
"name": "_formKeyDown",
|
|
38025
|
+
"privacy": "private",
|
|
38026
|
+
"inheritedFrom": {
|
|
38027
|
+
"name": "SbbButtonBaseElement",
|
|
38028
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38029
|
+
}
|
|
38030
|
+
},
|
|
38031
|
+
{
|
|
38032
|
+
"kind": "field",
|
|
38033
|
+
"name": "formAssociated",
|
|
38267
38034
|
"type": {
|
|
38268
38035
|
"text": "boolean"
|
|
38269
38036
|
},
|
|
38270
38037
|
"privacy": "public",
|
|
38271
|
-
"
|
|
38272
|
-
"
|
|
38273
|
-
"attribute": "download",
|
|
38274
|
-
"reflects": true,
|
|
38038
|
+
"static": true,
|
|
38039
|
+
"default": "true",
|
|
38275
38040
|
"inheritedFrom": {
|
|
38276
|
-
"name": "
|
|
38277
|
-
"module": "core/
|
|
38041
|
+
"name": "SbbFormAssociatedMixin",
|
|
38042
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38278
38043
|
}
|
|
38279
38044
|
},
|
|
38280
38045
|
{
|
|
38281
38046
|
"kind": "field",
|
|
38282
|
-
"name": "
|
|
38047
|
+
"name": "name",
|
|
38048
|
+
"privacy": "public",
|
|
38049
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
38283
38050
|
"type": {
|
|
38284
38051
|
"text": "string"
|
|
38285
38052
|
},
|
|
38053
|
+
"attribute": "name",
|
|
38054
|
+
"inheritedFrom": {
|
|
38055
|
+
"name": "SbbFormAssociatedMixin",
|
|
38056
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38057
|
+
}
|
|
38058
|
+
},
|
|
38059
|
+
{
|
|
38060
|
+
"kind": "field",
|
|
38061
|
+
"name": "validity",
|
|
38062
|
+
"type": {
|
|
38063
|
+
"text": "ValidityState"
|
|
38064
|
+
},
|
|
38286
38065
|
"privacy": "public",
|
|
38287
|
-
"
|
|
38288
|
-
"
|
|
38289
|
-
"attribute": "accessibility-label",
|
|
38066
|
+
"description": "Returns the ValidityState object for this element.",
|
|
38067
|
+
"readonly": true,
|
|
38290
38068
|
"inheritedFrom": {
|
|
38291
|
-
"name": "
|
|
38292
|
-
"module": "core/
|
|
38069
|
+
"name": "SbbFormAssociatedMixin",
|
|
38070
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38293
38071
|
}
|
|
38294
38072
|
},
|
|
38295
38073
|
{
|
|
38296
38074
|
"kind": "field",
|
|
38297
|
-
"name": "
|
|
38075
|
+
"name": "validationMessage",
|
|
38298
38076
|
"type": {
|
|
38299
38077
|
"text": "string"
|
|
38300
38078
|
},
|
|
38301
38079
|
"privacy": "public",
|
|
38302
|
-
"
|
|
38303
|
-
"
|
|
38304
|
-
"attribute": "accessibility-current",
|
|
38080
|
+
"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.",
|
|
38081
|
+
"readonly": true,
|
|
38305
38082
|
"inheritedFrom": {
|
|
38306
|
-
"name": "
|
|
38307
|
-
"module": "core/
|
|
38083
|
+
"name": "SbbFormAssociatedMixin",
|
|
38084
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38308
38085
|
}
|
|
38309
38086
|
},
|
|
38310
38087
|
{
|
|
38311
38088
|
"kind": "field",
|
|
38312
|
-
"name": "
|
|
38313
|
-
"
|
|
38314
|
-
|
|
38089
|
+
"name": "willValidate",
|
|
38090
|
+
"type": {
|
|
38091
|
+
"text": "boolean"
|
|
38092
|
+
},
|
|
38093
|
+
"privacy": "public",
|
|
38094
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
38095
|
+
"readonly": true,
|
|
38315
38096
|
"inheritedFrom": {
|
|
38316
|
-
"name": "
|
|
38317
|
-
"module": "core/
|
|
38097
|
+
"name": "SbbFormAssociatedMixin",
|
|
38098
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38318
38099
|
}
|
|
38319
38100
|
},
|
|
38320
38101
|
{
|
|
38321
38102
|
"kind": "field",
|
|
38322
|
-
"name": "
|
|
38103
|
+
"name": "_validityStates",
|
|
38104
|
+
"privacy": "private",
|
|
38105
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
38106
|
+
"inheritedFrom": {
|
|
38107
|
+
"name": "SbbFormAssociatedMixin",
|
|
38108
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38109
|
+
}
|
|
38110
|
+
},
|
|
38111
|
+
{
|
|
38112
|
+
"kind": "field",
|
|
38113
|
+
"name": "formDisabled",
|
|
38323
38114
|
"type": {
|
|
38324
|
-
"text": "
|
|
38115
|
+
"text": "boolean"
|
|
38325
38116
|
},
|
|
38326
38117
|
"privacy": "protected",
|
|
38327
|
-
"
|
|
38328
|
-
"
|
|
38118
|
+
"default": "false",
|
|
38119
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
38329
38120
|
"inheritedFrom": {
|
|
38330
|
-
"name": "
|
|
38331
|
-
"module": "core/
|
|
38121
|
+
"name": "SbbFormAssociatedMixin",
|
|
38122
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38332
38123
|
}
|
|
38333
38124
|
},
|
|
38334
38125
|
{
|
|
38335
|
-
"kind": "
|
|
38336
|
-
"name": "
|
|
38126
|
+
"kind": "method",
|
|
38127
|
+
"name": "checkValidity",
|
|
38128
|
+
"privacy": "public",
|
|
38129
|
+
"return": {
|
|
38130
|
+
"type": {
|
|
38131
|
+
"text": "boolean"
|
|
38132
|
+
}
|
|
38133
|
+
},
|
|
38134
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
38135
|
+
"inheritedFrom": {
|
|
38136
|
+
"name": "SbbFormAssociatedMixin",
|
|
38137
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38138
|
+
}
|
|
38139
|
+
},
|
|
38140
|
+
{
|
|
38141
|
+
"kind": "method",
|
|
38142
|
+
"name": "reportValidity",
|
|
38143
|
+
"privacy": "public",
|
|
38144
|
+
"return": {
|
|
38145
|
+
"type": {
|
|
38146
|
+
"text": "boolean"
|
|
38147
|
+
}
|
|
38148
|
+
},
|
|
38149
|
+
"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.",
|
|
38150
|
+
"inheritedFrom": {
|
|
38151
|
+
"name": "SbbFormAssociatedMixin",
|
|
38152
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38153
|
+
}
|
|
38154
|
+
},
|
|
38155
|
+
{
|
|
38156
|
+
"kind": "method",
|
|
38157
|
+
"name": "setCustomValidity",
|
|
38158
|
+
"privacy": "public",
|
|
38159
|
+
"return": {
|
|
38160
|
+
"type": {
|
|
38161
|
+
"text": "void"
|
|
38162
|
+
}
|
|
38163
|
+
},
|
|
38164
|
+
"parameters": [
|
|
38165
|
+
{
|
|
38166
|
+
"name": "message",
|
|
38167
|
+
"type": {
|
|
38168
|
+
"text": "string"
|
|
38169
|
+
}
|
|
38170
|
+
}
|
|
38171
|
+
],
|
|
38172
|
+
"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.",
|
|
38173
|
+
"inheritedFrom": {
|
|
38174
|
+
"name": "SbbFormAssociatedMixin",
|
|
38175
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38176
|
+
}
|
|
38177
|
+
},
|
|
38178
|
+
{
|
|
38179
|
+
"kind": "method",
|
|
38180
|
+
"name": "_hasDisabledAncestor",
|
|
38337
38181
|
"privacy": "private",
|
|
38182
|
+
"return": {
|
|
38183
|
+
"type": {
|
|
38184
|
+
"text": "boolean"
|
|
38185
|
+
}
|
|
38186
|
+
},
|
|
38338
38187
|
"inheritedFrom": {
|
|
38339
|
-
"name": "
|
|
38340
|
-
"module": "core/
|
|
38188
|
+
"name": "SbbFormAssociatedMixin",
|
|
38189
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38341
38190
|
}
|
|
38342
38191
|
},
|
|
38343
38192
|
{
|
|
38344
38193
|
"kind": "method",
|
|
38345
|
-
"name": "
|
|
38194
|
+
"name": "updateFormValue",
|
|
38346
38195
|
"privacy": "protected",
|
|
38347
38196
|
"return": {
|
|
38348
38197
|
"type": {
|
|
38349
|
-
"text": "
|
|
38198
|
+
"text": "void"
|
|
38199
|
+
}
|
|
38200
|
+
},
|
|
38201
|
+
"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",
|
|
38202
|
+
"inheritedFrom": {
|
|
38203
|
+
"name": "SbbFormAssociatedMixin",
|
|
38204
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38205
|
+
}
|
|
38206
|
+
},
|
|
38207
|
+
{
|
|
38208
|
+
"kind": "method",
|
|
38209
|
+
"name": "formState",
|
|
38210
|
+
"privacy": "protected",
|
|
38211
|
+
"return": {
|
|
38212
|
+
"type": {
|
|
38213
|
+
"text": "FormRestoreState"
|
|
38214
|
+
}
|
|
38215
|
+
},
|
|
38216
|
+
"inheritedFrom": {
|
|
38217
|
+
"name": "SbbFormAssociatedMixin",
|
|
38218
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38219
|
+
}
|
|
38220
|
+
},
|
|
38221
|
+
{
|
|
38222
|
+
"kind": "method",
|
|
38223
|
+
"name": "setValidityFlag",
|
|
38224
|
+
"privacy": "protected",
|
|
38225
|
+
"return": {
|
|
38226
|
+
"type": {
|
|
38227
|
+
"text": "void"
|
|
38350
38228
|
}
|
|
38351
38229
|
},
|
|
38352
38230
|
"parameters": [
|
|
38353
38231
|
{
|
|
38354
|
-
"name": "
|
|
38232
|
+
"name": "flag",
|
|
38355
38233
|
"type": {
|
|
38356
|
-
"text": "
|
|
38234
|
+
"text": "T"
|
|
38235
|
+
}
|
|
38236
|
+
},
|
|
38237
|
+
{
|
|
38238
|
+
"name": "message",
|
|
38239
|
+
"type": {
|
|
38240
|
+
"text": "string"
|
|
38241
|
+
}
|
|
38242
|
+
},
|
|
38243
|
+
{
|
|
38244
|
+
"name": "flagValue",
|
|
38245
|
+
"optional": true,
|
|
38246
|
+
"type": {
|
|
38247
|
+
"text": "ValidityStateFlags[T]"
|
|
38357
38248
|
}
|
|
38358
38249
|
}
|
|
38359
38250
|
],
|
|
38251
|
+
"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).",
|
|
38360
38252
|
"inheritedFrom": {
|
|
38361
|
-
"name": "
|
|
38362
|
-
"module": "core/
|
|
38253
|
+
"name": "SbbFormAssociatedMixin",
|
|
38254
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38255
|
+
}
|
|
38256
|
+
},
|
|
38257
|
+
{
|
|
38258
|
+
"kind": "method",
|
|
38259
|
+
"name": "removeValidityFlag",
|
|
38260
|
+
"privacy": "protected",
|
|
38261
|
+
"return": {
|
|
38262
|
+
"type": {
|
|
38263
|
+
"text": "void"
|
|
38264
|
+
}
|
|
38265
|
+
},
|
|
38266
|
+
"parameters": [
|
|
38267
|
+
{
|
|
38268
|
+
"name": "flag",
|
|
38269
|
+
"type": {
|
|
38270
|
+
"text": "T"
|
|
38271
|
+
}
|
|
38272
|
+
}
|
|
38273
|
+
],
|
|
38274
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
38275
|
+
"inheritedFrom": {
|
|
38276
|
+
"name": "SbbFormAssociatedMixin",
|
|
38277
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38278
|
+
}
|
|
38279
|
+
},
|
|
38280
|
+
{
|
|
38281
|
+
"kind": "method",
|
|
38282
|
+
"name": "validate",
|
|
38283
|
+
"privacy": "protected",
|
|
38284
|
+
"return": {
|
|
38285
|
+
"type": {
|
|
38286
|
+
"text": "void"
|
|
38287
|
+
}
|
|
38288
|
+
},
|
|
38289
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
38290
|
+
"inheritedFrom": {
|
|
38291
|
+
"name": "SbbFormAssociatedMixin",
|
|
38292
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38293
|
+
}
|
|
38294
|
+
},
|
|
38295
|
+
{
|
|
38296
|
+
"kind": "method",
|
|
38297
|
+
"name": "shouldValidate",
|
|
38298
|
+
"privacy": "protected",
|
|
38299
|
+
"return": {
|
|
38300
|
+
"type": {
|
|
38301
|
+
"text": "boolean"
|
|
38302
|
+
}
|
|
38303
|
+
},
|
|
38304
|
+
"parameters": [
|
|
38305
|
+
{
|
|
38306
|
+
"name": "name",
|
|
38307
|
+
"type": {
|
|
38308
|
+
"text": "PropertyKey | undefined"
|
|
38309
|
+
}
|
|
38310
|
+
}
|
|
38311
|
+
],
|
|
38312
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
38313
|
+
"inheritedFrom": {
|
|
38314
|
+
"name": "SbbFormAssociatedMixin",
|
|
38315
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38316
|
+
}
|
|
38317
|
+
},
|
|
38318
|
+
{
|
|
38319
|
+
"kind": "method",
|
|
38320
|
+
"name": "_setInternalValidity",
|
|
38321
|
+
"privacy": "private",
|
|
38322
|
+
"return": {
|
|
38323
|
+
"type": {
|
|
38324
|
+
"text": "void"
|
|
38325
|
+
}
|
|
38326
|
+
},
|
|
38327
|
+
"inheritedFrom": {
|
|
38328
|
+
"name": "SbbFormAssociatedMixin",
|
|
38329
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38330
|
+
}
|
|
38331
|
+
},
|
|
38332
|
+
{
|
|
38333
|
+
"kind": "field",
|
|
38334
|
+
"name": "role",
|
|
38335
|
+
"type": {
|
|
38336
|
+
"text": "ElementInternals['role']"
|
|
38337
|
+
},
|
|
38338
|
+
"privacy": "public",
|
|
38339
|
+
"static": true,
|
|
38340
|
+
"readonly": true,
|
|
38341
|
+
"default": "'button'",
|
|
38342
|
+
"inheritedFrom": {
|
|
38343
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38344
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38345
|
+
}
|
|
38346
|
+
},
|
|
38347
|
+
{
|
|
38348
|
+
"kind": "field",
|
|
38349
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
38350
|
+
"privacy": "private",
|
|
38351
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
38352
|
+
"parameters": [
|
|
38353
|
+
{
|
|
38354
|
+
"description": "The origin event.",
|
|
38355
|
+
"name": "event"
|
|
38356
|
+
}
|
|
38357
|
+
],
|
|
38358
|
+
"inheritedFrom": {
|
|
38359
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38360
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38361
|
+
}
|
|
38362
|
+
},
|
|
38363
|
+
{
|
|
38364
|
+
"kind": "field",
|
|
38365
|
+
"name": "_removeActiveMarker",
|
|
38366
|
+
"privacy": "private",
|
|
38367
|
+
"inheritedFrom": {
|
|
38368
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38369
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38370
|
+
}
|
|
38371
|
+
},
|
|
38372
|
+
{
|
|
38373
|
+
"kind": "field",
|
|
38374
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
38375
|
+
"privacy": "private",
|
|
38376
|
+
"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.",
|
|
38377
|
+
"parameters": [
|
|
38378
|
+
{
|
|
38379
|
+
"description": "The origin event.",
|
|
38380
|
+
"name": "event"
|
|
38381
|
+
}
|
|
38382
|
+
],
|
|
38383
|
+
"inheritedFrom": {
|
|
38384
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38385
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38386
|
+
}
|
|
38387
|
+
},
|
|
38388
|
+
{
|
|
38389
|
+
"kind": "field",
|
|
38390
|
+
"name": "_dispatchClickEvent",
|
|
38391
|
+
"privacy": "private",
|
|
38392
|
+
"inheritedFrom": {
|
|
38393
|
+
"name": "SbbButtonLikeBaseElement",
|
|
38394
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38363
38395
|
}
|
|
38364
38396
|
},
|
|
38365
38397
|
{
|
|
@@ -38514,19 +38546,15 @@
|
|
|
38514
38546
|
"module": "button/common/button-common.js"
|
|
38515
38547
|
},
|
|
38516
38548
|
{
|
|
38517
|
-
"name": "
|
|
38518
|
-
"module": "core/mixins.js"
|
|
38519
|
-
},
|
|
38520
|
-
{
|
|
38521
|
-
"name": "SbbDisabledMixin",
|
|
38549
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
38522
38550
|
"module": "core/mixins.js"
|
|
38523
38551
|
}
|
|
38524
38552
|
],
|
|
38525
38553
|
"superclass": {
|
|
38526
|
-
"name": "
|
|
38554
|
+
"name": "SbbButtonBaseElement",
|
|
38527
38555
|
"module": "core/base-elements.js"
|
|
38528
38556
|
},
|
|
38529
|
-
"tagName": "sbb-accent-button
|
|
38557
|
+
"tagName": "sbb-accent-button",
|
|
38530
38558
|
"customElement": true,
|
|
38531
38559
|
"attributes": [
|
|
38532
38560
|
{
|
|
@@ -38608,81 +38636,53 @@
|
|
|
38608
38636
|
}
|
|
38609
38637
|
},
|
|
38610
38638
|
{
|
|
38611
|
-
"name": "
|
|
38639
|
+
"name": "value",
|
|
38612
38640
|
"type": {
|
|
38613
38641
|
"text": "string"
|
|
38614
38642
|
},
|
|
38615
38643
|
"default": "''",
|
|
38616
|
-
"description": "
|
|
38617
|
-
"fieldName": "
|
|
38618
|
-
"inheritedFrom": {
|
|
38619
|
-
"name": "SbbLinkBaseElement",
|
|
38620
|
-
"module": "core/base-elements/link-base-element.js"
|
|
38621
|
-
}
|
|
38622
|
-
},
|
|
38623
|
-
{
|
|
38624
|
-
"name": "target",
|
|
38625
|
-
"type": {
|
|
38626
|
-
"text": "LinkTargetType | string"
|
|
38627
|
-
},
|
|
38628
|
-
"default": "''",
|
|
38629
|
-
"description": "Where to display the linked URL.",
|
|
38630
|
-
"fieldName": "target",
|
|
38631
|
-
"inheritedFrom": {
|
|
38632
|
-
"name": "SbbLinkBaseElement",
|
|
38633
|
-
"module": "core/base-elements/link-base-element.js"
|
|
38634
|
-
}
|
|
38635
|
-
},
|
|
38636
|
-
{
|
|
38637
|
-
"name": "rel",
|
|
38638
|
-
"type": {
|
|
38639
|
-
"text": "string"
|
|
38640
|
-
},
|
|
38641
|
-
"default": "''",
|
|
38642
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38643
|
-
"fieldName": "rel",
|
|
38644
|
+
"description": "Value of the form element.",
|
|
38645
|
+
"fieldName": "value",
|
|
38644
38646
|
"inheritedFrom": {
|
|
38645
|
-
"name": "
|
|
38646
|
-
"module": "core/base-elements/
|
|
38647
|
+
"name": "SbbButtonBaseElement",
|
|
38648
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38647
38649
|
}
|
|
38648
38650
|
},
|
|
38649
38651
|
{
|
|
38650
|
-
"name": "
|
|
38652
|
+
"name": "type",
|
|
38653
|
+
"description": "The type attribute to use for the button.",
|
|
38654
|
+
"default": "'button'",
|
|
38651
38655
|
"type": {
|
|
38652
|
-
"text": "
|
|
38656
|
+
"text": "SbbButtonType"
|
|
38653
38657
|
},
|
|
38654
|
-
"
|
|
38655
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
38656
|
-
"fieldName": "download",
|
|
38658
|
+
"fieldName": "type",
|
|
38657
38659
|
"inheritedFrom": {
|
|
38658
|
-
"name": "
|
|
38659
|
-
"module": "core/base-elements/
|
|
38660
|
+
"name": "SbbButtonBaseElement",
|
|
38661
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38660
38662
|
}
|
|
38661
38663
|
},
|
|
38662
38664
|
{
|
|
38663
|
-
"name": "
|
|
38665
|
+
"name": "form",
|
|
38666
|
+
"description": "The `<form>` element to associate the button with.",
|
|
38664
38667
|
"type": {
|
|
38665
|
-
"text": "
|
|
38668
|
+
"text": "HTMLFormElement | null"
|
|
38666
38669
|
},
|
|
38667
|
-
"
|
|
38668
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38669
|
-
"fieldName": "accessibilityLabel",
|
|
38670
|
+
"fieldName": "form",
|
|
38670
38671
|
"inheritedFrom": {
|
|
38671
|
-
"name": "
|
|
38672
|
-
"module": "core/base-elements/
|
|
38672
|
+
"name": "SbbButtonBaseElement",
|
|
38673
|
+
"module": "core/base-elements/button-base-element.js"
|
|
38673
38674
|
}
|
|
38674
38675
|
},
|
|
38675
38676
|
{
|
|
38676
|
-
"name": "
|
|
38677
|
+
"name": "name",
|
|
38678
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
38677
38679
|
"type": {
|
|
38678
38680
|
"text": "string"
|
|
38679
38681
|
},
|
|
38680
|
-
"
|
|
38681
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38682
|
-
"fieldName": "accessibilityCurrent",
|
|
38682
|
+
"fieldName": "name",
|
|
38683
38683
|
"inheritedFrom": {
|
|
38684
|
-
"name": "
|
|
38685
|
-
"module": "core/
|
|
38684
|
+
"name": "SbbFormAssociatedMixin",
|
|
38685
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
38686
38686
|
}
|
|
38687
38687
|
}
|
|
38688
38688
|
]
|
|
@@ -38691,10 +38691,10 @@
|
|
|
38691
38691
|
"exports": [
|
|
38692
38692
|
{
|
|
38693
38693
|
"kind": "js",
|
|
38694
|
-
"name": "
|
|
38694
|
+
"name": "SbbAccentButtonElement",
|
|
38695
38695
|
"declaration": {
|
|
38696
|
-
"name": "
|
|
38697
|
-
"module": "button/accent-button
|
|
38696
|
+
"name": "SbbAccentButtonElement",
|
|
38697
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
38698
38698
|
}
|
|
38699
38699
|
}
|
|
38700
38700
|
]
|
|
@@ -100752,6 +100752,440 @@
|
|
|
100752
100752
|
}
|
|
100753
100753
|
]
|
|
100754
100754
|
},
|
|
100755
|
+
{
|
|
100756
|
+
"kind": "javascript-module",
|
|
100757
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
100758
|
+
"declarations": [
|
|
100759
|
+
{
|
|
100760
|
+
"kind": "class",
|
|
100761
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
100762
|
+
"name": "SbbBlockLinkStaticElement",
|
|
100763
|
+
"slots": [
|
|
100764
|
+
{
|
|
100765
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
100766
|
+
"name": ""
|
|
100767
|
+
},
|
|
100768
|
+
{
|
|
100769
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
100770
|
+
"name": "icon"
|
|
100771
|
+
}
|
|
100772
|
+
],
|
|
100773
|
+
"members": [
|
|
100774
|
+
{
|
|
100775
|
+
"kind": "field",
|
|
100776
|
+
"name": "elementName",
|
|
100777
|
+
"type": {
|
|
100778
|
+
"text": "string"
|
|
100779
|
+
},
|
|
100780
|
+
"privacy": "public",
|
|
100781
|
+
"static": true,
|
|
100782
|
+
"readonly": true,
|
|
100783
|
+
"inheritedFrom": {
|
|
100784
|
+
"name": "SbbElement",
|
|
100785
|
+
"module": "core/base-elements/element.js"
|
|
100786
|
+
},
|
|
100787
|
+
"default": "'sbb-block-link-static'"
|
|
100788
|
+
},
|
|
100789
|
+
{
|
|
100790
|
+
"kind": "field",
|
|
100791
|
+
"name": "styles",
|
|
100792
|
+
"type": {
|
|
100793
|
+
"text": "CSSResultGroup"
|
|
100794
|
+
},
|
|
100795
|
+
"privacy": "public",
|
|
100796
|
+
"static": true,
|
|
100797
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
100798
|
+
"inheritedFrom": {
|
|
100799
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100800
|
+
"module": "link/common/link-common.js"
|
|
100801
|
+
}
|
|
100802
|
+
},
|
|
100803
|
+
{
|
|
100804
|
+
"kind": "field",
|
|
100805
|
+
"name": "iconPlacement",
|
|
100806
|
+
"type": {
|
|
100807
|
+
"text": "SbbIconPlacement"
|
|
100808
|
+
},
|
|
100809
|
+
"privacy": "public",
|
|
100810
|
+
"default": "'start'",
|
|
100811
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
100812
|
+
"attribute": "icon-placement",
|
|
100813
|
+
"reflects": true,
|
|
100814
|
+
"inheritedFrom": {
|
|
100815
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100816
|
+
"module": "link/common/block-link-common.js"
|
|
100817
|
+
}
|
|
100818
|
+
},
|
|
100819
|
+
{
|
|
100820
|
+
"kind": "method",
|
|
100821
|
+
"name": "renderTemplate",
|
|
100822
|
+
"privacy": "protected",
|
|
100823
|
+
"return": {
|
|
100824
|
+
"type": {
|
|
100825
|
+
"text": "TemplateResult"
|
|
100826
|
+
}
|
|
100827
|
+
},
|
|
100828
|
+
"description": "Override this method to render the component template.",
|
|
100829
|
+
"inheritedFrom": {
|
|
100830
|
+
"name": "SbbActionBaseElement",
|
|
100831
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100832
|
+
}
|
|
100833
|
+
},
|
|
100834
|
+
{
|
|
100835
|
+
"kind": "field",
|
|
100836
|
+
"name": "size",
|
|
100837
|
+
"type": {
|
|
100838
|
+
"text": "SbbLinkSize"
|
|
100839
|
+
},
|
|
100840
|
+
"privacy": "public",
|
|
100841
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100842
|
+
"default": "'s' / 'xs' (lean)",
|
|
100843
|
+
"attribute": "size",
|
|
100844
|
+
"reflects": true,
|
|
100845
|
+
"inheritedFrom": {
|
|
100846
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100847
|
+
"module": "link/common/link-common.js"
|
|
100848
|
+
}
|
|
100849
|
+
},
|
|
100850
|
+
{
|
|
100851
|
+
"kind": "field",
|
|
100852
|
+
"name": "iconName",
|
|
100853
|
+
"type": {
|
|
100854
|
+
"text": "string"
|
|
100855
|
+
},
|
|
100856
|
+
"privacy": "public",
|
|
100857
|
+
"default": "''",
|
|
100858
|
+
"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.",
|
|
100859
|
+
"attribute": "icon-name",
|
|
100860
|
+
"inheritedFrom": {
|
|
100861
|
+
"name": "SbbIconNameMixin",
|
|
100862
|
+
"module": "icon/icon-name-mixin.js"
|
|
100863
|
+
}
|
|
100864
|
+
},
|
|
100865
|
+
{
|
|
100866
|
+
"kind": "method",
|
|
100867
|
+
"name": "renderIconSlot",
|
|
100868
|
+
"privacy": "protected",
|
|
100869
|
+
"return": {
|
|
100870
|
+
"type": {
|
|
100871
|
+
"text": "TemplateResult"
|
|
100872
|
+
}
|
|
100873
|
+
},
|
|
100874
|
+
"parameters": [
|
|
100875
|
+
{
|
|
100876
|
+
"name": "classname",
|
|
100877
|
+
"optional": true,
|
|
100878
|
+
"type": {
|
|
100879
|
+
"text": "string"
|
|
100880
|
+
}
|
|
100881
|
+
}
|
|
100882
|
+
],
|
|
100883
|
+
"inheritedFrom": {
|
|
100884
|
+
"name": "SbbIconNameMixin",
|
|
100885
|
+
"module": "icon/icon-name-mixin.js"
|
|
100886
|
+
}
|
|
100887
|
+
},
|
|
100888
|
+
{
|
|
100889
|
+
"kind": "method",
|
|
100890
|
+
"name": "renderIconName",
|
|
100891
|
+
"privacy": "protected",
|
|
100892
|
+
"return": {
|
|
100893
|
+
"type": {
|
|
100894
|
+
"text": "string"
|
|
100895
|
+
}
|
|
100896
|
+
},
|
|
100897
|
+
"inheritedFrom": {
|
|
100898
|
+
"name": "SbbIconNameMixin",
|
|
100899
|
+
"module": "icon/icon-name-mixin.js"
|
|
100900
|
+
}
|
|
100901
|
+
},
|
|
100902
|
+
{
|
|
100903
|
+
"kind": "method",
|
|
100904
|
+
"name": "_renderIconName",
|
|
100905
|
+
"privacy": "private",
|
|
100906
|
+
"return": {
|
|
100907
|
+
"type": {
|
|
100908
|
+
"text": "string"
|
|
100909
|
+
}
|
|
100910
|
+
},
|
|
100911
|
+
"inheritedFrom": {
|
|
100912
|
+
"name": "SbbIconNameMixin",
|
|
100913
|
+
"module": "icon/icon-name-mixin.js"
|
|
100914
|
+
}
|
|
100915
|
+
},
|
|
100916
|
+
{
|
|
100917
|
+
"kind": "field",
|
|
100918
|
+
"name": "disabled",
|
|
100919
|
+
"privacy": "public",
|
|
100920
|
+
"description": "Whether the component is disabled.",
|
|
100921
|
+
"default": "false",
|
|
100922
|
+
"type": {
|
|
100923
|
+
"text": "boolean"
|
|
100924
|
+
},
|
|
100925
|
+
"attribute": "disabled",
|
|
100926
|
+
"reflects": true,
|
|
100927
|
+
"inheritedFrom": {
|
|
100928
|
+
"name": "SbbDisabledMixin",
|
|
100929
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100930
|
+
}
|
|
100931
|
+
},
|
|
100932
|
+
{
|
|
100933
|
+
"kind": "field",
|
|
100934
|
+
"name": "#disabled",
|
|
100935
|
+
"privacy": "private",
|
|
100936
|
+
"type": {
|
|
100937
|
+
"text": "boolean"
|
|
100938
|
+
},
|
|
100939
|
+
"default": "false",
|
|
100940
|
+
"inheritedFrom": {
|
|
100941
|
+
"name": "SbbDisabledMixin",
|
|
100942
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100943
|
+
}
|
|
100944
|
+
},
|
|
100945
|
+
{
|
|
100946
|
+
"kind": "method",
|
|
100947
|
+
"name": "isDisabledExternally",
|
|
100948
|
+
"privacy": "protected",
|
|
100949
|
+
"return": {
|
|
100950
|
+
"type": {
|
|
100951
|
+
"text": "boolean"
|
|
100952
|
+
}
|
|
100953
|
+
},
|
|
100954
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
100955
|
+
"inheritedFrom": {
|
|
100956
|
+
"name": "SbbDisabledMixin",
|
|
100957
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100958
|
+
}
|
|
100959
|
+
},
|
|
100960
|
+
{
|
|
100961
|
+
"kind": "field",
|
|
100962
|
+
"name": "maybeDisabled",
|
|
100963
|
+
"type": {
|
|
100964
|
+
"text": "boolean | undefined"
|
|
100965
|
+
},
|
|
100966
|
+
"privacy": "protected",
|
|
100967
|
+
"readonly": true,
|
|
100968
|
+
"inheritedFrom": {
|
|
100969
|
+
"name": "SbbActionBaseElement",
|
|
100970
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100971
|
+
}
|
|
100972
|
+
},
|
|
100973
|
+
{
|
|
100974
|
+
"kind": "field",
|
|
100975
|
+
"name": "maybeDisabledInteractive",
|
|
100976
|
+
"type": {
|
|
100977
|
+
"text": "boolean | undefined"
|
|
100978
|
+
},
|
|
100979
|
+
"privacy": "protected",
|
|
100980
|
+
"readonly": true,
|
|
100981
|
+
"inheritedFrom": {
|
|
100982
|
+
"name": "SbbActionBaseElement",
|
|
100983
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100984
|
+
}
|
|
100985
|
+
},
|
|
100986
|
+
{
|
|
100987
|
+
"kind": "method",
|
|
100988
|
+
"name": "setupBaseEventHandlers",
|
|
100989
|
+
"privacy": "protected",
|
|
100990
|
+
"return": {
|
|
100991
|
+
"type": {
|
|
100992
|
+
"text": "void"
|
|
100993
|
+
}
|
|
100994
|
+
},
|
|
100995
|
+
"inheritedFrom": {
|
|
100996
|
+
"name": "SbbActionBaseElement",
|
|
100997
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100998
|
+
}
|
|
100999
|
+
},
|
|
101000
|
+
{
|
|
101001
|
+
"kind": "field",
|
|
101002
|
+
"name": "_hydrationRequired",
|
|
101003
|
+
"type": {
|
|
101004
|
+
"text": "boolean"
|
|
101005
|
+
},
|
|
101006
|
+
"privacy": "private",
|
|
101007
|
+
"default": "!!this.shadowRoot",
|
|
101008
|
+
"inheritedFrom": {
|
|
101009
|
+
"name": "SbbElement",
|
|
101010
|
+
"module": "core/base-elements/element.js"
|
|
101011
|
+
}
|
|
101012
|
+
},
|
|
101013
|
+
{
|
|
101014
|
+
"kind": "field",
|
|
101015
|
+
"name": "_hydrationComplete",
|
|
101016
|
+
"privacy": "private",
|
|
101017
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101018
|
+
"inheritedFrom": {
|
|
101019
|
+
"name": "SbbElement",
|
|
101020
|
+
"module": "core/base-elements/element.js"
|
|
101021
|
+
}
|
|
101022
|
+
},
|
|
101023
|
+
{
|
|
101024
|
+
"kind": "field",
|
|
101025
|
+
"name": "_resolveHydration",
|
|
101026
|
+
"type": {
|
|
101027
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
101028
|
+
},
|
|
101029
|
+
"privacy": "private",
|
|
101030
|
+
"inheritedFrom": {
|
|
101031
|
+
"name": "SbbElement",
|
|
101032
|
+
"module": "core/base-elements/element.js"
|
|
101033
|
+
}
|
|
101034
|
+
},
|
|
101035
|
+
{
|
|
101036
|
+
"kind": "field",
|
|
101037
|
+
"name": "hydrationRequired",
|
|
101038
|
+
"type": {
|
|
101039
|
+
"text": "boolean"
|
|
101040
|
+
},
|
|
101041
|
+
"privacy": "protected",
|
|
101042
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
101043
|
+
"readonly": true,
|
|
101044
|
+
"inheritedFrom": {
|
|
101045
|
+
"name": "SbbElement",
|
|
101046
|
+
"module": "core/base-elements/element.js"
|
|
101047
|
+
},
|
|
101048
|
+
"default": "!!this.shadowRoot"
|
|
101049
|
+
},
|
|
101050
|
+
{
|
|
101051
|
+
"kind": "method",
|
|
101052
|
+
"name": "toggleState",
|
|
101053
|
+
"privacy": "protected",
|
|
101054
|
+
"return": {
|
|
101055
|
+
"type": {
|
|
101056
|
+
"text": "void"
|
|
101057
|
+
}
|
|
101058
|
+
},
|
|
101059
|
+
"parameters": [
|
|
101060
|
+
{
|
|
101061
|
+
"name": "value",
|
|
101062
|
+
"type": {
|
|
101063
|
+
"text": "string"
|
|
101064
|
+
}
|
|
101065
|
+
},
|
|
101066
|
+
{
|
|
101067
|
+
"name": "force",
|
|
101068
|
+
"optional": true,
|
|
101069
|
+
"type": {
|
|
101070
|
+
"text": "boolean"
|
|
101071
|
+
}
|
|
101072
|
+
}
|
|
101073
|
+
],
|
|
101074
|
+
"inheritedFrom": {
|
|
101075
|
+
"name": "SbbElement",
|
|
101076
|
+
"module": "core/base-elements/element.js"
|
|
101077
|
+
}
|
|
101078
|
+
},
|
|
101079
|
+
{
|
|
101080
|
+
"kind": "field",
|
|
101081
|
+
"name": "['_$sbbElement$']",
|
|
101082
|
+
"type": {
|
|
101083
|
+
"text": "boolean"
|
|
101084
|
+
},
|
|
101085
|
+
"privacy": "public",
|
|
101086
|
+
"static": true,
|
|
101087
|
+
"default": "true",
|
|
101088
|
+
"inheritedFrom": {
|
|
101089
|
+
"name": "SbbElement",
|
|
101090
|
+
"module": "core/base-elements/element.js"
|
|
101091
|
+
}
|
|
101092
|
+
},
|
|
101093
|
+
{
|
|
101094
|
+
"kind": "field",
|
|
101095
|
+
"name": "_controllers",
|
|
101096
|
+
"type": {
|
|
101097
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
101098
|
+
},
|
|
101099
|
+
"privacy": "private",
|
|
101100
|
+
"inheritedFrom": {
|
|
101101
|
+
"name": "SbbElement",
|
|
101102
|
+
"module": "core/base-elements/element.js"
|
|
101103
|
+
}
|
|
101104
|
+
}
|
|
101105
|
+
],
|
|
101106
|
+
"mixins": [
|
|
101107
|
+
{
|
|
101108
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101109
|
+
"module": "link/common/block-link-common.js"
|
|
101110
|
+
},
|
|
101111
|
+
{
|
|
101112
|
+
"name": "SbbDisabledMixin",
|
|
101113
|
+
"module": "core/mixins.js"
|
|
101114
|
+
}
|
|
101115
|
+
],
|
|
101116
|
+
"superclass": {
|
|
101117
|
+
"name": "SbbActionBaseElement",
|
|
101118
|
+
"module": "core/base-elements.js"
|
|
101119
|
+
},
|
|
101120
|
+
"tagName": "sbb-block-link-static",
|
|
101121
|
+
"customElement": true,
|
|
101122
|
+
"attributes": [
|
|
101123
|
+
{
|
|
101124
|
+
"name": "icon-placement",
|
|
101125
|
+
"type": {
|
|
101126
|
+
"text": "SbbIconPlacement"
|
|
101127
|
+
},
|
|
101128
|
+
"default": "'start'",
|
|
101129
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101130
|
+
"fieldName": "iconPlacement",
|
|
101131
|
+
"inheritedFrom": {
|
|
101132
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101133
|
+
"module": "link/common/block-link-common.js"
|
|
101134
|
+
}
|
|
101135
|
+
},
|
|
101136
|
+
{
|
|
101137
|
+
"name": "size",
|
|
101138
|
+
"type": {
|
|
101139
|
+
"text": "SbbLinkSize"
|
|
101140
|
+
},
|
|
101141
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101142
|
+
"default": "'s' / 'xs' (lean)",
|
|
101143
|
+
"fieldName": "size",
|
|
101144
|
+
"inheritedFrom": {
|
|
101145
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101146
|
+
"module": "link/common/link-common.js"
|
|
101147
|
+
}
|
|
101148
|
+
},
|
|
101149
|
+
{
|
|
101150
|
+
"name": "icon-name",
|
|
101151
|
+
"type": {
|
|
101152
|
+
"text": "string"
|
|
101153
|
+
},
|
|
101154
|
+
"default": "''",
|
|
101155
|
+
"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.",
|
|
101156
|
+
"fieldName": "iconName",
|
|
101157
|
+
"inheritedFrom": {
|
|
101158
|
+
"name": "SbbIconNameMixin",
|
|
101159
|
+
"module": "icon/icon-name-mixin.js"
|
|
101160
|
+
}
|
|
101161
|
+
},
|
|
101162
|
+
{
|
|
101163
|
+
"name": "disabled",
|
|
101164
|
+
"description": "Whether the component is disabled.",
|
|
101165
|
+
"default": "false",
|
|
101166
|
+
"type": {
|
|
101167
|
+
"text": "boolean"
|
|
101168
|
+
},
|
|
101169
|
+
"fieldName": "disabled",
|
|
101170
|
+
"inheritedFrom": {
|
|
101171
|
+
"name": "SbbDisabledMixin",
|
|
101172
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101173
|
+
}
|
|
101174
|
+
}
|
|
101175
|
+
]
|
|
101176
|
+
}
|
|
101177
|
+
],
|
|
101178
|
+
"exports": [
|
|
101179
|
+
{
|
|
101180
|
+
"kind": "js",
|
|
101181
|
+
"name": "SbbBlockLinkStaticElement",
|
|
101182
|
+
"declaration": {
|
|
101183
|
+
"name": "SbbBlockLinkStaticElement",
|
|
101184
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
101185
|
+
}
|
|
101186
|
+
}
|
|
101187
|
+
]
|
|
101188
|
+
},
|
|
100755
101189
|
{
|
|
100756
101190
|
"kind": "javascript-module",
|
|
100757
101191
|
"path": "link/block-link-button/block-link-button.component.js",
|
|
@@ -101742,440 +102176,6 @@
|
|
|
101742
102176
|
}
|
|
101743
102177
|
]
|
|
101744
102178
|
},
|
|
101745
|
-
{
|
|
101746
|
-
"kind": "javascript-module",
|
|
101747
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
101748
|
-
"declarations": [
|
|
101749
|
-
{
|
|
101750
|
-
"kind": "class",
|
|
101751
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
101752
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101753
|
-
"slots": [
|
|
101754
|
-
{
|
|
101755
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101756
|
-
"name": ""
|
|
101757
|
-
},
|
|
101758
|
-
{
|
|
101759
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
101760
|
-
"name": "icon"
|
|
101761
|
-
}
|
|
101762
|
-
],
|
|
101763
|
-
"members": [
|
|
101764
|
-
{
|
|
101765
|
-
"kind": "field",
|
|
101766
|
-
"name": "elementName",
|
|
101767
|
-
"type": {
|
|
101768
|
-
"text": "string"
|
|
101769
|
-
},
|
|
101770
|
-
"privacy": "public",
|
|
101771
|
-
"static": true,
|
|
101772
|
-
"readonly": true,
|
|
101773
|
-
"inheritedFrom": {
|
|
101774
|
-
"name": "SbbElement",
|
|
101775
|
-
"module": "core/base-elements/element.js"
|
|
101776
|
-
},
|
|
101777
|
-
"default": "'sbb-block-link-static'"
|
|
101778
|
-
},
|
|
101779
|
-
{
|
|
101780
|
-
"kind": "field",
|
|
101781
|
-
"name": "styles",
|
|
101782
|
-
"type": {
|
|
101783
|
-
"text": "CSSResultGroup"
|
|
101784
|
-
},
|
|
101785
|
-
"privacy": "public",
|
|
101786
|
-
"static": true,
|
|
101787
|
-
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
101788
|
-
"inheritedFrom": {
|
|
101789
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101790
|
-
"module": "link/common/link-common.js"
|
|
101791
|
-
}
|
|
101792
|
-
},
|
|
101793
|
-
{
|
|
101794
|
-
"kind": "field",
|
|
101795
|
-
"name": "iconPlacement",
|
|
101796
|
-
"type": {
|
|
101797
|
-
"text": "SbbIconPlacement"
|
|
101798
|
-
},
|
|
101799
|
-
"privacy": "public",
|
|
101800
|
-
"default": "'start'",
|
|
101801
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
101802
|
-
"attribute": "icon-placement",
|
|
101803
|
-
"reflects": true,
|
|
101804
|
-
"inheritedFrom": {
|
|
101805
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101806
|
-
"module": "link/common/block-link-common.js"
|
|
101807
|
-
}
|
|
101808
|
-
},
|
|
101809
|
-
{
|
|
101810
|
-
"kind": "method",
|
|
101811
|
-
"name": "renderTemplate",
|
|
101812
|
-
"privacy": "protected",
|
|
101813
|
-
"return": {
|
|
101814
|
-
"type": {
|
|
101815
|
-
"text": "TemplateResult"
|
|
101816
|
-
}
|
|
101817
|
-
},
|
|
101818
|
-
"description": "Override this method to render the component template.",
|
|
101819
|
-
"inheritedFrom": {
|
|
101820
|
-
"name": "SbbActionBaseElement",
|
|
101821
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101822
|
-
}
|
|
101823
|
-
},
|
|
101824
|
-
{
|
|
101825
|
-
"kind": "field",
|
|
101826
|
-
"name": "size",
|
|
101827
|
-
"type": {
|
|
101828
|
-
"text": "SbbLinkSize"
|
|
101829
|
-
},
|
|
101830
|
-
"privacy": "public",
|
|
101831
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101832
|
-
"default": "'s' / 'xs' (lean)",
|
|
101833
|
-
"attribute": "size",
|
|
101834
|
-
"reflects": true,
|
|
101835
|
-
"inheritedFrom": {
|
|
101836
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101837
|
-
"module": "link/common/link-common.js"
|
|
101838
|
-
}
|
|
101839
|
-
},
|
|
101840
|
-
{
|
|
101841
|
-
"kind": "field",
|
|
101842
|
-
"name": "iconName",
|
|
101843
|
-
"type": {
|
|
101844
|
-
"text": "string"
|
|
101845
|
-
},
|
|
101846
|
-
"privacy": "public",
|
|
101847
|
-
"default": "''",
|
|
101848
|
-
"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.",
|
|
101849
|
-
"attribute": "icon-name",
|
|
101850
|
-
"inheritedFrom": {
|
|
101851
|
-
"name": "SbbIconNameMixin",
|
|
101852
|
-
"module": "icon/icon-name-mixin.js"
|
|
101853
|
-
}
|
|
101854
|
-
},
|
|
101855
|
-
{
|
|
101856
|
-
"kind": "method",
|
|
101857
|
-
"name": "renderIconSlot",
|
|
101858
|
-
"privacy": "protected",
|
|
101859
|
-
"return": {
|
|
101860
|
-
"type": {
|
|
101861
|
-
"text": "TemplateResult"
|
|
101862
|
-
}
|
|
101863
|
-
},
|
|
101864
|
-
"parameters": [
|
|
101865
|
-
{
|
|
101866
|
-
"name": "classname",
|
|
101867
|
-
"optional": true,
|
|
101868
|
-
"type": {
|
|
101869
|
-
"text": "string"
|
|
101870
|
-
}
|
|
101871
|
-
}
|
|
101872
|
-
],
|
|
101873
|
-
"inheritedFrom": {
|
|
101874
|
-
"name": "SbbIconNameMixin",
|
|
101875
|
-
"module": "icon/icon-name-mixin.js"
|
|
101876
|
-
}
|
|
101877
|
-
},
|
|
101878
|
-
{
|
|
101879
|
-
"kind": "method",
|
|
101880
|
-
"name": "renderIconName",
|
|
101881
|
-
"privacy": "protected",
|
|
101882
|
-
"return": {
|
|
101883
|
-
"type": {
|
|
101884
|
-
"text": "string"
|
|
101885
|
-
}
|
|
101886
|
-
},
|
|
101887
|
-
"inheritedFrom": {
|
|
101888
|
-
"name": "SbbIconNameMixin",
|
|
101889
|
-
"module": "icon/icon-name-mixin.js"
|
|
101890
|
-
}
|
|
101891
|
-
},
|
|
101892
|
-
{
|
|
101893
|
-
"kind": "method",
|
|
101894
|
-
"name": "_renderIconName",
|
|
101895
|
-
"privacy": "private",
|
|
101896
|
-
"return": {
|
|
101897
|
-
"type": {
|
|
101898
|
-
"text": "string"
|
|
101899
|
-
}
|
|
101900
|
-
},
|
|
101901
|
-
"inheritedFrom": {
|
|
101902
|
-
"name": "SbbIconNameMixin",
|
|
101903
|
-
"module": "icon/icon-name-mixin.js"
|
|
101904
|
-
}
|
|
101905
|
-
},
|
|
101906
|
-
{
|
|
101907
|
-
"kind": "field",
|
|
101908
|
-
"name": "disabled",
|
|
101909
|
-
"privacy": "public",
|
|
101910
|
-
"description": "Whether the component is disabled.",
|
|
101911
|
-
"default": "false",
|
|
101912
|
-
"type": {
|
|
101913
|
-
"text": "boolean"
|
|
101914
|
-
},
|
|
101915
|
-
"attribute": "disabled",
|
|
101916
|
-
"reflects": true,
|
|
101917
|
-
"inheritedFrom": {
|
|
101918
|
-
"name": "SbbDisabledMixin",
|
|
101919
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101920
|
-
}
|
|
101921
|
-
},
|
|
101922
|
-
{
|
|
101923
|
-
"kind": "field",
|
|
101924
|
-
"name": "#disabled",
|
|
101925
|
-
"privacy": "private",
|
|
101926
|
-
"type": {
|
|
101927
|
-
"text": "boolean"
|
|
101928
|
-
},
|
|
101929
|
-
"default": "false",
|
|
101930
|
-
"inheritedFrom": {
|
|
101931
|
-
"name": "SbbDisabledMixin",
|
|
101932
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101933
|
-
}
|
|
101934
|
-
},
|
|
101935
|
-
{
|
|
101936
|
-
"kind": "method",
|
|
101937
|
-
"name": "isDisabledExternally",
|
|
101938
|
-
"privacy": "protected",
|
|
101939
|
-
"return": {
|
|
101940
|
-
"type": {
|
|
101941
|
-
"text": "boolean"
|
|
101942
|
-
}
|
|
101943
|
-
},
|
|
101944
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101945
|
-
"inheritedFrom": {
|
|
101946
|
-
"name": "SbbDisabledMixin",
|
|
101947
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101948
|
-
}
|
|
101949
|
-
},
|
|
101950
|
-
{
|
|
101951
|
-
"kind": "field",
|
|
101952
|
-
"name": "maybeDisabled",
|
|
101953
|
-
"type": {
|
|
101954
|
-
"text": "boolean | undefined"
|
|
101955
|
-
},
|
|
101956
|
-
"privacy": "protected",
|
|
101957
|
-
"readonly": true,
|
|
101958
|
-
"inheritedFrom": {
|
|
101959
|
-
"name": "SbbActionBaseElement",
|
|
101960
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101961
|
-
}
|
|
101962
|
-
},
|
|
101963
|
-
{
|
|
101964
|
-
"kind": "field",
|
|
101965
|
-
"name": "maybeDisabledInteractive",
|
|
101966
|
-
"type": {
|
|
101967
|
-
"text": "boolean | undefined"
|
|
101968
|
-
},
|
|
101969
|
-
"privacy": "protected",
|
|
101970
|
-
"readonly": true,
|
|
101971
|
-
"inheritedFrom": {
|
|
101972
|
-
"name": "SbbActionBaseElement",
|
|
101973
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101974
|
-
}
|
|
101975
|
-
},
|
|
101976
|
-
{
|
|
101977
|
-
"kind": "method",
|
|
101978
|
-
"name": "setupBaseEventHandlers",
|
|
101979
|
-
"privacy": "protected",
|
|
101980
|
-
"return": {
|
|
101981
|
-
"type": {
|
|
101982
|
-
"text": "void"
|
|
101983
|
-
}
|
|
101984
|
-
},
|
|
101985
|
-
"inheritedFrom": {
|
|
101986
|
-
"name": "SbbActionBaseElement",
|
|
101987
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101988
|
-
}
|
|
101989
|
-
},
|
|
101990
|
-
{
|
|
101991
|
-
"kind": "field",
|
|
101992
|
-
"name": "_hydrationRequired",
|
|
101993
|
-
"type": {
|
|
101994
|
-
"text": "boolean"
|
|
101995
|
-
},
|
|
101996
|
-
"privacy": "private",
|
|
101997
|
-
"default": "!!this.shadowRoot",
|
|
101998
|
-
"inheritedFrom": {
|
|
101999
|
-
"name": "SbbElement",
|
|
102000
|
-
"module": "core/base-elements/element.js"
|
|
102001
|
-
}
|
|
102002
|
-
},
|
|
102003
|
-
{
|
|
102004
|
-
"kind": "field",
|
|
102005
|
-
"name": "_hydrationComplete",
|
|
102006
|
-
"privacy": "private",
|
|
102007
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
102008
|
-
"inheritedFrom": {
|
|
102009
|
-
"name": "SbbElement",
|
|
102010
|
-
"module": "core/base-elements/element.js"
|
|
102011
|
-
}
|
|
102012
|
-
},
|
|
102013
|
-
{
|
|
102014
|
-
"kind": "field",
|
|
102015
|
-
"name": "_resolveHydration",
|
|
102016
|
-
"type": {
|
|
102017
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
102018
|
-
},
|
|
102019
|
-
"privacy": "private",
|
|
102020
|
-
"inheritedFrom": {
|
|
102021
|
-
"name": "SbbElement",
|
|
102022
|
-
"module": "core/base-elements/element.js"
|
|
102023
|
-
}
|
|
102024
|
-
},
|
|
102025
|
-
{
|
|
102026
|
-
"kind": "field",
|
|
102027
|
-
"name": "hydrationRequired",
|
|
102028
|
-
"type": {
|
|
102029
|
-
"text": "boolean"
|
|
102030
|
-
},
|
|
102031
|
-
"privacy": "protected",
|
|
102032
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
102033
|
-
"readonly": true,
|
|
102034
|
-
"inheritedFrom": {
|
|
102035
|
-
"name": "SbbElement",
|
|
102036
|
-
"module": "core/base-elements/element.js"
|
|
102037
|
-
},
|
|
102038
|
-
"default": "!!this.shadowRoot"
|
|
102039
|
-
},
|
|
102040
|
-
{
|
|
102041
|
-
"kind": "method",
|
|
102042
|
-
"name": "toggleState",
|
|
102043
|
-
"privacy": "protected",
|
|
102044
|
-
"return": {
|
|
102045
|
-
"type": {
|
|
102046
|
-
"text": "void"
|
|
102047
|
-
}
|
|
102048
|
-
},
|
|
102049
|
-
"parameters": [
|
|
102050
|
-
{
|
|
102051
|
-
"name": "value",
|
|
102052
|
-
"type": {
|
|
102053
|
-
"text": "string"
|
|
102054
|
-
}
|
|
102055
|
-
},
|
|
102056
|
-
{
|
|
102057
|
-
"name": "force",
|
|
102058
|
-
"optional": true,
|
|
102059
|
-
"type": {
|
|
102060
|
-
"text": "boolean"
|
|
102061
|
-
}
|
|
102062
|
-
}
|
|
102063
|
-
],
|
|
102064
|
-
"inheritedFrom": {
|
|
102065
|
-
"name": "SbbElement",
|
|
102066
|
-
"module": "core/base-elements/element.js"
|
|
102067
|
-
}
|
|
102068
|
-
},
|
|
102069
|
-
{
|
|
102070
|
-
"kind": "field",
|
|
102071
|
-
"name": "['_$sbbElement$']",
|
|
102072
|
-
"type": {
|
|
102073
|
-
"text": "boolean"
|
|
102074
|
-
},
|
|
102075
|
-
"privacy": "public",
|
|
102076
|
-
"static": true,
|
|
102077
|
-
"default": "true",
|
|
102078
|
-
"inheritedFrom": {
|
|
102079
|
-
"name": "SbbElement",
|
|
102080
|
-
"module": "core/base-elements/element.js"
|
|
102081
|
-
}
|
|
102082
|
-
},
|
|
102083
|
-
{
|
|
102084
|
-
"kind": "field",
|
|
102085
|
-
"name": "_controllers",
|
|
102086
|
-
"type": {
|
|
102087
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
102088
|
-
},
|
|
102089
|
-
"privacy": "private",
|
|
102090
|
-
"inheritedFrom": {
|
|
102091
|
-
"name": "SbbElement",
|
|
102092
|
-
"module": "core/base-elements/element.js"
|
|
102093
|
-
}
|
|
102094
|
-
}
|
|
102095
|
-
],
|
|
102096
|
-
"mixins": [
|
|
102097
|
-
{
|
|
102098
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
102099
|
-
"module": "link/common/block-link-common.js"
|
|
102100
|
-
},
|
|
102101
|
-
{
|
|
102102
|
-
"name": "SbbDisabledMixin",
|
|
102103
|
-
"module": "core/mixins.js"
|
|
102104
|
-
}
|
|
102105
|
-
],
|
|
102106
|
-
"superclass": {
|
|
102107
|
-
"name": "SbbActionBaseElement",
|
|
102108
|
-
"module": "core/base-elements.js"
|
|
102109
|
-
},
|
|
102110
|
-
"tagName": "sbb-block-link-static",
|
|
102111
|
-
"customElement": true,
|
|
102112
|
-
"attributes": [
|
|
102113
|
-
{
|
|
102114
|
-
"name": "icon-placement",
|
|
102115
|
-
"type": {
|
|
102116
|
-
"text": "SbbIconPlacement"
|
|
102117
|
-
},
|
|
102118
|
-
"default": "'start'",
|
|
102119
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
102120
|
-
"fieldName": "iconPlacement",
|
|
102121
|
-
"inheritedFrom": {
|
|
102122
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
102123
|
-
"module": "link/common/block-link-common.js"
|
|
102124
|
-
}
|
|
102125
|
-
},
|
|
102126
|
-
{
|
|
102127
|
-
"name": "size",
|
|
102128
|
-
"type": {
|
|
102129
|
-
"text": "SbbLinkSize"
|
|
102130
|
-
},
|
|
102131
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
102132
|
-
"default": "'s' / 'xs' (lean)",
|
|
102133
|
-
"fieldName": "size",
|
|
102134
|
-
"inheritedFrom": {
|
|
102135
|
-
"name": "SbbLinkCommonElementMixin",
|
|
102136
|
-
"module": "link/common/link-common.js"
|
|
102137
|
-
}
|
|
102138
|
-
},
|
|
102139
|
-
{
|
|
102140
|
-
"name": "icon-name",
|
|
102141
|
-
"type": {
|
|
102142
|
-
"text": "string"
|
|
102143
|
-
},
|
|
102144
|
-
"default": "''",
|
|
102145
|
-
"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.",
|
|
102146
|
-
"fieldName": "iconName",
|
|
102147
|
-
"inheritedFrom": {
|
|
102148
|
-
"name": "SbbIconNameMixin",
|
|
102149
|
-
"module": "icon/icon-name-mixin.js"
|
|
102150
|
-
}
|
|
102151
|
-
},
|
|
102152
|
-
{
|
|
102153
|
-
"name": "disabled",
|
|
102154
|
-
"description": "Whether the component is disabled.",
|
|
102155
|
-
"default": "false",
|
|
102156
|
-
"type": {
|
|
102157
|
-
"text": "boolean"
|
|
102158
|
-
},
|
|
102159
|
-
"fieldName": "disabled",
|
|
102160
|
-
"inheritedFrom": {
|
|
102161
|
-
"name": "SbbDisabledMixin",
|
|
102162
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102163
|
-
}
|
|
102164
|
-
}
|
|
102165
|
-
]
|
|
102166
|
-
}
|
|
102167
|
-
],
|
|
102168
|
-
"exports": [
|
|
102169
|
-
{
|
|
102170
|
-
"kind": "js",
|
|
102171
|
-
"name": "SbbBlockLinkStaticElement",
|
|
102172
|
-
"declaration": {
|
|
102173
|
-
"name": "SbbBlockLinkStaticElement",
|
|
102174
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
102175
|
-
}
|
|
102176
|
-
}
|
|
102177
|
-
]
|
|
102178
|
-
},
|
|
102179
102179
|
{
|
|
102180
102180
|
"kind": "javascript-module",
|
|
102181
102181
|
"path": "link/common/block-link-common.js",
|
|
@@ -105728,546 +105728,6 @@
|
|
|
105728
105728
|
}
|
|
105729
105729
|
]
|
|
105730
105730
|
},
|
|
105731
|
-
{
|
|
105732
|
-
"kind": "javascript-module",
|
|
105733
|
-
"path": "menu/common/menu-action-common.js",
|
|
105734
|
-
"declarations": [
|
|
105735
|
-
{
|
|
105736
|
-
"kind": "class",
|
|
105737
|
-
"description": "",
|
|
105738
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
105739
|
-
"mixins": [
|
|
105740
|
-
{
|
|
105741
|
-
"name": "SbbIconNameMixin",
|
|
105742
|
-
"module": "icon.js"
|
|
105743
|
-
},
|
|
105744
|
-
{
|
|
105745
|
-
"name": "SbbDisabledMixin",
|
|
105746
|
-
"module": "core/mixins.js"
|
|
105747
|
-
}
|
|
105748
|
-
],
|
|
105749
|
-
"superclass": {
|
|
105750
|
-
"name": "SbbActionBaseElement",
|
|
105751
|
-
"module": "core/base-elements.js"
|
|
105752
|
-
},
|
|
105753
|
-
"attributes": [
|
|
105754
|
-
{
|
|
105755
|
-
"name": "icon-name",
|
|
105756
|
-
"type": {
|
|
105757
|
-
"text": "string"
|
|
105758
|
-
},
|
|
105759
|
-
"default": "''",
|
|
105760
|
-
"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.",
|
|
105761
|
-
"fieldName": "iconName",
|
|
105762
|
-
"inheritedFrom": {
|
|
105763
|
-
"name": "SbbIconNameMixin",
|
|
105764
|
-
"module": "icon/icon-name-mixin.js"
|
|
105765
|
-
}
|
|
105766
|
-
},
|
|
105767
|
-
{
|
|
105768
|
-
"name": "disabled",
|
|
105769
|
-
"description": "Whether the component is disabled.",
|
|
105770
|
-
"default": "false",
|
|
105771
|
-
"type": {
|
|
105772
|
-
"text": "boolean"
|
|
105773
|
-
},
|
|
105774
|
-
"fieldName": "disabled",
|
|
105775
|
-
"inheritedFrom": {
|
|
105776
|
-
"name": "SbbDisabledMixin",
|
|
105777
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105778
|
-
}
|
|
105779
|
-
}
|
|
105780
|
-
],
|
|
105781
|
-
"members": [
|
|
105782
|
-
{
|
|
105783
|
-
"kind": "field",
|
|
105784
|
-
"name": "iconName",
|
|
105785
|
-
"type": {
|
|
105786
|
-
"text": "string"
|
|
105787
|
-
},
|
|
105788
|
-
"privacy": "public",
|
|
105789
|
-
"default": "''",
|
|
105790
|
-
"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.",
|
|
105791
|
-
"attribute": "icon-name",
|
|
105792
|
-
"inheritedFrom": {
|
|
105793
|
-
"name": "SbbIconNameMixin",
|
|
105794
|
-
"module": "icon/icon-name-mixin.js"
|
|
105795
|
-
}
|
|
105796
|
-
},
|
|
105797
|
-
{
|
|
105798
|
-
"kind": "method",
|
|
105799
|
-
"name": "renderIconSlot",
|
|
105800
|
-
"privacy": "protected",
|
|
105801
|
-
"return": {
|
|
105802
|
-
"type": {
|
|
105803
|
-
"text": "TemplateResult"
|
|
105804
|
-
}
|
|
105805
|
-
},
|
|
105806
|
-
"parameters": [
|
|
105807
|
-
{
|
|
105808
|
-
"name": "classname",
|
|
105809
|
-
"optional": true,
|
|
105810
|
-
"type": {
|
|
105811
|
-
"text": "string"
|
|
105812
|
-
}
|
|
105813
|
-
}
|
|
105814
|
-
],
|
|
105815
|
-
"inheritedFrom": {
|
|
105816
|
-
"name": "SbbIconNameMixin",
|
|
105817
|
-
"module": "icon/icon-name-mixin.js"
|
|
105818
|
-
}
|
|
105819
|
-
},
|
|
105820
|
-
{
|
|
105821
|
-
"kind": "method",
|
|
105822
|
-
"name": "renderIconName",
|
|
105823
|
-
"privacy": "protected",
|
|
105824
|
-
"return": {
|
|
105825
|
-
"type": {
|
|
105826
|
-
"text": "string"
|
|
105827
|
-
}
|
|
105828
|
-
},
|
|
105829
|
-
"inheritedFrom": {
|
|
105830
|
-
"name": "SbbIconNameMixin",
|
|
105831
|
-
"module": "icon/icon-name-mixin.js"
|
|
105832
|
-
}
|
|
105833
|
-
},
|
|
105834
|
-
{
|
|
105835
|
-
"kind": "method",
|
|
105836
|
-
"name": "_renderIconName",
|
|
105837
|
-
"privacy": "private",
|
|
105838
|
-
"return": {
|
|
105839
|
-
"type": {
|
|
105840
|
-
"text": "string"
|
|
105841
|
-
}
|
|
105842
|
-
},
|
|
105843
|
-
"inheritedFrom": {
|
|
105844
|
-
"name": "SbbIconNameMixin",
|
|
105845
|
-
"module": "icon/icon-name-mixin.js"
|
|
105846
|
-
}
|
|
105847
|
-
},
|
|
105848
|
-
{
|
|
105849
|
-
"kind": "field",
|
|
105850
|
-
"name": "disabled",
|
|
105851
|
-
"privacy": "public",
|
|
105852
|
-
"description": "Whether the component is disabled.",
|
|
105853
|
-
"default": "false",
|
|
105854
|
-
"type": {
|
|
105855
|
-
"text": "boolean"
|
|
105856
|
-
},
|
|
105857
|
-
"attribute": "disabled",
|
|
105858
|
-
"reflects": true,
|
|
105859
|
-
"inheritedFrom": {
|
|
105860
|
-
"name": "SbbDisabledMixin",
|
|
105861
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105862
|
-
}
|
|
105863
|
-
},
|
|
105864
|
-
{
|
|
105865
|
-
"kind": "field",
|
|
105866
|
-
"name": "#disabled",
|
|
105867
|
-
"privacy": "private",
|
|
105868
|
-
"type": {
|
|
105869
|
-
"text": "boolean"
|
|
105870
|
-
},
|
|
105871
|
-
"default": "false",
|
|
105872
|
-
"inheritedFrom": {
|
|
105873
|
-
"name": "SbbDisabledMixin",
|
|
105874
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105875
|
-
}
|
|
105876
|
-
},
|
|
105877
|
-
{
|
|
105878
|
-
"kind": "method",
|
|
105879
|
-
"name": "isDisabledExternally",
|
|
105880
|
-
"privacy": "protected",
|
|
105881
|
-
"return": {
|
|
105882
|
-
"type": {
|
|
105883
|
-
"text": "boolean"
|
|
105884
|
-
}
|
|
105885
|
-
},
|
|
105886
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
105887
|
-
"inheritedFrom": {
|
|
105888
|
-
"name": "SbbDisabledMixin",
|
|
105889
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105890
|
-
}
|
|
105891
|
-
},
|
|
105892
|
-
{
|
|
105893
|
-
"kind": "field",
|
|
105894
|
-
"name": "maybeDisabled",
|
|
105895
|
-
"type": {
|
|
105896
|
-
"text": "boolean | undefined"
|
|
105897
|
-
},
|
|
105898
|
-
"privacy": "protected",
|
|
105899
|
-
"readonly": true,
|
|
105900
|
-
"inheritedFrom": {
|
|
105901
|
-
"name": "SbbActionBaseElement",
|
|
105902
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105903
|
-
}
|
|
105904
|
-
},
|
|
105905
|
-
{
|
|
105906
|
-
"kind": "field",
|
|
105907
|
-
"name": "maybeDisabledInteractive",
|
|
105908
|
-
"type": {
|
|
105909
|
-
"text": "boolean | undefined"
|
|
105910
|
-
},
|
|
105911
|
-
"privacy": "protected",
|
|
105912
|
-
"readonly": true,
|
|
105913
|
-
"inheritedFrom": {
|
|
105914
|
-
"name": "SbbActionBaseElement",
|
|
105915
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105916
|
-
}
|
|
105917
|
-
},
|
|
105918
|
-
{
|
|
105919
|
-
"kind": "method",
|
|
105920
|
-
"name": "setupBaseEventHandlers",
|
|
105921
|
-
"privacy": "protected",
|
|
105922
|
-
"return": {
|
|
105923
|
-
"type": {
|
|
105924
|
-
"text": "void"
|
|
105925
|
-
}
|
|
105926
|
-
},
|
|
105927
|
-
"inheritedFrom": {
|
|
105928
|
-
"name": "SbbActionBaseElement",
|
|
105929
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105930
|
-
}
|
|
105931
|
-
},
|
|
105932
|
-
{
|
|
105933
|
-
"kind": "method",
|
|
105934
|
-
"name": "renderTemplate",
|
|
105935
|
-
"privacy": "protected",
|
|
105936
|
-
"return": {
|
|
105937
|
-
"type": {
|
|
105938
|
-
"text": "TemplateResult"
|
|
105939
|
-
}
|
|
105940
|
-
},
|
|
105941
|
-
"description": "Override this method to render the component template.",
|
|
105942
|
-
"inheritedFrom": {
|
|
105943
|
-
"name": "SbbActionBaseElement",
|
|
105944
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105945
|
-
}
|
|
105946
|
-
},
|
|
105947
|
-
{
|
|
105948
|
-
"kind": "field",
|
|
105949
|
-
"name": "_hydrationRequired",
|
|
105950
|
-
"type": {
|
|
105951
|
-
"text": "boolean"
|
|
105952
|
-
},
|
|
105953
|
-
"privacy": "private",
|
|
105954
|
-
"default": "!!this.shadowRoot",
|
|
105955
|
-
"inheritedFrom": {
|
|
105956
|
-
"name": "SbbElement",
|
|
105957
|
-
"module": "core/base-elements/element.js"
|
|
105958
|
-
}
|
|
105959
|
-
},
|
|
105960
|
-
{
|
|
105961
|
-
"kind": "field",
|
|
105962
|
-
"name": "_hydrationComplete",
|
|
105963
|
-
"privacy": "private",
|
|
105964
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
105965
|
-
"inheritedFrom": {
|
|
105966
|
-
"name": "SbbElement",
|
|
105967
|
-
"module": "core/base-elements/element.js"
|
|
105968
|
-
}
|
|
105969
|
-
},
|
|
105970
|
-
{
|
|
105971
|
-
"kind": "field",
|
|
105972
|
-
"name": "_resolveHydration",
|
|
105973
|
-
"type": {
|
|
105974
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
105975
|
-
},
|
|
105976
|
-
"privacy": "private",
|
|
105977
|
-
"inheritedFrom": {
|
|
105978
|
-
"name": "SbbElement",
|
|
105979
|
-
"module": "core/base-elements/element.js"
|
|
105980
|
-
}
|
|
105981
|
-
},
|
|
105982
|
-
{
|
|
105983
|
-
"kind": "field",
|
|
105984
|
-
"name": "hydrationRequired",
|
|
105985
|
-
"type": {
|
|
105986
|
-
"text": "boolean"
|
|
105987
|
-
},
|
|
105988
|
-
"privacy": "protected",
|
|
105989
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
105990
|
-
"readonly": true,
|
|
105991
|
-
"inheritedFrom": {
|
|
105992
|
-
"name": "SbbElement",
|
|
105993
|
-
"module": "core/base-elements/element.js"
|
|
105994
|
-
},
|
|
105995
|
-
"default": "!!this.shadowRoot"
|
|
105996
|
-
},
|
|
105997
|
-
{
|
|
105998
|
-
"kind": "method",
|
|
105999
|
-
"name": "toggleState",
|
|
106000
|
-
"privacy": "protected",
|
|
106001
|
-
"return": {
|
|
106002
|
-
"type": {
|
|
106003
|
-
"text": "void"
|
|
106004
|
-
}
|
|
106005
|
-
},
|
|
106006
|
-
"parameters": [
|
|
106007
|
-
{
|
|
106008
|
-
"name": "value",
|
|
106009
|
-
"type": {
|
|
106010
|
-
"text": "string"
|
|
106011
|
-
}
|
|
106012
|
-
},
|
|
106013
|
-
{
|
|
106014
|
-
"name": "force",
|
|
106015
|
-
"optional": true,
|
|
106016
|
-
"type": {
|
|
106017
|
-
"text": "boolean"
|
|
106018
|
-
}
|
|
106019
|
-
}
|
|
106020
|
-
],
|
|
106021
|
-
"inheritedFrom": {
|
|
106022
|
-
"name": "SbbElement",
|
|
106023
|
-
"module": "core/base-elements/element.js"
|
|
106024
|
-
}
|
|
106025
|
-
},
|
|
106026
|
-
{
|
|
106027
|
-
"kind": "field",
|
|
106028
|
-
"name": "['_$sbbElement$']",
|
|
106029
|
-
"type": {
|
|
106030
|
-
"text": "boolean"
|
|
106031
|
-
},
|
|
106032
|
-
"privacy": "public",
|
|
106033
|
-
"static": true,
|
|
106034
|
-
"default": "true",
|
|
106035
|
-
"inheritedFrom": {
|
|
106036
|
-
"name": "SbbElement",
|
|
106037
|
-
"module": "core/base-elements/element.js"
|
|
106038
|
-
}
|
|
106039
|
-
},
|
|
106040
|
-
{
|
|
106041
|
-
"kind": "field",
|
|
106042
|
-
"name": "elementName",
|
|
106043
|
-
"type": {
|
|
106044
|
-
"text": "string"
|
|
106045
|
-
},
|
|
106046
|
-
"privacy": "public",
|
|
106047
|
-
"static": true,
|
|
106048
|
-
"readonly": true,
|
|
106049
|
-
"inheritedFrom": {
|
|
106050
|
-
"name": "SbbElement",
|
|
106051
|
-
"module": "core/base-elements/element.js"
|
|
106052
|
-
}
|
|
106053
|
-
},
|
|
106054
|
-
{
|
|
106055
|
-
"kind": "field",
|
|
106056
|
-
"name": "_controllers",
|
|
106057
|
-
"type": {
|
|
106058
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
106059
|
-
},
|
|
106060
|
-
"privacy": "private",
|
|
106061
|
-
"inheritedFrom": {
|
|
106062
|
-
"name": "SbbElement",
|
|
106063
|
-
"module": "core/base-elements/element.js"
|
|
106064
|
-
}
|
|
106065
|
-
}
|
|
106066
|
-
]
|
|
106067
|
-
},
|
|
106068
|
-
{
|
|
106069
|
-
"kind": "mixin",
|
|
106070
|
-
"description": "",
|
|
106071
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106072
|
-
"members": [
|
|
106073
|
-
{
|
|
106074
|
-
"kind": "field",
|
|
106075
|
-
"name": "styles",
|
|
106076
|
-
"type": {
|
|
106077
|
-
"text": "CSSResultGroup"
|
|
106078
|
-
},
|
|
106079
|
-
"privacy": "public",
|
|
106080
|
-
"static": true,
|
|
106081
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106082
|
-
},
|
|
106083
|
-
{
|
|
106084
|
-
"kind": "method",
|
|
106085
|
-
"name": "renderTemplate",
|
|
106086
|
-
"privacy": "protected",
|
|
106087
|
-
"return": {
|
|
106088
|
-
"type": {
|
|
106089
|
-
"text": "TemplateResult"
|
|
106090
|
-
}
|
|
106091
|
-
}
|
|
106092
|
-
},
|
|
106093
|
-
{
|
|
106094
|
-
"kind": "field",
|
|
106095
|
-
"name": "iconName",
|
|
106096
|
-
"type": {
|
|
106097
|
-
"text": "string"
|
|
106098
|
-
},
|
|
106099
|
-
"privacy": "public",
|
|
106100
|
-
"default": "''",
|
|
106101
|
-
"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.",
|
|
106102
|
-
"attribute": "icon-name",
|
|
106103
|
-
"inheritedFrom": {
|
|
106104
|
-
"name": "SbbIconNameMixin",
|
|
106105
|
-
"module": "icon/icon-name-mixin.js"
|
|
106106
|
-
}
|
|
106107
|
-
},
|
|
106108
|
-
{
|
|
106109
|
-
"kind": "method",
|
|
106110
|
-
"name": "renderIconSlot",
|
|
106111
|
-
"privacy": "protected",
|
|
106112
|
-
"return": {
|
|
106113
|
-
"type": {
|
|
106114
|
-
"text": "TemplateResult"
|
|
106115
|
-
}
|
|
106116
|
-
},
|
|
106117
|
-
"parameters": [
|
|
106118
|
-
{
|
|
106119
|
-
"name": "classname",
|
|
106120
|
-
"optional": true,
|
|
106121
|
-
"type": {
|
|
106122
|
-
"text": "string"
|
|
106123
|
-
}
|
|
106124
|
-
}
|
|
106125
|
-
],
|
|
106126
|
-
"inheritedFrom": {
|
|
106127
|
-
"name": "SbbIconNameMixin",
|
|
106128
|
-
"module": "icon/icon-name-mixin.js"
|
|
106129
|
-
}
|
|
106130
|
-
},
|
|
106131
|
-
{
|
|
106132
|
-
"kind": "method",
|
|
106133
|
-
"name": "renderIconName",
|
|
106134
|
-
"privacy": "protected",
|
|
106135
|
-
"return": {
|
|
106136
|
-
"type": {
|
|
106137
|
-
"text": "string"
|
|
106138
|
-
}
|
|
106139
|
-
},
|
|
106140
|
-
"inheritedFrom": {
|
|
106141
|
-
"name": "SbbIconNameMixin",
|
|
106142
|
-
"module": "icon/icon-name-mixin.js"
|
|
106143
|
-
}
|
|
106144
|
-
},
|
|
106145
|
-
{
|
|
106146
|
-
"kind": "method",
|
|
106147
|
-
"name": "_renderIconName",
|
|
106148
|
-
"privacy": "private",
|
|
106149
|
-
"return": {
|
|
106150
|
-
"type": {
|
|
106151
|
-
"text": "string"
|
|
106152
|
-
}
|
|
106153
|
-
},
|
|
106154
|
-
"inheritedFrom": {
|
|
106155
|
-
"name": "SbbIconNameMixin",
|
|
106156
|
-
"module": "icon/icon-name-mixin.js"
|
|
106157
|
-
}
|
|
106158
|
-
},
|
|
106159
|
-
{
|
|
106160
|
-
"kind": "field",
|
|
106161
|
-
"name": "disabled",
|
|
106162
|
-
"privacy": "public",
|
|
106163
|
-
"description": "Whether the component is disabled.",
|
|
106164
|
-
"default": "false",
|
|
106165
|
-
"type": {
|
|
106166
|
-
"text": "boolean"
|
|
106167
|
-
},
|
|
106168
|
-
"attribute": "disabled",
|
|
106169
|
-
"reflects": true,
|
|
106170
|
-
"inheritedFrom": {
|
|
106171
|
-
"name": "SbbDisabledMixin",
|
|
106172
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106173
|
-
}
|
|
106174
|
-
},
|
|
106175
|
-
{
|
|
106176
|
-
"kind": "field",
|
|
106177
|
-
"name": "#disabled",
|
|
106178
|
-
"privacy": "private",
|
|
106179
|
-
"type": {
|
|
106180
|
-
"text": "boolean"
|
|
106181
|
-
},
|
|
106182
|
-
"default": "false",
|
|
106183
|
-
"inheritedFrom": {
|
|
106184
|
-
"name": "SbbDisabledMixin",
|
|
106185
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106186
|
-
}
|
|
106187
|
-
},
|
|
106188
|
-
{
|
|
106189
|
-
"kind": "method",
|
|
106190
|
-
"name": "isDisabledExternally",
|
|
106191
|
-
"privacy": "protected",
|
|
106192
|
-
"return": {
|
|
106193
|
-
"type": {
|
|
106194
|
-
"text": "boolean"
|
|
106195
|
-
}
|
|
106196
|
-
},
|
|
106197
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106198
|
-
"inheritedFrom": {
|
|
106199
|
-
"name": "SbbDisabledMixin",
|
|
106200
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106201
|
-
}
|
|
106202
|
-
}
|
|
106203
|
-
],
|
|
106204
|
-
"mixins": [
|
|
106205
|
-
{
|
|
106206
|
-
"name": "SbbIconNameMixin",
|
|
106207
|
-
"module": "icon.js"
|
|
106208
|
-
},
|
|
106209
|
-
{
|
|
106210
|
-
"name": "SbbDisabledMixin",
|
|
106211
|
-
"module": "core/mixins.js"
|
|
106212
|
-
}
|
|
106213
|
-
],
|
|
106214
|
-
"parameters": [
|
|
106215
|
-
{
|
|
106216
|
-
"name": "superClass",
|
|
106217
|
-
"type": {
|
|
106218
|
-
"text": "T"
|
|
106219
|
-
}
|
|
106220
|
-
}
|
|
106221
|
-
],
|
|
106222
|
-
"attributes": [
|
|
106223
|
-
{
|
|
106224
|
-
"name": "icon-name",
|
|
106225
|
-
"type": {
|
|
106226
|
-
"text": "string"
|
|
106227
|
-
},
|
|
106228
|
-
"default": "''",
|
|
106229
|
-
"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.",
|
|
106230
|
-
"fieldName": "iconName",
|
|
106231
|
-
"inheritedFrom": {
|
|
106232
|
-
"name": "SbbIconNameMixin",
|
|
106233
|
-
"module": "icon/icon-name-mixin.js"
|
|
106234
|
-
}
|
|
106235
|
-
},
|
|
106236
|
-
{
|
|
106237
|
-
"name": "disabled",
|
|
106238
|
-
"description": "Whether the component is disabled.",
|
|
106239
|
-
"default": "false",
|
|
106240
|
-
"type": {
|
|
106241
|
-
"text": "boolean"
|
|
106242
|
-
},
|
|
106243
|
-
"fieldName": "disabled",
|
|
106244
|
-
"inheritedFrom": {
|
|
106245
|
-
"name": "SbbDisabledMixin",
|
|
106246
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106247
|
-
}
|
|
106248
|
-
}
|
|
106249
|
-
]
|
|
106250
|
-
}
|
|
106251
|
-
],
|
|
106252
|
-
"exports": [
|
|
106253
|
-
{
|
|
106254
|
-
"kind": "js",
|
|
106255
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
106256
|
-
"declaration": {
|
|
106257
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
106258
|
-
"module": "menu/common/menu-action-common.js"
|
|
106259
|
-
}
|
|
106260
|
-
},
|
|
106261
|
-
{
|
|
106262
|
-
"kind": "js",
|
|
106263
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106264
|
-
"declaration": {
|
|
106265
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106266
|
-
"module": "menu/common/menu-action-common.js"
|
|
106267
|
-
}
|
|
106268
|
-
}
|
|
106269
|
-
]
|
|
106270
|
-
},
|
|
106271
105731
|
{
|
|
106272
105732
|
"kind": "javascript-module",
|
|
106273
105733
|
"path": "menu/menu/menu.component.js",
|
|
@@ -106597,232 +106057,630 @@
|
|
|
106597
106057
|
"privacy": "private"
|
|
106598
106058
|
},
|
|
106599
106059
|
{
|
|
106600
|
-
"kind": "method",
|
|
106601
|
-
"name": "_nestedMenus",
|
|
106602
|
-
"privacy": "private",
|
|
106603
|
-
"return": {
|
|
106604
|
-
"type": {
|
|
106605
|
-
"text": "SbbMenuElement[]"
|
|
106606
|
-
}
|
|
106060
|
+
"kind": "method",
|
|
106061
|
+
"name": "_nestedMenus",
|
|
106062
|
+
"privacy": "private",
|
|
106063
|
+
"return": {
|
|
106064
|
+
"type": {
|
|
106065
|
+
"text": "SbbMenuElement[]"
|
|
106066
|
+
}
|
|
106067
|
+
},
|
|
106068
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106069
|
+
},
|
|
106070
|
+
{
|
|
106071
|
+
"kind": "method",
|
|
106072
|
+
"name": "_parentMenu",
|
|
106073
|
+
"privacy": "private",
|
|
106074
|
+
"return": {
|
|
106075
|
+
"type": {
|
|
106076
|
+
"text": "SbbMenuElement | null"
|
|
106077
|
+
}
|
|
106078
|
+
}
|
|
106079
|
+
},
|
|
106080
|
+
{
|
|
106081
|
+
"kind": "method",
|
|
106082
|
+
"name": "_mainMenu",
|
|
106083
|
+
"privacy": "private",
|
|
106084
|
+
"return": {
|
|
106085
|
+
"type": {
|
|
106086
|
+
"text": "SbbMenuElement"
|
|
106087
|
+
}
|
|
106088
|
+
},
|
|
106089
|
+
"description": "The outermost menu."
|
|
106090
|
+
},
|
|
106091
|
+
{
|
|
106092
|
+
"kind": "method",
|
|
106093
|
+
"name": "_isNested",
|
|
106094
|
+
"privacy": "private",
|
|
106095
|
+
"return": {
|
|
106096
|
+
"type": {
|
|
106097
|
+
"text": "boolean"
|
|
106098
|
+
}
|
|
106099
|
+
}
|
|
106100
|
+
},
|
|
106101
|
+
{
|
|
106102
|
+
"kind": "method",
|
|
106103
|
+
"name": "_updateNestedInert",
|
|
106104
|
+
"privacy": "private",
|
|
106105
|
+
"return": {
|
|
106106
|
+
"type": {
|
|
106107
|
+
"text": "void"
|
|
106108
|
+
}
|
|
106109
|
+
}
|
|
106110
|
+
},
|
|
106111
|
+
{
|
|
106112
|
+
"kind": "method",
|
|
106113
|
+
"name": "_handleMouseOver",
|
|
106114
|
+
"privacy": "private",
|
|
106115
|
+
"return": {
|
|
106116
|
+
"type": {
|
|
106117
|
+
"text": "void"
|
|
106118
|
+
}
|
|
106119
|
+
},
|
|
106120
|
+
"parameters": [
|
|
106121
|
+
{
|
|
106122
|
+
"name": "event",
|
|
106123
|
+
"type": {
|
|
106124
|
+
"text": "MouseEvent"
|
|
106125
|
+
}
|
|
106126
|
+
}
|
|
106127
|
+
]
|
|
106128
|
+
},
|
|
106129
|
+
{
|
|
106130
|
+
"kind": "method",
|
|
106131
|
+
"name": "_onMenuAnimationEnd",
|
|
106132
|
+
"privacy": "private",
|
|
106133
|
+
"return": {
|
|
106134
|
+
"type": {
|
|
106135
|
+
"text": "void"
|
|
106136
|
+
}
|
|
106137
|
+
},
|
|
106138
|
+
"parameters": [
|
|
106139
|
+
{
|
|
106140
|
+
"name": "event",
|
|
106141
|
+
"type": {
|
|
106142
|
+
"text": "AnimationEvent"
|
|
106143
|
+
}
|
|
106144
|
+
}
|
|
106145
|
+
]
|
|
106146
|
+
},
|
|
106147
|
+
{
|
|
106148
|
+
"kind": "method",
|
|
106149
|
+
"name": "_setMenuPosition",
|
|
106150
|
+
"privacy": "private",
|
|
106151
|
+
"return": {
|
|
106152
|
+
"type": {
|
|
106153
|
+
"text": "void"
|
|
106154
|
+
}
|
|
106155
|
+
}
|
|
106156
|
+
},
|
|
106157
|
+
{
|
|
106158
|
+
"kind": "method",
|
|
106159
|
+
"name": "_syncNegative",
|
|
106160
|
+
"privacy": "private",
|
|
106161
|
+
"return": {
|
|
106162
|
+
"type": {
|
|
106163
|
+
"text": "void"
|
|
106164
|
+
}
|
|
106165
|
+
}
|
|
106166
|
+
},
|
|
106167
|
+
{
|
|
106168
|
+
"kind": "method",
|
|
106169
|
+
"name": "_isMobile",
|
|
106170
|
+
"privacy": "private",
|
|
106171
|
+
"return": {
|
|
106172
|
+
"type": {
|
|
106173
|
+
"text": "boolean"
|
|
106174
|
+
}
|
|
106175
|
+
}
|
|
106176
|
+
},
|
|
106177
|
+
{
|
|
106178
|
+
"kind": "field",
|
|
106179
|
+
"name": "events",
|
|
106180
|
+
"privacy": "public",
|
|
106181
|
+
"static": true,
|
|
106182
|
+
"readonly": true,
|
|
106183
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106184
|
+
"type": {
|
|
106185
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106186
|
+
},
|
|
106187
|
+
"inheritedFrom": {
|
|
106188
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106189
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106190
|
+
}
|
|
106191
|
+
},
|
|
106192
|
+
{
|
|
106193
|
+
"kind": "field",
|
|
106194
|
+
"name": "state",
|
|
106195
|
+
"privacy": "protected",
|
|
106196
|
+
"description": "The state of the component.",
|
|
106197
|
+
"type": {
|
|
106198
|
+
"text": "SbbOpenedClosedState"
|
|
106199
|
+
},
|
|
106200
|
+
"default": "'closed'",
|
|
106201
|
+
"inheritedFrom": {
|
|
106202
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106203
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106204
|
+
}
|
|
106205
|
+
},
|
|
106206
|
+
{
|
|
106207
|
+
"kind": "field",
|
|
106208
|
+
"name": "_state",
|
|
106209
|
+
"type": {
|
|
106210
|
+
"text": "SbbOpenedClosedState"
|
|
106211
|
+
},
|
|
106212
|
+
"privacy": "private",
|
|
106213
|
+
"inheritedFrom": {
|
|
106214
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106215
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106216
|
+
}
|
|
106217
|
+
},
|
|
106218
|
+
{
|
|
106219
|
+
"kind": "field",
|
|
106220
|
+
"name": "isOpen",
|
|
106221
|
+
"type": {
|
|
106222
|
+
"text": "boolean"
|
|
106223
|
+
},
|
|
106224
|
+
"privacy": "public",
|
|
106225
|
+
"description": "Whether the element is open.",
|
|
106226
|
+
"readonly": true,
|
|
106227
|
+
"inheritedFrom": {
|
|
106228
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106229
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106230
|
+
}
|
|
106231
|
+
},
|
|
106232
|
+
{
|
|
106233
|
+
"kind": "method",
|
|
106234
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106235
|
+
"privacy": "protected",
|
|
106236
|
+
"return": {
|
|
106237
|
+
"type": {
|
|
106238
|
+
"text": "boolean"
|
|
106239
|
+
}
|
|
106240
|
+
},
|
|
106241
|
+
"inheritedFrom": {
|
|
106242
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106243
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106244
|
+
}
|
|
106245
|
+
},
|
|
106246
|
+
{
|
|
106247
|
+
"kind": "method",
|
|
106248
|
+
"name": "dispatchOpenEvent",
|
|
106249
|
+
"privacy": "protected",
|
|
106250
|
+
"return": {
|
|
106251
|
+
"type": {
|
|
106252
|
+
"text": "boolean"
|
|
106253
|
+
}
|
|
106254
|
+
},
|
|
106255
|
+
"inheritedFrom": {
|
|
106256
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106257
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106258
|
+
}
|
|
106259
|
+
},
|
|
106260
|
+
{
|
|
106261
|
+
"kind": "method",
|
|
106262
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106263
|
+
"privacy": "protected",
|
|
106264
|
+
"return": {
|
|
106265
|
+
"type": {
|
|
106266
|
+
"text": "boolean"
|
|
106267
|
+
}
|
|
106268
|
+
},
|
|
106269
|
+
"inheritedFrom": {
|
|
106270
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106271
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106272
|
+
}
|
|
106273
|
+
},
|
|
106274
|
+
{
|
|
106275
|
+
"kind": "method",
|
|
106276
|
+
"name": "dispatchCloseEvent",
|
|
106277
|
+
"privacy": "protected",
|
|
106278
|
+
"return": {
|
|
106279
|
+
"type": {
|
|
106280
|
+
"text": "boolean"
|
|
106281
|
+
}
|
|
106282
|
+
},
|
|
106283
|
+
"inheritedFrom": {
|
|
106284
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106285
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106286
|
+
}
|
|
106287
|
+
},
|
|
106288
|
+
{
|
|
106289
|
+
"kind": "field",
|
|
106290
|
+
"name": "_hydrationRequired",
|
|
106291
|
+
"type": {
|
|
106292
|
+
"text": "boolean"
|
|
106293
|
+
},
|
|
106294
|
+
"privacy": "private",
|
|
106295
|
+
"default": "!!this.shadowRoot",
|
|
106296
|
+
"inheritedFrom": {
|
|
106297
|
+
"name": "SbbElement",
|
|
106298
|
+
"module": "core/base-elements/element.js"
|
|
106299
|
+
}
|
|
106300
|
+
},
|
|
106301
|
+
{
|
|
106302
|
+
"kind": "field",
|
|
106303
|
+
"name": "_hydrationComplete",
|
|
106304
|
+
"privacy": "private",
|
|
106305
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106306
|
+
"inheritedFrom": {
|
|
106307
|
+
"name": "SbbElement",
|
|
106308
|
+
"module": "core/base-elements/element.js"
|
|
106309
|
+
}
|
|
106310
|
+
},
|
|
106311
|
+
{
|
|
106312
|
+
"kind": "field",
|
|
106313
|
+
"name": "_resolveHydration",
|
|
106314
|
+
"type": {
|
|
106315
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
106316
|
+
},
|
|
106317
|
+
"privacy": "private",
|
|
106318
|
+
"inheritedFrom": {
|
|
106319
|
+
"name": "SbbElement",
|
|
106320
|
+
"module": "core/base-elements/element.js"
|
|
106321
|
+
}
|
|
106322
|
+
},
|
|
106323
|
+
{
|
|
106324
|
+
"kind": "field",
|
|
106325
|
+
"name": "hydrationRequired",
|
|
106326
|
+
"type": {
|
|
106327
|
+
"text": "boolean"
|
|
106328
|
+
},
|
|
106329
|
+
"privacy": "protected",
|
|
106330
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
106331
|
+
"readonly": true,
|
|
106332
|
+
"inheritedFrom": {
|
|
106333
|
+
"name": "SbbElement",
|
|
106334
|
+
"module": "core/base-elements/element.js"
|
|
106335
|
+
},
|
|
106336
|
+
"default": "!!this.shadowRoot"
|
|
106337
|
+
},
|
|
106338
|
+
{
|
|
106339
|
+
"kind": "method",
|
|
106340
|
+
"name": "toggleState",
|
|
106341
|
+
"privacy": "protected",
|
|
106342
|
+
"return": {
|
|
106343
|
+
"type": {
|
|
106344
|
+
"text": "void"
|
|
106345
|
+
}
|
|
106346
|
+
},
|
|
106347
|
+
"parameters": [
|
|
106348
|
+
{
|
|
106349
|
+
"name": "value",
|
|
106350
|
+
"type": {
|
|
106351
|
+
"text": "string"
|
|
106352
|
+
}
|
|
106353
|
+
},
|
|
106354
|
+
{
|
|
106355
|
+
"name": "force",
|
|
106356
|
+
"optional": true,
|
|
106357
|
+
"type": {
|
|
106358
|
+
"text": "boolean"
|
|
106359
|
+
}
|
|
106360
|
+
}
|
|
106361
|
+
],
|
|
106362
|
+
"inheritedFrom": {
|
|
106363
|
+
"name": "SbbElement",
|
|
106364
|
+
"module": "core/base-elements/element.js"
|
|
106365
|
+
}
|
|
106366
|
+
},
|
|
106367
|
+
{
|
|
106368
|
+
"kind": "field",
|
|
106369
|
+
"name": "['_$sbbElement$']",
|
|
106370
|
+
"type": {
|
|
106371
|
+
"text": "boolean"
|
|
106372
|
+
},
|
|
106373
|
+
"privacy": "public",
|
|
106374
|
+
"static": true,
|
|
106375
|
+
"default": "true",
|
|
106376
|
+
"inheritedFrom": {
|
|
106377
|
+
"name": "SbbElement",
|
|
106378
|
+
"module": "core/base-elements/element.js"
|
|
106379
|
+
}
|
|
106380
|
+
},
|
|
106381
|
+
{
|
|
106382
|
+
"kind": "field",
|
|
106383
|
+
"name": "_controllers",
|
|
106384
|
+
"type": {
|
|
106385
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
106386
|
+
},
|
|
106387
|
+
"privacy": "private",
|
|
106388
|
+
"inheritedFrom": {
|
|
106389
|
+
"name": "SbbElement",
|
|
106390
|
+
"module": "core/base-elements/element.js"
|
|
106391
|
+
}
|
|
106392
|
+
}
|
|
106393
|
+
],
|
|
106394
|
+
"attributes": [
|
|
106395
|
+
{
|
|
106396
|
+
"name": "trigger",
|
|
106397
|
+
"type": {
|
|
106398
|
+
"text": "HTMLElement | null"
|
|
106399
|
+
},
|
|
106400
|
+
"default": "null",
|
|
106401
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106402
|
+
"fieldName": "trigger"
|
|
106403
|
+
}
|
|
106404
|
+
],
|
|
106405
|
+
"superclass": {
|
|
106406
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106407
|
+
"module": "core/base-elements.js"
|
|
106408
|
+
},
|
|
106409
|
+
"tagName": "sbb-menu",
|
|
106410
|
+
"customElement": true,
|
|
106411
|
+
"events": [
|
|
106412
|
+
{
|
|
106413
|
+
"name": "beforeopen",
|
|
106414
|
+
"type": {
|
|
106415
|
+
"text": "Event"
|
|
106416
|
+
},
|
|
106417
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
106418
|
+
"inheritedFrom": {
|
|
106419
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106420
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106421
|
+
}
|
|
106422
|
+
},
|
|
106423
|
+
{
|
|
106424
|
+
"name": "open",
|
|
106425
|
+
"type": {
|
|
106426
|
+
"text": "Event"
|
|
106607
106427
|
},
|
|
106608
|
-
"description": "
|
|
106428
|
+
"description": "Emits whenever the component is opened.",
|
|
106429
|
+
"inheritedFrom": {
|
|
106430
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106431
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106432
|
+
}
|
|
106609
106433
|
},
|
|
106610
106434
|
{
|
|
106611
|
-
"
|
|
106612
|
-
"
|
|
106613
|
-
|
|
106614
|
-
|
|
106615
|
-
|
|
106616
|
-
|
|
106617
|
-
|
|
106435
|
+
"name": "beforeclose",
|
|
106436
|
+
"type": {
|
|
106437
|
+
"text": "Event"
|
|
106438
|
+
},
|
|
106439
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
106440
|
+
"inheritedFrom": {
|
|
106441
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106442
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106618
106443
|
}
|
|
106619
106444
|
},
|
|
106620
106445
|
{
|
|
106621
|
-
"
|
|
106622
|
-
"
|
|
106623
|
-
|
|
106624
|
-
"return": {
|
|
106625
|
-
"type": {
|
|
106626
|
-
"text": "SbbMenuElement"
|
|
106627
|
-
}
|
|
106446
|
+
"name": "close",
|
|
106447
|
+
"type": {
|
|
106448
|
+
"text": "Event"
|
|
106628
106449
|
},
|
|
106629
|
-
"description": "
|
|
106450
|
+
"description": "Emits whenever the component is closed.",
|
|
106451
|
+
"inheritedFrom": {
|
|
106452
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106453
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106454
|
+
}
|
|
106455
|
+
}
|
|
106456
|
+
]
|
|
106457
|
+
}
|
|
106458
|
+
],
|
|
106459
|
+
"exports": [
|
|
106460
|
+
{
|
|
106461
|
+
"kind": "js",
|
|
106462
|
+
"name": "SbbMenuElement",
|
|
106463
|
+
"declaration": {
|
|
106464
|
+
"name": "SbbMenuElement",
|
|
106465
|
+
"module": "menu/menu/menu.component.js"
|
|
106466
|
+
}
|
|
106467
|
+
}
|
|
106468
|
+
]
|
|
106469
|
+
},
|
|
106470
|
+
{
|
|
106471
|
+
"kind": "javascript-module",
|
|
106472
|
+
"path": "menu/common/menu-action-common.js",
|
|
106473
|
+
"declarations": [
|
|
106474
|
+
{
|
|
106475
|
+
"kind": "class",
|
|
106476
|
+
"description": "",
|
|
106477
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106478
|
+
"mixins": [
|
|
106479
|
+
{
|
|
106480
|
+
"name": "SbbIconNameMixin",
|
|
106481
|
+
"module": "icon.js"
|
|
106630
106482
|
},
|
|
106631
106483
|
{
|
|
106632
|
-
"
|
|
106633
|
-
"
|
|
106634
|
-
|
|
106635
|
-
|
|
106636
|
-
|
|
106637
|
-
|
|
106638
|
-
|
|
106484
|
+
"name": "SbbDisabledMixin",
|
|
106485
|
+
"module": "core/mixins.js"
|
|
106486
|
+
}
|
|
106487
|
+
],
|
|
106488
|
+
"superclass": {
|
|
106489
|
+
"name": "SbbActionBaseElement",
|
|
106490
|
+
"module": "core/base-elements.js"
|
|
106491
|
+
},
|
|
106492
|
+
"attributes": [
|
|
106493
|
+
{
|
|
106494
|
+
"name": "icon-name",
|
|
106495
|
+
"type": {
|
|
106496
|
+
"text": "string"
|
|
106497
|
+
},
|
|
106498
|
+
"default": "''",
|
|
106499
|
+
"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.",
|
|
106500
|
+
"fieldName": "iconName",
|
|
106501
|
+
"inheritedFrom": {
|
|
106502
|
+
"name": "SbbIconNameMixin",
|
|
106503
|
+
"module": "icon/icon-name-mixin.js"
|
|
106639
106504
|
}
|
|
106640
106505
|
},
|
|
106641
106506
|
{
|
|
106642
|
-
"
|
|
106643
|
-
"
|
|
106644
|
-
"
|
|
106645
|
-
"
|
|
106646
|
-
"
|
|
106647
|
-
|
|
106648
|
-
|
|
106507
|
+
"name": "disabled",
|
|
106508
|
+
"description": "Whether the component is disabled.",
|
|
106509
|
+
"default": "false",
|
|
106510
|
+
"type": {
|
|
106511
|
+
"text": "boolean"
|
|
106512
|
+
},
|
|
106513
|
+
"fieldName": "disabled",
|
|
106514
|
+
"inheritedFrom": {
|
|
106515
|
+
"name": "SbbDisabledMixin",
|
|
106516
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106649
106517
|
}
|
|
106650
|
-
}
|
|
106518
|
+
}
|
|
106519
|
+
],
|
|
106520
|
+
"members": [
|
|
106651
106521
|
{
|
|
106652
|
-
"kind": "
|
|
106653
|
-
"name": "
|
|
106654
|
-
"
|
|
106655
|
-
|
|
106656
|
-
"type": {
|
|
106657
|
-
"text": "void"
|
|
106658
|
-
}
|
|
106522
|
+
"kind": "field",
|
|
106523
|
+
"name": "iconName",
|
|
106524
|
+
"type": {
|
|
106525
|
+
"text": "string"
|
|
106659
106526
|
},
|
|
106660
|
-
"
|
|
106661
|
-
|
|
106662
|
-
|
|
106663
|
-
|
|
106664
|
-
|
|
106665
|
-
|
|
106666
|
-
|
|
106667
|
-
|
|
106527
|
+
"privacy": "public",
|
|
106528
|
+
"default": "''",
|
|
106529
|
+
"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.",
|
|
106530
|
+
"attribute": "icon-name",
|
|
106531
|
+
"inheritedFrom": {
|
|
106532
|
+
"name": "SbbIconNameMixin",
|
|
106533
|
+
"module": "icon/icon-name-mixin.js"
|
|
106534
|
+
}
|
|
106668
106535
|
},
|
|
106669
106536
|
{
|
|
106670
106537
|
"kind": "method",
|
|
106671
|
-
"name": "
|
|
106672
|
-
"privacy": "
|
|
106538
|
+
"name": "renderIconSlot",
|
|
106539
|
+
"privacy": "protected",
|
|
106673
106540
|
"return": {
|
|
106674
106541
|
"type": {
|
|
106675
|
-
"text": "
|
|
106542
|
+
"text": "TemplateResult"
|
|
106676
106543
|
}
|
|
106677
106544
|
},
|
|
106678
106545
|
"parameters": [
|
|
106679
106546
|
{
|
|
106680
|
-
"name": "
|
|
106547
|
+
"name": "classname",
|
|
106548
|
+
"optional": true,
|
|
106681
106549
|
"type": {
|
|
106682
|
-
"text": "
|
|
106550
|
+
"text": "string"
|
|
106683
106551
|
}
|
|
106684
106552
|
}
|
|
106685
|
-
]
|
|
106686
|
-
|
|
106687
|
-
|
|
106688
|
-
|
|
106689
|
-
"name": "_setMenuPosition",
|
|
106690
|
-
"privacy": "private",
|
|
106691
|
-
"return": {
|
|
106692
|
-
"type": {
|
|
106693
|
-
"text": "void"
|
|
106694
|
-
}
|
|
106553
|
+
],
|
|
106554
|
+
"inheritedFrom": {
|
|
106555
|
+
"name": "SbbIconNameMixin",
|
|
106556
|
+
"module": "icon/icon-name-mixin.js"
|
|
106695
106557
|
}
|
|
106696
106558
|
},
|
|
106697
106559
|
{
|
|
106698
106560
|
"kind": "method",
|
|
106699
|
-
"name": "
|
|
106700
|
-
"privacy": "
|
|
106561
|
+
"name": "renderIconName",
|
|
106562
|
+
"privacy": "protected",
|
|
106701
106563
|
"return": {
|
|
106702
106564
|
"type": {
|
|
106703
|
-
"text": "
|
|
106565
|
+
"text": "string"
|
|
106704
106566
|
}
|
|
106567
|
+
},
|
|
106568
|
+
"inheritedFrom": {
|
|
106569
|
+
"name": "SbbIconNameMixin",
|
|
106570
|
+
"module": "icon/icon-name-mixin.js"
|
|
106705
106571
|
}
|
|
106706
106572
|
},
|
|
106707
106573
|
{
|
|
106708
106574
|
"kind": "method",
|
|
106709
|
-
"name": "
|
|
106575
|
+
"name": "_renderIconName",
|
|
106710
106576
|
"privacy": "private",
|
|
106711
106577
|
"return": {
|
|
106712
106578
|
"type": {
|
|
106713
|
-
"text": "
|
|
106579
|
+
"text": "string"
|
|
106714
106580
|
}
|
|
106715
|
-
}
|
|
106716
|
-
},
|
|
106717
|
-
{
|
|
106718
|
-
"kind": "field",
|
|
106719
|
-
"name": "events",
|
|
106720
|
-
"privacy": "public",
|
|
106721
|
-
"static": true,
|
|
106722
|
-
"readonly": true,
|
|
106723
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106724
|
-
"type": {
|
|
106725
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106726
106581
|
},
|
|
106727
106582
|
"inheritedFrom": {
|
|
106728
|
-
"name": "
|
|
106729
|
-
"module": "
|
|
106583
|
+
"name": "SbbIconNameMixin",
|
|
106584
|
+
"module": "icon/icon-name-mixin.js"
|
|
106730
106585
|
}
|
|
106731
106586
|
},
|
|
106732
106587
|
{
|
|
106733
106588
|
"kind": "field",
|
|
106734
|
-
"name": "
|
|
106735
|
-
"privacy": "
|
|
106736
|
-
"description": "
|
|
106589
|
+
"name": "disabled",
|
|
106590
|
+
"privacy": "public",
|
|
106591
|
+
"description": "Whether the component is disabled.",
|
|
106592
|
+
"default": "false",
|
|
106737
106593
|
"type": {
|
|
106738
|
-
"text": "
|
|
106594
|
+
"text": "boolean"
|
|
106739
106595
|
},
|
|
106740
|
-
"
|
|
106596
|
+
"attribute": "disabled",
|
|
106597
|
+
"reflects": true,
|
|
106741
106598
|
"inheritedFrom": {
|
|
106742
|
-
"name": "
|
|
106743
|
-
"module": "core/
|
|
106599
|
+
"name": "SbbDisabledMixin",
|
|
106600
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106744
106601
|
}
|
|
106745
106602
|
},
|
|
106746
106603
|
{
|
|
106747
106604
|
"kind": "field",
|
|
106748
|
-
"name": "
|
|
106749
|
-
"type": {
|
|
106750
|
-
"text": "SbbOpenedClosedState"
|
|
106751
|
-
},
|
|
106605
|
+
"name": "#disabled",
|
|
106752
106606
|
"privacy": "private",
|
|
106753
|
-
"inheritedFrom": {
|
|
106754
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106755
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106756
|
-
}
|
|
106757
|
-
},
|
|
106758
|
-
{
|
|
106759
|
-
"kind": "field",
|
|
106760
|
-
"name": "isOpen",
|
|
106761
106607
|
"type": {
|
|
106762
106608
|
"text": "boolean"
|
|
106763
106609
|
},
|
|
106764
|
-
"
|
|
106765
|
-
"description": "Whether the element is open.",
|
|
106766
|
-
"readonly": true,
|
|
106610
|
+
"default": "false",
|
|
106767
106611
|
"inheritedFrom": {
|
|
106768
|
-
"name": "
|
|
106769
|
-
"module": "core/
|
|
106612
|
+
"name": "SbbDisabledMixin",
|
|
106613
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106770
106614
|
}
|
|
106771
106615
|
},
|
|
106772
106616
|
{
|
|
106773
106617
|
"kind": "method",
|
|
106774
|
-
"name": "
|
|
106618
|
+
"name": "isDisabledExternally",
|
|
106775
106619
|
"privacy": "protected",
|
|
106776
106620
|
"return": {
|
|
106777
106621
|
"type": {
|
|
106778
106622
|
"text": "boolean"
|
|
106779
106623
|
}
|
|
106780
106624
|
},
|
|
106625
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106781
106626
|
"inheritedFrom": {
|
|
106782
|
-
"name": "
|
|
106783
|
-
"module": "core/
|
|
106627
|
+
"name": "SbbDisabledMixin",
|
|
106628
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106784
106629
|
}
|
|
106785
106630
|
},
|
|
106786
106631
|
{
|
|
106787
|
-
"kind": "
|
|
106788
|
-
"name": "
|
|
106632
|
+
"kind": "field",
|
|
106633
|
+
"name": "maybeDisabled",
|
|
106634
|
+
"type": {
|
|
106635
|
+
"text": "boolean | undefined"
|
|
106636
|
+
},
|
|
106789
106637
|
"privacy": "protected",
|
|
106790
|
-
"
|
|
106791
|
-
|
|
106792
|
-
|
|
106793
|
-
|
|
106638
|
+
"readonly": true,
|
|
106639
|
+
"inheritedFrom": {
|
|
106640
|
+
"name": "SbbActionBaseElement",
|
|
106641
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106642
|
+
}
|
|
106643
|
+
},
|
|
106644
|
+
{
|
|
106645
|
+
"kind": "field",
|
|
106646
|
+
"name": "maybeDisabledInteractive",
|
|
106647
|
+
"type": {
|
|
106648
|
+
"text": "boolean | undefined"
|
|
106794
106649
|
},
|
|
106650
|
+
"privacy": "protected",
|
|
106651
|
+
"readonly": true,
|
|
106795
106652
|
"inheritedFrom": {
|
|
106796
|
-
"name": "
|
|
106797
|
-
"module": "core/base-elements/
|
|
106653
|
+
"name": "SbbActionBaseElement",
|
|
106654
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106798
106655
|
}
|
|
106799
106656
|
},
|
|
106800
106657
|
{
|
|
106801
106658
|
"kind": "method",
|
|
106802
|
-
"name": "
|
|
106659
|
+
"name": "setupBaseEventHandlers",
|
|
106803
106660
|
"privacy": "protected",
|
|
106804
106661
|
"return": {
|
|
106805
106662
|
"type": {
|
|
106806
|
-
"text": "
|
|
106663
|
+
"text": "void"
|
|
106807
106664
|
}
|
|
106808
106665
|
},
|
|
106809
106666
|
"inheritedFrom": {
|
|
106810
|
-
"name": "
|
|
106811
|
-
"module": "core/base-elements/
|
|
106667
|
+
"name": "SbbActionBaseElement",
|
|
106668
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106812
106669
|
}
|
|
106813
106670
|
},
|
|
106814
106671
|
{
|
|
106815
106672
|
"kind": "method",
|
|
106816
|
-
"name": "
|
|
106673
|
+
"name": "renderTemplate",
|
|
106817
106674
|
"privacy": "protected",
|
|
106818
106675
|
"return": {
|
|
106819
106676
|
"type": {
|
|
106820
|
-
"text": "
|
|
106677
|
+
"text": "TemplateResult"
|
|
106821
106678
|
}
|
|
106822
106679
|
},
|
|
106680
|
+
"description": "Override this method to render the component template.",
|
|
106823
106681
|
"inheritedFrom": {
|
|
106824
|
-
"name": "
|
|
106825
|
-
"module": "core/base-elements/
|
|
106682
|
+
"name": "SbbActionBaseElement",
|
|
106683
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106826
106684
|
}
|
|
106827
106685
|
},
|
|
106828
106686
|
{
|
|
@@ -106918,6 +106776,20 @@
|
|
|
106918
106776
|
"module": "core/base-elements/element.js"
|
|
106919
106777
|
}
|
|
106920
106778
|
},
|
|
106779
|
+
{
|
|
106780
|
+
"kind": "field",
|
|
106781
|
+
"name": "elementName",
|
|
106782
|
+
"type": {
|
|
106783
|
+
"text": "string"
|
|
106784
|
+
},
|
|
106785
|
+
"privacy": "public",
|
|
106786
|
+
"static": true,
|
|
106787
|
+
"readonly": true,
|
|
106788
|
+
"inheritedFrom": {
|
|
106789
|
+
"name": "SbbElement",
|
|
106790
|
+
"module": "core/base-elements/element.js"
|
|
106791
|
+
}
|
|
106792
|
+
},
|
|
106921
106793
|
{
|
|
106922
106794
|
"kind": "field",
|
|
106923
106795
|
"name": "_controllers",
|
|
@@ -106930,67 +106802,187 @@
|
|
|
106930
106802
|
"module": "core/base-elements/element.js"
|
|
106931
106803
|
}
|
|
106932
106804
|
}
|
|
106933
|
-
]
|
|
106934
|
-
|
|
106805
|
+
]
|
|
106806
|
+
},
|
|
106807
|
+
{
|
|
106808
|
+
"kind": "mixin",
|
|
106809
|
+
"description": "",
|
|
106810
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106811
|
+
"members": [
|
|
106935
106812
|
{
|
|
106936
|
-
"
|
|
106813
|
+
"kind": "field",
|
|
106814
|
+
"name": "styles",
|
|
106937
106815
|
"type": {
|
|
106938
|
-
"text": "
|
|
106816
|
+
"text": "CSSResultGroup"
|
|
106939
106817
|
},
|
|
106940
|
-
"
|
|
106941
|
-
"
|
|
106942
|
-
"
|
|
106943
|
-
}
|
|
106944
|
-
],
|
|
106945
|
-
"superclass": {
|
|
106946
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106947
|
-
"module": "core/base-elements.js"
|
|
106948
|
-
},
|
|
106949
|
-
"tagName": "sbb-menu",
|
|
106950
|
-
"customElement": true,
|
|
106951
|
-
"events": [
|
|
106818
|
+
"privacy": "public",
|
|
106819
|
+
"static": true,
|
|
106820
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106821
|
+
},
|
|
106952
106822
|
{
|
|
106953
|
-
"
|
|
106823
|
+
"kind": "method",
|
|
106824
|
+
"name": "renderTemplate",
|
|
106825
|
+
"privacy": "protected",
|
|
106826
|
+
"return": {
|
|
106827
|
+
"type": {
|
|
106828
|
+
"text": "TemplateResult"
|
|
106829
|
+
}
|
|
106830
|
+
}
|
|
106831
|
+
},
|
|
106832
|
+
{
|
|
106833
|
+
"kind": "field",
|
|
106834
|
+
"name": "iconName",
|
|
106954
106835
|
"type": {
|
|
106955
|
-
"text": "
|
|
106836
|
+
"text": "string"
|
|
106956
106837
|
},
|
|
106957
|
-
"
|
|
106838
|
+
"privacy": "public",
|
|
106839
|
+
"default": "''",
|
|
106840
|
+
"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.",
|
|
106841
|
+
"attribute": "icon-name",
|
|
106958
106842
|
"inheritedFrom": {
|
|
106959
|
-
"name": "
|
|
106960
|
-
"module": "
|
|
106843
|
+
"name": "SbbIconNameMixin",
|
|
106844
|
+
"module": "icon/icon-name-mixin.js"
|
|
106961
106845
|
}
|
|
106962
106846
|
},
|
|
106963
106847
|
{
|
|
106964
|
-
"
|
|
106848
|
+
"kind": "method",
|
|
106849
|
+
"name": "renderIconSlot",
|
|
106850
|
+
"privacy": "protected",
|
|
106851
|
+
"return": {
|
|
106852
|
+
"type": {
|
|
106853
|
+
"text": "TemplateResult"
|
|
106854
|
+
}
|
|
106855
|
+
},
|
|
106856
|
+
"parameters": [
|
|
106857
|
+
{
|
|
106858
|
+
"name": "classname",
|
|
106859
|
+
"optional": true,
|
|
106860
|
+
"type": {
|
|
106861
|
+
"text": "string"
|
|
106862
|
+
}
|
|
106863
|
+
}
|
|
106864
|
+
],
|
|
106865
|
+
"inheritedFrom": {
|
|
106866
|
+
"name": "SbbIconNameMixin",
|
|
106867
|
+
"module": "icon/icon-name-mixin.js"
|
|
106868
|
+
}
|
|
106869
|
+
},
|
|
106870
|
+
{
|
|
106871
|
+
"kind": "method",
|
|
106872
|
+
"name": "renderIconName",
|
|
106873
|
+
"privacy": "protected",
|
|
106874
|
+
"return": {
|
|
106875
|
+
"type": {
|
|
106876
|
+
"text": "string"
|
|
106877
|
+
}
|
|
106878
|
+
},
|
|
106879
|
+
"inheritedFrom": {
|
|
106880
|
+
"name": "SbbIconNameMixin",
|
|
106881
|
+
"module": "icon/icon-name-mixin.js"
|
|
106882
|
+
}
|
|
106883
|
+
},
|
|
106884
|
+
{
|
|
106885
|
+
"kind": "method",
|
|
106886
|
+
"name": "_renderIconName",
|
|
106887
|
+
"privacy": "private",
|
|
106888
|
+
"return": {
|
|
106889
|
+
"type": {
|
|
106890
|
+
"text": "string"
|
|
106891
|
+
}
|
|
106892
|
+
},
|
|
106893
|
+
"inheritedFrom": {
|
|
106894
|
+
"name": "SbbIconNameMixin",
|
|
106895
|
+
"module": "icon/icon-name-mixin.js"
|
|
106896
|
+
}
|
|
106897
|
+
},
|
|
106898
|
+
{
|
|
106899
|
+
"kind": "field",
|
|
106900
|
+
"name": "disabled",
|
|
106901
|
+
"privacy": "public",
|
|
106902
|
+
"description": "Whether the component is disabled.",
|
|
106903
|
+
"default": "false",
|
|
106965
106904
|
"type": {
|
|
106966
|
-
"text": "
|
|
106905
|
+
"text": "boolean"
|
|
106967
106906
|
},
|
|
106968
|
-
"
|
|
106907
|
+
"attribute": "disabled",
|
|
106908
|
+
"reflects": true,
|
|
106969
106909
|
"inheritedFrom": {
|
|
106970
|
-
"name": "
|
|
106971
|
-
"module": "core/
|
|
106910
|
+
"name": "SbbDisabledMixin",
|
|
106911
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106972
106912
|
}
|
|
106973
106913
|
},
|
|
106974
106914
|
{
|
|
106975
|
-
"
|
|
106915
|
+
"kind": "field",
|
|
106916
|
+
"name": "#disabled",
|
|
106917
|
+
"privacy": "private",
|
|
106976
106918
|
"type": {
|
|
106977
|
-
"text": "
|
|
106919
|
+
"text": "boolean"
|
|
106978
106920
|
},
|
|
106979
|
-
"
|
|
106921
|
+
"default": "false",
|
|
106980
106922
|
"inheritedFrom": {
|
|
106981
|
-
"name": "
|
|
106982
|
-
"module": "core/
|
|
106923
|
+
"name": "SbbDisabledMixin",
|
|
106924
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106983
106925
|
}
|
|
106984
106926
|
},
|
|
106985
106927
|
{
|
|
106986
|
-
"
|
|
106928
|
+
"kind": "method",
|
|
106929
|
+
"name": "isDisabledExternally",
|
|
106930
|
+
"privacy": "protected",
|
|
106931
|
+
"return": {
|
|
106932
|
+
"type": {
|
|
106933
|
+
"text": "boolean"
|
|
106934
|
+
}
|
|
106935
|
+
},
|
|
106936
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106937
|
+
"inheritedFrom": {
|
|
106938
|
+
"name": "SbbDisabledMixin",
|
|
106939
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106940
|
+
}
|
|
106941
|
+
}
|
|
106942
|
+
],
|
|
106943
|
+
"mixins": [
|
|
106944
|
+
{
|
|
106945
|
+
"name": "SbbIconNameMixin",
|
|
106946
|
+
"module": "icon.js"
|
|
106947
|
+
},
|
|
106948
|
+
{
|
|
106949
|
+
"name": "SbbDisabledMixin",
|
|
106950
|
+
"module": "core/mixins.js"
|
|
106951
|
+
}
|
|
106952
|
+
],
|
|
106953
|
+
"parameters": [
|
|
106954
|
+
{
|
|
106955
|
+
"name": "superClass",
|
|
106987
106956
|
"type": {
|
|
106988
|
-
"text": "
|
|
106957
|
+
"text": "T"
|
|
106958
|
+
}
|
|
106959
|
+
}
|
|
106960
|
+
],
|
|
106961
|
+
"attributes": [
|
|
106962
|
+
{
|
|
106963
|
+
"name": "icon-name",
|
|
106964
|
+
"type": {
|
|
106965
|
+
"text": "string"
|
|
106989
106966
|
},
|
|
106990
|
-
"
|
|
106967
|
+
"default": "''",
|
|
106968
|
+
"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.",
|
|
106969
|
+
"fieldName": "iconName",
|
|
106991
106970
|
"inheritedFrom": {
|
|
106992
|
-
"name": "
|
|
106993
|
-
"module": "
|
|
106971
|
+
"name": "SbbIconNameMixin",
|
|
106972
|
+
"module": "icon/icon-name-mixin.js"
|
|
106973
|
+
}
|
|
106974
|
+
},
|
|
106975
|
+
{
|
|
106976
|
+
"name": "disabled",
|
|
106977
|
+
"description": "Whether the component is disabled.",
|
|
106978
|
+
"default": "false",
|
|
106979
|
+
"type": {
|
|
106980
|
+
"text": "boolean"
|
|
106981
|
+
},
|
|
106982
|
+
"fieldName": "disabled",
|
|
106983
|
+
"inheritedFrom": {
|
|
106984
|
+
"name": "SbbDisabledMixin",
|
|
106985
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106994
106986
|
}
|
|
106995
106987
|
}
|
|
106996
106988
|
]
|
|
@@ -106999,10 +106991,18 @@
|
|
|
106999
106991
|
"exports": [
|
|
107000
106992
|
{
|
|
107001
106993
|
"kind": "js",
|
|
107002
|
-
"name": "
|
|
106994
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
107003
106995
|
"declaration": {
|
|
107004
|
-
"name": "
|
|
107005
|
-
"module": "menu/
|
|
106996
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106997
|
+
"module": "menu/common/menu-action-common.js"
|
|
106998
|
+
}
|
|
106999
|
+
},
|
|
107000
|
+
{
|
|
107001
|
+
"kind": "js",
|
|
107002
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107003
|
+
"declaration": {
|
|
107004
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107005
|
+
"module": "menu/common/menu-action-common.js"
|
|
107006
107006
|
}
|
|
107007
107007
|
}
|
|
107008
107008
|
]
|