推进 INI 面板 launch 暴露 control-page API 清单
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user