@univerjs-pro/edit-history-loader 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
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 +37 -37
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5d14c1=_0xb3a4;(function(_0x11ee3a,_0x204c7a){const _0x589ef2=_0xb3a4,_0x2071c9=_0x11ee3a();while(!![]){try{const _0x4b9cc9=parseInt(_0x589ef2(0x1f0))/0x1+parseInt(_0x589ef2(0x12f))/0x2+parseInt(_0x589ef2(0x1d5))/0x3*(parseInt(_0x589ef2(0x17a))/0x4)+-parseInt(_0x589ef2(0x123))/0x5*(parseInt(_0x589ef2(0x148))/0x6)+-parseInt(_0x589ef2(0x1b9))/0x7+-parseInt(_0x589ef2(0x16d))/0x8*(parseInt(_0x589ef2(0x160))/0x9)+parseInt(_0x589ef2(0x11d))/0xa;if(_0x4b9cc9===_0x204c7a)break;else _0x2071c9['push'](_0x2071c9['shift']());}catch(_0x4de885){_0x2071c9['push'](_0x2071c9['shift']());}}}(_0x5191,0x547e2));var A=Object[_0x5d14c1(0x157)],F=(_0x5c7483,_0x5f1d95,_0x557a7d)=>_0x5f1d95 in _0x5c7483?A(_0x5c7483,_0x5f1d95,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557a7d}):_0x5c7483[_0x5f1d95]=_0x557a7d,_=(_0xf9831a,_0x5935e2,_0x35994f)=>F(_0xf9831a,typeof _0x5935e2!='symbol'?_0x5935e2+'':_0x5935e2,_0x35994f);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5d14c1(0x178)});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=_0x5d14c1(0x155),T={};function D({ref:_0x53b200,..._0x227efe}){const _0x38ac85=_0x5d14c1,{icon:_0x2ca106,id:_0x32894d,className:_0x1bcab7,extend:_0x1a12b6,..._0x4b976b}=_0x227efe,_0xcbde0a=('univerjs-icon\x20univerjs-icon-'+_0x32894d+'\x20'+(_0x1bcab7||''))[_0x38ac85(0x122)](),_0x591ba4=U['useRef']('_'+Se());return q(_0x2ca106,''+_0x32894d,{'defIds':_0x2ca106[_0x38ac85(0x197)],'idSuffix':_0x591ba4[_0x38ac85(0x149)]},{'ref':_0x53b200,'className':_0xcbde0a,..._0x4b976b},_0x1a12b6);}function q(_0x48312e,_0x488490,_0x16a19b,_0x49704e,_0xc9eeac){const _0x2b9b8f=_0x5d14c1;return U[_0x2b9b8f(0x130)](_0x48312e[_0x2b9b8f(0x167)],{'key':_0x488490,...de(_0x48312e,_0x16a19b,_0xc9eeac),..._0x49704e},(_e(_0x48312e,_0x16a19b)[_0x2b9b8f(0x117)]||[])[_0x2b9b8f(0x1f8)]((_0x43d0fe,_0x265efc)=>q(_0x43d0fe,_0x488490+'-'+_0x48312e[_0x2b9b8f(0x167)]+'-'+_0x265efc,_0x16a19b,void 0x0,_0xc9eeac)));}function de(_0x657711,_0x5b0648,_0x178466){const _0x1cc946=_0x5d14c1,_0xab055a={..._0x657711[_0x1cc946(0x1ac)]};_0x178466!=null&&_0x178466[_0x1cc946(0x1ab)]&&_0xab055a[_0x1cc946(0x1a9)]===_0x1cc946(0x1ab)&&(_0xab055a[_0x1cc946(0x1a9)]=_0x178466['colorChannel1']),_0x657711[_0x1cc946(0x167)]===_0x1cc946(0x1e9)&&_0xab055a['id']&&(_0xab055a['id']=_0xab055a['id']+_0x5b0648['idSuffix']),Object[_0x1cc946(0x1eb)](_0xab055a)['forEach'](([_0xb2b3a8,_0x4c7dd1])=>{const _0x298749=_0x1cc946;_0xb2b3a8==='mask'&&typeof _0x4c7dd1==_0x298749(0x115)&&(_0xab055a[_0xb2b3a8]=_0x4c7dd1[_0x298749(0x1d1)](/url\(#(.*)\)/,_0x298749(0x1da)+_0x5b0648['idSuffix']+')'));});const {defIds:_0x501bdc}=_0x5b0648;return!_0x501bdc||_0x501bdc[_0x1cc946(0x17e)]===0x0||(_0x657711['tag']==='use'&&_0xab055a[_0x1cc946(0x1a3)]&&(_0xab055a[_0x1cc946(0x1a3)]=_0xab055a['xlink:href']+_0x5b0648[_0x1cc946(0x180)]),Object[_0x1cc946(0x1eb)](_0xab055a)[_0x1cc946(0x154)](([_0x27929c,_0x30f201])=>{const _0x678f30=_0x1cc946;typeof _0x30f201==_0x678f30(0x115)&&(_0xab055a[_0x27929c]=_0x30f201['replace'](/url\(#(.*)\)/,_0x678f30(0x1da)+_0x5b0648[_0x678f30(0x180)]+')'));})),_0xab055a;}function _e(_0xe12a3,_0x55079c){const _0x1e4748=_0x5d14c1;var _0x25aad2;const {defIds:_0x5782a8}=_0x55079c;return!_0x5782a8||_0x5782a8[_0x1e4748(0x17e)]===0x0?_0xe12a3:_0xe12a3[_0x1e4748(0x167)]==='defs'&&((_0x25aad2=_0xe12a3[_0x1e4748(0x117)])!=null&&_0x25aad2[_0x1e4748(0x17e)])?{..._0xe12a3,'children':_0xe12a3[_0x1e4748(0x117)][_0x1e4748(0x1f8)](_0x2fcc2d=>typeof _0x2fcc2d[_0x1e4748(0x1ac)]['id']==_0x1e4748(0x115)&&_0x5782a8&&_0x5782a8[_0x1e4748(0x125)](_0x2fcc2d[_0x1e4748(0x1ac)]['id'])?{..._0x2fcc2d,'attrs':{..._0x2fcc2d[_0x1e4748(0x1ac)],'id':_0x2fcc2d[_0x1e4748(0x1ac)]['id']+_0x55079c[_0x1e4748(0x180)]}}:_0x2fcc2d)}:_0xe12a3;}function Se(){const _0x12ab90=_0x5d14c1;return Math[_0x12ab90(0x135)]()[_0x12ab90(0x13f)](0x24)[_0x12ab90(0x1ea)](0x2,0x8);}D['displayName']='UniverIcon';const me={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d14c1(0x166),'viewBox':_0x5d14c1(0x1c8),'width':_0x5d14c1(0x1e8),'height':_0x5d14c1(0x1e8)},'children':[{'tag':'g','attrs':{'fill':_0x5d14c1(0x142),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x5d14c1(0x1ee)}},{'tag':'path','attrs':{'d':_0x5d14c1(0x1cf)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5d14c1(0x17c),'attrs':{'id':_0x5d14c1(0x1bf)},'children':[{'tag':'path','attrs':{'fill':_0x5d14c1(0x19b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d14c1(0x1bf)]},$=U[_0x5d14c1(0x150)](function(_0x2381e7,_0x37fb0e){const _0x2a2c86=_0x5d14c1;return U[_0x2a2c86(0x130)](D,Object['assign']({},_0x2381e7,{'id':_0x2a2c86(0x164),'ref':_0x37fb0e,'icon':me}));});$[_0x5d14c1(0x14f)]='HistoryIcon';var ye=Object[_0x5d14c1(0x184)],pe=(_0x34cc24,_0x5a70de,_0x36ab60,_0x34d12b)=>{for(var _0x208dbc=_0x34d12b>0x1?void 0x0:_0x34d12b?ye(_0x5a70de,_0x36ab60):_0x5a70de,_0x5347bc=_0x34cc24['length']-0x1,_0x884c82;_0x5347bc>=0x0;_0x5347bc--)(_0x884c82=_0x34cc24[_0x5347bc])&&(_0x208dbc=_0x884c82(_0x208dbc)||_0x208dbc);return _0x208dbc;},g=(_0x2c3442,_0x124d6e)=>(_0x50a513,_0x344b5b)=>_0x124d6e(_0x50a513,_0x344b5b,_0x2c3442);const fe=_0x5d14c1(0x1e1),H=_0x5d14c1(0x144),y=_0x5d14c1(0x1b7);function _0xb3a4(_0x5cd577,_0x48a731){_0x5cd577=_0x5cd577-0x111;const _0x5191fa=_0x5191();let _0xb3a4ec=_0x5191fa[_0x5cd577];return _0xb3a4ec;}exports['HistoryLoaderService']=class extends o[_0x5d14c1(0x1d4)]{constructor(_0x4a9ddc,_0x324eb1,_0x789862,_0x37333b,_0x8857a,_0x30f9c8,_0x4b5d46,_0x3dcac6,_0x43e81f,_0x1cf4cd){const _0x3690d2=_0x5d14c1;super(),_(this,_0x3690d2(0x168),new O[(_0x3690d2(0x145))](null)),_(this,_0x3690d2(0x1a8),this[_0x3690d2(0x168)][_0x3690d2(0x18c)]()),_(this,_0x3690d2(0x1dc),new o[(_0x3690d2(0x146))]()),_(this,_0x3690d2(0x169),new Map()),(this[_0x3690d2(0x1c9)]=_0x4a9ddc,this[_0x3690d2(0x13a)]=_0x324eb1,this[_0x3690d2(0x1a4)]=_0x789862,this['_commandService']=_0x37333b,this[_0x3690d2(0x129)]=_0x8857a,this[_0x3690d2(0x18d)]=_0x30f9c8,this['_selectionProtectionRuleModel']=_0x4b5d46,this[_0x3690d2(0x199)]=_0x3dcac6,this[_0x3690d2(0x1d0)]=_0x43e81f,this['_themeService']=_0x1cf4cd,this[_0x3690d2(0x11a)]());}get['historyUniver'](){const _0x4a50a9=_0x5d14c1;return this[_0x4a50a9(0x168)][_0x4a50a9(0x127)];}[_0x5d14c1(0x11a)](){const _0x4b0770=_0x5d14c1;this[_0x4b0770(0x1e7)](),this[_0x4b0770(0x156)]();}[_0x5d14c1(0x1e7)](){const _0x203c15=_0x5d14c1;var _0x34f8ce;const _0x51d588=(_0x34f8ce=this[_0x203c15(0x1a4)][_0x203c15(0x14a)](H))!=null?_0x34f8ce:fe,_0x4cc2df=document[_0x203c15(0x18a)](_0x51d588);if(!_0x4cc2df)return;const _0x5a2af3=document['createElement'](_0x203c15(0x175));_0x5a2af3['id']=y,_0x5a2af3['dataset'][_0x203c15(0x1af)]=_0x203c15(0x15d),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1cc)]=_0x203c15(0x141),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1c0)]='0',_0x5a2af3[_0x203c15(0x1c6)]['left']='0',_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x1b6)]=_0x203c15(0x159),_0x5a2af3[_0x203c15(0x1c6)][_0x203c15(0x187)]=_0x203c15(0x159),_0x5a2af3[_0x203c15(0x1c6)]['zIndex']=_0x203c15(0x14e),_0x5a2af3['style'][_0x203c15(0x133)]=_0x203c15(0x166),_0x4cc2df[_0x203c15(0x151)](_0x5a2af3);}[_0x5d14c1(0x156)](){const _0x2f1835=_0x5d14c1;var _0x5d7ae5,_0x3980e6,_0xc7df49,_0x6b5e29;[[X[_0x2f1835(0x16e)]],[h[_0x2f1835(0x174)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x2f1835(0x183)],null]]}],[ee['UniverNetworkPlugin']],[N['UniverDrawingPlugin'],{'override':[[N[_0x2f1835(0x19f)],null]]}],[z[_0x2f1835(0x16b)],{'hasScroll':!0x1}],[Z[_0x2f1835(0x11f)]],[ve[_0x2f1835(0x1f1)]],[d['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[k['UniverSheetsUIPlugin']],[le[_0x2f1835(0x118)]],[ue[_0x2f1835(0x1ae)]],[C[_0x2f1835(0x18b)]],[ae['UniverSheetsFilterPlugin']],[ce[_0x2f1835(0x176)]],[ie[_0x2f1835(0x19a)]],[te[_0x2f1835(0x116)]],[he[_0x2f1835(0x172)]],[ge[_0x2f1835(0x1e6)]],[B[_0x2f1835(0x15a)]],[re[_0x2f1835(0x1aa)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[R['UniverRPCMainThreadPlugin'],{'workerURL':(_0x3980e6=(_0x5d7ae5=this['_configService'][_0x2f1835(0x14a)](R['PLUGIN_CONFIG_KEY_MAIN_THREAD']))==null?void 0x0:_0x5d7ae5[_0x2f1835(0x12d)])!=null?_0x3980e6:_0x2f1835(0x112)}],[J[_0x2f1835(0x126)]],[se['UniverSheetsDrawingPlugin']],[oe[_0x2f1835(0x182)]],[K[_0x2f1835(0x15f)]],[W['UniverSheetSparklineUIPlugin']],[V[_0x2f1835(0x13e)]],[G[_0x2f1835(0x188)]],[Y[_0x2f1835(0x16f)],{'notExecuteFormula':!0x0}],[m[_0x2f1835(0x1bc)],{'historyListServerUrl':(_0xc7df49=this[_0x2f1835(0x1a4)][_0x2f1835(0x14a)](b))==null?void 0x0:_0xc7df49[_0x2f1835(0x121)],'historyPanelComponentKey':(_0x6b5e29=this[_0x2f1835(0x1a4)]['getConfig'](b))==null?void 0x0:_0x6b5e29[_0x2f1835(0x1e0)]}]]['forEach'](([_0x36a0b1,_0x1eabcb])=>this['registerPlugin'](_0x36a0b1,_0x1eabcb));}[_0x5d14c1(0x1c4)](){const _0x44f325=_0x5d14c1;super[_0x44f325(0x1c4)](),this['unMountHistoryContent'](),this['_pluginMap'][_0x44f325(0x1f6)]();}[_0x5d14c1(0x13d)](_0x555f2d,_0x557a95,_0x375aac){const _0x481b02=_0x5d14c1;if(this[_0x481b02(0x169)][_0x481b02(0x17f)](_0x555f2d['pluginName'])&&!_0x375aac)throw new Error(_0x481b02(0x1b0)+_0x555f2d[_0x481b02(0x195)]+_0x481b02(0x1e3));this[_0x481b02(0x169)]['set'](_0x555f2d[_0x481b02(0x195)],[_0x555f2d,_0x557a95]);}['getAllPlugins'](){const _0x457a35=_0x5d14c1;return Array[_0x457a35(0x158)](this[_0x457a35(0x169)][_0x457a35(0x12a)]());}[_0x5d14c1(0x15b)](_0x513b3c){const _0x17f97e=_0x5d14c1,_0x1d497b=document[_0x17f97e(0x18a)](y);_0x1d497b&&(_0x1d497b[_0x17f97e(0x1c6)][_0x17f97e(0x133)]=_0x17f97e(0x1ad),this[_0x17f97e(0x134)](_0x513b3c,y));}['unMountHistoryContent'](){const _0x2bd000=_0x5d14c1;var _0x55a1b3;this[_0x2bd000(0x1dc)][_0x2bd000(0x1c4)](),(_0x55a1b3=this[_0x2bd000(0x18f)])==null||_0x55a1b3[_0x2bd000(0x1c4)](),this[_0x2bd000(0x168)][_0x2bd000(0x1cb)](null);const _0x163b47=document[_0x2bd000(0x18a)](y);_0x163b47&&(_0x163b47['style'][_0x2bd000(0x133)]=_0x2bd000(0x166));}['_initUniver'](_0x547a8e,_0x5b39d9){const _0x1b521a=_0x5d14c1;if(this[_0x1b521a(0x18f)])return;const _0x3e94b1=new o[(_0x1b521a(0x190))]({'locales':{[this[_0x1b521a(0x1c9)][_0x1b521a(0x13b)]()]:this[_0x1b521a(0x1c9)]['getLocales']()},'override':[[o[_0x1b521a(0x1b4)],{'useClass':p[_0x1b521a(0x1a6)]}]]}),_0x4733c3=_0x3e94b1[_0x1b521a(0x179)]();this[_0x1b521a(0x1d8)](this['_themeService']['darkMode$']['subscribe'](_0x1c12da=>{const _0xbb36f3=_0x1b521a;_0x4733c3[_0xbb36f3(0x1c2)](o['ThemeService'])[_0xbb36f3(0x171)](_0x1c12da);})),this[_0x1b521a(0x1d8)](this[_0x1b521a(0x1db)]['currentTheme$'][_0x1b521a(0x1a2)](_0x6693f=>{const _0x57a2e6=_0x1b521a;_0x4733c3[_0x57a2e6(0x1c2)](o['ThemeService'])[_0x57a2e6(0x1a7)](_0x6693f);})),_0x4733c3[_0x1b521a(0x1c2)](o[_0x1b521a(0x147)])[_0x1b521a(0x189)](this[_0x1b521a(0x1c9)][_0x1b521a(0x13b)]()),_0x4733c3['get'](o[_0x1b521a(0x16c)])[_0x1b521a(0x1e5)](p[_0x1b521a(0x119)],this[_0x1b521a(0x1a4)][_0x1b521a(0x14a)](p[_0x1b521a(0x119)]));const _0x4b6183=this['_configService'][_0x1b521a(0x14a)](L['LS_CONFIG_KEY']);_0x4b6183&&_0x3e94b1[_0x1b521a(0x13d)](L[_0x1b521a(0x1bb)],{'license':_0x4b6183['ls']}),this[_0x1b521a(0x169)][_0x1b521a(0x154)](([_0x4530e2,_0x424f80])=>{_0x3e94b1['registerPlugin'](_0x4530e2,_0x424f80);}),_0x4733c3[_0x1b521a(0x1ed)](_0x4d252b=>{this['_initListener'](_0x4d252b,_0x547a8e);}),this['_historyUniver$']['next'](_0x3e94b1);const _0x283d62=_0x4733c3[_0x1b521a(0x1c2)](m['HistoryManagerService']),_0x520a5f=this[_0x1b521a(0x1bd)](_0x547a8e);_0x283d62[_0x1b521a(0x1d2)](_0x547a8e,_0x5b39d9,_0x520a5f);}['_initListener'](_0x1a30a7,_0x55ee04){const _0x31e27d=_0x5d14c1,_0x2bcdd7=_0x1a30a7[_0x31e27d(0x1c2)](m['HistoryManagerService']);this[_0x31e27d(0x1dc)][_0x31e27d(0x114)](_0x2bcdd7['status$'][_0x31e27d(0x1a2)](_0x3d2c2d=>{const _0x389c4d=_0x31e27d;switch(_0x3d2c2d){case m['HistoryModeStatus'][_0x389c4d(0x14c)]:this[_0x389c4d(0x199)][_0x389c4d(0x1a0)](),this[_0x389c4d(0x1d0)][_0x389c4d(0x11e)]();break;case m[_0x389c4d(0x138)][_0x389c4d(0x153)]:this[_0x389c4d(0x12e)]['executeCommand'](j['id']),this['unMountHistoryContent']();break;case m[_0x389c4d(0x138)]['Error']:this['unMountHistoryContent'](),this[_0x389c4d(0x129)][_0x389c4d(0x14d)]({'content':this[_0x389c4d(0x1c9)]['t'](_0x389c4d(0x170)),'type':P['MessageType'][_0x389c4d(0x11b)],'duration':0xbb8});break;}})),this[_0x31e27d(0x1dc)][_0x31e27d(0x114)](_0x2bcdd7[_0x31e27d(0x12c)][_0x31e27d(0x1a2)](async _0x1ecb73=>{const _0x1dd7c1=_0x31e27d;_0x1ecb73&&this[_0x1dd7c1(0x12e)][_0x1dd7c1(0x1ef)](C[_0x1dd7c1(0x161)]['id'],{'unitId':_0x55ee04,'revision':_0x1ecb73});}));}[_0x5d14c1(0x1bd)](_0x27a2f9){const _0x12d958=_0x5d14c1,_0x2ee80c=this[_0x12d958(0x13a)][_0x12d958(0x1b8)](_0x27a2f9)[_0x12d958(0x1c7)]()[_0x12d958(0x1f8)](_0x2b84f2=>_0x2b84f2[_0x12d958(0x1ba)]()),_0x3445d9=new d['WorkbookEditablePermission'](_0x27a2f9)['id'],_0x1d6c48=_0x2ee80c[_0x12d958(0x1f8)](_0x2bced5=>new d[(_0x12d958(0x14b))](_0x27a2f9,_0x2bced5)['id']),_0x32ceb0=_0x2ee80c[_0x12d958(0x1f8)](_0x35bccf=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x27a2f9,_0x35bccf)[_0x12d958(0x1f8)](_0x2336f0=>new d[(_0x12d958(0x186))](_0x27a2f9,_0x35bccf,_0x2336f0['permissionId'])['id']))[_0x12d958(0x124)](),_0x2f4bb1=new d[(_0x12d958(0x132))](_0x27a2f9)['id'];return this[_0x12d958(0x18d)][_0x12d958(0x1f2)]([_0x3445d9,..._0x1d6c48,..._0x32ceb0,_0x2f4bb1])[_0x12d958(0x165)](_0xe737b3=>!!_0xe737b3[_0x12d958(0x127)]);}},exports[_0x5d14c1(0x1c5)]=pe([g(0x0,o[_0x5d14c1(0x1ca)](o['LocaleService'])),g(0x1,o[_0x5d14c1(0x1f5)]),g(0x2,o[_0x5d14c1(0x16c)]),g(0x3,o[_0x5d14c1(0x17b)]),g(0x4,h['IMessageService']),g(0x5,o['IPermissionService']),g(0x6,o[_0x5d14c1(0x1ca)](d[_0x5d14c1(0x11c)])),g(0x7,o[_0x5d14c1(0x1ca)](h[_0x5d14c1(0x183)])),g(0x8,o[_0x5d14c1(0x1ca)](h[_0x5d14c1(0x136)])),g(0x9,o[_0x5d14c1(0x1ca)](o['ThemeService']))],exports[_0x5d14c1(0x1c5)]);const M={'id':_0x5d14c1(0x16a),'type':o[_0x5d14c1(0x192)][_0x5d14c1(0x1c3)],'handler':_0x6fb744=>{const _0x1da8a6=_0x5d14c1,_0x3fb724=_0x6fb744[_0x1da8a6(0x1c2)](exports['HistoryLoaderService']),_0x40eda6=_0x6fb744[_0x1da8a6(0x1c2)](o[_0x1da8a6(0x1f5)]),{unitId:_0x5687ca}=d[_0x1da8a6(0x1dd)](_0x40eda6)||{};return _0x5687ca?(_0x3fb724[_0x1da8a6(0x15b)](_0x5687ca),!0x0):!0x1;}},j={'id':_0x5d14c1(0x181),'type':o['CommandType'][_0x5d14c1(0x1c3)],'handler':()=>!0x0};function Ce(_0x4d4f50){const _0x3e5309=_0x5d14c1;return{'id':M['id'],'type':h[_0x3e5309(0x1e4)][_0x3e5309(0x1be)],'icon':_0x3e5309(0x152),'tooltip':_0x3e5309(0x18e),'hidden$':h[_0x3e5309(0x13c)](_0x4d4f50,o['UniverInstanceType'][_0x3e5309(0x1a5)]),'disabled$':k[_0x3e5309(0x19c)](_0x4d4f50,{'workbookTypes':[d[_0x3e5309(0x1f4)],d[_0x3e5309(0x140)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0x5d14c1(0x15e)][_0x5d14c1(0x120)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0x5d14c1(0x184)],Ee=(_0x966f66,_0x529b29,_0x1d0e5c,_0x2273cf)=>{const _0x131c13=_0x5d14c1;for(var _0x525fa0=_0x2273cf>0x1?void 0x0:_0x2273cf?Ue(_0x529b29,_0x1d0e5c):_0x529b29,_0x2780dc=_0x966f66[_0x131c13(0x17e)]-0x1,_0x1fcd8b;_0x2780dc>=0x0;_0x2780dc--)(_0x1fcd8b=_0x966f66[_0x2780dc])&&(_0x525fa0=_0x1fcd8b(_0x525fa0)||_0x525fa0);return _0x525fa0;},S=(_0x2d35ac,_0x141d77)=>(_0x2fca1f,_0x8c43d8)=>_0x141d77(_0x2fca1f,_0x8c43d8,_0x2d35ac);let E=class extends o['RxDisposable']{constructor(_0x536adf,_0x3c4be3,_0x37920c,_0x3ec29c,_0x524df7,_0x42034a,_0x57519c,_0x5dd41a){const _0x13213c=_0x5d14c1;super(),_(this,_0x13213c(0x111),null),(this['_commandService']=_0x536adf,this['_menuManagerService']=_0x3c4be3,this['_componentManager']=_0x37920c,this[_0x13213c(0x193)]=_0x3ec29c,this[_0x13213c(0x1c9)]=_0x524df7,this['_messageService']=_0x42034a,this[_0x13213c(0x113)]=_0x57519c,this[_0x13213c(0x1f7)]=_0x5dd41a,this[_0x13213c(0x11a)]());}['_init'](){const _0x4cf3b2=_0x5d14c1;[M,j][_0x4cf3b2(0x154)](_0x126aaf=>this[_0x4cf3b2(0x1d8)](o['toDisposable'](this[_0x4cf3b2(0x12e)]['registerCommand'](_0x126aaf)))),this[_0x4cf3b2(0x1d8)](this[_0x4cf3b2(0x185)]['register']('HistoryIcon',$)),this[_0x4cf3b2(0x163)][_0x4cf3b2(0x1b5)](Ie),this[_0x4cf3b2(0x1d8)](this[_0x4cf3b2(0x12e)][_0x4cf3b2(0x1d3)](_0x3336b8=>{const _0xad4bea=_0x4cf3b2;if(_0x3336b8['id']===C[_0xad4bea(0x161)]['id']){this['_messageService'][_0xad4bea(0x14d)]({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':P[_0xad4bea(0x198)]['Loading'],'duration':0x1388});const {unitId:_0x236e53}=_0x3336b8[_0xad4bea(0x137)],_0x5e6c0e=this[_0xad4bea(0x113)][_0xad4bea(0x191)](_0x236e53),_0x3d844d=O['combineLatest']([_0x5e6c0e[_0xad4bea(0x1de)][_0xad4bea(0x19e)],_0x5e6c0e[_0xad4bea(0x194)]])[_0xad4bea(0x1a2)](async([_0x3fac21,_0x132eb3])=>{const _0x2f247f=_0xad4bea;var _0x49fe26;_0x3fac21[_0x2f247f(0x131)]===C[_0x2f247f(0x196)]['CHANGESET_ACK']&&(_0x132eb3==null?void 0x0:_0x132eb3[_0x2f247f(0x177)])===p[_0x2f247f(0x1a1)][_0x2f247f(0x1d9)]&&_0x3fac21[_0x2f247f(0x1b1)]['mutations'][_0x2f247f(0x173)](_0x4392e0=>_0x4392e0['id']===C[_0x2f247f(0x161)]['id'])&&(this[_0x2f247f(0x193)][_0x2f247f(0x15c)](),_0x3d844d['unsubscribe'](),this[_0x2f247f(0x111)]&&clearTimeout(this[_0x2f247f(0x111)]),await((_0x49fe26=this[_0x2f247f(0x1f7)])==null?void 0x0:_0x49fe26['exhaustSavingTask']()),setTimeout(()=>window['location'][_0x2f247f(0x1f3)]()));});this[_0xad4bea(0x111)]=setTimeout(()=>{const _0x4602ab=_0xad4bea;_0x3d844d['unsubscribe'](),this['_messageService'][_0x4602ab(0x14d)]({'content':this['_localeService']['t'](_0x4602ab(0x1b3)),'type':P[_0x4602ab(0x198)]['Error'],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o['ICommandService']),S(0x1,h['IMenuManagerService']),S(0x2,o[_0x5d14c1(0x1ca)](h['ComponentManager'])),S(0x3,o[_0x5d14c1(0x1ca)](exports['HistoryLoaderService'])),S(0x4,o[_0x5d14c1(0x1ca)](o[_0x5d14c1(0x147)])),S(0x5,h[_0x5d14c1(0x1ce)]),S(0x6,o['Inject'](p[_0x5d14c1(0x19d)])),S(0x7,p[_0x5d14c1(0x17d)])],E);var Pe=Object[_0x5d14c1(0x184)],be=(_0x197410,_0x4bb103,_0x251e38,_0x3a4782)=>{const _0x74ae16=_0x5d14c1;for(var _0x54526d=_0x3a4782>0x1?void 0x0:_0x3a4782?Pe(_0x4bb103,_0x251e38):_0x4bb103,_0x3442b9=_0x197410[_0x74ae16(0x17e)]-0x1,_0x88cea;_0x3442b9>=0x0;_0x3442b9--)(_0x88cea=_0x197410[_0x3442b9])&&(_0x54526d=_0x88cea(_0x54526d)||_0x54526d);return _0x54526d;},w=(_0x4cbc36,_0x9cefb9)=>(_0x1518d4,_0x1fa090)=>_0x9cefb9(_0x1518d4,_0x1fa090,_0x4cbc36);const He='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var I;function _0x5191(){const _0x44fe5e=['length','has','idSuffix','univer.operation.exit-edit-history','UniverSheetsDrawingUIPlugin','IDialogService','getOwnPropertyDescriptor','_componentManager','RangeProtectionPermissionEditPoint','height','UniverSheetsChartUIPlugin','setLocale','getElementById','UniverCollaborationPlugin','asObservable','_permissionService','editHistory.panel.title','historyUniver','Univer','getCollabEntity','CommandType','_historyManagerService','state$','pluginName','CollaborationEvent','defIds','MessageType','_dialogService','UniverSheetsConditionalFormattingPlugin','white','getCurrentRangeDisable$','CollaborationController','event$','IImageIoService','closeAll','CollaborationStatus','subscribe','xlink:href','_configService','UNIVER_SHEET','AuthzIoHttpService','setTheme','historyUniver$','fill','UniverSheetsDataValidationPlugin','colorChannel1','attrs','block','UniverSheetsFormulaUIPlugin','uComp','[HistoryLoaderService]:\x20Plugin\x20','data','univerContainerId','editHistory.panel.revertFailed','IAuthzIoService','mergeMenu','width','univer-history-container','getUnit','1515409HpzerB','getSheetId','UniverLicensePlugin','UniverEditHistoryViewerPlugin','_checkCanRevert','BUTTON','history-icon_clip0_907_281','top','onSteady','get','OPERATION','dispose','HistoryLoaderService','style','getSheets','0\x200\x2016\x2016','_localeService','Inject','next','position','Plugin','IMessageService','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','_sidebarService','replace','triggerLoadVersions','onCommandExecuted','Disposable','1176099SCOUxj','_config','UniverEditHistoryLoaderPlugin','disposeWithMe','SYNCED','url(#$1','_themeService','_disposableCollection','getSheetCommandTarget','session','UNIVER_UNKNOWN','historyPanelComponentKey','univer-container','menu','\x20has\x20been\x20registered.','MenuItemType','setConfig','UniverSheetsHyperLinkUIPlugin','_initContainer','1em','mask','substring','entries','UNIVER_HISTORY_CONTAINER_ID','invoke','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','executeCommand','234092YLAkor','UniverSheetsNumfmtPlugin','composePermission','reload','WorkbookEditablePermission','IUniverInstanceService','clear','_localCacheService','map','_revertErrorTimer','./worker.js','_collaborationController','add','string','UniverSheetsConditionalFormattingUIPlugin','children','UniverSheetsFormulaPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_init','Error','RangeProtectionRuleModel','5596510vYoTdV','close','UniverDocsUIPlugin','OTHERS','historyListServerUrl','trim','46650YyeGLN','flat','includes','UniverDrawingUIPlugin','value','onStarting','_messageService','values','merge','revertRevision$','workerURL','_commandService','856784gWugqb','createElement','eventID','WorkbookRecoverHistoryPermission','display','_initUniver','random','ISidebarService','params','HistoryModeStatus','UNIVER_CONTAINER_ID_KEY','_univerInstanceService','getCurrentLocale','getMenuHiddenObservable','registerPlugin','UniverSheetsChartPlugin','toString','WorkbookViewHistoryPermission','absolute','currentColor','_injector','UNIVER_CONTAINER_ID','BehaviorSubject','DisposableCollection','LocaleService','348uGYfeA','current','getConfig','WorksheetEditPermission','Entered','show','1000','displayName','forwardRef','appendChild','HistoryIcon','Exited','forEach','edit-history-loader.config','_initPlugins','defineProperty','from','100%','UniverDataValidationPlugin','mountHistoryContent','unMountHistoryContent','history-container','RibbonStartGroup','UniverSheetSparklinePlugin','27kGKRDe','RevertRevisionMutation','type','_menuManagerService','history-icon','every','none','tag','_historyUniver$','_pluginMap','univer.operation.toggle-edit-history','UniverDocsPlugin','IConfigService','1361224LzlbIF','UniverRenderEnginePlugin','UniverSheetsPivotTablePlugin','editHistory.panel.listFetchError','setDarkMode','UniverSheetsHyperLinkPlugin','some','UniverUIPlugin','div','UniverSheetsFilterUIPlugin','status','Module','__getInjector','4ZhCHag','ICommandService','clipPath','ILocalCacheService'];_0x5191=function(){return _0x44fe5e;};return _0x5191();}exports[_0x5d14c1(0x1d7)]=(I=class extends o[_0x5d14c1(0x1cd)]{constructor(_0x14c846=T,_0x2f18b3,_0x3345ae){const _0x173992=_0x5d14c1;super(),this['_config']=_0x14c846,this[_0x173992(0x143)]=_0x2f18b3,this[_0x173992(0x1a4)]=_0x3345ae;const {menu:_0x302756,..._0x2e14de}=o[_0x173992(0x12b)]({},T,this[_0x173992(0x1d6)]);_0x302756&&this[_0x173992(0x1a4)][_0x173992(0x1e5)](_0x173992(0x1e2),_0x302756,{'merge':!0x0}),this['_configService'][_0x173992(0x1e5)](b,_0x2e14de),this[_0x173992(0x1d6)][_0x173992(0x1b2)]&&this[_0x173992(0x1a4)][_0x173992(0x1e5)](H,this[_0x173992(0x1d6)][_0x173992(0x1b2)]);}[_0x5d14c1(0x128)](){const _0x2e4ef2=_0x5d14c1;[[exports['HistoryLoaderService']],[E]]['forEach'](_0x181b89=>this['_injector'][_0x2e4ef2(0x114)](_0x181b89));}[_0x5d14c1(0x1c1)](){this['_injector']['get'](E);}},_(I,_0x5d14c1(0x162),o['UniverInstanceType'][_0x5d14c1(0x1df)]),_(I,'pluginName',He),I),exports[_0x5d14c1(0x1d7)]=be([w(0x1,o[_0x5d14c1(0x1ca)](o['Injector'])),w(0x2,o[_0x5d14c1(0x16c)])],exports[_0x5d14c1(0x1d7)]),exports[_0x5d14c1(0x139)]=H,exports[_0x5d14c1(0x1ec)]=y;
|
|
1
|
+
'use strict';const _0xe0b3af=_0x2e35;(function(_0x3c63f0,_0x5776ea){const _0x29b972=_0x2e35,_0x6384ad=_0x3c63f0();while(!![]){try{const _0x293305=parseInt(_0x29b972(0x20e))/0x1+-parseInt(_0x29b972(0x29a))/0x2+-parseInt(_0x29b972(0x284))/0x3*(-parseInt(_0x29b972(0x1f2))/0x4)+parseInt(_0x29b972(0x250))/0x5*(parseInt(_0x29b972(0x287))/0x6)+parseInt(_0x29b972(0x20b))/0x7*(parseInt(_0x29b972(0x2a1))/0x8)+parseInt(_0x29b972(0x2be))/0x9+-parseInt(_0x29b972(0x26a))/0xa;if(_0x293305===_0x5776ea)break;else _0x6384ad['push'](_0x6384ad['shift']());}catch(_0x5a855c){_0x6384ad['push'](_0x6384ad['shift']());}}}(_0x3e10,0x848ed));var A=Object['defineProperty'],F=(_0x1dc1d2,_0x322b62,_0x2aa182)=>_0x322b62 in _0x1dc1d2?A(_0x1dc1d2,_0x322b62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2aa182}):_0x1dc1d2[_0x322b62]=_0x2aa182,_=(_0x1dfea9,_0x126001,_0x5d73eb)=>F(_0x1dfea9,typeof _0x126001!='symbol'?_0x126001+'':_0x126001,_0x5d73eb);Object[_0xe0b3af(0x2c0)](exports,Symbol[_0xe0b3af(0x266)],{'value':_0xe0b3af(0x261)});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='edit-history-loader.config',T={};function D({ref:_0x5af925,..._0x26b65e}){const _0x163cf2=_0xe0b3af,{icon:_0x1ecd95,id:_0x316174,className:_0x43f6b9,extend:_0x1cd989,..._0x3e4185}=_0x26b65e,_0x3fce73=(_0x163cf2(0x267)+_0x316174+'\x20'+(_0x43f6b9||''))['trim'](),_0x19d052=U[_0x163cf2(0x224)]('_'+Se());return q(_0x1ecd95,''+_0x316174,{'defIds':_0x1ecd95['defIds'],'idSuffix':_0x19d052['current']},{'ref':_0x5af925,'className':_0x3fce73,..._0x3e4185},_0x1cd989);}function q(_0x55fbb3,_0x55a9cd,_0x52b7a3,_0x1c4a95,_0x288678){const _0x26d7f4=_0xe0b3af;return U[_0x26d7f4(0x21f)](_0x55fbb3['tag'],{'key':_0x55a9cd,...de(_0x55fbb3,_0x52b7a3,_0x288678),..._0x1c4a95},(_e(_0x55fbb3,_0x52b7a3)[_0x26d7f4(0x2c3)]||[])[_0x26d7f4(0x2b8)]((_0x5e58f1,_0x357684)=>q(_0x5e58f1,_0x55a9cd+'-'+_0x55fbb3[_0x26d7f4(0x260)]+'-'+_0x357684,_0x52b7a3,void 0x0,_0x288678)));}function de(_0x1be174,_0x2d10fc,_0x1f3efa){const _0x11325d=_0xe0b3af,_0x426b85={..._0x1be174[_0x11325d(0x2ce)]};_0x1f3efa!=null&&_0x1f3efa['colorChannel1']&&_0x426b85['fill']==='colorChannel1'&&(_0x426b85[_0x11325d(0x2ae)]=_0x1f3efa[_0x11325d(0x1f4)]),_0x1be174[_0x11325d(0x260)]==='mask'&&_0x426b85['id']&&(_0x426b85['id']=_0x426b85['id']+_0x2d10fc['idSuffix']),Object[_0x11325d(0x236)](_0x426b85)[_0x11325d(0x1e3)](([_0x435210,_0x104a01])=>{const _0xe52928=_0x11325d;_0x435210===_0xe52928(0x1ea)&&typeof _0x104a01==_0xe52928(0x2b4)&&(_0x426b85[_0x435210]=_0x104a01['replace'](/url\(#(.*)\)/,_0xe52928(0x259)+_0x2d10fc['idSuffix']+')'));});const {defIds:_0xda4efc}=_0x2d10fc;return!_0xda4efc||_0xda4efc[_0x11325d(0x25a)]===0x0||(_0x1be174['tag']==='use'&&_0x426b85[_0x11325d(0x231)]&&(_0x426b85[_0x11325d(0x231)]=_0x426b85[_0x11325d(0x231)]+_0x2d10fc[_0x11325d(0x1e6)]),Object['entries'](_0x426b85)['forEach'](([_0x257ba2,_0x27c783])=>{const _0x199b08=_0x11325d;typeof _0x27c783==_0x199b08(0x2b4)&&(_0x426b85[_0x257ba2]=_0x27c783[_0x199b08(0x2c2)](/url\(#(.*)\)/,'url(#$1'+_0x2d10fc[_0x199b08(0x1e6)]+')'));})),_0x426b85;}function _e(_0x399e41,_0x25cce8){const _0xf4bab9=_0xe0b3af;var _0x57fe65;const {defIds:_0xdbca38}=_0x25cce8;return!_0xdbca38||_0xdbca38['length']===0x0?_0x399e41:_0x399e41[_0xf4bab9(0x260)]===_0xf4bab9(0x21c)&&((_0x57fe65=_0x399e41[_0xf4bab9(0x2c3)])!=null&&_0x57fe65[_0xf4bab9(0x25a)])?{..._0x399e41,'children':_0x399e41['children'][_0xf4bab9(0x2b8)](_0x49e0db=>typeof _0x49e0db[_0xf4bab9(0x2ce)]['id']=='string'&&_0xdbca38&&_0xdbca38[_0xf4bab9(0x246)](_0x49e0db[_0xf4bab9(0x2ce)]['id'])?{..._0x49e0db,'attrs':{..._0x49e0db[_0xf4bab9(0x2ce)],'id':_0x49e0db[_0xf4bab9(0x2ce)]['id']+_0x25cce8[_0xf4bab9(0x1e6)]}}:_0x49e0db)}:_0x399e41;}function Se(){const _0x1896fd=_0xe0b3af;return Math['random']()[_0x1896fd(0x207)](0x24)[_0x1896fd(0x1f3)](0x2,0x8);}D['displayName']=_0xe0b3af(0x27a);const me={'tag':_0xe0b3af(0x2a8),'attrs':{'xmlns':_0xe0b3af(0x248),'fill':_0xe0b3af(0x23f),'viewBox':_0xe0b3af(0x205),'width':_0xe0b3af(0x2ca),'height':_0xe0b3af(0x2ca)},'children':[{'tag':'g','attrs':{'fill':_0xe0b3af(0x202),'clipPath':_0xe0b3af(0x24f)},'children':[{'tag':_0xe0b3af(0x203),'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':'path','attrs':{'d':_0xe0b3af(0x2c7)}}]},{'tag':_0xe0b3af(0x21c),'attrs':{},'children':[{'tag':_0xe0b3af(0x2cc),'attrs':{'id':_0xe0b3af(0x249)},'children':[{'tag':_0xe0b3af(0x203),'attrs':{'fill':_0xe0b3af(0x1e2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['history-icon_clip0_907_281']},$=U[_0xe0b3af(0x286)](function(_0x15a11d,_0x5e7c04){const _0x14517e=_0xe0b3af;return U[_0x14517e(0x21f)](D,Object[_0x14517e(0x293)]({},_0x15a11d,{'id':_0x14517e(0x1f1),'ref':_0x5e7c04,'icon':me}));});$['displayName']=_0xe0b3af(0x1ed);var ye=Object[_0xe0b3af(0x298)],pe=(_0x50cc82,_0x48cef1,_0x55bd75,_0x12ba94)=>{const _0x1a350f=_0xe0b3af;for(var _0x4c6b68=_0x12ba94>0x1?void 0x0:_0x12ba94?ye(_0x48cef1,_0x55bd75):_0x48cef1,_0x17e9d5=_0x50cc82[_0x1a350f(0x25a)]-0x1,_0x4ee2bc;_0x17e9d5>=0x0;_0x17e9d5--)(_0x4ee2bc=_0x50cc82[_0x17e9d5])&&(_0x4c6b68=_0x4ee2bc(_0x4c6b68)||_0x4c6b68);return _0x4c6b68;},g=(_0x2ea8f5,_0xb677b1)=>(_0x594de1,_0x335147)=>_0xb677b1(_0x594de1,_0x335147,_0x2ea8f5);const fe=_0xe0b3af(0x281),H=_0xe0b3af(0x2b5),y='univer-history-container';function _0x2e35(_0xc1280a,_0x3cc2d5){_0xc1280a=_0xc1280a-0x1df;const _0x3e1030=_0x3e10();let _0x2e352d=_0x3e1030[_0xc1280a];return _0x2e352d;}exports['HistoryLoaderService']=class extends o['Disposable']{constructor(_0x4ee217,_0x1ee3c4,_0x1bdbad,_0x4102be,_0x2eec72,_0x417fe7,_0x27daaa,_0x40848e,_0x4c82b7,_0x116cb5){const _0x306f6b=_0xe0b3af;super(),_(this,'_historyUniver$',new O[(_0x306f6b(0x262))](null)),_(this,_0x306f6b(0x292),this[_0x306f6b(0x29c)][_0x306f6b(0x1f7)]()),_(this,'_disposableCollection',new o[(_0x306f6b(0x22e))]()),_(this,_0x306f6b(0x279),new Map()),(this['_localeService']=_0x4ee217,this[_0x306f6b(0x2a7)]=_0x1ee3c4,this['_configService']=_0x1bdbad,this[_0x306f6b(0x21a)]=_0x4102be,this['_messageService']=_0x2eec72,this[_0x306f6b(0x2a3)]=_0x417fe7,this[_0x306f6b(0x26d)]=_0x27daaa,this[_0x306f6b(0x221)]=_0x40848e,this[_0x306f6b(0x25d)]=_0x4c82b7,this[_0x306f6b(0x230)]=_0x116cb5,this[_0x306f6b(0x24a)]());}get[_0xe0b3af(0x243)](){const _0x2e8179=_0xe0b3af;return this[_0x2e8179(0x29c)][_0x2e8179(0x1fe)];}[_0xe0b3af(0x24a)](){const _0x1837c3=_0xe0b3af;this[_0x1837c3(0x2a6)](),this[_0x1837c3(0x2a5)]();}[_0xe0b3af(0x2a6)](){const _0xf55250=_0xe0b3af;var _0x3612c7;const _0x565817=(_0x3612c7=this['_configService'][_0xf55250(0x208)](H))!=null?_0x3612c7:fe,_0x3582c7=document['getElementById'](_0x565817);if(!_0x3582c7)return;const _0x5cc06d=document[_0xf55250(0x21f)](_0xf55250(0x288));_0x5cc06d['id']=y,_0x5cc06d['dataset'][_0xf55250(0x2c5)]=_0xf55250(0x282),_0x5cc06d['style'][_0xf55250(0x1ec)]=_0xf55250(0x1ef),_0x5cc06d['style'][_0xf55250(0x238)]='0',_0x5cc06d[_0xf55250(0x2ac)][_0xf55250(0x223)]='0',_0x5cc06d['style'][_0xf55250(0x29f)]=_0xf55250(0x2cb),_0x5cc06d[_0xf55250(0x2ac)]['height']='100%',_0x5cc06d['style']['zIndex']='1000',_0x5cc06d[_0xf55250(0x2ac)][_0xf55250(0x275)]=_0xf55250(0x23f),_0x3582c7['appendChild'](_0x5cc06d);}['_initPlugins'](){const _0x5102a7=_0xe0b3af;var _0xfe6edb,_0xce154,_0x1fd5da,_0x50b28e;[[X[_0x5102a7(0x1f9)]],[h[_0x5102a7(0x20c)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x5102a7(0x2b3)],null]]}],[ee[_0x5102a7(0x26e)]],[N[_0x5102a7(0x232)],{'override':[[N[_0x5102a7(0x206)],null]]}],[z[_0x5102a7(0x277)],{'hasScroll':!0x1}],[Z['UniverDocsUIPlugin']],[ve[_0x5102a7(0x1f5)]],[d[_0x5102a7(0x28f)],{'notExecuteFormula':!0x0}],[k['UniverSheetsUIPlugin']],[le[_0x5102a7(0x1df)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x5102a7(0x2a0)]],[ae[_0x5102a7(0x24d)]],[ce[_0x5102a7(0x24e)]],[ie[_0x5102a7(0x21b)]],[te['UniverSheetsConditionalFormattingUIPlugin']],[he[_0x5102a7(0x247)]],[ge[_0x5102a7(0x29b)]],[B[_0x5102a7(0x2a4)]],[re['UniverSheetsDataValidationPlugin']],[ne[_0x5102a7(0x2bb)]],[Q[_0x5102a7(0x28a)],{'notExecuteFormula':!0x0}],[R[_0x5102a7(0x256)],{'workerURL':(_0xce154=(_0xfe6edb=this[_0x5102a7(0x255)][_0x5102a7(0x208)](R[_0x5102a7(0x1eb)]))==null?void 0x0:_0xfe6edb[_0x5102a7(0x25c)])!=null?_0xce154:_0x5102a7(0x294)}],[J[_0x5102a7(0x274)]],[se[_0x5102a7(0x204)]],[oe[_0x5102a7(0x2b6)]],[K[_0x5102a7(0x299)]],[W[_0x5102a7(0x295)]],[V[_0x5102a7(0x209)]],[G[_0x5102a7(0x234)]],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x1fd5da=this[_0x5102a7(0x255)][_0x5102a7(0x208)](b))==null?void 0x0:_0x1fd5da[_0x5102a7(0x1e9)],'historyPanelComponentKey':(_0x50b28e=this[_0x5102a7(0x255)][_0x5102a7(0x208)](b))==null?void 0x0:_0x50b28e[_0x5102a7(0x1e5)]}]][_0x5102a7(0x1e3)](([_0x46e971,_0x1da274])=>this[_0x5102a7(0x233)](_0x46e971,_0x1da274));}['dispose'](){const _0x39929d=_0xe0b3af;super[_0x39929d(0x26b)](),this[_0x39929d(0x2d0)](),this[_0x39929d(0x279)][_0x39929d(0x214)]();}['registerPlugin'](_0x534574,_0x542bd3,_0x4da492){const _0x3f5c47=_0xe0b3af;if(this[_0x3f5c47(0x279)]['has'](_0x534574[_0x3f5c47(0x22b)])&&!_0x4da492)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x534574[_0x3f5c47(0x22b)]+_0x3f5c47(0x20d));this['_pluginMap'][_0x3f5c47(0x2bc)](_0x534574[_0x3f5c47(0x22b)],[_0x534574,_0x542bd3]);}[_0xe0b3af(0x27f)](){const _0x2516b7=_0xe0b3af;return Array['from'](this[_0x2516b7(0x279)][_0x2516b7(0x212)]());}[_0xe0b3af(0x235)](_0x6c8dc5){const _0xb82c38=_0xe0b3af,_0x44eb98=document[_0xb82c38(0x1ff)](y);_0x44eb98&&(_0x44eb98['style']['display']=_0xb82c38(0x22a),this[_0xb82c38(0x254)](_0x6c8dc5,y));}[_0xe0b3af(0x2d0)](){const _0x18bc92=_0xe0b3af;var _0x3e7a74;this[_0x18bc92(0x26f)]['dispose'](),(_0x3e7a74=this[_0x18bc92(0x243)])==null||_0x3e7a74[_0x18bc92(0x26b)](),this[_0x18bc92(0x29c)][_0x18bc92(0x24c)](null);const _0xa301d5=document['getElementById'](y);_0xa301d5&&(_0xa301d5['style'][_0x18bc92(0x275)]='none');}[_0xe0b3af(0x254)](_0xd02fdf,_0x34182f){const _0x109783=_0xe0b3af;if(this[_0x109783(0x243)])return;const _0x2012fa=new o[(_0x109783(0x218))]({'locales':{[this[_0x109783(0x297)][_0x109783(0x283)]()]:this[_0x109783(0x297)]['getLocales']()},'override':[[o[_0x109783(0x2bd)],{'useClass':p[_0x109783(0x2c8)]}]]}),_0x3f08e5=_0x2012fa['__getInjector']();this['disposeWithMe'](this['_themeService'][_0x109783(0x2b0)][_0x109783(0x2c9)](_0x1386a2=>{const _0x5f41b4=_0x109783;_0x3f08e5[_0x5f41b4(0x285)](o['ThemeService'])[_0x5f41b4(0x201)](_0x1386a2);})),this[_0x109783(0x239)](this[_0x109783(0x230)]['currentTheme$'][_0x109783(0x2c9)](_0x32321e=>{const _0x350768=_0x109783;_0x3f08e5['get'](o[_0x350768(0x272)])[_0x350768(0x251)](_0x32321e);})),_0x3f08e5[_0x109783(0x285)](o[_0x109783(0x1e8)])['setLocale'](this['_localeService'][_0x109783(0x283)]()),_0x3f08e5[_0x109783(0x285)](o[_0x109783(0x2cd)])['setConfig'](p[_0x109783(0x20a)],this[_0x109783(0x255)]['getConfig'](p[_0x109783(0x20a)]));const _0x12be76=this['_configService'][_0x109783(0x208)](L[_0x109783(0x2b2)]);_0x12be76&&_0x2012fa['registerPlugin'](L[_0x109783(0x23b)],{'license':_0x12be76['ls']}),this[_0x109783(0x279)][_0x109783(0x1e3)](([_0x5c50fd,_0x17f7a1])=>{_0x2012fa['registerPlugin'](_0x5c50fd,_0x17f7a1);}),_0x3f08e5[_0x109783(0x1fa)](_0x5f02f9=>{const _0x301dac=_0x109783;this[_0x301dac(0x280)](_0x5f02f9,_0xd02fdf);}),this[_0x109783(0x29c)][_0x109783(0x24c)](_0x2012fa);const _0x3a77d5=_0x3f08e5[_0x109783(0x285)](m[_0x109783(0x210)]),_0x3b4e30=this[_0x109783(0x257)](_0xd02fdf);_0x3a77d5['triggerLoadVersions'](_0xd02fdf,_0x34182f,_0x3b4e30);}[_0xe0b3af(0x280)](_0xcb1280,_0x1c2b63){const _0x328fa3=_0xe0b3af,_0x3f2387=_0xcb1280['get'](m[_0x328fa3(0x210)]);this[_0x328fa3(0x26f)]['add'](_0x3f2387['status$'][_0x328fa3(0x2c9)](_0x20c626=>{const _0x58b5e8=_0x328fa3;switch(_0x20c626){case m['HistoryModeStatus'][_0x58b5e8(0x27b)]:this[_0x58b5e8(0x221)][_0x58b5e8(0x268)](),this[_0x58b5e8(0x25d)][_0x58b5e8(0x2cf)]();break;case m[_0x58b5e8(0x226)][_0x58b5e8(0x229)]:this['_commandService'][_0x58b5e8(0x2ab)](j['id']),this[_0x58b5e8(0x2d0)]();break;case m[_0x58b5e8(0x226)]['Error']:this[_0x58b5e8(0x2d0)](),this[_0x58b5e8(0x23a)][_0x58b5e8(0x1e4)]({'content':this['_localeService']['t'](_0x58b5e8(0x29e)),'type':P[_0x58b5e8(0x2ba)][_0x58b5e8(0x28e)],'duration':0xbb8});break;}})),this[_0x328fa3(0x26f)][_0x328fa3(0x1ee)](_0x3f2387[_0x328fa3(0x1e0)][_0x328fa3(0x2c9)](async _0x293ccf=>{const _0x3e7526=_0x328fa3;_0x293ccf&&this[_0x3e7526(0x21a)][_0x3e7526(0x2ab)](C[_0x3e7526(0x211)]['id'],{'unitId':_0x1c2b63,'revision':_0x293ccf});}));}['_checkCanRevert'](_0xccaa94){const _0x3d24ef=_0xe0b3af,_0x3ac573=this[_0x3d24ef(0x2a7)][_0x3d24ef(0x2b7)](_0xccaa94)[_0x3d24ef(0x1e7)]()[_0x3d24ef(0x2b8)](_0x4b30f9=>_0x4b30f9[_0x3d24ef(0x225)]()),_0x12d620=new d[(_0x3d24ef(0x2a9))](_0xccaa94)['id'],_0xfd8235=_0x3ac573[_0x3d24ef(0x2b8)](_0x292ea5=>new d[(_0x3d24ef(0x25e))](_0xccaa94,_0x292ea5)['id']),_0x22d944=_0x3ac573[_0x3d24ef(0x2b8)](_0x2427b4=>this['_selectionProtectionRuleModel'][_0x3d24ef(0x258)](_0xccaa94,_0x2427b4)[_0x3d24ef(0x2b8)](_0x2b0059=>new d['RangeProtectionPermissionEditPoint'](_0xccaa94,_0x2427b4,_0x2b0059[_0x3d24ef(0x1fb)])['id']))[_0x3d24ef(0x2c6)](),_0x4ea02b=new d[(_0x3d24ef(0x240))](_0xccaa94)['id'];return this[_0x3d24ef(0x2a3)][_0x3d24ef(0x28c)]([_0x12d620,..._0xfd8235,..._0x22d944,_0x4ea02b])['every'](_0x258d4a=>!!_0x258d4a['value']);}},exports[_0xe0b3af(0x2aa)]=pe([g(0x0,o[_0xe0b3af(0x270)](o[_0xe0b3af(0x1e8)])),g(0x1,o['IUniverInstanceService']),g(0x2,o['IConfigService']),g(0x3,o[_0xe0b3af(0x253)]),g(0x4,h[_0xe0b3af(0x217)]),g(0x5,o[_0xe0b3af(0x21d)]),g(0x6,o['Inject'](d[_0xe0b3af(0x244)])),g(0x7,o[_0xe0b3af(0x270)](h[_0xe0b3af(0x2b3)])),g(0x8,o[_0xe0b3af(0x270)](h[_0xe0b3af(0x242)])),g(0x9,o['Inject'](o[_0xe0b3af(0x272)]))],exports[_0xe0b3af(0x2aa)]);const M={'id':_0xe0b3af(0x1f8),'type':o[_0xe0b3af(0x2a2)][_0xe0b3af(0x2b1)],'handler':_0x511098=>{const _0x1377ff=_0xe0b3af,_0x40baa3=_0x511098[_0x1377ff(0x285)](exports[_0x1377ff(0x2aa)]),_0x284de9=_0x511098[_0x1377ff(0x285)](o[_0x1377ff(0x23e)]),{unitId:_0x10bc92}=d[_0x1377ff(0x220)](_0x284de9)||{};return _0x10bc92?(_0x40baa3[_0x1377ff(0x235)](_0x10bc92),!0x0):!0x1;}},j={'id':_0xe0b3af(0x2af),'type':o[_0xe0b3af(0x2a2)][_0xe0b3af(0x2b1)],'handler':()=>!0x0};function Ce(_0x4bb591){const _0x3d3253=_0xe0b3af;return{'id':M['id'],'type':h[_0x3d3253(0x1f0)]['BUTTON'],'icon':_0x3d3253(0x1ed),'tooltip':_0x3d3253(0x276),'hidden$':h[_0x3d3253(0x263)](_0x4bb591,o['UniverInstanceType']['UNIVER_SHEET']),'disabled$':k[_0x3d3253(0x216)](_0x4bb591,{'workbookTypes':[d[_0x3d3253(0x2a9)],d[_0x3d3253(0x23c)]],'worksheetTypes':[],'rangeTypes':[]})};}function _0x3e10(){const _0x6f7d48=['_selectionProtectionRuleModel','UniverNetworkPlugin','_disposableCollection','Inject','editHistory.panel.revertFailed','ThemeService','toDisposable','UniverDrawingUIPlugin','display','editHistory.panel.title','UniverDocsPlugin','location','_pluginMap','UniverIcon','Entered','onSteady','_revertErrorTimer','combineLatest','getAllPlugins','_initListener','univer-container','history-container','getCurrentLocale','3BxKJqM','get','forwardRef','5523996rFWqeu','div','_collaborationController','UniverFormulaEnginePlugin','CollaborationController','composePermission','CollaborationEvent','Error','UniverSheetsPlugin','data','UNIVER_UNKNOWN','historyUniver$','assign','./worker.js','UniverSheetSparklineUIPlugin','register','_localeService','getOwnPropertyDescriptor','UniverSheetSparklinePlugin','556916vIUwMo','UniverSheetsHyperLinkUIPlugin','_historyUniver$','merge','editHistory.panel.listFetchError','width','UniverCollaborationPlugin','7416WEiufQ','CommandType','_permissionService','UniverDataValidationPlugin','_initPlugins','_initContainer','_univerInstanceService','svg','WorkbookEditablePermission','HistoryLoaderService','executeCommand','style','_historyManagerService','fill','univer.operation.exit-edit-history','darkMode$','OPERATION','LS_CONFIG_KEY','IDialogService','string','UNIVER_CONTAINER_ID','UniverSheetsDrawingUIPlugin','getUnit','map','unsubscribe','MessageType','UniverSheetsDataValidationUIPlugin','set','IAuthzIoService','7751646CIAhFp','exhaustSavingTask','defineProperty','_injector','replace','children','CollaborationStatus','uComp','flat','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','AuthzIoHttpService','subscribe','1em','100%','clipPath','IConfigService','attrs','close','unMountHistoryContent','UniverSheetsFormulaPlugin','revertRevision$','UniverInstanceType','white','forEach','show','historyPanelComponentKey','idSuffix','getSheets','LocaleService','historyListServerUrl','mask','PLUGIN_CONFIG_KEY_MAIN_THREAD','position','HistoryIcon','add','absolute','MenuItemType','history-icon','1953356UJHwYj','substring','colorChannel1','UniverSheetsNumfmtPlugin','UniverEditHistoryLoaderPlugin','asObservable','univer.operation.toggle-edit-history','UniverRenderEnginePlugin','invoke','permissionId','Loading','getCollabEntity','value','getElementById','state$','setDarkMode','currentColor','path','UniverSheetsDrawingPlugin','0\x200\x2016\x2016','IImageIoService','toString','getConfig','UniverSheetsChartPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1071pbptuZ','UniverUIPlugin','\x20has\x20been\x20registered.','498788GfrhCz','OTHERS','HistoryManagerService','RevertRevisionMutation','values','Injector','clear','event$','getCurrentRangeDisable$','IMessageService','Univer','eventID','_commandService','UniverSheetsConditionalFormattingPlugin','defs','IPermissionService','Plugin','createElement','getSheetCommandTarget','_dialogService','params','left','useRef','getSheetId','HistoryModeStatus','mergeMenu','_menuManagerService','Exited','block','pluginName','CHANGESET_ACK','session','DisposableCollection','reload','_themeService','xlink:href','UniverDrawingPlugin','registerPlugin','UniverSheetsChartUIPlugin','mountHistoryContent','entries','registerCommand','top','disposeWithMe','_messageService','UniverLicensePlugin','WorkbookViewHistoryPermission','setConfig','IUniverInstanceService','none','WorkbookRecoverHistoryPermission','IMenuManagerService','ISidebarService','historyUniver','RangeProtectionRuleModel','RibbonStartGroup','includes','UniverSheetsHyperLinkPlugin','http://www.w3.org/2000/svg','history-icon_clip0_907_281','_init','_componentManager','next','UniverSheetsFilterPlugin','UniverSheetsFilterUIPlugin','url(#history-icon_clip0_907_281)','5hJZVGY','setTheme','SYNCED','ICommandService','_initUniver','_configService','UniverRPCMainThreadPlugin','_checkCanRevert','getSubunitRuleList','url(#$1','length','_localCacheService','workerURL','_sidebarService','WorksheetEditPermission','onCommandExecuted','tag','Module','BehaviorSubject','getMenuHiddenObservable','editHistory.panel.reverting','RxDisposable','toStringTag','univerjs-icon\x20univerjs-icon-','closeAll','_config','20895030ypKmVj','dispose','univerContainerId'];_0x3e10=function(){return _0x6f7d48;};return _0x3e10();}const Ie={[h[_0xe0b3af(0x245)][_0xe0b3af(0x20f)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0xe0b3af(0x298)],Ee=(_0x94722e,_0x4182df,_0x4944cd,_0x30204c)=>{const _0x14bd5b=_0xe0b3af;for(var _0x13ce86=_0x30204c>0x1?void 0x0:_0x30204c?Ue(_0x4182df,_0x4944cd):_0x4182df,_0x1024ee=_0x94722e[_0x14bd5b(0x25a)]-0x1,_0x12c06b;_0x1024ee>=0x0;_0x1024ee--)(_0x12c06b=_0x94722e[_0x1024ee])&&(_0x13ce86=_0x12c06b(_0x13ce86)||_0x13ce86);return _0x13ce86;},S=(_0xc04fc3,_0x27b0fb)=>(_0x10966a,_0x5b5961)=>_0x27b0fb(_0x10966a,_0x5b5961,_0xc04fc3);let E=class extends o[_0xe0b3af(0x265)]{constructor(_0x480142,_0x463319,_0xccf003,_0x178258,_0x3c010e,_0x2eeebf,_0x579148,_0x440a03){const _0x58d7d9=_0xe0b3af;super(),_(this,'_revertErrorTimer',null),(this[_0x58d7d9(0x21a)]=_0x480142,this[_0x58d7d9(0x228)]=_0x463319,this[_0x58d7d9(0x24b)]=_0xccf003,this[_0x58d7d9(0x2ad)]=_0x178258,this['_localeService']=_0x3c010e,this[_0x58d7d9(0x23a)]=_0x2eeebf,this[_0x58d7d9(0x289)]=_0x579148,this[_0x58d7d9(0x25b)]=_0x440a03,this[_0x58d7d9(0x24a)]());}['_init'](){const _0x4bc972=_0xe0b3af;[M,j][_0x4bc972(0x1e3)](_0x1083aa=>this[_0x4bc972(0x239)](o[_0x4bc972(0x273)](this[_0x4bc972(0x21a)][_0x4bc972(0x237)](_0x1083aa)))),this['disposeWithMe'](this[_0x4bc972(0x24b)][_0x4bc972(0x296)](_0x4bc972(0x1ed),$)),this[_0x4bc972(0x228)][_0x4bc972(0x227)](Ie),this['disposeWithMe'](this[_0x4bc972(0x21a)][_0x4bc972(0x25f)](_0x57007d=>{const _0x3040d4=_0x4bc972;if(_0x57007d['id']===C[_0x3040d4(0x211)]['id']){this[_0x3040d4(0x23a)][_0x3040d4(0x1e4)]({'content':this[_0x3040d4(0x297)]['t'](_0x3040d4(0x264)),'type':P[_0x3040d4(0x2ba)][_0x3040d4(0x1fc)],'duration':0x1388});const {unitId:_0x5159ae}=_0x57007d[_0x3040d4(0x222)],_0x4bad8f=this[_0x3040d4(0x289)][_0x3040d4(0x1fd)](_0x5159ae),_0x236d8d=O[_0x3040d4(0x27e)]([_0x4bad8f[_0x3040d4(0x22d)][_0x3040d4(0x215)],_0x4bad8f[_0x3040d4(0x200)]])['subscribe'](async([_0x33007a,_0x23f92d])=>{const _0x4e76a8=_0x3040d4;var _0xcb43b2;_0x33007a[_0x4e76a8(0x219)]===C[_0x4e76a8(0x28d)][_0x4e76a8(0x22c)]&&(_0x23f92d==null?void 0x0:_0x23f92d['status'])===p[_0x4e76a8(0x2c4)][_0x4e76a8(0x252)]&&_0x33007a[_0x4e76a8(0x290)]['mutations']['some'](_0x464fc9=>_0x464fc9['id']===C[_0x4e76a8(0x211)]['id'])&&(this[_0x4e76a8(0x2ad)][_0x4e76a8(0x2d0)](),_0x236d8d[_0x4e76a8(0x2b9)](),this['_revertErrorTimer']&&clearTimeout(this[_0x4e76a8(0x27d)]),await((_0xcb43b2=this[_0x4e76a8(0x25b)])==null?void 0x0:_0xcb43b2[_0x4e76a8(0x2bf)]()),setTimeout(()=>window[_0x4e76a8(0x278)][_0x4e76a8(0x22f)]()));});this[_0x3040d4(0x27d)]=setTimeout(()=>{const _0x192bca=_0x3040d4;_0x236d8d['unsubscribe'](),this['_messageService'][_0x192bca(0x1e4)]({'content':this['_localeService']['t'](_0x192bca(0x271)),'type':P[_0x192bca(0x2ba)][_0x192bca(0x28e)],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0xe0b3af(0x253)]),S(0x1,h[_0xe0b3af(0x241)]),S(0x2,o[_0xe0b3af(0x270)](h['ComponentManager'])),S(0x3,o[_0xe0b3af(0x270)](exports[_0xe0b3af(0x2aa)])),S(0x4,o['Inject'](o[_0xe0b3af(0x1e8)])),S(0x5,h[_0xe0b3af(0x217)]),S(0x6,o[_0xe0b3af(0x270)](p[_0xe0b3af(0x28b)])),S(0x7,p['ILocalCacheService'])],E);var Pe=Object['getOwnPropertyDescriptor'],be=(_0x3a3218,_0x24cea7,_0x72c269,_0x46c9eb)=>{const _0x49bf36=_0xe0b3af;for(var _0x11a771=_0x46c9eb>0x1?void 0x0:_0x46c9eb?Pe(_0x24cea7,_0x72c269):_0x24cea7,_0x347499=_0x3a3218[_0x49bf36(0x25a)]-0x1,_0x1cdb04;_0x347499>=0x0;_0x347499--)(_0x1cdb04=_0x3a3218[_0x347499])&&(_0x11a771=_0x1cdb04(_0x11a771)||_0x11a771);return _0x11a771;},w=(_0x3af561,_0x253c9a)=>(_0x426af4,_0x40bcca)=>_0x253c9a(_0x426af4,_0x40bcca,_0x3af561);const He='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var I;exports[_0xe0b3af(0x1f6)]=(I=class extends o[_0xe0b3af(0x21e)]{constructor(_0x53de8b=T,_0x39b893,_0x14ec1c){const _0x396a1a=_0xe0b3af;super(),this[_0x396a1a(0x269)]=_0x53de8b,this[_0x396a1a(0x2c1)]=_0x39b893,this[_0x396a1a(0x255)]=_0x14ec1c;const {menu:_0x1bb5fb,..._0x15846e}=o[_0x396a1a(0x29d)]({},T,this[_0x396a1a(0x269)]);_0x1bb5fb&&this[_0x396a1a(0x255)][_0x396a1a(0x23d)]('menu',_0x1bb5fb,{'merge':!0x0}),this['_configService'][_0x396a1a(0x23d)](b,_0x15846e),this[_0x396a1a(0x269)][_0x396a1a(0x26c)]&&this[_0x396a1a(0x255)][_0x396a1a(0x23d)](H,this[_0x396a1a(0x269)]['univerContainerId']);}['onStarting'](){const _0x119ac2=_0xe0b3af;[[exports['HistoryLoaderService']],[E]][_0x119ac2(0x1e3)](_0x7dd8d8=>this[_0x119ac2(0x2c1)][_0x119ac2(0x1ee)](_0x7dd8d8));}[_0xe0b3af(0x27c)](){const _0x3719b7=_0xe0b3af;this[_0x3719b7(0x2c1)][_0x3719b7(0x285)](E);}},_(I,'type',o[_0xe0b3af(0x1e1)][_0xe0b3af(0x291)]),_(I,_0xe0b3af(0x22b),He),I),exports[_0xe0b3af(0x1f6)]=be([w(0x1,o['Inject'](o[_0xe0b3af(0x213)])),w(0x2,o[_0xe0b3af(0x2cd)])],exports[_0xe0b3af(0x1f6)]),exports['UNIVER_CONTAINER_ID_KEY']=H,exports['UNIVER_HISTORY_CONTAINER_ID']=y;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x53541f=_0x1520;(function(_0x2a97ff,_0x5756cc){const _0x3ed7e9=_0x1520,_0x480bb7=_0x2a97ff();while(!![]){try{const _0xfbba79=parseInt(_0x3ed7e9(0x157))/0x1+parseInt(_0x3ed7e9(0x1d5))/0x2+parseInt(_0x3ed7e9(0x187))/0x3*(-parseInt(_0x3ed7e9(0x1e3))/0x4)+-parseInt(_0x3ed7e9(0x169))/0x5*(parseInt(_0x3ed7e9(0x1b2))/0x6)+-parseInt(_0x3ed7e9(0x1e2))/0x7+parseInt(_0x3ed7e9(0x1b4))/0x8+parseInt(_0x3ed7e9(0x191))/0x9;if(_0xfbba79===_0x5756cc)break;else _0x480bb7['push'](_0x480bb7['shift']());}catch(_0xf75dbc){_0x480bb7['push'](_0x480bb7['shift']());}}}(_0x3712,0x5c910));var Y=Object[_0x53541f(0x1dd)],B=(_0x4b2faa,_0x38d7a8,_0x4d7115)=>_0x38d7a8 in _0x4b2faa?Y(_0x4b2faa,_0x38d7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7115}):_0x4b2faa[_0x38d7a8]=_0x4d7115,g=(_0x51d97f,_0x25a131,_0xf72f99)=>B(_0x51d97f,typeof _0x25a131!=_0x53541f(0x16d)?_0x25a131+'':_0x25a131,_0xf72f99);import{Inject as _0x5d2c64,LocaleService as _0x2708aa,IUniverInstanceService as _0x182b3a,IConfigService as _0x4c10ff,ICommandService as _0x196202,IPermissionService as _0x9dc70e,ThemeService as _0x3b4ae1,Disposable as _0x1a55c6,DisposableCollection as _0x71959,Univer as _0x135edd,IAuthzIoService as _0x3fdabe,CommandType as _0x46cba4,UniverInstanceType as _0x2f58be,RxDisposable as _0x54525b,toDisposable as _0x3be409,Plugin as _0x594c54,merge as _0x4dd2b0,Injector as _0x4965aa}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2c2688,RevertRevisionMutation as _0x4c629f,CollaborationEvent as _0x5a87a9}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x5774fd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6f31,CollaborationController as _0x15d5d1,ILocalCacheService as _0x376655,CollaborationStatus as _0x2158d8}from'@univerjs-pro/collaboration-client';import{MessageType as _0x3efc9c}from'@univerjs/design';import{useRef as _0x49ebfc,createElement as _0x4998c9,forwardRef as _0x3d43d0}from'react';import{IMessageService as _0x363f1b,IDialogService as _0xddc01b,ISidebarService as _0x43776b,UniverUIPlugin as _0x1a763c,getMenuHiddenObservable as _0x401f4c,MenuItemType as _0x377869,RibbonStartGroup as _0x5bfa8f,IMenuManagerService as _0x2825c3,ComponentManager as _0x40ac45}from'@univerjs/ui';function _0x3712(){const _0x3b81fd=['get','absolute','__getInjector','editHistory.panel.reverting','disposeWithMe','clipPath','closeAll','assign','white','display','getElementById','_localCacheService','event$','1000','reload','_configService','children','defs','div','getConfig','entries','_config','top','set','getCurrentLocale','UNIVER_CONTAINER_ID','UNIVER_SHEET','editHistory.panel.title','close','_pluginMap','exhaustSavingTask','getAllPlugins','233654oKecIp','edit-history-loader.config','add','register','_revertErrorTimer','composePermission','path','pluginName','defineProperty','Entered','defIds','_injector','position','3983469QbJWan','712636mHhtxC','displayName','_initListener','currentColor','menu','mergeMenu','Error','_historyUniver$','dispose','value','permissionId','from','data','_dialogService','url(#history-icon_clip0_907_281)','workerURL','tag','executeCommand','darkMode$','fill','_univerInstanceService','eventID','_sidebarService','_collaborationController','location','SYNCED','subscribe','_messageService','historyListServerUrl','length','univerjs-icon\x20univerjs-icon-','createElement','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','506542awWpEc','appendChild','map','OTHERS','HistoryIcon','params','_themeService','_permissionService','1em','onSteady','xlink:href','dataset','unMountHistoryContent','UNIVER_UNKNOWN','unsubscribe','getOwnPropertyDescriptor','_menuManagerService','editHistory.panel.revertFailed','36625AEdsIt','univerContainerId','substring','asObservable','symbol','mask','_localeService','_init','getUnit','includes','setLocale','univer.operation.toggle-edit-history','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','revertRevision$','http://www.w3.org/2000/svg','100%','attrs','left','flat','mutations','_initContainer','use','_initPlugins','OPERATION','history-icon_clip0_907_281','editHistory.panel.listFetchError','getCollabEntity','string','none','_initUniver','3oJqZLe','getSubunitRuleList','UniverIcon','setConfig','BUTTON','colorChannel1','state$','CHANGESET_ACK','values','width','3689118uRVEEb','univer-container','_commandService','currentTheme$','history-container','clear','next','status$','registerPlugin','univer.operation.exit-edit-history','forEach','./worker.js','historyUniver','_historyManagerService','idSuffix','[HistoryLoaderService]:\x20Plugin\x20','has','triggerLoadVersions','_selectionProtectionRuleModel','_componentManager','0\x200\x2016\x2016','historyPanelComponentKey','url(#$1','historyUniver$','style','height','mountHistoryContent','_checkCanRevert','setTheme','every','random','show','onStarting','204TPgMpe','_disposableCollection','2737256DMyovc'];_0x3712=function(){return _0x3b81fd;};return _0x3712();}import{BehaviorSubject as _0x590644,combineLatest as _0xfe74b9}from'rxjs';import{RangeProtectionRuleModel as _0x4fbab5,UniverSheetsPlugin as _0x58d66a,WorkbookEditablePermission as _0x54d446,WorksheetEditPermission as _0x5d953d,RangeProtectionPermissionEditPoint as _0x1d9c33,WorkbookRecoverHistoryPermission as _0x20647a,getSheetCommandTarget as _0x30b8ac,WorkbookViewHistoryPermission as _0x6b04a1}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x21fa92,HistoryManagerService as _0x3d400a,HistoryModeStatus as _0x4f3344}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x143642,UniverLicensePlugin as _0x256074}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x34cf18}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x6c25cf}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x5d14f7}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x208b9b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x4c1013}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x5d50da}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x205185}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4d3983}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0xdda6a6,IImageIoService as _0x3c8735}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2c7ed7}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1aa453}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x44d307}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x4bf8da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1da87e,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1cd655}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x599dc8}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x414f2f}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2ef40d}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x25fce9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x464097}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xbbf862}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3480aa}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0xc98179}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2120e4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x29b17a}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x44fd6f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x16b306}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2de7e4}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x15a0e8,getCurrentRangeDisable$ as _0x3d6fdd}from'@univerjs/sheets-ui';const U=_0x53541f(0x1d6),N={};function F({ref:_0x4cbdc5,..._0x408d69}){const _0x42ba43=_0x53541f,{icon:_0x267dbc,id:_0x46badf,className:_0x5628a7,extend:_0x2e9193,..._0x4e0998}=_0x408d69,_0x361d35=(_0x42ba43(0x154)+_0x46badf+'\x20'+(_0x5628a7||''))['trim'](),_0x3c6232=_0x49ebfc('_'+hi());return j(_0x267dbc,''+_0x46badf,{'defIds':_0x267dbc[_0x42ba43(0x1df)],'idSuffix':_0x3c6232['current']},{'ref':_0x4cbdc5,'className':_0x361d35,..._0x4e0998},_0x2e9193);}function j(_0x2b0a1c,_0x4a90dd,_0x231ca6,_0x3ff12c,_0x8a18b3){const _0x115976=_0x53541f;return _0x4998c9(_0x2b0a1c[_0x115976(0x146)],{'key':_0x4a90dd,...ci(_0x2b0a1c,_0x231ca6,_0x8a18b3),..._0x3ff12c},(li(_0x2b0a1c,_0x231ca6)[_0x115976(0x1c5)]||[])[_0x115976(0x159)]((_0x953c66,_0x90b64f)=>j(_0x953c66,_0x4a90dd+'-'+_0x2b0a1c[_0x115976(0x146)]+'-'+_0x90b64f,_0x231ca6,void 0x0,_0x8a18b3)));}function ci(_0x893eb3,_0x1cae9d,_0x2e83c4){const _0x2a3193=_0x53541f,_0xe66148={..._0x893eb3[_0x2a3193(0x179)]};_0x2e83c4!=null&&_0x2e83c4[_0x2a3193(0x18c)]&&_0xe66148['fill']===_0x2a3193(0x18c)&&(_0xe66148[_0x2a3193(0x149)]=_0x2e83c4['colorChannel1']),_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x16e)&&_0xe66148['id']&&(_0xe66148['id']=_0xe66148['id']+_0x1cae9d[_0x2a3193(0x19f)]),Object[_0x2a3193(0x1c9)](_0xe66148)['forEach'](([_0x11d7ec,_0x443e64])=>{const _0x418520=_0x2a3193;_0x11d7ec==='mask'&&typeof _0x443e64==_0x418520(0x184)&&(_0xe66148[_0x11d7ec]=_0x443e64['replace'](/url\(#(.*)\)/,_0x418520(0x1a7)+_0x1cae9d[_0x418520(0x19f)]+')'));});const {defIds:_0x3e6fa1}=_0x1cae9d;return!_0x3e6fa1||_0x3e6fa1['length']===0x0||(_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x17e)&&_0xe66148[_0x2a3193(0x161)]&&(_0xe66148['xlink:href']=_0xe66148[_0x2a3193(0x161)]+_0x1cae9d[_0x2a3193(0x19f)]),Object['entries'](_0xe66148)['forEach'](([_0x2e1239,_0x4a27b5])=>{const _0x5b8b96=_0x2a3193;typeof _0x4a27b5=='string'&&(_0xe66148[_0x2e1239]=_0x4a27b5['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1cae9d[_0x5b8b96(0x19f)]+')'));})),_0xe66148;}function li(_0x5851ce,_0x3e8b55){const _0x4a5b5b=_0x53541f;var _0x432e8e;const {defIds:_0x46e1dd}=_0x3e8b55;return!_0x46e1dd||_0x46e1dd['length']===0x0?_0x5851ce:_0x5851ce[_0x4a5b5b(0x146)]===_0x4a5b5b(0x1c6)&&((_0x432e8e=_0x5851ce[_0x4a5b5b(0x1c5)])!=null&&_0x432e8e[_0x4a5b5b(0x153)])?{..._0x5851ce,'children':_0x5851ce[_0x4a5b5b(0x1c5)][_0x4a5b5b(0x159)](_0x39fa1b=>typeof _0x39fa1b['attrs']['id']=='string'&&_0x46e1dd&&_0x46e1dd[_0x4a5b5b(0x172)](_0x39fa1b[_0x4a5b5b(0x179)]['id'])?{..._0x39fa1b,'attrs':{..._0x39fa1b['attrs'],'id':_0x39fa1b[_0x4a5b5b(0x179)]['id']+_0x3e8b55[_0x4a5b5b(0x19f)]}}:_0x39fa1b)}:_0x5851ce;}function hi(){const _0x596839=_0x53541f;return Math[_0x596839(0x1af)]()['toString'](0x24)[_0x596839(0x16b)](0x2,0x8);}F[_0x53541f(0x1e4)]=_0x53541f(0x189);const ui={'tag':'svg','attrs':{'xmlns':_0x53541f(0x177),'fill':_0x53541f(0x185),'viewBox':_0x53541f(0x1a5),'width':_0x53541f(0x15f),'height':_0x53541f(0x15f)},'children':[{'tag':'g','attrs':{'fill':_0x53541f(0x1e6),'clipPath':_0x53541f(0x144)},'children':[{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x156)}},{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x175)}}]},{'tag':_0x53541f(0x1c6),'attrs':{},'children':[{'tag':_0x53541f(0x1ba),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x53541f(0x1db),'attrs':{'fill':_0x53541f(0x1bd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x53541f(0x181)]},V=_0x3d43d0(function(_0x341bf8,_0x30cfe8){const _0x433097=_0x53541f;return _0x4998c9(F,Object[_0x433097(0x1bc)]({},_0x341bf8,{'id':'history-icon','ref':_0x30cfe8,'icon':ui}));});V[_0x53541f(0x1e4)]='HistoryIcon';var gi=Object[_0x53541f(0x166)],mi=(_0x32b6cf,_0x78999d,_0x34cfaa,_0x47d3cb)=>{const _0x29060b=_0x53541f;for(var _0x3c3155=_0x47d3cb>0x1?void 0x0:_0x47d3cb?gi(_0x78999d,_0x34cfaa):_0x78999d,_0x357c2e=_0x32b6cf[_0x29060b(0x153)]-0x1,_0x19e1aa;_0x357c2e>=0x0;_0x357c2e--)(_0x19e1aa=_0x32b6cf[_0x357c2e])&&(_0x3c3155=_0x19e1aa(_0x3c3155)||_0x3c3155);return _0x3c3155;},l=(_0x43504e,_0x548d29)=>(_0x1d3c09,_0x2b4d1b)=>_0x548d29(_0x1d3c09,_0x2b4d1b,_0x43504e);const vi=_0x53541f(0x192),G=_0x53541f(0x1ce),d='univer-history-container';let f=class extends _0x1a55c6{constructor(_0x541c3f,_0x21a113,_0x4f9c1c,_0x2e1398,_0x4d437d,_0x2bb5d1,_0x2597be,_0x4e6856,_0x3bd828,_0x535ded){const _0x14c166=_0x53541f;super(),g(this,_0x14c166(0x1ea),new _0x590644(null)),g(this,_0x14c166(0x1a8),this['_historyUniver$'][_0x14c166(0x16c)]()),g(this,_0x14c166(0x1b3),new _0x71959()),g(this,_0x14c166(0x1d2),new Map()),(this[_0x14c166(0x16f)]=_0x541c3f,this[_0x14c166(0x14a)]=_0x21a113,this[_0x14c166(0x1c4)]=_0x4f9c1c,this[_0x14c166(0x193)]=_0x2e1398,this[_0x14c166(0x151)]=_0x4d437d,this['_permissionService']=_0x2bb5d1,this[_0x14c166(0x1a3)]=_0x2597be,this[_0x14c166(0x143)]=_0x4e6856,this['_sidebarService']=_0x3bd828,this[_0x14c166(0x15d)]=_0x535ded,this[_0x14c166(0x170)]());}get[_0x53541f(0x19d)](){const _0x5f443c=_0x53541f;return this[_0x5f443c(0x1ea)][_0x5f443c(0x1ec)];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x53541f(0x17d)](){const _0x4f91bd=_0x53541f;var _0x32f6db;const _0x3237d8=(_0x32f6db=this[_0x4f91bd(0x1c4)][_0x4f91bd(0x1c8)](G))!=null?_0x32f6db:vi,_0x379657=document[_0x4f91bd(0x1bf)](_0x3237d8);if(!_0x379657)return;const _0x515e99=document[_0x4f91bd(0x155)](_0x4f91bd(0x1c7));_0x515e99['id']=d,_0x515e99[_0x4f91bd(0x162)]['uComp']=_0x4f91bd(0x195),_0x515e99['style'][_0x4f91bd(0x1e1)]=_0x4f91bd(0x1b6),_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x1cb)]='0',_0x515e99['style'][_0x4f91bd(0x17a)]='0',_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x190)]=_0x4f91bd(0x178),_0x515e99['style'][_0x4f91bd(0x1aa)]=_0x4f91bd(0x178),_0x515e99[_0x4f91bd(0x1a9)]['zIndex']=_0x4f91bd(0x1c2),_0x515e99['style'][_0x4f91bd(0x1be)]=_0x4f91bd(0x185),_0x379657[_0x4f91bd(0x158)](_0x515e99);}[_0x53541f(0x17f)](){const _0x5d1633=_0x53541f;var _0x5d60a2,_0x2690ef,_0x52cdb5,_0x14931d;[[_0x44d307],[_0x1a763c,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xddc01b,null]]}],[_0x4bf8da],[_0xdda6a6,{'override':[[_0x3c8735,null]]}],[_0x205185,{'hasScroll':!0x1}],[_0x4d3983],[_0x2de7e4],[_0x58d66a,{'notExecuteFormula':!0x0}],[_0x15a0e8],[_0x2120e4],[_0x29b17a],[_0x2c2688],[_0x3480aa],[_0xc98179],[_0x599dc8],[_0x414f2f],[_0x44fd6f],[_0x16b306],[_0x5d50da],[_0x2ef40d],[_0x25fce9],[_0x1aa453,{'notExecuteFormula':!0x0}],[_0x1da87e,{'workerURL':(_0x2690ef=(_0x5d60a2=this[_0x5d1633(0x1c4)][_0x5d1633(0x1c8)](_0x1cd655))==null?void 0x0:_0x5d60a2[_0x5d1633(0x145)])!=null?_0x2690ef:_0x5d1633(0x19c)}],[_0x2c7ed7],[_0x464097],[_0xbbf862],[_0x208b9b],[_0x4c1013],[_0x34cf18],[_0x6c25cf],[_0x5d14f7,{'notExecuteFormula':!0x0}],[_0x21fa92,{'historyListServerUrl':(_0x52cdb5=this['_configService'][_0x5d1633(0x1c8)](U))==null?void 0x0:_0x52cdb5[_0x5d1633(0x152)],'historyPanelComponentKey':(_0x14931d=this['_configService']['getConfig'](U))==null?void 0x0:_0x14931d[_0x5d1633(0x1a6)]}]]['forEach'](([_0x377b8d,_0x3e68cf])=>this[_0x5d1633(0x199)](_0x377b8d,_0x3e68cf));}['dispose'](){const _0x560e59=_0x53541f;super[_0x560e59(0x1eb)](),this['unMountHistoryContent'](),this[_0x560e59(0x1d2)][_0x560e59(0x196)]();}[_0x53541f(0x199)](_0x3c2134,_0x4cc55c,_0x5e3c1f){const _0x1bd2bb=_0x53541f;if(this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1a1)](_0x3c2134[_0x1bd2bb(0x1dc)])&&!_0x5e3c1f)throw new Error(_0x1bd2bb(0x1a0)+_0x3c2134[_0x1bd2bb(0x1dc)]+'\x20has\x20been\x20registered.');this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1cc)](_0x3c2134[_0x1bd2bb(0x1dc)],[_0x3c2134,_0x4cc55c]);}[_0x53541f(0x1d4)](){const _0x4507d0=_0x53541f;return Array[_0x4507d0(0x141)](this[_0x4507d0(0x1d2)][_0x4507d0(0x18f)]());}[_0x53541f(0x1ab)](_0x155913){const _0x2ee114=_0x53541f,_0x42505a=document['getElementById'](d);_0x42505a&&(_0x42505a[_0x2ee114(0x1a9)][_0x2ee114(0x1be)]='block',this['_initUniver'](_0x155913,d));}[_0x53541f(0x163)](){const _0x466754=_0x53541f;var _0x12ae48;this['_disposableCollection'][_0x466754(0x1eb)](),(_0x12ae48=this['historyUniver'])==null||_0x12ae48[_0x466754(0x1eb)](),this[_0x466754(0x1ea)][_0x466754(0x197)](null);const _0x301da7=document['getElementById'](d);_0x301da7&&(_0x301da7[_0x466754(0x1a9)][_0x466754(0x1be)]=_0x466754(0x185));}[_0x53541f(0x186)](_0x36f787,_0x2ed51a){const _0x2b09a3=_0x53541f;if(this[_0x2b09a3(0x19d)])return;const _0xd9e3b3=new _0x135edd({'locales':{[this['_localeService'][_0x2b09a3(0x1cd)]()]:this[_0x2b09a3(0x16f)]['getLocales']()},'override':[[_0x3fdabe,{'useClass':_0x5774fd}]]}),_0x17dc6b=_0xd9e3b3[_0x2b09a3(0x1b7)]();this[_0x2b09a3(0x1b9)](this[_0x2b09a3(0x15d)][_0x2b09a3(0x148)][_0x2b09a3(0x150)](_0x4a4497=>{const _0x51536c=_0x2b09a3;_0x17dc6b[_0x51536c(0x1b5)](_0x3b4ae1)['setDarkMode'](_0x4a4497);})),this['disposeWithMe'](this[_0x2b09a3(0x15d)][_0x2b09a3(0x194)][_0x2b09a3(0x150)](_0x1be021=>{const _0x52c8d2=_0x2b09a3;_0x17dc6b[_0x52c8d2(0x1b5)](_0x3b4ae1)[_0x52c8d2(0x1ad)](_0x1be021);})),_0x17dc6b[_0x2b09a3(0x1b5)](_0x2708aa)[_0x2b09a3(0x173)](this[_0x2b09a3(0x16f)][_0x2b09a3(0x1cd)]()),_0x17dc6b[_0x2b09a3(0x1b5)](_0x4c10ff)['setConfig'](_0x5e6f31,this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x5e6f31));const _0xe2a6b2=this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x143642);_0xe2a6b2&&_0xd9e3b3[_0x2b09a3(0x199)](_0x256074,{'license':_0xe2a6b2['ls']}),this['_pluginMap'][_0x2b09a3(0x19b)](([_0x53322e,_0x173fb7])=>{const _0x33874d=_0x2b09a3;_0xd9e3b3[_0x33874d(0x199)](_0x53322e,_0x173fb7);}),_0x17dc6b['invoke'](_0x1cbb4e=>{const _0xbb52f7=_0x2b09a3;this[_0xbb52f7(0x1e5)](_0x1cbb4e,_0x36f787);}),this[_0x2b09a3(0x1ea)]['next'](_0xd9e3b3);const _0x2a9224=_0x17dc6b['get'](_0x3d400a),_0x75921e=this[_0x2b09a3(0x1ac)](_0x36f787);_0x2a9224[_0x2b09a3(0x1a2)](_0x36f787,_0x2ed51a,_0x75921e);}[_0x53541f(0x1e5)](_0x46fb6d,_0x40fa34){const _0x25ccd5=_0x53541f,_0x2b7b59=_0x46fb6d[_0x25ccd5(0x1b5)](_0x3d400a);this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x198)][_0x25ccd5(0x150)](_0x7a540f=>{const _0x13a110=_0x25ccd5;switch(_0x7a540f){case _0x4f3344[_0x13a110(0x1de)]:this[_0x13a110(0x143)][_0x13a110(0x1bb)](),this[_0x13a110(0x14c)][_0x13a110(0x1d1)]();break;case _0x4f3344['Exited']:this[_0x13a110(0x193)]['executeCommand'](W['id']),this[_0x13a110(0x163)]();break;case _0x4f3344[_0x13a110(0x1e9)]:this['unMountHistoryContent'](),this['_messageService'][_0x13a110(0x1b0)]({'content':this['_localeService']['t'](_0x13a110(0x182)),'type':_0x3efc9c[_0x13a110(0x1e9)],'duration':0xbb8});break;}})),this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x176)][_0x25ccd5(0x150)](async _0x2498b9=>{const _0x3e529f=_0x25ccd5;_0x2498b9&&this['_commandService'][_0x3e529f(0x147)](_0x4c629f['id'],{'unitId':_0x40fa34,'revision':_0x2498b9});}));}[_0x53541f(0x1ac)](_0x59977c){const _0x2320eb=_0x53541f,_0x3633d6=this[_0x2320eb(0x14a)][_0x2320eb(0x171)](_0x59977c)['getSheets']()[_0x2320eb(0x159)](_0x4e7ec4=>_0x4e7ec4['getSheetId']()),_0x4d2829=new _0x54d446(_0x59977c)['id'],_0x1e9ab0=_0x3633d6[_0x2320eb(0x159)](_0x2c7d6b=>new _0x5d953d(_0x59977c,_0x2c7d6b)['id']),_0x303432=_0x3633d6[_0x2320eb(0x159)](_0x266f52=>this[_0x2320eb(0x1a3)][_0x2320eb(0x188)](_0x59977c,_0x266f52)[_0x2320eb(0x159)](_0x530518=>new _0x1d9c33(_0x59977c,_0x266f52,_0x530518[_0x2320eb(0x1ed)])['id']))[_0x2320eb(0x17b)](),_0x5f4298=new _0x20647a(_0x59977c)['id'];return this[_0x2320eb(0x15e)][_0x2320eb(0x1da)]([_0x4d2829,..._0x1e9ab0,..._0x303432,_0x5f4298])[_0x2320eb(0x1ae)](_0x5233ef=>!!_0x5233ef['value']);}};f=mi([l(0x0,_0x5d2c64(_0x2708aa)),l(0x1,_0x182b3a),l(0x2,_0x4c10ff),l(0x3,_0x196202),l(0x4,_0x363f1b),l(0x5,_0x9dc70e),l(0x6,_0x5d2c64(_0x4fbab5)),l(0x7,_0x5d2c64(_0xddc01b)),l(0x8,_0x5d2c64(_0x43776b)),l(0x9,_0x5d2c64(_0x3b4ae1))],f);function _0x1520(_0x120700,_0x256e57){_0x120700=_0x120700-0x141;const _0x371282=_0x3712();let _0x15200e=_0x371282[_0x120700];return _0x15200e;}const b={'id':_0x53541f(0x174),'type':_0x46cba4[_0x53541f(0x180)],'handler':_0x3ce659=>{const _0x3793e7=_0x53541f,_0x310095=_0x3ce659['get'](f),_0x1bac70=_0x3ce659['get'](_0x182b3a),{unitId:_0x115163}=_0x30b8ac(_0x1bac70)||{};return _0x115163?(_0x310095[_0x3793e7(0x1ab)](_0x115163),!0x0):!0x1;}},W={'id':_0x53541f(0x19a),'type':_0x46cba4[_0x53541f(0x180)],'handler':()=>!0x0};function di(_0x35dfd4){const _0x46f043=_0x53541f;return{'id':b['id'],'type':_0x377869[_0x46f043(0x18b)],'icon':_0x46f043(0x15b),'tooltip':_0x46f043(0x1d0),'hidden$':_0x401f4c(_0x35dfd4,_0x2f58be[_0x46f043(0x1cf)]),'disabled$':_0x3d6fdd(_0x35dfd4,{'workbookTypes':[_0x54d446,_0x6b04a1],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x5bfa8f[_0x53541f(0x15a)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0xbc0412,_0x1ce2dc,_0x2977e4,_0x173692)=>{const _0x37616b=_0x53541f;for(var _0x25d987=_0x173692>0x1?void 0x0:_0x173692?_i(_0x1ce2dc,_0x2977e4):_0x1ce2dc,_0x4da467=_0xbc0412[_0x37616b(0x153)]-0x1,_0x44456f;_0x4da467>=0x0;_0x4da467--)(_0x44456f=_0xbc0412[_0x4da467])&&(_0x25d987=_0x44456f(_0x25d987)||_0x25d987);return _0x25d987;},m=(_0x593071,_0x169f66)=>(_0x36ec61,_0x28c6a1)=>_0x169f66(_0x36ec61,_0x28c6a1,_0x593071);let p=class extends _0x54525b{constructor(_0x4824a5,_0x4f50c0,_0x48afbe,_0x40c72c,_0xd16aa9,_0x19a76d,_0x4e1791,_0x4c1ce4){const _0x40e9b4=_0x53541f;super(),g(this,_0x40e9b4(0x1d9),null),(this['_commandService']=_0x4824a5,this[_0x40e9b4(0x167)]=_0x4f50c0,this[_0x40e9b4(0x1a4)]=_0x48afbe,this[_0x40e9b4(0x19e)]=_0x40c72c,this['_localeService']=_0xd16aa9,this[_0x40e9b4(0x151)]=_0x19a76d,this[_0x40e9b4(0x14d)]=_0x4e1791,this[_0x40e9b4(0x1c0)]=_0x4c1ce4,this[_0x40e9b4(0x170)]());}[_0x53541f(0x170)](){const _0x35dd30=_0x53541f;[b,W][_0x35dd30(0x19b)](_0xcbd5de=>this[_0x35dd30(0x1b9)](_0x3be409(this[_0x35dd30(0x193)]['registerCommand'](_0xcbd5de)))),this[_0x35dd30(0x1b9)](this['_componentManager'][_0x35dd30(0x1d8)]('HistoryIcon',V)),this[_0x35dd30(0x167)][_0x35dd30(0x1e8)](fi),this['disposeWithMe'](this[_0x35dd30(0x193)]['onCommandExecuted'](_0x6c95a1=>{const _0x4b323b=_0x35dd30;if(_0x6c95a1['id']===_0x4c629f['id']){this[_0x4b323b(0x151)][_0x4b323b(0x1b0)]({'content':this[_0x4b323b(0x16f)]['t'](_0x4b323b(0x1b8)),'type':_0x3efc9c['Loading'],'duration':0x1388});const {unitId:_0x43288a}=_0x6c95a1[_0x4b323b(0x15c)],_0x527a9e=this['_collaborationController'][_0x4b323b(0x183)](_0x43288a),_0x4f5d83=_0xfe74b9([_0x527a9e['session'][_0x4b323b(0x1c1)],_0x527a9e[_0x4b323b(0x18d)]])['subscribe'](async([_0x343584,_0xc69cdf])=>{const _0x82f794=_0x4b323b;var _0x6410a1;_0x343584[_0x82f794(0x14b)]===_0x5a87a9[_0x82f794(0x18e)]&&(_0xc69cdf==null?void 0x0:_0xc69cdf['status'])===_0x2158d8[_0x82f794(0x14f)]&&_0x343584[_0x82f794(0x142)][_0x82f794(0x17c)]['some'](_0x5643f6=>_0x5643f6['id']===_0x4c629f['id'])&&(this[_0x82f794(0x19e)][_0x82f794(0x163)](),_0x4f5d83[_0x82f794(0x165)](),this[_0x82f794(0x1d9)]&&clearTimeout(this[_0x82f794(0x1d9)]),await((_0x6410a1=this[_0x82f794(0x1c0)])==null?void 0x0:_0x6410a1[_0x82f794(0x1d3)]()),setTimeout(()=>window[_0x82f794(0x14e)][_0x82f794(0x1c3)]()));});this[_0x4b323b(0x1d9)]=setTimeout(()=>{const _0x548263=_0x4b323b;_0x4f5d83[_0x548263(0x165)](),this[_0x548263(0x151)][_0x548263(0x1b0)]({'content':this[_0x548263(0x16f)]['t'](_0x548263(0x168)),'type':_0x3efc9c[_0x548263(0x1e9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x196202),m(0x1,_0x2825c3),m(0x2,_0x5d2c64(_0x40ac45)),m(0x3,_0x5d2c64(f)),m(0x4,_0x5d2c64(_0x2708aa)),m(0x5,_0x363f1b),m(0x6,_0x5d2c64(_0x15d5d1)),m(0x7,_0x376655)],p);var Si=Object[_0x53541f(0x166)],Ci=(_0x31a54b,_0x4a8ad2,_0x3f0689,_0x8690fa)=>{const _0x7c1aa1=_0x53541f;for(var _0x283811=_0x8690fa>0x1?void 0x0:_0x8690fa?Si(_0x4a8ad2,_0x3f0689):_0x4a8ad2,_0x3461de=_0x31a54b[_0x7c1aa1(0x153)]-0x1,_0x457007;_0x3461de>=0x0;_0x3461de--)(_0x457007=_0x31a54b[_0x3461de])&&(_0x283811=_0x457007(_0x283811)||_0x283811);return _0x283811;},R=(_0x29aaa0,_0x481696)=>(_0x4c6bf1,_0x2f9229)=>_0x481696(_0x4c6bf1,_0x2f9229,_0x29aaa0);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x594c54{constructor(_0x2ed80e=N,_0x77be5c,_0x1361c0){const _0x59cfcd=_0x53541f;super(),this[_0x59cfcd(0x1ca)]=_0x2ed80e,this['_injector']=_0x77be5c,this[_0x59cfcd(0x1c4)]=_0x1361c0;const {menu:_0x3247f3,..._0x475cf8}=_0x4dd2b0({},N,this['_config']);_0x3247f3&&this[_0x59cfcd(0x1c4)][_0x59cfcd(0x18a)](_0x59cfcd(0x1e7),_0x3247f3,{'merge':!0x0}),this['_configService'][_0x59cfcd(0x18a)](U,_0x475cf8),this[_0x59cfcd(0x1ca)][_0x59cfcd(0x16a)]&&this['_configService'][_0x59cfcd(0x18a)](G,this['_config'][_0x59cfcd(0x16a)]);}[_0x53541f(0x1b1)](){const _0xca667b=_0x53541f;[[f],[p]]['forEach'](_0x1d1ea6=>this[_0xca667b(0x1e0)]['add'](_0x1d1ea6));}[_0x53541f(0x160)](){const _0x5c6d50=_0x53541f;this[_0x5c6d50(0x1e0)][_0x5c6d50(0x1b5)](p);}},g(_,'type',_0x2f58be[_0x53541f(0x164)]),g(_,_0x53541f(0x1dc),yi),_);H=Ci([R(0x1,_0x5d2c64(_0x4965aa)),R(0x2,_0x4c10ff)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x28d4a4=_0x5c8e;(function(_0xa20acb,_0x5ed8c9){const _0x3bfad2=_0x5c8e,_0x29810d=_0xa20acb();while(!![]){try{const _0x8217fe=parseInt(_0x3bfad2(0xb4))/0x1+-parseInt(_0x3bfad2(0x113))/0x2+parseInt(_0x3bfad2(0x9b))/0x3*(-parseInt(_0x3bfad2(0x10b))/0x4)+-parseInt(_0x3bfad2(0xa0))/0x5+parseInt(_0x3bfad2(0x9e))/0x6+parseInt(_0x3bfad2(0x8c))/0x7+parseInt(_0x3bfad2(0x10e))/0x8*(parseInt(_0x3bfad2(0xb5))/0x9);if(_0x8217fe===_0x5ed8c9)break;else _0x29810d['push'](_0x29810d['shift']());}catch(_0x450c1e){_0x29810d['push'](_0x29810d['shift']());}}}(_0x1c47,0x67f3b));var Y=Object['defineProperty'],B=(_0x2c97d4,_0x1acba2,_0x11b547)=>_0x1acba2 in _0x2c97d4?Y(_0x2c97d4,_0x1acba2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b547}):_0x2c97d4[_0x1acba2]=_0x11b547,g=(_0x4ce485,_0x941cc,_0x5ae1b2)=>B(_0x4ce485,typeof _0x941cc!='symbol'?_0x941cc+'':_0x941cc,_0x5ae1b2);import{Inject as _0x46c454,LocaleService as _0xc7137,IUniverInstanceService as _0x17dea0,IConfigService as _0x2527f1,ICommandService as _0x4ccfc6,IPermissionService as _0x1691d8,ThemeService as _0x4a0048,Disposable as _0x11f04e,DisposableCollection as _0x1096e7,Univer as _0x2b206b,IAuthzIoService as _0x36ad80,CommandType as _0x176ea2,UniverInstanceType as _0x1b48a5,RxDisposable as _0x547c6d,toDisposable as _0x1ec54e,Plugin as _0x324003,merge as _0x242ed3,Injector as _0xaa3bc2}from'@univerjs/core';import{UniverCollaborationPlugin as _0x593c16,RevertRevisionMutation as _0x20ea47,CollaborationEvent as _0x442c5e}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x381e88,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6ad0,CollaborationController as _0x348bd1,ILocalCacheService as _0x8b9c29,CollaborationStatus as _0x1b925f}from'@univerjs-pro/collaboration-client';import{MessageType as _0x17d5cd}from'@univerjs/design';import{useRef as _0x4c0168,createElement as _0x4ad07b,forwardRef as _0x46c5f0}from'react';import{IMessageService as _0x3ba77a,IDialogService as _0x5b349c,ISidebarService as _0xaa3e4d,UniverUIPlugin as _0x17bb2b,getMenuHiddenObservable as _0x2af65c,MenuItemType as _0x2f263a,RibbonStartGroup as _0x157b79,IMenuManagerService as _0x29ebf4,ComponentManager as _0x24ca35}from'@univerjs/ui';import{BehaviorSubject as _0x394d58,combineLatest as _0x501715}from'rxjs';import{RangeProtectionRuleModel as _0x467927,UniverSheetsPlugin as _0x13bd3e,WorkbookEditablePermission as _0x1c1798,WorksheetEditPermission as _0xf0f0c1,RangeProtectionPermissionEditPoint as _0x2bb7d9,WorkbookRecoverHistoryPermission as _0x4f1e7d,getSheetCommandTarget as _0x293682,WorkbookViewHistoryPermission as _0x435260}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x1d2ee2,HistoryManagerService as _0x77b50a,HistoryModeStatus as _0x347aa0}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3bf7c0,UniverLicensePlugin as _0x53e7a7}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x291ecb}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x1786fc}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x37e050}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x30b9d4}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x364408}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x1b0993}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x7a73da}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4c0c75}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x38a33c,IImageIoService as _0x321682}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2801b8}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x40c6c2}from'@univerjs/engine-formula';function _0x5c8e(_0x22d724,_0x235b93){_0x22d724=_0x22d724-0x88;const _0x1c4735=_0x1c47();let _0x5c8e32=_0x1c4735[_0x22d724];return _0x5c8e32;}import{UniverRenderEnginePlugin as _0x35a05d}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x5ca7ac}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x48d937,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x5e32c6}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x1a43ef}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x286bab}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x65aeff}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x126307}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x3d69d5}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x368aac}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3f0407}from'@univerjs/sheets-filter';function _0x1c47(){const _0x3b41be=['_disposableCollection','left','_config','OTHERS','length','colorChannel1','UNIVER_CONTAINER_ID','SYNCED','CHANGESET_ACK','next','100%','historyListServerUrl','replace','M0\x200H16V16H0z','getSubunitRuleList','getCurrentLocale','type','setTheme','asObservable','_permissionService','unMountHistoryContent','_sidebarService','disposeWithMe','_localCacheService','defIds','univerContainerId','_injector','editHistory.panel.listFetchError','darkMode$','univerjs-icon\x20univerjs-icon-','getConfig','1000','attrs','Loading','mutations','substring','xlink:href','_configService','onSteady','exhaustSavingTask','2189084vTlQud','url(#$1','some','1558936ntVBPr','BUTTON','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','setConfig','height','1071480kMSSve','svg','Error','appendChild','clear','style','Exited','show','closeAll','_messageService','dispose','_componentManager','triggerLoadVersions','none','get','children','map','tag','_localeService','mountHistoryContent','position','_historyManagerService','absolute','random','every','currentColor','setDarkMode','includes','./worker.js','_commandService','status','2138157QhvgBb','univer.operation.exit-edit-history','getElementById','displayName','editHistory.panel.title','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','getAllPlugins','\x20has\x20been\x20registered.','UNIVER_SHEET','_initListener','_checkCanRevert','assign','getUnit','unsubscribe','clipPath','3tfgXXt','_pluginMap','invoke','4802442GjVjvY','HistoryIcon','2990585krRyGJ','history-container','display','univer-history-container','UNIVER_UNKNOWN','_historyUniver$','from','menu','defs','getOwnPropertyDescriptor','UniverIcon','history-icon_clip0_907_281','onCommandExecuted','path','workerURL','1em','uComp','composePermission','event$','_menuManagerService','26722nsNLgd','45BqvuSa','flat','getSheetId','_univerInstanceService','forEach','entries','toString','[HistoryLoaderService]:\x20Plugin\x20','onStarting','_initContainer','historyPanelComponentKey','Entered','add','_initUniver','OPERATION','_themeService','has','_init','dataset','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','history-icon','getCollabEntity','values','createElement','setLocale','historyUniver','executeCommand','historyUniver$','currentTheme$','subscribe','location','mask','pluginName','_dialogService','session','value','register','string','idSuffix','_revertErrorTimer','getSheets','0\x200\x2016\x2016','fill','registerPlugin','width','registerCommand'];_0x1c47=function(){return _0x3b41be;};return _0x1c47();}import{UniverSheetsFilterUIPlugin as _0x12cab8}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x40fd4d}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x15b5be}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x142267}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x1d13f8}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x3e1f23}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0xcbf460,getCurrentRangeDisable$ as _0x210efd}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x5d5e23,..._0x22b364}){const _0x4fca1c=_0x5c8e,{icon:_0x56ca74,id:_0x124470,className:_0x31115d,extend:_0x512a91,..._0x2fd60f}=_0x22b364,_0x2ddf61=(_0x4fca1c(0x100)+_0x124470+'\x20'+(_0x31115d||''))['trim'](),_0xd2fa37=_0x4c0168('_'+hi());return j(_0x56ca74,''+_0x124470,{'defIds':_0x56ca74[_0x4fca1c(0xfb)],'idSuffix':_0xd2fa37['current']},{'ref':_0x5d5e23,'className':_0x2ddf61,..._0x2fd60f},_0x512a91);}function j(_0x45965e,_0x259cc2,_0x16b2d7,_0x56a5c6,_0x20f682){const _0x1ea226=_0x5c8e;return _0x4ad07b(_0x45965e[_0x1ea226(0x124)],{'key':_0x259cc2,...ci(_0x45965e,_0x16b2d7,_0x20f682),..._0x56a5c6},(li(_0x45965e,_0x16b2d7)[_0x1ea226(0x122)]||[])['map']((_0x57c4c1,_0x402207)=>j(_0x57c4c1,_0x259cc2+'-'+_0x45965e['tag']+'-'+_0x402207,_0x16b2d7,void 0x0,_0x20f682)));}function ci(_0xf67526,_0x51448b,_0x306829){const _0x5dbf5c=_0x5c8e,_0x37ba52={..._0xf67526[_0x5dbf5c(0x103)]};_0x306829!=null&&_0x306829[_0x5dbf5c(0xe8)]&&_0x37ba52[_0x5dbf5c(0xdf)]==='colorChannel1'&&(_0x37ba52['fill']=_0x306829[_0x5dbf5c(0xe8)]),_0xf67526[_0x5dbf5c(0x124)]===_0x5dbf5c(0xd4)&&_0x37ba52['id']&&(_0x37ba52['id']=_0x37ba52['id']+_0x51448b['idSuffix']),Object[_0x5dbf5c(0xba)](_0x37ba52)[_0x5dbf5c(0xb9)](([_0x3ce3f2,_0x479c6b])=>{const _0xa83f1=_0x5dbf5c;_0x3ce3f2===_0xa83f1(0xd4)&&typeof _0x479c6b==_0xa83f1(0xda)&&(_0x37ba52[_0x3ce3f2]=_0x479c6b['replace'](/url\(#(.*)\)/,_0xa83f1(0x10c)+_0x51448b['idSuffix']+')'));});const {defIds:_0x39c9b2}=_0x51448b;return!_0x39c9b2||_0x39c9b2[_0x5dbf5c(0xe7)]===0x0||(_0xf67526[_0x5dbf5c(0x124)]==='use'&&_0x37ba52[_0x5dbf5c(0x107)]&&(_0x37ba52[_0x5dbf5c(0x107)]=_0x37ba52[_0x5dbf5c(0x107)]+_0x51448b[_0x5dbf5c(0xdb)]),Object[_0x5dbf5c(0xba)](_0x37ba52)[_0x5dbf5c(0xb9)](([_0x3e267b,_0x2371cc])=>{const _0xdb788c=_0x5dbf5c;typeof _0x2371cc==_0xdb788c(0xda)&&(_0x37ba52[_0x3e267b]=_0x2371cc[_0xdb788c(0xef)](/url\(#(.*)\)/,_0xdb788c(0x10c)+_0x51448b[_0xdb788c(0xdb)]+')'));})),_0x37ba52;}function li(_0x311ed4,_0x60dfa8){const _0x33d4e3=_0x5c8e;var _0x214074;const {defIds:_0x30f4cd}=_0x60dfa8;return!_0x30f4cd||_0x30f4cd['length']===0x0?_0x311ed4:_0x311ed4[_0x33d4e3(0x124)]===_0x33d4e3(0xa8)&&((_0x214074=_0x311ed4['children'])!=null&&_0x214074[_0x33d4e3(0xe7)])?{..._0x311ed4,'children':_0x311ed4[_0x33d4e3(0x122)][_0x33d4e3(0x123)](_0x3ef261=>typeof _0x3ef261[_0x33d4e3(0x103)]['id']=='string'&&_0x30f4cd&&_0x30f4cd[_0x33d4e3(0x88)](_0x3ef261[_0x33d4e3(0x103)]['id'])?{..._0x3ef261,'attrs':{..._0x3ef261['attrs'],'id':_0x3ef261[_0x33d4e3(0x103)]['id']+_0x60dfa8['idSuffix']}}:_0x3ef261)}:_0x311ed4;}function hi(){const _0x2ee01b=_0x5c8e;return Math[_0x2ee01b(0x12a)]()[_0x2ee01b(0xbb)](0x24)[_0x2ee01b(0x106)](0x2,0x8);}F[_0x28d4a4(0x8f)]=_0x28d4a4(0xaa);const ui={'tag':_0x28d4a4(0x114),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28d4a4(0x120),'viewBox':_0x28d4a4(0xde),'width':_0x28d4a4(0xaf),'height':_0x28d4a4(0xaf)},'children':[{'tag':'g','attrs':{'fill':_0x28d4a4(0x12c),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x28d4a4(0xad),'attrs':{'d':_0x28d4a4(0xc8)}},{'tag':_0x28d4a4(0xad),'attrs':{'d':_0x28d4a4(0x91)}}]},{'tag':_0x28d4a4(0xa8),'attrs':{},'children':[{'tag':_0x28d4a4(0x9a),'attrs':{'id':_0x28d4a4(0xab)},'children':[{'tag':_0x28d4a4(0xad),'attrs':{'fill':'white','d':_0x28d4a4(0xf0)}}]}]}],'defIds':[_0x28d4a4(0xab)]},V=_0x46c5f0(function(_0x2271dd,_0x2b6b85){const _0x41ab15=_0x28d4a4;return _0x4ad07b(F,Object[_0x41ab15(0x97)]({},_0x2271dd,{'id':_0x41ab15(0xc9),'ref':_0x2b6b85,'icon':ui}));});V[_0x28d4a4(0x8f)]=_0x28d4a4(0x9f);var gi=Object[_0x28d4a4(0xa9)],mi=(_0x203aae,_0x3e28c1,_0x1fa66c,_0x33c5bb)=>{const _0x33334b=_0x28d4a4;for(var _0x17cb9a=_0x33c5bb>0x1?void 0x0:_0x33c5bb?gi(_0x3e28c1,_0x1fa66c):_0x3e28c1,_0x5b8868=_0x203aae[_0x33334b(0xe7)]-0x1,_0x378b7f;_0x5b8868>=0x0;_0x5b8868--)(_0x378b7f=_0x203aae[_0x5b8868])&&(_0x17cb9a=_0x378b7f(_0x17cb9a)||_0x17cb9a);return _0x17cb9a;},l=(_0x5680bc,_0x3c5de2)=>(_0x509c51,_0x10a95f)=>_0x3c5de2(_0x509c51,_0x10a95f,_0x5680bc);const vi='univer-container',G=_0x28d4a4(0xe9),d=_0x28d4a4(0xa3);let f=class extends _0x11f04e{constructor(_0x239923,_0x2bb964,_0x2b0f1e,_0xb12896,_0xb3abc,_0x5f0628,_0x3bb5fb,_0x5e681d,_0xa90086,_0x182a4f){const _0x4191ba=_0x28d4a4;super(),g(this,_0x4191ba(0xa5),new _0x394d58(null)),g(this,_0x4191ba(0xd0),this[_0x4191ba(0xa5)][_0x4191ba(0xf5)]()),g(this,'_disposableCollection',new _0x1096e7()),g(this,_0x4191ba(0x9c),new Map()),(this[_0x4191ba(0x125)]=_0x239923,this[_0x4191ba(0xb8)]=_0x2bb964,this['_configService']=_0x2b0f1e,this[_0x4191ba(0x8a)]=_0xb12896,this[_0x4191ba(0x11c)]=_0xb3abc,this['_permissionService']=_0x5f0628,this['_selectionProtectionRuleModel']=_0x3bb5fb,this[_0x4191ba(0xd6)]=_0x5e681d,this[_0x4191ba(0xf8)]=_0xa90086,this[_0x4191ba(0xc4)]=_0x182a4f,this['_init']());}get[_0x28d4a4(0xce)](){const _0x58ef6e=_0x28d4a4;return this[_0x58ef6e(0xa5)][_0x58ef6e(0xd8)];}['_init'](){const _0xd2abc6=_0x28d4a4;this[_0xd2abc6(0xbe)](),this['_initPlugins']();}['_initContainer'](){const _0x1f10d9=_0x28d4a4;var _0x392213;const _0x2357ee=(_0x392213=this['_configService'][_0x1f10d9(0x101)](G))!=null?_0x392213:vi,_0x43106b=document['getElementById'](_0x2357ee);if(!_0x43106b)return;const _0x205fb4=document[_0x1f10d9(0xcc)]('div');_0x205fb4['id']=d,_0x205fb4[_0x1f10d9(0xc7)][_0x1f10d9(0xb0)]=_0x1f10d9(0xa1),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0x127)]=_0x1f10d9(0x129),_0x205fb4['style']['top']='0',_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xe4)]='0',_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xe1)]=_0x1f10d9(0xed),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0x112)]=_0x1f10d9(0xed),_0x205fb4['style']['zIndex']=_0x1f10d9(0x102),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xa2)]='none',_0x43106b[_0x1f10d9(0x116)](_0x205fb4);}['_initPlugins'](){const _0x10a8df=_0x28d4a4;var _0x545121,_0x10d904,_0x390833,_0xa85fc9;[[_0x35a05d],[_0x17bb2b,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5b349c,null]]}],[_0x5ca7ac],[_0x38a33c,{'override':[[_0x321682,null]]}],[_0x7a73da,{'hasScroll':!0x1}],[_0x4c0c75],[_0x3e1f23],[_0x13bd3e,{'notExecuteFormula':!0x0}],[_0xcbf460],[_0x40fd4d],[_0x15b5be],[_0x593c16],[_0x3f0407],[_0x12cab8],[_0x1a43ef],[_0x286bab],[_0x142267],[_0x1d13f8],[_0x1b0993],[_0x65aeff],[_0x126307],[_0x40c6c2,{'notExecuteFormula':!0x0}],[_0x48d937,{'workerURL':(_0x10d904=(_0x545121=this[_0x10a8df(0x108)][_0x10a8df(0x101)](_0x5e32c6))==null?void 0x0:_0x545121[_0x10a8df(0xae)])!=null?_0x10d904:_0x10a8df(0x89)}],[_0x2801b8],[_0x3d69d5],[_0x368aac],[_0x30b9d4],[_0x364408],[_0x291ecb],[_0x1786fc],[_0x37e050,{'notExecuteFormula':!0x0}],[_0x1d2ee2,{'historyListServerUrl':(_0x390833=this[_0x10a8df(0x108)]['getConfig'](U))==null?void 0x0:_0x390833[_0x10a8df(0xee)],'historyPanelComponentKey':(_0xa85fc9=this[_0x10a8df(0x108)][_0x10a8df(0x101)](U))==null?void 0x0:_0xa85fc9[_0x10a8df(0xbf)]}]][_0x10a8df(0xb9)](([_0x1de15b,_0x2fc96b])=>this[_0x10a8df(0xe0)](_0x1de15b,_0x2fc96b));}[_0x28d4a4(0x11d)](){const _0xf73889=_0x28d4a4;super[_0xf73889(0x11d)](),this[_0xf73889(0xf7)](),this[_0xf73889(0x9c)][_0xf73889(0x117)]();}[_0x28d4a4(0xe0)](_0x535e76,_0x3d2448,_0xce846b){const _0x111bcc=_0x28d4a4;if(this[_0x111bcc(0x9c)][_0x111bcc(0xc5)](_0x535e76['pluginName'])&&!_0xce846b)throw new Error(_0x111bcc(0xbc)+_0x535e76[_0x111bcc(0xd5)]+_0x111bcc(0x93));this[_0x111bcc(0x9c)]['set'](_0x535e76[_0x111bcc(0xd5)],[_0x535e76,_0x3d2448]);}[_0x28d4a4(0x92)](){const _0x389a7f=_0x28d4a4;return Array[_0x389a7f(0xa6)](this[_0x389a7f(0x9c)][_0x389a7f(0xcb)]());}['mountHistoryContent'](_0x493fdb){const _0xaf6bc7=_0x28d4a4,_0x20b451=document[_0xaf6bc7(0x8e)](d);_0x20b451&&(_0x20b451[_0xaf6bc7(0x118)][_0xaf6bc7(0xa2)]='block',this['_initUniver'](_0x493fdb,d));}[_0x28d4a4(0xf7)](){const _0x543c9f=_0x28d4a4;var _0x16fb1a;this[_0x543c9f(0xe3)][_0x543c9f(0x11d)](),(_0x16fb1a=this['historyUniver'])==null||_0x16fb1a[_0x543c9f(0x11d)](),this[_0x543c9f(0xa5)][_0x543c9f(0xec)](null);const _0xba592a=document['getElementById'](d);_0xba592a&&(_0xba592a[_0x543c9f(0x118)]['display']=_0x543c9f(0x120));}[_0x28d4a4(0xc2)](_0x4d4396,_0xd8bca0){const _0x50993b=_0x28d4a4;if(this[_0x50993b(0xce)])return;const _0x3e0206=new _0x2b206b({'locales':{[this[_0x50993b(0x125)][_0x50993b(0xf2)]()]:this['_localeService']['getLocales']()},'override':[[_0x36ad80,{'useClass':_0x381e88}]]}),_0x81318b=_0x3e0206['__getInjector']();this[_0x50993b(0xf9)](this[_0x50993b(0xc4)][_0x50993b(0xff)]['subscribe'](_0x4cba3b=>{const _0x4f0508=_0x50993b;_0x81318b[_0x4f0508(0x121)](_0x4a0048)[_0x4f0508(0x12d)](_0x4cba3b);})),this[_0x50993b(0xf9)](this[_0x50993b(0xc4)][_0x50993b(0xd1)]['subscribe'](_0x4d0fc5=>{const _0x1cd7e3=_0x50993b;_0x81318b[_0x1cd7e3(0x121)](_0x4a0048)[_0x1cd7e3(0xf4)](_0x4d0fc5);})),_0x81318b[_0x50993b(0x121)](_0xc7137)[_0x50993b(0xcd)](this[_0x50993b(0x125)][_0x50993b(0xf2)]()),_0x81318b[_0x50993b(0x121)](_0x2527f1)[_0x50993b(0x111)](_0x5e6ad0,this['_configService']['getConfig'](_0x5e6ad0));const _0x1c551c=this[_0x50993b(0x108)]['getConfig'](_0x3bf7c0);_0x1c551c&&_0x3e0206[_0x50993b(0xe0)](_0x53e7a7,{'license':_0x1c551c['ls']}),this['_pluginMap'][_0x50993b(0xb9)](([_0x50d0ef,_0x59ea28])=>{_0x3e0206['registerPlugin'](_0x50d0ef,_0x59ea28);}),_0x81318b[_0x50993b(0x9d)](_0x1ff49c=>{const _0x18e5a1=_0x50993b;this[_0x18e5a1(0x95)](_0x1ff49c,_0x4d4396);}),this['_historyUniver$'][_0x50993b(0xec)](_0x3e0206);const _0x5c2e0c=_0x81318b[_0x50993b(0x121)](_0x77b50a),_0x5352ce=this[_0x50993b(0x96)](_0x4d4396);_0x5c2e0c[_0x50993b(0x11f)](_0x4d4396,_0xd8bca0,_0x5352ce);}[_0x28d4a4(0x95)](_0x55e9d7,_0x5ae2de){const _0x402e0a=_0x28d4a4,_0x543871=_0x55e9d7['get'](_0x77b50a);this[_0x402e0a(0xe3)][_0x402e0a(0xc1)](_0x543871['status$'][_0x402e0a(0xd2)](_0x41e95a=>{const _0x15b472=_0x402e0a;switch(_0x41e95a){case _0x347aa0[_0x15b472(0xc0)]:this[_0x15b472(0xd6)][_0x15b472(0x11b)](),this[_0x15b472(0xf8)]['close']();break;case _0x347aa0[_0x15b472(0x119)]:this[_0x15b472(0x8a)][_0x15b472(0xcf)](W['id']),this[_0x15b472(0xf7)]();break;case _0x347aa0['Error']:this['unMountHistoryContent'](),this[_0x15b472(0x11c)][_0x15b472(0x11a)]({'content':this['_localeService']['t'](_0x15b472(0xfe)),'type':_0x17d5cd[_0x15b472(0x115)],'duration':0xbb8});break;}})),this[_0x402e0a(0xe3)]['add'](_0x543871['revertRevision$'][_0x402e0a(0xd2)](async _0x2aa8fb=>{const _0x4807a2=_0x402e0a;_0x2aa8fb&&this[_0x4807a2(0x8a)][_0x4807a2(0xcf)](_0x20ea47['id'],{'unitId':_0x5ae2de,'revision':_0x2aa8fb});}));}[_0x28d4a4(0x96)](_0x5be7c5){const _0x3e039c=_0x28d4a4,_0x5f464d=this['_univerInstanceService'][_0x3e039c(0x98)](_0x5be7c5)[_0x3e039c(0xdd)]()[_0x3e039c(0x123)](_0x42d919=>_0x42d919[_0x3e039c(0xb7)]()),_0x498594=new _0x1c1798(_0x5be7c5)['id'],_0x2a76a6=_0x5f464d['map'](_0x572138=>new _0xf0f0c1(_0x5be7c5,_0x572138)['id']),_0x12e2e8=_0x5f464d[_0x3e039c(0x123)](_0x59a247=>this['_selectionProtectionRuleModel'][_0x3e039c(0xf1)](_0x5be7c5,_0x59a247)[_0x3e039c(0x123)](_0x5b9b26=>new _0x2bb7d9(_0x5be7c5,_0x59a247,_0x5b9b26['permissionId'])['id']))[_0x3e039c(0xb6)](),_0x164c8f=new _0x4f1e7d(_0x5be7c5)['id'];return this[_0x3e039c(0xf6)][_0x3e039c(0xb1)]([_0x498594,..._0x2a76a6,..._0x12e2e8,_0x164c8f])[_0x3e039c(0x12b)](_0x2382ce=>!!_0x2382ce[_0x3e039c(0xd8)]);}};f=mi([l(0x0,_0x46c454(_0xc7137)),l(0x1,_0x17dea0),l(0x2,_0x2527f1),l(0x3,_0x4ccfc6),l(0x4,_0x3ba77a),l(0x5,_0x1691d8),l(0x6,_0x46c454(_0x467927)),l(0x7,_0x46c454(_0x5b349c)),l(0x8,_0x46c454(_0xaa3e4d)),l(0x9,_0x46c454(_0x4a0048))],f);const b={'id':'univer.operation.toggle-edit-history','type':_0x176ea2['OPERATION'],'handler':_0x2949bd=>{const _0x479e73=_0x28d4a4,_0x4617fc=_0x2949bd['get'](f),_0x2ec64c=_0x2949bd[_0x479e73(0x121)](_0x17dea0),{unitId:_0x3c67d7}=_0x293682(_0x2ec64c)||{};return _0x3c67d7?(_0x4617fc[_0x479e73(0x126)](_0x3c67d7),!0x0):!0x1;}},W={'id':_0x28d4a4(0x8d),'type':_0x176ea2[_0x28d4a4(0xc3)],'handler':()=>!0x0};function di(_0x3f3435){const _0x114f7c=_0x28d4a4;return{'id':b['id'],'type':_0x2f263a[_0x114f7c(0x10f)],'icon':'HistoryIcon','tooltip':_0x114f7c(0x90),'hidden$':_0x2af65c(_0x3f3435,_0x1b48a5[_0x114f7c(0x94)]),'disabled$':_0x210efd(_0x3f3435,{'workbookTypes':[_0x1c1798,_0x435260],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x157b79[_0x28d4a4(0xe6)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x28d4a4(0xa9)],pi=(_0x11aafb,_0x380052,_0xebeded,_0x452fa1)=>{for(var _0x3e4b1d=_0x452fa1>0x1?void 0x0:_0x452fa1?_i(_0x380052,_0xebeded):_0x380052,_0x400990=_0x11aafb['length']-0x1,_0x35abc2;_0x400990>=0x0;_0x400990--)(_0x35abc2=_0x11aafb[_0x400990])&&(_0x3e4b1d=_0x35abc2(_0x3e4b1d)||_0x3e4b1d);return _0x3e4b1d;},m=(_0x32d021,_0x4f2c81)=>(_0x2c838a,_0x20cf8a)=>_0x4f2c81(_0x2c838a,_0x20cf8a,_0x32d021);let p=class extends _0x547c6d{constructor(_0x530373,_0x5e072e,_0x29aea0,_0x2e88c1,_0x5e34a9,_0x3801c2,_0xced7cf,_0x36c3db){const _0x3d3fea=_0x28d4a4;super(),g(this,_0x3d3fea(0xdc),null),(this[_0x3d3fea(0x8a)]=_0x530373,this[_0x3d3fea(0xb3)]=_0x5e072e,this[_0x3d3fea(0x11e)]=_0x29aea0,this['_historyManagerService']=_0x2e88c1,this[_0x3d3fea(0x125)]=_0x5e34a9,this[_0x3d3fea(0x11c)]=_0x3801c2,this['_collaborationController']=_0xced7cf,this['_localCacheService']=_0x36c3db,this[_0x3d3fea(0xc6)]());}[_0x28d4a4(0xc6)](){const _0x446eed=_0x28d4a4;[b,W]['forEach'](_0xc95f15=>this[_0x446eed(0xf9)](_0x1ec54e(this[_0x446eed(0x8a)][_0x446eed(0xe2)](_0xc95f15)))),this[_0x446eed(0xf9)](this[_0x446eed(0x11e)][_0x446eed(0xd9)](_0x446eed(0x9f),V)),this[_0x446eed(0xb3)]['mergeMenu'](fi),this['disposeWithMe'](this[_0x446eed(0x8a)][_0x446eed(0xac)](_0x19adb2=>{const _0x1987a1=_0x446eed;if(_0x19adb2['id']===_0x20ea47['id']){this[_0x1987a1(0x11c)]['show']({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':_0x17d5cd[_0x1987a1(0x104)],'duration':0x1388});const {unitId:_0x50c5a5}=_0x19adb2['params'],_0x613d47=this['_collaborationController'][_0x1987a1(0xca)](_0x50c5a5),_0x271c2c=_0x501715([_0x613d47[_0x1987a1(0xd7)][_0x1987a1(0xb2)],_0x613d47['state$']])['subscribe'](async([_0x27f8b7,_0x5409ac])=>{const _0x212156=_0x1987a1;var _0x2714d0;_0x27f8b7['eventID']===_0x442c5e[_0x212156(0xeb)]&&(_0x5409ac==null?void 0x0:_0x5409ac[_0x212156(0x8b)])===_0x1b925f[_0x212156(0xea)]&&_0x27f8b7['data'][_0x212156(0x105)][_0x212156(0x10d)](_0x8549e2=>_0x8549e2['id']===_0x20ea47['id'])&&(this[_0x212156(0x128)][_0x212156(0xf7)](),_0x271c2c[_0x212156(0x99)](),this[_0x212156(0xdc)]&&clearTimeout(this[_0x212156(0xdc)]),await((_0x2714d0=this[_0x212156(0xfa)])==null?void 0x0:_0x2714d0[_0x212156(0x10a)]()),setTimeout(()=>window[_0x212156(0xd3)]['reload']()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x1ef59c=_0x1987a1;_0x271c2c[_0x1ef59c(0x99)](),this[_0x1ef59c(0x11c)]['show']({'content':this[_0x1ef59c(0x125)]['t']('editHistory.panel.revertFailed'),'type':_0x17d5cd[_0x1ef59c(0x115)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x4ccfc6),m(0x1,_0x29ebf4),m(0x2,_0x46c454(_0x24ca35)),m(0x3,_0x46c454(f)),m(0x4,_0x46c454(_0xc7137)),m(0x5,_0x3ba77a),m(0x6,_0x46c454(_0x348bd1)),m(0x7,_0x8b9c29)],p);var Si=Object[_0x28d4a4(0xa9)],Ci=(_0x2f66cd,_0x463f0f,_0x4ee4f9,_0x3934c6)=>{const _0x130797=_0x28d4a4;for(var _0x659e95=_0x3934c6>0x1?void 0x0:_0x3934c6?Si(_0x463f0f,_0x4ee4f9):_0x463f0f,_0x44ff86=_0x2f66cd[_0x130797(0xe7)]-0x1,_0x496283;_0x44ff86>=0x0;_0x44ff86--)(_0x496283=_0x2f66cd[_0x44ff86])&&(_0x659e95=_0x496283(_0x659e95)||_0x659e95);return _0x659e95;},R=(_0x1b7c0a,_0x15342d)=>(_0x40201d,_0x404e1a)=>_0x15342d(_0x40201d,_0x404e1a,_0x1b7c0a);const yi=_0x28d4a4(0x110);var _;let H=(_=class extends _0x324003{constructor(_0x17db0e=N,_0x5f431a,_0x48bda2){const _0x3a7349=_0x28d4a4;super(),this[_0x3a7349(0xe5)]=_0x17db0e,this[_0x3a7349(0xfd)]=_0x5f431a,this[_0x3a7349(0x108)]=_0x48bda2;const {menu:_0x388914,..._0x248c32}=_0x242ed3({},N,this[_0x3a7349(0xe5)]);_0x388914&&this['_configService'][_0x3a7349(0x111)](_0x3a7349(0xa7),_0x388914,{'merge':!0x0}),this[_0x3a7349(0x108)][_0x3a7349(0x111)](U,_0x248c32),this[_0x3a7349(0xe5)][_0x3a7349(0xfc)]&&this[_0x3a7349(0x108)][_0x3a7349(0x111)](G,this['_config']['univerContainerId']);}[_0x28d4a4(0xbd)](){const _0x435ecd=_0x28d4a4;[[f],[p]][_0x435ecd(0xb9)](_0x15d24d=>this['_injector'][_0x435ecd(0xc1)](_0x15d24d));}[_0x28d4a4(0x109)](){const _0x2aeb7d=_0x28d4a4;this[_0x2aeb7d(0xfd)][_0x2aeb7d(0x121)](p);}},g(_,_0x28d4a4(0xf3),_0x1b48a5[_0x28d4a4(0xa4)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x46c454(_0xaa3bc2)),R(0x2,_0x2527f1)],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 _0x53541f=_0x1520;(function(_0x2a97ff,_0x5756cc){const _0x3ed7e9=_0x1520,_0x480bb7=_0x2a97ff();while(!![]){try{const _0xfbba79=parseInt(_0x3ed7e9(0x157))/0x1+parseInt(_0x3ed7e9(0x1d5))/0x2+parseInt(_0x3ed7e9(0x187))/0x3*(-parseInt(_0x3ed7e9(0x1e3))/0x4)+-parseInt(_0x3ed7e9(0x169))/0x5*(parseInt(_0x3ed7e9(0x1b2))/0x6)+-parseInt(_0x3ed7e9(0x1e2))/0x7+parseInt(_0x3ed7e9(0x1b4))/0x8+parseInt(_0x3ed7e9(0x191))/0x9;if(_0xfbba79===_0x5756cc)break;else _0x480bb7['push'](_0x480bb7['shift']());}catch(_0xf75dbc){_0x480bb7['push'](_0x480bb7['shift']());}}}(_0x3712,0x5c910));var Y=Object[_0x53541f(0x1dd)],B=(_0x4b2faa,_0x38d7a8,_0x4d7115)=>_0x38d7a8 in _0x4b2faa?Y(_0x4b2faa,_0x38d7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7115}):_0x4b2faa[_0x38d7a8]=_0x4d7115,g=(_0x51d97f,_0x25a131,_0xf72f99)=>B(_0x51d97f,typeof _0x25a131!=_0x53541f(0x16d)?_0x25a131+'':_0x25a131,_0xf72f99);import{Inject as _0x5d2c64,LocaleService as _0x2708aa,IUniverInstanceService as _0x182b3a,IConfigService as _0x4c10ff,ICommandService as _0x196202,IPermissionService as _0x9dc70e,ThemeService as _0x3b4ae1,Disposable as _0x1a55c6,DisposableCollection as _0x71959,Univer as _0x135edd,IAuthzIoService as _0x3fdabe,CommandType as _0x46cba4,UniverInstanceType as _0x2f58be,RxDisposable as _0x54525b,toDisposable as _0x3be409,Plugin as _0x594c54,merge as _0x4dd2b0,Injector as _0x4965aa}from'@univerjs/core';import{UniverCollaborationPlugin as _0x2c2688,RevertRevisionMutation as _0x4c629f,CollaborationEvent as _0x5a87a9}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x5774fd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6f31,CollaborationController as _0x15d5d1,ILocalCacheService as _0x376655,CollaborationStatus as _0x2158d8}from'@univerjs-pro/collaboration-client';import{MessageType as _0x3efc9c}from'@univerjs/design';import{useRef as _0x49ebfc,createElement as _0x4998c9,forwardRef as _0x3d43d0}from'react';import{IMessageService as _0x363f1b,IDialogService as _0xddc01b,ISidebarService as _0x43776b,UniverUIPlugin as _0x1a763c,getMenuHiddenObservable as _0x401f4c,MenuItemType as _0x377869,RibbonStartGroup as _0x5bfa8f,IMenuManagerService as _0x2825c3,ComponentManager as _0x40ac45}from'@univerjs/ui';function _0x3712(){const _0x3b81fd=['get','absolute','__getInjector','editHistory.panel.reverting','disposeWithMe','clipPath','closeAll','assign','white','display','getElementById','_localCacheService','event$','1000','reload','_configService','children','defs','div','getConfig','entries','_config','top','set','getCurrentLocale','UNIVER_CONTAINER_ID','UNIVER_SHEET','editHistory.panel.title','close','_pluginMap','exhaustSavingTask','getAllPlugins','233654oKecIp','edit-history-loader.config','add','register','_revertErrorTimer','composePermission','path','pluginName','defineProperty','Entered','defIds','_injector','position','3983469QbJWan','712636mHhtxC','displayName','_initListener','currentColor','menu','mergeMenu','Error','_historyUniver$','dispose','value','permissionId','from','data','_dialogService','url(#history-icon_clip0_907_281)','workerURL','tag','executeCommand','darkMode$','fill','_univerInstanceService','eventID','_sidebarService','_collaborationController','location','SYNCED','subscribe','_messageService','historyListServerUrl','length','univerjs-icon\x20univerjs-icon-','createElement','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','506542awWpEc','appendChild','map','OTHERS','HistoryIcon','params','_themeService','_permissionService','1em','onSteady','xlink:href','dataset','unMountHistoryContent','UNIVER_UNKNOWN','unsubscribe','getOwnPropertyDescriptor','_menuManagerService','editHistory.panel.revertFailed','36625AEdsIt','univerContainerId','substring','asObservable','symbol','mask','_localeService','_init','getUnit','includes','setLocale','univer.operation.toggle-edit-history','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','revertRevision$','http://www.w3.org/2000/svg','100%','attrs','left','flat','mutations','_initContainer','use','_initPlugins','OPERATION','history-icon_clip0_907_281','editHistory.panel.listFetchError','getCollabEntity','string','none','_initUniver','3oJqZLe','getSubunitRuleList','UniverIcon','setConfig','BUTTON','colorChannel1','state$','CHANGESET_ACK','values','width','3689118uRVEEb','univer-container','_commandService','currentTheme$','history-container','clear','next','status$','registerPlugin','univer.operation.exit-edit-history','forEach','./worker.js','historyUniver','_historyManagerService','idSuffix','[HistoryLoaderService]:\x20Plugin\x20','has','triggerLoadVersions','_selectionProtectionRuleModel','_componentManager','0\x200\x2016\x2016','historyPanelComponentKey','url(#$1','historyUniver$','style','height','mountHistoryContent','_checkCanRevert','setTheme','every','random','show','onStarting','204TPgMpe','_disposableCollection','2737256DMyovc'];_0x3712=function(){return _0x3b81fd;};return _0x3712();}import{BehaviorSubject as _0x590644,combineLatest as _0xfe74b9}from'rxjs';import{RangeProtectionRuleModel as _0x4fbab5,UniverSheetsPlugin as _0x58d66a,WorkbookEditablePermission as _0x54d446,WorksheetEditPermission as _0x5d953d,RangeProtectionPermissionEditPoint as _0x1d9c33,WorkbookRecoverHistoryPermission as _0x20647a,getSheetCommandTarget as _0x30b8ac,WorkbookViewHistoryPermission as _0x6b04a1}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x21fa92,HistoryManagerService as _0x3d400a,HistoryModeStatus as _0x4f3344}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x143642,UniverLicensePlugin as _0x256074}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x34cf18}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x6c25cf}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x5d14f7}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x208b9b}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x4c1013}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x5d50da}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x205185}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4d3983}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0xdda6a6,IImageIoService as _0x3c8735}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2c7ed7}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x1aa453}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x44d307}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x4bf8da}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1da87e,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x1cd655}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x599dc8}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x414f2f}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2ef40d}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x25fce9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x464097}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0xbbf862}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3480aa}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0xc98179}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x2120e4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x29b17a}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x44fd6f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x16b306}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2de7e4}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x15a0e8,getCurrentRangeDisable$ as _0x3d6fdd}from'@univerjs/sheets-ui';const U=_0x53541f(0x1d6),N={};function F({ref:_0x4cbdc5,..._0x408d69}){const _0x42ba43=_0x53541f,{icon:_0x267dbc,id:_0x46badf,className:_0x5628a7,extend:_0x2e9193,..._0x4e0998}=_0x408d69,_0x361d35=(_0x42ba43(0x154)+_0x46badf+'\x20'+(_0x5628a7||''))['trim'](),_0x3c6232=_0x49ebfc('_'+hi());return j(_0x267dbc,''+_0x46badf,{'defIds':_0x267dbc[_0x42ba43(0x1df)],'idSuffix':_0x3c6232['current']},{'ref':_0x4cbdc5,'className':_0x361d35,..._0x4e0998},_0x2e9193);}function j(_0x2b0a1c,_0x4a90dd,_0x231ca6,_0x3ff12c,_0x8a18b3){const _0x115976=_0x53541f;return _0x4998c9(_0x2b0a1c[_0x115976(0x146)],{'key':_0x4a90dd,...ci(_0x2b0a1c,_0x231ca6,_0x8a18b3),..._0x3ff12c},(li(_0x2b0a1c,_0x231ca6)[_0x115976(0x1c5)]||[])[_0x115976(0x159)]((_0x953c66,_0x90b64f)=>j(_0x953c66,_0x4a90dd+'-'+_0x2b0a1c[_0x115976(0x146)]+'-'+_0x90b64f,_0x231ca6,void 0x0,_0x8a18b3)));}function ci(_0x893eb3,_0x1cae9d,_0x2e83c4){const _0x2a3193=_0x53541f,_0xe66148={..._0x893eb3[_0x2a3193(0x179)]};_0x2e83c4!=null&&_0x2e83c4[_0x2a3193(0x18c)]&&_0xe66148['fill']===_0x2a3193(0x18c)&&(_0xe66148[_0x2a3193(0x149)]=_0x2e83c4['colorChannel1']),_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x16e)&&_0xe66148['id']&&(_0xe66148['id']=_0xe66148['id']+_0x1cae9d[_0x2a3193(0x19f)]),Object[_0x2a3193(0x1c9)](_0xe66148)['forEach'](([_0x11d7ec,_0x443e64])=>{const _0x418520=_0x2a3193;_0x11d7ec==='mask'&&typeof _0x443e64==_0x418520(0x184)&&(_0xe66148[_0x11d7ec]=_0x443e64['replace'](/url\(#(.*)\)/,_0x418520(0x1a7)+_0x1cae9d[_0x418520(0x19f)]+')'));});const {defIds:_0x3e6fa1}=_0x1cae9d;return!_0x3e6fa1||_0x3e6fa1['length']===0x0||(_0x893eb3[_0x2a3193(0x146)]===_0x2a3193(0x17e)&&_0xe66148[_0x2a3193(0x161)]&&(_0xe66148['xlink:href']=_0xe66148[_0x2a3193(0x161)]+_0x1cae9d[_0x2a3193(0x19f)]),Object['entries'](_0xe66148)['forEach'](([_0x2e1239,_0x4a27b5])=>{const _0x5b8b96=_0x2a3193;typeof _0x4a27b5=='string'&&(_0xe66148[_0x2e1239]=_0x4a27b5['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1cae9d[_0x5b8b96(0x19f)]+')'));})),_0xe66148;}function li(_0x5851ce,_0x3e8b55){const _0x4a5b5b=_0x53541f;var _0x432e8e;const {defIds:_0x46e1dd}=_0x3e8b55;return!_0x46e1dd||_0x46e1dd['length']===0x0?_0x5851ce:_0x5851ce[_0x4a5b5b(0x146)]===_0x4a5b5b(0x1c6)&&((_0x432e8e=_0x5851ce[_0x4a5b5b(0x1c5)])!=null&&_0x432e8e[_0x4a5b5b(0x153)])?{..._0x5851ce,'children':_0x5851ce[_0x4a5b5b(0x1c5)][_0x4a5b5b(0x159)](_0x39fa1b=>typeof _0x39fa1b['attrs']['id']=='string'&&_0x46e1dd&&_0x46e1dd[_0x4a5b5b(0x172)](_0x39fa1b[_0x4a5b5b(0x179)]['id'])?{..._0x39fa1b,'attrs':{..._0x39fa1b['attrs'],'id':_0x39fa1b[_0x4a5b5b(0x179)]['id']+_0x3e8b55[_0x4a5b5b(0x19f)]}}:_0x39fa1b)}:_0x5851ce;}function hi(){const _0x596839=_0x53541f;return Math[_0x596839(0x1af)]()['toString'](0x24)[_0x596839(0x16b)](0x2,0x8);}F[_0x53541f(0x1e4)]=_0x53541f(0x189);const ui={'tag':'svg','attrs':{'xmlns':_0x53541f(0x177),'fill':_0x53541f(0x185),'viewBox':_0x53541f(0x1a5),'width':_0x53541f(0x15f),'height':_0x53541f(0x15f)},'children':[{'tag':'g','attrs':{'fill':_0x53541f(0x1e6),'clipPath':_0x53541f(0x144)},'children':[{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x156)}},{'tag':_0x53541f(0x1db),'attrs':{'d':_0x53541f(0x175)}}]},{'tag':_0x53541f(0x1c6),'attrs':{},'children':[{'tag':_0x53541f(0x1ba),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x53541f(0x1db),'attrs':{'fill':_0x53541f(0x1bd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x53541f(0x181)]},V=_0x3d43d0(function(_0x341bf8,_0x30cfe8){const _0x433097=_0x53541f;return _0x4998c9(F,Object[_0x433097(0x1bc)]({},_0x341bf8,{'id':'history-icon','ref':_0x30cfe8,'icon':ui}));});V[_0x53541f(0x1e4)]='HistoryIcon';var gi=Object[_0x53541f(0x166)],mi=(_0x32b6cf,_0x78999d,_0x34cfaa,_0x47d3cb)=>{const _0x29060b=_0x53541f;for(var _0x3c3155=_0x47d3cb>0x1?void 0x0:_0x47d3cb?gi(_0x78999d,_0x34cfaa):_0x78999d,_0x357c2e=_0x32b6cf[_0x29060b(0x153)]-0x1,_0x19e1aa;_0x357c2e>=0x0;_0x357c2e--)(_0x19e1aa=_0x32b6cf[_0x357c2e])&&(_0x3c3155=_0x19e1aa(_0x3c3155)||_0x3c3155);return _0x3c3155;},l=(_0x43504e,_0x548d29)=>(_0x1d3c09,_0x2b4d1b)=>_0x548d29(_0x1d3c09,_0x2b4d1b,_0x43504e);const vi=_0x53541f(0x192),G=_0x53541f(0x1ce),d='univer-history-container';let f=class extends _0x1a55c6{constructor(_0x541c3f,_0x21a113,_0x4f9c1c,_0x2e1398,_0x4d437d,_0x2bb5d1,_0x2597be,_0x4e6856,_0x3bd828,_0x535ded){const _0x14c166=_0x53541f;super(),g(this,_0x14c166(0x1ea),new _0x590644(null)),g(this,_0x14c166(0x1a8),this['_historyUniver$'][_0x14c166(0x16c)]()),g(this,_0x14c166(0x1b3),new _0x71959()),g(this,_0x14c166(0x1d2),new Map()),(this[_0x14c166(0x16f)]=_0x541c3f,this[_0x14c166(0x14a)]=_0x21a113,this[_0x14c166(0x1c4)]=_0x4f9c1c,this[_0x14c166(0x193)]=_0x2e1398,this[_0x14c166(0x151)]=_0x4d437d,this['_permissionService']=_0x2bb5d1,this[_0x14c166(0x1a3)]=_0x2597be,this[_0x14c166(0x143)]=_0x4e6856,this['_sidebarService']=_0x3bd828,this[_0x14c166(0x15d)]=_0x535ded,this[_0x14c166(0x170)]());}get[_0x53541f(0x19d)](){const _0x5f443c=_0x53541f;return this[_0x5f443c(0x1ea)][_0x5f443c(0x1ec)];}['_init'](){this['_initContainer'](),this['_initPlugins']();}[_0x53541f(0x17d)](){const _0x4f91bd=_0x53541f;var _0x32f6db;const _0x3237d8=(_0x32f6db=this[_0x4f91bd(0x1c4)][_0x4f91bd(0x1c8)](G))!=null?_0x32f6db:vi,_0x379657=document[_0x4f91bd(0x1bf)](_0x3237d8);if(!_0x379657)return;const _0x515e99=document[_0x4f91bd(0x155)](_0x4f91bd(0x1c7));_0x515e99['id']=d,_0x515e99[_0x4f91bd(0x162)]['uComp']=_0x4f91bd(0x195),_0x515e99['style'][_0x4f91bd(0x1e1)]=_0x4f91bd(0x1b6),_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x1cb)]='0',_0x515e99['style'][_0x4f91bd(0x17a)]='0',_0x515e99[_0x4f91bd(0x1a9)][_0x4f91bd(0x190)]=_0x4f91bd(0x178),_0x515e99['style'][_0x4f91bd(0x1aa)]=_0x4f91bd(0x178),_0x515e99[_0x4f91bd(0x1a9)]['zIndex']=_0x4f91bd(0x1c2),_0x515e99['style'][_0x4f91bd(0x1be)]=_0x4f91bd(0x185),_0x379657[_0x4f91bd(0x158)](_0x515e99);}[_0x53541f(0x17f)](){const _0x5d1633=_0x53541f;var _0x5d60a2,_0x2690ef,_0x52cdb5,_0x14931d;[[_0x44d307],[_0x1a763c,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xddc01b,null]]}],[_0x4bf8da],[_0xdda6a6,{'override':[[_0x3c8735,null]]}],[_0x205185,{'hasScroll':!0x1}],[_0x4d3983],[_0x2de7e4],[_0x58d66a,{'notExecuteFormula':!0x0}],[_0x15a0e8],[_0x2120e4],[_0x29b17a],[_0x2c2688],[_0x3480aa],[_0xc98179],[_0x599dc8],[_0x414f2f],[_0x44fd6f],[_0x16b306],[_0x5d50da],[_0x2ef40d],[_0x25fce9],[_0x1aa453,{'notExecuteFormula':!0x0}],[_0x1da87e,{'workerURL':(_0x2690ef=(_0x5d60a2=this[_0x5d1633(0x1c4)][_0x5d1633(0x1c8)](_0x1cd655))==null?void 0x0:_0x5d60a2[_0x5d1633(0x145)])!=null?_0x2690ef:_0x5d1633(0x19c)}],[_0x2c7ed7],[_0x464097],[_0xbbf862],[_0x208b9b],[_0x4c1013],[_0x34cf18],[_0x6c25cf],[_0x5d14f7,{'notExecuteFormula':!0x0}],[_0x21fa92,{'historyListServerUrl':(_0x52cdb5=this['_configService'][_0x5d1633(0x1c8)](U))==null?void 0x0:_0x52cdb5[_0x5d1633(0x152)],'historyPanelComponentKey':(_0x14931d=this['_configService']['getConfig'](U))==null?void 0x0:_0x14931d[_0x5d1633(0x1a6)]}]]['forEach'](([_0x377b8d,_0x3e68cf])=>this[_0x5d1633(0x199)](_0x377b8d,_0x3e68cf));}['dispose'](){const _0x560e59=_0x53541f;super[_0x560e59(0x1eb)](),this['unMountHistoryContent'](),this[_0x560e59(0x1d2)][_0x560e59(0x196)]();}[_0x53541f(0x199)](_0x3c2134,_0x4cc55c,_0x5e3c1f){const _0x1bd2bb=_0x53541f;if(this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1a1)](_0x3c2134[_0x1bd2bb(0x1dc)])&&!_0x5e3c1f)throw new Error(_0x1bd2bb(0x1a0)+_0x3c2134[_0x1bd2bb(0x1dc)]+'\x20has\x20been\x20registered.');this[_0x1bd2bb(0x1d2)][_0x1bd2bb(0x1cc)](_0x3c2134[_0x1bd2bb(0x1dc)],[_0x3c2134,_0x4cc55c]);}[_0x53541f(0x1d4)](){const _0x4507d0=_0x53541f;return Array[_0x4507d0(0x141)](this[_0x4507d0(0x1d2)][_0x4507d0(0x18f)]());}[_0x53541f(0x1ab)](_0x155913){const _0x2ee114=_0x53541f,_0x42505a=document['getElementById'](d);_0x42505a&&(_0x42505a[_0x2ee114(0x1a9)][_0x2ee114(0x1be)]='block',this['_initUniver'](_0x155913,d));}[_0x53541f(0x163)](){const _0x466754=_0x53541f;var _0x12ae48;this['_disposableCollection'][_0x466754(0x1eb)](),(_0x12ae48=this['historyUniver'])==null||_0x12ae48[_0x466754(0x1eb)](),this[_0x466754(0x1ea)][_0x466754(0x197)](null);const _0x301da7=document['getElementById'](d);_0x301da7&&(_0x301da7[_0x466754(0x1a9)][_0x466754(0x1be)]=_0x466754(0x185));}[_0x53541f(0x186)](_0x36f787,_0x2ed51a){const _0x2b09a3=_0x53541f;if(this[_0x2b09a3(0x19d)])return;const _0xd9e3b3=new _0x135edd({'locales':{[this['_localeService'][_0x2b09a3(0x1cd)]()]:this[_0x2b09a3(0x16f)]['getLocales']()},'override':[[_0x3fdabe,{'useClass':_0x5774fd}]]}),_0x17dc6b=_0xd9e3b3[_0x2b09a3(0x1b7)]();this[_0x2b09a3(0x1b9)](this[_0x2b09a3(0x15d)][_0x2b09a3(0x148)][_0x2b09a3(0x150)](_0x4a4497=>{const _0x51536c=_0x2b09a3;_0x17dc6b[_0x51536c(0x1b5)](_0x3b4ae1)['setDarkMode'](_0x4a4497);})),this['disposeWithMe'](this[_0x2b09a3(0x15d)][_0x2b09a3(0x194)][_0x2b09a3(0x150)](_0x1be021=>{const _0x52c8d2=_0x2b09a3;_0x17dc6b[_0x52c8d2(0x1b5)](_0x3b4ae1)[_0x52c8d2(0x1ad)](_0x1be021);})),_0x17dc6b[_0x2b09a3(0x1b5)](_0x2708aa)[_0x2b09a3(0x173)](this[_0x2b09a3(0x16f)][_0x2b09a3(0x1cd)]()),_0x17dc6b[_0x2b09a3(0x1b5)](_0x4c10ff)['setConfig'](_0x5e6f31,this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x5e6f31));const _0xe2a6b2=this[_0x2b09a3(0x1c4)][_0x2b09a3(0x1c8)](_0x143642);_0xe2a6b2&&_0xd9e3b3[_0x2b09a3(0x199)](_0x256074,{'license':_0xe2a6b2['ls']}),this['_pluginMap'][_0x2b09a3(0x19b)](([_0x53322e,_0x173fb7])=>{const _0x33874d=_0x2b09a3;_0xd9e3b3[_0x33874d(0x199)](_0x53322e,_0x173fb7);}),_0x17dc6b['invoke'](_0x1cbb4e=>{const _0xbb52f7=_0x2b09a3;this[_0xbb52f7(0x1e5)](_0x1cbb4e,_0x36f787);}),this[_0x2b09a3(0x1ea)]['next'](_0xd9e3b3);const _0x2a9224=_0x17dc6b['get'](_0x3d400a),_0x75921e=this[_0x2b09a3(0x1ac)](_0x36f787);_0x2a9224[_0x2b09a3(0x1a2)](_0x36f787,_0x2ed51a,_0x75921e);}[_0x53541f(0x1e5)](_0x46fb6d,_0x40fa34){const _0x25ccd5=_0x53541f,_0x2b7b59=_0x46fb6d[_0x25ccd5(0x1b5)](_0x3d400a);this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x198)][_0x25ccd5(0x150)](_0x7a540f=>{const _0x13a110=_0x25ccd5;switch(_0x7a540f){case _0x4f3344[_0x13a110(0x1de)]:this[_0x13a110(0x143)][_0x13a110(0x1bb)](),this[_0x13a110(0x14c)][_0x13a110(0x1d1)]();break;case _0x4f3344['Exited']:this[_0x13a110(0x193)]['executeCommand'](W['id']),this[_0x13a110(0x163)]();break;case _0x4f3344[_0x13a110(0x1e9)]:this['unMountHistoryContent'](),this['_messageService'][_0x13a110(0x1b0)]({'content':this['_localeService']['t'](_0x13a110(0x182)),'type':_0x3efc9c[_0x13a110(0x1e9)],'duration':0xbb8});break;}})),this[_0x25ccd5(0x1b3)][_0x25ccd5(0x1d7)](_0x2b7b59[_0x25ccd5(0x176)][_0x25ccd5(0x150)](async _0x2498b9=>{const _0x3e529f=_0x25ccd5;_0x2498b9&&this['_commandService'][_0x3e529f(0x147)](_0x4c629f['id'],{'unitId':_0x40fa34,'revision':_0x2498b9});}));}[_0x53541f(0x1ac)](_0x59977c){const _0x2320eb=_0x53541f,_0x3633d6=this[_0x2320eb(0x14a)][_0x2320eb(0x171)](_0x59977c)['getSheets']()[_0x2320eb(0x159)](_0x4e7ec4=>_0x4e7ec4['getSheetId']()),_0x4d2829=new _0x54d446(_0x59977c)['id'],_0x1e9ab0=_0x3633d6[_0x2320eb(0x159)](_0x2c7d6b=>new _0x5d953d(_0x59977c,_0x2c7d6b)['id']),_0x303432=_0x3633d6[_0x2320eb(0x159)](_0x266f52=>this[_0x2320eb(0x1a3)][_0x2320eb(0x188)](_0x59977c,_0x266f52)[_0x2320eb(0x159)](_0x530518=>new _0x1d9c33(_0x59977c,_0x266f52,_0x530518[_0x2320eb(0x1ed)])['id']))[_0x2320eb(0x17b)](),_0x5f4298=new _0x20647a(_0x59977c)['id'];return this[_0x2320eb(0x15e)][_0x2320eb(0x1da)]([_0x4d2829,..._0x1e9ab0,..._0x303432,_0x5f4298])[_0x2320eb(0x1ae)](_0x5233ef=>!!_0x5233ef['value']);}};f=mi([l(0x0,_0x5d2c64(_0x2708aa)),l(0x1,_0x182b3a),l(0x2,_0x4c10ff),l(0x3,_0x196202),l(0x4,_0x363f1b),l(0x5,_0x9dc70e),l(0x6,_0x5d2c64(_0x4fbab5)),l(0x7,_0x5d2c64(_0xddc01b)),l(0x8,_0x5d2c64(_0x43776b)),l(0x9,_0x5d2c64(_0x3b4ae1))],f);function _0x1520(_0x120700,_0x256e57){_0x120700=_0x120700-0x141;const _0x371282=_0x3712();let _0x15200e=_0x371282[_0x120700];return _0x15200e;}const b={'id':_0x53541f(0x174),'type':_0x46cba4[_0x53541f(0x180)],'handler':_0x3ce659=>{const _0x3793e7=_0x53541f,_0x310095=_0x3ce659['get'](f),_0x1bac70=_0x3ce659['get'](_0x182b3a),{unitId:_0x115163}=_0x30b8ac(_0x1bac70)||{};return _0x115163?(_0x310095[_0x3793e7(0x1ab)](_0x115163),!0x0):!0x1;}},W={'id':_0x53541f(0x19a),'type':_0x46cba4[_0x53541f(0x180)],'handler':()=>!0x0};function di(_0x35dfd4){const _0x46f043=_0x53541f;return{'id':b['id'],'type':_0x377869[_0x46f043(0x18b)],'icon':_0x46f043(0x15b),'tooltip':_0x46f043(0x1d0),'hidden$':_0x401f4c(_0x35dfd4,_0x2f58be[_0x46f043(0x1cf)]),'disabled$':_0x3d6fdd(_0x35dfd4,{'workbookTypes':[_0x54d446,_0x6b04a1],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x5bfa8f[_0x53541f(0x15a)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0xbc0412,_0x1ce2dc,_0x2977e4,_0x173692)=>{const _0x37616b=_0x53541f;for(var _0x25d987=_0x173692>0x1?void 0x0:_0x173692?_i(_0x1ce2dc,_0x2977e4):_0x1ce2dc,_0x4da467=_0xbc0412[_0x37616b(0x153)]-0x1,_0x44456f;_0x4da467>=0x0;_0x4da467--)(_0x44456f=_0xbc0412[_0x4da467])&&(_0x25d987=_0x44456f(_0x25d987)||_0x25d987);return _0x25d987;},m=(_0x593071,_0x169f66)=>(_0x36ec61,_0x28c6a1)=>_0x169f66(_0x36ec61,_0x28c6a1,_0x593071);let p=class extends _0x54525b{constructor(_0x4824a5,_0x4f50c0,_0x48afbe,_0x40c72c,_0xd16aa9,_0x19a76d,_0x4e1791,_0x4c1ce4){const _0x40e9b4=_0x53541f;super(),g(this,_0x40e9b4(0x1d9),null),(this['_commandService']=_0x4824a5,this[_0x40e9b4(0x167)]=_0x4f50c0,this[_0x40e9b4(0x1a4)]=_0x48afbe,this[_0x40e9b4(0x19e)]=_0x40c72c,this['_localeService']=_0xd16aa9,this[_0x40e9b4(0x151)]=_0x19a76d,this[_0x40e9b4(0x14d)]=_0x4e1791,this[_0x40e9b4(0x1c0)]=_0x4c1ce4,this[_0x40e9b4(0x170)]());}[_0x53541f(0x170)](){const _0x35dd30=_0x53541f;[b,W][_0x35dd30(0x19b)](_0xcbd5de=>this[_0x35dd30(0x1b9)](_0x3be409(this[_0x35dd30(0x193)]['registerCommand'](_0xcbd5de)))),this[_0x35dd30(0x1b9)](this['_componentManager'][_0x35dd30(0x1d8)]('HistoryIcon',V)),this[_0x35dd30(0x167)][_0x35dd30(0x1e8)](fi),this['disposeWithMe'](this[_0x35dd30(0x193)]['onCommandExecuted'](_0x6c95a1=>{const _0x4b323b=_0x35dd30;if(_0x6c95a1['id']===_0x4c629f['id']){this[_0x4b323b(0x151)][_0x4b323b(0x1b0)]({'content':this[_0x4b323b(0x16f)]['t'](_0x4b323b(0x1b8)),'type':_0x3efc9c['Loading'],'duration':0x1388});const {unitId:_0x43288a}=_0x6c95a1[_0x4b323b(0x15c)],_0x527a9e=this['_collaborationController'][_0x4b323b(0x183)](_0x43288a),_0x4f5d83=_0xfe74b9([_0x527a9e['session'][_0x4b323b(0x1c1)],_0x527a9e[_0x4b323b(0x18d)]])['subscribe'](async([_0x343584,_0xc69cdf])=>{const _0x82f794=_0x4b323b;var _0x6410a1;_0x343584[_0x82f794(0x14b)]===_0x5a87a9[_0x82f794(0x18e)]&&(_0xc69cdf==null?void 0x0:_0xc69cdf['status'])===_0x2158d8[_0x82f794(0x14f)]&&_0x343584[_0x82f794(0x142)][_0x82f794(0x17c)]['some'](_0x5643f6=>_0x5643f6['id']===_0x4c629f['id'])&&(this[_0x82f794(0x19e)][_0x82f794(0x163)](),_0x4f5d83[_0x82f794(0x165)](),this[_0x82f794(0x1d9)]&&clearTimeout(this[_0x82f794(0x1d9)]),await((_0x6410a1=this[_0x82f794(0x1c0)])==null?void 0x0:_0x6410a1[_0x82f794(0x1d3)]()),setTimeout(()=>window[_0x82f794(0x14e)][_0x82f794(0x1c3)]()));});this[_0x4b323b(0x1d9)]=setTimeout(()=>{const _0x548263=_0x4b323b;_0x4f5d83[_0x548263(0x165)](),this[_0x548263(0x151)][_0x548263(0x1b0)]({'content':this[_0x548263(0x16f)]['t'](_0x548263(0x168)),'type':_0x3efc9c[_0x548263(0x1e9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x196202),m(0x1,_0x2825c3),m(0x2,_0x5d2c64(_0x40ac45)),m(0x3,_0x5d2c64(f)),m(0x4,_0x5d2c64(_0x2708aa)),m(0x5,_0x363f1b),m(0x6,_0x5d2c64(_0x15d5d1)),m(0x7,_0x376655)],p);var Si=Object[_0x53541f(0x166)],Ci=(_0x31a54b,_0x4a8ad2,_0x3f0689,_0x8690fa)=>{const _0x7c1aa1=_0x53541f;for(var _0x283811=_0x8690fa>0x1?void 0x0:_0x8690fa?Si(_0x4a8ad2,_0x3f0689):_0x4a8ad2,_0x3461de=_0x31a54b[_0x7c1aa1(0x153)]-0x1,_0x457007;_0x3461de>=0x0;_0x3461de--)(_0x457007=_0x31a54b[_0x3461de])&&(_0x283811=_0x457007(_0x283811)||_0x283811);return _0x283811;},R=(_0x29aaa0,_0x481696)=>(_0x4c6bf1,_0x2f9229)=>_0x481696(_0x4c6bf1,_0x2f9229,_0x29aaa0);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x594c54{constructor(_0x2ed80e=N,_0x77be5c,_0x1361c0){const _0x59cfcd=_0x53541f;super(),this[_0x59cfcd(0x1ca)]=_0x2ed80e,this['_injector']=_0x77be5c,this[_0x59cfcd(0x1c4)]=_0x1361c0;const {menu:_0x3247f3,..._0x475cf8}=_0x4dd2b0({},N,this['_config']);_0x3247f3&&this[_0x59cfcd(0x1c4)][_0x59cfcd(0x18a)](_0x59cfcd(0x1e7),_0x3247f3,{'merge':!0x0}),this['_configService'][_0x59cfcd(0x18a)](U,_0x475cf8),this[_0x59cfcd(0x1ca)][_0x59cfcd(0x16a)]&&this['_configService'][_0x59cfcd(0x18a)](G,this['_config'][_0x59cfcd(0x16a)]);}[_0x53541f(0x1b1)](){const _0xca667b=_0x53541f;[[f],[p]]['forEach'](_0x1d1ea6=>this[_0xca667b(0x1e0)]['add'](_0x1d1ea6));}[_0x53541f(0x160)](){const _0x5c6d50=_0x53541f;this[_0x5c6d50(0x1e0)][_0x5c6d50(0x1b5)](p);}},g(_,'type',_0x2f58be[_0x53541f(0x164)]),g(_,_0x53541f(0x1dc),yi),_);H=Ci([R(0x1,_0x5d2c64(_0x4965aa)),R(0x2,_0x4c10ff)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x28d4a4=_0x5c8e;(function(_0xa20acb,_0x5ed8c9){const _0x3bfad2=_0x5c8e,_0x29810d=_0xa20acb();while(!![]){try{const _0x8217fe=parseInt(_0x3bfad2(0xb4))/0x1+-parseInt(_0x3bfad2(0x113))/0x2+parseInt(_0x3bfad2(0x9b))/0x3*(-parseInt(_0x3bfad2(0x10b))/0x4)+-parseInt(_0x3bfad2(0xa0))/0x5+parseInt(_0x3bfad2(0x9e))/0x6+parseInt(_0x3bfad2(0x8c))/0x7+parseInt(_0x3bfad2(0x10e))/0x8*(parseInt(_0x3bfad2(0xb5))/0x9);if(_0x8217fe===_0x5ed8c9)break;else _0x29810d['push'](_0x29810d['shift']());}catch(_0x450c1e){_0x29810d['push'](_0x29810d['shift']());}}}(_0x1c47,0x67f3b));var Y=Object['defineProperty'],B=(_0x2c97d4,_0x1acba2,_0x11b547)=>_0x1acba2 in _0x2c97d4?Y(_0x2c97d4,_0x1acba2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b547}):_0x2c97d4[_0x1acba2]=_0x11b547,g=(_0x4ce485,_0x941cc,_0x5ae1b2)=>B(_0x4ce485,typeof _0x941cc!='symbol'?_0x941cc+'':_0x941cc,_0x5ae1b2);import{Inject as _0x46c454,LocaleService as _0xc7137,IUniverInstanceService as _0x17dea0,IConfigService as _0x2527f1,ICommandService as _0x4ccfc6,IPermissionService as _0x1691d8,ThemeService as _0x4a0048,Disposable as _0x11f04e,DisposableCollection as _0x1096e7,Univer as _0x2b206b,IAuthzIoService as _0x36ad80,CommandType as _0x176ea2,UniverInstanceType as _0x1b48a5,RxDisposable as _0x547c6d,toDisposable as _0x1ec54e,Plugin as _0x324003,merge as _0x242ed3,Injector as _0xaa3bc2}from'@univerjs/core';import{UniverCollaborationPlugin as _0x593c16,RevertRevisionMutation as _0x20ea47,CollaborationEvent as _0x442c5e}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x381e88,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5e6ad0,CollaborationController as _0x348bd1,ILocalCacheService as _0x8b9c29,CollaborationStatus as _0x1b925f}from'@univerjs-pro/collaboration-client';import{MessageType as _0x17d5cd}from'@univerjs/design';import{useRef as _0x4c0168,createElement as _0x4ad07b,forwardRef as _0x46c5f0}from'react';import{IMessageService as _0x3ba77a,IDialogService as _0x5b349c,ISidebarService as _0xaa3e4d,UniverUIPlugin as _0x17bb2b,getMenuHiddenObservable as _0x2af65c,MenuItemType as _0x2f263a,RibbonStartGroup as _0x157b79,IMenuManagerService as _0x29ebf4,ComponentManager as _0x24ca35}from'@univerjs/ui';import{BehaviorSubject as _0x394d58,combineLatest as _0x501715}from'rxjs';import{RangeProtectionRuleModel as _0x467927,UniverSheetsPlugin as _0x13bd3e,WorkbookEditablePermission as _0x1c1798,WorksheetEditPermission as _0xf0f0c1,RangeProtectionPermissionEditPoint as _0x2bb7d9,WorkbookRecoverHistoryPermission as _0x4f1e7d,getSheetCommandTarget as _0x293682,WorkbookViewHistoryPermission as _0x435260}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x1d2ee2,HistoryManagerService as _0x77b50a,HistoryModeStatus as _0x347aa0}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x3bf7c0,UniverLicensePlugin as _0x53e7a7}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x291ecb}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x1786fc}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x37e050}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x30b9d4}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x364408}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x1b0993}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x7a73da}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x4c0c75}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x38a33c,IImageIoService as _0x321682}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x2801b8}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x40c6c2}from'@univerjs/engine-formula';function _0x5c8e(_0x22d724,_0x235b93){_0x22d724=_0x22d724-0x88;const _0x1c4735=_0x1c47();let _0x5c8e32=_0x1c4735[_0x22d724];return _0x5c8e32;}import{UniverRenderEnginePlugin as _0x35a05d}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x5ca7ac}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x48d937,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x5e32c6}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x1a43ef}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x286bab}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x65aeff}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x126307}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x3d69d5}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x368aac}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3f0407}from'@univerjs/sheets-filter';function _0x1c47(){const _0x3b41be=['_disposableCollection','left','_config','OTHERS','length','colorChannel1','UNIVER_CONTAINER_ID','SYNCED','CHANGESET_ACK','next','100%','historyListServerUrl','replace','M0\x200H16V16H0z','getSubunitRuleList','getCurrentLocale','type','setTheme','asObservable','_permissionService','unMountHistoryContent','_sidebarService','disposeWithMe','_localCacheService','defIds','univerContainerId','_injector','editHistory.panel.listFetchError','darkMode$','univerjs-icon\x20univerjs-icon-','getConfig','1000','attrs','Loading','mutations','substring','xlink:href','_configService','onSteady','exhaustSavingTask','2189084vTlQud','url(#$1','some','1558936ntVBPr','BUTTON','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','setConfig','height','1071480kMSSve','svg','Error','appendChild','clear','style','Exited','show','closeAll','_messageService','dispose','_componentManager','triggerLoadVersions','none','get','children','map','tag','_localeService','mountHistoryContent','position','_historyManagerService','absolute','random','every','currentColor','setDarkMode','includes','./worker.js','_commandService','status','2138157QhvgBb','univer.operation.exit-edit-history','getElementById','displayName','editHistory.panel.title','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','getAllPlugins','\x20has\x20been\x20registered.','UNIVER_SHEET','_initListener','_checkCanRevert','assign','getUnit','unsubscribe','clipPath','3tfgXXt','_pluginMap','invoke','4802442GjVjvY','HistoryIcon','2990585krRyGJ','history-container','display','univer-history-container','UNIVER_UNKNOWN','_historyUniver$','from','menu','defs','getOwnPropertyDescriptor','UniverIcon','history-icon_clip0_907_281','onCommandExecuted','path','workerURL','1em','uComp','composePermission','event$','_menuManagerService','26722nsNLgd','45BqvuSa','flat','getSheetId','_univerInstanceService','forEach','entries','toString','[HistoryLoaderService]:\x20Plugin\x20','onStarting','_initContainer','historyPanelComponentKey','Entered','add','_initUniver','OPERATION','_themeService','has','_init','dataset','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','history-icon','getCollabEntity','values','createElement','setLocale','historyUniver','executeCommand','historyUniver$','currentTheme$','subscribe','location','mask','pluginName','_dialogService','session','value','register','string','idSuffix','_revertErrorTimer','getSheets','0\x200\x2016\x2016','fill','registerPlugin','width','registerCommand'];_0x1c47=function(){return _0x3b41be;};return _0x1c47();}import{UniverSheetsFilterUIPlugin as _0x12cab8}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x40fd4d}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x15b5be}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x142267}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x1d13f8}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x3e1f23}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0xcbf460,getCurrentRangeDisable$ as _0x210efd}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x5d5e23,..._0x22b364}){const _0x4fca1c=_0x5c8e,{icon:_0x56ca74,id:_0x124470,className:_0x31115d,extend:_0x512a91,..._0x2fd60f}=_0x22b364,_0x2ddf61=(_0x4fca1c(0x100)+_0x124470+'\x20'+(_0x31115d||''))['trim'](),_0xd2fa37=_0x4c0168('_'+hi());return j(_0x56ca74,''+_0x124470,{'defIds':_0x56ca74[_0x4fca1c(0xfb)],'idSuffix':_0xd2fa37['current']},{'ref':_0x5d5e23,'className':_0x2ddf61,..._0x2fd60f},_0x512a91);}function j(_0x45965e,_0x259cc2,_0x16b2d7,_0x56a5c6,_0x20f682){const _0x1ea226=_0x5c8e;return _0x4ad07b(_0x45965e[_0x1ea226(0x124)],{'key':_0x259cc2,...ci(_0x45965e,_0x16b2d7,_0x20f682),..._0x56a5c6},(li(_0x45965e,_0x16b2d7)[_0x1ea226(0x122)]||[])['map']((_0x57c4c1,_0x402207)=>j(_0x57c4c1,_0x259cc2+'-'+_0x45965e['tag']+'-'+_0x402207,_0x16b2d7,void 0x0,_0x20f682)));}function ci(_0xf67526,_0x51448b,_0x306829){const _0x5dbf5c=_0x5c8e,_0x37ba52={..._0xf67526[_0x5dbf5c(0x103)]};_0x306829!=null&&_0x306829[_0x5dbf5c(0xe8)]&&_0x37ba52[_0x5dbf5c(0xdf)]==='colorChannel1'&&(_0x37ba52['fill']=_0x306829[_0x5dbf5c(0xe8)]),_0xf67526[_0x5dbf5c(0x124)]===_0x5dbf5c(0xd4)&&_0x37ba52['id']&&(_0x37ba52['id']=_0x37ba52['id']+_0x51448b['idSuffix']),Object[_0x5dbf5c(0xba)](_0x37ba52)[_0x5dbf5c(0xb9)](([_0x3ce3f2,_0x479c6b])=>{const _0xa83f1=_0x5dbf5c;_0x3ce3f2===_0xa83f1(0xd4)&&typeof _0x479c6b==_0xa83f1(0xda)&&(_0x37ba52[_0x3ce3f2]=_0x479c6b['replace'](/url\(#(.*)\)/,_0xa83f1(0x10c)+_0x51448b['idSuffix']+')'));});const {defIds:_0x39c9b2}=_0x51448b;return!_0x39c9b2||_0x39c9b2[_0x5dbf5c(0xe7)]===0x0||(_0xf67526[_0x5dbf5c(0x124)]==='use'&&_0x37ba52[_0x5dbf5c(0x107)]&&(_0x37ba52[_0x5dbf5c(0x107)]=_0x37ba52[_0x5dbf5c(0x107)]+_0x51448b[_0x5dbf5c(0xdb)]),Object[_0x5dbf5c(0xba)](_0x37ba52)[_0x5dbf5c(0xb9)](([_0x3e267b,_0x2371cc])=>{const _0xdb788c=_0x5dbf5c;typeof _0x2371cc==_0xdb788c(0xda)&&(_0x37ba52[_0x3e267b]=_0x2371cc[_0xdb788c(0xef)](/url\(#(.*)\)/,_0xdb788c(0x10c)+_0x51448b[_0xdb788c(0xdb)]+')'));})),_0x37ba52;}function li(_0x311ed4,_0x60dfa8){const _0x33d4e3=_0x5c8e;var _0x214074;const {defIds:_0x30f4cd}=_0x60dfa8;return!_0x30f4cd||_0x30f4cd['length']===0x0?_0x311ed4:_0x311ed4[_0x33d4e3(0x124)]===_0x33d4e3(0xa8)&&((_0x214074=_0x311ed4['children'])!=null&&_0x214074[_0x33d4e3(0xe7)])?{..._0x311ed4,'children':_0x311ed4[_0x33d4e3(0x122)][_0x33d4e3(0x123)](_0x3ef261=>typeof _0x3ef261[_0x33d4e3(0x103)]['id']=='string'&&_0x30f4cd&&_0x30f4cd[_0x33d4e3(0x88)](_0x3ef261[_0x33d4e3(0x103)]['id'])?{..._0x3ef261,'attrs':{..._0x3ef261['attrs'],'id':_0x3ef261[_0x33d4e3(0x103)]['id']+_0x60dfa8['idSuffix']}}:_0x3ef261)}:_0x311ed4;}function hi(){const _0x2ee01b=_0x5c8e;return Math[_0x2ee01b(0x12a)]()[_0x2ee01b(0xbb)](0x24)[_0x2ee01b(0x106)](0x2,0x8);}F[_0x28d4a4(0x8f)]=_0x28d4a4(0xaa);const ui={'tag':_0x28d4a4(0x114),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28d4a4(0x120),'viewBox':_0x28d4a4(0xde),'width':_0x28d4a4(0xaf),'height':_0x28d4a4(0xaf)},'children':[{'tag':'g','attrs':{'fill':_0x28d4a4(0x12c),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x28d4a4(0xad),'attrs':{'d':_0x28d4a4(0xc8)}},{'tag':_0x28d4a4(0xad),'attrs':{'d':_0x28d4a4(0x91)}}]},{'tag':_0x28d4a4(0xa8),'attrs':{},'children':[{'tag':_0x28d4a4(0x9a),'attrs':{'id':_0x28d4a4(0xab)},'children':[{'tag':_0x28d4a4(0xad),'attrs':{'fill':'white','d':_0x28d4a4(0xf0)}}]}]}],'defIds':[_0x28d4a4(0xab)]},V=_0x46c5f0(function(_0x2271dd,_0x2b6b85){const _0x41ab15=_0x28d4a4;return _0x4ad07b(F,Object[_0x41ab15(0x97)]({},_0x2271dd,{'id':_0x41ab15(0xc9),'ref':_0x2b6b85,'icon':ui}));});V[_0x28d4a4(0x8f)]=_0x28d4a4(0x9f);var gi=Object[_0x28d4a4(0xa9)],mi=(_0x203aae,_0x3e28c1,_0x1fa66c,_0x33c5bb)=>{const _0x33334b=_0x28d4a4;for(var _0x17cb9a=_0x33c5bb>0x1?void 0x0:_0x33c5bb?gi(_0x3e28c1,_0x1fa66c):_0x3e28c1,_0x5b8868=_0x203aae[_0x33334b(0xe7)]-0x1,_0x378b7f;_0x5b8868>=0x0;_0x5b8868--)(_0x378b7f=_0x203aae[_0x5b8868])&&(_0x17cb9a=_0x378b7f(_0x17cb9a)||_0x17cb9a);return _0x17cb9a;},l=(_0x5680bc,_0x3c5de2)=>(_0x509c51,_0x10a95f)=>_0x3c5de2(_0x509c51,_0x10a95f,_0x5680bc);const vi='univer-container',G=_0x28d4a4(0xe9),d=_0x28d4a4(0xa3);let f=class extends _0x11f04e{constructor(_0x239923,_0x2bb964,_0x2b0f1e,_0xb12896,_0xb3abc,_0x5f0628,_0x3bb5fb,_0x5e681d,_0xa90086,_0x182a4f){const _0x4191ba=_0x28d4a4;super(),g(this,_0x4191ba(0xa5),new _0x394d58(null)),g(this,_0x4191ba(0xd0),this[_0x4191ba(0xa5)][_0x4191ba(0xf5)]()),g(this,'_disposableCollection',new _0x1096e7()),g(this,_0x4191ba(0x9c),new Map()),(this[_0x4191ba(0x125)]=_0x239923,this[_0x4191ba(0xb8)]=_0x2bb964,this['_configService']=_0x2b0f1e,this[_0x4191ba(0x8a)]=_0xb12896,this[_0x4191ba(0x11c)]=_0xb3abc,this['_permissionService']=_0x5f0628,this['_selectionProtectionRuleModel']=_0x3bb5fb,this[_0x4191ba(0xd6)]=_0x5e681d,this[_0x4191ba(0xf8)]=_0xa90086,this[_0x4191ba(0xc4)]=_0x182a4f,this['_init']());}get[_0x28d4a4(0xce)](){const _0x58ef6e=_0x28d4a4;return this[_0x58ef6e(0xa5)][_0x58ef6e(0xd8)];}['_init'](){const _0xd2abc6=_0x28d4a4;this[_0xd2abc6(0xbe)](),this['_initPlugins']();}['_initContainer'](){const _0x1f10d9=_0x28d4a4;var _0x392213;const _0x2357ee=(_0x392213=this['_configService'][_0x1f10d9(0x101)](G))!=null?_0x392213:vi,_0x43106b=document['getElementById'](_0x2357ee);if(!_0x43106b)return;const _0x205fb4=document[_0x1f10d9(0xcc)]('div');_0x205fb4['id']=d,_0x205fb4[_0x1f10d9(0xc7)][_0x1f10d9(0xb0)]=_0x1f10d9(0xa1),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0x127)]=_0x1f10d9(0x129),_0x205fb4['style']['top']='0',_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xe4)]='0',_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xe1)]=_0x1f10d9(0xed),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0x112)]=_0x1f10d9(0xed),_0x205fb4['style']['zIndex']=_0x1f10d9(0x102),_0x205fb4[_0x1f10d9(0x118)][_0x1f10d9(0xa2)]='none',_0x43106b[_0x1f10d9(0x116)](_0x205fb4);}['_initPlugins'](){const _0x10a8df=_0x28d4a4;var _0x545121,_0x10d904,_0x390833,_0xa85fc9;[[_0x35a05d],[_0x17bb2b,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5b349c,null]]}],[_0x5ca7ac],[_0x38a33c,{'override':[[_0x321682,null]]}],[_0x7a73da,{'hasScroll':!0x1}],[_0x4c0c75],[_0x3e1f23],[_0x13bd3e,{'notExecuteFormula':!0x0}],[_0xcbf460],[_0x40fd4d],[_0x15b5be],[_0x593c16],[_0x3f0407],[_0x12cab8],[_0x1a43ef],[_0x286bab],[_0x142267],[_0x1d13f8],[_0x1b0993],[_0x65aeff],[_0x126307],[_0x40c6c2,{'notExecuteFormula':!0x0}],[_0x48d937,{'workerURL':(_0x10d904=(_0x545121=this[_0x10a8df(0x108)][_0x10a8df(0x101)](_0x5e32c6))==null?void 0x0:_0x545121[_0x10a8df(0xae)])!=null?_0x10d904:_0x10a8df(0x89)}],[_0x2801b8],[_0x3d69d5],[_0x368aac],[_0x30b9d4],[_0x364408],[_0x291ecb],[_0x1786fc],[_0x37e050,{'notExecuteFormula':!0x0}],[_0x1d2ee2,{'historyListServerUrl':(_0x390833=this[_0x10a8df(0x108)]['getConfig'](U))==null?void 0x0:_0x390833[_0x10a8df(0xee)],'historyPanelComponentKey':(_0xa85fc9=this[_0x10a8df(0x108)][_0x10a8df(0x101)](U))==null?void 0x0:_0xa85fc9[_0x10a8df(0xbf)]}]][_0x10a8df(0xb9)](([_0x1de15b,_0x2fc96b])=>this[_0x10a8df(0xe0)](_0x1de15b,_0x2fc96b));}[_0x28d4a4(0x11d)](){const _0xf73889=_0x28d4a4;super[_0xf73889(0x11d)](),this[_0xf73889(0xf7)](),this[_0xf73889(0x9c)][_0xf73889(0x117)]();}[_0x28d4a4(0xe0)](_0x535e76,_0x3d2448,_0xce846b){const _0x111bcc=_0x28d4a4;if(this[_0x111bcc(0x9c)][_0x111bcc(0xc5)](_0x535e76['pluginName'])&&!_0xce846b)throw new Error(_0x111bcc(0xbc)+_0x535e76[_0x111bcc(0xd5)]+_0x111bcc(0x93));this[_0x111bcc(0x9c)]['set'](_0x535e76[_0x111bcc(0xd5)],[_0x535e76,_0x3d2448]);}[_0x28d4a4(0x92)](){const _0x389a7f=_0x28d4a4;return Array[_0x389a7f(0xa6)](this[_0x389a7f(0x9c)][_0x389a7f(0xcb)]());}['mountHistoryContent'](_0x493fdb){const _0xaf6bc7=_0x28d4a4,_0x20b451=document[_0xaf6bc7(0x8e)](d);_0x20b451&&(_0x20b451[_0xaf6bc7(0x118)][_0xaf6bc7(0xa2)]='block',this['_initUniver'](_0x493fdb,d));}[_0x28d4a4(0xf7)](){const _0x543c9f=_0x28d4a4;var _0x16fb1a;this[_0x543c9f(0xe3)][_0x543c9f(0x11d)](),(_0x16fb1a=this['historyUniver'])==null||_0x16fb1a[_0x543c9f(0x11d)](),this[_0x543c9f(0xa5)][_0x543c9f(0xec)](null);const _0xba592a=document['getElementById'](d);_0xba592a&&(_0xba592a[_0x543c9f(0x118)]['display']=_0x543c9f(0x120));}[_0x28d4a4(0xc2)](_0x4d4396,_0xd8bca0){const _0x50993b=_0x28d4a4;if(this[_0x50993b(0xce)])return;const _0x3e0206=new _0x2b206b({'locales':{[this[_0x50993b(0x125)][_0x50993b(0xf2)]()]:this['_localeService']['getLocales']()},'override':[[_0x36ad80,{'useClass':_0x381e88}]]}),_0x81318b=_0x3e0206['__getInjector']();this[_0x50993b(0xf9)](this[_0x50993b(0xc4)][_0x50993b(0xff)]['subscribe'](_0x4cba3b=>{const _0x4f0508=_0x50993b;_0x81318b[_0x4f0508(0x121)](_0x4a0048)[_0x4f0508(0x12d)](_0x4cba3b);})),this[_0x50993b(0xf9)](this[_0x50993b(0xc4)][_0x50993b(0xd1)]['subscribe'](_0x4d0fc5=>{const _0x1cd7e3=_0x50993b;_0x81318b[_0x1cd7e3(0x121)](_0x4a0048)[_0x1cd7e3(0xf4)](_0x4d0fc5);})),_0x81318b[_0x50993b(0x121)](_0xc7137)[_0x50993b(0xcd)](this[_0x50993b(0x125)][_0x50993b(0xf2)]()),_0x81318b[_0x50993b(0x121)](_0x2527f1)[_0x50993b(0x111)](_0x5e6ad0,this['_configService']['getConfig'](_0x5e6ad0));const _0x1c551c=this[_0x50993b(0x108)]['getConfig'](_0x3bf7c0);_0x1c551c&&_0x3e0206[_0x50993b(0xe0)](_0x53e7a7,{'license':_0x1c551c['ls']}),this['_pluginMap'][_0x50993b(0xb9)](([_0x50d0ef,_0x59ea28])=>{_0x3e0206['registerPlugin'](_0x50d0ef,_0x59ea28);}),_0x81318b[_0x50993b(0x9d)](_0x1ff49c=>{const _0x18e5a1=_0x50993b;this[_0x18e5a1(0x95)](_0x1ff49c,_0x4d4396);}),this['_historyUniver$'][_0x50993b(0xec)](_0x3e0206);const _0x5c2e0c=_0x81318b[_0x50993b(0x121)](_0x77b50a),_0x5352ce=this[_0x50993b(0x96)](_0x4d4396);_0x5c2e0c[_0x50993b(0x11f)](_0x4d4396,_0xd8bca0,_0x5352ce);}[_0x28d4a4(0x95)](_0x55e9d7,_0x5ae2de){const _0x402e0a=_0x28d4a4,_0x543871=_0x55e9d7['get'](_0x77b50a);this[_0x402e0a(0xe3)][_0x402e0a(0xc1)](_0x543871['status$'][_0x402e0a(0xd2)](_0x41e95a=>{const _0x15b472=_0x402e0a;switch(_0x41e95a){case _0x347aa0[_0x15b472(0xc0)]:this[_0x15b472(0xd6)][_0x15b472(0x11b)](),this[_0x15b472(0xf8)]['close']();break;case _0x347aa0[_0x15b472(0x119)]:this[_0x15b472(0x8a)][_0x15b472(0xcf)](W['id']),this[_0x15b472(0xf7)]();break;case _0x347aa0['Error']:this['unMountHistoryContent'](),this[_0x15b472(0x11c)][_0x15b472(0x11a)]({'content':this['_localeService']['t'](_0x15b472(0xfe)),'type':_0x17d5cd[_0x15b472(0x115)],'duration':0xbb8});break;}})),this[_0x402e0a(0xe3)]['add'](_0x543871['revertRevision$'][_0x402e0a(0xd2)](async _0x2aa8fb=>{const _0x4807a2=_0x402e0a;_0x2aa8fb&&this[_0x4807a2(0x8a)][_0x4807a2(0xcf)](_0x20ea47['id'],{'unitId':_0x5ae2de,'revision':_0x2aa8fb});}));}[_0x28d4a4(0x96)](_0x5be7c5){const _0x3e039c=_0x28d4a4,_0x5f464d=this['_univerInstanceService'][_0x3e039c(0x98)](_0x5be7c5)[_0x3e039c(0xdd)]()[_0x3e039c(0x123)](_0x42d919=>_0x42d919[_0x3e039c(0xb7)]()),_0x498594=new _0x1c1798(_0x5be7c5)['id'],_0x2a76a6=_0x5f464d['map'](_0x572138=>new _0xf0f0c1(_0x5be7c5,_0x572138)['id']),_0x12e2e8=_0x5f464d[_0x3e039c(0x123)](_0x59a247=>this['_selectionProtectionRuleModel'][_0x3e039c(0xf1)](_0x5be7c5,_0x59a247)[_0x3e039c(0x123)](_0x5b9b26=>new _0x2bb7d9(_0x5be7c5,_0x59a247,_0x5b9b26['permissionId'])['id']))[_0x3e039c(0xb6)](),_0x164c8f=new _0x4f1e7d(_0x5be7c5)['id'];return this[_0x3e039c(0xf6)][_0x3e039c(0xb1)]([_0x498594,..._0x2a76a6,..._0x12e2e8,_0x164c8f])[_0x3e039c(0x12b)](_0x2382ce=>!!_0x2382ce[_0x3e039c(0xd8)]);}};f=mi([l(0x0,_0x46c454(_0xc7137)),l(0x1,_0x17dea0),l(0x2,_0x2527f1),l(0x3,_0x4ccfc6),l(0x4,_0x3ba77a),l(0x5,_0x1691d8),l(0x6,_0x46c454(_0x467927)),l(0x7,_0x46c454(_0x5b349c)),l(0x8,_0x46c454(_0xaa3e4d)),l(0x9,_0x46c454(_0x4a0048))],f);const b={'id':'univer.operation.toggle-edit-history','type':_0x176ea2['OPERATION'],'handler':_0x2949bd=>{const _0x479e73=_0x28d4a4,_0x4617fc=_0x2949bd['get'](f),_0x2ec64c=_0x2949bd[_0x479e73(0x121)](_0x17dea0),{unitId:_0x3c67d7}=_0x293682(_0x2ec64c)||{};return _0x3c67d7?(_0x4617fc[_0x479e73(0x126)](_0x3c67d7),!0x0):!0x1;}},W={'id':_0x28d4a4(0x8d),'type':_0x176ea2[_0x28d4a4(0xc3)],'handler':()=>!0x0};function di(_0x3f3435){const _0x114f7c=_0x28d4a4;return{'id':b['id'],'type':_0x2f263a[_0x114f7c(0x10f)],'icon':'HistoryIcon','tooltip':_0x114f7c(0x90),'hidden$':_0x2af65c(_0x3f3435,_0x1b48a5[_0x114f7c(0x94)]),'disabled$':_0x210efd(_0x3f3435,{'workbookTypes':[_0x1c1798,_0x435260],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x157b79[_0x28d4a4(0xe6)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object[_0x28d4a4(0xa9)],pi=(_0x11aafb,_0x380052,_0xebeded,_0x452fa1)=>{for(var _0x3e4b1d=_0x452fa1>0x1?void 0x0:_0x452fa1?_i(_0x380052,_0xebeded):_0x380052,_0x400990=_0x11aafb['length']-0x1,_0x35abc2;_0x400990>=0x0;_0x400990--)(_0x35abc2=_0x11aafb[_0x400990])&&(_0x3e4b1d=_0x35abc2(_0x3e4b1d)||_0x3e4b1d);return _0x3e4b1d;},m=(_0x32d021,_0x4f2c81)=>(_0x2c838a,_0x20cf8a)=>_0x4f2c81(_0x2c838a,_0x20cf8a,_0x32d021);let p=class extends _0x547c6d{constructor(_0x530373,_0x5e072e,_0x29aea0,_0x2e88c1,_0x5e34a9,_0x3801c2,_0xced7cf,_0x36c3db){const _0x3d3fea=_0x28d4a4;super(),g(this,_0x3d3fea(0xdc),null),(this[_0x3d3fea(0x8a)]=_0x530373,this[_0x3d3fea(0xb3)]=_0x5e072e,this[_0x3d3fea(0x11e)]=_0x29aea0,this['_historyManagerService']=_0x2e88c1,this[_0x3d3fea(0x125)]=_0x5e34a9,this[_0x3d3fea(0x11c)]=_0x3801c2,this['_collaborationController']=_0xced7cf,this['_localCacheService']=_0x36c3db,this[_0x3d3fea(0xc6)]());}[_0x28d4a4(0xc6)](){const _0x446eed=_0x28d4a4;[b,W]['forEach'](_0xc95f15=>this[_0x446eed(0xf9)](_0x1ec54e(this[_0x446eed(0x8a)][_0x446eed(0xe2)](_0xc95f15)))),this[_0x446eed(0xf9)](this[_0x446eed(0x11e)][_0x446eed(0xd9)](_0x446eed(0x9f),V)),this[_0x446eed(0xb3)]['mergeMenu'](fi),this['disposeWithMe'](this[_0x446eed(0x8a)][_0x446eed(0xac)](_0x19adb2=>{const _0x1987a1=_0x446eed;if(_0x19adb2['id']===_0x20ea47['id']){this[_0x1987a1(0x11c)]['show']({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':_0x17d5cd[_0x1987a1(0x104)],'duration':0x1388});const {unitId:_0x50c5a5}=_0x19adb2['params'],_0x613d47=this['_collaborationController'][_0x1987a1(0xca)](_0x50c5a5),_0x271c2c=_0x501715([_0x613d47[_0x1987a1(0xd7)][_0x1987a1(0xb2)],_0x613d47['state$']])['subscribe'](async([_0x27f8b7,_0x5409ac])=>{const _0x212156=_0x1987a1;var _0x2714d0;_0x27f8b7['eventID']===_0x442c5e[_0x212156(0xeb)]&&(_0x5409ac==null?void 0x0:_0x5409ac[_0x212156(0x8b)])===_0x1b925f[_0x212156(0xea)]&&_0x27f8b7['data'][_0x212156(0x105)][_0x212156(0x10d)](_0x8549e2=>_0x8549e2['id']===_0x20ea47['id'])&&(this[_0x212156(0x128)][_0x212156(0xf7)](),_0x271c2c[_0x212156(0x99)](),this[_0x212156(0xdc)]&&clearTimeout(this[_0x212156(0xdc)]),await((_0x2714d0=this[_0x212156(0xfa)])==null?void 0x0:_0x2714d0[_0x212156(0x10a)]()),setTimeout(()=>window[_0x212156(0xd3)]['reload']()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x1ef59c=_0x1987a1;_0x271c2c[_0x1ef59c(0x99)](),this[_0x1ef59c(0x11c)]['show']({'content':this[_0x1ef59c(0x125)]['t']('editHistory.panel.revertFailed'),'type':_0x17d5cd[_0x1ef59c(0x115)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x4ccfc6),m(0x1,_0x29ebf4),m(0x2,_0x46c454(_0x24ca35)),m(0x3,_0x46c454(f)),m(0x4,_0x46c454(_0xc7137)),m(0x5,_0x3ba77a),m(0x6,_0x46c454(_0x348bd1)),m(0x7,_0x8b9c29)],p);var Si=Object[_0x28d4a4(0xa9)],Ci=(_0x2f66cd,_0x463f0f,_0x4ee4f9,_0x3934c6)=>{const _0x130797=_0x28d4a4;for(var _0x659e95=_0x3934c6>0x1?void 0x0:_0x3934c6?Si(_0x463f0f,_0x4ee4f9):_0x463f0f,_0x44ff86=_0x2f66cd[_0x130797(0xe7)]-0x1,_0x496283;_0x44ff86>=0x0;_0x44ff86--)(_0x496283=_0x2f66cd[_0x44ff86])&&(_0x659e95=_0x496283(_0x659e95)||_0x659e95);return _0x659e95;},R=(_0x1b7c0a,_0x15342d)=>(_0x40201d,_0x404e1a)=>_0x15342d(_0x40201d,_0x404e1a,_0x1b7c0a);const yi=_0x28d4a4(0x110);var _;let H=(_=class extends _0x324003{constructor(_0x17db0e=N,_0x5f431a,_0x48bda2){const _0x3a7349=_0x28d4a4;super(),this[_0x3a7349(0xe5)]=_0x17db0e,this[_0x3a7349(0xfd)]=_0x5f431a,this[_0x3a7349(0x108)]=_0x48bda2;const {menu:_0x388914,..._0x248c32}=_0x242ed3({},N,this[_0x3a7349(0xe5)]);_0x388914&&this['_configService'][_0x3a7349(0x111)](_0x3a7349(0xa7),_0x388914,{'merge':!0x0}),this[_0x3a7349(0x108)][_0x3a7349(0x111)](U,_0x248c32),this[_0x3a7349(0xe5)][_0x3a7349(0xfc)]&&this[_0x3a7349(0x108)][_0x3a7349(0x111)](G,this['_config']['univerContainerId']);}[_0x28d4a4(0xbd)](){const _0x435ecd=_0x28d4a4;[[f],[p]][_0x435ecd(0xb9)](_0x15d24d=>this['_injector'][_0x435ecd(0xc1)](_0x15d24d));}[_0x28d4a4(0x109)](){const _0x2aeb7d=_0x28d4a4;this[_0x2aeb7d(0xfd)][_0x2aeb7d(0x121)](p);}},g(_,_0x28d4a4(0xf3),_0x1b48a5[_0x28d4a4(0xa4)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x46c454(_0xaa3bc2)),R(0x2,_0x2527f1)],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 _0x2961(_0x1a615b,_0x2854ad){_0x1a615b=_0x1a615b-0xa9;const _0x1a2c7e=_0x1a2c();let _0x296159=_0x1a2c7e[_0x1a615b];return _0x296159;}(function(_0x340050,_0x113925){const _0x1503e1=_0x2961,_0x11a0b4=_0x340050();while(!![]){try{const _0xfb67e6=-parseInt(_0x1503e1(0x1b0))/0x1*(parseInt(_0x1503e1(0x170))/0x2)+parseInt(_0x1503e1(0xf2))/0x3*(parseInt(_0x1503e1(0x1a3))/0x4)+parseInt(_0x1503e1(0x183))/0x5*(-parseInt(_0x1503e1(0x1ce))/0x6)+parseInt(_0x1503e1(0x1ad))/0x7*(-parseInt(_0x1503e1(0x18e))/0x8)+parseInt(_0x1503e1(0xd2))/0x9*(parseInt(_0x1503e1(0x1d9))/0xa)+parseInt(_0x1503e1(0x142))/0xb+-parseInt(_0x1503e1(0x1b8))/0xc;if(_0xfb67e6===_0x113925)break;else _0x11a0b4['push'](_0x11a0b4['shift']());}catch(_0x4acf20){_0x11a0b4['push'](_0x11a0b4['shift']());}}}(_0x1a2c,0x90367),function(_0x4550fa,_0x46be4c){const _0x4a99ed=_0x2961;typeof exports=='object'&&typeof module<'u'?_0x46be4c(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=='function'&&define[_0x4a99ed(0x1bb)]?define([_0x4a99ed(0x179),'@univerjs/core',_0x4a99ed(0x1d5),'@univerjs-pro/collaboration-client',_0x4a99ed(0x182),_0x4a99ed(0xb5),_0x4a99ed(0x103),_0x4a99ed(0xab),_0x4a99ed(0x196),_0x4a99ed(0xdd),_0x4a99ed(0x1a9),_0x4a99ed(0x18c),_0x4a99ed(0x10f),'@univerjs-pro/sheets-pivot',_0x4a99ed(0x173),_0x4a99ed(0x100),_0x4a99ed(0x1dd),_0x4a99ed(0x171),'@univerjs/docs-ui',_0x4a99ed(0x1cf),_0x4a99ed(0xf8),_0x4a99ed(0x1b9),'@univerjs/engine-render',_0x4a99ed(0x14c),_0x4a99ed(0x17b),_0x4a99ed(0x193),_0x4a99ed(0x172),_0x4a99ed(0xe9),_0x4a99ed(0x149),_0x4a99ed(0x1b7),_0x4a99ed(0x18f),_0x4a99ed(0xb2),_0x4a99ed(0x128),_0x4a99ed(0x19e),_0x4a99ed(0xd8),_0x4a99ed(0x124),_0x4a99ed(0x1ca),_0x4a99ed(0x12c),_0x4a99ed(0x156)],_0x46be4c):(_0x4550fa=typeof globalThis<'u'?globalThis:_0x4550fa||self,_0x46be4c(_0x4550fa[_0x4a99ed(0xe7)]={},_0x4550fa['UniverCore'],_0x4550fa[_0x4a99ed(0x163)],_0x4550fa[_0x4a99ed(0x11d)],_0x4550fa['UniverDesign'],_0x4550fa[_0x4a99ed(0x15c)],_0x4550fa['UniverUi'],_0x4550fa[_0x4a99ed(0xab)],_0x4550fa[_0x4a99ed(0x114)],_0x4550fa[_0x4a99ed(0x1d2)],_0x4550fa[_0x4a99ed(0xfb)],_0x4550fa['UniverProSheetsChart'],_0x4550fa['UniverProSheetsChartUi'],_0x4550fa[_0x4a99ed(0x199)],_0x4550fa[_0x4a99ed(0x1af)],_0x4550fa[_0x4a99ed(0x157)],_0x4550fa[_0x4a99ed(0xda)],_0x4550fa[_0x4a99ed(0x154)],_0x4550fa[_0x4a99ed(0x10b)],_0x4550fa[_0x4a99ed(0x1c0)],_0x4550fa['UniverDrawingUi'],_0x4550fa['UniverEngineFormula'],_0x4550fa['UniverEngineRender'],_0x4550fa['UniverNetwork'],_0x4550fa[_0x4a99ed(0x1d6)],_0x4550fa[_0x4a99ed(0xfe)],_0x4550fa[_0x4a99ed(0x126)],_0x4550fa[_0x4a99ed(0xfd)],_0x4550fa[_0x4a99ed(0x13f)],_0x4550fa['UniverSheetsDrawing'],_0x4550fa[_0x4a99ed(0xf5)],_0x4550fa['UniverSheetsFilter'],_0x4550fa[_0x4a99ed(0x1de)],_0x4550fa[_0x4a99ed(0xdc)],_0x4550fa[_0x4a99ed(0x123)],_0x4550fa[_0x4a99ed(0x1a1)],_0x4550fa[_0x4a99ed(0xaf)],_0x4550fa[_0x4a99ed(0xe3)],_0x4550fa[_0x4a99ed(0x1db)]));}(this,function(_0x1711ee,_0x1cfe02,_0x367ffc,_0x5cc095,_0x264fea,_0x1f6bfd,_0x3324b0,_0x3459ba,_0x5b1296,_0x18c27d,_0x3c2c18,_0x3e320a,_0x1e041c,_0x31d806,_0x1687c8,_0x141624,_0xb71a72,_0x580906,_0x9a46e5,_0x149a7c,_0x4e03fe,_0x1788c0,_0x6717ac,_0x2ca484,_0x28c8b0,_0x476700,_0xa791bd,_0x3c2f7e,_0x3ef74e,_0x3c59c4,_0xfed96f,_0x42d3e4,_0x48b56f,_0x4dc597,_0xc2436a,_0x5237bb,_0x38a429,_0x54ce70,_0x116362){'use strict';const _0x26fe44=_0x2961;var _0x412c39=Object['defineProperty'],_0x1b8e60=(_0x3cdead,_0xd43402,_0x56ef2f)=>_0xd43402 in _0x3cdead?_0x412c39(_0x3cdead,_0xd43402,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56ef2f}):_0x3cdead[_0xd43402]=_0x56ef2f,_0xaf2ac1=(_0x1f5502,_0x10e6c1,_0x42e3ce)=>_0x1b8e60(_0x1f5502,typeof _0x10e6c1!=_0x26fe44(0x110)?_0x10e6c1+'':_0x10e6c1,_0x42e3ce),_0x530d4a;const _0x4da2eb=_0x26fe44(0x184),_0x2dae5a={};function _0x87628({ref:_0x59f425,..._0x1f05fc}){const _0x2d6171=_0x26fe44,{icon:_0x38aefb,id:_0x448074,className:_0x4d55c8,extend:_0x3a6cdc,..._0x19af4d}=_0x1f05fc,_0x477c7c=(_0x2d6171(0x11b)+_0x448074+'\x20'+(_0x4d55c8||''))[_0x2d6171(0xad)](),_0x1d92ae=_0x1f6bfd[_0x2d6171(0x14b)]('_'+_0x597fb0());return _0x1c6daa(_0x38aefb,''+_0x448074,{'defIds':_0x38aefb[_0x2d6171(0x168)],'idSuffix':_0x1d92ae['current']},{'ref':_0x59f425,'className':_0x477c7c,..._0x19af4d},_0x3a6cdc);}function _0x1c6daa(_0x371a7f,_0x35da6f,_0x5dc9e8,_0xdb98b5,_0x387672){const _0x5bdee6=_0x26fe44;return _0x1f6bfd[_0x5bdee6(0xa9)](_0x371a7f['tag'],{'key':_0x35da6f,..._0x5adf9d(_0x371a7f,_0x5dc9e8,_0x387672),..._0xdb98b5},(_0x52c7cf(_0x371a7f,_0x5dc9e8)['children']||[])[_0x5bdee6(0x194)]((_0x393fb7,_0x1e708c)=>_0x1c6daa(_0x393fb7,_0x35da6f+'-'+_0x371a7f[_0x5bdee6(0xbe)]+'-'+_0x1e708c,_0x5dc9e8,void 0x0,_0x387672)));}function _0x5adf9d(_0x352c61,_0x526aaa,_0x4f1576){const _0x403318=_0x26fe44,_0x56384b={..._0x352c61[_0x403318(0x1a2)]};_0x4f1576!=null&&_0x4f1576['colorChannel1']&&_0x56384b['fill']==='colorChannel1'&&(_0x56384b[_0x403318(0x111)]=_0x4f1576[_0x403318(0xb3)]),_0x352c61[_0x403318(0xbe)]===_0x403318(0xd4)&&_0x56384b['id']&&(_0x56384b['id']=_0x56384b['id']+_0x526aaa[_0x403318(0x1b3)]),Object['entries'](_0x56384b)[_0x403318(0x1d3)](([_0x27ca63,_0x3e0d86])=>{const _0x32d73f=_0x403318;_0x27ca63==='mask'&&typeof _0x3e0d86==_0x32d73f(0xb4)&&(_0x56384b[_0x27ca63]=_0x3e0d86[_0x32d73f(0x187)](/url\(#(.*)\)/,_0x32d73f(0xcd)+_0x526aaa[_0x32d73f(0x1b3)]+')'));});const {defIds:_0x432617}=_0x526aaa;return!_0x432617||_0x432617[_0x403318(0xc2)]===0x0||(_0x352c61['tag']===_0x403318(0x1ba)&&_0x56384b['xlink:href']&&(_0x56384b['xlink:href']=_0x56384b['xlink:href']+_0x526aaa[_0x403318(0x1b3)]),Object[_0x403318(0xbf)](_0x56384b)[_0x403318(0x1d3)](([_0x40bd48,_0x30702a])=>{const _0x32698c=_0x403318;typeof _0x30702a=='string'&&(_0x56384b[_0x40bd48]=_0x30702a[_0x32698c(0x187)](/url\(#(.*)\)/,_0x32698c(0xcd)+_0x526aaa[_0x32698c(0x1b3)]+')'));})),_0x56384b;}function _0x52c7cf(_0x13c365,_0x108441){const _0x69e8ea=_0x26fe44;var _0x598328;const {defIds:_0x1437a5}=_0x108441;return!_0x1437a5||_0x1437a5[_0x69e8ea(0xc2)]===0x0?_0x13c365:_0x13c365[_0x69e8ea(0xbe)]===_0x69e8ea(0x13a)&&((_0x598328=_0x13c365[_0x69e8ea(0x162)])!=null&&_0x598328[_0x69e8ea(0xc2)])?{..._0x13c365,'children':_0x13c365[_0x69e8ea(0x162)][_0x69e8ea(0x194)](_0x3ac305=>typeof _0x3ac305['attrs']['id']==_0x69e8ea(0xb4)&&_0x1437a5&&_0x1437a5[_0x69e8ea(0x1bf)](_0x3ac305[_0x69e8ea(0x1a2)]['id'])?{..._0x3ac305,'attrs':{..._0x3ac305['attrs'],'id':_0x3ac305[_0x69e8ea(0x1a2)]['id']+_0x108441[_0x69e8ea(0x1b3)]}}:_0x3ac305)}:_0x13c365;}function _0x597fb0(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x87628[_0x26fe44(0x12a)]=_0x26fe44(0xe0);const _0x4e81dc={'tag':_0x26fe44(0x191),'attrs':{'xmlns':_0x26fe44(0x1dc),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x26fe44(0x105),'height':_0x26fe44(0x105)},'children':[{'tag':'g','attrs':{'fill':_0x26fe44(0xb9),'clipPath':_0x26fe44(0x102)},'children':[{'tag':_0x26fe44(0x146),'attrs':{'d':_0x26fe44(0x152)}},{'tag':_0x26fe44(0x146),'attrs':{'d':_0x26fe44(0x118)}}]},{'tag':_0x26fe44(0x13a),'attrs':{},'children':[{'tag':_0x26fe44(0x151),'attrs':{'id':_0x26fe44(0x121)},'children':[{'tag':_0x26fe44(0x146),'attrs':{'fill':_0x26fe44(0x147),'d':_0x26fe44(0xf7)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x87acaa=_0x1f6bfd[_0x26fe44(0xe1)](function(_0x803d38,_0x20b350){const _0xa7017f=_0x26fe44;return _0x1f6bfd[_0xa7017f(0xa9)](_0x87628,Object[_0xa7017f(0x195)]({},_0x803d38,{'id':_0xa7017f(0x1b5),'ref':_0x20b350,'icon':_0x4e81dc}));});_0x87acaa[_0x26fe44(0x12a)]='HistoryIcon';var _0x4ca8a9=Object[_0x26fe44(0xc4)],_0xcf832c=(_0x282c79,_0x466781,_0x3c2a06,_0x5226e8)=>{const _0x523ccf=_0x26fe44;for(var _0x50e6ea=_0x5226e8>0x1?void 0x0:_0x5226e8?_0x4ca8a9(_0x466781,_0x3c2a06):_0x466781,_0x1a16c4=_0x282c79[_0x523ccf(0xc2)]-0x1,_0x1ead47;_0x1a16c4>=0x0;_0x1a16c4--)(_0x1ead47=_0x282c79[_0x1a16c4])&&(_0x50e6ea=_0x1ead47(_0x50e6ea)||_0x50e6ea);return _0x50e6ea;},_0x4ab342=(_0x2eeaa2,_0x521a64)=>(_0x2ae580,_0x5a46c7)=>_0x521a64(_0x2ae580,_0x5a46c7,_0x2eeaa2);const _0x2dc009=_0x26fe44(0x174),_0x4a4590=_0x26fe44(0x15d),_0x15a2f3='univer-history-container';_0x1711ee[_0x26fe44(0x1a0)]=class extends _0x1cfe02['Disposable']{constructor(_0x4099eb,_0x3405b0,_0x210031,_0x5bd84b,_0x26709c,_0x42cad9,_0x56381a,_0x1f0c99,_0x4e984b,_0x41ab70){const _0x2562d5=_0x26fe44;super(),_0xaf2ac1(this,'_historyUniver$',new _0x3459ba['BehaviorSubject'](null)),_0xaf2ac1(this,_0x2562d5(0x1b2),this[_0x2562d5(0x12e)][_0x2562d5(0x11c)]()),_0xaf2ac1(this,_0x2562d5(0x16a),new _0x1cfe02['DisposableCollection']()),_0xaf2ac1(this,_0x2562d5(0x140),new Map()),(this['_localeService']=_0x4099eb,this['_univerInstanceService']=_0x3405b0,this[_0x2562d5(0x1cb)]=_0x210031,this[_0x2562d5(0x10a)]=_0x5bd84b,this[_0x2562d5(0xb8)]=_0x26709c,this[_0x2562d5(0x1c7)]=_0x42cad9,this['_selectionProtectionRuleModel']=_0x56381a,this[_0x2562d5(0x134)]=_0x1f0c99,this[_0x2562d5(0xd1)]=_0x4e984b,this[_0x2562d5(0x1c8)]=_0x41ab70,this[_0x2562d5(0x186)]());}get[_0x26fe44(0x1c2)](){const _0x219358=_0x26fe44;return this[_0x219358(0x12e)]['value'];}[_0x26fe44(0x186)](){const _0x128e53=_0x26fe44;this['_initContainer'](),this[_0x128e53(0xb6)]();}[_0x26fe44(0x10e)](){const _0x340349=_0x26fe44;var _0xa86ec1;const _0x578425=(_0xa86ec1=this[_0x340349(0x1cb)][_0x340349(0x1ae)](_0x4a4590))!=null?_0xa86ec1:_0x2dc009,_0x568523=document[_0x340349(0x1c5)](_0x578425);if(!_0x568523)return;const _0xbd6bcc=document[_0x340349(0xa9)](_0x340349(0xfa));_0xbd6bcc['id']=_0x15a2f3,_0xbd6bcc[_0x340349(0xf1)][_0x340349(0x11a)]=_0x340349(0x125),_0xbd6bcc['style']['position']=_0x340349(0xd9),_0xbd6bcc[_0x340349(0x106)]['top']='0',_0xbd6bcc[_0x340349(0x106)][_0x340349(0x14f)]='0',_0xbd6bcc['style'][_0x340349(0x15f)]=_0x340349(0xef),_0xbd6bcc[_0x340349(0x106)][_0x340349(0x1ab)]=_0x340349(0xef),_0xbd6bcc[_0x340349(0x106)]['zIndex']=_0x340349(0x12d),_0xbd6bcc[_0x340349(0x106)][_0x340349(0x16c)]=_0x340349(0xbc),_0x568523[_0x340349(0x169)](_0xbd6bcc);}[_0x26fe44(0xb6)](){const _0xc7763d=_0x26fe44;var _0x444a0f,_0x311f98,_0x485f5c,_0x10bff4;[[_0x6717ac[_0xc7763d(0x113)]],[_0x3324b0[_0xc7763d(0x1b4)],{'container':_0x15a2f3,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3324b0[_0xc7763d(0xca)],null]]}],[_0x2ca484[_0xc7763d(0xed)]],[_0x149a7c['UniverDrawingPlugin'],{'override':[[_0x149a7c['IImageIoService'],null]]}],[_0x580906[_0xc7763d(0xde)],{'hasScroll':!0x1}],[_0x9a46e5[_0xc7763d(0x16e)]],[_0x54ce70[_0xc7763d(0x1c4)]],[_0x5b1296[_0xc7763d(0x165)],{'notExecuteFormula':!0x0}],[_0x116362[_0xc7763d(0x11f)]],[_0x4dc597[_0xc7763d(0x130)]],[_0xc2436a[_0xc7763d(0x17c)]],[_0x367ffc[_0xc7763d(0x132)]],[_0x42d3e4[_0xc7763d(0x10d)]],[_0x48b56f[_0xc7763d(0x185)]],[_0x476700[_0xc7763d(0x18a)]],[_0xa791bd['UniverSheetsConditionalFormattingUIPlugin']],[_0x5237bb['UniverSheetsHyperLinkPlugin']],[_0x38a429[_0xc7763d(0x13d)]],[_0xb71a72[_0xc7763d(0x192)]],[_0x3c2f7e[_0xc7763d(0xf0)]],[_0x3ef74e[_0xc7763d(0xc0)]],[_0x1788c0['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x28c8b0[_0xc7763d(0xb1)],{'workerURL':(_0x311f98=(_0x444a0f=this[_0xc7763d(0x1cb)][_0xc7763d(0x1ae)](_0x28c8b0[_0xc7763d(0x14d)]))==null?void 0x0:_0x444a0f[_0xc7763d(0x12f)])!=null?_0x311f98:_0xc7763d(0x17d)}],[_0x4e03fe[_0xc7763d(0x137)]],[_0x3c59c4[_0xc7763d(0xb0)]],[_0xfed96f[_0xc7763d(0x1c9)]],[_0x1687c8['UniverSheetSparklinePlugin']],[_0x141624['UniverSheetSparklineUIPlugin']],[_0x3e320a['UniverSheetsChartPlugin']],[_0x1e041c[_0xc7763d(0x166)]],[_0x31d806[_0xc7763d(0x1c6)],{'notExecuteFormula':!0x0}],[_0x18c27d[_0xc7763d(0x17e)],{'historyListServerUrl':(_0x485f5c=this[_0xc7763d(0x1cb)]['getConfig'](_0x4da2eb))==null?void 0x0:_0x485f5c[_0xc7763d(0x19c)],'historyPanelComponentKey':(_0x10bff4=this['_configService']['getConfig'](_0x4da2eb))==null?void 0x0:_0x10bff4[_0xc7763d(0xba)]}]][_0xc7763d(0x1d3)](([_0x27bdd0,_0x384f16])=>this['registerPlugin'](_0x27bdd0,_0x384f16));}[_0x26fe44(0x1c3)](){const _0x35a0d1=_0x26fe44;super[_0x35a0d1(0x1c3)](),this[_0x35a0d1(0x101)](),this['_pluginMap'][_0x35a0d1(0xcb)]();}[_0x26fe44(0x1be)](_0x48570f,_0x12fee2,_0x4812e7){const _0x39cad0=_0x26fe44;if(this[_0x39cad0(0x140)]['has'](_0x48570f['pluginName'])&&!_0x4812e7)throw new Error(_0x39cad0(0x148)+_0x48570f['pluginName']+_0x39cad0(0x136));this[_0x39cad0(0x140)]['set'](_0x48570f['pluginName'],[_0x48570f,_0x12fee2]);}[_0x26fe44(0x15e)](){const _0x51e35e=_0x26fe44;return Array[_0x51e35e(0xac)](this['_pluginMap'][_0x51e35e(0x1ac)]());}['mountHistoryContent'](_0x1aa259){const _0x3558a9=_0x26fe44,_0x2aeed5=document[_0x3558a9(0x1c5)](_0x15a2f3);_0x2aeed5&&(_0x2aeed5[_0x3558a9(0x106)]['display']=_0x3558a9(0x1b1),this[_0x3558a9(0x115)](_0x1aa259,_0x15a2f3));}[_0x26fe44(0x101)](){const _0x1a9da0=_0x26fe44;var _0x2987de;this[_0x1a9da0(0x16a)][_0x1a9da0(0x1c3)](),(_0x2987de=this[_0x1a9da0(0x1c2)])==null||_0x2987de['dispose'](),this[_0x1a9da0(0x12e)][_0x1a9da0(0xe6)](null);const _0x25b34e=document[_0x1a9da0(0x1c5)](_0x15a2f3);_0x25b34e&&(_0x25b34e[_0x1a9da0(0x106)]['display']=_0x1a9da0(0xbc));}[_0x26fe44(0x115)](_0x3c4461,_0x40edd7){const _0x531e70=_0x26fe44;if(this[_0x531e70(0x1c2)])return;const _0x539e6d=new _0x1cfe02[(_0x531e70(0x17f))]({'locales':{[this[_0x531e70(0x15a)]['getCurrentLocale']()]:this[_0x531e70(0x15a)]['getLocales']()},'override':[[_0x1cfe02[_0x531e70(0x108)],{'useClass':_0x5cc095[_0x531e70(0xc8)]}]]}),_0xe1b63e=_0x539e6d[_0x531e70(0x135)]();this['disposeWithMe'](this[_0x531e70(0x1c8)][_0x531e70(0xc1)]['subscribe'](_0x26231e=>{const _0x5244db=_0x531e70;_0xe1b63e[_0x5244db(0x14e)](_0x1cfe02[_0x5244db(0x19d)])[_0x5244db(0x1d0)](_0x26231e);})),this[_0x531e70(0x145)](this['_themeService'][_0x531e70(0xcc)][_0x531e70(0x119)](_0x1b495e=>{const _0x5d8b2a=_0x531e70;_0xe1b63e['get'](_0x1cfe02[_0x5d8b2a(0x19d)])[_0x5d8b2a(0xd0)](_0x1b495e);})),_0xe1b63e[_0x531e70(0x14e)](_0x1cfe02['LocaleService'])[_0x531e70(0x190)](this[_0x531e70(0x15a)][_0x531e70(0x1a4)]()),_0xe1b63e['get'](_0x1cfe02[_0x531e70(0xcf)])[_0x531e70(0x120)](_0x5cc095[_0x531e70(0x1a7)],this[_0x531e70(0x1cb)]['getConfig'](_0x5cc095['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x50bf8f=this['_configService'][_0x531e70(0x1ae)](_0x3c2c18[_0x531e70(0xf9)]);_0x50bf8f&&_0x539e6d[_0x531e70(0x1be)](_0x3c2c18[_0x531e70(0xd6)],{'license':_0x50bf8f['ls']}),this['_pluginMap']['forEach'](([_0x5156a1,_0x37342a])=>{_0x539e6d['registerPlugin'](_0x5156a1,_0x37342a);}),_0xe1b63e[_0x531e70(0x17a)](_0x4e1eea=>{this['_initListener'](_0x4e1eea,_0x3c4461);}),this[_0x531e70(0x12e)]['next'](_0x539e6d);const _0x4786b4=_0xe1b63e[_0x531e70(0x14e)](_0x18c27d[_0x531e70(0xc6)]),_0x1313e1=this[_0x531e70(0x18d)](_0x3c4461);_0x4786b4[_0x531e70(0x155)](_0x3c4461,_0x40edd7,_0x1313e1);}[_0x26fe44(0x117)](_0x4795c3,_0xba8f7f){const _0x3e2751=_0x26fe44,_0x38412b=_0x4795c3[_0x3e2751(0x14e)](_0x18c27d[_0x3e2751(0xc6)]);this[_0x3e2751(0x16a)][_0x3e2751(0xd7)](_0x38412b[_0x3e2751(0xdb)][_0x3e2751(0x119)](_0xaf5227=>{const _0x3b48d1=_0x3e2751;switch(_0xaf5227){case _0x18c27d['HistoryModeStatus'][_0x3b48d1(0xf3)]:this[_0x3b48d1(0x134)]['closeAll'](),this['_sidebarService'][_0x3b48d1(0x139)]();break;case _0x18c27d[_0x3b48d1(0x109)][_0x3b48d1(0x19b)]:this['_commandService'][_0x3b48d1(0x153)](_0x498bdb['id']),this[_0x3b48d1(0x101)]();break;case _0x18c27d[_0x3b48d1(0x109)]['Error']:this[_0x3b48d1(0x101)](),this['_messageService'][_0x3b48d1(0x176)]({'content':this['_localeService']['t'](_0x3b48d1(0xf4)),'type':_0x264fea['MessageType'][_0x3b48d1(0x107)],'duration':0xbb8});break;}})),this[_0x3e2751(0x16a)][_0x3e2751(0xd7)](_0x38412b[_0x3e2751(0x129)][_0x3e2751(0x119)](async _0x2e2b0b=>{const _0x25f691=_0x3e2751;_0x2e2b0b&&this[_0x25f691(0x10a)][_0x25f691(0x153)](_0x367ffc['RevertRevisionMutation']['id'],{'unitId':_0xba8f7f,'revision':_0x2e2b0b});}));}['_checkCanRevert'](_0x34c7b5){const _0x499b2c=_0x26fe44,_0x2428dc=this[_0x499b2c(0xd3)][_0x499b2c(0x127)](_0x34c7b5)[_0x499b2c(0x19f)]()[_0x499b2c(0x194)](_0x1be098=>_0x1be098[_0x499b2c(0x1bc)]()),_0x4e0071=new _0x5b1296['WorkbookEditablePermission'](_0x34c7b5)['id'],_0x4dbf1a=_0x2428dc[_0x499b2c(0x194)](_0x1191b6=>new _0x5b1296[(_0x499b2c(0x189))](_0x34c7b5,_0x1191b6)['id']),_0x588f32=_0x2428dc[_0x499b2c(0x194)](_0x4811e5=>this[_0x499b2c(0x14a)][_0x499b2c(0x13e)](_0x34c7b5,_0x4811e5)['map'](_0x5ebad8=>new _0x5b1296[(_0x499b2c(0x112))](_0x34c7b5,_0x4811e5,_0x5ebad8[_0x499b2c(0x131)])['id']))[_0x499b2c(0x164)](),_0x5e7061=new _0x5b1296[(_0x499b2c(0x16f))](_0x34c7b5)['id'];return this[_0x499b2c(0x1c7)]['composePermission']([_0x4e0071,..._0x4dbf1a,..._0x588f32,_0x5e7061])[_0x499b2c(0xfc)](_0xe1a6d6=>!!_0xe1a6d6['value']);}},_0x1711ee['HistoryLoaderService']=_0xcf832c([_0x4ab342(0x0,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['LocaleService'])),_0x4ab342(0x1,_0x1cfe02[_0x26fe44(0x141)]),_0x4ab342(0x2,_0x1cfe02[_0x26fe44(0xcf)]),_0x4ab342(0x3,_0x1cfe02[_0x26fe44(0x1b6)]),_0x4ab342(0x4,_0x3324b0['IMessageService']),_0x4ab342(0x5,_0x1cfe02[_0x26fe44(0xd5)]),_0x4ab342(0x6,_0x1cfe02[_0x26fe44(0x1d8)](_0x5b1296[_0x26fe44(0x1e0)])),_0x4ab342(0x7,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0[_0x26fe44(0xca)])),_0x4ab342(0x8,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0['ISidebarService'])),_0x4ab342(0x9,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['ThemeService']))],_0x1711ee['HistoryLoaderService']);const _0xaedf1a={'id':_0x26fe44(0xe8),'type':_0x1cfe02['CommandType'][_0x26fe44(0x159)],'handler':_0x328d40=>{const _0x6c4d60=_0x26fe44,_0x2d8f62=_0x328d40[_0x6c4d60(0x14e)](_0x1711ee[_0x6c4d60(0x1a0)]),_0x3c9e1b=_0x328d40['get'](_0x1cfe02[_0x6c4d60(0x141)]),{unitId:_0x1fcda4}=_0x5b1296[_0x6c4d60(0x1a8)](_0x3c9e1b)||{};return _0x1fcda4?(_0x2d8f62[_0x6c4d60(0x1df)](_0x1fcda4),!0x0):!0x1;}},_0x498bdb={'id':'univer.operation.exit-edit-history','type':_0x1cfe02[_0x26fe44(0x197)][_0x26fe44(0x159)],'handler':()=>!0x0};function _0x162f25(_0x384bf8){const _0xf14f52=_0x26fe44;return{'id':_0xaedf1a['id'],'type':_0x3324b0['MenuItemType'][_0xf14f52(0xe5)],'icon':_0xf14f52(0x181),'tooltip':'editHistory.panel.title','hidden$':_0x3324b0[_0xf14f52(0x1e1)](_0x384bf8,_0x1cfe02[_0xf14f52(0xdf)]['UNIVER_SHEET']),'disabled$':_0x116362['getCurrentRangeDisable$'](_0x384bf8,{'workbookTypes':[_0x5b1296[_0xf14f52(0xee)],_0x5b1296[_0xf14f52(0xff)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3c4b01={[_0x3324b0[_0x26fe44(0x16d)][_0x26fe44(0x16b)]]:{[_0xaedf1a['id']]:{'order':0.2,'menuItemFactory':_0x162f25}}};var _0x150520=Object['getOwnPropertyDescriptor'],_0x57c20c=(_0xcede1,_0x20192d,_0x2ffb40,_0x56a38c)=>{const _0x4f9a0c=_0x26fe44;for(var _0x19467b=_0x56a38c>0x1?void 0x0:_0x56a38c?_0x150520(_0x20192d,_0x2ffb40):_0x20192d,_0x258cf0=_0xcede1[_0x4f9a0c(0xc2)]-0x1,_0x48b18a;_0x258cf0>=0x0;_0x258cf0--)(_0x48b18a=_0xcede1[_0x258cf0])&&(_0x19467b=_0x48b18a(_0x19467b)||_0x19467b);return _0x19467b;},_0x24261e=(_0x361618,_0x1a0970)=>(_0x446d5,_0x5c494a)=>_0x1a0970(_0x446d5,_0x5c494a,_0x361618);let _0x59fd3e=class extends _0x1cfe02[_0x26fe44(0x160)]{constructor(_0x3a89d5,_0x2e4217,_0xaa550d,_0x1ce706,_0x210393,_0x2bbdaf,_0x5f3ed6,_0x46b691){const _0x5ea24e=_0x26fe44;super(),_0xaf2ac1(this,'_revertErrorTimer',null),(this['_commandService']=_0x3a89d5,this['_menuManagerService']=_0x2e4217,this[_0x5ea24e(0x1a5)]=_0xaa550d,this[_0x5ea24e(0xaa)]=_0x1ce706,this[_0x5ea24e(0x15a)]=_0x210393,this['_messageService']=_0x2bbdaf,this[_0x5ea24e(0x116)]=_0x5f3ed6,this[_0x5ea24e(0x138)]=_0x46b691,this[_0x5ea24e(0x186)]());}['_init'](){const _0x32cfd8=_0x26fe44;[_0xaedf1a,_0x498bdb][_0x32cfd8(0x1d3)](_0x3611da=>this['disposeWithMe'](_0x1cfe02[_0x32cfd8(0x158)](this[_0x32cfd8(0x10a)][_0x32cfd8(0x1d1)](_0x3611da)))),this[_0x32cfd8(0x145)](this[_0x32cfd8(0x1a5)][_0x32cfd8(0x144)]('HistoryIcon',_0x87acaa)),this[_0x32cfd8(0x12b)][_0x32cfd8(0x133)](_0x3c4b01),this[_0x32cfd8(0x145)](this[_0x32cfd8(0x10a)][_0x32cfd8(0x13c)](_0x57e13d=>{const _0x3ecd6c=_0x32cfd8;if(_0x57e13d['id']===_0x367ffc[_0x3ecd6c(0xbb)]['id']){this[_0x3ecd6c(0xb8)][_0x3ecd6c(0x176)]({'content':this[_0x3ecd6c(0x15a)]['t'](_0x3ecd6c(0x122)),'type':_0x264fea['MessageType']['Loading'],'duration':0x1388});const {unitId:_0xd31596}=_0x57e13d[_0x3ecd6c(0x1cd)],_0x271938=this[_0x3ecd6c(0x116)][_0x3ecd6c(0xce)](_0xd31596),_0x10cdff=_0x3459ba[_0x3ecd6c(0x150)]([_0x271938[_0x3ecd6c(0x161)][_0x3ecd6c(0xae)],_0x271938[_0x3ecd6c(0x11e)]])[_0x3ecd6c(0x119)](async([_0x1e3c54,_0x30ca97])=>{const _0x21ac96=_0x3ecd6c;var _0xf1ab47;_0x1e3c54['eventID']===_0x367ffc[_0x21ac96(0x1d4)]['CHANGESET_ACK']&&(_0x30ca97==null?void 0x0:_0x30ca97[_0x21ac96(0x15b)])===_0x5cc095[_0x21ac96(0x143)][_0x21ac96(0xbd)]&&_0x1e3c54[_0x21ac96(0x104)][_0x21ac96(0x177)][_0x21ac96(0x1d7)](_0x181269=>_0x181269['id']===_0x367ffc[_0x21ac96(0xbb)]['id'])&&(this['_historyManagerService']['unMountHistoryContent'](),_0x10cdff['unsubscribe'](),this[_0x21ac96(0x178)]&&clearTimeout(this[_0x21ac96(0x178)]),await((_0xf1ab47=this[_0x21ac96(0x138)])==null?void 0x0:_0xf1ab47[_0x21ac96(0x1c1)]()),setTimeout(()=>window[_0x21ac96(0x1bd)][_0x21ac96(0x1e2)]()));});this[_0x3ecd6c(0x178)]=setTimeout(()=>{const _0x512857=_0x3ecd6c;_0x10cdff[_0x512857(0xe4)](),this[_0x512857(0xb8)][_0x512857(0x176)]({'content':this[_0x512857(0x15a)]['t'](_0x512857(0xb7)),'type':_0x264fea[_0x512857(0x19a)][_0x512857(0x107)],'duration':0xbb8});},0x1388);}}));}};_0x59fd3e=_0x57c20c([_0x24261e(0x0,_0x1cfe02['ICommandService']),_0x24261e(0x1,_0x3324b0[_0x26fe44(0x10c)]),_0x24261e(0x2,_0x1cfe02[_0x26fe44(0x1d8)](_0x3324b0[_0x26fe44(0xc7)])),_0x24261e(0x3,_0x1cfe02[_0x26fe44(0x1d8)](_0x1711ee['HistoryLoaderService'])),_0x24261e(0x4,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02['LocaleService'])),_0x24261e(0x5,_0x3324b0[_0x26fe44(0xc5)]),_0x24261e(0x6,_0x1cfe02['Inject'](_0x5cc095['CollaborationController'])),_0x24261e(0x7,_0x5cc095[_0x26fe44(0xe2)])],_0x59fd3e);var _0x27dd55=Object[_0x26fe44(0xc4)],_0x1629c4=(_0x5e04aa,_0x3a5bda,_0x13113e,_0x231d28)=>{const _0x4e69a2=_0x26fe44;for(var _0x5ec964=_0x231d28>0x1?void 0x0:_0x231d28?_0x27dd55(_0x3a5bda,_0x13113e):_0x3a5bda,_0x242832=_0x5e04aa[_0x4e69a2(0xc2)]-0x1,_0x11efd6;_0x242832>=0x0;_0x242832--)(_0x11efd6=_0x5e04aa[_0x242832])&&(_0x5ec964=_0x11efd6(_0x5ec964)||_0x5ec964);return _0x5ec964;},_0x5dc9d1=(_0x5b5ba2,_0x274bcb)=>(_0x5b2f4f,_0xb378e4)=>_0x274bcb(_0x5b2f4f,_0xb378e4,_0x5b5ba2);const _0x425e2a=_0x26fe44(0x1a6);_0x1711ee[_0x26fe44(0xc9)]=(_0x530d4a=class extends _0x1cfe02['Plugin']{constructor(_0xaa5cef=_0x2dae5a,_0x35dfaf,_0xfc8b99){const _0x458490=_0x26fe44;super(),this['_config']=_0xaa5cef,this[_0x458490(0xc3)]=_0x35dfaf,this[_0x458490(0x1cb)]=_0xfc8b99;const {menu:_0x1e24f2,..._0x271066}=_0x1cfe02['merge']({},_0x2dae5a,this[_0x458490(0x175)]);_0x1e24f2&&this[_0x458490(0x1cb)][_0x458490(0x120)](_0x458490(0x1da),_0x1e24f2,{'merge':!0x0}),this[_0x458490(0x1cb)][_0x458490(0x120)](_0x4da2eb,_0x271066),this[_0x458490(0x175)]['univerContainerId']&&this[_0x458490(0x1cb)][_0x458490(0x120)](_0x4a4590,this[_0x458490(0x175)][_0x458490(0x13b)]);}[_0x26fe44(0x1aa)](){const _0x7fda11=_0x26fe44;[[_0x1711ee[_0x7fda11(0x1a0)]],[_0x59fd3e]][_0x7fda11(0x1d3)](_0x5c953f=>this[_0x7fda11(0xc3)][_0x7fda11(0xd7)](_0x5c953f));}[_0x26fe44(0xf6)](){const _0x3a8d7e=_0x26fe44;this[_0x3a8d7e(0xc3)][_0x3a8d7e(0x14e)](_0x59fd3e);}},_0xaf2ac1(_0x530d4a,_0x26fe44(0x188),_0x1cfe02['UniverInstanceType'][_0x26fe44(0xea)]),_0xaf2ac1(_0x530d4a,_0x26fe44(0x18b),_0x425e2a),_0x530d4a),_0x1711ee[_0x26fe44(0xc9)]=_0x1629c4([_0x5dc9d1(0x1,_0x1cfe02[_0x26fe44(0x1d8)](_0x1cfe02[_0x26fe44(0xec)])),_0x5dc9d1(0x2,_0x1cfe02[_0x26fe44(0xcf)])],_0x1711ee['UniverEditHistoryLoaderPlugin']),_0x1711ee[_0x26fe44(0x1cc)]=_0x4a4590,_0x1711ee[_0x26fe44(0x198)]=_0x15a2f3,Object[_0x26fe44(0xeb)](_0x1711ee,Symbol[_0x26fe44(0x167)],{'value':_0x26fe44(0x180)});}));function _0x1a2c(){const _0x1b5b2c=['AuthzIoHttpService','UniverEditHistoryLoaderPlugin','IDialogService','clear','currentTheme$','url(#$1','getCollabEntity','IConfigService','setTheme','_sidebarService','19143eDbzOC','_univerInstanceService','mask','IPermissionService','UniverLicensePlugin','add','@univerjs/sheets-formula-ui','absolute','UniverDataValidation','status$','UniverSheetsFormula','@univerjs-pro/edit-history-viewer','UniverDocsPlugin','UniverInstanceType','UniverIcon','forwardRef','ILocalCacheService','UniverSheetsNumfmt','unsubscribe','BUTTON','next','UniverProEditHistoryLoader','univer.operation.toggle-edit-history','@univerjs/sheets-data-validation','UNIVER_UNKNOWN','defineProperty','Injector','UniverNetworkPlugin','WorkbookEditablePermission','100%','UniverSheetsDataValidationPlugin','dataset','239220iMerRg','Entered','editHistory.panel.listFetchError','UniverSheetsDrawingUi','onSteady','M0\x200H16V16H0z','@univerjs/drawing-ui','LS_CONFIG_KEY','div','UniverProLicense','every','UniverSheetsDataValidation','UniverSheetsConditionalFormatting','WorkbookViewHistoryPermission','@univerjs-pro/sheets-sparkline-ui','unMountHistoryContent','url(#history-icon_clip0_907_281)','@univerjs/ui','data','1em','style','Error','IAuthzIoService','HistoryModeStatus','_commandService','UniverDocsUi','IMenuManagerService','UniverSheetsFilterPlugin','_initContainer','@univerjs-pro/sheets-chart-ui','symbol','fill','RangeProtectionPermissionEditPoint','UniverRenderEnginePlugin','UniverSheets','_initUniver','_collaborationController','_initListener','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','subscribe','uComp','univerjs-icon\x20univerjs-icon-','asObservable','UniverProCollaborationClient','state$','UniverSheetsUIPlugin','setConfig','history-icon_clip0_907_281','editHistory.panel.reverting','UniverSheetsFormulaUi','@univerjs/sheets-hyper-link','history-container','UniverSheetsConditionalFormattingUi','getUnit','@univerjs/sheets-filter-ui','revertRevision$','displayName','_menuManagerService','@univerjs/sheets-numfmt','1000','_historyUniver$','workerURL','UniverSheetsFormulaPlugin','permissionId','UniverCollaborationPlugin','mergeMenu','_dialogService','__getInjector','\x20has\x20been\x20registered.','UniverDrawingUIPlugin','_localCacheService','close','defs','univerContainerId','onCommandExecuted','UniverSheetsHyperLinkUIPlugin','getSubunitRuleList','UniverSheetsDataValidationUi','_pluginMap','IUniverInstanceService','9631523gNLNMS','CollaborationStatus','register','disposeWithMe','path','white','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/sheets-data-validation-ui','_selectionProtectionRuleModel','useRef','@univerjs/network','PLUGIN_CONFIG_KEY_MAIN_THREAD','get','left','combineLatest','clipPath','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','executeCommand','UniverDocs','triggerLoadVersions','@univerjs/sheets-ui','UniverProSheetsSparklineUi','toDisposable','OPERATION','_localeService','status','React','UNIVER_CONTAINER_ID','getAllPlugins','width','RxDisposable','session','children','UniverProCollaboration','flat','UniverSheetsPlugin','UniverSheetsChartUIPlugin','toStringTag','defIds','appendChild','_disposableCollection','OTHERS','display','RibbonStartGroup','UniverDocsUIPlugin','WorkbookRecoverHistoryPermission','1185134cqmKjN','@univerjs/docs','@univerjs/sheets-conditional-formatting-ui','@univerjs-pro/sheets-sparkline','univer-container','_config','show','mutations','_revertErrorTimer','exports','invoke','@univerjs/rpc','UniverSheetsFormulaUIPlugin','./worker.js','UniverEditHistoryViewerPlugin','Univer','Module','HistoryIcon','@univerjs/design','144745Fdooaq','edit-history-loader.config','UniverSheetsFilterUIPlugin','_init','replace','type','WorksheetEditPermission','UniverSheetsConditionalFormattingPlugin','pluginName','@univerjs-pro/sheets-chart','_checkCanRevert','2440232nTDEQP','@univerjs/sheets-drawing-ui','setLocale','svg','UniverDataValidationPlugin','@univerjs/sheets-conditional-formatting','map','assign','@univerjs/sheets','CommandType','UNIVER_HISTORY_CONTAINER_ID','UniverProSheetsPivot','MessageType','Exited','historyListServerUrl','ThemeService','@univerjs/sheets-formula','getSheets','HistoryLoaderService','UniverSheetsHyperLink','attrs','40XvwjXy','getCurrentLocale','_componentManager','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getSheetCommandTarget','@univerjs-pro/license','onStarting','height','values','7QsqHDa','getConfig','UniverProSheetsSparkline','1BPJgiI','block','historyUniver$','idSuffix','UniverUIPlugin','history-icon','ICommandService','@univerjs/sheets-drawing','12041856UXdrZP','@univerjs/engine-formula','use','amd','getSheetId','location','registerPlugin','includes','UniverDrawing','exhaustSavingTask','historyUniver','dispose','UniverSheetsNumfmtPlugin','getElementById','UniverSheetsPivotTablePlugin','_permissionService','_themeService','UniverSheetsDrawingUIPlugin','@univerjs/sheets-hyper-link-ui','_configService','UNIVER_CONTAINER_ID_KEY','params','30pvHrCl','@univerjs/drawing','setDarkMode','registerCommand','UniverProEditHistoryViewer','forEach','CollaborationEvent','@univerjs-pro/collaboration','UniverRpc','some','Inject','4530WpSQwf','menu','UniverSheetsUi','http://www.w3.org/2000/svg','@univerjs/data-validation','UniverSheetsFilterUi','mountHistoryContent','RangeProtectionRuleModel','getMenuHiddenObservable','reload','createElement','_historyManagerService','rxjs','from','trim','event$','UniverSheetsHyperLinkUi','UniverSheetsDrawingPlugin','UniverRPCMainThreadPlugin','@univerjs/sheets-filter','colorChannel1','string','react','_initPlugins','editHistory.panel.revertFailed','_messageService','currentColor','historyPanelComponentKey','RevertRevisionMutation','none','SYNCED','tag','entries','UniverSheetsDataValidationUIPlugin','darkMode$','length','_injector','getOwnPropertyDescriptor','IMessageService','HistoryManagerService','ComponentManager'];_0x1a2c=function(){return _0x1b5b2c;};return _0x1a2c();}
|
|
1
|
+
function _0x50ff(_0xf48a79,_0x39bbd1){_0xf48a79=_0xf48a79-0x96;const _0x18f43a=_0x18f4();let _0x50ff11=_0x18f43a[_0xf48a79];return _0x50ff11;}(function(_0x3cb1d8,_0x292bc4){const _0x15edc2=_0x50ff,_0x3732a5=_0x3cb1d8();while(!![]){try{const _0x21e4e7=parseInt(_0x15edc2(0x10c))/0x1*(-parseInt(_0x15edc2(0xa6))/0x2)+-parseInt(_0x15edc2(0xf8))/0x3+-parseInt(_0x15edc2(0xcf))/0x4*(-parseInt(_0x15edc2(0x14d))/0x5)+-parseInt(_0x15edc2(0xa4))/0x6*(parseInt(_0x15edc2(0xf7))/0x7)+parseInt(_0x15edc2(0x19e))/0x8*(-parseInt(_0x15edc2(0x1a8))/0x9)+-parseInt(_0x15edc2(0xb9))/0xa*(-parseInt(_0x15edc2(0x140))/0xb)+-parseInt(_0x15edc2(0xac))/0xc*(-parseInt(_0x15edc2(0xc2))/0xd);if(_0x21e4e7===_0x292bc4)break;else _0x3732a5['push'](_0x3732a5['shift']());}catch(_0x460798){_0x3732a5['push'](_0x3732a5['shift']());}}}(_0x18f4,0x4610d),function(_0x412cb6,_0x488e15){const _0x353265=_0x50ff;typeof exports==_0x353265(0x184)&&typeof module<'u'?_0x488e15(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==_0x353265(0x15e)&&define[_0x353265(0x18f)]?define([_0x353265(0x165),_0x353265(0x19d),_0x353265(0xd6),'@univerjs-pro/collaboration-client',_0x353265(0x112),_0x353265(0x127),'@univerjs/ui',_0x353265(0x18e),_0x353265(0x1c0),'@univerjs-pro/edit-history-viewer',_0x353265(0xe1),_0x353265(0xc7),'@univerjs-pro/sheets-chart-ui','@univerjs-pro/sheets-pivot',_0x353265(0x12f),_0x353265(0xaa),'@univerjs/data-validation',_0x353265(0xb2),_0x353265(0x1c7),_0x353265(0xc3),_0x353265(0xcc),'@univerjs/engine-formula','@univerjs/engine-render',_0x353265(0x1cd),_0x353265(0xff),_0x353265(0x132),_0x353265(0x145),'@univerjs/sheets-data-validation',_0x353265(0xe6),_0x353265(0x13c),_0x353265(0x152),_0x353265(0xe2),'@univerjs/sheets-filter-ui',_0x353265(0x97),_0x353265(0x188),_0x353265(0x18a),_0x353265(0x150),_0x353265(0x1bc),_0x353265(0xa1)],_0x488e15):(_0x412cb6=typeof globalThis<'u'?globalThis:_0x412cb6||self,_0x488e15(_0x412cb6[_0x353265(0x1a5)]={},_0x412cb6[_0x353265(0xd5)],_0x412cb6[_0x353265(0x178)],_0x412cb6['UniverProCollaborationClient'],_0x412cb6[_0x353265(0x1ac)],_0x412cb6[_0x353265(0x182)],_0x412cb6[_0x353265(0x1cb)],_0x412cb6[_0x353265(0x18e)],_0x412cb6[_0x353265(0x15c)],_0x412cb6[_0x353265(0x107)],_0x412cb6[_0x353265(0xc4)],_0x412cb6[_0x353265(0x117)],_0x412cb6[_0x353265(0xee)],_0x412cb6['UniverProSheetsPivot'],_0x412cb6[_0x353265(0x13a)],_0x412cb6[_0x353265(0x108)],_0x412cb6[_0x353265(0x113)],_0x412cb6[_0x353265(0x121)],_0x412cb6['UniverDocsUi'],_0x412cb6[_0x353265(0xd8)],_0x412cb6[_0x353265(0x147)],_0x412cb6[_0x353265(0x199)],_0x412cb6[_0x353265(0x19f)],_0x412cb6['UniverNetwork'],_0x412cb6[_0x353265(0x189)],_0x412cb6[_0x353265(0x1af)],_0x412cb6['UniverSheetsConditionalFormattingUi'],_0x412cb6[_0x353265(0x12c)],_0x412cb6[_0x353265(0x1cc)],_0x412cb6[_0x353265(0x142)],_0x412cb6[_0x353265(0xef)],_0x412cb6[_0x353265(0x1a1)],_0x412cb6[_0x353265(0xb7)],_0x412cb6[_0x353265(0x1a2)],_0x412cb6[_0x353265(0x10e)],_0x412cb6[_0x353265(0xa2)],_0x412cb6[_0x353265(0x106)],_0x412cb6[_0x353265(0xba)],_0x412cb6[_0x353265(0xe9)]));}(this,function(_0x499ea8,_0x552bc0,_0x2becc8,_0x4066ae,_0x2b93b4,_0x3ee021,_0x32ea1f,_0x5cbe1b,_0x2bdedc,_0x287bf5,_0xc29e25,_0x5a7077,_0x3930dc,_0x4a4663,_0x92e78a,_0x28efd3,_0x5a8ca2,_0x103434,_0x139240,_0x280d59,_0xc13d65,_0x4c5781,_0x3901d7,_0x5db487,_0x15c2e0,_0x39df8d,_0x337a74,_0x435448,_0x47d510,_0x3284fa,_0x2e002c,_0x45da5c,_0x2798c5,_0x28a065,_0x31c5b8,_0xa14e19,_0x2fb780,_0xd494b1,_0x5bae2b){'use strict';const _0x37a0ed=_0x50ff;var _0x5d9183=Object[_0x37a0ed(0x1b8)],_0x2340db=(_0x3ab77b,_0x4e8c9d,_0x1e0fef)=>_0x4e8c9d in _0x3ab77b?_0x5d9183(_0x3ab77b,_0x4e8c9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e0fef}):_0x3ab77b[_0x4e8c9d]=_0x1e0fef,_0x4bf57e=(_0x3c19c6,_0xb0e27a,_0x1c3a4a)=>_0x2340db(_0x3c19c6,typeof _0xb0e27a!=_0x37a0ed(0xec)?_0xb0e27a+'':_0xb0e27a,_0x1c3a4a),_0x429c68;const _0x4b7dc5=_0x37a0ed(0x109),_0x111fb7={};function _0x1ad9a0({ref:_0x45e39f,..._0x369c30}){const _0xe9dbe9=_0x37a0ed,{icon:_0x226685,id:_0x12ad87,className:_0x30fe87,extend:_0xe0b7ce,..._0x1b5043}=_0x369c30,_0x362b8c=(_0xe9dbe9(0x1b4)+_0x12ad87+'\x20'+(_0x30fe87||''))[_0xe9dbe9(0xf5)](),_0x5154d2=_0x3ee021[_0xe9dbe9(0x143)]('_'+_0x2a20ac());return _0x549a3e(_0x226685,''+_0x12ad87,{'defIds':_0x226685[_0xe9dbe9(0x149)],'idSuffix':_0x5154d2[_0xe9dbe9(0x1c1)]},{'ref':_0x45e39f,'className':_0x362b8c,..._0x1b5043},_0xe0b7ce);}function _0x549a3e(_0x219968,_0x5d0c19,_0xb459cb,_0x3c12df,_0xe7f1b9){const _0x533594=_0x37a0ed;return _0x3ee021[_0x533594(0x96)](_0x219968[_0x533594(0xd9)],{'key':_0x5d0c19,..._0x4b1af6(_0x219968,_0xb459cb,_0xe7f1b9),..._0x3c12df},(_0x4e33a8(_0x219968,_0xb459cb)[_0x533594(0x172)]||[])[_0x533594(0x105)]((_0x3a8cd4,_0x18aec2)=>_0x549a3e(_0x3a8cd4,_0x5d0c19+'-'+_0x219968[_0x533594(0xd9)]+'-'+_0x18aec2,_0xb459cb,void 0x0,_0xe7f1b9)));}function _0x4b1af6(_0x416ea6,_0x4ec526,_0x59cc09){const _0x530f62=_0x37a0ed,_0x2610d8={..._0x416ea6[_0x530f62(0xc8)]};_0x59cc09!=null&&_0x59cc09['colorChannel1']&&_0x2610d8[_0x530f62(0x122)]===_0x530f62(0xbf)&&(_0x2610d8['fill']=_0x59cc09['colorChannel1']),_0x416ea6[_0x530f62(0xd9)]===_0x530f62(0xc1)&&_0x2610d8['id']&&(_0x2610d8['id']=_0x2610d8['id']+_0x4ec526[_0x530f62(0x14a)]),Object[_0x530f62(0xaf)](_0x2610d8)[_0x530f62(0x139)](([_0x5d2d2d,_0x2ecf5d])=>{const _0x268a0c=_0x530f62;_0x5d2d2d===_0x268a0c(0xc1)&&typeof _0x2ecf5d=='string'&&(_0x2610d8[_0x5d2d2d]=_0x2ecf5d[_0x268a0c(0x179)](/url\(#(.*)\)/,_0x268a0c(0xed)+_0x4ec526['idSuffix']+')'));});const {defIds:_0x4b103c}=_0x4ec526;return!_0x4b103c||_0x4b103c[_0x530f62(0xc0)]===0x0||(_0x416ea6[_0x530f62(0xd9)]==='use'&&_0x2610d8[_0x530f62(0x135)]&&(_0x2610d8['xlink:href']=_0x2610d8['xlink:href']+_0x4ec526[_0x530f62(0x14a)]),Object['entries'](_0x2610d8)[_0x530f62(0x139)](([_0x5d81d5,_0x1fd315])=>{const _0xfdcf0=_0x530f62;typeof _0x1fd315==_0xfdcf0(0x1ae)&&(_0x2610d8[_0x5d81d5]=_0x1fd315[_0xfdcf0(0x179)](/url\(#(.*)\)/,_0xfdcf0(0xed)+_0x4ec526['idSuffix']+')'));})),_0x2610d8;}function _0x4e33a8(_0xc6833b,_0x3e4bc1){const _0x3f561e=_0x37a0ed;var _0x43f5ea;const {defIds:_0x4f097f}=_0x3e4bc1;return!_0x4f097f||_0x4f097f['length']===0x0?_0xc6833b:_0xc6833b[_0x3f561e(0xd9)]==='defs'&&((_0x43f5ea=_0xc6833b[_0x3f561e(0x172)])!=null&&_0x43f5ea[_0x3f561e(0xc0)])?{..._0xc6833b,'children':_0xc6833b[_0x3f561e(0x172)][_0x3f561e(0x105)](_0x2dbb6f=>typeof _0x2dbb6f[_0x3f561e(0xc8)]['id']==_0x3f561e(0x1ae)&&_0x4f097f&&_0x4f097f['includes'](_0x2dbb6f[_0x3f561e(0xc8)]['id'])?{..._0x2dbb6f,'attrs':{..._0x2dbb6f['attrs'],'id':_0x2dbb6f['attrs']['id']+_0x3e4bc1['idSuffix']}}:_0x2dbb6f)}:_0xc6833b;}function _0x2a20ac(){const _0x1e5d16=_0x37a0ed;return Math[_0x1e5d16(0x191)]()[_0x1e5d16(0x1b1)](0x24)[_0x1e5d16(0x157)](0x2,0x8);}_0x1ad9a0[_0x37a0ed(0x1bf)]=_0x37a0ed(0x19a);const _0x4f99c9={'tag':_0x37a0ed(0x167),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x37a0ed(0x13d),'viewBox':'0\x200\x2016\x2016','width':_0x37a0ed(0x175),'height':_0x37a0ed(0x175)},'children':[{'tag':'g','attrs':{'fill':_0x37a0ed(0x17e),'clipPath':_0x37a0ed(0x9a)},'children':[{'tag':_0x37a0ed(0x16d),'attrs':{'d':_0x37a0ed(0x15b)}},{'tag':_0x37a0ed(0x16d),'attrs':{'d':_0x37a0ed(0x9f)}}]},{'tag':_0x37a0ed(0x164),'attrs':{},'children':[{'tag':_0x37a0ed(0xd3),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':'path','attrs':{'fill':_0x37a0ed(0xfc),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x37a0ed(0xd0)]},_0x39ba41=_0x3ee021[_0x37a0ed(0xcd)](function(_0x55f7cc,_0x421d40){const _0x4d7abe=_0x37a0ed;return _0x3ee021[_0x4d7abe(0x96)](_0x1ad9a0,Object[_0x4d7abe(0x11e)]({},_0x55f7cc,{'id':_0x4d7abe(0xb8),'ref':_0x421d40,'icon':_0x4f99c9}));});_0x39ba41[_0x37a0ed(0x1bf)]='HistoryIcon';var _0x511308=Object[_0x37a0ed(0x1ad)],_0x2d8b27=(_0xbb4dbb,_0x4951e7,_0x5c4d62,_0xfd5cb9)=>{const _0x2e960e=_0x37a0ed;for(var _0x5be450=_0xfd5cb9>0x1?void 0x0:_0xfd5cb9?_0x511308(_0x4951e7,_0x5c4d62):_0x4951e7,_0x4af3aa=_0xbb4dbb[_0x2e960e(0xc0)]-0x1,_0x42f515;_0x4af3aa>=0x0;_0x4af3aa--)(_0x42f515=_0xbb4dbb[_0x4af3aa])&&(_0x5be450=_0x42f515(_0x5be450)||_0x5be450);return _0x5be450;},_0x2984e8=(_0x53a3ac,_0x2e9987)=>(_0x5aa92b,_0x1da039)=>_0x2e9987(_0x5aa92b,_0x1da039,_0x53a3ac);const _0x3f5aeb=_0x37a0ed(0x173),_0x333531=_0x37a0ed(0x1ab),_0x3c86af=_0x37a0ed(0xbb);_0x499ea8[_0x37a0ed(0x131)]=class extends _0x552bc0['Disposable']{constructor(_0x5380cb,_0x11c787,_0x3fd705,_0x157cb4,_0x4b651c,_0x1b62bb,_0x3c9d94,_0x6f937d,_0x13ceab,_0x12ae5b){const _0x42b13f=_0x37a0ed;super(),_0x4bf57e(this,_0x42b13f(0xb6),new _0x5cbe1b['BehaviorSubject'](null)),_0x4bf57e(this,_0x42b13f(0xe0),this[_0x42b13f(0xb6)][_0x42b13f(0x13e)]()),_0x4bf57e(this,'_disposableCollection',new _0x552bc0[(_0x42b13f(0x162))]()),_0x4bf57e(this,'_pluginMap',new Map()),(this['_localeService']=_0x5380cb,this[_0x42b13f(0xe3)]=_0x11c787,this[_0x42b13f(0x1c5)]=_0x3fd705,this[_0x42b13f(0x17a)]=_0x157cb4,this['_messageService']=_0x4b651c,this['_permissionService']=_0x1b62bb,this[_0x42b13f(0x17d)]=_0x3c9d94,this[_0x42b13f(0xbe)]=_0x6f937d,this[_0x42b13f(0x11f)]=_0x13ceab,this[_0x42b13f(0x12d)]=_0x12ae5b,this[_0x42b13f(0x115)]());}get[_0x37a0ed(0xfa)](){const _0xe9fc8d=_0x37a0ed;return this[_0xe9fc8d(0xb6)][_0xe9fc8d(0xab)];}['_init'](){const _0x2dc47f=_0x37a0ed;this[_0x2dc47f(0x98)](),this[_0x2dc47f(0x176)]();}[_0x37a0ed(0x98)](){const _0x480182=_0x37a0ed;var _0x43c918;const _0x37fac7=(_0x43c918=this['_configService'][_0x480182(0x1ce)](_0x333531))!=null?_0x43c918:_0x3f5aeb,_0x44b910=document[_0x480182(0xf2)](_0x37fac7);if(!_0x44b910)return;const _0x534303=document[_0x480182(0x96)](_0x480182(0xc9));_0x534303['id']=_0x3c86af,_0x534303[_0x480182(0xf1)][_0x480182(0x186)]='history-container',_0x534303['style']['position']='absolute',_0x534303[_0x480182(0x1c3)][_0x480182(0xb4)]='0',_0x534303[_0x480182(0x1c3)][_0x480182(0x15a)]='0',_0x534303[_0x480182(0x1c3)][_0x480182(0xeb)]='100%',_0x534303[_0x480182(0x1c3)][_0x480182(0x198)]=_0x480182(0xa9),_0x534303[_0x480182(0x1c3)][_0x480182(0xe4)]=_0x480182(0x16c),_0x534303[_0x480182(0x1c3)][_0x480182(0xb1)]=_0x480182(0x13d),_0x44b910['appendChild'](_0x534303);}[_0x37a0ed(0x176)](){const _0x559556=_0x37a0ed;var _0x4dc349,_0x5cc537,_0x5c2e2c,_0x1df7b5;[[_0x3901d7[_0x559556(0x13b)]],[_0x32ea1f[_0x559556(0x12b)],{'container':_0x3c86af,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x32ea1f[_0x559556(0x183)],null]]}],[_0x5db487[_0x559556(0xfe)]],[_0x280d59[_0x559556(0x1b7)],{'override':[[_0x280d59[_0x559556(0x1aa)],null]]}],[_0x103434['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x139240['UniverDocsUIPlugin']],[_0xd494b1[_0x559556(0x1c6)]],[_0x2bdedc[_0x559556(0x13f)],{'notExecuteFormula':!0x0}],[_0x5bae2b[_0x559556(0x119)]],[_0x28a065[_0x559556(0x1bb)]],[_0x31c5b8['UniverSheetsFormulaUIPlugin']],[_0x2becc8[_0x559556(0x1b0)]],[_0x45da5c[_0x559556(0xfd)]],[_0x2798c5[_0x559556(0x18b)]],[_0x39df8d[_0x559556(0x114)]],[_0x337a74[_0x559556(0x18d)]],[_0xa14e19[_0x559556(0x104)]],[_0x2fb780[_0x559556(0x14f)]],[_0x5a8ca2[_0x559556(0xa8)]],[_0x435448[_0x559556(0x11d)]],[_0x47d510[_0x559556(0x12e)]],[_0x4c5781['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x15c2e0[_0x559556(0x125)],{'workerURL':(_0x5cc537=(_0x4dc349=this[_0x559556(0x1c5)][_0x559556(0x1ce)](_0x15c2e0[_0x559556(0x154)]))==null?void 0x0:_0x4dc349[_0x559556(0x148)])!=null?_0x5cc537:_0x559556(0x11b)}],[_0xc13d65['UniverDrawingUIPlugin']],[_0x3284fa[_0x559556(0x9b)]],[_0x2e002c[_0x559556(0x156)]],[_0x92e78a[_0x559556(0x163)]],[_0x28efd3[_0x559556(0x17b)]],[_0x5a7077[_0x559556(0x144)]],[_0x3930dc[_0x559556(0xf4)]],[_0x4a4663[_0x559556(0xe5)],{'notExecuteFormula':!0x0}],[_0x287bf5[_0x559556(0x155)],{'historyListServerUrl':(_0x5c2e2c=this[_0x559556(0x1c5)]['getConfig'](_0x4b7dc5))==null?void 0x0:_0x5c2e2c[_0x559556(0x133)],'historyPanelComponentKey':(_0x1df7b5=this[_0x559556(0x1c5)][_0x559556(0x1ce)](_0x4b7dc5))==null?void 0x0:_0x1df7b5[_0x559556(0x193)]}]][_0x559556(0x139)](([_0x58b364,_0x32dec2])=>this[_0x559556(0x12a)](_0x58b364,_0x32dec2));}[_0x37a0ed(0x1b3)](){const _0x12ee02=_0x37a0ed;super[_0x12ee02(0x1b3)](),this[_0x12ee02(0x151)](),this[_0x12ee02(0x129)][_0x12ee02(0x160)]();}[_0x37a0ed(0x12a)](_0x40a63d,_0x2c8caa,_0x270036){const _0x2f9b81=_0x37a0ed;if(this[_0x2f9b81(0x129)][_0x2f9b81(0x14b)](_0x40a63d[_0x2f9b81(0x136)])&&!_0x270036)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x40a63d[_0x2f9b81(0x136)]+_0x2f9b81(0x100));this[_0x2f9b81(0x129)]['set'](_0x40a63d[_0x2f9b81(0x136)],[_0x40a63d,_0x2c8caa]);}[_0x37a0ed(0xcb)](){const _0x4d2db4=_0x37a0ed;return Array[_0x4d2db4(0x153)](this[_0x4d2db4(0x129)][_0x4d2db4(0x195)]());}['mountHistoryContent'](_0x23aa65){const _0x4ffb05=_0x37a0ed,_0x855776=document['getElementById'](_0x3c86af);_0x855776&&(_0x855776[_0x4ffb05(0x1c3)]['display']=_0x4ffb05(0x177),this['_initUniver'](_0x23aa65,_0x3c86af));}[_0x37a0ed(0x151)](){const _0x173673=_0x37a0ed;var _0x31d436;this['_disposableCollection'][_0x173673(0x1b3)](),(_0x31d436=this[_0x173673(0xfa)])==null||_0x31d436[_0x173673(0x1b3)](),this[_0x173673(0xb6)][_0x173673(0x181)](null);const _0x2170bd=document[_0x173673(0xf2)](_0x3c86af);_0x2170bd&&(_0x2170bd[_0x173673(0x1c3)][_0x173673(0xb1)]=_0x173673(0x13d));}[_0x37a0ed(0x17c)](_0x2871f2,_0x10993d){const _0x1d51dc=_0x37a0ed;if(this[_0x1d51dc(0xfa)])return;const _0x5b929e=new _0x552bc0[(_0x1d51dc(0x102))]({'locales':{[this[_0x1d51dc(0x19c)][_0x1d51dc(0xf3)]()]:this[_0x1d51dc(0x19c)][_0x1d51dc(0xbd)]()},'override':[[_0x552bc0['IAuthzIoService'],{'useClass':_0x4066ae[_0x1d51dc(0x166)]}]]}),_0x3f92f7=_0x5b929e[_0x1d51dc(0x141)]();this[_0x1d51dc(0xde)](this['_themeService'][_0x1d51dc(0x116)][_0x1d51dc(0x19b)](_0x4af4fd=>{const _0x3c4f8f=_0x1d51dc;_0x3f92f7['get'](_0x552bc0['ThemeService'])[_0x3c4f8f(0x9e)](_0x4af4fd);})),this[_0x1d51dc(0xde)](this[_0x1d51dc(0x12d)][_0x1d51dc(0x1b5)]['subscribe'](_0x5a867b=>{const _0x2eb13c=_0x1d51dc;_0x3f92f7['get'](_0x552bc0[_0x2eb13c(0xd7)])['setTheme'](_0x5a867b);})),_0x3f92f7[_0x1d51dc(0x1c4)](_0x552bc0[_0x1d51dc(0xb3)])[_0x1d51dc(0x187)](this[_0x1d51dc(0x19c)]['getCurrentLocale']()),_0x3f92f7['get'](_0x552bc0[_0x1d51dc(0x16b)])[_0x1d51dc(0x126)](_0x4066ae[_0x1d51dc(0xdf)],this[_0x1d51dc(0x1c5)][_0x1d51dc(0x1ce)](_0x4066ae[_0x1d51dc(0xdf)]));const _0x453e05=this[_0x1d51dc(0x1c5)][_0x1d51dc(0x1ce)](_0xc29e25[_0x1d51dc(0x137)]);_0x453e05&&_0x5b929e['registerPlugin'](_0xc29e25[_0x1d51dc(0xa0)],{'license':_0x453e05['ls']}),this[_0x1d51dc(0x129)][_0x1d51dc(0x139)](([_0x33e9b0,_0x37ed8d])=>{const _0x3d9c08=_0x1d51dc;_0x5b929e[_0x3d9c08(0x12a)](_0x33e9b0,_0x37ed8d);}),_0x3f92f7[_0x1d51dc(0xf0)](_0x22c3bc=>{const _0x368380=_0x1d51dc;this[_0x368380(0xd1)](_0x22c3bc,_0x2871f2);}),this['_historyUniver$']['next'](_0x5b929e);const _0x515bf2=_0x3f92f7[_0x1d51dc(0x1c4)](_0x287bf5['HistoryManagerService']),_0x392fb5=this[_0x1d51dc(0x138)](_0x2871f2);_0x515bf2[_0x1d51dc(0x101)](_0x2871f2,_0x10993d,_0x392fb5);}[_0x37a0ed(0xd1)](_0x17f743,_0x51dbba){const _0x186b1a=_0x37a0ed,_0x18d1f8=_0x17f743[_0x186b1a(0x1c4)](_0x287bf5[_0x186b1a(0x99)]);this[_0x186b1a(0xe8)]['add'](_0x18d1f8[_0x186b1a(0x18c)][_0x186b1a(0x19b)](_0x5325ac=>{const _0x5aa00e=_0x186b1a;switch(_0x5325ac){case _0x287bf5[_0x5aa00e(0x158)][_0x5aa00e(0xc5)]:this[_0x5aa00e(0xbe)]['closeAll'](),this[_0x5aa00e(0x11f)]['close']();break;case _0x287bf5['HistoryModeStatus']['Exited']:this[_0x5aa00e(0x17a)]['executeCommand'](_0x3bd5b2['id']),this[_0x5aa00e(0x151)]();break;case _0x287bf5['HistoryModeStatus'][_0x5aa00e(0x1b9)]:this['unMountHistoryContent'](),this[_0x5aa00e(0xdd)]['show']({'content':this[_0x5aa00e(0x19c)]['t'](_0x5aa00e(0xda)),'type':_0x2b93b4[_0x5aa00e(0xe7)][_0x5aa00e(0x1b9)],'duration':0xbb8});break;}})),this[_0x186b1a(0xe8)][_0x186b1a(0x14e)](_0x18d1f8['revertRevision$'][_0x186b1a(0x19b)](async _0x2c5a53=>{const _0x8c582b=_0x186b1a;_0x2c5a53&&this[_0x8c582b(0x17a)]['executeCommand'](_0x2becc8['RevertRevisionMutation']['id'],{'unitId':_0x51dbba,'revision':_0x2c5a53});}));}[_0x37a0ed(0x138)](_0x387c9e){const _0x59e178=_0x37a0ed,_0x1716d9=this[_0x59e178(0xe3)][_0x59e178(0x10b)](_0x387c9e)[_0x59e178(0x1c8)]()['map'](_0x30621c=>_0x30621c['getSheetId']()),_0x4480d9=new _0x2bdedc[(_0x59e178(0xa3))](_0x387c9e)['id'],_0xff3002=_0x1716d9[_0x59e178(0x105)](_0x25a2c6=>new _0x2bdedc[(_0x59e178(0x192))](_0x387c9e,_0x25a2c6)['id']),_0x44341e=_0x1716d9[_0x59e178(0x105)](_0x137f2d=>this[_0x59e178(0x17d)][_0x59e178(0x14c)](_0x387c9e,_0x137f2d)[_0x59e178(0x105)](_0x5223ac=>new _0x2bdedc[(_0x59e178(0x123))](_0x387c9e,_0x137f2d,_0x5223ac[_0x59e178(0xce)])['id']))['flat'](),_0x162362=new _0x2bdedc['WorkbookRecoverHistoryPermission'](_0x387c9e)['id'];return this[_0x59e178(0x1b6)][_0x59e178(0x1a3)]([_0x4480d9,..._0xff3002,..._0x44341e,_0x162362])['every'](_0x564fb1=>!!_0x564fb1[_0x59e178(0xab)]);}},_0x499ea8[_0x37a0ed(0x131)]=_0x2d8b27([_0x2984e8(0x0,_0x552bc0[_0x37a0ed(0xf6)](_0x552bc0[_0x37a0ed(0xb3)])),_0x2984e8(0x1,_0x552bc0[_0x37a0ed(0xdb)]),_0x2984e8(0x2,_0x552bc0[_0x37a0ed(0x16b)]),_0x2984e8(0x3,_0x552bc0[_0x37a0ed(0x174)]),_0x2984e8(0x4,_0x32ea1f['IMessageService']),_0x2984e8(0x5,_0x552bc0[_0x37a0ed(0xb5)]),_0x2984e8(0x6,_0x552bc0['Inject'](_0x2bdedc[_0x37a0ed(0xea)])),_0x2984e8(0x7,_0x552bc0[_0x37a0ed(0xf6)](_0x32ea1f['IDialogService'])),_0x2984e8(0x8,_0x552bc0['Inject'](_0x32ea1f[_0x37a0ed(0x168)])),_0x2984e8(0x9,_0x552bc0[_0x37a0ed(0xf6)](_0x552bc0[_0x37a0ed(0xd7)]))],_0x499ea8['HistoryLoaderService']);const _0x2a1679={'id':'univer.operation.toggle-edit-history','type':_0x552bc0[_0x37a0ed(0xf9)]['OPERATION'],'handler':_0x3e4228=>{const _0x467d52=_0x37a0ed,_0x3685dd=_0x3e4228[_0x467d52(0x1c4)](_0x499ea8['HistoryLoaderService']),_0x342f2c=_0x3e4228[_0x467d52(0x1c4)](_0x552bc0['IUniverInstanceService']),{unitId:_0x47e002}=_0x2bdedc[_0x467d52(0x110)](_0x342f2c)||{};return _0x47e002?(_0x3685dd['mountHistoryContent'](_0x47e002),!0x0):!0x1;}},_0x3bd5b2={'id':_0x37a0ed(0x169),'type':_0x552bc0['CommandType'][_0x37a0ed(0x171)],'handler':()=>!0x0};function _0x597e0e(_0xee41cd){const _0x3af300=_0x37a0ed;return{'id':_0x2a1679['id'],'type':_0x32ea1f[_0x3af300(0x1ba)]['BUTTON'],'icon':_0x3af300(0x16a),'tooltip':_0x3af300(0x9c),'hidden$':_0x32ea1f[_0x3af300(0x1a9)](_0xee41cd,_0x552bc0[_0x3af300(0x196)][_0x3af300(0xd4)]),'disabled$':_0x5bae2b[_0x3af300(0x16f)](_0xee41cd,{'workbookTypes':[_0x2bdedc[_0x3af300(0xa3)],_0x2bdedc['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const _0x5cc95a={[_0x32ea1f[_0x37a0ed(0xad)][_0x37a0ed(0x197)]]:{[_0x2a1679['id']]:{'order':0.2,'menuItemFactory':_0x597e0e}}};var _0x4c337a=Object['getOwnPropertyDescriptor'],_0x16e034=(_0x48ebef,_0x55ac50,_0x1ce722,_0x4bc321)=>{const _0x12d4a4=_0x37a0ed;for(var _0x1b1e24=_0x4bc321>0x1?void 0x0:_0x4bc321?_0x4c337a(_0x55ac50,_0x1ce722):_0x55ac50,_0x485439=_0x48ebef[_0x12d4a4(0xc0)]-0x1,_0xb62637;_0x485439>=0x0;_0x485439--)(_0xb62637=_0x48ebef[_0x485439])&&(_0x1b1e24=_0xb62637(_0x1b1e24)||_0x1b1e24);return _0x1b1e24;},_0x46deab=(_0x4d53a8,_0x5ce502)=>(_0x55be1a,_0x1e20d8)=>_0x5ce502(_0x55be1a,_0x1e20d8,_0x4d53a8);let _0x4f6ba7=class extends _0x552bc0[_0x37a0ed(0x1c2)]{constructor(_0x3267ce,_0x267a5e,_0xd91a1c,_0xfef625,_0x35410d,_0x5d7949,_0x449cf1,_0x3e6ef7){const _0x1d7210=_0x37a0ed;super(),_0x4bf57e(this,_0x1d7210(0x10a),null),(this[_0x1d7210(0x17a)]=_0x3267ce,this[_0x1d7210(0x1ca)]=_0x267a5e,this['_componentManager']=_0xd91a1c,this[_0x1d7210(0x1c9)]=_0xfef625,this[_0x1d7210(0x19c)]=_0x35410d,this['_messageService']=_0x5d7949,this['_collaborationController']=_0x449cf1,this[_0x1d7210(0x190)]=_0x3e6ef7,this['_init']());}['_init'](){const _0x4d5199=_0x37a0ed;[_0x2a1679,_0x3bd5b2]['forEach'](_0x145c84=>this[_0x4d5199(0xde)](_0x552bc0[_0x4d5199(0xc6)](this[_0x4d5199(0x17a)][_0x4d5199(0x11a)](_0x145c84)))),this[_0x4d5199(0xde)](this[_0x4d5199(0xdc)][_0x4d5199(0xbc)]('HistoryIcon',_0x39ba41)),this[_0x4d5199(0x1ca)][_0x4d5199(0x103)](_0x5cc95a),this[_0x4d5199(0xde)](this[_0x4d5199(0x17a)]['onCommandExecuted'](_0x272269=>{const _0x532ae1=_0x4d5199;if(_0x272269['id']===_0x2becc8[_0x532ae1(0x1a7)]['id']){this[_0x532ae1(0xdd)][_0x532ae1(0xfb)]({'content':this[_0x532ae1(0x19c)]['t']('editHistory.panel.reverting'),'type':_0x2b93b4[_0x532ae1(0xe7)]['Loading'],'duration':0x1388});const {unitId:_0x53630c}=_0x272269[_0x532ae1(0x120)],_0x276aaf=this[_0x532ae1(0x1a4)][_0x532ae1(0x180)](_0x53630c),_0x24bdba=_0x5cbe1b[_0x532ae1(0x17f)]([_0x276aaf[_0x532ae1(0x1be)][_0x532ae1(0xae)],_0x276aaf['state$']])[_0x532ae1(0x19b)](async([_0x2ef913,_0x3f6ba1])=>{const _0x538414=_0x532ae1;var _0x2e3d89;_0x2ef913['eventID']===_0x2becc8[_0x538414(0x170)][_0x538414(0x128)]&&(_0x3f6ba1==null?void 0x0:_0x3f6ba1['status'])===_0x4066ae[_0x538414(0x1bd)][_0x538414(0x194)]&&_0x2ef913[_0x538414(0x161)][_0x538414(0xa7)][_0x538414(0x124)](_0xc38cd8=>_0xc38cd8['id']===_0x2becc8[_0x538414(0x1a7)]['id'])&&(this['_historyManagerService'][_0x538414(0x151)](),_0x24bdba[_0x538414(0x11c)](),this[_0x538414(0x10a)]&&clearTimeout(this['_revertErrorTimer']),await((_0x2e3d89=this[_0x538414(0x190)])==null?void 0x0:_0x2e3d89[_0x538414(0xca)]()),setTimeout(()=>window[_0x538414(0x185)][_0x538414(0xb0)]()));});this[_0x532ae1(0x10a)]=setTimeout(()=>{const _0x27132f=_0x532ae1;_0x24bdba[_0x27132f(0x11c)](),this[_0x27132f(0xdd)][_0x27132f(0xfb)]({'content':this[_0x27132f(0x19c)]['t']('editHistory.panel.revertFailed'),'type':_0x2b93b4[_0x27132f(0xe7)][_0x27132f(0x1b9)],'duration':0xbb8});},0x1388);}}));}};_0x4f6ba7=_0x16e034([_0x46deab(0x0,_0x552bc0['ICommandService']),_0x46deab(0x1,_0x32ea1f[_0x37a0ed(0x10d)]),_0x46deab(0x2,_0x552bc0[_0x37a0ed(0xf6)](_0x32ea1f[_0x37a0ed(0x1b2)])),_0x46deab(0x3,_0x552bc0[_0x37a0ed(0xf6)](_0x499ea8[_0x37a0ed(0x131)])),_0x46deab(0x4,_0x552bc0[_0x37a0ed(0xf6)](_0x552bc0[_0x37a0ed(0xb3)])),_0x46deab(0x5,_0x32ea1f['IMessageService']),_0x46deab(0x6,_0x552bc0[_0x37a0ed(0xf6)](_0x4066ae['CollaborationController'])),_0x46deab(0x7,_0x4066ae[_0x37a0ed(0x10f)])],_0x4f6ba7);var _0x4ed9a2=Object['getOwnPropertyDescriptor'],_0x283792=(_0x3aaf49,_0x2880e3,_0x37758c,_0x2ca88e)=>{for(var _0xea87bc=_0x2ca88e>0x1?void 0x0:_0x2ca88e?_0x4ed9a2(_0x2880e3,_0x37758c):_0x2880e3,_0x27a8d2=_0x3aaf49['length']-0x1,_0x1f3345;_0x27a8d2>=0x0;_0x27a8d2--)(_0x1f3345=_0x3aaf49[_0x27a8d2])&&(_0xea87bc=_0x1f3345(_0xea87bc)||_0xea87bc);return _0xea87bc;},_0x4f04f4=(_0x42a9e9,_0x349908)=>(_0x2f9ae3,_0x585258)=>_0x349908(_0x2f9ae3,_0x585258,_0x42a9e9);const _0x5641f6='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x499ea8[_0x37a0ed(0xd2)]=(_0x429c68=class extends _0x552bc0[_0x37a0ed(0x15f)]{constructor(_0x541dba=_0x111fb7,_0xb59a8a,_0x51acd3){const _0x38f59e=_0x37a0ed;super(),this[_0x38f59e(0x9d)]=_0x541dba,this[_0x38f59e(0x1a0)]=_0xb59a8a,this[_0x38f59e(0x1c5)]=_0x51acd3;const {menu:_0x592394,..._0x3002eb}=_0x552bc0[_0x38f59e(0x134)]({},_0x111fb7,this[_0x38f59e(0x9d)]);_0x592394&&this[_0x38f59e(0x1c5)][_0x38f59e(0x126)](_0x38f59e(0x130),_0x592394,{'merge':!0x0}),this['_configService'][_0x38f59e(0x126)](_0x4b7dc5,_0x3002eb),this['_config'][_0x38f59e(0xa5)]&&this[_0x38f59e(0x1c5)][_0x38f59e(0x126)](_0x333531,this[_0x38f59e(0x9d)]['univerContainerId']);}[_0x37a0ed(0x15d)](){const _0x1c409e=_0x37a0ed;[[_0x499ea8[_0x1c409e(0x131)]],[_0x4f6ba7]]['forEach'](_0x261071=>this[_0x1c409e(0x1a0)][_0x1c409e(0x14e)](_0x261071));}['onSteady'](){const _0x40016f=_0x37a0ed;this[_0x40016f(0x1a0)][_0x40016f(0x1c4)](_0x4f6ba7);}},_0x4bf57e(_0x429c68,_0x37a0ed(0x1a6),_0x552bc0[_0x37a0ed(0x196)][_0x37a0ed(0x111)]),_0x4bf57e(_0x429c68,_0x37a0ed(0x136),_0x5641f6),_0x429c68),_0x499ea8[_0x37a0ed(0xd2)]=_0x283792([_0x4f04f4(0x1,_0x552bc0[_0x37a0ed(0xf6)](_0x552bc0['Injector'])),_0x4f04f4(0x2,_0x552bc0[_0x37a0ed(0x16b)])],_0x499ea8['UniverEditHistoryLoaderPlugin']),_0x499ea8[_0x37a0ed(0x16e)]=_0x333531,_0x499ea8[_0x37a0ed(0x159)]=_0x3c86af,Object['defineProperty'](_0x499ea8,Symbol[_0x37a0ed(0x118)],{'value':_0x37a0ed(0x146)});}));function _0x18f4(){const _0x3d4085=['4058226fuFIeZ','getMenuHiddenObservable','IImageIoService','UNIVER_CONTAINER_ID','UniverDesign','getOwnPropertyDescriptor','string','UniverSheetsConditionalFormatting','UniverCollaborationPlugin','toString','ComponentManager','dispose','univerjs-icon\x20univerjs-icon-','currentTheme$','_permissionService','UniverDrawingPlugin','defineProperty','Error','MenuItemType','UniverSheetsFormulaPlugin','@univerjs/sheets-numfmt','CollaborationStatus','session','displayName','@univerjs/sheets','current','RxDisposable','style','get','_configService','UniverSheetsNumfmtPlugin','@univerjs/docs-ui','getSheets','_historyManagerService','_menuManagerService','UniverUi','UniverSheetsDataValidationUi','@univerjs/network','getConfig','createElement','@univerjs/sheets-formula','_initContainer','HistoryManagerService','url(#history-icon_clip0_907_281)','UniverSheetsDrawingPlugin','editHistory.panel.title','_config','setDarkMode','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','UniverLicensePlugin','@univerjs/sheets-ui','UniverSheetsHyperLink','WorkbookEditablePermission','114396cgejSO','univerContainerId','417604VocopA','mutations','UniverDataValidationPlugin','100%','@univerjs-pro/sheets-sparkline-ui','value','50304cJktWC','RibbonStartGroup','event$','entries','reload','display','@univerjs/docs','LocaleService','top','IPermissionService','_historyUniver$','UniverSheetsFilterUi','history-icon','188450Nmapxg','UniverSheetsNumfmt','univer-history-container','register','getLocales','_dialogService','colorChannel1','length','mask','5057PAbwJi','@univerjs/drawing','UniverProLicense','Entered','toDisposable','@univerjs-pro/sheets-chart','attrs','div','exhaustSavingTask','getAllPlugins','@univerjs/drawing-ui','forwardRef','permissionId','1024184eGsvAw','history-icon_clip0_907_281','_initListener','UniverEditHistoryLoaderPlugin','clipPath','UNIVER_SHEET','UniverCore','@univerjs-pro/collaboration','ThemeService','UniverDrawing','tag','editHistory.panel.listFetchError','IUniverInstanceService','_componentManager','_messageService','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','historyUniver$','@univerjs-pro/license','@univerjs/sheets-filter','_univerInstanceService','zIndex','UniverSheetsPivotTablePlugin','@univerjs/sheets-data-validation-ui','MessageType','_disposableCollection','UniverSheetsUi','RangeProtectionRuleModel','width','symbol','url(#$1','UniverProSheetsChartUi','UniverSheetsDrawingUi','invoke','dataset','getElementById','getCurrentLocale','UniverSheetsChartUIPlugin','trim','Inject','105cwquLF','1392246cxqEAx','CommandType','historyUniver','show','white','UniverSheetsFilterPlugin','UniverNetworkPlugin','@univerjs/rpc','\x20has\x20been\x20registered.','triggerLoadVersions','Univer','mergeMenu','UniverSheetsHyperLinkPlugin','map','UniverSheetsHyperLinkUi','UniverProEditHistoryViewer','UniverProSheetsSparklineUi','edit-history-loader.config','_revertErrorTimer','getUnit','2pVeFFz','IMenuManagerService','UniverSheetsFormulaUi','ILocalCacheService','getSheetCommandTarget','UNIVER_UNKNOWN','@univerjs/design','UniverDataValidation','UniverSheetsConditionalFormattingPlugin','_init','darkMode$','UniverProSheetsChart','toStringTag','UniverSheetsUIPlugin','registerCommand','./worker.js','unsubscribe','UniverSheetsDataValidationPlugin','assign','_sidebarService','params','UniverDocs','fill','RangeProtectionPermissionEditPoint','some','UniverRPCMainThreadPlugin','setConfig','react','CHANGESET_ACK','_pluginMap','registerPlugin','UniverUIPlugin','UniverSheetsDataValidation','_themeService','UniverSheetsDataValidationUIPlugin','@univerjs-pro/sheets-sparkline','menu','HistoryLoaderService','@univerjs/sheets-conditional-formatting','historyListServerUrl','merge','xlink:href','pluginName','LS_CONFIG_KEY','_checkCanRevert','forEach','UniverProSheetsSparkline','UniverRenderEnginePlugin','@univerjs/sheets-drawing','none','asObservable','UniverSheetsPlugin','11OxnXjp','__getInjector','UniverSheetsDrawing','useRef','UniverSheetsChartPlugin','@univerjs/sheets-conditional-formatting-ui','Module','UniverDrawingUi','workerURL','defIds','idSuffix','has','getSubunitRuleList','5bAnolD','add','UniverSheetsHyperLinkUIPlugin','@univerjs/sheets-hyper-link-ui','unMountHistoryContent','@univerjs/sheets-drawing-ui','from','PLUGIN_CONFIG_KEY_MAIN_THREAD','UniverEditHistoryViewerPlugin','UniverSheetsDrawingUIPlugin','substring','HistoryModeStatus','UNIVER_HISTORY_CONTAINER_ID','left','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','UniverSheets','onStarting','function','Plugin','clear','data','DisposableCollection','UniverSheetSparklinePlugin','defs','exports','AuthzIoHttpService','svg','ISidebarService','univer.operation.exit-edit-history','HistoryIcon','IConfigService','1000','path','UNIVER_CONTAINER_ID_KEY','getCurrentRangeDisable$','CollaborationEvent','OPERATION','children','univer-container','ICommandService','1em','_initPlugins','block','UniverProCollaboration','replace','_commandService','UniverSheetSparklineUIPlugin','_initUniver','_selectionProtectionRuleModel','currentColor','combineLatest','getCollabEntity','next','React','IDialogService','object','location','uComp','setLocale','@univerjs/sheets-formula-ui','UniverRpc','@univerjs/sheets-hyper-link','UniverSheetsFilterUIPlugin','status$','UniverSheetsConditionalFormattingUIPlugin','rxjs','amd','_localCacheService','random','WorksheetEditPermission','historyPanelComponentKey','SYNCED','values','UniverInstanceType','OTHERS','height','UniverEngineFormula','UniverIcon','subscribe','_localeService','@univerjs/core','8IbAION','UniverEngineRender','_injector','UniverSheetsFilter','UniverSheetsFormula','composePermission','_collaborationController','UniverProEditHistoryLoader','type','RevertRevisionMutation'];_0x18f4=function(){return _0x3d4085;};return _0x18f4();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.15.0-insiders.
|
|
3
|
+
"version": "0.15.0-insiders.20260110-48b77c8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet edit history loader",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -47,42 +47,42 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@univerjs/icons": "^1.1.1",
|
|
50
|
-
"@univerjs-pro/collaboration
|
|
51
|
-
"@univerjs-pro/
|
|
52
|
-
"@univerjs-pro/
|
|
53
|
-
"@univerjs-pro/license": "0.15.0-insiders.
|
|
54
|
-
"@univerjs-pro/sheets-chart
|
|
55
|
-
"@univerjs-pro/sheets-
|
|
56
|
-
"@univerjs-pro/sheets-pivot": "0.15.0-insiders.
|
|
57
|
-
"@univerjs-pro/sheets-
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/drawing": "0.15.0-insiders.
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/engine-formula": "0.15.0-insiders.
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/sheets
|
|
71
|
-
"@univerjs/sheets": "0.15.0-insiders.
|
|
72
|
-
"@univerjs/
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-
|
|
76
|
-
"@univerjs/sheets-drawing": "0.15.0-insiders.
|
|
77
|
-
"@univerjs/sheets-filter": "0.15.0-insiders.
|
|
78
|
-
"@univerjs/sheets-
|
|
79
|
-
"@univerjs/sheets-formula-ui": "0.15.0-insiders.
|
|
80
|
-
"@univerjs/sheets-hyper-link": "0.15.0-insiders.
|
|
81
|
-
"@univerjs/sheets-
|
|
82
|
-
"@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.
|
|
83
|
-
"@univerjs/sheets-
|
|
84
|
-
"@univerjs/ui": "0.15.0-insiders.
|
|
85
|
-
"@univerjs/
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.0-insiders.20260110-48b77c8",
|
|
51
|
+
"@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260110-48b77c8",
|
|
52
|
+
"@univerjs-pro/collaboration-client": "0.15.0-insiders.20260110-48b77c8",
|
|
53
|
+
"@univerjs-pro/license": "0.15.0-insiders.20260110-48b77c8",
|
|
54
|
+
"@univerjs-pro/sheets-chart": "0.15.0-insiders.20260110-48b77c8",
|
|
55
|
+
"@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
56
|
+
"@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260110-48b77c8",
|
|
57
|
+
"@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260110-48b77c8",
|
|
58
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
59
|
+
"@univerjs/core": "0.15.0-insiders.20260110-48b77c8",
|
|
60
|
+
"@univerjs/data-validation": "0.15.0-insiders.20260110-48b77c8",
|
|
61
|
+
"@univerjs/docs": "0.15.0-insiders.20260110-48b77c8",
|
|
62
|
+
"@univerjs/design": "0.15.0-insiders.20260110-48b77c8",
|
|
63
|
+
"@univerjs/drawing": "0.15.0-insiders.20260110-48b77c8",
|
|
64
|
+
"@univerjs/drawing-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
65
|
+
"@univerjs/docs-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
66
|
+
"@univerjs/engine-formula": "0.15.0-insiders.20260110-48b77c8",
|
|
67
|
+
"@univerjs/network": "0.15.0-insiders.20260110-48b77c8",
|
|
68
|
+
"@univerjs/rpc": "0.15.0-insiders.20260110-48b77c8",
|
|
69
|
+
"@univerjs/engine-render": "0.15.0-insiders.20260110-48b77c8",
|
|
70
|
+
"@univerjs/sheets": "0.15.0-insiders.20260110-48b77c8",
|
|
71
|
+
"@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260110-48b77c8",
|
|
72
|
+
"@univerjs/sheets-data-validation": "0.15.0-insiders.20260110-48b77c8",
|
|
73
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
74
|
+
"@univerjs/sheets-drawing": "0.15.0-insiders.20260110-48b77c8",
|
|
75
|
+
"@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
76
|
+
"@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
77
|
+
"@univerjs/sheets-filter": "0.15.0-insiders.20260110-48b77c8",
|
|
78
|
+
"@univerjs/sheets-filter-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
79
|
+
"@univerjs/sheets-formula-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
80
|
+
"@univerjs/sheets-hyper-link": "0.15.0-insiders.20260110-48b77c8",
|
|
81
|
+
"@univerjs/sheets-formula": "0.15.0-insiders.20260110-48b77c8",
|
|
82
|
+
"@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
83
|
+
"@univerjs/sheets-numfmt": "0.15.0-insiders.20260110-48b77c8",
|
|
84
|
+
"@univerjs/sheets-ui": "0.15.0-insiders.20260110-48b77c8",
|
|
85
|
+
"@univerjs/ui": "0.15.0-insiders.20260110-48b77c8"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"react": "18.3.1",
|