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

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 +42 -42
  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 _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);}));
1
+ function _0x4191(_0x13a86b,_0x11704a){const _0x7656b8=_0x7656();return _0x4191=function(_0x41912c,_0x11335d){_0x41912c=_0x41912c-0x195;let _0x3526c2=_0x7656b8[_0x41912c];return _0x3526c2;},_0x4191(_0x13a86b,_0x11704a);}(function(_0x5ea68c,_0x36e351){const _0x2fb1a7=_0x4191,_0x498fa7=_0x5ea68c();while(!![]){try{const _0x27be52=parseInt(_0x2fb1a7(0x1a0))/0x1*(parseInt(_0x2fb1a7(0x1a2))/0x2)+-parseInt(_0x2fb1a7(0x195))/0x3*(parseInt(_0x2fb1a7(0x198))/0x4)+parseInt(_0x2fb1a7(0x1b3))/0x5+-parseInt(_0x2fb1a7(0x1d2))/0x6*(-parseInt(_0x2fb1a7(0x1c6))/0x7)+parseInt(_0x2fb1a7(0x1b8))/0x8*(parseInt(_0x2fb1a7(0x1be))/0x9)+parseInt(_0x2fb1a7(0x1af))/0xa*(parseInt(_0x2fb1a7(0x1d7))/0xb)+-parseInt(_0x2fb1a7(0x19a))/0xc*(parseInt(_0x2fb1a7(0x1dc))/0xd);if(_0x27be52===_0x36e351)break;else _0x498fa7['push'](_0x498fa7['shift']());}catch(_0x1dff12){_0x498fa7['push'](_0x498fa7['shift']());}}}(_0x7656,0x1d80f),function(_0x383e24,_0x2316e5){const _0x5a993d=_0x4191;typeof exports==_0x5a993d(0x1ae)&&typeof module<'u'?_0x2316e5(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x5a993d(0x199)&&define[_0x5a993d(0x1a7)]?define([_0x5a993d(0x1a8),'@univerjs/core',_0x5a993d(0x19f),'@univerjs/core/facade',_0x5a993d(0x1dd)],_0x2316e5):(_0x383e24=typeof globalThis<'u'?globalThis:_0x383e24||self,_0x2316e5(_0x383e24['UniverProSheetsPrint'],_0x383e24['UniverCore'],_0x383e24[_0x5a993d(0x19c)],_0x383e24[_0x5a993d(0x1d5)],_0x383e24['UniverProPrint']));}(this,function(_0x11addf,_0x5eb28c,_0x433b35,_0x9c5787,_0x288902){'use strict';const _0x2213f1=_0x4191;class _0x2c1ab9 extends _0x433b35[_0x2213f1(0x1c7)]{[_0x2213f1(0x1c5)](_0x1969ed){const _0x2f4ac2=_0x2213f1;return this['_injector'][_0x2f4ac2(0x1a4)](_0x11addf[_0x2f4ac2(0x1d3)])[_0x2f4ac2(0x1b6)](_0x1969ed),this;}['updatePrintRenderConfig'](_0x154a41){const _0x5d61aa=_0x2213f1;return this['_injector']['get'](_0x11addf[_0x5d61aa(0x1d3)])['updateRenderConfig'](_0x154a41),this;}[_0x2213f1(0x1b4)](){const _0x1d458e=_0x2213f1;return this[_0x1d458e(0x1da)]['get'](_0x5eb28c[_0x1d458e(0x1c8)])[_0x1d458e(0x1d6)](_0x11addf[_0x1d458e(0x1d4)]['id']);}[_0x2213f1(0x1b7)](){const _0x3276bc=_0x2213f1;return this[_0x3276bc(0x1da)][_0x3276bc(0x1a4)](_0x5eb28c[_0x3276bc(0x1c8)])[_0x3276bc(0x1d6)](_0x11addf[_0x3276bc(0x197)]['id']);}[_0x2213f1(0x1a1)](){const _0x3182f9=_0x2213f1;return this[_0x3182f9(0x1da)][_0x3182f9(0x1a4)](_0x5eb28c['ICommandService'])[_0x3182f9(0x1d6)](_0x11addf[_0x3182f9(0x1cd)]['id']);}async[_0x2213f1(0x1ad)](){const _0x125ec8=_0x2213f1;return _0x11addf[_0x125ec8(0x1b0)](this[_0x125ec8(0x1da)])?this[_0x125ec8(0x1da)][_0x125ec8(0x1a4)](_0x5eb28c[_0x125ec8(0x1c8)])[_0x125ec8(0x1cb)](_0x11addf[_0x125ec8(0x1bf)]['id']):!0x1;}}_0x433b35[_0x2213f1(0x1c7)][_0x2213f1(0x1b2)](_0x2c1ab9);class _0xb9058 extends _0x433b35[_0x2213f1(0x1bc)]{['getScreenshot'](){const _0x69b08c=_0x2213f1;return _0x11addf[_0x69b08c(0x1b0)](this[_0x69b08c(0x1da)])?this[_0x69b08c(0x1da)][_0x69b08c(0x1a4)](_0x11addf['SheetPrintClientService'])[_0x69b08c(0x1b5)](this['_workbook'][_0x69b08c(0x1ac)](),this[_0x69b08c(0x1bd)][_0x69b08c(0x1cf)](),this['_range']):!0x1;}}_0x433b35[_0x2213f1(0x1bc)][_0x2213f1(0x1b2)](_0xb9058);class _0x189079{get[_0x2213f1(0x1d8)](){const _0x1524ed=_0x2213f1;return _0x1524ed(0x1d8);}get['BeforeSheetPrintConfirm'](){const _0x51a260=_0x2213f1;return _0x51a260(0x1c3);}get[_0x2213f1(0x1aa)](){const _0x417f6f=_0x2213f1;return _0x417f6f(0x1aa);}get[_0x2213f1(0x1ca)](){return'SheetPrintOpen';}get[_0x2213f1(0x1cc)](){const _0x348d0b=_0x2213f1;return _0x348d0b(0x1cc);}get[_0x2213f1(0x196)](){const _0x3b31dd=_0x2213f1;return _0x3b31dd(0x196);}}_0x9c5787[_0x2213f1(0x1a9)][_0x2213f1(0x1b2)](_0x189079);class _0x3d72ce{get[_0x2213f1(0x1a6)](){const _0x3a0ce8=_0x2213f1;return _0x11addf[_0x3a0ce8(0x1a6)];}get[_0x2213f1(0x1b1)](){const _0x6dad71=_0x2213f1;return _0x288902[_0x6dad71(0x1b1)];}get['PrintPaperSize'](){const _0x18b614=_0x2213f1;return _0x5eb28c[_0x18b614(0x1c1)];}get[_0x2213f1(0x1bb)](){const _0x26d46d=_0x2213f1;return _0x288902[_0x26d46d(0x1bb)];}get[_0x2213f1(0x1a5)](){return _0x288902['PrintScale'];}get['PrintDirection'](){const _0x24ff19=_0x2213f1;return _0x288902[_0x24ff19(0x1b9)];}get['PrintFreeze'](){const _0x2767cb=_0x2213f1;return _0x11addf[_0x2767cb(0x1c0)];}get[_0x2213f1(0x1c4)](){return _0x11addf['PrintHeaderFooter'];}get[_0x2213f1(0x1ab)](){const _0xfdbaab=_0x2213f1;return _0x11addf[_0xfdbaab(0x1ab)];}}_0x9c5787[_0x2213f1(0x1a3)]['extend'](_0x3d72ce);class _0x5e80eb extends _0x9c5787['FUniver']{[_0x2213f1(0x19e)](_0x43166a){const _0x553e31=_0x2213f1,_0x30ecbb=_0x43166a[_0x553e31(0x1a4)](_0x5eb28c[_0x553e31(0x1c8)]);this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x1d8)],()=>_0x30ecbb[_0x553e31(0x1d0)](_0x39c64f=>{const _0x1526fe=_0x553e31;if(_0x39c64f['id']===_0x11addf['SheetPrintOpenOperation']['id']){const _0x22381b=this[_0x1526fe(0x1c2)]();if(!_0x22381b)return;const _0x1a8ae3={'workbook':_0x22381b,'worksheet':_0x22381b[_0x1526fe(0x1db)]()};if(_0x1a8ae3==null)return;if(this['fireEvent'](this[_0x1526fe(0x1c9)]['BeforeSheetPrintOpen'],_0x1a8ae3),_0x1a8ae3[_0x1526fe(0x19d)])throw new _0x5eb28c['CanceledError']();}})),this[_0x553e31(0x1df)](this['Event'][_0x553e31(0x1c3)],()=>_0x30ecbb[_0x553e31(0x1d0)](_0x14fd7d=>{const _0x185b68=_0x553e31;if(_0x14fd7d['id']===_0x11addf[_0x185b68(0x1d4)]['id']){const _0x42e6e6=_0x43166a[_0x185b68(0x1a4)](_0x11addf[_0x185b68(0x1d3)]);if(!this[_0x185b68(0x1c2)]())return;const _0x251c8a={'layoutConfig':_0x42e6e6[_0x185b68(0x1ce)],'renderConfig':_0x42e6e6['renderConfig']};if(_0x251c8a==null)return;if(this['fireEvent'](this['Event'][_0x185b68(0x1c3)],_0x251c8a),_0x251c8a[_0x185b68(0x19d)])throw new _0x5eb28c[(_0x185b68(0x19b))]();}})),this[_0x553e31(0x1df)](this['Event'][_0x553e31(0x1aa)],()=>_0x30ecbb['beforeCommandExecuted'](_0x1ede53=>{const _0x45ffcd=_0x553e31;if(_0x1ede53['id']===_0x11addf[_0x45ffcd(0x1cd)]['id']){const _0x37a8cb=_0x43166a[_0x45ffcd(0x1a4)](_0x11addf[_0x45ffcd(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0x2b289c={'layoutConfig':_0x37a8cb[_0x45ffcd(0x1ce)],'renderConfig':_0x37a8cb[_0x45ffcd(0x1ba)]};if(_0x2b289c==null)return;if(this[_0x45ffcd(0x1d1)](this[_0x45ffcd(0x1c9)]['BeforeSheetPrintCanceled'],_0x2b289c),_0x2b289c['cancel'])throw new _0x5eb28c['CanceledError']();}})),this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x1ca)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x5be49a=>{const _0x4facce=_0x553e31;if(_0x5be49a['id']===_0x11addf[_0x4facce(0x197)]['id']){const _0x14bb12=this[_0x4facce(0x1c2)]();if(!_0x14bb12)return;const _0x19bc28={'workbook':_0x14bb12,'worksheet':_0x14bb12[_0x4facce(0x1db)]()};if(_0x19bc28==null)return;this[_0x4facce(0x1d1)](this[_0x4facce(0x1c9)][_0x4facce(0x1ca)],_0x19bc28);}})),this['registerEventHandler'](this[_0x553e31(0x1c9)][_0x553e31(0x1cc)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x43f118=>{const _0x38ed58=_0x553e31;if(_0x43f118['id']===_0x11addf[_0x38ed58(0x1d4)]['id']){const _0x6d5c81=_0x43166a[_0x38ed58(0x1a4)](_0x11addf['ISheetPrintManagerService']);if(!this[_0x38ed58(0x1c2)]())return;const _0x1af89e={'layoutConfig':_0x6d5c81['layoutConfig'],'renderConfig':_0x6d5c81[_0x38ed58(0x1ba)]};if(_0x1af89e==null)return;this['fireEvent'](this[_0x38ed58(0x1c9)][_0x38ed58(0x1cc)],_0x1af89e);}})),this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x196)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x16a9f6=>{const _0x1a4c6d=_0x553e31;if(_0x16a9f6['id']===_0x11addf[_0x1a4c6d(0x1cd)]['id']){const _0x1f27c1=_0x43166a[_0x1a4c6d(0x1a4)](_0x11addf[_0x1a4c6d(0x1d3)]);if(!this[_0x1a4c6d(0x1c2)]())return;const _0x4bba54={'layoutConfig':_0x1f27c1[_0x1a4c6d(0x1ce)],'renderConfig':_0x1f27c1[_0x1a4c6d(0x1ba)]};if(_0x4bba54==null)return;this[_0x1a4c6d(0x1d1)](this[_0x1a4c6d(0x1c9)]['SheetPrintCanceled'],_0x4bba54);}}));}}_0x9c5787[_0x2213f1(0x1d9)][_0x2213f1(0x1b2)](_0x5e80eb);}));function _0x7656(){const _0x1d778a=['getSheetId','beforeCommandExecuted','fireEvent','1878MNoqFe','ISheetPrintManagerService','ConfirmSheetPrintOperation','UniverCoreFacade','syncExecuteCommand','11vlRbQy','BeforeSheetPrintOpen','FUniver','_injector','getActiveSheet','26VvPHLn','@univerjs-pro/print','onCommandExecuted','registerEventHandler','30PGyEZF','SheetPrintCanceled','SheetPrintOpenOperation','77164HNLQlO','function','594492HKvJWx','CanceledError','UniverSheetsFacade','cancel','_initialize','@univerjs/sheets/facade','28463boMRZp','closePrintDialog','12qQXitX','FEnum','get','PrintScale','PrintArea','amd','@univerjs-pro/sheets-print','FEventName','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','getUnitId','saveScreenshotToClipboard','object','466630DqIfQX','hasPrintFacadePermission','PrintAlign','extend','132875isnxuT','print','getRangeImage','updateLayoutConfig','openPrintDialog','352CBroHa','PrintDirection','renderConfig','PrintPaperMargin','FRange','_worksheet','792CKmoOh','SheetScreenShotOperation','PrintFreeze','PaperType','getActiveUniverSheet','BeforeSheetPrintConfirm','PrintHeaderFooter','updatePrintConfig','3689ejQbrA','FWorkbook','ICommandService','Event','SheetPrintOpen','executeCommand','SheetPrintConfirmed','CancelSheetPrintOperation','layoutConfig'];_0x7656=function(){return _0x1d778a;};return _0x7656();}