@univerjs-pro/sheets-print 0.10.7-nightly.202509130703 → 0.10.8

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 +40 -40
  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 _0x1f1600=_0x1c80;function _0xc6a6(){const _0x11c0e5=['PrintPaperMargin','closePrintDialog','get','12iKtBFw','SheetPrintCanceled','getRangeImage','updatePrintConfig','fireEvent','extend','BeforeSheetPrintOpen','PrintDirection','102831jFxtuV','syncExecuteCommand','PrintAlign','getSheetId','301023lozCDE','_range','SheetPrintConfirmed','beforeCommandExecuted','getActiveSheet','layoutConfig','CanceledError','SheetScreenShotOperation','renderConfig','PrintScale','CancelSheetPrintOperation','getActiveUniverSheet','6255786kuzxMr','BeforeSheetPrintConfirm','updatePrintRenderConfig','saveScreenshotToClipboard','476YrmnTH','PrintFreeze','_injector','SheetPrintOpen','ICommandService','558033xJJeCH','openPrintDialog','getUnitId','updateRenderConfig','ISheetPrintManagerService','FEnum','FWorkbook','Event','2636770uinynA','72NJzrXV','2840670uJzMNL','SheetPrintOpenOperation','_workbook','SheetPrintClientService','hasPrintFacadePermission','3863VIKimZ','PrintHeaderFooter','BeforeSheetPrintCanceled','registerEventHandler','PrintPaperSize','FRange','cancel','ConfirmSheetPrintOperation','onCommandExecuted','_initialize','PrintArea'];_0xc6a6=function(){return _0x11c0e5;};return _0xc6a6();}(function(_0x52360a,_0x5d51c1){const _0x3283a0=_0x1c80,_0x5bd833=_0x52360a();while(!![]){try{const _0x46b5cb=-parseInt(_0x3283a0(0xd4))/0x1*(parseInt(_0x3283a0(0xc0))/0x2)+parseInt(_0x3283a0(0xea))/0x3*(-parseInt(_0x3283a0(0xe2))/0x4)+-parseInt(_0x3283a0(0xcd))/0x5+parseInt(_0x3283a0(0xbc))/0x6+-parseInt(_0x3283a0(0xc5))/0x7*(-parseInt(_0x3283a0(0xce))/0x8)+parseInt(_0x3283a0(0xee))/0x9+parseInt(_0x3283a0(0xcf))/0xa;if(_0x46b5cb===_0x5d51c1)break;else _0x5bd833['push'](_0x5bd833['shift']());}catch(_0x2da583){_0x5bd833['push'](_0x5bd833['shift']());}}}(_0xc6a6,0x80ea5));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 _0x1c80(_0x53ffc1,_0x510145){const _0x1c802f=_0xc6a6();return _0x1c80=function(_0x2769c6,_0x261c3c){_0x2769c6=_0x2769c6-0xb1;let _0x54b33a=_0x1c802f[_0x2769c6];return _0x54b33a;},_0x1c80(_0x53ffc1,_0x510145);}class S extends d[_0x1f1600(0xcb)]{[_0x1f1600(0xe5)](_0xe8a2b5){const _0x4f3f5d=_0x1f1600;return this[_0x4f3f5d(0xc2)][_0x4f3f5d(0xe1)](e[_0x4f3f5d(0xc9)])['updateLayoutConfig'](_0xe8a2b5),this;}[_0x1f1600(0xbe)](_0x108ec0){const _0x43a526=_0x1f1600;return this['_injector'][_0x43a526(0xe1)](e[_0x43a526(0xc9)])[_0x43a526(0xc8)](_0x108ec0),this;}['print'](){const _0x4b38ec=_0x1f1600;return this[_0x4b38ec(0xc2)][_0x4b38ec(0xe1)](a[_0x4b38ec(0xc4)])[_0x4b38ec(0xeb)](e['ConfirmSheetPrintOperation']['id']);}[_0x1f1600(0xc6)](){const _0x45a7c5=_0x1f1600;return this[_0x45a7c5(0xc2)][_0x45a7c5(0xe1)](a[_0x45a7c5(0xc4)])[_0x45a7c5(0xeb)](e[_0x45a7c5(0xd0)]['id']);}[_0x1f1600(0xe0)](){const _0x3e6347=_0x1f1600;return this[_0x3e6347(0xc2)]['get'](a['ICommandService'])[_0x3e6347(0xeb)](e[_0x3e6347(0xba)]['id']);}async[_0x1f1600(0xbf)](){const _0x5a29bb=_0x1f1600;return e[_0x5a29bb(0xd3)](this['_injector'])?this[_0x5a29bb(0xc2)]['get'](a[_0x5a29bb(0xc4)])['executeCommand'](e[_0x5a29bb(0xb7)]['id']):!0x1;}}d[_0x1f1600(0xcb)][_0x1f1600(0xe7)](S);class f extends d[_0x1f1600(0xd9)]{['getScreenshot'](){const _0x2378e0=_0x1f1600;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x2378e0(0xc2)][_0x2378e0(0xe1)](e[_0x2378e0(0xd2)])[_0x2378e0(0xe4)](this[_0x2378e0(0xd1)][_0x2378e0(0xc7)](),this['_worksheet'][_0x2378e0(0xed)](),this[_0x2378e0(0xb1)]):!0x1;}}d[_0x1f1600(0xd9)][_0x1f1600(0xe7)](f);class P{get[_0x1f1600(0xe8)](){return'BeforeSheetPrintOpen';}get[_0x1f1600(0xbd)](){const _0x36b07a=_0x1f1600;return _0x36b07a(0xbd);}get[_0x1f1600(0xd6)](){return'BeforeSheetPrintCanceled';}get[_0x1f1600(0xc3)](){const _0x237096=_0x1f1600;return _0x237096(0xc3);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x1f1600(0xe3)](){const _0x2ad3bf=_0x1f1600;return _0x2ad3bf(0xe3);}}g['FEventName'][_0x1f1600(0xe7)](P);class u{get[_0x1f1600(0xde)](){const _0x34ccae=_0x1f1600;return e[_0x34ccae(0xde)];}get[_0x1f1600(0xec)](){const _0x225448=_0x1f1600;return c[_0x225448(0xec)];}get[_0x1f1600(0xd8)](){return a['PaperType'];}get[_0x1f1600(0xdf)](){const _0x4fd9ca=_0x1f1600;return c[_0x4fd9ca(0xdf)];}get[_0x1f1600(0xb9)](){return c['PrintScale'];}get[_0x1f1600(0xe9)](){const _0x4a680d=_0x1f1600;return c[_0x4a680d(0xe9)];}get['PrintFreeze'](){const _0x19dcbc=_0x1f1600;return e[_0x19dcbc(0xc1)];}get[_0x1f1600(0xd5)](){const _0x2ff4de=_0x1f1600;return e[_0x2ff4de(0xd5)];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}g[_0x1f1600(0xca)][_0x1f1600(0xe7)](u);class l extends g['FUniver']{[_0x1f1600(0xdd)](_0x559f90){const _0x26a61e=_0x1f1600,_0x247d72=_0x559f90[_0x26a61e(0xe1)](a[_0x26a61e(0xc4)]);this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)]['BeforeSheetPrintOpen'],()=>_0x247d72[_0x26a61e(0xb3)](_0x35e84d=>{const _0x3395d6=_0x26a61e;if(_0x35e84d['id']===e[_0x3395d6(0xd0)]['id']){const _0x906fb1=this['getActiveUniverSheet']();if(!_0x906fb1)return;const _0x3c5245={'workbook':_0x906fb1,'worksheet':_0x906fb1[_0x3395d6(0xb4)]()};if(_0x3c5245==null)return;if(this[_0x3395d6(0xe6)](this[_0x3395d6(0xcc)][_0x3395d6(0xe8)],_0x3c5245),_0x3c5245['cancel'])throw new a[(_0x3395d6(0xb6))]();}})),this['registerEventHandler'](this[_0x26a61e(0xcc)][_0x26a61e(0xbd)],()=>_0x247d72['beforeCommandExecuted'](_0xedb5c1=>{const _0x2c1f18=_0x26a61e;if(_0xedb5c1['id']===e[_0x2c1f18(0xdb)]['id']){const _0xe8bde0=_0x559f90[_0x2c1f18(0xe1)](e[_0x2c1f18(0xc9)]);if(!this[_0x2c1f18(0xbb)]())return;const _0x13695d={'layoutConfig':_0xe8bde0['layoutConfig'],'renderConfig':_0xe8bde0['renderConfig']};if(_0x13695d==null)return;if(this[_0x2c1f18(0xe6)](this[_0x2c1f18(0xcc)][_0x2c1f18(0xbd)],_0x13695d),_0x13695d[_0x2c1f18(0xda)])throw new a[(_0x2c1f18(0xb6))]();}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xd6)],()=>_0x247d72['beforeCommandExecuted'](_0x3d3a4a=>{const _0x46dbb2=_0x26a61e;if(_0x3d3a4a['id']===e['CancelSheetPrintOperation']['id']){const _0x4594ae=_0x559f90[_0x46dbb2(0xe1)](e['ISheetPrintManagerService']);if(!this[_0x46dbb2(0xbb)]())return;const _0x1e6736={'layoutConfig':_0x4594ae[_0x46dbb2(0xb5)],'renderConfig':_0x4594ae[_0x46dbb2(0xb8)]};if(_0x1e6736==null)return;if(this[_0x46dbb2(0xe6)](this[_0x46dbb2(0xcc)]['BeforeSheetPrintCanceled'],_0x1e6736),_0x1e6736[_0x46dbb2(0xda)])throw new a[(_0x46dbb2(0xb6))]();}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xc3)],()=>_0x247d72['onCommandExecuted'](_0x2e0cd3=>{const _0x24d6bb=_0x26a61e;if(_0x2e0cd3['id']===e[_0x24d6bb(0xd0)]['id']){const _0x25f255=this[_0x24d6bb(0xbb)]();if(!_0x25f255)return;const _0x919697={'workbook':_0x25f255,'worksheet':_0x25f255[_0x24d6bb(0xb4)]()};if(_0x919697==null)return;this['fireEvent'](this['Event'][_0x24d6bb(0xc3)],_0x919697);}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xb2)],()=>_0x247d72[_0x26a61e(0xdc)](_0x59596a=>{const _0x53a892=_0x26a61e;if(_0x59596a['id']===e[_0x53a892(0xdb)]['id']){const _0x24c9e5=_0x559f90[_0x53a892(0xe1)](e[_0x53a892(0xc9)]);if(!this[_0x53a892(0xbb)]())return;const _0x544378={'layoutConfig':_0x24c9e5[_0x53a892(0xb5)],'renderConfig':_0x24c9e5[_0x53a892(0xb8)]};if(_0x544378==null)return;this[_0x53a892(0xe6)](this['Event'][_0x53a892(0xb2)],_0x544378);}})),this[_0x26a61e(0xd7)](this[_0x26a61e(0xcc)][_0x26a61e(0xe3)],()=>_0x247d72['onCommandExecuted'](_0x8327d=>{const _0x5c8236=_0x26a61e;if(_0x8327d['id']===e['CancelSheetPrintOperation']['id']){const _0x338484=_0x559f90[_0x5c8236(0xe1)](e[_0x5c8236(0xc9)]);if(!this[_0x5c8236(0xbb)]())return;const _0x1b7005={'layoutConfig':_0x338484[_0x5c8236(0xb5)],'renderConfig':_0x338484[_0x5c8236(0xb8)]};if(_0x1b7005==null)return;this[_0x5c8236(0xe6)](this[_0x5c8236(0xcc)][_0x5c8236(0xe3)],_0x1b7005);}}));}}g['FUniver'][_0x1f1600(0xe7)](l);
