@univerjs/docs-ui 1.0.4 → 1.2.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/README.md +45 -0
- package/lib/cjs/index.js +937 -296
- package/lib/cjs/locale/ar-SA.js +6 -0
- package/lib/cjs/locale/ca-ES.js +6 -0
- package/lib/cjs/locale/de-DE.js +6 -0
- package/lib/cjs/locale/en-US.js +6 -0
- package/lib/cjs/locale/es-ES.js +6 -0
- package/lib/cjs/locale/fa-IR.js +6 -0
- package/lib/cjs/locale/fr-FR.js +6 -0
- package/lib/cjs/locale/id-ID.js +6 -0
- package/lib/cjs/locale/it-IT.js +6 -0
- package/lib/cjs/locale/ja-JP.js +6 -0
- package/lib/cjs/locale/ko-KR.js +6 -0
- package/lib/cjs/locale/pl-PL.js +6 -0
- package/lib/cjs/locale/pt-BR.js +6 -0
- package/lib/cjs/locale/ru-RU.js +6 -0
- package/lib/cjs/locale/sk-SK.js +6 -0
- package/lib/cjs/locale/vi-VN.js +6 -0
- package/lib/cjs/locale/zh-CN.js +6 -0
- package/lib/cjs/locale/zh-HK.js +6 -0
- package/lib/cjs/locale/zh-TW.js +6 -0
- package/lib/es/index.js +918 -283
- package/lib/es/locale/ar-SA.js +6 -0
- package/lib/es/locale/ca-ES.js +6 -0
- package/lib/es/locale/de-DE.js +6 -0
- package/lib/es/locale/en-US.js +6 -0
- package/lib/es/locale/es-ES.js +6 -0
- package/lib/es/locale/fa-IR.js +6 -0
- package/lib/es/locale/fr-FR.js +6 -0
- package/lib/es/locale/id-ID.js +6 -0
- package/lib/es/locale/it-IT.js +6 -0
- package/lib/es/locale/ja-JP.js +6 -0
- package/lib/es/locale/ko-KR.js +6 -0
- package/lib/es/locale/pl-PL.js +6 -0
- package/lib/es/locale/pt-BR.js +6 -0
- package/lib/es/locale/ru-RU.js +6 -0
- package/lib/es/locale/sk-SK.js +6 -0
- package/lib/es/locale/vi-VN.js +6 -0
- package/lib/es/locale/zh-CN.js +6 -0
- package/lib/es/locale/zh-HK.js +6 -0
- package/lib/es/locale/zh-TW.js +6 -0
- package/lib/index.css +41 -82
- package/lib/index.js +918 -283
- package/lib/locale/ar-SA.js +6 -0
- package/lib/locale/ca-ES.js +6 -0
- package/lib/locale/de-DE.js +6 -0
- package/lib/locale/en-US.js +6 -0
- package/lib/locale/es-ES.js +6 -0
- package/lib/locale/fa-IR.js +6 -0
- package/lib/locale/fr-FR.js +6 -0
- package/lib/locale/id-ID.js +6 -0
- package/lib/locale/it-IT.js +6 -0
- package/lib/locale/ja-JP.js +6 -0
- package/lib/locale/ko-KR.js +6 -0
- package/lib/locale/pl-PL.js +6 -0
- package/lib/locale/pt-BR.js +6 -0
- package/lib/locale/ru-RU.js +6 -0
- package/lib/locale/sk-SK.js +6 -0
- package/lib/locale/vi-VN.js +6 -0
- package/lib/locale/zh-CN.js +6 -0
- package/lib/locale/zh-HK.js +6 -0
- package/lib/locale/zh-TW.js +6 -0
- package/lib/types/config/config.d.ts +5 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +6 -0
- package/lib/types/menu/display.menu.d.ts +21 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts +1 -1
- package/lib/types/services/doc-heading-collapse.service.d.ts +38 -0
- package/lib/types/services/doc-paragraph-menu.service.d.ts +12 -3
- package/lib/types/services/doc-popup-manager.service.d.ts +4 -1
- package/lib/types/services/doc-zoom.d.ts +4 -1
- package/lib/types/views/ParagraphMenu.d.ts +2 -2
- package/lib/types/views/doc-side-menu-layout.d.ts +17 -0
- package/lib/types/views/heading-collapse-shape.d.ts +38 -0
- package/lib/types/views/paragraph-setting/hook/utils.d.ts +2 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +16 -16
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "جارٍ استعادة تخطيط المستند…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "التكبير والتصغير",
|
|
40
|
+
fullscreen: "ملء الشاشة",
|
|
39
41
|
font: "خط",
|
|
40
42
|
fontSize: "حجم الخط",
|
|
41
43
|
bold: "غامق",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "لون النص الافتراضي",
|
|
215
217
|
noBackground: "بدون خلفية"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "طي",
|
|
221
|
+
expand: "توسيع"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "إعداد المستند",
|
|
219
225
|
"modern-width": "عرض المحتوى",
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "S’està restaurant el disseny del document…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Pantalla completa",
|
|
39
41
|
font: "Tipus de lletra",
|
|
40
42
|
fontSize: "Mida de lletra",
|
|
41
43
|
bold: "Negreta",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Color de text predeterminat",
|
|
215
217
|
noBackground: "Sense fons"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Redueix",
|
|
221
|
+
expand: "Expandeix"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Configuració de document",
|
|
219
225
|
"modern-width": "Amplada del contingut",
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Dokumentlayout wird wiederhergestellt…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Vollbild",
|
|
39
41
|
font: "Schriftart",
|
|
40
42
|
fontSize: "Schriftgröße",
|
|
41
43
|
bold: "Fett",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Standardtextfarbe",
|
|
215
217
|
noBackground: "Kein Hintergrund"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Einklappen",
|
|
221
|
+
expand: "Ausklappen"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Dokumenteneinstellung",
|
|
219
225
|
"modern-width": "Inhaltsbreite",
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -51,6 +51,8 @@ const locale = { "docs-ui": {
|
|
|
51
51
|
recovering: "Restoring document layout…"
|
|
52
52
|
},
|
|
53
53
|
toolbar: {
|
|
54
|
+
zoom: "Zoom",
|
|
55
|
+
fullscreen: "Fullscreen",
|
|
54
56
|
font: "Font",
|
|
55
57
|
fontSize: "Font size",
|
|
56
58
|
bold: "Bold",
|
|
@@ -229,6 +231,10 @@ const locale = { "docs-ui": {
|
|
|
229
231
|
defaultTextColor: "Default text color",
|
|
230
232
|
noBackground: "No background"
|
|
231
233
|
},
|
|
234
|
+
heading: {
|
|
235
|
+
collapse: "Collapse",
|
|
236
|
+
expand: "Expand"
|
|
237
|
+
},
|
|
232
238
|
"page-settings": {
|
|
233
239
|
"document-setting": "Page Setup",
|
|
234
240
|
"modern-width": "Content width",
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Restaurando el diseño del documento…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Pantalla completa",
|
|
39
41
|
font: "Fuente",
|
|
40
42
|
fontSize: "Tamaño de fuente",
|
|
41
43
|
bold: "Negrita",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Color de texto predeterminado",
|
|
215
217
|
noBackground: "Sin fondo"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Contraer",
|
|
221
|
+
expand: "Expandir"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Configuración de documento",
|
|
219
225
|
"modern-width": "Ancho del contenido",
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "در حال بازیابی صفحهآرایی سند…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "بزرگنمایی",
|
|
40
|
+
fullscreen: "تمامصفحه",
|
|
39
41
|
font: "فونت",
|
|
40
42
|
fontSize: "اندازه فونت",
|
|
41
43
|
bold: "پررنگ",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "رنگ پیشفرض متن",
|
|
215
217
|
noBackground: "بدون پسزمینه"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "جمع کردن",
|
|
221
|
+
expand: "باز کردن"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "تنظیمات سند",
|
|
219
225
|
"modern-width": "عرض محتوا",
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Restauration de la mise en page du document…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Plein écran",
|
|
39
41
|
font: "Police",
|
|
40
42
|
fontSize: "Taille de la police",
|
|
41
43
|
bold: "Gras",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Couleur de texte par défaut",
|
|
215
217
|
noBackground: "Aucun arrière-plan"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Réduire",
|
|
221
|
+
expand: "Développer"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Paramètres du document",
|
|
219
225
|
"modern-width": "Largeur du contenu",
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Memulihkan tata letak dokumen…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Layar penuh",
|
|
39
41
|
font: "Font",
|
|
40
42
|
fontSize: "Ukuran font",
|
|
41
43
|
bold: "Tebal",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Warna teks default",
|
|
215
217
|
noBackground: "Tanpa latar belakang"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Ciutkan",
|
|
221
|
+
expand: "Perluas"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Pengaturan Dokumen",
|
|
219
225
|
"modern-width": "Lebar konten",
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Ripristino del layout del documento…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Schermo intero",
|
|
39
41
|
font: "Carattere",
|
|
40
42
|
fontSize: "Dimensione carattere",
|
|
41
43
|
bold: "Grassetto",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Colore testo predefinito",
|
|
215
217
|
noBackground: "Nessuno sfondo"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Comprimi",
|
|
221
|
+
expand: "Espandi"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Impostazione Documento",
|
|
219
225
|
"modern-width": "Larghezza contenuto",
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "ドキュメントのレイアウトを復元しています…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "ズーム",
|
|
40
|
+
fullscreen: "全画面表示",
|
|
39
41
|
font: "フォント",
|
|
40
42
|
fontSize: "フォントサイズ",
|
|
41
43
|
bold: "太字",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "デフォルトの文字色",
|
|
215
217
|
noBackground: "背景なし"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "折りたたむ",
|
|
221
|
+
expand: "展開する"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "文書設定",
|
|
219
225
|
"modern-width": "コンテンツ幅",
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "문서 레이아웃을 복구하는 중…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "확대/축소",
|
|
40
|
+
fullscreen: "전체 화면",
|
|
39
41
|
font: "글꼴",
|
|
40
42
|
fontSize: "글꼴 크기",
|
|
41
43
|
bold: "굵게",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "기본 텍스트 색상",
|
|
215
217
|
noBackground: "배경 없음"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "접기",
|
|
221
|
+
expand: "펼치기"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "문서 설정",
|
|
219
225
|
"modern-width": "콘텐츠 너비",
|
package/lib/es/locale/pl-PL.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Przywracanie układu dokumentu…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Powiększenie",
|
|
40
|
+
fullscreen: "Pełny ekran",
|
|
39
41
|
font: "Czcionka",
|
|
40
42
|
fontSize: "Rozmiar czcionki",
|
|
41
43
|
bold: "Pogrubienie",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Domyślny kolor tekstu",
|
|
215
217
|
noBackground: "Brak tła"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Zwiń",
|
|
221
|
+
expand: "Rozwiń"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Ustawienia dokumentu",
|
|
219
225
|
"modern-width": "Szerokość treści",
|
package/lib/es/locale/pt-BR.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Restaurando o layout do documento…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Zoom",
|
|
40
|
+
fullscreen: "Tela cheia",
|
|
39
41
|
font: "Fonte",
|
|
40
42
|
fontSize: "Tamanho da fonte",
|
|
41
43
|
bold: "Negrito",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Cor de texto padrão",
|
|
215
217
|
noBackground: "Sem plano de fundo"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Recolher",
|
|
221
|
+
expand: "Expandir"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Configuração do documento",
|
|
219
225
|
"modern-width": "Largura do conteúdo",
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Восстановление макета документа…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Масштаб",
|
|
40
|
+
fullscreen: "Полноэкранный режим",
|
|
39
41
|
font: "Шрифт",
|
|
40
42
|
fontSize: "Размер шрифта",
|
|
41
43
|
bold: "Полужирный",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Цвет текста по умолчанию",
|
|
215
217
|
noBackground: "Без фона"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Свернуть",
|
|
221
|
+
expand: "Развернуть"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Настройки документа",
|
|
219
225
|
"modern-width": "Ширина содержимого",
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Obnovuje sa rozloženie dokumentu…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Priblíženie",
|
|
40
|
+
fullscreen: "Celá obrazovka",
|
|
39
41
|
font: "Písmo",
|
|
40
42
|
fontSize: "Veľkosť písma",
|
|
41
43
|
bold: "Tučné",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Predvolená farba textu",
|
|
215
217
|
noBackground: "Bez pozadia"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Zbaliť",
|
|
221
|
+
expand: "Rozbaliť"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Nastavenia dokumentu",
|
|
219
225
|
"modern-width": "Šírka obsahu",
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "Đang khôi phục bố cục tài liệu…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "Thu phóng",
|
|
40
|
+
fullscreen: "Toàn màn hình",
|
|
39
41
|
font: "Phông chữ",
|
|
40
42
|
fontSize: "Cỡ chữ",
|
|
41
43
|
bold: "In đậm",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "Màu văn bản mặc định",
|
|
215
217
|
noBackground: "Không có nền"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "Thu gọn",
|
|
221
|
+
expand: "Mở rộng"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "Cài đặt tài liệu",
|
|
219
225
|
"modern-width": "Độ rộng nội dung",
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "正在恢复文档排版…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "缩放",
|
|
40
|
+
fullscreen: "全屏",
|
|
39
41
|
font: "字体",
|
|
40
42
|
fontSize: "字号",
|
|
41
43
|
bold: "粗体",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "默认文字颜色",
|
|
215
217
|
noBackground: "无背景色"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "收起",
|
|
221
|
+
expand: "展开"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "页面设置",
|
|
219
225
|
"modern-width": "内容宽度",
|
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "正在恢復文件排版…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "縮放",
|
|
40
|
+
fullscreen: "全螢幕",
|
|
39
41
|
font: "字型",
|
|
40
42
|
fontSize: "字號",
|
|
41
43
|
bold: "粗體",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "預設文字顏色",
|
|
215
217
|
noBackground: "無背景色"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "收合",
|
|
221
|
+
expand: "展開"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "文件設定",
|
|
219
225
|
"modern-width": "內容寬度",
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -36,6 +36,8 @@ const locale = { "docs-ui": {
|
|
|
36
36
|
recovering: "正在復原文件排版…"
|
|
37
37
|
},
|
|
38
38
|
toolbar: {
|
|
39
|
+
zoom: "縮放",
|
|
40
|
+
fullscreen: "全螢幕",
|
|
39
41
|
font: "字體",
|
|
40
42
|
fontSize: "字號",
|
|
41
43
|
bold: "粗體",
|
|
@@ -214,6 +216,10 @@ const locale = { "docs-ui": {
|
|
|
214
216
|
defaultTextColor: "預設文字顏色",
|
|
215
217
|
noBackground: "無背景色"
|
|
216
218
|
},
|
|
219
|
+
heading: {
|
|
220
|
+
collapse: "收合",
|
|
221
|
+
expand: "展開"
|
|
222
|
+
},
|
|
217
223
|
"page-settings": {
|
|
218
224
|
"document-setting": "文件設定",
|
|
219
225
|
"modern-width": "內容寬度",
|
package/lib/index.css
CHANGED
|
@@ -36,10 +36,6 @@
|
|
|
36
36
|
bottom: 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.univer-bottom-2 {
|
|
40
|
-
bottom: .5rem;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
39
|
.univer-bottom-4 {
|
|
44
40
|
bottom: 1rem;
|
|
45
41
|
}
|
|
@@ -56,22 +52,18 @@
|
|
|
56
52
|
left: 5px;
|
|
57
53
|
}
|
|
58
54
|
|
|
59
|
-
.univer-
|
|
60
|
-
|
|
55
|
+
.univer-start-0 {
|
|
56
|
+
left: 0;
|
|
61
57
|
}
|
|
62
58
|
|
|
63
|
-
.univer-top-
|
|
64
|
-
top:
|
|
59
|
+
.univer-top-0 {
|
|
60
|
+
top: 0;
|
|
65
61
|
}
|
|
66
62
|
|
|
67
63
|
.univer-top-1\/2 {
|
|
68
64
|
top: 50%;
|
|
69
65
|
}
|
|
70
66
|
|
|
71
|
-
.univer-top-2 {
|
|
72
|
-
top: .5rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
67
|
.univer-top-\[5px\] {
|
|
76
68
|
top: 5px;
|
|
77
69
|
}
|
|
@@ -122,6 +114,10 @@
|
|
|
122
114
|
margin-bottom: .25rem;
|
|
123
115
|
}
|
|
124
116
|
|
|
117
|
+
.univer-mb-2 {
|
|
118
|
+
margin-bottom: .5rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
125
121
|
.univer-mb-3 {
|
|
126
122
|
margin-bottom: .75rem;
|
|
127
123
|
}
|
|
@@ -130,14 +126,14 @@
|
|
|
130
126
|
margin-bottom: 1rem;
|
|
131
127
|
}
|
|
132
128
|
|
|
133
|
-
.univer-ml-3 {
|
|
134
|
-
margin-left: .75rem;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
129
|
.univer-mr-1 {
|
|
138
130
|
margin-right: .25rem;
|
|
139
131
|
}
|
|
140
132
|
|
|
133
|
+
.univer-ms-4 {
|
|
134
|
+
margin-left: 1rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
141
137
|
.univer-mt-1\.5 {
|
|
142
138
|
margin-top: .375rem;
|
|
143
139
|
}
|
|
@@ -191,6 +187,11 @@
|
|
|
191
187
|
height: 1.25rem !important;
|
|
192
188
|
}
|
|
193
189
|
|
|
190
|
+
.\!univer-size-6 {
|
|
191
|
+
width: 1.5rem !important;
|
|
192
|
+
height: 1.5rem !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
194
195
|
.univer-size-0\.5 {
|
|
195
196
|
width: .125rem;
|
|
196
197
|
height: .125rem;
|
|
@@ -241,11 +242,6 @@
|
|
|
241
242
|
height: 1.75rem;
|
|
242
243
|
}
|
|
243
244
|
|
|
244
|
-
.univer-size-8 {
|
|
245
|
-
width: 2rem;
|
|
246
|
-
height: 2rem;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
245
|
.univer-size-9 {
|
|
250
246
|
width: 2.25rem;
|
|
251
247
|
height: 2.25rem;
|
|
@@ -332,10 +328,6 @@
|
|
|
332
328
|
min-height: 2rem;
|
|
333
329
|
}
|
|
334
330
|
|
|
335
|
-
.univer-w-0\.5 {
|
|
336
|
-
width: .125rem;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
331
|
.univer-w-10 {
|
|
340
332
|
width: 2.5rem;
|
|
341
333
|
}
|
|
@@ -704,10 +696,6 @@
|
|
|
704
696
|
background-color: var(--univer-gray-50);
|
|
705
697
|
}
|
|
706
698
|
|
|
707
|
-
.univer-bg-gray-700 {
|
|
708
|
-
background-color: var(--univer-gray-700);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
699
|
.univer-bg-primary-100 {
|
|
712
700
|
background-color: var(--univer-primary-100);
|
|
713
701
|
}
|
|
@@ -760,11 +748,6 @@
|
|
|
760
748
|
padding-right: .5rem;
|
|
761
749
|
}
|
|
762
750
|
|
|
763
|
-
.univer-px-3 {
|
|
764
|
-
padding-left: .75rem;
|
|
765
|
-
padding-right: .75rem;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
751
|
.univer-px-4 {
|
|
769
752
|
padding-left: 1rem;
|
|
770
753
|
padding-right: 1rem;
|
|
@@ -804,14 +787,14 @@
|
|
|
804
787
|
padding-bottom: .125rem;
|
|
805
788
|
}
|
|
806
789
|
|
|
807
|
-
.univer-pb-1 {
|
|
808
|
-
padding-bottom: .25rem;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
790
|
.univer-pb-2 {
|
|
812
791
|
padding-bottom: .5rem;
|
|
813
792
|
}
|
|
814
793
|
|
|
794
|
+
.univer-pe-2 {
|
|
795
|
+
padding-right: .5rem;
|
|
796
|
+
}
|
|
797
|
+
|
|
815
798
|
.univer-pl-1\.5 {
|
|
816
799
|
padding-left: .375rem;
|
|
817
800
|
}
|
|
@@ -824,10 +807,6 @@
|
|
|
824
807
|
padding-left: 1rem;
|
|
825
808
|
}
|
|
826
809
|
|
|
827
|
-
.univer-pr-12 {
|
|
828
|
-
padding-right: 3rem;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
810
|
.univer-pr-2 {
|
|
832
811
|
padding-right: .5rem;
|
|
833
812
|
}
|
|
@@ -836,12 +815,12 @@
|
|
|
836
815
|
padding-top: .375rem;
|
|
837
816
|
}
|
|
838
817
|
|
|
839
|
-
.univer-pt-
|
|
840
|
-
padding-top: .5rem;
|
|
818
|
+
.univer-pt-10 {
|
|
819
|
+
padding-top: 2.5rem;
|
|
841
820
|
}
|
|
842
821
|
|
|
843
|
-
.univer-
|
|
844
|
-
|
|
822
|
+
.univer-pt-2 {
|
|
823
|
+
padding-top: .5rem;
|
|
845
824
|
}
|
|
846
825
|
|
|
847
826
|
.univer-text-center {
|
|
@@ -922,6 +901,10 @@
|
|
|
922
901
|
line-height: 1;
|
|
923
902
|
}
|
|
924
903
|
|
|
904
|
+
.\!univer-text-gray-500 {
|
|
905
|
+
color: var(--univer-gray-500) !important;
|
|
906
|
+
}
|
|
907
|
+
|
|
925
908
|
.\!univer-text-gray-600 {
|
|
926
909
|
color: var(--univer-gray-600) !important;
|
|
927
910
|
}
|
|
@@ -934,10 +917,6 @@
|
|
|
934
917
|
color: var(--univer-gray-100);
|
|
935
918
|
}
|
|
936
919
|
|
|
937
|
-
.univer-text-gray-300 {
|
|
938
|
-
color: var(--univer-gray-300);
|
|
939
|
-
}
|
|
940
|
-
|
|
941
920
|
.univer-text-gray-400 {
|
|
942
921
|
color: var(--univer-gray-400);
|
|
943
922
|
}
|
|
@@ -962,12 +941,12 @@
|
|
|
962
941
|
color: var(--univer-gray-900);
|
|
963
942
|
}
|
|
964
943
|
|
|
965
|
-
.univer-text-primary-
|
|
966
|
-
color: var(--univer-primary-
|
|
944
|
+
.univer-text-primary-400 {
|
|
945
|
+
color: var(--univer-primary-400);
|
|
967
946
|
}
|
|
968
947
|
|
|
969
|
-
.univer-text-primary-
|
|
970
|
-
color: var(--univer-primary-
|
|
948
|
+
.univer-text-primary-600 {
|
|
949
|
+
color: var(--univer-primary-600);
|
|
971
950
|
}
|
|
972
951
|
|
|
973
952
|
.univer-text-violet-500 {
|
|
@@ -980,10 +959,6 @@
|
|
|
980
959
|
color: rgba(255, 255, 255, var(--univer-tw-text-opacity, 1));
|
|
981
960
|
}
|
|
982
961
|
|
|
983
|
-
.univer-opacity-0 {
|
|
984
|
-
opacity: 0;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
962
|
.univer-shadow-\[0_1px_0_rgba\(0\,0\,0\,0\.06\)\] {
|
|
988
963
|
--univer-tw-shadow: 0 1px 0 #0000000f;
|
|
989
964
|
--univer-tw-shadow-colored: 0 1px 0 var(--univer-tw-shadow-color);
|
|
@@ -1046,16 +1021,12 @@
|
|
|
1046
1021
|
border-color: var(--univer-primary-500);
|
|
1047
1022
|
}
|
|
1048
1023
|
|
|
1049
|
-
.hover\:univer-bg-gray-100:hover {
|
|
1050
|
-
background-color: var(--univer-gray-100);
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
1024
|
.hover\:univer-bg-gray-50:hover {
|
|
1054
1025
|
background-color: var(--univer-gray-50);
|
|
1055
1026
|
}
|
|
1056
1027
|
|
|
1057
|
-
.hover
|
|
1058
|
-
|
|
1028
|
+
.hover\:\!univer-text-gray-900:hover {
|
|
1029
|
+
color: var(--univer-gray-900) !important;
|
|
1059
1030
|
}
|
|
1060
1031
|
|
|
1061
1032
|
.hover\:univer-text-gray-900:hover {
|
|
@@ -1144,10 +1115,6 @@
|
|
|
1144
1115
|
border-color: var(--univer-gray-700) !important;
|
|
1145
1116
|
}
|
|
1146
1117
|
|
|
1147
|
-
.dark\:univer-border-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1148
|
-
border-color: var(--univer-gray-700);
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
1118
|
.dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
|
|
1152
1119
|
background-color: var(--univer-gray-500) !important;
|
|
1153
1120
|
}
|
|
@@ -1184,10 +1151,6 @@
|
|
|
1184
1151
|
background-color: var(--univer-gray-900);
|
|
1185
1152
|
}
|
|
1186
1153
|
|
|
1187
|
-
.dark\:univer-bg-primary-400:where(.univer-dark, .univer-dark *) {
|
|
1188
|
-
background-color: var(--univer-primary-400);
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
1154
|
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
1192
1155
|
color: var(--univer-gray-0) !important;
|
|
1193
1156
|
}
|
|
@@ -1212,10 +1175,6 @@
|
|
|
1212
1175
|
color: var(--univer-primary-400) !important;
|
|
1213
1176
|
}
|
|
1214
1177
|
|
|
1215
|
-
.dark\:univer-text-gray-100:where(.univer-dark, .univer-dark *) {
|
|
1216
|
-
color: var(--univer-gray-100);
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
1178
|
.dark\:univer-text-gray-200:where(.univer-dark, .univer-dark *) {
|
|
1220
1179
|
color: var(--univer-gray-200);
|
|
1221
1180
|
}
|
|
@@ -1228,8 +1187,8 @@
|
|
|
1228
1187
|
color: var(--univer-gray-400);
|
|
1229
1188
|
}
|
|
1230
1189
|
|
|
1231
|
-
.dark\:univer-text-primary-
|
|
1232
|
-
color: var(--univer-primary-
|
|
1190
|
+
.dark\:univer-text-primary-400:where(.univer-dark, .univer-dark *) {
|
|
1191
|
+
color: var(--univer-primary-400);
|
|
1233
1192
|
}
|
|
1234
1193
|
|
|
1235
1194
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1241,12 +1200,12 @@
|
|
|
1241
1200
|
background-color: var(--univer-gray-800) !important;
|
|
1242
1201
|
}
|
|
1243
1202
|
|
|
1244
|
-
.dark\:hover
|
|
1245
|
-
|
|
1203
|
+
.dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
1204
|
+
color: var(--univer-gray-100) !important;
|
|
1246
1205
|
}
|
|
1247
1206
|
|
|
1248
|
-
.dark\:hover\:univer-
|
|
1249
|
-
|
|
1207
|
+
.dark\:hover\:univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
1208
|
+
color: var(--univer-gray-100);
|
|
1250
1209
|
}
|
|
1251
1210
|
}
|
|
1252
1211
|
|