@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1777019159 → 5.0.0-next-dev.1777021773

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.
@@ -111242,408 +111242,6 @@
111242
111242
  }
111243
111243
  ]
111244
111244
  },
111245
- {
111246
- "kind": "javascript-module",
111247
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
111248
- "declarations": [
111249
- {
111250
- "kind": "class",
111251
- "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
111252
- "name": "SbbFormFieldTextCounterElement",
111253
- "slots": [
111254
- {
111255
- "description": "Use the unnamed slot to display a custom description text after the counter.",
111256
- "name": "",
111257
- "inheritedFrom": {
111258
- "name": "SbbHintElement",
111259
- "module": "form-field/hint/hint.component.js"
111260
- }
111261
- }
111262
- ],
111263
- "members": [
111264
- {
111265
- "kind": "field",
111266
- "name": "elementName",
111267
- "type": {
111268
- "text": "string"
111269
- },
111270
- "privacy": "public",
111271
- "static": true,
111272
- "readonly": true,
111273
- "default": "'sbb-form-field-text-counter'",
111274
- "inheritedFrom": {
111275
- "name": "SbbElement",
111276
- "module": "core/base-elements/element.js"
111277
- }
111278
- },
111279
- {
111280
- "kind": "field",
111281
- "name": "elementDependencies",
111282
- "type": {
111283
- "text": "SbbElementType[]"
111284
- },
111285
- "privacy": "public",
111286
- "static": true,
111287
- "default": "[SbbScreenReaderOnlyElement]",
111288
- "inheritedFrom": {
111289
- "name": "SbbElement",
111290
- "module": "core/base-elements/element.js"
111291
- }
111292
- },
111293
- {
111294
- "kind": "field",
111295
- "name": "_remainingCharacters",
111296
- "type": {
111297
- "text": "number"
111298
- },
111299
- "privacy": "private",
111300
- "default": "0"
111301
- },
111302
- {
111303
- "kind": "field",
111304
- "name": "_language",
111305
- "privacy": "private",
111306
- "default": "new SbbLanguageController(this)"
111307
- },
111308
- {
111309
- "kind": "field",
111310
- "name": "_abortController",
111311
- "type": {
111312
- "text": "AbortController | null"
111313
- },
111314
- "privacy": "private",
111315
- "default": "null"
111316
- },
111317
- {
111318
- "kind": "method",
111319
- "name": "_onInputUpdate",
111320
- "privacy": "private",
111321
- "return": {
111322
- "type": {
111323
- "text": "void"
111324
- }
111325
- }
111326
- },
111327
- {
111328
- "kind": "method",
111329
- "name": "_infoText",
111330
- "privacy": "private",
111331
- "return": {
111332
- "type": {
111333
- "text": "string"
111334
- }
111335
- }
111336
- },
111337
- {
111338
- "kind": "field",
111339
- "name": "negative",
111340
- "type": {
111341
- "text": "boolean"
111342
- },
111343
- "privacy": "public",
111344
- "default": "false",
111345
- "description": "Negative coloring variant flag.",
111346
- "attribute": "negative",
111347
- "reflects": true,
111348
- "inheritedFrom": {
111349
- "name": "SbbNegativeMixin",
111350
- "module": "core/mixins/negative-mixin.js"
111351
- }
111352
- },
111353
- {
111354
- "kind": "field",
111355
- "name": "formField",
111356
- "type": {
111357
- "text": "SbbFormFieldElement | null"
111358
- },
111359
- "privacy": "protected",
111360
- "default": "null",
111361
- "inheritedFrom": {
111362
- "name": "SbbHintElement",
111363
- "module": "form-field/hint/hint.component.js"
111364
- }
111365
- },
111366
- {
111367
- "kind": "field",
111368
- "name": "['_$sbbElement$']",
111369
- "type": {
111370
- "text": "boolean"
111371
- },
111372
- "privacy": "public",
111373
- "static": true,
111374
- "default": "true",
111375
- "inheritedFrom": {
111376
- "name": "SbbElement",
111377
- "module": "core/base-elements/element.js"
111378
- }
111379
- },
111380
- {
111381
- "kind": "field",
111382
- "name": "role",
111383
- "type": {
111384
- "text": "ElementInternals['role'] | undefined"
111385
- },
111386
- "privacy": "public",
111387
- "static": true,
111388
- "inheritedFrom": {
111389
- "name": "SbbElement",
111390
- "module": "core/base-elements/element.js"
111391
- }
111392
- },
111393
- {
111394
- "kind": "field",
111395
- "name": "_controllers",
111396
- "type": {
111397
- "text": "Set<SbbReactiveController> | undefined"
111398
- },
111399
- "privacy": "private",
111400
- "inheritedFrom": {
111401
- "name": "SbbElement",
111402
- "module": "core/base-elements/element.js"
111403
- }
111404
- },
111405
- {
111406
- "kind": "field",
111407
- "name": "_hydrationRequired",
111408
- "type": {
111409
- "text": "boolean"
111410
- },
111411
- "privacy": "private",
111412
- "default": "!!this.shadowRoot",
111413
- "inheritedFrom": {
111414
- "name": "SbbElement",
111415
- "module": "core/base-elements/element.js"
111416
- }
111417
- },
111418
- {
111419
- "kind": "field",
111420
- "name": "_hydrationComplete",
111421
- "privacy": "private",
111422
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
111423
- "inheritedFrom": {
111424
- "name": "SbbElement",
111425
- "module": "core/base-elements/element.js"
111426
- }
111427
- },
111428
- {
111429
- "kind": "field",
111430
- "name": "_resolveHydration",
111431
- "type": {
111432
- "text": "(hydrationRequired: boolean) => void"
111433
- },
111434
- "privacy": "private",
111435
- "inheritedFrom": {
111436
- "name": "SbbElement",
111437
- "module": "core/base-elements/element.js"
111438
- }
111439
- },
111440
- {
111441
- "kind": "field",
111442
- "name": "_textObserver",
111443
- "type": {
111444
- "text": "MutationObserver | undefined"
111445
- },
111446
- "privacy": "private",
111447
- "inheritedFrom": {
111448
- "name": "SbbElement",
111449
- "module": "core/base-elements/element.js"
111450
- }
111451
- },
111452
- {
111453
- "kind": "field",
111454
- "name": "hydrationRequired",
111455
- "type": {
111456
- "text": "boolean"
111457
- },
111458
- "privacy": "protected",
111459
- "description": "Returns whether hydration is required and not completed.",
111460
- "readonly": true,
111461
- "inheritedFrom": {
111462
- "name": "SbbElement",
111463
- "module": "core/base-elements/element.js"
111464
- },
111465
- "default": "!!this.shadowRoot"
111466
- },
111467
- {
111468
- "kind": "method",
111469
- "name": "toggleState",
111470
- "privacy": "protected",
111471
- "return": {
111472
- "type": {
111473
- "text": "void"
111474
- }
111475
- },
111476
- "parameters": [
111477
- {
111478
- "name": "value",
111479
- "type": {
111480
- "text": "string"
111481
- }
111482
- },
111483
- {
111484
- "name": "force",
111485
- "optional": true,
111486
- "type": {
111487
- "text": "boolean"
111488
- }
111489
- }
111490
- ],
111491
- "inheritedFrom": {
111492
- "name": "SbbElement",
111493
- "module": "core/base-elements/element.js"
111494
- }
111495
- },
111496
- {
111497
- "kind": "method",
111498
- "name": "_slotchangeHandler",
111499
- "privacy": "private",
111500
- "return": {
111501
- "type": {
111502
- "text": "void"
111503
- }
111504
- },
111505
- "parameters": [
111506
- {
111507
- "name": "event",
111508
- "type": {
111509
- "text": "Event"
111510
- }
111511
- },
111512
- {
111513
- "name": "slot",
111514
- "type": {
111515
- "text": "HTMLSlotElement"
111516
- }
111517
- }
111518
- ],
111519
- "inheritedFrom": {
111520
- "name": "SbbElement",
111521
- "module": "core/base-elements/element.js"
111522
- }
111523
- },
111524
- {
111525
- "kind": "method",
111526
- "name": "_handleSlotChangeForSlottedState",
111527
- "privacy": "private",
111528
- "return": {
111529
- "type": {
111530
- "text": "void"
111531
- }
111532
- },
111533
- "parameters": [
111534
- {
111535
- "name": "slot",
111536
- "type": {
111537
- "text": "HTMLSlotElement"
111538
- }
111539
- }
111540
- ],
111541
- "inheritedFrom": {
111542
- "name": "SbbElement",
111543
- "module": "core/base-elements/element.js"
111544
- }
111545
- },
111546
- {
111547
- "kind": "method",
111548
- "name": "_updateSlottedState",
111549
- "privacy": "private",
111550
- "return": {
111551
- "type": {
111552
- "text": "void"
111553
- }
111554
- },
111555
- "parameters": [
111556
- {
111557
- "name": "slot",
111558
- "type": {
111559
- "text": "HTMLSlotElement"
111560
- }
111561
- }
111562
- ],
111563
- "inheritedFrom": {
111564
- "name": "SbbElement",
111565
- "module": "core/base-elements/element.js"
111566
- }
111567
- },
111568
- {
111569
- "kind": "method",
111570
- "name": "_observeTextNodesInSlot",
111571
- "privacy": "private",
111572
- "return": {
111573
- "type": {
111574
- "text": "void"
111575
- }
111576
- },
111577
- "parameters": [
111578
- {
111579
- "name": "slot",
111580
- "type": {
111581
- "text": "HTMLSlotElement"
111582
- }
111583
- }
111584
- ],
111585
- "inheritedFrom": {
111586
- "name": "SbbElement",
111587
- "module": "core/base-elements/element.js"
111588
- }
111589
- },
111590
- {
111591
- "kind": "method",
111592
- "name": "_hasSlottedContent",
111593
- "privacy": "private",
111594
- "return": {
111595
- "type": {
111596
- "text": "boolean"
111597
- }
111598
- },
111599
- "parameters": [
111600
- {
111601
- "name": "slot",
111602
- "type": {
111603
- "text": "HTMLSlotElement"
111604
- }
111605
- }
111606
- ],
111607
- "inheritedFrom": {
111608
- "name": "SbbElement",
111609
- "module": "core/base-elements/element.js"
111610
- }
111611
- }
111612
- ],
111613
- "superclass": {
111614
- "name": "SbbHintElement",
111615
- "module": "form-field/hint/hint.component.js"
111616
- },
111617
- "tagName": "sbb-form-field-text-counter",
111618
- "customElement": true,
111619
- "attributes": [
111620
- {
111621
- "name": "negative",
111622
- "type": {
111623
- "text": "boolean"
111624
- },
111625
- "default": "false",
111626
- "description": "Negative coloring variant flag.",
111627
- "fieldName": "negative",
111628
- "inheritedFrom": {
111629
- "name": "SbbNegativeMixin",
111630
- "module": "core/mixins/negative-mixin.js"
111631
- }
111632
- }
111633
- ]
111634
- }
111635
- ],
111636
- "exports": [
111637
- {
111638
- "kind": "js",
111639
- "name": "SbbFormFieldTextCounterElement",
111640
- "declaration": {
111641
- "name": "SbbFormFieldTextCounterElement",
111642
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
111643
- }
111644
- }
111645
- ]
111646
- },
111647
111245
  {
111648
111246
  "kind": "javascript-module",
111649
111247
  "path": "form-field/form-field-clear/form-field-clear.component.js",
@@ -112594,6 +112192,408 @@
112594
112192
  }
