@univerjs-pro/sheets-print 0.8.2-nightly.202506251607 → 0.8.2-nightly.202506261607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/common/const.d.ts +40 -40
  32. package/lib/types/controllers/const.d.ts +1 -1
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +14 -14
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4538(_0x44c1b7,_0x1a31a2){const _0x50ce38=_0x50ce();return _0x4538=function(_0x4538b2,_0x42c940){_0x4538b2=_0x4538b2-0x8f;let _0x4b4ecc=_0x50ce38[_0x4538b2];return _0x4b4ecc;},_0x4538(_0x44c1b7,_0x1a31a2);}function _0x50ce(){const _0x5222fb=['PrintPaperMargin','FRange','PrintScale','CanceledError','4RZaDfg','49817PHxtJx','layoutConfig','CancelSheetPrintOperation','4vwSrvx','2613744dnvZvL','_range','869238CXUMCh','SheetScreenShotOperation','hasPrintFacadePermission','extend','@univerjs-pro/sheets-print','registerEventHandler','updatePrintRenderConfig','getActiveUniverSheet','cancel','1118157MOteZN','ISheetPrintManagerService','@univerjs/core','1544998PDuoVa','get','UniverProSheetsPrint','beforeCommandExecuted','SheetPrintOpenOperation','UniverSheetsFacade','_workbook','updateLayoutConfig','saveScreenshotToClipboard','ConfirmSheetPrintOperation','FWorkbook','20nvRRsJ','renderConfig','4385271YspmdB','object','function','_injector','@univerjs/sheets/facade','getRangeImage','BeforeSheetPrintCanceled','onCommandExecuted','amd','syncExecuteCommand','_worksheet','PrintAlign','print','SheetPrintConfirmed','Event','SheetPrintCanceled','BeforeSheetPrintOpen','ICommandService','FEventName','PrintArea','FEnum','@univerjs/core/facade','PrintHeaderFooter','fireEvent','FUniver','PrintHeaderFooterSymbol','openPrintDialog','156LHMaWh','UniverCoreFacade','UniverCore','PrintFreeze','UniverProPrint','BeforeSheetPrintConfirm','@univerjs-pro/print','PrintDirection','81745CEGekn'];_0x50ce=function(){return _0x5222fb;};return _0x50ce();}(function(_0x34ef05,_0x59c4fd){const _0x5e9d78=_0x4538,_0x2bec01=_0x34ef05();while(!![]){try{const _0x25e8d7=-parseInt(_0x5e9d78(0xd5))/0x1*(-parseInt(_0x5e9d78(0x90))/0x2)+parseInt(_0x5e9d78(0x9c))/0x3*(-parseInt(_0x5e9d78(0xd4))/0x4)+parseInt(_0x5e9d78(0xcf))/0x5*(parseInt(_0x5e9d78(0xc7))/0x6)+-parseInt(_0x5e9d78(0x9f))/0x7+-parseInt(_0x5e9d78(0x91))/0x8+-parseInt(_0x5e9d78(0x93))/0x9+parseInt(_0x5e9d78(0xaa))/0xa*(parseInt(_0x5e9d78(0xac))/0xb);if(_0x25e8d7===_0x59c4fd)break;else _0x2bec01['push'](_0x2bec01['shift']());}catch(_0x14acc6){_0x2bec01['push'](_0x2bec01['shift']());}}}(_0x50ce,0x4a891),function(_0x41aa94,_0x46eeff){const _0x5a75f6=_0x4538;typeof exports==_0x5a75f6(0xad)&&typeof module<'u'?_0x46eeff(require('@univerjs-pro/sheets-print'),require(_0x5a75f6(0x9e)),require(_0x5a75f6(0xb0)),require(_0x5a75f6(0xc1)),require('@univerjs-pro/print')):typeof define==_0x5a75f6(0xae)&&define[_0x5a75f6(0xb4)]?define([_0x5a75f6(0x97),_0x5a75f6(0x9e),'@univerjs/sheets/facade',_0x5a75f6(0xc1),_0x5a75f6(0xcd)],_0x46eeff):(_0x41aa94=typeof globalThis<'u'?globalThis:_0x41aa94||self,_0x46eeff(_0x41aa94[_0x5a75f6(0xa1)],_0x41aa94[_0x5a75f6(0xc9)],_0x41aa94[_0x5a75f6(0xa4)],_0x41aa94[_0x5a75f6(0xc8)],_0x41aa94[_0x5a75f6(0xcb)]));}(this,function(_0x402019,_0xc5dec8,_0x21f37a,_0x53a901,_0x35f403){'use strict';const _0x8f5766=_0x4538;class _0x5490d6 extends _0x21f37a[_0x8f5766(0xa9)]{['updatePrintConfig'](_0x1dd6ab){const _0x405c73=_0x8f5766;return this[_0x405c73(0xaf)][_0x405c73(0xa0)](_0x402019[_0x405c73(0x9d)])[_0x405c73(0xa6)](_0x1dd6ab),this;}[_0x8f5766(0x99)](_0x32f795){const _0x452529=_0x8f5766;return this[_0x452529(0xaf)][_0x452529(0xa0)](_0x402019[_0x452529(0x9d)])['updateRenderConfig'](_0x32f795),this;}[_0x8f5766(0xb8)](){const _0x419a11=_0x8f5766;return this['_injector'][_0x419a11(0xa0)](_0xc5dec8[_0x419a11(0xbd)])['syncExecuteCommand'](_0x402019[_0x419a11(0xa8)]['id']);}[_0x8f5766(0xc6)](){const _0x13f01e=_0x8f5766;return this[_0x13f01e(0xaf)][_0x13f01e(0xa0)](_0xc5dec8[_0x13f01e(0xbd)])[_0x13f01e(0xb5)](_0x402019['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x1ff526=_0x8f5766;return this['_injector'][_0x1ff526(0xa0)](_0xc5dec8[_0x1ff526(0xbd)])[_0x1ff526(0xb5)](_0x402019[_0x1ff526(0x8f)]['id']);}async[_0x8f5766(0xa7)](){const _0x278c9e=_0x8f5766;return _0x402019[_0x278c9e(0x95)](this[_0x278c9e(0xaf)])?this[_0x278c9e(0xaf)][_0x278c9e(0xa0)](_0xc5dec8[_0x278c9e(0xbd)])['executeCommand'](_0x402019[_0x278c9e(0x94)]['id']):!0x1;}}_0x21f37a[_0x8f5766(0xa9)][_0x8f5766(0x96)](_0x5490d6);class _0x4a0221 extends _0x21f37a['FRange']{['getScreenshot'](){const _0x313ad5=_0x8f5766;return _0x402019[_0x313ad5(0x95)](this[_0x313ad5(0xaf)])?this[_0x313ad5(0xaf)][_0x313ad5(0xa0)](_0x402019['SheetPrintClientService'])[_0x313ad5(0xb1)](this[_0x313ad5(0xa5)]['getUnitId'](),this[_0x313ad5(0xb6)]['getSheetId'](),this[_0x313ad5(0x92)]):!0x1;}}_0x21f37a[_0x8f5766(0xd1)][_0x8f5766(0x96)](_0x4a0221);class _0x157cc0{get[_0x8f5766(0xbc)](){const _0x3e56d8=_0x8f5766;return _0x3e56d8(0xbc);}get[_0x8f5766(0xcc)](){const _0x392bfc=_0x8f5766;return _0x392bfc(0xcc);}get[_0x8f5766(0xb2)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x8f5766(0xb9)](){return'SheetPrintConfirmed';}get[_0x8f5766(0xbb)](){const _0x1894c7=_0x8f5766;return _0x1894c7(0xbb);}}_0x53a901[_0x8f5766(0xbe)][_0x8f5766(0x96)](_0x157cc0);class _0x337381{get['PrintArea'](){const _0x5c431a=_0x8f5766;return _0x402019[_0x5c431a(0xbf)];}get[_0x8f5766(0xb7)](){const _0x11e3c5=_0x8f5766;return _0x35f403[_0x11e3c5(0xb7)];}get['PrintPaperSize'](){return _0xc5dec8['PaperType'];}get[_0x8f5766(0xd0)](){const _0x732d9e=_0x8f5766;return _0x35f403[_0x732d9e(0xd0)];}get['PrintScale'](){const _0x1857d6=_0x8f5766;return _0x35f403[_0x1857d6(0xd2)];}get['PrintDirection'](){const _0x2c9fba=_0x8f5766;return _0x35f403[_0x2c9fba(0xce)];}get[_0x8f5766(0xca)](){const _0x4e6d31=_0x8f5766;return _0x402019[_0x4e6d31(0xca)];}get[_0x8f5766(0xc2)](){const _0xa0a430=_0x8f5766;return _0x402019[_0xa0a430(0xc2)];}get[_0x8f5766(0xc5)](){const _0x21d148=_0x8f5766;return _0x402019[_0x21d148(0xc5)];}}_0x53a901[_0x8f5766(0xc0)][_0x8f5766(0x96)](_0x337381);class _0x47f9d9 extends _0x53a901[_0x8f5766(0xc4)]{['_initialize'](_0xb91b1){const _0x91f4ea=_0x8f5766,_0x249b98=_0xb91b1[_0x91f4ea(0xa0)](_0xc5dec8['ICommandService']);this['registerEventHandler'](this['Event']['BeforeSheetPrintOpen'],()=>_0x249b98[_0x91f4ea(0xa2)](_0x4f314c=>{const _0xfc589=_0x91f4ea;if(_0x4f314c['id']===_0x402019[_0xfc589(0xa3)]['id']){const _0x4a7fda=this[_0xfc589(0x9a)]();if(!_0x4a7fda)return;const _0x164b7e={'workbook':_0x4a7fda,'worksheet':_0x4a7fda['getActiveSheet']()};if(_0x164b7e==null)return;if(this[_0xfc589(0xc3)](this[_0xfc589(0xba)]['BeforeSheetPrintOpen'],_0x164b7e),_0x164b7e[_0xfc589(0x9b)])throw new _0xc5dec8[(_0xfc589(0xd3))]();}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xcc)],()=>_0x249b98[_0x91f4ea(0xa2)](_0x5b4183=>{const _0x49e129=_0x91f4ea;if(_0x5b4183['id']===_0x402019[_0x49e129(0xa8)]['id']){const _0x598331=_0xb91b1[_0x49e129(0xa0)](_0x402019[_0x49e129(0x9d)]);if(!this[_0x49e129(0x9a)]())return;const _0x36864a={'layoutConfig':_0x598331[_0x49e129(0xd6)],'renderConfig':_0x598331[_0x49e129(0xab)]};if(_0x36864a==null)return;if(this[_0x49e129(0xc3)](this[_0x49e129(0xba)][_0x49e129(0xcc)],_0x36864a),_0x36864a[_0x49e129(0x9b)])throw new _0xc5dec8[(_0x49e129(0xd3))]();}})),this['registerEventHandler'](this[_0x91f4ea(0xba)][_0x91f4ea(0xb2)],()=>_0x249b98[_0x91f4ea(0xa2)](_0x543711=>{const _0x3b39dc=_0x91f4ea;if(_0x543711['id']===_0x402019[_0x3b39dc(0x8f)]['id']){const _0x24b2dc=_0xb91b1[_0x3b39dc(0xa0)](_0x402019['ISheetPrintManagerService']);if(!this[_0x3b39dc(0x9a)]())return;const _0x1121a4={'layoutConfig':_0x24b2dc['layoutConfig'],'renderConfig':_0x24b2dc[_0x3b39dc(0xab)]};if(_0x1121a4==null)return;if(this[_0x3b39dc(0xc3)](this['Event'][_0x3b39dc(0xb2)],_0x1121a4),_0x1121a4['cancel'])throw new _0xc5dec8[(_0x3b39dc(0xd3))]();}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)]['SheetPrintOpen'],()=>_0x249b98[_0x91f4ea(0xb3)](_0x247458=>{const _0x387ee1=_0x91f4ea;if(_0x247458['id']===_0x402019['SheetPrintOpenOperation']['id']){const _0x568430=this['getActiveUniverSheet']();if(!_0x568430)return;const _0x48ac32={'workbook':_0x568430,'worksheet':_0x568430['getActiveSheet']()};if(_0x48ac32==null)return;this[_0x387ee1(0xc3)](this['Event']['SheetPrintOpen'],_0x48ac32);}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xb9)],()=>_0x249b98[_0x91f4ea(0xb3)](_0x407456=>{const _0x1e605b=_0x91f4ea;if(_0x407456['id']===_0x402019[_0x1e605b(0xa8)]['id']){const _0x110d7d=_0xb91b1['get'](_0x402019[_0x1e605b(0x9d)]);if(!this[_0x1e605b(0x9a)]())return;const _0xffc72a={'layoutConfig':_0x110d7d['layoutConfig'],'renderConfig':_0x110d7d[_0x1e605b(0xab)]};if(_0xffc72a==null)return;this[_0x1e605b(0xc3)](this[_0x1e605b(0xba)][_0x1e605b(0xb9)],_0xffc72a);}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xbb)],()=>_0x249b98['onCommandExecuted'](_0x4b5028=>{const _0x21b7c6=_0x91f4ea;if(_0x4b5028['id']===_0x402019[_0x21b7c6(0x8f)]['id']){const _0x222d8e=_0xb91b1['get'](_0x402019[_0x21b7c6(0x9d)]);if(!this['getActiveUniverSheet']())return;const _0x4d92dd={'layoutConfig':_0x222d8e['layoutConfig'],'renderConfig':_0x222d8e[_0x21b7c6(0xab)]};if(_0x4d92dd==null)return;this[_0x21b7c6(0xc3)](this['Event'][_0x21b7c6(0xbb)],_0x4d92dd);}}));}}_0x53a901[_0x8f5766(0xc4)][_0x8f5766(0x96)](_0x47f9d9);}));
1
+ function _0x1db7(_0x1950aa,_0x2d23b6){const _0x3a9e62=_0x3a9e();return _0x1db7=function(_0x1db7d1,_0x4f98d1){_0x1db7d1=_0x1db7d1-0x1c1;let _0x5d6dea=_0x3a9e62[_0x1db7d1];return _0x5d6dea;},_0x1db7(_0x1950aa,_0x2d23b6);}function _0x3a9e(){const _0x50fc68=['10wAocHH','ISheetPrintManagerService','1775264mVjUAP','1025496KPOTdT','print','5227783nfKMSl','UniverCore','CanceledError','@univerjs/core','BeforeSheetPrintConfirm','FRange','SheetPrintCanceled','updateLayoutConfig','PrintAlign','ConfirmSheetPrintOperation','layoutConfig','getSheetId','_initialize','updateRenderConfig','_injector','SheetScreenShotOperation','PrintFreeze','2212744GQuBQJ','extend','UniverSheetsFacade','object','@univerjs-pro/print','7UQuTFo','function','closePrintDialog','onCommandExecuted','executeCommand','_range','4841780NPBnql','PrintPaperMargin','saveScreenshotToClipboard','renderConfig','amd','UniverProSheetsPrint','@univerjs-pro/sheets-print','SheetPrintOpen','updatePrintConfig','BeforeSheetPrintCanceled','getUnitId','SheetPrintClientService','updatePrintRenderConfig','_worksheet','fireEvent','PrintHeaderFooter','UniverCoreFacade','hasPrintFacadePermission','FEventName','registerEventHandler','6OxbPul','beforeCommandExecuted','@univerjs/sheets/facade','CancelSheetPrintOperation','getActiveUniverSheet','PrintPaperSize','_workbook','FEnum','PrintDirection','436760ojBASq','153FwKTJN','Event','cancel','1IyIRLr','PrintScale','@univerjs/core/facade','openPrintDialog','get','3102972RZUXMC','FWorkbook','getScreenshot','getRangeImage','syncExecuteCommand','getActiveSheet','SheetPrintOpenOperation','BeforeSheetPrintOpen','SheetPrintConfirmed','ICommandService'];_0x3a9e=function(){return _0x50fc68;};return _0x3a9e();}(function(_0x49c7b5,_0x580611){const _0x5c6778=_0x1db7,_0x91276f=_0x49c7b5();while(!![]){try{const _0x208b3c=parseInt(_0x5c6778(0x1c3))/0x1*(-parseInt(_0x5c6778(0x1e8))/0x2)+-parseInt(_0x5c6778(0x207))/0x3*(parseInt(_0x5c6778(0x1d4))/0x4)+parseInt(_0x5c6778(0x1f3))/0x5+parseInt(_0x5c6778(0x1d5))/0x6*(parseInt(_0x5c6778(0x1ed))/0x7)+parseInt(_0x5c6778(0x210))/0x8*(parseInt(_0x5c6778(0x211))/0x9)+parseInt(_0x5c6778(0x1d2))/0xa*(parseInt(_0x5c6778(0x1d7))/0xb)+parseInt(_0x5c6778(0x1c8))/0xc;if(_0x208b3c===_0x580611)break;else _0x91276f['push'](_0x91276f['shift']());}catch(_0x208842){_0x91276f['push'](_0x91276f['shift']());}}}(_0x3a9e,0xc5131),function(_0x143ffd,_0xdf556e){const _0x24f8d1=_0x1db7;typeof exports==_0x24f8d1(0x1eb)&&typeof module<'u'?_0xdf556e(require(_0x24f8d1(0x1f9)),require('@univerjs/core'),require(_0x24f8d1(0x209)),require(_0x24f8d1(0x1c5)),require('@univerjs-pro/print')):typeof define==_0x24f8d1(0x1ee)&&define[_0x24f8d1(0x1f7)]?define([_0x24f8d1(0x1f9),_0x24f8d1(0x1da),_0x24f8d1(0x209),'@univerjs/core/facade',_0x24f8d1(0x1ec)],_0xdf556e):(_0x143ffd=typeof globalThis<'u'?globalThis:_0x143ffd||self,_0xdf556e(_0x143ffd[_0x24f8d1(0x1f8)],_0x143ffd[_0x24f8d1(0x1d8)],_0x143ffd[_0x24f8d1(0x1ea)],_0x143ffd[_0x24f8d1(0x203)],_0x143ffd['UniverProPrint']));}(this,function(_0x3ef2a3,_0x127d43,_0x21aba3,_0x469531,_0x2d324f){'use strict';const _0x1ba72=_0x1db7;class _0x3537bc extends _0x21aba3[_0x1ba72(0x1c9)]{[_0x1ba72(0x1fb)](_0x569cae){const _0x167c41=_0x1ba72;return this[_0x167c41(0x1e5)]['get'](_0x3ef2a3['ISheetPrintManagerService'])[_0x167c41(0x1de)](_0x569cae),this;}[_0x1ba72(0x1ff)](_0x423cd2){const _0x108b3c=_0x1ba72;return this[_0x108b3c(0x1e5)][_0x108b3c(0x1c7)](_0x3ef2a3[_0x108b3c(0x1d3)])[_0x108b3c(0x1e4)](_0x423cd2),this;}[_0x1ba72(0x1d6)](){const _0x1fc3d9=_0x1ba72;return this[_0x1fc3d9(0x1e5)][_0x1fc3d9(0x1c7)](_0x127d43[_0x1fc3d9(0x1d1)])[_0x1fc3d9(0x1cc)](_0x3ef2a3[_0x1fc3d9(0x1e0)]['id']);}[_0x1ba72(0x1c6)](){const _0x12dee4=_0x1ba72;return this[_0x12dee4(0x1e5)]['get'](_0x127d43[_0x12dee4(0x1d1)])['syncExecuteCommand'](_0x3ef2a3['SheetPrintOpenOperation']['id']);}[_0x1ba72(0x1ef)](){const _0x3655a6=_0x1ba72;return this['_injector'][_0x3655a6(0x1c7)](_0x127d43[_0x3655a6(0x1d1)])[_0x3655a6(0x1cc)](_0x3ef2a3[_0x3655a6(0x20a)]['id']);}async[_0x1ba72(0x1f5)](){const _0x24e2cf=_0x1ba72;return _0x3ef2a3[_0x24e2cf(0x204)](this['_injector'])?this[_0x24e2cf(0x1e5)]['get'](_0x127d43[_0x24e2cf(0x1d1)])[_0x24e2cf(0x1f1)](_0x3ef2a3[_0x24e2cf(0x1e6)]['id']):!0x1;}}_0x21aba3['FWorkbook'][_0x1ba72(0x1e9)](_0x3537bc);class _0x1958e6 extends _0x21aba3[_0x1ba72(0x1dc)]{[_0x1ba72(0x1ca)](){const _0x184566=_0x1ba72;return _0x3ef2a3[_0x184566(0x204)](this[_0x184566(0x1e5)])?this[_0x184566(0x1e5)][_0x184566(0x1c7)](_0x3ef2a3[_0x184566(0x1fe)])[_0x184566(0x1cb)](this[_0x184566(0x20d)][_0x184566(0x1fd)](),this[_0x184566(0x200)][_0x184566(0x1e2)](),this[_0x184566(0x1f2)]):!0x1;}}_0x21aba3[_0x1ba72(0x1dc)][_0x1ba72(0x1e9)](_0x1958e6);class _0x478156{get[_0x1ba72(0x1cf)](){return'BeforeSheetPrintOpen';}get[_0x1ba72(0x1db)](){const _0x40a014=_0x1ba72;return _0x40a014(0x1db);}get[_0x1ba72(0x1fc)](){return'BeforeSheetPrintCanceled';}get[_0x1ba72(0x1fa)](){return'SheetPrintOpen';}get[_0x1ba72(0x1d0)](){const _0x5e1805=_0x1ba72;return _0x5e1805(0x1d0);}get['SheetPrintCanceled'](){const _0x338656=_0x1ba72;return _0x338656(0x1dd);}}_0x469531[_0x1ba72(0x205)]['extend'](_0x478156);class _0x5ebd75{get['PrintArea'](){return _0x3ef2a3['PrintArea'];}get[_0x1ba72(0x1df)](){const _0x2b98e3=_0x1ba72;return _0x2d324f[_0x2b98e3(0x1df)];}get[_0x1ba72(0x20c)](){return _0x127d43['PaperType'];}get[_0x1ba72(0x1f4)](){const _0x20d551=_0x1ba72;return _0x2d324f[_0x20d551(0x1f4)];}get[_0x1ba72(0x1c4)](){const _0x3c795b=_0x1ba72;return _0x2d324f[_0x3c795b(0x1c4)];}get['PrintDirection'](){const _0x1f39b3=_0x1ba72;return _0x2d324f[_0x1f39b3(0x20f)];}get[_0x1ba72(0x1e7)](){const _0x54abf3=_0x1ba72;return _0x3ef2a3[_0x54abf3(0x1e7)];}get[_0x1ba72(0x202)](){return _0x3ef2a3['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){return _0x3ef2a3['PrintHeaderFooterSymbol'];}}_0x469531[_0x1ba72(0x20e)][_0x1ba72(0x1e9)](_0x5ebd75);class _0x2a5a21 extends _0x469531['FUniver']{[_0x1ba72(0x1e3)](_0x59ac63){const _0x5c8d90=_0x1ba72,_0xfdc06e=_0x59ac63[_0x5c8d90(0x1c7)](_0x127d43[_0x5c8d90(0x1d1)]);this[_0x5c8d90(0x206)](this['Event'][_0x5c8d90(0x1cf)],()=>_0xfdc06e[_0x5c8d90(0x208)](_0x39223b=>{const _0xa3e65=_0x5c8d90;if(_0x39223b['id']===_0x3ef2a3[_0xa3e65(0x1ce)]['id']){const _0x4d1f8c=this[_0xa3e65(0x20b)]();if(!_0x4d1f8c)return;const _0x1bba6b={'workbook':_0x4d1f8c,'worksheet':_0x4d1f8c[_0xa3e65(0x1cd)]()};if(_0x1bba6b==null)return;if(this['fireEvent'](this[_0xa3e65(0x1c1)][_0xa3e65(0x1cf)],_0x1bba6b),_0x1bba6b[_0xa3e65(0x1c2)])throw new _0x127d43['CanceledError']();}})),this[_0x5c8d90(0x206)](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1db)],()=>_0xfdc06e['beforeCommandExecuted'](_0x480d30=>{const _0x1b6c26=_0x5c8d90;if(_0x480d30['id']===_0x3ef2a3[_0x1b6c26(0x1e0)]['id']){const _0x12092c=_0x59ac63[_0x1b6c26(0x1c7)](_0x3ef2a3[_0x1b6c26(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0xf9b6c0={'layoutConfig':_0x12092c[_0x1b6c26(0x1e1)],'renderConfig':_0x12092c[_0x1b6c26(0x1f6)]};if(_0xf9b6c0==null)return;if(this[_0x1b6c26(0x201)](this[_0x1b6c26(0x1c1)][_0x1b6c26(0x1db)],_0xf9b6c0),_0xf9b6c0[_0x1b6c26(0x1c2)])throw new _0x127d43[(_0x1b6c26(0x1d9))]();}})),this[_0x5c8d90(0x206)](this[_0x5c8d90(0x1c1)]['BeforeSheetPrintCanceled'],()=>_0xfdc06e[_0x5c8d90(0x208)](_0x4f4e01=>{const _0x4e645d=_0x5c8d90;if(_0x4f4e01['id']===_0x3ef2a3['CancelSheetPrintOperation']['id']){const _0x240ab8=_0x59ac63['get'](_0x3ef2a3['ISheetPrintManagerService']);if(!this[_0x4e645d(0x20b)]())return;const _0x23c506={'layoutConfig':_0x240ab8[_0x4e645d(0x1e1)],'renderConfig':_0x240ab8[_0x4e645d(0x1f6)]};if(_0x23c506==null)return;if(this[_0x4e645d(0x201)](this[_0x4e645d(0x1c1)][_0x4e645d(0x1fc)],_0x23c506),_0x23c506[_0x4e645d(0x1c2)])throw new _0x127d43[(_0x4e645d(0x1d9))]();}})),this['registerEventHandler'](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1fa)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x302b25=>{const _0x2938b9=_0x5c8d90;if(_0x302b25['id']===_0x3ef2a3[_0x2938b9(0x1ce)]['id']){const _0x213d9c=this[_0x2938b9(0x20b)]();if(!_0x213d9c)return;const _0xa3fc5e={'workbook':_0x213d9c,'worksheet':_0x213d9c['getActiveSheet']()};if(_0xa3fc5e==null)return;this[_0x2938b9(0x201)](this[_0x2938b9(0x1c1)][_0x2938b9(0x1fa)],_0xa3fc5e);}})),this['registerEventHandler'](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1d0)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x462a06=>{const _0x2ead27=_0x5c8d90;if(_0x462a06['id']===_0x3ef2a3[_0x2ead27(0x1e0)]['id']){const _0x1442b9=_0x59ac63[_0x2ead27(0x1c7)](_0x3ef2a3[_0x2ead27(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0x385fad={'layoutConfig':_0x1442b9[_0x2ead27(0x1e1)],'renderConfig':_0x1442b9[_0x2ead27(0x1f6)]};if(_0x385fad==null)return;this[_0x2ead27(0x201)](this[_0x2ead27(0x1c1)][_0x2ead27(0x1d0)],_0x385fad);}})),this['registerEventHandler'](this['Event'][_0x5c8d90(0x1dd)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x3b688c=>{const _0x55c35a=_0x5c8d90;if(_0x3b688c['id']===_0x3ef2a3['CancelSheetPrintOperation']['id']){const _0x1bb55a=_0x59ac63[_0x55c35a(0x1c7)](_0x3ef2a3[_0x55c35a(0x1d3)]);if(!this[_0x55c35a(0x20b)]())return;const _0x2b5e3d={'layoutConfig':_0x1bb55a[_0x55c35a(0x1e1)],'renderConfig':_0x1bb55a[_0x55c35a(0x1f6)]};if(_0x2b5e3d==null)return;this['fireEvent'](this[_0x55c35a(0x1c1)]['SheetPrintCanceled'],_0x2b5e3d);}}));}}_0x469531['FUniver']['extend'](_0x2a5a21);}));