@univerjs/sheets-hyper-link 0.24.0 → 0.25.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.
Files changed (108) hide show
  1. package/lib/cjs/facade.js +69 -69
  2. package/lib/cjs/index.js +13 -10
  3. package/lib/cjs/locale/ar-SA.js +6 -0
  4. package/lib/cjs/locale/ca-ES.js +6 -0
  5. package/lib/cjs/locale/de-DE.js +6 -0
  6. package/lib/cjs/locale/en-US.js +21 -0
  7. package/lib/cjs/locale/es-ES.js +6 -0
  8. package/lib/cjs/locale/fa-IR.js +6 -0
  9. package/lib/cjs/locale/fr-FR.js +6 -0
  10. package/lib/cjs/locale/id-ID.js +6 -0
  11. package/lib/cjs/locale/it-IT.js +6 -0
  12. package/lib/cjs/locale/ja-JP.js +6 -0
  13. package/lib/cjs/locale/ko-KR.js +6 -0
  14. package/lib/cjs/locale/pl-PL.js +6 -0
  15. package/lib/cjs/locale/pt-BR.js +6 -0
  16. package/lib/cjs/locale/ru-RU.js +6 -0
  17. package/lib/cjs/locale/sk-SK.js +6 -0
  18. package/lib/cjs/locale/vi-VN.js +6 -0
  19. package/lib/cjs/locale/zh-CN.js +6 -0
  20. package/lib/cjs/locale/zh-HK.js +6 -0
  21. package/lib/cjs/locale/zh-TW.js +6 -0
  22. package/lib/es/facade.js +69 -69
  23. package/lib/es/index.js +13 -10
  24. package/lib/es/locale/ar-SA.js +5 -0
  25. package/lib/es/locale/ca-ES.js +5 -0
  26. package/lib/es/locale/de-DE.js +5 -0
  27. package/lib/es/locale/en-US.js +20 -0
  28. package/lib/es/locale/es-ES.js +5 -0
  29. package/lib/es/locale/fa-IR.js +5 -0
  30. package/lib/es/locale/fr-FR.js +5 -0
  31. package/lib/es/locale/id-ID.js +5 -0
  32. package/lib/es/locale/it-IT.js +5 -0
  33. package/lib/es/locale/ja-JP.js +5 -0
  34. package/lib/es/locale/ko-KR.js +5 -0
  35. package/lib/es/locale/pl-PL.js +5 -0
  36. package/lib/es/locale/pt-BR.js +5 -0
  37. package/lib/es/locale/ru-RU.js +5 -0
  38. package/lib/es/locale/sk-SK.js +5 -0
  39. package/lib/es/locale/vi-VN.js +5 -0
  40. package/lib/es/locale/zh-CN.js +5 -0
  41. package/lib/es/locale/zh-HK.js +5 -0
  42. package/lib/es/locale/zh-TW.js +5 -0
  43. package/lib/facade.js +69 -69
  44. package/lib/index.js +13 -10
  45. package/lib/locale/ar-SA.js +5 -0
  46. package/lib/locale/ca-ES.js +5 -0
  47. package/lib/locale/de-DE.js +5 -0
  48. package/lib/locale/en-US.js +20 -0
  49. package/lib/locale/es-ES.js +5 -0
  50. package/lib/locale/fa-IR.js +5 -0
  51. package/lib/locale/fr-FR.js +5 -0
  52. package/lib/locale/id-ID.js +5 -0
  53. package/lib/locale/it-IT.js +5 -0
  54. package/lib/locale/ja-JP.js +5 -0
  55. package/lib/locale/ko-KR.js +5 -0
  56. package/lib/locale/pl-PL.js +5 -0
  57. package/lib/locale/pt-BR.js +5 -0
  58. package/lib/locale/ru-RU.js +5 -0
  59. package/lib/locale/sk-SK.js +5 -0
  60. package/lib/locale/vi-VN.js +5 -0
  61. package/lib/locale/zh-CN.js +5 -0
  62. package/lib/locale/zh-HK.js +5 -0
  63. package/lib/locale/zh-TW.js +5 -0
  64. package/lib/types/facade/f-range.d.ts +76 -46
  65. package/lib/types/facade/f-workbook.d.ts +40 -18
  66. package/lib/types/facade/f-worksheet.d.ts +3 -2
  67. package/lib/types/locale/ar-SA.d.ts +18 -0
  68. package/lib/types/locale/ca-ES.d.ts +18 -0
  69. package/lib/types/locale/de-DE.d.ts +18 -0
  70. package/lib/types/locale/en-US.d.ts +23 -0
  71. package/lib/types/locale/es-ES.d.ts +18 -0
  72. package/lib/types/locale/fa-IR.d.ts +18 -0
  73. package/lib/types/locale/fr-FR.d.ts +18 -0
  74. package/lib/types/locale/id-ID.d.ts +18 -0
  75. package/lib/types/locale/it-IT.d.ts +18 -0
  76. package/lib/types/locale/ja-JP.d.ts +18 -0
  77. package/lib/types/locale/ko-KR.d.ts +18 -0
  78. package/lib/types/locale/pl-PL.d.ts +18 -0
  79. package/lib/types/locale/pt-BR.d.ts +18 -0
  80. package/lib/types/locale/ru-RU.d.ts +18 -0
  81. package/lib/types/locale/sk-SK.d.ts +18 -0
  82. package/lib/types/locale/vi-VN.d.ts +18 -0
  83. package/lib/types/locale/zh-CN.d.ts +18 -0
  84. package/lib/types/locale/zh-HK.d.ts +18 -0
  85. package/lib/types/locale/zh-TW.d.ts +18 -0
  86. package/lib/types/services/parser.service.d.ts +2 -1
  87. package/lib/umd/facade.js +1 -1
  88. package/lib/umd/index.js +1 -1
  89. package/lib/umd/locale/ar-SA.js +1 -0
  90. package/lib/umd/locale/ca-ES.js +1 -0
  91. package/lib/umd/locale/de-DE.js +1 -0
  92. package/lib/umd/locale/en-US.js +1 -0
  93. package/lib/umd/locale/es-ES.js +1 -0
  94. package/lib/umd/locale/fa-IR.js +1 -0
  95. package/lib/umd/locale/fr-FR.js +1 -0
  96. package/lib/umd/locale/id-ID.js +1 -0
  97. package/lib/umd/locale/it-IT.js +1 -0
  98. package/lib/umd/locale/ja-JP.js +1 -0
  99. package/lib/umd/locale/ko-KR.js +1 -0
  100. package/lib/umd/locale/pl-PL.js +1 -0
  101. package/lib/umd/locale/pt-BR.js +1 -0
  102. package/lib/umd/locale/ru-RU.js +1 -0
  103. package/lib/umd/locale/sk-SK.js +1 -0
  104. package/lib/umd/locale/vi-VN.js +1 -0
  105. package/lib/umd/locale/zh-CN.js +1 -0
  106. package/lib/umd/locale/zh-HK.js +1 -0
  107. package/lib/umd/locale/zh-TW.js +1 -0
  108. package/package.json +12 -7
