推进 INI 面板 shell handoff control-page mount workflow helper
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
createIniPanelShellSessionHandoffMountDomContract,
|
||||
createIniPanelShellSessionHandoffMountDomReadiness,
|
||||
mountIniPanelShellSessionHandoff,
|
||||
mountIniPanelShellSessionHandoffFromControlPage,
|
||||
renderIniPanelShellSessionHandoffMountState,
|
||||
} from "./ui-shell.js";
|
||||
|
||||
@@ -198,6 +199,14 @@
|
||||
documentRef: document,
|
||||
})
|
||||
),
|
||||
mountShellSessionHandoffFromControlPage: (options) => (
|
||||
mountIniPanelShellSessionHandoffFromControlPage({
|
||||
handoffPackage: shellViewModel.shellSessionHandoffPackage,
|
||||
packageRenderState: shellViewModel.shellSessionHandoffPackageRenderState,
|
||||
documentRef: document,
|
||||
...(options ?? {}),
|
||||
})
|
||||
),
|
||||
isSupportedShellSessionHandoffPackage: shellViewModel.isSupportedShellSessionHandoffPackage,
|
||||
getLauncherLinks: () => shellViewModel.launcherLinks,
|
||||
getControlPageApiMethods: () => shellViewModel.controlPage.browserApiMethods,
|
||||
|
||||
Reference in New Issue
Block a user