@sbb-esta/lyne-elements-experimental-dev 4.9.0-dev.1775065829 → 4.9.0-dev.1775069365

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.
Files changed (2) hide show
  1. package/custom-elements.json +295 -295
  2. package/package.json +2 -2
@@ -3124,6 +3124,246 @@
3124
3124
  "declarations": [],
3125
3125
  "exports": []
3126
3126
  },
3127
+ {
3128
+ "kind": "javascript-module",
3129
+ "path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
3130
+ "declarations": [
3131
+ {
3132
+ "kind": "class",
3133
+ "description": "Visualize an area with a special meaning within a wagon.",
3134
+ "name": "SbbSeatReservationAreaElement",
3135
+ "members": [
3136
+ {
3137
+ "kind": "field",
3138
+ "name": "elementName",
3139
+ "type": {
3140
+ "text": "string"
3141
+ },
3142
+ "privacy": "public",
3143
+ "static": true,
3144
+ "readonly": true,
3145
+ "default": "'sbb-seat-reservation-area'"
3146
+ },
3147
+ {
3148
+ "kind": "field",
3149
+ "name": "mounting",
3150
+ "type": {
3151
+ "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
3152
+ },
3153
+ "privacy": "public",
3154
+ "default": "'free'",
3155
+ "description": "Mounting Prop",
3156
+ "attribute": "mounting",
3157
+ "reflects": true
3158
+ },
3159
+ {
3160
+ "kind": "field",
3161
+ "name": "background",
3162
+ "type": {
3163
+ "text": "'light' | 'dark'"
3164
+ },
3165
+ "privacy": "public",
3166
+ "default": "'light'",
3167
+ "description": "the background of the area",
3168
+ "attribute": "background",
3169
+ "reflects": true
3170
+ }
3171
+ ],
3172
+ "attributes": [
3173
+ {
3174
+ "name": "mounting",
3175
+ "type": {
3176
+ "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
3177
+ },
3178
+ "default": "'free'",
3179
+ "description": "Mounting Prop",
3180
+ "fieldName": "mounting"
3181
+ },
3182
+ {
3183
+ "name": "background",
3184
+ "type": {
3185
+ "text": "'light' | 'dark'"
3186
+ },
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": [
3224
+ {
3225
+ "name": "osdmCode",
3226
+ "type": {
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": [
3270
+ {
3271
+ "kind": "field",
3272
+ "name": "elementName",
3273
+ "type": {
3274
+ "text": "string"
3275
+ },
3276
+ "privacy": "public",
3277
+ "static": true,
3278
+ "readonly": true,
3279
+ "default": "'sbb-seat-reservation-graphic'"
3280
+ },
3281
+ {
3282
+ "kind": "field",
3283
+ "name": "name",
3284
+ "type": {
3285
+ "text": "string"
3286
+ },
3287
+ "privacy": "public",
3288
+ "default": "''",
3289
+ "description": "Name of the SVG graphic to be displayed.",
3290
+ "attribute": "name"
3291
+ },
3292
+ {
3293
+ "kind": "field",
3294
+ "name": "stretch",
3295
+ "type": {
3296
+ "text": "boolean"
3297
+ },
3298
+ "privacy": "public",
3299
+ "default": "false",
3300
+ "description": "if true, scale the graphic content of the given element non-uniformly if necessary",
3301
+ "attribute": "stretch"
3302
+ },
3303
+ {
3304
+ "kind": "field",
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
+ },
3127
3367
  {
3128
3368
  "kind": "javascript-module",
3129
3369
  "path": "seat-reservation/seat-reservation/seat-reservation-base-element.js",
@@ -7295,12 +7535,12 @@
7295
7535
  },
7296
7536
  {
7297
7537
  "kind": "javascript-module",
7298
- "path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
7538
+ "path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
7299
7539
  "declarations": [
7300
7540
  {
7301
7541
  "kind": "class",
7302
- "description": "Visualize an area with a special meaning within a wagon.",
7303
- "name": "SbbSeatReservationAreaElement",
7542
+ "description": "This component will display the navigation coach item for Seat reservation.",
7543
+ "name": "SbbSeatReservationNavigationCoachElement",
7304
7544
  "members": [
7305
7545
  {
7306
7546
  "kind": "field",
@@ -7311,251 +7551,11 @@
7311
7551
  "privacy": "public",
7312
7552
  "static": true,
7313
7553
  "readonly": true,
7314
- "default": "'sbb-seat-reservation-area'"
7554
+ "default": "'sbb-seat-reservation-navigation-coach'"
7315
7555
  },
7316
7556
  {
7317
7557
  "kind": "field",
7318
- "name": "mounting",
7319
- "type": {
7320
- "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
7321
- },
7322
- "privacy": "public",
7323
- "default": "'free'",
7324
- "description": "Mounting Prop",
7325
- "attribute": "mounting",
7326
- "reflects": true
7327
- },
7328
- {
7329
- "kind": "field",
7330
- "name": "background",
7331
- "type": {
7332
- "text": "'light' | 'dark'"
7333
- },
7334
- "privacy": "public",
7335
- "default": "'light'",
7336
- "description": "the background of the area",
7337
- "attribute": "background",
7338
- "reflects": true
7339
- }
7340
- ],
7341
- "attributes": [
7342
- {
7343
- "name": "mounting",
7344
- "type": {
7345
- "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
7346
- },
7347
- "default": "'free'",
7348
- "description": "Mounting Prop",
7349
- "fieldName": "mounting"
7350
- },
7351
- {
7352
- "name": "background",
7353
- "type": {
7354
- "text": "'light' | 'dark'"
7355
- },
7356
- "default": "'light'",
7357
- "description": "the background of the area",
7358
- "fieldName": "background"
7359
- }
7360
- ],
7361
- "superclass": {
7362
- "name": "SbbElement",
7363
- "package": "@sbb-esta/lyne-elements/core/base-elements.js"
7364
- },
7365
- "tagName": "sbb-seat-reservation-area",
7366
- "customElement": true
7367
- }
7368
- ],
7369
- "exports": [
7370
- {
7371
- "kind": "js",
7372
- "name": "SbbSeatReservationAreaElement",
7373
- "declaration": {
7374
- "name": "SbbSeatReservationAreaElement",
7375
- "module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
7376
- }
7377
- }
7378
- ]
7379
- },
7380
- {
7381
- "kind": "javascript-module",
7382
- "path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
7383
- "declarations": [
7384
- {
7385
- "kind": "function",
7386
- "name": "svgImageByOSDMCode",
7387
- "return": {
7388
- "type": {
7389
- "text": ""
7390
- }
7391
- },
7392
- "parameters": [
7393
- {
7394
- "name": "osdmCode",
7395
- "type": {
7396
- "text": "string"
7397
- }
7398
- }
7399
- ],
7400
- "description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
7401
- },
7402
- {
7403
- "kind": "variable",
7404
- "name": "assetsTemplate",
7405
- "type": {
7406
- "text": "TemplateResult"
7407
- },
7408
- "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} `"
7409
- }
7410
- ],
7411
- "exports": [
7412
- {
7413
- "kind": "js",
7414
- "name": "svgImageByOSDMCode",
7415
- "declaration": {
7416
- "name": "svgImageByOSDMCode",
7417
- "module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
7418
- }
7419
- },
7420
- {
7421
- "kind": "js",
7422
- "name": "assetsTemplate",
7423
- "declaration": {
7424
- "name": "assetsTemplate",
7425
- "module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
7426
- }
7427
- }
7428
- ]
7429
- },
7430
- {
7431
- "kind": "javascript-module",
7432
- "path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
7433
- "declarations": [
7434
- {
7435
- "kind": "class",
7436
- "description": "Output one of the SVG graphics based on its code.",
7437
- "name": "SbbSeatReservationGraphicElement",
7438
- "members": [
7439
- {
7440
- "kind": "field",
7441
- "name": "elementName",
7442
- "type": {
7443
- "text": "string"
7444
- },
7445
- "privacy": "public",
7446
- "static": true,
7447
- "readonly": true,
7448
- "default": "'sbb-seat-reservation-graphic'"
7449
- },
7450
- {
7451
- "kind": "field",
7452
- "name": "name",
7453
- "type": {
7454
- "text": "string"
7455
- },
7456
- "privacy": "public",
7457
- "default": "''",
7458
- "description": "Name of the SVG graphic to be displayed.",
7459
- "attribute": "name"
7460
- },
7461
- {
7462
- "kind": "field",
7463
- "name": "stretch",
7464
- "type": {
7465
- "text": "boolean"
7466
- },
7467
- "privacy": "public",
7468
- "default": "false",
7469
- "description": "if true, scale the graphic content of the given element non-uniformly if necessary",
7470
- "attribute": "stretch"
7471
- },
7472
- {
7473
- "kind": "field",
7474
- "name": "_language",
7475
- "privacy": "private",
7476
- "default": "new SbbLanguageController(this)"
7477
- },
7478
- {
7479
- "kind": "method",
7480
- "name": "_getSvgElement",
7481
- "privacy": "private",
7482
- "return": {
7483
- "type": {
7484
- "text": "Element | null"
7485
- }
7486
- },
7487
- "parameters": [
7488
- {
7489
- "name": "svg",
7490
- "type": {
7491
- "text": "string"
7492
- }
7493
- }
7494
- ]
7495
- }
7496
- ],
7497
- "attributes": [
7498
- {
7499
- "name": "name",
7500
- "type": {
7501
- "text": "string"
7502
- },
7503
- "default": "''",
7504
- "description": "Name of the SVG graphic to be displayed.",
7505
- "fieldName": "name"
7506
- },
7507
- {
7508
- "name": "stretch",
7509
- "type": {
7510
- "text": "boolean"
7511
- },
7512
- "default": "false",
7513
- "description": "if true, scale the graphic content of the given element non-uniformly if necessary",
7514
- "fieldName": "stretch"
7515
- }
7516
- ],
7517
- "superclass": {
7518
- "name": "SbbElement",
7519
- "package": "@sbb-esta/lyne-elements/core/base-elements.js"
7520
- },
7521
- "tagName": "sbb-seat-reservation-graphic",
7522
- "customElement": true
7523
- }
7524
- ],
7525
- "exports": [
7526
- {
7527
- "kind": "js",
7528
- "name": "SbbSeatReservationGraphicElement",
7529
- "declaration": {
7530
- "name": "SbbSeatReservationGraphicElement",
7531
- "module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
7532
- }
7533
- }
7534
- ]
7535
- },
7536
- {
7537
- "kind": "javascript-module",
7538
- "path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
7539
- "declarations": [
7540
- {
7541
- "kind": "class",
7542
- "description": "This component will display the navigation coach item for Seat reservation.",
7543
- "name": "SbbSeatReservationNavigationCoachElement",
7544
- "members": [
7545
- {
7546
- "kind": "field",
7547
- "name": "elementName",
7548
- "type": {
7549
- "text": "string"
7550
- },
7551
- "privacy": "public",
7552
- "static": true,
7553
- "readonly": true,
7554
- "default": "'sbb-seat-reservation-navigation-coach'"
7555
- },
7556
- {
7557
- "kind": "field",
7558
- "name": "events",
7558
+ "name": "events",
7559
7559
  "privacy": "public",
7560
7560
  "static": true,
7561
7561
  "readonly": true,
@@ -8378,6 +8378,56 @@
8378
8378
  }
8379
8379
  ]
8380
8380
  },
8381
+ {
8382
+ "kind": "javascript-module",
8383
+ "path": "seat-reservation/common/translations/i18n.js",
8384
+ "declarations": [
8385
+ {
8386
+ "kind": "function",
8387
+ "name": "getI18nSeatReservation",
8388
+ "return": {
8389
+ "type": {
8390
+ "text": ""
8391
+ }
8392
+ },
8393
+ "parameters": [
8394
+ {
8395
+ "name": "key",
8396
+ "type": {
8397
+ "text": "string"
8398
+ },
8399
+ "description": "The translation key (can be nested, e.g. \"PLACE_PROPERTIES.AISLE_SEAT\")."
8400
+ },
8401
+ {
8402
+ "name": "language",
8403
+ "type": {
8404
+ "text": "string"
8405
+ },
8406
+ "description": "The desired language (e.g. \"de\", \"en\", \"fr\", \"it\")."
8407
+ },
8408
+ {
8409
+ "name": "args",
8410
+ "optional": true,
8411
+ "type": {
8412
+ "text": "any[]"
8413
+ },
8414
+ "description": "Optional array of parameters to replace placeholders like _param0_, _param1_ in the translation string."
8415
+ }
8416
+ ],
8417
+ "description": "Returns the translation for a seat reservation string based on a key and language.\nSupports nested keys (e.g. \"PLACE_PROPERTIES.AISLE_SEAT\") and placeholder replacement."
8418
+ }
8419
+ ],
8420
+ "exports": [
8421
+ {
8422
+ "kind": "js",
8423
+ "name": "getI18nSeatReservation",
8424
+ "declaration": {
8425
+ "name": "getI18nSeatReservation",
8426
+ "module": "seat-reservation/common/translations/i18n.js"
8427
+ }
8428
+ }
8429
+ ]
8430
+ },
8381
8431
  {
8382
8432
  "kind": "javascript-module",
8383
8433
  "path": "seat-reservation/common/mapper/icon-mapper.js",
@@ -8574,56 +8624,6 @@
8574
8624
  }
8575
8625
  }
8576
8626
  ]
8577
- },
8578
- {
8579
- "kind": "javascript-module",
8580
- "path": "seat-reservation/common/translations/i18n.js",
8581
- "declarations": [
8582
- {
8583
- "kind": "function",
8584
- "name": "getI18nSeatReservation",
8585
- "return": {
8586
- "type": {
8587
- "text": ""
8588
- }
8589
- },
8590
- "parameters": [
8591
- {
8592
- "name": "key",
8593
- "type": {
8594
- "text": "string"
8595
- },
8596
- "description": "The translation key (can be nested, e.g. \"PLACE_PROPERTIES.AISLE_SEAT\")."
8597
- },
8598
- {
8599
- "name": "language",
8600
- "type": {
8601
- "text": "string"
8602
- },
8603
- "description": "The desired language (e.g. \"de\", \"en\", \"fr\", \"it\")."
8604
- },
8605
- {
8606
- "name": "args",
8607
- "optional": true,
8608
- "type": {
8609
- "text": "any[]"
8610
- },
8611
- "description": "Optional array of parameters to replace placeholders like _param0_, _param1_ in the translation string."
8612
- }
8613
- ],
8614
- "description": "Returns the translation for a seat reservation string based on a key and language.\nSupports nested keys (e.g. \"PLACE_PROPERTIES.AISLE_SEAT\") and placeholder replacement."
8615
- }
8616
- ],
8617
- "exports": [
8618
- {
8619
- "kind": "js",
8620
- "name": "getI18nSeatReservation",
8621
- "declaration": {
8622
- "name": "getI18nSeatReservation",
8623
- "module": "seat-reservation/common/translations/i18n.js"
8624
- }
8625
- }
8626
- ]
8627
8627
  }
8628
8628
  ]
8629
8629
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-experimental-dev",
3
- "version": "4.9.0-dev.1775065829",
3
+ "version": "4.9.0-dev.1775069365",
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/cdc0832c6b7113f0ca1ca439078da3de3d9d0e66"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/bd37d267d39a90e114c55f125652cc650d5f01c9"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {