@univerjs/sheets-hyper-link-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.
- package/lib/cjs/index.js +289 -185
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +289 -185
- package/lib/es/locale/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/de-DE.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/id-ID.js +1 -0
- package/lib/es/locale/it-IT.js +1 -0
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -0
- package/lib/es/locale/pl-PL.js +1 -0
- package/lib/es/locale/pt-BR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/sk-SK.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-HK.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/index.css +32 -4
- package/lib/index.js +289 -185
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/de-DE.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/id-ID.js +1 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -0
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/sk-SK.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-HK.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/types/controllers/mobile/popup.controller.d.ts +2 -2
- package/lib/types/controllers/popup.controller.d.ts +2 -2
- package/lib/types/controllers/ui.controller.d.ts +4 -6
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/menu/hyper-link-menu.controller.d.ts +20 -0
- package/lib/types/menu/mobile-hyper-link-menu.controller.d.ts +20 -0
- package/lib/types/menu/mobile-schema.d.ts +17 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/locale/ar-SA.js
CHANGED
package/lib/locale/ca-ES.js
CHANGED
package/lib/locale/de-DE.js
CHANGED
package/lib/locale/en-US.js
CHANGED
package/lib/locale/es-ES.js
CHANGED
package/lib/locale/fa-IR.js
CHANGED
package/lib/locale/fr-FR.js
CHANGED
package/lib/locale/id-ID.js
CHANGED
package/lib/locale/it-IT.js
CHANGED
package/lib/locale/ja-JP.js
CHANGED
package/lib/locale/ko-KR.js
CHANGED
package/lib/locale/pl-PL.js
CHANGED
package/lib/locale/pt-BR.js
CHANGED
package/lib/locale/ru-RU.js
CHANGED
package/lib/locale/sk-SK.js
CHANGED
package/lib/locale/vi-VN.js
CHANGED
package/lib/locale/zh-CN.js
CHANGED
package/lib/locale/zh-HK.js
CHANGED
package/lib/locale/zh-TW.js
CHANGED
|
@@ -18,7 +18,7 @@ import { DocSelectionManagerService } from '@univerjs/docs';
|
|
|
18
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
19
19
|
import { SheetPermissionCheckController } from '@univerjs/sheets';
|
|
20
20
|
import { HoverManagerService, IEditorBridgeService } from '@univerjs/sheets-ui';
|
|
21
|
-
import {
|
|
21
|
+
import { ISheetsHyperLinkPopupService } from '../../services/popup.service';
|
|
22
22
|
export declare class SheetsHyperLinkMobilePopupController extends Disposable {
|
|
23
23
|
private readonly _hoverManagerService;
|
|
24
24
|
private readonly _sheetsHyperLinkPopupService;
|
|
@@ -29,7 +29,7 @@ export declare class SheetsHyperLinkMobilePopupController extends Disposable {
|
|
|
29
29
|
private readonly _editorBridgeService;
|
|
30
30
|
private readonly _textSelectionManagerService;
|
|
31
31
|
private readonly _univerInstanceService;
|
|
32
|
-
constructor(_hoverManagerService: HoverManagerService, _sheetsHyperLinkPopupService:
|
|
32
|
+
constructor(_hoverManagerService: HoverManagerService, _sheetsHyperLinkPopupService: ISheetsHyperLinkPopupService, _renderManagerService: IRenderManagerService, _permissionService: IPermissionService, _sheetPermissionCheckController: SheetPermissionCheckController, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _textSelectionManagerService: DocSelectionManagerService, _univerInstanceService: IUniverInstanceService);
|
|
33
33
|
private _getLinkPermission;
|
|
34
34
|
private _getCellHyperLinkInfo;
|
|
35
35
|
private _initClickListener;
|
|
@@ -18,7 +18,7 @@ import { DocSelectionManagerService } from '@univerjs/docs';
|
|
|
18
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
19
19
|
import { SheetPermissionCheckController } from '@univerjs/sheets';
|
|
20
20
|
import { HoverManagerService, IEditorBridgeService } from '@univerjs/sheets-ui';
|
|
21
|
-
import {
|
|
21
|
+
import { ISheetsHyperLinkPopupService } from '../services/popup.service';
|
|
22
22
|
export declare class SheetsHyperLinkPopupController extends Disposable {
|
|
23
23
|
private readonly _hoverManagerService;
|
|
24
24
|
private readonly _sheetsHyperLinkPopupService;
|
|
@@ -29,7 +29,7 @@ export declare class SheetsHyperLinkPopupController extends Disposable {
|
|
|
29
29
|
private readonly _editorBridgeService;
|
|
30
30
|
private readonly _textSelectionManagerService;
|
|
31
31
|
private readonly _univerInstanceService;
|
|
32
|
-
constructor(_hoverManagerService: HoverManagerService, _sheetsHyperLinkPopupService:
|
|
32
|
+
constructor(_hoverManagerService: HoverManagerService, _sheetsHyperLinkPopupService: ISheetsHyperLinkPopupService, _renderManagerService: IRenderManagerService, _permissionService: IPermissionService, _sheetPermissionCheckController: SheetPermissionCheckController, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _textSelectionManagerService: DocSelectionManagerService, _univerInstanceService: IUniverInstanceService);
|
|
33
33
|
private _getLinkPermission;
|
|
34
34
|
private _initHoverListener;
|
|
35
35
|
private _initHoverEditingListener;
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
-
import {
|
|
17
|
+
import { IShortcutService } from '@univerjs/ui';
|
|
18
18
|
export declare class SheetsHyperLinkUIController extends Disposable {
|
|
19
|
-
private _commandService;
|
|
20
|
-
private readonly
|
|
21
|
-
|
|
22
|
-
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _shortcutService: IShortcutService);
|
|
19
|
+
private readonly _commandService;
|
|
20
|
+
private readonly _shortcutService;
|
|
21
|
+
constructor(_commandService: ICommandService, _shortcutService: IShortcutService);
|
|
23
22
|
private _initCommands;
|
|
24
|
-
private _initMenus;
|
|
25
23
|
private _initShortCut;
|
|
26
24
|
}
|
|
@@ -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 SheetsHyperLinkMenuController 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 SheetsHyperLinkMobileMenuController extends Disposable {
|
|
19
|
+
constructor(menuManagerService: IMenuManagerService);
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 type { MenuSchemaType } from '@univerjs/ui';
|
|
17
|
+
export declare const mobileMenuSchema: MenuSchemaType;
|