@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.
@@ -8,6 +8,7 @@ export interface InstallOptions {
8
8
  language?: boolean;
9
9
  local?: 'en-US' | 'zh-CN' | 'fr-FR';
10
10
  icons?: any;
11
+ iconDefault?: string;
11
12
  }
12
13
  export interface UzInstance {
13
14
  version: string;
@@ -7,6 +7,7 @@ export declare const commonStore: {
7
7
  language: boolean;
8
8
  lang: Lang;
9
9
  icons: any;
10
+ iconDefault: string;
10
11
  };
11
12
  export declare function fnSetIcons(val: any): void;
12
13
  export declare function fnSetLanguage(val: boolean): void;
@@ -145,6 +145,7 @@ declare const __VLS_export: DefineComponent<{}, {
145
145
  language: boolean;
146
146
  lang: "zh-CN" | "en-US" | "fr-FR";
147
147
  icons: any;
148
+ iconDefault: string;
148
149
  };
149
150
  lightTheme: GlobalThemeOverrides;
150
151
  darkTheme: BuiltInGlobalTheme;
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.115", Hs;
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, l = G("theme", !1), u = G("lang", s);
7567
- Kt(e), Ht(o), Ut(u), Wt(l), Vt(c), K.global.locale.value = u, a && Gs(), t && Nn(r, t, n);
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.115",
3
+ "version": "0.1.116",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },