/** * Copyright 2023-present DreamNum Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import './global.css'; export { ToggleShortcutPanelOperation } from './commands/operations/toggle-shortcut-panel.operation'; export * from './common'; export { getHeaderFooterMenuHiddenObservable, getMenuHiddenObservable } from './common/menu-hidden-observable'; export { mergeMenuConfigs } from './common/menu-merge-configs'; export * from './components'; export { COLOR_PICKER_COMPONENT } from './components/color-picker/interface'; export { FontFamily } from './components/font-family/FontFamily'; export { FontFamilyItem } from './components/font-family/FontFamilyItem'; export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT, type IFontFamilyProps } from './components/font-family/interface'; export { FontSize } from './components/font-size/FontSize'; export { FONT_SIZE_COMPONENT, FONT_SIZE_LIST, HEADING_LIST } from './components/font-size/interface'; export * from './components/hooks'; export { t } from './components/hooks/locale'; export { type INotificationOptions } from './components/notification/Notification'; export { ProgressBar } from './components/progress-bar/ProgressBar'; export { type IUniverUIConfig, UI_PLUGIN_CONFIG_KEY } from './config/config'; export { UNI_DISABLE_CHANGING_FOCUS_KEY } from './const'; export { ErrorController } from './controllers/error/error.controller'; export { CopyShortcutItem, CutShortcutItem, RedoShortcutItem, SharedController, UndoShortcutItem, } from './controllers/shared-shortcut.controller'; export { ShortcutPanelController } from './controllers/shortcut-display/shortcut-panel.controller'; export { DesktopUIController } from './controllers/ui/ui-desktop.controller'; export { SingleUnitUIController } from './controllers/ui/ui-shared.controller'; export { IUIController, type IWorkbenchOptions } from './controllers/ui/ui.controller'; export { menuSchema as UIMenuSchema } from './menu/schema'; export { UniverMobileUIPlugin } from './mobile-plugin'; export { DISABLE_AUTO_FOCUS_KEY, UniverUIPlugin } from './plugin'; export { DesktopBeforeCloseService, IBeforeCloseService } from './services/before-close/before-close.service'; export { BrowserClipboardService, FILE__BMP_CLIPBOARD_MIME_TYPE, FILE__JPEG_CLIPBOARD_MIME_TYPE, FILE__WEBP_CLIPBOARD_MIME_TYPE, FILE_PNG_CLIPBOARD_MIME_TYPE, FILE_SVG_XML_CLIPBOARD_MIME_TYPE, HTML_CLIPBOARD_MIME_TYPE, IClipboardInterfaceService, imageMimeTypeSet, PLAIN_TEXT_CLIPBOARD_MIME_TYPE, } from './services/clipboard/clipboard-interface.service'; export { supportClipboardAPI } from './services/clipboard/clipboard-utils'; export { CopyCommand, CutCommand, PasteCommand, SheetPasteShortKeyCommandName } from './services/clipboard/clipboard.command'; export { DesktopConfirmService } from './services/confirm/desktop-confirm.service'; export { ContextMenuHostService, IContextMenuHostService } from './services/contextmenu/contextmenu-host.service'; export { ContextMenuService, type IContextMenuHandler, IContextMenuService } from './services/contextmenu/contextmenu.service'; export { DesktopDialogService } from './services/dialog/desktop-dialog.service'; export { IDialogService } from './services/dialog/dialog.service'; export { CanvasFloatDomService, type IFloatDom, type IFloatDomLayout } from './services/dom/canvas-dom-layer.service'; export { type IFontConfig, IFontService } from './services/font.service'; export { DesktopGalleryService } from './services/gallery/desktop-gallery.service'; export { IGalleryService } from './services/gallery/gallery.service'; export { DesktopGlobalZoneService } from './services/global-zone/desktop-global-zone.service'; export { IGlobalZoneService } from './services/global-zone/global-zone.service'; export { DesktopLayoutService, ILayoutService } from './services/layout/layout.service'; export { DesktopLocalFileService } from './services/local-file/desktop-local-file.service'; export { ILocalFileService, type IOpenFileOptions } from './services/local-file/local-file.service'; export { DesktopLocalStorageService } from './services/local-storage/local-storage.service'; export { type ICustomComponentProps, type IDisplayMenuItem, type IMenuButtonItem, type IMenuItem, type IMenuItemFactory, type IMenuSelectorItem, type IValueOption, type MenuConfig, type MenuItemDefaultValueType, MenuItemType, } from './services/menu/menu'; export { IMenuManagerService, MenuManagerService, type MenuSchemaType } from './services/menu/menu-manager.service'; export { type IMenuSchema } from './services/menu/menu-manager.service'; export { ContextMenuGroup, ContextMenuPosition, MenuManagerPosition, RibbonDataGroup, RibbonFormulasGroup, RibbonInsertGroup, RibbonOthersGroup, RibbonPosition, RibbonStartGroup, RibbonViewGroup, } from './services/menu/types'; export { MockMessageService } from './services/message/__testing__/mock-message.service'; export { DesktopMessageService } from './services/message/desktop-message.service'; export { IMessageService } from './services/message/message.service'; export { DesktopNotificationService } from './services/notification/desktop-notification.service'; export { INotificationService } from './services/notification/notification.service'; export { BuiltInUIPart, IUIPartsService, UIPartsService } from './services/parts/parts.service'; export { IPlatformService, PlatformService } from './services/platform/platform.service'; export { CanvasPopupService, ICanvasPopupService, type IPopup } from './services/popup/canvas-popup.service'; export { DesktopRibbonService, IRibbonService } from './services/ribbon/ribbon.service'; export { KeyCode, MetaKeys } from './services/shortcut/keycode'; export { ShortcutPanelService } from './services/shortcut/shortcut-panel.service'; export { type IShortcutItem, IShortcutService, ShortcutService } from './services/shortcut/shortcut.service'; export { DesktopSidebarService } from './services/sidebar/desktop-sidebar.service'; export { useSidebarClick } from './services/sidebar/hooks/use-sidebar-click'; export { ILeftSidebarService, ISidebarService } from './services/sidebar/sidebar.service'; export { ThemeSwitcherService } from './services/theme-switcher/theme-switcher.service'; export { DesktopZenZoneService } from './services/zen-zone/desktop-zen-zone.service'; export { IZenZoneService } from './services/zen-zone/zen-zone.service'; export * from './utils'; export { ComponentContainer, type IComponentContainerProps, useComponentsOfPart } from './views/components/ComponentContainer'; export type { IConfirmChildrenProps } from './views/components/confirm-part/interface'; export { type IConfirmPartMethodOptions } from './views/components/confirm-part/interface'; export { AnchoredContextMenu, type IContextMenuAnchorRect } from './views/components/context-menu/AnchoredContextMenu'; export { DesktopContextMenu as ContextMenu } from './views/components/context-menu/ContextMenu'; export { ContextMenuPanel } from './views/components/context-menu/ContextMenuPanel'; export { MobileContextMenu } from './views/components/context-menu/MobileContextMenu'; export { type IDialogPartMethodOptions } from './views/components/dialog-part/interface'; export { FloatDomSingle } from './views/components/dom/FloatDom'; export { FloatDom } from './views/components/dom/FloatDom'; export { PrintFloatDomSingle } from './views/components/dom/print'; export { GlobalZone } from './views/components/global-zone/GlobalZone'; export { CanvasPopup, SingleCanvasPopup } from './views/components/popup/CanvasPopup'; export { RectPopup, type RectPopupDirection } from './views/components/popup/RectPopup'; export { useToolbarItemStatus } from './views/components/ribbon/hook'; export { Ribbon } from './views/components/ribbon/Ribbon'; export { ToolbarButton } from './views/components/ribbon/ToolbarButton'; export { ToolbarItem } from './views/components/ribbon/ToolbarItem'; export { type ISidebarMethodOptions, Sidebar } from './views/components/sidebar/Sidebar'; export { ZenZone } from './views/components/zen-zone/ZenZone';