@das-fed/mframe 0.0.32 → 0.0.33

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.
Files changed (4) hide show
  1. package/es5.js +3311 -3310
  2. package/index.d.ts +9 -3
  3. package/index.js +2831 -2831
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -74,7 +74,9 @@ declare const channelItem: {
74
74
  }>, opt?: {
75
75
  notMerge?: boolean;
76
76
  } | undefined) => void;
77
- get: (keys?: ("visible" | "frameVisible" | "navVisible" | "menuVisible" | "tabVisible" | "mountVisible" | "navRect" | "menuRect" | "tabRect" | "mountRect" | "microApps" | "activeMicroAppName" | "activeMicroAppItem" | "navItems" | "activeNavItem" | "menuItems" | "activeMenuItem" | "fullNavItems" | "tabItems" | "activeTabItem" | "microAppStickStatus" | "initOptions")[] | undefined) => {
77
+ get: (keys?: ("visible" | "frameVisible" | "navVisible" | "menuVisible" | "tabVisible" | "mountVisible" | "navRect" | "menuRect" | "tabRect" | "mountRect" | "microApps" | "activeMicroAppName" | "activeMicroAppItem" | "navItems" | "activeNavItem" | "menuItems" | "activeMenuItem" | "fullNavItems" | "tabItems" | "activeTabItem" | "microAppStickStatus" | "initOptions")[] | undefined, options?: {
78
+ clone?: boolean;
79
+ } | undefined) => {
78
80
  /** 整个容器是否显示,默认为true,包括内容区域 */
79
81
  visible: boolean | undefined;
80
82
  /** 外框是否显示,默认为true,外框包括顶部导航栏,左侧菜单栏,tab标签栏 */
@@ -284,7 +286,9 @@ declare const channelItem_2: {
284
286
  set: (payload: Partial<{}>, opt?: {
285
287
  notMerge?: boolean;
286
288
  } | undefined) => void;
287
- get: (keys?: never[] | undefined) => {};
289
+ get: (keys?: never[] | undefined, options?: {
290
+ clone?: boolean;
291
+ } | undefined) => {};
288
292
  watch: (cb: (newData: {}, oldData: {}) => any, watchKeys?: never[] | undefined) => () => void;
289
293
  };
290
294
  cors: {
@@ -310,7 +314,9 @@ declare const channelItem_3: {
310
314
  }>, opt?: {
311
315
  notMerge?: boolean;
312
316
  } | undefined) => void;
313
- get: (keys?: "appInfo"[] | undefined) => {
317
+ get: (keys?: "appInfo"[] | undefined, options?: {
318
+ clone?: boolean;
319
+ } | undefined) => {
314
320
  appInfo: MicroAppItem;
315
321
  };
316
322
  watch: (cb: (newData: {