@univerjs-pro/sheets-print 0.9.2-nightly.202507111607 → 0.9.2-nightly.202507121606

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 +39 -39
  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 _0x2a93(_0x101c7d,_0x261ecd){const _0x5b911c=_0x5b91();return _0x2a93=function(_0x2a935c,_0x1e46c7){_0x2a935c=_0x2a935c-0x1c5;let _0x26c149=_0x5b911c[_0x2a935c];return _0x26c149;},_0x2a93(_0x101c7d,_0x261ecd);}(function(_0xee93b7,_0xba9b1b){const _0x1a4ab2=_0x2a93,_0xb0fab6=_0xee93b7();while(!![]){try{const _0x2f8b79=parseInt(_0x1a4ab2(0x209))/0x1+-parseInt(_0x1a4ab2(0x1fc))/0x2*(parseInt(_0x1a4ab2(0x1e9))/0x3)+parseInt(_0x1a4ab2(0x1d4))/0x4*(-parseInt(_0x1a4ab2(0x1e3))/0x5)+-parseInt(_0x1a4ab2(0x1e2))/0x6+-parseInt(_0x1a4ab2(0x1ee))/0x7+-parseInt(_0x1a4ab2(0x1f9))/0x8+-parseInt(_0x1a4ab2(0x1ce))/0x9*(-parseInt(_0x1a4ab2(0x1e5))/0xa);if(_0x2f8b79===_0xba9b1b)break;else _0xb0fab6['push'](_0xb0fab6['shift']());}catch(_0x27827d){_0xb0fab6['push'](_0xb0fab6['shift']());}}}(_0x5b91,0xe5a8f),function(_0x289dbd,_0x3374f9){const _0x5addf4=_0x2a93;typeof exports==_0x5addf4(0x202)&&typeof module<'u'?_0x3374f9(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x5addf4(0x1cc)&&define['amd']?define([_0x5addf4(0x1d2),_0x5addf4(0x1d9),_0x5addf4(0x1e7),_0x5addf4(0x1fb),_0x5addf4(0x1fa)],_0x3374f9):(_0x289dbd=typeof globalThis<'u'?globalThis:_0x289dbd||self,_0x3374f9(_0x289dbd[_0x5addf4(0x1cb)],_0x289dbd[_0x5addf4(0x1d1)],_0x289dbd[_0x5addf4(0x1f3)],_0x289dbd[_0x5addf4(0x1c7)],_0x289dbd[_0x5addf4(0x1de)]));}(this,function(_0x53b0a1,_0x7049fb,_0x53fa7f,_0x16f74c,_0x3945ed){'use strict';const _0x22af88=_0x2a93;class _0x23e536 extends _0x53fa7f[_0x22af88(0x1fe)]{[_0x22af88(0x1e0)](_0x3edbae){const _0x2b5b44=_0x22af88;return this[_0x2b5b44(0x205)][_0x2b5b44(0x1e1)](_0x53b0a1[_0x2b5b44(0x1ca)])[_0x2b5b44(0x1f0)](_0x3edbae),this;}['updatePrintRenderConfig'](_0x264704){const _0x1e1f24=_0x22af88;return this[_0x1e1f24(0x205)][_0x1e1f24(0x1e1)](_0x53b0a1[_0x1e1f24(0x1ca)])['updateRenderConfig'](_0x264704),this;}[_0x22af88(0x1d5)](){const _0x54a25c=_0x22af88;return this[_0x54a25c(0x205)][_0x54a25c(0x1e1)](_0x7049fb['ICommandService'])['syncExecuteCommand'](_0x53b0a1[_0x54a25c(0x20b)]['id']);}['openPrintDialog'](){const _0x4310e7=_0x22af88;return this[_0x4310e7(0x205)]['get'](_0x7049fb[_0x4310e7(0x207)])[_0x4310e7(0x1ff)](_0x53b0a1[_0x4310e7(0x201)]['id']);}['closePrintDialog'](){const _0x12d4dc=_0x22af88;return this[_0x12d4dc(0x205)]['get'](_0x7049fb['ICommandService'])['syncExecuteCommand'](_0x53b0a1['CancelSheetPrintOperation']['id']);}async[_0x22af88(0x1c9)](){const _0xb81c56=_0x22af88;return _0x53b0a1[_0xb81c56(0x1f2)](this[_0xb81c56(0x205)])?this[_0xb81c56(0x205)]['get'](_0x7049fb[_0xb81c56(0x207)])[_0xb81c56(0x1f4)](_0x53b0a1[_0xb81c56(0x200)]['id']):!0x1;}}_0x53fa7f[_0x22af88(0x1fe)][_0x22af88(0x20c)](_0x23e536);class _0x51358a extends _0x53fa7f[_0x22af88(0x1e4)]{[_0x22af88(0x1f5)](){const _0x448660=_0x22af88;return _0x53b0a1['hasPrintFacadePermission'](this['_injector'])?this[_0x448660(0x205)]['get'](_0x53b0a1['SheetPrintClientService'])[_0x448660(0x1d7)](this[_0x448660(0x1fd)][_0x448660(0x208)](),this[_0x448660(0x1ea)][_0x448660(0x1d8)](),this['_range']):!0x1;}}_0x53fa7f[_0x22af88(0x1e4)]['extend'](_0x51358a);class _0x29b987{get[_0x22af88(0x1d3)](){const _0x55dbf0=_0x22af88;return _0x55dbf0(0x1d3);}get['BeforeSheetPrintConfirm'](){const _0x4aefd6=_0x22af88;return _0x4aefd6(0x1ef);}get[_0x22af88(0x1cd)](){return'BeforeSheetPrintCanceled';}get[_0x22af88(0x20e)](){const _0x3a5f35=_0x22af88;return _0x3a5f35(0x20e);}get[_0x22af88(0x1df)](){const _0x1c3004=_0x22af88;return _0x1c3004(0x1df);}get[_0x22af88(0x1ed)](){const _0x49baf2=_0x22af88;return _0x49baf2(0x1ed);}}_0x16f74c[_0x22af88(0x1c6)][_0x22af88(0x20c)](_0x29b987);class _0x401e84{get[_0x22af88(0x1e8)](){const _0x49737c=_0x22af88;return _0x53b0a1[_0x49737c(0x1e8)];}get['PrintAlign'](){return _0x3945ed['PrintAlign'];}get[_0x22af88(0x210)](){const _0x1b24a4=_0x22af88;return _0x7049fb[_0x1b24a4(0x1f6)];}get[_0x22af88(0x1c5)](){const _0x439588=_0x22af88;return _0x3945ed[_0x439588(0x1c5)];}get[_0x22af88(0x1db)](){const _0x5d7387=_0x22af88;return _0x3945ed[_0x5d7387(0x1db)];}get[_0x22af88(0x1cf)](){const _0x549a64=_0x22af88;return _0x3945ed[_0x549a64(0x1cf)];}get[_0x22af88(0x1f8)](){const _0x4d1752=_0x22af88;return _0x53b0a1[_0x4d1752(0x1f8)];}get[_0x22af88(0x1e6)](){const _0x290d47=_0x22af88;return _0x53b0a1[_0x290d47(0x1e6)];}get[_0x22af88(0x1eb)](){const _0x1746c7=_0x22af88;return _0x53b0a1[_0x1746c7(0x1eb)];}}_0x16f74c[_0x22af88(0x1ec)][_0x22af88(0x20c)](_0x401e84);class _0x5a8742 extends _0x16f74c[_0x22af88(0x1da)]{[_0x22af88(0x206)](_0x47223c){const _0xc673cd=_0x22af88,_0x2a9ca5=_0x47223c[_0xc673cd(0x1e1)](_0x7049fb[_0xc673cd(0x207)]);this[_0xc673cd(0x1c8)](this[_0xc673cd(0x1dd)][_0xc673cd(0x1d3)],()=>_0x2a9ca5[_0xc673cd(0x20f)](_0x220ceb=>{const _0x28c299=_0xc673cd;if(_0x220ceb['id']===_0x53b0a1[_0x28c299(0x201)]['id']){const _0x160ec8=this[_0x28c299(0x20a)]();if(!_0x160ec8)return;const _0x17a4e3={'workbook':_0x160ec8,'worksheet':_0x160ec8[_0x28c299(0x1d0)]()};if(_0x17a4e3==null)return;if(this['fireEvent'](this['Event'][_0x28c299(0x1d3)],_0x17a4e3),_0x17a4e3['cancel'])throw new _0x7049fb[(_0x28c299(0x1f7))]();}})),this[_0xc673cd(0x1c8)](this[_0xc673cd(0x1dd)][_0xc673cd(0x1ef)],()=>_0x2a9ca5['beforeCommandExecuted'](_0x6d1405=>{const _0x14458f=_0xc673cd;if(_0x6d1405['id']===_0x53b0a1[_0x14458f(0x20b)]['id']){const _0x23a539=_0x47223c[_0x14458f(0x1e1)](_0x53b0a1[_0x14458f(0x1ca)]);if(!this[_0x14458f(0x20a)]())return;const _0xd3aeb8={'layoutConfig':_0x23a539[_0x14458f(0x1dc)],'renderConfig':_0x23a539[_0x14458f(0x1f1)]};if(_0xd3aeb8==null)return;if(this[_0x14458f(0x203)](this[_0x14458f(0x1dd)][_0x14458f(0x1ef)],_0xd3aeb8),_0xd3aeb8[_0x14458f(0x1d6)])throw new _0x7049fb['CanceledError']();}})),this[_0xc673cd(0x1c8)](this[_0xc673cd(0x1dd)][_0xc673cd(0x1cd)],()=>_0x2a9ca5[_0xc673cd(0x20f)](_0x1d88b8=>{const _0x3534fb=_0xc673cd;if(_0x1d88b8['id']===_0x53b0a1[_0x3534fb(0x204)]['id']){const _0x3eca6f=_0x47223c[_0x3534fb(0x1e1)](_0x53b0a1[_0x3534fb(0x1ca)]);if(!this['getActiveUniverSheet']())return;const _0x23f124={'layoutConfig':_0x3eca6f['layoutConfig'],'renderConfig':_0x3eca6f[_0x3534fb(0x1f1)]};if(_0x23f124==null)return;if(this[_0x3534fb(0x203)](this[_0x3534fb(0x1dd)][_0x3534fb(0x1cd)],_0x23f124),_0x23f124[_0x3534fb(0x1d6)])throw new _0x7049fb[(_0x3534fb(0x1f7))]();}})),this[_0xc673cd(0x1c8)](this['Event'][_0xc673cd(0x20e)],()=>_0x2a9ca5[_0xc673cd(0x20d)](_0x3af9b7=>{const _0x58b5ec=_0xc673cd;if(_0x3af9b7['id']===_0x53b0a1['SheetPrintOpenOperation']['id']){const _0x3552a5=this['getActiveUniverSheet']();if(!_0x3552a5)return;const _0x4c5728={'workbook':_0x3552a5,'worksheet':_0x3552a5[_0x58b5ec(0x1d0)]()};if(_0x4c5728==null)return;this[_0x58b5ec(0x203)](this[_0x58b5ec(0x1dd)]['SheetPrintOpen'],_0x4c5728);}})),this[_0xc673cd(0x1c8)](this[_0xc673cd(0x1dd)]['SheetPrintConfirmed'],()=>_0x2a9ca5[_0xc673cd(0x20d)](_0x47819c=>{const _0x2ef82c=_0xc673cd;if(_0x47819c['id']===_0x53b0a1[_0x2ef82c(0x20b)]['id']){const _0x54e6dc=_0x47223c[_0x2ef82c(0x1e1)](_0x53b0a1['ISheetPrintManagerService']);if(!this[_0x2ef82c(0x20a)]())return;const _0x5b7504={'layoutConfig':_0x54e6dc[_0x2ef82c(0x1dc)],'renderConfig':_0x54e6dc[_0x2ef82c(0x1f1)]};if(_0x5b7504==null)return;this[_0x2ef82c(0x203)](this[_0x2ef82c(0x1dd)][_0x2ef82c(0x1df)],_0x5b7504);}})),this[_0xc673cd(0x1c8)](this[_0xc673cd(0x1dd)][_0xc673cd(0x1ed)],()=>_0x2a9ca5['onCommandExecuted'](_0x3103ce=>{const _0x29e135=_0xc673cd;if(_0x3103ce['id']===_0x53b0a1[_0x29e135(0x204)]['id']){const _0x35145a=_0x47223c[_0x29e135(0x1e1)](_0x53b0a1[_0x29e135(0x1ca)]);if(!this['getActiveUniverSheet']())return;const _0x1aace9={'layoutConfig':_0x35145a[_0x29e135(0x1dc)],'renderConfig':_0x35145a[_0x29e135(0x1f1)]};if(_0x1aace9==null)return;this[_0x29e135(0x203)](this[_0x29e135(0x1dd)][_0x29e135(0x1ed)],_0x1aace9);}}));}}_0x16f74c[_0x22af88(0x1da)][_0x22af88(0x20c)](_0x5a8742);}));function _0x5b91(){const _0x5de455=['updatePrintConfig','get','3672048MhDHSW','5Fvyigd','FRange','30xnNPID','PrintHeaderFooter','@univerjs/sheets/facade','PrintArea','156HTUaxi','_worksheet','PrintHeaderFooterSymbol','FEnum','SheetPrintCanceled','2437666PJCRAF','BeforeSheetPrintConfirm','updateLayoutConfig','renderConfig','hasPrintFacadePermission','UniverSheetsFacade','executeCommand','getScreenshot','PaperType','CanceledError','PrintFreeze','3905664lPwUSY','@univerjs-pro/print','@univerjs/core/facade','44316kHqQcd','_workbook','FWorkbook','syncExecuteCommand','SheetScreenShotOperation','SheetPrintOpenOperation','object','fireEvent','CancelSheetPrintOperation','_injector','_initialize','ICommandService','getUnitId','1540106gfKmPw','getActiveUniverSheet','ConfirmSheetPrintOperation','extend','onCommandExecuted','SheetPrintOpen','beforeCommandExecuted','PrintPaperSize','PrintPaperMargin','FEventName','UniverCoreFacade','registerEventHandler','saveScreenshotToClipboard','ISheetPrintManagerService','UniverProSheetsPrint','function','BeforeSheetPrintCanceled','11310489eetSgs','PrintDirection','getActiveSheet','UniverCore','@univerjs-pro/sheets-print','BeforeSheetPrintOpen','7075648kVKqKo','print','cancel','getRangeImage','getSheetId','@univerjs/core','FUniver','PrintScale','layoutConfig','Event','UniverProPrint','SheetPrintConfirmed'];_0x5b91=function(){return _0x5de455;};return _0x5b91();}
1
+ function _0x2590(_0x5aabf6,_0xd7b854){const _0x1ef60c=_0x1ef6();return _0x2590=function(_0x2590c5,_0xffdb38){_0x2590c5=_0x2590c5-0x7c;let _0x26fb67=_0x1ef60c[_0x2590c5];return _0x26fb67;},_0x2590(_0x5aabf6,_0xd7b854);}function _0x1ef6(){const _0xe9b3c4=['3194156xPTINY','BeforeSheetPrintConfirm','1264365NVCCyW','UniverCoreFacade','PrintHeaderFooter','PrintArea','PrintDirection','471018nxtQJq','@univerjs-pro/sheets-print','SheetPrintOpen','get','@univerjs/sheets/facade','getSheetId','executeCommand','FEnum','15791520dsYsOa','fireEvent','ISheetPrintManagerService','5854110HYKshN','FUniver','PrintHeaderFooterSymbol','UniverCore','BeforeSheetPrintCanceled','SheetScreenShotOperation','updatePrintRenderConfig','layoutConfig','SheetPrintOpenOperation','ICommandService','BeforeSheetPrintOpen','@univerjs/core','SheetPrintCanceled','openPrintDialog','PrintAlign','onCommandExecuted','@univerjs-pro/print','UniverProSheetsPrint','12bmwdQE','3175520CKTCXH','syncExecuteCommand','SheetPrintConfirmed','_worksheet','getActiveUniverSheet','PrintPaperMargin','registerEventHandler','PrintFreeze','FWorkbook','UniverProPrint','Event','renderConfig','PrintScale','1660014jWQPyQ','FRange','_injector','SheetPrintClientService','ConfirmSheetPrintOperation','PrintPaperSize','CanceledError','getActiveSheet','hasPrintFacadePermission','extend','getRangeImage','cancel','_range','CancelSheetPrintOperation','updateLayoutConfig','getUnitId','updatePrintConfig','print'];_0x1ef6=function(){return _0xe9b3c4;};return _0x1ef6();}(function(_0x5b0944,_0x5783b2){const _0x38344e=_0x2590,_0x2f7c41=_0x5b0944();while(!![]){try{const _0x4ead61=-parseInt(_0x38344e(0xa9))/0x1+parseInt(_0x38344e(0x90))/0x2+-parseInt(_0x38344e(0xa4))/0x3+parseInt(_0x38344e(0x83))/0x4+-parseInt(_0x38344e(0xb4))/0x5+parseInt(_0x38344e(0x82))/0x6*(-parseInt(_0x38344e(0xa2))/0x7)+parseInt(_0x38344e(0xb1))/0x8;if(_0x4ead61===_0x5783b2)break;else _0x2f7c41['push'](_0x2f7c41['shift']());}catch(_0x561910){_0x2f7c41['push'](_0x2f7c41['shift']());}}}(_0x1ef6,0x97d5c),function(_0x57d60e,_0x444649){const _0x1ec79c=_0x2590;typeof exports=='object'&&typeof module<'u'?_0x444649(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define['amd']?define([_0x1ec79c(0xaa),_0x1ec79c(0xbf),_0x1ec79c(0xad),'@univerjs/core/facade',_0x1ec79c(0x80)],_0x444649):(_0x57d60e=typeof globalThis<'u'?globalThis:_0x57d60e||self,_0x444649(_0x57d60e[_0x1ec79c(0x81)],_0x57d60e[_0x1ec79c(0xb7)],_0x57d60e['UniverSheetsFacade'],_0x57d60e[_0x1ec79c(0xa5)],_0x57d60e[_0x1ec79c(0x8c)]));}(this,function(_0x5c6efe,_0x55f034,_0x37eb1e,_0x28ee99,_0x5582f0){'use strict';const _0x57a7c3=_0x2590;class _0x3c6d54 extends _0x37eb1e[_0x57a7c3(0x8b)]{[_0x57a7c3(0xa0)](_0x221b71){const _0x43d826=_0x57a7c3;return this[_0x43d826(0x92)][_0x43d826(0xac)](_0x5c6efe[_0x43d826(0xb3)])[_0x43d826(0x9e)](_0x221b71),this;}[_0x57a7c3(0xba)](_0x161cbf){const _0x508d2b=_0x57a7c3;return this[_0x508d2b(0x92)][_0x508d2b(0xac)](_0x5c6efe[_0x508d2b(0xb3)])['updateRenderConfig'](_0x161cbf),this;}[_0x57a7c3(0xa1)](){const _0x14c229=_0x57a7c3;return this[_0x14c229(0x92)][_0x14c229(0xac)](_0x55f034['ICommandService'])[_0x14c229(0x84)](_0x5c6efe[_0x14c229(0x94)]['id']);}[_0x57a7c3(0x7d)](){const _0x5bb2c9=_0x57a7c3;return this[_0x5bb2c9(0x92)]['get'](_0x55f034[_0x5bb2c9(0xbd)])[_0x5bb2c9(0x84)](_0x5c6efe[_0x5bb2c9(0xbc)]['id']);}['closePrintDialog'](){const _0x5398c0=_0x57a7c3;return this[_0x5398c0(0x92)][_0x5398c0(0xac)](_0x55f034[_0x5398c0(0xbd)])[_0x5398c0(0x84)](_0x5c6efe['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x225769=_0x57a7c3;return _0x5c6efe['hasPrintFacadePermission'](this[_0x225769(0x92)])?this[_0x225769(0x92)]['get'](_0x55f034['ICommandService'])[_0x225769(0xaf)](_0x5c6efe[_0x225769(0xb9)]['id']):!0x1;}}_0x37eb1e[_0x57a7c3(0x8b)][_0x57a7c3(0x99)](_0x3c6d54);class _0x341aed extends _0x37eb1e[_0x57a7c3(0x91)]{['getScreenshot'](){const _0x1c0781=_0x57a7c3;return _0x5c6efe[_0x1c0781(0x98)](this[_0x1c0781(0x92)])?this[_0x1c0781(0x92)][_0x1c0781(0xac)](_0x5c6efe[_0x1c0781(0x93)])[_0x1c0781(0x9a)](this['_workbook'][_0x1c0781(0x9f)](),this[_0x1c0781(0x86)][_0x1c0781(0xae)](),this[_0x1c0781(0x9c)]):!0x1;}}_0x37eb1e['FRange'][_0x57a7c3(0x99)](_0x341aed);class _0x47fad0{get[_0x57a7c3(0xbe)](){const _0x1e8c03=_0x57a7c3;return _0x1e8c03(0xbe);}get[_0x57a7c3(0xa3)](){const _0x264732=_0x57a7c3;return _0x264732(0xa3);}get['BeforeSheetPrintCanceled'](){const _0x2986b3=_0x57a7c3;return _0x2986b3(0xb8);}get[_0x57a7c3(0xab)](){const _0xac9c92=_0x57a7c3;return _0xac9c92(0xab);}get[_0x57a7c3(0x85)](){const _0x4ac0de=_0x57a7c3;return _0x4ac0de(0x85);}get[_0x57a7c3(0x7c)](){const _0x42fce9=_0x57a7c3;return _0x42fce9(0x7c);}}_0x28ee99['FEventName'][_0x57a7c3(0x99)](_0x47fad0);class _0x127e39{get[_0x57a7c3(0xa7)](){return _0x5c6efe['PrintArea'];}get['PrintAlign'](){const _0x29aa6b=_0x57a7c3;return _0x5582f0[_0x29aa6b(0x7e)];}get[_0x57a7c3(0x95)](){return _0x55f034['PaperType'];}get['PrintPaperMargin'](){const _0x562047=_0x57a7c3;return _0x5582f0[_0x562047(0x88)];}get['PrintScale'](){const _0x1df931=_0x57a7c3;return _0x5582f0[_0x1df931(0x8f)];}get[_0x57a7c3(0xa8)](){const _0x9c2765=_0x57a7c3;return _0x5582f0[_0x9c2765(0xa8)];}get[_0x57a7c3(0x8a)](){const _0x53fc2a=_0x57a7c3;return _0x5c6efe[_0x53fc2a(0x8a)];}get[_0x57a7c3(0xa6)](){const _0x46ca12=_0x57a7c3;return _0x5c6efe[_0x46ca12(0xa6)];}get[_0x57a7c3(0xb6)](){const _0x52f949=_0x57a7c3;return _0x5c6efe[_0x52f949(0xb6)];}}_0x28ee99[_0x57a7c3(0xb0)][_0x57a7c3(0x99)](_0x127e39);class _0x1ddc0b extends _0x28ee99[_0x57a7c3(0xb5)]{['_initialize'](_0x56d963){const _0x1ec8c3=_0x57a7c3,_0x3cc7d2=_0x56d963['get'](_0x55f034[_0x1ec8c3(0xbd)]);this[_0x1ec8c3(0x89)](this['Event'][_0x1ec8c3(0xbe)],()=>_0x3cc7d2['beforeCommandExecuted'](_0x2f1afa=>{const _0x47dfc6=_0x1ec8c3;if(_0x2f1afa['id']===_0x5c6efe[_0x47dfc6(0xbc)]['id']){const _0x43438a=this[_0x47dfc6(0x87)]();if(!_0x43438a)return;const _0x5dc22a={'workbook':_0x43438a,'worksheet':_0x43438a[_0x47dfc6(0x97)]()};if(_0x5dc22a==null)return;if(this[_0x47dfc6(0xb2)](this[_0x47dfc6(0x8d)]['BeforeSheetPrintOpen'],_0x5dc22a),_0x5dc22a[_0x47dfc6(0x9b)])throw new _0x55f034[(_0x47dfc6(0x96))]();}})),this['registerEventHandler'](this[_0x1ec8c3(0x8d)]['BeforeSheetPrintConfirm'],()=>_0x3cc7d2['beforeCommandExecuted'](_0x1aa988=>{const _0x23564d=_0x1ec8c3;if(_0x1aa988['id']===_0x5c6efe[_0x23564d(0x94)]['id']){const _0xeb2e53=_0x56d963[_0x23564d(0xac)](_0x5c6efe[_0x23564d(0xb3)]);if(!this[_0x23564d(0x87)]())return;const _0x2d101f={'layoutConfig':_0xeb2e53[_0x23564d(0xbb)],'renderConfig':_0xeb2e53['renderConfig']};if(_0x2d101f==null)return;if(this[_0x23564d(0xb2)](this[_0x23564d(0x8d)][_0x23564d(0xa3)],_0x2d101f),_0x2d101f[_0x23564d(0x9b)])throw new _0x55f034[(_0x23564d(0x96))]();}})),this[_0x1ec8c3(0x89)](this[_0x1ec8c3(0x8d)]['BeforeSheetPrintCanceled'],()=>_0x3cc7d2['beforeCommandExecuted'](_0x2c694e=>{const _0x57964a=_0x1ec8c3;if(_0x2c694e['id']===_0x5c6efe['CancelSheetPrintOperation']['id']){const _0x4d89c8=_0x56d963[_0x57964a(0xac)](_0x5c6efe[_0x57964a(0xb3)]);if(!this[_0x57964a(0x87)]())return;const _0x49b324={'layoutConfig':_0x4d89c8['layoutConfig'],'renderConfig':_0x4d89c8[_0x57964a(0x8e)]};if(_0x49b324==null)return;if(this['fireEvent'](this[_0x57964a(0x8d)]['BeforeSheetPrintCanceled'],_0x49b324),_0x49b324['cancel'])throw new _0x55f034['CanceledError']();}})),this[_0x1ec8c3(0x89)](this[_0x1ec8c3(0x8d)][_0x1ec8c3(0xab)],()=>_0x3cc7d2[_0x1ec8c3(0x7f)](_0x130004=>{const _0x3e701b=_0x1ec8c3;if(_0x130004['id']===_0x5c6efe['SheetPrintOpenOperation']['id']){const _0x421b52=this[_0x3e701b(0x87)]();if(!_0x421b52)return;const _0x2dc9d3={'workbook':_0x421b52,'worksheet':_0x421b52[_0x3e701b(0x97)]()};if(_0x2dc9d3==null)return;this[_0x3e701b(0xb2)](this[_0x3e701b(0x8d)]['SheetPrintOpen'],_0x2dc9d3);}})),this[_0x1ec8c3(0x89)](this[_0x1ec8c3(0x8d)][_0x1ec8c3(0x85)],()=>_0x3cc7d2[_0x1ec8c3(0x7f)](_0x4497ff=>{const _0x3f8acf=_0x1ec8c3;if(_0x4497ff['id']===_0x5c6efe[_0x3f8acf(0x94)]['id']){const _0x321b20=_0x56d963[_0x3f8acf(0xac)](_0x5c6efe[_0x3f8acf(0xb3)]);if(!this[_0x3f8acf(0x87)]())return;const _0x2302d4={'layoutConfig':_0x321b20['layoutConfig'],'renderConfig':_0x321b20[_0x3f8acf(0x8e)]};if(_0x2302d4==null)return;this[_0x3f8acf(0xb2)](this[_0x3f8acf(0x8d)][_0x3f8acf(0x85)],_0x2302d4);}})),this[_0x1ec8c3(0x89)](this['Event']['SheetPrintCanceled'],()=>_0x3cc7d2[_0x1ec8c3(0x7f)](_0x41b3cb=>{const _0x4fcb5f=_0x1ec8c3;if(_0x41b3cb['id']===_0x5c6efe[_0x4fcb5f(0x9d)]['id']){const _0x39ec4b=_0x56d963[_0x4fcb5f(0xac)](_0x5c6efe[_0x4fcb5f(0xb3)]);if(!this['getActiveUniverSheet']())return;const _0x198a66={'layoutConfig':_0x39ec4b['layoutConfig'],'renderConfig':_0x39ec4b[_0x4fcb5f(0x8e)]};if(_0x198a66==null)return;this['fireEvent'](this['Event'][_0x4fcb5f(0x7c)],_0x198a66);}}));}}_0x28ee99[_0x57a7c3(0xb5)][_0x57a7c3(0x99)](_0x1ddc0b);}));