@opentrainticketing/netex-deckplan-editor 1.0.7 → 1.0.9

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 (41) hide show
  1. package/dist/app/App.vue.d.ts +4 -0
  2. package/dist/app/main.d.ts +1 -0
  3. package/dist/components/editor/DeckVisualization.vue.d.ts +46 -0
  4. package/dist/components/editor/DeckplanEditor.vue.d.ts +8 -0
  5. package/dist/components/editor/ElementCatalog.vue.d.ts +9 -0
  6. package/dist/components/editor/ObjectProperties.vue.d.ts +19 -0
  7. package/dist/components/editor/WagonVisualization.vue.d.ts +25 -0
  8. package/dist/components/editor/XmlViewer.vue.d.ts +23 -0
  9. package/dist/components/editor/index.d.ts +3 -0
  10. package/dist/components/renderer/DeckRendering.vue.d.ts +44 -0
  11. package/dist/components/renderer/index.d.ts +1 -0
  12. package/dist/helpers/parser.d.ts +2 -0
  13. package/dist/index.d.ts +12 -0
  14. package/dist/netex-deckplan-editor-vue.es.js +2662 -0
  15. package/dist/netex-deckplan-editor.css +1 -0
  16. package/dist/netex-deckplan-editor.es.js +3183 -3080
  17. package/dist/netex-deckplan-editor.umd.js +25 -15
  18. package/dist/types/netex/actualVehicleEquipment.d.ts +28 -0
  19. package/dist/types/netex/centroid.d.ts +11 -0
  20. package/dist/types/netex/deck.d.ts +70 -0
  21. package/dist/types/netex/deckEntranceCouple.d.ts +25 -0
  22. package/dist/types/netex/deckEntranceUsage.d.ts +31 -0
  23. package/dist/types/netex/deckLevel.d.ts +27 -0
  24. package/dist/types/netex/deckPlan.d.ts +32 -0
  25. package/dist/types/netex/deckSpaceCapacity.d.ts +18 -0
  26. package/dist/types/netex/equipment.d.ts +12 -0
  27. package/dist/types/netex/general.d.ts +30 -0
  28. package/dist/types/netex/luggageSpot.d.ts +50 -0
  29. package/dist/types/netex/otherDeckSpace.d.ts +33 -0
  30. package/dist/types/netex/passengerEntrance.d.ts +114 -0
  31. package/dist/types/netex/passengerSpace.d.ts +109 -0
  32. package/dist/types/netex/passengerSpot.d.ts +106 -0
  33. package/dist/types/netex/polygon.d.ts +5 -0
  34. package/dist/types/netex/serviceFacilitySet.d.ts +12 -0
  35. package/dist/types/netex/spotColumn.d.ts +24 -0
  36. package/dist/types/netex/spotRow.d.ts +24 -0
  37. package/dist/types/netex/stopAffinity.d.ts +1 -0
  38. package/dist/types/netex/validityCondition.d.ts +27 -0
  39. package/dist/types/view/seats.d.ts +8 -0
  40. package/dist/webcomponent/webcomponent.d.ts +22 -0
  41. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import type { EquipmentRef } from './equipment';
