@sbb-esta/lyne-elements-dev 4.9.0-dev.1775178304 → 4.9.0-dev.1775234804

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.
Files changed (2) hide show
  1. package/custom-elements.json +561 -561
  2. package/package.json +2 -2
@@ -124974,24 +124974,16 @@
124974
124974
  },
124975
124975
  {
124976
124976
  "kind": "javascript-module",
124977
- "path": "tabs/tab-label/tab-label.component.js",
124977
+ "path": "tabs/tab-group/tab-group.component.js",
124978
124978
  "declarations": [
124979
124979
  {
124980
124980
  "kind": "class",
124981
- "description": "Combined with a `sbb-tab-group`, it displays a tab's title.",
124982
- "name": "SbbTabLabelElement",
124981
+ "description": "It displays one or more tabs, each one with a label and some content.",
124982
+ "name": "SbbTabGroupElement",
124983
124983
  "slots": [
124984
124984
  {
124985
- "description": "Use the unnamed slot to add content to the tab title.",
124985
+ "description": "Use the unnamed slot to add content to the `sbb-tab-group` via `sbb-tab-label` and `sbb-tab` instances.",
124986
124986
  "name": ""
124987
- },
124988
- {
124989
- "description": "Use this slot to display an icon to the left of the title, by providing the `sbb-icon` component.",
124990
- "name": "icon"
124991
- },
124992
- {
124993
- "description": "Provide a number to show an amount to the right of the title.",
124994
- "name": "amount"
124995
124987
  }
124996
124988
  ],
124997
124989
  "members": [
@@ -125004,7 +124996,7 @@
125004
124996
  "privacy": "public",
125005
124997
  "static": true,
125006
124998
  "readonly": true,
125007
- "default": "'sbb-tab-label'",
124999
+ "default": "'sbb-tab-group'",
125008
125000
  "inheritedFrom": {
125009
125001
  "name": "SbbElement",
125010
125002
  "module": "core/base-elements/element.js"
@@ -125012,219 +125004,210 @@
125012
125004
  },
125013
125005
  {
125014
125006
  "kind": "field",
125015
- "name": "role",
125016
- "type": {
125017
- "text": "string"
125018
- },
125007
+ "name": "events",
125019
125008
  "privacy": "public",
125020
125009
  "static": true,
125021
- "default": "'tab'"
125010
+ "readonly": true,
125011
+ "default": "{ tabchange: 'tabchange', }",
125012
+ "type": {
125013
+ "text": "{\n tabchange: 'tabchange',\n }"
125014
+ }
125022
125015
  },
125023
125016
  {
125024
125017
  "kind": "field",
125025
- "name": "_selected",
125018
+ "name": "_tabGroupElement",
125026
125019
  "type": {
125027
- "text": "boolean"
125020
+ "text": "HTMLElement"
125028
125021
  },
125029
- "privacy": "private",
125030
- "default": "false",
125031
- "description": "Whether the tab is selected."
125022
+ "privacy": "private"
125032
125023
  },
125033
125024
  {
125034
125025
  "kind": "field",
125035
- "name": "_previousSize",
125036
- "type": {
125037
- "text": "SbbTabGroupElement['size'] | null"
125038
- },
125026
+ "name": "_tabGroupResizeObserver",
125039
125027
  "privacy": "private",
125040
- "default": "null"
125028
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabGroupElementResize(), })"
125041
125029
  },
125042
125030
  {
125043
125031
  "kind": "field",
125044
- "name": "level",
125032
+ "name": "size",
125045
125033
  "type": {
125046
- "text": "SbbTitleLevel"
125034
+ "text": "'s' | 'l' | 'xl'"
125047
125035
  },
125048
125036
  "privacy": "public",
125049
- "default": "'1'",
125050
- "description": "The level will correspond to the heading tag generated in the title.\nUse this property to generate the appropriate header tag, taking SEO into consideration.",
125051
- "attribute": "level"
125037
+ "description": "Size variant, either s, l or xl.",
125038
+ "default": "'l' / 's' (lean)",
125039
+ "attribute": "size"
125052
125040
  },
125053
125041
  {
125054
125042
  "kind": "field",
125055
- "name": "active",
125043
+ "name": "initialSelectedIndex",
125056
125044
  "type": {
125057
- "text": "boolean"
125045
+ "text": "number"
125058
125046
  },
125059
125047
  "privacy": "public",
125060
- "default": "false",
125061
- "description": "Active tab state.",
125062
- "attribute": "active",
125063
- "reflects": true
125048
+ "default": "0",
125049
+ "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
125050
+ "attribute": "initial-selected-index"
125064
125051
  },
125065
125052
  {
125066
125053
  "kind": "field",
125067
- "name": "amount",
125054
+ "name": "fixedHeight",
125068
125055
  "type": {
125069
- "text": "string"
125056
+ "text": "boolean"
125070
125057
  },
125071
125058
  "privacy": "public",
125072
- "default": "''",
125073
- "description": "Amount displayed inside the tab.",
125074
- "attribute": "amount",
125059
+ "default": "false",
125060
+ "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
125061
+ "attribute": "fixed-height",
125075
125062
  "reflects": true
125076
125063
  },
125077
125064
  {
125078
125065
  "kind": "field",
125079
- "name": "tab",
125066
+ "name": "labels",
125080
125067
  "type": {
125081
- "text": "SbbTabElement | null"
125068
+ "text": "SbbTabLabelElement[]"
125082
125069
  },
125083
125070
  "privacy": "public",
125084
- "description": "Get the `sbb-tab` related to the `sbb-tab-label`.",
125071
+ "description": "Gets the slotted `sbb-tab-label`s.",
125085
125072
  "readonly": true
125086
125073
  },
125087
125074
  {
125088
125075
  "kind": "field",
125089
- "name": "group",
125076
+ "name": "tabs",
125090
125077
  "type": {
125091
- "text": "SbbTabGroupElement | null"
125078
+ "text": "SbbTabElement[]"
125092
125079
  },
125093
125080
  "privacy": "public",
125094
- "description": "Get the parent `sbb-tab-group`.",
125081
+ "description": "Gets the slotted `sbb-tab`s.",
125095
125082
  "readonly": true
125096
125083
  },
125097
125084
  {
125098
125085
  "kind": "method",
125099
- "name": "deactivate",
125086
+ "name": "disableTab",
125100
125087
  "privacy": "public",
125101
125088
  "return": {
125102
125089
  "type": {
125103
125090
  "text": "void"
125104
125091
  }
125105
125092
  },
125106
- "description": "Deactivate the tab."
125093
+ "parameters": [
125094
+ {
125095
+ "name": "index",
125096
+ "type": {
125097
+ "text": "number"
125098
+ },
125099
+ "description": "The index of the tab you want to disable."
125100
+ }
125101
+ ],
125102
+ "description": "Disables a tab by index."
125107
125103
  },
125108
125104
  {
125109
125105
  "kind": "method",
125110
- "name": "activate",
125106
+ "name": "enableTab",
125111
125107
  "privacy": "public",
125112
125108
  "return": {
125113
125109
  "type": {
125114
125110
  "text": "void"
125115
125111
  }
125116
125112
  },
125117
- "description": "Select the tab, deactivating the current selected one, and dispatch the tabchange event."
125113
+ "parameters": [
125114
+ {
125115
+ "name": "index",
125116
+ "type": {
125117
+ "text": "number"
125118
+ },
125119
+ "description": "The index of the tab you want to enable."
125120
+ }
125121
+ ],
125122
+ "description": "Enables a tab by index."
125118
125123
  },
125119
125124
  {
125120
- "kind": "field",
125121
- "name": "disabled",
125125
+ "kind": "method",
125126
+ "name": "activateTab",
125122
125127
  "privacy": "public",
125123
- "description": "Whether the component is disabled.",
125124
- "default": "false",
125125
- "type": {
125126
- "text": "boolean"
125127
- },
125128
- "attribute": "disabled",
125129
- "reflects": true,
125130
- "inheritedFrom": {
125131
- "name": "SbbDisabledMixin",
125132
- "module": "core/mixins/disabled-mixin.js"
125133
- }
125134
- },
125135
- {
125136
- "kind": "field",
125137
- "name": "#disabled",
125138
- "privacy": "private",
125139
- "type": {
125140
- "text": "boolean"
125128
+ "return": {
125129
+ "type": {
125130
+ "text": "void"
125131
+ }
125141
125132
  },
125142
- "default": "false",
125143
- "inheritedFrom": {
125144
- "name": "SbbDisabledMixin",
125145
- "module": "core/mixins/disabled-mixin.js"
125146
- }
125133
+ "parameters": [
125134
+ {
125135
+ "name": "index",
125136
+ "type": {
125137
+ "text": "number"
125138
+ },
125139
+ "description": "The index of the tab you want to activate."
125140
+ }
125141
+ ],
125142
+ "description": "Activates a tab by index."
125147
125143
  },
125148
125144
  {
125149
125145
  "kind": "method",
125150
- "name": "isDisabledExternally",
125151
- "privacy": "protected",
125146
+ "name": "_enabledTabs",
125147
+ "privacy": "private",
125152
125148
  "return": {
125153
125149
  "type": {
125154
- "text": "boolean"
125150
+ "text": "SbbTabLabelElement[]"
125155
125151
  }
125156
- },
125157
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
125158
- "inheritedFrom": {
125159
- "name": "SbbDisabledMixin",
125160
- "module": "core/mixins/disabled-mixin.js"
125161
125152
  }
125162
125153
  },
125163
125154
  {
125164
125155
  "kind": "field",
125165
- "name": "iconName",
125166
- "type": {
125167
- "text": "string"
125168
- },
125169
- "privacy": "public",
125170
- "default": "''",
125171
- "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.",
125172
- "attribute": "icon-name",
125173
- "inheritedFrom": {
125174
- "name": "SbbIconNameMixin",
125175
- "module": "icon/icon-name-mixin.js"
125176
- }
125156
+ "name": "_onContentSlotChange",
125157
+ "privacy": "private"
125158
+ },
125159
+ {
125160
+ "kind": "field",
125161
+ "name": "_onLabelSlotChange",
125162
+ "privacy": "private"
125177
125163
  },
125178
125164
  {
125179
125165
  "kind": "method",
125180
- "name": "renderIconSlot",
125181
- "privacy": "protected",
125166
+ "name": "_ensureActiveTab",
125167
+ "privacy": "private",
125182
125168
  "return": {
125183
125169
  "type": {
125184
- "text": "TemplateResult"
125170
+ "text": "void"
125185
125171
  }
125186
- },
125187
- "parameters": [
125188
- {
125189
- "name": "classname",
125190
- "optional": true,
125191
- "type": {
125192
- "text": "string"
125193
- }
125172
+ }
125173
+ },
125174
+ {
125175
+ "kind": "method",
125176
+ "name": "_initSelection",
125177
+ "privacy": "private",
125178
+ "return": {
125179
+ "type": {
125180
+ "text": "void"
125194
125181
  }
125195
- ],
125196
- "inheritedFrom": {
125197
- "name": "SbbIconNameMixin",
125198
- "module": "icon/icon-name-mixin.js"
125199
125182
  }
125200
125183
  },
125201
125184
  {
125202
125185
  "kind": "method",
125203
- "name": "renderIconName",
125204
- "privacy": "protected",
125186
+ "name": "_onTabGroupElementResize",
125187
+ "privacy": "private",
125205
125188
  "return": {
125206
125189
  "type": {
125207
- "text": "string"
125190
+ "text": "void"
125208
125191
  }
125209
- },
125210
- "inheritedFrom": {
125211
- "name": "SbbIconNameMixin",
125212
- "module": "icon/icon-name-mixin.js"
125213
125192
  }
125214
125193
  },
125215
125194
  {
125216
125195
  "kind": "method",
125217
- "name": "_renderIconName",
125196
+ "name": "_handleKeyDown",
125218
125197
  "privacy": "private",
125219
125198
  "return": {
125220
125199
  "type": {
125221
- "text": "string"
125200
+ "text": "void"
125222
125201
  }
125223
125202
  },
125224
- "inheritedFrom": {
125225
- "name": "SbbIconNameMixin",
125226
- "module": "icon/icon-name-mixin.js"
125227
- }
125203
+ "parameters": [
125204
+ {
125205
+ "name": "evt",
125206
+ "type": {
125207
+ "text": "KeyboardEvent"
125208
+ }
125209
+ }
125210
+ ]
125228
125211
  },
125229
125212
  {
125230
125213
  "kind": "field",
@@ -125332,102 +125315,83 @@
125332
125315
  }
125333
125316
  }
125334
125317
  ],
125335
- "attributes": [
125318
+ "events": [
125336
125319
  {
125337
- "name": "level",
125338
125320
  "type": {
125339
- "text": "SbbTitleLevel"
125321
+ "text": "CustomEvent<SbbTabChangedEventDetails>"
125340
125322
  },
125341
- "default": "'1'",
125342
- "description": "The level will correspond to the heading tag generated in the title.\nUse this property to generate the appropriate header tag, taking SEO into consideration.",
125343
- "fieldName": "level"
125344
- },
125323
+ "description": "The tabchange event is dispatched when a tab is selected.",
125324
+ "name": "tabchange"
125325
+ }
125326
+ ],
125327
+ "attributes": [
125345
125328
  {
125346
- "name": "active",
125329
+ "name": "size",
125347
125330
  "type": {
125348
- "text": "boolean"
125331
+ "text": "'s' | 'l' | 'xl'"
125349
125332
  },
125350
- "default": "false",
125351
- "description": "Active tab state.",
125352
- "fieldName": "active"
125333
+ "description": "Size variant, either s, l or xl.",
125334
+ "default": "'l' / 's' (lean)",
125335
+ "fieldName": "size"
125353
125336
  },
125354
125337
  {
125355
- "name": "amount",
125338
+ "name": "initial-selected-index",
125356
125339
  "type": {
125357
- "text": "string"
125340
+ "text": "number"
125358
125341
  },
125359
- "default": "''",
125360
- "description": "Amount displayed inside the tab.",
125361
- "fieldName": "amount"
125342
+ "default": "0",
125343
+ "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
125344
+ "fieldName": "initialSelectedIndex"
125362
125345
  },
125363
125346
  {
125364
- "name": "disabled",
125365
- "description": "Whether the component is disabled.",
125366
- "default": "false",
125347
+ "name": "fixed-height",
125367
125348
  "type": {
125368
125349
  "text": "boolean"
125369
125350
  },
125370
- "fieldName": "disabled",
125371
- "inheritedFrom": {
125372
- "name": "SbbDisabledMixin",
125373
- "module": "core/mixins/disabled-mixin.js"
125374
- }
125375
- },
125376
- {
125377
- "name": "icon-name",
125378
- "type": {
125379
- "text": "string"
125380
- },
125381
- "default": "''",
125382
- "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.",
125383
- "fieldName": "iconName",
125384
- "inheritedFrom": {
125385
- "name": "SbbIconNameMixin",
125386
- "module": "icon/icon-name-mixin.js"
125387
- }
125388
- }
125389
- ],
125390
- "mixins": [
125391
- {
125392
- "name": "SbbDisabledMixin",
125393
- "module": "core/mixins.js"
125394
- },
125395
- {
125396
- "name": "SbbIconNameMixin",
125397
- "module": "icon.pure.js"
125351
+ "default": "false",
125352
+ "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
125353
+ "fieldName": "fixedHeight"
125398
125354
  }
125399
125355
  ],
125400
125356
  "superclass": {
125401
125357
  "name": "SbbElement",
125402
125358
  "module": "core/base-elements.js"
125403
125359
  },
125404
- "tagName": "sbb-tab-label",
125360
+ "tagName": "sbb-tab-group",
125405
125361
  "customElement": true
125406
125362
  }
125407
125363
  ],
125408
125364
  "exports": [
125409
125365
  {
125410
125366
  "kind": "js",
125411
- "name": "SbbTabLabelElement",
125367
+ "name": "SbbTabGroupElement",
125412
125368
  "declaration": {
125413
- "name": "SbbTabLabelElement",
125414
- "module": "tabs/tab-label/tab-label.component.js"
125369
+ "name": "SbbTabGroupElement",
125370
+ "module": "tabs/tab-group/tab-group.component.js"
125415
125371
  }
125416
125372
  }
125417
125373
  ]
125418
125374
  },
125419
125375
  {
125420
125376
  "kind": "javascript-module",
125421
- "path": "tabs/tab-group/tab-group.component.js",
125377
+ "path": "tabs/tab-label/tab-label.component.js",
125422
125378
  "declarations": [
125423
125379
  {
125424
125380
  "kind": "class",
125425
- "description": "It displays one or more tabs, each one with a label and some content.",
125426
- "name": "SbbTabGroupElement",
125381
+ "description": "Combined with a `sbb-tab-group`, it displays a tab's title.",
125382
+ "name": "SbbTabLabelElement",
125427
125383
  "slots": [
125428
125384
  {
125429
- "description": "Use the unnamed slot to add content to the `sbb-tab-group` via `sbb-tab-label` and `sbb-tab` instances.",
125385
+ "description": "Use the unnamed slot to add content to the tab title.",
125430
125386
  "name": ""
125387
+ },
125388
+ {
125389
+ "description": "Use this slot to display an icon to the left of the title, by providing the `sbb-icon` component.",
125390
+ "name": "icon"
125391
+ },
125392
+ {
125393
+ "description": "Provide a number to show an amount to the right of the title.",
125394
+ "name": "amount"
125431
125395
  }
125432
125396
  ],
125433
125397
  "members": [
@@ -125440,7 +125404,7 @@
125440
125404
  "privacy": "public",
125441
125405
  "static": true,
125442
125406
  "readonly": true,
125443
- "default": "'sbb-tab-group'",
125407
+ "default": "'sbb-tab-label'",
125444
125408
  "inheritedFrom": {
125445
125409
  "name": "SbbElement",
125446
125410
  "module": "core/base-elements/element.js"
@@ -125448,210 +125412,219 @@
125448
125412
  },
125449
125413
  {
125450
125414
  "kind": "field",
125451
- "name": "events",
125415
+ "name": "role",
125416
+ "type": {
125417
+ "text": "string"
125418
+ },
125452
125419
  "privacy": "public",
125453
125420
  "static": true,
125454
- "readonly": true,
125455
- "default": "{ tabchange: 'tabchange', }",
125456
- "type": {
125457
- "text": "{\n tabchange: 'tabchange',\n }"
125458
- }
125421
+ "default": "'tab'"
125459
125422
  },
125460
125423
  {
125461
125424
  "kind": "field",
125462
- "name": "_tabGroupElement",
125425
+ "name": "_selected",
125463
125426
  "type": {
125464
- "text": "HTMLElement"
125427
+ "text": "boolean"
125465
125428
  },
125466
- "privacy": "private"
125429
+ "privacy": "private",
125430
+ "default": "false",
125431
+ "description": "Whether the tab is selected."
125467
125432
  },
125468
125433
  {
125469
125434
  "kind": "field",
125470
- "name": "_tabGroupResizeObserver",
125435
+ "name": "_previousSize",
125436
+ "type": {
125437
+ "text": "SbbTabGroupElement['size'] | null"
125438
+ },
125471
125439
  "privacy": "private",
125472
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabGroupElementResize(), })"
125440
+ "default": "null"
125473
125441
  },
125474
125442
  {
125475
125443
  "kind": "field",
125476
- "name": "size",
125444
+ "name": "level",
125477
125445
  "type": {
125478
- "text": "'s' | 'l' | 'xl'"
125446
+ "text": "SbbTitleLevel"
125479
125447
  },
125480
125448
  "privacy": "public",
125481
- "description": "Size variant, either s, l or xl.",
125482
- "default": "'l' / 's' (lean)",
125483
- "attribute": "size"
125449
+ "default": "'1'",
125450
+ "description": "The level will correspond to the heading tag generated in the title.\nUse this property to generate the appropriate header tag, taking SEO into consideration.",
125451
+ "attribute": "level"
125484
125452
  },
125485
125453
  {
125486
125454
  "kind": "field",
125487
- "name": "initialSelectedIndex",
125455
+ "name": "active",
125488
125456
  "type": {
125489
- "text": "number"
125457
+ "text": "boolean"
125490
125458
  },
125491
125459
  "privacy": "public",
125492
- "default": "0",
125493
- "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
125494
- "attribute": "initial-selected-index"
125460
+ "default": "false",
125461
+ "description": "Active tab state.",
125462
+ "attribute": "active",
125463
+ "reflects": true
125495
125464
  },
125496
125465
  {
125497
125466
  "kind": "field",
125498
- "name": "fixedHeight",
125467
+ "name": "amount",
125499
125468
  "type": {
125500
- "text": "boolean"
125469
+ "text": "string"
125501
125470
  },
125502
125471
  "privacy": "public",
125503
- "default": "false",
125504
- "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
125505
- "attribute": "fixed-height",
125472
+ "default": "''",
125473
+ "description": "Amount displayed inside the tab.",
125474
+ "attribute": "amount",
125506
125475
  "reflects": true
125507
125476
  },
125508
125477
  {
125509
125478
  "kind": "field",
125510
- "name": "labels",
125479
+ "name": "tab",
125511
125480
  "type": {
125512
- "text": "SbbTabLabelElement[]"
125481
+ "text": "SbbTabElement | null"
125513
125482
  },
125514
125483
  "privacy": "public",
125515
- "description": "Gets the slotted `sbb-tab-label`s.",
125484
+ "description": "Get the `sbb-tab` related to the `sbb-tab-label`.",
125516
125485
  "readonly": true
125517
125486
  },
125518
125487
  {
125519
125488
  "kind": "field",
125520
- "name": "tabs",
125489
+ "name": "group",
125521
125490
  "type": {
125522
- "text": "SbbTabElement[]"
125491
+ "text": "SbbTabGroupElement | null"
125523
125492
  },
125524
125493
  "privacy": "public",
125525
- "description": "Gets the slotted `sbb-tab`s.",
125494
+ "description": "Get the parent `sbb-tab-group`.",
125526
125495
  "readonly": true
125527
125496
  },
125528
125497
  {
125529
125498
  "kind": "method",
125530
- "name": "disableTab",
125499
+ "name": "deactivate",
125531
125500
  "privacy": "public",
125532
125501
  "return": {
125533
125502
  "type": {
125534
125503
  "text": "void"
125535
125504
  }
125536
125505
  },
125537
- "parameters": [
125538
- {
125539
- "name": "index",
125540
- "type": {
125541
- "text": "number"
125542
- },
125543
- "description": "The index of the tab you want to disable."
125544
- }
125545
- ],
125546
- "description": "Disables a tab by index."
125506
+ "description": "Deactivate the tab."
125547
125507
  },
125548
125508
  {
125549
125509
  "kind": "method",
125550
- "name": "enableTab",
125510
+ "name": "activate",
125551
125511
  "privacy": "public",
125552
125512
  "return": {
125553
125513
  "type": {
125554
125514
  "text": "void"
125555
125515
  }
125556
125516
  },
125557
- "parameters": [
125558
- {
125559
- "name": "index",
125560
- "type": {
125561
- "text": "number"
125562
- },
125563
- "description": "The index of the tab you want to enable."
125564
- }
125565
- ],
125566
- "description": "Enables a tab by index."
125517
+ "description": "Select the tab, deactivating the current selected one, and dispatch the tabchange event."
125567
125518
  },
125568
125519
  {
125569
- "kind": "method",
125570
- "name": "activateTab",
125520
+ "kind": "field",
125521
+ "name": "disabled",
125571
125522
  "privacy": "public",
125572
- "return": {
125573
- "type": {
125574
- "text": "void"
125575
- }
125523
+ "description": "Whether the component is disabled.",
125524
+ "default": "false",
125525
+ "type": {
125526
+ "text": "boolean"
125576
125527
  },
125577
- "parameters": [
125578
- {
125579
- "name": "index",
125580
- "type": {
125581
- "text": "number"
125582
- },
125583
- "description": "The index of the tab you want to activate."
125584
- }
125585
- ],
125586
- "description": "Activates a tab by index."
125587
- },
125588
- {
125589
- "kind": "method",
125590
- "name": "_enabledTabs",
125591
- "privacy": "private",
125592
- "return": {
125593
- "type": {
125594
- "text": "SbbTabLabelElement[]"
125595
- }
125528
+ "attribute": "disabled",
125529
+ "reflects": true,
125530
+ "inheritedFrom": {
125531
+ "name": "SbbDisabledMixin",
125532
+ "module": "core/mixins/disabled-mixin.js"
125596
125533
  }
125597
125534
  },
125598
125535
  {
125599
125536
  "kind": "field",
125600
- "name": "_onContentSlotChange",
125601
- "privacy": "private"
125602
- },
125603
- {
125604
- "kind": "field",
125605
- "name": "_onLabelSlotChange",
125606
- "privacy": "private"
125537
+ "name": "#disabled",
125538
+ "privacy": "private",
125539
+ "type": {
125540
+ "text": "boolean"
125541
+ },
125542
+ "default": "false",
125543
+ "inheritedFrom": {
125544
+ "name": "SbbDisabledMixin",
125545
+ "module": "core/mixins/disabled-mixin.js"
125546
+ }
125607
125547
  },
125608
125548
  {
125609
125549
  "kind": "method",
125610
- "name": "_ensureActiveTab",
125611
- "privacy": "private",
125550
+ "name": "isDisabledExternally",
125551
+ "privacy": "protected",
125612
125552
  "return": {
125613
125553
  "type": {
125614
- "text": "void"
125554
+ "text": "boolean"
125615
125555
  }
125556
+ },
125557
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
125558
+ "inheritedFrom": {
125559
+ "name": "SbbDisabledMixin",
125560
+ "module": "core/mixins/disabled-mixin.js"
125561
+ }
125562
+ },
125563
+ {
125564
+ "kind": "field",
125565
+ "name": "iconName",
125566
+ "type": {
125567
+ "text": "string"
125568
+ },
125569
+ "privacy": "public",
125570
+ "default": "''",
125571
+ "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.",
125572
+ "attribute": "icon-name",
125573
+ "inheritedFrom": {
125574
+ "name": "SbbIconNameMixin",
125575
+ "module": "icon/icon-name-mixin.js"
125616
125576
  }
125617
125577
  },
125618
125578
  {
125619
125579
  "kind": "method",
125620
- "name": "_initSelection",
125621
- "privacy": "private",
125580
+ "name": "renderIconSlot",
125581
+ "privacy": "protected",
125622
125582
  "return": {
125623
125583
  "type": {
125624
- "text": "void"
125584
+ "text": "TemplateResult"
125625
125585
  }
125586
+ },
125587
+ "parameters": [
125588
+ {
125589
+ "name": "classname",
125590
+ "optional": true,
125591
+ "type": {
125592
+ "text": "string"
125593
+ }
125594
+ }
125595
+ ],
125596
+ "inheritedFrom": {
125597
+ "name": "SbbIconNameMixin",
125598
+ "module": "icon/icon-name-mixin.js"
125626
125599
  }
125627
125600
  },
125628
125601
  {
125629
125602
  "kind": "method",
125630
- "name": "_onTabGroupElementResize",
125631
- "privacy": "private",
125603
+ "name": "renderIconName",
125604
+ "privacy": "protected",
125632
125605
  "return": {
125633
125606
  "type": {
125634
- "text": "void"
125607
+ "text": "string"
125635
125608
  }
125609
+ },
125610
+ "inheritedFrom": {
125611
+ "name": "SbbIconNameMixin",
125612
+ "module": "icon/icon-name-mixin.js"
125636
125613
  }
125637
125614
  },
125638
125615
  {
125639
125616
  "kind": "method",
125640
- "name": "_handleKeyDown",
125617
+ "name": "_renderIconName",
125641
125618
  "privacy": "private",
125642
125619
  "return": {
125643
125620
  "type": {
125644
- "text": "void"
125621
+ "text": "string"
125645
125622
  }
125646
125623
  },
125647
- "parameters": [
125648
- {
125649
- "name": "evt",
125650
- "type": {
125651
- "text": "KeyboardEvent"
125652
- }
125653
- }
125654
- ]
125624
+ "inheritedFrom": {
125625
+ "name": "SbbIconNameMixin",
125626
+ "module": "icon/icon-name-mixin.js"
125627
+ }
125655
125628
  },
125656
125629
  {
125657
125630
  "kind": "field",
@@ -125759,59 +125732,86 @@
125759
125732
  }
125760
125733
  }
125761
125734
  ],
125762
- "events": [
125735
+ "attributes": [
125763
125736
  {
125737
+ "name": "level",
125764
125738
  "type": {
125765
- "text": "CustomEvent<SbbTabChangedEventDetails>"
125739
+ "text": "SbbTitleLevel"
125766
125740
  },
125767
- "description": "The tabchange event is dispatched when a tab is selected.",
125768
- "name": "tabchange"
125769
- }
125770
- ],
125771
- "attributes": [
125741
+ "default": "'1'",
125742
+ "description": "The level will correspond to the heading tag generated in the title.\nUse this property to generate the appropriate header tag, taking SEO into consideration.",
125743
+ "fieldName": "level"
125744
+ },
125772
125745
  {
125773
- "name": "size",
125746
+ "name": "active",
125774
125747
  "type": {
125775
- "text": "'s' | 'l' | 'xl'"
125748
+ "text": "boolean"
125776
125749
  },
125777
- "description": "Size variant, either s, l or xl.",
125778
- "default": "'l' / 's' (lean)",
125779
- "fieldName": "size"
125750
+ "default": "false",
125751
+ "description": "Active tab state.",
125752
+ "fieldName": "active"
125753
+ },
125754
+ {
125755
+ "name": "amount",
125756
+ "type": {
125757
+ "text": "string"
125758
+ },
125759
+ "default": "''",
125760
+ "description": "Amount displayed inside the tab.",
125761
+ "fieldName": "amount"
125762
+ },
125763
+ {
125764
+ "name": "disabled",
125765
+ "description": "Whether the component is disabled.",
125766
+ "default": "false",
125767
+ "type": {
125768
+ "text": "boolean"
125769
+ },
125770
+ "fieldName": "disabled",
125771
+ "inheritedFrom": {
125772
+ "name": "SbbDisabledMixin",
125773
+ "module": "core/mixins/disabled-mixin.js"
125774
+ }
125780
125775
  },
125781
125776
  {
125782
- "name": "initial-selected-index",
125783
- "type": {
125784
- "text": "number"
125785
- },
125786
- "default": "0",
125787
- "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
125788
- "fieldName": "initialSelectedIndex"
125777
+ "name": "icon-name",
125778
+ "type": {
125779
+ "text": "string"
125780
+ },
125781
+ "default": "''",
125782
+ "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.",
125783
+ "fieldName": "iconName",
125784
+ "inheritedFrom": {
125785
+ "name": "SbbIconNameMixin",
125786
+ "module": "icon/icon-name-mixin.js"
125787
+ }
125788
+ }
125789
+ ],
125790
+ "mixins": [
125791
+ {
125792
+ "name": "SbbDisabledMixin",
125793
+ "module": "core/mixins.js"
125789
125794
  },
125790
125795
  {
125791
- "name": "fixed-height",
125792
- "type": {
125793
- "text": "boolean"
125794
- },
125795
- "default": "false",
125796
- "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
125797
- "fieldName": "fixedHeight"
125796
+ "name": "SbbIconNameMixin",
125797
+ "module": "icon.pure.js"
125798
125798
  }
125799
125799
  ],
125800
125800
  "superclass": {
125801
125801
  "name": "SbbElement",
125802
125802
  "module": "core/base-elements.js"
125803
125803
  },
125804
- "tagName": "sbb-tab-group",
125804
+ "tagName": "sbb-tab-label",
125805
125805
  "customElement": true
125806
125806
  }
125807
125807
  ],
