@univerjs-pro/edit-history-loader 0.15.0 → 0.15.1-insiders.20260117-8ce4a01
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/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +40 -40
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x55eee7=_0x5e51;function _0x1a39(){const _0x1e9c69=['div','_commandService','ThemeService','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','location','session','currentTheme$','edit-history-loader.config','flat','clipPath','url(#$1','substring','LocaleService','72HoWJmG','set','UniverEditHistoryViewerPlugin','includes','white','_init','OPERATION','next','UniverEditHistoryLoaderPlugin','ISidebarService','OTHERS','PLUGIN_CONFIG_KEY_MAIN_THREAD','UNIVER_SHEET','_messageService','CollaborationStatus','_disposableCollection','UniverDrawingUIPlugin','2623915lEDcgN','_menuManagerService','LS_CONFIG_KEY','closeAll','UniverSheetsNumfmtPlugin','show','from','_sidebarService','clear','univer.operation.exit-edit-history','editHistory.panel.title','CHANGESET_ACK','mask','Error','RevertRevisionMutation','history-icon_clip0_907_281','svg','url(#history-icon_clip0_907_281)','_localeService','RxDisposable','pluginName','2766969SKKwdl','none','state$','asObservable','ILocalCacheService','UniverSheetsChartPlugin','getSheetCommandTarget','UniverSheetsFormulaPlugin','./worker.js','get','register','ComponentManager','some','_permissionService','_univerInstanceService','menu','colorChannel1','displayName','getOwnPropertyDescriptor','dataset','CollaborationEvent','Injector','every','BehaviorSubject','mountHistoryContent','registerCommand','forEach','setDarkMode','path','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','params','Entered','UniverSheetsDrawingUIPlugin','setTheme','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','univerContainerId','status$','_initListener','getCurrentRangeDisable$','getAllPlugins','attrs','getSubunitRuleList','Module','defIds','CommandType','UNIVER_CONTAINER_ID_KEY','_config','UniverInstanceType','UniverSheetsHyperLinkPlugin','value','AuthzIoHttpService','UNIVER_CONTAINER_ID','getLocales','ICommandService','_revertErrorTimer','UniverSheetsFormulaUIPlugin','use','currentColor','historyListServerUrl','onStarting','IMenuManagerService','UniverSheetSparklinePlugin','historyPanelComponentKey','_selectionProtectionRuleModel','IUniverInstanceService','subscribe','forwardRef','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','idSuffix','_historyUniver$','_collaborationController','Loading','[HistoryLoaderService]:\x20Plugin\x20','width','type','disposeWithMe','createElement','toDisposable','_initPlugins','0\x200\x2016\x2016','invoke','2DhhjIb','unMountHistoryContent','exhaustSavingTask','toStringTag','_historyManagerService','M0\x200H16V16H0z','_configService','_dialogService','registerPlugin','getCurrentLocale','UNIVER_HISTORY_CONTAINER_ID','replace','tag','290716smokxV','IImageIoService','UniverDocsPlugin','UniverSheetsDataValidationPlugin','http://www.w3.org/2000/svg','add','position','symbol','UniverRPCMainThreadPlugin','editHistory.panel.reverting','UniverSheetsDrawingPlugin','HistoryManagerService','height','HistoryModeStatus','dispose','_localCacheService','3026007nlBjUf','onSteady','UniverSheetsChartUIPlugin','DisposableCollection','_initContainer','unsubscribe','toString','BUTTON','zIndex','IMessageService','WorkbookEditablePermission','IAuthzIoService','RibbonStartGroup','editHistory.panel.revertFailed','138607QAGwXi','\x20has\x20been\x20registered.','HistoryIcon','IConfigService','map','length','display','UniverSheetsDataValidationUIPlugin','uComp','top','UniverDataValidationPlugin','current','getCollabEntity','CollaborationController','children','assign','univerjs-icon\x20univerjs-icon-','IDialogService','HistoryLoaderService','getUnit','string','__getInjector','_pluginMap','combineLatest','permissionId','UniverNetworkPlugin','xlink:href','editHistory.panel.listFetchError','getSheets','absolute','_themeService','WorksheetEditPermission','_componentManager','UniverSheetSparklineUIPlugin','getSheetId','eventID','getElementById','getConfig','fill','UniverSheetsUIPlugin','event$','UniverIcon','block','executeCommand','defs','Inject','merge','_injector','style','historyUniver','setConfig','defineProperty','UniverRenderEnginePlugin','100%','_checkCanRevert','1805592DCiXbL','1093046LCXwdb','UniverSheetsPivotTablePlugin','left','MessageType','UniverSheetsPlugin'];_0x1a39=function(){return _0x1e9c69;};return _0x1a39();}(function(_0x2e56ed,_0x459e12){const _0x254446=_0x5e51,_0x123000=_0x2e56ed();while(!![]){try{const _0x27854b=-parseInt(_0x254446(0x1aa))/0x1+parseInt(_0x254446(0x147))/0x2*(parseInt(_0x254446(0xf6))/0x3)+parseInt(_0x254446(0x154))/0x4+parseInt(_0x254446(0xe1))/0x5+-parseInt(_0x254446(0x1a9))/0x6+parseInt(_0x254446(0x172))/0x7*(parseInt(_0x254446(0x1bc))/0x8)+parseInt(_0x254446(0x164))/0x9;if(_0x27854b===_0x459e12)break;else _0x123000['push'](_0x123000['shift']());}catch(_0x3a6bab){_0x123000['push'](_0x123000['shift']());}}}(_0x1a39,0x9c4ef));function _0x5e51(_0xa2eedc,_0x1e48ea){_0xa2eedc=_0xa2eedc-0xdf;const _0x1a3944=_0x1a39();let _0x5e519d=_0x1a3944[_0xa2eedc];return _0x5e519d;}var A=Object[_0x55eee7(0x1a5)],F=(_0x20ceaf,_0xeb48bc,_0x2ab7bb)=>_0xeb48bc in _0x20ceaf?A(_0x20ceaf,_0xeb48bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ab7bb}):_0x20ceaf[_0xeb48bc]=_0x2ab7bb,_=(_0x24136a,_0x2da302,_0x1ea21c)=>F(_0x24136a,typeof _0x2da302!=_0x55eee7(0x15b)?_0x2da302+'':_0x2da302,_0x1ea21c);Object['defineProperty'](exports,Symbol[_0x55eee7(0x14a)],{'value':_0x55eee7(0x120)});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x55eee7(0x1b6),T={};function D({ref:_0x487585,..._0x3cf4df}){const _0x3d6781=_0x55eee7,{icon:_0xeab229,id:_0x3417a6,className:_0xa8c051,extend:_0x5968ba,..._0x187621}=_0x3cf4df,_0x55d767=(_0x3d6781(0x182)+_0x3417a6+'\x20'+(_0xa8c051||''))['trim'](),_0x4b359c=U['useRef']('_'+Se());return q(_0xeab229,''+_0x3417a6,{'defIds':_0xeab229[_0x3d6781(0x121)],'idSuffix':_0x4b359c[_0x3d6781(0x17d)]},{'ref':_0x487585,'className':_0x55d767,..._0x187621},_0x5968ba);}function q(_0x4f2468,_0x57e5b7,_0x505e89,_0x51011e,_0xaacb78){const _0x4d1b82=_0x55eee7;return U[_0x4d1b82(0x142)](_0x4f2468[_0x4d1b82(0x153)],{'key':_0x57e5b7,...de(_0x4f2468,_0x505e89,_0xaacb78),..._0x51011e},(_e(_0x4f2468,_0x505e89)[_0x4d1b82(0x180)]||[])[_0x4d1b82(0x176)]((_0x2e63dd,_0x1137e2)=>q(_0x2e63dd,_0x57e5b7+'-'+_0x4f2468[_0x4d1b82(0x153)]+'-'+_0x1137e2,_0x505e89,void 0x0,_0xaacb78)));}function de(_0x5ea9c6,_0x41c61b,_0x4440a9){const _0x4a9df4=_0x55eee7,_0x42b6d8={..._0x5ea9c6[_0x4a9df4(0x11e)]};_0x4440a9!=null&&_0x4440a9[_0x4a9df4(0x106)]&&_0x42b6d8['fill']===_0x4a9df4(0x106)&&(_0x42b6d8[_0x4a9df4(0x198)]=_0x4440a9[_0x4a9df4(0x106)]),_0x5ea9c6[_0x4a9df4(0x153)]==='mask'&&_0x42b6d8['id']&&(_0x42b6d8['id']=_0x42b6d8['id']+_0x41c61b['idSuffix']),Object['entries'](_0x42b6d8)[_0x4a9df4(0x110)](([_0x388c7f,_0x5e8982])=>{const _0x3d36f5=_0x4a9df4;_0x388c7f===_0x3d36f5(0xed)&&typeof _0x5e8982==_0x3d36f5(0x186)&&(_0x42b6d8[_0x388c7f]=_0x5e8982[_0x3d36f5(0x152)](/url\(#(.*)\)/,_0x3d36f5(0x1b9)+_0x41c61b['idSuffix']+')'));});const {defIds:_0x366631}=_0x41c61b;return!_0x366631||_0x366631[_0x4a9df4(0x177)]===0x0||(_0x5ea9c6[_0x4a9df4(0x153)]===_0x4a9df4(0x12e)&&_0x42b6d8[_0x4a9df4(0x18c)]&&(_0x42b6d8['xlink:href']=_0x42b6d8[_0x4a9df4(0x18c)]+_0x41c61b[_0x4a9df4(0x13a)]),Object['entries'](_0x42b6d8)[_0x4a9df4(0x110)](([_0x4548ea,_0x501122])=>{const _0x1723e5=_0x4a9df4;typeof _0x501122==_0x1723e5(0x186)&&(_0x42b6d8[_0x4548ea]=_0x501122[_0x1723e5(0x152)](/url\(#(.*)\)/,'url(#$1'+_0x41c61b[_0x1723e5(0x13a)]+')'));})),_0x42b6d8;}function _e(_0x3930d3,_0x12f819){const _0x3cf03c=_0x55eee7;var _0x563b1e;const {defIds:_0x54ce02}=_0x12f819;return!_0x54ce02||_0x54ce02[_0x3cf03c(0x177)]===0x0?_0x3930d3:_0x3930d3[_0x3cf03c(0x153)]===_0x3cf03c(0x19e)&&((_0x563b1e=_0x3930d3[_0x3cf03c(0x180)])!=null&&_0x563b1e['length'])?{..._0x3930d3,'children':_0x3930d3[_0x3cf03c(0x180)][_0x3cf03c(0x176)](_0x620d2e=>typeof _0x620d2e[_0x3cf03c(0x11e)]['id']==_0x3cf03c(0x186)&&_0x54ce02&&_0x54ce02[_0x3cf03c(0x1bf)](_0x620d2e[_0x3cf03c(0x11e)]['id'])?{..._0x620d2e,'attrs':{..._0x620d2e[_0x3cf03c(0x11e)],'id':_0x620d2e['attrs']['id']+_0x12f819[_0x3cf03c(0x13a)]}}:_0x620d2e)}:_0x3930d3;}function Se(){const _0x1c0143=_0x55eee7;return Math['random']()[_0x1c0143(0x16a)](0x24)[_0x1c0143(0x1ba)](0x2,0x8);}D[_0x55eee7(0x107)]=_0x55eee7(0x19b);const me={'tag':_0x55eee7(0xf1),'attrs':{'xmlns':_0x55eee7(0x158),'fill':_0x55eee7(0xf7),'viewBox':_0x55eee7(0x145),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x55eee7(0x12f),'clipPath':_0x55eee7(0xf2)},'children':[{'tag':'path','attrs':{'d':_0x55eee7(0x1b2)}},{'tag':_0x55eee7(0x112),'attrs':{'d':_0x55eee7(0x113)}}]},{'tag':_0x55eee7(0x19e),'attrs':{},'children':[{'tag':_0x55eee7(0x1b8),'attrs':{'id':_0x55eee7(0xf0)},'children':[{'tag':_0x55eee7(0x112),'attrs':{'fill':_0x55eee7(0x1c0),'d':_0x55eee7(0x14c)}}]}]}],'defIds':[_0x55eee7(0xf0)]},$=U[_0x55eee7(0x138)](function(_0xb19e46,_0x81e373){const _0xb26d99=_0x55eee7;return U[_0xb26d99(0x142)](D,Object[_0xb26d99(0x181)]({},_0xb19e46,{'id':'history-icon','ref':_0x81e373,'icon':me}));});$[_0x55eee7(0x107)]='HistoryIcon';var ye=Object[_0x55eee7(0x108)],pe=(_0xd9ce3f,_0x307693,_0x14a48a,_0x22fd60)=>{const _0x1d3fa4=_0x55eee7;for(var _0x4fda68=_0x22fd60>0x1?void 0x0:_0x22fd60?ye(_0x307693,_0x14a48a):_0x307693,_0x4e9320=_0xd9ce3f[_0x1d3fa4(0x177)]-0x1,_0x198be2;_0x4e9320>=0x0;_0x4e9320--)(_0x198be2=_0xd9ce3f[_0x4e9320])&&(_0x4fda68=_0x198be2(_0x4fda68)||_0x4fda68);return _0x4fda68;},g=(_0x5e0c07,_0x2c69d9)=>(_0x4db6c0,_0x165f34)=>_0x2c69d9(_0x4db6c0,_0x165f34,_0x5e0c07);const fe='univer-container',H=_0x55eee7(0x129),y='univer-history-container';exports[_0x55eee7(0x184)]=class extends o['Disposable']{constructor(_0x1af469,_0x189576,_0x47bf99,_0x52fd05,_0x5e995f,_0x19c9c5,_0x433f63,_0x22ceed,_0x532a7a,_0x5bd8e6){const _0x4d86cd=_0x55eee7;super(),_(this,_0x4d86cd(0x13b),new O[(_0x4d86cd(0x10d))](null)),_(this,'historyUniver$',this[_0x4d86cd(0x13b)][_0x4d86cd(0xf9)]()),_(this,_0x4d86cd(0xdf),new o[(_0x4d86cd(0x167))]()),_(this,'_pluginMap',new Map()),(this[_0x4d86cd(0xf3)]=_0x1af469,this[_0x4d86cd(0x104)]=_0x189576,this[_0x4d86cd(0x14d)]=_0x47bf99,this['_commandService']=_0x52fd05,this[_0x4d86cd(0x1c9)]=_0x5e995f,this['_permissionService']=_0x19c9c5,this[_0x4d86cd(0x135)]=_0x433f63,this[_0x4d86cd(0x14e)]=_0x22ceed,this['_sidebarService']=_0x532a7a,this[_0x4d86cd(0x190)]=_0x5bd8e6,this[_0x4d86cd(0x1c1)]());}get[_0x55eee7(0x1a3)](){const _0x20dc67=_0x55eee7;return this[_0x20dc67(0x13b)][_0x20dc67(0x127)];}[_0x55eee7(0x1c1)](){const _0x306c6=_0x55eee7;this[_0x306c6(0x168)](),this[_0x306c6(0x144)]();}[_0x55eee7(0x168)](){const _0x1e1970=_0x55eee7;var _0x2caca6;const _0x5d956a=(_0x2caca6=this[_0x1e1970(0x14d)][_0x1e1970(0x197)](H))!=null?_0x2caca6:fe,_0x168b45=document[_0x1e1970(0x196)](_0x5d956a);if(!_0x168b45)return;const _0x15e204=document[_0x1e1970(0x142)](_0x1e1970(0x1af));_0x15e204['id']=y,_0x15e204[_0x1e1970(0x109)][_0x1e1970(0x17a)]='history-container',_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x15a)]=_0x1e1970(0x18f),_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x17b)]='0',_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x1ac)]='0',_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x13f)]=_0x1e1970(0x1a7),_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x160)]=_0x1e1970(0x1a7),_0x15e204[_0x1e1970(0x1a2)][_0x1e1970(0x16c)]='1000',_0x15e204['style'][_0x1e1970(0x178)]=_0x1e1970(0xf7),_0x168b45['appendChild'](_0x15e204);}[_0x55eee7(0x144)](){const _0x41a9f6=_0x55eee7;var _0x1cdcc9,_0x114733,_0x5275cf,_0x36d45e;[[X[_0x41a9f6(0x1a6)]],[h['UniverUIPlugin'],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x41a9f6(0x183)],null]]}],[ee[_0x41a9f6(0x18b)]],[N['UniverDrawingPlugin'],{'override':[[N[_0x41a9f6(0x155)],null]]}],[z[_0x41a9f6(0x156)],{'hasScroll':!0x1}],[Z['UniverDocsUIPlugin']],[ve[_0x41a9f6(0xe5)]],[d[_0x41a9f6(0x1ae)],{'notExecuteFormula':!0x0}],[k[_0x41a9f6(0x199)]],[le[_0x41a9f6(0xfd)]],[ue[_0x41a9f6(0x12d)]],[C['UniverCollaborationPlugin']],[ae['UniverSheetsFilterPlugin']],[ce['UniverSheetsFilterUIPlugin']],[ie['UniverSheetsConditionalFormattingPlugin']],[te['UniverSheetsConditionalFormattingUIPlugin']],[he[_0x41a9f6(0x126)]],[ge['UniverSheetsHyperLinkUIPlugin']],[B[_0x41a9f6(0x17c)]],[re[_0x41a9f6(0x157)]],[ne[_0x41a9f6(0x179)]],[Q['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[R[_0x41a9f6(0x15c)],{'workerURL':(_0x114733=(_0x1cdcc9=this['_configService'][_0x41a9f6(0x197)](R[_0x41a9f6(0x1c7)]))==null?void 0x0:_0x1cdcc9['workerURL'])!=null?_0x114733:_0x41a9f6(0xfe)}],[J[_0x41a9f6(0xe0)]],[se[_0x41a9f6(0x15e)]],[oe[_0x41a9f6(0x116)]],[K[_0x41a9f6(0x133)]],[W[_0x41a9f6(0x193)]],[V[_0x41a9f6(0xfb)]],[G[_0x41a9f6(0x166)]],[Y[_0x41a9f6(0x1ab)],{'notExecuteFormula':!0x0}],[m[_0x41a9f6(0x1be)],{'historyListServerUrl':(_0x5275cf=this['_configService']['getConfig'](b))==null?void 0x0:_0x5275cf[_0x41a9f6(0x130)],'historyPanelComponentKey':(_0x36d45e=this[_0x41a9f6(0x14d)][_0x41a9f6(0x197)](b))==null?void 0x0:_0x36d45e[_0x41a9f6(0x134)]}]]['forEach'](([_0x2b0284,_0x4378ed])=>this['registerPlugin'](_0x2b0284,_0x4378ed));}[_0x55eee7(0x162)](){const _0x305751=_0x55eee7;super[_0x305751(0x162)](),this[_0x305751(0x148)](),this[_0x305751(0x188)][_0x305751(0xe9)]();}['registerPlugin'](_0x424d2e,_0x4de5a2,_0x1bba37){const _0x3b564e=_0x55eee7;if(this[_0x3b564e(0x188)]['has'](_0x424d2e[_0x3b564e(0xf5)])&&!_0x1bba37)throw new Error(_0x3b564e(0x13e)+_0x424d2e['pluginName']+_0x3b564e(0x173));this[_0x3b564e(0x188)][_0x3b564e(0x1bd)](_0x424d2e[_0x3b564e(0xf5)],[_0x424d2e,_0x4de5a2]);}[_0x55eee7(0x11d)](){const _0x21f3ad=_0x55eee7;return Array[_0x21f3ad(0xe7)](this[_0x21f3ad(0x188)]['values']());}[_0x55eee7(0x10e)](_0x142d8e){const _0x1e0697=_0x55eee7,_0x1e17ce=document[_0x1e0697(0x196)](y);_0x1e17ce&&(_0x1e17ce[_0x1e0697(0x1a2)][_0x1e0697(0x178)]=_0x1e0697(0x19c),this['_initUniver'](_0x142d8e,y));}[_0x55eee7(0x148)](){const _0x41b83b=_0x55eee7;var _0x344b4b;this[_0x41b83b(0xdf)][_0x41b83b(0x162)](),(_0x344b4b=this['historyUniver'])==null||_0x344b4b[_0x41b83b(0x162)](),this[_0x41b83b(0x13b)][_0x41b83b(0x1c3)](null);const _0xfdb027=document[_0x41b83b(0x196)](y);_0xfdb027&&(_0xfdb027[_0x41b83b(0x1a2)]['display']=_0x41b83b(0xf7));}['_initUniver'](_0x449996,_0x54449f){const _0x3b499c=_0x55eee7;if(this['historyUniver'])return;const _0x395b29=new o['Univer']({'locales':{[this['_localeService'][_0x3b499c(0x150)]()]:this[_0x3b499c(0xf3)][_0x3b499c(0x12a)]()},'override':[[o[_0x3b499c(0x16f)],{'useClass':p[_0x3b499c(0x128)]}]]}),_0x432726=_0x395b29[_0x3b499c(0x187)]();this[_0x3b499c(0x141)](this[_0x3b499c(0x190)]['darkMode$'][_0x3b499c(0x137)](_0x45e1c4=>{const _0x51e856=_0x3b499c;_0x432726[_0x51e856(0xff)](o[_0x51e856(0x1b1)])[_0x51e856(0x111)](_0x45e1c4);})),this[_0x3b499c(0x141)](this[_0x3b499c(0x190)][_0x3b499c(0x1b5)][_0x3b499c(0x137)](_0x28ab9e=>{const _0x5b2e19=_0x3b499c;_0x432726['get'](o[_0x5b2e19(0x1b1)])[_0x5b2e19(0x117)](_0x28ab9e);})),_0x432726['get'](o[_0x3b499c(0x1bb)])['setLocale'](this['_localeService'][_0x3b499c(0x150)]()),_0x432726[_0x3b499c(0xff)](o[_0x3b499c(0x175)])[_0x3b499c(0x1a4)](p[_0x3b499c(0x139)],this['_configService']['getConfig'](p[_0x3b499c(0x139)]));const _0x630749=this[_0x3b499c(0x14d)][_0x3b499c(0x197)](L[_0x3b499c(0xe3)]);_0x630749&&_0x395b29[_0x3b499c(0x14f)](L['UniverLicensePlugin'],{'license':_0x630749['ls']}),this[_0x3b499c(0x188)]['forEach'](([_0x1bd7e9,_0x141e8b])=>{const _0x5a4ab7=_0x3b499c;_0x395b29[_0x5a4ab7(0x14f)](_0x1bd7e9,_0x141e8b);}),_0x432726[_0x3b499c(0x146)](_0x28267c=>{this['_initListener'](_0x28267c,_0x449996);}),this[_0x3b499c(0x13b)][_0x3b499c(0x1c3)](_0x395b29);const _0x1f6497=_0x432726[_0x3b499c(0xff)](m['HistoryManagerService']),_0x37d29a=this[_0x3b499c(0x1a8)](_0x449996);_0x1f6497['triggerLoadVersions'](_0x449996,_0x54449f,_0x37d29a);}[_0x55eee7(0x11b)](_0x496fb4,_0xe7c8d6){const _0x4a9154=_0x55eee7,_0x2be9b9=_0x496fb4['get'](m[_0x4a9154(0x15f)]);this[_0x4a9154(0xdf)][_0x4a9154(0x159)](_0x2be9b9[_0x4a9154(0x11a)][_0x4a9154(0x137)](_0x13e540=>{const _0x161e43=_0x4a9154;switch(_0x13e540){case m[_0x161e43(0x161)][_0x161e43(0x115)]:this['_dialogService'][_0x161e43(0xe4)](),this[_0x161e43(0xe8)]['close']();break;case m[_0x161e43(0x161)]['Exited']:this['_commandService'][_0x161e43(0x19d)](j['id']),this[_0x161e43(0x148)]();break;case m[_0x161e43(0x161)][_0x161e43(0xee)]:this['unMountHistoryContent'](),this[_0x161e43(0x1c9)][_0x161e43(0xe6)]({'content':this[_0x161e43(0xf3)]['t'](_0x161e43(0x18d)),'type':P[_0x161e43(0x1ad)][_0x161e43(0xee)],'duration':0xbb8});break;}})),this[_0x4a9154(0xdf)][_0x4a9154(0x159)](_0x2be9b9['revertRevision$'][_0x4a9154(0x137)](async _0x2c259a=>{const _0x4f37b7=_0x4a9154;_0x2c259a&&this['_commandService'][_0x4f37b7(0x19d)](C[_0x4f37b7(0xef)]['id'],{'unitId':_0xe7c8d6,'revision':_0x2c259a});}));}['_checkCanRevert'](_0x607527){const _0x100cd9=_0x55eee7,_0x566367=this[_0x100cd9(0x104)][_0x100cd9(0x185)](_0x607527)[_0x100cd9(0x18e)]()[_0x100cd9(0x176)](_0x20677d=>_0x20677d[_0x100cd9(0x194)]()),_0x327c8a=new d['WorkbookEditablePermission'](_0x607527)['id'],_0x4b597c=_0x566367[_0x100cd9(0x176)](_0x20ce19=>new d[(_0x100cd9(0x191))](_0x607527,_0x20ce19)['id']),_0x1dd14c=_0x566367[_0x100cd9(0x176)](_0x13617b=>this[_0x100cd9(0x135)][_0x100cd9(0x11f)](_0x607527,_0x13617b)[_0x100cd9(0x176)](_0x17d1b2=>new d['RangeProtectionPermissionEditPoint'](_0x607527,_0x13617b,_0x17d1b2[_0x100cd9(0x18a)])['id']))[_0x100cd9(0x1b7)](),_0x57803b=new d['WorkbookRecoverHistoryPermission'](_0x607527)['id'];return this[_0x100cd9(0x103)]['composePermission']([_0x327c8a,..._0x4b597c,..._0x1dd14c,_0x57803b])[_0x100cd9(0x10c)](_0x12f8df=>!!_0x12f8df[_0x100cd9(0x127)]);}},exports[_0x55eee7(0x184)]=pe([g(0x0,o[_0x55eee7(0x19f)](o[_0x55eee7(0x1bb)])),g(0x1,o[_0x55eee7(0x136)]),g(0x2,o[_0x55eee7(0x175)]),g(0x3,o[_0x55eee7(0x12b)]),g(0x4,h[_0x55eee7(0x16d)]),g(0x5,o['IPermissionService']),g(0x6,o[_0x55eee7(0x19f)](d['RangeProtectionRuleModel'])),g(0x7,o[_0x55eee7(0x19f)](h[_0x55eee7(0x183)])),g(0x8,o['Inject'](h[_0x55eee7(0x1c5)])),g(0x9,o['Inject'](o[_0x55eee7(0x1b1)]))],exports[_0x55eee7(0x184)]);const M={'id':'univer.operation.toggle-edit-history','type':o[_0x55eee7(0x122)]['OPERATION'],'handler':_0x30bad6=>{const _0xd4901f=_0x55eee7,_0x4a9c5a=_0x30bad6[_0xd4901f(0xff)](exports[_0xd4901f(0x184)]),_0x2d6e98=_0x30bad6[_0xd4901f(0xff)](o[_0xd4901f(0x136)]),{unitId:_0x566a2f}=d[_0xd4901f(0xfc)](_0x2d6e98)||{};return _0x566a2f?(_0x4a9c5a[_0xd4901f(0x10e)](_0x566a2f),!0x0):!0x1;}},j={'id':_0x55eee7(0xea),'type':o[_0x55eee7(0x122)][_0x55eee7(0x1c2)],'handler':()=>!0x0};function Ce(_0x76fcbd){const _0x249a87=_0x55eee7;return{'id':M['id'],'type':h['MenuItemType'][_0x249a87(0x16b)],'icon':'HistoryIcon','tooltip':_0x249a87(0xeb),'hidden$':h['getMenuHiddenObservable'](_0x76fcbd,o[_0x249a87(0x125)][_0x249a87(0x1c8)]),'disabled$':k[_0x249a87(0x11c)](_0x76fcbd,{'workbookTypes':[d[_0x249a87(0x16e)],d['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x55eee7(0x170)][_0x55eee7(0x1c6)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x55eee7(0x108)],Ee=(_0x50c903,_0x5a04ea,_0x2a06fd,_0x10ae68)=>{const _0x10cc3c=_0x55eee7;for(var _0x420e87=_0x10ae68>0x1?void 0x0:_0x10ae68?Ue(_0x5a04ea,_0x2a06fd):_0x5a04ea,_0x264cf5=_0x50c903[_0x10cc3c(0x177)]-0x1,_0x1d1867;_0x264cf5>=0x0;_0x264cf5--)(_0x1d1867=_0x50c903[_0x264cf5])&&(_0x420e87=_0x1d1867(_0x420e87)||_0x420e87);return _0x420e87;},S=(_0x45fb57,_0x3e8a04)=>(_0x189a28,_0x47d22a)=>_0x3e8a04(_0x189a28,_0x47d22a,_0x45fb57);let E=class extends o[_0x55eee7(0xf4)]{constructor(_0x1dd9b7,_0x31acc8,_0x8d8cef,_0x1423c8,_0x10a57d,_0x4c1510,_0xf447d,_0x100d5f){const _0x24bf03=_0x55eee7;super(),_(this,_0x24bf03(0x12c),null),(this[_0x24bf03(0x1b0)]=_0x1dd9b7,this[_0x24bf03(0xe2)]=_0x31acc8,this[_0x24bf03(0x192)]=_0x8d8cef,this[_0x24bf03(0x14b)]=_0x1423c8,this['_localeService']=_0x10a57d,this[_0x24bf03(0x1c9)]=_0x4c1510,this['_collaborationController']=_0xf447d,this[_0x24bf03(0x163)]=_0x100d5f,this[_0x24bf03(0x1c1)]());}[_0x55eee7(0x1c1)](){const _0x59eb44=_0x55eee7;[M,j]['forEach'](_0x1b31b3=>this['disposeWithMe'](o[_0x59eb44(0x143)](this['_commandService'][_0x59eb44(0x10f)](_0x1b31b3)))),this[_0x59eb44(0x141)](this[_0x59eb44(0x192)][_0x59eb44(0x100)](_0x59eb44(0x174),$)),this['_menuManagerService']['mergeMenu'](Ie),this[_0x59eb44(0x141)](this[_0x59eb44(0x1b0)]['onCommandExecuted'](_0x34424e=>{const _0x900740=_0x59eb44;if(_0x34424e['id']===C[_0x900740(0xef)]['id']){this['_messageService'][_0x900740(0xe6)]({'content':this[_0x900740(0xf3)]['t'](_0x900740(0x15d)),'type':P[_0x900740(0x1ad)][_0x900740(0x13d)],'duration':0x1388});const {unitId:_0x28c8ea}=_0x34424e[_0x900740(0x114)],_0xbb1af8=this[_0x900740(0x13c)][_0x900740(0x17e)](_0x28c8ea),_0x2a2e07=O[_0x900740(0x189)]([_0xbb1af8[_0x900740(0x1b4)][_0x900740(0x19a)],_0xbb1af8[_0x900740(0xf8)]])[_0x900740(0x137)](async([_0x3707f5,_0x2c1675])=>{const _0x387419=_0x900740;var _0x404dea;_0x3707f5[_0x387419(0x195)]===C[_0x387419(0x10a)][_0x387419(0xec)]&&(_0x2c1675==null?void 0x0:_0x2c1675['status'])===p[_0x387419(0x1ca)]['SYNCED']&&_0x3707f5['data']['mutations'][_0x387419(0x102)](_0x4cc4d4=>_0x4cc4d4['id']===C[_0x387419(0xef)]['id'])&&(this[_0x387419(0x14b)]['unMountHistoryContent'](),_0x2a2e07[_0x387419(0x169)](),this[_0x387419(0x12c)]&&clearTimeout(this['_revertErrorTimer']),await((_0x404dea=this['_localCacheService'])==null?void 0x0:_0x404dea[_0x387419(0x149)]()),setTimeout(()=>window[_0x387419(0x1b3)]['reload']()));});this[_0x900740(0x12c)]=setTimeout(()=>{const _0x42bc11=_0x900740;_0x2a2e07['unsubscribe'](),this[_0x42bc11(0x1c9)][_0x42bc11(0xe6)]({'content':this[_0x42bc11(0xf3)]['t'](_0x42bc11(0x171)),'type':P[_0x42bc11(0x1ad)][_0x42bc11(0xee)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x55eee7(0x12b)]),S(0x1,h[_0x55eee7(0x132)]),S(0x2,o['Inject'](h[_0x55eee7(0x101)])),S(0x3,o[_0x55eee7(0x19f)](exports[_0x55eee7(0x184)])),S(0x4,o[_0x55eee7(0x19f)](o['LocaleService'])),S(0x5,h[_0x55eee7(0x16d)]),S(0x6,o[_0x55eee7(0x19f)](p[_0x55eee7(0x17f)])),S(0x7,p[_0x55eee7(0xfa)])],E);var Pe=Object[_0x55eee7(0x108)],be=(_0x444429,_0x409e3f,_0x59ad32,_0x1819e6)=>{const _0x533c07=_0x55eee7;for(var _0x258af3=_0x1819e6>0x1?void 0x0:_0x1819e6?Pe(_0x409e3f,_0x59ad32):_0x409e3f,_0x3c298d=_0x444429[_0x533c07(0x177)]-0x1,_0x43dc15;_0x3c298d>=0x0;_0x3c298d--)(_0x43dc15=_0x444429[_0x3c298d])&&(_0x258af3=_0x43dc15(_0x258af3)||_0x258af3);return _0x258af3;},w=(_0x109026,_0x46cab6)=>(_0x4d68fb,_0x109a68)=>_0x46cab6(_0x4d68fb,_0x109a68,_0x109026);const He=_0x55eee7(0x118);var I;exports[_0x55eee7(0x1c4)]=(I=class extends o['Plugin']{constructor(_0x588b3f=T,_0x554d6a,_0x50e6b7){const _0x8c00aa=_0x55eee7;super(),this[_0x8c00aa(0x124)]=_0x588b3f,this['_injector']=_0x554d6a,this[_0x8c00aa(0x14d)]=_0x50e6b7;const {menu:_0x54e1de,..._0x1b3e08}=o[_0x8c00aa(0x1a0)]({},T,this[_0x8c00aa(0x124)]);_0x54e1de&&this[_0x8c00aa(0x14d)][_0x8c00aa(0x1a4)](_0x8c00aa(0x105),_0x54e1de,{'merge':!0x0}),this[_0x8c00aa(0x14d)][_0x8c00aa(0x1a4)](b,_0x1b3e08),this[_0x8c00aa(0x124)][_0x8c00aa(0x119)]&&this[_0x8c00aa(0x14d)][_0x8c00aa(0x1a4)](H,this[_0x8c00aa(0x124)][_0x8c00aa(0x119)]);}[_0x55eee7(0x131)](){const _0x21ca99=_0x55eee7;[[exports[_0x21ca99(0x184)]],[E]]['forEach'](_0x34db34=>this['_injector']['add'](_0x34db34));}[_0x55eee7(0x165)](){const _0x448a86=_0x55eee7;this[_0x448a86(0x1a1)][_0x448a86(0xff)](E);}},_(I,_0x55eee7(0x140),o[_0x55eee7(0x125)]['UNIVER_UNKNOWN']),_(I,_0x55eee7(0xf5),He),I),exports[_0x55eee7(0x1c4)]=be([w(0x1,o[_0x55eee7(0x19f)](o[_0x55eee7(0x10b)])),w(0x2,o[_0x55eee7(0x175)])],exports[_0x55eee7(0x1c4)]),exports[_0x55eee7(0x123)]=H,exports[_0x55eee7(0x151)]=y;
|
|
1
|
+
'use strict';const _0x3e10f9=_0x5538;(function(_0x579f47,_0x5cd40f){const _0x143c2f=_0x5538,_0x53dfa5=_0x579f47();while(!![]){try{const _0x544bc3=-parseInt(_0x143c2f(0x1a7))/0x1+parseInt(_0x143c2f(0x180))/0x2+-parseInt(_0x143c2f(0x163))/0x3*(-parseInt(_0x143c2f(0x1a4))/0x4)+parseInt(_0x143c2f(0x1ee))/0x5*(parseInt(_0x143c2f(0x201))/0x6)+-parseInt(_0x143c2f(0x1c5))/0x7*(parseInt(_0x143c2f(0x1c6))/0x8)+parseInt(_0x143c2f(0x23e))/0x9*(parseInt(_0x143c2f(0x200))/0xa)+-parseInt(_0x143c2f(0x1ac))/0xb;if(_0x544bc3===_0x5cd40f)break;else _0x53dfa5['push'](_0x53dfa5['shift']());}catch(_0x393dad){_0x53dfa5['push'](_0x53dfa5['shift']());}}}(_0x477f,0x5edf6));var A=Object[_0x3e10f9(0x1f0)],F=(_0x419884,_0x5baca2,_0x33fe3e)=>_0x5baca2 in _0x419884?A(_0x419884,_0x5baca2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33fe3e}):_0x419884[_0x5baca2]=_0x33fe3e,_=(_0x4e137b,_0xc391a0,_0x2ffc16)=>F(_0x4e137b,typeof _0xc391a0!=_0x3e10f9(0x191)?_0xc391a0+'':_0xc391a0,_0x2ffc16);Object[_0x3e10f9(0x1f0)](exports,Symbol[_0x3e10f9(0x24a)],{'value':'Module'});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b=_0x3e10f9(0x21a),T={};function D({ref:_0x1c4446,..._0x34852d}){const _0x35c9a3=_0x3e10f9,{icon:_0x40496d,id:_0x4f9224,className:_0x1180b5,extend:_0x5057a1,..._0x38a298}=_0x34852d,_0xb20bd9=(_0x35c9a3(0x1c7)+_0x4f9224+'\x20'+(_0x1180b5||''))[_0x35c9a3(0x1d8)](),_0x3143e9=U[_0x35c9a3(0x238)]('_'+Se());return q(_0x40496d,''+_0x4f9224,{'defIds':_0x40496d['defIds'],'idSuffix':_0x3143e9[_0x35c9a3(0x1cf)]},{'ref':_0x1c4446,'className':_0xb20bd9,..._0x38a298},_0x5057a1);}function q(_0x2ef315,_0x54efd9,_0x1a5b84,_0x43632d,_0x103df0){const _0x3e454a=_0x3e10f9;return U[_0x3e454a(0x1d9)](_0x2ef315[_0x3e454a(0x170)],{'key':_0x54efd9,...de(_0x2ef315,_0x1a5b84,_0x103df0),..._0x43632d},(_e(_0x2ef315,_0x1a5b84)[_0x3e454a(0x17c)]||[])[_0x3e454a(0x1ab)]((_0xd37026,_0x263d0e)=>q(_0xd37026,_0x54efd9+'-'+_0x2ef315[_0x3e454a(0x170)]+'-'+_0x263d0e,_0x1a5b84,void 0x0,_0x103df0)));}function de(_0x3ba673,_0x339e19,_0x3948cd){const _0x4c0196=_0x3e10f9,_0x1ebae3={..._0x3ba673[_0x4c0196(0x21c)]};_0x3948cd!=null&&_0x3948cd[_0x4c0196(0x1c3)]&&_0x1ebae3[_0x4c0196(0x244)]==='colorChannel1'&&(_0x1ebae3[_0x4c0196(0x244)]=_0x3948cd[_0x4c0196(0x1c3)]),_0x3ba673['tag']===_0x4c0196(0x22a)&&_0x1ebae3['id']&&(_0x1ebae3['id']=_0x1ebae3['id']+_0x339e19[_0x4c0196(0x1ec)]),Object[_0x4c0196(0x1d4)](_0x1ebae3)[_0x4c0196(0x23f)](([_0x2d9e85,_0xf5c588])=>{const _0x4057ed=_0x4c0196;_0x2d9e85==='mask'&&typeof _0xf5c588==_0x4057ed(0x1f2)&&(_0x1ebae3[_0x2d9e85]=_0xf5c588[_0x4057ed(0x1f1)](/url\(#(.*)\)/,_0x4057ed(0x171)+_0x339e19[_0x4057ed(0x1ec)]+')'));});const {defIds:_0x2e0101}=_0x339e19;return!_0x2e0101||_0x2e0101['length']===0x0||(_0x3ba673[_0x4c0196(0x170)]===_0x4c0196(0x240)&&_0x1ebae3['xlink:href']&&(_0x1ebae3[_0x4c0196(0x208)]=_0x1ebae3['xlink:href']+_0x339e19[_0x4c0196(0x1ec)]),Object[_0x4c0196(0x1d4)](_0x1ebae3)[_0x4c0196(0x23f)](([_0x1a459d,_0x40639b])=>{const _0x2525e8=_0x4c0196;typeof _0x40639b==_0x2525e8(0x1f2)&&(_0x1ebae3[_0x1a459d]=_0x40639b[_0x2525e8(0x1f1)](/url\(#(.*)\)/,'url(#$1'+_0x339e19[_0x2525e8(0x1ec)]+')'));})),_0x1ebae3;}function _e(_0x276225,_0x3c72ac){const _0x519082=_0x3e10f9;var _0x2a003c;const {defIds:_0x3d659e}=_0x3c72ac;return!_0x3d659e||_0x3d659e[_0x519082(0x1fa)]===0x0?_0x276225:_0x276225['tag']===_0x519082(0x16f)&&((_0x2a003c=_0x276225[_0x519082(0x17c)])!=null&&_0x2a003c['length'])?{..._0x276225,'children':_0x276225[_0x519082(0x17c)]['map'](_0x38efcd=>typeof _0x38efcd[_0x519082(0x21c)]['id']==_0x519082(0x1f2)&&_0x3d659e&&_0x3d659e[_0x519082(0x17d)](_0x38efcd['attrs']['id'])?{..._0x38efcd,'attrs':{..._0x38efcd[_0x519082(0x21c)],'id':_0x38efcd[_0x519082(0x21c)]['id']+_0x3c72ac[_0x519082(0x1ec)]}}:_0x38efcd)}:_0x276225;}function Se(){const _0x1c5ea6=_0x3e10f9;return Math['random']()[_0x1c5ea6(0x186)](0x24)['substring'](0x2,0x8);}D[_0x3e10f9(0x1d1)]=_0x3e10f9(0x184);const me={'tag':'svg','attrs':{'xmlns':_0x3e10f9(0x169),'fill':_0x3e10f9(0x1fb),'viewBox':_0x3e10f9(0x1a6),'width':'1em','height':_0x3e10f9(0x173)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3e10f9(0x24b)},'children':[{'tag':'path','attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0x3e10f9(0x1dc),'attrs':{'d':_0x3e10f9(0x1a1)}}]},{'tag':_0x3e10f9(0x16f),'attrs':{},'children':[{'tag':_0x3e10f9(0x237),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3e10f9(0x1dc),'attrs':{'fill':_0x3e10f9(0x214),'d':_0x3e10f9(0x21e)}}]}]}],'defIds':['history-icon_clip0_907_281']},$=U[_0x3e10f9(0x199)](function(_0x564321,_0x42233c){const _0x457b36=_0x3e10f9;return U[_0x457b36(0x1d9)](D,Object[_0x457b36(0x1f7)]({},_0x564321,{'id':_0x457b36(0x20a),'ref':_0x42233c,'icon':me}));});$[_0x3e10f9(0x1d1)]=_0x3e10f9(0x22c);function _0x5538(_0x179d1c,_0x3ee6e2){_0x179d1c=_0x179d1c-0x161;const _0x477f04=_0x477f();let _0x5538f0=_0x477f04[_0x179d1c];return _0x5538f0;}var ye=Object[_0x3e10f9(0x166)],pe=(_0x4922a8,_0x39c68c,_0x339726,_0x13cd7a)=>{const _0x5f492a=_0x3e10f9;for(var _0x1d28a=_0x13cd7a>0x1?void 0x0:_0x13cd7a?ye(_0x39c68c,_0x339726):_0x39c68c,_0x5024bf=_0x4922a8[_0x5f492a(0x1fa)]-0x1,_0x5b61f3;_0x5024bf>=0x0;_0x5024bf--)(_0x5b61f3=_0x4922a8[_0x5024bf])&&(_0x1d28a=_0x5b61f3(_0x1d28a)||_0x1d28a);return _0x1d28a;},g=(_0x147ca9,_0x1e3841)=>(_0x40d3f5,_0x216b1a)=>_0x1e3841(_0x40d3f5,_0x216b1a,_0x147ca9);const fe=_0x3e10f9(0x221),H=_0x3e10f9(0x17f),y=_0x3e10f9(0x181);exports['HistoryLoaderService']=class extends o[_0x3e10f9(0x19c)]{constructor(_0x293553,_0x1cb784,_0x40f184,_0x269837,_0x303359,_0x5239c8,_0x2c8696,_0x533bc5,_0x75ac5f,_0xafcb2f){const _0x507740=_0x3e10f9;super(),_(this,_0x507740(0x20e),new O[(_0x507740(0x1e1))](null)),_(this,_0x507740(0x1bc),this[_0x507740(0x20e)]['asObservable']()),_(this,_0x507740(0x1db),new o[(_0x507740(0x1b5))]()),_(this,_0x507740(0x1df),new Map()),(this['_localeService']=_0x293553,this[_0x507740(0x1d0)]=_0x1cb784,this[_0x507740(0x18e)]=_0x40f184,this[_0x507740(0x178)]=_0x269837,this[_0x507740(0x16c)]=_0x303359,this['_permissionService']=_0x5239c8,this[_0x507740(0x1a3)]=_0x2c8696,this[_0x507740(0x1e9)]=_0x533bc5,this[_0x507740(0x22d)]=_0x75ac5f,this[_0x507740(0x236)]=_0xafcb2f,this[_0x507740(0x207)]());}get[_0x3e10f9(0x209)](){const _0x54e31f=_0x3e10f9;return this['_historyUniver$'][_0x54e31f(0x1e6)];}['_init'](){const _0x6e53c9=_0x3e10f9;this['_initContainer'](),this[_0x6e53c9(0x1af)]();}[_0x3e10f9(0x185)](){const _0x5e2363=_0x3e10f9;var _0x2473cd;const _0xce01f3=(_0x2473cd=this[_0x5e2363(0x18e)][_0x5e2363(0x22b)](H))!=null?_0x2473cd:fe,_0x2d5976=document[_0x5e2363(0x167)](_0xce01f3);if(!_0x2d5976)return;const _0x2dba82=document[_0x5e2363(0x1d9)](_0x5e2363(0x1d6));_0x2dba82['id']=y,_0x2dba82['dataset']['uComp']='history-container',_0x2dba82[_0x5e2363(0x1b1)][_0x5e2363(0x1ba)]=_0x5e2363(0x1dd),_0x2dba82['style'][_0x5e2363(0x190)]='0',_0x2dba82[_0x5e2363(0x1b1)]['left']='0',_0x2dba82[_0x5e2363(0x1b1)][_0x5e2363(0x16b)]=_0x5e2363(0x1d7),_0x2dba82[_0x5e2363(0x1b1)][_0x5e2363(0x1e8)]='100%',_0x2dba82[_0x5e2363(0x1b1)][_0x5e2363(0x1ad)]='1000',_0x2dba82['style']['display']=_0x5e2363(0x1fb),_0x2d5976[_0x5e2363(0x222)](_0x2dba82);}[_0x3e10f9(0x1af)](){const _0x2d90e8=_0x3e10f9;var _0x4e4d29,_0x4e8494,_0x5653fc,_0x3721e8;[[X['UniverRenderEnginePlugin']],[h[_0x2d90e8(0x227)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x2d90e8(0x17a)],null]]}],[ee[_0x2d90e8(0x1fd)]],[N['UniverDrawingPlugin'],{'override':[[N[_0x2d90e8(0x1b7)],null]]}],[z[_0x2d90e8(0x216)],{'hasScroll':!0x1}],[Z[_0x2d90e8(0x1ed)]],[ve[_0x2d90e8(0x246)]],[d[_0x2d90e8(0x1c2)],{'notExecuteFormula':!0x0}],[k['UniverSheetsUIPlugin']],[le['UniverSheetsFormulaPlugin']],[ue[_0x2d90e8(0x24e)]],[C[_0x2d90e8(0x234)]],[ae[_0x2d90e8(0x17e)]],[ce[_0x2d90e8(0x19a)]],[ie[_0x2d90e8(0x188)]],[te[_0x2d90e8(0x232)]],[he['UniverSheetsHyperLinkPlugin']],[ge['UniverSheetsHyperLinkUIPlugin']],[B[_0x2d90e8(0x1be)]],[re[_0x2d90e8(0x220)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[R[_0x2d90e8(0x162)],{'workerURL':(_0x4e8494=(_0x4e4d29=this[_0x2d90e8(0x18e)][_0x2d90e8(0x22b)](R[_0x2d90e8(0x1e7)]))==null?void 0x0:_0x4e4d29[_0x2d90e8(0x18f)])!=null?_0x4e8494:_0x2d90e8(0x242)}],[J[_0x2d90e8(0x1ef)]],[se['UniverSheetsDrawingPlugin']],[oe[_0x2d90e8(0x179)]],[K[_0x2d90e8(0x211)]],[W[_0x2d90e8(0x1bb)]],[V[_0x2d90e8(0x1b2)]],[G['UniverSheetsChartUIPlugin']],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m[_0x2d90e8(0x23d)],{'historyListServerUrl':(_0x5653fc=this['_configService'][_0x2d90e8(0x22b)](b))==null?void 0x0:_0x5653fc[_0x2d90e8(0x193)],'historyPanelComponentKey':(_0x3721e8=this['_configService'][_0x2d90e8(0x22b)](b))==null?void 0x0:_0x3721e8[_0x2d90e8(0x18d)]}]][_0x2d90e8(0x23f)](([_0x1a0c1c,_0x7dcd9e])=>this[_0x2d90e8(0x1e4)](_0x1a0c1c,_0x7dcd9e));}[_0x3e10f9(0x197)](){const _0x487042=_0x3e10f9;super['dispose'](),this[_0x487042(0x1da)](),this[_0x487042(0x1df)][_0x487042(0x24d)]();}['registerPlugin'](_0x18abff,_0x197b0a,_0x472e61){const _0x1881d3=_0x3e10f9;if(this[_0x1881d3(0x1df)][_0x1881d3(0x1cd)](_0x18abff['pluginName'])&&!_0x472e61)throw new Error(_0x1881d3(0x1fc)+_0x18abff[_0x1881d3(0x233)]+_0x1881d3(0x1e3));this[_0x1881d3(0x1df)][_0x1881d3(0x20d)](_0x18abff[_0x1881d3(0x233)],[_0x18abff,_0x197b0a]);}['getAllPlugins'](){const _0x26cfd6=_0x3e10f9;return Array[_0x26cfd6(0x202)](this['_pluginMap'][_0x26cfd6(0x241)]());}[_0x3e10f9(0x1ea)](_0x53612d){const _0x3356e8=_0x3e10f9,_0x5166c7=document[_0x3356e8(0x167)](y);_0x5166c7&&(_0x5166c7[_0x3356e8(0x1b1)][_0x3356e8(0x21d)]='block',this['_initUniver'](_0x53612d,y));}['unMountHistoryContent'](){const _0x2f124a=_0x3e10f9;var _0x232afc;this[_0x2f124a(0x1db)]['dispose'](),(_0x232afc=this['historyUniver'])==null||_0x232afc[_0x2f124a(0x197)](),this[_0x2f124a(0x20e)]['next'](null);const _0x4319e4=document[_0x2f124a(0x167)](y);_0x4319e4&&(_0x4319e4['style']['display']=_0x2f124a(0x1fb));}['_initUniver'](_0x14920e,_0x251552){const _0xdc096b=_0x3e10f9;if(this[_0xdc096b(0x209)])return;const _0x4c437b=new o[(_0xdc096b(0x213))]({'locales':{[this[_0xdc096b(0x16e)][_0xdc096b(0x223)]()]:this[_0xdc096b(0x16e)][_0xdc096b(0x175)]()},'override':[[o[_0xdc096b(0x1f5)],{'useClass':p[_0xdc096b(0x1a9)]}]]}),_0x2da76f=_0x4c437b[_0xdc096b(0x228)]();this[_0xdc096b(0x239)](this['_themeService'][_0xdc096b(0x18a)][_0xdc096b(0x1f6)](_0x937ab6=>{const _0x3fabea=_0xdc096b;_0x2da76f[_0x3fabea(0x196)](o[_0x3fabea(0x226)])[_0x3fabea(0x174)](_0x937ab6);})),this['disposeWithMe'](this[_0xdc096b(0x236)][_0xdc096b(0x1a0)][_0xdc096b(0x1f6)](_0x31148d=>{const _0x3504b8=_0xdc096b;_0x2da76f['get'](o['ThemeService'])[_0x3504b8(0x195)](_0x31148d);})),_0x2da76f[_0xdc096b(0x196)](o[_0xdc096b(0x189)])[_0xdc096b(0x1aa)](this['_localeService'][_0xdc096b(0x223)]()),_0x2da76f[_0xdc096b(0x196)](o[_0xdc096b(0x19b)])[_0xdc096b(0x247)](p[_0xdc096b(0x21f)],this[_0xdc096b(0x18e)][_0xdc096b(0x22b)](p[_0xdc096b(0x21f)]));const _0x3d577c=this[_0xdc096b(0x18e)][_0xdc096b(0x22b)](L[_0xdc096b(0x1ae)]);_0x3d577c&&_0x4c437b[_0xdc096b(0x1e4)](L[_0xdc096b(0x218)],{'license':_0x3d577c['ls']}),this[_0xdc096b(0x1df)][_0xdc096b(0x23f)](([_0x3ea86e,_0x1e2626])=>{const _0x15b76c=_0xdc096b;_0x4c437b[_0x15b76c(0x1e4)](_0x3ea86e,_0x1e2626);}),_0x2da76f[_0xdc096b(0x1b9)](_0x8f3880=>{const _0x2e45b3=_0xdc096b;this[_0x2e45b3(0x161)](_0x8f3880,_0x14920e);}),this[_0xdc096b(0x20e)][_0xdc096b(0x20c)](_0x4c437b);const _0x182e90=_0x2da76f[_0xdc096b(0x196)](m['HistoryManagerService']),_0x465a78=this[_0xdc096b(0x177)](_0x14920e);_0x182e90['triggerLoadVersions'](_0x14920e,_0x251552,_0x465a78);}[_0x3e10f9(0x161)](_0xcf8cf7,_0x3fd629){const _0x193508=_0x3e10f9,_0x84d8b7=_0xcf8cf7[_0x193508(0x196)](m[_0x193508(0x1cc)]);this[_0x193508(0x1db)][_0x193508(0x16d)](_0x84d8b7[_0x193508(0x19d)][_0x193508(0x1f6)](_0x57f702=>{const _0x1d63e5=_0x193508;switch(_0x57f702){case m[_0x1d63e5(0x19f)]['Entered']:this[_0x1d63e5(0x1e9)][_0x1d63e5(0x1bd)](),this['_sidebarService'][_0x1d63e5(0x21b)]();break;case m[_0x1d63e5(0x19f)]['Exited']:this[_0x1d63e5(0x178)][_0x1d63e5(0x1e5)](j['id']),this[_0x1d63e5(0x1da)]();break;case m[_0x1d63e5(0x19f)][_0x1d63e5(0x1f9)]:this['unMountHistoryContent'](),this[_0x1d63e5(0x16c)][_0x1d63e5(0x198)]({'content':this[_0x1d63e5(0x16e)]['t'](_0x1d63e5(0x1c8)),'type':P[_0x1d63e5(0x1d3)][_0x1d63e5(0x1f9)],'duration':0xbb8});break;}})),this[_0x193508(0x1db)]['add'](_0x84d8b7['revertRevision$'][_0x193508(0x1f6)](async _0x16a37d=>{const _0x334ab1=_0x193508;_0x16a37d&&this[_0x334ab1(0x178)]['executeCommand'](C[_0x334ab1(0x203)]['id'],{'unitId':_0x3fd629,'revision':_0x16a37d});}));}[_0x3e10f9(0x177)](_0x46b593){const _0xe88281=_0x3e10f9,_0x3c59ad=this['_univerInstanceService'][_0xe88281(0x204)](_0x46b593)[_0xe88281(0x23b)]()[_0xe88281(0x1ab)](_0x580590=>_0x580590[_0xe88281(0x1b8)]()),_0x153b72=new d[(_0xe88281(0x1f8))](_0x46b593)['id'],_0x2d3dec=_0x3c59ad[_0xe88281(0x1ab)](_0x592f29=>new d[(_0xe88281(0x20b))](_0x46b593,_0x592f29)['id']),_0x3ecaed=_0x3c59ad[_0xe88281(0x1ab)](_0x32646f=>this[_0xe88281(0x1a3)][_0xe88281(0x1de)](_0x46b593,_0x32646f)[_0xe88281(0x1ab)](_0x385067=>new d['RangeProtectionPermissionEditPoint'](_0x46b593,_0x32646f,_0x385067['permissionId'])['id']))[_0xe88281(0x230)](),_0x2a604c=new d[(_0xe88281(0x1cb))](_0x46b593)['id'];return this[_0xe88281(0x1e2)]['composePermission']([_0x153b72,..._0x2d3dec,..._0x3ecaed,_0x2a604c])[_0xe88281(0x206)](_0x12aa36=>!!_0x12aa36[_0xe88281(0x1e6)]);}},exports[_0x3e10f9(0x1a8)]=pe([g(0x0,o[_0x3e10f9(0x18c)](o['LocaleService'])),g(0x1,o['IUniverInstanceService']),g(0x2,o[_0x3e10f9(0x19b)]),g(0x3,o[_0x3e10f9(0x231)]),g(0x4,h[_0x3e10f9(0x1e0)]),g(0x5,o[_0x3e10f9(0x164)]),g(0x6,o['Inject'](d[_0x3e10f9(0x22e)])),g(0x7,o[_0x3e10f9(0x18c)](h[_0x3e10f9(0x17a)])),g(0x8,o[_0x3e10f9(0x18c)](h[_0x3e10f9(0x1c4)])),g(0x9,o[_0x3e10f9(0x18c)](o[_0x3e10f9(0x226)]))],exports[_0x3e10f9(0x1a8)]);const M={'id':_0x3e10f9(0x243),'type':o[_0x3e10f9(0x215)][_0x3e10f9(0x23c)],'handler':_0x2b6153=>{const _0x29ee7a=_0x3e10f9,_0x14de99=_0x2b6153[_0x29ee7a(0x196)](exports[_0x29ee7a(0x1a8)]),_0x1f2693=_0x2b6153[_0x29ee7a(0x196)](o['IUniverInstanceService']),{unitId:_0x5eb9d4}=d[_0x29ee7a(0x235)](_0x1f2693)||{};return _0x5eb9d4?(_0x14de99[_0x29ee7a(0x1ea)](_0x5eb9d4),!0x0):!0x1;}},j={'id':_0x3e10f9(0x24c),'type':o['CommandType'][_0x3e10f9(0x23c)],'handler':()=>!0x0};function _0x477f(){const _0x5f1a85=['UNIVER_HISTORY_CONTAINER_ID','current','_univerInstanceService','displayName','editHistory.panel.title','MessageType','entries','menu','div','100%','trim','createElement','unMountHistoryContent','_disposableCollection','path','absolute','getSubunitRuleList','_pluginMap','IMessageService','BehaviorSubject','_permissionService','\x20has\x20been\x20registered.','registerPlugin','executeCommand','value','PLUGIN_CONFIG_KEY_MAIN_THREAD','height','_dialogService','mountHistoryContent','_componentManager','idSuffix','UniverDocsUIPlugin','113845vDFNPa','UniverDrawingUIPlugin','defineProperty','replace','string','RibbonStartGroup','mutations','IAuthzIoService','subscribe','assign','WorkbookEditablePermission','Error','length','none','[HistoryLoaderService]:\x20Plugin\x20','UniverNetworkPlugin','reload','registerCommand','110xXSULu','174vtWwvl','from','RevertRevisionMutation','getUnit','UNIVER_SHEET','every','_init','xlink:href','historyUniver','history-icon','WorksheetEditPermission','next','set','_historyUniver$','unsubscribe','univerContainerId','UniverSheetSparklinePlugin','UNIVER_UNKNOWN','Univer','white','CommandType','UniverDocsPlugin','onStarting','UniverLicensePlugin','WorkbookViewHistoryPermission','edit-history-loader.config','close','attrs','display','M0\x200H16V16H0z','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsDataValidationPlugin','univer-container','appendChild','getCurrentLocale','RxDisposable','UniverInstanceType','ThemeService','UniverUIPlugin','__getInjector','UniverEditHistoryLoaderPlugin','mask','getConfig','HistoryIcon','_sidebarService','RangeProtectionRuleModel','IMenuManagerService','flat','ICommandService','UniverSheetsConditionalFormattingUIPlugin','pluginName','UniverCollaborationPlugin','getSheetCommandTarget','_themeService','clipPath','useRef','disposeWithMe','status','getSheets','OPERATION','UniverEditHistoryViewerPlugin','26739lirSDQ','forEach','use','values','./worker.js','univer.operation.toggle-edit-history','fill','_config','UniverSheetsNumfmtPlugin','setConfig','CollaborationStatus','params','toStringTag','url(#history-icon_clip0_907_281)','univer.operation.exit-edit-history','clear','UniverSheetsFormulaUIPlugin','_localCacheService','OTHERS','_initListener','UniverRPCMainThreadPlugin','15HSdXrQ','IPermissionService','eventID','getOwnPropertyDescriptor','getElementById','onSteady','http://www.w3.org/2000/svg','toDisposable','width','_messageService','add','_localeService','defs','tag','url(#$1','SYNCED','1em','setDarkMode','getLocales','_historyManagerService','_checkCanRevert','_commandService','UniverSheetsDrawingUIPlugin','IDialogService','register','children','includes','UniverSheetsFilterPlugin','UNIVER_CONTAINER_ID','1332434aKhAEQ','univer-history-container','merge','CHANGESET_ACK','UniverIcon','_initContainer','toString','some','UniverSheetsConditionalFormattingPlugin','LocaleService','darkMode$','Loading','Inject','historyPanelComponentKey','_configService','workerURL','top','symbol','_collaborationController','historyListServerUrl','CollaborationController','setTheme','get','dispose','show','forwardRef','UniverSheetsFilterUIPlugin','IConfigService','Disposable','status$','editHistory.panel.reverting','HistoryModeStatus','currentTheme$','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','ILocalCacheService','_selectionProtectionRuleModel','454612RMPgDj','mergeMenu','0\x200\x2016\x2016','172930LSNyUE','HistoryLoaderService','AuthzIoHttpService','setLocale','map','10571693lHfdoD','zIndex','LS_CONFIG_KEY','_initPlugins','_injector','style','UniverSheetsChartPlugin','_menuManagerService','getCollabEntity','DisposableCollection','ComponentManager','IImageIoService','getSheetId','invoke','position','UniverSheetSparklineUIPlugin','historyUniver$','closeAll','UniverDataValidationPlugin','Injector','event$','_revertErrorTimer','UniverSheetsPlugin','colorChannel1','ISidebarService','404873BRhmcd','56JdIDnf','univerjs-icon\x20univerjs-icon-','editHistory.panel.listFetchError','onCommandExecuted','CollaborationEvent','WorkbookRecoverHistoryPermission','HistoryManagerService','has'];_0x477f=function(){return _0x5f1a85;};return _0x477f();}function Ce(_0x42bd56){const _0x3ffb0e=_0x3e10f9;return{'id':M['id'],'type':h['MenuItemType']['BUTTON'],'icon':_0x3ffb0e(0x22c),'tooltip':_0x3ffb0e(0x1d2),'hidden$':h['getMenuHiddenObservable'](_0x42bd56,o['UniverInstanceType'][_0x3ffb0e(0x205)]),'disabled$':k['getCurrentRangeDisable$'](_0x42bd56,{'workbookTypes':[d[_0x3ffb0e(0x1f8)],d[_0x3ffb0e(0x219)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x3e10f9(0x1f3)][_0x3e10f9(0x250)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x3e10f9(0x166)],Ee=(_0xf00abb,_0x52c7cf,_0x1cb5bf,_0x25623f)=>{const _0x3660b8=_0x3e10f9;for(var _0x190233=_0x25623f>0x1?void 0x0:_0x25623f?Ue(_0x52c7cf,_0x1cb5bf):_0x52c7cf,_0x14567d=_0xf00abb[_0x3660b8(0x1fa)]-0x1,_0x57c548;_0x14567d>=0x0;_0x14567d--)(_0x57c548=_0xf00abb[_0x14567d])&&(_0x190233=_0x57c548(_0x190233)||_0x190233);return _0x190233;},S=(_0x26b0bc,_0x11ffa4)=>(_0x51bfce,_0x18dba9)=>_0x11ffa4(_0x51bfce,_0x18dba9,_0x26b0bc);let E=class extends o[_0x3e10f9(0x224)]{constructor(_0x4c9d95,_0x2ed9c1,_0x5ac804,_0x233806,_0x4dba10,_0x5805e8,_0x4cc315,_0x4cd9c2){const _0x516f86=_0x3e10f9;super(),_(this,'_revertErrorTimer',null),(this[_0x516f86(0x178)]=_0x4c9d95,this[_0x516f86(0x1b3)]=_0x2ed9c1,this[_0x516f86(0x1eb)]=_0x5ac804,this[_0x516f86(0x176)]=_0x233806,this[_0x516f86(0x16e)]=_0x4dba10,this[_0x516f86(0x16c)]=_0x5805e8,this[_0x516f86(0x192)]=_0x4cc315,this[_0x516f86(0x24f)]=_0x4cd9c2,this[_0x516f86(0x207)]());}[_0x3e10f9(0x207)](){const _0x10d274=_0x3e10f9;[M,j][_0x10d274(0x23f)](_0x24d091=>this[_0x10d274(0x239)](o[_0x10d274(0x16a)](this[_0x10d274(0x178)][_0x10d274(0x1ff)](_0x24d091)))),this[_0x10d274(0x239)](this[_0x10d274(0x1eb)][_0x10d274(0x17b)](_0x10d274(0x22c),$)),this[_0x10d274(0x1b3)][_0x10d274(0x1a5)](Ie),this['disposeWithMe'](this[_0x10d274(0x178)][_0x10d274(0x1c9)](_0x5ebea5=>{const _0x475464=_0x10d274;if(_0x5ebea5['id']===C[_0x475464(0x203)]['id']){this['_messageService'][_0x475464(0x198)]({'content':this[_0x475464(0x16e)]['t'](_0x475464(0x19e)),'type':P[_0x475464(0x1d3)][_0x475464(0x18b)],'duration':0x1388});const {unitId:_0x133328}=_0x5ebea5[_0x475464(0x249)],_0x3a1f12=this[_0x475464(0x192)][_0x475464(0x1b4)](_0x133328),_0x5b6359=O['combineLatest']([_0x3a1f12['session'][_0x475464(0x1c0)],_0x3a1f12['state$']])[_0x475464(0x1f6)](async([_0x5e021f,_0x576845])=>{const _0x4e2cfa=_0x475464;var _0x1ef17a;_0x5e021f[_0x4e2cfa(0x165)]===C[_0x4e2cfa(0x1ca)][_0x4e2cfa(0x183)]&&(_0x576845==null?void 0x0:_0x576845[_0x4e2cfa(0x23a)])===p[_0x4e2cfa(0x248)][_0x4e2cfa(0x172)]&&_0x5e021f['data'][_0x4e2cfa(0x1f4)][_0x4e2cfa(0x187)](_0x5b14ec=>_0x5b14ec['id']===C[_0x4e2cfa(0x203)]['id'])&&(this[_0x4e2cfa(0x176)][_0x4e2cfa(0x1da)](),_0x5b6359[_0x4e2cfa(0x20f)](),this[_0x4e2cfa(0x1c1)]&&clearTimeout(this[_0x4e2cfa(0x1c1)]),await((_0x1ef17a=this[_0x4e2cfa(0x24f)])==null?void 0x0:_0x1ef17a['exhaustSavingTask']()),setTimeout(()=>window['location'][_0x4e2cfa(0x1fe)]()));});this[_0x475464(0x1c1)]=setTimeout(()=>{const _0x501ab2=_0x475464;_0x5b6359[_0x501ab2(0x20f)](),this[_0x501ab2(0x16c)][_0x501ab2(0x198)]({'content':this[_0x501ab2(0x16e)]['t']('editHistory.panel.revertFailed'),'type':P[_0x501ab2(0x1d3)][_0x501ab2(0x1f9)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0x3e10f9(0x231)]),S(0x1,h[_0x3e10f9(0x22f)]),S(0x2,o['Inject'](h[_0x3e10f9(0x1b6)])),S(0x3,o[_0x3e10f9(0x18c)](exports[_0x3e10f9(0x1a8)])),S(0x4,o['Inject'](o['LocaleService'])),S(0x5,h[_0x3e10f9(0x1e0)]),S(0x6,o[_0x3e10f9(0x18c)](p[_0x3e10f9(0x194)])),S(0x7,p[_0x3e10f9(0x1a2)])],E);var Pe=Object[_0x3e10f9(0x166)],be=(_0x3a658b,_0x969cd8,_0x5d1f6c,_0x181ab2)=>{for(var _0x2f6d2c=_0x181ab2>0x1?void 0x0:_0x181ab2?Pe(_0x969cd8,_0x5d1f6c):_0x969cd8,_0xcecbae=_0x3a658b['length']-0x1,_0x22f798;_0xcecbae>=0x0;_0xcecbae--)(_0x22f798=_0x3a658b[_0xcecbae])&&(_0x2f6d2c=_0x22f798(_0x2f6d2c)||_0x2f6d2c);return _0x2f6d2c;},w=(_0x53d49d,_0x56d1bb)=>(_0xecb87c,_0x7f851f)=>_0x56d1bb(_0xecb87c,_0x7f851f,_0x53d49d);const He='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var I;exports[_0x3e10f9(0x229)]=(I=class extends o['Plugin']{constructor(_0x54b79f=T,_0x4d5a8e,_0x26f5f5){const _0x5c7a59=_0x3e10f9;super(),this[_0x5c7a59(0x245)]=_0x54b79f,this[_0x5c7a59(0x1b0)]=_0x4d5a8e,this['_configService']=_0x26f5f5;const {menu:_0x1f85fb,..._0x209454}=o[_0x5c7a59(0x182)]({},T,this[_0x5c7a59(0x245)]);_0x1f85fb&&this['_configService']['setConfig'](_0x5c7a59(0x1d5),_0x1f85fb,{'merge':!0x0}),this[_0x5c7a59(0x18e)][_0x5c7a59(0x247)](b,_0x209454),this['_config']['univerContainerId']&&this[_0x5c7a59(0x18e)][_0x5c7a59(0x247)](H,this[_0x5c7a59(0x245)][_0x5c7a59(0x210)]);}[_0x3e10f9(0x217)](){const _0x2fca1e=_0x3e10f9;[[exports[_0x2fca1e(0x1a8)]],[E]][_0x2fca1e(0x23f)](_0x2662e5=>this[_0x2fca1e(0x1b0)][_0x2fca1e(0x16d)](_0x2662e5));}[_0x3e10f9(0x168)](){const _0x3d06d8=_0x3e10f9;this[_0x3d06d8(0x1b0)][_0x3d06d8(0x196)](E);}},_(I,'type',o[_0x3e10f9(0x225)][_0x3e10f9(0x212)]),_(I,_0x3e10f9(0x233),He),I),exports['UniverEditHistoryLoaderPlugin']=be([w(0x1,o['Inject'](o[_0x3e10f9(0x1bf)])),w(0x2,o[_0x3e10f9(0x19b)])],exports[_0x3e10f9(0x229)]),exports['UNIVER_CONTAINER_ID_KEY']=H,exports[_0x3e10f9(0x1ce)]=y;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x135cd7=_0x339d;(function(_0x62b8b7,_0x21862d){const _0x1a2048=_0x339d,_0x34a78d=_0x62b8b7();while(!![]){try{const _0x2ff134=parseInt(_0x1a2048(0x1af))/0x1*(parseInt(_0x1a2048(0x136))/0x2)+parseInt(_0x1a2048(0x1ab))/0x3+parseInt(_0x1a2048(0x19a))/0x4+parseInt(_0x1a2048(0x177))/0x5*(-parseInt(_0x1a2048(0x19b))/0x6)+-parseInt(_0x1a2048(0x13d))/0x7*(-parseInt(_0x1a2048(0x17a))/0x8)+-parseInt(_0x1a2048(0x18a))/0x9+parseInt(_0x1a2048(0x1c8))/0xa*(-parseInt(_0x1a2048(0x166))/0xb);if(_0x2ff134===_0x21862d)break;else _0x34a78d['push'](_0x34a78d['shift']());}catch(_0x4ae326){_0x34a78d['push'](_0x34a78d['shift']());}}}(_0xbfba,0xcb18f));var Y=Object[_0x135cd7(0x17d)],B=(_0x9c7b45,_0x37a79c,_0x813623)=>_0x37a79c in _0x9c7b45?Y(_0x9c7b45,_0x37a79c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x813623}):_0x9c7b45[_0x37a79c]=_0x813623,g=(_0x44bfb5,_0x463e36,_0x2a7ad3)=>B(_0x44bfb5,typeof _0x463e36!=_0x135cd7(0x149)?_0x463e36+'':_0x463e36,_0x2a7ad3);import{Inject as _0x2aae2f,LocaleService as _0x4d4df9,IUniverInstanceService as _0x117fb2,IConfigService as _0x54ab8f,ICommandService as _0x3b5324,IPermissionService as _0x85ae2b,ThemeService as _0x5301ff,Disposable as _0xfe8920,DisposableCollection as _0x48961d,Univer as _0x1754e5,IAuthzIoService as _0x9eaaa9,CommandType as _0x4f02fa,UniverInstanceType as _0x58e94f,RxDisposable as _0x4a20e6,toDisposable as _0x5687bd,Plugin as _0x5cb958,merge as _0x13da1a,Injector as _0x59f36f}from'@univerjs/core';import{UniverCollaborationPlugin as _0x518d03,RevertRevisionMutation as _0x115885,CollaborationEvent as _0x49fb82}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x54ff2d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f8bf6,CollaborationController as _0x1df266,ILocalCacheService as _0x2724e7,CollaborationStatus as _0x2d4596}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2bd01}from'@univerjs/design';import{useRef as _0x2f845d,createElement as _0x3ec4cb,forwardRef as _0xae00fa}from'react';import{IMessageService as _0x54521c,IDialogService as _0x152aee,ISidebarService as _0xa12dd6,UniverUIPlugin as _0x47a3e5,getMenuHiddenObservable as _0x1d9f25,MenuItemType as _0x1ef55d,RibbonStartGroup as _0x4fb220,IMenuManagerService as _0x39cebb,ComponentManager as _0x3a2560}from'@univerjs/ui';import{BehaviorSubject as _0x176935,combineLatest as _0x3069c0}from'rxjs';import{RangeProtectionRuleModel as _0x5f2284,UniverSheetsPlugin as _0xfd287c,WorkbookEditablePermission as _0x1c0b5e,WorksheetEditPermission as _0x577dc2,RangeProtectionPermissionEditPoint as _0x309445,WorkbookRecoverHistoryPermission as _0x337e2b,getSheetCommandTarget as _0xb1734d,WorkbookViewHistoryPermission as _0x2a8295}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x4f5627,HistoryManagerService as _0x289563,HistoryModeStatus as _0x30b1e4}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4ff0c3,UniverLicensePlugin as _0x598a57}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x37f1e3}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x38c7ed}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x127dbc}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x16dccf}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x58bae6}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x883abf}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x131ad7}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x3b8b13}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x420a7,IImageIoService as _0x13fa54}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x462922}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5d9619}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x59fcbc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x8f2baf}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x17558a,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x5243d0}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x71eaed}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x572eb9}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x3c2292}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0xb8f3f5}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39e423}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x38df1a}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x31796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x55fc0f}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x3e6512}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0xb98e50}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x51232b}from'@univerjs/sheets-hyper-link';function _0xbfba(){const _0x16214e=['colorChannel1','univerjs-icon\x20univerjs-icon-','triggerLoadVersions','mutations','CHANGESET_ACK','_collaborationController','M0\x200H16V16H0z','historyListServerUrl','historyPanelComponentKey','\x20has\x20been\x20registered.','idSuffix','executeCommand','reload','getElementById','session','univer.operation.exit-edit-history','defs','dataset','_dialogService','566002GJPdsO','mountHistoryContent','getSheets','_themeService','editHistory.panel.revertFailed','every','permissionId','77sivnKz','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','display','univer.operation.toggle-edit-history','_selectionProtectionRuleModel','unMountHistoryContent','getUnit','map','_permissionService','event$','UNIVER_CONTAINER_ID','__getInjector','symbol','registerPlugin','height','historyUniver','children','univerContainerId','asObservable','_initContainer','fill','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','path','location','forEach','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_componentManager','white','pluginName','assign','type','invoke','register','data','_sidebarService','toString','_initPlugins','defIds','disposeWithMe','block','1em','11653807lQgvfu','url(#history-icon_clip0_907_281)','workerURL','status$','get','_localeService','_configService','_pluginMap','_revertErrorTimer','univer-history-container','set','[HistoryLoaderService]:\x20Plugin\x20','flat','_injector','string','none','url(#$1','676385LheqBD','_historyManagerService','100%','160424GTBsCf','getConfig','position','defineProperty','use','UNIVER_UNKNOWN','unsubscribe','_config','currentTheme$','_menuManagerService','_initUniver','BUTTON','_init','Exited','history-icon_clip0_907_281','zIndex','1622853XQKYmE','setTheme','trim','subscribe','clear','close','history-container','_historyUniver$','HistoryIcon','0\x200\x2016\x2016','clipPath','random','xlink:href','editHistory.panel.listFetchError','univer-container','value','3788176bSZmYs','42TkDvpg','onStarting','displayName','attrs','dispose','substring','show','some','replace','menu','darkMode$','UniverIcon','_checkCanRevert','_messageService','_initListener','composePermission','4703856zwQCTz','svg','getSubunitRuleList','OPERATION','1gSWyxV','UNIVER_SHEET','currentColor','_localCacheService','getOwnPropertyDescriptor','_commandService','setDarkMode','./worker.js','history-icon','1000','tag','Error','getCurrentLocale','entries','editHistory.panel.title','length','has','status','createElement','SYNCED','_disposableCollection','mergeMenu','uComp','setConfig','historyUniver$','10BECoeG','div','style','Loading','OTHERS','add','exhaustSavingTask','revertRevision$','onCommandExecuted'];_0xbfba=function(){return _0x16214e;};return _0xbfba();}import{UniverSheetsHyperLinkUIPlugin as _0x516de1}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x28865f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x588fcd,getCurrentRangeDisable$ as _0x59c368}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x465aee,..._0x11fe9a}){const _0x3beb7d=_0x135cd7,{icon:_0x46313d,id:_0x538504,className:_0x4012c8,extend:_0xa48a31,..._0x104fa7}=_0x11fe9a,_0x3b4c2b=(_0x3beb7d(0x124)+_0x538504+'\x20'+(_0x4012c8||''))[_0x3beb7d(0x18c)](),_0x4aa75a=_0x2f845d('_'+hi());return j(_0x46313d,''+_0x538504,{'defIds':_0x46313d[_0x3beb7d(0x162)],'idSuffix':_0x4aa75a['current']},{'ref':_0x465aee,'className':_0x3b4c2b,..._0x104fa7},_0xa48a31);}function j(_0x1215bc,_0x230d7f,_0xb12d70,_0x520664,_0x736c91){const _0x467299=_0x135cd7;return _0x3ec4cb(_0x1215bc[_0x467299(0x1b9)],{'key':_0x230d7f,...ci(_0x1215bc,_0xb12d70,_0x736c91),..._0x520664},(li(_0x1215bc,_0xb12d70)[_0x467299(0x14d)]||[])['map']((_0xc68c17,_0x497153)=>j(_0xc68c17,_0x230d7f+'-'+_0x1215bc['tag']+'-'+_0x497153,_0xb12d70,void 0x0,_0x736c91)));}function ci(_0x4f74d4,_0x1e30d5,_0x24da99){const _0x146895=_0x135cd7,_0xd8a858={..._0x4f74d4[_0x146895(0x19e)]};_0x24da99!=null&&_0x24da99[_0x146895(0x123)]&&_0xd8a858['fill']==='colorChannel1'&&(_0xd8a858[_0x146895(0x151)]=_0x24da99[_0x146895(0x123)]),_0x4f74d4[_0x146895(0x1b9)]==='mask'&&_0xd8a858['id']&&(_0xd8a858['id']=_0xd8a858['id']+_0x1e30d5['idSuffix']),Object[_0x146895(0x1bc)](_0xd8a858)[_0x146895(0x155)](([_0x3fdb6d,_0x322bc4])=>{const _0x4aed92=_0x146895;_0x3fdb6d==='mask'&&typeof _0x322bc4==_0x4aed92(0x174)&&(_0xd8a858[_0x3fdb6d]=_0x322bc4[_0x4aed92(0x1a3)](/url\(#(.*)\)/,_0x4aed92(0x176)+_0x1e30d5[_0x4aed92(0x12d)]+')'));});const {defIds:_0x5838f6}=_0x1e30d5;return!_0x5838f6||_0x5838f6['length']===0x0||(_0x4f74d4[_0x146895(0x1b9)]===_0x146895(0x17e)&&_0xd8a858[_0x146895(0x196)]&&(_0xd8a858[_0x146895(0x196)]=_0xd8a858[_0x146895(0x196)]+_0x1e30d5[_0x146895(0x12d)]),Object[_0x146895(0x1bc)](_0xd8a858)[_0x146895(0x155)](([_0x655af4,_0x8f42bb])=>{const _0x5d94b9=_0x146895;typeof _0x8f42bb=='string'&&(_0xd8a858[_0x655af4]=_0x8f42bb[_0x5d94b9(0x1a3)](/url\(#(.*)\)/,'url(#$1'+_0x1e30d5[_0x5d94b9(0x12d)]+')'));})),_0xd8a858;}function li(_0xa66c94,_0x5eca65){const _0x2f2876=_0x135cd7;var _0x3b0336;const {defIds:_0xdcc92f}=_0x5eca65;return!_0xdcc92f||_0xdcc92f[_0x2f2876(0x1be)]===0x0?_0xa66c94:_0xa66c94['tag']===_0x2f2876(0x133)&&((_0x3b0336=_0xa66c94[_0x2f2876(0x14d)])!=null&&_0x3b0336[_0x2f2876(0x1be)])?{..._0xa66c94,'children':_0xa66c94['children'][_0x2f2876(0x144)](_0x78b8cd=>typeof _0x78b8cd[_0x2f2876(0x19e)]['id']==_0x2f2876(0x174)&&_0xdcc92f&&_0xdcc92f['includes'](_0x78b8cd[_0x2f2876(0x19e)]['id'])?{..._0x78b8cd,'attrs':{..._0x78b8cd[_0x2f2876(0x19e)],'id':_0x78b8cd['attrs']['id']+_0x5eca65[_0x2f2876(0x12d)]}}:_0x78b8cd)}:_0xa66c94;}function hi(){const _0x4a007c=_0x135cd7;return Math[_0x4a007c(0x195)]()[_0x4a007c(0x160)](0x24)[_0x4a007c(0x1a0)](0x2,0x8);}F[_0x135cd7(0x19d)]=_0x135cd7(0x1a6);const ui={'tag':_0x135cd7(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x135cd7(0x193),'width':_0x135cd7(0x165),'height':_0x135cd7(0x165)},'children':[{'tag':'g','attrs':{'fill':_0x135cd7(0x1b1),'clipPath':_0x135cd7(0x167)},'children':[{'tag':_0x135cd7(0x153),'attrs':{'d':_0x135cd7(0x13e)}},{'tag':_0x135cd7(0x153),'attrs':{'d':_0x135cd7(0x156)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x135cd7(0x194),'attrs':{'id':_0x135cd7(0x188)},'children':[{'tag':_0x135cd7(0x153),'attrs':{'fill':_0x135cd7(0x158),'d':_0x135cd7(0x129)}}]}]}],'defIds':[_0x135cd7(0x188)]},V=_0xae00fa(function(_0x1d3d8b,_0x2a7b88){const _0x5ff5ab=_0x135cd7;return _0x3ec4cb(F,Object[_0x5ff5ab(0x15a)]({},_0x1d3d8b,{'id':_0x5ff5ab(0x1b7),'ref':_0x2a7b88,'icon':ui}));});V[_0x135cd7(0x19d)]=_0x135cd7(0x192);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2aad0e,_0x28e129,_0x47d8eb,_0x4ce035)=>{for(var _0x2e4bd7=_0x4ce035>0x1?void 0x0:_0x4ce035?gi(_0x28e129,_0x47d8eb):_0x28e129,_0x4d4d3c=_0x2aad0e['length']-0x1,_0x394e79;_0x4d4d3c>=0x0;_0x4d4d3c--)(_0x394e79=_0x2aad0e[_0x4d4d3c])&&(_0x2e4bd7=_0x394e79(_0x2e4bd7)||_0x2e4bd7);return _0x2e4bd7;},l=(_0x44d4b3,_0xff325)=>(_0x16d6fb,_0x5ab9f4)=>_0xff325(_0x16d6fb,_0x5ab9f4,_0x44d4b3);const vi=_0x135cd7(0x198),G=_0x135cd7(0x147),d=_0x135cd7(0x16f);let f=class extends _0xfe8920{constructor(_0x29132e,_0x1e3858,_0x409778,_0x50105a,_0x15820e,_0x46d41c,_0x52a420,_0x2deaeb,_0xe9e4b3,_0x2d9a03){const _0x5857b2=_0x135cd7;super(),g(this,_0x5857b2(0x191),new _0x176935(null)),g(this,_0x5857b2(0x1c7),this[_0x5857b2(0x191)][_0x5857b2(0x14f)]()),g(this,_0x5857b2(0x1c3),new _0x48961d()),g(this,_0x5857b2(0x16d),new Map()),(this[_0x5857b2(0x16b)]=_0x29132e,this['_univerInstanceService']=_0x1e3858,this[_0x5857b2(0x16c)]=_0x409778,this['_commandService']=_0x50105a,this['_messageService']=_0x15820e,this[_0x5857b2(0x145)]=_0x46d41c,this[_0x5857b2(0x141)]=_0x52a420,this['_dialogService']=_0x2deaeb,this[_0x5857b2(0x15f)]=_0xe9e4b3,this['_themeService']=_0x2d9a03,this['_init']());}get[_0x135cd7(0x14c)](){const _0xd2d9cf=_0x135cd7;return this['_historyUniver$'][_0xd2d9cf(0x199)];}[_0x135cd7(0x186)](){const _0xc38eda=_0x135cd7;this[_0xc38eda(0x150)](),this[_0xc38eda(0x161)]();}[_0x135cd7(0x150)](){const _0x5df228=_0x135cd7;var _0x5acc3d;const _0x5bdd8f=(_0x5acc3d=this[_0x5df228(0x16c)][_0x5df228(0x17b)](G))!=null?_0x5acc3d:vi,_0x50b0bc=document[_0x5df228(0x130)](_0x5bdd8f);if(!_0x50b0bc)return;const _0x159722=document[_0x5df228(0x1c1)](_0x5df228(0x1c9));_0x159722['id']=d,_0x159722[_0x5df228(0x134)][_0x5df228(0x1c5)]=_0x5df228(0x190),_0x159722[_0x5df228(0x11c)][_0x5df228(0x17c)]='absolute',_0x159722['style']['top']='0',_0x159722[_0x5df228(0x11c)]['left']='0',_0x159722[_0x5df228(0x11c)]['width']=_0x5df228(0x179),_0x159722[_0x5df228(0x11c)][_0x5df228(0x14b)]=_0x5df228(0x179),_0x159722[_0x5df228(0x11c)][_0x5df228(0x189)]=_0x5df228(0x1b8),_0x159722[_0x5df228(0x11c)][_0x5df228(0x13f)]=_0x5df228(0x175),_0x50b0bc['appendChild'](_0x159722);}[_0x135cd7(0x161)](){const _0x194925=_0x135cd7;var _0x355763,_0x3f9105,_0xd21338,_0x27a2cc;[[_0x59fcbc],[_0x47a3e5,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x152aee,null]]}],[_0x8f2baf],[_0x420a7,{'override':[[_0x13fa54,null]]}],[_0x131ad7,{'hasScroll':!0x1}],[_0x3b8b13],[_0x28865f],[_0xfd287c,{'notExecuteFormula':!0x0}],[_0x588fcd],[_0x3e6512],[_0xb98e50],[_0x518d03],[_0x31796b],[_0x55fc0f],[_0x71eaed],[_0x572eb9],[_0x51232b],[_0x516de1],[_0x883abf],[_0x3c2292],[_0xb8f3f5],[_0x5d9619,{'notExecuteFormula':!0x0}],[_0x17558a,{'workerURL':(_0x3f9105=(_0x355763=this['_configService'][_0x194925(0x17b)](_0x5243d0))==null?void 0x0:_0x355763[_0x194925(0x168)])!=null?_0x3f9105:_0x194925(0x1b6)}],[_0x462922],[_0x39e423],[_0x38df1a],[_0x16dccf],[_0x58bae6],[_0x37f1e3],[_0x38c7ed],[_0x127dbc,{'notExecuteFormula':!0x0}],[_0x4f5627,{'historyListServerUrl':(_0xd21338=this[_0x194925(0x16c)][_0x194925(0x17b)](U))==null?void 0x0:_0xd21338[_0x194925(0x12a)],'historyPanelComponentKey':(_0x27a2cc=this['_configService'][_0x194925(0x17b)](U))==null?void 0x0:_0x27a2cc[_0x194925(0x12b)]}]][_0x194925(0x155)](([_0x1679d7,_0x28c174])=>this['registerPlugin'](_0x1679d7,_0x28c174));}[_0x135cd7(0x19f)](){const _0x170f72=_0x135cd7;super[_0x170f72(0x19f)](),this[_0x170f72(0x142)](),this['_pluginMap'][_0x170f72(0x18e)]();}[_0x135cd7(0x14a)](_0x633b63,_0x1c31d6,_0x40c5e7){const _0x1284ce=_0x135cd7;if(this[_0x1284ce(0x16d)][_0x1284ce(0x1bf)](_0x633b63[_0x1284ce(0x159)])&&!_0x40c5e7)throw new Error(_0x1284ce(0x171)+_0x633b63[_0x1284ce(0x159)]+_0x1284ce(0x12c));this[_0x1284ce(0x16d)][_0x1284ce(0x170)](_0x633b63[_0x1284ce(0x159)],[_0x633b63,_0x1c31d6]);}['getAllPlugins'](){return Array['from'](this['_pluginMap']['values']());}['mountHistoryContent'](_0x33b9c2){const _0x99bdd4=_0x135cd7,_0x49c209=document[_0x99bdd4(0x130)](d);_0x49c209&&(_0x49c209[_0x99bdd4(0x11c)][_0x99bdd4(0x13f)]=_0x99bdd4(0x164),this[_0x99bdd4(0x184)](_0x33b9c2,d));}['unMountHistoryContent'](){const _0xb2ef65=_0x135cd7;var _0x28b73b;this[_0xb2ef65(0x1c3)]['dispose'](),(_0x28b73b=this['historyUniver'])==null||_0x28b73b[_0xb2ef65(0x19f)](),this['_historyUniver$']['next'](null);const _0x3d1a14=document[_0xb2ef65(0x130)](d);_0x3d1a14&&(_0x3d1a14[_0xb2ef65(0x11c)]['display']='none');}[_0x135cd7(0x184)](_0x2f5eeb,_0x7ade1){const _0x1a80da=_0x135cd7;if(this[_0x1a80da(0x14c)])return;const _0x5f2421=new _0x1754e5({'locales':{[this[_0x1a80da(0x16b)][_0x1a80da(0x1bb)]()]:this[_0x1a80da(0x16b)]['getLocales']()},'override':[[_0x9eaaa9,{'useClass':_0x54ff2d}]]}),_0x2f9c74=_0x5f2421[_0x1a80da(0x148)]();this['disposeWithMe'](this[_0x1a80da(0x139)][_0x1a80da(0x1a5)][_0x1a80da(0x18d)](_0x16fb45=>{const _0x20a510=_0x1a80da;_0x2f9c74[_0x20a510(0x16a)](_0x5301ff)[_0x20a510(0x1b5)](_0x16fb45);})),this[_0x1a80da(0x163)](this[_0x1a80da(0x139)][_0x1a80da(0x182)][_0x1a80da(0x18d)](_0x54f11e=>{const _0x45d0f8=_0x1a80da;_0x2f9c74[_0x45d0f8(0x16a)](_0x5301ff)[_0x45d0f8(0x18b)](_0x54f11e);})),_0x2f9c74[_0x1a80da(0x16a)](_0x4d4df9)['setLocale'](this[_0x1a80da(0x16b)][_0x1a80da(0x1bb)]()),_0x2f9c74['get'](_0x54ab8f)[_0x1a80da(0x1c6)](_0x1f8bf6,this['_configService'][_0x1a80da(0x17b)](_0x1f8bf6));const _0x61ccd6=this[_0x1a80da(0x16c)][_0x1a80da(0x17b)](_0x4ff0c3);_0x61ccd6&&_0x5f2421['registerPlugin'](_0x598a57,{'license':_0x61ccd6['ls']}),this[_0x1a80da(0x16d)]['forEach'](([_0x45e60d,_0x1782e8])=>{const _0x10c77c=_0x1a80da;_0x5f2421[_0x10c77c(0x14a)](_0x45e60d,_0x1782e8);}),_0x2f9c74[_0x1a80da(0x15c)](_0x4e9b45=>{const _0x5b5b09=_0x1a80da;this[_0x5b5b09(0x1a9)](_0x4e9b45,_0x2f5eeb);}),this[_0x1a80da(0x191)]['next'](_0x5f2421);const _0xd30f26=_0x2f9c74['get'](_0x289563),_0x359960=this[_0x1a80da(0x1a7)](_0x2f5eeb);_0xd30f26[_0x1a80da(0x125)](_0x2f5eeb,_0x7ade1,_0x359960);}[_0x135cd7(0x1a9)](_0x2cc5c5,_0x40acd0){const _0x84b888=_0x135cd7,_0x4dd19a=_0x2cc5c5['get'](_0x289563);this[_0x84b888(0x1c3)][_0x84b888(0x11f)](_0x4dd19a[_0x84b888(0x169)][_0x84b888(0x18d)](_0x12b524=>{const _0x3d9daa=_0x84b888;switch(_0x12b524){case _0x30b1e4['Entered']:this[_0x3d9daa(0x135)]['closeAll'](),this[_0x3d9daa(0x15f)][_0x3d9daa(0x18f)]();break;case _0x30b1e4[_0x3d9daa(0x187)]:this['_commandService'][_0x3d9daa(0x12e)](W['id']),this['unMountHistoryContent']();break;case _0x30b1e4['Error']:this[_0x3d9daa(0x142)](),this['_messageService'][_0x3d9daa(0x1a1)]({'content':this[_0x3d9daa(0x16b)]['t'](_0x3d9daa(0x197)),'type':_0x2bd01['Error'],'duration':0xbb8});break;}})),this[_0x84b888(0x1c3)][_0x84b888(0x11f)](_0x4dd19a[_0x84b888(0x121)][_0x84b888(0x18d)](async _0x3125e4=>{const _0x454b16=_0x84b888;_0x3125e4&&this['_commandService'][_0x454b16(0x12e)](_0x115885['id'],{'unitId':_0x40acd0,'revision':_0x3125e4});}));}[_0x135cd7(0x1a7)](_0x5eb5ca){const _0x3b731a=_0x135cd7,_0x1176be=this['_univerInstanceService'][_0x3b731a(0x143)](_0x5eb5ca)[_0x3b731a(0x138)]()['map'](_0x4f62b5=>_0x4f62b5['getSheetId']()),_0x59e592=new _0x1c0b5e(_0x5eb5ca)['id'],_0x562f4d=_0x1176be[_0x3b731a(0x144)](_0x5c2680=>new _0x577dc2(_0x5eb5ca,_0x5c2680)['id']),_0x26114d=_0x1176be[_0x3b731a(0x144)](_0x51de3d=>this['_selectionProtectionRuleModel'][_0x3b731a(0x1ad)](_0x5eb5ca,_0x51de3d)[_0x3b731a(0x144)](_0x3ebe35=>new _0x309445(_0x5eb5ca,_0x51de3d,_0x3ebe35[_0x3b731a(0x13c)])['id']))[_0x3b731a(0x172)](),_0x45f32c=new _0x337e2b(_0x5eb5ca)['id'];return this[_0x3b731a(0x145)][_0x3b731a(0x1aa)]([_0x59e592,..._0x562f4d,..._0x26114d,_0x45f32c])[_0x3b731a(0x13b)](_0x3fcb5d=>!!_0x3fcb5d[_0x3b731a(0x199)]);}};f=mi([l(0x0,_0x2aae2f(_0x4d4df9)),l(0x1,_0x117fb2),l(0x2,_0x54ab8f),l(0x3,_0x3b5324),l(0x4,_0x54521c),l(0x5,_0x85ae2b),l(0x6,_0x2aae2f(_0x5f2284)),l(0x7,_0x2aae2f(_0x152aee)),l(0x8,_0x2aae2f(_0xa12dd6)),l(0x9,_0x2aae2f(_0x5301ff))],f);const b={'id':_0x135cd7(0x140),'type':_0x4f02fa[_0x135cd7(0x1ae)],'handler':_0x3617d5=>{const _0x233e69=_0x135cd7,_0x4c7f75=_0x3617d5[_0x233e69(0x16a)](f),_0x4623b6=_0x3617d5[_0x233e69(0x16a)](_0x117fb2),{unitId:_0x339f8e}=_0xb1734d(_0x4623b6)||{};return _0x339f8e?(_0x4c7f75[_0x233e69(0x137)](_0x339f8e),!0x0):!0x1;}},W={'id':_0x135cd7(0x132),'type':_0x4f02fa['OPERATION'],'handler':()=>!0x0};function di(_0x3018e3){const _0x43827e=_0x135cd7;return{'id':b['id'],'type':_0x1ef55d[_0x43827e(0x185)],'icon':_0x43827e(0x192),'tooltip':_0x43827e(0x1bd),'hidden$':_0x1d9f25(_0x3018e3,_0x58e94f[_0x43827e(0x1b0)]),'disabled$':_0x59c368(_0x3018e3,{'workbookTypes':[_0x1c0b5e,_0x2a8295],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x4fb220[_0x135cd7(0x11e)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x135cd7(0x1b3)],pi=(_0xabb838,_0x50425e,_0x1c8a0a,_0x42e014)=>{const _0x3406ef=_0x135cd7;for(var _0x3c63c9=_0x42e014>0x1?void 0x0:_0x42e014?_i(_0x50425e,_0x1c8a0a):_0x50425e,_0x51fec0=_0xabb838[_0x3406ef(0x1be)]-0x1,_0x37c401;_0x51fec0>=0x0;_0x51fec0--)(_0x37c401=_0xabb838[_0x51fec0])&&(_0x3c63c9=_0x37c401(_0x3c63c9)||_0x3c63c9);return _0x3c63c9;},m=(_0x564706,_0x57a638)=>(_0x16023a,_0x35ff7d)=>_0x57a638(_0x16023a,_0x35ff7d,_0x564706);let p=class extends _0x4a20e6{constructor(_0x5b30f5,_0x4e2d7b,_0x59c11b,_0x22751a,_0x5529e3,_0xa456a9,_0x41b771,_0xee548a){const _0x28960e=_0x135cd7;super(),g(this,_0x28960e(0x16e),null),(this[_0x28960e(0x1b4)]=_0x5b30f5,this[_0x28960e(0x183)]=_0x4e2d7b,this[_0x28960e(0x157)]=_0x59c11b,this[_0x28960e(0x178)]=_0x22751a,this[_0x28960e(0x16b)]=_0x5529e3,this['_messageService']=_0xa456a9,this['_collaborationController']=_0x41b771,this[_0x28960e(0x1b2)]=_0xee548a,this[_0x28960e(0x186)]());}[_0x135cd7(0x186)](){const _0x3452d4=_0x135cd7;[b,W][_0x3452d4(0x155)](_0x3b2564=>this[_0x3452d4(0x163)](_0x5687bd(this[_0x3452d4(0x1b4)]['registerCommand'](_0x3b2564)))),this[_0x3452d4(0x163)](this['_componentManager'][_0x3452d4(0x15d)](_0x3452d4(0x192),V)),this[_0x3452d4(0x183)][_0x3452d4(0x1c4)](fi),this[_0x3452d4(0x163)](this[_0x3452d4(0x1b4)][_0x3452d4(0x122)](_0x36e4e3=>{const _0x2191db=_0x3452d4;if(_0x36e4e3['id']===_0x115885['id']){this[_0x2191db(0x1a8)]['show']({'content':this[_0x2191db(0x16b)]['t']('editHistory.panel.reverting'),'type':_0x2bd01[_0x2191db(0x11d)],'duration':0x1388});const {unitId:_0x464015}=_0x36e4e3['params'],_0x593fcf=this[_0x2191db(0x128)]['getCollabEntity'](_0x464015),_0x28a2b9=_0x3069c0([_0x593fcf[_0x2191db(0x131)][_0x2191db(0x146)],_0x593fcf['state$']])['subscribe'](async([_0x24a482,_0x2fff44])=>{const _0x5cc85d=_0x2191db;var _0x3fbc7e;_0x24a482['eventID']===_0x49fb82[_0x5cc85d(0x127)]&&(_0x2fff44==null?void 0x0:_0x2fff44[_0x5cc85d(0x1c0)])===_0x2d4596[_0x5cc85d(0x1c2)]&&_0x24a482[_0x5cc85d(0x15e)][_0x5cc85d(0x126)][_0x5cc85d(0x1a2)](_0x1b9931=>_0x1b9931['id']===_0x115885['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x28a2b9[_0x5cc85d(0x180)](),this[_0x5cc85d(0x16e)]&&clearTimeout(this[_0x5cc85d(0x16e)]),await((_0x3fbc7e=this[_0x5cc85d(0x1b2)])==null?void 0x0:_0x3fbc7e[_0x5cc85d(0x120)]()),setTimeout(()=>window[_0x5cc85d(0x154)][_0x5cc85d(0x12f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3e9be6=_0x2191db;_0x28a2b9[_0x3e9be6(0x180)](),this[_0x3e9be6(0x1a8)][_0x3e9be6(0x1a1)]({'content':this[_0x3e9be6(0x16b)]['t'](_0x3e9be6(0x13a)),'type':_0x2bd01[_0x3e9be6(0x1ba)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3b5324),m(0x1,_0x39cebb),m(0x2,_0x2aae2f(_0x3a2560)),m(0x3,_0x2aae2f(f)),m(0x4,_0x2aae2f(_0x4d4df9)),m(0x5,_0x54521c),m(0x6,_0x2aae2f(_0x1df266)),m(0x7,_0x2724e7)],p);var Si=Object[_0x135cd7(0x1b3)],Ci=(_0x5d84e0,_0x3ddf30,_0x4d77ac,_0x4d6adc)=>{for(var _0x13b03e=_0x4d6adc>0x1?void 0x0:_0x4d6adc?Si(_0x3ddf30,_0x4d77ac):_0x3ddf30,_0x2f2834=_0x5d84e0['length']-0x1,_0x38779f;_0x2f2834>=0x0;_0x2f2834--)(_0x38779f=_0x5d84e0[_0x2f2834])&&(_0x13b03e=_0x38779f(_0x13b03e)||_0x13b03e);return _0x13b03e;},R=(_0x3dfc84,_0x28391f)=>(_0xd36f1d,_0x4d9ca2)=>_0x28391f(_0xd36f1d,_0x4d9ca2,_0x3dfc84);const yi=_0x135cd7(0x152);var _;let H=(_=class extends _0x5cb958{constructor(_0x2eaacf=N,_0x5395f5,_0x298364){const _0x1b6a36=_0x135cd7;super(),this['_config']=_0x2eaacf,this[_0x1b6a36(0x173)]=_0x5395f5,this['_configService']=_0x298364;const {menu:_0x1711ec,..._0x412e62}=_0x13da1a({},N,this[_0x1b6a36(0x181)]);_0x1711ec&&this[_0x1b6a36(0x16c)][_0x1b6a36(0x1c6)](_0x1b6a36(0x1a4),_0x1711ec,{'merge':!0x0}),this['_configService'][_0x1b6a36(0x1c6)](U,_0x412e62),this[_0x1b6a36(0x181)]['univerContainerId']&&this['_configService'][_0x1b6a36(0x1c6)](G,this[_0x1b6a36(0x181)][_0x1b6a36(0x14e)]);}[_0x135cd7(0x19c)](){const _0x22f69e=_0x135cd7;[[f],[p]][_0x22f69e(0x155)](_0x448594=>this['_injector'][_0x22f69e(0x11f)](_0x448594));}['onSteady'](){const _0x105909=_0x135cd7;this['_injector'][_0x105909(0x16a)](p);}},g(_,_0x135cd7(0x15b),_0x58e94f[_0x135cd7(0x17f)]),g(_,_0x135cd7(0x159),yi),_);function _0x339d(_0x3925d1,_0x321bdf){_0x3925d1=_0x3925d1-0x11c;const _0xbfba11=_0xbfba();let _0x339d0a=_0xbfba11[_0x3925d1];return _0x339d0a;}H=Ci([R(0x1,_0x2aae2f(_0x59f36f)),R(0x2,_0x54ab8f)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x3ff3bc=_0x29f1;(function(_0x57b45c,_0x2b7dd0){const _0x426ce0=_0x29f1,_0x4a0c8d=_0x57b45c();while(!![]){try{const _0xfccf15=parseInt(_0x426ce0(0x15c))/0x1+-parseInt(_0x426ce0(0x152))/0x2+parseInt(_0x426ce0(0x13b))/0x3+-parseInt(_0x426ce0(0x11f))/0x4*(-parseInt(_0x426ce0(0x120))/0x5)+-parseInt(_0x426ce0(0x112))/0x6*(parseInt(_0x426ce0(0x13f))/0x7)+-parseInt(_0x426ce0(0x1a6))/0x8*(parseInt(_0x426ce0(0x12c))/0x9)+parseInt(_0x426ce0(0x188))/0xa*(parseInt(_0x426ce0(0x1a3))/0xb);if(_0xfccf15===_0x2b7dd0)break;else _0x4a0c8d['push'](_0x4a0c8d['shift']());}catch(_0x37deb1){_0x4a0c8d['push'](_0x4a0c8d['shift']());}}}(_0x2667,0x8179d));var Y=Object[_0x3ff3bc(0x1a0)],B=(_0x1ff93,_0x218600,_0x28dc9d)=>_0x218600 in _0x1ff93?Y(_0x1ff93,_0x218600,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28dc9d}):_0x1ff93[_0x218600]=_0x28dc9d,g=(_0x5e640a,_0x5b222f,_0x3c497f)=>B(_0x5e640a,typeof _0x5b222f!=_0x3ff3bc(0x162)?_0x5b222f+'':_0x5b222f,_0x3c497f);import{Inject as _0x451f68,LocaleService as _0x2444fb,IUniverInstanceService as _0x1b71bf,IConfigService as _0x336982,ICommandService as _0x3e24a8,IPermissionService as _0x542b91,ThemeService as _0xdb111c,Disposable as _0x5259ef,DisposableCollection as _0x311190,Univer as _0x586768,IAuthzIoService as _0x4e08fc,CommandType as _0x14cd3d,UniverInstanceType as _0x5c5b4a,RxDisposable as _0x20cb75,toDisposable as _0x294357,Plugin as _0x47fc7e,merge as _0x51456e,Injector as _0x338560}from'@univerjs/core';import{UniverCollaborationPlugin as _0x7afa06,RevertRevisionMutation as _0x4c9bc7,CollaborationEvent as _0x17b151}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x13e9d0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4c5914,CollaborationController as _0x22941d,ILocalCacheService as _0x1e687d,CollaborationStatus as _0x467635}from'@univerjs-pro/collaboration-client';import{MessageType as _0xa065f5}from'@univerjs/design';import{useRef as _0x2a2f26,createElement as _0xb59639,forwardRef as _0x59e973}from'react';import{IMessageService as _0x2c8b9f,IDialogService as _0x936cea,ISidebarService as _0x38b738,UniverUIPlugin as _0xd1e505,getMenuHiddenObservable as _0x2daafa,MenuItemType as _0x5ea8cc,RibbonStartGroup as _0x330a8a,IMenuManagerService as _0x56754f,ComponentManager as _0x263d90}from'@univerjs/ui';import{BehaviorSubject as _0x3578bb,combineLatest as _0x146c67}from'rxjs';import{RangeProtectionRuleModel as _0x1b8624,UniverSheetsPlugin as _0x4c7c1b,WorkbookEditablePermission as _0x32bbe8,WorksheetEditPermission as _0x2d4536,RangeProtectionPermissionEditPoint as _0x598bb1,WorkbookRecoverHistoryPermission as _0x313266,getSheetCommandTarget as _0xd04fe2,WorkbookViewHistoryPermission as _0x5b4ea8}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x5ef781,HistoryManagerService as _0x2dded6,HistoryModeStatus as _0x2e1209}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3de4b5,UniverLicensePlugin as _0x48d868}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x394b1b}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x119b06}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0xe0ffc6}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x1120de}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x20fc06}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x276b74}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5c4b67}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x386d82}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x4d9d15,IImageIoService as _0x169cc8}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2eb99f}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x39853e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5dce9e}from'@univerjs/engine-render';function _0x2667(){const _0x284579=['1em','div','uComp','entries','18JJhXuZ','_selectionProtectionRuleModel','type','_dialogService','executeCommand','has','clear','currentColor','tag','mountHistoryContent','UNIVER_UNKNOWN','_injector','univer.operation.toggle-edit-history','752652QyKLUr','5TWnHwz','1000','getConfig','display','from','left','_initListener','_initUniver','includes','unsubscribe','M0\x200H16V16H0z','event$','184698yQArIJ','historyPanelComponentKey','_pluginMap','every','set','getCollabEntity','current','./worker.js','mergeMenu','defs','trim','add','_revertErrorTimer','getLocales','setDarkMode','1077174ucwyzN','editHistory.panel.reverting','idSuffix','top','739221WXIUiE','mutations','_checkCanRevert','width','location','clipPath','revertRevision$','univerjs-icon\x20univerjs-icon-','session','map','assign','\x20has\x20been\x20registered.','next','_config','getUnit','_localCacheService','values','composePermission','_commandService','410958ePkQBF','historyUniver','path','triggerLoadVersions','HistoryIcon','getSheets','block','Error','some','_menuManagerService','426233pGDNSl','OPERATION','height','currentTheme$','onSteady','disposeWithMe','symbol','defIds','show','univer-container','dispose','getCurrentLocale','_configService','length','_collaborationController','none','_initPlugins','_messageService','editHistory.panel.listFetchError','style','colorChannel1','fill','mask','getSubunitRuleList','UNIVER_CONTAINER_ID','_initContainer','substring','dataset','status$','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_historyManagerService','subscribe','use','invoke','univer.operation.exit-edit-history','univerContainerId','_themeService','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_disposableCollection','getElementById','attrs','value','_historyUniver$','5230DoHQNp','pluginName','random','getOwnPropertyDescriptor','asObservable','close','unMountHistoryContent','get','white','_univerInstanceService','exhaustSavingTask','__getInjector','appendChild','historyListServerUrl','menu','_sidebarService','status','Loading','0\x200\x2016\x2016','setTheme','permissionId','children','xlink:href','registerCommand','defineProperty','_init','edit-history-loader.config','6413EOsURM','string','_permissionService','88saEKNG','setConfig','editHistory.panel.revertFailed','url(#$1','replace','history-icon','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','zIndex','registerPlugin','_localeService','state$','register','displayName','Exited','workerURL','_componentManager','OTHERS'];_0x2667=function(){return _0x284579;};return _0x2667();}import{UniverNetworkPlugin as _0x585093}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x4a78fd,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2d34ba}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x2b0a84}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x8fca09}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x13a67b}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x9b232e}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x470423}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x486a38}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x4ca456}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x48703f}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x252b7f}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x5ae8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3b48d8}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x15dc26}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1d178c}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0xf4d50e,getCurrentRangeDisable$ as _0x3e6fb7}from'@univerjs/sheets-ui';const U=_0x3ff3bc(0x1a2),N={};function F({ref:_0x2fb042,..._0x94e65e}){const _0x44bcb1=_0x3ff3bc,{icon:_0x4573c9,id:_0x134e2c,className:_0x1167e2,extend:_0x3ded11,..._0x2e50e1}=_0x94e65e,_0xa1c83c=(_0x44bcb1(0x146)+_0x134e2c+'\x20'+(_0x1167e2||''))[_0x44bcb1(0x136)](),_0x3bb0a1=_0x2a2f26('_'+hi());return j(_0x4573c9,''+_0x134e2c,{'defIds':_0x4573c9[_0x44bcb1(0x163)],'idSuffix':_0x3bb0a1[_0x44bcb1(0x132)]},{'ref':_0x2fb042,'className':_0xa1c83c,..._0x2e50e1},_0x3ded11);}function j(_0x1d1e20,_0x3604db,_0x2fa9e8,_0x177d17,_0x507a1b){const _0x44ef24=_0x3ff3bc;return _0xb59639(_0x1d1e20[_0x44ef24(0x11a)],{'key':_0x3604db,...ci(_0x1d1e20,_0x2fa9e8,_0x507a1b),..._0x177d17},(li(_0x1d1e20,_0x2fa9e8)['children']||[])[_0x44ef24(0x148)]((_0x33a52b,_0x513407)=>j(_0x33a52b,_0x3604db+'-'+_0x1d1e20[_0x44ef24(0x11a)]+'-'+_0x513407,_0x2fa9e8,void 0x0,_0x507a1b)));}function ci(_0xbb790e,_0x432c60,_0x575eb5){const _0x43f84b=_0x3ff3bc,_0x504305={..._0xbb790e[_0x43f84b(0x185)]};_0x575eb5!=null&&_0x575eb5[_0x43f84b(0x170)]&&_0x504305[_0x43f84b(0x171)]===_0x43f84b(0x170)&&(_0x504305[_0x43f84b(0x171)]=_0x575eb5[_0x43f84b(0x170)]),_0xbb790e[_0x43f84b(0x11a)]==='mask'&&_0x504305['id']&&(_0x504305['id']=_0x504305['id']+_0x432c60[_0x43f84b(0x13d)]),Object[_0x43f84b(0x111)](_0x504305)[_0x43f84b(0x181)](([_0x40dbb0,_0x3ef831])=>{const _0x180309=_0x43f84b;_0x40dbb0===_0x180309(0x172)&&typeof _0x3ef831=='string'&&(_0x504305[_0x40dbb0]=_0x3ef831[_0x180309(0x1aa)](/url\(#(.*)\)/,'url(#$1'+_0x432c60['idSuffix']+')'));});const {defIds:_0xd489d0}=_0x432c60;return!_0xd489d0||_0xd489d0['length']===0x0||(_0xbb790e['tag']===_0x43f84b(0x17c)&&_0x504305['xlink:href']&&(_0x504305[_0x43f84b(0x19e)]=_0x504305['xlink:href']+_0x432c60[_0x43f84b(0x13d)]),Object[_0x43f84b(0x111)](_0x504305)[_0x43f84b(0x181)](([_0x4b264c,_0x489883])=>{const _0x1ad79b=_0x43f84b;typeof _0x489883==_0x1ad79b(0x1a4)&&(_0x504305[_0x4b264c]=_0x489883['replace'](/url\(#(.*)\)/,_0x1ad79b(0x1a9)+_0x432c60[_0x1ad79b(0x13d)]+')'));})),_0x504305;}function li(_0x1e0606,_0x338102){const _0x932149=_0x3ff3bc;var _0x1c3bde;const {defIds:_0xf0aa71}=_0x338102;return!_0xf0aa71||_0xf0aa71[_0x932149(0x169)]===0x0?_0x1e0606:_0x1e0606['tag']===_0x932149(0x135)&&((_0x1c3bde=_0x1e0606[_0x932149(0x19d)])!=null&&_0x1c3bde[_0x932149(0x169)])?{..._0x1e0606,'children':_0x1e0606['children'][_0x932149(0x148)](_0xd1949c=>typeof _0xd1949c[_0x932149(0x185)]['id']==_0x932149(0x1a4)&&_0xf0aa71&&_0xf0aa71[_0x932149(0x128)](_0xd1949c[_0x932149(0x185)]['id'])?{..._0xd1949c,'attrs':{..._0xd1949c[_0x932149(0x185)],'id':_0xd1949c[_0x932149(0x185)]['id']+_0x338102[_0x932149(0x13d)]}}:_0xd1949c)}:_0x1e0606;}function hi(){const _0x304a2c=_0x3ff3bc;return Math[_0x304a2c(0x18a)]()['toString'](0x24)[_0x304a2c(0x176)](0x2,0x8);}F[_0x3ff3bc(0x1b2)]='UniverIcon';function _0x29f1(_0x2454ab,_0x302bf9){_0x2454ab=_0x2454ab-0x10d;const _0x266704=_0x2667();let _0x29f1c0=_0x266704[_0x2454ab];return _0x29f1c0;}const ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3ff3bc(0x19a),'width':_0x3ff3bc(0x10e),'height':_0x3ff3bc(0x10e)},'children':[{'tag':'g','attrs':{'fill':_0x3ff3bc(0x119),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3ff3bc(0x154),'attrs':{'d':_0x3ff3bc(0x179)}},{'tag':_0x3ff3bc(0x154),'attrs':{'d':_0x3ff3bc(0x1ac)}}]},{'tag':_0x3ff3bc(0x135),'attrs':{},'children':[{'tag':_0x3ff3bc(0x144),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3ff3bc(0x154),'attrs':{'fill':_0x3ff3bc(0x190),'d':_0x3ff3bc(0x12a)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x59e973(function(_0x732386,_0x88da0e){const _0x2ce296=_0x3ff3bc;return _0xb59639(F,Object[_0x2ce296(0x149)]({},_0x732386,{'id':_0x2ce296(0x1ab),'ref':_0x88da0e,'icon':ui}));});V[_0x3ff3bc(0x1b2)]=_0x3ff3bc(0x156);var gi=Object[_0x3ff3bc(0x18b)],mi=(_0x27eb4c,_0x1f385e,_0x5cee26,_0x55585e)=>{const _0x202ad0=_0x3ff3bc;for(var _0x5382b7=_0x55585e>0x1?void 0x0:_0x55585e?gi(_0x1f385e,_0x5cee26):_0x1f385e,_0x5ca9d0=_0x27eb4c[_0x202ad0(0x169)]-0x1,_0x1dee09;_0x5ca9d0>=0x0;_0x5ca9d0--)(_0x1dee09=_0x27eb4c[_0x5ca9d0])&&(_0x5382b7=_0x1dee09(_0x5382b7)||_0x5382b7);return _0x5382b7;},l=(_0x6cef2a,_0x35c929)=>(_0x1a4cd7,_0x549254)=>_0x35c929(_0x1a4cd7,_0x549254,_0x6cef2a);const vi=_0x3ff3bc(0x165),G=_0x3ff3bc(0x174),d='univer-history-container';let f=class extends _0x5259ef{constructor(_0x40f962,_0x5149b8,_0x481dbd,_0xb3ffa0,_0x276898,_0x1acd84,_0x4a870f,_0x376395,_0xecf257,_0xf9b493){const _0x3dbcc5=_0x3ff3bc;super(),g(this,_0x3dbcc5(0x187),new _0x3578bb(null)),g(this,'historyUniver$',this[_0x3dbcc5(0x187)][_0x3dbcc5(0x18c)]()),g(this,'_disposableCollection',new _0x311190()),g(this,_0x3dbcc5(0x12e),new Map()),(this['_localeService']=_0x40f962,this['_univerInstanceService']=_0x5149b8,this[_0x3dbcc5(0x168)]=_0x481dbd,this[_0x3dbcc5(0x151)]=_0xb3ffa0,this[_0x3dbcc5(0x16d)]=_0x276898,this[_0x3dbcc5(0x1a5)]=_0x1acd84,this['_selectionProtectionRuleModel']=_0x4a870f,this[_0x3dbcc5(0x115)]=_0x376395,this[_0x3dbcc5(0x197)]=_0xecf257,this[_0x3dbcc5(0x180)]=_0xf9b493,this['_init']());}get[_0x3ff3bc(0x153)](){const _0x1c7de3=_0x3ff3bc;return this[_0x1c7de3(0x187)][_0x1c7de3(0x186)];}['_init'](){const _0x317e63=_0x3ff3bc;this[_0x317e63(0x175)](),this[_0x317e63(0x16c)]();}[_0x3ff3bc(0x175)](){const _0x2df9fc=_0x3ff3bc;var _0x3a4e6;const _0x621a9d=(_0x3a4e6=this[_0x2df9fc(0x168)]['getConfig'](G))!=null?_0x3a4e6:vi,_0xb6256f=document[_0x2df9fc(0x184)](_0x621a9d);if(!_0xb6256f)return;const _0xf219b1=document['createElement'](_0x2df9fc(0x10f));_0xf219b1['id']=d,_0xf219b1[_0x2df9fc(0x177)][_0x2df9fc(0x110)]='history-container',_0xf219b1[_0x2df9fc(0x16f)]['position']='absolute',_0xf219b1['style'][_0x2df9fc(0x13e)]='0',_0xf219b1[_0x2df9fc(0x16f)][_0x2df9fc(0x125)]='0',_0xf219b1[_0x2df9fc(0x16f)][_0x2df9fc(0x142)]='100%',_0xf219b1['style'][_0x2df9fc(0x15e)]='100%',_0xf219b1['style'][_0x2df9fc(0x1ad)]=_0x2df9fc(0x121),_0xf219b1['style'][_0x2df9fc(0x123)]=_0x2df9fc(0x16b),_0xb6256f[_0x2df9fc(0x194)](_0xf219b1);}[_0x3ff3bc(0x16c)](){const _0x2dae00=_0x3ff3bc;var _0x174a4d,_0x390584,_0x2db741,_0x1fd225;[[_0x5dce9e],[_0xd1e505,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x936cea,null]]}],[_0x585093],[_0x4d9d15,{'override':[[_0x169cc8,null]]}],[_0x5c4b67,{'hasScroll':!0x1}],[_0x386d82],[_0x1d178c],[_0x4c7c1b,{'notExecuteFormula':!0x0}],[_0xf4d50e],[_0x252b7f],[_0x5ae8fd],[_0x7afa06],[_0x4ca456],[_0x48703f],[_0x2b0a84],[_0x8fca09],[_0x3b48d8],[_0x15dc26],[_0x276b74],[_0x13a67b],[_0x9b232e],[_0x39853e,{'notExecuteFormula':!0x0}],[_0x4a78fd,{'workerURL':(_0x390584=(_0x174a4d=this[_0x2dae00(0x168)][_0x2dae00(0x122)](_0x2d34ba))==null?void 0x0:_0x174a4d[_0x2dae00(0x1b4)])!=null?_0x390584:_0x2dae00(0x133)}],[_0x2eb99f],[_0x470423],[_0x486a38],[_0x1120de],[_0x20fc06],[_0x394b1b],[_0x119b06],[_0xe0ffc6,{'notExecuteFormula':!0x0}],[_0x5ef781,{'historyListServerUrl':(_0x2db741=this['_configService'][_0x2dae00(0x122)](U))==null?void 0x0:_0x2db741[_0x2dae00(0x195)],'historyPanelComponentKey':(_0x1fd225=this['_configService'][_0x2dae00(0x122)](U))==null?void 0x0:_0x1fd225[_0x2dae00(0x12d)]}]][_0x2dae00(0x181)](([_0x5ad4fa,_0x378896])=>this[_0x2dae00(0x1ae)](_0x5ad4fa,_0x378896));}[_0x3ff3bc(0x166)](){const _0x316c7f=_0x3ff3bc;super['dispose'](),this['unMountHistoryContent'](),this[_0x316c7f(0x12e)][_0x316c7f(0x118)]();}['registerPlugin'](_0x573c03,_0x3041cb,_0x12c2a8){const _0x42fb29=_0x3ff3bc;if(this['_pluginMap'][_0x42fb29(0x117)](_0x573c03[_0x42fb29(0x189)])&&!_0x12c2a8)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x573c03['pluginName']+_0x42fb29(0x14a));this[_0x42fb29(0x12e)][_0x42fb29(0x130)](_0x573c03[_0x42fb29(0x189)],[_0x573c03,_0x3041cb]);}['getAllPlugins'](){const _0x5ec2c7=_0x3ff3bc;return Array[_0x5ec2c7(0x124)](this['_pluginMap'][_0x5ec2c7(0x14f)]());}[_0x3ff3bc(0x11b)](_0x1da3e5){const _0x1ae042=_0x3ff3bc,_0x2721fd=document[_0x1ae042(0x184)](d);_0x2721fd&&(_0x2721fd[_0x1ae042(0x16f)]['display']=_0x1ae042(0x158),this[_0x1ae042(0x127)](_0x1da3e5,d));}['unMountHistoryContent'](){const _0x2af255=_0x3ff3bc;var _0x49471d;this[_0x2af255(0x183)][_0x2af255(0x166)](),(_0x49471d=this[_0x2af255(0x153)])==null||_0x49471d['dispose'](),this[_0x2af255(0x187)][_0x2af255(0x14b)](null);const _0x58476a=document[_0x2af255(0x184)](d);_0x58476a&&(_0x58476a[_0x2af255(0x16f)][_0x2af255(0x123)]=_0x2af255(0x16b));}[_0x3ff3bc(0x127)](_0xfb6400,_0xb3fca2){const _0x191dba=_0x3ff3bc;if(this[_0x191dba(0x153)])return;const _0x2538ad=new _0x586768({'locales':{[this['_localeService'][_0x191dba(0x167)]()]:this[_0x191dba(0x1af)][_0x191dba(0x139)]()},'override':[[_0x4e08fc,{'useClass':_0x13e9d0}]]}),_0x458baf=_0x2538ad[_0x191dba(0x193)]();this['disposeWithMe'](this[_0x191dba(0x180)]['darkMode$'][_0x191dba(0x17b)](_0x4b7559=>{const _0x5f2301=_0x191dba;_0x458baf['get'](_0xdb111c)[_0x5f2301(0x13a)](_0x4b7559);})),this[_0x191dba(0x161)](this[_0x191dba(0x180)][_0x191dba(0x15f)]['subscribe'](_0x3fa118=>{const _0x1e9059=_0x191dba;_0x458baf[_0x1e9059(0x18f)](_0xdb111c)[_0x1e9059(0x19b)](_0x3fa118);})),_0x458baf[_0x191dba(0x18f)](_0x2444fb)['setLocale'](this[_0x191dba(0x1af)][_0x191dba(0x167)]()),_0x458baf[_0x191dba(0x18f)](_0x336982)['setConfig'](_0x4c5914,this[_0x191dba(0x168)][_0x191dba(0x122)](_0x4c5914));const _0xb0926a=this[_0x191dba(0x168)][_0x191dba(0x122)](_0x3de4b5);_0xb0926a&&_0x2538ad[_0x191dba(0x1ae)](_0x48d868,{'license':_0xb0926a['ls']}),this[_0x191dba(0x12e)][_0x191dba(0x181)](([_0x12b230,_0x313260])=>{const _0x35057e=_0x191dba;_0x2538ad[_0x35057e(0x1ae)](_0x12b230,_0x313260);}),_0x458baf[_0x191dba(0x17d)](_0x56775c=>{this['_initListener'](_0x56775c,_0xfb6400);}),this[_0x191dba(0x187)][_0x191dba(0x14b)](_0x2538ad);const _0x27069e=_0x458baf[_0x191dba(0x18f)](_0x2dded6),_0x38696b=this[_0x191dba(0x141)](_0xfb6400);_0x27069e[_0x191dba(0x155)](_0xfb6400,_0xb3fca2,_0x38696b);}[_0x3ff3bc(0x126)](_0x5be7b9,_0x366515){const _0x3d4893=_0x3ff3bc,_0x1e54a6=_0x5be7b9[_0x3d4893(0x18f)](_0x2dded6);this['_disposableCollection'][_0x3d4893(0x137)](_0x1e54a6[_0x3d4893(0x178)][_0x3d4893(0x17b)](_0x3cea70=>{const _0x3d67f0=_0x3d4893;switch(_0x3cea70){case _0x2e1209['Entered']:this[_0x3d67f0(0x115)]['closeAll'](),this[_0x3d67f0(0x197)][_0x3d67f0(0x18d)]();break;case _0x2e1209[_0x3d67f0(0x1b3)]:this[_0x3d67f0(0x151)]['executeCommand'](W['id']),this['unMountHistoryContent']();break;case _0x2e1209[_0x3d67f0(0x159)]:this[_0x3d67f0(0x18e)](),this['_messageService'][_0x3d67f0(0x164)]({'content':this[_0x3d67f0(0x1af)]['t'](_0x3d67f0(0x16e)),'type':_0xa065f5[_0x3d67f0(0x159)],'duration':0xbb8});break;}})),this[_0x3d4893(0x183)][_0x3d4893(0x137)](_0x1e54a6[_0x3d4893(0x145)][_0x3d4893(0x17b)](async _0x18e7ee=>{const _0x1151db=_0x3d4893;_0x18e7ee&&this[_0x1151db(0x151)][_0x1151db(0x116)](_0x4c9bc7['id'],{'unitId':_0x366515,'revision':_0x18e7ee});}));}['_checkCanRevert'](_0x334c89){const _0x3670bb=_0x3ff3bc,_0x345592=this[_0x3670bb(0x191)][_0x3670bb(0x14d)](_0x334c89)[_0x3670bb(0x157)]()[_0x3670bb(0x148)](_0x4fc440=>_0x4fc440['getSheetId']()),_0x3deb6e=new _0x32bbe8(_0x334c89)['id'],_0x30fa90=_0x345592['map'](_0x11b1ed=>new _0x2d4536(_0x334c89,_0x11b1ed)['id']),_0x155048=_0x345592[_0x3670bb(0x148)](_0x5a0807=>this[_0x3670bb(0x113)][_0x3670bb(0x173)](_0x334c89,_0x5a0807)['map'](_0x95f6af=>new _0x598bb1(_0x334c89,_0x5a0807,_0x95f6af[_0x3670bb(0x19c)])['id']))['flat'](),_0x3d2384=new _0x313266(_0x334c89)['id'];return this['_permissionService'][_0x3670bb(0x150)]([_0x3deb6e,..._0x30fa90,..._0x155048,_0x3d2384])[_0x3670bb(0x12f)](_0x28542f=>!!_0x28542f['value']);}};f=mi([l(0x0,_0x451f68(_0x2444fb)),l(0x1,_0x1b71bf),l(0x2,_0x336982),l(0x3,_0x3e24a8),l(0x4,_0x2c8b9f),l(0x5,_0x542b91),l(0x6,_0x451f68(_0x1b8624)),l(0x7,_0x451f68(_0x936cea)),l(0x8,_0x451f68(_0x38b738)),l(0x9,_0x451f68(_0xdb111c))],f);const b={'id':_0x3ff3bc(0x11e),'type':_0x14cd3d[_0x3ff3bc(0x15d)],'handler':_0x4a8703=>{const _0x443960=_0x3ff3bc,_0x3794d1=_0x4a8703[_0x443960(0x18f)](f),_0x128098=_0x4a8703[_0x443960(0x18f)](_0x1b71bf),{unitId:_0x4b20fe}=_0xd04fe2(_0x128098)||{};return _0x4b20fe?(_0x3794d1[_0x443960(0x11b)](_0x4b20fe),!0x0):!0x1;}},W={'id':_0x3ff3bc(0x17e),'type':_0x14cd3d[_0x3ff3bc(0x15d)],'handler':()=>!0x0};function di(_0x286b13){return{'id':b['id'],'type':_0x5ea8cc['BUTTON'],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x2daafa(_0x286b13,_0x5c5b4a['UNIVER_SHEET']),'disabled$':_0x3e6fb7(_0x286b13,{'workbookTypes':[_0x32bbe8,_0x5b4ea8],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x330a8a[_0x3ff3bc(0x10d)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x3ff3bc(0x18b)],pi=(_0x48a898,_0x4a3bdd,_0x3a0ce2,_0x2f5380)=>{const _0x2c4ee3=_0x3ff3bc;for(var _0x5ea25a=_0x2f5380>0x1?void 0x0:_0x2f5380?_i(_0x4a3bdd,_0x3a0ce2):_0x4a3bdd,_0x304712=_0x48a898[_0x2c4ee3(0x169)]-0x1,_0x4c46c6;_0x304712>=0x0;_0x304712--)(_0x4c46c6=_0x48a898[_0x304712])&&(_0x5ea25a=_0x4c46c6(_0x5ea25a)||_0x5ea25a);return _0x5ea25a;},m=(_0x901a4,_0x29898d)=>(_0x493e6e,_0x106c4d)=>_0x29898d(_0x493e6e,_0x106c4d,_0x901a4);let p=class extends _0x20cb75{constructor(_0x56bd3b,_0x27ad48,_0x47f785,_0x92dc75,_0xa976d1,_0x4a6186,_0x3de2aa,_0x56fcec){const _0x2ca265=_0x3ff3bc;super(),g(this,_0x2ca265(0x138),null),(this[_0x2ca265(0x151)]=_0x56bd3b,this[_0x2ca265(0x15b)]=_0x27ad48,this[_0x2ca265(0x1b5)]=_0x47f785,this[_0x2ca265(0x17a)]=_0x92dc75,this[_0x2ca265(0x1af)]=_0xa976d1,this['_messageService']=_0x4a6186,this[_0x2ca265(0x16a)]=_0x3de2aa,this[_0x2ca265(0x14e)]=_0x56fcec,this[_0x2ca265(0x1a1)]());}[_0x3ff3bc(0x1a1)](){const _0xd1306d=_0x3ff3bc;[b,W][_0xd1306d(0x181)](_0x2c7e91=>this[_0xd1306d(0x161)](_0x294357(this['_commandService'][_0xd1306d(0x19f)](_0x2c7e91)))),this['disposeWithMe'](this[_0xd1306d(0x1b5)][_0xd1306d(0x1b1)]('HistoryIcon',V)),this[_0xd1306d(0x15b)][_0xd1306d(0x134)](fi),this[_0xd1306d(0x161)](this[_0xd1306d(0x151)]['onCommandExecuted'](_0x20da86=>{const _0x2d5b45=_0xd1306d;if(_0x20da86['id']===_0x4c9bc7['id']){this[_0x2d5b45(0x16d)][_0x2d5b45(0x164)]({'content':this[_0x2d5b45(0x1af)]['t'](_0x2d5b45(0x13c)),'type':_0xa065f5[_0x2d5b45(0x199)],'duration':0x1388});const {unitId:_0x2a9680}=_0x20da86['params'],_0x423801=this[_0x2d5b45(0x16a)][_0x2d5b45(0x131)](_0x2a9680),_0x520684=_0x146c67([_0x423801[_0x2d5b45(0x147)][_0x2d5b45(0x12b)],_0x423801[_0x2d5b45(0x1b0)]])[_0x2d5b45(0x17b)](async([_0x3b952d,_0x19653b])=>{const _0x4e3aaf=_0x2d5b45;var _0x227234;_0x3b952d['eventID']===_0x17b151['CHANGESET_ACK']&&(_0x19653b==null?void 0x0:_0x19653b[_0x4e3aaf(0x198)])===_0x467635['SYNCED']&&_0x3b952d['data'][_0x4e3aaf(0x140)][_0x4e3aaf(0x15a)](_0x2adcd6=>_0x2adcd6['id']===_0x4c9bc7['id'])&&(this[_0x4e3aaf(0x17a)]['unMountHistoryContent'](),_0x520684[_0x4e3aaf(0x129)](),this[_0x4e3aaf(0x138)]&&clearTimeout(this[_0x4e3aaf(0x138)]),await((_0x227234=this['_localCacheService'])==null?void 0x0:_0x227234[_0x4e3aaf(0x192)]()),setTimeout(()=>window[_0x4e3aaf(0x143)]['reload']()));});this[_0x2d5b45(0x138)]=setTimeout(()=>{const _0x266a20=_0x2d5b45;_0x520684[_0x266a20(0x129)](),this[_0x266a20(0x16d)]['show']({'content':this[_0x266a20(0x1af)]['t'](_0x266a20(0x1a8)),'type':_0xa065f5['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e24a8),m(0x1,_0x56754f),m(0x2,_0x451f68(_0x263d90)),m(0x3,_0x451f68(f)),m(0x4,_0x451f68(_0x2444fb)),m(0x5,_0x2c8b9f),m(0x6,_0x451f68(_0x22941d)),m(0x7,_0x1e687d)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xd633a8,_0x3d1c89,_0x33d40d,_0x374362)=>{const _0x24e9c8=_0x3ff3bc;for(var _0xf97613=_0x374362>0x1?void 0x0:_0x374362?Si(_0x3d1c89,_0x33d40d):_0x3d1c89,_0x1e1ea8=_0xd633a8[_0x24e9c8(0x169)]-0x1,_0x49debf;_0x1e1ea8>=0x0;_0x1e1ea8--)(_0x49debf=_0xd633a8[_0x1e1ea8])&&(_0xf97613=_0x49debf(_0xf97613)||_0xf97613);return _0xf97613;},R=(_0x5b9198,_0x2f5ea9)=>(_0x2db2d8,_0x522f78)=>_0x2f5ea9(_0x2db2d8,_0x522f78,_0x5b9198);const yi=_0x3ff3bc(0x182);var _;let H=(_=class extends _0x47fc7e{constructor(_0x48d2dc=N,_0x7dd395,_0x5d7e35){const _0x57aa9e=_0x3ff3bc;super(),this[_0x57aa9e(0x14c)]=_0x48d2dc,this[_0x57aa9e(0x11d)]=_0x7dd395,this[_0x57aa9e(0x168)]=_0x5d7e35;const {menu:_0x2316ab,..._0x350a06}=_0x51456e({},N,this[_0x57aa9e(0x14c)]);_0x2316ab&&this[_0x57aa9e(0x168)]['setConfig'](_0x57aa9e(0x196),_0x2316ab,{'merge':!0x0}),this[_0x57aa9e(0x168)][_0x57aa9e(0x1a7)](U,_0x350a06),this[_0x57aa9e(0x14c)]['univerContainerId']&&this[_0x57aa9e(0x168)][_0x57aa9e(0x1a7)](G,this[_0x57aa9e(0x14c)][_0x57aa9e(0x17f)]);}['onStarting'](){const _0x528057=_0x3ff3bc;[[f],[p]]['forEach'](_0x29f960=>this[_0x528057(0x11d)]['add'](_0x29f960));}[_0x3ff3bc(0x160)](){const _0x56f7b3=_0x3ff3bc;this[_0x56f7b3(0x11d)][_0x56f7b3(0x18f)](p);}},g(_,_0x3ff3bc(0x114),_0x5c5b4a[_0x3ff3bc(0x11c)]),g(_,_0x3ff3bc(0x189),yi),_);H=Ci([R(0x1,_0x451f68(_0x338560)),R(0x2,_0x336982)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x135cd7=_0x339d;(function(_0x62b8b7,_0x21862d){const _0x1a2048=_0x339d,_0x34a78d=_0x62b8b7();while(!![]){try{const _0x2ff134=parseInt(_0x1a2048(0x1af))/0x1*(parseInt(_0x1a2048(0x136))/0x2)+parseInt(_0x1a2048(0x1ab))/0x3+parseInt(_0x1a2048(0x19a))/0x4+parseInt(_0x1a2048(0x177))/0x5*(-parseInt(_0x1a2048(0x19b))/0x6)+-parseInt(_0x1a2048(0x13d))/0x7*(-parseInt(_0x1a2048(0x17a))/0x8)+-parseInt(_0x1a2048(0x18a))/0x9+parseInt(_0x1a2048(0x1c8))/0xa*(-parseInt(_0x1a2048(0x166))/0xb);if(_0x2ff134===_0x21862d)break;else _0x34a78d['push'](_0x34a78d['shift']());}catch(_0x4ae326){_0x34a78d['push'](_0x34a78d['shift']());}}}(_0xbfba,0xcb18f));var Y=Object[_0x135cd7(0x17d)],B=(_0x9c7b45,_0x37a79c,_0x813623)=>_0x37a79c in _0x9c7b45?Y(_0x9c7b45,_0x37a79c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x813623}):_0x9c7b45[_0x37a79c]=_0x813623,g=(_0x44bfb5,_0x463e36,_0x2a7ad3)=>B(_0x44bfb5,typeof _0x463e36!=_0x135cd7(0x149)?_0x463e36+'':_0x463e36,_0x2a7ad3);import{Inject as _0x2aae2f,LocaleService as _0x4d4df9,IUniverInstanceService as _0x117fb2,IConfigService as _0x54ab8f,ICommandService as _0x3b5324,IPermissionService as _0x85ae2b,ThemeService as _0x5301ff,Disposable as _0xfe8920,DisposableCollection as _0x48961d,Univer as _0x1754e5,IAuthzIoService as _0x9eaaa9,CommandType as _0x4f02fa,UniverInstanceType as _0x58e94f,RxDisposable as _0x4a20e6,toDisposable as _0x5687bd,Plugin as _0x5cb958,merge as _0x13da1a,Injector as _0x59f36f}from'@univerjs/core';import{UniverCollaborationPlugin as _0x518d03,RevertRevisionMutation as _0x115885,CollaborationEvent as _0x49fb82}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x54ff2d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f8bf6,CollaborationController as _0x1df266,ILocalCacheService as _0x2724e7,CollaborationStatus as _0x2d4596}from'@univerjs-pro/collaboration-client';import{MessageType as _0x2bd01}from'@univerjs/design';import{useRef as _0x2f845d,createElement as _0x3ec4cb,forwardRef as _0xae00fa}from'react';import{IMessageService as _0x54521c,IDialogService as _0x152aee,ISidebarService as _0xa12dd6,UniverUIPlugin as _0x47a3e5,getMenuHiddenObservable as _0x1d9f25,MenuItemType as _0x1ef55d,RibbonStartGroup as _0x4fb220,IMenuManagerService as _0x39cebb,ComponentManager as _0x3a2560}from'@univerjs/ui';import{BehaviorSubject as _0x176935,combineLatest as _0x3069c0}from'rxjs';import{RangeProtectionRuleModel as _0x5f2284,UniverSheetsPlugin as _0xfd287c,WorkbookEditablePermission as _0x1c0b5e,WorksheetEditPermission as _0x577dc2,RangeProtectionPermissionEditPoint as _0x309445,WorkbookRecoverHistoryPermission as _0x337e2b,getSheetCommandTarget as _0xb1734d,WorkbookViewHistoryPermission as _0x2a8295}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x4f5627,HistoryManagerService as _0x289563,HistoryModeStatus as _0x30b1e4}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4ff0c3,UniverLicensePlugin as _0x598a57}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x37f1e3}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x38c7ed}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x127dbc}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x16dccf}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x58bae6}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x883abf}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x131ad7}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x3b8b13}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x420a7,IImageIoService as _0x13fa54}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x462922}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5d9619}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x59fcbc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x8f2baf}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x17558a,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x5243d0}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x71eaed}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x572eb9}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x3c2292}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0xb8f3f5}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x39e423}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x38df1a}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x31796b}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x55fc0f}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x3e6512}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0xb98e50}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x51232b}from'@univerjs/sheets-hyper-link';function _0xbfba(){const _0x16214e=['colorChannel1','univerjs-icon\x20univerjs-icon-','triggerLoadVersions','mutations','CHANGESET_ACK','_collaborationController','M0\x200H16V16H0z','historyListServerUrl','historyPanelComponentKey','\x20has\x20been\x20registered.','idSuffix','executeCommand','reload','getElementById','session','univer.operation.exit-edit-history','defs','dataset','_dialogService','566002GJPdsO','mountHistoryContent','getSheets','_themeService','editHistory.panel.revertFailed','every','permissionId','77sivnKz','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','display','univer.operation.toggle-edit-history','_selectionProtectionRuleModel','unMountHistoryContent','getUnit','map','_permissionService','event$','UNIVER_CONTAINER_ID','__getInjector','symbol','registerPlugin','height','historyUniver','children','univerContainerId','asObservable','_initContainer','fill','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','path','location','forEach','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','_componentManager','white','pluginName','assign','type','invoke','register','data','_sidebarService','toString','_initPlugins','defIds','disposeWithMe','block','1em','11653807lQgvfu','url(#history-icon_clip0_907_281)','workerURL','status$','get','_localeService','_configService','_pluginMap','_revertErrorTimer','univer-history-container','set','[HistoryLoaderService]:\x20Plugin\x20','flat','_injector','string','none','url(#$1','676385LheqBD','_historyManagerService','100%','160424GTBsCf','getConfig','position','defineProperty','use','UNIVER_UNKNOWN','unsubscribe','_config','currentTheme$','_menuManagerService','_initUniver','BUTTON','_init','Exited','history-icon_clip0_907_281','zIndex','1622853XQKYmE','setTheme','trim','subscribe','clear','close','history-container','_historyUniver$','HistoryIcon','0\x200\x2016\x2016','clipPath','random','xlink:href','editHistory.panel.listFetchError','univer-container','value','3788176bSZmYs','42TkDvpg','onStarting','displayName','attrs','dispose','substring','show','some','replace','menu','darkMode$','UniverIcon','_checkCanRevert','_messageService','_initListener','composePermission','4703856zwQCTz','svg','getSubunitRuleList','OPERATION','1gSWyxV','UNIVER_SHEET','currentColor','_localCacheService','getOwnPropertyDescriptor','_commandService','setDarkMode','./worker.js','history-icon','1000','tag','Error','getCurrentLocale','entries','editHistory.panel.title','length','has','status','createElement','SYNCED','_disposableCollection','mergeMenu','uComp','setConfig','historyUniver$','10BECoeG','div','style','Loading','OTHERS','add','exhaustSavingTask','revertRevision$','onCommandExecuted'];_0xbfba=function(){return _0x16214e;};return _0xbfba();}import{UniverSheetsHyperLinkUIPlugin as _0x516de1}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x28865f}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x588fcd,getCurrentRangeDisable$ as _0x59c368}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x465aee,..._0x11fe9a}){const _0x3beb7d=_0x135cd7,{icon:_0x46313d,id:_0x538504,className:_0x4012c8,extend:_0xa48a31,..._0x104fa7}=_0x11fe9a,_0x3b4c2b=(_0x3beb7d(0x124)+_0x538504+'\x20'+(_0x4012c8||''))[_0x3beb7d(0x18c)](),_0x4aa75a=_0x2f845d('_'+hi());return j(_0x46313d,''+_0x538504,{'defIds':_0x46313d[_0x3beb7d(0x162)],'idSuffix':_0x4aa75a['current']},{'ref':_0x465aee,'className':_0x3b4c2b,..._0x104fa7},_0xa48a31);}function j(_0x1215bc,_0x230d7f,_0xb12d70,_0x520664,_0x736c91){const _0x467299=_0x135cd7;return _0x3ec4cb(_0x1215bc[_0x467299(0x1b9)],{'key':_0x230d7f,...ci(_0x1215bc,_0xb12d70,_0x736c91),..._0x520664},(li(_0x1215bc,_0xb12d70)[_0x467299(0x14d)]||[])['map']((_0xc68c17,_0x497153)=>j(_0xc68c17,_0x230d7f+'-'+_0x1215bc['tag']+'-'+_0x497153,_0xb12d70,void 0x0,_0x736c91)));}function ci(_0x4f74d4,_0x1e30d5,_0x24da99){const _0x146895=_0x135cd7,_0xd8a858={..._0x4f74d4[_0x146895(0x19e)]};_0x24da99!=null&&_0x24da99[_0x146895(0x123)]&&_0xd8a858['fill']==='colorChannel1'&&(_0xd8a858[_0x146895(0x151)]=_0x24da99[_0x146895(0x123)]),_0x4f74d4[_0x146895(0x1b9)]==='mask'&&_0xd8a858['id']&&(_0xd8a858['id']=_0xd8a858['id']+_0x1e30d5['idSuffix']),Object[_0x146895(0x1bc)](_0xd8a858)[_0x146895(0x155)](([_0x3fdb6d,_0x322bc4])=>{const _0x4aed92=_0x146895;_0x3fdb6d==='mask'&&typeof _0x322bc4==_0x4aed92(0x174)&&(_0xd8a858[_0x3fdb6d]=_0x322bc4[_0x4aed92(0x1a3)](/url\(#(.*)\)/,_0x4aed92(0x176)+_0x1e30d5[_0x4aed92(0x12d)]+')'));});const {defIds:_0x5838f6}=_0x1e30d5;return!_0x5838f6||_0x5838f6['length']===0x0||(_0x4f74d4[_0x146895(0x1b9)]===_0x146895(0x17e)&&_0xd8a858[_0x146895(0x196)]&&(_0xd8a858[_0x146895(0x196)]=_0xd8a858[_0x146895(0x196)]+_0x1e30d5[_0x146895(0x12d)]),Object[_0x146895(0x1bc)](_0xd8a858)[_0x146895(0x155)](([_0x655af4,_0x8f42bb])=>{const _0x5d94b9=_0x146895;typeof _0x8f42bb=='string'&&(_0xd8a858[_0x655af4]=_0x8f42bb[_0x5d94b9(0x1a3)](/url\(#(.*)\)/,'url(#$1'+_0x1e30d5[_0x5d94b9(0x12d)]+')'));})),_0xd8a858;}function li(_0xa66c94,_0x5eca65){const _0x2f2876=_0x135cd7;var _0x3b0336;const {defIds:_0xdcc92f}=_0x5eca65;return!_0xdcc92f||_0xdcc92f[_0x2f2876(0x1be)]===0x0?_0xa66c94:_0xa66c94['tag']===_0x2f2876(0x133)&&((_0x3b0336=_0xa66c94[_0x2f2876(0x14d)])!=null&&_0x3b0336[_0x2f2876(0x1be)])?{..._0xa66c94,'children':_0xa66c94['children'][_0x2f2876(0x144)](_0x78b8cd=>typeof _0x78b8cd[_0x2f2876(0x19e)]['id']==_0x2f2876(0x174)&&_0xdcc92f&&_0xdcc92f['includes'](_0x78b8cd[_0x2f2876(0x19e)]['id'])?{..._0x78b8cd,'attrs':{..._0x78b8cd[_0x2f2876(0x19e)],'id':_0x78b8cd['attrs']['id']+_0x5eca65[_0x2f2876(0x12d)]}}:_0x78b8cd)}:_0xa66c94;}function hi(){const _0x4a007c=_0x135cd7;return Math[_0x4a007c(0x195)]()[_0x4a007c(0x160)](0x24)[_0x4a007c(0x1a0)](0x2,0x8);}F[_0x135cd7(0x19d)]=_0x135cd7(0x1a6);const ui={'tag':_0x135cd7(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x135cd7(0x193),'width':_0x135cd7(0x165),'height':_0x135cd7(0x165)},'children':[{'tag':'g','attrs':{'fill':_0x135cd7(0x1b1),'clipPath':_0x135cd7(0x167)},'children':[{'tag':_0x135cd7(0x153),'attrs':{'d':_0x135cd7(0x13e)}},{'tag':_0x135cd7(0x153),'attrs':{'d':_0x135cd7(0x156)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x135cd7(0x194),'attrs':{'id':_0x135cd7(0x188)},'children':[{'tag':_0x135cd7(0x153),'attrs':{'fill':_0x135cd7(0x158),'d':_0x135cd7(0x129)}}]}]}],'defIds':[_0x135cd7(0x188)]},V=_0xae00fa(function(_0x1d3d8b,_0x2a7b88){const _0x5ff5ab=_0x135cd7;return _0x3ec4cb(F,Object[_0x5ff5ab(0x15a)]({},_0x1d3d8b,{'id':_0x5ff5ab(0x1b7),'ref':_0x2a7b88,'icon':ui}));});V[_0x135cd7(0x19d)]=_0x135cd7(0x192);var gi=Object['getOwnPropertyDescriptor'],mi=(_0x2aad0e,_0x28e129,_0x47d8eb,_0x4ce035)=>{for(var _0x2e4bd7=_0x4ce035>0x1?void 0x0:_0x4ce035?gi(_0x28e129,_0x47d8eb):_0x28e129,_0x4d4d3c=_0x2aad0e['length']-0x1,_0x394e79;_0x4d4d3c>=0x0;_0x4d4d3c--)(_0x394e79=_0x2aad0e[_0x4d4d3c])&&(_0x2e4bd7=_0x394e79(_0x2e4bd7)||_0x2e4bd7);return _0x2e4bd7;},l=(_0x44d4b3,_0xff325)=>(_0x16d6fb,_0x5ab9f4)=>_0xff325(_0x16d6fb,_0x5ab9f4,_0x44d4b3);const vi=_0x135cd7(0x198),G=_0x135cd7(0x147),d=_0x135cd7(0x16f);let f=class extends _0xfe8920{constructor(_0x29132e,_0x1e3858,_0x409778,_0x50105a,_0x15820e,_0x46d41c,_0x52a420,_0x2deaeb,_0xe9e4b3,_0x2d9a03){const _0x5857b2=_0x135cd7;super(),g(this,_0x5857b2(0x191),new _0x176935(null)),g(this,_0x5857b2(0x1c7),this[_0x5857b2(0x191)][_0x5857b2(0x14f)]()),g(this,_0x5857b2(0x1c3),new _0x48961d()),g(this,_0x5857b2(0x16d),new Map()),(this[_0x5857b2(0x16b)]=_0x29132e,this['_univerInstanceService']=_0x1e3858,this[_0x5857b2(0x16c)]=_0x409778,this['_commandService']=_0x50105a,this['_messageService']=_0x15820e,this[_0x5857b2(0x145)]=_0x46d41c,this[_0x5857b2(0x141)]=_0x52a420,this['_dialogService']=_0x2deaeb,this[_0x5857b2(0x15f)]=_0xe9e4b3,this['_themeService']=_0x2d9a03,this['_init']());}get[_0x135cd7(0x14c)](){const _0xd2d9cf=_0x135cd7;return this['_historyUniver$'][_0xd2d9cf(0x199)];}[_0x135cd7(0x186)](){const _0xc38eda=_0x135cd7;this[_0xc38eda(0x150)](),this[_0xc38eda(0x161)]();}[_0x135cd7(0x150)](){const _0x5df228=_0x135cd7;var _0x5acc3d;const _0x5bdd8f=(_0x5acc3d=this[_0x5df228(0x16c)][_0x5df228(0x17b)](G))!=null?_0x5acc3d:vi,_0x50b0bc=document[_0x5df228(0x130)](_0x5bdd8f);if(!_0x50b0bc)return;const _0x159722=document[_0x5df228(0x1c1)](_0x5df228(0x1c9));_0x159722['id']=d,_0x159722[_0x5df228(0x134)][_0x5df228(0x1c5)]=_0x5df228(0x190),_0x159722[_0x5df228(0x11c)][_0x5df228(0x17c)]='absolute',_0x159722['style']['top']='0',_0x159722[_0x5df228(0x11c)]['left']='0',_0x159722[_0x5df228(0x11c)]['width']=_0x5df228(0x179),_0x159722[_0x5df228(0x11c)][_0x5df228(0x14b)]=_0x5df228(0x179),_0x159722[_0x5df228(0x11c)][_0x5df228(0x189)]=_0x5df228(0x1b8),_0x159722[_0x5df228(0x11c)][_0x5df228(0x13f)]=_0x5df228(0x175),_0x50b0bc['appendChild'](_0x159722);}[_0x135cd7(0x161)](){const _0x194925=_0x135cd7;var _0x355763,_0x3f9105,_0xd21338,_0x27a2cc;[[_0x59fcbc],[_0x47a3e5,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x152aee,null]]}],[_0x8f2baf],[_0x420a7,{'override':[[_0x13fa54,null]]}],[_0x131ad7,{'hasScroll':!0x1}],[_0x3b8b13],[_0x28865f],[_0xfd287c,{'notExecuteFormula':!0x0}],[_0x588fcd],[_0x3e6512],[_0xb98e50],[_0x518d03],[_0x31796b],[_0x55fc0f],[_0x71eaed],[_0x572eb9],[_0x51232b],[_0x516de1],[_0x883abf],[_0x3c2292],[_0xb8f3f5],[_0x5d9619,{'notExecuteFormula':!0x0}],[_0x17558a,{'workerURL':(_0x3f9105=(_0x355763=this['_configService'][_0x194925(0x17b)](_0x5243d0))==null?void 0x0:_0x355763[_0x194925(0x168)])!=null?_0x3f9105:_0x194925(0x1b6)}],[_0x462922],[_0x39e423],[_0x38df1a],[_0x16dccf],[_0x58bae6],[_0x37f1e3],[_0x38c7ed],[_0x127dbc,{'notExecuteFormula':!0x0}],[_0x4f5627,{'historyListServerUrl':(_0xd21338=this[_0x194925(0x16c)][_0x194925(0x17b)](U))==null?void 0x0:_0xd21338[_0x194925(0x12a)],'historyPanelComponentKey':(_0x27a2cc=this['_configService'][_0x194925(0x17b)](U))==null?void 0x0:_0x27a2cc[_0x194925(0x12b)]}]][_0x194925(0x155)](([_0x1679d7,_0x28c174])=>this['registerPlugin'](_0x1679d7,_0x28c174));}[_0x135cd7(0x19f)](){const _0x170f72=_0x135cd7;super[_0x170f72(0x19f)](),this[_0x170f72(0x142)](),this['_pluginMap'][_0x170f72(0x18e)]();}[_0x135cd7(0x14a)](_0x633b63,_0x1c31d6,_0x40c5e7){const _0x1284ce=_0x135cd7;if(this[_0x1284ce(0x16d)][_0x1284ce(0x1bf)](_0x633b63[_0x1284ce(0x159)])&&!_0x40c5e7)throw new Error(_0x1284ce(0x171)+_0x633b63[_0x1284ce(0x159)]+_0x1284ce(0x12c));this[_0x1284ce(0x16d)][_0x1284ce(0x170)](_0x633b63[_0x1284ce(0x159)],[_0x633b63,_0x1c31d6]);}['getAllPlugins'](){return Array['from'](this['_pluginMap']['values']());}['mountHistoryContent'](_0x33b9c2){const _0x99bdd4=_0x135cd7,_0x49c209=document[_0x99bdd4(0x130)](d);_0x49c209&&(_0x49c209[_0x99bdd4(0x11c)][_0x99bdd4(0x13f)]=_0x99bdd4(0x164),this[_0x99bdd4(0x184)](_0x33b9c2,d));}['unMountHistoryContent'](){const _0xb2ef65=_0x135cd7;var _0x28b73b;this[_0xb2ef65(0x1c3)]['dispose'](),(_0x28b73b=this['historyUniver'])==null||_0x28b73b[_0xb2ef65(0x19f)](),this['_historyUniver$']['next'](null);const _0x3d1a14=document[_0xb2ef65(0x130)](d);_0x3d1a14&&(_0x3d1a14[_0xb2ef65(0x11c)]['display']='none');}[_0x135cd7(0x184)](_0x2f5eeb,_0x7ade1){const _0x1a80da=_0x135cd7;if(this[_0x1a80da(0x14c)])return;const _0x5f2421=new _0x1754e5({'locales':{[this[_0x1a80da(0x16b)][_0x1a80da(0x1bb)]()]:this[_0x1a80da(0x16b)]['getLocales']()},'override':[[_0x9eaaa9,{'useClass':_0x54ff2d}]]}),_0x2f9c74=_0x5f2421[_0x1a80da(0x148)]();this['disposeWithMe'](this[_0x1a80da(0x139)][_0x1a80da(0x1a5)][_0x1a80da(0x18d)](_0x16fb45=>{const _0x20a510=_0x1a80da;_0x2f9c74[_0x20a510(0x16a)](_0x5301ff)[_0x20a510(0x1b5)](_0x16fb45);})),this[_0x1a80da(0x163)](this[_0x1a80da(0x139)][_0x1a80da(0x182)][_0x1a80da(0x18d)](_0x54f11e=>{const _0x45d0f8=_0x1a80da;_0x2f9c74[_0x45d0f8(0x16a)](_0x5301ff)[_0x45d0f8(0x18b)](_0x54f11e);})),_0x2f9c74[_0x1a80da(0x16a)](_0x4d4df9)['setLocale'](this[_0x1a80da(0x16b)][_0x1a80da(0x1bb)]()),_0x2f9c74['get'](_0x54ab8f)[_0x1a80da(0x1c6)](_0x1f8bf6,this['_configService'][_0x1a80da(0x17b)](_0x1f8bf6));const _0x61ccd6=this[_0x1a80da(0x16c)][_0x1a80da(0x17b)](_0x4ff0c3);_0x61ccd6&&_0x5f2421['registerPlugin'](_0x598a57,{'license':_0x61ccd6['ls']}),this[_0x1a80da(0x16d)]['forEach'](([_0x45e60d,_0x1782e8])=>{const _0x10c77c=_0x1a80da;_0x5f2421[_0x10c77c(0x14a)](_0x45e60d,_0x1782e8);}),_0x2f9c74[_0x1a80da(0x15c)](_0x4e9b45=>{const _0x5b5b09=_0x1a80da;this[_0x5b5b09(0x1a9)](_0x4e9b45,_0x2f5eeb);}),this[_0x1a80da(0x191)]['next'](_0x5f2421);const _0xd30f26=_0x2f9c74['get'](_0x289563),_0x359960=this[_0x1a80da(0x1a7)](_0x2f5eeb);_0xd30f26[_0x1a80da(0x125)](_0x2f5eeb,_0x7ade1,_0x359960);}[_0x135cd7(0x1a9)](_0x2cc5c5,_0x40acd0){const _0x84b888=_0x135cd7,_0x4dd19a=_0x2cc5c5['get'](_0x289563);this[_0x84b888(0x1c3)][_0x84b888(0x11f)](_0x4dd19a[_0x84b888(0x169)][_0x84b888(0x18d)](_0x12b524=>{const _0x3d9daa=_0x84b888;switch(_0x12b524){case _0x30b1e4['Entered']:this[_0x3d9daa(0x135)]['closeAll'](),this[_0x3d9daa(0x15f)][_0x3d9daa(0x18f)]();break;case _0x30b1e4[_0x3d9daa(0x187)]:this['_commandService'][_0x3d9daa(0x12e)](W['id']),this['unMountHistoryContent']();break;case _0x30b1e4['Error']:this[_0x3d9daa(0x142)](),this['_messageService'][_0x3d9daa(0x1a1)]({'content':this[_0x3d9daa(0x16b)]['t'](_0x3d9daa(0x197)),'type':_0x2bd01['Error'],'duration':0xbb8});break;}})),this[_0x84b888(0x1c3)][_0x84b888(0x11f)](_0x4dd19a[_0x84b888(0x121)][_0x84b888(0x18d)](async _0x3125e4=>{const _0x454b16=_0x84b888;_0x3125e4&&this['_commandService'][_0x454b16(0x12e)](_0x115885['id'],{'unitId':_0x40acd0,'revision':_0x3125e4});}));}[_0x135cd7(0x1a7)](_0x5eb5ca){const _0x3b731a=_0x135cd7,_0x1176be=this['_univerInstanceService'][_0x3b731a(0x143)](_0x5eb5ca)[_0x3b731a(0x138)]()['map'](_0x4f62b5=>_0x4f62b5['getSheetId']()),_0x59e592=new _0x1c0b5e(_0x5eb5ca)['id'],_0x562f4d=_0x1176be[_0x3b731a(0x144)](_0x5c2680=>new _0x577dc2(_0x5eb5ca,_0x5c2680)['id']),_0x26114d=_0x1176be[_0x3b731a(0x144)](_0x51de3d=>this['_selectionProtectionRuleModel'][_0x3b731a(0x1ad)](_0x5eb5ca,_0x51de3d)[_0x3b731a(0x144)](_0x3ebe35=>new _0x309445(_0x5eb5ca,_0x51de3d,_0x3ebe35[_0x3b731a(0x13c)])['id']))[_0x3b731a(0x172)](),_0x45f32c=new _0x337e2b(_0x5eb5ca)['id'];return this[_0x3b731a(0x145)][_0x3b731a(0x1aa)]([_0x59e592,..._0x562f4d,..._0x26114d,_0x45f32c])[_0x3b731a(0x13b)](_0x3fcb5d=>!!_0x3fcb5d[_0x3b731a(0x199)]);}};f=mi([l(0x0,_0x2aae2f(_0x4d4df9)),l(0x1,_0x117fb2),l(0x2,_0x54ab8f),l(0x3,_0x3b5324),l(0x4,_0x54521c),l(0x5,_0x85ae2b),l(0x6,_0x2aae2f(_0x5f2284)),l(0x7,_0x2aae2f(_0x152aee)),l(0x8,_0x2aae2f(_0xa12dd6)),l(0x9,_0x2aae2f(_0x5301ff))],f);const b={'id':_0x135cd7(0x140),'type':_0x4f02fa[_0x135cd7(0x1ae)],'handler':_0x3617d5=>{const _0x233e69=_0x135cd7,_0x4c7f75=_0x3617d5[_0x233e69(0x16a)](f),_0x4623b6=_0x3617d5[_0x233e69(0x16a)](_0x117fb2),{unitId:_0x339f8e}=_0xb1734d(_0x4623b6)||{};return _0x339f8e?(_0x4c7f75[_0x233e69(0x137)](_0x339f8e),!0x0):!0x1;}},W={'id':_0x135cd7(0x132),'type':_0x4f02fa['OPERATION'],'handler':()=>!0x0};function di(_0x3018e3){const _0x43827e=_0x135cd7;return{'id':b['id'],'type':_0x1ef55d[_0x43827e(0x185)],'icon':_0x43827e(0x192),'tooltip':_0x43827e(0x1bd),'hidden$':_0x1d9f25(_0x3018e3,_0x58e94f[_0x43827e(0x1b0)]),'disabled$':_0x59c368(_0x3018e3,{'workbookTypes':[_0x1c0b5e,_0x2a8295],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x4fb220[_0x135cd7(0x11e)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x135cd7(0x1b3)],pi=(_0xabb838,_0x50425e,_0x1c8a0a,_0x42e014)=>{const _0x3406ef=_0x135cd7;for(var _0x3c63c9=_0x42e014>0x1?void 0x0:_0x42e014?_i(_0x50425e,_0x1c8a0a):_0x50425e,_0x51fec0=_0xabb838[_0x3406ef(0x1be)]-0x1,_0x37c401;_0x51fec0>=0x0;_0x51fec0--)(_0x37c401=_0xabb838[_0x51fec0])&&(_0x3c63c9=_0x37c401(_0x3c63c9)||_0x3c63c9);return _0x3c63c9;},m=(_0x564706,_0x57a638)=>(_0x16023a,_0x35ff7d)=>_0x57a638(_0x16023a,_0x35ff7d,_0x564706);let p=class extends _0x4a20e6{constructor(_0x5b30f5,_0x4e2d7b,_0x59c11b,_0x22751a,_0x5529e3,_0xa456a9,_0x41b771,_0xee548a){const _0x28960e=_0x135cd7;super(),g(this,_0x28960e(0x16e),null),(this[_0x28960e(0x1b4)]=_0x5b30f5,this[_0x28960e(0x183)]=_0x4e2d7b,this[_0x28960e(0x157)]=_0x59c11b,this[_0x28960e(0x178)]=_0x22751a,this[_0x28960e(0x16b)]=_0x5529e3,this['_messageService']=_0xa456a9,this['_collaborationController']=_0x41b771,this[_0x28960e(0x1b2)]=_0xee548a,this[_0x28960e(0x186)]());}[_0x135cd7(0x186)](){const _0x3452d4=_0x135cd7;[b,W][_0x3452d4(0x155)](_0x3b2564=>this[_0x3452d4(0x163)](_0x5687bd(this[_0x3452d4(0x1b4)]['registerCommand'](_0x3b2564)))),this[_0x3452d4(0x163)](this['_componentManager'][_0x3452d4(0x15d)](_0x3452d4(0x192),V)),this[_0x3452d4(0x183)][_0x3452d4(0x1c4)](fi),this[_0x3452d4(0x163)](this[_0x3452d4(0x1b4)][_0x3452d4(0x122)](_0x36e4e3=>{const _0x2191db=_0x3452d4;if(_0x36e4e3['id']===_0x115885['id']){this[_0x2191db(0x1a8)]['show']({'content':this[_0x2191db(0x16b)]['t']('editHistory.panel.reverting'),'type':_0x2bd01[_0x2191db(0x11d)],'duration':0x1388});const {unitId:_0x464015}=_0x36e4e3['params'],_0x593fcf=this[_0x2191db(0x128)]['getCollabEntity'](_0x464015),_0x28a2b9=_0x3069c0([_0x593fcf[_0x2191db(0x131)][_0x2191db(0x146)],_0x593fcf['state$']])['subscribe'](async([_0x24a482,_0x2fff44])=>{const _0x5cc85d=_0x2191db;var _0x3fbc7e;_0x24a482['eventID']===_0x49fb82[_0x5cc85d(0x127)]&&(_0x2fff44==null?void 0x0:_0x2fff44[_0x5cc85d(0x1c0)])===_0x2d4596[_0x5cc85d(0x1c2)]&&_0x24a482[_0x5cc85d(0x15e)][_0x5cc85d(0x126)][_0x5cc85d(0x1a2)](_0x1b9931=>_0x1b9931['id']===_0x115885['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x28a2b9[_0x5cc85d(0x180)](),this[_0x5cc85d(0x16e)]&&clearTimeout(this[_0x5cc85d(0x16e)]),await((_0x3fbc7e=this[_0x5cc85d(0x1b2)])==null?void 0x0:_0x3fbc7e[_0x5cc85d(0x120)]()),setTimeout(()=>window[_0x5cc85d(0x154)][_0x5cc85d(0x12f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3e9be6=_0x2191db;_0x28a2b9[_0x3e9be6(0x180)](),this[_0x3e9be6(0x1a8)][_0x3e9be6(0x1a1)]({'content':this[_0x3e9be6(0x16b)]['t'](_0x3e9be6(0x13a)),'type':_0x2bd01[_0x3e9be6(0x1ba)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3b5324),m(0x1,_0x39cebb),m(0x2,_0x2aae2f(_0x3a2560)),m(0x3,_0x2aae2f(f)),m(0x4,_0x2aae2f(_0x4d4df9)),m(0x5,_0x54521c),m(0x6,_0x2aae2f(_0x1df266)),m(0x7,_0x2724e7)],p);var Si=Object[_0x135cd7(0x1b3)],Ci=(_0x5d84e0,_0x3ddf30,_0x4d77ac,_0x4d6adc)=>{for(var _0x13b03e=_0x4d6adc>0x1?void 0x0:_0x4d6adc?Si(_0x3ddf30,_0x4d77ac):_0x3ddf30,_0x2f2834=_0x5d84e0['length']-0x1,_0x38779f;_0x2f2834>=0x0;_0x2f2834--)(_0x38779f=_0x5d84e0[_0x2f2834])&&(_0x13b03e=_0x38779f(_0x13b03e)||_0x13b03e);return _0x13b03e;},R=(_0x3dfc84,_0x28391f)=>(_0xd36f1d,_0x4d9ca2)=>_0x28391f(_0xd36f1d,_0x4d9ca2,_0x3dfc84);const yi=_0x135cd7(0x152);var _;let H=(_=class extends _0x5cb958{constructor(_0x2eaacf=N,_0x5395f5,_0x298364){const _0x1b6a36=_0x135cd7;super(),this['_config']=_0x2eaacf,this[_0x1b6a36(0x173)]=_0x5395f5,this['_configService']=_0x298364;const {menu:_0x1711ec,..._0x412e62}=_0x13da1a({},N,this[_0x1b6a36(0x181)]);_0x1711ec&&this[_0x1b6a36(0x16c)][_0x1b6a36(0x1c6)](_0x1b6a36(0x1a4),_0x1711ec,{'merge':!0x0}),this['_configService'][_0x1b6a36(0x1c6)](U,_0x412e62),this[_0x1b6a36(0x181)]['univerContainerId']&&this['_configService'][_0x1b6a36(0x1c6)](G,this[_0x1b6a36(0x181)][_0x1b6a36(0x14e)]);}[_0x135cd7(0x19c)](){const _0x22f69e=_0x135cd7;[[f],[p]][_0x22f69e(0x155)](_0x448594=>this['_injector'][_0x22f69e(0x11f)](_0x448594));}['onSteady'](){const _0x105909=_0x135cd7;this['_injector'][_0x105909(0x16a)](p);}},g(_,_0x135cd7(0x15b),_0x58e94f[_0x135cd7(0x17f)]),g(_,_0x135cd7(0x159),yi),_);function _0x339d(_0x3925d1,_0x321bdf){_0x3925d1=_0x3925d1-0x11c;const _0xbfba11=_0xbfba();let _0x339d0a=_0xbfba11[_0x3925d1];return _0x339d0a;}H=Ci([R(0x1,_0x2aae2f(_0x59f36f)),R(0x2,_0x54ab8f)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x3ff3bc=_0x29f1;(function(_0x57b45c,_0x2b7dd0){const _0x426ce0=_0x29f1,_0x4a0c8d=_0x57b45c();while(!![]){try{const _0xfccf15=parseInt(_0x426ce0(0x15c))/0x1+-parseInt(_0x426ce0(0x152))/0x2+parseInt(_0x426ce0(0x13b))/0x3+-parseInt(_0x426ce0(0x11f))/0x4*(-parseInt(_0x426ce0(0x120))/0x5)+-parseInt(_0x426ce0(0x112))/0x6*(parseInt(_0x426ce0(0x13f))/0x7)+-parseInt(_0x426ce0(0x1a6))/0x8*(parseInt(_0x426ce0(0x12c))/0x9)+parseInt(_0x426ce0(0x188))/0xa*(parseInt(_0x426ce0(0x1a3))/0xb);if(_0xfccf15===_0x2b7dd0)break;else _0x4a0c8d['push'](_0x4a0c8d['shift']());}catch(_0x37deb1){_0x4a0c8d['push'](_0x4a0c8d['shift']());}}}(_0x2667,0x8179d));var Y=Object[_0x3ff3bc(0x1a0)],B=(_0x1ff93,_0x218600,_0x28dc9d)=>_0x218600 in _0x1ff93?Y(_0x1ff93,_0x218600,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28dc9d}):_0x1ff93[_0x218600]=_0x28dc9d,g=(_0x5e640a,_0x5b222f,_0x3c497f)=>B(_0x5e640a,typeof _0x5b222f!=_0x3ff3bc(0x162)?_0x5b222f+'':_0x5b222f,_0x3c497f);import{Inject as _0x451f68,LocaleService as _0x2444fb,IUniverInstanceService as _0x1b71bf,IConfigService as _0x336982,ICommandService as _0x3e24a8,IPermissionService as _0x542b91,ThemeService as _0xdb111c,Disposable as _0x5259ef,DisposableCollection as _0x311190,Univer as _0x586768,IAuthzIoService as _0x4e08fc,CommandType as _0x14cd3d,UniverInstanceType as _0x5c5b4a,RxDisposable as _0x20cb75,toDisposable as _0x294357,Plugin as _0x47fc7e,merge as _0x51456e,Injector as _0x338560}from'@univerjs/core';import{UniverCollaborationPlugin as _0x7afa06,RevertRevisionMutation as _0x4c9bc7,CollaborationEvent as _0x17b151}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x13e9d0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4c5914,CollaborationController as _0x22941d,ILocalCacheService as _0x1e687d,CollaborationStatus as _0x467635}from'@univerjs-pro/collaboration-client';import{MessageType as _0xa065f5}from'@univerjs/design';import{useRef as _0x2a2f26,createElement as _0xb59639,forwardRef as _0x59e973}from'react';import{IMessageService as _0x2c8b9f,IDialogService as _0x936cea,ISidebarService as _0x38b738,UniverUIPlugin as _0xd1e505,getMenuHiddenObservable as _0x2daafa,MenuItemType as _0x5ea8cc,RibbonStartGroup as _0x330a8a,IMenuManagerService as _0x56754f,ComponentManager as _0x263d90}from'@univerjs/ui';import{BehaviorSubject as _0x3578bb,combineLatest as _0x146c67}from'rxjs';import{RangeProtectionRuleModel as _0x1b8624,UniverSheetsPlugin as _0x4c7c1b,WorkbookEditablePermission as _0x32bbe8,WorksheetEditPermission as _0x2d4536,RangeProtectionPermissionEditPoint as _0x598bb1,WorkbookRecoverHistoryPermission as _0x313266,getSheetCommandTarget as _0xd04fe2,WorkbookViewHistoryPermission as _0x5b4ea8}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x5ef781,HistoryManagerService as _0x2dded6,HistoryModeStatus as _0x2e1209}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3de4b5,UniverLicensePlugin as _0x48d868}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x394b1b}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x119b06}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0xe0ffc6}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x1120de}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x20fc06}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x276b74}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5c4b67}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x386d82}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x4d9d15,IImageIoService as _0x169cc8}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2eb99f}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x39853e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5dce9e}from'@univerjs/engine-render';function _0x2667(){const _0x284579=['1em','div','uComp','entries','18JJhXuZ','_selectionProtectionRuleModel','type','_dialogService','executeCommand','has','clear','currentColor','tag','mountHistoryContent','UNIVER_UNKNOWN','_injector','univer.operation.toggle-edit-history','752652QyKLUr','5TWnHwz','1000','getConfig','display','from','left','_initListener','_initUniver','includes','unsubscribe','M0\x200H16V16H0z','event$','184698yQArIJ','historyPanelComponentKey','_pluginMap','every','set','getCollabEntity','current','./worker.js','mergeMenu','defs','trim','add','_revertErrorTimer','getLocales','setDarkMode','1077174ucwyzN','editHistory.panel.reverting','idSuffix','top','739221WXIUiE','mutations','_checkCanRevert','width','location','clipPath','revertRevision$','univerjs-icon\x20univerjs-icon-','session','map','assign','\x20has\x20been\x20registered.','next','_config','getUnit','_localCacheService','values','composePermission','_commandService','410958ePkQBF','historyUniver','path','triggerLoadVersions','HistoryIcon','getSheets','block','Error','some','_menuManagerService','426233pGDNSl','OPERATION','height','currentTheme$','onSteady','disposeWithMe','symbol','defIds','show','univer-container','dispose','getCurrentLocale','_configService','length','_collaborationController','none','_initPlugins','_messageService','editHistory.panel.listFetchError','style','colorChannel1','fill','mask','getSubunitRuleList','UNIVER_CONTAINER_ID','_initContainer','substring','dataset','status$','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_historyManagerService','subscribe','use','invoke','univer.operation.exit-edit-history','univerContainerId','_themeService','forEach','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_disposableCollection','getElementById','attrs','value','_historyUniver$','5230DoHQNp','pluginName','random','getOwnPropertyDescriptor','asObservable','close','unMountHistoryContent','get','white','_univerInstanceService','exhaustSavingTask','__getInjector','appendChild','historyListServerUrl','menu','_sidebarService','status','Loading','0\x200\x2016\x2016','setTheme','permissionId','children','xlink:href','registerCommand','defineProperty','_init','edit-history-loader.config','6413EOsURM','string','_permissionService','88saEKNG','setConfig','editHistory.panel.revertFailed','url(#$1','replace','history-icon','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','zIndex','registerPlugin','_localeService','state$','register','displayName','Exited','workerURL','_componentManager','OTHERS'];_0x2667=function(){return _0x284579;};return _0x2667();}import{UniverNetworkPlugin as _0x585093}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x4a78fd,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2d34ba}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x2b0a84}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x8fca09}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x13a67b}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x9b232e}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x470423}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x486a38}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x4ca456}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x48703f}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x252b7f}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x5ae8fd}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x3b48d8}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x15dc26}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x1d178c}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0xf4d50e,getCurrentRangeDisable$ as _0x3e6fb7}from'@univerjs/sheets-ui';const U=_0x3ff3bc(0x1a2),N={};function F({ref:_0x2fb042,..._0x94e65e}){const _0x44bcb1=_0x3ff3bc,{icon:_0x4573c9,id:_0x134e2c,className:_0x1167e2,extend:_0x3ded11,..._0x2e50e1}=_0x94e65e,_0xa1c83c=(_0x44bcb1(0x146)+_0x134e2c+'\x20'+(_0x1167e2||''))[_0x44bcb1(0x136)](),_0x3bb0a1=_0x2a2f26('_'+hi());return j(_0x4573c9,''+_0x134e2c,{'defIds':_0x4573c9[_0x44bcb1(0x163)],'idSuffix':_0x3bb0a1[_0x44bcb1(0x132)]},{'ref':_0x2fb042,'className':_0xa1c83c,..._0x2e50e1},_0x3ded11);}function j(_0x1d1e20,_0x3604db,_0x2fa9e8,_0x177d17,_0x507a1b){const _0x44ef24=_0x3ff3bc;return _0xb59639(_0x1d1e20[_0x44ef24(0x11a)],{'key':_0x3604db,...ci(_0x1d1e20,_0x2fa9e8,_0x507a1b),..._0x177d17},(li(_0x1d1e20,_0x2fa9e8)['children']||[])[_0x44ef24(0x148)]((_0x33a52b,_0x513407)=>j(_0x33a52b,_0x3604db+'-'+_0x1d1e20[_0x44ef24(0x11a)]+'-'+_0x513407,_0x2fa9e8,void 0x0,_0x507a1b)));}function ci(_0xbb790e,_0x432c60,_0x575eb5){const _0x43f84b=_0x3ff3bc,_0x504305={..._0xbb790e[_0x43f84b(0x185)]};_0x575eb5!=null&&_0x575eb5[_0x43f84b(0x170)]&&_0x504305[_0x43f84b(0x171)]===_0x43f84b(0x170)&&(_0x504305[_0x43f84b(0x171)]=_0x575eb5[_0x43f84b(0x170)]),_0xbb790e[_0x43f84b(0x11a)]==='mask'&&_0x504305['id']&&(_0x504305['id']=_0x504305['id']+_0x432c60[_0x43f84b(0x13d)]),Object[_0x43f84b(0x111)](_0x504305)[_0x43f84b(0x181)](([_0x40dbb0,_0x3ef831])=>{const _0x180309=_0x43f84b;_0x40dbb0===_0x180309(0x172)&&typeof _0x3ef831=='string'&&(_0x504305[_0x40dbb0]=_0x3ef831[_0x180309(0x1aa)](/url\(#(.*)\)/,'url(#$1'+_0x432c60['idSuffix']+')'));});const {defIds:_0xd489d0}=_0x432c60;return!_0xd489d0||_0xd489d0['length']===0x0||(_0xbb790e['tag']===_0x43f84b(0x17c)&&_0x504305['xlink:href']&&(_0x504305[_0x43f84b(0x19e)]=_0x504305['xlink:href']+_0x432c60[_0x43f84b(0x13d)]),Object[_0x43f84b(0x111)](_0x504305)[_0x43f84b(0x181)](([_0x4b264c,_0x489883])=>{const _0x1ad79b=_0x43f84b;typeof _0x489883==_0x1ad79b(0x1a4)&&(_0x504305[_0x4b264c]=_0x489883['replace'](/url\(#(.*)\)/,_0x1ad79b(0x1a9)+_0x432c60[_0x1ad79b(0x13d)]+')'));})),_0x504305;}function li(_0x1e0606,_0x338102){const _0x932149=_0x3ff3bc;var _0x1c3bde;const {defIds:_0xf0aa71}=_0x338102;return!_0xf0aa71||_0xf0aa71[_0x932149(0x169)]===0x0?_0x1e0606:_0x1e0606['tag']===_0x932149(0x135)&&((_0x1c3bde=_0x1e0606[_0x932149(0x19d)])!=null&&_0x1c3bde[_0x932149(0x169)])?{..._0x1e0606,'children':_0x1e0606['children'][_0x932149(0x148)](_0xd1949c=>typeof _0xd1949c[_0x932149(0x185)]['id']==_0x932149(0x1a4)&&_0xf0aa71&&_0xf0aa71[_0x932149(0x128)](_0xd1949c[_0x932149(0x185)]['id'])?{..._0xd1949c,'attrs':{..._0xd1949c[_0x932149(0x185)],'id':_0xd1949c[_0x932149(0x185)]['id']+_0x338102[_0x932149(0x13d)]}}:_0xd1949c)}:_0x1e0606;}function hi(){const _0x304a2c=_0x3ff3bc;return Math[_0x304a2c(0x18a)]()['toString'](0x24)[_0x304a2c(0x176)](0x2,0x8);}F[_0x3ff3bc(0x1b2)]='UniverIcon';function _0x29f1(_0x2454ab,_0x302bf9){_0x2454ab=_0x2454ab-0x10d;const _0x266704=_0x2667();let _0x29f1c0=_0x266704[_0x2454ab];return _0x29f1c0;}const ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3ff3bc(0x19a),'width':_0x3ff3bc(0x10e),'height':_0x3ff3bc(0x10e)},'children':[{'tag':'g','attrs':{'fill':_0x3ff3bc(0x119),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x3ff3bc(0x154),'attrs':{'d':_0x3ff3bc(0x179)}},{'tag':_0x3ff3bc(0x154),'attrs':{'d':_0x3ff3bc(0x1ac)}}]},{'tag':_0x3ff3bc(0x135),'attrs':{},'children':[{'tag':_0x3ff3bc(0x144),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3ff3bc(0x154),'attrs':{'fill':_0x3ff3bc(0x190),'d':_0x3ff3bc(0x12a)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x59e973(function(_0x732386,_0x88da0e){const _0x2ce296=_0x3ff3bc;return _0xb59639(F,Object[_0x2ce296(0x149)]({},_0x732386,{'id':_0x2ce296(0x1ab),'ref':_0x88da0e,'icon':ui}));});V[_0x3ff3bc(0x1b2)]=_0x3ff3bc(0x156);var gi=Object[_0x3ff3bc(0x18b)],mi=(_0x27eb4c,_0x1f385e,_0x5cee26,_0x55585e)=>{const _0x202ad0=_0x3ff3bc;for(var _0x5382b7=_0x55585e>0x1?void 0x0:_0x55585e?gi(_0x1f385e,_0x5cee26):_0x1f385e,_0x5ca9d0=_0x27eb4c[_0x202ad0(0x169)]-0x1,_0x1dee09;_0x5ca9d0>=0x0;_0x5ca9d0--)(_0x1dee09=_0x27eb4c[_0x5ca9d0])&&(_0x5382b7=_0x1dee09(_0x5382b7)||_0x5382b7);return _0x5382b7;},l=(_0x6cef2a,_0x35c929)=>(_0x1a4cd7,_0x549254)=>_0x35c929(_0x1a4cd7,_0x549254,_0x6cef2a);const vi=_0x3ff3bc(0x165),G=_0x3ff3bc(0x174),d='univer-history-container';let f=class extends _0x5259ef{constructor(_0x40f962,_0x5149b8,_0x481dbd,_0xb3ffa0,_0x276898,_0x1acd84,_0x4a870f,_0x376395,_0xecf257,_0xf9b493){const _0x3dbcc5=_0x3ff3bc;super(),g(this,_0x3dbcc5(0x187),new _0x3578bb(null)),g(this,'historyUniver$',this[_0x3dbcc5(0x187)][_0x3dbcc5(0x18c)]()),g(this,'_disposableCollection',new _0x311190()),g(this,_0x3dbcc5(0x12e),new Map()),(this['_localeService']=_0x40f962,this['_univerInstanceService']=_0x5149b8,this[_0x3dbcc5(0x168)]=_0x481dbd,this[_0x3dbcc5(0x151)]=_0xb3ffa0,this[_0x3dbcc5(0x16d)]=_0x276898,this[_0x3dbcc5(0x1a5)]=_0x1acd84,this['_selectionProtectionRuleModel']=_0x4a870f,this[_0x3dbcc5(0x115)]=_0x376395,this[_0x3dbcc5(0x197)]=_0xecf257,this[_0x3dbcc5(0x180)]=_0xf9b493,this['_init']());}get[_0x3ff3bc(0x153)](){const _0x1c7de3=_0x3ff3bc;return this[_0x1c7de3(0x187)][_0x1c7de3(0x186)];}['_init'](){const _0x317e63=_0x3ff3bc;this[_0x317e63(0x175)](),this[_0x317e63(0x16c)]();}[_0x3ff3bc(0x175)](){const _0x2df9fc=_0x3ff3bc;var _0x3a4e6;const _0x621a9d=(_0x3a4e6=this[_0x2df9fc(0x168)]['getConfig'](G))!=null?_0x3a4e6:vi,_0xb6256f=document[_0x2df9fc(0x184)](_0x621a9d);if(!_0xb6256f)return;const _0xf219b1=document['createElement'](_0x2df9fc(0x10f));_0xf219b1['id']=d,_0xf219b1[_0x2df9fc(0x177)][_0x2df9fc(0x110)]='history-container',_0xf219b1[_0x2df9fc(0x16f)]['position']='absolute',_0xf219b1['style'][_0x2df9fc(0x13e)]='0',_0xf219b1[_0x2df9fc(0x16f)][_0x2df9fc(0x125)]='0',_0xf219b1[_0x2df9fc(0x16f)][_0x2df9fc(0x142)]='100%',_0xf219b1['style'][_0x2df9fc(0x15e)]='100%',_0xf219b1['style'][_0x2df9fc(0x1ad)]=_0x2df9fc(0x121),_0xf219b1['style'][_0x2df9fc(0x123)]=_0x2df9fc(0x16b),_0xb6256f[_0x2df9fc(0x194)](_0xf219b1);}[_0x3ff3bc(0x16c)](){const _0x2dae00=_0x3ff3bc;var _0x174a4d,_0x390584,_0x2db741,_0x1fd225;[[_0x5dce9e],[_0xd1e505,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x936cea,null]]}],[_0x585093],[_0x4d9d15,{'override':[[_0x169cc8,null]]}],[_0x5c4b67,{'hasScroll':!0x1}],[_0x386d82],[_0x1d178c],[_0x4c7c1b,{'notExecuteFormula':!0x0}],[_0xf4d50e],[_0x252b7f],[_0x5ae8fd],[_0x7afa06],[_0x4ca456],[_0x48703f],[_0x2b0a84],[_0x8fca09],[_0x3b48d8],[_0x15dc26],[_0x276b74],[_0x13a67b],[_0x9b232e],[_0x39853e,{'notExecuteFormula':!0x0}],[_0x4a78fd,{'workerURL':(_0x390584=(_0x174a4d=this[_0x2dae00(0x168)][_0x2dae00(0x122)](_0x2d34ba))==null?void 0x0:_0x174a4d[_0x2dae00(0x1b4)])!=null?_0x390584:_0x2dae00(0x133)}],[_0x2eb99f],[_0x470423],[_0x486a38],[_0x1120de],[_0x20fc06],[_0x394b1b],[_0x119b06],[_0xe0ffc6,{'notExecuteFormula':!0x0}],[_0x5ef781,{'historyListServerUrl':(_0x2db741=this['_configService'][_0x2dae00(0x122)](U))==null?void 0x0:_0x2db741[_0x2dae00(0x195)],'historyPanelComponentKey':(_0x1fd225=this['_configService'][_0x2dae00(0x122)](U))==null?void 0x0:_0x1fd225[_0x2dae00(0x12d)]}]][_0x2dae00(0x181)](([_0x5ad4fa,_0x378896])=>this[_0x2dae00(0x1ae)](_0x5ad4fa,_0x378896));}[_0x3ff3bc(0x166)](){const _0x316c7f=_0x3ff3bc;super['dispose'](),this['unMountHistoryContent'](),this[_0x316c7f(0x12e)][_0x316c7f(0x118)]();}['registerPlugin'](_0x573c03,_0x3041cb,_0x12c2a8){const _0x42fb29=_0x3ff3bc;if(this['_pluginMap'][_0x42fb29(0x117)](_0x573c03[_0x42fb29(0x189)])&&!_0x12c2a8)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x573c03['pluginName']+_0x42fb29(0x14a));this[_0x42fb29(0x12e)][_0x42fb29(0x130)](_0x573c03[_0x42fb29(0x189)],[_0x573c03,_0x3041cb]);}['getAllPlugins'](){const _0x5ec2c7=_0x3ff3bc;return Array[_0x5ec2c7(0x124)](this['_pluginMap'][_0x5ec2c7(0x14f)]());}[_0x3ff3bc(0x11b)](_0x1da3e5){const _0x1ae042=_0x3ff3bc,_0x2721fd=document[_0x1ae042(0x184)](d);_0x2721fd&&(_0x2721fd[_0x1ae042(0x16f)]['display']=_0x1ae042(0x158),this[_0x1ae042(0x127)](_0x1da3e5,d));}['unMountHistoryContent'](){const _0x2af255=_0x3ff3bc;var _0x49471d;this[_0x2af255(0x183)][_0x2af255(0x166)](),(_0x49471d=this[_0x2af255(0x153)])==null||_0x49471d['dispose'](),this[_0x2af255(0x187)][_0x2af255(0x14b)](null);const _0x58476a=document[_0x2af255(0x184)](d);_0x58476a&&(_0x58476a[_0x2af255(0x16f)][_0x2af255(0x123)]=_0x2af255(0x16b));}[_0x3ff3bc(0x127)](_0xfb6400,_0xb3fca2){const _0x191dba=_0x3ff3bc;if(this[_0x191dba(0x153)])return;const _0x2538ad=new _0x586768({'locales':{[this['_localeService'][_0x191dba(0x167)]()]:this[_0x191dba(0x1af)][_0x191dba(0x139)]()},'override':[[_0x4e08fc,{'useClass':_0x13e9d0}]]}),_0x458baf=_0x2538ad[_0x191dba(0x193)]();this['disposeWithMe'](this[_0x191dba(0x180)]['darkMode$'][_0x191dba(0x17b)](_0x4b7559=>{const _0x5f2301=_0x191dba;_0x458baf['get'](_0xdb111c)[_0x5f2301(0x13a)](_0x4b7559);})),this[_0x191dba(0x161)](this[_0x191dba(0x180)][_0x191dba(0x15f)]['subscribe'](_0x3fa118=>{const _0x1e9059=_0x191dba;_0x458baf[_0x1e9059(0x18f)](_0xdb111c)[_0x1e9059(0x19b)](_0x3fa118);})),_0x458baf[_0x191dba(0x18f)](_0x2444fb)['setLocale'](this[_0x191dba(0x1af)][_0x191dba(0x167)]()),_0x458baf[_0x191dba(0x18f)](_0x336982)['setConfig'](_0x4c5914,this[_0x191dba(0x168)][_0x191dba(0x122)](_0x4c5914));const _0xb0926a=this[_0x191dba(0x168)][_0x191dba(0x122)](_0x3de4b5);_0xb0926a&&_0x2538ad[_0x191dba(0x1ae)](_0x48d868,{'license':_0xb0926a['ls']}),this[_0x191dba(0x12e)][_0x191dba(0x181)](([_0x12b230,_0x313260])=>{const _0x35057e=_0x191dba;_0x2538ad[_0x35057e(0x1ae)](_0x12b230,_0x313260);}),_0x458baf[_0x191dba(0x17d)](_0x56775c=>{this['_initListener'](_0x56775c,_0xfb6400);}),this[_0x191dba(0x187)][_0x191dba(0x14b)](_0x2538ad);const _0x27069e=_0x458baf[_0x191dba(0x18f)](_0x2dded6),_0x38696b=this[_0x191dba(0x141)](_0xfb6400);_0x27069e[_0x191dba(0x155)](_0xfb6400,_0xb3fca2,_0x38696b);}[_0x3ff3bc(0x126)](_0x5be7b9,_0x366515){const _0x3d4893=_0x3ff3bc,_0x1e54a6=_0x5be7b9[_0x3d4893(0x18f)](_0x2dded6);this['_disposableCollection'][_0x3d4893(0x137)](_0x1e54a6[_0x3d4893(0x178)][_0x3d4893(0x17b)](_0x3cea70=>{const _0x3d67f0=_0x3d4893;switch(_0x3cea70){case _0x2e1209['Entered']:this[_0x3d67f0(0x115)]['closeAll'](),this[_0x3d67f0(0x197)][_0x3d67f0(0x18d)]();break;case _0x2e1209[_0x3d67f0(0x1b3)]:this[_0x3d67f0(0x151)]['executeCommand'](W['id']),this['unMountHistoryContent']();break;case _0x2e1209[_0x3d67f0(0x159)]:this[_0x3d67f0(0x18e)](),this['_messageService'][_0x3d67f0(0x164)]({'content':this[_0x3d67f0(0x1af)]['t'](_0x3d67f0(0x16e)),'type':_0xa065f5[_0x3d67f0(0x159)],'duration':0xbb8});break;}})),this[_0x3d4893(0x183)][_0x3d4893(0x137)](_0x1e54a6[_0x3d4893(0x145)][_0x3d4893(0x17b)](async _0x18e7ee=>{const _0x1151db=_0x3d4893;_0x18e7ee&&this[_0x1151db(0x151)][_0x1151db(0x116)](_0x4c9bc7['id'],{'unitId':_0x366515,'revision':_0x18e7ee});}));}['_checkCanRevert'](_0x334c89){const _0x3670bb=_0x3ff3bc,_0x345592=this[_0x3670bb(0x191)][_0x3670bb(0x14d)](_0x334c89)[_0x3670bb(0x157)]()[_0x3670bb(0x148)](_0x4fc440=>_0x4fc440['getSheetId']()),_0x3deb6e=new _0x32bbe8(_0x334c89)['id'],_0x30fa90=_0x345592['map'](_0x11b1ed=>new _0x2d4536(_0x334c89,_0x11b1ed)['id']),_0x155048=_0x345592[_0x3670bb(0x148)](_0x5a0807=>this[_0x3670bb(0x113)][_0x3670bb(0x173)](_0x334c89,_0x5a0807)['map'](_0x95f6af=>new _0x598bb1(_0x334c89,_0x5a0807,_0x95f6af[_0x3670bb(0x19c)])['id']))['flat'](),_0x3d2384=new _0x313266(_0x334c89)['id'];return this['_permissionService'][_0x3670bb(0x150)]([_0x3deb6e,..._0x30fa90,..._0x155048,_0x3d2384])[_0x3670bb(0x12f)](_0x28542f=>!!_0x28542f['value']);}};f=mi([l(0x0,_0x451f68(_0x2444fb)),l(0x1,_0x1b71bf),l(0x2,_0x336982),l(0x3,_0x3e24a8),l(0x4,_0x2c8b9f),l(0x5,_0x542b91),l(0x6,_0x451f68(_0x1b8624)),l(0x7,_0x451f68(_0x936cea)),l(0x8,_0x451f68(_0x38b738)),l(0x9,_0x451f68(_0xdb111c))],f);const b={'id':_0x3ff3bc(0x11e),'type':_0x14cd3d[_0x3ff3bc(0x15d)],'handler':_0x4a8703=>{const _0x443960=_0x3ff3bc,_0x3794d1=_0x4a8703[_0x443960(0x18f)](f),_0x128098=_0x4a8703[_0x443960(0x18f)](_0x1b71bf),{unitId:_0x4b20fe}=_0xd04fe2(_0x128098)||{};return _0x4b20fe?(_0x3794d1[_0x443960(0x11b)](_0x4b20fe),!0x0):!0x1;}},W={'id':_0x3ff3bc(0x17e),'type':_0x14cd3d[_0x3ff3bc(0x15d)],'handler':()=>!0x0};function di(_0x286b13){return{'id':b['id'],'type':_0x5ea8cc['BUTTON'],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x2daafa(_0x286b13,_0x5c5b4a['UNIVER_SHEET']),'disabled$':_0x3e6fb7(_0x286b13,{'workbookTypes':[_0x32bbe8,_0x5b4ea8],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x330a8a[_0x3ff3bc(0x10d)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x3ff3bc(0x18b)],pi=(_0x48a898,_0x4a3bdd,_0x3a0ce2,_0x2f5380)=>{const _0x2c4ee3=_0x3ff3bc;for(var _0x5ea25a=_0x2f5380>0x1?void 0x0:_0x2f5380?_i(_0x4a3bdd,_0x3a0ce2):_0x4a3bdd,_0x304712=_0x48a898[_0x2c4ee3(0x169)]-0x1,_0x4c46c6;_0x304712>=0x0;_0x304712--)(_0x4c46c6=_0x48a898[_0x304712])&&(_0x5ea25a=_0x4c46c6(_0x5ea25a)||_0x5ea25a);return _0x5ea25a;},m=(_0x901a4,_0x29898d)=>(_0x493e6e,_0x106c4d)=>_0x29898d(_0x493e6e,_0x106c4d,_0x901a4);let p=class extends _0x20cb75{constructor(_0x56bd3b,_0x27ad48,_0x47f785,_0x92dc75,_0xa976d1,_0x4a6186,_0x3de2aa,_0x56fcec){const _0x2ca265=_0x3ff3bc;super(),g(this,_0x2ca265(0x138),null),(this[_0x2ca265(0x151)]=_0x56bd3b,this[_0x2ca265(0x15b)]=_0x27ad48,this[_0x2ca265(0x1b5)]=_0x47f785,this[_0x2ca265(0x17a)]=_0x92dc75,this[_0x2ca265(0x1af)]=_0xa976d1,this['_messageService']=_0x4a6186,this[_0x2ca265(0x16a)]=_0x3de2aa,this[_0x2ca265(0x14e)]=_0x56fcec,this[_0x2ca265(0x1a1)]());}[_0x3ff3bc(0x1a1)](){const _0xd1306d=_0x3ff3bc;[b,W][_0xd1306d(0x181)](_0x2c7e91=>this[_0xd1306d(0x161)](_0x294357(this['_commandService'][_0xd1306d(0x19f)](_0x2c7e91)))),this['disposeWithMe'](this[_0xd1306d(0x1b5)][_0xd1306d(0x1b1)]('HistoryIcon',V)),this[_0xd1306d(0x15b)][_0xd1306d(0x134)](fi),this[_0xd1306d(0x161)](this[_0xd1306d(0x151)]['onCommandExecuted'](_0x20da86=>{const _0x2d5b45=_0xd1306d;if(_0x20da86['id']===_0x4c9bc7['id']){this[_0x2d5b45(0x16d)][_0x2d5b45(0x164)]({'content':this[_0x2d5b45(0x1af)]['t'](_0x2d5b45(0x13c)),'type':_0xa065f5[_0x2d5b45(0x199)],'duration':0x1388});const {unitId:_0x2a9680}=_0x20da86['params'],_0x423801=this[_0x2d5b45(0x16a)][_0x2d5b45(0x131)](_0x2a9680),_0x520684=_0x146c67([_0x423801[_0x2d5b45(0x147)][_0x2d5b45(0x12b)],_0x423801[_0x2d5b45(0x1b0)]])[_0x2d5b45(0x17b)](async([_0x3b952d,_0x19653b])=>{const _0x4e3aaf=_0x2d5b45;var _0x227234;_0x3b952d['eventID']===_0x17b151['CHANGESET_ACK']&&(_0x19653b==null?void 0x0:_0x19653b[_0x4e3aaf(0x198)])===_0x467635['SYNCED']&&_0x3b952d['data'][_0x4e3aaf(0x140)][_0x4e3aaf(0x15a)](_0x2adcd6=>_0x2adcd6['id']===_0x4c9bc7['id'])&&(this[_0x4e3aaf(0x17a)]['unMountHistoryContent'](),_0x520684[_0x4e3aaf(0x129)](),this[_0x4e3aaf(0x138)]&&clearTimeout(this[_0x4e3aaf(0x138)]),await((_0x227234=this['_localCacheService'])==null?void 0x0:_0x227234[_0x4e3aaf(0x192)]()),setTimeout(()=>window[_0x4e3aaf(0x143)]['reload']()));});this[_0x2d5b45(0x138)]=setTimeout(()=>{const _0x266a20=_0x2d5b45;_0x520684[_0x266a20(0x129)](),this[_0x266a20(0x16d)]['show']({'content':this[_0x266a20(0x1af)]['t'](_0x266a20(0x1a8)),'type':_0xa065f5['Error'],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x3e24a8),m(0x1,_0x56754f),m(0x2,_0x451f68(_0x263d90)),m(0x3,_0x451f68(f)),m(0x4,_0x451f68(_0x2444fb)),m(0x5,_0x2c8b9f),m(0x6,_0x451f68(_0x22941d)),m(0x7,_0x1e687d)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0xd633a8,_0x3d1c89,_0x33d40d,_0x374362)=>{const _0x24e9c8=_0x3ff3bc;for(var _0xf97613=_0x374362>0x1?void 0x0:_0x374362?Si(_0x3d1c89,_0x33d40d):_0x3d1c89,_0x1e1ea8=_0xd633a8[_0x24e9c8(0x169)]-0x1,_0x49debf;_0x1e1ea8>=0x0;_0x1e1ea8--)(_0x49debf=_0xd633a8[_0x1e1ea8])&&(_0xf97613=_0x49debf(_0xf97613)||_0xf97613);return _0xf97613;},R=(_0x5b9198,_0x2f5ea9)=>(_0x2db2d8,_0x522f78)=>_0x2f5ea9(_0x2db2d8,_0x522f78,_0x5b9198);const yi=_0x3ff3bc(0x182);var _;let H=(_=class extends _0x47fc7e{constructor(_0x48d2dc=N,_0x7dd395,_0x5d7e35){const _0x57aa9e=_0x3ff3bc;super(),this[_0x57aa9e(0x14c)]=_0x48d2dc,this[_0x57aa9e(0x11d)]=_0x7dd395,this[_0x57aa9e(0x168)]=_0x5d7e35;const {menu:_0x2316ab,..._0x350a06}=_0x51456e({},N,this[_0x57aa9e(0x14c)]);_0x2316ab&&this[_0x57aa9e(0x168)]['setConfig'](_0x57aa9e(0x196),_0x2316ab,{'merge':!0x0}),this[_0x57aa9e(0x168)][_0x57aa9e(0x1a7)](U,_0x350a06),this[_0x57aa9e(0x14c)]['univerContainerId']&&this[_0x57aa9e(0x168)][_0x57aa9e(0x1a7)](G,this[_0x57aa9e(0x14c)][_0x57aa9e(0x17f)]);}['onStarting'](){const _0x528057=_0x3ff3bc;[[f],[p]]['forEach'](_0x29f960=>this[_0x528057(0x11d)]['add'](_0x29f960));}[_0x3ff3bc(0x160)](){const _0x56f7b3=_0x3ff3bc;this[_0x56f7b3(0x11d)][_0x56f7b3(0x18f)](p);}},g(_,_0x3ff3bc(0x114),_0x5c5b4a[_0x3ff3bc(0x11c)]),g(_,_0x3ff3bc(0x189),yi),_);H=Ci([R(0x1,_0x451f68(_0x338560)),R(0x2,_0x336982)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2cde(_0x34f5ed,_0x51d9ff){_0x34f5ed=_0x34f5ed-0x1d5;const _0x7318cd=_0x7318();let _0x2cdeb8=_0x7318cd[_0x34f5ed];return _0x2cdeb8;}(function(_0xfc6781,_0x2f9f77){const _0x173596=_0x2cde,_0x2fd893=_0xfc6781();while(!![]){try{const _0x3aa834=parseInt(_0x173596(0x295))/0x1+-parseInt(_0x173596(0x2e6))/0x2+-parseInt(_0x173596(0x224))/0x3+-parseInt(_0x173596(0x235))/0x4*(parseInt(_0x173596(0x2d7))/0x5)+-parseInt(_0x173596(0x24a))/0x6+-parseInt(_0x173596(0x206))/0x7+-parseInt(_0x173596(0x2f7))/0x8*(-parseInt(_0x173596(0x2f4))/0x9);if(_0x3aa834===_0x2f9f77)break;else _0x2fd893['push'](_0x2fd893['shift']());}catch(_0x11ab65){_0x2fd893['push'](_0x2fd893['shift']());}}}(_0x7318,0xe623e),function(_0x112b49,_0x4b8b1d){const _0x4639d1=_0x2cde;typeof exports=='object'&&typeof module<'u'?_0x4b8b1d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x4639d1(0x2b8)&&define[_0x4639d1(0x2bc)]?define([_0x4639d1(0x217),_0x4639d1(0x2db),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x4639d1(0x26b),'react','@univerjs/ui','rxjs',_0x4639d1(0x263),_0x4639d1(0x304),_0x4639d1(0x242),_0x4639d1(0x28f),_0x4639d1(0x251),_0x4639d1(0x25a),_0x4639d1(0x1fa),_0x4639d1(0x271),'@univerjs/data-validation',_0x4639d1(0x270),_0x4639d1(0x2b9),_0x4639d1(0x20f),_0x4639d1(0x24c),_0x4639d1(0x1dc),_0x4639d1(0x26c),_0x4639d1(0x2ea),_0x4639d1(0x2a5),_0x4639d1(0x29e),_0x4639d1(0x1fe),_0x4639d1(0x2e7),_0x4639d1(0x2cc),_0x4639d1(0x2d4),_0x4639d1(0x2a4),_0x4639d1(0x266),_0x4639d1(0x2d3),_0x4639d1(0x265),'@univerjs/sheets-formula-ui','@univerjs/sheets-hyper-link',_0x4639d1(0x2c4),_0x4639d1(0x296),_0x4639d1(0x2e0)],_0x4b8b1d):(_0x112b49=typeof globalThis<'u'?globalThis:_0x112b49||self,_0x4b8b1d(_0x112b49['UniverProEditHistoryLoader']={},_0x112b49[_0x4639d1(0x1d8)],_0x112b49[_0x4639d1(0x2fe)],_0x112b49[_0x4639d1(0x300)],_0x112b49['UniverDesign'],_0x112b49[_0x4639d1(0x2c9)],_0x112b49[_0x4639d1(0x212)],_0x112b49[_0x4639d1(0x2df)],_0x112b49[_0x4639d1(0x244)],_0x112b49['UniverProEditHistoryViewer'],_0x112b49[_0x4639d1(0x1e7)],_0x112b49[_0x4639d1(0x23a)],_0x112b49[_0x4639d1(0x1e4)],_0x112b49[_0x4639d1(0x1e3)],_0x112b49['UniverProSheetsSparkline'],_0x112b49[_0x4639d1(0x215)],_0x112b49['UniverDataValidation'],_0x112b49['UniverDocs'],_0x112b49[_0x4639d1(0x234)],_0x112b49[_0x4639d1(0x2ed)],_0x112b49[_0x4639d1(0x21d)],_0x112b49['UniverEngineFormula'],_0x112b49[_0x4639d1(0x2be)],_0x112b49[_0x4639d1(0x2bb)],_0x112b49[_0x4639d1(0x2dd)],_0x112b49[_0x4639d1(0x24b)],_0x112b49[_0x4639d1(0x1db)],_0x112b49[_0x4639d1(0x21c)],_0x112b49[_0x4639d1(0x1d9)],_0x112b49[_0x4639d1(0x239)],_0x112b49[_0x4639d1(0x1f5)],_0x112b49[_0x4639d1(0x20b)],_0x112b49[_0x4639d1(0x22f)],_0x112b49[_0x4639d1(0x2ec)],_0x112b49[_0x4639d1(0x207)],_0x112b49[_0x4639d1(0x27e)],_0x112b49[_0x4639d1(0x23d)],_0x112b49[_0x4639d1(0x2c2)],_0x112b49['UniverSheetsUi']));}(this,function(_0x33b452,_0x1d5bdf,_0x112d53,_0x3aaa23,_0x3a90bc,_0x18033d,_0x1a6b1e,_0x2cca0b,_0x46cb32,_0x20a643,_0x590828,_0x4792b2,_0x2ee636,_0x157730,_0x5e8675,_0x44f03e,_0x10c99f,_0x51262c,_0x5ab87,_0x3b4137,_0x5dc5a4,_0x511d11,_0xeb923d,_0x267490,_0x26dee6,_0x26aa4f,_0x412a24,_0x1179db,_0x310c6f,_0x4361e8,_0x1eec57,_0x1eca63,_0x37498c,_0x3e4cb1,_0x8f2ba0,_0x23ae8c,_0x2ee8bb,_0x41ab45,_0x6890e9){'use strict';const _0x21f86e=_0x2cde;var _0x3f13a8=Object[_0x21f86e(0x26a)],_0x5cf366=(_0x345205,_0x83b411,_0x156bff)=>_0x83b411 in _0x345205?_0x3f13a8(_0x345205,_0x83b411,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x156bff}):_0x345205[_0x83b411]=_0x156bff,_0x1bfe0a=(_0x5ad95a,_0x1fdef7,_0x1cd414)=>_0x5cf366(_0x5ad95a,typeof _0x1fdef7!='symbol'?_0x1fdef7+'':_0x1fdef7,_0x1cd414),_0x27a87b;const _0xe2d87b=_0x21f86e(0x20e),_0x3fd966={};function _0x4adf79({ref:_0x105863,..._0x489a86}){const _0x295d91=_0x21f86e,{icon:_0x133ab1,id:_0x293ac0,className:_0x5917b7,extend:_0x2eefd0,..._0x32fb01}=_0x489a86,_0x2da229=(_0x295d91(0x216)+_0x293ac0+'\x20'+(_0x5917b7||''))[_0x295d91(0x2ad)](),_0x399768=_0x18033d[_0x295d91(0x24d)]('_'+_0x17489e());return _0x1649f6(_0x133ab1,''+_0x293ac0,{'defIds':_0x133ab1[_0x295d91(0x2c0)],'idSuffix':_0x399768[_0x295d91(0x286)]},{'ref':_0x105863,'className':_0x2da229,..._0x32fb01},_0x2eefd0);}function _0x1649f6(_0x5b7f6c,_0x2a8026,_0xb55480,_0x40ce2c,_0x158314){const _0x54e2b3=_0x21f86e;return _0x18033d[_0x54e2b3(0x2b6)](_0x5b7f6c[_0x54e2b3(0x252)],{'key':_0x2a8026,..._0x229afb(_0x5b7f6c,_0xb55480,_0x158314),..._0x40ce2c},(_0x512638(_0x5b7f6c,_0xb55480)[_0x54e2b3(0x228)]||[])[_0x54e2b3(0x2ee)]((_0x54989d,_0x4e104c)=>_0x1649f6(_0x54989d,_0x2a8026+'-'+_0x5b7f6c[_0x54e2b3(0x252)]+'-'+_0x4e104c,_0xb55480,void 0x0,_0x158314)));}function _0x229afb(_0xdaf098,_0x1e49fd,_0x189785){const _0x2a4bd8=_0x21f86e,_0x26a1cc={..._0xdaf098[_0x2a4bd8(0x283)]};_0x189785!=null&&_0x189785['colorChannel1']&&_0x26a1cc[_0x2a4bd8(0x2b2)]===_0x2a4bd8(0x20a)&&(_0x26a1cc[_0x2a4bd8(0x2b2)]=_0x189785[_0x2a4bd8(0x20a)]),_0xdaf098[_0x2a4bd8(0x252)]===_0x2a4bd8(0x230)&&_0x26a1cc['id']&&(_0x26a1cc['id']=_0x26a1cc['id']+_0x1e49fd['idSuffix']),Object[_0x2a4bd8(0x26f)](_0x26a1cc)['forEach'](([_0x4b17a6,_0x355df6])=>{const _0xba12a4=_0x2a4bd8;_0x4b17a6===_0xba12a4(0x230)&&typeof _0x355df6==_0xba12a4(0x255)&&(_0x26a1cc[_0x4b17a6]=_0x355df6['replace'](/url\(#(.*)\)/,_0xba12a4(0x259)+_0x1e49fd['idSuffix']+')'));});const {defIds:_0x1d476d}=_0x1e49fd;return!_0x1d476d||_0x1d476d[_0x2a4bd8(0x294)]===0x0||(_0xdaf098['tag']==='use'&&_0x26a1cc[_0x2a4bd8(0x288)]&&(_0x26a1cc[_0x2a4bd8(0x288)]=_0x26a1cc['xlink:href']+_0x1e49fd[_0x2a4bd8(0x254)]),Object[_0x2a4bd8(0x26f)](_0x26a1cc)[_0x2a4bd8(0x229)](([_0x56a0dd,_0x38db93])=>{const _0x4bdbdf=_0x2a4bd8;typeof _0x38db93=='string'&&(_0x26a1cc[_0x56a0dd]=_0x38db93[_0x4bdbdf(0x247)](/url\(#(.*)\)/,_0x4bdbdf(0x259)+_0x1e49fd[_0x4bdbdf(0x254)]+')'));})),_0x26a1cc;}function _0x512638(_0x1a7723,_0x399417){const _0x5c1f2f=_0x21f86e;var _0x499f6d;const {defIds:_0x1b64f8}=_0x399417;return!_0x1b64f8||_0x1b64f8['length']===0x0?_0x1a7723:_0x1a7723[_0x5c1f2f(0x252)]===_0x5c1f2f(0x264)&&((_0x499f6d=_0x1a7723[_0x5c1f2f(0x228)])!=null&&_0x499f6d[_0x5c1f2f(0x294)])?{..._0x1a7723,'children':_0x1a7723[_0x5c1f2f(0x228)][_0x5c1f2f(0x2ee)](_0x568cc4=>typeof _0x568cc4[_0x5c1f2f(0x283)]['id']==_0x5c1f2f(0x255)&&_0x1b64f8&&_0x1b64f8[_0x5c1f2f(0x2c5)](_0x568cc4[_0x5c1f2f(0x283)]['id'])?{..._0x568cc4,'attrs':{..._0x568cc4[_0x5c1f2f(0x283)],'id':_0x568cc4[_0x5c1f2f(0x283)]['id']+_0x399417[_0x5c1f2f(0x254)]}}:_0x568cc4)}:_0x1a7723;}function _0x17489e(){const _0x444a33=_0x21f86e;return Math[_0x444a33(0x27d)]()[_0x444a33(0x24e)](0x24)['substring'](0x2,0x8);}_0x4adf79['displayName']='UniverIcon';const _0x5116cf={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x21f86e(0x250),'viewBox':_0x21f86e(0x1f1),'width':_0x21f86e(0x205),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x21f86e(0x1ef),'clipPath':_0x21f86e(0x303)},'children':[{'tag':_0x21f86e(0x23c),'attrs':{'d':_0x21f86e(0x219)}},{'tag':_0x21f86e(0x23c),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x21f86e(0x264),'attrs':{},'children':[{'tag':_0x21f86e(0x2f1),'attrs':{'id':_0x21f86e(0x273)},'children':[{'tag':_0x21f86e(0x23c),'attrs':{'fill':_0x21f86e(0x257),'d':_0x21f86e(0x2ac)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x474aa7=_0x18033d['forwardRef'](function(_0x179a7c,_0x364e18){const _0x2f30c9=_0x21f86e;return _0x18033d[_0x2f30c9(0x2b6)](_0x4adf79,Object[_0x2f30c9(0x2d9)]({},_0x179a7c,{'id':_0x2f30c9(0x20d),'ref':_0x364e18,'icon':_0x5116cf}));});_0x474aa7['displayName']=_0x21f86e(0x1f2);var _0x5cee28=Object['getOwnPropertyDescriptor'],_0x5db5a0=(_0x748a03,_0x1b1d55,_0x479ca6,_0x378c62)=>{const _0x39ae36=_0x21f86e;for(var _0x2c8ac9=_0x378c62>0x1?void 0x0:_0x378c62?_0x5cee28(_0x1b1d55,_0x479ca6):_0x1b1d55,_0x305683=_0x748a03[_0x39ae36(0x294)]-0x1,_0x54871d;_0x305683>=0x0;_0x305683--)(_0x54871d=_0x748a03[_0x305683])&&(_0x2c8ac9=_0x54871d(_0x2c8ac9)||_0x2c8ac9);return _0x2c8ac9;},_0x11a76d=(_0x1be5ec,_0x43e909)=>(_0x4ce4d6,_0x22814c)=>_0x43e909(_0x4ce4d6,_0x22814c,_0x1be5ec);const _0x1788fe=_0x21f86e(0x306),_0x258a9b='UNIVER_CONTAINER_ID',_0x4c9ae4=_0x21f86e(0x2b3);_0x33b452['HistoryLoaderService']=class extends _0x1d5bdf['Disposable']{constructor(_0x38e348,_0x2340b2,_0x25fc21,_0x1d74ad,_0x44984c,_0x556b4d,_0x3e0346,_0x11ffab,_0x306276,_0x4eb3d4){const _0x219965=_0x21f86e;super(),_0x1bfe0a(this,_0x219965(0x2ab),new _0x2cca0b[(_0x219965(0x2ce))](null)),_0x1bfe0a(this,_0x219965(0x23b),this[_0x219965(0x2ab)][_0x219965(0x208)]()),_0x1bfe0a(this,'_disposableCollection',new _0x1d5bdf[(_0x219965(0x2d1))]()),_0x1bfe0a(this,_0x219965(0x1f0),new Map()),(this[_0x219965(0x238)]=_0x38e348,this[_0x219965(0x210)]=_0x2340b2,this[_0x219965(0x277)]=_0x25fc21,this[_0x219965(0x287)]=_0x1d74ad,this['_messageService']=_0x44984c,this['_permissionService']=_0x556b4d,this[_0x219965(0x21e)]=_0x3e0346,this[_0x219965(0x249)]=_0x11ffab,this[_0x219965(0x279)]=_0x306276,this[_0x219965(0x20c)]=_0x4eb3d4,this['_init']());}get['historyUniver'](){const _0x3b60a5=_0x21f86e;return this[_0x3b60a5(0x2ab)][_0x3b60a5(0x2b4)];}[_0x21f86e(0x1df)](){const _0xc385a0=_0x21f86e;this[_0xc385a0(0x226)](),this[_0xc385a0(0x243)]();}[_0x21f86e(0x226)](){const _0x16cf70=_0x21f86e;var _0x400af1;const _0x230a9c=(_0x400af1=this[_0x16cf70(0x277)][_0x16cf70(0x2eb)](_0x258a9b))!=null?_0x400af1:_0x1788fe,_0xad01df=document[_0x16cf70(0x302)](_0x230a9c);if(!_0xad01df)return;const _0x596fbb=document[_0x16cf70(0x2b6)](_0x16cf70(0x2ca));_0x596fbb['id']=_0x4c9ae4,_0x596fbb[_0x16cf70(0x2fc)][_0x16cf70(0x276)]='history-container',_0x596fbb[_0x16cf70(0x211)]['position']=_0x16cf70(0x1f7),_0x596fbb['style'][_0x16cf70(0x222)]='0',_0x596fbb[_0x16cf70(0x211)][_0x16cf70(0x237)]='0',_0x596fbb['style'][_0x16cf70(0x253)]=_0x16cf70(0x25f),_0x596fbb[_0x16cf70(0x211)][_0x16cf70(0x221)]=_0x16cf70(0x25f),_0x596fbb['style']['zIndex']=_0x16cf70(0x2cd),_0x596fbb['style'][_0x16cf70(0x2e1)]='none',_0xad01df[_0x16cf70(0x261)](_0x596fbb);}['_initPlugins'](){const _0x49f0cf=_0x21f86e;var _0x7762d6,_0x37db16,_0x557247,_0x3b8487;[[_0xeb923d[_0x49f0cf(0x21f)]],[_0x1a6b1e[_0x49f0cf(0x28e)],{'container':_0x4c9ae4,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1a6b1e[_0x49f0cf(0x203)],null]]}],[_0x267490[_0x49f0cf(0x2ba)]],[_0x3b4137[_0x49f0cf(0x202)],{'override':[[_0x3b4137['IImageIoService'],null]]}],[_0x51262c[_0x49f0cf(0x1fc)],{'hasScroll':!0x1}],[_0x5ab87[_0x49f0cf(0x2af)]],[_0x41ab45[_0x49f0cf(0x1e5)]],[_0x46cb32[_0x49f0cf(0x204)],{'notExecuteFormula':!0x0}],[_0x6890e9['UniverSheetsUIPlugin']],[_0x3e4cb1[_0x49f0cf(0x27f)]],[_0x8f2ba0[_0x49f0cf(0x307)]],[_0x112d53['UniverCollaborationPlugin']],[_0x1eca63[_0x49f0cf(0x258)]],[_0x37498c[_0x49f0cf(0x213)]],[_0x26aa4f[_0x49f0cf(0x2f8)]],[_0x412a24['UniverSheetsConditionalFormattingUIPlugin']],[_0x23ae8c[_0x49f0cf(0x2d0)]],[_0x2ee8bb['UniverSheetsHyperLinkUIPlugin']],[_0x10c99f[_0x49f0cf(0x2d8)]],[_0x1179db[_0x49f0cf(0x2f3)]],[_0x310c6f[_0x49f0cf(0x218)]],[_0x511d11[_0x49f0cf(0x1e2)],{'notExecuteFormula':!0x0}],[_0x26dee6[_0x49f0cf(0x29b)],{'workerURL':(_0x37db16=(_0x7762d6=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0x26dee6[_0x49f0cf(0x231)]))==null?void 0x0:_0x7762d6[_0x49f0cf(0x2de)])!=null?_0x37db16:_0x49f0cf(0x29f)}],[_0x5dc5a4[_0x49f0cf(0x1e6)]],[_0x4361e8[_0x49f0cf(0x26e)]],[_0x1eec57[_0x49f0cf(0x248)]],[_0x5e8675[_0x49f0cf(0x29a)]],[_0x44f03e[_0x49f0cf(0x1e1)]],[_0x4792b2[_0x49f0cf(0x268)]],[_0x2ee636['UniverSheetsChartUIPlugin']],[_0x157730[_0x49f0cf(0x233)],{'notExecuteFormula':!0x0}],[_0x20a643[_0x49f0cf(0x2a3)],{'historyListServerUrl':(_0x557247=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0xe2d87b))==null?void 0x0:_0x557247[_0x49f0cf(0x1f9)],'historyPanelComponentKey':(_0x3b8487=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0xe2d87b))==null?void 0x0:_0x3b8487[_0x49f0cf(0x23e)]}]]['forEach'](([_0x167fba,_0x2514b2])=>this['registerPlugin'](_0x167fba,_0x2514b2));}[_0x21f86e(0x27b)](){const _0x4a66ec=_0x21f86e;super[_0x4a66ec(0x27b)](),this['unMountHistoryContent'](),this['_pluginMap'][_0x4a66ec(0x2f6)]();}[_0x21f86e(0x25b)](_0x2aa02d,_0x29579e,_0x205e2a){const _0xb1b2ec=_0x21f86e;if(this['_pluginMap'][_0xb1b2ec(0x1ec)](_0x2aa02d[_0xb1b2ec(0x297)])&&!_0x205e2a)throw new Error(_0xb1b2ec(0x227)+_0x2aa02d['pluginName']+'\x20has\x20been\x20registered.');this[_0xb1b2ec(0x1f0)]['set'](_0x2aa02d[_0xb1b2ec(0x297)],[_0x2aa02d,_0x29579e]);}[_0x21f86e(0x1e9)](){const _0x3970a2=_0x21f86e;return Array['from'](this[_0x3970a2(0x1f0)][_0x3970a2(0x1da)]());}[_0x21f86e(0x2fb)](_0x44cbaf){const _0x520276=_0x21f86e,_0x690510=document['getElementById'](_0x4c9ae4);_0x690510&&(_0x690510[_0x520276(0x211)][_0x520276(0x2e1)]='block',this[_0x520276(0x2e5)](_0x44cbaf,_0x4c9ae4));}[_0x21f86e(0x1ff)](){const _0x42b3fa=_0x21f86e;var _0x1dd7a3;this[_0x42b3fa(0x291)][_0x42b3fa(0x27b)](),(_0x1dd7a3=this[_0x42b3fa(0x22c)])==null||_0x1dd7a3[_0x42b3fa(0x27b)](),this[_0x42b3fa(0x2ab)][_0x42b3fa(0x29c)](null);const _0x1f99be=document[_0x42b3fa(0x302)](_0x4c9ae4);_0x1f99be&&(_0x1f99be['style'][_0x42b3fa(0x2e1)]='none');}['_initUniver'](_0x357625,_0x2904a4){const _0x58fd86=_0x21f86e;if(this['historyUniver'])return;const _0x46ea58=new _0x1d5bdf[(_0x58fd86(0x214))]({'locales':{[this[_0x58fd86(0x238)][_0x58fd86(0x2a0)]()]:this['_localeService'][_0x58fd86(0x1fb)]()},'override':[[_0x1d5bdf[_0x58fd86(0x25c)],{'useClass':_0x3aaa23['AuthzIoHttpService']}]]}),_0x3afbe2=_0x46ea58[_0x58fd86(0x2c1)]();this[_0x58fd86(0x1d7)](this['_themeService']['darkMode$']['subscribe'](_0x344261=>{const _0x271c11=_0x58fd86;_0x3afbe2[_0x271c11(0x301)](_0x1d5bdf['ThemeService'])[_0x271c11(0x274)](_0x344261);})),this[_0x58fd86(0x1d7)](this[_0x58fd86(0x20c)][_0x58fd86(0x1ed)][_0x58fd86(0x22e)](_0x219e2e=>{const _0x547861=_0x58fd86;_0x3afbe2[_0x547861(0x301)](_0x1d5bdf[_0x547861(0x1f4)])[_0x547861(0x282)](_0x219e2e);})),_0x3afbe2[_0x58fd86(0x301)](_0x1d5bdf[_0x58fd86(0x299)])[_0x58fd86(0x2b0)](this[_0x58fd86(0x238)][_0x58fd86(0x2a0)]()),_0x3afbe2[_0x58fd86(0x301)](_0x1d5bdf[_0x58fd86(0x209)])[_0x58fd86(0x305)](_0x3aaa23[_0x58fd86(0x1d5)],this[_0x58fd86(0x277)][_0x58fd86(0x2eb)](_0x3aaa23[_0x58fd86(0x1d5)]));const _0x49a3ac=this[_0x58fd86(0x277)][_0x58fd86(0x2eb)](_0x590828[_0x58fd86(0x2aa)]);_0x49a3ac&&_0x46ea58['registerPlugin'](_0x590828['UniverLicensePlugin'],{'license':_0x49a3ac['ls']}),this[_0x58fd86(0x1f0)][_0x58fd86(0x229)](([_0x1dc463,_0x358a18])=>{const _0x567839=_0x58fd86;_0x46ea58[_0x567839(0x25b)](_0x1dc463,_0x358a18);}),_0x3afbe2[_0x58fd86(0x2fa)](_0x3c87ea=>{const _0x4d4dd7=_0x58fd86;this[_0x4d4dd7(0x2f0)](_0x3c87ea,_0x357625);}),this[_0x58fd86(0x2ab)][_0x58fd86(0x29c)](_0x46ea58);const _0x2193aa=_0x3afbe2[_0x58fd86(0x301)](_0x20a643[_0x58fd86(0x289)]),_0x19cb86=this[_0x58fd86(0x1eb)](_0x357625);_0x2193aa[_0x58fd86(0x292)](_0x357625,_0x2904a4,_0x19cb86);}[_0x21f86e(0x2f0)](_0x5b43f9,_0x4de3eb){const _0x5ebe52=_0x21f86e,_0x4fbe05=_0x5b43f9['get'](_0x20a643[_0x5ebe52(0x289)]);this[_0x5ebe52(0x291)][_0x5ebe52(0x201)](_0x4fbe05[_0x5ebe52(0x1dd)][_0x5ebe52(0x22e)](_0x5b1fca=>{const _0x4502d9=_0x5ebe52;switch(_0x5b1fca){case _0x20a643[_0x4502d9(0x2a1)][_0x4502d9(0x246)]:this[_0x4502d9(0x249)][_0x4502d9(0x2f2)](),this[_0x4502d9(0x279)][_0x4502d9(0x2e3)]();break;case _0x20a643[_0x4502d9(0x2a1)]['Exited']:this['_commandService'][_0x4502d9(0x1f6)](_0x5c6b7d['id']),this[_0x4502d9(0x1ff)]();break;case _0x20a643[_0x4502d9(0x2a1)]['Error']:this[_0x4502d9(0x1ff)](),this[_0x4502d9(0x293)]['show']({'content':this['_localeService']['t'](_0x4502d9(0x27a)),'type':_0x3a90bc[_0x4502d9(0x27c)][_0x4502d9(0x1ea)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x5ebe52(0x201)](_0x4fbe05['revertRevision$'][_0x5ebe52(0x22e)](async _0x2d755f=>{const _0x2025c8=_0x5ebe52;_0x2d755f&&this[_0x2025c8(0x287)]['executeCommand'](_0x112d53[_0x2025c8(0x1f8)]['id'],{'unitId':_0x4de3eb,'revision':_0x2d755f});}));}[_0x21f86e(0x1eb)](_0x13d203){const _0x5d6046=_0x21f86e,_0x47dd1b=this[_0x5d6046(0x210)][_0x5d6046(0x2d5)](_0x13d203)[_0x5d6046(0x200)]()[_0x5d6046(0x2ee)](_0x3f60e3=>_0x3f60e3[_0x5d6046(0x2c7)]()),_0xbdbb36=new _0x46cb32[(_0x5d6046(0x298))](_0x13d203)['id'],_0x1b2018=_0x47dd1b[_0x5d6046(0x2ee)](_0x156838=>new _0x46cb32[(_0x5d6046(0x22a))](_0x13d203,_0x156838)['id']),_0x3fcfa1=_0x47dd1b[_0x5d6046(0x2ee)](_0x253334=>this[_0x5d6046(0x21e)]['getSubunitRuleList'](_0x13d203,_0x253334)[_0x5d6046(0x2ee)](_0x37f4f8=>new _0x46cb32[(_0x5d6046(0x2e4))](_0x13d203,_0x253334,_0x37f4f8[_0x5d6046(0x22b)])['id']))[_0x5d6046(0x1ee)](),_0x331574=new _0x46cb32[(_0x5d6046(0x225))](_0x13d203)['id'];return this['_permissionService'][_0x5d6046(0x1de)]([_0xbdbb36,..._0x1b2018,..._0x3fcfa1,_0x331574])[_0x5d6046(0x284)](_0x5c1924=>!!_0x5c1924['value']);}},_0x33b452[_0x21f86e(0x1fd)]=_0x5db5a0([_0x11a76d(0x0,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x299)])),_0x11a76d(0x1,_0x1d5bdf[_0x21f86e(0x2ef)]),_0x11a76d(0x2,_0x1d5bdf[_0x21f86e(0x209)]),_0x11a76d(0x3,_0x1d5bdf[_0x21f86e(0x2a7)]),_0x11a76d(0x4,_0x1a6b1e[_0x21f86e(0x2c6)]),_0x11a76d(0x5,_0x1d5bdf['IPermissionService']),_0x11a76d(0x6,_0x1d5bdf[_0x21f86e(0x1e0)](_0x46cb32[_0x21f86e(0x2a6)])),_0x11a76d(0x7,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x203)])),_0x11a76d(0x8,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x25e)])),_0x11a76d(0x9,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x1f4)]))],_0x33b452[_0x21f86e(0x1fd)]);const _0xba6d69={'id':'univer.operation.toggle-edit-history','type':_0x1d5bdf[_0x21f86e(0x2a2)]['OPERATION'],'handler':_0x46286a=>{const _0x3f3759=_0x21f86e,_0x53bcbc=_0x46286a[_0x3f3759(0x301)](_0x33b452[_0x3f3759(0x1fd)]),_0x14eaaf=_0x46286a[_0x3f3759(0x301)](_0x1d5bdf[_0x3f3759(0x2ef)]),{unitId:_0x239551}=_0x46cb32[_0x3f3759(0x236)](_0x14eaaf)||{};return _0x239551?(_0x53bcbc[_0x3f3759(0x2fb)](_0x239551),!0x0):!0x1;}},_0x5c6b7d={'id':_0x21f86e(0x21a),'type':_0x1d5bdf[_0x21f86e(0x2a2)][_0x21f86e(0x2cf)],'handler':()=>!0x0};function _0x35ff67(_0x53e1b6){const _0x4a2c2b=_0x21f86e;return{'id':_0xba6d69['id'],'type':_0x1a6b1e[_0x4a2c2b(0x2e9)][_0x4a2c2b(0x23f)],'icon':_0x4a2c2b(0x1f2),'tooltip':_0x4a2c2b(0x2b7),'hidden$':_0x1a6b1e[_0x4a2c2b(0x2ae)](_0x53e1b6,_0x1d5bdf['UniverInstanceType'][_0x4a2c2b(0x2bd)]),'disabled$':_0x6890e9[_0x4a2c2b(0x272)](_0x53e1b6,{'workbookTypes':[_0x46cb32[_0x4a2c2b(0x298)],_0x46cb32[_0x4a2c2b(0x2d2)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4d7481={[_0x1a6b1e[_0x21f86e(0x2c8)][_0x21f86e(0x260)]]:{[_0xba6d69['id']]:{'order':0.2,'menuItemFactory':_0x35ff67}}};var _0x29f59e=Object['getOwnPropertyDescriptor'],_0x27b556=(_0x12f1d7,_0x15f56d,_0x347010,_0x1b2e31)=>{for(var _0x279980=_0x1b2e31>0x1?void 0x0:_0x1b2e31?_0x29f59e(_0x15f56d,_0x347010):_0x15f56d,_0x411bdf=_0x12f1d7['length']-0x1,_0x3d6398;_0x411bdf>=0x0;_0x411bdf--)(_0x3d6398=_0x12f1d7[_0x411bdf])&&(_0x279980=_0x3d6398(_0x279980)||_0x279980);return _0x279980;},_0x29e970=(_0x34a8b4,_0x12bc60)=>(_0x111f09,_0x9a9b12)=>_0x12bc60(_0x111f09,_0x9a9b12,_0x34a8b4);let _0x17c90f=class extends _0x1d5bdf[_0x21f86e(0x2ff)]{constructor(_0x22834e,_0xa66b65,_0x380aaf,_0x18b315,_0x305b6f,_0x53e4cd,_0xfa5717,_0x57155a){const _0x1727dd=_0x21f86e;super(),_0x1bfe0a(this,_0x1727dd(0x223),null),(this[_0x1727dd(0x287)]=_0x22834e,this[_0x1727dd(0x22d)]=_0xa66b65,this[_0x1727dd(0x28b)]=_0x380aaf,this[_0x1727dd(0x21b)]=_0x18b315,this[_0x1727dd(0x238)]=_0x305b6f,this[_0x1727dd(0x293)]=_0x53e4cd,this[_0x1727dd(0x2dc)]=_0xfa5717,this[_0x1727dd(0x2da)]=_0x57155a,this['_init']());}['_init'](){const _0x57163d=_0x21f86e;[_0xba6d69,_0x5c6b7d]['forEach'](_0x40ae1c=>this[_0x57163d(0x1d7)](_0x1d5bdf['toDisposable'](this[_0x57163d(0x287)][_0x57163d(0x2c3)](_0x40ae1c)))),this[_0x57163d(0x1d7)](this[_0x57163d(0x28b)][_0x57163d(0x2bf)](_0x57163d(0x1f2),_0x474aa7)),this[_0x57163d(0x22d)][_0x57163d(0x232)](_0x4d7481),this['disposeWithMe'](this[_0x57163d(0x287)][_0x57163d(0x262)](_0x239214=>{const _0x33c0ff=_0x57163d;if(_0x239214['id']===_0x112d53[_0x33c0ff(0x1f8)]['id']){this['_messageService'][_0x33c0ff(0x2b1)]({'content':this[_0x33c0ff(0x238)]['t']('editHistory.panel.reverting'),'type':_0x3a90bc[_0x33c0ff(0x27c)][_0x33c0ff(0x26d)],'duration':0x1388});const {unitId:_0xdd213d}=_0x239214[_0x33c0ff(0x2f5)],_0x3a15c8=this[_0x33c0ff(0x2dc)]['getCollabEntity'](_0xdd213d),_0x8a1ad1=_0x2cca0b[_0x33c0ff(0x2f9)]([_0x3a15c8[_0x33c0ff(0x28c)][_0x33c0ff(0x2fd)],_0x3a15c8['state$']])[_0x33c0ff(0x22e)](async([_0xbc7a55,_0x213f14])=>{const _0x2abce4=_0x33c0ff;var _0x43b905;_0xbc7a55[_0x2abce4(0x285)]===_0x112d53['CollaborationEvent'][_0x2abce4(0x269)]&&(_0x213f14==null?void 0x0:_0x213f14[_0x2abce4(0x280)])===_0x3aaa23[_0x2abce4(0x281)]['SYNCED']&&_0xbc7a55[_0x2abce4(0x28d)][_0x2abce4(0x28a)][_0x2abce4(0x2e2)](_0x192f09=>_0x192f09['id']===_0x112d53['RevertRevisionMutation']['id'])&&(this[_0x2abce4(0x21b)]['unMountHistoryContent'](),_0x8a1ad1[_0x2abce4(0x2cb)](),this['_revertErrorTimer']&&clearTimeout(this[_0x2abce4(0x223)]),await((_0x43b905=this[_0x2abce4(0x2da)])==null?void 0x0:_0x43b905[_0x2abce4(0x25d)]()),setTimeout(()=>window[_0x2abce4(0x220)][_0x2abce4(0x275)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x346741=_0x33c0ff;_0x8a1ad1[_0x346741(0x2cb)](),this[_0x346741(0x293)]['show']({'content':this[_0x346741(0x238)]['t'](_0x346741(0x290)),'type':_0x3a90bc[_0x346741(0x27c)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x17c90f=_0x27b556([_0x29e970(0x0,_0x1d5bdf['ICommandService']),_0x29e970(0x1,_0x1a6b1e[_0x21f86e(0x1f3)]),_0x29e970(0x2,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x1e8)])),_0x29e970(0x3,_0x1d5bdf[_0x21f86e(0x1e0)](_0x33b452['HistoryLoaderService'])),_0x29e970(0x4,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x299)])),_0x29e970(0x5,_0x1a6b1e[_0x21f86e(0x2c6)]),_0x29e970(0x6,_0x1d5bdf[_0x21f86e(0x1e0)](_0x3aaa23[_0x21f86e(0x29d)])),_0x29e970(0x7,_0x3aaa23['ILocalCacheService'])],_0x17c90f);var _0x80cf79=Object['getOwnPropertyDescriptor'],_0x32ca1c=(_0x339b43,_0x1d55ff,_0x1a3551,_0x1c54f4)=>{const _0xae4bd0=_0x21f86e;for(var _0x3ef7eb=_0x1c54f4>0x1?void 0x0:_0x1c54f4?_0x80cf79(_0x1d55ff,_0x1a3551):_0x1d55ff,_0x15a80a=_0x339b43[_0xae4bd0(0x294)]-0x1,_0x3b711f;_0x15a80a>=0x0;_0x15a80a--)(_0x3b711f=_0x339b43[_0x15a80a])&&(_0x3ef7eb=_0x3b711f(_0x3ef7eb)||_0x3ef7eb);return _0x3ef7eb;},_0x9b1bcb=(_0x179086,_0x4766d2)=>(_0x6390a2,_0x5a5bd9)=>_0x4766d2(_0x6390a2,_0x5a5bd9,_0x179086);const _0x2d6d79=_0x21f86e(0x2a9);_0x33b452[_0x21f86e(0x267)]=(_0x27a87b=class extends _0x1d5bdf['Plugin']{constructor(_0x26114f=_0x3fd966,_0x4ac0dd,_0x50cdc2){const _0x34c614=_0x21f86e;super(),this[_0x34c614(0x256)]=_0x26114f,this[_0x34c614(0x2a8)]=_0x4ac0dd,this[_0x34c614(0x277)]=_0x50cdc2;const {menu:_0x575d1f,..._0x2f163b}=_0x1d5bdf['merge']({},_0x3fd966,this['_config']);_0x575d1f&&this[_0x34c614(0x277)][_0x34c614(0x305)]('menu',_0x575d1f,{'merge':!0x0}),this[_0x34c614(0x277)][_0x34c614(0x305)](_0xe2d87b,_0x2f163b),this[_0x34c614(0x256)][_0x34c614(0x241)]&&this['_configService'][_0x34c614(0x305)](_0x258a9b,this[_0x34c614(0x256)]['univerContainerId']);}[_0x21f86e(0x24f)](){const _0x42b7af=_0x21f86e;[[_0x33b452['HistoryLoaderService']],[_0x17c90f]][_0x42b7af(0x229)](_0x2169e3=>this[_0x42b7af(0x2a8)][_0x42b7af(0x201)](_0x2169e3));}['onSteady'](){this['_injector']['get'](_0x17c90f);}},_0x1bfe0a(_0x27a87b,'type',_0x1d5bdf[_0x21f86e(0x278)][_0x21f86e(0x2e8)]),_0x1bfe0a(_0x27a87b,'pluginName',_0x2d6d79),_0x27a87b),_0x33b452[_0x21f86e(0x267)]=_0x32ca1c([_0x9b1bcb(0x1,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x2b5)])),_0x9b1bcb(0x2,_0x1d5bdf[_0x21f86e(0x209)])],_0x33b452['UniverEditHistoryLoaderPlugin']),_0x33b452[_0x21f86e(0x240)]=_0x258a9b,_0x33b452[_0x21f86e(0x245)]=_0x4c9ae4,Object[_0x21f86e(0x26a)](_0x33b452,Symbol[_0x21f86e(0x2d6)],{'value':_0x21f86e(0x1d6)});}));function _0x7318(){const _0x477ba6=['_historyManagerService','UniverSheetsDataValidation','UniverDrawingUi','_selectionProtectionRuleModel','UniverRenderEnginePlugin','location','height','top','_revertErrorTimer','3517740bfXFry','WorkbookRecoverHistoryPermission','_initContainer','[HistoryLoaderService]:\x20Plugin\x20','children','forEach','WorksheetEditPermission','permissionId','historyUniver','_menuManagerService','subscribe','UniverSheetsFilterUi','mask','PLUGIN_CONFIG_KEY_MAIN_THREAD','mergeMenu','UniverSheetsPivotTablePlugin','UniverDocsUi','1891636fciVcD','getSheetCommandTarget','left','_localeService','UniverSheetsDrawing','UniverProSheetsChart','historyUniver$','path','UniverSheetsHyperLinkUi','historyPanelComponentKey','BUTTON','UNIVER_CONTAINER_ID_KEY','univerContainerId','@univerjs-pro/license','_initPlugins','UniverSheets','UNIVER_HISTORY_CONTAINER_ID','Entered','replace','UniverSheetsDrawingUIPlugin','_dialogService','9055290IuUvLj','UniverSheetsConditionalFormatting','@univerjs/drawing-ui','useRef','toString','onStarting','none','@univerjs-pro/sheets-chart-ui','tag','width','idSuffix','string','_config','white','UniverSheetsFilterPlugin','url(#$1','@univerjs-pro/sheets-pivot','registerPlugin','IAuthzIoService','exhaustSavingTask','ISidebarService','100%','OTHERS','appendChild','onCommandExecuted','@univerjs/sheets','defs','@univerjs/sheets-formula','@univerjs/sheets-filter','UniverEditHistoryLoaderPlugin','UniverSheetsChartPlugin','CHANGESET_ACK','defineProperty','@univerjs/design','@univerjs/engine-render','Loading','UniverSheetsDrawingPlugin','entries','@univerjs/docs','@univerjs-pro/sheets-sparkline-ui','getCurrentRangeDisable$','history-icon_clip0_907_281','setDarkMode','reload','uComp','_configService','UniverInstanceType','_sidebarService','editHistory.panel.listFetchError','dispose','MessageType','random','UniverSheetsHyperLink','UniverSheetsFormulaPlugin','status','CollaborationStatus','setTheme','attrs','every','eventID','current','_commandService','xlink:href','HistoryManagerService','mutations','_componentManager','session','data','UniverUIPlugin','@univerjs-pro/sheets-chart','editHistory.panel.revertFailed','_disposableCollection','triggerLoadVersions','_messageService','length','316656zFdMfK','@univerjs/sheets-numfmt','pluginName','WorkbookEditablePermission','LocaleService','UniverSheetSparklinePlugin','UniverRPCMainThreadPlugin','next','CollaborationController','@univerjs/sheets-conditional-formatting','./worker.js','getCurrentLocale','HistoryModeStatus','CommandType','UniverEditHistoryViewerPlugin','@univerjs/sheets-drawing-ui','@univerjs/rpc','RangeProtectionRuleModel','ICommandService','_injector','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','LS_CONFIG_KEY','_historyUniver$','M0\x200H16V16H0z','trim','getMenuHiddenObservable','UniverDocsUIPlugin','setLocale','show','fill','univer-history-container','value','Injector','createElement','editHistory.panel.title','function','@univerjs/docs-ui','UniverNetworkPlugin','UniverNetwork','amd','UNIVER_SHEET','UniverEngineRender','register','defIds','__getInjector','UniverSheetsNumfmt','registerCommand','@univerjs/sheets-hyper-link-ui','includes','IMessageService','getSheetId','RibbonStartGroup','React','div','unsubscribe','@univerjs/sheets-data-validation-ui','1000','BehaviorSubject','OPERATION','UniverSheetsHyperLinkPlugin','DisposableCollection','WorkbookViewHistoryPermission','@univerjs/sheets-filter-ui','@univerjs/sheets-drawing','getUnit','toStringTag','5fpflJZ','UniverDataValidationPlugin','assign','_localCacheService','@univerjs/core','_collaborationController','UniverRpc','workerURL','rxjs','@univerjs/sheets-ui','display','some','close','RangeProtectionPermissionEditPoint','_initUniver','2861118cAOWyX','@univerjs/sheets-data-validation','UNIVER_UNKNOWN','MenuItemType','@univerjs/network','getConfig','UniverSheetsFormula','UniverDrawing','map','IUniverInstanceService','_initListener','clipPath','closeAll','UniverSheetsDataValidationPlugin','45Spyucr','params','clear','9072920YRKUSA','UniverSheetsConditionalFormattingPlugin','combineLatest','invoke','mountHistoryContent','dataset','event$','UniverProCollaboration','RxDisposable','UniverProCollaborationClient','get','getElementById','url(#history-icon_clip0_907_281)','@univerjs-pro/edit-history-viewer','setConfig','univer-container','UniverSheetsFormulaUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Module','disposeWithMe','UniverCore','UniverSheetsDataValidationUi','values','UniverSheetsConditionalFormattingUi','@univerjs/engine-formula','status$','composePermission','_init','Inject','UniverSheetSparklineUIPlugin','UniverFormulaEnginePlugin','UniverProSheetsPivot','UniverProSheetsChartUi','UniverSheetsNumfmtPlugin','UniverDrawingUIPlugin','UniverProLicense','ComponentManager','getAllPlugins','Error','_checkCanRevert','has','currentTheme$','flat','currentColor','_pluginMap','0\x200\x2016\x2016','HistoryIcon','IMenuManagerService','ThemeService','UniverSheetsDrawingUi','executeCommand','absolute','RevertRevisionMutation','historyListServerUrl','@univerjs-pro/sheets-sparkline','getLocales','UniverDocsPlugin','HistoryLoaderService','@univerjs/sheets-conditional-formatting-ui','unMountHistoryContent','getSheets','add','UniverDrawingPlugin','IDialogService','UniverSheetsPlugin','1em','3215198HYljvY','UniverSheetsFormulaUi','asObservable','IConfigService','colorChannel1','UniverSheetsFilter','_themeService','history-icon','edit-history-loader.config','@univerjs/drawing','_univerInstanceService','style','UniverUi','UniverSheetsFilterUIPlugin','Univer','UniverProSheetsSparklineUi','univerjs-icon\x20univerjs-icon-','exports','UniverSheetsDataValidationUIPlugin','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univer.operation.exit-edit-history'];_0x7318=function(){return _0x477ba6;};return _0x7318();}
|
|
1
|
+
function _0x5c96(_0x5069a3,_0x55831b){_0x5069a3=_0x5069a3-0xce;const _0x1ed56f=_0x1ed5();let _0x5c9647=_0x1ed56f[_0x5069a3];return _0x5c9647;}function _0x1ed5(){const _0xefc41a=['LS_CONFIG_KEY','UniverProSheetsSparklineUi','LocaleService','close','UniverUIPlugin','@univerjs/sheets-drawing-ui','@univerjs-pro/license','displayName','composePermission','UniverProCollaboration','add','historyPanelComponentKey','_permissionService','combineLatest','_revertErrorTimer','random','revertRevision$','UniverSheetsHyperLinkUi','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','WorkbookViewHistoryPermission','IMessageService','287784DCTkOF','UniverSheetsFilter','IPermissionService','UniverDrawingUIPlugin','@univerjs/sheets-numfmt','UNIVER_UNKNOWN','_menuManagerService','history-icon_clip0_907_281','UniverSheetsUIPlugin','_themeService','UniverSheetsHyperLinkUIPlugin','UniverProSheetsPivot','@univerjs/sheets-filter','@univerjs/core','string','@univerjs/sheets-ui','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','historyUniver$','every','HistoryIcon','_historyUniver$','clipPath','eventID','style','forEach','UNIVER_HISTORY_CONTAINER_ID','UniverSheets','params','@univerjs/drawing','@univerjs/docs','Univer','3FXutcz','UniverSheetsDataValidationUi','UniverSheetsNumfmtPlugin','getSheets','defIds','mutations','dataset','@univerjs/design','_injector','Injector','setLocale','1332350nFtHkd','clear','getOwnPropertyDescriptor','triggerLoadVersions','path','5HQobYB','UniverProSheetsChartUi','@univerjs/sheets-filter-ui','HistoryModeStatus','from','ThemeService','getSubunitRuleList','defineProperty','absolute','_dialogService','UniverDocsUIPlugin','editHistory.panel.revertFailed','getElementById','UniverEditHistoryLoaderPlugin','UniverDataValidationPlugin','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univerContainerId','getMenuHiddenObservable','currentTheme$','forwardRef','url(#history-icon_clip0_907_281)','@univerjs/engine-formula','UniverSheetsFilterPlugin','_config','@univerjs/rpc','asObservable','23387DjoZiF','_initUniver','1634306sObWdm','map','RibbonStartGroup','@univerjs/sheets-conditional-formatting-ui','toDisposable','UniverRenderEnginePlugin','show','mountHistoryContent','block','setTheme','value','UniverSheetsConditionalFormattingPlugin','@univerjs/sheets','ComponentManager','pluginName','WorkbookEditablePermission','object','PLUGIN_CONFIG_KEY_MAIN_THREAD','children','UniverSheetsUi','UniverSheetsDrawing','[HistoryLoaderService]:\x20Plugin\x20','history-icon','getAllPlugins','setDarkMode','AuthzIoHttpService','MessageType','Disposable','@univerjs-pro/sheets-sparkline-ui','values','_disposableCollection','UniverSheetsNumfmt','UniverSheetsConditionalFormatting','includes','exhaustSavingTask','UniverSheetsHyperLinkPlugin','location','UniverSheetsDrawingPlugin','Loading','@univerjs/sheets-drawing','univer-container','status$','_initListener','univerjs-icon\x20univerjs-icon-','_configService','editHistory.panel.listFetchError','getUnit','@univerjs/sheets-hyper-link','UniverSheetsDataValidation','some','Inject','OTHERS','toString','unMountHistoryContent','@univerjs/sheets-conditional-formatting','CHANGESET_ACK','UniverSheetsFilterUIPlugin','_checkCanRevert','UNIVER_SHEET','BUTTON','tag','RxDisposable','UniverSheetsFilterUi','CollaborationController','zIndex','UNIVER_CONTAINER_ID','691972WBOefr','UniverCore','1352xrUJEq','RevertRevisionMutation','UniverEngineRender','xlink:href','@univerjs-pro/edit-history-viewer','0\x200\x2016\x2016','CollaborationEvent','replace','editHistory.panel.title','Error','entries','getConfig','OPERATION','@univerjs/sheets-formula','getCollabEntity','mask','colorChannel1','2121684xIlkDp','UniverUi','CommandType','workerURL','UniverProEditHistoryViewer','UniverIcon','getLocales','IAuthzIoService','createElement','getCurrentLocale','http://www.w3.org/2000/svg','_historyManagerService','UniverSheetsConditionalFormattingUi','registerPlugin','_componentManager','appendChild','BehaviorSubject','univer.operation.toggle-edit-history','getSheetCommandTarget','_initContainer','IDialogService','Entered','DisposableCollection','UniverRPCMainThreadPlugin','assign','use','766413WWVRoe','univer-history-container','subscribe','idSuffix','UniverInstanceType','@univerjs/drawing-ui','@univerjs-pro/sheets-sparkline','disposeWithMe','@univerjs/sheets-hyper-link-ui','UniverSheetsDataValidationPlugin','set','Exited','display','UniverLicensePlugin','_localCacheService','_init','mergeMenu','UniverFormulaEnginePlugin','UniverSheetsChartPlugin','__getInjector','ICommandService','_messageService','UniverDrawingPlugin','88oGQHrJ','@univerjs-pro/collaboration','trim','fill','toStringTag','closeAll','UniverRpc','session','left','SYNCED','next','get','attrs','amd','UniverProSheetsChart','_collaborationController','unsubscribe','100%','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','editHistory.panel.reverting','length','url(#$1','HistoryLoaderService','Plugin','UniverSheetsFormula','getCurrentRangeDisable$','onCommandExecuted','executeCommand','_commandService','\x20has\x20been\x20registered.','@univerjs/engine-render','UniverSheetSparklinePlugin','HistoryManagerService','uComp','historyUniver','type','UniverSheetsChartUIPlugin','function','@univerjs/network','_selectionProtectionRuleModel','IUniverInstanceService','UniverSheetsConditionalFormattingUIPlugin','defs','onSteady','UniverSheetsHyperLink','UniverDocsPlugin','CollaborationStatus','UniverDataValidation','UniverSheetsDrawingUi','setConfig','_sidebarService','ISidebarService','useRef','UniverProCollaborationClient','UniverEditHistoryViewerPlugin','invoke','UniverSheetsDataValidationUIPlugin','IConfigService','1em','reload','_pluginMap','svg','none','react','UniverSheetsFormulaPlugin','top','event$','RangeProtectionPermissionEditPoint','_localeService','dispose','data','MenuItemType','getSheetId'];_0x1ed5=function(){return _0xefc41a;};return _0x1ed5();}(function(_0x1b728a,_0x4d821b){const _0x47232f=_0x5c96,_0x35a6c6=_0x1b728a();while(!![]){try{const _0x59faf0=-parseInt(_0x47232f(0x100))/0x1+parseInt(_0x47232f(0x14b))/0x2*(parseInt(_0x47232f(0x11f))/0x3)+-parseInt(_0x47232f(0x18d))/0x4*(-parseInt(_0x47232f(0x12f))/0x5)+-parseInt(_0x47232f(0x1a0))/0x6+-parseInt(_0x47232f(0x149))/0x7*(parseInt(_0x47232f(0x18f))/0x8)+-parseInt(_0x47232f(0x1ba))/0x9+parseInt(_0x47232f(0x12a))/0xa*(parseInt(_0x47232f(0x1d1))/0xb);if(_0x59faf0===_0x4d821b)break;else _0x35a6c6['push'](_0x35a6c6['shift']());}catch(_0xda46d1){_0x35a6c6['push'](_0x35a6c6['shift']());}}}(_0x1ed5,0xbabaa),function(_0x53fedd,_0x14e356){const _0x42ba1b=_0x5c96;typeof exports==_0x42ba1b(0x15b)&&typeof module<'u'?_0x14e356(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x42ba1b(0x1f6)&&define[_0x42ba1b(0x1de)]?define(['exports',_0x42ba1b(0x10d),_0x42ba1b(0x1d2),'@univerjs-pro/collaboration-client',_0x42ba1b(0x126),_0x42ba1b(0xe1),'@univerjs/ui','rxjs',_0x42ba1b(0x157),_0x42ba1b(0x193),_0x42ba1b(0xf1),'@univerjs-pro/sheets-chart','@univerjs-pro/sheets-chart-ui','@univerjs-pro/sheets-pivot',_0x42ba1b(0x1c0),_0x42ba1b(0x167),'@univerjs/data-validation',_0x42ba1b(0x11d),'@univerjs/docs-ui',_0x42ba1b(0x11c),_0x42ba1b(0x1bf),_0x42ba1b(0x144),_0x42ba1b(0x1ef),_0x42ba1b(0x1f7),_0x42ba1b(0x147),_0x42ba1b(0x181),_0x42ba1b(0x14e),'@univerjs/sheets-data-validation','@univerjs/sheets-data-validation-ui',_0x42ba1b(0x172),_0x42ba1b(0xf0),_0x42ba1b(0x10c),_0x42ba1b(0x131),_0x42ba1b(0x19c),'@univerjs/sheets-formula-ui',_0x42ba1b(0x17a),_0x42ba1b(0x1c2),_0x42ba1b(0x104),_0x42ba1b(0x10f)],_0x14e356):(_0x53fedd=typeof globalThis<'u'?globalThis:_0x53fedd||self,_0x14e356(_0x53fedd['UniverProEditHistoryLoader']={},_0x53fedd[_0x42ba1b(0x18e)],_0x53fedd[_0x42ba1b(0xf4)],_0x53fedd[_0x42ba1b(0xd7)],_0x53fedd['UniverDesign'],_0x53fedd['React'],_0x53fedd[_0x42ba1b(0x1a1)],_0x53fedd['rxjs'],_0x53fedd[_0x42ba1b(0x11a)],_0x53fedd[_0x42ba1b(0x1a4)],_0x53fedd['UniverProLicense'],_0x53fedd[_0x42ba1b(0x1df)],_0x53fedd[_0x42ba1b(0x130)],_0x53fedd[_0x42ba1b(0x10b)],_0x53fedd['UniverProSheetsSparkline'],_0x53fedd[_0x42ba1b(0xec)],_0x53fedd[_0x42ba1b(0xd1)],_0x53fedd['UniverDocs'],_0x53fedd['UniverDocsUi'],_0x53fedd['UniverDrawing'],_0x53fedd['UniverDrawingUi'],_0x53fedd['UniverEngineFormula'],_0x53fedd[_0x42ba1b(0x191)],_0x53fedd['UniverNetwork'],_0x53fedd[_0x42ba1b(0x1d7)],_0x53fedd[_0x42ba1b(0x16b)],_0x53fedd[_0x42ba1b(0x1ac)],_0x53fedd[_0x42ba1b(0x17b)],_0x53fedd[_0x42ba1b(0x120)],_0x53fedd[_0x42ba1b(0x15f)],_0x53fedd[_0x42ba1b(0xd2)],_0x53fedd[_0x42ba1b(0x101)],_0x53fedd[_0x42ba1b(0x189)],_0x53fedd[_0x42ba1b(0x1e9)],_0x53fedd['UniverSheetsFormulaUi'],_0x53fedd[_0x42ba1b(0xce)],_0x53fedd[_0x42ba1b(0xfc)],_0x53fedd[_0x42ba1b(0x16a)],_0x53fedd[_0x42ba1b(0x15e)]));}(this,function(_0x1b9a22,_0x156a49,_0x223060,_0x3a407f,_0x2bf68,_0x54e9cc,_0x2600a3,_0x569940,_0x76f47e,_0x1943f2,_0x2f532d,_0x317150,_0x40a1b8,_0x4ad90b,_0x284ac4,_0x1d79f9,_0x56953f,_0x692562,_0x271943,_0x327719,_0x555b2d,_0x5a9a6f,_0x1f8a2d,_0x15eef0,_0x88efa8,_0x4cd52c,_0x26efef,_0x3bb57d,_0x14c8df,_0x57c7cf,_0x58bec8,_0x2788f9,_0x155e13,_0x11c2cc,_0x56f816,_0x5a5e51,_0x16a738,_0xd0625e,_0x355849){'use strict';const _0x3989d7=_0x5c96;var _0x384665=Object['defineProperty'],_0x75df6d=(_0x436759,_0x408669,_0x3f7335)=>_0x408669 in _0x436759?_0x384665(_0x436759,_0x408669,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f7335}):_0x436759[_0x408669]=_0x3f7335,_0x1a0183=(_0x17a476,_0x4be355,_0x50757a)=>_0x75df6d(_0x17a476,typeof _0x4be355!='symbol'?_0x4be355+'':_0x4be355,_0x50757a),_0x1d9a61;const _0x493d4a='edit-history-loader.config',_0x50e0c8={};function _0x32afff({ref:_0x5456cf,..._0x33b3b3}){const _0x129d59=_0x5c96,{icon:_0x284b55,id:_0x411b4c,className:_0x276933,extend:_0x45ccbb,..._0x9b1034}=_0x33b3b3,_0x2ab0b2=(_0x129d59(0x176)+_0x411b4c+'\x20'+(_0x276933||''))[_0x129d59(0x1d3)](),_0x215e87=_0x54e9cc[_0x129d59(0xd6)]('_'+_0x277027());return _0x4cfbb5(_0x284b55,''+_0x411b4c,{'defIds':_0x284b55[_0x129d59(0x123)],'idSuffix':_0x215e87['current']},{'ref':_0x5456cf,'className':_0x2ab0b2,..._0x9b1034},_0x45ccbb);}function _0x4cfbb5(_0x15df16,_0x463092,_0x574c99,_0x3b8491,_0xe56cd1){const _0xe250ff=_0x5c96;return _0x54e9cc[_0xe250ff(0x1a8)](_0x15df16[_0xe250ff(0x187)],{'key':_0x463092,..._0x524fc8(_0x15df16,_0x574c99,_0xe56cd1),..._0x3b8491},(_0x408b0b(_0x15df16,_0x574c99)[_0xe250ff(0x15d)]||[])['map']((_0x24f32d,_0x4b5268)=>_0x4cfbb5(_0x24f32d,_0x463092+'-'+_0x15df16[_0xe250ff(0x187)]+'-'+_0x4b5268,_0x574c99,void 0x0,_0xe56cd1)));}function _0x524fc8(_0x324e4a,_0x171577,_0x47f404){const _0xd5e8eb=_0x5c96,_0x4f5b67={..._0x324e4a[_0xd5e8eb(0x1dd)]};_0x47f404!=null&&_0x47f404[_0xd5e8eb(0x19f)]&&_0x4f5b67[_0xd5e8eb(0x1d4)]===_0xd5e8eb(0x19f)&&(_0x4f5b67['fill']=_0x47f404['colorChannel1']),_0x324e4a['tag']===_0xd5e8eb(0x19e)&&_0x4f5b67['id']&&(_0x4f5b67['id']=_0x4f5b67['id']+_0x171577[_0xd5e8eb(0x1bd)]),Object[_0xd5e8eb(0x199)](_0x4f5b67)[_0xd5e8eb(0x118)](([_0xfadeee,_0x57a27b])=>{const _0x2eaad8=_0xd5e8eb;_0xfadeee===_0x2eaad8(0x19e)&&typeof _0x57a27b==_0x2eaad8(0x10e)&&(_0x4f5b67[_0xfadeee]=_0x57a27b[_0x2eaad8(0x196)](/url\(#(.*)\)/,_0x2eaad8(0x1e6)+_0x171577[_0x2eaad8(0x1bd)]+')'));});const {defIds:_0x3d94ef}=_0x171577;return!_0x3d94ef||_0x3d94ef['length']===0x0||(_0x324e4a[_0xd5e8eb(0x187)]===_0xd5e8eb(0x1b9)&&_0x4f5b67['xlink:href']&&(_0x4f5b67['xlink:href']=_0x4f5b67[_0xd5e8eb(0x192)]+_0x171577[_0xd5e8eb(0x1bd)]),Object['entries'](_0x4f5b67)[_0xd5e8eb(0x118)](([_0xb5b477,_0x135068])=>{const _0x19985c=_0xd5e8eb;typeof _0x135068==_0x19985c(0x10e)&&(_0x4f5b67[_0xb5b477]=_0x135068[_0x19985c(0x196)](/url\(#(.*)\)/,_0x19985c(0x1e6)+_0x171577['idSuffix']+')'));})),_0x4f5b67;}function _0x408b0b(_0x10dd91,_0x55c9f7){const _0x1d8d2b=_0x5c96;var _0x1da359;const {defIds:_0x524690}=_0x55c9f7;return!_0x524690||_0x524690[_0x1d8d2b(0x1e5)]===0x0?_0x10dd91:_0x10dd91[_0x1d8d2b(0x187)]===_0x1d8d2b(0x1fb)&&((_0x1da359=_0x10dd91['children'])!=null&&_0x1da359[_0x1d8d2b(0x1e5)])?{..._0x10dd91,'children':_0x10dd91[_0x1d8d2b(0x15d)][_0x1d8d2b(0x14c)](_0x358168=>typeof _0x358168[_0x1d8d2b(0x1dd)]['id']=='string'&&_0x524690&&_0x524690[_0x1d8d2b(0x16c)](_0x358168[_0x1d8d2b(0x1dd)]['id'])?{..._0x358168,'attrs':{..._0x358168[_0x1d8d2b(0x1dd)],'id':_0x358168['attrs']['id']+_0x55c9f7[_0x1d8d2b(0x1bd)]}}:_0x358168)}:_0x10dd91;}function _0x277027(){const _0x21a343=_0x5c96;return Math[_0x21a343(0xfa)]()[_0x21a343(0x17f)](0x24)['substring'](0x2,0x8);}_0x32afff['displayName']=_0x3989d7(0x1a5);const _0x5e2cf6={'tag':_0x3989d7(0xdf),'attrs':{'xmlns':_0x3989d7(0x1aa),'fill':_0x3989d7(0xe0),'viewBox':_0x3989d7(0x194),'width':_0x3989d7(0xdc),'height':_0x3989d7(0xdc)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3989d7(0x143)},'children':[{'tag':_0x3989d7(0x12e),'attrs':{'d':_0x3989d7(0x13e)}},{'tag':_0x3989d7(0x12e),'attrs':{'d':_0x3989d7(0xfd)}}]},{'tag':_0x3989d7(0x1fb),'attrs':{},'children':[{'tag':_0x3989d7(0x115),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3989d7(0x12e),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3989d7(0x107)]},_0x17946c=_0x54e9cc[_0x3989d7(0x142)](function(_0x4c0a6f,_0x2758ec){const _0x3c68a2=_0x3989d7;return _0x54e9cc[_0x3c68a2(0x1a8)](_0x32afff,Object[_0x3c68a2(0x1b8)]({},_0x4c0a6f,{'id':_0x3c68a2(0x161),'ref':_0x2758ec,'icon':_0x5e2cf6}));});_0x17946c[_0x3989d7(0xf2)]=_0x3989d7(0x113);var _0x42d617=Object[_0x3989d7(0x12c)],_0x4b25c1=(_0x49dbd2,_0x4caf63,_0x43cc22,_0x1cf3cf)=>{for(var _0x1815ec=_0x1cf3cf>0x1?void 0x0:_0x1cf3cf?_0x42d617(_0x4caf63,_0x43cc22):_0x4caf63,_0x1ab6cd=_0x49dbd2['length']-0x1,_0x13d9e0;_0x1ab6cd>=0x0;_0x1ab6cd--)(_0x13d9e0=_0x49dbd2[_0x1ab6cd])&&(_0x1815ec=_0x13d9e0(_0x1815ec)||_0x1815ec);return _0x1815ec;},_0x4c5f7c=(_0x4d7f03,_0x4f60d1)=>(_0x10d048,_0x49c366)=>_0x4f60d1(_0x10d048,_0x49c366,_0x4d7f03);const _0x47b899=_0x3989d7(0x173),_0x285255=_0x3989d7(0x18c),_0x399392=_0x3989d7(0x1bb);_0x1b9a22[_0x3989d7(0x1e7)]=class extends _0x156a49[_0x3989d7(0x166)]{constructor(_0x1c1300,_0x35babb,_0x4bf27c,_0x47b604,_0x1baeb0,_0x4fb4a4,_0x3a6251,_0x1efbff,_0x5446cd,_0x3c87ae){const _0x4ac31f=_0x3989d7;super(),_0x1a0183(this,_0x4ac31f(0x114),new _0x569940[(_0x4ac31f(0x1b0))](null)),_0x1a0183(this,_0x4ac31f(0x111),this[_0x4ac31f(0x114)][_0x4ac31f(0x148)]()),_0x1a0183(this,'_disposableCollection',new _0x156a49[(_0x4ac31f(0x1b6))]()),_0x1a0183(this,_0x4ac31f(0xde),new Map()),(this[_0x4ac31f(0xe6)]=_0x1c1300,this['_univerInstanceService']=_0x35babb,this[_0x4ac31f(0x177)]=_0x4bf27c,this['_commandService']=_0x47b604,this[_0x4ac31f(0x1cf)]=_0x1baeb0,this[_0x4ac31f(0xf7)]=_0x4fb4a4,this['_selectionProtectionRuleModel']=_0x3a6251,this[_0x4ac31f(0x138)]=_0x1efbff,this[_0x4ac31f(0xd4)]=_0x5446cd,this[_0x4ac31f(0x109)]=_0x3c87ae,this[_0x4ac31f(0x1c9)]());}get['historyUniver'](){const _0x1b91e3=_0x3989d7;return this[_0x1b91e3(0x114)][_0x1b91e3(0x155)];}[_0x3989d7(0x1c9)](){const _0x149b9d=_0x3989d7;this[_0x149b9d(0x1b3)](),this['_initPlugins']();}[_0x3989d7(0x1b3)](){const _0x4134d6=_0x3989d7;var _0x2034d5;const _0x1f687c=(_0x2034d5=this[_0x4134d6(0x177)][_0x4134d6(0x19a)](_0x285255))!=null?_0x2034d5:_0x47b899,_0x4e802e=document[_0x4134d6(0x13b)](_0x1f687c);if(!_0x4e802e)return;const _0x3224d6=document['createElement']('div');_0x3224d6['id']=_0x399392,_0x3224d6[_0x4134d6(0x125)][_0x4134d6(0x1f2)]='history-container',_0x3224d6['style']['position']=_0x4134d6(0x137),_0x3224d6[_0x4134d6(0x117)][_0x4134d6(0xe3)]='0',_0x3224d6[_0x4134d6(0x117)][_0x4134d6(0x1d9)]='0',_0x3224d6['style']['width']=_0x4134d6(0x1e2),_0x3224d6['style']['height']=_0x4134d6(0x1e2),_0x3224d6[_0x4134d6(0x117)][_0x4134d6(0x18b)]='1000',_0x3224d6[_0x4134d6(0x117)][_0x4134d6(0x1c6)]=_0x4134d6(0xe0),_0x4e802e[_0x4134d6(0x1af)](_0x3224d6);}['_initPlugins'](){const _0x2cd589=_0x3989d7;var _0x1883fc,_0x46d40e,_0x551afe,_0x585058;[[_0x1f8a2d[_0x2cd589(0x150)]],[_0x2600a3[_0x2cd589(0xef)],{'container':_0x399392,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2600a3[_0x2cd589(0x1b4)],null]]}],[_0x15eef0['UniverNetworkPlugin']],[_0x327719[_0x2cd589(0x1d0)],{'override':[[_0x327719['IImageIoService'],null]]}],[_0x692562[_0x2cd589(0xcf)],{'hasScroll':!0x1}],[_0x271943[_0x2cd589(0x139)]],[_0xd0625e[_0x2cd589(0x121)]],[_0x76f47e['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x355849[_0x2cd589(0x108)]],[_0x11c2cc[_0x2cd589(0xe2)]],[_0x56f816['UniverSheetsFormulaUIPlugin']],[_0x223060['UniverCollaborationPlugin']],[_0x2788f9[_0x2cd589(0x145)]],[_0x155e13[_0x2cd589(0x183)]],[_0x4cd52c[_0x2cd589(0x156)]],[_0x26efef[_0x2cd589(0x1fa)]],[_0x5a5e51[_0x2cd589(0x16e)]],[_0x16a738[_0x2cd589(0x10a)]],[_0x56953f[_0x2cd589(0x13d)]],[_0x3bb57d[_0x2cd589(0x1c3)]],[_0x14c8df[_0x2cd589(0xda)]],[_0x5a9a6f[_0x2cd589(0x1cb)],{'notExecuteFormula':!0x0}],[_0x88efa8[_0x2cd589(0x1b7)],{'workerURL':(_0x46d40e=(_0x1883fc=this['_configService'][_0x2cd589(0x19a)](_0x88efa8[_0x2cd589(0x15c)]))==null?void 0x0:_0x1883fc[_0x2cd589(0x1a3)])!=null?_0x46d40e:'./worker.js'}],[_0x555b2d[_0x2cd589(0x103)]],[_0x57c7cf[_0x2cd589(0x170)]],[_0x58bec8['UniverSheetsDrawingUIPlugin']],[_0x284ac4[_0x2cd589(0x1f0)]],[_0x1d79f9['UniverSheetSparklineUIPlugin']],[_0x317150[_0x2cd589(0x1cc)]],[_0x40a1b8[_0x2cd589(0x1f5)]],[_0x4ad90b['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x1943f2[_0x2cd589(0xd8)],{'historyListServerUrl':(_0x551afe=this[_0x2cd589(0x177)][_0x2cd589(0x19a)](_0x493d4a))==null?void 0x0:_0x551afe['historyListServerUrl'],'historyPanelComponentKey':(_0x585058=this['_configService'][_0x2cd589(0x19a)](_0x493d4a))==null?void 0x0:_0x585058[_0x2cd589(0xf6)]}]][_0x2cd589(0x118)](([_0x34858e,_0xe411fb])=>this[_0x2cd589(0x1ad)](_0x34858e,_0xe411fb));}[_0x3989d7(0xe7)](){const _0x4fbd69=_0x3989d7;super['dispose'](),this[_0x4fbd69(0x180)](),this['_pluginMap'][_0x4fbd69(0x12b)]();}[_0x3989d7(0x1ad)](_0xeeb2d3,_0x23f925,_0x338524){const _0x41853f=_0x3989d7;if(this[_0x41853f(0xde)]['has'](_0xeeb2d3[_0x41853f(0x159)])&&!_0x338524)throw new Error(_0x41853f(0x160)+_0xeeb2d3[_0x41853f(0x159)]+_0x41853f(0x1ee));this[_0x41853f(0xde)][_0x41853f(0x1c4)](_0xeeb2d3[_0x41853f(0x159)],[_0xeeb2d3,_0x23f925]);}[_0x3989d7(0x162)](){const _0x112206=_0x3989d7;return Array[_0x112206(0x133)](this['_pluginMap'][_0x112206(0x168)]());}[_0x3989d7(0x152)](_0x31f187){const _0x206cb5=_0x3989d7,_0x526052=document['getElementById'](_0x399392);_0x526052&&(_0x526052[_0x206cb5(0x117)]['display']=_0x206cb5(0x153),this[_0x206cb5(0x14a)](_0x31f187,_0x399392));}[_0x3989d7(0x180)](){const _0x1c18d8=_0x3989d7;var _0x344650;this['_disposableCollection'][_0x1c18d8(0xe7)](),(_0x344650=this['historyUniver'])==null||_0x344650[_0x1c18d8(0xe7)](),this[_0x1c18d8(0x114)][_0x1c18d8(0x1db)](null);const _0x441abf=document[_0x1c18d8(0x13b)](_0x399392);_0x441abf&&(_0x441abf['style'][_0x1c18d8(0x1c6)]=_0x1c18d8(0xe0));}[_0x3989d7(0x14a)](_0x4d3f5e,_0x6e8268){const _0x325df9=_0x3989d7;if(this[_0x325df9(0x1f3)])return;const _0xf55d6f=new _0x156a49[(_0x325df9(0x11e))]({'locales':{[this[_0x325df9(0xe6)][_0x325df9(0x1a9)]()]:this[_0x325df9(0xe6)][_0x325df9(0x1a6)]()},'override':[[_0x156a49[_0x325df9(0x1a7)],{'useClass':_0x3a407f[_0x325df9(0x164)]}]]}),_0x4ef885=_0xf55d6f[_0x325df9(0x1cd)]();this[_0x325df9(0x1c1)](this['_themeService']['darkMode$']['subscribe'](_0x5e4ddd=>{const _0x575b65=_0x325df9;_0x4ef885[_0x575b65(0x1dc)](_0x156a49[_0x575b65(0x134)])[_0x575b65(0x163)](_0x5e4ddd);})),this[_0x325df9(0x1c1)](this['_themeService'][_0x325df9(0x141)][_0x325df9(0x1bc)](_0x2c7cd6=>{const _0x12e205=_0x325df9;_0x4ef885['get'](_0x156a49[_0x12e205(0x134)])[_0x12e205(0x154)](_0x2c7cd6);})),_0x4ef885[_0x325df9(0x1dc)](_0x156a49['LocaleService'])[_0x325df9(0x129)](this[_0x325df9(0xe6)][_0x325df9(0x1a9)]()),_0x4ef885[_0x325df9(0x1dc)](_0x156a49['IConfigService'])[_0x325df9(0xd3)](_0x3a407f[_0x325df9(0x110)],this[_0x325df9(0x177)][_0x325df9(0x19a)](_0x3a407f[_0x325df9(0x110)]));const _0x3c036c=this[_0x325df9(0x177)][_0x325df9(0x19a)](_0x2f532d[_0x325df9(0xeb)]);_0x3c036c&&_0xf55d6f[_0x325df9(0x1ad)](_0x2f532d[_0x325df9(0x1c7)],{'license':_0x3c036c['ls']}),this[_0x325df9(0xde)][_0x325df9(0x118)](([_0x57b712,_0x57fa1e])=>{const _0x14203f=_0x325df9;_0xf55d6f[_0x14203f(0x1ad)](_0x57b712,_0x57fa1e);}),_0x4ef885[_0x325df9(0xd9)](_0x515198=>{const _0x4ed61f=_0x325df9;this[_0x4ed61f(0x175)](_0x515198,_0x4d3f5e);}),this[_0x325df9(0x114)][_0x325df9(0x1db)](_0xf55d6f);const _0x49d40e=_0x4ef885[_0x325df9(0x1dc)](_0x1943f2[_0x325df9(0x1f1)]),_0x5f3ec4=this['_checkCanRevert'](_0x4d3f5e);_0x49d40e[_0x325df9(0x12d)](_0x4d3f5e,_0x6e8268,_0x5f3ec4);}[_0x3989d7(0x175)](_0x5b167f,_0x37551e){const _0x5eb9ea=_0x3989d7,_0xe37c95=_0x5b167f['get'](_0x1943f2[_0x5eb9ea(0x1f1)]);this['_disposableCollection']['add'](_0xe37c95[_0x5eb9ea(0x174)][_0x5eb9ea(0x1bc)](_0x5bb0dd=>{const _0x3fc7cd=_0x5eb9ea;switch(_0x5bb0dd){case _0x1943f2[_0x3fc7cd(0x132)][_0x3fc7cd(0x1b5)]:this[_0x3fc7cd(0x138)][_0x3fc7cd(0x1d6)](),this[_0x3fc7cd(0xd4)][_0x3fc7cd(0xee)]();break;case _0x1943f2[_0x3fc7cd(0x132)][_0x3fc7cd(0x1c5)]:this[_0x3fc7cd(0x1ed)][_0x3fc7cd(0x1ec)](_0x3c6ab3['id']),this[_0x3fc7cd(0x180)]();break;case _0x1943f2[_0x3fc7cd(0x132)][_0x3fc7cd(0x198)]:this[_0x3fc7cd(0x180)](),this['_messageService'][_0x3fc7cd(0x151)]({'content':this[_0x3fc7cd(0xe6)]['t'](_0x3fc7cd(0x178)),'type':_0x2bf68[_0x3fc7cd(0x165)][_0x3fc7cd(0x198)],'duration':0xbb8});break;}})),this[_0x5eb9ea(0x169)][_0x5eb9ea(0xf5)](_0xe37c95[_0x5eb9ea(0xfb)]['subscribe'](async _0x22e1a2=>{const _0x548bc1=_0x5eb9ea;_0x22e1a2&&this[_0x548bc1(0x1ed)]['executeCommand'](_0x223060['RevertRevisionMutation']['id'],{'unitId':_0x37551e,'revision':_0x22e1a2});}));}[_0x3989d7(0x184)](_0x5b495f){const _0x2e3dd6=_0x3989d7,_0x2dc975=this['_univerInstanceService'][_0x2e3dd6(0x179)](_0x5b495f)[_0x2e3dd6(0x122)]()[_0x2e3dd6(0x14c)](_0x9df935=>_0x9df935[_0x2e3dd6(0xea)]()),_0x562883=new _0x76f47e[(_0x2e3dd6(0x15a))](_0x5b495f)['id'],_0x20f9c0=_0x2dc975['map'](_0x4cec1a=>new _0x76f47e['WorksheetEditPermission'](_0x5b495f,_0x4cec1a)['id']),_0x1e4c9e=_0x2dc975[_0x2e3dd6(0x14c)](_0x11f865=>this[_0x2e3dd6(0x1f8)][_0x2e3dd6(0x135)](_0x5b495f,_0x11f865)[_0x2e3dd6(0x14c)](_0x755577=>new _0x76f47e[(_0x2e3dd6(0xe5))](_0x5b495f,_0x11f865,_0x755577['permissionId'])['id']))['flat'](),_0x3c34a2=new _0x76f47e['WorkbookRecoverHistoryPermission'](_0x5b495f)['id'];return this['_permissionService'][_0x2e3dd6(0xf3)]([_0x562883,..._0x20f9c0,..._0x1e4c9e,_0x3c34a2])[_0x2e3dd6(0x112)](_0x37075c=>!!_0x37075c[_0x2e3dd6(0x155)]);}},_0x1b9a22[_0x3989d7(0x1e7)]=_0x4b25c1([_0x4c5f7c(0x0,_0x156a49['Inject'](_0x156a49[_0x3989d7(0xed)])),_0x4c5f7c(0x1,_0x156a49[_0x3989d7(0x1f9)]),_0x4c5f7c(0x2,_0x156a49[_0x3989d7(0xdb)]),_0x4c5f7c(0x3,_0x156a49[_0x3989d7(0x1ce)]),_0x4c5f7c(0x4,_0x2600a3[_0x3989d7(0xff)]),_0x4c5f7c(0x5,_0x156a49[_0x3989d7(0x102)]),_0x4c5f7c(0x6,_0x156a49[_0x3989d7(0x17d)](_0x76f47e['RangeProtectionRuleModel'])),_0x4c5f7c(0x7,_0x156a49[_0x3989d7(0x17d)](_0x2600a3[_0x3989d7(0x1b4)])),_0x4c5f7c(0x8,_0x156a49[_0x3989d7(0x17d)](_0x2600a3[_0x3989d7(0xd5)])),_0x4c5f7c(0x9,_0x156a49[_0x3989d7(0x17d)](_0x156a49[_0x3989d7(0x134)]))],_0x1b9a22[_0x3989d7(0x1e7)]);const _0x40b3b3={'id':_0x3989d7(0x1b1),'type':_0x156a49[_0x3989d7(0x1a2)][_0x3989d7(0x19b)],'handler':_0x5d0e37=>{const _0x2ba2d2=_0x3989d7,_0x27f21d=_0x5d0e37[_0x2ba2d2(0x1dc)](_0x1b9a22[_0x2ba2d2(0x1e7)]),_0x516e5c=_0x5d0e37[_0x2ba2d2(0x1dc)](_0x156a49['IUniverInstanceService']),{unitId:_0x52ff7e}=_0x76f47e[_0x2ba2d2(0x1b2)](_0x516e5c)||{};return _0x52ff7e?(_0x27f21d[_0x2ba2d2(0x152)](_0x52ff7e),!0x0):!0x1;}},_0x3c6ab3={'id':'univer.operation.exit-edit-history','type':_0x156a49[_0x3989d7(0x1a2)]['OPERATION'],'handler':()=>!0x0};function _0x1f85e7(_0x224bbf){const _0x4561c2=_0x3989d7;return{'id':_0x40b3b3['id'],'type':_0x2600a3[_0x4561c2(0xe9)][_0x4561c2(0x186)],'icon':'HistoryIcon','tooltip':_0x4561c2(0x197),'hidden$':_0x2600a3[_0x4561c2(0x140)](_0x224bbf,_0x156a49[_0x4561c2(0x1be)][_0x4561c2(0x185)]),'disabled$':_0x355849[_0x4561c2(0x1ea)](_0x224bbf,{'workbookTypes':[_0x76f47e[_0x4561c2(0x15a)],_0x76f47e[_0x4561c2(0xfe)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x5234e5={[_0x2600a3[_0x3989d7(0x14d)][_0x3989d7(0x17e)]]:{[_0x40b3b3['id']]:{'order':0.2,'menuItemFactory':_0x1f85e7}}};var _0x3593cd=Object[_0x3989d7(0x12c)],_0x1e68cf=(_0x37d525,_0x5ef7e7,_0x52262b,_0x523f68)=>{for(var _0x2e19a2=_0x523f68>0x1?void 0x0:_0x523f68?_0x3593cd(_0x5ef7e7,_0x52262b):_0x5ef7e7,_0x390a22=_0x37d525['length']-0x1,_0x2ab982;_0x390a22>=0x0;_0x390a22--)(_0x2ab982=_0x37d525[_0x390a22])&&(_0x2e19a2=_0x2ab982(_0x2e19a2)||_0x2e19a2);return _0x2e19a2;},_0x279c8b=(_0x2d12ce,_0x249d1f)=>(_0x2d9f50,_0x3de2f4)=>_0x249d1f(_0x2d9f50,_0x3de2f4,_0x2d12ce);let _0x422520=class extends _0x156a49[_0x3989d7(0x188)]{constructor(_0x28bf0d,_0x4e6f1d,_0x313745,_0x138d90,_0x30e813,_0x2ec9ac,_0x5dbf2b,_0x116b4a){const _0xc0c2df=_0x3989d7;super(),_0x1a0183(this,'_revertErrorTimer',null),(this['_commandService']=_0x28bf0d,this[_0xc0c2df(0x106)]=_0x4e6f1d,this['_componentManager']=_0x313745,this[_0xc0c2df(0x1ab)]=_0x138d90,this[_0xc0c2df(0xe6)]=_0x30e813,this[_0xc0c2df(0x1cf)]=_0x2ec9ac,this['_collaborationController']=_0x5dbf2b,this[_0xc0c2df(0x1c8)]=_0x116b4a,this[_0xc0c2df(0x1c9)]());}[_0x3989d7(0x1c9)](){const _0x2e845a=_0x3989d7;[_0x40b3b3,_0x3c6ab3][_0x2e845a(0x118)](_0x4f7b7d=>this[_0x2e845a(0x1c1)](_0x156a49[_0x2e845a(0x14f)](this[_0x2e845a(0x1ed)]['registerCommand'](_0x4f7b7d)))),this[_0x2e845a(0x1c1)](this[_0x2e845a(0x1ae)]['register'](_0x2e845a(0x113),_0x17946c)),this['_menuManagerService'][_0x2e845a(0x1ca)](_0x5234e5),this[_0x2e845a(0x1c1)](this[_0x2e845a(0x1ed)][_0x2e845a(0x1eb)](_0xadc557=>{const _0x1c4d87=_0x2e845a;if(_0xadc557['id']===_0x223060[_0x1c4d87(0x190)]['id']){this[_0x1c4d87(0x1cf)]['show']({'content':this[_0x1c4d87(0xe6)]['t'](_0x1c4d87(0x1e4)),'type':_0x2bf68['MessageType'][_0x1c4d87(0x171)],'duration':0x1388});const {unitId:_0xcfa66c}=_0xadc557[_0x1c4d87(0x11b)],_0x455310=this[_0x1c4d87(0x1e0)][_0x1c4d87(0x19d)](_0xcfa66c),_0x2821bc=_0x569940[_0x1c4d87(0xf8)]([_0x455310[_0x1c4d87(0x1d8)][_0x1c4d87(0xe4)],_0x455310['state$']])[_0x1c4d87(0x1bc)](async([_0x80f95,_0x19ff24])=>{const _0x100c1a=_0x1c4d87;var _0x58eed2;_0x80f95[_0x100c1a(0x116)]===_0x223060[_0x100c1a(0x195)][_0x100c1a(0x182)]&&(_0x19ff24==null?void 0x0:_0x19ff24['status'])===_0x3a407f[_0x100c1a(0xd0)][_0x100c1a(0x1da)]&&_0x80f95[_0x100c1a(0xe8)][_0x100c1a(0x124)][_0x100c1a(0x17c)](_0x144a3c=>_0x144a3c['id']===_0x223060['RevertRevisionMutation']['id'])&&(this[_0x100c1a(0x1ab)][_0x100c1a(0x180)](),_0x2821bc['unsubscribe'](),this[_0x100c1a(0xf9)]&&clearTimeout(this[_0x100c1a(0xf9)]),await((_0x58eed2=this['_localCacheService'])==null?void 0x0:_0x58eed2[_0x100c1a(0x16d)]()),setTimeout(()=>window[_0x100c1a(0x16f)][_0x100c1a(0xdd)]()));});this[_0x1c4d87(0xf9)]=setTimeout(()=>{const _0x1f4b12=_0x1c4d87;_0x2821bc[_0x1f4b12(0x1e1)](),this[_0x1f4b12(0x1cf)]['show']({'content':this[_0x1f4b12(0xe6)]['t'](_0x1f4b12(0x13a)),'type':_0x2bf68['MessageType'][_0x1f4b12(0x198)],'duration':0xbb8});},0x1388);}}));}};_0x422520=_0x1e68cf([_0x279c8b(0x0,_0x156a49[_0x3989d7(0x1ce)]),_0x279c8b(0x1,_0x2600a3['IMenuManagerService']),_0x279c8b(0x2,_0x156a49[_0x3989d7(0x17d)](_0x2600a3[_0x3989d7(0x158)])),_0x279c8b(0x3,_0x156a49[_0x3989d7(0x17d)](_0x1b9a22[_0x3989d7(0x1e7)])),_0x279c8b(0x4,_0x156a49[_0x3989d7(0x17d)](_0x156a49[_0x3989d7(0xed)])),_0x279c8b(0x5,_0x2600a3[_0x3989d7(0xff)]),_0x279c8b(0x6,_0x156a49['Inject'](_0x3a407f[_0x3989d7(0x18a)])),_0x279c8b(0x7,_0x3a407f['ILocalCacheService'])],_0x422520);var _0x264c41=Object[_0x3989d7(0x12c)],_0x392675=(_0x2d6c5d,_0x1f2f57,_0x351a4e,_0x3abf72)=>{const _0x1808f6=_0x3989d7;for(var _0x2974e0=_0x3abf72>0x1?void 0x0:_0x3abf72?_0x264c41(_0x1f2f57,_0x351a4e):_0x1f2f57,_0x5504e9=_0x2d6c5d[_0x1808f6(0x1e5)]-0x1,_0x63c4e1;_0x5504e9>=0x0;_0x5504e9--)(_0x63c4e1=_0x2d6c5d[_0x5504e9])&&(_0x2974e0=_0x63c4e1(_0x2974e0)||_0x2974e0);return _0x2974e0;},_0x142578=(_0x2e972a,_0x524f5d)=>(_0x3b57c5,_0x40cdc3)=>_0x524f5d(_0x3b57c5,_0x40cdc3,_0x2e972a);const _0x426cba=_0x3989d7(0x1e3);_0x1b9a22[_0x3989d7(0x13c)]=(_0x1d9a61=class extends _0x156a49[_0x3989d7(0x1e8)]{constructor(_0x49fac0=_0x50e0c8,_0x4f1d6d,_0x3cbc30){const _0x29b26c=_0x3989d7;super(),this[_0x29b26c(0x146)]=_0x49fac0,this['_injector']=_0x4f1d6d,this[_0x29b26c(0x177)]=_0x3cbc30;const {menu:_0x4c0e9b,..._0x2b4bff}=_0x156a49['merge']({},_0x50e0c8,this[_0x29b26c(0x146)]);_0x4c0e9b&&this[_0x29b26c(0x177)][_0x29b26c(0xd3)]('menu',_0x4c0e9b,{'merge':!0x0}),this['_configService'][_0x29b26c(0xd3)](_0x493d4a,_0x2b4bff),this['_config'][_0x29b26c(0x13f)]&&this['_configService']['setConfig'](_0x285255,this[_0x29b26c(0x146)][_0x29b26c(0x13f)]);}['onStarting'](){const _0x1a97f0=_0x3989d7;[[_0x1b9a22[_0x1a97f0(0x1e7)]],[_0x422520]][_0x1a97f0(0x118)](_0x319620=>this[_0x1a97f0(0x127)]['add'](_0x319620));}[_0x3989d7(0x1fc)](){const _0x45c6f2=_0x3989d7;this[_0x45c6f2(0x127)]['get'](_0x422520);}},_0x1a0183(_0x1d9a61,_0x3989d7(0x1f4),_0x156a49[_0x3989d7(0x1be)][_0x3989d7(0x105)]),_0x1a0183(_0x1d9a61,_0x3989d7(0x159),_0x426cba),_0x1d9a61),_0x1b9a22[_0x3989d7(0x13c)]=_0x392675([_0x142578(0x1,_0x156a49['Inject'](_0x156a49[_0x3989d7(0x128)])),_0x142578(0x2,_0x156a49[_0x3989d7(0xdb)])],_0x1b9a22[_0x3989d7(0x13c)]),_0x1b9a22['UNIVER_CONTAINER_ID_KEY']=_0x285255,_0x1b9a22[_0x3989d7(0x119)]=_0x399392,Object[_0x3989d7(0x136)](_0x1b9a22,Symbol[_0x3989d7(0x1d5)],{'value':'Module'});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1-insiders.20260117-8ce4a01",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet edit history loader",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -46,51 +46,51 @@
|
|
|
46
46
|
"rxjs": ">=7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@univerjs/icons": "^1.1.
|
|
50
|
-
"@univerjs-pro/collaboration": "0.15.
|
|
51
|
-
"@univerjs-pro/
|
|
52
|
-
"@univerjs-pro/license": "0.15.
|
|
53
|
-
"@univerjs-pro/
|
|
54
|
-
"@univerjs-pro/
|
|
55
|
-
"@univerjs-pro/sheets-
|
|
56
|
-
"@univerjs-pro/sheets-
|
|
57
|
-
"@univerjs-pro/sheets-sparkline
|
|
58
|
-
"@univerjs/core": "0.15.
|
|
59
|
-
"@univerjs-pro/sheets-
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/engine-formula": "0.15.
|
|
66
|
-
"@univerjs/drawing-ui": "0.15.
|
|
67
|
-
"@univerjs/engine-render": "0.15.
|
|
68
|
-
"@univerjs/rpc": "0.15.
|
|
69
|
-
"@univerjs/network": "0.15.
|
|
70
|
-
"@univerjs/sheets
|
|
71
|
-
"@univerjs/sheets-conditional-formatting
|
|
72
|
-
"@univerjs/sheets": "0.15.
|
|
73
|
-
"@univerjs/sheets-data-validation-ui": "0.15.
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-drawing-ui": "0.15.
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-
|
|
78
|
-
"@univerjs/sheets-filter": "0.15.
|
|
79
|
-
"@univerjs/sheets-
|
|
80
|
-
"@univerjs/sheets-formula
|
|
81
|
-
"@univerjs/sheets-hyper-link": "0.15.
|
|
82
|
-
"@univerjs/sheets-hyper-link-ui": "0.15.
|
|
83
|
-
"@univerjs/
|
|
84
|
-
"@univerjs/sheets-
|
|
85
|
-
"@univerjs/
|
|
49
|
+
"@univerjs/icons": "^1.1.1",
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.1-insiders.20260117-8ce4a01",
|
|
51
|
+
"@univerjs-pro/edit-history-viewer": "0.15.1-insiders.20260117-8ce4a01",
|
|
52
|
+
"@univerjs-pro/license": "0.15.1-insiders.20260117-8ce4a01",
|
|
53
|
+
"@univerjs-pro/collaboration-client": "0.15.1-insiders.20260117-8ce4a01",
|
|
54
|
+
"@univerjs-pro/sheets-chart": "0.15.1-insiders.20260117-8ce4a01",
|
|
55
|
+
"@univerjs-pro/sheets-chart-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
56
|
+
"@univerjs-pro/sheets-pivot": "0.15.1-insiders.20260117-8ce4a01",
|
|
57
|
+
"@univerjs-pro/sheets-sparkline": "0.15.1-insiders.20260117-8ce4a01",
|
|
58
|
+
"@univerjs/core": "0.15.1-insiders.20260117-8ce4a01",
|
|
59
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
60
|
+
"@univerjs/design": "0.15.1-insiders.20260117-8ce4a01",
|
|
61
|
+
"@univerjs/docs": "0.15.1-insiders.20260117-8ce4a01",
|
|
62
|
+
"@univerjs/data-validation": "0.15.1-insiders.20260117-8ce4a01",
|
|
63
|
+
"@univerjs/docs-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
64
|
+
"@univerjs/drawing": "0.15.1-insiders.20260117-8ce4a01",
|
|
65
|
+
"@univerjs/engine-formula": "0.15.1-insiders.20260117-8ce4a01",
|
|
66
|
+
"@univerjs/drawing-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
67
|
+
"@univerjs/engine-render": "0.15.1-insiders.20260117-8ce4a01",
|
|
68
|
+
"@univerjs/rpc": "0.15.1-insiders.20260117-8ce4a01",
|
|
69
|
+
"@univerjs/network": "0.15.1-insiders.20260117-8ce4a01",
|
|
70
|
+
"@univerjs/sheets": "0.15.1-insiders.20260117-8ce4a01",
|
|
71
|
+
"@univerjs/sheets-conditional-formatting": "0.15.1-insiders.20260117-8ce4a01",
|
|
72
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
73
|
+
"@univerjs/sheets-data-validation-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
74
|
+
"@univerjs/sheets-drawing": "0.15.1-insiders.20260117-8ce4a01",
|
|
75
|
+
"@univerjs/sheets-drawing-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
76
|
+
"@univerjs/sheets-data-validation": "0.15.1-insiders.20260117-8ce4a01",
|
|
77
|
+
"@univerjs/sheets-filter": "0.15.1-insiders.20260117-8ce4a01",
|
|
78
|
+
"@univerjs/sheets-filter-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
79
|
+
"@univerjs/sheets-formula-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
80
|
+
"@univerjs/sheets-formula": "0.15.1-insiders.20260117-8ce4a01",
|
|
81
|
+
"@univerjs/sheets-hyper-link": "0.15.1-insiders.20260117-8ce4a01",
|
|
82
|
+
"@univerjs/sheets-hyper-link-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
83
|
+
"@univerjs/sheets-numfmt": "0.15.1-insiders.20260117-8ce4a01",
|
|
84
|
+
"@univerjs/sheets-ui": "0.15.1-insiders.20260117-8ce4a01",
|
|
85
|
+
"@univerjs/ui": "0.15.1-insiders.20260117-8ce4a01"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"react": "18.3.1",
|
|
89
89
|
"rxjs": "7.8.2",
|
|
90
90
|
"typescript": "^5.9.3",
|
|
91
|
-
"vite": "^7.3.
|
|
91
|
+
"vite": "^7.3.1",
|
|
92
92
|
"vitest": "^4.0.16",
|
|
93
|
-
"@univerjs-infra/shared": "0.15.
|
|
93
|
+
"@univerjs-infra/shared": "0.15.1"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"test": "vitest run",
|