@luizleon/sf.prefeiturasp.vuecomponents 5.0.38 → 5.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8353,8 +8353,9 @@ class Em {
8353
8353
  500
8354
8354
  ));
8355
8355
  const r = document.createElement("div"), o = document.createElement("div"), i = document.createElement("div");
8356
- o.className = "content", i.className = "progress", o.appendChild(i), r.className = "sf-toast", r.style.zIndex = (Tt.GetMaxZindex() + 1).toString(), r.appendChild(o), this.current = r, document.body.appendChild(r), r.addEventListener("transitionend", (l) => {
8357
- l.propertyName === "opacity" && r.style.opacity === "0" && (document.body.removeChild(r), this.current && this.current === r && (this.current = null));
8356
+ o.className = "content", i.className = "progress", o.appendChild(i), r.className = "sf-toast", r.style.zIndex = Tt.GetMaxZindex().toString(), r.appendChild(o), this.current = r, document.body.appendChild(r), r.addEventListener("transitionend", (l) => {
8357
+ const u = l.propertyName === "opacity", d = l.target.classList.contains("visible");
8358
+ u && !d && (document.body.removeChild(r), this.current === r && (this.current = null));
8358
8359
  });
8359
8360
  const a = [];
8360
8361
  Array.isArray(e.message) ? a.push(...e.message) : a.push(e.message);