{"version":3,"file":"custommodal.min.js","sources":["https:\/\/kundenportal.comm-unity.at\/local\/wb_faq\/amd\/src\/custommodal.js"],"sourcesContent":["\/\/ This file is part of Moodle - http:\/\/moodle.org\/\n\/\/\n\/\/ Moodle is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ Moodle is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with Moodle. If not, see .\n\n\/*\n * @package local_wunderbyte_table\n * @copyright Wunderbyte GmbH \n * @license http:\/\/www.gnu.org\/copyleft\/gpl.html GNU GPL v3 or later\n *\/\n\n\/\/ import Templates from \"core\/templates\";\n\/\/ import {get_string as getString} from \"core\/str\";\n\/\/ import Ajax from \"core\/ajax\";\n\nimport Modal from 'core\/modal';\nimport ModalRegistry from 'core\/modal_registry';\n\nconst NavbarModal = class extends Modal {\n static TYPE = \"local_wb_faq\/navbar\/navbarmodal\";\n static TEMPLATE = \"local_wb_faq\/navbar\/navbarmodal\";\n\n registerEventListeners() {\n \/\/ Call the parent registration.\n super.registerEventListeners();\n\n \/\/ Register to close on save\/cancel.\n this.registerCloseOnSave();\n this.registerCloseOnCancel();\n }\n};\n\nModalRegistry.register(NavbarModal.TYPE, NavbarModal, NavbarModal.TEMPLATE);\nexport default NavbarModal;"],"names":["NavbarModal","Modal","registerEventListeners","registerCloseOnSave","registerCloseOnCancel","register","TYPE","TEMPLATE"],"mappings":";;;;;yLA4BMA,YAAc,cAAcC,2BAClB,kDACI,kCAElBC,+BAEUA,8BAGDC,2BACAC,kDAIGC,SAASL,YAAYM,KAAMN,YAAaA,YAAYO,uBACnDP"}