@lvce-editor/extension-management-worker 4.35.0 → 4.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3070,6 +3070,13 @@ const getViewActions = async (viewId, uid, assetDir, platform) => {
|
|
|
3070
3070
|
}
|
|
3071
3071
|
return instance.rpc.invoke('ExtensionApi.getViewActions', uid);
|
|
3072
3072
|
};
|
|
3073
|
+
const getViewActionsDom = async (viewId, uid, assetDir, platform) => {
|
|
3074
|
+
const instance = get$1(uid);
|
|
3075
|
+
if (!instance || instance.status === 'error') {
|
|
3076
|
+
return undefined;
|
|
3077
|
+
}
|
|
3078
|
+
return instance.rpc.invoke('ExtensionApi.getViewActionsDom', uid);
|
|
3079
|
+
};
|
|
3073
3080
|
const requestViewRerender = async uid => {
|
|
3074
3081
|
await invoke$2('Viewlet.executeViewletCommand', uid, 'rerender');
|
|
3075
3082
|
};
|
|
@@ -3819,6 +3826,7 @@ const commandMap = {
|
|
|
3819
3826
|
'Extensions.getRuntimeStatus': getRuntimeStatus,
|
|
3820
3827
|
'Extensions.getStatusBarItems': getStatusBarItems,
|
|
3821
3828
|
'Extensions.getViewActions': getViewActions,
|
|
3829
|
+
'Extensions.getViewActionsDom': getViewActionsDom,
|
|
3822
3830
|
'Extensions.getViewMenuEntries': getViewMenuEntries,
|
|
3823
3831
|
'Extensions.getViews': getViews,
|
|
3824
3832
|
'Extensions.handleData': handleData,
|