@vc-shell/framework 1.0.65 → 1.0.67

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.
@@ -10,7 +10,7 @@ interface IUISetting {
10
10
 
11
11
  interface IUseSettings {
12
12
  readonly uiSettings: Ref<IUISetting>;
13
- getUiCustomizationSettings: () => void;
13
+ getUiCustomizationSettings: (base: string) => void;
14
14
  applySettings: (args: { logo?: string; title?: string }) => void;
15
15
  }
16
16
 
@@ -27,9 +27,8 @@ export function useSettings(): IUseSettings {
27
27
  return client;
28
28
  }
29
29
 
30
- async function getUiCustomizationSettings() {
30
+ async function getUiCustomizationSettings(base: string) {
31
31
  const client = await getApiClient();
32
- const base = import.meta.env.APP_PLATFORM_URL;
33
32
 
34
33
  try {
35
34
  const result = await client.getUICustomizationSetting();
@@ -6,7 +6,7 @@ interface IUISetting {
6
6
  }
7
7
  interface IUseSettings {
8
8
  readonly uiSettings: Ref<IUISetting>;
9
- getUiCustomizationSettings: () => void;
9
+ getUiCustomizationSettings: (base: string) => void;
10
10
  applySettings: (args: {
11
11
  logo?: string;
12
12
  title?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,GAAG,EAAO,MAAM,KAAK,CAAC;AAGzC,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,YAAY;IACpB,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACrC,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAMD,wBAAgB,WAAW,IAAI,YAAY,CAwC1C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,GAAG,EAAO,MAAM,KAAK,CAAC;AAGzC,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,YAAY;IACpB,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACrC,0BAA0B,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAMD,wBAAgB,WAAW,IAAI,YAAY,CAuC1C"}