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