@factoringplus/pl-components-pack-v3 0.11.7-pre-02 → 0.11.7-pre-03
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.
|
@@ -35657,7 +35657,7 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render],
|
|
|
35657
35657
|
let snackbarId = 0;
|
|
35658
35658
|
const renderSnackbar = function(g) {
|
|
35659
35659
|
const { icon: y, color: j, title: z, message: L, button: V, action: re, buttonAdd: ae, actionAdd: le, blockHide: ue } = g;
|
|
35660
|
-
if (!document.getElementById("snackbar")) {
|
|
35660
|
+
if (console.log("renderSnackbar", g), !document.getElementById("snackbar")) {
|
|
35661
35661
|
const Ne = document.createElement("div");
|
|
35662
35662
|
Ne.id = "snackbar", document.body.appendChild(Ne);
|
|
35663
35663
|
}
|
|
@@ -35681,7 +35681,7 @@ const renderSnackbar = function(g) {
|
|
|
35681
35681
|
]);
|
|
35682
35682
|
}
|
|
35683
35683
|
});
|
|
35684
|
-
return de.mount(`#snackbar-${snackbarId}`), ue || setTimeout(() => {
|
|
35684
|
+
return de.mount(`#snackbar-${snackbarId}`), console.log("blockHide", ue), ue || setTimeout(() => {
|
|
35685
35685
|
pe.classList.remove("slideIn-animation"), pe.classList.add("fadeOut-animation"), pe.addEventListener("animationend", () => {
|
|
35686
35686
|
de.unmount(), pe.remove();
|
|
35687
35687
|
});
|