export function createMainUiShortcutContext(ui, actions) {
    return {
        host: ui,
        saveButton: ui.saveButton,
        filemanagerButton: ui.filemanagerButton,
        infoButton: ui.infoButton,
        logoutButton: ui.logoutButton,
        editButton: ui.editButton,
        editNavButton: ui.editNavButton,
        save: actions.save,
        openFileManager: actions.openFileManager,
        info: actions.info,
        editNav: actions.editNav,
        logout: actions.logout,
        cancel: actions.cancel,
        edit: actions.edit,
        openPreview: actions.openPreview,
    };
}
export function createMainUiLifecycleHandlers(actions) {
    return {
        openFileManager: actions.openFileManager,
        editNav: actions.editNav,
        refreshSite: actions.refreshSite,
        showDuplicationModal: actions.showDuplicationModal,
        openPreview: actions.openPreview,
        info: actions.info,
        edit: actions.edit,
        save: actions.save,
        cancel: actions.cancel,
        logout: actions.logout,
        keyDown: actions.keyDown,
        beforeUnload: actions.beforeUnload,
    };
}
