@univerjs-pro/sheets-print 0.10.13-nightly.202510290902 → 0.10.14-nightly.202511031023

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 (51) 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/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x13ce7a=_0x321c;(function(_0x5c2b79,_0x1959d0){const _0x12fafc=_0x321c,_0x46b81c=_0x5c2b79();while(!![]){try{const _0x47ebfe=-parseInt(_0x12fafc(0xbb))/0x1+parseInt(_0x12fafc(0xdc))/0x2*(-parseInt(_0x12fafc(0xca))/0x3)+-parseInt(_0x12fafc(0xcd))/0x4*(parseInt(_0x12fafc(0xd6))/0x5)+parseInt(_0x12fafc(0xad))/0x6*(-parseInt(_0x12fafc(0xc9))/0x7)+parseInt(_0x12fafc(0xdd))/0x8+-parseInt(_0x12fafc(0xe2))/0x9+-parseInt(_0x12fafc(0xce))/0xa*(-parseInt(_0x12fafc(0xb4))/0xb);if(_0x47ebfe===_0x1959d0)break;else _0x46b81c['push'](_0x46b81c['shift']());}catch(_0x485ac9){_0x46b81c['push'](_0x46b81c['shift']());}}}(_0xf0b7,0x4884d));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');class S extends d[_0x13ce7a(0xc1)]{['updatePrintConfig'](_0x48d897){const _0x34c129=_0x13ce7a;return this[_0x34c129(0xd5)][_0x34c129(0xb2)](e[_0x34c129(0xd8)])[_0x34c129(0xc8)](_0x48d897),this;}[_0x13ce7a(0xd9)](_0xb22476){const _0x53a454=_0x13ce7a;return this[_0x53a454(0xd5)][_0x53a454(0xb2)](e[_0x53a454(0xd8)])['updateRenderConfig'](_0xb22476),this;}[_0x13ce7a(0xd2)](){const _0x3df3e0=_0x13ce7a;return this[_0x3df3e0(0xd5)]['get'](a[_0x3df3e0(0xb8)])[_0x3df3e0(0xe1)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x377b4d=_0x13ce7a;return this[_0x377b4d(0xd5)][_0x377b4d(0xb2)](a['ICommandService'])[_0x377b4d(0xe1)](e[_0x377b4d(0xaa)]['id']);}['closePrintDialog'](){const _0x2ab948=_0x13ce7a;return this[_0x2ab948(0xd5)]['get'](a['ICommandService'])[_0x2ab948(0xe1)](e[_0x2ab948(0xd1)]['id']);}async[_0x13ce7a(0xb5)](){const _0x11c638=_0x13ce7a;return e[_0x11c638(0xe5)](this['_injector'])?this['_injector']['get'](a[_0x11c638(0xb8)])['executeCommand'](e['SheetScreenShotOperation']['id']):!0x1;}}function _0x321c(_0x59240b,_0x3c277d){const _0xf0b755=_0xf0b7();return _0x321c=function(_0x321c31,_0xf477e0){_0x321c31=_0x321c31-0xa9;let _0x25762e=_0xf0b755[_0x321c31];return _0x25762e;},_0x321c(_0x59240b,_0x3c277d);}d[_0x13ce7a(0xc1)]['extend'](S);class f extends d[_0x13ce7a(0xcf)]{[_0x13ce7a(0xc0)](){const _0xae97=_0x13ce7a;return e[_0xae97(0xe5)](this[_0xae97(0xd5)])?this['_injector']['get'](e[_0xae97(0xcc)])[_0xae97(0xc2)](this['_workbook']['getUnitId'](),this[_0xae97(0xe7)][_0xae97(0xcb)](),this[_0xae97(0xbd)]):!0x1;}}d[_0x13ce7a(0xcf)]['extend'](f);class P{get[_0x13ce7a(0xda)](){const _0x5a07d7=_0x13ce7a;return _0x5a07d7(0xda);}get[_0x13ce7a(0xc5)](){const _0x39682d=_0x13ce7a;return _0x39682d(0xc5);}get[_0x13ce7a(0xac)](){const _0x47fd64=_0x13ce7a;return _0x47fd64(0xac);}get[_0x13ce7a(0xe4)](){const _0x17d4ef=_0x13ce7a;return _0x17d4ef(0xe4);}get[_0x13ce7a(0xdb)](){const _0x2be9c8=_0x13ce7a;return _0x2be9c8(0xdb);}get[_0x13ce7a(0xb7)](){const _0x18687e=_0x13ce7a;return _0x18687e(0xb7);}}g[_0x13ce7a(0xa9)][_0x13ce7a(0xb1)](P);class u{get[_0x13ce7a(0xaf)](){const _0x2c2ef4=_0x13ce7a;return e[_0x2c2ef4(0xaf)];}get['PrintAlign'](){const _0x52f9d1=_0x13ce7a;return c[_0x52f9d1(0xae)];}get[_0x13ce7a(0xde)](){const _0x3f6b10=_0x13ce7a;return a[_0x3f6b10(0xc6)];}get['PrintPaperMargin'](){const _0x3fad5e=_0x13ce7a;return c[_0x3fad5e(0xe6)];}get[_0x13ce7a(0xbf)](){const _0x4f5348=_0x13ce7a;return c[_0x4f5348(0xbf)];}get[_0x13ce7a(0xd4)](){const _0x33f1bc=_0x13ce7a;return c[_0x33f1bc(0xd4)];}get[_0x13ce7a(0xba)](){const _0x27ec60=_0x13ce7a;return e[_0x27ec60(0xba)];}get[_0x13ce7a(0xb9)](){return e['PrintHeaderFooter'];}get[_0x13ce7a(0xbe)](){const _0x303795=_0x13ce7a;return e[_0x303795(0xbe)];}}g[_0x13ce7a(0xab)]['extend'](u);class l extends g[_0x13ce7a(0xc4)]{[_0x13ce7a(0xd7)](_0x162023){const _0x12398f=_0x13ce7a,_0x5005ac=_0x162023[_0x12398f(0xb2)](a[_0x12398f(0xb8)]);this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xda)],()=>_0x5005ac[_0x12398f(0xd0)](_0x1ed376=>{const _0x53be3c=_0x12398f;if(_0x1ed376['id']===e[_0x53be3c(0xaa)]['id']){const _0x3f67af=this[_0x53be3c(0xe0)]();if(!_0x3f67af)return;const _0x4029d5={'workbook':_0x3f67af,'worksheet':_0x3f67af['getActiveSheet']()};if(_0x4029d5==null)return;if(this[_0x53be3c(0xe3)](this[_0x53be3c(0xbc)][_0x53be3c(0xda)],_0x4029d5),_0x4029d5[_0x53be3c(0xd3)])throw new a[(_0x53be3c(0xdf))]();}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)]['BeforeSheetPrintConfirm'],()=>_0x5005ac['beforeCommandExecuted'](_0xf4b73a=>{const _0x275cc8=_0x12398f;if(_0xf4b73a['id']===e['ConfirmSheetPrintOperation']['id']){const _0x34976d=_0x162023[_0x275cc8(0xb2)](e[_0x275cc8(0xd8)]);if(!this[_0x275cc8(0xe0)]())return;const _0x42e0ae={'layoutConfig':_0x34976d[_0x275cc8(0xc7)],'renderConfig':_0x34976d[_0x275cc8(0xc3)]};if(_0x42e0ae==null)return;if(this[_0x275cc8(0xe3)](this[_0x275cc8(0xbc)][_0x275cc8(0xc5)],_0x42e0ae),_0x42e0ae['cancel'])throw new a[(_0x275cc8(0xdf))]();}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xac)],()=>_0x5005ac[_0x12398f(0xd0)](_0x23d624=>{const _0x3bc9f0=_0x12398f;if(_0x23d624['id']===e[_0x3bc9f0(0xd1)]['id']){const _0x2757c6=_0x162023[_0x3bc9f0(0xb2)](e[_0x3bc9f0(0xd8)]);if(!this[_0x3bc9f0(0xe0)]())return;const _0x523aae={'layoutConfig':_0x2757c6[_0x3bc9f0(0xc7)],'renderConfig':_0x2757c6[_0x3bc9f0(0xc3)]};if(_0x523aae==null)return;if(this[_0x3bc9f0(0xe3)](this[_0x3bc9f0(0xbc)][_0x3bc9f0(0xac)],_0x523aae),_0x523aae[_0x3bc9f0(0xd3)])throw new a['CanceledError']();}})),this[_0x12398f(0xb0)](this['Event']['SheetPrintOpen'],()=>_0x5005ac[_0x12398f(0xb6)](_0x3f6c26=>{const _0x3a4cd4=_0x12398f;if(_0x3f6c26['id']===e[_0x3a4cd4(0xaa)]['id']){const _0x25ebc7=this[_0x3a4cd4(0xe0)]();if(!_0x25ebc7)return;const _0x701b1c={'workbook':_0x25ebc7,'worksheet':_0x25ebc7[_0x3a4cd4(0xb3)]()};if(_0x701b1c==null)return;this[_0x3a4cd4(0xe3)](this[_0x3a4cd4(0xbc)]['SheetPrintOpen'],_0x701b1c);}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xdb)],()=>_0x5005ac[_0x12398f(0xb6)](_0x42051a=>{const _0x2bcc20=_0x12398f;if(_0x42051a['id']===e['ConfirmSheetPrintOperation']['id']){const _0x358a57=_0x162023[_0x2bcc20(0xb2)](e[_0x2bcc20(0xd8)]);if(!this[_0x2bcc20(0xe0)]())return;const _0x498d7a={'layoutConfig':_0x358a57[_0x2bcc20(0xc7)],'renderConfig':_0x358a57[_0x2bcc20(0xc3)]};if(_0x498d7a==null)return;this['fireEvent'](this[_0x2bcc20(0xbc)][_0x2bcc20(0xdb)],_0x498d7a);}})),this['registerEventHandler'](this['Event']['SheetPrintCanceled'],()=>_0x5005ac[_0x12398f(0xb6)](_0x511046=>{const _0x2f5676=_0x12398f;if(_0x511046['id']===e[_0x2f5676(0xd1)]['id']){const _0x2b9483=_0x162023[_0x2f5676(0xb2)](e[_0x2f5676(0xd8)]);if(!this[_0x2f5676(0xe0)]())return;const _0x53c344={'layoutConfig':_0x2b9483[_0x2f5676(0xc7)],'renderConfig':_0x2b9483[_0x2f5676(0xc3)]};if(_0x53c344==null)return;this['fireEvent'](this[_0x2f5676(0xbc)]['SheetPrintCanceled'],_0x53c344);}}));}}function _0xf0b7(){const _0x449c9e=['BeforeSheetPrintOpen','SheetPrintConfirmed','636tugyRm','2594272diAkou','PrintPaperSize','CanceledError','getActiveUniverSheet','syncExecuteCommand','3650877EqrGCw','fireEvent','SheetPrintOpen','hasPrintFacadePermission','PrintPaperMargin','_worksheet','FEventName','SheetPrintOpenOperation','FEnum','BeforeSheetPrintCanceled','2616GbHBMI','PrintAlign','PrintArea','registerEventHandler','extend','get','getActiveSheet','4607878GmDcJa','saveScreenshotToClipboard','onCommandExecuted','SheetPrintCanceled','ICommandService','PrintHeaderFooter','PrintFreeze','586589JPckDb','Event','_range','PrintHeaderFooterSymbol','PrintScale','getScreenshot','FWorkbook','getRangeImage','renderConfig','FUniver','BeforeSheetPrintConfirm','PaperType','layoutConfig','updateLayoutConfig','756Qqoenb','3741MEAiyc','getSheetId','SheetPrintClientService','1067852qnkYxi','40LXMmiz','FRange','beforeCommandExecuted','CancelSheetPrintOperation','print','cancel','PrintDirection','_injector','5eOBCCY','_initialize','ISheetPrintManagerService','updatePrintRenderConfig'];_0xf0b7=function(){return _0x449c9e;};return _0xf0b7();}g[_0x13ce7a(0xc4)][_0x13ce7a(0xb1)](l);
1
+ 'use strict';function _0xd60e(){const _0xe34280=['PrintAlign','getUnitId','getActiveUniverSheet','getActiveSheet','FRange','_initialize','PrintHeaderFooter','_workbook','FEventName','SheetPrintOpenOperation','CancelSheetPrintOperation','BeforeSheetPrintCanceled','8942XXAeTd','34ZWxLmY','PrintScale','PrintHeaderFooterSymbol','PrintPaperSize','2815PLuJWB','renderConfig','updateRenderConfig','beforeCommandExecuted','ICommandService','SheetPrintCanceled','_range','FWorkbook','PrintPaperMargin','fireEvent','237208bpYUJV','BeforeSheetPrintConfirm','6910zDHpiE','1146TCJFlp','executeCommand','7XetiKx','closePrintDialog','ConfirmSheetPrintOperation','updateLayoutConfig','PrintArea','openPrintDialog','print','ISheetPrintManagerService','FEnum','extend','PrintFreeze','204lnvqbW','CanceledError','Event','hasPrintFacadePermission','_injector','2988yjAFCf','BeforeSheetPrintOpen','8289QUPKtF','1086514DjRxoM','layoutConfig','PrintDirection','registerEventHandler','getRangeImage','cancel','getScreenshot','SheetPrintConfirmed','updatePrintRenderConfig','get','syncExecuteCommand','217646hCnqvp','84yViwVP','FUniver','SheetPrintOpen','onCommandExecuted','saveScreenshotToClipboard'];_0xd60e=function(){return _0xe34280;};return _0xd60e();}const _0x2f2a48=_0xb212;(function(_0x222907,_0x36de40){const _0x19153e=_0xb212,_0x5b30e0=_0x222907();while(!![]){try{const _0x1bd5f5=-parseInt(_0x19153e(0x1d9))/0x1*(-parseInt(_0x19153e(0x1d8))/0x2)+parseInt(_0x19153e(0x1ba))/0x3*(parseInt(_0x19153e(0x1c7))/0x4)+parseInt(_0x19153e(0x1dd))/0x5*(-parseInt(_0x19153e(0x1ea))/0x6)+parseInt(_0x19153e(0x1ec))/0x7*(-parseInt(_0x19153e(0x1e7))/0x8)+-parseInt(_0x19153e(0x1b8))/0x9*(-parseInt(_0x19153e(0x1e9))/0xa)+parseInt(_0x19153e(0x1bb))/0xb+parseInt(_0x19153e(0x1b3))/0xc*(-parseInt(_0x19153e(0x1c6))/0xd);if(_0x1bd5f5===_0x36de40)break;else _0x5b30e0['push'](_0x5b30e0['shift']());}catch(_0x1cac63){_0x5b30e0['push'](_0x5b30e0['shift']());}}}(_0xd60e,0x1c6c9));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');function _0xb212(_0x27f65e,_0x89ce9a){const _0xd60e92=_0xd60e();return _0xb212=function(_0xb21294,_0x31a88b){_0xb21294=_0xb21294-0x1ae;let _0x422b88=_0xd60e92[_0xb21294];return _0x422b88;},_0xb212(_0x27f65e,_0x89ce9a);}class S extends d[_0x2f2a48(0x1e4)]{['updatePrintConfig'](_0x90ab50){const _0x54d9fa=_0x2f2a48;return this[_0x54d9fa(0x1b7)][_0x54d9fa(0x1c4)](e[_0x54d9fa(0x1af)])[_0x54d9fa(0x1ef)](_0x90ab50),this;}[_0x2f2a48(0x1c3)](_0x538a88){const _0x37bab6=_0x2f2a48;return this[_0x37bab6(0x1b7)][_0x37bab6(0x1c4)](e[_0x37bab6(0x1af)])[_0x37bab6(0x1df)](_0x538a88),this;}[_0x2f2a48(0x1ae)](){const _0x5d15bb=_0x2f2a48;return this[_0x5d15bb(0x1b7)][_0x5d15bb(0x1c4)](a[_0x5d15bb(0x1e1)])[_0x5d15bb(0x1c5)](e[_0x5d15bb(0x1ee)]['id']);}[_0x2f2a48(0x1f1)](){const _0x3c375e=_0x2f2a48;return this[_0x3c375e(0x1b7)]['get'](a[_0x3c375e(0x1e1)])[_0x3c375e(0x1c5)](e['SheetPrintOpenOperation']['id']);}[_0x2f2a48(0x1ed)](){const _0x2a634a=_0x2f2a48;return this['_injector'][_0x2a634a(0x1c4)](a[_0x2a634a(0x1e1)])[_0x2a634a(0x1c5)](e[_0x2a634a(0x1d6)]['id']);}async[_0x2f2a48(0x1cb)](){const _0x5353bb=_0x2f2a48;return e[_0x5353bb(0x1b6)](this[_0x5353bb(0x1b7)])?this['_injector'][_0x5353bb(0x1c4)](a[_0x5353bb(0x1e1)])[_0x5353bb(0x1eb)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x2f2a48(0x1e4)][_0x2f2a48(0x1b1)](S);class f extends d[_0x2f2a48(0x1d0)]{[_0x2f2a48(0x1c1)](){const _0x34ab6b=_0x2f2a48;return e['hasPrintFacadePermission'](this['_injector'])?this['_injector'][_0x34ab6b(0x1c4)](e['SheetPrintClientService'])[_0x34ab6b(0x1bf)](this[_0x34ab6b(0x1d3)][_0x34ab6b(0x1cd)](),this['_worksheet']['getSheetId'](),this[_0x34ab6b(0x1e3)]):!0x1;}}d['FRange'][_0x2f2a48(0x1b1)](f);class P{get['BeforeSheetPrintOpen'](){const _0x1cc14d=_0x2f2a48;return _0x1cc14d(0x1b9);}get[_0x2f2a48(0x1e8)](){const _0x223c0c=_0x2f2a48;return _0x223c0c(0x1e8);}get[_0x2f2a48(0x1d7)](){const _0x420443=_0x2f2a48;return _0x420443(0x1d7);}get[_0x2f2a48(0x1c9)](){const _0x531ae0=_0x2f2a48;return _0x531ae0(0x1c9);}get[_0x2f2a48(0x1c2)](){const _0x2313c3=_0x2f2a48;return _0x2313c3(0x1c2);}get[_0x2f2a48(0x1e2)](){return'SheetPrintCanceled';}}g[_0x2f2a48(0x1d4)][_0x2f2a48(0x1b1)](P);class u{get[_0x2f2a48(0x1f0)](){return e['PrintArea'];}get['PrintAlign'](){const _0x52ee1a=_0x2f2a48;return c[_0x52ee1a(0x1cc)];}get[_0x2f2a48(0x1dc)](){return a['PaperType'];}get[_0x2f2a48(0x1e5)](){const _0x274358=_0x2f2a48;return c[_0x274358(0x1e5)];}get[_0x2f2a48(0x1da)](){const _0x6e53a=_0x2f2a48;return c[_0x6e53a(0x1da)];}get[_0x2f2a48(0x1bd)](){const _0x29a51a=_0x2f2a48;return c[_0x29a51a(0x1bd)];}get[_0x2f2a48(0x1b2)](){const _0x4abbb8=_0x2f2a48;return e[_0x4abbb8(0x1b2)];}get['PrintHeaderFooter'](){const _0x3126fa=_0x2f2a48;return e[_0x3126fa(0x1d2)];}get[_0x2f2a48(0x1db)](){const _0x35e987=_0x2f2a48;return e[_0x35e987(0x1db)];}}g[_0x2f2a48(0x1b0)][_0x2f2a48(0x1b1)](u);class l extends g[_0x2f2a48(0x1c8)]{[_0x2f2a48(0x1d1)](_0x48daea){const _0x34424b=_0x2f2a48,_0x573412=_0x48daea[_0x34424b(0x1c4)](a['ICommandService']);this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)]['BeforeSheetPrintOpen'],()=>_0x573412['beforeCommandExecuted'](_0x242d54=>{const _0x27e45c=_0x34424b;if(_0x242d54['id']===e['SheetPrintOpenOperation']['id']){const _0x45a00b=this[_0x27e45c(0x1ce)]();if(!_0x45a00b)return;const _0x9b276e={'workbook':_0x45a00b,'worksheet':_0x45a00b[_0x27e45c(0x1cf)]()};if(_0x9b276e==null)return;if(this[_0x27e45c(0x1e6)](this['Event'][_0x27e45c(0x1b9)],_0x9b276e),_0x9b276e[_0x27e45c(0x1c0)])throw new a[(_0x27e45c(0x1b4))]();}})),this[_0x34424b(0x1be)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x573412[_0x34424b(0x1e0)](_0x25602c=>{const _0x36885a=_0x34424b;if(_0x25602c['id']===e[_0x36885a(0x1ee)]['id']){const _0x55e3a4=_0x48daea[_0x36885a(0x1c4)](e['ISheetPrintManagerService']);if(!this[_0x36885a(0x1ce)]())return;const _0x2b7ede={'layoutConfig':_0x55e3a4[_0x36885a(0x1bc)],'renderConfig':_0x55e3a4[_0x36885a(0x1de)]};if(_0x2b7ede==null)return;if(this[_0x36885a(0x1e6)](this[_0x36885a(0x1b5)]['BeforeSheetPrintConfirm'],_0x2b7ede),_0x2b7ede[_0x36885a(0x1c0)])throw new a[(_0x36885a(0x1b4))]();}})),this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)][_0x34424b(0x1d7)],()=>_0x573412[_0x34424b(0x1e0)](_0x1eceab=>{const _0xfd748c=_0x34424b;if(_0x1eceab['id']===e[_0xfd748c(0x1d6)]['id']){const _0x523238=_0x48daea[_0xfd748c(0x1c4)](e[_0xfd748c(0x1af)]);if(!this[_0xfd748c(0x1ce)]())return;const _0x5f4ab4={'layoutConfig':_0x523238[_0xfd748c(0x1bc)],'renderConfig':_0x523238[_0xfd748c(0x1de)]};if(_0x5f4ab4==null)return;if(this['fireEvent'](this[_0xfd748c(0x1b5)][_0xfd748c(0x1d7)],_0x5f4ab4),_0x5f4ab4['cancel'])throw new a[(_0xfd748c(0x1b4))]();}})),this['registerEventHandler'](this[_0x34424b(0x1b5)][_0x34424b(0x1c9)],()=>_0x573412[_0x34424b(0x1ca)](_0x3fcef1=>{const _0x593f85=_0x34424b;if(_0x3fcef1['id']===e[_0x593f85(0x1d5)]['id']){const _0x3cf1d6=this[_0x593f85(0x1ce)]();if(!_0x3cf1d6)return;const _0x29b40b={'workbook':_0x3cf1d6,'worksheet':_0x3cf1d6[_0x593f85(0x1cf)]()};if(_0x29b40b==null)return;this[_0x593f85(0x1e6)](this[_0x593f85(0x1b5)][_0x593f85(0x1c9)],_0x29b40b);}})),this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)][_0x34424b(0x1c2)],()=>_0x573412[_0x34424b(0x1ca)](_0x576311=>{const _0x32740d=_0x34424b;if(_0x576311['id']===e['ConfirmSheetPrintOperation']['id']){const _0x49ebce=_0x48daea['get'](e[_0x32740d(0x1af)]);if(!this['getActiveUniverSheet']())return;const _0x36bc86={'layoutConfig':_0x49ebce[_0x32740d(0x1bc)],'renderConfig':_0x49ebce[_0x32740d(0x1de)]};if(_0x36bc86==null)return;this[_0x32740d(0x1e6)](this[_0x32740d(0x1b5)][_0x32740d(0x1c2)],_0x36bc86);}})),this['registerEventHandler'](this[_0x34424b(0x1b5)][_0x34424b(0x1e2)],()=>_0x573412[_0x34424b(0x1ca)](_0x10a5eb=>{const _0x4a5f08=_0x34424b;if(_0x10a5eb['id']===e['CancelSheetPrintOperation']['id']){const _0x7518ef=_0x48daea[_0x4a5f08(0x1c4)](e[_0x4a5f08(0x1af)]);if(!this[_0x4a5f08(0x1ce)]())return;const _0x2a72af={'layoutConfig':_0x7518ef[_0x4a5f08(0x1bc)],'renderConfig':_0x7518ef['renderConfig']};if(_0x2a72af==null)return;this[_0x4a5f08(0x1e6)](this[_0x4a5f08(0x1b5)][_0x4a5f08(0x1e2)],_0x2a72af);}}));}}g[_0x2f2a48(0x1c8)]['extend'](l);