@sbb-esta/lyne-elements-dev 4.7.0-dev.1772858359 → 4.7.0-dev.1772873580
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1171 -1171
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -70394,111 +70394,70 @@
|
|
|
70394
70394
|
},
|
|
70395
70395
|
{
|
|
70396
70396
|
"kind": "javascript-module",
|
|
70397
|
-
"path": "
|
|
70397
|
+
"path": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js",
|
|
70398
70398
|
"declarations": [
|
|
70399
70399
|
{
|
|
70400
70400
|
"kind": "class",
|
|
70401
|
-
"description": "",
|
|
70402
|
-
"name": "
|
|
70403
|
-
"
|
|
70404
|
-
{
|
|
70405
|
-
"kind": "field",
|
|
70406
|
-
"name": "size",
|
|
70407
|
-
"type": {
|
|
70408
|
-
"text": "'s' | 'm'"
|
|
70409
|
-
},
|
|
70410
|
-
"privacy": "public"
|
|
70411
|
-
},
|
|
70412
|
-
{
|
|
70413
|
-
"kind": "field",
|
|
70414
|
-
"name": "multiple",
|
|
70415
|
-
"type": {
|
|
70416
|
-
"text": "boolean"
|
|
70417
|
-
},
|
|
70418
|
-
"privacy": "public"
|
|
70419
|
-
},
|
|
70420
|
-
{
|
|
70421
|
-
"kind": "field",
|
|
70422
|
-
"name": "multipleMode",
|
|
70423
|
-
"type": {
|
|
70424
|
-
"text": "'default' | 'persistent'"
|
|
70425
|
-
},
|
|
70426
|
-
"privacy": "public"
|
|
70427
|
-
},
|
|
70401
|
+
"description": "It acts as a native `summary` tag for the `sbb-expansion-panel` component.",
|
|
70402
|
+
"name": "SbbExpansionPanelHeaderElement",
|
|
70403
|
+
"slots": [
|
|
70428
70404
|
{
|
|
70429
|
-
"
|
|
70430
|
-
"name": "
|
|
70431
|
-
"type": {
|
|
70432
|
-
"text": "string"
|
|
70433
|
-
},
|
|
70434
|
-
"privacy": "public"
|
|
70405
|
+
"description": "Use the unnamed slot to add content to the `sbb-expansion-panel-header`.",
|
|
70406
|
+
"name": ""
|
|
70435
70407
|
},
|
|
70436
70408
|
{
|
|
70437
|
-
"
|
|
70438
|
-
"name": "
|
|
70439
|
-
|
|
70440
|
-
|
|
70441
|
-
|
|
70442
|
-
"privacy": "public"
|
|
70443
|
-
},
|
|
70409
|
+
"description": "Slot used to render the `sbb-expansion-panel-header` icon.",
|
|
70410
|
+
"name": "icon"
|
|
70411
|
+
}
|
|
70412
|
+
],
|
|
70413
|
+
"members": [
|
|
70444
70414
|
{
|
|
70445
70415
|
"kind": "field",
|
|
70446
|
-
"name": "
|
|
70416
|
+
"name": "events",
|
|
70417
|
+
"privacy": "public",
|
|
70418
|
+
"static": true,
|
|
70419
|
+
"readonly": true,
|
|
70420
|
+
"default": "{ toggleexpanded: 'toggleexpanded', }",
|
|
70447
70421
|
"type": {
|
|
70448
|
-
"text": "
|
|
70449
|
-
}
|
|
70450
|
-
"privacy": "public"
|
|
70422
|
+
"text": "{\n toggleexpanded: 'toggleexpanded',\n }"
|
|
70423
|
+
}
|
|
70451
70424
|
},
|
|
70452
70425
|
{
|
|
70453
70426
|
"kind": "field",
|
|
70454
|
-
"name": "
|
|
70455
|
-
"
|
|
70456
|
-
|
|
70457
|
-
},
|
|
70458
|
-
"privacy": "public",
|
|
70459
|
-
"inheritedFrom": {
|
|
70460
|
-
"name": "SbbFormAssociatedMixin",
|
|
70461
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
70462
|
-
}
|
|
70427
|
+
"name": "_mediaMatcher",
|
|
70428
|
+
"privacy": "private",
|
|
70429
|
+
"default": "new SbbMediaMatcherController(this, { [SbbMediaQueryHover]: (m) => (this._isHover = m), })"
|
|
70463
70430
|
},
|
|
70464
70431
|
{
|
|
70465
70432
|
"kind": "field",
|
|
70466
|
-
"name": "
|
|
70433
|
+
"name": "_isHover",
|
|
70467
70434
|
"type": {
|
|
70468
|
-
"text": "
|
|
70435
|
+
"text": "boolean"
|
|
70469
70436
|
},
|
|
70470
|
-
"privacy": "
|
|
70437
|
+
"privacy": "private"
|
|
70471
70438
|
},
|
|
70472
70439
|
{
|
|
70473
70440
|
"kind": "field",
|
|
70474
|
-
"name": "
|
|
70441
|
+
"name": "_previousSize",
|
|
70475
70442
|
"type": {
|
|
70476
|
-
"text": "
|
|
70443
|
+
"text": "string | undefined"
|
|
70477
70444
|
},
|
|
70478
|
-
"privacy": "
|
|
70445
|
+
"privacy": "private"
|
|
70479
70446
|
},
|
|
70480
70447
|
{
|
|
70481
70448
|
"kind": "method",
|
|
70482
|
-
"name": "
|
|
70483
|
-
"privacy": "
|
|
70449
|
+
"name": "_emitExpandedEvent",
|
|
70450
|
+
"privacy": "private",
|
|
70484
70451
|
"return": {
|
|
70485
70452
|
"type": {
|
|
70486
|
-
"text": "
|
|
70487
|
-
}
|
|
70488
|
-
},
|
|
70489
|
-
"parameters": [
|
|
70490
|
-
{
|
|
70491
|
-
"name": "input",
|
|
70492
|
-
"type": {
|
|
70493
|
-
"text": "TemplateResult"
|
|
70494
|
-
}
|
|
70453
|
+
"text": "void"
|
|
70495
70454
|
}
|
|
70496
|
-
|
|
70455
|
+
}
|
|
70497
70456
|
},
|
|
70498
70457
|
{
|
|
70499
70458
|
"kind": "method",
|
|
70500
|
-
"name": "
|
|
70501
|
-
"privacy": "
|
|
70459
|
+
"name": "_onMouseMovement",
|
|
70460
|
+
"privacy": "private",
|
|
70502
70461
|
"return": {
|
|
70503
70462
|
"type": {
|
|
70504
70463
|
"text": "void"
|
|
@@ -70506,56 +70465,54 @@
|
|
|
70506
70465
|
},
|
|
70507
70466
|
"parameters": [
|
|
70508
70467
|
{
|
|
70509
|
-
"name": "
|
|
70468
|
+
"name": "toggleDataAttribute",
|
|
70510
70469
|
"type": {
|
|
70511
|
-
"text": "
|
|
70470
|
+
"text": "boolean"
|
|
70512
70471
|
}
|
|
70513
70472
|
}
|
|
70514
70473
|
]
|
|
70515
70474
|
},
|
|
70516
70475
|
{
|
|
70517
70476
|
"kind": "method",
|
|
70518
|
-
"name": "
|
|
70519
|
-
"privacy": "
|
|
70477
|
+
"name": "_setIconState",
|
|
70478
|
+
"privacy": "private",
|
|
70520
70479
|
"return": {
|
|
70521
70480
|
"type": {
|
|
70522
|
-
"text": "
|
|
70481
|
+
"text": "void"
|
|
70523
70482
|
}
|
|
70524
|
-
}
|
|
70483
|
+
},
|
|
70484
|
+
"description": "The :state(icon) is used by the 'sbb-expansion-panel'.\nIt needs to be set before the"
|
|
70525
70485
|
},
|
|
70526
70486
|
{
|
|
70527
70487
|
"kind": "method",
|
|
70528
|
-
"name": "
|
|
70529
|
-
"privacy": "
|
|
70488
|
+
"name": "renderTemplate",
|
|
70489
|
+
"privacy": "protected",
|
|
70530
70490
|
"return": {
|
|
70531
70491
|
"type": {
|
|
70532
|
-
"text": "
|
|
70492
|
+
"text": "TemplateResult"
|
|
70533
70493
|
}
|
|
70494
|
+
},
|
|
70495
|
+
"description": "Override this method to render the component template.",
|
|
70496
|
+
"inheritedFrom": {
|
|
70497
|
+
"name": "SbbActionBaseElement",
|
|
70498
|
+
"module": "core/base-elements/action-base-element.js"
|
|
70534
70499
|
}
|
|
70535
70500
|
},
|
|
70536
70501
|
{
|
|
70537
|
-
"kind": "
|
|
70538
|
-
"name": "
|
|
70539
|
-
"
|
|
70540
|
-
|
|
70541
|
-
"type": {
|
|
70542
|
-
"text": "void"
|
|
70543
|
-
}
|
|
70502
|
+
"kind": "field",
|
|
70503
|
+
"name": "disabledInteractive",
|
|
70504
|
+
"type": {
|
|
70505
|
+
"text": "boolean"
|
|
70544
70506
|
},
|
|
70545
|
-
"
|
|
70546
|
-
|
|
70547
|
-
|
|
70548
|
-
|
|
70549
|
-
|
|
70550
|
-
|
|
70551
|
-
|
|
70552
|
-
|
|
70553
|
-
|
|
70554
|
-
"type": {
|
|
70555
|
-
"text": "FormRestoreReason"
|
|
70556
|
-
}
|
|
70557
|
-
}
|
|
70558
|
-
]
|
|
70507
|
+
"privacy": "public",
|
|
70508
|
+
"default": "false",
|
|
70509
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
70510
|
+
"attribute": "disabled-interactive",
|
|
70511
|
+
"reflects": true,
|
|
70512
|
+
"inheritedFrom": {
|
|
70513
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
70514
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
70515
|
+
}
|
|
70559
70516
|
},
|
|
70560
70517
|
{
|
|
70561
70518
|
"kind": "field",
|
|
@@ -70603,79 +70560,242 @@
|
|
|
70603
70560
|
},
|
|
70604
70561
|
{
|
|
70605
70562
|
"kind": "field",
|
|
70606
|
-
"name": "
|
|
70563
|
+
"name": "iconName",
|
|
70607
70564
|
"type": {
|
|
70608
|
-
"text": "
|
|
70565
|
+
"text": "string"
|
|
70609
70566
|
},
|
|
70610
70567
|
"privacy": "public",
|
|
70611
|
-
"
|
|
70612
|
-
"
|
|
70568
|
+
"default": "''",
|
|
70569
|
+
"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.",
|
|
70570
|
+
"attribute": "icon-name",
|
|
70613
70571
|
"inheritedFrom": {
|
|
70614
|
-
"name": "
|
|
70615
|
-
"module": "
|
|
70572
|
+
"name": "SbbIconNameMixin",
|
|
70573
|
+
"module": "icon/icon-name-mixin.js"
|
|
70616
70574
|
}
|
|
70617
70575
|
},
|
|
70618
70576
|
{
|
|
70619
|
-
"kind": "
|
|
70620
|
-
"name": "
|
|
70621
|
-
"
|
|
70622
|
-
|
|
70577
|
+
"kind": "method",
|
|
70578
|
+
"name": "renderIconSlot",
|
|
70579
|
+
"privacy": "protected",
|
|
70580
|
+
"return": {
|
|
70581
|
+
"type": {
|
|
70582
|
+
"text": "TemplateResult"
|
|
70583
|
+
}
|
|
70623
70584
|
},
|
|
70624
|
-
"
|
|
70625
|
-
|
|
70626
|
-
|
|
70585
|
+
"parameters": [
|
|
70586
|
+
{
|
|
70587
|
+
"name": "classname",
|
|
70588
|
+
"optional": true,
|
|
70589
|
+
"type": {
|
|
70590
|
+
"text": "string"
|
|
70591
|
+
}
|
|
70592
|
+
}
|
|
70593
|
+
],
|
|
70627
70594
|
"inheritedFrom": {
|
|
70628
|
-
"name": "
|
|
70629
|
-
"module": "
|
|
70595
|
+
"name": "SbbIconNameMixin",
|
|
70596
|
+
"module": "icon/icon-name-mixin.js"
|
|
70630
70597
|
}
|
|
70631
70598
|
},
|
|
70632
70599
|
{
|
|
70633
|
-
"kind": "
|
|
70634
|
-
"name": "
|
|
70635
|
-
"privacy": "
|
|
70636
|
-
"
|
|
70637
|
-
|
|
70638
|
-
|
|
70600
|
+
"kind": "method",
|
|
70601
|
+
"name": "renderIconName",
|
|
70602
|
+
"privacy": "protected",
|
|
70603
|
+
"return": {
|
|
70604
|
+
"type": {
|
|
70605
|
+
"text": "string"
|
|
70606
|
+
}
|
|
70639
70607
|
},
|
|
70640
|
-
"attribute": "name",
|
|
70641
70608
|
"inheritedFrom": {
|
|
70642
|
-
"name": "
|
|
70643
|
-
"module": "
|
|
70609
|
+
"name": "SbbIconNameMixin",
|
|
70610
|
+
"module": "icon/icon-name-mixin.js"
|
|
70644
70611
|
}
|
|
70645
70612
|
},
|
|
70646
70613
|
{
|
|
70647
|
-
"kind": "
|
|
70648
|
-
"name": "
|
|
70649
|
-
"
|
|
70650
|
-
|
|
70614
|
+
"kind": "method",
|
|
70615
|
+
"name": "_renderIconName",
|
|
70616
|
+
"privacy": "private",
|
|
70617
|
+
"return": {
|
|
70618
|
+
"type": {
|
|
70619
|
+
"text": "string"
|
|
70620
|
+
}
|
|
70651
70621
|
},
|
|
70652
|
-
"privacy": "public",
|
|
70653
|
-
"description": "Returns the ValidityState object for this element.",
|
|
70654
|
-
"readonly": true,
|
|
70655
70622
|
"inheritedFrom": {
|
|
70656
|
-
"name": "
|
|
70657
|
-
"module": "
|
|
70623
|
+
"name": "SbbIconNameMixin",
|
|
70624
|
+
"module": "icon/icon-name-mixin.js"
|
|
70658
70625
|
}
|
|
70659
70626
|
},
|
|
70660
70627
|
{
|
|
70661
70628
|
"kind": "field",
|
|
70662
|
-
"name": "
|
|
70629
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
70663
70630
|
"type": {
|
|
70664
|
-
"text": "
|
|
70631
|
+
"text": "array"
|
|
70665
70632
|
},
|
|
70666
|
-
"privacy": "
|
|
70667
|
-
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
70633
|
+
"privacy": "private",
|
|
70668
70634
|
"readonly": true,
|
|
70635
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
70669
70636
|
"inheritedFrom": {
|
|
70670
|
-
"name": "
|
|
70671
|
-
"module": "core/
|
|
70637
|
+
"name": "SbbButtonBaseElement",
|
|
70638
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70672
70639
|
}
|
|
70673
70640
|
},
|
|
70674
70641
|
{
|
|
70675
70642
|
"kind": "field",
|
|
70676
|
-
"name": "
|
|
70643
|
+
"name": "value",
|
|
70677
70644
|
"type": {
|
|
70678
|
-
"text": "
|
|
70645
|
+
"text": "string"
|
|
70646
|
+
},
|
|
70647
|
+
"privacy": "public",
|
|
70648
|
+
"inheritedFrom": {
|
|
70649
|
+
"name": "SbbButtonBaseElement",
|
|
70650
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70651
|
+
},
|
|
70652
|
+
"default": "''",
|
|
70653
|
+
"description": "Value of the form element.",
|
|
70654
|
+
"attribute": "value"
|
|
70655
|
+
},
|
|
70656
|
+
{
|
|
70657
|
+
"kind": "field",
|
|
70658
|
+
"name": "type",
|
|
70659
|
+
"privacy": "public",
|
|
70660
|
+
"description": "The type attribute to use for the button.",
|
|
70661
|
+
"default": "'button'",
|
|
70662
|
+
"type": {
|
|
70663
|
+
"text": "SbbButtonType"
|
|
70664
|
+
},
|
|
70665
|
+
"attribute": "type",
|
|
70666
|
+
"inheritedFrom": {
|
|
70667
|
+
"name": "SbbButtonBaseElement",
|
|
70668
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70669
|
+
}
|
|
70670
|
+
},
|
|
70671
|
+
{
|
|
70672
|
+
"kind": "field",
|
|
70673
|
+
"name": "form",
|
|
70674
|
+
"type": {
|
|
70675
|
+
"text": "HTMLFormElement | null"
|
|
70676
|
+
},
|
|
70677
|
+
"privacy": "public",
|
|
70678
|
+
"description": "The `<form>` element to associate the button with.",
|
|
70679
|
+
"inheritedFrom": {
|
|
70680
|
+
"name": "SbbButtonBaseElement",
|
|
70681
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70682
|
+
},
|
|
70683
|
+
"attribute": "form"
|
|
70684
|
+
},
|
|
70685
|
+
{
|
|
70686
|
+
"kind": "field",
|
|
70687
|
+
"name": "_formId",
|
|
70688
|
+
"type": {
|
|
70689
|
+
"text": "string"
|
|
70690
|
+
},
|
|
70691
|
+
"privacy": "private",
|
|
70692
|
+
"default": "''",
|
|
70693
|
+
"inheritedFrom": {
|
|
70694
|
+
"name": "SbbButtonBaseElement",
|
|
70695
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70696
|
+
}
|
|
70697
|
+
},
|
|
70698
|
+
{
|
|
70699
|
+
"kind": "field",
|
|
70700
|
+
"name": "_handleButtonClick",
|
|
70701
|
+
"privacy": "private",
|
|
70702
|
+
"inheritedFrom": {
|
|
70703
|
+
"name": "SbbButtonBaseElement",
|
|
70704
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70705
|
+
}
|
|
70706
|
+
},
|
|
70707
|
+
{
|
|
70708
|
+
"kind": "method",
|
|
70709
|
+
"name": "_requestSubmit",
|
|
70710
|
+
"privacy": "private",
|
|
70711
|
+
"return": {
|
|
70712
|
+
"type": {
|
|
70713
|
+
"text": "void"
|
|
70714
|
+
}
|
|
70715
|
+
},
|
|
70716
|
+
"parameters": [
|
|
70717
|
+
{
|
|
70718
|
+
"name": "form",
|
|
70719
|
+
"type": {
|
|
70720
|
+
"text": "HTMLFormElement"
|
|
70721
|
+
}
|
|
70722
|
+
}
|
|
70723
|
+
],
|
|
70724
|
+
"inheritedFrom": {
|
|
70725
|
+
"name": "SbbButtonBaseElement",
|
|
70726
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70727
|
+
}
|
|
70728
|
+
},
|
|
70729
|
+
{
|
|
70730
|
+
"kind": "field",
|
|
70731
|
+
"name": "_formKeyDown",
|
|
70732
|
+
"privacy": "private",
|
|
70733
|
+
"inheritedFrom": {
|
|
70734
|
+
"name": "SbbButtonBaseElement",
|
|
70735
|
+
"module": "core/base-elements/button-base-element.js"
|
|
70736
|
+
}
|
|
70737
|
+
},
|
|
70738
|
+
{
|
|
70739
|
+
"kind": "field",
|
|
70740
|
+
"name": "formAssociated",
|
|
70741
|
+
"type": {
|
|
70742
|
+
"text": "boolean"
|
|
70743
|
+
},
|
|
70744
|
+
"privacy": "public",
|
|
70745
|
+
"static": true,
|
|
70746
|
+
"default": "true",
|
|
70747
|
+
"inheritedFrom": {
|
|
70748
|
+
"name": "SbbFormAssociatedMixin",
|
|
70749
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
70750
|
+
}
|
|
70751
|
+
},
|
|
70752
|
+
{
|
|
70753
|
+
"kind": "field",
|
|
70754
|
+
"name": "name",
|
|
70755
|
+
"privacy": "public",
|
|
70756
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
70757
|
+
"type": {
|
|
70758
|
+
"text": "string"
|
|
70759
|
+
},
|
|
70760
|
+
"attribute": "name",
|
|
70761
|
+
"inheritedFrom": {
|
|
70762
|
+
"name": "SbbFormAssociatedMixin",
|
|
70763
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
70764
|
+
}
|
|
70765
|
+
},
|
|
70766
|
+
{
|
|
70767
|
+
"kind": "field",
|
|
70768
|
+
"name": "validity",
|
|
70769
|
+
"type": {
|
|
70770
|
+
"text": "ValidityState"
|
|
70771
|
+
},
|
|
70772
|
+
"privacy": "public",
|
|
70773
|
+
"description": "Returns the ValidityState object for this element.",
|
|
70774
|
+
"readonly": true,
|
|
70775
|
+
"inheritedFrom": {
|
|
70776
|
+
"name": "SbbFormAssociatedMixin",
|
|
70777
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
70778
|
+
}
|
|
70779
|
+
},
|
|
70780
|
+
{
|
|
70781
|
+
"kind": "field",
|
|
70782
|
+
"name": "validationMessage",
|
|
70783
|
+
"type": {
|
|
70784
|
+
"text": "string"
|
|
70785
|
+
},
|
|
70786
|
+
"privacy": "public",
|
|
70787
|
+
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
70788
|
+
"readonly": true,
|
|
70789
|
+
"inheritedFrom": {
|
|
70790
|
+
"name": "SbbFormAssociatedMixin",
|
|
70791
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
70792
|
+
}
|
|
70793
|
+
},
|
|
70794
|
+
{
|
|
70795
|
+
"kind": "field",
|
|
70796
|
+
"name": "willValidate",
|
|
70797
|
+
"type": {
|
|
70798
|
+
"text": "boolean"
|
|
70679
70799
|
},
|
|
70680
70800
|
"privacy": "public",
|
|
70681
70801
|
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
@@ -70916,6 +71036,71 @@
|
|
|
70916
71036
|
"module": "core/mixins/form-associated-mixin.js"
|
|
70917
71037
|
}
|
|
70918
71038
|
},
|
|
71039
|
+
{
|
|
71040
|
+
"kind": "field",
|
|
71041
|
+
"name": "role",
|
|
71042
|
+
"type": {
|
|
71043
|
+
"text": "ElementInternals['role']"
|
|
71044
|
+
},
|
|
71045
|
+
"privacy": "public",
|
|
71046
|
+
"static": true,
|
|
71047
|
+
"readonly": true,
|
|
71048
|
+
"default": "'button'",
|
|
71049
|
+
"inheritedFrom": {
|
|
71050
|
+
"name": "SbbButtonLikeBaseElement",
|
|
71051
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71052
|
+
}
|
|
71053
|
+
},
|
|
71054
|
+
{
|
|
71055
|
+
"kind": "field",
|
|
71056
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
71057
|
+
"privacy": "private",
|
|
71058
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
71059
|
+
"parameters": [
|
|
71060
|
+
{
|
|
71061
|
+
"description": "The origin event.",
|
|
71062
|
+
"name": "event"
|
|
71063
|
+
}
|
|
71064
|
+
],
|
|
71065
|
+
"inheritedFrom": {
|
|
71066
|
+
"name": "SbbButtonLikeBaseElement",
|
|
71067
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71068
|
+
}
|
|
71069
|
+
},
|
|
71070
|
+
{
|
|
71071
|
+
"kind": "field",
|
|
71072
|
+
"name": "_removeActiveMarker",
|
|
71073
|
+
"privacy": "private",
|
|
71074
|
+
"inheritedFrom": {
|
|
71075
|
+
"name": "SbbButtonLikeBaseElement",
|
|
71076
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71077
|
+
}
|
|
71078
|
+
},
|
|
71079
|
+
{
|
|
71080
|
+
"kind": "field",
|
|
71081
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
71082
|
+
"privacy": "private",
|
|
71083
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
71084
|
+
"parameters": [
|
|
71085
|
+
{
|
|
71086
|
+
"description": "The origin event.",
|
|
71087
|
+
"name": "event"
|
|
71088
|
+
}
|
|
71089
|
+
],
|
|
71090
|
+
"inheritedFrom": {
|
|
71091
|
+
"name": "SbbButtonLikeBaseElement",
|
|
71092
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71093
|
+
}
|
|
71094
|
+
},
|
|
71095
|
+
{
|
|
71096
|
+
"kind": "field",
|
|
71097
|
+
"name": "_dispatchClickEvent",
|
|
71098
|
+
"privacy": "private",
|
|
71099
|
+
"inheritedFrom": {
|
|
71100
|
+
"name": "SbbButtonLikeBaseElement",
|
|
71101
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71102
|
+
}
|
|
71103
|
+
},
|
|
70919
71104
|
{
|
|
70920
71105
|
"kind": "method",
|
|
70921
71106
|
"name": "toggleState",
|
|
@@ -70941,195 +71126,256 @@
|
|
|
70941
71126
|
}
|
|
70942
71127
|
],
|
|
70943
71128
|
"inheritedFrom": {
|
|
70944
|
-
"name": "
|
|
70945
|
-
"module": "core/
|
|
71129
|
+
"name": "SbbActionBaseElement",
|
|
71130
|
+
"module": "core/base-elements/action-base-element.js"
|
|
70946
71131
|
}
|
|
70947
|
-
}
|
|
70948
|
-
],
|
|
70949
|
-
"mixins": [
|
|
70950
|
-
{
|
|
70951
|
-
"name": "SbbDisabledMixin",
|
|
70952
|
-
"module": "core/mixins.js"
|
|
70953
|
-
},
|
|
70954
|
-
{
|
|
70955
|
-
"name": "SbbFormAssociatedMixin",
|
|
70956
|
-
"module": "core/mixins.js"
|
|
70957
71132
|
},
|
|
70958
71133
|
{
|
|
70959
|
-
"
|
|
70960
|
-
"
|
|
70961
|
-
}
|
|
70962
|
-
],
|
|
70963
|
-
"superclass": {
|
|
70964
|
-
"name": "LitElement",
|
|
70965
|
-
"package": "lit"
|
|
70966
|
-
},
|
|
70967
|
-
"attributes": [
|
|
70968
|
-
{
|
|
70969
|
-
"name": "disabled",
|
|
70970
|
-
"description": "Whether the component is disabled.",
|
|
70971
|
-
"default": "false",
|
|
71134
|
+
"kind": "field",
|
|
71135
|
+
"name": "maybeDisabled",
|
|
70972
71136
|
"type": {
|
|
70973
|
-
"text": "boolean"
|
|
71137
|
+
"text": "boolean | undefined"
|
|
70974
71138
|
},
|
|
70975
|
-
"
|
|
71139
|
+
"privacy": "protected",
|
|
71140
|
+
"readonly": true,
|
|
70976
71141
|
"inheritedFrom": {
|
|
70977
|
-
"name": "
|
|
70978
|
-
"module": "core/
|
|
70979
|
-
}
|
|
71142
|
+
"name": "SbbActionBaseElement",
|
|
71143
|
+
"module": "core/base-elements/action-base-element.js"
|
|
71144
|
+
}
|
|
70980
71145
|
},
|
|
70981
71146
|
{
|
|
70982
|
-
"
|
|
70983
|
-
"
|
|
71147
|
+
"kind": "field",
|
|
71148
|
+
"name": "maybeDisabledInteractive",
|
|
70984
71149
|
"type": {
|
|
70985
|
-
"text": "
|
|
71150
|
+
"text": "boolean | undefined"
|
|
70986
71151
|
},
|
|
70987
|
-
"
|
|
71152
|
+
"privacy": "protected",
|
|
71153
|
+
"readonly": true,
|
|
70988
71154
|
"inheritedFrom": {
|
|
70989
|
-
"name": "
|
|
70990
|
-
"module": "core/
|
|
71155
|
+
"name": "SbbActionBaseElement",
|
|
71156
|
+
"module": "core/base-elements/action-base-element.js"
|
|
70991
71157
|
}
|
|
70992
|
-
}
|
|
70993
|
-
]
|
|
70994
|
-
},
|
|
70995
|
-
{
|
|
70996
|
-
"kind": "mixin",
|
|
70997
|
-
"description": "",
|
|
70998
|
-
"name": "SbbFileSelectorCommonElementMixin",
|
|
70999
|
-
"members": [
|
|
71158
|
+
},
|
|
71000
71159
|
{
|
|
71001
|
-
"kind": "
|
|
71002
|
-
"name": "
|
|
71003
|
-
"privacy": "
|
|
71004
|
-
"
|
|
71005
|
-
|
|
71006
|
-
|
|
71007
|
-
|
|
71008
|
-
|
|
71160
|
+
"kind": "method",
|
|
71161
|
+
"name": "setupBaseEventHandlers",
|
|
71162
|
+
"privacy": "protected",
|
|
71163
|
+
"return": {
|
|
71164
|
+
"type": {
|
|
71165
|
+
"text": "void"
|
|
71166
|
+
}
|
|
71167
|
+
},
|
|
71168
|
+
"inheritedFrom": {
|
|
71169
|
+
"name": "SbbActionBaseElement",
|
|
71170
|
+
"module": "core/base-elements/action-base-element.js"
|
|
71009
71171
|
}
|
|
71010
|
-
}
|
|
71172
|
+
}
|
|
71173
|
+
],
|
|
71174
|
+
"events": [
|
|
71011
71175
|
{
|
|
71012
|
-
"
|
|
71013
|
-
"name": "size",
|
|
71176
|
+
"name": "toggleexpanded",
|
|
71014
71177
|
"type": {
|
|
71015
|
-
"text": "
|
|
71178
|
+
"text": "Event"
|
|
71016
71179
|
},
|
|
71017
|
-
"
|
|
71018
|
-
|
|
71019
|
-
|
|
71020
|
-
|
|
71021
|
-
|
|
71180
|
+
"description": "Notifies that the `sbb-expansion-panel` is about to expand/shrink."
|
|
71181
|
+
}
|
|
71182
|
+
],
|
|
71183
|
+
"mixins": [
|
|
71184
|
+
{
|
|
71185
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
71186
|
+
"module": "core/mixins.js"
|
|
71022
71187
|
},
|
|
71023
71188
|
{
|
|
71024
|
-
"
|
|
71025
|
-
"
|
|
71189
|
+
"name": "SbbIconNameMixin",
|
|
71190
|
+
"module": "icon.js"
|
|
71191
|
+
}
|
|
71192
|
+
],
|
|
71193
|
+
"superclass": {
|
|
71194
|
+
"name": "SbbButtonBaseElement",
|
|
71195
|
+
"module": "core/base-elements.js"
|
|
71196
|
+
},
|
|
71197
|
+
"tagName": "sbb-expansion-panel-header",
|
|
71198
|
+
"customElement": true,
|
|
71199
|
+
"attributes": [
|
|
71200
|
+
{
|
|
71201
|
+
"name": "disabled-interactive",
|
|
71026
71202
|
"type": {
|
|
71027
71203
|
"text": "boolean"
|
|
71028
71204
|
},
|
|
71029
|
-
"privacy": "public",
|
|
71030
71205
|
"default": "false",
|
|
71031
|
-
"description": "Whether
|
|
71032
|
-
"
|
|
71206
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
71207
|
+
"fieldName": "disabledInteractive",
|
|
71208
|
+
"inheritedFrom": {
|
|
71209
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
71210
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
71211
|
+
}
|
|
71033
71212
|
},
|
|
71034
71213
|
{
|
|
71035
|
-
"
|
|
71036
|
-
"
|
|
71214
|
+
"name": "disabled",
|
|
71215
|
+
"description": "Whether the component is disabled.",
|
|
71216
|
+
"default": "false",
|
|
71037
71217
|
"type": {
|
|
71038
|
-
"text": "
|
|
71218
|
+
"text": "boolean"
|
|
71039
71219
|
},
|
|
71040
|
-
"
|
|
71041
|
-
"
|
|
71042
|
-
|
|
71043
|
-
|
|
71220
|
+
"fieldName": "disabled",
|
|
71221
|
+
"inheritedFrom": {
|
|
71222
|
+
"name": "SbbDisabledMixin",
|
|
71223
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
71224
|
+
}
|
|
71044
71225
|
},
|
|
71045
71226
|
{
|
|
71046
|
-
"
|
|
71047
|
-
"name": "accept",
|
|
71227
|
+
"name": "icon-name",
|
|
71048
71228
|
"type": {
|
|
71049
71229
|
"text": "string"
|
|
71050
71230
|
},
|
|
71051
|
-
"privacy": "public",
|
|
71052
71231
|
"default": "''",
|
|
71053
|
-
"description": "
|
|
71054
|
-
"
|
|
71232
|
+
"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.",
|
|
71233
|
+
"fieldName": "iconName",
|
|
71234
|
+
"inheritedFrom": {
|
|
71235
|
+
"name": "SbbIconNameMixin",
|
|
71236
|
+
"module": "icon/icon-name-mixin.js"
|
|
71237
|
+
}
|
|
71055
71238
|
},
|
|
71056
71239
|
{
|
|
71057
|
-
"
|
|
71058
|
-
"name": "accessibilityLabel",
|
|
71240
|
+
"name": "value",
|
|
71059
71241
|
"type": {
|
|
71060
71242
|
"text": "string"
|
|
71061
71243
|
},
|
|
71062
|
-
"privacy": "public",
|
|
71063
71244
|
"default": "''",
|
|
71064
|
-
"description": "
|
|
71065
|
-
"
|
|
71245
|
+
"description": "Value of the form element.",
|
|
71246
|
+
"fieldName": "value",
|
|
71247
|
+
"inheritedFrom": {
|
|
71248
|
+
"name": "SbbButtonBaseElement",
|
|
71249
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71250
|
+
}
|
|
71066
71251
|
},
|
|
71067
71252
|
{
|
|
71068
|
-
"
|
|
71069
|
-
"
|
|
71253
|
+
"name": "type",
|
|
71254
|
+
"description": "The type attribute to use for the button.",
|
|
71255
|
+
"default": "'button'",
|
|
71070
71256
|
"type": {
|
|
71071
|
-
"text": "
|
|
71257
|
+
"text": "SbbButtonType"
|
|
71072
71258
|
},
|
|
71073
|
-
"
|
|
71074
|
-
"
|
|
71259
|
+
"fieldName": "type",
|
|
71260
|
+
"inheritedFrom": {
|
|
71261
|
+
"name": "SbbButtonBaseElement",
|
|
71262
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71263
|
+
}
|
|
71264
|
+
},
|
|
71265
|
+
{
|
|
71266
|
+
"name": "form",
|
|
71267
|
+
"description": "The `<form>` element to associate the button with.",
|
|
71268
|
+
"type": {
|
|
71269
|
+
"text": "HTMLFormElement | null"
|
|
71270
|
+
},
|
|
71271
|
+
"fieldName": "form",
|
|
71272
|
+
"inheritedFrom": {
|
|
71273
|
+
"name": "SbbButtonBaseElement",
|
|
71274
|
+
"module": "core/base-elements/button-base-element.js"
|
|
71275
|
+
}
|
|
71276
|
+
},
|
|
71277
|
+
{
|
|
71278
|
+
"name": "name",
|
|
71279
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
71280
|
+
"type": {
|
|
71281
|
+
"text": "string"
|
|
71282
|
+
},
|
|
71283
|
+
"fieldName": "name",
|
|
71075
71284
|
"inheritedFrom": {
|
|
71076
71285
|
"name": "SbbFormAssociatedMixin",
|
|
71077
71286
|
"module": "core/mixins/form-associated-mixin.js"
|
|
71078
71287
|
}
|
|
71288
|
+
}
|
|
71289
|
+
]
|
|
71290
|
+
}
|
|
71291
|
+
],
|
|
71292
|
+
"exports": [
|
|
71293
|
+
{
|
|
71294
|
+
"kind": "js",
|
|
71295
|
+
"name": "SbbExpansionPanelHeaderElement",
|
|
71296
|
+
"declaration": {
|
|
71297
|
+
"name": "SbbExpansionPanelHeaderElement",
|
|
71298
|
+
"module": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js"
|
|
71299
|
+
}
|
|
71300
|
+
},
|
|
71301
|
+
{
|
|
71302
|
+
"kind": "custom-element-definition",
|
|
71303
|
+
"name": "sbb-expansion-panel-header",
|
|
71304
|
+
"declaration": {
|
|
71305
|
+
"name": "SbbExpansionPanelHeaderElement",
|
|
71306
|
+
"module": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js"
|
|
71307
|
+
}
|
|
71308
|
+
}
|
|
71309
|
+
]
|
|
71310
|
+
},
|
|
71311
|
+
{
|
|
71312
|
+
"kind": "javascript-module",
|
|
71313
|
+
"path": "file-selector/common/file-selector-common.js",
|
|
71314
|
+
"declarations": [
|
|
71315
|
+
{
|
|
71316
|
+
"kind": "class",
|
|
71317
|
+
"description": "",
|
|
71318
|
+
"name": "SbbFileSelectorCommonElementMixinType",
|
|
71319
|
+
"members": [
|
|
71320
|
+
{
|
|
71321
|
+
"kind": "field",
|
|
71322
|
+
"name": "size",
|
|
71323
|
+
"type": {
|
|
71324
|
+
"text": "'s' | 'm'"
|
|
71325
|
+
},
|
|
71326
|
+
"privacy": "public"
|
|
71079
71327
|
},
|
|
71080
71328
|
{
|
|
71081
71329
|
"kind": "field",
|
|
71082
|
-
"name": "
|
|
71083
|
-
"privacy": "public",
|
|
71084
|
-
"description": "The list of selected files.",
|
|
71330
|
+
"name": "multiple",
|
|
71085
71331
|
"type": {
|
|
71086
|
-
"text": "
|
|
71087
|
-
}
|
|
71332
|
+
"text": "boolean"
|
|
71333
|
+
},
|
|
71334
|
+
"privacy": "public"
|
|
71088
71335
|
},
|
|
71089
71336
|
{
|
|
71090
71337
|
"kind": "field",
|
|
71091
|
-
"name": "
|
|
71338
|
+
"name": "multipleMode",
|
|
71092
71339
|
"type": {
|
|
71093
|
-
"text": "
|
|
71340
|
+
"text": "'default' | 'persistent'"
|
|
71094
71341
|
},
|
|
71095
|
-
"privacy": "
|
|
71096
|
-
"default": "[]"
|
|
71342
|
+
"privacy": "public"
|
|
71097
71343
|
},
|
|
71098
71344
|
{
|
|
71099
71345
|
"kind": "field",
|
|
71100
|
-
"name": "
|
|
71346
|
+
"name": "accept",
|
|
71101
71347
|
"type": {
|
|
71102
71348
|
"text": "string"
|
|
71103
71349
|
},
|
|
71104
|
-
"privacy": "public"
|
|
71105
|
-
"description": "Form type of element.",
|
|
71106
|
-
"default": "'file'",
|
|
71107
|
-
"readonly": true
|
|
71350
|
+
"privacy": "public"
|
|
71108
71351
|
},
|
|
71109
71352
|
{
|
|
71110
71353
|
"kind": "field",
|
|
71111
|
-
"name": "
|
|
71354
|
+
"name": "accessibilityLabel",
|
|
71112
71355
|
"type": {
|
|
71113
|
-
"text": "
|
|
71356
|
+
"text": "string"
|
|
71114
71357
|
},
|
|
71115
|
-
"privacy": "
|
|
71358
|
+
"privacy": "public"
|
|
71116
71359
|
},
|
|
71117
71360
|
{
|
|
71118
71361
|
"kind": "field",
|
|
71119
|
-
"name": "
|
|
71362
|
+
"name": "files",
|
|
71120
71363
|
"type": {
|
|
71121
|
-
"text": "
|
|
71364
|
+
"text": "Readonly<File>[]"
|
|
71122
71365
|
},
|
|
71123
|
-
"privacy": "
|
|
71124
|
-
"default": "['B', 'kB', 'MB', 'GB', 'TB']"
|
|
71366
|
+
"privacy": "public"
|
|
71125
71367
|
},
|
|
71126
71368
|
{
|
|
71127
71369
|
"kind": "field",
|
|
71128
|
-
"name": "
|
|
71370
|
+
"name": "value",
|
|
71129
71371
|
"type": {
|
|
71130
|
-
"text": "
|
|
71372
|
+
"text": "string | null"
|
|
71131
71373
|
},
|
|
71132
|
-
"privacy": "
|
|
71374
|
+
"privacy": "public",
|
|
71375
|
+
"inheritedFrom": {
|
|
71376
|
+
"name": "SbbFormAssociatedMixin",
|
|
71377
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71378
|
+
}
|
|
71133
71379
|
},
|
|
71134
71380
|
{
|
|
71135
71381
|
"kind": "field",
|
|
@@ -71142,25 +71388,10 @@
|
|
|
71142
71388
|
{
|
|
71143
71389
|
"kind": "field",
|
|
71144
71390
|
"name": "language",
|
|
71145
|
-
"privacy": "protected",
|
|
71146
|
-
"default": "new SbbLanguageController(this)"
|
|
71147
|
-
},
|
|
71148
|
-
{
|
|
71149
|
-
"kind": "field",
|
|
71150
|
-
"name": "_counter",
|
|
71151
71391
|
"type": {
|
|
71152
|
-
"text": "
|
|
71392
|
+
"text": "SbbLanguageController"
|
|
71153
71393
|
},
|
|
71154
|
-
"privacy": "
|
|
71155
|
-
"default": "0"
|
|
71156
|
-
},
|
|
71157
|
-
{
|
|
71158
|
-
"kind": "field",
|
|
71159
|
-
"name": "_dragTarget",
|
|
71160
|
-
"type": {
|
|
71161
|
-
"text": "HTMLElement | undefined"
|
|
71162
|
-
},
|
|
71163
|
-
"privacy": "private"
|
|
71394
|
+
"privacy": "protected"
|
|
71164
71395
|
},
|
|
71165
71396
|
{
|
|
71166
71397
|
"kind": "method",
|
|
@@ -71180,6 +71411,34 @@
|
|
|
71180
71411
|
}
|
|
71181
71412
|
]
|
|
71182
71413
|
},
|
|
71414
|
+
{
|
|
71415
|
+
"kind": "method",
|
|
71416
|
+
"name": "createFileList",
|
|
71417
|
+
"privacy": "protected",
|
|
71418
|
+
"return": {
|
|
71419
|
+
"type": {
|
|
71420
|
+
"text": "void"
|
|
71421
|
+
}
|
|
71422
|
+
},
|
|
71423
|
+
"parameters": [
|
|
71424
|
+
{
|
|
71425
|
+
"name": "files",
|
|
71426
|
+
"type": {
|
|
71427
|
+
"text": "FileList"
|
|
71428
|
+
}
|
|
71429
|
+
}
|
|
71430
|
+
]
|
|
71431
|
+
},
|
|
71432
|
+
{
|
|
71433
|
+
"kind": "method",
|
|
71434
|
+
"name": "getButtonLabel",
|
|
71435
|
+
"privacy": "protected",
|
|
71436
|
+
"return": {
|
|
71437
|
+
"type": {
|
|
71438
|
+
"text": "string"
|
|
71439
|
+
}
|
|
71440
|
+
}
|
|
71441
|
+
},
|
|
71183
71442
|
{
|
|
71184
71443
|
"kind": "method",
|
|
71185
71444
|
"name": "formResetCallback",
|
|
@@ -71207,77 +71466,199 @@
|
|
|
71207
71466
|
}
|
|
71208
71467
|
},
|
|
71209
71468
|
{
|
|
71210
|
-
"name": "
|
|
71211
|
-
"optional": true,
|
|
71469
|
+
"name": "reason",
|
|
71212
71470
|
"type": {
|
|
71213
71471
|
"text": "FormRestoreReason"
|
|
71214
71472
|
}
|
|
71215
71473
|
}
|
|
71216
71474
|
]
|
|
71217
71475
|
},
|
|
71476
|
+
{
|
|
71477
|
+
"kind": "field",
|
|
71478
|
+
"name": "disabled",
|
|
71479
|
+
"privacy": "public",
|
|
71480
|
+
"description": "Whether the component is disabled.",
|
|
71481
|
+
"default": "false",
|
|
71482
|
+
"type": {
|
|
71483
|
+
"text": "boolean"
|
|
71484
|
+
},
|
|
71485
|
+
"attribute": "disabled",
|
|
71486
|
+
"reflects": true,
|
|
71487
|
+
"inheritedFrom": {
|
|
71488
|
+
"name": "SbbDisabledMixin",
|
|
71489
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
71490
|
+
}
|
|
71491
|
+
},
|
|
71492
|
+
{
|
|
71493
|
+
"kind": "field",
|
|
71494
|
+
"name": "#disabled",
|
|
71495
|
+
"privacy": "private",
|
|
71496
|
+
"type": {
|
|
71497
|
+
"text": "boolean"
|
|
71498
|
+
},
|
|
71499
|
+
"default": "false",
|
|
71500
|
+
"inheritedFrom": {
|
|
71501
|
+
"name": "SbbDisabledMixin",
|
|
71502
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
71503
|
+
}
|
|
71504
|
+
},
|
|
71218
71505
|
{
|
|
71219
71506
|
"kind": "method",
|
|
71220
|
-
"name": "
|
|
71507
|
+
"name": "isDisabledExternally",
|
|
71221
71508
|
"privacy": "protected",
|
|
71222
71509
|
"return": {
|
|
71223
71510
|
"type": {
|
|
71224
|
-
"text": "
|
|
71511
|
+
"text": "boolean"
|
|
71225
71512
|
}
|
|
71226
71513
|
},
|
|
71227
|
-
"description": "
|
|
71514
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
71515
|
+
"inheritedFrom": {
|
|
71516
|
+
"name": "SbbDisabledMixin",
|
|
71517
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
71518
|
+
}
|
|
71519
|
+
},
|
|
71520
|
+
{
|
|
71521
|
+
"kind": "field",
|
|
71522
|
+
"name": "formAssociated",
|
|
71523
|
+
"type": {
|
|
71524
|
+
"text": "boolean"
|
|
71525
|
+
},
|
|
71526
|
+
"privacy": "public",
|
|
71527
|
+
"static": true,
|
|
71528
|
+
"default": "true",
|
|
71228
71529
|
"inheritedFrom": {
|
|
71229
71530
|
"name": "SbbFormAssociatedMixin",
|
|
71230
71531
|
"module": "core/mixins/form-associated-mixin.js"
|
|
71231
71532
|
}
|
|
71232
71533
|
},
|
|
71233
71534
|
{
|
|
71234
|
-
"kind": "
|
|
71235
|
-
"name": "
|
|
71535
|
+
"kind": "field",
|
|
71536
|
+
"name": "form",
|
|
71537
|
+
"type": {
|
|
71538
|
+
"text": "HTMLFormElement | null"
|
|
71539
|
+
},
|
|
71540
|
+
"privacy": "public",
|
|
71541
|
+
"description": "Returns the form owner of this element.",
|
|
71542
|
+
"readonly": true,
|
|
71543
|
+
"inheritedFrom": {
|
|
71544
|
+
"name": "SbbFormAssociatedMixin",
|
|
71545
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71546
|
+
}
|
|
71547
|
+
},
|
|
71548
|
+
{
|
|
71549
|
+
"kind": "field",
|
|
71550
|
+
"name": "name",
|
|
71551
|
+
"privacy": "public",
|
|
71552
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
71553
|
+
"type": {
|
|
71554
|
+
"text": "string"
|
|
71555
|
+
},
|
|
71556
|
+
"attribute": "name",
|
|
71557
|
+
"inheritedFrom": {
|
|
71558
|
+
"name": "SbbFormAssociatedMixin",
|
|
71559
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71560
|
+
}
|
|
71561
|
+
},
|
|
71562
|
+
{
|
|
71563
|
+
"kind": "field",
|
|
71564
|
+
"name": "validity",
|
|
71565
|
+
"type": {
|
|
71566
|
+
"text": "ValidityState"
|
|
71567
|
+
},
|
|
71568
|
+
"privacy": "public",
|
|
71569
|
+
"description": "Returns the ValidityState object for this element.",
|
|
71570
|
+
"readonly": true,
|
|
71571
|
+
"inheritedFrom": {
|
|
71572
|
+
"name": "SbbFormAssociatedMixin",
|
|
71573
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71574
|
+
}
|
|
71575
|
+
},
|
|
71576
|
+
{
|
|
71577
|
+
"kind": "field",
|
|
71578
|
+
"name": "validationMessage",
|
|
71579
|
+
"type": {
|
|
71580
|
+
"text": "string"
|
|
71581
|
+
},
|
|
71582
|
+
"privacy": "public",
|
|
71583
|
+
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
71584
|
+
"readonly": true,
|
|
71585
|
+
"inheritedFrom": {
|
|
71586
|
+
"name": "SbbFormAssociatedMixin",
|
|
71587
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71588
|
+
}
|
|
71589
|
+
},
|
|
71590
|
+
{
|
|
71591
|
+
"kind": "field",
|
|
71592
|
+
"name": "willValidate",
|
|
71593
|
+
"type": {
|
|
71594
|
+
"text": "boolean"
|
|
71595
|
+
},
|
|
71596
|
+
"privacy": "public",
|
|
71597
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
71598
|
+
"readonly": true,
|
|
71599
|
+
"inheritedFrom": {
|
|
71600
|
+
"name": "SbbFormAssociatedMixin",
|
|
71601
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71602
|
+
}
|
|
71603
|
+
},
|
|
71604
|
+
{
|
|
71605
|
+
"kind": "field",
|
|
71606
|
+
"name": "_validityStates",
|
|
71236
71607
|
"privacy": "private",
|
|
71237
|
-
"
|
|
71238
|
-
|
|
71239
|
-
|
|
71240
|
-
|
|
71608
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
71609
|
+
"inheritedFrom": {
|
|
71610
|
+
"name": "SbbFormAssociatedMixin",
|
|
71611
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71612
|
+
}
|
|
71613
|
+
},
|
|
71614
|
+
{
|
|
71615
|
+
"kind": "field",
|
|
71616
|
+
"name": "formDisabled",
|
|
71617
|
+
"type": {
|
|
71618
|
+
"text": "boolean"
|
|
71241
71619
|
},
|
|
71242
|
-
"
|
|
71243
|
-
|
|
71244
|
-
|
|
71245
|
-
|
|
71246
|
-
|
|
71247
|
-
|
|
71248
|
-
|
|
71249
|
-
{
|
|
71250
|
-
"name": "file2",
|
|
71251
|
-
"type": {
|
|
71252
|
-
"text": "Readonly<File>"
|
|
71253
|
-
}
|
|
71254
|
-
}
|
|
71255
|
-
]
|
|
71620
|
+
"privacy": "protected",
|
|
71621
|
+
"default": "false",
|
|
71622
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
71623
|
+
"inheritedFrom": {
|
|
71624
|
+
"name": "SbbFormAssociatedMixin",
|
|
71625
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71626
|
+
}
|
|
71256
71627
|
},
|
|
71257
71628
|
{
|
|
71258
71629
|
"kind": "method",
|
|
71259
|
-
"name": "
|
|
71260
|
-
"privacy": "
|
|
71630
|
+
"name": "checkValidity",
|
|
71631
|
+
"privacy": "public",
|
|
71261
71632
|
"return": {
|
|
71262
71633
|
"type": {
|
|
71263
|
-
"text": "
|
|
71634
|
+
"text": "boolean"
|
|
71264
71635
|
}
|
|
71636
|
+
},
|
|
71637
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
71638
|
+
"inheritedFrom": {
|
|
71639
|
+
"name": "SbbFormAssociatedMixin",
|
|
71640
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71265
71641
|
}
|
|
71266
71642
|
},
|
|
71267
71643
|
{
|
|
71268
71644
|
"kind": "method",
|
|
71269
|
-
"name": "
|
|
71270
|
-
"privacy": "
|
|
71645
|
+
"name": "reportValidity",
|
|
71646
|
+
"privacy": "public",
|
|
71271
71647
|
"return": {
|
|
71272
71648
|
"type": {
|
|
71273
|
-
"text": "
|
|
71649
|
+
"text": "boolean"
|
|
71274
71650
|
}
|
|
71651
|
+
},
|
|
71652
|
+
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
71653
|
+
"inheritedFrom": {
|
|
71654
|
+
"name": "SbbFormAssociatedMixin",
|
|
71655
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71275
71656
|
}
|
|
71276
71657
|
},
|
|
71277
71658
|
{
|
|
71278
71659
|
"kind": "method",
|
|
71279
|
-
"name": "
|
|
71280
|
-
"privacy": "
|
|
71660
|
+
"name": "setCustomValidity",
|
|
71661
|
+
"privacy": "public",
|
|
71281
71662
|
"return": {
|
|
71282
71663
|
"type": {
|
|
71283
71664
|
"text": "void"
|
|
@@ -71285,112 +71666,101 @@
|
|
|
71285
71666
|
},
|
|
71286
71667
|
"parameters": [
|
|
71287
71668
|
{
|
|
71288
|
-
"name": "
|
|
71669
|
+
"name": "message",
|
|
71289
71670
|
"type": {
|
|
71290
|
-
"text": "
|
|
71671
|
+
"text": "string"
|
|
71291
71672
|
}
|
|
71292
71673
|
}
|
|
71293
|
-
]
|
|
71674
|
+
],
|
|
71675
|
+
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
71676
|
+
"inheritedFrom": {
|
|
71677
|
+
"name": "SbbFormAssociatedMixin",
|
|
71678
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71679
|
+
}
|
|
71294
71680
|
},
|
|
71295
71681
|
{
|
|
71296
71682
|
"kind": "method",
|
|
71297
|
-
"name": "
|
|
71298
|
-
"privacy": "
|
|
71683
|
+
"name": "_hasDisabledAncestor",
|
|
71684
|
+
"privacy": "private",
|
|
71299
71685
|
"return": {
|
|
71300
71686
|
"type": {
|
|
71301
|
-
"text": "
|
|
71687
|
+
"text": "boolean"
|
|
71302
71688
|
}
|
|
71303
71689
|
},
|
|
71304
|
-
"
|
|
71305
|
-
|
|
71306
|
-
|
|
71307
|
-
|
|
71308
|
-
"text": "FileList"
|
|
71309
|
-
}
|
|
71310
|
-
}
|
|
71311
|
-
]
|
|
71690
|
+
"inheritedFrom": {
|
|
71691
|
+
"name": "SbbFormAssociatedMixin",
|
|
71692
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71693
|
+
}
|
|
71312
71694
|
},
|
|
71313
71695
|
{
|
|
71314
71696
|
"kind": "method",
|
|
71315
|
-
"name": "
|
|
71697
|
+
"name": "updateFormValue",
|
|
71316
71698
|
"privacy": "protected",
|
|
71317
|
-
"return": {
|
|
71318
|
-
"type": {
|
|
71319
|
-
"text": "string"
|
|
71320
|
-
}
|
|
71321
|
-
}
|
|
71322
|
-
},
|
|
71323
|
-
{
|
|
71324
|
-
"kind": "method",
|
|
71325
|
-
"name": "_removeFile",
|
|
71326
|
-
"privacy": "private",
|
|
71327
71699
|
"return": {
|
|
71328
71700
|
"type": {
|
|
71329
71701
|
"text": "void"
|
|
71330
71702
|
}
|
|
71331
71703
|
},
|
|
71332
|
-
"
|
|
71333
|
-
|
|
71334
|
-
|
|
71335
|
-
|
|
71336
|
-
|
|
71337
|
-
}
|
|
71338
|
-
}
|
|
71339
|
-
]
|
|
71704
|
+
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
71705
|
+
"inheritedFrom": {
|
|
71706
|
+
"name": "SbbFormAssociatedMixin",
|
|
71707
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71708
|
+
}
|
|
71340
71709
|
},
|
|
71341
71710
|
{
|
|
71342
71711
|
"kind": "method",
|
|
71343
|
-
"name": "
|
|
71344
|
-
"privacy": "
|
|
71712
|
+
"name": "formState",
|
|
71713
|
+
"privacy": "protected",
|
|
71345
71714
|
"return": {
|
|
71346
71715
|
"type": {
|
|
71347
|
-
"text": "
|
|
71716
|
+
"text": "FormRestoreState"
|
|
71348
71717
|
}
|
|
71718
|
+
},
|
|
71719
|
+
"inheritedFrom": {
|
|
71720
|
+
"name": "SbbFormAssociatedMixin",
|
|
71721
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71349
71722
|
}
|
|
71350
71723
|
},
|
|
71351
71724
|
{
|
|
71352
71725
|
"kind": "method",
|
|
71353
|
-
"name": "
|
|
71354
|
-
"privacy": "
|
|
71726
|
+
"name": "setValidityFlag",
|
|
71727
|
+
"privacy": "protected",
|
|
71355
71728
|
"return": {
|
|
71356
71729
|
"type": {
|
|
71357
|
-
"text": "
|
|
71730
|
+
"text": "void"
|
|
71358
71731
|
}
|
|
71359
71732
|
},
|
|
71360
71733
|
"parameters": [
|
|
71361
71734
|
{
|
|
71362
|
-
"name": "
|
|
71735
|
+
"name": "flag",
|
|
71363
71736
|
"type": {
|
|
71364
|
-
"text": "
|
|
71737
|
+
"text": "T"
|
|
71738
|
+
}
|
|
71739
|
+
},
|
|
71740
|
+
{
|
|
71741
|
+
"name": "message",
|
|
71742
|
+
"type": {
|
|
71743
|
+
"text": "string"
|
|
71744
|
+
}
|
|
71745
|
+
},
|
|
71746
|
+
{
|
|
71747
|
+
"name": "flagValue",
|
|
71748
|
+
"optional": true,
|
|
71749
|
+
"type": {
|
|
71750
|
+
"text": "ValidityStateFlags[T]"
|
|
71365
71751
|
}
|
|
71366
71752
|
}
|
|
71367
71753
|
],
|
|
71368
|
-
"description": "
|
|
71369
|
-
|
|
71370
|
-
|
|
71371
|
-
|
|
71372
|
-
"name": "_updateA11yLiveRegion",
|
|
71373
|
-
"privacy": "private",
|
|
71374
|
-
"return": {
|
|
71375
|
-
"type": {
|
|
71376
|
-
"text": "void"
|
|
71377
|
-
}
|
|
71378
|
-
}
|
|
71379
|
-
},
|
|
71380
|
-
{
|
|
71381
|
-
"kind": "method",
|
|
71382
|
-
"name": "_renderFileList",
|
|
71383
|
-
"privacy": "private",
|
|
71384
|
-
"return": {
|
|
71385
|
-
"type": {
|
|
71386
|
-
"text": "TemplateResult"
|
|
71387
|
-
}
|
|
71754
|
+
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
71755
|
+
"inheritedFrom": {
|
|
71756
|
+
"name": "SbbFormAssociatedMixin",
|
|
71757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71388
71758
|
}
|
|
71389
71759
|
},
|
|
71390
71760
|
{
|
|
71391
71761
|
"kind": "method",
|
|
71392
|
-
"name": "
|
|
71393
|
-
"privacy": "
|
|
71762
|
+
"name": "removeValidityFlag",
|
|
71763
|
+
"privacy": "protected",
|
|
71394
71764
|
"return": {
|
|
71395
71765
|
"type": {
|
|
71396
71766
|
"text": "void"
|
|
@@ -71398,71 +71768,74 @@
|
|
|
71398
71768
|
},
|
|
71399
71769
|
"parameters": [
|
|
71400
71770
|
{
|
|
71401
|
-
"name": "
|
|
71771
|
+
"name": "flag",
|
|
71402
71772
|
"type": {
|
|
71403
|
-
"text": "
|
|
71773
|
+
"text": "T"
|
|
71404
71774
|
}
|
|
71405
71775
|
}
|
|
71406
|
-
]
|
|
71776
|
+
],
|
|
71777
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
71778
|
+
"inheritedFrom": {
|
|
71779
|
+
"name": "SbbFormAssociatedMixin",
|
|
71780
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71781
|
+
}
|
|
71407
71782
|
},
|
|
71408
71783
|
{
|
|
71409
71784
|
"kind": "method",
|
|
71410
|
-
"name": "
|
|
71411
|
-
"privacy": "
|
|
71785
|
+
"name": "validate",
|
|
71786
|
+
"privacy": "protected",
|
|
71412
71787
|
"return": {
|
|
71413
71788
|
"type": {
|
|
71414
71789
|
"text": "void"
|
|
71415
71790
|
}
|
|
71416
71791
|
},
|
|
71417
|
-
"
|
|
71418
|
-
|
|
71419
|
-
|
|
71420
|
-
|
|
71421
|
-
|
|
71422
|
-
}
|
|
71423
|
-
}
|
|
71424
|
-
]
|
|
71792
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
71793
|
+
"inheritedFrom": {
|
|
71794
|
+
"name": "SbbFormAssociatedMixin",
|
|
71795
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71796
|
+
}
|
|
71425
71797
|
},
|
|
71426
71798
|
{
|
|
71427
71799
|
"kind": "method",
|
|
71428
|
-
"name": "
|
|
71429
|
-
"privacy": "
|
|
71800
|
+
"name": "shouldValidate",
|
|
71801
|
+
"privacy": "protected",
|
|
71430
71802
|
"return": {
|
|
71431
71803
|
"type": {
|
|
71432
|
-
"text": "
|
|
71804
|
+
"text": "boolean"
|
|
71433
71805
|
}
|
|
71434
71806
|
},
|
|
71435
71807
|
"parameters": [
|
|
71436
71808
|
{
|
|
71437
|
-
"name": "
|
|
71809
|
+
"name": "name",
|
|
71438
71810
|
"type": {
|
|
71439
|
-
"text": "
|
|
71811
|
+
"text": "PropertyKey | undefined"
|
|
71440
71812
|
}
|
|
71441
71813
|
}
|
|
71442
|
-
]
|
|
71814
|
+
],
|
|
71815
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
71816
|
+
"inheritedFrom": {
|
|
71817
|
+
"name": "SbbFormAssociatedMixin",
|
|
71818
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71819
|
+
}
|
|
71443
71820
|
},
|
|
71444
71821
|
{
|
|
71445
71822
|
"kind": "method",
|
|
71446
|
-
"name": "
|
|
71823
|
+
"name": "_setInternalValidity",
|
|
71447
71824
|
"privacy": "private",
|
|
71448
71825
|
"return": {
|
|
71449
71826
|
"type": {
|
|
71450
71827
|
"text": "void"
|
|
71451
71828
|
}
|
|
71452
71829
|
},
|
|
71453
|
-
"
|
|
71454
|
-
|
|
71455
|
-
|
|
71456
|
-
|
|
71457
|
-
"text": "DragEvent"
|
|
71458
|
-
}
|
|
71459
|
-
}
|
|
71460
|
-
]
|
|
71830
|
+
"inheritedFrom": {
|
|
71831
|
+
"name": "SbbFormAssociatedMixin",
|
|
71832
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71833
|
+
}
|
|
71461
71834
|
},
|
|
71462
71835
|
{
|
|
71463
71836
|
"kind": "method",
|
|
71464
|
-
"name": "
|
|
71465
|
-
"privacy": "
|
|
71837
|
+
"name": "toggleState",
|
|
71838
|
+
"privacy": "protected",
|
|
71466
71839
|
"return": {
|
|
71467
71840
|
"type": {
|
|
71468
71841
|
"text": "void"
|
|
@@ -71470,116 +71843,151 @@
|
|
|
71470
71843
|
},
|
|
71471
71844
|
"parameters": [
|
|
71472
71845
|
{
|
|
71473
|
-
"name": "
|
|
71474
|
-
"default": "undefined",
|
|
71846
|
+
"name": "value",
|
|
71475
71847
|
"type": {
|
|
71476
|
-
"text": "
|
|
71848
|
+
"text": "string"
|
|
71477
71849
|
}
|
|
71478
71850
|
},
|
|
71479
71851
|
{
|
|
71480
|
-
"name": "
|
|
71481
|
-
"
|
|
71852
|
+
"name": "force",
|
|
71853
|
+
"optional": true,
|
|
71482
71854
|
"type": {
|
|
71483
71855
|
"text": "boolean"
|
|
71484
71856
|
}
|
|
71485
71857
|
}
|
|
71486
|
-
]
|
|
71858
|
+
],
|
|
71859
|
+
"inheritedFrom": {
|
|
71860
|
+
"name": "SbbElementInternalsMixin",
|
|
71861
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
71862
|
+
}
|
|
71863
|
+
}
|
|
71864
|
+
],
|
|
71865
|
+
"mixins": [
|
|
71866
|
+
{
|
|
71867
|
+
"name": "SbbDisabledMixin",
|
|
71868
|
+
"module": "core/mixins.js"
|
|
71487
71869
|
},
|
|
71488
71870
|
{
|
|
71489
|
-
"
|
|
71871
|
+
"name": "SbbFormAssociatedMixin",
|
|
71872
|
+
"module": "core/mixins.js"
|
|
71873
|
+
},
|
|
71874
|
+
{
|
|
71875
|
+
"name": "SbbElementInternalsMixin",
|
|
71876
|
+
"module": "core/mixins.js"
|
|
71877
|
+
}
|
|
71878
|
+
],
|
|
71879
|
+
"superclass": {
|
|
71880
|
+
"name": "LitElement",
|
|
71881
|
+
"package": "lit"
|
|
71882
|
+
},
|
|
71883
|
+
"attributes": [
|
|
71884
|
+
{
|
|
71490
71885
|
"name": "disabled",
|
|
71491
|
-
"privacy": "public",
|
|
71492
71886
|
"description": "Whether the component is disabled.",
|
|
71493
71887
|
"default": "false",
|
|
71494
71888
|
"type": {
|
|
71495
71889
|
"text": "boolean"
|
|
71496
71890
|
},
|
|
71497
|
-
"
|
|
71498
|
-
"reflects": true,
|
|
71891
|
+
"fieldName": "disabled",
|
|
71499
71892
|
"inheritedFrom": {
|
|
71500
71893
|
"name": "SbbDisabledMixin",
|
|
71501
71894
|
"module": "core/mixins/disabled-mixin.js"
|
|
71502
71895
|
}
|
|
71503
71896
|
},
|
|
71504
71897
|
{
|
|
71505
|
-
"
|
|
71506
|
-
"
|
|
71507
|
-
"privacy": "private",
|
|
71898
|
+
"name": "name",
|
|
71899
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
71508
71900
|
"type": {
|
|
71509
|
-
"text": "
|
|
71901
|
+
"text": "string"
|
|
71510
71902
|
},
|
|
71511
|
-
"
|
|
71903
|
+
"fieldName": "name",
|
|
71512
71904
|
"inheritedFrom": {
|
|
71513
|
-
"name": "
|
|
71514
|
-
"module": "core/mixins/
|
|
71905
|
+
"name": "SbbFormAssociatedMixin",
|
|
71906
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
71907
|
+
}
|
|
71908
|
+
}
|
|
71909
|
+
]
|
|
71910
|
+
},
|
|
71911
|
+
{
|
|
71912
|
+
"kind": "mixin",
|
|
71913
|
+
"description": "",
|
|
71914
|
+
"name": "SbbFileSelectorCommonElementMixin",
|
|
71915
|
+
"members": [
|
|
71916
|
+
{
|
|
71917
|
+
"kind": "field",
|
|
71918
|
+
"name": "events",
|
|
71919
|
+
"privacy": "public",
|
|
71920
|
+
"static": true,
|
|
71921
|
+
"readonly": true,
|
|
71922
|
+
"default": "{ filechanged: 'filechanged', }",
|
|
71923
|
+
"type": {
|
|
71924
|
+
"text": "{\n filechanged: 'filechanged',\n }"
|
|
71515
71925
|
}
|
|
71516
71926
|
},
|
|
71517
71927
|
{
|
|
71518
|
-
"kind": "
|
|
71519
|
-
"name": "
|
|
71520
|
-
"
|
|
71521
|
-
|
|
71522
|
-
"type": {
|
|
71523
|
-
"text": "boolean"
|
|
71524
|
-
}
|
|
71928
|
+
"kind": "field",
|
|
71929
|
+
"name": "size",
|
|
71930
|
+
"type": {
|
|
71931
|
+
"text": "'s' | 'm'"
|
|
71525
71932
|
},
|
|
71526
|
-
"
|
|
71527
|
-
"
|
|
71528
|
-
|
|
71529
|
-
|
|
71530
|
-
|
|
71933
|
+
"privacy": "public",
|
|
71934
|
+
"description": "Size variant, either s or m.",
|
|
71935
|
+
"default": "'m' / 's' (lean)",
|
|
71936
|
+
"attribute": "size",
|
|
71937
|
+
"reflects": true
|
|
71531
71938
|
},
|
|
71532
71939
|
{
|
|
71533
71940
|
"kind": "field",
|
|
71534
|
-
"name": "
|
|
71941
|
+
"name": "multiple",
|
|
71535
71942
|
"type": {
|
|
71536
71943
|
"text": "boolean"
|
|
71537
71944
|
},
|
|
71538
71945
|
"privacy": "public",
|
|
71539
|
-
"
|
|
71540
|
-
"
|
|
71541
|
-
"
|
|
71542
|
-
"name": "SbbFormAssociatedMixin",
|
|
71543
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71544
|
-
}
|
|
71946
|
+
"default": "false",
|
|
71947
|
+
"description": "Whether more than one file can be selected.",
|
|
71948
|
+
"attribute": "multiple"
|
|
71545
71949
|
},
|
|
71546
71950
|
{
|
|
71547
71951
|
"kind": "field",
|
|
71548
|
-
"name": "
|
|
71952
|
+
"name": "multipleMode",
|
|
71549
71953
|
"type": {
|
|
71550
|
-
"text": "
|
|
71954
|
+
"text": "'default' | 'persistent'"
|
|
71551
71955
|
},
|
|
71552
71956
|
"privacy": "public",
|
|
71553
|
-
"
|
|
71554
|
-
"
|
|
71555
|
-
"
|
|
71556
|
-
"name": "SbbFormAssociatedMixin",
|
|
71557
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71558
|
-
}
|
|
71957
|
+
"default": "'default'",
|
|
71958
|
+
"description": "Whether the newly added files should override the previously added ones.",
|
|
71959
|
+
"attribute": "multiple-mode"
|
|
71559
71960
|
},
|
|
71560
71961
|
{
|
|
71561
71962
|
"kind": "field",
|
|
71562
|
-
"name": "
|
|
71963
|
+
"name": "accept",
|
|
71964
|
+
"type": {
|
|
71965
|
+
"text": "string"
|
|
71966
|
+
},
|
|
71563
71967
|
"privacy": "public",
|
|
71564
|
-
"
|
|
71968
|
+
"default": "''",
|
|
71969
|
+
"description": "A comma-separated list of allowed unique file type specifiers.",
|
|
71970
|
+
"attribute": "accept"
|
|
71971
|
+
},
|
|
71972
|
+
{
|
|
71973
|
+
"kind": "field",
|
|
71974
|
+
"name": "accessibilityLabel",
|
|
71565
71975
|
"type": {
|
|
71566
71976
|
"text": "string"
|
|
71567
71977
|
},
|
|
71568
|
-
"
|
|
71569
|
-
"
|
|
71570
|
-
|
|
71571
|
-
|
|
71572
|
-
}
|
|
71978
|
+
"privacy": "public",
|
|
71979
|
+
"default": "''",
|
|
71980
|
+
"description": "This will be forwarded as aria-label to the native input element.",
|
|
71981
|
+
"attribute": "accessibility-label"
|
|
71573
71982
|
},
|
|
71574
71983
|
{
|
|
71575
71984
|
"kind": "field",
|
|
71576
|
-
"name": "
|
|
71985
|
+
"name": "value",
|
|
71577
71986
|
"type": {
|
|
71578
|
-
"text": "
|
|
71987
|
+
"text": "string | null"
|
|
71579
71988
|
},
|
|
71580
71989
|
"privacy": "public",
|
|
71581
|
-
"description": "
|
|
71582
|
-
"readonly": true,
|
|
71990
|
+
"description": "The path of the first selected file. Empty string ('') if no file is selected",
|
|
71583
71991
|
"inheritedFrom": {
|
|
71584
71992
|
"name": "SbbFormAssociatedMixin",
|
|
71585
71993
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -71587,89 +71995,120 @@
|
|
|
71587
71995
|
},
|
|
71588
71996
|
{
|
|
71589
71997
|
"kind": "field",
|
|
71590
|
-
"name": "
|
|
71998
|
+
"name": "files",
|
|
71999
|
+
"privacy": "public",
|
|
72000
|
+
"description": "The list of selected files.",
|
|
72001
|
+
"type": {
|
|
72002
|
+
"text": "Readonly<File>[]"
|
|
72003
|
+
}
|
|
72004
|
+
},
|
|
72005
|
+
{
|
|
72006
|
+
"kind": "field",
|
|
72007
|
+
"name": "_files",
|
|
72008
|
+
"type": {
|
|
72009
|
+
"text": "Readonly<File>[]"
|
|
72010
|
+
},
|
|
72011
|
+
"privacy": "private",
|
|
72012
|
+
"default": "[]"
|
|
72013
|
+
},
|
|
72014
|
+
{
|
|
72015
|
+
"kind": "field",
|
|
72016
|
+
"name": "type",
|
|
71591
72017
|
"type": {
|
|
71592
72018
|
"text": "string"
|
|
71593
72019
|
},
|
|
71594
72020
|
"privacy": "public",
|
|
71595
|
-
"description": "
|
|
71596
|
-
"
|
|
71597
|
-
"
|
|
71598
|
-
"name": "SbbFormAssociatedMixin",
|
|
71599
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71600
|
-
}
|
|
72021
|
+
"description": "Form type of element.",
|
|
72022
|
+
"default": "'file'",
|
|
72023
|
+
"readonly": true
|
|
71601
72024
|
},
|
|
71602
72025
|
{
|
|
71603
72026
|
"kind": "field",
|
|
71604
|
-
"name": "
|
|
72027
|
+
"name": "_hiddenInput",
|
|
71605
72028
|
"type": {
|
|
71606
|
-
"text": "
|
|
72029
|
+
"text": "HTMLInputElement"
|
|
71607
72030
|
},
|
|
71608
|
-
"privacy": "
|
|
71609
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
71610
|
-
"readonly": true,
|
|
71611
|
-
"inheritedFrom": {
|
|
71612
|
-
"name": "SbbFormAssociatedMixin",
|
|
71613
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71614
|
-
}
|
|
72031
|
+
"privacy": "private"
|
|
71615
72032
|
},
|
|
71616
72033
|
{
|
|
71617
72034
|
"kind": "field",
|
|
71618
|
-
"name": "
|
|
72035
|
+
"name": "_suffixes",
|
|
72036
|
+
"type": {
|
|
72037
|
+
"text": "string[]"
|
|
72038
|
+
},
|
|
71619
72039
|
"privacy": "private",
|
|
71620
|
-
"default": "
|
|
71621
|
-
"inheritedFrom": {
|
|
71622
|
-
"name": "SbbFormAssociatedMixin",
|
|
71623
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71624
|
-
}
|
|
72040
|
+
"default": "['B', 'kB', 'MB', 'GB', 'TB']"
|
|
71625
72041
|
},
|
|
71626
72042
|
{
|
|
71627
72043
|
"kind": "field",
|
|
71628
|
-
"name": "
|
|
72044
|
+
"name": "_liveRegion",
|
|
71629
72045
|
"type": {
|
|
71630
|
-
"text": "
|
|
72046
|
+
"text": "HTMLParagraphElement"
|
|
72047
|
+
},
|
|
72048
|
+
"privacy": "private"
|
|
72049
|
+
},
|
|
72050
|
+
{
|
|
72051
|
+
"kind": "field",
|
|
72052
|
+
"name": "loadButton",
|
|
72053
|
+
"type": {
|
|
72054
|
+
"text": "SbbSecondaryButtonStaticElement"
|
|
71631
72055
|
},
|
|
72056
|
+
"privacy": "protected"
|
|
72057
|
+
},
|
|
72058
|
+
{
|
|
72059
|
+
"kind": "field",
|
|
72060
|
+
"name": "language",
|
|
71632
72061
|
"privacy": "protected",
|
|
71633
|
-
"default": "
|
|
71634
|
-
|
|
71635
|
-
|
|
71636
|
-
|
|
71637
|
-
|
|
71638
|
-
|
|
72062
|
+
"default": "new SbbLanguageController(this)"
|
|
72063
|
+
},
|
|
72064
|
+
{
|
|
72065
|
+
"kind": "field",
|
|
72066
|
+
"name": "_counter",
|
|
72067
|
+
"type": {
|
|
72068
|
+
"text": "number"
|
|
72069
|
+
},
|
|
72070
|
+
"privacy": "private",
|
|
72071
|
+
"default": "0"
|
|
72072
|
+
},
|
|
72073
|
+
{
|
|
72074
|
+
"kind": "field",
|
|
72075
|
+
"name": "_dragTarget",
|
|
72076
|
+
"type": {
|
|
72077
|
+
"text": "HTMLElement | undefined"
|
|
72078
|
+
},
|
|
72079
|
+
"privacy": "private"
|
|
71639
72080
|
},
|
|
71640
72081
|
{
|
|
71641
72082
|
"kind": "method",
|
|
71642
|
-
"name": "
|
|
71643
|
-
"privacy": "
|
|
72083
|
+
"name": "renderTemplate",
|
|
72084
|
+
"privacy": "protected",
|
|
71644
72085
|
"return": {
|
|
71645
72086
|
"type": {
|
|
71646
|
-
"text": "
|
|
72087
|
+
"text": "TemplateResult"
|
|
71647
72088
|
}
|
|
71648
72089
|
},
|
|
71649
|
-
"
|
|
71650
|
-
|
|
71651
|
-
|
|
71652
|
-
|
|
71653
|
-
|
|
72090
|
+
"parameters": [
|
|
72091
|
+
{
|
|
72092
|
+
"name": "input",
|
|
72093
|
+
"type": {
|
|
72094
|
+
"text": "TemplateResult"
|
|
72095
|
+
}
|
|
72096
|
+
}
|
|
72097
|
+
]
|
|
71654
72098
|
},
|
|
71655
72099
|
{
|
|
71656
72100
|
"kind": "method",
|
|
71657
|
-
"name": "
|
|
72101
|
+
"name": "formResetCallback",
|
|
71658
72102
|
"privacy": "public",
|
|
71659
72103
|
"return": {
|
|
71660
72104
|
"type": {
|
|
71661
|
-
"text": "
|
|
72105
|
+
"text": "void"
|
|
71662
72106
|
}
|
|
71663
|
-
},
|
|
71664
|
-
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
71665
|
-
"inheritedFrom": {
|
|
71666
|
-
"name": "SbbFormAssociatedMixin",
|
|
71667
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71668
72107
|
}
|
|
71669
72108
|
},
|
|
71670
72109
|
{
|
|
71671
72110
|
"kind": "method",
|
|
71672
|
-
"name": "
|
|
72111
|
+
"name": "formStateRestoreCallback",
|
|
71673
72112
|
"privacy": "public",
|
|
71674
72113
|
"return": {
|
|
71675
72114
|
"type": {
|
|
@@ -71678,41 +72117,30 @@
|
|
|
71678
72117
|
},
|
|
71679
72118
|
"parameters": [
|
|
71680
72119
|
{
|
|
71681
|
-
"name": "
|
|
72120
|
+
"name": "state",
|
|
71682
72121
|
"type": {
|
|
71683
|
-
"text": "
|
|
72122
|
+
"text": "FormRestoreState | null"
|
|
72123
|
+
}
|
|
72124
|
+
},
|
|
72125
|
+
{
|
|
72126
|
+
"name": "_reason",
|
|
72127
|
+
"optional": true,
|
|
72128
|
+
"type": {
|
|
72129
|
+
"text": "FormRestoreReason"
|
|
71684
72130
|
}
|
|
71685
72131
|
}
|
|
71686
|
-
]
|
|
71687
|
-
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
71688
|
-
"inheritedFrom": {
|
|
71689
|
-
"name": "SbbFormAssociatedMixin",
|
|
71690
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71691
|
-
}
|
|
71692
|
-
},
|
|
71693
|
-
{
|
|
71694
|
-
"kind": "method",
|
|
71695
|
-
"name": "_hasDisabledAncestor",
|
|
71696
|
-
"privacy": "private",
|
|
71697
|
-
"return": {
|
|
71698
|
-
"type": {
|
|
71699
|
-
"text": "boolean"
|
|
71700
|
-
}
|
|
71701
|
-
},
|
|
71702
|
-
"inheritedFrom": {
|
|
71703
|
-
"name": "SbbFormAssociatedMixin",
|
|
71704
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71705
|
-
}
|
|
72132
|
+
]
|
|
71706
72133
|
},
|
|
71707
72134
|
{
|
|
71708
72135
|
"kind": "method",
|
|
71709
|
-
"name": "
|
|
72136
|
+
"name": "updateFormValue",
|
|
71710
72137
|
"privacy": "protected",
|
|
71711
72138
|
"return": {
|
|
71712
72139
|
"type": {
|
|
71713
|
-
"text": "
|
|
72140
|
+
"text": "void"
|
|
71714
72141
|
}
|
|
71715
72142
|
},
|
|
72143
|
+
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
71716
72144
|
"inheritedFrom": {
|
|
71717
72145
|
"name": "SbbFormAssociatedMixin",
|
|
71718
72146
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -71720,119 +72148,98 @@
|
|
|
71720
72148
|
},
|
|
71721
72149
|
{
|
|
71722
72150
|
"kind": "method",
|
|
71723
|
-
"name": "
|
|
71724
|
-
"privacy": "
|
|
72151
|
+
"name": "_checkFileEquality",
|
|
72152
|
+
"privacy": "private",
|
|
71725
72153
|
"return": {
|
|
71726
72154
|
"type": {
|
|
71727
|
-
"text": "
|
|
72155
|
+
"text": "boolean"
|
|
71728
72156
|
}
|
|
71729
72157
|
},
|
|
71730
72158
|
"parameters": [
|
|
71731
72159
|
{
|
|
71732
|
-
"name": "
|
|
71733
|
-
"type": {
|
|
71734
|
-
"text": "T"
|
|
71735
|
-
}
|
|
71736
|
-
},
|
|
71737
|
-
{
|
|
71738
|
-
"name": "message",
|
|
72160
|
+
"name": "file1",
|
|
71739
72161
|
"type": {
|
|
71740
|
-
"text": "
|
|
72162
|
+
"text": "Readonly<File>"
|
|
71741
72163
|
}
|
|
71742
72164
|
},
|
|
71743
72165
|
{
|
|
71744
|
-
"name": "
|
|
71745
|
-
"optional": true,
|
|
72166
|
+
"name": "file2",
|
|
71746
72167
|
"type": {
|
|
71747
|
-
"text": "
|
|
72168
|
+
"text": "Readonly<File>"
|
|
71748
72169
|
}
|
|
71749
72170
|
}
|
|
71750
|
-
]
|
|
71751
|
-
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
71752
|
-
"inheritedFrom": {
|
|
71753
|
-
"name": "SbbFormAssociatedMixin",
|
|
71754
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71755
|
-
}
|
|
72171
|
+
]
|
|
71756
72172
|
},
|
|
71757
72173
|
{
|
|
71758
72174
|
"kind": "method",
|
|
71759
|
-
"name": "
|
|
71760
|
-
"privacy": "
|
|
72175
|
+
"name": "_onFocus",
|
|
72176
|
+
"privacy": "private",
|
|
71761
72177
|
"return": {
|
|
71762
72178
|
"type": {
|
|
71763
72179
|
"text": "void"
|
|
71764
72180
|
}
|
|
71765
|
-
},
|
|
71766
|
-
"parameters": [
|
|
71767
|
-
{
|
|
71768
|
-
"name": "flag",
|
|
71769
|
-
"type": {
|
|
71770
|
-
"text": "T"
|
|
71771
|
-
}
|
|
71772
|
-
}
|
|
71773
|
-
],
|
|
71774
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
71775
|
-
"inheritedFrom": {
|
|
71776
|
-
"name": "SbbFormAssociatedMixin",
|
|
71777
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71778
72181
|
}
|
|
71779
72182
|
},
|
|
71780
72183
|
{
|
|
71781
72184
|
"kind": "method",
|
|
71782
|
-
"name": "
|
|
71783
|
-
"privacy": "
|
|
72185
|
+
"name": "_onBlur",
|
|
72186
|
+
"privacy": "private",
|
|
71784
72187
|
"return": {
|
|
71785
72188
|
"type": {
|
|
71786
72189
|
"text": "void"
|
|
71787
72190
|
}
|
|
71788
|
-
},
|
|
71789
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
71790
|
-
"inheritedFrom": {
|
|
71791
|
-
"name": "SbbFormAssociatedMixin",
|
|
71792
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71793
72191
|
}
|
|
71794
72192
|
},
|
|
71795
72193
|
{
|
|
71796
72194
|
"kind": "method",
|
|
71797
|
-
"name": "
|
|
71798
|
-
"privacy": "
|
|
72195
|
+
"name": "_readFiles",
|
|
72196
|
+
"privacy": "private",
|
|
71799
72197
|
"return": {
|
|
71800
72198
|
"type": {
|
|
71801
|
-
"text": "
|
|
72199
|
+
"text": "void"
|
|
71802
72200
|
}
|
|
71803
72201
|
},
|
|
71804
72202
|
"parameters": [
|
|
71805
72203
|
{
|
|
71806
|
-
"name": "
|
|
72204
|
+
"name": "event",
|
|
71807
72205
|
"type": {
|
|
71808
|
-
"text": "
|
|
72206
|
+
"text": "Event"
|
|
71809
72207
|
}
|
|
71810
72208
|
}
|
|
71811
|
-
]
|
|
71812
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
71813
|
-
"inheritedFrom": {
|
|
71814
|
-
"name": "SbbFormAssociatedMixin",
|
|
71815
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
71816
|
-
}
|
|
72209
|
+
]
|
|
71817
72210
|
},
|
|
71818
72211
|
{
|
|
71819
72212
|
"kind": "method",
|
|
71820
|
-
"name": "
|
|
71821
|
-
"privacy": "
|
|
72213
|
+
"name": "createFileList",
|
|
72214
|
+
"privacy": "protected",
|
|
71822
72215
|
"return": {
|
|
71823
72216
|
"type": {
|
|
71824
72217
|
"text": "void"
|
|
71825
72218
|
}
|
|
71826
72219
|
},
|
|
71827
|
-
"
|
|
71828
|
-
|
|
71829
|
-
|
|
71830
|
-
|
|
72220
|
+
"parameters": [
|
|
72221
|
+
{
|
|
72222
|
+
"name": "files",
|
|
72223
|
+
"type": {
|
|
72224
|
+
"text": "FileList"
|
|
72225
|
+
}
|
|
72226
|
+
}
|
|
72227
|
+
]
|
|
71831
72228
|
},
|
|
71832
72229
|
{
|
|
71833
72230
|
"kind": "method",
|
|
71834
|
-
"name": "
|
|
72231
|
+
"name": "getButtonLabel",
|
|
71835
72232
|
"privacy": "protected",
|
|
72233
|
+
"return": {
|
|
72234
|
+
"type": {
|
|
72235
|
+
"text": "string"
|
|
72236
|
+
}
|
|
72237
|
+
}
|
|
72238
|
+
},
|
|
72239
|
+
{
|
|
72240
|
+
"kind": "method",
|
|
72241
|
+
"name": "_removeFile",
|
|
72242
|
+
"privacy": "private",
|
|
71836
72243
|
"return": {
|
|
71837
72244
|
"type": {
|
|
71838
72245
|
"text": "void"
|
|
@@ -71840,228 +72247,101 @@
|
|
|
71840
72247
|
},
|
|
71841
72248
|
"parameters": [
|
|
71842
72249
|
{
|
|
71843
|
-
"name": "
|
|
71844
|
-
"type": {
|
|
71845
|
-
"text": "string"
|
|
71846
|
-
}
|
|
71847
|
-
},
|
|
71848
|
-
{
|
|
71849
|
-
"name": "force",
|
|
71850
|
-
"optional": true,
|
|
72250
|
+
"name": "file",
|
|
71851
72251
|
"type": {
|
|
71852
|
-
"text": "
|
|
72252
|
+
"text": "Readonly<File>"
|
|
71853
72253
|
}
|
|
71854
72254
|
}
|
|
71855
|
-
]
|
|
71856
|
-
"inheritedFrom": {
|
|
71857
|
-
"name": "SbbElementInternalsMixin",
|
|
71858
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
71859
|
-
}
|
|
71860
|
-
}
|
|
71861
|
-
],
|
|
71862
|
-
"events": [
|
|
71863
|
-
{
|
|
71864
|
-
"name": "input",
|
|
71865
|
-
"type": {
|
|
71866
|
-
"text": "InputEvent"
|
|
71867
|
-
},
|
|
71868
|
-
"description": "The input event fires when the value has been changed as a direct result of a user action."
|
|
71869
|
-
},
|
|
71870
|
-
{
|
|
71871
|
-
"name": "change",
|
|
71872
|
-
"type": {
|
|
71873
|
-
"text": "Event"
|
|
71874
|
-
},
|
|
71875
|
-
"description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
|
|
71876
|
-
},
|
|
71877
|
-
{
|
|
71878
|
-
"name": "filechanged",
|
|
71879
|
-
"type": {
|
|
71880
|
-
"text": "CustomEvent<Readonly<File>[]>"
|
|
71881
|
-
},
|
|
71882
|
-
"description": "An event which is emitted each time the file list changes."
|
|
71883
|
-
}
|
|
71884
|
-
],
|
|
71885
|
-
"attributes": [
|
|
71886
|
-
{
|
|
71887
|
-
"name": "size",
|
|
71888
|
-
"type": {
|
|
71889
|
-
"text": "'s' | 'm'"
|
|
71890
|
-
},
|
|
71891
|
-
"description": "Size variant, either s or m.",
|
|
71892
|
-
"default": "'m' / 's' (lean)",
|
|
71893
|
-
"fieldName": "size"
|
|
71894
|
-
},
|
|
71895
|
-
{
|
|
71896
|
-
"name": "multiple",
|
|
71897
|
-
"type": {
|
|
71898
|
-
"text": "boolean"
|
|
71899
|
-
},
|
|
71900
|
-
"default": "false",
|
|
71901
|
-
"description": "Whether more than one file can be selected.",
|
|
71902
|
-
"fieldName": "multiple"
|
|
71903
|
-
},
|
|
71904
|
-
{
|
|
71905
|
-
"name": "multiple-mode",
|
|
71906
|
-
"type": {
|
|
71907
|
-
"text": "'default' | 'persistent'"
|
|
71908
|
-
},
|
|
71909
|
-
"default": "'default'",
|
|
71910
|
-
"description": "Whether the newly added files should override the previously added ones.",
|
|
71911
|
-
"fieldName": "multipleMode"
|
|
71912
|
-
},
|
|
71913
|
-
{
|
|
71914
|
-
"name": "accept",
|
|
71915
|
-
"type": {
|
|
71916
|
-
"text": "string"
|
|
71917
|
-
},
|
|
71918
|
-
"default": "''",
|
|
71919
|
-
"description": "A comma-separated list of allowed unique file type specifiers.",
|
|
71920
|
-
"fieldName": "accept"
|
|
71921
|
-
},
|
|
71922
|
-
{
|
|
71923
|
-
"name": "accessibility-label",
|
|
71924
|
-
"type": {
|
|
71925
|
-
"text": "string"
|
|
71926
|
-
},
|
|
71927
|
-
"default": "''",
|
|
71928
|
-
"description": "This will be forwarded as aria-label to the native input element.",
|
|
71929
|
-
"fieldName": "accessibilityLabel"
|
|
72255
|
+
]
|
|
71930
72256
|
},
|
|
71931
72257
|
{
|
|
71932
|
-
"
|
|
71933
|
-
"
|
|
71934
|
-
"
|
|
71935
|
-
"
|
|
71936
|
-
"
|
|
71937
|
-
|
|
71938
|
-
|
|
71939
|
-
"inheritedFrom": {
|
|
71940
|
-
"name": "SbbDisabledMixin",
|
|
71941
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
72258
|
+
"kind": "method",
|
|
72259
|
+
"name": "_dispatchFileChangedEvent",
|
|
72260
|
+
"privacy": "private",
|
|
72261
|
+
"return": {
|
|
72262
|
+
"type": {
|
|
72263
|
+
"text": "void"
|
|
72264
|
+
}
|
|
71942
72265
|
}
|
|
71943
72266
|
},
|
|
71944
72267
|
{
|
|
71945
|
-
"
|
|
71946
|
-
"
|
|
71947
|
-
"
|
|
71948
|
-
|
|
72268
|
+
"kind": "method",
|
|
72269
|
+
"name": "_formatFileSize",
|
|
72270
|
+
"privacy": "private",
|
|
72271
|
+
"return": {
|
|
72272
|
+
"type": {
|
|
72273
|
+
"text": "string"
|
|
72274
|
+
}
|
|
71949
72275
|
},
|
|
71950
|
-
"
|
|
71951
|
-
|
|
71952
|
-
|
|
71953
|
-
|
|
71954
|
-
|
|
71955
|
-
|
|
71956
|
-
|
|
71957
|
-
|
|
71958
|
-
|
|
71959
|
-
"name": "SbbDisabledMixin",
|
|
71960
|
-
"module": "core/mixins.js"
|
|
71961
|
-
},
|
|
71962
|
-
{
|
|
71963
|
-
"name": "SbbFormAssociatedMixin",
|
|
71964
|
-
"module": "core/mixins.js"
|
|
72276
|
+
"parameters": [
|
|
72277
|
+
{
|
|
72278
|
+
"name": "size",
|
|
72279
|
+
"type": {
|
|
72280
|
+
"text": "number"
|
|
72281
|
+
}
|
|
72282
|
+
}
|
|
72283
|
+
],
|
|
72284
|
+
"description": "Calculates the correct unit for the file's size."
|
|
71965
72285
|
},
|
|
71966
72286
|
{
|
|
71967
|
-
"
|
|
71968
|
-
"
|
|
71969
|
-
|
|
71970
|
-
|
|
71971
|
-
|
|
71972
|
-
|
|
71973
|
-
|
|
71974
|
-
"type": {
|
|
71975
|
-
"text": "T"
|
|
72287
|
+
"kind": "method",
|
|
72288
|
+
"name": "_updateA11yLiveRegion",
|
|
72289
|
+
"privacy": "private",
|
|
72290
|
+
"return": {
|
|
72291
|
+
"type": {
|
|
72292
|
+
"text": "void"
|
|
72293
|
+
}
|
|
71976
72294
|
}
|
|
71977
|
-
}
|
|
71978
|
-
]
|
|
71979
|
-
}
|
|
71980
|
-
],
|
|
71981
|
-
"exports": [
|
|
71982
|
-
{
|
|
71983
|
-
"kind": "js",
|
|
71984
|
-
"name": "SbbFileSelectorCommonElementMixinType",
|
|
71985
|
-
"declaration": {
|
|
71986
|
-
"name": "SbbFileSelectorCommonElementMixinType",
|
|
71987
|
-
"module": "file-selector/common/file-selector-common.js"
|
|
71988
|
-
}
|
|
71989
|
-
},
|
|
71990
|
-
{
|
|
71991
|
-
"kind": "js",
|
|
71992
|
-
"name": "SbbFileSelectorCommonElementMixin",
|
|
71993
|
-
"declaration": {
|
|
71994
|
-
"name": "SbbFileSelectorCommonElementMixin",
|
|
71995
|
-
"module": "file-selector/common/file-selector-common.js"
|
|
71996
|
-
}
|
|
71997
|
-
}
|
|
71998
|
-
]
|
|
71999
|
-
},
|
|
72000
|
-
{
|
|
72001
|
-
"kind": "javascript-module",
|
|
72002
|
-
"path": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js",
|
|
72003
|
-
"declarations": [
|
|
72004
|
-
{
|
|
72005
|
-
"kind": "class",
|
|
72006
|
-
"description": "It acts as a native `summary` tag for the `sbb-expansion-panel` component.",
|
|
72007
|
-
"name": "SbbExpansionPanelHeaderElement",
|
|
72008
|
-
"slots": [
|
|
72009
|
-
{
|
|
72010
|
-
"description": "Use the unnamed slot to add content to the `sbb-expansion-panel-header`.",
|
|
72011
|
-
"name": ""
|
|
72012
72295
|
},
|
|
72013
72296
|
{
|
|
72014
|
-
"
|
|
72015
|
-
"name": "
|
|
72016
|
-
|
|
72017
|
-
|
|
72018
|
-
|
|
72019
|
-
|
|
72020
|
-
|
|
72021
|
-
"name": "events",
|
|
72022
|
-
"privacy": "public",
|
|
72023
|
-
"static": true,
|
|
72024
|
-
"readonly": true,
|
|
72025
|
-
"default": "{ toggleexpanded: 'toggleexpanded', }",
|
|
72026
|
-
"type": {
|
|
72027
|
-
"text": "{\n toggleexpanded: 'toggleexpanded',\n }"
|
|
72297
|
+
"kind": "method",
|
|
72298
|
+
"name": "_renderFileList",
|
|
72299
|
+
"privacy": "private",
|
|
72300
|
+
"return": {
|
|
72301
|
+
"type": {
|
|
72302
|
+
"text": "TemplateResult"
|
|
72303
|
+
}
|
|
72028
72304
|
}
|
|
72029
72305
|
},
|
|
72030
72306
|
{
|
|
72031
|
-
"kind": "
|
|
72032
|
-
"name": "
|
|
72307
|
+
"kind": "method",
|
|
72308
|
+
"name": "_onDragEnter",
|
|
72033
72309
|
"privacy": "private",
|
|
72034
|
-
"
|
|
72035
|
-
|
|
72036
|
-
|
|
72037
|
-
|
|
72038
|
-
"name": "_isHover",
|
|
72039
|
-
"type": {
|
|
72040
|
-
"text": "boolean"
|
|
72041
|
-
},
|
|
72042
|
-
"privacy": "private"
|
|
72043
|
-
},
|
|
72044
|
-
{
|
|
72045
|
-
"kind": "field",
|
|
72046
|
-
"name": "_previousSize",
|
|
72047
|
-
"type": {
|
|
72048
|
-
"text": "string | undefined"
|
|
72310
|
+
"return": {
|
|
72311
|
+
"type": {
|
|
72312
|
+
"text": "void"
|
|
72313
|
+
}
|
|
72049
72314
|
},
|
|
72050
|
-
"
|
|
72315
|
+
"parameters": [
|
|
72316
|
+
{
|
|
72317
|
+
"name": "event",
|
|
72318
|
+
"type": {
|
|
72319
|
+
"text": "DragEvent"
|
|
72320
|
+
}
|
|
72321
|
+
}
|
|
72322
|
+
]
|
|
72051
72323
|
},
|
|
72052
72324
|
{
|
|
72053
72325
|
"kind": "method",
|
|
72054
|
-
"name": "
|
|
72326
|
+
"name": "_onDragLeave",
|
|
72055
72327
|
"privacy": "private",
|
|
72056
72328
|
"return": {
|
|
72057
72329
|
"type": {
|
|
72058
72330
|
"text": "void"
|
|
72059
72331
|
}
|
|
72060
|
-
}
|
|
72332
|
+
},
|
|
72333
|
+
"parameters": [
|
|
72334
|
+
{
|
|
72335
|
+
"name": "event",
|
|
72336
|
+
"type": {
|
|
72337
|
+
"text": "DragEvent"
|
|
72338
|
+
}
|
|
72339
|
+
}
|
|
72340
|
+
]
|
|
72061
72341
|
},
|
|
72062
72342
|
{
|
|
72063
72343
|
"kind": "method",
|
|
72064
|
-
"name": "
|
|
72344
|
+
"name": "_onFileDrop",
|
|
72065
72345
|
"privacy": "private",
|
|
72066
72346
|
"return": {
|
|
72067
72347
|
"type": {
|
|
@@ -72070,54 +72350,56 @@
|
|
|
72070
72350
|
},
|
|
72071
72351
|
"parameters": [
|
|
72072
72352
|
{
|
|
72073
|
-
"name": "
|
|
72353
|
+
"name": "event",
|
|
72074
72354
|
"type": {
|
|
72075
|
-
"text": "
|
|
72355
|
+
"text": "DragEvent"
|
|
72076
72356
|
}
|
|
72077
72357
|
}
|
|
72078
72358
|
]
|
|
72079
72359
|
},
|
|
72080
72360
|
{
|
|
72081
72361
|
"kind": "method",
|
|
72082
|
-
"name": "
|
|
72362
|
+
"name": "_blockEvent",
|
|
72083
72363
|
"privacy": "private",
|
|
72084
72364
|
"return": {
|
|
72085
72365
|
"type": {
|
|
72086
72366
|
"text": "void"
|
|
72087
72367
|
}
|
|
72088
72368
|
},
|
|
72089
|
-
"
|
|
72369
|
+
"parameters": [
|
|
72370
|
+
{
|
|
72371
|
+
"name": "event",
|
|
72372
|
+
"type": {
|
|
72373
|
+
"text": "DragEvent"
|
|
72374
|
+
}
|
|
72375
|
+
}
|
|
72376
|
+
]
|
|
72090
72377
|
},
|
|
72091
72378
|
{
|
|
72092
72379
|
"kind": "method",
|
|
72093
|
-
"name": "
|
|
72094
|
-
"privacy": "
|
|
72380
|
+
"name": "_setDragState",
|
|
72381
|
+
"privacy": "private",
|
|
72095
72382
|
"return": {
|
|
72096
72383
|
"type": {
|
|
72097
|
-
"text": "
|
|
72384
|
+
"text": "void"
|
|
72098
72385
|
}
|
|
72099
72386
|
},
|
|
72100
|
-
"
|
|
72101
|
-
|
|
72102
|
-
|
|
72103
|
-
|
|
72104
|
-
|
|
72105
|
-
|
|
72106
|
-
|
|
72107
|
-
|
|
72108
|
-
|
|
72109
|
-
|
|
72110
|
-
|
|
72111
|
-
|
|
72112
|
-
|
|
72113
|
-
|
|
72114
|
-
|
|
72115
|
-
|
|
72116
|
-
"reflects": true,
|
|
72117
|
-
"inheritedFrom": {
|
|
72118
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
72119
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
72120
|
-
}
|
|
72387
|
+
"parameters": [
|
|
72388
|
+
{
|
|
72389
|
+
"name": "dragTarget",
|
|
72390
|
+
"default": "undefined",
|
|
72391
|
+
"type": {
|
|
72392
|
+
"text": "HTMLElement | undefined"
|
|
72393
|
+
}
|
|
72394
|
+
},
|
|
72395
|
+
{
|
|
72396
|
+
"name": "isDragEnter",
|
|
72397
|
+
"default": "false",
|
|
72398
|
+
"type": {
|
|
72399
|
+
"text": "boolean"
|
|
72400
|
+
}
|
|
72401
|
+
}
|
|
72402
|
+
]
|
|
72121
72403
|
},
|
|
72122
72404
|
{
|
|
72123
72405
|
"kind": "field",
|
|
@@ -72165,112 +72447,16 @@
|
|
|
72165
72447
|
},
|
|
72166
72448
|
{
|
|
72167
72449
|
"kind": "field",
|
|
72168
|
-
"name": "
|
|
72169
|
-
"type": {
|
|
72170
|
-
"text": "string"
|
|
72171
|
-
},
|
|
72172
|
-
"privacy": "public",
|
|
72173
|
-
"default": "''",
|
|
72174
|
-
"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.",
|
|
72175
|
-
"attribute": "icon-name",
|
|
72176
|
-
"inheritedFrom": {
|
|
72177
|
-
"name": "SbbIconNameMixin",
|
|
72178
|
-
"module": "icon/icon-name-mixin.js"
|
|
72179
|
-
}
|
|
72180
|
-
},
|
|
72181
|
-
{
|
|
72182
|
-
"kind": "method",
|
|
72183
|
-
"name": "renderIconSlot",
|
|
72184
|
-
"privacy": "protected",
|
|
72185
|
-
"return": {
|
|
72186
|
-
"type": {
|
|
72187
|
-
"text": "TemplateResult"
|
|
72188
|
-
}
|
|
72189
|
-
},
|
|
72190
|
-
"parameters": [
|
|
72191
|
-
{
|
|
72192
|
-
"name": "classname",
|
|
72193
|
-
"optional": true,
|
|
72194
|
-
"type": {
|
|
72195
|
-
"text": "string"
|
|
72196
|
-
}
|
|
72197
|
-
}
|
|
72198
|
-
],
|
|
72199
|
-
"inheritedFrom": {
|
|
72200
|
-
"name": "SbbIconNameMixin",
|
|
72201
|
-
"module": "icon/icon-name-mixin.js"
|
|
72202
|
-
}
|
|
72203
|
-
},
|
|
72204
|
-
{
|
|
72205
|
-
"kind": "method",
|
|
72206
|
-
"name": "renderIconName",
|
|
72207
|
-
"privacy": "protected",
|
|
72208
|
-
"return": {
|
|
72209
|
-
"type": {
|
|
72210
|
-
"text": "string"
|
|
72211
|
-
}
|
|
72212
|
-
},
|
|
72213
|
-
"inheritedFrom": {
|
|
72214
|
-
"name": "SbbIconNameMixin",
|
|
72215
|
-
"module": "icon/icon-name-mixin.js"
|
|
72216
|
-
}
|
|
72217
|
-
},
|
|
72218
|
-
{
|
|
72219
|
-
"kind": "method",
|
|
72220
|
-
"name": "_renderIconName",
|
|
72221
|
-
"privacy": "private",
|
|
72222
|
-
"return": {
|
|
72223
|
-
"type": {
|
|
72224
|
-
"text": "string"
|
|
72225
|
-
}
|
|
72226
|
-
},
|
|
72227
|
-
"inheritedFrom": {
|
|
72228
|
-
"name": "SbbIconNameMixin",
|
|
72229
|
-
"module": "icon/icon-name-mixin.js"
|
|
72230
|
-
}
|
|
72231
|
-
},
|
|
72232
|
-
{
|
|
72233
|
-
"kind": "field",
|
|
72234
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
72235
|
-
"type": {
|
|
72236
|
-
"text": "array"
|
|
72237
|
-
},
|
|
72238
|
-
"privacy": "private",
|
|
72239
|
-
"readonly": true,
|
|
72240
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
72241
|
-
"inheritedFrom": {
|
|
72242
|
-
"name": "SbbButtonBaseElement",
|
|
72243
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72244
|
-
}
|
|
72245
|
-
},
|
|
72246
|
-
{
|
|
72247
|
-
"kind": "field",
|
|
72248
|
-
"name": "value",
|
|
72450
|
+
"name": "formAssociated",
|
|
72249
72451
|
"type": {
|
|
72250
|
-
"text": "
|
|
72251
|
-
},
|
|
72252
|
-
"privacy": "public",
|
|
72253
|
-
"inheritedFrom": {
|
|
72254
|
-
"name": "SbbButtonBaseElement",
|
|
72255
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72452
|
+
"text": "boolean"
|
|
72256
72453
|
},
|
|
72257
|
-
"default": "''",
|
|
72258
|
-
"description": "Value of the form element.",
|
|
72259
|
-
"attribute": "value"
|
|
72260
|
-
},
|
|
72261
|
-
{
|
|
72262
|
-
"kind": "field",
|
|
72263
|
-
"name": "type",
|
|
72264
72454
|
"privacy": "public",
|
|
72265
|
-
"
|
|
72266
|
-
"default": "
|
|
72267
|
-
"type": {
|
|
72268
|
-
"text": "SbbButtonType"
|
|
72269
|
-
},
|
|
72270
|
-
"attribute": "type",
|
|
72455
|
+
"static": true,
|
|
72456
|
+
"default": "true",
|
|
72271
72457
|
"inheritedFrom": {
|
|
72272
|
-
"name": "
|
|
72273
|
-
"module": "core/
|
|
72458
|
+
"name": "SbbFormAssociatedMixin",
|
|
72459
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
72274
72460
|
}
|
|
72275
72461
|
},
|
|
72276
72462
|
{
|
|
@@ -72280,75 +72466,8 @@
|
|
|
72280
72466
|
"text": "HTMLFormElement | null"
|
|
72281
72467
|
},
|
|
72282
72468
|
"privacy": "public",
|
|
72283
|
-
"description": "
|
|
72284
|
-
"
|
|
72285
|
-
"name": "SbbButtonBaseElement",
|
|
72286
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72287
|
-
},
|
|
72288
|
-
"attribute": "form"
|
|
72289
|
-
},
|
|
72290
|
-
{
|
|
72291
|
-
"kind": "field",
|
|
72292
|
-
"name": "_formId",
|
|
72293
|
-
"type": {
|
|
72294
|
-
"text": "string"
|
|
72295
|
-
},
|
|
72296
|
-
"privacy": "private",
|
|
72297
|
-
"default": "''",
|
|
72298
|
-
"inheritedFrom": {
|
|
72299
|
-
"name": "SbbButtonBaseElement",
|
|
72300
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72301
|
-
}
|
|
72302
|
-
},
|
|
72303
|
-
{
|
|
72304
|
-
"kind": "field",
|
|
72305
|
-
"name": "_handleButtonClick",
|
|
72306
|
-
"privacy": "private",
|
|
72307
|
-
"inheritedFrom": {
|
|
72308
|
-
"name": "SbbButtonBaseElement",
|
|
72309
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72310
|
-
}
|
|
72311
|
-
},
|
|
72312
|
-
{
|
|
72313
|
-
"kind": "method",
|
|
72314
|
-
"name": "_requestSubmit",
|
|
72315
|
-
"privacy": "private",
|
|
72316
|
-
"return": {
|
|
72317
|
-
"type": {
|
|
72318
|
-
"text": "void"
|
|
72319
|
-
}
|
|
72320
|
-
},
|
|
72321
|
-
"parameters": [
|
|
72322
|
-
{
|
|
72323
|
-
"name": "form",
|
|
72324
|
-
"type": {
|
|
72325
|
-
"text": "HTMLFormElement"
|
|
72326
|
-
}
|
|
72327
|
-
}
|
|
72328
|
-
],
|
|
72329
|
-
"inheritedFrom": {
|
|
72330
|
-
"name": "SbbButtonBaseElement",
|
|
72331
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72332
|
-
}
|
|
72333
|
-
},
|
|
72334
|
-
{
|
|
72335
|
-
"kind": "field",
|
|
72336
|
-
"name": "_formKeyDown",
|
|
72337
|
-
"privacy": "private",
|
|
72338
|
-
"inheritedFrom": {
|
|
72339
|
-
"name": "SbbButtonBaseElement",
|
|
72340
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72341
|
-
}
|
|
72342
|
-
},
|
|
72343
|
-
{
|
|
72344
|
-
"kind": "field",
|
|
72345
|
-
"name": "formAssociated",
|
|
72346
|
-
"type": {
|
|
72347
|
-
"text": "boolean"
|
|
72348
|
-
},
|
|
72349
|
-
"privacy": "public",
|
|
72350
|
-
"static": true,
|
|
72351
|
-
"default": "true",
|
|
72469
|
+
"description": "Returns the form owner of this element.",
|
|
72470
|
+
"readonly": true,
|
|
72352
72471
|
"inheritedFrom": {
|
|
72353
72472
|
"name": "SbbFormAssociatedMixin",
|
|
72354
72473
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -72480,22 +72599,8 @@
|
|
|
72480
72599
|
"text": "string"
|
|
72481
72600
|
}
|
|
72482
72601
|
}
|
|
72483
|
-
],
|
|
72484
|
-
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
72485
|
-
"inheritedFrom": {
|
|
72486
|
-
"name": "SbbFormAssociatedMixin",
|
|
72487
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
72488
|
-
}
|
|
72489
|
-
},
|
|
72490
|
-
{
|
|
72491
|
-
"kind": "method",
|
|
72492
|
-
"name": "_hasDisabledAncestor",
|
|
72493
|
-
"privacy": "private",
|
|
72494
|
-
"return": {
|
|
72495
|
-
"type": {
|
|
72496
|
-
"text": "boolean"
|
|
72497
|
-
}
|
|
72498
|
-
},
|
|
72602
|
+
],
|
|
72603
|
+
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
72499
72604
|
"inheritedFrom": {
|
|
72500
72605
|
"name": "SbbFormAssociatedMixin",
|
|
72501
72606
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -72503,14 +72608,13 @@
|
|
|
72503
72608
|
},
|
|
72504
72609
|
{
|
|
72505
72610
|
"kind": "method",
|
|
72506
|
-
"name": "
|
|
72507
|
-
"privacy": "
|
|
72611
|
+
"name": "_hasDisabledAncestor",
|
|
72612
|
+
"privacy": "private",
|
|
72508
72613
|
"return": {
|
|
72509
72614
|
"type": {
|
|
72510
|
-
"text": "
|
|
72615
|
+
"text": "boolean"
|
|
72511
72616
|
}
|
|
72512
72617
|
},
|
|
72513
|
-
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
72514
72618
|
"inheritedFrom": {
|
|
72515
72619
|
"name": "SbbFormAssociatedMixin",
|
|
72516
72620
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -72641,71 +72745,6 @@
|
|
|
72641
72745
|
"module": "core/mixins/form-associated-mixin.js"
|
|
72642
72746
|
}
|
|
72643
72747
|
},
|
|
72644
|
-
{
|
|
72645
|
-
"kind": "field",
|
|
72646
|
-
"name": "role",
|
|
72647
|
-
"type": {
|
|
72648
|
-
"text": "ElementInternals['role']"
|
|
72649
|
-
},
|
|
72650
|
-
"privacy": "public",
|
|
72651
|
-
"static": true,
|
|
72652
|
-
"readonly": true,
|
|
72653
|
-
"default": "'button'",
|
|
72654
|
-
"inheritedFrom": {
|
|
72655
|
-
"name": "SbbButtonLikeBaseElement",
|
|
72656
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72657
|
-
}
|
|
72658
|
-
},
|
|
72659
|
-
{
|
|
72660
|
-
"kind": "field",
|
|
72661
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
72662
|
-
"privacy": "private",
|
|
72663
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
72664
|
-
"parameters": [
|
|
72665
|
-
{
|
|
72666
|
-
"description": "The origin event.",
|
|
72667
|
-
"name": "event"
|
|
72668
|
-
}
|
|
72669
|
-
],
|
|
72670
|
-
"inheritedFrom": {
|
|
72671
|
-
"name": "SbbButtonLikeBaseElement",
|
|
72672
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72673
|
-
}
|
|
72674
|
-
},
|
|
72675
|
-
{
|
|
72676
|
-
"kind": "field",
|
|
72677
|
-
"name": "_removeActiveMarker",
|
|
72678
|
-
"privacy": "private",
|
|
72679
|
-
"inheritedFrom": {
|
|
72680
|
-
"name": "SbbButtonLikeBaseElement",
|
|
72681
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72682
|
-
}
|
|
72683
|
-
},
|
|
72684
|
-
{
|
|
72685
|
-
"kind": "field",
|
|
72686
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
72687
|
-
"privacy": "private",
|
|
72688
|
-
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
72689
|
-
"parameters": [
|
|
72690
|
-
{
|
|
72691
|
-
"description": "The origin event.",
|
|
72692
|
-
"name": "event"
|
|
72693
|
-
}
|
|
72694
|
-
],
|
|
72695
|
-
"inheritedFrom": {
|
|
72696
|
-
"name": "SbbButtonLikeBaseElement",
|
|
72697
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72698
|
-
}
|
|
72699
|
-
},
|
|
72700
|
-
{
|
|
72701
|
-
"kind": "field",
|
|
72702
|
-
"name": "_dispatchClickEvent",
|
|
72703
|
-
"privacy": "private",
|
|
72704
|
-
"inheritedFrom": {
|
|
72705
|
-
"name": "SbbButtonLikeBaseElement",
|
|
72706
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72707
|
-
}
|
|
72708
|
-
},
|
|
72709
72748
|
{
|
|
72710
72749
|
"kind": "method",
|
|
72711
72750
|
"name": "toggleState",
|
|
@@ -72731,152 +72770,91 @@
|
|
|
72731
72770
|
}
|
|
72732
72771
|
],
|
|
72733
72772
|
"inheritedFrom": {
|
|
72734
|
-
"name": "
|
|
72735
|
-
"module": "core/
|
|
72773
|
+
"name": "SbbElementInternalsMixin",
|
|
72774
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
72736
72775
|
}
|
|
72737
|
-
}
|
|
72776
|
+
}
|
|
72777
|
+
],
|
|
72778
|
+
"events": [
|
|
72738
72779
|
{
|
|
72739
|
-
"
|
|
72740
|
-
"name": "maybeDisabled",
|
|
72780
|
+
"name": "input",
|
|
72741
72781
|
"type": {
|
|
72742
|
-
"text": "
|
|
72782
|
+
"text": "InputEvent"
|
|
72743
72783
|
},
|
|
72744
|
-
"
|
|
72745
|
-
"readonly": true,
|
|
72746
|
-
"inheritedFrom": {
|
|
72747
|
-
"name": "SbbActionBaseElement",
|
|
72748
|
-
"module": "core/base-elements/action-base-element.js"
|
|
72749
|
-
}
|
|
72784
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action."
|
|
72750
72785
|
},
|
|
72751
72786
|
{
|
|
72752
|
-
"
|
|
72753
|
-
"name": "maybeDisabledInteractive",
|
|
72787
|
+
"name": "change",
|
|
72754
72788
|
"type": {
|
|
72755
|
-
"text": "
|
|
72789
|
+
"text": "Event"
|
|
72756
72790
|
},
|
|
72757
|
-
"
|
|
72758
|
-
"readonly": true,
|
|
72759
|
-
"inheritedFrom": {
|
|
72760
|
-
"name": "SbbActionBaseElement",
|
|
72761
|
-
"module": "core/base-elements/action-base-element.js"
|
|
72762
|
-
}
|
|
72791
|
+
"description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
|
|
72763
72792
|
},
|
|
72764
72793
|
{
|
|
72765
|
-
"
|
|
72766
|
-
"
|
|
72767
|
-
|
|
72768
|
-
"return": {
|
|
72769
|
-
"type": {
|
|
72770
|
-
"text": "void"
|
|
72771
|
-
}
|
|
72794
|
+
"name": "filechanged",
|
|
72795
|
+
"type": {
|
|
72796
|
+
"text": "CustomEvent<Readonly<File>[]>"
|
|
72772
72797
|
},
|
|
72773
|
-
"
|
|
72774
|
-
"name": "SbbActionBaseElement",
|
|
72775
|
-
"module": "core/base-elements/action-base-element.js"
|
|
72776
|
-
}
|
|
72798
|
+
"description": "An event which is emitted each time the file list changes."
|
|
72777
72799
|
}
|
|
72778
72800
|
],
|
|
72779
|
-
"
|
|
72801
|
+
"attributes": [
|
|
72780
72802
|
{
|
|
72781
|
-
"name": "
|
|
72803
|
+
"name": "size",
|
|
72782
72804
|
"type": {
|
|
72783
|
-
"text": "
|
|
72805
|
+
"text": "'s' | 'm'"
|
|
72784
72806
|
},
|
|
72785
|
-
"description": "
|
|
72786
|
-
|
|
72787
|
-
|
|
72788
|
-
"mixins": [
|
|
72789
|
-
{
|
|
72790
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
72791
|
-
"module": "core/mixins.js"
|
|
72807
|
+
"description": "Size variant, either s or m.",
|
|
72808
|
+
"default": "'m' / 's' (lean)",
|
|
72809
|
+
"fieldName": "size"
|
|
72792
72810
|
},
|
|
72793
72811
|
{
|
|
72794
|
-
"name": "
|
|
72795
|
-
"module": "icon.js"
|
|
72796
|
-
}
|
|
72797
|
-
],
|
|
72798
|
-
"superclass": {
|
|
72799
|
-
"name": "SbbButtonBaseElement",
|
|
72800
|
-
"module": "core/base-elements.js"
|
|
72801
|
-
},
|
|
72802
|
-
"tagName": "sbb-expansion-panel-header",
|
|
72803
|
-
"customElement": true,
|
|
72804
|
-
"attributes": [
|
|
72805
|
-
{
|
|
72806
|
-
"name": "disabled-interactive",
|
|
72812
|
+
"name": "multiple",
|
|
72807
72813
|
"type": {
|
|
72808
72814
|
"text": "boolean"
|
|
72809
72815
|
},
|
|
72810
72816
|
"default": "false",
|
|
72811
|
-
"description": "Whether
|
|
72812
|
-
"fieldName": "
|
|
72813
|
-
"inheritedFrom": {
|
|
72814
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
72815
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
72816
|
-
}
|
|
72817
|
+
"description": "Whether more than one file can be selected.",
|
|
72818
|
+
"fieldName": "multiple"
|
|
72817
72819
|
},
|
|
72818
72820
|
{
|
|
72819
|
-
"name": "
|
|
72820
|
-
"description": "Whether the component is disabled.",
|
|
72821
|
-
"default": "false",
|
|
72821
|
+
"name": "multiple-mode",
|
|
72822
72822
|
"type": {
|
|
72823
|
-
"text": "
|
|
72823
|
+
"text": "'default' | 'persistent'"
|
|
72824
72824
|
},
|
|
72825
|
-
"
|
|
72826
|
-
"
|
|
72827
|
-
|
|
72828
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
72829
|
-
}
|
|
72825
|
+
"default": "'default'",
|
|
72826
|
+
"description": "Whether the newly added files should override the previously added ones.",
|
|
72827
|
+
"fieldName": "multipleMode"
|
|
72830
72828
|
},
|
|
72831
72829
|
{
|
|
72832
|
-
"name": "
|
|
72830
|
+
"name": "accept",
|
|
72833
72831
|
"type": {
|
|
72834
72832
|
"text": "string"
|
|
72835
72833
|
},
|
|
72836
72834
|
"default": "''",
|
|
72837
|
-
"description": "
|
|
72838
|
-
"fieldName": "
|
|
72839
|
-
"inheritedFrom": {
|
|
72840
|
-
"name": "SbbIconNameMixin",
|
|
72841
|
-
"module": "icon/icon-name-mixin.js"
|
|
72842
|
-
}
|
|
72835
|
+
"description": "A comma-separated list of allowed unique file type specifiers.",
|
|
72836
|
+
"fieldName": "accept"
|
|
72843
72837
|
},
|
|
72844
72838
|
{
|
|
72845
|
-
"name": "
|
|
72839
|
+
"name": "accessibility-label",
|
|
72846
72840
|
"type": {
|
|
72847
72841
|
"text": "string"
|
|
72848
72842
|
},
|
|
72849
72843
|
"default": "''",
|
|
72850
|
-
"description": "
|
|
72851
|
-
"fieldName": "
|
|
72852
|
-
"inheritedFrom": {
|
|
72853
|
-
"name": "SbbButtonBaseElement",
|
|
72854
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72855
|
-
}
|
|
72856
|
-
},
|
|
72857
|
-
{
|
|
72858
|
-
"name": "type",
|
|
72859
|
-
"description": "The type attribute to use for the button.",
|
|
72860
|
-
"default": "'button'",
|
|
72861
|
-
"type": {
|
|
72862
|
-
"text": "SbbButtonType"
|
|
72863
|
-
},
|
|
72864
|
-
"fieldName": "type",
|
|
72865
|
-
"inheritedFrom": {
|
|
72866
|
-
"name": "SbbButtonBaseElement",
|
|
72867
|
-
"module": "core/base-elements/button-base-element.js"
|
|
72868
|
-
}
|
|
72844
|
+
"description": "This will be forwarded as aria-label to the native input element.",
|
|
72845
|
+
"fieldName": "accessibilityLabel"
|
|
72869
72846
|
},
|
|
72870
72847
|
{
|
|
72871
|
-
"name": "
|
|
72872
|
-
"description": "
|
|
72848
|
+
"name": "disabled",
|
|
72849
|
+
"description": "Whether the component is disabled.",
|
|
72850
|
+
"default": "false",
|
|
72873
72851
|
"type": {
|
|
72874
|
-
"text": "
|
|
72852
|
+
"text": "boolean"
|
|
72875
72853
|
},
|
|
72876
|
-
"fieldName": "
|
|
72854
|
+
"fieldName": "disabled",
|
|
72877
72855
|
"inheritedFrom": {
|
|
72878
|
-
"name": "
|
|
72879
|
-
"module": "core/
|
|
72856
|
+
"name": "SbbDisabledMixin",
|
|
72857
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
72880
72858
|
}
|
|
72881
72859
|
},
|
|
72882
72860
|
{
|
|
@@ -72891,24 +72869,46 @@
|
|
|
72891
72869
|
"module": "core/mixins/form-associated-mixin.js"
|
|
72892
72870
|
}
|
|
72893
72871
|
}
|
|
72872
|
+
],
|
|
72873
|
+
"mixins": [
|
|
72874
|
+
{
|
|
72875
|
+
"name": "SbbDisabledMixin",
|
|
72876
|
+
"module": "core/mixins.js"
|
|
72877
|
+
},
|
|
72878
|
+
{
|
|
72879
|
+
"name": "SbbFormAssociatedMixin",
|
|
72880
|
+
"module": "core/mixins.js"
|
|
72881
|
+
},
|
|
72882
|
+
{
|
|
72883
|
+
"name": "SbbElementInternalsMixin",
|
|
72884
|
+
"module": "core/mixins.js"
|
|
72885
|
+
}
|
|
72886
|
+
],
|
|
72887
|
+
"parameters": [
|
|
72888
|
+
{
|
|
72889
|
+
"name": "superclass",
|
|
72890
|
+
"type": {
|
|
72891
|
+
"text": "T"
|
|
72892
|
+
}
|
|
72893
|
+
}
|
|
72894
72894
|
]
|
|
72895
72895
|
}
|
|
72896
72896
|
],
|
|
72897
72897
|
"exports": [
|
|
72898
72898
|
{
|
|
72899
72899
|
"kind": "js",
|
|
72900
|
-
"name": "
|
|
72900
|
+
"name": "SbbFileSelectorCommonElementMixinType",
|
|
72901
72901
|
"declaration": {
|
|
72902
|
-
"name": "
|
|
72903
|
-
"module": "
|
|
72902
|
+
"name": "SbbFileSelectorCommonElementMixinType",
|
|
72903
|
+
"module": "file-selector/common/file-selector-common.js"
|
|
72904
72904
|
}
|
|
72905
72905
|
},
|
|
72906
72906
|
{
|
|
72907
|
-
"kind": "
|
|
72908
|
-
"name": "
|
|
72907
|
+
"kind": "js",
|
|
72908
|
+
"name": "SbbFileSelectorCommonElementMixin",
|
|
72909
72909
|
"declaration": {
|
|
72910
|
-
"name": "
|
|
72911
|
-
"module": "
|
|
72910
|
+
"name": "SbbFileSelectorCommonElementMixin",
|
|
72911
|
+
"module": "file-selector/common/file-selector-common.js"
|
|
72912
72912
|
}
|
|
72913
72913
|
}
|
|
72914
72914
|
]
|