@univerjs/docs-ui 0.7.0 → 0.8.0-nightly.202505261607

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 (48) hide show
  1. package/lib/cjs/index.js +16 -17
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +3678 -3684
  10. package/lib/es/locale/en-US.js +4 -0
  11. package/lib/es/locale/fa-IR.js +4 -0
  12. package/lib/es/locale/fr-FR.js +4 -0
  13. package/lib/es/locale/ru-RU.js +4 -0
  14. package/lib/es/locale/vi-VN.js +4 -0
  15. package/lib/es/locale/zh-CN.js +4 -0
  16. package/lib/es/locale/zh-TW.js +4 -0
  17. package/lib/index.css +1 -1
  18. package/lib/index.js +3678 -3684
  19. package/lib/locale/en-US.js +4 -0
  20. package/lib/locale/fa-IR.js +4 -0
  21. package/lib/locale/fr-FR.js +4 -0
  22. package/lib/locale/ru-RU.js +4 -0
  23. package/lib/locale/vi-VN.js +4 -0
  24. package/lib/locale/zh-CN.js +4 -0
  25. package/lib/locale/zh-TW.js +4 -0
  26. package/lib/types/commands/commands/replace-content.command.d.ts +1 -0
  27. package/lib/types/locale/en-US.d.ts +137 -2
  28. package/lib/types/locale/fa-IR.d.ts +2 -2
  29. package/lib/types/locale/ru-RU.d.ts +2 -2
  30. package/lib/types/locale/vi-VN.d.ts +2 -2
  31. package/lib/types/locale/zh-CN.d.ts +2 -133
  32. package/lib/types/locale/zh-TW.d.ts +2 -2
  33. package/lib/umd/index.js +16 -17
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ru-RU.js +1 -1
  38. package/lib/umd/locale/vi-VN.js +1 -1
  39. package/lib/umd/locale/zh-CN.js +1 -1
  40. package/lib/umd/locale/zh-TW.js +1 -1
  41. package/package.json +11 -11
  42. package/LICENSE +0 -176
  43. package/lib/types/components/color-picker/index.d.ts +0 -17
  44. package/lib/types/components/color-picker/interface.d.ts +0 -16
  45. package/lib/types/components/font-family/index.d.ts +0 -18
  46. package/lib/types/components/font-family/interface.d.ts +0 -17
  47. package/lib/types/components/font-size/index.d.ts +0 -17
  48. package/lib/types/components/font-size/interface.d.ts +0 -16
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "Copy",
86
+ cut: "Cut",
87
+ paste: "Paste",
88
+ delete: "Delete",
85
89
  bulletList: "Bullet list",
86
90
  orderList: "Ordered list",
87
91
  checkList: "Task list",
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "کپی",
86
+ cut: "برش",
87
+ paste: "چسباندن",
88
+ delete: "حذف",
85
89
  bulletList: "لیست بدون شماره",
86
90
  orderList: "لیست شماره‌دار",
87
91
  checkList: "لیست وظیفه",
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "Copier",
86
+ cut: "Couper",
87
+ paste: "Coller",
88
+ delete: "Supprimer",
85
89
  bulletList: "Liste non ordonnée",
86
90
  orderList: "Liste ordonnée",
87
91
  checkList: "Liste de tâches",
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "Копировать",
86
+ cut: "Вырезать",
87
+ paste: "Вставить",
88
+ delete: "Удалить",
85
89
  bulletList: "Неупорядоченный список",
86
90
  orderList: "Упорядоченный список",
87
91
  checkList: "Список задач",
@@ -82,6 +82,10 @@ const t = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "Sao chép",
86
+ cut: "Cắt",
87
+ paste: "Dán",
88
+ delete: "Xóa",
85
89
  bulletList: "Danh sách không thứ tự",
86
90
  orderList: "Danh sách có thứ tự",
87
91
  checkList: "Danh sách công việc",
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "复制",
86
+ cut: "剪切",
87
+ paste: "粘贴",
88
+ delete: "删除",
85
89
  bulletList: "无序列表",
86
90
  orderList: "有序列表",
87
91
  checkList: "任务列表",
@@ -82,6 +82,10 @@ const e = {
82
82
  }
83
83
  },
