@univerjs/sheets-conditional-formatting 0.25.1 → 1.0.0-alpha.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.
Files changed (112) hide show
  1. package/lib/cjs/facade.js +4 -4
  2. package/lib/cjs/index.js +263 -181
  3. package/lib/cjs/locale/ar-SA.js +11 -0
  4. package/lib/cjs/locale/ca-ES.js +11 -0
  5. package/lib/cjs/locale/de-DE.js +11 -0
  6. package/lib/cjs/locale/en-US.js +26 -0
  7. package/lib/cjs/locale/es-ES.js +11 -0
  8. package/lib/cjs/locale/fa-IR.js +11 -0
  9. package/lib/cjs/locale/fr-FR.js +11 -0
  10. package/lib/cjs/locale/id-ID.js +11 -0
  11. package/lib/cjs/locale/it-IT.js +11 -0
  12. package/lib/cjs/locale/ja-JP.js +11 -0
  13. package/lib/cjs/locale/ko-KR.js +11 -0
  14. package/lib/cjs/locale/pl-PL.js +11 -0
  15. package/lib/cjs/locale/pt-BR.js +11 -0
  16. package/lib/cjs/locale/ru-RU.js +11 -0
  17. package/lib/cjs/locale/sk-SK.js +11 -0
  18. package/lib/cjs/locale/vi-VN.js +11 -0
  19. package/lib/cjs/locale/zh-CN.js +11 -0
  20. package/lib/cjs/locale/zh-HK.js +11 -0
  21. package/lib/cjs/locale/zh-TW.js +11 -0
  22. package/lib/es/facade.js +4 -4
  23. package/lib/es/index.js +252 -183
  24. package/lib/es/locale/ar-SA.js +10 -0
  25. package/lib/es/locale/ca-ES.js +10 -0
  26. package/lib/es/locale/de-DE.js +10 -0
  27. package/lib/es/locale/en-US.js +25 -0
  28. package/lib/es/locale/es-ES.js +10 -0
  29. package/lib/es/locale/fa-IR.js +10 -0
  30. package/lib/es/locale/fr-FR.js +10 -0
  31. package/lib/es/locale/id-ID.js +10 -0
  32. package/lib/es/locale/it-IT.js +10 -0
  33. package/lib/es/locale/ja-JP.js +10 -0
  34. package/lib/es/locale/ko-KR.js +10 -0
  35. package/lib/es/locale/pl-PL.js +10 -0
  36. package/lib/es/locale/pt-BR.js +10 -0
  37. package/lib/es/locale/ru-RU.js +10 -0
  38. package/lib/es/locale/sk-SK.js +10 -0
  39. package/lib/es/locale/vi-VN.js +10 -0
  40. package/lib/es/locale/zh-CN.js +10 -0
  41. package/lib/es/locale/zh-HK.js +10 -0
  42. package/lib/es/locale/zh-TW.js +10 -0
  43. package/lib/facade.js +4 -4
  44. package/lib/index.js +252 -183
  45. package/lib/locale/ar-SA.js +10 -0
  46. package/lib/locale/ca-ES.js +10 -0
  47. package/lib/locale/de-DE.js +10 -0
  48. package/lib/locale/en-US.js +25 -0
  49. package/lib/locale/es-ES.js +10 -0
  50. package/lib/locale/fa-IR.js +10 -0
  51. package/lib/locale/fr-FR.js +10 -0
  52. package/lib/locale/id-ID.js +10 -0
  53. package/lib/locale/it-IT.js +10 -0
  54. package/lib/locale/ja-JP.js +10 -0
  55. package/lib/locale/ko-KR.js +10 -0
  56. package/lib/locale/pl-PL.js +10 -0
  57. package/lib/locale/pt-BR.js +10 -0
  58. package/lib/locale/ru-RU.js +10 -0
  59. package/lib/locale/sk-SK.js +10 -0
  60. package/lib/locale/vi-VN.js +10 -0
  61. package/lib/locale/zh-CN.js +10 -0
  62. package/lib/locale/zh-HK.js +10 -0
  63. package/lib/locale/zh-TW.js +10 -0
  64. package/lib/types/index.d.ts +23 -11
  65. package/lib/types/{utils/is-ranges-equal.d.ts → locale/ar-SA.d.ts} +3 -1
  66. package/lib/types/locale/ca-ES.d.ts +18 -0
  67. package/lib/types/locale/de-DE.d.ts +18 -0
  68. package/lib/types/locale/en-US.d.ts +26 -0
  69. package/lib/types/locale/es-ES.d.ts +18 -0
  70. package/lib/types/locale/fa-IR.d.ts +18 -0
  71. package/lib/types/locale/fr-FR.d.ts +18 -0
  72. package/lib/types/locale/id-ID.d.ts +18 -0
  73. package/lib/types/locale/it-IT.d.ts +18 -0
  74. package/lib/types/locale/ja-JP.d.ts +18 -0
  75. package/lib/types/locale/ko-KR.d.ts +18 -0
  76. package/lib/types/locale/pl-PL.d.ts +18 -0
  77. package/lib/types/locale/pt-BR.d.ts +18 -0
  78. package/lib/types/locale/ru-RU.d.ts +18 -0
  79. package/lib/types/locale/sk-SK.d.ts +18 -0
  80. package/lib/types/locale/types.d.ts +18 -0
  81. package/lib/types/locale/vi-VN.d.ts +18 -0
  82. package/lib/types/locale/zh-CN.d.ts +18 -0
  83. package/lib/types/locale/zh-HK.d.ts +18 -0
  84. package/lib/types/locale/zh-TW.d.ts +18 -0
  85. package/lib/types/models/conditional-formatting-range-index-model.d.ts +32 -0
  86. package/lib/types/models/conditional-formatting-view-model.d.ts +3 -2
  87. package/lib/types/models/icon-map.d.ts +2 -1
  88. package/lib/types/services/conditional-formatting-range-transform.service.d.ts +27 -0
  89. package/lib/types/services/conditional-formatting-style-composer.service.d.ts +31 -0
  90. package/lib/types/services/conditional-formatting.service.d.ts +7 -7
  91. package/lib/umd/index.js +1 -1
  92. package/lib/umd/locale/ar-SA.js +1 -0
  93. package/lib/umd/locale/ca-ES.js +1 -0
  94. package/lib/umd/locale/de-DE.js +1 -0
  95. package/lib/umd/locale/en-US.js +1 -0
  96. package/lib/umd/locale/es-ES.js +1 -0
  97. package/lib/umd/locale/fa-IR.js +1 -0
  98. package/lib/umd/locale/fr-FR.js +1 -0
  99. package/lib/umd/locale/id-ID.js +1 -0
  100. package/lib/umd/locale/it-IT.js +1 -0
  101. package/lib/umd/locale/ja-JP.js +1 -0
  102. package/lib/umd/locale/ko-KR.js +1 -0
  103. package/lib/umd/locale/pl-PL.js +1 -0
  104. package/lib/umd/locale/pt-BR.js +1 -0
  105. package/lib/umd/locale/ru-RU.js +1 -0
  106. package/lib/umd/locale/sk-SK.js +1 -0
  107. package/lib/umd/locale/vi-VN.js +1 -0
  108. package/lib/umd/locale/zh-CN.js +1 -0
  109. package/lib/umd/locale/zh-HK.js +1 -0
  110. package/lib/umd/locale/zh-TW.js +1 -0
  111. package/package.json +14 -9
  112. package/lib/types/models/calculate-unit-v2/__test__/test.util.d.ts +0 -38
