How to use isEditable method in wpt

Best JavaScript code snippet using wpt

map-utils.js

Source:map-utils.js Github

copy

Full Screen

1import * as d3 from 'd3-collection';2// Helpers3export const nester = (data) => {4 const nested = d3.nest()5 .key((d) => { return d.section; })6 .entries(data);7 // console.log(nested);8 const obj = {};9 nested.forEach((item) => {10 const array = [];11 item.values.forEach((value) => {12 array.push(value);13 });14 obj[item.key] = array;15 });16 return obj;17};18export const amenityParameters = [19 {20 section: 'school',21 keyName: 'amenity',22 isVisibleOnPopup: 'FALSE',23 keyLabel: '-',24 isEditable: 'FALSE',25 helpText: '',26 },27 {28 section: 'school',29 keyName: 'name',30 isVisibleOnPopup: 'TRUE',31 keyLabel: 'Name',32 isEditable: 'TRUE',33 helpText: 'Name of the school',34 },35 {36 section: 'school',37 keyName: 'name:ne',38 isVisibleOnPopup: 'TRUE',39 keyLabel: 'नाम',40 isEditable: 'TRUE',41 helpText: 'नेपालीमा नाम',42 },43 {44 section: 'school',45 keyName: 'operator:type',46 isVisibleOnPopup: 'TRUE',47 keyLabel: 'Operator Type',48 isEditable: 'TRUE',49 helpText: 'Is this facility operated by the government, private sector, community or other entities?',50 },51 {52 section: 'school',53 keyName: 'student:count',54 isVisibleOnPopup: 'TRUE',55 keyLabel: 'Number of students',56 isEditable: 'TRUE',57 helpText: 'Number of students at last count enrolled in this school.',58 },59 {60 section: 'school',61 keyName: 'personnel:count',62 isVisibleOnPopup: 'TRUE',63 keyLabel: 'Number of employees',64 isEditable: 'TRUE',65 helpText: 'Number of staff (full-time and part-time) working in this school.',66 },67 {68 section: 'school',69 keyName: 'opening_hours',70 isVisibleOnPopup: 'TRUE',71 keyLabel: 'Opening Hours',72 isEditable: 'TRUE',73 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',74 },75 {76 section: 'school',77 keyName: 'phone',78 isVisibleOnPopup: 'TRUE',79 keyLabel: 'Phone Number',80 isEditable: 'TRUE',81 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',82 },83 {84 section: 'school',85 keyName: 'email',86 isVisibleOnPopup: 'TRUE',87 keyLabel: 'Email Address',88 isEditable: 'TRUE',89 helpText: 'Email address of the facility that is intented for public use.',90 },91 {92 section: 'school',93 keyName: 'isced:level',94 isVisibleOnPopup: 'TRUE',95 keyLabel: 'International Standard Scale',96 isEditable: 'TRUE',97 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary and 6 = doctorate degree.',98 },99 {100 section: 'school',101 keyName: 'grades',102 isVisibleOnPopup: 'TRUE',103 keyLabel: 'Class Range',104 isEditable: 'TRUE',105 helpText: '',106 },107 {108 section: 'hotel',109 keyName: 'amenity',110 isVisibleOnPopup: 'FALSE',111 keyLabel: '-',112 isEditable: 'FALSE',113 helpText: '',114 },115 {116 section: 'hotel',117 keyName: 'name',118 isVisibleOnPopup: 'TRUE',119 keyLabel: 'Name',120 isEditable: 'TRUE',121 helpText: 'Name of the hotel',122 },123 {124 section: 'hotel',125 keyName: 'name:ne',126 isVisibleOnPopup: 'TRUE',127 keyLabel: 'नाम',128 isEditable: 'TRUE',129 helpText: 'नेपालीमा नाम',130 },131 {132 section: 'hotel',133 keyName: 'stars',134 isVisibleOnPopup: 'TRUE',135 keyLabel: 'Stars',136 isEditable: 'TRUE',137 helpText: 'Rating system of 1 to Deluxe 5 star awared by the Department of Tourism, Nepal.',138 },139 {140 section: 'hotel',141 keyName: 'beds',142 isVisibleOnPopup: 'TRUE',143 keyLabel: 'Number of beds',144 isEditable: 'TRUE',145 helpText: 'Number of individual beds regardless of bed size.',146 },147 {148 section: 'hotel',149 keyName: 'rooms',150 isVisibleOnPopup: 'TRUE',151 keyLabel: 'Number of rooms',152 isEditable: 'TRUE',153 helpText: 'Number of bedrooms available to guests within the Hotel\'s compound.',154 },155 {156 section: 'hotel',157 keyName: 'opening_hours',158 isVisibleOnPopup: 'TRUE',159 keyLabel: 'Opening Hours',160 isEditable: 'TRUE',161 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',162 },163 {164 section: 'hotel',165 keyName: 'phone',166 isVisibleOnPopup: 'TRUE',167 keyLabel: 'Phone Number',168 isEditable: 'TRUE',169 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',170 },171 {172 section: 'hotel',173 keyName: 'email',174 isVisibleOnPopup: 'TRUE',175 keyLabel: 'Email Address',176 isEditable: 'TRUE',177 helpText: 'Email address of the facility that is intented for public use.',178 },179 {180 section: 'veterinary',181 keyName: 'amenity',182 isVisibleOnPopup: 'FALSE',183 keyLabel: '-',184 isEditable: 'FALSE',185 helpText: '',186 },187 {188 section: 'veterinary',189 keyName: 'name',190 isVisibleOnPopup: 'TRUE',191 keyLabel: 'Name',192 isEditable: 'TRUE',193 helpText: 'Name of the facility',194 },195 {196 section: 'veterinary',197 keyName: 'name:ne',198 isVisibleOnPopup: 'TRUE',199 keyLabel: 'नाम',200 isEditable: 'TRUE',201 helpText: 'नेपालीमा नाम',202 },203 {204 section: 'veterinary',205 keyName: 'opening_hours',206 isVisibleOnPopup: 'TRUE',207 keyLabel: 'Opening Hours',208 isEditable: 'TRUE',209 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',210 },211 {212 section: 'veterinary',213 keyName: 'phone',214 isVisibleOnPopup: 'TRUE',215 keyLabel: 'Phone Number',216 isEditable: 'TRUE',217 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',218 },219 {220 section: 'veterinary',221 keyName: 'email',222 isVisibleOnPopup: 'TRUE',223 keyLabel: 'Email Address',224 isEditable: 'TRUE',225 helpText: 'Email address of the facility that is intented for public use.',226 },227 {228 section: 'hindu',229 keyName: 'amenity',230 isVisibleOnPopup: 'FALSE',231 keyLabel: '-',232 isEditable: 'FALSE',233 helpText: 'A place where religious services according to hindu traditions are conducted.',234 },235 {236 section: 'hindu',237 keyName: 'name',238 isVisibleOnPopup: 'TRUE',239 keyLabel: 'Name',240 isEditable: 'TRUE',241 helpText: 'Name of the temple',242 },243 {244 section: 'hindu',245 keyName: 'name:ne',246 isVisibleOnPopup: 'TRUE',247 keyLabel: 'नाम',248 isEditable: 'TRUE',249 helpText: 'नेपालीमा नाम',250 },251 {252 section: 'hindu',253 keyName: 'religion',254 isVisibleOnPopup: 'TRUE',255 keyLabel: 'Religion',256 isEditable: 'TRUE',257 helpText: '',258 },259 {260 section: 'hindu',261 keyName: 'opening_hours',262 isVisibleOnPopup: 'TRUE',263 keyLabel: 'Opening Hours',264 isEditable: 'TRUE',265 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',266 },267 {268 section: 'hindu',269 keyName: 'phone',270 isVisibleOnPopup: 'TRUE',271 keyLabel: 'Phone Number',272 isEditable: 'TRUE',273 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',274 },275 {276 section: 'hindu',277 keyName: 'email',278 isVisibleOnPopup: 'TRUE',279 keyLabel: 'Email Address',280 isEditable: 'TRUE',281 helpText: 'Email address of the facility that is intented for public use.',282 },283 {284 section: 'hindu',285 keyName: 'facility:drinking_water',286 isVisibleOnPopup: 'TRUE',287 keyLabel: 'Drinking Water',288 isEditable: 'TRUE',289 helpText: 'Is free drinking water available here?',290 },291 {292 section: 'hindu',293 keyName: 'facility:toilet',294 isVisibleOnPopup: 'TRUE',295 keyLabel: 'Toilet',296 isEditable: 'TRUE',297 helpText: 'Is there a public toilet facility located within these premises?',298 },299 {300 section: 'storage_tank',301 keyName: 'amenity',302 isVisibleOnPopup: 'FALSE',303 keyLabel: 'Water Storage Tank',304 isEditable: 'FALSE',305 helpText: '',306 },307 {308 section: 'storage_tank',309 keyName: 'name',310 isVisibleOnPopup: 'TRUE',311 keyLabel: 'Name',312 isEditable: 'TRUE',313 helpText: 'Name of the storage tank',314 },315 {316 section: 'storage_tank',317 keyName: 'name:ne',318 isVisibleOnPopup: 'TRUE',319 keyLabel: 'नाम',320 isEditable: 'TRUE',321 helpText: 'नेपालीमा नाम',322 },323 {324 section: 'storage_tank',325 keyName: 'opening_hours',326 isVisibleOnPopup: 'TRUE',327 keyLabel: 'Opening Hours',328 isEditable: 'TRUE',329 helpText: 'What are the hours water is distributed from this storage tank? For example, Mo-Fr 10:00-17:00.',330 },331 {332 section: 'storage_tank',333 keyName: 'operator:type',334 isVisibleOnPopup: 'TRUE',335 keyLabel: 'Operator Type',336 isEditable: 'TRUE',337 helpText: 'Is this facility operated by the government, private sector, community or other entities?',338 },339 {340 section: 'water_tap',341 keyName: 'amenity',342 isVisibleOnPopup: 'FALSE',343 keyLabel: 'Drinking Water Tap',344 isEditable: 'FALSE',345 helpText: 'A tap when opened distributes drinking water',346 },347 {348 section: 'water_tap',349 keyName: 'name',350 isVisibleOnPopup: 'TRUE',351 keyLabel: 'Name',352 isEditable: 'TRUE',353 helpText: 'Name of the tap (if any)',354 },355 {356 section: 'water_tap',357 keyName: 'name:ne',358 isVisibleOnPopup: 'TRUE',359 keyLabel: 'नाम',360 isEditable: 'TRUE',361 helpText: 'नेपालीमा नाम',362 },363 {364 section: 'water_tap',365 keyName: 'opening_hours',366 isVisibleOnPopup: 'TRUE',367 keyLabel: 'Opening Hours',368 isEditable: 'TRUE',369 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',370 },371 {372 section: 'water_tap',373 keyName: 'operator:type',374 isVisibleOnPopup: 'TRUE',375 keyLabel: 'Operator Type',376 isEditable: 'TRUE',377 helpText: 'Is this facility operated by the government, private sector, community or other entities?',378 },379 {380 section: 'water_well',381 keyName: 'amenity',382 isVisibleOnPopup: 'FALSE',383 keyLabel: 'Well',384 isEditable: 'FALSE',385 helpText: 'Underground water source.',386 },387 {388 section: 'water_well',389 keyName: 'name',390 isVisibleOnPopup: 'TRUE',391 keyLabel: 'Name',392 isEditable: 'TRUE',393 helpText: 'Name of the well (if any)',394 },395 {396 section: 'water_well',397 keyName: 'name:ne',398 isVisibleOnPopup: 'TRUE',399 keyLabel: 'नाम',400 isEditable: 'TRUE',401 helpText: 'नेपालीमा नाम',402 },403 {404 section: 'water_well',405 keyName: 'opening_hours',406 isVisibleOnPopup: 'TRUE',407 keyLabel: 'Opening Hours',408 isEditable: 'TRUE',409 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',410 },411 {412 section: 'water_well',413 keyName: 'operator:type',414 isVisibleOnPopup: 'TRUE',415 keyLabel: 'Operator Type',416 isEditable: 'TRUE',417 helpText: 'Is this facility operated by the government, private sector, community or other entities?',418 },419 {420 section: 'police',421 keyName: 'amenity',422 isVisibleOnPopup: 'FALSE',423 keyLabel: 'Police',424 isEditable: 'FALSE',425 helpText: '',426 },427 {428 section: 'police',429 keyName: 'name',430 isVisibleOnPopup: 'TRUE',431 keyLabel: 'Name',432 isEditable: 'TRUE',433 helpText: 'Name of the police station',434 },435 {436 section: 'police',437 keyName: 'name:ne',438 isVisibleOnPopup: 'TRUE',439 keyLabel: 'नाम',440 isEditable: 'TRUE',441 helpText: 'नेपालीमा नाम',442 },443 {444 section: 'police',445 keyName: 'opening_hours',446 isVisibleOnPopup: 'TRUE',447 keyLabel: 'Opening Hours',448 isEditable: 'TRUE',449 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',450 },451 {452 section: 'police',453 keyName: 'phone',454 isVisibleOnPopup: 'TRUE',455 keyLabel: 'Phone Number',456 isEditable: 'TRUE',457 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',458 },459 {460 section: 'police',461 keyName: 'email',462 isVisibleOnPopup: 'TRUE',463 keyLabel: 'Email Address',464 isEditable: 'TRUE',465 helpText: 'Email address of the facility that is intented for public use.',466 },467 {468 section: 'hospital',469 keyName: 'amenity',470 isVisibleOnPopup: 'FALSE',471 keyLabel: '-',472 isEditable: 'FALSE',473 helpText: 'Institutions for health care providing treatment by specialised staff and equipment, and typically providing nursing care for longer-term patient stays.',474 },475 {476 section: 'hospital',477 keyName: 'name',478 isVisibleOnPopup: 'TRUE',479 keyLabel: 'Name',480 isEditable: 'TRUE',481 helpText: 'Name of the facility',482 },483 {484 section: 'hospital',485 keyName: 'name:ne',486 isVisibleOnPopup: 'TRUE',487 keyLabel: 'नाम',488 isEditable: 'TRUE',489 helpText: 'नेपालीमा नाम',490 },491 {492 section: 'hospital',493 keyName: 'operator:type',494 isVisibleOnPopup: 'TRUE',495 keyLabel: 'Operator Type',496 isEditable: 'TRUE',497 helpText: 'Is this facility operated by the government, private sector, community or other entities?',498 },499 {500 section: 'hospital',501 keyName: 'opening_hours',502 isVisibleOnPopup: 'TRUE',503 keyLabel: 'Opening Hours',504 isEditable: 'TRUE',505 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',506 },507 {508 section: 'hospital',509 keyName: 'phone',510 isVisibleOnPopup: 'TRUE',511 keyLabel: 'Phone Number',512 isEditable: 'TRUE',513 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',514 },515 {516 section: 'hospital',517 keyName: 'email',518 isVisibleOnPopup: 'TRUE',519 keyLabel: 'Email Address',520 isEditable: 'TRUE',521 helpText: 'Email address of the facility that is intented for public use.',522 },523 {524 section: 'hospital',525 keyName: 'emergency',526 isVisibleOnPopup: 'TRUE',527 keyLabel: 'Emergency Service',528 isEditable: 'TRUE',529 helpText: '',530 },531 {532 section: 'hospital',533 keyName: 'facility:icu',534 isVisibleOnPopup: 'TRUE',535 keyLabel: 'ICU',536 isEditable: 'TRUE',537 helpText: '',538 },539 {540 section: 'hospital',541 keyName: 'facility:nicu',542 isVisibleOnPopup: 'TRUE',543 keyLabel: 'NICU',544 isEditable: 'TRUE',545 helpText: '',546 },547 {548 section: 'hospital',549 keyName: 'facility:operating_theatre',550 isVisibleOnPopup: 'TRUE',551 keyLabel: 'Operating Theatre',552 isEditable: 'TRUE',553 helpText: '',554 },555 {556 section: 'hospital',557 keyName: 'facility:x-ray',558 isVisibleOnPopup: 'TRUE',559 keyLabel: 'X-Ray',560 isEditable: 'TRUE',561 helpText: '',562 },563 {564 section: 'hospital',565 keyName: 'facility:ambulance',566 isVisibleOnPopup: 'TRUE',567 keyLabel: 'Ambulance Service',568 isEditable: 'TRUE',569 helpText: 'Does the hospital have its own ambulance that can be used during emergencies?',570 },571 {572 section: 'hospital',573 keyName: 'personnel:count',574 isVisibleOnPopup: 'TRUE',575 keyLabel: 'Number of Staff',576 isEditable: 'TRUE',577 helpText: '',578 },579 {580 section: 'hospital',581 keyName: 'capacity:beds',582 isVisibleOnPopup: 'TRUE',583 keyLabel: 'Number of Beds',584 isEditable: 'TRUE',585 helpText: '',586 },587 {588 section: 'clinic',589 keyName: 'amenity',590 isVisibleOnPopup: 'FALSE',591 keyLabel: '-',592 isEditable: 'FALSE',593 helpText: 'Medium-sized medical centres, typically without admission of inpatients.',594 },595 {596 section: 'clinic',597 keyName: 'name',598 isVisibleOnPopup: 'TRUE',599 keyLabel: 'Name',600 isEditable: 'TRUE',601 helpText: 'Name of the clinic',602 },603 {604 section: 'clinic',605 keyName: 'name:ne',606 isVisibleOnPopup: 'TRUE',607 keyLabel: 'नाम',608 isEditable: 'TRUE',609 helpText: 'नेपालीमा नाम',610 },611 {612 section: 'clinic',613 keyName: 'phone',614 isVisibleOnPopup: 'TRUE',615 keyLabel: 'Phone',616 isEditable: 'TRUE',617 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',618 },619 {620 section: 'clinic',621 keyName: 'email',622 isVisibleOnPopup: 'TRUE',623 keyLabel: 'Email Address',624 isEditable: 'TRUE',625 helpText: 'Email address of the facility that is intented for public use.',626 },627 {628 section: 'clinic',629 keyName: 'opening_hours',630 isVisibleOnPopup: 'TRUE',631 keyLabel: 'Opening Hours',632 isEditable: 'TRUE',633 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',634 },635 {636 section: 'clinic',637 keyName: 'healthcare:speciality',638 isVisibleOnPopup: 'TRUE',639 keyLabel: 'Specialisation',640 isEditable: 'TRUE',641 helpText: 'Is the clinic known for any particular specialization such as oncology, dermatology, psychiatry etc.',642 },643 {644 section: 'health_post',645 keyName: 'amenity',646 isVisibleOnPopup: 'FALSE',647 keyLabel: '-',648 isEditable: 'FALSE',649 helpText: 'Medical centres run by the Government of Nepal to provide free primary health services to local communities.',650 },651 {652 section: 'health_post',653 keyName: 'name',654 isVisibleOnPopup: 'TRUE',655 keyLabel: 'Name',656 isEditable: 'TRUE',657 helpText: 'Name of the health post',658 },659 {660 section: 'health_post',661 keyName: 'name:ne',662 isVisibleOnPopup: 'TRUE',663 keyLabel: 'नाम',664 isEditable: 'TRUE',665 helpText: 'नेपालीमा नाम',666 },667 {668 section: 'health_post',669 keyName: 'phone',670 isVisibleOnPopup: 'TRUE',671 keyLabel: 'Phone',672 isEditable: 'TRUE',673 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',674 },675 {676 section: 'health_post',677 keyName: 'email',678 isVisibleOnPopup: 'TRUE',679 keyLabel: 'Email Address',680 isEditable: 'TRUE',681 helpText: 'Email address of the facility that is intented for public use.',682 },683 {684 section: 'health_post',685 keyName: 'opening_hours',686 isVisibleOnPopup: 'TRUE',687 keyLabel: 'Opening Hours',688 isEditable: 'TRUE',689 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',690 },691 {692 section: 'health_post',693 keyName: 'operator:type',694 isVisibleOnPopup: 'TRUE',695 keyLabel: 'Operator Type',696 isEditable: 'TRUE',697 helpText: 'Is this facility operated by the government, private sector, community or other entities?',698 },699 {700 section: 'pharmacy',701 keyName: 'amenity',702 isVisibleOnPopup: 'FALSE',703 keyLabel: '-',704 isEditable: 'FALSE',705 helpText: 'Shops where a pharmacist sells medications.',706 },707 {708 section: 'pharmacy',709 keyName: 'name',710 isVisibleOnPopup: 'TRUE',711 keyLabel: 'Name',712 isEditable: 'TRUE',713 helpText: 'Name of the pharmacy',714 },715 {716 section: 'pharmacy',717 keyName: 'name:ne',718 isVisibleOnPopup: 'TRUE',719 keyLabel: 'नाम',720 isEditable: 'TRUE',721 helpText: 'नेपालीमा नाम',722 },723 {724 section: 'pharmacy',725 keyName: 'phone',726 isVisibleOnPopup: 'TRUE',727 keyLabel: 'Phone',728 isEditable: 'TRUE',729 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',730 },731 {732 section: 'pharmacy',733 keyName: 'email',734 isVisibleOnPopup: 'TRUE',735 keyLabel: 'Email Address',736 isEditable: 'TRUE',737 helpText: 'Email address of the facility that is intented for public use.',738 },739 {740 section: 'pharmacy',741 keyName: 'opening_hours',742 isVisibleOnPopup: 'TRUE',743 keyLabel: 'Opening Hours',744 isEditable: 'TRUE',745 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',746 },747 {748 section: 'dentist',749 keyName: 'amenity',750 isVisibleOnPopup: 'FALSE',751 keyLabel: '',752 isEditable: 'FALSE',753 helpText: 'Dentist’s practices or dental clinics.',754 },755 {756 section: 'dentist',757 keyName: 'name',758 isVisibleOnPopup: 'TRUE',759 keyLabel: 'Name',760 isEditable: 'TRUE',761 helpText: 'Name of the dental clinic',762 },763 {764 section: 'dentist',765 keyName: 'name:ne',766 isVisibleOnPopup: 'TRUE',767 keyLabel: 'नाम',768 isEditable: 'TRUE',769 helpText: 'नेपालीमा नाम',770 },771 {772 section: 'dentist',773 keyName: 'phone',774 isVisibleOnPopup: 'TRUE',775 keyLabel: 'Phone',776 isEditable: 'TRUE',777 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',778 },779 {780 section: 'dentist',781 keyName: 'email',782 isVisibleOnPopup: 'TRUE',783 keyLabel: 'Email Address',784 isEditable: 'TRUE',785 helpText: 'Email address of the facility that is intented for public use.',786 },787 {788 section: 'dentist',789 keyName: 'opening_hours',790 isVisibleOnPopup: 'TRUE',791 keyLabel: 'Opening Hours',792 isEditable: 'TRUE',793 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',794 },795 {796 section: 'government',797 keyName: 'office',798 isVisibleOnPopup: 'FALSE',799 keyLabel: '',800 isEditable: 'FALSE',801 helpText: '',802 },803 {804 section: 'government',805 keyName: 'name',806 isVisibleOnPopup: 'TRUE',807 keyLabel: 'Name',808 isEditable: 'TRUE',809 helpText: 'Name of the facility',810 },811 {812 section: 'government',813 keyName: 'name:ne',814 isVisibleOnPopup: 'TRUE',815 keyLabel: 'नाम',816 isEditable: 'TRUE',817 helpText: 'नेपालीमा नाम',818 },819 {820 section: 'government',821 keyName: 'phone',822 isVisibleOnPopup: 'TRUE',823 keyLabel: 'Phone',824 isEditable: 'TRUE',825 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',826 },827 {828 section: 'government',829 keyName: 'email',830 isVisibleOnPopup: 'TRUE',831 keyLabel: 'Email Address',832 isEditable: 'TRUE',833 helpText: 'Email address of the facility that is intented for public use.',834 },835 {836 section: 'government',837 keyName: 'opening_hours',838 isVisibleOnPopup: 'TRUE',839 keyLabel: 'Opening Hours',840 isEditable: 'TRUE',841 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',842 },843 {844 section: 'ngo',845 keyName: 'office',846 isVisibleOnPopup: 'FALSE',847 keyLabel: '',848 isEditable: 'FALSE',849 helpText: '',850 },851 {852 section: 'ngo',853 keyName: 'name',854 isVisibleOnPopup: 'TRUE',855 keyLabel: 'Name',856 isEditable: 'TRUE',857 helpText: 'Name of the NGO',858 },859 {860 section: 'ngo',861 keyName: 'name:ne',862 isVisibleOnPopup: 'TRUE',863 keyLabel: 'नाम',864 isEditable: 'TRUE',865 helpText: 'नेपालीमा नाम',866 },867 {868 section: 'ngo',869 keyName: 'phone',870 isVisibleOnPopup: 'TRUE',871 keyLabel: 'Phone',872 isEditable: 'TRUE',873 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',874 },875 {876 section: 'ngo',877 keyName: 'email',878 isVisibleOnPopup: 'TRUE',879 keyLabel: 'Email Address',880 isEditable: 'TRUE',881 helpText: 'Email address of the facility that is intented for public use.',882 },883 {884 section: 'ngo',885 keyName: 'opening_hours',886 isVisibleOnPopup: 'TRUE',887 keyLabel: 'Opening Hours',888 isEditable: 'TRUE',889 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',890 },891 {892 section: 'bank',893 keyName: 'amenity',894 isVisibleOnPopup: 'FALSE',895 keyLabel: '',896 isEditable: 'FALSE',897 helpText: '',898 },899 {900 section: 'bank',901 keyName: 'name',902 isVisibleOnPopup: 'TRUE',903 keyLabel: 'Name',904 isEditable: 'TRUE',905 helpText: 'Name of the bank',906 },907 {908 section: 'bank',909 keyName: 'name:ne',910 isVisibleOnPopup: 'TRUE',911 keyLabel: 'नाम',912 isEditable: 'TRUE',913 helpText: 'नेपालीमा नाम',914 },915 {916 section: 'bank',917 keyName: 'phone',918 isVisibleOnPopup: 'TRUE',919 keyLabel: 'Phone',920 isEditable: 'TRUE',921 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',922 },923 {924 section: 'bank',925 keyName: 'email',926 isVisibleOnPopup: 'TRUE',927 keyLabel: 'Email Address',928 isEditable: 'TRUE',929 helpText: 'Email address of the facility that is intented for public use.',930 },931 {932 section: 'bank',933 keyName: 'opening_hours',934 isVisibleOnPopup: 'TRUE',935 keyLabel: 'Opening Hours',936 isEditable: 'TRUE',937 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',938 },939 {940 section: 'bank',941 keyName: 'operator:type',942 isVisibleOnPopup: 'TRUE',943 keyLabel: 'Operator Type',944 isEditable: 'TRUE',945 helpText: 'Is this facility operated by the government, private sector, community or other entities?',946 },947 {948 section: 'bank',949 keyName: 'nrb_class',950 isVisibleOnPopup: 'TRUE',951 keyLabel: 'Bank Classfication',952 isEditable: 'TRUE',953 helpText: '',954 },955 {956 section: 'bank',957 keyName: 'atm',958 isVisibleOnPopup: 'TRUE',959 keyLabel: 'ATM Available',960 isEditable: 'TRUE',961 helpText: '',962 },963 {964 section: 'fuel',965 keyName: 'amenity',966 isVisibleOnPopup: 'FALSE',967 keyLabel: '',968 isEditable: 'FALSE',969 helpText: '',970 },971 {972 section: 'fuel',973 keyName: 'name',974 isVisibleOnPopup: 'TRUE',975 keyLabel: 'Name',976 isEditable: 'TRUE',977 helpText: 'Name of the fuel station',978 },979 {980 section: 'fuel',981 keyName: 'name:ne',982 isVisibleOnPopup: 'TRUE',983 keyLabel: 'नाम',984 isEditable: 'TRUE',985 helpText: 'नेपालीमा नाम',986 },987 {988 section: 'fuel',989 keyName: 'phone',990 isVisibleOnPopup: 'TRUE',991 keyLabel: 'Phone',992 isEditable: 'TRUE',993 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',994 },995 {996 section: 'fuel',997 keyName: 'email',998 isVisibleOnPopup: 'TRUE',999 keyLabel: 'Email Address',1000 isEditable: 'TRUE',1001 helpText: 'Email address of the facility that is intented for public use.',1002 },1003 {1004 section: 'fuel',1005 keyName: 'opening_hours',1006 isVisibleOnPopup: 'TRUE',1007 keyLabel: 'Opening Hours',1008 isEditable: 'TRUE',1009 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1010 },1011 {1012 section: 'radio',1013 keyName: 'amenity',1014 isVisibleOnPopup: 'FALSE',1015 keyLabel: '',1016 isEditable: 'FALSE',1017 helpText: '',1018 },1019 {1020 section: 'radio',1021 keyName: 'studio',1022 isVisibleOnPopup: 'FALSE',1023 keyLabel: '',1024 isEditable: 'FALSE',1025 helpText: '',1026 },1027 {1028 section: 'radio',1029 keyName: 'name',1030 isVisibleOnPopup: 'TRUE',1031 keyLabel: 'Name',1032 isEditable: 'TRUE',1033 helpText: 'Name of the radio station',1034 },1035 {1036 section: 'radio',1037 keyName: 'name:ne',1038 isVisibleOnPopup: 'TRUE',1039 keyLabel: 'नाम',1040 isEditable: 'TRUE',1041 helpText: 'नेपालीमा नाम',1042 },1043 {1044 section: 'radio',1045 keyName: 'phone',1046 isVisibleOnPopup: 'TRUE',1047 keyLabel: 'Phone',1048 isEditable: 'TRUE',1049 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1050 },1051 {1052 section: 'radio',1053 keyName: 'email',1054 isVisibleOnPopup: 'TRUE',1055 keyLabel: 'Email Address',1056 isEditable: 'TRUE',1057 helpText: 'Email address of the facility that is intented for public use.',1058 },1059 {1060 section: 'radio',1061 keyName: 'opening_hours',1062 isVisibleOnPopup: 'TRUE',1063 keyLabel: 'Opening Hours',1064 isEditable: 'TRUE',1065 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1066 },1067 {1068 section: 'radio',1069 keyName: 'frequency',1070 isVisibleOnPopup: 'TRUE',1071 keyLabel: 'Frequency',1072 isEditable: 'TRUE',1073 helpText: '',1074 },1075 {1076 section: 'television',1077 keyName: 'amenity',1078 isVisibleOnPopup: 'FALSE',1079 keyLabel: '',1080 isEditable: 'FALSE',1081 helpText: '',1082 },1083 {1084 section: 'television',1085 keyName: 'studio',1086 isVisibleOnPopup: 'FALSE',1087 keyLabel: '',1088 isEditable: 'FALSE',1089 helpText: '',1090 },1091 {1092 section: 'television',1093 keyName: 'name',1094 isVisibleOnPopup: 'TRUE',1095 keyLabel: 'Name',1096 isEditable: 'TRUE',1097 helpText: 'Name of the TV station',1098 },1099 {1100 section: 'television',1101 keyName: 'name:ne',1102 isVisibleOnPopup: 'TRUE',1103 keyLabel: 'नाम',1104 isEditable: 'TRUE',1105 helpText: 'नेपालीमा नाम',1106 },1107 {1108 section: 'television',1109 keyName: 'phone',1110 isVisibleOnPopup: 'TRUE',1111 keyLabel: 'Phone',1112 isEditable: 'TRUE',1113 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1114 },1115 {1116 section: 'television',1117 keyName: 'email',1118 isVisibleOnPopup: 'TRUE',1119 keyLabel: 'Email Address',1120 isEditable: 'TRUE',1121 helpText: 'Email address of the facility that is intented for public use.',1122 },1123 {1124 section: 'television',1125 keyName: 'opening_hours',1126 isVisibleOnPopup: 'TRUE',1127 keyLabel: 'Opening Hours',1128 isEditable: 'TRUE',1129 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1130 },1131 {1132 section: 'newspaper',1133 keyName: 'office',1134 isVisibleOnPopup: 'FALSE',1135 keyLabel: '',1136 isEditable: 'FALSE',1137 helpText: '',1138 },1139 {1140 section: 'newspaper',1141 keyName: 'name',1142 isVisibleOnPopup: 'TRUE',1143 keyLabel: 'Name',1144 isEditable: 'TRUE',1145 helpText: 'Name of the newspaper',1146 },1147 {1148 section: 'newspaper',1149 keyName: 'name:ne',1150 isVisibleOnPopup: 'TRUE',1151 keyLabel: 'नाम',1152 isEditable: 'TRUE',1153 helpText: 'नेपालीमा नाम',1154 },1155 {1156 section: 'newspaper',1157 keyName: 'phone',1158 isVisibleOnPopup: 'TRUE',1159 keyLabel: 'Phone',1160 isEditable: 'TRUE',1161 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1162 },1163 {1164 section: 'newspaper',1165 keyName: 'email',1166 isVisibleOnPopup: 'TRUE',1167 keyLabel: 'Email Address',1168 isEditable: 'TRUE',1169 helpText: 'Email address of the facility that is intented for public use.',1170 },1171 {1172 section: 'newspaper',1173 keyName: 'opening_hours',1174 isVisibleOnPopup: 'TRUE',1175 keyLabel: 'Opening Hours',1176 isEditable: 'TRUE',1177 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1178 },1179 {1180 section: 'college',1181 keyName: 'amenity',1182 isVisibleOnPopup: 'FALSE',1183 keyLabel: '-',1184 isEditable: 'FALSE',1185 helpText: '',1186 },1187 {1188 section: 'college',1189 keyName: 'name',1190 isVisibleOnPopup: 'TRUE',1191 keyLabel: 'Name',1192 isEditable: 'TRUE',1193 helpText: 'Name of the college',1194 },1195 {1196 section: 'college',1197 keyName: 'name:ne',1198 isVisibleOnPopup: 'TRUE',1199 keyLabel: 'नाम',1200 isEditable: 'TRUE',1201 helpText: 'नेपालीमा नाम',1202 },1203 {1204 section: 'college',1205 keyName: 'operator:type',1206 isVisibleOnPopup: 'TRUE',1207 keyLabel: 'Operator Type',1208 isEditable: 'TRUE',1209 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1210 },1211 {1212 section: 'college',1213 keyName: 'student:count',1214 isVisibleOnPopup: 'TRUE',1215 keyLabel: 'Number of students',1216 isEditable: 'TRUE',1217 helpText: '',1218 },1219 {1220 section: 'college',1221 keyName: 'personnel:count',1222 isVisibleOnPopup: 'TRUE',1223 keyLabel: 'Number of employees',1224 isEditable: 'TRUE',1225 helpText: '',1226 },1227 {1228 section: 'college',1229 keyName: 'opening_hours',1230 isVisibleOnPopup: 'TRUE',1231 keyLabel: 'Opening Hours',1232 isEditable: 'TRUE',1233 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1234 },1235 {1236 section: 'college',1237 keyName: 'phone',1238 isVisibleOnPopup: 'TRUE',1239 keyLabel: 'Phone Number',1240 isEditable: 'TRUE',1241 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1242 },1243 {1244 section: 'college',1245 keyName: 'email',1246 isVisibleOnPopup: 'TRUE',1247 keyLabel: 'Email Address',1248 isEditable: 'TRUE',1249 helpText: 'Email address of the facility that is intented for public use.',1250 },1251 {1252 section: 'college',1253 keyName: 'isced:level',1254 isVisibleOnPopup: 'TRUE',1255 keyLabel: 'International Standard Scale',1256 isEditable: 'TRUE',1257 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary and 6 = doctorate degree.',1258 },1259 {1260 section: 'university',1261 keyName: 'amenity',1262 isVisibleOnPopup: 'FALSE',1263 keyLabel: '-',1264 isEditable: 'FALSE',1265 helpText: '',1266 },1267 {1268 section: 'university',1269 keyName: 'name',1270 isVisibleOnPopup: 'TRUE',1271 keyLabel: 'Name',1272 isEditable: 'TRUE',1273 helpText: 'Name of the university',1274 },1275 {1276 section: 'university',1277 keyName: 'name:ne',1278 isVisibleOnPopup: 'TRUE',1279 keyLabel: 'नाम',1280 isEditable: 'TRUE',1281 helpText: 'नेपालीमा नाम',1282 },1283 {1284 section: 'university',1285 keyName: 'operator:type',1286 isVisibleOnPopup: 'TRUE',1287 keyLabel: 'Operator Type',1288 isEditable: 'TRUE',1289 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1290 },1291 {1292 section: 'university',1293 keyName: 'student:count',1294 isVisibleOnPopup: 'TRUE',1295 keyLabel: 'Number of students',1296 isEditable: 'TRUE',1297 helpText: '',1298 },1299 {1300 section: 'university',1301 keyName: 'personnel:count',1302 isVisibleOnPopup: 'TRUE',1303 keyLabel: 'Number of employees',1304 isEditable: 'TRUE',1305 helpText: '',1306 },1307 {1308 section: 'university',1309 keyName: 'opening_hours',1310 isVisibleOnPopup: 'TRUE',1311 keyLabel: 'Opening Hours',1312 isEditable: 'TRUE',1313 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1314 },1315 {1316 section: 'university',1317 keyName: 'phone',1318 isVisibleOnPopup: 'TRUE',1319 keyLabel: 'Phone Number',1320 isEditable: 'TRUE',1321 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1322 },1323 {1324 section: 'university',1325 keyName: 'email',1326 isVisibleOnPopup: 'TRUE',1327 keyLabel: 'Email Address',1328 isEditable: 'TRUE',1329 helpText: 'Email address of the facility that is intented for public use.',1330 },1331 {1332 section: 'university',1333 keyName: 'isced:level',1334 isVisibleOnPopup: 'TRUE',1335 keyLabel: 'International Standard Scale',1336 isEditable: 'TRUE',1337 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary and 6 = doctorate degree',1338 },1339 {1340 section: 'kindergarten',1341 keyName: 'name',1342 isVisibleOnPopup: 'TRUE',1343 keyLabel: 'Name',1344 isEditable: 'TRUE',1345 helpText: 'Name of the kindergarten',1346 },1347 {1348 section: 'kindergarten',1349 keyName: 'name:ne',1350 isVisibleOnPopup: 'TRUE',1351 keyLabel: 'नाम',1352 isEditable: 'TRUE',1353 helpText: 'नेपालीमा नाम',1354 },1355 {1356 section: 'kindergarten',1357 keyName: 'operator:type',1358 isVisibleOnPopup: 'TRUE',1359 keyLabel: 'Operator Type',1360 isEditable: 'TRUE',1361 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1362 },1363 {1364 section: 'kindergarten',1365 keyName: 'student:count',1366 isVisibleOnPopup: 'TRUE',1367 keyLabel: 'Number of students',1368 isEditable: 'TRUE',1369 helpText: '',1370 },1371 {1372 section: 'kindergarten',1373 keyName: 'personnel:count',1374 isVisibleOnPopup: 'TRUE',1375 keyLabel: 'Number of employees',1376 isEditable: 'TRUE',1377 helpText: '',1378 },1379 {1380 section: 'kindergarten',1381 keyName: 'opening_hours',1382 isVisibleOnPopup: 'TRUE',1383 keyLabel: 'Opening Hours',1384 isEditable: 'TRUE',1385 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1386 },1387 {1388 section: 'kindergarten',1389 keyName: 'phone',1390 isVisibleOnPopup: 'TRUE',1391 keyLabel: 'Phone Number',1392 isEditable: 'TRUE',1393 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1394 },1395 {1396 section: 'kindergarten',1397 keyName: 'email',1398 isVisibleOnPopup: 'TRUE',1399 keyLabel: 'Email Address',1400 isEditable: 'TRUE',1401 helpText: 'Email address of the facility that is intented for public use.',1402 },1403 {1404 section: 'kindergarten',1405 keyName: 'isced:level',1406 isVisibleOnPopup: 'TRUE',1407 keyLabel: 'International Standard Scale',1408 isEditable: 'TRUE',1409 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary and 6 = doctorate degree.',1410 },1411 {1412 section: 'buddhist',1413 keyName: 'name',1414 isVisibleOnPopup: 'TRUE',1415 keyLabel: 'Name',1416 isEditable: 'TRUE',1417 helpText: 'Name of the monastery',1418 },1419 {1420 section: 'buddhist',1421 keyName: 'name:ne',1422 isVisibleOnPopup: 'TRUE',1423 keyLabel: 'नाम',1424 isEditable: 'TRUE',1425 helpText: 'नेपालीमा नाम',1426 },1427 {1428 section: 'buddhist',1429 keyName: 'religion',1430 isVisibleOnPopup: 'TRUE',1431 keyLabel: 'Religion',1432 isEditable: 'TRUE',1433 helpText: '',1434 },1435 {1436 section: 'buddhist',1437 keyName: 'opening_hours',1438 isVisibleOnPopup: 'TRUE',1439 keyLabel: 'Opening Hours',1440 isEditable: 'TRUE',1441 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1442 },1443 {1444 section: 'buddhist',1445 keyName: 'phone',1446 isVisibleOnPopup: 'TRUE',1447 keyLabel: 'Phone Number',1448 isEditable: 'TRUE',1449 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1450 },1451 {1452 section: 'buddhist',1453 keyName: 'email',1454 isVisibleOnPopup: 'TRUE',1455 keyLabel: 'Email Address',1456 isEditable: 'TRUE',1457 helpText: 'Email address of the facility that is intented for public use.',1458 },1459 {1460 section: 'buddhist',1461 keyName: 'facility:drinking_water',1462 isVisibleOnPopup: 'TRUE',1463 keyLabel: 'Drinking Water',1464 isEditable: 'TRUE',1465 helpText: '',1466 },1467 {1468 section: 'buddhist',1469 keyName: 'facility:toilet',1470 isVisibleOnPopup: 'TRUE',1471 keyLabel: 'Toilet',1472 isEditable: 'TRUE',1473 helpText: '',1474 },1475 {1476 section: 'christian',1477 keyName: 'amenity',1478 isVisibleOnPopup: 'FALSE',1479 keyLabel: '-',1480 isEditable: 'FALSE',1481 helpText: 'A place where religious services according to chrisitian faith is conducted.',1482 },1483 {1484 section: 'christian',1485 keyName: 'name',1486 isVisibleOnPopup: 'TRUE',1487 keyLabel: 'Name',1488 isEditable: 'TRUE',1489 helpText: 'Name of the church',1490 },1491 {1492 section: 'christian',1493 keyName: 'name:ne',1494 isVisibleOnPopup: 'TRUE',1495 keyLabel: 'नाम',1496 isEditable: 'TRUE',1497 helpText: 'नेपालीमा नाम',1498 },1499 {1500 section: 'christian',1501 keyName: 'religion',1502 isVisibleOnPopup: 'TRUE',1503 keyLabel: 'Religion',1504 isEditable: 'TRUE',1505 helpText: '',1506 },1507 {1508 section: 'christian',1509 keyName: 'opening_hours',1510 isVisibleOnPopup: 'TRUE',1511 keyLabel: 'Opening Hours',1512 isEditable: 'TRUE',1513 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1514 },1515 {1516 section: 'christian',1517 keyName: 'phone',1518 isVisibleOnPopup: 'TRUE',1519 keyLabel: 'Phone Number',1520 isEditable: 'TRUE',1521 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1522 },1523 {1524 section: 'christian',1525 keyName: 'email',1526 isVisibleOnPopup: 'TRUE',1527 keyLabel: 'Email Address',1528 isEditable: 'TRUE',1529 helpText: 'Email address of the facility that is intented for public use.',1530 },1531 {1532 section: 'christian',1533 keyName: 'facility:drinking_water',1534 isVisibleOnPopup: 'TRUE',1535 keyLabel: 'Drinking Water',1536 isEditable: 'TRUE',1537 helpText: '',1538 },1539 {1540 section: 'christian',1541 keyName: 'facility:toilet',1542 isVisibleOnPopup: 'TRUE',1543 keyLabel: 'Toilet',1544 isEditable: 'TRUE',1545 helpText: '',1546 },1547 {1548 section: 'muslim',1549 keyName: 'amenity',1550 isVisibleOnPopup: 'FALSE',1551 keyLabel: '-',1552 isEditable: 'FALSE',1553 helpText: 'A place where religious services according to islamic faith is conducted.',1554 },1555 {1556 section: 'muslim',1557 keyName: 'name',1558 isVisibleOnPopup: 'TRUE',1559 keyLabel: 'Name',1560 isEditable: 'TRUE',1561 helpText: 'Name of the mosque',1562 },1563 {1564 section: 'muslim',1565 keyName: 'name:ne',1566 isVisibleOnPopup: 'TRUE',1567 keyLabel: 'नाम',1568 isEditable: 'TRUE',1569 helpText: 'नेपालीमा नाम',1570 },1571 {1572 section: 'muslim',1573 keyName: 'religion',1574 isVisibleOnPopup: 'TRUE',1575 keyLabel: 'Religion',1576 isEditable: 'TRUE',1577 helpText: '',1578 },1579 {1580 section: 'muslim',1581 keyName: 'opening_hours',1582 isVisibleOnPopup: 'TRUE',1583 keyLabel: 'Opening Hours',1584 isEditable: 'TRUE',1585 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1586 },1587 {1588 section: 'muslim',1589 keyName: 'phone',1590 isVisibleOnPopup: 'TRUE',1591 keyLabel: 'Phone Number',1592 isEditable: 'TRUE',1593 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1594 },1595 {1596 section: 'muslim',1597 keyName: 'email',1598 isVisibleOnPopup: 'TRUE',1599 keyLabel: 'Email Address',1600 isEditable: 'TRUE',1601 helpText: 'Email address of the facility that is intented for public use.',1602 },1603 {1604 section: 'muslim',1605 keyName: 'facility:drinking_water',1606 isVisibleOnPopup: 'TRUE',1607 keyLabel: 'Drinking Water',1608 isEditable: 'TRUE',1609 helpText: '',1610 },1611 {1612 section: 'muslim',1613 keyName: 'facility:toilet',1614 isVisibleOnPopup: 'TRUE',1615 keyLabel: 'Toilet',1616 isEditable: 'TRUE',1617 helpText: '',1618 },1619 {1620 section: 'atm',1621 keyName: 'amenity',1622 isVisibleOnPopup: 'FALSE',1623 keyLabel: '',1624 isEditable: 'FALSE',1625 helpText: '',1626 },1627 {1628 section: 'atm',1629 keyName: 'network',1630 isVisibleOnPopup: 'TRUE',1631 keyLabel: 'Network Supported',1632 isEditable: 'TRUE',1633 helpText: '',1634 },1635 {1636 section: 'atm',1637 keyName: 'opening_hours',1638 isVisibleOnPopup: 'TRUE',1639 keyLabel: 'Opening Hours',1640 isEditable: 'TRUE',1641 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1642 },1643 {1644 section: 'restaurant',1645 keyName: 'amenity',1646 isVisibleOnPopup: 'FALSE',1647 keyLabel: '',1648 isEditable: 'FALSE',1649 helpText: '',1650 },1651 {1652 section: 'restaurant',1653 keyName: 'name',1654 isVisibleOnPopup: 'TRUE',1655 keyLabel: 'Name',1656 isEditable: 'TRUE',1657 helpText: 'Name of the restaurant',1658 },1659 {1660 section: 'restaurant',1661 keyName: 'name:ne',1662 isVisibleOnPopup: 'TRUE',1663 keyLabel: 'नाम',1664 isEditable: 'TRUE',1665 helpText: 'नेपालीमा नाम',1666 },1667 {1668 section: 'museum',1669 keyName: 'tourism',1670 isVisibleOnPopup: 'FALSE',1671 keyLabel: '',1672 isEditable: 'FALSE',1673 helpText: '',1674 },1675 {1676 section: 'museum',1677 keyName: 'name',1678 isVisibleOnPopup: 'TRUE',1679 keyLabel: 'Name',1680 isEditable: 'TRUE',1681 helpText: 'Name of the museum',1682 },1683 {1684 section: 'museum',1685 keyName: 'name:ne',1686 isVisibleOnPopup: 'TRUE',1687 keyLabel: 'नाम',1688 isEditable: 'TRUE',1689 helpText: 'नेपालीमा नाम',1690 },1691 {1692 section: 'museum',1693 keyName: 'phone',1694 isVisibleOnPopup: 'TRUE',1695 keyLabel: 'Phone',1696 isEditable: 'TRUE',1697 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1698 },1699 {1700 section: 'museum',1701 keyName: 'email',1702 isVisibleOnPopup: 'TRUE',1703 keyLabel: 'Email Address',1704 isEditable: 'TRUE',1705 helpText: 'Email address of the facility that is intented for public use.',1706 },1707 {1708 section: 'museum',1709 keyName: 'opening_hours',1710 isVisibleOnPopup: 'TRUE',1711 keyLabel: 'Opening Hours',1712 isEditable: 'TRUE',1713 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1714 },1715 {1716 section: 'park',1717 keyName: 'tourism',1718 isVisibleOnPopup: 'FALSE',1719 keyLabel: '',1720 isEditable: 'FALSE',1721 helpText: '',1722 },1723 {1724 section: 'park',1725 keyName: 'name',1726 isVisibleOnPopup: 'TRUE',1727 keyLabel: 'Name',1728 isEditable: 'TRUE',1729 helpText: 'Name of the park',1730 },1731 {1732 section: 'park',1733 keyName: 'name:ne',1734 isVisibleOnPopup: 'TRUE',1735 keyLabel: 'नाम',1736 isEditable: 'TRUE',1737 helpText: 'नेपालीमा नाम',1738 },1739 {1740 section: 'park',1741 keyName: 'phone',1742 isVisibleOnPopup: 'TRUE',1743 keyLabel: 'Phone',1744 isEditable: 'TRUE',1745 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1746 },1747 {1748 section: 'park',1749 keyName: 'email',1750 isVisibleOnPopup: 'TRUE',1751 keyLabel: 'Email Address',1752 isEditable: 'TRUE',1753 helpText: 'Email address of the facility that is intented for public use.',1754 },1755 {1756 section: 'park',1757 keyName: 'opening_hours',1758 isVisibleOnPopup: 'TRUE',1759 keyLabel: 'Opening Hours',1760 isEditable: 'TRUE',1761 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1762 },1763 {1764 section: 'cooperative',1765 keyName: 'amenity',1766 isVisibleOnPopup: 'FALSE',1767 keyLabel: '',1768 isEditable: 'FALSE',1769 helpText: '',1770 },1771 {1772 section: 'cooperative',1773 keyName: 'name',1774 isVisibleOnPopup: 'TRUE',1775 keyLabel: 'Name',1776 isEditable: 'TRUE',1777 helpText: 'Name of the bank',1778 },1779 {1780 section: 'cooperative',1781 keyName: 'name:ne',1782 isVisibleOnPopup: 'TRUE',1783 keyLabel: 'नाम',1784 isEditable: 'TRUE',1785 helpText: 'नेपालीमा नाम',1786 },1787 {1788 section: 'cooperative',1789 keyName: 'phone',1790 isVisibleOnPopup: 'TRUE',1791 keyLabel: 'Phone',1792 isEditable: 'TRUE',1793 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1794 },1795 {1796 section: 'cooperative',1797 keyName: 'email',1798 isVisibleOnPopup: 'TRUE',1799 keyLabel: 'Email Address',1800 isEditable: 'TRUE',1801 helpText: 'Email address of the facility that is intented for public use.',1802 },1803 {1804 section: 'cooperative',1805 keyName: 'opening_hours',1806 isVisibleOnPopup: 'TRUE',1807 keyLabel: 'Opening Hours',1808 isEditable: 'TRUE',1809 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1810 },1811 {1812 section: 'cooperative',1813 keyName: 'operator:type',1814 isVisibleOnPopup: 'TRUE',1815 keyLabel: 'Operator Type',1816 isEditable: 'TRUE',1817 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1818 },1819 {1820 section: 'cooperative',1821 keyName: 'nrb_class',1822 isVisibleOnPopup: 'TRUE',1823 keyLabel: 'Bank Classfication',1824 isEditable: 'TRUE',1825 helpText: '',1826 },1827];1828export const tagMapper = {1829 public_hospitals: [1830 {1831 section: 'public_hospitals',1832 keyName: 'amenity',1833 isVisibleOnPopup: 'FALSE',1834 keyLabel: '-',1835 isEditable: 'FALSE',1836 helpText: '',1837 },1838 {1839 section: 'public_hospitals',1840 keyName: 'name',1841 isVisibleOnPopup: 'TRUE',1842 keyLabel: 'Name of the facility',1843 isEditable: 'TRUE',1844 helpText: 'Name of the facility',1845 },1846 {1847 section: 'public_hospitals',1848 keyName: 'name_hindi',1849 isVisibleOnPopup: 'TRUE',1850 keyLabel: 'नाम',1851 isEditable: 'TRUE',1852 helpText: 'हिंदी में नाम',1853 },1854 {1855 section: 'public_hospitals',1856 keyName: 'opening_hours',1857 isVisibleOnPopup: 'TRUE',1858 keyLabel: 'Opening Hours',1859 isEditable: 'TRUE',1860 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1861 },1862 {1863 section: 'public_hospitals',1864 keyName: 'personnel_count',1865 isVisibleOnPopup: 'TRUE',1866 keyLabel: 'Number of employees',1867 isEditable: 'TRUE',1868 helpText: 'Number of staff (full-time and part-time) working in this facility.',1869 },1870 {1871 section: 'public_hospitals',1872 keyName: 'opd',1873 isVisibleOnPopup: 'TRUE',1874 keyLabel: 'OPD',1875 isEditable: 'TRUE',1876 helpText: 'Is there Out Patient Department (OPD) in this facility or not?',1877 },1878 {1879 section: 'public_hospitals',1880 keyName: 'ipd',1881 isVisibleOnPopup: 'TRUE',1882 keyLabel: 'IPD',1883 isEditable: 'TRUE',1884 helpText: 'Is there In Patient Department (IPD) in this facility or not?',1885 },1886 {1887 section: 'public_hospitals',1888 keyName: 'radiology_labs',1889 isVisibleOnPopup: 'TRUE',1890 keyLabel: 'Radiology Labs',1891 isEditable: 'TRUE',1892 helpText: 'Is there radiology lab in the facility',1893 },1894 {1895 section: 'public_hospitals',1896 keyName: 'pathology_labs',1897 isVisibleOnPopup: 'TRUE',1898 keyLabel: 'Pathology Labs',1899 isEditable: 'TRUE',1900 helpText: 'Is there pathology lab in the facility?',1901 },1902 {1903 section: 'public_hospitals',1904 keyName: 'fixed_day',1905 isVisibleOnPopup: 'TRUE',1906 keyLabel: 'Fixed Day Service',1907 isEditable: 'TRUE',1908 helpText: 'Are sevices provided in this hospital are fixed day or not?',1909 },1910 {1911 section: 'public_hospitals',1912 keyName: 'delivery_service',1913 isVisibleOnPopup: 'TRUE',1914 keyLabel: 'Delivery Service',1915 isEditable: 'TRUE',1916 helpText: 'Is delivery service available in this facility?',1917 },1918 {1919 section: 'public_hospitals',1920 keyName: 'address',1921 isVisibleOnPopup: 'TRUE',1922 keyLabel: 'Address',1923 isEditable: 'TRUE',1924 helpText: 'Address of the facility.',1925 },1926 {1927 section: 'public_hospitals',1928 keyName: 'phonenumber',1929 isVisibleOnPopup: 'TRUE',1930 keyLabel: 'Phone number',1931 isEditable: 'TRUE',1932 helpText: 'Phone number of the facility',1933 },1934 {1935 section: 'public_hospitals',1936 keyName: 'mobile',1937 isVisibleOnPopup: 'TRUE',1938 keyLabel: 'Mobile number',1939 isEditable: 'TRUE',1940 helpText: 'Mobile number of the facility (if available)',1941 },1942 {1943 section: 'public_hospitals',1944 keyName: 'website',1945 isVisibleOnPopup: 'TRUE',1946 keyLabel: 'Website',1947 isEditable: 'TRUE',1948 helpText: 'Website of the facility',1949 },1950 {1951 section: 'public_hospitals',1952 keyName: 'type',1953 isVisibleOnPopup: 'TRUE',1954 keyLabel: 'Type of Hospital',1955 isEditable: 'TRUE',1956 helpText: 'What type of Public Hospital is it',1957 },1958 ],1959 private_hospitals: [1960 {1961 section: 'private_hospitals',1962 keyName: 'amenity',1963 isVisibleOnPopup: 'FALSE',1964 keyLabel: '-',1965 isEditable: 'FALSE',1966 helpText: '',1967 },1968 {1969 section: 'private_hospitals',1970 keyName: 'name',1971 isVisibleOnPopup: 'TRUE',1972 keyLabel: 'Name of the facility',1973 isEditable: 'TRUE',1974 helpText: 'Name of the facility',1975 },1976 {1977 section: 'private_hospitals',1978 keyName: 'name_hindi',1979 isVisibleOnPopup: 'TRUE',1980 keyLabel: 'नाम',1981 isEditable: 'TRUE',1982 helpText: 'हिंदी में नाम',1983 },1984 {1985 section: 'private_hospitals',1986 keyName: 'opening_hours',1987 isVisibleOnPopup: 'TRUE',1988 keyLabel: 'Opening Hours',1989 isEditable: 'TRUE',1990 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1991 },1992 // {1993 // section: 'private_hospitals',1994 // keyName: 'operator_type',1995 // isVisibleOnPopup: 'TRUE',1996 // keyLabel: 'Operator type',1997 // isEditable: 'TRUE',1998 // helpText: 'Is this facility operated by the government, private sector, community or other entities?',1999 // },2000 {2001 section: 'private_hospitals',2002 keyName: 'personnel_count',2003 isVisibleOnPopup: 'TRUE',2004 keyLabel: 'Number of employees',2005 isEditable: 'TRUE',2006 helpText: 'Number of staff (full-time and part-time) working in this facility.',2007 },2008 {2009 section: 'private_hospitals',2010 keyName: 'bed_count',2011 isVisibleOnPopup: 'TRUE',2012 keyLabel: 'Number of beds',2013 isEditable: 'TRUE',2014 helpText: 'Number of beds available in this facility.',2015 },2016 {2017 section: 'private_hospitals',2018 keyName: 'opd',2019 isVisibleOnPopup: 'TRUE',2020 keyLabel: 'OPD',2021 isEditable: 'TRUE',2022 helpText: '',2023 },2024 {2025 section: 'private_hospitals',2026 keyName: 'ipd',2027 isVisibleOnPopup: 'TRUE',2028 keyLabel: 'IPD',2029 isEditable: 'TRUE',2030 helpText: '',2031 },2032 {2033 section: 'private_hospitals',2034 keyName: 'radiology_labs',2035 isVisibleOnPopup: 'TRUE',2036 keyLabel: 'Radiology Labs',2037 isEditable: 'TRUE',2038 helpText: '',2039 },2040 {2041 section: 'private_hospitals',2042 keyName: 'lab_tests',2043 isVisibleOnPopup: 'TRUE',2044 keyLabel: 'Lab tests',2045 isEditable: 'TRUE',2046 helpText: '',2047 },2048 {2049 section: 'private_hospitals',2050 keyName: 'pathology_labs',2051 isVisibleOnPopup: 'TRUE',2052 keyLabel: 'Pathology Labs',2053 isEditable: 'TRUE',2054 helpText: '',2055 },2056 {2057 section: 'private_hospitals',2058 keyName: 'fixed_day',2059 isVisibleOnPopup: 'TRUE',2060 keyLabel: 'Fixed Day Service',2061 isEditable: 'TRUE',2062 helpText: '',2063 },2064 {2065 section: 'private_hospitals',2066 keyName: 'delivery_service',2067 isVisibleOnPopup: 'TRUE',2068 keyLabel: 'Delivery Service',2069 isEditable: 'TRUE',2070 helpText: '',2071 },2072 {2073 section: 'private_hospitals',2074 keyName: 'ventilator',2075 isVisibleOnPopup: 'TRUE',2076 keyLabel: 'Ventilator Service',2077 isEditable: 'TRUE',2078 helpText: '',2079 },2080 {2081 section: 'private_hospitals',2082 keyName: 'ambulance',2083 isVisibleOnPopup: 'TRUE',2084 keyLabel: 'Ambulance Service',2085 isEditable: 'TRUE',2086 helpText: '',2087 },2088 {2089 section: 'private_hospitals',2090 keyName: 'ot',2091 isVisibleOnPopup: 'TRUE',2092 keyLabel: 'Operating Theater',2093 isEditable: 'TRUE',2094 helpText: '',2095 },2096 {2097 section: 'private_hospitals',2098 keyName: 'blood_bank',2099 isVisibleOnPopup: 'TRUE',2100 keyLabel: 'Blood bank',2101 isEditable: 'TRUE',2102 helpText: '',2103 },2104 {2105 section: 'private_hospitals',2106 keyName: 'address',2107 isVisibleOnPopup: 'TRUE',2108 keyLabel: 'Address',2109 isEditable: 'TRUE',2110 helpText: 'Address of the facility.',2111 },2112 {2113 section: 'private_hospitals',2114 keyName: 'phonenumber',2115 isVisibleOnPopup: 'TRUE',2116 keyLabel: 'Phone number',2117 isEditable: 'TRUE',2118 helpText: 'Phone number of the facility',2119 },2120 {2121 section: 'private_hospitals',2122 keyName: 'mobile',2123 isVisibleOnPopup: 'TRUE',2124 keyLabel: 'Mobile number',2125 isEditable: 'TRUE',2126 helpText: 'Mobile number of the facility (if available)',2127 },2128 ],2129 public_clinics: [2130 {2131 section: 'public_clinics',2132 keyName: 'amenity',2133 isVisibleOnPopup: 'FALSE',2134 keyLabel: '-',2135 isEditable: 'FALSE',2136 helpText: '',2137 },2138 {2139 section: 'public_clinics',2140 keyName: 'name',2141 isVisibleOnPopup: 'TRUE',2142 keyLabel: 'Name of the facility',2143 isEditable: 'TRUE',2144 helpText: 'Name of the facility',2145 },2146 {2147 section: 'public_clinics',2148 keyName: 'name_hindi',2149 isVisibleOnPopup: 'TRUE',2150 keyLabel: 'नाम',2151 isEditable: 'TRUE',2152 helpText: 'हिंदी में नाम',2153 },2154 {2155 section: 'public_clinics',2156 keyName: 'opening_hours',2157 isVisibleOnPopup: 'TRUE',2158 keyLabel: 'Opening Hours',2159 isEditable: 'TRUE',2160 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2161 },2162 {2163 section: 'public_clinics',2164 keyName: 'personnel_count',2165 isVisibleOnPopup: 'TRUE',2166 keyLabel: 'Number of employees',2167 isEditable: 'TRUE',2168 helpText: 'Number of staff (full-time and part-time) working in this facility.',2169 },2170 {2171 section: 'public_clinics',2172 keyName: 'address',2173 isVisibleOnPopup: 'TRUE',2174 keyLabel: 'Address',2175 isEditable: 'TRUE',2176 helpText: 'Address of the facility.',2177 },2178 {2179 section: 'public_clinics',2180 keyName: 'phonenumber',2181 isVisibleOnPopup: 'TRUE',2182 keyLabel: 'Phone number',2183 isEditable: 'TRUE',2184 helpText: 'Phone number of the facility',2185 },2186 {2187 section: 'public_clinics',2188 keyName: 'mobile',2189 isVisibleOnPopup: 'TRUE',2190 keyLabel: 'Mobile number',2191 isEditable: 'TRUE',2192 helpText: 'Mobile number of the facility (if available)',2193 },2194 {2195 section: 'public_clinics',2196 keyName: 'website',2197 isVisibleOnPopup: 'TRUE',2198 keyLabel: 'Website',2199 isEditable: 'TRUE',2200 helpText: 'Website of the facility',2201 },2202 {2203 section: 'public_clinics',2204 keyName: 'email',2205 isVisibleOnPopup: 'TRUE',2206 keyLabel: 'Email',2207 isEditable: 'TRUE',2208 helpText: 'Email of the facility',2209 },2210 {2211 section: 'public_clinics',2212 keyName: 'facilities',2213 isVisibleOnPopup: 'TRUE',2214 keyLabel: 'Facilities',2215 isEditable: 'TRUE',2216 helpText: 'Facilities available in the facility',2217 },2218 {2219 section: 'public_clinics',2220 keyName: 'other_facilities',2221 isVisibleOnPopup: 'TRUE',2222 keyLabel: 'Other facilities',2223 isEditable: 'TRUE',2224 helpText: 'Secondary facilities available in the facility',2225 },2226 ],2227 patho_radio_labs: [2228 {2229 section: 'patho_radio_labs',2230 keyName: 'amenity',2231 isVisibleOnPopup: 'FALSE',2232 keyLabel: '-',2233 isEditable: 'FALSE',2234 helpText: '',2235 },2236 {2237 section: 'patho_radio_labs',2238 keyName: 'name',2239 isVisibleOnPopup: 'TRUE',2240 keyLabel: 'Name of the facility',2241 isEditable: 'TRUE',2242 helpText: 'Name of the facility',2243 },2244 {2245 section: 'patho_radio_labs',2246 keyName: 'name_hindi',2247 isVisibleOnPopup: 'TRUE',2248 keyLabel: 'नाम',2249 isEditable: 'TRUE',2250 helpText: 'हिंदी में नाम',2251 },2252 {2253 section: 'patho_radio_labs',2254 keyName: 'opening_hours',2255 isVisibleOnPopup: 'TRUE',2256 keyLabel: 'Opening Hours',2257 isEditable: 'TRUE',2258 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2259 },2260 {2261 section: 'patho_radio_labs',2262 keyName: 'phonenumber',2263 isVisibleOnPopup: 'TRUE',2264 keyLabel: 'Phone number',2265 isEditable: 'TRUE',2266 helpText: 'Phone number of the facility',2267 },2268 {2269 section: 'patho_radio_labs',2270 keyName: 'mobile',2271 isVisibleOnPopup: 'TRUE',2272 keyLabel: 'Mobile number',2273 isEditable: 'TRUE',2274 helpText: 'Mobile number of the facility (if available)',2275 },2276 ],2277 private_clinics: [2278 {2279 section: 'private_clinics',2280 keyName: 'amenity',2281 isVisibleOnPopup: 'FALSE',2282 keyLabel: '-',2283 isEditable: 'FALSE',2284 helpText: '',2285 },2286 {2287 section: 'private_clinics',2288 keyName: 'name',2289 isVisibleOnPopup: 'TRUE',2290 keyLabel: 'Name of the facility',2291 isEditable: 'TRUE',2292 helpText: 'Name of the facility',2293 },2294 {2295 section: 'private_clinics',2296 keyName: 'name_hindi',2297 isVisibleOnPopup: 'TRUE',2298 keyLabel: 'नाम',2299 isEditable: 'TRUE',2300 helpText: 'हिंदी में नाम',2301 },2302 {2303 section: 'private_clinics',2304 keyName: 'opening_hours',2305 isVisibleOnPopup: 'TRUE',2306 keyLabel: 'Opening Hours',2307 isEditable: 'TRUE',2308 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2309 },2310 {2311 section: 'private_clinics',2312 keyName: 'operator',2313 isVisibleOnPopup: 'TRUE',2314 keyLabel: 'Operated by',2315 isEditable: 'TRUE',2316 helpText: 'Who operates this facility?',2317 },2318 {2319 section: 'private_clinics',2320 keyName: 'personnel_count',2321 isVisibleOnPopup: 'TRUE',2322 keyLabel: 'Number of employees',2323 isEditable: 'TRUE',2324 helpText: 'Number of staff (full-time and part-time) working in this facility.',2325 },2326 {2327 section: 'private_clinics',2328 keyName: 'address',2329 isVisibleOnPopup: 'TRUE',2330 keyLabel: 'Address',2331 isEditable: 'TRUE',2332 helpText: 'Address of the facility.',2333 },2334 {2335 section: 'private_clinics',2336 keyName: 'phonenumber',2337 isVisibleOnPopup: 'TRUE',2338 keyLabel: 'Phone number',2339 isEditable: 'TRUE',2340 helpText: 'Phone number of the facility',2341 },2342 {2343 section: 'private_clinics',2344 keyName: 'mobile',2345 isVisibleOnPopup: 'TRUE',2346 keyLabel: 'Mobile number',2347 isEditable: 'TRUE',2348 helpText: 'Mobile number of the facility (if available)',2349 },2350 {2351 section: 'private_clinics',2352 keyName: 'website',2353 isVisibleOnPopup: 'TRUE',2354 keyLabel: 'Website',2355 isEditable: 'TRUE',2356 helpText: 'Website of the facility',2357 },2358 {2359 section: 'private_clinics',2360 keyName: 'email',2361 isVisibleOnPopup: 'TRUE',2362 keyLabel: 'Email',2363 isEditable: 'TRUE',2364 helpText: 'Email address of the facility',2365 },2366 {2367 section: 'private_clinics',2368 keyName: 'facilities',2369 isVisibleOnPopup: 'TRUE',2370 keyLabel: 'Facilities',2371 isEditable: 'TRUE',2372 helpText: 'Facilities available in the facility',2373 },2374 ],2375 dentists: [2376 {2377 section: 'dentists',2378 keyName: 'amenity',2379 isVisibleOnPopup: 'FALSE',2380 keyLabel: '-',2381 isEditable: 'FALSE',2382 helpText: '',2383 },2384 {2385 section: 'dentists',2386 keyName: 'name',2387 isVisibleOnPopup: 'TRUE',2388 keyLabel: 'Name of the facility',2389 isEditable: 'TRUE',2390 helpText: 'Name of the facility',2391 },2392 {2393 section: 'dentists',2394 keyName: 'name_hindi',2395 isVisibleOnPopup: 'TRUE',2396 keyLabel: 'नाम',2397 isEditable: 'TRUE',2398 helpText: 'हिंदी में नाम',2399 },2400 {2401 section: 'dentists',2402 keyName: 'opening_hours',2403 isVisibleOnPopup: 'TRUE',2404 keyLabel: 'Opening Hours',2405 isEditable: 'TRUE',2406 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2407 }, {2408 section: 'dentists',2409 keyName: 'operator',2410 isVisibleOnPopup: 'TRUE',2411 keyLabel: 'Operator type',2412 isEditable: 'TRUE',2413 helpText: 'Is this facility operated by the government, private sector, community or other entities?',2414 },2415 {2416 section: 'dentists',2417 keyName: 'personnel_count',2418 isVisibleOnPopup: 'TRUE',2419 keyLabel: 'Number of employees',2420 isEditable: 'TRUE',2421 helpText: 'Number of staff (full-time and part-time) working in this facility.',2422 },2423 {2424 section: 'dentists',2425 keyName: 'phonenumber',2426 isVisibleOnPopup: 'TRUE',2427 keyLabel: 'Phone number',2428 isEditable: 'TRUE',2429 helpText: 'Phone number of the facility',2430 },2431 {2432 section: 'dentists',2433 keyName: 'mobile',2434 isVisibleOnPopup: 'TRUE',2435 keyLabel: 'Mobile number',2436 isEditable: 'TRUE',2437 helpText: 'Mobile number of the facility (if available)',2438 },2439 {2440 section: 'dentists',2441 keyName: 'website',2442 isVisibleOnPopup: 'TRUE',2443 keyLabel: 'Website',2444 isEditable: 'TRUE',2445 helpText: 'Website of the facility',2446 },2447 {2448 section: 'dentists',2449 keyName: 'email',2450 isVisibleOnPopup: 'TRUE',2451 keyLabel: 'Email',2452 isEditable: 'TRUE',2453 helpText: 'Email address of the facility',2454 },2455 {2456 section: 'dentists',2457 keyName: 'rate_list',2458 isVisibleOnPopup: 'TRUE',2459 keyLabel: 'Availibility of rate list',2460 isEditable: 'TRUE',2461 helpText: 'IS rate list for facilities avaiable in the facility',2462 },2463 ],2464 veterinaries: [2465 {2466 section: 'veterinaries',2467 keyName: 'amenity',2468 isVisibleOnPopup: 'FALSE',2469 keyLabel: '-',2470 isEditable: 'FALSE',2471 helpText: '',2472 },2473 {2474 section: 'veterinaries',2475 keyName: 'name',2476 isVisibleOnPopup: 'TRUE',2477 keyLabel: 'Name of the facility',2478 isEditable: 'TRUE',2479 helpText: 'Name of the facility',2480 },2481 {2482 section: 'veterinaries',2483 keyName: 'name_hindi',2484 isVisibleOnPopup: 'TRUE',2485 keyLabel: 'नाम',2486 isEditable: 'TRUE',2487 helpText: 'हिंदी में नाम',2488 },2489 {2490 section: 'veterinaries',2491 keyName: 'opening_hours',2492 isVisibleOnPopup: 'TRUE',2493 keyLabel: 'Opening Hours',2494 isEditable: 'TRUE',2495 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2496 },2497 {2498 section: 'veterinaries',2499 keyName: 'address',2500 isVisibleOnPopup: 'TRUE',2501 keyLabel: 'Address',2502 isEditable: 'TRUE',2503 helpText: 'Address of the facility.',2504 },2505 {2506 section: 'veterinaries',2507 keyName: 'mobile',2508 isVisibleOnPopup: 'TRUE',2509 keyLabel: 'Mobile number',2510 isEditable: 'TRUE',2511 helpText: 'Mobile number of the facility',2512 },2513 ],2514 anganwadi: [2515 {2516 section: 'anganwadi',2517 keyName: 'amenity',2518 isVisibleOnPopup: 'FALSE',2519 keyLabel: '-',2520 isEditable: 'FALSE',2521 helpText: '',2522 },2523 {2524 section: 'anganwadi',2525 keyName: 'name',2526 isVisibleOnPopup: 'TRUE',2527 keyLabel: 'Name of the facility',2528 isEditable: 'TRUE',2529 helpText: 'Name of the facility',2530 },2531 {2532 section: 'anganwadi',2533 keyName: 'name_hindi',2534 isVisibleOnPopup: 'TRUE',2535 keyLabel: 'नाम',2536 isEditable: 'TRUE',2537 helpText: 'हिंदी में नाम',2538 },2539 {2540 section: 'anganwadi',2541 keyName: 'opening_hours',2542 isVisibleOnPopup: 'TRUE',2543 keyLabel: 'Opening Hours',2544 isEditable: 'TRUE',2545 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2546 },2547 {2548 section: 'anganwadi',2549 keyName: 'address',2550 isVisibleOnPopup: 'TRUE',2551 keyLabel: 'Address',2552 isEditable: 'TRUE',2553 helpText: 'Address of the facility.',2554 },2555 {2556 section: 'anganwadi',2557 keyName: 'mobile',2558 isVisibleOnPopup: 'TRUE',2559 keyLabel: 'Mobile number',2560 isEditable: 'TRUE',2561 helpText: 'Mobile number of the facility',2562 },2563 {2564 section: 'anganwadi',2565 keyName: 'personnel_count',2566 isVisibleOnPopup: 'TRUE',2567 keyLabel: 'Number of employees',2568 isEditable: 'TRUE',2569 helpText: 'Number of staff (full-time and part-time) working in this facility.',2570 },2571 ],2572 pharmacies: [2573 {2574 section: 'pharmacies',2575 keyName: 'amenity',2576 isVisibleOnPopup: 'FALSE',2577 keyLabel: '-',2578 isEditable: 'FALSE',2579 helpText: '',2580 },2581 {2582 section: 'pharmacies',2583 keyName: 'name',2584 isVisibleOnPopup: 'TRUE',2585 keyLabel: 'Name of the facility',2586 isEditable: 'TRUE',2587 helpText: 'Name of the facility',2588 },2589 {2590 section: 'pharmacies',2591 keyName: 'name_hindi',2592 isVisibleOnPopup: 'TRUE',2593 keyLabel: 'नाम',2594 isEditable: 'TRUE',2595 helpText: 'हिंदी में नाम',2596 },2597 {2598 section: 'pharmacies',2599 keyName: 'phone',2600 isVisibleOnPopup: 'TRUE',2601 keyLabel: 'Phone number',2602 isEditable: 'TRUE',2603 helpText: 'Phone number of the facility',2604 }, {2605 section: 'pharmacies',2606 keyName: 'email',2607 isVisibleOnPopup: 'TRUE',2608 keyLabel: 'Email',2609 isEditable: 'TRUE',2610 helpText: 'Email address of the facility.',2611 },2612 {2613 section: 'pharmacies',2614 keyName: 'mobile',2615 isVisibleOnPopup: 'TRUE',2616 keyLabel: 'Mobile number',2617 isEditable: 'TRUE',2618 helpText: 'Mobile number of the facility',2619 },2620 {2621 section: 'pharmacies',2622 keyName: 'opening_hours',2623 isVisibleOnPopup: 'TRUE',2624 keyLabel: 'Opening Hours',2625 isEditable: 'TRUE',2626 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2627 },2628 {2629 section: 'pharmacies',2630 keyName: 'address',2631 isVisibleOnPopup: 'TRUE',2632 keyLabel: 'Address',2633 isEditable: 'TRUE',2634 helpText: 'Address of the facility.',2635 },2636 ],2637 atms: [2638 {2639 section: 'atms',2640 keyName: 'amenity',2641 isVisibleOnPopup: 'FALSE',2642 keyLabel: '-',2643 isEditable: 'FALSE',2644 helpText: '',2645 },2646 {2647 section: 'atms',2648 keyName: 'name',2649 isVisibleOnPopup: 'TRUE',2650 keyLabel: 'Name of the facility',2651 isEditable: 'TRUE',2652 helpText: 'Name of the facility',2653 },2654 {2655 section: 'atms',2656 keyName: 'name_hindi',2657 isVisibleOnPopup: 'TRUE',2658 keyLabel: 'नाम',2659 isEditable: 'TRUE',2660 helpText: 'हिंदी में नाम',2661 },2662 {2663 section: 'atms',2664 keyName: 'opening_hours',2665 isVisibleOnPopup: 'TRUE',2666 keyLabel: 'Opening Hours',2667 isEditable: 'TRUE',2668 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2669 },2670 {2671 section: 'atms',2672 keyName: 'number_of_machines',2673 isVisibleOnPopup: 'TRUE',2674 keyLabel: 'Number of machines',2675 isEditable: 'TRUE',2676 helpText: 'What are the number of machines within this ATM facility?.',2677 },2678 {2679 section: 'atms',2680 keyName: 'atm_guard',2681 isVisibleOnPopup: 'TRUE',2682 keyLabel: 'ATM Guard',2683 isEditable: 'TRUE',2684 helpText: 'Does this ATM have a security personnel assigned?',2685 },2686 {2687 section: 'atms',2688 keyName: 'cash_in_support',2689 isVisibleOnPopup: 'TRUE',2690 keyLabel: 'Cash in support?',2691 isEditable: 'TRUE',2692 helpText: 'Does this ATM provide a cash-in (depost) facility?',2693 },2694 {2695 section: 'atms',2696 keyName: 'withdraw_limit',2697 isVisibleOnPopup: 'TRUE',2698 keyLabel: 'Withdraw limit',2699 isEditable: 'TRUE',2700 helpText: 'What is the one time wihdrawal liit for this ATM?',2701 },2702 {2703 section: 'atms',2704 keyName: 'phone',2705 isVisibleOnPopup: 'TRUE',2706 keyLabel: 'Phone number',2707 isEditable: 'TRUE',2708 helpText: 'Phone number of the facility',2709 }, {2710 section: 'atms',2711 keyName: 'email',2712 isVisibleOnPopup: 'TRUE',2713 keyLabel: 'Email',2714 isEditable: 'TRUE',2715 helpText: 'Email address of the facility.',2716 },2717 {2718 section: 'atms',2719 keyName: 'mobile',2720 isVisibleOnPopup: 'TRUE',2721 keyLabel: 'Mobile number',2722 isEditable: 'TRUE',2723 helpText: 'Mobile number of the facility',2724 },2725 ],2726 public_washrooms: [2727 {2728 section: 'public_washrooms',2729 keyName: 'amenity',2730 isVisibleOnPopup: 'FALSE',2731 keyLabel: '-',2732 isEditable: 'FALSE',2733 helpText: '',2734 },2735 {2736 section: 'public_washrooms',2737 keyName: 'name',2738 isVisibleOnPopup: 'TRUE',2739 keyLabel: 'Name of the facility',2740 isEditable: 'TRUE',2741 helpText: 'Name of the facility',2742 },2743 {2744 section: 'public_washrooms',2745 keyName: 'name_hindi',2746 isVisibleOnPopup: 'TRUE',2747 keyLabel: 'नाम',2748 isEditable: 'TRUE',2749 helpText: 'हिंदी में नाम',2750 },2751 {2752 section: 'public_washrooms',2753 keyName: 'paid',2754 isVisibleOnPopup: 'TRUE',2755 keyLabel: 'Paid?',2756 isEditable: 'TRUE',2757 helpText: 'Does one have to pay a certain fee to use this facility?',2758 },2759 {2760 section: 'public_washrooms',2761 keyName: 'staff_onsite',2762 isVisibleOnPopup: 'TRUE',2763 keyLabel: 'Staff onsite?',2764 isEditable: 'TRUE',2765 helpText: 'Is there staff on site?',2766 },2767 {2768 section: 'public_washrooms',2769 keyName: 'cleanliness_schedule',2770 isVisibleOnPopup: 'TRUE',2771 keyLabel: 'Cleanliness schedule',2772 isEditable: 'TRUE',2773 helpText: 'How often does this facility get cleaned?',2774 },2775 {2776 section: 'public_washrooms',2777 keyName: 'seperate_washroom',2778 isVisibleOnPopup: 'TRUE',2779 keyLabel: 'Gender segregated?',2780 isEditable: 'TRUE',2781 helpText: 'Are there separete facilities for men and women?',2782 },2783 {2784 section: 'public_washrooms',2785 keyName: 'construction_material',2786 isVisibleOnPopup: 'TRUE',2787 keyLabel: 'Construction material',2788 isEditable: 'TRUE',2789 helpText: 'What is the construction material used?',2790 },2791 {2792 section: 'public_washrooms',2793 keyName: 'water_supply',2794 isVisibleOnPopup: 'TRUE',2795 keyLabel: 'Water supply',2796 isEditable: 'TRUE',2797 helpText: 'How is the water supply (yes=24 hr, no=not available, irregular)?',2798 },2799 {2800 section: 'public_washrooms',2801 keyName: 'opening_hours',2802 isVisibleOnPopup: 'TRUE',2803 keyLabel: 'Opening Hours',2804 isEditable: 'TRUE',2805 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2806 },2807 {2808 section: 'public_washrooms',2809 keyName: 'address',2810 isVisibleOnPopup: 'TRUE',2811 keyLabel: 'Address',2812 isEditable: 'TRUE',2813 helpText: 'Address of the facility.',2814 },2815 ],2816 public_waste_bins: [2817 {2818 section: 'public_washrooms',2819 keyName: 'name',2820 isVisibleOnPopup: 'TRUE',2821 keyLabel: 'Name of the facility',2822 isEditable: 'TRUE',2823 helpText: 'Name of the facility',2824 },2825 {2826 section: 'public_waste_bins',2827 keyName: 'dustbins',2828 isVisibleOnPopup: 'FALSE',2829 keyLabel: 'Is this a waste basket or a recycling basket?',2830 isEditable: 'FALSE',2831 helpText: 'Is this a waste basket or a recycling basket?',2832 },2833 ],2834 fuel_stations: [2835 {2836 section: 'fuel_stations',2837 keyName: 'amenity',2838 isVisibleOnPopup: 'FALSE',2839 keyLabel: '-',2840 isEditable: 'FALSE',2841 helpText: '',2842 },2843 {2844 section: 'fuel_stations',2845 keyName: 'name',2846 isVisibleOnPopup: 'TRUE',2847 keyLabel: 'Name of the facility',2848 isEditable: 'TRUE',2849 helpText: 'Name of the facility',2850 },2851 {2852 section: 'fuel_stations',2853 keyName: 'name_hindi',2854 isVisibleOnPopup: 'TRUE',2855 keyLabel: 'नाम',2856 isEditable: 'TRUE',2857 helpText: 'हिंदी में नाम',2858 },2859 {2860 section: 'fuel_stations',2861 keyName: 'fuel_operator',2862 isVisibleOnPopup: 'TRUE',2863 keyLabel: 'Fuel Operator',2864 isEditable: 'TRUE',2865 helpText: 'Who operates this station?',2866 },2867 {2868 section: 'fuel_stations',2869 keyName: 'petrol',2870 isVisibleOnPopup: 'TRUE',2871 keyLabel: 'Is petrol available?',2872 isEditable: 'TRUE',2873 helpText: 'Is petrol available?',2874 },2875 {2876 section: 'fuel_stations',2877 keyName: 'diesel',2878 isVisibleOnPopup: 'TRUE',2879 keyLabel: 'Is diesel available?',2880 isEditable: 'TRUE',2881 helpText: 'Is diesel available?',2882 },2883 {2884 section: 'fuel_stations',2885 keyName: 'air_filling',2886 isVisibleOnPopup: 'TRUE',2887 keyLabel: 'Is air filling available?',2888 isEditable: 'TRUE',2889 helpText: 'Is air filling available?',2890 },2891 {2892 section: 'fuel_stations',2893 keyName: 'nitrogen_filling',2894 isVisibleOnPopup: 'TRUE',2895 keyLabel: 'Is nitrogen filling available?',2896 isEditable: 'TRUE',2897 helpText: 'Is nitrogen filling available?',2898 },2899 {2900 section: 'fuel_stations',2901 keyName: 'cng_gas',2902 isVisibleOnPopup: 'TRUE',2903 keyLabel: 'Is CNG Gas available?',2904 isEditable: 'TRUE',2905 helpText: 'Is CNG Gas available?',2906 },2907 {2908 section: 'fuel_stations',2909 keyName: 'mechanic',2910 isVisibleOnPopup: 'TRUE',2911 keyLabel: 'Is mechanic available?',2912 isEditable: 'TRUE',2913 helpText: 'Is mechanic available?',2914 },2915 {2916 section: 'fuel_stations',2917 keyName: 'fuel_station_staff',2918 isVisibleOnPopup: 'TRUE',2919 keyLabel: 'Number of staff members?',2920 isEditable: 'TRUE',2921 helpText: 'Number of staff members?',2922 },2923 {2924 section: 'fuel_stations',2925 keyName: 'opening_hours',2926 isVisibleOnPopup: 'TRUE',2927 keyLabel: 'Opening Hours',2928 isEditable: 'TRUE',2929 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',2930 },2931 {2932 section: 'fuel_stations',2933 keyName: 'address',2934 isVisibleOnPopup: 'TRUE',2935 keyLabel: 'Address',2936 isEditable: 'TRUE',2937 helpText: 'Address of the facility.',2938 },2939 {2940 section: 'fuel_stations',2941 keyName: 'email',2942 isVisibleOnPopup: 'TRUE',2943 keyLabel: 'Email',2944 isEditable: 'TRUE',2945 helpText: 'Email address of the facility.',2946 },2947 {2948 section: 'fuel_stations',2949 keyName: 'mobile',2950 isVisibleOnPopup: 'TRUE',2951 keyLabel: 'Mobile number',2952 isEditable: 'TRUE',2953 helpText: 'Mobile number of the facility',2954 },2955 {2956 section: 'fuel_stations',2957 keyName: 'phone',2958 isVisibleOnPopup: 'TRUE',2959 keyLabel: 'Phone number',2960 isEditable: 'TRUE',2961 helpText: 'Phone number of the facility',2962 },2963 ],2964 public_schools: [2965 {2966 section: 'public_schools',2967 keyName: 'amenity',2968 isVisibleOnPopup: 'FALSE',2969 keyLabel: '-',2970 isEditable: 'FALSE',2971 helpText: '',2972 },2973 {2974 section: 'public_schools',2975 keyName: 'name',2976 isVisibleOnPopup: 'TRUE',2977 keyLabel: 'Name of the facility',2978 isEditable: 'TRUE',2979 helpText: 'Name of the facility',2980 },2981 {2982 section: 'public_schools',2983 keyName: 'name_hindi',2984 isVisibleOnPopup: 'TRUE',2985 keyLabel: 'नाम',2986 isEditable: 'TRUE',2987 helpText: 'हिंदी में नाम',2988 },2989 {2990 section: 'public_schools',2991 keyName: 'student_count',2992 isVisibleOnPopup: 'TRUE',2993 keyLabel: 'Number of students',2994 isEditable: 'TRUE',2995 helpText: 'Number of students at last count enrolled in this school.',2996 },2997 {2998 section: 'public_schools',2999 keyName: 'personnel_count',3000 isVisibleOnPopup: 'TRUE',3001 keyLabel: 'Number of employees',3002 isEditable: 'TRUE',3003 helpText: 'Number of staff (full-time and part-time) working in this school.',3004 },3005 {3006 section: 'public_schools',3007 keyName: 'isced_level',3008 isVisibleOnPopup: 'TRUE',3009 keyLabel: 'International Standard Scale',3010 isEditable: 'TRUE',3011 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary, 1 = till grade 5, 2 = till grade 8, 3 = till grade 10, 4 = till grade 12',3012 },3013 {3014 section: 'public_schools',3015 keyName: 'toiltes_separate_for_boys_girls',3016 isVisibleOnPopup: 'TRUE',3017 keyLabel: 'Gender segregated?',3018 isEditable: 'TRUE',3019 helpText: 'Are there separete facilities for men and women?',3020 },3021 {3022 section: 'public_schools',3023 keyName: 'computer_labs',3024 isVisibleOnPopup: 'TRUE',3025 keyLabel: 'Are computer labs available?',3026 isEditable: 'TRUE',3027 helpText: 'Are computer labs available?',3028 },3029 {3030 section: 'public_schools',3031 keyName: 'playground',3032 isVisibleOnPopup: 'TRUE',3033 keyLabel: 'Is playground available?',3034 isEditable: 'TRUE',3035 helpText: 'Is playground available?',3036 },3037 {3038 section: 'public_schools',3039 keyName: 'library',3040 isVisibleOnPopup: 'TRUE',3041 keyLabel: 'Is library available?',3042 isEditable: 'TRUE',3043 helpText: 'Is library available?',3044 },3045 {3046 section: 'public_schools',3047 keyName: 'science_labs',3048 isVisibleOnPopup: 'TRUE',3049 keyLabel: 'Are science labs available?',3050 isEditable: 'TRUE',3051 helpText: 'Are science labs available?',3052 },3053 {3054 section: 'public_schools',3055 keyName: 'doctor_on_call',3056 isVisibleOnPopup: 'TRUE',3057 keyLabel: 'Is doctor available on call?',3058 isEditable: 'TRUE',3059 helpText: 'Is doctor available on call?',3060 },3061 {3062 section: 'public_schools',3063 keyName: 'clinic',3064 isVisibleOnPopup: 'TRUE',3065 keyLabel: 'Is clinic available?',3066 isEditable: 'TRUE',3067 helpText: 'Is clinic available?',3068 },3069 {3070 section: 'public_schools',3071 keyName: 'opening_hours',3072 isVisibleOnPopup: 'TRUE',3073 keyLabel: 'Opening Hours',3074 isEditable: 'TRUE',3075 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',3076 },3077 {3078 section: 'public_schools',3079 keyName: 'address',3080 isVisibleOnPopup: 'TRUE',3081 keyLabel: 'Address',3082 isEditable: 'TRUE',3083 helpText: 'Address of the facility.',3084 },3085 ],3086 private_schools: [3087 {3088 section: 'private_schools',3089 keyName: 'amenity',3090 isVisibleOnPopup: 'FALSE',3091 keyLabel: '-',3092 isEditable: 'FALSE',3093 helpText: '',3094 },3095 {3096 section: 'private_schools',3097 keyName: 'name',3098 isVisibleOnPopup: 'TRUE',3099 keyLabel: 'Name of the facility',3100 isEditable: 'TRUE',3101 helpText: 'Name of the facility',3102 },3103 {3104 section: 'private_schools',3105 keyName: 'name_hindi',3106 isVisibleOnPopup: 'TRUE',3107 keyLabel: 'नाम',3108 isEditable: 'TRUE',3109 helpText: 'हिंदी में नाम',3110 },3111 {3112 section: 'private_schools',3113 keyName: 'student_count',3114 isVisibleOnPopup: 'TRUE',3115 keyLabel: 'Number of students',3116 isEditable: 'TRUE',3117 helpText: 'Number of students at last count enrolled in this school.',3118 },3119 {3120 section: 'private_schools',3121 keyName: 'affiliation',3122 isVisibleOnPopup: 'TRUE',3123 keyLabel: 'Affiliation',3124 isEditable: 'TRUE',3125 helpText: 'Affiliation',3126 },3127 {3128 section: 'private_schools',3129 keyName: 'affiliation_number',3130 isVisibleOnPopup: 'TRUE',3131 keyLabel: 'Affiliation number',3132 isEditable: 'TRUE',3133 helpText: 'Affiliations number (if any)',3134 },3135 {3136 section: 'private_schools',3137 keyName: 'annual_average_fee',3138 isVisibleOnPopup: 'TRUE',3139 keyLabel: 'Annual average fee',3140 isEditable: 'TRUE',3141 helpText: 'Annual average fee',3142 },3143 {3144 section: 'private_schools',3145 keyName: 'isced_level',3146 isVisibleOnPopup: 'TRUE',3147 keyLabel: 'International Standard Scale',3148 isEditable: 'TRUE',3149 helpText: 'An international scale of 0-6, which is used to define the level of education. 0 = pre-primary, 1 = till grade 5, 2 = till grade 8, 3 = till grade 10, 4 = till grade 12',3150 },3151 {3152 section: 'private_schools',3153 keyName: 'computer_labs',3154 isVisibleOnPopup: 'TRUE',3155 keyLabel: 'Are computer labs available?',3156 isEditable: 'TRUE',3157 helpText: 'Are computer labs available?',3158 },3159 {3160 section: 'private_schools',3161 keyName: 'playground',3162 isVisibleOnPopup: 'TRUE',3163 keyLabel: 'Is playground available?',3164 isEditable: 'TRUE',3165 helpText: 'Is playground available?',3166 },3167 {3168 section: 'private_schools',3169 keyName: 'library',3170 isVisibleOnPopup: 'TRUE',3171 keyLabel: 'Is library available?',3172 isEditable: 'TRUE',3173 helpText: 'Is library available?',3174 },3175 {3176 section: 'private_schools',3177 keyName: 'science_labs',3178 isVisibleOnPopup: 'TRUE',3179 keyLabel: 'Are science labs available?',3180 isEditable: 'TRUE',3181 helpText: 'Are science labs available?',3182 },3183 {3184 section: 'private_schools',3185 keyName: 'doctor_on_call',3186 isVisibleOnPopup: 'TRUE',3187 keyLabel: 'Is doctor available on call?',3188 isEditable: 'TRUE',3189 helpText: 'Is doctor available on call?',3190 },3191 {3192 section: 'private_schools',3193 keyName: 'clinic',3194 isVisibleOnPopup: 'TRUE',3195 keyLabel: 'Is clinic available?',3196 isEditable: 'TRUE',3197 helpText: 'Is clinic available?',3198 },3199 {3200 section: 'private_schools',3201 keyName: 'opening_hours',3202 isVisibleOnPopup: 'TRUE',3203 keyLabel: 'Opening Hours',3204 isEditable: 'TRUE',3205 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',3206 },3207 {3208 section: 'private_schools',3209 keyName: 'address',3210 isVisibleOnPopup: 'TRUE',3211 keyLabel: 'Address',3212 isEditable: 'TRUE',3213 helpText: 'Address of the facility.',3214 },3215 {3216 section: 'private_schools',3217 keyName: 'email',3218 isVisibleOnPopup: 'TRUE',3219 keyLabel: 'Email',3220 isEditable: 'TRUE',3221 helpText: 'Email address of the facility.',3222 },3223 {3224 section: 'private_schools',3225 keyName: 'mobile',3226 isVisibleOnPopup: 'TRUE',3227 keyLabel: 'Mobile number',3228 isEditable: 'TRUE',3229 helpText: 'Mobile number of the facility',3230 },3231 {3232 section: 'private_schools',3233 keyName: 'address',3234 isVisibleOnPopup: 'TRUE',3235 keyLabel: 'Address',3236 isEditable: 'TRUE',3237 helpText: 'Address of the facility.',3238 },3239 {3240 section: 'private_schools',3241 keyName: 'phone',3242 isVisibleOnPopup: 'TRUE',3243 keyLabel: 'Phone number',3244 isEditable: 'TRUE',3245 helpText: 'Phone number of the facility',3246 },3247 {3248 section: 'private_schools',3249 keyName: 'website',3250 isVisibleOnPopup: 'TRUE',3251 keyLabel: 'Website',3252 isEditable: 'TRUE',3253 helpText: 'Website of the facility',3254 },3255 ],3256 parks_playgrounds: [3257 {3258 section: 'parks_playgrounds',3259 keyName: 'amenity',3260 isVisibleOnPopup: 'FALSE',3261 keyLabel: '-',3262 isEditable: 'FALSE',3263 helpText: '',3264 },3265 {3266 section: 'parks_playgrounds',3267 keyName: 'name',3268 isVisibleOnPopup: 'TRUE',3269 keyLabel: 'Name of the facility',3270 isEditable: 'TRUE',3271 helpText: 'Name of the facility',3272 },3273 {3274 section: 'parks_playgrounds',3275 keyName: 'name_hindi',3276 isVisibleOnPopup: 'TRUE',3277 keyLabel: 'नाम',3278 isEditable: 'TRUE',3279 helpText: 'हिंदी में नाम',3280 },3281 {3282 section: 'parks_playgrounds',3283 keyName: 'opening_hours',3284 isVisibleOnPopup: 'TRUE',3285 keyLabel: 'Opening Hours',3286 isEditable: 'TRUE',3287 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',3288 },3289 {3290 section: 'parks_playgrounds',3291 keyName: 'address',3292 isVisibleOnPopup: 'TRUE',3293 keyLabel: 'Address',3294 isEditable: 'TRUE',3295 helpText: 'Address of the facility.',3296 },3297 {3298 section: 'parks_playgrounds',3299 keyName: 'park_guard',3300 isVisibleOnPopup: 'TRUE',3301 keyLabel: 'Security Guard',3302 isEditable: 'TRUE',3303 helpText: 'Does this facility has security gard in it?',3304 },3305 {3306 section: 'parks_playgrounds',3307 keyName: 'playground',3308 isVisibleOnPopup: 'TRUE',3309 keyLabel: 'Playground',3310 isEditable: 'TRUE',3311 helpText: 'Does this facility has Playground?',3312 },3313 {3314 section: 'parks_playgrounds',3315 keyName: 'dust_bins',3316 isVisibleOnPopup: 'TRUE',3317 keyLabel: 'Dust Bins',3318 isEditable: 'TRUE',3319 helpText: 'Are dustbins availbale in this facility?',3320 },3321 {3322 section: 'parks_playgrounds',3323 keyName: 'yoga_center',3324 isVisibleOnPopup: 'TRUE',3325 keyLabel: 'Yoga Center',3326 isEditable: 'TRUE',3327 helpText: 'Is there yoga center in this fality?',3328 },3329 {3330 section: 'parks_playgrounds',3331 keyName: 'benches',3332 isVisibleOnPopup: 'TRUE',3333 keyLabel: 'Benches',3334 isEditable: 'TRUE',3335 helpText: 'Are there benches in this facility?',3336 },3337 {3338 section: 'parks_playgrounds',3339 keyName: 'swings',3340 isVisibleOnPopup: 'TRUE',3341 keyLabel: 'Swings',3342 isEditable: 'TRUE',3343 helpText: 'Are there swings availbale in this facility?',3344 },3345 {3346 section: 'parks_playgrounds',3347 keyName: 'drinking_water',3348 isVisibleOnPopup: 'TRUE',3349 keyLabel: 'Drinking Water Facility',3350 isEditable: 'TRUE',3351 helpText: 'Is there drinking water facility in this facility',3352 },3353 {3354 section: 'parks_playgrounds',3355 keyName: 'toilets',3356 isVisibleOnPopup: 'TRUE',3357 keyLabel: 'Toilets',3358 isEditable: 'TRUE',3359 helpText: 'Are there toilets available in this facility?',3360 },3361 ],3362};3363export const tagUnmapper = (obj) => {3364 const finalArray = [];3365 Object.keys(obj).forEach((item) => {3366 obj[item].forEach((tag) => {3367 finalArray.push(tag);3368 });3369 });3370 return finalArray;3371};3372export const tagToPopup = (type, tags, id, isLoggedIn) => {3373 // console.log('id', id);3374 const currentAmenityKeys = tagMapper[type];3375 if (currentAmenityKeys !== undefined) {3376 const toTitleCase = (str) => {3377 // String(str);3378 // console.log('STR', str);3379 // return str.toString().replace(/\w\S*/g, (txt) => { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); });3380 return str;3381 };3382 let str = '';3383 let newString = '';3384 currentAmenityKeys.forEach((item) => {3385 if (item.isVisibleOnPopup === 'TRUE') {3386 if (item.keyName === 'name') {3387 newString = `<div class="custom-popup-header"><span class="amenity-name"><b>${tags[item.keyName] === undefined ? '-' : tags[item.keyName]}</b></span><br/>`;3388 } else if (item.keyName === 'name_hindi') {3389 newString = `<span class="amenity-nepali-name">${tags[item.keyName] === undefined ? '-' : tags[item.keyName]}</span></div><div class="custom-popup-content"><table class="table table-striped"><thead></thead><tbody>`; //eslint-disable-line3390 } else {3391 newString = `<tr><td class="td-hoverable" title="${item.helpText}">${item.keyLabel}</td><td><b>${tags[item.keyName] === undefined ? '-' : item === 'email' ? tags[item.keyName] : toTitleCase(tags[item.keyName])}</b></td></tr>`; //eslint-disable-line3392 }3393 }3394 str += newString;3395 });3396 str += isLoggedIn ? `</tbody></table></div><div><button id="popup-btn-${id}" class="popup-btn"><i class="pr-2 fas fa-pencil-alt"></i> <b>EDIT THIS DATA</b></button></div>` : '';3397 str += '</tbody></table></div>';3398 return str;3399 } else {3400 return '<span>Details coming soon</span>';3401 }...

