File manager - Edit - /home/opticamezl/www/newok/531c5/com_modules.zip
Back
PK �T�\��� joomla.asset.jsonnu �[��� { "$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", "name": "com_modules", "version": "4.0.0", "description": "Joomla CMS", "license": "GPL-2.0-or-later", "assets": [ { "name": "com_modules.admin-module-edit.es5", "type": "script", "uri": "com_modules/admin-module-edit-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "98089a451225fb11cbe27c336b3a106fae05f461" }, { "name": "com_modules.admin-module-edit", "type": "script", "uri": "com_modules/admin-module-edit.min.js", "dependencies": [ "com_modules.admin-module-edit.es5" ], "attributes": { "type": "module" }, "version": "8a30c3729aa1c4c9b2ab1fb4689eb91b9ddf817d" }, { "name": "com_modules.admin-module-edit-assignment.es5", "type": "script", "uri": "com_modules/admin-module-edit_assignment-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "7292d43254f6c51c0229f2de9c8edfd39f828ed1" }, { "name": "com_modules.admin-module-search.es5", "type": "script", "uri": "com_modules/admin-module-search-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "42f0755f097172e676c760aac8a891eb9a01f2ef" }, { "name": "com_modules.admin-module-edit-assignment", "type": "script", "uri": "com_modules/admin-module-edit_assignment.min.js", "dependencies": [ "com_modules.admin-module-edit-assignment.es5" ], "attributes": { "type": "module" }, "version": "4de3d9472858708ec519409949136911b393b304" }, { "name": "com_modules.admin-module-search", "type": "script", "uri": "com_modules/admin-module-search.min.js", "dependencies": [ "com_modules.admin-module-search.es5" ], "attributes": { "type": "module" }, "version": "7f455deedb8cf86ad15ad647f3a72da541a88b26" }, { "name": "com_modules.admin-modules-modal.es5", "type": "script", "uri": "com_modules/admin-modules-modal-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "b75438865f1d59c438b534bd3d65755cf2393b5b" }, { "name": "com_modules.admin-modules-modal", "type": "script", "uri": "com_modules/admin-modules-modal.min.js", "dependencies": [ "com_modules.admin-modules-modal.es5" ], "attributes": { "type": "module" }, "version": "6dc90af7f60de190c029b58a09529038580d6607" }, { "name": "com_modules.admin-select-modal.es5", "type": "script", "uri": "com_modules/admin-select-modal-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "e2265fe33b524535fa2df01e160e21a4a822edcc" }, { "name": "com_modules.admin-select-modal", "type": "script", "uri": "com_modules/admin-select-modal.min.js", "dependencies": [ "com_modules.admin-select-modal.es5" ], "attributes": { "type": "module" }, "version": "582486f83ac8f6f5ae4d616ec1390d590ae65c6b" } ] }PK �T�\��hh� � js/admin-select-modal-es5.jsnu �[��� (function () { 'use strict'; /** * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (function (document) { document.addEventListener('DOMContentLoaded', function () { var elems = document.querySelectorAll('#new-modules-list a.select-link'); elems.forEach(function (elem) { elem.addEventListener('click', function (_ref) { var currentTarget = _ref.currentTarget, target = _ref.target; var targetElem = currentTarget; // There is some bug with events in iframe where currentTarget is "null" // => prevent this here by bubble up if (!targetElem) { targetElem = target; if (targetElem && !targetElem.classList.contains('select-link')) { targetElem = targetElem.parentNode; } } var functionName = targetElem.getAttribute('data-function'); if (functionName && typeof window.parent[functionName] === 'function') { window.parent[functionName](targetElem); } }); }); }); })(document); })(); PK �T�\)�S S js/admin-module-edit.jsnu �[��� /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (Joomla => { Joomla.submitbutton = task => { if (task === 'module.cancel' || document.formvalidator.isValid(document.getElementById('module-form'))) { Joomla.submitform(task, document.getElementById('module-form')); const options = Joomla.getOptions('module-edit'); if (window.self !== window.top) { if (window.parent.viewLevels) { const updPosition = document.getElementById('jform_position').value; const updTitle = document.getElementById('jform_title').value; const updMenus = document.querySelector('#jform_assignment').value; const updStatus = document.querySelector('#jform_published').value; const updAccess = document.querySelector('#jform_access').value; const tmpMenu = window.parent.document.getElementById(`menus-${options.itemId}`); const tmpRow = window.parent.document.getElementById(`tr-${options.itemId}`); const tmpStatus = window.parent.document.getElementById(`status-${options.itemId}`); window.parent.inMenus = []; window.parent.numMenus = [].slice.call(document.querySelectorAll('input[name="jform[assigned][]"]')).length; [].slice.call(document.querySelectorAll('input[name="jform[assigned][]"]')).forEach(element => { if (updMenus > 0) { if (element.checked) { window.parent.inMenus.push(parseInt(element.value, 10)); } } if (updMenus < 0) { if (!element.checked) { window.parent.inMenus.push(parseInt(element.value, 10)); } } }); if (updMenus === '-') { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-danger">${Joomla.Text._('JNO')}</span>`); if (!tmpRow.classList.contains('no') || tmpRow.classList.length === 0) { tmpRow.classList.add('no'); } } if (parseInt(updMenus, 10) === 0) { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-info">${Joomla.Text._('JALL')}</span>`); if (tmpRow.classList.contains('no')) { tmpRow.classList.remove('no'); } } if (parseInt(updMenus, 10) > 0) { if (window.parent.inMenus.indexOf(window.parent.menuId) >= 0) { if (window.parent.numMenus === window.parent.inMenus.length) { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-info">${Joomla.Text._('JALL')}</span>`); if (tmpRow.classList.contains('no') || tmpRow.classList.length === 0) { tmpRow.classList.remove('no'); } } else { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-success">${Joomla.Text._('JYES')}</span>`); if (tmpRow.classList.contains('no')) { tmpRow.classList.remove('no'); } } } if (window.parent.inMenus.indexOf(window.parent.menuId) < 0) { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-danger">${Joomla.Text._('JNO')}</span>`); if (!tmpRow.classList.contains('no')) { tmpRow.classList.add('no'); } } } if (parseInt(updMenus, 10) < 0) { if (window.parent.inMenus.indexOf(window.parent.menuId) >= 0) { if (window.parent.numMenus === window.parent.inMenus.length) { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-info">${Joomla.Text._('JALL')}</span>`); if (tmpRow.classList.contains('no')) { tmpRow.classList.remove('no'); } } else { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-success">${Joomla.Text._('JYES')}</span>`); if (tmpRow.classList.contains('no')) { tmpRow.classList.remove('no'); } } } if (window.parent.inMenus.indexOf(window.parent.menuId) < 0) { tmpMenu.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-danger">${Joomla.Text._('JNO')}</span>`); if (!tmpRow.classList.contains('no') || tmpRow.classList.length === 0) { tmpRow.classList.add('no'); } } } if (parseInt(updStatus, 10) === 1) { tmpStatus.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-success">${Joomla.Text._('JYES')}</span>`); if (tmpRow.classList.contains('unpublished')) { tmpRow.classList.remove('unpublished'); } } if (parseInt(updStatus, 10) === 0) { tmpStatus.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-danger">${Joomla.Text._('JNO')}</span>`); if (!tmpRow.classList.contains('unpublished') || tmpRow.classList.length === 0) { tmpRow.classList.add('unpublished'); } } if (parseInt(updStatus, 10) === -2) { tmpStatus.innerHTML = Joomla.sanitizeHtml(`<span class="badge bg-secondary">${Joomla.Text._('JTRASHED')}</span>`); if (!tmpRow.classList.contains('unpublished') || tmpRow.classList.length === 0) { tmpRow.classList.add('unpublished'); } } if (document.formvalidator.isValid(document.getElementById('module-form'))) { window.parent.document.querySelector(`#title-${options.itemId}`).innerText = updTitle; window.parent.document.querySelector(`#position-${options.itemId}`).innerText = updPosition; window.parent.document.querySelector(`#access-${options.itemId}`).innerHTML = Joomla.sanitizeHtml(window.parent.viewLevels[updAccess]); } } if (task !== 'module.apply') { window.parent.Joomla.Modal.getCurrent().close(); } } } }; })(Joomla); PK �T�\��Rx! ! js/admin-select-modal.jsnu �[��� /** * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (document => { document.addEventListener('DOMContentLoaded', () => { const elems = document.querySelectorAll('#new-modules-list a.select-link'); elems.forEach(elem => { elem.addEventListener('click', ({ currentTarget, target }) => { let targetElem = currentTarget; // There is some bug with events in iframe where currentTarget is "null" // => prevent this here by bubble up if (!targetElem) { targetElem = target; if (targetElem && !targetElem.classList.contains('select-link')) { targetElem = targetElem.parentNode; } } const functionName = targetElem.getAttribute('data-function'); if (functionName && typeof window.parent[functionName] === 'function') { window.parent[functionName](targetElem); } }); }); }); })(document); PK �T�\�F Az z js/admin-select-modal.min.js.gznu �[��� � m�Ak1��S�Y�mn�vM�kB�q nN�E�j䙭4��q��˺������x<�1|r�R��@�K�x��ܵH��.9�[+�)WpC�ǝH�/�Ӿ���}���vvR��2 \��� ���{�����>aʁ .�D+�jȈ���/V녑_2��TS3;���/��d�>�>��Ιd����U�����tXcD'��b��-a?ٳ�"�IY��|&1У*͆�º���^s1�GU��RB��6mQ.c%����5>?kl�¢x��E��2�Il���?�E��A���b�eY;�, �-ʕH ��Vފ�l:r�TYKQȡE�@�s�|��M��rE���|9���=����7 S�T PK �T�\7��)j j $ js/admin-module-search-es5.min.js.gznu �[��� � �SMo1��WV6ZL�#dK[�RZ�V�=UU������CV��6��;��,�{�ްYr �w�oh�@"�����i�7�/�`�$� 999>9&����ԧ���KD1'c�9] .c��]��������T�(p!���9AZ�9]Z���&���w�@�D}�d<]LG��+ګT�C1Y��缾fT����d!N���)Ƞ���9C�P��\N�Z-�=H}�s��@L��'A������v�������E%�e��Z˨x\y(����͌A�E�!�����D��b�7TiI�[�X����� �a(V�&�U�z��j ~F"�Z�)� �pJͲ�"�JF?4�Q��y3�p���/G���̇�Tvۄ�3c^(+c�{J�Fu�y��6���?٢�u���A��ƛg`Jݹ�<O�h�p��R�Gi^f`}�S���@?�kC�qa��ICd�0���̲Vy(|pf���=U��w;���^�r��ܞ �=��+_,�^���㾜 f^��xC���/��GF�f4��R���&.%��0k��K/Cs��s�S5n���8��g�$~X PK �T�\�E�L@ @ js/admin-module-edit-es5.min.jsnu �[��� (function(){"use strict";/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */Joomla=window.Joomla||{},function(e){e.submitbutton=function(d){if(d==="module.cancel"||document.formvalidator.isValid(document.getElementById("module-form"))){e.submitform(d,document.getElementById("module-form"));var i=e.getOptions("module-edit");if(window.self!==window.top){if(window.parent.viewLevels){var l=document.getElementById("jform_position").value,u=document.getElementById("jform_title").value,a=document.querySelector("#jform_assignment").value,c=document.querySelector("#jform_published").value,f=document.querySelector("#jform_access").value,s=window.parent.document.getElementById("menus-"+i.itemId),n=window.parent.document.getElementById("tr-"+i.itemId),r=window.parent.document.getElementById("status-"+i.itemId);window.parent.inMenus=[],window.parent.numMenus=[].slice.call(document.querySelectorAll('input[name="jform[assigned][]"]')).length,[].slice.call(document.querySelectorAll('input[name="jform[assigned][]"]')).forEach(function(t){a>0&&t.checked&&window.parent.inMenus.push(parseInt(t.value,10)),a<0&&(t.checked||window.parent.inMenus.push(parseInt(t.value,10)))}),a==="-"&&(s.innerHTML=e.sanitizeHtml('<span class="badge bg-danger">'+e.Text._("JNO")+"</span>"),(!n.classList.contains("no")||n.classList.length===0)&&n.classList.add("no")),parseInt(a,10)===0&&(s.innerHTML=e.sanitizeHtml('<span class="badge bg-info">'+e.Text._("JALL")+"</span>"),n.classList.contains("no")&&n.classList.remove("no")),parseInt(a,10)>0&&(window.parent.inMenus.indexOf(window.parent.menuId)>=0&&(window.parent.numMenus===window.parent.inMenus.length?(s.innerHTML=e.sanitizeHtml('<span class="badge bg-info">'+e.Text._("JALL")+"</span>"),(n.classList.contains("no")||n.classList.length===0)&&n.classList.remove("no")):(s.innerHTML=e.sanitizeHtml('<span class="badge bg-success">'+e.Text._("JYES")+"</span>"),n.classList.contains("no")&&n.classList.remove("no"))),window.parent.inMenus.indexOf(window.parent.menuId)<0&&(s.innerHTML=e.sanitizeHtml('<span class="badge bg-danger">'+e.Text._("JNO")+"</span>"),n.classList.contains("no")||n.classList.add("no"))),parseInt(a,10)<0&&(window.parent.inMenus.indexOf(window.parent.menuId)>=0&&(window.parent.numMenus===window.parent.inMenus.length?(s.innerHTML=e.sanitizeHtml('<span class="badge bg-info">'+e.Text._("JALL")+"</span>"),n.classList.contains("no")&&n.classList.remove("no")):(s.innerHTML=e.sanitizeHtml('<span class="badge bg-success">'+e.Text._("JYES")+"</span>"),n.classList.contains("no")&&n.classList.remove("no"))),window.parent.inMenus.indexOf(window.parent.menuId)<0&&(s.innerHTML=e.sanitizeHtml('<span class="badge bg-danger">'+e.Text._("JNO")+"</span>"),(!n.classList.contains("no")||n.classList.length===0)&&n.classList.add("no"))),parseInt(c,10)===1&&(r.innerHTML=e.sanitizeHtml('<span class="badge bg-success">'+e.Text._("JYES")+"</span>"),n.classList.contains("unpublished")&&n.classList.remove("unpublished")),parseInt(c,10)===0&&(r.innerHTML=e.sanitizeHtml('<span class="badge bg-danger">'+e.Text._("JNO")+"</span>"),(!n.classList.contains("unpublished")||n.classList.length===0)&&n.classList.add("unpublished")),parseInt(c,10)===-2&&(r.innerHTML=e.sanitizeHtml('<span class="badge bg-secondary">'+e.Text._("JTRASHED")+"</span>"),(!n.classList.contains("unpublished")||n.classList.length===0)&&n.classList.add("unpublished")),document.formvalidator.isValid(document.getElementById("module-form"))&&(window.parent.document.querySelector("#title-"+i.itemId).innerText=u,window.parent.document.querySelector("#position-"+i.itemId).innerText=l,window.parent.document.querySelector("#access-"+i.itemId).innerHTML=e.sanitizeHtml(window.parent.viewLevels[f]))}d!=="module.apply"&&window.parent.Joomla.Modal.getCurrent().close()}}}}(Joomla)})(); PK �T�\pAZF F &