' + e.message + e.backtrace + '';\n });\n request[0].done((data) => {\n holder.innerHTML = data.details;\n let uniqIdHolder = holder.querySelector('[data-identifier=uniqid');\n let uniqId = uniqIdHolder.getAttribute('data-uniqid');\n require(['enrol_wallet/expenders'], function(ex) {\n ex.init(uniqId);\n });\n });\n }\n}\nexport const init = (formid) => {\n form = document.getElementById(formid);\n holder = form.querySelector(\"[data-purpose=balance-holder]\");\n button = form.querySelector(\"[name=displaybalance]\");\n userInput = form.querySelector(\"[name=userlist]\");\n\n button.onclick = () => {\n get_data();\n };\n userInput.onchange = () => {\n holder.innerHTML = '';\n };\n};\n"],"names":["holder","button","form","userInput","formid","document","getElementById","querySelector","onclick","userid","parseInt","value","isNaN","request","Ajax","call","methodname","args","catch","e","innerHTML","message","backtrace","done","data","details","uniqId","getAttribute","require","ex","init","get_data","onchange"],"mappings":";;;;;;;SAyBIA,OACAC,OACAC,KACAC,yJA8BiBC,SACjBF,KAAOG,SAASC,eAAeF,QAC/BJ,OAASE,KAAKK,cAAc,iCAC5BN,OAASC,KAAKK,cAAc,yBAC5BJ,UAAYD,KAAKK,cAAc,mBAE/BN,OAAOO,QAAU,qBA9BbC,OAASC,SAASP,UAAUQ,UAE5BF,SAAWG,MAAMH,QAAS,KAEtBI,QAAUC,cAAKC,KAAK,CAAC,CACGC,WAAY,mCACZC,KAAM,CACFR,OAAQA,WAIxCI,QAAQ,GAAGK,OAAOC,IACdnB,OAAOoB,UAAY,QAAUD,EAAEE,QAAUF,EAAEG,UAAY,YAE3DT,QAAQ,GAAGU,MAAMC,OACbxB,OAAOoB,UAAYI,KAAKC,YAEpBC,OADe1B,OAAOO,cAAc,2BACdoB,aAAa,eACvCC,QAAQ,CAAC,2BAA2B,SAASC,IACzCA,GAAGC,KAAKJ,eAYhBK,IAEJ5B,UAAU6B,SAAW,KACjBhC,OAAOoB,UAAY"} \ No newline at end of file +{"version":3,"file":"balance.min.js","sources":["../src/balance.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
' + e.message + e.backtrace + '';\n });\n request[0].done((data) => {\n holder.innerHTML = data.details;\n let uniqIdHolder = holder.querySelector('[data-identifier=uniqid');\n let uniqId = uniqIdHolder.getAttribute('data-uniqid');\n require(['enrol_wallet/expenders'], function(ex) {\n ex.init(uniqId);\n });\n });\n }\n}\nexport const init = (formid) => {\n form = document.getElementById(formid);\n holder = form.querySelector(\"[data-purpose=balance-holder]\");\n button = form.querySelector(\"[name=displaybalance]\");\n userInput = form.querySelector(\"[name=userlist]\");\n\n button.onclick = () => {\n getData();\n };\n userInput.onchange = () => {\n holder.innerHTML = '';\n };\n};\n"],"names":["holder","button","form","userInput","formid","document","getElementById","querySelector","onclick","userid","parseInt","value","isNaN","request","Ajax","call","methodname","args","catch","e","innerHTML","message","backtrace","done","data","details","uniqId","getAttribute","require","ex","init","getData","onchange"],"mappings":";;;;;;;SAyBIA,OACAC,OACAC,KACAC,yJA8BiBC,SACjBF,KAAOG,SAASC,eAAeF,QAC/BJ,OAASE,KAAKK,cAAc,iCAC5BN,OAASC,KAAKK,cAAc,yBAC5BJ,UAAYD,KAAKK,cAAc,mBAE/BN,OAAOO,QAAU,qBA9BbC,OAASC,SAASP,UAAUQ,UAE5BF,SAAWG,MAAMH,QAAS,KAEtBI,QAAUC,cAAKC,KAAK,CAAC,CACGC,WAAY,mCACZC,KAAM,CACFR,OAAQA,WAIxCI,QAAQ,GAAGK,OAAOC,IACdnB,OAAOoB,UAAY,QAAUD,EAAEE,QAAUF,EAAEG,UAAY,YAE3DT,QAAQ,GAAGU,MAAMC,OACbxB,OAAOoB,UAAYI,KAAKC,YAEpBC,OADe1B,OAAOO,cAAc,2BACdoB,aAAa,eACvCC,QAAQ,CAAC,2BAA2B,SAASC,IACzCA,GAAGC,KAAKJ,eAYhBK,IAEJ5B,UAAU6B,SAAW,KACjBhC,OAAOoB,UAAY"} \ No newline at end of file diff --git a/amd/build/cdiscount.min.js.map b/amd/build/cdiscount.min.js.map index b4c74179..e7ec4534 100644 --- a/amd/build/cdiscount.min.js.map +++ b/amd/build/cdiscount.min.js.map @@ -1 +1 @@ -{"version":3,"file":"cdiscount.min.js","sources":["../src/cdiscount.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
-