@univerjs/sheets-ui 1.0.0-alpha.0 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +4 -3
- package/lib/cjs/index.js +189 -50
- package/lib/cjs/locale/ar-SA.js +11 -4
- package/lib/cjs/locale/ca-ES.js +11 -4
- package/lib/cjs/locale/de-DE.js +11 -4
- package/lib/cjs/locale/en-US.js +9 -2
- package/lib/cjs/locale/es-ES.js +11 -4
- package/lib/cjs/locale/fa-IR.js +11 -4
- package/lib/cjs/locale/fr-FR.js +11 -4
- package/lib/cjs/locale/id-ID.js +11 -4
- package/lib/cjs/locale/it-IT.js +11 -4
- package/lib/cjs/locale/ja-JP.js +9 -2
- package/lib/cjs/locale/ko-KR.js +9 -2
- package/lib/cjs/locale/pl-PL.js +11 -4
- package/lib/cjs/locale/pt-BR.js +11 -4
- package/lib/cjs/locale/ru-RU.js +11 -4
- package/lib/cjs/locale/sk-SK.js +11 -4
- package/lib/cjs/locale/vi-VN.js +11 -4
- package/lib/cjs/locale/zh-CN.js +9 -2
- package/lib/cjs/locale/zh-HK.js +9 -2
- package/lib/cjs/locale/zh-TW.js +9 -2
- package/lib/es/facade.js +4 -3
- package/lib/es/index.js +192 -54
- package/lib/es/locale/ar-SA.js +11 -4
- package/lib/es/locale/ca-ES.js +11 -4
- package/lib/es/locale/de-DE.js +11 -4
- package/lib/es/locale/en-US.js +9 -2
- package/lib/es/locale/es-ES.js +11 -4
- package/lib/es/locale/fa-IR.js +11 -4
- package/lib/es/locale/fr-FR.js +11 -4
- package/lib/es/locale/id-ID.js +11 -4
- package/lib/es/locale/it-IT.js +11 -4
- package/lib/es/locale/ja-JP.js +9 -2
- package/lib/es/locale/ko-KR.js +9 -2
- package/lib/es/locale/pl-PL.js +11 -4
- package/lib/es/locale/pt-BR.js +11 -4
- package/lib/es/locale/ru-RU.js +11 -4
- package/lib/es/locale/sk-SK.js +11 -4
- package/lib/es/locale/vi-VN.js +11 -4
- package/lib/es/locale/zh-CN.js +9 -2
- package/lib/es/locale/zh-HK.js +9 -2
- package/lib/es/locale/zh-TW.js +9 -2
- package/lib/facade.js +4 -3
- package/lib/index.css +38 -4
- package/lib/index.js +192 -54
- package/lib/locale/ar-SA.js +11 -4
- package/lib/locale/ca-ES.js +11 -4
- package/lib/locale/de-DE.js +11 -4
- package/lib/locale/en-US.js +9 -2
- package/lib/locale/es-ES.js +11 -4
- package/lib/locale/fa-IR.js +11 -4
- package/lib/locale/fr-FR.js +11 -4
- package/lib/locale/id-ID.js +11 -4
- package/lib/locale/it-IT.js +11 -4
- package/lib/locale/ja-JP.js +9 -2
- package/lib/locale/ko-KR.js +9 -2
- package/lib/locale/pl-PL.js +11 -4
- package/lib/locale/pt-BR.js +11 -4
- package/lib/locale/ru-RU.js +11 -4
- package/lib/locale/sk-SK.js +11 -4
- package/lib/locale/vi-VN.js +11 -4
- package/lib/locale/zh-CN.js +9 -2
- package/lib/locale/zh-HK.js +9 -2
- package/lib/locale/zh-TW.js +9 -2
- package/lib/types/commands/commands/clipboard.command.d.ts +1 -0
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +4 -2
- package/lib/types/controllers/editor/data-sync.controller.d.ts +5 -2
- package/lib/types/facade/f-range.d.ts +5 -4
- package/lib/types/index.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +10 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts +8 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +8 -8
- 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/locale/ar-SA.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "دمج أفقي",
|
|
90
90
|
cancel: "إلغاء الدمج",
|
|
91
91
|
overlappingError: "لا يمكن دمج المناطق المتداخلة",
|
|
92
|
-
partiallyError: "لا يمكن إجراء هذه العملية على خلايا مدموجة جزئياً"
|
|
92
|
+
partiallyError: "لا يمكن إجراء هذه العملية على خلايا مدموجة جزئياً",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "تحذير",
|
|
95
|
+
dismantleMergeCellWarning: "ستؤدي هذه العملية إلى إلغاء دمج الخلايا المدمجة. هل تريد المتابعة؟"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "لا يمكن تنفيذ هذه العملية",
|
|
100
|
+
notAllowedToInsertRange: "هذه العملية غير مسموح بها لأن النطاق يحتوي على صفوف تمت تصفيتها."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "تجاوز",
|
|
97
104
|
wrap: "التفاف",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "تم النسخ"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "عرض الورقة",
|
|
273
|
+
"sheet-edit": "تحرير الورقة",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "تكبير",
|
|
269
276
|
"zoom-out": "تصغير",
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Combinació horitzontal",
|
|
90
90
|
cancel: "Descombinar cel·les",
|
|
91
91
|
overlappingError: "No es poden combinar àrees superposades",
|
|
92
|
-
partiallyError: "No es pot realitzar aquesta operació en cel·les parcialment combinades"
|
|
92
|
+
partiallyError: "No es pot realitzar aquesta operació en cel·les parcialment combinades",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Avís",
|
|
95
|
+
dismantleMergeCellWarning: "Aquesta operació descombinarà les cel·les combinades. Voleu continuar?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "No es pot realitzar aquesta operació",
|
|
100
|
+
notAllowedToInsertRange: "Aquesta operació no està permesa perquè l’interval conté files filtrades."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Desbordament",
|
|
97
104
|
wrap: "Ajustar",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Copiat"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Vista del full",
|
|
273
|
+
"sheet-edit": "Edició del full",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Apropar",
|
|
269
276
|
"zoom-out": "Allunyar",
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Horizontal verbinden",
|
|
90
90
|
cancel: "Verbindung aufheben",
|
|
91
91
|
overlappingError: "Überlappende Bereiche können nicht verbunden werden",
|
|
92
|
-
partiallyError: "Dieser Vorgang kann nicht für teilweise verbundene Zellen ausgeführt werden"
|
|
92
|
+
partiallyError: "Dieser Vorgang kann nicht für teilweise verbundene Zellen ausgeführt werden",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Warnung",
|
|
95
|
+
dismantleMergeCellWarning: "Dieser Vorgang hebt verbundene Zellen auf. Fortfahren?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Dieser Vorgang kann nicht ausgeführt werden",
|
|
100
|
+
notAllowedToInsertRange: "Dieser Vorgang ist nicht erlaubt, da der Bereich gefilterte Zeilen enthält."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Überlauf",
|
|
97
104
|
wrap: "Umbrechen",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Kopiert"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Tabellenblattansicht",
|
|
273
|
+
"sheet-edit": "Tabellenblattbearbeitung",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Vergrößern",
|
|
269
276
|
"zoom-out": "Verkleinern",
|
package/lib/locale/en-US.js
CHANGED
|
@@ -104,9 +104,16 @@ const locale = { "sheets-ui": {
|
|
|
104
104
|
horizontal: "Horizontal merge",
|
|
105
105
|
cancel: "Cancel merge",
|
|
106
106
|
overlappingError: "Cannot merge overlapping areas",
|
|
107
|
-
partiallyError: "Cannot perform this operation on partially merged cells"
|
|
107
|
+
partiallyError: "Cannot perform this operation on partially merged cells",
|
|
108
|
+
confirm: {
|
|
109
|
+
warning: "Warning",
|
|
110
|
+
dismantleMergeCellWarning: "This operation will unmerge merged cells. Continue?"
|
|
111
|
+
}
|
|
108
112
|
},
|
|
109
|
-
filter: {
|
|
113
|
+
filter: { confirm: {
|
|
114
|
+
error: "Cannot perform this operation",
|
|
115
|
+
notAllowedToInsertRange: "This operation is not allowed because the range contains filtered rows."
|
|
116
|
+
} },
|
|
110
117
|
textWrap: {
|
|
111
118
|
overflow: "Overflow",
|
|
112
119
|
wrap: "Wrap",
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Combinar horizontalmente",
|
|
90
90
|
cancel: "Separar celdas",
|
|
91
91
|
overlappingError: "No se pueden combinar áreas superpuestas",
|
|
92
|
-
partiallyError: "No se puede realizar esta operación en celdas parcialmente combinadas"
|
|
92
|
+
partiallyError: "No se puede realizar esta operación en celdas parcialmente combinadas",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Advertencia",
|
|
95
|
+
dismantleMergeCellWarning: "Esta operación separará las celdas combinadas. ¿Desea continuar?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "No se puede realizar esta operación",
|
|
100
|
+
notAllowedToInsertRange: "Esta operación no está permitida porque el rango contiene filas filtradas."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Desbordamiento",
|
|
97
104
|
wrap: "Ajustar",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Copiado"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Vista de hoja",
|
|
273
|
+
"sheet-edit": "Edición de hoja",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Acercar",
|
|
269
276
|
"zoom-out": "Alejar",
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "ادغام افقی",
|
|
90
90
|
cancel: "لغو ادغام",
|
|
91
91
|
overlappingError: "نمیتوان نواحی همپوشان را ادغام کرد",
|
|
92
|
-
partiallyError: "نمیتوان این عملیات را روی سلولهای ادغامشده جزئی انجام داد"
|
|
92
|
+
partiallyError: "نمیتوان این عملیات را روی سلولهای ادغامشده جزئی انجام داد",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "هشدار",
|
|
95
|
+
dismantleMergeCellWarning: "این عملیات سلولهای ادغامشده را از حالت ادغام خارج میکند. ادامه میدهید؟"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "نمیتوان این عملیات را انجام داد",
|
|
100
|
+
notAllowedToInsertRange: "این عملیات مجاز نیست زیرا محدوده شامل ردیفهای فیلترشده است."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "سرریز",
|
|
97
104
|
wrap: "بپیچ",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "کپی شد"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "نمایش برگه",
|
|
273
|
+
"sheet-edit": "ویرایش برگه",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "بزرگنمایی",
|
|
269
276
|
"zoom-out": "کوچکنمایی",
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Fusion horizontale",
|
|
90
90
|
cancel: "Annuler la fusion",
|
|
91
91
|
overlappingError: "Impossible de fusionner des zones qui se chevauchent",
|
|
92
|
-
partiallyError: "Impossible d'effectuer cette opération sur des cellules partiellement fusionnées"
|
|
92
|
+
partiallyError: "Impossible d'effectuer cette opération sur des cellules partiellement fusionnées",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Avertissement",
|
|
95
|
+
dismantleMergeCellWarning: "Cette opération annulera la fusion des cellules fusionnées. Continuer ?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Impossible d’effectuer cette opération",
|
|
100
|
+
notAllowedToInsertRange: "Cette opération n’est pas autorisée, car la plage contient des lignes filtrées."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Débordement",
|
|
97
104
|
wrap: "Renvoi à la ligne",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Copié"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Affichage de la feuille",
|
|
273
|
+
"sheet-edit": "Modification de la feuille",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Zoom avant",
|
|
269
276
|
"zoom-out": "Zoom arrière",
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Gabungkan horizontal",
|
|
90
90
|
cancel: "Batalkan penggabungan",
|
|
91
91
|
overlappingError: "Tidak dapat menggabungkan area yang tumpang tindih",
|
|
92
|
-
partiallyError: "Tidak dapat melakukan operasi ini pada sel yang digabungkan sebagian"
|
|
92
|
+
partiallyError: "Tidak dapat melakukan operasi ini pada sel yang digabungkan sebagian",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Peringatan",
|
|
95
|
+
dismantleMergeCellWarning: "Operasi ini akan membatalkan penggabungan sel. Lanjutkan?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Tidak dapat melakukan operasi ini",
|
|
100
|
+
notAllowedToInsertRange: "Operasi ini tidak diizinkan karena rentang berisi baris yang difilter."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Meluap",
|
|
97
104
|
wrap: "Bungkus",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Tersalin"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Tampilan lembar",
|
|
273
|
+
"sheet-edit": "Pengeditan lembar",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Perbesar",
|
|
269
276
|
"zoom-out": "Perkecil",
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Unisci orizzontalmente",
|
|
90
90
|
cancel: "Annulla unione",
|
|
91
91
|
overlappingError: "Impossibile unire aree sovrapposte",
|
|
92
|
-
partiallyError: "Impossibile eseguire questa operazione su celle parzialmente unite"
|
|
92
|
+
partiallyError: "Impossibile eseguire questa operazione su celle parzialmente unite",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Avviso",
|
|
95
|
+
dismantleMergeCellWarning: "Questa operazione annullerà l’unione delle celle unite. Continuare?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Impossibile eseguire questa operazione",
|
|
100
|
+
notAllowedToInsertRange: "Questa operazione non è consentita perché l’intervallo contiene righe filtrate."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Trabocca",
|
|
97
104
|
wrap: "A capo",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Copiato"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Visualizzazione foglio",
|
|
273
|
+
"sheet-edit": "Modifica foglio",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Aumenta zoom",
|
|
269
276
|
"zoom-out": "Diminuisci zoom",
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "横に結合",
|
|
90
90
|
cancel: "結合解除",
|
|
91
91
|
overlappingError: "重なっている範囲は結合できません",
|
|
92
|
-
partiallyError: "部分的に結合されたセルには操作できません"
|
|
92
|
+
partiallyError: "部分的に結合されたセルには操作できません",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "警告",
|
|
95
|
+
dismantleMergeCellWarning: "この操作により結合セルが解除されます。続行しますか?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "この操作は実行できません",
|
|
100
|
+
notAllowedToInsertRange: "範囲にフィルターされた行が含まれているため、この操作は許可されていません。"
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "オーバーフロー",
|
|
97
104
|
wrap: "折り返す",
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "가로 병합",
|
|
90
90
|
cancel: "병합 해제",
|
|
91
91
|
overlappingError: "겹치는 영역은 병합할 수 없습니다",
|
|
92
|
-
partiallyError: "부분 병합된 셀에서는 작업할 수 없습니다"
|
|
92
|
+
partiallyError: "부분 병합된 셀에서는 작업할 수 없습니다",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "경고",
|
|
95
|
+
dismantleMergeCellWarning: "이 작업은 병합된 셀을 해제합니다. 계속하시겠습니까?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "이 작업을 수행할 수 없습니다",
|
|
100
|
+
notAllowedToInsertRange: "범위에 필터링된 행이 포함되어 있어 이 작업을 수행할 수 없습니다."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "넘침",
|
|
97
104
|
wrap: "줄바꿈",
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Scalanie poziome",
|
|
90
90
|
cancel: "Anuluj scalenie",
|
|
91
91
|
overlappingError: "Nie można scalić nakładających się obszarów",
|
|
92
|
-
partiallyError: "Nie można wykonać tej operacji na częściowo scalonych komórkach"
|
|
92
|
+
partiallyError: "Nie można wykonać tej operacji na częściowo scalonych komórkach",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Ostrzeżenie",
|
|
95
|
+
dismantleMergeCellWarning: "Ta operacja rozłączy scalone komórki. Kontynuować?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Nie można wykonać tej operacji",
|
|
100
|
+
notAllowedToInsertRange: "Ta operacja jest niedozwolona, ponieważ zakres zawiera filtrowane wiersze."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Przepełnienie",
|
|
97
104
|
wrap: "Zawijaj",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Skopiowano"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Widok arkusza",
|
|
273
|
+
"sheet-edit": "Edycja arkusza",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Powiększ",
|
|
269
276
|
"zoom-out": "Pomniejsz",
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Mesclagem horizontal",
|
|
90
90
|
cancel: "Cancelar mesclagem",
|
|
91
91
|
overlappingError: "Não é possível mesclar áreas sobrepostas",
|
|
92
|
-
partiallyError: "Não é possível realizar esta operação em células parcialmente mescladas"
|
|
92
|
+
partiallyError: "Não é possível realizar esta operação em células parcialmente mescladas",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Aviso",
|
|
95
|
+
dismantleMergeCellWarning: "Esta operação desfará a mesclagem das células. Continuar?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Não é possível realizar esta operação",
|
|
100
|
+
notAllowedToInsertRange: "Esta operação não é permitida porque o intervalo contém linhas filtradas."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Transbordar",
|
|
97
104
|
wrap: "Quebrar",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Copiado"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Visualização da planilha",
|
|
273
|
+
"sheet-edit": "Edição da planilha",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Aumentar zoom",
|
|
269
276
|
"zoom-out": "Diminuir zoom",
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Горизонтальное объединение",
|
|
90
90
|
cancel: "Отменить объединение",
|
|
91
91
|
overlappingError: "Невозможно объединить перекрывающиеся области",
|
|
92
|
-
partiallyError: "Невозможно выполнить эту операцию на частично объединенных ячейках"
|
|
92
|
+
partiallyError: "Невозможно выполнить эту операцию на частично объединенных ячейках",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Предупреждение",
|
|
95
|
+
dismantleMergeCellWarning: "Эта операция отменит объединение ячеек. Продолжить?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Невозможно выполнить эту операцию",
|
|
100
|
+
notAllowedToInsertRange: "Эта операция запрещена, так как диапазон содержит отфильтрованные строки."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Переполнение",
|
|
97
104
|
wrap: "Перенос",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Скопировано"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Просмотр листа",
|
|
273
|
+
"sheet-edit": "Редактирование листа",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Увеличить",
|
|
269
276
|
"zoom-out": "Уменьшить",
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Zlúčiť vodorovne",
|
|
90
90
|
cancel: "Zrušiť zlúčenie",
|
|
91
91
|
overlappingError: "Nedá sa zlúčiť prekrývajúce sa oblasti",
|
|
92
|
-
partiallyError: "Túto operáciu nemožno vykonať na čiastočne zlúčených bunkách"
|
|
92
|
+
partiallyError: "Túto operáciu nemožno vykonať na čiastočne zlúčených bunkách",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Upozornenie",
|
|
95
|
+
dismantleMergeCellWarning: "Táto operácia zruší zlúčenie buniek. Pokračovať?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Túto operáciu nemožno vykonať",
|
|
100
|
+
notAllowedToInsertRange: "Táto operácia nie je povolená, pretože rozsah obsahuje filtrované riadky."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Pretečenie",
|
|
97
104
|
wrap: "Zalomiť",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Skopírované"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Zobrazenie hárka",
|
|
273
|
+
"sheet-edit": "Úprava hárka",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Priblížiť",
|
|
269
276
|
"zoom-out": "Oddialiť",
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "Hợp nhất ngang",
|
|
90
90
|
cancel: "Hủy hợp nhất",
|
|
91
91
|
overlappingError: "Không thể hợp nhất vùng chồng chéo",
|
|
92
|
-
partiallyError: "Không thể thực hiện thao tác này trên ô đã hợp nhất"
|
|
92
|
+
partiallyError: "Không thể thực hiện thao tác này trên ô đã hợp nhất",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "Cảnh báo",
|
|
95
|
+
dismantleMergeCellWarning: "Thao tác này sẽ bỏ hợp nhất các ô đã hợp nhất. Tiếp tục?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "Không thể thực hiện thao tác này",
|
|
100
|
+
notAllowedToInsertRange: "Thao tác này không được phép vì phạm vi chứa các hàng đã lọc."
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "Tràn",
|
|
97
104
|
wrap: "Tự động ngắt dòng",
|
|
@@ -262,8 +269,8 @@ const locale = { "sheets-ui": {
|
|
|
262
269
|
copied: "Đã sao chép"
|
|
263
270
|
},
|
|
264
271
|
shortcut: {
|
|
265
|
-
"sheet-view": "
|
|
266
|
-
"sheet-edit": "
|
|
272
|
+
"sheet-view": "Xem trang tính",
|
|
273
|
+
"sheet-edit": "Chỉnh sửa trang tính",
|
|
267
274
|
sheet: {
|
|
268
275
|
"zoom-in": "Phóng to",
|
|
269
276
|
"zoom-out": "Thu nhỏ",
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "水平合并",
|
|
90
90
|
cancel: "取消合并",
|
|
91
91
|
overlappingError: "不能合并重叠区域",
|
|
92
|
-
partiallyError: "无法对部分合并单元格执行此操作"
|
|
92
|
+
partiallyError: "无法对部分合并单元格执行此操作",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "警告",
|
|
95
|
+
dismantleMergeCellWarning: "此操作将取消合并单元格,是否继续?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "无法执行此操作",
|
|
100
|
+
notAllowedToInsertRange: "该范围包含筛选行,无法执行此操作。"
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "溢出",
|
|
97
104
|
wrap: "自动换行",
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "水平合併",
|
|
90
90
|
cancel: "取消合併",
|
|
91
91
|
overlappingError: "不能合併重疊區域",
|
|
92
|
-
partiallyError: "無法對部分合併儲存格執行此操作"
|
|
92
|
+
partiallyError: "無法對部分合併儲存格執行此操作",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "警告",
|
|
95
|
+
dismantleMergeCellWarning: "此操作將取消合併儲存格,是否繼續?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "無法執行此操作",
|
|
100
|
+
notAllowedToInsertRange: "該範圍包含篩選列,無法執行此操作。"
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "溢出",
|
|
97
104
|
wrap: "自動換行",
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -89,9 +89,16 @@ const locale = { "sheets-ui": {
|
|
|
89
89
|
horizontal: "水平合併",
|
|
90
90
|
cancel: "取消合併",
|
|
91
91
|
overlappingError: "不能合併重疊區域",
|
|
92
|
-
partiallyError: "無法對部分合併儲存格執行此操作"
|
|
92
|
+
partiallyError: "無法對部分合併儲存格執行此操作",
|
|
93
|
+
confirm: {
|
|
94
|
+
warning: "警告",
|
|
95
|
+
dismantleMergeCellWarning: "此操作將取消合併儲存格,是否繼續?"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
|
-
filter: {
|
|
98
|
+
filter: { confirm: {
|
|
99
|
+
error: "無法執行此操作",
|
|
100
|
+
notAllowedToInsertRange: "該範圍包含篩選列,無法執行此操作。"
|
|
101
|
+
} },
|
|
95
102
|
textWrap: {
|
|
96
103
|
overflow: "溢出",
|
|
97
104
|
wrap: "自動換行",
|
|
@@ -23,6 +23,7 @@ export interface ISheetPasteByShortKeyParams {
|
|
|
23
23
|
htmlContent?: string;
|
|
24
24
|
textContent?: string;
|
|
25
25
|
files?: File[];
|
|
26
|
+
formulaClipboardPayload?: string;
|
|
26
27
|
}
|
|
27
28
|
export declare const SheetPasteCommand: IMultiCommand;
|
|
28
29
|
export declare const SheetPasteShortKeyCommand: ICommand;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { ICommandService, IConfigService, IContextService, Injector, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core';
|
|
17
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { IMessageService, IUIPartsService } from '@univerjs/ui';
|
|
18
|
+
import { IClipboardInterfaceService, IMessageService, IUIPartsService } from '@univerjs/ui';
|
|
19
19
|
import { ISheetClipboardService } from '../../services/clipboard/clipboard.service';
|
|
20
20
|
export declare class SheetClipboardController extends RxDisposable {
|
|
21
21
|
private readonly _injector;
|
|
@@ -25,15 +25,17 @@ export declare class SheetClipboardController extends RxDisposable {
|
|
|
25
25
|
private readonly _contextService;
|
|
26
26
|
private readonly _configService;
|
|
27
27
|
private readonly _sheetClipboardService;
|
|
28
|
+
private readonly _clipboardInterfaceService;
|
|
28
29
|
private readonly _messageService;
|
|
29
30
|
private readonly _localService;
|
|
30
31
|
protected readonly _uiPartsService: IUIPartsService;
|
|
31
32
|
private _refreshOptionalPaste$;
|
|
32
33
|
refreshOptionalPaste$: import("rxjs").Observable<unknown>;
|
|
33
|
-
constructor(_injector: Injector, _instanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _contextService: IContextService, _configService: IConfigService, _sheetClipboardService: ISheetClipboardService, _messageService: IMessageService, _localService: LocaleService, _uiPartsService: IUIPartsService);
|
|
34
|
+
constructor(_injector: Injector, _instanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _contextService: IContextService, _configService: IConfigService, _sheetClipboardService: ISheetClipboardService, _clipboardInterfaceService: IClipboardInterfaceService, _messageService: IMessageService, _localService: LocaleService, _uiPartsService: IUIPartsService);
|
|
34
35
|
refreshOptionalPaste(): void;
|
|
35
36
|
private _pasteWithDoc;
|
|
36
37
|
private _resolveClipboardFiles;
|
|
38
|
+
private _readFormulaClipboardPayload;
|
|
37
39
|
private _init;
|
|
38
40
|
private _initCopyingHooks;
|
|
39
41
|
private _initPastingHook;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
16
|
+
import { Disposable, ICommandService, IContextService, IUniverInstanceService } from '@univerjs/core';
|
|
17
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
18
|
import { RangeProtectionRuleModel, WorksheetProtectionRuleModel } from '@univerjs/sheets';
|
|
19
19
|
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
@@ -31,7 +31,8 @@ export declare class EditorDataSyncController extends Disposable {
|
|
|
31
31
|
private readonly _worksheetProtectionRuleModel;
|
|
32
32
|
private readonly _formulaEditorController;
|
|
33
33
|
private readonly _formulaEditorManagerService;
|
|
34
|
-
|
|
34
|
+
private readonly _contextService;
|
|
35
|
+
constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _commandService: ICommandService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _formulaEditorController: FormulaEditorController, _formulaEditorManagerService: IFormulaEditorManagerService, _contextService: IContextService);
|
|
35
36
|
private _initialize;
|
|
36
37
|
private _getEditorViewModel;
|
|
37
38
|
private _syncFormulaEditorContent;
|
|
@@ -41,6 +42,8 @@ export declare class EditorDataSyncController extends Disposable {
|
|
|
41
42
|
private _hasMatrixCell;
|
|
42
43
|
private _syncActionsAndRender;
|
|
43
44
|
private _syncContentAndRender;
|
|
45
|
+
private _syncFormulaRefRenderStyleOnFocusChange;
|
|
46
|
+
private _refreshRenderStyleConfig;
|
|
44
47
|
private _checkAndSetRenderStyleConfig;
|
|
45
48
|
private _clearParagraph;
|
|
46
49
|
}
|
|
@@ -23,14 +23,15 @@ import { ComponentManager } from '@univerjs/ui';
|
|
|
23
23
|
export interface IFComponentKey {
|
|
24
24
|
/**
|
|
25
25
|
* The key of the component to be rendered in the popup.
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* If key is a string, it will be queried from the component registry.
|
|
27
|
+
* If key is a component, it will be registered temporarily with the specified framework.
|
|
28
28
|
*/
|
|
29
29
|
componentKey: string | ComponentType;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The framework adapter used to render a direct component.
|
|
32
|
+
* Defaults to `react`.
|
|
32
33
|
*/
|
|
33
|
-
|
|
34
|
+
framework?: string;
|
|
34
35
|
}
|
|
35
36
|
export interface IFCanvasPopup extends Omit<ICanvasPopup, 'componentKey'>, IFComponentKey {
|
|
36
37
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export type { ICellAlert } from './services/cell-alert-manager.service';
|
|
|
91
91
|
export { ISheetCellDropdownManagerService, SheetCellDropdownManagerService, } from './services/cell-dropdown-manager.service';
|
|
92
92
|
export type { IDropdownParam } from './services/cell-dropdown-manager.service';
|
|
93
93
|
export { CellPopupManagerService } from './services/cell-popup-manager.service';
|
|
94
|
-
export { getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, PREDEFINED_HOOK_NAME_COPY, PREDEFINED_HOOK_NAME_PASTE, SheetClipboardService, } from './services/clipboard/clipboard.service';
|
|
94
|
+
export { FORMULA_CLIPBOARD_MIME_TYPE, getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, PREDEFINED_HOOK_NAME_COPY, PREDEFINED_HOOK_NAME_PASTE, SheetClipboardService, } from './services/clipboard/clipboard.service';
|
|
95
95
|
export { COPY_TYPE } from './services/clipboard/type';
|
|
96
96
|
export type { ICellDataWithSpanInfo, ICopyHookKeyType, ICopyHookValueType, ICopyPastePayload, IPasteHookKeyType, IPasteHookValueType, ISheetClipboardHook, ISheetDiscreteRangeLocation, } from './services/clipboard/type';
|
|
97
97
|
export { getRepeatRange, mergeSetRangeValues } from './services/clipboard/utils';
|
|
@@ -105,8 +105,17 @@ declare const locale: {
|
|
|
105
105
|
cancel: string;
|
|
106
106
|
overlappingError: string;
|
|
107
107
|
partiallyError: string;
|
|
108
|
+
confirm: {
|
|
109
|
+
warning: string;
|
|
110
|
+
dismantleMergeCellWarning: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
filter: {
|
|
114
|
+
confirm: {
|
|
115
|
+
error: string;
|
|
116
|
+
notAllowedToInsertRange: string;
|
|
117
|
+
};
|
|
108
118
|
};
|
|
109
|
-
filter: {};
|
|
110
119
|
textWrap: {
|
|
111
120
|
overflow: string;
|
|
112
121
|
wrap: string;
|