@@ -0,0 +1,5 @@
1
+ //#region src/locale/zh-TW.ts
2
+ const locale = { "sheets-hyper-link": { message: { refError: "錯誤的引用" } } };
3
+
4
+ //#endregion
5
+ export { locale as default };
@@ -16,8 +16,8 @@
16
16
  import { FRange } from '@univerjs/sheets/facade';
17
17
  export interface ICellHyperLink {
18
18
  id: string;
19
- startIndex: number;
20
- endIndex: number;
19
+ row: number;
20
+ column: number;
21
21
  url: string;
22
22
  label: string;
23
23
  }
@@ -26,86 +26,116 @@ export interface ICellHyperLink {
26
26
  */
27
27
  export interface IFRangeSheetsHyperlinkMixin {
28
28
  /**
29
- * @deprecated use `range.setRichTextValueForCell(univerAPI.newRichText().insertLink(label, url))` instead
29
+ * Set a hyperlink for this range top left cell.
30
+ * The hyperlink can be a URL, a range link, or a sheet link.
31
+ * When the hyperlink is a range link or a sheet link, the url should be the url of the target range or sheet.
32
+ * @param {string} url - The hyperlink url, can be a URL, a range link, or a sheet link.
33
+ * @param {string} [label] - The display text of the hyperlink. If not provided, the url will be used as the display text.
34
+ * @return {Promise<boolean>} A promise that resolves to true if the hyperlink is set successfully, otherwise false.
35
+ *
30
36
  * @example
31
37
  * ```ts
32
38
  * const fWorkbook = univerAPI.getActiveWorkbook();
33
- * const fWorksheet = fWorkbook.getActiveSheet();
39
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
40
+ * if (!fWorksheet) return;
34
41
  *
35
42
  * // Create a hyperlink to Univer on cell A1
36
43
  * const fRange = fWorksheet.getRange('A1');
37
- * const richText = univerAPI.newRichText().insertLink('Univer', 'https://univer.ai/');
38
- * fRange.setRichTextValueForCell(richText);
44
+ * await fRange.setHyperLink('https://univer.ai/', 'Univer');
45
+ *
46
+ * // Create a hyperlink to active sheet range B2:D4 on cell A2
47
+ * const fRange2 = fWorksheet.getRange('A2');
48
+ * const rangeUrl = fWorksheet.getRange('B2:D4').getUrl();
49
+ * await fRange2.setHyperLink(rangeUrl, 'Link to B2:D4');
50
+ *
51
+ * // Create a hyperlink to another sheet range on cell A3
52
+ * const anotherSheet = fWorkbook.getSheetByName('Another Sheet');
53
+ * if (anotherSheet) {
54
+ * const anotherSheetUrl = anotherSheet.getUrl();
55
+ * const fRange3 = fWorksheet.getRange('A3');
56
+ * await fRange3.setHyperLink(anotherSheetUrl, 'Link to Another Sheet');
57
+ * }
58
+ *
59
+ * // Create a hyperlink to a defined name on cell A4
60
+ * const fRange4 = fWorksheet.getRange('A4');
61
+ * const definedNameHyperlinkUrl = fWorkbook.getUrlOfDefineName('MyDefinedName');
62
+ * await fRange4.setHyperLink(definedNameHyperlinkUrl, 'Link to MyDefinedName');
39
63
  * ```
40
64
  */
41
65
  setHyperLink(url: string, label?: string): Promise<boolean>;
42
66
  /**
43
- * @deprecated use `range.setRichTextValueForCell(range.getValue(true).getLinks())` instead
67
+ * Get all hyperlinks in this range.
68
+ * @return {ICellHyperLink[]} An array of hyperlinks in this range.
69
+ *
44
70
  * @example
45
71
  * ```ts
46
72
  * const fWorkbook = univerAPI.getActiveWorkbook();
47
- * const fWorksheet = fWorkbook.getActiveSheet();
48
- *
49
- * // Create a hyperlink to Univer on cell A1
50
- * const fRange = fWorksheet.getRange('A1');
51
- * const richText = univerAPI.newRichText().insertLink('Univer', 'https://univer.ai/');
52
- * fRange.setRichTextValueForCell(richText);
53
- *
54
- * // Get hyperlinks from cell A1
55
- * console.log(fRange.getValue(true).getLinks());
73
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
74
+ * if (!fWorksheet) return;
75
+ * console.log(fWorksheet.getRange('A1:T100').getHyperLinks());
56
76
  * ```
57
77
  */
58
78
  getHyperLinks(): ICellHyperLink[];
59
79
  /**
60
- * @deprecated use `range.setRichTextValueForCell(range.getValue(true).copy().updateLink(id, url))` instead
80
+ * Update the hyperlink of this range top left cell.
81
+ * @param {string} url - The new hyperlink url, can be a URL, a range link, or a sheet link.
82
+ * @param {string} [label] - The new display text of the hyperlink. If not provided, the url will be used as the display text.
83
+ *
61
84
  * @example
62
85
  * ```ts
63
86
  * const fWorkbook = univerAPI.getActiveWorkbook();
64
- * const fWorksheet = fWorkbook.getActiveSheet();
87
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
88
+ * if (!fWorksheet) return;
89
+ *
90
+ * // Create a hyperlink to Univer on cell A1
65
91
  * const fRange = fWorksheet.getRange('A1');
66
- * const richText = univerAPI.newRichText().insertLink('Univer', 'https://univer.ai/');
67
- * fRange.setRichTextValueForCell(richText);
92
+ * await fRange.setHyperLink('https://univer.ai/', 'Univer');
68
93
  *
69
94
  * // Update hyperlink after 3 seconds
70
- * setTimeout(() => {
71
- * const cellValue = fRange.getValue(true);
72
- * const hyperlinks = cellValue.getLinks();
73
- * const id = hyperlinks[0].rangeId;
74
- * const newUrl = 'https://insight.univer.ai/';
75
- * const newRichText = cellValue.copy().updateLink(id, newUrl);
76
- * fRange.setRichTextValueForCell(newRichText);
77
- * }, 3000);
95
+ * await new Promise((resolve) => setTimeout(resolve, 3000));
96
+ *
97
+ * const rangeUrl = fWorksheet.getRange('B2:D4').getUrl();
98
+ * await fRange.updateHyperLink(rangeUrl, 'Link to B2:D4');
78
99
  * ```
79
100
  */
80
- updateHyperLink(id: string, url: string, label?: string): Promise<boolean>;
101
+ updateHyperLink(url: string, label?: string): Promise<boolean>;
81
102
  /**
82
- * @deprecated use `range.setRichTextValueForCell(range.getValue(true).copy().cancelLink(id))` instead
103
+ * Cancel all hyperlinks in this range. If a hyperlink is provided, only cancel the specified hyperlink.
104
+ * @param {ICellHyperLink} [hyperlink] - The hyperlink to be cancelled. If not provided, all hyperlinks in this range will be cancelled.
105
+ * @return {boolean} True if the hyperlink(s) is cancelled successfully, otherwise false.
106
+ *
83
107
  * @example
84
108
  * ```ts
85
109
  * const fWorkbook = univerAPI.getActiveWorkbook();
86
- * const fWorksheet = fWorkbook.getActiveSheet();
110
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
111
+ * if (!fWorksheet) return;
112
+ *
113
+ * // Cancel the hyperlink in cell A1
87
114
  * const fRange = fWorksheet.getRange('A1');
88
- * const richText = univerAPI.newRichText().insertLink('Univer', 'https://univer.ai/');
89
- * fRange.setRichTextValueForCell(richText);
115
+ * fRange.cancelHyperLink();
90
116
  *
91
- * // Cancel hyperlink after 3 seconds
92
- * setTimeout(() => {
93
- * const cellValue = fRange.getValue(true);
94
- * const hyperlinks = cellValue.getLinks();
95
- * const id = hyperlinks[0].rangeId;
96
- * const newRichText = cellValue.copy().cancelLink(id);
97
- * fRange.setRichTextValueForCell(newRichText);
98
- * }, 3000);
117
+ * // Cancel all hyperlinks in range A2:B4
118
+ * const fRange2 = fWorksheet.getRange('A2:B4');
119
+ * fRange2.cancelHyperLink();
120
+ *
121
+ * // Cancel a specific hyperlink in range A1:T100
122
+ * const fRange3 = fWorksheet.getRange('A1:T100');
123
+ * const hyperlinks = fRange3.getHyperLinks();
124
+ * if (hyperlinks.length > 1) {
125
+ * fRange3.cancelHyperLink(hyperlinks[1]);
126
+ * }
99
127
  * ```
100
128
  */
101
- cancelHyperLink(id: string): boolean;
129
+ cancelHyperLink(hyperlink?: ICellHyperLink): boolean;
102
130
  /**
103
131
  * Create a hyperlink url to this range
104
- * @returns {string} The url of this range
132
+ * @returns {string} The hyperlink url of this range
133
+ *
105
134
  * @example
106
135
  * ```ts
107
136
  * const fWorkbook = univerAPI.getActiveWorkbook();
108
- * const fWorksheet = fWorkbook.getActiveSheet();
137
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
138
+ * if (!fWorksheet) return;
109
139
  * const fRange = fWorksheet.getRange('A1');
110
140
  * const url = fRange.getUrl();
111
141
  * console.log(url);
@@ -116,8 +146,8 @@ export interface IFRangeSheetsHyperlinkMixin {
116
146
  export declare class FRangeSheetsHyperlinkMixin extends FRange implements IFRangeSheetsHyperlinkMixin {
117
147
  setHyperLink(url: string, label?: string): Promise<boolean>;
118
148
  getHyperLinks(): ICellHyperLink[];
119
- updateHyperLink(id: string, url: string, label?: string): Promise<boolean>;
120
- cancelHyperLink(id: string): boolean;
149
+ updateHyperLink(url: string, label?: string): Promise<boolean>;
150
+ cancelHyperLink(hyperlink?: ICellHyperLink): boolean;
121
151
  getUrl(): string;
122
152
  }
123
153
  declare module '@univerjs/sheets/facade' {
@@ -14,31 +14,57 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { ISheetHyperLinkInfo } from '@univerjs/sheets-hyper-link';
17
- import type { FRange } from '@univerjs/sheets/facade';
18
- import { SheetsHyperLinkParserService } from '@univerjs/sheets-hyper-link';
19
17
  import { FWorkbook } from '@univerjs/sheets/facade';
20
- /**
21
- * @hideconstructor
22
- */
23
- export declare class SheetHyperLinkBuilder {
24
- private _workbook;
25
- private readonly _parserService;
26
- constructor(_workbook: FWorkbook, _parserService: SheetsHyperLinkParserService);
27
- getRangeUrl(range: FRange): this;
28
- }
29
18
  /**
30
19
  * @ignore
31
20
  */
32
21
  export interface IFWorkbookHyperlinkMixin {
22
+ /**
23
+ * Create a hyperlink url for the defined name.
24
+ * The defined name must exist in the current workbook and must be a reference to a range, otherwise an error will be thrown.
25
+ * @param {string} name - The name of the defined name.
26
+ * @returns {string} The hyperlink url of the defined name.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const fWorkbook = univerAPI.getActiveWorkbook();
31
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
32
+ * if (!fWorksheet) return;
33
+ *
34
+ * // Create a defined name "TestRange" for the range A1:B10 of the active sheet
35
+ * const definedNameParam = fWorkbook.newDefinedNameBuilder()
36
+ * .setName('TestRange')
37
+ * .setRef('Sheet1!$A$1:$B$10')
38
+ * .build();
39
+ * fWorkbook.insertDefinedNameBuilder(definedNameParam);
40
+ *
41
+ * // Create a hyperlink to the defined name "TestRange" on cell C1
42
+ * const url = fWorkbook.getUrlOfDefineName('TestRange');
43
+ * console.log(url);
44
+ * const fRange = fWorksheet.getRange('C1');
45
+ * fRange.setHyperLink(url, 'Link to TestRange');
46
+ *
47
+ * // Create a hyperlink to the exiting defined name on cell C2
48
+ * const definedNames = fWorkbook.getDefinedNames();
49
+ * console.log(definedNames);
50
+ * const exitsDefinedNameUrl = fWorkbook.getUrlOfDefineName(definedNames[0].getName());
51
+ * console.log(exitsDefinedNameUrl);
52
+ * const fRange2 = fWorksheet.getRange('C2');
53
+ * fRange2.setHyperLink(exitsDefinedNameUrl, `Link to ${definedNames[0].getName()}`);
54
+ * ```
55
+ */
56
+ getUrlOfDefineName(name: string): string;
33
57
  /**
34
58
  * Parse the hyperlink string to get the hyperlink info.
35
59
  * @param {string} hyperlink - The hyperlink string.
36
60
  * @returns {ISheetHyperLinkInfo} The hyperlink info.
61
+ *
37
62
  * @example
38
63
  * ``` ts
39
64
  * // Create a hyperlink to the range A1:D10 of the current sheet
40
65
  * const fWorkbook = univerAPI.getActiveWorkbook();
41
- * const fWorksheet = fWorkbook.getActiveSheet();
66
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
67
+ * if (!fWorksheet) return;
42
68
  * const fRange = fWorksheet.getRange('A1:D10');
43
69
  * const hyperlink = fRange.getUrl();
44
70
  *
@@ -47,14 +73,10 @@ export interface IFWorkbookHyperlinkMixin {
47
73
  * console.log(hyperlinkInfo);
48
74
  * ```
49
75
  */
50
- parseSheetHyperlink(this: FWorkbook, hyperlink: string): ISheetHyperLinkInfo;
76
+ parseSheetHyperlink(hyperlink: string): ISheetHyperLinkInfo;
51
77
  }
52
78
  export declare class FWorkbookHyperlinkMixin extends FWorkbook implements IFWorkbookHyperlinkMixin {
53
- /**
54
- * Parse the hyperlink string to get the hyperlink info.
55
- * @param {string} hyperlink the hyperlink string
56
- * @returns {ISheetHyperLinkInfo} the hyperlink info
57
- */
79
+ getUrlOfDefineName(name: string): string;
58
80
  parseSheetHyperlink(hyperlink: string): ISheetHyperLinkInfo;
59
81
  }
60
82
  declare module '@univerjs/sheets/facade' {
@@ -20,11 +20,12 @@ import { FWorksheet } from '@univerjs/sheets/facade';
20
20
  export interface IFWorksheetHyperlinkMixin {
21
21
  /**
22
22
  * Create a hyperlink url to this sheet
23
- * @returns {string} The url of this sheet
23
+ * @returns {string} The hyperlink url of this sheet
24
24
  * @example
25
25
  * ```ts
26
26
  * const fWorkbook = univerAPI.getActiveWorkbook();
27
- * const fWorksheet = fWorkbook.getActiveSheet();
27
+ * const fWorksheet = fWorkbook.getSheetByName('Sheet1');
28
+ * if (!fWorksheet) return;
28
29
  * const url = fWorksheet.getUrl();
29
30
  * console.log(url);
30
31
  * ```
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +1,23 @@
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
+ declare const locale: {
17
+ 'sheets-hyper-link': {
18
+ message: {
19
+ refError: string;
20
+ };
21
+ };
22
+ };
23
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;
@@ -0,0 +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
+ */
16
+ import type enUS from './en-US';
17
+ declare const locale: typeof enUS;
18
+ export default locale;