112595
112193
  ]
112596
112194
  },
112195
+ {
112196
+ "kind": "javascript-module",
112197
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
112198
+ "declarations": [
112199
+ {
112200
+ "kind": "class",
112201
+ "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
112202
+ "name": "SbbFormFieldTextCounterElement",
112203
+ "slots": [
112204
+ {
112205
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
112206
+ "name": "",
112207
+ "inheritedFrom": {
112208
+ "name": "SbbHintElement",
112209
+ "module": "form-field/hint/hint.component.js"
112210
+ }
112211
+ }
112212
+ ],
112213
+ "members": [
112214
+ {
112215
+ "kind": "field",
112216
+ "name": "elementName",
112217
+ "type": {
112218
+ "text": "string"
112219
+ },
112220
+ "privacy": "public",
112221
+ "static": true,
112222
+ "readonly": true,
112223
+ "default": "'sbb-form-field-text-counter'",
112224
+ "inheritedFrom": {
112225
+ "name": "SbbElement",
112226
+ "module": "core/base-elements/element.js"
112227
+ }
112228
+ },
112229
+ {
112230
+ "kind": "field",
112231
+ "name": "elementDependencies",
112232
+ "type": {
112233
+ "text": "SbbElementType[]"
112234
+ },
112235
+ "privacy": "public",
112236
+ "static": true,
112237
+ "default": "[SbbScreenReaderOnlyElement]",
112238
+ "inheritedFrom": {
112239
+ "name": "SbbElement",
112240
+ "module": "core/base-elements/element.js"
112241
+ }
112242
+ },
112243
+ {
112244
+ "kind": "field",
112245
+ "name": "_remainingCharacters",
112246
+ "type": {
112247
+ "text": "number"
112248
+ },
112249
+ "privacy": "private",
112250
+ "default": "0"
112251
+ },
112252
+ {
112253
+ "kind": "field",
112254
+ "name": "_language",
112255
+ "privacy": "private",
112256
+ "default": "new SbbLanguageController(this)"
112257
+ },
112258
+ {
112259
+ "kind": "field",
112260
+ "name": "_abortController",
112261
+ "type": {
112262
+ "text": "AbortController | null"
112263
+ },
112264
+ "privacy": "private",
112265
+ "default": "null"
112266
+ },
112267
+ {
112268
+ "kind": "method",
112269
+ "name": "_onInputUpdate",
112270
+ "privacy": "private",
112271
+ "return": {
112272
+ "type": {
112273
+ "text": "void"
112274
+ }
112275
+ }
112276
+ },
112277
+ {
112278
+ "kind": "method",
112279
+ "name": "_infoText",
112280
+ "privacy": "private",
112281
+ "return": {
112282
+ "type": {
112283
+ "text": "string"
112284
+ }
112285
+ }
112286
+ },
112287
+ {
112288
+ "kind": "field",
112289
+ "name": "negative",
112290
+ "type": {
112291
+ "text": "boolean"
112292
+ },
112293
+ "privacy": "public",
112294
+ "default": "false",
112295
+ "description": "Negative coloring variant flag.",
112296
+ "attribute": "negative",
112297
+ "reflects": true,
112298
+ "inheritedFrom": {
112299
+ "name": "SbbNegativeMixin",
112300
+ "module": "core/mixins/negative-mixin.js"
112301
+ }
112302
+ },
112303
+ {
112304
+ "kind": "field",
112305
+ "name": "formField",
112306
+ "type": {
112307
+ "text": "SbbFormFieldElement | null"
112308
+ },
112309
+ "privacy": "protected",
112310
+ "default": "null",
112311
+ "inheritedFrom": {
112312
+ "name": "SbbHintElement",
112313
+ "module": "form-field/hint/hint.component.js"
112314
+ }
112315
+ },
112316
+ {
112317
+ "kind": "field",
112318
+ "name": "['_$sbbElement$']",
112319
+ "type": {
112320
+ "text": "boolean"
112321
+ },
112322
+ "privacy": "public",
112323
+ "static": true,
112324
+ "default": "true",
112325
+ "inheritedFrom": {
112326
+ "name": "SbbElement",
112327
+ "module": "core/base-elements/element.js"
112328
+ }
112329
+ },
112330
+ {
112331
+ "kind": "field",
112332
+ "name": "role",
112333
+ "type": {
112334
+ "text": "ElementInternals['role'] | undefined"
112335
+ },
112336
+ "privacy": "public",
112337
+ "static": true,
112338
+ "inheritedFrom": {
112339
+ "name": "SbbElement",
112340
+ "module": "core/base-elements/element.js"
112341
+ }
112342
+ },
112343
+ {
112344
+ "kind": "field",
112345
+ "name": "_controllers",
112346
+ "type": {
112347
+ "text": "Set<SbbReactiveController> | undefined"
112348
+ },
112349
+ "privacy": "private",
112350
+ "inheritedFrom": {
112351
+ "name": "SbbElement",
112352
+ "module": "core/base-elements/element.js"
112353
+ }
112354
+ },
112355
+ {
112356
+ "kind": "field",
112357
+ "name": "_hydrationRequired",
112358
+ "type": {
112359
+ "text": "boolean"
112360
+ },
112361
+ "privacy": "private",
112362
+ "default": "!!this.shadowRoot",
112363
+ "inheritedFrom": {
112364
+ "name": "SbbElement",
112365
+ "module": "core/base-elements/element.js"
112366
+ }
112367
+ },
112368
+ {
112369
+ "kind": "field",
112370
+ "name": "_hydrationComplete",
112371
+ "privacy": "private",
112372
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
112373
+ "inheritedFrom": {
112374
+ "name": "SbbElement",
112375
+ "module": "core/base-elements/element.js"
112376
+ }
112377
+ },
112378
+ {
112379
+ "kind": "field",
112380
+ "name": "_resolveHydration",
112381
+ "type": {
112382
+ "text": "(hydrationRequired: boolean) => void"
112383
+ },
112384
+ "privacy": "private",
112385
+ "inheritedFrom": {
112386
+ "name": "SbbElement",
112387
+ "module": "core/base-elements/element.js"
112388
+ }
112389
+ },
112390
+ {
112391
+ "kind": "field",
112392
+ "name": "_textObserver",
112393
+ "type": {
112394
+ "text": "MutationObserver | undefined"
112395
+ },
112396
+ "privacy": "private",
112397
+ "inheritedFrom": {
112398
+ "name": "SbbElement",
112399
+ "module": "core/base-elements/element.js"
112400
+ }
112401
+ },
112402
+ {
112403
+ "kind": "field",
112404
+ "name": "hydrationRequired",
112405
+ "type": {
112406
+ "text": "boolean"
112407
+ },
112408
+ "privacy": "protected",
112409
+ "description": "Returns whether hydration is required and not completed.",
112410
+ "readonly": true,
112411
+ "inheritedFrom": {
112412
+ "name": "SbbElement",
112413
+ "module": "core/base-elements/element.js"
112414
+ },
112415
+ "default": "!!this.shadowRoot"
112416
+ },
112417
+ {
112418
+ "kind": "method",
112419
+ "name": "toggleState",
112420
+ "privacy": "protected",
112421
+ "return": {
112422
+ "type": {
112423
+ "text": "void"
112424
+ }
112425
+ },
112426
+ "parameters": [
112427
+ {
112428
+ "name": "value",
112429
+ "type": {
112430
+ "text": "string"
112431
+ }
112432
+ },
112433
+ {
112434
+ "name": "force",
112435
+ "optional": true,
112436
+ "type": {
112437
+ "text": "boolean"
112438
+ }
112439
+ }
112440
+ ],
112441
+ "inheritedFrom": {
112442
+ "name": "SbbElement",
112443
+ "module": "core/base-elements/element.js"
112444
+ }
112445
+ },
112446
+ {
112447
+ "kind": "method",
112448
+ "name": "_slotchangeHandler",
112449
+ "privacy": "private",
112450
+ "return": {
112451
+ "type": {
112452
+ "text": "void"
112453
+ }
112454
+ },
112455
+ "parameters": [
112456
+ {
112457
+ "name": "event",
112458
+ "type": {
112459
+ "text": "Event"
112460
+ }
112461
+ },
112462
+ {
112463
+ "name": "slot",
112464
+ "type": {
112465
+ "text": "HTMLSlotElement"
112466
+ }
112467
+ }
112468
+ ],
112469
+ "inheritedFrom": {
112470
+ "name": "SbbElement",
112471
+ "module": "core/base-elements/element.js"
112472
+ }
112473
+ },
112474
+ {
112475
+ "kind": "method",
112476
+ "name": "_handleSlotChangeForSlottedState",
112477
+ "privacy": "private",
112478
+ "return": {
112479
+ "type": {
112480
+ "text": "void"
112481
+ }
112482
+ },
112483
+ "parameters": [
112484
+ {
112485
+ "name": "slot",
112486
+ "type": {
112487
+ "text": "HTMLSlotElement"
112488
+ }
112489
+ }
112490
+ ],
112491
+ "inheritedFrom": {
112492
+ "name": "SbbElement",
112493
+ "module": "core/base-elements/element.js"
112494
+ }
112495
+ },
112496
+ {
112497
+ "kind": "method",
112498
+ "name": "_updateSlottedState",
112499
+ "privacy": "private",
112500
+ "return": {
112501
+ "type": {
112502
+ "text": "void"
112503
+ }
112504
+ },
112505
+ "parameters": [
112506
+ {
112507
+ "name": "slot",
112508
+ "type": {
112509
+ "text": "HTMLSlotElement"
112510
+ }
112511
+ }
112512
+ ],
112513
+ "inheritedFrom": {
112514
+ "name": "SbbElement",
112515
+ "module": "core/base-elements/element.js"
112516
+ }
112517
+ },
112518
+ {
112519
+ "kind": "method",
112520
+ "name": "_observeTextNodesInSlot",
112521
+ "privacy": "private",
112522
+ "return": {
112523
+ "type": {
112524
+ "text": "void"
112525
+ }
112526
+ },
112527
+ "parameters": [
112528
+ {
112529
+ "name": "slot",
112530
+ "type": {
112531
+ "text": "HTMLSlotElement"
112532
+ }
112533
+ }
112534
+ ],
112535
+ "inheritedFrom": {
112536
+ "name": "SbbElement",
112537
+ "module": "core/base-elements/element.js"
112538
+ }
112539
+ },
112540
+ {
112541
+ "kind": "method",
112542
+ "name": "_hasSlottedContent",
112543
+ "privacy": "private",
112544
+ "return": {
112545
+ "type": {
112546
+ "text": "boolean"
112547
+ }
112548
+ },
112549
+ "parameters": [
112550
+ {
112551
+ "name": "slot",
112552
+ "type": {
112553
+ "text": "HTMLSlotElement"
112554
+ }
112555
+ }
112556
+ ],
112557
+ "inheritedFrom": {
112558
+ "name": "SbbElement",
112559
+ "module": "core/base-elements/element.js"
112560
+ }
112561
+ }
112562
+ ],
112563
+ "superclass": {
112564
+ "name": "SbbHintElement",
112565
+ "module": "form-field/hint/hint.component.js"
112566
+ },
112567
+ "tagName": "sbb-form-field-text-counter",
112568
+ "customElement": true,
112569
+ "attributes": [
112570
+ {
112571
+ "name": "negative",
112572
+ "type": {
112573
+ "text": "boolean"
112574
+ },
112575
+ "default": "false",
112576
+ "description": "Negative coloring variant flag.",
112577
+ "fieldName": "negative",
112578
+ "inheritedFrom": {
112579
+ "name": "SbbNegativeMixin",
112580
+ "module": "core/mixins/negative-mixin.js"
112581
+ }
112582
+ }
112583
+ ]
112584
+ }
112585
+ ],
112586
+ "exports": [
112587
+ {
112588
+ "kind": "js",
112589
+ "name": "SbbFormFieldTextCounterElement",
112590
+ "declaration": {
112591
+ "name": "SbbFormFieldTextCounterElement",
112592
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
112593
+ }
112594
+ }
112595
+ ]
112596
+ },
112597
112597
  {
112598
112598
  "kind": "javascript-module",
112599
112599
  "path": "form-field/hint/hint.component.js",
@@ -159765,377 +159765,74 @@
159765
159765
  }