Full Screen

Full Screen

utils.js

Source:utils.js Github

copy

Full Screen

1import * as d3 from 'd3-collection';2export const a = 'a';3// Helpers4export const nester = (data) => {5 const nested = d3.nest()6 .key((d) => { return d.section; })7 .entries(data);8 // console.log(nested);9 const obj = {};10 nested.forEach((item) => {11 const array = [];12 item.values.forEach((value) => {13 array.push(value);14 });15 obj[item.key] = array;16 });17 return obj;18};19export const amenityParameters = [20 {21 section: 'school',22 keyName: 'amenity',23 isVisibleOnPopup: 'FALSE',24 keyLabel: '-',25 isEditable: 'FALSE',26 },27 {28 section: 'school',29 keyName: 'name',30 isVisibleOnPopup: 'TRUE',31 keyLabel: 'Name',32 isEditable: 'TRUE',33 },34 {35 section: 'school',36 keyName: 'name:ne',37 isVisibleOnPopup: 'TRUE',38 keyLabel: 'नाम',39 isEditable: 'TRUE',40 },41 {42 section: 'school',43 keyName: 'operator:type',44 isVisibleOnPopup: 'TRUE',45 keyLabel: 'Operator Type',46 isEditable: 'TRUE',47 },48 {49 section: 'school',50 keyName: 'student:count',51 isVisibleOnPopup: 'TRUE',52 keyLabel: 'Number of students',53 isEditable: 'TRUE',54 },55 {56 section: 'school',57 keyName: 'personnel:count',58 isVisibleOnPopup: 'TRUE',59 keyLabel: 'Number of employees',60 isEditable: 'TRUE',61 },62 {63 section: 'school',64 keyName: 'opening_hours',65 isVisibleOnPopup: 'TRUE',66 keyLabel: 'Opening Hours',67 isEditable: 'TRUE',68 },69 {70 section: 'school',71 keyName: 'contact:phone',72 isVisibleOnPopup: 'TRUE',73 keyLabel: 'Phone Number',74 isEditable: 'TRUE',75 },76 {77 section: 'school',78 keyName: 'contact:email',79 isVisibleOnPopup: 'TRUE',80 keyLabel: 'Email Address',81 isEditable: 'TRUE',82 },83 {84 section: 'hindu',85 keyName: 'amenity',86 isVisibleOnPopup: 'FALSE',87 keyLabel: '-',88 isEditable: 'FALSE',89 },90 {91 section: 'hindu',92 keyName: 'name',93 isVisibleOnPopup: 'TRUE',94 keyLabel: 'Name',95 isEditable: 'TRUE',96 },97 {98 section: 'hindu',99 keyName: 'name:ne',100 isVisibleOnPopup: 'TRUE',101 keyLabel: 'नाम',102 isEditable: 'TRUE',103 },104 {105 section: 'hindu',106 keyName: 'religion',107 isVisibleOnPopup: 'TRUE',108 keyLabel: 'Religion',109 isEditable: 'TRUE',110 },111 {112 section: 'hindu',113 keyName: 'opening_hours',114 isVisibleOnPopup: 'TRUE',115 keyLabel: 'Opening Hours',116 isEditable: 'TRUE',117 },118 {119 section: 'hindu',120 keyName: 'contact:phone',121 isVisibleOnPopup: 'TRUE',122 keyLabel: 'Phone Number',123 isEditable: 'TRUE',124 },125 {126 section: 'hindu',127 keyName: 'contact:email',128 isVisibleOnPopup: 'TRUE',129 keyLabel: 'Email Address',130 isEditable: 'TRUE',131 },132 {133 section: 'hindu',134 keyName: 'facility:drinking_water',135 isVisibleOnPopup: 'TRUE',136 keyLabel: 'Drinking Water',137 isEditable: 'TRUE',138 },139 {140 section: 'hindu',141 keyName: 'facility:toilet',142 isVisibleOnPopup: 'TRUE',143 keyLabel: 'Toilet',144 isEditable: 'TRUE',145 },146 {147 section: 'police',148 keyName: 'amenity',149 isVisibleOnPopup: 'FALSE',150 keyLabel: 'Police',151 isEditable: 'FALSE',152 },153 {154 section: 'police',155 keyName: 'name',156 isVisibleOnPopup: 'TRUE',157 keyLabel: 'Name',158 isEditable: 'TRUE',159 },160 {161 section: 'police',162 keyName: 'name:ne',163 isVisibleOnPopup: 'TRUE',164 keyLabel: 'नाम',165 isEditable: 'TRUE',166 },167 {168 section: 'police',169 keyName: 'opening_hours',170 isVisibleOnPopup: 'TRUE',171 keyLabel: 'Opening Hours',172 isEditable: 'TRUE',173 },174 {175 section: 'police',176 keyName: 'contact:phone',177 isVisibleOnPopup: 'TRUE',178 keyLabel: 'Phone Number',179 isEditable: 'TRUE',180 },181 {182 section: 'police',183 keyName: 'contact:email',184 isVisibleOnPopup: 'TRUE',185 keyLabel: 'Email Address',186 isEditable: 'TRUE',187 },188 {189 section: 'hospital',190 keyName: 'amenity',191 isVisibleOnPopup: 'FALSE',192 keyLabel: '-',193 isEditable: 'FALSE',194 },195 {196 section: 'hospital',197 keyName: 'name',198 isVisibleOnPopup: 'TRUE',199 keyLabel: 'Name',200 isEditable: 'TRUE',201 },202 {203 section: 'hospital',204 keyName: 'name:ne',205 isVisibleOnPopup: 'TRUE',206 keyLabel: 'नाम',207 isEditable: 'TRUE',208 },209 {210 section: 'hospital',211 keyName: 'operator:type',212 isVisibleOnPopup: 'TRUE',213 keyLabel: 'Operator Type',214 isEditable: 'TRUE',215 },216 {217 section: 'hospital',218 keyName: 'opening_hours',219 isVisibleOnPopup: 'TRUE',220 keyLabel: 'Opening Hours',221 isEditable: 'TRUE',222 },223 {224 section: 'hospital',225 keyName: 'contact:phone',226 isVisibleOnPopup: 'TRUE',227 keyLabel: 'Phone Number',228 isEditable: 'TRUE',229 },230 {231 section: 'hospital',232 keyName: 'contact:email',233 isVisibleOnPopup: 'TRUE',234 keyLabel: 'Email Address',235 isEditable: 'TRUE',236 },237 {238 section: 'hospital',239 keyName: 'emergency',240 isVisibleOnPopup: 'TRUE',241 keyLabel: 'Emergency Service',242 isEditable: 'TRUE',243 },244 {245 section: 'hospital',246 keyName: 'facility:icu',247 isVisibleOnPopup: 'TRUE',248 keyLabel: 'ICU',249 isEditable: 'TRUE',250 },251 {252 section: 'hospital',253 keyName: 'facility:nicu',254 isVisibleOnPopup: 'TRUE',255 keyLabel: 'NICU',256 isEditable: 'TRUE',257 },258 {259 section: 'hospital',260 keyName: 'facility:operating_theatre',261 isVisibleOnPopup: 'TRUE',262 keyLabel: 'Operating Theatre',263 isEditable: 'TRUE',264 },265 {266 section: 'hospital',267 keyName: 'facility:x-ray',268 isVisibleOnPopup: 'TRUE',269 keyLabel: 'X-Ray',270 isEditable: 'TRUE',271 },272 {273 section: 'hospital',274 keyName: 'facility:ambulance',275 isVisibleOnPopup: 'TRUE',276 keyLabel: 'Ambulance Service',277 isEditable: 'TRUE',278 },279 {280 section: 'hospital',281 keyName: 'personnel:count',282 isVisibleOnPopup: 'TRUE',283 keyLabel: 'Number of Staff',284 isEditable: 'TRUE',285 },286 {287 section: 'hospital',288 keyName: 'capacity:beds',289 isVisibleOnPopup: 'TRUE',290 keyLabel: 'Number of Beds',291 isEditable: 'TRUE',292 },293 {294 section: 'clinic',295 keyName: 'amenity',296 isVisibleOnPopup: 'FALSE',297 keyLabel: '-',298 isEditable: 'FALSE',299 },300 {301 section: 'clinic',302 keyName: 'healthcare',303 isVisibleOnPopup: 'FALSE',304 keyLabel: '-',305 isEditable: 'FALSE',306 },307 {308 section: 'clinic',309 keyName: 'name',310 isVisibleOnPopup: 'TRUE',311 keyLabel: 'Name',312 isEditable: 'TRUE',313 },314 {315 section: 'clinic',316 keyName: 'name:ne',317 isVisibleOnPopup: 'TRUE',318 keyLabel: 'नाम',319 isEditable: 'TRUE',320 },321 {322 section: 'clinic',323 keyName: 'contact:phone',324 isVisibleOnPopup: 'TRUE',325 keyLabel: 'Phone',326 isEditable: 'TRUE',327 },328 {329 section: 'clinic',330 keyName: 'contact:email',331 isVisibleOnPopup: 'TRUE',332 keyLabel: 'Email Address',333 isEditable: 'TRUE',334 },335 {336 section: 'clinic',337 keyName: 'opening_hours',338 isVisibleOnPopup: 'TRUE',339 keyLabel: 'Opening Hours',340 isEditable: 'TRUE',341 },342 {343 section: 'clinic',344 keyName: 'healthcare:speciality',345 isVisibleOnPopup: 'TRUE',346 keyLabel: 'Specialisation',347 isEditable: 'TRUE',348 },349 {350 section: 'health_post',351 keyName: 'amenity',352 isVisibleOnPopup: 'FALSE',353 keyLabel: '-',354 isEditable: 'FALSE',355 },356 {357 section: 'health_post',358 keyName: 'name',359 isVisibleOnPopup: 'TRUE',360 keyLabel: 'Name',361 isEditable: 'TRUE',362 },363 {364 section: 'health_post',365 keyName: 'name:ne',366 isVisibleOnPopup: 'TRUE',367 keyLabel: 'नाम',368 isEditable: 'TRUE',369 },370 {371 section: 'health_post',372 keyName: 'contact:phone',373 isVisibleOnPopup: 'TRUE',374 keyLabel: 'Phone',375 isEditable: 'TRUE',376 },377 {378 section: 'health_post',379 keyName: 'contact:email',380 isVisibleOnPopup: 'TRUE',381 keyLabel: 'Email Address',382 isEditable: 'TRUE',383 },384 {385 section: 'health_post',386 keyName: 'opening_hours',387 isVisibleOnPopup: 'TRUE',388 keyLabel: 'Opening Hours',389 isEditable: 'TRUE',390 },391 {392 section: 'pharmacy',393 keyName: 'amenity',394 isVisibleOnPopup: 'FALSE',395 keyLabel: '-',396 isEditable: 'FALSE',397 },398 {399 section: 'pharmacy',400 keyName: 'name',401 isVisibleOnPopup: 'TRUE',402 keyLabel: 'Name',403 isEditable: 'TRUE',404 },405 {406 section: 'pharmacy',407 keyName: 'name:ne',408 isVisibleOnPopup: 'TRUE',409 keyLabel: 'नाम',410 isEditable: 'TRUE',411 },412 {413 section: 'pharmacy',414 keyName: 'contact:phone',415 isVisibleOnPopup: 'TRUE',416 keyLabel: 'Phone',417 isEditable: 'TRUE',418 },419 {420 section: 'pharmacy',421 keyName: 'contact:email',422 isVisibleOnPopup: 'TRUE',423 keyLabel: 'Email Address',424 isEditable: 'TRUE',425 },426 {427 section: 'pharmacy',428 keyName: 'opening_hours',429 isVisibleOnPopup: 'TRUE',430 keyLabel: 'Opening Hours',431 isEditable: 'TRUE',432 },433 {434 section: 'dentist',435 keyName: 'amenity',436 isVisibleOnPopup: 'FALSE',437 keyLabel: '',438 isEditable: 'FALSE',439 },440 {441 section: 'dentist',442 keyName: 'name',443 isVisibleOnPopup: 'TRUE',444 keyLabel: 'Name',445 isEditable: 'TRUE',446 },447 {448 section: 'dentist',449 keyName: 'name:ne',450 isVisibleOnPopup: 'TRUE',451 keyLabel: 'नाम',452 isEditable: 'TRUE',453 },454 {455 section: 'dentist',456 keyName: 'contact:phone',457 isVisibleOnPopup: 'TRUE',458 keyLabel: 'Phone',459 isEditable: 'TRUE',460 },461 {462 section: 'dentist',463 keyName: 'contact:email',464 isVisibleOnPopup: 'TRUE',465 keyLabel: 'Email Address',466 isEditable: 'TRUE',467 },468 {469 section: 'dentist',470 keyName: 'opening_hours',471 isVisibleOnPopup: 'TRUE',472 keyLabel: 'Opening Hours',473 isEditable: 'TRUE',474 },475 {476 section: 'Veterinarians',477 keyName: 'amenity',478 isVisibleOnPopup: 'FALSE',479 keyLabel: '',480 isEditable: 'FALSE',481 },482 {483 section: 'Veterinarians',484 keyName: 'name',485 isVisibleOnPopup: 'TRUE',486 keyLabel: 'Name',487 isEditable: 'TRUE',488 },489 {490 section: 'Veterinarians',491 keyName: 'name:ne',492 isVisibleOnPopup: 'TRUE',493 keyLabel: 'नाम',494 isEditable: 'TRUE',495 },496 {497 section: 'Veterinarians',498 keyName: 'contact:phone',499 isVisibleOnPopup: 'TRUE',500 keyLabel: 'Phone',501 isEditable: 'TRUE',502 },503 {504 section: 'Veterinarians',505 keyName: 'contact:email',506 isVisibleOnPopup: 'TRUE',507 keyLabel: 'Email Address',508 isEditable: 'TRUE',509 },510 {511 section: 'Veterinarians',512 keyName: 'opening_hours',513 isVisibleOnPopup: 'TRUE',514 keyLabel: 'Opening Hours',515 isEditable: 'TRUE',516 },517 {518 section: 'government',519 keyName: 'office',520 isVisibleOnPopup: 'FALSE',521 keyLabel: '',522 isEditable: 'FALSE',523 },524 {525 section: 'government',526 keyName: 'name',527 isVisibleOnPopup: 'TRUE',528 keyLabel: 'Name',529 isEditable: 'TRUE',530 },531 {532 section: 'government',533 keyName: 'name:ne',534 isVisibleOnPopup: 'TRUE',535 keyLabel: 'नाम',536 isEditable: 'TRUE',537 },538 {539 section: 'government',540 keyName: 'contact:phone',541 isVisibleOnPopup: 'TRUE',542 keyLabel: 'Phone',543 isEditable: 'TRUE',544 },545 {546 section: 'government',547 keyName: 'contact:email',548 isVisibleOnPopup: 'TRUE',549 keyLabel: 'Email Address',550 isEditable: 'TRUE',551 },552 {553 section: 'government',554 keyName: 'opening_hours',555 isVisibleOnPopup: 'TRUE',556 keyLabel: 'Opening Hours',557 isEditable: 'TRUE',558 },559 {560 section: 'ngo',561 keyName: 'office',562 isVisibleOnPopup: 'FALSE',563 keyLabel: '',564 isEditable: 'FALSE',565 },566 {567 section: 'ngo',568 keyName: 'name',569 isVisibleOnPopup: 'TRUE',570 keyLabel: 'Name',571 isEditable: 'TRUE',572 },573 {574 section: 'ngo',575 keyName: 'name:ne',576 isVisibleOnPopup: 'TRUE',577 keyLabel: 'नाम',578 isEditable: 'TRUE',579 },580 {581 section: 'ngo',582 keyName: 'contact:phone',583 isVisibleOnPopup: 'TRUE',584 keyLabel: 'Phone',585 isEditable: 'TRUE',586 },587 {588 section: 'ngo',589 keyName: 'contact:email',590 isVisibleOnPopup: 'TRUE',591 keyLabel: 'Email Address',592 isEditable: 'TRUE',593 },594 {595 section: 'ngo',596 keyName: 'opening_hours',597 isVisibleOnPopup: 'TRUE',598 keyLabel: 'Opening Hours',599 isEditable: 'TRUE',600 },601 {602 section: 'bank',603 keyName: 'amenity',604 isVisibleOnPopup: 'FALSE',605 keyLabel: '',606 isEditable: 'FALSE',607 },608 {609 section: 'bank',610 keyName: 'name',611 isVisibleOnPopup: 'TRUE',612 keyLabel: 'Name',613 isEditable: 'TRUE',614 },615 {616 section: 'bank',617 keyName: 'name:ne',618 isVisibleOnPopup: 'TRUE',619 keyLabel: 'नाम',620 isEditable: 'TRUE',621 },622 {623 section: 'bank',624 keyName: 'contact:phone',625 isVisibleOnPopup: 'TRUE',626 keyLabel: 'Phone',627 isEditable: 'TRUE',628 },629 {630 section: 'bank',631 keyName: 'contact:email',632 isVisibleOnPopup: 'TRUE',633 keyLabel: 'Email Address',634 isEditable: 'TRUE',635 },636 {637 section: 'bank',638 keyName: 'opening_hours',639 isVisibleOnPopup: 'TRUE',640 keyLabel: 'Opening Hours',641 isEditable: 'TRUE',642 },643 {644 section: 'bank',645 keyName: 'nrb_class',646 isVisibleOnPopup: 'TRUE',647 keyLabel: 'Bank Classfication',648 isEditable: 'TRUE',649 },650 {651 section: 'bank',652 keyName: 'atm',653 isVisibleOnPopup: 'TRUE',654 keyLabel: 'ATM Available',655 isEditable: 'TRUE',656 },657 {658 section: 'fuel',659 keyName: 'amenity',660 isVisibleOnPopup: 'FALSE',661 keyLabel: '',662 isEditable: 'FALSE',663 },664 {665 section: 'fuel',666 keyName: 'name',667 isVisibleOnPopup: 'TRUE',668 keyLabel: 'Name',669 isEditable: 'TRUE',670 },671 {672 section: 'fuel',673 keyName: 'name:ne',674 isVisibleOnPopup: 'TRUE',675 keyLabel: 'नाम',676 isEditable: 'TRUE',677 },678 {679 section: 'fuel',680 keyName: 'contact:phone',681 isVisibleOnPopup: 'TRUE',682 keyLabel: 'Phone',683 isEditable: 'TRUE',684 },685 {686 section: 'fuel',687 keyName: 'contact:email',688 isVisibleOnPopup: 'TRUE',689 keyLabel: 'Email Address',690 isEditable: 'TRUE',691 },692 {693 section: 'fuel',694 keyName: 'opening_hours',695 isVisibleOnPopup: 'TRUE',696 keyLabel: 'Opening Hours',697 isEditable: 'TRUE',698 },699 {700 section: 'radio',701 keyName: 'amenity',702 isVisibleOnPopup: 'FALSE',703 keyLabel: '',704 isEditable: 'FALSE',705 },706 {707 section: 'radio',708 keyName: 'name',709 isVisibleOnPopup: 'TRUE',710 keyLabel: 'Name',711 isEditable: 'TRUE',712 },713 {714 section: 'radio',715 keyName: 'name:ne',716 isVisibleOnPopup: 'TRUE',717 keyLabel: 'नाम',718 isEditable: 'TRUE',719 },720 {721 section: 'radio',722 keyName: 'contact:phone',723 isVisibleOnPopup: 'TRUE',724 keyLabel: 'Phone',725 isEditable: 'TRUE',726 },727 {728 section: 'radio',729 keyName: 'contact:email',730 isVisibleOnPopup: 'TRUE',731 keyLabel: 'Email Address',732 isEditable: 'TRUE',733 },734 {735 section: 'radio',736 keyName: 'opening_hours',737 isVisibleOnPopup: 'TRUE',738 keyLabel: 'Opening Hours',739 isEditable: 'TRUE',740 },741 {742 section: 'radio',743 keyName: 'frequency',744 isVisibleOnPopup: 'TRUE',745 keyLabel: 'Frequency',746 isEditable: 'TRUE',747 },748 {749 section: 'television',750 keyName: 'amenity',751 isVisibleOnPopup: 'FALSE',752 keyLabel: '',753 isEditable: 'FALSE',754 },755 {756 section: 'television',757 keyName: 'name',758 isVisibleOnPopup: 'TRUE',759 keyLabel: 'Name',760 isEditable: 'TRUE',761 },762 {763 section: 'television',764 keyName: 'name:ne',765 isVisibleOnPopup: 'TRUE',766 keyLabel: 'नाम',767 isEditable: 'TRUE',768 },769 {770 section: 'television',771 keyName: 'contact:phone',772 isVisibleOnPopup: 'TRUE',773 keyLabel: 'Phone',774 isEditable: 'TRUE',775 },776 {777 section: 'television',778 keyName: 'contact:email',779 isVisibleOnPopup: 'TRUE',780 keyLabel: 'Email Address',781 isEditable: 'TRUE',782 },783 {784 section: 'television',785 keyName: 'opening_hours',786 isVisibleOnPopup: 'TRUE',787 keyLabel: 'Opening Hours',788 isEditable: 'TRUE',789 },790 {791 section: 'newspaper',792 keyName: 'office',793 isVisibleOnPopup: 'FALSE',794 keyLabel: '',795 isEditable: 'FALSE',796 },797 {798 section: 'newspaper',799 keyName: 'name',800 isVisibleOnPopup: 'TRUE',801 keyLabel: 'Name',802 isEditable: 'TRUE',803 },804 {805 section: 'newspaper',806 keyName: 'name:ne',807 isVisibleOnPopup: 'TRUE',808 keyLabel: 'नाम',809 isEditable: 'TRUE',810 },811 {812 section: 'newspaper',813 keyName: 'contact:phone',814 isVisibleOnPopup: 'TRUE',815 keyLabel: 'Phone',816 isEditable: 'TRUE',817 },818 {819 section: 'newspaper',820 keyName: 'contact:email',821 isVisibleOnPopup: 'TRUE',822 keyLabel: 'Email Address',823 isEditable: 'TRUE',824 },825 {826 section: 'newspaper',827 keyName: 'opening_hours',828 isVisibleOnPopup: 'TRUE',829 keyLabel: 'Opening Hours',830 isEditable: 'TRUE',831 },832 {833 section: 'college',834 keyName: 'amenity',835 isVisibleOnPopup: 'FALSE',836 keyLabel: '-',837 isEditable: 'FALSE',838 },839 {840 section: 'college',841 keyName: 'name',842 isVisibleOnPopup: 'TRUE',843 keyLabel: 'Name',844 isEditable: 'TRUE',845 },846 {847 section: 'college',848 keyName: 'name:ne',849 isVisibleOnPopup: 'TRUE',850 keyLabel: 'नाम',851 isEditable: 'TRUE',852 },853 {854 section: 'college',855 keyName: 'operator:type',856 isVisibleOnPopup: 'TRUE',857 keyLabel: 'Operator Type',858 isEditable: 'TRUE',859 },860 {861 section: 'college',862 keyName: 'student:count',863 isVisibleOnPopup: 'TRUE',864 keyLabel: 'Number of students',865 isEditable: 'TRUE',866 },867 {868 section: 'college',869 keyName: 'personnel:count',870 isVisibleOnPopup: 'TRUE',871 keyLabel: 'Number of employees',872 isEditable: 'TRUE',873 },874 {875 section: 'college',876 keyName: 'opening_hours',877 isVisibleOnPopup: 'TRUE',878 keyLabel: 'Opening Hours',879 isEditable: 'TRUE',880 },881 {882 section: 'college',883 keyName: 'contact:phone',884 isVisibleOnPopup: 'TRUE',885 keyLabel: 'Phone Number',886 isEditable: 'TRUE',887 },888 {889 section: 'college',890 keyName: 'contact:email',891 isVisibleOnPopup: 'TRUE',892 keyLabel: 'Email Address',893 isEditable: 'TRUE',894 },895 {896 section: 'university',897 keyName: 'amenity',898 isVisibleOnPopup: 'FALSE',899 keyLabel: '-',900 isEditable: 'FALSE',901 },902 {903 section: 'university',904 keyName: 'name',905 isVisibleOnPopup: 'TRUE',906 keyLabel: 'Name',907 isEditable: 'TRUE',908 },909 {910 section: 'university',911 keyName: 'name:ne',912 isVisibleOnPopup: 'TRUE',913 keyLabel: 'नाम',914 isEditable: 'TRUE',915 },916 {917 section: 'university',918 keyName: 'operator:type',919 isVisibleOnPopup: 'TRUE',920 keyLabel: 'Operator Type',921 isEditable: 'TRUE',922 },923 {924 section: 'university',925 keyName: 'student:count',926 isVisibleOnPopup: 'TRUE',927 keyLabel: 'Number of students',928 isEditable: 'TRUE',929 },930 {931 section: 'university',932 keyName: 'personnel:count',933 isVisibleOnPopup: 'TRUE',934 keyLabel: 'Number of employees',935 isEditable: 'TRUE',936 },937 {938 section: 'university',939 keyName: 'opening_hours',940 isVisibleOnPopup: 'TRUE',941 keyLabel: 'Opening Hours',942 isEditable: 'TRUE',943 },944 {945 section: 'university',946 keyName: 'contact:phone',947 isVisibleOnPopup: 'TRUE',948 keyLabel: 'Phone Number',949 isEditable: 'TRUE',950 },951 {952 section: 'university',953 keyName: 'contact:email',954 isVisibleOnPopup: 'TRUE',955 keyLabel: 'Email Address',956 isEditable: 'TRUE',957 },958 {959 section: 'kindergarten',960 keyName: 'amenity',961 isVisibleOnPopup: 'FALSE',962 keyLabel: '-',963 isEditable: 'FALSE',964 },965 {966 section: 'kindergarten',967 keyName: 'name',968 isVisibleOnPopup: 'TRUE',969 keyLabel: 'Name',970 isEditable: 'TRUE',971 },972 {973 section: 'kindergarten',974 keyName: 'name:ne',975 isVisibleOnPopup: 'TRUE',976 keyLabel: 'नाम',977 isEditable: 'TRUE',978 },979 {980 section: 'kindergarten',981 keyName: 'operator:type',982 isVisibleOnPopup: 'TRUE',983 keyLabel: 'Operator Type',984 isEditable: 'TRUE',985 },986 {987 section: 'kindergarten',988 keyName: 'student:count',989 isVisibleOnPopup: 'TRUE',990 keyLabel: 'Number of students',991 isEditable: 'TRUE',992 },993 {994 section: 'kindergarten',995 keyName: 'personnel:count',996 isVisibleOnPopup: 'TRUE',997 keyLabel: 'Number of employees',998 isEditable: 'TRUE',999 },1000 {1001 section: 'kindergarten',1002 keyName: 'opening_hours',1003 isVisibleOnPopup: 'TRUE',1004 keyLabel: 'Opening Hours',1005 isEditable: 'TRUE',1006 },1007 {1008 section: 'kindergarten',1009 keyName: 'contact:phone',1010 isVisibleOnPopup: 'TRUE',1011 keyLabel: 'Phone Number',1012 isEditable: 'TRUE',1013 },1014 {1015 section: 'kindergarten',1016 keyName: 'contact:email',1017 isVisibleOnPopup: 'TRUE',1018 keyLabel: 'Email Address',1019 isEditable: 'TRUE',1020 },1021 {1022 section: 'buddhist',1023 keyName: 'amenity',1024 isVisibleOnPopup: 'FALSE',1025 keyLabel: '-',1026 isEditable: 'FALSE',1027 },1028 {1029 section: 'buddhist',1030 keyName: 'name',1031 isVisibleOnPopup: 'TRUE',1032 keyLabel: 'Name',1033 isEditable: 'TRUE',1034 },1035 {1036 section: 'buddhist',1037 keyName: 'name:ne',1038 isVisibleOnPopup: 'TRUE',1039 keyLabel: 'नाम',1040 isEditable: 'TRUE',1041 },1042 {1043 section: 'buddhist',1044 keyName: 'religion',1045 isVisibleOnPopup: 'TRUE',1046 keyLabel: 'Religion',1047 isEditable: 'TRUE',1048 },1049 {1050 section: 'buddhist',1051 keyName: 'opening_hours',1052 isVisibleOnPopup: 'TRUE',1053 keyLabel: 'Opening Hours',1054 isEditable: 'TRUE',1055 },1056 {1057 section: 'buddhist',1058 keyName: 'contact:phone',1059 isVisibleOnPopup: 'TRUE',1060 keyLabel: 'Phone Number',1061 isEditable: 'TRUE',1062 },1063 {1064 section: 'buddhist',1065 keyName: 'contact:email',1066 isVisibleOnPopup: 'TRUE',1067 keyLabel: 'Email Address',1068 isEditable: 'TRUE',1069 },1070 {1071 section: 'buddhist',1072 keyName: 'facility:drinking_water',1073 isVisibleOnPopup: 'TRUE',1074 keyLabel: 'Drinking Water',1075 isEditable: 'TRUE',1076 },1077 {1078 section: 'buddhist',1079 keyName: 'facility:toilet',1080 isVisibleOnPopup: 'TRUE',1081 keyLabel: 'Toilet',1082 isEditable: 'TRUE',1083 },1084 {1085 section: 'christian',1086 keyName: 'amenity',1087 isVisibleOnPopup: 'FALSE',1088 keyLabel: '-',1089 isEditable: 'FALSE',1090 },1091 {1092 section: 'christian',1093 keyName: 'name',1094 isVisibleOnPopup: 'TRUE',1095 keyLabel: 'Name',1096 isEditable: 'TRUE',1097 },1098 {1099 section: 'christian',1100 keyName: 'name:ne',1101 isVisibleOnPopup: 'TRUE',1102 keyLabel: 'नाम',1103 isEditable: 'TRUE',1104 },1105 {1106 section: 'christian',1107 keyName: 'religion',1108 isVisibleOnPopup: 'TRUE',1109 keyLabel: 'Religion',1110 isEditable: 'TRUE',1111 },1112 {1113 section: 'christian',1114 keyName: 'opening_hours',1115 isVisibleOnPopup: 'TRUE',1116 keyLabel: 'Opening Hours',1117 isEditable: 'TRUE',1118 },1119 {1120 section: 'christian',1121 keyName: 'contact:phone',1122 isVisibleOnPopup: 'TRUE',1123 keyLabel: 'Phone Number',1124 isEditable: 'TRUE',1125 },1126 {1127 section: 'christian',1128 keyName: 'contact:email',1129 isVisibleOnPopup: 'TRUE',1130 keyLabel: 'Email Address',1131 isEditable: 'TRUE',1132 },1133 {1134 section: 'christian',1135 keyName: 'facility:drinking_water',1136 isVisibleOnPopup: 'TRUE',1137 keyLabel: 'Drinking Water',1138 isEditable: 'TRUE',1139 },1140 {1141 section: 'christian',1142 keyName: 'facility:toilet',1143 isVisibleOnPopup: 'TRUE',1144 keyLabel: 'Toilet',1145 isEditable: 'TRUE',1146 },1147 {1148 section: 'muslim',1149 keyName: 'amenity',1150 isVisibleOnPopup: 'FALSE',1151 keyLabel: '-',1152 isEditable: 'FALSE',1153 },1154 {1155 section: 'muslim',1156 keyName: 'name',1157 isVisibleOnPopup: 'TRUE',1158 keyLabel: 'Name',1159 isEditable: 'TRUE',1160 },1161 {1162 section: 'muslim',1163 keyName: 'name:ne',1164 isVisibleOnPopup: 'TRUE',1165 keyLabel: 'नाम',1166 isEditable: 'TRUE',1167 },1168 {1169 section: 'muslim',1170 keyName: 'religion',1171 isVisibleOnPopup: 'TRUE',1172 keyLabel: 'Religion',1173 isEditable: 'TRUE',1174 },1175 {1176 section: 'muslim',1177 keyName: 'opening_hours',1178 isVisibleOnPopup: 'TRUE',1179 keyLabel: 'Opening Hours',1180 isEditable: 'TRUE',1181 },1182 {1183 section: 'muslim',1184 keyName: 'contact:phone',1185 isVisibleOnPopup: 'TRUE',1186 keyLabel: 'Phone Number',1187 isEditable: 'TRUE',1188 },1189 {1190 section: 'muslim',1191 keyName: 'contact:email',1192 isVisibleOnPopup: 'TRUE',1193 keyLabel: 'Email Address',1194 isEditable: 'TRUE',1195 },1196 {1197 section: 'muslim',1198 keyName: 'facility:drinking_water',1199 isVisibleOnPopup: 'TRUE',1200 keyLabel: 'Drinking Water',1201 isEditable: 'TRUE',1202 },1203 {1204 section: 'muslim',1205 keyName: 'facility:toilet',1206 isVisibleOnPopup: 'TRUE',1207 keyLabel: 'Toilet',1208 isEditable: 'TRUE',1209 },1210 {1211 section: 'atm',1212 keyName: 'amenity',1213 isVisibleOnPopup: 'FALSE',1214 keyLabel: '',1215 isEditable: 'FALSE',1216 },1217 {1218 section: 'atm',1219 keyName: 'network',1220 isVisibleOnPopup: 'TRUE',1221 keyLabel: 'Network Supported',1222 isEditable: 'TRUE',1223 },1224 {1225 section: 'atm',1226 keyName: 'opening_hours',1227 isVisibleOnPopup: 'TRUE',1228 keyLabel: 'Opening Hours',1229 isEditable: 'TRUE',1230 },1231 {1232 section: 'restaurant',1233 keyName: 'amenity',1234 isVisibleOnPopup: 'FALSE',1235 keyLabel: '',1236 isEditable: 'FALSE',1237 },1238 {1239 section: 'restaurant',1240 keyName: 'name',1241 isVisibleOnPopup: 'TRUE',1242 keyLabel: 'Name',1243 isEditable: 'TRUE',1244 },1245 {1246 section: 'restaurant',1247 keyName: 'name:ne',1248 isVisibleOnPopup: 'TRUE',1249 keyLabel: 'नाम',1250 isEditable: 'TRUE',1251 },1252 {1253 section: 'museum',1254 keyName: 'tourism',1255 isVisibleOnPopup: 'FALSE',1256 keyLabel: '',1257 isEditable: 'FALSE',1258 },1259 {1260 section: 'museum',1261 keyName: 'name',1262 isVisibleOnPopup: 'TRUE',1263 keyLabel: 'Name',1264 isEditable: 'TRUE',1265 },1266 {1267 section: 'museum',1268 keyName: 'name:ne',1269 isVisibleOnPopup: 'TRUE',1270 keyLabel: 'नाम',1271 isEditable: 'TRUE',1272 },1273 {1274 section: 'museum',1275 keyName: 'contact:phone',1276 isVisibleOnPopup: 'TRUE',1277 keyLabel: 'Phone',1278 isEditable: 'TRUE',1279 },1280 {1281 section: 'museum',1282 keyName: 'contact:email',1283 isVisibleOnPopup: 'TRUE',1284 keyLabel: 'Email Address',1285 isEditable: 'TRUE',1286 },1287 {1288 section: 'museum',1289 keyName: 'opening_hours',1290 isVisibleOnPopup: 'TRUE',1291 keyLabel: 'Opening Hours',1292 isEditable: 'TRUE',1293 },1294 {1295 section: 'park',1296 keyName: 'tourism',1297 isVisibleOnPopup: 'FALSE',1298 keyLabel: '',1299 isEditable: 'FALSE',1300 },1301 {1302 section: 'park',1303 keyName: 'name',1304 isVisibleOnPopup: 'TRUE',1305 keyLabel: 'Name',1306 isEditable: 'TRUE',1307 },1308 {1309 section: 'park',1310 keyName: 'name:ne',1311 isVisibleOnPopup: 'TRUE',1312 keyLabel: 'नाम',1313 isEditable: 'TRUE',1314 },1315 {1316 section: 'park',1317 keyName: 'contact:phone',1318 isVisibleOnPopup: 'TRUE',1319 keyLabel: 'Phone',1320 isEditable: 'TRUE',1321 },1322 {1323 section: 'park',1324 keyName: 'contact:email',1325 isVisibleOnPopup: 'TRUE',1326 keyLabel: 'Email Address',1327 isEditable: 'TRUE',1328 },1329 {1330 section: 'park',1331 keyName: 'opening_hours',1332 isVisibleOnPopup: 'TRUE',1333 keyLabel: 'Opening Hours',1334 isEditable: 'TRUE',1335 },1336];1337export const tagMapper = {1338 school: [{1339 section: 'school',1340 keyName: 'amenity',1341 isVisibleOnPopup: 'FALSE',1342 keyLabel: '-',1343 isEditable: 'FALSE',1344 }, {1345 section: 'school',1346 keyName: 'name',1347 isVisibleOnPopup: 'TRUE',1348 keyLabel: 'Name',1349 isEditable: 'TRUE',1350 }, {1351 section: 'school',1352 keyName: 'name:ne',1353 isVisibleOnPopup: 'TRUE',1354 keyLabel: 'नाम',1355 isEditable: 'TRUE',1356 }, {1357 section: 'school',1358 keyName: 'operator:type',1359 isVisibleOnPopup: 'TRUE',1360 keyLabel: 'Operator Type',1361 isEditable: 'TRUE',1362 }, {1363 section: 'school',1364 keyName: 'student:count',1365 isVisibleOnPopup: 'TRUE',1366 keyLabel: 'Number of students',1367 isEditable: 'TRUE',1368 }, {1369 section: 'school',1370 keyName: 'personnel:count',1371 isVisibleOnPopup: 'TRUE',1372 keyLabel: 'Number of employees',1373 isEditable: 'TRUE',1374 }, {1375 section: 'school',1376 keyName: 'opening_hours',1377 isVisibleOnPopup: 'TRUE',1378 keyLabel: 'Opening Hours',1379 isEditable: 'TRUE',1380 }, {1381 section: 'school',1382 keyName: 'contact:phone',1383 isVisibleOnPopup: 'TRUE',1384 keyLabel: 'Phone Number',1385 isEditable: 'TRUE',1386 }, {1387 section: 'school',1388 keyName: 'contact:email',1389 isVisibleOnPopup: 'TRUE',1390 keyLabel: 'Email Address',1391 isEditable: 'TRUE',1392 }],1393 hindu: [{1394 section: 'hindu',1395 keyName: 'amenity',1396 isVisibleOnPopup: 'FALSE',1397 keyLabel: '-',1398 isEditable: 'FALSE',1399 }, {1400 section: 'hindu',1401 keyName: 'name',1402 isVisibleOnPopup: 'TRUE',1403 keyLabel: 'Name',1404 isEditable: 'TRUE',1405 }, {1406 section: 'hindu',1407 keyName: 'name:ne',1408 isVisibleOnPopup: 'TRUE',1409 keyLabel: 'नाम',1410 isEditable: 'TRUE',1411 }, {1412 section: 'hindu',1413 keyName: 'religion',1414 isVisibleOnPopup: 'TRUE',1415 keyLabel: 'Religion',1416 isEditable: 'TRUE',1417 }, {1418 section: 'hindu',1419 keyName: 'opening_hours',1420 isVisibleOnPopup: 'TRUE',1421 keyLabel: 'Opening Hours',1422 isEditable: 'TRUE',1423 }, {1424 section: 'hindu',1425 keyName: 'contact:phone',1426 isVisibleOnPopup: 'TRUE',1427 keyLabel: 'Phone Number',1428 isEditable: 'TRUE',1429 }, {1430 section: 'hindu',1431 keyName: 'contact:email',1432 isVisibleOnPopup: 'TRUE',1433 keyLabel: 'Email Address',1434 isEditable: 'TRUE',1435 }, {1436 section: 'hindu',1437 keyName: 'facility:drinking_water',1438 isVisibleOnPopup: 'TRUE',1439 keyLabel: 'Drinking Water',1440 isEditable: 'TRUE',1441 }, {1442 section: 'hindu',1443 keyName: 'facility:toilet',1444 isVisibleOnPopup: 'TRUE',1445 keyLabel: 'Toilet',1446 isEditable: 'TRUE',1447 }],1448 police: [{1449 section: 'police',1450 keyName: 'amenity',1451 isVisibleOnPopup: 'FALSE',1452 keyLabel: 'Police',1453 isEditable: 'FALSE',1454 }, {1455 section: 'police',1456 keyName: 'name',1457 isVisibleOnPopup: 'TRUE',1458 keyLabel: 'Name',1459 isEditable: 'TRUE',1460 }, {1461 section: 'police',1462 keyName: 'name:ne',1463 isVisibleOnPopup: 'TRUE',1464 keyLabel: 'नाम',1465 isEditable: 'TRUE',1466 }, {1467 section: 'police',1468 keyName: 'opening_hours',1469 isVisibleOnPopup: 'TRUE',1470 keyLabel: 'Opening Hours',1471 isEditable: 'TRUE',1472 }, {1473 section: 'police',1474 keyName: 'contact:phone',1475 isVisibleOnPopup: 'TRUE',1476 keyLabel: 'Phone Number',1477 isEditable: 'TRUE',1478 }, {1479 section: 'police',1480 keyName: 'contact:email',1481 isVisibleOnPopup: 'TRUE',1482 keyLabel: 'Email Address',1483 isEditable: 'TRUE',1484 }],1485 hospital: [{1486 section: 'hospital',1487 keyName: 'amenity',1488 isVisibleOnPopup: 'FALSE',1489 keyLabel: '-',1490 isEditable: 'FALSE',1491 }, {1492 section: 'hospital',1493 keyName: 'name',1494 isVisibleOnPopup: 'TRUE',1495 keyLabel: 'Name',1496 isEditable: 'TRUE',1497 }, {1498 section: 'hospital',1499 keyName: 'name:ne',1500 isVisibleOnPopup: 'TRUE',1501 keyLabel: 'नाम',1502 isEditable: 'TRUE',1503 }, {1504 section: 'hospital',1505 keyName: 'operator:type',1506 isVisibleOnPopup: 'TRUE',1507 keyLabel: 'Operator Type',1508 isEditable: 'TRUE',1509 }, {1510 section: 'hospital',1511 keyName: 'opening_hours',1512 isVisibleOnPopup: 'TRUE',1513 keyLabel: 'Opening Hours',1514 isEditable: 'TRUE',1515 }, {1516 section: 'hospital',1517 keyName: 'contact:phone',1518 isVisibleOnPopup: 'TRUE',1519 keyLabel: 'Phone Number',1520 isEditable: 'TRUE',1521 }, {1522 section: 'hospital',1523 keyName: 'contact:email',1524 isVisibleOnPopup: 'TRUE',1525 keyLabel: 'Email Address',1526 isEditable: 'TRUE',1527 }, {1528 section: 'hospital',1529 keyName: 'emergency',1530 isVisibleOnPopup: 'TRUE',1531 keyLabel: 'Emergency Service',1532 isEditable: 'TRUE',1533 }, {1534 section: 'hospital',1535 keyName: 'facility:icu',1536 isVisibleOnPopup: 'TRUE',1537 keyLabel: 'ICU',1538 isEditable: 'TRUE',1539 }, {1540 section: 'hospital',1541 keyName: 'facility:nicu',1542 isVisibleOnPopup: 'TRUE',1543 keyLabel: 'NICU',1544 isEditable: 'TRUE',1545 }, {1546 section: 'hospital',1547 keyName: 'facility:operating_theatre',1548 isVisibleOnPopup: 'TRUE',1549 keyLabel: 'Operating Theatre',1550 isEditable: 'TRUE',1551 }, {1552 section: 'hospital',1553 keyName: 'facility:x-ray',1554 isVisibleOnPopup: 'TRUE',1555 keyLabel: 'X-Ray',1556 isEditable: 'TRUE',1557 }, {1558 section: 'hospital',1559 keyName: 'facility:ambulance',1560 isVisibleOnPopup: 'TRUE',1561 keyLabel: 'Ambulance Service',1562 isEditable: 'TRUE',1563 }, {1564 section: 'hospital',1565 keyName: 'personnel:count',1566 isVisibleOnPopup: 'TRUE',1567 keyLabel: 'Number of Staff',1568 isEditable: 'TRUE',1569 }, {1570 section: 'hospital',1571 keyName: 'capacity:beds',1572 isVisibleOnPopup: 'TRUE',1573 keyLabel: 'Number of Beds',1574 isEditable: 'TRUE',1575 }],1576 clinic: [{1577 section: 'clinic',1578 keyName: 'amenity',1579 isVisibleOnPopup: 'FALSE',1580 keyLabel: '-',1581 isEditable: 'FALSE',1582 }, {1583 section: 'clinic',1584 keyName: 'healthcare',1585 isVisibleOnPopup: 'FALSE',1586 keyLabel: '-',1587 isEditable: 'FALSE',1588 }, {1589 section: 'clinic',1590 keyName: 'name',1591 isVisibleOnPopup: 'TRUE',1592 keyLabel: 'Name',1593 isEditable: 'TRUE',1594 }, {1595 section: 'clinic',1596 keyName: 'name:ne',1597 isVisibleOnPopup: 'TRUE',1598 keyLabel: 'नाम',1599 isEditable: 'TRUE',1600 }, {1601 section: 'clinic',1602 keyName: 'contact:phone',1603 isVisibleOnPopup: 'TRUE',1604 keyLabel: 'Phone',1605 isEditable: 'TRUE',1606 }, {1607 section: 'clinic',1608 keyName: 'contact:email',1609 isVisibleOnPopup: 'TRUE',1610 keyLabel: 'Email Address',1611 isEditable: 'TRUE',1612 }, {1613 section: 'clinic',1614 keyName: 'opening_hours',1615 isVisibleOnPopup: 'TRUE',1616 keyLabel: 'Opening Hours',1617 isEditable: 'TRUE',1618 }, {1619 section: 'clinic',1620 keyName: 'healthcare:speciality',1621 isVisibleOnPopup: 'TRUE',1622 keyLabel: 'Specialisation',1623 isEditable: 'TRUE',1624 }],1625 health_post: [{1626 section: 'health_post',1627 keyName: 'amenity',1628 isVisibleOnPopup: 'FALSE',1629 keyLabel: '-',1630 isEditable: 'FALSE',1631 }, {1632 section: 'health_post',1633 keyName: 'name',1634 isVisibleOnPopup: 'TRUE',1635 keyLabel: 'Name',1636 isEditable: 'TRUE',1637 }, {1638 section: 'health_post',1639 keyName: 'name:ne',1640 isVisibleOnPopup: 'TRUE',1641 keyLabel: 'नाम',1642 isEditable: 'TRUE',1643 }, {1644 section: 'health_post',1645 keyName: 'contact:phone',1646 isVisibleOnPopup: 'TRUE',1647 keyLabel: 'Phone',1648 isEditable: 'TRUE',1649 }, {1650 section: 'health_post',1651 keyName: 'contact:email',1652 isVisibleOnPopup: 'TRUE',1653 keyLabel: 'Email Address',1654 isEditable: 'TRUE',1655 }, {1656 section: 'health_post',1657 keyName: 'opening_hours',1658 isVisibleOnPopup: 'TRUE',1659 keyLabel: 'Opening Hours',1660 isEditable: 'TRUE',1661 }],1662 pharmacy: [{1663 section: 'pharmacy',1664 keyName: 'amenity',1665 isVisibleOnPopup: 'FALSE',1666 keyLabel: '-',1667 isEditable: 'FALSE',1668 }, {1669 section: 'pharmacy',1670 keyName: 'name',1671 isVisibleOnPopup: 'TRUE',1672 keyLabel: 'Name',1673 isEditable: 'TRUE',1674 }, {1675 section: 'pharmacy',1676 keyName: 'name:ne',1677 isVisibleOnPopup: 'TRUE',1678 keyLabel: 'नाम',1679 isEditable: 'TRUE',1680 }, {1681 section: 'pharmacy',1682 keyName: 'contact:phone',1683 isVisibleOnPopup: 'TRUE',1684 keyLabel: 'Phone',1685 isEditable: 'TRUE',1686 }, {1687 section: 'pharmacy',1688 keyName: 'contact:email',1689 isVisibleOnPopup: 'TRUE',1690 keyLabel: 'Email Address',1691 isEditable: 'TRUE',1692 }, {1693 section: 'pharmacy',1694 keyName: 'opening_hours',1695 isVisibleOnPopup: 'TRUE',1696 keyLabel: 'Opening Hours',1697 isEditable: 'TRUE',1698 }],1699 dentist: [{1700 section: 'dentist',1701 keyName: 'amenity',1702 isVisibleOnPopup: 'FALSE',1703 keyLabel: '',1704 isEditable: 'FALSE',1705 }, {1706 section: 'dentist',1707 keyName: 'name',1708 isVisibleOnPopup: 'TRUE',1709 keyLabel: 'Name',1710 isEditable: 'TRUE',1711 }, {1712 section: 'dentist',1713 keyName: 'name:ne',1714 isVisibleOnPopup: 'TRUE',1715 keyLabel: 'नाम',1716 isEditable: 'TRUE',1717 }, {1718 section: 'dentist',1719 keyName: 'contact:phone',1720 isVisibleOnPopup: 'TRUE',1721 keyLabel: 'Phone',1722 isEditable: 'TRUE',1723 }, {1724 section: 'dentist',1725 keyName: 'contact:email',1726 isVisibleOnPopup: 'TRUE',1727 keyLabel: 'Email Address',1728 isEditable: 'TRUE',1729 }, {1730 section: 'dentist',1731 keyName: 'opening_hours',1732 isVisibleOnPopup: 'TRUE',1733 keyLabel: 'Opening Hours',1734 isEditable: 'TRUE',1735 }],1736 Veterinarians: [{1737 section: 'Veterinarians',1738 keyName: 'amenity',1739 isVisibleOnPopup: 'FALSE',1740 keyLabel: '',1741 isEditable: 'FALSE',1742 }, {1743 section: 'Veterinarians',1744 keyName: 'name',1745 isVisibleOnPopup: 'TRUE',1746 keyLabel: 'Name',1747 isEditable: 'TRUE',1748 }, {1749 section: 'Veterinarians',1750 keyName: 'name:ne',1751 isVisibleOnPopup: 'TRUE',1752 keyLabel: 'नाम',1753 isEditable: 'TRUE',1754 }, {1755 section: 'Veterinarians',1756 keyName: 'contact:phone',1757 isVisibleOnPopup: 'TRUE',1758 keyLabel: 'Phone',1759 isEditable: 'TRUE',1760 }, {1761 section: 'Veterinarians',1762 keyName: 'contact:email',1763 isVisibleOnPopup: 'TRUE',1764 keyLabel: 'Email Address',1765 isEditable: 'TRUE',1766 }, {1767 section: 'Veterinarians',1768 keyName: 'opening_hours',1769 isVisibleOnPopup: 'TRUE',1770 keyLabel: 'Opening Hours',1771 isEditable: 'TRUE',1772 }],1773 government: [{1774 section: 'government',1775 keyName: 'office',1776 isVisibleOnPopup: 'FALSE',1777 keyLabel: '',1778 isEditable: 'FALSE',1779 }, {1780 section: 'government',1781 keyName: 'name',1782 isVisibleOnPopup: 'TRUE',1783 keyLabel: 'Name',1784 isEditable: 'TRUE',1785 }, {1786 section: 'government',1787 keyName: 'name:ne',1788 isVisibleOnPopup: 'TRUE',1789 keyLabel: 'नाम',1790 isEditable: 'TRUE',1791 }, {1792 section: 'government',1793 keyName: 'contact:phone',1794 isVisibleOnPopup: 'TRUE',1795 keyLabel: 'Phone',1796 isEditable: 'TRUE',1797 }, {1798 section: 'government',1799 keyName: 'contact:email',1800 isVisibleOnPopup: 'TRUE',1801 keyLabel: 'Email Address',1802 isEditable: 'TRUE',1803 }, {1804 section: 'government',1805 keyName: 'opening_hours',1806 isVisibleOnPopup: 'TRUE',1807 keyLabel: 'Opening Hours',1808 isEditable: 'TRUE',1809 }],1810 ngo: [{1811 section: 'ngo',1812 keyName: 'office',1813 isVisibleOnPopup: 'FALSE',1814 keyLabel: '',1815 isEditable: 'FALSE',1816 }, {1817 section: 'ngo',1818 keyName: 'name',1819 isVisibleOnPopup: 'TRUE',1820 keyLabel: 'Name',1821 isEditable: 'TRUE',1822 }, {1823 section: 'ngo',1824 keyName: 'name:ne',1825 isVisibleOnPopup: 'TRUE',1826 keyLabel: 'नाम',1827 isEditable: 'TRUE',1828 }, {1829 section: 'ngo',1830 keyName: 'contact:phone',1831 isVisibleOnPopup: 'TRUE',1832 keyLabel: 'Phone',1833 isEditable: 'TRUE',1834 }, {1835 section: 'ngo',1836 keyName: 'contact:email',1837 isVisibleOnPopup: 'TRUE',1838 keyLabel: 'Email Address',1839 isEditable: 'TRUE',1840 }, {1841 section: 'ngo',1842 keyName: 'opening_hours',1843 isVisibleOnPopup: 'TRUE',1844 keyLabel: 'Opening Hours',1845 isEditable: 'TRUE',1846 }],1847 bank: [{1848 section: 'bank',1849 keyName: 'amenity',1850 isVisibleOnPopup: 'FALSE',1851 keyLabel: '',1852 isEditable: 'FALSE',1853 }, {1854 section: 'bank',1855 keyName: 'name',1856 isVisibleOnPopup: 'TRUE',1857 keyLabel: 'Name',1858 isEditable: 'TRUE',1859 }, {1860 section: 'bank',1861 keyName: 'name:ne',1862 isVisibleOnPopup: 'TRUE',1863 keyLabel: 'नाम',1864 isEditable: 'TRUE',1865 }, {1866 section: 'bank',1867 keyName: 'contact:phone',1868 isVisibleOnPopup: 'TRUE',1869 keyLabel: 'Phone',1870 isEditable: 'TRUE',1871 }, {1872 section: 'bank',1873 keyName: 'contact:email',1874 isVisibleOnPopup: 'TRUE',1875 keyLabel: 'Email Address',1876 isEditable: 'TRUE',1877 }, {1878 section: 'bank',1879 keyName: 'opening_hours',1880 isVisibleOnPopup: 'TRUE',1881 keyLabel: 'Opening Hours',1882 isEditable: 'TRUE',1883 }, {1884 section: 'bank',1885 keyName: 'nrb_class',1886 isVisibleOnPopup: 'TRUE',1887 keyLabel: 'Bank Classfication',1888 isEditable: 'TRUE',1889 }, {1890 section: 'bank',1891 keyName: 'atm',1892 isVisibleOnPopup: 'TRUE',1893 keyLabel: 'ATM Available',1894 isEditable: 'TRUE',1895 }],1896 fuel: [{1897 section: 'fuel',1898 keyName: 'amenity',1899 isVisibleOnPopup: 'FALSE',1900 keyLabel: '',1901 isEditable: 'FALSE',1902 }, {1903 section: 'fuel',1904 keyName: 'name',1905 isVisibleOnPopup: 'TRUE',1906 keyLabel: 'Name',1907 isEditable: 'TRUE',1908 }, {1909 section: 'fuel',1910 keyName: 'name:ne',1911 isVisibleOnPopup: 'TRUE',1912 keyLabel: 'नाम',1913 isEditable: 'TRUE',1914 }, {1915 section: 'fuel',1916 keyName: 'contact:phone',1917 isVisibleOnPopup: 'TRUE',1918 keyLabel: 'Phone',1919 isEditable: 'TRUE',1920 }, {1921 section: 'fuel',1922 keyName: 'contact:email',1923 isVisibleOnPopup: 'TRUE',1924 keyLabel: 'Email Address',1925 isEditable: 'TRUE',1926 }, {1927 section: 'fuel',1928 keyName: 'opening_hours',1929 isVisibleOnPopup: 'TRUE',1930 keyLabel: 'Opening Hours',1931 isEditable: 'TRUE',1932 }],1933 radio: [{1934 section: 'radio',1935 keyName: 'amenity',1936 isVisibleOnPopup: 'FALSE',1937 keyLabel: '',1938 isEditable: 'FALSE',1939 }, {1940 section: 'radio',1941 keyName: 'name',1942 isVisibleOnPopup: 'TRUE',1943 keyLabel: 'Name',1944 isEditable: 'TRUE',1945 }, {1946 section: 'radio',1947 keyName: 'name:ne',1948 isVisibleOnPopup: 'TRUE',1949 keyLabel: 'नाम',1950 isEditable: 'TRUE',1951 }, {1952 section: 'radio',1953 keyName: 'contact:phone',1954 isVisibleOnPopup: 'TRUE',1955 keyLabel: 'Phone',1956 isEditable: 'TRUE',1957 }, {1958 section: 'radio',1959 keyName: 'contact:email',1960 isVisibleOnPopup: 'TRUE',1961 keyLabel: 'Email Address',1962 isEditable: 'TRUE',1963 }, {1964 section: 'radio',1965 keyName: 'opening_hours',1966 isVisibleOnPopup: 'TRUE',1967 keyLabel: 'Opening Hours',1968 isEditable: 'TRUE',1969 }, {1970 section: 'radio',1971 keyName: 'frequency',1972 isVisibleOnPopup: 'TRUE',1973 keyLabel: 'Frequency',1974 isEditable: 'TRUE',1975 }],1976 television: [{1977 section: 'television',1978 keyName: 'amenity',1979 isVisibleOnPopup: 'FALSE',1980 keyLabel: '',1981 isEditable: 'FALSE',1982 }, {1983 section: 'television',1984 keyName: 'name',1985 isVisibleOnPopup: 'TRUE',1986 keyLabel: 'Name',1987 isEditable: 'TRUE',1988 }, {1989 section: 'television',1990 keyName: 'name:ne',1991 isVisibleOnPopup: 'TRUE',1992 keyLabel: 'नाम',1993 isEditable: 'TRUE',1994 }, {1995 section: 'television',1996 keyName: 'contact:phone',1997 isVisibleOnPopup: 'TRUE',1998 keyLabel: 'Phone',1999 isEditable: 'TRUE',2000 }, {2001 section: 'television',2002 keyName: 'contact:email',2003 isVisibleOnPopup: 'TRUE',2004 keyLabel: 'Email Address',2005 isEditable: 'TRUE',2006 }, {2007 section: 'television',2008 keyName: 'opening_hours',2009 isVisibleOnPopup: 'TRUE',2010 keyLabel: 'Opening Hours',2011 isEditable: 'TRUE',2012 }],2013 newspaper: [{2014 section: 'newspaper',2015 keyName: 'office',2016 isVisibleOnPopup: 'FALSE',2017 keyLabel: '',2018 isEditable: 'FALSE',2019 }, {2020 section: 'newspaper',2021 keyName: 'name',2022 isVisibleOnPopup: 'TRUE',2023 keyLabel: 'Name',2024 isEditable: 'TRUE',2025 }, {2026 section: 'newspaper',2027 keyName: 'name:ne',2028 isVisibleOnPopup: 'TRUE',2029 keyLabel: 'नाम',2030 isEditable: 'TRUE',2031 }, {2032 section: 'newspaper',2033 keyName: 'contact:phone',2034 isVisibleOnPopup: 'TRUE',2035 keyLabel: 'Phone',2036 isEditable: 'TRUE',2037 }, {2038 section: 'newspaper',2039 keyName: 'contact:email',2040 isVisibleOnPopup: 'TRUE',2041 keyLabel: 'Email Address',2042 isEditable: 'TRUE',2043 }, {2044 section: 'newspaper',2045 keyName: 'opening_hours',2046 isVisibleOnPopup: 'TRUE',2047 keyLabel: 'Opening Hours',2048 isEditable: 'TRUE',2049 }],2050 college: [{2051 section: 'college',2052 keyName: 'amenity',2053 isVisibleOnPopup: 'FALSE',2054 keyLabel: '-',2055 isEditable: 'FALSE',2056 }, {2057 section: 'college',2058 keyName: 'name',2059 isVisibleOnPopup: 'TRUE',2060 keyLabel: 'Name',2061 isEditable: 'TRUE',2062 }, {2063 section: 'college',2064 keyName: 'name:ne',2065 isVisibleOnPopup: 'TRUE',2066 keyLabel: 'नाम',2067 isEditable: 'TRUE',2068 }, {2069 section: 'college',2070 keyName: 'operator:type',2071 isVisibleOnPopup: 'TRUE',2072 keyLabel: 'Operator Type',2073 isEditable: 'TRUE',2074 }, {2075 section: 'college',2076 keyName: 'student:count',2077 isVisibleOnPopup: 'TRUE',2078 keyLabel: 'Number of students',2079 isEditable: 'TRUE',2080 }, {2081 section: 'college',2082 keyName: 'personnel:count',2083 isVisibleOnPopup: 'TRUE',2084 keyLabel: 'Number of employees',2085 isEditable: 'TRUE',2086 }, {2087 section: 'college',2088 keyName: 'opening_hours',2089 isVisibleOnPopup: 'TRUE',2090 keyLabel: 'Opening Hours',2091 isEditable: 'TRUE',2092 }, {2093 section: 'college',2094 keyName: 'contact:phone',2095 isVisibleOnPopup: 'TRUE',2096 keyLabel: 'Phone Number',2097 isEditable: 'TRUE',2098 }, {2099 section: 'college',2100 keyName: 'contact:email',2101 isVisibleOnPopup: 'TRUE',2102 keyLabel: 'Email Address',2103 isEditable: 'TRUE',2104 }],2105 university: [{2106 section: 'university',2107 keyName: 'amenity',2108 isVisibleOnPopup: 'FALSE',2109 keyLabel: '-',2110 isEditable: 'FALSE',2111 }, {2112 section: 'university',2113 keyName: 'name',2114 isVisibleOnPopup: 'TRUE',2115 keyLabel: 'Name',2116 isEditable: 'TRUE',2117 }, {2118 section: 'university',2119 keyName: 'name:ne',2120 isVisibleOnPopup: 'TRUE',2121 keyLabel: 'नाम',2122 isEditable: 'TRUE',2123 }, {2124 section: 'university',2125 keyName: 'operator:type',2126 isVisibleOnPopup: 'TRUE',2127 keyLabel: 'Operator Type',2128 isEditable: 'TRUE',2129 }, {2130 section: 'university',2131 keyName: 'student:count',2132 isVisibleOnPopup: 'TRUE',2133 keyLabel: 'Number of students',2134 isEditable: 'TRUE',2135 }, {2136 section: 'university',2137 keyName: 'personnel:count',2138 isVisibleOnPopup: 'TRUE',2139 keyLabel: 'Number of employees',2140 isEditable: 'TRUE',2141 }, {2142 section: 'university',2143 keyName: 'opening_hours',2144 isVisibleOnPopup: 'TRUE',2145 keyLabel: 'Opening Hours',2146 isEditable: 'TRUE',2147 }, {2148 section: 'university',2149 keyName: 'contact:phone',2150 isVisibleOnPopup: 'TRUE',2151 keyLabel: 'Phone Number',2152 isEditable: 'TRUE',2153 }, {2154 section: 'university',2155 keyName: 'contact:email',2156 isVisibleOnPopup: 'TRUE',2157 keyLabel: 'Email Address',2158 isEditable: 'TRUE',2159 }],2160 kindergarten: [{2161 section: 'kindergarten',2162 keyName: 'amenity',2163 isVisibleOnPopup: 'FALSE',2164 keyLabel: '-',2165 isEditable: 'FALSE',2166 }, {2167 section: 'kindergarten',2168 keyName: 'name',2169 isVisibleOnPopup: 'TRUE',2170 keyLabel: 'Name',2171 isEditable: 'TRUE',2172 }, {2173 section: 'kindergarten',2174 keyName: 'name:ne',2175 isVisibleOnPopup: 'TRUE',2176 keyLabel: 'नाम',2177 isEditable: 'TRUE',2178 }, {2179 section: 'kindergarten',2180 keyName: 'operator:type',2181 isVisibleOnPopup: 'TRUE',2182 keyLabel: 'Operator Type',2183 isEditable: 'TRUE',2184 }, {2185 section: 'kindergarten',2186 keyName: 'student:count',2187 isVisibleOnPopup: 'TRUE',2188 keyLabel: 'Number of students',2189 isEditable: 'TRUE',2190 }, {2191 section: 'kindergarten',2192 keyName: 'personnel:count',2193 isVisibleOnPopup: 'TRUE',2194 keyLabel: 'Number of employees',2195 isEditable: 'TRUE',2196 }, {2197 section: 'kindergarten',2198 keyName: 'opening_hours',2199 isVisibleOnPopup: 'TRUE',2200 keyLabel: 'Opening Hours',2201 isEditable: 'TRUE',2202 }, {2203 section: 'kindergarten',2204 keyName: 'contact:phone',2205 isVisibleOnPopup: 'TRUE',2206 keyLabel: 'Phone Number',2207 isEditable: 'TRUE',2208 }, {2209 section: 'kindergarten',2210 keyName: 'contact:email',2211 isVisibleOnPopup: 'TRUE',2212 keyLabel: 'Email Address',2213 isEditable: 'TRUE',2214 }],2215 buddhist: [{2216 section: 'buddhist',2217 keyName: 'amenity',2218 isVisibleOnPopup: 'FALSE',2219 keyLabel: '-',2220 isEditable: 'FALSE',2221 }, {2222 section: 'buddhist',2223 keyName: 'name',2224 isVisibleOnPopup: 'TRUE',2225 keyLabel: 'Name',2226 isEditable: 'TRUE',2227 }, {2228 section: 'buddhist',2229 keyName: 'name:ne',2230 isVisibleOnPopup: 'TRUE',2231 keyLabel: 'नाम',2232 isEditable: 'TRUE',2233 }, {2234 section: 'buddhist',2235 keyName: 'religion',2236 isVisibleOnPopup: 'TRUE',2237 keyLabel: 'Religion',2238 isEditable: 'TRUE',2239 }, {2240 section: 'buddhist',2241 keyName: 'opening_hours',2242 isVisibleOnPopup: 'TRUE',2243 keyLabel: 'Opening Hours',2244 isEditable: 'TRUE',2245 }, {2246 section: 'buddhist',2247 keyName: 'contact:phone',2248 isVisibleOnPopup: 'TRUE',2249 keyLabel: 'Phone Number',2250 isEditable: 'TRUE',2251 }, {2252 section: 'buddhist',2253 keyName: 'contact:email',2254 isVisibleOnPopup: 'TRUE',2255 keyLabel: 'Email Address',2256 isEditable: 'TRUE',2257 }, {2258 section: 'buddhist',2259 keyName: 'facility:drinking_water',2260 isVisibleOnPopup: 'TRUE',2261 keyLabel: 'Drinking Water',2262 isEditable: 'TRUE',2263 }, {2264 section: 'buddhist',2265 keyName: 'facility:toilet',2266 isVisibleOnPopup: 'TRUE',2267 keyLabel: 'Toilet',2268 isEditable: 'TRUE',2269 }],2270 christian: [{2271 section: 'christian',2272 keyName: 'amenity',2273 isVisibleOnPopup: 'FALSE',2274 keyLabel: '-',2275 isEditable: 'FALSE',2276 }, {2277 section: 'christian',2278 keyName: 'name',2279 isVisibleOnPopup: 'TRUE',2280 keyLabel: 'Name',2281 isEditable: 'TRUE',2282 }, {2283 section: 'christian',2284 keyName: 'name:ne',2285 isVisibleOnPopup: 'TRUE',2286 keyLabel: 'नाम',2287 isEditable: 'TRUE',2288 }, {2289 section: 'christian',2290 keyName: 'religion',2291 isVisibleOnPopup: 'TRUE',2292 keyLabel: 'Religion',2293 isEditable: 'TRUE',2294 }, {2295 section: 'christian',2296 keyName: 'opening_hours',2297 isVisibleOnPopup: 'TRUE',2298 keyLabel: 'Opening Hours',2299 isEditable: 'TRUE',2300 }, {2301 section: 'christian',2302 keyName: 'contact:phone',2303 isVisibleOnPopup: 'TRUE',2304 keyLabel: 'Phone Number',2305 isEditable: 'TRUE',2306 }, {2307 section: 'christian',2308 keyName: 'contact:email',2309 isVisibleOnPopup: 'TRUE',2310 keyLabel: 'Email Address',2311 isEditable: 'TRUE',2312 }, {2313 section: 'christian',2314 keyName: 'facility:drinking_water',2315 isVisibleOnPopup: 'TRUE',2316 keyLabel: 'Drinking Water',2317 isEditable: 'TRUE',2318 }, {2319 section: 'christian',2320 keyName: 'facility:toilet',2321 isVisibleOnPopup: 'TRUE',2322 keyLabel: 'Toilet',2323 isEditable: 'TRUE',2324 }],2325 muslim: [{2326 section: 'muslim',2327 keyName: 'amenity',2328 isVisibleOnPopup: 'FALSE',2329 keyLabel: '-',2330 isEditable: 'FALSE',2331 }, {2332 section: 'muslim',2333 keyName: 'name',2334 isVisibleOnPopup: 'TRUE',2335 keyLabel: 'Name',2336 isEditable: 'TRUE',2337 }, {2338 section: 'muslim',2339 keyName: 'name:ne',2340 isVisibleOnPopup: 'TRUE',2341 keyLabel: 'नाम',2342 isEditable: 'TRUE',2343 }, {2344 section: 'muslim',2345 keyName: 'religion',2346 isVisibleOnPopup: 'TRUE',2347 keyLabel: 'Religion',2348 isEditable: 'TRUE',2349 }, {2350 section: 'muslim',2351 keyName: 'opening_hours',2352 isVisibleOnPopup: 'TRUE',2353 keyLabel: 'Opening Hours',2354 isEditable: 'TRUE',2355 }, {2356 section: 'muslim',2357 keyName: 'contact:phone',2358 isVisibleOnPopup: 'TRUE',2359 keyLabel: 'Phone Number',2360 isEditable: 'TRUE',2361 }, {2362 section: 'muslim',2363 keyName: 'contact:email',2364 isVisibleOnPopup: 'TRUE',2365 keyLabel: 'Email Address',2366 isEditable: 'TRUE',2367 }, {2368 section: 'muslim',2369 keyName: 'facility:drinking_water',2370 isVisibleOnPopup: 'TRUE',2371 keyLabel: 'Drinking Water',2372 isEditable: 'TRUE',2373 }, {2374 section: 'muslim',2375 keyName: 'facility:toilet',2376 isVisibleOnPopup: 'TRUE',2377 keyLabel: 'Toilet',2378 isEditable: 'TRUE',2379 }],2380 atm: [{2381 section: 'atm',2382 keyName: 'amenity',2383 isVisibleOnPopup: 'FALSE',2384 keyLabel: '',2385 isEditable: 'FALSE',2386 }, {2387 section: 'atm',2388 keyName: 'network',2389 isVisibleOnPopup: 'TRUE',2390 keyLabel: 'Network Supported',2391 isEditable: 'TRUE',2392 }, {2393 section: 'atm',2394 keyName: 'opening_hours',2395 isVisibleOnPopup: 'TRUE',2396 keyLabel: 'Opening Hours',2397 isEditable: 'TRUE',2398 }],2399 restaurant: [{2400 section: 'restaurant',2401 keyName: 'amenity',2402 isVisibleOnPopup: 'FALSE',2403 keyLabel: '',2404 isEditable: 'FALSE',2405 }, {2406 section: 'restaurant',2407 keyName: 'name',2408 isVisibleOnPopup: 'TRUE',2409 keyLabel: 'Name',2410 isEditable: 'TRUE',2411 }, {2412 section: 'restaurant',2413 keyName: 'name:ne',2414 isVisibleOnPopup: 'TRUE',2415 keyLabel: 'नाम',2416 isEditable: 'TRUE',2417 }],2418 museum: [{2419 section: 'museum',2420 keyName: 'tourism',2421 isVisibleOnPopup: 'FALSE',2422 keyLabel: '',2423 isEditable: 'FALSE',2424 }, {2425 section: 'museum',2426 keyName: 'name',2427 isVisibleOnPopup: 'TRUE',2428 keyLabel: 'Name',2429 isEditable: 'TRUE',2430 }, {2431 section: 'museum',2432 keyName: 'name:ne',2433 isVisibleOnPopup: 'TRUE',2434 keyLabel: 'नाम',2435 isEditable: 'TRUE',2436 }, {2437 section: 'museum',2438 keyName: 'contact:phone',2439 isVisibleOnPopup: 'TRUE',2440 keyLabel: 'Phone',2441 isEditable: 'TRUE',2442 }, {2443 section: 'museum',2444 keyName: 'contact:email',2445 isVisibleOnPopup: 'TRUE',2446 keyLabel: 'Email Address',2447 isEditable: 'TRUE',2448 }, {2449 section: 'museum',2450 keyName: 'opening_hours',2451 isVisibleOnPopup: 'TRUE',2452 keyLabel: 'Opening Hours',2453 isEditable: 'TRUE',2454 }],2455 park: [{2456 section: 'park',2457 keyName: 'tourism',2458 isVisibleOnPopup: 'FALSE',2459 keyLabel: '',2460 isEditable: 'FALSE',2461 }, {2462 section: 'park',2463 keyName: 'name',2464 isVisibleOnPopup: 'TRUE',2465 keyLabel: 'Name',2466 isEditable: 'TRUE',2467 }, {2468 section: 'park',2469 keyName: 'name:ne',2470 isVisibleOnPopup: 'TRUE',2471 keyLabel: 'नाम',2472 isEditable: 'TRUE',2473 }, {2474 section: 'park',2475 keyName: 'contact:phone',2476 isVisibleOnPopup: 'TRUE',2477 keyLabel: 'Phone',2478 isEditable: 'TRUE',2479 }, {2480 section: 'park',2481 keyName: 'contact:email',2482 isVisibleOnPopup: 'TRUE',2483 keyLabel: 'Email Address',2484 isEditable: 'TRUE',2485 }, {2486 section: 'park',2487 keyName: 'opening_hours',2488 isVisibleOnPopup: 'TRUE',2489 keyLabel: 'Opening Hours',2490 isEditable: 'TRUE',2491 }],2492};2493export const tagToPopup = (type, tags, id) => {2494 const currentAmenityKeys = tagMapper[type];2495 if (currentAmenityKeys !== undefined) {2496 const toTitleCase = (str) => {2497 return str;2498 // return str.replace(/\w\S*/g, (txt) => { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); });2499 };2500 let str = '';2501 let newString = '';2502 currentAmenityKeys.forEach((item) => {2503 if (item.isVisibleOnPopup === 'TRUE') {2504 if (item.keyName === 'name') {2505 newString = `<div class="custom-popup-header pb-3"><h5><b>${tags[item.keyName]}</b></h5></div><div class="custom-popup-content">`;2506 } else {2507 newString = `<span class>${item.keyLabel}</span><br/><span><b>${tags[item.keyName] === undefined ? '-' : toTitleCase(tags[item.keyName])}</b></span><br/><br/>`;2508 }2509 }2510 str += newString;2511 });2512 str += `</div><div><button id="popup-btn-${id}" class="popup-btn"><i class="fas fa-pencil-alt"></i> <b>EDIT THIS DATA</b></button></div>`;2513 return str;2514 } else {2515 return '<span>Details coming soon</span>';2516 }...

