@univerjs/ui 0.2.4-alpha.0 → 0.2.4
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.
- package/lib/cjs/index.js +14 -14
- package/lib/es/index.js +48 -46
- package/lib/types/common/component-manager.d.ts +1 -1
- package/lib/types/common/lifecycle.d.ts +1 -1
- package/lib/types/common/menu-hidden-observable.d.ts +2 -1
- package/lib/types/controllers/menus/menus.d.ts +1 -1
- package/lib/types/controllers/shared-shortcut.controller.d.ts +2 -1
- package/lib/types/controllers/shortcut-display/menu.d.ts +1 -1
- package/lib/types/controllers/shortcut-display/shortcut-panel.controller.d.ts +2 -1
- package/lib/types/controllers/ui/ui-desktop.controller.d.ts +2 -1
- package/lib/types/controllers/ui/ui-mobile.controller.d.ts +2 -1
- package/lib/types/controllers/ui/ui.controller.d.ts +1 -1
- package/lib/types/mobile-ui-plugin.d.ts +2 -1
- package/lib/types/services/before-close/before-close.service.d.ts +2 -2
- package/lib/types/services/clipboard/clipboard-interface.service.d.ts +1 -1
- package/lib/types/services/confirm/confirm.service.d.ts +2 -2
- package/lib/types/services/confirm/desktop-confirm.service.d.ts +2 -1
- package/lib/types/services/contextmenu/contextmenu.service.d.ts +3 -2
- package/lib/types/services/dialog/desktop-dialog.service.d.ts +2 -1
- package/lib/types/services/dialog/dialog.service.d.ts +2 -2
- package/lib/types/services/editor/editor.service.d.ts +3 -2
- package/lib/types/services/global-zone/desktop-global-zone.service.d.ts +1 -1
- package/lib/types/services/global-zone/global-zone.service.d.ts +2 -2
- package/lib/types/services/layout/layout.service.d.ts +3 -2
- package/lib/types/services/menu/menu.d.ts +1 -1
- package/lib/types/services/menu/menu.service.d.ts +3 -2
- package/lib/types/services/message/__testing__/mock-message.service.d.ts +1 -1
- package/lib/types/services/message/desktop-message.service.d.ts +1 -1
- package/lib/types/services/message/message.service.d.ts +2 -2
- package/lib/types/services/notification/desktop-notification.service.d.ts +2 -1
- package/lib/types/services/notification/notification.service.d.ts +2 -2
- package/lib/types/services/parts/parts.service.d.ts +3 -2
- package/lib/types/services/platform/platform.service.d.ts +1 -1
- package/lib/types/services/popup/canvas-popup.service.d.ts +1 -1
- package/lib/types/services/progress/progress.service.d.ts +3 -2
- package/lib/types/services/range-selector/range-selector.service.d.ts +3 -2
- package/lib/types/services/shortcut/shortcut.service.d.ts +3 -2
- package/lib/types/services/sidebar/desktop-sidebar.service.d.ts +1 -1
- package/lib/types/services/sidebar/sidebar.service.d.ts +2 -2
- package/lib/types/services/zen-zone/desktop-zen-zone.service.d.ts +1 -1
- package/lib/types/services/zen-zone/zen-zone.service.d.ts +2 -2
- package/lib/types/ui-plugin.d.ts +2 -1
- package/lib/types/views/components/ComponentContainer.d.ts +1 -1
- package/lib/umd/index.js +14 -14
- package/package.json +14 -12
|
@@ -20,7 +20,7 @@ export interface ICanvasPopupService {
|
|
|
20
20
|
popups$: Observable<[string, IPopup][]>;
|
|
21
21
|
get popups(): [string, IPopup][];
|
|
22
22
|
}
|
|
23
|
-
export declare const ICanvasPopupService: import('@
|
|
23
|
+
export declare const ICanvasPopupService: import('@wendellhu/redi').IdentifierDecorator<ICanvasPopupService>;
|
|
24
24
|
export declare class CanvasPopupService extends Disposable implements ICanvasPopupService {
|
|
25
25
|
private readonly _popupMap;
|
|
26
26
|
private readonly _popups$;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Disposable
|
|
1
|
+
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
|
|
4
5
|
export interface IProgressCount {
|
|
@@ -50,4 +51,4 @@ export declare class ProgressService extends Disposable implements IProgressServ
|
|
|
50
51
|
getTaskCount(): number;
|
|
51
52
|
private _clear;
|
|
52
53
|
}
|
|
53
|
-
export declare const IProgressService: import('@
|
|
54
|
+
export declare const IProgressService: import('@wendellhu/redi').IdentifierDecorator<IProgressService>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IUnitRange, Nullable, Disposable } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
|
|
4
5
|
export interface IRangeSelectorRange extends IUnitRange {
|
|
@@ -23,4 +24,4 @@ export declare class RangeSelectorService extends Disposable implements IRangeSe
|
|
|
23
24
|
selectionChange(range: IRangeSelectorRange[]): void;
|
|
24
25
|
openSelector(): void;
|
|
25
26
|
}
|
|
26
|
-
export declare const IRangeSelectorService: import('@
|
|
27
|
+
export declare const IRangeSelectorService: import('@wendellhu/redi').IdentifierDecorator<IRangeSelectorService>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Disposable, ICommandService, IContextService
|
|
1
|
+
import { Disposable, ICommandService, IContextService } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { ILayoutService } from '../layout/layout.service';
|
|
4
5
|
import { IPlatformService } from '../platform/platform.service';
|
|
@@ -34,7 +35,7 @@ export interface IShortcutService {
|
|
|
34
35
|
getAllShortcuts(): IShortcutItem[];
|
|
35
36
|
setDisable(disable: boolean): void;
|
|
36
37
|
}
|
|
37
|
-
export declare const IShortcutService: import('@
|
|
38
|
+
export declare const IShortcutService: import('@wendellhu/redi').IdentifierDecorator<IShortcutService>;
|
|
38
39
|
export declare class ShortcutService extends Disposable implements IShortcutService {
|
|
39
40
|
private readonly _commandService;
|
|
40
41
|
private readonly _platformService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IDisposable } from '@
|
|
1
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { ISidebarMethodOptions } from '../../views/components/sidebar/interface';
|
|
4
4
|
|
|
5
|
-
export declare const ISidebarService: import('@
|
|
5
|
+
export declare const ISidebarService: import('@wendellhu/redi').IdentifierDecorator<ISidebarService>;
|
|
6
6
|
export interface ISidebarService {
|
|
7
7
|
readonly sidebarOptions$: Subject<ISidebarMethodOptions>;
|
|
8
8
|
readonly scrollEvent$: Subject<Event>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IDisposable } from '@
|
|
1
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
|
|
4
|
-
export declare const IZenZoneService: import('@
|
|
4
|
+
export declare const IZenZoneService: import('@wendellhu/redi').IdentifierDecorator<IZenZoneService>;
|
|
5
5
|
export interface IZenZoneService {
|
|
6
6
|
readonly visible$: Subject<boolean>;
|
|
7
7
|
readonly componentKey$: Subject<string>;
|
package/lib/types/ui-plugin.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IContextService,
|
|
1
|
+
import { IContextService, Plugin } from '@univerjs/core';
|
|
2
|
+
import { Injector } from '@wendellhu/redi';
|
|
2
3
|
import { IUniverUIConfig } from './controllers/ui/ui.controller';
|
|
3
4
|
|
|
4
5
|
export declare const UNIVER_UI_PLUGIN_NAME = "UNIVER_UI_PLUGIN";
|