@unizhen/ui 0.1.115 → 0.1.116
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/ui.js
CHANGED
|
@@ -359,10 +359,11 @@ var K = Ge({
|
|
|
359
359
|
isMobile: !1,
|
|
360
360
|
language: !1,
|
|
361
361
|
lang: "zh-CN",
|
|
362
|
-
icons: void 0
|
|
362
|
+
icons: void 0,
|
|
363
|
+
iconDefault: ""
|
|
363
364
|
});
|
|
364
365
|
function Vt(e) {
|
|
365
|
-
q.icons = e;
|
|
366
|
+
q.icons = e.icons, q.iconDefault = e.iconDefault;
|
|
366
367
|
}
|
|
367
368
|
function Ht(e) {
|
|
368
369
|
q.language = e;
|
|
@@ -7532,7 +7533,7 @@ function Bs(e, t, n) {
|
|
|
7532
7533
|
}
|
|
7533
7534
|
//#endregion
|
|
7534
7535
|
//#region package.json
|
|
7535
|
-
var Vs = "0.1.
|
|
7536
|
+
var Vs = "0.1.116", Hs;
|
|
7536
7537
|
async function Us() {
|
|
7537
7538
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
7538
7539
|
method: "HEAD",
|
|
@@ -7563,8 +7564,11 @@ function Ks({ components: e = [] } = {}) {
|
|
|
7563
7564
|
n(r, t, e);
|
|
7564
7565
|
});
|
|
7565
7566
|
}), i)) {
|
|
7566
|
-
let { title: e = "杭州宇臻智能", monitor: t = !1, monitorInfo: n, version: a = !0, language: o = !1, local: s = "zh-CN", icons: c = void 0 } = i,
|
|
7567
|
-
Kt(e), Ht(o), Ut(
|
|
7567
|
+
let { title: e = "杭州宇臻智能", monitor: t = !1, monitorInfo: n, version: a = !0, language: o = !1, local: s = "zh-CN", icons: c = void 0, iconDefault: l = "" } = i, u = G("theme", !1), d = G("lang", s);
|
|
7568
|
+
Kt(e), Ht(o), Ut(d), Wt(u), Vt({
|
|
7569
|
+
icons: c,
|
|
7570
|
+
iconDefault: l
|
|
7571
|
+
}), K.global.locale.value = d, a && Gs(), t && Nn(r, t, n);
|
|
7568
7572
|
}
|
|
7569
7573
|
}
|
|
7570
7574
|
return {
|