159766
159766
  }
159767
159767
  ],
159768
- "attributes": [
159769
- {
159770
- "name": "direction-label",
159771
- "type": {
159772
- "text": "string"
159773
- },
159774
- "default": "''",
159775
- "description": "General label for \"driving direction\".",
159776
- "fieldName": "directionLabel"
159777
- },
159778
- {
159779
- "name": "direction-label-level",
159780
- "type": {
159781
- "text": "SbbTitleLevel"
159782
- },
159783
- "default": "'6'",
159784
- "description": "Heading level of the direction label, used for screen readers.",
159785
- "fieldName": "directionLabelLevel"
159786
- },
159787
- {
159788
- "name": "station",
159789
- "type": {
159790
- "text": "string"
159791
- },
159792
- "default": "''",
159793
- "description": "Label for the destination station of the train.",
159794
- "fieldName": "station"
159795
- },
159796
- {
159797
- "name": "accessibility-label",
159798
- "type": {
159799
- "text": "string"
159800
- },
159801
- "default": "''",
159802
- "description": "Accessibility label for additional information regarding the leaving direction of the train.",
159803
- "fieldName": "accessibilityLabel"
159804
- },
159805
- {
159806
- "name": "direction",
159807
- "type": {
159808
- "text": "'left' | 'right'"
159809
- },
159810
- "default": "'left'",
159811
- "description": "Controls the direction indicator to show the arrow left or right. Default is left.",
159812
- "fieldName": "direction"
159813
- }
159814
- ],
159815
- "mixins": [
159816
- {
159817
- "name": "SbbNamedSlotListMixin",
159818
- "module": "core.js"
159819
- }
159820
- ],
159821
- "superclass": {
159822
- "name": "SbbElement",
159823
- "module": "core.js"
159824
- },
159825
- "tagName": "sbb-train",
159826
- "customElement": true
159827
- }
159828
- ],
159829
- "exports": [
159830
- {
159831
- "kind": "js",
159832
- "name": "SbbTrainElement",
159833
- "declaration": {
159834
- "name": "SbbTrainElement",
159835
- "module": "train/train/train.component.js"
159836
- }
159837
- }
159838
- ]
159839
- },
159840
- {
159841
- "kind": "javascript-module",
159842
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
159843
- "declarations": [
159844
- {
159845
- "kind": "class",
159846
- "description": "It visually displays a blocked passage between train wagons.",
159847
- "name": "SbbTrainBlockedPassageElement",
159848
- "members": [
159849
- {
159850
- "kind": "field",
159851
- "name": "elementName",
159852
- "type": {
159853
- "text": "string"
159854
- },
159855
- "privacy": "public",
159856
- "static": true,
159857
- "readonly": true,
159858
- "default": "'sbb-train-blocked-passage'",
159859
- "inheritedFrom": {
159860
- "name": "SbbElement",
159861
- "module": "core/base-elements/element.js"
159862
- }
159863
- },
159864
- {
159865
- "kind": "field",
159866
- "name": "['_$sbbElement$']",
159867
- "type": {
159868
- "text": "boolean"
159869
- },
159870
- "privacy": "public",
159871
- "static": true,
159872
- "default": "true",
159873
- "inheritedFrom": {
159874
- "name": "SbbElement",
159875
- "module": "core/base-elements/element.js"
159876
- }
159877
- },
159878
- {
159879
- "kind": "field",
159880
- "name": "elementDependencies",
159881
- "type": {
159882
- "text": "SbbElementType[] | undefined"
159883
- },
159884
- "privacy": "public",
159885
- "static": true,
159886
- "inheritedFrom": {
159887
- "name": "SbbElement",
159888
- "module": "core/base-elements/element.js"
159889
- }
159890
- },
159891
- {
159892
- "kind": "field",
159893
- "name": "role",
159894
- "type": {
159895
- "text": "ElementInternals['role'] | undefined"
159896
- },
159897
- "privacy": "public",
159898
- "static": true,
159899
- "inheritedFrom": {
159900
- "name": "SbbElement",
159901
- "module": "core/base-elements/element.js"
159902
- }
159903
- },
159904
- {
159905
- "kind": "field",
159906
- "name": "_controllers",
159907
- "type": {
159908
- "text": "Set<SbbReactiveController> | undefined"
159909
- },
159910
- "privacy": "private",
159911
- "inheritedFrom": {
159912
- "name": "SbbElement",
159913
- "module": "core/base-elements/element.js"
159914
- }
159915
- },
159916
- {
159917
- "kind": "field",
159918
- "name": "_hydrationRequired",
159919
- "type": {
159920
- "text": "boolean"
159921
- },
159922
- "privacy": "private",
159923
- "default": "!!this.shadowRoot",
159924
- "inheritedFrom": {
159925
- "name": "SbbElement",
159926
- "module": "core/base-elements/element.js"
159927
- }
159928
- },
159929
- {
159930
- "kind": "field",
159931
- "name": "_hydrationComplete",
159932
- "privacy": "private",
159933
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
159934
- "inheritedFrom": {
159935
- "name": "SbbElement",
159936
- "module": "core/base-elements/element.js"
159937
- }
159938
- },
159939
- {
159940
- "kind": "field",
159941
- "name": "_resolveHydration",
159942
- "type": {
159943
- "text": "(hydrationRequired: boolean) => void"
159944
- },
159945
- "privacy": "private",
159946
- "inheritedFrom": {
159947
- "name": "SbbElement",
159948
- "module": "core/base-elements/element.js"
159949
- }
159950
- },
159951
- {
159952
- "kind": "field",
159953
- "name": "_textObserver",
159954
- "type": {
159955
- "text": "MutationObserver | undefined"
159956
- },
159957
- "privacy": "private",
159958
- "inheritedFrom": {
159959
- "name": "SbbElement",
159960
- "module": "core/base-elements/element.js"
159961
- }
159962
- },
159963
- {
159964
- "kind": "field",
159965
- "name": "hydrationRequired",
159966
- "type": {
159967
- "text": "boolean"
159968
- },
159969
- "privacy": "protected",
159970
- "description": "Returns whether hydration is required and not completed.",
159971
- "readonly": true,
159972
- "inheritedFrom": {
159973
- "name": "SbbElement",
159974
- "module": "core/base-elements/element.js"
159975
- },
159976
- "default": "!!this.shadowRoot"
159977
- },
159978
- {
159979
- "kind": "method",
159980
- "name": "toggleState",
159981
- "privacy": "protected",
159982
- "return": {
159983
- "type": {
159984
- "text": "void"
159985
- }
159986
- },
159987
- "parameters": [
159988
- {
159989
- "name": "value",
159990
- "type": {
159991
- "text": "string"
159992
- }
159993
- },
159994
- {
159995
- "name": "force",
159996
- "optional": true,
159997
- "type": {
159998
- "text": "boolean"
159999
- }
160000
- }
160001
- ],
160002
- "inheritedFrom": {
160003
- "name": "SbbElement",
160004
- "module": "core/base-elements/element.js"
160005
- }
160006
- },
160007
- {
160008
- "kind": "method",
160009
- "name": "_slotchangeHandler",
160010
- "privacy": "private",
160011
- "return": {
160012
- "type": {
160013
- "text": "void"
160014
- }
160015
- },
160016
- "parameters": [
160017
- {
160018
- "name": "event",
160019
- "type": {
160020
- "text": "Event"
160021
- }
160022
- },
160023
- {
160024
- "name": "slot",
160025
- "type": {
160026
- "text": "HTMLSlotElement"
160027
- }
160028
- }
160029
- ],
160030
- "inheritedFrom": {
160031
- "name": "SbbElement",
160032
- "module": "core/base-elements/element.js"
160033
- }
160034
- },
160035
- {
160036
- "kind": "method",
160037
- "name": "_handleSlotChangeForSlottedState",
160038
- "privacy": "private",
160039
- "return": {
160040
- "type": {
160041
- "text": "void"
160042
- }
160043
- },
160044
- "parameters": [
160045
- {
160046
- "name": "slot",
160047
- "type": {
160048
- "text": "HTMLSlotElement"
160049
- }
160050
- }
160051
- ],
160052
- "inheritedFrom": {
160053
- "name": "SbbElement",
160054
- "module": "core/base-elements/element.js"
160055
- }
160056
- },
160057
- {
160058
- "kind": "method",
160059
- "name": "_updateSlottedState",
160060
- "privacy": "private",
160061
- "return": {
160062
- "type": {
160063
- "text": "void"
160064
- }
160065
- },
160066
- "parameters": [
160067
- {
160068
- "name": "slot",
160069
- "type": {
160070
- "text": "HTMLSlotElement"
160071
- }
160072
- }
160073
- ],
160074
- "inheritedFrom": {
160075
- "name": "SbbElement",
160076
- "module": "core/base-elements/element.js"
160077
- }
160078
- },
160079
- {
160080
- "kind": "method",
160081
- "name": "_observeTextNodesInSlot",
160082
- "privacy": "private",
160083
- "return": {
160084
- "type": {
160085
- "text": "void"
160086
- }
160087
- },
160088
- "parameters": [
160089
- {
160090
- "name": "slot",
160091
- "type": {
160092
- "text": "HTMLSlotElement"
160093
- }
160094
- }
160095
- ],
160096
- "inheritedFrom": {
160097
- "name": "SbbElement",
160098
- "module": "core/base-elements/element.js"
160099
- }
160100
- },
160101
- {
160102
- "kind": "method",
160103
- "name": "_hasSlottedContent",
160104
- "privacy": "private",
160105
- "return": {
160106
- "type": {
160107
- "text": "boolean"
160108
- }
160109
- },
160110
- "parameters": [
160111
- {
160112
- "name": "slot",
160113
- "type": {
160114
- "text": "HTMLSlotElement"
160115
- }
160116
- }
160117
- ],
160118
- "inheritedFrom": {
160119
- "name": "SbbElement",
160120
- "module": "core/base-elements/element.js"
160121
- }
160122
- }
160123
- ],
159768
+ "attributes": [
159769
+ {
159770
+ "name": "direction-label",
159771
+ "type": {
159772
+ "text": "string"
159773
+ },
159774
+ "default": "''",
159775
+ "description": "General label for \"driving direction\".",
159776
+ "fieldName": "directionLabel"
159777
+ },
159778
+ {
159779
+ "name": "direction-label-level",
159780
+ "type": {
159781
+ "text": "SbbTitleLevel"
159782
+ },
159783
+ "default": "'6'",
159784
+ "description": "Heading level of the direction label, used for screen readers.",
159785
+ "fieldName": "directionLabelLevel"
159786
+ },
159787
+ {
159788
+ "name": "station",
159789
+ "type": {
159790
+ "text": "string"
159791
+ },
159792
+ "default": "''",
159793
+ "description": "Label for the destination station of the train.",
159794
+ "fieldName": "station"
159795
+ },
159796
+ {
159797
+ "name": "accessibility-label",
159798
+ "type": {
159799
+ "text": "string"
159800
+ },
159801
+ "default": "''",
159802
+ "description": "Accessibility label for additional information regarding the leaving direction of the train.",
159803
+ "fieldName": "accessibilityLabel"
159804
+ },
159805
+ {
159806
+ "name": "direction",
159807
+ "type": {
159808
+ "text": "'left' | 'right'"
159809
+ },
159810
+ "default": "'left'",
159811
+ "description": "Controls the direction indicator to show the arrow left or right. Default is left.",
159812
+ "fieldName": "direction"
159813
+ }
159814
+ ],
159815
+ "mixins": [
159816
+ {
159817
+ "name": "SbbNamedSlotListMixin",
159818
+ "module": "core.js"
159819
+ }
159820
+ ],
160124
159821
  "superclass": {
160125
159822
  "name": "SbbElement",
160126
159823
  "module": "core.js"
160127
159824
  },
160128
- "tagName": "sbb-train-blocked-passage",
159825
+ "tagName": "sbb-train",
160129
159826
  "customElement": true
160130
159827
  }
160131
159828
  ],
160132
159829
  "exports": [
160133
159830
  {
160134
159831
  "kind": "js",
160135
- "name": "SbbTrainBlockedPassageElement",
159832
+ "name": "SbbTrainElement",
160136
159833
  "declaration": {
160137
- "name": "SbbTrainBlockedPassageElement",
160138
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
159834
+ "name": "SbbTrainElement",
159835
+ "module": "train/train/train.component.js"
160139
159836
  }
160140
159837
  }
160141
159838
  ]
@@ -160627,6 +160324,309 @@
160627
160324
  }
