@univerjs-pro/edit-history-viewer 0.12.2 → 0.12.3-experimental.20251204-1549a8e

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 -1
  40. package/lib/types/locale/en-US.d.ts +1 -0
  41. package/lib/types/services/history-fetch.service.d.ts +7 -1
  42. package/lib/types/services/history-manager.service.d.ts +17 -1
  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 +20 -19
@@ -1 +1 @@
1
- const _0x38f694=_0x50a1;function _0x50a1(_0x38baeb,_0x56a683){const _0x3f9257=_0x3f92();return _0x50a1=function(_0x50a182,_0x56e587){_0x50a182=_0x50a182-0x158;let _0x25e5c6=_0x3f9257[_0x50a182];return _0x25e5c6;},_0x50a1(_0x38baeb,_0x56a683);}(function(_0x3ae6d7,_0x17e571){const _0x488a99=_0x50a1,_0x2a9c45=_0x3ae6d7();while(!![]){try{const _0x165a72=parseInt(_0x488a99(0x169))/0x1*(-parseInt(_0x488a99(0x16d))/0x2)+parseInt(_0x488a99(0x172))/0x3+-parseInt(_0x488a99(0x165))/0x4+-parseInt(_0x488a99(0x158))/0x5*(-parseInt(_0x488a99(0x162))/0x6)+-parseInt(_0x488a99(0x16f))/0x7*(parseInt(_0x488a99(0x164))/0x8)+parseInt(_0x488a99(0x175))/0x9+parseInt(_0x488a99(0x159))/0xa;if(_0x165a72===_0x17e571)break;else _0x2a9c45['push'](_0x2a9c45['shift']());}catch(_0xada6e3){_0x2a9c45['push'](_0x2a9c45['shift']());}}}(_0x3f92,0x44317));const e={'editHistory':{'panel':{'title':_0x38f694(0x160),'unknownUser':_0x38f694(0x174),'listFetchError':_0x38f694(0x16b),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x38f694(0x15c),'cancel':_0x38f694(0x16e),'confirm':_0x38f694(0x170),'reverting':_0x38f694(0x167),'revertFailed':_0x38f694(0x15e),'currentVersion':'Current\x20Version','currentUser':_0x38f694(0x15f),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x38f694(0x15d)},'header':{'back':'Back','revert':_0x38f694(0x15b)},'action':{'insertSheet':_0x38f694(0x163),'removeSheet':_0x38f694(0x168),'createSheet':'created\x20workbook','setFilter':_0x38f694(0x16c),'setFrozen':_0x38f694(0x166),'editSheet':'edited\x20worksheet','revertSheet':_0x38f694(0x173),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x38f694(0x15a),'setCF':'set\x20conditional\x20formatting','addCF':_0x38f694(0x16a),'addProtection':'add\x20protection','addSparkline':_0x38f694(0x171),'deleteProtection':_0x38f694(0x161),'etc':',\x20etc.'}}},t=e;export{t as default};function _0x3f92(){const _0x41e16b=['151284SmsAxI','reverted\x20workbook','Unknown\x20User','4913433saibwg','30795xdYOjF','3347880mdCOan','set\x20data\x20validation','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','loading,\x20please\x20wait...','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Current\x20User','Edit\x20History','delete\x20protection','90kXhBpA','inserted\x20worksheet','45480VVPthm','1135276CqrJuT','set\x20frozen','Reverting,\x20please\x20wait...','deleted\x20worksheet','5HIJrOP','add\x20conditional\x20formatting','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20filter','134132kdfNVW','Cancel','154raRCBy','Confirm','add\x20sparkline'];_0x3f92=function(){return _0x41e16b;};return _0x3f92();}
1
+ function _0x2ad9(){const _0x305585=['8594VRBCGj','통합\x20문서\x20복원','워크시트\x20삭제','이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','차트\x20삽입','이\x20버전을\x20복원하시겠습니까?','알\x20수\x20없는\x20사용자','717549PNtCnA','215fLuMQh','848vnAgJY','711aFPouF','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','이\x20버전\x20복원','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','101596LvFRkc','복원\x20원본:','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','통합\x20문서\x20만들기','워크시트\x20삽입','45390exKfTt','2676HfAUaW','1169140fLNzJE','현재\x20버전','10493PKtNlJ','데이터\x20유효성\x20검사\x20설정','현재\x20사용자','필터\x20설정','조건부\x20서식\x20설정','편집\x20기록','스파크라인\x20추가','49ngeIPk','워크시트\x20편집','138498WOnDJt'];_0x2ad9=function(){return _0x305585;};return _0x2ad9();}const _0x3b465=_0x55db;(function(_0x13e553,_0x1463cf){const _0x3f9013=_0x55db,_0x2392cb=_0x13e553();while(!![]){try{const _0x146a06=-parseInt(_0x3f9013(0x1b7))/0x1*(parseInt(_0x3f9013(0x1ba))/0x2)+-parseInt(_0x3f9013(0x1a0))/0x3+parseInt(_0x3f9013(0x1ae))/0x4+parseInt(_0x3f9013(0x1a1))/0x5*(-parseInt(_0x3f9013(0x1b9))/0x6)+parseInt(_0x3f9013(0x1b0))/0x7*(parseInt(_0x3f9013(0x1a2))/0x8)+parseInt(_0x3f9013(0x1a3))/0x9*(-parseInt(_0x3f9013(0x1ac))/0xa)+parseInt(_0x3f9013(0x1a7))/0xb*(parseInt(_0x3f9013(0x1ad))/0xc);if(_0x146a06===_0x1463cf)break;else _0x2392cb['push'](_0x2392cb['shift']());}catch(_0xf6ecf4){_0x2392cb['push'](_0x2392cb['shift']());}}}(_0x2ad9,0xad521));const e={'editHistory':{'panel':{'title':_0x3b465(0x1b5),'unknownUser':_0x3b465(0x19f),'listFetchError':_0x3b465(0x1a4),'revertConfirm':_0x3b465(0x19e),'revertConfirmText':_0x3b465(0x19c),'cancel':'취소','confirm':'확인','reverting':_0x3b465(0x1a6),'revertFailed':'알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','currentVersion':_0x3b465(0x1af),'currentUser':_0x3b465(0x1b2),'revertDesc':_0x3b465(0x1a5)},'info':{'loading':_0x3b465(0x1a9)},'header':{'back':'뒤로','revert':_0x3b465(0x1a5)},'action':{'insertSheet':_0x3b465(0x1ab),'removeSheet':_0x3b465(0x1bc),'createSheet':_0x3b465(0x1aa),'setFilter':_0x3b465(0x1b3),'setFrozen':'틀\x20고정\x20설정','editSheet':_0x3b465(0x1b8),'revertSheet':_0x3b465(0x1bb),'revertSheetPrefix':_0x3b465(0x1a8),'revertSheetSuffix':'','setDV':_0x3b465(0x1b1),'setCF':_0x3b465(0x1b4),'addCF':'조건부\x20서식\x20추가','addProtection':'보호\x20추가','addSparkline':_0x3b465(0x1b6),'insertChart':_0x3b465(0x19d),'deleteProtection':'보호\x20삭제','etc':''}}};function _0x55db(_0x469b30,_0x4af789){_0x469b30=_0x469b30-0x19c;const _0x2ad9d5=_0x2ad9();let _0x55dbb6=_0x2ad9d5[_0x469b30];return _0x55dbb6;}export{e as default};
@@ -1 +1 @@
1
- const _0x25ae20=_0x2ab8;function _0x43a5(){const _0x1168d3=['Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Reverted\x20from','set\x20conditional\x20formatting','edited\x20worksheet','set\x20data\x20validation','inserted\x20worksheet','3wrCqNL','1809560DQuyAd',',\x20etc.','delete\x20protection','557200UyUBxW','Current\x20User','add\x20sparkline','2658PAUomF','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Restore\x20this\x20version','Cancel','Confirm','Restore\x20this\x20version?','set\x20filter','525384ESLAdk','87000GoPxDL','321968aVBtJp','551928vYUqQr','add\x20protection','1701mBhWuG','reverted\x20workbook','deleted\x20worksheet','Reverting,\x20please\x20wait...'];_0x43a5=function(){return _0x1168d3;};return _0x43a5();}function _0x2ab8(_0x158b2d,_0xd5b0b6){const _0x43a5f7=_0x43a5();return _0x2ab8=function(_0x2ab862,_0x1b2eaa){_0x2ab862=_0x2ab862-0xe6;let _0x3bdc00=_0x43a5f7[_0x2ab862];return _0x3bdc00;},_0x2ab8(_0x158b2d,_0xd5b0b6);}(function(_0x39c5aa,_0x329352){const _0x31c01b=_0x2ab8,_0x2a3099=_0x39c5aa();while(!![]){try{const _0x1eda36=-parseInt(_0x31c01b(0xee))/0x1+-parseInt(_0x31c01b(0xf0))/0x2*(-parseInt(_0x31c01b(0xfc))/0x3)+-parseInt(_0x31c01b(0x100))/0x4+parseInt(_0x31c01b(0xfd))/0x5+-parseInt(_0x31c01b(0xe6))/0x6*(parseInt(_0x31c01b(0xf2))/0x7)+-parseInt(_0x31c01b(0xef))/0x8+-parseInt(_0x31c01b(0xed))/0x9;if(_0x1eda36===_0x329352)break;else _0x2a3099['push'](_0x2a3099['shift']());}catch(_0x595cc6){_0x2a3099['push'](_0x2a3099['shift']());}}}(_0x43a5,0x321f9));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x25ae20(0xeb),'revertConfirmText':_0x25ae20(0xe7),'cancel':_0x25ae20(0xe9),'confirm':_0x25ae20(0xea),'reverting':_0x25ae20(0xf5),'revertFailed':_0x25ae20(0xf6),'currentVersion':'Current\x20Version','currentUser':_0x25ae20(0x101),'revertDesc':_0x25ae20(0xe8)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x25ae20(0xfb),'removeSheet':_0x25ae20(0xf4),'createSheet':'created\x20workbook','setFilter':_0x25ae20(0xec),'setFrozen':'set\x20frozen','editSheet':_0x25ae20(0xf9),'revertSheet':_0x25ae20(0xf3),'revertSheetPrefix':_0x25ae20(0xf7),'revertSheetSuffix':'','setDV':_0x25ae20(0xfa),'setCF':_0x25ae20(0xf8),'addCF':'add\x20conditional\x20formatting','addProtection':_0x25ae20(0xf1),'addSparkline':_0x25ae20(0x102),'deleteProtection':_0x25ae20(0xff),'etc':_0x25ae20(0xfe)}}},t=e;export{t as default};
1
+ const _0x5d1470=_0x12f1;function _0x12f1(_0x52e56a,_0x48f1a3){_0x52e56a=_0x52e56a-0x18b;const _0x529e1b=_0x529e();let _0x12f11f=_0x529e1b[_0x52e56a];return _0x12f11f;}(function(_0x2f16f9,_0x49bcee){const _0x30b56d=_0x12f1,_0x334eaa=_0x2f16f9();while(!![]){try{const _0x5f50fa=-parseInt(_0x30b56d(0x18f))/0x1*(-parseInt(_0x30b56d(0x1aa))/0x2)+-parseInt(_0x30b56d(0x1a5))/0x3+parseInt(_0x30b56d(0x1a4))/0x4*(parseInt(_0x30b56d(0x197))/0x5)+parseInt(_0x30b56d(0x19c))/0x6*(parseInt(_0x30b56d(0x194))/0x7)+-parseInt(_0x30b56d(0x1ac))/0x8+-parseInt(_0x30b56d(0x192))/0x9*(-parseInt(_0x30b56d(0x18b))/0xa)+-parseInt(_0x30b56d(0x1a7))/0xb*(parseInt(_0x30b56d(0x1ad))/0xc);if(_0x5f50fa===_0x49bcee)break;else _0x334eaa['push'](_0x334eaa['shift']());}catch(_0x5c8b37){_0x334eaa['push'](_0x334eaa['shift']());}}}(_0x529e,0x5f2b3));const e={'editHistory':{'panel':{'title':_0x5d1470(0x19d),'unknownUser':_0x5d1470(0x1a3),'listFetchError':_0x5d1470(0x191),'revertConfirm':_0x5d1470(0x18d),'revertConfirmText':_0x5d1470(0x1a2),'cancel':_0x5d1470(0x193),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0x5d1470(0x198),'revertDesc':_0x5d1470(0x19e)},'info':{'loading':_0x5d1470(0x1ab)},'header':{'back':_0x5d1470(0x199),'revert':_0x5d1470(0x19e)},'action':{'insertSheet':_0x5d1470(0x19f),'removeSheet':'deleted\x20worksheet','createSheet':_0x5d1470(0x18e),'setFilter':_0x5d1470(0x18c),'setFrozen':_0x5d1470(0x1a0),'editSheet':_0x5d1470(0x196),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x5d1470(0x1a9),'revertSheetSuffix':'','setDV':_0x5d1470(0x19a),'setCF':_0x5d1470(0x1a6),'addCF':_0x5d1470(0x1a8),'addProtection':'add\x20protection','addSparkline':_0x5d1470(0x19b),'insertChart':_0x5d1470(0x1a1),'deleteProtection':_0x5d1470(0x195),'etc':_0x5d1470(0x190)}}},t=e;export{t as default};function _0x529e(){const _0x401b7e=['868lqyddl','684216bzOnLP','set\x20conditional\x20formatting','2585LHPELc','add\x20conditional\x20formatting','Reverted\x20from','162WQDyFA','loading,\x20please\x20wait...','3131400xxYIfx','26736DLWGwo','4970yUnGpk','set\x20filter','Restore\x20this\x20version?','created\x20workbook','2281alApXK',',\x20etc.','Failed\x20to\x20get\x20edit\x20history\x20list','3447wxjgJt','Cancel','511FTvqxz','delete\x20protection','edited\x20worksheet','16435CeHdQf','Current\x20User','Back','set\x20data\x20validation','add\x20sparkline','36534LWTQpU','Edit\x20History','Restore\x20this\x20version','inserted\x20worksheet','set\x20frozen','inserted\x20chart','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Unknown\x20User'];_0x529e=function(){return _0x401b7e;};return _0x529e();}
@@ -1 +1 @@
1
- const _0x19732c=_0x3581;function _0x3233(){const _0x713e7c=['7063090benEqV','1747123WPPtRP','Reverting,\x20please\x20wait...','Restore\x20this\x20version','Back','reverted\x20workbook','loading,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version',',\x20etc.','created\x20workbook','5230291zZoXOG','Cancel','Unknown\x20User','664oaDnGr','17208TWEwzX','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','4KoPrLy','6559400zPFbTK','add\x20protection','114rcoCGe','inserted\x20worksheet','312094NJRqPt','Confirm','set\x20frozen','6xqaUxf','add\x20sparkline','Current\x20User','edited\x20worksheet','set\x20filter','delete\x20protection','73374bXYNDB'];_0x3233=function(){return _0x713e7c;};return _0x3233();}(function(_0x474ee3,_0x1eaadc){const _0x5e86e9=_0x3581,_0x5e1f54=_0x474ee3();while(!![]){try{const _0x3e5c52=parseInt(_0x5e86e9(0x198))/0x1+parseInt(_0x5e86e9(0x1a1))/0x2*(parseInt(_0x5e86e9(0x196))/0x3)+-parseInt(_0x5e86e9(0x193))/0x4*(parseInt(_0x5e86e9(0x194))/0x5)+-parseInt(_0x5e86e9(0x19b))/0x6*(-parseInt(_0x5e86e9(0x1a3))/0x7)+-parseInt(_0x5e86e9(0x190))/0x8*(parseInt(_0x5e86e9(0x191))/0x9)+parseInt(_0x5e86e9(0x1a2))/0xa+-parseInt(_0x5e86e9(0x1ac))/0xb;if(_0x3e5c52===_0x1eaadc)break;else _0x5e1f54['push'](_0x5e1f54['shift']());}catch(_0x48db05){_0x5e1f54['push'](_0x5e1f54['shift']());}}}(_0x3233,0xaed09));function _0x3581(_0x42ba60,_0x482fe6){const _0x3233d7=_0x3233();return _0x3581=function(_0x35817b,_0x2b9012){_0x35817b=_0x35817b-0x18e;let _0x16dffe=_0x3233d7[_0x35817b];return _0x16dffe;},_0x3581(_0x42ba60,_0x482fe6);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x19732c(0x18f),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x19732c(0x1a9),'cancel':_0x19732c(0x18e),'confirm':_0x19732c(0x199),'reverting':_0x19732c(0x1a4),'revertFailed':_0x19732c(0x192),'currentVersion':'Current\x20Version','currentUser':_0x19732c(0x19d),'revertDesc':_0x19732c(0x1a5)},'info':{'loading':_0x19732c(0x1a8)},'header':{'back':_0x19732c(0x1a6),'revert':_0x19732c(0x1a5)},'action':{'insertSheet':_0x19732c(0x197),'removeSheet':'deleted\x20worksheet','createSheet':_0x19732c(0x1ab),'setFilter':_0x19732c(0x19f),'setFrozen':_0x19732c(0x19a),'editSheet':_0x19732c(0x19e),'revertSheet':_0x19732c(0x1a7),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x19732c(0x195),'addSparkline':_0x19732c(0x19c),'deleteProtection':_0x19732c(0x1a0),'etc':_0x19732c(0x1aa)}}},t=e;export{t as default};
1
+ const _0x29f064=_0x318c;(function(_0x32a9fa,_0x5119b9){const _0x26cc13=_0x318c,_0x596903=_0x32a9fa();while(!![]){try{const _0x4b14d8=-parseInt(_0x26cc13(0x169))/0x1+parseInt(_0x26cc13(0x16e))/0x2+-parseInt(_0x26cc13(0x164))/0x3*(parseInt(_0x26cc13(0x163))/0x4)+parseInt(_0x26cc13(0x168))/0x5+-parseInt(_0x26cc13(0x16b))/0x6*(parseInt(_0x26cc13(0x171))/0x7)+parseInt(_0x26cc13(0x15f))/0x8+parseInt(_0x26cc13(0x158))/0x9;if(_0x4b14d8===_0x5119b9)break;else _0x596903['push'](_0x596903['shift']());}catch(_0x2faa0d){_0x596903['push'](_0x596903['shift']());}}}(_0x4f9c,0x571f8));const n={'editHistory':{'panel':{'title':_0x29f064(0x16d),'unknownUser':_0x29f064(0x15a),'listFetchError':_0x29f064(0x157),'revertConfirm':_0x29f064(0x16c),'revertConfirmText':_0x29f064(0x172),'cancel':'Hủy','confirm':_0x29f064(0x155),'reverting':_0x29f064(0x159),'revertFailed':_0x29f064(0x15d),'currentVersion':_0x29f064(0x16a),'currentUser':_0x29f064(0x15b),'revertDesc':'Khôi\x20phục\x20phiên\x20bản\x20này'},'info':{'loading':'đang\x20tải,\x20vui\x20lòng\x20đợi...'},'header':{'back':_0x29f064(0x170),'revert':_0x29f064(0x156)},'action':{'insertSheet':_0x29f064(0x161),'removeSheet':'đã\x20xóa\x20trang\x20tính','createSheet':'đã\x20tạo\x20sổ\x20làm\x20việc','setFilter':_0x29f064(0x16f),'setFrozen':_0x29f064(0x173),'editSheet':_0x29f064(0x167),'revertSheet':_0x29f064(0x165),'revertSheetPrefix':_0x29f064(0x15e),'revertSheetSuffix':'','setDV':_0x29f064(0x15c),'setCF':_0x29f064(0x175),'addCF':'thêm\x20định\x20dạng\x20có\x20điều\x20kiện','addProtection':_0x29f064(0x174),'addSparkline':_0x29f064(0x162),'insertChart':_0x29f064(0x166),'deleteProtection':'xóa\x20bảo\x20vệ','etc':_0x29f064(0x160)}}};function _0x318c(_0x3d2e02,_0x2f338b){_0x3d2e02=_0x3d2e02-0x155;const _0x4f9c52=_0x4f9c();let _0x318c17=_0x4f9c52[_0x3d2e02];return _0x318c17;}export{n as default};function _0x4f9c(){const _0x336991=['8FaXuXF','913926clYnsb','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','đã\x20chèn\x20biểu\x20đồ','đã\x20chỉnh\x20sửa\x20trang\x20tính','2998840HKZHIg','411910rhSWfL','Phiên\x20bản\x20hiện\x20tại','60pjAXqs','Khôi\x20phục\x20phiên\x20bản\x20này?','Lịch\x20sử\x20chỉnh\x20sửa','1028796gIzfLb','đã\x20đặt\x20bộ\x20lọc','Quay\x20lại','491449jiYXRk','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','thêm\x20bảo\x20vệ','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','Xác\x20nhận','Khôi\x20phục\x20phiên\x20bản\x20này','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','2310174VEuqPE','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','Người\x20dùng\x20không\x20xác\x20định','Người\x20dùng\x20hiện\x20tại','đã\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','Đã\x20khôi\x20phục\x20từ','5674144mEsbKb',',\x20v.v.','đã\x20chèn\x20trang\x20tính','thêm\x20biểu\x20đồ\x20nhỏ'];_0x4f9c=function(){return _0x336991;};return _0x4f9c();}
@@ -1 +1 @@
1
- const _0x5bb98d=_0x20c5;function _0x20c5(_0x511c89,_0x402078){const _0x5bfcb9=_0x5bfc();return _0x20c5=function(_0x20c5e0,_0x367070){_0x20c5e0=_0x20c5e0-0x1b7;let _0x4df1af=_0x5bfcb9[_0x20c5e0];return _0x4df1af;},_0x20c5(_0x511c89,_0x402078);}(function(_0x2ded90,_0x3fa358){const _0x2e3094=_0x20c5,_0x53a707=_0x2ded90();while(!![]){try{const _0x24d0ae=parseInt(_0x2e3094(0x1d2))/0x1+parseInt(_0x2e3094(0x1b7))/0x2*(-parseInt(_0x2e3094(0x1cb))/0x3)+-parseInt(_0x2e3094(0x1c8))/0x4*(-parseInt(_0x2e3094(0x1bc))/0x5)+-parseInt(_0x2e3094(0x1bf))/0x6*(-parseInt(_0x2e3094(0x1c2))/0x7)+-parseInt(_0x2e3094(0x1bd))/0x8*(parseInt(_0x2e3094(0x1c6))/0x9)+-parseInt(_0x2e3094(0x1bb))/0xa*(-parseInt(_0x2e3094(0x1cc))/0xb)+-parseInt(_0x2e3094(0x1c9))/0xc;if(_0x24d0ae===_0x3fa358)break;else _0x53a707['push'](_0x53a707['shift']());}catch(_0x11c90f){_0x53a707['push'](_0x53a707['shift']());}}}(_0x5bfc,0x3014d));const e={'editHistory':{'panel':{'title':_0x5bb98d(0x1ce),'unknownUser':'未知用户','listFetchError':_0x5bb98d(0x1ca),'revertConfirm':'还原到此版本?','revertConfirmText':'该文档将会被还原到选中版本','cancel':'取消','confirm':'确认','reverting':_0x5bb98d(0x1ba),'revertFailed':_0x5bb98d(0x1cf),'currentVersion':'当前版本','currentUser':'当前用户','revertDesc':'还原到此版本'},'info':{'loading':_0x5bb98d(0x1d0)},'header':{'back':'返回','revert':_0x5bb98d(0x1d1)},'action':{'insertSheet':_0x5bb98d(0x1be),'removeSheet':_0x5bb98d(0x1c5),'createSheet':_0x5bb98d(0x1c4),'setFilter':_0x5bb98d(0x1b8),'setFrozen':'冻结了工作表','editSheet':_0x5bb98d(0x1d3),'revertSheet':_0x5bb98d(0x1c0),'revertSheetPrefix':_0x5bb98d(0x1c1),'revertSheetSuffix':_0x5bb98d(0x1c7),'setDV':'设置了数据验证','setCF':_0x5bb98d(0x1d4),'addCF':_0x5bb98d(0x1cd),'addProtection':_0x5bb98d(0x1b9),'addSparkline':'添加了迷你图','deleteProtection':_0x5bb98d(0x1c3),'etc':',等'}}};export{e as default};function _0x5bfc(){const _0x39457f=['设置了条件格式','16ePKkVG','设置了筛选','添加了保护范围','正在还原,请稍等...','10zIEwLH','5ukUAMa','822416gSrdcU','插入了工作表','18prulFK','还原了版本','还原了','906185HZBeMw','移除了保护范围','创建了工作表','删除了工作表','27hQauTY','的版本','712268GAaZKP','1919532sgDAtE','获取编辑历史记录列表失败','8454bJNRvr','1332859sRcNwG','添加了条件格式','历史记录','未知错误,请刷新页面查看还原结果','加载中,请稍等...','还原到此版本','251MjfjCo','编辑了工作表'];_0x5bfc=function(){return _0x39457f;};return _0x5bfc();}
1
+ const _0x5cb27f=_0x395b;function _0x395b(_0x2ffdab,_0x536c8c){_0x2ffdab=_0x2ffdab-0xd3;const _0x3c9f12=_0x3c9f();let _0x395bb4=_0x3c9f12[_0x2ffdab];return _0x395bb4;}function _0x3c9f(){const _0xa0d13d=['正在还原,请稍等...','35JNcvrd','未知用户','3828592SwNrml','234NwzqeJ','251060SetZqF','设置了条件格式','还原了版本','移除了保护范围','1671974IAXCiI','3984636xjOcpl','添加了条件格式','63klqVnG','未知错误,请刷新页面查看还原结果','5257446QteBar','插入了图表','1412166qHBGxe','1Ncnydg','历史记录','11zgGWzC','设置了筛选','当前用户','冻结了工作表','删除了工作表','添加了迷你图','还原到此版本','获取编辑历史记录列表失败','还原到此版本?','插入了工作表','1367128oeqVgF','当前版本','该文档将会被还原到选中版本','编辑了工作表'];_0x3c9f=function(){return _0xa0d13d;};return _0x3c9f();}(function(_0x540a3b,_0x385eac){const _0x22d8ad=_0x395b,_0x240607=_0x540a3b();while(!![]){try{const _0x289927=parseInt(_0x22d8ad(0xdd))/0x1*(parseInt(_0x22d8ad(0xd5))/0x2)+-parseInt(_0x22d8ad(0xda))/0x3+-parseInt(_0x22d8ad(0xf0))/0x4+-parseInt(_0x22d8ad(0xee))/0x5*(-parseInt(_0x22d8ad(0xdc))/0x6)+-parseInt(_0x22d8ad(0xd8))/0x7*(-parseInt(_0x22d8ad(0xe9))/0x8)+-parseInt(_0x22d8ad(0xf1))/0x9*(parseInt(_0x22d8ad(0xf2))/0xa)+parseInt(_0x22d8ad(0xdf))/0xb*(parseInt(_0x22d8ad(0xd6))/0xc);if(_0x289927===_0x385eac)break;else _0x240607['push'](_0x240607['shift']());}catch(_0x16bd36){_0x240607['push'](_0x240607['shift']());}}}(_0x3c9f,0xf1fe0));const e={'editHistory':{'panel':{'title':_0x5cb27f(0xde),'unknownUser':_0x5cb27f(0xef),'listFetchError':_0x5cb27f(0xe6),'revertConfirm':_0x5cb27f(0xe7),'revertConfirmText':_0x5cb27f(0xeb),'cancel':'取消','confirm':'确认','reverting':_0x5cb27f(0xed),'revertFailed':_0x5cb27f(0xd9),'currentVersion':_0x5cb27f(0xea),'currentUser':_0x5cb27f(0xe1),'revertDesc':_0x5cb27f(0xe5)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x5cb27f(0xe5)},'action':{'insertSheet':_0x5cb27f(0xe8),'removeSheet':_0x5cb27f(0xe3),'createSheet':'创建了工作表','setFilter':_0x5cb27f(0xe0),'setFrozen':_0x5cb27f(0xe2),'editSheet':_0x5cb27f(0xec),'revertSheet':_0x5cb27f(0xd3),'revertSheetPrefix':'还原了','revertSheetSuffix':'的版本','setDV':'设置了数据验证','setCF':_0x5cb27f(0xf3),'addCF':_0x5cb27f(0xd7),'addProtection':'添加了保护范围','addSparkline':_0x5cb27f(0xe4),'insertChart':_0x5cb27f(0xdb),'deleteProtection':_0x5cb27f(0xd4),'etc':',等'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x394b4e=_0x3a03;(function(_0x376cca,_0x1f1eeb){const _0xe0bbd3=_0x3a03,_0x2a75e6=_0x376cca();while(!![]){try{const _0x27d7f7=parseInt(_0xe0bbd3(0xb5))/0x1*(parseInt(_0xe0bbd3(0xb7))/0x2)+parseInt(_0xe0bbd3(0xb4))/0x3+parseInt(_0xe0bbd3(0xb9))/0x4+parseInt(_0xe0bbd3(0xb8))/0x5*(-parseInt(_0xe0bbd3(0xc1))/0x6)+parseInt(_0xe0bbd3(0xa7))/0x7*(parseInt(_0xe0bbd3(0xaa))/0x8)+parseInt(_0xe0bbd3(0xc0))/0x9+-parseInt(_0xe0bbd3(0xaf))/0xa*(parseInt(_0xe0bbd3(0xb1))/0xb);if(_0x27d7f7===_0x1f1eeb)break;else _0x2a75e6['push'](_0x2a75e6['shift']());}catch(_0x543f51){_0x2a75e6['push'](_0x2a75e6['shift']());}}}(_0x2eca,0x5eadd));const e={'editHistory':{'panel':{'title':_0x394b4e(0xb3),'unknownUser':_0x394b4e(0xa5),'listFetchError':_0x394b4e(0xc7),'revertConfirm':_0x394b4e(0xc3),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x394b4e(0xac),'confirm':_0x394b4e(0xa8),'reverting':_0x394b4e(0xbb),'revertFailed':_0x394b4e(0xab),'currentVersion':_0x394b4e(0xa9),'currentUser':'Current\x20User','revertDesc':_0x394b4e(0xbe)},'info':{'loading':_0x394b4e(0xb6)},'header':{'back':_0x394b4e(0xc4),'revert':_0x394b4e(0xbe)},'action':{'insertSheet':_0x394b4e(0xc5),'removeSheet':_0x394b4e(0xad),'createSheet':_0x394b4e(0xae),'setFilter':_0x394b4e(0xc2),'setFrozen':_0x394b4e(0xc6),'editSheet':_0x394b4e(0xa4),'revertSheet':_0x394b4e(0xbf),'revertSheetPrefix':_0x394b4e(0xb2),'revertSheetSuffix':'','setDV':_0x394b4e(0xa6),'setCF':_0x394b4e(0xbd),'addCF':_0x394b4e(0xba),'addProtection':_0x394b4e(0xbc),'addSparkline':_0x394b4e(0xb0),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;function _0x3a03(_0x1e317a,_0x50bd33){const _0x2ecacd=_0x2eca();return _0x3a03=function(_0x3a037d,_0x64fde5){_0x3a037d=_0x3a037d-0xa4;let _0x16a2f9=_0x2ecacd[_0x3a037d];return _0x16a2f9;},_0x3a03(_0x1e317a,_0x50bd33);}function _0x2eca(){const _0x95dcbe=['5rYZDXs','loading,\x20please\x20wait...','279970BDPRmA','423855JJnKzX','1627196mINDCB','add\x20conditional\x20formatting','Reverting,\x20please\x20wait...','add\x20protection','set\x20conditional\x20formatting','Restore\x20this\x20version','reverted\x20workbook','507492GWPdqe','54uPKMhY','set\x20filter','Restore\x20this\x20version?','Back','inserted\x20worksheet','set\x20frozen','Failed\x20to\x20get\x20edit\x20history\x20list','edited\x20worksheet','Unknown\x20User','set\x20data\x20validation','7ZUVpmF','Confirm','Current\x20Version','4268584OQEQPU','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Cancel','deleted\x20worksheet','created\x20workbook','10pGVKUC','add\x20sparkline','13792361Hgqftr','Reverted\x20from','Edit\x20History','2123730TTOESo'];_0x2eca=function(){return _0x95dcbe;};return _0x2eca();}export{t as default};
1
+ const _0x4a3e11=_0x3d7a;function _0x40fa(){const _0x2c5a76=['inserted\x20worksheet','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','add\x20conditional\x20formatting','Restore\x20this\x20version','2082123nQpgNc','loading,\x20please\x20wait...','Current\x20User','add\x20protection','116126pAmWSw','6390153HLphmR','88364jJGGNt','Unknown\x20User','add\x20sparkline','119565jcBTuA','345714UDBDXl','14lzPizG','25CqtpMU','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','deleted\x20worksheet','Confirm','set\x20conditional\x20formatting','183184Dtkmwx','Cancel','Failed\x20to\x20get\x20edit\x20history\x20list','12WlQGSx','created\x20workbook','set\x20frozen','reverted\x20workbook','10GysqYL','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','4ReImpw','Current\x20Version'];_0x40fa=function(){return _0x2c5a76;};return _0x40fa();}(function(_0x478f75,_0x4228e4){const _0x2f4233=_0x3d7a,_0x553525=_0x478f75();while(!![]){try{const _0x35e238=-parseInt(_0x2f4233(0x182))/0x1*(-parseInt(_0x2f4233(0x18d))/0x2)+parseInt(_0x2f4233(0x189))/0x3+parseInt(_0x2f4233(0x18f))/0x4*(parseInt(_0x2f4233(0x195))/0x5)+-parseInt(_0x2f4233(0x193))/0x6*(parseInt(_0x2f4233(0x194))/0x7)+parseInt(_0x2f4233(0x19a))/0x8+parseInt(_0x2f4233(0x192))/0x9*(parseInt(_0x2f4233(0x180))/0xa)+-parseInt(_0x2f4233(0x18e))/0xb*(parseInt(_0x2f4233(0x17c))/0xc);if(_0x35e238===_0x4228e4)break;else _0x553525['push'](_0x553525['shift']());}catch(_0x13b6ee){_0x553525['push'](_0x553525['shift']());}}}(_0x40fa,0x5bfc2));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x4a3e11(0x190),'listFetchError':_0x4a3e11(0x19c),'revertConfirm':_0x4a3e11(0x186),'revertConfirmText':_0x4a3e11(0x181),'cancel':_0x4a3e11(0x19b),'confirm':_0x4a3e11(0x198),'reverting':_0x4a3e11(0x185),'revertFailed':_0x4a3e11(0x196),'currentVersion':_0x4a3e11(0x183),'currentUser':_0x4a3e11(0x18b),'revertDesc':_0x4a3e11(0x188)},'info':{'loading':_0x4a3e11(0x18a)},'header':{'back':'Back','revert':_0x4a3e11(0x188)},'action':{'insertSheet':_0x4a3e11(0x184),'removeSheet':_0x4a3e11(0x197),'createSheet':_0x4a3e11(0x17d),'setFilter':'set\x20filter','setFrozen':_0x4a3e11(0x17e),'editSheet':'edited\x20worksheet','revertSheet':_0x4a3e11(0x17f),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x4a3e11(0x199),'addCF':_0x4a3e11(0x187),'addProtection':_0x4a3e11(0x18c),'addSparkline':_0x4a3e11(0x191),'insertChart':'inserted\x20chart','deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;function _0x3d7a(_0x4108ef,_0x48030d){_0x4108ef=_0x4108ef-0x17c;const _0x40fafe=_0x40fa();let _0x3d7afa=_0x40fafe[_0x4108ef];return _0x3d7afa;}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,4 @@
1
1
  import './global.css';
2
2
  export type { IUniverEditHistoryViewerConfig } from './controllers/config.schema';
3
3
  export { UniverEditHistoryViewerPlugin } from './plugin';
4
- export { HistoryManagerService, HistoryModeStatus } from './services/history-manager.service';
4
+ export { HistoryManagerService, HistoryModeStatus, HistoryOrigin } from './services/history-manager.service';
@@ -36,6 +36,7 @@ declare const locale: {
36
36
  addCF: string;
37
37
  addProtection: string;
38
38
  addSparkline: string;
39
+ insertChart: string;
39
40
  deleteProtection: string;
40
41
  etc: string;
41
42
  };
@@ -1,5 +1,6 @@
1
1
  import { ILogContext, CompressMutationService, ISnapshotServerService } from '@univerjs-pro/collaboration';
2
2
  import { Nullable, Disposable, ICommandService, IConfigService, IUniverInstanceService } from '@univerjs/core';
3
+ import { HistoryOrigin } from './history-manager.service';
3
4
  import { HTTPService } from '@univerjs/network';
4
5
  import { UniverType } from '@univerjs/protocol';
5
6
  import { SheetPermissionInitController } from '@univerjs/sheets';
@@ -13,6 +14,7 @@ export interface IHistoryVersion {
13
14
  recoverTime?: number;
14
15
  commands: string[];
15
16
  isAnonymous: boolean;
17
+ additionalFields?: string;
16
18
  }
17
19
  export interface IServiceVersionsData {
18
20
  hasMore: boolean;
@@ -31,6 +33,7 @@ export interface IVersionItem {
31
33
  startRevision: number;
32
34
  endRevision: number;
33
35
  recoverTime?: string;
36
+ additionalFields?: string;
34
37
  }
35
38
  export interface IUser {
36
39
  userID: string;
@@ -60,7 +63,10 @@ export declare class HistoryFetchService extends Disposable {
60
63
  private _workbookDataCache;
61
64
  constructor(_snapshotServerService: ISnapshotServerService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _configService: IConfigService, _httpService: HTTPService, _compressMutationService: CompressMutationService, _sheetPermissionInitController: SheetPermissionInitController);
62
65
  dispose(): void;
63
- getVersions(unitID: string, lastLabel?: string): Promise<Nullable<{
66
+ getVersions(unitID: string, params?: {
67
+ lastLabel?: string;
68
+ origin?: HistoryOrigin;
69
+ }): Promise<Nullable<{
64
70
  hasMore: boolean;
65
71
  lastLabel: string;
66
72
  versions: IHistoryVersion[];
@@ -11,6 +11,14 @@ export declare enum LoadingState {
11
11
  Loading = "loading",
12
12
  Loaded = "loaded"
13
13
  }
14
+ /**
15
+ * @description The origin of the history
16
+ */
17
+ export declare enum HistoryOrigin {
18
+ Unspecified = 0,
19
+ User = 1,
20
+ Character = 2
21
+ }
14
22
  export declare const VIRTUAL_VERSION_NOW = "VIRTUAL_VERSION_NOW";
15
23
  export declare class HistoryManagerService extends Disposable {
16
24
  private readonly _messageService;
@@ -27,7 +35,10 @@ export declare class HistoryManagerService extends Disposable {
27
35
  readonly revertRevision$: import('rxjs').Observable<number>;
28
36
  private _unitId$;
29
37
  readonly unitId$: import('rxjs').Observable<string | null>;
30
- private _fetching;
38
+ private _fetching$;
39
+ readonly fetching$: import('rxjs').Observable<boolean>;
40
+ private _setFetching;
41
+ get fetching(): boolean;
31
42
  private _loadingState$;
32
43
  readonly loadingState$: import('rxjs').Observable<LoadingState>;
33
44
  private _lastLabel;
@@ -37,13 +48,18 @@ export declare class HistoryManagerService extends Disposable {
37
48
  private _maskContainer;
38
49
  private _maskElement;
39
50
  private _canRevert;
51
+ private _loadParams;
40
52
  constructor(_messageService: IMessageService, _confirmService: IConfirmService, _localeService: LocaleService, _historyFetchService: HistoryFetchService);
41
53
  triggerLoadVersions(unitId: string, containerId: string, canRevert: boolean): Promise<void>;
54
+ loadInitialVersions(unitId: string, params?: {
55
+ origin?: HistoryOrigin;
56
+ }): Promise<void>;
42
57
  loadMoreVersions(): Promise<boolean>;
43
58
  triggerLoadSheet(versionId: string): Promise<void>;
44
59
  triggerRevert(id?: string): Promise<void>;
45
60
  private _updateVersions;
46
61
  getCurrentVersion(): IHistoryVersion | undefined;
62
+ private _setVersions;
47
63
  getVersion(id: string): IHistoryVersion | undefined;
48
64
  getMember(id: string): IUser | undefined;
49
65
  private _createMask;