@sbb-esta/lyne-elements-dev 4.0.0-dev.1775559954 → 4.0.0-dev.1775567714
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
|
|
36976
|
+
"path": "button/accent-button/accent-button.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.",
|
|
36981
|
+
"name": "SbbAccentButtonElement",
|
|
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.",
|
|
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'",
|
|
37010
37010
|
"inheritedFrom": {
|
|
37011
37011
|
"name": "SbbElement",
|
|
37012
37012
|
"module": "core/base-elements/element.js"
|
|
@@ -37203,151 +37203,479 @@
|
|
|
37203
37203
|
},
|
|
37204
37204
|
{
|
|
37205
37205
|
"kind": "field",
|
|
37206
|
-
"name": "
|
|
37206
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
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",
|
|
37207
37221
|
"type": {
|
|
37208
37222
|
"text": "string"
|
|
37209
37223
|
},
|
|
37210
37224
|
"privacy": "public",
|
|
37211
37225
|
"default": "''",
|
|
37212
|
-
"description": "
|
|
37213
|
-
"attribute": "
|
|
37214
|
-
"reflects": true,
|
|
37226
|
+
"description": "Value of the form element.",
|
|
37227
|
+
"attribute": "value",
|
|
37215
37228
|
"inheritedFrom": {
|
|
37216
|
-
"name": "
|
|
37217
|
-
"module": "core/base-elements/
|
|
37229
|
+
"name": "SbbButtonBaseElement",
|
|
37230
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37218
37231
|
}
|
|
37219
37232
|
},
|
|
37220
37233
|
{
|
|
37221
37234
|
"kind": "field",
|
|
37222
|
-
"name": "
|
|
37235
|
+
"name": "type",
|
|
37236
|
+
"privacy": "public",
|
|
37237
|
+
"description": "The type attribute to use for the button.",
|
|
37238
|
+
"default": "'button'",
|
|
37223
37239
|
"type": {
|
|
37224
|
-
"text": "
|
|
37240
|
+
"text": "SbbButtonType"
|
|
37241
|
+
},
|
|
37242
|
+
"attribute": "type",
|
|
37243
|
+
"inheritedFrom": {
|
|
37244
|
+
"name": "SbbButtonBaseElement",
|
|
37245
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37246
|
+
}
|
|
37247
|
+
},
|
|
37248
|
+
{
|
|
37249
|
+
"kind": "field",
|
|
37250
|
+
"name": "form",
|
|
37251
|
+
"type": {
|
|
37252
|
+
"text": "HTMLFormElement | null"
|
|
37225
37253
|
},
|
|
37226
37254
|
"privacy": "public",
|
|
37227
|
-
"
|
|
37228
|
-
"
|
|
37229
|
-
"attribute": "target",
|
|
37230
|
-
"reflects": true,
|
|
37255
|
+
"description": "The `<form>` element to associate the button with.",
|
|
37256
|
+
"attribute": "form",
|
|
37231
37257
|
"inheritedFrom": {
|
|
37232
|
-
"name": "
|
|
37233
|
-
"module": "core/base-elements/
|
|
37258
|
+
"name": "SbbButtonBaseElement",
|
|
37259
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37234
37260
|
}
|
|
37235
37261
|
},
|
|
37236
37262
|
{
|
|
37237
37263
|
"kind": "field",
|
|
37238
|
-
"name": "
|
|
37264
|
+
"name": "_formId",
|
|
37239
37265
|
"type": {
|
|
37240
37266
|
"text": "string"
|
|
37241
37267
|
},
|
|
37242
|
-
"privacy": "
|
|
37268
|
+
"privacy": "private",
|
|
37243
37269
|
"default": "''",
|
|
37244
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37245
|
-
"attribute": "rel",
|
|
37246
|
-
"reflects": true,
|
|
37247
37270
|
"inheritedFrom": {
|
|
37248
|
-
"name": "
|
|
37249
|
-
"module": "core/base-elements/
|
|
37271
|
+
"name": "SbbButtonBaseElement",
|
|
37272
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37250
37273
|
}
|
|
37251
37274
|
},
|
|
37252
37275
|
{
|
|
37253
37276
|
"kind": "field",
|
|
37254
|
-
"name": "
|
|
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"
|
|
37313
|
+
}
|
|
37314
|
+
},
|
|
37315
|
+
{
|
|
37316
|
+
"kind": "field",
|
|
37317
|
+
"name": "formAssociated",
|
|
37255
37318
|
"type": {
|
|
37256
37319
|
"text": "boolean"
|
|
37257
37320
|
},
|
|
37258
37321
|
"privacy": "public",
|
|
37259
|
-
"
|
|
37260
|
-
"
|
|
37261
|
-
"attribute": "download",
|
|
37262
|
-
"reflects": true,
|
|
37322
|
+
"static": true,
|
|
37323
|
+
"default": "true",
|
|
37263
37324
|
"inheritedFrom": {
|
|
37264
|
-
"name": "
|
|
37265
|
-
"module": "core/
|
|
37325
|
+
"name": "SbbFormAssociatedMixin",
|
|
37326
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37266
37327
|
}
|
|
37267
37328
|
},
|
|
37268
37329
|
{
|
|
37269
37330
|
"kind": "field",
|
|
37270
|
-
"name": "
|
|
37331
|
+
"name": "name",
|
|
37332
|
+
"privacy": "public",
|
|
37333
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
37271
37334
|
"type": {
|
|
37272
37335
|
"text": "string"
|
|
37273
37336
|
},
|
|
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
|
+
},
|
|
37274
37349
|
"privacy": "public",
|
|
37275
|
-
"
|
|
37276
|
-
"
|
|
37277
|
-
"attribute": "accessibility-label",
|
|
37350
|
+
"description": "Returns the ValidityState object for this element.",
|
|
37351
|
+
"readonly": true,
|
|
37278
37352
|
"inheritedFrom": {
|
|
37279
|
-
"name": "
|
|
37280
|
-
"module": "core/
|
|
37353
|
+
"name": "SbbFormAssociatedMixin",
|
|
37354
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37281
37355
|
}
|
|
37282
37356
|
},
|
|
37283
37357
|
{
|
|
37284
37358
|
"kind": "field",
|
|
37285
|
-
"name": "
|
|
37359
|
+
"name": "validationMessage",
|
|
37286
37360
|
"type": {
|
|
37287
37361
|
"text": "string"
|
|
37288
37362
|
},
|
|
37289
37363
|
"privacy": "public",
|
|
37290
|
-
"
|
|
37291
|
-
"
|
|
37292
|
-
"attribute": "accessibility-current",
|
|
37364
|
+
"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.",
|
|
37365
|
+
"readonly": true,
|
|
37293
37366
|
"inheritedFrom": {
|
|
37294
|
-
"name": "
|
|
37295
|
-
"module": "core/
|
|
37367
|
+
"name": "SbbFormAssociatedMixin",
|
|
37368
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37296
37369
|
}
|
|
37297
37370
|
},
|
|
37298
37371
|
{
|
|
37299
37372
|
"kind": "field",
|
|
37300
|
-
"name": "
|
|
37301
|
-
"
|
|
37302
|
-
|
|
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,
|
|
37303
37380
|
"inheritedFrom": {
|
|
37304
|
-
"name": "
|
|
37305
|
-
"module": "core/
|
|
37381
|
+
"name": "SbbFormAssociatedMixin",
|
|
37382
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37306
37383
|
}
|
|
37307
37384
|
},
|
|
37308
37385
|
{
|
|
37309
37386
|
"kind": "field",
|
|
37310
|
-
"name": "
|
|
37387
|
+
"name": "_validityStates",
|
|
37388
|
+
"privacy": "private",
|
|
37389
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
37390
|
+
"inheritedFrom": {
|
|
37391
|
+
"name": "SbbFormAssociatedMixin",
|
|
37392
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37393
|
+
}
|
|
37394
|
+
},
|
|
37395
|
+
{
|
|
37396
|
+
"kind": "field",
|
|
37397
|
+
"name": "formDisabled",
|
|
37311
37398
|
"type": {
|
|
37312
|
-
"text": "
|
|
37399
|
+
"text": "boolean"
|
|
37313
37400
|
},
|
|
37314
37401
|
"privacy": "protected",
|
|
37315
|
-
"
|
|
37316
|
-
"
|
|
37402
|
+
"default": "false",
|
|
37403
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
37317
37404
|
"inheritedFrom": {
|
|
37318
|
-
"name": "
|
|
37319
|
-
"module": "core/
|
|
37405
|
+
"name": "SbbFormAssociatedMixin",
|
|
37406
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37320
37407
|
}
|
|
37321
37408
|
},
|
|
37322
37409
|
{
|
|
37323
|
-
"kind": "
|
|
37324
|
-
"name": "
|
|
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.",
|
|
37457
|
+
"inheritedFrom": {
|
|
37458
|
+
"name": "SbbFormAssociatedMixin",
|
|
37459
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37460
|
+
}
|
|
37461
|
+
},
|
|
37462
|
+
{
|
|
37463
|
+
"kind": "method",
|
|
37464
|
+
"name": "_hasDisabledAncestor",
|
|
37325
37465
|
"privacy": "private",
|
|
37466
|
+
"return": {
|
|
37467
|
+
"type": {
|
|
37468
|
+
"text": "boolean"
|
|
37469
|
+
}
|
|
37470
|
+
},
|
|
37326
37471
|
"inheritedFrom": {
|
|
37327
|
-
"name": "
|
|
37328
|
-
"module": "core/
|
|
37472
|
+
"name": "SbbFormAssociatedMixin",
|
|
37473
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37329
37474
|
}
|
|
37330
37475
|
},
|
|
37331
37476
|
{
|
|
37332
37477
|
"kind": "method",
|
|
37333
|
-
"name": "
|
|
37478
|
+
"name": "updateFormValue",
|
|
37334
37479
|
"privacy": "protected",
|
|
37335
37480
|
"return": {
|
|
37336
37481
|
"type": {
|
|
37337
|
-
"text": "
|
|
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"
|
|
37338
37512
|
}
|
|
37339
37513
|
},
|
|
37340
37514
|
"parameters": [
|
|
37341
37515
|
{
|
|
37342
|
-
"name": "
|
|
37516
|
+
"name": "flag",
|
|
37343
37517
|
"type": {
|
|
37344
|
-
"text": "
|
|
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]"
|
|
37345
37532
|
}
|
|
37346
37533
|
}
|
|
37347
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).",
|
|
37348
37536
|
"inheritedFrom": {
|
|
37349
|
-
"name": "
|
|
37350
|
-
"module": "core/
|
|
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
|
+
"inheritedFrom": {
|
|
37575
|
+
"name": "SbbFormAssociatedMixin",
|
|
37576
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37577
|
+
}
|
|
37578
|
+
},
|
|
37579
|
+
{
|
|
37580
|
+
"kind": "method",
|
|
37581
|
+
"name": "shouldValidate",
|
|
37582
|
+
"privacy": "protected",
|
|
37583
|
+
"return": {
|
|
37584
|
+
"type": {
|
|
37585
|
+
"text": "boolean"
|
|
37586
|
+
}
|
|
37587
|
+
},
|
|
37588
|
+
"parameters": [
|
|
37589
|
+
{
|
|
37590
|
+
"name": "name",
|
|
37591
|
+
"type": {
|
|
37592
|
+
"text": "PropertyKey | undefined"
|
|
37593
|
+
}
|
|
37594
|
+
}
|
|
37595
|
+
],
|
|
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
|
+
"inheritedFrom": {
|
|
37677
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37678
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37351
37679
|
}
|
|
37352
37680
|
},
|
|
37353
37681
|
{
|
|
@@ -37502,19 +37830,15 @@
|
|
|
37502
37830
|
"module": "button/common/button-common.js"
|
|
37503
37831
|
},
|
|
37504
37832
|
{
|
|
37505
|
-
"name": "
|
|
37506
|
-
"module": "core/mixins.js"
|
|
37507
|
-
},
|
|
37508
|
-
{
|
|
37509
|
-
"name": "SbbDisabledMixin",
|
|
37833
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
37510
37834
|
"module": "core/mixins.js"
|
|
37511
37835
|
}
|
|
37512
37836
|
],
|
|
37513
37837
|
"superclass": {
|
|
37514
|
-
"name": "
|
|
37838
|
+
"name": "SbbButtonBaseElement",
|
|
37515
37839
|
"module": "core/base-elements.js"
|
|
37516
37840
|
},
|
|
37517
|
-
"tagName": "sbb-accent-button
|
|
37841
|
+
"tagName": "sbb-accent-button",
|
|
37518
37842
|
"customElement": true,
|
|
37519
37843
|
"attributes": [
|
|
37520
37844
|
{
|
|
@@ -37596,81 +37920,53 @@
|
|
|
37596
37920
|
}
|
|
37597
37921
|
},
|
|
37598
37922
|
{
|
|
37599
|
-
"name": "
|
|
37923
|
+
"name": "value",
|
|
37600
37924
|
"type": {
|
|
37601
37925
|
"text": "string"
|
|
37602
37926
|
},
|
|
37603
37927
|
"default": "''",
|
|
37604
|
-
"description": "
|
|
37605
|
-
"fieldName": "
|
|
37928
|
+
"description": "Value of the form element.",
|
|
37929
|
+
"fieldName": "value",
|
|
37606
37930
|
"inheritedFrom": {
|
|
37607
|
-
"name": "
|
|
37608
|
-
"module": "core/base-elements/
|
|
37931
|
+
"name": "SbbButtonBaseElement",
|
|
37932
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37609
37933
|
}
|
|
37610
37934
|
},
|
|
37611
37935
|
{
|
|
37612
|
-
"name": "
|
|
37936
|
+
"name": "type",
|
|
37937
|
+
"description": "The type attribute to use for the button.",
|
|
37938
|
+
"default": "'button'",
|
|
37613
37939
|
"type": {
|
|
37614
|
-
"text": "
|
|
37940
|
+
"text": "SbbButtonType"
|
|
37615
37941
|
},
|
|
37616
|
-
"
|
|
37617
|
-
"description": "Where to display the linked URL.",
|
|
37618
|
-
"fieldName": "target",
|
|
37942
|
+
"fieldName": "type",
|
|
37619
37943
|
"inheritedFrom": {
|
|
37620
|
-
"name": "
|
|
37621
|
-
"module": "core/base-elements/
|
|
37944
|
+
"name": "SbbButtonBaseElement",
|
|
37945
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37622
37946
|
}
|
|
37623
37947
|
},
|
|
37624
37948
|
{
|
|
37625
|
-
"name": "
|
|
37949
|
+
"name": "form",
|
|
37950
|
+
"description": "The `<form>` element to associate the button with.",
|
|
37626
37951
|
"type": {
|
|
37627
|
-
"text": "
|
|
37952
|
+
"text": "HTMLFormElement | null"
|
|
37628
37953
|
},
|
|
37629
|
-
"
|
|
37630
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37631
|
-
"fieldName": "rel",
|
|
37954
|
+
"fieldName": "form",
|
|
37632
37955
|
"inheritedFrom": {
|
|
37633
|
-
"name": "
|
|
37634
|
-
"module": "core/base-elements/
|
|
37956
|
+
"name": "SbbButtonBaseElement",
|
|
37957
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37635
37958
|
}
|
|
37636
37959
|
},
|
|
37637
37960
|
{
|
|
37638
|
-
"name": "
|
|
37961
|
+
"name": "name",
|
|
37962
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
37639
37963
|
"type": {
|
|
37640
|
-
"text": "
|
|
37964
|
+
"text": "string"
|
|
37641
37965
|
},
|
|
37642
|
-
"
|
|
37643
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
37644
|
-
"fieldName": "download",
|
|
37645
|
-
"inheritedFrom": {
|
|
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",
|
|
37966
|
+
"fieldName": "name",
|
|
37671
37967
|
"inheritedFrom": {
|
|
37672
|
-
"name": "
|
|
37673
|
-
"module": "core/
|
|
37968
|
+
"name": "SbbFormAssociatedMixin",
|
|
37969
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37674
37970
|
}
|
|
37675
37971
|
}
|
|
37676
37972
|
]
|
|
@@ -37679,22 +37975,22 @@
|
|
|
37679
37975
|
"exports": [
|
|
37680
37976
|
{
|
|
37681
37977
|
"kind": "js",
|
|
37682
|
-
"name": "
|
|
37978
|
+
"name": "SbbAccentButtonElement",
|
|
37683
37979
|
"declaration": {
|
|
37684
|
-
"name": "
|
|
37685
|
-
"module": "button/accent-button
|
|
37980
|
+
"name": "SbbAccentButtonElement",
|
|
37981
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
37686
37982
|
}
|
|
37687
37983
|
}
|
|
37688
37984
|
]
|
|
37689
37985
|
},
|
|
37690
37986
|
{
|
|
37691
37987
|
"kind": "javascript-module",
|
|
37692
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
37988
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
37693
37989
|
"declarations": [
|
|
37694
37990
|
{
|
|
37695
37991
|
"kind": "class",
|
|
37696
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37697
|
-
"name": "
|
|
37992
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
37993
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37698
37994
|
"cssProperties": [
|
|
37699
37995
|
{
|
|
37700
37996
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -37704,7 +38000,7 @@
|
|
|
37704
38000
|
],
|
|
37705
38001
|
"slots": [
|
|
37706
38002
|
{
|
|
37707
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
38003
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
37708
38004
|
"name": ""
|
|
37709
38005
|
},
|
|
37710
38006
|
{
|
|
@@ -37722,7 +38018,7 @@
|
|
|
37722
38018
|
"privacy": "public",
|
|
37723
38019
|
"static": true,
|
|
37724
38020
|
"readonly": true,
|
|
37725
|
-
"default": "'sbb-accent-button'",
|
|
38021
|
+
"default": "'sbb-accent-button-link'",
|
|
37726
38022
|
"inheritedFrom": {
|
|
37727
38023
|
"name": "SbbElement",
|
|
37728
38024
|
"module": "core/base-elements/element.js"
|
|
@@ -37919,479 +38215,151 @@
|
|
|
37919
38215
|
},
|
|
37920
38216
|
{
|
|
37921
38217
|
"kind": "field",
|
|
37922
|
-
"name": "
|
|
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",
|
|
38218
|
+
"name": "href",
|
|
37937
38219
|
"type": {
|
|
37938
38220
|
"text": "string"
|
|
37939
38221
|
},
|
|
37940
38222
|
"privacy": "public",
|
|
37941
38223
|
"default": "''",
|
|
37942
|
-
"description": "
|
|
37943
|
-
"attribute": "
|
|
37944
|
-
"
|
|
37945
|
-
"name": "SbbButtonBaseElement",
|
|
37946
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37947
|
-
}
|
|
37948
|
-
},
|
|
37949
|
-
{
|
|
37950
|
-
"kind": "field",
|
|
37951
|
-
"name": "type",
|
|
37952
|
-
"privacy": "public",
|
|
37953
|
-
"description": "The type attribute to use for the button.",
|
|
37954
|
-
"default": "'button'",
|
|
37955
|
-
"type": {
|
|
37956
|
-
"text": "SbbButtonType"
|
|
37957
|
-
},
|
|
37958
|
-
"attribute": "type",
|
|
38224
|
+
"description": "The href value you want to link to.",
|
|
38225
|
+
"attribute": "href",
|
|
38226
|
+
"reflects": true,
|
|
37959
38227
|
"inheritedFrom": {
|
|
37960
|
-
"name": "
|
|
37961
|
-
"module": "core/base-elements/
|
|
38228
|
+
"name": "SbbLinkBaseElement",
|
|
38229
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37962
38230
|
}
|
|
37963
38231
|
},
|
|
37964
38232
|
{
|
|
37965
38233
|
"kind": "field",
|
|
37966
|
-
"name": "
|
|
38234
|
+
"name": "target",
|
|
37967
38235
|
"type": {
|
|
37968
|
-
"text": "
|
|
38236
|
+
"text": "LinkTargetType | string"
|
|
37969
38237
|
},
|
|
37970
38238
|
"privacy": "public",
|
|
37971
|
-
"
|
|
37972
|
-
"
|
|
38239
|
+
"default": "''",
|
|
38240
|
+
"description": "Where to display the linked URL.",
|
|
38241
|
+
"attribute": "target",
|
|
38242
|
+
"reflects": true,
|
|
37973
38243
|
"inheritedFrom": {
|
|
37974
|
-
"name": "
|
|
37975
|
-
"module": "core/base-elements/
|
|
38244
|
+
"name": "SbbLinkBaseElement",
|
|
38245
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37976
38246
|
}
|
|
37977
38247
|
},
|
|
37978
38248
|
{
|
|
37979
38249
|
"kind": "field",
|
|
37980
|
-
"name": "
|
|
38250
|
+
"name": "rel",
|
|
37981
38251
|
"type": {
|
|
37982
38252
|
"text": "string"
|
|
37983
38253
|
},
|
|
37984
|
-
"privacy": "
|
|
38254
|
+
"privacy": "public",
|
|
37985
38255
|
"default": "''",
|
|
38256
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38257
|
+
"attribute": "rel",
|
|
38258
|
+
"reflects": true,
|
|
37986
38259
|
"inheritedFrom": {
|
|
37987
|
-
"name": "
|
|
37988
|
-
"module": "core/base-elements/
|
|
37989
|
-
}
|
|
37990
|
-
},
|
|
37991
|
-
{
|
|
37992
|
-
"kind": "field",
|
|
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"
|
|
38260
|
+
"name": "SbbLinkBaseElement",
|
|
38261
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38029
38262
|
}
|
|
38030
38263
|
},
|
|
38031
38264
|
{
|
|
38032
38265
|
"kind": "field",
|
|
38033
|
-
"name": "
|
|
38266
|
+
"name": "download",
|
|
38034
38267
|
"type": {
|
|
38035
38268
|
"text": "boolean"
|
|
38036
38269
|
},
|
|
38037
38270
|
"privacy": "public",
|
|
38038
|
-
"
|
|
38039
|
-
"
|
|
38271
|
+
"default": "false",
|
|
38272
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
38273
|
+
"attribute": "download",
|
|
38274
|
+
"reflects": true,
|
|
38040
38275
|
"inheritedFrom": {
|
|
38041
|
-
"name": "
|
|
38042
|
-
"module": "core/
|
|
38276
|
+
"name": "SbbLinkBaseElement",
|
|
38277
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38043
38278
|
}
|
|
38044
38279
|
},
|
|
38045
38280
|
{
|
|
38046
38281
|
"kind": "field",
|
|
38047
|
-
"name": "
|
|
38048
|
-
"privacy": "public",
|
|
38049
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
38282
|
+
"name": "accessibilityLabel",
|
|
38050
38283
|
"type": {
|
|
38051
38284
|
"text": "string"
|
|
38052
38285
|
},
|
|
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
|
-
},
|
|
38065
38286
|
"privacy": "public",
|
|
38066
|
-
"
|
|
38067
|
-
"
|
|
38287
|
+
"default": "''",
|
|
38288
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38289
|
+
"attribute": "accessibility-label",
|
|
38068
38290
|
"inheritedFrom": {
|
|
38069
|
-
"name": "
|
|
38070
|
-
"module": "core/
|
|
38291
|
+
"name": "SbbLinkBaseElement",
|
|
38292
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38071
38293
|
}
|
|
38072
38294
|
},
|
|
38073
38295
|
{
|
|
38074
38296
|
"kind": "field",
|
|
38075
|
-
"name": "
|
|
38297
|
+
"name": "accessibilityCurrent",
|
|
38076
38298
|
"type": {
|
|
38077
38299
|
"text": "string"
|
|
38078
38300
|
},
|
|
38079
38301
|
"privacy": "public",
|
|
38080
|
-
"
|
|
38081
|
-
"
|
|
38082
|
-
"
|
|
38083
|
-
"name": "SbbFormAssociatedMixin",
|
|
38084
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38085
|
-
}
|
|
38086
|
-
},
|
|
38087
|
-
{
|
|
38088
|
-
"kind": "field",
|
|
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,
|
|
38302
|
+
"default": "''",
|
|
38303
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38304
|
+
"attribute": "accessibility-current",
|
|
38096
38305
|
"inheritedFrom": {
|
|
38097
|
-
"name": "
|
|
38098
|
-
"module": "core/
|
|
38306
|
+
"name": "SbbLinkBaseElement",
|
|
38307
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38099
38308
|
}
|
|
38100
38309
|
},
|
|
38101
38310
|
{
|
|
38102
38311
|
"kind": "field",
|
|
38103
|
-
"name": "
|
|
38104
|
-
"privacy": "
|
|
38105
|
-
"default": "new
|
|
38312
|
+
"name": "language",
|
|
38313
|
+
"privacy": "protected",
|
|
38314
|
+
"default": "new SbbLanguageController(this)",
|
|
38106
38315
|
"inheritedFrom": {
|
|
38107
|
-
"name": "
|
|
38108
|
-
"module": "core/
|
|
38316
|
+
"name": "SbbLinkBaseElement",
|
|
38317
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38109
38318
|
}
|
|
38110
38319
|
},
|
|
38111
38320
|
{
|
|
38112
38321
|
"kind": "field",
|
|
38113
|
-
"name": "
|
|
38322
|
+
"name": "anchorRole",
|
|
38114
38323
|
"type": {
|
|
38115
|
-
"text": "
|
|
38324
|
+
"text": "string | null"
|
|
38116
38325
|
},
|
|
38117
38326
|
"privacy": "protected",
|
|
38118
|
-
"
|
|
38119
|
-
"
|
|
38120
|
-
"inheritedFrom": {
|
|
38121
|
-
"name": "SbbFormAssociatedMixin",
|
|
38122
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38123
|
-
}
|
|
38124
|
-
},
|
|
38125
|
-
{
|
|
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.",
|
|
38327
|
+
"readonly": true,
|
|
38328
|
+
"default": "null",
|
|
38173
38329
|
"inheritedFrom": {
|
|
38174
|
-
"name": "
|
|
38175
|
-
"module": "core/
|
|
38330
|
+
"name": "SbbLinkBaseElement",
|
|
38331
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38176
38332
|
}
|
|
38177
38333
|
},
|
|
38178
38334
|
{
|
|
38179
|
-
"kind": "
|
|
38180
|
-
"name": "
|
|
38335
|
+
"kind": "field",
|
|
38336
|
+
"name": "_evaluateRelAttribute",
|
|
38181
38337
|
"privacy": "private",
|
|
38182
|
-
"return": {
|
|
38183
|
-
"type": {
|
|
38184
|
-
"text": "boolean"
|
|
38185
|
-
}
|
|
38186
|
-
},
|
|
38187
|
-
"inheritedFrom": {
|
|
38188
|
-
"name": "SbbFormAssociatedMixin",
|
|
38189
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38190
|
-
}
|
|
38191
|
-
},
|
|
38192
|
-
{
|
|
38193
|
-
"kind": "method",
|
|
38194
|
-
"name": "updateFormValue",
|
|
38195
|
-
"privacy": "protected",
|
|
38196
|
-
"return": {
|
|
38197
|
-
"type": {
|
|
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"
|
|
38228
|
-
}
|
|
38229
|
-
},
|
|
38230
|
-
"parameters": [
|
|
38231
|
-
{
|
|
38232
|
-
"name": "flag",
|
|
38233
|
-
"type": {
|
|
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]"
|
|
38248
|
-
}
|
|
38249
|
-
}
|
|
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).",
|
|
38252
|
-
"inheritedFrom": {
|
|
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
38338
|
"inheritedFrom": {
|
|
38291
|
-
"name": "
|
|
38292
|
-
"module": "core/
|
|
38339
|
+
"name": "SbbLinkBaseElement",
|
|
38340
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38293
38341
|
}
|
|
38294
38342
|
},
|
|
38295
38343
|
{
|
|
38296
38344
|
"kind": "method",
|
|
38297
|
-
"name": "
|
|
38345
|
+
"name": "renderLink",
|
|
38298
38346
|
"privacy": "protected",
|
|
38299
38347
|
"return": {
|
|
38300
38348
|
"type": {
|
|
38301
|
-
"text": "
|
|
38349
|
+
"text": "TemplateResult"
|
|
38302
38350
|
}
|
|
38303
38351
|
},
|
|
38304
38352
|
"parameters": [
|
|
38305
38353
|
{
|
|
38306
|
-
"name": "
|
|
38354
|
+
"name": "renderContent",
|
|
38307
38355
|
"type": {
|
|
38308
|
-
"text": "
|
|
38356
|
+
"text": "TemplateResult"
|
|
38309
38357
|
}
|
|
38310
38358
|
}
|
|
38311
38359
|
],
|
|
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
38360
|
"inheritedFrom": {
|
|
38393
|
-
"name": "
|
|
38394
|
-
"module": "core/base-elements/
|
|
38361
|
+
"name": "SbbLinkBaseElement",
|
|
38362
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38395
38363
|
}
|
|
38396
38364
|
},
|
|
38397
38365
|
{
|
|
@@ -38546,15 +38514,19 @@
|
|
|
38546
38514
|
"module": "button/common/button-common.js"
|
|
38547
38515
|
},
|
|
38548
38516
|
{
|
|
38549
|
-
"name": "
|
|
38517
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
38518
|
+
"module": "core/mixins.js"
|
|
38519
|
+
},
|
|
38520
|
+
{
|
|
38521
|
+
"name": "SbbDisabledMixin",
|
|
38550
38522
|
"module": "core/mixins.js"
|
|
38551
38523
|
}
|
|
38552
38524
|
],
|
|
38553
38525
|
"superclass": {
|
|
38554
|
-
"name": "
|
|
38526
|
+
"name": "SbbLinkBaseElement",
|
|
38555
38527
|
"module": "core/base-elements.js"
|
|
38556
38528
|
},
|
|
38557
|
-
"tagName": "sbb-accent-button",
|
|
38529
|
+
"tagName": "sbb-accent-button-link",
|
|
38558
38530
|
"customElement": true,
|
|
38559
38531
|
"attributes": [
|
|
38560
38532
|
{
|
|
@@ -38636,53 +38608,81 @@
|
|
|
38636
38608
|
}
|
|
38637
38609
|
},
|
|
38638
38610
|
{
|
|
38639
|
-
"name": "
|
|
38611
|
+
"name": "href",
|
|
38640
38612
|
"type": {
|
|
38641
38613
|
"text": "string"
|
|
38642
38614
|
},
|
|
38643
38615
|
"default": "''",
|
|
38644
|
-
"description": "
|
|
38645
|
-
"fieldName": "
|
|
38616
|
+
"description": "The href value you want to link to.",
|
|
38617
|
+
"fieldName": "href",
|
|
38646
38618
|
"inheritedFrom": {
|
|
38647
|
-
"name": "
|
|
38648
|
-
"module": "core/base-elements/
|
|
38619
|
+
"name": "SbbLinkBaseElement",
|
|
38620
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38649
38621
|
}
|
|
38650
38622
|
},
|
|
38651
38623
|
{
|
|
38652
|
-
"name": "
|
|
38653
|
-
"description": "The type attribute to use for the button.",
|
|
38654
|
-
"default": "'button'",
|
|
38624
|
+
"name": "target",
|
|
38655
38625
|
"type": {
|
|
38656
|
-
"text": "
|
|
38626
|
+
"text": "LinkTargetType | string"
|
|
38657
38627
|
},
|
|
38658
|
-
"
|
|
38628
|
+
"default": "''",
|
|
38629
|
+
"description": "Where to display the linked URL.",
|
|
38630
|
+
"fieldName": "target",
|
|
38659
38631
|
"inheritedFrom": {
|
|
38660
|
-
"name": "
|
|
38661
|
-
"module": "core/base-elements/
|
|
38632
|
+
"name": "SbbLinkBaseElement",
|
|
38633
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38662
38634
|
}
|
|
38663
38635
|
},
|
|
38664
38636
|
{
|
|
38665
|
-
"name": "
|
|
38666
|
-
"description": "The `<form>` element to associate the button with.",
|
|
38637
|
+
"name": "rel",
|
|
38667
38638
|
"type": {
|
|
38668
|
-
"text": "
|
|
38639
|
+
"text": "string"
|
|
38669
38640
|
},
|
|
38670
|
-
"
|
|
38641
|
+
"default": "''",
|
|
38642
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38643
|
+
"fieldName": "rel",
|
|
38671
38644
|
"inheritedFrom": {
|
|
38672
|
-
"name": "
|
|
38673
|
-
"module": "core/base-elements/
|
|
38645
|
+
"name": "SbbLinkBaseElement",
|
|
38646
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38674
38647
|
}
|
|
38675
38648
|
},
|
|
38676
38649
|
{
|
|
38677
|
-
"name": "
|
|
38678
|
-
"
|
|
38650
|
+
"name": "download",
|
|
38651
|
+
"type": {
|
|
38652
|
+
"text": "boolean"
|
|
38653
|
+
},
|
|
38654
|
+
"default": "false",
|
|
38655
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
38656
|
+
"fieldName": "download",
|
|
38657
|
+
"inheritedFrom": {
|
|
38658
|
+
"name": "SbbLinkBaseElement",
|
|
38659
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38660
|
+
}
|
|
38661
|
+
},
|
|
38662
|
+
{
|
|
38663
|
+
"name": "accessibility-label",
|
|
38679
38664
|
"type": {
|
|
38680
38665
|
"text": "string"
|
|
38681
38666
|
},
|
|
38682
|
-
"
|
|
38667
|
+
"default": "''",
|
|
38668
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38669
|
+
"fieldName": "accessibilityLabel",
|
|
38683
38670
|
"inheritedFrom": {
|
|
38684
|
-
"name": "
|
|
38685
|
-
"module": "core/
|
|
38671
|
+
"name": "SbbLinkBaseElement",
|
|
38672
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38673
|
+
}
|
|
38674
|
+
},
|
|
38675
|
+
{
|
|
38676
|
+
"name": "accessibility-current",
|
|
38677
|
+
"type": {
|
|
38678
|
+
"text": "string"
|
|
38679
|
+
},
|
|
38680
|
+
"default": "''",
|
|
38681
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38682
|
+
"fieldName": "accessibilityCurrent",
|
|
38683
|
+
"inheritedFrom": {
|
|
38684
|
+
"name": "SbbLinkBaseElement",
|
|
38685
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38686
38686
|
}
|
|
38687
38687
|
}
|
|
38688
38688
|
]
|
|
@@ -38691,10 +38691,10 @@
|
|
|
38691
38691
|
"exports": [
|
|
38692
38692
|
{
|
|
38693
38693
|
"kind": "js",
|
|
38694
|
-
"name": "
|
|
38694
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38695
38695
|
"declaration": {
|
|
38696
|
-
"name": "
|
|
38697
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
38696
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38697
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
38698
38698
|
}
|
|
38699
38699
|
}
|
|
38700
38700
|
]
|
|
@@ -100752,440 +100752,6 @@
|
|
|
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
|
-
},
|
|
101189
100755
|
{
|
|
101190
100756
|
"kind": "javascript-module",
|
|
101191
100757
|
"path": "link/block-link-button/block-link-button.component.js",
|
|
@@ -102176,6 +101742,440 @@
|
|
|
102176
101742
|
}
|
|
102177
101743
|
]
|
|
102178
101744
|
},
|
|
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,6 +105728,546 @@
|
|
|
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
|
+
},
|
|
105731
106271
|
{
|
|
105732
106272
|
"kind": "javascript-module",
|
|
105733
106273
|
"path": "menu/menu/menu.component.js",
|
|
@@ -106057,630 +106597,232 @@
|
|
|
106057
106597
|
"privacy": "private"
|
|
106058
106598
|
},
|
|
106059
106599
|
{
|
|
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"
|
|
106600
|
+
"kind": "method",
|
|
106601
|
+
"name": "_nestedMenus",
|
|
106602
|
+
"privacy": "private",
|
|
106603
|
+
"return": {
|
|
106604
|
+
"type": {
|
|
106605
|
+
"text": "SbbMenuElement[]"
|
|
106606
|
+
}
|
|
106427
106607
|
},
|
|
106428
|
-
"description": "
|
|
106429
|
-
"inheritedFrom": {
|
|
106430
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106431
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106432
|
-
}
|
|
106608
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106433
106609
|
},
|
|
106434
106610
|
{
|
|
106435
|
-
"
|
|
106436
|
-
"
|
|
106437
|
-
|
|
106438
|
-
|
|
106439
|
-
|
|
106440
|
-
|
|
106441
|
-
|
|
106442
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106611
|
+
"kind": "method",
|
|
106612
|
+
"name": "_parentMenu",
|
|
106613
|
+
"privacy": "private",
|
|
106614
|
+
"return": {
|
|
106615
|
+
"type": {
|
|
106616
|
+
"text": "SbbMenuElement | null"
|
|
106617
|
+
}
|
|
106443
106618
|
}
|
|
106444
106619
|
},
|
|
106445
106620
|
{
|
|
106446
|
-
"
|
|
106447
|
-
"
|
|
106448
|
-
|
|
106621
|
+
"kind": "method",
|
|
106622
|
+
"name": "_mainMenu",
|
|
106623
|
+
"privacy": "private",
|
|
106624
|
+
"return": {
|
|
106625
|
+
"type": {
|
|
106626
|
+
"text": "SbbMenuElement"
|
|
106627
|
+
}
|
|
106449
106628
|
},
|
|
106450
|
-
"description": "
|
|
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"
|
|
106629
|
+
"description": "The outermost menu."
|
|
106482
106630
|
},
|
|
106483
106631
|
{
|
|
106484
|
-
"
|
|
106485
|
-
"
|
|
106486
|
-
|
|
106487
|
-
|
|
106488
|
-
|
|
106489
|
-
|
|
106490
|
-
|
|
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"
|
|
106632
|
+
"kind": "method",
|
|
106633
|
+
"name": "_isNested",
|
|
106634
|
+
"privacy": "private",
|
|
106635
|
+
"return": {
|
|
106636
|
+
"type": {
|
|
106637
|
+
"text": "boolean"
|
|
106638
|
+
}
|
|
106504
106639
|
}
|
|
106505
106640
|
},
|
|
106506
106641
|
{
|
|
106507
|
-
"
|
|
106508
|
-
"
|
|
106509
|
-
"
|
|
106510
|
-
"
|
|
106511
|
-
"
|
|
106512
|
-
|
|
106513
|
-
|
|
106514
|
-
"inheritedFrom": {
|
|
106515
|
-
"name": "SbbDisabledMixin",
|
|
106516
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106642
|
+
"kind": "method",
|
|
106643
|
+
"name": "_updateNestedInert",
|
|
106644
|
+
"privacy": "private",
|
|
106645
|
+
"return": {
|
|
106646
|
+
"type": {
|
|
106647
|
+
"text": "void"
|
|
106648
|
+
}
|
|
106517
106649
|
}
|
|
106518
|
-
}
|
|
106519
|
-
],
|
|
106520
|
-
"members": [
|
|
106650
|
+
},
|
|
106521
106651
|
{
|
|
106522
|
-
"kind": "
|
|
106523
|
-
"name": "
|
|
106524
|
-
"
|
|
106525
|
-
|
|
106652
|
+
"kind": "method",
|
|
106653
|
+
"name": "_handleMouseOver",
|
|
106654
|
+
"privacy": "private",
|
|
106655
|
+
"return": {
|
|
106656
|
+
"type": {
|
|
106657
|
+
"text": "void"
|
|
106658
|
+
}
|
|
106526
106659
|
},
|
|
106527
|
-
"
|
|
106528
|
-
|
|
106529
|
-
|
|
106530
|
-
|
|
106531
|
-
|
|
106532
|
-
|
|
106533
|
-
|
|
106534
|
-
|
|
106660
|
+
"parameters": [
|
|
106661
|
+
{
|
|
106662
|
+
"name": "event",
|
|
106663
|
+
"type": {
|
|
106664
|
+
"text": "MouseEvent"
|
|
106665
|
+
}
|
|
106666
|
+
}
|
|
106667
|
+
]
|
|
106535
106668
|
},
|
|
106536
106669
|
{
|
|
106537
106670
|
"kind": "method",
|
|
106538
|
-
"name": "
|
|
106539
|
-
"privacy": "
|
|
106671
|
+
"name": "_onMenuAnimationEnd",
|
|
106672
|
+
"privacy": "private",
|
|
106540
106673
|
"return": {
|
|
106541
106674
|
"type": {
|
|
106542
|
-
"text": "
|
|
106675
|
+
"text": "void"
|
|
106543
106676
|
}
|
|
106544
106677
|
},
|
|
106545
106678
|
"parameters": [
|
|
106546
106679
|
{
|
|
106547
|
-
"name": "
|
|
106548
|
-
"optional": true,
|
|
106680
|
+
"name": "event",
|
|
106549
106681
|
"type": {
|
|
106550
|
-
"text": "
|
|
106682
|
+
"text": "AnimationEvent"
|
|
106551
106683
|
}
|
|
106552
106684
|
}
|
|
106553
|
-
]
|
|
106554
|
-
|
|
106555
|
-
|
|
106556
|
-
|
|
106685
|
+
]
|
|
106686
|
+
},
|
|
106687
|
+
{
|
|
106688
|
+
"kind": "method",
|
|
106689
|
+
"name": "_setMenuPosition",
|
|
106690
|
+
"privacy": "private",
|
|
106691
|
+
"return": {
|
|
106692
|
+
"type": {
|
|
106693
|
+
"text": "void"
|
|
106694
|
+
}
|
|
106557
106695
|
}
|
|
106558
106696
|
},
|
|
106559
106697
|
{
|
|
106560
106698
|
"kind": "method",
|
|
106561
|
-
"name": "
|
|
106562
|
-
"privacy": "
|
|
106699
|
+
"name": "_syncNegative",
|
|
106700
|
+
"privacy": "private",
|
|
106563
106701
|
"return": {
|
|
106564
106702
|
"type": {
|
|
106565
|
-
"text": "
|
|
106703
|
+
"text": "void"
|
|
106566
106704
|
}
|
|
106567
|
-
},
|
|
106568
|
-
"inheritedFrom": {
|
|
106569
|
-
"name": "SbbIconNameMixin",
|
|
106570
|
-
"module": "icon/icon-name-mixin.js"
|
|
106571
106705
|
}
|
|
106572
106706
|
},
|
|
106573
106707
|
{
|
|
106574
106708
|
"kind": "method",
|
|
106575
|
-
"name": "
|
|
106709
|
+
"name": "_isMobile",
|
|
106576
106710
|
"privacy": "private",
|
|
106577
106711
|
"return": {
|
|
106578
106712
|
"type": {
|
|
106579
|
-
"text": "
|
|
106713
|
+
"text": "boolean"
|
|
106580
106714
|
}
|
|
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 }"
|
|
106581
106726
|
},
|
|
106582
106727
|
"inheritedFrom": {
|
|
106583
|
-
"name": "
|
|
106584
|
-
"module": "
|
|
106728
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106729
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106585
106730
|
}
|
|
106586
106731
|
},
|
|
106587
106732
|
{
|
|
106588
106733
|
"kind": "field",
|
|
106589
|
-
"name": "
|
|
106590
|
-
"privacy": "
|
|
106591
|
-
"description": "
|
|
106592
|
-
"default": "false",
|
|
106734
|
+
"name": "state",
|
|
106735
|
+
"privacy": "protected",
|
|
106736
|
+
"description": "The state of the component.",
|
|
106593
106737
|
"type": {
|
|
106594
|
-
"text": "
|
|
106738
|
+
"text": "SbbOpenedClosedState"
|
|
106595
106739
|
},
|
|
106596
|
-
"
|
|
106597
|
-
"reflects": true,
|
|
106740
|
+
"default": "'closed'",
|
|
106598
106741
|
"inheritedFrom": {
|
|
106599
|
-
"name": "
|
|
106600
|
-
"module": "core/
|
|
106742
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106743
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106601
106744
|
}
|
|
106602
106745
|
},
|
|
106603
106746
|
{
|
|
106604
106747
|
"kind": "field",
|
|
106605
|
-
"name": "
|
|
106748
|
+
"name": "_state",
|
|
106749
|
+
"type": {
|
|
106750
|
+
"text": "SbbOpenedClosedState"
|
|
106751
|
+
},
|
|
106606
106752
|
"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",
|
|
106607
106761
|
"type": {
|
|
106608
106762
|
"text": "boolean"
|
|
106609
106763
|
},
|
|
106610
|
-
"
|
|
106764
|
+
"privacy": "public",
|
|
106765
|
+
"description": "Whether the element is open.",
|
|
106766
|
+
"readonly": true,
|
|
106611
106767
|
"inheritedFrom": {
|
|
106612
|
-
"name": "
|
|
106613
|
-
"module": "core/
|
|
106768
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106769
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106614
106770
|
}
|
|
106615
106771
|
},
|
|
106616
106772
|
{
|
|
106617
106773
|
"kind": "method",
|
|
106618
|
-
"name": "
|
|
106774
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106619
106775
|
"privacy": "protected",
|
|
106620
106776
|
"return": {
|
|
106621
106777
|
"type": {
|
|
106622
106778
|
"text": "boolean"
|
|
106623
106779
|
}
|
|
106624
106780
|
},
|
|
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.",
|
|
106626
106781
|
"inheritedFrom": {
|
|
106627
|
-
"name": "
|
|
106628
|
-
"module": "core/
|
|
106782
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106783
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106629
106784
|
}
|
|
106630
106785
|
},
|
|
106631
106786
|
{
|
|
106632
|
-
"kind": "
|
|
106633
|
-
"name": "
|
|
106634
|
-
"type": {
|
|
106635
|
-
"text": "boolean | undefined"
|
|
106636
|
-
},
|
|
106787
|
+
"kind": "method",
|
|
106788
|
+
"name": "dispatchOpenEvent",
|
|
106637
106789
|
"privacy": "protected",
|
|
106638
|
-
"
|
|
106639
|
-
|
|
106640
|
-
|
|
106641
|
-
|
|
106642
|
-
}
|
|
106643
|
-
},
|
|
106644
|
-
{
|
|
106645
|
-
"kind": "field",
|
|
106646
|
-
"name": "maybeDisabledInteractive",
|
|
106647
|
-
"type": {
|
|
106648
|
-
"text": "boolean | undefined"
|
|
106790
|
+
"return": {
|
|
106791
|
+
"type": {
|
|
106792
|
+
"text": "boolean"
|
|
106793
|
+
}
|
|
106649
106794
|
},
|
|
106650
|
-
"privacy": "protected",
|
|
106651
|
-
"readonly": true,
|
|
106652
106795
|
"inheritedFrom": {
|
|
106653
|
-
"name": "
|
|
106654
|
-
"module": "core/base-elements/
|
|
106796
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106797
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106655
106798
|
}
|
|
106656
106799
|
},
|
|
106657
106800
|
{
|
|
106658
106801
|
"kind": "method",
|
|
106659
|
-
"name": "
|
|
106802
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106660
106803
|
"privacy": "protected",
|
|
106661
106804
|
"return": {
|
|
106662
106805
|
"type": {
|
|
106663
|
-
"text": "
|
|
106806
|
+
"text": "boolean"
|
|
106664
106807
|
}
|
|
106665
106808
|
},
|
|
106666
106809
|
"inheritedFrom": {
|
|
106667
|
-
"name": "
|
|
106668
|
-
"module": "core/base-elements/
|
|
106810
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106811
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106669
106812
|
}
|
|
106670
106813
|
},
|
|
106671
106814
|
{
|
|
106672
106815
|
"kind": "method",
|
|
106673
|
-
"name": "
|
|
106816
|
+
"name": "dispatchCloseEvent",
|
|
106674
106817
|
"privacy": "protected",
|
|
106675
106818
|
"return": {
|
|
106676
106819
|
"type": {
|
|
106677
|
-
"text": "
|
|
106820
|
+
"text": "boolean"
|
|
106678
106821
|
}
|
|
106679
106822
|
},
|
|
106680
|
-
"description": "Override this method to render the component template.",
|
|
106681
106823
|
"inheritedFrom": {
|
|
106682
|
-
"name": "
|
|
106683
|
-
"module": "core/base-elements/
|
|
106824
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106825
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106684
106826
|
}
|
|
106685
106827
|
},
|
|
106686
106828
|
{
|
|
@@ -106776,20 +106918,6 @@
|
|
|
106776
106918
|
"module": "core/base-elements/element.js"
|
|
106777
106919
|
}
|
|
106778
106920
|
},
|
|
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
|
-
},
|
|
106793
106921
|
{
|
|
106794
106922
|
"kind": "field",
|
|
106795
106923
|
"name": "_controllers",
|
|
@@ -106802,187 +106930,67 @@
|
|
|
106802
106930
|
"module": "core/base-elements/element.js"
|
|
106803
106931
|
}
|
|
106804
106932
|
}
|
|
106805
|
-
]
|
|
106806
|
-
|
|
106807
|
-
{
|
|
106808
|
-
"kind": "mixin",
|
|
106809
|
-
"description": "",
|
|
106810
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106811
|
-
"members": [
|
|
106812
|
-
{
|
|
106813
|
-
"kind": "field",
|
|
106814
|
-
"name": "styles",
|
|
106815
|
-
"type": {
|
|
106816
|
-
"text": "CSSResultGroup"
|
|
106817
|
-
},
|
|
106818
|
-
"privacy": "public",
|
|
106819
|
-
"static": true,
|
|
106820
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106821
|
-
},
|
|
106822
|
-
{
|
|
106823
|
-
"kind": "method",
|
|
106824
|
-
"name": "renderTemplate",
|
|
106825
|
-
"privacy": "protected",
|
|
106826
|
-
"return": {
|
|
106827
|
-
"type": {
|
|
106828
|
-
"text": "TemplateResult"
|
|
106829
|
-
}
|
|
106830
|
-
}
|
|
106831
|
-
},
|
|
106933
|
+
],
|
|
106934
|
+
"attributes": [
|
|
106832
106935
|
{
|
|
106833
|
-
"
|
|
106834
|
-
"name": "iconName",
|
|
106936
|
+
"name": "trigger",
|
|
106835
106937
|
"type": {
|
|
106836
|
-
"text": "
|
|
106837
|
-
},
|
|
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",
|
|
106842
|
-
"inheritedFrom": {
|
|
106843
|
-
"name": "SbbIconNameMixin",
|
|
106844
|
-
"module": "icon/icon-name-mixin.js"
|
|
106845
|
-
}
|
|
106846
|
-
},
|
|
106847
|
-
{
|
|
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
|
-
}
|
|
106938
|
+
"text": "HTMLElement | null"
|
|
106892
106939
|
},
|
|
106893
|
-
"
|
|
106894
|
-
|
|
106895
|
-
|
|
106896
|
-
|
|
106897
|
-
|
|
106940
|
+
"default": "null",
|
|
106941
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106942
|
+
"fieldName": "trigger"
|
|
106943
|
+
}
|
|
106944
|
+
],
|
|
106945
|
+
"superclass": {
|
|
106946
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106947
|
+
"module": "core/base-elements.js"
|
|
106948
|
+
},
|
|
106949
|
+
"tagName": "sbb-menu",
|
|
106950
|
+
"customElement": true,
|
|
106951
|
+
"events": [
|
|
106898
106952
|
{
|
|
106899
|
-
"
|
|
106900
|
-
"name": "disabled",
|
|
106901
|
-
"privacy": "public",
|
|
106902
|
-
"description": "Whether the component is disabled.",
|
|
106903
|
-
"default": "false",
|
|
106953
|
+
"name": "beforeopen",
|
|
106904
106954
|
"type": {
|
|
106905
|
-
"text": "
|
|
106955
|
+
"text": "Event"
|
|
106906
106956
|
},
|
|
106907
|
-
"
|
|
106908
|
-
"reflects": true,
|
|
106957
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
106909
106958
|
"inheritedFrom": {
|
|
106910
|
-
"name": "
|
|
106911
|
-
"module": "core/
|
|
106959
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106960
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106912
106961
|
}
|
|
106913
106962
|
},
|
|
106914
106963
|
{
|
|
106915
|
-
"
|
|
106916
|
-
"name": "#disabled",
|
|
106917
|
-
"privacy": "private",
|
|
106964
|
+
"name": "open",
|
|
106918
106965
|
"type": {
|
|
106919
|
-
"text": "
|
|
106920
|
-
},
|
|
106921
|
-
"default": "false",
|
|
106922
|
-
"inheritedFrom": {
|
|
106923
|
-
"name": "SbbDisabledMixin",
|
|
106924
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106925
|
-
}
|
|
106926
|
-
},
|
|
106927
|
-
{
|
|
106928
|
-
"kind": "method",
|
|
106929
|
-
"name": "isDisabledExternally",
|
|
106930
|
-
"privacy": "protected",
|
|
106931
|
-
"return": {
|
|
106932
|
-
"type": {
|
|
106933
|
-
"text": "boolean"
|
|
106934
|
-
}
|
|
106966
|
+
"text": "Event"
|
|
106935
106967
|
},
|
|
106936
|
-
"description": "
|
|
106968
|
+
"description": "Emits whenever the component is opened.",
|
|
106937
106969
|
"inheritedFrom": {
|
|
106938
|
-
"name": "
|
|
106939
|
-
"module": "core/
|
|
106970
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106971
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106940
106972
|
}
|
|
106941
|
-
}
|
|
106942
|
-
],
|
|
106943
|
-
"mixins": [
|
|
106944
|
-
{
|
|
106945
|
-
"name": "SbbIconNameMixin",
|
|
106946
|
-
"module": "icon.js"
|
|
106947
106973
|
},
|
|
106948
106974
|
{
|
|
106949
|
-
"name": "
|
|
106950
|
-
"module": "core/mixins.js"
|
|
106951
|
-
}
|
|
106952
|
-
],
|
|
106953
|
-
"parameters": [
|
|
106954
|
-
{
|
|
106955
|
-
"name": "superClass",
|
|
106956
|
-
"type": {
|
|
106957
|
-
"text": "T"
|
|
106958
|
-
}
|
|
106959
|
-
}
|
|
106960
|
-
],
|
|
106961
|
-
"attributes": [
|
|
106962
|
-
{
|
|
106963
|
-
"name": "icon-name",
|
|
106975
|
+
"name": "beforeclose",
|
|
106964
106976
|
"type": {
|
|
106965
|
-
"text": "
|
|
106977
|
+
"text": "Event"
|
|
106966
106978
|
},
|
|
106967
|
-
"
|
|
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",
|
|
106979
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
106970
106980
|
"inheritedFrom": {
|
|
106971
|
-
"name": "
|
|
106972
|
-
"module": "
|
|
106981
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106982
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106973
106983
|
}
|
|
106974
106984
|
},
|
|
106975
106985
|
{
|
|
106976
|
-
"name": "
|
|
106977
|
-
"description": "Whether the component is disabled.",
|
|
106978
|
-
"default": "false",
|
|
106986
|
+
"name": "close",
|
|
106979
106987
|
"type": {
|
|
106980
|
-
"text": "
|
|
106988
|
+
"text": "Event"
|
|
106981
106989
|
},
|
|
106982
|
-
"
|
|
106990
|
+
"description": "Emits whenever the component is closed.",
|
|
106983
106991
|
"inheritedFrom": {
|
|
106984
|
-
"name": "
|
|
106985
|
-
"module": "core/
|
|
106992
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106993
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106986
106994
|
}
|
|
106987
106995
|
}
|
|
106988
106996
|
]
|
|
@@ -106991,18 +106999,10 @@
|
|
|
106991
106999
|
"exports": [
|
|
106992
107000
|
{
|
|
106993
107001
|
"kind": "js",
|
|
106994
|
-
"name": "
|
|
106995
|
-
"declaration": {
|
|
106996
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
106997
|
-
"module": "menu/common/menu-action-common.js"
|
|
106998
|
-
}
|
|
106999
|
-
},
|
|
107000
|
-
{
|
|
107001
|
-
"kind": "js",
|
|
107002
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
107002
|
+
"name": "SbbMenuElement",
|
|
107003
107003
|
"declaration": {
|
|
107004
|
-
"name": "
|
|
107005
|
-
"module": "menu/
|
|
107004
|
+
"name": "SbbMenuElement",
|
|
107005
|
+
"module": "menu/menu/menu.component.js"
|
|
107006
107006
|
}
|
|
107007
107007
|
}
|
|
107008
107008
|
]
|