@sbb-esta/lyne-elements 5.2.0 → 5.3.0

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.
@@ -5327,6 +5327,22 @@
5327
5327
  },
5328
5328
  "default": "{ de: 'Abfahrt', en: 'Departure', fr: 'Départ', it: 'Partenza', }"
5329
5329
  },
5330
+ {
5331
+ "kind": "variable",
5332
+ "name": "i18nNonAccessible",
5333
+ "type": {
5334
+ "text": "Record<string, string>"
5335
+ },
5336
+ "default": "{ de: 'nicht barrierefrei', en: 'not accessible', fr: 'non accessible', it: 'non accessibile', }"
5337
+ },
5338
+ {
5339
+ "kind": "variable",
5340
+ "name": "i18nDownload",
5341
+ "type": {
5342
+ "text": "Record<string, string>"
5343
+ },
5344
+ "default": "{ de: 'herunterladen', en: 'download', fr: 'télécharger', it: 'scaricare', }"
5345
+ },
5330
5346
  {
5331
5347
  "kind": "variable",
5332
5348
  "name": "i18nDurationMinute",
@@ -6241,6 +6257,22 @@
6241
6257
  "module": "core/i18n/i18n.js"
6242
6258
  }
6243
6259
  },
6260
+ {
6261
+ "kind": "js",
6262
+ "name": "i18nNonAccessible",
6263
+ "declaration": {
6264
+ "name": "i18nNonAccessible",
6265
+ "module": "core/i18n/i18n.js"
6266
+ }
6267
+ },
6268
+ {
6269
+ "kind": "js",
6270
+ "name": "i18nDownload",
6271
+ "declaration": {
6272
+ "name": "i18nDownload",
6273
+ "module": "core/i18n/i18n.js"
6274
+ }
6275
+ },
6244
6276
  {
6245
6277
  "kind": "js",
6246
6278
  "name": "i18nDurationMinute",
@@ -58688,6 +58720,20 @@
58688
58720
  "module": "core/base-elements/element.js"
58689
58721
  }
58690
58722
  },
58723
+ {
58724
+ "kind": "field",
58725
+ "name": "elementDependencies",
58726
+ "type": {
58727
+ "text": "SbbElementType[]"
58728
+ },
58729
+ "privacy": "public",
58730
+ "static": true,
58731
+ "default": "[SbbChipElement]",
58732
+ "inheritedFrom": {
58733
+ "name": "SbbElement",
58734
+ "module": "core/base-elements/element.js"
58735
+ }
58736
+ },
58691
58737
  {
58692
58738
  "kind": "field",
58693
58739
  "name": "role",
@@ -59497,19 +59543,6 @@
59497
59543
  "module": "core/base-elements/element.js"
59498
59544
  }
59499
59545
  },
59500
- {
59501
- "kind": "field",
59502
- "name": "elementDependencies",
59503
- "type": {
59504
- "text": "SbbElementType[] | undefined"
59505
- },
59506
- "privacy": "public",
59507
- "static": true,
59508
- "inheritedFrom": {
59509
- "name": "SbbElement",
59510
- "module": "core/base-elements/element.js"
59511
- }
59512
- },
59513
59546
  {
59514
59547
  "kind": "field",
59515
59548
  "name": "_controllers",
@@ -107175,38 +107208,1341 @@
107175
107208
  }
107176
107209
  ],
