CoreFiles by mySites.guru
quickicon.es6.min.js1 lines, 777 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
9428364779ce8e3cfd8152dbf5eb0f54
sha1
63c6bf30a2a22d34f8df22a9f485f1f0b51f1ebe
sha256
d47adda81aa9c151b10eb973f632dc03a1c3c9c3301278579e1e324f93038dc2
((a,b)=>{'use strict';a.addEventListener("DOMContentLoaded",()=>{a.querySelectorAll(".quickicon").forEach(c=>{const d=c.querySelector(".pulse"),e=c.querySelector(".quickicon-amount");!e||e.dataset.url&&b.request({url:e.dataset.url,method:"GET",onSuccess:b=>{const f=JSON.parse(b);if(Object.prototype.hasOwnProperty.call(f,"data")){const b=c.querySelector(".quickicon-name"),g=a.createElement("span");if(d){const a=0<f.data?"warning":"success";d.classList.add(a)}f.data.name&&b&&(g.textContent=f.data.name,b.replaceChild(g,b.firstChild)),e.textContent="\u200E".concat(f.data.amount);const h=c.querySelector(".quickicon-sr-desc");f.data.sronly&&h&&(h.textContent=f.data.sronly)}else d&&d.classList.add("error")},onError:()=>{d&&d.classList.add("error")}})})})})(document,Joomla);

The same content is in 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.