@univerjs-pro/edit-history-viewer 0.12.4 → 0.13.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.
Files changed (55) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/controllers/config.schema.d.ts +1 -0
  38. package/lib/types/controllers/version-list.controller.d.ts +3 -2
  39. package/lib/types/index.d.ts +1 -0
  40. package/lib/types/services/history-fetch.service.d.ts +22 -1
  41. package/lib/types/services/history-manager.service.d.ts +14 -2
  42. package/lib/types/services/version-diff.service.d.ts +1 -0
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +19 -19
@@ -1 +1 @@
1
- const _0x457c52=_0x317e;function _0x55fc(){const _0x224717=['틀\x20고정\x20설정','998884TVsRjQ','워크시트\x20삭제','조건부\x20서식\x20설정','복원\x20원본:','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','워크시트\x20삽입','504598erKKzW','8Nuigvs','알\x20수\x20없는\x20사용자','1001728DinbrL','2001370LYmikc','보호\x20추가','3474432QLEPJL','현재\x20버전','데이터\x20유효성\x20검사\x20설정','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','이\x20버전\x20복원','1988450sZiWvS','필터\x20설정','스파크라인\x20추가','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','보호\x20삭제','1523466LZZxQq','차트\x20삽입','조건부\x20서식\x20추가','워크시트\x20편집','통합\x20문서\x20복원'];_0x55fc=function(){return _0x224717;};return _0x55fc();}(function(_0x29337c,_0x2bd7d2){const _0x5e87a6=_0x317e,_0x495dd9=_0x29337c();while(!![]){try{const _0x364d7d=-parseInt(_0x5e87a6(0x1f1))/0x1+parseInt(_0x5e87a6(0x1f4))/0x2+parseInt(_0x5e87a6(0x1e5))/0x3+-parseInt(_0x5e87a6(0x1eb))/0x4+parseInt(_0x5e87a6(0x1fc))/0x5+-parseInt(_0x5e87a6(0x1f7))/0x6+parseInt(_0x5e87a6(0x1f5))/0x7*(parseInt(_0x5e87a6(0x1f2))/0x8);if(_0x364d7d===_0x2bd7d2)break;else _0x495dd9['push'](_0x495dd9['shift']());}catch(_0x2aec25){_0x495dd9['push'](_0x495dd9['shift']());}}}(_0x55fc,0x579ef));function _0x317e(_0x50a22f,_0xf7f5cf){_0x50a22f=_0x50a22f-0x1e3;const _0x55fccb=_0x55fc();let _0x317eb5=_0x55fccb[_0x50a22f];return _0x317eb5;}const e={'editHistory':{'panel':{'title':'편집\x20기록','unknownUser':_0x457c52(0x1f3),'listFetchError':_0x457c52(0x1fa),'revertConfirm':'이\x20버전을\x20복원하시겠습니까?','revertConfirmText':'이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','cancel':'취소','confirm':'확인','reverting':'복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','revertFailed':_0x457c52(0x1e3),'currentVersion':_0x457c52(0x1f8),'currentUser':'현재\x20사용자','revertDesc':_0x457c52(0x1fb)},'info':{'loading':_0x457c52(0x1ef)},'header':{'back':'뒤로','revert':'이\x20버전\x20복원'},'action':{'insertSheet':_0x457c52(0x1f0),'removeSheet':_0x457c52(0x1ec),'createSheet':'통합\x20문서\x20만들기','setFilter':_0x457c52(0x1fd),'setFrozen':_0x457c52(0x1ea),'editSheet':_0x457c52(0x1e8),'revertSheet':_0x457c52(0x1e9),'revertSheetPrefix':_0x457c52(0x1ee),'revertSheetSuffix':'','setDV':_0x457c52(0x1f9),'setCF':_0x457c52(0x1ed),'addCF':_0x457c52(0x1e7),'addProtection':_0x457c52(0x1f6),'addSparkline':_0x457c52(0x1fe),'insertChart':_0x457c52(0x1e6),'deleteProtection':_0x457c52(0x1e4),'etc':'등'}}};export{e as default};
1
+ const _0x53481a=_0x1ab1;function _0x1ab1(_0x44aa64,_0x542614){_0x44aa64=_0x44aa64-0xca;const _0x4020f0=_0x4020();let _0x1ab1a1=_0x4020f0[_0x44aa64];return _0x1ab1a1;}(function(_0x2d49ce,_0x4a51b9){const _0x40c1ee=_0x1ab1,_0x50e3f4=_0x2d49ce();while(!![]){try{const _0x5e2242=parseInt(_0x40c1ee(0xe2))/0x1+parseInt(_0x40c1ee(0xcb))/0x2+-parseInt(_0x40c1ee(0xe1))/0x3+parseInt(_0x40c1ee(0xcc))/0x4+parseInt(_0x40c1ee(0xe0))/0x5*(parseInt(_0x40c1ee(0xe4))/0x6)+-parseInt(_0x40c1ee(0xd6))/0x7*(parseInt(_0x40c1ee(0xd0))/0x8)+parseInt(_0x40c1ee(0xda))/0x9*(-parseInt(_0x40c1ee(0xcd))/0xa);if(_0x5e2242===_0x4a51b9)break;else _0x50e3f4['push'](_0x50e3f4['shift']());}catch(_0xe92be6){_0x50e3f4['push'](_0x50e3f4['shift']());}}}(_0x4020,0xab3e6));const e={'editHistory':{'panel':{'title':_0x53481a(0xcf),'unknownUser':_0x53481a(0xd4),'listFetchError':_0x53481a(0xdd),'revertConfirm':_0x53481a(0xdb),'revertConfirmText':'이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','cancel':'취소','confirm':'확인','reverting':'복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','revertFailed':'알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','currentVersion':_0x53481a(0xd9),'currentUser':_0x53481a(0xd5),'revertDesc':_0x53481a(0xdf)},'info':{'loading':_0x53481a(0xdc)},'header':{'back':'뒤로','revert':_0x53481a(0xdf)},'action':{'insertSheet':_0x53481a(0xe5),'removeSheet':_0x53481a(0xe3),'createSheet':'통합\x20문서\x20만들기','setFilter':'필터\x20설정','setFrozen':_0x53481a(0xd2),'editSheet':'워크시트\x20편집','revertSheet':_0x53481a(0xd8),'revertSheetPrefix':_0x53481a(0xca),'revertSheetSuffix':'','setDV':_0x53481a(0xd7),'setCF':'조건부\x20서식\x20설정','addCF':_0x53481a(0xd1),'addProtection':_0x53481a(0xce),'addSparkline':_0x53481a(0xd3),'insertChart':_0x53481a(0xde),'deleteProtection':'보호\x20삭제','etc':'등'}}};function _0x4020(){const _0x1407aa=['편집\x20기록\x20목록을\x20가져오지\x20못했습니다','차트\x20삽입','이\x20버전\x20복원','5tqRTTS','2082117GbATxg','737914EIJiGU','워크시트\x20삭제','7385112hZqVNz','워크시트\x20삽입','복원\x20원본:','2409784aZxVGL','2636188YQnEmh','60olKBZl','보호\x20추가','편집\x20기록','8psNhuP','조건부\x20서식\x20추가','틀\x20고정\x20설정','스파크라인\x20추가','알\x20수\x20없는\x20사용자','현재\x20사용자','8933050HlTivq','데이터\x20유효성\x20검사\x20설정','통합\x20문서\x20복원','현재\x20버전','1741653XzIEpP','이\x20버전을\x20복원하시겠습니까?','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...'];_0x4020=function(){return _0x1407aa;};return _0x4020();}export{e as default};
@@ -1 +1 @@
1
- function _0x3e61(){const _0xc2c9fa=['set\x20filter','Restore\x20this\x20version?','8262600cqalWT','add\x20protection','reverted\x20workbook','2ohfdcD','9256359MciErO','Failed\x20to\x20get\x20edit\x20history\x20list','loading,\x20please\x20wait...','Cancel','3401688IaKIOY','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','1246196PxjOLI','add\x20conditional\x20formatting','116268ghmtWb','Restore\x20this\x20version','Edit\x20History',',\x20etc.','12215230QcFSLr','Back','deleted\x20worksheet','delete\x20protection','set\x20frozen','9JASXaa','Current\x20User','Reverting,\x20please\x20wait...','edited\x20worksheet','Current\x20Version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','3641160VkEhZl','Confirm','5MchDbb'];_0x3e61=function(){return _0xc2c9fa;};return _0x3e61();}const _0x1cae48=_0x3ae7;(function(_0x2812ce,_0x398d73){const _0x3f9a0a=_0x3ae7,_0x34864f=_0x2812ce();while(!![]){try{const _0x20825f=parseInt(_0x3f9a0a(0xe8))/0x1*(parseInt(_0x3f9a0a(0xef))/0x2)+parseInt(_0x3f9a0a(0xe0))/0x3+parseInt(_0x3f9a0a(0xf1))/0x4*(-parseInt(_0x3f9a0a(0xe2))/0x5)+-parseInt(_0x3f9a0a(0xed))/0x6+-parseInt(_0x3f9a0a(0xe9))/0x7+-parseInt(_0x3f9a0a(0xe5))/0x8+parseInt(_0x3f9a0a(0xda))/0x9*(parseInt(_0x3f9a0a(0xd5))/0xa);if(_0x20825f===_0x398d73)break;else _0x34864f['push'](_0x34864f['shift']());}catch(_0x4cd325){_0x34864f['push'](_0x34864f['shift']());}}}(_0x3e61,0xb2496));function _0x3ae7(_0x5be745,_0x31bf0b){_0x5be745=_0x5be745-0xd2;const _0x3e6166=_0x3e61();let _0x3ae76d=_0x3e6166[_0x5be745];return _0x3ae76d;}const e={'editHistory':{'panel':{'title':_0x1cae48(0xd3),'unknownUser':'Unknown\x20User','listFetchError':_0x1cae48(0xea),'revertConfirm':_0x1cae48(0xe4),'revertConfirmText':_0x1cae48(0xdf),'cancel':_0x1cae48(0xec),'confirm':_0x1cae48(0xe1),'reverting':_0x1cae48(0xdc),'revertFailed':_0x1cae48(0xee),'currentVersion':_0x1cae48(0xde),'currentUser':_0x1cae48(0xdb),'revertDesc':_0x1cae48(0xd2)},'info':{'loading':_0x1cae48(0xeb)},'header':{'back':_0x1cae48(0xd6),'revert':_0x1cae48(0xd2)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x1cae48(0xd7),'createSheet':'created\x20workbook','setFilter':_0x1cae48(0xe3),'setFrozen':_0x1cae48(0xd9),'editSheet':_0x1cae48(0xdd),'revertSheet':_0x1cae48(0xe7),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x1cae48(0xf0),'addProtection':_0x1cae48(0xe6),'addSparkline':'add\x20sparkline','insertChart':'inserted\x20chart','deleteProtection':_0x1cae48(0xd8),'etc':_0x1cae48(0xd4)}}},t=e;export{t as default};
1
+ const _0x1821be=_0xa5b6;function _0x3e64(){const _0x55ef9e=['7130QRQTeS','inserted\x20worksheet','add\x20conditional\x20formatting','edited\x20worksheet','set\x20filter','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','95266LkejQf','33052FLXCbr','Reverting,\x20please\x20wait...','2NeQpMO','deleted\x20worksheet','add\x20sparkline','1896NJzIUz','set\x20conditional\x20formatting','created\x20workbook','Restore\x20this\x20version','loading,\x20please\x20wait...','Edit\x20History','1632137UPVUsj','Restore\x20this\x20version?','Current\x20Version','Reverted\x20from','reverted\x20workbook','add\x20protection','Unknown\x20User','432126rapRHS','642929hmMJak','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','40kGuZFZ','set\x20data\x20validation','Confirm','inserted\x20chart','Current\x20User','set\x20frozen','Cancel','14SYyRPN','708pdpWaB','32406LnxBSc','Failed\x20to\x20get\x20edit\x20history\x20list','10tdACZi','Back','69gSERQp'];_0x3e64=function(){return _0x55ef9e;};return _0x3e64();}(function(_0x37c372,_0x1c434f){const _0x5d3635=_0xa5b6,_0xb9300a=_0x37c372();while(!![]){try{const _0x5310f1=parseInt(_0x5d3635(0xb8))/0x1*(parseInt(_0x5d3635(0xbb))/0x2)+-parseInt(_0x5d3635(0xb1))/0x3*(-parseInt(_0x5d3635(0xb9))/0x4)+parseInt(_0x5d3635(0xb2))/0x5*(parseInt(_0x5d3635(0xac))/0x6)+parseInt(_0x5d3635(0xa2))/0x7*(-parseInt(_0x5d3635(0xa4))/0x8)+-parseInt(_0x5d3635(0xa1))/0x9*(parseInt(_0x5d3635(0xaf))/0xa)+-parseInt(_0x5d3635(0xad))/0xb*(-parseInt(_0x5d3635(0xbe))/0xc)+-parseInt(_0x5d3635(0x9a))/0xd*(parseInt(_0x5d3635(0xab))/0xe);if(_0x5310f1===_0x1c434f)break;else _0xb9300a['push'](_0xb9300a['shift']());}catch(_0xd23507){_0xb9300a['push'](_0xb9300a['shift']());}}}(_0x3e64,0x45e2d));const e={'editHistory':{'panel':{'title':_0x1821be(0x99),'unknownUser':_0x1821be(0xa0),'listFetchError':_0x1821be(0xae),'revertConfirm':_0x1821be(0x9b),'revertConfirmText':_0x1821be(0xa3),'cancel':_0x1821be(0xaa),'confirm':_0x1821be(0xa6),'reverting':_0x1821be(0xba),'revertFailed':_0x1821be(0xb7),'currentVersion':_0x1821be(0x9c),'currentUser':_0x1821be(0xa8),'revertDesc':_0x1821be(0x97)},'info':{'loading':_0x1821be(0x98)},'header':{'back':_0x1821be(0xb0),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x1821be(0xb3),'removeSheet':_0x1821be(0xbc),'createSheet':_0x1821be(0xc0),'setFilter':_0x1821be(0xb6),'setFrozen':_0x1821be(0xa9),'editSheet':_0x1821be(0xb5),'revertSheet':_0x1821be(0x9e),'revertSheetPrefix':_0x1821be(0x9d),'revertSheetSuffix':'','setDV':_0x1821be(0xa5),'setCF':_0x1821be(0xbf),'addCF':_0x1821be(0xb4),'addProtection':_0x1821be(0x9f),'addSparkline':_0x1821be(0xbd),'insertChart':_0x1821be(0xa7),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;function _0xa5b6(_0x471297,_0x576de5){_0x471297=_0x471297-0x97;const _0x3e6403=_0x3e64();let _0xa5b615=_0x3e6403[_0x471297];return _0xa5b615;}export{t as default};
@@ -1 +1 @@
1
- function _0x4f8d(_0x44e7cf,_0x50057e){_0x44e7cf=_0x44e7cf-0xb2;const _0x38926c=_0x3892();let _0x4f8dbd=_0x38926c[_0x44e7cf];return _0x4f8dbd;}const _0x428c66=_0x4f8d;function _0x3892(){const _0x395e35=['Lịch\x20sử\x20chỉnh\x20sửa','2215NLaPZl','đã\x20chèn\x20biểu\x20đồ','Khôi\x20phục\x20phiên\x20bản\x20này?','Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','2569TyevLX','xóa\x20bảo\x20vệ','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','3558DhbFce','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','Người\x20dùng\x20hiện\x20tại','505351NPehIm','Phiên\x20bản\x20hiện\x20tại','Hủy','449068uWXUAJ','thêm\x20định\x20dạng\x20có\x20điều\x20kiện','Đã\x20khôi\x20phục\x20từ','đã\x20chỉnh\x20sửa\x20trang\x20tính','đã\x20đặt\x20bộ\x20lọc','7005dSzDGG','Quay\x20lại','đã\x20chèn\x20trang\x20tính','thêm\x20biểu\x20đồ\x20nhỏ','thêm\x20bảo\x20vệ','Xác\x20nhận','đã\x20xóa\x20trang\x20tính','2201436QdkeEc','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc',',\x20v.v.','Người\x20dùng\x20không\x20xác\x20định','20kaLfCo','đang\x20tải,\x20vui\x20lòng\x20đợi...','Khôi\x20phục\x20phiên\x20bản\x20này','7696DodyHK','đã\x20tạo\x20sổ\x20làm\x20việc','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','1652780UzcQnZ'];_0x3892=function(){return _0x395e35;};return _0x3892();}(function(_0x350d70,_0xbaff5f){const _0x3265f8=_0x4f8d,_0x39c52a=_0x350d70();while(!![]){try{const _0x949d10=-parseInt(_0x3265f8(0xb4))/0x1+-parseInt(_0x3265f8(0xb7))/0x2+-parseInt(_0x3265f8(0xbc))/0x3+parseInt(_0x3265f8(0xcd))/0x4+parseInt(_0x3265f8(0xcf))/0x5*(-parseInt(_0x3265f8(0xd7))/0x6)+parseInt(_0x3265f8(0xd4))/0x7*(parseInt(_0x3265f8(0xca))/0x8)+parseInt(_0x3265f8(0xc3))/0x9*(parseInt(_0x3265f8(0xc7))/0xa);if(_0x949d10===_0xbaff5f)break;else _0x39c52a['push'](_0x39c52a['shift']());}catch(_0x5eccbb){_0x39c52a['push'](_0x39c52a['shift']());}}}(_0x3892,0x3f9ba));const n={'editHistory':{'panel':{'title':_0x428c66(0xce),'unknownUser':_0x428c66(0xc6),'listFetchError':_0x428c66(0xd6),'revertConfirm':_0x428c66(0xd1),'revertConfirmText':_0x428c66(0xd2),'cancel':_0x428c66(0xb6),'confirm':_0x428c66(0xc1),'reverting':'Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','revertFailed':_0x428c66(0xcc),'currentVersion':_0x428c66(0xb5),'currentUser':_0x428c66(0xb3),'revertDesc':_0x428c66(0xc9)},'info':{'loading':_0x428c66(0xc8)},'header':{'back':_0x428c66(0xbd),'revert':_0x428c66(0xc9)},'action':{'insertSheet':_0x428c66(0xbe),'removeSheet':_0x428c66(0xc2),'createSheet':_0x428c66(0xcb),'setFilter':_0x428c66(0xbb),'setFrozen':'đã\x20đặt\x20cố\x20định','editSheet':_0x428c66(0xba),'revertSheet':_0x428c66(0xc4),'revertSheetPrefix':_0x428c66(0xb9),'revertSheetSuffix':'','setDV':_0x428c66(0xd3),'setCF':_0x428c66(0xb2),'addCF':_0x428c66(0xb8),'addProtection':_0x428c66(0xc0),'addSparkline':_0x428c66(0xbf),'insertChart':_0x428c66(0xd0),'deleteProtection':_0x428c66(0xd5),'etc':_0x428c66(0xc5)}}};export{n as default};
1
+ function _0x46fb(_0x5b9f3d,_0x5799e5){_0x5b9f3d=_0x5b9f3d-0xdf;const _0x4f3c03=_0x4f3c();let _0x46fb3f=_0x4f3c03[_0x5b9f3d];return _0x46fb3f;}const _0x2567d5=_0x46fb;(function(_0x5ebe72,_0x406d53){const _0x54398d=_0x46fb,_0x338284=_0x5ebe72();while(!![]){try{const _0x5dbc07=-parseInt(_0x54398d(0xf7))/0x1+parseInt(_0x54398d(0xfd))/0x2*(parseInt(_0x54398d(0xe2))/0x3)+parseInt(_0x54398d(0x101))/0x4*(-parseInt(_0x54398d(0xf3))/0x5)+parseInt(_0x54398d(0xe1))/0x6*(parseInt(_0x54398d(0xe8))/0x7)+-parseInt(_0x54398d(0xe3))/0x8*(parseInt(_0x54398d(0xff))/0x9)+parseInt(_0x54398d(0xef))/0xa+parseInt(_0x54398d(0xe9))/0xb*(parseInt(_0x54398d(0xea))/0xc);if(_0x5dbc07===_0x406d53)break;else _0x338284['push'](_0x338284['shift']());}catch(_0x3c0ffa){_0x338284['push'](_0x338284['shift']());}}}(_0x4f3c,0x7ea69));const n={'editHistory':{'panel':{'title':_0x2567d5(0xeb),'unknownUser':'Người\x20dùng\x20không\x20xác\x20định','listFetchError':_0x2567d5(0xee),'revertConfirm':_0x2567d5(0xf5),'revertConfirmText':_0x2567d5(0xf1),'cancel':_0x2567d5(0xf0),'confirm':_0x2567d5(0xf8),'reverting':_0x2567d5(0xe6),'revertFailed':_0x2567d5(0xfa),'currentVersion':_0x2567d5(0xe7),'currentUser':_0x2567d5(0xe0),'revertDesc':_0x2567d5(0xe5)},'info':{'loading':_0x2567d5(0xfe)},'header':{'back':_0x2567d5(0xdf),'revert':_0x2567d5(0xe5)},'action':{'insertSheet':'đã\x20chèn\x20trang\x20tính','removeSheet':_0x2567d5(0xf6),'createSheet':_0x2567d5(0xfb),'setFilter':_0x2567d5(0xfc),'setFrozen':_0x2567d5(0xf2),'editSheet':_0x2567d5(0x100),'revertSheet':_0x2567d5(0x102),'revertSheetPrefix':'Đã\x20khôi\x20phục\x20từ','revertSheetSuffix':'','setDV':_0x2567d5(0xf9),'setCF':'đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','addCF':_0x2567d5(0xf4),'addProtection':_0x2567d5(0xe4),'addSparkline':_0x2567d5(0xec),'insertChart':'đã\x20chèn\x20biểu\x20đồ','deleteProtection':'xóa\x20bảo\x20vệ','etc':_0x2567d5(0xed)}}};export{n as default};function _0x4f3c(){const _0xd2512b=['Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','Phiên\x20bản\x20hiện\x20tại','266056zhtiOC','154criAbz','1419180bVLEYh','Lịch\x20sử\x20chỉnh\x20sửa','thêm\x20biểu\x20đồ\x20nhỏ',',\x20v.v.','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','7541860ZOOorW','Hủy','Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','đã\x20đặt\x20cố\x20định','2459285SCvnRt','thêm\x20định\x20dạng\x20có\x20điều\x20kiện','Khôi\x20phục\x20phiên\x20bản\x20này?','đã\x20xóa\x20trang\x20tính','892371hYteKB','Xác\x20nhận','đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','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','đã\x20tạo\x20sổ\x20làm\x20việc','đã\x20đặt\x20bộ\x20lọc','2rgpcfx','đang\x20tải,\x20vui\x20lòng\x20đợi...','45GFojcW','đã\x20chỉnh\x20sửa\x20trang\x20tính','8kmIubb','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','Quay\x20lại','Người\x20dùng\x20hiện\x20tại','18dsCPfe','391473HzinNy','415304AFSCpL','thêm\x20bảo\x20vệ','Khôi\x20phục\x20phiên\x20bản\x20này'];_0x4f3c=function(){return _0xd2512b;};return _0x4f3c();}
@@ -1 +1 @@
1
- const _0x338c94=_0x8949;(function(_0x14efa5,_0x530166){const _0x4f6c6c=_0x8949,_0x4ee70f=_0x14efa5();while(!![]){try{const _0x267169=-parseInt(_0x4f6c6c(0x191))/0x1*(-parseInt(_0x4f6c6c(0x19f))/0x2)+parseInt(_0x4f6c6c(0x190))/0x3*(parseInt(_0x4f6c6c(0x19c))/0x4)+-parseInt(_0x4f6c6c(0x196))/0x5+parseInt(_0x4f6c6c(0x18e))/0x6+-parseInt(_0x4f6c6c(0x188))/0x7*(-parseInt(_0x4f6c6c(0x18d))/0x8)+parseInt(_0x4f6c6c(0x18b))/0x9+-parseInt(_0x4f6c6c(0x186))/0xa;if(_0x267169===_0x530166)break;else _0x4ee70f['push'](_0x4ee70f['shift']());}catch(_0x541127){_0x4ee70f['push'](_0x4ee70f['shift']());}}}(_0x41ed,0xeb87c));function _0x8949(_0x132542,_0x51eadf){_0x132542=_0x132542-0x184;const _0x41edfc=_0x41ed();let _0x894925=_0x41edfc[_0x132542];return _0x894925;}function _0x41ed(){const _0x2a3b0f=['未知用户','11069847byFvcx','还原到此版本?','6069288DXLeLQ','3142254gnzUkd','当前用户','3525gkmzld','28972cacKSx','还原了','添加了保护范围','创建了工作表','设置了条件格式','1386195gprotE','正在还原,请稍等...','历史记录','当前版本','还原了版本','该文档将会被还原到选中版本','5692pTjogU','冻结了工作表','的版本','82UToNoo','获取编辑历史记录列表失败','插入了图表','还原到此版本','41302590oUaRJw','加载中,请稍等...','7mVQSDe','设置了筛选'];_0x41ed=function(){return _0x2a3b0f;};return _0x41ed();}const e={'editHistory':{'panel':{'title':_0x338c94(0x198),'unknownUser':_0x338c94(0x18a),'listFetchError':_0x338c94(0x1a0),'revertConfirm':_0x338c94(0x18c),'revertConfirmText':_0x338c94(0x19b),'cancel':'取消','confirm':'确认','reverting':_0x338c94(0x197),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x338c94(0x199),'currentUser':_0x338c94(0x18f),'revertDesc':'还原到此版本'},'info':{'loading':_0x338c94(0x187)},'header':{'back':'返回','revert':_0x338c94(0x185)},'action':{'insertSheet':'插入了工作表','removeSheet':'删除了工作表','createSheet':_0x338c94(0x194),'setFilter':_0x338c94(0x189),'setFrozen':_0x338c94(0x19d),'editSheet':'编辑了工作表','revertSheet':_0x338c94(0x19a),'revertSheetPrefix':_0x338c94(0x192),'revertSheetSuffix':_0x338c94(0x19e),'setDV':'设置了数据验证','setCF':_0x338c94(0x195),'addCF':'添加了条件格式','addProtection':_0x338c94(0x193),'addSparkline':'添加了迷你图','insertChart':_0x338c94(0x184),'deleteProtection':'移除了保护范围','etc':',等'}}};export{e as default};
1
+ function _0x2e68(){const _0xb490a0=['编辑了工作表','660IOcrIk','设置了数据验证','该文档将会被还原到选中版本','还原了版本','添加了迷你图','还原到此版本','4640ZfJKHw','1344cxbZJw','删除了工作表','439xrOLCw','插入了工作表','设置了条件格式','正在还原,请稍等...','1496TqsYbT','添加了条件格式','未知用户','未知错误,请刷新页面查看还原结果','9UYfHcu','2580132MSiQtL','5370LfuZqC','当前版本','创建了工作表','还原到此版本?','获取编辑历史记录列表失败','5348MVutLF','820KmKOxT','加载中,请稍等...','冻结了工作表','398073IZVUKO','3068856UZWDot','4126ZhBwJM','设置了筛选'];_0x2e68=function(){return _0xb490a0;};return _0x2e68();}function _0x18f3(_0x27a446,_0x5aefaf){_0x27a446=_0x27a446-0xba;const _0x2e6877=_0x2e68();let _0x18f3c9=_0x2e6877[_0x27a446];return _0x18f3c9;}const _0x427c40=_0x18f3;(function(_0x4859a6,_0x453469){const _0x11cb3a=_0x18f3,_0x181a0e=_0x4859a6();while(!![]){try{const _0x24a1d4=-parseInt(_0x11cb3a(0xc1))/0x1*(parseInt(_0x11cb3a(0xd6))/0x2)+-parseInt(_0x11cb3a(0xca))/0x3+parseInt(_0x11cb3a(0xbf))/0x4*(parseInt(_0x11cb3a(0xbe))/0x5)+parseInt(_0x11cb3a(0xcb))/0x6*(parseInt(_0x11cb3a(0xd0))/0x7)+parseInt(_0x11cb3a(0xd5))/0x8*(-parseInt(_0x11cb3a(0xc9))/0x9)+parseInt(_0x11cb3a(0xd1))/0xa*(-parseInt(_0x11cb3a(0xc5))/0xb)+-parseInt(_0x11cb3a(0xd9))/0xc*(-parseInt(_0x11cb3a(0xd4))/0xd);if(_0x24a1d4===_0x453469)break;else _0x181a0e['push'](_0x181a0e['shift']());}catch(_0x30c6be){_0x181a0e['push'](_0x181a0e['shift']());}}}(_0x2e68,0x7ec73));const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x427c40(0xc7),'listFetchError':_0x427c40(0xcf),'revertConfirm':_0x427c40(0xce),'revertConfirmText':_0x427c40(0xba),'cancel':'取消','confirm':'确认','reverting':_0x427c40(0xc4),'revertFailed':_0x427c40(0xc8),'currentVersion':_0x427c40(0xcc),'currentUser':'当前用户','revertDesc':_0x427c40(0xbd)},'info':{'loading':_0x427c40(0xd2)},'header':{'back':'返回','revert':_0x427c40(0xbd)},'action':{'insertSheet':_0x427c40(0xc2),'removeSheet':_0x427c40(0xc0),'createSheet':_0x427c40(0xcd),'setFilter':_0x427c40(0xd7),'setFrozen':_0x427c40(0xd3),'editSheet':_0x427c40(0xd8),'revertSheet':_0x427c40(0xbb),'revertSheetPrefix':'还原了','revertSheetSuffix':'的版本','setDV':_0x427c40(0xda),'setCF':_0x427c40(0xc3),'addCF':_0x427c40(0xc6),'addProtection':'添加了保护范围','addSparkline':_0x427c40(0xbc),'insertChart':'插入了图表','deleteProtection':'移除了保护范围','etc':',等'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x1eaadf=_0x4121;function _0x4121(_0x14e038,_0x4d30f2){_0x14e038=_0x14e038-0xcb;const _0x2a9d74=_0x2a9d();let _0x4121e4=_0x2a9d74[_0x14e038];return _0x4121e4;}function _0x2a9d(){const _0x1bc55=['delete\x20protection','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20frozen','126SNenYy','loading,\x20please\x20wait...','7153196jLmetp','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Confirm','Reverting,\x20please\x20wait...','4244685JyJBGS','inserted\x20chart','Current\x20User','Restore\x20this\x20version','17163rUdlOU','set\x20data\x20validation','12dCJBRd','set\x20filter','519381VgzsYX','Reverted\x20from','deleted\x20worksheet','Cancel','Edit\x20History','3zClXdz','48WGHFBm','372roOQhy','edited\x20worksheet','1820504prffJW','290ZYoiaV','Unknown\x20User','Failed\x20to\x20get\x20edit\x20history\x20list','add\x20protection','Current\x20Version','1638234zpsxlb','5381519lrcfWz','inserted\x20worksheet','set\x20conditional\x20formatting','created\x20workbook'];_0x2a9d=function(){return _0x1bc55;};return _0x2a9d();}(function(_0x3ddbaf,_0x1e7c56){const _0x304ff8=_0x4121,_0x5a0293=_0x3ddbaf();while(!![]){try{const _0xe6f5db=-parseInt(_0x304ff8(0xd7))/0x1*(-parseInt(_0x304ff8(0xcd))/0x2)+-parseInt(_0x304ff8(0xe0))/0x3*(-parseInt(_0x304ff8(0xcf))/0x4)+parseInt(_0x304ff8(0xd3))/0x5*(-parseInt(_0x304ff8(0xd9))/0x6)+parseInt(_0x304ff8(0xe4))/0x7*(parseInt(_0x304ff8(0xe1))/0x8)+parseInt(_0x304ff8(0xdb))/0x9*(parseInt(_0x304ff8(0xe5))/0xa)+parseInt(_0x304ff8(0xeb))/0xb+-parseInt(_0x304ff8(0xe2))/0xc*(parseInt(_0x304ff8(0xea))/0xd);if(_0xe6f5db===_0x1e7c56)break;else _0x5a0293['push'](_0x5a0293['shift']());}catch(_0x569931){_0x5a0293['push'](_0x5a0293['shift']());}}}(_0x2a9d,0xf14c6));const e={'editHistory':{'panel':{'title':_0x1eaadf(0xdf),'unknownUser':_0x1eaadf(0xe6),'listFetchError':_0x1eaadf(0xe7),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x1eaadf(0xcb),'cancel':_0x1eaadf(0xde),'confirm':_0x1eaadf(0xd1),'reverting':_0x1eaadf(0xd2),'revertFailed':_0x1eaadf(0xd0),'currentVersion':_0x1eaadf(0xe9),'currentUser':_0x1eaadf(0xd5),'revertDesc':_0x1eaadf(0xd6)},'info':{'loading':_0x1eaadf(0xce)},'header':{'back':'Back','revert':_0x1eaadf(0xd6)},'action':{'insertSheet':_0x1eaadf(0xec),'removeSheet':_0x1eaadf(0xdd),'createSheet':_0x1eaadf(0xee),'setFilter':_0x1eaadf(0xda),'setFrozen':_0x1eaadf(0xcc),'editSheet':_0x1eaadf(0xe3),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x1eaadf(0xdc),'revertSheetSuffix':'','setDV':_0x1eaadf(0xd8),'setCF':_0x1eaadf(0xed),'addCF':'add\x20conditional\x20formatting','addProtection':_0x1eaadf(0xe8),'addSparkline':'add\x20sparkline','insertChart':_0x1eaadf(0xd4),'deleteProtection':_0x1eaadf(0xef),'etc':',\x20etc.'}}},t=e;export{t as default};
1
+ const _0x2ceb8b=_0x1e8e;function _0x3faf(){const _0x4df6a4=['456616aoQVJj','Unknown\x20User','161qezIFF','Failed\x20to\x20get\x20edit\x20history\x20list','10lsNlzN','Restore\x20this\x20version','1746588IemFzS','loading,\x20please\x20wait...','reverted\x20workbook','1054151tXqoIe','33RUVqFH','Restore\x20this\x20version?','add\x20sparkline','780144uctvhF','delete\x20protection','add\x20protection','Reverting,\x20please\x20wait...','created\x20workbook','Back','87BkOFpk','edited\x20worksheet','Cancel','3958992lHdCKz','5894055thoQVe','25cVowqf','Edit\x20History','48788iGnUYh','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','inserted\x20worksheet','Reverted\x20from','inserted\x20chart','Confirm','set\x20frozen','set\x20filter','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version'];_0x3faf=function(){return _0x4df6a4;};return _0x3faf();}(function(_0x28946d,_0x56265c){const _0x468506=_0x1e8e,_0x4060cc=_0x28946d();while(!![]){try{const _0x6db72e=parseInt(_0x468506(0x77))/0x1+parseInt(_0x468506(0x88))/0x2*(-parseInt(_0x468506(0x81))/0x3)+parseInt(_0x468506(0x7b))/0x4+parseInt(_0x468506(0x86))/0x5*(-parseInt(_0x468506(0x74))/0x6)+parseInt(_0x468506(0x70))/0x7*(parseInt(_0x468506(0x6e))/0x8)+parseInt(_0x468506(0x85))/0x9*(-parseInt(_0x468506(0x72))/0xa)+-parseInt(_0x468506(0x78))/0xb*(-parseInt(_0x468506(0x84))/0xc);if(_0x6db72e===_0x56265c)break;else _0x4060cc['push'](_0x4060cc['shift']());}catch(_0x2b2d13){_0x4060cc['push'](_0x4060cc['shift']());}}}(_0x3faf,0xb32c7));const e={'editHistory':{'panel':{'title':_0x2ceb8b(0x87),'unknownUser':_0x2ceb8b(0x6f),'listFetchError':_0x2ceb8b(0x71),'revertConfirm':_0x2ceb8b(0x79),'revertConfirmText':_0x2ceb8b(0x6d),'cancel':_0x2ceb8b(0x83),'confirm':_0x2ceb8b(0x8d),'reverting':_0x2ceb8b(0x7e),'revertFailed':_0x2ceb8b(0x89),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x2ceb8b(0x73)},'info':{'loading':_0x2ceb8b(0x75)},'header':{'back':_0x2ceb8b(0x80),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x2ceb8b(0x8a),'removeSheet':'deleted\x20worksheet','createSheet':_0x2ceb8b(0x7f),'setFilter':_0x2ceb8b(0x8f),'setFrozen':_0x2ceb8b(0x8e),'editSheet':_0x2ceb8b(0x82),'revertSheet':_0x2ceb8b(0x76),'revertSheetPrefix':_0x2ceb8b(0x8b),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x2ceb8b(0x7d),'addSparkline':_0x2ceb8b(0x7a),'insertChart':_0x2ceb8b(0x8c),'deleteProtection':_0x2ceb8b(0x7c),'etc':',\x20etc.'}}},t=e;function _0x1e8e(_0x2e5826,_0x1edf4c){_0x2e5826=_0x2e5826-0x6d;const _0x3faf36=_0x3faf();let _0x1e8eb6=_0x3faf36[_0x2e5826];return _0x1e8eb6;}export{t as default};
@@ -6,5 +6,6 @@ export interface IUniverEditHistoryViewerConfig {
6
6
  * @default ''
7
7
  */
8
8
  historyListServerUrl?: string;
9
+ historyPanelComponentKey?: string;
9
10
  }
10
11
  export declare const defaultPluginConfig: IUniverEditHistoryViewerConfig;
@@ -1,4 +1,4 @@
1
- import { Disposable, LocaleService } from '@univerjs/core';
1
+ import { Disposable, IConfigService, 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,8 +6,9 @@ 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;
9
10
  private _sidebarDisposable;
10
- constructor(_sidebarService: ISidebarService, _componentManager: ComponentManager, _localeService: LocaleService, _historyManagerService: HistoryManagerService);
11
+ constructor(_sidebarService: ISidebarService, _componentManager: ComponentManager, _localeService: LocaleService, _historyManagerService: HistoryManagerService, _configService: IConfigService);
11
12
  private _init;
12
13
  private _openPanel;
13
14
  private _initPanel;
@@ -1,4 +1,5 @@
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';
4
5
  export { HistoryManagerService, HistoryModeStatus } from './services/history-manager.service';
@@ -13,6 +13,7 @@ export interface IHistoryVersion {
13
13
  recoverTime?: number;
14
14
  commands: string[];
15
15
  isAnonymous: boolean;
16
+ additionalFields?: string;
16
17
  }
17
18
  export interface IServiceVersionsData {
18
19
  hasMore: boolean;
@@ -31,6 +32,7 @@ export interface IVersionItem {
31
32
  startRevision: number;
32
33
  endRevision: number;
33
34
  recoverTime?: string;
35
+ additionalFields?: string;
34
36
  }
35
37
  export interface IUser {
36
38
  userID: string;
@@ -49,6 +51,20 @@ export interface IChangeset {
49
51
  mutations: any[];
50
52
  memberID: string;
51
53
  }
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
+ }
52
68
  export declare class HistoryFetchService extends Disposable {
53
69
  private readonly _snapshotServerService;
54
70
  private readonly _univerInstanceService;
@@ -60,7 +76,12 @@ export declare class HistoryFetchService extends Disposable {
60
76
  private _workbookDataCache;
61
77
  constructor(_snapshotServerService: ISnapshotServerService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _configService: IConfigService, _httpService: HTTPService, _compressMutationService: CompressMutationService, _sheetPermissionInitController: SheetPermissionInitController);
62
78
  dispose(): void;
63
- getVersions(unitID: string, lastLabel?: string): Promise<Nullable<{
79
+ fetchCreatorList(unitID: string): Promise<IHistoryCreator[]>;
80
+ getVersions(unitID: string, params?: {
81
+ userIds?: string[];
82
+ lastLabel?: string;
83
+ origin?: HistoryOrigin;
84
+ }): Promise<Nullable<{
64
85
  hasMore: boolean;
65
86
  lastLabel: string;
66
87
  versions: IHistoryVersion[];
@@ -1,4 +1,4 @@
1
- import { IHistoryVersion, IUser, HistoryFetchService } from './history-fetch.service';
1
+ import { HistoryOrigin, IHistoryCreator, 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,7 +27,12 @@ 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;
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;
31
36
  private _loadingState$;
32
37
  readonly loadingState$: import('rxjs').Observable<LoadingState>;
33
38
  private _lastLabel;
@@ -37,13 +42,20 @@ export declare class HistoryManagerService extends Disposable {
37
42
  private _maskContainer;
38
43
  private _maskElement;
39
44
  private _canRevert;
45
+ private _loadParams;
40
46
  constructor(_messageService: IMessageService, _confirmService: IConfirmService, _localeService: LocaleService, _historyFetchService: HistoryFetchService);
41
47
  triggerLoadVersions(unitId: string, containerId: string, canRevert: boolean): Promise<void>;
48
+ loadInitialVersions(unitId: string, params?: {
49
+ userIds?: string[];
50
+ origin?: HistoryOrigin;
51
+ }): Promise<void>;
42
52
  loadMoreVersions(): Promise<boolean>;
53
+ loadHistoryCreatorList(): Promise<void>;
43
54
  triggerLoadSheet(versionId: string): Promise<void>;
44
55
  triggerRevert(id?: string): Promise<void>;
45
56
  private _updateVersions;
46
57
  getCurrentVersion(): IHistoryVersion | undefined;
58
+ private _setVersions;
47
59
  getVersion(id: string): IHistoryVersion | undefined;
48
60
  getMember(id: string): IUser | undefined;
49
61
  private _createMask;
@@ -24,6 +24,7 @@ export declare class VersionDiffService extends Disposable {
24
24
  private _init;
25
25
  ensureVersion(versionId: string): Promise<void>;
26
26
  private _transformMutationByOrder;
27
+ private _yieldToMain;
27
28
  private _getActiveSubUnitId;
28
29
  private _extractRanges;
29
30
  private _getRangesByMutation;