@univerjs/sheets-hyper-link-ui 0.4.1 → 0.4.2-nightly.202410301606

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 (36) hide show
  1. package/lib/es/facade.js +1 -0
  2. package/lib/es/index.js +104 -560
  3. package/lib/locale/en-US.js +38 -0
  4. package/lib/locale/fa-IR.js +38 -0
  5. package/lib/locale/ru-RU.js +38 -0
  6. package/lib/locale/vi-VN.js +38 -0
  7. package/lib/locale/zh-CN.js +38 -0
  8. package/lib/locale/zh-TW.js +38 -0
  9. package/lib/types/controllers/menu.d.ts +5 -6
  10. package/lib/types/controllers/url.controller.d.ts +3 -1
  11. package/lib/types/facade/f-workbook.d.ts +13 -0
  12. package/lib/types/{types/interfaces/i-sheet-url-params.d.ts → facade/index.d.ts} +0 -6
  13. package/lib/types/index.d.ts +0 -4
  14. package/lib/types/services/resolver.service.d.ts +4 -8
  15. package/lib/umd/facade.js +1 -0
  16. package/lib/umd/index.js +2 -2
  17. package/lib/umd/locale/en-US.js +1 -0
  18. package/lib/umd/locale/fa-IR.js +1 -0
  19. package/lib/umd/locale/ru-RU.js +1 -0
  20. package/lib/umd/locale/vi-VN.js +1 -0
  21. package/lib/umd/locale/zh-CN.js +1 -0
  22. package/lib/umd/locale/zh-TW.js +1 -0
  23. package/package.json +27 -25
  24. package/LICENSE +0 -176
  25. package/lib/cjs/index.js +0 -9
  26. package/lib/locale/en-US.json +0 -35
  27. package/lib/locale/fa-IR.json +0 -35
  28. package/lib/locale/ru-RU.json +0 -35
  29. package/lib/locale/vi-VN.json +0 -35
  30. package/lib/locale/zh-CN.json +0 -35
  31. package/lib/locale/zh-TW.json +0 -35
  32. package/lib/types/commands/commands/add-hyper-link.command.d.ts +0 -19
  33. package/lib/types/commands/commands/remove-hyper-link.command.d.ts +0 -19
  34. package/lib/types/commands/commands/update-hyper-link.command.d.ts +0 -17
  35. package/lib/types/types/interfaces/i-sheet-hyper-link-info.d.ts +0 -10
  36. package/lib/types/types/interfaces/index.d.ts +0 -17
@@ -1,35 +0,0 @@
1
- {
2
- "hyperLink": {
3
- "form": {
4
- "editTitle": "编辑链接",
5
- "addTitle": "插入链接",
6
- "label": "文本",
7
- "labelPlaceholder": "输入文本",
8
- "type": "类型",
9
- "link": "链接",
10
- "linkPlaceholder": "输入链接地址",
11
- "range": "单元格",
12
- "worksheet": "工作表",
13
- "definedName": "定义的名称",
14
- "ok": "确认",
15
- "cancel": "取消",
16
- "inputError": "请输入",
17
- "selectError": "请选择",
18
- "linkError": "请输入合法的链接"
19
- },
20
- "menu": {
21
- "add": "添加链接"
22
- },
23
- "message": {
24
- "noSheet": "该子表已被删除",
25
- "refError": "错误的引用",
26
- "hiddenSheet": "无法打开被隐藏的子表",
27
- "coped": "链接已被复制到剪贴板"
28
- },
29
- "popup": {
30
- "copy": "复制",
31
- "edit": "编辑",
32
- "cancel": "取消链接"
33
- }
34
- }
35
- }
@@ -1,35 +0,0 @@
1
- {
2
- "hyperLink": {
3
- "form": {
4
- "editTitle": "編輯連結",
5
- "addTitle": "插入連結",
6
- "label": "文本",
7
- "labelPlaceholder": "輸入文字",
8
- "type": "類型",
9
- "link": "連結",
10
- "linkPlaceholder": "輸入連結位址",
11
- "range": "單元格",
12
- "worksheet": "工作表",
13
- "definedName": "定義的名稱",
14
- "ok": "確認",
15
- "cancel": "取消",
16
- "inputError": "請輸入",
17
- "selectError": "請選擇",
18
- "linkError": "請輸入合法的連結"
19
- },
20
- "menu": {
21
- "add": "新增連結"
22
- },
23
- "message": {
24
- "noSheet": "該子表已被刪除",
25
- "refError": "錯誤的引用",
26
- "hiddenSheet": "無法開啟被隱藏的子表",
27
- "coped": "連結已複製到剪貼簿"
28
- },
29
- "popup": {
30
- "copy": "複製",
31
- "edit": "編輯",
32
- "cancel": "取消連結"
33
- }
34
- }
35
- }
@@ -1,19 +0,0 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ICellHyperLink } from '@univerjs/sheets-hyper-link';
3
- export interface IAddHyperLinkCommandParams {
4
- unitId: string;
5
- subUnitId: string;
6
- link: ICellHyperLink;
7
- }
8
- /**
9
- * Command for add hyperlink
10
- */
11
- export declare const AddHyperLinkCommand: ICommand<IAddHyperLinkCommandParams>;
12
- export interface IAddRichHyperLinkCommandParams {
13
- /**
14
- * url of link
15
- */
16
- documentId: string;
17
- link: ICellHyperLink;
18
- }
19
- export declare const AddRichHyperLinkCommand: ICommand<IAddRichHyperLinkCommandParams>;
@@ -1,19 +0,0 @@
1
- import { ICommand } from '@univerjs/core';
2
- export interface ICancelHyperLinkCommandParams {
3
- unitId: string;
4
- subUnitId: string;
5
- /**
6
- * id of link
7
- */
8
- id: string;
9
- row: number;
10
- column: number;
11
- }
12
- export declare const CancelHyperLinkCommand: ICommand<ICancelHyperLinkCommandParams>;
13
- export interface ICancelRichHyperLinkCommandParams extends ICancelHyperLinkCommandParams {
14
- /**
15
- * document id
16
- */
17
- documentId: string;
18
- }
19
- export declare const CancelRichHyperLinkCommand: ICommand<ICancelRichHyperLinkCommandParams>;
@@ -1,17 +0,0 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { ICellLinkContent } from '@univerjs/sheets-hyper-link';
3
- export interface IUpdateHyperLinkCommandParams {
4
- unitId: string;
5
- subUnitId: string;
6
- id: string;
7
- payload: ICellLinkContent;
8
- row: number;
9
- column: number;
10
- }
11
- export declare const UpdateHyperLinkCommand: ICommand<IUpdateHyperLinkCommandParams>;
12
- export interface IUpdateRichHyperLinkCommandParams {
13
- documentId: string;
14
- id: string;
15
- payload: ICellLinkContent;
16
- }
17
- export declare const UpdateRichHyperLinkCommand: ICommand<IUpdateRichHyperLinkCommandParams>;
@@ -1,10 +0,0 @@
1
- import { Nullable } from '@univerjs/core';
2
- import { SheetHyperLinkType } from '@univerjs/sheets-hyper-link';
3
- import { ISheetUrlParams } from './i-sheet-url-params';
4
- export interface ISheetHyperLinkInfo {
5
- type: SheetHyperLinkType;
6
- name: string;
7
- url: string;
8
- searchObj: Nullable<ISheetUrlParams>;
9
- handler: () => void;
10
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Inc.
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
- export type { ISheetHyperLinkInfo } from './i-sheet-hyper-link-info';
17
- export type { ISheetUrlParams } from './i-sheet-url-params';