@wastedondestiny/destiny-library 1.1.4 → 1.1.5
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/destiny-library.js
CHANGED
|
@@ -2774,7 +2774,10 @@ const SQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2774
2774
|
])
|
|
2775
2775
|
], 64));
|
|
2776
2776
|
}
|
|
2777
|
-
}), DE = ["onClick"], iE = { class: "w-full max-h-full max-w-[40rem] bg-zinc-200 flex justify-center rounded-lg shadow-black shadow-lg relative" }, oE = {
|
|
2777
|
+
}), DE = ["onClick"], iE = { class: "w-full max-h-full max-w-[40rem] bg-zinc-200 flex justify-center rounded-lg shadow-black shadow-lg relative" }, oE = {
|
|
2778
|
+
class: "w-full overflow-y-auto overflow-x-clip",
|
|
2779
|
+
style: { contain: "content" }
|
|
2780
|
+
}, FE = { class: "max-w-[60rem] w-full px-3 py-4 dialog-md" }, LE = /* @__PURE__ */ SA({
|
|
2778
2781
|
__name: "Popup",
|
|
2779
2782
|
setup(A) {
|
|
2780
2783
|
const g = H(!1);
|
|
@@ -2795,7 +2798,7 @@ const SQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2795
2798
|
}, [
|
|
2796
2799
|
R("div", iE, [
|
|
2797
2800
|
R("button", {
|
|
2798
|
-
class: "w-10 h-10
|
|
2801
|
+
class: "w-10 h-10 block absolute top-0 right-0 text-4xl opacity-75 hover:opacity-100 z-10",
|
|
2799
2802
|
onClick: C
|
|
2800
2803
|
}, "×"),
|
|
2801
2804
|
R("div", oE, [
|
|
@@ -2859,8 +2862,8 @@ function aE(A) {
|
|
|
2859
2862
|
function tE(A) {
|
|
2860
2863
|
if (!A)
|
|
2861
2864
|
return "0h";
|
|
2862
|
-
const g = Math.floor(A / 3600), B = Math.floor(A / 60 % 60)
|
|
2863
|
-
return (g ? `${UE(g)}h ` : "") +
|
|
2865
|
+
const g = Math.floor(A / 3600), B = Math.floor(A / 60 % 60);
|
|
2866
|
+
return (g ? `${UE(g)}h ` : "") + `${B}m`.padStart(3, "0");
|
|
2864
2867
|
}
|
|
2865
2868
|
function UE(A) {
|
|
2866
2869
|
return A.toLocaleString("en-CA");
|