fui-material 2.2.15 → 2.2.16
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.
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -49989,17 +49989,17 @@ const fNotification = ({
|
|
|
49989
49989
|
};
|
|
49990
49990
|
const fNotificationDelete = (id) => {
|
|
49991
49991
|
const el = window.document.querySelector(id);
|
|
49992
|
-
if (el
|
|
49993
|
-
|
|
49994
|
-
|
|
49995
|
-
|
|
49996
|
-
|
|
49997
|
-
|
|
49998
|
-
|
|
49999
|
-
|
|
50000
|
-
|
|
50001
|
-
|
|
50002
|
-
}
|
|
49992
|
+
if (!el) return;
|
|
49993
|
+
const container2 = document.getElementById("block-notification");
|
|
49994
|
+
if (!container2) return;
|
|
49995
|
+
el.className = styles["f-function-notification-hidden"];
|
|
49996
|
+
setTimeout(() => {
|
|
49997
|
+
el.classList.remove(styles["f-function-notification-visible"]);
|
|
49998
|
+
}, 1e3);
|
|
49999
|
+
setTimeout(() => {
|
|
50000
|
+
if (el.parentNode) el.parentNode.removeChild(el);
|
|
50001
|
+
if (container2.children.length === 0) container2.remove();
|
|
50002
|
+
}, 2e3);
|
|
50003
50003
|
};
|
|
50004
50004
|
const fConvertFileToBase64 = (file, deletePrefix = false) => {
|
|
50005
50005
|
return new Promise((resolve, reject) => {
|