2
+ export declare class ActualVehicleEquipment {
3
+ attr_id: string;
4
+ attr_version: string;
5
+ Units: number;
6
+ TicketingEquipmentRef: EquipmentRef | undefined;
7
+ TicketValidatorEquipmentRef: EquipmentRef | undefined;
8
+ constructor({ attr_id, attr_version, Units, TicketingEquipmentRef, TicketValidatorEquipmentRef, }: {
9
+ attr_id: string;
10
+ attr_version: string;
11
+ Units: number;
12
+ TicketingEquipmentRef: EquipmentRef | undefined;
13
+ TicketValidatorEquipmentRef: EquipmentRef | undefined;
14
+ });
15
+ toXML(): {
16
+ attr_id: string;
17
+ attr_version: string;
18
+ Units: number;
19
+ TicketingEquipmentRef: {
20
+ attr_ref: string;
21
+ attr_version: string;
22
+ } | undefined;
23
+ TicketValidatorEquipmentRef: {
24
+ attr_ref: string;
25
+ attr_version: string;
26
+ } | undefined;
27
+ };
28
+ }
@@ -0,0 +1,11 @@
1
+ export declare class Centroid {
2
+ x: number;
3
+ y: number;
4
+ constructor(x: number, y: number);
5
+ static fromXML(value: any): Centroid | undefined;
6
+ toXML(): {
7
+ Location: {
8
+ pos: string;
9
+ };
10
+ };
11
+ }
@@ -0,0 +1,70 @@
1
+ import { DeckLevelRef as GeneralDeckLevelRef } from './deckLevel';
2
+ import { OtherDeckSpace } from './otherDeckSpace';
3
+ import { PassengerSpace } from './passengerSpace';
4
+ import { Polygon } from './polygon';
5
+ import { SpotColumn } from './spotColumn';
6
+ import { SpotRow } from './spotRow';
7
+ export declare class Deck {
8
+ attr_id: string;
9
+ attr_version: string;
10
+ Name: string;
11
+ polygon: Polygon | undefined;
12
+ deckspaces: (OtherDeckSpace | PassengerSpace)[];
13
+ DeckLevelRef: GeneralDeckLevelRef | undefined;
14
+ spotRows: SpotRow[];
15
+ spotColumns: SpotColumn[];
16
+ Width: number;
17
+ Length: number;
18
+ constructor({ attr_id, attr_version, deckSpaces, spotRows, spotColumns, DeckLevelRef, Name, polygon, Width, Length, }: {
19
+ attr_id: string;
20
+ attr_version: string;
21
+ deckSpaces: {
22
+ OtherDeckSpace: any | any[];
23
+ PassengerSpace: any | any[];
24
+ };
25
+ spotRows: {
26
+ SpotRow: any[];
27
+ } | undefined;
28
+ spotColumns: {
29
+ SpotColumn: any[];
30
+ } | undefined;
31
+ DeckLevelRef: GeneralDeckLevelRef | undefined;
32
+ Name: string | undefined;
33
+ polygon: object | undefined;
34
+ Width: number | undefined;
35
+ Length: number | undefined;
36
+ });
37
+ toXML(): {
38
+ attr_id: string;
39
+ attr_version: string;
40
+ spotRows: {
41
+ SpotRow: object[];
42
+ };
43
+ spotColumns: {
44
+ SpotColumn: object[];
45
+ };
46
+ deckSpaces: any;
47
+ DeckLevelRef: {
48
+ attr_ref: string;
49
+ attr_version: string;
50
+ } | undefined;
51
+ polygon: object | undefined;
52
+ Name: string;
53
+ Width: number;
54
+ Length: number;
55
+ };
56
+ getBoundingBox(): {
57
+ width: number;
58
+ height: number;
59
+ };
60
+ getShape(scale: number): {
61
+ x: number;
62
+ y: number;
63
+ width: number;
64
+ height: number;
65
+ fill: string;
66
+ stroke: string;
67
+ strokeWidth: number;
68
+ cornerRadius: number;
69
+ };
70
+ }
@@ -0,0 +1,25 @@
1
+ import { PassengerEntranceRef } from "./passengerEntrance";
2
+ export declare class DeckEntranceCouple {
3
+ attr_ref: string;
4
+ attr_version: string;
5
+ FromDeckEntranceRef: PassengerEntranceRef;
6
+ ToDeckEntranceRef: PassengerEntranceRef;
7
+ constructor({ attr_ref, attr_version, FromDeckEntranceRef, ToDeckEntranceRef }: {
8
+ attr_ref: string;
9
+ attr_version: string;
10
+ FromDeckEntranceRef: any;
11
+ ToDeckEntranceRef: any;
12
+ });
13
+ toXML(): {
14
+ attr_ref: string;
15
+ attr_version: string;
16
+ FromDeckEntranceRef: {
17
+ attr_ref: string;
18
+ attr_version: string;
19
+ };
20
+ ToDeckEntranceRef: {
21
+ attr_ref: string;
22
+ attr_version: string;
23
+ };
24
+ };
25
+ }
@@ -0,0 +1,31 @@
1
+ import { ValidityCondition, ValidityConditionRef } from "./validityCondition";
2
+ export declare class DeckEntranceUsage {
3
+ attr_ref: string;
4
+ attr_version: string;
5
+ validityConditions: (ValidityCondition | ValidityConditionRef)[];
6
+ Name: string;
7
+ EntranceUsageType: "exit" | "entrance" | undefined;
8
+ EntranceSetting: "shut" | "open" | undefined;
9
+ ControlledLocking: boolean;
10
+ constructor({ attr_ref, attr_version, validityConditions, Name, EntranceUsageType, EntranceSetting, ControlledLocking }: {
11
+ attr_ref: string;
12
+ attr_version: string;
13
+ validityConditions: {
14
+ ValidityConditionRef: any[];
15
+ ValidityCondition: any[];
16
+ };
17
+ Name: string;
18
+ EntranceUsageType: "exit" | "entrance" | undefined;
19
+ EntranceSetting: "shut" | "open" | undefined;
20
+ ControlledLocking: boolean;
21
+ });
22
+ toXML(): {
23
+ attr_ref: string;
24
+ attr_version: string;
25
+ validityConditions: any;
26
+ Name: string;
27
+ EntranceUsageType: "exit" | "entrance" | undefined;
28
+ EntranceSetting: "shut" | "open" | undefined;
29
+ ControlledLocking: boolean;
30
+ };
31
+ }
@@ -0,0 +1,27 @@
1
+ export declare class DeckLevel {
2
+ attr_id: string;
3
+ attr_version: string;
4
+ Label: string;
5
+ constructor({ Label, attr_id, attr_version, }: {
6
+ attr_id: string;
7
+ attr_version: string;
8
+ Label: string;
9
+ });
10
+ toXML(): {
11
+ attr_id: string;
12
+ attr_version: string;
13
+ Label: string;
14
+ };
15
+ }
16
+ export declare class DeckLevelRef {
17
+ attr_ref: string;
18
+ attr_version: string;
19
+ constructor({ attr_ref, attr_version }: {
20
+ attr_ref: string;
21
+ attr_version: string;
22
+ });
23
+ toXML(): {
24
+ attr_ref: string;
25
+ attr_version: string;
26
+ };
27
+ }
@@ -0,0 +1,32 @@
1
+ import { Deck } from './deck';
2
+ import { DeckLevel } from './deckLevel';
3
+ export declare class DeckPlan {
4
+ attr_id: string;
5
+ attr_version: string;
6
+ deckLevels: DeckLevel[];
7
+ decks: Deck[];
8
+ constructor({ attr_id, attr_version, decks, deckLevels, }: {
9
+ attr_id: string;
10
+ attr_version: string;
11
+ deckLevels: {
12
+ DeckLevel: any[];
13
+ } | {
14
+ DeckLevel: any;
15
+ } | undefined;
16
+ decks: {
17
+ Deck: any[];
18
+ } | {
19
+ Deck: any;
20
+ } | undefined;
21
+ });
22
+ toXML(): {
23
+ attr_id: string;
24
+ attr_version: string;
25
+ decks: {
26
+ Deck: object[];
27
+ };
28
+ deckLevels: {
29
+ DeckLevel: object[];
30
+ };
31
+ };
32
+ }
@@ -0,0 +1,18 @@
1
+ export declare class DeckSpaceCapacity {
2
+ attr_ref: string;
3
+ attr_version: string;
4
+ LocatableSpotType: 'seat' | undefined;
5
+ capacity: number;
6
+ constructor({ attr_ref, attr_version, LocatableSpotType, capacity }: {
7
+ attr_ref: string;
8
+ attr_version: string;
9
+ LocatableSpotType: 'seat' | undefined;
10
+ capacity: number;
11
+ });
12
+ toXML(): {
13
+ attr_ref: string;
14
+ attr_version: string;
15
+ LocatableSpotType: "seat" | undefined;
16
+ capacity: number;
17
+ };
18
+ }
@@ -0,0 +1,12 @@
1
+ export declare class EquipmentRef {
2
+ attr_ref: string;
3
+ attr_version: string;
4
+ constructor({ attr_ref, attr_version }: {
5
+ attr_ref: string;
6
+ attr_version: string;
7
+ });
8
+ toXML(): {
9
+ attr_ref: string;
10
+ attr_version: string;
11
+ };
12
+ }
@@ -0,0 +1,30 @@
1
+ export declare class Text {
2
+ value: string;
3
+ constructor({ value }: {
4
+ value: string;
5
+ });
6
+ toXML(): string;
7
+ }
8
+ export declare class Name {
9
+ value: string;
10
+ constructor(value: {
11
+ "text_value": string;
12
+ });
13
+ toXML(): {
14
+ text_value: string;
15
+ };
16
+ }
17
+ export declare class Label {
18
+ value: string;
19
+ constructor({ value }: {
20
+ value: string;
21
+ });
22
+ toXML(): string;
23
+ }
24
+ export declare function extractElementList<TInput, TOutput>(element: TInput | TInput[] | undefined, ElementConstructor: new (e: TInput) => TOutput): TOutput[];
25
+ interface Serializable {
26
+ toXML(): object;
27
+ }
28
+ export declare function serializeElements(elements: Serializable[]): object[];
29
+ export declare function serializeElementsAndRefs(elementsAndRefs: Serializable[]): any;
30
+ export {};
@@ -0,0 +1,50 @@
1
+ import { ActualVehicleEquipment } from "./actualVehicleEquipment";
2
+ import { SpotColumnRef as GeneralSpotColumnRef } from "./spotColumn";
3
+ import { SpotRowRef as GeneralSpotRowRef } from "./spotRow";
4
+ export declare class LuggageSpot {
5
+ attr_id: string;
6
+ attr_version: string;
7
+ Label: string | undefined;
8
+ Orientation: 'backwards' | 'forwards' | 'leftwards' | 'rightwards' | undefined;
9
+ actualVehicleEquipments: ActualVehicleEquipment[];
10
+ SpotColumnRef: GeneralSpotColumnRef | undefined;
11
+ SpotRowRef: GeneralSpotRowRef | undefined;
12
+ constructor({ attr_id, attr_version, Label, Orientation, actualVehicleEquipments, SpotColumnRef, SpotRowRef }: {
13
+ attr_id: string;
14
+ attr_version: string;
15
+ Label: string | undefined;
16
+ Orientation: 'backwards' | 'forwards' | 'leftwards' | 'rightwards' | undefined;
17
+ actualVehicleEquipments: any[];
18
+ SpotColumnRef: any;
19
+ SpotRowRef: any;
20
+ });
21
+ toXML(): {
22
+ attr_id: string;
23
+ attr_version: string;
24
+ Label: string | undefined;
25
+ Orientation: "backwards" | "forwards" | "leftwards" | "rightwards" | undefined;
26
+ actualVehicleEquipments: {
27
+ ActualVehicleEquipment: object[];
28
+ };
29
+ SpotColumnRef: {
30
+ attr_ref: string;
31
+ attr_version: string;
32
+ } | undefined;
33
+ SpotRowRef: {
34
+ attr_ref: string;
35
+ attr_version: string;
36
+ } | undefined;
37
+ };
38
+ }
39
+ export declare class LuggageSpotRef {
40
+ attr_ref: string;
41
+ attr_version: string;
42
+ constructor({ attr_ref, attr_version }: {
43
+ attr_ref: string;
44
+ attr_version: string;
45
+ });
46
+ toXML(): {
47
+ attr_ref: string;
48
+ attr_version: string;
49
+ };
50
+ }
@@ -0,0 +1,33 @@
1
+ import { ActualVehicleEquipment } from './actualVehicleEquipment';
2
+ import { Name as GeneralName } from './general';
3
+ export declare class OtherDeckSpace {
4
+ attr_id: string;
5
+ attr_version: string;
6
+ Name: GeneralName | undefined;
7
+ PublicUse: boolean | undefined;
8
+ TotalCapacity: number | undefined;
9
+ actualVehicleEquipments: ActualVehicleEquipment[];
10
+ constructor({ attr_id, attr_version, Name, PublicUse, TotalCapacity, actualVehicleEquipments, }: {
11
+ attr_id: string;
12
+ attr_version: string;
13
+ Name: {
14
+ text_value: string;
15
+ };
16
+ actualVehicleEquipments: {
17
+ ActualVehicleEquipment: ActualVehicleEquipment[];
18
+ };
19
+ PublicUse: {
20
+ text_value: boolean;
21
+ };
22
+ TotalCapacity: {
23
+ text_value: number;
24
+ };
25
+ });
26
+ toXML(): {
27
+ attr_id: string;
28
+ attr_version: string;
29
+ Name: (() => {
30
+ text_value: string;
31
+ }) | undefined;
32
+ };
33
+ }
@@ -0,0 +1,114 @@
1
+ import { ActualVehicleEquipment } from './actualVehicleEquipment';
2
+ import { Centroid as GeneralCentroid } from './centroid';
3
+ import { Name as GeneralName } from './general';
4
+ export declare class PassengerEntrance {
5
+ static xmlTagName: string;
6
+ attr_id: string;
7
+ attr_version: string;
8
+ Name: GeneralName | undefined;
9
+ Label: string | undefined;
10
+ Width: number | undefined;
11
+ Height: number | undefined;
12
+ actualVehicleEquipments: ActualVehicleEquipment[];
13
+ PublicUse: boolean | undefined;
14
+ VehicleSide: 'rightSide' | 'leftSide' | 'front' | 'back' | undefined;
15
+ SequenceFromFront: number | undefined;
16
+ HeightFromGround: number | undefined;
17
+ DeckEntranceType: 'external' | 'internal' | undefined;
18
+ IsEmergencyExit: boolean | undefined;
19
+ HasDoor: boolean | undefined;
20
+ IsAutomatic: boolean | undefined;
21
+ Centroid: GeneralCentroid | undefined;
22
+ constructor({ attr_id, attr_version, Name, Label, Width, Height, actualVehicleEquipments, PublicUse, VehicleSide, SequenceFromFront, HeightFromGround, DeckEntranceType, IsEmergencyExit, HasDoor, IsAutomatic, Centroid, }: {
23
+ attr_id: string;
24
+ attr_version: string;
25
+ Name: {
26
+ text_value: string;
27
+ };
28
+ Label: {
29
+ text_value: string;
30
+ } | undefined;
31
+ Width: {
32
+ text_value: number;
33
+ } | undefined;
34
+ Height: {
35
+ text_value: number;
36
+ } | undefined;
37
+ actualVehicleEquipments: {
38
+ ActualVehicleEquipment: any[];
39
+ };
40
+ PublicUse: {
41
+ text_value: boolean;
42
+ } | undefined;
43
+ VehicleSide: {
44
+ text_value: 'rightSide' | 'leftSide' | 'front' | 'back';
45
+ } | undefined;
46
+ SequenceFromFront: {
47
+ text_value: number;
48
+ } | undefined;
49
+ HeightFromGround: {
50
+ text_value: number;
51
+ } | undefined;
52
+ DeckEntranceType: {
53
+ text_value: 'external' | 'internal';
54
+ } | undefined;
55
+ IsEmergencyExit: {
56
+ text_value: boolean;
57
+ } | undefined;
58
+ HasDoor: {
59
+ text_value: boolean;
60
+ } | undefined;
61
+ IsAutomatic: {
62
+ text_value: boolean;
63
+ } | undefined;
64
+ Centroid: any | undefined;
65
+ });
66
+ toXML(): {
67
+ attr_id: string;
68
+ attr_version: string;
69
+ Name: {
70
+ text_value: string;
71
+ } | undefined;
72
+ Label: string | undefined;
73
+ Width: number | undefined;
74
+ Height: number | undefined;
75
+ actualVehicleEquipments: {
76
+ ActualVehicleEquipment: object[];
77
+ };
78
+ PublicUse: boolean | undefined;
79
+ VehicleSide: "rightSide" | "leftSide" | "front" | "back" | undefined;
80
+ SequenceFromFront: number | undefined;
81
+ HeightFromGround: number | undefined;
82
+ DeckEntranceType: "external" | "internal" | undefined;
83
+ IsEmergencyExit: boolean | undefined;
84
+ HasDoor: boolean | undefined;
85
+ IsAutomatic: boolean | undefined;
86
+ Centroid: {
87
+ Location: {
88
+ pos: string;
89
+ };
90
+ } | undefined;
91
+ };
92
+ getShape(scale: number, deckLength: number, deckWidth: number): {
93
+ x: number;
94
+ y: number;
95
+ width: number;
96
+ height: number;
97
+ fill: string;
98
+ stroke: string;
99
+ strokeWidth: number;
100
+ draggable: boolean;
101
+ };
102
+ }
103
+ export declare class PassengerEntranceRef {
104
+ attr_ref: string;
105
+ attr_version: string;
106
+ constructor({ attr_ref, attr_version }: {
107
+ attr_ref: string;
108
+ attr_version: string;
109
+ });
110
+ toXML(): {
111
+ attr_ref: string;
112
+ attr_version: string;
113
+ };
114
+ }
@@ -0,0 +1,109 @@
1
+ import { ActualVehicleEquipment } from './actualVehicleEquipment';
2
+ import { DeckEntranceCouple } from './deckEntranceCouple';
3
+ import { DeckEntranceUsage } from './deckEntranceUsage';
4
+ import { DeckSpaceCapacity } from './deckSpaceCapacity';
5
+ import { Name as GeneralName } from './general';
6
+ import { LuggageSpot, LuggageSpotRef } from './luggageSpot';
7
+ import { PassengerEntrance } from './passengerEntrance';
8
+ import { PassengerSpot, PassengerSpotRef } from './passengerSpot';
9
+ import { Polygon as GeneralPolygon } from './polygon';
10
+ import { Centroid as GeneralCentroid } from './centroid';
11
+ import { ServiceFacilitySetRef as GeneralServiceFacilitySetRef } from './serviceFacilitySet';
12
+ export declare class PassengerSpace {
13
+ static xmlTagName: string;
14
+ attr_id: string;
15
+ attr_version: string;
16
+ Name: GeneralName | undefined;
17
+ SmokingAllowed: boolean | undefined;
18
+ StandingAllowed: boolean | undefined;
19
+ PassengerSpaceType: 'seatingArea' | 'passengerCabin' | 'vehicleArea' | 'luggageStore' | 'corridor' | 'restaurant' | 'toilet' | 'bathroom' | 'other' | undefined;
20
+ passengerSpots: (PassengerSpot | PassengerSpotRef)[] | undefined;
21
+ luggageSpots: (LuggageSpot | LuggageSpotRef)[] | undefined;
22
+ deckEntrances: PassengerEntrance[] | undefined;
23
+ deckEntranceUsage: DeckEntranceUsage[] | undefined;
24
+ deckEntranceCouples: DeckEntranceCouple[] | undefined;
25
+ deckSpaceCapacities: DeckSpaceCapacity[] | undefined;
26
+ actualVehicleEquipments: ActualVehicleEquipment[] | undefined;
27
+ ServiceFacilitySetRef: GeneralServiceFacilitySetRef | undefined;
28
+ Centroid: GeneralCentroid | undefined;
29
+ Polygon: GeneralPolygon | undefined;
30
+ PublicUse: boolean | undefined;
31
+ TotalCapacity: number | undefined;
32
+ FareClass: string | undefined;
33
+ AirConditioned: boolean | undefined;
34
+ constructor({ attr_id, attr_version, Name, SmokingAllowed, StandingAllowed, PassengerSpaceType, passengerSpots, luggageSpots, deckEntrances, deckEntranceUsage, deckEntranceCouples, deckSpaceCapacities, actualVehicleEquipments, ServiceFacilitySetRef, Centroid, Polygon, PublicUse, TotalCapacity, FareClass, AirConditioned, }: {
35
+ attr_id: string;
36
+ attr_version: string;
37
+ Name: GeneralName | undefined;
38
+ SmokingAllowed: boolean | undefined;
39
+ StandingAllowed: boolean | undefined;
40
+ PassengerSpaceType: 'seatingArea' | 'passengerCabin' | 'vehicleArea' | 'luggageStore' | 'corridor' | 'restaurant' | 'toilet' | 'bathroom' | 'other' | undefined;
41
+ passengerSpots: {
42
+ PassengerSpot: any[];
43
+ PassengerSpotRef: any[];
44
+ } | undefined;
45
+ luggageSpots: {
46
+ LuggageSpot: any[];
47
+ LuggageSpotRef: any[];
48
+ } | undefined;
49
+ deckEntrances: {
50
+ PassengerEntrance: any[];
51
+ } | undefined;
52
+ deckEntranceUsage: {
53
+ DeckEntranceUsage: any[];
54
+ } | undefined;
55
+ deckEntranceCouples: {
56
+ DeckEntranceCouple: any[];
57
+ } | undefined;
58
+ deckSpaceCapacities: {
59
+ DeckSpaceCapacity: any[];
60
+ } | undefined;
61
+ actualVehicleEquipments: {
62
+ ActualVehicleEquipment: any[];
63
+ } | undefined;
64
+ ServiceFacilitySetRef: any | undefined;
65
+ Centroid: any | undefined;
66
+ Polygon: any | undefined;
67
+ PublicUse: {
68
+ "text_value": boolean;
69
+ } | undefined;
70
+ TotalCapacity: {
71
+ "text_value": number;
72
+ } | undefined;
73
+ FareClass: {
74
+ "text_value": string;
75
+ } | undefined;
76
+ AirConditioned: {
77
+ "text_value": boolean;
78
+ } | undefined;
79
+ });
80
+ toXML(): {
81
+ attr_id: string;
82
+ attr_version: string;
83
+ Name: GeneralName | undefined;
84
+ SmokingAllowed: boolean | undefined;
85
+ StandingAllowed: boolean | undefined;
86
+ PassengerSpaceType: "seatingArea" | "passengerCabin" | "vehicleArea" | "luggageStore" | "corridor" | "restaurant" | "toilet" | "bathroom" | "other" | undefined;
87
+ passengerSpots: any;
88
+ luggageSpots: any;
89
+ deckEntrances: any;
90
+ deckEntranceUsage: any;
91
+ deckEntranceCouples: any;
92
+ deckSpaceCapacities: any;
93
+ actualVehicleEquipments: any;
94
+ ServiceFacilitySetRef: {
95
+ attr_ref: string;
96
+ attr_version: string;
97
+ } | undefined;
98
+ Centroid: {
99
+ Location: {
100
+ pos: string;
101
+ };
102
+ } | undefined;
103
+ Polygon: object | undefined;
104
+ PublicUse: boolean | undefined;
105
+ TotalCapacity: number | undefined;
106
+ FareClass: string | undefined;
107
+ AirConditioned: boolean | undefined;
108
+ };
109
+ }