@univerjs-pro/edit-history-loader 0.15.0-insiders.20260107-3441c7a → 0.15.0-insiders.20260107-3d1cfdf
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 _0xf68217=_0x43ba;(function(_0x279c7b,_0x3a6f13){const _0x58e2fb=_0x43ba,_0x16a964=_0x279c7b();while(!![]){try{const _0x2a1702=-parseInt(_0x58e2fb(0xa0))/0x1*(parseInt(_0x58e2fb(0x16f))/0x2)+-parseInt(_0x58e2fb(0x150))/0x3*(-parseInt(_0x58e2fb(0x11b))/0x4)+parseInt(_0x58e2fb(0x11a))/0x5+parseInt(_0x58e2fb(0x11e))/0x6+-parseInt(_0x58e2fb(0xac))/0x7*(parseInt(_0x58e2fb(0x9e))/0x8)+parseInt(_0x58e2fb(0xf8))/0x9*(parseInt(_0x58e2fb(0x157))/0xa)+parseInt(_0x58e2fb(0x15e))/0xb*(-parseInt(_0x58e2fb(0x9f))/0xc);if(_0x2a1702===_0x3a6f13)break;else _0x16a964['push'](_0x16a964['shift']());}catch(_0x3e7498){_0x16a964['push'](_0x16a964['shift']());}}}(_0x6396,0x904b5));var A=Object[_0xf68217(0x87)],F=(_0x3d7eab,_0xb95e3d,_0x7cbcab)=>_0xb95e3d in _0x3d7eab?A(_0x3d7eab,_0xb95e3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7cbcab}):_0x3d7eab[_0xb95e3d]=_0x7cbcab,_=(_0x17b357,_0x2cb66d,_0x10f29a)=>F(_0x17b357,typeof _0x2cb66d!=_0xf68217(0x12b)?_0x2cb66d+'':_0x2cb66d,_0x10f29a);Object['defineProperty'](exports,Symbol[_0xf68217(0xaa)],{'value':'Module'});const o=require('@univerjs/core'),C=require('@univerjs-pro/collaboration'),p=require('@univerjs-pro/collaboration-client'),P=require('@univerjs/design'),U=require('react'),h=require('@univerjs/ui'),O=require('rxjs'),d=require('@univerjs/sheets'),m=require('@univerjs-pro/edit-history-viewer'),L=require('@univerjs-pro/license'),V=require('@univerjs-pro/sheets-chart'),G=require('@univerjs-pro/sheets-chart-ui'),Y=require('@univerjs-pro/sheets-pivot'),K=require('@univerjs-pro/sheets-sparkline'),W=require('@univerjs-pro/sheets-sparkline-ui'),B=require('@univerjs/data-validation'),z=require('@univerjs/docs'),Z=require('@univerjs/docs-ui'),N=require('@univerjs/drawing'),J=require('@univerjs/drawing-ui'),Q=require('@univerjs/engine-formula'),X=require('@univerjs/engine-render'),ee=require('@univerjs/network'),R=require('@univerjs/rpc'),ie=require('@univerjs/sheets-conditional-formatting'),te=require('@univerjs/sheets-conditional-formatting-ui'),re=require('@univerjs/sheets-data-validation'),ne=require('@univerjs/sheets-data-validation-ui'),se=require('@univerjs/sheets-drawing'),oe=require('@univerjs/sheets-drawing-ui'),ae=require('@univerjs/sheets-filter'),ce=require('@univerjs/sheets-filter-ui'),le=require('@univerjs/sheets-formula'),ue=require('@univerjs/sheets-formula-ui'),he=require('@univerjs/sheets-hyper-link'),ge=require('@univerjs/sheets-hyper-link-ui'),ve=require('@univerjs/sheets-numfmt'),k=require('@univerjs/sheets-ui'),b='edit-history-loader.config',T={};function D({ref:_0x37f0d9,..._0x391ba8}){const _0x4bf634=_0xf68217,{icon:_0x313a00,id:_0x2a3959,className:_0x22fbcd,extend:_0x2b5ec4,..._0x159117}=_0x391ba8,_0x3e5607=(_0x4bf634(0x16e)+_0x2a3959+'\x20'+(_0x22fbcd||''))[_0x4bf634(0x85)](),_0x57d169=U[_0x4bf634(0xba)]('_'+Se());return q(_0x313a00,''+_0x2a3959,{'defIds':_0x313a00[_0x4bf634(0x170)],'idSuffix':_0x57d169[_0x4bf634(0x16a)]},{'ref':_0x37f0d9,'className':_0x3e5607,..._0x159117},_0x2b5ec4);}function q(_0x28833d,_0x21f4b7,_0x43ea4d,_0x5bea43,_0x3e7ac5){const _0x2146a4=_0xf68217;return U[_0x2146a4(0x15c)](_0x28833d['tag'],{'key':_0x21f4b7,...de(_0x28833d,_0x43ea4d,_0x3e7ac5),..._0x5bea43},(_e(_0x28833d,_0x43ea4d)[_0x2146a4(0x12a)]||[])[_0x2146a4(0xca)]((_0x1927e2,_0x579c98)=>q(_0x1927e2,_0x21f4b7+'-'+_0x28833d['tag']+'-'+_0x579c98,_0x43ea4d,void 0x0,_0x3e7ac5)));}function de(_0x49aaae,_0x551b7b,_0x3fa5e9){const _0x22aeb2=_0xf68217,_0x163be9={..._0x49aaae['attrs']};_0x3fa5e9!=null&&_0x3fa5e9[_0x22aeb2(0xd5)]&&_0x163be9[_0x22aeb2(0xda)]===_0x22aeb2(0xd5)&&(_0x163be9[_0x22aeb2(0xda)]=_0x3fa5e9[_0x22aeb2(0xd5)]),_0x49aaae['tag']===_0x22aeb2(0x168)&&_0x163be9['id']&&(_0x163be9['id']=_0x163be9['id']+_0x551b7b['idSuffix']),Object[_0x22aeb2(0x164)](_0x163be9)[_0x22aeb2(0xcb)](([_0x283a06,_0x7d78ca])=>{const _0x5c52d3=_0x22aeb2;_0x283a06===_0x5c52d3(0x168)&&typeof _0x7d78ca==_0x5c52d3(0xdb)&&(_0x163be9[_0x283a06]=_0x7d78ca['replace'](/url\(#(.*)\)/,'url(#$1'+_0x551b7b[_0x5c52d3(0xe5)]+')'));});const {defIds:_0x2486f1}=_0x551b7b;return!_0x2486f1||_0x2486f1[_0x22aeb2(0xb4)]===0x0||(_0x49aaae['tag']===_0x22aeb2(0x162)&&_0x163be9[_0x22aeb2(0x134)]&&(_0x163be9['xlink:href']=_0x163be9['xlink:href']+_0x551b7b[_0x22aeb2(0xe5)]),Object[_0x22aeb2(0x164)](_0x163be9)['forEach'](([_0x2879f0,_0x5bbc32])=>{const _0x20c2db=_0x22aeb2;typeof _0x5bbc32==_0x20c2db(0xdb)&&(_0x163be9[_0x2879f0]=_0x5bbc32[_0x20c2db(0xcd)](/url\(#(.*)\)/,_0x20c2db(0x14a)+_0x551b7b['idSuffix']+')'));})),_0x163be9;}function _e(_0x333fbd,_0x2968fc){const _0x430d32=_0xf68217;var _0x25816b;const {defIds:_0x4bc434}=_0x2968fc;return!_0x4bc434||_0x4bc434['length']===0x0?_0x333fbd:_0x333fbd[_0x430d32(0x107)]===_0x430d32(0x141)&&((_0x25816b=_0x333fbd['children'])!=null&&_0x25816b[_0x430d32(0xb4)])?{..._0x333fbd,'children':_0x333fbd[_0x430d32(0x12a)][_0x430d32(0xca)](_0x5454bc=>typeof _0x5454bc[_0x430d32(0x89)]['id']=='string'&&_0x4bc434&&_0x4bc434['includes'](_0x5454bc[_0x430d32(0x89)]['id'])?{..._0x5454bc,'attrs':{..._0x5454bc[_0x430d32(0x89)],'id':_0x5454bc[_0x430d32(0x89)]['id']+_0x2968fc[_0x430d32(0xe5)]}}:_0x5454bc)}:_0x333fbd;}function Se(){const _0x2a9eb7=_0xf68217;return Math[_0x2a9eb7(0xce)]()[_0x2a9eb7(0x9c)](0x24)[_0x2a9eb7(0x14e)](0x2,0x8);}D[_0xf68217(0x129)]=_0xf68217(0xe4);const me={'tag':_0xf68217(0x115),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xf68217(0x117),'width':_0xf68217(0x15b),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0xf68217(0xa5),'clipPath':_0xf68217(0xee)},'children':[{'tag':_0xf68217(0xf5),'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':_0xf68217(0xf5),'attrs':{'d':_0xf68217(0xa3)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf68217(0x156)},'children':[{'tag':_0xf68217(0xf5),'attrs':{'fill':_0xf68217(0xaf),'d':_0xf68217(0xc3)}}]}]}],'defIds':[_0xf68217(0x156)]},$=U[_0xf68217(0x11d)](function(_0x4e1a46,_0x26ed3d){const _0x248f13=_0xf68217;return U['createElement'](D,Object[_0x248f13(0xa2)]({},_0x4e1a46,{'id':_0x248f13(0x9a),'ref':_0x26ed3d,'icon':me}));});$['displayName']=_0xf68217(0x100);var ye=Object[_0xf68217(0xf2)],pe=(_0x179d4e,_0x1e3fb5,_0xadfd55,_0x2eeb79)=>{const _0x355e8e=_0xf68217;for(var _0x55fecd=_0x2eeb79>0x1?void 0x0:_0x2eeb79?ye(_0x1e3fb5,_0xadfd55):_0x1e3fb5,_0x4f12cc=_0x179d4e[_0x355e8e(0xb4)]-0x1,_0x225b97;_0x4f12cc>=0x0;_0x4f12cc--)(_0x225b97=_0x179d4e[_0x4f12cc])&&(_0x55fecd=_0x225b97(_0x55fecd)||_0x55fecd);return _0x55fecd;},g=(_0x3931b4,_0x5f1da8)=>(_0x3114b2,_0x38f1fc)=>_0x5f1da8(_0x3114b2,_0x38f1fc,_0x3931b4);const fe=_0xf68217(0xbd),H=_0xf68217(0xef),y=_0xf68217(0xae);exports[_0xf68217(0x97)]=class extends o['Disposable']{constructor(_0x275f18,_0x141502,_0x3eafde,_0x3a4579,_0x33c300,_0x3665da,_0x4e3e43,_0x2ba1e1,_0x56de3f,_0x2d8eb4){const _0x312e8b=_0xf68217;super(),_(this,_0x312e8b(0xdd),new O[(_0x312e8b(0xe9))](null)),_(this,_0x312e8b(0xd3),this[_0x312e8b(0xdd)][_0x312e8b(0x137)]()),_(this,_0x312e8b(0xd9),new o[(_0x312e8b(0xa7))]()),_(this,_0x312e8b(0x92),new Map()),(this[_0x312e8b(0x13c)]=_0x275f18,this[_0x312e8b(0x122)]=_0x141502,this[_0x312e8b(0x118)]=_0x3eafde,this[_0x312e8b(0x12d)]=_0x3a4579,this[_0x312e8b(0x14b)]=_0x33c300,this[_0x312e8b(0x98)]=_0x3665da,this[_0x312e8b(0x133)]=_0x4e3e43,this[_0x312e8b(0x136)]=_0x2ba1e1,this[_0x312e8b(0x155)]=_0x56de3f,this['_themeService']=_0x2d8eb4,this[_0x312e8b(0x116)]());}get[_0xf68217(0xa9)](){const _0x2fd978=_0xf68217;return this[_0x2fd978(0xdd)]['value'];}[_0xf68217(0x116)](){const _0x10483d=_0xf68217;this['_initContainer'](),this[_0x10483d(0xc2)]();}[_0xf68217(0x102)](){const _0x8438c5=_0xf68217;var _0x11dd46;const _0x41f617=(_0x11dd46=this[_0x8438c5(0x118)][_0x8438c5(0x131)](H))!=null?_0x11dd46:fe,_0xe0f7d2=document[_0x8438c5(0xc5)](_0x41f617);if(!_0xe0f7d2)return;const _0x1ee551=document[_0x8438c5(0x15c)]('div');_0x1ee551['id']=y,_0x1ee551['dataset']['uComp']=_0x8438c5(0x16d),_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x106)]='absolute',_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x13b)]='0',_0x1ee551[_0x8438c5(0xb7)]['left']='0',_0x1ee551[_0x8438c5(0xb7)][_0x8438c5(0x88)]=_0x8438c5(0x11c),_0x1ee551[_0x8438c5(0xb7)]['height']=_0x8438c5(0x11c),_0x1ee551[_0x8438c5(0xb7)]['zIndex']='1000',_0x1ee551['style'][_0x8438c5(0x10c)]='none',_0xe0f7d2[_0x8438c5(0x13d)](_0x1ee551);}['_initPlugins'](){const _0x4b4626=_0xf68217;var _0x1c875b,_0x50390e,_0x10e224,_0x1efefd;[[X[_0x4b4626(0x96)]],[h[_0x4b4626(0x93)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x4b4626(0xa8)],null]]}],[ee['UniverNetworkPlugin']],[N['UniverDrawingPlugin'],{'override':[[N[_0x4b4626(0x151)],null]]}],[z[_0x4b4626(0x11f)],{'hasScroll':!0x1}],[Z[_0x4b4626(0x15a)]],[ve[_0x4b4626(0x16c)]],[d[_0x4b4626(0xe8)],{'notExecuteFormula':!0x0}],[k[_0x4b4626(0x130)]],[le[_0x4b4626(0xb3)]],[ue['UniverSheetsFormulaUIPlugin']],[C[_0x4b4626(0xb2)]],[ae[_0x4b4626(0xd6)]],[ce[_0x4b4626(0x8d)]],[ie[_0x4b4626(0xff)]],[te['UniverSheetsConditionalFormattingUIPlugin']],[he['UniverSheetsHyperLinkPlugin']],[ge[_0x4b4626(0xb1)]],[B[_0x4b4626(0xc8)]],[re[_0x4b4626(0x123)]],[ne['UniverSheetsDataValidationUIPlugin']],[Q[_0x4b4626(0x10f)],{'notExecuteFormula':!0x0}],[R['UniverRPCMainThreadPlugin'],{'workerURL':(_0x50390e=(_0x1c875b=this[_0x4b4626(0x118)][_0x4b4626(0x131)](R[_0x4b4626(0x111)]))==null?void 0x0:_0x1c875b[_0x4b4626(0x8c)])!=null?_0x50390e:_0x4b4626(0x16b)}],[J[_0x4b4626(0x166)]],[se[_0x4b4626(0x148)]],[oe[_0x4b4626(0x8f)]],[K[_0x4b4626(0x128)]],[W[_0x4b4626(0xd2)]],[V[_0x4b4626(0xe3)]],[G[_0x4b4626(0x15d)]],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m[_0x4b4626(0xbe)],{'historyListServerUrl':(_0x10e224=this['_configService'][_0x4b4626(0x131)](b))==null?void 0x0:_0x10e224['historyListServerUrl'],'historyPanelComponentKey':(_0x1efefd=this[_0x4b4626(0x118)][_0x4b4626(0x131)](b))==null?void 0x0:_0x1efefd['historyPanelComponentKey']}]][_0x4b4626(0xcb)](([_0x16f285,_0x2bead6])=>this['registerPlugin'](_0x16f285,_0x2bead6));}[_0xf68217(0xe6)](){const _0x162383=_0xf68217;super['dispose'](),this['unMountHistoryContent'](),this['_pluginMap'][_0x162383(0xf9)]();}['registerPlugin'](_0x154a83,_0x497fea,_0x51c6c4){const _0x4d2a3d=_0xf68217;if(this[_0x4d2a3d(0x92)][_0x4d2a3d(0xa1)](_0x154a83[_0x4d2a3d(0xcf)])&&!_0x51c6c4)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x154a83[_0x4d2a3d(0xcf)]+_0x4d2a3d(0x159));this[_0x4d2a3d(0x92)][_0x4d2a3d(0x172)](_0x154a83[_0x4d2a3d(0xcf)],[_0x154a83,_0x497fea]);}[_0xf68217(0xc0)](){const _0x334b23=_0xf68217;return Array[_0x334b23(0x109)](this[_0x334b23(0x92)][_0x334b23(0xb9)]());}['mountHistoryContent'](_0x416c62){const _0x1172e5=_0xf68217,_0x20682c=document[_0x1172e5(0xc5)](y);_0x20682c&&(_0x20682c[_0x1172e5(0xb7)]['display']=_0x1172e5(0x83),this[_0x1172e5(0xd0)](_0x416c62,y));}[_0xf68217(0x140)](){const _0x1dcafb=_0xf68217;var _0x400bd2;this[_0x1dcafb(0xd9)][_0x1dcafb(0xe6)](),(_0x400bd2=this[_0x1dcafb(0xa9)])==null||_0x400bd2[_0x1dcafb(0xe6)](),this[_0x1dcafb(0xdd)][_0x1dcafb(0x14d)](null);const _0x2eaee0=document['getElementById'](y);_0x2eaee0&&(_0x2eaee0[_0x1dcafb(0xb7)]['display']=_0x1dcafb(0x82));}[_0xf68217(0xd0)](_0x34045d,_0x4cb5de){const _0x416a01=_0xf68217;if(this[_0x416a01(0xa9)])return;const _0x24e100=new o[(_0x416a01(0x142))]({'locales':{[this['_localeService'][_0x416a01(0x84)]()]:this[_0x416a01(0x13c)][_0x416a01(0x104)]()},'override':[[o['IAuthzIoService'],{'useClass':p['AuthzIoHttpService']}]]}),_0x2f2465=_0x24e100[_0x416a01(0xb0)]();this['disposeWithMe'](this[_0x416a01(0xc9)][_0x416a01(0x147)][_0x416a01(0xc1)](_0x5e8d0b=>{const _0x541972=_0x416a01;_0x2f2465[_0x541972(0x167)](o['ThemeService'])[_0x541972(0x119)](_0x5e8d0b);})),this[_0x416a01(0x124)](this[_0x416a01(0xc9)][_0x416a01(0x132)][_0x416a01(0xc1)](_0x64be64=>{const _0x2151fc=_0x416a01;_0x2f2465[_0x2151fc(0x167)](o[_0x2151fc(0x99)])[_0x2151fc(0xbc)](_0x64be64);})),_0x2f2465[_0x416a01(0x167)](o[_0x416a01(0xa4)])[_0x416a01(0x146)](this[_0x416a01(0x13c)][_0x416a01(0x84)]()),_0x2f2465[_0x416a01(0x167)](o[_0x416a01(0xf6)])[_0x416a01(0xbb)](p[_0x416a01(0x101)],this[_0x416a01(0x118)][_0x416a01(0x131)](p['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x4dad18=this['_configService']['getConfig'](L['LS_CONFIG_KEY']);_0x4dad18&&_0x24e100[_0x416a01(0xa6)](L[_0x416a01(0x12f)],{'license':_0x4dad18['ls']}),this[_0x416a01(0x92)][_0x416a01(0xcb)](([_0x192e8c,_0x319f49])=>{_0x24e100['registerPlugin'](_0x192e8c,_0x319f49);}),_0x2f2465[_0x416a01(0xfd)](_0x3f6e6b=>{const _0x2e22d2=_0x416a01;this[_0x2e22d2(0x126)](_0x3f6e6b,_0x34045d);}),this[_0x416a01(0xdd)]['next'](_0x24e100);const _0x2fb824=_0x2f2465[_0x416a01(0x167)](m[_0x416a01(0x13f)]),_0x3e20c5=this['_checkCanRevert'](_0x34045d);_0x2fb824['triggerLoadVersions'](_0x34045d,_0x4cb5de,_0x3e20c5);}['_initListener'](_0x2d1fbc,_0x1a0c48){const _0x13a88a=_0xf68217,_0x5eccdb=_0x2d1fbc['get'](m[_0x13a88a(0x13f)]);this[_0x13a88a(0xd9)][_0x13a88a(0x12c)](_0x5eccdb[_0x13a88a(0xd1)][_0x13a88a(0xc1)](_0x1b94f5=>{const _0x369139=_0x13a88a;switch(_0x1b94f5){case m[_0x369139(0xfe)]['Entered']:this['_dialogService'][_0x369139(0xe7)](),this[_0x369139(0x155)][_0x369139(0x121)]();break;case m[_0x369139(0xfe)][_0x369139(0x165)]:this['_commandService'][_0x369139(0xfc)](j['id']),this['unMountHistoryContent']();break;case m[_0x369139(0xfe)][_0x369139(0x153)]:this[_0x369139(0x140)](),this[_0x369139(0x14b)][_0x369139(0x12e)]({'content':this['_localeService']['t'](_0x369139(0xed)),'type':P['MessageType'][_0x369139(0x153)],'duration':0xbb8});break;}})),this[_0x13a88a(0xd9)][_0x13a88a(0x12c)](_0x5eccdb['revertRevision$'][_0x13a88a(0xc1)](async _0x45c3df=>{const _0x5d7b1d=_0x13a88a;_0x45c3df&&this[_0x5d7b1d(0x12d)]['executeCommand'](C[_0x5d7b1d(0x113)]['id'],{'unitId':_0x1a0c48,'revision':_0x45c3df});}));}[_0xf68217(0x158)](_0x2218dc){const _0x46c06b=_0xf68217,_0x3d77c0=this[_0x46c06b(0x122)]['getUnit'](_0x2218dc)['getSheets']()['map'](_0x113e9b=>_0x113e9b[_0x46c06b(0x10e)]()),_0x4abbd2=new d[(_0x46c06b(0xeb))](_0x2218dc)['id'],_0x4a3b65=_0x3d77c0[_0x46c06b(0xca)](_0x389f9d=>new d[(_0x46c06b(0x169))](_0x2218dc,_0x389f9d)['id']),_0x33b3a2=_0x3d77c0[_0x46c06b(0xca)](_0x3a9ace=>this[_0x46c06b(0x133)][_0x46c06b(0x144)](_0x2218dc,_0x3a9ace)[_0x46c06b(0xca)](_0x4f9e7a=>new d[(_0x46c06b(0xfb))](_0x2218dc,_0x3a9ace,_0x4f9e7a[_0x46c06b(0xc7)])['id']))['flat'](),_0x40ebd9=new d[(_0x46c06b(0x110))](_0x2218dc)['id'];return this['_permissionService']['composePermission']([_0x4abbd2,..._0x4a3b65,..._0x33b3a2,_0x40ebd9])[_0x46c06b(0x114)](_0x3b67f9=>!!_0x3b67f9[_0x46c06b(0xde)]);}},exports[_0xf68217(0x97)]=pe([g(0x0,o[_0xf68217(0xb5)](o[_0xf68217(0xa4)])),g(0x1,o[_0xf68217(0xdf)]),g(0x2,o[_0xf68217(0xf6)]),g(0x3,o['ICommandService']),g(0x4,h[_0xf68217(0x10b)]),g(0x5,o[_0xf68217(0x8a)]),g(0x6,o[_0xf68217(0xb5)](d[_0xf68217(0x139)])),g(0x7,o['Inject'](h['IDialogService'])),g(0x8,o['Inject'](h[_0xf68217(0xb6)])),g(0x9,o[_0xf68217(0xb5)](o[_0xf68217(0x99)]))],exports['HistoryLoaderService']);function _0x43ba(_0x4c8c50,_0x3b74cf){_0x4c8c50=_0x4c8c50-0x82;const _0x63967d=_0x6396();let _0x43ba74=_0x63967d[_0x4c8c50];return _0x43ba74;}const M={'id':_0xf68217(0x154),'type':o[_0xf68217(0x112)][_0xf68217(0xab)],'handler':_0x29079a=>{const _0x3b6c1b=_0xf68217,_0x2138ab=_0x29079a[_0x3b6c1b(0x167)](exports[_0x3b6c1b(0x97)]),_0x511031=_0x29079a[_0x3b6c1b(0x167)](o[_0x3b6c1b(0xdf)]),{unitId:_0x2d3b43}=d['getSheetCommandTarget'](_0x511031)||{};return _0x2d3b43?(_0x2138ab[_0x3b6c1b(0xf4)](_0x2d3b43),!0x0):!0x1;}},j={'id':_0xf68217(0xf1),'type':o['CommandType'][_0xf68217(0xab)],'handler':()=>!0x0};function Ce(_0x56c0ac){const _0x489b40=_0xf68217;return{'id':M['id'],'type':h[_0x489b40(0x125)][_0x489b40(0xea)],'icon':'HistoryIcon','tooltip':_0x489b40(0x171),'hidden$':h[_0x489b40(0x103)](_0x56c0ac,o[_0x489b40(0x161)][_0x489b40(0x14f)]),'disabled$':k[_0x489b40(0xe0)](_0x56c0ac,{'workbookTypes':[d[_0x489b40(0xeb)],d[_0x489b40(0xe1)]],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h[_0xf68217(0xc6)][_0xf68217(0x127)]]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object[_0xf68217(0xf2)],Ee=(_0x5bca1f,_0x332920,_0x2eb875,_0x1d0cea)=>{const _0x18ef26=_0xf68217;for(var _0x5a60c5=_0x1d0cea>0x1?void 0x0:_0x1d0cea?Ue(_0x332920,_0x2eb875):_0x332920,_0x45f61d=_0x5bca1f[_0x18ef26(0xb4)]-0x1,_0xb46cfa;_0x45f61d>=0x0;_0x45f61d--)(_0xb46cfa=_0x5bca1f[_0x45f61d])&&(_0x5a60c5=_0xb46cfa(_0x5a60c5)||_0x5a60c5);return _0x5a60c5;},S=(_0x28c00c,_0xc59566)=>(_0x23d5ff,_0xd54896)=>_0xc59566(_0x23d5ff,_0xd54896,_0x28c00c);let E=class extends o[_0xf68217(0xd4)]{constructor(_0x1eb4a8,_0x1716d4,_0x4253ab,_0x362bb7,_0x448863,_0x5e4a75,_0x51d128,_0x38f0e2){const _0x43f64e=_0xf68217;super(),_(this,'_revertErrorTimer',null),(this[_0x43f64e(0x12d)]=_0x1eb4a8,this['_menuManagerService']=_0x1716d4,this[_0x43f64e(0x94)]=_0x4253ab,this[_0x43f64e(0x143)]=_0x362bb7,this[_0x43f64e(0x13c)]=_0x448863,this[_0x43f64e(0x14b)]=_0x5e4a75,this[_0x43f64e(0x108)]=_0x51d128,this['_localCacheService']=_0x38f0e2,this[_0x43f64e(0x116)]());}[_0xf68217(0x116)](){const _0x3a783c=_0xf68217;[M,j][_0x3a783c(0xcb)](_0x311811=>this[_0x3a783c(0x124)](o['toDisposable'](this[_0x3a783c(0x12d)][_0x3a783c(0x173)](_0x311811)))),this[_0x3a783c(0x124)](this[_0x3a783c(0x94)][_0x3a783c(0x135)]('HistoryIcon',$)),this[_0x3a783c(0x120)]['mergeMenu'](Ie),this[_0x3a783c(0x124)](this[_0x3a783c(0x12d)][_0x3a783c(0xd8)](_0x14fd9c=>{const _0x122761=_0x3a783c;if(_0x14fd9c['id']===C[_0x122761(0x113)]['id']){this[_0x122761(0x14b)][_0x122761(0x12e)]({'content':this['_localeService']['t'](_0x122761(0x95)),'type':P[_0x122761(0x91)][_0x122761(0x15f)],'duration':0x1388});const {unitId:_0xe10bd4}=_0x14fd9c[_0x122761(0x105)],_0x50029a=this[_0x122761(0x108)][_0x122761(0x86)](_0xe10bd4),_0x41842b=O[_0x122761(0x9d)]([_0x50029a['session']['event$'],_0x50029a[_0x122761(0x163)]])[_0x122761(0xc1)](async([_0x4772fa,_0x2565d4])=>{const _0x5aa262=_0x122761;var _0x44bcae;_0x4772fa[_0x5aa262(0xbf)]===C['CollaborationEvent']['CHANGESET_ACK']&&(_0x2565d4==null?void 0x0:_0x2565d4[_0x5aa262(0xb8)])===p['CollaborationStatus'][_0x5aa262(0x10a)]&&_0x4772fa[_0x5aa262(0xf0)]['mutations']['some'](_0x2f34e8=>_0x2f34e8['id']===C['RevertRevisionMutation']['id'])&&(this[_0x5aa262(0x143)][_0x5aa262(0x140)](),_0x41842b[_0x5aa262(0x145)](),this[_0x5aa262(0xd7)]&&clearTimeout(this[_0x5aa262(0xd7)]),await((_0x44bcae=this[_0x5aa262(0x90)])==null?void 0x0:_0x44bcae[_0x5aa262(0xdc)]()),setTimeout(()=>window[_0x5aa262(0xad)][_0x5aa262(0x14c)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3c658=_0x122761;_0x41842b[_0x3c658(0x145)](),this[_0x3c658(0x14b)][_0x3c658(0x12e)]({'content':this['_localeService']['t'](_0x3c658(0xc4)),'type':P[_0x3c658(0x91)][_0x3c658(0x153)],'duration':0xbb8});},0x1388);}}));}};function _0x6396(){const _0x47afe3=['status','values','useRef','setConfig','setTheme','univer-container','UniverEditHistoryViewerPlugin','eventID','getAllPlugins','subscribe','_initPlugins','M0\x200H16V16H0z','editHistory.panel.revertFailed','getElementById','RibbonStartGroup','permissionId','UniverDataValidationPlugin','_themeService','map','forEach','type','replace','random','pluginName','_initUniver','status$','UniverSheetSparklineUIPlugin','historyUniver$','RxDisposable','colorChannel1','UniverSheetsFilterPlugin','_revertErrorTimer','onCommandExecuted','_disposableCollection','fill','string','exhaustSavingTask','_historyUniver$','value','IUniverInstanceService','getCurrentRangeDisable$','WorkbookViewHistoryPermission','Plugin','UniverSheetsChartPlugin','UniverIcon','idSuffix','dispose','closeAll','UniverSheetsPlugin','BehaviorSubject','BUTTON','WorkbookEditablePermission','_config','editHistory.panel.listFetchError','url(#history-icon_clip0_907_281)','UNIVER_CONTAINER_ID','data','univer.operation.exit-edit-history','getOwnPropertyDescriptor','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','mountHistoryContent','path','IConfigService','ILocalCacheService','9wxbelT','clear','UNIVER_HISTORY_CONTAINER_ID','RangeProtectionPermissionEditPoint','executeCommand','invoke','HistoryModeStatus','UniverSheetsConditionalFormattingPlugin','HistoryIcon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initContainer','getMenuHiddenObservable','getLocales','params','position','tag','_collaborationController','from','SYNCED','IMessageService','display','UniverEditHistoryLoaderPlugin','getSheetId','UniverFormulaEnginePlugin','WorkbookRecoverHistoryPermission','PLUGIN_CONFIG_KEY_MAIN_THREAD','CommandType','RevertRevisionMutation','every','svg','_init','0\x200\x2016\x2016','_configService','setDarkMode','3862930jEqBiA','230248gFzDiT','100%','forwardRef','5525634Gxqgpe','UniverDocsPlugin','_menuManagerService','close','_univerInstanceService','UniverSheetsDataValidationPlugin','disposeWithMe','MenuItemType','_initListener','OTHERS','UniverSheetSparklinePlugin','displayName','children','symbol','add','_commandService','show','UniverLicensePlugin','UniverSheetsUIPlugin','getConfig','currentTheme$','_selectionProtectionRuleModel','xlink:href','register','_dialogService','asObservable','Injector','RangeProtectionRuleModel','UNIVER_CONTAINER_ID_KEY','top','_localeService','appendChild','onStarting','HistoryManagerService','unMountHistoryContent','defs','Univer','_historyManagerService','getSubunitRuleList','unsubscribe','setLocale','darkMode$','UniverSheetsDrawingPlugin','IMenuManagerService','url(#$1','_messageService','reload','next','substring','UNIVER_SHEET','9SUhSyM','IImageIoService','menu','Error','univer.operation.toggle-edit-history','_sidebarService','history-icon_clip0_907_281','2528650NqNWrP','_checkCanRevert','\x20has\x20been\x20registered.','UniverDocsUIPlugin','1em','createElement','UniverSheetsChartUIPlugin','44OCjenV','Loading','merge','UniverInstanceType','use','state$','entries','Exited','UniverDrawingUIPlugin','get','mask','WorksheetEditPermission','current','./worker.js','UniverSheetsNumfmtPlugin','history-container','univerjs-icon\x20univerjs-icon-','2uCVvxg','defIds','editHistory.panel.title','set','registerCommand','none','block','getCurrentLocale','trim','getCollabEntity','defineProperty','width','attrs','IPermissionService','ComponentManager','workerURL','UniverSheetsFilterUIPlugin','_injector','UniverSheetsDrawingUIPlugin','_localCacheService','MessageType','_pluginMap','UniverUIPlugin','_componentManager','editHistory.panel.reverting','UniverRenderEnginePlugin','HistoryLoaderService','_permissionService','ThemeService','history-icon','univerContainerId','toString','combineLatest','144tYqJXd','3509016iQQoEQ','353749SvBlfj','has','assign','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','LocaleService','currentColor','registerPlugin','DisposableCollection','IDialogService','historyUniver','toStringTag','OPERATION','1799eAKncg','location','univer-history-container','white','__getInjector','UniverSheetsHyperLinkUIPlugin','UniverCollaborationPlugin','UniverSheetsFormulaPlugin','length','Inject','ISidebarService','style'];_0x6396=function(){return _0x47afe3;};return _0x6396();}E=Ee([S(0x0,o['ICommandService']),S(0x1,h[_0xf68217(0x149)]),S(0x2,o['Inject'](h[_0xf68217(0x8b)])),S(0x3,o[_0xf68217(0xb5)](exports['HistoryLoaderService'])),S(0x4,o[_0xf68217(0xb5)](o[_0xf68217(0xa4)])),S(0x5,h[_0xf68217(0x10b)]),S(0x6,o[_0xf68217(0xb5)](p['CollaborationController'])),S(0x7,p[_0xf68217(0xf7)])],E);var Pe=Object[_0xf68217(0xf2)],be=(_0x28a749,_0xe6d6f0,_0x1c9239,_0xaf44c5)=>{const _0x112660=_0xf68217;for(var _0x4d3860=_0xaf44c5>0x1?void 0x0:_0xaf44c5?Pe(_0xe6d6f0,_0x1c9239):_0xe6d6f0,_0x56e718=_0x28a749[_0x112660(0xb4)]-0x1,_0x5951cc;_0x56e718>=0x0;_0x56e718--)(_0x5951cc=_0x28a749[_0x56e718])&&(_0x4d3860=_0x5951cc(_0x4d3860)||_0x4d3860);return _0x4d3860;},w=(_0x10c9b7,_0x402a83)=>(_0x264c0a,_0x3bf79f)=>_0x402a83(_0x264c0a,_0x3bf79f,_0x10c9b7);const He=_0xf68217(0xf3);var I;exports[_0xf68217(0x10d)]=(I=class extends o[_0xf68217(0xe2)]{constructor(_0x1722dd=T,_0x426d73,_0x37290f){const _0x203f29=_0xf68217;super(),this['_config']=_0x1722dd,this[_0x203f29(0x8e)]=_0x426d73,this['_configService']=_0x37290f;const {menu:_0x163903,..._0x5b9d83}=o[_0x203f29(0x160)]({},T,this['_config']);_0x163903&&this[_0x203f29(0x118)][_0x203f29(0xbb)](_0x203f29(0x152),_0x163903,{'merge':!0x0}),this[_0x203f29(0x118)][_0x203f29(0xbb)](b,_0x5b9d83),this[_0x203f29(0xec)][_0x203f29(0x9b)]&&this[_0x203f29(0x118)][_0x203f29(0xbb)](H,this[_0x203f29(0xec)][_0x203f29(0x9b)]);}[_0xf68217(0x13e)](){const _0xe489d0=_0xf68217;[[exports[_0xe489d0(0x97)]],[E]][_0xe489d0(0xcb)](_0x49e282=>this[_0xe489d0(0x8e)][_0xe489d0(0x12c)](_0x49e282));}['onSteady'](){const _0x8fafb6=_0xf68217;this[_0x8fafb6(0x8e)][_0x8fafb6(0x167)](E);}},_(I,_0xf68217(0xcc),o[_0xf68217(0x161)]['UNIVER_UNKNOWN']),_(I,'pluginName',He),I),exports[_0xf68217(0x10d)]=be([w(0x1,o[_0xf68217(0xb5)](o[_0xf68217(0x138)])),w(0x2,o['IConfigService'])],exports[_0xf68217(0x10d)]),exports[_0xf68217(0x13a)]=H,exports[_0xf68217(0xfa)]=y;
|
|
1
|
+
'use strict';const _0xb8b2e3=_0xcf27;(function(_0x4e6807,_0x5b560c){const _0x7143c5=_0xcf27,_0xb6941b=_0x4e6807();while(!![]){try{const _0x188dee=-parseInt(_0x7143c5(0x151))/0x1+-parseInt(_0x7143c5(0x166))/0x2*(-parseInt(_0x7143c5(0x169))/0x3)+-parseInt(_0x7143c5(0xf1))/0x4*(parseInt(_0x7143c5(0x104))/0x5)+parseInt(_0x7143c5(0xc3))/0x6*(-parseInt(_0x7143c5(0xc9))/0x7)+-parseInt(_0x7143c5(0xb1))/0x8+parseInt(_0x7143c5(0x159))/0x9+parseInt(_0x7143c5(0xab))/0xa;if(_0x188dee===_0x5b560c)break;else _0xb6941b['push'](_0xb6941b['shift']());}catch(_0x135703){_0xb6941b['push'](_0xb6941b['shift']());}}}(_0x4495,0xa0e01));var A=Object[_0xb8b2e3(0x160)],F=(_0x42f615,_0x3c4e69,_0x3c55f4)=>_0x3c4e69 in _0x42f615?A(_0x42f615,_0x3c4e69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c55f4}):_0x42f615[_0x3c4e69]=_0x3c55f4,_=(_0x67c3b6,_0x77d11a,_0x21e6df)=>F(_0x67c3b6,typeof _0x77d11a!=_0xb8b2e3(0x154)?_0x77d11a+'':_0x77d11a,_0x21e6df);Object[_0xb8b2e3(0x160)](exports,Symbol[_0xb8b2e3(0xdc)],{'value':_0xb8b2e3(0xa1)});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=_0xb8b2e3(0xcd),T={};function D({ref:_0xe9e055,..._0x3607f0}){const _0x20eedc=_0xb8b2e3,{icon:_0x40bef5,id:_0x22c1ed,className:_0x31cad2,extend:_0x1614be,..._0x31a011}=_0x3607f0,_0x187dd0=(_0x20eedc(0x17f)+_0x22c1ed+'\x20'+(_0x31cad2||''))[_0x20eedc(0xe8)](),_0x4ea825=U[_0x20eedc(0x15d)]('_'+Se());return q(_0x40bef5,''+_0x22c1ed,{'defIds':_0x40bef5[_0x20eedc(0x10c)],'idSuffix':_0x4ea825['current']},{'ref':_0xe9e055,'className':_0x187dd0,..._0x31a011},_0x1614be);}function q(_0x46d205,_0x793fc,_0x105512,_0x5cccf0,_0x42b225){const _0x1720c3=_0xb8b2e3;return U['createElement'](_0x46d205[_0x1720c3(0xd2)],{'key':_0x793fc,...de(_0x46d205,_0x105512,_0x42b225),..._0x5cccf0},(_e(_0x46d205,_0x105512)['children']||[])[_0x1720c3(0x133)]((_0x590ab4,_0x861b5d)=>q(_0x590ab4,_0x793fc+'-'+_0x46d205[_0x1720c3(0xd2)]+'-'+_0x861b5d,_0x105512,void 0x0,_0x42b225)));}function de(_0x434119,_0x227711,_0xa6adae){const _0xf7cdf=_0xb8b2e3,_0x26af9a={..._0x434119[_0xf7cdf(0x18e)]};_0xa6adae!=null&&_0xa6adae[_0xf7cdf(0x117)]&&_0x26af9a[_0xf7cdf(0x119)]===_0xf7cdf(0x117)&&(_0x26af9a[_0xf7cdf(0x119)]=_0xa6adae['colorChannel1']),_0x434119[_0xf7cdf(0xd2)]===_0xf7cdf(0xf9)&&_0x26af9a['id']&&(_0x26af9a['id']=_0x26af9a['id']+_0x227711['idSuffix']),Object[_0xf7cdf(0x17e)](_0x26af9a)[_0xf7cdf(0x163)](([_0x1fe098,_0x1b0000])=>{const _0x3cf035=_0xf7cdf;_0x1fe098===_0x3cf035(0xf9)&&typeof _0x1b0000=='string'&&(_0x26af9a[_0x1fe098]=_0x1b0000['replace'](/url\(#(.*)\)/,_0x3cf035(0x136)+_0x227711[_0x3cf035(0x165)]+')'));});const {defIds:_0x33d5b1}=_0x227711;return!_0x33d5b1||_0x33d5b1[_0xf7cdf(0x180)]===0x0||(_0x434119['tag']===_0xf7cdf(0x182)&&_0x26af9a[_0xf7cdf(0xc0)]&&(_0x26af9a['xlink:href']=_0x26af9a[_0xf7cdf(0xc0)]+_0x227711[_0xf7cdf(0x165)]),Object['entries'](_0x26af9a)['forEach'](([_0x23654c,_0x7b9fd3])=>{const _0xd28f8f=_0xf7cdf;typeof _0x7b9fd3==_0xd28f8f(0xce)&&(_0x26af9a[_0x23654c]=_0x7b9fd3['replace'](/url\(#(.*)\)/,_0xd28f8f(0x136)+_0x227711[_0xd28f8f(0x165)]+')'));})),_0x26af9a;}function _0x4495(){const _0x2659a6=['UniverDataValidationPlugin','_revertErrorTimer','ISidebarService','flat','dataset','_disposableCollection','_historyUniver$','IMessageService','zIndex','top','get','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','1em','map','revertRevision$','WorkbookEditablePermission','url(#$1','location','closeAll','workerURL','status$','onStarting','historyPanelComponentKey','children','_localeService','_messageService','getConfig','CollaborationStatus','UniverSheetsDrawingPlugin','executeCommand','setLocale','CommandType','subscribe','UniverCollaborationPlugin','getSubunitRuleList','IAuthzIoService','menu','CHANGESET_ACK','height','getElementById','Error','Exited','_initPlugins','1096179atUEvB','from','defs','symbol','includes','permissionId','setTheme','HistoryIcon','11062728CuQHyw','some','LocaleService','_commandService','useRef','MessageType','UniverDocsUIPlugin','defineProperty','__getInjector','show','forEach','UniverSheetsUIPlugin','idSuffix','2624142IVCVaB','UniverNetworkPlugin','IMenuManagerService','3aJGfjd','unsubscribe','white','UniverSheetSparklineUIPlugin','UniverLicensePlugin','UniverSheetsDrawingUIPlugin','UniverDrawingUIPlugin','univerContainerId','_localCacheService','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','substring','SYNCED','block','0\x200\x2016\x2016','OPERATION','none','CollaborationController','RxDisposable','UNIVER_CONTAINER_ID','UniverSheetsFilterPlugin','WorkbookRecoverHistoryPermission','entries','univerjs-icon\x20univerjs-icon-','length','_configService','use','UniverSheetsConditionalFormattingPlugin','IConfigService','_dialogService','HistoryModeStatus','UniverIcon','displayName','appendChild','createElement','1000','next','ICommandService','attrs','getSheetCommandTarget','unMountHistoryContent','ThemeService','Module','disposeWithMe','_componentManager','mountHistoryContent','UniverSheetsConditionalFormattingUIPlugin','IPermissionService','getAllPlugins','historyUniver','path','div','1763380npSXJz','UniverSheetsFormulaPlugin','width','registerPlugin','Entered','type','4561672LrKzBv','exhaustSavingTask','toString','WorksheetEditPermission','value','_selectionProtectionRuleModel','values','data','combineLatest','IImageIoService','composePermission','_initUniver','UNIVER_CONTAINER_ID_KEY','UniverUIPlugin','invoke','xlink:href','UniverDocsPlugin','UniverSheetSparklinePlugin','85902GruhGw','UniverEditHistoryViewerPlugin','setConfig','editHistory.panel.revertFailed','add','dispose','7uarDYz','_menuManagerService','_initContainer','toDisposable','edit-history-loader.config','string','UniverSheetsDataValidationUIPlugin','UNIVER_UNKNOWN','setDarkMode','tag','historyListServerUrl','forwardRef','random','currentTheme$','Inject','UniverRenderEnginePlugin','editHistory.panel.reverting','UniverSheetsNumfmtPlugin','Univer','toStringTag','getOwnPropertyDescriptor','history-container','url(#history-icon_clip0_907_281)','IUniverInstanceService','asObservable','set','UniverEditHistoryLoaderPlugin','mergeMenu','_initListener','onCommandExecuted','left','trim','UniverSheetsFormulaUIPlugin','_permissionService','assign','display','darkMode$','UniverSheetsHyperLinkPlugin','merge','getLocales','215972NTjSmm','HistoryLoaderService','svg','getCurrentLocale','history-icon_clip0_907_281','_sidebarService','editHistory.panel.title','MenuItemType','mask','Plugin','IDialogService','state$','triggerLoadVersions','getUnit','_themeService','_historyManagerService','univer-history-container','_collaborationController','_injector','35OMaEZJ','editHistory.panel.listFetchError','ILocalCacheService','Loading','[HistoryLoaderService]:\x20Plugin\x20','100%','getMenuHiddenObservable','getCurrentRangeDisable$','defIds','style','registerCommand','RevertRevisionMutation','UniverSheetsFilterUIPlugin','_config','getSheets','AuthzIoHttpService','mutations','_pluginMap','UniverRPCMainThreadPlugin','colorChannel1','onSteady','fill','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsHyperLinkUIPlugin','UNIVER_SHEET','univer-container','event$','univer.operation.exit-edit-history','history-icon','pluginName','register','BehaviorSubject','_init','reload'];_0x4495=function(){return _0x2659a6;};return _0x4495();}function _e(_0x5e7b7f,_0xd7c93c){const _0x546c0b=_0xb8b2e3;var _0x567204;const {defIds:_0x8c945e}=_0xd7c93c;return!_0x8c945e||_0x8c945e[_0x546c0b(0x180)]===0x0?_0x5e7b7f:_0x5e7b7f[_0x546c0b(0xd2)]===_0x546c0b(0x153)&&((_0x567204=_0x5e7b7f[_0x546c0b(0x13d)])!=null&&_0x567204[_0x546c0b(0x180)])?{..._0x5e7b7f,'children':_0x5e7b7f[_0x546c0b(0x13d)][_0x546c0b(0x133)](_0x47b850=>typeof _0x47b850['attrs']['id']==_0x546c0b(0xce)&&_0x8c945e&&_0x8c945e[_0x546c0b(0x155)](_0x47b850[_0x546c0b(0x18e)]['id'])?{..._0x47b850,'attrs':{..._0x47b850[_0x546c0b(0x18e)],'id':_0x47b850[_0x546c0b(0x18e)]['id']+_0xd7c93c['idSuffix']}}:_0x47b850)}:_0x5e7b7f;}function Se(){const _0x2045c=_0xb8b2e3;return Math[_0x2045c(0xd5)]()[_0x2045c(0xb3)](0x24)[_0x2045c(0x173)](0x2,0x8);}D['displayName']=_0xb8b2e3(0x187);const me={'tag':_0xb8b2e3(0xf3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xb8b2e3(0x178),'viewBox':_0xb8b2e3(0x176),'width':_0xb8b2e3(0x132),'height':_0xb8b2e3(0x132)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0xb8b2e3(0xdf)},'children':[{'tag':_0xb8b2e3(0xa9),'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':_0xb8b2e3(0xa9),'attrs':{'d':_0xb8b2e3(0x172)}}]},{'tag':_0xb8b2e3(0x153),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xb8b2e3(0xf5)},'children':[{'tag':_0xb8b2e3(0xa9),'attrs':{'fill':_0xb8b2e3(0x16b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xb8b2e3(0xf5)]},$=U[_0xb8b2e3(0xd4)](function(_0x3a8642,_0x4dd316){const _0x200b42=_0xb8b2e3;return U['createElement'](D,Object[_0x200b42(0xeb)]({},_0x3a8642,{'id':_0x200b42(0x120),'ref':_0x4dd316,'icon':me}));});$[_0xb8b2e3(0x188)]='HistoryIcon';var ye=Object['getOwnPropertyDescriptor'],pe=(_0x12317a,_0x240fe8,_0x1fb912,_0x6e6f5f)=>{for(var _0x5dd59d=_0x6e6f5f>0x1?void 0x0:_0x6e6f5f?ye(_0x240fe8,_0x1fb912):_0x240fe8,_0xa074a4=_0x12317a['length']-0x1,_0x3cecf9;_0xa074a4>=0x0;_0xa074a4--)(_0x3cecf9=_0x12317a[_0xa074a4])&&(_0x5dd59d=_0x3cecf9(_0x5dd59d)||_0x5dd59d);return _0x5dd59d;},g=(_0x2edee4,_0x529f29)=>(_0x4c2212,_0x567a3b)=>_0x529f29(_0x4c2212,_0x567a3b,_0x2edee4);const fe=_0xb8b2e3(0x11d),H=_0xb8b2e3(0x17b),y=_0xb8b2e3(0x101);exports[_0xb8b2e3(0xf2)]=class extends o['Disposable']{constructor(_0xcdf903,_0x5a1d18,_0x5d7988,_0x4a192b,_0xf241f8,_0x146f9b,_0xf0c498,_0x37db49,_0x225dc9,_0x56b236){const _0x5b3cee=_0xb8b2e3;super(),_(this,'_historyUniver$',new O[(_0x5b3cee(0x123))](null)),_(this,'historyUniver$',this[_0x5b3cee(0x12c)][_0x5b3cee(0xe1)]()),_(this,_0x5b3cee(0x12b),new o['DisposableCollection']()),_(this,_0x5b3cee(0x115),new Map()),(this[_0x5b3cee(0x13e)]=_0xcdf903,this['_univerInstanceService']=_0x5a1d18,this[_0x5b3cee(0x181)]=_0x5d7988,this['_commandService']=_0x4a192b,this[_0x5b3cee(0x13f)]=_0xf241f8,this[_0x5b3cee(0xea)]=_0x146f9b,this[_0x5b3cee(0xb6)]=_0xf0c498,this[_0x5b3cee(0x185)]=_0x37db49,this[_0x5b3cee(0xf6)]=_0x225dc9,this[_0x5b3cee(0xff)]=_0x56b236,this[_0x5b3cee(0x124)]());}get[_0xb8b2e3(0xa8)](){const _0x15f91b=_0xb8b2e3;return this[_0x15f91b(0x12c)][_0x15f91b(0xb5)];}['_init'](){const _0x3ab135=_0xb8b2e3;this[_0x3ab135(0xcb)](),this['_initPlugins']();}[_0xb8b2e3(0xcb)](){const _0x19cb90=_0xb8b2e3;var _0x45e774;const _0x896224=(_0x45e774=this['_configService'][_0x19cb90(0x140)](H))!=null?_0x45e774:fe,_0x19592c=document['getElementById'](_0x896224);if(!_0x19592c)return;const _0x2ce2e1=document[_0x19cb90(0x18a)](_0x19cb90(0xaa));_0x2ce2e1['id']=y,_0x2ce2e1[_0x19cb90(0x12a)]['uComp']=_0x19cb90(0xde),_0x2ce2e1['style']['position']='absolute',_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0x12f)]='0',_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0xe7)]='0',_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0xad)]=_0x19cb90(0x109),_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0x14c)]=_0x19cb90(0x109),_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0x12e)]=_0x19cb90(0x18b),_0x2ce2e1[_0x19cb90(0x10d)][_0x19cb90(0xec)]='none',_0x19592c[_0x19cb90(0x189)](_0x2ce2e1);}[_0xb8b2e3(0x150)](){const _0x4f82b0=_0xb8b2e3;var _0x37f6a7,_0x3000cd,_0x50e630,_0x5ccdfc;[[X[_0x4f82b0(0xd8)]],[h[_0x4f82b0(0xbe)],{'container':y,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[h[_0x4f82b0(0xfb)],null]]}],[ee[_0x4f82b0(0x167)]],[N['UniverDrawingPlugin'],{'override':[[N[_0x4f82b0(0xba)],null]]}],[z[_0x4f82b0(0xc1)],{'hasScroll':!0x1}],[Z[_0x4f82b0(0x15f)]],[ve[_0x4f82b0(0xda)]],[d['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[k[_0x4f82b0(0x164)]],[le[_0x4f82b0(0xac)]],[ue[_0x4f82b0(0xe9)]],[C[_0x4f82b0(0x147)]],[ae[_0x4f82b0(0x17c)]],[ce[_0x4f82b0(0x110)]],[ie[_0x4f82b0(0x183)]],[te[_0x4f82b0(0xa5)]],[he[_0x4f82b0(0xee)]],[ge[_0x4f82b0(0x11b)]],[B[_0x4f82b0(0x126)]],[re['UniverSheetsDataValidationPlugin']],[ne[_0x4f82b0(0xcf)]],[Q['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[R[_0x4f82b0(0x116)],{'workerURL':(_0x3000cd=(_0x37f6a7=this[_0x4f82b0(0x181)][_0x4f82b0(0x140)](R['PLUGIN_CONFIG_KEY_MAIN_THREAD']))==null?void 0x0:_0x37f6a7[_0x4f82b0(0x139)])!=null?_0x3000cd:'./worker.js'}],[J[_0x4f82b0(0x16f)]],[se[_0x4f82b0(0x142)]],[oe[_0x4f82b0(0x16e)]],[K[_0x4f82b0(0xc2)]],[W[_0x4f82b0(0x16c)]],[V['UniverSheetsChartPlugin']],[G['UniverSheetsChartUIPlugin']],[Y['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[m[_0x4f82b0(0xc4)],{'historyListServerUrl':(_0x50e630=this[_0x4f82b0(0x181)]['getConfig'](b))==null?void 0x0:_0x50e630[_0x4f82b0(0xd3)],'historyPanelComponentKey':(_0x5ccdfc=this[_0x4f82b0(0x181)][_0x4f82b0(0x140)](b))==null?void 0x0:_0x5ccdfc[_0x4f82b0(0x13c)]}]][_0x4f82b0(0x163)](([_0x3e8e9a,_0x18bf9c])=>this[_0x4f82b0(0xae)](_0x3e8e9a,_0x18bf9c));}[_0xb8b2e3(0xc8)](){const _0xbd91f=_0xb8b2e3;super[_0xbd91f(0xc8)](),this[_0xbd91f(0x9f)](),this['_pluginMap']['clear']();}['registerPlugin'](_0x3536b4,_0xc98c10,_0x36fe39){const _0x543e1f=_0xb8b2e3;if(this[_0x543e1f(0x115)]['has'](_0x3536b4['pluginName'])&&!_0x36fe39)throw new Error(_0x543e1f(0x108)+_0x3536b4[_0x543e1f(0x121)]+'\x20has\x20been\x20registered.');this[_0x543e1f(0x115)][_0x543e1f(0xe2)](_0x3536b4['pluginName'],[_0x3536b4,_0xc98c10]);}[_0xb8b2e3(0xa7)](){const _0x55837c=_0xb8b2e3;return Array[_0x55837c(0x152)](this[_0x55837c(0x115)][_0x55837c(0xb7)]());}[_0xb8b2e3(0xa4)](_0x52e9c2){const _0x34a561=_0xb8b2e3,_0x1e845e=document[_0x34a561(0x14d)](y);_0x1e845e&&(_0x1e845e[_0x34a561(0x10d)][_0x34a561(0xec)]=_0x34a561(0x175),this[_0x34a561(0xbc)](_0x52e9c2,y));}[_0xb8b2e3(0x9f)](){const _0x82da4c=_0xb8b2e3;var _0x1a1a31;this[_0x82da4c(0x12b)][_0x82da4c(0xc8)](),(_0x1a1a31=this[_0x82da4c(0xa8)])==null||_0x1a1a31[_0x82da4c(0xc8)](),this[_0x82da4c(0x12c)][_0x82da4c(0x18c)](null);const _0xcc3f6e=document[_0x82da4c(0x14d)](y);_0xcc3f6e&&(_0xcc3f6e[_0x82da4c(0x10d)][_0x82da4c(0xec)]=_0x82da4c(0x178));}[_0xb8b2e3(0xbc)](_0x6f47c1,_0x22f2f6){const _0x3b48ee=_0xb8b2e3;if(this[_0x3b48ee(0xa8)])return;const _0x510270=new o[(_0x3b48ee(0xdb))]({'locales':{[this[_0x3b48ee(0x13e)][_0x3b48ee(0xf4)]()]:this['_localeService'][_0x3b48ee(0xf0)]()},'override':[[o[_0x3b48ee(0x149)],{'useClass':p[_0x3b48ee(0x113)]}]]}),_0xe93ec6=_0x510270[_0x3b48ee(0x161)]();this[_0x3b48ee(0xa2)](this[_0x3b48ee(0xff)][_0x3b48ee(0xed)][_0x3b48ee(0x146)](_0x5c66fe=>{const _0x2c791e=_0x3b48ee;_0xe93ec6[_0x2c791e(0x130)](o['ThemeService'])[_0x2c791e(0xd1)](_0x5c66fe);})),this[_0x3b48ee(0xa2)](this[_0x3b48ee(0xff)][_0x3b48ee(0xd6)]['subscribe'](_0x12750b=>{const _0x1c68c5=_0x3b48ee;_0xe93ec6[_0x1c68c5(0x130)](o[_0x1c68c5(0xa0)])[_0x1c68c5(0x157)](_0x12750b);})),_0xe93ec6['get'](o[_0x3b48ee(0x15b)])[_0x3b48ee(0x144)](this[_0x3b48ee(0x13e)]['getCurrentLocale']()),_0xe93ec6[_0x3b48ee(0x130)](o[_0x3b48ee(0x184)])[_0x3b48ee(0xc5)](p[_0x3b48ee(0x11a)],this[_0x3b48ee(0x181)][_0x3b48ee(0x140)](p['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x44d0f3=this[_0x3b48ee(0x181)][_0x3b48ee(0x140)](L['LS_CONFIG_KEY']);_0x44d0f3&&_0x510270[_0x3b48ee(0xae)](L[_0x3b48ee(0x16d)],{'license':_0x44d0f3['ls']}),this['_pluginMap'][_0x3b48ee(0x163)](([_0x3c790d,_0x2a8b4d])=>{const _0x2ff370=_0x3b48ee;_0x510270[_0x2ff370(0xae)](_0x3c790d,_0x2a8b4d);}),_0xe93ec6[_0x3b48ee(0xbf)](_0x58e22c=>{const _0xfc3549=_0x3b48ee;this[_0xfc3549(0xe5)](_0x58e22c,_0x6f47c1);}),this[_0x3b48ee(0x12c)][_0x3b48ee(0x18c)](_0x510270);const _0x2d62ca=_0xe93ec6[_0x3b48ee(0x130)](m['HistoryManagerService']),_0x3b0a33=this['_checkCanRevert'](_0x6f47c1);_0x2d62ca[_0x3b48ee(0xfd)](_0x6f47c1,_0x22f2f6,_0x3b0a33);}[_0xb8b2e3(0xe5)](_0x5acc56,_0x1188c8){const _0x3bc20a=_0xb8b2e3,_0x8dda38=_0x5acc56['get'](m['HistoryManagerService']);this['_disposableCollection'][_0x3bc20a(0xc7)](_0x8dda38[_0x3bc20a(0x13a)][_0x3bc20a(0x146)](_0x2019d7=>{const _0x5c455f=_0x3bc20a;switch(_0x2019d7){case m[_0x5c455f(0x186)][_0x5c455f(0xaf)]:this[_0x5c455f(0x185)][_0x5c455f(0x138)](),this['_sidebarService']['close']();break;case m[_0x5c455f(0x186)][_0x5c455f(0x14f)]:this[_0x5c455f(0x15c)][_0x5c455f(0x143)](j['id']),this[_0x5c455f(0x9f)]();break;case m['HistoryModeStatus'][_0x5c455f(0x14e)]:this[_0x5c455f(0x9f)](),this[_0x5c455f(0x13f)]['show']({'content':this[_0x5c455f(0x13e)]['t'](_0x5c455f(0x105)),'type':P['MessageType'][_0x5c455f(0x14e)],'duration':0xbb8});break;}})),this[_0x3bc20a(0x12b)]['add'](_0x8dda38[_0x3bc20a(0x134)][_0x3bc20a(0x146)](async _0x411dfe=>{const _0x4ea013=_0x3bc20a;_0x411dfe&&this[_0x4ea013(0x15c)]['executeCommand'](C['RevertRevisionMutation']['id'],{'unitId':_0x1188c8,'revision':_0x411dfe});}));}['_checkCanRevert'](_0x2ce789){const _0xeaf9e3=_0xb8b2e3,_0x76cd07=this['_univerInstanceService'][_0xeaf9e3(0xfe)](_0x2ce789)[_0xeaf9e3(0x112)]()['map'](_0x76ab0d=>_0x76ab0d['getSheetId']()),_0x1b5205=new d[(_0xeaf9e3(0x135))](_0x2ce789)['id'],_0x165861=_0x76cd07[_0xeaf9e3(0x133)](_0x44a4ee=>new d[(_0xeaf9e3(0xb4))](_0x2ce789,_0x44a4ee)['id']),_0x3e4a56=_0x76cd07[_0xeaf9e3(0x133)](_0x2ff478=>this[_0xeaf9e3(0xb6)][_0xeaf9e3(0x148)](_0x2ce789,_0x2ff478)[_0xeaf9e3(0x133)](_0x2087a4=>new d['RangeProtectionPermissionEditPoint'](_0x2ce789,_0x2ff478,_0x2087a4[_0xeaf9e3(0x156)])['id']))[_0xeaf9e3(0x129)](),_0x5e952c=new d[(_0xeaf9e3(0x17d))](_0x2ce789)['id'];return this['_permissionService'][_0xeaf9e3(0xbb)]([_0x1b5205,..._0x165861,..._0x3e4a56,_0x5e952c])['every'](_0x5c2d3f=>!!_0x5c2d3f[_0xeaf9e3(0xb5)]);}},exports[_0xb8b2e3(0xf2)]=pe([g(0x0,o[_0xb8b2e3(0xd7)](o[_0xb8b2e3(0x15b)])),g(0x1,o[_0xb8b2e3(0xe0)]),g(0x2,o[_0xb8b2e3(0x184)]),g(0x3,o['ICommandService']),g(0x4,h[_0xb8b2e3(0x12d)]),g(0x5,o[_0xb8b2e3(0xa6)]),g(0x6,o[_0xb8b2e3(0xd7)](d['RangeProtectionRuleModel'])),g(0x7,o[_0xb8b2e3(0xd7)](h[_0xb8b2e3(0xfb)])),g(0x8,o[_0xb8b2e3(0xd7)](h[_0xb8b2e3(0x128)])),g(0x9,o[_0xb8b2e3(0xd7)](o[_0xb8b2e3(0xa0)]))],exports[_0xb8b2e3(0xf2)]);const M={'id':'univer.operation.toggle-edit-history','type':o[_0xb8b2e3(0x145)][_0xb8b2e3(0x177)],'handler':_0x5f46b0=>{const _0x494cc2=_0xb8b2e3,_0x3893c3=_0x5f46b0[_0x494cc2(0x130)](exports[_0x494cc2(0xf2)]),_0x3858a7=_0x5f46b0[_0x494cc2(0x130)](o[_0x494cc2(0xe0)]),{unitId:_0x3b5ef6}=d[_0x494cc2(0x9e)](_0x3858a7)||{};return _0x3b5ef6?(_0x3893c3['mountHistoryContent'](_0x3b5ef6),!0x0):!0x1;}},j={'id':_0xb8b2e3(0x11f),'type':o['CommandType'][_0xb8b2e3(0x177)],'handler':()=>!0x0};function Ce(_0x1f01bd){const _0x4d11cd=_0xb8b2e3;return{'id':M['id'],'type':h[_0x4d11cd(0xf8)]['BUTTON'],'icon':_0x4d11cd(0x158),'tooltip':_0x4d11cd(0xf7),'hidden$':h[_0x4d11cd(0x10a)](_0x1f01bd,o['UniverInstanceType'][_0x4d11cd(0x11c)]),'disabled$':k[_0x4d11cd(0x10b)](_0x1f01bd,{'workbookTypes':[d[_0x4d11cd(0x135)],d['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const Ie={[h['RibbonStartGroup']['OTHERS']]:{[M['id']]:{'order':0.2,'menuItemFactory':Ce}}};var Ue=Object['getOwnPropertyDescriptor'],Ee=(_0x431afe,_0x118a09,_0x2390b5,_0x46b530)=>{const _0x27ae07=_0xb8b2e3;for(var _0x2e26c4=_0x46b530>0x1?void 0x0:_0x46b530?Ue(_0x118a09,_0x2390b5):_0x118a09,_0x1febbe=_0x431afe[_0x27ae07(0x180)]-0x1,_0x501f7a;_0x1febbe>=0x0;_0x1febbe--)(_0x501f7a=_0x431afe[_0x1febbe])&&(_0x2e26c4=_0x501f7a(_0x2e26c4)||_0x2e26c4);return _0x2e26c4;},S=(_0x3b5bd9,_0x360383)=>(_0x5cb4c8,_0x53a023)=>_0x360383(_0x5cb4c8,_0x53a023,_0x3b5bd9);let E=class extends o[_0xb8b2e3(0x17a)]{constructor(_0xe5e30e,_0xedf805,_0x5429ab,_0x151a2e,_0x1211b0,_0x507160,_0x451068,_0x5419a0){const _0x4cb2fa=_0xb8b2e3;super(),_(this,_0x4cb2fa(0x127),null),(this[_0x4cb2fa(0x15c)]=_0xe5e30e,this[_0x4cb2fa(0xca)]=_0xedf805,this[_0x4cb2fa(0xa3)]=_0x5429ab,this['_historyManagerService']=_0x151a2e,this[_0x4cb2fa(0x13e)]=_0x1211b0,this[_0x4cb2fa(0x13f)]=_0x507160,this[_0x4cb2fa(0x102)]=_0x451068,this[_0x4cb2fa(0x171)]=_0x5419a0,this[_0x4cb2fa(0x124)]());}[_0xb8b2e3(0x124)](){const _0x1901f7=_0xb8b2e3;[M,j][_0x1901f7(0x163)](_0x36e003=>this[_0x1901f7(0xa2)](o[_0x1901f7(0xcc)](this['_commandService'][_0x1901f7(0x10e)](_0x36e003)))),this[_0x1901f7(0xa2)](this[_0x1901f7(0xa3)][_0x1901f7(0x122)](_0x1901f7(0x158),$)),this['_menuManagerService'][_0x1901f7(0xe4)](Ie),this[_0x1901f7(0xa2)](this[_0x1901f7(0x15c)][_0x1901f7(0xe6)](_0x4f3344=>{const _0x391b22=_0x1901f7;if(_0x4f3344['id']===C[_0x391b22(0x10f)]['id']){this[_0x391b22(0x13f)][_0x391b22(0x162)]({'content':this[_0x391b22(0x13e)]['t'](_0x391b22(0xd9)),'type':P[_0x391b22(0x15e)][_0x391b22(0x107)],'duration':0x1388});const {unitId:_0x1cb33d}=_0x4f3344['params'],_0x46baa5=this[_0x391b22(0x102)]['getCollabEntity'](_0x1cb33d),_0x120bbc=O[_0x391b22(0xb9)]([_0x46baa5['session'][_0x391b22(0x11e)],_0x46baa5[_0x391b22(0xfc)]])['subscribe'](async([_0x269509,_0x292a92])=>{const _0x14d5db=_0x391b22;var _0x17da78;_0x269509['eventID']===C['CollaborationEvent'][_0x14d5db(0x14b)]&&(_0x292a92==null?void 0x0:_0x292a92['status'])===p[_0x14d5db(0x141)][_0x14d5db(0x174)]&&_0x269509[_0x14d5db(0xb8)][_0x14d5db(0x114)][_0x14d5db(0x15a)](_0xd0f6dd=>_0xd0f6dd['id']===C[_0x14d5db(0x10f)]['id'])&&(this[_0x14d5db(0x100)][_0x14d5db(0x9f)](),_0x120bbc[_0x14d5db(0x16a)](),this[_0x14d5db(0x127)]&&clearTimeout(this[_0x14d5db(0x127)]),await((_0x17da78=this[_0x14d5db(0x171)])==null?void 0x0:_0x17da78[_0x14d5db(0xb2)]()),setTimeout(()=>window[_0x14d5db(0x137)][_0x14d5db(0x125)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x4324e8=_0x391b22;_0x120bbc[_0x4324e8(0x16a)](),this[_0x4324e8(0x13f)][_0x4324e8(0x162)]({'content':this['_localeService']['t'](_0x4324e8(0xc6)),'type':P['MessageType']['Error'],'duration':0xbb8});},0x1388);}}));}};E=Ee([S(0x0,o[_0xb8b2e3(0x18d)]),S(0x1,h[_0xb8b2e3(0x168)]),S(0x2,o['Inject'](h['ComponentManager'])),S(0x3,o[_0xb8b2e3(0xd7)](exports[_0xb8b2e3(0xf2)])),S(0x4,o['Inject'](o['LocaleService'])),S(0x5,h[_0xb8b2e3(0x12d)]),S(0x6,o[_0xb8b2e3(0xd7)](p[_0xb8b2e3(0x179)])),S(0x7,p[_0xb8b2e3(0x106)])],E);var Pe=Object[_0xb8b2e3(0xdd)],be=(_0x58a474,_0xa7ed69,_0x543be6,_0x1ad599)=>{const _0x178d5d=_0xb8b2e3;for(var _0x26a150=_0x1ad599>0x1?void 0x0:_0x1ad599?Pe(_0xa7ed69,_0x543be6):_0xa7ed69,_0x90b0fe=_0x58a474[_0x178d5d(0x180)]-0x1,_0x90fe4a;_0x90b0fe>=0x0;_0x90b0fe--)(_0x90fe4a=_0x58a474[_0x90b0fe])&&(_0x26a150=_0x90fe4a(_0x26a150)||_0x26a150);return _0x26a150;},w=(_0x918e56,_0x12aea5)=>(_0x263420,_0x13fb87)=>_0x12aea5(_0x263420,_0x13fb87,_0x918e56);function _0xcf27(_0x49d09f,_0x438a05){_0x49d09f=_0x49d09f-0x9e;const _0x44956c=_0x4495();let _0xcf2768=_0x44956c[_0x49d09f];return _0xcf2768;}const He=_0xb8b2e3(0x131);var I;exports['UniverEditHistoryLoaderPlugin']=(I=class extends o[_0xb8b2e3(0xfa)]{constructor(_0x4c586b=T,_0x54c8a9,_0x4a27ae){const _0x375c8c=_0xb8b2e3;super(),this[_0x375c8c(0x111)]=_0x4c586b,this[_0x375c8c(0x103)]=_0x54c8a9,this[_0x375c8c(0x181)]=_0x4a27ae;const {menu:_0x167869,..._0x320310}=o[_0x375c8c(0xef)]({},T,this['_config']);_0x167869&&this[_0x375c8c(0x181)][_0x375c8c(0xc5)](_0x375c8c(0x14a),_0x167869,{'merge':!0x0}),this[_0x375c8c(0x181)][_0x375c8c(0xc5)](b,_0x320310),this['_config'][_0x375c8c(0x170)]&&this[_0x375c8c(0x181)][_0x375c8c(0xc5)](H,this[_0x375c8c(0x111)][_0x375c8c(0x170)]);}[_0xb8b2e3(0x13b)](){const _0xa52364=_0xb8b2e3;[[exports[_0xa52364(0xf2)]],[E]][_0xa52364(0x163)](_0x43f586=>this['_injector'][_0xa52364(0xc7)](_0x43f586));}[_0xb8b2e3(0x118)](){const _0x2f7c8a=_0xb8b2e3;this[_0x2f7c8a(0x103)][_0x2f7c8a(0x130)](E);}},_(I,_0xb8b2e3(0xb0),o['UniverInstanceType'][_0xb8b2e3(0xd0)]),_(I,_0xb8b2e3(0x121),He),I),exports[_0xb8b2e3(0xe3)]=be([w(0x1,o[_0xb8b2e3(0xd7)](o['Injector'])),w(0x2,o['IConfigService'])],exports[_0xb8b2e3(0xe3)]),exports[_0xb8b2e3(0xbd)]=H,exports['UNIVER_HISTORY_CONTAINER_ID']=y;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x367929=_0x3bd2;(function(_0x5f39e0,_0x59904e){const _0x39bcd8=_0x3bd2,_0x31b892=_0x5f39e0();while(!![]){try{const _0x810d5f=-parseInt(_0x39bcd8(0xba))/0x1*(parseInt(_0x39bcd8(0xcd))/0x2)+parseInt(_0x39bcd8(0xe2))/0x3*(parseInt(_0x39bcd8(0x10a))/0x4)+-parseInt(_0x39bcd8(0xbd))/0x5*(parseInt(_0x39bcd8(0xda))/0x6)+parseInt(_0x39bcd8(0x9e))/0x7+parseInt(_0x39bcd8(0xdb))/0x8+-parseInt(_0x39bcd8(0x12a))/0x9+-parseInt(_0x39bcd8(0xb3))/0xa;if(_0x810d5f===_0x59904e)break;else _0x31b892['push'](_0x31b892['shift']());}catch(_0x203055){_0x31b892['push'](_0x31b892['shift']());}}}(_0x37a9,0x522a7));function _0x37a9(){const _0x913b6f=['\x20has\x20been\x20registered.','_injector','_menuManagerService','reload','getAllPlugins','_localCacheService','height','use','OTHERS','next','./worker.js','setDarkMode','Entered','composePermission','subscribe','getSubunitRuleList','svg','string','length','history-icon','zIndex','appendChild','_univerInstanceService','univer.operation.toggle-edit-history','tag','revertRevision$','clear','triggerLoadVersions','_sidebarService','status$','155529gCqbti','getSheets','dataset','random','univerjs-icon\x20univerjs-icon-','style','getConfig','_configService','SYNCED','block','UNIVER_UNKNOWN','xlink:href','trim','value','OPERATION','historyUniver','_componentManager','getCollabEntity','editHistory.panel.reverting','path','entries','_historyManagerService','history-icon_clip0_907_281','defIds','historyPanelComponentKey','asObservable','_pluginMap','setConfig','createElement','mergeMenu','3280067qHaOSC','map','1em','M0\x200H16V16H0z','location','absolute','defineProperty','registerCommand','mask','pluginName','dispose','Error','editHistory.panel.listFetchError','100%','editHistory.panel.revertFailed','getUnit','_dialogService','toString','BUTTON','__getInjector','defs','3376700tXMCOB','current','setTheme','_historyUniver$','history-container','_collaborationController','onSteady','1osyBFj','_commandService','univer-history-container','69545RmzFMZ','disposeWithMe','display','every','data','_themeService','_revertErrorTimer','_initPlugins','univerContainerId','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','UniverIcon','width','_config','closeAll','[HistoryLoaderService]:\x20Plugin\x20','unsubscribe','1179458Cyriax','_checkCanRevert','getElementById','historyUniver$','_selectionProtectionRuleModel','register','session','eventID','add','mountHistoryContent','editHistory.panel.title','onStarting','div','12MzvygZ','4074528KXoWyQ','historyListServerUrl','1000','attrs','getCurrentLocale','colorChannel1','children','3YCgxCA','params','getSheetId','state$','executeCommand','invoke','substring','exhaustSavingTask','_disposableCollection','univer-container','Loading','_messageService','get','_initUniver','event$','UNIVER_CONTAINER_ID','_init','fill','idSuffix','url(#$1','none','replace','setLocale','assign','unMountHistoryContent','values','close','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','flat','set','position','registerPlugin','HistoryIcon','symbol','show','getOwnPropertyDescriptor','mutations','forEach','_localeService','url(#history-icon_clip0_907_281)','1324608BTALOu','_permissionService'];_0x37a9=function(){return _0x913b6f;};return _0x37a9();}var Y=Object[_0x367929(0xa4)],B=(_0x36781d,_0x314015,_0x384de5)=>_0x314015 in _0x36781d?Y(_0x36781d,_0x314015,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384de5}):_0x36781d[_0x314015]=_0x384de5,g=(_0x3808af,_0x38db27,_0x3c62b3)=>B(_0x3808af,typeof _0x38db27!=_0x367929(0x103)?_0x38db27+'':_0x38db27,_0x3c62b3);import{Inject as _0x3a681a,LocaleService as _0x3f4791,IUniverInstanceService as _0x3e110e,IConfigService as _0x1d2255,ICommandService as _0x591114,IPermissionService as _0x3c490f,ThemeService as _0x1a393d,Disposable as _0x124845,DisposableCollection as _0x28ede2,Univer as _0x43c4fb,IAuthzIoService as _0xe15076,CommandType as _0x5e2d84,UniverInstanceType as _0x1969ac,RxDisposable as _0x3618fa,toDisposable as _0x299325,Plugin as _0x5b8387,merge as _0x57defd,Injector as _0x5b5fc7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x269ec1,RevertRevisionMutation as _0x38a934,CollaborationEvent as _0x31350f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x440cb6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x511c7a,CollaborationController as _0x4760cc,ILocalCacheService as _0x1e5fff,CollaborationStatus as _0x30d8d3}from'@univerjs-pro/collaboration-client';import{MessageType as _0x1d2dba}from'@univerjs/design';import{useRef as _0x2f7533,createElement as _0x2c016b,forwardRef as _0x1c7c3c}from'react';import{IMessageService as _0x108a0f,IDialogService as _0xead82a,ISidebarService as _0x3bfd0f,UniverUIPlugin as _0x5d1301,getMenuHiddenObservable as _0x216ba1,MenuItemType as _0x5628d5,RibbonStartGroup as _0x60a397,IMenuManagerService as _0x1d907c,ComponentManager as _0x521098}from'@univerjs/ui';import{BehaviorSubject as _0x43bdb2,combineLatest as _0x376ec6}from'rxjs';import{RangeProtectionRuleModel as _0x450f85,UniverSheetsPlugin as _0x27acd5,WorkbookEditablePermission as _0x2545f3,WorksheetEditPermission as _0x367e9d,RangeProtectionPermissionEditPoint as _0x2d83a2,WorkbookRecoverHistoryPermission as _0x5b2c68,getSheetCommandTarget as _0x2149a1,WorkbookViewHistoryPermission as _0x355bc4}from'@univerjs/sheets';function _0x3bd2(_0x4078d0,_0x386191){_0x4078d0=_0x4078d0-0x94;const _0x37a955=_0x37a9();let _0x3bd237=_0x37a955[_0x4078d0];return _0x3bd237;}import{UniverEditHistoryViewerPlugin as _0x5f557a,HistoryManagerService as _0x437ca5,HistoryModeStatus as _0x13817f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x2d2c6c,UniverLicensePlugin as _0x3de666}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x344e2a}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19e3c8}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x24fd48}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x261172}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x8c7485}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x134b19}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5e3711}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1639cb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x5c4301,IImageIoService as _0x24131d}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x241ed5}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5b2757}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5155d2}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2e2639}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1d3471,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2097b7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4cf6e2}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x221c2b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2b9816}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x30a166}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5cfd36}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x55bf51}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x1e106c}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x552a89}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xd0a808}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x7e68f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4d2f9f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x566754}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xe59536}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49c66b,getCurrentRangeDisable$ as _0x5bc44b}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x32d1a1,..._0x1a83ff}){const _0x5e77de=_0x367929,{icon:_0x5b603a,id:_0x21a2ef,className:_0x2b971c,extend:_0x18c96e,..._0x7869f1}=_0x1a83ff,_0x22cc47=(_0x5e77de(0x12e)+_0x21a2ef+'\x20'+(_0x2b971c||''))[_0x5e77de(0x136)](),_0x15904b=_0x2f7533('_'+hi());return j(_0x5b603a,''+_0x21a2ef,{'defIds':_0x5b603a[_0x5e77de(0x97)],'idSuffix':_0x15904b[_0x5e77de(0xb4)]},{'ref':_0x32d1a1,'className':_0x22cc47,..._0x7869f1},_0x18c96e);}function j(_0x14e8f4,_0x50b137,_0x65cc26,_0xa43e2,_0x32414a){const _0x3fe971=_0x367929;return _0x2c016b(_0x14e8f4['tag'],{'key':_0x50b137,...ci(_0x14e8f4,_0x65cc26,_0x32414a),..._0xa43e2},(li(_0x14e8f4,_0x65cc26)[_0x3fe971(0xe1)]||[])[_0x3fe971(0x9f)]((_0xd3093e,_0x58e418)=>j(_0xd3093e,_0x50b137+'-'+_0x14e8f4['tag']+'-'+_0x58e418,_0x65cc26,void 0x0,_0x32414a)));}function ci(_0x30aba3,_0x5b3b63,_0x416698){const _0x371efc=_0x367929,_0x440aa7={..._0x30aba3[_0x371efc(0xde)]};_0x416698!=null&&_0x416698[_0x371efc(0xe0)]&&_0x440aa7[_0x371efc(0xf3)]===_0x371efc(0xe0)&&(_0x440aa7[_0x371efc(0xf3)]=_0x416698[_0x371efc(0xe0)]),_0x30aba3[_0x371efc(0x124)]===_0x371efc(0xa6)&&_0x440aa7['id']&&(_0x440aa7['id']=_0x440aa7['id']+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x2a13e8,_0x257287])=>{const _0x1a9df2=_0x371efc;_0x2a13e8===_0x1a9df2(0xa6)&&typeof _0x257287==_0x1a9df2(0x11d)&&(_0x440aa7[_0x2a13e8]=_0x257287['replace'](/url\(#(.*)\)/,_0x1a9df2(0xf5)+_0x5b3b63[_0x1a9df2(0xf4)]+')'));});const {defIds:_0x5e7ba1}=_0x5b3b63;return!_0x5e7ba1||_0x5e7ba1['length']===0x0||(_0x30aba3[_0x371efc(0x124)]===_0x371efc(0x113)&&_0x440aa7[_0x371efc(0x135)]&&(_0x440aa7['xlink:href']=_0x440aa7[_0x371efc(0x135)]+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x56656f,_0x307641])=>{const _0x16bcec=_0x371efc;typeof _0x307641=='string'&&(_0x440aa7[_0x56656f]=_0x307641[_0x16bcec(0xf7)](/url\(#(.*)\)/,_0x16bcec(0xf5)+_0x5b3b63[_0x16bcec(0xf4)]+')'));})),_0x440aa7;}function li(_0x344ae0,_0x507ad7){const _0x21556f=_0x367929;var _0x3b3e06;const {defIds:_0x5385a3}=_0x507ad7;return!_0x5385a3||_0x5385a3[_0x21556f(0x11e)]===0x0?_0x344ae0:_0x344ae0[_0x21556f(0x124)]===_0x21556f(0xb2)&&((_0x3b3e06=_0x344ae0[_0x21556f(0xe1)])!=null&&_0x3b3e06[_0x21556f(0x11e)])?{..._0x344ae0,'children':_0x344ae0['children']['map'](_0x4e22a3=>typeof _0x4e22a3['attrs']['id']=='string'&&_0x5385a3&&_0x5385a3['includes'](_0x4e22a3[_0x21556f(0xde)]['id'])?{..._0x4e22a3,'attrs':{..._0x4e22a3[_0x21556f(0xde)],'id':_0x4e22a3[_0x21556f(0xde)]['id']+_0x507ad7[_0x21556f(0xf4)]}}:_0x4e22a3)}:_0x344ae0;}function hi(){const _0x2462f0=_0x367929;return Math[_0x2462f0(0x12d)]()[_0x2462f0(0xaf)](0x24)[_0x2462f0(0xe8)](0x2,0x8);}F['displayName']=_0x367929(0xc7);const ui={'tag':_0x367929(0x11c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x367929(0xf6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x367929(0xa0)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x367929(0x109)},'children':[{'tag':_0x367929(0x13d),'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':_0x367929(0x13d),'attrs':{'d':_0x367929(0xc6)}}]},{'tag':_0x367929(0xb2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x367929(0x96)},'children':[{'tag':_0x367929(0x13d),'attrs':{'fill':'white','d':_0x367929(0xa1)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x1c7c3c(function(_0x43575a,_0x5d65ef){const _0x41c434=_0x367929;return _0x2c016b(F,Object[_0x41c434(0xf9)]({},_0x43575a,{'id':_0x41c434(0x11f),'ref':_0x5d65ef,'icon':ui}));});V['displayName']=_0x367929(0x102);var gi=Object[_0x367929(0x105)],mi=(_0x36b06d,_0x3e250f,_0x53516d,_0x1389cc)=>{const _0x3772ac=_0x367929;for(var _0x40cfa5=_0x1389cc>0x1?void 0x0:_0x1389cc?gi(_0x3e250f,_0x53516d):_0x3e250f,_0x57c406=_0x36b06d[_0x3772ac(0x11e)]-0x1,_0x3f25cd;_0x57c406>=0x0;_0x57c406--)(_0x3f25cd=_0x36b06d[_0x57c406])&&(_0x40cfa5=_0x3f25cd(_0x40cfa5)||_0x40cfa5);return _0x40cfa5;},l=(_0x2e75c1,_0x11bcc2)=>(_0x69e276,_0x3d1165)=>_0x11bcc2(_0x69e276,_0x3d1165,_0x2e75c1);const vi=_0x367929(0xeb),G=_0x367929(0xf1),d=_0x367929(0xbc);let f=class extends _0x124845{constructor(_0x5b7141,_0x4f046f,_0x2a8418,_0x17ac6a,_0x309ef1,_0x24c384,_0x1f85e7,_0x2b4be5,_0x192be8,_0x58a034){const _0x1c5bc7=_0x367929;super(),g(this,_0x1c5bc7(0xb6),new _0x43bdb2(null)),g(this,_0x1c5bc7(0xd0),this[_0x1c5bc7(0xb6)][_0x1c5bc7(0x99)]()),g(this,_0x1c5bc7(0xea),new _0x28ede2()),g(this,_0x1c5bc7(0x9a),new Map()),(this[_0x1c5bc7(0x108)]=_0x5b7141,this['_univerInstanceService']=_0x4f046f,this[_0x1c5bc7(0x131)]=_0x2a8418,this[_0x1c5bc7(0xbb)]=_0x17ac6a,this[_0x1c5bc7(0xed)]=_0x309ef1,this[_0x1c5bc7(0x10b)]=_0x24c384,this[_0x1c5bc7(0xd1)]=_0x1f85e7,this[_0x1c5bc7(0xae)]=_0x2b4be5,this[_0x1c5bc7(0x128)]=_0x192be8,this[_0x1c5bc7(0xc2)]=_0x58a034,this['_init']());}get[_0x367929(0x139)](){const _0x16b3dd=_0x367929;return this[_0x16b3dd(0xb6)][_0x16b3dd(0x137)];}[_0x367929(0xf2)](){const _0x3fd69f=_0x367929;this['_initContainer'](),this[_0x3fd69f(0xc4)]();}['_initContainer'](){const _0x19eef0=_0x367929;var _0x4be08f;const _0x31d71d=(_0x4be08f=this[_0x19eef0(0x131)]['getConfig'](G))!=null?_0x4be08f:vi,_0x3426c0=document[_0x19eef0(0xcf)](_0x31d71d);if(!_0x3426c0)return;const _0x338b82=document[_0x19eef0(0x9c)](_0x19eef0(0xd9));_0x338b82['id']=d,_0x338b82[_0x19eef0(0x12c)]['uComp']=_0x19eef0(0xb7),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x100)]=_0x19eef0(0xa3),_0x338b82['style']['top']='0',_0x338b82['style']['left']='0',_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xc8)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x112)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x120)]=_0x19eef0(0xdd),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xbf)]=_0x19eef0(0xf6),_0x3426c0[_0x19eef0(0x121)](_0x338b82);}[_0x367929(0xc4)](){const _0xd42645=_0x367929;var _0xc54cc,_0x2440fe,_0x37a552,_0xf5f60b;[[_0x5155d2],[_0x5d1301,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xead82a,null]]}],[_0x2e2639],[_0x5c4301,{'override':[[_0x24131d,null]]}],[_0x5e3711,{'hasScroll':!0x1}],[_0x1639cb],[_0xe59536],[_0x27acd5,{'notExecuteFormula':!0x0}],[_0x49c66b],[_0xd0a808],[_0x7e68f2],[_0x269ec1],[_0x1e106c],[_0x552a89],[_0x4cf6e2],[_0x221c2b],[_0x4d2f9f],[_0x566754],[_0x134b19],[_0x2b9816],[_0x30a166],[_0x5b2757,{'notExecuteFormula':!0x0}],[_0x1d3471,{'workerURL':(_0x2440fe=(_0xc54cc=this[_0xd42645(0x131)][_0xd42645(0x130)](_0x2097b7))==null?void 0x0:_0xc54cc['workerURL'])!=null?_0x2440fe:_0xd42645(0x116)}],[_0x241ed5],[_0x5cfd36],[_0x55bf51],[_0x261172],[_0x8c7485],[_0x344e2a],[_0x19e3c8],[_0x24fd48,{'notExecuteFormula':!0x0}],[_0x5f557a,{'historyListServerUrl':(_0x37a552=this['_configService'][_0xd42645(0x130)](U))==null?void 0x0:_0x37a552[_0xd42645(0xdc)],'historyPanelComponentKey':(_0xf5f60b=this['_configService']['getConfig'](U))==null?void 0x0:_0xf5f60b[_0xd42645(0x98)]}]][_0xd42645(0x107)](([_0x2d82b4,_0xa8824e])=>this[_0xd42645(0x101)](_0x2d82b4,_0xa8824e));}[_0x367929(0xa8)](){const _0x5df634=_0x367929;super[_0x5df634(0xa8)](),this[_0x5df634(0xfa)](),this[_0x5df634(0x9a)][_0x5df634(0x126)]();}['registerPlugin'](_0x4713c7,_0x4eee48,_0x4da162){const _0xbd6fef=_0x367929;if(this[_0xbd6fef(0x9a)]['has'](_0x4713c7[_0xbd6fef(0xa7)])&&!_0x4da162)throw new Error(_0xbd6fef(0xcb)+_0x4713c7['pluginName']+_0xbd6fef(0x10c));this['_pluginMap'][_0xbd6fef(0xff)](_0x4713c7[_0xbd6fef(0xa7)],[_0x4713c7,_0x4eee48]);}[_0x367929(0x110)](){const _0x521616=_0x367929;return Array['from'](this['_pluginMap'][_0x521616(0xfb)]());}[_0x367929(0xd6)](_0x9f17f){const _0x5ea3ab=_0x367929,_0x29de85=document[_0x5ea3ab(0xcf)](d);_0x29de85&&(_0x29de85[_0x5ea3ab(0x12f)]['display']=_0x5ea3ab(0x133),this[_0x5ea3ab(0xef)](_0x9f17f,d));}[_0x367929(0xfa)](){const _0x2aeccb=_0x367929;var _0x1f67e7;this['_disposableCollection'][_0x2aeccb(0xa8)](),(_0x1f67e7=this['historyUniver'])==null||_0x1f67e7[_0x2aeccb(0xa8)](),this[_0x2aeccb(0xb6)][_0x2aeccb(0x115)](null);const _0xaf6ba8=document[_0x2aeccb(0xcf)](d);_0xaf6ba8&&(_0xaf6ba8[_0x2aeccb(0x12f)][_0x2aeccb(0xbf)]=_0x2aeccb(0xf6));}[_0x367929(0xef)](_0x789a96,_0x6b5be){const _0x5899e8=_0x367929;if(this[_0x5899e8(0x139)])return;const _0x17451c=new _0x43c4fb({'locales':{[this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()]:this[_0x5899e8(0x108)]['getLocales']()},'override':[[_0xe15076,{'useClass':_0x440cb6}]]}),_0x55f475=_0x17451c[_0x5899e8(0xb1)]();this[_0x5899e8(0xbe)](this['_themeService']['darkMode$'][_0x5899e8(0x11a)](_0x522f1d=>{const _0x26eeb6=_0x5899e8;_0x55f475[_0x26eeb6(0xee)](_0x1a393d)[_0x26eeb6(0x117)](_0x522f1d);})),this[_0x5899e8(0xbe)](this[_0x5899e8(0xc2)]['currentTheme$']['subscribe'](_0x4261fc=>{const _0x5af134=_0x5899e8;_0x55f475[_0x5af134(0xee)](_0x1a393d)[_0x5af134(0xb5)](_0x4261fc);})),_0x55f475[_0x5899e8(0xee)](_0x3f4791)[_0x5899e8(0xf8)](this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()),_0x55f475[_0x5899e8(0xee)](_0x1d2255)[_0x5899e8(0x9b)](_0x511c7a,this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x511c7a));const _0x5a9e90=this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x2d2c6c);_0x5a9e90&&_0x17451c[_0x5899e8(0x101)](_0x3de666,{'license':_0x5a9e90['ls']}),this[_0x5899e8(0x9a)]['forEach'](([_0x179e0f,_0x138cb2])=>{_0x17451c['registerPlugin'](_0x179e0f,_0x138cb2);}),_0x55f475[_0x5899e8(0xe7)](_0x3dcca2=>{this['_initListener'](_0x3dcca2,_0x789a96);}),this[_0x5899e8(0xb6)][_0x5899e8(0x115)](_0x17451c);const _0x47cc9e=_0x55f475[_0x5899e8(0xee)](_0x437ca5),_0x5542e0=this[_0x5899e8(0xce)](_0x789a96);_0x47cc9e[_0x5899e8(0x127)](_0x789a96,_0x6b5be,_0x5542e0);}['_initListener'](_0x13b56e,_0x376526){const _0xcd2eaa=_0x367929,_0x2fb77b=_0x13b56e[_0xcd2eaa(0xee)](_0x437ca5);this['_disposableCollection']['add'](_0x2fb77b[_0xcd2eaa(0x129)][_0xcd2eaa(0x11a)](_0x1e48ef=>{const _0x3dedea=_0xcd2eaa;switch(_0x1e48ef){case _0x13817f[_0x3dedea(0x118)]:this[_0x3dedea(0xae)][_0x3dedea(0xca)](),this[_0x3dedea(0x128)][_0x3dedea(0xfc)]();break;case _0x13817f['Exited']:this[_0x3dedea(0xbb)][_0x3dedea(0xe6)](W['id']),this[_0x3dedea(0xfa)]();break;case _0x13817f['Error']:this[_0x3dedea(0xfa)](),this[_0x3dedea(0xed)][_0x3dedea(0x104)]({'content':this['_localeService']['t'](_0x3dedea(0xaa)),'type':_0x1d2dba[_0x3dedea(0xa9)],'duration':0xbb8});break;}})),this[_0xcd2eaa(0xea)]['add'](_0x2fb77b[_0xcd2eaa(0x125)][_0xcd2eaa(0x11a)](async _0x58a3b=>{const _0x13ac12=_0xcd2eaa;_0x58a3b&&this[_0x13ac12(0xbb)][_0x13ac12(0xe6)](_0x38a934['id'],{'unitId':_0x376526,'revision':_0x58a3b});}));}[_0x367929(0xce)](_0x45d93b){const _0x337ad2=_0x367929,_0x1896f7=this[_0x337ad2(0x122)][_0x337ad2(0xad)](_0x45d93b)[_0x337ad2(0x12b)]()[_0x337ad2(0x9f)](_0x5a9231=>_0x5a9231[_0x337ad2(0xe4)]()),_0x412fbc=new _0x2545f3(_0x45d93b)['id'],_0x687485=_0x1896f7[_0x337ad2(0x9f)](_0x5da1ac=>new _0x367e9d(_0x45d93b,_0x5da1ac)['id']),_0x4fccf5=_0x1896f7[_0x337ad2(0x9f)](_0x27344d=>this[_0x337ad2(0xd1)][_0x337ad2(0x11b)](_0x45d93b,_0x27344d)['map'](_0x6a2997=>new _0x2d83a2(_0x45d93b,_0x27344d,_0x6a2997['permissionId'])['id']))[_0x337ad2(0xfe)](),_0x3eb7dc=new _0x5b2c68(_0x45d93b)['id'];return this['_permissionService'][_0x337ad2(0x119)]([_0x412fbc,..._0x687485,..._0x4fccf5,_0x3eb7dc])[_0x337ad2(0xc0)](_0x51f26b=>!!_0x51f26b[_0x337ad2(0x137)]);}};f=mi([l(0x0,_0x3a681a(_0x3f4791)),l(0x1,_0x3e110e),l(0x2,_0x1d2255),l(0x3,_0x591114),l(0x4,_0x108a0f),l(0x5,_0x3c490f),l(0x6,_0x3a681a(_0x450f85)),l(0x7,_0x3a681a(_0xead82a)),l(0x8,_0x3a681a(_0x3bfd0f)),l(0x9,_0x3a681a(_0x1a393d))],f);const b={'id':_0x367929(0x123),'type':_0x5e2d84[_0x367929(0x138)],'handler':_0x2bcd92=>{const _0x2a2e45=_0x367929,_0x1252ae=_0x2bcd92[_0x2a2e45(0xee)](f),_0x1a6b11=_0x2bcd92[_0x2a2e45(0xee)](_0x3e110e),{unitId:_0x223bb1}=_0x2149a1(_0x1a6b11)||{};return _0x223bb1?(_0x1252ae[_0x2a2e45(0xd6)](_0x223bb1),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x5e2d84[_0x367929(0x138)],'handler':()=>!0x0};function di(_0x37b837){const _0x56f0e8=_0x367929;return{'id':b['id'],'type':_0x5628d5[_0x56f0e8(0xb0)],'icon':_0x56f0e8(0x102),'tooltip':_0x56f0e8(0xd7),'hidden$':_0x216ba1(_0x37b837,_0x1969ac['UNIVER_SHEET']),'disabled$':_0x5bc44b(_0x37b837,{'workbookTypes':[_0x2545f3,_0x355bc4],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x60a397[_0x367929(0x114)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x358bdc,_0x4c42f4,_0x14bf0e,_0x74d913)=>{for(var _0x4cf5d4=_0x74d913>0x1?void 0x0:_0x74d913?_i(_0x4c42f4,_0x14bf0e):_0x4c42f4,_0x356df2=_0x358bdc['length']-0x1,_0x420605;_0x356df2>=0x0;_0x356df2--)(_0x420605=_0x358bdc[_0x356df2])&&(_0x4cf5d4=_0x420605(_0x4cf5d4)||_0x4cf5d4);return _0x4cf5d4;},m=(_0x521898,_0x25fbc6)=>(_0x57a6b4,_0x2e3022)=>_0x25fbc6(_0x57a6b4,_0x2e3022,_0x521898);let p=class extends _0x3618fa{constructor(_0x51ae10,_0x26503a,_0x44748a,_0x37b2f9,_0x2bcb41,_0xebf58e,_0x21d936,_0x24a610){const _0x31fcf3=_0x367929;super(),g(this,_0x31fcf3(0xc3),null),(this[_0x31fcf3(0xbb)]=_0x51ae10,this[_0x31fcf3(0x10e)]=_0x26503a,this['_componentManager']=_0x44748a,this[_0x31fcf3(0x95)]=_0x37b2f9,this[_0x31fcf3(0x108)]=_0x2bcb41,this[_0x31fcf3(0xed)]=_0xebf58e,this[_0x31fcf3(0xb8)]=_0x21d936,this['_localCacheService']=_0x24a610,this[_0x31fcf3(0xf2)]());}[_0x367929(0xf2)](){const _0x1c9cff=_0x367929;[b,W][_0x1c9cff(0x107)](_0x32cabc=>this[_0x1c9cff(0xbe)](_0x299325(this[_0x1c9cff(0xbb)][_0x1c9cff(0xa5)](_0x32cabc)))),this['disposeWithMe'](this[_0x1c9cff(0x13a)][_0x1c9cff(0xd2)](_0x1c9cff(0x102),V)),this[_0x1c9cff(0x10e)][_0x1c9cff(0x9d)](fi),this[_0x1c9cff(0xbe)](this[_0x1c9cff(0xbb)]['onCommandExecuted'](_0x1af5ac=>{const _0x5efe0f=_0x1c9cff;if(_0x1af5ac['id']===_0x38a934['id']){this[_0x5efe0f(0xed)]['show']({'content':this[_0x5efe0f(0x108)]['t'](_0x5efe0f(0x13c)),'type':_0x1d2dba[_0x5efe0f(0xec)],'duration':0x1388});const {unitId:_0x570eab}=_0x1af5ac[_0x5efe0f(0xe3)],_0x507ebe=this[_0x5efe0f(0xb8)][_0x5efe0f(0x13b)](_0x570eab),_0x17ccfc=_0x376ec6([_0x507ebe[_0x5efe0f(0xd3)][_0x5efe0f(0xf0)],_0x507ebe[_0x5efe0f(0xe5)]])[_0x5efe0f(0x11a)](async([_0x3f0ab3,_0x3cb315])=>{const _0x4ac0f4=_0x5efe0f;var _0x32f34d;_0x3f0ab3[_0x4ac0f4(0xd4)]===_0x31350f['CHANGESET_ACK']&&(_0x3cb315==null?void 0x0:_0x3cb315['status'])===_0x30d8d3[_0x4ac0f4(0x132)]&&_0x3f0ab3[_0x4ac0f4(0xc1)][_0x4ac0f4(0x106)]['some'](_0x2f4f53=>_0x2f4f53['id']===_0x38a934['id'])&&(this[_0x4ac0f4(0x95)][_0x4ac0f4(0xfa)](),_0x17ccfc['unsubscribe'](),this[_0x4ac0f4(0xc3)]&&clearTimeout(this[_0x4ac0f4(0xc3)]),await((_0x32f34d=this[_0x4ac0f4(0x111)])==null?void 0x0:_0x32f34d[_0x4ac0f4(0xe9)]()),setTimeout(()=>window[_0x4ac0f4(0xa2)][_0x4ac0f4(0x10f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x5a14e7=_0x5efe0f;_0x17ccfc[_0x5a14e7(0xcc)](),this['_messageService']['show']({'content':this[_0x5a14e7(0x108)]['t'](_0x5a14e7(0xac)),'type':_0x1d2dba[_0x5a14e7(0xa9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x591114),m(0x1,_0x1d907c),m(0x2,_0x3a681a(_0x521098)),m(0x3,_0x3a681a(f)),m(0x4,_0x3a681a(_0x3f4791)),m(0x5,_0x108a0f),m(0x6,_0x3a681a(_0x4760cc)),m(0x7,_0x1e5fff)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0x358b29,_0x53109b,_0x541c81,_0xee719c)=>{const _0x3dfdc7=_0x367929;for(var _0x47de7a=_0xee719c>0x1?void 0x0:_0xee719c?Si(_0x53109b,_0x541c81):_0x53109b,_0x33f36d=_0x358b29[_0x3dfdc7(0x11e)]-0x1,_0x4f968f;_0x33f36d>=0x0;_0x33f36d--)(_0x4f968f=_0x358b29[_0x33f36d])&&(_0x47de7a=_0x4f968f(_0x47de7a)||_0x47de7a);return _0x47de7a;},R=(_0x4ad689,_0x678526)=>(_0x47824d,_0x267d5d)=>_0x678526(_0x47824d,_0x267d5d,_0x4ad689);const yi=_0x367929(0xfd);var _;let H=(_=class extends _0x5b8387{constructor(_0x5fbfd3=N,_0x53032c,_0x2d3476){const _0x52f0cb=_0x367929;super(),this[_0x52f0cb(0xc9)]=_0x5fbfd3,this[_0x52f0cb(0x10d)]=_0x53032c,this[_0x52f0cb(0x131)]=_0x2d3476;const {menu:_0x28b74a,..._0x4c2e1d}=_0x57defd({},N,this[_0x52f0cb(0xc9)]);_0x28b74a&&this[_0x52f0cb(0x131)][_0x52f0cb(0x9b)]('menu',_0x28b74a,{'merge':!0x0}),this[_0x52f0cb(0x131)]['setConfig'](U,_0x4c2e1d),this[_0x52f0cb(0xc9)]['univerContainerId']&&this[_0x52f0cb(0x131)]['setConfig'](G,this['_config'][_0x52f0cb(0xc5)]);}[_0x367929(0xd8)](){const _0x122234=_0x367929;[[f],[p]]['forEach'](_0x26c2a2=>this[_0x122234(0x10d)][_0x122234(0xd5)](_0x26c2a2));}[_0x367929(0xb9)](){const _0x501621=_0x367929;this[_0x501621(0x10d)][_0x501621(0xee)](p);}},g(_,'type',_0x1969ac[_0x367929(0x134)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x3a681a(_0x5b5fc7)),R(0x2,_0x1d2255)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x4fea06=_0x9a8a;(function(_0x547251,_0xe393c9){const _0x256a44=_0x9a8a,_0x46106c=_0x547251();while(!![]){try{const _0x978f5e=-parseInt(_0x256a44(0x156))/0x1+parseInt(_0x256a44(0x147))/0x2*(parseInt(_0x256a44(0x1a4))/0x3)+parseInt(_0x256a44(0x115))/0x4+-parseInt(_0x256a44(0x145))/0x5+parseInt(_0x256a44(0x167))/0x6*(-parseInt(_0x256a44(0x120))/0x7)+parseInt(_0x256a44(0x11d))/0x8*(-parseInt(_0x256a44(0x11f))/0x9)+parseInt(_0x256a44(0x176))/0xa;if(_0x978f5e===_0xe393c9)break;else _0x46106c['push'](_0x46106c['shift']());}catch(_0x3bceae){_0x46106c['push'](_0x46106c['shift']());}}}(_0x28ca,0xa2bec));var Y=Object[_0x4fea06(0x181)],B=(_0x2a900e,_0x103f31,_0x21381e)=>_0x103f31 in _0x2a900e?Y(_0x2a900e,_0x103f31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21381e}):_0x2a900e[_0x103f31]=_0x21381e,g=(_0x4c7e79,_0xa17047,_0x50d139)=>B(_0x4c7e79,typeof _0xa17047!=_0x4fea06(0x14c)?_0xa17047+'':_0xa17047,_0x50d139);import{Inject as _0x154f1c,LocaleService as _0x11817a,IUniverInstanceService as _0x3885a7,IConfigService as _0x2aecfa,ICommandService as _0x55c1fa,IPermissionService as _0x3d155c,ThemeService as _0x2655be,Disposable as _0x30627d,DisposableCollection as _0x4dc840,Univer as _0x29f8e7,IAuthzIoService as _0x104b7d,CommandType as _0x37d2e4,UniverInstanceType as _0x2b47f9,RxDisposable as _0xf142cb,toDisposable as _0x98fbf5,Plugin as _0x5e4324,merge as _0x5abee6,Injector as _0x1c94a9}from'@univerjs/core';import{UniverCollaborationPlugin as _0x64f418,RevertRevisionMutation as _0x14b36a,CollaborationEvent as _0x53178f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x294dea,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20c5d0,CollaborationController as _0x349ed6,ILocalCacheService as _0x5cfc1b,CollaborationStatus as _0x46131d}from'@univerjs-pro/collaboration-client';import{MessageType as _0x36a429}from'@univerjs/design';import{useRef as _0x4316ca,createElement as _0x58e825,forwardRef as _0x35166a}from'react';import{IMessageService as _0x3f6a09,IDialogService as _0x5e1189,ISidebarService as _0x2a441f,UniverUIPlugin as _0x5b3961,getMenuHiddenObservable as _0x48dd2a,MenuItemType as _0x52ee52,RibbonStartGroup as _0x111ba1,IMenuManagerService as _0x31a40d,ComponentManager as _0x4d7433}from'@univerjs/ui';import{BehaviorSubject as _0x3e5653,combineLatest as _0x3921a5}from'rxjs';import{RangeProtectionRuleModel as _0x77cdf8,UniverSheetsPlugin as _0x5acb05,WorkbookEditablePermission as _0x24c456,WorksheetEditPermission as _0x4558fa,RangeProtectionPermissionEditPoint as _0x5b8332,WorkbookRecoverHistoryPermission as _0x5a4a46,getSheetCommandTarget as _0x208830,WorkbookViewHistoryPermission as _0xf13583}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x330742,HistoryManagerService as _0x9e8f1a,HistoryModeStatus as _0x2c21b0}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4092d5,UniverLicensePlugin as _0x156a18}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x4e7b25}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0xab977d}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x40ce4c}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x29f248}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x53e3ed}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x2c5aa0}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x11449a}from'@univerjs/docs';function _0x28ca(){const _0xbd85c6=['3284176wnNLAR','get','workerURL','getConfig','tag','setDarkMode','_initListener','path','224DKdOXp','UniverIcon','225279awVxwZ','10367IcnZCo','status$','historyUniver$','historyListServerUrl','location','OTHERS','assign','xlink:href','add','set','dataset','_menuManagerService','values','Entered','trim','UNIVER_CONTAINER_ID','map','idSuffix','state$','svg','editHistory.panel.listFetchError','_messageService','status','_config','history-container','clipPath','exhaustSavingTask','string','_sidebarService','_injector','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','disposeWithMe','1em','url(#$1','show','onCommandExecuted','_selectionProtectionRuleModel','2217675KWdYhx','registerCommand','262022CweFVK','executeCommand','_componentManager','has','getCollabEntity','symbol','clear','_themeService','session','UNIVER_SHEET','100%','replace','none','pluginName','div','1329341CHNECo','_commandService','registerPlugin','_historyUniver$','attrs','_checkCanRevert','getSubunitRuleList','current','history-icon','_configService','block','width','white','left','_dialogService','absolute','children','144rrJxtY','currentTheme$','Loading','_pluginMap','SYNCED','_permissionService','setLocale','top','_localeService','HistoryIcon','getSheets','0\x200\x2016\x2016','invoke','next','toString','11757490yLOSCO','_revertErrorTimer','mutations','getSheetId','includes','flat','univer.operation.toggle-edit-history','style','univerContainerId','_initContainer','use','defineProperty','displayName','[HistoryLoaderService]:\x20Plugin\x20','BUTTON','univer.operation.exit-edit-history','createElement','asObservable','darkMode$','univer-history-container','editHistory.panel.revertFailed','colorChannel1','value','getCurrentLocale','appendChild','defIds','Error','unsubscribe','history-icon_clip0_907_281','_initUniver','mountHistoryContent','fill','_initPlugins','getElementById','mask','defs','composePermission','getLocales','setTheme','UNIVER_UNKNOWN','setConfig','uComp','register','univerjs-icon\x20univerjs-icon-','_collaborationController','subscribe','27fdRddW','_historyManagerService','triggerLoadVersions','close','http://www.w3.org/2000/svg','historyPanelComponentKey','dispose','forEach','display','_disposableCollection','unMountHistoryContent','entries','_univerInstanceService','_init','historyUniver','currentColor','some','permissionId','getOwnPropertyDescriptor','closeAll','url(#history-icon_clip0_907_281)','OPERATION','revertRevision$','data','params','length','zIndex','_localCacheService','mergeMenu','reload','height','./worker.js','random'];_0x28ca=function(){return _0xbd85c6;};return _0x28ca();}import{UniverDocsUIPlugin as _0x5f122d}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x1ee828,IImageIoService as _0x491f76}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x14cc07}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x43012e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x13b8dc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3f12e1}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0xe3364d,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x423d11}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x408091}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x512a56}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x35eaf9}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x2b34b9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x2f753d}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5a7206}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3e80ef}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x2d22aa}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x59d0c4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x2af4e0}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x475204}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x5e4df4}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2c7f3d}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x48c37a,getCurrentRangeDisable$ as _0x54ee29}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x1213f7,..._0x472547}){const _0x2ed6ff=_0x4fea06,{icon:_0x1cf2a7,id:_0x53f2f7,className:_0x500f6f,extend:_0x77fdf,..._0x536875}=_0x472547,_0x358378=(_0x2ed6ff(0x1a1)+_0x53f2f7+'\x20'+(_0x500f6f||''))[_0x2ed6ff(0x12e)](),_0x19019f=_0x4316ca('_'+hi());return j(_0x1cf2a7,''+_0x53f2f7,{'defIds':_0x1cf2a7[_0x2ed6ff(0x18f)],'idSuffix':_0x19019f[_0x2ed6ff(0x15d)]},{'ref':_0x1213f7,'className':_0x358378,..._0x536875},_0x77fdf);}function j(_0x5c9a55,_0x36f03e,_0x2bf5c3,_0x5a8b5c,_0x456d8f){const _0x801646=_0x4fea06;return _0x58e825(_0x5c9a55[_0x801646(0x119)],{'key':_0x36f03e,...ci(_0x5c9a55,_0x2bf5c3,_0x456d8f),..._0x5a8b5c},(li(_0x5c9a55,_0x2bf5c3)[_0x801646(0x166)]||[])['map']((_0x50b66c,_0x35eafe)=>j(_0x50b66c,_0x36f03e+'-'+_0x5c9a55['tag']+'-'+_0x35eafe,_0x2bf5c3,void 0x0,_0x456d8f)));}function ci(_0x4550a1,_0x2d90e0,_0x4a1f11){const _0x408da1=_0x4fea06,_0x16638b={..._0x4550a1['attrs']};_0x4a1f11!=null&&_0x4a1f11[_0x408da1(0x18b)]&&_0x16638b['fill']===_0x408da1(0x18b)&&(_0x16638b[_0x408da1(0x195)]=_0x4a1f11[_0x408da1(0x18b)]),_0x4550a1[_0x408da1(0x119)]===_0x408da1(0x198)&&_0x16638b['id']&&(_0x16638b['id']=_0x16638b['id']+_0x2d90e0[_0x408da1(0x131)]),Object[_0x408da1(0xff)](_0x16638b)[_0x408da1(0xfb)](([_0x58dcbd,_0x3cf86a])=>{const _0x503ab6=_0x408da1;_0x58dcbd==='mask'&&typeof _0x3cf86a==_0x503ab6(0x13b)&&(_0x16638b[_0x58dcbd]=_0x3cf86a[_0x503ab6(0x152)](/url\(#(.*)\)/,_0x503ab6(0x141)+_0x2d90e0['idSuffix']+')'));});const {defIds:_0x319d32}=_0x2d90e0;return!_0x319d32||_0x319d32[_0x408da1(0x10d)]===0x0||(_0x4550a1[_0x408da1(0x119)]===_0x408da1(0x180)&&_0x16638b[_0x408da1(0x127)]&&(_0x16638b[_0x408da1(0x127)]=_0x16638b['xlink:href']+_0x2d90e0[_0x408da1(0x131)]),Object['entries'](_0x16638b)[_0x408da1(0xfb)](([_0x447200,_0x2b14f5])=>{const _0xffd156=_0x408da1;typeof _0x2b14f5==_0xffd156(0x13b)&&(_0x16638b[_0x447200]=_0x2b14f5[_0xffd156(0x152)](/url\(#(.*)\)/,_0xffd156(0x141)+_0x2d90e0[_0xffd156(0x131)]+')'));})),_0x16638b;}function li(_0x168c6c,_0x1d23f9){const _0x1739fb=_0x4fea06;var _0x129b99;const {defIds:_0x35c48a}=_0x1d23f9;return!_0x35c48a||_0x35c48a[_0x1739fb(0x10d)]===0x0?_0x168c6c:_0x168c6c[_0x1739fb(0x119)]===_0x1739fb(0x199)&&((_0x129b99=_0x168c6c['children'])!=null&&_0x129b99['length'])?{..._0x168c6c,'children':_0x168c6c[_0x1739fb(0x166)][_0x1739fb(0x130)](_0x1437f0=>typeof _0x1437f0[_0x1739fb(0x15a)]['id']=='string'&&_0x35c48a&&_0x35c48a[_0x1739fb(0x17a)](_0x1437f0[_0x1739fb(0x15a)]['id'])?{..._0x1437f0,'attrs':{..._0x1437f0[_0x1739fb(0x15a)],'id':_0x1437f0[_0x1739fb(0x15a)]['id']+_0x1d23f9[_0x1739fb(0x131)]}}:_0x1437f0)}:_0x168c6c;}function hi(){const _0x1388e2=_0x4fea06;return Math[_0x1388e2(0x114)]()[_0x1388e2(0x175)](0x24)['substring'](0x2,0x8);}F[_0x4fea06(0x182)]=_0x4fea06(0x11e);const ui={'tag':_0x4fea06(0x133),'attrs':{'xmlns':_0x4fea06(0xf8),'fill':_0x4fea06(0x153),'viewBox':_0x4fea06(0x172),'width':_0x4fea06(0x140),'height':_0x4fea06(0x140)},'children':[{'tag':'g','attrs':{'fill':_0x4fea06(0x103),'clipPath':_0x4fea06(0x108)},'children':[{'tag':_0x4fea06(0x11c),'attrs':{'d':_0x4fea06(0x13e)}},{'tag':_0x4fea06(0x11c),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x4fea06(0x199),'attrs':{},'children':[{'tag':_0x4fea06(0x139),'attrs':{'id':_0x4fea06(0x192)},'children':[{'tag':_0x4fea06(0x11c),'attrs':{'fill':_0x4fea06(0x162),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4fea06(0x192)]},V=_0x35166a(function(_0x3c610b,_0x5ad480){const _0x47d387=_0x4fea06;return _0x58e825(F,Object[_0x47d387(0x126)]({},_0x3c610b,{'id':_0x47d387(0x15e),'ref':_0x5ad480,'icon':ui}));});V[_0x4fea06(0x182)]=_0x4fea06(0x170);var gi=Object[_0x4fea06(0x106)],mi=(_0x3ea04e,_0x58752d,_0x44e389,_0x1a68b7)=>{const _0xf775a5=_0x4fea06;for(var _0x4d86d0=_0x1a68b7>0x1?void 0x0:_0x1a68b7?gi(_0x58752d,_0x44e389):_0x58752d,_0x3d9f72=_0x3ea04e[_0xf775a5(0x10d)]-0x1,_0xdbec15;_0x3d9f72>=0x0;_0x3d9f72--)(_0xdbec15=_0x3ea04e[_0x3d9f72])&&(_0x4d86d0=_0xdbec15(_0x4d86d0)||_0x4d86d0);return _0x4d86d0;},l=(_0x2e0636,_0x1d56b0)=>(_0x8a60d5,_0x3e0640)=>_0x1d56b0(_0x8a60d5,_0x3e0640,_0x2e0636);const vi='univer-container',G=_0x4fea06(0x12f),d=_0x4fea06(0x189);let f=class extends _0x30627d{constructor(_0x2eeefb,_0x2849fc,_0x41a689,_0x3b693f,_0x470652,_0x523eef,_0x17a8e1,_0x2f1a4c,_0x15cc18,_0x4e30b5){const _0x4d364d=_0x4fea06;super(),g(this,_0x4d364d(0x159),new _0x3e5653(null)),g(this,_0x4d364d(0x122),this[_0x4d364d(0x159)][_0x4d364d(0x187)]()),g(this,_0x4d364d(0xfd),new _0x4dc840()),g(this,_0x4d364d(0x16a),new Map()),(this[_0x4d364d(0x16f)]=_0x2eeefb,this[_0x4d364d(0x100)]=_0x2849fc,this[_0x4d364d(0x15f)]=_0x41a689,this['_commandService']=_0x3b693f,this[_0x4d364d(0x135)]=_0x470652,this[_0x4d364d(0x16c)]=_0x523eef,this[_0x4d364d(0x144)]=_0x17a8e1,this[_0x4d364d(0x164)]=_0x2f1a4c,this[_0x4d364d(0x13c)]=_0x15cc18,this['_themeService']=_0x4e30b5,this['_init']());}get[_0x4fea06(0x102)](){const _0x4f3019=_0x4fea06;return this['_historyUniver$'][_0x4f3019(0x18c)];}[_0x4fea06(0x101)](){const _0x548bc9=_0x4fea06;this['_initContainer'](),this[_0x548bc9(0x196)]();}[_0x4fea06(0x17f)](){const _0x20baa9=_0x4fea06;var _0x1a9b98;const _0x43fd26=(_0x1a9b98=this['_configService'][_0x20baa9(0x118)](G))!=null?_0x1a9b98:vi,_0x58d35b=document[_0x20baa9(0x197)](_0x43fd26);if(!_0x58d35b)return;const _0x4cbd2b=document[_0x20baa9(0x186)](_0x20baa9(0x155));_0x4cbd2b['id']=d,_0x4cbd2b[_0x20baa9(0x12a)][_0x20baa9(0x19f)]=_0x20baa9(0x138),_0x4cbd2b[_0x20baa9(0x17d)]['position']=_0x20baa9(0x165),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x16e)]='0',_0x4cbd2b['style'][_0x20baa9(0x163)]='0',_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x161)]=_0x20baa9(0x151),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x112)]=_0x20baa9(0x151),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x10e)]='1000',_0x4cbd2b['style']['display']=_0x20baa9(0x153),_0x58d35b[_0x20baa9(0x18e)](_0x4cbd2b);}[_0x4fea06(0x196)](){const _0x431f96=_0x4fea06;var _0x52e222,_0x214e80,_0x26cdbe,_0x4fd72f;[[_0x13b8dc],[_0x5b3961,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5e1189,null]]}],[_0x3f12e1],[_0x1ee828,{'override':[[_0x491f76,null]]}],[_0x11449a,{'hasScroll':!0x1}],[_0x5f122d],[_0x2c7f3d],[_0x5acb05,{'notExecuteFormula':!0x0}],[_0x48c37a],[_0x59d0c4],[_0x2af4e0],[_0x64f418],[_0x3e80ef],[_0x2d22aa],[_0x408091],[_0x512a56],[_0x475204],[_0x5e4df4],[_0x2c5aa0],[_0x35eaf9],[_0x2b34b9],[_0x43012e,{'notExecuteFormula':!0x0}],[_0xe3364d,{'workerURL':(_0x214e80=(_0x52e222=this[_0x431f96(0x15f)][_0x431f96(0x118)](_0x423d11))==null?void 0x0:_0x52e222[_0x431f96(0x117)])!=null?_0x214e80:_0x431f96(0x113)}],[_0x14cc07],[_0x2f753d],[_0x5a7206],[_0x29f248],[_0x53e3ed],[_0x4e7b25],[_0xab977d],[_0x40ce4c,{'notExecuteFormula':!0x0}],[_0x330742,{'historyListServerUrl':(_0x26cdbe=this['_configService'][_0x431f96(0x118)](U))==null?void 0x0:_0x26cdbe[_0x431f96(0x123)],'historyPanelComponentKey':(_0x4fd72f=this[_0x431f96(0x15f)][_0x431f96(0x118)](U))==null?void 0x0:_0x4fd72f[_0x431f96(0xf9)]}]]['forEach'](([_0x1c6a81,_0x44e8e3])=>this[_0x431f96(0x158)](_0x1c6a81,_0x44e8e3));}[_0x4fea06(0xfa)](){const _0x4da3da=_0x4fea06;super[_0x4da3da(0xfa)](),this[_0x4da3da(0xfe)](),this['_pluginMap'][_0x4da3da(0x14d)]();}['registerPlugin'](_0x1760b3,_0x27b3ff,_0x38dad4){const _0x20e6b3=_0x4fea06;if(this[_0x20e6b3(0x16a)][_0x20e6b3(0x14a)](_0x1760b3['pluginName'])&&!_0x38dad4)throw new Error(_0x20e6b3(0x183)+_0x1760b3[_0x20e6b3(0x154)]+'\x20has\x20been\x20registered.');this['_pluginMap'][_0x20e6b3(0x129)](_0x1760b3[_0x20e6b3(0x154)],[_0x1760b3,_0x27b3ff]);}['getAllPlugins'](){const _0x453e8f=_0x4fea06;return Array['from'](this[_0x453e8f(0x16a)][_0x453e8f(0x12c)]());}[_0x4fea06(0x194)](_0xcef0a0){const _0x579f19=_0x4fea06,_0x4c2ce6=document[_0x579f19(0x197)](d);_0x4c2ce6&&(_0x4c2ce6[_0x579f19(0x17d)]['display']=_0x579f19(0x160),this[_0x579f19(0x193)](_0xcef0a0,d));}[_0x4fea06(0xfe)](){const _0x3022f7=_0x4fea06;var _0x29cab9;this['_disposableCollection'][_0x3022f7(0xfa)](),(_0x29cab9=this[_0x3022f7(0x102)])==null||_0x29cab9[_0x3022f7(0xfa)](),this[_0x3022f7(0x159)][_0x3022f7(0x174)](null);const _0x438181=document['getElementById'](d);_0x438181&&(_0x438181[_0x3022f7(0x17d)][_0x3022f7(0xfc)]=_0x3022f7(0x153));}[_0x4fea06(0x193)](_0x3664cc,_0xc88466){const _0x90a5c1=_0x4fea06;if(this[_0x90a5c1(0x102)])return;const _0x3d1aea=new _0x29f8e7({'locales':{[this[_0x90a5c1(0x16f)][_0x90a5c1(0x18d)]()]:this[_0x90a5c1(0x16f)][_0x90a5c1(0x19b)]()},'override':[[_0x104b7d,{'useClass':_0x294dea}]]}),_0x3dfdc2=_0x3d1aea['__getInjector']();this[_0x90a5c1(0x13f)](this[_0x90a5c1(0x14e)][_0x90a5c1(0x188)]['subscribe'](_0xdcefa7=>{const _0x21eab2=_0x90a5c1;_0x3dfdc2[_0x21eab2(0x116)](_0x2655be)[_0x21eab2(0x11a)](_0xdcefa7);})),this[_0x90a5c1(0x13f)](this[_0x90a5c1(0x14e)][_0x90a5c1(0x168)][_0x90a5c1(0x1a3)](_0x51b987=>{const _0x2b7339=_0x90a5c1;_0x3dfdc2[_0x2b7339(0x116)](_0x2655be)[_0x2b7339(0x19c)](_0x51b987);})),_0x3dfdc2[_0x90a5c1(0x116)](_0x11817a)[_0x90a5c1(0x16d)](this['_localeService'][_0x90a5c1(0x18d)]()),_0x3dfdc2[_0x90a5c1(0x116)](_0x2aecfa)['setConfig'](_0x20c5d0,this[_0x90a5c1(0x15f)][_0x90a5c1(0x118)](_0x20c5d0));const _0x59ce7d=this['_configService'][_0x90a5c1(0x118)](_0x4092d5);_0x59ce7d&&_0x3d1aea[_0x90a5c1(0x158)](_0x156a18,{'license':_0x59ce7d['ls']}),this[_0x90a5c1(0x16a)][_0x90a5c1(0xfb)](([_0xd81c3a,_0x3a9a3c])=>{_0x3d1aea['registerPlugin'](_0xd81c3a,_0x3a9a3c);}),_0x3dfdc2[_0x90a5c1(0x173)](_0x26a360=>{const _0x146ea3=_0x90a5c1;this[_0x146ea3(0x11b)](_0x26a360,_0x3664cc);}),this[_0x90a5c1(0x159)][_0x90a5c1(0x174)](_0x3d1aea);const _0x5c8660=_0x3dfdc2[_0x90a5c1(0x116)](_0x9e8f1a),_0x2c6df8=this[_0x90a5c1(0x15b)](_0x3664cc);_0x5c8660[_0x90a5c1(0xf6)](_0x3664cc,_0xc88466,_0x2c6df8);}[_0x4fea06(0x11b)](_0x3660f1,_0x24b1d8){const _0x179ce5=_0x4fea06,_0x169c42=_0x3660f1['get'](_0x9e8f1a);this[_0x179ce5(0xfd)]['add'](_0x169c42[_0x179ce5(0x121)][_0x179ce5(0x1a3)](_0x91ff51=>{const _0x2bd1d6=_0x179ce5;switch(_0x91ff51){case _0x2c21b0[_0x2bd1d6(0x12d)]:this['_dialogService'][_0x2bd1d6(0x107)](),this[_0x2bd1d6(0x13c)][_0x2bd1d6(0xf7)]();break;case _0x2c21b0['Exited']:this[_0x2bd1d6(0x157)][_0x2bd1d6(0x148)](W['id']),this[_0x2bd1d6(0xfe)]();break;case _0x2c21b0['Error']:this[_0x2bd1d6(0xfe)](),this[_0x2bd1d6(0x135)][_0x2bd1d6(0x142)]({'content':this[_0x2bd1d6(0x16f)]['t'](_0x2bd1d6(0x134)),'type':_0x36a429[_0x2bd1d6(0x190)],'duration':0xbb8});break;}})),this[_0x179ce5(0xfd)][_0x179ce5(0x128)](_0x169c42[_0x179ce5(0x10a)][_0x179ce5(0x1a3)](async _0x5cfefd=>{const _0x4b850c=_0x179ce5;_0x5cfefd&&this[_0x4b850c(0x157)][_0x4b850c(0x148)](_0x14b36a['id'],{'unitId':_0x24b1d8,'revision':_0x5cfefd});}));}[_0x4fea06(0x15b)](_0x282610){const _0x3c1268=_0x4fea06,_0x442ec9=this[_0x3c1268(0x100)]['getUnit'](_0x282610)[_0x3c1268(0x171)]()[_0x3c1268(0x130)](_0x301d3e=>_0x301d3e[_0x3c1268(0x179)]()),_0xf8dde2=new _0x24c456(_0x282610)['id'],_0x526537=_0x442ec9['map'](_0x41ec82=>new _0x4558fa(_0x282610,_0x41ec82)['id']),_0x3b577e=_0x442ec9['map'](_0x5700b4=>this[_0x3c1268(0x144)][_0x3c1268(0x15c)](_0x282610,_0x5700b4)[_0x3c1268(0x130)](_0x4cd7de=>new _0x5b8332(_0x282610,_0x5700b4,_0x4cd7de[_0x3c1268(0x105)])['id']))[_0x3c1268(0x17b)](),_0x101ff2=new _0x5a4a46(_0x282610)['id'];return this['_permissionService'][_0x3c1268(0x19a)]([_0xf8dde2,..._0x526537,..._0x3b577e,_0x101ff2])['every'](_0x36a572=>!!_0x36a572[_0x3c1268(0x18c)]);}};f=mi([l(0x0,_0x154f1c(_0x11817a)),l(0x1,_0x3885a7),l(0x2,_0x2aecfa),l(0x3,_0x55c1fa),l(0x4,_0x3f6a09),l(0x5,_0x3d155c),l(0x6,_0x154f1c(_0x77cdf8)),l(0x7,_0x154f1c(_0x5e1189)),l(0x8,_0x154f1c(_0x2a441f)),l(0x9,_0x154f1c(_0x2655be))],f);const b={'id':_0x4fea06(0x17c),'type':_0x37d2e4[_0x4fea06(0x109)],'handler':_0x201322=>{const _0x4d8e8d=_0x4fea06,_0x313c99=_0x201322[_0x4d8e8d(0x116)](f),_0x533e95=_0x201322[_0x4d8e8d(0x116)](_0x3885a7),{unitId:_0x24d6e2}=_0x208830(_0x533e95)||{};return _0x24d6e2?(_0x313c99[_0x4d8e8d(0x194)](_0x24d6e2),!0x0):!0x1;}},W={'id':_0x4fea06(0x185),'type':_0x37d2e4[_0x4fea06(0x109)],'handler':()=>!0x0};function di(_0xfa5144){const _0x137be0=_0x4fea06;return{'id':b['id'],'type':_0x52ee52[_0x137be0(0x184)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x48dd2a(_0xfa5144,_0x2b47f9[_0x137be0(0x150)]),'disabled$':_0x54ee29(_0xfa5144,{'workbookTypes':[_0x24c456,_0xf13583],'worksheetTypes':[],'rangeTypes':[]})};}function _0x9a8a(_0x314505,_0x5dae04){_0x314505=_0x314505-0xf6;const _0x28caaf=_0x28ca();let _0x9a8a6d=_0x28caaf[_0x314505];return _0x9a8a6d;}const fi={[_0x111ba1[_0x4fea06(0x125)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x4c1b9c,_0x5cdc6e,_0x4f054f,_0x606068)=>{const _0xc72f48=_0x4fea06;for(var _0x4397a1=_0x606068>0x1?void 0x0:_0x606068?_i(_0x5cdc6e,_0x4f054f):_0x5cdc6e,_0x44c9b1=_0x4c1b9c[_0xc72f48(0x10d)]-0x1,_0xc1fadc;_0x44c9b1>=0x0;_0x44c9b1--)(_0xc1fadc=_0x4c1b9c[_0x44c9b1])&&(_0x4397a1=_0xc1fadc(_0x4397a1)||_0x4397a1);return _0x4397a1;},m=(_0xbf104,_0x4c3ee1)=>(_0x2c6208,_0xd5724)=>_0x4c3ee1(_0x2c6208,_0xd5724,_0xbf104);let p=class extends _0xf142cb{constructor(_0x1db3cf,_0xebf8b3,_0x36bdb3,_0xb05d0a,_0x4ca6cf,_0x4aad23,_0x4f7464,_0x1576dc){const _0x24889a=_0x4fea06;super(),g(this,_0x24889a(0x177),null),(this['_commandService']=_0x1db3cf,this[_0x24889a(0x12b)]=_0xebf8b3,this[_0x24889a(0x149)]=_0x36bdb3,this[_0x24889a(0x1a5)]=_0xb05d0a,this[_0x24889a(0x16f)]=_0x4ca6cf,this['_messageService']=_0x4aad23,this[_0x24889a(0x1a2)]=_0x4f7464,this[_0x24889a(0x10f)]=_0x1576dc,this[_0x24889a(0x101)]());}[_0x4fea06(0x101)](){const _0x33d0eb=_0x4fea06;[b,W][_0x33d0eb(0xfb)](_0x3427da=>this['disposeWithMe'](_0x98fbf5(this[_0x33d0eb(0x157)][_0x33d0eb(0x146)](_0x3427da)))),this['disposeWithMe'](this[_0x33d0eb(0x149)][_0x33d0eb(0x1a0)]('HistoryIcon',V)),this[_0x33d0eb(0x12b)][_0x33d0eb(0x110)](fi),this[_0x33d0eb(0x13f)](this[_0x33d0eb(0x157)][_0x33d0eb(0x143)](_0x4e62dd=>{const _0x4e55ec=_0x33d0eb;if(_0x4e62dd['id']===_0x14b36a['id']){this['_messageService'][_0x4e55ec(0x142)]({'content':this[_0x4e55ec(0x16f)]['t']('editHistory.panel.reverting'),'type':_0x36a429[_0x4e55ec(0x169)],'duration':0x1388});const {unitId:_0x4c3b33}=_0x4e62dd[_0x4e55ec(0x10c)],_0x5e69b6=this[_0x4e55ec(0x1a2)][_0x4e55ec(0x14b)](_0x4c3b33),_0x584274=_0x3921a5([_0x5e69b6[_0x4e55ec(0x14f)]['event$'],_0x5e69b6[_0x4e55ec(0x132)]])['subscribe'](async([_0x113de5,_0x2dedc3])=>{const _0x1d3e65=_0x4e55ec;var _0x1798ca;_0x113de5['eventID']===_0x53178f['CHANGESET_ACK']&&(_0x2dedc3==null?void 0x0:_0x2dedc3[_0x1d3e65(0x136)])===_0x46131d[_0x1d3e65(0x16b)]&&_0x113de5[_0x1d3e65(0x10b)][_0x1d3e65(0x178)][_0x1d3e65(0x104)](_0x1dd633=>_0x1dd633['id']===_0x14b36a['id'])&&(this['_historyManagerService'][_0x1d3e65(0xfe)](),_0x584274[_0x1d3e65(0x191)](),this[_0x1d3e65(0x177)]&&clearTimeout(this['_revertErrorTimer']),await((_0x1798ca=this['_localCacheService'])==null?void 0x0:_0x1798ca[_0x1d3e65(0x13a)]()),setTimeout(()=>window[_0x1d3e65(0x124)][_0x1d3e65(0x111)]()));});this[_0x4e55ec(0x177)]=setTimeout(()=>{const _0x1bb3d4=_0x4e55ec;_0x584274[_0x1bb3d4(0x191)](),this[_0x1bb3d4(0x135)][_0x1bb3d4(0x142)]({'content':this[_0x1bb3d4(0x16f)]['t'](_0x1bb3d4(0x18a)),'type':_0x36a429[_0x1bb3d4(0x190)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x55c1fa),m(0x1,_0x31a40d),m(0x2,_0x154f1c(_0x4d7433)),m(0x3,_0x154f1c(f)),m(0x4,_0x154f1c(_0x11817a)),m(0x5,_0x3f6a09),m(0x6,_0x154f1c(_0x349ed6)),m(0x7,_0x5cfc1b)],p);var Si=Object[_0x4fea06(0x106)],Ci=(_0x3b7aa1,_0xaea9b5,_0x1369dd,_0x172c48)=>{const _0x27a6e3=_0x4fea06;for(var _0x40b2e7=_0x172c48>0x1?void 0x0:_0x172c48?Si(_0xaea9b5,_0x1369dd):_0xaea9b5,_0x4dd824=_0x3b7aa1[_0x27a6e3(0x10d)]-0x1,_0x687e9d;_0x4dd824>=0x0;_0x4dd824--)(_0x687e9d=_0x3b7aa1[_0x4dd824])&&(_0x40b2e7=_0x687e9d(_0x40b2e7)||_0x40b2e7);return _0x40b2e7;},R=(_0x52e3b5,_0x3bf245)=>(_0x13dafd,_0x151311)=>_0x3bf245(_0x13dafd,_0x151311,_0x52e3b5);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x5e4324{constructor(_0x238c7e=N,_0x3a6d6d,_0x27db4e){const _0x4ee3d7=_0x4fea06;super(),this['_config']=_0x238c7e,this[_0x4ee3d7(0x13d)]=_0x3a6d6d,this['_configService']=_0x27db4e;const {menu:_0x467693,..._0x3c2cae}=_0x5abee6({},N,this['_config']);_0x467693&&this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)]('menu',_0x467693,{'merge':!0x0}),this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)](U,_0x3c2cae),this['_config'][_0x4ee3d7(0x17e)]&&this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)](G,this[_0x4ee3d7(0x137)][_0x4ee3d7(0x17e)]);}['onStarting'](){const _0x269436=_0x4fea06;[[f],[p]][_0x269436(0xfb)](_0x444500=>this['_injector'][_0x269436(0x128)](_0x444500));}['onSteady'](){const _0x5c17ce=_0x4fea06;this['_injector'][_0x5c17ce(0x116)](p);}},g(_,'type',_0x2b47f9[_0x4fea06(0x19d)]),g(_,_0x4fea06(0x154),yi),_);H=Ci([R(0x1,_0x154f1c(_0x1c94a9)),R(0x2,_0x2aecfa)],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 _0x367929=_0x3bd2;(function(_0x5f39e0,_0x59904e){const _0x39bcd8=_0x3bd2,_0x31b892=_0x5f39e0();while(!![]){try{const _0x810d5f=-parseInt(_0x39bcd8(0xba))/0x1*(parseInt(_0x39bcd8(0xcd))/0x2)+parseInt(_0x39bcd8(0xe2))/0x3*(parseInt(_0x39bcd8(0x10a))/0x4)+-parseInt(_0x39bcd8(0xbd))/0x5*(parseInt(_0x39bcd8(0xda))/0x6)+parseInt(_0x39bcd8(0x9e))/0x7+parseInt(_0x39bcd8(0xdb))/0x8+-parseInt(_0x39bcd8(0x12a))/0x9+-parseInt(_0x39bcd8(0xb3))/0xa;if(_0x810d5f===_0x59904e)break;else _0x31b892['push'](_0x31b892['shift']());}catch(_0x203055){_0x31b892['push'](_0x31b892['shift']());}}}(_0x37a9,0x522a7));function _0x37a9(){const _0x913b6f=['\x20has\x20been\x20registered.','_injector','_menuManagerService','reload','getAllPlugins','_localCacheService','height','use','OTHERS','next','./worker.js','setDarkMode','Entered','composePermission','subscribe','getSubunitRuleList','svg','string','length','history-icon','zIndex','appendChild','_univerInstanceService','univer.operation.toggle-edit-history','tag','revertRevision$','clear','triggerLoadVersions','_sidebarService','status$','155529gCqbti','getSheets','dataset','random','univerjs-icon\x20univerjs-icon-','style','getConfig','_configService','SYNCED','block','UNIVER_UNKNOWN','xlink:href','trim','value','OPERATION','historyUniver','_componentManager','getCollabEntity','editHistory.panel.reverting','path','entries','_historyManagerService','history-icon_clip0_907_281','defIds','historyPanelComponentKey','asObservable','_pluginMap','setConfig','createElement','mergeMenu','3280067qHaOSC','map','1em','M0\x200H16V16H0z','location','absolute','defineProperty','registerCommand','mask','pluginName','dispose','Error','editHistory.panel.listFetchError','100%','editHistory.panel.revertFailed','getUnit','_dialogService','toString','BUTTON','__getInjector','defs','3376700tXMCOB','current','setTheme','_historyUniver$','history-container','_collaborationController','onSteady','1osyBFj','_commandService','univer-history-container','69545RmzFMZ','disposeWithMe','display','every','data','_themeService','_revertErrorTimer','_initPlugins','univerContainerId','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','UniverIcon','width','_config','closeAll','[HistoryLoaderService]:\x20Plugin\x20','unsubscribe','1179458Cyriax','_checkCanRevert','getElementById','historyUniver$','_selectionProtectionRuleModel','register','session','eventID','add','mountHistoryContent','editHistory.panel.title','onStarting','div','12MzvygZ','4074528KXoWyQ','historyListServerUrl','1000','attrs','getCurrentLocale','colorChannel1','children','3YCgxCA','params','getSheetId','state$','executeCommand','invoke','substring','exhaustSavingTask','_disposableCollection','univer-container','Loading','_messageService','get','_initUniver','event$','UNIVER_CONTAINER_ID','_init','fill','idSuffix','url(#$1','none','replace','setLocale','assign','unMountHistoryContent','values','close','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','flat','set','position','registerPlugin','HistoryIcon','symbol','show','getOwnPropertyDescriptor','mutations','forEach','_localeService','url(#history-icon_clip0_907_281)','1324608BTALOu','_permissionService'];_0x37a9=function(){return _0x913b6f;};return _0x37a9();}var Y=Object[_0x367929(0xa4)],B=(_0x36781d,_0x314015,_0x384de5)=>_0x314015 in _0x36781d?Y(_0x36781d,_0x314015,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384de5}):_0x36781d[_0x314015]=_0x384de5,g=(_0x3808af,_0x38db27,_0x3c62b3)=>B(_0x3808af,typeof _0x38db27!=_0x367929(0x103)?_0x38db27+'':_0x38db27,_0x3c62b3);import{Inject as _0x3a681a,LocaleService as _0x3f4791,IUniverInstanceService as _0x3e110e,IConfigService as _0x1d2255,ICommandService as _0x591114,IPermissionService as _0x3c490f,ThemeService as _0x1a393d,Disposable as _0x124845,DisposableCollection as _0x28ede2,Univer as _0x43c4fb,IAuthzIoService as _0xe15076,CommandType as _0x5e2d84,UniverInstanceType as _0x1969ac,RxDisposable as _0x3618fa,toDisposable as _0x299325,Plugin as _0x5b8387,merge as _0x57defd,Injector as _0x5b5fc7}from'@univerjs/core';import{UniverCollaborationPlugin as _0x269ec1,RevertRevisionMutation as _0x38a934,CollaborationEvent as _0x31350f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x440cb6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x511c7a,CollaborationController as _0x4760cc,ILocalCacheService as _0x1e5fff,CollaborationStatus as _0x30d8d3}from'@univerjs-pro/collaboration-client';import{MessageType as _0x1d2dba}from'@univerjs/design';import{useRef as _0x2f7533,createElement as _0x2c016b,forwardRef as _0x1c7c3c}from'react';import{IMessageService as _0x108a0f,IDialogService as _0xead82a,ISidebarService as _0x3bfd0f,UniverUIPlugin as _0x5d1301,getMenuHiddenObservable as _0x216ba1,MenuItemType as _0x5628d5,RibbonStartGroup as _0x60a397,IMenuManagerService as _0x1d907c,ComponentManager as _0x521098}from'@univerjs/ui';import{BehaviorSubject as _0x43bdb2,combineLatest as _0x376ec6}from'rxjs';import{RangeProtectionRuleModel as _0x450f85,UniverSheetsPlugin as _0x27acd5,WorkbookEditablePermission as _0x2545f3,WorksheetEditPermission as _0x367e9d,RangeProtectionPermissionEditPoint as _0x2d83a2,WorkbookRecoverHistoryPermission as _0x5b2c68,getSheetCommandTarget as _0x2149a1,WorkbookViewHistoryPermission as _0x355bc4}from'@univerjs/sheets';function _0x3bd2(_0x4078d0,_0x386191){_0x4078d0=_0x4078d0-0x94;const _0x37a955=_0x37a9();let _0x3bd237=_0x37a955[_0x4078d0];return _0x3bd237;}import{UniverEditHistoryViewerPlugin as _0x5f557a,HistoryManagerService as _0x437ca5,HistoryModeStatus as _0x13817f}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x2d2c6c,UniverLicensePlugin as _0x3de666}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x344e2a}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0x19e3c8}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x24fd48}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x261172}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x8c7485}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x134b19}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x5e3711}from'@univerjs/docs';import{UniverDocsUIPlugin as _0x1639cb}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x5c4301,IImageIoService as _0x24131d}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x241ed5}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x5b2757}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x5155d2}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x2e2639}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0x1d3471,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x2097b7}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x4cf6e2}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x221c2b}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x2b9816}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x30a166}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x5cfd36}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x55bf51}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x1e106c}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x552a89}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0xd0a808}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x7e68f2}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x4d2f9f}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x566754}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0xe59536}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x49c66b,getCurrentRangeDisable$ as _0x5bc44b}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x32d1a1,..._0x1a83ff}){const _0x5e77de=_0x367929,{icon:_0x5b603a,id:_0x21a2ef,className:_0x2b971c,extend:_0x18c96e,..._0x7869f1}=_0x1a83ff,_0x22cc47=(_0x5e77de(0x12e)+_0x21a2ef+'\x20'+(_0x2b971c||''))[_0x5e77de(0x136)](),_0x15904b=_0x2f7533('_'+hi());return j(_0x5b603a,''+_0x21a2ef,{'defIds':_0x5b603a[_0x5e77de(0x97)],'idSuffix':_0x15904b[_0x5e77de(0xb4)]},{'ref':_0x32d1a1,'className':_0x22cc47,..._0x7869f1},_0x18c96e);}function j(_0x14e8f4,_0x50b137,_0x65cc26,_0xa43e2,_0x32414a){const _0x3fe971=_0x367929;return _0x2c016b(_0x14e8f4['tag'],{'key':_0x50b137,...ci(_0x14e8f4,_0x65cc26,_0x32414a),..._0xa43e2},(li(_0x14e8f4,_0x65cc26)[_0x3fe971(0xe1)]||[])[_0x3fe971(0x9f)]((_0xd3093e,_0x58e418)=>j(_0xd3093e,_0x50b137+'-'+_0x14e8f4['tag']+'-'+_0x58e418,_0x65cc26,void 0x0,_0x32414a)));}function ci(_0x30aba3,_0x5b3b63,_0x416698){const _0x371efc=_0x367929,_0x440aa7={..._0x30aba3[_0x371efc(0xde)]};_0x416698!=null&&_0x416698[_0x371efc(0xe0)]&&_0x440aa7[_0x371efc(0xf3)]===_0x371efc(0xe0)&&(_0x440aa7[_0x371efc(0xf3)]=_0x416698[_0x371efc(0xe0)]),_0x30aba3[_0x371efc(0x124)]===_0x371efc(0xa6)&&_0x440aa7['id']&&(_0x440aa7['id']=_0x440aa7['id']+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x2a13e8,_0x257287])=>{const _0x1a9df2=_0x371efc;_0x2a13e8===_0x1a9df2(0xa6)&&typeof _0x257287==_0x1a9df2(0x11d)&&(_0x440aa7[_0x2a13e8]=_0x257287['replace'](/url\(#(.*)\)/,_0x1a9df2(0xf5)+_0x5b3b63[_0x1a9df2(0xf4)]+')'));});const {defIds:_0x5e7ba1}=_0x5b3b63;return!_0x5e7ba1||_0x5e7ba1['length']===0x0||(_0x30aba3[_0x371efc(0x124)]===_0x371efc(0x113)&&_0x440aa7[_0x371efc(0x135)]&&(_0x440aa7['xlink:href']=_0x440aa7[_0x371efc(0x135)]+_0x5b3b63[_0x371efc(0xf4)]),Object[_0x371efc(0x94)](_0x440aa7)[_0x371efc(0x107)](([_0x56656f,_0x307641])=>{const _0x16bcec=_0x371efc;typeof _0x307641=='string'&&(_0x440aa7[_0x56656f]=_0x307641[_0x16bcec(0xf7)](/url\(#(.*)\)/,_0x16bcec(0xf5)+_0x5b3b63[_0x16bcec(0xf4)]+')'));})),_0x440aa7;}function li(_0x344ae0,_0x507ad7){const _0x21556f=_0x367929;var _0x3b3e06;const {defIds:_0x5385a3}=_0x507ad7;return!_0x5385a3||_0x5385a3[_0x21556f(0x11e)]===0x0?_0x344ae0:_0x344ae0[_0x21556f(0x124)]===_0x21556f(0xb2)&&((_0x3b3e06=_0x344ae0[_0x21556f(0xe1)])!=null&&_0x3b3e06[_0x21556f(0x11e)])?{..._0x344ae0,'children':_0x344ae0['children']['map'](_0x4e22a3=>typeof _0x4e22a3['attrs']['id']=='string'&&_0x5385a3&&_0x5385a3['includes'](_0x4e22a3[_0x21556f(0xde)]['id'])?{..._0x4e22a3,'attrs':{..._0x4e22a3[_0x21556f(0xde)],'id':_0x4e22a3[_0x21556f(0xde)]['id']+_0x507ad7[_0x21556f(0xf4)]}}:_0x4e22a3)}:_0x344ae0;}function hi(){const _0x2462f0=_0x367929;return Math[_0x2462f0(0x12d)]()[_0x2462f0(0xaf)](0x24)[_0x2462f0(0xe8)](0x2,0x8);}F['displayName']=_0x367929(0xc7);const ui={'tag':_0x367929(0x11c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x367929(0xf6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x367929(0xa0)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x367929(0x109)},'children':[{'tag':_0x367929(0x13d),'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':_0x367929(0x13d),'attrs':{'d':_0x367929(0xc6)}}]},{'tag':_0x367929(0xb2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x367929(0x96)},'children':[{'tag':_0x367929(0x13d),'attrs':{'fill':'white','d':_0x367929(0xa1)}}]}]}],'defIds':['history-icon_clip0_907_281']},V=_0x1c7c3c(function(_0x43575a,_0x5d65ef){const _0x41c434=_0x367929;return _0x2c016b(F,Object[_0x41c434(0xf9)]({},_0x43575a,{'id':_0x41c434(0x11f),'ref':_0x5d65ef,'icon':ui}));});V['displayName']=_0x367929(0x102);var gi=Object[_0x367929(0x105)],mi=(_0x36b06d,_0x3e250f,_0x53516d,_0x1389cc)=>{const _0x3772ac=_0x367929;for(var _0x40cfa5=_0x1389cc>0x1?void 0x0:_0x1389cc?gi(_0x3e250f,_0x53516d):_0x3e250f,_0x57c406=_0x36b06d[_0x3772ac(0x11e)]-0x1,_0x3f25cd;_0x57c406>=0x0;_0x57c406--)(_0x3f25cd=_0x36b06d[_0x57c406])&&(_0x40cfa5=_0x3f25cd(_0x40cfa5)||_0x40cfa5);return _0x40cfa5;},l=(_0x2e75c1,_0x11bcc2)=>(_0x69e276,_0x3d1165)=>_0x11bcc2(_0x69e276,_0x3d1165,_0x2e75c1);const vi=_0x367929(0xeb),G=_0x367929(0xf1),d=_0x367929(0xbc);let f=class extends _0x124845{constructor(_0x5b7141,_0x4f046f,_0x2a8418,_0x17ac6a,_0x309ef1,_0x24c384,_0x1f85e7,_0x2b4be5,_0x192be8,_0x58a034){const _0x1c5bc7=_0x367929;super(),g(this,_0x1c5bc7(0xb6),new _0x43bdb2(null)),g(this,_0x1c5bc7(0xd0),this[_0x1c5bc7(0xb6)][_0x1c5bc7(0x99)]()),g(this,_0x1c5bc7(0xea),new _0x28ede2()),g(this,_0x1c5bc7(0x9a),new Map()),(this[_0x1c5bc7(0x108)]=_0x5b7141,this['_univerInstanceService']=_0x4f046f,this[_0x1c5bc7(0x131)]=_0x2a8418,this[_0x1c5bc7(0xbb)]=_0x17ac6a,this[_0x1c5bc7(0xed)]=_0x309ef1,this[_0x1c5bc7(0x10b)]=_0x24c384,this[_0x1c5bc7(0xd1)]=_0x1f85e7,this[_0x1c5bc7(0xae)]=_0x2b4be5,this[_0x1c5bc7(0x128)]=_0x192be8,this[_0x1c5bc7(0xc2)]=_0x58a034,this['_init']());}get[_0x367929(0x139)](){const _0x16b3dd=_0x367929;return this[_0x16b3dd(0xb6)][_0x16b3dd(0x137)];}[_0x367929(0xf2)](){const _0x3fd69f=_0x367929;this['_initContainer'](),this[_0x3fd69f(0xc4)]();}['_initContainer'](){const _0x19eef0=_0x367929;var _0x4be08f;const _0x31d71d=(_0x4be08f=this[_0x19eef0(0x131)]['getConfig'](G))!=null?_0x4be08f:vi,_0x3426c0=document[_0x19eef0(0xcf)](_0x31d71d);if(!_0x3426c0)return;const _0x338b82=document[_0x19eef0(0x9c)](_0x19eef0(0xd9));_0x338b82['id']=d,_0x338b82[_0x19eef0(0x12c)]['uComp']=_0x19eef0(0xb7),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x100)]=_0x19eef0(0xa3),_0x338b82['style']['top']='0',_0x338b82['style']['left']='0',_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xc8)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x112)]=_0x19eef0(0xab),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0x120)]=_0x19eef0(0xdd),_0x338b82[_0x19eef0(0x12f)][_0x19eef0(0xbf)]=_0x19eef0(0xf6),_0x3426c0[_0x19eef0(0x121)](_0x338b82);}[_0x367929(0xc4)](){const _0xd42645=_0x367929;var _0xc54cc,_0x2440fe,_0x37a552,_0xf5f60b;[[_0x5155d2],[_0x5d1301,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0xead82a,null]]}],[_0x2e2639],[_0x5c4301,{'override':[[_0x24131d,null]]}],[_0x5e3711,{'hasScroll':!0x1}],[_0x1639cb],[_0xe59536],[_0x27acd5,{'notExecuteFormula':!0x0}],[_0x49c66b],[_0xd0a808],[_0x7e68f2],[_0x269ec1],[_0x1e106c],[_0x552a89],[_0x4cf6e2],[_0x221c2b],[_0x4d2f9f],[_0x566754],[_0x134b19],[_0x2b9816],[_0x30a166],[_0x5b2757,{'notExecuteFormula':!0x0}],[_0x1d3471,{'workerURL':(_0x2440fe=(_0xc54cc=this[_0xd42645(0x131)][_0xd42645(0x130)](_0x2097b7))==null?void 0x0:_0xc54cc['workerURL'])!=null?_0x2440fe:_0xd42645(0x116)}],[_0x241ed5],[_0x5cfd36],[_0x55bf51],[_0x261172],[_0x8c7485],[_0x344e2a],[_0x19e3c8],[_0x24fd48,{'notExecuteFormula':!0x0}],[_0x5f557a,{'historyListServerUrl':(_0x37a552=this['_configService'][_0xd42645(0x130)](U))==null?void 0x0:_0x37a552[_0xd42645(0xdc)],'historyPanelComponentKey':(_0xf5f60b=this['_configService']['getConfig'](U))==null?void 0x0:_0xf5f60b[_0xd42645(0x98)]}]][_0xd42645(0x107)](([_0x2d82b4,_0xa8824e])=>this[_0xd42645(0x101)](_0x2d82b4,_0xa8824e));}[_0x367929(0xa8)](){const _0x5df634=_0x367929;super[_0x5df634(0xa8)](),this[_0x5df634(0xfa)](),this[_0x5df634(0x9a)][_0x5df634(0x126)]();}['registerPlugin'](_0x4713c7,_0x4eee48,_0x4da162){const _0xbd6fef=_0x367929;if(this[_0xbd6fef(0x9a)]['has'](_0x4713c7[_0xbd6fef(0xa7)])&&!_0x4da162)throw new Error(_0xbd6fef(0xcb)+_0x4713c7['pluginName']+_0xbd6fef(0x10c));this['_pluginMap'][_0xbd6fef(0xff)](_0x4713c7[_0xbd6fef(0xa7)],[_0x4713c7,_0x4eee48]);}[_0x367929(0x110)](){const _0x521616=_0x367929;return Array['from'](this['_pluginMap'][_0x521616(0xfb)]());}[_0x367929(0xd6)](_0x9f17f){const _0x5ea3ab=_0x367929,_0x29de85=document[_0x5ea3ab(0xcf)](d);_0x29de85&&(_0x29de85[_0x5ea3ab(0x12f)]['display']=_0x5ea3ab(0x133),this[_0x5ea3ab(0xef)](_0x9f17f,d));}[_0x367929(0xfa)](){const _0x2aeccb=_0x367929;var _0x1f67e7;this['_disposableCollection'][_0x2aeccb(0xa8)](),(_0x1f67e7=this['historyUniver'])==null||_0x1f67e7[_0x2aeccb(0xa8)](),this[_0x2aeccb(0xb6)][_0x2aeccb(0x115)](null);const _0xaf6ba8=document[_0x2aeccb(0xcf)](d);_0xaf6ba8&&(_0xaf6ba8[_0x2aeccb(0x12f)][_0x2aeccb(0xbf)]=_0x2aeccb(0xf6));}[_0x367929(0xef)](_0x789a96,_0x6b5be){const _0x5899e8=_0x367929;if(this[_0x5899e8(0x139)])return;const _0x17451c=new _0x43c4fb({'locales':{[this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()]:this[_0x5899e8(0x108)]['getLocales']()},'override':[[_0xe15076,{'useClass':_0x440cb6}]]}),_0x55f475=_0x17451c[_0x5899e8(0xb1)]();this[_0x5899e8(0xbe)](this['_themeService']['darkMode$'][_0x5899e8(0x11a)](_0x522f1d=>{const _0x26eeb6=_0x5899e8;_0x55f475[_0x26eeb6(0xee)](_0x1a393d)[_0x26eeb6(0x117)](_0x522f1d);})),this[_0x5899e8(0xbe)](this[_0x5899e8(0xc2)]['currentTheme$']['subscribe'](_0x4261fc=>{const _0x5af134=_0x5899e8;_0x55f475[_0x5af134(0xee)](_0x1a393d)[_0x5af134(0xb5)](_0x4261fc);})),_0x55f475[_0x5899e8(0xee)](_0x3f4791)[_0x5899e8(0xf8)](this[_0x5899e8(0x108)][_0x5899e8(0xdf)]()),_0x55f475[_0x5899e8(0xee)](_0x1d2255)[_0x5899e8(0x9b)](_0x511c7a,this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x511c7a));const _0x5a9e90=this[_0x5899e8(0x131)][_0x5899e8(0x130)](_0x2d2c6c);_0x5a9e90&&_0x17451c[_0x5899e8(0x101)](_0x3de666,{'license':_0x5a9e90['ls']}),this[_0x5899e8(0x9a)]['forEach'](([_0x179e0f,_0x138cb2])=>{_0x17451c['registerPlugin'](_0x179e0f,_0x138cb2);}),_0x55f475[_0x5899e8(0xe7)](_0x3dcca2=>{this['_initListener'](_0x3dcca2,_0x789a96);}),this[_0x5899e8(0xb6)][_0x5899e8(0x115)](_0x17451c);const _0x47cc9e=_0x55f475[_0x5899e8(0xee)](_0x437ca5),_0x5542e0=this[_0x5899e8(0xce)](_0x789a96);_0x47cc9e[_0x5899e8(0x127)](_0x789a96,_0x6b5be,_0x5542e0);}['_initListener'](_0x13b56e,_0x376526){const _0xcd2eaa=_0x367929,_0x2fb77b=_0x13b56e[_0xcd2eaa(0xee)](_0x437ca5);this['_disposableCollection']['add'](_0x2fb77b[_0xcd2eaa(0x129)][_0xcd2eaa(0x11a)](_0x1e48ef=>{const _0x3dedea=_0xcd2eaa;switch(_0x1e48ef){case _0x13817f[_0x3dedea(0x118)]:this[_0x3dedea(0xae)][_0x3dedea(0xca)](),this[_0x3dedea(0x128)][_0x3dedea(0xfc)]();break;case _0x13817f['Exited']:this[_0x3dedea(0xbb)][_0x3dedea(0xe6)](W['id']),this[_0x3dedea(0xfa)]();break;case _0x13817f['Error']:this[_0x3dedea(0xfa)](),this[_0x3dedea(0xed)][_0x3dedea(0x104)]({'content':this['_localeService']['t'](_0x3dedea(0xaa)),'type':_0x1d2dba[_0x3dedea(0xa9)],'duration':0xbb8});break;}})),this[_0xcd2eaa(0xea)]['add'](_0x2fb77b[_0xcd2eaa(0x125)][_0xcd2eaa(0x11a)](async _0x58a3b=>{const _0x13ac12=_0xcd2eaa;_0x58a3b&&this[_0x13ac12(0xbb)][_0x13ac12(0xe6)](_0x38a934['id'],{'unitId':_0x376526,'revision':_0x58a3b});}));}[_0x367929(0xce)](_0x45d93b){const _0x337ad2=_0x367929,_0x1896f7=this[_0x337ad2(0x122)][_0x337ad2(0xad)](_0x45d93b)[_0x337ad2(0x12b)]()[_0x337ad2(0x9f)](_0x5a9231=>_0x5a9231[_0x337ad2(0xe4)]()),_0x412fbc=new _0x2545f3(_0x45d93b)['id'],_0x687485=_0x1896f7[_0x337ad2(0x9f)](_0x5da1ac=>new _0x367e9d(_0x45d93b,_0x5da1ac)['id']),_0x4fccf5=_0x1896f7[_0x337ad2(0x9f)](_0x27344d=>this[_0x337ad2(0xd1)][_0x337ad2(0x11b)](_0x45d93b,_0x27344d)['map'](_0x6a2997=>new _0x2d83a2(_0x45d93b,_0x27344d,_0x6a2997['permissionId'])['id']))[_0x337ad2(0xfe)](),_0x3eb7dc=new _0x5b2c68(_0x45d93b)['id'];return this['_permissionService'][_0x337ad2(0x119)]([_0x412fbc,..._0x687485,..._0x4fccf5,_0x3eb7dc])[_0x337ad2(0xc0)](_0x51f26b=>!!_0x51f26b[_0x337ad2(0x137)]);}};f=mi([l(0x0,_0x3a681a(_0x3f4791)),l(0x1,_0x3e110e),l(0x2,_0x1d2255),l(0x3,_0x591114),l(0x4,_0x108a0f),l(0x5,_0x3c490f),l(0x6,_0x3a681a(_0x450f85)),l(0x7,_0x3a681a(_0xead82a)),l(0x8,_0x3a681a(_0x3bfd0f)),l(0x9,_0x3a681a(_0x1a393d))],f);const b={'id':_0x367929(0x123),'type':_0x5e2d84[_0x367929(0x138)],'handler':_0x2bcd92=>{const _0x2a2e45=_0x367929,_0x1252ae=_0x2bcd92[_0x2a2e45(0xee)](f),_0x1a6b11=_0x2bcd92[_0x2a2e45(0xee)](_0x3e110e),{unitId:_0x223bb1}=_0x2149a1(_0x1a6b11)||{};return _0x223bb1?(_0x1252ae[_0x2a2e45(0xd6)](_0x223bb1),!0x0):!0x1;}},W={'id':'univer.operation.exit-edit-history','type':_0x5e2d84[_0x367929(0x138)],'handler':()=>!0x0};function di(_0x37b837){const _0x56f0e8=_0x367929;return{'id':b['id'],'type':_0x5628d5[_0x56f0e8(0xb0)],'icon':_0x56f0e8(0x102),'tooltip':_0x56f0e8(0xd7),'hidden$':_0x216ba1(_0x37b837,_0x1969ac['UNIVER_SHEET']),'disabled$':_0x5bc44b(_0x37b837,{'workbookTypes':[_0x2545f3,_0x355bc4],'worksheetTypes':[],'rangeTypes':[]})};}const fi={[_0x60a397[_0x367929(0x114)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x358bdc,_0x4c42f4,_0x14bf0e,_0x74d913)=>{for(var _0x4cf5d4=_0x74d913>0x1?void 0x0:_0x74d913?_i(_0x4c42f4,_0x14bf0e):_0x4c42f4,_0x356df2=_0x358bdc['length']-0x1,_0x420605;_0x356df2>=0x0;_0x356df2--)(_0x420605=_0x358bdc[_0x356df2])&&(_0x4cf5d4=_0x420605(_0x4cf5d4)||_0x4cf5d4);return _0x4cf5d4;},m=(_0x521898,_0x25fbc6)=>(_0x57a6b4,_0x2e3022)=>_0x25fbc6(_0x57a6b4,_0x2e3022,_0x521898);let p=class extends _0x3618fa{constructor(_0x51ae10,_0x26503a,_0x44748a,_0x37b2f9,_0x2bcb41,_0xebf58e,_0x21d936,_0x24a610){const _0x31fcf3=_0x367929;super(),g(this,_0x31fcf3(0xc3),null),(this[_0x31fcf3(0xbb)]=_0x51ae10,this[_0x31fcf3(0x10e)]=_0x26503a,this['_componentManager']=_0x44748a,this[_0x31fcf3(0x95)]=_0x37b2f9,this[_0x31fcf3(0x108)]=_0x2bcb41,this[_0x31fcf3(0xed)]=_0xebf58e,this[_0x31fcf3(0xb8)]=_0x21d936,this['_localCacheService']=_0x24a610,this[_0x31fcf3(0xf2)]());}[_0x367929(0xf2)](){const _0x1c9cff=_0x367929;[b,W][_0x1c9cff(0x107)](_0x32cabc=>this[_0x1c9cff(0xbe)](_0x299325(this[_0x1c9cff(0xbb)][_0x1c9cff(0xa5)](_0x32cabc)))),this['disposeWithMe'](this[_0x1c9cff(0x13a)][_0x1c9cff(0xd2)](_0x1c9cff(0x102),V)),this[_0x1c9cff(0x10e)][_0x1c9cff(0x9d)](fi),this[_0x1c9cff(0xbe)](this[_0x1c9cff(0xbb)]['onCommandExecuted'](_0x1af5ac=>{const _0x5efe0f=_0x1c9cff;if(_0x1af5ac['id']===_0x38a934['id']){this[_0x5efe0f(0xed)]['show']({'content':this[_0x5efe0f(0x108)]['t'](_0x5efe0f(0x13c)),'type':_0x1d2dba[_0x5efe0f(0xec)],'duration':0x1388});const {unitId:_0x570eab}=_0x1af5ac[_0x5efe0f(0xe3)],_0x507ebe=this[_0x5efe0f(0xb8)][_0x5efe0f(0x13b)](_0x570eab),_0x17ccfc=_0x376ec6([_0x507ebe[_0x5efe0f(0xd3)][_0x5efe0f(0xf0)],_0x507ebe[_0x5efe0f(0xe5)]])[_0x5efe0f(0x11a)](async([_0x3f0ab3,_0x3cb315])=>{const _0x4ac0f4=_0x5efe0f;var _0x32f34d;_0x3f0ab3[_0x4ac0f4(0xd4)]===_0x31350f['CHANGESET_ACK']&&(_0x3cb315==null?void 0x0:_0x3cb315['status'])===_0x30d8d3[_0x4ac0f4(0x132)]&&_0x3f0ab3[_0x4ac0f4(0xc1)][_0x4ac0f4(0x106)]['some'](_0x2f4f53=>_0x2f4f53['id']===_0x38a934['id'])&&(this[_0x4ac0f4(0x95)][_0x4ac0f4(0xfa)](),_0x17ccfc['unsubscribe'](),this[_0x4ac0f4(0xc3)]&&clearTimeout(this[_0x4ac0f4(0xc3)]),await((_0x32f34d=this[_0x4ac0f4(0x111)])==null?void 0x0:_0x32f34d[_0x4ac0f4(0xe9)]()),setTimeout(()=>window[_0x4ac0f4(0xa2)][_0x4ac0f4(0x10f)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x5a14e7=_0x5efe0f;_0x17ccfc[_0x5a14e7(0xcc)](),this['_messageService']['show']({'content':this[_0x5a14e7(0x108)]['t'](_0x5a14e7(0xac)),'type':_0x1d2dba[_0x5a14e7(0xa9)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x591114),m(0x1,_0x1d907c),m(0x2,_0x3a681a(_0x521098)),m(0x3,_0x3a681a(f)),m(0x4,_0x3a681a(_0x3f4791)),m(0x5,_0x108a0f),m(0x6,_0x3a681a(_0x4760cc)),m(0x7,_0x1e5fff)],p);var Si=Object['getOwnPropertyDescriptor'],Ci=(_0x358b29,_0x53109b,_0x541c81,_0xee719c)=>{const _0x3dfdc7=_0x367929;for(var _0x47de7a=_0xee719c>0x1?void 0x0:_0xee719c?Si(_0x53109b,_0x541c81):_0x53109b,_0x33f36d=_0x358b29[_0x3dfdc7(0x11e)]-0x1,_0x4f968f;_0x33f36d>=0x0;_0x33f36d--)(_0x4f968f=_0x358b29[_0x33f36d])&&(_0x47de7a=_0x4f968f(_0x47de7a)||_0x47de7a);return _0x47de7a;},R=(_0x4ad689,_0x678526)=>(_0x47824d,_0x267d5d)=>_0x678526(_0x47824d,_0x267d5d,_0x4ad689);const yi=_0x367929(0xfd);var _;let H=(_=class extends _0x5b8387{constructor(_0x5fbfd3=N,_0x53032c,_0x2d3476){const _0x52f0cb=_0x367929;super(),this[_0x52f0cb(0xc9)]=_0x5fbfd3,this[_0x52f0cb(0x10d)]=_0x53032c,this[_0x52f0cb(0x131)]=_0x2d3476;const {menu:_0x28b74a,..._0x4c2e1d}=_0x57defd({},N,this[_0x52f0cb(0xc9)]);_0x28b74a&&this[_0x52f0cb(0x131)][_0x52f0cb(0x9b)]('menu',_0x28b74a,{'merge':!0x0}),this[_0x52f0cb(0x131)]['setConfig'](U,_0x4c2e1d),this[_0x52f0cb(0xc9)]['univerContainerId']&&this[_0x52f0cb(0x131)]['setConfig'](G,this['_config'][_0x52f0cb(0xc5)]);}[_0x367929(0xd8)](){const _0x122234=_0x367929;[[f],[p]]['forEach'](_0x26c2a2=>this[_0x122234(0x10d)][_0x122234(0xd5)](_0x26c2a2));}[_0x367929(0xb9)](){const _0x501621=_0x367929;this[_0x501621(0x10d)][_0x501621(0xee)](p);}},g(_,'type',_0x1969ac[_0x367929(0x134)]),g(_,'pluginName',yi),_);H=Ci([R(0x1,_0x3a681a(_0x5b5fc7)),R(0x2,_0x1d2255)],H);export{f as HistoryLoaderService,G as UNIVER_CONTAINER_ID_KEY,d as UNIVER_HISTORY_CONTAINER_ID,H as UniverEditHistoryLoaderPlugin};
|
|
1
|
+
const _0x4fea06=_0x9a8a;(function(_0x547251,_0xe393c9){const _0x256a44=_0x9a8a,_0x46106c=_0x547251();while(!![]){try{const _0x978f5e=-parseInt(_0x256a44(0x156))/0x1+parseInt(_0x256a44(0x147))/0x2*(parseInt(_0x256a44(0x1a4))/0x3)+parseInt(_0x256a44(0x115))/0x4+-parseInt(_0x256a44(0x145))/0x5+parseInt(_0x256a44(0x167))/0x6*(-parseInt(_0x256a44(0x120))/0x7)+parseInt(_0x256a44(0x11d))/0x8*(-parseInt(_0x256a44(0x11f))/0x9)+parseInt(_0x256a44(0x176))/0xa;if(_0x978f5e===_0xe393c9)break;else _0x46106c['push'](_0x46106c['shift']());}catch(_0x3bceae){_0x46106c['push'](_0x46106c['shift']());}}}(_0x28ca,0xa2bec));var Y=Object[_0x4fea06(0x181)],B=(_0x2a900e,_0x103f31,_0x21381e)=>_0x103f31 in _0x2a900e?Y(_0x2a900e,_0x103f31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21381e}):_0x2a900e[_0x103f31]=_0x21381e,g=(_0x4c7e79,_0xa17047,_0x50d139)=>B(_0x4c7e79,typeof _0xa17047!=_0x4fea06(0x14c)?_0xa17047+'':_0xa17047,_0x50d139);import{Inject as _0x154f1c,LocaleService as _0x11817a,IUniverInstanceService as _0x3885a7,IConfigService as _0x2aecfa,ICommandService as _0x55c1fa,IPermissionService as _0x3d155c,ThemeService as _0x2655be,Disposable as _0x30627d,DisposableCollection as _0x4dc840,Univer as _0x29f8e7,IAuthzIoService as _0x104b7d,CommandType as _0x37d2e4,UniverInstanceType as _0x2b47f9,RxDisposable as _0xf142cb,toDisposable as _0x98fbf5,Plugin as _0x5e4324,merge as _0x5abee6,Injector as _0x1c94a9}from'@univerjs/core';import{UniverCollaborationPlugin as _0x64f418,RevertRevisionMutation as _0x14b36a,CollaborationEvent as _0x53178f}from'@univerjs-pro/collaboration';import{AuthzIoHttpService as _0x294dea,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20c5d0,CollaborationController as _0x349ed6,ILocalCacheService as _0x5cfc1b,CollaborationStatus as _0x46131d}from'@univerjs-pro/collaboration-client';import{MessageType as _0x36a429}from'@univerjs/design';import{useRef as _0x4316ca,createElement as _0x58e825,forwardRef as _0x35166a}from'react';import{IMessageService as _0x3f6a09,IDialogService as _0x5e1189,ISidebarService as _0x2a441f,UniverUIPlugin as _0x5b3961,getMenuHiddenObservable as _0x48dd2a,MenuItemType as _0x52ee52,RibbonStartGroup as _0x111ba1,IMenuManagerService as _0x31a40d,ComponentManager as _0x4d7433}from'@univerjs/ui';import{BehaviorSubject as _0x3e5653,combineLatest as _0x3921a5}from'rxjs';import{RangeProtectionRuleModel as _0x77cdf8,UniverSheetsPlugin as _0x5acb05,WorkbookEditablePermission as _0x24c456,WorksheetEditPermission as _0x4558fa,RangeProtectionPermissionEditPoint as _0x5b8332,WorkbookRecoverHistoryPermission as _0x5a4a46,getSheetCommandTarget as _0x208830,WorkbookViewHistoryPermission as _0xf13583}from'@univerjs/sheets';import{UniverEditHistoryViewerPlugin as _0x330742,HistoryManagerService as _0x9e8f1a,HistoryModeStatus as _0x2c21b0}from'@univerjs-pro/edit-history-viewer';import{LS_CONFIG_KEY as _0x4092d5,UniverLicensePlugin as _0x156a18}from'@univerjs-pro/license';import{UniverSheetsChartPlugin as _0x4e7b25}from'@univerjs-pro/sheets-chart';import{UniverSheetsChartUIPlugin as _0xab977d}from'@univerjs-pro/sheets-chart-ui';import{UniverSheetsPivotTablePlugin as _0x40ce4c}from'@univerjs-pro/sheets-pivot';import{UniverSheetSparklinePlugin as _0x29f248}from'@univerjs-pro/sheets-sparkline';import{UniverSheetSparklineUIPlugin as _0x53e3ed}from'@univerjs-pro/sheets-sparkline-ui';import{UniverDataValidationPlugin as _0x2c5aa0}from'@univerjs/data-validation';import{UniverDocsPlugin as _0x11449a}from'@univerjs/docs';function _0x28ca(){const _0xbd85c6=['3284176wnNLAR','get','workerURL','getConfig','tag','setDarkMode','_initListener','path','224DKdOXp','UniverIcon','225279awVxwZ','10367IcnZCo','status$','historyUniver$','historyListServerUrl','location','OTHERS','assign','xlink:href','add','set','dataset','_menuManagerService','values','Entered','trim','UNIVER_CONTAINER_ID','map','idSuffix','state$','svg','editHistory.panel.listFetchError','_messageService','status','_config','history-container','clipPath','exhaustSavingTask','string','_sidebarService','_injector','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','disposeWithMe','1em','url(#$1','show','onCommandExecuted','_selectionProtectionRuleModel','2217675KWdYhx','registerCommand','262022CweFVK','executeCommand','_componentManager','has','getCollabEntity','symbol','clear','_themeService','session','UNIVER_SHEET','100%','replace','none','pluginName','div','1329341CHNECo','_commandService','registerPlugin','_historyUniver$','attrs','_checkCanRevert','getSubunitRuleList','current','history-icon','_configService','block','width','white','left','_dialogService','absolute','children','144rrJxtY','currentTheme$','Loading','_pluginMap','SYNCED','_permissionService','setLocale','top','_localeService','HistoryIcon','getSheets','0\x200\x2016\x2016','invoke','next','toString','11757490yLOSCO','_revertErrorTimer','mutations','getSheetId','includes','flat','univer.operation.toggle-edit-history','style','univerContainerId','_initContainer','use','defineProperty','displayName','[HistoryLoaderService]:\x20Plugin\x20','BUTTON','univer.operation.exit-edit-history','createElement','asObservable','darkMode$','univer-history-container','editHistory.panel.revertFailed','colorChannel1','value','getCurrentLocale','appendChild','defIds','Error','unsubscribe','history-icon_clip0_907_281','_initUniver','mountHistoryContent','fill','_initPlugins','getElementById','mask','defs','composePermission','getLocales','setTheme','UNIVER_UNKNOWN','setConfig','uComp','register','univerjs-icon\x20univerjs-icon-','_collaborationController','subscribe','27fdRddW','_historyManagerService','triggerLoadVersions','close','http://www.w3.org/2000/svg','historyPanelComponentKey','dispose','forEach','display','_disposableCollection','unMountHistoryContent','entries','_univerInstanceService','_init','historyUniver','currentColor','some','permissionId','getOwnPropertyDescriptor','closeAll','url(#history-icon_clip0_907_281)','OPERATION','revertRevision$','data','params','length','zIndex','_localCacheService','mergeMenu','reload','height','./worker.js','random'];_0x28ca=function(){return _0xbd85c6;};return _0x28ca();}import{UniverDocsUIPlugin as _0x5f122d}from'@univerjs/docs-ui';import{UniverDrawingPlugin as _0x1ee828,IImageIoService as _0x491f76}from'@univerjs/drawing';import{UniverDrawingUIPlugin as _0x14cc07}from'@univerjs/drawing-ui';import{UniverFormulaEnginePlugin as _0x43012e}from'@univerjs/engine-formula';import{UniverRenderEnginePlugin as _0x13b8dc}from'@univerjs/engine-render';import{UniverNetworkPlugin as _0x3f12e1}from'@univerjs/network';import{UniverRPCMainThreadPlugin as _0xe3364d,PLUGIN_CONFIG_KEY_MAIN_THREAD as _0x423d11}from'@univerjs/rpc';import{UniverSheetsConditionalFormattingPlugin as _0x408091}from'@univerjs/sheets-conditional-formatting';import{UniverSheetsConditionalFormattingUIPlugin as _0x512a56}from'@univerjs/sheets-conditional-formatting-ui';import{UniverSheetsDataValidationPlugin as _0x35eaf9}from'@univerjs/sheets-data-validation';import{UniverSheetsDataValidationUIPlugin as _0x2b34b9}from'@univerjs/sheets-data-validation-ui';import{UniverSheetsDrawingPlugin as _0x2f753d}from'@univerjs/sheets-drawing';import{UniverSheetsDrawingUIPlugin as _0x5a7206}from'@univerjs/sheets-drawing-ui';import{UniverSheetsFilterPlugin as _0x3e80ef}from'@univerjs/sheets-filter';import{UniverSheetsFilterUIPlugin as _0x2d22aa}from'@univerjs/sheets-filter-ui';import{UniverSheetsFormulaPlugin as _0x59d0c4}from'@univerjs/sheets-formula';import{UniverSheetsFormulaUIPlugin as _0x2af4e0}from'@univerjs/sheets-formula-ui';import{UniverSheetsHyperLinkPlugin as _0x475204}from'@univerjs/sheets-hyper-link';import{UniverSheetsHyperLinkUIPlugin as _0x5e4df4}from'@univerjs/sheets-hyper-link-ui';import{UniverSheetsNumfmtPlugin as _0x2c7f3d}from'@univerjs/sheets-numfmt';import{UniverSheetsUIPlugin as _0x48c37a,getCurrentRangeDisable$ as _0x54ee29}from'@univerjs/sheets-ui';const U='edit-history-loader.config',N={};function F({ref:_0x1213f7,..._0x472547}){const _0x2ed6ff=_0x4fea06,{icon:_0x1cf2a7,id:_0x53f2f7,className:_0x500f6f,extend:_0x77fdf,..._0x536875}=_0x472547,_0x358378=(_0x2ed6ff(0x1a1)+_0x53f2f7+'\x20'+(_0x500f6f||''))[_0x2ed6ff(0x12e)](),_0x19019f=_0x4316ca('_'+hi());return j(_0x1cf2a7,''+_0x53f2f7,{'defIds':_0x1cf2a7[_0x2ed6ff(0x18f)],'idSuffix':_0x19019f[_0x2ed6ff(0x15d)]},{'ref':_0x1213f7,'className':_0x358378,..._0x536875},_0x77fdf);}function j(_0x5c9a55,_0x36f03e,_0x2bf5c3,_0x5a8b5c,_0x456d8f){const _0x801646=_0x4fea06;return _0x58e825(_0x5c9a55[_0x801646(0x119)],{'key':_0x36f03e,...ci(_0x5c9a55,_0x2bf5c3,_0x456d8f),..._0x5a8b5c},(li(_0x5c9a55,_0x2bf5c3)[_0x801646(0x166)]||[])['map']((_0x50b66c,_0x35eafe)=>j(_0x50b66c,_0x36f03e+'-'+_0x5c9a55['tag']+'-'+_0x35eafe,_0x2bf5c3,void 0x0,_0x456d8f)));}function ci(_0x4550a1,_0x2d90e0,_0x4a1f11){const _0x408da1=_0x4fea06,_0x16638b={..._0x4550a1['attrs']};_0x4a1f11!=null&&_0x4a1f11[_0x408da1(0x18b)]&&_0x16638b['fill']===_0x408da1(0x18b)&&(_0x16638b[_0x408da1(0x195)]=_0x4a1f11[_0x408da1(0x18b)]),_0x4550a1[_0x408da1(0x119)]===_0x408da1(0x198)&&_0x16638b['id']&&(_0x16638b['id']=_0x16638b['id']+_0x2d90e0[_0x408da1(0x131)]),Object[_0x408da1(0xff)](_0x16638b)[_0x408da1(0xfb)](([_0x58dcbd,_0x3cf86a])=>{const _0x503ab6=_0x408da1;_0x58dcbd==='mask'&&typeof _0x3cf86a==_0x503ab6(0x13b)&&(_0x16638b[_0x58dcbd]=_0x3cf86a[_0x503ab6(0x152)](/url\(#(.*)\)/,_0x503ab6(0x141)+_0x2d90e0['idSuffix']+')'));});const {defIds:_0x319d32}=_0x2d90e0;return!_0x319d32||_0x319d32[_0x408da1(0x10d)]===0x0||(_0x4550a1[_0x408da1(0x119)]===_0x408da1(0x180)&&_0x16638b[_0x408da1(0x127)]&&(_0x16638b[_0x408da1(0x127)]=_0x16638b['xlink:href']+_0x2d90e0[_0x408da1(0x131)]),Object['entries'](_0x16638b)[_0x408da1(0xfb)](([_0x447200,_0x2b14f5])=>{const _0xffd156=_0x408da1;typeof _0x2b14f5==_0xffd156(0x13b)&&(_0x16638b[_0x447200]=_0x2b14f5[_0xffd156(0x152)](/url\(#(.*)\)/,_0xffd156(0x141)+_0x2d90e0[_0xffd156(0x131)]+')'));})),_0x16638b;}function li(_0x168c6c,_0x1d23f9){const _0x1739fb=_0x4fea06;var _0x129b99;const {defIds:_0x35c48a}=_0x1d23f9;return!_0x35c48a||_0x35c48a[_0x1739fb(0x10d)]===0x0?_0x168c6c:_0x168c6c[_0x1739fb(0x119)]===_0x1739fb(0x199)&&((_0x129b99=_0x168c6c['children'])!=null&&_0x129b99['length'])?{..._0x168c6c,'children':_0x168c6c[_0x1739fb(0x166)][_0x1739fb(0x130)](_0x1437f0=>typeof _0x1437f0[_0x1739fb(0x15a)]['id']=='string'&&_0x35c48a&&_0x35c48a[_0x1739fb(0x17a)](_0x1437f0[_0x1739fb(0x15a)]['id'])?{..._0x1437f0,'attrs':{..._0x1437f0[_0x1739fb(0x15a)],'id':_0x1437f0[_0x1739fb(0x15a)]['id']+_0x1d23f9[_0x1739fb(0x131)]}}:_0x1437f0)}:_0x168c6c;}function hi(){const _0x1388e2=_0x4fea06;return Math[_0x1388e2(0x114)]()[_0x1388e2(0x175)](0x24)['substring'](0x2,0x8);}F[_0x4fea06(0x182)]=_0x4fea06(0x11e);const ui={'tag':_0x4fea06(0x133),'attrs':{'xmlns':_0x4fea06(0xf8),'fill':_0x4fea06(0x153),'viewBox':_0x4fea06(0x172),'width':_0x4fea06(0x140),'height':_0x4fea06(0x140)},'children':[{'tag':'g','attrs':{'fill':_0x4fea06(0x103),'clipPath':_0x4fea06(0x108)},'children':[{'tag':_0x4fea06(0x11c),'attrs':{'d':_0x4fea06(0x13e)}},{'tag':_0x4fea06(0x11c),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x4fea06(0x199),'attrs':{},'children':[{'tag':_0x4fea06(0x139),'attrs':{'id':_0x4fea06(0x192)},'children':[{'tag':_0x4fea06(0x11c),'attrs':{'fill':_0x4fea06(0x162),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4fea06(0x192)]},V=_0x35166a(function(_0x3c610b,_0x5ad480){const _0x47d387=_0x4fea06;return _0x58e825(F,Object[_0x47d387(0x126)]({},_0x3c610b,{'id':_0x47d387(0x15e),'ref':_0x5ad480,'icon':ui}));});V[_0x4fea06(0x182)]=_0x4fea06(0x170);var gi=Object[_0x4fea06(0x106)],mi=(_0x3ea04e,_0x58752d,_0x44e389,_0x1a68b7)=>{const _0xf775a5=_0x4fea06;for(var _0x4d86d0=_0x1a68b7>0x1?void 0x0:_0x1a68b7?gi(_0x58752d,_0x44e389):_0x58752d,_0x3d9f72=_0x3ea04e[_0xf775a5(0x10d)]-0x1,_0xdbec15;_0x3d9f72>=0x0;_0x3d9f72--)(_0xdbec15=_0x3ea04e[_0x3d9f72])&&(_0x4d86d0=_0xdbec15(_0x4d86d0)||_0x4d86d0);return _0x4d86d0;},l=(_0x2e0636,_0x1d56b0)=>(_0x8a60d5,_0x3e0640)=>_0x1d56b0(_0x8a60d5,_0x3e0640,_0x2e0636);const vi='univer-container',G=_0x4fea06(0x12f),d=_0x4fea06(0x189);let f=class extends _0x30627d{constructor(_0x2eeefb,_0x2849fc,_0x41a689,_0x3b693f,_0x470652,_0x523eef,_0x17a8e1,_0x2f1a4c,_0x15cc18,_0x4e30b5){const _0x4d364d=_0x4fea06;super(),g(this,_0x4d364d(0x159),new _0x3e5653(null)),g(this,_0x4d364d(0x122),this[_0x4d364d(0x159)][_0x4d364d(0x187)]()),g(this,_0x4d364d(0xfd),new _0x4dc840()),g(this,_0x4d364d(0x16a),new Map()),(this[_0x4d364d(0x16f)]=_0x2eeefb,this[_0x4d364d(0x100)]=_0x2849fc,this[_0x4d364d(0x15f)]=_0x41a689,this['_commandService']=_0x3b693f,this[_0x4d364d(0x135)]=_0x470652,this[_0x4d364d(0x16c)]=_0x523eef,this[_0x4d364d(0x144)]=_0x17a8e1,this[_0x4d364d(0x164)]=_0x2f1a4c,this[_0x4d364d(0x13c)]=_0x15cc18,this['_themeService']=_0x4e30b5,this['_init']());}get[_0x4fea06(0x102)](){const _0x4f3019=_0x4fea06;return this['_historyUniver$'][_0x4f3019(0x18c)];}[_0x4fea06(0x101)](){const _0x548bc9=_0x4fea06;this['_initContainer'](),this[_0x548bc9(0x196)]();}[_0x4fea06(0x17f)](){const _0x20baa9=_0x4fea06;var _0x1a9b98;const _0x43fd26=(_0x1a9b98=this['_configService'][_0x20baa9(0x118)](G))!=null?_0x1a9b98:vi,_0x58d35b=document[_0x20baa9(0x197)](_0x43fd26);if(!_0x58d35b)return;const _0x4cbd2b=document[_0x20baa9(0x186)](_0x20baa9(0x155));_0x4cbd2b['id']=d,_0x4cbd2b[_0x20baa9(0x12a)][_0x20baa9(0x19f)]=_0x20baa9(0x138),_0x4cbd2b[_0x20baa9(0x17d)]['position']=_0x20baa9(0x165),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x16e)]='0',_0x4cbd2b['style'][_0x20baa9(0x163)]='0',_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x161)]=_0x20baa9(0x151),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x112)]=_0x20baa9(0x151),_0x4cbd2b[_0x20baa9(0x17d)][_0x20baa9(0x10e)]='1000',_0x4cbd2b['style']['display']=_0x20baa9(0x153),_0x58d35b[_0x20baa9(0x18e)](_0x4cbd2b);}[_0x4fea06(0x196)](){const _0x431f96=_0x4fea06;var _0x52e222,_0x214e80,_0x26cdbe,_0x4fd72f;[[_0x13b8dc],[_0x5b3961,{'container':d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x5e1189,null]]}],[_0x3f12e1],[_0x1ee828,{'override':[[_0x491f76,null]]}],[_0x11449a,{'hasScroll':!0x1}],[_0x5f122d],[_0x2c7f3d],[_0x5acb05,{'notExecuteFormula':!0x0}],[_0x48c37a],[_0x59d0c4],[_0x2af4e0],[_0x64f418],[_0x3e80ef],[_0x2d22aa],[_0x408091],[_0x512a56],[_0x475204],[_0x5e4df4],[_0x2c5aa0],[_0x35eaf9],[_0x2b34b9],[_0x43012e,{'notExecuteFormula':!0x0}],[_0xe3364d,{'workerURL':(_0x214e80=(_0x52e222=this[_0x431f96(0x15f)][_0x431f96(0x118)](_0x423d11))==null?void 0x0:_0x52e222[_0x431f96(0x117)])!=null?_0x214e80:_0x431f96(0x113)}],[_0x14cc07],[_0x2f753d],[_0x5a7206],[_0x29f248],[_0x53e3ed],[_0x4e7b25],[_0xab977d],[_0x40ce4c,{'notExecuteFormula':!0x0}],[_0x330742,{'historyListServerUrl':(_0x26cdbe=this['_configService'][_0x431f96(0x118)](U))==null?void 0x0:_0x26cdbe[_0x431f96(0x123)],'historyPanelComponentKey':(_0x4fd72f=this[_0x431f96(0x15f)][_0x431f96(0x118)](U))==null?void 0x0:_0x4fd72f[_0x431f96(0xf9)]}]]['forEach'](([_0x1c6a81,_0x44e8e3])=>this[_0x431f96(0x158)](_0x1c6a81,_0x44e8e3));}[_0x4fea06(0xfa)](){const _0x4da3da=_0x4fea06;super[_0x4da3da(0xfa)](),this[_0x4da3da(0xfe)](),this['_pluginMap'][_0x4da3da(0x14d)]();}['registerPlugin'](_0x1760b3,_0x27b3ff,_0x38dad4){const _0x20e6b3=_0x4fea06;if(this[_0x20e6b3(0x16a)][_0x20e6b3(0x14a)](_0x1760b3['pluginName'])&&!_0x38dad4)throw new Error(_0x20e6b3(0x183)+_0x1760b3[_0x20e6b3(0x154)]+'\x20has\x20been\x20registered.');this['_pluginMap'][_0x20e6b3(0x129)](_0x1760b3[_0x20e6b3(0x154)],[_0x1760b3,_0x27b3ff]);}['getAllPlugins'](){const _0x453e8f=_0x4fea06;return Array['from'](this[_0x453e8f(0x16a)][_0x453e8f(0x12c)]());}[_0x4fea06(0x194)](_0xcef0a0){const _0x579f19=_0x4fea06,_0x4c2ce6=document[_0x579f19(0x197)](d);_0x4c2ce6&&(_0x4c2ce6[_0x579f19(0x17d)]['display']=_0x579f19(0x160),this[_0x579f19(0x193)](_0xcef0a0,d));}[_0x4fea06(0xfe)](){const _0x3022f7=_0x4fea06;var _0x29cab9;this['_disposableCollection'][_0x3022f7(0xfa)](),(_0x29cab9=this[_0x3022f7(0x102)])==null||_0x29cab9[_0x3022f7(0xfa)](),this[_0x3022f7(0x159)][_0x3022f7(0x174)](null);const _0x438181=document['getElementById'](d);_0x438181&&(_0x438181[_0x3022f7(0x17d)][_0x3022f7(0xfc)]=_0x3022f7(0x153));}[_0x4fea06(0x193)](_0x3664cc,_0xc88466){const _0x90a5c1=_0x4fea06;if(this[_0x90a5c1(0x102)])return;const _0x3d1aea=new _0x29f8e7({'locales':{[this[_0x90a5c1(0x16f)][_0x90a5c1(0x18d)]()]:this[_0x90a5c1(0x16f)][_0x90a5c1(0x19b)]()},'override':[[_0x104b7d,{'useClass':_0x294dea}]]}),_0x3dfdc2=_0x3d1aea['__getInjector']();this[_0x90a5c1(0x13f)](this[_0x90a5c1(0x14e)][_0x90a5c1(0x188)]['subscribe'](_0xdcefa7=>{const _0x21eab2=_0x90a5c1;_0x3dfdc2[_0x21eab2(0x116)](_0x2655be)[_0x21eab2(0x11a)](_0xdcefa7);})),this[_0x90a5c1(0x13f)](this[_0x90a5c1(0x14e)][_0x90a5c1(0x168)][_0x90a5c1(0x1a3)](_0x51b987=>{const _0x2b7339=_0x90a5c1;_0x3dfdc2[_0x2b7339(0x116)](_0x2655be)[_0x2b7339(0x19c)](_0x51b987);})),_0x3dfdc2[_0x90a5c1(0x116)](_0x11817a)[_0x90a5c1(0x16d)](this['_localeService'][_0x90a5c1(0x18d)]()),_0x3dfdc2[_0x90a5c1(0x116)](_0x2aecfa)['setConfig'](_0x20c5d0,this[_0x90a5c1(0x15f)][_0x90a5c1(0x118)](_0x20c5d0));const _0x59ce7d=this['_configService'][_0x90a5c1(0x118)](_0x4092d5);_0x59ce7d&&_0x3d1aea[_0x90a5c1(0x158)](_0x156a18,{'license':_0x59ce7d['ls']}),this[_0x90a5c1(0x16a)][_0x90a5c1(0xfb)](([_0xd81c3a,_0x3a9a3c])=>{_0x3d1aea['registerPlugin'](_0xd81c3a,_0x3a9a3c);}),_0x3dfdc2[_0x90a5c1(0x173)](_0x26a360=>{const _0x146ea3=_0x90a5c1;this[_0x146ea3(0x11b)](_0x26a360,_0x3664cc);}),this[_0x90a5c1(0x159)][_0x90a5c1(0x174)](_0x3d1aea);const _0x5c8660=_0x3dfdc2[_0x90a5c1(0x116)](_0x9e8f1a),_0x2c6df8=this[_0x90a5c1(0x15b)](_0x3664cc);_0x5c8660[_0x90a5c1(0xf6)](_0x3664cc,_0xc88466,_0x2c6df8);}[_0x4fea06(0x11b)](_0x3660f1,_0x24b1d8){const _0x179ce5=_0x4fea06,_0x169c42=_0x3660f1['get'](_0x9e8f1a);this[_0x179ce5(0xfd)]['add'](_0x169c42[_0x179ce5(0x121)][_0x179ce5(0x1a3)](_0x91ff51=>{const _0x2bd1d6=_0x179ce5;switch(_0x91ff51){case _0x2c21b0[_0x2bd1d6(0x12d)]:this['_dialogService'][_0x2bd1d6(0x107)](),this[_0x2bd1d6(0x13c)][_0x2bd1d6(0xf7)]();break;case _0x2c21b0['Exited']:this[_0x2bd1d6(0x157)][_0x2bd1d6(0x148)](W['id']),this[_0x2bd1d6(0xfe)]();break;case _0x2c21b0['Error']:this[_0x2bd1d6(0xfe)](),this[_0x2bd1d6(0x135)][_0x2bd1d6(0x142)]({'content':this[_0x2bd1d6(0x16f)]['t'](_0x2bd1d6(0x134)),'type':_0x36a429[_0x2bd1d6(0x190)],'duration':0xbb8});break;}})),this[_0x179ce5(0xfd)][_0x179ce5(0x128)](_0x169c42[_0x179ce5(0x10a)][_0x179ce5(0x1a3)](async _0x5cfefd=>{const _0x4b850c=_0x179ce5;_0x5cfefd&&this[_0x4b850c(0x157)][_0x4b850c(0x148)](_0x14b36a['id'],{'unitId':_0x24b1d8,'revision':_0x5cfefd});}));}[_0x4fea06(0x15b)](_0x282610){const _0x3c1268=_0x4fea06,_0x442ec9=this[_0x3c1268(0x100)]['getUnit'](_0x282610)[_0x3c1268(0x171)]()[_0x3c1268(0x130)](_0x301d3e=>_0x301d3e[_0x3c1268(0x179)]()),_0xf8dde2=new _0x24c456(_0x282610)['id'],_0x526537=_0x442ec9['map'](_0x41ec82=>new _0x4558fa(_0x282610,_0x41ec82)['id']),_0x3b577e=_0x442ec9['map'](_0x5700b4=>this[_0x3c1268(0x144)][_0x3c1268(0x15c)](_0x282610,_0x5700b4)[_0x3c1268(0x130)](_0x4cd7de=>new _0x5b8332(_0x282610,_0x5700b4,_0x4cd7de[_0x3c1268(0x105)])['id']))[_0x3c1268(0x17b)](),_0x101ff2=new _0x5a4a46(_0x282610)['id'];return this['_permissionService'][_0x3c1268(0x19a)]([_0xf8dde2,..._0x526537,..._0x3b577e,_0x101ff2])['every'](_0x36a572=>!!_0x36a572[_0x3c1268(0x18c)]);}};f=mi([l(0x0,_0x154f1c(_0x11817a)),l(0x1,_0x3885a7),l(0x2,_0x2aecfa),l(0x3,_0x55c1fa),l(0x4,_0x3f6a09),l(0x5,_0x3d155c),l(0x6,_0x154f1c(_0x77cdf8)),l(0x7,_0x154f1c(_0x5e1189)),l(0x8,_0x154f1c(_0x2a441f)),l(0x9,_0x154f1c(_0x2655be))],f);const b={'id':_0x4fea06(0x17c),'type':_0x37d2e4[_0x4fea06(0x109)],'handler':_0x201322=>{const _0x4d8e8d=_0x4fea06,_0x313c99=_0x201322[_0x4d8e8d(0x116)](f),_0x533e95=_0x201322[_0x4d8e8d(0x116)](_0x3885a7),{unitId:_0x24d6e2}=_0x208830(_0x533e95)||{};return _0x24d6e2?(_0x313c99[_0x4d8e8d(0x194)](_0x24d6e2),!0x0):!0x1;}},W={'id':_0x4fea06(0x185),'type':_0x37d2e4[_0x4fea06(0x109)],'handler':()=>!0x0};function di(_0xfa5144){const _0x137be0=_0x4fea06;return{'id':b['id'],'type':_0x52ee52[_0x137be0(0x184)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x48dd2a(_0xfa5144,_0x2b47f9[_0x137be0(0x150)]),'disabled$':_0x54ee29(_0xfa5144,{'workbookTypes':[_0x24c456,_0xf13583],'worksheetTypes':[],'rangeTypes':[]})};}function _0x9a8a(_0x314505,_0x5dae04){_0x314505=_0x314505-0xf6;const _0x28caaf=_0x28ca();let _0x9a8a6d=_0x28caaf[_0x314505];return _0x9a8a6d;}const fi={[_0x111ba1[_0x4fea06(0x125)]]:{[b['id']]:{'order':0.2,'menuItemFactory':di}}};var _i=Object['getOwnPropertyDescriptor'],pi=(_0x4c1b9c,_0x5cdc6e,_0x4f054f,_0x606068)=>{const _0xc72f48=_0x4fea06;for(var _0x4397a1=_0x606068>0x1?void 0x0:_0x606068?_i(_0x5cdc6e,_0x4f054f):_0x5cdc6e,_0x44c9b1=_0x4c1b9c[_0xc72f48(0x10d)]-0x1,_0xc1fadc;_0x44c9b1>=0x0;_0x44c9b1--)(_0xc1fadc=_0x4c1b9c[_0x44c9b1])&&(_0x4397a1=_0xc1fadc(_0x4397a1)||_0x4397a1);return _0x4397a1;},m=(_0xbf104,_0x4c3ee1)=>(_0x2c6208,_0xd5724)=>_0x4c3ee1(_0x2c6208,_0xd5724,_0xbf104);let p=class extends _0xf142cb{constructor(_0x1db3cf,_0xebf8b3,_0x36bdb3,_0xb05d0a,_0x4ca6cf,_0x4aad23,_0x4f7464,_0x1576dc){const _0x24889a=_0x4fea06;super(),g(this,_0x24889a(0x177),null),(this['_commandService']=_0x1db3cf,this[_0x24889a(0x12b)]=_0xebf8b3,this[_0x24889a(0x149)]=_0x36bdb3,this[_0x24889a(0x1a5)]=_0xb05d0a,this[_0x24889a(0x16f)]=_0x4ca6cf,this['_messageService']=_0x4aad23,this[_0x24889a(0x1a2)]=_0x4f7464,this[_0x24889a(0x10f)]=_0x1576dc,this[_0x24889a(0x101)]());}[_0x4fea06(0x101)](){const _0x33d0eb=_0x4fea06;[b,W][_0x33d0eb(0xfb)](_0x3427da=>this['disposeWithMe'](_0x98fbf5(this[_0x33d0eb(0x157)][_0x33d0eb(0x146)](_0x3427da)))),this['disposeWithMe'](this[_0x33d0eb(0x149)][_0x33d0eb(0x1a0)]('HistoryIcon',V)),this[_0x33d0eb(0x12b)][_0x33d0eb(0x110)](fi),this[_0x33d0eb(0x13f)](this[_0x33d0eb(0x157)][_0x33d0eb(0x143)](_0x4e62dd=>{const _0x4e55ec=_0x33d0eb;if(_0x4e62dd['id']===_0x14b36a['id']){this['_messageService'][_0x4e55ec(0x142)]({'content':this[_0x4e55ec(0x16f)]['t']('editHistory.panel.reverting'),'type':_0x36a429[_0x4e55ec(0x169)],'duration':0x1388});const {unitId:_0x4c3b33}=_0x4e62dd[_0x4e55ec(0x10c)],_0x5e69b6=this[_0x4e55ec(0x1a2)][_0x4e55ec(0x14b)](_0x4c3b33),_0x584274=_0x3921a5([_0x5e69b6[_0x4e55ec(0x14f)]['event$'],_0x5e69b6[_0x4e55ec(0x132)]])['subscribe'](async([_0x113de5,_0x2dedc3])=>{const _0x1d3e65=_0x4e55ec;var _0x1798ca;_0x113de5['eventID']===_0x53178f['CHANGESET_ACK']&&(_0x2dedc3==null?void 0x0:_0x2dedc3[_0x1d3e65(0x136)])===_0x46131d[_0x1d3e65(0x16b)]&&_0x113de5[_0x1d3e65(0x10b)][_0x1d3e65(0x178)][_0x1d3e65(0x104)](_0x1dd633=>_0x1dd633['id']===_0x14b36a['id'])&&(this['_historyManagerService'][_0x1d3e65(0xfe)](),_0x584274[_0x1d3e65(0x191)](),this[_0x1d3e65(0x177)]&&clearTimeout(this['_revertErrorTimer']),await((_0x1798ca=this['_localCacheService'])==null?void 0x0:_0x1798ca[_0x1d3e65(0x13a)]()),setTimeout(()=>window[_0x1d3e65(0x124)][_0x1d3e65(0x111)]()));});this[_0x4e55ec(0x177)]=setTimeout(()=>{const _0x1bb3d4=_0x4e55ec;_0x584274[_0x1bb3d4(0x191)](),this[_0x1bb3d4(0x135)][_0x1bb3d4(0x142)]({'content':this[_0x1bb3d4(0x16f)]['t'](_0x1bb3d4(0x18a)),'type':_0x36a429[_0x1bb3d4(0x190)],'duration':0xbb8});},0x1388);}}));}};p=pi([m(0x0,_0x55c1fa),m(0x1,_0x31a40d),m(0x2,_0x154f1c(_0x4d7433)),m(0x3,_0x154f1c(f)),m(0x4,_0x154f1c(_0x11817a)),m(0x5,_0x3f6a09),m(0x6,_0x154f1c(_0x349ed6)),m(0x7,_0x5cfc1b)],p);var Si=Object[_0x4fea06(0x106)],Ci=(_0x3b7aa1,_0xaea9b5,_0x1369dd,_0x172c48)=>{const _0x27a6e3=_0x4fea06;for(var _0x40b2e7=_0x172c48>0x1?void 0x0:_0x172c48?Si(_0xaea9b5,_0x1369dd):_0xaea9b5,_0x4dd824=_0x3b7aa1[_0x27a6e3(0x10d)]-0x1,_0x687e9d;_0x4dd824>=0x0;_0x4dd824--)(_0x687e9d=_0x3b7aa1[_0x4dd824])&&(_0x40b2e7=_0x687e9d(_0x40b2e7)||_0x40b2e7);return _0x40b2e7;},R=(_0x52e3b5,_0x3bf245)=>(_0x13dafd,_0x151311)=>_0x3bf245(_0x13dafd,_0x151311,_0x52e3b5);const yi='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';var _;let H=(_=class extends _0x5e4324{constructor(_0x238c7e=N,_0x3a6d6d,_0x27db4e){const _0x4ee3d7=_0x4fea06;super(),this['_config']=_0x238c7e,this[_0x4ee3d7(0x13d)]=_0x3a6d6d,this['_configService']=_0x27db4e;const {menu:_0x467693,..._0x3c2cae}=_0x5abee6({},N,this['_config']);_0x467693&&this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)]('menu',_0x467693,{'merge':!0x0}),this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)](U,_0x3c2cae),this['_config'][_0x4ee3d7(0x17e)]&&this[_0x4ee3d7(0x15f)][_0x4ee3d7(0x19e)](G,this[_0x4ee3d7(0x137)][_0x4ee3d7(0x17e)]);}['onStarting'](){const _0x269436=_0x4fea06;[[f],[p]][_0x269436(0xfb)](_0x444500=>this['_injector'][_0x269436(0x128)](_0x444500));}['onSteady'](){const _0x5c17ce=_0x4fea06;this['_injector'][_0x5c17ce(0x116)](p);}},g(_,'type',_0x2b47f9[_0x4fea06(0x19d)]),g(_,_0x4fea06(0x154),yi),_);H=Ci([R(0x1,_0x154f1c(_0x1c94a9)),R(0x2,_0x2aecfa)],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 _0x4265(_0xa65dda,_0x28ed54){_0xa65dda=_0xa65dda-0x99;const _0x5aec3a=_0x5aec();let _0x426566=_0x5aec3a[_0xa65dda];return _0x426566;}function _0x5aec(){const _0x1f668c=['UniverInstanceType','_init','_sidebarService','@univerjs/rpc','WorkbookRecoverHistoryPermission','IUniverInstanceService','./worker.js','UniverProEditHistoryLoader','currentColor','283352XoNbhe','MessageType','revertRevision$','UniverSheetsDrawing','asObservable','18soMGFD','UniverUi','width','_historyUniver$','UniverProSheetsChart','Injector','executeCommand','259020TsaMRI','UniverSheetsFilterPlugin','IConfigService','@univerjs/design','_historyManagerService','M0\x200H16V16H0z','WorkbookEditablePermission','position','@univerjs/sheets-formula-ui','mutations','_localCacheService','UniverSheetsNumfmt','Error','getSheetId','getMenuHiddenObservable','attrs','UniverSheetsDataValidationUi','UniverIcon','Inject','CollaborationEvent','UniverProSheetsPivot','style','onStarting','_injector','height','IDialogService','8193339qGvKLY','UniverSheetsPlugin','colorChannel1','UniverRPCMainThreadPlugin','svg','Exited','next','mountHistoryContent','getOwnPropertyDescriptor','@univerjs/sheets-data-validation-ui','UniverSheetsFormula','_univerInstanceService','UniverSheetsDrawingPlugin','RibbonStartGroup','@univerjs-pro/sheets-sparkline','url(#$1','none','Module','@univerjs/sheets','session','@univerjs/docs','UniverSheetsDrawingUIPlugin','UniverCore','historyUniver$','UniverProSheetsChartUi','historyPanelComponentKey','_dialogService','@univerjs/engine-formula','RevertRevisionMutation','div','UniverSheetsFilter','value','3aAKwEi','_initContainer','@univerjs/sheets-filter','UniverSheetsHyperLink','values','UniverDataValidation','history-icon_clip0_907_281','get','defineProperty','setConfig','UniverDrawingUIPlugin','getUnit','use','Disposable','map','_selectionProtectionRuleModel','UniverSheetsFormulaUIPlugin','toDisposable','UniverEditHistoryViewerPlugin','UniverFormulaEnginePlugin','string','subscribe','11oWIzsH','@univerjs/drawing','createElement','1em','WorkbookViewHistoryPermission','UniverSheetsUi','UniverDocsPlugin','UniverNetwork','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','top','close','closeAll','UniverNetworkPlugin','path','merge','UniverSheets','LocaleService','univer.operation.exit-edit-history','_disposableCollection','registerPlugin','UniverSheetsConditionalFormattingUIPlugin','@univerjs/sheets-hyper-link','BehaviorSubject','Loading','show','some','useRef','appendChild','UniverEditHistoryLoaderPlugin','UniverSheetsFormulaUi','@univerjs/sheets-drawing','IAuthzIoService','display','_localeService','CollaborationController','UniverSheetsPivotTablePlugin','children','@univerjs/sheets-drawing-ui','@univerjs/docs-ui','forwardRef','1434950QNFRCp','UniverUIPlugin','uComp','ISidebarService','random','UniverDrawingUi','@univerjs-pro/sheets-pivot','url(#history-icon_clip0_907_281)','defIds','pluginName','@univerjs/sheets-data-validation','UniverSheetSparklineUIPlugin','UniverSheetsChartUIPlugin','UniverDesign','editHistory.panel.reverting','forEach','@univerjs/sheets-conditional-formatting-ui','getCurrentLocale','composePermission','UniverSheetsHyperLinkUi','add','474iveTkh','symbol','triggerLoadVersions','clipPath','length','UniverDrawingPlugin','HistoryManagerService','params','mergeMenu','UNIVER_CONTAINER_ID_KEY','UniverSheetsDataValidationUIPlugin','event$','_menuManagerService','getSheetCommandTarget','current','ILocalCacheService','_initPlugins','IMenuManagerService','1807140HYkaVC','IMessageService','__getInjector','idSuffix','clear','_messageService','setLocale','ICommandService','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','invoke','@univerjs/sheets-ui','@univerjs/sheets-hyper-link-ui','Univer','react','ComponentManager','data','UniverDocsUIPlugin','180VTHBTZ','100%','@univerjs-pro/sheets-chart','status$','getConfig','SYNCED','rxjs','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','@univerjs-pro/sheets-chart-ui','_revertErrorTimer','univer.operation.toggle-edit-history','exhaustSavingTask','@univerjs-pro/sheets-sparkline-ui','RangeProtectionRuleModel','every','_initUniver','getAllPlugins','eventID','location','@univerjs-pro/license','@univerjs/sheets-numfmt','set','ThemeService','from','mask','unsubscribe','entries','editHistory.panel.revertFailed','@univerjs-pro/collaboration','getElementById','registerCommand','edit-history-loader.config','zIndex','unMountHistoryContent','@univerjs/engine-render','currentTheme$','_initListener','UniverSheetsFilterUIPlugin','10tGgYdk','state$','history-container','[HistoryLoaderService]:\x20Plugin\x20','absolute','@univerjs/core','_pluginMap','_collaborationController','disposeWithMe','permissionId','getSheets','xlink:href','UniverSheetsHyperLinkUIPlugin','univerContainerId','_checkCanRevert','UniverDocs','UniverSheetsNumfmtPlugin','@univerjs/network','OTHERS','_configService','defs','reload','_themeService','getCurrentRangeDisable$','RangeProtectionPermissionEditPoint','white','http://www.w3.org/2000/svg','UniverSheetsDrawingUi','displayName','includes','onSteady','historyUniver','@univerjs/drawing-ui','HistoryModeStatus','_permissionService','getCollabEntity','fill','UniverProSheetsSparklineUi','HistoryLoaderService','React','PLUGIN_CONFIG_KEY_MAIN_THREAD','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','univer-history-container','UniverSheetsDataValidationPlugin','substring','2710024LYhIUe','UniverSheetsFormulaPlugin','@univerjs/sheets-conditional-formatting','UniverSheetsFilterUi','type','@univerjs-pro/edit-history-viewer','UniverSheetsChartPlugin','tag','UniverProLicense','dispose','UNIVER_SHEET','UniverCollaborationPlugin','menu','_config','amd','CHANGESET_ACK','OPERATION','HistoryIcon','replace','_commandService'];_0x5aec=function(){return _0x1f668c;};return _0x5aec();}(function(_0x135846,_0x4fefa5){const _0x5e3237=_0x4265,_0x1b4147=_0x135846();while(!![]){try{const _0x13e80f=parseInt(_0x5e3237(0x9f))/0x1*(-parseInt(_0x5e3237(0x1a8))/0x2)+-parseInt(_0x5e3237(0x155))/0x3*(parseInt(_0x5e3237(0x10f))/0x4)+parseInt(_0x5e3237(0xc5))/0x5*(-parseInt(_0x5e3237(0x11b))/0x6)+parseInt(_0x5e3237(0x135))/0x7+parseInt(_0x5e3237(0xf2))/0x8*(-parseInt(_0x5e3237(0x114))/0x9)+parseInt(_0x5e3237(0x193))/0xa+-parseInt(_0x5e3237(0x16b))/0xb*(-parseInt(_0x5e3237(0x1ba))/0xc);if(_0x13e80f===_0x4fefa5)break;else _0x1b4147['push'](_0x1b4147['shift']());}catch(_0x430724){_0x1b4147['push'](_0x1b4147['shift']());}}}(_0x5aec,0x8f5d7),function(_0x3434dc,_0x31887d){const _0x56ef2d=_0x4265;typeof exports=='object'&&typeof module<'u'?_0x31887d(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[_0x56ef2d(0x100)]?define(['exports',_0x56ef2d(0xca),_0x56ef2d(0xbb),'@univerjs-pro/collaboration-client',_0x56ef2d(0x11e),_0x56ef2d(0x9b),'@univerjs/ui',_0x56ef2d(0xa5),_0x56ef2d(0x147),_0x56ef2d(0xf7),_0x56ef2d(0xb2),_0x56ef2d(0xa1),_0x56ef2d(0xa7),_0x56ef2d(0x199),_0x56ef2d(0x143),_0x56ef2d(0xab),'@univerjs/data-validation',_0x56ef2d(0x149),_0x56ef2d(0x191),_0x56ef2d(0x16c),_0x56ef2d(0xe5),_0x56ef2d(0x150),_0x56ef2d(0xc1),_0x56ef2d(0xd6),_0x56ef2d(0x109),_0x56ef2d(0xf4),_0x56ef2d(0x1a3),_0x56ef2d(0x19d),_0x56ef2d(0x13e),_0x56ef2d(0x189),_0x56ef2d(0x190),_0x56ef2d(0x157),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula',_0x56ef2d(0x123),_0x56ef2d(0x180),_0x56ef2d(0x99),_0x56ef2d(0xb3),_0x56ef2d(0x1c4)],_0x31887d):(_0x3434dc=typeof globalThis<'u'?globalThis:_0x3434dc||self,_0x31887d(_0x3434dc[_0x56ef2d(0x10d)]={},_0x3434dc[_0x56ef2d(0x14b)],_0x3434dc['UniverProCollaboration'],_0x3434dc['UniverProCollaborationClient'],_0x3434dc[_0x56ef2d(0x1a0)],_0x3434dc[_0x56ef2d(0xec)],_0x3434dc[_0x56ef2d(0x115)],_0x3434dc[_0x56ef2d(0xa5)],_0x3434dc[_0x56ef2d(0x17a)],_0x3434dc['UniverProEditHistoryViewer'],_0x3434dc[_0x56ef2d(0xfa)],_0x3434dc[_0x56ef2d(0x118)],_0x3434dc[_0x56ef2d(0x14d)],_0x3434dc[_0x56ef2d(0x12f)],_0x3434dc['UniverProSheetsSparkline'],_0x3434dc[_0x56ef2d(0xea)],_0x3434dc[_0x56ef2d(0x15a)],_0x3434dc[_0x56ef2d(0xd4)],_0x3434dc['UniverDocsUi'],_0x3434dc['UniverDrawing'],_0x3434dc[_0x56ef2d(0x198)],_0x3434dc['UniverEngineFormula'],_0x3434dc['UniverEngineRender'],_0x3434dc[_0x56ef2d(0x172)],_0x3434dc['UniverRpc'],_0x3434dc['UniverSheetsConditionalFormatting'],_0x3434dc['UniverSheetsConditionalFormattingUi'],_0x3434dc['UniverSheetsDataValidation'],_0x3434dc[_0x56ef2d(0x12b)],_0x3434dc[_0x56ef2d(0x112)],_0x3434dc[_0x56ef2d(0xe0)],_0x3434dc[_0x56ef2d(0x153)],_0x3434dc[_0x56ef2d(0xf5)],_0x3434dc[_0x56ef2d(0x13f)],_0x3434dc[_0x56ef2d(0x188)],_0x3434dc[_0x56ef2d(0x158)],_0x3434dc[_0x56ef2d(0x1a6)],_0x3434dc[_0x56ef2d(0x126)],_0x3434dc[_0x56ef2d(0x170)]));}(this,function(_0x5e8394,_0x2660fb,_0x54c25f,_0x3c76f4,_0x2c73c8,_0x49666d,_0x2c341a,_0x4c3d83,_0x680d09,_0x3efc8,_0x3b43f6,_0x2512ee,_0x264649,_0x4fcfdd,_0x1db678,_0xac5d58,_0x48027a,_0x2325a9,_0x3e6a34,_0x243389,_0x1c6e00,_0x1745f2,_0x47420d,_0x10dc0a,_0x2ebb49,_0x4340a5,_0x95b17d,_0x1a3d0f,_0x42f6be,_0x5ddba4,_0x20863d,_0x5913d8,_0x218a23,_0x2c8e10,_0x5c73a3,_0x351d03,_0x168722,_0x221b00,_0x497c8c){'use strict';const _0x55ebc3=_0x4265;var _0x7e7d17=Object['defineProperty'],_0x126afc=(_0x3ecebc,_0x2254a2,_0x208e72)=>_0x2254a2 in _0x3ecebc?_0x7e7d17(_0x3ecebc,_0x2254a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x208e72}):_0x3ecebc[_0x2254a2]=_0x208e72,_0x53a22d=(_0x14722c,_0x430c25,_0x3e1365)=>_0x126afc(_0x14722c,typeof _0x430c25!=_0x55ebc3(0x1a9)?_0x430c25+'':_0x430c25,_0x3e1365),_0x583878;const _0x16c33e=_0x55ebc3(0xbe),_0x187a95={};function _0x313fdc({ref:_0x117255,..._0x4e99f8}){const _0x324050=_0x55ebc3,{icon:_0x5d35f8,id:_0x5a4e56,className:_0x14120f,extend:_0x17c48e,..._0x410a4a}=_0x4e99f8,_0x2879eb=('univerjs-icon\x20univerjs-icon-'+_0x5a4e56+'\x20'+(_0x14120f||''))['trim'](),_0x20278f=_0x49666d[_0x324050(0x185)]('_'+_0x1dac35());return _0x383b59(_0x5d35f8,''+_0x5a4e56,{'defIds':_0x5d35f8[_0x324050(0x19b)],'idSuffix':_0x20278f[_0x324050(0x1b6)]},{'ref':_0x117255,'className':_0x2879eb,..._0x410a4a},_0x17c48e);}function _0x383b59(_0x4695b0,_0x5bee3b,_0x33c4fa,_0x4ceb0c,_0x852db0){const _0x33b7b2=_0x55ebc3;return _0x49666d['createElement'](_0x4695b0['tag'],{'key':_0x5bee3b,..._0x43f924(_0x4695b0,_0x33c4fa,_0x852db0),..._0x4ceb0c},(_0x2fceb4(_0x4695b0,_0x33c4fa)[_0x33b7b2(0x18f)]||[])[_0x33b7b2(0x163)]((_0x356ecd,_0x325ec1)=>_0x383b59(_0x356ecd,_0x5bee3b+'-'+_0x4695b0[_0x33b7b2(0xf9)]+'-'+_0x325ec1,_0x33c4fa,void 0x0,_0x852db0)));}function _0x43f924(_0xd17b0,_0x3c46a5,_0x17b076){const _0xfd4fcf=_0x55ebc3,_0x37d313={..._0xd17b0[_0xfd4fcf(0x12a)]};_0x17b076!=null&&_0x17b076[_0xfd4fcf(0x137)]&&_0x37d313[_0xfd4fcf(0xe9)]==='colorChannel1'&&(_0x37d313[_0xfd4fcf(0xe9)]=_0x17b076[_0xfd4fcf(0x137)]),_0xd17b0[_0xfd4fcf(0xf9)]==='mask'&&_0x37d313['id']&&(_0x37d313['id']=_0x37d313['id']+_0x3c46a5[_0xfd4fcf(0x1bd)]),Object[_0xfd4fcf(0xb9)](_0x37d313)[_0xfd4fcf(0x1a2)](([_0x37293c,_0x56085d])=>{const _0x434fe6=_0xfd4fcf;_0x37293c===_0x434fe6(0xb7)&&typeof _0x56085d==_0x434fe6(0x169)&&(_0x37d313[_0x37293c]=_0x56085d[_0x434fe6(0x104)](/url\(#(.*)\)/,_0x434fe6(0x144)+_0x3c46a5[_0x434fe6(0x1bd)]+')'));});const {defIds:_0x1d589e}=_0x3c46a5;return!_0x1d589e||_0x1d589e[_0xfd4fcf(0x1ac)]===0x0||(_0xd17b0[_0xfd4fcf(0xf9)]===_0xfd4fcf(0x161)&&_0x37d313['xlink:href']&&(_0x37d313[_0xfd4fcf(0xd0)]=_0x37d313[_0xfd4fcf(0xd0)]+_0x3c46a5['idSuffix']),Object[_0xfd4fcf(0xb9)](_0x37d313)[_0xfd4fcf(0x1a2)](([_0x165c9c,_0x237f7a])=>{const _0x252621=_0xfd4fcf;typeof _0x237f7a=='string'&&(_0x37d313[_0x165c9c]=_0x237f7a[_0x252621(0x104)](/url\(#(.*)\)/,_0x252621(0x144)+_0x3c46a5[_0x252621(0x1bd)]+')'));})),_0x37d313;}function _0x2fceb4(_0x4fdd50,_0x5219f4){const _0xf0252f=_0x55ebc3;var _0x1f5760;const {defIds:_0x124275}=_0x5219f4;return!_0x124275||_0x124275[_0xf0252f(0x1ac)]===0x0?_0x4fdd50:_0x4fdd50[_0xf0252f(0xf9)]==='defs'&&((_0x1f5760=_0x4fdd50[_0xf0252f(0x18f)])!=null&&_0x1f5760['length'])?{..._0x4fdd50,'children':_0x4fdd50[_0xf0252f(0x18f)][_0xf0252f(0x163)](_0x7fa687=>typeof _0x7fa687['attrs']['id']=='string'&&_0x124275&&_0x124275[_0xf0252f(0xe2)](_0x7fa687[_0xf0252f(0x12a)]['id'])?{..._0x7fa687,'attrs':{..._0x7fa687[_0xf0252f(0x12a)],'id':_0x7fa687[_0xf0252f(0x12a)]['id']+_0x5219f4['idSuffix']}}:_0x7fa687)}:_0x4fdd50;}function _0x1dac35(){const _0x28e117=_0x55ebc3;return Math[_0x28e117(0x197)]()['toString'](0x24)[_0x28e117(0xf1)](0x2,0x8);}_0x313fdc['displayName']=_0x55ebc3(0x12c);const _0x547b06={'tag':_0x55ebc3(0x139),'attrs':{'xmlns':_0x55ebc3(0xdf),'fill':_0x55ebc3(0x145),'viewBox':'0\x200\x2016\x2016','width':_0x55ebc3(0x16e),'height':_0x55ebc3(0x16e)},'children':[{'tag':'g','attrs':{'fill':_0x55ebc3(0x10e),'clipPath':_0x55ebc3(0x19a)},'children':[{'tag':_0x55ebc3(0x178),'attrs':{'d':_0x55ebc3(0x1c2)}},{'tag':_0x55ebc3(0x178),'attrs':{'d':_0x55ebc3(0xee)}}]},{'tag':_0x55ebc3(0xd9),'attrs':{},'children':[{'tag':_0x55ebc3(0x1ab),'attrs':{'id':_0x55ebc3(0x15b)},'children':[{'tag':_0x55ebc3(0x178),'attrs':{'fill':_0x55ebc3(0xde),'d':_0x55ebc3(0x120)}}]}]}],'defIds':[_0x55ebc3(0x15b)]},_0x280c44=_0x49666d[_0x55ebc3(0x192)](function(_0x207a2a,_0xf01c96){const _0x524156=_0x55ebc3;return _0x49666d[_0x524156(0x16d)](_0x313fdc,Object['assign']({},_0x207a2a,{'id':'history-icon','ref':_0xf01c96,'icon':_0x547b06}));});_0x280c44[_0x55ebc3(0xe1)]=_0x55ebc3(0x103);var _0x5d804b=Object[_0x55ebc3(0x13d)],_0x129205=(_0x144a6a,_0x336973,_0x490633,_0x5c2618)=>{const _0x2a0dc8=_0x55ebc3;for(var _0x497c23=_0x5c2618>0x1?void 0x0:_0x5c2618?_0x5d804b(_0x336973,_0x490633):_0x336973,_0x46066d=_0x144a6a[_0x2a0dc8(0x1ac)]-0x1,_0x1d21ef;_0x46066d>=0x0;_0x46066d--)(_0x1d21ef=_0x144a6a[_0x46066d])&&(_0x497c23=_0x1d21ef(_0x497c23)||_0x497c23);return _0x497c23;},_0x2c5f99=(_0x18b5e2,_0x33ac09)=>(_0x555f71,_0x5993c1)=>_0x33ac09(_0x555f71,_0x5993c1,_0x18b5e2);const _0x26bd8e='univer-container',_0x3454e5='UNIVER_CONTAINER_ID',_0x46c8c7=_0x55ebc3(0xef);_0x5e8394['HistoryLoaderService']=class extends _0x2660fb[_0x55ebc3(0x162)]{constructor(_0x1c4e10,_0x414766,_0x266c61,_0x18e9f4,_0x1392f9,_0x250c8d,_0x371af4,_0x48cfd4,_0x1cb715,_0x32313d){const _0x5116f1=_0x55ebc3;super(),_0x53a22d(this,'_historyUniver$',new _0x4c3d83[(_0x5116f1(0x181))](null)),_0x53a22d(this,_0x5116f1(0x14c),this['_historyUniver$'][_0x5116f1(0x113)]()),_0x53a22d(this,_0x5116f1(0x17d),new _0x2660fb['DisposableCollection']()),_0x53a22d(this,_0x5116f1(0xcb),new Map()),(this[_0x5116f1(0x18c)]=_0x1c4e10,this[_0x5116f1(0x140)]=_0x414766,this['_configService']=_0x266c61,this[_0x5116f1(0x105)]=_0x18e9f4,this[_0x5116f1(0x1bf)]=_0x1392f9,this[_0x5116f1(0xe7)]=_0x250c8d,this[_0x5116f1(0x164)]=_0x371af4,this[_0x5116f1(0x14f)]=_0x48cfd4,this[_0x5116f1(0x108)]=_0x1cb715,this[_0x5116f1(0xdb)]=_0x32313d,this[_0x5116f1(0x107)]());}get[_0x55ebc3(0xe4)](){const _0x33b092=_0x55ebc3;return this[_0x33b092(0x117)][_0x33b092(0x154)];}[_0x55ebc3(0x107)](){const _0x53745d=_0x55ebc3;this['_initContainer'](),this[_0x53745d(0x1b8)]();}[_0x55ebc3(0x156)](){const _0x3aad7d=_0x55ebc3;var _0x51d4ee;const _0x327c93=(_0x51d4ee=this[_0x3aad7d(0xd8)][_0x3aad7d(0xa3)](_0x3454e5))!=null?_0x51d4ee:_0x26bd8e,_0x59ddda=document[_0x3aad7d(0xbc)](_0x327c93);if(!_0x59ddda)return;const _0x4cb9b3=document['createElement'](_0x3aad7d(0x152));_0x4cb9b3['id']=_0x46c8c7,_0x4cb9b3['dataset'][_0x3aad7d(0x195)]=_0x3aad7d(0xc7),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x122)]=_0x3aad7d(0xc9),_0x4cb9b3['style'][_0x3aad7d(0x174)]='0',_0x4cb9b3[_0x3aad7d(0x130)]['left']='0',_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x116)]=_0x3aad7d(0xa0),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x133)]=_0x3aad7d(0xa0),_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0xbf)]='1000',_0x4cb9b3[_0x3aad7d(0x130)][_0x3aad7d(0x18b)]=_0x3aad7d(0x145),_0x59ddda[_0x3aad7d(0x186)](_0x4cb9b3);}[_0x55ebc3(0x1b8)](){const _0x466e7d=_0x55ebc3;var _0x437b74,_0x1f4746,_0x3ac23f,_0x2ce858;[[_0x47420d['UniverRenderEnginePlugin']],[_0x2c341a[_0x466e7d(0x194)],{'container':_0x46c8c7,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2c341a['IDialogService'],null]]}],[_0x10dc0a[_0x466e7d(0x177)]],[_0x243389[_0x466e7d(0x1ad)],{'override':[[_0x243389['IImageIoService'],null]]}],[_0x2325a9[_0x466e7d(0x171)],{'hasScroll':!0x1}],[_0x3e6a34[_0x466e7d(0x9e)]],[_0x221b00[_0x466e7d(0xd5)]],[_0x680d09[_0x466e7d(0x136)],{'notExecuteFormula':!0x0}],[_0x497c8c['UniverSheetsUIPlugin']],[_0x2c8e10[_0x466e7d(0xf3)]],[_0x5c73a3[_0x466e7d(0x165)]],[_0x54c25f[_0x466e7d(0xfd)]],[_0x5913d8[_0x466e7d(0x11c)]],[_0x218a23[_0x466e7d(0xc4)]],[_0x4340a5['UniverSheetsConditionalFormattingPlugin']],[_0x95b17d[_0x466e7d(0x17f)]],[_0x351d03['UniverSheetsHyperLinkPlugin']],[_0x168722[_0x466e7d(0xd1)]],[_0x48027a['UniverDataValidationPlugin']],[_0x1a3d0f[_0x466e7d(0xf0)]],[_0x42f6be[_0x466e7d(0x1b2)]],[_0x1745f2[_0x466e7d(0x168)],{'notExecuteFormula':!0x0}],[_0x2ebb49[_0x466e7d(0x138)],{'workerURL':(_0x1f4746=(_0x437b74=this['_configService'][_0x466e7d(0xa3)](_0x2ebb49[_0x466e7d(0xed)]))==null?void 0x0:_0x437b74['workerURL'])!=null?_0x1f4746:_0x466e7d(0x10c)}],[_0x1c6e00[_0x466e7d(0x15f)]],[_0x5ddba4[_0x466e7d(0x141)]],[_0x20863d[_0x466e7d(0x14a)]],[_0x1db678['UniverSheetSparklinePlugin']],[_0xac5d58[_0x466e7d(0x19e)]],[_0x2512ee[_0x466e7d(0xf8)]],[_0x264649[_0x466e7d(0x19f)]],[_0x4fcfdd[_0x466e7d(0x18e)],{'notExecuteFormula':!0x0}],[_0x3efc8[_0x466e7d(0x167)],{'historyListServerUrl':(_0x3ac23f=this[_0x466e7d(0xd8)]['getConfig'](_0x16c33e))==null?void 0x0:_0x3ac23f['historyListServerUrl'],'historyPanelComponentKey':(_0x2ce858=this[_0x466e7d(0xd8)][_0x466e7d(0xa3)](_0x16c33e))==null?void 0x0:_0x2ce858[_0x466e7d(0x14e)]}]][_0x466e7d(0x1a2)](([_0x2735e6,_0xdbb639])=>this[_0x466e7d(0x17e)](_0x2735e6,_0xdbb639));}[_0x55ebc3(0xfb)](){const _0x56e5f0=_0x55ebc3;super[_0x56e5f0(0xfb)](),this['unMountHistoryContent'](),this[_0x56e5f0(0xcb)][_0x56e5f0(0x1be)]();}[_0x55ebc3(0x17e)](_0x3b5d4f,_0x21bfd2,_0x49e67b){const _0x1c0030=_0x55ebc3;if(this[_0x1c0030(0xcb)]['has'](_0x3b5d4f[_0x1c0030(0x19c)])&&!_0x49e67b)throw new Error(_0x1c0030(0xc8)+_0x3b5d4f[_0x1c0030(0x19c)]+'\x20has\x20been\x20registered.');this[_0x1c0030(0xcb)][_0x1c0030(0xb4)](_0x3b5d4f[_0x1c0030(0x19c)],[_0x3b5d4f,_0x21bfd2]);}[_0x55ebc3(0xaf)](){const _0x39403e=_0x55ebc3;return Array[_0x39403e(0xb6)](this[_0x39403e(0xcb)][_0x39403e(0x159)]());}[_0x55ebc3(0x13c)](_0xfda500){const _0x3a0c57=_0x55ebc3,_0x211f02=document['getElementById'](_0x46c8c7);_0x211f02&&(_0x211f02[_0x3a0c57(0x130)][_0x3a0c57(0x18b)]='block',this['_initUniver'](_0xfda500,_0x46c8c7));}[_0x55ebc3(0xc0)](){const _0x582732=_0x55ebc3;var _0x3b350e;this[_0x582732(0x17d)][_0x582732(0xfb)](),(_0x3b350e=this[_0x582732(0xe4)])==null||_0x3b350e[_0x582732(0xfb)](),this[_0x582732(0x117)][_0x582732(0x13b)](null);const _0x526818=document[_0x582732(0xbc)](_0x46c8c7);_0x526818&&(_0x526818['style'][_0x582732(0x18b)]=_0x582732(0x145));}[_0x55ebc3(0xae)](_0x50408a,_0x8a84b7){const _0x367512=_0x55ebc3;if(this[_0x367512(0xe4)])return;const _0x39b8c5=new _0x2660fb[(_0x367512(0x9a))]({'locales':{[this[_0x367512(0x18c)][_0x367512(0x1a4)]()]:this[_0x367512(0x18c)]['getLocales']()},'override':[[_0x2660fb[_0x367512(0x18a)],{'useClass':_0x3c76f4['AuthzIoHttpService']}]]}),_0x427710=_0x39b8c5[_0x367512(0x1bc)]();this[_0x367512(0xcd)](this[_0x367512(0xdb)]['darkMode$'][_0x367512(0x16a)](_0x1eafc0=>{const _0x340061=_0x367512;_0x427710['get'](_0x2660fb[_0x340061(0xb5)])['setDarkMode'](_0x1eafc0);})),this[_0x367512(0xcd)](this[_0x367512(0xdb)][_0x367512(0xc2)][_0x367512(0x16a)](_0x24ee55=>{const _0x5b7413=_0x367512;_0x427710[_0x5b7413(0x15c)](_0x2660fb[_0x5b7413(0xb5)])['setTheme'](_0x24ee55);})),_0x427710[_0x367512(0x15c)](_0x2660fb[_0x367512(0x17b)])[_0x367512(0x1c0)](this[_0x367512(0x18c)][_0x367512(0x1a4)]()),_0x427710[_0x367512(0x15c)](_0x2660fb[_0x367512(0x11d)])[_0x367512(0x15e)](_0x3c76f4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x367512(0xd8)]['getConfig'](_0x3c76f4[_0x367512(0x173)]));const _0x1340d0=this[_0x367512(0xd8)]['getConfig'](_0x3b43f6['LS_CONFIG_KEY']);_0x1340d0&&_0x39b8c5[_0x367512(0x17e)](_0x3b43f6['UniverLicensePlugin'],{'license':_0x1340d0['ls']}),this[_0x367512(0xcb)][_0x367512(0x1a2)](([_0x15b5f1,_0x479b80])=>{const _0x587814=_0x367512;_0x39b8c5[_0x587814(0x17e)](_0x15b5f1,_0x479b80);}),_0x427710[_0x367512(0x1c3)](_0x294bc9=>{this['_initListener'](_0x294bc9,_0x50408a);}),this['_historyUniver$'][_0x367512(0x13b)](_0x39b8c5);const _0x2938ef=_0x427710[_0x367512(0x15c)](_0x3efc8['HistoryManagerService']),_0x4239c7=this[_0x367512(0xd3)](_0x50408a);_0x2938ef[_0x367512(0x1aa)](_0x50408a,_0x8a84b7,_0x4239c7);}[_0x55ebc3(0xc3)](_0x4baff2,_0x3343ca){const _0x3c3a43=_0x55ebc3,_0xab7436=_0x4baff2[_0x3c3a43(0x15c)](_0x3efc8[_0x3c3a43(0x1ae)]);this['_disposableCollection'][_0x3c3a43(0x1a7)](_0xab7436[_0x3c3a43(0xa2)]['subscribe'](_0x251cae=>{const _0x41e637=_0x3c3a43;switch(_0x251cae){case _0x3efc8[_0x41e637(0xe6)]['Entered']:this[_0x41e637(0x14f)][_0x41e637(0x176)](),this[_0x41e637(0x108)][_0x41e637(0x175)]();break;case _0x3efc8[_0x41e637(0xe6)][_0x41e637(0x13a)]:this[_0x41e637(0x105)][_0x41e637(0x11a)](_0x3d088c['id']),this['unMountHistoryContent']();break;case _0x3efc8['HistoryModeStatus'][_0x41e637(0x127)]:this[_0x41e637(0xc0)](),this[_0x41e637(0x1bf)][_0x41e637(0x183)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x2c73c8[_0x41e637(0x110)][_0x41e637(0x127)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x3c3a43(0x1a7)](_0xab7436[_0x3c3a43(0x111)][_0x3c3a43(0x16a)](async _0x2f9888=>{const _0x293f0c=_0x3c3a43;_0x2f9888&&this['_commandService'][_0x293f0c(0x11a)](_0x54c25f['RevertRevisionMutation']['id'],{'unitId':_0x3343ca,'revision':_0x2f9888});}));}[_0x55ebc3(0xd3)](_0x4df897){const _0x35242e=_0x55ebc3,_0x5912a8=this[_0x35242e(0x140)][_0x35242e(0x160)](_0x4df897)[_0x35242e(0xcf)]()[_0x35242e(0x163)](_0x255891=>_0x255891[_0x35242e(0x128)]()),_0x592a2e=new _0x680d09['WorkbookEditablePermission'](_0x4df897)['id'],_0x3fe398=_0x5912a8['map'](_0x3f842d=>new _0x680d09['WorksheetEditPermission'](_0x4df897,_0x3f842d)['id']),_0x16ca25=_0x5912a8['map'](_0xc80c02=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x4df897,_0xc80c02)[_0x35242e(0x163)](_0x223b8d=>new _0x680d09[(_0x35242e(0xdd))](_0x4df897,_0xc80c02,_0x223b8d[_0x35242e(0xce)])['id']))['flat'](),_0xb29e3f=new _0x680d09[(_0x35242e(0x10a))](_0x4df897)['id'];return this['_permissionService'][_0x35242e(0x1a5)]([_0x592a2e,..._0x3fe398,..._0x16ca25,_0xb29e3f])[_0x35242e(0xad)](_0x41c4a5=>!!_0x41c4a5[_0x35242e(0x154)]);}},_0x5e8394[_0x55ebc3(0xeb)]=_0x129205([_0x2c5f99(0x0,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb['LocaleService'])),_0x2c5f99(0x1,_0x2660fb[_0x55ebc3(0x10b)]),_0x2c5f99(0x2,_0x2660fb['IConfigService']),_0x2c5f99(0x3,_0x2660fb[_0x55ebc3(0x1c1)]),_0x2c5f99(0x4,_0x2c341a[_0x55ebc3(0x1bb)]),_0x2c5f99(0x5,_0x2660fb['IPermissionService']),_0x2c5f99(0x6,_0x2660fb[_0x55ebc3(0x12d)](_0x680d09[_0x55ebc3(0xac)])),_0x2c5f99(0x7,_0x2660fb[_0x55ebc3(0x12d)](_0x2c341a[_0x55ebc3(0x134)])),_0x2c5f99(0x8,_0x2660fb['Inject'](_0x2c341a[_0x55ebc3(0x196)])),_0x2c5f99(0x9,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0xb5)]))],_0x5e8394[_0x55ebc3(0xeb)]);const _0x5139fa={'id':_0x55ebc3(0xa9),'type':_0x2660fb['CommandType'][_0x55ebc3(0x102)],'handler':_0x28f16e=>{const _0x4dfec8=_0x55ebc3,_0x32c9f2=_0x28f16e[_0x4dfec8(0x15c)](_0x5e8394[_0x4dfec8(0xeb)]),_0x23e659=_0x28f16e[_0x4dfec8(0x15c)](_0x2660fb[_0x4dfec8(0x10b)]),{unitId:_0x52e808}=_0x680d09[_0x4dfec8(0x1b5)](_0x23e659)||{};return _0x52e808?(_0x32c9f2[_0x4dfec8(0x13c)](_0x52e808),!0x0):!0x1;}},_0x3d088c={'id':_0x55ebc3(0x17c),'type':_0x2660fb['CommandType'][_0x55ebc3(0x102)],'handler':()=>!0x0};function _0x45a054(_0x2c49b1){const _0x2f4938=_0x55ebc3;return{'id':_0x5139fa['id'],'type':_0x2c341a['MenuItemType']['BUTTON'],'icon':_0x2f4938(0x103),'tooltip':'editHistory.panel.title','hidden$':_0x2c341a[_0x2f4938(0x129)](_0x2c49b1,_0x2660fb[_0x2f4938(0x106)][_0x2f4938(0xfc)]),'disabled$':_0x497c8c[_0x2f4938(0xdc)](_0x2c49b1,{'workbookTypes':[_0x680d09[_0x2f4938(0x121)],_0x680d09[_0x2f4938(0x16f)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x358cdf={[_0x2c341a[_0x55ebc3(0x142)][_0x55ebc3(0xd7)]]:{[_0x5139fa['id']]:{'order':0.2,'menuItemFactory':_0x45a054}}};var _0x20b60d=Object[_0x55ebc3(0x13d)],_0x4327ac=(_0x44b6d4,_0x50b4fc,_0x75b385,_0x47ea78)=>{const _0x27ce95=_0x55ebc3;for(var _0x31c827=_0x47ea78>0x1?void 0x0:_0x47ea78?_0x20b60d(_0x50b4fc,_0x75b385):_0x50b4fc,_0xcd8ae=_0x44b6d4[_0x27ce95(0x1ac)]-0x1,_0x5a6042;_0xcd8ae>=0x0;_0xcd8ae--)(_0x5a6042=_0x44b6d4[_0xcd8ae])&&(_0x31c827=_0x5a6042(_0x31c827)||_0x31c827);return _0x31c827;},_0x1e35b7=(_0x38a52a,_0x5ad5f0)=>(_0x12767e,_0x3973b7)=>_0x5ad5f0(_0x12767e,_0x3973b7,_0x38a52a);let _0xba955f=class extends _0x2660fb['RxDisposable']{constructor(_0xa21730,_0x481158,_0x4085a0,_0x57c3a5,_0xfbf8db,_0x2cdda3,_0x223ab1,_0x338ae9){const _0x4272cd=_0x55ebc3;super(),_0x53a22d(this,'_revertErrorTimer',null),(this[_0x4272cd(0x105)]=_0xa21730,this[_0x4272cd(0x1b4)]=_0x481158,this['_componentManager']=_0x4085a0,this[_0x4272cd(0x11f)]=_0x57c3a5,this[_0x4272cd(0x18c)]=_0xfbf8db,this[_0x4272cd(0x1bf)]=_0x2cdda3,this[_0x4272cd(0xcc)]=_0x223ab1,this[_0x4272cd(0x125)]=_0x338ae9,this['_init']());}[_0x55ebc3(0x107)](){const _0x9f95c3=_0x55ebc3;[_0x5139fa,_0x3d088c][_0x9f95c3(0x1a2)](_0x20cfae=>this[_0x9f95c3(0xcd)](_0x2660fb[_0x9f95c3(0x166)](this[_0x9f95c3(0x105)][_0x9f95c3(0xbd)](_0x20cfae)))),this['disposeWithMe'](this['_componentManager']['register'](_0x9f95c3(0x103),_0x280c44)),this[_0x9f95c3(0x1b4)][_0x9f95c3(0x1b0)](_0x358cdf),this[_0x9f95c3(0xcd)](this[_0x9f95c3(0x105)]['onCommandExecuted'](_0x782ea6=>{const _0x1f9053=_0x9f95c3;if(_0x782ea6['id']===_0x54c25f['RevertRevisionMutation']['id']){this['_messageService'][_0x1f9053(0x183)]({'content':this['_localeService']['t'](_0x1f9053(0x1a1)),'type':_0x2c73c8[_0x1f9053(0x110)][_0x1f9053(0x182)],'duration':0x1388});const {unitId:_0xb12d73}=_0x782ea6[_0x1f9053(0x1af)],_0x42c2c7=this[_0x1f9053(0xcc)][_0x1f9053(0xe8)](_0xb12d73),_0x5b9f7b=_0x4c3d83['combineLatest']([_0x42c2c7[_0x1f9053(0x148)][_0x1f9053(0x1b3)],_0x42c2c7[_0x1f9053(0xc6)]])[_0x1f9053(0x16a)](async([_0x4c1130,_0x3b6406])=>{const _0x22b126=_0x1f9053;var _0x1ab868;_0x4c1130[_0x22b126(0xb0)]===_0x54c25f[_0x22b126(0x12e)][_0x22b126(0x101)]&&(_0x3b6406==null?void 0x0:_0x3b6406['status'])===_0x3c76f4['CollaborationStatus'][_0x22b126(0xa4)]&&_0x4c1130[_0x22b126(0x9d)][_0x22b126(0x124)][_0x22b126(0x184)](_0x34b58e=>_0x34b58e['id']===_0x54c25f[_0x22b126(0x151)]['id'])&&(this[_0x22b126(0x11f)][_0x22b126(0xc0)](),_0x5b9f7b[_0x22b126(0xb8)](),this[_0x22b126(0xa8)]&&clearTimeout(this['_revertErrorTimer']),await((_0x1ab868=this[_0x22b126(0x125)])==null?void 0x0:_0x1ab868[_0x22b126(0xaa)]()),setTimeout(()=>window[_0x22b126(0xb1)][_0x22b126(0xda)]()));});this[_0x1f9053(0xa8)]=setTimeout(()=>{const _0x157c3e=_0x1f9053;_0x5b9f7b[_0x157c3e(0xb8)](),this[_0x157c3e(0x1bf)][_0x157c3e(0x183)]({'content':this['_localeService']['t'](_0x157c3e(0xba)),'type':_0x2c73c8[_0x157c3e(0x110)][_0x157c3e(0x127)],'duration':0xbb8});},0x1388);}}));}};_0xba955f=_0x4327ac([_0x1e35b7(0x0,_0x2660fb[_0x55ebc3(0x1c1)]),_0x1e35b7(0x1,_0x2c341a[_0x55ebc3(0x1b9)]),_0x1e35b7(0x2,_0x2660fb['Inject'](_0x2c341a[_0x55ebc3(0x9c)])),_0x1e35b7(0x3,_0x2660fb[_0x55ebc3(0x12d)](_0x5e8394['HistoryLoaderService'])),_0x1e35b7(0x4,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0x17b)])),_0x1e35b7(0x5,_0x2c341a[_0x55ebc3(0x1bb)]),_0x1e35b7(0x6,_0x2660fb[_0x55ebc3(0x12d)](_0x3c76f4[_0x55ebc3(0x18d)])),_0x1e35b7(0x7,_0x3c76f4[_0x55ebc3(0x1b7)])],_0xba955f);var _0x53715e=Object[_0x55ebc3(0x13d)],_0x113f77=(_0xbf1fcd,_0x37416a,_0x130085,_0x45e2cb)=>{for(var _0x4b573c=_0x45e2cb>0x1?void 0x0:_0x45e2cb?_0x53715e(_0x37416a,_0x130085):_0x37416a,_0x485f94=_0xbf1fcd['length']-0x1,_0x4866a9;_0x485f94>=0x0;_0x485f94--)(_0x4866a9=_0xbf1fcd[_0x485f94])&&(_0x4b573c=_0x4866a9(_0x4b573c)||_0x4b573c);return _0x4b573c;},_0x4026df=(_0x427951,_0x1a3547)=>(_0x2f57a3,_0xfd9977)=>_0x1a3547(_0x2f57a3,_0xfd9977,_0x427951);const _0x5472f3=_0x55ebc3(0xa6);_0x5e8394['UniverEditHistoryLoaderPlugin']=(_0x583878=class extends _0x2660fb['Plugin']{constructor(_0x2b3f50=_0x187a95,_0x7919c2,_0x5d0543){const _0x4c66b2=_0x55ebc3;super(),this[_0x4c66b2(0xff)]=_0x2b3f50,this['_injector']=_0x7919c2,this[_0x4c66b2(0xd8)]=_0x5d0543;const {menu:_0x584406,..._0x7b3c45}=_0x2660fb[_0x4c66b2(0x179)]({},_0x187a95,this['_config']);_0x584406&&this['_configService']['setConfig'](_0x4c66b2(0xfe),_0x584406,{'merge':!0x0}),this[_0x4c66b2(0xd8)]['setConfig'](_0x16c33e,_0x7b3c45),this[_0x4c66b2(0xff)][_0x4c66b2(0xd2)]&&this[_0x4c66b2(0xd8)][_0x4c66b2(0x15e)](_0x3454e5,this[_0x4c66b2(0xff)]['univerContainerId']);}[_0x55ebc3(0x131)](){const _0x202d9e=_0x55ebc3;[[_0x5e8394[_0x202d9e(0xeb)]],[_0xba955f]][_0x202d9e(0x1a2)](_0x1ba95d=>this[_0x202d9e(0x132)][_0x202d9e(0x1a7)](_0x1ba95d));}[_0x55ebc3(0xe3)](){const _0x534eff=_0x55ebc3;this[_0x534eff(0x132)][_0x534eff(0x15c)](_0xba955f);}},_0x53a22d(_0x583878,_0x55ebc3(0xf6),_0x2660fb['UniverInstanceType']['UNIVER_UNKNOWN']),_0x53a22d(_0x583878,_0x55ebc3(0x19c),_0x5472f3),_0x583878),_0x5e8394['UniverEditHistoryLoaderPlugin']=_0x113f77([_0x4026df(0x1,_0x2660fb[_0x55ebc3(0x12d)](_0x2660fb[_0x55ebc3(0x119)])),_0x4026df(0x2,_0x2660fb[_0x55ebc3(0x11d)])],_0x5e8394[_0x55ebc3(0x187)]),_0x5e8394[_0x55ebc3(0x1b1)]=_0x3454e5,_0x5e8394['UNIVER_HISTORY_CONTAINER_ID']=_0x46c8c7,Object[_0x55ebc3(0x15d)](_0x5e8394,Symbol['toStringTag'],{'value':_0x55ebc3(0x146)});}));
|
|
1
|
+
(function(_0x1c796e,_0x5c7d2a){const _0x53dbaf=_0x27f3,_0x561833=_0x1c796e();while(!![]){try{const _0x13fa84=-parseInt(_0x53dbaf(0xf4))/0x1*(parseInt(_0x53dbaf(0xc3))/0x2)+parseInt(_0x53dbaf(0xca))/0x3*(-parseInt(_0x53dbaf(0x1cc))/0x4)+-parseInt(_0x53dbaf(0x19c))/0x5*(-parseInt(_0x53dbaf(0xf8))/0x6)+parseInt(_0x53dbaf(0x19e))/0x7+-parseInt(_0x53dbaf(0x1b5))/0x8+parseInt(_0x53dbaf(0x167))/0x9*(parseInt(_0x53dbaf(0x1ca))/0xa)+parseInt(_0x53dbaf(0xb9))/0xb;if(_0x13fa84===_0x5c7d2a)break;else _0x561833['push'](_0x561833['shift']());}catch(_0x536c04){_0x561833['push'](_0x561833['shift']());}}}(_0x227f,0x72404),function(_0xb2a8d3,_0xe73dfc){const _0x217551=_0x27f3;typeof exports==_0x217551(0xb0)&&typeof module<'u'?_0xe73dfc(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==_0x217551(0x1bc)&&define[_0x217551(0x103)]?define([_0x217551(0xdd),'@univerjs/core',_0x217551(0xdf),_0x217551(0x10f),_0x217551(0xf7),_0x217551(0x168),_0x217551(0x19d),_0x217551(0xeb),_0x217551(0x122),_0x217551(0x180),_0x217551(0x16e),_0x217551(0xd1),_0x217551(0xba),_0x217551(0xc6),'@univerjs-pro/sheets-sparkline',_0x217551(0xd2),_0x217551(0x1cf),'@univerjs/docs','@univerjs/docs-ui',_0x217551(0xd0),_0x217551(0x1ab),'@univerjs/engine-formula',_0x217551(0x1a2),'@univerjs/network','@univerjs/rpc',_0x217551(0x1c8),_0x217551(0x101),'@univerjs/sheets-data-validation','@univerjs/sheets-data-validation-ui',_0x217551(0x1a1),_0x217551(0xb3),'@univerjs/sheets-filter',_0x217551(0x1ba),_0x217551(0x16c),_0x217551(0x1c4),_0x217551(0x160),_0x217551(0x173),_0x217551(0xbb),_0x217551(0xd5)],_0xe73dfc):(_0xb2a8d3=typeof globalThis<'u'?globalThis:_0xb2a8d3||self,_0xe73dfc(_0xb2a8d3['UniverProEditHistoryLoader']={},_0xb2a8d3[_0x217551(0x1d5)],_0xb2a8d3[_0x217551(0x187)],_0xb2a8d3[_0x217551(0x129)],_0xb2a8d3[_0x217551(0x174)],_0xb2a8d3[_0x217551(0xfd)],_0xb2a8d3['UniverUi'],_0xb2a8d3[_0x217551(0xeb)],_0xb2a8d3[_0x217551(0x1c3)],_0xb2a8d3['UniverProEditHistoryViewer'],_0xb2a8d3[_0x217551(0x138)],_0xb2a8d3[_0x217551(0xd4)],_0xb2a8d3[_0x217551(0x120)],_0xb2a8d3[_0x217551(0x11b)],_0xb2a8d3['UniverProSheetsSparkline'],_0xb2a8d3['UniverProSheetsSparklineUi'],_0xb2a8d3['UniverDataValidation'],_0xb2a8d3['UniverDocs'],_0xb2a8d3[_0x217551(0xb7)],_0xb2a8d3[_0x217551(0x192)],_0xb2a8d3[_0x217551(0xd7)],_0xb2a8d3[_0x217551(0x12e)],_0xb2a8d3[_0x217551(0x145)],_0xb2a8d3[_0x217551(0x16b)],_0xb2a8d3[_0x217551(0xbd)],_0xb2a8d3[_0x217551(0x114)],_0xb2a8d3[_0x217551(0xf9)],_0xb2a8d3[_0x217551(0x109)],_0xb2a8d3['UniverSheetsDataValidationUi'],_0xb2a8d3['UniverSheetsDrawing'],_0xb2a8d3['UniverSheetsDrawingUi'],_0xb2a8d3[_0x217551(0xec)],_0xb2a8d3['UniverSheetsFilterUi'],_0xb2a8d3[_0x217551(0x1bd)],_0xb2a8d3[_0x217551(0x1a8)],_0xb2a8d3[_0x217551(0x1be)],_0xb2a8d3[_0x217551(0x1a7)],_0xb2a8d3[_0x217551(0x113)],_0xb2a8d3[_0x217551(0x124)]));}(this,function(_0x1fba83,_0x430170,_0x594422,_0x814518,_0x5831b2,_0x3706c0,_0x52f13e,_0x39d36c,_0x52701b,_0x3a41f9,_0x5e2d20,_0x410401,_0x1d49d4,_0x312c9b,_0x25779b,_0x1275f0,_0x240ec5,_0x501d1f,_0x33cc81,_0x3593a6,_0x375bf6,_0x526935,_0x1bd82a,_0x2586bc,_0x394d7f,_0x22a4c8,_0x1e4553,_0x397765,_0x59cdab,_0x5b6971,_0x5e0854,_0x24857e,_0x1a50f9,_0x20b3b8,_0x233022,_0x959199,_0x59f672,_0x50b189,_0x4077b3){'use strict';const _0x2dec29=_0x27f3;var _0x4df236=Object[_0x2dec29(0x146)],_0x1a28d4=(_0x5ece24,_0x1f8169,_0x3a68ae)=>_0x1f8169 in _0x5ece24?_0x4df236(_0x5ece24,_0x1f8169,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a68ae}):_0x5ece24[_0x1f8169]=_0x3a68ae,_0x5b0960=(_0x16cba2,_0x390879,_0x27a34d)=>_0x1a28d4(_0x16cba2,typeof _0x390879!=_0x2dec29(0x1b9)?_0x390879+'':_0x390879,_0x27a34d),_0x261e00;const _0x2bce9c=_0x2dec29(0x170),_0x3e313f={};function _0x2762b3({ref:_0x26d42a,..._0x1158e7}){const _0x9db4d=_0x2dec29,{icon:_0x33b6e9,id:_0x3da84a,className:_0x456811,extend:_0x5b1015,..._0x2162ff}=_0x1158e7,_0x42fdbf=(_0x9db4d(0xae)+_0x3da84a+'\x20'+(_0x456811||''))[_0x9db4d(0x143)](),_0x50a449=_0x3706c0[_0x9db4d(0x190)]('_'+_0x185273());return _0x567818(_0x33b6e9,''+_0x3da84a,{'defIds':_0x33b6e9[_0x9db4d(0x182)],'idSuffix':_0x50a449[_0x9db4d(0x181)]},{'ref':_0x26d42a,'className':_0x42fdbf,..._0x2162ff},_0x5b1015);}function _0x567818(_0x4ae9b3,_0x3fa3a3,_0x2896fe,_0xdd4c04,_0x5957d3){const _0x12fd08=_0x2dec29;return _0x3706c0[_0x12fd08(0xbe)](_0x4ae9b3[_0x12fd08(0x1a9)],{'key':_0x3fa3a3,..._0x2cb34b(_0x4ae9b3,_0x2896fe,_0x5957d3),..._0xdd4c04},(_0x55bcc4(_0x4ae9b3,_0x2896fe)[_0x12fd08(0x112)]||[])[_0x12fd08(0xdb)]((_0x5926ee,_0x8fff9d)=>_0x567818(_0x5926ee,_0x3fa3a3+'-'+_0x4ae9b3['tag']+'-'+_0x8fff9d,_0x2896fe,void 0x0,_0x5957d3)));}function _0x2cb34b(_0x553ff5,_0x9bb5d3,_0x447231){const _0x1fbe79=_0x2dec29,_0x4746b1={..._0x553ff5[_0x1fbe79(0xe4)]};_0x447231!=null&&_0x447231['colorChannel1']&&_0x4746b1[_0x1fbe79(0x13e)]===_0x1fbe79(0x1d1)&&(_0x4746b1[_0x1fbe79(0x13e)]=_0x447231['colorChannel1']),_0x553ff5[_0x1fbe79(0x1a9)]==='mask'&&_0x4746b1['id']&&(_0x4746b1['id']=_0x4746b1['id']+_0x9bb5d3[_0x1fbe79(0x100)]),Object[_0x1fbe79(0x132)](_0x4746b1)[_0x1fbe79(0x128)](([_0x45223a,_0x88df7e])=>{const _0x3580c2=_0x1fbe79;_0x45223a===_0x3580c2(0xd9)&&typeof _0x88df7e==_0x3580c2(0x191)&&(_0x4746b1[_0x45223a]=_0x88df7e[_0x3580c2(0x17b)](/url\(#(.*)\)/,_0x3580c2(0x1a5)+_0x9bb5d3[_0x3580c2(0x100)]+')'));});const {defIds:_0x5ba48b}=_0x9bb5d3;return!_0x5ba48b||_0x5ba48b[_0x1fbe79(0xfe)]===0x0||(_0x553ff5[_0x1fbe79(0x1a9)]===_0x1fbe79(0x135)&&_0x4746b1[_0x1fbe79(0x1af)]&&(_0x4746b1[_0x1fbe79(0x1af)]=_0x4746b1[_0x1fbe79(0x1af)]+_0x9bb5d3[_0x1fbe79(0x100)]),Object['entries'](_0x4746b1)[_0x1fbe79(0x128)](([_0x17ea11,_0x2e3f28])=>{const _0x573968=_0x1fbe79;typeof _0x2e3f28=='string'&&(_0x4746b1[_0x17ea11]=_0x2e3f28[_0x573968(0x17b)](/url\(#(.*)\)/,_0x573968(0x1a5)+_0x9bb5d3[_0x573968(0x100)]+')'));})),_0x4746b1;}function _0x55bcc4(_0x2d7f4e,_0x40cd62){const _0x26fe7c=_0x2dec29;var _0x3408be;const {defIds:_0x26d448}=_0x40cd62;return!_0x26d448||_0x26d448['length']===0x0?_0x2d7f4e:_0x2d7f4e['tag']===_0x26fe7c(0x18b)&&((_0x3408be=_0x2d7f4e[_0x26fe7c(0x112)])!=null&&_0x3408be['length'])?{..._0x2d7f4e,'children':_0x2d7f4e['children'][_0x26fe7c(0xdb)](_0x3b784a=>typeof _0x3b784a[_0x26fe7c(0xe4)]['id']=='string'&&_0x26d448&&_0x26d448[_0x26fe7c(0xc8)](_0x3b784a[_0x26fe7c(0xe4)]['id'])?{..._0x3b784a,'attrs':{..._0x3b784a[_0x26fe7c(0xe4)],'id':_0x3b784a[_0x26fe7c(0xe4)]['id']+_0x40cd62['idSuffix']}}:_0x3b784a)}:_0x2d7f4e;}function _0x185273(){const _0x3c2c74=_0x2dec29;return Math[_0x3c2c74(0x14d)]()[_0x3c2c74(0x1aa)](0x24)[_0x3c2c74(0xd3)](0x2,0x8);}_0x2762b3[_0x2dec29(0x151)]=_0x2dec29(0x139);const _0x2fc6c7={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2dec29(0x107),'height':_0x2dec29(0x107)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x2dec29(0x166)}},{'tag':'path','attrs':{'d':_0x2dec29(0xc7)}}]},{'tag':_0x2dec29(0x18b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2dec29(0x16d)},'children':[{'tag':_0x2dec29(0x15f),'attrs':{'fill':'white','d':_0x2dec29(0x142)}}]}]}],'defIds':[_0x2dec29(0x16d)]},_0x3b48e4=_0x3706c0['forwardRef'](function(_0x1790ac,_0xcdb27f){const _0x1276ef=_0x2dec29;return _0x3706c0[_0x1276ef(0xbe)](_0x2762b3,Object['assign']({},_0x1790ac,{'id':_0x1276ef(0x115),'ref':_0xcdb27f,'icon':_0x2fc6c7}));});_0x3b48e4[_0x2dec29(0x151)]=_0x2dec29(0xf1);var _0x51ee70=Object['getOwnPropertyDescriptor'],_0x530b54=(_0x143d19,_0x188cb0,_0x3b0f2a,_0x457e49)=>{const _0x49f22a=_0x2dec29;for(var _0x62b3c7=_0x457e49>0x1?void 0x0:_0x457e49?_0x51ee70(_0x188cb0,_0x3b0f2a):_0x188cb0,_0x3534dd=_0x143d19[_0x49f22a(0xfe)]-0x1,_0x35bf1e;_0x3534dd>=0x0;_0x3534dd--)(_0x35bf1e=_0x143d19[_0x3534dd])&&(_0x62b3c7=_0x35bf1e(_0x62b3c7)||_0x62b3c7);return _0x62b3c7;},_0x5c6571=(_0x209a16,_0x121003)=>(_0x3f4bb7,_0x5b429c)=>_0x121003(_0x3f4bb7,_0x5b429c,_0x209a16);const _0x901fbe=_0x2dec29(0x1a4),_0x52423b=_0x2dec29(0x108),_0x86c439=_0x2dec29(0x176);_0x1fba83[_0x2dec29(0x15a)]=class extends _0x430170['Disposable']{constructor(_0x5f7107,_0x3d579d,_0x261b8b,_0x2d33a5,_0x1e7265,_0xad682c,_0x32faa1,_0xe7f6e2,_0x476e63,_0x59e2d6){const _0x42e0df=_0x2dec29;super(),_0x5b0960(this,_0x42e0df(0xbf),new _0x39d36c['BehaviorSubject'](null)),_0x5b0960(this,_0x42e0df(0x133),this[_0x42e0df(0xbf)][_0x42e0df(0xe3)]()),_0x5b0960(this,_0x42e0df(0xe8),new _0x430170['DisposableCollection']()),_0x5b0960(this,_0x42e0df(0xb2),new Map()),(this['_localeService']=_0x5f7107,this[_0x42e0df(0x13a)]=_0x3d579d,this['_configService']=_0x261b8b,this[_0x42e0df(0x15e)]=_0x2d33a5,this[_0x42e0df(0x18d)]=_0x1e7265,this[_0x42e0df(0x16a)]=_0xad682c,this[_0x42e0df(0xe5)]=_0x32faa1,this[_0x42e0df(0x19a)]=_0xe7f6e2,this[_0x42e0df(0x1c7)]=_0x476e63,this[_0x42e0df(0x165)]=_0x59e2d6,this[_0x42e0df(0x10e)]());}get[_0x2dec29(0xf6)](){const _0x4e6a8f=_0x2dec29;return this[_0x4e6a8f(0xbf)]['value'];}['_init'](){const _0x190923=_0x2dec29;this[_0x190923(0x1b3)](),this[_0x190923(0x1d0)]();}[_0x2dec29(0x1b3)](){const _0x248e30=_0x2dec29;var _0xae5f23;const _0x296b48=(_0xae5f23=this[_0x248e30(0x149)][_0x248e30(0x15c)](_0x52423b))!=null?_0xae5f23:_0x901fbe,_0x4d97cb=document[_0x248e30(0x11e)](_0x296b48);if(!_0x4d97cb)return;const _0x34f666=document[_0x248e30(0xbe)](_0x248e30(0x13f));_0x34f666['id']=_0x86c439,_0x34f666[_0x248e30(0x1a0)]['uComp']='history-container',_0x34f666[_0x248e30(0x150)][_0x248e30(0x1c1)]=_0x248e30(0x12b),_0x34f666[_0x248e30(0x150)][_0x248e30(0x1d4)]='0',_0x34f666['style'][_0x248e30(0x163)]='0',_0x34f666[_0x248e30(0x150)]['width']='100%',_0x34f666[_0x248e30(0x150)]['height']=_0x248e30(0xfc),_0x34f666['style'][_0x248e30(0x152)]=_0x248e30(0xbc),_0x34f666[_0x248e30(0x150)][_0x248e30(0x1cb)]=_0x248e30(0xd6),_0x4d97cb[_0x248e30(0x162)](_0x34f666);}[_0x2dec29(0x1d0)](){const _0x2c422a=_0x2dec29;var _0x48958f,_0x2a1380,_0x258aed,_0x1a0f44;[[_0x1bd82a[_0x2c422a(0xad)]],[_0x52f13e[_0x2c422a(0x18a)],{'container':_0x86c439,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x52f13e[_0x2c422a(0x1b7)],null]]}],[_0x2586bc['UniverNetworkPlugin']],[_0x3593a6[_0x2c422a(0x17d)],{'override':[[_0x3593a6[_0x2c422a(0x1c9)],null]]}],[_0x501d1f[_0x2c422a(0x140)],{'hasScroll':!0x1}],[_0x33cc81[_0x2c422a(0xc1)]],[_0x50b189[_0x2c422a(0x1ce)]],[_0x52701b['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x4077b3[_0x2c422a(0xb5)]],[_0x20b3b8['UniverSheetsFormulaPlugin']],[_0x233022['UniverSheetsFormulaUIPlugin']],[_0x594422['UniverCollaborationPlugin']],[_0x24857e[_0x2c422a(0xf3)]],[_0x1a50f9['UniverSheetsFilterUIPlugin']],[_0x22a4c8['UniverSheetsConditionalFormattingPlugin']],[_0x1e4553[_0x2c422a(0x12f)]],[_0x959199[_0x2c422a(0xe7)]],[_0x59f672['UniverSheetsHyperLinkUIPlugin']],[_0x240ec5[_0x2c422a(0x1cd)]],[_0x397765[_0x2c422a(0x1b2)]],[_0x59cdab[_0x2c422a(0x1c5)]],[_0x526935['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x394d7f[_0x2c422a(0x175)],{'workerURL':(_0x2a1380=(_0x48958f=this[_0x2c422a(0x149)][_0x2c422a(0x15c)](_0x394d7f[_0x2c422a(0xb4)]))==null?void 0x0:_0x48958f[_0x2c422a(0x12d)])!=null?_0x2a1380:_0x2c422a(0x12a)}],[_0x375bf6[_0x2c422a(0xfa)]],[_0x5b6971[_0x2c422a(0xf2)]],[_0x5e0854[_0x2c422a(0x19b)]],[_0x25779b[_0x2c422a(0x154)]],[_0x1275f0['UniverSheetSparklineUIPlugin']],[_0x410401[_0x2c422a(0x164)]],[_0x1d49d4[_0x2c422a(0xe6)]],[_0x312c9b[_0x2c422a(0x123)],{'notExecuteFormula':!0x0}],[_0x3a41f9['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x258aed=this[_0x2c422a(0x149)]['getConfig'](_0x2bce9c))==null?void 0x0:_0x258aed[_0x2c422a(0xc9)],'historyPanelComponentKey':(_0x1a0f44=this['_configService'][_0x2c422a(0x15c)](_0x2bce9c))==null?void 0x0:_0x1a0f44[_0x2c422a(0x125)]}]][_0x2c422a(0x128)](([_0x823d30,_0x12b73c])=>this['registerPlugin'](_0x823d30,_0x12b73c));}[_0x2dec29(0x17c)](){const _0x3c9539=_0x2dec29;super[_0x3c9539(0x17c)](),this['unMountHistoryContent'](),this[_0x3c9539(0xb2)]['clear']();}['registerPlugin'](_0xd02a6b,_0x4bdb00,_0x868359){const _0x54e12a=_0x2dec29;if(this[_0x54e12a(0xb2)]['has'](_0xd02a6b['pluginName'])&&!_0x868359)throw new Error(_0x54e12a(0x1b8)+_0xd02a6b[_0x54e12a(0xde)]+'\x20has\x20been\x20registered.');this[_0x54e12a(0xb2)][_0x54e12a(0xcd)](_0xd02a6b[_0x54e12a(0xde)],[_0xd02a6b,_0x4bdb00]);}[_0x2dec29(0x1bb)](){const _0x47c7c4=_0x2dec29;return Array[_0x47c7c4(0x177)](this[_0x47c7c4(0xb2)][_0x47c7c4(0x105)]());}[_0x2dec29(0xe1)](_0x36f454){const _0x25af01=_0x2dec29,_0x52ad40=document[_0x25af01(0x11e)](_0x86c439);_0x52ad40&&(_0x52ad40['style'][_0x25af01(0x1cb)]=_0x25af01(0xc4),this[_0x25af01(0x17f)](_0x36f454,_0x86c439));}[_0x2dec29(0x14e)](){const _0x4dd1c8=_0x2dec29;var _0x3c8ac9;this['_disposableCollection'][_0x4dd1c8(0x17c)](),(_0x3c8ac9=this['historyUniver'])==null||_0x3c8ac9['dispose'](),this[_0x4dd1c8(0xbf)][_0x4dd1c8(0x19f)](null);const _0x21a5b1=document[_0x4dd1c8(0x11e)](_0x86c439);_0x21a5b1&&(_0x21a5b1[_0x4dd1c8(0x150)][_0x4dd1c8(0x1cb)]=_0x4dd1c8(0xd6));}[_0x2dec29(0x17f)](_0x55bb44,_0x3a623c){const _0x12acc0=_0x2dec29;if(this[_0x12acc0(0xf6)])return;const _0x5c6c69=new _0x430170[(_0x12acc0(0x1c2))]({'locales':{[this['_localeService']['getCurrentLocale']()]:this[_0x12acc0(0x169)][_0x12acc0(0xed)]()},'override':[[_0x430170[_0x12acc0(0x11d)],{'useClass':_0x814518[_0x12acc0(0x10c)]}]]}),_0x1aabce=_0x5c6c69[_0x12acc0(0xea)]();this['disposeWithMe'](this['_themeService'][_0x12acc0(0x15d)][_0x12acc0(0x126)](_0x53c859=>{const _0x48326d=_0x12acc0;_0x1aabce[_0x48326d(0x155)](_0x430170[_0x48326d(0x189)])[_0x48326d(0x136)](_0x53c859);})),this[_0x12acc0(0x1ad)](this[_0x12acc0(0x165)]['currentTheme$']['subscribe'](_0x88e458=>{const _0x1df06c=_0x12acc0;_0x1aabce[_0x1df06c(0x155)](_0x430170['ThemeService'])[_0x1df06c(0x194)](_0x88e458);})),_0x1aabce[_0x12acc0(0x155)](_0x430170[_0x12acc0(0x144)])[_0x12acc0(0x171)](this[_0x12acc0(0x169)][_0x12acc0(0x1ae)]()),_0x1aabce['get'](_0x430170[_0x12acc0(0x118)])[_0x12acc0(0xff)](_0x814518[_0x12acc0(0x14c)],this['_configService']['getConfig'](_0x814518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x1fc411=this[_0x12acc0(0x149)][_0x12acc0(0x15c)](_0x5e2d20[_0x12acc0(0xd8)]);_0x1fc411&&_0x5c6c69[_0x12acc0(0xb8)](_0x5e2d20['UniverLicensePlugin'],{'license':_0x1fc411['ls']}),this[_0x12acc0(0xb2)][_0x12acc0(0x128)](([_0x2c7c5a,_0x414b36])=>{const _0x205213=_0x12acc0;_0x5c6c69[_0x205213(0xb8)](_0x2c7c5a,_0x414b36);}),_0x1aabce[_0x12acc0(0x137)](_0x41bc5c=>{const _0xdd129e=_0x12acc0;this[_0xdd129e(0x14b)](_0x41bc5c,_0x55bb44);}),this[_0x12acc0(0xbf)]['next'](_0x5c6c69);const _0x55b1c2=_0x1aabce[_0x12acc0(0x155)](_0x3a41f9[_0x12acc0(0xaf)]),_0x4f0ac4=this[_0x12acc0(0x17e)](_0x55bb44);_0x55b1c2[_0x12acc0(0x10d)](_0x55bb44,_0x3a623c,_0x4f0ac4);}['_initListener'](_0xb6a94b,_0x5f1d75){const _0x418579=_0x2dec29,_0x5cb2e9=_0xb6a94b[_0x418579(0x155)](_0x3a41f9['HistoryManagerService']);this['_disposableCollection'][_0x418579(0x13b)](_0x5cb2e9[_0x418579(0x197)][_0x418579(0x126)](_0x3b3017=>{const _0xdba1a0=_0x418579;switch(_0x3b3017){case _0x3a41f9[_0xdba1a0(0x178)][_0xdba1a0(0x147)]:this[_0xdba1a0(0x19a)][_0xdba1a0(0xb1)](),this[_0xdba1a0(0x1c7)][_0xdba1a0(0x116)]();break;case _0x3a41f9[_0xdba1a0(0x178)]['Exited']:this[_0xdba1a0(0x15e)][_0xdba1a0(0xee)](_0x30d970['id']),this[_0xdba1a0(0x14e)]();break;case _0x3a41f9[_0xdba1a0(0x178)][_0xdba1a0(0x14a)]:this['unMountHistoryContent'](),this[_0xdba1a0(0x18d)][_0xdba1a0(0x11a)]({'content':this[_0xdba1a0(0x169)]['t'](_0xdba1a0(0xe9)),'type':_0x5831b2[_0xdba1a0(0x130)][_0xdba1a0(0x14a)],'duration':0xbb8});break;}})),this[_0x418579(0xe8)][_0x418579(0x13b)](_0x5cb2e9[_0x418579(0x1bf)][_0x418579(0x126)](async _0x155c33=>{const _0x5d3c79=_0x418579;_0x155c33&&this['_commandService'][_0x5d3c79(0xee)](_0x594422[_0x5d3c79(0x1d3)]['id'],{'unitId':_0x5f1d75,'revision':_0x155c33});}));}[_0x2dec29(0x17e)](_0x40c5c7){const _0x283f51=_0x2dec29,_0x3d927=this[_0x283f51(0x13a)][_0x283f51(0x196)](_0x40c5c7)['getSheets']()['map'](_0x34385a=>_0x34385a['getSheetId']()),_0x17f94a=new _0x52701b['WorkbookEditablePermission'](_0x40c5c7)['id'],_0x57db74=_0x3d927[_0x283f51(0xdb)](_0x52b1f7=>new _0x52701b[(_0x283f51(0x1b0))](_0x40c5c7,_0x52b1f7)['id']),_0x4683e1=_0x3d927[_0x283f51(0xdb)](_0x40d70c=>this[_0x283f51(0xe5)][_0x283f51(0xce)](_0x40c5c7,_0x40d70c)[_0x283f51(0xdb)](_0x1629b0=>new _0x52701b[(_0x283f51(0x161))](_0x40c5c7,_0x40d70c,_0x1629b0[_0x283f51(0xcb)])['id']))[_0x283f51(0x153)](),_0x2d7713=new _0x52701b[(_0x283f51(0x131))](_0x40c5c7)['id'];return this[_0x283f51(0x16a)][_0x283f51(0x134)]([_0x17f94a,..._0x57db74,..._0x4683e1,_0x2d7713])[_0x283f51(0x18e)](_0x13f873=>!!_0x13f873[_0x283f51(0x12c)]);}},_0x1fba83[_0x2dec29(0x15a)]=_0x530b54([_0x5c6571(0x0,_0x430170[_0x2dec29(0xda)](_0x430170['LocaleService'])),_0x5c6571(0x1,_0x430170[_0x2dec29(0x141)]),_0x5c6571(0x2,_0x430170[_0x2dec29(0x118)]),_0x5c6571(0x3,_0x430170[_0x2dec29(0x183)]),_0x5c6571(0x4,_0x52f13e['IMessageService']),_0x5c6571(0x5,_0x430170[_0x2dec29(0xcf)]),_0x5c6571(0x6,_0x430170[_0x2dec29(0xda)](_0x52701b['RangeProtectionRuleModel'])),_0x5c6571(0x7,_0x430170[_0x2dec29(0xda)](_0x52f13e['IDialogService'])),_0x5c6571(0x8,_0x430170['Inject'](_0x52f13e['ISidebarService'])),_0x5c6571(0x9,_0x430170[_0x2dec29(0xda)](_0x430170[_0x2dec29(0x189)]))],_0x1fba83[_0x2dec29(0x15a)]);const _0x1beda3={'id':_0x2dec29(0x18c),'type':_0x430170[_0x2dec29(0x104)][_0x2dec29(0x1d2)],'handler':_0x500488=>{const _0x1476a5=_0x2dec29,_0x398a5f=_0x500488['get'](_0x1fba83[_0x1476a5(0x15a)]),_0x47068a=_0x500488[_0x1476a5(0x155)](_0x430170['IUniverInstanceService']),{unitId:_0x4db25d}=_0x52701b['getSheetCommandTarget'](_0x47068a)||{};return _0x4db25d?(_0x398a5f[_0x1476a5(0xe1)](_0x4db25d),!0x0):!0x1;}},_0x30d970={'id':_0x2dec29(0x1a6),'type':_0x430170['CommandType'][_0x2dec29(0x1d2)],'handler':()=>!0x0};function _0x308fe0(_0x4a0744){const _0x36aa08=_0x2dec29;return{'id':_0x1beda3['id'],'type':_0x52f13e[_0x36aa08(0xc2)][_0x36aa08(0x117)],'icon':_0x36aa08(0xf1),'tooltip':_0x36aa08(0x13c),'hidden$':_0x52f13e[_0x36aa08(0x157)](_0x4a0744,_0x430170[_0x36aa08(0xc5)][_0x36aa08(0xe2)]),'disabled$':_0x4077b3[_0x36aa08(0x17a)](_0x4a0744,{'workbookTypes':[_0x52701b[_0x36aa08(0x188)],_0x52701b[_0x36aa08(0x121)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4fbebe={[_0x52f13e['RibbonStartGroup'][_0x2dec29(0x185)]]:{[_0x1beda3['id']]:{'order':0.2,'menuItemFactory':_0x308fe0}}};var _0x25aa74=Object['getOwnPropertyDescriptor'],_0x125bc5=(_0xd7448c,_0x386cdf,_0x4fe9a2,_0x4cd8b7)=>{const _0x239aee=_0x2dec29;for(var _0x3d410a=_0x4cd8b7>0x1?void 0x0:_0x4cd8b7?_0x25aa74(_0x386cdf,_0x4fe9a2):_0x386cdf,_0x29680a=_0xd7448c[_0x239aee(0xfe)]-0x1,_0x58c3e3;_0x29680a>=0x0;_0x29680a--)(_0x58c3e3=_0xd7448c[_0x29680a])&&(_0x3d410a=_0x58c3e3(_0x3d410a)||_0x3d410a);return _0x3d410a;},_0x1b89d4=(_0x26bf49,_0xb81050)=>(_0x1427f2,_0x3e4d3c)=>_0xb81050(_0x1427f2,_0x3e4d3c,_0x26bf49);let _0x2f056a=class extends _0x430170[_0x2dec29(0x195)]{constructor(_0x238544,_0xa82648,_0x48c257,_0x146fcc,_0x55b397,_0x4810e3,_0x720a8,_0x388310){const _0x57ecff=_0x2dec29;super(),_0x5b0960(this,_0x57ecff(0x1b4),null),(this['_commandService']=_0x238544,this[_0x57ecff(0x179)]=_0xa82648,this['_componentManager']=_0x48c257,this[_0x57ecff(0x119)]=_0x146fcc,this[_0x57ecff(0x169)]=_0x55b397,this[_0x57ecff(0x18d)]=_0x4810e3,this[_0x57ecff(0x13d)]=_0x720a8,this[_0x57ecff(0x199)]=_0x388310,this[_0x57ecff(0x10e)]());}['_init'](){const _0xc45108=_0x2dec29;[_0x1beda3,_0x30d970][_0xc45108(0x128)](_0x32c4c4=>this[_0xc45108(0x1ad)](_0x430170[_0xc45108(0x10a)](this[_0xc45108(0x15e)]['registerCommand'](_0x32c4c4)))),this['disposeWithMe'](this['_componentManager']['register'](_0xc45108(0xf1),_0x3b48e4)),this[_0xc45108(0x179)][_0xc45108(0x14f)](_0x4fbebe),this['disposeWithMe'](this[_0xc45108(0x15e)]['onCommandExecuted'](_0xcf2915=>{const _0x45d660=_0xc45108;if(_0xcf2915['id']===_0x594422[_0x45d660(0x1d3)]['id']){this[_0x45d660(0x18d)][_0x45d660(0x11a)]({'content':this[_0x45d660(0x169)]['t']('editHistory.panel.reverting'),'type':_0x5831b2[_0x45d660(0x130)][_0x45d660(0x16f)],'duration':0x1388});const {unitId:_0x415516}=_0xcf2915[_0x45d660(0xf5)],_0x186f14=this[_0x45d660(0x13d)][_0x45d660(0xfb)](_0x415516),_0x39fa9b=_0x39d36c[_0x45d660(0xf0)]([_0x186f14[_0x45d660(0x10b)][_0x45d660(0x18f)],_0x186f14[_0x45d660(0x184)]])['subscribe'](async([_0x4a44b8,_0x143619])=>{const _0x54ca9a=_0x45d660;var _0x23e10b;_0x4a44b8[_0x54ca9a(0x1b1)]===_0x594422['CollaborationEvent'][_0x54ca9a(0xef)]&&(_0x143619==null?void 0x0:_0x143619[_0x54ca9a(0xcc)])===_0x814518[_0x54ca9a(0xdc)][_0x54ca9a(0x156)]&&_0x4a44b8[_0x54ca9a(0xc0)][_0x54ca9a(0x159)][_0x54ca9a(0xe0)](_0x72fb4f=>_0x72fb4f['id']===_0x594422[_0x54ca9a(0x1d3)]['id'])&&(this[_0x54ca9a(0x119)][_0x54ca9a(0x14e)](),_0x39fa9b[_0x54ca9a(0x106)](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x23e10b=this[_0x54ca9a(0x199)])==null?void 0x0:_0x23e10b['exhaustSavingTask']()),setTimeout(()=>window['location'][_0x54ca9a(0x11f)]()));});this[_0x45d660(0x1b4)]=setTimeout(()=>{const _0x4f6497=_0x45d660;_0x39fa9b[_0x4f6497(0x106)](),this[_0x4f6497(0x18d)][_0x4f6497(0x11a)]({'content':this[_0x4f6497(0x169)]['t']('editHistory.panel.revertFailed'),'type':_0x5831b2[_0x4f6497(0x130)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x2f056a=_0x125bc5([_0x1b89d4(0x0,_0x430170['ICommandService']),_0x1b89d4(0x1,_0x52f13e[_0x2dec29(0x1c0)]),_0x1b89d4(0x2,_0x430170['Inject'](_0x52f13e[_0x2dec29(0x193)])),_0x1b89d4(0x3,_0x430170[_0x2dec29(0xda)](_0x1fba83[_0x2dec29(0x15a)])),_0x1b89d4(0x4,_0x430170[_0x2dec29(0xda)](_0x430170[_0x2dec29(0x144)])),_0x1b89d4(0x5,_0x52f13e[_0x2dec29(0x127)]),_0x1b89d4(0x6,_0x430170[_0x2dec29(0xda)](_0x814518['CollaborationController'])),_0x1b89d4(0x7,_0x814518['ILocalCacheService'])],_0x2f056a);var _0x18d233=Object[_0x2dec29(0x198)],_0x143a90=(_0x22996d,_0x2f5b21,_0x2f6905,_0x2cf914)=>{const _0x39101c=_0x2dec29;for(var _0x4accf2=_0x2cf914>0x1?void 0x0:_0x2cf914?_0x18d233(_0x2f5b21,_0x2f6905):_0x2f5b21,_0x464aa3=_0x22996d[_0x39101c(0xfe)]-0x1,_0x49d24d;_0x464aa3>=0x0;_0x464aa3--)(_0x49d24d=_0x22996d[_0x464aa3])&&(_0x4accf2=_0x49d24d(_0x4accf2)||_0x4accf2);return _0x4accf2;},_0x377fd6=(_0x38cc53,_0x2a67f7)=>(_0x3395e0,_0x54441d)=>_0x2a67f7(_0x3395e0,_0x54441d,_0x38cc53);const _0x3b33a2='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x1fba83[_0x2dec29(0x15b)]=(_0x261e00=class extends _0x430170[_0x2dec29(0x186)]{constructor(_0x3112de=_0x3e313f,_0x7cd36b,_0x5c38fc){const _0x4ed2df=_0x2dec29;super(),this[_0x4ed2df(0x148)]=_0x3112de,this[_0x4ed2df(0x111)]=_0x7cd36b,this[_0x4ed2df(0x149)]=_0x5c38fc;const {menu:_0x1ca300,..._0x52a30f}=_0x430170[_0x4ed2df(0x1a3)]({},_0x3e313f,this['_config']);_0x1ca300&&this[_0x4ed2df(0x149)][_0x4ed2df(0xff)](_0x4ed2df(0x1ac),_0x1ca300,{'merge':!0x0}),this[_0x4ed2df(0x149)][_0x4ed2df(0xff)](_0x2bce9c,_0x52a30f),this[_0x4ed2df(0x148)][_0x4ed2df(0x102)]&&this[_0x4ed2df(0x149)][_0x4ed2df(0xff)](_0x52423b,this[_0x4ed2df(0x148)][_0x4ed2df(0x102)]);}[_0x2dec29(0x172)](){const _0x414060=_0x2dec29;[[_0x1fba83[_0x414060(0x15a)]],[_0x2f056a]][_0x414060(0x128)](_0x1aa42b=>this[_0x414060(0x111)]['add'](_0x1aa42b));}[_0x2dec29(0xb6)](){const _0x5dfa5a=_0x2dec29;this[_0x5dfa5a(0x111)][_0x5dfa5a(0x155)](_0x2f056a);}},_0x5b0960(_0x261e00,'type',_0x430170[_0x2dec29(0xc5)]['UNIVER_UNKNOWN']),_0x5b0960(_0x261e00,'pluginName',_0x3b33a2),_0x261e00),_0x1fba83[_0x2dec29(0x15b)]=_0x143a90([_0x377fd6(0x1,_0x430170[_0x2dec29(0xda)](_0x430170[_0x2dec29(0x1b6)])),_0x377fd6(0x2,_0x430170[_0x2dec29(0x118)])],_0x1fba83[_0x2dec29(0x15b)]),_0x1fba83[_0x2dec29(0x11c)]=_0x52423b,_0x1fba83[_0x2dec29(0x110)]=_0x86c439,Object[_0x2dec29(0x146)](_0x1fba83,Symbol[_0x2dec29(0x158)],{'value':_0x2dec29(0x1c6)});}));function _0x27f3(_0x49d455,_0x511e08){_0x49d455=_0x49d455-0xad;const _0x227f66=_0x227f();let _0x27f3dc=_0x227f66[_0x49d455];return _0x27f3dc;}function _0x227f(){const _0xbc4e6b=['session','AuthzIoHttpService','triggerLoadVersions','_init','@univerjs-pro/collaboration-client','UNIVER_HISTORY_CONTAINER_ID','_injector','children','UniverSheetsNumfmt','UniverSheetsConditionalFormatting','history-icon','close','BUTTON','IConfigService','_historyManagerService','show','UniverProSheetsPivot','UNIVER_CONTAINER_ID_KEY','IAuthzIoService','getElementById','reload','UniverProSheetsChartUi','WorkbookViewHistoryPermission','@univerjs/sheets','UniverSheetsPivotTablePlugin','UniverSheetsUi','historyPanelComponentKey','subscribe','IMessageService','forEach','UniverProCollaborationClient','./worker.js','absolute','value','workerURL','UniverEngineFormula','UniverSheetsConditionalFormattingUIPlugin','MessageType','WorkbookRecoverHistoryPermission','entries','historyUniver$','composePermission','use','setDarkMode','invoke','UniverProLicense','UniverIcon','_univerInstanceService','add','editHistory.panel.title','_collaborationController','fill','div','UniverDocsPlugin','IUniverInstanceService','M0\x200H16V16H0z','trim','LocaleService','UniverEngineRender','defineProperty','Entered','_config','_configService','Error','_initListener','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','random','unMountHistoryContent','mergeMenu','style','displayName','zIndex','flat','UniverSheetSparklinePlugin','get','SYNCED','getMenuHiddenObservable','toStringTag','mutations','HistoryLoaderService','UniverEditHistoryLoaderPlugin','getConfig','darkMode$','_commandService','path','@univerjs/sheets-hyper-link','RangeProtectionPermissionEditPoint','appendChild','left','UniverSheetsChartPlugin','_themeService','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','7146BpRlXy','react','_localeService','_permissionService','UniverNetwork','@univerjs/sheets-formula','history-icon_clip0_907_281','@univerjs-pro/license','Loading','edit-history-loader.config','setLocale','onStarting','@univerjs/sheets-hyper-link-ui','UniverDesign','UniverRPCMainThreadPlugin','univer-history-container','from','HistoryModeStatus','_menuManagerService','getCurrentRangeDisable$','replace','dispose','UniverDrawingPlugin','_checkCanRevert','_initUniver','@univerjs-pro/edit-history-viewer','current','defIds','ICommandService','state$','OTHERS','Plugin','UniverProCollaboration','WorkbookEditablePermission','ThemeService','UniverUIPlugin','defs','univer.operation.toggle-edit-history','_messageService','every','event$','useRef','string','UniverDrawing','ComponentManager','setTheme','RxDisposable','getUnit','status$','getOwnPropertyDescriptor','_localCacheService','_dialogService','UniverSheetsDrawingUIPlugin','85160aAdxWQ','@univerjs/ui','5089420ekKJsd','next','dataset','@univerjs/sheets-drawing','@univerjs/engine-render','merge','univer-container','url(#$1','univer.operation.exit-edit-history','UniverSheetsHyperLinkUi','UniverSheetsFormulaUi','tag','toString','@univerjs/drawing-ui','menu','disposeWithMe','getCurrentLocale','xlink:href','WorksheetEditPermission','eventID','UniverSheetsDataValidationPlugin','_initContainer','_revertErrorTimer','5365328mdDJFV','Injector','IDialogService','[HistoryLoaderService]:\x20Plugin\x20','symbol','@univerjs/sheets-filter-ui','getAllPlugins','function','UniverSheetsFormula','UniverSheetsHyperLink','revertRevision$','IMenuManagerService','position','Univer','UniverSheets','@univerjs/sheets-formula-ui','UniverSheetsDataValidationUIPlugin','Module','_sidebarService','@univerjs/sheets-conditional-formatting','IImageIoService','470LhHYNA','display','52IQrWza','UniverDataValidationPlugin','UniverSheetsNumfmtPlugin','@univerjs/data-validation','_initPlugins','colorChannel1','OPERATION','RevertRevisionMutation','top','UniverCore','UniverRenderEnginePlugin','univerjs-icon\x20univerjs-icon-','HistoryManagerService','object','closeAll','_pluginMap','@univerjs/sheets-drawing-ui','PLUGIN_CONFIG_KEY_MAIN_THREAD','UniverSheetsUIPlugin','onSteady','UniverDocsUi','registerPlugin','6873251LabnFf','@univerjs-pro/sheets-chart-ui','@univerjs/sheets-numfmt','1000','UniverRpc','createElement','_historyUniver$','data','UniverDocsUIPlugin','MenuItemType','8wHgROh','block','UniverInstanceType','@univerjs-pro/sheets-pivot','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','includes','historyListServerUrl','99303WIDDGL','permissionId','status','set','getSubunitRuleList','IPermissionService','@univerjs/drawing','@univerjs-pro/sheets-chart','@univerjs-pro/sheets-sparkline-ui','substring','UniverProSheetsChart','@univerjs/sheets-ui','none','UniverDrawingUi','LS_CONFIG_KEY','mask','Inject','map','CollaborationStatus','exports','pluginName','@univerjs-pro/collaboration','some','mountHistoryContent','UNIVER_SHEET','asObservable','attrs','_selectionProtectionRuleModel','UniverSheetsChartUIPlugin','UniverSheetsHyperLinkPlugin','_disposableCollection','editHistory.panel.listFetchError','__getInjector','rxjs','UniverSheetsFilter','getLocales','executeCommand','CHANGESET_ACK','combineLatest','HistoryIcon','UniverSheetsDrawingPlugin','UniverSheetsFilterPlugin','23195xNDzTQ','params','historyUniver','@univerjs/design','96yZyGvn','UniverSheetsConditionalFormattingUi','UniverDrawingUIPlugin','getCollabEntity','100%','React','length','setConfig','idSuffix','@univerjs/sheets-conditional-formatting-ui','univerContainerId','amd','CommandType','values','unsubscribe','1em','UNIVER_CONTAINER_ID','UniverSheetsDataValidation','toDisposable'];_0x227f=function(){return _0xbc4e6b;};return _0x227f();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/edit-history-loader",
|
|
3
|
-
"version": "0.15.0-insiders.20260107-
|
|
3
|
+
"version": "0.15.0-insiders.20260107-3d1cfdf",
|
|
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.0",
|
|
50
|
-
"@univerjs-pro/collaboration": "0.15.0-insiders.20260107-
|
|
51
|
-
"@univerjs-pro/collaboration-client": "0.15.0-insiders.20260107-
|
|
52
|
-
"@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260107-
|
|
53
|
-
"@univerjs-pro/sheets-
|
|
54
|
-
"@univerjs-pro/
|
|
55
|
-
"@univerjs-pro/
|
|
56
|
-
"@univerjs-pro/sheets-
|
|
57
|
-
"@univerjs
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/docs
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs
|
|
64
|
-
"@univerjs/drawing
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/engine-
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/sheets": "0.15.0-insiders.20260107-
|
|
70
|
-
"@univerjs/
|
|
71
|
-
"@univerjs/
|
|
72
|
-
"@univerjs/sheets-
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-drawing": "0.15.0-insiders.20260107-
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-filter": "0.15.0-insiders.20260107-
|
|
78
|
-
"@univerjs/sheets-filter-ui": "0.15.0-insiders.20260107-
|
|
79
|
-
"@univerjs/sheets-formula": "0.15.0-insiders.20260107-
|
|
80
|
-
"@univerjs/sheets-
|
|
81
|
-
"@univerjs/sheets-hyper-link": "0.15.0-insiders.20260107-
|
|
82
|
-
"@univerjs/sheets-
|
|
83
|
-
"@univerjs/sheets-ui": "0.15.0-insiders.20260107-
|
|
84
|
-
"@univerjs/ui": "0.15.0-insiders.20260107-
|
|
85
|
-
"@univerjs/sheets-numfmt": "0.15.0-insiders.20260107-
|
|
50
|
+
"@univerjs-pro/collaboration": "0.15.0-insiders.20260107-3d1cfdf",
|
|
51
|
+
"@univerjs-pro/collaboration-client": "0.15.0-insiders.20260107-3d1cfdf",
|
|
52
|
+
"@univerjs-pro/edit-history-viewer": "0.15.0-insiders.20260107-3d1cfdf",
|
|
53
|
+
"@univerjs-pro/sheets-pivot": "0.15.0-insiders.20260107-3d1cfdf",
|
|
54
|
+
"@univerjs-pro/sheets-chart": "0.15.0-insiders.20260107-3d1cfdf",
|
|
55
|
+
"@univerjs-pro/license": "0.15.0-insiders.20260107-3d1cfdf",
|
|
56
|
+
"@univerjs-pro/sheets-chart-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
57
|
+
"@univerjs/core": "0.15.0-insiders.20260107-3d1cfdf",
|
|
58
|
+
"@univerjs-pro/sheets-sparkline-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
59
|
+
"@univerjs-pro/sheets-sparkline": "0.15.0-insiders.20260107-3d1cfdf",
|
|
60
|
+
"@univerjs/data-validation": "0.15.0-insiders.20260107-3d1cfdf",
|
|
61
|
+
"@univerjs/docs": "0.15.0-insiders.20260107-3d1cfdf",
|
|
62
|
+
"@univerjs/design": "0.15.0-insiders.20260107-3d1cfdf",
|
|
63
|
+
"@univerjs/docs-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
64
|
+
"@univerjs/drawing": "0.15.0-insiders.20260107-3d1cfdf",
|
|
65
|
+
"@univerjs/drawing-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
66
|
+
"@univerjs/engine-render": "0.15.0-insiders.20260107-3d1cfdf",
|
|
67
|
+
"@univerjs/engine-formula": "0.15.0-insiders.20260107-3d1cfdf",
|
|
68
|
+
"@univerjs/network": "0.15.0-insiders.20260107-3d1cfdf",
|
|
69
|
+
"@univerjs/sheets": "0.15.0-insiders.20260107-3d1cfdf",
|
|
70
|
+
"@univerjs/rpc": "0.15.0-insiders.20260107-3d1cfdf",
|
|
71
|
+
"@univerjs/sheets-conditional-formatting": "0.15.0-insiders.20260107-3d1cfdf",
|
|
72
|
+
"@univerjs/sheets-conditional-formatting-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
73
|
+
"@univerjs/sheets-data-validation": "0.15.0-insiders.20260107-3d1cfdf",
|
|
74
|
+
"@univerjs/sheets-drawing": "0.15.0-insiders.20260107-3d1cfdf",
|
|
75
|
+
"@univerjs/sheets-drawing-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
76
|
+
"@univerjs/sheets-data-validation-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
77
|
+
"@univerjs/sheets-filter": "0.15.0-insiders.20260107-3d1cfdf",
|
|
78
|
+
"@univerjs/sheets-filter-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
79
|
+
"@univerjs/sheets-formula": "0.15.0-insiders.20260107-3d1cfdf",
|
|
80
|
+
"@univerjs/sheets-hyper-link": "0.15.0-insiders.20260107-3d1cfdf",
|
|
81
|
+
"@univerjs/sheets-hyper-link-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
82
|
+
"@univerjs/sheets-formula-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
83
|
+
"@univerjs/sheets-ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
84
|
+
"@univerjs/ui": "0.15.0-insiders.20260107-3d1cfdf",
|
|
85
|
+
"@univerjs/sheets-numfmt": "0.15.0-insiders.20260107-3d1cfdf"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"react": "18.3.1",
|