@das-fed/mframe 0.0.29 → 0.0.31

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 +6788 -6740
  2. package/index.d.ts +4 -4
  3. package/index.js +4850 -4813
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -74,7 +74,7 @@ declare const channelItem: {
74
74
  }>, opt?: {
75
75
  notMerge?: boolean;
76
76
  } | undefined) => void;
77
- get: (keys?: ("visible" | "frameVisible" | "navVisible" | "menuVisible" | "tabVisible" | "mountVisible" | "microApps" | "activeMicroAppName" | "activeMicroAppItem" | "navItems" | "activeNavItem" | "menuItems" | "activeMenuItem" | "fullNavItems" | "tabItems" | "activeTabItem" | "navRect" | "menuRect" | "tabRect" | "mountRect" | "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) => {
78
78
  /** 整个容器是否显示,默认为true,包括内容区域 */
79
79
  visible: boolean | undefined;
80
80
  /** 外框是否显示,默认为true,外框包括顶部导航栏,左侧菜单栏,tab标签栏 */
@@ -270,7 +270,7 @@ declare const channelItem: {
270
270
  microAppStickStatus: boolean;
271
271
  /** 容器创建时的初始化配置 */
272
272
  initOptions: ContainerInitOptions;
273
- }) => any, watchKeys?: ("visible" | "frameVisible" | "navVisible" | "menuVisible" | "tabVisible" | "mountVisible" | "microApps" | "activeMicroAppName" | "activeMicroAppItem" | "navItems" | "activeNavItem" | "menuItems" | "activeMenuItem" | "fullNavItems" | "tabItems" | "activeTabItem" | "navRect" | "menuRect" | "tabRect" | "mountRect" | "microAppStickStatus" | "initOptions")[] | undefined) => () => void;
273
+ }) => any, watchKeys?: ("visible" | "frameVisible" | "navVisible" | "menuVisible" | "tabVisible" | "mountVisible" | "navRect" | "menuRect" | "tabRect" | "mountRect" | "microApps" | "activeMicroAppName" | "activeMicroAppItem" | "navItems" | "activeNavItem" | "menuItems" | "activeMenuItem" | "fullNavItems" | "tabItems" | "activeTabItem" | "microAppStickStatus" | "initOptions")[] | undefined) => () => void;
274
274
  };
275
275
  event: Emitter<Event_2>;
276
276
  expose: {
@@ -753,14 +753,14 @@ export declare const useIframeManager: () => {
753
753
  getIframeInfo: (id: string) => any;
754
754
  checkIframeStatus: (id: string, status: LifeCycleKeyType | LifeCycleKeyType[]) => boolean;
755
755
  iframeEvent: Emitter< {
756
- registered: any;
757
756
  loading: any;
757
+ error: any;
758
+ registered: any;
758
759
  mounted: any;
759
760
  unmounted: any;
760
761
  activated: any;
761
762
  deactivated: any;
762
763
  destroy: any;
763
- error: any;
764
764
  }>;
765
765
  loadIframe: (id: string, opt?: any) => Promise<void>;
766
766
  hideIframe: (iframeId?: string) => void;