Liferay.Loader.define("asset-list-web@3.0.88/js/Ordering",["module","exports","require","frontend-js-web"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _default({iconCssClass:e,orderingContainerId:t}){const r=document.getElementById(t),n=(0,o.delegate)(r,"click",e,(t=>{const r=t.target.closest(".order-by-type-container");r.querySelectorAll(e).forEach((e=>e.classList.toggle("hide")));const o=r.querySelector(".order-by-type-field"),n="ASC"===o.value?"DESC":"ASC";o.value=n}));return{dispose(){n.dispose()}}};var o=r("frontend-js-web")}));
//# sourceMappingURL=Ordering.js.map