@opentrainticketing/netex-deckplan-editor 1.0.6 → 1.0.7

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/netex-deckplan-editor.es.js +2940 -3024
  2. package/dist/netex-deckplan-editor.umd.js +15 -17
  3. package/package.json +1 -1
  4. package/dist/app/App.vue.d.ts +0 -4
  5. package/dist/app/main.d.ts +0 -1
  6. package/dist/components/editor/DeckVisualization.vue.d.ts +0 -46
  7. package/dist/components/editor/DeckplanEditor.vue.d.ts +0 -8
  8. package/dist/components/editor/ElementCatalog.vue.d.ts +0 -9
  9. package/dist/components/editor/ObjectProperties.vue.d.ts +0 -19
  10. package/dist/components/editor/WagonVisualization.vue.d.ts +0 -25
  11. package/dist/components/editor/XmlViewer.vue.d.ts +0 -23
  12. package/dist/components/editor/index.d.ts +0 -3
  13. package/dist/components/renderer/DeckRendering.vue.d.ts +0 -34
  14. package/dist/components/renderer/index.d.ts +0 -1
  15. package/dist/helpers/parser.d.ts +0 -2
  16. package/dist/index.d.ts +0 -11
  17. package/dist/netex-deckplan-editor-vue.es.js +0 -2642
  18. package/dist/netex-deckplan-editor.css +0 -1
  19. package/dist/types/netex/actualVehicleEquipment.d.ts +0 -28
  20. package/dist/types/netex/centroid.d.ts +0 -11
  21. package/dist/types/netex/deck.d.ts +0 -70
  22. package/dist/types/netex/deckEntranceCouple.d.ts +0 -25
  23. package/dist/types/netex/deckEntranceUsage.d.ts +0 -31
  24. package/dist/types/netex/deckLevel.d.ts +0 -27
  25. package/dist/types/netex/deckPlan.d.ts +0 -32
  26. package/dist/types/netex/deckSpaceCapacity.d.ts +0 -18
  27. package/dist/types/netex/equipment.d.ts +0 -12
  28. package/dist/types/netex/general.d.ts +0 -30
  29. package/dist/types/netex/luggageSpot.d.ts +0 -50
  30. package/dist/types/netex/otherDeckSpace.d.ts +0 -33
  31. package/dist/types/netex/passengerEntrance.d.ts +0 -114
  32. package/dist/types/netex/passengerSpace.d.ts +0 -109
  33. package/dist/types/netex/passengerSpot.d.ts +0 -106
  34. package/dist/types/netex/polygon.d.ts +0 -5
  35. package/dist/types/netex/serviceFacilitySet.d.ts +0 -12
  36. package/dist/types/netex/spotColumn.d.ts +0 -24
  37. package/dist/types/netex/spotRow.d.ts +0 -24
  38. package/dist/types/netex/stopAffinity.d.ts +0 -1
  39. package/dist/types/netex/validityCondition.d.ts +0 -27
  40. package/dist/types/view/seats.d.ts +0 -8
  41. package/dist/webcomponent/webcomponent.d.ts +0 -18
@@ -1 +0,0 @@
1
- .object-properties[data-v-1987e529]{padding:20px;border-top:1px solid #ccc;background-color:#f9f9f9}.property-row[data-v-1987e529]{margin-bottom:10px;display:flex;align-items:center}.property-row label[data-v-1987e529]{width:150px;font-weight:700}.property-row input[data-v-1987e529]{flex:1;padding:5px}.vehicle-frame{background-color:#f0f0f0;border:1px solid #ccc}.vehicle-deck{fill:#fff;stroke:#68a691;rx:5px;stroke-width:2px}.seat .seat__base{fill:#4caf50}.seat-occupied .seat__base{fill:#f44336}.seat-selected .seat__base,.seat-filtered .seat__base{fill:#ff9800}.seat-undefined .seat__base{fill:#9e9e9e}.seat .seat__base{fill:#d9d9d9;stroke:#7c7c7c;stroke-width:1px;cursor:pointer;rx:5px}.seat .seat__backrest{fill:#7c7c7c}.seat__text{stroke:#7c7c7c;pointer-events:none}.door{fill:#dedede;stroke:#dedede;stroke-width:1px;cursor:pointer}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\[150px\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}
@@ -1,28 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,70 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,31 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,30 +0,0 @@
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 {};
@@ -1,50 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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
- }
@@ -1,114 +0,0 @@
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
- }
@@ -1,109 +0,0 @@
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
- }