Файловый менеджер - Редактировать - /var/www/html/com_categories.zip
Ðазад
PK ! c�r� ( js/shared-categories-accordion.min.js.gznu �[��� � �S�n1��+��:�8�JpKVQ�mS� !!H�t��ڋ=�4J��(a[Z� n�g���{ϝV� Z�A�jL�$�d�����w0����A#�*"1����/����tV�����*�Cy���F�� 0:�#t���za�����`��;8�*�Ѓ��x��M3A�t ���L^����51�[�~W���C´(�"�T� ��+v �2ʚ��=�]$X�D��)Z��d_M�]jEX��n/ȵ��t�\aqؼ�|YZ�+���2��:t4S�D��ˣ��$1������O�b��=/�U1�&��=n��]�:2���6n�Ь�$��O̢&L� F��Z�e< χ�R�سA"�T�*)�#��<a'�|2�����y���|؟e�ɧq6e�����$����Ir��qy��;�AJ�.��Ȏ�Y��6,m�e]��$ E*"� ��kt{�2���`=.������ox4��:Ʒ0��ܷ6��b\\��)�LP�PE�ݠ��»�0���?=�y���0� PK ! o��T T ! js/shared-categories-accordion.jsnu �[��� /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ if (!Joomla || !Joomla.Text) { throw new Error('core.js was not properly initialised'); } // Selectors used by this script const buttonsSelector = '[id^=category-btn-]'; /** * Handle the category toggle button click event * @param event */ const handleCategoryToggleButtonClick = ({ currentTarget }) => { const button = currentTarget; const icon = button.querySelector('span'); // Toggle icon class icon.classList.toggle('icon-plus'); icon.classList.toggle('icon-minus'); // Toggle aria label, aria-expanded const ariaLabel = button.getAttribute('aria-label'); const ariaExpanded = button.getAttribute('aria-expanded'); button.setAttribute('aria-label', ariaLabel === Joomla.Text._('JGLOBAL_EXPAND_CATEGORIES') ? Joomla.Text._('JGLOBAL_COLLAPSE_CATEGORIES') : Joomla.Text._('JGLOBAL_EXPAND_CATEGORIES')); button.setAttribute('aria-expanded', ariaExpanded === 'false' ? 'true' : 'false'); const { categoryId } = button.dataset; const target = document.getElementById(`category-${categoryId}`); target.toggleAttribute('hidden'); }; document.querySelectorAll(buttonsSelector).forEach(button => button.addEventListener('click', handleCategoryToggleButtonClick)); PK ! �0� � % js/shared-categories-accordion.min.jsnu �[��� /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */if(!Joomla||!Joomla.Text)throw new Error("core.js was not properly initialised");const buttonsSelector="[id^=category-btn-]",handleCategoryToggleButtonClick=({currentTarget:e})=>{const t=e,o=t.querySelector("span");o.classList.toggle("icon-plus"),o.classList.toggle("icon-minus");const a=t.getAttribute("aria-label"),r=t.getAttribute("aria-expanded");t.setAttribute("aria-label",a===Joomla.Text._("JGLOBAL_EXPAND_CATEGORIES")?Joomla.Text._("JGLOBAL_COLLAPSE_CATEGORIES"):Joomla.Text._("JGLOBAL_EXPAND_CATEGORIES")),t.setAttribute("aria-expanded",r==="false"?"true":"false");const{categoryId:l}=t.dataset;document.getElementById(`category-${l}`).toggleAttribute("hidden")};document.querySelectorAll(buttonsSelector).forEach(e=>e.addEventListener("click",handleCategoryToggleButtonClick)); PK ! �Z� � joomla.asset.jsonnu �[��� { "$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", "name": "com_categories", "version": "4.0.0", "description": "Joomla CMS", "license": "GPL-2.0-or-later", "assets": [ { "name": "com_categories.shared-categories-accordion", "type": "preset", "dependencies": [ "com_categories.shared-categories-accordion#style", "com_categories.shared-categories-accordion#script" ] }, { "name": "com_categories.shared-categories-accordion", "type": "style", "uri": "com_categories/shared-categories-accordion.min.css", "version": "0dc781" }, { "name": "com_categories.shared-categories-accordion", "type": "script", "uri": "com_categories/shared-categories-accordion.min.js", "dependencies": [ "core" ], "attributes": { "type": "module" }, "version": "587c3d" } ] }PK ! �4�r� � * css/shared-categories-accordion.min.css.gznu �[��� � ��Aj1E�bR�T�!�{�UNЮ����xlc)$!��%�ii���=|�Y}~l�m�֡LJVd�����۱b��E4�j�l_�FJ�h�� ^oӤ� tj�V��p�{��(��eI[�>�� Ȯ�9��a2��,5���?���bC^�����n��ؾ�qN�A����g�(���(ͷ?��%� "�ӧ� PK ! �L�� � # css/shared-categories-accordion.cssnu �[��� @charset "UTF-8"; .com-content-categories__item { border-bottom: 1px solid #dfe3e7; } .com-content-categories__item-title-wrapper { flex-wrap: wrap; justify-content: space-between; padding: .5rem 0; display: flex; } .com-content-categories__children { border-top: 1px solid #dfe3e7; flex-basis: 100%; padding-inline-start: 1.5rem; } .com-content-categories__children .com-content-categories__item:last-child { border-bottom: none; } PK ! "�ӧ� � '