g-ui-web 1.1.22 → 1.1.24
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/lib/g-ui-web.js +12 -8
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +2 -2
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +1 -1
package/lib/g-ui-web.js
CHANGED
|
@@ -48720,14 +48720,18 @@ class K3 {
|
|
|
48720
48720
|
R0(this, "data", Nr({}));
|
|
48721
48721
|
R0(this, "dataUrl");
|
|
48722
48722
|
R0(this, "events");
|
|
48723
|
-
if (this.events = {}, !t
|
|
48723
|
+
if (this.events = {}, !t)
|
|
48724
|
+
throw console.error("dataUrl is undefined or null"), new Error("Invalid dataUrl");
|
|
48725
|
+
if (typeof t == "string" || typeof t == "number" || typeof t == "object" && t !== null && !t.path)
|
|
48724
48726
|
this.loadStaticData(t);
|
|
48725
|
-
else if (Array.isArray(t))
|
|
48727
|
+
else if (Array.isArray(t)) {
|
|
48728
|
+
if (!t.some((r) => r && r.path))
|
|
48729
|
+
throw console.error("Array dataUrl must contain at least one object with a path property"), new Error("Invalid array dataUrl");
|
|
48726
48730
|
this.dataUrl = t, this.load(this.dataUrl);
|
|
48727
|
-
else
|
|
48728
|
-
|
|
48729
|
-
|
|
48730
|
-
|
|
48731
|
+
} else if (typeof t == "object" && t !== null && t.path)
|
|
48732
|
+
this.dataUrl = t, [void 0, !0].includes(t == null ? void 0 : t.autoQuery) && this.load(this.dataUrl);
|
|
48733
|
+
else
|
|
48734
|
+
throw console.error("Invalid dataUrl type. Expected object, array, string, or number."), new Error("Invalid dataUrl type");
|
|
48731
48735
|
}
|
|
48732
48736
|
loadStaticData(t) {
|
|
48733
48737
|
this.data = t, xe(() => {
|
|
@@ -48782,7 +48786,7 @@ const Kt = (e) => {
|
|
|
48782
48786
|
params: r[1] ? qy.parse(r[1]) : {}
|
|
48783
48787
|
});
|
|
48784
48788
|
}
|
|
48785
|
-
return e
|
|
48789
|
+
return (e == null ? void 0 : e.path) != null && (t = new K3(e)), e != null && e.dsKey && (t = e), !(e != null && e.path) && !(e != null && e.dsKey) && !(typeof e == "string" && y5.some((r) => e.includes(r))) && !["string", "number"].includes(typeof e) && (t = new K3(e)), t;
|
|
48786
48790
|
}, Y3 = (e) => Array.isArray(e) ? "数组" : typeof e == "object" && e !== null ? "对象" : typeof e == "string" ? "字符串" : "其他类型";
|
|
48787
48791
|
var B$e = {
|
|
48788
48792
|
name: "zh-cn",
|
|
@@ -93937,7 +93941,7 @@ const $l = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAABfCAYAAADLYXQyAA
|
|
|
93937
93941
|
], 64);
|
|
93938
93942
|
};
|
|
93939
93943
|
}
|
|
93940
|
-
}), gst = /* @__PURE__ */ Qn(vst, [["__scopeId", "data-v-
|
|
93944
|
+
}), gst = /* @__PURE__ */ Qn(vst, [["__scopeId", "data-v-2afb4287"]]), mst = rr(gst), yst = { class: "g-ranking-table-rb" }, bst = {
|
|
93941
93945
|
key: 0,
|
|
93942
93946
|
class: "g-ranking-tooltip"
|
|
93943
93947
|
}, _st = { class: "ranking-rb-list" }, wst = { class: "item" }, Cst = { class: "item-inbox" }, xst = ["title"], Sst = { class: "item-inbox-target" }, Est = { class: "target" }, Tst = {
|
package/lib/g-ui-web.js.gz
CHANGED
|
Binary file
|