1
+ 'use strict';const _0x4d62ce=_0x5c55;(function(_0x592129,_0x5aa072){const _0x523e76=_0x5c55,_0xae2cdc=_0x592129();while(!![]){try{const _0x3a4a6f=-parseInt(_0x523e76(0x1c2))/0x1*(parseInt(_0x523e76(0x1a5))/0x2)+parseInt(_0x523e76(0x1d9))/0x3+-parseInt(_0x523e76(0x1d5))/0x4*(parseInt(_0x523e76(0x1bb))/0x5)+-parseInt(_0x523e76(0x1a8))/0x6+-parseInt(_0x523e76(0x1cb))/0x7*(parseInt(_0x523e76(0x1c5))/0x8)+-parseInt(_0x523e76(0x1e2))/0x9*(parseInt(_0x523e76(0x1d8))/0xa)+parseInt(_0x523e76(0x1a7))/0xb;if(_0x3a4a6f===_0x5aa072)break;else _0xae2cdc['push'](_0xae2cdc['shift']());}catch(_0x264269){_0xae2cdc['push'](_0xae2cdc['shift']());}}}(_0x301a,0x60347));function _0x301a(){const _0x307535=['ISheetPrintManagerService','ICommandService','BeforeSheetPrintOpen','FRange','getActiveUniverSheet','PrintDirection','FEventName','ConfirmSheetPrintOperation','openPrintDialog','get','BeforeSheetPrintConfirm','beforeCommandExecuted','PaperType','executeCommand','PrintPaperSize','3335875DOYHFi','SheetPrintConfirmed','PrintScale','updateRenderConfig','extend','SheetPrintOpen','FWorkbook','1052IyKhen','PrintArea','closePrintDialog','786712eQnVOp','Event','cancel','getUnitId','SheetPrintOpenOperation','registerEventHandler','21xIaRRT','_injector','CancelSheetPrintOperation','updateLayoutConfig','updatePrintConfig','PrintHeaderFooter','BeforeSheetPrintCanceled','syncExecuteCommand','SheetPrintClientService','_worksheet','4qbejEr','hasPrintFacadePermission','fireEvent','10xIxKRZ','492285DcmmpN','PrintHeaderFooterSymbol','PrintAlign','SheetScreenShotOperation','saveScreenshotToClipboard','_range','_workbook','FUniver','getActiveSheet','58896luhajg','print','getScreenshot','PrintFreeze','CanceledError','SheetPrintCanceled','layoutConfig','138AvKmOq','renderConfig','22552211bfJGyz','4673502DRxmIJ','PrintPaperMargin','onCommandExecuted','_initialize'];_0x301a=function(){return _0x307535;};return _0x301a();}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[_0x4d62ce(0x1c1)]{[_0x4d62ce(0x1cf)](_0x3971c6){const _0x14ca67=_0x4d62ce;return this['_injector']['get'](e['ISheetPrintManagerService'])[_0x14ca67(0x1ce)](_0x3971c6),this;}['updatePrintRenderConfig'](_0x283627){const _0x53334e=_0x4d62ce;return this[_0x53334e(0x1cc)][_0x53334e(0x1b5)](e[_0x53334e(0x1ac)])[_0x53334e(0x1be)](_0x283627),this;}[_0x4d62ce(0x1e3)](){const _0x49a978=_0x4d62ce;return this[_0x49a978(0x1cc)][_0x49a978(0x1b5)](a['ICommandService'])[_0x49a978(0x1d2)](e[_0x49a978(0x1b3)]['id']);}[_0x4d62ce(0x1b4)](){const _0x24498c=_0x4d62ce;return this[_0x24498c(0x1cc)]['get'](a['ICommandService'])[_0x24498c(0x1d2)](e[_0x24498c(0x1c9)]['id']);}[_0x4d62ce(0x1c4)](){const _0x1fce35=_0x4d62ce;return this['_injector']['get'](a[_0x1fce35(0x1ad)])[_0x1fce35(0x1d2)](e[_0x1fce35(0x1cd)]['id']);}async[_0x4d62ce(0x1dd)](){const _0x297f6a=_0x4d62ce;return e[_0x297f6a(0x1d6)](this[_0x297f6a(0x1cc)])?this[_0x297f6a(0x1cc)][_0x297f6a(0x1b5)](a[_0x297f6a(0x1ad)])[_0x297f6a(0x1b9)](e[_0x297f6a(0x1dc)]['id']):!0x1;}}d[_0x4d62ce(0x1c1)][_0x4d62ce(0x1bf)](S);class f extends d[_0x4d62ce(0x1af)]{[_0x4d62ce(0x1e4)](){const _0x12e09a=_0x4d62ce;return e['hasPrintFacadePermission'](this[_0x12e09a(0x1cc)])?this['_injector'][_0x12e09a(0x1b5)](e[_0x12e09a(0x1d3)])['getRangeImage'](this[_0x12e09a(0x1df)][_0x12e09a(0x1c8)](),this[_0x12e09a(0x1d4)]['getSheetId'](),this[_0x12e09a(0x1de)]):!0x1;}}d[_0x4d62ce(0x1af)]['extend'](f);function _0x5c55(_0x75e13e,_0x398908){const _0x301a8f=_0x301a();return _0x5c55=function(_0x5c5514,_0x48e3b3){_0x5c5514=_0x5c5514-0x1a5;let _0x2dad64=_0x301a8f[_0x5c5514];return _0x2dad64;},_0x5c55(_0x75e13e,_0x398908);}class P{get[_0x4d62ce(0x1ae)](){return'BeforeSheetPrintOpen';}get[_0x4d62ce(0x1b6)](){const _0x14e74c=_0x4d62ce;return _0x14e74c(0x1b6);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x3786f0=_0x4d62ce;return _0x3786f0(0x1c0);}get[_0x4d62ce(0x1bc)](){const _0xdf95d6=_0x4d62ce;return _0xdf95d6(0x1bc);}get[_0x4d62ce(0x1e7)](){const _0xedf6ac=_0x4d62ce;return _0xedf6ac(0x1e7);}}g[_0x4d62ce(0x1b2)][_0x4d62ce(0x1bf)](P);class u{get[_0x4d62ce(0x1c3)](){const _0x13f103=_0x4d62ce;return e[_0x13f103(0x1c3)];}get['PrintAlign'](){const _0x2dda14=_0x4d62ce;return c[_0x2dda14(0x1db)];}get[_0x4d62ce(0x1ba)](){const _0x263073=_0x4d62ce;return a[_0x263073(0x1b8)];}get[_0x4d62ce(0x1a9)](){const _0x203bcd=_0x4d62ce;return c[_0x203bcd(0x1a9)];}get[_0x4d62ce(0x1bd)](){return c['PrintScale'];}get[_0x4d62ce(0x1b1)](){return c['PrintDirection'];}get[_0x4d62ce(0x1e5)](){const _0x30d377=_0x4d62ce;return e[_0x30d377(0x1e5)];}get[_0x4d62ce(0x1d0)](){const _0x2de520=_0x4d62ce;return e[_0x2de520(0x1d0)];}get['PrintHeaderFooterSymbol'](){const _0x3e731b=_0x4d62ce;return e[_0x3e731b(0x1da)];}}g['FEnum'][_0x4d62ce(0x1bf)](u);class l extends g[_0x4d62ce(0x1e0)]{[_0x4d62ce(0x1ab)](_0x23cfef){const _0x31ba33=_0x4d62ce,_0x273deb=_0x23cfef[_0x31ba33(0x1b5)](a[_0x31ba33(0x1ad)]);this['registerEventHandler'](this[_0x31ba33(0x1c6)][_0x31ba33(0x1ae)],()=>_0x273deb[_0x31ba33(0x1b7)](_0x1db91c=>{const _0x22ffa9=_0x31ba33;if(_0x1db91c['id']===e[_0x22ffa9(0x1c9)]['id']){const _0x2fa68d=this[_0x22ffa9(0x1b0)]();if(!_0x2fa68d)return;const _0x5d70f5={'workbook':_0x2fa68d,'worksheet':_0x2fa68d[_0x22ffa9(0x1e1)]()};if(_0x5d70f5==null)return;if(this[_0x22ffa9(0x1d7)](this[_0x22ffa9(0x1c6)][_0x22ffa9(0x1ae)],_0x5d70f5),_0x5d70f5[_0x22ffa9(0x1c7)])throw new a['CanceledError']();}})),this[_0x31ba33(0x1ca)](this[_0x31ba33(0x1c6)][_0x31ba33(0x1b6)],()=>_0x273deb['beforeCommandExecuted'](_0x466bfc=>{const _0x21c74f=_0x31ba33;if(_0x466bfc['id']===e[_0x21c74f(0x1b3)]['id']){const _0x5b5fc4=_0x23cfef[_0x21c74f(0x1b5)](e['ISheetPrintManagerService']);if(!this[_0x21c74f(0x1b0)]())return;const _0x3571bc={'layoutConfig':_0x5b5fc4[_0x21c74f(0x1e8)],'renderConfig':_0x5b5fc4[_0x21c74f(0x1a6)]};if(_0x3571bc==null)return;if(this[_0x21c74f(0x1d7)](this[_0x21c74f(0x1c6)][_0x21c74f(0x1b6)],_0x3571bc),_0x3571bc[_0x21c74f(0x1c7)])throw new a[(_0x21c74f(0x1e6))]();}})),this[_0x31ba33(0x1ca)](this[_0x31ba33(0x1c6)][_0x31ba33(0x1d1)],()=>_0x273deb['beforeCommandExecuted'](_0x178921=>{const _0x441f6c=_0x31ba33;if(_0x178921['id']===e[_0x441f6c(0x1cd)]['id']){const _0x45c518=_0x23cfef[_0x441f6c(0x1b5)](e[_0x441f6c(0x1ac)]);if(!this['getActiveUniverSheet']())return;const _0x19bebe={'layoutConfig':_0x45c518[_0x441f6c(0x1e8)],'renderConfig':_0x45c518[_0x441f6c(0x1a6)]};if(_0x19bebe==null)return;if(this[_0x441f6c(0x1d7)](this[_0x441f6c(0x1c6)][_0x441f6c(0x1d1)],_0x19bebe),_0x19bebe[_0x441f6c(0x1c7)])throw new a[(_0x441f6c(0x1e6))]();}})),this[_0x31ba33(0x1ca)](this['Event']['SheetPrintOpen'],()=>_0x273deb[_0x31ba33(0x1aa)](_0x28c6db=>{const _0x56f704=_0x31ba33;if(_0x28c6db['id']===e['SheetPrintOpenOperation']['id']){const _0x532638=this['getActiveUniverSheet']();if(!_0x532638)return;const _0x106c49={'workbook':_0x532638,'worksheet':_0x532638[_0x56f704(0x1e1)]()};if(_0x106c49==null)return;this['fireEvent'](this[_0x56f704(0x1c6)][_0x56f704(0x1c0)],_0x106c49);}})),this[_0x31ba33(0x1ca)](this[_0x31ba33(0x1c6)]['SheetPrintConfirmed'],()=>_0x273deb['onCommandExecuted'](_0x40399a=>{const _0x41012c=_0x31ba33;if(_0x40399a['id']===e[_0x41012c(0x1b3)]['id']){const _0x475e7e=_0x23cfef['get'](e['ISheetPrintManagerService']);if(!this[_0x41012c(0x1b0)]())return;const _0x3ac464={'layoutConfig':_0x475e7e[_0x41012c(0x1e8)],'renderConfig':_0x475e7e[_0x41012c(0x1a6)]};if(_0x3ac464==null)return;this['fireEvent'](this[_0x41012c(0x1c6)][_0x41012c(0x1bc)],_0x3ac464);}})),this[_0x31ba33(0x1ca)](this['Event']['SheetPrintCanceled'],()=>_0x273deb[_0x31ba33(0x1aa)](_0x51e58d=>{const _0x31f5c1=_0x31ba33;if(_0x51e58d['id']===e[_0x31f5c1(0x1cd)]['id']){const _0x52bfc4=_0x23cfef[_0x31f5c1(0x1b5)](e[_0x31f5c1(0x1ac)]);if(!this[_0x31f5c1(0x1b0)]())return;const _0x32a5cc={'layoutConfig':_0x52bfc4['layoutConfig'],'renderConfig':_0x52bfc4['renderConfig']};if(_0x32a5cc==null)return;this[_0x31f5c1(0x1d7)](this[_0x31f5c1(0x1c6)][_0x31f5c1(0x1e7)],_0x32a5cc);}}));}}g[_0x4d62ce(0x1e0)][_0x4d62ce(0x1bf)](l);