125808
125808
  "exports": [
125809
125809
  {
125810
125810
  "kind": "js",
125811
- "name": "SbbTabGroupElement",
125811
+ "name": "SbbTabLabelElement",
125812
125812
  "declaration": {
125813
- "name": "SbbTabGroupElement",
125814
- "module": "tabs/tab-group/tab-group.component.js"
125813
+ "name": "SbbTabLabelElement",
125814
+ "module": "tabs/tab-label/tab-label.component.js"
125815
125815
  }
125816
125816
  }
125817
125817
  ]
@@ -132382,247 +132382,45 @@
132382
132382
  "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
132383
132383
  "inheritedFrom": {
132384
132384
  "name": "SbbNamedSlotListMixin",
132385
- "module": "core/mixins/named-slot-list-mixin.js"
132386
- }
132387
- },
132388
- {
132389
- "kind": "method",
132390
- "name": "listSlotEntries",
132391
- "privacy": "protected",
132392
- "return": {
132393
- "type": {
132394
- "text": "SbbNamedSlotProperties[]"
132395
- }
132396
- },
132397
- "parameters": [
132398
- {
132399
- "name": "listItemAttributes",
132400
- "type": {
132401
- "text": "{\n localNameVisualOnly?: string[];\n }"
132402
- }
132403
- }
132404
- ],
132405
- "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
132406
- "inheritedFrom": {
132407
- "name": "SbbNamedSlotListMixin",
132408
- "module": "core/mixins/named-slot-list-mixin.js"
132409
- }
132410
- },
132411
- {
132412
- "kind": "method",
132413
- "name": "renderHiddenSlot",
132414
- "privacy": "protected",
132415
- "return": {
132416
- "type": {
132417
- "text": "TemplateResult"
132418
- }
132419
- },
132420
- "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
132421
- "inheritedFrom": {
132422
- "name": "SbbNamedSlotListMixin",
132423
- "module": "core/mixins/named-slot-list-mixin.js"
132424
- }
132425
- },
132426
- {
132427
- "kind": "field",
132428
- "name": "_hydrationRequired",
132429
- "type": {
132430
- "text": "boolean"
132431
- },
132432
- "privacy": "private",
132433
- "default": "!!this.shadowRoot",
132434
- "inheritedFrom": {
132435
- "name": "SbbElement",
132436
- "module": "core/base-elements/element.js"
132437
- }
132438
- },
132439
- {
132440
- "kind": "field",
132441
- "name": "_hydrationComplete",
132442
- "privacy": "private",
132443
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132444
- "inheritedFrom": {
132445
- "name": "SbbElement",
132446
- "module": "core/base-elements/element.js"
132447
- }
132448
- },
132449
- {
132450
- "kind": "field",
132451
- "name": "_resolveHydration",
132452
- "type": {
132453
- "text": "(hydrationRequired: boolean) => void"
132454
- },
132455
- "privacy": "private",
132456
- "inheritedFrom": {
132457
- "name": "SbbElement",
132458
- "module": "core/base-elements/element.js"
132459
- }
132460
- },
132461
- {
132462
- "kind": "field",
132463
- "name": "hydrationRequired",
132464
- "type": {
132465
- "text": "boolean"
132466
- },
132467
- "privacy": "protected",
132468
- "description": "Returns whether hydration is required and not completed.",
132469
- "readonly": true,
132470
- "inheritedFrom": {
132471
- "name": "SbbElement",
132472
- "module": "core/base-elements/element.js"
132473
- },
132474
- "default": "!!this.shadowRoot"
132475
- },
132476
- {
132477
- "kind": "method",
132478
- "name": "toggleState",
132479
- "privacy": "protected",
132480
- "return": {
132481
- "type": {
132482
- "text": "void"
132483
- }
132484
- },
132485
- "parameters": [
132486
- {
132487
- "name": "value",
132488
- "type": {
132489
- "text": "string"
132490
- }
132491
- },
132492
- {
132493
- "name": "force",
132494
- "optional": true,
132495
- "type": {
132496
- "text": "boolean"
132497
- }
132498
- }
132499
- ],
132500
- "inheritedFrom": {
132501
- "name": "SbbElement",
132502
- "module": "core/base-elements/element.js"
132503
- }
132504
- },
132505
- {
132506
- "kind": "field",
132507
- "name": "['_$sbbElement$']",
132508
- "type": {
132509
- "text": "boolean"
132510
- },
132511
- "privacy": "public",
132512
- "static": true,
132513
- "default": "true",
132514
- "inheritedFrom": {
132515
- "name": "SbbElement",
132516
- "module": "core/base-elements/element.js"
132517
- }
132518
- },
132519
- {
132520
- "kind": "field",
132521
- "name": "_controllers",
132522
- "type": {
132523
- "text": "Set<SbbReactiveController> | undefined"
132524
- },
132525
- "privacy": "private",
132526
- "inheritedFrom": {
132527
- "name": "SbbElement",
132528
- "module": "core/base-elements/element.js"
132529
- }
132530
- }
132531
- ],
132532
- "attributes": [
132533
- {
132534
- "name": "direction-label",
132535
- "type": {
132536
- "text": "string"
132537
- },
132538
- "default": "''",
132539
- "description": "General label for \"driving direction\".",
132540
- "fieldName": "directionLabel"
132541
- },
132542
- {
132543
- "name": "direction-label-level",
132544
- "type": {
132545
- "text": "SbbTitleLevel"
132546
- },
132547
- "default": "'6'",
132548
- "description": "Heading level of the direction label, used for screen readers.",
132549
- "fieldName": "directionLabelLevel"
132550
- },
132551
- {
132552
- "name": "station",
132553
- "type": {
132554
- "text": "string"
132555
- },
132556
- "default": "''",
132557
- "description": "Label for the destination station of the train.",
132558
- "fieldName": "station"
132559
- },
132560
- {
132561
- "name": "accessibility-label",
132562
- "type": {
132563
- "text": "string"
132564
- },
132565
- "default": "''",
132566
- "description": "Accessibility label for additional information regarding the leaving direction of the train.",
132567
- "fieldName": "accessibilityLabel"
132568
- },
132569
- {
132570
- "name": "direction",
132571
- "type": {
132572
- "text": "'left' | 'right'"
132573
- },
132574
- "default": "'left'",
132575
- "description": "Controls the direction indicator to show the arrow left or right. Default is left.",
132576
- "fieldName": "direction"
132577
- }
132578
- ],
132579
- "mixins": [
132580
- {
132581
- "name": "SbbNamedSlotListMixin",
132582
- "module": "core/mixins.js"
132583
- }
132584
- ],
132585
- "superclass": {
132586
- "name": "SbbElement",
132587
- "module": "core/base-elements.js"
132588
- },
132589
- "tagName": "sbb-train",
132590
- "customElement": true
132591
- }
132592
- ],
132593
- "exports": [
132594
- {
132595
- "kind": "js",
132596
- "name": "SbbTrainElement",
132597
- "declaration": {
132598
- "name": "SbbTrainElement",
132599
- "module": "train/train/train.component.js"
132600
- }
132601
- }
132602
- ]
132603
- },
132604
- {
132605
- "kind": "javascript-module",
132606
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
132607
- "declarations": [
132608
- {
132609
- "kind": "class",
132610
- "description": "It visually displays a blocked passage between train wagons.",
132611
- "name": "SbbTrainBlockedPassageElement",
132612
- "members": [
132385
+ "module": "core/mixins/named-slot-list-mixin.js"
132386
+ }
132387
+ },
132613
132388
  {
132614
- "kind": "field",
132615
- "name": "elementName",
132616
- "type": {
132617
- "text": "string"
132389
+ "kind": "method",
132390
+ "name": "listSlotEntries",
132391
+ "privacy": "protected",
132392
+ "return": {
132393
+ "type": {
132394
+ "text": "SbbNamedSlotProperties[]"
132395
+ }
132618
132396
  },
132619
- "privacy": "public",
132620
- "static": true,
132621
- "readonly": true,
132622
- "default": "'sbb-train-blocked-passage'",
132397
+ "parameters": [
132398
+ {
132399
+ "name": "listItemAttributes",
132400
+ "type": {
132401
+ "text": "{\n localNameVisualOnly?: string[];\n }"
132402
+ }
132403
+ }
132404
+ ],
132405
+ "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
132623
132406
  "inheritedFrom": {
132624
- "name": "SbbElement",
132625
- "module": "core/base-elements/element.js"
132407
+ "name": "SbbNamedSlotListMixin",
132408
+ "module": "core/mixins/named-slot-list-mixin.js"
132409
+ }
132410
+ },
132411
+ {
132412
+ "kind": "method",
132413
+ "name": "renderHiddenSlot",
132414
+ "privacy": "protected",
132415
+ "return": {
132416
+ "type": {
132417
+ "text": "TemplateResult"
132418
+ }
132419
+ },
132420
+ "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
132421
+ "inheritedFrom": {
132422
+ "name": "SbbNamedSlotListMixin",
132423
+ "module": "core/mixins/named-slot-list-mixin.js"
132626
132424
  }
132627
132425
  },
132628
132426
  {
@@ -132731,21 +132529,74 @@
132731
132529
  }
132732
132530
  }
132733
132531
  ],
132532
+ "attributes": [
132533
+ {
132534
+ "name": "direction-label",
132535
+ "type": {
132536
+ "text": "string"
132537
+ },
132538
+ "default": "''",
132539
+ "description": "General label for \"driving direction\".",
132540
+ "fieldName": "directionLabel"
132541
+ },
132542
+ {
132543
+ "name": "direction-label-level",
132544
+ "type": {
132545
+ "text": "SbbTitleLevel"
132546
+ },
132547
+ "default": "'6'",
132548
+ "description": "Heading level of the direction label, used for screen readers.",
132549
+ "fieldName": "directionLabelLevel"
132550
+ },
132551
+ {
132552
+ "name": "station",
132553
+ "type": {
132554
+ "text": "string"
132555
+ },
132556
+ "default": "''",
132557
+ "description": "Label for the destination station of the train.",
132558
+ "fieldName": "station"
132559
+ },
132560
+ {
132561
+ "name": "accessibility-label",
132562
+ "type": {
132563
+ "text": "string"
132564
+ },
132565
+ "default": "''",
132566
+ "description": "Accessibility label for additional information regarding the leaving direction of the train.",
132567
+ "fieldName": "accessibilityLabel"
132568
+ },
132569
+ {
132570
+ "name": "direction",
132571
+ "type": {
132572
+ "text": "'left' | 'right'"
132573
+ },
132574
+ "default": "'left'",
132575
+ "description": "Controls the direction indicator to show the arrow left or right. Default is left.",
132576
+ "fieldName": "direction"
132577
+ }
132578
+ ],
132579
+ "mixins": [
132580
+ {
132581
+ "name": "SbbNamedSlotListMixin",
132582
+ "module": "core/mixins.js"
132583
+ }
132584
+ ],
132734
132585
  "superclass": {
132735
132586
  "name": "SbbElement",
132736
132587
  "module": "core/base-elements.js"
132737
132588
  },
132738
- "tagName": "sbb-train-blocked-passage",
132589
+ "tagName": "sbb-train",
132739
132590
  "customElement": true
132740
132591
  }
