@univerjs/docs-hyper-link-ui 0.17.0 → 0.18.0
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 +24 -1
- package/lib/cjs/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/index.js +24 -850
- package/lib/es/locale/ca-ES.js +1 -26
- package/lib/es/locale/en-US.js +1 -26
- package/lib/es/locale/es-ES.js +1 -26
- package/lib/es/locale/fa-IR.js +1 -26
- package/lib/es/locale/fr-FR.js +1 -26
- package/lib/es/locale/ja-JP.js +1 -26
- package/lib/es/locale/ko-KR.js +1 -26
- package/lib/es/locale/ru-RU.js +1 -26
- package/lib/es/locale/sk-SK.js +1 -26
- package/lib/es/locale/vi-VN.js +1 -26
- package/lib/es/locale/zh-CN.js +1 -26
- package/lib/es/locale/zh-TW.js +1 -26
- package/lib/index.css +146 -1
- package/lib/index.js +24 -850
- package/lib/locale/ca-ES.js +1 -26
- package/lib/locale/en-US.js +1 -26
- package/lib/locale/es-ES.js +1 -26
- package/lib/locale/fa-IR.js +1 -26
- package/lib/locale/fr-FR.js +1 -26
- package/lib/locale/ja-JP.js +1 -26
- package/lib/locale/ko-KR.js +1 -26
- package/lib/locale/ru-RU.js +1 -26
- package/lib/locale/sk-SK.js +1 -26
- package/lib/locale/vi-VN.js +1 -26
- package/lib/locale/zh-CN.js +1 -26
- package/lib/locale/zh-TW.js +1 -26
- package/lib/types/commands/commands/add-link.command.d.ts +16 -1
- package/lib/types/commands/commands/delete-link.command.d.ts +16 -1
- package/lib/types/commands/commands/update-link.command.d.ts +16 -1
- package/lib/types/commands/operations/popup.operation.d.ts +16 -1
- package/lib/types/config/config.d.ts +16 -1
- package/lib/types/controllers/doc-hyper-link-selection.controller.d.ts +15 -0
- package/lib/types/controllers/render-controllers/hyper-link-event.render-controller.d.ts +19 -3
- package/lib/types/controllers/render-controllers/render.controller.d.ts +18 -2
- package/lib/types/controllers/ui.controller.d.ts +17 -1
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/menu/menu.d.ts +17 -2
- package/lib/types/menu/schema.d.ts +16 -1
- package/lib/types/plugin.d.ts +16 -1
- package/lib/types/services/hyper-link-popup.service.d.ts +19 -3
- package/lib/umd/index.js +24 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +13 -12
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const l
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Confirma",
|
|
5
|
-
cancel: "Cancel·la",
|
|
6
|
-
title: "Enllaç",
|
|
7
|
-
address: "Enllaç",
|
|
8
|
-
placeholder: "Si us plau, introdueix una URL",
|
|
9
|
-
addressError: "La URL no és vàlida!",
|
|
10
|
-
label: "Etiqueta",
|
|
11
|
-
labelError: "Si us plau, introdueix l'etiqueta de l'enllaç"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Copia",
|
|
15
|
-
edit: "Edita",
|
|
16
|
-
cancel: "Elimina l'enllaç",
|
|
17
|
-
coped: "Enllaç copiat al porta-retalls"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Afegeix enllaç"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
l as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Confirma`,cancel:`Cancel·la`,title:`Enllaç`,address:`Enllaç`,placeholder:`Si us plau, introdueix una URL`,addressError:`La URL no és vàlida!`,label:`Etiqueta`,labelError:`Si us plau, introdueix l'etiqueta de l'enllaç`},info:{copy:`Copia`,edit:`Edita`,cancel:`Elimina l'enllaç`,coped:`Enllaç copiat al porta-retalls`},menu:{tooltip:`Afegeix enllaç`}}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Confirm",
|
|
5
|
-
cancel: "Cancel",
|
|
6
|
-
title: "Link",
|
|
7
|
-
address: "Link",
|
|
8
|
-
placeholder: "Please input a link url",
|
|
9
|
-
addressError: "Url is illegal!",
|
|
10
|
-
label: "Label",
|
|
11
|
-
labelError: "Please input label of link"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Copy",
|
|
15
|
-
edit: "Edit",
|
|
16
|
-
cancel: "Cancel link",
|
|
17
|
-
coped: "Link copied to clipboard"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Add link"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
l as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Confirm`,cancel:`Cancel`,title:`Link`,address:`Link`,placeholder:`Please input a link url`,addressError:`Url is illegal!`,label:`Label`,labelError:`Please input label of link`},info:{copy:`Copy`,edit:`Edit`,cancel:`Cancel link`,coped:`Link copied to clipboard`},menu:{tooltip:`Add link`}}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Confirmar",
|
|
5
|
-
cancel: "Cancelar",
|
|
6
|
-
title: "Enlace",
|
|
7
|
-
address: "Enlace",
|
|
8
|
-
placeholder: "Por favor, introduce una URL",
|
|
9
|
-
addressError: "¡La URL no es válida!",
|
|
10
|
-
label: "Etiqueta",
|
|
11
|
-
labelError: "Por favor, introduce la etiqueta del enlace"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Copiar",
|
|
15
|
-
edit: "Editar",
|
|
16
|
-
cancel: "Eliminar enlace",
|
|
17
|
-
coped: "Enlace copiado al portapapeles"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Añadir enlace"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
a as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Confirmar`,cancel:`Cancelar`,title:`Enlace`,address:`Enlace`,placeholder:`Por favor, introduce una URL`,addressError:`¡La URL no es válida!`,label:`Etiqueta`,labelError:`Por favor, introduce la etiqueta del enlace`},info:{copy:`Copiar`,edit:`Editar`,cancel:`Eliminar enlace`,coped:`Enlace copiado al portapapeles`},menu:{tooltip:`Añadir enlace`}}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "تایید",
|
|
5
|
-
cancel: "انصراف",
|
|
6
|
-
title: "لینک",
|
|
7
|
-
address: "لینک",
|
|
8
|
-
placeholder: "لطفا یک آدرس لینک وارد کنید",
|
|
9
|
-
addressError: "آدرس غیرمجاز است!",
|
|
10
|
-
label: "برچسب",
|
|
11
|
-
labelError: "لطفا برچسب لینک را وارد کنید"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "کپی",
|
|
15
|
-
edit: "ویرایش",
|
|
16
|
-
cancel: "لینک را لغو کنید",
|
|
17
|
-
coped: "لینک به کلیپ بورد کپی شد"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "افزودن لینک"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`تایید`,cancel:`انصراف`,title:`لینک`,address:`لینک`,placeholder:`لطفا یک آدرس لینک وارد کنید`,addressError:`آدرس غیرمجاز است!`,label:`برچسب`,labelError:`لطفا برچسب لینک را وارد کنید`},info:{copy:`کپی`,edit:`ویرایش`,cancel:`لینک را لغو کنید`,coped:`لینک به کلیپ بورد کپی شد`},menu:{tooltip:`افزودن لینک`}}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Confirmer",
|
|
5
|
-
cancel: "Annuler",
|
|
6
|
-
title: "Lien",
|
|
7
|
-
address: "Link",
|
|
8
|
-
placeholder: "Veuillez entrer un lien",
|
|
9
|
-
addressError: "L'url est illégal!",
|
|
10
|
-
label: "Label",
|
|
11
|
-
labelError: "Veuillez entrer le label du lien"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Copy",
|
|
15
|
-
edit: "Edit",
|
|
16
|
-
cancel: "Cancel link",
|
|
17
|
-
coped: "Link copied to clipboard"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Add link"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Confirmer`,cancel:`Annuler`,title:`Lien`,address:`Link`,placeholder:`Veuillez entrer un lien`,addressError:`L'url est illégal!`,label:`Label`,labelError:`Veuillez entrer le label du lien`},info:{copy:`Copy`,edit:`Edit`,cancel:`Cancel link`,coped:`Link copied to clipboard`},menu:{tooltip:`Add link`}}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "OK",
|
|
5
|
-
cancel: "キャンセル",
|
|
6
|
-
title: "リンク",
|
|
7
|
-
address: "アドレス",
|
|
8
|
-
placeholder: "リンクのURLを入力してください",
|
|
9
|
-
addressError: "URLが正しくありません!",
|
|
10
|
-
label: "表示文字列",
|
|
11
|
-
labelError: "リンクの表示文字列を入力してください"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "コピー",
|
|
15
|
-
edit: "編集",
|
|
16
|
-
cancel: "リンク解除",
|
|
17
|
-
coped: "リンクがクリップボードにコピーされました"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "ハイパーリンクの挿入"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`OK`,cancel:`キャンセル`,title:`リンク`,address:`アドレス`,placeholder:`リンクのURLを入力してください`,addressError:`URLが正しくありません!`,label:`表示文字列`,labelError:`リンクの表示文字列を入力してください`},info:{copy:`コピー`,edit:`編集`,cancel:`リンク解除`,coped:`リンクがクリップボードにコピーされました`},menu:{tooltip:`ハイパーリンクの挿入`}}};export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "확인",
|
|
5
|
-
cancel: "취소",
|
|
6
|
-
title: "링크",
|
|
7
|
-
address: "링크",
|
|
8
|
-
placeholder: "링크 URL을 입력해주세요",
|
|
9
|
-
addressError: "URL이 올바르지 않습니다!",
|
|
10
|
-
label: "라벨",
|
|
11
|
-
labelError: "링크 라벨을 입력해주세요"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "복사",
|
|
15
|
-
edit: "편집",
|
|
16
|
-
cancel: "링크 취소",
|
|
17
|
-
coped: "링크가 클립보드에 복사되었습니다"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "링크 추가"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`확인`,cancel:`취소`,title:`링크`,address:`링크`,placeholder:`링크 URL을 입력해주세요`,addressError:`URL이 올바르지 않습니다!`,label:`라벨`,labelError:`링크 라벨을 입력해주세요`},info:{copy:`복사`,edit:`편집`,cancel:`링크 취소`,coped:`링크가 클립보드에 복사되었습니다`},menu:{tooltip:`링크 추가`}}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Подтвердить",
|
|
5
|
-
cancel: "Отменить",
|
|
6
|
-
title: "Ссылка",
|
|
7
|
-
address: "Ссылка",
|
|
8
|
-
label: "Текст",
|
|
9
|
-
labelError: "Введите текст ссылки",
|
|
10
|
-
placeholder: "Пожалуйста, введите ссылку",
|
|
11
|
-
addressError: "Пожалуйста, введите корректную ссылку"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Копировать",
|
|
15
|
-
edit: "Редактировать",
|
|
16
|
-
cancel: "Отменить ссылку",
|
|
17
|
-
coped: "Ссылка скопирована в буфер обмена"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Добавить ссылку"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Подтвердить`,cancel:`Отменить`,title:`Ссылка`,address:`Ссылка`,label:`Текст`,labelError:`Введите текст ссылки`,placeholder:`Пожалуйста, введите ссылку`,addressError:`Пожалуйста, введите корректную ссылку`},info:{copy:`Копировать`,edit:`Редактировать`,cancel:`Отменить ссылку`,coped:`Ссылка скопирована в буфер обмена`},menu:{tooltip:`Добавить ссылку`}}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Potvrdiť",
|
|
5
|
-
cancel: "Zrušiť",
|
|
6
|
-
title: "Odkaz",
|
|
7
|
-
address: "Odkaz",
|
|
8
|
-
placeholder: "Zadajte URL odkazu",
|
|
9
|
-
addressError: "URL je neplatná!",
|
|
10
|
-
label: "Popisok",
|
|
11
|
-
labelError: "Zadajte popis odkazu"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Kopírovať",
|
|
15
|
-
edit: "Upraviť",
|
|
16
|
-
cancel: "Zrušiť odkaz",
|
|
17
|
-
coped: "Odkaz skopírovaný do schránky"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Pridať odkaz"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
a as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Potvrdiť`,cancel:`Zrušiť`,title:`Odkaz`,address:`Odkaz`,placeholder:`Zadajte URL odkazu`,addressError:`URL je neplatná!`,label:`Popisok`,labelError:`Zadajte popis odkazu`},info:{copy:`Kopírovať`,edit:`Upraviť`,cancel:`Zrušiť odkaz`,coped:`Odkaz skopírovaný do schránky`},menu:{tooltip:`Pridať odkaz`}}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "Xác nhận",
|
|
5
|
-
cancel: "Hủy",
|
|
6
|
-
title: "Liên kết",
|
|
7
|
-
address: "Liên kết",
|
|
8
|
-
label: "Nhãn",
|
|
9
|
-
labelError: "Vui lòng nhập nhãn liên kết",
|
|
10
|
-
placeholder: "Vui lòng nhập liên kết hợp lệ",
|
|
11
|
-
addressError: "Vui lòng nhập liên kết hợp lệ"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "Sao chép",
|
|
15
|
-
edit: "Chỉnh sửa",
|
|
16
|
-
cancel: "Hủy liên kết",
|
|
17
|
-
coped: "Liên kết đã được sao chép vào clipboard"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "Thêm liên kết"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
n as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`Xác nhận`,cancel:`Hủy`,title:`Liên kết`,address:`Liên kết`,label:`Nhãn`,labelError:`Vui lòng nhập nhãn liên kết`,placeholder:`Vui lòng nhập liên kết hợp lệ`,addressError:`Vui lòng nhập liên kết hợp lệ`},info:{copy:`Sao chép`,edit:`Chỉnh sửa`,cancel:`Hủy liên kết`,coped:`Liên kết đã được sao chép vào clipboard`},menu:{tooltip:`Thêm liên kết`}}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "确认",
|
|
5
|
-
cancel: "取消",
|
|
6
|
-
title: "链接",
|
|
7
|
-
address: "链接",
|
|
8
|
-
label: "文本",
|
|
9
|
-
labelError: "请输入链接文本",
|
|
10
|
-
placeholder: "请输入合法的链接",
|
|
11
|
-
addressError: "请输入合法的链接"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "复制",
|
|
15
|
-
edit: "编辑",
|
|
16
|
-
cancel: "取消链接",
|
|
17
|
-
coped: "链接已被复制到剪贴板"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "添加链接"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`确认`,cancel:`取消`,title:`链接`,address:`链接`,label:`文本`,labelError:`请输入链接文本`,placeholder:`请输入合法的链接`,addressError:`请输入合法的链接`},info:{copy:`复制`,edit:`编辑`,cancel:`取消链接`,coped:`链接已被复制到剪贴板`},menu:{tooltip:`添加链接`}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docLink: {
|
|
3
|
-
edit: {
|
|
4
|
-
confirm: "確認",
|
|
5
|
-
cancel: "取消",
|
|
6
|
-
title: "連結",
|
|
7
|
-
address: "連結",
|
|
8
|
-
label: "文本",
|
|
9
|
-
labelError: "请输入链接文本",
|
|
10
|
-
placeholder: "請輸入合法的連結",
|
|
11
|
-
addressError: "請輸入合法的連結"
|
|
12
|
-
},
|
|
13
|
-
info: {
|
|
14
|
-
copy: "複製",
|
|
15
|
-
edit: "編輯",
|
|
16
|
-
cancel: "取消連結",
|
|
17
|
-
coped: "連結已複製到剪貼板"
|
|
18
|
-
},
|
|
19
|
-
menu: {
|
|
20
|
-
tooltip: "新增連結"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
1
|
+
const e={docLink:{edit:{confirm:`確認`,cancel:`取消`,title:`連結`,address:`連結`,label:`文本`,labelError:`请输入链接文本`,placeholder:`請輸入合法的連結`,addressError:`請輸入合法的連結`},info:{copy:`複製`,edit:`編輯`,cancel:`取消連結`,coped:`連結已複製到剪貼板`},menu:{tooltip:`新增連結`}}};export{e as default};
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { ICommand, ITextRangeParam } from '@univerjs/core';
|
|
2
17
|
export interface IAddDocHyperLinkCommandParams {
|
|
3
18
|
payload: string;
|
|
4
19
|
unitId: string;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
2
17
|
export interface IDeleteDocHyperLinkMutationParams {
|
|
3
18
|
unitId: string;
|
|
4
19
|
linkId: string;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
2
17
|
export interface IUpdateDocHyperLinkCommandParams {
|
|
3
18
|
unitId: string;
|
|
4
19
|
linkId: string;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { IAccessor, ICommand } from '@univerjs/core';
|
|
2
17
|
export declare const shouldDisableAddLink: (accessor: IAccessor) => boolean;
|
|
3
18
|
export interface IShowDocHyperLinkEditPopupOperationParams {
|
|
4
19
|
link?: {
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { MenuConfig } from '@univerjs/ui';
|
|
2
17
|
export declare const DOCS_HYPER_LINK_UI_PLUGIN_CONFIG_KEY = "docs-hyper-link-ui.config";
|
|
3
18
|
export declare const configSymbol: unique symbol;
|
|
4
19
|
export interface IUniverDocsHyperLinkUIConfig {
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { DocHyperLinkPopupService } from '../services/hyper-link-popup.service';
|
|
3
18
|
export declare class DocHyperLinkSelectionController extends Disposable {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
19
|
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { DocEventManagerService } from '@univerjs/docs-ui';
|
|
5
21
|
import { DocHyperLinkPopupService } from '../../services/hyper-link-popup.service';
|
|
@@ -10,7 +26,7 @@ export declare class DocHyperLinkEventRenderController extends Disposable implem
|
|
|
10
26
|
private readonly _hyperLinkPopupService;
|
|
11
27
|
private readonly _docSkeletonManagerService;
|
|
12
28
|
private readonly _docSelectionManagerService;
|
|
13
|
-
get _skeleton(): import(
|
|
29
|
+
get _skeleton(): import("@univerjs/engine-render").DocumentSkeleton;
|
|
14
30
|
constructor(_context: IRenderContext<DocumentDataModel>, _docEventManagerService: DocEventManagerService, _commandService: ICommandService, _hyperLinkPopupService: DocHyperLinkPopupService, _docSkeletonManagerService: DocSkeletonManagerService, _docSelectionManagerService: DocSelectionManagerService);
|
|
15
31
|
private _hideInfoPopup;
|
|
16
32
|
private _initHover;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable } from '@univerjs/core';
|
|
3
19
|
import { DocInterceptorService } from '@univerjs/docs';
|
|
4
20
|
import { DocRenderController } from '@univerjs/docs-ui';
|
|
5
21
|
import { DocHyperLinkPopupService } from '../../services/hyper-link-popup.service';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
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 { MenuConfig } from '@univerjs/ui';
|
|
2
17
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
18
|
+
import { ComponentManager, IMenuManagerService, IShortcutService } from '@univerjs/ui';
|
|
3
19
|
export interface IDocHyperLinkUIConfig {
|
|
4
20
|
menu: MenuConfig;
|
|
5
21
|
}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|