@sbb-esta/lyne-elements-experimental-dev 4.12.1-dev.1778052085 → 4.12.1-dev.1778065370
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 +370 -370
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -3058,118 +3058,426 @@
|
|
|
3058
3058
|
},
|
|
3059
3059
|
{
|
|
3060
3060
|
"kind": "javascript-module",
|
|
3061
|
-
"path": "seat-reservation/
|
|
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-area/seat-reservation-area.component.js",
|
|
3062
3130
|
"declarations": [
|
|
3063
3131
|
{
|
|
3064
3132
|
"kind": "class",
|
|
3065
|
-
"description": "",
|
|
3066
|
-
"name": "
|
|
3133
|
+
"description": "Visualize an area with a special meaning within a wagon.",
|
|
3134
|
+
"name": "SbbSeatReservationAreaElement",
|
|
3067
3135
|
"members": [
|
|
3068
3136
|
{
|
|
3069
3137
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3138
|
+
"name": "elementName",
|
|
3139
|
+
"type": {
|
|
3140
|
+
"text": "string"
|
|
3141
|
+
},
|
|
3071
3142
|
"privacy": "public",
|
|
3072
3143
|
"static": true,
|
|
3073
3144
|
"readonly": true,
|
|
3074
|
-
"default": "
|
|
3075
|
-
"type": {
|
|
3076
|
-
"text": "{\n selectedplaces: 'selectedplaces',\n selectedcoach: 'selectedcoach',\n }"
|
|
3077
|
-
}
|
|
3145
|
+
"default": "'sbb-seat-reservation-area'"
|
|
3078
3146
|
},
|
|
3079
3147
|
{
|
|
3080
3148
|
"kind": "field",
|
|
3081
|
-
"name": "
|
|
3149
|
+
"name": "mounting",
|
|
3082
3150
|
"type": {
|
|
3083
|
-
"text": "
|
|
3151
|
+
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
3084
3152
|
},
|
|
3085
3153
|
"privacy": "public",
|
|
3086
|
-
"default": "
|
|
3087
|
-
"description": "
|
|
3088
|
-
"attribute": "
|
|
3154
|
+
"default": "'free'",
|
|
3155
|
+
"description": "Mounting Prop",
|
|
3156
|
+
"attribute": "mounting",
|
|
3157
|
+
"reflects": true
|
|
3089
3158
|
},
|
|
3090
3159
|
{
|
|
3091
3160
|
"kind": "field",
|
|
3092
|
-
"name": "
|
|
3161
|
+
"name": "background",
|
|
3093
3162
|
"type": {
|
|
3094
|
-
"text": "
|
|
3163
|
+
"text": "'light' | 'dark'"
|
|
3095
3164
|
},
|
|
3096
3165
|
"privacy": "public",
|
|
3097
|
-
"default": "'
|
|
3098
|
-
"description": "
|
|
3099
|
-
"attribute": "
|
|
3100
|
-
|
|
3166
|
+
"default": "'light'",
|
|
3167
|
+
"description": "the background of the area",
|
|
3168
|
+
"attribute": "background",
|
|
3169
|
+
"reflects": true
|
|
3170
|
+
}
|
|
3171
|
+
],
|
|
3172
|
+
"attributes": [
|
|
3101
3173
|
{
|
|
3102
|
-
"
|
|
3103
|
-
"name": "hasNavigation",
|
|
3174
|
+
"name": "mounting",
|
|
3104
3175
|
"type": {
|
|
3105
|
-
"text": "
|
|
3176
|
+
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
3106
3177
|
},
|
|
3107
|
-
"
|
|
3108
|
-
"
|
|
3109
|
-
"
|
|
3110
|
-
"attribute": "has-navigation"
|
|
3178
|
+
"default": "'free'",
|
|
3179
|
+
"description": "Mounting Prop",
|
|
3180
|
+
"fieldName": "mounting"
|
|
3111
3181
|
},
|
|
3112
3182
|
{
|
|
3113
|
-
"
|
|
3114
|
-
"name": "alignVertical",
|
|
3183
|
+
"name": "background",
|
|
3115
3184
|
"type": {
|
|
3116
|
-
"text": "
|
|
3185
|
+
"text": "'light' | 'dark'"
|
|
3117
3186
|
},
|
|
3118
|
-
"
|
|
3119
|
-
"
|
|
3120
|
-
"
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3187
|
+
"default": "'light'",
|
|
3188
|
+
"description": "the background of the area",
|
|
3189
|
+
"fieldName": "background"
|
|
3190
|
+
}
|
|
3191
|
+
],
|
|
3192
|
+
"superclass": {
|
|
3193
|
+
"name": "SbbElement",
|
|
3194
|
+
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
3195
|
+
},
|
|
3196
|
+
"tagName": "sbb-seat-reservation-area",
|
|
3197
|
+
"customElement": true
|
|
3198
|
+
}
|
|
3199
|
+
],
|
|
3200
|
+
"exports": [
|
|
3201
|
+
{
|
|
3202
|
+
"kind": "js",
|
|
3203
|
+
"name": "SbbSeatReservationAreaElement",
|
|
3204
|
+
"declaration": {
|
|
3205
|
+
"name": "SbbSeatReservationAreaElement",
|
|
3206
|
+
"module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
|
|
3207
|
+
}
|
|
3208
|
+
}
|
|
3209
|
+
]
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"kind": "javascript-module",
|
|
3213
|
+
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
|
|
3214
|
+
"declarations": [
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "function",
|
|
3217
|
+
"name": "svgImageByOSDMCode",
|
|
3218
|
+
"return": {
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": ""
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
"parameters": [
|
|
3124
3224
|
{
|
|
3125
|
-
"
|
|
3126
|
-
"name": "baseGridSize",
|
|
3225
|
+
"name": "osdmCode",
|
|
3127
3226
|
"type": {
|
|
3128
|
-
"text": "
|
|
3129
|
-
}
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3227
|
+
"text": "string"
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
],
|
|
3231
|
+
"description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"kind": "variable",
|
|
3235
|
+
"name": "assetsTemplate",
|
|
3236
|
+
"type": {
|
|
3237
|
+
"text": "TemplateResult"
|
|
3238
|
+
},
|
|
3239
|
+
"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} `"
|
|
3240
|
+
}
|
|
3241
|
+
],
|
|
3242
|
+
"exports": [
|
|
3243
|
+
{
|
|
3244
|
+
"kind": "js",
|
|
3245
|
+
"name": "svgImageByOSDMCode",
|
|
3246
|
+
"declaration": {
|
|
3247
|
+
"name": "svgImageByOSDMCode",
|
|
3248
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
3249
|
+
}
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"kind": "js",
|
|
3253
|
+
"name": "assetsTemplate",
|
|
3254
|
+
"declaration": {
|
|
3255
|
+
"name": "assetsTemplate",
|
|
3256
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
]
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"kind": "javascript-module",
|
|
3263
|
+
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
|
|
3264
|
+
"declarations": [
|
|
3265
|
+
{
|
|
3266
|
+
"kind": "class",
|
|
3267
|
+
"description": "Output one of the SVG graphics based on its code.",
|
|
3268
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
3269
|
+
"members": [
|
|
3135
3270
|
{
|
|
3136
3271
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
3272
|
+
"name": "elementName",
|
|
3138
3273
|
"type": {
|
|
3139
|
-
"text": "
|
|
3274
|
+
"text": "string"
|
|
3140
3275
|
},
|
|
3141
3276
|
"privacy": "public",
|
|
3142
|
-
"
|
|
3143
|
-
"
|
|
3144
|
-
"
|
|
3277
|
+
"static": true,
|
|
3278
|
+
"readonly": true,
|
|
3279
|
+
"default": "'sbb-seat-reservation-graphic'"
|
|
3145
3280
|
},
|
|
3146
3281
|
{
|
|
3147
3282
|
"kind": "field",
|
|
3148
|
-
"name": "
|
|
3283
|
+
"name": "name",
|
|
3149
3284
|
"type": {
|
|
3150
|
-
"text": "
|
|
3285
|
+
"text": "string"
|
|
3151
3286
|
},
|
|
3152
3287
|
"privacy": "public",
|
|
3153
|
-
"default": "
|
|
3154
|
-
"description": "
|
|
3155
|
-
"attribute": "
|
|
3288
|
+
"default": "''",
|
|
3289
|
+
"description": "Name of the SVG graphic to be displayed.",
|
|
3290
|
+
"attribute": "name"
|
|
3156
3291
|
},
|
|
3157
3292
|
{
|
|
3158
3293
|
"kind": "field",
|
|
3159
|
-
"name": "
|
|
3294
|
+
"name": "stretch",
|
|
3160
3295
|
"type": {
|
|
3161
|
-
"text": "
|
|
3296
|
+
"text": "boolean"
|
|
3162
3297
|
},
|
|
3163
3298
|
"privacy": "public",
|
|
3164
|
-
"default": "
|
|
3165
|
-
"description": "
|
|
3166
|
-
"attribute": "
|
|
3299
|
+
"default": "false",
|
|
3300
|
+
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
3301
|
+
"attribute": "stretch"
|
|
3167
3302
|
},
|
|
3168
3303
|
{
|
|
3169
3304
|
"kind": "field",
|
|
3170
|
-
"name": "
|
|
3171
|
-
"
|
|
3172
|
-
|
|
3305
|
+
"name": "_language",
|
|
3306
|
+
"privacy": "private",
|
|
3307
|
+
"default": "new SbbLanguageController(this)"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "method",
|
|
3311
|
+
"name": "_getSvgElement",
|
|
3312
|
+
"privacy": "private",
|
|
3313
|
+
"return": {
|
|
3314
|
+
"type": {
|
|
3315
|
+
"text": "Element | null"
|
|
3316
|
+
}
|
|
3317
|
+
},
|
|
3318
|
+
"parameters": [
|
|
3319
|
+
{
|
|
3320
|
+
"name": "svg",
|
|
3321
|
+
"type": {
|
|
3322
|
+
"text": "string"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
]
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"attributes": [
|
|
3329
|
+
{
|
|
3330
|
+
"name": "name",
|
|
3331
|
+
"type": {
|
|
3332
|
+
"text": "string"
|
|
3333
|
+
},
|
|
3334
|
+
"default": "''",
|
|
3335
|
+
"description": "Name of the SVG graphic to be displayed.",
|
|
3336
|
+
"fieldName": "name"
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
"name": "stretch",
|
|
3340
|
+
"type": {
|
|
3341
|
+
"text": "boolean"
|
|
3342
|
+
},
|
|
3343
|
+
"default": "false",
|
|
3344
|
+
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
3345
|
+
"fieldName": "stretch"
|
|
3346
|
+
}
|
|
3347
|
+
],
|
|
3348
|
+
"superclass": {
|
|
3349
|
+
"name": "SbbElement",
|
|
3350
|
+
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
3351
|
+
},
|
|
3352
|
+
"tagName": "sbb-seat-reservation-graphic",
|
|
3353
|
+
"customElement": true
|
|
3354
|
+
}
|
|
3355
|
+
],
|
|
3356
|
+
"exports": [
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "js",
|
|
3359
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
3360
|
+
"declaration": {
|
|
3361
|
+
"name": "SbbSeatReservationGraphicElement",
|
|
3362
|
+
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
]
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"kind": "javascript-module",
|
|
3369
|
+
"path": "seat-reservation/seat-reservation/seat-reservation-base-element.js",
|
|
3370
|
+
"declarations": [
|
|
3371
|
+
{
|
|
3372
|
+
"kind": "class",
|
|
3373
|
+
"description": "",
|
|
3374
|
+
"name": "SeatReservationBaseElement",
|
|
3375
|
+
"members": [
|
|
3376
|
+
{
|
|
3377
|
+
"kind": "field",
|
|
3378
|
+
"name": "events",
|
|
3379
|
+
"privacy": "public",
|
|
3380
|
+
"static": true,
|
|
3381
|
+
"readonly": true,
|
|
3382
|
+
"default": "{ selectedplaces: 'selectedplaces', selectedcoach: 'selectedcoach', }",
|
|
3383
|
+
"type": {
|
|
3384
|
+
"text": "{\n selectedplaces: 'selectedplaces',\n selectedcoach: 'selectedcoach',\n }"
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "field",
|
|
3389
|
+
"name": "seatReservations",
|
|
3390
|
+
"type": {
|
|
3391
|
+
"text": "SeatReservation[]"
|
|
3392
|
+
},
|
|
3393
|
+
"privacy": "public",
|
|
3394
|
+
"default": "null!",
|
|
3395
|
+
"description": "The seat reservations array contains all coaches and places",
|
|
3396
|
+
"attribute": "seat-reservations"
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "field",
|
|
3400
|
+
"name": "travelDirection",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "TravelDirection"
|
|
3403
|
+
},
|
|
3404
|
+
"privacy": "public",
|
|
3405
|
+
"default": "'NONE'",
|
|
3406
|
+
"description": "Displays an arrow showing what direction does train drive",
|
|
3407
|
+
"attribute": "travel-direction"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "field",
|
|
3411
|
+
"name": "hasNavigation",
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "boolean"
|
|
3414
|
+
},
|
|
3415
|
+
"privacy": "public",
|
|
3416
|
+
"default": "true",
|
|
3417
|
+
"description": "The seat reservation navigation can be toggled by this property",
|
|
3418
|
+
"attribute": "has-navigation"
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"kind": "field",
|
|
3422
|
+
"name": "alignVertical",
|
|
3423
|
+
"type": {
|
|
3424
|
+
"text": "boolean"
|
|
3425
|
+
},
|
|
3426
|
+
"privacy": "public",
|
|
3427
|
+
"default": "false",
|
|
3428
|
+
"description": "The seat reservation area is aligned vertically",
|
|
3429
|
+
"attribute": "align-vertical",
|
|
3430
|
+
"reflects": true
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"kind": "field",
|
|
3434
|
+
"name": "baseGridSize",
|
|
3435
|
+
"type": {
|
|
3436
|
+
"text": "number"
|
|
3437
|
+
},
|
|
3438
|
+
"privacy": "public",
|
|
3439
|
+
"default": "16",
|
|
3440
|
+
"description": "The seat reservation area's base grid size",
|
|
3441
|
+
"attribute": "base-grid-size"
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"kind": "field",
|
|
3445
|
+
"name": "height",
|
|
3446
|
+
"type": {
|
|
3447
|
+
"text": "number"
|
|
3448
|
+
},
|
|
3449
|
+
"privacy": "public",
|
|
3450
|
+
"default": "null!",
|
|
3451
|
+
"description": "The seat reservation area's width",
|
|
3452
|
+
"attribute": "height"
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"kind": "field",
|
|
3456
|
+
"name": "maxSeatReservations",
|
|
3457
|
+
"type": {
|
|
3458
|
+
"text": "number"
|
|
3459
|
+
},
|
|
3460
|
+
"privacy": "public",
|
|
3461
|
+
"default": "-1",
|
|
3462
|
+
"description": "Maximal number of possible clickable seats",
|
|
3463
|
+
"attribute": "max-seat-reservations"
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
"kind": "field",
|
|
3467
|
+
"name": "maxBicycleReservations",
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "number"
|
|
3470
|
+
},
|
|
3471
|
+
"privacy": "public",
|
|
3472
|
+
"default": "-1",
|
|
3473
|
+
"description": "Maximal number of possible clickable bicycle places",
|
|
3474
|
+
"attribute": "max-bicycle-reservations"
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"kind": "field",
|
|
3478
|
+
"name": "preventPlaceClick",
|
|
3479
|
+
"type": {
|
|
3480
|
+
"text": "boolean"
|
|
3173
3481
|
},
|
|
3174
3482
|
"privacy": "public",
|
|
3175
3483
|
"default": "false",
|
|
@@ -7346,314 +7654,6 @@
|
|
|
7346
7654
|
}
|
|
7347
7655
|
]
|
|
7348
7656
|
},
|
|
7349
|
-
{
|
|
7350
|
-
"kind": "javascript-module",
|
|
7351
|
-
"path": "seat-reservation/common/mapper.js",
|
|
7352
|
-
"declarations": [],
|
|
7353
|
-
"exports": [
|
|
7354
|
-
{
|
|
7355
|
-
"kind": "js",
|
|
7356
|
-
"name": "*",
|
|
7357
|
-
"declaration": {
|
|
7358
|
-
"name": "*",
|
|
7359
|
-
"module": "seat-reservation/common/mapper/mapper.js"
|
|
7360
|
-
}
|
|
7361
|
-
},
|
|
7362
|
-
{
|
|
7363
|
-
"kind": "js",
|
|
7364
|
-
"name": "*",
|
|
7365
|
-
"declaration": {
|
|
7366
|
-
"name": "*",
|
|
7367
|
-
"module": "seat-reservation/common/mapper/icon-mapper.js"
|
|
7368
|
-
}
|
|
7369
|
-
}
|
|
7370
|
-
]
|
|
7371
|
-
},
|
|
7372
|
-
{
|
|
7373
|
-
"kind": "javascript-module",
|
|
7374
|
-
"path": "seat-reservation/common/svgs.js",
|
|
7375
|
-
"declarations": [
|
|
7376
|
-
{
|
|
7377
|
-
"kind": "variable",
|
|
7378
|
-
"name": "svgs",
|
|
7379
|
-
"type": {
|
|
7380
|
-
"text": "object"
|
|
7381
|
-
},
|
|
7382
|
-
"default": "{ chassisDriverBus, chassisDriverTrain, chassisDriverTrainFull, chassisPassageCompartmentLeftTop, chassisPassageCompartmentMiddle, chassisPassageCompartmentRightBottom, chassisPassageWaggonBottomRight, chassisPassageWaggonTopLeft, chassisRowOuter, chassisRowMiddle, chassisSeparator, interiorPlaceBikeDefault, interiorPlaceBikeNotBookable, interiorPlaceBikeSelected, interiorPlaceBikeUnavailable, interiorPlaceSeatDefault, interiorPlaceSeatNotBookable, interiorPlaceSeatSelected, interiorPlaceSeatUnavailable, layoutEntrance, }"
|
|
7383
|
-
}
|
|
7384
|
-
],
|
|
7385
|
-
"exports": [
|
|
7386
|
-
{
|
|
7387
|
-
"kind": "js",
|
|
7388
|
-
"name": "svgs",
|
|
7389
|
-
"declaration": {
|
|
7390
|
-
"name": "svgs",
|
|
7391
|
-
"module": "seat-reservation/common/svgs.js"
|
|
7392
|
-
}
|
|
7393
|
-
}
|
|
7394
|
-
]
|
|
7395
|
-
},
|
|
7396
|
-
{
|
|
7397
|
-
"kind": "javascript-module",
|
|
7398
|
-
"path": "seat-reservation/common/translations.js",
|
|
7399
|
-
"declarations": [],
|
|
7400
|
-
"exports": [
|
|
7401
|
-
{
|
|
7402
|
-
"kind": "js",
|
|
7403
|
-
"name": "*",
|
|
7404
|
-
"declaration": {
|
|
7405
|
-
"name": "*",
|
|
7406
|
-
"module": "seat-reservation/common/translations/i18n.js"
|
|
7407
|
-
}
|
|
7408
|
-
}
|
|
7409
|
-
]
|
|
7410
|
-
},
|
|
7411
|
-
{
|
|
7412
|
-
"kind": "javascript-module",
|
|
7413
|
-
"path": "seat-reservation/common/types.js",
|
|
7414
|
-
"declarations": [],
|
|
7415
|
-
"exports": []
|
|
7416
|
-
},
|
|
7417
|
-
{
|
|
7418
|
-
"kind": "javascript-module",
|
|
7419
|
-
"path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
|
|
7420
|
-
"declarations": [
|
|
7421
|
-
{
|
|
7422
|
-
"kind": "class",
|
|
7423
|
-
"description": "Visualize an area with a special meaning within a wagon.",
|
|
7424
|
-
"name": "SbbSeatReservationAreaElement",
|
|
7425
|
-
"members": [
|
|
7426
|
-
{
|
|
7427
|
-
"kind": "field",
|
|
7428
|
-
"name": "elementName",
|
|
7429
|
-
"type": {
|
|
7430
|
-
"text": "string"
|
|
7431
|
-
},
|
|
7432
|
-
"privacy": "public",
|
|
7433
|
-
"static": true,
|
|
7434
|
-
"readonly": true,
|
|
7435
|
-
"default": "'sbb-seat-reservation-area'"
|
|
7436
|
-
},
|
|
7437
|
-
{
|
|
7438
|
-
"kind": "field",
|
|
7439
|
-
"name": "mounting",
|
|
7440
|
-
"type": {
|
|
7441
|
-
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
7442
|
-
},
|
|
7443
|
-
"privacy": "public",
|
|
7444
|
-
"default": "'free'",
|
|
7445
|
-
"description": "Mounting Prop",
|
|
7446
|
-
"attribute": "mounting",
|
|
7447
|
-
"reflects": true
|
|
7448
|
-
},
|
|
7449
|
-
{
|
|
7450
|
-
"kind": "field",
|
|
7451
|
-
"name": "background",
|
|
7452
|
-
"type": {
|
|
7453
|
-
"text": "'light' | 'dark'"
|
|
7454
|
-
},
|
|
7455
|
-
"privacy": "public",
|
|
7456
|
-
"default": "'light'",
|
|
7457
|
-
"description": "the background of the area",
|
|
7458
|
-
"attribute": "background",
|
|
7459
|
-
"reflects": true
|
|
7460
|
-
}
|
|
7461
|
-
],
|
|
7462
|
-
"attributes": [
|
|
7463
|
-
{
|
|
7464
|
-
"name": "mounting",
|
|
7465
|
-
"type": {
|
|
7466
|
-
"text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
|
|
7467
|
-
},
|
|
7468
|
-
"default": "'free'",
|
|
7469
|
-
"description": "Mounting Prop",
|
|
7470
|
-
"fieldName": "mounting"
|
|
7471
|
-
},
|
|
7472
|
-
{
|
|
7473
|
-
"name": "background",
|
|
7474
|
-
"type": {
|
|
7475
|
-
"text": "'light' | 'dark'"
|
|
7476
|
-
},
|
|
7477
|
-
"default": "'light'",
|
|
7478
|
-
"description": "the background of the area",
|
|
7479
|
-
"fieldName": "background"
|
|
7480
|
-
}
|
|
7481
|
-
],
|
|
7482
|
-
"superclass": {
|
|
7483
|
-
"name": "SbbElement",
|
|
7484
|
-
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
7485
|
-
},
|
|
7486
|
-
"tagName": "sbb-seat-reservation-area",
|
|
7487
|
-
"customElement": true
|
|
7488
|
-
}
|
|
7489
|
-
],
|
|
7490
|
-
"exports": [
|
|
7491
|
-
{
|
|
7492
|
-
"kind": "js",
|
|
7493
|
-
"name": "SbbSeatReservationAreaElement",
|
|
7494
|
-
"declaration": {
|
|
7495
|
-
"name": "SbbSeatReservationAreaElement",
|
|
7496
|
-
"module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
|
|
7497
|
-
}
|
|
7498
|
-
}
|
|
7499
|
-
]
|
|
7500
|
-
},
|
|
7501
|
-
{
|
|
7502
|
-
"kind": "javascript-module",
|
|
7503
|
-
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
|
|
7504
|
-
"declarations": [
|
|
7505
|
-
{
|
|
7506
|
-
"kind": "function",
|
|
7507
|
-
"name": "svgImageByOSDMCode",
|
|
7508
|
-
"return": {
|
|
7509
|
-
"type": {
|
|
7510
|
-
"text": ""
|
|
7511
|
-
}
|
|
7512
|
-
},
|
|
7513
|
-
"parameters": [
|
|
7514
|
-
{
|
|
7515
|
-
"name": "osdmCode",
|
|
7516
|
-
"type": {
|
|
7517
|
-
"text": "string"
|
|
7518
|
-
}
|
|
7519
|
-
}
|
|
7520
|
-
],
|
|
7521
|
-
"description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
|
|
7522
|
-
},
|
|
7523
|
-
{
|
|
7524
|
-
"kind": "variable",
|
|
7525
|
-
"name": "assetsTemplate",
|
|
7526
|
-
"type": {
|
|
7527
|
-
"text": "TemplateResult"
|
|
7528
|
-
},
|
|
7529
|
-
"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} `"
|
|
7530
|
-
}
|
|
7531
|
-
],
|
|
7532
|
-
"exports": [
|
|
7533
|
-
{
|
|
7534
|
-
"kind": "js",
|
|
7535
|
-
"name": "svgImageByOSDMCode",
|
|
7536
|
-
"declaration": {
|
|
7537
|
-
"name": "svgImageByOSDMCode",
|
|
7538
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
7539
|
-
}
|
|
7540
|
-
},
|
|
7541
|
-
{
|
|
7542
|
-
"kind": "js",
|
|
7543
|
-
"name": "assetsTemplate",
|
|
7544
|
-
"declaration": {
|
|
7545
|
-
"name": "assetsTemplate",
|
|
7546
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
|
|
7547
|
-
}
|
|
7548
|
-
}
|
|
7549
|
-
]
|
|
7550
|
-
},
|
|
7551
|
-
{
|
|
7552
|
-
"kind": "javascript-module",
|
|
7553
|
-
"path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
|
|
7554
|
-
"declarations": [
|
|
7555
|
-
{
|
|
7556
|
-
"kind": "class",
|
|
7557
|
-
"description": "Output one of the SVG graphics based on its code.",
|
|
7558
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
7559
|
-
"members": [
|
|
7560
|
-
{
|
|
7561
|
-
"kind": "field",
|
|
7562
|
-
"name": "elementName",
|
|
7563
|
-
"type": {
|
|
7564
|
-
"text": "string"
|
|
7565
|
-
},
|
|
7566
|
-
"privacy": "public",
|
|
7567
|
-
"static": true,
|
|
7568
|
-
"readonly": true,
|
|
7569
|
-
"default": "'sbb-seat-reservation-graphic'"
|
|
7570
|
-
},
|
|
7571
|
-
{
|
|
7572
|
-
"kind": "field",
|
|
7573
|
-
"name": "name",
|
|
7574
|
-
"type": {
|
|
7575
|
-
"text": "string"
|
|
7576
|
-
},
|
|
7577
|
-
"privacy": "public",
|
|
7578
|
-
"default": "''",
|
|
7579
|
-
"description": "Name of the SVG graphic to be displayed.",
|
|
7580
|
-
"attribute": "name"
|
|
7581
|
-
},
|
|
7582
|
-
{
|
|
7583
|
-
"kind": "field",
|
|
7584
|
-
"name": "stretch",
|
|
7585
|
-
"type": {
|
|
7586
|
-
"text": "boolean"
|
|
7587
|
-
},
|
|
7588
|
-
"privacy": "public",
|
|
7589
|
-
"default": "false",
|
|
7590
|
-
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
7591
|
-
"attribute": "stretch"
|
|
7592
|
-
},
|
|
7593
|
-
{
|
|
7594
|
-
"kind": "field",
|
|
7595
|
-
"name": "_language",
|
|
7596
|
-
"privacy": "private",
|
|
7597
|
-
"default": "new SbbLanguageController(this)"
|
|
7598
|
-
},
|
|
7599
|
-
{
|
|
7600
|
-
"kind": "method",
|
|
7601
|
-
"name": "_getSvgElement",
|
|
7602
|
-
"privacy": "private",
|
|
7603
|
-
"return": {
|
|
7604
|
-
"type": {
|
|
7605
|
-
"text": "Element | null"
|
|
7606
|
-
}
|
|
7607
|
-
},
|
|
7608
|
-
"parameters": [
|
|
7609
|
-
{
|
|
7610
|
-
"name": "svg",
|
|
7611
|
-
"type": {
|
|
7612
|
-
"text": "string"
|
|
7613
|
-
}
|
|
7614
|
-
}
|
|
7615
|
-
]
|
|
7616
|
-
}
|
|
7617
|
-
],
|
|
7618
|
-
"attributes": [
|
|
7619
|
-
{
|
|
7620
|
-
"name": "name",
|
|
7621
|
-
"type": {
|
|
7622
|
-
"text": "string"
|
|
7623
|
-
},
|
|
7624
|
-
"default": "''",
|
|
7625
|
-
"description": "Name of the SVG graphic to be displayed.",
|
|
7626
|
-
"fieldName": "name"
|
|
7627
|
-
},
|
|
7628
|
-
{
|
|
7629
|
-
"name": "stretch",
|
|
7630
|
-
"type": {
|
|
7631
|
-
"text": "boolean"
|
|
7632
|
-
},
|
|
7633
|
-
"default": "false",
|
|
7634
|
-
"description": "if true, scale the graphic content of the given element non-uniformly if necessary",
|
|
7635
|
-
"fieldName": "stretch"
|
|
7636
|
-
}
|
|
7637
|
-
],
|
|
7638
|
-
"superclass": {
|
|
7639
|
-
"name": "SbbElement",
|
|
7640
|
-
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
7641
|
-
},
|
|
7642
|
-
"tagName": "sbb-seat-reservation-graphic",
|
|
7643
|
-
"customElement": true
|
|
7644
|
-
}
|
|
7645
|
-
],
|
|
7646
|
-
"exports": [
|
|
7647
|
-
{
|
|
7648
|
-
"kind": "js",
|
|
7649
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
7650
|
-
"declaration": {
|
|
7651
|
-
"name": "SbbSeatReservationGraphicElement",
|
|
7652
|
-
"module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
|
|
7653
|
-
}
|
|
7654
|
-
}
|
|
7655
|
-
]
|
|
7656
|
-
},
|
|
7657
7657
|
{
|
|
7658
7658
|
"kind": "javascript-module",
|
|
7659
7659
|
"path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental-dev",
|
|
3
|
-
"version": "4.12.1-dev.
|
|
3
|
+
"version": "4.12.1-dev.1778065370",
|
|
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/1d7b8f6f21088964b488d9643be83ff89d6375e6"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|