v0.4.17
This commit is contained in:
@@ -770,7 +770,7 @@ const re = class re {
|
||||
})));
|
||||
k(this, "getWidgetComponent", async (t) => {
|
||||
if (!t) throw "getWidgetComponent widget is required";
|
||||
if (t != null && t.startsWith("@pkg/")) return await import(`${N.appUrl}/api/pkg-import?name=${t}`);
|
||||
if (t != null && t.startsWith("@pkg/")) return await import(`${N.appUrl}/api/pkg-import/web?name=${t}`);
|
||||
if (t != null && t.startsWith("blob:") || t != null && t.startsWith("http:") || t != null && t.startsWith("https:")) return await import(t);
|
||||
const [, a] = t == null ? void 0 : t.split("@ff/"), [, n] = t == null ? void 0 : t.split("@app/"), [, r] = t == null ? void 0 : t.split("@pkg/"), [, i] = t == null ? void 0 : t.split("@fsdpf/");
|
||||
try {
|
||||
Reference in New Issue
Block a user