160628
160325
  ]
160629
160326
  },
160327
+ {
160328
+ "kind": "javascript-module",
160329
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
160330
+ "declarations": [
160331
+ {
160332
+ "kind": "class",
160333
+ "description": "It visually displays a blocked passage between train wagons.",
160334
+ "name": "SbbTrainBlockedPassageElement",
160335
+ "members": [
160336
+ {
160337
+ "kind": "field",
160338
+ "name": "elementName",
160339
+ "type": {
160340
+ "text": "string"
160341
+ },
160342
+ "privacy": "public",
160343
+ "static": true,
160344
+ "readonly": true,
160345
+ "default": "'sbb-train-blocked-passage'",
160346
+ "inheritedFrom": {
160347
+ "name": "SbbElement",
160348
+ "module": "core/base-elements/element.js"
160349
+ }
160350
+ },
160351
+ {
160352
+ "kind": "field",
160353
+ "name": "['_$sbbElement$']",
160354
+ "type": {
160355
+ "text": "boolean"
160356
+ },
160357
+ "privacy": "public",
160358
+ "static": true,
160359
+ "default": "true",
160360
+ "inheritedFrom": {
160361
+ "name": "SbbElement",
160362
+ "module": "core/base-elements/element.js"
160363
+ }
160364
+ },
160365
+ {
160366
+ "kind": "field",
160367
+ "name": "elementDependencies",
160368
+ "type": {
160369
+ "text": "SbbElementType[] | undefined"
160370
+ },
160371
+ "privacy": "public",
160372
+ "static": true,
160373
+ "inheritedFrom": {
160374
+ "name": "SbbElement",
160375
+ "module": "core/base-elements/element.js"
160376
+ }
160377
+ },
160378
+ {
160379
+ "kind": "field",
160380
+ "name": "role",
160381
+ "type": {
160382
+ "text": "ElementInternals['role'] | undefined"
160383
+ },
160384
+ "privacy": "public",
160385
+ "static": true,
160386
+ "inheritedFrom": {
160387
+ "name": "SbbElement",
160388
+ "module": "core/base-elements/element.js"
160389
+ }
160390
+ },
160391
+ {
160392
+ "kind": "field",
160393
+ "name": "_controllers",
160394
+ "type": {
160395
+ "text": "Set<SbbReactiveController> | undefined"
160396
+ },
160397
+ "privacy": "private",
160398
+ "inheritedFrom": {
160399
+ "name": "SbbElement",
160400
+ "module": "core/base-elements/element.js"
160401
+ }
160402
+ },
160403
+ {
160404
+ "kind": "field",
160405
+ "name": "_hydrationRequired",
160406
+ "type": {
160407
+ "text": "boolean"
160408
+ },
160409
+ "privacy": "private",
160410
+ "default": "!!this.shadowRoot",
160411
+ "inheritedFrom": {
160412
+ "name": "SbbElement",
160413
+ "module": "core/base-elements/element.js"
160414
+ }
160415
+ },
160416
+ {
160417
+ "kind": "field",
160418
+ "name": "_hydrationComplete",
160419
+ "privacy": "private",
160420
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
160421
+ "inheritedFrom": {
160422
+ "name": "SbbElement",
160423
+ "module": "core/base-elements/element.js"
160424
+ }
160425
+ },
160426
+ {
160427
+ "kind": "field",
160428
+ "name": "_resolveHydration",
160429
+ "type": {
160430
+ "text": "(hydrationRequired: boolean) => void"
160431
+ },
160432
+ "privacy": "private",
160433
+ "inheritedFrom": {
160434
+ "name": "SbbElement",
160435
+ "module": "core/base-elements/element.js"
160436
+ }
160437
+ },
160438
+ {
160439
+ "kind": "field",
160440
+ "name": "_textObserver",
160441
+ "type": {
160442
+ "text": "MutationObserver | undefined"
160443
+ },
160444
+ "privacy": "private",
160445
+ "inheritedFrom": {
160446
+ "name": "SbbElement",
160447
+ "module": "core/base-elements/element.js"
160448
+ }
160449
+ },
160450
+ {
160451
+ "kind": "field",
160452
+ "name": "hydrationRequired",
160453
+ "type": {
160454
+ "text": "boolean"
160455
+ },
160456
+ "privacy": "protected",
160457
+ "description": "Returns whether hydration is required and not completed.",
160458
+ "readonly": true,
160459
+ "inheritedFrom": {
160460
+ "name": "SbbElement",
160461
+ "module": "core/base-elements/element.js"
160462
+ },
160463
+ "default": "!!this.shadowRoot"
160464
+ },
160465
+ {
160466
+ "kind": "method",
160467
+ "name": "toggleState",
160468
+ "privacy": "protected",
160469
+ "return": {
160470
+ "type": {
160471
+ "text": "void"
160472
+ }
160473
+ },
160474
+ "parameters": [
160475
+ {
160476
+ "name": "value",
160477
+ "type": {
160478
+ "text": "string"
160479
+ }
160480
+ },
160481
+ {
160482
+ "name": "force",
160483
+ "optional": true,
160484
+ "type": {
160485
+ "text": "boolean"
160486
+ }
160487
+ }
160488
+ ],
160489
+ "inheritedFrom": {
160490
+ "name": "SbbElement",
160491
+ "module": "core/base-elements/element.js"
160492
+ }
160493
+ },
160494
+ {
160495
+ "kind": "method",
160496
+ "name": "_slotchangeHandler",
160497
+ "privacy": "private",
160498
+ "return": {
160499
+ "type": {
160500
+ "text": "void"
160501
+ }
160502
+ },
160503
+ "parameters": [
160504
+ {
160505
+ "name": "event",
160506
+ "type": {
160507
+ "text": "Event"
160508
+ }
160509
+ },
160510
+ {
160511
+ "name": "slot",
160512
+ "type": {
160513
+ "text": "HTMLSlotElement"
160514
+ }
160515
+ }
160516
+ ],
160517
+ "inheritedFrom": {
160518
+ "name": "SbbElement",
160519
+ "module": "core/base-elements/element.js"
160520
+ }
160521
+ },
160522
+ {
160523
+ "kind": "method",
160524
+ "name": "_handleSlotChangeForSlottedState",
160525
+ "privacy": "private",
160526
+ "return": {
160527
+ "type": {
160528
+ "text": "void"
160529
+ }
160530
+ },
160531
+ "parameters": [
160532
+ {
160533
+ "name": "slot",
160534
+ "type": {
160535
+ "text": "HTMLSlotElement"
160536
+ }
160537
+ }
160538
+ ],
160539
+ "inheritedFrom": {
160540
+ "name": "SbbElement",
160541
+ "module": "core/base-elements/element.js"
160542
+ }
160543
+ },
160544
+ {
160545
+ "kind": "method",
160546
+ "name": "_updateSlottedState",
160547
+ "privacy": "private",
160548
+ "return": {
160549
+ "type": {
160550
+ "text": "void"
160551
+ }
160552
+ },
160553
+ "parameters": [
160554
+ {
160555
+ "name": "slot",
160556
+ "type": {
160557
+ "text": "HTMLSlotElement"
160558
+ }
160559
+ }
160560
+ ],
160561
+ "inheritedFrom": {
160562
+ "name": "SbbElement",
160563
+ "module": "core/base-elements/element.js"
160564
+ }
160565
+ },
160566
+ {
160567
+ "kind": "method",
160568
+ "name": "_observeTextNodesInSlot",
160569
+ "privacy": "private",
160570
+ "return": {
160571
+ "type": {
160572
+ "text": "void"
160573
+ }
160574
+ },
160575
+ "parameters": [
160576
+ {
160577
+ "name": "slot",
160578
+ "type": {
160579
+ "text": "HTMLSlotElement"
160580
+ }
160581
+ }
160582
+ ],
160583
+ "inheritedFrom": {
160584
+ "name": "SbbElement",
160585
+ "module": "core/base-elements/element.js"
160586
+ }
160587
+ },
160588
+ {
160589
+ "kind": "method",
160590
+ "name": "_hasSlottedContent",
160591
+ "privacy": "private",
160592
+ "return": {
160593
+ "type": {
160594
+ "text": "boolean"
160595
+ }
160596
+ },
160597
+ "parameters": [
160598
+ {
160599
+ "name": "slot",
160600
+ "type": {
160601
+ "text": "HTMLSlotElement"
160602
+ }
160603
+ }
160604
+ ],
160605
+ "inheritedFrom": {
160606
+ "name": "SbbElement",
160607
+ "module": "core/base-elements/element.js"
160608
+ }
160609
+ }
160610
+ ],
160611
+ "superclass": {
160612
+ "name": "SbbElement",
160613
+ "module": "core.js"
160614
+ },
160615
+ "tagName": "sbb-train-blocked-passage",
160616
+ "customElement": true
160617
+ }
160618
+ ],
160619
+ "exports": [
160620
+ {
160621
+ "kind": "js",
160622
+ "name": "SbbTrainBlockedPassageElement",
160623
+ "declaration": {
160624
+ "name": "SbbTrainBlockedPassageElement",
160625
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
160626
+ }
160627
+ }
160628
+ ]
160629
+ },
160630
160630
  {
160631
160631
  "kind": "javascript-module",
160632
160632
  "path": "train/train-wagon/train-wagon.component.js",