84
84
  rightClick: {
85
+ copy: "複製",
86
+ cut: "剪切",
87
+ paste: "貼上",
88
+ delete: "刪除",
85
89
  bulletList: "無序列表",
86
90
  orderList: "有序列表",
87
91
  checkList: "任務列表",
@@ -27,6 +27,7 @@ interface ICoverContentCommandParams {
27
27
  unitId: string;
28
28
  body: IDocumentBody;
29
29
  segmentId?: string;
30
+ textRanges?: ITextRangeWithStyle[];
30
31
  }
31
32
  export declare const CoverContentCommand: ICommand<ICoverContentCommandParams>;
32
33
  export interface IReplaceSelectionCommandParams {
@@ -1,3 +1,138 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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
+ toolbar: {
18
+ undo: string;
19
+ redo: string;
20
+ font: string;
21
+ fontSize: string;
22
+ bold: string;
23
+ italic: string;
24
+ strikethrough: string;
25
+ subscript: string;
26
+ superscript: string;
27
+ underline: string;
28
+ textColor: {
29
+ main: string;
30
+ right: string;
31
+ };
32
+ fillColor: {
33
+ main: string;
34
+ right: string;
35
+ };
36
+ table: {
37
+ main: string;
38
+ insert: string;
39
+ colCount: string;
40
+ rowCount: string;
41
+ };
42
+ resetColor: string;
43
+ order: string;
44
+ unorder: string;
45
+ checklist: string;
46
+ documentFlavor: string;
47
+ alignLeft: string;
48
+ alignCenter: string;
49
+ alignRight: string;
50
+ alignJustify: string;
51
+ horizontalLine: string;
52
+ headerFooter: string;
53
+ pageSetup: string;
54
+ };
55
+ table: {
56
+ insert: string;
57
+ insertRowAbove: string;
58
+ insertRowBelow: string;
59
+ insertColumnLeft: string;
60
+ insertColumnRight: string;
61
+ delete: string;
62
+ deleteRows: string;
63
+ deleteColumns: string;
64
+ deleteTable: string;
65
+ };
66
+ headerFooter: {
67
+ header: string;
68
+ footer: string;
69
+ panel: string;
70
+ firstPageCheckBox: string;
71
+ oddEvenCheckBox: string;
72
+ headerTopMargin: string;
73
+ footerBottomMargin: string;
74
+ closeHeaderFooter: string;
75
+ disableText: string;
76
+ };
77
+ doc: {
78
+ menu: {
79
+ paragraphSetting: string;
80
+ };
81
+ slider: {
82
+ paragraphSetting: string;
83
+ };
84
+ paragraphSetting: {
85
+ alignment: string;
86
+ indentation: string;
87
+ left: string;
88
+ right: string;
89
+ firstLine: string;
90
+ hanging: string;
91
+ spacing: string;
92
+ before: string;
93
+ after: string;
94
+ lineSpace: string;
95
+ multiSpace: string;
96
+ fixedValue: string;
97
+ };
98
+ };
99
+ rightClick: {
100
+ copy: string;
101
+ cut: string;
102
+ paste: string;
103
+ delete: string;
104
+ bulletList: string;
105
+ orderList: string;
106
+ checkList: string;
107
+ insertBellow: string;
108
+ };
109
+ 'page-settings': {
110
+ 'document-setting': string;
111
+ 'paper-size': string;
112
+ 'page-size': {
113
+ main: string;
114
+ a4: string;
115
+ a3: string;
116
+ a5: string;
117
+ b4: string;
118
+ b5: string;
119
+ letter: string;
120
+ legal: string;
121
+ tabloid: string;
122
+ statement: string;
123
+ executive: string;
124
+ folio: string;
125
+ };
126
+ orientation: string;
127
+ portrait: string;
128
+ landscape: string;
129
+ 'custom-paper-size': string;
130
+ top: string;
131
+ bottom: string;
132
+ left: string;
133
+ right: string;
134
+ cancel: string;
135
+ confirm: string;
136
+ };
137
+ };
3
138
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,134 +1,3 @@
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
- toolbar: {
18
- undo: string;
19
- redo: string;
20
- font: string;
21
- fontSize: string;
22
- bold: string;
23
- italic: string;
24
- strikethrough: string;
25
- subscript: string;
26
- superscript: string;
27
- underline: string;
28
- textColor: {
29
- main: string;
30
- right: string;
31
- };
32
- fillColor: {
33
- main: string;
34
- right: string;
35
- };
36
- table: {
37
- main: string;
38
- insert: string;
39
- colCount: string;
40
- rowCount: string;
41
- };
42
- resetColor: string;
43
- order: string;
44
- unorder: string;
45
- checklist: string;
46
- documentFlavor: string;
47
- alignLeft: string;
48
- alignCenter: string;
49
- alignRight: string;
50
- alignJustify: string;
51
- horizontalLine: string;
52
- headerFooter: string;
53
- pageSetup: string;
54
- };
55
- table: {
56
- insert: string;
57
- insertRowAbove: string;
58
- insertRowBelow: string;
59
- insertColumnLeft: string;
60
- insertColumnRight: string;
61
- delete: string;
62
- deleteRows: string;
63
- deleteColumns: string;
64
- deleteTable: string;
65
- };
66
- headerFooter: {
67
- header: string;
68
- footer: string;
69
- panel: string;
70
- firstPageCheckBox: string;
71
- oddEvenCheckBox: string;
72
- headerTopMargin: string;
73
- footerBottomMargin: string;
74
- closeHeaderFooter: string;
75
- disableText: string;
76
- };
77
- doc: {
78
- menu: {
79
- paragraphSetting: string;
80
- };
81
- slider: {
82
- paragraphSetting: string;
83
- };
84
- paragraphSetting: {
85
- alignment: string;
86
- indentation: string;
87
- left: string;
88
- right: string;
89
- firstLine: string;
90
- hanging: string;
91
- spacing: string;
92
- before: string;
93
- after: string;
94
- lineSpace: string;
95
- multiSpace: string;
96
- fixedValue: string;
97
- };
98
- };
99
- rightClick: {
100
- bulletList: string;
101
- orderList: string;
102
- checkList: string;
103
- insertBellow: string;
104
- };
105
- 'page-settings': {
106
- 'document-setting': string;
107
- 'page-size': {
108
- main: string;
109
- a4: string;
110
- a3: string;
111
- a5: string;
112
- b4: string;
113
- b5: string;
114
- letter: string;
115
- legal: string;
116
- tabloid: string;
117
- statement: string;
118
- executive: string;
119
- folio: string;
120
- };
121
- 'paper-size': string;
122
- orientation: string;
123
- portrait: string;
124
- landscape: string;
125
- 'custom-paper-size': string;
126
- top: string;
127
- bottom: string;
128
- left: string;
129
- right: string;
130
- cancel: string;
131
- confirm: string;
132
- };
133
- };
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
134
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;