@@ -0,0 +1,10 @@
1
+ //#region src/locale/ar-SA.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "الاتجاه",
4
+ shape: "الشكل",
5
+ mark: "العلامة",
6
+ rank: "الترتيب"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/ca-ES.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Direcció",
4
+ shape: "Forma",
5
+ mark: "Marca",
6
+ rank: "Rang"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/de-DE.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Richtung",
4
+ shape: "Form",
5
+ mark: "Zeichen",
6
+ rank: "Rang"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,25 @@
1
+ //#region src/locale/en-US.ts
2
+ /**
3
+ * Copyright 2023-present DreamNum Co., Ltd.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ const locale = { "sheets-conditional-formatting": { iconSet: {
18
+ direction: "Direction",
19
+ shape: "Shape",
20
+ mark: "Mark",
21
+ rank: "Rank"
22
+ } } };
23
+
24
+ //#endregion
25
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/es-ES.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Dirección",
4
+ shape: "Forma",
5
+ mark: "Marca",
6
+ rank: "Rango"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/fa-IR.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "جهت",
4
+ shape: "شکل",
5
+ mark: "علامت",
6
+ rank: "رتبه"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/fr-FR.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Direction",
4
+ shape: "Forme",
5
+ mark: "Marque",
6
+ rank: "Rang"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/id-ID.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Arah",
4
+ shape: "Bentuk",
5
+ mark: "Tanda",
6
+ rank: "Peringkat"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/it-IT.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Direzione",
4
+ shape: "Forma",
5
+ mark: "Marca",
6
+ rank: "Grado"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/ja-JP.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "方向",
4
+ shape: "図形",
5
+ mark: "インジケーター",
6
+ rank: "評価"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/ko-KR.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "방향",
4
+ shape: "모양",
5
+ mark: "표식",
6
+ rank: "순위"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/pl-PL.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Kierunek",
4
+ shape: "Kształt",
5
+ mark: "Znak",
6
+ rank: "Ranga"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/pt-BR.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Direção",
4
+ shape: "Forma",
5
+ mark: "Marca",
6
+ rank: "Classificação"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/ru-RU.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Направление",
4
+ shape: "Форма",
5
+ mark: "Знак",
6
+ rank: "Ранг"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/sk-SK.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Smer",
4
+ shape: "Tvar",
5
+ mark: "Značka",
6
+ rank: "Poradie"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/vi-VN.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "Hướng",
4
+ shape: "Hình dạng",
5
+ mark: "Dấu",
6
+ rank: "Hạng"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/zh-CN.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "方向",
4
+ shape: "形状",
5
+ mark: "标记",
6
+ rank: "等级"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/zh-HK.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "方向",
4
+ shape: "形狀",
5
+ mark: "標記",
6
+ rank: "等級"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -0,0 +1,10 @@
1
+ //#region src/locale/zh-TW.ts
2
+ const locale = { "sheets-conditional-formatting": { iconSet: {
3
+ direction: "方向",
4
+ shape: "形狀",
5
+ mark: "標記",
6
+ rank: "等級"
7
+ } } };
8
+
9
+ //#endregion
10
+ export { locale as default };
@@ -14,19 +14,29 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './base/const';
17
- export { AddCfCommand, type IAddCfCommandParams } from './commands/commands/add-cf.command';
18
- export { ClearRangeCfCommand, type IClearRangeCfParams } from './commands/commands/clear-range-cf.command';
19
- export { ClearWorksheetCfCommand, type IClearWorksheetCfParams } from './commands/commands/clear-worksheet-cf.command';
20
- export { DeleteCfCommand, type IDeleteCfCommandParams } from './commands/commands/delete-cf.command';
21
- export { type IMoveCfCommandParams, MoveCfCommand } from './commands/commands/move-cf.command';
22
- export { type ISetCfCommandParams, SetCfCommand } from './commands/commands/set-cf.command';
23
- export { AddConditionalRuleMutation, AddConditionalRuleMutationUndoFactory, type IAddConditionalRuleMutationParams, } from './commands/mutations/add-conditional-rule.mutation';
24
- export { DeleteConditionalRuleMutation, DeleteConditionalRuleMutationUndoFactory, type IDeleteConditionalRuleMutationParams, } from './commands/mutations/delete-conditional-rule.mutation';
25
- export { type IMoveConditionalRuleMutationParams, MoveConditionalRuleMutation, MoveConditionalRuleMutationUndoFactory, } from './commands/mutations/move-conditional-rule.mutation';
17
+ export { AddCfCommand } from './commands/commands/add-cf.command';
18
+ export type { IAddCfCommandParams } from './commands/commands/add-cf.command';
19
+ export { ClearRangeCfCommand } from './commands/commands/clear-range-cf.command';
20
+ export type { IClearRangeCfParams } from './commands/commands/clear-range-cf.command';
21
+ export { ClearWorksheetCfCommand } from './commands/commands/clear-worksheet-cf.command';
22
+ export type { IClearWorksheetCfParams } from './commands/commands/clear-worksheet-cf.command';
23
+ export { DeleteCfCommand } from './commands/commands/delete-cf.command';
24
+ export type { IDeleteCfCommandParams } from './commands/commands/delete-cf.command';
25
+ export { MoveCfCommand } from './commands/commands/move-cf.command';
26
+ export type { IMoveCfCommandParams } from './commands/commands/move-cf.command';
27
+ export { SetCfCommand } from './commands/commands/set-cf.command';
28
+ export type { ISetCfCommandParams } from './commands/commands/set-cf.command';
29
+ export { AddConditionalRuleMutation, AddConditionalRuleMutationUndoFactory, } from './commands/mutations/add-conditional-rule.mutation';
30
+ export type { IAddConditionalRuleMutationParams } from './commands/mutations/add-conditional-rule.mutation';
31
+ export { DeleteConditionalRuleMutation, DeleteConditionalRuleMutationUndoFactory, } from './commands/mutations/delete-conditional-rule.mutation';
32
+ export type { IDeleteConditionalRuleMutationParams } from './commands/mutations/delete-conditional-rule.mutation';
33
+ export { MoveConditionalRuleMutation, MoveConditionalRuleMutationUndoFactory, } from './commands/mutations/move-conditional-rule.mutation';
34
+ export type { IMoveConditionalRuleMutationParams } from './commands/mutations/move-conditional-rule.mutation';
26
35
  export type { ISetConditionalRuleMutationParams } from './commands/mutations/set-conditional-rule.mutation';
27
- export { SetConditionalRuleMutation, setConditionalRuleMutationUndoFactory } from './commands/mutations/set-conditional-rule.mutation';
36
+ export { SetConditionalRuleMutation, setConditionalRuleMutationUndoFactory, } from './commands/mutations/set-conditional-rule.mutation';
28
37
  export type { IUniverSheetsConditionalFormattingConfig } from './config/config';
29
38
  export * from './models/calculate-unit-v2/utils';
39
+ export * from './models/conditional-formatting-range-index-model';
30
40
  export * from './models/conditional-formatting-rule-model';
31
41
  export * from './models/conditional-formatting-view-model';
32
42
  export * from './models/icon-map';
@@ -36,9 +46,11 @@ export * from './render/data-bar.render';
36
46
  export * from './render/icon.render';
37
47
  export * from './render/type';
38
48
  export * from './services/conditional-formatting-formula.service';
49
+ export * from './services/conditional-formatting-range-transform.service';
50
+ export * from './services/conditional-formatting-style-composer.service';
39
51
  export * from './services/conditional-formatting.service';
40
52
  export * from './utils/anchor';
41
53
  export * from './utils/create-cf-id';
42
- export * from './utils/is-ranges-equal';
43
54
  export * from './utils/remove-undefined-attr';
44
55
  export * from './utils/type';
56
+ export { isRangesEqual } from '@univerjs/core';
@@ -13,4 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export { isRangesEqual } from '@univerjs/core';
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,26 @@
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-conditional-formatting': {
18
+ iconSet: {
19
+ direction: string;
20
+ shape: string;
21
+ mark: string;
22
+ rank: string;
23
+ };
24
+ };
25
+ };
26
+ 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 { LocaleLeafKeys } from '@univerjs/core';
17
+ import type enUS from './en-US';
18
+ export type LocaleKey = LocaleLeafKeys<typeof enUS>;
@@ -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;