@skyfox2000/microbase 1.0.11 → 1.0.12

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/index.d.ts CHANGED
@@ -168,25 +168,6 @@ export declare interface HostInfo {
168
168
  [key: string]: any;
169
169
  }
170
170
 
171
- declare type IconFontOptions = {
172
- /**
173
- * 加载的图标集地址
174
- */
175
- iconUrl: string;
176
- /**
177
- * 是否单色图标集,会替换清空所有fill参数
178
- */
179
- monoColor?: boolean;
180
- /**
181
- * 图标名称
182
- */
183
- icon?: string;
184
- /**
185
- * 图标集
186
- */
187
- icons?: string[];
188
- };
189
-
190
171
  /**
191
172
  * 从页面加载处获取接口
192
173
  */
@@ -290,7 +271,7 @@ export declare interface MainOpenApis {
290
271
  /**
291
272
  * 主机解析图标库并同步到子应用
292
273
  */
293
- createIconLib: (options: IconFontOptions, iconLib: Ref<Record<string, any>>) => void;
274
+ createIconLib: (iconLib: Ref<Record<string, any>>) => void;
294
275
  /**
295
276
  * 获取当前用户信息
296
277
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyfox2000/microbase",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "微前端通用功能与数据类型定义",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -45,24 +45,6 @@ export interface MainAppData {
45
45
  pageUrl: string;
46
46
  }
47
47
 
48
- export type IconFontOptions = {
49
- /**
50
- * 加载的图标集地址
51
- */
52
- iconUrl: string;
53
- /**
54
- * 是否单色图标集,会替换清空所有fill参数
55
- */
56
- monoColor?: boolean;
57
- /**
58
- * 图标名称
59
- */
60
- icon?: string;
61
- /**
62
- * 图标集
63
- */
64
- icons?: string[];
65
- };
66
48
  /**
67
49
  * 主应用开放接口
68
50
  */
@@ -87,7 +69,7 @@ export interface MainOpenApis {
87
69
  /**
88
70
  * 主机解析图标库并同步到子应用
89
71
  */
90
- createIconLib: (options:IconFontOptions, iconLib: Ref<Record<string, any>>) => void;
72
+ createIconLib: (iconLib: Ref<Record<string, any>>) => void;
91
73
  /**
92
74
  * 获取当前用户信息
93
75
  */