diff --git a/dist/index.html b/dist/index.html index 56401ac..eecfc85 100644 --- a/dist/index.html +++ b/dist/index.html @@ -675,6 +675,6 @@ - + diff --git a/src/app.class.ts b/src/app.class.ts index 01defbe..fe7f344 100644 --- a/src/app.class.ts +++ b/src/app.class.ts @@ -51,7 +51,7 @@ export class App { // what happens when the room filter is changed this.filterElement.addEventListener('change', event => { - const room = this.rooms.find(room => room.name.toLocaleLowerCase() === this.filterElement.value.toLocaleLowerCase()); + const room = this.rooms.find(room => room.inputOptionLabel.toLocaleLowerCase().includes(this.filterElement.value.toLocaleLowerCase())); this.selectFloor(room ? room.floor : 7).deselectAllRooms(); if (room) this.selectRoom(room.id).pushRoomState(room); }); @@ -78,7 +78,7 @@ export class App { // add roomname as title to all rooms when user hovers mouse over the room this.rooms.map(room => { const titleElement = document.createElementNS("http://www.w3.org/2000/svg", "title"); - titleElement.textContent = `${room.name}`; + titleElement.textContent = room.hoverLabel; const svgRoom = document.getElementById(room.id); svgRoom.appendChild(titleElement); svgRoom.classList.add(...Room.typeClassMap[room.type]); @@ -100,8 +100,8 @@ export class App { populateDataList(floor: number = -1): App { this.rooms.filter(room => floor == -1 ? true : room.floor == floor) - .map(room => room.name).sort() - .map(roomName => this.roomsDataListElement.appendChild(new Option(roomName))); + .sort((a, b) => a.name.localeCompare(b.name)) + .map(room => this.roomsDataListElement.appendChild(new Option(room.inputOptionLabel))); return this; } diff --git a/src/index.ts b/src/index.ts index 6010048..a11c77a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,251 +2,251 @@ import { App } from "./app.class"; import { Room, RoomTypes } from "./room.class"; const rooms = [ - new Room({ floor: 0, number: 0, name: 'AXE', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_axe' }), - new Room({ floor: 0, number: 0, name: 'Bike storage', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_bike_storage' }), - new Room({ floor: 0, number: 0, name: 'Bluetooth', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_bluetooth' }), - new Room({ floor: 0, number: 0, name: 'Canteen', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_canteen' }), - new Room({ floor: 0, number: 0, name: 'Cross bar club', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_cross_bar_club' }), - new Room({ floor: 0, number: 0, name: 'Ericsson Garage', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_ericsson_garage' }), - new Room({ floor: 0, number: 0, name: 'Erlang', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_erlang' }), - new Room({ floor: 0, number: 0, name: 'Heat & eat', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_food_heating_area' }), - new Room({ floor: 0, number: 0, name: 'Hilda', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_hilda' }), - new Room({ floor: 0, number: 0, name: 'Lars Magnus Ericsson', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_lars_magnus_ericsson' }), - new Room({ floor: 0, number: 0, name: 'Medical bay', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_medical_bay' }), - new Room({ floor: 0, number: 0, name: 'Reception', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_reception' }), - new Room({ floor: 0, number: 0, name: 'Security', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_security' }), - new Room({ floor: 0, number: 0, name: 'Titan', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_titan' }), + new Room({ floor: 0, name: 'AXE', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_axe', seats: 16, bpNumber: '0021' }), + new Room({ floor: 0, name: 'Bike storage', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_bike_storage' }), + new Room({ floor: 0, name: 'Bluetooth', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_bluetooth', seats: 16, bpNumber: '0019' }), + new Room({ floor: 0, name: 'Canteen', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_canteen' }), + new Room({ floor: 0, name: 'Cross bar club', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_cross_bar_club', seats: 11, bpNumber: '0034' }), + new Room({ floor: 0, name: 'Ericsson Garage', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_ericsson_garage' }), + new Room({ floor: 0, name: 'Erlang', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_erlang', seats: 16, bpNumber: '0020' }), + new Room({ floor: 0, name: 'Heat & eat', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_food_heating_area' }), + new Room({ floor: 0, name: 'Hilda', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_hilda', seats: 88, bpNumber: '0030' }), + new Room({ floor: 0, name: 'Lars Magnus Ericsson', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_lars_magnus_ericsson', seats: 99, bpNumber: '0028' }), + new Room({ floor: 0, name: 'Medical bay', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_medical_bay' }), + new Room({ floor: 0, name: 'Reception', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_reception' }), + new Room({ floor: 0, name: 'Security', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_security' }), + new Room({ floor: 0, name: 'Titan', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_titan', seats: 20, bpNumber: '0024' }), - new Room({ floor: 1, number: 1, name: 'Aggtelek', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_01' }), - new Room({ floor: 1, number: 11, name: 'Andrássy út', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_11' }), - new Room({ floor: 1, number: 8, name: 'Bazilika', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_08' }), - new Room({ floor: 1, number: 13, name: 'Budai vár', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_13' }), - new Room({ floor: 1, number: 12, name: 'Busó', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_12' }), - new Room({ floor: 1, number: 21, name: 'Car Fleet Manager', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_21' }), - new Room({ floor: 1, number: 3, name: 'Cimbalom', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_03' }), - new Room({ floor: 1, number: 0, name: 'COOR office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_coor' }), - new Room({ floor: 1, number: 9, name: 'Copy room 1NE', type: RoomTypes.TYPE_COPYROOM, id: 'r_1_09' }), - new Room({ floor: 1, number: 20, name: 'Copy room 1SE', type: RoomTypes.TYPE_COPYROOM, id: 'r_1_20' }), - new Room({ floor: 1, number: 25, name: 'Füvészkert', type: RoomTypes.TYPE_TERRACE, id: 't_1_25' }), - new Room({ floor: 1, number: 15, name: 'Gundel', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_15' }), - new Room({ floor: 1, number: 6, name: 'Gyulai', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_06' }), - new Room({ floor: 1, number: 2, name: 'Herend', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_02' }), - new Room({ floor: 1, number: 19, name: 'Hévíz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_19' }), - new Room({ floor: 1, number: 18, name: 'Hollókő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_18' }), - new Room({ floor: 1, number: 5, name: 'Hortobágy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_05' }), - new Room({ floor: 1, number: 16, name: 'Hősök tere', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_16' }), - new Room({ floor: 1, number: 0, name: 'HP office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_hp' }), - new Room({ floor: 1, number: 0, name: 'ITTE office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_itte' }), - new Room({ floor: 1, number: 14, name: 'Kodály', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_14' }), - new Room({ floor: 1, number: 0, name: 'Lab', type: RoomTypes.TYPE_LAB, id: 'r_lab_main' }), - new Room({ floor: 1, number: 24, name: 'Nagycsarnok', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_24' }), - new Room({ floor: 1, number: 7, name: 'Operaház', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_07' }), - new Room({ floor: 1, number: 10, name: 'Pannonhalma', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_10' }), - new Room({ floor: 1, number: 17, name: 'Parlament', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_17' }), - new Room({ floor: 1, number: 4, name: 'Szóda', type: RoomTypes.TYPE_PHONEBOOTH, id: 'r_1_04' }), - new Room({ floor: 1, number: 22, name: 'Tokaj', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_22' }), - new Room({ floor: 1, number: 26, name: 'Walk-in COOR', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_26' }), - new Room({ floor: 1, number: 27, name: 'Walk-in ITTE', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_27' }), - new Room({ floor: 1, number: 28, name: 'Walk-in HP', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_28' }), - new Room({ floor: 1, number: 23, name: 'Zsolnay', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_23' }), + new Room({ floor: 1, name: 'Aggtelek', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_01', number: 1, seats: 8, bpNumber: '0101' }), + new Room({ floor: 1, name: 'Andrássy út', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_11', number: 11, seats: 4, bpNumber: '0119' }), + new Room({ floor: 1, name: 'Bazilika', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_08', number: 8, seats: 4, bpNumber: '0112' }), + new Room({ floor: 1, name: 'Budai vár', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_13', number: 13, seats: 2, bpNumber: '0121' }), + new Room({ floor: 1, name: 'Busó', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_12', number: 12, seats: 2, bpNumber: '0120' }), + new Room({ floor: 1, name: 'Car Fleet Manager', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_21', number: 21, seats: 4, bpNumber: '0134' }), + new Room({ floor: 1, name: 'Cimbalom', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_03', number: 3, seats: 2, bpNumber: '0105' }), + new Room({ floor: 1, name: 'COOR office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_coor' }), + new Room({ floor: 1, name: 'Copy room 1NE', type: RoomTypes.TYPE_COPYROOM, id: 'r_1_09', number: 9 }), + new Room({ floor: 1, name: 'Copy room 1SE', type: RoomTypes.TYPE_COPYROOM, id: 'r_1_20', number: 20 }), + new Room({ floor: 1, name: 'Füvészkert', type: RoomTypes.TYPE_TERRACE, id: 't_1_25', number: 25 }), + new Room({ floor: 1, name: 'Gundel', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_15', number: 15, seats: 4, bpNumber: '0124' }), + new Room({ floor: 1, name: 'Gyulai', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_06', number: 6, seats: 2, bpNumber: '0108' }), + new Room({ floor: 1, name: 'Herend', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_02', number: 2, seats: 8, bpNumber: '0104' }), + new Room({ floor: 1, name: 'Hévíz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_19', number: 19, seats: 2, bpNumber: '0132' }), + new Room({ floor: 1, name: 'Hollókő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_1_18', number: 18, seats: 2, bpNumber: '0131' }), + new Room({ floor: 1, name: 'Hortobágy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_05', number: 5, seats: 4, bpNumber: '0107' }), + new Room({ floor: 1, name: 'Hősök tere', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_1_16', number: 16, seats: 4, bpNumber: '0125' }), + new Room({ floor: 1, name: 'HP office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_hp' }), + new Room({ floor: 1, name: 'ITTE office', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_itte' }), + new Room({ floor: 1, name: 'Kodály', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_14', number: 14, seats: 0, bpNumber: '0123' }), + new Room({ floor: 1, name: 'Lab', type: RoomTypes.TYPE_LAB, id: 'r_lab_main' }), + new Room({ floor: 1, name: 'Nagycsarnok', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_24', number: 24, seats: 8, bpNumber: '0140' }), + new Room({ floor: 1, name: 'Operaház', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_1_07', number: 7, seats: 8, bpNumber: '0111' }), + new Room({ floor: 1, name: 'Pannonhalma', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_10', number: 10, seats: 10, bpNumber: '0115' }), + new Room({ floor: 1, name: 'Parlament', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_17', number: 17, seats: 12, bpNumber: '0129' }), + new Room({ floor: 1, name: 'Szóda', type: RoomTypes.TYPE_PHONEBOOTH, id: 'r_1_04', number: 4, seats: 2, bpNumber: '0106' }), + new Room({ floor: 1, name: 'Tokaj', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_22', number: 22, seats: 8, bpNumber: '0135' }), + new Room({ floor: 1, name: 'Walk-in COOR', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_26', number: 26 }), + new Room({ floor: 1, name: 'Walk-in ITTE', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_27', number: 27 }), + new Room({ floor: 1, name: 'Walk-in HP', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_28', number: 28 }), + new Room({ floor: 1, name: 'Zsolnay', type: RoomTypes.TYPE_BOOKABLE, id: 'r_1_23', number: 23, seats: 8, bpNumber: '0138' }), - new Room({ floor: 2, number: 4, name: 'Achát', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_04' }), - new Room({ floor: 2, number: 12, name: 'Akvamarin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_12' }), - new Room({ floor: 2, number: 2, name: 'Almandin', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_02' }), - new Room({ floor: 2, number: 1, name: 'Amazonit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_01' }), - new Room({ floor: 2, number: 10, name: 'Ametiszt', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_10' }), - new Room({ floor: 2, number: 6, name: 'Andradit', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_06' }), - new Room({ floor: 2, number: 41, name: 'Berill', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_41' }), - new Room({ floor: 2, number: 5, name: 'Borostyán', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_05' }), - new Room({ floor: 2, number: 36, name: 'Cirkon', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_36' }), - new Room({ floor: 2, number: 31, name: 'Copy room 2E', type: RoomTypes.TYPE_COPYROOM, id: 'r_2_31' }), - new Room({ floor: 2, number: 16, name: 'Copy room 2W', type: RoomTypes.TYPE_COPYROOM, id: 'r_2_16' }), - new Room({ floor: 2, number: 7, name: 'Diopszid', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_07' }), - new Room({ floor: 2, number: 9, name: 'Fluorit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_09' }), - new Room({ floor: 2, number: 13, name: 'Gránát', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_13' }), - new Room({ floor: 2, number: 39, name: 'Gyémánt', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_39' }), - new Room({ floor: 2, number: 22, name: 'Holdkő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_22' }), - new Room({ floor: 2, number: 27, name: 'Jade', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_27' }), - new Room({ floor: 2, number: 3, name: 'Jáspis', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_03' }), - new Room({ floor: 2, number: 20, name: 'Kalcedon', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_20' }), - new Room({ floor: 2, number: 17, name: 'Karneol', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_17' }), - new Room({ floor: 2, number: 40, name: 'Korund', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_40' }), - new Room({ floor: 2, number: 8, name: 'Labradorit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_08' }), - new Room({ floor: 2, number: 14, name: 'Larimar', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_14' }), - new Room({ floor: 2, number: 18, name: 'Lazurit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_18' }), - new Room({ floor: 2, number: 19, name: 'Malachit', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_19' }), - new Room({ floor: 2, number: 11, name: 'Morganit', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_11' }), - new Room({ floor: 2, number: 34, name: 'Napkő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_34' }), - new Room({ floor: 2, number: 45, name: 'Obszidián', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_45' }), - new Room({ floor: 2, number: 24, name: 'Opál', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_24' }), - new Room({ floor: 2, number: 23, name: 'Ortoklász', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_23' }), - new Room({ floor: 2, number: 28, name: 'Pirit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_28' }), - new Room({ floor: 2, number: 25, name: 'Pirop', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_25' }), - new Room({ floor: 2, number: 30, name: 'Rodonit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_30' }), - new Room({ floor: 2, number: 33, name: 'Rózsakvarc', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_33' }), - new Room({ floor: 2, number: 32, name: 'Rubin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_32' }), - new Room({ floor: 2, number: 15, name: 'Smaragd', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_2_15' }), - new Room({ floor: 2, number: 42, name: 'Spinell', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_42' }), - new Room({ floor: 2, number: 35, name: 'Tanzanit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_35' }), - new Room({ floor: 2, number: 29, name: 'Tigrisszem', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_29' }), - new Room({ floor: 2, number: 43, name: 'Topaz', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_43' }), - new Room({ floor: 2, number: 44, name: 'Turmalin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_44' }), - new Room({ floor: 2, number: 37, name: 'Türkiz', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_37' }), - new Room({ floor: 2, number: 26, name: 'Zafír', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_26' }), - new Room({ floor: 2, number: 21, name: 'Ónix', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_21' }), - new Room({ floor: 2, number: 38, name: 'Variszcit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_38' }), - new Room({ floor: 2, number: 46, name: 'Városliget', type: RoomTypes.TYPE_TERRACE, id: 't_2_46' }), - new Room({ floor: 2, number: 47, name: 'Tabán', type: RoomTypes.TYPE_TERRACE, id: 't_2_47' }), + new Room({ floor: 2, name: 'Achát', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_04', number: 4, seats: 2, bpNumber: '0205' }), + new Room({ floor: 2, name: 'Akvamarin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_12', number: 12, seats: 8, bpNumber: '0213' }), + new Room({ floor: 2, name: 'Almandin', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_02', number: 2, seats: 8, bpNumber: '0203' }), + new Room({ floor: 2, name: 'Amazonit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_01', number: 1, seats: 8, bpNumber: '0202' }), + new Room({ floor: 2, name: 'Ametiszt', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_10', number: 10, seats: 12, bpNumber: '0211' }), + new Room({ floor: 2, name: 'Andradit', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_06', number: 6, seats: 2, bpNumber: '0207' }), + new Room({ floor: 2, name: 'Berill', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_41', number: 41, seats: 4, bpNumber: '0280' }), + new Room({ floor: 2, name: 'Borostyán', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_05', number: 5, seats: 2, bpNumber: '0206' }), + new Room({ floor: 2, name: 'Cirkon', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_36', number: 36, seats: 8, bpNumber: '0244' }), + new Room({ floor: 2, name: 'Copy room 2E', type: RoomTypes.TYPE_COPYROOM, id: 'r_2_31', number: 31 }), + new Room({ floor: 2, name: 'Copy room 2W', type: RoomTypes.TYPE_COPYROOM, id: 'r_2_16', number: 16 }), + new Room({ floor: 2, name: 'Diopszid', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_07', number: 7, seats: 2, bpNumber: '0208' }), + new Room({ floor: 2, name: 'Fluorit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_09', number: 9, seats: 8, bpNumber: '0210' }), + new Room({ floor: 2, name: 'Gránát', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_13', number: 13, seats: 2, bpNumber: '0214' }), + new Room({ floor: 2, name: 'Gyémánt', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_39', number: 39, seats: 6, bpNumber: '0278' }), + new Room({ floor: 2, name: 'Holdkő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_22', number: 22, seats: 2, bpNumber: '0228' }), + new Room({ floor: 2, name: 'Jade', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_27', number: 27, seats: 4, bpNumber: '0233' }), + new Room({ floor: 2, name: 'Jáspis', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_03', number: 3, seats: 4, bpNumber: '0204' }), + new Room({ floor: 2, name: 'Kalcedon', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_20', number: 20, seats: 8, bpNumber: '0226' }), + new Room({ floor: 2, name: 'Karneol', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_17', number: 17, seats: 8, bpNumber: '0219' }), + new Room({ floor: 2, name: 'Korund', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_40', number: 40, seats: 4, bpNumber: '0279' }), + new Room({ floor: 2, name: 'Labradorit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_08', number: 8, seats: 4, bpNumber: '0209' }), + new Room({ floor: 2, name: 'Larimar', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_14', number: 14, seats: 2, bpNumber: '0215' }), + new Room({ floor: 2, name: 'Lazurit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_18', number: 18, seats: 0, bpNumber: '0220' }), + new Room({ floor: 2, name: 'Malachit', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_19', number: 19, seats: 8, bpNumber: '0225' }), + new Room({ floor: 2, name: 'Morganit', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_11', number: 11, seats: 4, bpNumber: '0212' }), + new Room({ floor: 2, name: 'Napkő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_34', number: 34, seats: 2, bpNumber: '0241' }), + new Room({ floor: 2, name: 'Obszidián', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_45', number: 45, seats: 6, bpNumber: '0284' }), + new Room({ floor: 2, name: 'Opál', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_24', number: 24, seats: 4, bpNumber: '0230' }), + new Room({ floor: 2, name: 'Ortoklász', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_23', number: 23, seats: 2, bpNumber: '0229' }), + new Room({ floor: 2, name: 'Pirit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_28', number: 28, seats: 0, bpNumber: '0234' }), + new Room({ floor: 2, name: 'Pirop', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_25', number: 25, seats: 4, bpNumber: '0231' }), + new Room({ floor: 2, name: 'Rodonit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_30', number: 30, seats: 8, bpNumber: '0236' }), + new Room({ floor: 2, name: 'Rózsakvarc', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_2_33', number: 33, seats: 2, bpNumber: '0240' }), + new Room({ floor: 2, name: 'Rubin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_32', number: 32, seats: 16, bpNumber: '0239' }), + new Room({ floor: 2, name: 'Smaragd', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_2_15', number: 15, seats: 16, bpNumber: '0216' }), + new Room({ floor: 2, name: 'Spinell', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_42', number: 42, seats: 6, bpNumber: '0281' }), + new Room({ floor: 2, name: 'Tanzanit', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_2_35', number: 35, seats: 0, bpNumber: '0243' }), + new Room({ floor: 2, name: 'Tigrisszem', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_29', number: 29, seats: 4, bpNumber: '0235' }), + new Room({ floor: 2, name: 'Topaz', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_43', number: 43, seats: 6, bpNumber: '0282' }), + new Room({ floor: 2, name: 'Turmalin', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_44', number: 44, seats: 6, bpNumber: '0283' }), + new Room({ floor: 2, name: 'Türkiz', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_37', number: 37, seats: 4, bpNumber: '0256' }), + new Room({ floor: 2, name: 'Zafír', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_26', number: 26, seats: 12, bpNumber: '0232' }), + new Room({ floor: 2, name: 'Ónix', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_2_21', number: 21, seats: 4, bpNumber: '0227' }), + new Room({ floor: 2, name: 'Variszcit', type: RoomTypes.TYPE_BOOKABLE, id: 'r_2_38', number: 38, seats: 4, bpNumber: '0257' }), + new Room({ floor: 2, name: 'Városliget', type: RoomTypes.TYPE_TERRACE, id: 't_2_46', number: 46, seats: 30, bpNumber: '0250' }), + new Room({ floor: 2, name: 'Tabán', type: RoomTypes.TYPE_TERRACE, id: 't_2_47', number: 47, seats: 30, bpNumber: '0251' }), - new Room({ floor: 3, number: 40, name: 'Almás-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_40' }), - new Room({ floor: 3, number: 2, name: 'Által-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_02' }), - new Room({ floor: 3, number: 39, name: 'Balaton', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_39' }), - new Room({ floor: 3, number: 42, name: 'Baláta-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_42' }), - new Room({ floor: 3, number: 14, name: 'Bánki-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_14' }), - new Room({ floor: 3, number: 23, name: 'Békás-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_23' }), - new Room({ floor: 3, number: 25, name: 'Berettyo', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_25' }), - new Room({ floor: 3, number: 34, name: 'Copy room 3E', type: RoomTypes.TYPE_COPYROOM, id: 'r_3_34' }), - new Room({ floor: 3, number: 15, name: 'Copy room 3W', type: RoomTypes.TYPE_COPYROOM, id: 'r_3_15' }), - new Room({ floor: 3, number: 31, name: 'Deseda', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_31' }), - new Room({ floor: 3, number: 11, name: 'Donát-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_11' }), - new Room({ floor: 3, number: 4, name: 'Dráva', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_04' }), - new Room({ floor: 3, number: 16, name: 'Duna', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_3_16' }), - new Room({ floor: 3, number: 22, name: 'Fehér-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_22' }), - new Room({ floor: 3, number: 21, name: 'Fekete-víz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_21' }), - new Room({ floor: 3, number: 32, name: 'Fertő-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_32' }), - new Room({ floor: 3, number: 29, name: 'Galga-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_29' }), - new Room({ floor: 3, number: 33, name: 'Hernád', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_33' }), - new Room({ floor: 3, number: 41, name: 'Hévizi-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_41' }), - new Room({ floor: 3, number: 3, name: 'Ikva', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_03' }), - new Room({ floor: 3, number: 27, name: 'Kapos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_27' }), - new Room({ floor: 3, number: 10, name: 'Koppány', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_10' }), - new Room({ floor: 3, number: 20, name: 'Kórógy-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_20' }), - new Room({ floor: 3, number: 1, name: 'Kozár-Borzó', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_01' }), - new Room({ floor: 3, number: 24, name: 'Körös', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_24' }), - new Room({ floor: 3, number: 37, name: 'Lajta', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_37' }), - new Room({ floor: 3, number: 19, name: 'Magos-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_19' }), - new Room({ floor: 3, number: 9, name: 'Marcal', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_09' }), - new Room({ floor: 3, number: 17, name: 'Maros', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_17' }), - new Room({ floor: 3, number: 38, name: 'Orfűi-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_38' }), - new Room({ floor: 3, number: 36, name: 'Rába', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_3_36' }), - new Room({ floor: 3, number: 13, name: 'Sajó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_13' }), - new Room({ floor: 3, number: 8, name: 'Sió', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_08' }), - new Room({ floor: 3, number: 18, name: 'Szamos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_18' }), - new Room({ floor: 3, number: 26, name: 'Szelidi-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_26' }), - new Room({ floor: 3, number: 35, name: 'Tisza', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_35' }), - new Room({ floor: 3, number: 30, name: 'Túr', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_30' }), - new Room({ floor: 3, number: 5, name: 'Váli-víz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_05' }), - new Room({ floor: 3, number: 6, name: 'Velencei-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_06' }), - new Room({ floor: 3, number: 12, name: 'Vadkerti-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_12' }), - new Room({ floor: 3, number: 28, name: 'Zagyva', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_28' }), - new Room({ floor: 3, number: 7, name: 'Zala', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_07' }), + new Room({ floor: 3, name: 'Almás-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_40', number: 40, seats: 2, bpNumber: '0352' }), + new Room({ floor: 3, name: 'Által-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_02', number: 2, seats: 0, bpNumber: '0303' }), + new Room({ floor: 3, name: 'Balaton', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_39', number: 39, seats: 8, bpNumber: '0351' }), + new Room({ floor: 3, name: 'Baláta-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_42', number: 42, seats: 4, bpNumber: '0375' }), + new Room({ floor: 3, name: 'Bánki-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_14', number: 14, seats: 0, bpNumber: '0318' }), + new Room({ floor: 3, name: 'Békás-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_23', number: 23, seats: 4, bpNumber: '0331' }), + new Room({ floor: 3, name: 'Berettyo', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_25', number: 25, seats: 0, bpNumber: '0333' }), + new Room({ floor: 3, name: 'Copy room 3E', type: RoomTypes.TYPE_COPYROOM, id: 'r_3_34', number: 34 }), + new Room({ floor: 3, name: 'Copy room 3W', type: RoomTypes.TYPE_COPYROOM, id: 'r_3_15', number: 15 }), + new Room({ floor: 3, name: 'Deseda', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_31', number: 31, seats: 8, bpNumber: '0340' }), + new Room({ floor: 3, name: 'Donát-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_11', number: 11, seats: 2, bpNumber: '0315' }), + new Room({ floor: 3, name: 'Dráva', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_04', number: 4, seats: 4, bpNumber: '0305' }), + new Room({ floor: 3, name: 'Duna', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_3_16', number: 16, seats: 16, bpNumber: '0322' }), + new Room({ floor: 3, name: 'Fehér-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_22', number: 22, seats: 4, bpNumber: '0330' }), + new Room({ floor: 3, name: 'Fekete-víz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_21', number: 21, seats: 2, bpNumber: '0329' }), + new Room({ floor: 3, name: 'Fertő-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_32', number: 32, seats: 4, bpNumber: '0341' }), + new Room({ floor: 3, name: 'Galga-patak', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_29', number: 29, seats: 2, bpNumber: '0338' }), + new Room({ floor: 3, name: 'Hernád', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_33', number: 33, seats: 0, bpNumber: '0342' }), + new Room({ floor: 3, name: 'Hévizi-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_41', number: 41, seats: 4, bpNumber: '0374' }), + new Room({ floor: 3, name: 'Ikva', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_03', number: 3, seats: 0, bpNumber: '0304' }), + new Room({ floor: 3, name: 'Kapos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_27', number: 27, seats: 4, bpNumber: '0336' }), + new Room({ floor: 3, name: 'Koppány', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_10', number: 10, seats: 2, bpNumber: '0314' }), + new Room({ floor: 3, name: 'Kórógy-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_20', number: 20, seats: 2, bpNumber: '0328' }), + new Room({ floor: 3, name: 'Kozár-Borzó', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_01', number: 1, seats: 2, bpNumber: '0302' }), + new Room({ floor: 3, name: 'Körös', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_24', number: 24, seats: 8, bpNumber: '0332' }), + new Room({ floor: 3, name: 'Lajta', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_37', number: 37, seats: 4, bpNumber: '0349' }), + new Room({ floor: 3, name: 'Magos-ér', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_19', number: 19, seats: 2, bpNumber: '0327' }), + new Room({ floor: 3, name: 'Marcal', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_09', number: 9, seats: 12, bpNumber: '0313' }), + new Room({ floor: 3, name: 'Maros', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_17', number: 17, seats: 12, bpNumber: '0324' }), + new Room({ floor: 3, name: 'Orfűi-tó', type: RoomTypes.TYPE_NONBOOKABLE_RESEARCH, id: 'r_3_38', number: 38, seats: 4, bpNumber: '0350' }), + new Room({ floor: 3, name: 'Rába', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_3_36', number: 36, seats: 12, bpNumber: '0348' }), + new Room({ floor: 3, name: 'Sajó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_13', number: 13, seats: 4, bpNumber: '0317' }), + new Room({ floor: 3, name: 'Sió', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_08', number: 8, seats: 4, bpNumber: '0312' }), + new Room({ floor: 3, name: 'Szamos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_18', number: 18, seats: 8, bpNumber: '0326' }), + new Room({ floor: 3, name: 'Szelidi-tó', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_3_26', number: 26, seats: 4, bpNumber: '0334' }), + new Room({ floor: 3, name: 'Tisza', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_35', number: 35, seats: 16, bpNumber: '0346' }), + new Room({ floor: 3, name: 'Túr', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_30', number: 30, seats: 2, bpNumber: '0339' }), + new Room({ floor: 3, name: 'Váli-víz', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_3_05', number: 5, seats: 2, bpNumber: '0306' }), + new Room({ floor: 3, name: 'Velencei-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_06', number: 6, seats: 4, bpNumber: '0307' }), + new Room({ floor: 3, name: 'Vadkerti-tó', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_12', number: 12, seats: 8, bpNumber: '0316' }), + new Room({ floor: 3, name: 'Zagyva', type: RoomTypes.TYPE_BOOKABLE, id: 'r_3_28', number: 28, seats: 8, bpNumber: '0337' }), + new Room({ floor: 3, name: 'Zala', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_3_07', number: 7, seats: 8, bpNumber: '0310' }), - new Room({ floor: 4, number: 1, name: 'Abaliget', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_01' }), - new Room({ floor: 4, number: 7, name: 'Alföld', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_07' }), - new Room({ floor: 4, number: 16, name: 'Bakony', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_16' }), - new Room({ floor: 4, number: 2, name: 'Borsod', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_02' }), - new Room({ floor: 4, number: 13, name: 'Börzsöny', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_13' }), - new Room({ floor: 4, number: 35, name: 'Bugac', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_35' }), - new Room({ floor: 4, number: 22, name: 'Bükk', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_22' }), - new Room({ floor: 4, number: 31, name: 'Cserhát', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_31' }), - new Room({ floor: 4, number: 5, name: 'Csóványos', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_05' }), - new Room({ floor: 4, number: 33, name: 'Copy room 4E', type: RoomTypes.TYPE_COPYROOM, id: 'r_4_33' }), - new Room({ floor: 4, number: 15, name: 'Copy room 4W', type: RoomTypes.TYPE_COPYROOM, id: 'r_4_15' }), - new Room({ floor: 4, number: 27, name: 'Dunazug', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_27' }), - new Room({ floor: 4, number: 8, name: 'Galya-tető', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_08' }), - new Room({ floor: 4, number: 6, name: 'Gellért-hegy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_06' }), - new Room({ floor: 4, number: 34, name: 'Gemenc', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_34' }), - new Room({ floor: 4, number: 38, name: 'Gerecse', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_38' }), - new Room({ floor: 4, number: 3, name: 'Hajdúság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_03' }), - new Room({ floor: 4, number: 21, name: 'Hanság', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_21' }), - new Room({ floor: 4, number: 39, name: 'Illancs', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_39' }), - new Room({ floor: 4, number: 10, name: 'Jászság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_10' }), - new Room({ floor: 4, number: 12, name: 'Kékes', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_12' }), - new Room({ floor: 4, number: 25, name: 'Kőris-hegy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_25' }), - new Room({ floor: 4, number: 19, name: 'Kunság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_19' }), - new Room({ floor: 4, number: 30, name: 'Magos-fa', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_30' }), - new Room({ floor: 4, number: 32, name: 'Mátra', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_32' }), - new Room({ floor: 4, number: 17, name: 'Mecsek', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_17' }), - new Room({ floor: 4, number: 4, name: 'Mezőföld', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_04' }), - new Room({ floor: 4, number: 36, name: 'Nagy-Milic', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_36' }), - new Room({ floor: 4, number: 20, name: 'Nyírség', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_20' }), - new Room({ floor: 4, number: 9, name: 'Pilis', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_09' }), - new Room({ floor: 4, number: 28, name: 'Ördögmalom', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_28' }), - new Room({ floor: 4, number: 29, name: 'Őrség', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_29' }), - new Room({ floor: 4, number: 14, name: 'Rétköz', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_14' }), - new Room({ floor: 4, number: 24, name: 'Szigetköz', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_24' }), - new Room({ floor: 4, number: 18, name: 'Tolna', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_18' }), - new Room({ floor: 4, number: 23, name: 'Vértes', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_23' }), - new Room({ floor: 4, number: 37, name: 'Zemplén', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_37' }), - new Room({ floor: 4, number: 11, name: 'Zengő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_11' }), - new Room({ floor: 4, number: 26, name: 'Zselic', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_26' }), + new Room({ floor: 4, name: 'Abaliget', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_01', number: 1, seats: 2, bpNumber: '0402' }), + new Room({ floor: 4, name: 'Alföld', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_07', number: 7, seats: 8, bpNumber: '0410' }), + new Room({ floor: 4, name: 'Bakony', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_16', number: 16, seats: 16, bpNumber: '0422' }), + new Room({ floor: 4, name: 'Borsod', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_02', number: 2, seats: 2, bpNumber: '0403' }), + new Room({ floor: 4, name: 'Börzsöny', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_13', number: 13, seats: 4, bpNumber: '0417' }), + new Room({ floor: 4, name: 'Bugac', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_35', number: 35, seats: 12, bpNumber: '0448' }), + new Room({ floor: 4, name: 'Bükk', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_22', number: 22, seats: 4, bpNumber: '0431' }), + new Room({ floor: 4, name: 'Cserhát', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_31', number: 31, seats: 4, bpNumber: '0441' }), + new Room({ floor: 4, name: 'Csóványos', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_05', number: 5, seats: 2, bpNumber: '0406' }), + new Room({ floor: 4, name: 'Copy room 4E', type: RoomTypes.TYPE_COPYROOM, id: 'r_4_33', number: 33 }), + new Room({ floor: 4, name: 'Copy room 4W', type: RoomTypes.TYPE_COPYROOM, id: 'r_4_15', number: 15 }), + new Room({ floor: 4, name: 'Dunazug', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_27', number: 27, seats: 8, bpNumber: '0437' }), + new Room({ floor: 4, name: 'Galya-tető', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_08', number: 8, seats: 4, bpNumber: '0412' }), + new Room({ floor: 4, name: 'Gellért-hegy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_06', number: 6, seats: 4, bpNumber: '0407' }), + new Room({ floor: 4, name: 'Gemenc', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_34', number: 34, seats: 16, bpNumber: '0446' }), + new Room({ floor: 4, name: 'Gerecse', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_38', number: 38, seats: 8, bpNumber: '0451' }), + new Room({ floor: 4, name: 'Hajdúság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_03', number: 3, seats: 2, bpNumber: '0404' }), + new Room({ floor: 4, name: 'Hanság', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_21', number: 21, seats: 4, bpNumber: '0430' }), + new Room({ floor: 4, name: 'Illancs', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_39', number: 39, seats: 8, bpNumber: '0452' }), + new Room({ floor: 4, name: 'Jászság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_10', number: 10, seats: 2, bpNumber: '0414' }), + new Room({ floor: 4, name: 'Kékes', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_12', number: 12, seats: 8, bpNumber: '0416' }), + new Room({ floor: 4, name: 'Kőris-hegy', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_25', number: 25, seats: 4, bpNumber: '0434' }), + new Room({ floor: 4, name: 'Kunság', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_19', number: 19, seats: 2, bpNumber: '0427' }), + new Room({ floor: 4, name: 'Magos-fa', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_30', number: 30, seats: 8, bpNumber: '0440' }), + new Room({ floor: 4, name: 'Mátra', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_32', number: 32, seats: 0, bpNumber: '0442' }), + new Room({ floor: 4, name: 'Mecsek', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_17', number: 17, seats: 12, bpNumber: '0424' }), + new Room({ floor: 4, name: 'Mezőföld', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_04', number: 4, seats: 4, bpNumber: '0405' }), + new Room({ floor: 4, name: 'Nagy-Milic', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_36', number: 36, seats: 4, bpNumber: '0449' }), + new Room({ floor: 4, name: 'Nyírség', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_20', number: 20, seats: 2, bpNumber: '0428' }), + new Room({ floor: 4, name: 'Pilis', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_09', number: 9, seats: 8, bpNumber: '0413' }), + new Room({ floor: 4, name: 'Ördögmalom', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_28', number: 28, seats: 2, bpNumber: '0438' }), + new Room({ floor: 4, name: 'Őrség', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_29', number: 29, seats: 2, bpNumber: '0439' }), + new Room({ floor: 4, name: 'Rétköz', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_14', number: 14, seats: 0, bpNumber: '0418' }), + new Room({ floor: 4, name: 'Szigetköz', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_24', number: 24, seats: 0, bpNumber: '0433' }), + new Room({ floor: 4, name: 'Tolna', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_18', number: 18, seats: 8, bpNumber: '0426' }), + new Room({ floor: 4, name: 'Vértes', type: RoomTypes.TYPE_NONBOOKABLE_SCRUM, id: 'r_4_23', number: 23, seats: 8, bpNumber: '0432' }), + new Room({ floor: 4, name: 'Zemplén', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_4_37', number: 37, seats: 4, bpNumber: '0450' }), + new Room({ floor: 4, name: 'Zengő', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_4_11', number: 11, seats: 2, bpNumber: '0415' }), + new Room({ floor: 4, name: 'Zselic', type: RoomTypes.TYPE_BOOKABLE, id: 'r_4_26', number: 26, seats: 4, bpNumber: '0436' }), - new Room({ floor: 5, number: 11, name: 'BASIC', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_11' }), - new Room({ floor: 5, number: 16, name: 'Bánki Donát', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_16' }), - new Room({ floor: 5, number: 24, name: 'Bárány Róbert', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_24' }), - new Room({ floor: 5, number: 26, name: 'Békésy György', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_26' }), - new Room({ floor: 5, number: 12, name: 'Bolyai János', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_12' }), - new Room({ floor: 5, number: 23, name: 'Copy room 5E', type: RoomTypes.TYPE_COPYROOM, id: 'r_5_23' }), - new Room({ floor: 5, number: 3, name: 'Copy room 5W', type: RoomTypes.TYPE_COPYROOM, id: 'r_5_03' }), - new Room({ floor: 5, number: 40, name: 'Csepel-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_40' }), - new Room({ floor: 5, number: 28, name: 'Dinamo', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_28' }), - new Room({ floor: 5, number: 1, name: 'Eötvös Loránd', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_01' }), - new Room({ floor: 5, number: 21, name: 'Floppy', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_21' }), - new Room({ floor: 5, number: 35, name: 'Galamb József', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_35' }), - new Room({ floor: 5, number: 19, name: 'Ganz Ábrahám', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_19' }), - new Room({ floor: 5, number: 34, name: 'Gábor Dénes', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_34' }), - new Room({ floor: 5, number: 4, name: 'Golyóstoll', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_04' }), - new Room({ floor: 5, number: 10, name: 'Gömböc', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_10' }), - new Room({ floor: 5, number: 25, name: 'Hevesy György', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_25' }), - new Room({ floor: 5, number: 13, name: 'Hugonnai Vilma', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_13' }), - new Room({ floor: 5, number: 0, name: 'HR', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_hr' }), - new Room({ floor: 5, number: 30, name: 'Irinyi János', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_30' }), - new Room({ floor: 5, number: 36, name: 'Jedlik Ányos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_36' }), - new Room({ floor: 5, number: 9, name: 'Kandó Kálmán', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_09' }), - new Room({ floor: 5, number: 29, name: 'Karburátor', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_29' }), - new Room({ floor: 5, number: 2, name: 'Kármán Tódor', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_02' }), - new Room({ floor: 5, number: 15, name: 'Kempelen Farkas', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_15' }), - new Room({ floor: 5, number: 37, name: 'Kocsi', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_37' }), - new Room({ floor: 5, number: 20, name: 'Lénárd Fülöp', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_20' }), - new Room({ floor: 5, number: 43, name: 'Lupa-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_43' }), - new Room({ floor: 5, number: 39, name: 'Margitsziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_39' }), - new Room({ floor: 5, number: 27, name: 'Neumann János', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_5_27' }), - new Room({ floor: 5, number: 41, name: 'Óbudai-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_41' }), - new Room({ floor: 5, number: 32, name: 'Petzvál József', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_32' }), - new Room({ floor: 5, number: 33, name: 'Péter Rózsa', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_33' }), - new Room({ floor: 5, number: 14, name: 'Puskás Tivadar', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_14' }), - new Room({ floor: 5, number: 5, name: 'Rubik-kocka', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_05' }), - new Room({ floor: 5, number: 18, name: 'Semmelweis Ignác', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_18' }), - new Room({ floor: 5, number: 6, name: 'Simonyi Károly', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_06' }), - new Room({ floor: 5, number: 17, name: 'Szent-Györgyi Albert', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_17' }), - new Room({ floor: 5, number: 44, name: 'Szentendrei-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_44' }), - new Room({ floor: 5, number: 42, name: 'Szúnyog-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_42' }), - new Room({ floor: 5, number: 31, name: 'Telehor', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_31' }), - new Room({ floor: 5, number: 38, name: 'Telkes Mária', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_38' }), - new Room({ floor: 5, number: 8, name: 'Tihanyi Kálmán', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_08' }), - new Room({ floor: 5, number: 22, name: 'Transzformátor', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_22' }), - new Room({ floor: 5, number: 7, name: 'Üvegbeton', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_07' }), + new Room({ floor: 5, name: 'BASIC', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_11', number: 11, seats: 2, bpNumber: '0513' }), + new Room({ floor: 5, name: 'Bánki Donát', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_16', number: 16, seats: 4, bpNumber: '0520' }), + new Room({ floor: 5, name: 'Bárány Róbert', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_24', number: 24, seats: 4, bpNumber: '0528' }), + new Room({ floor: 5, name: 'Békésy György', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_26', number: 26, seats: 4, bpNumber: '0530' }), + new Room({ floor: 5, name: 'Bolyai János', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_12', number: 12, seats: 12, bpNumber: '0514' }), + new Room({ floor: 5, name: 'Copy room 5E', type: RoomTypes.TYPE_COPYROOM, id: 'r_5_23', number: 23 }), + new Room({ floor: 5, name: 'Copy room 5W', type: RoomTypes.TYPE_COPYROOM, id: 'r_5_03', number: 3 }), + new Room({ floor: 5, name: 'Csepel-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_40', number: 40, seats: 0, bpNumber: '0599' }), + new Room({ floor: 5, name: 'Dinamo', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_28', number: 28, seats: 2, bpNumber: '0532' }), + new Room({ floor: 5, name: 'Eötvös Loránd', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_01', number: 1, seats: 4, bpNumber: '0501' }), + new Room({ floor: 5, name: 'Floppy', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_21', number: 21, seats: 2, bpNumber: '0525' }), + new Room({ floor: 5, name: 'Galamb József', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_35', number: 35, seats: 4, bpNumber: '0540' }), + new Room({ floor: 5, name: 'Ganz Ábrahám', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_19', number: 19, seats: 4, bpNumber: '0523' }), + new Room({ floor: 5, name: 'Gábor Dénes', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_34', number: 34, seats: 4, bpNumber: '0539' }), + new Room({ floor: 5, name: 'Golyóstoll', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_04', number: 4, seats: 2, bpNumber: '0504' }), + new Room({ floor: 5, name: 'Gömböc', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_10', number: 10, seats: 2, bpNumber: '0512' }), + new Room({ floor: 5, name: 'Hevesy György', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_25', number: 25, seats: 4, bpNumber: '0529' }), + new Room({ floor: 5, name: 'Hugonnai Vilma', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_13', number: 13, seats: 4, bpNumber: '0516' }), + new Room({ floor: 5, name: 'HR', type: RoomTypes.TYPE_NONBOOKABLE, id: 'r_hr' }), + new Room({ floor: 5, name: 'Irinyi János', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_30', number: 30, seats: 4, bpNumber: '0534' }), + new Room({ floor: 5, name: 'Jedlik Ányos', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_36', number: 36, seats: 8, bpNumber: '0541' }), + new Room({ floor: 5, name: 'Kandó Kálmán', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_09', number: 9, seats: 4, bpNumber: '0511' }), + new Room({ floor: 5, name: 'Karburátor', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_29', number: 29, seats: 2, bpNumber: '0533' }), + new Room({ floor: 5, name: 'Kármán Tódor', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_02', number: 2, seats: 4, bpNumber: '0502' }), + new Room({ floor: 5, name: 'Kempelen Farkas', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_15', number: 15, seats: 8, bpNumber: '0518' }), + new Room({ floor: 5, name: 'Kocsi', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_37', number: 37, seats: 2, bpNumber: '0547' }), + new Room({ floor: 5, name: 'Lénárd Fülöp', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_20', number: 20, seats: 4, bpNumber: '0524' }), + new Room({ floor: 5, name: 'Lupa-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_43', number: 43 }), + new Room({ floor: 5, name: 'Margitsziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_39', number: 39, seats: 0, bpNumber: '0598' }), + new Room({ floor: 5, name: 'Neumann János', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_5_27', number: 27, seats: 20, bpNumber: '0531' }), + new Room({ floor: 5, name: 'Óbudai-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_41', number: 41 }), + new Room({ floor: 5, name: 'Petzvál József', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_32', number: 32, seats: 4, bpNumber: '0537' }), + new Room({ floor: 5, name: 'Péter Rózsa', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_33', number: 33, seats: 4, bpNumber: '0538' }), + new Room({ floor: 5, name: 'Puskás Tivadar', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_14', number: 14, seats: 4, bpNumber: '0517' }), + new Room({ floor: 5, name: 'Rubik-kocka', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_05', number: 5, seats: 2, bpNumber: '0505' }), + new Room({ floor: 5, name: 'Semmelweis Ignác', type: RoomTypes.TYPE_BOOKABLE, id: 'r_5_18', number: 18, seats: 12, bpNumber: '0522' }), + new Room({ floor: 5, name: 'Simonyi Károly', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_06', number: 6, seats: 4, bpNumber: '0508' }), + new Room({ floor: 5, name: 'Szent-Györgyi Albert', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_17', number: 17, seats: 4, bpNumber: '0521' }), + new Room({ floor: 5, name: 'Szentendrei-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_44', number: 44 }), + new Room({ floor: 5, name: 'Szúnyog-sziget', type: RoomTypes.TYPE_TERRACE, id: 't_5_42', number: 42 }), + new Room({ floor: 5, name: 'Telehor', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_31', number: 31, seats: 2, bpNumber: '0535' }), + new Room({ floor: 5, name: 'Telkes Mária', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_38', number: 38, seats: 8, bpNumber: '0548' }), + new Room({ floor: 5, name: 'Tihanyi Kálmán', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_5_08', number: 8, seats: 4, bpNumber: '0510' }), + new Room({ floor: 5, name: 'Transzformátor', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_22', number: 22, seats: 2, bpNumber: '0526' }), + new Room({ floor: 5, name: 'Üvegbeton', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_5_07', number: 7, seats: 2, bpNumber: '0509' }), - new Room({ floor: 6, number: 18, name: 'Andromeda', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_18' }), - new Room({ floor: 6, number: 19, name: 'Carina', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_19' }), - new Room({ floor: 6, number: 10, name: 'Cassiopeia', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_10' }), - new Room({ floor: 6, number: 4, name: 'Copy room 6NE', type: RoomTypes.TYPE_COPYROOM, id: 'r_6_04' }), - new Room({ floor: 6, number: 12, name: 'Copy room 6SW', type: RoomTypes.TYPE_COPYROOM, id: 'r_6_12' }), - new Room({ floor: 6, number: 20, name: 'Crux', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_20' }), - new Room({ floor: 6, number: 16, name: 'Cygnus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_16' }), - new Room({ floor: 6, number: 17, name: 'Draco', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_17' }), - new Room({ floor: 6, number: 13, name: 'Gemini', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_13' }), - new Room({ floor: 6, number: 3, name: 'Hydra', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_03' }), - new Room({ floor: 6, number: 14, name: 'Lacerta', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_14' }), - new Room({ floor: 6, number: 15, name: 'Leo', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_15' }), - new Room({ floor: 6, number: 11, name: 'Libra', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_11' }), - new Room({ floor: 6, number: 9, name: 'Lynx', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_09' }), - new Room({ floor: 6, number: 7, name: 'Octans', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_07' }), - new Room({ floor: 6, number: 8, name: 'Orion', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_08' }), - new Room({ floor: 6, number: 6, name: 'Pegasus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_06' }), - new Room({ floor: 6, number: 5, name: 'Phoenix', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_05' }), - new Room({ floor: 6, number: 2, name: 'Taurus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_02' }), - new Room({ floor: 6, number: 1, name: 'Ursa Major', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_6_01' }), + new Room({ floor: 6, name: 'Andromeda', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_18', number: 18, seats: 12, bpNumber: '0627' }), + new Room({ floor: 6, name: 'Carina', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_19', number: 19, seats: 4, bpNumber: '0630' }), + new Room({ floor: 6, name: 'Cassiopeia', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_10', number: 10, seats: 4, bpNumber: '0616' }), + new Room({ floor: 6, name: 'Copy room 6NE', type: RoomTypes.TYPE_COPYROOM, id: 'r_6_04', number: 4 }), + new Room({ floor: 6, name: 'Copy room 6SW', type: RoomTypes.TYPE_COPYROOM, id: 'r_6_12', number: 12 }), + new Room({ floor: 6, name: 'Crux', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_20', number: 20, seats: 4, bpNumber: '0646' }), + new Room({ floor: 6, name: 'Cygnus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_16', number: 16, seats: 4, bpNumber: '0622' }), + new Room({ floor: 6, name: 'Draco', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_17', number: 17, seats: 4, bpNumber: '0623' }), + new Room({ floor: 6, name: 'Gemini', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_13', number: 13, seats: 4, bpNumber: '0619' }), + new Room({ floor: 6, name: 'Hydra', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_03', number: 3, seats: 12, bpNumber: '0608' }), + new Room({ floor: 6, name: 'Lacerta', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_14', number: 14, seats: 2, bpNumber: '0620' }), + new Room({ floor: 6, name: 'Leo', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_15', number: 15, seats: 2, bpNumber: '0621' }), + new Room({ floor: 6, name: 'Libra', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_11', number: 11, seats: 4, bpNumber: '0617' }), + new Room({ floor: 6, name: 'Lynx', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_09', number: 9, seats: 4, bpNumber: '0614' }), + new Room({ floor: 6, name: 'Octans', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_07', number: 7, seats: 2, bpNumber: '0612' }), + new Room({ floor: 6, name: 'Orion', type: RoomTypes.TYPE_PHONEBOOTH, id: 'pb_6_08', number: 8, seats: 2, bpNumber: '0613' }), + new Room({ floor: 6, name: 'Pegasus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_06', number: 6, seats: 4, bpNumber: '0611' }), + new Room({ floor: 6, name: 'Phoenix', type: RoomTypes.TYPE_BOOKABLE, id: 'r_6_05', number: 5, seats: 4, bpNumber: '0610' }), + new Room({ floor: 6, name: 'Taurus', type: RoomTypes.TYPE_NONBOOKABLE_MINI, id: 'r_6_02', number: 2, seats: 2, bpNumber: '0607' }), + new Room({ floor: 6, name: 'Ursa Major', type: RoomTypes.TYPE_BOOKABLE_SPECIAL, id: 'r_6_01', number: 1, seats: 10, bpNumber: '0600' }), ]; const app = new App({ diff --git a/src/room.class.ts b/src/room.class.ts index 1ffe5a8..e36234f 100644 --- a/src/room.class.ts +++ b/src/room.class.ts @@ -27,22 +27,52 @@ export class Room { }; public floor: number; - public number: number; public name: string; public type: RoomTypes; public id: string; + public number?: number; + public seats?: number; + public bpNumber?: string; - constructor({floor, number, name, type, id}:{ - floor:number, number:number, name:string, type: RoomTypes, id: string + constructor({floor, number, name, type, id, seats, bpNumber}:{ + floor:number, + name:string, + type: RoomTypes, + id: string, + number?: number, + seats?: number, + bpNumber?: string, }) { this.floor = floor; - this.number = number; this.name = name; this.type = type; this.id = id; + this.number = number != undefined ? number : 0; + this.seats = seats; + this.bpNumber = bpNumber; } - get formattedName() { - return this.number ? `${this.name} (${this.number})` : this.name; + private get preparedNumber(): string { + return this.number ? `(${this.number})` : ''; + } + + private get preparedSeats(): string { + return this.seats != null ? ` [${this.seats}]` : ''; + } + + private get preparedBpNumber(): string { + return this.bpNumber ? ` // Conf HU PP 0${this.floor} ${this.bpNumber}` : ''; + } + + get formattedName(): string { + return `${this.name}${this.preparedSeats}${this.preparedBpNumber}`; + } + + get hoverLabel(): string { + return this.inputOptionLabel; + } + + get inputOptionLabel(): string { + return this.formattedName; } } diff --git a/webpack.config.js b/webpack.config.js index e4113ae..d7792a9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,43 +1,21 @@ const path = require('path'); -const MiniCssExtractPlugin = require("mini-css-extract-plugin"); module.exports = { mode: 'production', - entry: { - js: './src/index.ts', - css: './src/ethmap.css' - }, + entry: './src/index.ts', devtool: 'source-map', - plugins: [ - new MiniCssExtractPlugin({ - filename: "[name].css", - chunkFilename: "[id].css" - }) - ], module: { rules: [{ test: /\.tsx?$/, loader: 'ts-loader', exclude: /node_modules/ - },{ - test: /\.css$/, - use: [{ - loader: 'css-loader', - options: { minimize: true } - }] - },{ - test: /\.ttf$/, - use: [{ - loader: 'file-loader', - options: { name: '[name].[ext]', outputPath: 'fonts/' } - }] }] }, resolve: { extensions: [ '.tsx', '.ts', '.js' ] }, output: { - filename: '[name].bundle.js', + filename: 'bundle.js', path: path.resolve(__dirname, 'dist') } };