@univerjs-pro/sheets-print 0.10.1 → 0.10.2-nightly.202508080617

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 (52) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +41 -41
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/types/index.d.ts +7 -7
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +15 -15
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x396ba7=_0x1de3;(function(_0x1091af,_0x2df2b8){const _0x42486f=_0x1de3,_0x2e3345=_0x1091af();while(!![]){try{const _0x4dc871=parseInt(_0x42486f(0xf1))/0x1+-parseInt(_0x42486f(0xd7))/0x2+parseInt(_0x42486f(0xdc))/0x3+parseInt(_0x42486f(0xd2))/0x4*(-parseInt(_0x42486f(0xc8))/0x5)+-parseInt(_0x42486f(0xda))/0x6*(parseInt(_0x42486f(0xc6))/0x7)+-parseInt(_0x42486f(0xc9))/0x8+parseInt(_0x42486f(0xe8))/0x9*(parseInt(_0x42486f(0xde))/0xa);if(_0x4dc871===_0x2df2b8)break;else _0x2e3345['push'](_0x2e3345['shift']());}catch(_0x4158fd){_0x2e3345['push'](_0x2e3345['shift']());}}}(_0x55e0,0x60c4b));import{ISheetPrintManagerService as _0x4795fe,ConfirmSheetPrintOperation as _0x4395c5,SheetPrintOpenOperation as _0x4001cd,CancelSheetPrintOperation as _0x2afd74,hasPrintFacadePermission as _0x5412b3,SheetScreenShotOperation as _0x4fb07a,SheetPrintClientService as _0x2d43ed,PrintArea as _0x2fee9b,PrintFreeze as _0x55db32,PrintHeaderFooter as _0x4fa779,PrintHeaderFooterSymbol as _0x5acb2d}from'@univerjs-pro/sheets-print';import{ICommandService as _0x56c5db,PaperType as _0x3848f1,CanceledError as _0x7b7ab0}from'@univerjs/core';import{FWorkbook as _0x463d56,FRange as _0x3b193a}from'@univerjs/sheets/facade';import{FEventName as _0x4bef1c,FEnum as _0x19407e,FUniver as _0x1c5140}from'@univerjs/core/facade';import{PrintAlign as _0x2d0622,PrintPaperMargin as _0x56c6c9,PrintScale as _0x5f4100,PrintDirection as _0xc9a45c}from'@univerjs-pro/print';class A extends _0x463d56{['updatePrintConfig'](_0x1f28bc){const _0x142ea5=_0x1de3;return this['_injector'][_0x142ea5(0xea)](_0x4795fe)[_0x142ea5(0xd9)](_0x1f28bc),this;}['updatePrintRenderConfig'](_0x15eebc){const _0x3e7497=_0x1de3;return this[_0x3e7497(0xd0)]['get'](_0x4795fe)[_0x3e7497(0xee)](_0x15eebc),this;}[_0x396ba7(0xdd)](){return this['_injector']['get'](_0x56c5db)['syncExecuteCommand'](_0x4395c5['id']);}['openPrintDialog'](){const _0x19d9c3=_0x396ba7;return this[_0x19d9c3(0xd0)][_0x19d9c3(0xea)](_0x56c5db)[_0x19d9c3(0xcd)](_0x4001cd['id']);}['closePrintDialog'](){const _0x3b904e=_0x396ba7;return this['_injector'][_0x3b904e(0xea)](_0x56c5db)[_0x3b904e(0xcd)](_0x2afd74['id']);}async[_0x396ba7(0xd8)](){const _0x31500f=_0x396ba7;return _0x5412b3(this['_injector'])?this['_injector'][_0x31500f(0xea)](_0x56c5db)[_0x31500f(0xcf)](_0x4fb07a['id']):!0x1;}}_0x463d56[_0x396ba7(0xd4)](A);class B extends _0x3b193a{['getScreenshot'](){const _0x52ef08=_0x396ba7;return _0x5412b3(this[_0x52ef08(0xd0)])?this[_0x52ef08(0xd0)][_0x52ef08(0xea)](_0x2d43ed)['getRangeImage'](this[_0x52ef08(0xf2)][_0x52ef08(0xdf)](),this[_0x52ef08(0xe7)][_0x52ef08(0xf4)](),this[_0x52ef08(0xf0)]):!0x1;}}function _0x55e0(){const _0x10a3e0=['syncExecuteCommand','BeforeSheetPrintCanceled','executeCommand','_injector','fireEvent','4JmUVJN','BeforeSheetPrintConfirm','extend','registerEventHandler','PrintHeaderFooterSymbol','1256164jeQxXN','saveScreenshotToClipboard','updateLayoutConfig','318QeWTLq','PrintFreeze','168255JefZbI','print','10REEVBF','getUnitId','SheetPrintConfirmed','SheetPrintOpen','PrintHeaderFooter','PrintPaperMargin','getActiveSheet','Event','PrintArea','_worksheet','21218454BGyLqZ','SheetPrintCanceled','get','PrintAlign','PrintPaperSize','renderConfig','updateRenderConfig','BeforeSheetPrintOpen','_range','44462CysEmD','_workbook','getActiveUniverSheet','getSheetId','PrintScale','onCommandExecuted','26369BbkyHG','beforeCommandExecuted','3260395Splpvz','4655824vCNDWM','cancel','PrintDirection','layoutConfig'];_0x55e0=function(){return _0x10a3e0;};return _0x55e0();}_0x3b193a[_0x396ba7(0xd4)](B);class H{get[_0x396ba7(0xef)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x3d7985=_0x396ba7;return _0x3d7985(0xd3);}get[_0x396ba7(0xce)](){const _0x25cf6b=_0x396ba7;return _0x25cf6b(0xce);}get[_0x396ba7(0xe1)](){return'SheetPrintOpen';}get[_0x396ba7(0xe0)](){return'SheetPrintConfirmed';}get[_0x396ba7(0xe9)](){const _0x188921=_0x396ba7;return _0x188921(0xe9);}}_0x4bef1c['extend'](H);class U{get[_0x396ba7(0xe6)](){return _0x2fee9b;}get[_0x396ba7(0xeb)](){return _0x2d0622;}get[_0x396ba7(0xec)](){return _0x3848f1;}get[_0x396ba7(0xe3)](){return _0x56c6c9;}get[_0x396ba7(0xf5)](){return _0x5f4100;}get[_0x396ba7(0xcb)](){return _0xc9a45c;}get[_0x396ba7(0xdb)](){return _0x55db32;}get[_0x396ba7(0xe2)](){return _0x4fa779;}get[_0x396ba7(0xd6)](){return _0x5acb2d;}}_0x19407e[_0x396ba7(0xd4)](U);class M extends _0x1c5140{['_initialize'](_0x387685){const _0x4a4b04=_0x396ba7,_0x8e9fd0=_0x387685[_0x4a4b04(0xea)](_0x56c5db);this[_0x4a4b04(0xd5)](this['Event'][_0x4a4b04(0xef)],()=>_0x8e9fd0[_0x4a4b04(0xc7)](_0xdf3ec7=>{const _0x1be877=_0x4a4b04;if(_0xdf3ec7['id']===_0x4001cd['id']){const _0x32eb82=this[_0x1be877(0xf3)]();if(!_0x32eb82)return;const _0x2f70e0={'workbook':_0x32eb82,'worksheet':_0x32eb82[_0x1be877(0xe4)]()};if(_0x2f70e0==null)return;if(this['fireEvent'](this[_0x1be877(0xe5)][_0x1be877(0xef)],_0x2f70e0),_0x2f70e0['cancel'])throw new _0x7b7ab0();}})),this['registerEventHandler'](this['Event'][_0x4a4b04(0xd3)],()=>_0x8e9fd0[_0x4a4b04(0xc7)](_0x139632=>{const _0x5a9507=_0x4a4b04;if(_0x139632['id']===_0x4395c5['id']){const _0x3a89c7=_0x387685[_0x5a9507(0xea)](_0x4795fe);if(!this['getActiveUniverSheet']())return;const _0x522cdf={'layoutConfig':_0x3a89c7[_0x5a9507(0xcc)],'renderConfig':_0x3a89c7[_0x5a9507(0xed)]};if(_0x522cdf==null)return;if(this[_0x5a9507(0xd1)](this[_0x5a9507(0xe5)][_0x5a9507(0xd3)],_0x522cdf),_0x522cdf['cancel'])throw new _0x7b7ab0();}})),this[_0x4a4b04(0xd5)](this['Event'][_0x4a4b04(0xce)],()=>_0x8e9fd0[_0x4a4b04(0xc7)](_0x59c1cc=>{const _0x1c62a7=_0x4a4b04;if(_0x59c1cc['id']===_0x2afd74['id']){const _0xcf57ad=_0x387685[_0x1c62a7(0xea)](_0x4795fe);if(!this['getActiveUniverSheet']())return;const _0x19b9e9={'layoutConfig':_0xcf57ad[_0x1c62a7(0xcc)],'renderConfig':_0xcf57ad[_0x1c62a7(0xed)]};if(_0x19b9e9==null)return;if(this['fireEvent'](this[_0x1c62a7(0xe5)][_0x1c62a7(0xce)],_0x19b9e9),_0x19b9e9[_0x1c62a7(0xca)])throw new _0x7b7ab0();}})),this['registerEventHandler'](this[_0x4a4b04(0xe5)][_0x4a4b04(0xe1)],()=>_0x8e9fd0['onCommandExecuted'](_0x32479f=>{const _0xeb444=_0x4a4b04;if(_0x32479f['id']===_0x4001cd['id']){const _0x430310=this[_0xeb444(0xf3)]();if(!_0x430310)return;const _0x1c9558={'workbook':_0x430310,'worksheet':_0x430310[_0xeb444(0xe4)]()};if(_0x1c9558==null)return;this['fireEvent'](this[_0xeb444(0xe5)][_0xeb444(0xe1)],_0x1c9558);}})),this[_0x4a4b04(0xd5)](this[_0x4a4b04(0xe5)][_0x4a4b04(0xe0)],()=>_0x8e9fd0[_0x4a4b04(0xf6)](_0x1bdca7=>{const _0x1ee8c6=_0x4a4b04;if(_0x1bdca7['id']===_0x4395c5['id']){const _0xd7cd84=_0x387685['get'](_0x4795fe);if(!this[_0x1ee8c6(0xf3)]())return;const _0x3b782f={'layoutConfig':_0xd7cd84['layoutConfig'],'renderConfig':_0xd7cd84['renderConfig']};if(_0x3b782f==null)return;this[_0x1ee8c6(0xd1)](this[_0x1ee8c6(0xe5)]['SheetPrintConfirmed'],_0x3b782f);}})),this[_0x4a4b04(0xd5)](this['Event'][_0x4a4b04(0xe9)],()=>_0x8e9fd0[_0x4a4b04(0xf6)](_0x4f014c=>{const _0x3c27cb=_0x4a4b04;if(_0x4f014c['id']===_0x2afd74['id']){const _0x429fc6=_0x387685[_0x3c27cb(0xea)](_0x4795fe);if(!this[_0x3c27cb(0xf3)]())return;const _0x52f06c={'layoutConfig':_0x429fc6['layoutConfig'],'renderConfig':_0x429fc6['renderConfig']};if(_0x52f06c==null)return;this[_0x3c27cb(0xd1)](this[_0x3c27cb(0xe5)][_0x3c27cb(0xe9)],_0x52f06c);}}));}}function _0x1de3(_0x315681,_0x562977){const _0x55e078=_0x55e0();return _0x1de3=function(_0x1de346,_0x4e78e7){_0x1de346=_0x1de346-0xc6;let _0x23c0ba=_0x55e078[_0x1de346];return _0x23c0ba;},_0x1de3(_0x315681,_0x562977);}_0x1c5140[_0x396ba7(0xd4)](M);
1
+ const _0xabd6b1=_0x1f77;(function(_0x10f43b,_0x4d38c6){const _0x5aad0d=_0x1f77,_0x4eb4fc=_0x10f43b();while(!![]){try{const _0x39181c=parseInt(_0x5aad0d(0x194))/0x1*(parseInt(_0x5aad0d(0x187))/0x2)+-parseInt(_0x5aad0d(0x193))/0x3*(-parseInt(_0x5aad0d(0x182))/0x4)+parseInt(_0x5aad0d(0x17e))/0x5+-parseInt(_0x5aad0d(0x175))/0x6*(-parseInt(_0x5aad0d(0x195))/0x7)+parseInt(_0x5aad0d(0x197))/0x8+parseInt(_0x5aad0d(0x199))/0x9*(-parseInt(_0x5aad0d(0x190))/0xa)+-parseInt(_0x5aad0d(0x181))/0xb;if(_0x39181c===_0x4d38c6)break;else _0x4eb4fc['push'](_0x4eb4fc['shift']());}catch(_0x347219){_0x4eb4fc['push'](_0x4eb4fc['shift']());}}}(_0x3828,0xa5938));import{ISheetPrintManagerService as _0x551699,ConfirmSheetPrintOperation as _0x33c538,SheetPrintOpenOperation as _0x3b1f7a,CancelSheetPrintOperation as _0x24084e,hasPrintFacadePermission as _0x50bac8,SheetScreenShotOperation as _0xcadb8a,SheetPrintClientService as _0x29c97e,PrintArea as _0x474dc8,PrintFreeze as _0x52e550,PrintHeaderFooter as _0x140367,PrintHeaderFooterSymbol as _0x2a43a9}from'@univerjs-pro/sheets-print';import{ICommandService as _0x478a91,PaperType as _0x12f9f3,CanceledError as _0x14652f}from'@univerjs/core';import{FWorkbook as _0x4c963d,FRange as _0x22b0a3}from'@univerjs/sheets/facade';import{FEventName as _0x39c32e,FEnum as _0x257c97,FUniver as _0x2212ea}from'@univerjs/core/facade';function _0x3828(){const _0x2db9f=['beforeCommandExecuted','BeforeSheetPrintOpen','SheetPrintOpen','726zUruML','PrintAlign','getActiveUniverSheet','executeCommand','registerEventHandler','SheetPrintCanceled','_workbook','getActiveSheet','print','2816705sEziBW','getSheetId','_injector','27049451CiettT','2726352TSBFqW','syncExecuteCommand','cancel','getScreenshot','Event','762zHfhjz','fireEvent','PrintDirection','updatePrintRenderConfig','get','PrintHeaderFooterSymbol','getUnitId','closePrintDialog','BeforeSheetPrintCanceled','4810FKngRB','renderConfig','_range','3oNvBAQ','2284gdQLWO','41909LYlPNA','getRangeImage','7891784hhckyC','extend','12888NvfCbv','onCommandExecuted','SheetPrintConfirmed','BeforeSheetPrintConfirm','saveScreenshotToClipboard','PrintPaperSize','layoutConfig','updateRenderConfig','PrintHeaderFooter'];_0x3828=function(){return _0x2db9f;};return _0x3828();}import{PrintAlign as _0x2d9594,PrintPaperMargin as _0x1e386a,PrintScale as _0x2250f4,PrintDirection as _0x47bcc4}from'@univerjs-pro/print';class A extends _0x4c963d{['updatePrintConfig'](_0xfeaeac){const _0x3db870=_0x1f77;return this[_0x3db870(0x180)][_0x3db870(0x18b)](_0x551699)['updateLayoutConfig'](_0xfeaeac),this;}[_0xabd6b1(0x18a)](_0x1c605d){const _0x14369f=_0xabd6b1;return this['_injector']['get'](_0x551699)[_0x14369f(0x170)](_0x1c605d),this;}[_0xabd6b1(0x17d)](){const _0x1d435a=_0xabd6b1;return this['_injector'][_0x1d435a(0x18b)](_0x478a91)['syncExecuteCommand'](_0x33c538['id']);}['openPrintDialog'](){const _0x70cc8a=_0xabd6b1;return this[_0x70cc8a(0x180)][_0x70cc8a(0x18b)](_0x478a91)[_0x70cc8a(0x183)](_0x3b1f7a['id']);}[_0xabd6b1(0x18e)](){const _0x4b292a=_0xabd6b1;return this[_0x4b292a(0x180)][_0x4b292a(0x18b)](_0x478a91)[_0x4b292a(0x183)](_0x24084e['id']);}async[_0xabd6b1(0x16d)](){const _0x319948=_0xabd6b1;return _0x50bac8(this[_0x319948(0x180)])?this['_injector'][_0x319948(0x18b)](_0x478a91)[_0x319948(0x178)](_0xcadb8a['id']):!0x1;}}function _0x1f77(_0x265de8,_0x6c2b0a){const _0x382847=_0x3828();return _0x1f77=function(_0x1f770b,_0x22f074){_0x1f770b=_0x1f770b-0x16b;let _0x2b5357=_0x382847[_0x1f770b];return _0x2b5357;},_0x1f77(_0x265de8,_0x6c2b0a);}_0x4c963d[_0xabd6b1(0x198)](A);class B extends _0x22b0a3{[_0xabd6b1(0x185)](){const _0x56de88=_0xabd6b1;return _0x50bac8(this['_injector'])?this[_0x56de88(0x180)][_0x56de88(0x18b)](_0x29c97e)[_0x56de88(0x196)](this[_0x56de88(0x17b)][_0x56de88(0x18d)](),this['_worksheet'][_0x56de88(0x17f)](),this[_0x56de88(0x192)]):!0x1;}}_0x22b0a3['extend'](B);class H{get[_0xabd6b1(0x173)](){return'BeforeSheetPrintOpen';}get[_0xabd6b1(0x16c)](){const _0x36e1a6=_0xabd6b1;return _0x36e1a6(0x16c);}get[_0xabd6b1(0x18f)](){const _0x33824d=_0xabd6b1;return _0x33824d(0x18f);}get[_0xabd6b1(0x174)](){return'SheetPrintOpen';}get[_0xabd6b1(0x16b)](){return'SheetPrintConfirmed';}get[_0xabd6b1(0x17a)](){const _0x38877c=_0xabd6b1;return _0x38877c(0x17a);}}_0x39c32e[_0xabd6b1(0x198)](H);class U{get['PrintArea'](){return _0x474dc8;}get[_0xabd6b1(0x176)](){return _0x2d9594;}get[_0xabd6b1(0x16e)](){return _0x12f9f3;}get['PrintPaperMargin'](){return _0x1e386a;}get['PrintScale'](){return _0x2250f4;}get[_0xabd6b1(0x189)](){return _0x47bcc4;}get['PrintFreeze'](){return _0x52e550;}get[_0xabd6b1(0x171)](){return _0x140367;}get[_0xabd6b1(0x18c)](){return _0x2a43a9;}}_0x257c97[_0xabd6b1(0x198)](U);class M extends _0x2212ea{['_initialize'](_0x14d25c){const _0x22bd6e=_0xabd6b1,_0x3cf04a=_0x14d25c[_0x22bd6e(0x18b)](_0x478a91);this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)][_0x22bd6e(0x173)],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x4ec11d=>{const _0x1eee41=_0x22bd6e;if(_0x4ec11d['id']===_0x3b1f7a['id']){const _0x5adf00=this[_0x1eee41(0x177)]();if(!_0x5adf00)return;const _0x286a1c={'workbook':_0x5adf00,'worksheet':_0x5adf00[_0x1eee41(0x17c)]()};if(_0x286a1c==null)return;if(this[_0x1eee41(0x188)](this[_0x1eee41(0x186)]['BeforeSheetPrintOpen'],_0x286a1c),_0x286a1c[_0x1eee41(0x184)])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)]['BeforeSheetPrintConfirm'],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x408228=>{const _0x517a31=_0x22bd6e;if(_0x408228['id']===_0x33c538['id']){const _0x4b27be=_0x14d25c[_0x517a31(0x18b)](_0x551699);if(!this[_0x517a31(0x177)]())return;const _0x40e360={'layoutConfig':_0x4b27be[_0x517a31(0x16f)],'renderConfig':_0x4b27be[_0x517a31(0x191)]};if(_0x40e360==null)return;if(this[_0x517a31(0x188)](this[_0x517a31(0x186)][_0x517a31(0x16c)],_0x40e360),_0x40e360[_0x517a31(0x184)])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)][_0x22bd6e(0x18f)],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x2eb68d=>{const _0x5d068d=_0x22bd6e;if(_0x2eb68d['id']===_0x24084e['id']){const _0x10c2eb=_0x14d25c[_0x5d068d(0x18b)](_0x551699);if(!this[_0x5d068d(0x177)]())return;const _0x79d1c0={'layoutConfig':_0x10c2eb['layoutConfig'],'renderConfig':_0x10c2eb[_0x5d068d(0x191)]};if(_0x79d1c0==null)return;if(this[_0x5d068d(0x188)](this[_0x5d068d(0x186)]['BeforeSheetPrintCanceled'],_0x79d1c0),_0x79d1c0['cancel'])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this['Event'][_0x22bd6e(0x174)],()=>_0x3cf04a['onCommandExecuted'](_0x3f98d9=>{const _0x2c597c=_0x22bd6e;if(_0x3f98d9['id']===_0x3b1f7a['id']){const _0x4c2969=this[_0x2c597c(0x177)]();if(!_0x4c2969)return;const _0x679a3d={'workbook':_0x4c2969,'worksheet':_0x4c2969[_0x2c597c(0x17c)]()};if(_0x679a3d==null)return;this[_0x2c597c(0x188)](this[_0x2c597c(0x186)][_0x2c597c(0x174)],_0x679a3d);}})),this[_0x22bd6e(0x179)](this['Event'][_0x22bd6e(0x16b)],()=>_0x3cf04a[_0x22bd6e(0x19a)](_0x412319=>{const _0x253fa9=_0x22bd6e;if(_0x412319['id']===_0x33c538['id']){const _0x4311da=_0x14d25c['get'](_0x551699);if(!this[_0x253fa9(0x177)]())return;const _0xb6961d={'layoutConfig':_0x4311da[_0x253fa9(0x16f)],'renderConfig':_0x4311da['renderConfig']};if(_0xb6961d==null)return;this[_0x253fa9(0x188)](this[_0x253fa9(0x186)]['SheetPrintConfirmed'],_0xb6961d);}})),this[_0x22bd6e(0x179)](this['Event']['SheetPrintCanceled'],()=>_0x3cf04a[_0x22bd6e(0x19a)](_0x5d2463=>{const _0x2ce5ff=_0x22bd6e;if(_0x5d2463['id']===_0x24084e['id']){const _0x58fa20=_0x14d25c[_0x2ce5ff(0x18b)](_0x551699);if(!this['getActiveUniverSheet']())return;const _0x596231={'layoutConfig':_0x58fa20[_0x2ce5ff(0x16f)],'renderConfig':_0x58fa20[_0x2ce5ff(0x191)]};if(_0x596231==null)return;this[_0x2ce5ff(0x188)](this['Event'][_0x2ce5ff(0x17a)],_0x596231);}}));}}_0x2212ea[_0xabd6b1(0x198)](M);