@univerjs/sheets-hyper-link-ui 0.6.7 → 0.6.9
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/facade.js +12 -0
- package/lib/index.js +1839 -0
- package/lib/locale/en-US.js +38 -0
- package/lib/locale/fa-IR.js +38 -0
- package/lib/locale/fr-FR.js +38 -0
- package/lib/locale/ru-RU.js +38 -0
- package/lib/locale/vi-VN.js +38 -0
- package/lib/locale/zh-CN.js +38 -0
- package/lib/locale/zh-TW.js +38 -0
- package/package.json +16 -16
package/lib/facade.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SheetsHyperLinkParserService as t } from "@univerjs/sheets-hyper-link";
|
|
2
|
+
import { SheetsHyperLinkResolverService as n } from "@univerjs/sheets-hyper-link-ui";
|
|
3
|
+
import { FWorkbookHyperLinkMixin as s } from "@univerjs/sheets-hyper-link/facade";
|
|
4
|
+
import { FWorkbook as k } from "@univerjs/sheets/facade";
|
|
5
|
+
class p extends s {
|
|
6
|
+
// TODO: this should be migrated back to hyperlink ui plugin
|
|
7
|
+
navigateToSheetHyperlink(e) {
|
|
8
|
+
const r = this._injector.get(t), o = this._injector.get(n), i = r.parseHyperLink(e);
|
|
9
|
+
o.navigate(i);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
k.extend(p);
|