@sbb-esta/lyne-elements-dev 4.12.0-dev.1777931567 → 4.12.1-dev.1777961178
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 +1488 -1488
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -94658,6 +94658,253 @@
|
|
|
94658
94658
|
}
|
|
94659
94659
|
]
|
|
94660
94660
|
},
|
|
94661
|
+
{
|
|
94662
|
+
"kind": "javascript-module",
|
|
94663
|
+
"path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
|
|
94664
|
+
"declarations": [
|
|
94665
|
+
{
|
|
94666
|
+
"kind": "class",
|
|
94667
|
+
"description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
|
|
94668
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
94669
|
+
"slots": [
|
|
94670
|
+
{
|
|
94671
|
+
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
94672
|
+
"name": "",
|
|
94673
|
+
"inheritedFrom": {
|
|
94674
|
+
"name": "SbbHintElement",
|
|
94675
|
+
"module": "form-field/hint/hint.component.js"
|
|
94676
|
+
}
|
|
94677
|
+
}
|
|
94678
|
+
],
|
|
94679
|
+
"members": [
|
|
94680
|
+
{
|
|
94681
|
+
"kind": "field",
|
|
94682
|
+
"name": "elementName",
|
|
94683
|
+
"type": {
|
|
94684
|
+
"text": "string"
|
|
94685
|
+
},
|
|
94686
|
+
"privacy": "public",
|
|
94687
|
+
"static": true,
|
|
94688
|
+
"readonly": true,
|
|
94689
|
+
"default": "'sbb-form-field-text-counter'",
|
|
94690
|
+
"inheritedFrom": {
|
|
94691
|
+
"name": "SbbElement",
|
|
94692
|
+
"module": "core/base-elements/element.js"
|
|
94693
|
+
}
|
|
94694
|
+
},
|
|
94695
|
+
{
|
|
94696
|
+
"kind": "field",
|
|
94697
|
+
"name": "_remainingCharacters",
|
|
94698
|
+
"type": {
|
|
94699
|
+
"text": "number"
|
|
94700
|
+
},
|
|
94701
|
+
"privacy": "private",
|
|
94702
|
+
"default": "0"
|
|
94703
|
+
},
|
|
94704
|
+
{
|
|
94705
|
+
"kind": "field",
|
|
94706
|
+
"name": "_language",
|
|
94707
|
+
"privacy": "private",
|
|
94708
|
+
"default": "new SbbLanguageController(this)"
|
|
94709
|
+
},
|
|
94710
|
+
{
|
|
94711
|
+
"kind": "field",
|
|
94712
|
+
"name": "_abortController",
|
|
94713
|
+
"type": {
|
|
94714
|
+
"text": "AbortController | null"
|
|
94715
|
+
},
|
|
94716
|
+
"privacy": "private",
|
|
94717
|
+
"default": "null"
|
|
94718
|
+
},
|
|
94719
|
+
{
|
|
94720
|
+
"kind": "method",
|
|
94721
|
+
"name": "_onInputUpdate",
|
|
94722
|
+
"privacy": "private",
|
|
94723
|
+
"return": {
|
|
94724
|
+
"type": {
|
|
94725
|
+
"text": "void"
|
|
94726
|
+
}
|
|
94727
|
+
}
|
|
94728
|
+
},
|
|
94729
|
+
{
|
|
94730
|
+
"kind": "method",
|
|
94731
|
+
"name": "_infoText",
|
|
94732
|
+
"privacy": "private",
|
|
94733
|
+
"return": {
|
|
94734
|
+
"type": {
|
|
94735
|
+
"text": "string"
|
|
94736
|
+
}
|
|
94737
|
+
}
|
|
94738
|
+
},
|
|
94739
|
+
{
|
|
94740
|
+
"kind": "field",
|
|
94741
|
+
"name": "negative",
|
|
94742
|
+
"type": {
|
|
94743
|
+
"text": "boolean"
|
|
94744
|
+
},
|
|
94745
|
+
"privacy": "public",
|
|
94746
|
+
"default": "false",
|
|
94747
|
+
"description": "Negative coloring variant flag.",
|
|
94748
|
+
"attribute": "negative",
|
|
94749
|
+
"reflects": true,
|
|
94750
|
+
"inheritedFrom": {
|
|
94751
|
+
"name": "SbbNegativeMixin",
|
|
94752
|
+
"module": "core/mixins/negative-mixin.js"
|
|
94753
|
+
}
|
|
94754
|
+
},
|
|
94755
|
+
{
|
|
94756
|
+
"kind": "field",
|
|
94757
|
+
"name": "formField",
|
|
94758
|
+
"type": {
|
|
94759
|
+
"text": "SbbFormFieldElement | null"
|
|
94760
|
+
},
|
|
94761
|
+
"privacy": "protected",
|
|
94762
|
+
"default": "null",
|
|
94763
|
+
"inheritedFrom": {
|
|
94764
|
+
"name": "SbbHintElement",
|
|
94765
|
+
"module": "form-field/hint/hint.component.js"
|
|
94766
|
+
}
|
|
94767
|
+
},
|
|
94768
|
+
{
|
|
94769
|
+
"kind": "field",
|
|
94770
|
+
"name": "_hydrationRequired",
|
|
94771
|
+
"type": {
|
|
94772
|
+
"text": "boolean"
|
|
94773
|
+
},
|
|
94774
|
+
"privacy": "private",
|
|
94775
|
+
"default": "!!this.shadowRoot",
|
|
94776
|
+
"inheritedFrom": {
|
|
94777
|
+
"name": "SbbElement",
|
|
94778
|
+
"module": "core/base-elements/element.js"
|
|
94779
|
+
}
|
|
94780
|
+
},
|
|
94781
|
+
{
|
|
94782
|
+
"kind": "field",
|
|
94783
|
+
"name": "_hydrationComplete",
|
|
94784
|
+
"privacy": "private",
|
|
94785
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
94786
|
+
"inheritedFrom": {
|
|
94787
|
+
"name": "SbbElement",
|
|
94788
|
+
"module": "core/base-elements/element.js"
|
|
94789
|
+
}
|
|
94790
|
+
},
|
|
94791
|
+
{
|
|
94792
|
+
"kind": "field",
|
|
94793
|
+
"name": "_resolveHydration",
|
|
94794
|
+
"type": {
|
|
94795
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
94796
|
+
},
|
|
94797
|
+
"privacy": "private",
|
|
94798
|
+
"inheritedFrom": {
|
|
94799
|
+
"name": "SbbElement",
|
|
94800
|
+
"module": "core/base-elements/element.js"
|
|
94801
|
+
}
|
|
94802
|
+
},
|
|
94803
|
+
{
|
|
94804
|
+
"kind": "field",
|
|
94805
|
+
"name": "hydrationRequired",
|
|
94806
|
+
"type": {
|
|
94807
|
+
"text": "boolean"
|
|
94808
|
+
},
|
|
94809
|
+
"privacy": "protected",
|
|
94810
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
94811
|
+
"readonly": true,
|
|
94812
|
+
"inheritedFrom": {
|
|
94813
|
+
"name": "SbbElement",
|
|
94814
|
+
"module": "core/base-elements/element.js"
|
|
94815
|
+
},
|
|
94816
|
+
"default": "!!this.shadowRoot"
|
|
94817
|
+
},
|
|
94818
|
+
{
|
|
94819
|
+
"kind": "method",
|
|
94820
|
+
"name": "toggleState",
|
|
94821
|
+
"privacy": "protected",
|
|
94822
|
+
"return": {
|
|
94823
|
+
"type": {
|
|
94824
|
+
"text": "void"
|
|
94825
|
+
}
|
|
94826
|
+
},
|
|
94827
|
+
"parameters": [
|
|
94828
|
+
{
|
|
94829
|
+
"name": "value",
|
|
94830
|
+
"type": {
|
|
94831
|
+
"text": "string"
|
|
94832
|
+
}
|
|
94833
|
+
},
|
|
94834
|
+
{
|
|
94835
|
+
"name": "force",
|
|
94836
|
+
"optional": true,
|
|
94837
|
+
"type": {
|
|
94838
|
+
"text": "boolean"
|
|
94839
|
+
}
|
|
94840
|
+
}
|
|
94841
|
+
],
|
|
94842
|
+
"inheritedFrom": {
|
|
94843
|
+
"name": "SbbElement",
|
|
94844
|
+
"module": "core/base-elements/element.js"
|
|
94845
|
+
}
|
|
94846
|
+
},
|
|
94847
|
+
{
|
|
94848
|
+
"kind": "field",
|
|
94849
|
+
"name": "['_$sbbElement$']",
|
|
94850
|
+
"type": {
|
|
94851
|
+
"text": "boolean"
|
|
94852
|
+
},
|
|
94853
|
+
"privacy": "public",
|
|
94854
|
+
"static": true,
|
|
94855
|
+
"default": "true",
|
|
94856
|
+
"inheritedFrom": {
|
|
94857
|
+
"name": "SbbElement",
|
|
94858
|
+
"module": "core/base-elements/element.js"
|
|
94859
|
+
}
|
|
94860
|
+
},
|
|
94861
|
+
{
|
|
94862
|
+
"kind": "field",
|
|
94863
|
+
"name": "_controllers",
|
|
94864
|
+
"type": {
|
|
94865
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
94866
|
+
},
|
|
94867
|
+
"privacy": "private",
|
|
94868
|
+
"inheritedFrom": {
|
|
94869
|
+
"name": "SbbElement",
|
|
94870
|
+
"module": "core/base-elements/element.js"
|
|
94871
|
+
}
|
|
94872
|
+
}
|
|
94873
|
+
],
|
|
94874
|
+
"superclass": {
|
|
94875
|
+
"name": "SbbHintElement",
|
|
94876
|
+
"module": "form-field/hint/hint.component.js"
|
|
94877
|
+
},
|
|
94878
|
+
"tagName": "sbb-form-field-text-counter",
|
|
94879
|
+
"customElement": true,
|
|
94880
|
+
"attributes": [
|
|
94881
|
+
{
|
|
94882
|
+
"name": "negative",
|
|
94883
|
+
"type": {
|
|
94884
|
+
"text": "boolean"
|
|
94885
|
+
},
|
|
94886
|
+
"default": "false",
|
|
94887
|
+
"description": "Negative coloring variant flag.",
|
|
94888
|
+
"fieldName": "negative",
|
|
94889
|
+
"inheritedFrom": {
|
|
94890
|
+
"name": "SbbNegativeMixin",
|
|
94891
|
+
"module": "core/mixins/negative-mixin.js"
|
|
94892
|
+
}
|
|
94893
|
+
}
|
|
94894
|
+
]
|
|
94895
|
+
}
|
|
94896
|
+
],
|
|
94897
|
+
"exports": [
|
|
94898
|
+
{
|
|
94899
|
+
"kind": "js",
|
|
94900
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
94901
|
+
"declaration": {
|
|
94902
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
94903
|
+
"module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
|
|
94904
|
+
}
|
|
94905
|
+
}
|
|
94906
|
+
]
|
|
94907
|
+
},
|
|
94661
94908
|
{
|
|
94662
94909
|
"kind": "javascript-module",
|
|
94663
94910
|
"path": "form-field/form-field-clear/form-field-clear.component.js",
|
|
@@ -95468,259 +95715,12 @@
|
|
|
95468
95715
|
},
|
|
95469
95716
|
{
|
|
95470
95717
|
"kind": "javascript-module",
|
|
95471
|
-
"path": "form-field/
|
|
95718
|
+
"path": "form-field/hint/hint.component.js",
|
|
95472
95719
|
"declarations": [
|
|
95473
95720
|
{
|
|
95474
95721
|
"kind": "class",
|
|
95475
|
-
"description": "It displays
|
|
95476
|
-
"name": "
|
|
95477
|
-
"slots": [
|
|
95478
|
-
{
|
|
95479
|
-
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
95480
|
-
"name": "",
|
|
95481
|
-
"inheritedFrom": {
|
|
95482
|
-
"name": "SbbHintElement",
|
|
95483
|
-
"module": "form-field/hint/hint.component.js"
|
|
95484
|
-
}
|
|
95485
|
-
}
|
|
95486
|
-
],
|
|
95487
|
-
"members": [
|
|
95488
|
-
{
|
|
95489
|
-
"kind": "field",
|
|
95490
|
-
"name": "elementName",
|
|
95491
|
-
"type": {
|
|
95492
|
-
"text": "string"
|
|
95493
|
-
},
|
|
95494
|
-
"privacy": "public",
|
|
95495
|
-
"static": true,
|
|
95496
|
-
"readonly": true,
|
|
95497
|
-
"default": "'sbb-form-field-text-counter'",
|
|
95498
|
-
"inheritedFrom": {
|
|
95499
|
-
"name": "SbbElement",
|
|
95500
|
-
"module": "core/base-elements/element.js"
|
|
95501
|
-
}
|
|
95502
|
-
},
|
|
95503
|
-
{
|
|
95504
|
-
"kind": "field",
|
|
95505
|
-
"name": "_remainingCharacters",
|
|
95506
|
-
"type": {
|
|
95507
|
-
"text": "number"
|
|
95508
|
-
},
|
|
95509
|
-
"privacy": "private",
|
|
95510
|
-
"default": "0"
|
|
95511
|
-
},
|
|
95512
|
-
{
|
|
95513
|
-
"kind": "field",
|
|
95514
|
-
"name": "_language",
|
|
95515
|
-
"privacy": "private",
|
|
95516
|
-
"default": "new SbbLanguageController(this)"
|
|
95517
|
-
},
|
|
95518
|
-
{
|
|
95519
|
-
"kind": "field",
|
|
95520
|
-
"name": "_abortController",
|
|
95521
|
-
"type": {
|
|
95522
|
-
"text": "AbortController | null"
|
|
95523
|
-
},
|
|
95524
|
-
"privacy": "private",
|
|
95525
|
-
"default": "null"
|
|
95526
|
-
},
|
|
95527
|
-
{
|
|
95528
|
-
"kind": "method",
|
|
95529
|
-
"name": "_onInputUpdate",
|
|
95530
|
-
"privacy": "private",
|
|
95531
|
-
"return": {
|
|
95532
|
-
"type": {
|
|
95533
|
-
"text": "void"
|
|
95534
|
-
}
|
|
95535
|
-
}
|
|
95536
|
-
},
|
|
95537
|
-
{
|
|
95538
|
-
"kind": "method",
|
|
95539
|
-
"name": "_infoText",
|
|
95540
|
-
"privacy": "private",
|
|
95541
|
-
"return": {
|
|
95542
|
-
"type": {
|
|
95543
|
-
"text": "string"
|
|
95544
|
-
}
|
|
95545
|
-
}
|
|
95546
|
-
},
|
|
95547
|
-
{
|
|
95548
|
-
"kind": "field",
|
|
95549
|
-
"name": "negative",
|
|
95550
|
-
"type": {
|
|
95551
|
-
"text": "boolean"
|
|
95552
|
-
},
|
|
95553
|
-
"privacy": "public",
|
|
95554
|
-
"default": "false",
|
|
95555
|
-
"description": "Negative coloring variant flag.",
|
|
95556
|
-
"attribute": "negative",
|
|
95557
|
-
"reflects": true,
|
|
95558
|
-
"inheritedFrom": {
|
|
95559
|
-
"name": "SbbNegativeMixin",
|
|
95560
|
-
"module": "core/mixins/negative-mixin.js"
|
|
95561
|
-
}
|
|
95562
|
-
},
|
|
95563
|
-
{
|
|
95564
|
-
"kind": "field",
|
|
95565
|
-
"name": "formField",
|
|
95566
|
-
"type": {
|
|
95567
|
-
"text": "SbbFormFieldElement | null"
|
|
95568
|
-
},
|
|
95569
|
-
"privacy": "protected",
|
|
95570
|
-
"default": "null",
|
|
95571
|
-
"inheritedFrom": {
|
|
95572
|
-
"name": "SbbHintElement",
|
|
95573
|
-
"module": "form-field/hint/hint.component.js"
|
|
95574
|
-
}
|
|
95575
|
-
},
|
|
95576
|
-
{
|
|
95577
|
-
"kind": "field",
|
|
95578
|
-
"name": "_hydrationRequired",
|
|
95579
|
-
"type": {
|
|
95580
|
-
"text": "boolean"
|
|
95581
|
-
},
|
|
95582
|
-
"privacy": "private",
|
|
95583
|
-
"default": "!!this.shadowRoot",
|
|
95584
|
-
"inheritedFrom": {
|
|
95585
|
-
"name": "SbbElement",
|
|
95586
|
-
"module": "core/base-elements/element.js"
|
|
95587
|
-
}
|
|
95588
|
-
},
|
|
95589
|
-
{
|
|
95590
|
-
"kind": "field",
|
|
95591
|
-
"name": "_hydrationComplete",
|
|
95592
|
-
"privacy": "private",
|
|
95593
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
95594
|
-
"inheritedFrom": {
|
|
95595
|
-
"name": "SbbElement",
|
|
95596
|
-
"module": "core/base-elements/element.js"
|
|
95597
|
-
}
|
|
95598
|
-
},
|
|
95599
|
-
{
|
|
95600
|
-
"kind": "field",
|
|
95601
|
-
"name": "_resolveHydration",
|
|
95602
|
-
"type": {
|
|
95603
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
95604
|
-
},
|
|
95605
|
-
"privacy": "private",
|
|
95606
|
-
"inheritedFrom": {
|
|
95607
|
-
"name": "SbbElement",
|
|
95608
|
-
"module": "core/base-elements/element.js"
|
|
95609
|
-
}
|
|
95610
|
-
},
|
|
95611
|
-
{
|
|
95612
|
-
"kind": "field",
|
|
95613
|
-
"name": "hydrationRequired",
|
|
95614
|
-
"type": {
|
|
95615
|
-
"text": "boolean"
|
|
95616
|
-
},
|
|
95617
|
-
"privacy": "protected",
|
|
95618
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
95619
|
-
"readonly": true,
|
|
95620
|
-
"inheritedFrom": {
|
|
95621
|
-
"name": "SbbElement",
|
|
95622
|
-
"module": "core/base-elements/element.js"
|
|
95623
|
-
},
|
|
95624
|
-
"default": "!!this.shadowRoot"
|
|
95625
|
-
},
|
|
95626
|
-
{
|
|
95627
|
-
"kind": "method",
|
|
95628
|
-
"name": "toggleState",
|
|
95629
|
-
"privacy": "protected",
|
|
95630
|
-
"return": {
|
|
95631
|
-
"type": {
|
|
95632
|
-
"text": "void"
|
|
95633
|
-
}
|
|
95634
|
-
},
|
|
95635
|
-
"parameters": [
|
|
95636
|
-
{
|
|
95637
|
-
"name": "value",
|
|
95638
|
-
"type": {
|
|
95639
|
-
"text": "string"
|
|
95640
|
-
}
|
|
95641
|
-
},
|
|
95642
|
-
{
|
|
95643
|
-
"name": "force",
|
|
95644
|
-
"optional": true,
|
|
95645
|
-
"type": {
|
|
95646
|
-
"text": "boolean"
|
|
95647
|
-
}
|
|
95648
|
-
}
|
|
95649
|
-
],
|
|
95650
|
-
"inheritedFrom": {
|
|
95651
|
-
"name": "SbbElement",
|
|
95652
|
-
"module": "core/base-elements/element.js"
|
|
95653
|
-
}
|
|
95654
|
-
},
|
|
95655
|
-
{
|
|
95656
|
-
"kind": "field",
|
|
95657
|
-
"name": "['_$sbbElement$']",
|
|
95658
|
-
"type": {
|
|
95659
|
-
"text": "boolean"
|
|
95660
|
-
},
|
|
95661
|
-
"privacy": "public",
|
|
95662
|
-
"static": true,
|
|
95663
|
-
"default": "true",
|
|
95664
|
-
"inheritedFrom": {
|
|
95665
|
-
"name": "SbbElement",
|
|
95666
|
-
"module": "core/base-elements/element.js"
|
|
95667
|
-
}
|
|
95668
|
-
},
|
|
95669
|
-
{
|
|
95670
|
-
"kind": "field",
|
|
95671
|
-
"name": "_controllers",
|
|
95672
|
-
"type": {
|
|
95673
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
95674
|
-
},
|
|
95675
|
-
"privacy": "private",
|
|
95676
|
-
"inheritedFrom": {
|
|
95677
|
-
"name": "SbbElement",
|
|
95678
|
-
"module": "core/base-elements/element.js"
|
|
95679
|
-
}
|
|
95680
|
-
}
|
|
95681
|
-
],
|
|
95682
|
-
"superclass": {
|
|
95683
|
-
"name": "SbbHintElement",
|
|
95684
|
-
"module": "form-field/hint/hint.component.js"
|
|
95685
|
-
},
|
|
95686
|
-
"tagName": "sbb-form-field-text-counter",
|
|
95687
|
-
"customElement": true,
|
|
95688
|
-
"attributes": [
|
|
95689
|
-
{
|
|
95690
|
-
"name": "negative",
|
|
95691
|
-
"type": {
|
|
95692
|
-
"text": "boolean"
|
|
95693
|
-
},
|
|
95694
|
-
"default": "false",
|
|
95695
|
-
"description": "Negative coloring variant flag.",
|
|
95696
|
-
"fieldName": "negative",
|
|
95697
|
-
"inheritedFrom": {
|
|
95698
|
-
"name": "SbbNegativeMixin",
|
|
95699
|
-
"module": "core/mixins/negative-mixin.js"
|
|
95700
|
-
}
|
|
95701
|
-
}
|
|
95702
|
-
]
|
|
95703
|
-
}
|
|
95704
|
-
],
|
|
95705
|
-
"exports": [
|
|
95706
|
-
{
|
|
95707
|
-
"kind": "js",
|
|
95708
|
-
"name": "SbbFormFieldTextCounterElement",
|
|
95709
|
-
"declaration": {
|
|
95710
|
-
"name": "SbbFormFieldTextCounterElement",
|
|
95711
|
-
"module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
|
|
95712
|
-
}
|
|
95713
|
-
}
|
|
95714
|
-
]
|
|
95715
|
-
},
|
|
95716
|
-
{
|
|
95717
|
-
"kind": "javascript-module",
|
|
95718
|
-
"path": "form-field/hint/hint.component.js",
|
|
95719
|
-
"declarations": [
|
|
95720
|
-
{
|
|
95721
|
-
"kind": "class",
|
|
95722
|
-
"description": "It displays a hint message in the `sbb-form-field`.",
|
|
95723
|
-
"name": "SbbHintElement",
|
|
95722
|
+
"description": "It displays a hint message in the `sbb-form-field`.",
|
|
95723
|
+
"name": "SbbHintElement",
|
|
95724
95724
|
"slots": [
|
|
95725
95725
|
{
|
|
95726
95726
|
"description": "Use the unnamed slot to display the hint message.",
|
|
@@ -105964,18 +105964,558 @@
|
|
|
105964
105964
|
},
|
|
105965
105965
|
{
|
|
105966
105966
|
"kind": "javascript-module",
|
|
105967
|
-
"path": "menu/
|
|
105967
|
+
"path": "menu/common/menu-action-common.js",
|
|
105968
105968
|
"declarations": [
|
|
105969
105969
|
{
|
|
105970
105970
|
"kind": "class",
|
|
105971
|
-
"description": "
|
|
105972
|
-
"name": "
|
|
105973
|
-
"
|
|
105971
|
+
"description": "",
|
|
105972
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
105973
|
+
"mixins": [
|
|
105974
105974
|
{
|
|
105975
|
-
"
|
|
105976
|
-
"
|
|
105977
|
-
|
|
105978
|
-
|
|
105975
|
+
"name": "SbbIconNameMixin",
|
|
105976
|
+
"module": "icon.js"
|
|
105977
|
+
},
|
|
105978
|
+
{
|
|
105979
|
+
"name": "SbbDisabledMixin",
|
|
105980
|
+
"module": "core/mixins.js"
|
|
105981
|
+
}
|
|
105982
|
+
],
|
|
105983
|
+
"superclass": {
|
|
105984
|
+
"name": "SbbActionBaseElement",
|
|
105985
|
+
"module": "core/base-elements.js"
|
|
105986
|
+
},
|
|
105987
|
+
"attributes": [
|
|
105988
|
+
{
|
|
105989
|
+
"name": "icon-name",
|
|
105990
|
+
"type": {
|
|
105991
|
+
"text": "string"
|
|
105992
|
+
},
|
|
105993
|
+
"default": "''",
|
|
105994
|
+
"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.",
|
|
105995
|
+
"fieldName": "iconName",
|
|
105996
|
+
"inheritedFrom": {
|
|
105997
|
+
"name": "SbbIconNameMixin",
|
|
105998
|
+
"module": "icon/icon-name-mixin.js"
|
|
105999
|
+
}
|
|
106000
|
+
},
|
|
106001
|
+
{
|
|
106002
|
+
"name": "disabled",
|
|
106003
|
+
"description": "Whether the component is disabled.",
|
|
106004
|
+
"default": "false",
|
|
106005
|
+
"type": {
|
|
106006
|
+
"text": "boolean"
|
|
106007
|
+
},
|
|
106008
|
+
"fieldName": "disabled",
|
|
106009
|
+
"inheritedFrom": {
|
|
106010
|
+
"name": "SbbDisabledMixin",
|
|
106011
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106012
|
+
}
|
|
106013
|
+
}
|
|
106014
|
+
],
|
|
106015
|
+
"members": [
|
|
106016
|
+
{
|
|
106017
|
+
"kind": "field",
|
|
106018
|
+
"name": "iconName",
|
|
106019
|
+
"type": {
|
|
106020
|
+
"text": "string"
|
|
106021
|
+
},
|
|
106022
|
+
"privacy": "public",
|
|
106023
|
+
"default": "''",
|
|
106024
|
+
"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.",
|
|
106025
|
+
"attribute": "icon-name",
|
|
106026
|
+
"inheritedFrom": {
|
|
106027
|
+
"name": "SbbIconNameMixin",
|
|
106028
|
+
"module": "icon/icon-name-mixin.js"
|
|
106029
|
+
}
|
|
106030
|
+
},
|
|
106031
|
+
{
|
|
106032
|
+
"kind": "method",
|
|
106033
|
+
"name": "renderIconSlot",
|
|
106034
|
+
"privacy": "protected",
|
|
106035
|
+
"return": {
|
|
106036
|
+
"type": {
|
|
106037
|
+
"text": "TemplateResult"
|
|
106038
|
+
}
|
|
106039
|
+
},
|
|
106040
|
+
"parameters": [
|
|
106041
|
+
{
|
|
106042
|
+
"name": "classname",
|
|
106043
|
+
"optional": true,
|
|
106044
|
+
"type": {
|
|
106045
|
+
"text": "string"
|
|
106046
|
+
}
|
|
106047
|
+
}
|
|
106048
|
+
],
|
|
106049
|
+
"inheritedFrom": {
|
|
106050
|
+
"name": "SbbIconNameMixin",
|
|
106051
|
+
"module": "icon/icon-name-mixin.js"
|
|
106052
|
+
}
|
|
106053
|
+
},
|
|
106054
|
+
{
|
|
106055
|
+
"kind": "method",
|
|
106056
|
+
"name": "renderIconName",
|
|
106057
|
+
"privacy": "protected",
|
|
106058
|
+
"return": {
|
|
106059
|
+
"type": {
|
|
106060
|
+
"text": "string"
|
|
106061
|
+
}
|
|
106062
|
+
},
|
|
106063
|
+
"inheritedFrom": {
|
|
106064
|
+
"name": "SbbIconNameMixin",
|
|
106065
|
+
"module": "icon/icon-name-mixin.js"
|
|
106066
|
+
}
|
|
106067
|
+
},
|
|
106068
|
+
{
|
|
106069
|
+
"kind": "method",
|
|
106070
|
+
"name": "_renderIconName",
|
|
106071
|
+
"privacy": "private",
|
|
106072
|
+
"return": {
|
|
106073
|
+
"type": {
|
|
106074
|
+
"text": "string"
|
|
106075
|
+
}
|
|
106076
|
+
},
|
|
106077
|
+
"inheritedFrom": {
|
|
106078
|
+
"name": "SbbIconNameMixin",
|
|
106079
|
+
"module": "icon/icon-name-mixin.js"
|
|
106080
|
+
}
|
|
106081
|
+
},
|
|
106082
|
+
{
|
|
106083
|
+
"kind": "field",
|
|
106084
|
+
"name": "disabled",
|
|
106085
|
+
"privacy": "public",
|
|
106086
|
+
"description": "Whether the component is disabled.",
|
|
106087
|
+
"default": "false",
|
|
106088
|
+
"type": {
|
|
106089
|
+
"text": "boolean"
|
|
106090
|
+
},
|
|
106091
|
+
"attribute": "disabled",
|
|
106092
|
+
"reflects": true,
|
|
106093
|
+
"inheritedFrom": {
|
|
106094
|
+
"name": "SbbDisabledMixin",
|
|
106095
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106096
|
+
}
|
|
106097
|
+
},
|
|
106098
|
+
{
|
|
106099
|
+
"kind": "field",
|
|
106100
|
+
"name": "#disabled",
|
|
106101
|
+
"privacy": "private",
|
|
106102
|
+
"type": {
|
|
106103
|
+
"text": "boolean"
|
|
106104
|
+
},
|
|
106105
|
+
"default": "false",
|
|
106106
|
+
"inheritedFrom": {
|
|
106107
|
+
"name": "SbbDisabledMixin",
|
|
106108
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106109
|
+
}
|
|
106110
|
+
},
|
|
106111
|
+
{
|
|
106112
|
+
"kind": "method",
|
|
106113
|
+
"name": "isDisabledExternally",
|
|
106114
|
+
"privacy": "protected",
|
|
106115
|
+
"return": {
|
|
106116
|
+
"type": {
|
|
106117
|
+
"text": "boolean"
|
|
106118
|
+
}
|
|
106119
|
+
},
|
|
106120
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106121
|
+
"inheritedFrom": {
|
|
106122
|
+
"name": "SbbDisabledMixin",
|
|
106123
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106124
|
+
}
|
|
106125
|
+
},
|
|
106126
|
+
{
|
|
106127
|
+
"kind": "field",
|
|
106128
|
+
"name": "maybeDisabled",
|
|
106129
|
+
"type": {
|
|
106130
|
+
"text": "boolean | undefined"
|
|
106131
|
+
},
|
|
106132
|
+
"privacy": "protected",
|
|
106133
|
+
"readonly": true,
|
|
106134
|
+
"inheritedFrom": {
|
|
106135
|
+
"name": "SbbActionBaseElement",
|
|
106136
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106137
|
+
}
|
|
106138
|
+
},
|
|
106139
|
+
{
|
|
106140
|
+
"kind": "field",
|
|
106141
|
+
"name": "maybeDisabledInteractive",
|
|
106142
|
+
"type": {
|
|
106143
|
+
"text": "boolean | undefined"
|
|
106144
|
+
},
|
|
106145
|
+
"privacy": "protected",
|
|
106146
|
+
"readonly": true,
|
|
106147
|
+
"inheritedFrom": {
|
|
106148
|
+
"name": "SbbActionBaseElement",
|
|
106149
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106150
|
+
}
|
|
106151
|
+
},
|
|
106152
|
+
{
|
|
106153
|
+
"kind": "method",
|
|
106154
|
+
"name": "setupBaseEventHandlers",
|
|
106155
|
+
"privacy": "protected",
|
|
106156
|
+
"return": {
|
|
106157
|
+
"type": {
|
|
106158
|
+
"text": "void"
|
|
106159
|
+
}
|
|
106160
|
+
},
|
|
106161
|
+
"inheritedFrom": {
|
|
106162
|
+
"name": "SbbActionBaseElement",
|
|
106163
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106164
|
+
}
|
|
106165
|
+
},
|
|
106166
|
+
{
|
|
106167
|
+
"kind": "method",
|
|
106168
|
+
"name": "renderTemplate",
|
|
106169
|
+
"privacy": "protected",
|
|
106170
|
+
"return": {
|
|
106171
|
+
"type": {
|
|
106172
|
+
"text": "TemplateResult"
|
|
106173
|
+
}
|
|
106174
|
+
},
|
|
106175
|
+
"description": "Override this method to render the component template.",
|
|
106176
|
+
"inheritedFrom": {
|
|
106177
|
+
"name": "SbbActionBaseElement",
|
|
106178
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106179
|
+
}
|
|
106180
|
+
},
|
|
106181
|
+
{
|
|
106182
|
+
"kind": "field",
|
|
106183
|
+
"name": "_hydrationRequired",
|
|
106184
|
+
"type": {
|
|
106185
|
+
"text": "boolean"
|
|
106186
|
+
},
|
|
106187
|
+
"privacy": "private",
|
|
106188
|
+
"default": "!!this.shadowRoot",
|
|
106189
|
+
"inheritedFrom": {
|
|
106190
|
+
"name": "SbbElement",
|
|
106191
|
+
"module": "core/base-elements/element.js"
|
|
106192
|
+
}
|
|
106193
|
+
},
|
|
106194
|
+
{
|
|
106195
|
+
"kind": "field",
|
|
106196
|
+
"name": "_hydrationComplete",
|
|
106197
|
+
"privacy": "private",
|
|
106198
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106199
|
+
"inheritedFrom": {
|
|
106200
|
+
"name": "SbbElement",
|
|
106201
|
+
"module": "core/base-elements/element.js"
|
|
106202
|
+
}
|
|
106203
|
+
},
|
|
106204
|
+
{
|
|
106205
|
+
"kind": "field",
|
|
106206
|
+
"name": "_resolveHydration",
|
|
106207
|
+
"type": {
|
|
106208
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
106209
|
+
},
|
|
106210
|
+
"privacy": "private",
|
|
106211
|
+
"inheritedFrom": {
|
|
106212
|
+
"name": "SbbElement",
|
|
106213
|
+
"module": "core/base-elements/element.js"
|
|
106214
|
+
}
|
|
106215
|
+
},
|
|
106216
|
+
{
|
|
106217
|
+
"kind": "field",
|
|
106218
|
+
"name": "hydrationRequired",
|
|
106219
|
+
"type": {
|
|
106220
|
+
"text": "boolean"
|
|
106221
|
+
},
|
|
106222
|
+
"privacy": "protected",
|
|
106223
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
106224
|
+
"readonly": true,
|
|
106225
|
+
"inheritedFrom": {
|
|
106226
|
+
"name": "SbbElement",
|
|
106227
|
+
"module": "core/base-elements/element.js"
|
|
106228
|
+
},
|
|
106229
|
+
"default": "!!this.shadowRoot"
|
|
106230
|
+
},
|
|
106231
|
+
{
|
|
106232
|
+
"kind": "method",
|
|
106233
|
+
"name": "toggleState",
|
|
106234
|
+
"privacy": "protected",
|
|
106235
|
+
"return": {
|
|
106236
|
+
"type": {
|
|
106237
|
+
"text": "void"
|
|
106238
|
+
}
|
|
106239
|
+
},
|
|
106240
|
+
"parameters": [
|
|
106241
|
+
{
|
|
106242
|
+
"name": "value",
|
|
106243
|
+
"type": {
|
|
106244
|
+
"text": "string"
|
|
106245
|
+
}
|
|
106246
|
+
},
|
|
106247
|
+
{
|
|
106248
|
+
"name": "force",
|
|
106249
|
+
"optional": true,
|
|
106250
|
+
"type": {
|
|
106251
|
+
"text": "boolean"
|
|
106252
|
+
}
|
|
106253
|
+
}
|
|
106254
|
+
],
|
|
106255
|
+
"inheritedFrom": {
|
|
106256
|
+
"name": "SbbElement",
|
|
106257
|
+
"module": "core/base-elements/element.js"
|
|
106258
|
+
}
|
|
106259
|
+
},
|
|
106260
|
+
{
|
|
106261
|
+
"kind": "field",
|
|
106262
|
+
"name": "['_$sbbElement$']",
|
|
106263
|
+
"type": {
|
|
106264
|
+
"text": "boolean"
|
|
106265
|
+
},
|
|
106266
|
+
"privacy": "public",
|
|
106267
|
+
"static": true,
|
|
106268
|
+
"default": "true",
|
|
106269
|
+
"inheritedFrom": {
|
|
106270
|
+
"name": "SbbElement",
|
|
106271
|
+
"module": "core/base-elements/element.js"
|
|
106272
|
+
}
|
|
106273
|
+
},
|
|
106274
|
+
{
|
|
106275
|
+
"kind": "field",
|
|
106276
|
+
"name": "elementName",
|
|
106277
|
+
"type": {
|
|
106278
|
+
"text": "string"
|
|
106279
|
+
},
|
|
106280
|
+
"privacy": "public",
|
|
106281
|
+
"static": true,
|
|
106282
|
+
"readonly": true,
|
|
106283
|
+
"inheritedFrom": {
|
|
106284
|
+
"name": "SbbElement",
|
|
106285
|
+
"module": "core/base-elements/element.js"
|
|
106286
|
+
}
|
|
106287
|
+
},
|
|
106288
|
+
{
|
|
106289
|
+
"kind": "field",
|
|
106290
|
+
"name": "_controllers",
|
|
106291
|
+
"type": {
|
|
106292
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
106293
|
+
},
|
|
106294
|
+
"privacy": "private",
|
|
106295
|
+
"inheritedFrom": {
|
|
106296
|
+
"name": "SbbElement",
|
|
106297
|
+
"module": "core/base-elements/element.js"
|
|
106298
|
+
}
|
|
106299
|
+
}
|
|
106300
|
+
]
|
|
106301
|
+
},
|
|
106302
|
+
{
|
|
106303
|
+
"kind": "mixin",
|
|
106304
|
+
"description": "",
|
|
106305
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106306
|
+
"members": [
|
|
106307
|
+
{
|
|
106308
|
+
"kind": "field",
|
|
106309
|
+
"name": "styles",
|
|
106310
|
+
"type": {
|
|
106311
|
+
"text": "CSSResultGroup"
|
|
106312
|
+
},
|
|
106313
|
+
"privacy": "public",
|
|
106314
|
+
"static": true,
|
|
106315
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106316
|
+
},
|
|
106317
|
+
{
|
|
106318
|
+
"kind": "method",
|
|
106319
|
+
"name": "renderTemplate",
|
|
106320
|
+
"privacy": "protected",
|
|
106321
|
+
"return": {
|
|
106322
|
+
"type": {
|
|
106323
|
+
"text": "TemplateResult"
|
|
106324
|
+
}
|
|
106325
|
+
}
|
|
106326
|
+
},
|
|
106327
|
+
{
|
|
106328
|
+
"kind": "field",
|
|
106329
|
+
"name": "iconName",
|
|
106330
|
+
"type": {
|
|
106331
|
+
"text": "string"
|
|
106332
|
+
},
|
|
106333
|
+
"privacy": "public",
|
|
106334
|
+
"default": "''",
|
|
106335
|
+
"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.",
|
|
106336
|
+
"attribute": "icon-name",
|
|
106337
|
+
"inheritedFrom": {
|
|
106338
|
+
"name": "SbbIconNameMixin",
|
|
106339
|
+
"module": "icon/icon-name-mixin.js"
|
|
106340
|
+
}
|
|
106341
|
+
},
|
|
106342
|
+
{
|
|
106343
|
+
"kind": "method",
|
|
106344
|
+
"name": "renderIconSlot",
|
|
106345
|
+
"privacy": "protected",
|
|
106346
|
+
"return": {
|
|
106347
|
+
"type": {
|
|
106348
|
+
"text": "TemplateResult"
|
|
106349
|
+
}
|
|
106350
|
+
},
|
|
106351
|
+
"parameters": [
|
|
106352
|
+
{
|
|
106353
|
+
"name": "classname",
|
|
106354
|
+
"optional": true,
|
|
106355
|
+
"type": {
|
|
106356
|
+
"text": "string"
|
|
106357
|
+
}
|
|
106358
|
+
}
|
|
106359
|
+
],
|
|
106360
|
+
"inheritedFrom": {
|
|
106361
|
+
"name": "SbbIconNameMixin",
|
|
106362
|
+
"module": "icon/icon-name-mixin.js"
|
|
106363
|
+
}
|
|
106364
|
+
},
|
|
106365
|
+
{
|
|
106366
|
+
"kind": "method",
|
|
106367
|
+
"name": "renderIconName",
|
|
106368
|
+
"privacy": "protected",
|
|
106369
|
+
"return": {
|
|
106370
|
+
"type": {
|
|
106371
|
+
"text": "string"
|
|
106372
|
+
}
|
|
106373
|
+
},
|
|
106374
|
+
"inheritedFrom": {
|
|
106375
|
+
"name": "SbbIconNameMixin",
|
|
106376
|
+
"module": "icon/icon-name-mixin.js"
|
|
106377
|
+
}
|
|
106378
|
+
},
|
|
106379
|
+
{
|
|
106380
|
+
"kind": "method",
|
|
106381
|
+
"name": "_renderIconName",
|
|
106382
|
+
"privacy": "private",
|
|
106383
|
+
"return": {
|
|
106384
|
+
"type": {
|
|
106385
|
+
"text": "string"
|
|
106386
|
+
}
|
|
106387
|
+
},
|
|
106388
|
+
"inheritedFrom": {
|
|
106389
|
+
"name": "SbbIconNameMixin",
|
|
106390
|
+
"module": "icon/icon-name-mixin.js"
|
|
106391
|
+
}
|
|
106392
|
+
},
|
|
106393
|
+
{
|
|
106394
|
+
"kind": "field",
|
|
106395
|
+
"name": "disabled",
|
|
106396
|
+
"privacy": "public",
|
|
106397
|
+
"description": "Whether the component is disabled.",
|
|
106398
|
+
"default": "false",
|
|
106399
|
+
"type": {
|
|
106400
|
+
"text": "boolean"
|
|
106401
|
+
},
|
|
106402
|
+
"attribute": "disabled",
|
|
106403
|
+
"reflects": true,
|
|
106404
|
+
"inheritedFrom": {
|
|
106405
|
+
"name": "SbbDisabledMixin",
|
|
106406
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106407
|
+
}
|
|
106408
|
+
},
|
|
106409
|
+
{
|
|
106410
|
+
"kind": "field",
|
|
106411
|
+
"name": "#disabled",
|
|
106412
|
+
"privacy": "private",
|
|
106413
|
+
"type": {
|
|
106414
|
+
"text": "boolean"
|
|
106415
|
+
},
|
|
106416
|
+
"default": "false",
|
|
106417
|
+
"inheritedFrom": {
|
|
106418
|
+
"name": "SbbDisabledMixin",
|
|
106419
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106420
|
+
}
|
|
106421
|
+
},
|
|
106422
|
+
{
|
|
106423
|
+
"kind": "method",
|
|
106424
|
+
"name": "isDisabledExternally",
|
|
106425
|
+
"privacy": "protected",
|
|
106426
|
+
"return": {
|
|
106427
|
+
"type": {
|
|
106428
|
+
"text": "boolean"
|
|
106429
|
+
}
|
|
106430
|
+
},
|
|
106431
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106432
|
+
"inheritedFrom": {
|
|
106433
|
+
"name": "SbbDisabledMixin",
|
|
106434
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106435
|
+
}
|
|
106436
|
+
}
|
|
106437
|
+
],
|
|
106438
|
+
"mixins": [
|
|
106439
|
+
{
|
|
106440
|
+
"name": "SbbIconNameMixin",
|
|
106441
|
+
"module": "icon.js"
|
|
106442
|
+
},
|
|
106443
|
+
{
|
|
106444
|
+
"name": "SbbDisabledMixin",
|
|
106445
|
+
"module": "core/mixins.js"
|
|
106446
|
+
}
|
|
106447
|
+
],
|
|
106448
|
+
"parameters": [
|
|
106449
|
+
{
|
|
106450
|
+
"name": "superClass",
|
|
106451
|
+
"type": {
|
|
106452
|
+
"text": "T"
|
|
106453
|
+
}
|
|
106454
|
+
}
|
|
106455
|
+
],
|
|
106456
|
+
"attributes": [
|
|
106457
|
+
{
|
|
106458
|
+
"name": "icon-name",
|
|
106459
|
+
"type": {
|
|
106460
|
+
"text": "string"
|
|
106461
|
+
},
|
|
106462
|
+
"default": "''",
|
|
106463
|
+
"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.",
|
|
106464
|
+
"fieldName": "iconName",
|
|
106465
|
+
"inheritedFrom": {
|
|
106466
|
+
"name": "SbbIconNameMixin",
|
|
106467
|
+
"module": "icon/icon-name-mixin.js"
|
|
106468
|
+
}
|
|
106469
|
+
},
|
|
106470
|
+
{
|
|
106471
|
+
"name": "disabled",
|
|
106472
|
+
"description": "Whether the component is disabled.",
|
|
106473
|
+
"default": "false",
|
|
106474
|
+
"type": {
|
|
106475
|
+
"text": "boolean"
|
|
106476
|
+
},
|
|
106477
|
+
"fieldName": "disabled",
|
|
106478
|
+
"inheritedFrom": {
|
|
106479
|
+
"name": "SbbDisabledMixin",
|
|
106480
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106481
|
+
}
|
|
106482
|
+
}
|
|
106483
|
+
]
|
|
106484
|
+
}
|
|
106485
|
+
],
|
|
106486
|
+
"exports": [
|
|
106487
|
+
{
|
|
106488
|
+
"kind": "js",
|
|
106489
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106490
|
+
"declaration": {
|
|
106491
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106492
|
+
"module": "menu/common/menu-action-common.js"
|
|
106493
|
+
}
|
|
106494
|
+
},
|
|
106495
|
+
{
|
|
106496
|
+
"kind": "js",
|
|
106497
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106498
|
+
"declaration": {
|
|
106499
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106500
|
+
"module": "menu/common/menu-action-common.js"
|
|
106501
|
+
}
|
|
106502
|
+
}
|
|
106503
|
+
]
|
|
106504
|
+
},
|
|
106505
|
+
{
|
|
106506
|
+
"kind": "javascript-module",
|
|
106507
|
+
"path": "menu/menu/menu.component.js",
|
|
106508
|
+
"declarations": [
|
|
106509
|
+
{
|
|
106510
|
+
"kind": "class",
|
|
106511
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
106512
|
+
"name": "SbbMenuElement",
|
|
106513
|
+
"cssProperties": [
|
|
106514
|
+
{
|
|
106515
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
106516
|
+
"name": "--sbb-menu-z-index",
|
|
106517
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
106518
|
+
}
|
|
105979
106519
|
],
|
|
105980
106520
|
"slots": [
|
|
105981
106521
|
{
|
|
@@ -106196,135 +106736,7 @@
|
|
|
106196
106736
|
},
|
|
106197
106737
|
{
|
|
106198
106738
|
"kind": "method",
|
|
106199
|
-
"name": "_isZeroAnimationDuration",
|
|
106200
|
-
"privacy": "private",
|
|
106201
|
-
"return": {
|
|
106202
|
-
"type": {
|
|
106203
|
-
"text": "boolean"
|
|
106204
|
-
}
|
|
106205
|
-
}
|
|
106206
|
-
},
|
|
106207
|
-
{
|
|
106208
|
-
"kind": "method",
|
|
106209
|
-
"name": "_handleOpening",
|
|
106210
|
-
"privacy": "private",
|
|
106211
|
-
"return": {
|
|
106212
|
-
"type": {
|
|
106213
|
-
"text": "void"
|
|
106214
|
-
}
|
|
106215
|
-
}
|
|
106216
|
-
},
|
|
106217
|
-
{
|
|
106218
|
-
"kind": "method",
|
|
106219
|
-
"name": "_handleClosing",
|
|
106220
|
-
"privacy": "private",
|
|
106221
|
-
"return": {
|
|
106222
|
-
"type": {
|
|
106223
|
-
"text": "void"
|
|
106224
|
-
}
|
|
106225
|
-
}
|
|
106226
|
-
},
|
|
106227
|
-
{
|
|
106228
|
-
"kind": "method",
|
|
106229
|
-
"name": "_handleKeyDown",
|
|
106230
|
-
"privacy": "private",
|
|
106231
|
-
"return": {
|
|
106232
|
-
"type": {
|
|
106233
|
-
"text": "void"
|
|
106234
|
-
}
|
|
106235
|
-
},
|
|
106236
|
-
"parameters": [
|
|
106237
|
-
{
|
|
106238
|
-
"name": "evt",
|
|
106239
|
-
"type": {
|
|
106240
|
-
"text": "KeyboardEvent"
|
|
106241
|
-
}
|
|
106242
|
-
}
|
|
106243
|
-
]
|
|
106244
|
-
},
|
|
106245
|
-
{
|
|
106246
|
-
"kind": "method",
|
|
106247
|
-
"name": "_configureTrigger",
|
|
106248
|
-
"privacy": "private",
|
|
106249
|
-
"return": {
|
|
106250
|
-
"type": {
|
|
106251
|
-
"text": "void"
|
|
106252
|
-
}
|
|
106253
|
-
}
|
|
106254
|
-
},
|
|
106255
|
-
{
|
|
106256
|
-
"kind": "method",
|
|
106257
|
-
"name": "_attachWindowEvents",
|
|
106258
|
-
"privacy": "private",
|
|
106259
|
-
"return": {
|
|
106260
|
-
"type": {
|
|
106261
|
-
"text": "void"
|
|
106262
|
-
}
|
|
106263
|
-
}
|
|
106264
|
-
},
|
|
106265
|
-
{
|
|
106266
|
-
"kind": "method",
|
|
106267
|
-
"name": "_interactiveElementClick",
|
|
106268
|
-
"privacy": "private",
|
|
106269
|
-
"return": {
|
|
106270
|
-
"type": {
|
|
106271
|
-
"text": "void"
|
|
106272
|
-
}
|
|
106273
|
-
},
|
|
106274
|
-
"parameters": [
|
|
106275
|
-
{
|
|
106276
|
-
"name": "event",
|
|
106277
|
-
"type": {
|
|
106278
|
-
"text": "Event"
|
|
106279
|
-
}
|
|
106280
|
-
}
|
|
106281
|
-
]
|
|
106282
|
-
},
|
|
106283
|
-
{
|
|
106284
|
-
"kind": "field",
|
|
106285
|
-
"name": "_pointerDownListener",
|
|
106286
|
-
"privacy": "private"
|
|
106287
|
-
},
|
|
106288
|
-
{
|
|
106289
|
-
"kind": "field",
|
|
106290
|
-
"name": "_closeOnBackdropClick",
|
|
106291
|
-
"privacy": "private"
|
|
106292
|
-
},
|
|
106293
|
-
{
|
|
106294
|
-
"kind": "method",
|
|
106295
|
-
"name": "_nestedMenus",
|
|
106296
|
-
"privacy": "private",
|
|
106297
|
-
"return": {
|
|
106298
|
-
"type": {
|
|
106299
|
-
"text": "SbbMenuElement[]"
|
|
106300
|
-
}
|
|
106301
|
-
},
|
|
106302
|
-
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106303
|
-
},
|
|
106304
|
-
{
|
|
106305
|
-
"kind": "method",
|
|
106306
|
-
"name": "_parentMenu",
|
|
106307
|
-
"privacy": "private",
|
|
106308
|
-
"return": {
|
|
106309
|
-
"type": {
|
|
106310
|
-
"text": "SbbMenuElement | null"
|
|
106311
|
-
}
|
|
106312
|
-
}
|
|
106313
|
-
},
|
|
106314
|
-
{
|
|
106315
|
-
"kind": "method",
|
|
106316
|
-
"name": "_mainMenu",
|
|
106317
|
-
"privacy": "private",
|
|
106318
|
-
"return": {
|
|
106319
|
-
"type": {
|
|
106320
|
-
"text": "SbbMenuElement"
|
|
106321
|
-
}
|
|
106322
|
-
},
|
|
106323
|
-
"description": "The outermost menu."
|
|
106324
|
-
},
|
|
106325
|
-
{
|
|
106326
|
-
"kind": "method",
|
|
106327
|
-
"name": "_isNested",
|
|
106739
|
+
"name": "_isZeroAnimationDuration",
|
|
106328
106740
|
"privacy": "private",
|
|
106329
106741
|
"return": {
|
|
106330
106742
|
"type": {
|
|
@@ -106334,7 +106746,7 @@
|
|
|
106334
106746
|
},
|
|
106335
106747
|
{
|
|
106336
106748
|
"kind": "method",
|
|
106337
|
-
"name": "
|
|
106749
|
+
"name": "_handleOpening",
|
|
106338
106750
|
"privacy": "private",
|
|
106339
106751
|
"return": {
|
|
106340
106752
|
"type": {
|
|
@@ -106344,25 +106756,17 @@
|
|
|
106344
106756
|
},
|
|
106345
106757
|
{
|
|
106346
106758
|
"kind": "method",
|
|
106347
|
-
"name": "
|
|
106759
|
+
"name": "_handleClosing",
|
|
106348
106760
|
"privacy": "private",
|
|
106349
106761
|
"return": {
|
|
106350
106762
|
"type": {
|
|
106351
106763
|
"text": "void"
|
|
106352
106764
|
}
|
|
106353
|
-
}
|
|
106354
|
-
"parameters": [
|
|
106355
|
-
{
|
|
106356
|
-
"name": "event",
|
|
106357
|
-
"type": {
|
|
106358
|
-
"text": "MouseEvent"
|
|
106359
|
-
}
|
|
106360
|
-
}
|
|
106361
|
-
]
|
|
106765
|
+
}
|
|
106362
106766
|
},
|
|
106363
106767
|
{
|
|
106364
106768
|
"kind": "method",
|
|
106365
|
-
"name": "
|
|
106769
|
+
"name": "_handleKeyDown",
|
|
106366
106770
|
"privacy": "private",
|
|
106367
106771
|
"return": {
|
|
106368
106772
|
"type": {
|
|
@@ -106371,16 +106775,16 @@
|
|
|
106371
106775
|
},
|
|
106372
106776
|
"parameters": [
|
|
106373
106777
|
{
|
|
106374
|
-
"name": "
|
|
106778
|
+
"name": "evt",
|
|
106375
106779
|
"type": {
|
|
106376
|
-
"text": "
|
|
106780
|
+
"text": "KeyboardEvent"
|
|
106377
106781
|
}
|
|
106378
106782
|
}
|
|
106379
106783
|
]
|
|
106380
106784
|
},
|
|
106381
106785
|
{
|
|
106382
106786
|
"kind": "method",
|
|
106383
|
-
"name": "
|
|
106787
|
+
"name": "_configureTrigger",
|
|
106384
106788
|
"privacy": "private",
|
|
106385
106789
|
"return": {
|
|
106386
106790
|
"type": {
|
|
@@ -106390,7 +106794,7 @@
|
|
|
106390
106794
|
},
|
|
106391
106795
|
{
|
|
106392
106796
|
"kind": "method",
|
|
106393
|
-
"name": "
|
|
106797
|
+
"name": "_attachWindowEvents",
|
|
106394
106798
|
"privacy": "private",
|
|
106395
106799
|
"return": {
|
|
106396
106800
|
"type": {
|
|
@@ -106400,602 +106804,315 @@
|
|
|
106400
106804
|
},
|
|
106401
106805
|
{
|
|
106402
106806
|
"kind": "method",
|
|
106403
|
-
"name": "
|
|
106807
|
+
"name": "_interactiveElementClick",
|
|
106404
106808
|
"privacy": "private",
|
|
106405
106809
|
"return": {
|
|
106406
106810
|
"type": {
|
|
106407
|
-
"text": "
|
|
106811
|
+
"text": "void"
|
|
106408
106812
|
}
|
|
106409
|
-
}
|
|
106410
|
-
},
|
|
106411
|
-
{
|
|
106412
|
-
"kind": "field",
|
|
106413
|
-
"name": "events",
|
|
106414
|
-
"privacy": "public",
|
|
106415
|
-
"static": true,
|
|
106416
|
-
"readonly": true,
|
|
106417
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106418
|
-
"type": {
|
|
106419
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106420
|
-
},
|
|
106421
|
-
"inheritedFrom": {
|
|
106422
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106423
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106424
|
-
}
|
|
106425
|
-
},
|
|
106426
|
-
{
|
|
106427
|
-
"kind": "field",
|
|
106428
|
-
"name": "state",
|
|
106429
|
-
"privacy": "protected",
|
|
106430
|
-
"description": "The state of the component.",
|
|
106431
|
-
"type": {
|
|
106432
|
-
"text": "SbbOpenedClosedState"
|
|
106433
106813
|
},
|
|
106434
|
-
"
|
|
106435
|
-
|
|
106436
|
-
|
|
106437
|
-
|
|
106438
|
-
|
|
106814
|
+
"parameters": [
|
|
106815
|
+
{
|
|
106816
|
+
"name": "event",
|
|
106817
|
+
"type": {
|
|
106818
|
+
"text": "Event"
|
|
106819
|
+
}
|
|
106820
|
+
}
|
|
106821
|
+
]
|
|
106439
106822
|
},
|
|
106440
106823
|
{
|
|
106441
106824
|
"kind": "field",
|
|
106442
|
-
"name": "
|
|
106443
|
-
"
|
|
106444
|
-
"text": "SbbOpenedClosedState"
|
|
106445
|
-
},
|
|
106446
|
-
"privacy": "private",
|
|
106447
|
-
"inheritedFrom": {
|
|
106448
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106449
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106450
|
-
}
|
|
106825
|
+
"name": "_pointerDownListener",
|
|
106826
|
+
"privacy": "private"
|
|
106451
106827
|
},
|
|
106452
106828
|
{
|
|
106453
106829
|
"kind": "field",
|
|
106454
|
-
"name": "
|
|
106455
|
-
"
|
|
106456
|
-
"text": "boolean"
|
|
106457
|
-
},
|
|
106458
|
-
"privacy": "public",
|
|
106459
|
-
"description": "Whether the element is open.",
|
|
106460
|
-
"readonly": true,
|
|
106461
|
-
"inheritedFrom": {
|
|
106462
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106463
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106464
|
-
}
|
|
106830
|
+
"name": "_closeOnBackdropClick",
|
|
106831
|
+
"privacy": "private"
|
|
106465
106832
|
},
|
|
106466
106833
|
{
|
|
106467
106834
|
"kind": "method",
|
|
106468
|
-
"name": "
|
|
106469
|
-
"privacy": "
|
|
106835
|
+
"name": "_nestedMenus",
|
|
106836
|
+
"privacy": "private",
|
|
106470
106837
|
"return": {
|
|
106471
106838
|
"type": {
|
|
106472
|
-
"text": "
|
|
106839
|
+
"text": "SbbMenuElement[]"
|
|
106473
106840
|
}
|
|
106474
106841
|
},
|
|
106475
|
-
"
|
|
106476
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106477
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106478
|
-
}
|
|
106842
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106479
106843
|
},
|
|
106480
106844
|
{
|
|
106481
106845
|
"kind": "method",
|
|
106482
|
-
"name": "
|
|
106483
|
-
"privacy": "
|
|
106846
|
+
"name": "_parentMenu",
|
|
106847
|
+
"privacy": "private",
|
|
106484
106848
|
"return": {
|
|
106485
106849
|
"type": {
|
|
106486
|
-
"text": "
|
|
106850
|
+
"text": "SbbMenuElement | null"
|
|
106487
106851
|
}
|
|
106488
|
-
},
|
|
106489
|
-
"inheritedFrom": {
|
|
106490
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106491
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106492
106852
|
}
|
|
106493
106853
|
},
|
|
106494
106854
|
{
|
|
106495
106855
|
"kind": "method",
|
|
106496
|
-
"name": "
|
|
106497
|
-
"privacy": "
|
|
106856
|
+
"name": "_mainMenu",
|
|
106857
|
+
"privacy": "private",
|
|
106498
106858
|
"return": {
|
|
106499
106859
|
"type": {
|
|
106500
|
-
"text": "
|
|
106860
|
+
"text": "SbbMenuElement"
|
|
106501
106861
|
}
|
|
106502
106862
|
},
|
|
106503
|
-
"
|
|
106504
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106505
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106506
|
-
}
|
|
106863
|
+
"description": "The outermost menu."
|
|
106507
106864
|
},
|
|
106508
106865
|
{
|
|
106509
106866
|
"kind": "method",
|
|
106510
|
-
"name": "
|
|
106511
|
-
"privacy": "
|
|
106867
|
+
"name": "_isNested",
|
|
106868
|
+
"privacy": "private",
|
|
106512
106869
|
"return": {
|
|
106513
106870
|
"type": {
|
|
106514
106871
|
"text": "boolean"
|
|
106515
106872
|
}
|
|
106516
|
-
},
|
|
106517
|
-
"inheritedFrom": {
|
|
106518
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106519
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106520
|
-
}
|
|
106521
|
-
},
|
|
106522
|
-
{
|
|
106523
|
-
"kind": "field",
|
|
106524
|
-
"name": "_hydrationRequired",
|
|
106525
|
-
"type": {
|
|
106526
|
-
"text": "boolean"
|
|
106527
|
-
},
|
|
106528
|
-
"privacy": "private",
|
|
106529
|
-
"default": "!!this.shadowRoot",
|
|
106530
|
-
"inheritedFrom": {
|
|
106531
|
-
"name": "SbbElement",
|
|
106532
|
-
"module": "core/base-elements/element.js"
|
|
106533
|
-
}
|
|
106534
|
-
},
|
|
106535
|
-
{
|
|
106536
|
-
"kind": "field",
|
|
106537
|
-
"name": "_hydrationComplete",
|
|
106538
|
-
"privacy": "private",
|
|
106539
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106540
|
-
"inheritedFrom": {
|
|
106541
|
-
"name": "SbbElement",
|
|
106542
|
-
"module": "core/base-elements/element.js"
|
|
106543
|
-
}
|
|
106544
|
-
},
|
|
106545
|
-
{
|
|
106546
|
-
"kind": "field",
|
|
106547
|
-
"name": "_resolveHydration",
|
|
106548
|
-
"type": {
|
|
106549
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
106550
|
-
},
|
|
106551
|
-
"privacy": "private",
|
|
106552
|
-
"inheritedFrom": {
|
|
106553
|
-
"name": "SbbElement",
|
|
106554
|
-
"module": "core/base-elements/element.js"
|
|
106555
106873
|
}
|
|
106556
106874
|
},
|
|
106557
|
-
{
|
|
106558
|
-
"kind": "field",
|
|
106559
|
-
"name": "hydrationRequired",
|
|
106560
|
-
"type": {
|
|
106561
|
-
"text": "boolean"
|
|
106562
|
-
},
|
|
106563
|
-
"privacy": "protected",
|
|
106564
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
106565
|
-
"readonly": true,
|
|
106566
|
-
"inheritedFrom": {
|
|
106567
|
-
"name": "SbbElement",
|
|
106568
|
-
"module": "core/base-elements/element.js"
|
|
106569
|
-
},
|
|
106570
|
-
"default": "!!this.shadowRoot"
|
|
106571
|
-
},
|
|
106572
106875
|
{
|
|
106573
106876
|
"kind": "method",
|
|
106574
|
-
"name": "
|
|
106575
|
-
"privacy": "
|
|
106877
|
+
"name": "_updateNestedInert",
|
|
106878
|
+
"privacy": "private",
|
|
106576
106879
|
"return": {
|
|
106577
106880
|
"type": {
|
|
106578
106881
|
"text": "void"
|
|
106579
106882
|
}
|
|
106580
|
-
},
|
|
106581
|
-
"parameters": [
|
|
106582
|
-
{
|
|
106583
|
-
"name": "value",
|
|
106584
|
-
"type": {
|
|
106585
|
-
"text": "string"
|
|
106586
|
-
}
|
|
106587
|
-
},
|
|
106588
|
-
{
|
|
106589
|
-
"name": "force",
|
|
106590
|
-
"optional": true,
|
|
106591
|
-
"type": {
|
|
106592
|
-
"text": "boolean"
|
|
106593
|
-
}
|
|
106594
|
-
}
|
|
106595
|
-
],
|
|
106596
|
-
"inheritedFrom": {
|
|
106597
|
-
"name": "SbbElement",
|
|
106598
|
-
"module": "core/base-elements/element.js"
|
|
106599
|
-
}
|
|
106600
|
-
},
|
|
106601
|
-
{
|
|
106602
|
-
"kind": "field",
|
|
106603
|
-
"name": "['_$sbbElement$']",
|
|
106604
|
-
"type": {
|
|
106605
|
-
"text": "boolean"
|
|
106606
|
-
},
|
|
106607
|
-
"privacy": "public",
|
|
106608
|
-
"static": true,
|
|
106609
|
-
"default": "true",
|
|
106610
|
-
"inheritedFrom": {
|
|
106611
|
-
"name": "SbbElement",
|
|
106612
|
-
"module": "core/base-elements/element.js"
|
|
106613
106883
|
}
|
|
106614
106884
|
},
|
|
106615
106885
|
{
|
|
106616
|
-
"kind": "
|
|
106617
|
-
"name": "
|
|
106618
|
-
"type": {
|
|
106619
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
106620
|
-
},
|
|
106886
|
+
"kind": "method",
|
|
106887
|
+
"name": "_handleMouseOver",
|
|
106621
106888
|
"privacy": "private",
|
|
106622
|
-
"
|
|
106623
|
-
"
|
|
106624
|
-
|
|
106625
|
-
|
|
106626
|
-
}
|
|
106627
|
-
],
|
|
106628
|
-
"attributes": [
|
|
106629
|
-
{
|
|
106630
|
-
"name": "trigger",
|
|
106631
|
-
"type": {
|
|
106632
|
-
"text": "HTMLElement | null"
|
|
106633
|
-
},
|
|
106634
|
-
"default": "null",
|
|
106635
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106636
|
-
"fieldName": "trigger"
|
|
106637
|
-
}
|
|
106638
|
-
],
|
|
106639
|
-
"superclass": {
|
|
106640
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106641
|
-
"module": "core/base-elements.js"
|
|
106642
|
-
},
|
|
106643
|
-
"tagName": "sbb-menu",
|
|
106644
|
-
"customElement": true,
|
|
106645
|
-
"events": [
|
|
106646
|
-
{
|
|
106647
|
-
"name": "beforeopen",
|
|
106648
|
-
"type": {
|
|
106649
|
-
"text": "Event"
|
|
106889
|
+
"return": {
|
|
106890
|
+
"type": {
|
|
106891
|
+
"text": "void"
|
|
106892
|
+
}
|
|
106650
106893
|
},
|
|
106651
|
-
"
|
|
106652
|
-
|
|
106653
|
-
|
|
106654
|
-
|
|
106655
|
-
|
|
106894
|
+
"parameters": [
|
|
106895
|
+
{
|
|
106896
|
+
"name": "event",
|
|
106897
|
+
"type": {
|
|
106898
|
+
"text": "MouseEvent"
|
|
106899
|
+
}
|
|
106900
|
+
}
|
|
106901
|
+
]
|
|
106656
106902
|
},
|
|
106657
106903
|
{
|
|
106658
|
-
"
|
|
106659
|
-
"
|
|
106660
|
-
|
|
106904
|
+
"kind": "method",
|
|
106905
|
+
"name": "_onMenuAnimationEnd",
|
|
106906
|
+
"privacy": "private",
|
|
106907
|
+
"return": {
|
|
106908
|
+
"type": {
|
|
106909
|
+
"text": "void"
|
|
106910
|
+
}
|
|
106661
106911
|
},
|
|
106662
|
-
"
|
|
106663
|
-
|
|
106664
|
-
|
|
106665
|
-
|
|
106666
|
-
|
|
106912
|
+
"parameters": [
|
|
106913
|
+
{
|
|
106914
|
+
"name": "event",
|
|
106915
|
+
"type": {
|
|
106916
|
+
"text": "AnimationEvent"
|
|
106917
|
+
}
|
|
106918
|
+
}
|
|
106919
|
+
]
|
|
106667
106920
|
},
|
|
106668
106921
|
{
|
|
106669
|
-
"
|
|
106670
|
-
"
|
|
106671
|
-
|
|
106672
|
-
|
|
106673
|
-
|
|
106674
|
-
|
|
106675
|
-
|
|
106676
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106922
|
+
"kind": "method",
|
|
106923
|
+
"name": "_setMenuPosition",
|
|
106924
|
+
"privacy": "private",
|
|
106925
|
+
"return": {
|
|
106926
|
+
"type": {
|
|
106927
|
+
"text": "void"
|
|
106928
|
+
}
|
|
106677
106929
|
}
|
|
106678
106930
|
},
|
|
106679
106931
|
{
|
|
106680
|
-
"
|
|
106681
|
-
"
|
|
106682
|
-
|
|
106683
|
-
|
|
106684
|
-
|
|
106685
|
-
|
|
106686
|
-
|
|
106687
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106932
|
+
"kind": "method",
|
|
106933
|
+
"name": "_syncNegative",
|
|
106934
|
+
"privacy": "private",
|
|
106935
|
+
"return": {
|
|
106936
|
+
"type": {
|
|
106937
|
+
"text": "void"
|
|
106938
|
+
}
|
|
106688
106939
|
}
|
|
106689
|
-
}
|
|
106690
|
-
]
|
|
106691
|
-
}
|
|
106692
|
-
],
|
|
106693
|
-
"exports": [
|
|
106694
|
-
{
|
|
106695
|
-
"kind": "js",
|
|
106696
|
-
"name": "SbbMenuElement",
|
|
106697
|
-
"declaration": {
|
|
106698
|
-
"name": "SbbMenuElement",
|
|
106699
|
-
"module": "menu/menu/menu.component.js"
|
|
106700
|
-
}
|
|
106701
|
-
}
|
|
106702
|
-
]
|
|
106703
|
-
},
|
|
106704
|
-
{
|
|
106705
|
-
"kind": "javascript-module",
|
|
106706
|
-
"path": "menu/menu-button/menu-button.component.js",
|
|
106707
|
-
"declarations": [
|
|
106708
|
-
{
|
|
106709
|
-
"kind": "class",
|
|
106710
|
-
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
106711
|
-
"name": "SbbMenuButtonElement",
|
|
106712
|
-
"cssProperties": [
|
|
106713
|
-
{
|
|
106714
|
-
"description": "Can be used to modify horizontal padding.",
|
|
106715
|
-
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
106716
|
-
"default": "var(--sbb-spacing-fixed-3x)"
|
|
106717
|
-
}
|
|
106718
|
-
],
|
|
106719
|
-
"slots": [
|
|
106720
|
-
{
|
|
106721
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
106722
|
-
"name": ""
|
|
106723
106940
|
},
|
|
106724
106941
|
{
|
|
106725
|
-
"
|
|
106726
|
-
"name": "
|
|
106727
|
-
|
|
106728
|
-
|
|
106729
|
-
|
|
106730
|
-
|
|
106731
|
-
|
|
106732
|
-
|
|
106733
|
-
"type": {
|
|
106734
|
-
"text": "string"
|
|
106735
|
-
},
|
|
106736
|
-
"privacy": "public",
|
|
106737
|
-
"static": true,
|
|
106738
|
-
"readonly": true,
|
|
106739
|
-
"inheritedFrom": {
|
|
106740
|
-
"name": "SbbElement",
|
|
106741
|
-
"module": "core/base-elements/element.js"
|
|
106742
|
-
},
|
|
106743
|
-
"default": "'sbb-menu-button'"
|
|
106942
|
+
"kind": "method",
|
|
106943
|
+
"name": "_isMobile",
|
|
106944
|
+
"privacy": "private",
|
|
106945
|
+
"return": {
|
|
106946
|
+
"type": {
|
|
106947
|
+
"text": "boolean"
|
|
106948
|
+
}
|
|
106949
|
+
}
|
|
106744
106950
|
},
|
|
106745
106951
|
{
|
|
106746
106952
|
"kind": "field",
|
|
106747
|
-
"name": "
|
|
106748
|
-
"type": {
|
|
106749
|
-
"text": "ElementInternals['role']"
|
|
106750
|
-
},
|
|
106953
|
+
"name": "events",
|
|
106751
106954
|
"privacy": "public",
|
|
106752
106955
|
"static": true,
|
|
106753
106956
|
"readonly": true,
|
|
106754
|
-
"default": "'
|
|
106755
|
-
"inheritedFrom": {
|
|
106756
|
-
"name": "SbbButtonLikeBaseElement",
|
|
106757
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106758
|
-
}
|
|
106759
|
-
},
|
|
106760
|
-
{
|
|
106761
|
-
"kind": "field",
|
|
106762
|
-
"name": "disabledInteractive",
|
|
106957
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106763
106958
|
"type": {
|
|
106764
|
-
"text": "
|
|
106959
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106765
106960
|
},
|
|
106766
|
-
"privacy": "public",
|
|
106767
|
-
"default": "false",
|
|
106768
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
106769
|
-
"attribute": "disabled-interactive",
|
|
106770
|
-
"reflects": true,
|
|
106771
106961
|
"inheritedFrom": {
|
|
106772
|
-
"name": "
|
|
106773
|
-
"module": "core/
|
|
106962
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106963
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106774
106964
|
}
|
|
106775
106965
|
},
|
|
106776
106966
|
{
|
|
106777
106967
|
"kind": "field",
|
|
106778
|
-
"name": "
|
|
106779
|
-
"privacy": "
|
|
106780
|
-
"description": "
|
|
106781
|
-
"default": "false",
|
|
106968
|
+
"name": "state",
|
|
106969
|
+
"privacy": "protected",
|
|
106970
|
+
"description": "The state of the component.",
|
|
106782
106971
|
"type": {
|
|
106783
|
-
"text": "
|
|
106972
|
+
"text": "SbbOpenedClosedState"
|
|
106784
106973
|
},
|
|
106785
|
-
"
|
|
106786
|
-
"reflects": true,
|
|
106974
|
+
"default": "'closed'",
|
|
106787
106975
|
"inheritedFrom": {
|
|
106788
|
-
"name": "
|
|
106789
|
-
"module": "core/
|
|
106976
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106977
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106790
106978
|
}
|
|
106791
106979
|
},
|
|
106792
106980
|
{
|
|
106793
106981
|
"kind": "field",
|
|
106794
|
-
"name": "
|
|
106795
|
-
"privacy": "private",
|
|
106982
|
+
"name": "_state",
|
|
106796
106983
|
"type": {
|
|
106797
|
-
"text": "
|
|
106798
|
-
},
|
|
106799
|
-
"default": "false",
|
|
106800
|
-
"inheritedFrom": {
|
|
106801
|
-
"name": "SbbDisabledMixin",
|
|
106802
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106803
|
-
}
|
|
106804
|
-
},
|
|
106805
|
-
{
|
|
106806
|
-
"kind": "method",
|
|
106807
|
-
"name": "isDisabledExternally",
|
|
106808
|
-
"privacy": "protected",
|
|
106809
|
-
"return": {
|
|
106810
|
-
"type": {
|
|
106811
|
-
"text": "boolean"
|
|
106812
|
-
}
|
|
106984
|
+
"text": "SbbOpenedClosedState"
|
|
106813
106985
|
},
|
|
106814
|
-
"
|
|
106986
|
+
"privacy": "private",
|
|
106815
106987
|
"inheritedFrom": {
|
|
106816
|
-
"name": "
|
|
106817
|
-
"module": "core/
|
|
106988
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106989
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106818
106990
|
}
|
|
106819
106991
|
},
|
|
106820
106992
|
{
|
|
106821
106993
|
"kind": "field",
|
|
106822
|
-
"name": "
|
|
106994
|
+
"name": "isOpen",
|
|
106823
106995
|
"type": {
|
|
106824
|
-
"text": "
|
|
106996
|
+
"text": "boolean"
|
|
106825
106997
|
},
|
|
106826
106998
|
"privacy": "public",
|
|
106827
|
-
"
|
|
106828
|
-
"
|
|
106999
|
+
"description": "Whether the element is open.",
|
|
107000
|
+
"readonly": true,
|
|
106829
107001
|
"inheritedFrom": {
|
|
106830
|
-
"name": "
|
|
106831
|
-
"module": "
|
|
107002
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107003
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106832
107004
|
}
|
|
106833
107005
|
},
|
|
106834
107006
|
{
|
|
106835
107007
|
"kind": "method",
|
|
106836
|
-
"name": "
|
|
107008
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106837
107009
|
"privacy": "protected",
|
|
106838
107010
|
"return": {
|
|
106839
107011
|
"type": {
|
|
106840
|
-
"text": "
|
|
107012
|
+
"text": "boolean"
|
|
106841
107013
|
}
|
|
106842
107014
|
},
|
|
106843
|
-
"description": "Override this method to render the component template.",
|
|
106844
|
-
"inheritedFrom": {
|
|
106845
|
-
"name": "SbbActionBaseElement",
|
|
106846
|
-
"module": "core/base-elements/action-base-element.js"
|
|
106847
|
-
}
|
|
106848
|
-
},
|
|
106849
|
-
{
|
|
106850
|
-
"kind": "field",
|
|
106851
|
-
"name": "iconName",
|
|
106852
|
-
"type": {
|
|
106853
|
-
"text": "string"
|
|
106854
|
-
},
|
|
106855
|
-
"privacy": "public",
|
|
106856
|
-
"default": "''",
|
|
106857
|
-
"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.",
|
|
106858
|
-
"attribute": "icon-name",
|
|
106859
107015
|
"inheritedFrom": {
|
|
106860
|
-
"name": "
|
|
106861
|
-
"module": "
|
|
107016
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107017
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106862
107018
|
}
|
|
106863
107019
|
},
|
|
106864
107020
|
{
|
|
106865
107021
|
"kind": "method",
|
|
106866
|
-
"name": "
|
|
107022
|
+
"name": "dispatchOpenEvent",
|
|
106867
107023
|
"privacy": "protected",
|
|
106868
107024
|
"return": {
|
|
106869
107025
|
"type": {
|
|
106870
|
-
"text": "
|
|
107026
|
+
"text": "boolean"
|
|
106871
107027
|
}
|
|
106872
107028
|
},
|
|
106873
|
-
"parameters": [
|
|
106874
|
-
{
|
|
106875
|
-
"name": "classname",
|
|
106876
|
-
"optional": true,
|
|
106877
|
-
"type": {
|
|
106878
|
-
"text": "string"
|
|
106879
|
-
}
|
|
106880
|
-
}
|
|
106881
|
-
],
|
|
106882
107029
|
"inheritedFrom": {
|
|
106883
|
-
"name": "
|
|
106884
|
-
"module": "
|
|
107030
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107031
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106885
107032
|
}
|
|
106886
107033
|
},
|
|
106887
107034
|
{
|
|
106888
107035
|
"kind": "method",
|
|
106889
|
-
"name": "
|
|
107036
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106890
107037
|
"privacy": "protected",
|
|
106891
107038
|
"return": {
|
|
106892
107039
|
"type": {
|
|
106893
|
-
"text": "
|
|
107040
|
+
"text": "boolean"
|
|
106894
107041
|
}
|
|
106895
107042
|
},
|
|
106896
|
-
"inheritedFrom": {
|
|
106897
|
-
"name": "
|
|
106898
|
-
"module": "
|
|
107043
|
+
"inheritedFrom": {
|
|
107044
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107045
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106899
107046
|
}
|
|
106900
107047
|
},
|
|
106901
107048
|
{
|
|
106902
107049
|
"kind": "method",
|
|
106903
|
-
"name": "
|
|
106904
|
-
"privacy": "
|
|
107050
|
+
"name": "dispatchCloseEvent",
|
|
107051
|
+
"privacy": "protected",
|
|
106905
107052
|
"return": {
|
|
106906
107053
|
"type": {
|
|
106907
|
-
"text": "
|
|
107054
|
+
"text": "boolean"
|
|
106908
107055
|
}
|
|
106909
107056
|
},
|
|
106910
107057
|
"inheritedFrom": {
|
|
106911
|
-
"name": "
|
|
106912
|
-
"module": "
|
|
107058
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107059
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106913
107060
|
}
|
|
106914
107061
|
},
|
|
106915
107062
|
{
|
|
106916
107063
|
"kind": "field",
|
|
106917
|
-
"name": "
|
|
107064
|
+
"name": "_hydrationRequired",
|
|
106918
107065
|
"type": {
|
|
106919
|
-
"text": "
|
|
107066
|
+
"text": "boolean"
|
|
106920
107067
|
},
|
|
106921
107068
|
"privacy": "private",
|
|
106922
|
-
"
|
|
106923
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107069
|
+
"default": "!!this.shadowRoot",
|
|
106924
107070
|
"inheritedFrom": {
|
|
106925
|
-
"name": "
|
|
106926
|
-
"module": "core/base-elements/
|
|
107071
|
+
"name": "SbbElement",
|
|
107072
|
+
"module": "core/base-elements/element.js"
|
|
106927
107073
|
}
|
|
106928
107074
|
},
|
|
106929
107075
|
{
|
|
106930
107076
|
"kind": "field",
|
|
106931
|
-
"name": "
|
|
106932
|
-
"
|
|
106933
|
-
|
|
106934
|
-
},
|
|
106935
|
-
"privacy": "public",
|
|
107077
|
+
"name": "_hydrationComplete",
|
|
107078
|
+
"privacy": "private",
|
|
107079
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106936
107080
|
"inheritedFrom": {
|
|
106937
|
-
"name": "
|
|
106938
|
-
"module": "core/base-elements/
|
|
106939
|
-
}
|
|
106940
|
-
"default": "''",
|
|
106941
|
-
"description": "Value of the form element.",
|
|
106942
|
-
"attribute": "value"
|
|
107081
|
+
"name": "SbbElement",
|
|
107082
|
+
"module": "core/base-elements/element.js"
|
|
107083
|
+
}
|
|
106943
107084
|
},
|
|
106944
107085
|
{
|
|
106945
107086
|
"kind": "field",
|
|
106946
|
-
"name": "
|
|
106947
|
-
"privacy": "public",
|
|
106948
|
-
"description": "The type attribute to use for the button.",
|
|
106949
|
-
"default": "'button'",
|
|
107087
|
+
"name": "_resolveHydration",
|
|
106950
107088
|
"type": {
|
|
106951
|
-
"text": "
|
|
107089
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
106952
107090
|
},
|
|
106953
|
-
"
|
|
107091
|
+
"privacy": "private",
|
|
106954
107092
|
"inheritedFrom": {
|
|
106955
|
-
"name": "
|
|
106956
|
-
"module": "core/base-elements/
|
|
107093
|
+
"name": "SbbElement",
|
|
107094
|
+
"module": "core/base-elements/element.js"
|
|
106957
107095
|
}
|
|
106958
107096
|
},
|
|
106959
107097
|
{
|
|
106960
107098
|
"kind": "field",
|
|
106961
|
-
"name": "
|
|
107099
|
+
"name": "hydrationRequired",
|
|
106962
107100
|
"type": {
|
|
106963
|
-
"text": "
|
|
107101
|
+
"text": "boolean"
|
|
106964
107102
|
},
|
|
106965
|
-
"privacy": "
|
|
106966
|
-
"description": "
|
|
107103
|
+
"privacy": "protected",
|
|
107104
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
107105
|
+
"readonly": true,
|
|
106967
107106
|
"inheritedFrom": {
|
|
106968
|
-
"name": "
|
|
106969
|
-
"module": "core/base-elements/
|
|
106970
|
-
},
|
|
106971
|
-
"attribute": "form"
|
|
106972
|
-
},
|
|
106973
|
-
{
|
|
106974
|
-
"kind": "field",
|
|
106975
|
-
"name": "_formId",
|
|
106976
|
-
"type": {
|
|
106977
|
-
"text": "string"
|
|
107107
|
+
"name": "SbbElement",
|
|
107108
|
+
"module": "core/base-elements/element.js"
|
|
106978
107109
|
},
|
|
106979
|
-
"
|
|
106980
|
-
"default": "''",
|
|
106981
|
-
"inheritedFrom": {
|
|
106982
|
-
"name": "SbbButtonBaseElement",
|
|
106983
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106984
|
-
}
|
|
106985
|
-
},
|
|
106986
|
-
{
|
|
106987
|
-
"kind": "field",
|
|
106988
|
-
"name": "_handleButtonClick",
|
|
106989
|
-
"privacy": "private",
|
|
106990
|
-
"inheritedFrom": {
|
|
106991
|
-
"name": "SbbButtonBaseElement",
|
|
106992
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106993
|
-
}
|
|
107110
|
+
"default": "!!this.shadowRoot"
|
|
106994
107111
|
},
|
|
106995
107112
|
{
|
|
106996
107113
|
"kind": "method",
|
|
106997
|
-
"name": "
|
|
106998
|
-
"privacy": "
|
|
107114
|
+
"name": "toggleState",
|
|
107115
|
+
"privacy": "protected",
|
|
106999
107116
|
"return": {
|
|
107000
107117
|
"type": {
|
|
107001
107118
|
"text": "void"
|
|
@@ -107003,29 +107120,27 @@
|
|
|
107003
107120
|
},
|
|
107004
107121
|
"parameters": [
|
|
107005
107122
|
{
|
|
107006
|
-
"name": "
|
|
107123
|
+
"name": "value",
|
|
107007
107124
|
"type": {
|
|
107008
|
-
"text": "
|
|
107125
|
+
"text": "string"
|
|
107126
|
+
}
|
|
107127
|
+
},
|
|
107128
|
+
{
|
|
107129
|
+
"name": "force",
|
|
107130
|
+
"optional": true,
|
|
107131
|
+
"type": {
|
|
107132
|
+
"text": "boolean"
|
|
107009
107133
|
}
|
|
107010
107134
|
}
|
|
107011
107135
|
],
|
|
107012
107136
|
"inheritedFrom": {
|
|
107013
|
-
"name": "
|
|
107014
|
-
"module": "core/base-elements/
|
|
107015
|
-
}
|
|
107016
|
-
},
|
|
107017
|
-
{
|
|
107018
|
-
"kind": "field",
|
|
107019
|
-
"name": "_formKeyDown",
|
|
107020
|
-
"privacy": "private",
|
|
107021
|
-
"inheritedFrom": {
|
|
107022
|
-
"name": "SbbButtonBaseElement",
|
|
107023
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107137
|
+
"name": "SbbElement",
|
|
107138
|
+
"module": "core/base-elements/element.js"
|
|
107024
107139
|
}
|
|
107025
107140
|
},
|
|
107026
107141
|
{
|
|
107027
107142
|
"kind": "field",
|
|
107028
|
-
"name": "
|
|
107143
|
+
"name": "['_$sbbElement$']",
|
|
107029
107144
|
"type": {
|
|
107030
107145
|
"text": "boolean"
|
|
107031
107146
|
},
|
|
@@ -107033,772 +107148,770 @@
|
|
|
107033
107148
|
"static": true,
|
|
107034
107149
|
"default": "true",
|
|
107035
107150
|
"inheritedFrom": {
|
|
107036
|
-
"name": "
|
|
107037
|
-
"module": "core/
|
|
107151
|
+
"name": "SbbElement",
|
|
107152
|
+
"module": "core/base-elements/element.js"
|
|
107038
107153
|
}
|
|
107039
107154
|
},
|
|
107040
107155
|
{
|
|
107041
107156
|
"kind": "field",
|
|
107042
|
-
"name": "
|
|
107043
|
-
"privacy": "public",
|
|
107044
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107157
|
+
"name": "_controllers",
|
|
107045
107158
|
"type": {
|
|
107046
|
-
"text": "
|
|
107159
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
107047
107160
|
},
|
|
107048
|
-
"
|
|
107161
|
+
"privacy": "private",
|
|
107049
107162
|
"inheritedFrom": {
|
|
107050
|
-
"name": "
|
|
107051
|
-
"module": "core/
|
|
107163
|
+
"name": "SbbElement",
|
|
107164
|
+
"module": "core/base-elements/element.js"
|
|
107165
|
+
}
|
|
107166
|
+
}
|
|
107167
|
+
],
|
|
107168
|
+
"attributes": [
|
|
107169
|
+
{
|
|
107170
|
+
"name": "trigger",
|
|
107171
|
+
"type": {
|
|
107172
|
+
"text": "HTMLElement | null"
|
|
107173
|
+
},
|
|
107174
|
+
"default": "null",
|
|
107175
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
107176
|
+
"fieldName": "trigger"
|
|
107177
|
+
}
|
|
107178
|
+
],
|
|
107179
|
+
"superclass": {
|
|
107180
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107181
|
+
"module": "core/base-elements.js"
|
|
107182
|
+
},
|
|
107183
|
+
"tagName": "sbb-menu",
|
|
107184
|
+
"customElement": true,
|
|
107185
|
+
"events": [
|
|
107186
|
+
{
|
|
107187
|
+
"name": "beforeopen",
|
|
107188
|
+
"type": {
|
|
107189
|
+
"text": "Event"
|
|
107190
|
+
},
|
|
107191
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
107192
|
+
"inheritedFrom": {
|
|
107193
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107194
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107195
|
+
}
|
|
107196
|
+
},
|
|
107197
|
+
{
|
|
107198
|
+
"name": "open",
|
|
107199
|
+
"type": {
|
|
107200
|
+
"text": "Event"
|
|
107201
|
+
},
|
|
107202
|
+
"description": "Emits whenever the component is opened.",
|
|
107203
|
+
"inheritedFrom": {
|
|
107204
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107205
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107206
|
+
}
|
|
107207
|
+
},
|
|
107208
|
+
{
|
|
107209
|
+
"name": "beforeclose",
|
|
107210
|
+
"type": {
|
|
107211
|
+
"text": "Event"
|
|
107212
|
+
},
|
|
107213
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
107214
|
+
"inheritedFrom": {
|
|
107215
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107216
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107217
|
+
}
|
|
107218
|
+
},
|
|
107219
|
+
{
|
|
107220
|
+
"name": "close",
|
|
107221
|
+
"type": {
|
|
107222
|
+
"text": "Event"
|
|
107223
|
+
},
|
|
107224
|
+
"description": "Emits whenever the component is closed.",
|
|
107225
|
+
"inheritedFrom": {
|
|
107226
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107227
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107052
107228
|
}
|
|
107229
|
+
}
|
|
107230
|
+
]
|
|
107231
|
+
}
|
|
107232
|
+
],
|
|
107233
|
+
"exports": [
|
|
107234
|
+
{
|
|
107235
|
+
"kind": "js",
|
|
107236
|
+
"name": "SbbMenuElement",
|
|
107237
|
+
"declaration": {
|
|
107238
|
+
"name": "SbbMenuElement",
|
|
107239
|
+
"module": "menu/menu/menu.component.js"
|
|
107240
|
+
}
|
|
107241
|
+
}
|
|
107242
|
+
]
|
|
107243
|
+
},
|
|
107244
|
+
{
|
|
107245
|
+
"kind": "javascript-module",
|
|
107246
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
107247
|
+
"declarations": [
|
|
107248
|
+
{
|
|
107249
|
+
"kind": "class",
|
|
107250
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107251
|
+
"name": "SbbMenuButtonElement",
|
|
107252
|
+
"cssProperties": [
|
|
107253
|
+
{
|
|
107254
|
+
"description": "Can be used to modify horizontal padding.",
|
|
107255
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
107256
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
107257
|
+
}
|
|
107258
|
+
],
|
|
107259
|
+
"slots": [
|
|
107260
|
+
{
|
|
107261
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107262
|
+
"name": ""
|
|
107053
107263
|
},
|
|
107264
|
+
{
|
|
107265
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
107266
|
+
"name": "icon"
|
|
107267
|
+
}
|
|
107268
|
+
],
|
|
107269
|
+
"members": [
|
|
107054
107270
|
{
|
|
107055
107271
|
"kind": "field",
|
|
107056
|
-
"name": "
|
|
107272
|
+
"name": "elementName",
|
|
107057
107273
|
"type": {
|
|
107058
|
-
"text": "
|
|
107274
|
+
"text": "string"
|
|
107059
107275
|
},
|
|
107060
107276
|
"privacy": "public",
|
|
107061
|
-
"
|
|
107277
|
+
"static": true,
|
|
107062
107278
|
"readonly": true,
|
|
107063
107279
|
"inheritedFrom": {
|
|
107064
|
-
"name": "
|
|
107065
|
-
"module": "core/
|
|
107066
|
-
}
|
|
107280
|
+
"name": "SbbElement",
|
|
107281
|
+
"module": "core/base-elements/element.js"
|
|
107282
|
+
},
|
|
107283
|
+
"default": "'sbb-menu-button'"
|
|
107067
107284
|
},
|
|
107068
107285
|
{
|
|
107069
107286
|
"kind": "field",
|
|
107070
|
-
"name": "
|
|
107287
|
+
"name": "role",
|
|
107071
107288
|
"type": {
|
|
107072
|
-
"text": "
|
|
107289
|
+
"text": "ElementInternals['role']"
|
|
107073
107290
|
},
|
|
107074
107291
|
"privacy": "public",
|
|
107075
|
-
"
|
|
107292
|
+
"static": true,
|
|
107076
107293
|
"readonly": true,
|
|
107294
|
+
"default": "'menuitem'",
|
|
107077
107295
|
"inheritedFrom": {
|
|
107078
|
-
"name": "
|
|
107079
|
-
"module": "core/
|
|
107296
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107297
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107080
107298
|
}
|
|
107081
107299
|
},
|
|
107082
107300
|
{
|
|
107083
107301
|
"kind": "field",
|
|
107084
|
-
"name": "
|
|
107302
|
+
"name": "disabledInteractive",
|
|
107085
107303
|
"type": {
|
|
107086
107304
|
"text": "boolean"
|
|
107087
107305
|
},
|
|
107088
107306
|
"privacy": "public",
|
|
107089
|
-
"
|
|
107090
|
-
"
|
|
107307
|
+
"default": "false",
|
|
107308
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107309
|
+
"attribute": "disabled-interactive",
|
|
107310
|
+
"reflects": true,
|
|
107091
107311
|
"inheritedFrom": {
|
|
107092
|
-
"name": "
|
|
107093
|
-
"module": "core/mixins/
|
|
107312
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107313
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107094
107314
|
}
|
|
107095
107315
|
},
|
|
107096
107316
|
{
|
|
107097
107317
|
"kind": "field",
|
|
107098
|
-
"name": "
|
|
107099
|
-
"privacy": "
|
|
107100
|
-
"
|
|
107318
|
+
"name": "disabled",
|
|
107319
|
+
"privacy": "public",
|
|
107320
|
+
"description": "Whether the component is disabled.",
|
|
107321
|
+
"default": "false",
|
|
107322
|
+
"type": {
|
|
107323
|
+
"text": "boolean"
|
|
107324
|
+
},
|
|
107325
|
+
"attribute": "disabled",
|
|
107326
|
+
"reflects": true,
|
|
107101
107327
|
"inheritedFrom": {
|
|
107102
|
-
"name": "
|
|
107103
|
-
"module": "core/mixins/
|
|
107328
|
+
"name": "SbbDisabledMixin",
|
|
107329
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107104
107330
|
}
|
|
107105
107331
|
},
|
|
107106
107332
|
{
|
|
107107
107333
|
"kind": "field",
|
|
107108
|
-
"name": "
|
|
107334
|
+
"name": "#disabled",
|
|
107335
|
+
"privacy": "private",
|
|
107109
107336
|
"type": {
|
|
107110
107337
|
"text": "boolean"
|
|
107111
107338
|
},
|
|
107112
|
-
"privacy": "protected",
|
|
107113
107339
|
"default": "false",
|
|
107114
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107115
107340
|
"inheritedFrom": {
|
|
107116
|
-
"name": "
|
|
107117
|
-
"module": "core/mixins/
|
|
107341
|
+
"name": "SbbDisabledMixin",
|
|
107342
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107118
107343
|
}
|
|
107119
107344
|
},
|
|
107120
107345
|
{
|
|
107121
107346
|
"kind": "method",
|
|
107122
|
-
"name": "
|
|
107123
|
-
"privacy": "
|
|
107347
|
+
"name": "isDisabledExternally",
|
|
107348
|
+
"privacy": "protected",
|
|
107124
107349
|
"return": {
|
|
107125
107350
|
"type": {
|
|
107126
107351
|
"text": "boolean"
|
|
107127
107352
|
}
|
|
107128
107353
|
},
|
|
107129
|
-
"description": "
|
|
107354
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107130
107355
|
"inheritedFrom": {
|
|
107131
|
-
"name": "
|
|
107132
|
-
"module": "core/mixins/
|
|
107356
|
+
"name": "SbbDisabledMixin",
|
|
107357
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107133
107358
|
}
|
|
107134
107359
|
},
|
|
107135
107360
|
{
|
|
107136
|
-
"kind": "
|
|
107137
|
-
"name": "
|
|
107138
|
-
"
|
|
107139
|
-
|
|
107140
|
-
"type": {
|
|
107141
|
-
"text": "boolean"
|
|
107142
|
-
}
|
|
107361
|
+
"kind": "field",
|
|
107362
|
+
"name": "styles",
|
|
107363
|
+
"type": {
|
|
107364
|
+
"text": "CSSResultGroup"
|
|
107143
107365
|
},
|
|
107144
|
-
"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.",
|
|
107145
|
-
"inheritedFrom": {
|
|
107146
|
-
"name": "SbbFormAssociatedMixin",
|
|
107147
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107148
|
-
}
|
|
107149
|
-
},
|
|
107150
|
-
{
|
|
107151
|
-
"kind": "method",
|
|
107152
|
-
"name": "setCustomValidity",
|
|
107153
107366
|
"privacy": "public",
|
|
107154
|
-
"
|
|
107155
|
-
|
|
107156
|
-
"text": "void"
|
|
107157
|
-
}
|
|
107158
|
-
},
|
|
107159
|
-
"parameters": [
|
|
107160
|
-
{
|
|
107161
|
-
"name": "message",
|
|
107162
|
-
"type": {
|
|
107163
|
-
"text": "string"
|
|
107164
|
-
}
|
|
107165
|
-
}
|
|
107166
|
-
],
|
|
107167
|
-
"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.",
|
|
107168
|
-
"inheritedFrom": {
|
|
107169
|
-
"name": "SbbFormAssociatedMixin",
|
|
107170
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107171
|
-
}
|
|
107172
|
-
},
|
|
107173
|
-
{
|
|
107174
|
-
"kind": "method",
|
|
107175
|
-
"name": "_hasDisabledAncestor",
|
|
107176
|
-
"privacy": "private",
|
|
107177
|
-
"return": {
|
|
107178
|
-
"type": {
|
|
107179
|
-
"text": "boolean"
|
|
107180
|
-
}
|
|
107181
|
-
},
|
|
107367
|
+
"static": true,
|
|
107368
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
107182
107369
|
"inheritedFrom": {
|
|
107183
|
-
"name": "
|
|
107184
|
-
"module": "
|
|
107370
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107371
|
+
"module": "menu/common/menu-action-common.js"
|
|
107185
107372
|
}
|
|
107186
107373
|
},
|
|
107187
107374
|
{
|
|
107188
107375
|
"kind": "method",
|
|
107189
|
-
"name": "
|
|
107376
|
+
"name": "renderTemplate",
|
|
107190
107377
|
"privacy": "protected",
|
|
107191
107378
|
"return": {
|
|
107192
107379
|
"type": {
|
|
107193
|
-
"text": "
|
|
107380
|
+
"text": "TemplateResult"
|
|
107194
107381
|
}
|
|
107195
107382
|
},
|
|
107196
|
-
"description": "
|
|
107383
|
+
"description": "Override this method to render the component template.",
|
|
107197
107384
|
"inheritedFrom": {
|
|
107198
|
-
"name": "
|
|
107199
|
-
"module": "core/
|
|
107385
|
+
"name": "SbbActionBaseElement",
|
|
107386
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107200
107387
|
}
|
|
107201
107388
|
},
|
|
107202
107389
|
{
|
|
107203
|
-
"kind": "
|
|
107204
|
-
"name": "
|
|
107205
|
-
"
|
|
107206
|
-
|
|
107207
|
-
"type": {
|
|
107208
|
-
"text": "FormRestoreState"
|
|
107209
|
-
}
|
|
107390
|
+
"kind": "field",
|
|
107391
|
+
"name": "iconName",
|
|
107392
|
+
"type": {
|
|
107393
|
+
"text": "string"
|
|
107210
107394
|
},
|
|
107395
|
+
"privacy": "public",
|
|
107396
|
+
"default": "''",
|
|
107397
|
+
"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.",
|
|
107398
|
+
"attribute": "icon-name",
|
|
107211
107399
|
"inheritedFrom": {
|
|
107212
|
-
"name": "
|
|
107213
|
-
"module": "
|
|
107400
|
+
"name": "SbbIconNameMixin",
|
|
107401
|
+
"module": "icon/icon-name-mixin.js"
|
|
107214
107402
|
}
|
|
107215
107403
|
},
|
|
107216
107404
|
{
|
|
107217
107405
|
"kind": "method",
|
|
107218
|
-
"name": "
|
|
107406
|
+
"name": "renderIconSlot",
|
|
107219
107407
|
"privacy": "protected",
|
|
107220
107408
|
"return": {
|
|
107221
107409
|
"type": {
|
|
107222
|
-
"text": "
|
|
107410
|
+
"text": "TemplateResult"
|
|
107223
107411
|
}
|
|
107224
107412
|
},
|
|
107225
107413
|
"parameters": [
|
|
107226
107414
|
{
|
|
107227
|
-
"name": "
|
|
107228
|
-
"type": {
|
|
107229
|
-
"text": "T"
|
|
107230
|
-
}
|
|
107231
|
-
},
|
|
107232
|
-
{
|
|
107233
|
-
"name": "message",
|
|
107234
|
-
"type": {
|
|
107235
|
-
"text": "string"
|
|
107236
|
-
}
|
|
107237
|
-
},
|
|
107238
|
-
{
|
|
107239
|
-
"name": "flagValue",
|
|
107415
|
+
"name": "classname",
|
|
107240
107416
|
"optional": true,
|
|
107241
107417
|
"type": {
|
|
107242
|
-
"text": "
|
|
107243
|
-
}
|
|
107244
|
-
}
|
|
107245
|
-
],
|
|
107246
|
-
"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).",
|
|
107247
|
-
"inheritedFrom": {
|
|
107248
|
-
"name": "SbbFormAssociatedMixin",
|
|
107249
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107250
|
-
}
|
|
107251
|
-
},
|
|
107252
|
-
{
|
|
107253
|
-
"kind": "method",
|
|
107254
|
-
"name": "removeValidityFlag",
|
|
107255
|
-
"privacy": "protected",
|
|
107256
|
-
"return": {
|
|
107257
|
-
"type": {
|
|
107258
|
-
"text": "void"
|
|
107259
|
-
}
|
|
107260
|
-
},
|
|
107261
|
-
"parameters": [
|
|
107262
|
-
{
|
|
107263
|
-
"name": "flag",
|
|
107264
|
-
"type": {
|
|
107265
|
-
"text": "T"
|
|
107418
|
+
"text": "string"
|
|
107266
107419
|
}
|
|
107267
107420
|
}
|
|
107268
107421
|
],
|
|
107269
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107270
|
-
"inheritedFrom": {
|
|
107271
|
-
"name": "SbbFormAssociatedMixin",
|
|
107272
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107273
|
-
}
|
|
107274
|
-
},
|
|
107275
|
-
{
|
|
107276
|
-
"kind": "method",
|
|
107277
|
-
"name": "validate",
|
|
107278
|
-
"privacy": "protected",
|
|
107279
|
-
"return": {
|
|
107280
|
-
"type": {
|
|
107281
|
-
"text": "void"
|
|
107282
|
-
}
|
|
107283
|
-
},
|
|
107284
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
107285
107422
|
"inheritedFrom": {
|
|
107286
|
-
"name": "
|
|
107287
|
-
"module": "
|
|
107423
|
+
"name": "SbbIconNameMixin",
|
|
107424
|
+
"module": "icon/icon-name-mixin.js"
|
|
107288
107425
|
}
|
|
107289
107426
|
},
|
|
107290
107427
|
{
|
|
107291
107428
|
"kind": "method",
|
|
107292
|
-
"name": "
|
|
107429
|
+
"name": "renderIconName",
|
|
107293
107430
|
"privacy": "protected",
|
|
107294
107431
|
"return": {
|
|
107295
107432
|
"type": {
|
|
107296
|
-
"text": "
|
|
107433
|
+
"text": "string"
|
|
107297
107434
|
}
|
|
107298
107435
|
},
|
|
107299
|
-
"parameters": [
|
|
107300
|
-
{
|
|
107301
|
-
"name": "name",
|
|
107302
|
-
"type": {
|
|
107303
|
-
"text": "PropertyKey | undefined"
|
|
107304
|
-
}
|
|
107305
|
-
}
|
|
107306
|
-
],
|
|
107307
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
107308
107436
|
"inheritedFrom": {
|
|
107309
|
-
"name": "
|
|
107310
|
-
"module": "
|
|
107437
|
+
"name": "SbbIconNameMixin",
|
|
107438
|
+
"module": "icon/icon-name-mixin.js"
|
|
107311
107439
|
}
|
|
107312
107440
|
},
|
|
107313
107441
|
{
|
|
107314
107442
|
"kind": "method",
|
|
107315
|
-
"name": "
|
|
107443
|
+
"name": "_renderIconName",
|
|
107316
107444
|
"privacy": "private",
|
|
107317
107445
|
"return": {
|
|
107318
107446
|
"type": {
|
|
107319
|
-
"text": "
|
|
107447
|
+
"text": "string"
|
|
107320
107448
|
}
|
|
107321
107449
|
},
|
|
107322
107450
|
"inheritedFrom": {
|
|
107323
|
-
"name": "
|
|
107324
|
-
"module": "
|
|
107451
|
+
"name": "SbbIconNameMixin",
|
|
107452
|
+
"module": "icon/icon-name-mixin.js"
|
|
107325
107453
|
}
|
|
107326
107454
|
},
|
|
107327
107455
|
{
|
|
107328
107456
|
"kind": "field",
|
|
107329
|
-
"name": "
|
|
107457
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107458
|
+
"type": {
|
|
107459
|
+
"text": "array"
|
|
107460
|
+
},
|
|
107330
107461
|
"privacy": "private",
|
|
107331
|
-
"
|
|
107332
|
-
"
|
|
107333
|
-
{
|
|
107334
|
-
"description": "The origin event.",
|
|
107335
|
-
"name": "event"
|
|
107336
|
-
}
|
|
107337
|
-
],
|
|
107462
|
+
"readonly": true,
|
|
107463
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107338
107464
|
"inheritedFrom": {
|
|
107339
|
-
"name": "
|
|
107465
|
+
"name": "SbbButtonBaseElement",
|
|
107340
107466
|
"module": "core/base-elements/button-base-element.js"
|
|
107341
107467
|
}
|
|
107342
107468
|
},
|
|
107343
107469
|
{
|
|
107344
107470
|
"kind": "field",
|
|
107345
|
-
"name": "
|
|
107346
|
-
"
|
|
107471
|
+
"name": "value",
|
|
107472
|
+
"type": {
|
|
107473
|
+
"text": "string"
|
|
107474
|
+
},
|
|
107475
|
+
"privacy": "public",
|
|
107347
107476
|
"inheritedFrom": {
|
|
107348
|
-
"name": "
|
|
107477
|
+
"name": "SbbButtonBaseElement",
|
|
107349
107478
|
"module": "core/base-elements/button-base-element.js"
|
|
107350
|
-
}
|
|
107479
|
+
},
|
|
107480
|
+
"default": "''",
|
|
107481
|
+
"description": "Value of the form element.",
|
|
107482
|
+
"attribute": "value"
|
|
107351
107483
|
},
|
|
107352
107484
|
{
|
|
107353
107485
|
"kind": "field",
|
|
107354
|
-
"name": "
|
|
107355
|
-
"privacy": "
|
|
107356
|
-
"description": "
|
|
107357
|
-
"
|
|
107358
|
-
|
|
107359
|
-
|
|
107360
|
-
|
|
107361
|
-
|
|
107362
|
-
],
|
|
107486
|
+
"name": "type",
|
|
107487
|
+
"privacy": "public",
|
|
107488
|
+
"description": "The type attribute to use for the button.",
|
|
107489
|
+
"default": "'button'",
|
|
107490
|
+
"type": {
|
|
107491
|
+
"text": "SbbButtonType"
|
|
107492
|
+
},
|
|
107493
|
+
"attribute": "type",
|
|
107363
107494
|
"inheritedFrom": {
|
|
107364
|
-
"name": "
|
|
107495
|
+
"name": "SbbButtonBaseElement",
|
|
107365
107496
|
"module": "core/base-elements/button-base-element.js"
|
|
107366
107497
|
}
|
|
107367
107498
|
},
|
|
107368
107499
|
{
|
|
107369
107500
|
"kind": "field",
|
|
107370
|
-
"name": "
|
|
107371
|
-
"
|
|
107501
|
+
"name": "form",
|
|
107502
|
+
"type": {
|
|
107503
|
+
"text": "HTMLFormElement | null"
|
|
107504
|
+
},
|
|
107505
|
+
"privacy": "public",
|
|
107506
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107372
107507
|
"inheritedFrom": {
|
|
107373
|
-
"name": "
|
|
107508
|
+
"name": "SbbButtonBaseElement",
|
|
107374
107509
|
"module": "core/base-elements/button-base-element.js"
|
|
107375
|
-
}
|
|
107510
|
+
},
|
|
107511
|
+
"attribute": "form"
|
|
107376
107512
|
},
|
|
107377
107513
|
{
|
|
107378
107514
|
"kind": "field",
|
|
107379
|
-
"name": "
|
|
107515
|
+
"name": "_formId",
|
|
107380
107516
|
"type": {
|
|
107381
|
-
"text": "
|
|
107517
|
+
"text": "string"
|
|
107382
107518
|
},
|
|
107383
|
-
"privacy": "
|
|
107384
|
-
"
|
|
107519
|
+
"privacy": "private",
|
|
107520
|
+
"default": "''",
|
|
107385
107521
|
"inheritedFrom": {
|
|
107386
|
-
"name": "
|
|
107387
|
-
"module": "core/base-elements/
|
|
107522
|
+
"name": "SbbButtonBaseElement",
|
|
107523
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107388
107524
|
}
|
|
107389
107525
|
},
|
|
107390
107526
|
{
|
|
107391
107527
|
"kind": "field",
|
|
107392
|
-
"name": "
|
|
107393
|
-
"
|
|
107394
|
-
"text": "boolean | undefined"
|
|
107395
|
-
},
|
|
107396
|
-
"privacy": "protected",
|
|
107397
|
-
"readonly": true,
|
|
107528
|
+
"name": "_handleButtonClick",
|
|
107529
|
+
"privacy": "private",
|
|
107398
107530
|
"inheritedFrom": {
|
|
107399
|
-
"name": "
|
|
107400
|
-
"module": "core/base-elements/
|
|
107531
|
+
"name": "SbbButtonBaseElement",
|
|
107532
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107401
107533
|
}
|
|
107402
107534
|
},
|
|
107403
107535
|
{
|
|
107404
107536
|
"kind": "method",
|
|
107405
|
-
"name": "
|
|
107406
|
-
"privacy": "
|
|
107537
|
+
"name": "_requestSubmit",
|
|
107538
|
+
"privacy": "private",
|
|
107407
107539
|
"return": {
|
|
107408
107540
|
"type": {
|
|
107409
107541
|
"text": "void"
|
|
107410
107542
|
}
|
|
107411
107543
|
},
|
|
107544
|
+
"parameters": [
|
|
107545
|
+
{
|
|
107546
|
+
"name": "form",
|
|
107547
|
+
"type": {
|
|
107548
|
+
"text": "HTMLFormElement"
|
|
107549
|
+
}
|
|
107550
|
+
}
|
|
107551
|
+
],
|
|
107412
107552
|
"inheritedFrom": {
|
|
107413
|
-
"name": "
|
|
107414
|
-
"module": "core/base-elements/
|
|
107553
|
+
"name": "SbbButtonBaseElement",
|
|
107554
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107415
107555
|
}
|
|
107416
107556
|
},
|
|
107417
107557
|
{
|
|
107418
107558
|
"kind": "field",
|
|
107419
|
-
"name": "
|
|
107420
|
-
"type": {
|
|
107421
|
-
"text": "boolean"
|
|
107422
|
-
},
|
|
107559
|
+
"name": "_formKeyDown",
|
|
107423
107560
|
"privacy": "private",
|
|
107424
|
-
"default": "!!this.shadowRoot",
|
|
107425
107561
|
"inheritedFrom": {
|
|
107426
|
-
"name": "
|
|
107427
|
-
"module": "core/base-elements/element.js"
|
|
107562
|
+
"name": "SbbButtonBaseElement",
|
|
107563
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107428
107564
|
}
|
|
107429
107565
|
},
|
|
107430
107566
|
{
|
|
107431
107567
|
"kind": "field",
|
|
107432
|
-
"name": "
|
|
107433
|
-
"
|
|
107434
|
-
|
|
107568
|
+
"name": "formAssociated",
|
|
107569
|
+
"type": {
|
|
107570
|
+
"text": "boolean"
|
|
107571
|
+
},
|
|
107572
|
+
"privacy": "public",
|
|
107573
|
+
"static": true,
|
|
107574
|
+
"default": "true",
|
|
107435
107575
|
"inheritedFrom": {
|
|
107436
|
-
"name": "
|
|
107437
|
-
"module": "core/
|
|
107576
|
+
"name": "SbbFormAssociatedMixin",
|
|
107577
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107438
107578
|
}
|
|
107439
107579
|
},
|
|
107440
107580
|
{
|
|
107441
107581
|
"kind": "field",
|
|
107442
|
-
"name": "
|
|
107582
|
+
"name": "name",
|
|
107583
|
+
"privacy": "public",
|
|
107584
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107443
107585
|
"type": {
|
|
107444
|
-
"text": "
|
|
107586
|
+
"text": "string"
|
|
107445
107587
|
},
|
|
107446
|
-
"
|
|
107588
|
+
"attribute": "name",
|
|
107447
107589
|
"inheritedFrom": {
|
|
107448
|
-
"name": "
|
|
107449
|
-
"module": "core/
|
|
107590
|
+
"name": "SbbFormAssociatedMixin",
|
|
107591
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107450
107592
|
}
|
|
107451
107593
|
},
|
|
107452
107594
|
{
|
|
107453
107595
|
"kind": "field",
|
|
107454
|
-
"name": "
|
|
107596
|
+
"name": "validity",
|
|
107455
107597
|
"type": {
|
|
107456
|
-
"text": "
|
|
107598
|
+
"text": "ValidityState"
|
|
107457
107599
|
},
|
|
107458
|
-
"privacy": "
|
|
107459
|
-
"description": "Returns
|
|
107600
|
+
"privacy": "public",
|
|
107601
|
+
"description": "Returns the ValidityState object for this element.",
|
|
107460
107602
|
"readonly": true,
|
|
107461
107603
|
"inheritedFrom": {
|
|
107462
|
-
"name": "
|
|
107463
|
-
"module": "core/
|
|
107464
|
-
}
|
|
107465
|
-
"default": "!!this.shadowRoot"
|
|
107604
|
+
"name": "SbbFormAssociatedMixin",
|
|
107605
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107606
|
+
}
|
|
107466
107607
|
},
|
|
107467
107608
|
{
|
|
107468
|
-
"kind": "
|
|
107469
|
-
"name": "
|
|
107470
|
-
"
|
|
107471
|
-
|
|
107472
|
-
"type": {
|
|
107473
|
-
"text": "void"
|
|
107474
|
-
}
|
|
107609
|
+
"kind": "field",
|
|
107610
|
+
"name": "validationMessage",
|
|
107611
|
+
"type": {
|
|
107612
|
+
"text": "string"
|
|
107475
107613
|
},
|
|
107476
|
-
"
|
|
107477
|
-
|
|
107478
|
-
|
|
107479
|
-
"type": {
|
|
107480
|
-
"text": "string"
|
|
107481
|
-
}
|
|
107482
|
-
},
|
|
107483
|
-
{
|
|
107484
|
-
"name": "force",
|
|
107485
|
-
"optional": true,
|
|
107486
|
-
"type": {
|
|
107487
|
-
"text": "boolean"
|
|
107488
|
-
}
|
|
107489
|
-
}
|
|
107490
|
-
],
|
|
107614
|
+
"privacy": "public",
|
|
107615
|
+
"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.",
|
|
107616
|
+
"readonly": true,
|
|
107491
107617
|
"inheritedFrom": {
|
|
107492
|
-
"name": "
|
|
107493
|
-
"module": "core/
|
|
107618
|
+
"name": "SbbFormAssociatedMixin",
|
|
107619
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107494
107620
|
}
|
|
107495
107621
|
},
|
|
107496
107622
|
{
|
|
107497
107623
|
"kind": "field",
|
|
107498
|
-
"name": "
|
|
107624
|
+
"name": "willValidate",
|
|
107499
107625
|
"type": {
|
|
107500
107626
|
"text": "boolean"
|
|
107501
107627
|
},
|
|
107502
107628
|
"privacy": "public",
|
|
107503
|
-
"
|
|
107504
|
-
"
|
|
107629
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107630
|
+
"readonly": true,
|
|
107505
107631
|
"inheritedFrom": {
|
|
107506
|
-
"name": "
|
|
107507
|
-
"module": "core/
|
|
107632
|
+
"name": "SbbFormAssociatedMixin",
|
|
107633
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107508
107634
|
}
|
|
107509
107635
|
},
|
|
107510
107636
|
{
|
|
107511
107637
|
"kind": "field",
|
|
107512
|
-
"name": "
|
|
107513
|
-
"type": {
|
|
107514
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
107515
|
-
},
|
|
107638
|
+
"name": "_validityStates",
|
|
107516
107639
|
"privacy": "private",
|
|
107640
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
107517
107641
|
"inheritedFrom": {
|
|
107518
|
-
"name": "
|
|
107519
|
-
"module": "core/
|
|
107642
|
+
"name": "SbbFormAssociatedMixin",
|
|
107643
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107520
107644
|
}
|
|
107521
|
-
}
|
|
107522
|
-
],
|
|
107523
|
-
"mixins": [
|
|
107524
|
-
{
|
|
107525
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
107526
|
-
"module": "core/mixins.js"
|
|
107527
107645
|
},
|
|
107528
107646
|
{
|
|
107529
|
-
"
|
|
107530
|
-
"
|
|
107531
|
-
}
|
|
107532
|
-
],
|
|
107533
|
-
"superclass": {
|
|
107534
|
-
"name": "SbbButtonBaseElement",
|
|
107535
|
-
"module": "core/base-elements.js"
|
|
107536
|
-
},
|
|
107537
|
-
"tagName": "sbb-menu-button",
|
|
107538
|
-
"customElement": true,
|
|
107539
|
-
"attributes": [
|
|
107540
|
-
{
|
|
107541
|
-
"name": "disabled-interactive",
|
|
107647
|
+
"kind": "field",
|
|
107648
|
+
"name": "formDisabled",
|
|
107542
107649
|
"type": {
|
|
107543
107650
|
"text": "boolean"
|
|
107544
107651
|
},
|
|
107652
|
+
"privacy": "protected",
|
|
107545
107653
|
"default": "false",
|
|
107546
|
-
"description": "
|
|
107547
|
-
"fieldName": "disabledInteractive",
|
|
107654
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107548
107655
|
"inheritedFrom": {
|
|
107549
|
-
"name": "
|
|
107550
|
-
"module": "core/mixins/
|
|
107656
|
+
"name": "SbbFormAssociatedMixin",
|
|
107657
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107551
107658
|
}
|
|
107552
107659
|
},
|
|
107553
107660
|
{
|
|
107554
|
-
"
|
|
107555
|
-
"
|
|
107556
|
-
"
|
|
107557
|
-
"
|
|
107558
|
-
"
|
|
107661
|
+
"kind": "method",
|
|
107662
|
+
"name": "checkValidity",
|
|
107663
|
+
"privacy": "public",
|
|
107664
|
+
"return": {
|
|
107665
|
+
"type": {
|
|
107666
|
+
"text": "boolean"
|
|
107667
|
+
}
|
|
107559
107668
|
},
|
|
107560
|
-
"
|
|
107669
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107561
107670
|
"inheritedFrom": {
|
|
107562
|
-
"name": "
|
|
107563
|
-
"module": "core/mixins/
|
|
107671
|
+
"name": "SbbFormAssociatedMixin",
|
|
107672
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107564
107673
|
}
|
|
107565
107674
|
},
|
|
107566
107675
|
{
|
|
107567
|
-
"
|
|
107568
|
-
"
|
|
107569
|
-
|
|
107676
|
+
"kind": "method",
|
|
107677
|
+
"name": "reportValidity",
|
|
107678
|
+
"privacy": "public",
|
|
107679
|
+
"return": {
|
|
107680
|
+
"type": {
|
|
107681
|
+
"text": "boolean"
|
|
107682
|
+
}
|
|
107570
107683
|
},
|
|
107571
|
-
"
|
|
107572
|
-
"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.",
|
|
107573
|
-
"fieldName": "iconName",
|
|
107684
|
+
"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.",
|
|
107574
107685
|
"inheritedFrom": {
|
|
107575
|
-
"name": "
|
|
107576
|
-
"module": "
|
|
107686
|
+
"name": "SbbFormAssociatedMixin",
|
|
107687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107577
107688
|
}
|
|
107578
107689
|
},
|
|
107579
107690
|
{
|
|
107580
|
-
"
|
|
107581
|
-
"
|
|
107582
|
-
|
|
107691
|
+
"kind": "method",
|
|
107692
|
+
"name": "setCustomValidity",
|
|
107693
|
+
"privacy": "public",
|
|
107694
|
+
"return": {
|
|
107695
|
+
"type": {
|
|
107696
|
+
"text": "void"
|
|
107697
|
+
}
|
|
107583
107698
|
},
|
|
107584
|
-
"
|
|
107585
|
-
|
|
107586
|
-
|
|
107699
|
+
"parameters": [
|
|
107700
|
+
{
|
|
107701
|
+
"name": "message",
|
|
107702
|
+
"type": {
|
|
107703
|
+
"text": "string"
|
|
107704
|
+
}
|
|
107705
|
+
}
|
|
107706
|
+
],
|
|
107707
|
+
"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.",
|
|
107587
107708
|
"inheritedFrom": {
|
|
107588
|
-
"name": "
|
|
107589
|
-
"module": "core/
|
|
107709
|
+
"name": "SbbFormAssociatedMixin",
|
|
107710
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107590
107711
|
}
|
|
107591
107712
|
},
|
|
107592
107713
|
{
|
|
107593
|
-
"
|
|
107594
|
-
"
|
|
107595
|
-
"
|
|
107596
|
-
"
|
|
107597
|
-
"
|
|
107714
|
+
"kind": "method",
|
|
107715
|
+
"name": "_hasDisabledAncestor",
|
|
107716
|
+
"privacy": "private",
|
|
107717
|
+
"return": {
|
|
107718
|
+
"type": {
|
|
107719
|
+
"text": "boolean"
|
|
107720
|
+
}
|
|
107598
107721
|
},
|
|
107599
|
-
"fieldName": "type",
|
|
107600
107722
|
"inheritedFrom": {
|
|
107601
|
-
"name": "
|
|
107602
|
-
"module": "core/
|
|
107723
|
+
"name": "SbbFormAssociatedMixin",
|
|
107724
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107603
107725
|
}
|
|
107604
107726
|
},
|
|
107605
107727
|
{
|
|
107606
|
-
"
|
|
107607
|
-
"
|
|
107608
|
-
"
|
|
107609
|
-
|
|
107728
|
+
"kind": "method",
|
|
107729
|
+
"name": "updateFormValue",
|
|
107730
|
+
"privacy": "protected",
|
|
107731
|
+
"return": {
|
|
107732
|
+
"type": {
|
|
107733
|
+
"text": "void"
|
|
107734
|
+
}
|
|
107610
107735
|
},
|
|
107611
|
-
"
|
|
107736
|
+
"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",
|
|
107612
107737
|
"inheritedFrom": {
|
|
107613
|
-
"name": "
|
|
107614
|
-
"module": "core/
|
|
107738
|
+
"name": "SbbFormAssociatedMixin",
|
|
107739
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107615
107740
|
}
|
|
107616
107741
|
},
|
|
107617
107742
|
{
|
|
107618
|
-
"
|
|
107619
|
-
"
|
|
107620
|
-
"
|
|
107621
|
-
|
|
107743
|
+
"kind": "method",
|
|
107744
|
+
"name": "formState",
|
|
107745
|
+
"privacy": "protected",
|
|
107746
|
+
"return": {
|
|
107747
|
+
"type": {
|
|
107748
|
+
"text": "FormRestoreState"
|
|
107749
|
+
}
|
|
107622
107750
|
},
|
|
107623
|
-
"fieldName": "name",
|
|
107624
107751
|
"inheritedFrom": {
|
|
107625
107752
|
"name": "SbbFormAssociatedMixin",
|
|
107626
107753
|
"module": "core/mixins/form-associated-mixin.js"
|
|
107627
107754
|
}
|
|
107628
|
-
}
|
|
107629
|
-
]
|
|
107630
|
-
}
|
|
107631
|
-
],
|
|
107632
|
-
"exports": [
|
|
107633
|
-
{
|
|
107634
|
-
"kind": "js",
|
|
107635
|
-
"name": "SbbMenuButtonElement",
|
|
107636
|
-
"declaration": {
|
|
107637
|
-
"name": "SbbMenuButtonElement",
|
|
107638
|
-
"module": "menu/menu-button/menu-button.component.js"
|
|
107639
|
-
}
|
|
107640
|
-
}
|
|
107641
|
-
]
|
|
107642
|
-
},
|
|
107643
|
-
{
|
|
107644
|
-
"kind": "javascript-module",
|
|
107645
|
-
"path": "menu/common/menu-action-common.js",
|
|
107646
|
-
"declarations": [
|
|
107647
|
-
{
|
|
107648
|
-
"kind": "class",
|
|
107649
|
-
"description": "",
|
|
107650
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
107651
|
-
"mixins": [
|
|
107652
|
-
{
|
|
107653
|
-
"name": "SbbIconNameMixin",
|
|
107654
|
-
"module": "icon.js"
|
|
107655
107755
|
},
|
|
107656
107756
|
{
|
|
107657
|
-
"
|
|
107658
|
-
"
|
|
107659
|
-
|
|
107660
|
-
|
|
107661
|
-
|
|
107662
|
-
|
|
107663
|
-
|
|
107664
|
-
},
|
|
107665
|
-
"attributes": [
|
|
107666
|
-
{
|
|
107667
|
-
"name": "icon-name",
|
|
107668
|
-
"type": {
|
|
107669
|
-
"text": "string"
|
|
107757
|
+
"kind": "method",
|
|
107758
|
+
"name": "setValidityFlag",
|
|
107759
|
+
"privacy": "protected",
|
|
107760
|
+
"return": {
|
|
107761
|
+
"type": {
|
|
107762
|
+
"text": "void"
|
|
107763
|
+
}
|
|
107670
107764
|
},
|
|
107671
|
-
"
|
|
107672
|
-
|
|
107673
|
-
|
|
107765
|
+
"parameters": [
|
|
107766
|
+
{
|
|
107767
|
+
"name": "flag",
|
|
107768
|
+
"type": {
|
|
107769
|
+
"text": "T"
|
|
107770
|
+
}
|
|
107771
|
+
},
|
|
107772
|
+
{
|
|
107773
|
+
"name": "message",
|
|
107774
|
+
"type": {
|
|
107775
|
+
"text": "string"
|
|
107776
|
+
}
|
|
107777
|
+
},
|
|
107778
|
+
{
|
|
107779
|
+
"name": "flagValue",
|
|
107780
|
+
"optional": true,
|
|
107781
|
+
"type": {
|
|
107782
|
+
"text": "ValidityStateFlags[T]"
|
|
107783
|
+
}
|
|
107784
|
+
}
|
|
107785
|
+
],
|
|
107786
|
+
"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).",
|
|
107674
107787
|
"inheritedFrom": {
|
|
107675
|
-
"name": "
|
|
107676
|
-
"module": "
|
|
107788
|
+
"name": "SbbFormAssociatedMixin",
|
|
107789
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107677
107790
|
}
|
|
107678
107791
|
},
|
|
107679
107792
|
{
|
|
107680
|
-
"
|
|
107681
|
-
"
|
|
107682
|
-
"
|
|
107683
|
-
"
|
|
107684
|
-
"
|
|
107793
|
+
"kind": "method",
|
|
107794
|
+
"name": "removeValidityFlag",
|
|
107795
|
+
"privacy": "protected",
|
|
107796
|
+
"return": {
|
|
107797
|
+
"type": {
|
|
107798
|
+
"text": "void"
|
|
107799
|
+
}
|
|
107685
107800
|
},
|
|
107686
|
-
"
|
|
107801
|
+
"parameters": [
|
|
107802
|
+
{
|
|
107803
|
+
"name": "flag",
|
|
107804
|
+
"type": {
|
|
107805
|
+
"text": "T"
|
|
107806
|
+
}
|
|
107807
|
+
}
|
|
107808
|
+
],
|
|
107809
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107687
107810
|
"inheritedFrom": {
|
|
107688
|
-
"name": "
|
|
107689
|
-
"module": "core/mixins/
|
|
107811
|
+
"name": "SbbFormAssociatedMixin",
|
|
107812
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107690
107813
|
}
|
|
107691
|
-
}
|
|
107692
|
-
],
|
|
107693
|
-
"members": [
|
|
107814
|
+
},
|
|
107694
107815
|
{
|
|
107695
|
-
"kind": "
|
|
107696
|
-
"name": "
|
|
107697
|
-
"
|
|
107698
|
-
|
|
107816
|
+
"kind": "method",
|
|
107817
|
+
"name": "validate",
|
|
107818
|
+
"privacy": "protected",
|
|
107819
|
+
"return": {
|
|
107820
|
+
"type": {
|
|
107821
|
+
"text": "void"
|
|
107822
|
+
}
|
|
107699
107823
|
},
|
|
107700
|
-
"
|
|
107701
|
-
"default": "''",
|
|
107702
|
-
"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.",
|
|
107703
|
-
"attribute": "icon-name",
|
|
107824
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
107704
107825
|
"inheritedFrom": {
|
|
107705
|
-
"name": "
|
|
107706
|
-
"module": "
|
|
107826
|
+
"name": "SbbFormAssociatedMixin",
|
|
107827
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107707
107828
|
}
|
|
107708
107829
|
},
|
|
107709
107830
|
{
|
|
107710
107831
|
"kind": "method",
|
|
107711
|
-
"name": "
|
|
107832
|
+
"name": "shouldValidate",
|
|
107712
107833
|
"privacy": "protected",
|
|
107713
107834
|
"return": {
|
|
107714
107835
|
"type": {
|
|
107715
|
-
"text": "
|
|
107836
|
+
"text": "boolean"
|
|
107716
107837
|
}
|
|
107717
107838
|
},
|
|
107718
107839
|
"parameters": [
|
|
107719
107840
|
{
|
|
107720
|
-
"name": "
|
|
107721
|
-
"optional": true,
|
|
107841
|
+
"name": "name",
|
|
107722
107842
|
"type": {
|
|
107723
|
-
"text": "
|
|
107843
|
+
"text": "PropertyKey | undefined"
|
|
107724
107844
|
}
|
|
107725
107845
|
}
|
|
107726
107846
|
],
|
|
107847
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
107727
107848
|
"inheritedFrom": {
|
|
107728
|
-
"name": "
|
|
107729
|
-
"module": "
|
|
107849
|
+
"name": "SbbFormAssociatedMixin",
|
|
107850
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107730
107851
|
}
|
|
107731
107852
|
},
|
|
107732
107853
|
{
|
|
107733
107854
|
"kind": "method",
|
|
107734
|
-
"name": "
|
|
107735
|
-
"privacy": "
|
|
107855
|
+
"name": "_setInternalValidity",
|
|
107856
|
+
"privacy": "private",
|
|
107736
107857
|
"return": {
|
|
107737
107858
|
"type": {
|
|
107738
|
-
"text": "
|
|
107859
|
+
"text": "void"
|
|
107739
107860
|
}
|
|
107740
107861
|
},
|
|
107741
107862
|
"inheritedFrom": {
|
|
107742
|
-
"name": "
|
|
107743
|
-
"module": "
|
|
107863
|
+
"name": "SbbFormAssociatedMixin",
|
|
107864
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107744
107865
|
}
|
|
107745
107866
|
},
|
|
107746
107867
|
{
|
|
107747
|
-
"kind": "
|
|
107748
|
-
"name": "
|
|
107868
|
+
"kind": "field",
|
|
107869
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
107749
107870
|
"privacy": "private",
|
|
107750
|
-
"
|
|
107751
|
-
|
|
107752
|
-
|
|
107871
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107872
|
+
"parameters": [
|
|
107873
|
+
{
|
|
107874
|
+
"description": "The origin event.",
|
|
107875
|
+
"name": "event"
|
|
107753
107876
|
}
|
|
107754
|
-
|
|
107877
|
+
],
|
|
107755
107878
|
"inheritedFrom": {
|
|
107756
|
-
"name": "
|
|
107757
|
-
"module": "
|
|
107879
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107880
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107758
107881
|
}
|
|
107759
107882
|
},
|
|
107760
107883
|
{
|
|
107761
107884
|
"kind": "field",
|
|
107762
|
-
"name": "
|
|
107763
|
-
"privacy": "
|
|
107764
|
-
"description": "Whether the component is disabled.",
|
|
107765
|
-
"default": "false",
|
|
107766
|
-
"type": {
|
|
107767
|
-
"text": "boolean"
|
|
107768
|
-
},
|
|
107769
|
-
"attribute": "disabled",
|
|
107770
|
-
"reflects": true,
|
|
107885
|
+
"name": "_removeActiveMarker",
|
|
107886
|
+
"privacy": "private",
|
|
107771
107887
|
"inheritedFrom": {
|
|
107772
|
-
"name": "
|
|
107773
|
-
"module": "core/
|
|
107888
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107889
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107774
107890
|
}
|
|
107775
107891
|
},
|
|
107776
107892
|
{
|
|
107777
107893
|
"kind": "field",
|
|
107778
|
-
"name": "
|
|
107894
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
107779
107895
|
"privacy": "private",
|
|
107780
|
-
"
|
|
107781
|
-
|
|
107782
|
-
|
|
107783
|
-
|
|
107896
|
+
"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.",
|
|
107897
|
+
"parameters": [
|
|
107898
|
+
{
|
|
107899
|
+
"description": "The origin event.",
|
|
107900
|
+
"name": "event"
|
|
107901
|
+
}
|
|
107902
|
+
],
|
|
107784
107903
|
"inheritedFrom": {
|
|
107785
|
-
"name": "
|
|
107786
|
-
"module": "core/
|
|
107904
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107905
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107787
107906
|
}
|
|
107788
107907
|
},
|
|
107789
107908
|
{
|
|
107790
|
-
"kind": "
|
|
107791
|
-
"name": "
|
|
107792
|
-
"privacy": "
|
|
107793
|
-
"return": {
|
|
107794
|
-
"type": {
|
|
107795
|
-
"text": "boolean"
|
|
107796
|
-
}
|
|
107797
|
-
},
|
|
107798
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107909
|
+
"kind": "field",
|
|
107910
|
+
"name": "_dispatchClickEvent",
|
|
107911
|
+
"privacy": "private",
|
|
107799
107912
|
"inheritedFrom": {
|
|
107800
|
-
"name": "
|
|
107801
|
-
"module": "core/
|
|
107913
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107914
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107802
107915
|
}
|
|
107803
107916
|
},
|
|
107804
107917
|
{
|
|
@@ -107841,21 +107954,6 @@
|
|
|
107841
107954
|
"module": "core/base-elements/action-base-element.js"
|
|
107842
107955
|
}
|
|
107843
107956
|
},
|
|
107844
|
-
{
|
|
107845
|
-
"kind": "method",
|
|
107846
|
-
"name": "renderTemplate",
|
|
107847
|
-
"privacy": "protected",
|
|
107848
|
-
"return": {
|
|
107849
|
-
"type": {
|
|
107850
|
-
"text": "TemplateResult"
|
|
107851
|
-
}
|
|
107852
|
-
},
|
|
107853
|
-
"description": "Override this method to render the component template.",
|
|
107854
|
-
"inheritedFrom": {
|
|
107855
|
-
"name": "SbbActionBaseElement",
|
|
107856
|
-
"module": "core/base-elements/action-base-element.js"
|
|
107857
|
-
}
|
|
107858
|
-
},
|
|
107859
107957
|
{
|
|
107860
107958
|
"kind": "field",
|
|
107861
107959
|
"name": "_hydrationRequired",
|
|
@@ -107949,20 +108047,6 @@
|
|
|
107949
108047
|
"module": "core/base-elements/element.js"
|
|
107950
108048
|
}
|
|
107951
108049
|
},
|
|
107952
|
-
{
|
|
107953
|
-
"kind": "field",
|
|
107954
|
-
"name": "elementName",
|
|
107955
|
-
"type": {
|
|
107956
|
-
"text": "string"
|
|
107957
|
-
},
|
|
107958
|
-
"privacy": "public",
|
|
107959
|
-
"static": true,
|
|
107960
|
-
"readonly": true,
|
|
107961
|
-
"inheritedFrom": {
|
|
107962
|
-
"name": "SbbElement",
|
|
107963
|
-
"module": "core/base-elements/element.js"
|
|
107964
|
-
}
|
|
107965
|
-
},
|
|
107966
108050
|
{
|
|
107967
108051
|
"kind": "field",
|
|
107968
108052
|
"name": "_controllers",
|
|
@@ -107975,187 +108059,111 @@
|
|
|
107975
108059
|
"module": "core/base-elements/element.js"
|
|
107976
108060
|
}
|
|
107977
108061
|
}
|
|
107978
|
-
]
|
|
107979
|
-
|
|
107980
|
-
{
|
|
107981
|
-
"kind": "mixin",
|
|
107982
|
-
"description": "",
|
|
107983
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
107984
|
-
"members": [
|
|
108062
|
+
],
|
|
108063
|
+
"mixins": [
|
|
107985
108064
|
{
|
|
107986
|
-
"
|
|
107987
|
-
"
|
|
107988
|
-
"type": {
|
|
107989
|
-
"text": "CSSResultGroup"
|
|
107990
|
-
},
|
|
107991
|
-
"privacy": "public",
|
|
107992
|
-
"static": true,
|
|
107993
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
108065
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
108066
|
+
"module": "core/mixins.js"
|
|
107994
108067
|
},
|
|
107995
108068
|
{
|
|
107996
|
-
"
|
|
107997
|
-
"
|
|
107998
|
-
|
|
107999
|
-
|
|
108000
|
-
|
|
108001
|
-
|
|
108002
|
-
|
|
108003
|
-
|
|
108004
|
-
|
|
108069
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108070
|
+
"module": "menu/common/menu-action-common.js"
|
|
108071
|
+
}
|
|
108072
|
+
],
|
|
108073
|
+
"superclass": {
|
|
108074
|
+
"name": "SbbButtonBaseElement",
|
|
108075
|
+
"module": "core/base-elements.js"
|
|
108076
|
+
},
|
|
108077
|
+
"tagName": "sbb-menu-button",
|
|
108078
|
+
"customElement": true,
|
|
108079
|
+
"attributes": [
|
|
108005
108080
|
{
|
|
108006
|
-
"
|
|
108007
|
-
"name": "iconName",
|
|
108081
|
+
"name": "disabled-interactive",
|
|
108008
108082
|
"type": {
|
|
108009
|
-
"text": "
|
|
108010
|
-
},
|
|
108011
|
-
"privacy": "public",
|
|
108012
|
-
"default": "''",
|
|
108013
|
-
"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.",
|
|
108014
|
-
"attribute": "icon-name",
|
|
108015
|
-
"inheritedFrom": {
|
|
108016
|
-
"name": "SbbIconNameMixin",
|
|
108017
|
-
"module": "icon/icon-name-mixin.js"
|
|
108018
|
-
}
|
|
108019
|
-
},
|
|
108020
|
-
{
|
|
108021
|
-
"kind": "method",
|
|
108022
|
-
"name": "renderIconSlot",
|
|
108023
|
-
"privacy": "protected",
|
|
108024
|
-
"return": {
|
|
108025
|
-
"type": {
|
|
108026
|
-
"text": "TemplateResult"
|
|
108027
|
-
}
|
|
108028
|
-
},
|
|
108029
|
-
"parameters": [
|
|
108030
|
-
{
|
|
108031
|
-
"name": "classname",
|
|
108032
|
-
"optional": true,
|
|
108033
|
-
"type": {
|
|
108034
|
-
"text": "string"
|
|
108035
|
-
}
|
|
108036
|
-
}
|
|
108037
|
-
],
|
|
108038
|
-
"inheritedFrom": {
|
|
108039
|
-
"name": "SbbIconNameMixin",
|
|
108040
|
-
"module": "icon/icon-name-mixin.js"
|
|
108041
|
-
}
|
|
108042
|
-
},
|
|
108043
|
-
{
|
|
108044
|
-
"kind": "method",
|
|
108045
|
-
"name": "renderIconName",
|
|
108046
|
-
"privacy": "protected",
|
|
108047
|
-
"return": {
|
|
108048
|
-
"type": {
|
|
108049
|
-
"text": "string"
|
|
108050
|
-
}
|
|
108051
|
-
},
|
|
108052
|
-
"inheritedFrom": {
|
|
108053
|
-
"name": "SbbIconNameMixin",
|
|
108054
|
-
"module": "icon/icon-name-mixin.js"
|
|
108055
|
-
}
|
|
108056
|
-
},
|
|
108057
|
-
{
|
|
108058
|
-
"kind": "method",
|
|
108059
|
-
"name": "_renderIconName",
|
|
108060
|
-
"privacy": "private",
|
|
108061
|
-
"return": {
|
|
108062
|
-
"type": {
|
|
108063
|
-
"text": "string"
|
|
108064
|
-
}
|
|
108083
|
+
"text": "boolean"
|
|
108065
108084
|
},
|
|
108085
|
+
"default": "false",
|
|
108086
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108087
|
+
"fieldName": "disabledInteractive",
|
|
108066
108088
|
"inheritedFrom": {
|
|
108067
|
-
"name": "
|
|
108068
|
-
"module": "
|
|
108089
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108090
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108069
108091
|
}
|
|
108070
108092
|
},
|
|
108071
108093
|
{
|
|
108072
|
-
"kind": "field",
|
|
108073
108094
|
"name": "disabled",
|
|
108074
|
-
"privacy": "public",
|
|
108075
108095
|
"description": "Whether the component is disabled.",
|
|
108076
108096
|
"default": "false",
|
|
108077
108097
|
"type": {
|
|
108078
108098
|
"text": "boolean"
|
|
108079
108099
|
},
|
|
108080
|
-
"
|
|
108081
|
-
"reflects": true,
|
|
108100
|
+
"fieldName": "disabled",
|
|
108082
108101
|
"inheritedFrom": {
|
|
108083
108102
|
"name": "SbbDisabledMixin",
|
|
108084
108103
|
"module": "core/mixins/disabled-mixin.js"
|
|
108085
108104
|
}
|
|
108086
108105
|
},
|
|
108087
108106
|
{
|
|
108088
|
-
"
|
|
108089
|
-
"name": "#disabled",
|
|
108090
|
-
"privacy": "private",
|
|
108107
|
+
"name": "icon-name",
|
|
108091
108108
|
"type": {
|
|
108092
|
-
"text": "
|
|
108109
|
+
"text": "string"
|
|
108093
108110
|
},
|
|
108094
|
-
"default": "
|
|
108111
|
+
"default": "''",
|
|
108112
|
+
"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.",
|
|
108113
|
+
"fieldName": "iconName",
|
|
108095
108114
|
"inheritedFrom": {
|
|
108096
|
-
"name": "
|
|
108097
|
-
"module": "
|
|
108115
|
+
"name": "SbbIconNameMixin",
|
|
108116
|
+
"module": "icon/icon-name-mixin.js"
|
|
108098
108117
|
}
|
|
108099
108118
|
},
|
|
108100
108119
|
{
|
|
108101
|
-
"
|
|
108102
|
-
"
|
|
108103
|
-
|
|
108104
|
-
"return": {
|
|
108105
|
-
"type": {
|
|
108106
|
-
"text": "boolean"
|
|
108107
|
-
}
|
|
108120
|
+
"name": "value",
|
|
108121
|
+
"type": {
|
|
108122
|
+
"text": "string"
|
|
108108
108123
|
},
|
|
108109
|
-
"
|
|
108124
|
+
"default": "''",
|
|
108125
|
+
"description": "Value of the form element.",
|
|
108126
|
+
"fieldName": "value",
|
|
108110
108127
|
"inheritedFrom": {
|
|
108111
|
-
"name": "
|
|
108112
|
-
"module": "core/
|
|
108128
|
+
"name": "SbbButtonBaseElement",
|
|
108129
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108113
108130
|
}
|
|
108114
|
-
}
|
|
108115
|
-
],
|
|
108116
|
-
"mixins": [
|
|
108117
|
-
{
|
|
108118
|
-
"name": "SbbIconNameMixin",
|
|
108119
|
-
"module": "icon.js"
|
|
108120
108131
|
},
|
|
108121
108132
|
{
|
|
108122
|
-
"name": "
|
|
108123
|
-
"
|
|
108124
|
-
|
|
108125
|
-
],
|
|
108126
|
-
"parameters": [
|
|
108127
|
-
{
|
|
108128
|
-
"name": "superClass",
|
|
108133
|
+
"name": "type",
|
|
108134
|
+
"description": "The type attribute to use for the button.",
|
|
108135
|
+
"default": "'button'",
|
|
108129
108136
|
"type": {
|
|
108130
|
-
"text": "
|
|
108137
|
+
"text": "SbbButtonType"
|
|
108138
|
+
},
|
|
108139
|
+
"fieldName": "type",
|
|
108140
|
+
"inheritedFrom": {
|
|
108141
|
+
"name": "SbbButtonBaseElement",
|
|
108142
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108131
108143
|
}
|
|
108132
|
-
}
|
|
108133
|
-
],
|
|
108134
|
-
"attributes": [
|
|
108144
|
+
},
|
|
108135
108145
|
{
|
|
108136
|
-
"name": "
|
|
108146
|
+
"name": "form",
|
|
108147
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108137
108148
|
"type": {
|
|
108138
|
-
"text": "
|
|
108149
|
+
"text": "HTMLFormElement | null"
|
|
108139
108150
|
},
|
|
108140
|
-
"
|
|
108141
|
-
"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.",
|
|
108142
|
-
"fieldName": "iconName",
|
|
108151
|
+
"fieldName": "form",
|
|
108143
108152
|
"inheritedFrom": {
|
|
108144
|
-
"name": "
|
|
108145
|
-
"module": "
|
|
108153
|
+
"name": "SbbButtonBaseElement",
|
|
108154
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108146
108155
|
}
|
|
108147
108156
|
},
|
|
108148
108157
|
{
|
|
108149
|
-
"name": "
|
|
108150
|
-
"description": "
|
|
108151
|
-
"default": "false",
|
|
108158
|
+
"name": "name",
|
|
108159
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
108152
108160
|
"type": {
|
|
108153
|
-
"text": "
|
|
108161
|
+
"text": "string"
|
|
108154
108162
|
},
|
|
108155
|
-
"fieldName": "
|
|
108163
|
+
"fieldName": "name",
|
|
108156
108164
|
"inheritedFrom": {
|
|
108157
|
-
"name": "
|
|
108158
|
-
"module": "core/mixins/
|
|
108165
|
+
"name": "SbbFormAssociatedMixin",
|
|
108166
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108159
108167
|
}
|
|
108160
108168
|
}
|
|
108161
108169
|
]
|
|
@@ -108164,18 +108172,10 @@
|
|
|
108164
108172
|
"exports": [
|
|
108165
108173
|
{
|
|
108166
108174
|
"kind": "js",
|
|
108167
|
-
"name": "
|
|
108168
|
-
"declaration": {
|
|
108169
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
108170
|
-
"module": "menu/common/menu-action-common.js"
|
|
108171
|
-
}
|
|
108172
|
-
},
|
|
108173
|
-
{
|
|
108174
|
-
"kind": "js",
|
|
108175
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
108175
|
+
"name": "SbbMenuButtonElement",
|
|
108176
108176
|
"declaration": {
|
|
108177
|
-
"name": "
|
|
108178
|
-
"module": "menu/
|
|
108177
|
+
"name": "SbbMenuButtonElement",
|
|
108178
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
108179
108179
|
}
|
|
108180
108180
|
}
|
|
108181
108181
|
]
|