132741
132592
  ],
132742
132593
  "exports": [
132743
132594
  {
132744
132595
  "kind": "js",
132745
- "name": "SbbTrainBlockedPassageElement",
132596
+ "name": "SbbTrainElement",
132746
132597
  "declaration": {
132747
- "name": "SbbTrainBlockedPassageElement",
132748
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
132598
+ "name": "SbbTrainElement",
132599
+ "module": "train/train/train.component.js"
132749
132600
  }
132750
132601
  }
132751
132602
  ]
@@ -133082,6 +132933,155 @@
133082
132933
  }
133083
132934
  ]
133084
132935
  },
132936
+ {
132937
+ "kind": "javascript-module",
132938
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
132939
+ "declarations": [
132940
+ {
132941
+ "kind": "class",
132942
+ "description": "It visually displays a blocked passage between train wagons.",
132943
+ "name": "SbbTrainBlockedPassageElement",
132944
+ "members": [
132945
+ {
132946
+ "kind": "field",
132947
+ "name": "elementName",
132948
+ "type": {
132949
+ "text": "string"
132950
+ },
132951
+ "privacy": "public",
132952
+ "static": true,
132953
+ "readonly": true,
132954
+ "default": "'sbb-train-blocked-passage'",
132955
+ "inheritedFrom": {
132956
+ "name": "SbbElement",
132957
+ "module": "core/base-elements/element.js"
132958
+ }
132959
+ },
132960
+ {
132961
+ "kind": "field",
132962
+ "name": "_hydrationRequired",
132963
+ "type": {
132964
+ "text": "boolean"
132965
+ },
132966
+ "privacy": "private",
132967
+ "default": "!!this.shadowRoot",
132968
+ "inheritedFrom": {
132969
+ "name": "SbbElement",
132970
+ "module": "core/base-elements/element.js"
132971
+ }
132972
+ },
132973
+ {
132974
+ "kind": "field",
132975
+ "name": "_hydrationComplete",
132976
+ "privacy": "private",
132977
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132978
+ "inheritedFrom": {
132979
+ "name": "SbbElement",
132980
+ "module": "core/base-elements/element.js"
132981
+ }
132982
+ },
132983
+ {
132984
+ "kind": "field",
132985
+ "name": "_resolveHydration",
132986
+ "type": {
132987
+ "text": "(hydrationRequired: boolean) => void"
132988
+ },
132989
+ "privacy": "private",
132990
+ "inheritedFrom": {
132991
+ "name": "SbbElement",
132992
+ "module": "core/base-elements/element.js"
132993
+ }
132994
+ },
132995
+ {
132996
+ "kind": "field",
132997
+ "name": "hydrationRequired",
132998
+ "type": {
132999
+ "text": "boolean"
133000
+ },
133001
+ "privacy": "protected",
133002
+ "description": "Returns whether hydration is required and not completed.",
133003
+ "readonly": true,
133004
+ "inheritedFrom": {
133005
+ "name": "SbbElement",
133006
+ "module": "core/base-elements/element.js"
133007
+ },
133008
+ "default": "!!this.shadowRoot"
133009
+ },
133010
+ {
133011
+ "kind": "method",
133012
+ "name": "toggleState",
133013
+ "privacy": "protected",
133014
+ "return": {
133015
+ "type": {
133016
+ "text": "void"
133017
+ }
133018
+ },
133019
+ "parameters": [
133020
+ {
133021
+ "name": "value",
133022
+ "type": {
133023
+ "text": "string"
133024
+ }
133025
+ },
133026
+ {
133027
+ "name": "force",
133028
+ "optional": true,
133029
+ "type": {
133030
+ "text": "boolean"
133031
+ }
133032
+ }
133033
+ ],
133034
+ "inheritedFrom": {
133035
+ "name": "SbbElement",
133036
+ "module": "core/base-elements/element.js"
133037
+ }
133038
+ },
133039
+ {
133040
+ "kind": "field",
133041
+ "name": "['_$sbbElement$']",
133042
+ "type": {
133043
+ "text": "boolean"
133044
+ },
133045
+ "privacy": "public",
133046
+ "static": true,
133047
+ "default": "true",
133048
+ "inheritedFrom": {
133049
+ "name": "SbbElement",
133050
+ "module": "core/base-elements/element.js"
133051
+ }
133052
+ },
133053
+ {
133054
+ "kind": "field",
133055
+ "name": "_controllers",
133056
+ "type": {
133057
+ "text": "Set<SbbReactiveController> | undefined"
133058
+ },
133059
+ "privacy": "private",
133060
+ "inheritedFrom": {
133061
+ "name": "SbbElement",
133062
+ "module": "core/base-elements/element.js"
133063
+ }
133064
+ }
133065
+ ],
133066
+ "superclass": {
133067
+ "name": "SbbElement",
133068
+ "module": "core/base-elements.js"
133069
+ },
133070
+ "tagName": "sbb-train-blocked-passage",
133071
+ "customElement": true
133072
+ }
133073
+ ],
133074
+ "exports": [
133075
+ {
133076
+ "kind": "js",
133077
+ "name": "SbbTrainBlockedPassageElement",
133078
+ "declaration": {
133079
+ "name": "SbbTrainBlockedPassageElement",
133080
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
133081
+ }
133082
+ }
133083
+ ]
133084
+ },
133085
133085
  {
133086
133086
  "kind": "javascript-module",
133087
133087
  "path": "train/train-wagon/train-wagon.component.js",