107177
107210
  "superclass": {
107178
- "name": "SbbElement",
107211
+ "name": "SbbElement",
107212
+ "module": "core.js"
107213
+ },
107214
+ "tagName": "sbb-dialog-content",
107215
+ "customElement": true
107216
+ }
107217
+ ],
107218
+ "exports": [
107219
+ {
107220
+ "kind": "js",
107221
+ "name": "SbbDialogContentElement",
107222
+ "declaration": {
107223
+ "name": "SbbDialogContentElement",
107224
+ "module": "dialog/dialog-content/dialog-content.component.js"
107225
+ }
107226
+ }
107227
+ ]
107228
+ },
107229
+ {
107230
+ "kind": "javascript-module",
107231
+ "path": "dialog/dialog-title/dialog-title.component.js",
107232
+ "declarations": [
107233
+ {
107234
+ "kind": "class",
107235
+ "description": "It displays a title inside a dialog header.",
107236
+ "name": "SbbDialogTitleElement",
107237
+ "slots": [
107238
+ {
107239
+ "description": "Use the unnamed slot for the content of the dialog-title.",
107240
+ "name": ""
107241
+ }
107242
+ ],
107243
+ "members": [
107244
+ {
107245
+ "kind": "field",
107246
+ "name": "elementName",
107247
+ "type": {
107248
+ "text": "string"
107249
+ },
107250
+ "privacy": "public",
107251
+ "static": true,
107252
+ "readonly": true,
107253
+ "inheritedFrom": {
107254
+ "name": "SbbElement",
107255
+ "module": "core/base-elements/element.js"
107256
+ },
107257
+ "default": "'sbb-dialog-title'"
107258
+ },
107259
+ {
107260
+ "kind": "field",
107261
+ "name": "level",
107262
+ "type": {
107263
+ "text": "SbbHeadingLevel",
107264
+ "resolved": "'1' | '2' | '3' | '4' | '5' | '6'"
107265
+ },
107266
+ "privacy": "public",
107267
+ "default": "'2'",
107268
+ "description": "Title level",
107269
+ "attribute": "level",
107270
+ "reflects": true,
107271
+ "inheritedFrom": {
107272
+ "name": "SbbTitleBase",
107273
+ "module": "title/title-base.js"
107274
+ }
107275
+ },
107276
+ {
107277
+ "kind": "field",
107278
+ "name": "visualLevel",
107279
+ "type": {
107280
+ "text": "SbbHeadingLevel | null",
107281
+ "resolved": "'1' | '2' | '3' | '4' | '5' | '6' | null"
107282
+ },
107283
+ "privacy": "public",
107284
+ "default": "'4'",
107285
+ "description": "Visual level for the title.",
107286
+ "attribute": "visual-level",
107287
+ "reflects": true,
107288
+ "inheritedFrom": {
107289
+ "name": "SbbTitleBase",
107290
+ "module": "title/title-base.js"
107291
+ }
107292
+ },
107293
+ {
107294
+ "kind": "field",
107295
+ "name": "negative",
107296
+ "type": {
107297
+ "text": "boolean"
107298
+ },
107299
+ "privacy": "public",
107300
+ "default": "false",
107301
+ "description": "Negative coloring variant flag.",
107302
+ "attribute": "negative",
107303
+ "reflects": true,
107304
+ "inheritedFrom": {
107305
+ "name": "SbbNegativeMixin",
107306
+ "module": "core/mixins/negative-mixin.js"
107307
+ }
107308
+ },
107309
+ {
107310
+ "kind": "field",
107311
+ "name": "role",
107312
+ "type": {
107313
+ "text": "string"
107314
+ },
107315
+ "privacy": "public",
107316
+ "static": true,
107317
+ "default": "'heading'",
107318
+ "inheritedFrom": {
107319
+ "name": "SbbElement",
107320
+ "module": "core/base-elements/element.js"
107321
+ }
107322
+ },
107323
+ {
107324
+ "kind": "field",
107325
+ "name": "['_$sbbElement$']",
107326
+ "type": {
107327
+ "text": "boolean"
107328
+ },
107329
+ "privacy": "public",
107330
+ "static": true,
107331
+ "default": "true",
107332
+ "inheritedFrom": {
107333
+ "name": "SbbElement",
107334
+ "module": "core/base-elements/element.js"
107335
+ }
107336
+ },
107337
+ {
107338
+ "kind": "field",
107339
+ "name": "elementDependencies",
107340
+ "type": {
107341
+ "text": "SbbElementType[] | undefined"
107342
+ },
107343
+ "privacy": "public",
107344
+ "static": true,
107345
+ "inheritedFrom": {
107346
+ "name": "SbbElement",
107347
+ "module": "core/base-elements/element.js"
107348
+ }
107349
+ },
107350
+ {
107351
+ "kind": "field",
107352
+ "name": "_controllers",
107353
+ "type": {
107354
+ "text": "Set<SbbReactiveController> | undefined"
107355
+ },
107356
+ "privacy": "private",
107357
+ "inheritedFrom": {
107358
+ "name": "SbbElement",
107359
+ "module": "core/base-elements/element.js"
107360
+ }
107361
+ },
107362
+ {
107363
+ "kind": "field",
107364
+ "name": "_hydrationRequired",
107365
+ "type": {
107366
+ "text": "boolean"
107367
+ },
107368
+ "privacy": "private",
107369
+ "default": "!!this.shadowRoot",
107370
+ "inheritedFrom": {
107371
+ "name": "SbbElement",
107372
+ "module": "core/base-elements/element.js"
107373
+ }
107374
+ },
107375
+ {
107376
+ "kind": "field",
107377
+ "name": "_hydrationComplete",
107378
+ "privacy": "private",
107379
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
107380
+ "inheritedFrom": {
107381
+ "name": "SbbElement",
107382
+ "module": "core/base-elements/element.js"
107383
+ }
107384
+ },
107385
+ {
107386
+ "kind": "field",
107387
+ "name": "_resolveHydration",
107388
+ "type": {
107389
+ "text": "(hydrationRequired: boolean) => void"
107390
+ },
107391
+ "privacy": "private",
107392
+ "inheritedFrom": {
107393
+ "name": "SbbElement",
107394
+ "module": "core/base-elements/element.js"
107395
+ }
107396
+ },
107397
+ {
107398
+ "kind": "field",
107399
+ "name": "_textObserver",
107400
+ "type": {
107401
+ "text": "MutationObserver | undefined"
107402
+ },
107403
+ "privacy": "private",
107404
+ "inheritedFrom": {
107405
+ "name": "SbbElement",
107406
+ "module": "core/base-elements/element.js"
107407
+ }
107408
+ },
107409
+ {
107410
+ "kind": "field",
107411
+ "name": "hydrationRequired",
107412
+ "type": {
107413
+ "text": "boolean"
107414
+ },
107415
+ "privacy": "protected",
107416
+ "description": "Returns whether hydration is required and not completed.",
107417
+ "readonly": true,
107418
+ "inheritedFrom": {
107419
+ "name": "SbbElement",
107420
+ "module": "core/base-elements/element.js"
107421
+ },
107422
+ "default": "!!this.shadowRoot"
107423
+ },
107424
+ {
107425
+ "kind": "method",
107426
+ "name": "finalizeStyles",
107427
+ "privacy": "protected",
107428
+ "static": true,
107429
+ "return": {
107430
+ "type": {
107431
+ "text": "CSSResultOrNative[]"
107432
+ }
107433
+ },
107434
+ "parameters": [
107435
+ {
107436
+ "name": "_styles",
107437
+ "type": {
107438
+ "text": "CSSResultGroup"
107439
+ }
107440
+ }
107441
+ ],
107442
+ "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
107443
+ "inheritedFrom": {
107444
+ "name": "SbbElement",
107445
+ "module": "core/base-elements/element.js"
107446
+ }
107447
+ },
107448
+ {
107449
+ "kind": "method",
107450
+ "name": "toggleState",
107451
+ "privacy": "protected",
107452
+ "return": {
107453
+ "type": {
107454
+ "text": "void"
107455
+ }
107456
+ },
107457
+ "parameters": [
107458
+ {
107459
+ "name": "value",
107460
+ "type": {
107461
+ "text": "string"
107462
+ }
107463
+ },
107464
+ {
107465
+ "name": "force",
107466
+ "optional": true,
107467
+ "type": {
107468
+ "text": "boolean"
107469
+ }
107470
+ }
107471
+ ],
107472
+ "inheritedFrom": {
107473
+ "name": "SbbElement",
107474
+ "module": "core/base-elements/element.js"
107475
+ }
107476
+ },
107477
+ {
107478
+ "kind": "method",
107479
+ "name": "_slotchangeHandler",
107480
+ "privacy": "private",
107481
+ "return": {
107482
+ "type": {
107483
+ "text": "void"
107484
+ }
107485
+ },
107486
+ "parameters": [
107487
+ {
107488
+ "name": "event",
107489
+ "type": {
107490
+ "text": "Event"
107491
+ }
107492
+ },
107493
+ {
107494
+ "name": "slot",
107495
+ "type": {
107496
+ "text": "HTMLSlotElement"
107497
+ }
107498
+ }
107499
+ ],
107500
+ "inheritedFrom": {
107501
+ "name": "SbbElement",
107502
+ "module": "core/base-elements/element.js"
107503
+ }
107504
+ },
107505
+ {
107506
+ "kind": "method",
107507
+ "name": "_handleSlotChangeForSlottedState",
107508
+ "privacy": "private",
107509
+ "return": {
107510
+ "type": {
107511
+ "text": "void"
107512
+ }
107513
+ },
107514
+ "parameters": [
107515
+ {
107516
+ "name": "slot",
107517
+ "type": {
107518
+ "text": "HTMLSlotElement"
107519
+ }
107520
+ }
107521
+ ],
107522
+ "inheritedFrom": {
107523
+ "name": "SbbElement",
107524
+ "module": "core/base-elements/element.js"
107525
+ }
107526
+ },
107527
+ {
107528
+ "kind": "method",
107529
+ "name": "_updateSlottedState",
107530
+ "privacy": "private",
107531
+ "return": {
107532
+ "type": {
107533
+ "text": "void"
107534
+ }
107535
+ },
107536
+ "parameters": [
107537
+ {
107538
+ "name": "slot",
107539
+ "type": {
107540
+ "text": "HTMLSlotElement"
107541
+ }
107542
+ }
107543
+ ],
107544
+ "inheritedFrom": {
107545
+ "name": "SbbElement",
107546
+ "module": "core/base-elements/element.js"
107547
+ }
107548
+ },
107549
+ {
107550
+ "kind": "method",
107551
+ "name": "_observeTextNodesInSlot",
107552
+ "privacy": "private",
107553
+ "return": {
107554
+ "type": {
107555
+ "text": "void"
107556
+ }
107557
+ },
107558
+ "parameters": [
107559
+ {
107560
+ "name": "slot",
107561
+ "type": {
107562
+ "text": "HTMLSlotElement"
107563
+ }
107564
+ }
107565
+ ],
107566
+ "inheritedFrom": {
107567
+ "name": "SbbElement",
107568
+ "module": "core/base-elements/element.js"
107569
+ }
107570
+ },
107571
+ {
107572
+ "kind": "method",
107573
+ "name": "_hasSlottedContent",
107574
+ "privacy": "private",
107575
+ "return": {
107576
+ "type": {
107577
+ "text": "boolean"
107578
+ }
107579
+ },
107580
+ "parameters": [
107581
+ {
107582
+ "name": "slot",
107583
+ "type": {
107584
+ "text": "HTMLSlotElement"
107585
+ }
107586
+ }
107587
+ ],
107588
+ "inheritedFrom": {
107589
+ "name": "SbbElement",
107590
+ "module": "core/base-elements/element.js"
107591
+ }
107592
+ }
107593
+ ],
107594
+ "mixins": [
107595
+ {
107596
+ "name": "SbbNegativeMixin",
107597
+ "module": "core.js"
107598
+ }
107599
+ ],
107600
+ "superclass": {
107601
+ "name": "SbbTitleBase",
107602
+ "module": "title.pure.js"
107603
+ },
107604
+ "tagName": "sbb-dialog-title",
107605
+ "customElement": true,
107606
+ "attributes": [
107607
+ {
107608
+ "name": "negative",
107609
+ "type": {
107610
+ "text": "boolean"
107611
+ },
107612
+ "default": "false",
107613
+ "description": "Negative coloring variant flag.",
107614
+ "fieldName": "negative",
107615
+ "inheritedFrom": {
107616
+ "name": "SbbNegativeMixin",
107617
+ "module": "core/mixins/negative-mixin.js"
107618
+ }
107619
+ },
107620
+ {
107621
+ "name": "level",
107622
+ "type": {
107623
+ "text": "SbbHeadingLevel",
107624
+ "resolved": "'1' | '2' | '3' | '4' | '5' | '6'"
107625
+ },
107626
+ "default": "'1'",
107627
+ "description": "Title level",
107628
+ "fieldName": "level",
107629
+ "inheritedFrom": {
107630
+ "name": "SbbTitleBase",
107631
+ "module": "title/title-base.js"
107632
+ }
107633
+ },
107634
+ {
107635
+ "name": "visual-level",
107636
+ "type": {
107637
+ "text": "SbbHeadingLevel | null",
107638
+ "resolved": "'1' | '2' | '3' | '4' | '5' | '6' | null"
107639
+ },
107640
+ "default": "null",
107641
+ "description": "Visual level for the title.",
107642
+ "fieldName": "visualLevel",
107643
+ "inheritedFrom": {
107644
+ "name": "SbbTitleBase",
107645
+ "module": "title/title-base.js"
107646
+ }
107647
+ }
107648
+ ]
107649
+ }
107650
+ ],
107651
+ "exports": [
107652
+ {
107653
+ "kind": "js",
107654
+ "name": "SbbDialogTitleElement",
107655
+ "declaration": {
107656
+ "name": "SbbDialogTitleElement",
107657
+ "module": "dialog/dialog-title/dialog-title.component.js"
107658
+ }
107659
+ }
107660
+ ]
107661
+ },
107662
+ {
107663
+ "kind": "javascript-module",
107664
+ "path": "dialog.pure.js",
107665
+ "declarations": [],
107666
+ "exports": [
107667
+ {
107668
+ "kind": "js",
107669
+ "name": "*",
107670
+ "declaration": {
107671
+ "name": "*",
107672
+ "module": "dialog/dialog-actions/dialog-actions.component.js"
107673
+ }
107674
+ },
107675
+ {
107676
+ "kind": "js",
107677
+ "name": "*",
107678
+ "declaration": {
107679
+ "name": "*",
107680
+ "module": "dialog/dialog-close-button/dialog-close-button.component.js"
107681
+ }
107682
+ },
107683
+ {
107684
+ "kind": "js",
107685
+ "name": "*",
107686
+ "declaration": {
107687
+ "name": "*",
107688
+ "module": "dialog/dialog-content/dialog-content.component.js"
107689
+ }
107690
+ },
107691
+ {
107692
+ "kind": "js",
107693
+ "name": "*",
107694
+ "declaration": {
107695
+ "name": "*",
107696
+ "module": "dialog/dialog-title/dialog-title.component.js"
107697
+ }
107698
+ },
107699
+ {
107700
+ "kind": "js",
107701
+ "name": "*",
107702
+ "declaration": {
107703
+ "name": "*",
107704
+ "module": "dialog/dialog/dialog.component.js"
107705
+ }
107706
+ }
107707
+ ]
107708
+ },
107709
+ {
107710
+ "kind": "javascript-module",
107711
+ "path": "dialog.js",
107712
+ "declarations": [],
107713
+ "exports": [
107714
+ {
107715
+ "kind": "js",
107716
+ "name": "*",
107717
+ "declaration": {
107718
+ "name": "*",
107719
+ "module": "dialog.pure.js"
107720
+ }
107721
+ }
107722
+ ]
107723
+ },
107724
+ {
107725
+ "kind": "javascript-module",
107726
+ "path": "divider.js",
107727
+ "declarations": [],
107728
+ "exports": [
107729
+ {
107730
+ "kind": "js",
107731
+ "name": "*",
107732
+ "declaration": {
107733
+ "name": "*",
107734
+ "module": "divider.pure.js"
107735
+ }
107736
+ }
107737
+ ]
107738
+ },
107739
+ {
107740
+ "kind": "javascript-module",
107741
+ "path": "download/download/download.component.js",
107742
+ "declarations": [
107743
+ {
107744
+ "kind": "class",
107745
+ "description": "It displays a downloadable document, styled as a card.\n\nInherits link properties from `SbbLinkBaseElement`: `href`, `target`, `rel`\nand `accessibilityLabel`. The download behavior is always enabled.",
107746
+ "name": "SbbDownloadElement",
107747
+ "slots": [
107748
+ {
107749
+ "description": "Use the unnamed slot to add custom content. Optional.",
107750
+ "name": ""
107751
+ },
107752
+ {
107753
+ "description": "Slot used to render a `sbb-download-info`. A `sbb-download-info` placed in the unnamed slot is automatically moved to this slot. Optional.",
107754
+ "name": "info"
107755
+ },
107756
+ {
107757
+ "description": "Use this slot to display a custom icon, by providing a `sbb-icon` component. Optional.",
107758
+ "name": "icon"
107759
+ }
107760
+ ],
107761
+ "members": [
107762
+ {
107763
+ "kind": "field",
107764
+ "name": "elementName",
107765
+ "type": {
107766
+ "text": "string"
107767
+ },
107768
+ "privacy": "public",
107769
+ "static": true,
107770
+ "readonly": true,
107771
+ "inheritedFrom": {
107772
+ "name": "SbbElement",
107773
+ "module": "core/base-elements/element.js"
107774
+ },
107775
+ "default": "'sbb-download'"
107776
+ },
107777
+ {
107778
+ "kind": "field",
107779
+ "name": "elementDependencies",
107780
+ "type": {
107781
+ "text": "SbbElementType[]"
107782
+ },
107783
+ "privacy": "public",
107784
+ "static": true,
107785
+ "inheritedFrom": {
107786
+ "name": "SbbElement",
107787
+ "module": "core/base-elements/element.js"
107788
+ },
107789
+ "default": "[SbbSecondaryButtonStaticElement]"
107790
+ },
107791
+ {
107792
+ "kind": "field",
107793
+ "name": "color",
107794
+ "type": {
107795
+ "text": "'white' | 'milk'"
107796
+ },
107797
+ "privacy": "public",
107798
+ "default": "'white'",
107799
+ "description": "Option to set the component's background color.",
107800
+ "attribute": "color",
107801
+ "reflects": true
107802
+ },
107803
+ {
107804
+ "kind": "field",
107805
+ "name": "label",
107806
+ "type": {
107807
+ "text": "string"
107808
+ },
107809
+ "privacy": "public",
107810
+ "default": "''",
107811
+ "description": "The label of the download. Defaults to the file name of the `href`.",
107812
+ "attribute": "label"
107813
+ },
107814
+ {
107815
+ "kind": "field",
107816
+ "name": "download",
107817
+ "type": {
107818
+ "text": "boolean"
107819
+ },
107820
+ "privacy": "public",
107821
+ "default": "true",
107822
+ "description": "The download behavior is always enabled and handled internally, therefore\nthis property cannot be disabled and is not reflected to the host element.",
107823
+ "attribute": "download",
107824
+ "reflects": true,
107825
+ "inheritedFrom": {
107826
+ "name": "SbbLinkBaseElement",
107827
+ "module": "core/base-elements/link-base-element.js"
107828
+ }
107829
+ },
107830
+ {
107831
+ "kind": "field",
107832
+ "name": "fileName",
107833
+ "type": {
107834
+ "text": "string"
107835
+ },
107836
+ "privacy": "public",
107837
+ "description": "The file name extracted from the `href` (e.g. `report.pdf`).",
107838
+ "readonly": true
107839
+ },
107840
+ {
107841
+ "kind": "field",
107842
+ "name": "fileExtension",
107843
+ "type": {
107844
+ "text": "string"
107845
+ },
107846
+ "privacy": "public",
107847
+ "description": "The lower-cased file extension extracted from the `href` (e.g. `pdf`), if any.",
107848
+ "readonly": true
107849
+ },
107850
+ {
107851
+ "kind": "field",
107852
+ "name": "_languageController",
107853
+ "privacy": "private",
107854
+ "default": "new SbbLanguageController(this)"
107855
+ },
107856
+ {
107857
+ "kind": "method",
107858
+ "name": "renderIconName",
107859
+ "privacy": "protected",
107860
+ "return": {
107861
+ "type": {
107862
+ "text": "string"
107863
+ }
107864
+ },
107865
+ "description": "Provides a default icon based on the `href` extension, if no icon name is\nset.",
107866
+ "inheritedFrom": {
107867
+ "name": "SbbIconNameMixin",
107868
+ "module": "icon/icon-name-mixin.js"
107869
+ }
107870
+ },
107871
+ {
107872
+ "kind": "method",
107873
+ "name": "_updateDescribedByElements",
107874
+ "privacy": "private",
107875
+ "return": {
107876
+ "type": {
107877
+ "text": "void"
107878
+ }
107879
+ }
107880
+ },
107881
+ {
107882
+ "kind": "method",
107883
+ "name": "_downloadInfoElements",
107884
+ "privacy": "private",
107885
+ "return": {
107886
+ "type": {
107887
+ "text": "NodeListOf<HTMLElement>"
107888
+ }
107889
+ }
107890
+ },
107891
+ {
107892
+ "kind": "method",
107893
+ "name": "renderTemplate",
107894
+ "privacy": "protected",
107895
+ "return": {
107896
+ "type": {
107897
+ "text": "TemplateResult"
107898
+ }
107899
+ },
107900
+ "description": "Override this method to render the component template.",
107901
+ "inheritedFrom": {
107902
+ "name": "SbbActionBaseElement",
107903
+ "module": "core/base-elements/action-base-element.js"
107904
+ }
107905
+ },
107906
+ {
107907
+ "kind": "field",
107908
+ "name": "iconName",
107909
+ "type": {
107910
+ "text": "string"
107911
+ },
107912
+ "privacy": "public",
107913
+ "default": "''",
107914
+ "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.",
107915
+ "attribute": "icon-name",
107916
+ "inheritedFrom": {
107917
+ "name": "SbbIconNameMixin",
107918
+ "module": "icon/icon-name-mixin.js"
107919
+ }
107920
+ },
107921
+ {
107922
+ "kind": "method",
107923
+ "name": "renderIconSlot",
107924
+ "privacy": "protected",
107925
+ "return": {
107926
+ "type": {
107927
+ "text": "TemplateResult"
107928
+ }
107929
+ },
107930
+ "parameters": [
107931
+ {
107932
+ "name": "classname",
107933
+ "optional": true,
107934
+ "type": {
107935
+ "text": "string"
107936
+ }
107937
+ }
107938
+ ],
107939
+ "inheritedFrom": {
107940
+ "name": "SbbIconNameMixin",
107941
+ "module": "icon/icon-name-mixin.js"
107942
+ }
107943
+ },
107944
+ {
107945
+ "kind": "method",
107946
+ "name": "_renderIconName",
107947
+ "privacy": "private",
107948
+ "return": {
107949
+ "type": {
107950
+ "text": "string"
107951
+ }
107952
+ },
107953
+ "inheritedFrom": {
107954
+ "name": "SbbIconNameMixin",
107955
+ "module": "icon/icon-name-mixin.js"
107956
+ }
107957
+ },
107958
+ {
107959
+ "kind": "field",
107960
+ "name": "href",
107961
+ "type": {
107962
+ "text": "string"
107963
+ },
107964
+ "privacy": "public",
107965
+ "default": "''",
107966
+ "description": "The href value you want to link to.",
107967
+ "attribute": "href",
107968
+ "reflects": true,
107969
+ "inheritedFrom": {
107970
+ "name": "SbbLinkBaseElement",
107971
+ "module": "core/base-elements/link-base-element.js"
107972
+ }
107973
+ },
107974
+ {
107975
+ "kind": "field",
107976
+ "name": "target",
107977
+ "type": {
107978
+ "text": "'_blank' | '_self' | '_parent' | '_top' | string"
107979
+ },
107980
+ "privacy": "public",
107981
+ "default": "''",
107982
+ "description": "Where to display the linked URL.",
107983
+ "attribute": "target",
107984
+ "reflects": true,
107985
+ "inheritedFrom": {
107986
+ "name": "SbbLinkBaseElement",
107987
+ "module": "core/base-elements/link-base-element.js"
107988
+ }
107989
+ },
107990
+ {
107991
+ "kind": "field",
107992
+ "name": "rel",
107993
+ "type": {
107994
+ "text": "string"
107995
+ },
107996
+ "privacy": "public",
107997
+ "default": "''",
107998
+ "description": "The relationship of the linked URL as space-separated link types.",
107999
+ "attribute": "rel",
108000
+ "reflects": true,
108001
+ "inheritedFrom": {
108002
+ "name": "SbbLinkBaseElement",
108003
+ "module": "core/base-elements/link-base-element.js"
108004
+ }
108005
+ },
108006
+ {
108007
+ "kind": "field",
108008
+ "name": "accessibilityLabel",
108009
+ "type": {
108010
+ "text": "string"
108011
+ },
108012
+ "privacy": "public",
108013
+ "default": "''",
108014
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108015
+ "attribute": "accessibility-label",
108016
+ "inheritedFrom": {
108017
+ "name": "SbbLinkBaseElement",
108018
+ "module": "core/base-elements/link-base-element.js"
108019
+ }
108020
+ },
108021
+ {
108022
+ "kind": "field",
108023
+ "name": "accessibilityCurrent",
108024
+ "type": {
108025
+ "text": "string"
108026
+ },
108027
+ "privacy": "public",
108028
+ "default": "''",
108029
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108030
+ "attribute": "accessibility-current",
108031
+ "inheritedFrom": {
108032
+ "name": "SbbLinkBaseElement",
108033
+ "module": "core/base-elements/link-base-element.js"
108034
+ }
108035
+ },
108036
+ {
108037
+ "kind": "field",
108038
+ "name": "language",
108039
+ "privacy": "protected",
108040
+ "default": "new SbbLanguageController(this)",
108041
+ "inheritedFrom": {
108042
+ "name": "SbbLinkBaseElement",
108043
+ "module": "core/base-elements/link-base-element.js"
108044
+ }
108045
+ },
108046
+ {
108047
+ "kind": "field",
108048
+ "name": "anchorRole",
108049
+ "type": {
108050
+ "text": "string | null"
108051
+ },
108052
+ "privacy": "protected",
108053
+ "readonly": true,
108054
+ "default": "null",
108055
+ "inheritedFrom": {
108056
+ "name": "SbbLinkBaseElement",
108057
+ "module": "core/base-elements/link-base-element.js"
108058
+ }
108059
+ },
108060
+ {
108061
+ "kind": "field",
108062
+ "name": "_evaluateRelAttribute",
108063
+ "privacy": "private",
108064
+ "inheritedFrom": {
108065
+ "name": "SbbLinkBaseElement",
108066
+ "module": "core/base-elements/link-base-element.js"
108067
+ }
108068
+ },
108069
+ {
108070
+ "kind": "method",
108071
+ "name": "renderLink",
108072
+ "privacy": "protected",
108073
+ "return": {
108074
+ "type": {
108075
+ "text": "TemplateResult"
108076
+ }
108077
+ },
108078
+ "parameters": [
108079
+ {
108080
+ "name": "renderContent",
108081
+ "type": {
108082
+ "text": "TemplateResult"
108083
+ }
108084
+ }
108085
+ ],
108086
+ "inheritedFrom": {
108087
+ "name": "SbbLinkBaseElement",
108088
+ "module": "core/base-elements/link-base-element.js"
108089
+ }
108090
+ },
108091
+ {
108092
+ "kind": "field",
108093
+ "name": "maybeDisabled",
108094
+ "type": {
108095
+ "text": "boolean | undefined"
108096
+ },
108097
+ "privacy": "protected",
108098
+ "readonly": true,
108099
+ "inheritedFrom": {
108100
+ "name": "SbbActionBaseElement",
108101
+ "module": "core/base-elements/action-base-element.js"
108102
+ }
108103
+ },
108104
+ {
108105
+ "kind": "field",
108106
+ "name": "maybeDisabledInteractive",
108107
+ "type": {
108108
+ "text": "boolean | undefined"
108109
+ },
108110
+ "privacy": "protected",
108111
+ "readonly": true,
108112
+ "inheritedFrom": {
108113
+ "name": "SbbActionBaseElement",
108114
+ "module": "core/base-elements/action-base-element.js"
108115
+ }
108116
+ },
108117
+ {
108118
+ "kind": "method",
108119
+ "name": "setupBaseEventHandlers",
108120
+ "privacy": "protected",
108121
+ "return": {
108122
+ "type": {
108123
+ "text": "void"
108124
+ }
108125
+ },
108126
+ "inheritedFrom": {
108127
+ "name": "SbbActionBaseElement",
108128
+ "module": "core/base-elements/action-base-element.js"
108129
+ }
108130
+ },
108131
+ {
108132
+ "kind": "field",
108133
+ "name": "['_$sbbElement$']",
108134
+ "type": {
108135
+ "text": "boolean"
108136
+ },
108137
+ "privacy": "public",
108138
+ "static": true,
108139
+ "default": "true",
108140
+ "inheritedFrom": {
108141
+ "name": "SbbElement",
108142
+ "module": "core/base-elements/element.js"
108143
+ }
108144
+ },
108145
+ {
108146
+ "kind": "field",
108147
+ "name": "role",
108148
+ "type": {
108149
+ "text": "ElementInternals['role'] | undefined"
108150
+ },
108151
+ "privacy": "public",
108152
+ "static": true,
108153
+ "inheritedFrom": {
108154
+ "name": "SbbElement",
108155
+ "module": "core/base-elements/element.js"
108156
+ }
108157
+ },
108158
+ {
108159
+ "kind": "field",
108160
+ "name": "_controllers",
108161
+ "type": {
108162
+ "text": "Set<SbbReactiveController> | undefined"
108163
+ },
108164
+ "privacy": "private",
108165
+ "inheritedFrom": {
108166
+ "name": "SbbElement",
108167
+ "module": "core/base-elements/element.js"
108168
+ }
108169
+ },
108170
+ {
108171
+ "kind": "field",
108172
+ "name": "_hydrationRequired",
108173
+ "type": {
108174
+ "text": "boolean"
108175
+ },
108176
+ "privacy": "private",
108177
+ "default": "!!this.shadowRoot",
108178
+ "inheritedFrom": {
108179
+ "name": "SbbElement",
108180
+ "module": "core/base-elements/element.js"
108181
+ }
108182
+ },
108183
+ {
108184
+ "kind": "field",
108185
+ "name": "_hydrationComplete",
108186
+ "privacy": "private",
108187
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
108188
+ "inheritedFrom": {
108189
+ "name": "SbbElement",
108190
+ "module": "core/base-elements/element.js"
108191
+ }
108192
+ },
108193
+ {
108194
+ "kind": "field",
108195
+ "name": "_resolveHydration",
108196
+ "type": {
108197
+ "text": "(hydrationRequired: boolean) => void"
108198
+ },
108199
+ "privacy": "private",
108200
+ "inheritedFrom": {
108201
+ "name": "SbbElement",
108202
+ "module": "core/base-elements/element.js"
108203
+ }
108204
+ },
108205
+ {
108206
+ "kind": "field",
108207
+ "name": "_textObserver",
108208
+ "type": {
108209
+ "text": "MutationObserver | undefined"
108210
+ },
108211
+ "privacy": "private",
108212
+ "inheritedFrom": {
108213
+ "name": "SbbElement",
108214
+ "module": "core/base-elements/element.js"
108215
+ }
108216
+ },
108217
+ {
108218
+ "kind": "field",
108219
+ "name": "hydrationRequired",
108220
+ "type": {
108221
+ "text": "boolean"
108222
+ },
108223
+ "privacy": "protected",
108224
+ "description": "Returns whether hydration is required and not completed.",
108225
+ "readonly": true,
108226
+ "inheritedFrom": {
108227
+ "name": "SbbElement",
108228
+ "module": "core/base-elements/element.js"
108229
+ },
108230
+ "default": "!!this.shadowRoot"
108231
+ },
108232
+ {
108233
+ "kind": "method",
108234
+ "name": "finalizeStyles",
108235
+ "privacy": "protected",
108236
+ "static": true,
108237
+ "return": {
108238
+ "type": {
108239
+ "text": "CSSResultOrNative[]"
108240
+ }
108241
+ },
108242
+ "parameters": [
108243
+ {
108244
+ "name": "_styles",
108245
+ "type": {
108246
+ "text": "CSSResultGroup"
108247
+ }
108248
+ }
108249
+ ],
108250
+ "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
108251
+ "inheritedFrom": {
108252
+ "name": "SbbElement",
108253
+ "module": "core/base-elements/element.js"
108254
+ }
108255
+ },
108256
+ {
108257
+ "kind": "method",
108258
+ "name": "toggleState",
108259
+ "privacy": "protected",
108260
+ "return": {
108261
+ "type": {
108262
+ "text": "void"
108263
+ }
108264
+ },
108265
+ "parameters": [
108266
+ {
108267
+ "name": "value",
108268
+ "type": {
108269
+ "text": "string"
108270
+ }
108271
+ },
108272
+ {
108273
+ "name": "force",
108274
+ "optional": true,
108275
+ "type": {
108276
+ "text": "boolean"
108277
+ }
108278
+ }
108279
+ ],
108280
+ "inheritedFrom": {
108281
+ "name": "SbbElement",
108282
+ "module": "core/base-elements/element.js"
108283
+ }
108284
+ },
108285
+ {
108286
+ "kind": "method",
108287
+ "name": "_slotchangeHandler",
108288
+ "privacy": "private",
108289
+ "return": {
108290
+ "type": {
108291
+ "text": "void"
108292
+ }
108293
+ },
108294
+ "parameters": [
108295
+ {
108296
+ "name": "event",
108297
+ "type": {
108298
+ "text": "Event"
108299
+ }
108300
+ },
108301
+ {
108302
+ "name": "slot",
108303
+ "type": {
108304
+ "text": "HTMLSlotElement"
108305
+ }
108306
+ }
108307
+ ],
108308
+ "inheritedFrom": {
108309
+ "name": "SbbElement",
108310
+ "module": "core/base-elements/element.js"
108311
+ }
108312
+ },
108313
+ {
108314
+ "kind": "method",
108315
+ "name": "_handleSlotChangeForSlottedState",
108316
+ "privacy": "private",
108317
+ "return": {
108318
+ "type": {
108319
+ "text": "void"
108320
+ }
108321
+ },
108322
+ "parameters": [
108323
+ {
108324
+ "name": "slot",
108325
+ "type": {
108326
+ "text": "HTMLSlotElement"
108327
+ }
108328
+ }
108329
+ ],
108330
+ "inheritedFrom": {
108331
+ "name": "SbbElement",
108332
+ "module": "core/base-elements/element.js"
108333
+ }
108334
+ },
108335
+ {
108336
+ "kind": "method",
108337
+ "name": "_updateSlottedState",
108338
+ "privacy": "private",
108339
+ "return": {
108340
+ "type": {
108341
+ "text": "void"
108342
+ }
108343
+ },
108344
+ "parameters": [
108345
+ {
108346
+ "name": "slot",
108347
+ "type": {
108348
+ "text": "HTMLSlotElement"
108349
+ }
108350
+ }
108351
+ ],
108352
+ "inheritedFrom": {
108353
+ "name": "SbbElement",
108354
+ "module": "core/base-elements/element.js"
108355
+ }
108356
+ },
108357
+ {
108358
+ "kind": "method",
108359
+ "name": "_observeTextNodesInSlot",
108360
+ "privacy": "private",
108361
+ "return": {
108362
+ "type": {
108363
+ "text": "void"
108364
+ }
108365
+ },
108366
+ "parameters": [
108367
+ {
108368
+ "name": "slot",
108369
+ "type": {
108370
+ "text": "HTMLSlotElement"
108371
+ }
108372
+ }
108373
+ ],
108374
+ "inheritedFrom": {
108375
+ "name": "SbbElement",
108376
+ "module": "core/base-elements/element.js"
108377
+ }
108378
+ },
108379
+ {
108380
+ "kind": "method",
108381
+ "name": "_hasSlottedContent",
108382
+ "privacy": "private",
108383
+ "return": {
108384
+ "type": {
108385
+ "text": "boolean"
108386
+ }
108387
+ },
108388
+ "parameters": [
108389
+ {
108390
+ "name": "slot",
108391
+ "type": {
108392
+ "text": "HTMLSlotElement"
108393
+ }
108394
+ }
108395
+ ],
108396
+ "inheritedFrom": {
108397
+ "name": "SbbElement",
108398
+ "module": "core/base-elements/element.js"
108399
+ }
108400
+ }
108401
+ ],
108402
+ "attributes": [
108403
+ {
108404
+ "name": "color",
108405
+ "type": {
108406
+ "text": "'white' | 'milk'"
108407
+ },
108408
+ "default": "'white'",
108409
+ "description": "Option to set the component's background color.",
108410
+ "fieldName": "color"
108411
+ },
108412
+ {
108413
+ "name": "label",
108414
+ "type": {
108415
+ "text": "string"
108416
+ },
108417
+ "default": "''",
108418
+ "description": "The label of the download. Defaults to the file name of the `href`.",
108419
+ "fieldName": "label"
108420
+ },
108421
+ {
108422
+ "name": "download",
108423
+ "type": {
108424
+ "text": "boolean"
108425
+ },
108426
+ "default": "true",
108427
+ "description": "The download behavior is always enabled and handled internally, therefore\nthis property cannot be disabled and is not reflected to the host element.",
108428
+ "fieldName": "download",
108429
+ "inheritedFrom": {
108430
+ "name": "SbbLinkBaseElement",
108431
+ "module": "core/base-elements/link-base-element.js"
108432
+ }
108433
+ },
108434
+ {
108435
+ "name": "icon-name",
108436
+ "type": {
108437
+ "text": "string"
108438
+ },
108439
+ "default": "''",
108440
+ "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.",
108441
+ "fieldName": "iconName",
108442
+ "inheritedFrom": {
108443
+ "name": "SbbIconNameMixin",
108444
+ "module": "icon/icon-name-mixin.js"
108445
+ }
108446
+ },
108447
+ {
108448
+ "name": "href",
108449
+ "type": {
108450
+ "text": "string"
108451
+ },
108452
+ "default": "''",
108453
+ "description": "The href value you want to link to.",
108454
+ "fieldName": "href",
108455
+ "inheritedFrom": {
108456
+ "name": "SbbLinkBaseElement",
108457
+ "module": "core/base-elements/link-base-element.js"
108458
+ }
108459
+ },
108460
+ {
108461
+ "name": "target",
108462
+ "type": {
108463
+ "text": "'_blank' | '_self' | '_parent' | '_top' | string"
108464
+ },
108465
+ "default": "''",
108466
+ "description": "Where to display the linked URL.",
108467
+ "fieldName": "target",
108468
+ "inheritedFrom": {
108469
+ "name": "SbbLinkBaseElement",
108470
+ "module": "core/base-elements/link-base-element.js"
108471
+ }
108472
+ },
108473
+ {
108474
+ "name": "rel",
108475
+ "type": {
108476
+ "text": "string"
108477
+ },
108478
+ "default": "''",
108479
+ "description": "The relationship of the linked URL as space-separated link types.",
108480
+ "fieldName": "rel",
108481
+ "inheritedFrom": {
108482
+ "name": "SbbLinkBaseElement",
108483
+ "module": "core/base-elements/link-base-element.js"
108484
+ }
108485
+ },
108486
+ {
108487
+ "name": "accessibility-label",
108488
+ "type": {
108489
+ "text": "string"
108490
+ },
108491
+ "default": "''",
108492
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108493
+ "fieldName": "accessibilityLabel",
108494
+ "inheritedFrom": {
108495
+ "name": "SbbLinkBaseElement",
108496
+ "module": "core/base-elements/link-base-element.js"
108497
+ }
108498
+ },
108499
+ {
108500
+ "name": "accessibility-current",
108501
+ "type": {
108502
+ "text": "string"
108503
+ },
108504
+ "default": "''",
108505
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108506
+ "fieldName": "accessibilityCurrent",
108507
+ "inheritedFrom": {
108508
+ "name": "SbbLinkBaseElement",
108509
+ "module": "core/base-elements/link-base-element.js"
108510
+ }
108511
+ }
108512
+ ],
108513
+ "mixins": [
108514
+ {
108515
+ "name": "SbbIconNameMixin",
108516
+ "module": "icon.pure.js"
108517
+ }
108518
+ ],
108519
+ "superclass": {
108520
+ "name": "SbbLinkBaseElement",
107179
108521
  "module": "core.js"
107180
108522
  },
107181
- "tagName": "sbb-dialog-content",
108523
+ "tagName": "sbb-download",
107182
108524
  "customElement": true
107183
108525
  }
107184
108526
  ],
107185
108527
  "exports": [
107186
108528
  {
107187
108529
  "kind": "js",
107188
- "name": "SbbDialogContentElement",
108530
+ "name": "SbbDownloadElement",
107189
108531
  "declaration": {
107190
- "name": "SbbDialogContentElement",
107191
- "module": "dialog/dialog-content/dialog-content.component.js"
108532
+ "name": "SbbDownloadElement",
108533
+ "module": "download/download/download.component.js"
107192
108534
  }
107193
108535
  }
107194
108536
  ]
107195
108537
  },
