@gonsin/gview 2.0.45 → 2.0.46
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.mjs +4 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10090,9 +10090,9 @@ const ss = /* @__PURE__ */ ae({
|
|
|
10090
10090
|
const pe = oo.decode(ft.render(P.downloadUrl, { item: Q })), z = Lt(pe, Ce, !1);
|
|
10091
10091
|
if ((pe ?? "") != "" && (z ?? !1)) {
|
|
10092
10092
|
const Z = pe.split("/").slice(-1)[0], ne = document.createElement("a");
|
|
10093
|
-
ne.style.display = "none", ne.setAttribute("target", "_blank"), Z && ne.setAttribute("download", Z), ne.setAttribute("href", z), ne.click(), console.log(`下载链接:${z}`), ue.info(`${o("即将开始下载")}${Z}`);
|
|
10093
|
+
ne.style.display = "none", ne.setAttribute("target", "_blank"), Z && ne.setAttribute("download", Z), ne.setAttribute("href", z), ne.click(), console.log(`下载链接:${z}`), ue.info(`${o("即将开始下载")} ${Z}`);
|
|
10094
10094
|
} else
|
|
10095
|
-
ue.info("未设置下载链接");
|
|
10095
|
+
ue.info(`${o("未设置下载链接")}`);
|
|
10096
10096
|
}
|
|
10097
10097
|
break;
|
|
10098
10098
|
}
|
|
@@ -10127,7 +10127,7 @@ const ss = /* @__PURE__ */ ae({
|
|
|
10127
10127
|
buttonId: Q,
|
|
10128
10128
|
props: te,
|
|
10129
10129
|
viewName: t.viewName
|
|
10130
|
-
})).state === 200 && ue.success("提交成功");
|
|
10130
|
+
})).state === 200 && ue.success(`${o("提交成功")}`);
|
|
10131
10131
|
}
|
|
10132
10132
|
function Y(P, Q) {
|
|
10133
10133
|
if (P.itemType == "selector" || P.itemType == "time_selector" || P.itemType == "date_time_selector" || P.itemType == "tree_check_box" || P.itemType === "multi_tree_selector" || P.itemType === "tree_selector") {
|
|
@@ -10319,7 +10319,7 @@ const fn = He(ss), cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10319
10319
|
_: 1
|
|
10320
10320
|
}, 8, ["title"]));
|
|
10321
10321
|
}
|
|
10322
|
-
}), ds = "@gonsin/gview", ms = "2.0.
|
|
10322
|
+
}), ds = "@gonsin/gview", ms = "2.0.46", fs = "dist/index.mjs", hs = "dist/types/index.d.ts", ps = [
|
|
10323
10323
|
"dist",
|
|
10324
10324
|
"README.md",
|
|
10325
10325
|
"CHANGELOG.md"
|