推进 INI 面板 launch API manifest
This commit is contained in:
@@ -11,6 +11,7 @@ control view:
|
||||
import {
|
||||
INI_PANEL_ENTRIES,
|
||||
createControlPageBrowserApiMethods,
|
||||
createIniPanelLaunchApiManifest,
|
||||
createIniPanelLauncherLinkViewModel,
|
||||
createIniPanelShellControlPageContract,
|
||||
createIniPanelShellViewModel,
|
||||
@@ -81,6 +82,10 @@ control page after save/load session workflows.
|
||||
The launch page exposes `linuxCncIniPanelLaunchApi.getControlPageApiMethods()`
|
||||
from the same shell view-model so entry pages can consume the available
|
||||
read-only control-page API list without loading the control-page iframe first.
|
||||
Use `createIniPanelLaunchApiManifest()` or
|
||||
`linuxCncIniPanelLaunchApi.getLaunchApiManifest()` when an outer shell needs a
|
||||
single read-only description of launch methods, visible entries, target pages,
|
||||
and the control-page browser API methods.
|
||||
|
||||
The control-page refresh workflow lives in
|
||||
`runtime/ui/ini-panel/control-page-refresh-workflow.js`. Use
|
||||
|
||||
Reference in New Issue
Block a user