@sbb-esta/lyne-elements 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/common/button-common.d.ts +1 -2
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common.js +4 -4
- package/clock/clock.d.ts +8 -0
- package/clock/clock.d.ts.map +1 -1
- package/clock.js +40 -31
- package/core/a11y/focus.d.ts.map +1 -1
- package/core/base-elements.js +36 -36
- package/core/controllers/inert-controller.d.ts +3 -3
- package/core/controllers/inert-controller.d.ts.map +1 -1
- package/core/controllers.js +13 -12
- package/core/decorators/force-type.d.ts +1 -1
- package/core/decorators/force-type.d.ts.map +1 -1
- package/core/decorators.js +39 -40
- package/core/i18n/i18n.d.ts +1 -0
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +95 -89
- package/core/mixins/animation-complete-mixin.d.ts +13 -0
- package/core/mixins/animation-complete-mixin.d.ts.map +1 -0
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +192 -152
- package/core/styles/core.scss +81 -0
- package/core/styles/mixins/link.scss +14 -0
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +3 -0
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +4 -1
- package/core.css +51 -1
- package/custom-elements.json +3542 -393
- package/date-input/date-input.d.ts +11 -3
- package/date-input/date-input.d.ts.map +1 -1
- package/date-input.js +44 -38
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker.js +12 -12
- package/development/button/common/button-common.d.ts +1 -2
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common.js +26 -24
- package/development/clock/clock.d.ts +8 -0
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +20 -2
- package/development/core/a11y/focus.d.ts.map +1 -1
- package/development/core/a11y.js +1 -1
- package/development/core/base-elements.js +6 -6
- package/development/core/controllers/inert-controller.d.ts +3 -3
- package/development/core/controllers/inert-controller.d.ts.map +1 -1
- package/development/core/controllers.js +6 -7
- package/development/core/decorators/force-type.d.ts +1 -1
- package/development/core/decorators/force-type.d.ts.map +1 -1
- package/development/core/decorators.js +5 -5
- package/development/core/i18n/i18n.d.ts +1 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +8 -1
- package/development/core/mixins/animation-complete-mixin.d.ts +13 -0
- package/development/core/mixins/animation-complete-mixin.d.ts.map +1 -0
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +50 -1
- package/development/date-input/date-input.d.ts +11 -3
- package/development/date-input/date-input.d.ts.map +1 -1
- package/development/date-input.js +26 -18
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker.js +2 -1
- package/development/dialog/dialog-title/dialog-title.d.ts +3 -1
- package/development/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +7 -2
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +5 -3
- package/development/header/common.js +2 -2
- package/development/link/common.js +13 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +4 -1
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation.js +4 -1
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay.js +4 -1
- package/development/sbb-tokens-CSAKTXUi.js +1 -1
- package/development/sidebar/common.d.ts +1 -0
- package/development/sidebar/common.d.ts.map +1 -0
- package/development/sidebar/common.js +114 -0
- package/development/sidebar/icon-sidebar/icon-sidebar.d.ts +23 -0
- package/development/sidebar/icon-sidebar/icon-sidebar.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts +19 -0
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button.d.ts +2 -0
- package/development/sidebar/icon-sidebar-button.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button.js +28 -0
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts +23 -0
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-container.d.ts +2 -0
- package/development/sidebar/icon-sidebar-container.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-container.js +45 -0
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts +17 -0
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-content.d.ts +2 -0
- package/development/sidebar/icon-sidebar-content.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-content.js +34 -0
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts +19 -0
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-link.d.ts +2 -0
- package/development/sidebar/icon-sidebar-link.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-link.js +28 -0
- package/development/sidebar/icon-sidebar.d.ts +2 -0
- package/development/sidebar/icon-sidebar.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar.js +85 -0
- package/development/sidebar/sidebar/sidebar.d.ts +76 -0
- package/development/sidebar/sidebar/sidebar.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.d.ts +22 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button.d.ts +2 -0
- package/development/sidebar/sidebar-close-button.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button.js +55 -0
- package/development/sidebar/sidebar-container/sidebar-container.d.ts +34 -0
- package/development/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -0
- package/development/sidebar/sidebar-container.d.ts +2 -0
- package/development/sidebar/sidebar-container.d.ts.map +1 -0
- package/development/sidebar/sidebar-container.js +153 -0
- package/development/sidebar/sidebar-content/sidebar-content.d.ts +18 -0
- package/development/sidebar/sidebar-content/sidebar-content.d.ts.map +1 -0
- package/development/sidebar/sidebar-content.d.ts +2 -0
- package/development/sidebar/sidebar-content.d.ts.map +1 -0
- package/development/sidebar/sidebar-content.js +37 -0
- package/development/sidebar/sidebar-title/sidebar-title.d.ts +17 -0
- package/development/sidebar/sidebar-title/sidebar-title.d.ts.map +1 -0
- package/development/sidebar/sidebar-title.d.ts +2 -0
- package/development/sidebar/sidebar-title.d.ts.map +1 -0
- package/development/sidebar/sidebar-title.js +63 -0
- package/development/sidebar/sidebar.d.ts +2 -0
- package/development/sidebar/sidebar.d.ts.map +1 -0
- package/development/sidebar/sidebar.js +523 -0
- package/development/sidebar.d.ts +12 -0
- package/development/sidebar.d.ts.map +1 -0
- package/development/sidebar.js +12 -0
- package/development/stepper/step.js +19 -8
- package/development/time-input/time-input.d.ts +3 -2
- package/development/time-input/time-input.d.ts.map +1 -1
- package/development/time-input.js +19 -10
- package/development/title/title-base.d.ts +2 -4
- package/development/title/title-base.d.ts.map +1 -1
- package/development/title/title.d.ts +3 -1
- package/development/title/title.d.ts.map +1 -1
- package/development/title.js +8 -8
- package/dialog/dialog-title/dialog-title.d.ts +3 -1
- package/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/dialog/dialog-title.js +16 -15
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +14 -13
- package/header/common.js +6 -6
- package/index.d.ts +20 -0
- package/index.js +20 -0
- package/link/common.js +12 -12
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +1 -1
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation.js +7 -7
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay.js +1 -1
- package/package.json +61 -1
- package/sidebar/common.d.ts +1 -0
- package/sidebar/common.d.ts.map +1 -0
- package/sidebar/common.js +7 -0
- package/sidebar/icon-sidebar/icon-sidebar.d.ts +23 -0
- package/sidebar/icon-sidebar/icon-sidebar.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts +19 -0
- package/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button.d.ts +2 -0
- package/sidebar/icon-sidebar-button.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button.js +20 -0
- package/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts +23 -0
- package/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts.map +1 -0
- package/sidebar/icon-sidebar-container.d.ts +2 -0
- package/sidebar/icon-sidebar-container.d.ts.map +1 -0
- package/sidebar/icon-sidebar-container.js +35 -0
- package/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts +17 -0
- package/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts.map +1 -0
- package/sidebar/icon-sidebar-content.d.ts +2 -0
- package/sidebar/icon-sidebar-content.d.ts.map +1 -0
- package/sidebar/icon-sidebar-content.js +23 -0
- package/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts +19 -0
- package/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts.map +1 -0
- package/sidebar/icon-sidebar-link.d.ts +2 -0
- package/sidebar/icon-sidebar-link.d.ts.map +1 -0
- package/sidebar/icon-sidebar-link.js +20 -0
- package/sidebar/icon-sidebar.d.ts +2 -0
- package/sidebar/icon-sidebar.d.ts.map +1 -0
- package/sidebar/icon-sidebar.js +47 -0
- package/sidebar/sidebar/sidebar.d.ts +76 -0
- package/sidebar/sidebar/sidebar.d.ts.map +1 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.d.ts +22 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.d.ts.map +1 -0
- package/sidebar/sidebar-close-button.d.ts +2 -0
- package/sidebar/sidebar-close-button.d.ts.map +1 -0
- package/sidebar/sidebar-close-button.js +29 -0
- package/sidebar/sidebar-container/sidebar-container.d.ts +34 -0
- package/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -0
- package/sidebar/sidebar-container.d.ts +2 -0
- package/sidebar/sidebar-container.d.ts.map +1 -0
- package/sidebar/sidebar-container.js +78 -0
- package/sidebar/sidebar-content/sidebar-content.d.ts +18 -0
- package/sidebar/sidebar-content/sidebar-content.d.ts.map +1 -0
- package/sidebar/sidebar-content.d.ts +2 -0
- package/sidebar/sidebar-content.d.ts.map +1 -0
- package/sidebar/sidebar-content.js +23 -0
- package/sidebar/sidebar-title/sidebar-title.d.ts +17 -0
- package/sidebar/sidebar-title/sidebar-title.d.ts.map +1 -0
- package/sidebar/sidebar-title.d.ts +2 -0
- package/sidebar/sidebar-title.d.ts.map +1 -0
- package/sidebar/sidebar-title.js +37 -0
- package/sidebar/sidebar.d.ts +2 -0
- package/sidebar/sidebar.d.ts.map +1 -0
- package/sidebar/sidebar.js +214 -0
- package/sidebar.d.ts +12 -0
- package/sidebar.d.ts.map +1 -0
- package/sidebar.js +11 -0
- package/standard-theme.css +51 -1
- package/stepper/step.js +13 -13
- package/time-input/time-input.d.ts +3 -2
- package/time-input/time-input.d.ts.map +1 -1
- package/time-input.js +44 -36
- package/title/title-base.d.ts +2 -4
- package/title/title-base.d.ts.map +1 -1
- package/title/title.d.ts +3 -1
- package/title/title.d.ts.map +1 -1
- package/title.js +11 -11
package/custom-elements.json
CHANGED
|
@@ -4425,6 +4425,16 @@
|
|
|
4425
4425
|
],
|
|
4426
4426
|
"attribute": "now"
|
|
4427
4427
|
},
|
|
4428
|
+
{
|
|
4429
|
+
"kind": "field",
|
|
4430
|
+
"name": "_state",
|
|
4431
|
+
"type": {
|
|
4432
|
+
"text": "'running' | 'paused'"
|
|
4433
|
+
},
|
|
4434
|
+
"privacy": "private",
|
|
4435
|
+
"default": "'paused'",
|
|
4436
|
+
"description": "Whether the clock is ticking or not"
|
|
4437
|
+
},
|
|
4428
4438
|
{
|
|
4429
4439
|
"kind": "field",
|
|
4430
4440
|
"name": "_clockHandHours",
|
|
@@ -4488,6 +4498,14 @@
|
|
|
4488
4498
|
"privacy": "private",
|
|
4489
4499
|
"description": "Move the minutes hand every minute."
|
|
4490
4500
|
},
|
|
4501
|
+
{
|
|
4502
|
+
"kind": "field",
|
|
4503
|
+
"name": "_resetIntervalId",
|
|
4504
|
+
"type": {
|
|
4505
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
4506
|
+
},
|
|
4507
|
+
"privacy": "private"
|
|
4508
|
+
},
|
|
4491
4509
|
{
|
|
4492
4510
|
"kind": "field",
|
|
4493
4511
|
"name": "_moveHoursHandFn",
|
|
@@ -4537,6 +4555,17 @@
|
|
|
4537
4555
|
},
|
|
4538
4556
|
"description": "Stops the clock by removing all the animations."
|
|
4539
4557
|
},
|
|
4558
|
+
{
|
|
4559
|
+
"kind": "method",
|
|
4560
|
+
"name": "_resetClock",
|
|
4561
|
+
"privacy": "private",
|
|
4562
|
+
"return": {
|
|
4563
|
+
"type": {
|
|
4564
|
+
"text": "Promise<void>"
|
|
4565
|
+
}
|
|
4566
|
+
},
|
|
4567
|
+
"description": "As a fallback measure to prevent de-sync, reset the clock to the system time."
|
|
4568
|
+
},
|
|
4540
4569
|
{
|
|
4541
4570
|
"kind": "method",
|
|
4542
4571
|
"name": "_setHandsStartingPosition",
|
|
@@ -4720,23 +4749,6 @@
|
|
|
4720
4749
|
"description": "Custom input for a date.",
|
|
4721
4750
|
"name": "SbbDateInputElement",
|
|
4722
4751
|
"members": [
|
|
4723
|
-
{
|
|
4724
|
-
"kind": "field",
|
|
4725
|
-
"name": "_dateAdapter",
|
|
4726
|
-
"type": {
|
|
4727
|
-
"text": "DateAdapter<T>"
|
|
4728
|
-
},
|
|
4729
|
-
"privacy": "private"
|
|
4730
|
-
},
|
|
4731
|
-
{
|
|
4732
|
-
"kind": "field",
|
|
4733
|
-
"name": "_placeholderMutable",
|
|
4734
|
-
"type": {
|
|
4735
|
-
"text": "boolean"
|
|
4736
|
-
},
|
|
4737
|
-
"privacy": "private",
|
|
4738
|
-
"default": "false"
|
|
4739
|
-
},
|
|
4740
4752
|
{
|
|
4741
4753
|
"kind": "field",
|
|
4742
4754
|
"name": "value",
|
|
@@ -4793,11 +4805,11 @@
|
|
|
4793
4805
|
{
|
|
4794
4806
|
"kind": "field",
|
|
4795
4807
|
"name": "dateFilter",
|
|
4808
|
+
"privacy": "public",
|
|
4809
|
+
"description": "A function used to filter out dates.",
|
|
4796
4810
|
"type": {
|
|
4797
4811
|
"text": "(date: T | null) => boolean"
|
|
4798
|
-
}
|
|
4799
|
-
"privacy": "public",
|
|
4800
|
-
"description": "A function used to filter out dates."
|
|
4812
|
+
}
|
|
4801
4813
|
},
|
|
4802
4814
|
{
|
|
4803
4815
|
"kind": "field",
|
|
@@ -4819,6 +4831,41 @@
|
|
|
4819
4831
|
"privacy": "private",
|
|
4820
4832
|
"description": "Stores the last string and parsed date object value to prevent repeated\nparsing of the string value."
|
|
4821
4833
|
},
|
|
4834
|
+
{
|
|
4835
|
+
"kind": "field",
|
|
4836
|
+
"name": "_dateAdapter",
|
|
4837
|
+
"type": {
|
|
4838
|
+
"text": "DateAdapter<T>"
|
|
4839
|
+
},
|
|
4840
|
+
"privacy": "private"
|
|
4841
|
+
},
|
|
4842
|
+
{
|
|
4843
|
+
"kind": "field",
|
|
4844
|
+
"name": "_placeholderMutable",
|
|
4845
|
+
"type": {
|
|
4846
|
+
"text": "boolean"
|
|
4847
|
+
},
|
|
4848
|
+
"privacy": "private",
|
|
4849
|
+
"default": "false"
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
"kind": "field",
|
|
4853
|
+
"name": "datepicker",
|
|
4854
|
+
"type": {
|
|
4855
|
+
"text": "SbbDatepickerElement<T> | null"
|
|
4856
|
+
},
|
|
4857
|
+
"privacy": "public",
|
|
4858
|
+
"description": "Gets the associated datepicker, if any.\nThe sbb-date-input and the sbb-datepicker are assumed to be in the same parent container.",
|
|
4859
|
+
"readonly": true
|
|
4860
|
+
},
|
|
4861
|
+
{
|
|
4862
|
+
"kind": "field",
|
|
4863
|
+
"name": "_dateFilter",
|
|
4864
|
+
"type": {
|
|
4865
|
+
"text": "(date: T | null) => boolean"
|
|
4866
|
+
},
|
|
4867
|
+
"privacy": "private"
|
|
4868
|
+
},
|
|
4822
4869
|
{
|
|
4823
4870
|
"kind": "method",
|
|
4824
4871
|
"name": "updateFormValue",
|
|
@@ -11907,6 +11954,37 @@
|
|
|
11907
11954
|
}
|
|
11908
11955
|
]
|
|
11909
11956
|
},
|
|
11957
|
+
{
|
|
11958
|
+
"kind": "javascript-module",
|
|
11959
|
+
"path": "sidebar.js",
|
|
11960
|
+
"declarations": [],
|
|
11961
|
+
"exports": [
|
|
11962
|
+
{
|
|
11963
|
+
"kind": "js",
|
|
11964
|
+
"name": "sidebarContainerCommonStyle",
|
|
11965
|
+
"declaration": {
|
|
11966
|
+
"name": "default",
|
|
11967
|
+
"module": "sidebar.js"
|
|
11968
|
+
}
|
|
11969
|
+
},
|
|
11970
|
+
{
|
|
11971
|
+
"kind": "js",
|
|
11972
|
+
"name": "sidebarContentCommonStyle",
|
|
11973
|
+
"declaration": {
|
|
11974
|
+
"name": "default",
|
|
11975
|
+
"module": "sidebar.js"
|
|
11976
|
+
}
|
|
11977
|
+
},
|
|
11978
|
+
{
|
|
11979
|
+
"kind": "js",
|
|
11980
|
+
"name": "iconSidebarButtonCommonStyle",
|
|
11981
|
+
"declaration": {
|
|
11982
|
+
"name": "default",
|
|
11983
|
+
"module": "sidebar.js"
|
|
11984
|
+
}
|
|
11985
|
+
}
|
|
11986
|
+
]
|
|
11987
|
+
},
|
|
11910
11988
|
{
|
|
11911
11989
|
"kind": "javascript-module",
|
|
11912
11990
|
"path": "signet.js",
|
|
@@ -13342,6 +13420,7 @@
|
|
|
13342
13420
|
"default": "''",
|
|
13343
13421
|
"description": "The href value you want to link to.",
|
|
13344
13422
|
"attribute": "href",
|
|
13423
|
+
"reflects": true,
|
|
13345
13424
|
"inheritedFrom": {
|
|
13346
13425
|
"name": "SbbLinkBaseElement",
|
|
13347
13426
|
"module": "core/base-elements.js"
|
|
@@ -13357,6 +13436,7 @@
|
|
|
13357
13436
|
"default": "''",
|
|
13358
13437
|
"description": "Where to display the linked URL.",
|
|
13359
13438
|
"attribute": "target",
|
|
13439
|
+
"reflects": true,
|
|
13360
13440
|
"inheritedFrom": {
|
|
13361
13441
|
"name": "SbbLinkBaseElement",
|
|
13362
13442
|
"module": "core/base-elements.js"
|
|
@@ -13372,6 +13452,7 @@
|
|
|
13372
13452
|
"default": "''",
|
|
13373
13453
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
13374
13454
|
"attribute": "rel",
|
|
13455
|
+
"reflects": true,
|
|
13375
13456
|
"inheritedFrom": {
|
|
13376
13457
|
"name": "SbbLinkBaseElement",
|
|
13377
13458
|
"module": "core/base-elements.js"
|
|
@@ -13387,6 +13468,7 @@
|
|
|
13387
13468
|
"default": "false",
|
|
13388
13469
|
"description": "Whether the browser will show the download dialog on click.",
|
|
13389
13470
|
"attribute": "download",
|
|
13471
|
+
"reflects": true,
|
|
13390
13472
|
"inheritedFrom": {
|
|
13391
13473
|
"name": "SbbLinkBaseElement",
|
|
13392
13474
|
"module": "core/base-elements.js"
|
|
@@ -13737,6 +13819,7 @@
|
|
|
13737
13819
|
"default": "''",
|
|
13738
13820
|
"description": "The href value you want to link to.",
|
|
13739
13821
|
"attribute": "href",
|
|
13822
|
+
"reflects": true,
|
|
13740
13823
|
"inheritedFrom": {
|
|
13741
13824
|
"name": "SbbLinkBaseElement",
|
|
13742
13825
|
"module": "core/base-elements.js"
|
|
@@ -13752,6 +13835,7 @@
|
|
|
13752
13835
|
"default": "''",
|
|
13753
13836
|
"description": "Where to display the linked URL.",
|
|
13754
13837
|
"attribute": "target",
|
|
13838
|
+
"reflects": true,
|
|
13755
13839
|
"inheritedFrom": {
|
|
13756
13840
|
"name": "SbbLinkBaseElement",
|
|
13757
13841
|
"module": "core/base-elements.js"
|
|
@@ -13767,6 +13851,7 @@
|
|
|
13767
13851
|
"default": "''",
|
|
13768
13852
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
13769
13853
|
"attribute": "rel",
|
|
13854
|
+
"reflects": true,
|
|
13770
13855
|
"inheritedFrom": {
|
|
13771
13856
|
"name": "SbbLinkBaseElement",
|
|
13772
13857
|
"module": "core/base-elements.js"
|
|
@@ -13782,6 +13867,7 @@
|
|
|
13782
13867
|
"default": "false",
|
|
13783
13868
|
"description": "Whether the browser will show the download dialog on click.",
|
|
13784
13869
|
"attribute": "download",
|
|
13870
|
+
"reflects": true,
|
|
13785
13871
|
"inheritedFrom": {
|
|
13786
13872
|
"name": "SbbLinkBaseElement",
|
|
13787
13873
|
"module": "core/base-elements.js"
|
|
@@ -14157,7 +14243,7 @@
|
|
|
14157
14243
|
},
|
|
14158
14244
|
{
|
|
14159
14245
|
"kind": "method",
|
|
14160
|
-
"name": "
|
|
14246
|
+
"name": "_setupInputElement",
|
|
14161
14247
|
"privacy": "private",
|
|
14162
14248
|
"return": {
|
|
14163
14249
|
"type": {
|
|
@@ -14782,7 +14868,7 @@
|
|
|
14782
14868
|
"name": "SbbTitleBase",
|
|
14783
14869
|
"slots": [
|
|
14784
14870
|
{
|
|
14785
|
-
"description": "Use the unnamed slot to
|
|
14871
|
+
"description": "Use the unnamed slot to place the content of the title.",
|
|
14786
14872
|
"name": ""
|
|
14787
14873
|
}
|
|
14788
14874
|
],
|
|
@@ -14822,22 +14908,6 @@
|
|
|
14822
14908
|
"description": "Sometimes we need a title in the markup to present a proper hierarchy\nto the screen readers while we do not want to let that title appear\nvisually. In this case we set visuallyHidden to true.",
|
|
14823
14909
|
"attribute": "visually-hidden",
|
|
14824
14910
|
"reflects": true
|
|
14825
|
-
},
|
|
14826
|
-
{
|
|
14827
|
-
"kind": "field",
|
|
14828
|
-
"name": "negative",
|
|
14829
|
-
"type": {
|
|
14830
|
-
"text": "boolean"
|
|
14831
|
-
},
|
|
14832
|
-
"privacy": "public",
|
|
14833
|
-
"default": "false",
|
|
14834
|
-
"description": "Negative coloring variant flag.",
|
|
14835
|
-
"attribute": "negative",
|
|
14836
|
-
"reflects": true,
|
|
14837
|
-
"inheritedFrom": {
|
|
14838
|
-
"name": "SbbNegativeMixin",
|
|
14839
|
-
"module": "core/mixins.js"
|
|
14840
|
-
}
|
|
14841
14911
|
}
|
|
14842
14912
|
],
|
|
14843
14913
|
"attributes": [
|
|
@@ -14867,25 +14937,6 @@
|
|
|
14867
14937
|
"default": "false",
|
|
14868
14938
|
"description": "Sometimes we need a title in the markup to present a proper hierarchy\nto the screen readers while we do not want to let that title appear\nvisually. In this case we set visuallyHidden to true.",
|
|
14869
14939
|
"fieldName": "visuallyHidden"
|
|
14870
|
-
},
|
|
14871
|
-
{
|
|
14872
|
-
"name": "negative",
|
|
14873
|
-
"type": {
|
|
14874
|
-
"text": "boolean"
|
|
14875
|
-
},
|
|
14876
|
-
"default": "false",
|
|
14877
|
-
"description": "Negative coloring variant flag.",
|
|
14878
|
-
"fieldName": "negative",
|
|
14879
|
-
"inheritedFrom": {
|
|
14880
|
-
"name": "SbbNegativeMixin",
|
|
14881
|
-
"module": "core/mixins.js"
|
|
14882
|
-
}
|
|
14883
|
-
}
|
|
14884
|
-
],
|
|
14885
|
-
"mixins": [
|
|
14886
|
-
{
|
|
14887
|
-
"name": "SbbNegativeMixin",
|
|
14888
|
-
"module": "core/mixins.js"
|
|
14889
14940
|
}
|
|
14890
14941
|
],
|
|
14891
14942
|
"superclass": {
|
|
@@ -14922,8 +14973,8 @@
|
|
|
14922
14973
|
"attribute": "negative",
|
|
14923
14974
|
"reflects": true,
|
|
14924
14975
|
"inheritedFrom": {
|
|
14925
|
-
"name": "
|
|
14926
|
-
"module": "
|
|
14976
|
+
"name": "SbbNegativeMixin",
|
|
14977
|
+
"module": "core/mixins.js"
|
|
14927
14978
|
}
|
|
14928
14979
|
},
|
|
14929
14980
|
{
|
|
@@ -14975,6 +15026,12 @@
|
|
|
14975
15026
|
}
|
|
14976
15027
|
}
|
|
14977
15028
|
],
|
|
15029
|
+
"mixins": [
|
|
15030
|
+
{
|
|
15031
|
+
"name": "SbbNegativeMixin",
|
|
15032
|
+
"module": "core/mixins.js"
|
|
15033
|
+
}
|
|
15034
|
+
],
|
|
14978
15035
|
"superclass": {
|
|
14979
15036
|
"name": "SbbTitleBase",
|
|
14980
15037
|
"module": "title.js"
|
|
@@ -14991,8 +15048,8 @@
|
|
|
14991
15048
|
"description": "Negative coloring variant flag.",
|
|
14992
15049
|
"fieldName": "negative",
|
|
14993
15050
|
"inheritedFrom": {
|
|
14994
|
-
"name": "
|
|
14995
|
-
"module": "
|
|
15051
|
+
"name": "SbbNegativeMixin",
|
|
15052
|
+
"module": "core/mixins.js"
|
|
14996
15053
|
}
|
|
14997
15054
|
},
|
|
14998
15055
|
{
|
|
@@ -15037,7 +15094,7 @@
|
|
|
15037
15094
|
],
|
|
15038
15095
|
"slots": [
|
|
15039
15096
|
{
|
|
15040
|
-
"description": "Use the unnamed slot to
|
|
15097
|
+
"description": "Use the unnamed slot to place the content of the title.",
|
|
15041
15098
|
"name": "",
|
|
15042
15099
|
"inheritedFrom": {
|
|
15043
15100
|
"name": "SbbTitleBase",
|
|
@@ -20166,6 +20223,7 @@
|
|
|
20166
20223
|
"default": "''",
|
|
20167
20224
|
"description": "The href value you want to link to.",
|
|
20168
20225
|
"attribute": "href",
|
|
20226
|
+
"reflects": true,
|
|
20169
20227
|
"inheritedFrom": {
|
|
20170
20228
|
"name": "SbbLinkBaseElement",
|
|
20171
20229
|
"module": "core/base-elements.js"
|
|
@@ -20181,6 +20239,7 @@
|
|
|
20181
20239
|
"default": "''",
|
|
20182
20240
|
"description": "Where to display the linked URL.",
|
|
20183
20241
|
"attribute": "target",
|
|
20242
|
+
"reflects": true,
|
|
20184
20243
|
"inheritedFrom": {
|
|
20185
20244
|
"name": "SbbLinkBaseElement",
|
|
20186
20245
|
"module": "core/base-elements.js"
|
|
@@ -20196,6 +20255,7 @@
|
|
|
20196
20255
|
"default": "''",
|
|
20197
20256
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
20198
20257
|
"attribute": "rel",
|
|
20258
|
+
"reflects": true,
|
|
20199
20259
|
"inheritedFrom": {
|
|
20200
20260
|
"name": "SbbLinkBaseElement",
|
|
20201
20261
|
"module": "core/base-elements.js"
|
|
@@ -20211,6 +20271,7 @@
|
|
|
20211
20271
|
"default": "false",
|
|
20212
20272
|
"description": "Whether the browser will show the download dialog on click.",
|
|
20213
20273
|
"attribute": "download",
|
|
20274
|
+
"reflects": true,
|
|
20214
20275
|
"inheritedFrom": {
|
|
20215
20276
|
"name": "SbbLinkBaseElement",
|
|
20216
20277
|
"module": "core/base-elements.js"
|
|
@@ -20620,6 +20681,7 @@
|
|
|
20620
20681
|
"default": "''",
|
|
20621
20682
|
"description": "The href value you want to link to.",
|
|
20622
20683
|
"attribute": "href",
|
|
20684
|
+
"reflects": true,
|
|
20623
20685
|
"inheritedFrom": {
|
|
20624
20686
|
"name": "SbbLinkBaseElement",
|
|
20625
20687
|
"module": "core/base-elements.js"
|
|
@@ -20635,6 +20697,7 @@
|
|
|
20635
20697
|
"default": "''",
|
|
20636
20698
|
"description": "Where to display the linked URL.",
|
|
20637
20699
|
"attribute": "target",
|
|
20700
|
+
"reflects": true,
|
|
20638
20701
|
"inheritedFrom": {
|
|
20639
20702
|
"name": "SbbLinkBaseElement",
|
|
20640
20703
|
"module": "core/base-elements.js"
|
|
@@ -20650,6 +20713,7 @@
|
|
|
20650
20713
|
"default": "''",
|
|
20651
20714
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
20652
20715
|
"attribute": "rel",
|
|
20716
|
+
"reflects": true,
|
|
20653
20717
|
"inheritedFrom": {
|
|
20654
20718
|
"name": "SbbLinkBaseElement",
|
|
20655
20719
|
"module": "core/base-elements.js"
|
|
@@ -20665,6 +20729,7 @@
|
|
|
20665
20729
|
"default": "false",
|
|
20666
20730
|
"description": "Whether the browser will show the download dialog on click.",
|
|
20667
20731
|
"attribute": "download",
|
|
20732
|
+
"reflects": true,
|
|
20668
20733
|
"inheritedFrom": {
|
|
20669
20734
|
"name": "SbbLinkBaseElement",
|
|
20670
20735
|
"module": "core/base-elements.js"
|
|
@@ -22146,6 +22211,7 @@
|
|
|
22146
22211
|
"default": "''",
|
|
22147
22212
|
"description": "The href value you want to link to.",
|
|
22148
22213
|
"attribute": "href",
|
|
22214
|
+
"reflects": true,
|
|
22149
22215
|
"inheritedFrom": {
|
|
22150
22216
|
"name": "SbbLinkBaseElement",
|
|
22151
22217
|
"module": "core/base-elements.js"
|
|
@@ -22161,6 +22227,7 @@
|
|
|
22161
22227
|
"default": "''",
|
|
22162
22228
|
"description": "Where to display the linked URL.",
|
|
22163
22229
|
"attribute": "target",
|
|
22230
|
+
"reflects": true,
|
|
22164
22231
|
"inheritedFrom": {
|
|
22165
22232
|
"name": "SbbLinkBaseElement",
|
|
22166
22233
|
"module": "core/base-elements.js"
|
|
@@ -22176,6 +22243,7 @@
|
|
|
22176
22243
|
"default": "''",
|
|
22177
22244
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
22178
22245
|
"attribute": "rel",
|
|
22246
|
+
"reflects": true,
|
|
22179
22247
|
"inheritedFrom": {
|
|
22180
22248
|
"name": "SbbLinkBaseElement",
|
|
22181
22249
|
"module": "core/base-elements.js"
|
|
@@ -22191,6 +22259,7 @@
|
|
|
22191
22259
|
"default": "false",
|
|
22192
22260
|
"description": "Whether the browser will show the download dialog on click.",
|
|
22193
22261
|
"attribute": "download",
|
|
22262
|
+
"reflects": true,
|
|
22194
22263
|
"inheritedFrom": {
|
|
22195
22264
|
"name": "SbbLinkBaseElement",
|
|
22196
22265
|
"module": "core/base-elements.js"
|
|
@@ -24683,6 +24752,7 @@
|
|
|
24683
24752
|
"default": "''",
|
|
24684
24753
|
"description": "The href value you want to link to.",
|
|
24685
24754
|
"attribute": "href",
|
|
24755
|
+
"reflects": true,
|
|
24686
24756
|
"inheritedFrom": {
|
|
24687
24757
|
"name": "SbbLinkBaseElement",
|
|
24688
24758
|
"module": "core/base-elements.js"
|
|
@@ -24698,6 +24768,7 @@
|
|
|
24698
24768
|
"default": "''",
|
|
24699
24769
|
"description": "Where to display the linked URL.",
|
|
24700
24770
|
"attribute": "target",
|
|
24771
|
+
"reflects": true,
|
|
24701
24772
|
"inheritedFrom": {
|
|
24702
24773
|
"name": "SbbLinkBaseElement",
|
|
24703
24774
|
"module": "core/base-elements.js"
|
|
@@ -24713,6 +24784,7 @@
|
|
|
24713
24784
|
"default": "''",
|
|
24714
24785
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
24715
24786
|
"attribute": "rel",
|
|
24787
|
+
"reflects": true,
|
|
24716
24788
|
"inheritedFrom": {
|
|
24717
24789
|
"name": "SbbLinkBaseElement",
|
|
24718
24790
|
"module": "core/base-elements.js"
|
|
@@ -24728,6 +24800,7 @@
|
|
|
24728
24800
|
"default": "false",
|
|
24729
24801
|
"description": "Whether the browser will show the download dialog on click.",
|
|
24730
24802
|
"attribute": "download",
|
|
24803
|
+
"reflects": true,
|
|
24731
24804
|
"inheritedFrom": {
|
|
24732
24805
|
"name": "SbbLinkBaseElement",
|
|
24733
24806
|
"module": "core/base-elements.js"
|
|
@@ -26209,6 +26282,7 @@
|
|
|
26209
26282
|
"default": "''",
|
|
26210
26283
|
"description": "The href value you want to link to.",
|
|
26211
26284
|
"attribute": "href",
|
|
26285
|
+
"reflects": true,
|
|
26212
26286
|
"inheritedFrom": {
|
|
26213
26287
|
"name": "SbbLinkBaseElement",
|
|
26214
26288
|
"module": "core/base-elements.js"
|
|
@@ -26224,6 +26298,7 @@
|
|
|
26224
26298
|
"default": "''",
|
|
26225
26299
|
"description": "Where to display the linked URL.",
|
|
26226
26300
|
"attribute": "target",
|
|
26301
|
+
"reflects": true,
|
|
26227
26302
|
"inheritedFrom": {
|
|
26228
26303
|
"name": "SbbLinkBaseElement",
|
|
26229
26304
|
"module": "core/base-elements.js"
|
|
@@ -26239,6 +26314,7 @@
|
|
|
26239
26314
|
"default": "''",
|
|
26240
26315
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
26241
26316
|
"attribute": "rel",
|
|
26317
|
+
"reflects": true,
|
|
26242
26318
|
"inheritedFrom": {
|
|
26243
26319
|
"name": "SbbLinkBaseElement",
|
|
26244
26320
|
"module": "core/base-elements.js"
|
|
@@ -26254,6 +26330,7 @@
|
|
|
26254
26330
|
"default": "false",
|
|
26255
26331
|
"description": "Whether the browser will show the download dialog on click.",
|
|
26256
26332
|
"attribute": "download",
|
|
26333
|
+
"reflects": true,
|
|
26257
26334
|
"inheritedFrom": {
|
|
26258
26335
|
"name": "SbbLinkBaseElement",
|
|
26259
26336
|
"module": "core/base-elements.js"
|
|
@@ -28470,6 +28547,7 @@
|
|
|
28470
28547
|
"default": "''",
|
|
28471
28548
|
"description": "The href value you want to link to.",
|
|
28472
28549
|
"attribute": "href",
|
|
28550
|
+
"reflects": true,
|
|
28473
28551
|
"inheritedFrom": {
|
|
28474
28552
|
"name": "SbbLinkBaseElement",
|
|
28475
28553
|
"module": "core/base-elements.js"
|
|
@@ -28485,6 +28563,7 @@
|
|
|
28485
28563
|
"default": "''",
|
|
28486
28564
|
"description": "Where to display the linked URL.",
|
|
28487
28565
|
"attribute": "target",
|
|
28566
|
+
"reflects": true,
|
|
28488
28567
|
"inheritedFrom": {
|
|
28489
28568
|
"name": "SbbLinkBaseElement",
|
|
28490
28569
|
"module": "core/base-elements.js"
|
|
@@ -28500,6 +28579,7 @@
|
|
|
28500
28579
|
"default": "''",
|
|
28501
28580
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
28502
28581
|
"attribute": "rel",
|
|
28582
|
+
"reflects": true,
|
|
28503
28583
|
"inheritedFrom": {
|
|
28504
28584
|
"name": "SbbLinkBaseElement",
|
|
28505
28585
|
"module": "core/base-elements.js"
|
|
@@ -28515,6 +28595,7 @@
|
|
|
28515
28595
|
"default": "false",
|
|
28516
28596
|
"description": "Whether the browser will show the download dialog on click.",
|
|
28517
28597
|
"attribute": "download",
|
|
28598
|
+
"reflects": true,
|
|
28518
28599
|
"inheritedFrom": {
|
|
28519
28600
|
"name": "SbbLinkBaseElement",
|
|
28520
28601
|
"module": "core/base-elements.js"
|
|
@@ -32372,7 +32453,8 @@
|
|
|
32372
32453
|
"privacy": "public",
|
|
32373
32454
|
"default": "''",
|
|
32374
32455
|
"description": "The href value you want to link to.",
|
|
32375
|
-
"attribute": "href"
|
|
32456
|
+
"attribute": "href",
|
|
32457
|
+
"reflects": true
|
|
32376
32458
|
},
|
|
32377
32459
|
{
|
|
32378
32460
|
"kind": "field",
|
|
@@ -32383,7 +32465,8 @@
|
|
|
32383
32465
|
"privacy": "public",
|
|
32384
32466
|
"default": "''",
|
|
32385
32467
|
"description": "Where to display the linked URL.",
|
|
32386
|
-
"attribute": "target"
|
|
32468
|
+
"attribute": "target",
|
|
32469
|
+
"reflects": true
|
|
32387
32470
|
},
|
|
32388
32471
|
{
|
|
32389
32472
|
"kind": "field",
|
|
@@ -32394,7 +32477,8 @@
|
|
|
32394
32477
|
"privacy": "public",
|
|
32395
32478
|
"default": "''",
|
|
32396
32479
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
32397
|
-
"attribute": "rel"
|
|
32480
|
+
"attribute": "rel",
|
|
32481
|
+
"reflects": true
|
|
32398
32482
|
},
|
|
32399
32483
|
{
|
|
32400
32484
|
"kind": "field",
|
|
@@ -32405,7 +32489,8 @@
|
|
|
32405
32489
|
"privacy": "public",
|
|
32406
32490
|
"default": "false",
|
|
32407
32491
|
"description": "Whether the browser will show the download dialog on click.",
|
|
32408
|
-
"attribute": "download"
|
|
32492
|
+
"attribute": "download",
|
|
32493
|
+
"reflects": true
|
|
32409
32494
|
},
|
|
32410
32495
|
{
|
|
32411
32496
|
"kind": "field",
|
|
@@ -32876,7 +32961,7 @@
|
|
|
32876
32961
|
"members": [
|
|
32877
32962
|
{
|
|
32878
32963
|
"kind": "method",
|
|
32879
|
-
"name": "
|
|
32964
|
+
"name": "hostDisconnected",
|
|
32880
32965
|
"privacy": "public",
|
|
32881
32966
|
"return": {
|
|
32882
32967
|
"type": {
|
|
@@ -32886,35 +32971,36 @@
|
|
|
32886
32971
|
},
|
|
32887
32972
|
{
|
|
32888
32973
|
"kind": "method",
|
|
32889
|
-
"name": "
|
|
32974
|
+
"name": "activate",
|
|
32890
32975
|
"privacy": "public",
|
|
32891
32976
|
"return": {
|
|
32892
32977
|
"type": {
|
|
32893
32978
|
"text": "void"
|
|
32894
32979
|
}
|
|
32895
|
-
}
|
|
32980
|
+
},
|
|
32981
|
+
"description": "Applies inert state to every other element on the page except the overlay."
|
|
32896
32982
|
},
|
|
32897
32983
|
{
|
|
32898
32984
|
"kind": "method",
|
|
32899
|
-
"name": "
|
|
32985
|
+
"name": "deactivate",
|
|
32900
32986
|
"privacy": "public",
|
|
32901
32987
|
"return": {
|
|
32902
32988
|
"type": {
|
|
32903
32989
|
"text": "void"
|
|
32904
32990
|
}
|
|
32905
32991
|
},
|
|
32906
|
-
"description": "
|
|
32992
|
+
"description": "Removes inert state."
|
|
32907
32993
|
},
|
|
32908
32994
|
{
|
|
32909
32995
|
"kind": "method",
|
|
32910
|
-
"name": "
|
|
32996
|
+
"name": "isInert",
|
|
32911
32997
|
"privacy": "public",
|
|
32912
32998
|
"return": {
|
|
32913
32999
|
"type": {
|
|
32914
|
-
"text": "
|
|
33000
|
+
"text": "boolean"
|
|
32915
33001
|
}
|
|
32916
33002
|
},
|
|
32917
|
-
"description": "
|
|
33003
|
+
"description": "Whether the assigned host is currently inert"
|
|
32918
33004
|
},
|
|
32919
33005
|
{
|
|
32920
33006
|
"kind": "method",
|
|
@@ -34894,6 +34980,15 @@
|
|
|
34894
34980
|
"text": "PropertyDecorator"
|
|
34895
34981
|
}
|
|
34896
34982
|
},
|
|
34983
|
+
"parameters": [
|
|
34984
|
+
{
|
|
34985
|
+
"name": "convert",
|
|
34986
|
+
"optional": true,
|
|
34987
|
+
"type": {
|
|
34988
|
+
"text": "(v: unknown) => V"
|
|
34989
|
+
}
|
|
34990
|
+
}
|
|
34991
|
+
],
|
|
34897
34992
|
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
34898
34993
|
},
|
|
34899
34994
|
{
|
|
@@ -36087,6 +36182,14 @@
|
|
|
36087
36182
|
},
|
|
36088
36183
|
"default": "{ de: 'Navigation schliessen', en: 'Close navigation', fr: 'Fermer la navigation', it: 'Chiudere la navigazione', }"
|
|
36089
36184
|
},
|
|
36185
|
+
{
|
|
36186
|
+
"kind": "variable",
|
|
36187
|
+
"name": "i18nCloseSidebar",
|
|
36188
|
+
"type": {
|
|
36189
|
+
"text": "Record<string, string>"
|
|
36190
|
+
},
|
|
36191
|
+
"default": "{ de: 'Seitenleiste schliessen', en: 'Close sidebar', fr: 'Fermer la barre latérale', it: 'Chiudere la barra laterale', }"
|
|
36192
|
+
},
|
|
36090
36193
|
{
|
|
36091
36194
|
"kind": "variable",
|
|
36092
36195
|
"name": "i18nClosePopover",
|
|
@@ -36842,6 +36945,14 @@
|
|
|
36842
36945
|
"module": "core/i18n.js"
|
|
36843
36946
|
}
|
|
36844
36947
|
},
|
|
36948
|
+
{
|
|
36949
|
+
"kind": "js",
|
|
36950
|
+
"name": "i18nCloseSidebar",
|
|
36951
|
+
"declaration": {
|
|
36952
|
+
"name": "i18nCloseSidebar",
|
|
36953
|
+
"module": "core/i18n.js"
|
|
36954
|
+
}
|
|
36955
|
+
},
|
|
36845
36956
|
{
|
|
36846
36957
|
"kind": "js",
|
|
36847
36958
|
"name": "i18nClosePopover",
|
|
@@ -37263,6 +37374,124 @@
|
|
|
37263
37374
|
"kind": "javascript-module",
|
|
37264
37375
|
"path": "core/mixins.js",
|
|
37265
37376
|
"declarations": [
|
|
37377
|
+
{
|
|
37378
|
+
"kind": "class",
|
|
37379
|
+
"description": "",
|
|
37380
|
+
"name": "SbbAnimationCompleteMixinType",
|
|
37381
|
+
"members": [
|
|
37382
|
+
{
|
|
37383
|
+
"kind": "field",
|
|
37384
|
+
"name": "isAnimating",
|
|
37385
|
+
"type": {
|
|
37386
|
+
"text": "boolean"
|
|
37387
|
+
},
|
|
37388
|
+
"privacy": "public"
|
|
37389
|
+
},
|
|
37390
|
+
{
|
|
37391
|
+
"kind": "field",
|
|
37392
|
+
"name": "animationComplete",
|
|
37393
|
+
"type": {
|
|
37394
|
+
"text": "Promise<void> | null"
|
|
37395
|
+
},
|
|
37396
|
+
"privacy": "public",
|
|
37397
|
+
"readonly": true
|
|
37398
|
+
},
|
|
37399
|
+
{
|
|
37400
|
+
"kind": "method",
|
|
37401
|
+
"name": "startAnimation",
|
|
37402
|
+
"privacy": "protected",
|
|
37403
|
+
"return": {
|
|
37404
|
+
"type": {
|
|
37405
|
+
"text": "void"
|
|
37406
|
+
}
|
|
37407
|
+
}
|
|
37408
|
+
},
|
|
37409
|
+
{
|
|
37410
|
+
"kind": "method",
|
|
37411
|
+
"name": "stopAnimation",
|
|
37412
|
+
"privacy": "protected",
|
|
37413
|
+
"return": {
|
|
37414
|
+
"type": {
|
|
37415
|
+
"text": "void"
|
|
37416
|
+
}
|
|
37417
|
+
}
|
|
37418
|
+
}
|
|
37419
|
+
]
|
|
37420
|
+
},
|
|
37421
|
+
{
|
|
37422
|
+
"kind": "mixin",
|
|
37423
|
+
"description": "Enhances the component with a Promise which resolves whenever an animation ends.",
|
|
37424
|
+
"name": "SbbAnimationCompleteMixin",
|
|
37425
|
+
"members": [
|
|
37426
|
+
{
|
|
37427
|
+
"kind": "field",
|
|
37428
|
+
"name": "isAnimating",
|
|
37429
|
+
"type": {
|
|
37430
|
+
"text": "boolean"
|
|
37431
|
+
},
|
|
37432
|
+
"privacy": "public",
|
|
37433
|
+
"default": "false",
|
|
37434
|
+
"description": "Whether the component is currently animating."
|
|
37435
|
+
},
|
|
37436
|
+
{
|
|
37437
|
+
"kind": "field",
|
|
37438
|
+
"name": "animationComplete",
|
|
37439
|
+
"type": {
|
|
37440
|
+
"text": "Promise<void>"
|
|
37441
|
+
},
|
|
37442
|
+
"privacy": "public",
|
|
37443
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
37444
|
+
"readonly": true
|
|
37445
|
+
},
|
|
37446
|
+
{
|
|
37447
|
+
"kind": "field",
|
|
37448
|
+
"name": "_animationPromise",
|
|
37449
|
+
"type": {
|
|
37450
|
+
"text": "Promise<void>"
|
|
37451
|
+
},
|
|
37452
|
+
"privacy": "private"
|
|
37453
|
+
},
|
|
37454
|
+
{
|
|
37455
|
+
"kind": "method",
|
|
37456
|
+
"name": "startAnimation",
|
|
37457
|
+
"privacy": "protected",
|
|
37458
|
+
"return": {
|
|
37459
|
+
"type": {
|
|
37460
|
+
"text": "void"
|
|
37461
|
+
}
|
|
37462
|
+
}
|
|
37463
|
+
},
|
|
37464
|
+
{
|
|
37465
|
+
"kind": "method",
|
|
37466
|
+
"name": "stopAnimation",
|
|
37467
|
+
"privacy": "protected",
|
|
37468
|
+
"return": {
|
|
37469
|
+
"type": {
|
|
37470
|
+
"text": "void"
|
|
37471
|
+
}
|
|
37472
|
+
},
|
|
37473
|
+
"description": "Overriding stopAnimation() breaks functionality."
|
|
37474
|
+
},
|
|
37475
|
+
{
|
|
37476
|
+
"kind": "method",
|
|
37477
|
+
"name": "_enqueueAnimation",
|
|
37478
|
+
"privacy": "private",
|
|
37479
|
+
"return": {
|
|
37480
|
+
"type": {
|
|
37481
|
+
"text": "Promise<void>"
|
|
37482
|
+
}
|
|
37483
|
+
}
|
|
37484
|
+
}
|
|
37485
|
+
],
|
|
37486
|
+
"parameters": [
|
|
37487
|
+
{
|
|
37488
|
+
"name": "superClass",
|
|
37489
|
+
"type": {
|
|
37490
|
+
"text": "T"
|
|
37491
|
+
}
|
|
37492
|
+
}
|
|
37493
|
+
]
|
|
37494
|
+
},
|
|
37266
37495
|
{
|
|
37267
37496
|
"kind": "class",
|
|
37268
37497
|
"description": "",
|
|
@@ -41856,6 +42085,22 @@
|
|
|
41856
42085
|
"module": "./mixins/panel-common.scss?lit&inline"
|
|
41857
42086
|
}
|
|
41858
42087
|
},
|
|
42088
|
+
{
|
|
42089
|
+
"kind": "js",
|
|
42090
|
+
"name": "SbbAnimationCompleteMixinType",
|
|
42091
|
+
"declaration": {
|
|
42092
|
+
"name": "SbbAnimationCompleteMixinType",
|
|
42093
|
+
"module": "core/mixins.js"
|
|
42094
|
+
}
|
|
42095
|
+
},
|
|
42096
|
+
{
|
|
42097
|
+
"kind": "js",
|
|
42098
|
+
"name": "SbbAnimationCompleteMixin",
|
|
42099
|
+
"declaration": {
|
|
42100
|
+
"name": "SbbAnimationCompleteMixin",
|
|
42101
|
+
"module": "core/mixins.js"
|
|
42102
|
+
}
|
|
42103
|
+
},
|
|
41859
42104
|
{
|
|
41860
42105
|
"kind": "js",
|
|
41861
42106
|
"name": "SbbDisabledMixinType",
|
|
@@ -46351,8 +46596,8 @@
|
|
|
46351
46596
|
"attribute": "negative",
|
|
46352
46597
|
"reflects": true,
|
|
46353
46598
|
"inheritedFrom": {
|
|
46354
|
-
"name": "
|
|
46355
|
-
"module": "
|
|
46599
|
+
"name": "SbbNegativeMixin",
|
|
46600
|
+
"module": "core/mixins.js"
|
|
46356
46601
|
}
|
|
46357
46602
|
},
|
|
46358
46603
|
{
|
|
@@ -46426,8 +46671,8 @@
|
|
|
46426
46671
|
"description": "Negative coloring variant flag.",
|
|
46427
46672
|
"fieldName": "negative",
|
|
46428
46673
|
"inheritedFrom": {
|
|
46429
|
-
"name": "
|
|
46430
|
-
"module": "
|
|
46674
|
+
"name": "SbbNegativeMixin",
|
|
46675
|
+
"module": "core/mixins.js"
|
|
46431
46676
|
}
|
|
46432
46677
|
},
|
|
46433
46678
|
{
|
|
@@ -46470,6 +46715,12 @@
|
|
|
46470
46715
|
}
|
|
46471
46716
|
}
|
|
46472
46717
|
],
|
|
46718
|
+
"mixins": [
|
|
46719
|
+
{
|
|
46720
|
+
"name": "SbbNegativeMixin",
|
|
46721
|
+
"module": "core/mixins.js"
|
|
46722
|
+
}
|
|
46723
|
+
],
|
|
46473
46724
|
"superclass": {
|
|
46474
46725
|
"name": "SbbTitleBase",
|
|
46475
46726
|
"module": "title.js"
|
|
@@ -46478,7 +46729,7 @@
|
|
|
46478
46729
|
"customElement": true,
|
|
46479
46730
|
"slots": [
|
|
46480
46731
|
{
|
|
46481
|
-
"description": "Use the unnamed slot to
|
|
46732
|
+
"description": "Use the unnamed slot to place the content of the title.",
|
|
46482
46733
|
"name": "",
|
|
46483
46734
|
"inheritedFrom": {
|
|
46484
46735
|
"name": "SbbTitleBase",
|
|
@@ -53350,6 +53601,7 @@
|
|
|
53350
53601
|
"default": "''",
|
|
53351
53602
|
"description": "The href value you want to link to.",
|
|
53352
53603
|
"attribute": "href",
|
|
53604
|
+
"reflects": true,
|
|
53353
53605
|
"inheritedFrom": {
|
|
53354
53606
|
"name": "SbbLinkBaseElement",
|
|
53355
53607
|
"module": "core/base-elements.js"
|
|
@@ -53365,6 +53617,7 @@
|
|
|
53365
53617
|
"default": "''",
|
|
53366
53618
|
"description": "Where to display the linked URL.",
|
|
53367
53619
|
"attribute": "target",
|
|
53620
|
+
"reflects": true,
|
|
53368
53621
|
"inheritedFrom": {
|
|
53369
53622
|
"name": "SbbLinkBaseElement",
|
|
53370
53623
|
"module": "core/base-elements.js"
|
|
@@ -53380,6 +53633,7 @@
|
|
|
53380
53633
|
"default": "''",
|
|
53381
53634
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
53382
53635
|
"attribute": "rel",
|
|
53636
|
+
"reflects": true,
|
|
53383
53637
|
"inheritedFrom": {
|
|
53384
53638
|
"name": "SbbLinkBaseElement",
|
|
53385
53639
|
"module": "core/base-elements.js"
|
|
@@ -53395,6 +53649,7 @@
|
|
|
53395
53649
|
"default": "false",
|
|
53396
53650
|
"description": "Whether the browser will show the download dialog on click.",
|
|
53397
53651
|
"attribute": "download",
|
|
53652
|
+
"reflects": true,
|
|
53398
53653
|
"inheritedFrom": {
|
|
53399
53654
|
"name": "SbbLinkBaseElement",
|
|
53400
53655
|
"module": "core/base-elements.js"
|
|
@@ -55234,6 +55489,7 @@
|
|
|
55234
55489
|
"default": "''",
|
|
55235
55490
|
"description": "The href value you want to link to.",
|
|
55236
55491
|
"attribute": "href",
|
|
55492
|
+
"reflects": true,
|
|
55237
55493
|
"inheritedFrom": {
|
|
55238
55494
|
"name": "SbbLinkBaseElement",
|
|
55239
55495
|
"module": "core/base-elements.js"
|
|
@@ -55249,6 +55505,7 @@
|
|
|
55249
55505
|
"default": "''",
|
|
55250
55506
|
"description": "Where to display the linked URL.",
|
|
55251
55507
|
"attribute": "target",
|
|
55508
|
+
"reflects": true,
|
|
55252
55509
|
"inheritedFrom": {
|
|
55253
55510
|
"name": "SbbLinkBaseElement",
|
|
55254
55511
|
"module": "core/base-elements.js"
|
|
@@ -55264,6 +55521,7 @@
|
|
|
55264
55521
|
"default": "''",
|
|
55265
55522
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
55266
55523
|
"attribute": "rel",
|
|
55524
|
+
"reflects": true,
|
|
55267
55525
|
"inheritedFrom": {
|
|
55268
55526
|
"name": "SbbLinkBaseElement",
|
|
55269
55527
|
"module": "core/base-elements.js"
|
|
@@ -55279,6 +55537,7 @@
|
|
|
55279
55537
|
"default": "false",
|
|
55280
55538
|
"description": "Whether the browser will show the download dialog on click.",
|
|
55281
55539
|
"attribute": "download",
|
|
55540
|
+
"reflects": true,
|
|
55282
55541
|
"inheritedFrom": {
|
|
55283
55542
|
"name": "SbbLinkBaseElement",
|
|
55284
55543
|
"module": "core/base-elements.js"
|
|
@@ -57043,6 +57302,7 @@
|
|
|
57043
57302
|
"default": "''",
|
|
57044
57303
|
"description": "The href value you want to link to.",
|
|
57045
57304
|
"attribute": "href",
|
|
57305
|
+
"reflects": true,
|
|
57046
57306
|
"inheritedFrom": {
|
|
57047
57307
|
"name": "SbbLinkBaseElement",
|
|
57048
57308
|
"module": "core/base-elements.js"
|
|
@@ -57058,6 +57318,7 @@
|
|
|
57058
57318
|
"default": "''",
|
|
57059
57319
|
"description": "Where to display the linked URL.",
|
|
57060
57320
|
"attribute": "target",
|
|
57321
|
+
"reflects": true,
|
|
57061
57322
|
"inheritedFrom": {
|
|
57062
57323
|
"name": "SbbLinkBaseElement",
|
|
57063
57324
|
"module": "core/base-elements.js"
|
|
@@ -57073,6 +57334,7 @@
|
|
|
57073
57334
|
"default": "''",
|
|
57074
57335
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
57075
57336
|
"attribute": "rel",
|
|
57337
|
+
"reflects": true,
|
|
57076
57338
|
"inheritedFrom": {
|
|
57077
57339
|
"name": "SbbLinkBaseElement",
|
|
57078
57340
|
"module": "core/base-elements.js"
|
|
@@ -57088,6 +57350,7 @@
|
|
|
57088
57350
|
"default": "false",
|
|
57089
57351
|
"description": "Whether the browser will show the download dialog on click.",
|
|
57090
57352
|
"attribute": "download",
|
|
57353
|
+
"reflects": true,
|
|
57091
57354
|
"inheritedFrom": {
|
|
57092
57355
|
"name": "SbbLinkBaseElement",
|
|
57093
57356
|
"module": "core/base-elements.js"
|
|
@@ -59263,6 +59526,7 @@
|
|
|
59263
59526
|
"default": "''",
|
|
59264
59527
|
"description": "The href value you want to link to.",
|
|
59265
59528
|
"attribute": "href",
|
|
59529
|
+
"reflects": true,
|
|
59266
59530
|
"inheritedFrom": {
|
|
59267
59531
|
"name": "SbbLinkBaseElement",
|
|
59268
59532
|
"module": "core/base-elements.js"
|
|
@@ -59278,6 +59542,7 @@
|
|
|
59278
59542
|
"default": "''",
|
|
59279
59543
|
"description": "Where to display the linked URL.",
|
|
59280
59544
|
"attribute": "target",
|
|
59545
|
+
"reflects": true,
|
|
59281
59546
|
"inheritedFrom": {
|
|
59282
59547
|
"name": "SbbLinkBaseElement",
|
|
59283
59548
|
"module": "core/base-elements.js"
|
|
@@ -59293,6 +59558,7 @@
|
|
|
59293
59558
|
"default": "''",
|
|
59294
59559
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
59295
59560
|
"attribute": "rel",
|
|
59561
|
+
"reflects": true,
|
|
59296
59562
|
"inheritedFrom": {
|
|
59297
59563
|
"name": "SbbLinkBaseElement",
|
|
59298
59564
|
"module": "core/base-elements.js"
|
|
@@ -59308,6 +59574,7 @@
|
|
|
59308
59574
|
"default": "false",
|
|
59309
59575
|
"description": "Whether the browser will show the download dialog on click.",
|
|
59310
59576
|
"attribute": "download",
|
|
59577
|
+
"reflects": true,
|
|
59311
59578
|
"inheritedFrom": {
|
|
59312
59579
|
"name": "SbbLinkBaseElement",
|
|
59313
59580
|
"module": "core/base-elements.js"
|
|
@@ -61237,6 +61504,7 @@
|
|
|
61237
61504
|
"default": "''",
|
|
61238
61505
|
"description": "The href value you want to link to.",
|
|
61239
61506
|
"attribute": "href",
|
|
61507
|
+
"reflects": true,
|
|
61240
61508
|
"inheritedFrom": {
|
|
61241
61509
|
"name": "SbbLinkBaseElement",
|
|
61242
61510
|
"module": "core/base-elements.js"
|
|
@@ -61252,6 +61520,7 @@
|
|
|
61252
61520
|
"default": "''",
|
|
61253
61521
|
"description": "Where to display the linked URL.",
|
|
61254
61522
|
"attribute": "target",
|
|
61523
|
+
"reflects": true,
|
|
61255
61524
|
"inheritedFrom": {
|
|
61256
61525
|
"name": "SbbLinkBaseElement",
|
|
61257
61526
|
"module": "core/base-elements.js"
|
|
@@ -61267,6 +61536,7 @@
|
|
|
61267
61536
|
"default": "''",
|
|
61268
61537
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
61269
61538
|
"attribute": "rel",
|
|
61539
|
+
"reflects": true,
|
|
61270
61540
|
"inheritedFrom": {
|
|
61271
61541
|
"name": "SbbLinkBaseElement",
|
|
61272
61542
|
"module": "core/base-elements.js"
|
|
@@ -61282,6 +61552,7 @@
|
|
|
61282
61552
|
"default": "false",
|
|
61283
61553
|
"description": "Whether the browser will show the download dialog on click.",
|
|
61284
61554
|
"attribute": "download",
|
|
61555
|
+
"reflects": true,
|
|
61285
61556
|
"inheritedFrom": {
|
|
61286
61557
|
"name": "SbbLinkBaseElement",
|
|
61287
61558
|
"module": "core/base-elements.js"
|
|
@@ -70109,60 +70380,32 @@
|
|
|
70109
70380
|
},
|
|
70110
70381
|
{
|
|
70111
70382
|
"kind": "javascript-module",
|
|
70112
|
-
"path": "
|
|
70383
|
+
"path": "sidebar/icon-sidebar-button.js",
|
|
70113
70384
|
"declarations": [
|
|
70114
70385
|
{
|
|
70115
70386
|
"kind": "class",
|
|
70116
|
-
"description": "
|
|
70117
|
-
"name": "
|
|
70387
|
+
"description": "Button to be placed inside `sbb-icon-sidebar`.",
|
|
70388
|
+
"name": "SbbIconSidebarButtonElement",
|
|
70118
70389
|
"slots": [
|
|
70119
70390
|
{
|
|
70120
|
-
"description": "
|
|
70121
|
-
"name": ""
|
|
70122
|
-
},
|
|
70123
|
-
{
|
|
70124
|
-
"description": "Use this to display an icon in the label bubble.",
|
|
70391
|
+
"description": "Slot used to display the icon.",
|
|
70125
70392
|
"name": "icon"
|
|
70126
70393
|
}
|
|
70127
70394
|
],
|
|
70128
70395
|
"members": [
|
|
70129
|
-
{
|
|
70130
|
-
"kind": "field",
|
|
70131
|
-
"name": "step",
|
|
70132
|
-
"type": {
|
|
70133
|
-
"text": "SbbStepElement | null"
|
|
70134
|
-
},
|
|
70135
|
-
"privacy": "public",
|
|
70136
|
-
"description": "The step controlled by the label.",
|
|
70137
|
-
"readonly": true,
|
|
70138
|
-
"default": "null"
|
|
70139
|
-
},
|
|
70140
|
-
{
|
|
70141
|
-
"kind": "field",
|
|
70142
|
-
"name": "_stepper",
|
|
70143
|
-
"type": {
|
|
70144
|
-
"text": "SbbStepperElement | null"
|
|
70145
|
-
},
|
|
70146
|
-
"privacy": "private",
|
|
70147
|
-
"default": "null"
|
|
70148
|
-
},
|
|
70149
|
-
{
|
|
70150
|
-
"kind": "field",
|
|
70151
|
-
"name": "_step",
|
|
70152
|
-
"type": {
|
|
70153
|
-
"text": "SbbStepElement | null"
|
|
70154
|
-
},
|
|
70155
|
-
"privacy": "private",
|
|
70156
|
-
"default": "null"
|
|
70157
|
-
},
|
|
70158
70396
|
{
|
|
70159
70397
|
"kind": "method",
|
|
70160
|
-
"name": "
|
|
70161
|
-
"privacy": "
|
|
70398
|
+
"name": "renderTemplate",
|
|
70399
|
+
"privacy": "protected",
|
|
70162
70400
|
"return": {
|
|
70163
70401
|
"type": {
|
|
70164
|
-
"text": "
|
|
70402
|
+
"text": "TemplateResult"
|
|
70165
70403
|
}
|
|
70404
|
+
},
|
|
70405
|
+
"description": "Override this method to render the component template.",
|
|
70406
|
+
"inheritedFrom": {
|
|
70407
|
+
"name": "SbbActionBaseElement",
|
|
70408
|
+
"module": "core/base-elements.js"
|
|
70166
70409
|
}
|
|
70167
70410
|
},
|
|
70168
70411
|
{
|
|
@@ -70204,37 +70447,6 @@
|
|
|
70204
70447
|
"module": "icon.js"
|
|
70205
70448
|
}
|
|
70206
70449
|
},
|
|
70207
|
-
{
|
|
70208
|
-
"kind": "field",
|
|
70209
|
-
"name": "disabled",
|
|
70210
|
-
"type": {
|
|
70211
|
-
"text": "boolean"
|
|
70212
|
-
},
|
|
70213
|
-
"privacy": "public",
|
|
70214
|
-
"default": "false",
|
|
70215
|
-
"description": "Whether the component is disabled.",
|
|
70216
|
-
"attribute": "disabled",
|
|
70217
|
-
"reflects": true,
|
|
70218
|
-
"inheritedFrom": {
|
|
70219
|
-
"name": "SbbDisabledMixin",
|
|
70220
|
-
"module": "core/mixins.js"
|
|
70221
|
-
}
|
|
70222
|
-
},
|
|
70223
|
-
{
|
|
70224
|
-
"kind": "method",
|
|
70225
|
-
"name": "isDisabledExternally",
|
|
70226
|
-
"privacy": "protected",
|
|
70227
|
-
"return": {
|
|
70228
|
-
"type": {
|
|
70229
|
-
"text": "boolean"
|
|
70230
|
-
}
|
|
70231
|
-
},
|
|
70232
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
70233
|
-
"inheritedFrom": {
|
|
70234
|
-
"name": "SbbDisabledMixin",
|
|
70235
|
-
"module": "core/mixins.js"
|
|
70236
|
-
}
|
|
70237
|
-
},
|
|
70238
70450
|
{
|
|
70239
70451
|
"kind": "field",
|
|
70240
70452
|
"name": "formAssociated",
|
|
@@ -70676,38 +70888,19 @@
|
|
|
70676
70888
|
"name": "SbbActionBaseElement",
|
|
70677
70889
|
"module": "core/base-elements.js"
|
|
70678
70890
|
}
|
|
70679
|
-
},
|
|
70680
|
-
{
|
|
70681
|
-
"kind": "method",
|
|
70682
|
-
"name": "renderTemplate",
|
|
70683
|
-
"privacy": "protected",
|
|
70684
|
-
"return": {
|
|
70685
|
-
"type": {
|
|
70686
|
-
"text": "TemplateResult"
|
|
70687
|
-
}
|
|
70688
|
-
},
|
|
70689
|
-
"description": "Override this method to render the component template.",
|
|
70690
|
-
"inheritedFrom": {
|
|
70691
|
-
"name": "SbbActionBaseElement",
|
|
70692
|
-
"module": "core/base-elements.js"
|
|
70693
|
-
}
|
|
70694
70891
|
}
|
|
70695
70892
|
],
|
|
70696
70893
|
"mixins": [
|
|
70697
70894
|
{
|
|
70698
70895
|
"name": "SbbIconNameMixin",
|
|
70699
70896
|
"module": "icon.js"
|
|
70700
|
-
},
|
|
70701
|
-
{
|
|
70702
|
-
"name": "SbbDisabledMixin",
|
|
70703
|
-
"module": "core/mixins.js"
|
|
70704
70897
|
}
|
|
70705
70898
|
],
|
|
70706
70899
|
"superclass": {
|
|
70707
70900
|
"name": "SbbButtonBaseElement",
|
|
70708
70901
|
"module": "core/base-elements.js"
|
|
70709
70902
|
},
|
|
70710
|
-
"tagName": "sbb-
|
|
70903
|
+
"tagName": "sbb-icon-sidebar-button",
|
|
70711
70904
|
"customElement": true,
|
|
70712
70905
|
"attributes": [
|
|
70713
70906
|
{
|
|
@@ -70723,19 +70916,6 @@
|
|
|
70723
70916
|
"module": "icon.js"
|
|
70724
70917
|
}
|
|
70725
70918
|
},
|
|
70726
|
-
{
|
|
70727
|
-
"name": "disabled",
|
|
70728
|
-
"type": {
|
|
70729
|
-
"text": "boolean"
|
|
70730
|
-
},
|
|
70731
|
-
"default": "false",
|
|
70732
|
-
"description": "Whether the component is disabled.",
|
|
70733
|
-
"fieldName": "disabled",
|
|
70734
|
-
"inheritedFrom": {
|
|
70735
|
-
"name": "SbbDisabledMixin",
|
|
70736
|
-
"module": "core/mixins.js"
|
|
70737
|
-
}
|
|
70738
|
-
},
|
|
70739
70919
|
{
|
|
70740
70920
|
"name": "name",
|
|
70741
70921
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
@@ -70791,333 +70971,3267 @@
|
|
|
70791
70971
|
"exports": [
|
|
70792
70972
|
{
|
|
70793
70973
|
"kind": "js",
|
|
70794
|
-
"name": "
|
|
70974
|
+
"name": "SbbIconSidebarButtonElement",
|
|
70795
70975
|
"declaration": {
|
|
70796
|
-
"name": "
|
|
70797
|
-
"module": "
|
|
70976
|
+
"name": "SbbIconSidebarButtonElement",
|
|
70977
|
+
"module": "sidebar/icon-sidebar-button.js"
|
|
70798
70978
|
}
|
|
70799
70979
|
},
|
|
70800
70980
|
{
|
|
70801
70981
|
"kind": "custom-element-definition",
|
|
70802
|
-
"name": "sbb-
|
|
70982
|
+
"name": "sbb-icon-sidebar-button",
|
|
70803
70983
|
"declaration": {
|
|
70804
|
-
"name": "
|
|
70805
|
-
"module": "
|
|
70984
|
+
"name": "SbbIconSidebarButtonElement",
|
|
70985
|
+
"module": "sidebar/icon-sidebar-button.js"
|
|
70806
70986
|
}
|
|
70807
70987
|
}
|
|
70808
70988
|
]
|
|
70809
70989
|
},
|
|
70810
70990
|
{
|
|
70811
70991
|
"kind": "javascript-module",
|
|
70812
|
-
"path": "
|
|
70992
|
+
"path": "sidebar/icon-sidebar-container.js",
|
|
70813
70993
|
"declarations": [
|
|
70814
70994
|
{
|
|
70815
70995
|
"kind": "class",
|
|
70816
|
-
"description": "
|
|
70817
|
-
"name": "
|
|
70996
|
+
"description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
|
|
70997
|
+
"name": "SbbIconSidebarContainerElement",
|
|
70818
70998
|
"slots": [
|
|
70819
70999
|
{
|
|
70820
|
-
"description": "Use the unnamed slot to
|
|
71000
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
70821
71001
|
"name": ""
|
|
70822
71002
|
}
|
|
70823
71003
|
],
|
|
70824
71004
|
"members": [
|
|
70825
71005
|
{
|
|
70826
71006
|
"kind": "field",
|
|
70827
|
-
"name": "
|
|
70828
|
-
"privacy": "public",
|
|
70829
|
-
"static": true,
|
|
70830
|
-
"readonly": true,
|
|
70831
|
-
"default": "{ validate: 'validate', }",
|
|
70832
|
-
"type": {
|
|
70833
|
-
"text": "{\n validate: 'validate',\n }"
|
|
70834
|
-
}
|
|
70835
|
-
},
|
|
70836
|
-
{
|
|
70837
|
-
"kind": "field",
|
|
70838
|
-
"name": "_validate",
|
|
70839
|
-
"type": {
|
|
70840
|
-
"text": "EventEmitter<SbbStepValidateEventDetails>"
|
|
70841
|
-
},
|
|
70842
|
-
"privacy": "private",
|
|
70843
|
-
"default": "new EventEmitter( this, SbbStepElement.events.validate, )",
|
|
70844
|
-
"description": "Emits whenever step switch is triggered."
|
|
70845
|
-
},
|
|
70846
|
-
{
|
|
70847
|
-
"kind": "field",
|
|
70848
|
-
"name": "_loaded",
|
|
70849
|
-
"type": {
|
|
70850
|
-
"text": "boolean"
|
|
70851
|
-
},
|
|
70852
|
-
"privacy": "private",
|
|
70853
|
-
"default": "false"
|
|
70854
|
-
},
|
|
70855
|
-
{
|
|
70856
|
-
"kind": "field",
|
|
70857
|
-
"name": "_stepper",
|
|
71007
|
+
"name": "sidebars",
|
|
70858
71008
|
"type": {
|
|
70859
|
-
"text": "
|
|
71009
|
+
"text": "SbbIconSidebarElement[]"
|
|
70860
71010
|
},
|
|
70861
|
-
"privacy": "
|
|
70862
|
-
"
|
|
71011
|
+
"privacy": "public",
|
|
71012
|
+
"description": "The icon-sidebar children.",
|
|
71013
|
+
"readonly": true
|
|
70863
71014
|
},
|
|
70864
71015
|
{
|
|
70865
71016
|
"kind": "field",
|
|
70866
|
-
"name": "
|
|
71017
|
+
"name": "start",
|
|
70867
71018
|
"type": {
|
|
70868
|
-
"text": "
|
|
71019
|
+
"text": "SbbIconSidebarElement | null"
|
|
70869
71020
|
},
|
|
70870
|
-
"privacy": "
|
|
70871
|
-
"
|
|
71021
|
+
"privacy": "public",
|
|
71022
|
+
"description": "The icon-sidebar child at the start position.",
|
|
71023
|
+
"readonly": true
|
|
70872
71024
|
},
|
|
70873
71025
|
{
|
|
70874
71026
|
"kind": "field",
|
|
70875
|
-
"name": "
|
|
71027
|
+
"name": "end",
|
|
70876
71028
|
"type": {
|
|
70877
|
-
"text": "
|
|
71029
|
+
"text": "SbbIconSidebarElement | null"
|
|
70878
71030
|
},
|
|
70879
71031
|
"privacy": "public",
|
|
70880
|
-
"description": "The
|
|
70881
|
-
"readonly": true
|
|
70882
|
-
"default": "null"
|
|
70883
|
-
},
|
|
70884
|
-
{
|
|
70885
|
-
"kind": "method",
|
|
70886
|
-
"name": "_handleClick",
|
|
70887
|
-
"privacy": "private",
|
|
70888
|
-
"return": {
|
|
70889
|
-
"type": {
|
|
70890
|
-
"text": "void"
|
|
70891
|
-
}
|
|
70892
|
-
},
|
|
70893
|
-
"parameters": [
|
|
70894
|
-
{
|
|
70895
|
-
"name": "event",
|
|
70896
|
-
"type": {
|
|
70897
|
-
"text": "Event"
|
|
70898
|
-
}
|
|
70899
|
-
}
|
|
70900
|
-
],
|
|
70901
|
-
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
70902
|
-
},
|
|
70903
|
-
{
|
|
70904
|
-
"kind": "method",
|
|
70905
|
-
"name": "_isGoNextElement",
|
|
70906
|
-
"privacy": "private",
|
|
70907
|
-
"return": {
|
|
70908
|
-
"type": {
|
|
70909
|
-
"text": "boolean"
|
|
70910
|
-
}
|
|
70911
|
-
},
|
|
70912
|
-
"parameters": [
|
|
70913
|
-
{
|
|
70914
|
-
"name": "element",
|
|
70915
|
-
"type": {
|
|
70916
|
-
"text": "HTMLElement"
|
|
70917
|
-
}
|
|
70918
|
-
}
|
|
70919
|
-
]
|
|
70920
|
-
},
|
|
70921
|
-
{
|
|
70922
|
-
"kind": "method",
|
|
70923
|
-
"name": "_isGoPreviousElement",
|
|
70924
|
-
"privacy": "private",
|
|
70925
|
-
"return": {
|
|
70926
|
-
"type": {
|
|
70927
|
-
"text": "boolean"
|
|
70928
|
-
}
|
|
70929
|
-
},
|
|
70930
|
-
"parameters": [
|
|
70931
|
-
{
|
|
70932
|
-
"name": "element",
|
|
70933
|
-
"type": {
|
|
70934
|
-
"text": "HTMLElement"
|
|
70935
|
-
}
|
|
70936
|
-
}
|
|
70937
|
-
]
|
|
70938
|
-
},
|
|
70939
|
-
{
|
|
70940
|
-
"kind": "method",
|
|
70941
|
-
"name": "_getStepLabel",
|
|
70942
|
-
"privacy": "private",
|
|
70943
|
-
"return": {
|
|
70944
|
-
"type": {
|
|
70945
|
-
"text": "SbbStepLabelElement | null"
|
|
70946
|
-
}
|
|
70947
|
-
}
|
|
71032
|
+
"description": "The icon-sidebar child at the end position.",
|
|
71033
|
+
"readonly": true
|
|
70948
71034
|
}
|
|
70949
71035
|
],
|
|
70950
|
-
"
|
|
71036
|
+
"superclass": {
|
|
71037
|
+
"name": "LitElement",
|
|
71038
|
+
"package": "lit"
|
|
71039
|
+
},
|
|
71040
|
+
"tagName": "sbb-icon-sidebar-container",
|
|
71041
|
+
"customElement": true
|
|
71042
|
+
}
|
|
71043
|
+
],
|
|
71044
|
+
"exports": [
|
|
71045
|
+
{
|
|
71046
|
+
"kind": "js",
|
|
71047
|
+
"name": "SbbIconSidebarContainerElement",
|
|
71048
|
+
"declaration": {
|
|
71049
|
+
"name": "SbbIconSidebarContainerElement",
|
|
71050
|
+
"module": "sidebar/icon-sidebar-container.js"
|
|
71051
|
+
}
|
|
71052
|
+
},
|
|
71053
|
+
{
|
|
71054
|
+
"kind": "custom-element-definition",
|
|
71055
|
+
"name": "sbb-icon-sidebar-container",
|
|
71056
|
+
"declaration": {
|
|
71057
|
+
"name": "SbbIconSidebarContainerElement",
|
|
71058
|
+
"module": "sidebar/icon-sidebar-container.js"
|
|
71059
|
+
}
|
|
71060
|
+
}
|
|
71061
|
+
]
|
|
71062
|
+
},
|
|
71063
|
+
{
|
|
71064
|
+
"kind": "javascript-module",
|
|
71065
|
+
"path": "sidebar/icon-sidebar-content.js",
|
|
71066
|
+
"declarations": [
|
|
71067
|
+
{
|
|
71068
|
+
"kind": "class",
|
|
71069
|
+
"description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
|
|
71070
|
+
"name": "SbbIconSidebarContentElement",
|
|
71071
|
+
"slots": [
|
|
70951
71072
|
{
|
|
70952
|
-
"
|
|
70953
|
-
|
|
70954
|
-
},
|
|
70955
|
-
"description": "Emits whenever step switch is triggered. Can be canceled.",
|
|
70956
|
-
"name": "validate"
|
|
71073
|
+
"description": "Use the unnamed slot to add any content elements.",
|
|
71074
|
+
"name": ""
|
|
70957
71075
|
}
|
|
70958
71076
|
],
|
|
71077
|
+
"members": [],
|
|
70959
71078
|
"superclass": {
|
|
70960
71079
|
"name": "LitElement",
|
|
70961
71080
|
"package": "lit"
|
|
70962
71081
|
},
|
|
70963
|
-
"tagName": "sbb-
|
|
71082
|
+
"tagName": "sbb-icon-sidebar-content",
|
|
70964
71083
|
"customElement": true
|
|
70965
71084
|
}
|
|
70966
71085
|
],
|
|
70967
71086
|
"exports": [
|
|
70968
71087
|
{
|
|
70969
71088
|
"kind": "js",
|
|
70970
|
-
"name": "
|
|
71089
|
+
"name": "SbbIconSidebarContentElement",
|
|
70971
71090
|
"declaration": {
|
|
70972
|
-
"name": "
|
|
70973
|
-
"module": "
|
|
71091
|
+
"name": "SbbIconSidebarContentElement",
|
|
71092
|
+
"module": "sidebar/icon-sidebar-content.js"
|
|
70974
71093
|
}
|
|
70975
71094
|
},
|
|
70976
71095
|
{
|
|
70977
71096
|
"kind": "custom-element-definition",
|
|
70978
|
-
"name": "sbb-
|
|
71097
|
+
"name": "sbb-icon-sidebar-content",
|
|
70979
71098
|
"declaration": {
|
|
70980
|
-
"name": "
|
|
70981
|
-
"module": "
|
|
71099
|
+
"name": "SbbIconSidebarContentElement",
|
|
71100
|
+
"module": "sidebar/icon-sidebar-content.js"
|
|
70982
71101
|
}
|
|
70983
71102
|
}
|
|
70984
71103
|
]
|
|
70985
71104
|
},
|
|
70986
71105
|
{
|
|
70987
71106
|
"kind": "javascript-module",
|
|
70988
|
-
"path": "
|
|
71107
|
+
"path": "sidebar/icon-sidebar-link.js",
|
|
70989
71108
|
"declarations": [
|
|
70990
71109
|
{
|
|
70991
71110
|
"kind": "class",
|
|
70992
|
-
"description": "
|
|
70993
|
-
"name": "
|
|
71111
|
+
"description": "Link to be placed inside `sbb-icon-sidebar`.",
|
|
71112
|
+
"name": "SbbIconSidebarLinkElement",
|
|
70994
71113
|
"slots": [
|
|
70995
71114
|
{
|
|
70996
|
-
"description": "
|
|
70997
|
-
"name": ""
|
|
70998
|
-
},
|
|
70999
|
-
{
|
|
71000
|
-
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
71001
|
-
"name": "step-label"
|
|
71002
|
-
},
|
|
71003
|
-
{
|
|
71004
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
71005
|
-
"name": "step"
|
|
71115
|
+
"description": "Slot used to display the icon.",
|
|
71116
|
+
"name": "icon"
|
|
71006
71117
|
}
|
|
71007
71118
|
],
|
|
71008
71119
|
"members": [
|
|
71009
71120
|
{
|
|
71010
|
-
"kind": "
|
|
71011
|
-
"name": "
|
|
71012
|
-
"privacy": "
|
|
71013
|
-
"
|
|
71014
|
-
|
|
71121
|
+
"kind": "method",
|
|
71122
|
+
"name": "renderTemplate",
|
|
71123
|
+
"privacy": "protected",
|
|
71124
|
+
"return": {
|
|
71125
|
+
"type": {
|
|
71126
|
+
"text": "TemplateResult"
|
|
71127
|
+
}
|
|
71128
|
+
},
|
|
71129
|
+
"description": "Override this method to render the component template.",
|
|
71130
|
+
"inheritedFrom": {
|
|
71131
|
+
"name": "SbbActionBaseElement",
|
|
71132
|
+
"module": "core/base-elements.js"
|
|
71133
|
+
}
|
|
71015
71134
|
},
|
|
71016
71135
|
{
|
|
71017
71136
|
"kind": "field",
|
|
71018
|
-
"name": "
|
|
71137
|
+
"name": "iconName",
|
|
71019
71138
|
"type": {
|
|
71020
|
-
"text": "
|
|
71139
|
+
"text": "string"
|
|
71021
71140
|
},
|
|
71022
71141
|
"privacy": "public",
|
|
71023
|
-
"default": "
|
|
71024
|
-
"description": "
|
|
71025
|
-
"attribute": "
|
|
71142
|
+
"default": "''",
|
|
71143
|
+
"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.",
|
|
71144
|
+
"attribute": "icon-name",
|
|
71145
|
+
"reflects": true,
|
|
71146
|
+
"inheritedFrom": {
|
|
71147
|
+
"name": "SbbIconNameMixin",
|
|
71148
|
+
"module": "icon.js"
|
|
71149
|
+
}
|
|
71026
71150
|
},
|
|
71027
71151
|
{
|
|
71028
|
-
"kind": "
|
|
71029
|
-
"name": "
|
|
71030
|
-
"privacy": "
|
|
71031
|
-
"
|
|
71032
|
-
|
|
71033
|
-
|
|
71152
|
+
"kind": "method",
|
|
71153
|
+
"name": "renderIconSlot",
|
|
71154
|
+
"privacy": "protected",
|
|
71155
|
+
"return": {
|
|
71156
|
+
"type": {
|
|
71157
|
+
"text": "TemplateResult"
|
|
71158
|
+
}
|
|
71034
71159
|
},
|
|
71035
|
-
"
|
|
71036
|
-
|
|
71037
|
-
|
|
71160
|
+
"parameters": [
|
|
71161
|
+
{
|
|
71162
|
+
"name": "classname",
|
|
71163
|
+
"optional": true,
|
|
71164
|
+
"type": {
|
|
71165
|
+
"text": "string"
|
|
71166
|
+
}
|
|
71167
|
+
}
|
|
71168
|
+
],
|
|
71169
|
+
"inheritedFrom": {
|
|
71170
|
+
"name": "SbbIconNameMixin",
|
|
71171
|
+
"module": "icon.js"
|
|
71172
|
+
}
|
|
71038
71173
|
},
|
|
71039
71174
|
{
|
|
71040
71175
|
"kind": "field",
|
|
71041
|
-
"name": "
|
|
71176
|
+
"name": "href",
|
|
71042
71177
|
"type": {
|
|
71043
|
-
"text": "
|
|
71178
|
+
"text": "string"
|
|
71044
71179
|
},
|
|
71045
|
-
"privacy": "
|
|
71046
|
-
"default": "
|
|
71180
|
+
"privacy": "public",
|
|
71181
|
+
"default": "''",
|
|
71182
|
+
"description": "The href value you want to link to.",
|
|
71183
|
+
"attribute": "href",
|
|
71184
|
+
"reflects": true,
|
|
71185
|
+
"inheritedFrom": {
|
|
71186
|
+
"name": "SbbLinkBaseElement",
|
|
71187
|
+
"module": "core/base-elements.js"
|
|
71188
|
+
}
|
|
71047
71189
|
},
|
|
71048
71190
|
{
|
|
71049
71191
|
"kind": "field",
|
|
71050
|
-
"name": "
|
|
71192
|
+
"name": "target",
|
|
71051
71193
|
"type": {
|
|
71052
|
-
"text": "
|
|
71194
|
+
"text": "LinkTargetType | string"
|
|
71053
71195
|
},
|
|
71054
71196
|
"privacy": "public",
|
|
71055
|
-
"default": "'
|
|
71056
|
-
"description": "
|
|
71057
|
-
"attribute": "
|
|
71058
|
-
"reflects": true
|
|
71197
|
+
"default": "''",
|
|
71198
|
+
"description": "Where to display the linked URL.",
|
|
71199
|
+
"attribute": "target",
|
|
71200
|
+
"reflects": true,
|
|
71201
|
+
"inheritedFrom": {
|
|
71202
|
+
"name": "SbbLinkBaseElement",
|
|
71203
|
+
"module": "core/base-elements.js"
|
|
71204
|
+
}
|
|
71059
71205
|
},
|
|
71060
71206
|
{
|
|
71061
71207
|
"kind": "field",
|
|
71062
|
-
"name": "
|
|
71208
|
+
"name": "rel",
|
|
71063
71209
|
"type": {
|
|
71064
|
-
"text": "
|
|
71210
|
+
"text": "string"
|
|
71065
71211
|
},
|
|
71066
71212
|
"privacy": "public",
|
|
71067
|
-
"
|
|
71068
|
-
"
|
|
71069
|
-
"attribute": "
|
|
71070
|
-
"reflects": true
|
|
71213
|
+
"default": "''",
|
|
71214
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
71215
|
+
"attribute": "rel",
|
|
71216
|
+
"reflects": true,
|
|
71217
|
+
"inheritedFrom": {
|
|
71218
|
+
"name": "SbbLinkBaseElement",
|
|
71219
|
+
"module": "core/base-elements.js"
|
|
71220
|
+
}
|
|
71071
71221
|
},
|
|
71072
71222
|
{
|
|
71073
71223
|
"kind": "field",
|
|
71074
|
-
"name": "
|
|
71075
|
-
"privacy": "public",
|
|
71076
|
-
"description": "The currently selected step.",
|
|
71224
|
+
"name": "download",
|
|
71077
71225
|
"type": {
|
|
71078
|
-
"text": "
|
|
71226
|
+
"text": "boolean"
|
|
71227
|
+
},
|
|
71228
|
+
"privacy": "public",
|
|
71229
|
+
"default": "false",
|
|
71230
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
71231
|
+
"attribute": "download",
|
|
71232
|
+
"reflects": true,
|
|
71233
|
+
"inheritedFrom": {
|
|
71234
|
+
"name": "SbbLinkBaseElement",
|
|
71235
|
+
"module": "core/base-elements.js"
|
|
71079
71236
|
}
|
|
71080
71237
|
},
|
|
71081
71238
|
{
|
|
71082
71239
|
"kind": "field",
|
|
71083
|
-
"name": "
|
|
71084
|
-
"privacy": "public",
|
|
71085
|
-
"description": "The currently selected step index.",
|
|
71240
|
+
"name": "accessibilityLabel",
|
|
71086
71241
|
"type": {
|
|
71087
|
-
"text": "
|
|
71242
|
+
"text": "string"
|
|
71088
71243
|
},
|
|
71089
|
-
"
|
|
71244
|
+
"privacy": "public",
|
|
71245
|
+
"default": "''",
|
|
71246
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
71247
|
+
"attribute": "accessibility-label",
|
|
71248
|
+
"inheritedFrom": {
|
|
71249
|
+
"name": "SbbLinkBaseElement",
|
|
71250
|
+
"module": "core/base-elements.js"
|
|
71251
|
+
}
|
|
71090
71252
|
},
|
|
71091
71253
|
{
|
|
71092
71254
|
"kind": "field",
|
|
71093
|
-
"name": "
|
|
71255
|
+
"name": "accessibilityCurrent",
|
|
71094
71256
|
"type": {
|
|
71095
|
-
"text": "
|
|
71257
|
+
"text": "string"
|
|
71096
71258
|
},
|
|
71097
71259
|
"privacy": "public",
|
|
71098
|
-
"
|
|
71099
|
-
"
|
|
71260
|
+
"default": "''",
|
|
71261
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
71262
|
+
"attribute": "accessibility-current",
|
|
71263
|
+
"inheritedFrom": {
|
|
71264
|
+
"name": "SbbLinkBaseElement",
|
|
71265
|
+
"module": "core/base-elements.js"
|
|
71266
|
+
}
|
|
71100
71267
|
},
|
|
71101
71268
|
{
|
|
71102
71269
|
"kind": "field",
|
|
71103
|
-
"name": "
|
|
71104
|
-
"
|
|
71105
|
-
|
|
71106
|
-
|
|
71107
|
-
|
|
71108
|
-
|
|
71270
|
+
"name": "language",
|
|
71271
|
+
"privacy": "protected",
|
|
71272
|
+
"default": "new SbbLanguageController(this)",
|
|
71273
|
+
"inheritedFrom": {
|
|
71274
|
+
"name": "SbbLinkBaseElement",
|
|
71275
|
+
"module": "core/base-elements.js"
|
|
71276
|
+
}
|
|
71109
71277
|
},
|
|
71110
71278
|
{
|
|
71111
71279
|
"kind": "field",
|
|
71112
|
-
"name": "
|
|
71113
|
-
"type": {
|
|
71114
|
-
"text": "boolean"
|
|
71115
|
-
},
|
|
71280
|
+
"name": "_evaluateRelAttribute",
|
|
71116
71281
|
"privacy": "private",
|
|
71117
|
-
"
|
|
71282
|
+
"inheritedFrom": {
|
|
71283
|
+
"name": "SbbLinkBaseElement",
|
|
71284
|
+
"module": "core/base-elements.js"
|
|
71285
|
+
}
|
|
71118
71286
|
},
|
|
71119
71287
|
{
|
|
71120
|
-
"kind": "
|
|
71288
|
+
"kind": "method",
|
|
71289
|
+
"name": "renderLink",
|
|
71290
|
+
"privacy": "protected",
|
|
71291
|
+
"return": {
|
|
71292
|
+
"type": {
|
|
71293
|
+
"text": "TemplateResult"
|
|
71294
|
+
}
|
|
71295
|
+
},
|
|
71296
|
+
"parameters": [
|
|
71297
|
+
{
|
|
71298
|
+
"name": "renderContent",
|
|
71299
|
+
"type": {
|
|
71300
|
+
"text": "TemplateResult"
|
|
71301
|
+
}
|
|
71302
|
+
}
|
|
71303
|
+
],
|
|
71304
|
+
"inheritedFrom": {
|
|
71305
|
+
"name": "SbbLinkBaseElement",
|
|
71306
|
+
"module": "core/base-elements.js"
|
|
71307
|
+
}
|
|
71308
|
+
},
|
|
71309
|
+
{
|
|
71310
|
+
"kind": "field",
|
|
71311
|
+
"name": "maybeDisabled",
|
|
71312
|
+
"type": {
|
|
71313
|
+
"text": "boolean | undefined"
|
|
71314
|
+
},
|
|
71315
|
+
"privacy": "protected",
|
|
71316
|
+
"readonly": true,
|
|
71317
|
+
"inheritedFrom": {
|
|
71318
|
+
"name": "SbbActionBaseElement",
|
|
71319
|
+
"module": "core/base-elements.js"
|
|
71320
|
+
}
|
|
71321
|
+
},
|
|
71322
|
+
{
|
|
71323
|
+
"kind": "field",
|
|
71324
|
+
"name": "maybeDisabledInteractive",
|
|
71325
|
+
"type": {
|
|
71326
|
+
"text": "boolean | undefined"
|
|
71327
|
+
},
|
|
71328
|
+
"privacy": "protected",
|
|
71329
|
+
"readonly": true,
|
|
71330
|
+
"inheritedFrom": {
|
|
71331
|
+
"name": "SbbActionBaseElement",
|
|
71332
|
+
"module": "core/base-elements.js"
|
|
71333
|
+
}
|
|
71334
|
+
},
|
|
71335
|
+
{
|
|
71336
|
+
"kind": "method",
|
|
71337
|
+
"name": "setupBaseEventHandlers",
|
|
71338
|
+
"privacy": "protected",
|
|
71339
|
+
"return": {
|
|
71340
|
+
"type": {
|
|
71341
|
+
"text": "void"
|
|
71342
|
+
}
|
|
71343
|
+
},
|
|
71344
|
+
"inheritedFrom": {
|
|
71345
|
+
"name": "SbbActionBaseElement",
|
|
71346
|
+
"module": "core/base-elements.js"
|
|
71347
|
+
}
|
|
71348
|
+
}
|
|
71349
|
+
],
|
|
71350
|
+
"mixins": [
|
|
71351
|
+
{
|
|
71352
|
+
"name": "SbbIconNameMixin",
|
|
71353
|
+
"module": "icon.js"
|
|
71354
|
+
}
|
|
71355
|
+
],
|
|
71356
|
+
"superclass": {
|
|
71357
|
+
"name": "SbbLinkBaseElement",
|
|
71358
|
+
"module": "core/base-elements.js"
|
|
71359
|
+
},
|
|
71360
|
+
"tagName": "sbb-icon-sidebar-link",
|
|
71361
|
+
"customElement": true,
|
|
71362
|
+
"attributes": [
|
|
71363
|
+
{
|
|
71364
|
+
"name": "icon-name",
|
|
71365
|
+
"type": {
|
|
71366
|
+
"text": "string"
|
|
71367
|
+
},
|
|
71368
|
+
"default": "''",
|
|
71369
|
+
"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.",
|
|
71370
|
+
"fieldName": "iconName",
|
|
71371
|
+
"inheritedFrom": {
|
|
71372
|
+
"name": "SbbIconNameMixin",
|
|
71373
|
+
"module": "icon.js"
|
|
71374
|
+
}
|
|
71375
|
+
},
|
|
71376
|
+
{
|
|
71377
|
+
"name": "href",
|
|
71378
|
+
"type": {
|
|
71379
|
+
"text": "string"
|
|
71380
|
+
},
|
|
71381
|
+
"default": "''",
|
|
71382
|
+
"description": "The href value you want to link to.",
|
|
71383
|
+
"fieldName": "href",
|
|
71384
|
+
"inheritedFrom": {
|
|
71385
|
+
"name": "SbbLinkBaseElement",
|
|
71386
|
+
"module": "core/base-elements.js"
|
|
71387
|
+
}
|
|
71388
|
+
},
|
|
71389
|
+
{
|
|
71390
|
+
"name": "target",
|
|
71391
|
+
"type": {
|
|
71392
|
+
"text": "LinkTargetType | string"
|
|
71393
|
+
},
|
|
71394
|
+
"default": "''",
|
|
71395
|
+
"description": "Where to display the linked URL.",
|
|
71396
|
+
"fieldName": "target",
|
|
71397
|
+
"inheritedFrom": {
|
|
71398
|
+
"name": "SbbLinkBaseElement",
|
|
71399
|
+
"module": "core/base-elements.js"
|
|
71400
|
+
}
|
|
71401
|
+
},
|
|
71402
|
+
{
|
|
71403
|
+
"name": "rel",
|
|
71404
|
+
"type": {
|
|
71405
|
+
"text": "string"
|
|
71406
|
+
},
|
|
71407
|
+
"default": "''",
|
|
71408
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
71409
|
+
"fieldName": "rel",
|
|
71410
|
+
"inheritedFrom": {
|
|
71411
|
+
"name": "SbbLinkBaseElement",
|
|
71412
|
+
"module": "core/base-elements.js"
|
|
71413
|
+
}
|
|
71414
|
+
},
|
|
71415
|
+
{
|
|
71416
|
+
"name": "download",
|
|
71417
|
+
"type": {
|
|
71418
|
+
"text": "boolean"
|
|
71419
|
+
},
|
|
71420
|
+
"default": "false",
|
|
71421
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
71422
|
+
"fieldName": "download",
|
|
71423
|
+
"inheritedFrom": {
|
|
71424
|
+
"name": "SbbLinkBaseElement",
|
|
71425
|
+
"module": "core/base-elements.js"
|
|
71426
|
+
}
|
|
71427
|
+
},
|
|
71428
|
+
{
|
|
71429
|
+
"name": "accessibility-label",
|
|
71430
|
+
"type": {
|
|
71431
|
+
"text": "string"
|
|
71432
|
+
},
|
|
71433
|
+
"default": "''",
|
|
71434
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
71435
|
+
"fieldName": "accessibilityLabel",
|
|
71436
|
+
"inheritedFrom": {
|
|
71437
|
+
"name": "SbbLinkBaseElement",
|
|
71438
|
+
"module": "core/base-elements.js"
|
|
71439
|
+
}
|
|
71440
|
+
},
|
|
71441
|
+
{
|
|
71442
|
+
"name": "accessibility-current",
|
|
71443
|
+
"type": {
|
|
71444
|
+
"text": "string"
|
|
71445
|
+
},
|
|
71446
|
+
"default": "''",
|
|
71447
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
71448
|
+
"fieldName": "accessibilityCurrent",
|
|
71449
|
+
"inheritedFrom": {
|
|
71450
|
+
"name": "SbbLinkBaseElement",
|
|
71451
|
+
"module": "core/base-elements.js"
|
|
71452
|
+
}
|
|
71453
|
+
}
|
|
71454
|
+
]
|
|
71455
|
+
}
|
|
71456
|
+
],
|
|
71457
|
+
"exports": [
|
|
71458
|
+
{
|
|
71459
|
+
"kind": "js",
|
|
71460
|
+
"name": "SbbIconSidebarLinkElement",
|
|
71461
|
+
"declaration": {
|
|
71462
|
+
"name": "SbbIconSidebarLinkElement",
|
|
71463
|
+
"module": "sidebar/icon-sidebar-link.js"
|
|
71464
|
+
}
|
|
71465
|
+
},
|
|
71466
|
+
{
|
|
71467
|
+
"kind": "custom-element-definition",
|
|
71468
|
+
"name": "sbb-icon-sidebar-link",
|
|
71469
|
+
"declaration": {
|
|
71470
|
+
"name": "SbbIconSidebarLinkElement",
|
|
71471
|
+
"module": "sidebar/icon-sidebar-link.js"
|
|
71472
|
+
}
|
|
71473
|
+
}
|
|
71474
|
+
]
|
|
71475
|
+
},
|
|
71476
|
+
{
|
|
71477
|
+
"kind": "javascript-module",
|
|
71478
|
+
"path": "sidebar/icon-sidebar.js",
|
|
71479
|
+
"declarations": [
|
|
71480
|
+
{
|
|
71481
|
+
"kind": "class",
|
|
71482
|
+
"description": "Icon sidebar, can be placed inside a `sbb-icon-sidebar-container` element.",
|
|
71483
|
+
"name": "SbbIconSidebarElement",
|
|
71484
|
+
"slots": [
|
|
71485
|
+
{
|
|
71486
|
+
"description": "Use the unnamed slot to slot any content into the icon-sidebar.",
|
|
71487
|
+
"name": ""
|
|
71488
|
+
}
|
|
71489
|
+
],
|
|
71490
|
+
"members": [
|
|
71491
|
+
{
|
|
71492
|
+
"kind": "field",
|
|
71493
|
+
"name": "color",
|
|
71494
|
+
"type": {
|
|
71495
|
+
"text": "'white' | 'milk'"
|
|
71496
|
+
},
|
|
71497
|
+
"privacy": "public",
|
|
71498
|
+
"default": "'white'",
|
|
71499
|
+
"description": "Background color of the icon sidebar. Either `white` or `milk`. *",
|
|
71500
|
+
"attribute": "color",
|
|
71501
|
+
"reflects": true
|
|
71502
|
+
},
|
|
71503
|
+
{
|
|
71504
|
+
"kind": "field",
|
|
71505
|
+
"name": "container",
|
|
71506
|
+
"type": {
|
|
71507
|
+
"text": "SbbIconSidebarContainerElement | null"
|
|
71508
|
+
},
|
|
71509
|
+
"privacy": "public",
|
|
71510
|
+
"description": "Returns the SbbIconSidebarContainerElement where this icon-sidebar is contained.",
|
|
71511
|
+
"readonly": true
|
|
71512
|
+
}
|
|
71513
|
+
],
|
|
71514
|
+
"attributes": [
|
|
71515
|
+
{
|
|
71516
|
+
"name": "color",
|
|
71517
|
+
"type": {
|
|
71518
|
+
"text": "'white' | 'milk'"
|
|
71519
|
+
},
|
|
71520
|
+
"default": "'white'",
|
|
71521
|
+
"description": "Background color of the icon sidebar. Either `white` or `milk`. *",
|
|
71522
|
+
"fieldName": "color"
|
|
71523
|
+
}
|
|
71524
|
+
],
|
|
71525
|
+
"superclass": {
|
|
71526
|
+
"name": "LitElement",
|
|
71527
|
+
"package": "lit"
|
|
71528
|
+
},
|
|
71529
|
+
"tagName": "sbb-icon-sidebar",
|
|
71530
|
+
"customElement": true
|
|
71531
|
+
}
|
|
71532
|
+
],
|
|
71533
|
+
"exports": [
|
|
71534
|
+
{
|
|
71535
|
+
"kind": "js",
|
|
71536
|
+
"name": "SbbIconSidebarElement",
|
|
71537
|
+
"declaration": {
|
|
71538
|
+
"name": "SbbIconSidebarElement",
|
|
71539
|
+
"module": "sidebar/icon-sidebar.js"
|
|
71540
|
+
}
|
|
71541
|
+
},
|
|
71542
|
+
{
|
|
71543
|
+
"kind": "custom-element-definition",
|
|
71544
|
+
"name": "sbb-icon-sidebar",
|
|
71545
|
+
"declaration": {
|
|
71546
|
+
"name": "SbbIconSidebarElement",
|
|
71547
|
+
"module": "sidebar/icon-sidebar.js"
|
|
71548
|
+
}
|
|
71549
|
+
}
|
|
71550
|
+
]
|
|
71551
|
+
},
|
|
71552
|
+
{
|
|
71553
|
+
"kind": "javascript-module",
|
|
71554
|
+
"path": "sidebar/sidebar-close-button.js",
|
|
71555
|
+
"declarations": [
|
|
71556
|
+
{
|
|
71557
|
+
"kind": "class",
|
|
71558
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
71559
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
71560
|
+
"slots": [
|
|
71561
|
+
{
|
|
71562
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
71563
|
+
"name": "",
|
|
71564
|
+
"inheritedFrom": {
|
|
71565
|
+
"name": "SbbSecondaryButtonElement",
|
|
71566
|
+
"module": "button/secondary-button.js"
|
|
71567
|
+
}
|
|
71568
|
+
},
|
|
71569
|
+
{
|
|
71570
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
71571
|
+
"name": "icon",
|
|
71572
|
+
"inheritedFrom": {
|
|
71573
|
+
"name": "SbbSecondaryButtonElement",
|
|
71574
|
+
"module": "button/secondary-button.js"
|
|
71575
|
+
}
|
|
71576
|
+
}
|
|
71577
|
+
],
|
|
71578
|
+
"members": [
|
|
71579
|
+
{
|
|
71580
|
+
"kind": "field",
|
|
71581
|
+
"name": "_language",
|
|
71582
|
+
"type": {
|
|
71583
|
+
"text": "string | undefined"
|
|
71584
|
+
},
|
|
71585
|
+
"privacy": "private"
|
|
71586
|
+
},
|
|
71587
|
+
{
|
|
71588
|
+
"kind": "field",
|
|
71589
|
+
"name": "_languageController",
|
|
71590
|
+
"privacy": "private",
|
|
71591
|
+
"default": "new SbbLanguageController(this)"
|
|
71592
|
+
},
|
|
71593
|
+
{
|
|
71594
|
+
"kind": "method",
|
|
71595
|
+
"name": "renderTemplate",
|
|
71596
|
+
"privacy": "protected",
|
|
71597
|
+
"return": {
|
|
71598
|
+
"type": {
|
|
71599
|
+
"text": "TemplateResult"
|
|
71600
|
+
}
|
|
71601
|
+
},
|
|
71602
|
+
"description": "Override this method to render the component template.",
|
|
71603
|
+
"inheritedFrom": {
|
|
71604
|
+
"name": "SbbActionBaseElement",
|
|
71605
|
+
"module": "core/base-elements.js"
|
|
71606
|
+
}
|
|
71607
|
+
},
|
|
71608
|
+
{
|
|
71609
|
+
"kind": "field",
|
|
71610
|
+
"name": "iconName",
|
|
71611
|
+
"type": {
|
|
71612
|
+
"text": "string"
|
|
71613
|
+
},
|
|
71614
|
+
"privacy": "public",
|
|
71615
|
+
"default": "'cross-small'",
|
|
71616
|
+
"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.",
|
|
71617
|
+
"attribute": "icon-name",
|
|
71618
|
+
"reflects": true,
|
|
71619
|
+
"inheritedFrom": {
|
|
71620
|
+
"name": "SbbIconNameMixin",
|
|
71621
|
+
"module": "icon.js"
|
|
71622
|
+
}
|
|
71623
|
+
},
|
|
71624
|
+
{
|
|
71625
|
+
"kind": "field",
|
|
71626
|
+
"name": "size",
|
|
71627
|
+
"type": {
|
|
71628
|
+
"text": "SbbButtonSize"
|
|
71629
|
+
},
|
|
71630
|
+
"privacy": "public",
|
|
71631
|
+
"description": "Size variant, either l, m or s.",
|
|
71632
|
+
"default": "'s'",
|
|
71633
|
+
"attribute": "size",
|
|
71634
|
+
"reflects": true,
|
|
71635
|
+
"inheritedFrom": {
|
|
71636
|
+
"name": "SbbButtonCommonElementMixin",
|
|
71637
|
+
"module": "button/common/button-common.js"
|
|
71638
|
+
}
|
|
71639
|
+
},
|
|
71640
|
+
{
|
|
71641
|
+
"kind": "field",
|
|
71642
|
+
"name": "negative",
|
|
71643
|
+
"type": {
|
|
71644
|
+
"text": "boolean"
|
|
71645
|
+
},
|
|
71646
|
+
"privacy": "public",
|
|
71647
|
+
"default": "false",
|
|
71648
|
+
"description": "Negative coloring variant flag.",
|
|
71649
|
+
"attribute": "negative",
|
|
71650
|
+
"reflects": true,
|
|
71651
|
+
"inheritedFrom": {
|
|
71652
|
+
"name": "SbbNegativeMixin",
|
|
71653
|
+
"module": "core/mixins.js"
|
|
71654
|
+
}
|
|
71655
|
+
},
|
|
71656
|
+
{
|
|
71657
|
+
"kind": "method",
|
|
71658
|
+
"name": "renderIconSlot",
|
|
71659
|
+
"privacy": "protected",
|
|
71660
|
+
"return": {
|
|
71661
|
+
"type": {
|
|
71662
|
+
"text": "TemplateResult"
|
|
71663
|
+
}
|
|
71664
|
+
},
|
|
71665
|
+
"parameters": [
|
|
71666
|
+
{
|
|
71667
|
+
"name": "classname",
|
|
71668
|
+
"optional": true,
|
|
71669
|
+
"type": {
|
|
71670
|
+
"text": "string"
|
|
71671
|
+
}
|
|
71672
|
+
}
|
|
71673
|
+
],
|
|
71674
|
+
"inheritedFrom": {
|
|
71675
|
+
"name": "SbbIconNameMixin",
|
|
71676
|
+
"module": "icon.js"
|
|
71677
|
+
}
|
|
71678
|
+
},
|
|
71679
|
+
{
|
|
71680
|
+
"kind": "field",
|
|
71681
|
+
"name": "disabledInteractive",
|
|
71682
|
+
"type": {
|
|
71683
|
+
"text": "boolean"
|
|
71684
|
+
},
|
|
71685
|
+
"privacy": "public",
|
|
71686
|
+
"default": "false",
|
|
71687
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
71688
|
+
"attribute": "disabled-interactive",
|
|
71689
|
+
"reflects": true,
|
|
71690
|
+
"inheritedFrom": {
|
|
71691
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
71692
|
+
"module": "core/mixins.js"
|
|
71693
|
+
}
|
|
71694
|
+
},
|
|
71695
|
+
{
|
|
71696
|
+
"kind": "field",
|
|
71697
|
+
"name": "disabled",
|
|
71698
|
+
"type": {
|
|
71699
|
+
"text": "boolean"
|
|
71700
|
+
},
|
|
71701
|
+
"privacy": "public",
|
|
71702
|
+
"default": "false",
|
|
71703
|
+
"description": "Whether the component is disabled.",
|
|
71704
|
+
"attribute": "disabled",
|
|
71705
|
+
"reflects": true,
|
|
71706
|
+
"inheritedFrom": {
|
|
71707
|
+
"name": "SbbDisabledMixin",
|
|
71708
|
+
"module": "core/mixins.js"
|
|
71709
|
+
}
|
|
71710
|
+
},
|
|
71711
|
+
{
|
|
71712
|
+
"kind": "method",
|
|
71713
|
+
"name": "isDisabledExternally",
|
|
71714
|
+
"privacy": "protected",
|
|
71715
|
+
"return": {
|
|
71716
|
+
"type": {
|
|
71717
|
+
"text": "boolean"
|
|
71718
|
+
}
|
|
71719
|
+
},
|
|
71720
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
71721
|
+
"inheritedFrom": {
|
|
71722
|
+
"name": "SbbDisabledMixin",
|
|
71723
|
+
"module": "core/mixins.js"
|
|
71724
|
+
}
|
|
71725
|
+
},
|
|
71726
|
+
{
|
|
71727
|
+
"kind": "field",
|
|
71728
|
+
"name": "formAssociated",
|
|
71729
|
+
"type": {
|
|
71730
|
+
"text": "boolean"
|
|
71731
|
+
},
|
|
71732
|
+
"privacy": "public",
|
|
71733
|
+
"static": true,
|
|
71734
|
+
"default": "true",
|
|
71735
|
+
"inheritedFrom": {
|
|
71736
|
+
"name": "SbbFormAssociatedMixin",
|
|
71737
|
+
"module": "core/mixins.js"
|
|
71738
|
+
}
|
|
71739
|
+
},
|
|
71740
|
+
{
|
|
71741
|
+
"kind": "field",
|
|
71742
|
+
"name": "form",
|
|
71743
|
+
"type": {
|
|
71744
|
+
"text": "HTMLFormElement | null"
|
|
71745
|
+
},
|
|
71746
|
+
"privacy": "public",
|
|
71747
|
+
"description": "The `<form>` element to associate the button with.",
|
|
71748
|
+
"attribute": "form",
|
|
71749
|
+
"inheritedFrom": {
|
|
71750
|
+
"name": "SbbButtonBaseElement",
|
|
71751
|
+
"module": "core/base-elements.js"
|
|
71752
|
+
}
|
|
71753
|
+
},
|
|
71754
|
+
{
|
|
71755
|
+
"kind": "field",
|
|
71756
|
+
"name": "name",
|
|
71757
|
+
"privacy": "public",
|
|
71758
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
71759
|
+
"type": {
|
|
71760
|
+
"text": "string"
|
|
71761
|
+
},
|
|
71762
|
+
"attribute": "name",
|
|
71763
|
+
"inheritedFrom": {
|
|
71764
|
+
"name": "SbbFormAssociatedMixin",
|
|
71765
|
+
"module": "core/mixins.js"
|
|
71766
|
+
}
|
|
71767
|
+
},
|
|
71768
|
+
{
|
|
71769
|
+
"kind": "field",
|
|
71770
|
+
"name": "value",
|
|
71771
|
+
"privacy": "public",
|
|
71772
|
+
"description": "Value of the form element.",
|
|
71773
|
+
"type": {
|
|
71774
|
+
"text": "string | null"
|
|
71775
|
+
},
|
|
71776
|
+
"attribute": "value",
|
|
71777
|
+
"inheritedFrom": {
|
|
71778
|
+
"name": "SbbFormAssociatedMixin",
|
|
71779
|
+
"module": "core/mixins.js"
|
|
71780
|
+
},
|
|
71781
|
+
"default": "null"
|
|
71782
|
+
},
|
|
71783
|
+
{
|
|
71784
|
+
"kind": "field",
|
|
71785
|
+
"name": "_value",
|
|
71786
|
+
"type": {
|
|
71787
|
+
"text": "string | null"
|
|
71788
|
+
},
|
|
71789
|
+
"privacy": "private",
|
|
71790
|
+
"default": "null",
|
|
71791
|
+
"inheritedFrom": {
|
|
71792
|
+
"name": "SbbFormAssociatedMixin",
|
|
71793
|
+
"module": "core/mixins.js"
|
|
71794
|
+
}
|
|
71795
|
+
},
|
|
71796
|
+
{
|
|
71797
|
+
"kind": "field",
|
|
71798
|
+
"name": "validity",
|
|
71799
|
+
"type": {
|
|
71800
|
+
"text": "ValidityState"
|
|
71801
|
+
},
|
|
71802
|
+
"privacy": "public",
|
|
71803
|
+
"description": "Returns the ValidityState object for this element.",
|
|
71804
|
+
"readonly": true,
|
|
71805
|
+
"inheritedFrom": {
|
|
71806
|
+
"name": "SbbFormAssociatedMixin",
|
|
71807
|
+
"module": "core/mixins.js"
|
|
71808
|
+
}
|
|
71809
|
+
},
|
|
71810
|
+
{
|
|
71811
|
+
"kind": "field",
|
|
71812
|
+
"name": "validationMessage",
|
|
71813
|
+
"type": {
|
|
71814
|
+
"text": "string"
|
|
71815
|
+
},
|
|
71816
|
+
"privacy": "public",
|
|
71817
|
+
"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.",
|
|
71818
|
+
"readonly": true,
|
|
71819
|
+
"inheritedFrom": {
|
|
71820
|
+
"name": "SbbFormAssociatedMixin",
|
|
71821
|
+
"module": "core/mixins.js"
|
|
71822
|
+
}
|
|
71823
|
+
},
|
|
71824
|
+
{
|
|
71825
|
+
"kind": "field",
|
|
71826
|
+
"name": "willValidate",
|
|
71827
|
+
"type": {
|
|
71828
|
+
"text": "boolean"
|
|
71829
|
+
},
|
|
71830
|
+
"privacy": "public",
|
|
71831
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
71832
|
+
"readonly": true,
|
|
71833
|
+
"inheritedFrom": {
|
|
71834
|
+
"name": "SbbFormAssociatedMixin",
|
|
71835
|
+
"module": "core/mixins.js"
|
|
71836
|
+
}
|
|
71837
|
+
},
|
|
71838
|
+
{
|
|
71839
|
+
"kind": "field",
|
|
71840
|
+
"name": "_validityStates",
|
|
71841
|
+
"privacy": "private",
|
|
71842
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
71843
|
+
"inheritedFrom": {
|
|
71844
|
+
"name": "SbbFormAssociatedMixin",
|
|
71845
|
+
"module": "core/mixins.js"
|
|
71846
|
+
}
|
|
71847
|
+
},
|
|
71848
|
+
{
|
|
71849
|
+
"kind": "field",
|
|
71850
|
+
"name": "formDisabled",
|
|
71851
|
+
"type": {
|
|
71852
|
+
"text": "boolean"
|
|
71853
|
+
},
|
|
71854
|
+
"privacy": "protected",
|
|
71855
|
+
"default": "false",
|
|
71856
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
71857
|
+
"inheritedFrom": {
|
|
71858
|
+
"name": "SbbFormAssociatedMixin",
|
|
71859
|
+
"module": "core/mixins.js"
|
|
71860
|
+
}
|
|
71861
|
+
},
|
|
71862
|
+
{
|
|
71863
|
+
"kind": "method",
|
|
71864
|
+
"name": "checkValidity",
|
|
71865
|
+
"privacy": "public",
|
|
71866
|
+
"return": {
|
|
71867
|
+
"type": {
|
|
71868
|
+
"text": "boolean"
|
|
71869
|
+
}
|
|
71870
|
+
},
|
|
71871
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
71872
|
+
"inheritedFrom": {
|
|
71873
|
+
"name": "SbbFormAssociatedMixin",
|
|
71874
|
+
"module": "core/mixins.js"
|
|
71875
|
+
}
|
|
71876
|
+
},
|
|
71877
|
+
{
|
|
71878
|
+
"kind": "method",
|
|
71879
|
+
"name": "reportValidity",
|
|
71880
|
+
"privacy": "public",
|
|
71881
|
+
"return": {
|
|
71882
|
+
"type": {
|
|
71883
|
+
"text": "boolean"
|
|
71884
|
+
}
|
|
71885
|
+
},
|
|
71886
|
+
"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.",
|
|
71887
|
+
"inheritedFrom": {
|
|
71888
|
+
"name": "SbbFormAssociatedMixin",
|
|
71889
|
+
"module": "core/mixins.js"
|
|
71890
|
+
}
|
|
71891
|
+
},
|
|
71892
|
+
{
|
|
71893
|
+
"kind": "method",
|
|
71894
|
+
"name": "setCustomValidity",
|
|
71895
|
+
"privacy": "public",
|
|
71896
|
+
"return": {
|
|
71897
|
+
"type": {
|
|
71898
|
+
"text": "void"
|
|
71899
|
+
}
|
|
71900
|
+
},
|
|
71901
|
+
"parameters": [
|
|
71902
|
+
{
|
|
71903
|
+
"name": "message",
|
|
71904
|
+
"type": {
|
|
71905
|
+
"text": "string"
|
|
71906
|
+
}
|
|
71907
|
+
}
|
|
71908
|
+
],
|
|
71909
|
+
"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.",
|
|
71910
|
+
"inheritedFrom": {
|
|
71911
|
+
"name": "SbbFormAssociatedMixin",
|
|
71912
|
+
"module": "core/mixins.js"
|
|
71913
|
+
}
|
|
71914
|
+
},
|
|
71915
|
+
{
|
|
71916
|
+
"kind": "method",
|
|
71917
|
+
"name": "updateFormValue",
|
|
71918
|
+
"privacy": "protected",
|
|
71919
|
+
"return": {
|
|
71920
|
+
"type": {
|
|
71921
|
+
"text": "void"
|
|
71922
|
+
}
|
|
71923
|
+
},
|
|
71924
|
+
"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",
|
|
71925
|
+
"inheritedFrom": {
|
|
71926
|
+
"name": "SbbFormAssociatedMixin",
|
|
71927
|
+
"module": "core/mixins.js"
|
|
71928
|
+
}
|
|
71929
|
+
},
|
|
71930
|
+
{
|
|
71931
|
+
"kind": "method",
|
|
71932
|
+
"name": "setValidityFlag",
|
|
71933
|
+
"privacy": "protected",
|
|
71934
|
+
"return": {
|
|
71935
|
+
"type": {
|
|
71936
|
+
"text": "void"
|
|
71937
|
+
}
|
|
71938
|
+
},
|
|
71939
|
+
"parameters": [
|
|
71940
|
+
{
|
|
71941
|
+
"name": "flag",
|
|
71942
|
+
"type": {
|
|
71943
|
+
"text": "T"
|
|
71944
|
+
}
|
|
71945
|
+
},
|
|
71946
|
+
{
|
|
71947
|
+
"name": "message",
|
|
71948
|
+
"type": {
|
|
71949
|
+
"text": "string"
|
|
71950
|
+
}
|
|
71951
|
+
},
|
|
71952
|
+
{
|
|
71953
|
+
"name": "flagValue",
|
|
71954
|
+
"optional": true,
|
|
71955
|
+
"type": {
|
|
71956
|
+
"text": "ValidityStateFlags[T]"
|
|
71957
|
+
}
|
|
71958
|
+
}
|
|
71959
|
+
],
|
|
71960
|
+
"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).",
|
|
71961
|
+
"inheritedFrom": {
|
|
71962
|
+
"name": "SbbFormAssociatedMixin",
|
|
71963
|
+
"module": "core/mixins.js"
|
|
71964
|
+
}
|
|
71965
|
+
},
|
|
71966
|
+
{
|
|
71967
|
+
"kind": "method",
|
|
71968
|
+
"name": "removeValidityFlag",
|
|
71969
|
+
"privacy": "protected",
|
|
71970
|
+
"return": {
|
|
71971
|
+
"type": {
|
|
71972
|
+
"text": "void"
|
|
71973
|
+
}
|
|
71974
|
+
},
|
|
71975
|
+
"parameters": [
|
|
71976
|
+
{
|
|
71977
|
+
"name": "flag",
|
|
71978
|
+
"type": {
|
|
71979
|
+
"text": "T"
|
|
71980
|
+
}
|
|
71981
|
+
}
|
|
71982
|
+
],
|
|
71983
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
71984
|
+
"inheritedFrom": {
|
|
71985
|
+
"name": "SbbFormAssociatedMixin",
|
|
71986
|
+
"module": "core/mixins.js"
|
|
71987
|
+
}
|
|
71988
|
+
},
|
|
71989
|
+
{
|
|
71990
|
+
"kind": "method",
|
|
71991
|
+
"name": "validate",
|
|
71992
|
+
"privacy": "protected",
|
|
71993
|
+
"return": {
|
|
71994
|
+
"type": {
|
|
71995
|
+
"text": "void"
|
|
71996
|
+
}
|
|
71997
|
+
},
|
|
71998
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
71999
|
+
"inheritedFrom": {
|
|
72000
|
+
"name": "SbbFormAssociatedMixin",
|
|
72001
|
+
"module": "core/mixins.js"
|
|
72002
|
+
}
|
|
72003
|
+
},
|
|
72004
|
+
{
|
|
72005
|
+
"kind": "method",
|
|
72006
|
+
"name": "shouldValidate",
|
|
72007
|
+
"privacy": "protected",
|
|
72008
|
+
"return": {
|
|
72009
|
+
"type": {
|
|
72010
|
+
"text": "boolean"
|
|
72011
|
+
}
|
|
72012
|
+
},
|
|
72013
|
+
"parameters": [
|
|
72014
|
+
{
|
|
72015
|
+
"name": "name",
|
|
72016
|
+
"type": {
|
|
72017
|
+
"text": "PropertyKey | undefined"
|
|
72018
|
+
}
|
|
72019
|
+
}
|
|
72020
|
+
],
|
|
72021
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
72022
|
+
"inheritedFrom": {
|
|
72023
|
+
"name": "SbbFormAssociatedMixin",
|
|
72024
|
+
"module": "core/mixins.js"
|
|
72025
|
+
}
|
|
72026
|
+
},
|
|
72027
|
+
{
|
|
72028
|
+
"kind": "method",
|
|
72029
|
+
"name": "_setInternalValidity",
|
|
72030
|
+
"privacy": "private",
|
|
72031
|
+
"return": {
|
|
72032
|
+
"type": {
|
|
72033
|
+
"text": "void"
|
|
72034
|
+
}
|
|
72035
|
+
},
|
|
72036
|
+
"inheritedFrom": {
|
|
72037
|
+
"name": "SbbFormAssociatedMixin",
|
|
72038
|
+
"module": "core/mixins.js"
|
|
72039
|
+
}
|
|
72040
|
+
},
|
|
72041
|
+
{
|
|
72042
|
+
"kind": "field",
|
|
72043
|
+
"name": "type",
|
|
72044
|
+
"privacy": "public",
|
|
72045
|
+
"description": "The type attribute to use for the button.",
|
|
72046
|
+
"default": "'button'",
|
|
72047
|
+
"type": {
|
|
72048
|
+
"text": "SbbButtonType"
|
|
72049
|
+
},
|
|
72050
|
+
"attribute": "type",
|
|
72051
|
+
"inheritedFrom": {
|
|
72052
|
+
"name": "SbbButtonBaseElement",
|
|
72053
|
+
"module": "core/base-elements.js"
|
|
72054
|
+
}
|
|
72055
|
+
},
|
|
72056
|
+
{
|
|
72057
|
+
"kind": "field",
|
|
72058
|
+
"name": "_formId",
|
|
72059
|
+
"type": {
|
|
72060
|
+
"text": "string"
|
|
72061
|
+
},
|
|
72062
|
+
"privacy": "private",
|
|
72063
|
+
"default": "''",
|
|
72064
|
+
"inheritedFrom": {
|
|
72065
|
+
"name": "SbbButtonBaseElement",
|
|
72066
|
+
"module": "core/base-elements.js"
|
|
72067
|
+
}
|
|
72068
|
+
},
|
|
72069
|
+
{
|
|
72070
|
+
"kind": "field",
|
|
72071
|
+
"name": "_handleButtonClick",
|
|
72072
|
+
"privacy": "private",
|
|
72073
|
+
"inheritedFrom": {
|
|
72074
|
+
"name": "SbbButtonBaseElement",
|
|
72075
|
+
"module": "core/base-elements.js"
|
|
72076
|
+
}
|
|
72077
|
+
},
|
|
72078
|
+
{
|
|
72079
|
+
"kind": "field",
|
|
72080
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
72081
|
+
"privacy": "private",
|
|
72082
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
|
|
72083
|
+
"parameters": [
|
|
72084
|
+
{
|
|
72085
|
+
"description": "The origin event.",
|
|
72086
|
+
"name": "event"
|
|
72087
|
+
}
|
|
72088
|
+
],
|
|
72089
|
+
"inheritedFrom": {
|
|
72090
|
+
"name": "SbbButtonBaseElement",
|
|
72091
|
+
"module": "core/base-elements.js"
|
|
72092
|
+
}
|
|
72093
|
+
},
|
|
72094
|
+
{
|
|
72095
|
+
"kind": "field",
|
|
72096
|
+
"name": "_removeActiveMarker",
|
|
72097
|
+
"privacy": "private",
|
|
72098
|
+
"inheritedFrom": {
|
|
72099
|
+
"name": "SbbButtonBaseElement",
|
|
72100
|
+
"module": "core/base-elements.js"
|
|
72101
|
+
}
|
|
72102
|
+
},
|
|
72103
|
+
{
|
|
72104
|
+
"kind": "field",
|
|
72105
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
72106
|
+
"privacy": "private",
|
|
72107
|
+
"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.",
|
|
72108
|
+
"parameters": [
|
|
72109
|
+
{
|
|
72110
|
+
"description": "The origin event.",
|
|
72111
|
+
"name": "event"
|
|
72112
|
+
}
|
|
72113
|
+
],
|
|
72114
|
+
"inheritedFrom": {
|
|
72115
|
+
"name": "SbbButtonBaseElement",
|
|
72116
|
+
"module": "core/base-elements.js"
|
|
72117
|
+
}
|
|
72118
|
+
},
|
|
72119
|
+
{
|
|
72120
|
+
"kind": "field",
|
|
72121
|
+
"name": "_dispatchClickEvent",
|
|
72122
|
+
"privacy": "private",
|
|
72123
|
+
"inheritedFrom": {
|
|
72124
|
+
"name": "SbbButtonBaseElement",
|
|
72125
|
+
"module": "core/base-elements.js"
|
|
72126
|
+
}
|
|
72127
|
+
},
|
|
72128
|
+
{
|
|
72129
|
+
"kind": "field",
|
|
72130
|
+
"name": "maybeDisabled",
|
|
72131
|
+
"type": {
|
|
72132
|
+
"text": "boolean | undefined"
|
|
72133
|
+
},
|
|
72134
|
+
"privacy": "protected",
|
|
72135
|
+
"readonly": true,
|
|
72136
|
+
"inheritedFrom": {
|
|
72137
|
+
"name": "SbbActionBaseElement",
|
|
72138
|
+
"module": "core/base-elements.js"
|
|
72139
|
+
}
|
|
72140
|
+
},
|
|
72141
|
+
{
|
|
72142
|
+
"kind": "field",
|
|
72143
|
+
"name": "maybeDisabledInteractive",
|
|
72144
|
+
"type": {
|
|
72145
|
+
"text": "boolean | undefined"
|
|
72146
|
+
},
|
|
72147
|
+
"privacy": "protected",
|
|
72148
|
+
"readonly": true,
|
|
72149
|
+
"inheritedFrom": {
|
|
72150
|
+
"name": "SbbActionBaseElement",
|
|
72151
|
+
"module": "core/base-elements.js"
|
|
72152
|
+
}
|
|
72153
|
+
},
|
|
72154
|
+
{
|
|
72155
|
+
"kind": "method",
|
|
72156
|
+
"name": "setupBaseEventHandlers",
|
|
72157
|
+
"privacy": "protected",
|
|
72158
|
+
"return": {
|
|
72159
|
+
"type": {
|
|
72160
|
+
"text": "void"
|
|
72161
|
+
}
|
|
72162
|
+
},
|
|
72163
|
+
"inheritedFrom": {
|
|
72164
|
+
"name": "SbbActionBaseElement",
|
|
72165
|
+
"module": "core/base-elements.js"
|
|
72166
|
+
}
|
|
72167
|
+
}
|
|
72168
|
+
],
|
|
72169
|
+
"superclass": {
|
|
72170
|
+
"name": "SbbSecondaryButtonElement",
|
|
72171
|
+
"module": "button/secondary-button.js"
|
|
72172
|
+
},
|
|
72173
|
+
"tagName": "sbb-sidebar-close-button",
|
|
72174
|
+
"customElement": true,
|
|
72175
|
+
"attributes": [
|
|
72176
|
+
{
|
|
72177
|
+
"name": "size",
|
|
72178
|
+
"type": {
|
|
72179
|
+
"text": "SbbButtonSize"
|
|
72180
|
+
},
|
|
72181
|
+
"description": "Size variant, either l, m or s.",
|
|
72182
|
+
"default": "'l' / 's' (lean)",
|
|
72183
|
+
"fieldName": "size",
|
|
72184
|
+
"inheritedFrom": {
|
|
72185
|
+
"name": "SbbButtonCommonElementMixin",
|
|
72186
|
+
"module": "button/common/button-common.js"
|
|
72187
|
+
}
|
|
72188
|
+
},
|
|
72189
|
+
{
|
|
72190
|
+
"name": "negative",
|
|
72191
|
+
"type": {
|
|
72192
|
+
"text": "boolean"
|
|
72193
|
+
},
|
|
72194
|
+
"default": "false",
|
|
72195
|
+
"description": "Negative coloring variant flag.",
|
|
72196
|
+
"fieldName": "negative",
|
|
72197
|
+
"inheritedFrom": {
|
|
72198
|
+
"name": "SbbNegativeMixin",
|
|
72199
|
+
"module": "core/mixins.js"
|
|
72200
|
+
}
|
|
72201
|
+
},
|
|
72202
|
+
{
|
|
72203
|
+
"name": "icon-name",
|
|
72204
|
+
"type": {
|
|
72205
|
+
"text": "string"
|
|
72206
|
+
},
|
|
72207
|
+
"default": "''",
|
|
72208
|
+
"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.",
|
|
72209
|
+
"fieldName": "iconName",
|
|
72210
|
+
"inheritedFrom": {
|
|
72211
|
+
"name": "SbbIconNameMixin",
|
|
72212
|
+
"module": "icon.js"
|
|
72213
|
+
}
|
|
72214
|
+
},
|
|
72215
|
+
{
|
|
72216
|
+
"name": "disabled-interactive",
|
|
72217
|
+
"type": {
|
|
72218
|
+
"text": "boolean"
|
|
72219
|
+
},
|
|
72220
|
+
"default": "false",
|
|
72221
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
72222
|
+
"fieldName": "disabledInteractive",
|
|
72223
|
+
"inheritedFrom": {
|
|
72224
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
72225
|
+
"module": "core/mixins.js"
|
|
72226
|
+
}
|
|
72227
|
+
},
|
|
72228
|
+
{
|
|
72229
|
+
"name": "disabled",
|
|
72230
|
+
"type": {
|
|
72231
|
+
"text": "boolean"
|
|
72232
|
+
},
|
|
72233
|
+
"default": "false",
|
|
72234
|
+
"description": "Whether the component is disabled.",
|
|
72235
|
+
"fieldName": "disabled",
|
|
72236
|
+
"inheritedFrom": {
|
|
72237
|
+
"name": "SbbDisabledMixin",
|
|
72238
|
+
"module": "core/mixins.js"
|
|
72239
|
+
}
|
|
72240
|
+
},
|
|
72241
|
+
{
|
|
72242
|
+
"name": "name",
|
|
72243
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
72244
|
+
"type": {
|
|
72245
|
+
"text": "string"
|
|
72246
|
+
},
|
|
72247
|
+
"fieldName": "name",
|
|
72248
|
+
"inheritedFrom": {
|
|
72249
|
+
"name": "SbbFormAssociatedMixin",
|
|
72250
|
+
"module": "core/mixins.js"
|
|
72251
|
+
}
|
|
72252
|
+
},
|
|
72253
|
+
{
|
|
72254
|
+
"name": "value",
|
|
72255
|
+
"description": "Value of the form element.",
|
|
72256
|
+
"type": {
|
|
72257
|
+
"text": "string | null"
|
|
72258
|
+
},
|
|
72259
|
+
"fieldName": "value",
|
|
72260
|
+
"inheritedFrom": {
|
|
72261
|
+
"name": "SbbFormAssociatedMixin",
|
|
72262
|
+
"module": "core/mixins.js"
|
|
72263
|
+
}
|
|
72264
|
+
},
|
|
72265
|
+
{
|
|
72266
|
+
"name": "type",
|
|
72267
|
+
"description": "The type attribute to use for the button.",
|
|
72268
|
+
"default": "'button'",
|
|
72269
|
+
"type": {
|
|
72270
|
+
"text": "SbbButtonType"
|
|
72271
|
+
},
|
|
72272
|
+
"fieldName": "type",
|
|
72273
|
+
"inheritedFrom": {
|
|
72274
|
+
"name": "SbbButtonBaseElement",
|
|
72275
|
+
"module": "core/base-elements.js"
|
|
72276
|
+
}
|
|
72277
|
+
},
|
|
72278
|
+
{
|
|
72279
|
+
"name": "form",
|
|
72280
|
+
"description": "The `<form>` element to associate the button with.",
|
|
72281
|
+
"type": {
|
|
72282
|
+
"text": "HTMLFormElement | null"
|
|
72283
|
+
},
|
|
72284
|
+
"fieldName": "form",
|
|
72285
|
+
"inheritedFrom": {
|
|
72286
|
+
"name": "SbbButtonBaseElement",
|
|
72287
|
+
"module": "core/base-elements.js"
|
|
72288
|
+
}
|
|
72289
|
+
}
|
|
72290
|
+
]
|
|
72291
|
+
}
|
|
72292
|
+
],
|
|
72293
|
+
"exports": [
|
|
72294
|
+
{
|
|
72295
|
+
"kind": "js",
|
|
72296
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
72297
|
+
"declaration": {
|
|
72298
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
72299
|
+
"module": "sidebar/sidebar-close-button.js"
|
|
72300
|
+
}
|
|
72301
|
+
},
|
|
72302
|
+
{
|
|
72303
|
+
"kind": "custom-element-definition",
|
|
72304
|
+
"name": "sbb-sidebar-close-button",
|
|
72305
|
+
"declaration": {
|
|
72306
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
72307
|
+
"module": "sidebar/sidebar-close-button.js"
|
|
72308
|
+
}
|
|
72309
|
+
}
|
|
72310
|
+
]
|
|
72311
|
+
},
|
|
72312
|
+
{
|
|
72313
|
+
"kind": "javascript-module",
|
|
72314
|
+
"path": "sidebar/sidebar-container.js",
|
|
72315
|
+
"declarations": [
|
|
72316
|
+
{
|
|
72317
|
+
"kind": "class",
|
|
72318
|
+
"description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
|
|
72319
|
+
"name": "SbbSidebarContainerElement",
|
|
72320
|
+
"slots": [
|
|
72321
|
+
{
|
|
72322
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
72323
|
+
"name": ""
|
|
72324
|
+
}
|
|
72325
|
+
],
|
|
72326
|
+
"members": [
|
|
72327
|
+
{
|
|
72328
|
+
"kind": "field",
|
|
72329
|
+
"name": "sidebars",
|
|
72330
|
+
"type": {
|
|
72331
|
+
"text": "SbbSidebarElement[]"
|
|
72332
|
+
},
|
|
72333
|
+
"privacy": "public",
|
|
72334
|
+
"description": "The sidebar children.",
|
|
72335
|
+
"readonly": true
|
|
72336
|
+
},
|
|
72337
|
+
{
|
|
72338
|
+
"kind": "field",
|
|
72339
|
+
"name": "start",
|
|
72340
|
+
"type": {
|
|
72341
|
+
"text": "SbbSidebarElement | null"
|
|
72342
|
+
},
|
|
72343
|
+
"privacy": "public",
|
|
72344
|
+
"description": "The sidebar child with the `start` position.",
|
|
72345
|
+
"readonly": true
|
|
72346
|
+
},
|
|
72347
|
+
{
|
|
72348
|
+
"kind": "field",
|
|
72349
|
+
"name": "end",
|
|
72350
|
+
"type": {
|
|
72351
|
+
"text": "SbbSidebarElement | null"
|
|
72352
|
+
},
|
|
72353
|
+
"privacy": "public",
|
|
72354
|
+
"description": "The sidebar child with the `end` position.",
|
|
72355
|
+
"readonly": true
|
|
72356
|
+
},
|
|
72357
|
+
{
|
|
72358
|
+
"kind": "field",
|
|
72359
|
+
"name": "_forcedClosedSidebars",
|
|
72360
|
+
"privacy": "private",
|
|
72361
|
+
"default": "new WeakSet<SbbSidebarElement>()"
|
|
72362
|
+
},
|
|
72363
|
+
{
|
|
72364
|
+
"kind": "method",
|
|
72365
|
+
"name": "_handleWidthChange",
|
|
72366
|
+
"privacy": "private",
|
|
72367
|
+
"return": {
|
|
72368
|
+
"type": {
|
|
72369
|
+
"text": "void"
|
|
72370
|
+
}
|
|
72371
|
+
}
|
|
72372
|
+
},
|
|
72373
|
+
{
|
|
72374
|
+
"kind": "method",
|
|
72375
|
+
"name": "_calculateSpaceState",
|
|
72376
|
+
"privacy": "private",
|
|
72377
|
+
"return": {
|
|
72378
|
+
"type": {
|
|
72379
|
+
"text": "Promise<void>"
|
|
72380
|
+
}
|
|
72381
|
+
},
|
|
72382
|
+
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
72383
|
+
}
|
|
72384
|
+
],
|
|
72385
|
+
"superclass": {
|
|
72386
|
+
"name": "LitElement",
|
|
72387
|
+
"package": "lit"
|
|
72388
|
+
},
|
|
72389
|
+
"tagName": "sbb-sidebar-container",
|
|
72390
|
+
"customElement": true
|
|
72391
|
+
}
|
|
72392
|
+
],
|
|
72393
|
+
"exports": [
|
|
72394
|
+
{
|
|
72395
|
+
"kind": "js",
|
|
72396
|
+
"name": "SbbSidebarContainerElement",
|
|
72397
|
+
"declaration": {
|
|
72398
|
+
"name": "SbbSidebarContainerElement",
|
|
72399
|
+
"module": "sidebar/sidebar-container.js"
|
|
72400
|
+
}
|
|
72401
|
+
},
|
|
72402
|
+
{
|
|
72403
|
+
"kind": "custom-element-definition",
|
|
72404
|
+
"name": "sbb-sidebar-container",
|
|
72405
|
+
"declaration": {
|
|
72406
|
+
"name": "SbbSidebarContainerElement",
|
|
72407
|
+
"module": "sidebar/sidebar-container.js"
|
|
72408
|
+
}
|
|
72409
|
+
}
|
|
72410
|
+
]
|
|
72411
|
+
},
|
|
72412
|
+
{
|
|
72413
|
+
"kind": "javascript-module",
|
|
72414
|
+
"path": "sidebar/sidebar-content.js",
|
|
72415
|
+
"declarations": [
|
|
72416
|
+
{
|
|
72417
|
+
"kind": "class",
|
|
72418
|
+
"description": "Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.",
|
|
72419
|
+
"name": "SbbSidebarContentElement",
|
|
72420
|
+
"slots": [
|
|
72421
|
+
{
|
|
72422
|
+
"description": "Use the unnamed slot to add any content elements. Further `sbb-sidebar-container`s are possible.",
|
|
72423
|
+
"name": ""
|
|
72424
|
+
}
|
|
72425
|
+
],
|
|
72426
|
+
"members": [],
|
|
72427
|
+
"superclass": {
|
|
72428
|
+
"name": "LitElement",
|
|
72429
|
+
"package": "lit"
|
|
72430
|
+
},
|
|
72431
|
+
"tagName": "sbb-sidebar-content",
|
|
72432
|
+
"customElement": true
|
|
72433
|
+
}
|
|
72434
|
+
],
|
|
72435
|
+
"exports": [
|
|
72436
|
+
{
|
|
72437
|
+
"kind": "js",
|
|
72438
|
+
"name": "SbbSidebarContentElement",
|
|
72439
|
+
"declaration": {
|
|
72440
|
+
"name": "SbbSidebarContentElement",
|
|
72441
|
+
"module": "sidebar/sidebar-content.js"
|
|
72442
|
+
}
|
|
72443
|
+
},
|
|
72444
|
+
{
|
|
72445
|
+
"kind": "custom-element-definition",
|
|
72446
|
+
"name": "sbb-sidebar-content",
|
|
72447
|
+
"declaration": {
|
|
72448
|
+
"name": "SbbSidebarContentElement",
|
|
72449
|
+
"module": "sidebar/sidebar-content.js"
|
|
72450
|
+
}
|
|
72451
|
+
}
|
|
72452
|
+
]
|
|
72453
|
+
},
|
|
72454
|
+
{
|
|
72455
|
+
"kind": "javascript-module",
|
|
72456
|
+
"path": "sidebar/sidebar-title.js",
|
|
72457
|
+
"declarations": [
|
|
72458
|
+
{
|
|
72459
|
+
"kind": "class",
|
|
72460
|
+
"description": "It displays the title of the sidebar. It has to be placed inside an `sbb-sidebar` element.",
|
|
72461
|
+
"name": "SbbSidebarTitleElement",
|
|
72462
|
+
"members": [
|
|
72463
|
+
{
|
|
72464
|
+
"kind": "field",
|
|
72465
|
+
"name": "level",
|
|
72466
|
+
"type": {
|
|
72467
|
+
"text": "SbbTitleLevel"
|
|
72468
|
+
},
|
|
72469
|
+
"privacy": "public",
|
|
72470
|
+
"default": "'2'",
|
|
72471
|
+
"description": "Title level",
|
|
72472
|
+
"attribute": "level",
|
|
72473
|
+
"reflects": true,
|
|
72474
|
+
"inheritedFrom": {
|
|
72475
|
+
"name": "SbbTitleBase",
|
|
72476
|
+
"module": "title.js"
|
|
72477
|
+
}
|
|
72478
|
+
},
|
|
72479
|
+
{
|
|
72480
|
+
"kind": "field",
|
|
72481
|
+
"name": "visualLevel",
|
|
72482
|
+
"type": {
|
|
72483
|
+
"text": "SbbTitleLevel | null"
|
|
72484
|
+
},
|
|
72485
|
+
"privacy": "public",
|
|
72486
|
+
"default": "'5'",
|
|
72487
|
+
"description": "Visual level for the title. Optional, if not set, the value of level will be used.",
|
|
72488
|
+
"attribute": "visual-level",
|
|
72489
|
+
"reflects": true,
|
|
72490
|
+
"inheritedFrom": {
|
|
72491
|
+
"name": "SbbTitleBase",
|
|
72492
|
+
"module": "title.js"
|
|
72493
|
+
}
|
|
72494
|
+
},
|
|
72495
|
+
{
|
|
72496
|
+
"kind": "field",
|
|
72497
|
+
"name": "visuallyHidden",
|
|
72498
|
+
"type": {
|
|
72499
|
+
"text": "boolean"
|
|
72500
|
+
},
|
|
72501
|
+
"privacy": "public",
|
|
72502
|
+
"default": "false",
|
|
72503
|
+
"description": "Sometimes we need a title in the markup to present a proper hierarchy\nto the screen readers while we do not want to let that title appear\nvisually. In this case we set visuallyHidden to true.",
|
|
72504
|
+
"attribute": "visually-hidden",
|
|
72505
|
+
"reflects": true,
|
|
72506
|
+
"inheritedFrom": {
|
|
72507
|
+
"name": "SbbTitleBase",
|
|
72508
|
+
"module": "title.js"
|
|
72509
|
+
}
|
|
72510
|
+
}
|
|
72511
|
+
],
|
|
72512
|
+
"attributes": [
|
|
72513
|
+
{
|
|
72514
|
+
"name": "level",
|
|
72515
|
+
"type": {
|
|
72516
|
+
"text": "SbbTitleLevel"
|
|
72517
|
+
},
|
|
72518
|
+
"default": "'2'",
|
|
72519
|
+
"description": "Title level",
|
|
72520
|
+
"fieldName": "level",
|
|
72521
|
+
"inheritedFrom": {
|
|
72522
|
+
"name": "SbbTitleBase",
|
|
72523
|
+
"module": "title.js"
|
|
72524
|
+
}
|
|
72525
|
+
},
|
|
72526
|
+
{
|
|
72527
|
+
"name": "visual-level",
|
|
72528
|
+
"type": {
|
|
72529
|
+
"text": "SbbTitleLevel | null"
|
|
72530
|
+
},
|
|
72531
|
+
"default": "null",
|
|
72532
|
+
"description": "Visual level for the title. Optional, if not set, the value of level will be used.",
|
|
72533
|
+
"fieldName": "visualLevel",
|
|
72534
|
+
"inheritedFrom": {
|
|
72535
|
+
"name": "SbbTitleBase",
|
|
72536
|
+
"module": "title.js"
|
|
72537
|
+
}
|
|
72538
|
+
},
|
|
72539
|
+
{
|
|
72540
|
+
"name": "visually-hidden",
|
|
72541
|
+
"type": {
|
|
72542
|
+
"text": "boolean"
|
|
72543
|
+
},
|
|
72544
|
+
"default": "false",
|
|
72545
|
+
"description": "Sometimes we need a title in the markup to present a proper hierarchy\nto the screen readers while we do not want to let that title appear\nvisually. In this case we set visuallyHidden to true.",
|
|
72546
|
+
"fieldName": "visuallyHidden",
|
|
72547
|
+
"inheritedFrom": {
|
|
72548
|
+
"name": "SbbTitleBase",
|
|
72549
|
+
"module": "title.js"
|
|
72550
|
+
}
|
|
72551
|
+
}
|
|
72552
|
+
],
|
|
72553
|
+
"superclass": {
|
|
72554
|
+
"name": "SbbTitleBase",
|
|
72555
|
+
"module": "title.js"
|
|
72556
|
+
},
|
|
72557
|
+
"tagName": "sbb-sidebar-title",
|
|
72558
|
+
"customElement": true,
|
|
72559
|
+
"slots": [
|
|
72560
|
+
{
|
|
72561
|
+
"description": "Use the unnamed slot to place the content of the title.",
|
|
72562
|
+
"name": "",
|
|
72563
|
+
"inheritedFrom": {
|
|
72564
|
+
"name": "SbbTitleBase",
|
|
72565
|
+
"module": "title.js"
|
|
72566
|
+
}
|
|
72567
|
+
}
|
|
72568
|
+
]
|
|
72569
|
+
}
|
|
72570
|
+
],
|
|
72571
|
+
"exports": [
|
|
72572
|
+
{
|
|
72573
|
+
"kind": "js",
|
|
72574
|
+
"name": "SbbSidebarTitleElement",
|
|
72575
|
+
"declaration": {
|
|
72576
|
+
"name": "SbbSidebarTitleElement",
|
|
72577
|
+
"module": "sidebar/sidebar-title.js"
|
|
72578
|
+
}
|
|
72579
|
+
},
|
|
72580
|
+
{
|
|
72581
|
+
"kind": "custom-element-definition",
|
|
72582
|
+
"name": "sbb-sidebar-title",
|
|
72583
|
+
"declaration": {
|
|
72584
|
+
"name": "SbbSidebarTitleElement",
|
|
72585
|
+
"module": "sidebar/sidebar-title.js"
|
|
72586
|
+
}
|
|
72587
|
+
}
|
|
72588
|
+
]
|
|
72589
|
+
},
|
|
72590
|
+
{
|
|
72591
|
+
"kind": "javascript-module",
|
|
72592
|
+
"path": "sidebar/sidebar.js",
|
|
72593
|
+
"declarations": [
|
|
72594
|
+
{
|
|
72595
|
+
"kind": "class",
|
|
72596
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
72597
|
+
"name": "SbbSidebarElement",
|
|
72598
|
+
"slots": [
|
|
72599
|
+
{
|
|
72600
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
72601
|
+
"name": ""
|
|
72602
|
+
},
|
|
72603
|
+
{
|
|
72604
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
72605
|
+
"name": "title"
|
|
72606
|
+
}
|
|
72607
|
+
],
|
|
72608
|
+
"members": [
|
|
72609
|
+
{
|
|
72610
|
+
"kind": "field",
|
|
72611
|
+
"name": "color",
|
|
72612
|
+
"type": {
|
|
72613
|
+
"text": "'white' | 'milk'"
|
|
72614
|
+
},
|
|
72615
|
+
"privacy": "public",
|
|
72616
|
+
"default": "'white'",
|
|
72617
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
72618
|
+
"attribute": "color",
|
|
72619
|
+
"reflects": true
|
|
72620
|
+
},
|
|
72621
|
+
{
|
|
72622
|
+
"kind": "field",
|
|
72623
|
+
"name": "mode",
|
|
72624
|
+
"type": {
|
|
72625
|
+
"text": "'side' | 'over'"
|
|
72626
|
+
},
|
|
72627
|
+
"privacy": "public",
|
|
72628
|
+
"default": "'side'",
|
|
72629
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
72630
|
+
"attribute": "mode",
|
|
72631
|
+
"reflects": true
|
|
72632
|
+
},
|
|
72633
|
+
{
|
|
72634
|
+
"kind": "field",
|
|
72635
|
+
"name": "position",
|
|
72636
|
+
"type": {
|
|
72637
|
+
"text": "'start' | 'end'"
|
|
72638
|
+
},
|
|
72639
|
+
"privacy": "public",
|
|
72640
|
+
"default": "'start'",
|
|
72641
|
+
"description": "The side that the sidebar is attached to.",
|
|
72642
|
+
"attribute": "position",
|
|
72643
|
+
"reflects": true
|
|
72644
|
+
},
|
|
72645
|
+
{
|
|
72646
|
+
"kind": "field",
|
|
72647
|
+
"name": "opened",
|
|
72648
|
+
"type": {
|
|
72649
|
+
"text": "boolean"
|
|
72650
|
+
},
|
|
72651
|
+
"privacy": "public",
|
|
72652
|
+
"default": "false",
|
|
72653
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
72654
|
+
"attribute": "opened",
|
|
72655
|
+
"reflects": true
|
|
72656
|
+
},
|
|
72657
|
+
{
|
|
72658
|
+
"kind": "field",
|
|
72659
|
+
"name": "focusOnOpen",
|
|
72660
|
+
"type": {
|
|
72661
|
+
"text": "boolean"
|
|
72662
|
+
},
|
|
72663
|
+
"privacy": "public",
|
|
72664
|
+
"default": "false",
|
|
72665
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
72666
|
+
"attribute": "focus-on-open"
|
|
72667
|
+
},
|
|
72668
|
+
{
|
|
72669
|
+
"kind": "field",
|
|
72670
|
+
"name": "container",
|
|
72671
|
+
"type": {
|
|
72672
|
+
"text": "SbbSidebarContainerElement | null"
|
|
72673
|
+
},
|
|
72674
|
+
"privacy": "public",
|
|
72675
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
72676
|
+
"readonly": true,
|
|
72677
|
+
"default": "null"
|
|
72678
|
+
},
|
|
72679
|
+
{
|
|
72680
|
+
"kind": "field",
|
|
72681
|
+
"name": "_container",
|
|
72682
|
+
"type": {
|
|
72683
|
+
"text": "SbbSidebarContainerElement | null"
|
|
72684
|
+
},
|
|
72685
|
+
"privacy": "private",
|
|
72686
|
+
"default": "null"
|
|
72687
|
+
},
|
|
72688
|
+
{
|
|
72689
|
+
"kind": "field",
|
|
72690
|
+
"name": "_lastFocusedElement",
|
|
72691
|
+
"type": {
|
|
72692
|
+
"text": "HTMLElement | null"
|
|
72693
|
+
},
|
|
72694
|
+
"privacy": "private",
|
|
72695
|
+
"default": "null"
|
|
72696
|
+
},
|
|
72697
|
+
{
|
|
72698
|
+
"kind": "field",
|
|
72699
|
+
"name": "_focusHandler",
|
|
72700
|
+
"privacy": "private",
|
|
72701
|
+
"default": "new SbbFocusHandler()"
|
|
72702
|
+
},
|
|
72703
|
+
{
|
|
72704
|
+
"kind": "field",
|
|
72705
|
+
"name": "_inertController",
|
|
72706
|
+
"privacy": "private",
|
|
72707
|
+
"default": "new SbbInertController(this)"
|
|
72708
|
+
},
|
|
72709
|
+
{
|
|
72710
|
+
"kind": "field",
|
|
72711
|
+
"name": "_escapableOverlayController",
|
|
72712
|
+
"privacy": "private",
|
|
72713
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
72714
|
+
},
|
|
72715
|
+
{
|
|
72716
|
+
"kind": "field",
|
|
72717
|
+
"name": "_windowEventsController",
|
|
72718
|
+
"type": {
|
|
72719
|
+
"text": "AbortController"
|
|
72720
|
+
},
|
|
72721
|
+
"privacy": "private"
|
|
72722
|
+
},
|
|
72723
|
+
{
|
|
72724
|
+
"kind": "field",
|
|
72725
|
+
"name": "_isPointerDownEventOnSidebar",
|
|
72726
|
+
"type": {
|
|
72727
|
+
"text": "boolean"
|
|
72728
|
+
},
|
|
72729
|
+
"privacy": "private",
|
|
72730
|
+
"default": "false"
|
|
72731
|
+
},
|
|
72732
|
+
{
|
|
72733
|
+
"kind": "method",
|
|
72734
|
+
"name": "toggle",
|
|
72735
|
+
"privacy": "public",
|
|
72736
|
+
"return": {
|
|
72737
|
+
"type": {
|
|
72738
|
+
"text": "void"
|
|
72739
|
+
}
|
|
72740
|
+
},
|
|
72741
|
+
"description": "Toggles the sidebar visibility."
|
|
72742
|
+
},
|
|
72743
|
+
{
|
|
72744
|
+
"kind": "method",
|
|
72745
|
+
"name": "open",
|
|
72746
|
+
"privacy": "public",
|
|
72747
|
+
"return": {
|
|
72748
|
+
"type": {
|
|
72749
|
+
"text": "void"
|
|
72750
|
+
}
|
|
72751
|
+
},
|
|
72752
|
+
"description": "Opens the sidebar.",
|
|
72753
|
+
"inheritedFrom": {
|
|
72754
|
+
"name": "SbbOpenCloseBaseElement",
|
|
72755
|
+
"module": "core/base-elements.js"
|
|
72756
|
+
}
|
|
72757
|
+
},
|
|
72758
|
+
{
|
|
72759
|
+
"kind": "method",
|
|
72760
|
+
"name": "_isZeroAnimationDuration",
|
|
72761
|
+
"privacy": "private",
|
|
72762
|
+
"return": {
|
|
72763
|
+
"type": {
|
|
72764
|
+
"text": "boolean"
|
|
72765
|
+
}
|
|
72766
|
+
}
|
|
72767
|
+
},
|
|
72768
|
+
{
|
|
72769
|
+
"kind": "method",
|
|
72770
|
+
"name": "_handleOpening",
|
|
72771
|
+
"privacy": "private",
|
|
72772
|
+
"return": {
|
|
72773
|
+
"type": {
|
|
72774
|
+
"text": "void"
|
|
72775
|
+
}
|
|
72776
|
+
}
|
|
72777
|
+
},
|
|
72778
|
+
{
|
|
72779
|
+
"kind": "method",
|
|
72780
|
+
"name": "close",
|
|
72781
|
+
"privacy": "public",
|
|
72782
|
+
"return": {
|
|
72783
|
+
"type": {
|
|
72784
|
+
"text": "void"
|
|
72785
|
+
}
|
|
72786
|
+
},
|
|
72787
|
+
"description": "Closes the sidebar.",
|
|
72788
|
+
"inheritedFrom": {
|
|
72789
|
+
"name": "SbbOpenCloseBaseElement",
|
|
72790
|
+
"module": "core/base-elements.js"
|
|
72791
|
+
}
|
|
72792
|
+
},
|
|
72793
|
+
{
|
|
72794
|
+
"kind": "method",
|
|
72795
|
+
"name": "_handleClosing",
|
|
72796
|
+
"privacy": "private",
|
|
72797
|
+
"return": {
|
|
72798
|
+
"type": {
|
|
72799
|
+
"text": "void"
|
|
72800
|
+
}
|
|
72801
|
+
}
|
|
72802
|
+
},
|
|
72803
|
+
{
|
|
72804
|
+
"kind": "method",
|
|
72805
|
+
"name": "_takeFocus",
|
|
72806
|
+
"privacy": "private",
|
|
72807
|
+
"return": {
|
|
72808
|
+
"type": {
|
|
72809
|
+
"text": "void"
|
|
72810
|
+
}
|
|
72811
|
+
}
|
|
72812
|
+
},
|
|
72813
|
+
{
|
|
72814
|
+
"kind": "method",
|
|
72815
|
+
"name": "_attachWindowEvents",
|
|
72816
|
+
"privacy": "private",
|
|
72817
|
+
"return": {
|
|
72818
|
+
"type": {
|
|
72819
|
+
"text": "void"
|
|
72820
|
+
}
|
|
72821
|
+
}
|
|
72822
|
+
},
|
|
72823
|
+
{
|
|
72824
|
+
"kind": "field",
|
|
72825
|
+
"name": "_pointerDownListener",
|
|
72826
|
+
"privacy": "private"
|
|
72827
|
+
},
|
|
72828
|
+
{
|
|
72829
|
+
"kind": "field",
|
|
72830
|
+
"name": "_closeOnBackdropClick",
|
|
72831
|
+
"privacy": "private"
|
|
72832
|
+
},
|
|
72833
|
+
{
|
|
72834
|
+
"kind": "method",
|
|
72835
|
+
"name": "cedeFocus",
|
|
72836
|
+
"privacy": "protected",
|
|
72837
|
+
"return": {
|
|
72838
|
+
"type": {
|
|
72839
|
+
"text": "void"
|
|
72840
|
+
}
|
|
72841
|
+
}
|
|
72842
|
+
},
|
|
72843
|
+
{
|
|
72844
|
+
"kind": "method",
|
|
72845
|
+
"name": "_updateSidebarWidth",
|
|
72846
|
+
"privacy": "private",
|
|
72847
|
+
"return": {
|
|
72848
|
+
"type": {
|
|
72849
|
+
"text": "void"
|
|
72850
|
+
}
|
|
72851
|
+
},
|
|
72852
|
+
"parameters": [
|
|
72853
|
+
{
|
|
72854
|
+
"name": "oldPosition",
|
|
72855
|
+
"optional": true,
|
|
72856
|
+
"type": {
|
|
72857
|
+
"text": "this['position']"
|
|
72858
|
+
}
|
|
72859
|
+
}
|
|
72860
|
+
]
|
|
72861
|
+
},
|
|
72862
|
+
{
|
|
72863
|
+
"kind": "method",
|
|
72864
|
+
"name": "_buildCssWidthVar",
|
|
72865
|
+
"privacy": "private",
|
|
72866
|
+
"return": {
|
|
72867
|
+
"type": {
|
|
72868
|
+
"text": "string"
|
|
72869
|
+
}
|
|
72870
|
+
},
|
|
72871
|
+
"parameters": [
|
|
72872
|
+
{
|
|
72873
|
+
"name": "position",
|
|
72874
|
+
"default": "this.position"
|
|
72875
|
+
}
|
|
72876
|
+
]
|
|
72877
|
+
},
|
|
72878
|
+
{
|
|
72879
|
+
"kind": "method",
|
|
72880
|
+
"name": "_isModeOver",
|
|
72881
|
+
"privacy": "private",
|
|
72882
|
+
"return": {
|
|
72883
|
+
"type": {
|
|
72884
|
+
"text": "boolean"
|
|
72885
|
+
}
|
|
72886
|
+
}
|
|
72887
|
+
},
|
|
72888
|
+
{
|
|
72889
|
+
"kind": "method",
|
|
72890
|
+
"name": "_onTransitionEnd",
|
|
72891
|
+
"privacy": "private",
|
|
72892
|
+
"return": {
|
|
72893
|
+
"type": {
|
|
72894
|
+
"text": "void"
|
|
72895
|
+
}
|
|
72896
|
+
},
|
|
72897
|
+
"parameters": [
|
|
72898
|
+
{
|
|
72899
|
+
"name": "event",
|
|
72900
|
+
"type": {
|
|
72901
|
+
"text": "TransitionEvent"
|
|
72902
|
+
}
|
|
72903
|
+
}
|
|
72904
|
+
]
|
|
72905
|
+
},
|
|
72906
|
+
{
|
|
72907
|
+
"kind": "method",
|
|
72908
|
+
"name": "_detectScrolledState",
|
|
72909
|
+
"privacy": "private",
|
|
72910
|
+
"return": {
|
|
72911
|
+
"type": {
|
|
72912
|
+
"text": "void"
|
|
72913
|
+
}
|
|
72914
|
+
}
|
|
72915
|
+
},
|
|
72916
|
+
{
|
|
72917
|
+
"kind": "field",
|
|
72918
|
+
"name": "isAnimating",
|
|
72919
|
+
"type": {
|
|
72920
|
+
"text": "boolean"
|
|
72921
|
+
},
|
|
72922
|
+
"privacy": "public",
|
|
72923
|
+
"default": "false",
|
|
72924
|
+
"description": "Whether the component is currently animating.",
|
|
72925
|
+
"inheritedFrom": {
|
|
72926
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72927
|
+
"module": "core/mixins.js"
|
|
72928
|
+
}
|
|
72929
|
+
},
|
|
72930
|
+
{
|
|
72931
|
+
"kind": "field",
|
|
72932
|
+
"name": "animationComplete",
|
|
72933
|
+
"type": {
|
|
72934
|
+
"text": "Promise<void>"
|
|
72935
|
+
},
|
|
72936
|
+
"privacy": "public",
|
|
72937
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
72938
|
+
"readonly": true,
|
|
72939
|
+
"inheritedFrom": {
|
|
72940
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72941
|
+
"module": "core/mixins.js"
|
|
72942
|
+
}
|
|
72943
|
+
},
|
|
72944
|
+
{
|
|
72945
|
+
"kind": "field",
|
|
72946
|
+
"name": "_animationPromise",
|
|
72947
|
+
"type": {
|
|
72948
|
+
"text": "Promise<void>"
|
|
72949
|
+
},
|
|
72950
|
+
"privacy": "private",
|
|
72951
|
+
"inheritedFrom": {
|
|
72952
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72953
|
+
"module": "core/mixins.js"
|
|
72954
|
+
}
|
|
72955
|
+
},
|
|
72956
|
+
{
|
|
72957
|
+
"kind": "method",
|
|
72958
|
+
"name": "startAnimation",
|
|
72959
|
+
"privacy": "protected",
|
|
72960
|
+
"return": {
|
|
72961
|
+
"type": {
|
|
72962
|
+
"text": "void"
|
|
72963
|
+
}
|
|
72964
|
+
},
|
|
72965
|
+
"inheritedFrom": {
|
|
72966
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72967
|
+
"module": "core/mixins.js"
|
|
72968
|
+
}
|
|
72969
|
+
},
|
|
72970
|
+
{
|
|
72971
|
+
"kind": "method",
|
|
72972
|
+
"name": "stopAnimation",
|
|
72973
|
+
"privacy": "protected",
|
|
72974
|
+
"return": {
|
|
72975
|
+
"type": {
|
|
72976
|
+
"text": "void"
|
|
72977
|
+
}
|
|
72978
|
+
},
|
|
72979
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
72980
|
+
"inheritedFrom": {
|
|
72981
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72982
|
+
"module": "core/mixins.js"
|
|
72983
|
+
}
|
|
72984
|
+
},
|
|
72985
|
+
{
|
|
72986
|
+
"kind": "method",
|
|
72987
|
+
"name": "_enqueueAnimation",
|
|
72988
|
+
"privacy": "private",
|
|
72989
|
+
"return": {
|
|
72990
|
+
"type": {
|
|
72991
|
+
"text": "Promise<void>"
|
|
72992
|
+
}
|
|
72993
|
+
},
|
|
72994
|
+
"inheritedFrom": {
|
|
72995
|
+
"name": "SbbAnimationCompleteMixin",
|
|
72996
|
+
"module": "core/mixins.js"
|
|
72997
|
+
}
|
|
72998
|
+
},
|
|
72999
|
+
{
|
|
73000
|
+
"kind": "field",
|
|
73001
|
+
"name": "events",
|
|
73002
|
+
"privacy": "public",
|
|
73003
|
+
"static": true,
|
|
73004
|
+
"readonly": true,
|
|
73005
|
+
"default": "{ willOpen: 'willOpen', didOpen: 'didOpen', willClose: 'willClose', didClose: 'didClose', }",
|
|
73006
|
+
"type": {
|
|
73007
|
+
"text": "{\n willOpen: 'willOpen',\n didOpen: 'didOpen',\n willClose: 'willClose',\n didClose: 'didClose',\n }"
|
|
73008
|
+
},
|
|
73009
|
+
"inheritedFrom": {
|
|
73010
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73011
|
+
"module": "core/base-elements.js"
|
|
73012
|
+
}
|
|
73013
|
+
},
|
|
73014
|
+
{
|
|
73015
|
+
"kind": "field",
|
|
73016
|
+
"name": "state",
|
|
73017
|
+
"privacy": "protected",
|
|
73018
|
+
"description": "The state of the component.",
|
|
73019
|
+
"type": {
|
|
73020
|
+
"text": "SbbOpenedClosedState"
|
|
73021
|
+
},
|
|
73022
|
+
"inheritedFrom": {
|
|
73023
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73024
|
+
"module": "core/base-elements.js"
|
|
73025
|
+
}
|
|
73026
|
+
},
|
|
73027
|
+
{
|
|
73028
|
+
"kind": "field",
|
|
73029
|
+
"name": "isOpen",
|
|
73030
|
+
"type": {
|
|
73031
|
+
"text": "boolean"
|
|
73032
|
+
},
|
|
73033
|
+
"privacy": "public",
|
|
73034
|
+
"description": "Whether the element is open.",
|
|
73035
|
+
"readonly": true,
|
|
73036
|
+
"inheritedFrom": {
|
|
73037
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73038
|
+
"module": "core/base-elements.js"
|
|
73039
|
+
}
|
|
73040
|
+
},
|
|
73041
|
+
{
|
|
73042
|
+
"kind": "field",
|
|
73043
|
+
"name": "willOpen",
|
|
73044
|
+
"type": {
|
|
73045
|
+
"text": "EventEmitter"
|
|
73046
|
+
},
|
|
73047
|
+
"privacy": "protected",
|
|
73048
|
+
"default": "new EventEmitter( this, SbbOpenCloseBaseElement.events.willOpen, { cancelable: true }, )",
|
|
73049
|
+
"description": "Emits whenever the component starts the opening transition.",
|
|
73050
|
+
"inheritedFrom": {
|
|
73051
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73052
|
+
"module": "core/base-elements.js"
|
|
73053
|
+
}
|
|
73054
|
+
},
|
|
73055
|
+
{
|
|
73056
|
+
"kind": "field",
|
|
73057
|
+
"name": "didOpen",
|
|
73058
|
+
"type": {
|
|
73059
|
+
"text": "EventEmitter"
|
|
73060
|
+
},
|
|
73061
|
+
"privacy": "protected",
|
|
73062
|
+
"default": "new EventEmitter(this, SbbOpenCloseBaseElement.events.didOpen, { cancelable: true, })",
|
|
73063
|
+
"description": "Emits whenever the component is opened.",
|
|
73064
|
+
"inheritedFrom": {
|
|
73065
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73066
|
+
"module": "core/base-elements.js"
|
|
73067
|
+
}
|
|
73068
|
+
},
|
|
73069
|
+
{
|
|
73070
|
+
"kind": "field",
|
|
73071
|
+
"name": "willClose",
|
|
73072
|
+
"type": {
|
|
73073
|
+
"text": "EventEmitter"
|
|
73074
|
+
},
|
|
73075
|
+
"privacy": "protected",
|
|
73076
|
+
"default": "new EventEmitter( this, SbbOpenCloseBaseElement.events.willClose, { cancelable: true }, )",
|
|
73077
|
+
"description": "Emits whenever the component begins the closing transition.",
|
|
73078
|
+
"inheritedFrom": {
|
|
73079
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73080
|
+
"module": "core/base-elements.js"
|
|
73081
|
+
}
|
|
73082
|
+
},
|
|
73083
|
+
{
|
|
73084
|
+
"kind": "field",
|
|
73085
|
+
"name": "didClose",
|
|
73086
|
+
"type": {
|
|
73087
|
+
"text": "EventEmitter"
|
|
73088
|
+
},
|
|
73089
|
+
"privacy": "protected",
|
|
73090
|
+
"default": "new EventEmitter( this, SbbOpenCloseBaseElement.events.didClose, { cancelable: true }, )",
|
|
73091
|
+
"description": "Emits whenever the component is closed.",
|
|
73092
|
+
"inheritedFrom": {
|
|
73093
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73094
|
+
"module": "core/base-elements.js"
|
|
73095
|
+
}
|
|
73096
|
+
}
|
|
73097
|
+
],
|
|
73098
|
+
"events": [
|
|
73099
|
+
{
|
|
73100
|
+
"description": "Emits when the opening animation starts. Can be canceled.",
|
|
73101
|
+
"name": "willOpen",
|
|
73102
|
+
"type": {
|
|
73103
|
+
"text": "CustomEvent<void>"
|
|
73104
|
+
},
|
|
73105
|
+
"inheritedFrom": {
|
|
73106
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73107
|
+
"module": "core/base-elements.js"
|
|
73108
|
+
}
|
|
73109
|
+
},
|
|
73110
|
+
{
|
|
73111
|
+
"description": "Emits when the opening animation ends.",
|
|
73112
|
+
"name": "didOpen",
|
|
73113
|
+
"type": {
|
|
73114
|
+
"text": "CustomEvent<void>"
|
|
73115
|
+
},
|
|
73116
|
+
"inheritedFrom": {
|
|
73117
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73118
|
+
"module": "core/base-elements.js"
|
|
73119
|
+
}
|
|
73120
|
+
},
|
|
73121
|
+
{
|
|
73122
|
+
"description": "Emits when the closing animation starts. Can be canceled.",
|
|
73123
|
+
"name": "willClose",
|
|
73124
|
+
"type": {
|
|
73125
|
+
"text": "CustomEvent<void>"
|
|
73126
|
+
},
|
|
73127
|
+
"inheritedFrom": {
|
|
73128
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73129
|
+
"module": "core/base-elements.js"
|
|
73130
|
+
}
|
|
73131
|
+
},
|
|
73132
|
+
{
|
|
73133
|
+
"description": "Emits when the closing animation ends.",
|
|
73134
|
+
"name": "didClose",
|
|
73135
|
+
"type": {
|
|
73136
|
+
"text": "CustomEvent<void>"
|
|
73137
|
+
},
|
|
73138
|
+
"inheritedFrom": {
|
|
73139
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73140
|
+
"module": "core/base-elements.js"
|
|
73141
|
+
}
|
|
73142
|
+
}
|
|
73143
|
+
],
|
|
73144
|
+
"attributes": [
|
|
73145
|
+
{
|
|
73146
|
+
"name": "color",
|
|
73147
|
+
"type": {
|
|
73148
|
+
"text": "'white' | 'milk'"
|
|
73149
|
+
},
|
|
73150
|
+
"default": "'white'",
|
|
73151
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
73152
|
+
"fieldName": "color"
|
|
73153
|
+
},
|
|
73154
|
+
{
|
|
73155
|
+
"name": "mode",
|
|
73156
|
+
"type": {
|
|
73157
|
+
"text": "'side' | 'over'"
|
|
73158
|
+
},
|
|
73159
|
+
"default": "'side'",
|
|
73160
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
73161
|
+
"fieldName": "mode"
|
|
73162
|
+
},
|
|
73163
|
+
{
|
|
73164
|
+
"name": "position",
|
|
73165
|
+
"type": {
|
|
73166
|
+
"text": "'start' | 'end'"
|
|
73167
|
+
},
|
|
73168
|
+
"default": "'start'",
|
|
73169
|
+
"description": "The side that the sidebar is attached to.",
|
|
73170
|
+
"fieldName": "position"
|
|
73171
|
+
},
|
|
73172
|
+
{
|
|
73173
|
+
"name": "opened",
|
|
73174
|
+
"type": {
|
|
73175
|
+
"text": "boolean"
|
|
73176
|
+
},
|
|
73177
|
+
"default": "false",
|
|
73178
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
73179
|
+
"fieldName": "opened"
|
|
73180
|
+
},
|
|
73181
|
+
{
|
|
73182
|
+
"name": "focus-on-open",
|
|
73183
|
+
"type": {
|
|
73184
|
+
"text": "boolean"
|
|
73185
|
+
},
|
|
73186
|
+
"default": "false",
|
|
73187
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
73188
|
+
"fieldName": "focusOnOpen"
|
|
73189
|
+
}
|
|
73190
|
+
],
|
|
73191
|
+
"mixins": [
|
|
73192
|
+
{
|
|
73193
|
+
"name": "SbbAnimationCompleteMixin",
|
|
73194
|
+
"module": "core/mixins.js"
|
|
73195
|
+
}
|
|
73196
|
+
],
|
|
73197
|
+
"superclass": {
|
|
73198
|
+
"name": "SbbOpenCloseBaseElement",
|
|
73199
|
+
"module": "core/base-elements.js"
|
|
73200
|
+
},
|
|
73201
|
+
"tagName": "sbb-sidebar",
|
|
73202
|
+
"customElement": true
|
|
73203
|
+
}
|
|
73204
|
+
],
|
|
73205
|
+
"exports": [
|
|
73206
|
+
{
|
|
73207
|
+
"kind": "js",
|
|
73208
|
+
"name": "SbbSidebarElement",
|
|
73209
|
+
"declaration": {
|
|
73210
|
+
"name": "SbbSidebarElement",
|
|
73211
|
+
"module": "sidebar/sidebar.js"
|
|
73212
|
+
}
|
|
73213
|
+
},
|
|
73214
|
+
{
|
|
73215
|
+
"kind": "custom-element-definition",
|
|
73216
|
+
"name": "sbb-sidebar",
|
|
73217
|
+
"declaration": {
|
|
73218
|
+
"name": "SbbSidebarElement",
|
|
73219
|
+
"module": "sidebar/sidebar.js"
|
|
73220
|
+
}
|
|
73221
|
+
}
|
|
73222
|
+
]
|
|
73223
|
+
},
|
|
73224
|
+
{
|
|
73225
|
+
"kind": "javascript-module",
|
|
73226
|
+
"path": "stepper/step-label.js",
|
|
73227
|
+
"declarations": [
|
|
73228
|
+
{
|
|
73229
|
+
"kind": "class",
|
|
73230
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
73231
|
+
"name": "SbbStepLabelElement",
|
|
73232
|
+
"slots": [
|
|
73233
|
+
{
|
|
73234
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
73235
|
+
"name": ""
|
|
73236
|
+
},
|
|
73237
|
+
{
|
|
73238
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
73239
|
+
"name": "icon"
|
|
73240
|
+
}
|
|
73241
|
+
],
|
|
73242
|
+
"members": [
|
|
73243
|
+
{
|
|
73244
|
+
"kind": "field",
|
|
73245
|
+
"name": "step",
|
|
73246
|
+
"type": {
|
|
73247
|
+
"text": "SbbStepElement | null"
|
|
73248
|
+
},
|
|
73249
|
+
"privacy": "public",
|
|
73250
|
+
"description": "The step controlled by the label.",
|
|
73251
|
+
"readonly": true,
|
|
73252
|
+
"default": "null"
|
|
73253
|
+
},
|
|
73254
|
+
{
|
|
73255
|
+
"kind": "field",
|
|
73256
|
+
"name": "_stepper",
|
|
73257
|
+
"type": {
|
|
73258
|
+
"text": "SbbStepperElement | null"
|
|
73259
|
+
},
|
|
73260
|
+
"privacy": "private",
|
|
73261
|
+
"default": "null"
|
|
73262
|
+
},
|
|
73263
|
+
{
|
|
73264
|
+
"kind": "field",
|
|
73265
|
+
"name": "_step",
|
|
73266
|
+
"type": {
|
|
73267
|
+
"text": "SbbStepElement | null"
|
|
73268
|
+
},
|
|
73269
|
+
"privacy": "private",
|
|
73270
|
+
"default": "null"
|
|
73271
|
+
},
|
|
73272
|
+
{
|
|
73273
|
+
"kind": "method",
|
|
73274
|
+
"name": "_getStep",
|
|
73275
|
+
"privacy": "private",
|
|
73276
|
+
"return": {
|
|
73277
|
+
"type": {
|
|
73278
|
+
"text": "SbbStepElement | null"
|
|
73279
|
+
}
|
|
73280
|
+
}
|
|
73281
|
+
},
|
|
73282
|
+
{
|
|
73283
|
+
"kind": "field",
|
|
73284
|
+
"name": "iconName",
|
|
73285
|
+
"type": {
|
|
73286
|
+
"text": "string"
|
|
73287
|
+
},
|
|
73288
|
+
"privacy": "public",
|
|
73289
|
+
"default": "''",
|
|
73290
|
+
"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.",
|
|
73291
|
+
"attribute": "icon-name",
|
|
73292
|
+
"reflects": true,
|
|
73293
|
+
"inheritedFrom": {
|
|
73294
|
+
"name": "SbbIconNameMixin",
|
|
73295
|
+
"module": "icon.js"
|
|
73296
|
+
}
|
|
73297
|
+
},
|
|
73298
|
+
{
|
|
73299
|
+
"kind": "method",
|
|
73300
|
+
"name": "renderIconSlot",
|
|
73301
|
+
"privacy": "protected",
|
|
73302
|
+
"return": {
|
|
73303
|
+
"type": {
|
|
73304
|
+
"text": "TemplateResult"
|
|
73305
|
+
}
|
|
73306
|
+
},
|
|
73307
|
+
"parameters": [
|
|
73308
|
+
{
|
|
73309
|
+
"name": "classname",
|
|
73310
|
+
"optional": true,
|
|
73311
|
+
"type": {
|
|
73312
|
+
"text": "string"
|
|
73313
|
+
}
|
|
73314
|
+
}
|
|
73315
|
+
],
|
|
73316
|
+
"inheritedFrom": {
|
|
73317
|
+
"name": "SbbIconNameMixin",
|
|
73318
|
+
"module": "icon.js"
|
|
73319
|
+
}
|
|
73320
|
+
},
|
|
73321
|
+
{
|
|
73322
|
+
"kind": "field",
|
|
73323
|
+
"name": "disabled",
|
|
73324
|
+
"type": {
|
|
73325
|
+
"text": "boolean"
|
|
73326
|
+
},
|
|
73327
|
+
"privacy": "public",
|
|
73328
|
+
"default": "false",
|
|
73329
|
+
"description": "Whether the component is disabled.",
|
|
73330
|
+
"attribute": "disabled",
|
|
73331
|
+
"reflects": true,
|
|
73332
|
+
"inheritedFrom": {
|
|
73333
|
+
"name": "SbbDisabledMixin",
|
|
73334
|
+
"module": "core/mixins.js"
|
|
73335
|
+
}
|
|
73336
|
+
},
|
|
73337
|
+
{
|
|
73338
|
+
"kind": "method",
|
|
73339
|
+
"name": "isDisabledExternally",
|
|
73340
|
+
"privacy": "protected",
|
|
73341
|
+
"return": {
|
|
73342
|
+
"type": {
|
|
73343
|
+
"text": "boolean"
|
|
73344
|
+
}
|
|
73345
|
+
},
|
|
73346
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
73347
|
+
"inheritedFrom": {
|
|
73348
|
+
"name": "SbbDisabledMixin",
|
|
73349
|
+
"module": "core/mixins.js"
|
|
73350
|
+
}
|
|
73351
|
+
},
|
|
73352
|
+
{
|
|
73353
|
+
"kind": "field",
|
|
73354
|
+
"name": "formAssociated",
|
|
73355
|
+
"type": {
|
|
73356
|
+
"text": "boolean"
|
|
73357
|
+
},
|
|
73358
|
+
"privacy": "public",
|
|
73359
|
+
"static": true,
|
|
73360
|
+
"default": "true",
|
|
73361
|
+
"inheritedFrom": {
|
|
73362
|
+
"name": "SbbFormAssociatedMixin",
|
|
73363
|
+
"module": "core/mixins.js"
|
|
73364
|
+
}
|
|
73365
|
+
},
|
|
73366
|
+
{
|
|
73367
|
+
"kind": "field",
|
|
73368
|
+
"name": "form",
|
|
73369
|
+
"type": {
|
|
73370
|
+
"text": "HTMLFormElement | null"
|
|
73371
|
+
},
|
|
73372
|
+
"privacy": "public",
|
|
73373
|
+
"description": "The `<form>` element to associate the button with.",
|
|
73374
|
+
"attribute": "form",
|
|
73375
|
+
"inheritedFrom": {
|
|
73376
|
+
"name": "SbbButtonBaseElement",
|
|
73377
|
+
"module": "core/base-elements.js"
|
|
73378
|
+
}
|
|
73379
|
+
},
|
|
73380
|
+
{
|
|
73381
|
+
"kind": "field",
|
|
73382
|
+
"name": "name",
|
|
73383
|
+
"privacy": "public",
|
|
73384
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
73385
|
+
"type": {
|
|
73386
|
+
"text": "string"
|
|
73387
|
+
},
|
|
73388
|
+
"attribute": "name",
|
|
73389
|
+
"inheritedFrom": {
|
|
73390
|
+
"name": "SbbFormAssociatedMixin",
|
|
73391
|
+
"module": "core/mixins.js"
|
|
73392
|
+
}
|
|
73393
|
+
},
|
|
73394
|
+
{
|
|
73395
|
+
"kind": "field",
|
|
73396
|
+
"name": "value",
|
|
73397
|
+
"privacy": "public",
|
|
73398
|
+
"description": "Value of the form element.",
|
|
73399
|
+
"type": {
|
|
73400
|
+
"text": "string | null"
|
|
73401
|
+
},
|
|
73402
|
+
"attribute": "value",
|
|
73403
|
+
"inheritedFrom": {
|
|
73404
|
+
"name": "SbbFormAssociatedMixin",
|
|
73405
|
+
"module": "core/mixins.js"
|
|
73406
|
+
},
|
|
73407
|
+
"default": "null"
|
|
73408
|
+
},
|
|
73409
|
+
{
|
|
73410
|
+
"kind": "field",
|
|
73411
|
+
"name": "_value",
|
|
73412
|
+
"type": {
|
|
73413
|
+
"text": "string | null"
|
|
73414
|
+
},
|
|
73415
|
+
"privacy": "private",
|
|
73416
|
+
"default": "null",
|
|
73417
|
+
"inheritedFrom": {
|
|
73418
|
+
"name": "SbbFormAssociatedMixin",
|
|
73419
|
+
"module": "core/mixins.js"
|
|
73420
|
+
}
|
|
73421
|
+
},
|
|
73422
|
+
{
|
|
73423
|
+
"kind": "field",
|
|
73424
|
+
"name": "validity",
|
|
73425
|
+
"type": {
|
|
73426
|
+
"text": "ValidityState"
|
|
73427
|
+
},
|
|
73428
|
+
"privacy": "public",
|
|
73429
|
+
"description": "Returns the ValidityState object for this element.",
|
|
73430
|
+
"readonly": true,
|
|
73431
|
+
"inheritedFrom": {
|
|
73432
|
+
"name": "SbbFormAssociatedMixin",
|
|
73433
|
+
"module": "core/mixins.js"
|
|
73434
|
+
}
|
|
73435
|
+
},
|
|
73436
|
+
{
|
|
73437
|
+
"kind": "field",
|
|
73438
|
+
"name": "validationMessage",
|
|
73439
|
+
"type": {
|
|
73440
|
+
"text": "string"
|
|
73441
|
+
},
|
|
73442
|
+
"privacy": "public",
|
|
73443
|
+
"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.",
|
|
73444
|
+
"readonly": true,
|
|
73445
|
+
"inheritedFrom": {
|
|
73446
|
+
"name": "SbbFormAssociatedMixin",
|
|
73447
|
+
"module": "core/mixins.js"
|
|
73448
|
+
}
|
|
73449
|
+
},
|
|
73450
|
+
{
|
|
73451
|
+
"kind": "field",
|
|
73452
|
+
"name": "willValidate",
|
|
73453
|
+
"type": {
|
|
73454
|
+
"text": "boolean"
|
|
73455
|
+
},
|
|
73456
|
+
"privacy": "public",
|
|
73457
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
73458
|
+
"readonly": true,
|
|
73459
|
+
"inheritedFrom": {
|
|
73460
|
+
"name": "SbbFormAssociatedMixin",
|
|
73461
|
+
"module": "core/mixins.js"
|
|
73462
|
+
}
|
|
73463
|
+
},
|
|
73464
|
+
{
|
|
73465
|
+
"kind": "field",
|
|
73466
|
+
"name": "_validityStates",
|
|
73467
|
+
"privacy": "private",
|
|
73468
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
73469
|
+
"inheritedFrom": {
|
|
73470
|
+
"name": "SbbFormAssociatedMixin",
|
|
73471
|
+
"module": "core/mixins.js"
|
|
73472
|
+
}
|
|
73473
|
+
},
|
|
73474
|
+
{
|
|
73475
|
+
"kind": "field",
|
|
73476
|
+
"name": "formDisabled",
|
|
73477
|
+
"type": {
|
|
73478
|
+
"text": "boolean"
|
|
73479
|
+
},
|
|
73480
|
+
"privacy": "protected",
|
|
73481
|
+
"default": "false",
|
|
73482
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
73483
|
+
"inheritedFrom": {
|
|
73484
|
+
"name": "SbbFormAssociatedMixin",
|
|
73485
|
+
"module": "core/mixins.js"
|
|
73486
|
+
}
|
|
73487
|
+
},
|
|
73488
|
+
{
|
|
73489
|
+
"kind": "method",
|
|
73490
|
+
"name": "checkValidity",
|
|
73491
|
+
"privacy": "public",
|
|
73492
|
+
"return": {
|
|
73493
|
+
"type": {
|
|
73494
|
+
"text": "boolean"
|
|
73495
|
+
}
|
|
73496
|
+
},
|
|
73497
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
73498
|
+
"inheritedFrom": {
|
|
73499
|
+
"name": "SbbFormAssociatedMixin",
|
|
73500
|
+
"module": "core/mixins.js"
|
|
73501
|
+
}
|
|
73502
|
+
},
|
|
73503
|
+
{
|
|
73504
|
+
"kind": "method",
|
|
73505
|
+
"name": "reportValidity",
|
|
73506
|
+
"privacy": "public",
|
|
73507
|
+
"return": {
|
|
73508
|
+
"type": {
|
|
73509
|
+
"text": "boolean"
|
|
73510
|
+
}
|
|
73511
|
+
},
|
|
73512
|
+
"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.",
|
|
73513
|
+
"inheritedFrom": {
|
|
73514
|
+
"name": "SbbFormAssociatedMixin",
|
|
73515
|
+
"module": "core/mixins.js"
|
|
73516
|
+
}
|
|
73517
|
+
},
|
|
73518
|
+
{
|
|
73519
|
+
"kind": "method",
|
|
73520
|
+
"name": "setCustomValidity",
|
|
73521
|
+
"privacy": "public",
|
|
73522
|
+
"return": {
|
|
73523
|
+
"type": {
|
|
73524
|
+
"text": "void"
|
|
73525
|
+
}
|
|
73526
|
+
},
|
|
73527
|
+
"parameters": [
|
|
73528
|
+
{
|
|
73529
|
+
"name": "message",
|
|
73530
|
+
"type": {
|
|
73531
|
+
"text": "string"
|
|
73532
|
+
}
|
|
73533
|
+
}
|
|
73534
|
+
],
|
|
73535
|
+
"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.",
|
|
73536
|
+
"inheritedFrom": {
|
|
73537
|
+
"name": "SbbFormAssociatedMixin",
|
|
73538
|
+
"module": "core/mixins.js"
|
|
73539
|
+
}
|
|
73540
|
+
},
|
|
73541
|
+
{
|
|
73542
|
+
"kind": "method",
|
|
73543
|
+
"name": "updateFormValue",
|
|
73544
|
+
"privacy": "protected",
|
|
73545
|
+
"return": {
|
|
73546
|
+
"type": {
|
|
73547
|
+
"text": "void"
|
|
73548
|
+
}
|
|
73549
|
+
},
|
|
73550
|
+
"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",
|
|
73551
|
+
"inheritedFrom": {
|
|
73552
|
+
"name": "SbbFormAssociatedMixin",
|
|
73553
|
+
"module": "core/mixins.js"
|
|
73554
|
+
}
|
|
73555
|
+
},
|
|
73556
|
+
{
|
|
73557
|
+
"kind": "method",
|
|
73558
|
+
"name": "setValidityFlag",
|
|
73559
|
+
"privacy": "protected",
|
|
73560
|
+
"return": {
|
|
73561
|
+
"type": {
|
|
73562
|
+
"text": "void"
|
|
73563
|
+
}
|
|
73564
|
+
},
|
|
73565
|
+
"parameters": [
|
|
73566
|
+
{
|
|
73567
|
+
"name": "flag",
|
|
73568
|
+
"type": {
|
|
73569
|
+
"text": "T"
|
|
73570
|
+
}
|
|
73571
|
+
},
|
|
73572
|
+
{
|
|
73573
|
+
"name": "message",
|
|
73574
|
+
"type": {
|
|
73575
|
+
"text": "string"
|
|
73576
|
+
}
|
|
73577
|
+
},
|
|
73578
|
+
{
|
|
73579
|
+
"name": "flagValue",
|
|
73580
|
+
"optional": true,
|
|
73581
|
+
"type": {
|
|
73582
|
+
"text": "ValidityStateFlags[T]"
|
|
73583
|
+
}
|
|
73584
|
+
}
|
|
73585
|
+
],
|
|
73586
|
+
"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).",
|
|
73587
|
+
"inheritedFrom": {
|
|
73588
|
+
"name": "SbbFormAssociatedMixin",
|
|
73589
|
+
"module": "core/mixins.js"
|
|
73590
|
+
}
|
|
73591
|
+
},
|
|
73592
|
+
{
|
|
73593
|
+
"kind": "method",
|
|
73594
|
+
"name": "removeValidityFlag",
|
|
73595
|
+
"privacy": "protected",
|
|
73596
|
+
"return": {
|
|
73597
|
+
"type": {
|
|
73598
|
+
"text": "void"
|
|
73599
|
+
}
|
|
73600
|
+
},
|
|
73601
|
+
"parameters": [
|
|
73602
|
+
{
|
|
73603
|
+
"name": "flag",
|
|
73604
|
+
"type": {
|
|
73605
|
+
"text": "T"
|
|
73606
|
+
}
|
|
73607
|
+
}
|
|
73608
|
+
],
|
|
73609
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
73610
|
+
"inheritedFrom": {
|
|
73611
|
+
"name": "SbbFormAssociatedMixin",
|
|
73612
|
+
"module": "core/mixins.js"
|
|
73613
|
+
}
|
|
73614
|
+
},
|
|
73615
|
+
{
|
|
73616
|
+
"kind": "method",
|
|
73617
|
+
"name": "validate",
|
|
73618
|
+
"privacy": "protected",
|
|
73619
|
+
"return": {
|
|
73620
|
+
"type": {
|
|
73621
|
+
"text": "void"
|
|
73622
|
+
}
|
|
73623
|
+
},
|
|
73624
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
73625
|
+
"inheritedFrom": {
|
|
73626
|
+
"name": "SbbFormAssociatedMixin",
|
|
73627
|
+
"module": "core/mixins.js"
|
|
73628
|
+
}
|
|
73629
|
+
},
|
|
73630
|
+
{
|
|
73631
|
+
"kind": "method",
|
|
73632
|
+
"name": "shouldValidate",
|
|
73633
|
+
"privacy": "protected",
|
|
73634
|
+
"return": {
|
|
73635
|
+
"type": {
|
|
73636
|
+
"text": "boolean"
|
|
73637
|
+
}
|
|
73638
|
+
},
|
|
73639
|
+
"parameters": [
|
|
73640
|
+
{
|
|
73641
|
+
"name": "name",
|
|
73642
|
+
"type": {
|
|
73643
|
+
"text": "PropertyKey | undefined"
|
|
73644
|
+
}
|
|
73645
|
+
}
|
|
73646
|
+
],
|
|
73647
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
73648
|
+
"inheritedFrom": {
|
|
73649
|
+
"name": "SbbFormAssociatedMixin",
|
|
73650
|
+
"module": "core/mixins.js"
|
|
73651
|
+
}
|
|
73652
|
+
},
|
|
73653
|
+
{
|
|
73654
|
+
"kind": "method",
|
|
73655
|
+
"name": "_setInternalValidity",
|
|
73656
|
+
"privacy": "private",
|
|
73657
|
+
"return": {
|
|
73658
|
+
"type": {
|
|
73659
|
+
"text": "void"
|
|
73660
|
+
}
|
|
73661
|
+
},
|
|
73662
|
+
"inheritedFrom": {
|
|
73663
|
+
"name": "SbbFormAssociatedMixin",
|
|
73664
|
+
"module": "core/mixins.js"
|
|
73665
|
+
}
|
|
73666
|
+
},
|
|
73667
|
+
{
|
|
73668
|
+
"kind": "field",
|
|
73669
|
+
"name": "type",
|
|
73670
|
+
"privacy": "public",
|
|
73671
|
+
"description": "The type attribute to use for the button.",
|
|
73672
|
+
"default": "'button'",
|
|
73673
|
+
"type": {
|
|
73674
|
+
"text": "SbbButtonType"
|
|
73675
|
+
},
|
|
73676
|
+
"attribute": "type",
|
|
73677
|
+
"inheritedFrom": {
|
|
73678
|
+
"name": "SbbButtonBaseElement",
|
|
73679
|
+
"module": "core/base-elements.js"
|
|
73680
|
+
}
|
|
73681
|
+
},
|
|
73682
|
+
{
|
|
73683
|
+
"kind": "field",
|
|
73684
|
+
"name": "_formId",
|
|
73685
|
+
"type": {
|
|
73686
|
+
"text": "string"
|
|
73687
|
+
},
|
|
73688
|
+
"privacy": "private",
|
|
73689
|
+
"default": "''",
|
|
73690
|
+
"inheritedFrom": {
|
|
73691
|
+
"name": "SbbButtonBaseElement",
|
|
73692
|
+
"module": "core/base-elements.js"
|
|
73693
|
+
}
|
|
73694
|
+
},
|
|
73695
|
+
{
|
|
73696
|
+
"kind": "field",
|
|
73697
|
+
"name": "_handleButtonClick",
|
|
73698
|
+
"privacy": "private",
|
|
73699
|
+
"inheritedFrom": {
|
|
73700
|
+
"name": "SbbButtonBaseElement",
|
|
73701
|
+
"module": "core/base-elements.js"
|
|
73702
|
+
}
|
|
73703
|
+
},
|
|
73704
|
+
{
|
|
73705
|
+
"kind": "field",
|
|
73706
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
73707
|
+
"privacy": "private",
|
|
73708
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
|
|
73709
|
+
"parameters": [
|
|
73710
|
+
{
|
|
73711
|
+
"description": "The origin event.",
|
|
73712
|
+
"name": "event"
|
|
73713
|
+
}
|
|
73714
|
+
],
|
|
73715
|
+
"inheritedFrom": {
|
|
73716
|
+
"name": "SbbButtonBaseElement",
|
|
73717
|
+
"module": "core/base-elements.js"
|
|
73718
|
+
}
|
|
73719
|
+
},
|
|
73720
|
+
{
|
|
73721
|
+
"kind": "field",
|
|
73722
|
+
"name": "_removeActiveMarker",
|
|
73723
|
+
"privacy": "private",
|
|
73724
|
+
"inheritedFrom": {
|
|
73725
|
+
"name": "SbbButtonBaseElement",
|
|
73726
|
+
"module": "core/base-elements.js"
|
|
73727
|
+
}
|
|
73728
|
+
},
|
|
73729
|
+
{
|
|
73730
|
+
"kind": "field",
|
|
73731
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
73732
|
+
"privacy": "private",
|
|
73733
|
+
"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.",
|
|
73734
|
+
"parameters": [
|
|
73735
|
+
{
|
|
73736
|
+
"description": "The origin event.",
|
|
73737
|
+
"name": "event"
|
|
73738
|
+
}
|
|
73739
|
+
],
|
|
73740
|
+
"inheritedFrom": {
|
|
73741
|
+
"name": "SbbButtonBaseElement",
|
|
73742
|
+
"module": "core/base-elements.js"
|
|
73743
|
+
}
|
|
73744
|
+
},
|
|
73745
|
+
{
|
|
73746
|
+
"kind": "field",
|
|
73747
|
+
"name": "_dispatchClickEvent",
|
|
73748
|
+
"privacy": "private",
|
|
73749
|
+
"inheritedFrom": {
|
|
73750
|
+
"name": "SbbButtonBaseElement",
|
|
73751
|
+
"module": "core/base-elements.js"
|
|
73752
|
+
}
|
|
73753
|
+
},
|
|
73754
|
+
{
|
|
73755
|
+
"kind": "field",
|
|
73756
|
+
"name": "maybeDisabled",
|
|
73757
|
+
"type": {
|
|
73758
|
+
"text": "boolean | undefined"
|
|
73759
|
+
},
|
|
73760
|
+
"privacy": "protected",
|
|
73761
|
+
"readonly": true,
|
|
73762
|
+
"inheritedFrom": {
|
|
73763
|
+
"name": "SbbActionBaseElement",
|
|
73764
|
+
"module": "core/base-elements.js"
|
|
73765
|
+
}
|
|
73766
|
+
},
|
|
73767
|
+
{
|
|
73768
|
+
"kind": "field",
|
|
73769
|
+
"name": "maybeDisabledInteractive",
|
|
73770
|
+
"type": {
|
|
73771
|
+
"text": "boolean | undefined"
|
|
73772
|
+
},
|
|
73773
|
+
"privacy": "protected",
|
|
73774
|
+
"readonly": true,
|
|
73775
|
+
"inheritedFrom": {
|
|
73776
|
+
"name": "SbbActionBaseElement",
|
|
73777
|
+
"module": "core/base-elements.js"
|
|
73778
|
+
}
|
|
73779
|
+
},
|
|
73780
|
+
{
|
|
73781
|
+
"kind": "method",
|
|
73782
|
+
"name": "setupBaseEventHandlers",
|
|
73783
|
+
"privacy": "protected",
|
|
73784
|
+
"return": {
|
|
73785
|
+
"type": {
|
|
73786
|
+
"text": "void"
|
|
73787
|
+
}
|
|
73788
|
+
},
|
|
73789
|
+
"inheritedFrom": {
|
|
73790
|
+
"name": "SbbActionBaseElement",
|
|
73791
|
+
"module": "core/base-elements.js"
|
|
73792
|
+
}
|
|
73793
|
+
},
|
|
73794
|
+
{
|
|
73795
|
+
"kind": "method",
|
|
73796
|
+
"name": "renderTemplate",
|
|
73797
|
+
"privacy": "protected",
|
|
73798
|
+
"return": {
|
|
73799
|
+
"type": {
|
|
73800
|
+
"text": "TemplateResult"
|
|
73801
|
+
}
|
|
73802
|
+
},
|
|
73803
|
+
"description": "Override this method to render the component template.",
|
|
73804
|
+
"inheritedFrom": {
|
|
73805
|
+
"name": "SbbActionBaseElement",
|
|
73806
|
+
"module": "core/base-elements.js"
|
|
73807
|
+
}
|
|
73808
|
+
}
|
|
73809
|
+
],
|
|
73810
|
+
"mixins": [
|
|
73811
|
+
{
|
|
73812
|
+
"name": "SbbIconNameMixin",
|
|
73813
|
+
"module": "icon.js"
|
|
73814
|
+
},
|
|
73815
|
+
{
|
|
73816
|
+
"name": "SbbDisabledMixin",
|
|
73817
|
+
"module": "core/mixins.js"
|
|
73818
|
+
}
|
|
73819
|
+
],
|
|
73820
|
+
"superclass": {
|
|
73821
|
+
"name": "SbbButtonBaseElement",
|
|
73822
|
+
"module": "core/base-elements.js"
|
|
73823
|
+
},
|
|
73824
|
+
"tagName": "sbb-step-label",
|
|
73825
|
+
"customElement": true,
|
|
73826
|
+
"attributes": [
|
|
73827
|
+
{
|
|
73828
|
+
"name": "icon-name",
|
|
73829
|
+
"type": {
|
|
73830
|
+
"text": "string"
|
|
73831
|
+
},
|
|
73832
|
+
"default": "''",
|
|
73833
|
+
"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.",
|
|
73834
|
+
"fieldName": "iconName",
|
|
73835
|
+
"inheritedFrom": {
|
|
73836
|
+
"name": "SbbIconNameMixin",
|
|
73837
|
+
"module": "icon.js"
|
|
73838
|
+
}
|
|
73839
|
+
},
|
|
73840
|
+
{
|
|
73841
|
+
"name": "disabled",
|
|
73842
|
+
"type": {
|
|
73843
|
+
"text": "boolean"
|
|
73844
|
+
},
|
|
73845
|
+
"default": "false",
|
|
73846
|
+
"description": "Whether the component is disabled.",
|
|
73847
|
+
"fieldName": "disabled",
|
|
73848
|
+
"inheritedFrom": {
|
|
73849
|
+
"name": "SbbDisabledMixin",
|
|
73850
|
+
"module": "core/mixins.js"
|
|
73851
|
+
}
|
|
73852
|
+
},
|
|
73853
|
+
{
|
|
73854
|
+
"name": "name",
|
|
73855
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
73856
|
+
"type": {
|
|
73857
|
+
"text": "string"
|
|
73858
|
+
},
|
|
73859
|
+
"fieldName": "name",
|
|
73860
|
+
"inheritedFrom": {
|
|
73861
|
+
"name": "SbbFormAssociatedMixin",
|
|
73862
|
+
"module": "core/mixins.js"
|
|
73863
|
+
}
|
|
73864
|
+
},
|
|
73865
|
+
{
|
|
73866
|
+
"name": "value",
|
|
73867
|
+
"description": "Value of the form element.",
|
|
73868
|
+
"type": {
|
|
73869
|
+
"text": "string | null"
|
|
73870
|
+
},
|
|
73871
|
+
"fieldName": "value",
|
|
73872
|
+
"inheritedFrom": {
|
|
73873
|
+
"name": "SbbFormAssociatedMixin",
|
|
73874
|
+
"module": "core/mixins.js"
|
|
73875
|
+
}
|
|
73876
|
+
},
|
|
73877
|
+
{
|
|
73878
|
+
"name": "type",
|
|
73879
|
+
"description": "The type attribute to use for the button.",
|
|
73880
|
+
"default": "'button'",
|
|
73881
|
+
"type": {
|
|
73882
|
+
"text": "SbbButtonType"
|
|
73883
|
+
},
|
|
73884
|
+
"fieldName": "type",
|
|
73885
|
+
"inheritedFrom": {
|
|
73886
|
+
"name": "SbbButtonBaseElement",
|
|
73887
|
+
"module": "core/base-elements.js"
|
|
73888
|
+
}
|
|
73889
|
+
},
|
|
73890
|
+
{
|
|
73891
|
+
"name": "form",
|
|
73892
|
+
"description": "The `<form>` element to associate the button with.",
|
|
73893
|
+
"type": {
|
|
73894
|
+
"text": "HTMLFormElement | null"
|
|
73895
|
+
},
|
|
73896
|
+
"fieldName": "form",
|
|
73897
|
+
"inheritedFrom": {
|
|
73898
|
+
"name": "SbbButtonBaseElement",
|
|
73899
|
+
"module": "core/base-elements.js"
|
|
73900
|
+
}
|
|
73901
|
+
}
|
|
73902
|
+
]
|
|
73903
|
+
}
|
|
73904
|
+
],
|
|
73905
|
+
"exports": [
|
|
73906
|
+
{
|
|
73907
|
+
"kind": "js",
|
|
73908
|
+
"name": "SbbStepLabelElement",
|
|
73909
|
+
"declaration": {
|
|
73910
|
+
"name": "SbbStepLabelElement",
|
|
73911
|
+
"module": "stepper/step-label.js"
|
|
73912
|
+
}
|
|
73913
|
+
},
|
|
73914
|
+
{
|
|
73915
|
+
"kind": "custom-element-definition",
|
|
73916
|
+
"name": "sbb-step-label",
|
|
73917
|
+
"declaration": {
|
|
73918
|
+
"name": "SbbStepLabelElement",
|
|
73919
|
+
"module": "stepper/step-label.js"
|
|
73920
|
+
}
|
|
73921
|
+
}
|
|
73922
|
+
]
|
|
73923
|
+
},
|
|
73924
|
+
{
|
|
73925
|
+
"kind": "javascript-module",
|
|
73926
|
+
"path": "stepper/step.js",
|
|
73927
|
+
"declarations": [
|
|
73928
|
+
{
|
|
73929
|
+
"kind": "class",
|
|
73930
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's content.",
|
|
73931
|
+
"name": "SbbStepElement",
|
|
73932
|
+
"slots": [
|
|
73933
|
+
{
|
|
73934
|
+
"description": "Use the unnamed slot to provide content.",
|
|
73935
|
+
"name": ""
|
|
73936
|
+
}
|
|
73937
|
+
],
|
|
73938
|
+
"members": [
|
|
73939
|
+
{
|
|
73940
|
+
"kind": "field",
|
|
73941
|
+
"name": "events",
|
|
73942
|
+
"privacy": "public",
|
|
73943
|
+
"static": true,
|
|
73944
|
+
"readonly": true,
|
|
73945
|
+
"default": "{ validate: 'validate', }",
|
|
73946
|
+
"type": {
|
|
73947
|
+
"text": "{\n validate: 'validate',\n }"
|
|
73948
|
+
}
|
|
73949
|
+
},
|
|
73950
|
+
{
|
|
73951
|
+
"kind": "field",
|
|
73952
|
+
"name": "_validate",
|
|
73953
|
+
"type": {
|
|
73954
|
+
"text": "EventEmitter<SbbStepValidateEventDetails>"
|
|
73955
|
+
},
|
|
73956
|
+
"privacy": "private",
|
|
73957
|
+
"default": "new EventEmitter( this, SbbStepElement.events.validate, )",
|
|
73958
|
+
"description": "Emits whenever step switch is triggered."
|
|
73959
|
+
},
|
|
73960
|
+
{
|
|
73961
|
+
"kind": "field",
|
|
73962
|
+
"name": "_loaded",
|
|
73963
|
+
"type": {
|
|
73964
|
+
"text": "boolean"
|
|
73965
|
+
},
|
|
73966
|
+
"privacy": "private",
|
|
73967
|
+
"default": "false"
|
|
73968
|
+
},
|
|
73969
|
+
{
|
|
73970
|
+
"kind": "field",
|
|
73971
|
+
"name": "_stepper",
|
|
73972
|
+
"type": {
|
|
73973
|
+
"text": "SbbStepperElement | null"
|
|
73974
|
+
},
|
|
73975
|
+
"privacy": "private",
|
|
73976
|
+
"default": "null"
|
|
73977
|
+
},
|
|
73978
|
+
{
|
|
73979
|
+
"kind": "field",
|
|
73980
|
+
"name": "_label",
|
|
73981
|
+
"type": {
|
|
73982
|
+
"text": "SbbStepLabelElement | null"
|
|
73983
|
+
},
|
|
73984
|
+
"privacy": "private",
|
|
73985
|
+
"default": "null"
|
|
73986
|
+
},
|
|
73987
|
+
{
|
|
73988
|
+
"kind": "field",
|
|
73989
|
+
"name": "label",
|
|
73990
|
+
"type": {
|
|
73991
|
+
"text": "SbbStepLabelElement | null"
|
|
73992
|
+
},
|
|
73993
|
+
"privacy": "public",
|
|
73994
|
+
"description": "The label of the step.",
|
|
73995
|
+
"readonly": true,
|
|
73996
|
+
"default": "null"
|
|
73997
|
+
},
|
|
73998
|
+
{
|
|
73999
|
+
"kind": "method",
|
|
74000
|
+
"name": "_handleClick",
|
|
74001
|
+
"privacy": "private",
|
|
74002
|
+
"return": {
|
|
74003
|
+
"type": {
|
|
74004
|
+
"text": "void"
|
|
74005
|
+
}
|
|
74006
|
+
},
|
|
74007
|
+
"parameters": [
|
|
74008
|
+
{
|
|
74009
|
+
"name": "event",
|
|
74010
|
+
"type": {
|
|
74011
|
+
"text": "Event"
|
|
74012
|
+
}
|
|
74013
|
+
}
|
|
74014
|
+
],
|
|
74015
|
+
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
74016
|
+
},
|
|
74017
|
+
{
|
|
74018
|
+
"kind": "method",
|
|
74019
|
+
"name": "_isGoNextElement",
|
|
74020
|
+
"privacy": "private",
|
|
74021
|
+
"return": {
|
|
74022
|
+
"type": {
|
|
74023
|
+
"text": "boolean"
|
|
74024
|
+
}
|
|
74025
|
+
},
|
|
74026
|
+
"parameters": [
|
|
74027
|
+
{
|
|
74028
|
+
"name": "element",
|
|
74029
|
+
"type": {
|
|
74030
|
+
"text": "HTMLElement"
|
|
74031
|
+
}
|
|
74032
|
+
}
|
|
74033
|
+
]
|
|
74034
|
+
},
|
|
74035
|
+
{
|
|
74036
|
+
"kind": "method",
|
|
74037
|
+
"name": "_isGoPreviousElement",
|
|
74038
|
+
"privacy": "private",
|
|
74039
|
+
"return": {
|
|
74040
|
+
"type": {
|
|
74041
|
+
"text": "boolean"
|
|
74042
|
+
}
|
|
74043
|
+
},
|
|
74044
|
+
"parameters": [
|
|
74045
|
+
{
|
|
74046
|
+
"name": "element",
|
|
74047
|
+
"type": {
|
|
74048
|
+
"text": "HTMLElement"
|
|
74049
|
+
}
|
|
74050
|
+
}
|
|
74051
|
+
]
|
|
74052
|
+
},
|
|
74053
|
+
{
|
|
74054
|
+
"kind": "method",
|
|
74055
|
+
"name": "_getStepLabel",
|
|
74056
|
+
"privacy": "private",
|
|
74057
|
+
"return": {
|
|
74058
|
+
"type": {
|
|
74059
|
+
"text": "SbbStepLabelElement | null"
|
|
74060
|
+
}
|
|
74061
|
+
}
|
|
74062
|
+
}
|
|
74063
|
+
],
|
|
74064
|
+
"events": [
|
|
74065
|
+
{
|
|
74066
|
+
"type": {
|
|
74067
|
+
"text": "CustomEvent<SbbStepValidateEventDetails>"
|
|
74068
|
+
},
|
|
74069
|
+
"description": "Emits whenever step switch is triggered. Can be canceled.",
|
|
74070
|
+
"name": "validate"
|
|
74071
|
+
}
|
|
74072
|
+
],
|
|
74073
|
+
"superclass": {
|
|
74074
|
+
"name": "LitElement",
|
|
74075
|
+
"package": "lit"
|
|
74076
|
+
},
|
|
74077
|
+
"tagName": "sbb-step",
|
|
74078
|
+
"customElement": true
|
|
74079
|
+
}
|
|
74080
|
+
],
|
|
74081
|
+
"exports": [
|
|
74082
|
+
{
|
|
74083
|
+
"kind": "js",
|
|
74084
|
+
"name": "SbbStepElement",
|
|
74085
|
+
"declaration": {
|
|
74086
|
+
"name": "SbbStepElement",
|
|
74087
|
+
"module": "stepper/step.js"
|
|
74088
|
+
}
|
|
74089
|
+
},
|
|
74090
|
+
{
|
|
74091
|
+
"kind": "custom-element-definition",
|
|
74092
|
+
"name": "sbb-step",
|
|
74093
|
+
"declaration": {
|
|
74094
|
+
"name": "SbbStepElement",
|
|
74095
|
+
"module": "stepper/step.js"
|
|
74096
|
+
}
|
|
74097
|
+
}
|
|
74098
|
+
]
|
|
74099
|
+
},
|
|
74100
|
+
{
|
|
74101
|
+
"kind": "javascript-module",
|
|
74102
|
+
"path": "stepper/stepper.js",
|
|
74103
|
+
"declarations": [
|
|
74104
|
+
{
|
|
74105
|
+
"kind": "class",
|
|
74106
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
74107
|
+
"name": "SbbStepperElement",
|
|
74108
|
+
"slots": [
|
|
74109
|
+
{
|
|
74110
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
74111
|
+
"name": ""
|
|
74112
|
+
},
|
|
74113
|
+
{
|
|
74114
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
74115
|
+
"name": "step-label"
|
|
74116
|
+
},
|
|
74117
|
+
{
|
|
74118
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
74119
|
+
"name": "step"
|
|
74120
|
+
}
|
|
74121
|
+
],
|
|
74122
|
+
"members": [
|
|
74123
|
+
{
|
|
74124
|
+
"kind": "field",
|
|
74125
|
+
"name": "_observer",
|
|
74126
|
+
"privacy": "private",
|
|
74127
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
74128
|
+
"description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
|
|
74129
|
+
},
|
|
74130
|
+
{
|
|
74131
|
+
"kind": "field",
|
|
74132
|
+
"name": "linear",
|
|
74133
|
+
"type": {
|
|
74134
|
+
"text": "boolean"
|
|
74135
|
+
},
|
|
74136
|
+
"privacy": "public",
|
|
74137
|
+
"default": "false",
|
|
74138
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
74139
|
+
"attribute": "linear"
|
|
74140
|
+
},
|
|
74141
|
+
{
|
|
74142
|
+
"kind": "field",
|
|
74143
|
+
"name": "horizontalFrom",
|
|
74144
|
+
"privacy": "public",
|
|
74145
|
+
"description": "Overrides the behaviour of `orientation` property.",
|
|
74146
|
+
"type": {
|
|
74147
|
+
"text": "SbbHorizontalFrom | null"
|
|
74148
|
+
},
|
|
74149
|
+
"attribute": "horizontal-from",
|
|
74150
|
+
"reflects": true,
|
|
74151
|
+
"default": "null"
|
|
74152
|
+
},
|
|
74153
|
+
{
|
|
74154
|
+
"kind": "field",
|
|
74155
|
+
"name": "_horizontalFrom",
|
|
74156
|
+
"type": {
|
|
74157
|
+
"text": "SbbHorizontalFrom | null"
|
|
74158
|
+
},
|
|
74159
|
+
"privacy": "private",
|
|
74160
|
+
"default": "null"
|
|
74161
|
+
},
|
|
74162
|
+
{
|
|
74163
|
+
"kind": "field",
|
|
74164
|
+
"name": "orientation",
|
|
74165
|
+
"type": {
|
|
74166
|
+
"text": "SbbOrientation"
|
|
74167
|
+
},
|
|
74168
|
+
"privacy": "public",
|
|
74169
|
+
"default": "'horizontal'",
|
|
74170
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
74171
|
+
"attribute": "orientation",
|
|
74172
|
+
"reflects": true
|
|
74173
|
+
},
|
|
74174
|
+
{
|
|
74175
|
+
"kind": "field",
|
|
74176
|
+
"name": "size",
|
|
74177
|
+
"type": {
|
|
74178
|
+
"text": "'s' | 'm'"
|
|
74179
|
+
},
|
|
74180
|
+
"privacy": "public",
|
|
74181
|
+
"description": "Size variant, either s or m.",
|
|
74182
|
+
"default": "'m' / 's' (lean)",
|
|
74183
|
+
"attribute": "size",
|
|
74184
|
+
"reflects": true
|
|
74185
|
+
},
|
|
74186
|
+
{
|
|
74187
|
+
"kind": "field",
|
|
74188
|
+
"name": "selected",
|
|
74189
|
+
"privacy": "public",
|
|
74190
|
+
"description": "The currently selected step.",
|
|
74191
|
+
"type": {
|
|
74192
|
+
"text": "SbbStepElement | null"
|
|
74193
|
+
}
|
|
74194
|
+
},
|
|
74195
|
+
{
|
|
74196
|
+
"kind": "field",
|
|
74197
|
+
"name": "selectedIndex",
|
|
74198
|
+
"privacy": "public",
|
|
74199
|
+
"description": "The currently selected step index.",
|
|
74200
|
+
"type": {
|
|
74201
|
+
"text": "number | null"
|
|
74202
|
+
},
|
|
74203
|
+
"attribute": "selected-index"
|
|
74204
|
+
},
|
|
74205
|
+
{
|
|
74206
|
+
"kind": "field",
|
|
74207
|
+
"name": "steps",
|
|
74208
|
+
"type": {
|
|
74209
|
+
"text": "SbbStepElement[]"
|
|
74210
|
+
},
|
|
74211
|
+
"privacy": "public",
|
|
74212
|
+
"description": "The steps of the stepper.",
|
|
74213
|
+
"readonly": true
|
|
74214
|
+
},
|
|
74215
|
+
{
|
|
74216
|
+
"kind": "field",
|
|
74217
|
+
"name": "_enabledSteps",
|
|
74218
|
+
"type": {
|
|
74219
|
+
"text": "SbbStepElement[]"
|
|
74220
|
+
},
|
|
74221
|
+
"privacy": "private",
|
|
74222
|
+
"readonly": true
|
|
74223
|
+
},
|
|
74224
|
+
{
|
|
74225
|
+
"kind": "field",
|
|
74226
|
+
"name": "_loaded",
|
|
74227
|
+
"type": {
|
|
74228
|
+
"text": "boolean"
|
|
74229
|
+
},
|
|
74230
|
+
"privacy": "private",
|
|
74231
|
+
"default": "false"
|
|
74232
|
+
},
|
|
74233
|
+
{
|
|
74234
|
+
"kind": "field",
|
|
71121
74235
|
"name": "_resizeObserverTimeout",
|
|
71122
74236
|
"type": {
|
|
71123
74237
|
"text": "ReturnType<typeof setTimeout> | null"
|
|
@@ -73745,6 +76859,7 @@
|
|
|
73745
76859
|
"default": "''",
|
|
73746
76860
|
"description": "The href value you want to link to.",
|
|
73747
76861
|
"attribute": "href",
|
|
76862
|
+
"reflects": true,
|
|
73748
76863
|
"inheritedFrom": {
|
|
73749
76864
|
"name": "SbbLinkBaseElement",
|
|
73750
76865
|
"module": "core/base-elements.js"
|
|
@@ -73760,6 +76875,7 @@
|
|
|
73760
76875
|
"default": "''",
|
|
73761
76876
|
"description": "Where to display the linked URL.",
|
|
73762
76877
|
"attribute": "target",
|
|
76878
|
+
"reflects": true,
|
|
73763
76879
|
"inheritedFrom": {
|
|
73764
76880
|
"name": "SbbLinkBaseElement",
|
|
73765
76881
|
"module": "core/base-elements.js"
|
|
@@ -73775,6 +76891,7 @@
|
|
|
73775
76891
|
"default": "''",
|
|
73776
76892
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
73777
76893
|
"attribute": "rel",
|
|
76894
|
+
"reflects": true,
|
|
73778
76895
|
"inheritedFrom": {
|
|
73779
76896
|
"name": "SbbLinkBaseElement",
|
|
73780
76897
|
"module": "core/base-elements.js"
|
|
@@ -73790,6 +76907,7 @@
|
|
|
73790
76907
|
"default": "false",
|
|
73791
76908
|
"description": "Whether the browser will show the download dialog on click.",
|
|
73792
76909
|
"attribute": "download",
|
|
76910
|
+
"reflects": true,
|
|
73793
76911
|
"inheritedFrom": {
|
|
73794
76912
|
"name": "SbbLinkBaseElement",
|
|
73795
76913
|
"module": "core/base-elements.js"
|
|
@@ -75986,21 +79104,52 @@
|
|
|
75986
79104
|
},
|
|
75987
79105
|
{
|
|
75988
79106
|
"kind": "field",
|
|
75989
|
-
"name": "
|
|
79107
|
+
"name": "negative",
|
|
75990
79108
|
"type": {
|
|
75991
|
-
"text": "
|
|
79109
|
+
"text": "boolean"
|
|
75992
79110
|
},
|
|
75993
79111
|
"privacy": "public"
|
|
75994
79112
|
},
|
|
75995
79113
|
{
|
|
75996
79114
|
"kind": "field",
|
|
75997
|
-
"name": "
|
|
79115
|
+
"name": "iconName",
|
|
75998
79116
|
"type": {
|
|
75999
|
-
"text": "
|
|
79117
|
+
"text": "string"
|
|
76000
79118
|
},
|
|
76001
|
-
"privacy": "public"
|
|
79119
|
+
"privacy": "public",
|
|
79120
|
+
"inheritedFrom": {
|
|
79121
|
+
"name": "SbbIconNameMixinType",
|
|
79122
|
+
"module": "icon.js"
|
|
79123
|
+
}
|
|
79124
|
+
},
|
|
79125
|
+
{
|
|
79126
|
+
"kind": "method",
|
|
79127
|
+
"name": "renderIconSlot",
|
|
79128
|
+
"privacy": "protected",
|
|
79129
|
+
"return": {
|
|
79130
|
+
"type": {
|
|
79131
|
+
"text": "TemplateResult"
|
|
79132
|
+
}
|
|
79133
|
+
},
|
|
79134
|
+
"parameters": [
|
|
79135
|
+
{
|
|
79136
|
+
"name": "classname",
|
|
79137
|
+
"optional": true,
|
|
79138
|
+
"type": {
|
|
79139
|
+
"text": "string"
|
|
79140
|
+
}
|
|
79141
|
+
}
|
|
79142
|
+
],
|
|
79143
|
+
"inheritedFrom": {
|
|
79144
|
+
"name": "SbbIconNameMixinType",
|
|
79145
|
+
"module": "icon.js"
|
|
79146
|
+
}
|
|
76002
79147
|
}
|
|
76003
|
-
]
|
|
79148
|
+
],
|
|
79149
|
+
"superclass": {
|
|
79150
|
+
"name": "SbbIconNameMixinType",
|
|
79151
|
+
"module": "icon.js"
|
|
79152
|
+
}
|
|
76004
79153
|
},
|
|
76005
79154
|
{
|
|
76006
79155
|
"kind": "mixin",
|