@sbb-esta/lyne-elements-experimental-dev 4.12.0-dev.1777289344 → 4.12.0-dev.1777358832
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +522 -522
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -3056,314 +3056,6 @@
|
|
|
3056
3056
|
"declarations": [],
|
|
3057
3057
|
"exports": []
|
|
3058
3058
|
},
|
|
3059
|
-
{
|
|
3060
|
-
"kind": "javascript-module",
|
|
3061
|
-
"path": "seat-reservation/common/mapper.js",
|
|
3062
|
-
"declarations": [],
|
|
3063
|
-
"exports": [
|
|
3064
|
-
{
|
|
3065
|
-
"kind": "js",
|
|
3066
|
-
"name": "*",
|
|
3067
|
-
"declaration": {
|
|
3068
|
-
"name": "*",
|
|
3069
|
-
"module": "seat-reservation/common/mapper/mapper.js"
|
|
3070
|
-
}
|
|
3071
|
-
},
|
|
3072
|
-
{
|
|
3073
|
-
"kind": "js",
|
|
3074
|
-
"name": "*",
|
|
3075
|
-
"declaration": {
|
|
3076
|
-
"name": "*",
|
|
3077
|
-
"module": "seat-reservation/common/mapper/icon-mapper.js"
|
|
3078
|
-
}
|
|
3079
|
-
}
|
|
3080
|
-
]
|
|
3081
|
-
},
|
|
3082
|
-
{
|
|
3083
|
-
"kind": "javascript-module",
|
|
3084
|
-
"path": "seat-reservation/common/svgs.js",
|
|
3085
|
-
"declarations": [
|
|
3086
|
-
{
|
|
3087
|
-
"kind": "variable",
|
|
3088
|
-
"name": "svgs",
|
|
3089
|
-
"type": {
|
|
3090
|
-
"text": "object"
|
|
3091
|
-
},
|
|
3092
|
-
"default": "{ chassisDriverBus, chassisDriverTrain, chassisDriverTrainFull, chassisPassageCompartmentLeftTop, chassisPassageCompartmentMiddle, chassisPassageCompartmentRightBottom, chassisPassageWaggonBottomRight, chassisPassageWaggonTopLeft, chassisRowOuter, chassisRowMiddle, chassisSeparator, interiorPlaceBikeDefault, interiorPlaceBikeNotBookable, interiorPlaceBikeSelected, interiorPlaceBikeUnavailable, interiorPlaceSeatDefault, interiorPlaceSeatNotBookable, interiorPlaceSeatSelected, interiorPlaceSeatUnavailable, layoutEntrance, }"
|
|
3093
|
-
}
|
|
3094
|
-
],
|
|
3095
|
-
"exports": [
|
|
3096
|
-
{
|
|
3097
|
-
"kind": "js",
|
|
3098
|
-
"name": "svgs",
|
|
3099
|
-
"declaration": {
|
|
3100
|
-
"name": "svgs",
|
|
3101
|
-
"module": "seat-reservation/common/svgs.js"
|
|
3102
|
-
}
|
|
3103
|
-
}
|
|
3104
|
-
]
|
|
3105
|
-
},
|
|
3106
|
-
{
|
|
3107
|
-
"kind": "javascript-module",
|
|
3108
|
-
"path": "seat-reservation/common/translations.js",
|
|
3109
|
-
"declarations": [],
|
|
3110
|
-
"exports": [
|
|
3111
|
-
{
|
|
3112
|
-
"kind": "js",
|
|
3113
|
-
"name": "*",
|
|
3114
|
-
"declaration": {
|
|
3115
|
-
"name": "*",
|
|
3116
|
-
"module": "seat-reservation/common/translations/i18n.js"
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
]
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "javascript-module",
|
|
3123
|
-
"path": "seat-reservation/common/types.js",
|
|
3124
|
-
"declarations": [],
|
|
3125
|
-
"exports": []
|
|
3126
|
-
},
|
|
3127
|
-
{
|
|
3128
|
-
"kind": "javascript-module",
|
|
3129
|
-
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
|
|
3130
|
-
"declarations": [
|
|
3131
|
-
{
|
|
3132
|
-
"kind": "function",
|
|
3133
|
-
"name": "svgImageByOSDMCode",
|
|
3134
|
-
"return": {
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": ""
|
|
3137
|
-
}
|
|
3138
|
-
},
|
|
3139
|
-
"parameters": [
|
|
3140
|
-
{
|
|
3141
|
-
"name": "osdmCode",
|
|
3142
|
-
"type": {
|
|
3143
|
-
"text": "string"
|
|
3144
|
-
}
|
|
3145
|
-
}
|
|
3146
|
-
],
|
|
3147
|
-
"description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
|
|
3148
|
-
},
|
|
3149
|
-
{
|
|
3150
|
-
"kind": "variable",
|
|
3151
|
-
"name": "assetsTemplate",
|
|
3152
|
-
"type": {
|
|
3153
|
-
"text": "TemplateResult"
|
|
3154
|
-
},
|
|
3155
|
-
"default": "html` <style> .story-asset { width: max-content; background-color: var(--sbb-color-white); } </style> <h1>List of all currently available assets.</h1> <h2>Interior</h2> ${interiorTable} <h2>Layout</h2> ${layoutItemsTable} <h2>Service Icons</h2> ${serviceIconTable} <h2>Chassis</h2> ${chassisTable} `"
|
|
3156
|
-
}
|
|
3157
|
-
],
|
|
3158
|
-
"exports": [
|
|
3159
|
-
{
|
|
3160
|
-
"kind": "js",
|
|
3161
|
-
"name": "svgImageByOSDMCode",
|
|
3162
|
-
"declaration": {
|
|
3163
|
-
"name": "svgImageByOSDMCode",
|
|
3164
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
3165
|
-
}
|
|
3166
|
-
},
|
|
3167
|
-
{
|
|
3168
|
-
"kind": "js",
|
|
3169
|
-
"name": "assetsTemplate",
|
|
3170
|
-
"declaration": {
|
|
3171
|
-
"name": "assetsTemplate",
|
|
3172
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
]
|
|
3176
|
-
},
|
|
3177
|
-
{
|
|
3178
|
-
"kind": "javascript-module",
|
|
3179
|
-
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
|
|
3180
|
-
"declarations": [
|
|
3181
|
-
{
|
|
3182
|
-
"kind": "class",
|
|
3183
|
-
"description": "Output one of the SVG graphics based on its code.",
|
|
3184
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
3185
|
-
"members": [
|
|
3186
|
-
{
|
|
3187
|
-
"kind": "field",
|
|
3188
|
-
"name": "elementName",
|
|
3189
|
-
"type": {
|
|
3190
|
-
"text": "string"
|
|
3191
|
-
},
|
|
3192
|
-
"privacy": "public",
|
|
3193
|
-
"static": true,
|
|
3194
|
-
"readonly": true,
|
|
3195
|
-
"default": "'sbb-seat-reservation-graphic'"
|
|
3196
|
-
},
|
|
3197
|
-
{
|
|
3198
|
-
"kind": "field",
|
|
3199
|
-
"name": "name",
|
|
3200
|
-
"type": {
|
|
3201
|
-
"text": "string"
|
|
3202
|
-
},
|
|
3203
|
-
"privacy": "public",
|
|
3204
|
-
"default": "''",
|
|
3205
|
-
"description": "Name of the SVG graphic to be displayed.",
|
|
3206
|
-
"attribute": "name"
|
|
3207
|
-
},
|
|
3208
|
-
{
|
|
3209
|
-
"kind": "field",
|
|
3210
|
-
"name": "stretch",
|
|
3211
|
-
"type": {
|
|
3212
|
-
"text": "boolean"
|
|
3213
|
-
},
|
|
3214
|
-
"privacy": "public",
|
|
3215
|
-
"default": "false",
|
|
3216
|
-
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
3217
|
-
"attribute": "stretch"
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
"kind": "field",
|
|
3221
|
-
"name": "_language",
|
|
3222
|
-
"privacy": "private",
|
|
3223
|
-
"default": "new SbbLanguageController(this)"
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"kind": "method",
|
|
3227
|
-
"name": "_getSvgElement",
|
|
3228
|
-
"privacy": "private",
|
|
3229
|
-
"return": {
|
|
3230
|
-
"type": {
|
|
3231
|
-
"text": "Element | null"
|
|
3232
|
-
}
|
|
3233
|
-
},
|
|
3234
|
-
"parameters": [
|
|
3235
|
-
{
|
|
3236
|
-
"name": "svg",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "string"
|
|
3239
|
-
}
|
|
3240
|
-
}
|
|
3241
|
-
]
|
|
3242
|
-
}
|
|
3243
|
-
],
|
|
3244
|
-
"attributes": [
|
|
3245
|
-
{
|
|
3246
|
-
"name": "name",
|
|
3247
|
-
"type": {
|
|
3248
|
-
"text": "string"
|
|
3249
|
-
},
|
|
3250
|
-
"default": "''",
|
|
3251
|
-
"description": "Name of the SVG graphic to be displayed.",
|
|
3252
|
-
"fieldName": "name"
|
|
3253
|
-
},
|
|
3254
|
-
{
|
|
3255
|
-
"name": "stretch",
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "boolean"
|
|
3258
|
-
},
|
|
3259
|
-
"default": "false",
|
|
3260
|
-
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
3261
|
-
"fieldName": "stretch"
|
|
3262
|
-
}
|
|
3263
|
-
],
|
|
3264
|
-
"superclass": {
|
|
3265
|
-
"name": "SbbElement",
|
|
3266
|
-
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
3267
|
-
},
|
|
3268
|
-
"tagName": "sbb-seat-reservation-graphic",
|
|
3269
|
-
"customElement": true
|
|
3270
|
-
}
|
|
3271
|
-
],
|
|
3272
|
-
"exports": [
|
|
3273
|
-
{
|
|
3274
|
-
"kind": "js",
|
|
3275
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
3276
|
-
"declaration": {
|
|
3277
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
3278
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
|
|
3279
|
-
}
|
|
3280
|
-
}
|
|
3281
|
-
]
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"kind": "javascript-module",
|
|
3285
|
-
"path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
|
|
3286
|
-
"declarations": [
|
|
3287
|
-
{
|
|
3288
|
-
"kind": "class",
|
|
3289
|
-
"description": "Visualize an area with a special meaning within a wagon.",
|
|
3290
|
-
"name": "SbbSeatReservationAreaElement",
|
|
3291
|
-
"members": [
|
|
3292
|
-
{
|
|
3293
|
-
"kind": "field",
|
|
3294
|
-
"name": "elementName",
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "string"
|
|
3297
|
-
},
|
|
3298
|
-
"privacy": "public",
|
|
3299
|
-
"static": true,
|
|
3300
|
-
"readonly": true,
|
|
3301
|
-
"default": "'sbb-seat-reservation-area'"
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
"kind": "field",
|
|
3305
|
-
"name": "mounting",
|
|
3306
|
-
"type": {
|
|
3307
|
-
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
3308
|
-
},
|
|
3309
|
-
"privacy": "public",
|
|
3310
|
-
"default": "'free'",
|
|
3311
|
-
"description": "Mounting Prop",
|
|
3312
|
-
"attribute": "mounting",
|
|
3313
|
-
"reflects": true
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "field",
|
|
3317
|
-
"name": "background",
|
|
3318
|
-
"type": {
|
|
3319
|
-
"text": "'light' | 'dark'"
|
|
3320
|
-
},
|
|
3321
|
-
"privacy": "public",
|
|
3322
|
-
"default": "'light'",
|
|
3323
|
-
"description": "the background of the area",
|
|
3324
|
-
"attribute": "background",
|
|
3325
|
-
"reflects": true
|
|
3326
|
-
}
|
|
3327
|
-
],
|
|
3328
|
-
"attributes": [
|
|
3329
|
-
{
|
|
3330
|
-
"name": "mounting",
|
|
3331
|
-
"type": {
|
|
3332
|
-
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
3333
|
-
},
|
|
3334
|
-
"default": "'free'",
|
|
3335
|
-
"description": "Mounting Prop",
|
|
3336
|
-
"fieldName": "mounting"
|
|
3337
|
-
},
|
|
3338
|
-
{
|
|
3339
|
-
"name": "background",
|
|
3340
|
-
"type": {
|
|
3341
|
-
"text": "'light' | 'dark'"
|
|
3342
|
-
},
|
|
3343
|
-
"default": "'light'",
|
|
3344
|
-
"description": "the background of the area",
|
|
3345
|
-
"fieldName": "background"
|
|
3346
|
-
}
|
|
3347
|
-
],
|
|
3348
|
-
"superclass": {
|
|
3349
|
-
"name": "SbbElement",
|
|
3350
|
-
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
3351
|
-
},
|
|
3352
|
-
"tagName": "sbb-seat-reservation-area",
|
|
3353
|
-
"customElement": true
|
|
3354
|
-
}
|
|
3355
|
-
],
|
|
3356
|
-
"exports": [
|
|
3357
|
-
{
|
|
3358
|
-
"kind": "js",
|
|
3359
|
-
"name": "SbbSeatReservationAreaElement",
|
|
3360
|
-
"declaration": {
|
|
3361
|
-
"name": "SbbSeatReservationAreaElement",
|
|
3362
|
-
"module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
|
|
3363
|
-
}
|
|
3364
|
-
}
|
|
3365
|
-
]
|
|
3366
|
-
},
|
|
3367
3059
|
{
|
|
3368
3060
|
"kind": "javascript-module",
|
|
3369
3061
|
"path": "seat-reservation/seat-reservation/seat-reservation-base-element.js",
|
|
@@ -7219,316 +6911,624 @@
|
|
|
7219
6911
|
}
|
|
7220
6912
|
},
|
|
7221
6913
|
{
|
|
7222
|
-
"kind": "method",
|
|
7223
|
-
"name": "_isValidCoachIndex",
|
|
7224
|
-
"privacy": "private",
|
|
7225
|
-
"return": {
|
|
7226
|
-
"type": {
|
|
7227
|
-
"text": "boolean"
|
|
7228
|
-
}
|
|
6914
|
+
"kind": "method",
|
|
6915
|
+
"name": "_isValidCoachIndex",
|
|
6916
|
+
"privacy": "private",
|
|
6917
|
+
"return": {
|
|
6918
|
+
"type": {
|
|
6919
|
+
"text": "boolean"
|
|
6920
|
+
}
|
|
6921
|
+
},
|
|
6922
|
+
"parameters": [
|
|
6923
|
+
{
|
|
6924
|
+
"name": "coachIndex",
|
|
6925
|
+
"type": {
|
|
6926
|
+
"text": "number"
|
|
6927
|
+
}
|
|
6928
|
+
}
|
|
6929
|
+
],
|
|
6930
|
+
"inheritedFrom": {
|
|
6931
|
+
"name": "SeatReservationBaseElement",
|
|
6932
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
6933
|
+
}
|
|
6934
|
+
},
|
|
6935
|
+
{
|
|
6936
|
+
"kind": "method",
|
|
6937
|
+
"name": "_getExistingCoachDeckIndex",
|
|
6938
|
+
"privacy": "private",
|
|
6939
|
+
"return": {
|
|
6940
|
+
"type": {
|
|
6941
|
+
"text": ""
|
|
6942
|
+
}
|
|
6943
|
+
},
|
|
6944
|
+
"description": "Returns existing coach deck index depending on the selected coach.\nThis method is necessary to get an available coach deck index during keyboard navigation, which can vary between coaches with different decks.\nFor example, when navigating from a coach with two decks to a coach with one deck.\n\n [ooo]-[ooo]-[ooo]\n[ooo]-[ooo]-[ooo]-[ooo]-[ooo]",
|
|
6945
|
+
"inheritedFrom": {
|
|
6946
|
+
"name": "SeatReservationBaseElement",
|
|
6947
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
6948
|
+
}
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
"kind": "method",
|
|
6952
|
+
"name": "_scrollPlaceIntoNearestViewport",
|
|
6953
|
+
"privacy": "private",
|
|
6954
|
+
"return": {
|
|
6955
|
+
"type": {
|
|
6956
|
+
"text": "void"
|
|
6957
|
+
}
|
|
6958
|
+
},
|
|
6959
|
+
"parameters": [
|
|
6960
|
+
{
|
|
6961
|
+
"name": "placeId",
|
|
6962
|
+
"type": {
|
|
6963
|
+
"text": "string"
|
|
6964
|
+
}
|
|
6965
|
+
}
|
|
6966
|
+
],
|
|
6967
|
+
"description": "If a selected place is slightly hidden by the overflow scroll content and is still clicked,\nthe method tries to scroll the selected place into the nearest viewport, so that it is completely visible.",
|
|
6968
|
+
"inheritedFrom": {
|
|
6969
|
+
"name": "SeatReservationBaseElement",
|
|
6970
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
6971
|
+
}
|
|
6972
|
+
},
|
|
6973
|
+
{
|
|
6974
|
+
"kind": "method",
|
|
6975
|
+
"name": "_isOverhangingElementsPresent",
|
|
6976
|
+
"privacy": "private",
|
|
6977
|
+
"return": {
|
|
6978
|
+
"type": {
|
|
6979
|
+
"text": "boolean"
|
|
6980
|
+
}
|
|
6981
|
+
},
|
|
6982
|
+
"parameters": [
|
|
6983
|
+
{
|
|
6984
|
+
"name": "coachItemWidth",
|
|
6985
|
+
"type": {
|
|
6986
|
+
"text": "number"
|
|
6987
|
+
}
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
"name": "elements",
|
|
6991
|
+
"type": {
|
|
6992
|
+
"text": "(Place | BaseElement)[] | undefined"
|
|
6993
|
+
}
|
|
6994
|
+
}
|
|
6995
|
+
],
|
|
6996
|
+
"description": "checks if any places or graphical elements (e.g. toilet area, etc.) are overhanging the coach borders",
|
|
6997
|
+
"inheritedFrom": {
|
|
6998
|
+
"name": "SeatReservationBaseElement",
|
|
6999
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7000
|
+
}
|
|
7001
|
+
},
|
|
7002
|
+
{
|
|
7003
|
+
"kind": "method",
|
|
7004
|
+
"name": "_setDriverAreasElements",
|
|
7005
|
+
"privacy": "private",
|
|
7006
|
+
"return": {
|
|
7007
|
+
"type": {
|
|
7008
|
+
"text": "{\n driverArea: BaseElement | undefined;\n driverAreaNoVerticalWall: BaseElement | undefined;\n }"
|
|
7009
|
+
}
|
|
7010
|
+
},
|
|
7011
|
+
"parameters": [
|
|
7012
|
+
{
|
|
7013
|
+
"name": "coachItem",
|
|
7014
|
+
"type": {
|
|
7015
|
+
"text": "CoachItem"
|
|
7016
|
+
}
|
|
7017
|
+
}
|
|
7018
|
+
],
|
|
7019
|
+
"description": "collect information about the driverAreas for one coach",
|
|
7020
|
+
"inheritedFrom": {
|
|
7021
|
+
"name": "SeatReservationBaseElement",
|
|
7022
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7023
|
+
}
|
|
7024
|
+
},
|
|
7025
|
+
{
|
|
7026
|
+
"kind": "method",
|
|
7027
|
+
"name": "_onLeaveSeatReservationComponent",
|
|
7028
|
+
"privacy": "private",
|
|
7029
|
+
"return": {
|
|
7030
|
+
"type": {
|
|
7031
|
+
"text": "void"
|
|
7032
|
+
}
|
|
7033
|
+
},
|
|
7034
|
+
"description": "Is called when the SeatReservation loses focus, what happens when the user tabs out or clicks somewhere else.\nThen we reset the focused elements.",
|
|
7035
|
+
"inheritedFrom": {
|
|
7036
|
+
"name": "SeatReservationBaseElement",
|
|
7037
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7038
|
+
}
|
|
7039
|
+
}
|
|
7040
|
+
],
|
|
7041
|
+
"superclass": {
|
|
7042
|
+
"name": "SeatReservationBaseElement",
|
|
7043
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7044
|
+
},
|
|
7045
|
+
"tagName": "sbb-seat-reservation",
|
|
7046
|
+
"customElement": true,
|
|
7047
|
+
"attributes": [
|
|
7048
|
+
{
|
|
7049
|
+
"name": "seat-reservations",
|
|
7050
|
+
"type": {
|
|
7051
|
+
"text": "SeatReservation[]"
|
|
7052
|
+
},
|
|
7053
|
+
"default": "null!",
|
|
7054
|
+
"description": "The seat reservations array contains all coaches and places",
|
|
7055
|
+
"fieldName": "seatReservations",
|
|
7056
|
+
"inheritedFrom": {
|
|
7057
|
+
"name": "SeatReservationBaseElement",
|
|
7058
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7059
|
+
}
|
|
7060
|
+
},
|
|
7061
|
+
{
|
|
7062
|
+
"name": "travel-direction",
|
|
7063
|
+
"type": {
|
|
7064
|
+
"text": "TravelDirection"
|
|
7065
|
+
},
|
|
7066
|
+
"default": "'NONE'",
|
|
7067
|
+
"description": "Displays an arrow showing what direction does train drive",
|
|
7068
|
+
"fieldName": "travelDirection",
|
|
7069
|
+
"inheritedFrom": {
|
|
7070
|
+
"name": "SeatReservationBaseElement",
|
|
7071
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
"name": "has-navigation",
|
|
7076
|
+
"type": {
|
|
7077
|
+
"text": "boolean"
|
|
7078
|
+
},
|
|
7079
|
+
"default": "true",
|
|
7080
|
+
"description": "The seat reservation navigation can be toggled by this property",
|
|
7081
|
+
"fieldName": "hasNavigation",
|
|
7082
|
+
"inheritedFrom": {
|
|
7083
|
+
"name": "SeatReservationBaseElement",
|
|
7084
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7085
|
+
}
|
|
7086
|
+
},
|
|
7087
|
+
{
|
|
7088
|
+
"name": "align-vertical",
|
|
7089
|
+
"type": {
|
|
7090
|
+
"text": "boolean"
|
|
7091
|
+
},
|
|
7092
|
+
"default": "false",
|
|
7093
|
+
"description": "The seat reservation area is aligned vertically",
|
|
7094
|
+
"fieldName": "alignVertical",
|
|
7095
|
+
"inheritedFrom": {
|
|
7096
|
+
"name": "SeatReservationBaseElement",
|
|
7097
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7098
|
+
}
|
|
7099
|
+
},
|
|
7100
|
+
{
|
|
7101
|
+
"name": "base-grid-size",
|
|
7102
|
+
"type": {
|
|
7103
|
+
"text": "number"
|
|
7104
|
+
},
|
|
7105
|
+
"default": "16",
|
|
7106
|
+
"description": "The seat reservation area's base grid size",
|
|
7107
|
+
"fieldName": "baseGridSize",
|
|
7108
|
+
"inheritedFrom": {
|
|
7109
|
+
"name": "SeatReservationBaseElement",
|
|
7110
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7111
|
+
}
|
|
7112
|
+
},
|
|
7113
|
+
{
|
|
7114
|
+
"name": "height",
|
|
7115
|
+
"type": {
|
|
7116
|
+
"text": "number"
|
|
7117
|
+
},
|
|
7118
|
+
"default": "null!",
|
|
7119
|
+
"description": "The seat reservation area's width",
|
|
7120
|
+
"fieldName": "height",
|
|
7121
|
+
"inheritedFrom": {
|
|
7122
|
+
"name": "SeatReservationBaseElement",
|
|
7123
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7124
|
+
}
|
|
7125
|
+
},
|
|
7126
|
+
{
|
|
7127
|
+
"name": "max-seat-reservations",
|
|
7128
|
+
"type": {
|
|
7129
|
+
"text": "number"
|
|
7130
|
+
},
|
|
7131
|
+
"default": "-1",
|
|
7132
|
+
"description": "Maximal number of possible clickable seats",
|
|
7133
|
+
"fieldName": "maxSeatReservations",
|
|
7134
|
+
"inheritedFrom": {
|
|
7135
|
+
"name": "SeatReservationBaseElement",
|
|
7136
|
+
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7137
|
+
}
|
|
7138
|
+
},
|
|
7139
|
+
{
|
|
7140
|
+
"name": "max-bicycle-reservations",
|
|
7141
|
+
"type": {
|
|
7142
|
+
"text": "number"
|
|
7229
7143
|
},
|
|
7230
|
-
"
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
"type": {
|
|
7234
|
-
"text": "number"
|
|
7235
|
-
}
|
|
7236
|
-
}
|
|
7237
|
-
],
|
|
7144
|
+
"default": "-1",
|
|
7145
|
+
"description": "Maximal number of possible clickable bicycle places",
|
|
7146
|
+
"fieldName": "maxBicycleReservations",
|
|
7238
7147
|
"inheritedFrom": {
|
|
7239
7148
|
"name": "SeatReservationBaseElement",
|
|
7240
7149
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7241
7150
|
}
|
|
7242
7151
|
},
|
|
7243
7152
|
{
|
|
7244
|
-
"
|
|
7245
|
-
"
|
|
7246
|
-
|
|
7247
|
-
"return": {
|
|
7248
|
-
"type": {
|
|
7249
|
-
"text": ""
|
|
7250
|
-
}
|
|
7153
|
+
"name": "prevent-place-click",
|
|
7154
|
+
"type": {
|
|
7155
|
+
"text": "boolean"
|
|
7251
7156
|
},
|
|
7252
|
-
"
|
|
7157
|
+
"default": "false",
|
|
7158
|
+
"description": "Any click functionality is prevented",
|
|
7159
|
+
"fieldName": "preventPlaceClick",
|
|
7253
7160
|
"inheritedFrom": {
|
|
7254
7161
|
"name": "SeatReservationBaseElement",
|
|
7255
7162
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7256
7163
|
}
|
|
7257
7164
|
},
|
|
7258
7165
|
{
|
|
7259
|
-
"
|
|
7260
|
-
"
|
|
7261
|
-
|
|
7262
|
-
"return": {
|
|
7263
|
-
"type": {
|
|
7264
|
-
"text": "void"
|
|
7265
|
-
}
|
|
7166
|
+
"name": "preselect-coach-index",
|
|
7167
|
+
"type": {
|
|
7168
|
+
"text": "number"
|
|
7266
7169
|
},
|
|
7267
|
-
"
|
|
7268
|
-
|
|
7269
|
-
"name": "placeId",
|
|
7270
|
-
"type": {
|
|
7271
|
-
"text": "string"
|
|
7272
|
-
}
|
|
7273
|
-
}
|
|
7274
|
-
],
|
|
7275
|
-
"description": "If a selected place is slightly hidden by the overflow scroll content and is still clicked,\nthe method tries to scroll the selected place into the nearest viewport, so that it is completely visible.",
|
|
7170
|
+
"default": "-1",
|
|
7171
|
+
"fieldName": "preselectCoachIndex",
|
|
7276
7172
|
"inheritedFrom": {
|
|
7277
7173
|
"name": "SeatReservationBaseElement",
|
|
7278
7174
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7279
7175
|
}
|
|
7280
7176
|
},
|
|
7281
7177
|
{
|
|
7282
|
-
"
|
|
7283
|
-
"
|
|
7284
|
-
|
|
7285
|
-
"return": {
|
|
7286
|
-
"type": {
|
|
7287
|
-
"text": "boolean"
|
|
7288
|
-
}
|
|
7178
|
+
"name": "show-title-info",
|
|
7179
|
+
"type": {
|
|
7180
|
+
"text": "boolean"
|
|
7289
7181
|
},
|
|
7290
|
-
"
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
"type": {
|
|
7294
|
-
"text": "number"
|
|
7295
|
-
}
|
|
7296
|
-
},
|
|
7297
|
-
{
|
|
7298
|
-
"name": "elements",
|
|
7299
|
-
"type": {
|
|
7300
|
-
"text": "(Place | BaseElement)[] | undefined"
|
|
7301
|
-
}
|
|
7302
|
-
}
|
|
7303
|
-
],
|
|
7304
|
-
"description": "checks if any places or graphical elements (e.g. toilet area, etc.) are overhanging the coach borders",
|
|
7182
|
+
"default": "false",
|
|
7183
|
+
"description": "The seat reservation title information at place-controls, navigation-coaches and navigation-services can be toggled by this property",
|
|
7184
|
+
"fieldName": "showTitleInfo",
|
|
7305
7185
|
"inheritedFrom": {
|
|
7306
7186
|
"name": "SeatReservationBaseElement",
|
|
7307
7187
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7308
7188
|
}
|
|
7309
|
-
}
|
|
7189
|
+
}
|
|
7190
|
+
],
|
|
7191
|
+
"events": [
|
|
7310
7192
|
{
|
|
7311
|
-
"
|
|
7312
|
-
"
|
|
7313
|
-
|
|
7314
|
-
"return": {
|
|
7315
|
-
"type": {
|
|
7316
|
-
"text": "{\n driverArea: BaseElement | undefined;\n driverAreaNoVerticalWall: BaseElement | undefined;\n }"
|
|
7317
|
-
}
|
|
7193
|
+
"name": "selectedplaces",
|
|
7194
|
+
"type": {
|
|
7195
|
+
"text": "CustomEvent<SeatReservationSelectedPlaces>"
|
|
7318
7196
|
},
|
|
7319
|
-
"
|
|
7320
|
-
{
|
|
7321
|
-
"name": "coachItem",
|
|
7322
|
-
"type": {
|
|
7323
|
-
"text": "CoachItem"
|
|
7324
|
-
}
|
|
7325
|
-
}
|
|
7326
|
-
],
|
|
7327
|
-
"description": "collect information about the driverAreas for one coach",
|
|
7197
|
+
"description": "Emits when a place was selected and returns a Place array with all selected places.",
|
|
7328
7198
|
"inheritedFrom": {
|
|
7329
7199
|
"name": "SeatReservationBaseElement",
|
|
7330
7200
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7331
7201
|
}
|
|
7332
7202
|
},
|
|
7333
7203
|
{
|
|
7334
|
-
"
|
|
7335
|
-
"
|
|
7336
|
-
|
|
7337
|
-
"return": {
|
|
7338
|
-
"type": {
|
|
7339
|
-
"text": "void"
|
|
7340
|
-
}
|
|
7204
|
+
"name": "selectedcoach",
|
|
7205
|
+
"type": {
|
|
7206
|
+
"text": "CustomEvent<SeatReservationSelectedCoach>"
|
|
7341
7207
|
},
|
|
7342
|
-
"description": "
|
|
7208
|
+
"description": "Emits when a coach was selected and returns a CoachSelection",
|
|
7343
7209
|
"inheritedFrom": {
|
|
7344
7210
|
"name": "SeatReservationBaseElement",
|
|
7345
7211
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7346
7212
|
}
|
|
7347
7213
|
}
|
|
7348
|
-
]
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7214
|
+
]
|
|
7215
|
+
}
|
|
7216
|
+
],
|
|
7217
|
+
"exports": [
|
|
7218
|
+
{
|
|
7219
|
+
"kind": "js",
|
|
7220
|
+
"name": "SbbSeatReservationElement",
|
|
7221
|
+
"declaration": {
|
|
7222
|
+
"name": "SbbSeatReservationElement",
|
|
7223
|
+
"module": "seat-reservation/seat-reservation/seat-reservation.component.js"
|
|
7224
|
+
}
|
|
7225
|
+
}
|
|
7226
|
+
]
|
|
7227
|
+
},
|
|
7228
|
+
{
|
|
7229
|
+
"kind": "javascript-module",
|
|
7230
|
+
"path": "seat-reservation/common/mapper.js",
|
|
7231
|
+
"declarations": [],
|
|
7232
|
+
"exports": [
|
|
7233
|
+
{
|
|
7234
|
+
"kind": "js",
|
|
7235
|
+
"name": "*",
|
|
7236
|
+
"declaration": {
|
|
7237
|
+
"name": "*",
|
|
7238
|
+
"module": "seat-reservation/common/mapper/mapper.js"
|
|
7239
|
+
}
|
|
7240
|
+
},
|
|
7241
|
+
{
|
|
7242
|
+
"kind": "js",
|
|
7243
|
+
"name": "*",
|
|
7244
|
+
"declaration": {
|
|
7245
|
+
"name": "*",
|
|
7246
|
+
"module": "seat-reservation/common/mapper/icon-mapper.js"
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
]
|
|
7250
|
+
},
|
|
7251
|
+
{
|
|
7252
|
+
"kind": "javascript-module",
|
|
7253
|
+
"path": "seat-reservation/common/svgs.js",
|
|
7254
|
+
"declarations": [
|
|
7255
|
+
{
|
|
7256
|
+
"kind": "variable",
|
|
7257
|
+
"name": "svgs",
|
|
7258
|
+
"type": {
|
|
7259
|
+
"text": "object"
|
|
7352
7260
|
},
|
|
7353
|
-
"
|
|
7354
|
-
|
|
7355
|
-
|
|
7261
|
+
"default": "{ chassisDriverBus, chassisDriverTrain, chassisDriverTrainFull, chassisPassageCompartmentLeftTop, chassisPassageCompartmentMiddle, chassisPassageCompartmentRightBottom, chassisPassageWaggonBottomRight, chassisPassageWaggonTopLeft, chassisRowOuter, chassisRowMiddle, chassisSeparator, interiorPlaceBikeDefault, interiorPlaceBikeNotBookable, interiorPlaceBikeSelected, interiorPlaceBikeUnavailable, interiorPlaceSeatDefault, interiorPlaceSeatNotBookable, interiorPlaceSeatSelected, interiorPlaceSeatUnavailable, layoutEntrance, }"
|
|
7262
|
+
}
|
|
7263
|
+
],
|
|
7264
|
+
"exports": [
|
|
7265
|
+
{
|
|
7266
|
+
"kind": "js",
|
|
7267
|
+
"name": "svgs",
|
|
7268
|
+
"declaration": {
|
|
7269
|
+
"name": "svgs",
|
|
7270
|
+
"module": "seat-reservation/common/svgs.js"
|
|
7271
|
+
}
|
|
7272
|
+
}
|
|
7273
|
+
]
|
|
7274
|
+
},
|
|
7275
|
+
{
|
|
7276
|
+
"kind": "javascript-module",
|
|
7277
|
+
"path": "seat-reservation/common/translations.js",
|
|
7278
|
+
"declarations": [],
|
|
7279
|
+
"exports": [
|
|
7280
|
+
{
|
|
7281
|
+
"kind": "js",
|
|
7282
|
+
"name": "*",
|
|
7283
|
+
"declaration": {
|
|
7284
|
+
"name": "*",
|
|
7285
|
+
"module": "seat-reservation/common/translations/i18n.js"
|
|
7286
|
+
}
|
|
7287
|
+
}
|
|
7288
|
+
]
|
|
7289
|
+
},
|
|
7290
|
+
{
|
|
7291
|
+
"kind": "javascript-module",
|
|
7292
|
+
"path": "seat-reservation/common/types.js",
|
|
7293
|
+
"declarations": [],
|
|
7294
|
+
"exports": []
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"kind": "javascript-module",
|
|
7298
|
+
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
|
|
7299
|
+
"declarations": [
|
|
7300
|
+
{
|
|
7301
|
+
"kind": "function",
|
|
7302
|
+
"name": "svgImageByOSDMCode",
|
|
7303
|
+
"return": {
|
|
7304
|
+
"type": {
|
|
7305
|
+
"text": ""
|
|
7306
|
+
}
|
|
7307
|
+
},
|
|
7308
|
+
"parameters": [
|
|
7356
7309
|
{
|
|
7357
|
-
"name": "
|
|
7310
|
+
"name": "osdmCode",
|
|
7358
7311
|
"type": {
|
|
7359
|
-
"text": "
|
|
7360
|
-
},
|
|
7361
|
-
"default": "null!",
|
|
7362
|
-
"description": "The seat reservations array contains all coaches and places",
|
|
7363
|
-
"fieldName": "seatReservations",
|
|
7364
|
-
"inheritedFrom": {
|
|
7365
|
-
"name": "SeatReservationBaseElement",
|
|
7366
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7312
|
+
"text": "string"
|
|
7367
7313
|
}
|
|
7368
|
-
}
|
|
7314
|
+
}
|
|
7315
|
+
],
|
|
7316
|
+
"description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"kind": "variable",
|
|
7320
|
+
"name": "assetsTemplate",
|
|
7321
|
+
"type": {
|
|
7322
|
+
"text": "TemplateResult"
|
|
7323
|
+
},
|
|
7324
|
+
"default": "html` <style> .story-asset { width: max-content; background-color: var(--sbb-color-white); } </style> <h1>List of all currently available assets.</h1> <h2>Interior</h2> ${interiorTable} <h2>Layout</h2> ${layoutItemsTable} <h2>Service Icons</h2> ${serviceIconTable} <h2>Chassis</h2> ${chassisTable} `"
|
|
7325
|
+
}
|
|
7326
|
+
],
|
|
7327
|
+
"exports": [
|
|
7328
|
+
{
|
|
7329
|
+
"kind": "js",
|
|
7330
|
+
"name": "svgImageByOSDMCode",
|
|
7331
|
+
"declaration": {
|
|
7332
|
+
"name": "svgImageByOSDMCode",
|
|
7333
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
7334
|
+
}
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"kind": "js",
|
|
7338
|
+
"name": "assetsTemplate",
|
|
7339
|
+
"declaration": {
|
|
7340
|
+
"name": "assetsTemplate",
|
|
7341
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
7342
|
+
}
|
|
7343
|
+
}
|
|
7344
|
+
]
|
|
7345
|
+
},
|
|
7346
|
+
{
|
|
7347
|
+
"kind": "javascript-module",
|
|
7348
|
+
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
|
|
7349
|
+
"declarations": [
|
|
7350
|
+
{
|
|
7351
|
+
"kind": "class",
|
|
7352
|
+
"description": "Output one of the SVG graphics based on its code.",
|
|
7353
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
7354
|
+
"members": [
|
|
7369
7355
|
{
|
|
7370
|
-
"
|
|
7356
|
+
"kind": "field",
|
|
7357
|
+
"name": "elementName",
|
|
7371
7358
|
"type": {
|
|
7372
|
-
"text": "
|
|
7359
|
+
"text": "string"
|
|
7373
7360
|
},
|
|
7374
|
-
"
|
|
7375
|
-
"
|
|
7376
|
-
"
|
|
7377
|
-
"
|
|
7378
|
-
"name": "SeatReservationBaseElement",
|
|
7379
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7380
|
-
}
|
|
7361
|
+
"privacy": "public",
|
|
7362
|
+
"static": true,
|
|
7363
|
+
"readonly": true,
|
|
7364
|
+
"default": "'sbb-seat-reservation-graphic'"
|
|
7381
7365
|
},
|
|
7382
7366
|
{
|
|
7383
|
-
"
|
|
7367
|
+
"kind": "field",
|
|
7368
|
+
"name": "name",
|
|
7384
7369
|
"type": {
|
|
7385
|
-
"text": "
|
|
7370
|
+
"text": "string"
|
|
7386
7371
|
},
|
|
7387
|
-
"
|
|
7388
|
-
"
|
|
7389
|
-
"
|
|
7390
|
-
"
|
|
7391
|
-
"name": "SeatReservationBaseElement",
|
|
7392
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7393
|
-
}
|
|
7372
|
+
"privacy": "public",
|
|
7373
|
+
"default": "''",
|
|
7374
|
+
"description": "Name of the SVG graphic to be displayed.",
|
|
7375
|
+
"attribute": "name"
|
|
7394
7376
|
},
|
|
7395
7377
|
{
|
|
7396
|
-
"
|
|
7378
|
+
"kind": "field",
|
|
7379
|
+
"name": "stretch",
|
|
7397
7380
|
"type": {
|
|
7398
7381
|
"text": "boolean"
|
|
7399
7382
|
},
|
|
7383
|
+
"privacy": "public",
|
|
7400
7384
|
"default": "false",
|
|
7401
|
-
"description": "
|
|
7402
|
-
"
|
|
7403
|
-
"inheritedFrom": {
|
|
7404
|
-
"name": "SeatReservationBaseElement",
|
|
7405
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7406
|
-
}
|
|
7385
|
+
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
7386
|
+
"attribute": "stretch"
|
|
7407
7387
|
},
|
|
7408
7388
|
{
|
|
7409
|
-
"
|
|
7410
|
-
"
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
"default": "16",
|
|
7414
|
-
"description": "The seat reservation area's base grid size",
|
|
7415
|
-
"fieldName": "baseGridSize",
|
|
7416
|
-
"inheritedFrom": {
|
|
7417
|
-
"name": "SeatReservationBaseElement",
|
|
7418
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7419
|
-
}
|
|
7389
|
+
"kind": "field",
|
|
7390
|
+
"name": "_language",
|
|
7391
|
+
"privacy": "private",
|
|
7392
|
+
"default": "new SbbLanguageController(this)"
|
|
7420
7393
|
},
|
|
7421
7394
|
{
|
|
7422
|
-
"
|
|
7423
|
-
"
|
|
7424
|
-
|
|
7395
|
+
"kind": "method",
|
|
7396
|
+
"name": "_getSvgElement",
|
|
7397
|
+
"privacy": "private",
|
|
7398
|
+
"return": {
|
|
7399
|
+
"type": {
|
|
7400
|
+
"text": "Element | null"
|
|
7401
|
+
}
|
|
7425
7402
|
},
|
|
7426
|
-
"
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7403
|
+
"parameters": [
|
|
7404
|
+
{
|
|
7405
|
+
"name": "svg",
|
|
7406
|
+
"type": {
|
|
7407
|
+
"text": "string"
|
|
7408
|
+
}
|
|
7409
|
+
}
|
|
7410
|
+
]
|
|
7411
|
+
}
|
|
7412
|
+
],
|
|
7413
|
+
"attributes": [
|
|
7434
7414
|
{
|
|
7435
|
-
"name": "
|
|
7415
|
+
"name": "name",
|
|
7436
7416
|
"type": {
|
|
7437
|
-
"text": "
|
|
7417
|
+
"text": "string"
|
|
7438
7418
|
},
|
|
7439
|
-
"default": "
|
|
7440
|
-
"description": "
|
|
7441
|
-
"fieldName": "
|
|
7442
|
-
"inheritedFrom": {
|
|
7443
|
-
"name": "SeatReservationBaseElement",
|
|
7444
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7445
|
-
}
|
|
7419
|
+
"default": "''",
|
|
7420
|
+
"description": "Name of the SVG graphic to be displayed.",
|
|
7421
|
+
"fieldName": "name"
|
|
7446
7422
|
},
|
|
7447
7423
|
{
|
|
7448
|
-
"name": "
|
|
7424
|
+
"name": "stretch",
|
|
7449
7425
|
"type": {
|
|
7450
|
-
"text": "
|
|
7426
|
+
"text": "boolean"
|
|
7451
7427
|
},
|
|
7452
|
-
"default": "
|
|
7453
|
-
"description": "
|
|
7454
|
-
"fieldName": "
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7428
|
+
"default": "false",
|
|
7429
|
+
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
7430
|
+
"fieldName": "stretch"
|
|
7431
|
+
}
|
|
7432
|
+
],
|
|
7433
|
+
"superclass": {
|
|
7434
|
+
"name": "SbbElement",
|
|
7435
|
+
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
7436
|
+
},
|
|
7437
|
+
"tagName": "sbb-seat-reservation-graphic",
|
|
7438
|
+
"customElement": true
|
|
7439
|
+
}
|
|
7440
|
+
],
|
|
7441
|
+
"exports": [
|
|
7442
|
+
{
|
|
7443
|
+
"kind": "js",
|
|
7444
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
7445
|
+
"declaration": {
|
|
7446
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
7447
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
|
|
7448
|
+
}
|
|
7449
|
+
}
|
|
7450
|
+
]
|
|
7451
|
+
},
|
|
7452
|
+
{
|
|
7453
|
+
"kind": "javascript-module",
|
|
7454
|
+
"path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
|
|
7455
|
+
"declarations": [
|
|
7456
|
+
{
|
|
7457
|
+
"kind": "class",
|
|
7458
|
+
"description": "Visualize an area with a special meaning within a wagon.",
|
|
7459
|
+
"name": "SbbSeatReservationAreaElement",
|
|
7460
|
+
"members": [
|
|
7460
7461
|
{
|
|
7461
|
-
"
|
|
7462
|
+
"kind": "field",
|
|
7463
|
+
"name": "elementName",
|
|
7462
7464
|
"type": {
|
|
7463
|
-
"text": "
|
|
7465
|
+
"text": "string"
|
|
7464
7466
|
},
|
|
7465
|
-
"
|
|
7466
|
-
"
|
|
7467
|
-
"
|
|
7468
|
-
"
|
|
7469
|
-
"name": "SeatReservationBaseElement",
|
|
7470
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7471
|
-
}
|
|
7467
|
+
"privacy": "public",
|
|
7468
|
+
"static": true,
|
|
7469
|
+
"readonly": true,
|
|
7470
|
+
"default": "'sbb-seat-reservation-area'"
|
|
7472
7471
|
},
|
|
7473
7472
|
{
|
|
7474
|
-
"
|
|
7473
|
+
"kind": "field",
|
|
7474
|
+
"name": "mounting",
|
|
7475
7475
|
"type": {
|
|
7476
|
-
"text": "
|
|
7476
|
+
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
7477
7477
|
},
|
|
7478
|
-
"
|
|
7479
|
-
"
|
|
7480
|
-
"
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
}
|
|
7478
|
+
"privacy": "public",
|
|
7479
|
+
"default": "'free'",
|
|
7480
|
+
"description": "Mounting Prop",
|
|
7481
|
+
"attribute": "mounting",
|
|
7482
|
+
"reflects": true
|
|
7484
7483
|
},
|
|
7485
7484
|
{
|
|
7486
|
-
"
|
|
7485
|
+
"kind": "field",
|
|
7486
|
+
"name": "background",
|
|
7487
7487
|
"type": {
|
|
7488
|
-
"text": "
|
|
7488
|
+
"text": "'light' | 'dark'"
|
|
7489
7489
|
},
|
|
7490
|
-
"
|
|
7491
|
-
"
|
|
7492
|
-
"
|
|
7493
|
-
"
|
|
7494
|
-
|
|
7495
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7496
|
-
}
|
|
7490
|
+
"privacy": "public",
|
|
7491
|
+
"default": "'light'",
|
|
7492
|
+
"description": "the background of the area",
|
|
7493
|
+
"attribute": "background",
|
|
7494
|
+
"reflects": true
|
|
7497
7495
|
}
|
|
7498
7496
|
],
|
|
7499
|
-
"
|
|
7497
|
+
"attributes": [
|
|
7500
7498
|
{
|
|
7501
|
-
"name": "
|
|
7499
|
+
"name": "mounting",
|
|
7502
7500
|
"type": {
|
|
7503
|
-
"text": "
|
|
7501
|
+
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
7504
7502
|
},
|
|
7505
|
-
"
|
|
7506
|
-
"
|
|
7507
|
-
|
|
7508
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7509
|
-
}
|
|
7503
|
+
"default": "'free'",
|
|
7504
|
+
"description": "Mounting Prop",
|
|
7505
|
+
"fieldName": "mounting"
|
|
7510
7506
|
},
|
|
7511
7507
|
{
|
|
7512
|
-
"name": "
|
|
7508
|
+
"name": "background",
|
|
7513
7509
|
"type": {
|
|
7514
|
-
"text": "
|
|
7510
|
+
"text": "'light' | 'dark'"
|
|
7515
7511
|
},
|
|
7516
|
-
"
|
|
7517
|
-
"
|
|
7518
|
-
|
|
7519
|
-
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
7520
|
-
}
|
|
7512
|
+
"default": "'light'",
|
|
7513
|
+
"description": "the background of the area",
|
|
7514
|
+
"fieldName": "background"
|
|
7521
7515
|
}
|
|
7522
|
-
]
|
|
7516
|
+
],
|
|
7517
|
+
"superclass": {
|
|
7518
|
+
"name": "SbbElement",
|
|
7519
|
+
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
7520
|
+
},
|
|
7521
|
+
"tagName": "sbb-seat-reservation-area",
|
|
7522
|
+
"customElement": true
|
|
7523
7523
|
}
|
|
7524
7524
|
],
|
|
7525
7525
|
"exports": [
|
|
7526
7526
|
{
|
|
7527
7527
|
"kind": "js",
|
|
7528
|
-
"name": "
|
|
7528
|
+
"name": "SbbSeatReservationAreaElement",
|
|
7529
7529
|
"declaration": {
|
|
7530
|
-
"name": "
|
|
7531
|
-
"module": "seat-reservation/seat-reservation/seat-reservation.component.js"
|
|
7530
|
+
"name": "SbbSeatReservationAreaElement",
|
|
7531
|
+
"module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
|
|
7532
7532
|
}
|
|
7533
7533
|
}
|
|
7534
7534
|
]
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental-dev",
|
|
3
|
-
"version": "4.12.0-dev.
|
|
3
|
+
"version": "4.12.0-dev.1777358832",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
9
|
"storybook",
|
|
10
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
10
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/aa82acc99fdc4935ba4f21d8f856f0e13c8acd87"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|