@univerjs-pro/edit-history-viewer 0.12.3-experimental.20251205-71d07c3 → 0.12.3-nightly.202512060617
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/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +0 -1
- package/lib/types/controllers/version-list.controller.d.ts +2 -3
- package/lib/types/index.d.ts +0 -1
- package/lib/types/services/history-fetch.service.d.ts +1 -22
- package/lib/types/services/history-manager.service.d.ts +2 -14
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.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-TW.js +1 -1
- package/package.json +17 -17
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3c2d(_0x4a2e43,_0x5008c8){_0x4a2e43=_0x4a2e43-0xc0;const _0x13397d=_0x1339();let _0x3c2de7=_0x13397d[_0x4a2e43];return _0x3c2de7;}const _0x19badd=_0x3c2d;(function(_0x5fafa9,_0x1b1895){const _0x1a2f10=_0x3c2d,_0x8a3a34=_0x5fafa9();while(!![]){try{const _0x49fb0a=-parseInt(_0x1a2f10(0xcb))/0x1+parseInt(_0x1a2f10(0xc7))/0x2+-parseInt(_0x1a2f10(0xdd))/0x3+parseInt(_0x1a2f10(0xd8))/0x4+parseInt(_0x1a2f10(0xc6))/0x5*(-parseInt(_0x1a2f10(0xcd))/0x6)+-parseInt(_0x1a2f10(0xe0))/0x7*(parseInt(_0x1a2f10(0xd4))/0x8)+parseInt(_0x1a2f10(0xd5))/0x9;if(_0x49fb0a===_0x1b1895)break;else _0x8a3a34['push'](_0x8a3a34['shift']());}catch(_0x187b75){_0x8a3a34['push'](_0x8a3a34['shift']());}}}(_0x1339,0xbcb19));const e={'editHistory':{'panel':{'title':_0x19badd(0xca),'unknownUser':_0x19badd(0xd1),'listFetchError':_0x19badd(0xe2),'revertConfirm':_0x19badd(0xd2),'revertConfirmText':_0x19badd(0xdc),'cancel':_0x19badd(0xde),'confirm':_0x19badd(0xc8),'reverting':_0x19badd(0xd3),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x19badd(0xcc),'currentUser':_0x19badd(0xda),'revertDesc':_0x19badd(0xd6)},'info':{'loading':_0x19badd(0xce)},'header':{'back':_0x19badd(0xc1),'revert':_0x19badd(0xd6)},'action':{'insertSheet':_0x19badd(0xd0),'removeSheet':'deleted\x20worksheet','createSheet':_0x19badd(0xcf),'setFilter':_0x19badd(0xd7),'setFrozen':_0x19badd(0xc0),'editSheet':_0x19badd(0xe1),'revertSheet':_0x19badd(0xdf),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x19badd(0xdb),'setCF':_0x19badd(0xc5),'addCF':_0x19badd(0xc9),'addProtection':_0x19badd(0xc4),'addSparkline':'add\x20sparkline','insertChart':_0x19badd(0xc3),'deleteProtection':_0x19badd(0xc2),'etc':_0x19badd(0xd9)}}};function _0x1339(){const _0x383573=['Failed\x20to\x20get\x20edit\x20history\x20list','set\x20frozen','Back','delete\x20protection','inserted\x20chart','add\x20protection','set\x20conditional\x20formatting','410QFKVyW','983460nxzVFa','Confirm','add\x20conditional\x20formatting','Edit\x20History','1311415hVqVtD','Current\x20Version','40758JhJRlV','loading,\x20please\x20wait...','created\x20workbook','inserted\x20worksheet','Unknown\x20User','Restore\x20this\x20version?','Reverting,\x20please\x20wait...','2858552hUCVdG','39253185rTsjSS','Restore\x20this\x20version','set\x20filter','2299352MiKUZY',',\x20etc.','Current\x20User','set\x20data\x20validation','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','4072281swuOpb','Cancel','reverted\x20workbook','28ZWsRfJ','edited\x20worksheet'];_0x1339=function(){return _0x383573;};return _0x1339();}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x57d2e8=_0x47cb;(function(_0xb4efe5,_0x5ed0bd){const _0x39260f=_0x47cb,_0x547e54=_0xb4efe5();while(!![]){try{const _0xffa6f2=-parseInt(_0x39260f(0x12e))/0x1*(-parseInt(_0x39260f(0x13c))/0x2)+-parseInt(_0x39260f(0x128))/0x3+parseInt(_0x39260f(0x12b))/0x4+parseInt(_0x39260f(0x144))/0x5+parseInt(_0x39260f(0x129))/0x6*(parseInt(_0x39260f(0x13f))/0x7)+parseInt(_0x39260f(0x138))/0x8*(parseInt(_0x39260f(0x13b))/0x9)+parseInt(_0x39260f(0x135))/0xa*(-parseInt(_0x39260f(0x13d))/0xb);if(_0xffa6f2===_0x5ed0bd)break;else _0x547e54['push'](_0x547e54['shift']());}catch(_0x27a959){_0x547e54['push'](_0x547e54['shift']());}}}(_0x272c,0x46993));const e={'editHistory':{'panel':{'title':_0x57d2e8(0x131),'unknownUser':_0x57d2e8(0x132),'listFetchError':_0x57d2e8(0x12c),'revertConfirm':_0x57d2e8(0x121),'revertConfirmText':_0x57d2e8(0x130),'cancel':_0x57d2e8(0x127),'confirm':_0x57d2e8(0x136),'reverting':_0x57d2e8(0x124),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x57d2e8(0x12d),'currentUser':_0x57d2e8(0x122),'revertDesc':_0x57d2e8(0x12f)},'info':{'loading':_0x57d2e8(0x142)},'header':{'back':_0x57d2e8(0x134),'revert':_0x57d2e8(0x12f)},'action':{'insertSheet':_0x57d2e8(0x140),'removeSheet':_0x57d2e8(0x13a),'createSheet':_0x57d2e8(0x126),'setFilter':_0x57d2e8(0x139),'setFrozen':'set\x20frozen','editSheet':_0x57d2e8(0x123),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x57d2e8(0x141),'revertSheetSuffix':'','setDV':_0x57d2e8(0x13e),'setCF':_0x57d2e8(0x125),'addCF':_0x57d2e8(0x137),'addProtection':_0x57d2e8(0x133),'addSparkline':_0x57d2e8(0x120),'insertChart':_0x57d2e8(0x12a),'deleteProtection':'delete\x20protection','etc':_0x57d2e8(0x143)}}},t=e;function _0x47cb(_0x32f93d,_0x344156){_0x32f93d=_0x32f93d-0x120;const _0x272c95=_0x272c();let _0x47cb4e=_0x272c95[_0x32f93d];return _0x47cb4e;}export{t as default};function _0x272c(){const _0x420097=['Unknown\x20User','add\x20protection','Back','390fviMDS','Confirm','add\x20conditional\x20formatting','2020672gxJdpP','set\x20filter','deleted\x20worksheet','18NHkgrM','2bdnQrp','290807CbYfII','set\x20data\x20validation','433811IWiUED','inserted\x20worksheet','Reverted\x20from','loading,\x20please\x20wait...',',\x20etc.','1391610YyDOaI','add\x20sparkline','Restore\x20this\x20version?','Current\x20User','edited\x20worksheet','Reverting,\x20please\x20wait...','set\x20conditional\x20formatting','created\x20workbook','Cancel','1166694pSViXt','48DNCRLk','inserted\x20chart','805368RcqPQZ','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20Version','228496KjFEMw','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Edit\x20History'];_0x272c=function(){return _0x420097;};return _0x272c();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x250816=_0xd8f7;function _0x45f4(){const _0x1617bc=['390844zoyffh','تنظیم\x20منجمد','834977CAIwix','تایید','ورق\x20کاری\x20ایجاد\x20شده','373720JUoOzT','تنظیم\x20فیلتر','تنظیم\x20قالب\x20بندی\x20شرطی','1561165hZUQIa','ورق\x20کاری\x20اضافه\x20شده','408jLjXsT','افزودن\x20حفاظت','حذف\x20حفاظت','بازگردانی\x20این\x20نسخه','،\x20و\x20غیره','کاربر\x20ناشناخته','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','بازگشت','لغو','ورق\x20کاری\x20ویرایش\x20شده','8ELVsfz','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','ورق\x20کاری\x20بازگردانی\x20شده','370gwfJRs','8bCFyeK','نسخه\x20فعلی','24zUVYAk','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','4107276TDAUyU','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','176ADZKmT','ورق\x20کاری\x20حذف\x20شده','569737lkYnkt','تاریخچه\x20ویرایش','کاربر\x20فعلی','19149xoBQUH','تنظیم\x20اعتبار\x20سنجی\x20داده'];_0x45f4=function(){return _0x1617bc;};return _0x45f4();}(function(_0x26e0a6,_0x31c5a1){const _0x1ae915=_0xd8f7,_0x56244c=_0x26e0a6();while(!![]){try{const _0x5efe79=-parseInt(_0x1ae915(0x1bc))/0x1+parseInt(_0x1ae915(0x1ad))/0x2*(parseInt(_0x1ae915(0x1ba))/0x3)+-parseInt(_0x1ae915(0x1aa))/0x4*(-parseInt(_0x1ae915(0x1c4))/0x5)+-parseInt(_0x1ae915(0x1b0))/0x6*(-parseInt(_0x1ae915(0x1b7))/0x7)+-parseInt(_0x1ae915(0x1ae))/0x8*(-parseInt(_0x1ae915(0x1b2))/0x9)+-parseInt(_0x1ae915(0x1c1))/0xa*(-parseInt(_0x1ae915(0x1b5))/0xb)+parseInt(_0x1ae915(0x1c6))/0xc*(-parseInt(_0x1ae915(0x1be))/0xd);if(_0x5efe79===_0x31c5a1)break;else _0x56244c['push'](_0x56244c['shift']());}catch(_0x4e2083){_0x56244c['push'](_0x56244c['shift']());}}}(_0x45f4,0x9510b));function _0xd8f7(_0x5c4021,_0x4d8886){_0x5c4021=_0x5c4021-0x1a1;const _0x45f446=_0x45f4();let _0xd8f7bb=_0x45f446[_0x5c4021];return _0xd8f7bb;}const e={'editHistory':{'panel':{'title':_0x250816(0x1b8),'unknownUser':_0x250816(0x1a5),'listFetchError':_0x250816(0x1b3),'revertConfirm':_0x250816(0x1b4),'revertConfirmText':_0x250816(0x1a6),'cancel':_0x250816(0x1a8),'confirm':_0x250816(0x1bf),'reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x250816(0x1b1),'currentVersion':_0x250816(0x1af),'currentUser':_0x250816(0x1b9),'revertDesc':_0x250816(0x1a3)},'info':{'loading':_0x250816(0x1ab)},'header':{'back':_0x250816(0x1a7),'revert':_0x250816(0x1a3)},'action':{'insertSheet':_0x250816(0x1c5),'removeSheet':_0x250816(0x1b6),'createSheet':_0x250816(0x1c0),'setFilter':_0x250816(0x1c2),'setFrozen':_0x250816(0x1bd),'editSheet':_0x250816(0x1a9),'revertSheet':_0x250816(0x1ac),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':_0x250816(0x1bb),'setCF':_0x250816(0x1c3),'addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x250816(0x1a1),'addSparkline':'افزودن\x20نمودار\x20کوچک','insertChart':'نمودار\x20وارد\x20شده','deleteProtection':_0x250816(0x1a2),'etc':_0x250816(0x1a4)}}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5469ea=_0x1ff8;(function(_0x54c724,_0x38a514){const _0xf8c94a=_0x1ff8,_0x4ee7a5=_0x54c724();while(!![]){try{const _0x4d0252=parseInt(_0xf8c94a(0x124))/0x1+parseInt(_0xf8c94a(0x111))/0x2+-parseInt(_0xf8c94a(0x122))/0x3*(parseInt(_0xf8c94a(0x121))/0x4)+parseInt(_0xf8c94a(0x114))/0x5*(-parseInt(_0xf8c94a(0x12a))/0x6)+parseInt(_0xf8c94a(0x10c))/0x7*(parseInt(_0xf8c94a(0x11c))/0x8)+-parseInt(_0xf8c94a(0x125))/0x9*(-parseInt(_0xf8c94a(0x10b))/0xa)+parseInt(_0xf8c94a(0x10e))/0xb;if(_0x4d0252===_0x38a514)break;else _0x4ee7a5['push'](_0x4ee7a5['shift']());}catch(_0x1da4a0){_0x4ee7a5['push'](_0x4ee7a5['shift']());}}}(_0x5b52,0xc41ac));function _0x1ff8(_0x417fd3,_0x5911c9){_0x417fd3=_0x417fd3-0x109;const _0x5b5242=_0x5b52();let _0x1ff855=_0x5b5242[_0x417fd3];return _0x1ff855;}const e={'editHistory':{'panel':{'title':_0x5469ea(0x10a),'unknownUser':_0x5469ea(0x112),'listFetchError':_0x5469ea(0x109),'revertConfirm':_0x5469ea(0x11e),'revertConfirmText':_0x5469ea(0x11a),'cancel':_0x5469ea(0x120),'confirm':'Confirm','reverting':_0x5469ea(0x115),'revertFailed':_0x5469ea(0x123),'currentVersion':_0x5469ea(0x129),'currentUser':_0x5469ea(0x10d),'revertDesc':_0x5469ea(0x10f)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x5469ea(0x110),'removeSheet':_0x5469ea(0x127),'createSheet':_0x5469ea(0x11b),'setFilter':_0x5469ea(0x116),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':_0x5469ea(0x128),'revertSheetPrefix':_0x5469ea(0x12b),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x5469ea(0x119),'addCF':_0x5469ea(0x118),'addProtection':_0x5469ea(0x11d),'addSparkline':_0x5469ea(0x11f),'insertChart':_0x5469ea(0x117),'deleteProtection':_0x5469ea(0x126),'etc':_0x5469ea(0x113)}}},t=e;export{t as default};function _0x5b52(){const _0x4ff1b7=['add\x20protection','Restore\x20this\x20version?','add\x20sparkline','Cancel','638704zApYVw','24KdPmSv','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','345401XeXbgW','182538sOdYmH','delete\x20protection','deleted\x20worksheet','reverted\x20workbook','Current\x20Version','195798OiphOe','Reverted\x20from','Failed\x20to\x20get\x20edit\x20history\x20list','Edit\x20History','310bJFeAe','231049iYtIiS','Current\x20User','2108645REzBEm','Restore\x20this\x20version','inserted\x20worksheet','1666932IwuKCP','Unknown\x20User',',\x20etc.','205FjICvo','Reverting,\x20please\x20wait...','set\x20filter','inserted\x20chart','add\x20conditional\x20formatting','set\x20conditional\x20formatting','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','created\x20workbook','344eOSYpv'];_0x5b52=function(){return _0x4ff1b7;};return _0x5b52();}
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3759(_0x30e2a6,_0x2ba7d9){_0x30e2a6=_0x30e2a6-0x15d;const _0x23cfa8=_0x23cf();let _0x3759ad=_0x23cfa8[_0x30e2a6];return _0x3759ad;}const _0x5a8c19=_0x3759;(function(_0x1bc10c,_0x16f2fa){const _0x25e618=_0x3759,_0x55893b=_0x1bc10c();while(!![]){try{const _0x5bf2aa=parseInt(_0x25e618(0x162))/0x1*(parseInt(_0x25e618(0x178))/0x2)+parseInt(_0x25e618(0x160))/0x3+-parseInt(_0x25e618(0x173))/0x4*(parseInt(_0x25e618(0x16c))/0x5)+parseInt(_0x25e618(0x17c))/0x6*(parseInt(_0x25e618(0x176))/0x7)+-parseInt(_0x25e618(0x179))/0x8+-parseInt(_0x25e618(0x172))/0x9+parseInt(_0x25e618(0x15d))/0xa*(parseInt(_0x25e618(0x166))/0xb);if(_0x5bf2aa===_0x16f2fa)break;else _0x55893b['push'](_0x55893b['shift']());}catch(_0x51e58c){_0x55893b['push'](_0x55893b['shift']());}}}(_0x23cf,0x6677e));function _0x23cf(){const _0x2045a9=['保護を追加','読み込み中です。お待ちください...','ブックを作成','22zHWzjX','このバージョンを復元しますか?','チャートを挿入','データの入力規則を設定','条件付き書式を設定','保護を削除','398220hrNOHk','このドキュメントは選択したバージョンに戻ります','現在のユーザー','不明なユーザー','不明なエラーが発生しました。ページを更新して復元結果を確認してください','ウィンドウ枠を固定','5336775gTlfGX','16uFEWNU','ブックを復元','編集履歴','1505357LnqPQv','編集履歴リストの取得に失敗しました','169042SVEDfg','2111344cQPZCj','復元中です。お待ちください...','現在のバージョン','6zqDjaA','ワークシートを編集','このバージョンを復元','スパークラインを追加','2049330WEKSpx','復元元:','条件付き書式を追加','1135845qbwGIi','フィルターを設定','7NdJkhg'];_0x23cf=function(){return _0x2045a9;};return _0x23cf();}const e={'editHistory':{'panel':{'title':_0x5a8c19(0x175),'unknownUser':_0x5a8c19(0x16f),'listFetchError':_0x5a8c19(0x177),'revertConfirm':_0x5a8c19(0x167),'revertConfirmText':_0x5a8c19(0x16d),'cancel':'キャンセル','confirm':'確認','reverting':_0x5a8c19(0x17a),'revertFailed':_0x5a8c19(0x170),'currentVersion':_0x5a8c19(0x17b),'currentUser':_0x5a8c19(0x16e),'revertDesc':_0x5a8c19(0x17e)},'info':{'loading':_0x5a8c19(0x164)},'header':{'back':'戻る','revert':_0x5a8c19(0x17e)},'action':{'insertSheet':'ワークシートを挿入','removeSheet':'ワークシートを削除','createSheet':_0x5a8c19(0x165),'setFilter':_0x5a8c19(0x161),'setFrozen':_0x5a8c19(0x171),'editSheet':_0x5a8c19(0x17d),'revertSheet':_0x5a8c19(0x174),'revertSheetPrefix':_0x5a8c19(0x15e),'revertSheetSuffix':'','setDV':_0x5a8c19(0x169),'setCF':_0x5a8c19(0x16a),'addCF':_0x5a8c19(0x15f),'addProtection':_0x5a8c19(0x163),'addSparkline':_0x5a8c19(0x17f),'insertChart':_0x5a8c19(0x168),'deleteProtection':_0x5a8c19(0x16b),'etc':'など'}}};export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xd0fb(_0x199947,_0x178d0e){_0x199947=_0x199947-0xac;const _0x5bc5ca=_0x5bc5();let _0xd0fb6c=_0x5bc5ca[_0x199947];return _0xd0fb6c;}function _0x5bc5(){const _0x24323c=['이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','2958352lFEMth','차트\x20삽입','워크시트\x20편집','조건부\x20서식\x20추가','1625302xxddHL','20TZuVkX','틀\x20고정\x20설정','183177iekYDK','스파크라인\x20추가','2MlmrWs','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','2439LBludF','21673sWbxun','12qKygYV','편집\x20기록','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','통합\x20문서\x20만들기','이\x20버전을\x20복원하시겠습니까?','워크시트\x20삽입','12aBdiIw','10610dztYbd','16339378PWhQFd','복원\x20원본:','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','현재\x20사용자','통합\x20문서\x20복원','이\x20버전\x20복원','현재\x20버전','316428KiooJK','보호\x20추가'];_0x5bc5=function(){return _0x24323c;};return _0x5bc5();}const _0x25d9fa=_0xd0fb;(function(_0x2f872c,_0x17d742){const _0x445bae=_0xd0fb,_0x24c507=_0x2f872c();while(!![]){try{const _0x4aee7d=parseInt(_0x445bae(0xc0))/0x1*(parseInt(_0x445bae(0xbd))/0x2)+parseInt(_0x445bae(0xbb))/0x3*(-parseInt(_0x445bae(0xc1))/0x4)+-parseInt(_0x445bae(0xb9))/0x5*(parseInt(_0x445bae(0xb1))/0x6)+-parseInt(_0x445bae(0xb8))/0x7+-parseInt(_0x445bae(0xb4))/0x8+-parseInt(_0x445bae(0xbf))/0x9*(parseInt(_0x445bae(0xc8))/0xa)+-parseInt(_0x445bae(0xc9))/0xb*(-parseInt(_0x445bae(0xc7))/0xc);if(_0x4aee7d===_0x17d742)break;else _0x24c507['push'](_0x24c507['shift']());}catch(_0x5f2e42){_0x24c507['push'](_0x24c507['shift']());}}}(_0x5bc5,0x368c7));const e={'editHistory':{'panel':{'title':_0x25d9fa(0xc2),'unknownUser':'알\x20수\x20없는\x20사용자','listFetchError':_0x25d9fa(0xc3),'revertConfirm':_0x25d9fa(0xc5),'revertConfirmText':_0x25d9fa(0xb3),'cancel':'취소','confirm':'확인','reverting':'복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','revertFailed':_0x25d9fa(0xac),'currentVersion':_0x25d9fa(0xb0),'currentUser':_0x25d9fa(0xad),'revertDesc':'이\x20버전\x20복원'},'info':{'loading':_0x25d9fa(0xbe)},'header':{'back':'뒤로','revert':_0x25d9fa(0xaf)},'action':{'insertSheet':_0x25d9fa(0xc6),'removeSheet':'워크시트\x20삭제','createSheet':_0x25d9fa(0xc4),'setFilter':'필터\x20설정','setFrozen':_0x25d9fa(0xba),'editSheet':_0x25d9fa(0xb6),'revertSheet':_0x25d9fa(0xae),'revertSheetPrefix':_0x25d9fa(0xca),'revertSheetSuffix':'','setDV':'데이터\x20유효성\x20검사\x20설정','setCF':'조건부\x20서식\x20설정','addCF':_0x25d9fa(0xb7),'addProtection':_0x25d9fa(0xb2),'addSparkline':_0x25d9fa(0xbc),'insertChart':_0x25d9fa(0xb5),'deleteProtection':'보호\x20삭제','etc':'등'}}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x23d7(){const _0x50e199=['add\x20conditional\x20formatting','Confirm','1872878GNCZuO','set\x20filter','32199075ScYXxJ',',\x20etc.','1258455WRVhmk','inserted\x20chart','set\x20frozen','Restore\x20this\x20version?','Unknown\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','24ztAFfi','693548PjSDgD','371844ubeCJh','Back','reverted\x20workbook','inserted\x20worksheet','220836LBDVEw','deleted\x20worksheet','Current\x20User','Reverted\x20from','30MxEEOo','Current\x20Version','edited\x20worksheet','3244056nZHJkP','Failed\x20to\x20get\x20edit\x20history\x20list','Reverting,\x20please\x20wait...','add\x20sparkline','created\x20workbook'];_0x23d7=function(){return _0x50e199;};return _0x23d7();}const _0x50c1f9=_0x420d;(function(_0x1859f0,_0x3b6407){const _0x12e441=_0x420d,_0x209c20=_0x1859f0();while(!![]){try{const _0x22b09e=-parseInt(_0x12e441(0x19c))/0x1+parseInt(_0x12e441(0x1a1))/0x2+-parseInt(_0x12e441(0x1b3))/0x3+-parseInt(_0x12e441(0x1a8))/0x4+-parseInt(_0x12e441(0x1a5))/0x5*(parseInt(_0x12e441(0x19d))/0x6)+-parseInt(_0x12e441(0x1af))/0x7*(parseInt(_0x12e441(0x19b))/0x8)+parseInt(_0x12e441(0x1b1))/0x9;if(_0x22b09e===_0x3b6407)break;else _0x209c20['push'](_0x209c20['shift']());}catch(_0x588103){_0x209c20['push'](_0x209c20['shift']());}}}(_0x23d7,0x8fee4));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x50c1f9(0x199),'listFetchError':_0x50c1f9(0x1a9),'revertConfirm':_0x50c1f9(0x198),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x50c1f9(0x1ae),'reverting':_0x50c1f9(0x1aa),'revertFailed':_0x50c1f9(0x19a),'currentVersion':_0x50c1f9(0x1a6),'currentUser':_0x50c1f9(0x1a3),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x50c1f9(0x19e),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x50c1f9(0x1a0),'removeSheet':_0x50c1f9(0x1a2),'createSheet':_0x50c1f9(0x1ac),'setFilter':_0x50c1f9(0x1b0),'setFrozen':_0x50c1f9(0x1b5),'editSheet':_0x50c1f9(0x1a7),'revertSheet':_0x50c1f9(0x19f),'revertSheetPrefix':_0x50c1f9(0x1a4),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x50c1f9(0x1ad),'addProtection':'add\x20protection','addSparkline':_0x50c1f9(0x1ab),'insertChart':_0x50c1f9(0x1b4),'deleteProtection':'delete\x20protection','etc':_0x50c1f9(0x1b2)}}},t=e;function _0x420d(_0x2325de,_0x4ceceb){_0x2325de=_0x2325de-0x198;const _0x23d7b0=_0x23d7();let _0x420d32=_0x23d7b0[_0x2325de];return _0x420d32;}export{t as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1660(){const _0x2c64f9=['Hủy','2682BFdUAs',',\x20v.v.','Lịch\x20sử\x20chỉnh\x20sửa','đang\x20tải,\x20vui\x20lòng\x20đợi...','xóa\x20bảo\x20vệ','2958daiZju','Xác\x20nhận','14MtzHtn','Phiên\x20bản\x20hiện\x20tại','thêm\x20bảo\x20vệ','265596fdWnmq','2336HBMgEr','280196ASyxUy','đã\x20tạo\x20sổ\x20làm\x20việc','Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','5wkgjnC','814wvObpi','668770BDsUJh','36UsEtGB','Khôi\x20phục\x20phiên\x20bản\x20này?','Khôi\x20phục\x20phiên\x20bản\x20này','427031nCakQG','đã\x20chèn\x20trang\x20tính','đã\x20chỉnh\x20sửa\x20trang\x20tính','Người\x20dùng\x20không\x20xác\x20định','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','thêm\x20định\x20dạng\x20có\x20điều\x20kiện','Đã\x20khôi\x20phục\x20từ','505XGQLav','đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','thêm\x20biểu\x20đồ\x20nhỏ','đã\x20chèn\x20biểu\x20đồ','Quay\x20lại','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...'];_0x1660=function(){return _0x2c64f9;};return _0x1660();}const _0x8406e0=_0x231b;(function(_0x557290,_0x1233cc){const _0x1209aa=_0x231b,_0x11a497=_0x557290();while(!![]){try{const _0x486467=-parseInt(_0x1209aa(0xff))/0x1*(-parseInt(_0x1209aa(0xf3))/0x2)+-parseInt(_0x1209aa(0xed))/0x3+parseInt(_0x1209aa(0xef))/0x4*(-parseInt(_0x1209aa(0xf2))/0x5)+-parseInt(_0x1209aa(0xe8))/0x6*(parseInt(_0x1209aa(0xea))/0x7)+parseInt(_0x1209aa(0xee))/0x8*(parseInt(_0x1209aa(0x106))/0x9)+-parseInt(_0x1209aa(0xf4))/0xa+-parseInt(_0x1209aa(0xf8))/0xb*(-parseInt(_0x1209aa(0xf5))/0xc);if(_0x486467===_0x1233cc)break;else _0x11a497['push'](_0x11a497['shift']());}catch(_0x52f9d0){_0x11a497['push'](_0x11a497['shift']());}}}(_0x1660,0x2c92a));const n={'editHistory':{'panel':{'title':_0x8406e0(0xe5),'unknownUser':_0x8406e0(0xfb),'listFetchError':'Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','revertConfirm':_0x8406e0(0xf6),'revertConfirmText':_0x8406e0(0xf1),'cancel':_0x8406e0(0x105),'confirm':_0x8406e0(0xe9),'reverting':_0x8406e0(0x104),'revertFailed':_0x8406e0(0xfc),'currentVersion':_0x8406e0(0xeb),'currentUser':'Người\x20dùng\x20hiện\x20tại','revertDesc':_0x8406e0(0xf7)},'info':{'loading':_0x8406e0(0xe6)},'header':{'back':_0x8406e0(0x103),'revert':'Khôi\x20phục\x20phiên\x20bản\x20này'},'action':{'insertSheet':_0x8406e0(0xf9),'removeSheet':'đã\x20xóa\x20trang\x20tính','createSheet':_0x8406e0(0xf0),'setFilter':'đã\x20đặt\x20bộ\x20lọc','setFrozen':'đã\x20đặt\x20cố\x20định','editSheet':_0x8406e0(0xfa),'revertSheet':'đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','revertSheetPrefix':_0x8406e0(0xfe),'revertSheetSuffix':'','setDV':_0x8406e0(0x100),'setCF':'đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','addCF':_0x8406e0(0xfd),'addProtection':_0x8406e0(0xec),'addSparkline':_0x8406e0(0x101),'insertChart':_0x8406e0(0x102),'deleteProtection':_0x8406e0(0xe7),'etc':_0x8406e0(0x107)}}};function _0x231b(_0x1b2947,_0x59118d){_0x1b2947=_0x1b2947-0xe5;const _0x166036=_0x1660();let _0x231bd6=_0x166036[_0x1b2947];return _0x231bd6;}export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x56c852=_0x2b6d;(function(_0x25b534,_0x5c8fc7){const _0x4676c9=_0x2b6d,_0x51a6e9=_0x25b534();while(!![]){try{const _0x484c7d=parseInt(_0x4676c9(0x1ac))/0x1*(-parseInt(_0x4676c9(0x1b3))/0x2)+parseInt(_0x4676c9(0x1b5))/0x3+-parseInt(_0x4676c9(0x1ae))/0x4+-parseInt(_0x4676c9(0x1c5))/0x5*(-parseInt(_0x4676c9(0x1aa))/0x6)+-parseInt(_0x4676c9(0x1be))/0x7+parseInt(_0x4676c9(0x1bf))/0x8*(-parseInt(_0x4676c9(0x1b7))/0x9)+parseInt(_0x4676c9(0x1c3))/0xa;if(_0x484c7d===_0x5c8fc7)break;else _0x51a6e9['push'](_0x51a6e9['shift']());}catch(_0x5b8cf1){_0x51a6e9['push'](_0x51a6e9['shift']());}}}(_0xea89,0xaf259));const e={'editHistory':{'panel':{'title':_0x56c852(0x1c8),'unknownUser':_0x56c852(0x1b0),'listFetchError':_0x56c852(0x1b4),'revertConfirm':_0x56c852(0x1a9),'revertConfirmText':_0x56c852(0x1b9),'cancel':'取消','confirm':'确认','reverting':_0x56c852(0x1bd),'revertFailed':_0x56c852(0x1af),'currentVersion':_0x56c852(0x1bb),'currentUser':_0x56c852(0x1c0),'revertDesc':_0x56c852(0x1c6)},'info':{'loading':_0x56c852(0x1b8)},'header':{'back':'返回','revert':_0x56c852(0x1c6)},'action':{'insertSheet':_0x56c852(0x1b6),'removeSheet':'删除了工作表','createSheet':_0x56c852(0x1c1),'setFilter':_0x56c852(0x1bc),'setFrozen':_0x56c852(0x1c9),'editSheet':'编辑了工作表','revertSheet':_0x56c852(0x1c7),'revertSheetPrefix':_0x56c852(0x1c4),'revertSheetSuffix':_0x56c852(0x1ab),'setDV':_0x56c852(0x1b1),'setCF':_0x56c852(0x1ad),'addCF':_0x56c852(0x1b2),'addProtection':_0x56c852(0x1c2),'addSparkline':'添加了迷你图','insertChart':_0x56c852(0x1ba),'deleteProtection':_0x56c852(0x1ca),'etc':',等'}}};export{e as default};function _0x2b6d(_0x5e5d39,_0x26574e){_0x5e5d39=_0x5e5d39-0x1a9;const _0xea89d6=_0xea89();let _0x2b6d58=_0xea89d6[_0x5e5d39];return _0x2b6d58;}function _0xea89(){const _0x51a329=['设置了筛选','正在还原,请稍等...','7194334iawPDu','7672MpCIZO','当前用户','创建了工作表','添加了保护范围','24449410zCZgzV','还原了','61800prOAak','还原到此版本','还原了版本','历史记录','冻结了工作表','移除了保护范围','还原到此版本?','486hCXjdh','的版本','474111cjrEMi','设置了条件格式','3078876efNcDl','未知错误,请刷新页面查看还原结果','未知用户','设置了数据验证','添加了条件格式','6bqnbrF','获取编辑历史记录列表失败','2638527rdixfW','插入了工作表','3645kGPGiP','加载中,请稍等...','该文档将会被还原到选中版本','插入了图表','当前版本'];_0xea89=function(){return _0x51a329;};return _0xea89();}
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x39ffc8=_0x45bc;(function(_0x49e4b6,_0x83ca5d){const _0x520450=_0x45bc,_0x2f9b1e=_0x49e4b6();while(!![]){try{const _0x141cf5=-parseInt(_0x520450(0xed))/0x1*(parseInt(_0x520450(0xeb))/0x2)+parseInt(_0x520450(0xdb))/0x3*(parseInt(_0x520450(0xe3))/0x4)+-parseInt(_0x520450(0xe1))/0x5*(parseInt(_0x520450(0xf3))/0x6)+parseInt(_0x520450(0xda))/0x7+parseInt(_0x520450(0xe2))/0x8+-parseInt(_0x520450(0xfa))/0x9*(parseInt(_0x520450(0xf7))/0xa)+parseInt(_0x520450(0xe6))/0xb*(parseInt(_0x520450(0xfb))/0xc);if(_0x141cf5===_0x83ca5d)break;else _0x2f9b1e['push'](_0x2f9b1e['shift']());}catch(_0x59cdb0){_0x2f9b1e['push'](_0x2f9b1e['shift']());}}}(_0x16ed,0x43ab9));function _0x45bc(_0x647d3f,_0x2d129a){_0x647d3f=_0x647d3f-0xd7;const _0x16ed10=_0x16ed();let _0x45bc10=_0x16ed10[_0x647d3f];return _0x45bc10;}function _0x16ed(){const _0x3f3104=['Confirm','set\x20data\x20validation','95xDlYAN','1141872THHhyg','204324RUMAHd','delete\x20protection','Restore\x20this\x20version','94523UfBnMb','inserted\x20chart','add\x20sparkline','Reverting,\x20please\x20wait...','set\x20conditional\x20formatting','22hqhNvh','reverted\x20workbook','31009bTnbgo','Back','inserted\x20worksheet','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','loading,\x20please\x20wait...','created\x20workbook','114870yhVUCs','add\x20conditional\x20formatting','Failed\x20to\x20get\x20edit\x20history\x20list','deleted\x20worksheet','101960RNIbNo','Cancel','Edit\x20History','198PRECOT','1092AdThAa',',\x20etc.','Restore\x20this\x20version?','set\x20frozen','Reverted\x20from','Unknown\x20User','898821lcPCvP','9kMLsmN','edited\x20worksheet','add\x20protection','set\x20filter'];_0x16ed=function(){return _0x3f3104;};return _0x16ed();}const e={'editHistory':{'panel':{'title':_0x39ffc8(0xf9),'unknownUser':_0x39ffc8(0xd9),'listFetchError':_0x39ffc8(0xf5),'revertConfirm':_0x39ffc8(0xfd),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x39ffc8(0xf8),'confirm':_0x39ffc8(0xdf),'reverting':_0x39ffc8(0xe9),'revertFailed':_0x39ffc8(0xf0),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x39ffc8(0xf1)},'header':{'back':_0x39ffc8(0xee),'revert':_0x39ffc8(0xe5)},'action':{'insertSheet':_0x39ffc8(0xef),'removeSheet':_0x39ffc8(0xf6),'createSheet':_0x39ffc8(0xf2),'setFilter':_0x39ffc8(0xde),'setFrozen':_0x39ffc8(0xd7),'editSheet':_0x39ffc8(0xdc),'revertSheet':_0x39ffc8(0xec),'revertSheetPrefix':_0x39ffc8(0xd8),'revertSheetSuffix':'','setDV':_0x39ffc8(0xe0),'setCF':_0x39ffc8(0xea),'addCF':_0x39ffc8(0xf4),'addProtection':_0x39ffc8(0xdd),'addSparkline':_0x39ffc8(0xe8),'insertChart':_0x39ffc8(0xe7),'deleteProtection':_0x39ffc8(0xe4),'etc':_0x39ffc8(0xfc)}}},t=e;export{t as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Disposable,
|
|
1
|
+
import { Disposable, LocaleService } from '@univerjs/core';
|
|
2
2
|
import { ComponentManager, ISidebarService } from '@univerjs/ui';
|
|
3
3
|
import { HistoryManagerService } from '../services/history-manager.service';
|
|
4
4
|
export declare class VersionListController extends Disposable {
|
|
@@ -6,9 +6,8 @@ export declare class VersionListController extends Disposable {
|
|
|
6
6
|
private readonly _componentManager;
|
|
7
7
|
private readonly _localeService;
|
|
8
8
|
private readonly _historyManagerService;
|
|
9
|
-
private readonly _configService;
|
|
10
9
|
private _sidebarDisposable;
|
|
11
|
-
constructor(_sidebarService: ISidebarService, _componentManager: ComponentManager, _localeService: LocaleService, _historyManagerService: HistoryManagerService
|
|
10
|
+
constructor(_sidebarService: ISidebarService, _componentManager: ComponentManager, _localeService: LocaleService, _historyManagerService: HistoryManagerService);
|
|
12
11
|
private _init;
|
|
13
12
|
private _openPanel;
|
|
14
13
|
private _initPanel;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './global.css';
|
|
2
2
|
export type { IUniverEditHistoryViewerConfig } from './controllers/config.schema';
|
|
3
3
|
export { UniverEditHistoryViewerPlugin } from './plugin';
|
|
4
|
-
export { HistoryOrigin, type IHistoryCreator } from './services/history-fetch.service';
|
|
5
4
|
export { HistoryManagerService, HistoryModeStatus } from './services/history-manager.service';
|
|
@@ -13,7 +13,6 @@ export interface IHistoryVersion {
|
|
|
13
13
|
recoverTime?: number;
|
|
14
14
|
commands: string[];
|
|
15
15
|
isAnonymous: boolean;
|
|
16
|
-
additionalFields?: string;
|
|
17
16
|
}
|
|
18
17
|
export interface IServiceVersionsData {
|
|
19
18
|
hasMore: boolean;
|
|
@@ -32,7 +31,6 @@ export interface IVersionItem {
|
|
|
32
31
|
startRevision: number;
|
|
33
32
|
endRevision: number;
|
|
34
33
|
recoverTime?: string;
|
|
35
|
-
additionalFields?: string;
|
|
36
34
|
}
|
|
37
35
|
export interface IUser {
|
|
38
36
|
userID: string;
|
|
@@ -51,20 +49,6 @@ export interface IChangeset {
|
|
|
51
49
|
mutations: any[];
|
|
52
50
|
memberID: string;
|
|
53
51
|
}
|
|
54
|
-
/**
|
|
55
|
-
* @description The origin of the history
|
|
56
|
-
*/
|
|
57
|
-
export declare enum HistoryOrigin {
|
|
58
|
-
Unspecified = 0,
|
|
59
|
-
User = 1,
|
|
60
|
-
Character = 2
|
|
61
|
-
}
|
|
62
|
-
export interface IHistoryCreator {
|
|
63
|
-
userId: string;
|
|
64
|
-
name: string;
|
|
65
|
-
avatar: string;
|
|
66
|
-
origins: HistoryOrigin[];
|
|
67
|
-
}
|
|
68
52
|
export declare class HistoryFetchService extends Disposable {
|
|
69
53
|
private readonly _snapshotServerService;
|
|
70
54
|
private readonly _univerInstanceService;
|
|
@@ -76,12 +60,7 @@ export declare class HistoryFetchService extends Disposable {
|
|
|
76
60
|
private _workbookDataCache;
|
|
77
61
|
constructor(_snapshotServerService: ISnapshotServerService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _configService: IConfigService, _httpService: HTTPService, _compressMutationService: CompressMutationService, _sheetPermissionInitController: SheetPermissionInitController);
|
|
78
62
|
dispose(): void;
|
|
79
|
-
|
|
80
|
-
getVersions(unitID: string, params?: {
|
|
81
|
-
userIds?: string[];
|
|
82
|
-
lastLabel?: string;
|
|
83
|
-
origin?: HistoryOrigin;
|
|
84
|
-
}): Promise<Nullable<{
|
|
63
|
+
getVersions(unitID: string, lastLabel?: string): Promise<Nullable<{
|
|
85
64
|
hasMore: boolean;
|
|
86
65
|
lastLabel: string;
|
|
87
66
|
versions: IHistoryVersion[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IHistoryVersion, IUser, HistoryFetchService } from './history-fetch.service';
|
|
2
2
|
import { Disposable, LocaleService } from '@univerjs/core';
|
|
3
3
|
import { IConfirmService, IMessageService } from '@univerjs/ui';
|
|
4
4
|
export declare enum HistoryModeStatus {
|
|
@@ -27,12 +27,7 @@ export declare class HistoryManagerService extends Disposable {
|
|
|
27
27
|
readonly revertRevision$: import('rxjs').Observable<number>;
|
|
28
28
|
private _unitId$;
|
|
29
29
|
readonly unitId$: import('rxjs').Observable<string | null>;
|
|
30
|
-
private _fetching
|
|
31
|
-
readonly fetching$: import('rxjs').Observable<boolean>;
|
|
32
|
-
private _creators$;
|
|
33
|
-
readonly creators$: import('rxjs').Observable<IHistoryCreator[]>;
|
|
34
|
-
private _setFetching;
|
|
35
|
-
get fetching(): boolean;
|
|
30
|
+
private _fetching;
|
|
36
31
|
private _loadingState$;
|
|
37
32
|
readonly loadingState$: import('rxjs').Observable<LoadingState>;
|
|
38
33
|
private _lastLabel;
|
|
@@ -42,20 +37,13 @@ export declare class HistoryManagerService extends Disposable {
|
|
|
42
37
|
private _maskContainer;
|
|
43
38
|
private _maskElement;
|
|
44
39
|
private _canRevert;
|
|
45
|
-
private _loadParams;
|
|
46
40
|
constructor(_messageService: IMessageService, _confirmService: IConfirmService, _localeService: LocaleService, _historyFetchService: HistoryFetchService);
|
|
47
41
|
triggerLoadVersions(unitId: string, containerId: string, canRevert: boolean): Promise<void>;
|
|
48
|
-
loadInitialVersions(unitId: string, params?: {
|
|
49
|
-
userIds?: string[];
|
|
50
|
-
origin?: HistoryOrigin;
|
|
51
|
-
}): Promise<void>;
|
|
52
42
|
loadMoreVersions(): Promise<boolean>;
|
|
53
|
-
loadHistoryCreatorList(): Promise<void>;
|
|
54
43
|
triggerLoadSheet(versionId: string): Promise<void>;
|
|
55
44
|
triggerRevert(id?: string): Promise<void>;
|
|
56
45
|
private _updateVersions;
|
|
57
46
|
getCurrentVersion(): IHistoryVersion | undefined;
|
|
58
|
-
private _setVersions;
|
|
59
47
|
getVersion(id: string): IHistoryVersion | undefined;
|
|
60
48
|
getMember(id: string): IUser | undefined;
|
|
61
49
|
private _createMask;
|