推进 INI 面板 shell handoff mount DOM contract helper

This commit is contained in:
2026-06-15 12:12:01 +08:00
parent 22ca6ced3f
commit 94b44c0e73
9 changed files with 331 additions and 29 deletions

View File

@@ -106,6 +106,8 @@
createIniPanelLauncherLinkViewModel,
createIniPanelShellViewModel,
isSupportedIniPanelLaunchApiManifest,
createIniPanelShellSessionHandoffMountDomContract,
createIniPanelShellSessionHandoffMountDomReadiness,
renderIniPanelShellSessionHandoffMountState,
} from "./ui-shell.js";
@@ -180,6 +182,12 @@
),
)
),
getShellSessionHandoffMountDomContract: (options) => (
createIniPanelShellSessionHandoffMountDomContract(options)
),
getShellSessionHandoffMountDomReadiness: (options) => (
createIniPanelShellSessionHandoffMountDomReadiness(options ?? { documentRef: document })
),
renderShellSessionHandoffMountState: (renderState, options) => (
renderIniPanelShellSessionHandoffMountState(renderState, options ?? { documentRef: document })
),