@univerjs/sheets-formula-ui 1.0.0-rc.0 → 1.0.1

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.
@@ -15,17 +15,15 @@
15
15
  */
16
16
  import { Disposable, ICommandService, Injector } from '@univerjs/core';
17
17
  import { IRenderManagerService } from '@univerjs/engine-render';
18
- import { IMenuManagerService, IShortcutService, IUIPartsService } from '@univerjs/ui';
18
+ import { IShortcutService, IUIPartsService } from '@univerjs/ui';
19
19
  export declare class FormulaUIController extends Disposable {
20
20
  private readonly _injector;
21
- private readonly _menuManagerService;
22
21
  private readonly _commandService;
23
22
  private readonly _shortcutService;
24
23
  private readonly _uiPartsService;
25
24
  private readonly _renderManagerService;
26
- constructor(_injector: Injector, _menuManagerService: IMenuManagerService, _commandService: ICommandService, _shortcutService: IShortcutService, _uiPartsService: IUIPartsService, _renderManagerService: IRenderManagerService);
25
+ constructor(_injector: Injector, _commandService: ICommandService, _shortcutService: IShortcutService, _uiPartsService: IUIPartsService, _renderManagerService: IRenderManagerService);
27
26
  private _initialize;
28
- private _registerMenus;
29
27
  private _registerCommands;
30
28
  private _registerShortcuts;
31
29
  private _registerComponents;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Disposable } from '@univerjs/core';
17
+ import { IMenuManagerService } from '@univerjs/ui';
18
+ export declare class FormulaMenuController extends Disposable {
19
+ constructor(menuManagerService: IMenuManagerService);
20
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Disposable } from '@univerjs/core';
17
+ import { IMenuManagerService } from '@univerjs/ui';
18
+ export declare class MobileFormulaMenuController extends Disposable {
19
+ constructor(menuManagerService: IMenuManagerService);
20
+ }
@@ -13,8 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare function MobileFunctionPanel(props: {
17
- open: boolean;
18
- onClose: () => void;
19
- onInsert: (name: string) => void;
20
- }): import("react").JSX.Element | null;
16
+ import type { MenuSchemaType } from '@univerjs/ui';
17
+ export declare const mobileMenuSchema: MenuSchemaType;