Full Screen

Full Screen

tagsOld.js

Source:tagsOld.js Github

copy

Full Screen

1const tags = {2 school: [{3 section: 'school',4 keyName: 'amenity',5 isVisibleOnPopup: 'FALSE',6 keyLabel: '-',7 isEditable: 'FALSE',8 helpText: '',9 }, {10 section: 'school',11 keyName: 'name',12 isVisibleOnPopup: 'TRUE',13 keyLabel: 'Name',14 isEditable: 'TRUE',15 helpText: 'Name of the school',16 }, {17 section: 'school',18 keyName: 'name:ne',19 isVisibleOnPopup: 'TRUE',20 keyLabel: 'नाम',21 isEditable: 'TRUE',22 helpText: 'नेपालीमा नाम',23 }, {24 section: 'school',25 keyName: 'operator:type',26 isVisibleOnPopup: 'TRUE',27 keyLabel: 'Operator Type',28 isEditable: 'TRUE',29 helpText: 'Is this facility operated by the government, private sector, community or other entities?',30 }, {31 section: 'school',32 keyName: 'student:count',33 isVisibleOnPopup: 'TRUE',34 keyLabel: 'Number of students',35 isEditable: 'TRUE',36 helpText: 'Number of students at last count enrolled in this school.',37 }, {38 section: 'school',39 keyName: 'personnel:count',40 isVisibleOnPopup: 'TRUE',41 keyLabel: 'Number of employees',42 isEditable: 'TRUE',43 helpText: 'Number of staff (full-time and part-time) working in this school.',44 }, {45 section: 'school',46 keyName: 'opening_hours',47 isVisibleOnPopup: 'TRUE',48 keyLabel: 'Opening Hours',49 isEditable: 'TRUE',50 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',51 }, {52 section: 'school',53 keyName: 'contact:phone',54 isVisibleOnPopup: 'TRUE',55 keyLabel: 'Phone Number',56 isEditable: 'TRUE',57 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',58 }, {59 section: 'school',60 keyName: 'contact:email',61 isVisibleOnPopup: 'TRUE',62 keyLabel: 'Email Address',63 isEditable: 'TRUE',64 helpText: 'Email address of the facility that is intended for public use.',65 }],66 hotel: [{67 section: 'hotel',68 keyName: 'amenity',69 isVisibleOnPopup: 'FALSE',70 keyLabel: '-',71 isEditable: 'FALSE',72 helpText: '',73 }, {74 section: 'hotel',75 keyName: 'name',76 isVisibleOnPopup: 'TRUE',77 keyLabel: 'Name',78 isEditable: 'TRUE',79 helpText: 'Name of the hotel',80 }, {81 section: 'hotel',82 keyName: 'name:ne',83 isVisibleOnPopup: 'TRUE',84 keyLabel: 'नाम',85 isEditable: 'TRUE',86 helpText: 'नेपालीमा नाम',87 }, {88 section: 'hotel',89 keyName: 'stars',90 isVisibleOnPopup: 'TRUE',91 keyLabel: 'Stars',92 isEditable: 'TRUE',93 helpText: '',94 }, {95 section: 'hotel',96 keyName: 'beds',97 isVisibleOnPopup: 'TRUE',98 keyLabel: 'Number of beds',99 isEditable: 'TRUE',100 helpText: '',101 }, {102 section: 'hotel',103 keyName: 'rooms',104 isVisibleOnPopup: 'TRUE',105 keyLabel: 'Number of rooms',106 isEditable: 'TRUE',107 helpText: '',108 }, {109 section: 'hotel',110 keyName: 'opening_hours',111 isVisibleOnPopup: 'TRUE',112 keyLabel: 'Opening Hours',113 isEditable: 'TRUE',114 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',115 }, {116 section: 'hotel',117 keyName: 'contact:phone',118 isVisibleOnPopup: 'TRUE',119 keyLabel: 'Phone Number',120 isEditable: 'TRUE',121 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',122 }, {123 section: 'hotel',124 keyName: 'contact:email',125 isVisibleOnPopup: 'TRUE',126 keyLabel: 'Email Address',127 isEditable: 'TRUE',128 helpText: 'Email address of the facility that is intended for public use.',129 }],130 veterinary: [{131 section: 'veterinary',132 keyName: 'amenity',133 isVisibleOnPopup: 'FALSE',134 keyLabel: '-',135 isEditable: 'FALSE',136 helpText: '',137 }, {138 section: 'veterinary',139 keyName: 'name',140 isVisibleOnPopup: 'TRUE',141 keyLabel: 'Name',142 isEditable: 'TRUE',143 helpText: 'Name of the facility',144 }, {145 section: 'veterinary',146 keyName: 'name:ne',147 isVisibleOnPopup: 'TRUE',148 keyLabel: 'नाम',149 isEditable: 'TRUE',150 helpText: 'नेपालीमा नाम',151 }, {152 section: 'veterinary',153 keyName: 'opening_hours',154 isVisibleOnPopup: 'TRUE',155 keyLabel: 'Opening Hours',156 isEditable: 'TRUE',157 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',158 }, {159 section: 'veterinary',160 keyName: 'contact:phone',161 isVisibleOnPopup: 'TRUE',162 keyLabel: 'Phone Number',163 isEditable: 'TRUE',164 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',165 }, {166 section: 'veterinary',167 keyName: 'contact:email',168 isVisibleOnPopup: 'TRUE',169 keyLabel: 'Email Address',170 isEditable: 'TRUE',171 helpText: 'Email address of the facility that is intended for public use.',172 }],173 hindu: [{174 section: 'hindu',175 keyName: 'amenity',176 isVisibleOnPopup: 'FALSE',177 keyLabel: '-',178 isEditable: 'FALSE',179 helpText: '',180 }, {181 section: 'hindu',182 keyName: 'name',183 isVisibleOnPopup: 'TRUE',184 keyLabel: 'Name',185 isEditable: 'TRUE',186 helpText: 'Name of the temple',187 }, {188 section: 'hindu',189 keyName: 'name:ne',190 isVisibleOnPopup: 'TRUE',191 keyLabel: 'नाम',192 isEditable: 'TRUE',193 helpText: 'नेपालीमा नाम',194 }, {195 section: 'hindu',196 keyName: 'religion',197 isVisibleOnPopup: 'TRUE',198 keyLabel: 'Religion',199 isEditable: 'TRUE',200 helpText: '',201 }, {202 section: 'hindu',203 keyName: 'opening_hours',204 isVisibleOnPopup: 'TRUE',205 keyLabel: 'Opening Hours',206 isEditable: 'TRUE',207 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',208 }, {209 section: 'hindu',210 keyName: 'contact:phone',211 isVisibleOnPopup: 'TRUE',212 keyLabel: 'Phone Number',213 isEditable: 'TRUE',214 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',215 }, {216 section: 'hindu',217 keyName: 'contact:email',218 isVisibleOnPopup: 'TRUE',219 keyLabel: 'Email Address',220 isEditable: 'TRUE',221 helpText: 'Email address of the facility that is intended for public use.',222 }, {223 section: 'hindu',224 keyName: 'facility:drinking_water',225 isVisibleOnPopup: 'TRUE',226 keyLabel: 'Drinking Water',227 isEditable: 'TRUE',228 helpText: '',229 }, {230 section: 'hindu',231 keyName: 'facility:toilet',232 isVisibleOnPopup: 'TRUE',233 keyLabel: 'Toilet',234 isEditable: 'TRUE',235 helpText: '',236 }],237 storage_tank: [{238 section: 'storage_tank',239 keyName: 'amenity',240 isVisibleOnPopup: 'FALSE',241 keyLabel: 'Water Storage Tank',242 isEditable: 'FALSE',243 helpText: '',244 }, {245 section: 'storage_tank',246 keyName: 'name',247 isVisibleOnPopup: 'TRUE',248 keyLabel: 'Name',249 isEditable: 'TRUE',250 helpText: 'Name of the storage tank',251 }, {252 section: 'storage_tank',253 keyName: 'name:ne',254 isVisibleOnPopup: 'TRUE',255 keyLabel: 'नाम',256 isEditable: 'TRUE',257 helpText: 'नेपालीमा नाम',258 }, {259 section: 'storage_tank',260 keyName: 'opening_hours',261 isVisibleOnPopup: 'TRUE',262 keyLabel: 'Opening Hours',263 isEditable: 'TRUE',264 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',265 }, {266 section: 'storage_tank',267 keyName: 'operator:type',268 isVisibleOnPopup: 'TRUE',269 keyLabel: 'Operator Type',270 isEditable: 'TRUE',271 helpText: 'Is this facility operated by the government, private sector, community or other entities?',272 }],273 water_tap: [{274 section: 'water_tap',275 keyName: 'amenity',276 isVisibleOnPopup: 'FALSE',277 keyLabel: 'Water Storage Tank',278 isEditable: 'FALSE',279 helpText: '',280 }, {281 section: 'water_tap',282 keyName: 'name',283 isVisibleOnPopup: 'TRUE',284 keyLabel: 'Name',285 isEditable: 'TRUE',286 helpText: 'Name of the tap (if any)',287 }, {288 section: 'water_tap',289 keyName: 'name:ne',290 isVisibleOnPopup: 'TRUE',291 keyLabel: 'नाम',292 isEditable: 'TRUE',293 helpText: 'नेपालीमा नाम',294 }, {295 section: 'water_tap',296 keyName: 'opening_hours',297 isVisibleOnPopup: 'TRUE',298 keyLabel: 'Opening Hours',299 isEditable: 'TRUE',300 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',301 }, {302 section: 'water_tap',303 keyName: 'operator:type',304 isVisibleOnPopup: 'TRUE',305 keyLabel: 'Operator Type',306 isEditable: 'TRUE',307 helpText: 'Is this facility operated by the government, private sector, community or other entities?',308 }],309 water_well: [{310 section: 'water_well',311 keyName: 'amenity',312 isVisibleOnPopup: 'FALSE',313 keyLabel: 'Water Storage Tank',314 isEditable: 'FALSE',315 helpText: '',316 }, {317 section: 'water_well',318 keyName: 'name',319 isVisibleOnPopup: 'TRUE',320 keyLabel: 'Name',321 isEditable: 'TRUE',322 helpText: 'Name of the well (if any)',323 }, {324 section: 'water_well',325 keyName: 'name:ne',326 isVisibleOnPopup: 'TRUE',327 keyLabel: 'नाम',328 isEditable: 'TRUE',329 helpText: 'नेपालीमा नाम',330 }, {331 section: 'water_well',332 keyName: 'opening_hours',333 isVisibleOnPopup: 'TRUE',334 keyLabel: 'Opening Hours',335 isEditable: 'TRUE',336 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',337 }, {338 section: 'water_well',339 keyName: 'operator:type',340 isVisibleOnPopup: 'TRUE',341 keyLabel: 'Operator Type',342 isEditable: 'TRUE',343 helpText: 'Is this facility operated by the government, private sector, community or other entities?',344 }],345 police: [{346 section: 'police',347 keyName: 'amenity',348 isVisibleOnPopup: 'FALSE',349 keyLabel: 'Police',350 isEditable: 'FALSE',351 helpText: '',352 }, {353 section: 'police',354 keyName: 'name',355 isVisibleOnPopup: 'TRUE',356 keyLabel: 'Name',357 isEditable: 'TRUE',358 helpText: 'Name of the police station',359 }, {360 section: 'police',361 keyName: 'name:ne',362 isVisibleOnPopup: 'TRUE',363 keyLabel: 'नाम',364 isEditable: 'TRUE',365 helpText: 'नेपालीमा नाम',366 }, {367 section: 'police',368 keyName: 'opening_hours',369 isVisibleOnPopup: 'TRUE',370 keyLabel: 'Opening Hours',371 isEditable: 'TRUE',372 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',373 }, {374 section: 'police',375 keyName: 'contact:phone',376 isVisibleOnPopup: 'TRUE',377 keyLabel: 'Phone Number',378 isEditable: 'TRUE',379 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',380 }, {381 section: 'police',382 keyName: 'contact:email',383 isVisibleOnPopup: 'TRUE',384 keyLabel: 'Email Address',385 isEditable: 'TRUE',386 helpText: 'Email address of the facility that is intended for public use.',387 }],388 hospital: [{389 section: 'hospital',390 keyName: 'amenity',391 isVisibleOnPopup: 'FALSE',392 keyLabel: '-',393 isEditable: 'FALSE',394 helpText: '',395 }, {396 section: 'hospital',397 keyName: 'name',398 isVisibleOnPopup: 'TRUE',399 keyLabel: 'Name',400 isEditable: 'TRUE',401 helpText: 'Name of the hospital',402 }, {403 section: 'hospital',404 keyName: 'name:ne',405 isVisibleOnPopup: 'TRUE',406 keyLabel: 'नाम',407 isEditable: 'TRUE',408 helpText: 'नेपालीमा नाम',409 }, {410 section: 'hospital',411 keyName: 'operator:type',412 isVisibleOnPopup: 'TRUE',413 keyLabel: 'Operator Type',414 isEditable: 'TRUE',415 helpText: 'Is this facility operated by the government, private sector, community or other entities?',416 }, {417 section: 'hospital',418 keyName: 'opening_hours',419 isVisibleOnPopup: 'TRUE',420 keyLabel: 'Opening Hours',421 isEditable: 'TRUE',422 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',423 }, {424 section: 'hospital',425 keyName: 'phone',426 isVisibleOnPopup: 'TRUE',427 keyLabel: 'Phone Number',428 isEditable: 'TRUE',429 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',430 }, {431 section: 'hospital',432 keyName: 'contact:email',433 isVisibleOnPopup: 'TRUE',434 keyLabel: 'Email Address',435 isEditable: 'TRUE',436 helpText: 'Email address of the facility that is intended for public use.',437 }, {438 section: 'hospital',439 keyName: 'emergency',440 isVisibleOnPopup: 'TRUE',441 keyLabel: 'Emergency Service',442 isEditable: 'TRUE',443 helpText: '',444 }, {445 section: 'hospital',446 keyName: 'facility:icu',447 isVisibleOnPopup: 'TRUE',448 keyLabel: 'ICU',449 isEditable: 'TRUE',450 helpText: '',451 }, {452 section: 'hospital',453 keyName: 'facility:nicu',454 isVisibleOnPopup: 'TRUE',455 keyLabel: 'NICU',456 isEditable: 'TRUE',457 helpText: '',458 }, {459 section: 'hospital',460 keyName: 'facility:operating_theatre',461 isVisibleOnPopup: 'TRUE',462 keyLabel: 'Operating Theatre',463 isEditable: 'TRUE',464 helpText: '',465 }, {466 section: 'hospital',467 keyName: 'facility:x-ray',468 isVisibleOnPopup: 'TRUE',469 keyLabel: 'X-Ray',470 isEditable: 'TRUE',471 helpText: '',472 }, {473 section: 'hospital',474 keyName: 'facility:ambulance',475 isVisibleOnPopup: 'TRUE',476 keyLabel: 'Ambulance Service',477 isEditable: 'TRUE',478 helpText: 'Does the hospital have its own ambulance that can be used during emergencies?',479 }, {480 section: 'hospital',481 keyName: 'personnel:count',482 isVisibleOnPopup: 'TRUE',483 keyLabel: 'Number of Staff',484 isEditable: 'TRUE',485 helpText: '',486 }, {487 section: 'hospital',488 keyName: 'capacity:beds',489 isVisibleOnPopup: 'TRUE',490 keyLabel: 'Number of Beds',491 isEditable: 'TRUE',492 helpText: '',493 }],494 clinic: [{495 section: 'clinic',496 keyName: 'amenity',497 isVisibleOnPopup: 'FALSE',498 keyLabel: '-',499 isEditable: 'FALSE',500 helpText: '',501 }, {502 section: 'clinic',503 keyName: 'healthcare',504 isVisibleOnPopup: 'FALSE',505 keyLabel: '-',506 isEditable: 'FALSE',507 helpText: '',508 }, {509 section: 'clinic',510 keyName: 'name',511 isVisibleOnPopup: 'TRUE',512 keyLabel: 'Name',513 isEditable: 'TRUE',514 helpText: 'Name of the clinic',515 }, {516 section: 'clinic',517 keyName: 'name:ne',518 isVisibleOnPopup: 'TRUE',519 keyLabel: 'नाम',520 isEditable: 'TRUE',521 helpText: 'नेपालीमा नाम',522 }, {523 section: 'clinic',524 keyName: 'contact:phone',525 isVisibleOnPopup: 'TRUE',526 keyLabel: 'Phone',527 isEditable: 'TRUE',528 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',529 }, {530 section: 'clinic',531 keyName: 'contact:email',532 isVisibleOnPopup: 'TRUE',533 keyLabel: 'Email Address',534 isEditable: 'TRUE',535 helpText: 'Email address of the facility that is intended for public use.',536 }, {537 section: 'clinic',538 keyName: 'opening_hours',539 isVisibleOnPopup: 'TRUE',540 keyLabel: 'Opening Hours',541 isEditable: 'TRUE',542 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',543 }, {544 section: 'clinic',545 keyName: 'healthcare:speciality',546 isVisibleOnPopup: 'TRUE',547 keyLabel: 'Specialisation',548 isEditable: 'TRUE',549 helpText: '',550 }],551 health_post: [{552 section: 'health_post',553 keyName: 'amenity',554 isVisibleOnPopup: 'FALSE',555 keyLabel: '-',556 isEditable: 'FALSE',557 helpText: '',558 }, {559 section: 'health_post',560 keyName: 'name',561 isVisibleOnPopup: 'TRUE',562 keyLabel: 'Name',563 isEditable: 'TRUE',564 helpText: 'Name of the health post',565 }, {566 section: 'health_post',567 keyName: 'name:ne',568 isVisibleOnPopup: 'TRUE',569 keyLabel: 'नाम',570 isEditable: 'TRUE',571 helpText: 'नेपालीमा नाम',572 }, {573 section: 'health_post',574 keyName: 'contact:phone',575 isVisibleOnPopup: 'TRUE',576 keyLabel: 'Phone',577 isEditable: 'TRUE',578 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',579 }, {580 section: 'health_post',581 keyName: 'contact:email',582 isVisibleOnPopup: 'TRUE',583 keyLabel: 'Email Address',584 isEditable: 'TRUE',585 helpText: 'Email address of the facility that is intended for public use.',586 }, {587 section: 'health_post',588 keyName: 'opening_hours',589 isVisibleOnPopup: 'TRUE',590 keyLabel: 'Opening Hours',591 isEditable: 'TRUE',592 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',593 }, {594 section: 'health_post',595 keyName: 'operator:type',596 isVisibleOnPopup: 'TRUE',597 keyLabel: 'Operator Type',598 isEditable: 'TRUE',599 helpText: 'Is this facility operated by the government, private sector, community or other entities?',600 }],601 pharmacy: [{602 section: 'pharmacy',603 keyName: 'amenity',604 isVisibleOnPopup: 'FALSE',605 keyLabel: '-',606 isEditable: 'FALSE',607 helpText: '',608 }, {609 section: 'pharmacy',610 keyName: 'name',611 isVisibleOnPopup: 'TRUE',612 keyLabel: 'Name',613 isEditable: 'TRUE',614 helpText: 'Name of the pharmacy',615 }, {616 section: 'pharmacy',617 keyName: 'name:ne',618 isVisibleOnPopup: 'TRUE',619 keyLabel: 'नाम',620 isEditable: 'TRUE',621 helpText: 'नेपालीमा नाम',622 }, {623 section: 'pharmacy',624 keyName: 'contact:phone',625 isVisibleOnPopup: 'TRUE',626 keyLabel: 'Phone',627 isEditable: 'TRUE',628 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',629 }, {630 section: 'pharmacy',631 keyName: 'contact:email',632 isVisibleOnPopup: 'TRUE',633 keyLabel: 'Email Address',634 isEditable: 'TRUE',635 helpText: 'Email address of the facility that is intended for public use.',636 }, {637 section: 'pharmacy',638 keyName: 'opening_hours',639 isVisibleOnPopup: 'TRUE',640 keyLabel: 'Opening Hours',641 isEditable: 'TRUE',642 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',643 }],644 dentist: [{645 section: 'dentist',646 keyName: 'amenity',647 isVisibleOnPopup: 'FALSE',648 keyLabel: '',649 isEditable: 'FALSE',650 helpText: '',651 }, {652 section: 'dentist',653 keyName: 'name',654 isVisibleOnPopup: 'TRUE',655 keyLabel: 'Name',656 isEditable: 'TRUE',657 helpText: 'Name of the dental clinic',658 }, {659 section: 'dentist',660 keyName: 'name:ne',661 isVisibleOnPopup: 'TRUE',662 keyLabel: 'नाम',663 isEditable: 'TRUE',664 helpText: 'नेपालीमा नाम',665 }, {666 section: 'dentist',667 keyName: 'contact:phone',668 isVisibleOnPopup: 'TRUE',669 keyLabel: 'Phone',670 isEditable: 'TRUE',671 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',672 }, {673 section: 'dentist',674 keyName: 'contact:email',675 isVisibleOnPopup: 'TRUE',676 keyLabel: 'Email Address',677 isEditable: 'TRUE',678 helpText: 'Email address of the facility that is intended for public use.',679 }, {680 section: 'dentist',681 keyName: 'opening_hours',682 isVisibleOnPopup: 'TRUE',683 keyLabel: 'Opening Hours',684 isEditable: 'TRUE',685 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',686 }],687 government: [{688 section: 'government',689 keyName: 'office',690 isVisibleOnPopup: 'FALSE',691 keyLabel: '',692 isEditable: 'FALSE',693 helpText: '',694 }, {695 section: 'government',696 keyName: 'name',697 isVisibleOnPopup: 'TRUE',698 keyLabel: 'Name',699 isEditable: 'TRUE',700 helpText: 'Name of the facility',701 }, {702 section: 'government',703 keyName: 'name:ne',704 isVisibleOnPopup: 'TRUE',705 keyLabel: 'नाम',706 isEditable: 'TRUE',707 helpText: 'नेपालीमा नाम',708 }, {709 section: 'government',710 keyName: 'contact:phone',711 isVisibleOnPopup: 'TRUE',712 keyLabel: 'Phone',713 isEditable: 'TRUE',714 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',715 }, {716 section: 'government',717 keyName: 'contact:email',718 isVisibleOnPopup: 'TRUE',719 keyLabel: 'Email Address',720 isEditable: 'TRUE',721 helpText: 'Email address of the facility that is intended for public use.',722 }, {723 section: 'government',724 keyName: 'opening_hours',725 isVisibleOnPopup: 'TRUE',726 keyLabel: 'Opening Hours',727 isEditable: 'TRUE',728 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',729 }],730 ngo: [{731 section: 'ngo',732 keyName: 'office',733 isVisibleOnPopup: 'FALSE',734 keyLabel: '',735 isEditable: 'FALSE',736 helpText: '',737 }, {738 section: 'ngo',739 keyName: 'name',740 isVisibleOnPopup: 'TRUE',741 keyLabel: 'Name',742 isEditable: 'TRUE',743 helpText: 'Name of the NGO',744 }, {745 section: 'ngo',746 keyName: 'name:ne',747 isVisibleOnPopup: 'TRUE',748 keyLabel: 'नाम',749 isEditable: 'TRUE',750 helpText: 'नेपालीमा नाम',751 }, {752 section: 'ngo',753 keyName: 'contact:phone',754 isVisibleOnPopup: 'TRUE',755 keyLabel: 'Phone',756 isEditable: 'TRUE',757 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',758 }, {759 section: 'ngo',760 keyName: 'contact:email',761 isVisibleOnPopup: 'TRUE',762 keyLabel: 'Email Address',763 isEditable: 'TRUE',764 helpText: 'Email address of the facility that is intended for public use.',765 }, {766 section: 'ngo',767 keyName: 'opening_hours',768 isVisibleOnPopup: 'TRUE',769 keyLabel: 'Opening Hours',770 isEditable: 'TRUE',771 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',772 }],773 bank: [{774 section: 'bank',775 keyName: 'amenity',776 isVisibleOnPopup: 'FALSE',777 keyLabel: '',778 isEditable: 'FALSE',779 helpText: '',780 }, {781 section: 'bank',782 keyName: 'name',783 isVisibleOnPopup: 'TRUE',784 keyLabel: 'Name',785 isEditable: 'TRUE',786 helpText: 'Name of the bank',787 }, {788 section: 'bank',789 keyName: 'name:ne',790 isVisibleOnPopup: 'TRUE',791 keyLabel: 'नाम',792 isEditable: 'TRUE',793 helpText: 'नेपालीमा नाम',794 }, {795 section: 'bank',796 keyName: 'contact:phone',797 isVisibleOnPopup: 'TRUE',798 keyLabel: 'Phone',799 isEditable: 'TRUE',800 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',801 }, {802 section: 'bank',803 keyName: 'contact:email',804 isVisibleOnPopup: 'TRUE',805 keyLabel: 'Email Address',806 isEditable: 'TRUE',807 helpText: 'Email address of the facility that is intended for public use.',808 }, {809 section: 'bank',810 keyName: 'opening_hours',811 isVisibleOnPopup: 'TRUE',812 keyLabel: 'Opening Hours',813 isEditable: 'TRUE',814 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',815 }, {816 section: 'bank',817 keyName: 'operator:type',818 isVisibleOnPopup: 'TRUE',819 keyLabel: 'Operator Type',820 isEditable: 'TRUE',821 helpText: 'Is this facility operated by the government, private sector, community or other entities?',822 }, {823 section: 'bank',824 keyName: 'nrb_class',825 isVisibleOnPopup: 'TRUE',826 keyLabel: 'Bank Classfication',827 isEditable: 'TRUE',828 helpText: '',829 }, {830 section: 'bank',831 keyName: 'atm',832 isVisibleOnPopup: 'TRUE',833 keyLabel: 'ATM Available',834 isEditable: 'TRUE',835 helpText: '',836 }],837 fuel: [{838 section: 'fuel',839 keyName: 'amenity',840 isVisibleOnPopup: 'FALSE',841 keyLabel: '',842 isEditable: 'FALSE',843 helpText: '',844 }, {845 section: 'fuel',846 keyName: 'name',847 isVisibleOnPopup: 'TRUE',848 keyLabel: 'Name',849 isEditable: 'TRUE',850 helpText: 'Name of the fuel station',851 }, {852 section: 'fuel',853 keyName: 'name:ne',854 isVisibleOnPopup: 'TRUE',855 keyLabel: 'नाम',856 isEditable: 'TRUE',857 helpText: 'नेपालीमा नाम',858 }, {859 section: 'fuel',860 keyName: 'contact:phone',861 isVisibleOnPopup: 'TRUE',862 keyLabel: 'Phone',863 isEditable: 'TRUE',864 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',865 }, {866 section: 'fuel',867 keyName: 'contact:email',868 isVisibleOnPopup: 'TRUE',869 keyLabel: 'Email Address',870 isEditable: 'TRUE',871 helpText: 'Email address of the facility that is intended for public use.',872 }, {873 section: 'fuel',874 keyName: 'opening_hours',875 isVisibleOnPopup: 'TRUE',876 keyLabel: 'Opening Hours',877 isEditable: 'TRUE',878 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',879 }],880 radio: [{881 section: 'radio',882 keyName: 'amenity',883 isVisibleOnPopup: 'FALSE',884 keyLabel: '',885 isEditable: 'FALSE',886 helpText: '',887 }, {888 section: 'radio',889 keyName: 'studio',890 isVisibleOnPopup: 'FALSE',891 keyLabel: '',892 isEditable: 'FALSE',893 helpText: '',894 }, {895 section: 'radio',896 keyName: 'name',897 isVisibleOnPopup: 'TRUE',898 keyLabel: 'Name',899 isEditable: 'TRUE',900 helpText: 'Name of the radio station',901 }, {902 section: 'radio',903 keyName: 'name:ne',904 isVisibleOnPopup: 'TRUE',905 keyLabel: 'नाम',906 isEditable: 'TRUE',907 helpText: 'नेपालीमा नाम',908 }, {909 section: 'radio',910 keyName: 'contact:phone',911 isVisibleOnPopup: 'TRUE',912 keyLabel: 'Phone',913 isEditable: 'TRUE',914 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',915 }, {916 section: 'radio',917 keyName: 'contact:email',918 isVisibleOnPopup: 'TRUE',919 keyLabel: 'Email Address',920 isEditable: 'TRUE',921 helpText: 'Email address of the facility that is intended for public use.',922 }, {923 section: 'radio',924 keyName: 'opening_hours',925 isVisibleOnPopup: 'TRUE',926 keyLabel: 'Opening Hours',927 isEditable: 'TRUE',928 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',929 }, {930 section: 'radio',931 keyName: 'frequency',932 isVisibleOnPopup: 'TRUE',933 keyLabel: 'Frequency',934 isEditable: 'TRUE',935 helpText: '',936 }],937 television: [{938 section: 'television',939 keyName: 'amenity',940 isVisibleOnPopup: 'FALSE',941 keyLabel: '',942 isEditable: 'FALSE',943 helpText: '',944 }, {945 section: 'television',946 keyName: 'studio',947 isVisibleOnPopup: 'FALSE',948 keyLabel: '',949 isEditable: 'FALSE',950 helpText: '',951 }, {952 section: 'television',953 keyName: 'name',954 isVisibleOnPopup: 'TRUE',955 keyLabel: 'Name',956 isEditable: 'TRUE',957 helpText: 'Name of the TV station',958 }, {959 section: 'television',960 keyName: 'name:ne',961 isVisibleOnPopup: 'TRUE',962 keyLabel: 'नाम',963 isEditable: 'TRUE',964 helpText: 'नेपालीमा नाम',965 }, {966 section: 'television',967 keyName: 'contact:phone',968 isVisibleOnPopup: 'TRUE',969 keyLabel: 'Phone',970 isEditable: 'TRUE',971 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',972 }, {973 section: 'television',974 keyName: 'contact:email',975 isVisibleOnPopup: 'TRUE',976 keyLabel: 'Email Address',977 isEditable: 'TRUE',978 helpText: 'Email address of the facility that is intended for public use.',979 }, {980 section: 'television',981 keyName: 'opening_hours',982 isVisibleOnPopup: 'TRUE',983 keyLabel: 'Opening Hours',984 isEditable: 'TRUE',985 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',986 }],987 newspaper: [{988 section: 'newspaper',989 keyName: 'office',990 isVisibleOnPopup: 'FALSE',991 keyLabel: '',992 isEditable: 'FALSE',993 helpText: '',994 }, {995 section: 'newspaper',996 keyName: 'name',997 isVisibleOnPopup: 'TRUE',998 keyLabel: 'Name',999 isEditable: 'TRUE',1000 helpText: 'Name of the newspaper',1001 }, {1002 section: 'newspaper',1003 keyName: 'name:ne',1004 isVisibleOnPopup: 'TRUE',1005 keyLabel: 'नाम',1006 isEditable: 'TRUE',1007 helpText: 'नेपालीमा नाम',1008 }, {1009 section: 'newspaper',1010 keyName: 'contact:phone',1011 isVisibleOnPopup: 'TRUE',1012 keyLabel: 'Phone',1013 isEditable: 'TRUE',1014 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1015 }, {1016 section: 'newspaper',1017 keyName: 'contact:email',1018 isVisibleOnPopup: 'TRUE',1019 keyLabel: 'Email Address',1020 isEditable: 'TRUE',1021 helpText: 'Email address of the facility that is intended for public use.',1022 }, {1023 section: 'newspaper',1024 keyName: 'opening_hours',1025 isVisibleOnPopup: 'TRUE',1026 keyLabel: 'Opening Hours',1027 isEditable: 'TRUE',1028 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1029 }],1030 college: [{1031 section: 'college',1032 keyName: 'amenity',1033 isVisibleOnPopup: 'FALSE',1034 keyLabel: '-',1035 isEditable: 'FALSE',1036 helpText: '',1037 }, {1038 section: 'college',1039 keyName: 'name',1040 isVisibleOnPopup: 'TRUE',1041 keyLabel: 'Name',1042 isEditable: 'TRUE',1043 helpText: 'Name of the college',1044 }, {1045 section: 'college',1046 keyName: 'name:ne',1047 isVisibleOnPopup: 'TRUE',1048 keyLabel: 'नाम',1049 isEditable: 'TRUE',1050 helpText: 'नेपालीमा नाम',1051 }, {1052 section: 'college',1053 keyName: 'operator:type',1054 isVisibleOnPopup: 'TRUE',1055 keyLabel: 'Operator Type',1056 isEditable: 'TRUE',1057 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1058 }, {1059 section: 'college',1060 keyName: 'student:count',1061 isVisibleOnPopup: 'TRUE',1062 keyLabel: 'Number of students',1063 isEditable: 'TRUE',1064 helpText: '',1065 }, {1066 section: 'college',1067 keyName: 'personnel:count',1068 isVisibleOnPopup: 'TRUE',1069 keyLabel: 'Number of employees',1070 isEditable: 'TRUE',1071 helpText: '',1072 }, {1073 section: 'college',1074 keyName: 'opening_hours',1075 isVisibleOnPopup: 'TRUE',1076 keyLabel: 'Opening Hours',1077 isEditable: 'TRUE',1078 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1079 }, {1080 section: 'college',1081 keyName: 'contact:phone',1082 isVisibleOnPopup: 'TRUE',1083 keyLabel: 'Phone Number',1084 isEditable: 'TRUE',1085 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1086 }, {1087 section: 'college',1088 keyName: 'contact:email',1089 isVisibleOnPopup: 'TRUE',1090 keyLabel: 'Email Address',1091 isEditable: 'TRUE',1092 helpText: 'Email address of the facility that is intended for public use.',1093 }],1094 university: [{1095 section: 'university',1096 keyName: 'amenity',1097 isVisibleOnPopup: 'FALSE',1098 keyLabel: '-',1099 isEditable: 'FALSE',1100 helpText: '',1101 }, {1102 section: 'university',1103 keyName: 'name',1104 isVisibleOnPopup: 'TRUE',1105 keyLabel: 'Name',1106 isEditable: 'TRUE',1107 helpText: 'Name of the university',1108 }, {1109 section: 'university',1110 keyName: 'name:ne',1111 isVisibleOnPopup: 'TRUE',1112 keyLabel: 'नाम',1113 isEditable: 'TRUE',1114 helpText: 'नेपालीमा नाम',1115 }, {1116 section: 'university',1117 keyName: 'operator:type',1118 isVisibleOnPopup: 'TRUE',1119 keyLabel: 'Operator Type',1120 isEditable: 'TRUE',1121 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1122 }, {1123 section: 'university',1124 keyName: 'student:count',1125 isVisibleOnPopup: 'TRUE',1126 keyLabel: 'Number of students',1127 isEditable: 'TRUE',1128 helpText: '',1129 }, {1130 section: 'university',1131 keyName: 'personnel:count',1132 isVisibleOnPopup: 'TRUE',1133 keyLabel: 'Number of employees',1134 isEditable: 'TRUE',1135 helpText: '',1136 }, {1137 section: 'university',1138 keyName: 'opening_hours',1139 isVisibleOnPopup: 'TRUE',1140 keyLabel: 'Opening Hours',1141 isEditable: 'TRUE',1142 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1143 }, {1144 section: 'university',1145 keyName: 'contact:phone',1146 isVisibleOnPopup: 'TRUE',1147 keyLabel: 'Phone Number',1148 isEditable: 'TRUE',1149 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1150 }, {1151 section: 'university',1152 keyName: 'contact:email',1153 isVisibleOnPopup: 'TRUE',1154 keyLabel: 'Email Address',1155 isEditable: 'TRUE',1156 helpText: 'Email address of the facility that is intended for public use.',1157 }],1158 kindergarten: [{1159 section: 'kindergarten',1160 keyName: 'amenity',1161 isVisibleOnPopup: 'FALSE',1162 keyLabel: '-',1163 isEditable: 'FALSE',1164 helpText: '',1165 }, {1166 section: 'kindergarten',1167 keyName: 'name',1168 isVisibleOnPopup: 'TRUE',1169 keyLabel: 'Name',1170 isEditable: 'TRUE',1171 helpText: 'Name of the kindergarten',1172 }, {1173 section: 'kindergarten',1174 keyName: 'name:ne',1175 isVisibleOnPopup: 'TRUE',1176 keyLabel: 'नाम',1177 isEditable: 'TRUE',1178 helpText: 'नेपालीमा नाम',1179 }, {1180 section: 'kindergarten',1181 keyName: 'operator:type',1182 isVisibleOnPopup: 'TRUE',1183 keyLabel: 'Operator Type',1184 isEditable: 'TRUE',1185 helpText: 'Is this facility operated by the government, private sector, community or other entities?',1186 }, {1187 section: 'kindergarten',1188 keyName: 'student:count',1189 isVisibleOnPopup: 'TRUE',1190 keyLabel: 'Number of students',1191 isEditable: 'TRUE',1192 helpText: '',1193 }, {1194 section: 'kindergarten',1195 keyName: 'personnel:count',1196 isVisibleOnPopup: 'TRUE',1197 keyLabel: 'Number of employees',1198 isEditable: 'TRUE',1199 helpText: '',1200 }, {1201 section: 'kindergarten',1202 keyName: 'opening_hours',1203 isVisibleOnPopup: 'TRUE',1204 keyLabel: 'Opening Hours',1205 isEditable: 'TRUE',1206 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1207 }, {1208 section: 'kindergarten',1209 keyName: 'contact:phone',1210 isVisibleOnPopup: 'TRUE',1211 keyLabel: 'Phone Number',1212 isEditable: 'TRUE',1213 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1214 }, {1215 section: 'kindergarten',1216 keyName: 'contact:email',1217 isVisibleOnPopup: 'TRUE',1218 keyLabel: 'Email Address',1219 isEditable: 'TRUE',1220 helpText: 'Email address of the facility that is intended for public use.',1221 }],1222 buddhist: [{1223 section: 'buddhist',1224 keyName: 'amenity',1225 isVisibleOnPopup: 'FALSE',1226 keyLabel: '-',1227 isEditable: 'FALSE',1228 helpText: '',1229 }, {1230 section: 'buddhist',1231 keyName: 'name',1232 isVisibleOnPopup: 'TRUE',1233 keyLabel: 'Name',1234 isEditable: 'TRUE',1235 helpText: 'Name of the monastery',1236 }, {1237 section: 'buddhist',1238 keyName: 'name:ne',1239 isVisibleOnPopup: 'TRUE',1240 keyLabel: 'नाम',1241 isEditable: 'TRUE',1242 helpText: 'नेपालीमा नाम',1243 }, {1244 section: 'buddhist',1245 keyName: 'religion',1246 isVisibleOnPopup: 'TRUE',1247 keyLabel: 'Religion',1248 isEditable: 'TRUE',1249 helpText: '',1250 }, {1251 section: 'buddhist',1252 keyName: 'opening_hours',1253 isVisibleOnPopup: 'TRUE',1254 keyLabel: 'Opening Hours',1255 isEditable: 'TRUE',1256 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1257 }, {1258 section: 'buddhist',1259 keyName: 'contact:phone',1260 isVisibleOnPopup: 'TRUE',1261 keyLabel: 'Phone Number',1262 isEditable: 'TRUE',1263 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1264 }, {1265 section: 'buddhist',1266 keyName: 'contact:email',1267 isVisibleOnPopup: 'TRUE',1268 keyLabel: 'Email Address',1269 isEditable: 'TRUE',1270 helpText: 'Email address of the facility that is intended for public use.',1271 }, {1272 section: 'buddhist',1273 keyName: 'facility:drinking_water',1274 isVisibleOnPopup: 'TRUE',1275 keyLabel: 'Drinking Water',1276 isEditable: 'TRUE',1277 helpText: '',1278 }, {1279 section: 'buddhist',1280 keyName: 'facility:toilet',1281 isVisibleOnPopup: 'TRUE',1282 keyLabel: 'Toilet',1283 isEditable: 'TRUE',1284 helpText: '',1285 }],1286 christian: [{1287 section: 'christian',1288 keyName: 'amenity',1289 isVisibleOnPopup: 'FALSE',1290 keyLabel: '-',1291 isEditable: 'FALSE',1292 helpText: '',1293 }, {1294 section: 'christian',1295 keyName: 'name',1296 isVisibleOnPopup: 'TRUE',1297 keyLabel: 'Name',1298 isEditable: 'TRUE',1299 helpText: 'Name of the church',1300 }, {1301 section: 'christian',1302 keyName: 'name:ne',1303 isVisibleOnPopup: 'TRUE',1304 keyLabel: 'नाम',1305 isEditable: 'TRUE',1306 helpText: 'नेपालीमा नाम',1307 }, {1308 section: 'christian',1309 keyName: 'religion',1310 isVisibleOnPopup: 'TRUE',1311 keyLabel: 'Religion',1312 isEditable: 'TRUE',1313 helpText: '',1314 }, {1315 section: 'christian',1316 keyName: 'opening_hours',1317 isVisibleOnPopup: 'TRUE',1318 keyLabel: 'Opening Hours',1319 isEditable: 'TRUE',1320 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1321 }, {1322 section: 'christian',1323 keyName: 'contact:phone',1324 isVisibleOnPopup: 'TRUE',1325 keyLabel: 'Phone Number',1326 isEditable: 'TRUE',1327 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1328 }, {1329 section: 'christian',1330 keyName: 'contact:email',1331 isVisibleOnPopup: 'TRUE',1332 keyLabel: 'Email Address',1333 isEditable: 'TRUE',1334 helpText: 'Email address of the facility that is intended for public use.',1335 }, {1336 section: 'christian',1337 keyName: 'facility:drinking_water',1338 isVisibleOnPopup: 'TRUE',1339 keyLabel: 'Drinking Water',1340 isEditable: 'TRUE',1341 helpText: '',1342 }, {1343 section: 'christian',1344 keyName: 'facility:toilet',1345 isVisibleOnPopup: 'TRUE',1346 keyLabel: 'Toilet',1347 isEditable: 'TRUE',1348 helpText: '',1349 }],1350 muslim: [{1351 section: 'muslim',1352 keyName: 'amenity',1353 isVisibleOnPopup: 'FALSE',1354 keyLabel: '-',1355 isEditable: 'FALSE',1356 helpText: '',1357 }, {1358 section: 'muslim',1359 keyName: 'name',1360 isVisibleOnPopup: 'TRUE',1361 keyLabel: 'Name',1362 isEditable: 'TRUE',1363 helpText: 'Name of the mosque',1364 }, {1365 section: 'muslim',1366 keyName: 'name:ne',1367 isVisibleOnPopup: 'TRUE',1368 keyLabel: 'नाम',1369 isEditable: 'TRUE',1370 helpText: 'नेपालीमा नाम',1371 }, {1372 section: 'muslim',1373 keyName: 'religion',1374 isVisibleOnPopup: 'TRUE',1375 keyLabel: 'Religion',1376 isEditable: 'TRUE',1377 helpText: '',1378 }, {1379 section: 'muslim',1380 keyName: 'opening_hours',1381 isVisibleOnPopup: 'TRUE',1382 keyLabel: 'Opening Hours',1383 isEditable: 'TRUE',1384 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1385 }, {1386 section: 'muslim',1387 keyName: 'contact:phone',1388 isVisibleOnPopup: 'TRUE',1389 keyLabel: 'Phone Number',1390 isEditable: 'TRUE',1391 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1392 }, {1393 section: 'muslim',1394 keyName: 'contact:email',1395 isVisibleOnPopup: 'TRUE',1396 keyLabel: 'Email Address',1397 isEditable: 'TRUE',1398 helpText: 'Email address of the facility that is intended for public use.',1399 }, {1400 section: 'muslim',1401 keyName: 'facility:drinking_water',1402 isVisibleOnPopup: 'TRUE',1403 keyLabel: 'Drinking Water',1404 isEditable: 'TRUE',1405 helpText: '',1406 }, {1407 section: 'muslim',1408 keyName: 'facility:toilet',1409 isVisibleOnPopup: 'TRUE',1410 keyLabel: 'Toilet',1411 isEditable: 'TRUE',1412 helpText: '',1413 }],1414 atm: [{1415 section: 'atm',1416 keyName: 'amenity',1417 isVisibleOnPopup: 'FALSE',1418 keyLabel: '',1419 isEditable: 'FALSE',1420 helpText: '',1421 }, {1422 section: 'atm',1423 keyName: 'network',1424 isVisibleOnPopup: 'TRUE',1425 keyLabel: 'Network Supported',1426 isEditable: 'TRUE',1427 helpText: '',1428 }, {1429 section: 'atm',1430 keyName: 'opening_hours',1431 isVisibleOnPopup: 'TRUE',1432 keyLabel: 'Opening Hours',1433 isEditable: 'TRUE',1434 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1435 }],1436 restaurant: [{1437 section: 'restaurant',1438 keyName: 'amenity',1439 isVisibleOnPopup: 'FALSE',1440 keyLabel: '',1441 isEditable: 'FALSE',1442 helpText: '',1443 }, {1444 section: 'restaurant',1445 keyName: 'name',1446 isVisibleOnPopup: 'TRUE',1447 keyLabel: 'Name',1448 isEditable: 'TRUE',1449 helpText: 'Name of the restaurant',1450 }, {1451 section: 'restaurant',1452 keyName: 'name:ne',1453 isVisibleOnPopup: 'TRUE',1454 keyLabel: 'नाम',1455 isEditable: 'TRUE',1456 helpText: 'नेपालीमा नाम',1457 }],1458 museum: [{1459 section: 'museum',1460 keyName: 'tourism',1461 isVisibleOnPopup: 'FALSE',1462 keyLabel: '',1463 isEditable: 'FALSE',1464 helpText: '',1465 }, {1466 section: 'museum',1467 keyName: 'name',1468 isVisibleOnPopup: 'TRUE',1469 keyLabel: 'Name',1470 isEditable: 'TRUE',1471 helpText: 'Name of the museum',1472 }, {1473 section: 'museum',1474 keyName: 'name:ne',1475 isVisibleOnPopup: 'TRUE',1476 keyLabel: 'नाम',1477 isEditable: 'TRUE',1478 helpText: 'नेपालीमा नाम',1479 }, {1480 section: 'museum',1481 keyName: 'contact:phone',1482 isVisibleOnPopup: 'TRUE',1483 keyLabel: 'Phone',1484 isEditable: 'TRUE',1485 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1486 }, {1487 section: 'museum',1488 keyName: 'contact:email',1489 isVisibleOnPopup: 'TRUE',1490 keyLabel: 'Email Address',1491 isEditable: 'TRUE',1492 helpText: 'Email address of the facility that is intended for public use.',1493 }, {1494 section: 'museum',1495 keyName: 'opening_hours',1496 isVisibleOnPopup: 'TRUE',1497 keyLabel: 'Opening Hours',1498 isEditable: 'TRUE',1499 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1500 }],1501 park: [{1502 section: 'park',1503 keyName: 'tourism',1504 isVisibleOnPopup: 'FALSE',1505 keyLabel: '',1506 isEditable: 'FALSE',1507 helpText: '',1508 }, {1509 section: 'park',1510 keyName: 'name',1511 isVisibleOnPopup: 'TRUE',1512 keyLabel: 'Name',1513 isEditable: 'TRUE',1514 helpText: 'Name of the park',1515 }, {1516 section: 'park',1517 keyName: 'name:ne',1518 isVisibleOnPopup: 'TRUE',1519 keyLabel: 'नाम',1520 isEditable: 'TRUE',1521 helpText: 'नेपालीमा नाम',1522 }, {1523 section: 'park',1524 keyName: 'contact:phone',1525 isVisibleOnPopup: 'TRUE',1526 keyLabel: 'Phone',1527 isEditable: 'TRUE',1528 helpText: 'Telephone number associated with this facility. Should be in international format eg. <country code>-<area code>-<local number>.',1529 }, {1530 section: 'park',1531 keyName: 'contact:email',1532 isVisibleOnPopup: 'TRUE',1533 keyLabel: 'Email Address',1534 isEditable: 'TRUE',1535 helpText: 'Email address of the facility that is intended for public use.',1536 }, {1537 section: 'park',1538 keyName: 'opening_hours',1539 isVisibleOnPopup: 'TRUE',1540 keyLabel: 'Opening Hours',1541 isEditable: 'TRUE',1542 helpText: 'What are the hours of operation for this facility? For example, Mo-Fr 10:00-17:00.',1543 }],1544};...

Full Screen

Full Screen

tagmappings.js

Source:tagmappings.js Github

copy

Full Screen

1export const tagMapper = {2 school: [{3 section: "school",4 keyName: "amenity",5 isVisibleOnPopup: "FALSE",6 keyLabel: "-",7 isEditable: "FALSE",8 }, {9 section: "school",10 keyName: "name",11 isVisibleOnPopup: "TRUE",12 keyLabel: "Name",13 isEditable: "TRUE",14 }, {15 section: "school",16 keyName: "name:ne",17 isVisibleOnPopup: "TRUE",18 keyLabel: "नाम",19 isEditable: "TRUE",20 }, {21 section: "school",22 keyName: "operator:type",23 isVisibleOnPopup: "TRUE",24 keyLabel: "Operator Type",25 isEditable: "TRUE",26 }, {27 section: "school",28 keyName: "student:count",29 isVisibleOnPopup: "TRUE",30 keyLabel: "Number of students",31 isEditable: "TRUE",32 }, {33 section: "school",34 keyName: "personnel:count",35 isVisibleOnPopup: "TRUE",36 keyLabel: "Number of employees",37 isEditable: "TRUE",38 }, {39 section: "school",40 keyName: "opening_hours",41 isVisibleOnPopup: "TRUE",42 keyLabel: "Opening Hours",43 isEditable: "TRUE",44 }, {45 section: "school",46 keyName: "contact:phone",47 isVisibleOnPopup: "TRUE",48 keyLabel: "Phone Number",49 isEditable: "TRUE",50 }, {51 section: "school",52 keyName: "contact:email",53 isVisibleOnPopup: "TRUE",54 keyLabel: "Email Address",55 isEditable: "TRUE",56 }],57 hotel: [{58 section: "hotel",59 keyName: "amenity",60 isVisibleOnPopup: "FALSE",61 keyLabel: "-",62 isEditable: "FALSE",63 }, {64 section: "hotel",65 keyName: "name",66 isVisibleOnPopup: "TRUE",67 keyLabel: "Name",68 isEditable: "TRUE",69 }, {70 section: "hotel",71 keyName: "name:ne",72 isVisibleOnPopup: "TRUE",73 keyLabel: "नाम",74 isEditable: "TRUE",75 }, {76 section: "hotel",77 keyName: "stars",78 isVisibleOnPopup: "TRUE",79 keyLabel: "Stars",80 isEditable: "TRUE",81 }, {82 section: "hotel",83 keyName: "beds",84 isVisibleOnPopup: "TRUE",85 keyLabel: "Number of beds",86 isEditable: "TRUE",87 }, {88 section: "hotel",89 keyName: "rooms",90 isVisibleOnPopup: "TRUE",91 keyLabel: "Number of rooms",92 isEditable: "TRUE",93 }, {94 section: "hotel",95 keyName: "opening_hours",96 isVisibleOnPopup: "TRUE",97 keyLabel: "Opening Hours",98 isEditable: "TRUE",99 }, {100 section: "hotel",101 keyName: "contact:phone",102 isVisibleOnPopup: "TRUE",103 keyLabel: "Phone Number",104 isEditable: "TRUE",105 }, {106 section: "hotel",107 keyName: "contact:email",108 isVisibleOnPopup: "TRUE",109 keyLabel: "Email Address",110 isEditable: "TRUE",111 }],112 veterinary: [{113 section: "veterinary",114 keyName: "amenity",115 isVisibleOnPopup: "FALSE",116 keyLabel: "-",117 isEditable: "FALSE",118 }, {119 section: "veterinary",120 keyName: "name",121 isVisibleOnPopup: "TRUE",122 keyLabel: "Name",123 isEditable: "TRUE",124 }, {125 section: "veterinary",126 keyName: "name:ne",127 isVisibleOnPopup: "TRUE",128 keyLabel: "नाम",129 isEditable: "TRUE",130 }, {131 section: "veterinary",132 keyName: "opening_hours",133 isVisibleOnPopup: "TRUE",134 keyLabel: "Opening Hours",135 isEditable: "TRUE",136 }, {137 section: "veterinary",138 keyName: "contact:phone",139 isVisibleOnPopup: "TRUE",140 keyLabel: "Phone Number",141 isEditable: "TRUE",142 }, {143 section: "veterinary",144 keyName: "contact:email",145 isVisibleOnPopup: "TRUE",146 keyLabel: "Email Address",147 isEditable: "TRUE",148 }],149 hindu: [{150 section: "hindu",151 keyName: "amenity",152 isVisibleOnPopup: "FALSE",153 keyLabel: "-",154 isEditable: "FALSE",155 }, {156 section: "hindu",157 keyName: "name",158 isVisibleOnPopup: "TRUE",159 keyLabel: "Name",160 isEditable: "TRUE",161 }, {162 section: "hindu",163 keyName: "name:ne",164 isVisibleOnPopup: "TRUE",165 keyLabel: "नाम",166 isEditable: "TRUE",167 }, {168 section: "hindu",169 keyName: "religion",170 isVisibleOnPopup: "TRUE",171 keyLabel: "Religion",172 isEditable: "TRUE",173 }, {174 section: "hindu",175 keyName: "opening_hours",176 isVisibleOnPopup: "TRUE",177 keyLabel: "Opening Hours",178 isEditable: "TRUE",179 }, {180 section: "hindu",181 keyName: "contact:phone",182 isVisibleOnPopup: "TRUE",183 keyLabel: "Phone Number",184 isEditable: "TRUE",185 }, {186 section: "hindu",187 keyName: "contact:email",188 isVisibleOnPopup: "TRUE",189 keyLabel: "Email Address",190 isEditable: "TRUE",191 }, {192 section: "hindu",193 keyName: "facility:drinking_water",194 isVisibleOnPopup: "TRUE",195 keyLabel: "Drinking Water",196 isEditable: "TRUE",197 }, {198 section: "hindu",199 keyName: "facility:toilet",200 isVisibleOnPopup: "TRUE",201 keyLabel: "Toilet",202 isEditable: "TRUE",203 }],204 storage_tank: [{205 section: "storage_tank",206 keyName: "amenity",207 isVisibleOnPopup: "FALSE",208 keyLabel: "Water Storage Tank",209 isEditable: "FALSE",210 }, {211 section: "storage_tank",212 keyName: "name",213 isVisibleOnPopup: "TRUE",214 keyLabel: "Name",215 isEditable: "TRUE",216 }, {217 section: "storage_tank",218 keyName: "name:ne",219 isVisibleOnPopup: "TRUE",220 keyLabel: "नाम",221 isEditable: "TRUE",222 }, {223 section: "storage_tank",224 keyName: "opening_hours",225 isVisibleOnPopup: "TRUE",226 keyLabel: "Opening Hours",227 isEditable: "TRUE",228 }, {229 section: "storage_tank",230 keyName: "operator:type",231 isVisibleOnPopup: "TRUE",232 keyLabel: "Operator Type",233 isEditable: "TRUE",234 },{235 section: "storage_tank",236 keyName: "drinking_water",237 isVisibleOnPopup: "TRUE",238 keyLabel: "Drinking Water",239 isEditable: "TRUE",240 }],241 water_tap: [{242 section: "water_tap",243 keyName: "amenity",244 isVisibleOnPopup: "FALSE",245 keyLabel: "Water Storage Tank",246 isEditable: "FALSE",247 }, {248 section: "water_tap",249 keyName: "name",250 isVisibleOnPopup: "TRUE",251 keyLabel: "Name",252 isEditable: "TRUE",253 }, {254 section: "water_tap",255 keyName: "name:ne",256 isVisibleOnPopup: "TRUE",257 keyLabel: "नाम",258 isEditable: "TRUE",259 }, {260 section: "water_tap",261 keyName: "opening_hours",262 isVisibleOnPopup: "TRUE",263 keyLabel: "Opening Hours",264 isEditable: "TRUE",265 }, {266 section: "water_tap",267 keyName: "operator:type",268 isVisibleOnPopup: "TRUE",269 keyLabel: "Operator Type",270 isEditable: "TRUE",271 },{272 section: "water_tap",273 keyName: "drinking_water",274 isVisibleOnPopup: "TRUE",275 keyLabel: "Drinking Water",276 isEditable: "TRUE",277 }],278 water_well: [{279 section: "water_well",280 keyName: "amenity",281 isVisibleOnPopup: "FALSE",282 keyLabel: "Water Storage Tank",283 isEditable: "FALSE",284 }, {285 section: "water_well",286 keyName: "name",287 isVisibleOnPopup: "TRUE",288 keyLabel: "Name",289 isEditable: "TRUE",290 }, {291 section: "water_well",292 keyName: "name:ne",293 isVisibleOnPopup: "TRUE",294 keyLabel: "नाम",295 isEditable: "TRUE",296 }, {297 section: "water_well",298 keyName: "opening_hours",299 isVisibleOnPopup: "TRUE",300 keyLabel: "Opening Hours",301 isEditable: "TRUE",302 }, {303 section: "water_well",304 keyName: "operator:type",305 isVisibleOnPopup: "TRUE",306 keyLabel: "Operator Type",307 isEditable: "TRUE",308 },{309 section: "water_well",310 keyName: "drinking_water",311 isVisibleOnPopup: "TRUE",312 keyLabel: "Drinking Water",313 isEditable: "TRUE",314 }],315 police: [{316 section: "police",317 keyName: "amenity",318 isVisibleOnPopup: "FALSE",319 keyLabel: "Police",320 isEditable: "FALSE",321 }, {322 section: "police",323 keyName: "name",324 isVisibleOnPopup: "TRUE",325 keyLabel: "Name",326 isEditable: "TRUE",327 }, {328 section: "police",329 keyName: "name:ne",330 isVisibleOnPopup: "TRUE",331 keyLabel: "नाम",332 isEditable: "TRUE",333 }, {334 section: "police",335 keyName: "opening_hours",336 isVisibleOnPopup: "TRUE",337 keyLabel: "Opening Hours",338 isEditable: "TRUE",339 }, {340 section: "police",341 keyName: "contact:phone",342 isVisibleOnPopup: "TRUE",343 keyLabel: "Phone Number",344 isEditable: "TRUE",345 }, {346 section: "police",347 keyName: "contact:email",348 isVisibleOnPopup: "TRUE",349 keyLabel: "Email Address",350 isEditable: "TRUE",351 }],352 hospital: [{353 section: "hospital",354 keyName: "amenity",355 isVisibleOnPopup: "FALSE",356 keyLabel: "-",357 isEditable: "FALSE",358 }, {359 section: "hospital",360 keyName: "name",361 isVisibleOnPopup: "TRUE",362 keyLabel: "Name",363 isEditable: "TRUE",364 }, {365 section: "hospital",366 keyName: "name:ne",367 isVisibleOnPopup: "TRUE",368 keyLabel: "नाम",369 isEditable: "TRUE",370 }, {371 section: "hospital",372 keyName: "operator:type",373 isVisibleOnPopup: "TRUE",374 keyLabel: "Operator Type",375 isEditable: "TRUE",376 }, {377 section: "hospital",378 keyName: "opening_hours",379 isVisibleOnPopup: "TRUE",380 keyLabel: "Opening Hours",381 isEditable: "TRUE",382 }, {383 section: "hospital",384 keyName: "phone",385 isVisibleOnPopup: "TRUE",386 keyLabel: "Phone Number",387 isEditable: "TRUE",388 }, {389 section: "hospital",390 keyName: "contact:email",391 isVisibleOnPopup: "TRUE",392 keyLabel: "Email Address",393 isEditable: "TRUE",394 }, {395 section: "hospital",396 keyName: "emergency",397 isVisibleOnPopup: "TRUE",398 keyLabel: "Emergency Service",399 isEditable: "TRUE",400 }, {401 section: "hospital",402 keyName: "facility:icu",403 isVisibleOnPopup: "TRUE",404 keyLabel: "ICU",405 isEditable: "TRUE",406 }, {407 section: "hospital",408 keyName: "facility:nicu",409 isVisibleOnPopup: "TRUE",410 keyLabel: "NICU",411 isEditable: "TRUE",412 }, {413 section: "hospital",414 keyName: "facility:operating_theatre",415 isVisibleOnPopup: "TRUE",416 keyLabel: "Operating Theatre",417 isEditable: "TRUE",418 }, {419 section: "hospital",420 keyName: "facility:x-ray",421 isVisibleOnPopup: "TRUE",422 keyLabel: "X-Ray",423 isEditable: "TRUE",424 }, {425 section: "hospital",426 keyName: "facility:ambulance",427 isVisibleOnPopup: "TRUE",428 keyLabel: "Ambulance Service",429 isEditable: "TRUE",430 }, {431 section: "hospital",432 keyName: "personnel:count",433 isVisibleOnPopup: "TRUE",434 keyLabel: "Number of Staff",435 isEditable: "TRUE",436 }, {437 section: "hospital",438 keyName: "capacity:beds",439 isVisibleOnPopup: "TRUE",440 keyLabel: "Number of Beds",441 isEditable: "TRUE",442 }],443 clinic: [{444 section: "clinic",445 keyName: "amenity",446 isVisibleOnPopup: "FALSE",447 keyLabel: "-",448 isEditable: "FALSE",449 }, {450 section: "clinic",451 keyName: "healthcare",452 isVisibleOnPopup: "FALSE",453 keyLabel: "-",454 isEditable: "FALSE",455 }, {456 section: "clinic",457 keyName: "name",458 isVisibleOnPopup: "TRUE",459 keyLabel: "Name",460 isEditable: "TRUE",461 }, {462 section: "clinic",463 keyName: "name:ne",464 isVisibleOnPopup: "TRUE",465 keyLabel: "नाम",466 isEditable: "TRUE",467 }, {468 section: "clinic",469 keyName: "contact:phone",470 isVisibleOnPopup: "TRUE",471 keyLabel: "Phone",472 isEditable: "TRUE",473 }, {474 section: "clinic",475 keyName: "contact:email",476 isVisibleOnPopup: "TRUE",477 keyLabel: "Email Address",478 isEditable: "TRUE",479 }, {480 section: "clinic",481 keyName: "opening_hours",482 isVisibleOnPopup: "TRUE",483 keyLabel: "Opening Hours",484 isEditable: "TRUE",485 }, {486 section: "clinic",487 keyName: "healthcare:speciality",488 isVisibleOnPopup: "TRUE",489 keyLabel: "Specialisation",490 isEditable: "TRUE",491 }],492 health_post: [{493 section: "health_post",494 keyName: "amenity",495 isVisibleOnPopup: "FALSE",496 keyLabel: "-",497 isEditable: "FALSE",498 }, {499 section: "health_post",500 keyName: "name",501 isVisibleOnPopup: "TRUE",502 keyLabel: "Name",503 isEditable: "TRUE",504 }, {505 section: "health_post",506 keyName: "name:ne",507 isVisibleOnPopup: "TRUE",508 keyLabel: "नाम",509 isEditable: "TRUE",510 }, {511 section: "health_post",512 keyName: "contact:phone",513 isVisibleOnPopup: "TRUE",514 keyLabel: "Phone",515 isEditable: "TRUE",516 }, {517 section: "health_post",518 keyName: "contact:email",519 isVisibleOnPopup: "TRUE",520 keyLabel: "Email Address",521 isEditable: "TRUE",522 }, {523 section: "health_post",524 keyName: "opening_hours",525 isVisibleOnPopup: "TRUE",526 keyLabel: "Opening Hours",527 isEditable: "TRUE",528 }, {529 section: "health_post",530 keyName: "operator:type",531 isVisibleOnPopup: "TRUE",532 keyLabel: "Operator Type",533 isEditable: "TRUE",534 }],535 pharmacy: [{536 section: "pharmacy",537 keyName: "amenity",538 isVisibleOnPopup: "FALSE",539 keyLabel: "-",540 isEditable: "FALSE",541 }, {542 section: "pharmacy",543 keyName: "name",544 isVisibleOnPopup: "TRUE",545 keyLabel: "Name",546 isEditable: "TRUE",547 }, {548 section: "pharmacy",549 keyName: "name:ne",550 isVisibleOnPopup: "TRUE",551 keyLabel: "नाम",552 isEditable: "TRUE",553 }, {554 section: "pharmacy",555 keyName: "contact:phone",556 isVisibleOnPopup: "TRUE",557 keyLabel: "Phone",558 isEditable: "TRUE",559 }, {560 section: "pharmacy",561 keyName: "contact:email",562 isVisibleOnPopup: "TRUE",563 keyLabel: "Email Address",564 isEditable: "TRUE",565 }, {566 section: "pharmacy",567 keyName: "opening_hours",568 isVisibleOnPopup: "TRUE",569 keyLabel: "Opening Hours",570 isEditable: "TRUE",571 }],572 dentist: [{573 section: "dentist",574 keyName: "amenity",575 isVisibleOnPopup: "FALSE",576 keyLabel: "",577 isEditable: "FALSE",578 }, {579 section: "dentist",580 keyName: "name",581 isVisibleOnPopup: "TRUE",582 keyLabel: "Name",583 isEditable: "TRUE",584 }, {585 section: "dentist",586 keyName: "name:ne",587 isVisibleOnPopup: "TRUE",588 keyLabel: "नाम",589 isEditable: "TRUE",590 }, {591 section: "dentist",592 keyName: "contact:phone",593 isVisibleOnPopup: "TRUE",594 keyLabel: "Phone",595 isEditable: "TRUE",596 }, {597 section: "dentist",598 keyName: "contact:email",599 isVisibleOnPopup: "TRUE",600 keyLabel: "Email Address",601 isEditable: "TRUE",602 }, {603 section: "dentist",604 keyName: "opening_hours",605 isVisibleOnPopup: "TRUE",606 keyLabel: "Opening Hours",607 isEditable: "TRUE",608 }],609 Veterinarians: [{610 section: "Veterinarians",611 keyName: "amenity",612 isVisibleOnPopup: "FALSE",613 keyLabel: "",614 isEditable: "FALSE",615 }, {616 section: "Veterinarians",617 keyName: "name",618 isVisibleOnPopup: "TRUE",619 keyLabel: "Name",620 isEditable: "TRUE",621 }, {622 section: "Veterinarians",623 keyName: "name:ne",624 isVisibleOnPopup: "TRUE",625 keyLabel: "नाम",626 isEditable: "TRUE",627 }, {628 section: "Veterinarians",629 keyName: "contact:phone",630 isVisibleOnPopup: "TRUE",631 keyLabel: "Phone",632 isEditable: "TRUE",633 }, {634 section: "Veterinarians",635 keyName: "contact:email",636 isVisibleOnPopup: "TRUE",637 keyLabel: "Email Address",638 isEditable: "TRUE",639 }, {640 section: "Veterinarians",641 keyName: "opening_hours",642 isVisibleOnPopup: "TRUE",643 keyLabel: "Opening Hours",644 isEditable: "TRUE",645 }],646 government: [{647 section: "government",648 keyName: "office",649 isVisibleOnPopup: "FALSE",650 keyLabel: "",651 isEditable: "FALSE",652 }, {653 section: "government",654 keyName: "name",655 isVisibleOnPopup: "TRUE",656 keyLabel: "Name",657 isEditable: "TRUE",658 }, {659 section: "government",660 keyName: "name:ne",661 isVisibleOnPopup: "TRUE",662 keyLabel: "नाम",663 isEditable: "TRUE",664 }, {665 section: "government",666 keyName: "contact:phone",667 isVisibleOnPopup: "TRUE",668 keyLabel: "Phone",669 isEditable: "TRUE",670 }, {671 section: "government",672 keyName: "contact:email",673 isVisibleOnPopup: "TRUE",674 keyLabel: "Email Address",675 isEditable: "TRUE",676 }, {677 section: "government",678 keyName: "opening_hours",679 isVisibleOnPopup: "TRUE",680 keyLabel: "Opening Hours",681 isEditable: "TRUE",682 }],683 ngo: [{684 section: "ngo",685 keyName: "office",686 isVisibleOnPopup: "FALSE",687 keyLabel: "",688 isEditable: "FALSE",689 }, {690 section: "ngo",691 keyName: "name",692 isVisibleOnPopup: "TRUE",693 keyLabel: "Name",694 isEditable: "TRUE",695 }, {696 section: "ngo",697 keyName: "name:ne",698 isVisibleOnPopup: "TRUE",699 keyLabel: "नाम",700 isEditable: "TRUE",701 }, {702 section: "ngo",703 keyName: "contact:phone",704 isVisibleOnPopup: "TRUE",705 keyLabel: "Phone",706 isEditable: "TRUE",707 }, {708 section: "ngo",709 keyName: "contact:email",710 isVisibleOnPopup: "TRUE",711 keyLabel: "Email Address",712 isEditable: "TRUE",713 }, {714 section: "ngo",715 keyName: "opening_hours",716 isVisibleOnPopup: "TRUE",717 keyLabel: "Opening Hours",718 isEditable: "TRUE",719 }],720 bank: [{721 section: "bank",722 keyName: "amenity",723 isVisibleOnPopup: "FALSE",724 keyLabel: "",725 isEditable: "FALSE",726 }, {727 section: "bank",728 keyName: "name",729 isVisibleOnPopup: "TRUE",730 keyLabel: "Name",731 isEditable: "TRUE",732 }, {733 section: "bank",734 keyName: "name:ne",735 isVisibleOnPopup: "TRUE",736 keyLabel: "नाम",737 isEditable: "TRUE",738 }, {739 section: "bank",740 keyName: "contact:phone",741 isVisibleOnPopup: "TRUE",742 keyLabel: "Phone",743 isEditable: "TRUE",744 }, {745 section: "bank",746 keyName: "contact:email",747 isVisibleOnPopup: "TRUE",748 keyLabel: "Email Address",749 isEditable: "TRUE",750 }, {751 section: "bank",752 keyName: "opening_hours",753 isVisibleOnPopup: "TRUE",754 keyLabel: "Opening Hours",755 isEditable: "TRUE",756 }, {757 section: "bank",758 keyName: "operator:type",759 isVisibleOnPopup: "TRUE",760 keyLabel: "Operator Type",761 isEditable: "TRUE",762 }, {763 section: "bank",764 keyName: "nrb_class",765 isVisibleOnPopup: "TRUE",766 keyLabel: "Bank Classfication",767 isEditable: "TRUE",768 }, {769 section: "bank",770 keyName: "atm",771 isVisibleOnPopup: "TRUE",772 keyLabel: "ATM Available",773 isEditable: "TRUE",774 }],775 fuel: [{776 section: "fuel",777 keyName: "amenity",778 isVisibleOnPopup: "FALSE",779 keyLabel: "",780 isEditable: "FALSE",781 }, {782 section: "fuel",783 keyName: "name",784 isVisibleOnPopup: "TRUE",785 keyLabel: "Name",786 isEditable: "TRUE",787 }, {788 section: "fuel",789 keyName: "name:ne",790 isVisibleOnPopup: "TRUE",791 keyLabel: "नाम",792 isEditable: "TRUE",793 }, {794 section: "fuel",795 keyName: "contact:phone",796 isVisibleOnPopup: "TRUE",797 keyLabel: "Phone",798 isEditable: "TRUE",799 }, {800 section: "fuel",801 keyName: "contact:email",802 isVisibleOnPopup: "TRUE",803 keyLabel: "Email Address",804 isEditable: "TRUE",805 }, {806 section: "fuel",807 keyName: "opening_hours",808 isVisibleOnPopup: "TRUE",809 keyLabel: "Opening Hours",810 isEditable: "TRUE",811 }],812 radio: [{813 section: "radio",814 keyName: "amenity",815 isVisibleOnPopup: "FALSE",816 keyLabel: "",817 isEditable: "FALSE",818 }, {819 section: "radio",820 keyName: "studio",821 isVisibleOnPopup: "FALSE",822 keyLabel: "",823 isEditable: "FALSE",824 }, {825 section: "radio",826 keyName: "name",827 isVisibleOnPopup: "TRUE",828 keyLabel: "Name",829 isEditable: "TRUE",830 }, {831 section: "radio",832 keyName: "name:ne",833 isVisibleOnPopup: "TRUE",834 keyLabel: "नाम",835 isEditable: "TRUE",836 }, {837 section: "radio",838 keyName: "contact:phone",839 isVisibleOnPopup: "TRUE",840 keyLabel: "Phone",841 isEditable: "TRUE",842 }, {843 section: "radio",844 keyName: "contact:email",845 isVisibleOnPopup: "TRUE",846 keyLabel: "Email Address",847 isEditable: "TRUE",848 }, {849 section: "radio",850 keyName: "opening_hours",851 isVisibleOnPopup: "TRUE",852 keyLabel: "Opening Hours",853 isEditable: "TRUE",854 }, {855 section: "radio",856 keyName: "frequency",857 isVisibleOnPopup: "TRUE",858 keyLabel: "Frequency",859 isEditable: "TRUE",860 }],861 television: [{862 section: "television",863 keyName: "amenity",864 isVisibleOnPopup: "FALSE",865 keyLabel: "",866 isEditable: "FALSE",867 }, {868 section: "television",869 keyName: "studio",870 isVisibleOnPopup: "FALSE",871 keyLabel: "",872 isEditable: "FALSE",873 }, {874 section: "television",875 keyName: "name",876 isVisibleOnPopup: "TRUE",877 keyLabel: "Name",878 isEditable: "TRUE",879 }, {880 section: "television",881 keyName: "name:ne",882 isVisibleOnPopup: "TRUE",883 keyLabel: "नाम",884 isEditable: "TRUE",885 }, {886 section: "television",887 keyName: "contact:phone",888 isVisibleOnPopup: "TRUE",889 keyLabel: "Phone",890 isEditable: "TRUE",891 }, {892 section: "television",893 keyName: "contact:email",894 isVisibleOnPopup: "TRUE",895 keyLabel: "Email Address",896 isEditable: "TRUE",897 }, {898 section: "television",899 keyName: "opening_hours",900 isVisibleOnPopup: "TRUE",901 keyLabel: "Opening Hours",902 isEditable: "TRUE",903 }],904 newspaper: [{905 section: "newspaper",906 keyName: "office",907 isVisibleOnPopup: "FALSE",908 keyLabel: "",909 isEditable: "FALSE",910 }, {911 section: "newspaper",912 keyName: "name",913 isVisibleOnPopup: "TRUE",914 keyLabel: "Name",915 isEditable: "TRUE",916 }, {917 section: "newspaper",918 keyName: "name:ne",919 isVisibleOnPopup: "TRUE",920 keyLabel: "नाम",921 isEditable: "TRUE",922 }, {923 section: "newspaper",924 keyName: "contact:phone",925 isVisibleOnPopup: "TRUE",926 keyLabel: "Phone",927 isEditable: "TRUE",928 }, {929 section: "newspaper",930 keyName: "contact:email",931 isVisibleOnPopup: "TRUE",932 keyLabel: "Email Address",933 isEditable: "TRUE",934 }, {935 section: "newspaper",936 keyName: "opening_hours",937 isVisibleOnPopup: "TRUE",938 keyLabel: "Opening Hours",939 isEditable: "TRUE",940 }],941 college: [{942 section: "college",943 keyName: "amenity",944 isVisibleOnPopup: "FALSE",945 keyLabel: "-",946 isEditable: "FALSE",947 }, {948 section: "college",949 keyName: "name",950 isVisibleOnPopup: "TRUE",951 keyLabel: "Name",952 isEditable: "TRUE",953 }, {954 section: "college",955 keyName: "name:ne",956 isVisibleOnPopup: "TRUE",957 keyLabel: "नाम",958 isEditable: "TRUE",959 }, {960 section: "college",961 keyName: "operator:type",962 isVisibleOnPopup: "TRUE",963 keyLabel: "Operator Type",964 isEditable: "TRUE",965 }, {966 section: "college",967 keyName: "student:count",968 isVisibleOnPopup: "TRUE",969 keyLabel: "Number of students",970 isEditable: "TRUE",971 }, {972 section: "college",973 keyName: "personnel:count",974 isVisibleOnPopup: "TRUE",975 keyLabel: "Number of employees",976 isEditable: "TRUE",977 }, {978 section: "college",979 keyName: "opening_hours",980 isVisibleOnPopup: "TRUE",981 keyLabel: "Opening Hours",982 isEditable: "TRUE",983 }, {984 section: "college",985 keyName: "contact:phone",986 isVisibleOnPopup: "TRUE",987 keyLabel: "Phone Number",988 isEditable: "TRUE",989 }, {990 section: "college",991 keyName: "contact:email",992 isVisibleOnPopup: "TRUE",993 keyLabel: "Email Address",994 isEditable: "TRUE",995 }],996 university: [{997 section: "university",998 keyName: "amenity",999 isVisibleOnPopup: "FALSE",1000 keyLabel: "-",1001 isEditable: "FALSE",1002 }, {1003 section: "university",1004 keyName: "name",1005 isVisibleOnPopup: "TRUE",1006 keyLabel: "Name",1007 isEditable: "TRUE",1008 }, {1009 section: "university",1010 keyName: "name:ne",1011 isVisibleOnPopup: "TRUE",1012 keyLabel: "नाम",1013 isEditable: "TRUE",1014 }, {1015 section: "university",1016 keyName: "operator:type",1017 isVisibleOnPopup: "TRUE",1018 keyLabel: "Operator Type",1019 isEditable: "TRUE",1020 }, {1021 section: "university",1022 keyName: "student:count",1023 isVisibleOnPopup: "TRUE",1024 keyLabel: "Number of students",1025 isEditable: "TRUE",1026 }, {1027 section: "university",1028 keyName: "personnel:count",1029 isVisibleOnPopup: "TRUE",1030 keyLabel: "Number of employees",1031 isEditable: "TRUE",1032 }, {1033 section: "university",1034 keyName: "opening_hours",1035 isVisibleOnPopup: "TRUE",1036 keyLabel: "Opening Hours",1037 isEditable: "TRUE",1038 }, {1039 section: "university",1040 keyName: "contact:phone",1041 isVisibleOnPopup: "TRUE",1042 keyLabel: "Phone Number",1043 isEditable: "TRUE",1044 }, {1045 section: "university",1046 keyName: "contact:email",1047 isVisibleOnPopup: "TRUE",1048 keyLabel: "Email Address",1049 isEditable: "TRUE",1050 }],1051 kindergarten: [{1052 section: "kindergarten",1053 keyName: "amenity",1054 isVisibleOnPopup: "FALSE",1055 keyLabel: "-",1056 isEditable: "FALSE",1057 }, {1058 section: "kindergarten",1059 keyName: "name",1060 isVisibleOnPopup: "TRUE",1061 keyLabel: "Name",1062 isEditable: "TRUE",1063 }, {1064 section: "kindergarten",1065 keyName: "name:ne",1066 isVisibleOnPopup: "TRUE",1067 keyLabel: "नाम",1068 isEditable: "TRUE",1069 }, {1070 section: "kindergarten",1071 keyName: "operator:type",1072 isVisibleOnPopup: "TRUE",1073 keyLabel: "Operator Type",1074 isEditable: "TRUE",1075 }, {1076 section: "kindergarten",1077 keyName: "student:count",1078 isVisibleOnPopup: "TRUE",1079 keyLabel: "Number of students",1080 isEditable: "TRUE",1081 }, {1082 section: "kindergarten",1083 keyName: "personnel:count",1084 isVisibleOnPopup: "TRUE",1085 keyLabel: "Number of employees",1086 isEditable: "TRUE",1087 }, {1088 section: "kindergarten",1089 keyName: "opening_hours",1090 isVisibleOnPopup: "TRUE",1091 keyLabel: "Opening Hours",1092 isEditable: "TRUE",1093 }, {1094 section: "kindergarten",1095 keyName: "contact:phone",1096 isVisibleOnPopup: "TRUE",1097 keyLabel: "Phone Number",1098 isEditable: "TRUE",1099 }, {1100 section: "kindergarten",1101 keyName: "contact:email",1102 isVisibleOnPopup: "TRUE",1103 keyLabel: "Email Address",1104 isEditable: "TRUE",1105 }],1106 buddhist: [{1107 section: "buddhist",1108 keyName: "amenity",1109 isVisibleOnPopup: "FALSE",1110 keyLabel: "-",1111 isEditable: "FALSE",1112 }, {1113 section: "buddhist",1114 keyName: "name",1115 isVisibleOnPopup: "TRUE",1116 keyLabel: "Name",1117 isEditable: "TRUE",1118 }, {1119 section: "buddhist",1120 keyName: "name:ne",1121 isVisibleOnPopup: "TRUE",1122 keyLabel: "नाम",1123 isEditable: "TRUE",1124 }, {1125 section: "buddhist",1126 keyName: "religion",1127 isVisibleOnPopup: "TRUE",1128 keyLabel: "Religion",1129 isEditable: "TRUE",1130 }, {1131 section: "buddhist",1132 keyName: "opening_hours",1133 isVisibleOnPopup: "TRUE",1134 keyLabel: "Opening Hours",1135 isEditable: "TRUE",1136 }, {1137 section: "buddhist",1138 keyName: "contact:phone",1139 isVisibleOnPopup: "TRUE",1140 keyLabel: "Phone Number",1141 isEditable: "TRUE",1142 }, {1143 section: "buddhist",1144 keyName: "contact:email",1145 isVisibleOnPopup: "TRUE",1146 keyLabel: "Email Address",1147 isEditable: "TRUE",1148 }, {1149 section: "buddhist",1150 keyName: "facility:drinking_water",1151 isVisibleOnPopup: "TRUE",1152 keyLabel: "Drinking Water",1153 isEditable: "TRUE",1154 }, {1155 section: "buddhist",1156 keyName: "facility:toilet",1157 isVisibleOnPopup: "TRUE",1158 keyLabel: "Toilet",1159 isEditable: "TRUE",1160 }],1161 christian: [{1162 section: "christian",1163 keyName: "amenity",1164 isVisibleOnPopup: "FALSE",1165 keyLabel: "-",1166 isEditable: "FALSE",1167 }, {1168 section: "christian",1169 keyName: "name",1170 isVisibleOnPopup: "TRUE",1171 keyLabel: "Name",1172 isEditable: "TRUE",1173 }, {1174 section: "christian",1175 keyName: "name:ne",1176 isVisibleOnPopup: "TRUE",1177 keyLabel: "नाम",1178 isEditable: "TRUE",1179 }, {1180 section: "christian",1181 keyName: "religion",1182 isVisibleOnPopup: "TRUE",1183 keyLabel: "Religion",1184 isEditable: "TRUE",1185 }, {1186 section: "christian",1187 keyName: "opening_hours",1188 isVisibleOnPopup: "TRUE",1189 keyLabel: "Opening Hours",1190 isEditable: "TRUE",1191 }, {1192 section: "christian",1193 keyName: "contact:phone",1194 isVisibleOnPopup: "TRUE",1195 keyLabel: "Phone Number",1196 isEditable: "TRUE",1197 }, {1198 section: "christian",1199 keyName: "contact:email",1200 isVisibleOnPopup: "TRUE",1201 keyLabel: "Email Address",1202 isEditable: "TRUE",1203 }, {1204 section: "christian",1205 keyName: "facility:drinking_water",1206 isVisibleOnPopup: "TRUE",1207 keyLabel: "Drinking Water",1208 isEditable: "TRUE",1209 }, {1210 section: "christian",1211 keyName: "facility:toilet",1212 isVisibleOnPopup: "TRUE",1213 keyLabel: "Toilet",1214 isEditable: "TRUE",1215 }],1216 muslim: [{1217 section: "muslim",1218 keyName: "amenity",1219 isVisibleOnPopup: "FALSE",1220 keyLabel: "-",1221 isEditable: "FALSE",1222 }, {1223 section: "muslim",1224 keyName: "name",1225 isVisibleOnPopup: "TRUE",1226 keyLabel: "Name",1227 isEditable: "TRUE",1228 }, {1229 section: "muslim",1230 keyName: "name:ne",1231 isVisibleOnPopup: "TRUE",1232 keyLabel: "नाम",1233 isEditable: "TRUE",1234 }, {1235 section: "muslim",1236 keyName: "religion",1237 isVisibleOnPopup: "TRUE",1238 keyLabel: "Religion",1239 isEditable: "TRUE",1240 }, {1241 section: "muslim",1242 keyName: "opening_hours",1243 isVisibleOnPopup: "TRUE",1244 keyLabel: "Opening Hours",1245 isEditable: "TRUE",1246 }, {1247 section: "muslim",1248 keyName: "contact:phone",1249 isVisibleOnPopup: "TRUE",1250 keyLabel: "Phone Number",1251 isEditable: "TRUE",1252 }, {1253 section: "muslim",1254 keyName: "contact:email",1255 isVisibleOnPopup: "TRUE",1256 keyLabel: "Email Address",1257 isEditable: "TRUE",1258 }, {1259 section: "muslim",1260 keyName: "facility:drinking_water",1261 isVisibleOnPopup: "TRUE",1262 keyLabel: "Drinking Water",1263 isEditable: "TRUE",1264 }, {1265 section: "muslim",1266 keyName: "facility:toilet",1267 isVisibleOnPopup: "TRUE",1268 keyLabel: "Toilet",1269 isEditable: "TRUE",1270 }],1271 atm: [{1272 section: "atm",1273 keyName: "amenity",1274 isVisibleOnPopup: "FALSE",1275 keyLabel: "",1276 isEditable: "FALSE",1277 }, {1278 section: "atm",1279 keyName: "network",1280 isVisibleOnPopup: "TRUE",1281 keyLabel: "Network Supported",1282 isEditable: "TRUE",1283 }, {1284 section: "atm",1285 keyName: "opening_hours",1286 isVisibleOnPopup: "TRUE",1287 keyLabel: "Opening Hours",1288 isEditable: "TRUE",1289 }],1290 restaurant: [{1291 section: "restaurant",1292 keyName: "amenity",1293 isVisibleOnPopup: "FALSE",1294 keyLabel: "",1295 isEditable: "FALSE",1296 }, {1297 section: "restaurant",1298 keyName: "name",1299 isVisibleOnPopup: "TRUE",1300 keyLabel: "Name",1301 isEditable: "TRUE",1302 }, {1303 section: "restaurant",1304 keyName: "name:ne",1305 isVisibleOnPopup: "TRUE",1306 keyLabel: "नाम",1307 isEditable: "TRUE",1308 }],1309 museum: [{1310 section: "museum",1311 keyName: "tourism",1312 isVisibleOnPopup: "FALSE",1313 keyLabel: "",1314 isEditable: "FALSE",1315 }, {1316 section: "museum",1317 keyName: "name",1318 isVisibleOnPopup: "TRUE",1319 keyLabel: "Name",1320 isEditable: "TRUE",1321 }, {1322 section: "museum",1323 keyName: "name:ne",1324 isVisibleOnPopup: "TRUE",1325 keyLabel: "नाम",1326 isEditable: "TRUE",1327 }, {1328 section: "museum",1329 keyName: "contact:phone",1330 isVisibleOnPopup: "TRUE",1331 keyLabel: "Phone",1332 isEditable: "TRUE",1333 }, {1334 section: "museum",1335 keyName: "contact:email",1336 isVisibleOnPopup: "TRUE",1337 keyLabel: "Email Address",1338 isEditable: "TRUE",1339 }, {1340 section: "museum",1341 keyName: "opening_hours",1342 isVisibleOnPopup: "TRUE",1343 keyLabel: "Opening Hours",1344 isEditable: "TRUE",1345 }],1346 park: [{1347 section: "park",1348 keyName: "tourism",1349 isVisibleOnPopup: "FALSE",1350 keyLabel: "",1351 isEditable: "FALSE",1352 }, {1353 section: "park",1354 keyName: "name",1355 isVisibleOnPopup: "TRUE",1356 keyLabel: "Name",1357 isEditable: "TRUE",1358 }, {1359 section: "park",1360 keyName: "name:ne",1361 isVisibleOnPopup: "TRUE",1362 keyLabel: "नाम",1363 isEditable: "TRUE",1364 }, {1365 section: "park",1366 keyName: "contact:phone",1367 isVisibleOnPopup: "TRUE",1368 keyLabel: "Phone",1369 isEditable: "TRUE",1370 }, {1371 section: "park",1372 keyName: "contact:email",1373 isVisibleOnPopup: "TRUE",1374 keyLabel: "Email Address",1375 isEditable: "TRUE",1376 }, {1377 section: "park",1378 keyName: "opening_hours",1379 isVisibleOnPopup: "TRUE",1380 keyLabel: "Opening Hours",1381 isEditable: "TRUE",1382 }],...

Full Screen

Full Screen

resources.js

Source:resources.js Github

copy

Full Screen

1define({2 root: ({3 toolName: "SPORE (Social Profiling for Optimization in Real-Estate)",4 alerts:5 {6 noDestinationDAsFound: "No candidate locations could be found.\n\nTry a different location, or expanding your search parameters.",7 noRealestateListingsFound: "No real estate listings could be found in the area you have chosen."8 },9 introPanel:10 {11 introText: "What is the postal code where you currently live in Canada?",12 nextButton:"Next >>"13 },14 destinationPanel:15 {16 destinationTextPart1: "Where are you going to?",17 destinationTextPart2: "Search for a place name or new work or home address:",18 backButton:"<< Back",19 moreButton:"More >>",20 searchRadius:"Search for places within",21 likeMyCluster: "That are the same social cluster",22 likeMyGroup: "That are in a similar social group as my home",23 searchButton:"Search",24 pagerLabelSeparator:"of",25 pagerBackToSummary:"Summary",26 totalDestinationDAsPrefix:"A total of ",27 totalDestinationDAsSuffix:" regions match your search parameters",28 showRealEstateButtonLabel:"Search Real-Estate Listings >>"29 },30 rsPanel:31 {32 rsText:"Search Real Estate Listings",33 searchOptions:"Options",34 backButton:"<< Back",35 searchButton:"Search",36 insideMyDAs:"Show only listings inside the displayed areas.",37 outsideMyDAs:"Include listings located outside the displayed areas.",38 totalListingsPrefix: "Showing ",39 pagerLabelSeparator:"of",40 totalListingsSuffix: " total possible listings"41 },42 popupTemplates:43 {44 noDataClusterTitle: "There is insufficient information about the location you selected.<br /><br />Do you really live here?",45 homeClusterTitle: "These are the characteristics of the population where you live:",46 noDataHomeClusterTitle: "There is insufficient information about this location.",47 daClusterTitle: "These are the characteristics of the population here:",48 rsListingTitle: "Real-estate listing details:",49 daFieldInfos: [50 { fieldName: "ECYPOP15P", label: "Total population age 15+ (2013)", isEditable: false, visible: false },51 { fieldName: "ECYMSLMAR", label: "Married (not separated)", isEditable: false, visible: false },52 { fieldName: "ECYMSCOML", label: "Common law", isEditable: false, visible: false },53 { fieldName: "ECYMSSINGL", label: "Single (not married)", isEditable: false, visible: false },54 { fieldName: "ECYMSSEP", label: "Separated", isEditable: false, visible: false },55 { fieldName: "ECYMSDIV", label: "Divorced", isEditable: false, visible: false },56 { fieldName: "ECYMSWID", label: "Widowed", isEditable: false, visible: false },57 58 { fieldName: "ECYCHTOT", label: "Total children at home (2013)", isEditable: false, visible: false },59 { fieldName: "ECYCH04", label: "Children at home under age 5", isEditable: false, visible: false },60 { fieldName: "ECYCH59", label: "Children at home age 5-9", isEditable: false, visible: false },61 { fieldName: "ECYCH1014", label: "Children at home age 10-14", isEditable: false, visible: false },62 { fieldName: "ECYCH1519", label: "Children at home age 15-19", isEditable: false, visible: false },63 { fieldName: "ECYCH2024", label: "Children at home age 20-24", isEditable: false, visible: false },64 { fieldName: "ECYCH25U", label: "Children at home age 25+", isEditable: false, visible: false },65 66 { fieldName: "ECYPODTOT", label: "Total private occupied dwellings (2013)", isEditable: false, visible: false },67 { fieldName: "ECYTENOWN", label: "Owned", isEditable: false, visible: false },68 { fieldName: "ECYTENRENT", label: "Rented", isEditable: false, visible: false },69 { fieldName: "ECYTENBAND", label: "Band", isEditable: false, visible: false },70 71 { fieldName: "ECYCHTOT", label: "Total children at home (2013)", isEditable: false, visible: false },72 { fieldName: "ECYCH04", label: "Children at home under age 5", isEditable: false, visible: false },73 { fieldName: "ECYCH59", label: "Children at home age 5-9", isEditable: false, visible: false },74 { fieldName: "ECYCH1014", label: "Children at home age 10-14", isEditable: false, visible: false },75 { fieldName: "ECYCH1519", label: "Children at home age 15-19", isEditable: false, visible: false },76 { fieldName: "ECYCH2024", label: "Children at home age 20-24", isEditable: false, visible: false },77 { fieldName: "ECYCH25U", label: "Children at home age 25+", isEditable: false, visible: false },78 79 { fieldName: "ECYDBBTOT", label: "Total properties built (2013)", isEditable: false, visible: false },80 { fieldName: "ECYDBB46", label: "Built before 1946", isEditable: false, visible: false },81 { fieldName: "ECYDBB4660", label: "Built 1946-1960", isEditable: false, visible: false },82 { fieldName: "ECYDBB6170", label: "Built 1961-1970", isEditable: false, visible: false },83 { fieldName: "ECYDBB7180", label: "Built 1971-1980", isEditable: false, visible: false },84 { fieldName: "ECYDBB8185", label: "Built 1981-1985", isEditable: false, visible: false },85 { fieldName: "ECYDBB8690", label: "Built 1986-1989", isEditable: false, visible: false },86 { fieldName: "ECYDBB9195", label: "Built 1991-1995", isEditable: false, visible: false },87 { fieldName: "ECYDBB9600", label: "Built 1996-2000", isEditable: false, visible: false },88 { fieldName: "ECYDBB0106", label: "Built 2001-2006", isEditable: false, visible: false },89 { fieldName: "ECYDBB0711", label: "Built 2007-2011", isEditable: false, visible: false },90 { fieldName: "ECYDBB12", label: "Built after 2011", isEditable: false, visible: false },91 92 { fieldName: "ECYTYTOT", label: "Total dwelling structures (2013)", isEditable: false, visible: false },93 { fieldName: "ECYTYSINGL", label: "Single-detached", isEditable: false, visible: false },94 { fieldName: "ECYTYSEMI", label: "Semi-detached", isEditable: false, visible: false },95 { fieldName: "ECYTYROW", label: "Row", isEditable: false, visible: false },96 { fieldName: "ECYTYAPT_5", label: "Apartment Building (under 5 stories)", isEditable: false, visible: false },97 { fieldName: "ECYTYAPT5P", label: "Apartment Building (5+ stories)", isEditable: false, visible: false },98 { fieldName: "ECYTYDPLEX", label: "Detached duplex", isEditable: false, visible: false },99 100 { fieldName: "ECYLSPOP15", label: "Household population age 15+ (2013)", isEditable: false, visible: false },101 { fieldName: "ECYLSNCDD", label: "No certificate, diploma, or degree", isEditable: false, visible: false },102 { fieldName: "ECYLSHSC", label: "High school", isEditable: false, visible: false },103 { fieldName: "ECYLSTRADE", label: "Appr., Trades", isEditable: false, visible: false },104 { fieldName: "ECYLSCOLLG", label: "College", isEditable: false, visible: false },105 { fieldName: "ECYLSUNBBD", label: "University (no degree)", isEditable: false, visible: false },106 { fieldName: "ECYLSUNWCD", label: "University (bachelor degree or higher)", isEditable: false, visible: false },107 108 { fieldName: "ECYMTTOT", label: "Household population age 15+ for mother tongue (2013)", isEditable: false, visible: false },109 { fieldName: "ECYMTENGL", label: "English", isEditable: false, visible: false },110 { fieldName: "ECYMTFREN", label: "French", isEditable: false, visible: false },111 { fieldName: "ECYMTNONO", label: "Non-official", isEditable: false, visible: false },112 { fieldName: "ECYVMTTOT", label: "Household population age 15+ for visible minority (2013)", isEditable: false, visible: false },113 { fieldName: "ECYVMTOT", label: "Total visible minority population (2013)", isEditable: false, visible: false },114 { fieldName: "ECYVMCHIN", label: "Chinese", isEditable: false, visible: false },115 { fieldName: "ECYVMSASI", label: "South Asian", isEditable: false, visible: false },116 { fieldName: "ECYVMBLAC", label: "Black", isEditable: false, visible: false },117 { fieldName: "ECYVMFILI", label: "Filipino", isEditable: false, visible: false },118 { fieldName: "ECYVMLAME", label: "Latin American", isEditable: false, visible: false },119 { fieldName: "ECYVMSEAS", label: "Southeast Asian", isEditable: false, visible: false },120 { fieldName: "ECYVMARAB", label: "Arab", isEditable: false, visible: false },121 { fieldName: "ECYVMWASI", label: "West Asian", isEditable: false, visible: false },122 { fieldName: "ECYVMKORE", label: "Korean", isEditable: false, visible: false },123 { fieldName: "ECYVMJAPA", label: "Japanese", isEditable: false, visible: false },124 { fieldName: "ECYVMOTHR", label: "Other", isEditable: false, visible: false },125 { fieldName: "ECYVMNON", label: "Non-minority", isEditable: false, visible: false },126 127 { fieldName: "ECYMATOT", label: "Household population age 15+ for dwelling maintainer (2013)", isEditable: false, visible: false },128 { fieldName: "ECYMA1524", label: "Maintainer age 15-24", isEditable: false, visible: false },129 { fieldName: "ECYMA2534", label: "Maintainer age 25-34", isEditable: false, visible: false },130 { fieldName: "ECYMA3544", label: "Maintainer age 35-44", isEditable: false, visible: false },131 { fieldName: "ECYMA4554", label: "Maintainer age 45-54", isEditable: false, visible: false },132 { fieldName: "ECYMA5564", label: "Maintainer age 55-64", isEditable: false, visible: false },133 { fieldName: "ECYMA6574", label: "Maintainer age 65-74", isEditable: false, visible: false },134 { fieldName: "ECYMA75P", label: "Maintainer age 75+", isEditable: false, visible: false },135 136 { fieldName: "ECYNITOT", label: "Total dwellings for household income (2013)", isEditable: false, visible: false },137 { fieldName: "ECYNI0_10", label: "$0-$9,999", isEditable: false, visible: false },138 { fieldName: "ECYNI10_20", label: "$10,000-$19,999", isEditable: false, visible: false },139 { fieldName: "ECYNI20_30", label: "$20,000-$29,999", isEditable: false, visible: false },140 { fieldName: "ECYNI30_40", label: "$30,000-$39,999", isEditable: false, visible: false },141 { fieldName: "ECYNI40_50", label: "$40,000-$49,999", isEditable: false, visible: false },142 { fieldName: "ECYNI50_60", label: "$50,000-$59,999", isEditable: false, visible: false },143 { fieldName: "ECYNI60_70", label: "$60,000-$69,999", isEditable: false, visible: false },144 { fieldName: "ECYNI70_80", label: "$70,000-$79,999", isEditable: false, visible: false },145 { fieldName: "ECYNI80_90", label: "$80,000-$89,999", isEditable: false, visible: false },146 { fieldName: "ECYNI90100", label: "$90,000-$99,999", isEditable: false, visible: false },147 { fieldName: "ECYNI10025", label: "$100,000-$124,999", isEditable: false, visible: false },148 { fieldName: "ECYNI12550", label: "$125,000-$149,999", isEditable: false, visible: false },149 { fieldName: "ECYNI15075", label: "$150,000-$174,999", isEditable: false, visible: false },150 { fieldName: "ECYNI17500", label: "$175,000-$199,999", isEditable: false, visible: false },151 { fieldName: "ECYNI20050", label: "$225,000-$249,999", isEditable: false, visible: false },152 { fieldName: "ECYNI250_", label: "$250,000+", isEditable: false, visible: false },153 154 { fieldName: "ECYOC15TOT", label: "Total population age 15+ for occupation (2013)", isEditable: false, visible: false },155 { fieldName: "ECYOCMGMT", label: "Management", isEditable: false, visible: false },156 { fieldName: "ECYOCBFA", label: "Business/Finance/Administration", isEditable: false, visible: false },157 { fieldName: "ECYOCSCI", label: "Natural and Applied Sciences", isEditable: false, visible: false },158 { fieldName: "ECYOCHEA", label: "Health", isEditable: false, visible: false },159 { fieldName: "ECYOCPUBL", label: "Social Science/Education/Government/Religion", isEditable: false, visible: false },160 { fieldName: "ECYOCCULT", label: "Art/Culture/Recreation", isEditable: false, visible: false },161 { fieldName: "ECYOCSERV", label: "Sales and Service", isEditable: false, visible: false },162 { fieldName: "ECYOCTRADE", label: "Trades or Transportation/Equipment operation", isEditable: false, visible: false },163 { fieldName: "ECYOCPRIMY", label: "Primary Industry", isEditable: false, visible: false },164 { fieldName: "ECYOCSCNDY", label: "Processing/Manufacturing/Utilities", isEditable: false, visible: false }165 166 ],167 rsFieldInfos: [168 { fieldName: "housing_type", label: "Type", isEditable: false, visible: true },169 { fieldName: "bedrooms", label: "Bedrooms", isEditable: false, visible: true },170 { fieldName: "bathrooms", label: "Bathrooms", isEditable: false, visible: true },171 { fieldName: "price", label: "Bathrooms", isEditable: false, visible: true, format: { places: 2, digitSeparator: true } },172 { fieldName: "listed_by", label: "Listed By", isEditable: false, visible: true }173 ]174 }175 }),176 "fr":1...

Full Screen

Full Screen

ProfileScreen.js

Source:ProfileScreen.js Github

copy

Full Screen

1import React, { Component } from 'react';2import { View, Text, ScrollView, TouchableOpacity, AsyncStorage, Alert, TextInput, KeyboardAvoidingView } from 'react-native';3import {NavigationEvents} from 'react-navigation';4import {BASE_URL,user_endpoints} from '../../../constants/Endpoints';5import {fetchFromAPI} from '../../../helpers/requests';6import {HTTPMethods,statusCode} from '../../../constants/HTTPMethods'7import {Loader,DialogBox} from '../../../components/index';8import {styles} from './styles'9import {ScreenDimensions} from '../../../utils/index'10var userMobileNumber = null11export default class ProfileScreen extends Component {12 constructor(props) {13 super(props);14 this.state = {15 isFetching: false,16 data: null,17 doEdit: true,18 isEditable: false19 };20 }21 UNSAFE_componentWillMount(){22 this.fetchUserDetails();23 }24 render() {25 return (26 <View style = {styles.outerContainer} >27 <Text style = {{color: '#666666', fontSize: 20, marginTop: 15}}> Profile Information </Text>28 <Loader isVisible = {this.state.isFetching}/>29 <NavigationEvents 30 onDidFocus = {31 payload => {32 this.fetchUserDetails()33 }34 }35 />36 37 {this.state.isVisible === false && this.state.data !== null && 38 <ScrollView style = {{ paddingTop: 20, paddingBottom: 20}} >39 40 <Text style = {[styles.textFieldText, {marginTop: 15}]}>Name</Text>41 <TextInput style = {[styles.textInputStyle, 42 {color: this.state.isEditable ? "#000000" : "#bfbfbf",43 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf"44 }]}45 value = {this.state.data.name}46 onChangeText = {value => {47 this.setState(prevState => ({48 data: {49 ...prevState.data,50 ["name"]: value51 }52 }))53 }54 }55 editable = {this.state.isEditable}56 >57 </TextInput>58 59 <Text style = {styles.textFieldText}>NRIC / Passport</Text>60 <TextInput style = {[styles.textInputStyle, 61 {color: this.state.isEditable ? "#000000" : "#bfbfbf",62 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf"63 }]}64 value = {this.state.data.nric}65 onChangeText = {value => {66 this.setState(prevState => ({67 data: {68 ...prevState.data,69 ["nric"]: value70 }71 }))72 }73 }74 editable = {this.state.isEditable}>75 </TextInput>76 77 <Text style = {styles.textFieldText}>Mobile Number</Text>78 <TextInput style = {[styles.textInputStyle,{color: "#bfbfbf", borderBottomColor: "#bfbfbf"}]}79 value = {userMobileNumber}80 keyboardType = "number-pad"81 editable = {false}>82 </TextInput>83 84 <Text style = {styles.textFieldText}>Address Line 1</Text>85 <TextInput style = {[styles.textInputStyle, 86 {color: this.state.isEditable ? "#000000" : "#bfbfbf",87 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf"88 }]}89 value = {this.state.data.address1}90 onChangeText = {value => {91 this.setState(prevState => ({92 data: {93 ...prevState.data,94 ["address1"]: value95 }96 }))97 }98 }99 editable = {this.state.isEditable}>100 </TextInput>101 <Text style = {styles.textFieldText}>Address Line 2</Text>102 <TextInput style = {[styles.textInputStyle, 103 {color: this.state.isEditable ? "#000000" : "#bfbfbf",104 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf"105 }]}106 value = {this.state.data.address2}107 onChangeText = {value => {108 this.setState(prevState => ({109 data: {110 ...prevState.data,111 ["address2"]: value112 }113 }))114 }115 }116 editable = {this.state.isEditable}>117 </TextInput>118 <Text style = {styles.textFieldText}>City</Text>119 <TextInput style = {[styles.textInputStyle, 120 {color: this.state.isEditable ? "#000000" : "#bfbfbf",121 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf"122 }]}123 value = {this.state.data.city}124 onChangeText = {value => {125 this.setState(prevState => ({126 data: {127 ...prevState.data,128 ["city"]: value129 }130 }))131 }132 }133 editable = {this.state.isEditable}>134 </TextInput>135 <View style = {{flexDirection: 'row', justifyContent: 'space-between'}}>136 <View>137 <Text style = {styles.textFieldText}>State</Text>138 <TextInput style = {[styles.textInputStyle, 139 {color: this.state.isEditable ? "#000000" : "#bfbfbf",140 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf",141 width: ScreenDimensions.SCREEN_WIDTH/2 - 50142 }]}143 value = {this.state.data.state}144 onChangeText = {value => {145 this.setState(prevState => ({146 data: {147 ...prevState.data,148 ["state"]: value149 }150 }))151 }152 }153 editable = {this.state.isEditable}>154 </TextInput>155 </View>156 <View style = {{marginBottom: 25}}>157 <Text style = {styles.textFieldText}>Postal Code</Text>158 <TextInput style = {[styles.textInputStyle, 159 {color: this.state.isEditable ? "#000000" : "#bfbfbf",160 borderBottomColor: this.state.isEditable ? "#000000" : "#bfbfbf",161 width: ScreenDimensions.SCREEN_WIDTH/2 - 50162 }]}163 value = {this.state.data.post_code}164 onChangeText = {value => {165 this.setState(prevState => ({166 data: {167 ...prevState.data,168 ["post_code"]: value169 }170 }))171 }172 }173 keyboardType = "number-pad"174 editable = {this.state.isEditable}>175 </TextInput>176 </View>177 </View>178 </ScrollView>179 }180 {this.state.isVisible === false && this.state.data !== null &&181 <TouchableOpacity onPress = {182 () => {183 this.state.doEdit === true ? this.setState({isEditable: true, doEdit : false}) : this.handleSaveClicked()184 }185 }>186 <View style = {styles.btnViewStyle}>187 <Text style = {styles.btnTextStyle}>188 {this.state.doEdit === true ? "Edit" : "Save"}</Text>189 </View>190 </TouchableOpacity>191 }192 </View>193 );194 }195 fetchUserDetails = () => {196 AsyncStorage.getItem("_phn_number")197 .then((phnNumber) => {198 userMobileNumber = phnNumber;199 try{200 this.bindData()201 }catch(err){202 console.log(err)203 }204 })205 }206 207 bindData = () => {208 this.setState({isVisible:true})209 210 var url = BASE_URL + user_endpoints.GET_USER_DETAILS + parseInt(userMobileNumber)211 fetchFromAPI({URL:url,request_method:HTTPMethods.GET})212 .then((response) => {213 this.setState({isVisible:false})214 if(statusCode.SUCCESSFUL.includes(response.code)){215 this.setState({216 data: response.data[0]217 })218 console.log(this.state.data)219 }else{220 Alert.alert("Network Error", "The network connection is lost.");221 }222 })223 .catch(err => {224 this.setState({isVisible:false})225 console.log(err)226 })227 }228 handleSaveClicked = () => {229 var url = BASE_URL + user_endpoints.UPDATE_USER;230 var _body = this.state.data231 delete _body["mobile_no"]232 _body.phoneNumber = userMobileNumber233 this.setState({isFetching: true,});234 fetchFromAPI({URL: url, request_method: HTTPMethods.POST, body: JSON.stringify(_body)})235 .then((response) => {236 this.setState({isFetching: false})237 if(statusCode.SUCCESSFUL.includes(response.code)) {238 Alert.alert("Success" , "Profile updated successfully")239 this.setState({doEdit: true, isEditable: false})240 this.bindData();241 }else{242 Alert.alert("Error" , "Please recheck the mobile number and try again");243 }244 })245 .catch(err => {246 Alert.alert("Network Error" , "The network connection is lost.");247 })248 // DialogBox.op249 }...

Full Screen

Full Screen

cell.js

Source:cell.js Github

copy

Full Screen

...36 );37 }38 const editableResult =39 typeof isEditable === 'function'40 ? isEditable({ row: rowData, value, index: rowIndex })41 : isEditable;42 if (editableResult) {43 return (44 <EditableCell45 value={value}46 onChange={onChange}47 row={rowData}48 field={field}49 cellAlignment={cellAlignment}50 />51 );52 }53 return <span title={value}>{value}</span>;54}...

Full Screen

Full Screen

wiki.js

Source:wiki.js Github

copy

Full Screen

1//2// This function ajax-updates the right PDA container with a wiki article3// with the provided id4//5function article(id, isEditable){6 Element.hide('article_body');7 Element.show('loading_article');8 if (isEditable==0) isEditable = '';9 new Ajax.Updater (10 'pda_right_container',11 '/nets-x/wiki/article/'+id+'/'+isEditable,12 { 13 asynchronous:true,14 evalScripts:true,15 requestHeaders:['X-Update', 'pda_right_container'],16 onComplete:function(){17 Elment.hide('loading_article');18 Element.show('article_body');19 }20 }21 );22 //return true;23}2425function newArticle(id, isEditable){26 Element.hide('article_body');27 Element.show('loading_article');28 if (isEditable==0) isEditable = '';29 //update the container in add.ctp with the function in the wiki controller30 new Ajax.Updater (31 'pda_right_container',32 '/nets-x/wiki/newArticle/' + isEditable,33 { 34 asynchronous:true,35 evalScripts:true,36 requestHeaders:['X-Update', 'pda_right_container'],37 onComplete:function(){38 Elment.hide('loading_article');39 Element.show('article_body');40 }41 }42 );43 //return true;44}4546//47// This function ajax-updates the right PDA container with a wiki article48// with the provided id49//50function adminLoadEditedArticle(id, isEditable){5152 Element.hide('article_edited_'+ id);53 Element.show('loading_article_' + id);54 if (isEditable==0) isEditable = '';55 new Ajax.Updater (56 'article_container'+id,57 '/nets-x/wiki/editedArticle/'+id+'/'+isEditable,58 { 59 asynchronous:true,60 evalScripts:true,61 requestHeaders:['X-Update', 'article_container' + id],62 onComplete:function(){63 Element.hide('loading_article_' + id);64 Element.show('article_edited_' + id);65 }66 }67 );68 //return true;69}7071/* CUSTOM EFFECTS */7273loadArticle = function(id, isEditable){74 article(id, isEditable);75 new Effect.Morph('pda_left_container',{style:'width:0px; padding:15px 0',duration:0.5,76 afterFinish: function(effect){77 Element.hide('pda_left_container');78 new Effect.Appear('showOverview', {duration:0.5});79 }80 });81 new Effect.Morph('pda_right_container',{style:'width:578px;',duration:0.6});82}8384loadNewArticle = function(isEditable){85 newArticle(isEditable);86 new Effect.Morph('pda_left_container',{style:'width:0px; padding:15px 0',duration:0.5,87 afterFinish: function(effect){88 Element.hide('pda_left_container');89 }90 });91 Element.show('pda_right_container');92 new Effect.Morph('pda_right_container',{style:'width:578px;',duration:0.6});93}9495adminLoadArticle = function(id, isEditable){96 article(id, isEditable);97 new Effect.Morph('pda_left_container',{style:'width:0px; padding:15px 0',duration:0.5,98 afterFinish: function(effect){99 Element.hide('pda_left_container');100 new Effect.Appear('showOverview', {duration:0.5});101 }102 });103 new Effect.Morph('pda_right_container',{style:'width:578px;',duration:0.6});104}105106function showOverview(){107 Element.show('pda_left_container');108 new Effect.Fade('showOverview', {duration:0.5});109 new Effect.Morph('pda_left_container',{style:'width:260px; padding:15px', duration:0.6});110 new Effect.Morph('pda_right_container',{style:'width:270px;',duration:0.5});111}112113function toggleFold(id){114 var opt = {duration:0.5};115 if ($(id).style.display=='none'){116 Effect.BlindDown(id, opt);117 } else {118 Effect.BlindUp(id, opt);119 }120}121122/* END CUSTOM EFFECTS */ ...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]2 .createInstance(Components.interfaces.nsIToolbarButton)3 .isEditable;4var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]5 .createInstance(Components.interfaces.nsIToolbarButton)6 .isEditable;7var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]8 .createInstance(Components.interfaces.nsIToolbarButton)9 .isEditable;10var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]11 .createInstance(Components.interfaces.nsIToolbarButton)12 .isEditable;13var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]14 .createInstance(Components.interfaces.nsIToolbarButton)15 .isEditable;16var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]17 .createInstance(Components.interfaces.nsIToolbarButton)18 .isEditable;19var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]20 .createInstance(Components.interfaces.nsIToolbarButton)21 .isEditable;22var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]23 .createInstance(Components.interfaces.nsIToolbarButton)24 .isEditable;25var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]26 .createInstance(Components.interfaces.nsIToolbarButton)27 .isEditable;28var isEditable = Components.classes["@mozilla.org/toolbarbutton;1"]29 .createInstance(Components.interfaces.nsIToolbarButton)30 .isEditable;

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptable = require('wptable');2var table = new wptable();3var editable = table.isEditable();4console.log(editable);5var wptable = require('wptable');6var table = new wptable();7var editable = table.isEditable();8console.log(editable);9## isHidden()10var wptable = require('wptable');11var table = new wptable();12var hidden = table.isHidden();13console.log(hidden);14var wptable = require('wptable');15var table = new wptable();16var hidden = table.isHidden();17console.log(hidden);18## getRowCount()19var wptable = require('wptable');20var table = new wptable();21var rowCount = table.getRowCount();22console.log(rowCount);23var wptable = require('wptable');24var table = new wptable();25var rowCount = table.getRowCount();26console.log(rowCount);27## getCellByRowColumnIndex(row, column)

Full Screen

Using AI Code Generation

copy

Full Screen

1var dom = require('dom');2var wptextpattern = require('wptextpattern');3var editor = dom.byId('editor');4var textpattern = new wptextpattern({5 },6 start: ':(',7 },8 },9 start: ':-(',10 },11 },12 },13 },14 },15 },16 }17});18editor.addEventListener('input', function() {19 console.log(textpattern.isEditable());20});

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run wpt automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful