@das-fed/mframe 0.0.37 → 0.0.39

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 +6595 -6159
  2. package/index.d.ts +11 -0
  3. package/index.js +5588 -5302
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -678,6 +678,12 @@ declare type MicroAppItem = {
678
678
  /** 路由配置 */
679
679
  router?: RouterConfig
680
680
 
681
+ /**
682
+ * nav 入口路由是否由 reportRouter 决定最终高亮/Tab(支持同一 iframe 多前缀)。
683
+ * 说明:不配置时保持原逻辑不变。
684
+ */
685
+ navEntryByReportRouter?: string | string[]
686
+
681
687
  [key: string]: any
682
688
  }
683
689
 
@@ -996,6 +1002,11 @@ export declare const useIframeManager: () => {
996
1002
  setIframeMountDom: (ele: Element | null) => void;
997
1003
  registerIframe: (id: string, config: MicroAppContainerInitOptions) => void;
998
1004
  getIframeInfo: (id: string) => any;
1005
+ updateIframeDebugInfo: (id: string, extra?: {
1006
+ path?: string;
1007
+ href?: string;
1008
+ src?: string;
1009
+ }) => void;
999
1010
  checkIframeStatus: (id: string, status: LifeCycleKeyType | LifeCycleKeyType[]) => boolean;
1000
1011
  iframeEvent: Emitter< {
1001
1012
  loading: any;