@univerjs/ui 0.2.12 → 0.2.14

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.
Files changed (37) hide show
  1. package/lib/cjs/index.js +13 -13
  2. package/lib/es/index.js +5947 -5832
  3. package/lib/index.css +1 -1
  4. package/lib/types/common/menu-hidden-observable.d.ts +1 -1
  5. package/lib/types/components/editor/TextEditor.d.ts +2 -1
  6. package/lib/types/components/hooks/event.d.ts +1 -1
  7. package/lib/types/components/range-selector/RangeSelector.d.ts +3 -1
  8. package/lib/types/controllers/ui/ui.controller.d.ts +1 -1
  9. package/lib/types/index.d.ts +50 -49
  10. package/lib/types/services/before-close/before-close.service.d.ts +1 -1
  11. package/lib/types/services/clipboard/clipboard-interface.service.d.ts +1 -1
  12. package/lib/types/services/confirm/confirm.service.d.ts +1 -1
  13. package/lib/types/services/contextmenu/contextmenu.service.d.ts +1 -1
  14. package/lib/types/services/dialog/dialog.service.d.ts +1 -1
  15. package/lib/types/services/editor/editor.service.d.ts +4 -4
  16. package/lib/types/services/global-zone/global-zone.service.d.ts +1 -1
  17. package/lib/types/services/layout/layout.service.d.ts +1 -1
  18. package/lib/types/services/local-file/desktop-file-opener.service.d.ts +15 -0
  19. package/lib/types/services/local-file/file-opener.service.d.ts +27 -0
  20. package/lib/types/services/menu/menu-manager.service.d.ts +1 -1
  21. package/lib/types/services/menu/menu.service.d.ts +1 -1
  22. package/lib/types/services/message/message.service.d.ts +1 -1
  23. package/lib/types/services/notification/notification.service.d.ts +1 -1
  24. package/lib/types/services/parts/parts.service.d.ts +1 -1
  25. package/lib/types/services/platform/platform.service.d.ts +1 -1
  26. package/lib/types/services/popup/canvas-popup.service.d.ts +12 -2
  27. package/lib/types/services/progress/progress.service.d.ts +1 -1
  28. package/lib/types/services/range-selector/range-selector.service.d.ts +8 -1
  29. package/lib/types/services/shortcut/shortcut.service.d.ts +1 -1
  30. package/lib/types/services/sidebar/sidebar.service.d.ts +2 -2
  31. package/lib/types/services/zen-zone/desktop-zen-zone.service.d.ts +6 -1
  32. package/lib/types/services/zen-zone/zen-zone.service.d.ts +12 -2
  33. package/lib/types/ui-plugin.d.ts +1 -1
  34. package/lib/types/views/components/ribbon/Ribbon.d.ts +1 -1
  35. package/lib/types/views/components/ribbon/ToolbarItem.d.ts +1 -1
  36. package/lib/umd/index.js +10 -10
  37. package/package.json +17 -17
@@ -11,6 +11,6 @@ export declare class UniverUIPlugin extends Plugin {
11
11
  protected readonly _injector: Injector;
12
12
  private readonly _configService;
13
13
  static pluginName: string;
14
- constructor(_config: Partial<IUniverUIConfig>, _contextService: IContextService, _injector: Injector, _configService: IConfigService);
14
+ constructor(_config: Partial<IUniverUIConfig> | undefined, _contextService: IContextService, _injector: Injector, _configService: IConfigService);
15
15
  onStarting(): void;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { ComponentType, default as React } from 'react';
1
+ import { default as React, ComponentType } from 'react';
2
2
  interface IRibbonProps {
3
3
  headerMenuComponents?: Set<ComponentType>;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { IDropdownProps } from '@univerjs/design';
2
1
  import { default as React } from 'react';
2
+ import { IDropdownProps } from '@univerjs/design';
3
3
  import { IDisplayMenuItem, IMenuItem } from '../../../services/menu/menu';
4
4
  export declare const ToolbarItem: React.ForwardRefExoticComponent<(IDisplayMenuItem<IMenuItem> & {
5
5
  align?: IDropdownProps["align"];