推进 INI 面板 launch 暴露 control-page API 清单

This commit is contained in:
2026-06-15 06:20:12 +08:00
parent efc4bcf64f
commit 6ba8e43850
9 changed files with 137 additions and 16 deletions

View File

@@ -5,6 +5,7 @@ import {
createMachineSessionControlPageController,
} from "./control-page-controller.js";
import {
createControlPageBrowserApiMethods,
createIniPanelShellControlPageContract,
} from "./ui-shell.js";
@@ -21,19 +22,6 @@ const controller = createMachineSessionControlPageController({
controller.mount();
export function createControlPageBrowserApiMethods() {
return [
"getControlPageApiMethods",
"getControlPageContract",
"getControlView",
"getPanelApi",
"loadControlPageSessionState",
"readControlPageStatus",
"refreshControlPage",
"renderControlPage",
];
}
window.linuxCncIniPanelControlPageApi = {
getControlPageApiMethods: createControlPageBrowserApiMethods,
getControlView: controller.getControlView,