rivia 0.0.53 → 0.0.56
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/index.js +11 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4088,12 +4088,11 @@ var triggerEvent = async (message) => {
|
|
|
4088
4088
|
if (window.label && window.label.parentNode) {
|
|
4089
4089
|
window.label.remove();
|
|
4090
4090
|
}
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
Object.assign(label2.style, {
|
|
4091
|
+
(() => {
|
|
4092
|
+
const ll2 = document.createElement("div");
|
|
4093
|
+
ll2.id = "route-labe";
|
|
4094
|
+
ll2.innerText = "\u{1F389} Congrats! You've completed all items!";
|
|
4095
|
+
Object.assign(ll2.style, {
|
|
4097
4096
|
position: "fixed",
|
|
4098
4097
|
bottom: "20px",
|
|
4099
4098
|
left: "20px",
|
|
@@ -4108,15 +4107,16 @@ var triggerEvent = async (message) => {
|
|
|
4108
4107
|
opacity: 0,
|
|
4109
4108
|
transition: "opacity 0.5s ease"
|
|
4110
4109
|
});
|
|
4111
|
-
document.body.appendChild(
|
|
4110
|
+
document.body.appendChild(ll2);
|
|
4111
|
+
console.log("ll2");
|
|
4112
4112
|
requestAnimationFrame(() => {
|
|
4113
|
-
|
|
4113
|
+
ll2.style.opacity = 1;
|
|
4114
4114
|
});
|
|
4115
4115
|
setTimeout(() => {
|
|
4116
|
-
|
|
4117
|
-
setTimeout(() =>
|
|
4116
|
+
ll2.style.opacity = 0;
|
|
4117
|
+
setTimeout(() => ll2.remove(), 500);
|
|
4118
4118
|
}, 3e3);
|
|
4119
|
-
};
|
|
4119
|
+
})();
|
|
4120
4120
|
}
|
|
4121
4121
|
}
|
|
4122
4122
|
}
|