mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 07:05:24 +00:00
feat: move the classic layout into its own bundled plugin
This commit is contained in:
1 parent
86161d66e2
commit
d049588f7f
234 files changed
+3066
-76205
No files matched your search
@@ -353,3 +353,497 @@ export {
|
||||
type ConnectionGateProps,
|
||||
} from "@/components/connection/ConnectionGate";
|
||||
export { type ConnectionUnavailable } from "@/components/connection/ConnectionScreen";
|
||||
|
||||
// For shell-level plugins such as a layout: the API client, shared types and
|
||||
// the shell's own state. These reach into core, so they may change with a core
|
||||
// release. An ordinary plugin should not need them.
|
||||
export { APP_VERSION } from "@/lib/app-version";
|
||||
// The palette's own input has to share the Command it sits in, so cmdk is
|
||||
// the shell's copy.
|
||||
export { Command as CommandPrimitive } from "cmdk";
|
||||
export {
|
||||
buildExportPayload,
|
||||
hostKey,
|
||||
maskSecrets,
|
||||
pluginSecretKeys,
|
||||
type ExportPayload,
|
||||
type FieldGroup,
|
||||
} from "@/sidebar/host-export-payload";
|
||||
export {
|
||||
type AuthOverrideProtocol,
|
||||
SSH_AUTH_PROTOCOL,
|
||||
} from "@/types/auth-protocols";
|
||||
export {
|
||||
CREDENTIAL_ROW_FIELD_KEYS,
|
||||
type CredentialDensity,
|
||||
type CredentialRowFields,
|
||||
type CredentialSidebarFilterState,
|
||||
type CredentialSidebarPreferences,
|
||||
type CredentialSortKey,
|
||||
type CredentialTrayTrigger,
|
||||
defaultCredentialRowFields,
|
||||
defaultCredentialSidebarPreferences,
|
||||
sanitizeCredentialSidebarPreferences,
|
||||
} from "@/types/credential-sidebar-preferences";
|
||||
export {
|
||||
CORE_HOST_DEFAULTS,
|
||||
CORE_NAMESPACE,
|
||||
type DefaultOverrides,
|
||||
defaultValuesEqual,
|
||||
findCoreHostDefault,
|
||||
type HostDefaultsLevel,
|
||||
type ResolvedHostDefault,
|
||||
splitDefaultKey,
|
||||
} from "@/types/host-defaults";
|
||||
export {
|
||||
defaultHostRowFields,
|
||||
defaultHostSidebarPreferences,
|
||||
type HostClickBehavior,
|
||||
type HostDensity,
|
||||
type HostGroupKey,
|
||||
type HostRowFields,
|
||||
type HostSidebarFilterState,
|
||||
type HostSidebarPreferences,
|
||||
type HostTrayTrigger,
|
||||
sanitizeHostSidebarPreferences,
|
||||
type SortKey,
|
||||
} from "@/types/host-sidebar-preferences";
|
||||
export type {
|
||||
HostData,
|
||||
HostProtocolAuthInput,
|
||||
ProxyNode,
|
||||
SSHHost,
|
||||
SSHHostData,
|
||||
} from "@/types";
|
||||
export {
|
||||
UI_AREA_KEYS,
|
||||
type UiAreaKey,
|
||||
type UiPreset,
|
||||
} from "@/types/ui-preferences";
|
||||
export type {
|
||||
AdminSection,
|
||||
Credential,
|
||||
DashboardCardId,
|
||||
FontSizeId,
|
||||
Host,
|
||||
HostFolder,
|
||||
SharePermissionLevel,
|
||||
Tab,
|
||||
TabType,
|
||||
ThemeId,
|
||||
ToolsTab,
|
||||
UiFontId,
|
||||
} from "@/types/ui-types";
|
||||
export {
|
||||
type AuditLog,
|
||||
type AuditLogFilters,
|
||||
getAuditForwarding,
|
||||
getAuditLogActions,
|
||||
getAuditLogs,
|
||||
updateAuditForwarding,
|
||||
} from "@/api/audit-log-api";
|
||||
export {
|
||||
getUserSecondFactors,
|
||||
resetUserSecondFactors,
|
||||
type UserSecondFactorSummary,
|
||||
} from "@/api/auth-methods-api";
|
||||
export { getCredentials } from "@/api/credentials-api";
|
||||
export {
|
||||
getFolderDefaultsId,
|
||||
getHostDefaultsLevel,
|
||||
type HostDefaultsChange,
|
||||
type HostDefaultsTarget,
|
||||
previewHostDefaultsLevel,
|
||||
resetHostToDefaults,
|
||||
resolveHostDefaults,
|
||||
saveHostDefaultsLevel,
|
||||
waitForDefaultsJob,
|
||||
} from "@/api/host-defaults-api";
|
||||
export { getHostTags, saveHostTags } from "@/api/host-tags-api";
|
||||
export {
|
||||
getSessionTimeoutMinutes,
|
||||
getUserPreferences,
|
||||
parseCustomKeybindings,
|
||||
saveUserPreferences,
|
||||
} from "@/api/open-tabs-api";
|
||||
export {
|
||||
getDeveloperMode,
|
||||
getPluginAdminSettings,
|
||||
getPluginHostSettings,
|
||||
getPlugins,
|
||||
getPluginUserSettings,
|
||||
type PluginSettingsErrors,
|
||||
type PluginSettingsField,
|
||||
PluginSettingsValidationError,
|
||||
type PluginSummary,
|
||||
setAllPluginChannels,
|
||||
setDeveloperMode,
|
||||
setPluginOptions,
|
||||
updatePluginAdminSettings,
|
||||
updatePluginHostSettings,
|
||||
updatePluginUserSettings,
|
||||
} from "@/api/plugins-api";
|
||||
export {
|
||||
getNotificationPrivateEndpoints,
|
||||
setNotificationPrivateEndpoints,
|
||||
} from "@/api/private-endpoints-api";
|
||||
export {
|
||||
type CredentialPermissionLevel,
|
||||
type FolderAccessRule,
|
||||
getCredentialAccess,
|
||||
getFolderAccess,
|
||||
getRoles,
|
||||
revokeCredentialAccess,
|
||||
revokeFolderAccess,
|
||||
shareCredential,
|
||||
type ShareTarget,
|
||||
} from "@/api/rbac-api";
|
||||
export {
|
||||
type BrandingSettings,
|
||||
getBranding,
|
||||
updateBranding,
|
||||
} from "@/api/settings-api";
|
||||
export {
|
||||
getSyncConflicts,
|
||||
getSyncErrors,
|
||||
retrySyncErrors,
|
||||
settleSyncConflict,
|
||||
type SyncBasicAuth,
|
||||
type SyncConflictItem,
|
||||
type SyncEntityInfo,
|
||||
type SyncErrorItem,
|
||||
syncNow,
|
||||
type SyncProxyHeader,
|
||||
type SyncStatus,
|
||||
unlinkServer,
|
||||
updateSyncSettings,
|
||||
} from "@/api/sync-api";
|
||||
export {
|
||||
getChannelReleases,
|
||||
getUpdateChannel,
|
||||
type ReleaseInfo,
|
||||
setUpdateChannel,
|
||||
type UpdateChannelState,
|
||||
} from "@/api/system-status-api";
|
||||
export {
|
||||
getTlsStatus,
|
||||
type TlsStatus,
|
||||
uploadTlsCertificate,
|
||||
} from "@/api/tls-api";
|
||||
export {
|
||||
Command,
|
||||
CommandEmpty,
|
||||
CommandGroup,
|
||||
CommandItem,
|
||||
CommandList,
|
||||
} from "@/components/command";
|
||||
export { usePluginDocsUrl } from "@/components/docs-link";
|
||||
export {
|
||||
DEFAULT_FOLDER_COLOR,
|
||||
DEFAULT_FOLDER_ICON,
|
||||
FolderIconEl,
|
||||
HexColorPicker,
|
||||
IconPicker,
|
||||
} from "@/components/folder-style";
|
||||
export { useTheme } from "@/components/theme-provider";
|
||||
export { VersionBadge } from "@/components/version-badge";
|
||||
export { useBranding } from "@/contexts/BrandingContext";
|
||||
export {
|
||||
useAreaPreferences,
|
||||
useUiPreference,
|
||||
useUiPreferencesContext,
|
||||
} from "@/contexts/UiPreferencesContext";
|
||||
export {
|
||||
getRegisteredDashboardCard,
|
||||
useRegisteredDashboardCards,
|
||||
} from "@/dashboard/dashboard-cards-registry";
|
||||
export { useActionSlot } from "@/hooks/use-action-slot";
|
||||
export { useInstalledPlugins } from "@/hooks/use-installed-plugins";
|
||||
export { usePageVisibleInterval } from "@/hooks/use-page-visible-interval";
|
||||
export { usePermissions } from "@/hooks/use-permissions";
|
||||
export {
|
||||
getStatusClasses,
|
||||
useStatusColorScheme,
|
||||
} from "@/hooks/use-status-color-scheme";
|
||||
export { useSyncStatus } from "@/hooks/use-sync-status";
|
||||
export { useSshAuthProviders } from "@/hooks/useSshAuthProviders";
|
||||
export { changeAppLanguage, normalizeLanguageCode } from "@/i18n/i18n";
|
||||
export { LANGUAGES } from "@/i18n/languages";
|
||||
export {
|
||||
getLiveHostStatus,
|
||||
useHostStatus,
|
||||
useServerStatus,
|
||||
useServerStatusMeta,
|
||||
} from "@/lib/ServerStatusContext";
|
||||
export { activityTarget } from "@/lib/activity-types";
|
||||
export { applyPresetSideEffects } from "@/lib/apply-ui-preset";
|
||||
export { getDatabaseTransferUrl } from "@/lib/database-transfer-url";
|
||||
export {
|
||||
canConfigureUpdates,
|
||||
type DesktopUpdateMode,
|
||||
desktopUpdates,
|
||||
type DesktopUpdateState,
|
||||
useDesktopUpdate,
|
||||
} from "@/lib/desktop-updates";
|
||||
export { type DocsPage, docsUrl } from "@/lib/docs";
|
||||
export { getErrorMessage } from "@/lib/error-message";
|
||||
export {
|
||||
getDefaultConnectionTab,
|
||||
resolveHostTabType,
|
||||
} from "@/lib/host-connection-tabs";
|
||||
export {
|
||||
DefaultsOnly,
|
||||
HostDefaultsContext,
|
||||
type HostDefaultsContextValue,
|
||||
HostOnly,
|
||||
} from "@/lib/host-defaults-context";
|
||||
export {
|
||||
invalidateHostsAndStatusCaches,
|
||||
invalidateServerStatusCache,
|
||||
} from "@/lib/hosts-request-cache";
|
||||
export { reportBetaFeedbackUrl, reportCoreIssueUrl } from "@/lib/issue-url";
|
||||
export { notifySyncChanged } from "@/lib/linked-server";
|
||||
export {
|
||||
clearLocalAdaptivePreferences,
|
||||
getPreferredHostAction,
|
||||
recordHostActionPreference,
|
||||
} from "@/lib/local-adaptive-preferences";
|
||||
export { pluginKey, pluginName } from "@/lib/plugin-i18n";
|
||||
export { PluginIcon } from "@/lib/plugin-icon";
|
||||
export { rem } from "@/lib/rem";
|
||||
export { getConnectedRemoteApi } from "@/lib/remote-server-api";
|
||||
export { roleLabel } from "@/lib/role-label";
|
||||
export type { StatusValue } from "@/lib/server-status-store";
|
||||
export { parseServerTime } from "@/lib/server-time";
|
||||
export { refreshSyncStatus, setSyncStatus } from "@/lib/sync-status";
|
||||
export { tabJumpHotkeyKeys } from "@/lib/tab-jump-hotkey";
|
||||
export {
|
||||
ACCENT_PRESET_COLORS,
|
||||
applyAccentColor,
|
||||
applyFontSize,
|
||||
applyUiFont,
|
||||
DASHBOARD_CARDS,
|
||||
FONT_SIZES,
|
||||
UI_FONTS,
|
||||
} from "@/lib/theme";
|
||||
export { registerLayout } from "@/look/layout-registry";
|
||||
export { useChooseTheme } from "@/look/use-look-theme";
|
||||
export {
|
||||
type AccessRecord,
|
||||
type ActiveSessionInfo,
|
||||
adminCreateUser,
|
||||
adminCreateUserCredential,
|
||||
adminCreateUserHost,
|
||||
adminDeleteUserCredential,
|
||||
adminDeleteUserHost,
|
||||
adminExportUserData,
|
||||
adminGetHostPassword,
|
||||
adminGetUserCredentials,
|
||||
adminGetUserHosts,
|
||||
adminResetUserPassword,
|
||||
adminUpdateUserCredential,
|
||||
adminUpdateUserHost,
|
||||
type ApiKey,
|
||||
assignRoleToUser,
|
||||
bulkImportSSHHosts,
|
||||
bulkUpdateSSHHosts,
|
||||
changePassword,
|
||||
createApiKey,
|
||||
createCredential,
|
||||
type CreatedApiKey,
|
||||
createRole,
|
||||
createSSHHost,
|
||||
deleteAccount,
|
||||
deleteAllHostsInFolder,
|
||||
deleteApiKey,
|
||||
deleteCredential,
|
||||
deleteOpenTab,
|
||||
deleteRole,
|
||||
deleteSSHHost,
|
||||
deleteUser,
|
||||
deployCredentialToHost,
|
||||
duplicateCredential,
|
||||
exportAllSSHHosts,
|
||||
generateKeyPair,
|
||||
generatePublicKeyFromPrivate,
|
||||
getActiveSessions,
|
||||
getApiKeys,
|
||||
getCredentialDetails,
|
||||
getCredentialSidebarPreferences,
|
||||
getExternalAutoProvision,
|
||||
getHostAccess,
|
||||
getHostAuthOverride,
|
||||
getHostPassword,
|
||||
getHostSidebarPreferences,
|
||||
getLogLevel,
|
||||
getPasswordLoginAllowed,
|
||||
getPasswordResetAllowed,
|
||||
getPermissionsCatalog,
|
||||
getRegistrationAllowed,
|
||||
getSecondFactorAfterExternalLogin,
|
||||
getSessions,
|
||||
getSessionTimeout,
|
||||
getSSHFolders,
|
||||
getSSHHosts,
|
||||
getStatusCheckSettings,
|
||||
getUserInfo,
|
||||
getUserList,
|
||||
getUserRoles,
|
||||
importSSHConfigHosts,
|
||||
type LinkedAccountInfo,
|
||||
linkExternalToPasswordAccount,
|
||||
logoutUser,
|
||||
makeUserAdmin,
|
||||
type OpenTabRecord,
|
||||
type PermissionCatalogEntry,
|
||||
releaseUrlFrom,
|
||||
removeAdminStatus,
|
||||
removeRoleFromUser,
|
||||
renameCredentialFolder,
|
||||
renameFolder,
|
||||
reorderCredentials,
|
||||
reorderFolders,
|
||||
reorderSSHHosts,
|
||||
resetRecentActivity,
|
||||
revokeAllUserSessions,
|
||||
revokeHostAccess,
|
||||
revokeSession,
|
||||
type Role,
|
||||
saveCredentialSidebarPreferences,
|
||||
saveHostSidebarPreferences,
|
||||
setHostAuthOverride,
|
||||
shareFolder,
|
||||
shareHost,
|
||||
type SSHHostWithStatus,
|
||||
unlinkExternalFromPasswordAccount,
|
||||
updateCredential,
|
||||
updateExternalAutoProvision,
|
||||
updateFolderMetadata,
|
||||
updateHostAccess,
|
||||
updateLogLevel,
|
||||
updatePasswordLoginAllowed,
|
||||
updatePasswordResetAllowed,
|
||||
updateRegistrationAllowed,
|
||||
updateRole,
|
||||
updateSecondFactorAfterExternalLogin,
|
||||
updateSessionTimeout,
|
||||
updateSSHHost,
|
||||
updateStatusCheckSettings,
|
||||
type UserPreferences,
|
||||
type UserRole,
|
||||
} from "@/main-axios";
|
||||
export {
|
||||
MANAGE_REQUEST_EVENT,
|
||||
type ManageMode,
|
||||
type ManageRequest,
|
||||
requestFromLegacyEvent,
|
||||
requestManage,
|
||||
takePendingManageRequest,
|
||||
} from "@/manage/manage-requests";
|
||||
export { useSshAuthEditors } from "@/plugin-host/auth-registry";
|
||||
export { usePluginStore } from "@/plugin-host/plugin-store";
|
||||
export { shell } from "@/plugin-host/shell-bridge";
|
||||
export { OPEN_PLUGINS_EVENT } from "@/plugins/open-plugins";
|
||||
export { isPrerelease } from "@/plugins/plugin-model";
|
||||
export { usePluginHostSections } from "@/settings/HostPluginSections";
|
||||
export { SettingsFieldRow } from "@/settings/SettingsFields";
|
||||
export { LookSettings } from "@/look/LookSettings";
|
||||
export { useThemeOptions } from "@/settings/appearance/appearance-controls";
|
||||
export {
|
||||
hasVisibleFields,
|
||||
isFieldShown,
|
||||
} from "@/settings/settings-fields-util";
|
||||
export { LinkServerDialog } from "@/settings/sync/LinkServerDialog";
|
||||
export { ProxySettingsFields } from "@/settings/sync/ProxySettingsFields";
|
||||
export { useShellController } from "@/shell/controller/ShellControllerProvider";
|
||||
export {
|
||||
type KeybindingActionDef,
|
||||
useKeybindingActions,
|
||||
useKeybindingDefaults,
|
||||
} from "@/shell/keybinding-registry";
|
||||
export {
|
||||
filterPaletteItems,
|
||||
loadPaletteGroup,
|
||||
paletteEntriesFor,
|
||||
type PaletteItemDef,
|
||||
usePaletteEntries,
|
||||
usePaletteGroups,
|
||||
} from "@/shell/palette-registry";
|
||||
export { getPanel, usePanels } from "@/shell/panel-registry";
|
||||
export { SplitLayoutMenu } from "@/shell/split/SplitLayoutMenu";
|
||||
export {
|
||||
beginSplitDrag,
|
||||
endSplitDrag,
|
||||
isSplitDragging,
|
||||
moveSplitDrag,
|
||||
} from "@/shell/split/split-drag";
|
||||
export {
|
||||
canJoinSplit,
|
||||
isSplitTab,
|
||||
type SplitSummary,
|
||||
type TabSplitAction,
|
||||
} from "@/shell/split/split-tabs";
|
||||
export {
|
||||
openInSplit,
|
||||
type SplitOpenTarget,
|
||||
useSplitTargets,
|
||||
} from "@/shell/split/split-targets";
|
||||
export { MAX_PANES } from "@/shell/split/split-tree";
|
||||
export { registerTabCloseGuard } from "@/shell/tab-close-guards";
|
||||
export { useTabHandlesVersion } from "@/shell/tab-handles";
|
||||
export {
|
||||
getTabType,
|
||||
isPersistentTabType,
|
||||
isSessionTabType,
|
||||
type TabShellCallbacks,
|
||||
} from "@/shell/tab-registry";
|
||||
export {
|
||||
markTabSurfaceUsed,
|
||||
preloadTabSurface,
|
||||
tabIcon,
|
||||
} from "@/shell/tabUtils";
|
||||
export { AuthEnrollmentSections } from "@/sidebar/AuthEnrollmentSections";
|
||||
export { mapCredentials, sshHostToHost } from "@/sidebar/HostManagerData";
|
||||
export {
|
||||
getHostEditorSection,
|
||||
makeHostSshSubTabs,
|
||||
makeHostTabs,
|
||||
useHostEditorSections,
|
||||
} from "@/sidebar/HostManagerTabs";
|
||||
export {
|
||||
actionOrder,
|
||||
defaultConnectAction,
|
||||
type HostActionDef,
|
||||
hostActionsFor,
|
||||
hostBadgesFor,
|
||||
hostMenuItemsFor,
|
||||
listHostActions,
|
||||
runHostAction,
|
||||
useHostActions,
|
||||
useHostBadges,
|
||||
useHostContextMenuItems,
|
||||
} from "@/sidebar/host-contributions";
|
||||
export { useEditorDefaultKeys } from "@/sidebar/host-defaults/catalog";
|
||||
export {
|
||||
enabledHostProtocols,
|
||||
type HostProtocolDef,
|
||||
hostProtocolFlags,
|
||||
type HostProtocols,
|
||||
listHostProtocols,
|
||||
protocolEnabled,
|
||||
protocolPort,
|
||||
useHostProtocols,
|
||||
withProtocolSettings,
|
||||
} from "@/sidebar/host-protocols";
|
||||
export { quickConnectTargets } from "@/sidebar/quick-connect-host";
|
||||
export {
|
||||
groupRailItems,
|
||||
isCoreRailView,
|
||||
moveRailItem,
|
||||
promotableIds,
|
||||
type RailGroup,
|
||||
type RailItemDef,
|
||||
railItemLabel,
|
||||
rightDockableIds,
|
||||
useRailItems,
|
||||
} from "@/sidebar/rail-items";
|
||||
Reference in new issue
Block a user