107196
108538
  {
107197
108539
  "kind": "javascript-module",
107198
- "path": "dialog/dialog-title/dialog-title.component.js",
108540
+ "path": "download/download-info/download-info.component.js",
107199
108541
  "declarations": [
107200
108542
  {
107201
108543
  "kind": "class",
107202
- "description": "It displays a title inside a dialog header.",
107203
- "name": "SbbDialogTitleElement",
107204
- "slots": [
107205
- {
107206
- "description": "Use the unnamed slot for the content of the dialog-title.",
107207
- "name": ""
107208
- }
107209
- ],
108544
+ "description": "It displays metadata of a document; used within a `sbb-download`.",
108545
+ "name": "SbbDownloadInfoElement",
107210
108546
  "members": [
107211
108547
  {
107212
108548
  "kind": "field",
@@ -107217,71 +108553,159 @@
107217
108553
  "privacy": "public",
107218
108554
  "static": true,
107219
108555
  "readonly": true,
108556
+ "default": "'sbb-download-info'",
107220
108557
  "inheritedFrom": {
107221
108558
  "name": "SbbElement",
107222
108559
  "module": "core/base-elements/element.js"
108560
+ }
108561
+ },
108562
+ {
108563
+ "kind": "field",
108564
+ "name": "type",
108565
+ "type": {
108566
+ "text": "string"
107223
108567
  },
107224
- "default": "'sbb-dialog-title'"
108568
+ "privacy": "public",
108569
+ "default": "''",
108570
+ "description": "The type of the document (e.g. `PDF`). Falls back to the extension of the\nparent `sbb-download`.",
108571
+ "attribute": "type"
107225
108572
  },
107226
108573
  {
107227
108574
  "kind": "field",
107228
- "name": "level",
108575
+ "name": "size",
107229
108576
  "type": {
107230
- "text": "SbbHeadingLevel",
107231
- "resolved": "'1' | '2' | '3' | '4' | '5' | '6'"
108577
+ "text": "string"
107232
108578
  },
107233
108579
  "privacy": "public",
107234
- "default": "'2'",
107235
- "description": "Title level",
107236
- "attribute": "level",
107237
- "reflects": true,
107238
- "inheritedFrom": {
107239
- "name": "SbbTitleBase",
107240
- "module": "title/title-base.js"
107241
- }
108580
+ "default": "''",
108581
+ "description": "The size of the document. If the value contains non-numeric characters it\nis rendered as is, otherwise it is interpreted as a number of bytes and\nshortened to the closest unit.",
108582
+ "attribute": "size"
107242
108583
  },
107243
108584
  {
107244
108585
  "kind": "field",
107245
- "name": "visualLevel",
108586
+ "name": "changed",
107246
108587
  "type": {
107247
- "text": "SbbHeadingLevel | null",
107248
- "resolved": "'1' | '2' | '3' | '4' | '5' | '6' | null"
108588
+ "text": "string"
107249
108589
  },
107250
108590
  "privacy": "public",
107251
- "default": "'4'",
107252
- "description": "Visual level for the title.",
107253
- "attribute": "visual-level",
107254
- "reflects": true,
107255
- "inheritedFrom": {
107256
- "name": "SbbTitleBase",
107257
- "module": "title/title-base.js"
107258
- }
108591
+ "default": "''",
108592
+ "description": "The date of the latest change of the document, as an ISO 8601 string.",
108593
+ "attribute": "changed"
107259
108594
  },
107260
108595
  {
107261
108596
  "kind": "field",
107262
- "name": "negative",
108597
+ "name": "nonAccessible",
107263
108598
  "type": {
107264
108599
  "text": "boolean"
107265
108600
  },
107266
108601
  "privacy": "public",
107267
108602
  "default": "false",
107268
- "description": "Negative coloring variant flag.",
107269
- "attribute": "negative",
107270
- "reflects": true,
107271
- "inheritedFrom": {
107272
- "name": "SbbNegativeMixin",
107273
- "module": "core/mixins/negative-mixin.js"
107274
- }
108603
+ "description": "Whether the document is not accessible.",
108604
+ "attribute": "non-accessible"
107275
108605
  },
107276
108606
  {
107277
108607
  "kind": "field",
107278
- "name": "role",
108608
+ "name": "_language",
108609
+ "privacy": "private",
108610
+ "default": "new SbbLanguageController(this)"
108611
+ },
108612
+ {
108613
+ "kind": "field",
108614
+ "name": "_dateAdapter",
108615
+ "type": {
108616
+ "text": "DateAdapter"
108617
+ },
108618
+ "privacy": "private"
108619
+ },
108620
+ {
108621
+ "kind": "field",
108622
+ "name": "_resolvedType",
107279
108623
  "type": {
107280
108624
  "text": "string"
107281
108625
  },
108626
+ "privacy": "private",
108627
+ "default": "''"
108628
+ },
108629
+ {
108630
+ "kind": "field",
108631
+ "name": "_typeRedundant",
108632
+ "type": {
108633
+ "text": "boolean"
108634
+ },
108635
+ "privacy": "private",
108636
+ "default": "false"
108637
+ },
108638
+ {
108639
+ "kind": "field",
108640
+ "name": "_resolvedSize",
108641
+ "type": {
108642
+ "text": "string"
108643
+ },
108644
+ "privacy": "private",
108645
+ "default": "''"
108646
+ },
108647
+ {
108648
+ "kind": "field",
108649
+ "name": "_resolvedChanged",
108650
+ "type": {
108651
+ "text": "string"
108652
+ },
108653
+ "privacy": "private",
108654
+ "default": "''"
108655
+ },
108656
+ {
108657
+ "kind": "method",
108658
+ "name": "_resolveType",
108659
+ "privacy": "private",
108660
+ "return": {
108661
+ "type": {
108662
+ "text": "string"
108663
+ }
108664
+ },
108665
+ "description": "Resolves the type, falling back to the extension of the parent download's\nhref."
108666
+ },
108667
+ {
108668
+ "kind": "method",
108669
+ "name": "_isTypeRedundant",
108670
+ "privacy": "private",
108671
+ "return": {
108672
+ "type": {
108673
+ "text": "boolean"
108674
+ }
108675
+ },
108676
+ "description": "Whether the type is already conveyed by the parent download's label.\nWhen the parent download has no explicit `label`, it falls back to the file\nname (e.g. `some-file.pdf`), which already includes the extension. In that\ncase the type is redundant for assistive technology."
108677
+ },
108678
+ {
108679
+ "kind": "method",
108680
+ "name": "_resolveSize",
108681
+ "privacy": "private",
108682
+ "return": {
108683
+ "type": {
108684
+ "text": "string"
108685
+ }
108686
+ },
108687
+ "description": "Formats the size, shortening a pure number of bytes to the closest unit."
108688
+ },
108689
+ {
108690
+ "kind": "method",
108691
+ "name": "_resolveChanged",
108692
+ "privacy": "private",
108693
+ "return": {
108694
+ "type": {
108695
+ "text": "string"
108696
+ }
108697
+ },
108698
+ "description": "Formats the ISO 8601 change date using the configured date adapter, or\nrenders it as is if invalid."
108699
+ },
108700
+ {
108701
+ "kind": "field",
108702
+ "name": "['_$sbbElement$']",
108703
+ "type": {
108704
+ "text": "boolean"
108705
+ },
107282
108706
  "privacy": "public",
107283
108707
  "static": true,
107284
- "default": "'heading'",
108708
+ "default": "true",
107285
108709
  "inheritedFrom": {
107286
108710
  "name": "SbbElement",
107287
108711
  "module": "core/base-elements/element.js"
@@ -107289,13 +108713,12 @@
107289
108713
  },
107290
108714
  {
107291
108715
  "kind": "field",
107292
- "name": "['_$sbbElement$']",
108716
+ "name": "elementDependencies",
107293
108717
  "type": {
107294
- "text": "boolean"
108718
+ "text": "SbbElementType[] | undefined"
107295
108719
  },
107296
108720
  "privacy": "public",
107297
108721
  "static": true,
107298
- "default": "true",
107299
108722
  "inheritedFrom": {
107300
108723
  "name": "SbbElement",
107301
108724
  "module": "core/base-elements/element.js"
@@ -107303,9 +108726,9 @@
107303
108726
  },
107304
108727
  {
107305
108728
  "kind": "field",
107306
- "name": "elementDependencies",
108729
+ "name": "role",
107307
108730
  "type": {
107308
- "text": "SbbElementType[] | undefined"
108731
+ "text": "ElementInternals['role'] | undefined"
107309
108732
  },
107310
108733
  "privacy": "public",
107311
108734
  "static": true,
@@ -107558,77 +108981,66 @@
107558
108981
  }
107559
108982
  }
107560
108983
  ],
107561
- "mixins": [
107562
- {
107563
- "name": "SbbNegativeMixin",
107564
- "module": "core.js"
107565
- }
107566
- ],
107567
- "superclass": {
107568
- "name": "SbbTitleBase",
107569
- "module": "title.pure.js"
107570
- },
107571
- "tagName": "sbb-dialog-title",
107572
- "customElement": true,
107573
108984
  "attributes": [
107574
108985
  {
107575
- "name": "negative",
108986
+ "name": "type",
107576
108987
  "type": {
107577
- "text": "boolean"
108988
+ "text": "string"
107578
108989
  },
107579
- "default": "false",
107580
- "description": "Negative coloring variant flag.",
107581
- "fieldName": "negative",
107582
- "inheritedFrom": {
107583
- "name": "SbbNegativeMixin",
107584
- "module": "core/mixins/negative-mixin.js"
107585
- }
108990
+ "default": "''",
108991
+ "description": "The type of the document (e.g. `PDF`). Falls back to the extension of the\nparent `sbb-download`.",
108992
+ "fieldName": "type"
107586
108993
  },
107587
108994
  {
107588
- "name": "level",
108995
+ "name": "size",
107589
108996
  "type": {
107590
- "text": "SbbHeadingLevel",
107591
- "resolved": "'1' | '2' | '3' | '4' | '5' | '6'"
108997
+ "text": "string"
107592
108998
  },
107593
- "default": "'1'",
107594
- "description": "Title level",
107595
- "fieldName": "level",
107596
- "inheritedFrom": {
107597
- "name": "SbbTitleBase",
107598
- "module": "title/title-base.js"
107599
- }
108999
+ "default": "''",
109000
+ "description": "The size of the document. If the value contains non-numeric characters it\nis rendered as is, otherwise it is interpreted as a number of bytes and\nshortened to the closest unit.",
109001
+ "fieldName": "size"
107600
109002
  },
107601
109003
  {
107602
- "name": "visual-level",
109004
+ "name": "changed",
107603
109005
  "type": {
107604
- "text": "SbbHeadingLevel | null",
107605
- "resolved": "'1' | '2' | '3' | '4' | '5' | '6' | null"
109006
+ "text": "string"
107606
109007
  },
107607
- "default": "null",
107608
- "description": "Visual level for the title.",
107609
- "fieldName": "visualLevel",
107610
- "inheritedFrom": {
107611
- "name": "SbbTitleBase",
107612
- "module": "title/title-base.js"
107613
- }
109008
+ "default": "''",
109009
+ "description": "The date of the latest change of the document, as an ISO 8601 string.",
109010
+ "fieldName": "changed"
109011
+ },
109012
+ {
109013
+ "name": "non-accessible",
109014
+ "type": {
109015
+ "text": "boolean"
109016
+ },
109017
+ "default": "false",
109018
+ "description": "Whether the document is not accessible.",
109019
+ "fieldName": "nonAccessible"
107614
109020
  }
107615
- ]
109021
+ ],
109022
+ "superclass": {
109023
+ "name": "SbbElement",
109024
+ "module": "core.js"
109025
+ },
109026
+ "tagName": "sbb-download-info",
109027
+ "customElement": true
107616
109028
  }
107617
109029
  ],
107618
109030
  "exports": [
107619
109031
  {
107620
109032
  "kind": "js",
107621
- "name": "SbbDialogTitleElement",
109033
+ "name": "SbbDownloadInfoElement",
107622
109034
  "declaration": {
107623
- "name": "SbbDialogTitleElement",
107624
- "module": "dialog/dialog-title/dialog-title.component.js"
109035
+ "name": "SbbDownloadInfoElement",
109036
+ "module": "download/download-info/download-info.component.js"
107625
109037
  }
107626
109038
  }
107627
109039
  ]
107628
109040
  },
