@univerjs-pro/sheets-print 0.10.0-nightly.202507310307 → 0.10.1-nightly.202508020912

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/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5e8b0d=_0x5752;(function(_0x2978ed,_0x1a97b6){const _0x840a31=_0x5752,_0x13641e=_0x2978ed();while(!![]){try{const _0x5787f8=-parseInt(_0x840a31(0xc7))/0x1+parseInt(_0x840a31(0xef))/0x2*(parseInt(_0x840a31(0xe7))/0x3)+parseInt(_0x840a31(0xe2))/0x4*(-parseInt(_0x840a31(0xcd))/0x5)+-parseInt(_0x840a31(0xcc))/0x6*(-parseInt(_0x840a31(0xd3))/0x7)+-parseInt(_0x840a31(0xe5))/0x8*(-parseInt(_0x840a31(0xd9))/0x9)+-parseInt(_0x840a31(0xd0))/0xa*(-parseInt(_0x840a31(0xc0))/0xb)+-parseInt(_0x840a31(0xed))/0xc*(-parseInt(_0x840a31(0xea))/0xd);if(_0x5787f8===_0x1a97b6)break;else _0x13641e['push'](_0x13641e['shift']());}catch(_0x4de327){_0x13641e['push'](_0x13641e['shift']());}}}(_0xc6af,0x76318));import{ISheetPrintManagerService as _0x5d0310,ConfirmSheetPrintOperation as _0x15c377,SheetPrintOpenOperation as _0x5140c9,CancelSheetPrintOperation as _0x4a5e61,hasPrintFacadePermission as _0x5867ed,SheetScreenShotOperation as _0x4d35c3,SheetPrintClientService as _0xc32d88,PrintArea as _0x4fbb19,PrintFreeze as _0x50ca0d,PrintHeaderFooter as _0x3a93c6,PrintHeaderFooterSymbol as _0x402725}from'@univerjs-pro/sheets-print';import{ICommandService as _0x178729,PaperType as _0x5aa917,CanceledError as _0x31cca2}from'@univerjs/core';import{FWorkbook as _0x3fbfbb,FRange as _0x127115}from'@univerjs/sheets/facade';import{FEventName as _0x14b39e,FEnum as _0x52f2dd,FUniver as _0x5f258c}from'@univerjs/core/facade';import{PrintAlign as _0x34d354,PrintPaperMargin as _0x3d7f93,PrintScale as _0x2bab95,PrintDirection as _0x55c3a9}from'@univerjs-pro/print';class A extends _0x3fbfbb{[_0x5e8b0d(0xce)](_0x5f26f5){const _0xa00fa5=_0x5e8b0d;return this['_injector'][_0xa00fa5(0xe8)](_0x5d0310)[_0xa00fa5(0xf0)](_0x5f26f5),this;}['updatePrintRenderConfig'](_0x20ea29){const _0x1680d1=_0x5e8b0d;return this[_0x1680d1(0xe3)][_0x1680d1(0xe8)](_0x5d0310)['updateRenderConfig'](_0x20ea29),this;}[_0x5e8b0d(0xd1)](){const _0x51722e=_0x5e8b0d;return this[_0x51722e(0xe3)]['get'](_0x178729)[_0x51722e(0xde)](_0x15c377['id']);}[_0x5e8b0d(0xc1)](){const _0x38bff8=_0x5e8b0d;return this[_0x38bff8(0xe3)][_0x38bff8(0xe8)](_0x178729)['syncExecuteCommand'](_0x5140c9['id']);}[_0x5e8b0d(0xbd)](){const _0xce44fc=_0x5e8b0d;return this[_0xce44fc(0xe3)]['get'](_0x178729)[_0xce44fc(0xde)](_0x4a5e61['id']);}async[_0x5e8b0d(0xeb)](){const _0x290604=_0x5e8b0d;return _0x5867ed(this['_injector'])?this[_0x290604(0xe3)][_0x290604(0xe8)](_0x178729)[_0x290604(0xd6)](_0x4d35c3['id']):!0x1;}}_0x3fbfbb[_0x5e8b0d(0xe9)](A);function _0x5752(_0x29ad08,_0x30b07f){const _0xc6afbd=_0xc6af();return _0x5752=function(_0x5752b4,_0x206208){_0x5752b4=_0x5752b4-0xbc;let _0x3ff8e4=_0xc6afbd[_0x5752b4];return _0x3ff8e4;},_0x5752(_0x29ad08,_0x30b07f);}class B extends _0x127115{[_0x5e8b0d(0xd2)](){const _0x56254a=_0x5e8b0d;return _0x5867ed(this[_0x56254a(0xe3)])?this[_0x56254a(0xe3)][_0x56254a(0xe8)](_0xc32d88)['getRangeImage'](this[_0x56254a(0xee)]['getUnitId'](),this[_0x56254a(0xcb)][_0x56254a(0xca)](),this[_0x56254a(0xc9)]):!0x1;}}_0x127115['extend'](B);class H{get[_0x5e8b0d(0xe0)](){return'BeforeSheetPrintOpen';}get[_0x5e8b0d(0xc2)](){const _0x3b9b92=_0x5e8b0d;return _0x3b9b92(0xc2);}get['BeforeSheetPrintCanceled'](){const _0x2c75ec=_0x5e8b0d;return _0x2c75ec(0xc5);}get[_0x5e8b0d(0xda)](){const _0x23861b=_0x5e8b0d;return _0x23861b(0xda);}get[_0x5e8b0d(0xe6)](){const _0x5b7224=_0x5e8b0d;return _0x5b7224(0xe6);}get[_0x5e8b0d(0xbf)](){const _0x4dab22=_0x5e8b0d;return _0x4dab22(0xbf);}}_0x14b39e['extend'](H);class U{get[_0x5e8b0d(0xdb)](){return _0x4fbb19;}get['PrintAlign'](){return _0x34d354;}get[_0x5e8b0d(0xe4)](){return _0x5aa917;}get[_0x5e8b0d(0xdf)](){return _0x3d7f93;}get[_0x5e8b0d(0xec)](){return _0x2bab95;}get[_0x5e8b0d(0xcf)](){return _0x55c3a9;}get[_0x5e8b0d(0xbe)](){return _0x50ca0d;}get[_0x5e8b0d(0xbc)](){return _0x3a93c6;}get[_0x5e8b0d(0xd5)](){return _0x402725;}}_0x52f2dd[_0x5e8b0d(0xe9)](U);class M extends _0x5f258c{[_0x5e8b0d(0xd4)](_0x238d45){const _0x5ad5c1=_0x5e8b0d,_0x4cdacc=_0x238d45[_0x5ad5c1(0xe8)](_0x178729);this[_0x5ad5c1(0xdd)](this[_0x5ad5c1(0xc4)]['BeforeSheetPrintOpen'],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x1d445e=>{const _0x2001e1=_0x5ad5c1;if(_0x1d445e['id']===_0x5140c9['id']){const _0x2caaed=this[_0x2001e1(0xc6)]();if(!_0x2caaed)return;const _0x8b8099={'workbook':_0x2caaed,'worksheet':_0x2caaed['getActiveSheet']()};if(_0x8b8099==null)return;if(this[_0x2001e1(0xd7)](this[_0x2001e1(0xc4)][_0x2001e1(0xe0)],_0x8b8099),_0x8b8099[_0x2001e1(0xdc)])throw new _0x31cca2();}})),this[_0x5ad5c1(0xdd)](this[_0x5ad5c1(0xc4)][_0x5ad5c1(0xc2)],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x2d5857=>{const _0x5d9e9a=_0x5ad5c1;if(_0x2d5857['id']===_0x15c377['id']){const _0x1cccba=_0x238d45[_0x5d9e9a(0xe8)](_0x5d0310);if(!this[_0x5d9e9a(0xc6)]())return;const _0x39c442={'layoutConfig':_0x1cccba[_0x5d9e9a(0xd8)],'renderConfig':_0x1cccba[_0x5d9e9a(0xe1)]};if(_0x39c442==null)return;if(this['fireEvent'](this[_0x5d9e9a(0xc4)][_0x5d9e9a(0xc2)],_0x39c442),_0x39c442[_0x5d9e9a(0xdc)])throw new _0x31cca2();}})),this[_0x5ad5c1(0xdd)](this['Event'][_0x5ad5c1(0xc5)],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x27adf5=>{const _0x5b382f=_0x5ad5c1;if(_0x27adf5['id']===_0x4a5e61['id']){const _0x14c84b=_0x238d45['get'](_0x5d0310);if(!this[_0x5b382f(0xc6)]())return;const _0x5ea5f9={'layoutConfig':_0x14c84b['layoutConfig'],'renderConfig':_0x14c84b[_0x5b382f(0xe1)]};if(_0x5ea5f9==null)return;if(this[_0x5b382f(0xd7)](this[_0x5b382f(0xc4)][_0x5b382f(0xc5)],_0x5ea5f9),_0x5ea5f9[_0x5b382f(0xdc)])throw new _0x31cca2();}})),this['registerEventHandler'](this['Event'][_0x5ad5c1(0xda)],()=>_0x4cdacc[_0x5ad5c1(0xc8)](_0x589572=>{const _0x3cdb71=_0x5ad5c1;if(_0x589572['id']===_0x5140c9['id']){const _0x514839=this[_0x3cdb71(0xc6)]();if(!_0x514839)return;const _0x14fd44={'workbook':_0x514839,'worksheet':_0x514839['getActiveSheet']()};if(_0x14fd44==null)return;this['fireEvent'](this[_0x3cdb71(0xc4)][_0x3cdb71(0xda)],_0x14fd44);}})),this['registerEventHandler'](this[_0x5ad5c1(0xc4)]['SheetPrintConfirmed'],()=>_0x4cdacc['onCommandExecuted'](_0x31fa0f=>{const _0x3fa878=_0x5ad5c1;if(_0x31fa0f['id']===_0x15c377['id']){const _0x3ae2f3=_0x238d45[_0x3fa878(0xe8)](_0x5d0310);if(!this[_0x3fa878(0xc6)]())return;const _0x154dbc={'layoutConfig':_0x3ae2f3[_0x3fa878(0xd8)],'renderConfig':_0x3ae2f3[_0x3fa878(0xe1)]};if(_0x154dbc==null)return;this[_0x3fa878(0xd7)](this[_0x3fa878(0xc4)][_0x3fa878(0xe6)],_0x154dbc);}})),this[_0x5ad5c1(0xdd)](this['Event'][_0x5ad5c1(0xbf)],()=>_0x4cdacc['onCommandExecuted'](_0x1d7c85=>{const _0x2f738a=_0x5ad5c1;if(_0x1d7c85['id']===_0x4a5e61['id']){const _0x560f2d=_0x238d45['get'](_0x5d0310);if(!this[_0x2f738a(0xc6)]())return;const _0x18ddf8={'layoutConfig':_0x560f2d['layoutConfig'],'renderConfig':_0x560f2d[_0x2f738a(0xe1)]};if(_0x18ddf8==null)return;this[_0x2f738a(0xd7)](this[_0x2f738a(0xc4)][_0x2f738a(0xbf)],_0x18ddf8);}}));}}_0x5f258c['extend'](M);function _0xc6af(){const _0x5ee19f=['updateLayoutConfig','PrintHeaderFooter','closePrintDialog','PrintFreeze','SheetPrintCanceled','11MCMzpE','openPrintDialog','BeforeSheetPrintConfirm','beforeCommandExecuted','Event','BeforeSheetPrintCanceled','getActiveUniverSheet','960666BlodEc','onCommandExecuted','_range','getSheetId','_worksheet','12ejWeOa','210835UdHccs','updatePrintConfig','PrintDirection','614260IcbKtG','print','getScreenshot','396515vQUsuh','_initialize','PrintHeaderFooterSymbol','executeCommand','fireEvent','layoutConfig','12798KggoIm','SheetPrintOpen','PrintArea','cancel','registerEventHandler','syncExecuteCommand','PrintPaperMargin','BeforeSheetPrintOpen','renderConfig','52JjjPIt','_injector','PrintPaperSize','712JkOKKr','SheetPrintConfirmed','304230cWbbiv','get','extend','14081899YQLOTP','saveScreenshotToClipboard','PrintScale','12tgknPk','_workbook','12MmVdPi'];_0xc6af=function(){return _0x5ee19f;};return _0xc6af();}
1
+ const _0xc31a06=_0x231a;(function(_0x117c2e,_0x317c3f){const _0x4420b4=_0x231a,_0x103633=_0x117c2e();while(!![]){try{const _0x8f34b3=-parseInt(_0x4420b4(0x9a))/0x1*(-parseInt(_0x4420b4(0x7a))/0x2)+parseInt(_0x4420b4(0xa7))/0x3*(-parseInt(_0x4420b4(0x85))/0x4)+parseInt(_0x4420b4(0x9b))/0x5+-parseInt(_0x4420b4(0x92))/0x6+-parseInt(_0x4420b4(0x7f))/0x7+-parseInt(_0x4420b4(0x83))/0x8*(-parseInt(_0x4420b4(0x82))/0x9)+parseInt(_0x4420b4(0x99))/0xa;if(_0x8f34b3===_0x317c3f)break;else _0x103633['push'](_0x103633['shift']());}catch(_0x31bae0){_0x103633['push'](_0x103633['shift']());}}}(_0xcf45,0x2c62d));function _0xcf45(){const _0x209cfa=['fireEvent','cancel','_workbook','469722RxcPRh','renderConfig','extend','closePrintDialog','BeforeSheetPrintConfirm','BeforeSheetPrintCanceled','syncExecuteCommand','2367970Rkntmc','139DwnLfX','1361550GUuDGx','Event','getScreenshot','_injector','_range','BeforeSheetPrintOpen','PrintArea','getActiveSheet','PrintFreeze','PrintPaperSize','get','onCommandExecuted','7023ekBsYM','PrintDirection','794XcAAky','layoutConfig','SheetPrintCanceled','SheetPrintOpen','registerEventHandler','711403GLzUrL','PrintPaperMargin','executeCommand','117vZfcge','10760KVThnK','getRangeImage','376CCndIP','SheetPrintConfirmed','PrintHeaderFooterSymbol','getUnitId','beforeCommandExecuted','_worksheet','getActiveUniverSheet','PrintHeaderFooter','openPrintDialog','updatePrintRenderConfig'];_0xcf45=function(){return _0x209cfa;};return _0xcf45();}function _0x231a(_0x3d77a4,_0x59e2f6){const _0xcf4584=_0xcf45();return _0x231a=function(_0x231a6f,_0x532efe){_0x231a6f=_0x231a6f-0x7a;let _0x1f3376=_0xcf4584[_0x231a6f];return _0x1f3376;},_0x231a(_0x3d77a4,_0x59e2f6);}import{ISheetPrintManagerService as _0x5288ea,ConfirmSheetPrintOperation as _0x1a413e,SheetPrintOpenOperation as _0x1aed89,CancelSheetPrintOperation as _0x44bd1b,hasPrintFacadePermission as _0x545382,SheetScreenShotOperation as _0x3f0027,SheetPrintClientService as _0x110079,PrintArea as _0x1be560,PrintFreeze as _0x587db5,PrintHeaderFooter as _0x215b56,PrintHeaderFooterSymbol as _0x2c1e6c}from'@univerjs-pro/sheets-print';import{ICommandService as _0x31e626,PaperType as _0x461721,CanceledError as _0x32bd80}from'@univerjs/core';import{FWorkbook as _0x292d56,FRange as _0x8d3ad6}from'@univerjs/sheets/facade';import{FEventName as _0x2a31d5,FEnum as _0x2504ad,FUniver as _0x31d2b3}from'@univerjs/core/facade';import{PrintAlign as _0x1b0891,PrintPaperMargin as _0x372b61,PrintScale as _0x19e1d6,PrintDirection as _0x824aef}from'@univerjs-pro/print';class A extends _0x292d56{['updatePrintConfig'](_0x22f7b3){const _0x5c523e=_0x231a;return this[_0x5c523e(0x9e)][_0x5c523e(0xa5)](_0x5288ea)['updateLayoutConfig'](_0x22f7b3),this;}[_0xc31a06(0x8e)](_0x2d45c0){const _0x32f433=_0xc31a06;return this[_0x32f433(0x9e)][_0x32f433(0xa5)](_0x5288ea)['updateRenderConfig'](_0x2d45c0),this;}['print'](){const _0x34371e=_0xc31a06;return this[_0x34371e(0x9e)][_0x34371e(0xa5)](_0x31e626)['syncExecuteCommand'](_0x1a413e['id']);}[_0xc31a06(0x8d)](){const _0x52b867=_0xc31a06;return this[_0x52b867(0x9e)]['get'](_0x31e626)[_0x52b867(0x98)](_0x1aed89['id']);}[_0xc31a06(0x95)](){const _0x24bf28=_0xc31a06;return this[_0x24bf28(0x9e)][_0x24bf28(0xa5)](_0x31e626)[_0x24bf28(0x98)](_0x44bd1b['id']);}async['saveScreenshotToClipboard'](){const _0x24743b=_0xc31a06;return _0x545382(this[_0x24743b(0x9e)])?this[_0x24743b(0x9e)][_0x24743b(0xa5)](_0x31e626)[_0x24743b(0x81)](_0x3f0027['id']):!0x1;}}_0x292d56[_0xc31a06(0x94)](A);class B extends _0x8d3ad6{[_0xc31a06(0x9d)](){const _0x3b4f12=_0xc31a06;return _0x545382(this[_0x3b4f12(0x9e)])?this[_0x3b4f12(0x9e)]['get'](_0x110079)[_0x3b4f12(0x84)](this[_0x3b4f12(0x91)][_0x3b4f12(0x88)](),this[_0x3b4f12(0x8a)]['getSheetId'](),this[_0x3b4f12(0x9f)]):!0x1;}}_0x8d3ad6[_0xc31a06(0x94)](B);class H{get[_0xc31a06(0xa0)](){const _0x459e19=_0xc31a06;return _0x459e19(0xa0);}get[_0xc31a06(0x96)](){const _0x5b8d91=_0xc31a06;return _0x5b8d91(0x96);}get[_0xc31a06(0x97)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0xc31a06(0x86)](){const _0x46ef2c=_0xc31a06;return _0x46ef2c(0x86);}get[_0xc31a06(0x7c)](){const _0x587565=_0xc31a06;return _0x587565(0x7c);}}_0x2a31d5[_0xc31a06(0x94)](H);class U{get[_0xc31a06(0xa1)](){return _0x1be560;}get['PrintAlign'](){return _0x1b0891;}get[_0xc31a06(0xa4)](){return _0x461721;}get[_0xc31a06(0x80)](){return _0x372b61;}get['PrintScale'](){return _0x19e1d6;}get[_0xc31a06(0xa8)](){return _0x824aef;}get[_0xc31a06(0xa3)](){return _0x587db5;}get[_0xc31a06(0x8c)](){return _0x215b56;}get[_0xc31a06(0x87)](){return _0x2c1e6c;}}_0x2504ad['extend'](U);class M extends _0x31d2b3{['_initialize'](_0x2d6836){const _0x11f1bb=_0xc31a06,_0x2d88d9=_0x2d6836[_0x11f1bb(0xa5)](_0x31e626);this[_0x11f1bb(0x7e)](this[_0x11f1bb(0x9c)][_0x11f1bb(0xa0)],()=>_0x2d88d9[_0x11f1bb(0x89)](_0x17a396=>{const _0x24b563=_0x11f1bb;if(_0x17a396['id']===_0x1aed89['id']){const _0x50bc98=this[_0x24b563(0x8b)]();if(!_0x50bc98)return;const _0x315858={'workbook':_0x50bc98,'worksheet':_0x50bc98[_0x24b563(0xa2)]()};if(_0x315858==null)return;if(this['fireEvent'](this[_0x24b563(0x9c)]['BeforeSheetPrintOpen'],_0x315858),_0x315858['cancel'])throw new _0x32bd80();}})),this[_0x11f1bb(0x7e)](this[_0x11f1bb(0x9c)]['BeforeSheetPrintConfirm'],()=>_0x2d88d9[_0x11f1bb(0x89)](_0x25de02=>{const _0x381a63=_0x11f1bb;if(_0x25de02['id']===_0x1a413e['id']){const _0x4e2dab=_0x2d6836[_0x381a63(0xa5)](_0x5288ea);if(!this[_0x381a63(0x8b)]())return;const _0x679d8c={'layoutConfig':_0x4e2dab[_0x381a63(0x7b)],'renderConfig':_0x4e2dab[_0x381a63(0x93)]};if(_0x679d8c==null)return;if(this['fireEvent'](this[_0x381a63(0x9c)]['BeforeSheetPrintConfirm'],_0x679d8c),_0x679d8c[_0x381a63(0x90)])throw new _0x32bd80();}})),this[_0x11f1bb(0x7e)](this[_0x11f1bb(0x9c)][_0x11f1bb(0x97)],()=>_0x2d88d9['beforeCommandExecuted'](_0x4f5e4f=>{const _0x2bf1f7=_0x11f1bb;if(_0x4f5e4f['id']===_0x44bd1b['id']){const _0x546ec1=_0x2d6836['get'](_0x5288ea);if(!this['getActiveUniverSheet']())return;const _0x596664={'layoutConfig':_0x546ec1[_0x2bf1f7(0x7b)],'renderConfig':_0x546ec1[_0x2bf1f7(0x93)]};if(_0x596664==null)return;if(this[_0x2bf1f7(0x8f)](this[_0x2bf1f7(0x9c)]['BeforeSheetPrintCanceled'],_0x596664),_0x596664[_0x2bf1f7(0x90)])throw new _0x32bd80();}})),this['registerEventHandler'](this['Event'][_0x11f1bb(0x7d)],()=>_0x2d88d9[_0x11f1bb(0xa6)](_0x2b2354=>{const _0x702618=_0x11f1bb;if(_0x2b2354['id']===_0x1aed89['id']){const _0x254497=this['getActiveUniverSheet']();if(!_0x254497)return;const _0x1b4ac1={'workbook':_0x254497,'worksheet':_0x254497[_0x702618(0xa2)]()};if(_0x1b4ac1==null)return;this['fireEvent'](this[_0x702618(0x9c)][_0x702618(0x7d)],_0x1b4ac1);}})),this[_0x11f1bb(0x7e)](this['Event'][_0x11f1bb(0x86)],()=>_0x2d88d9['onCommandExecuted'](_0x252cb8=>{const _0x4d0278=_0x11f1bb;if(_0x252cb8['id']===_0x1a413e['id']){const _0x2aaae5=_0x2d6836[_0x4d0278(0xa5)](_0x5288ea);if(!this[_0x4d0278(0x8b)]())return;const _0x1fc45f={'layoutConfig':_0x2aaae5[_0x4d0278(0x7b)],'renderConfig':_0x2aaae5[_0x4d0278(0x93)]};if(_0x1fc45f==null)return;this['fireEvent'](this[_0x4d0278(0x9c)]['SheetPrintConfirmed'],_0x1fc45f);}})),this[_0x11f1bb(0x7e)](this[_0x11f1bb(0x9c)]['SheetPrintCanceled'],()=>_0x2d88d9['onCommandExecuted'](_0x137dac=>{const _0x550e72=_0x11f1bb;if(_0x137dac['id']===_0x44bd1b['id']){const _0x155825=_0x2d6836[_0x550e72(0xa5)](_0x5288ea);if(!this[_0x550e72(0x8b)]())return;const _0x3a7cf9={'layoutConfig':_0x155825[_0x550e72(0x7b)],'renderConfig':_0x155825[_0x550e72(0x93)]};if(_0x3a7cf9==null)return;this[_0x550e72(0x8f)](this['Event']['SheetPrintCanceled'],_0x3a7cf9);}}));}}_0x31d2b3['extend'](M);