pinokiod 3.216.0 → 3.217.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.216.0",
3
+ "version": "3.217.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -356,6 +356,23 @@ document.addEventListener("DOMContentLoaded", async () => {
356
356
  }
357
357
  })
358
358
  })
359
+ const LoadingDialog = {
360
+ start: (msg) => {
361
+ Swal.fire({
362
+ html: `<i class="fa-solid fa-circle-notch fa-spin"></i> ${msg}`,
363
+ customClass: {
364
+ container: "loader-container",
365
+ popup: "loader-popup",
366
+ htmlContainer: "loader-dialog",
367
+ footer: "hidden",
368
+ actions: "hidden"
369
+ }
370
+ });
371
+ },
372
+ end: () => {
373
+ Swal.close()
374
+ }
375
+ }
359
376
  LoadingDialog.start("Restarting...")
360
377
  fetch("/restart", {
361
378
  method: "post"