107629
109041
  {
107630
109042
  "kind": "javascript-module",
107631
- "path": "dialog.pure.js",
109043
+ "path": "download.pure.js",
107632
109044
  "declarations": [],
107633
109045
  "exports": [
107634
109046
  {
@@ -107636,23 +109048,7 @@
107636
109048
  "name": "*",
107637
109049
  "declaration": {
107638
109050
  "name": "*",
107639
- "module": "dialog/dialog-actions/dialog-actions.component.js"
107640
- }
107641
- },
107642
- {
107643
- "kind": "js",
107644
- "name": "*",
107645
- "declaration": {
107646
- "name": "*",
107647
- "module": "dialog/dialog-close-button/dialog-close-button.component.js"
107648
- }
107649
- },
107650
- {
107651
- "kind": "js",
107652
- "name": "*",
107653
- "declaration": {
107654
- "name": "*",
107655
- "module": "dialog/dialog-content/dialog-content.component.js"
109051
+ "module": "download/download/download.component.js"
107656
109052
  }
107657
109053
  },
107658
109054
  {
@@ -107660,22 +109056,14 @@
107660
109056
  "name": "*",
107661
109057
  "declaration": {
107662
109058
  "name": "*",
107663
- "module": "dialog/dialog-title/dialog-title.component.js"
107664
- }
107665
- },
107666
- {
107667
- "kind": "js",
107668
- "name": "*",
107669
- "declaration": {
107670
- "name": "*",
107671
- "module": "dialog/dialog/dialog.component.js"
109059
+ "module": "download/download-info/download-info.component.js"
107672
109060
  }
107673
109061
  }
107674
109062
  ]
107675
109063
  },
107676
109064
  {
107677
109065
  "kind": "javascript-module",
107678
- "path": "dialog.js",
109066
+ "path": "download.js",
107679
109067
  "declarations": [],
107680
109068
  "exports": [
107681
109069
  {
@@ -107683,22 +109071,7 @@
107683
109071
  "name": "*",
107684
109072
  "declaration": {
107685
109073
  "name": "*",
107686
- "module": "dialog.pure.js"
107687
- }
107688
- }
107689
- ]
107690
- },
107691
- {
107692
- "kind": "javascript-module",
107693
- "path": "divider.js",
107694
- "declarations": [],
107695
- "exports": [
107696
- {
107697
- "kind": "js",
107698
- "name": "*",
107699
- "declaration": {
107700
- "name": "*",
107701
- "module": "divider.pure.js"
109074
+ "module": "download.pure.js"
107702
109075
  }
107703
109076
  }
107704
109077
  ]