@univerjs-pro/docs-print 0.20.1 → 0.21.0-insiders.20260424-262d69f
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/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x495728=_0x59dd;function _0x32e2(){const _0x466e33=['620542zipoJI','translate','OPERATION','scale','ICommandService','object','getConfig','100%','min','IConfigService','length','_addComponent','UNIVER_DOC','Disposable','_componentManager','default','disposeWithMe','getContext','parseInt','toPrimitive','render','Plugin','PrintDirection','merge','_renderManagerService','pages','string','get','position','getInterceptPoints','CommandType','getDocFeatureLimit','docs.operation.print','isPro','setContainer','getSkeleton','getOwnPropertyDescriptor','fetchThroughInterceptors','_menuManagerService','Inject','_configService','register','DependentOn','_univerInstanceService','MenuItemType','_unitId','_calculateLayout','VIEWPORT_KEY','width','2214136pqroSI','Render\x20is\x20not\x20found','DOCS_PRINT_PLUGIN_CONFIG_KEY','Injector','0.20.1','mergeMenu','getUnit','absolute','DocPrintInterceptorService','function','onbeforeprint','_container','Portrait','_paperSize','PRINTING_DOM_COLLECT','CanvasRenderMode','Documents','5302881vOkoWl','_initCommands','toStringTag','_key','133604gHhiVp','PRINT_CONTAINER_CLASS','print','IUniverInstanceService','addObject','setId','onafterprint','print.menu','OTHERS','iterator','SwitchDocModeCommand','DocumentFlavor','_root','pageHeight','UNIVER_DOCS_PRINT','TRADITIONAL','defineProperty','Skeleton\x20data\x20is\x20not\x20found','className','right','IMenuManagerService','Printing','root','mainComponent','_commandService','isFeatureAuthorizedWithinTime','_skeletonData','getRenderById','getUnitId','UniverInstanceType','_addViewport','0px','syncExecuteCommand','onStarting','getSkeletonData','generateRandomId','with','IRenderManagerService','removeChild','_engine','_initMenus','version','IGlobalZoneService','documentFlavor','_config','page','getCurrentUnitOfType','save','packageName','dispose','406128NKFgUJ','pageWidth','DocPrintOperation','pluginName','_skeleton','getCanvas','div','onReady','VIEW_MAIN','restore','mpn','PrintIcon','PRINT_CANVAS_CLASS','top','createPrintStyle','makeForceDirty','prepare','_effects','symbol','138HSbOkk','style','_initComponents','left','height','forEach','_scene','makeDirty','15XbMSWx','_documents','prototype','setConfig','constructor','_viewMain','fill','valid','DocSkeletonManagerService','_currentRender','Engine','call','Viewport','getDocumentStyle','updateScrollVal','body','interceptor','_injector','DocumentDataModel\x20is\x20not\x20found','appendChild','_initRenderer','registerDependencies','268751nCwyyV','getOffsetConfig','type','_page','createElement','container','3995145TsAvEI'];_0x32e2=function(){return _0x466e33;};return _0x32e2();}(function(_0x3cdcff,_0x174aee){const _0x2b2941=_0x59dd,_0x1536c5=_0x3cdcff();while(!![]){try{const _0xf9ff1f=parseInt(_0x2b2941(0xd3))/0x1+parseInt(_0x2b2941(0x119))/0x2*(-parseInt(_0x2b2941(0xb6))/0x3)+-parseInt(_0x2b2941(0x104))/0x4+-parseInt(_0x2b2941(0xd2))/0x5+parseInt(_0x2b2941(0xae))/0x6*(parseInt(_0x2b2941(0xcc))/0x7)+parseInt(_0x2b2941(0x14b))/0x8+parseInt(_0x2b2941(0x115))/0x9;if(_0xf9ff1f===_0x174aee)break;else _0x1536c5['push'](_0x1536c5['shift']());}catch(_0x55c9fe){_0x1536c5['push'](_0x1536c5['shift']());}}}(_0x32e2,0x6f917),Object[_0x495728(0x129)](exports,Symbol[_0x495728(0x117)],{'value':'Module'}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x18ffca){'@babel/helpers - typeof';const _0x4597aa=_0x495728;return l=typeof Symbol==_0x4597aa(0x10d)&&typeof Symbol[_0x4597aa(0x122)]==_0x4597aa(0xad)?function(_0x197459){return typeof _0x197459;}:function(_0x14dfd6){const _0x1a239d=_0x4597aa;return _0x14dfd6&&typeof Symbol=='function'&&_0x14dfd6[_0x1a239d(0xba)]===Symbol&&_0x14dfd6!==Symbol[_0x1a239d(0xb8)]?_0x1a239d(0xad):typeof _0x14dfd6;},l(_0x18ffca);}function u(_0x2b840e,_0x99e134){const _0x530bbb=_0x495728;if(l(_0x2b840e)!=_0x530bbb(0xd8)||!_0x2b840e)return _0x2b840e;var _0x14089b=_0x2b840e[Symbol[_0x530bbb(0xe6)]];if(_0x14089b!==void 0x0){var _0x5a797d=_0x14089b[_0x530bbb(0xc1)](_0x2b840e,_0x99e134||_0x530bbb(0xe2));if(l(_0x5a797d)!=_0x530bbb(0xd8))return _0x5a797d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x99e134===_0x530bbb(0xed)?String:Number)(_0x2b840e);}function _0x59dd(_0x147a5b,_0x253b94){_0x147a5b=_0x147a5b-0x9e;const _0x32e2c6=_0x32e2();let _0x59dd96=_0x32e2c6[_0x147a5b];return _0x59dd96;}function d(_0x4141d8){const _0x506f47=_0x495728;var _0x498fd4=u(_0x4141d8,'string');return l(_0x498fd4)==_0x506f47(0xad)?_0x498fd4:_0x498fd4+'';}function f(_0x42c211,_0x93d3eb,_0x492824){const _0x37970b=_0x495728;return(_0x93d3eb=d(_0x93d3eb))in _0x42c211?Object[_0x37970b(0x129)](_0x42c211,_0x93d3eb,{'value':_0x492824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x42c211[_0x93d3eb]=_0x492824,_0x42c211;}var p=class extends e[_0x495728(0xe0)]{get[_0x495728(0xd1)](){const _0x481c02=_0x495728;return this[_0x481c02(0x10f)];}get[_0x495728(0x12f)](){const _0x156cc9=_0x495728;return this[_0x156cc9(0x125)];}get['_currentRender'](){const _0x2b71ae=_0x495728;let _0x10c922=this[_0x2b71ae(0xc7)][_0x2b71ae(0xee)](n[_0x2b71ae(0x13e)])['getRenderById'](this[_0x2b71ae(0x100)]);if(!_0x10c922)throw Error(_0x2b71ae(0x105));return _0x10c922;}get[_0x495728(0x9f)](){const _0x28538d=_0x495728;return this[_0x28538d(0xbf)][_0x28538d(0x13d)](a['DocSkeletonManagerService'])[_0x28538d(0xf6)]();}get[_0x495728(0x133)](){const _0x3f7d94=_0x495728;let _0x24ba13=this['_skeleton'][_0x3f7d94(0x13b)]();if(!_0x24ba13)throw Error(_0x3f7d94(0x12a));return _0x24ba13;}get[_0x495728(0x111)](){const _0xc4fd8e=_0x495728;let _0xfc4f7d=this[_0xc4fd8e(0x133)][_0xc4fd8e(0xec)][0x0];return{'width':_0xfc4f7d[_0xc4fd8e(0x14c)],'height':_0xfc4f7d[_0xc4fd8e(0x126)]};}constructor(_0x2a4a68,_0x5d9c17,_0x6078cb,_0x3ec13d){const _0x3e6452=_0x495728;super(),this['_injector']=_0x2a4a68,this[_0x3e6452(0xcf)]=_0x5d9c17,this[_0x3e6452(0x100)]=_0x6078cb,this['_offsetConfig']=_0x3ec13d,f(this,_0x3e6452(0x10f),document[_0x3e6452(0xd0)]('div')),f(this,_0x3e6452(0x125),document[_0x3e6452(0xd0)](_0x3e6452(0xa1))),f(this,'_engine',void 0x0),f(this,_0x3e6452(0xb4),void 0x0),f(this,_0x3e6452(0x118),void 0x0),f(this,_0x3e6452(0xb7),void 0x0),f(this,_0x3e6452(0xbb),void 0x0),f(this,_0x3e6452(0xac),new e['DisposableCollection']()),this[_0x3e6452(0x118)]=(0x0,e[_0x3e6452(0x13c)])(0x4),this[_0x3e6452(0xca)](),this['disposeWithMe']({'dispose':()=>{const _0x18d34a=_0x3e6452;this['_engine'][_0x18d34a(0x14a)](),this[_0x18d34a(0xb4)][_0x18d34a(0x14a)](),this[_0x18d34a(0xac)][_0x18d34a(0x14a)]();}});}['_calculateLayout'](){const _0x2d086a=_0x495728;let {docsTop:_0x280231,docsLeft:_0x52a47f}=this['_documents']['getOffsetConfig'](),_0x1784c=this['_paperSize'][_0x2d086a(0xb2)],_0x58c157=this[_0x2d086a(0x111)][_0x2d086a(0x103)];return{'top':_0x280231+(_0x280231+_0x1784c)*this[_0x2d086a(0xcf)],'bottom':_0x280231+(_0x280231+_0x1784c)*(this['_page']+0x1),'left':_0x52a47f,'right':_0x52a47f+_0x58c157};}['_initRenderer'](){const _0x5df8f7=_0x495728;this['_engine']=new n[(_0x5df8f7(0xc0))]('',{'elementWidth':this[_0x5df8f7(0x111)][_0x5df8f7(0x103)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n[_0x5df8f7(0x113)][_0x5df8f7(0x12e)]}),this['_scene']=new n['Scene'](this[_0x5df8f7(0x118)],this['_engine']),this[_0x5df8f7(0xb4)][_0x5df8f7(0xd6)](0x1,0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xf5)](this['_container'],!0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xa0)]()[_0x5df8f7(0xe4)]()[_0x5df8f7(0x11e)](this[_0x5df8f7(0x118)]+'_'+(0x0,e[_0x5df8f7(0x13c)])(0x4)),this[_0x5df8f7(0xde)](),this[_0x5df8f7(0x137)]();}[_0x495728(0xde)](){const _0x3bc97d=_0x495728;let {pageMarginLeft:_0x5130cd,pageMarginTop:_0x539b80,docsLeft:_0x201f6a,docsTop:_0x5bec10}=this['_offsetConfig'],_0x261a52={'pageMarginLeft':_0x5130cd,'pageMarginTop':_0x539b80},_0x5b43c2=new n[(_0x3bc97d(0x114))]('__DocPrintRender__',this['_skeleton'],_0x261a52);_0x5b43c2[_0x3bc97d(0xd4)](_0x201f6a,_0x5bec10),this[_0x3bc97d(0xb4)][_0x3bc97d(0x11d)](_0x5b43c2),this['_documents']=_0x5b43c2;let _0x492e6c=this[_0x3bc97d(0xc7)][_0x3bc97d(0xee)](t[_0x3bc97d(0x10c)]);_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf8)](_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf0)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x3bc97d(0x100)],'scene':this[_0x3bc97d(0xb4)],'engine':this[_0x3bc97d(0x140)],'root':this[_0x3bc97d(0x125)],'documents':this[_0x3bc97d(0xb7)],'skeleton':this[_0x3bc97d(0x9f)]});}[_0x495728(0x137)](){const _0x8a6459=_0x495728;this[_0x8a6459(0xbb)]=new n[(_0x8a6459(0xc2))](t[_0x8a6459(0x102)][_0x8a6459(0xa3)],this[_0x8a6459(0xb4)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x495728(0xab)](){const _0x59da78=_0x495728;let _0x162216=this[_0x59da78(0x101)]();this[_0x59da78(0xbb)][_0x59da78(0xc4)]({'viewportScrollX':_0x162216[_0x59da78(0xb1)],'viewportScrollY':_0x162216[_0x59da78(0xa8)]}),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xef)]=_0x59da78(0x10b),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xa8)]='0px',this[_0x59da78(0x125)]['style'][_0x59da78(0xb1)]=_0x59da78(0x138),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0x103)]=_0x59da78(0xda),this['_root'][_0x59da78(0xaf)][_0x59da78(0xb2)]=_0x59da78(0xda),this[_0x59da78(0xac)]=new e['DisposableCollection']();let _0x18eea4=this[_0x59da78(0xc7)][_0x59da78(0xee)](t[_0x59da78(0x10c)]);_0x18eea4[_0x59da78(0xc6)]['fetchThroughInterceptors'](_0x18eea4[_0x59da78(0xc6)][_0x59da78(0xf0)]()[_0x59da78(0x112)])(this[_0x59da78(0xac)],{'unitId':this[_0x59da78(0x100)],'scene':this[_0x59da78(0xb4)],'engine':this[_0x59da78(0x140)],'root':this['_root'],'skeleton':this[_0x59da78(0x9f)],'offset':{'x':_0x162216[_0x59da78(0xb1)],'y':_0x162216[_0x59da78(0xa8)]},'bound':{'top':_0x162216[_0x59da78(0xa8)],'left':_0x162216[_0x59da78(0xb1)],'right':_0x162216[_0x59da78(0x12c)],'bottom':_0x162216['bottom']}});}['render'](){const _0x126e6a=_0x495728;let _0x1b1ff5=this[_0x126e6a(0x140)][_0x126e6a(0xa0)]()[_0x126e6a(0xe4)]();this[_0x126e6a(0xb7)][_0x126e6a(0xaa)](),this[_0x126e6a(0xb4)][_0x126e6a(0xb5)](),_0x1b1ff5[_0x126e6a(0x148)](),this['_scene'][_0x126e6a(0xe7)](),_0x1b1ff5[_0x126e6a(0xa4)]();}};function m(_0x13bca4,_0x2061e8){return function(_0x53e3d3,_0x321992){_0x2061e8(_0x53e3d3,_0x321992,_0x13bca4);};}function h(_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908){const _0x5ec906=_0x495728;var _0x5630b4=arguments[_0x5ec906(0xdd)],_0x3fe6a7=_0x5630b4<0x3?_0x4dd869:_0x111908===null?_0x111908=Object[_0x5ec906(0xf7)](_0x4dd869,_0xf81f12):_0x111908,_0x54e80e;if(typeof Reflect==_0x5ec906(0xd8)&&typeof Reflect['decorate']=='function')_0x3fe6a7=Reflect['decorate'](_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908);else{for(var _0x15aa6f=_0x5ec96a[_0x5ec906(0xdd)]-0x1;_0x15aa6f>=0x0;_0x15aa6f--)(_0x54e80e=_0x5ec96a[_0x15aa6f])&&(_0x3fe6a7=(_0x5630b4<0x3?_0x54e80e(_0x3fe6a7):_0x5630b4>0x3?_0x54e80e(_0x4dd869,_0xf81f12,_0x3fe6a7):_0x54e80e(_0x4dd869,_0xf81f12))||_0x3fe6a7);}return _0x5630b4>0x3&&_0x3fe6a7&&Object[_0x5ec906(0x129)](_0x4dd869,_0xf81f12,_0x3fe6a7),_0x3fe6a7;}const g=Number[_0x495728(0xe5)](0x69d9f405),_=(_0x21c5d0,_0x7c9ffe,_0x327d58)=>{const _0x560fb2=_0x495728;let _0x15b99a={'page':_0x21c5d0,'isPro':!0x1,'timeValid':!0x1};if(!_0x7c9ffe||!_0x327d58)return _0x15b99a;let _0x1d4901=(0x0,r['getLicenseInfo'])(_0x7c9ffe,_0x327d58);if(_0x1d4901[_0x560fb2(0xbd)]){let _0x2b1990=_0x1d4901['message'],_0x42960f=(0x0,r[_0x560fb2(0x132)])(_0x2b1990,'df',g);_0x15b99a[_0x560fb2(0xf4)]=_0x42960f,_0x15b99a['timeValid']=_0x42960f,_0x15b99a[_0x560fb2(0x146)]=(0x0,r[_0x560fb2(0xf2)])(_0x2b1990,_0x42960f,_0x560fb2(0xa5),_0x21c5d0,_0x21c5d0,0x0);}return _0x15b99a;};let v=class extends e[_0x495728(0xe0)]{constructor(_0x1a7b48,_0x108c38,_0x3affca,_0x3ce846,_0x5462a6){const _0x50bdfa=_0x495728;super(),this[_0x50bdfa(0xfe)]=_0x1a7b48,this[_0x50bdfa(0xeb)]=_0x108c38,this[_0x50bdfa(0xc7)]=_0x3affca,this[_0x50bdfa(0xfb)]=_0x3ce846,this['_globalZoneService']=_0x5462a6;}[_0x495728(0x11b)](_0x44b8be){const _0x8bbe97=_0x495728;var _0x3186dc,_0x55ea2e;let {ls:_0x36fac8,pbk:_0x60df9d}=(_0x3186dc=this[_0x8bbe97(0xfb)][_0x8bbe97(0xd9)](r['LS_CONFIG_KEY']))==null?{}:_0x3186dc,_0x3ff441=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x36fac8,_0x60df9d)[_0x8bbe97(0x146)];if(!this[_0x8bbe97(0xfe)][_0x8bbe97(0x10a)](_0x44b8be,e[_0x8bbe97(0x136)][_0x8bbe97(0xdf)]))throw Error(_0x8bbe97(0xc8));let _0x3ca0bd=this['_renderManagerService'][_0x8bbe97(0x134)](_0x44b8be);if(!_0x3ca0bd)throw Error(_0x8bbe97(0x105));let _0x573e67=(_0x55ea2e=_0x3ca0bd[_0x8bbe97(0x13d)](a[_0x8bbe97(0xbe)])[_0x8bbe97(0xf6)]()[_0x8bbe97(0x13b)]())==null?void 0x0:_0x55ea2e[_0x8bbe97(0xec)];if(!_0x573e67)throw Error('Pages\x20are\x20not\x20found');let _0x16a0a7={'width':_0x573e67[0x0][_0x8bbe97(0x14c)],'height':_0x573e67[0x0][_0x8bbe97(0x126)]},_0x3081d3=_0x573e67[_0x8bbe97(0xdd)],_0x418877=Math[_0x8bbe97(0xdb)](_0x3ff441,_0x3081d3),_0x5c5aa8=_0x3ca0bd[_0x8bbe97(0x130)][_0x8bbe97(0xcd)](),_0x50bdaa=document[_0x8bbe97(0xd0)]('div');_0x50bdaa['className']=i[_0x8bbe97(0x11a)];let _0x36cd35=Array(_0x418877)[_0x8bbe97(0xbc)](null)['map']((_0x37d9a9,_0xb1853a)=>{const _0x2cef36=_0x8bbe97;let _0x5c3eb0=new p(this[_0x2cef36(0xc7)],_0xb1853a,_0x44b8be,_0x5c5aa8);return _0x5c3eb0[_0x2cef36(0xd1)][_0x2cef36(0x12b)]=i[_0x2cef36(0xa7)],_0x5c3eb0;});_0x36cd35['forEach'](_0x48c69f=>{const _0x502147=_0x8bbe97;_0x50bdaa[_0x502147(0xc9)](_0x48c69f[_0x502147(0xd1)]),_0x48c69f['container'][_0x502147(0xc9)](_0x48c69f['root']),_0x48c69f[_0x502147(0xab)]();});let _0x16c586=(0x0,i[_0x8bbe97(0xa9)])(_0x16a0a7['width'],_0x16a0a7['height'],i[_0x8bbe97(0xe9)][_0x8bbe97(0x110)]);return document['body']['appendChild'](_0x16c586),document['body']['appendChild'](_0x50bdaa),new Promise(_0x5348e1=>{setTimeout(()=>{const _0x36c69a=_0x59dd;window[_0x36c69a(0x10e)]=()=>{const _0xfbd1c1=_0x36c69a;_0x36cd35[_0xfbd1c1(0xb3)](_0x135726=>{const _0xef839e=_0xfbd1c1;_0x135726[_0xef839e(0xe7)]();});},window[_0x36c69a(0x11f)]=()=>{const _0x4bb4b6=_0x36c69a;_0x36cd35['forEach'](_0x4c79db=>{const _0x24db41=_0x59dd;_0x4c79db[_0x24db41(0x14a)]();}),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x50bdaa),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x16c586),this['_globalZoneService']['close'](),_0x5348e1(!0x0);},window[_0x36c69a(0x11b)]();},0x64);});}};v=h([m(0x0,e[_0x495728(0x11c)]),m(0x1,n[_0x495728(0x13e)]),m(0x2,(0x0,e[_0x495728(0xfa)])(e[_0x495728(0x107)])),m(0x3,e[_0x495728(0xdc)]),m(0x4,o[_0x495728(0x143)])],v);const y={'id':_0x495728(0xf3),'type':e[_0x495728(0xf1)][_0x495728(0xd5)],'handler':async _0x4610eb=>{const _0x12713e=_0x495728;let _0x1e9e0a=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0x11c)]),_0x272da4=_0x4610eb[_0x12713e(0xee)](v),_0x3f3934=_0x4610eb[_0x12713e(0xee)](n[_0x12713e(0x13e)]),_0x69d843=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0xd7)]),_0x2d2b6a=_0x1e9e0a[_0x12713e(0x147)](e[_0x12713e(0x136)][_0x12713e(0xdf)]);if(!_0x2d2b6a)return!0x1;if(!_0x3f3934[_0x12713e(0x134)](_0x2d2b6a[_0x12713e(0x135)]()))throw Error(_0x12713e(0x105));let _0xacef7d=_0x2d2b6a[_0x12713e(0xc3)]()[_0x12713e(0x144)];return _0xacef7d!==e[_0x12713e(0x124)][_0x12713e(0x128)]&&_0x69d843['syncExecuteCommand'](t[_0x12713e(0x123)]['id']),await _0x272da4['print'](_0x2d2b6a[_0x12713e(0x135)]()),_0xacef7d!==e[_0x12713e(0x124)]['TRADITIONAL']&&_0x69d843[_0x12713e(0x139)](t[_0x12713e(0x123)]['id']),!0x0;}},b=_0x495728(0x127),x={};var S='@univerjs-pro/docs-print',C=_0x495728(0x108);function w(_0x2eb546){const _0x42de49=_0x495728;return{'id':y['id'],'type':o[_0x42de49(0xff)]['BUTTON'],'title':_0x42de49(0x120),'icon':_0x42de49(0xa6),'tooltip':'print.menu','hidden$':(0x0,o['getMenuHiddenObservable'])(_0x2eb546,e['UniverInstanceType'][_0x42de49(0xdf)])};}const T={[o['RibbonStartGroup'][_0x495728(0x121)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x495728(0xe0)]{constructor(_0x48af5e,_0xae97fe,_0x4ec98e){const _0x445470=_0x495728;super(),this[_0x445470(0x131)]=_0x48af5e,this[_0x445470(0xf9)]=_0xae97fe,this['_componentManager']=_0x4ec98e,this[_0x445470(0x141)](),this[_0x445470(0x116)](),this[_0x445470(0xb0)]();}['_initMenus'](){const _0x1353a4=_0x495728;this[_0x1353a4(0xf9)][_0x1353a4(0x109)](T);}[_0x495728(0x116)](){const _0x158201=_0x495728;this[_0x158201(0xe3)](this[_0x158201(0x131)]['registerCommand'](y));}['_initComponents'](){const _0x4247aa=_0x495728;[[_0x4247aa(0xa6),c['PrintIcon']]][_0x4247aa(0xb3)](([_0x353180,_0x4796e6])=>{const _0xf42b7d=_0x4247aa;this[_0xf42b7d(0xe1)][_0xf42b7d(0xfc)](_0x353180,_0x4796e6);});}};E=h([m(0x0,e[_0x495728(0xd7)]),m(0x1,o[_0x495728(0x12d)]),m(0x2,(0x0,e[_0x495728(0xfa)])(o['ComponentManager']))],E);let D=class extends e[_0x495728(0xe8)]{constructor(_0x557cf=x,_0x1a1501,_0x2e5bb3){const _0x4fbaa3=_0x495728;super(),this[_0x4fbaa3(0x145)]=_0x557cf,this['_injector']=_0x1a1501,this['_configService']=_0x2e5bb3;let {menu:_0x3caa51,..._0x4488b2}=(0x0,e[_0x4fbaa3(0xea)])({},x,this['_config']);_0x3caa51&&this[_0x4fbaa3(0xfb)]['setConfig']('menu',_0x3caa51,{'merge':!0x0}),this[_0x4fbaa3(0xfb)][_0x4fbaa3(0xb9)](b,_0x4488b2);}[_0x495728(0x13a)](){const _0x15cb6e=_0x495728;(0x0,e[_0x15cb6e(0xcb)])(this[_0x15cb6e(0xc7)],[[v],[E]]);}[_0x495728(0xa2)](){this['_injector']['get'](E);}};f(D,_0x495728(0x9e),_0x495728(0x127)),f(D,_0x495728(0x149),S),f(D,_0x495728(0x142),C),f(D,_0x495728(0xce),e[_0x495728(0x136)][_0x495728(0xdf)]),D=h([(0x0,e[_0x495728(0xfd)])(s['UniverNetworkPlugin'],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x495728(0xfa)])(e['Injector'])),m(0x2,e[_0x495728(0xdc)])],D),exports[_0x495728(0x106)]=b,exports[_0x495728(0x14d)]=y,Object[_0x495728(0x129)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
function _0x5d21(){const _0x1b368f=['prepare','default','PRINT_CANVAS_CLASS','BUTTON','_initComponents','isFeatureAuthorizedWithinTime','top','SwitchDocModeCommand','getCurrentUnitOfType','disposeWithMe','ComponentManager','left','bottom','_configService','_initCommands','CommandType','_addComponent','iterator','onbeforeprint','Pages\x20are\x20not\x20found','render','root','ICommandService','page','decorate','translate','IRenderManagerService','IGlobalZoneService','interceptor','Printing','IMenuManagerService','IConfigService','container','@univerjs-pro/docs-print','_currentRender','getInterceptPoints','Disposable','registerCommand','getMenuHiddenObservable','getDocFeatureLimit','toStringTag','_root','_initMenus','_page','_config','PRINT_CONTAINER_CLASS','UniverNetworkPlugin','_key','pages','POSITIVE_INFINITY','LS_CONFIG_KEY','position','getDocumentStyle','generateRandomId','170ndRRnJ','_injector','registerDependencies','mergeMenu','PrintIcon','get','_viewMain','_globalZoneService','className','getCanvas','message','print.menu','3339413jjUkIu','IUniverInstanceService','defineProperty','8135919ydaaGq','map','_univerInstanceService','206gGygiZ','isLocalCheck','symbol','DisposableCollection','_offsetConfig','Injector','Viewport','Documents','_addViewport','mpn','PrintDirection','12917OzaaEE','height','_paperSize','OPERATION','1471921EsqhLh','DocSkeletonManagerService','_commandService','DependentOn','merge','setConfig','valid','createElement','_renderManagerService','_initRenderer','style','getUnitId','_effects','_skeletonData','8217872pukMoM','PRINTING_DOM_COLLECT','Engine','Module','createPrintStyle','getRenderById','Render\x20is\x20not\x20found','absolute','200UUZpUl','getConfig','PRINTING_COMPONENT_COLLECT','register','DocPrintInterceptorService','syncExecuteCommand','UNIVER_DOC','length','makeDirty','getOffsetConfig','_scene','right','getSkeleton','_unitId','_container','function','100%','forEach','fill','pageHeight','0px','MenuItemType','getSkeletonData','documentFlavor','DocumentFlavor','UniverInstanceType','TRADITIONAL','docs.operation.print','appendChild','pluginName','_menuManagerService','save','updateScrollVal','string','Plugin','_documents','Skeleton\x20data\x20is\x20not\x20found','isPro','removeChild','__DocPrintRender__','OTHERS','dispose','with','_engine','UniverDocsPrintPlugin','object','print','_skeleton','Inject','pageWidth','getLicenseInfo','CanvasRenderMode','body','mainComponent','_calculateLayout','_componentManager','onStarting','menu','div','18flWdkb','width','1812795QTvksw','call','102668CQtEhM','addObject','getContext'];_0x5d21=function(){return _0x1b368f;};return _0x5d21();}const _0x3a4eeb=_0xee2c;(function(_0x3c40ea,_0x53232a){const _0x2b069b=_0xee2c,_0x4b011f=_0x3c40ea();while(!![]){try{const _0x16691d=parseInt(_0x2b069b(0x11c))/0x1*(-parseInt(_0x2b069b(0x111))/0x2)+parseInt(_0x2b069b(0xc4))/0x3+parseInt(_0x2b069b(0xc6))/0x4*(parseInt(_0x2b069b(0xff))/0x5)+parseInt(_0x2b069b(0xc2))/0x6*(parseInt(_0x2b069b(0x10b))/0x7)+parseInt(_0x2b069b(0x12e))/0x8+parseInt(_0x2b069b(0x10e))/0x9+-parseInt(_0x2b069b(0x136))/0xa*(parseInt(_0x2b069b(0x120))/0xb);if(_0x16691d===_0x53232a)break;else _0x4b011f['push'](_0x4b011f['shift']());}catch(_0x4f60ab){_0x4b011f['push'](_0x4b011f['shift']());}}}(_0x5d21,0xcb4a2),Object['defineProperty'](exports,Symbol[_0x3a4eeb(0xf1)],{'value':_0x3a4eeb(0x131)}));let _univerjs_core=require('@univerjs/core'),_univerjs_docs_ui=require('@univerjs/docs-ui'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_pro_print=require('@univerjs-pro/print'),_univerjs_docs=require('@univerjs/docs'),_univerjs_ui=require('@univerjs/ui'),_univerjs_network=require('@univerjs/network'),_univerjs_icons=require('@univerjs/icons');function _typeof(_0x314fe0){'@babel/helpers - typeof';const _0x49efa9=_0x3a4eeb;return _typeof=_0x49efa9(0x96)==typeof Symbol&&_0x49efa9(0x113)==typeof Symbol[_0x49efa9(0xda)]?function(_0x40f257){return typeof _0x40f257;}:function(_0x4e7586){const _0x3cf494=_0x49efa9;return _0x4e7586&&_0x3cf494(0x96)==typeof Symbol&&_0x4e7586['constructor']===Symbol&&_0x4e7586!==Symbol['prototype']?'symbol':typeof _0x4e7586;},_typeof(_0x314fe0);}function toPrimitive(_0x24e8d1,_0x4b76ef){const _0x6a0ea=_0x3a4eeb;if(_0x6a0ea(0xb4)!=_typeof(_0x24e8d1)||!_0x24e8d1)return _0x24e8d1;var _0x9ac545=_0x24e8d1[Symbol['toPrimitive']];if(void 0x0!==_0x9ac545){var _0x374e81=_0x9ac545[_0x6a0ea(0xc5)](_0x24e8d1,_0x4b76ef||_0x6a0ea(0xca));if(_0x6a0ea(0xb4)!=_typeof(_0x374e81))return _0x374e81;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x6a0ea(0xa8)===_0x4b76ef?String:Number)(_0x24e8d1);}function _0xee2c(_0xa54837,_0xd99be0){_0xa54837=_0xa54837-0x94;const _0x5d2132=_0x5d21();let _0xee2c82=_0x5d2132[_0xa54837];return _0xee2c82;}function toPropertyKey(_0x20011c){const _0x3555ef=_0x3a4eeb;var _0x494687=toPrimitive(_0x20011c,_0x3555ef(0xa8));return'symbol'==_typeof(_0x494687)?_0x494687:_0x494687+'';}function _defineProperty(_0x2c1535,_0x43fd5e,_0x2fb629){const _0x35c3e1=_0x3a4eeb;return(_0x43fd5e=toPropertyKey(_0x43fd5e))in _0x2c1535?Object[_0x35c3e1(0x10d)](_0x2c1535,_0x43fd5e,{'value':_0x2fb629,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2c1535[_0x43fd5e]=_0x2fb629,_0x2c1535;}var DocPrintPageCanvasView=class extends _univerjs_core[_0x3a4eeb(0xed)]{get[_0x3a4eeb(0xe9)](){const _0x59e88a=_0x3a4eeb;return this[_0x59e88a(0x95)];}get[_0x3a4eeb(0xde)](){const _0x4a8f06=_0x3a4eeb;return this[_0x4a8f06(0xf2)];}get[_0x3a4eeb(0xeb)](){const _0x4ee065=_0x3a4eeb,_0x238bd9=this[_0x4ee065(0x100)][_0x4ee065(0x104)](_univerjs_engine_render[_0x4ee065(0xe3)])[_0x4ee065(0x133)](this[_0x4ee065(0x94)]);if(!_0x238bd9)throw new Error(_0x4ee065(0x134));return _0x238bd9;}get['_skeleton'](){const _0x43be24=_0x3a4eeb;return this[_0x43be24(0xeb)][_0x43be24(0xb1)](_univerjs_docs['DocSkeletonManagerService'])[_0x43be24(0x142)]();}get['_skeletonData'](){const _0x2432dd=_0x3a4eeb,_0x242805=this['_skeleton'][_0x2432dd(0x9d)]();if(!_0x242805)throw new Error(_0x2432dd(0xab));return _0x242805;}get[_0x3a4eeb(0x11e)](){const _0x3326d8=_0x3a4eeb,_0x33a713=this[_0x3326d8(0x12d)]['pages'][0x0];return{'width':_0x33a713[_0x3326d8(0xb8)],'height':_0x33a713['pageHeight']};}constructor(_0x47efb7,_0x166f04,_0x5e6be5,_0xc78c97){const _0x53777e=_0x3a4eeb;super(),this[_0x53777e(0x100)]=_0x47efb7,this[_0x53777e(0xf4)]=_0x166f04,this['_unitId']=_0x5e6be5,this[_0x53777e(0x115)]=_0xc78c97,_defineProperty(this,_0x53777e(0x95),document[_0x53777e(0x127)](_0x53777e(0xc1))),_defineProperty(this,'_root',document[_0x53777e(0x127)]('div')),_defineProperty(this,'_engine',void 0x0),_defineProperty(this,_0x53777e(0x140),void 0x0),_defineProperty(this,_0x53777e(0xf8),void 0x0),_defineProperty(this,_0x53777e(0xaa),void 0x0),_defineProperty(this,_0x53777e(0x105),void 0x0),_defineProperty(this,_0x53777e(0x12c),new _univerjs_core[(_0x53777e(0x114))]()),this[_0x53777e(0xf8)]=(0x0,_univerjs_core[_0x53777e(0xfe)])(0x4),this[_0x53777e(0x129)](),this[_0x53777e(0xd2)]({'dispose':()=>{const _0x144674=_0x53777e;this['_engine'][_0x144674(0xb0)](),this['_scene'][_0x144674(0xb0)](),this[_0x144674(0x12c)][_0x144674(0xb0)]();}});}[_0x3a4eeb(0xbd)](){const _0x35462e=_0x3a4eeb,{docsTop:_0x4bd79f,docsLeft:_0x3b0684}=this[_0x35462e(0xaa)][_0x35462e(0x13f)](),_0x2d071d=this['_paperSize'][_0x35462e(0x11d)],_0x3e5c02=this[_0x35462e(0x11e)][_0x35462e(0xc3)];return{'top':_0x4bd79f+(_0x4bd79f+_0x2d071d)*this[_0x35462e(0xf4)],'bottom':_0x4bd79f+(_0x4bd79f+_0x2d071d)*(this[_0x35462e(0xf4)]+0x1),'left':_0x3b0684,'right':_0x3b0684+_0x3e5c02};}[_0x3a4eeb(0x129)](){const _0x214be1=_0x3a4eeb,_0x51f27f=0x1;this[_0x214be1(0xb2)]=new _univerjs_engine_render[(_0x214be1(0x130))]('',{'elementWidth':this[_0x214be1(0x11e)][_0x214be1(0xc3)],'elementHeight':this[_0x214be1(0x11e)][_0x214be1(0x11d)],'dpr':0x1,'renderMode':_univerjs_engine_render[_0x214be1(0xba)][_0x214be1(0xe6)]}),this[_0x214be1(0x140)]=new _univerjs_engine_render['Scene'](this['_key'],this[_0x214be1(0xb2)]),this[_0x214be1(0x140)]['scale'](_0x51f27f,_0x51f27f),this[_0x214be1(0xb2)]['setContainer'](this['_container'],![]),this['_engine'][_0x214be1(0x108)]()[_0x214be1(0xc8)]()['setId'](this[_0x214be1(0xf8)]+'_'+(0x0,_univerjs_core[_0x214be1(0xfe)])(0x4)),this[_0x214be1(0xd9)](),this[_0x214be1(0x119)]();}[_0x3a4eeb(0xd9)](){const _0x4fa1bc=_0x3a4eeb,{pageMarginLeft:_0x1fd0a8,pageMarginTop:_0x287fc9,docsLeft:_0x4ae7b9,docsTop:_0xcae137}=this[_0x4fa1bc(0x115)],_0x212803={'pageMarginLeft':_0x1fd0a8,'pageMarginTop':_0x287fc9},_0x494c91=new _univerjs_engine_render[(_0x4fa1bc(0x118))](_0x4fa1bc(0xae),this[_0x4fa1bc(0xb6)],_0x212803);_0x494c91[_0x4fa1bc(0xe2)](_0x4ae7b9,_0xcae137),this[_0x4fa1bc(0x140)][_0x4fa1bc(0xc7)](_0x494c91),this['_documents']=_0x494c91;const _0xdfd589=this['_injector'][_0x4fa1bc(0x104)](_univerjs_docs_ui['DocPrintInterceptorService']);_0xdfd589[_0x4fa1bc(0xe5)]['fetchThroughInterceptors'](_0xdfd589[_0x4fa1bc(0xe5)][_0x4fa1bc(0xec)]()[_0x4fa1bc(0x138)])(void 0x0,{'unitId':this[_0x4fa1bc(0x94)],'scene':this['_scene'],'engine':this[_0x4fa1bc(0xb2)],'root':this[_0x4fa1bc(0xf2)],'documents':this[_0x4fa1bc(0xaa)],'skeleton':this[_0x4fa1bc(0xb6)]});}[_0x3a4eeb(0x119)](){const _0x5f2c73=_0x3a4eeb;this[_0x5f2c73(0x105)]=new _univerjs_engine_render[(_0x5f2c73(0x117))](_univerjs_docs_ui['VIEWPORT_KEY']['VIEW_MAIN'],this[_0x5f2c73(0x140)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x3a4eeb(0xc9)](){const _0x21e231=_0x3a4eeb,_0x100358=this[_0x21e231(0xbd)]();this[_0x21e231(0x105)][_0x21e231(0xa7)]({'viewportScrollX':_0x100358[_0x21e231(0xd4)],'viewportScrollY':_0x100358[_0x21e231(0xcf)]}),this[_0x21e231(0xf2)][_0x21e231(0x12a)][_0x21e231(0xfc)]=_0x21e231(0x135),this[_0x21e231(0xf2)]['style']['top']=_0x21e231(0x9b),this['_root'][_0x21e231(0x12a)][_0x21e231(0xd4)]=_0x21e231(0x9b),this[_0x21e231(0xf2)]['style']['width']='100%',this[_0x21e231(0xf2)][_0x21e231(0x12a)][_0x21e231(0x11d)]=_0x21e231(0x97),this[_0x21e231(0x12c)]=new _univerjs_core[(_0x21e231(0x114))]();const _0x4c31d0=this[_0x21e231(0x100)][_0x21e231(0x104)](_univerjs_docs_ui[_0x21e231(0x13a)]);_0x4c31d0[_0x21e231(0xe5)]['fetchThroughInterceptors'](_0x4c31d0[_0x21e231(0xe5)]['getInterceptPoints']()[_0x21e231(0x12f)])(this[_0x21e231(0x12c)],{'unitId':this[_0x21e231(0x94)],'scene':this[_0x21e231(0x140)],'engine':this[_0x21e231(0xb2)],'root':this[_0x21e231(0xf2)],'skeleton':this[_0x21e231(0xb6)],'offset':{'x':_0x100358['left'],'y':_0x100358[_0x21e231(0xcf)]},'bound':{'top':_0x100358[_0x21e231(0xcf)],'left':_0x100358[_0x21e231(0xd4)],'right':_0x100358[_0x21e231(0x141)],'bottom':_0x100358[_0x21e231(0xd5)]}});}[_0x3a4eeb(0xdd)](){const _0x5d33cc=_0x3a4eeb,_0x5eb845=this[_0x5d33cc(0xb2)][_0x5d33cc(0x108)]()[_0x5d33cc(0xc8)]();this[_0x5d33cc(0xaa)]['makeForceDirty'](),this['_scene'][_0x5d33cc(0x13e)](),_0x5eb845[_0x5d33cc(0xa6)](),this[_0x5d33cc(0x140)][_0x5d33cc(0xdd)](),_0x5eb845['restore']();}};function __decorateParam(_0x173e9d,_0x5a8afc){return function(_0x378502,_0x1600d3){_0x5a8afc(_0x378502,_0x1600d3,_0x173e9d);};}function __decorate(_0x5de46b,_0x13df83,_0x55d1d3,_0x4d50b0){const _0x2bee38=_0x3a4eeb;var _0xaac622=arguments[_0x2bee38(0x13d)],_0x43a2c5=_0xaac622<0x3?_0x13df83:_0x4d50b0===null?_0x4d50b0=Object['getOwnPropertyDescriptor'](_0x13df83,_0x55d1d3):_0x4d50b0,_0x229e71;if(typeof Reflect===_0x2bee38(0xb4)&&typeof Reflect[_0x2bee38(0xe1)]===_0x2bee38(0x96))_0x43a2c5=Reflect[_0x2bee38(0xe1)](_0x5de46b,_0x13df83,_0x55d1d3,_0x4d50b0);else{for(var _0x38fb8f=_0x5de46b[_0x2bee38(0x13d)]-0x1;_0x38fb8f>=0x0;_0x38fb8f--)if(_0x229e71=_0x5de46b[_0x38fb8f])_0x43a2c5=(_0xaac622<0x3?_0x229e71(_0x43a2c5):_0xaac622>0x3?_0x229e71(_0x13df83,_0x55d1d3,_0x43a2c5):_0x229e71(_0x13df83,_0x55d1d3))||_0x43a2c5;}return _0xaac622>0x3&&_0x43a2c5&&Object[_0x2bee38(0x10d)](_0x13df83,_0x55d1d3,_0x43a2c5),_0x43a2c5;}const BUILD_TIMESTAMP=Number['parseInt'](0x69eb32f2),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x12764a,_0x4b60a1,_0x3360c4)=>{const _0x24f2a2=_0x3a4eeb,_0x56d941={'page':_0x12764a,'isPro':![],'timeValid':![]};if(!_0x4b60a1||!_0x3360c4)return _0x56d941;const _0x2e231b=(0x0,_univerjs_pro_license[_0x24f2a2(0xb9)])(_0x4b60a1,_0x3360c4);if(_0x2e231b[_0x24f2a2(0x126)]){const _0x8a24f2=_0x2e231b[_0x24f2a2(0x109)],_0x2221a6=(0x0,_univerjs_pro_license[_0x24f2a2(0xce)])(_0x8a24f2,'df',BUILD_TIMESTAMP);_0x56d941[_0x24f2a2(0xac)]=_0x2221a6,_0x56d941['timeValid']=_0x2221a6,_0x56d941[_0x24f2a2(0xe0)]=(0x0,_univerjs_pro_license[_0x24f2a2(0xf0)])(_0x8a24f2,_0x2221a6,_0x24f2a2(0x11a),_0x12764a,_0x12764a,0x0);}return _0x56d941;};let DocPrintService=class DocPrintService extends _univerjs_core[_0x3a4eeb(0xed)]{constructor(_0x2f2448,_0x102665,_0x2eefa9,_0x52bffc,_0x1e16df){const _0x531ebb=_0x3a4eeb;super(),this['_univerInstanceService']=_0x2f2448,this['_renderManagerService']=_0x102665,this['_injector']=_0x2eefa9,this[_0x531ebb(0xd6)]=_0x52bffc,this['_globalZoneService']=_0x1e16df;}[_0x3a4eeb(0xb5)](_0x50bfb2){const _0x2346f8=_0x3a4eeb;var _0x47d1bf,_0x4b83c6;const {ls:_0x7fbc06,pbk:_0x2b3f2b}=(_0x47d1bf=this['_configService'][_0x2346f8(0x137)](_univerjs_pro_license[_0x2346f8(0xfb)]))!==null&&_0x47d1bf!==void 0x0?_0x47d1bf:{},_0x551c65=(0x0,_univerjs_pro_license[_0x2346f8(0x112)])()?Number[_0x2346f8(0xfa)]:getPrintInfoByLicense(0x1,_0x7fbc06,_0x2b3f2b)[_0x2346f8(0xe0)];if(!this[_0x2346f8(0x110)]['getUnit'](_0x50bfb2,_univerjs_core['UniverInstanceType'][_0x2346f8(0x13c)]))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x140791=this[_0x2346f8(0x128)]['getRenderById'](_0x50bfb2);if(!_0x140791)throw new Error(_0x2346f8(0x134));const _0xa878e5=(_0x4b83c6=_0x140791[_0x2346f8(0xb1)](_univerjs_docs[_0x2346f8(0x121)])[_0x2346f8(0x142)]()['getSkeletonData']())===null||_0x4b83c6===void 0x0?void 0x0:_0x4b83c6[_0x2346f8(0xf9)];if(!_0xa878e5)throw new Error(_0x2346f8(0xdc));const _0x18fb53={'width':_0xa878e5[0x0][_0x2346f8(0xb8)],'height':_0xa878e5[0x0][_0x2346f8(0x9a)]},_0x37ad8a=_0xa878e5['length'],_0x5b6646=Math['min'](_0x551c65,_0x37ad8a),_0x2d2255=_0x140791[_0x2346f8(0xbc)][_0x2346f8(0x13f)](),_0x2a41dc=document['createElement']('div');_0x2a41dc['className']=_univerjs_pro_print[_0x2346f8(0xf6)];const _0x85820=new Array(_0x5b6646)[_0x2346f8(0x99)](null)[_0x2346f8(0x10f)]((_0x50323e,_0x17a973)=>{const _0x55e711=_0x2346f8,_0x36d47c=new DocPrintPageCanvasView(this[_0x55e711(0x100)],_0x17a973,_0x50bfb2,_0x2d2255);return _0x36d47c[_0x55e711(0xe9)][_0x55e711(0x107)]=_univerjs_pro_print[_0x55e711(0xcb)],_0x36d47c;});_0x85820[_0x2346f8(0x98)](_0x206fe1=>{const _0xed015d=_0x2346f8;_0x2a41dc['appendChild'](_0x206fe1[_0xed015d(0xe9)]),_0x206fe1[_0xed015d(0xe9)][_0xed015d(0xa3)](_0x206fe1[_0xed015d(0xde)]),_0x206fe1['prepare']();});const _0x1ba35f=(0x0,_univerjs_pro_print[_0x2346f8(0x132)])(_0x18fb53[_0x2346f8(0xc3)],_0x18fb53['height'],_univerjs_pro_print[_0x2346f8(0x11b)]['Portrait']);return document['body'][_0x2346f8(0xa3)](_0x1ba35f),document[_0x2346f8(0xbb)][_0x2346f8(0xa3)](_0x2a41dc),new Promise(_0x3da48b=>{setTimeout(()=>{const _0x5d900f=_0xee2c;window[_0x5d900f(0xdb)]=()=>{_0x85820['forEach'](_0x3cf7ca=>{_0x3cf7ca['render']();});},window['onafterprint']=()=>{const _0x33a19a=_0x5d900f;_0x85820[_0x33a19a(0x98)](_0x5838c1=>{const _0x2139b8=_0x33a19a;_0x5838c1[_0x2139b8(0xb0)]();}),document['body']['removeChild'](_0x2a41dc),document[_0x33a19a(0xbb)][_0x33a19a(0xad)](_0x1ba35f),this[_0x33a19a(0x106)]['close'](),_0x3da48b(!![]);},window['print']();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,_univerjs_core[_0x3a4eeb(0x10c)]),__decorateParam(0x1,_univerjs_engine_render['IRenderManagerService']),__decorateParam(0x2,(0x0,_univerjs_core[_0x3a4eeb(0xb7)])(_univerjs_core[_0x3a4eeb(0x116)])),__decorateParam(0x3,_univerjs_core[_0x3a4eeb(0xe8)]),__decorateParam(0x4,_univerjs_ui[_0x3a4eeb(0xe4)])],DocPrintService);const DocPrintOperation={'id':_0x3a4eeb(0xa2),'type':_univerjs_core[_0x3a4eeb(0xd8)][_0x3a4eeb(0x11f)],'handler':async _0x4d9236=>{const _0x1685dc=_0x3a4eeb,_0x4b6855=_0x4d9236[_0x1685dc(0x104)](_univerjs_core['IUniverInstanceService']),_0x53ee8a=_0x4d9236[_0x1685dc(0x104)](DocPrintService),_0x3f1a51=_0x4d9236['get'](_univerjs_engine_render[_0x1685dc(0xe3)]),_0x24adbc=_0x4d9236[_0x1685dc(0x104)](_univerjs_core[_0x1685dc(0xdf)]),_0x3b5c8a=_0x4b6855[_0x1685dc(0xd1)](_univerjs_core[_0x1685dc(0xa0)][_0x1685dc(0x13c)]);if(!_0x3b5c8a)return![];if(!_0x3f1a51['getRenderById'](_0x3b5c8a[_0x1685dc(0x12b)]()))throw new Error('Render\x20is\x20not\x20found');const _0x4b2fea=_0x3b5c8a[_0x1685dc(0xfd)]()[_0x1685dc(0x9e)];if(_0x4b2fea!==_univerjs_core[_0x1685dc(0x9f)][_0x1685dc(0xa1)])_0x24adbc['syncExecuteCommand'](_univerjs_docs_ui[_0x1685dc(0xd0)]['id']);await _0x53ee8a[_0x1685dc(0xb5)](_0x3b5c8a[_0x1685dc(0x12b)]());if(_0x4b2fea!==_univerjs_core[_0x1685dc(0x9f)][_0x1685dc(0xa1)])_0x24adbc[_0x1685dc(0x13b)](_univerjs_docs_ui[_0x1685dc(0xd0)]['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY='UNIVER_DOCS_PRINT',defaultPluginConfig={};var name=_0x3a4eeb(0xea),version='0.21.0-insiders.20260424-262d69f';const DOCS_PRINT_PLUGIN_NAME='UNIVER_DOCS_PRINT';function DocPrintMenuItemFactory(_0x10c960){const _0x5f1e4=_0x3a4eeb;return{'id':DocPrintOperation['id'],'type':_univerjs_ui[_0x5f1e4(0x9c)][_0x5f1e4(0xcc)],'title':_0x5f1e4(0x10a),'icon':_0x5f1e4(0x103),'tooltip':'print.menu','hidden$':(0x0,_univerjs_ui[_0x5f1e4(0xef)])(_0x10c960,_univerjs_core['UniverInstanceType'][_0x5f1e4(0x13c)])};}const menuSchema={[_univerjs_ui['RibbonStartGroup'][_0x3a4eeb(0xaf)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends _univerjs_core[_0x3a4eeb(0xed)]{constructor(_0x139c25,_0x1b7241,_0x4b6eb1){const _0x5d051e=_0x3a4eeb;super(),this['_commandService']=_0x139c25,this['_menuManagerService']=_0x1b7241,this[_0x5d051e(0xbe)]=_0x4b6eb1,this['_initMenus'](),this[_0x5d051e(0xd7)](),this['_initComponents']();}[_0x3a4eeb(0xf3)](){const _0x1c88e9=_0x3a4eeb;this[_0x1c88e9(0xa5)][_0x1c88e9(0x102)](menuSchema);}[_0x3a4eeb(0xd7)](){const _0x367152=_0x3a4eeb;this['disposeWithMe'](this[_0x367152(0x122)][_0x367152(0xee)](DocPrintOperation));}[_0x3a4eeb(0xcd)](){const _0x2a9e9a=_0x3a4eeb;[['PrintIcon',_univerjs_icons['PrintIcon']]][_0x2a9e9a(0x98)](([_0x5858d9,_0x52499e])=>{const _0x534c62=_0x2a9e9a;this[_0x534c62(0xbe)][_0x534c62(0x139)](_0x5858d9,_0x52499e);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,_univerjs_core[_0x3a4eeb(0xdf)]),__decorateParam(0x1,_univerjs_ui[_0x3a4eeb(0xe7)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x3a4eeb(0xb7)])(_univerjs_ui[_0x3a4eeb(0xd3)]))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends _univerjs_core[_0x3a4eeb(0xa9)]{constructor(_0x4f38f7=defaultPluginConfig,_0xe0793,_0x296387){const _0x51cda3=_0x3a4eeb;super(),this['_config']=_0x4f38f7,this[_0x51cda3(0x100)]=_0xe0793,this[_0x51cda3(0xd6)]=_0x296387;const {menu:_0x5af192,..._0x57a819}=(0x0,_univerjs_core[_0x51cda3(0x124)])({},defaultPluginConfig,this[_0x51cda3(0xf5)]);if(_0x5af192)this['_configService'][_0x51cda3(0x125)](_0x51cda3(0xc0),_0x5af192,{'merge':!![]});this[_0x51cda3(0xd6)][_0x51cda3(0x125)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x57a819);}[_0x3a4eeb(0xbf)](){const _0x1b34e3=_0x3a4eeb;(0x0,_univerjs_core[_0x1b34e3(0x101)])(this[_0x1b34e3(0x100)],[[DocPrintService],[DocsPrintUIController]]);}['onReady'](){const _0x1b47bb=_0x3a4eeb;this[_0x1b47bb(0x100)][_0x1b47bb(0x104)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x3a4eeb(0xa4),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,'packageName',name),_defineProperty(UniverDocsPrintPlugin,'version',version),_defineProperty(UniverDocsPrintPlugin,'type',_univerjs_core[_0x3a4eeb(0xa0)][_0x3a4eeb(0x13c)]),UniverDocsPrintPlugin=__decorate([(0x0,_univerjs_core[_0x3a4eeb(0x123)])(_univerjs_network[_0x3a4eeb(0xf7)],_univerjs_pro_license['UniverLicensePlugin']),__decorateParam(0x1,(0x0,_univerjs_core[_0x3a4eeb(0xb7)])(_univerjs_core[_0x3a4eeb(0x116)])),__decorateParam(0x2,_univerjs_core['IConfigService'])],UniverDocsPrintPlugin),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=DOCS_PRINT_PLUGIN_CONFIG_KEY,exports['DocPrintOperation']=DocPrintOperation,Object[_0x3a4eeb(0x10d)](exports,_0x3a4eeb(0xb3),{'enumerable':!![],'get':function(){return UniverDocsPrintPlugin;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5acbd0=_0x18c3;function _0x3f88(){const _0x552fb6=['12321bnsPLp','5310srsxfA','60DgAnCo','2BXipNy','5518051BIPUqI','234715gLqnxS','8163piVvdE','236089KUaVhl','252MICllg','103405icwnBL','102rSmRXN','455073JrKlJK','Print','exports','16jGtjSF'];_0x3f88=function(){return _0x552fb6;};return _0x3f88();}(function(_0x3538a0,_0x1669e9){const _0x42d4c1=_0x18c3,_0x4bedb4=_0x3538a0();while(!![]){try{const _0x15157f=-parseInt(_0x42d4c1(0x19d))/0x1*(-parseInt(_0x42d4c1(0x1a4))/0x2)+parseInt(_0x42d4c1(0x1a7))/0x3*(parseInt(_0x42d4c1(0x1a3))/0x4)+parseInt(_0x42d4c1(0x1aa))/0x5*(-parseInt(_0x42d4c1(0x1ab))/0x6)+-parseInt(_0x42d4c1(0x1a8))/0x7*(-parseInt(_0x42d4c1(0x1a0))/0x8)+parseInt(_0x42d4c1(0x1a1))/0x9*(-parseInt(_0x42d4c1(0x1a2))/0xa)+parseInt(_0x42d4c1(0x1a5))/0xb+parseInt(_0x42d4c1(0x1a9))/0xc*(parseInt(_0x42d4c1(0x1a6))/0xd);if(_0x15157f===_0x1669e9)break;else _0x4bedb4['push'](_0x4bedb4['shift']());}catch(_0x40b41c){_0x4bedb4['push'](_0x4bedb4['shift']());}}}(_0x3f88,0x59436));function _0x18c3(_0x52bfeb,_0x4bcfc9){_0x52bfeb=_0x52bfeb-0x19d;const _0x3f888b=_0x3f88();let _0x18c36c=_0x3f888b[_0x52bfeb];return _0x18c36c;}const locale$1={'print':{'menu':_0x5acbd0(0x19e)}},locale=locale$1;module[_0x5acbd0(0x19f)]=locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5c7c08=_0x55a8;(function(_0x259143,_0x51e65c){const _0x342a4a=_0x55a8,_0xda2cda=_0x259143();while(!![]){try{const _0x46a268=-parseInt(_0x342a4a(0xe6))/0x1*(parseInt(_0x342a4a(0xed))/0x2)+parseInt(_0x342a4a(0xe5))/0x3*(-parseInt(_0x342a4a(0xe1))/0x4)+-parseInt(_0x342a4a(0xe9))/0x5*(-parseInt(_0x342a4a(0xe3))/0x6)+parseInt(_0x342a4a(0xe4))/0x7+parseInt(_0x342a4a(0xee))/0x8*(parseInt(_0x342a4a(0xe7))/0x9)+-parseInt(_0x342a4a(0xe2))/0xa*(parseInt(_0x342a4a(0xea))/0xb)+-parseInt(_0x342a4a(0xe8))/0xc;if(_0x46a268===_0x51e65c)break;else _0xda2cda['push'](_0xda2cda['shift']());}catch(_0x12f775){_0xda2cda['push'](_0xda2cda['shift']());}}}(_0x1673,0xb8480));const locale={'print':{'menu':_0x5c7c08(0xeb)}};function _0x1673(){const _0x35a740=['233504FRldPH','4CfrEkh','442310HFswCX','18toAqBV','4458069jKTpdw','585471QGCYgY','1cnkIGg','306CsUMgR','14062116xWEgsa','1446935ITDCmM','11lagAut','Print','exports','662746MdsVAh'];_0x1673=function(){return _0x35a740;};return _0x1673();}function _0x55a8(_0xe9e06a,_0x409f54){_0xe9e06a=_0xe9e06a-0xe1;const _0x167327=_0x1673();let _0x55a8de=_0x167327[_0xe9e06a];return _0x55a8de;}module[_0x5c7c08(0xec)]=locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xf083(_0x576be0,_0x45554f){_0x576be0=_0x576be0-0x104;const _0x3a3c2f=_0x3a3c();let _0xf0830f=_0x3a3c2f[_0x576be0];return _0xf0830f;}const _0x2c6a07=_0xf083;(function(_0x47fa2c,_0x5ca8ad){const _0x3800b7=_0xf083,_0x5e18a5=_0x47fa2c();while(!![]){try{const _0x1a03ae=-parseInt(_0x3800b7(0x106))/0x1*(-parseInt(_0x3800b7(0x10c))/0x2)+parseInt(_0x3800b7(0x10a))/0x3+-parseInt(_0x3800b7(0x105))/0x4+-parseInt(_0x3800b7(0x10d))/0x5+-parseInt(_0x3800b7(0x104))/0x6*(-parseInt(_0x3800b7(0x108))/0x7)+parseInt(_0x3800b7(0x107))/0x8+-parseInt(_0x3800b7(0x10b))/0x9;if(_0x1a03ae===_0x5ca8ad)break;else _0x5e18a5['push'](_0x5e18a5['shift']());}catch(_0xf17bb2){_0x5e18a5['push'](_0x5e18a5['shift']());}}}(_0x3a3c,0x8cd20));const locale$1={'print':{'menu':_0x2c6a07(0x109)}},locale=locale$1;function _0x3a3c(){const _0x5d2039=['Print','140985GMgsLZ','1071792CoAZZm','239374ARyVqt','434900czwBgE','exports','36948KdVRxG','1086084LlAFjp','6LZhjeC','195824AhxjXP','301RdMQCP'];_0x3a3c=function(){return _0x5d2039;};return _0x3a3c();}module[_0x2c6a07(0x10e)]=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5021(){const _0x2c205f=['7yQjUpr','316975kJKQxS','exports','368252wOMQZu','1iaPsFF','50IskkWJ','644898oxgVoF','3rPJxWN','4440816aiWdlF','1463496UNDSyp','3661185iymTAG','1135374KxwWmN'];_0x5021=function(){return _0x2c205f;};return _0x5021();}function _0x11a4(_0x2389dc,_0x108988){_0x2389dc=_0x2389dc-0x1f3;const _0x502150=_0x5021();let _0x11a440=_0x502150[_0x2389dc];return _0x11a440;}const _0x3dab37=_0x11a4;(function(_0x1c1e5f,_0x5f06cd){const _0x46cb6b=_0x11a4,_0x4f7b93=_0x1c1e5f();while(!![]){try{const _0x5002df=-parseInt(_0x46cb6b(0x1fa))/0x1*(parseInt(_0x46cb6b(0x1fc))/0x2)+-parseInt(_0x46cb6b(0x1fd))/0x3*(parseInt(_0x46cb6b(0x1f9))/0x4)+-parseInt(_0x46cb6b(0x1f7))/0x5+-parseInt(_0x46cb6b(0x1f5))/0x6*(parseInt(_0x46cb6b(0x1f6))/0x7)+-parseInt(_0x46cb6b(0x1f3))/0x8+-parseInt(_0x46cb6b(0x1fe))/0x9+-parseInt(_0x46cb6b(0x1fb))/0xa*(-parseInt(_0x46cb6b(0x1f4))/0xb);if(_0x5002df===_0x5f06cd)break;else _0x4f7b93['push'](_0x4f7b93['shift']());}catch(_0x44faa6){_0x4f7b93['push'](_0x4f7b93['shift']());}}}(_0x5021,0x4e4a6));const locale={'print':{'menu':'چاپ'}};module[_0x3dab37(0x1f8)]=locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x8590(_0x2c3550,_0x26270c){_0x2c3550=_0x2c3550-0x13a;const _0xb243e5=_0xb243();let _0x859025=_0xb243e5[_0x2c3550];return _0x859025;}const _0x5f5710=_0x8590;(function(_0x463acb,_0x287726){const _0x5612d5=_0x8590,_0x2f75e2=_0x463acb();while(!![]){try{const _0x129b8f=parseInt(_0x5612d5(0x144))/0x1*(-parseInt(_0x5612d5(0x143))/0x2)+-parseInt(_0x5612d5(0x13e))/0x3+-parseInt(_0x5612d5(0x13c))/0x4+-parseInt(_0x5612d5(0x13f))/0x5*(-parseInt(_0x5612d5(0x13b))/0x6)+-parseInt(_0x5612d5(0x13d))/0x7*(parseInt(_0x5612d5(0x145))/0x8)+-parseInt(_0x5612d5(0x142))/0x9*(-parseInt(_0x5612d5(0x140))/0xa)+parseInt(_0x5612d5(0x13a))/0xb;if(_0x129b8f===_0x287726)break;else _0x2f75e2['push'](_0x2f75e2['shift']());}catch(_0x1d8007){_0x2f75e2['push'](_0x2f75e2['shift']());}}}(_0xb243,0x61f48));function _0xb243(){const _0x4e6fc8=['14097182BidtZU','24474eSSPCy','3175508FjIZjV','21LpGTKl','334239uPORAq','605kGcdeS','541360TBgfEh','exports','27wEGREh','542ANwgTj','1063YzbBva','914512AMoxnO'];_0xb243=function(){return _0x4e6fc8;};return _0xb243();}const locale={'print':{'menu':'Imprimer'}};module[_0x5f5710(0x141)]=locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x582396=_0x6ad8;function _0x4c94(){const _0x4e4a8f=['1401855evqmpN','95922VMtwAJ','351927AAAPhm','exports','12LMEyWC','995420XMXWEM','4184wMPhsq','869760dZxGmY','30KysIxa','169996iAjtwv','4039BJtvgd'];_0x4c94=function(){return _0x4e4a8f;};return _0x4c94();}function _0x6ad8(_0x4f8c2e,_0x163495){_0x4f8c2e=_0x4f8c2e-0xfe;const _0x4c9495=_0x4c94();let _0x6ad896=_0x4c9495[_0x4f8c2e];return _0x6ad896;}(function(_0x52faa1,_0x18c96d){const _0x3d8470=_0x6ad8,_0x10e0f1=_0x52faa1();while(!![]){try{const _0x2de02f=parseInt(_0x3d8470(0xff))/0x1+-parseInt(_0x3d8470(0x107))/0x2+-parseInt(_0x3d8470(0xfe))/0x3+parseInt(_0x3d8470(0x105))/0x4+-parseInt(_0x3d8470(0x103))/0x5*(-parseInt(_0x3d8470(0x102))/0x6)+parseInt(_0x3d8470(0x108))/0x7*(parseInt(_0x3d8470(0x104))/0x8)+-parseInt(_0x3d8470(0x100))/0x9*(parseInt(_0x3d8470(0x106))/0xa);if(_0x2de02f===_0x18c96d)break;else _0x10e0f1['push'](_0x10e0f1['shift']());}catch(_0x208345){_0x10e0f1['push'](_0x10e0f1['shift']());}}}(_0x4c94,0x53e9d));const locale={'print':{'menu':'印刷'}};module[_0x582396(0x101)]=locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x40235c=_0x1ce7;(function(_0xe9eb4e,_0x291973){const _0x103dbb=_0x1ce7,_0xff6a10=_0xe9eb4e();while(!![]){try{const _0x212326=-parseInt(_0x103dbb(0x1f4))/0x1+parseInt(_0x103dbb(0x1f1))/0x2*(-parseInt(_0x103dbb(0x1ee))/0x3)+parseInt(_0x103dbb(0x1f2))/0x4*(-parseInt(_0x103dbb(0x1f5))/0x5)+-parseInt(_0x103dbb(0x1f7))/0x6+-parseInt(_0x103dbb(0x1f3))/0x7*(-parseInt(_0x103dbb(0x1ed))/0x8)+-parseInt(_0x103dbb(0x1f6))/0x9+parseInt(_0x103dbb(0x1f0))/0xa;if(_0x212326===_0x291973)break;else _0xff6a10['push'](_0xff6a10['shift']());}catch(_0x383fa2){_0xff6a10['push'](_0xff6a10['shift']());}}}(_0x480b,0x64925));function _0x480b(){const _0x50cf12=['45388BYpgfi','123953cIJGbe','15YMgkZp','5575671ykjGdK','1171650yJBzOu','80GJNkmI','15EFbqts','exports','25524370QFeDyy','303004TGvyHr','678772TlMbgi'];_0x480b=function(){return _0x50cf12;};return _0x480b();}const locale={'print':{'menu':'인쇄'}};function _0x1ce7(_0x3ff3ca,_0x2e6165){_0x3ff3ca=_0x3ff3ca-0x1ed;const _0x480bab=_0x480b();let _0x1ce73d=_0x480bab[_0x3ff3ca];return _0x1ce73d;}module[_0x40235c(0x1ef)]=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3bb0(_0x2aef0c,_0xb87d02){_0x2aef0c=_0x2aef0c-0xf9;const _0x167d56=_0x167d();let _0x3bb05e=_0x167d56[_0x2aef0c];return _0x3bb05e;}function _0x167d(){const _0x29ddb2=['58951FYwwlk','1367454DLHtaO','860377VXRBAQ','13492FeAOOh','8rmpQwM','2710674IjIbYo','7122620AYNONI','Печать','2jJVvqF','exports','4321908uEeXUK','115OZluxY'];_0x167d=function(){return _0x29ddb2;};return _0x167d();}const _0x21d9a1=_0x3bb0;(function(_0x47f35b,_0xb6f36f){const _0x4cb808=_0x3bb0,_0x11cf21=_0x47f35b();while(!![]){try{const _0x40367f=parseInt(_0x4cb808(0xfb))/0x1+parseInt(_0x4cb808(0x103))/0x2*(-parseInt(_0x4cb808(0xfc))/0x3)+parseInt(_0x4cb808(0xfe))/0x4*(parseInt(_0x4cb808(0xfa))/0x5)+parseInt(_0x4cb808(0x100))/0x6+-parseInt(_0x4cb808(0xfd))/0x7+parseInt(_0x4cb808(0xff))/0x8*(-parseInt(_0x4cb808(0xf9))/0x9)+parseInt(_0x4cb808(0x101))/0xa;if(_0x40367f===_0xb6f36f)break;else _0x11cf21['push'](_0x11cf21['shift']());}catch(_0x3fe180){_0x11cf21['push'](_0x11cf21['shift']());}}}(_0x167d,0x3afde));const locale={'print':{'menu':_0x21d9a1(0x102)}};module[_0x21d9a1(0x104)]=locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x398f52=_0x5b01;function _0x5b01(_0x5e41ef,_0x25b11c){_0x5e41ef=_0x5e41ef-0x84;const _0x3bdced=_0x3bdc();let _0x5b01e0=_0x3bdced[_0x5e41ef];return _0x5b01e0;}(function(_0x2389d2,_0x31cde8){const _0x170459=_0x5b01,_0x107644=_0x2389d2();while(!![]){try{const _0x5bd6cc=parseInt(_0x170459(0x8d))/0x1*(parseInt(_0x170459(0x8c))/0x2)+parseInt(_0x170459(0x85))/0x3+-parseInt(_0x170459(0x89))/0x4+parseInt(_0x170459(0x87))/0x5*(parseInt(_0x170459(0x88))/0x6)+parseInt(_0x170459(0x8a))/0x7+parseInt(_0x170459(0x86))/0x8+parseInt(_0x170459(0x8e))/0x9*(-parseInt(_0x170459(0x8f))/0xa);if(_0x5bd6cc===_0x31cde8)break;else _0x107644['push'](_0x107644['shift']());}catch(_0x5d633d){_0x107644['push'](_0x107644['shift']());}}}(_0x3bdc,0x88c16));const locale={'print':{'menu':_0x398f52(0x84)}};module[_0x398f52(0x8b)]=locale;function _0x3bdc(){const _0x773b35=['2531142DjaMMN','5584360aEopZl','10IWMHOf','1377714MQMZWS','4444772lEKEVr','5609877RReBcd','exports','31768sydwfw','26PZpnNu','6723zQJhOK','20670aMDqHg','Tlač'];_0x3bdc=function(){return _0x773b35;};return _0x3bdc();}
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2bb0ec=_0x1827;function _0x39ee(){const _0x567de6=['3267sKwENG','1096vcPkau','2482QNupaC','11638314lBhYHv','6480282sSrLrQ','18956070FJIGNE','exports','4546479zKVNyi','558LESRVx','5396936ePZPVw','5vCXqFL'];_0x39ee=function(){return _0x567de6;};return _0x39ee();}function _0x1827(_0x5c05f5,_0x406cf0){_0x5c05f5=_0x5c05f5-0x1c5;const _0x39eea3=_0x39ee();let _0x18272e=_0x39eea3[_0x5c05f5];return _0x18272e;}(function(_0x29ae97,_0x16645b){const _0x30ebf8=_0x1827,_0x462ab7=_0x29ae97();while(!![]){try{const _0x2f02ab=parseInt(_0x30ebf8(0x1ce))/0x1*(parseInt(_0x30ebf8(0x1c8))/0x2)+parseInt(_0x30ebf8(0x1c6))/0x3*(-parseInt(_0x30ebf8(0x1c7))/0x4)+parseInt(_0x30ebf8(0x1c5))/0x5*(parseInt(_0x30ebf8(0x1ca))/0x6)+-parseInt(_0x30ebf8(0x1cd))/0x7+-parseInt(_0x30ebf8(0x1cf))/0x8+-parseInt(_0x30ebf8(0x1c9))/0x9+parseInt(_0x30ebf8(0x1cb))/0xa;if(_0x2f02ab===_0x16645b)break;else _0x462ab7['push'](_0x462ab7['shift']());}catch(_0x486a93){_0x462ab7['push'](_0x462ab7['shift']());}}}(_0x39ee,0xb7b66));const locale={'print':{'menu':'In'}};module[_0x2bb0ec(0x1cc)]=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2e1c(_0x1ae4ce,_0xf16050){_0x1ae4ce=_0x1ae4ce-0x189;const _0x4db894=_0x4db8();let _0x2e1ccc=_0x4db894[_0x1ae4ce];return _0x2e1ccc;}const _0x9acd97=_0x2e1c;(function(_0x1d87a3,_0x1b0d9f){const _0x1d6fed=_0x2e1c,_0x301b0b=_0x1d87a3();while(!![]){try{const _0x274c2b=-parseInt(_0x1d6fed(0x18f))/0x1*(-parseInt(_0x1d6fed(0x192))/0x2)+parseInt(_0x1d6fed(0x194))/0x3*(parseInt(_0x1d6fed(0x18e))/0x4)+-parseInt(_0x1d6fed(0x18d))/0x5*(-parseInt(_0x1d6fed(0x189))/0x6)+-parseInt(_0x1d6fed(0x193))/0x7*(-parseInt(_0x1d6fed(0x190))/0x8)+parseInt(_0x1d6fed(0x18a))/0x9*(parseInt(_0x1d6fed(0x18b))/0xa)+-parseInt(_0x1d6fed(0x18c))/0xb+-parseInt(_0x1d6fed(0x191))/0xc;if(_0x274c2b===_0x1b0d9f)break;else _0x301b0b['push'](_0x301b0b['shift']());}catch(_0x45b231){_0x301b0b['push'](_0x301b0b['shift']());}}}(_0x4db8,0x80495));const locale={'print':{'menu':'打印'}};module[_0x9acd97(0x195)]=locale;function _0x4db8(){const _0x541c95=['3512bgiWip','43971012SkxLbf','2998EeJGEL','14497gmkTAt','16251CfeCOO','exports','6ksgSED','9022437oqDTuT','10xTdcQJ','2656302XgOzsT','3892450mZEOmk','544YScylB','670xapUQf'];_0x4db8=function(){return _0x541c95;};return _0x4db8();}
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x365a(){const _0x203021=['1258232ktHaOW','185719uRECYL','17621832KNRPuo','5487174JRRqbL','497340DUVotp','1221300jMLipd','exports','2750814Jyqnej','60wNDkEc'];_0x365a=function(){return _0x203021;};return _0x365a();}const _0x51ed26=_0xc7f1;(function(_0x59b425,_0x5ed91c){const _0x457c73=_0xc7f1,_0x1d7233=_0x59b425();while(!![]){try{const _0x574d7e=-parseInt(_0x457c73(0x1c0))/0x1+-parseInt(_0x457c73(0x1c4))/0x2+-parseInt(_0x457c73(0x1c6))/0x3+parseInt(_0x457c73(0x1bf))/0x4+-parseInt(_0x457c73(0x1be))/0x5*(parseInt(_0x457c73(0x1c3))/0x6)+parseInt(_0x457c73(0x1c2))/0x7+parseInt(_0x457c73(0x1c1))/0x8;if(_0x574d7e===_0x5ed91c)break;else _0x1d7233['push'](_0x1d7233['shift']());}catch(_0x340a13){_0x1d7233['push'](_0x1d7233['shift']());}}}(_0x365a,0x90d1e));const locale={'print':{'menu':'列印'}};function _0xc7f1(_0x173de1,_0x580800){_0x173de1=_0x173de1-0x1be;const _0x365afd=_0x365a();let _0xc7f186=_0x365afd[_0x173de1];return _0xc7f186;}module[_0x51ed26(0x1c5)]=locale;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d2396=_0x40f3;(function(_0x5d6590,_0x282ecd){const _0x3ef2c8=_0x40f3,_0x4e3d83=_0x5d6590();while(!![]){try{const _0x20e138=-parseInt(_0x3ef2c8(0xd0))/0x1*(-parseInt(_0x3ef2c8(0xbe))/0x2)+-parseInt(_0x3ef2c8(0xc2))/0x3*(parseInt(_0x3ef2c8(0xd9))/0x4)+parseInt(_0x3ef2c8(0xf1))/0x5+parseInt(_0x3ef2c8(0xc7))/0x6+parseInt(_0x3ef2c8(0xcf))/0x7+-parseInt(_0x3ef2c8(0x140))/0x8*(-parseInt(_0x3ef2c8(0xbc))/0x9)+-parseInt(_0x3ef2c8(0x137))/0xa*(parseInt(_0x3ef2c8(0x107))/0xb);if(_0x20e138===_0x282ecd)break;else _0x4e3d83['push'](_0x4e3d83['shift']());}catch(_0x168d24){_0x4e3d83['push'](_0x4e3d83['shift']());}}}(_0x5c89,0x20723));import{CommandType as _0x55b3d7,DependentOn as _0x40da35,Disposable as _0x4aa79b,DisposableCollection as _0x420e97,DocumentFlavor as _0x405a93,ICommandService as _0x148390,IConfigService as _0x4d6c2f,IUniverInstanceService as _0x1f29ec,Inject as _0x5dd5c2,Injector as _0x564c2e,Plugin as _0x58cf96,UniverInstanceType as _0x3293f0,generateRandomId as _0x1c9c42,merge as _0x7313bb,registerDependencies as _0x15c93e}from'@univerjs/core';import{DocPrintInterceptorService as _0x46603a,SwitchDocModeCommand as _0x1b61b9,VIEWPORT_KEY as _0x2314ac}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x413b4f,Documents as _0x31447c,Engine as _0x86a510,IRenderManagerService as _0x5d04f1,Scene as _0x595ec1,Viewport as _0x4097fd}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x53ea4d,UniverLicensePlugin as _0x4c48f8,getDocFeatureLimit as _0x5c8930,getLicenseInfo as _0x3d9cad,isFeatureAuthorizedWithinTime as _0x4e4567,isLocalCheck as _0x353877}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x110180,PRINT_CONTAINER_CLASS as _0x1dad64,PrintDirection as _0x152c11,createPrintStyle as _0x57ffc4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x51ae21}from'@univerjs/docs';import{ComponentManager as _0x1c5eea,IGlobalZoneService as _0x3b6f41,IMenuManagerService as _0x40daf9,MenuItemType as _0x3619ee,RibbonStartGroup as _0x4d66e0,getMenuHiddenObservable as _0x35bcf4}from'@univerjs/ui';import{UniverNetworkPlugin as _0x134407}from'@univerjs/network';import{PrintIcon as _0x2fcbea}from'@univerjs/icons';function _0x40f3(_0x3f6452,_0x43f917){_0x3f6452=_0x3f6452-0xbc;const _0x5c8961=_0x5c89();let _0x40f3fb=_0x5c8961[_0x3f6452];return _0x40f3fb;}function z(_0x2b721f){'@babel/helpers - typeof';const _0x1488d9=_0x40f3;return z=typeof Symbol==_0x1488d9(0xd4)&&typeof Symbol['iterator']=='symbol'?function(_0x26272a){return typeof _0x26272a;}:function(_0x5561ec){const _0x218b44=_0x1488d9;return _0x5561ec&&typeof Symbol==_0x218b44(0xd4)&&_0x5561ec['constructor']===Symbol&&_0x5561ec!==Symbol[_0x218b44(0xc4)]?_0x218b44(0xc1):typeof _0x5561ec;},z(_0x2b721f);}function _0x5c89(){const _0x399bd2=['setConfig','7490iZCHQB','absolute','_effects','div','onbeforeprint','_renderManagerService','VIEW_MAIN','_unitId','map','8gGtuIA','print.menu','UNIVER_DOCS_PRINT','left','1756341rNqAtT','_page','262sMkofj','root','with','symbol','18YxbHgX','render','prototype','getUnitId','_documents','1188360PNchza','BUTTON','_initMenus','length','getDocumentStyle','OTHERS','_skeleton','mainComponent','507269YhrNhr','1681xmIjjG','onReady','prepare','appendChild','function','PrintIcon','type','_addViewport','PRINTING_DOM_COLLECT','140516sRkaBg','Skeleton\x20data\x20is\x20not\x20found','call','_commandService','top','pageWidth','addObject','min','OPERATION','Printing','string','removeChild','print','getCurrentUnitOfType','100%','width','message','getOffsetConfig','syncExecuteCommand','_univerInstanceService','className','onStarting','0px','_initRenderer','828040AUqMHI','getUnit','_currentRender','style','get','mpn','valid','getInterceptPoints','save','_injector','__DocPrintRender__','_addComponent','_paperSize','version','_engine','restore','dispose','setId','forEach','_configService','_initCommands','_componentManager','7458FGmlcI','menu','packageName','createElement','makeDirty','disposeWithMe','pages','_config','getConfig','_menuManagerService','_globalZoneService','timeValid','Render\x20is\x20not\x20found','getSkeletonData','defineProperty','_root','isPro','TRADITIONAL','fill','mergeMenu','getContext','_viewMain','getRenderById','_skeletonData','_key','container','getCanvas','PRINTING_COMPONENT_COLLECT','_offsetConfig','_scene','_calculateLayout','body','pluginName','setContainer','page','Pages\x20are\x20not\x20found','getOwnPropertyDescriptor','_container','decorate','height','interceptor','scale','getSkeleton','bottom','UNIVER_DOC','object','0.20.1'];_0x5c89=function(){return _0x399bd2;};return _0x5c89();}function B(_0x1ac3aa,_0x43ec25){const _0x3433da=_0x40f3;if(z(_0x1ac3aa)!=_0x3433da(0x134)||!_0x1ac3aa)return _0x1ac3aa;var _0x9dc417=_0x1ac3aa[Symbol['toPrimitive']];if(_0x9dc417!==void 0x0){var _0x3fee89=_0x9dc417[_0x3433da(0xdb)](_0x1ac3aa,_0x43ec25||'default');if(z(_0x3fee89)!=_0x3433da(0x134))return _0x3fee89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43ec25===_0x3433da(0xe3)?String:Number)(_0x1ac3aa);}function V(_0x141c46){const _0x3bd46d=_0x40f3;var _0x410833=B(_0x141c46,_0x3bd46d(0xe3));return z(_0x410833)==_0x3bd46d(0xc1)?_0x410833:_0x410833+'';}function H(_0x3ae3ef,_0x27251d,_0x5d3055){const _0x5b9c8d=_0x40f3;return(_0x27251d=V(_0x27251d))in _0x3ae3ef?Object[_0x5b9c8d(0x115)](_0x3ae3ef,_0x27251d,{'value':_0x5d3055,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ae3ef[_0x27251d]=_0x5d3055,_0x3ae3ef;}var U=class extends _0x4aa79b{get[_0x1d2396(0x120)](){const _0x30a1bd=_0x1d2396;return this[_0x30a1bd(0x12c)];}get[_0x1d2396(0xbf)](){const _0x5d4d7c=_0x1d2396;return this[_0x5d4d7c(0x116)];}get[_0x1d2396(0xf3)](){const _0x3b63e0=_0x1d2396;let _0x3159de=this[_0x3b63e0(0xfa)]['get'](_0x5d04f1)[_0x3b63e0(0x11d)](this[_0x3b63e0(0x13e)]);if(!_0x3159de)throw Error(_0x3b63e0(0x113));return _0x3159de;}get[_0x1d2396(0xcd)](){const _0x4d9868=_0x1d2396;return this[_0x4d9868(0xf3)][_0x4d9868(0xc0)](_0x51ae21)[_0x4d9868(0x131)]();}get[_0x1d2396(0x11e)](){const _0x4af31e=_0x1d2396;let _0x157463=this['_skeleton'][_0x4af31e(0x114)]();if(!_0x157463)throw Error(_0x4af31e(0xda));return _0x157463;}get[_0x1d2396(0xfd)](){const _0x396ae0=_0x1d2396;let _0x560781=this[_0x396ae0(0x11e)]['pages'][0x0];return{'width':_0x560781[_0x396ae0(0xde)],'height':_0x560781['pageHeight']};}constructor(_0x3880bb,_0xa5ae29,_0x5a8c62,_0x22c007){const _0x283662=_0x1d2396;super(),this[_0x283662(0xfa)]=_0x3880bb,this[_0x283662(0xbd)]=_0xa5ae29,this[_0x283662(0x13e)]=_0x5a8c62,this[_0x283662(0x123)]=_0x22c007,H(this,_0x283662(0x12c),document[_0x283662(0x10a)]('div')),H(this,_0x283662(0x116),document['createElement'](_0x283662(0x13a))),H(this,_0x283662(0xff),void 0x0),H(this,'_scene',void 0x0),H(this,'_key',void 0x0),H(this,_0x283662(0xc6),void 0x0),H(this,_0x283662(0x11c),void 0x0),H(this,'_effects',new _0x420e97()),this[_0x283662(0x11f)]=_0x1c9c42(0x4),this[_0x283662(0xf0)](),this[_0x283662(0x10c)]({'dispose':()=>{const _0x2f5279=_0x283662;this[_0x2f5279(0xff)][_0x2f5279(0x101)](),this[_0x2f5279(0x124)][_0x2f5279(0x101)](),this[_0x2f5279(0x139)][_0x2f5279(0x101)]();}});}[_0x1d2396(0x125)](){const _0xebbf0e=_0x1d2396;let {docsTop:_0x4f75f,docsLeft:_0x4c9d9f}=this[_0xebbf0e(0xc6)][_0xebbf0e(0xea)](),_0x2bb1d7=this[_0xebbf0e(0xfd)]['height'],_0x48d674=this[_0xebbf0e(0xfd)][_0xebbf0e(0xe8)];return{'top':_0x4f75f+(_0x4f75f+_0x2bb1d7)*this[_0xebbf0e(0xbd)],'bottom':_0x4f75f+(_0x4f75f+_0x2bb1d7)*(this['_page']+0x1),'left':_0x4c9d9f,'right':_0x4c9d9f+_0x48d674};}[_0x1d2396(0xf0)](){const _0x238e7e=_0x1d2396;this[_0x238e7e(0xff)]=new _0x86a510('',{'elementWidth':this[_0x238e7e(0xfd)][_0x238e7e(0xe8)],'elementHeight':this[_0x238e7e(0xfd)]['height'],'dpr':0x1,'renderMode':_0x413b4f[_0x238e7e(0xe2)]}),this[_0x238e7e(0x124)]=new _0x595ec1(this[_0x238e7e(0x11f)],this[_0x238e7e(0xff)]),this[_0x238e7e(0x124)][_0x238e7e(0x130)](0x1,0x1),this[_0x238e7e(0xff)][_0x238e7e(0x128)](this[_0x238e7e(0x12c)],!0x1),this[_0x238e7e(0xff)][_0x238e7e(0x121)]()[_0x238e7e(0x11b)]()[_0x238e7e(0x102)](this['_key']+'_'+_0x1c9c42(0x4)),this[_0x238e7e(0xfc)](),this[_0x238e7e(0xd7)]();}[_0x1d2396(0xfc)](){const _0x47c544=_0x1d2396;let {pageMarginLeft:_0x44dff0,pageMarginTop:_0x2bca3e,docsLeft:_0x528495,docsTop:_0x2f8774}=this[_0x47c544(0x123)],_0x431021={'pageMarginLeft':_0x44dff0,'pageMarginTop':_0x2bca3e},_0x1df20b=new _0x31447c(_0x47c544(0xfb),this[_0x47c544(0xcd)],_0x431021);_0x1df20b['translate'](_0x528495,_0x2f8774),this[_0x47c544(0x124)][_0x47c544(0xdf)](_0x1df20b),this[_0x47c544(0xc6)]=_0x1df20b;let _0x8309b8=this[_0x47c544(0xfa)]['get'](_0x46603a);_0x8309b8['interceptor']['fetchThroughInterceptors'](_0x8309b8[_0x47c544(0x12f)][_0x47c544(0xf8)]()[_0x47c544(0x122)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x47c544(0x124)],'engine':this[_0x47c544(0xff)],'root':this[_0x47c544(0x116)],'documents':this[_0x47c544(0xc6)],'skeleton':this[_0x47c544(0xcd)]});}['_addViewport'](){const _0x2f88a0=_0x1d2396;this[_0x2f88a0(0x11c)]=new _0x4097fd(_0x2314ac[_0x2f88a0(0x13d)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d2396(0xd2)](){const _0x286ae3=_0x1d2396;let _0x21338a=this[_0x286ae3(0x125)]();this[_0x286ae3(0x11c)]['updateScrollVal']({'viewportScrollX':_0x21338a[_0x286ae3(0x143)],'viewportScrollY':_0x21338a[_0x286ae3(0xdd)]}),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['position']=_0x286ae3(0x138),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xdd)]=_0x286ae3(0xef),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['left']=_0x286ae3(0xef),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xe8)]='100%',this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['height']=_0x286ae3(0xe7),this[_0x286ae3(0x139)]=new _0x420e97();let _0x36e3d7=this[_0x286ae3(0xfa)][_0x286ae3(0xf5)](_0x46603a);_0x36e3d7['interceptor']['fetchThroughInterceptors'](_0x36e3d7[_0x286ae3(0x12f)][_0x286ae3(0xf8)]()[_0x286ae3(0xd8)])(this[_0x286ae3(0x139)],{'unitId':this['_unitId'],'scene':this[_0x286ae3(0x124)],'engine':this['_engine'],'root':this[_0x286ae3(0x116)],'skeleton':this[_0x286ae3(0xcd)],'offset':{'x':_0x21338a[_0x286ae3(0x143)],'y':_0x21338a[_0x286ae3(0xdd)]},'bound':{'top':_0x21338a[_0x286ae3(0xdd)],'left':_0x21338a['left'],'right':_0x21338a['right'],'bottom':_0x21338a[_0x286ae3(0x132)]}});}[_0x1d2396(0xc3)](){const _0x1f879f=_0x1d2396;let _0x2b35c5=this[_0x1f879f(0xff)][_0x1f879f(0x121)]()[_0x1f879f(0x11b)]();this[_0x1f879f(0xc6)]['makeForceDirty'](),this[_0x1f879f(0x124)][_0x1f879f(0x10b)](),_0x2b35c5[_0x1f879f(0xf9)](),this[_0x1f879f(0x124)][_0x1f879f(0xc3)](),_0x2b35c5[_0x1f879f(0x100)]();}};function W(_0x4c5f76,_0x32ef96){return function(_0x5d0d57,_0x4abf69){_0x32ef96(_0x5d0d57,_0x4abf69,_0x4c5f76);};}function G(_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1){const _0x1e2466=_0x1d2396;var _0x1e6b8a=arguments['length'],_0x5b09bc=_0x1e6b8a<0x3?_0x4dec53:_0x1625a1===null?_0x1625a1=Object[_0x1e2466(0x12b)](_0x4dec53,_0x100918):_0x1625a1,_0x382adf;if(typeof Reflect==_0x1e2466(0x134)&&typeof Reflect[_0x1e2466(0x12d)]=='function')_0x5b09bc=Reflect[_0x1e2466(0x12d)](_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1);else{for(var _0x363e07=_0x2faf2f[_0x1e2466(0xca)]-0x1;_0x363e07>=0x0;_0x363e07--)(_0x382adf=_0x2faf2f[_0x363e07])&&(_0x5b09bc=(_0x1e6b8a<0x3?_0x382adf(_0x5b09bc):_0x1e6b8a>0x3?_0x382adf(_0x4dec53,_0x100918,_0x5b09bc):_0x382adf(_0x4dec53,_0x100918))||_0x5b09bc);}return _0x1e6b8a>0x3&&_0x5b09bc&&Object[_0x1e2466(0x115)](_0x4dec53,_0x100918,_0x5b09bc),_0x5b09bc;}const K=Number['parseInt'](0x69d9f405),q=(_0x1bf7c2,_0x2c8085,_0x5b1a96)=>{const _0x268e07=_0x1d2396;let _0x1cd5ce={'page':_0x1bf7c2,'isPro':!0x1,'timeValid':!0x1};if(!_0x2c8085||!_0x5b1a96)return _0x1cd5ce;let _0x523344=_0x3d9cad(_0x2c8085,_0x5b1a96);if(_0x523344[_0x268e07(0xf7)]){let _0x37b01=_0x523344[_0x268e07(0xe9)],_0x2192d9=_0x4e4567(_0x37b01,'df',K);_0x1cd5ce[_0x268e07(0x117)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x112)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x129)]=_0x5c8930(_0x37b01,_0x2192d9,_0x268e07(0xf6),_0x1bf7c2,_0x1bf7c2,0x0);}return _0x1cd5ce;};let J=class extends _0x4aa79b{constructor(_0x7e5b01,_0x476dea,_0x31e7d6,_0x56e070,_0x3c94ce){const _0x2aa25c=_0x1d2396;super(),this[_0x2aa25c(0xec)]=_0x7e5b01,this['_renderManagerService']=_0x476dea,this[_0x2aa25c(0xfa)]=_0x31e7d6,this['_configService']=_0x56e070,this[_0x2aa25c(0x111)]=_0x3c94ce;}['print'](_0x2d9295){const _0x16f2fc=_0x1d2396;var _0x39d57a,_0x4c6273;let {ls:_0x5649aa,pbk:_0x1b5497}=(_0x39d57a=this[_0x16f2fc(0x104)][_0x16f2fc(0x10f)](_0x53ea4d))==null?{}:_0x39d57a,_0x5d931c=_0x353877()?0x1/0x0:q(0x1,_0x5649aa,_0x1b5497)['page'];if(!this['_univerInstanceService'][_0x16f2fc(0xf2)](_0x2d9295,_0x3293f0[_0x16f2fc(0x133)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2d10f0=this[_0x16f2fc(0x13c)][_0x16f2fc(0x11d)](_0x2d9295);if(!_0x2d10f0)throw Error(_0x16f2fc(0x113));let _0x26fb56=(_0x4c6273=_0x2d10f0[_0x16f2fc(0xc0)](_0x51ae21)[_0x16f2fc(0x131)]()['getSkeletonData']())==null?void 0x0:_0x4c6273[_0x16f2fc(0x10d)];if(!_0x26fb56)throw Error(_0x16f2fc(0x12a));let _0x5d8074={'width':_0x26fb56[0x0][_0x16f2fc(0xde)],'height':_0x26fb56[0x0]['pageHeight']},_0xff8e46=_0x26fb56['length'],_0x153f00=Math[_0x16f2fc(0xe0)](_0x5d931c,_0xff8e46),_0x1406ad=_0x2d10f0[_0x16f2fc(0xce)]['getOffsetConfig'](),_0x242817=document[_0x16f2fc(0x10a)]('div');_0x242817['className']=_0x1dad64;let _0x3631f6=Array(_0x153f00)[_0x16f2fc(0x119)](null)[_0x16f2fc(0x13f)]((_0x39bd40,_0x269a16)=>{const _0x19744d=_0x16f2fc;let _0xd13775=new U(this[_0x19744d(0xfa)],_0x269a16,_0x2d9295,_0x1406ad);return _0xd13775[_0x19744d(0x120)][_0x19744d(0xed)]=_0x110180,_0xd13775;});_0x3631f6[_0x16f2fc(0x103)](_0x558748=>{const _0x58a0b6=_0x16f2fc;_0x242817[_0x58a0b6(0xd3)](_0x558748['container']),_0x558748[_0x58a0b6(0x120)][_0x58a0b6(0xd3)](_0x558748[_0x58a0b6(0xbf)]),_0x558748[_0x58a0b6(0xd2)]();});let _0xf4eacb=_0x57ffc4(_0x5d8074[_0x16f2fc(0xe8)],_0x5d8074[_0x16f2fc(0x12e)],_0x152c11['Portrait']);return document[_0x16f2fc(0x126)]['appendChild'](_0xf4eacb),document[_0x16f2fc(0x126)][_0x16f2fc(0xd3)](_0x242817),new Promise(_0x474f1b=>{setTimeout(()=>{const _0x1885f4=_0x40f3;window[_0x1885f4(0x13b)]=()=>{_0x3631f6['forEach'](_0x39b008=>{_0x39b008['render']();});},window['onafterprint']=()=>{const _0x170412=_0x1885f4;_0x3631f6[_0x170412(0x103)](_0x2ba341=>{const _0x4768d3=_0x170412;_0x2ba341[_0x4768d3(0x101)]();}),document[_0x170412(0x126)][_0x170412(0xe4)](_0x242817),document['body']['removeChild'](_0xf4eacb),this[_0x170412(0x111)]['close'](),_0x474f1b(!0x0);},window[_0x1885f4(0xe5)]();},0x64);});}};J=G([W(0x0,_0x1f29ec),W(0x1,_0x5d04f1),W(0x2,_0x5dd5c2(_0x564c2e)),W(0x3,_0x4d6c2f),W(0x4,_0x3b6f41)],J);const Y={'id':'docs.operation.print','type':_0x55b3d7[_0x1d2396(0xe1)],'handler':async _0x47206f=>{const _0x3d4f39=_0x1d2396;let _0x4fd832=_0x47206f[_0x3d4f39(0xf5)](_0x1f29ec),_0x55a103=_0x47206f[_0x3d4f39(0xf5)](J),_0xde5703=_0x47206f[_0x3d4f39(0xf5)](_0x5d04f1),_0x341a37=_0x47206f['get'](_0x148390),_0x30f5c6=_0x4fd832[_0x3d4f39(0xe6)](_0x3293f0[_0x3d4f39(0x133)]);if(!_0x30f5c6)return!0x1;if(!_0xde5703['getRenderById'](_0x30f5c6['getUnitId']()))throw Error(_0x3d4f39(0x113));let _0x4552ee=_0x30f5c6[_0x3d4f39(0xcb)]()['documentFlavor'];return _0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),await _0x55a103[_0x3d4f39(0xe5)](_0x30f5c6[_0x3d4f39(0xc5)]()),_0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),!0x0;}},X=_0x1d2396(0x142),Z={};var ie='@univerjs-pro/docs-print',ae=_0x1d2396(0x135);function oe(_0x51d184){const _0x33e45b=_0x1d2396;return{'id':Y['id'],'type':_0x3619ee[_0x33e45b(0xc8)],'title':_0x33e45b(0x141),'icon':_0x33e45b(0xd5),'tooltip':_0x33e45b(0x141),'hidden$':_0x35bcf4(_0x51d184,_0x3293f0[_0x33e45b(0x133)])};}const se={[_0x4d66e0[_0x1d2396(0xcc)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4aa79b{constructor(_0x3f9c1b,_0x3b4167,_0x51554f){const _0x407e6f=_0x1d2396;super(),this['_commandService']=_0x3f9c1b,this[_0x407e6f(0x110)]=_0x3b4167,this['_componentManager']=_0x51554f,this[_0x407e6f(0xc9)](),this[_0x407e6f(0x105)](),this['_initComponents']();}[_0x1d2396(0xc9)](){const _0x1c4845=_0x1d2396;this['_menuManagerService'][_0x1c4845(0x11a)](se);}[_0x1d2396(0x105)](){const _0x345ff1=_0x1d2396;this['disposeWithMe'](this[_0x345ff1(0xdc)]['registerCommand'](Y));}['_initComponents'](){const _0x25bba0=_0x1d2396;[[_0x25bba0(0xd5),_0x2fcbea]][_0x25bba0(0x103)](([_0xb1859a,_0x33f566])=>{const _0x32ad76=_0x25bba0;this[_0x32ad76(0x106)]['register'](_0xb1859a,_0x33f566);});}};Q=G([W(0x0,_0x148390),W(0x1,_0x40daf9),W(0x2,_0x5dd5c2(_0x1c5eea))],Q);let $=class extends _0x58cf96{constructor(_0x3df94c=Z,_0x4a423a,_0x1b1fa1){const _0x4b4750=_0x1d2396;super(),this[_0x4b4750(0x10e)]=_0x3df94c,this[_0x4b4750(0xfa)]=_0x4a423a,this[_0x4b4750(0x104)]=_0x1b1fa1;let {menu:_0x55643e,..._0x44db79}=_0x7313bb({},Z,this[_0x4b4750(0x10e)]);_0x55643e&&this['_configService'][_0x4b4750(0x136)](_0x4b4750(0x108),_0x55643e,{'merge':!0x0}),this[_0x4b4750(0x104)][_0x4b4750(0x136)](X,_0x44db79);}[_0x1d2396(0xee)](){const _0x5d7660=_0x1d2396;_0x15c93e(this[_0x5d7660(0xfa)],[[J],[Q]]);}[_0x1d2396(0xd1)](){const _0x34e202=_0x1d2396;this[_0x34e202(0xfa)][_0x34e202(0xf5)](Q);}};H($,_0x1d2396(0x127),_0x1d2396(0x142)),H($,_0x1d2396(0x109),ie),H($,_0x1d2396(0xfe),ae),H($,_0x1d2396(0xd6),_0x3293f0[_0x1d2396(0x133)]),$=G([_0x40da35(_0x134407,_0x4c48f8),W(0x1,_0x5dd5c2(_0x564c2e)),W(0x2,_0x4d6c2f)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x3dd140=_0x53c4;(function(_0x4f5b1f,_0x55af70){const _0x10c91f=_0x53c4,_0x55d2ec=_0x4f5b1f();while(!![]){try{const _0x2193dc=-parseInt(_0x10c91f(0x14e))/0x1+-parseInt(_0x10c91f(0x13d))/0x2+-parseInt(_0x10c91f(0x10c))/0x3*(parseInt(_0x10c91f(0x14f))/0x4)+-parseInt(_0x10c91f(0x162))/0x5*(parseInt(_0x10c91f(0x16e))/0x6)+parseInt(_0x10c91f(0x147))/0x7*(parseInt(_0x10c91f(0x131))/0x8)+parseInt(_0x10c91f(0x169))/0x9+-parseInt(_0x10c91f(0x115))/0xa*(-parseInt(_0x10c91f(0x183))/0xb);if(_0x2193dc===_0x55af70)break;else _0x55d2ec['push'](_0x55d2ec['shift']());}catch(_0x167130){_0x55d2ec['push'](_0x55d2ec['shift']());}}}(_0x55f6,0x8d43d));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x581b7e){'@babel/helpers - typeof';const _0x45073e=_0x53c4;return _typeof=_0x45073e(0x17e)==typeof Symbol&&_0x45073e(0x12c)==typeof Symbol['iterator']?function(_0x162cb7){return typeof _0x162cb7;}:function(_0x35d70b){const _0x55023c=_0x45073e;return _0x35d70b&&_0x55023c(0x17e)==typeof Symbol&&_0x35d70b[_0x55023c(0x122)]===Symbol&&_0x35d70b!==Symbol['prototype']?_0x55023c(0x12c):typeof _0x35d70b;},_typeof(_0x581b7e);}function toPrimitive(_0x1f5c46,_0x4e2d7f){const _0x53e640=_0x53c4;if('object'!=_typeof(_0x1f5c46)||!_0x1f5c46)return _0x1f5c46;var _0x2b09dd=_0x1f5c46[Symbol[_0x53e640(0x144)]];if(void 0x0!==_0x2b09dd){var _0x2bf202=_0x2b09dd['call'](_0x1f5c46,_0x4e2d7f||_0x53e640(0x18c));if(_0x53e640(0x119)!=_typeof(_0x2bf202))return _0x2bf202;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x53e640(0x15d)===_0x4e2d7f?String:Number)(_0x1f5c46);}function toPropertyKey(_0x5c4ce7){const _0x392d03=_0x53c4;var _0x36ba46=toPrimitive(_0x5c4ce7,_0x392d03(0x15d));return _0x392d03(0x12c)==_typeof(_0x36ba46)?_0x36ba46:_0x36ba46+'';}function _defineProperty(_0x5043a5,_0x258566,_0x56002a){const _0xa1d0e7=_0x53c4;return(_0x258566=toPropertyKey(_0x258566))in _0x5043a5?Object[_0xa1d0e7(0x15b)](_0x5043a5,_0x258566,{'value':_0x56002a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5043a5[_0x258566]=_0x56002a,_0x5043a5;}var DocPrintPageCanvasView=class extends Disposable{get[_0x3dd140(0x126)](){return this['_container'];}get['root'](){const _0x231c4f=_0x3dd140;return this[_0x231c4f(0x12d)];}get[_0x3dd140(0x165)](){const _0x5b5a0e=_0x3dd140,_0x23bc1d=this[_0x5b5a0e(0x173)][_0x5b5a0e(0x16b)](IRenderManagerService)[_0x5b5a0e(0x124)](this[_0x5b5a0e(0x180)]);if(!_0x23bc1d)throw new Error(_0x5b5a0e(0x178));return _0x23bc1d;}get[_0x3dd140(0x139)](){const _0x14bb91=_0x3dd140;return this['_currentRender']['with'](DocSkeletonManagerService)[_0x14bb91(0x14b)]();}get['_skeletonData'](){const _0x528a7f=_0x3dd140,_0x4ad6=this[_0x528a7f(0x139)][_0x528a7f(0x10d)]();if(!_0x4ad6)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x4ad6;}get[_0x3dd140(0x188)](){const _0x3c190b=_0x3dd140,_0x456144=this['_skeletonData']['pages'][0x0];return{'width':_0x456144[_0x3c190b(0x133)],'height':_0x456144[_0x3c190b(0x160)]};}constructor(_0x116a3d,_0x42e9e4,_0x17a591,_0x440c4e){const _0x31cfd8=_0x3dd140;super(),this[_0x31cfd8(0x173)]=_0x116a3d,this[_0x31cfd8(0x10f)]=_0x42e9e4,this[_0x31cfd8(0x180)]=_0x17a591,this[_0x31cfd8(0x166)]=_0x440c4e,_defineProperty(this,'_container',document['createElement'](_0x31cfd8(0x12e))),_defineProperty(this,_0x31cfd8(0x12d),document[_0x31cfd8(0x11d)](_0x31cfd8(0x12e))),_defineProperty(this,'_engine',void 0x0),_defineProperty(this,_0x31cfd8(0x132),void 0x0),_defineProperty(this,_0x31cfd8(0x161),void 0x0),_defineProperty(this,_0x31cfd8(0x18d),void 0x0),_defineProperty(this,_0x31cfd8(0x12b),void 0x0),_defineProperty(this,_0x31cfd8(0x14d),new DisposableCollection()),this[_0x31cfd8(0x161)]=generateRandomId(0x4),this['_initRenderer'](),this['disposeWithMe']({'dispose':()=>{const _0x38a454=_0x31cfd8;this['_engine']['dispose'](),this[_0x38a454(0x132)][_0x38a454(0x148)](),this[_0x38a454(0x14d)]['dispose']();}});}[_0x3dd140(0x10e)](){const _0x419208=_0x3dd140,{docsTop:_0x3ed6ad,docsLeft:_0x5203f0}=this[_0x419208(0x18d)][_0x419208(0x15c)](),_0x372940=this[_0x419208(0x188)][_0x419208(0x105)],_0x33d755=this['_paperSize'][_0x419208(0x129)];return{'top':_0x3ed6ad+(_0x3ed6ad+_0x372940)*this[_0x419208(0x10f)],'bottom':_0x3ed6ad+(_0x3ed6ad+_0x372940)*(this[_0x419208(0x10f)]+0x1),'left':_0x5203f0,'right':_0x5203f0+_0x33d755};}[_0x3dd140(0x12f)](){const _0x5c4285=_0x3dd140,_0x530937=0x1;this[_0x5c4285(0x13c)]=new Engine('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this[_0x5c4285(0x188)][_0x5c4285(0x105)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x5c4285(0x120)]}),this['_scene']=new Scene(this[_0x5c4285(0x161)],this[_0x5c4285(0x13c)]),this['_scene']['scale'](_0x530937,_0x530937),this[_0x5c4285(0x13c)]['setContainer'](this[_0x5c4285(0x184)],![]),this['_engine'][_0x5c4285(0x189)]()[_0x5c4285(0x177)]()[_0x5c4285(0x106)](this[_0x5c4285(0x161)]+'_'+generateRandomId(0x4)),this[_0x5c4285(0x172)](),this[_0x5c4285(0x17d)]();}[_0x3dd140(0x172)](){const _0x318954=_0x3dd140,{pageMarginLeft:_0x3a10cb,pageMarginTop:_0x2de44b,docsLeft:_0x1115b4,docsTop:_0x5b7b83}=this[_0x318954(0x166)],_0x411539={'pageMarginLeft':_0x3a10cb,'pageMarginTop':_0x2de44b},_0x317a94=new Documents('__DocPrintRender__',this[_0x318954(0x139)],_0x411539);_0x317a94[_0x318954(0x17b)](_0x1115b4,_0x5b7b83),this[_0x318954(0x132)][_0x318954(0x159)](_0x317a94),this[_0x318954(0x18d)]=_0x317a94;const _0x289024=this[_0x318954(0x173)][_0x318954(0x16b)](DocPrintInterceptorService);_0x289024[_0x318954(0x135)][_0x318954(0x118)](_0x289024[_0x318954(0x135)][_0x318954(0x175)]()[_0x318954(0x108)])(void 0x0,{'unitId':this[_0x318954(0x180)],'scene':this[_0x318954(0x132)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x318954(0x18d)],'skeleton':this[_0x318954(0x139)]});}[_0x3dd140(0x17d)](){const _0x4d2851=_0x3dd140;this[_0x4d2851(0x12b)]=new Viewport(VIEWPORT_KEY[_0x4d2851(0x14a)],this[_0x4d2851(0x132)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}['prepare'](){const _0x3d7aca=_0x3dd140,_0x5c5230=this[_0x3d7aca(0x10e)]();this[_0x3d7aca(0x12b)][_0x3d7aca(0x155)]({'viewportScrollX':_0x5c5230['left'],'viewportScrollY':_0x5c5230[_0x3d7aca(0x153)]}),this['_root'][_0x3d7aca(0x13f)]['position']=_0x3d7aca(0x167),this[_0x3d7aca(0x12d)]['style'][_0x3d7aca(0x153)]='0px',this['_root'][_0x3d7aca(0x13f)][_0x3d7aca(0x16f)]='0px',this[_0x3d7aca(0x12d)][_0x3d7aca(0x13f)][_0x3d7aca(0x129)]='100%',this[_0x3d7aca(0x12d)]['style']['height']='100%',this[_0x3d7aca(0x14d)]=new DisposableCollection();const _0x3d3e2b=this['_injector'][_0x3d7aca(0x16b)](DocPrintInterceptorService);_0x3d3e2b[_0x3d7aca(0x135)][_0x3d7aca(0x118)](_0x3d3e2b[_0x3d7aca(0x135)][_0x3d7aca(0x175)]()[_0x3d7aca(0x154)])(this['_effects'],{'unitId':this[_0x3d7aca(0x180)],'scene':this[_0x3d7aca(0x132)],'engine':this[_0x3d7aca(0x13c)],'root':this[_0x3d7aca(0x12d)],'skeleton':this['_skeleton'],'offset':{'x':_0x5c5230['left'],'y':_0x5c5230['top']},'bound':{'top':_0x5c5230[_0x3d7aca(0x153)],'left':_0x5c5230[_0x3d7aca(0x16f)],'right':_0x5c5230['right'],'bottom':_0x5c5230[_0x3d7aca(0x149)]}});}['render'](){const _0x13f617=_0x3dd140,_0x4f03d1=this[_0x13f617(0x13c)]['getCanvas']()[_0x13f617(0x177)]();this[_0x13f617(0x18d)]['makeForceDirty'](),this[_0x13f617(0x132)]['makeDirty'](),_0x4f03d1['save'](),this[_0x13f617(0x132)][_0x13f617(0x114)](),_0x4f03d1[_0x13f617(0x10b)]();}};function __decorateParam(_0x387db7,_0xb6ab26){return function(_0x363fbc,_0x501a0c){_0xb6ab26(_0x363fbc,_0x501a0c,_0x387db7);};}function __decorate(_0x28cf68,_0x325f89,_0x2b3a63,_0x1f2176){const _0xcbbef8=_0x3dd140;var _0x4db20c=arguments[_0xcbbef8(0x16c)],_0x173ac7=_0x4db20c<0x3?_0x325f89:_0x1f2176===null?_0x1f2176=Object[_0xcbbef8(0x11b)](_0x325f89,_0x2b3a63):_0x1f2176,_0x17f33c;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0xcbbef8(0x17e))_0x173ac7=Reflect[_0xcbbef8(0x11f)](_0x28cf68,_0x325f89,_0x2b3a63,_0x1f2176);else{for(var _0x25f989=_0x28cf68[_0xcbbef8(0x16c)]-0x1;_0x25f989>=0x0;_0x25f989--)if(_0x17f33c=_0x28cf68[_0x25f989])_0x173ac7=(_0x4db20c<0x3?_0x17f33c(_0x173ac7):_0x4db20c>0x3?_0x17f33c(_0x325f89,_0x2b3a63,_0x173ac7):_0x17f33c(_0x325f89,_0x2b3a63))||_0x173ac7;}return _0x4db20c>0x3&&_0x173ac7&&Object['defineProperty'](_0x325f89,_0x2b3a63,_0x173ac7),_0x173ac7;}const BUILD_TIMESTAMP=Number[_0x3dd140(0x11e)](0x69eb32f2),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x151e5c,_0x3b9e2c,_0x12c62a)=>{const _0x27bf3b=_0x3dd140,_0x585a82={'page':_0x151e5c,'isPro':![],'timeValid':![]};if(!_0x3b9e2c||!_0x12c62a)return _0x585a82;const _0x3d9c74=getLicenseInfo(_0x3b9e2c,_0x12c62a);if(_0x3d9c74[_0x27bf3b(0x134)]){const _0x3025e4=_0x3d9c74[_0x27bf3b(0x142)],_0x585169=isFeatureAuthorizedWithinTime(_0x3025e4,'df',BUILD_TIMESTAMP);_0x585a82[_0x27bf3b(0x14c)]=_0x585169,_0x585a82[_0x27bf3b(0x13b)]=_0x585169,_0x585a82[_0x27bf3b(0x13a)]=getDocFeatureLimit(_0x3025e4,_0x585169,'mpn',_0x151e5c,_0x151e5c,0x0);}return _0x585a82;};let DocPrintService=class DocPrintService extends Disposable{constructor(_0x5606c1,_0x3075eb,_0x3504fe,_0x4aa431,_0x367dd8){const _0x44650b=_0x3dd140;super(),this[_0x44650b(0x121)]=_0x5606c1,this[_0x44650b(0x17f)]=_0x3075eb,this[_0x44650b(0x173)]=_0x3504fe,this[_0x44650b(0x15a)]=_0x4aa431,this['_globalZoneService']=_0x367dd8;}[_0x3dd140(0x16a)](_0x3ebc72){const _0x388c07=_0x3dd140;var _0x1affe6,_0x31d623;const {ls:_0x153ba1,pbk:_0x439b38}=(_0x1affe6=this[_0x388c07(0x15a)][_0x388c07(0x15e)](LS_CONFIG_KEY))!==null&&_0x1affe6!==void 0x0?_0x1affe6:{},_0x356187=isLocalCheck()?Number[_0x388c07(0x103)]:getPrintInfoByLicense(0x1,_0x153ba1,_0x439b38)[_0x388c07(0x13a)];if(!this['_univerInstanceService'][_0x388c07(0x170)](_0x3ebc72,UniverInstanceType['UNIVER_DOC']))throw new Error(_0x388c07(0x109));const _0x17090b=this[_0x388c07(0x17f)][_0x388c07(0x124)](_0x3ebc72);if(!_0x17090b)throw new Error('Render\x20is\x20not\x20found');const _0x398c30=(_0x31d623=_0x17090b[_0x388c07(0x10a)](DocSkeletonManagerService)[_0x388c07(0x14b)]()[_0x388c07(0x10d)]())===null||_0x31d623===void 0x0?void 0x0:_0x31d623[_0x388c07(0x186)];if(!_0x398c30)throw new Error(_0x388c07(0x164));const _0x348e6b={'width':_0x398c30[0x0][_0x388c07(0x133)],'height':_0x398c30[0x0][_0x388c07(0x160)]},_0x3340ac=_0x398c30[_0x388c07(0x16c)],_0x1a3f5f=Math[_0x388c07(0x174)](_0x356187,_0x3340ac),_0x5b2a96=_0x17090b[_0x388c07(0x111)][_0x388c07(0x15c)](),_0x5dc4b4=document[_0x388c07(0x11d)](_0x388c07(0x12e));_0x5dc4b4[_0x388c07(0x12a)]=PRINT_CONTAINER_CLASS;const _0x49ca96=new Array(_0x1a3f5f)[_0x388c07(0x16d)](null)[_0x388c07(0x128)]((_0xeb43e4,_0x50c46f)=>{const _0x33f6d6=new DocPrintPageCanvasView(this['_injector'],_0x50c46f,_0x3ebc72,_0x5b2a96);return _0x33f6d6['container']['className']=PRINT_CANVAS_CLASS,_0x33f6d6;});_0x49ca96[_0x388c07(0x17a)](_0x8c30e3=>{const _0x300e40=_0x388c07;_0x5dc4b4[_0x300e40(0x187)](_0x8c30e3[_0x300e40(0x126)]),_0x8c30e3[_0x300e40(0x126)][_0x300e40(0x187)](_0x8c30e3[_0x300e40(0x117)]),_0x8c30e3[_0x300e40(0x143)]();});const _0x48d408=createPrintStyle(_0x348e6b['width'],_0x348e6b[_0x388c07(0x105)],PrintDirection[_0x388c07(0x152)]);return document['body'][_0x388c07(0x187)](_0x48d408),document['body'][_0x388c07(0x187)](_0x5dc4b4),new Promise(_0x28bbff=>{setTimeout(()=>{const _0x4c4678=_0x53c4;window[_0x4c4678(0x136)]=()=>{const _0x4c98f7=_0x4c4678;_0x49ca96[_0x4c98f7(0x17a)](_0x1b3ef6=>{const _0x5a68c1=_0x4c98f7;_0x1b3ef6[_0x5a68c1(0x114)]();});},window[_0x4c4678(0x112)]=()=>{const _0x4c35d4=_0x4c4678;_0x49ca96[_0x4c35d4(0x17a)](_0xf74156=>{const _0x18bb81=_0x4c35d4;_0xf74156[_0x18bb81(0x148)]();}),document[_0x4c35d4(0x116)][_0x4c35d4(0x176)](_0x5dc4b4),document[_0x4c35d4(0x116)][_0x4c35d4(0x176)](_0x48d408),this[_0x4c35d4(0x17c)]['close'](),_0x28bbff(!![]);},window[_0x4c4678(0x16a)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0x3dd140(0x185),'type':CommandType[_0x3dd140(0x110)],'handler':async _0x5d4e8a=>{const _0x31386b=_0x3dd140,_0x4cb7cd=_0x5d4e8a['get'](IUniverInstanceService),_0xea0cb4=_0x5d4e8a['get'](DocPrintService),_0x556c7f=_0x5d4e8a['get'](IRenderManagerService),_0xde8aed=_0x5d4e8a[_0x31386b(0x16b)](ICommandService),_0x1bb7ec=_0x4cb7cd[_0x31386b(0x113)](UniverInstanceType[_0x31386b(0x104)]);if(!_0x1bb7ec)return![];if(!_0x556c7f[_0x31386b(0x124)](_0x1bb7ec[_0x31386b(0x156)]()))throw new Error('Render\x20is\x20not\x20found');const _0x1b2d31=_0x1bb7ec[_0x31386b(0x123)]()[_0x31386b(0x150)];if(_0x1b2d31!==DocumentFlavor[_0x31386b(0x18a)])_0xde8aed['syncExecuteCommand'](SwitchDocModeCommand['id']);await _0xea0cb4[_0x31386b(0x16a)](_0x1bb7ec[_0x31386b(0x156)]());if(_0x1b2d31!==DocumentFlavor[_0x31386b(0x18a)])_0xde8aed[_0x31386b(0x141)](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x3dd140(0x11a),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version=_0x3dd140(0x140);const DOCS_PRINT_PLUGIN_NAME=_0x3dd140(0x11a);function _0x53c4(_0x3094b9,_0x3169b4){_0x3094b9=_0x3094b9-0x103;const _0x55f610=_0x55f6();let _0x53c40f=_0x55f610[_0x3094b9];return _0x53c40f;}function DocPrintMenuItemFactory(_0x9a1999){const _0x57b82e=_0x3dd140;return{'id':DocPrintOperation['id'],'type':MenuItemType[_0x57b82e(0x138)],'title':_0x57b82e(0x182),'icon':_0x57b82e(0x146),'tooltip':_0x57b82e(0x182),'hidden$':getMenuHiddenObservable(_0x9a1999,UniverInstanceType[_0x57b82e(0x104)])};}const menuSchema={[RibbonStartGroup['OTHERS']]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x408899,_0x1d5630,_0x507e44){const _0xc52d0d=_0x3dd140;super(),this['_commandService']=_0x408899,this[_0xc52d0d(0x151)]=_0x1d5630,this[_0xc52d0d(0x15f)]=_0x507e44,this['_initMenus'](),this[_0xc52d0d(0x158)](),this[_0xc52d0d(0x157)]();}[_0x3dd140(0x130)](){const _0x136283=_0x3dd140;this[_0x136283(0x151)]['mergeMenu'](menuSchema);}[_0x3dd140(0x158)](){const _0x504f1e=_0x3dd140;this[_0x504f1e(0x125)](this[_0x504f1e(0x137)][_0x504f1e(0x171)](DocPrintOperation));}[_0x3dd140(0x157)](){const _0x250861=_0x3dd140;[['PrintIcon',PrintIcon]][_0x250861(0x17a)](([_0x321de9,_0x269510])=>{const _0x4f28f2=_0x250861;this[_0x4f28f2(0x15f)][_0x4f28f2(0x145)](_0x321de9,_0x269510);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);function _0x55f6(){const _0x118d2a=['pageHeight','_key','3351155rniEuv','setConfig','Pages\x20are\x20not\x20found','_currentRender','_offsetConfig','absolute','_config','2177613oIGvQC','print','get','length','fill','6pLJhFD','left','getUnit','registerCommand','_addComponent','_injector','min','getInterceptPoints','removeChild','getContext','Render\x20is\x20not\x20found','pluginName','forEach','translate','_globalZoneService','_addViewport','function','_renderManagerService','_unitId','type','print.menu','30833286PiGqNJ','_container','docs.operation.print','pages','appendChild','_paperSize','getCanvas','TRADITIONAL','menu','default','_documents','POSITIVE_INFINITY','UNIVER_DOC','height','setId','onReady','PRINTING_COMPONENT_COLLECT','DocumentDataModel\x20is\x20not\x20found','with','restore','448752goKvFr','getSkeletonData','_calculateLayout','_page','OPERATION','mainComponent','onafterprint','getCurrentUnitOfType','render','10cTMnIA','body','root','fetchThroughInterceptors','object','UNIVER_DOCS_PRINT','getOwnPropertyDescriptor','packageName','createElement','parseInt','decorate','Printing','_univerInstanceService','constructor','getDocumentStyle','getRenderById','disposeWithMe','container','version','map','width','className','_viewMain','symbol','_root','div','_initRenderer','_initMenus','200dFngeD','_scene','pageWidth','valid','interceptor','onbeforeprint','_commandService','BUTTON','_skeleton','page','timeValid','_engine','1168910kWALKe','onStarting','style','0.21.0-insiders.20260424-262d69f','syncExecuteCommand','message','prepare','toPrimitive','register','PrintIcon','67585AIhyyv','dispose','bottom','VIEW_MAIN','getSkeleton','isPro','_effects','1153883KgAsjD','8jYQHTD','documentFlavor','_menuManagerService','Portrait','top','PRINTING_DOM_COLLECT','updateScrollVal','getUnitId','_initComponents','_initCommands','addObject','_configService','defineProperty','getOffsetConfig','string','getConfig','_componentManager'];_0x55f6=function(){return _0x118d2a;};return _0x55f6();}let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x27800c=defaultPluginConfig,_0x3bcfdb,_0x5a7c1a){const _0x2506ec=_0x3dd140;super(),this[_0x2506ec(0x168)]=_0x27800c,this[_0x2506ec(0x173)]=_0x3bcfdb,this['_configService']=_0x5a7c1a;const {menu:_0x3672e2,..._0x512b98}=merge({},defaultPluginConfig,this[_0x2506ec(0x168)]);if(_0x3672e2)this['_configService'][_0x2506ec(0x163)](_0x2506ec(0x18b),_0x3672e2,{'merge':!![]});this['_configService'][_0x2506ec(0x163)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x512b98);}[_0x3dd140(0x13e)](){const _0x4b3fec=_0x3dd140;registerDependencies(this[_0x4b3fec(0x173)],[[DocPrintService],[DocsPrintUIController]]);}[_0x3dd140(0x107)](){const _0x122cd4=_0x3dd140;this[_0x122cd4(0x173)][_0x122cd4(0x16b)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x3dd140(0x179),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x3dd140(0x11c),name),_defineProperty(UniverDocsPrintPlugin,_0x3dd140(0x127),version),_defineProperty(UniverDocsPrintPlugin,_0x3dd140(0x181),UniverInstanceType['UNIVER_DOC']),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1ac744=_0x3c59;(function(_0xf7abee,_0x11a9ad){const _0x24afdd=_0x3c59,_0xdf6578=_0xf7abee();while(!![]){try{const _0x3e281d=parseInt(_0x24afdd(0x1cb))/0x1*(-parseInt(_0x24afdd(0x1ca))/0x2)+-parseInt(_0x24afdd(0x1cc))/0x3+-parseInt(_0x24afdd(0x1c9))/0x4*(parseInt(_0x24afdd(0x1d0))/0x5)+parseInt(_0x24afdd(0x1c7))/0x6+parseInt(_0x24afdd(0x1cd))/0x7+parseInt(_0x24afdd(0x1ce))/0x8*(-parseInt(_0x24afdd(0x1c6))/0x9)+parseInt(_0x24afdd(0x1c8))/0xa;if(_0x3e281d===_0x11a9ad)break;else _0xdf6578['push'](_0xdf6578['shift']());}catch(_0x49cd95){_0xdf6578['push'](_0xdf6578['shift']());}}}(_0x2ff6,0x9172a));const locale$1={'print':{'menu':_0x1ac744(0x1cf)}},locale=locale$1;function _0x3c59(_0x402863,_0x20ffa0){_0x402863=_0x402863-0x1c6;const _0x2ff641=_0x2ff6();let _0x3c598d=_0x2ff641[_0x402863];return _0x3c598d;}export{locale as default};function _0x2ff6(){const _0x312e31=['1woHbVy','1554735nFxrWC','3104115JTbnYY','2168aLvpxE','Print','5zdrNok','18432fiZDLx','6259530zLxCbr','23763710NXUMZQ','4407892zkPquS','2184182czMVpA'];_0x2ff6=function(){return _0x312e31;};return _0x2ff6();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x228855,_0x4df504){const _0x469cb7=_0x240a,_0x58f9f8=_0x228855();while(!![]){try{const _0x25ee0e=parseInt(_0x469cb7(0x1d8))/0x1+parseInt(_0x469cb7(0x1d7))/0x2*(-parseInt(_0x469cb7(0x1d5))/0x3)+parseInt(_0x469cb7(0x1d3))/0x4*(parseInt(_0x469cb7(0x1db))/0x5)+parseInt(_0x469cb7(0x1d2))/0x6*(parseInt(_0x469cb7(0x1d1))/0x7)+-parseInt(_0x469cb7(0x1d4))/0x8*(parseInt(_0x469cb7(0x1d9))/0x9)+-parseInt(_0x469cb7(0x1d6))/0xa*(-parseInt(_0x469cb7(0x1da))/0xb)+-parseInt(_0x469cb7(0x1dc))/0xc;if(_0x25ee0e===_0x4df504)break;else _0x58f9f8['push'](_0x58f9f8['shift']());}catch(_0xcea91a){_0x58f9f8['push'](_0x58f9f8['shift']());}}}(_0x21da,0x892a8));function _0x240a(_0x1ca9f6,_0x16ee60){_0x1ca9f6=_0x1ca9f6-0x1d1;const _0x21da38=_0x21da();let _0x240aea=_0x21da38[_0x1ca9f6];return _0x240aea;}const locale={'print':{'menu':'Print'}};export{locale as default};function _0x21da(){const _0x593879=['2496428rTNisv','1325785gGkXBM','6290232YidtcP','227843inhJfT','12twDBNN','12PdjsqZ','8OuoROG','13653VbhMAs','10udbUKC','214fuKhFB','852440MdJIWg','3302838KJCPvB'];_0x21da=function(){return _0x593879;};return _0x21da();}
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3ec1(){const _0x2c5d04=['142081ANTBNU','276232pXWAzn','674079uQSYiX','30PWahPH','1221237bgWlKJ','6hXzQwB','1188135FhfLvU','207496XpjHbh','6nRybTY','41530mjhbjd'];_0x3ec1=function(){return _0x2c5d04;};return _0x3ec1();}(function(_0x55128f,_0x470db8){const _0x175537=_0x45d3,_0x3189d8=_0x55128f();while(!![]){try{const _0xe57bde=parseInt(_0x175537(0x102))/0x1+-parseInt(_0x175537(0x101))/0x2*(parseInt(_0x175537(0x100))/0x3)+parseInt(_0x175537(0x103))/0x4+parseInt(_0x175537(0x108))/0x5+-parseInt(_0x175537(0x107))/0x6*(-parseInt(_0x175537(0x104))/0x7)+parseInt(_0x175537(0xff))/0x8+-parseInt(_0x175537(0x106))/0x9*(parseInt(_0x175537(0x105))/0xa);if(_0xe57bde===_0x470db8)break;else _0x3189d8['push'](_0x3189d8['shift']());}catch(_0x5682f7){_0x3189d8['push'](_0x3189d8['shift']());}}}(_0x3ec1,0x1de17));function _0x45d3(_0x234fa2,_0x3899f0){_0x234fa2=_0x234fa2-0xff;const _0x3ec1ea=_0x3ec1();let _0x45d385=_0x3ec1ea[_0x234fa2];return _0x45d385;}const locale$1={'print':{'menu':'Print'}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x560adf,_0x380070){const _0x4b8d4d=_0x2abc,_0x2053a4=_0x560adf();while(!![]){try{const _0x2a463d=parseInt(_0x4b8d4d(0x1db))/0x1+parseInt(_0x4b8d4d(0x1d9))/0x2*(-parseInt(_0x4b8d4d(0x1d3))/0x3)+-parseInt(_0x4b8d4d(0x1dd))/0x4*(-parseInt(_0x4b8d4d(0x1d5))/0x5)+parseInt(_0x4b8d4d(0x1d6))/0x6*(parseInt(_0x4b8d4d(0x1d8))/0x7)+-parseInt(_0x4b8d4d(0x1dc))/0x8+parseInt(_0x4b8d4d(0x1d4))/0x9*(-parseInt(_0x4b8d4d(0x1d2))/0xa)+-parseInt(_0x4b8d4d(0x1da))/0xb*(-parseInt(_0x4b8d4d(0x1d7))/0xc);if(_0x2a463d===_0x380070)break;else _0x2053a4['push'](_0x2053a4['shift']());}catch(_0x42dcdf){_0x2053a4['push'](_0x2053a4['shift']());}}}(_0x4f78,0x5d1c3));function _0x2abc(_0x4c9bba,_0x6ff33f){_0x4c9bba=_0x4c9bba-0x1d2;const _0x4f788c=_0x4f78();let _0x2abcd1=_0x4f788c[_0x4c9bba];return _0x2abcd1;}const locale={'print':{'menu':'چاپ'}};function _0x4f78(){const _0x2ba4d4=['149421jLfhwb','27oPpZDC','10orVrul','6OiYDyH','106068VhmubU','3369226eAEowA','22tnrQJz','1991LuGuAL','162585IzLank','5853776VWoqlF','170164mRwqPf','2226220PqQgKY'];_0x4f78=function(){return _0x2ba4d4;};return _0x4f78();}export{locale as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4013(){const _0x4d91d1=['1240444oSQykI','Imprimer','3IavMcn','5xwTBtM','722166lnXfrW','16xQePdj','1225931lEBpsu','409894yFipaZ','10USfyas','5191681CELSYR','954333ykHMnq','221777BWUscC'];_0x4013=function(){return _0x4d91d1;};return _0x4013();}const _0x573623=_0x5e79;(function(_0x1d0f33,_0x2d7f14){const _0x417da1=_0x5e79,_0x2ba5e3=_0x1d0f33();while(!![]){try{const _0xfe6450=parseInt(_0x417da1(0xe7))/0x1+parseInt(_0x417da1(0xe3))/0x2*(parseInt(_0x417da1(0xea))/0x3)+parseInt(_0x417da1(0xe8))/0x4*(parseInt(_0x417da1(0xdf))/0x5)+-parseInt(_0x417da1(0xe0))/0x6+-parseInt(_0x417da1(0xe2))/0x7+-parseInt(_0x417da1(0xe1))/0x8*(-parseInt(_0x417da1(0xe6))/0x9)+-parseInt(_0x417da1(0xe4))/0xa*(parseInt(_0x417da1(0xe5))/0xb);if(_0xfe6450===_0x2d7f14)break;else _0x2ba5e3['push'](_0x2ba5e3['shift']());}catch(_0x304404){_0x2ba5e3['push'](_0x2ba5e3['shift']());}}}(_0x4013,0x2c4c4));function _0x5e79(_0x573534,_0x43c0a3){_0x573534=_0x573534-0xdf;const _0x401301=_0x4013();let _0x5e79c4=_0x401301[_0x573534];return _0x5e79c4;}const locale={'print':{'menu':_0x573623(0xe9)}};export{locale as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4aa476,_0x1fd16a){const _0x1db6a3=_0x4cc7,_0x5bbe17=_0x4aa476();while(!![]){try{const _0x35eb8e=parseInt(_0x1db6a3(0x141))/0x1*(-parseInt(_0x1db6a3(0x13e))/0x2)+-parseInt(_0x1db6a3(0x13b))/0x3+-parseInt(_0x1db6a3(0x140))/0x4*(-parseInt(_0x1db6a3(0x13a))/0x5)+parseInt(_0x1db6a3(0x139))/0x6*(parseInt(_0x1db6a3(0x13f))/0x7)+parseInt(_0x1db6a3(0x13d))/0x8+parseInt(_0x1db6a3(0x13c))/0x9*(-parseInt(_0x1db6a3(0x142))/0xa)+parseInt(_0x1db6a3(0x138))/0xb;if(_0x35eb8e===_0x1fd16a)break;else _0x5bbe17['push'](_0x5bbe17['shift']());}catch(_0x4e887e){_0x5bbe17['push'](_0x5bbe17['shift']());}}}(_0x5a45,0x83a97));function _0x4cc7(_0x5534d4,_0x5214b6){_0x5534d4=_0x5534d4-0x138;const _0x5a45be=_0x5a45();let _0x4cc768=_0x5a45be[_0x5534d4];return _0x4cc768;}function _0x5a45(){const _0x2f28d8=['930965mnIxBq','4RjVIjw','3HoxhVv','14230EvrQnm','16826788WlgcMV','24QcayFJ','3529425FUayFA','1702050QTkyLT','6768tFOqPj','1523192rvkDPV','520826mMbaCB'];_0x5a45=function(){return _0x2f28d8;};return _0x5a45();}const locale={'print':{'menu':'印刷'}};export{locale as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x347ab2,_0x54bbba){const _0x1c1ad8=_0x477e,_0x53ea54=_0x347ab2();while(!![]){try{const _0x343580=-parseInt(_0x1c1ad8(0x1df))/0x1*(parseInt(_0x1c1ad8(0x1e9))/0x2)+-parseInt(_0x1c1ad8(0x1e8))/0x3*(parseInt(_0x1c1ad8(0x1e0))/0x4)+-parseInt(_0x1c1ad8(0x1e3))/0x5+parseInt(_0x1c1ad8(0x1e4))/0x6*(parseInt(_0x1c1ad8(0x1e6))/0x7)+parseInt(_0x1c1ad8(0x1ea))/0x8*(parseInt(_0x1c1ad8(0x1e5))/0x9)+parseInt(_0x1c1ad8(0x1e1))/0xa+-parseInt(_0x1c1ad8(0x1e2))/0xb*(-parseInt(_0x1c1ad8(0x1e7))/0xc);if(_0x343580===_0x54bbba)break;else _0x53ea54['push'](_0x53ea54['shift']());}catch(_0x5f5cbf){_0x53ea54['push'](_0x53ea54['shift']());}}}(_0x23d3,0x9342a));const locale={'print':{'menu':'인쇄'}};function _0x477e(_0x2aa181,_0x6db031){_0x2aa181=_0x2aa181-0x1df;const _0x23d3d4=_0x23d3();let _0x477e67=_0x23d3d4[_0x2aa181];return _0x477e67;}export{locale as default};function _0x23d3(){const _0x5d0bfb=['1763370zbPmLK','7326tfqWdW','1302705aoyZSh','3066hccCgI','2015604UNZrGq','59091ZkLeaQ','471578FvAnxs','64yknVPk','1UabHoP','244MrHDee','285320IabDXa','44smQCPg'];_0x23d3=function(){return _0x5d0bfb;};return _0x23d3();}
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x7739(_0x2bf49a,_0x1b3f28){_0x2bf49a=_0x2bf49a-0x1aa;const _0x1ac789=_0x1ac7();let _0x77398e=_0x1ac789[_0x2bf49a];return _0x77398e;}(function(_0x19594d,_0x1d1bef){const _0x5087d7=_0x7739,_0x21d372=_0x19594d();while(!![]){try{const _0x23f3c3=-parseInt(_0x5087d7(0x1b0))/0x1*(-parseInt(_0x5087d7(0x1b5))/0x2)+parseInt(_0x5087d7(0x1ac))/0x3+-parseInt(_0x5087d7(0x1b6))/0x4*(parseInt(_0x5087d7(0x1ab))/0x5)+-parseInt(_0x5087d7(0x1b3))/0x6*(-parseInt(_0x5087d7(0x1b2))/0x7)+parseInt(_0x5087d7(0x1ae))/0x8*(-parseInt(_0x5087d7(0x1af))/0x9)+-parseInt(_0x5087d7(0x1aa))/0xa*(-parseInt(_0x5087d7(0x1b4))/0xb)+parseInt(_0x5087d7(0x1b1))/0xc*(-parseInt(_0x5087d7(0x1ad))/0xd);if(_0x23f3c3===_0x1d1bef)break;else _0x21d372['push'](_0x21d372['shift']());}catch(_0x465817){_0x21d372['push'](_0x21d372['shift']());}}}(_0x1ac7,0x81d3d));function _0x1ac7(){const _0x24c331=['99GTIdjI','10289VFZeoj','9519288JwqxzZ','443611IwkZqh','42wgFFNz','22cWvDFC','106XzCkEm','5836gEqtYt','4668310BRyloX','820tfbpHg','3153912BwiEbJ','26wcCWke','448216hjgyOe'];_0x1ac7=function(){return _0x24c331;};return _0x1ac7();}const locale={'print':{'menu':'Печать'}};export{locale as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x57358b,_0x311913){const _0xd26bf7=_0x5068,_0x255ca5=_0x57358b();while(!![]){try{const _0xf9bbba=-parseInt(_0xd26bf7(0x18a))/0x1+parseInt(_0xd26bf7(0x183))/0x2+-parseInt(_0xd26bf7(0x182))/0x3+-parseInt(_0xd26bf7(0x187))/0x4+-parseInt(_0xd26bf7(0x185))/0x5*(parseInt(_0xd26bf7(0x188))/0x6)+-parseInt(_0xd26bf7(0x186))/0x7*(-parseInt(_0xd26bf7(0x189))/0x8)+parseInt(_0xd26bf7(0x184))/0x9;if(_0xf9bbba===_0x311913)break;else _0x255ca5['push'](_0x255ca5['shift']());}catch(_0x2fee72){_0x255ca5['push'](_0x255ca5['shift']());}}}(_0x1444,0xd481a));function _0x5068(_0x350051,_0x221a4e){_0x350051=_0x350051-0x182;const _0x14440e=_0x1444();let _0x5068aa=_0x14440e[_0x350051];return _0x5068aa;}const locale={'print':{'menu':'Tlač'}};function _0x1444(){const _0xe8519c=['1256615UxLFeQ','3177756URcViO','1397250oYTnXp','33368040DMwlZu','35Bqqqtl','533246dgSnWE','116656ECmkvz','1477692WrERUF','56xuXQMs'];_0x1444=function(){return _0xe8519c;};return _0x1444();}export{locale as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xb8f9ff,_0x52124a){const _0x184c2b=_0x257f,_0x46eb01=_0xb8f9ff();while(!![]){try{const _0x3276ff=parseInt(_0x184c2b(0x1c2))/0x1+-parseInt(_0x184c2b(0x1c8))/0x2*(parseInt(_0x184c2b(0x1c5))/0x3)+parseInt(_0x184c2b(0x1c4))/0x4*(-parseInt(_0x184c2b(0x1c3))/0x5)+parseInt(_0x184c2b(0x1c9))/0x6*(-parseInt(_0x184c2b(0x1c6))/0x7)+-parseInt(_0x184c2b(0x1c1))/0x8+parseInt(_0x184c2b(0x1cb))/0x9+-parseInt(_0x184c2b(0x1ca))/0xa*(-parseInt(_0x184c2b(0x1c7))/0xb);if(_0x3276ff===_0x52124a)break;else _0x46eb01['push'](_0x46eb01['shift']());}catch(_0x58791c){_0x46eb01['push'](_0x46eb01['shift']());}}}(_0x39a5,0x30a76));const locale={'print':{'menu':'In'}};function _0x39a5(){const _0x464804=['143264xMVgQO','436605DEFqXw','12jAubyl','669zwHcnv','7cCxgjH','13046xVBFlF','926ckmFAI','71238NIorKT','3500doEWMa','3314664BlXhOt','2802312Kzslgu'];_0x39a5=function(){return _0x464804;};return _0x39a5();}function _0x257f(_0x102f5b,_0x22d8d0){_0x102f5b=_0x102f5b-0x1c1;const _0x39a51d=_0x39a5();let _0x257f5f=_0x39a51d[_0x102f5b];return _0x257f5f;}export{locale as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x56e5(_0x214fef,_0x25ea7e){_0x214fef=_0x214fef-0x1e0;const _0x229b0d=_0x229b();let _0x56e5d1=_0x229b0d[_0x214fef];return _0x56e5d1;}(function(_0x4fa020,_0x51406a){const _0x4409b0=_0x56e5,_0x5f4685=_0x4fa020();while(!![]){try{const _0x537cdd=parseInt(_0x4409b0(0x1e4))/0x1*(-parseInt(_0x4409b0(0x1e5))/0x2)+-parseInt(_0x4409b0(0x1e1))/0x3+parseInt(_0x4409b0(0x1e3))/0x4+parseInt(_0x4409b0(0x1e2))/0x5+parseInt(_0x4409b0(0x1e0))/0x6*(-parseInt(_0x4409b0(0x1e9))/0x7)+-parseInt(_0x4409b0(0x1e8))/0x8+parseInt(_0x4409b0(0x1e6))/0x9*(parseInt(_0x4409b0(0x1e7))/0xa);if(_0x537cdd===_0x51406a)break;else _0x5f4685['push'](_0x5f4685['shift']());}catch(_0xf10260){_0x5f4685['push'](_0x5f4685['shift']());}}}(_0x229b,0xcba41));const locale={'print':{'menu':'打印'}};export{locale as default};function _0x229b(){const _0x1bc168=['36561dLNHON','1794cEuWaV','3454944YrjXNM','4408470CuhKWh','4624452kDosPv','1101GcIYpl','626UsOzsN','29028015bQsyEx','10AaPEik','10968728AAPyPz'];_0x229b=function(){return _0x1bc168;};return _0x229b();}
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1246(_0x58ef56,_0x549274){_0x58ef56=_0x58ef56-0x135;const _0x33a34a=_0x33a3();let _0x1246d5=_0x33a34a[_0x58ef56];return _0x1246d5;}(function(_0x7b9d7,_0x20a0fe){const _0x2aa39a=_0x1246,_0x590339=_0x7b9d7();while(!![]){try{const _0x935abb=-parseInt(_0x2aa39a(0x136))/0x1+-parseInt(_0x2aa39a(0x13c))/0x2*(parseInt(_0x2aa39a(0x135))/0x3)+-parseInt(_0x2aa39a(0x139))/0x4*(-parseInt(_0x2aa39a(0x137))/0x5)+-parseInt(_0x2aa39a(0x13a))/0x6+-parseInt(_0x2aa39a(0x138))/0x7+-parseInt(_0x2aa39a(0x13b))/0x8+parseInt(_0x2aa39a(0x13d))/0x9;if(_0x935abb===_0x20a0fe)break;else _0x590339['push'](_0x590339['shift']());}catch(_0x19a8a8){_0x590339['push'](_0x590339['shift']());}}}(_0x33a3,0x33ffc));const locale={'print':{'menu':'列印'}};function _0x33a3(){const _0x2c53de=['12fQfZwB','201786oeYYHV','1586605YZFoKK','1162987vetAeZ','4QwUOHb','152976jouyLT','955720oowttG','129754ZpEpQq','6012567gNaMWz'];_0x33a3=function(){return _0x2c53de;};return _0x33a3();}export{locale as default};
|