@univerjs-pro/sheets-print 0.9.1-nightly.202507081607 → 0.9.1-nightly.202507101607

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(_0x596227,_0x295085){const _0x45e402=_0xf87e,_0x579cef=_0x596227();while(!![]){try{const _0x4452ef=-parseInt(_0x45e402(0x19f))/0x1+parseInt(_0x45e402(0x17d))/0x2+-parseInt(_0x45e402(0x1bf))/0x3*(parseInt(_0x45e402(0x17c))/0x4)+-parseInt(_0x45e402(0x180))/0x5+-parseInt(_0x45e402(0x18d))/0x6+-parseInt(_0x45e402(0x1b6))/0x7*(-parseInt(_0x45e402(0x18f))/0x8)+parseInt(_0x45e402(0x1aa))/0x9;if(_0x4452ef===_0x295085)break;else _0x579cef['push'](_0x579cef['shift']());}catch(_0x11c652){_0x579cef['push'](_0x579cef['shift']());}}}(_0x3bc7,0x1ce7b),function(_0x479173,_0x53659f){const _0x3bbb44=_0xf87e;typeof exports==_0x3bbb44(0x1b1)&&typeof module<'u'?_0x53659f(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x3bbb44(0x1a4)&&define[_0x3bbb44(0x1c0)]?define(['@univerjs-pro/sheets-print','@univerjs/core',_0x3bbb44(0x1ac),_0x3bbb44(0x1bd),_0x3bbb44(0x186)],_0x53659f):(_0x479173=typeof globalThis<'u'?globalThis:_0x479173||self,_0x53659f(_0x479173['UniverProSheetsPrint'],_0x479173[_0x3bbb44(0x1a6)],_0x479173['UniverSheetsFacade'],_0x479173['UniverCoreFacade'],_0x479173['UniverProPrint']));}(this,function(_0x225e6b,_0x10cc0d,_0x475c49,_0x2545cb,_0x2f8d6f){'use strict';const _0x50da66=_0xf87e;class _0x1a5cc0 extends _0x475c49[_0x50da66(0x185)]{[_0x50da66(0x1a1)](_0x33f3a0){const _0x62ad4a=_0x50da66;return this['_injector'][_0x62ad4a(0x1a3)](_0x225e6b['ISheetPrintManagerService'])['updateLayoutConfig'](_0x33f3a0),this;}[_0x50da66(0x1ad)](_0x543074){const _0x194292=_0x50da66;return this[_0x194292(0x1b5)][_0x194292(0x1a3)](_0x225e6b[_0x194292(0x195)])['updateRenderConfig'](_0x543074),this;}[_0x50da66(0x190)](){const _0x1df9dd=_0x50da66;return this[_0x1df9dd(0x1b5)][_0x1df9dd(0x1a3)](_0x10cc0d[_0x1df9dd(0x1b8)])['syncExecuteCommand'](_0x225e6b[_0x1df9dd(0x17f)]['id']);}[_0x50da66(0x193)](){const _0xd79fbb=_0x50da66;return this[_0xd79fbb(0x1b5)][_0xd79fbb(0x1a3)](_0x10cc0d['ICommandService'])['syncExecuteCommand'](_0x225e6b[_0xd79fbb(0x199)]['id']);}['closePrintDialog'](){const _0x47252a=_0x50da66;return this[_0x47252a(0x1b5)][_0x47252a(0x1a3)](_0x10cc0d[_0x47252a(0x1b8)])[_0x47252a(0x183)](_0x225e6b[_0x47252a(0x19c)]['id']);}async[_0x50da66(0x189)](){const _0x10dc97=_0x50da66;return _0x225e6b[_0x10dc97(0x1be)](this['_injector'])?this[_0x10dc97(0x1b5)][_0x10dc97(0x1a3)](_0x10cc0d[_0x10dc97(0x1b8)])[_0x10dc97(0x1ab)](_0x225e6b[_0x10dc97(0x178)]['id']):!0x1;}}_0x475c49['FWorkbook']['extend'](_0x1a5cc0);class _0x49c0f9 extends _0x475c49[_0x50da66(0x187)]{[_0x50da66(0x19e)](){const _0x2408b5=_0x50da66;return _0x225e6b[_0x2408b5(0x1be)](this[_0x2408b5(0x1b5)])?this[_0x2408b5(0x1b5)][_0x2408b5(0x1a3)](_0x225e6b[_0x2408b5(0x1bb)])[_0x2408b5(0x194)](this[_0x2408b5(0x18e)][_0x2408b5(0x196)](),this[_0x2408b5(0x17e)][_0x2408b5(0x197)](),this[_0x2408b5(0x1bc)]):!0x1;}}_0x475c49['FRange'][_0x50da66(0x192)](_0x49c0f9);class _0x33003c{get[_0x50da66(0x1a5)](){const _0x4cd76e=_0x50da66;return _0x4cd76e(0x1a5);}get[_0x50da66(0x1b0)](){const _0x22d134=_0x50da66;return _0x22d134(0x1b0);}get[_0x50da66(0x18b)](){const _0x4cd244=_0x50da66;return _0x4cd244(0x18b);}get[_0x50da66(0x1a2)](){const _0x198427=_0x50da66;return _0x198427(0x1a2);}get['SheetPrintConfirmed'](){const _0x174eec=_0x50da66;return _0x174eec(0x19a);}get[_0x50da66(0x188)](){const _0x24ac2e=_0x50da66;return _0x24ac2e(0x188);}}_0x2545cb[_0x50da66(0x1af)][_0x50da66(0x192)](_0x33003c);class _0x23a53c{get['PrintArea'](){const _0xab0158=_0x50da66;return _0x225e6b[_0xab0158(0x1b9)];}get['PrintAlign'](){const _0x3278d9=_0x50da66;return _0x2f8d6f[_0x3278d9(0x181)];}get[_0x50da66(0x1a8)](){return _0x10cc0d['PaperType'];}get['PrintPaperMargin'](){const _0x52ec47=_0x50da66;return _0x2f8d6f[_0x52ec47(0x182)];}get[_0x50da66(0x1b3)](){const _0xb15634=_0x50da66;return _0x2f8d6f[_0xb15634(0x1b3)];}get[_0x50da66(0x19b)](){return _0x2f8d6f['PrintDirection'];}get[_0x50da66(0x1a7)](){const _0x27c4e7=_0x50da66;return _0x225e6b[_0x27c4e7(0x1a7)];}get[_0x50da66(0x1b7)](){const _0x45df98=_0x50da66;return _0x225e6b[_0x45df98(0x1b7)];}get['PrintHeaderFooterSymbol'](){const _0x1a559b=_0x50da66;return _0x225e6b[_0x1a559b(0x18c)];}}_0x2545cb[_0x50da66(0x18a)][_0x50da66(0x192)](_0x23a53c);class _0x4566af extends _0x2545cb[_0x50da66(0x191)]{[_0x50da66(0x1a0)](_0x52e2a9){const _0x72e214=_0x50da66,_0x31ffc9=_0x52e2a9[_0x72e214(0x1a3)](_0x10cc0d[_0x72e214(0x1b8)]);this[_0x72e214(0x1b2)](this[_0x72e214(0x1ba)][_0x72e214(0x1a5)],()=>_0x31ffc9[_0x72e214(0x184)](_0x3ddc30=>{const _0x3219d3=_0x72e214;if(_0x3ddc30['id']===_0x225e6b['SheetPrintOpenOperation']['id']){const _0x344b4a=this['getActiveUniverSheet']();if(!_0x344b4a)return;const _0x120c0f={'workbook':_0x344b4a,'worksheet':_0x344b4a['getActiveSheet']()};if(_0x120c0f==null)return;if(this[_0x3219d3(0x1a9)](this[_0x3219d3(0x1ba)]['BeforeSheetPrintOpen'],_0x120c0f),_0x120c0f[_0x3219d3(0x1b4)])throw new _0x10cc0d[(_0x3219d3(0x1ae))]();}})),this[_0x72e214(0x1b2)](this[_0x72e214(0x1ba)]['BeforeSheetPrintConfirm'],()=>_0x31ffc9[_0x72e214(0x184)](_0x5b1fe1=>{const _0x422832=_0x72e214;if(_0x5b1fe1['id']===_0x225e6b[_0x422832(0x17f)]['id']){const _0x55ba9e=_0x52e2a9[_0x422832(0x1a3)](_0x225e6b[_0x422832(0x195)]);if(!this[_0x422832(0x19d)]())return;const _0x34a305={'layoutConfig':_0x55ba9e[_0x422832(0x179)],'renderConfig':_0x55ba9e['renderConfig']};if(_0x34a305==null)return;if(this[_0x422832(0x1a9)](this['Event'][_0x422832(0x1b0)],_0x34a305),_0x34a305[_0x422832(0x1b4)])throw new _0x10cc0d['CanceledError']();}})),this[_0x72e214(0x1b2)](this[_0x72e214(0x1ba)][_0x72e214(0x18b)],()=>_0x31ffc9['beforeCommandExecuted'](_0xb9a337=>{const _0x5e827c=_0x72e214;if(_0xb9a337['id']===_0x225e6b[_0x5e827c(0x19c)]['id']){const _0x370862=_0x52e2a9[_0x5e827c(0x1a3)](_0x225e6b[_0x5e827c(0x195)]);if(!this[_0x5e827c(0x19d)]())return;const _0x5e162c={'layoutConfig':_0x370862[_0x5e827c(0x179)],'renderConfig':_0x370862[_0x5e827c(0x198)]};if(_0x5e162c==null)return;if(this[_0x5e827c(0x1a9)](this[_0x5e827c(0x1ba)][_0x5e827c(0x18b)],_0x5e162c),_0x5e162c['cancel'])throw new _0x10cc0d[(_0x5e827c(0x1ae))]();}})),this[_0x72e214(0x1b2)](this['Event'][_0x72e214(0x1a2)],()=>_0x31ffc9[_0x72e214(0x17b)](_0x1ab114=>{const _0x1ac838=_0x72e214;if(_0x1ab114['id']===_0x225e6b[_0x1ac838(0x199)]['id']){const _0x4f2940=this[_0x1ac838(0x19d)]();if(!_0x4f2940)return;const _0x35688e={'workbook':_0x4f2940,'worksheet':_0x4f2940[_0x1ac838(0x17a)]()};if(_0x35688e==null)return;this[_0x1ac838(0x1a9)](this[_0x1ac838(0x1ba)]['SheetPrintOpen'],_0x35688e);}})),this[_0x72e214(0x1b2)](this[_0x72e214(0x1ba)]['SheetPrintConfirmed'],()=>_0x31ffc9[_0x72e214(0x17b)](_0x5c40a2=>{const _0x2eb327=_0x72e214;if(_0x5c40a2['id']===_0x225e6b[_0x2eb327(0x17f)]['id']){const _0x55c317=_0x52e2a9[_0x2eb327(0x1a3)](_0x225e6b[_0x2eb327(0x195)]);if(!this['getActiveUniverSheet']())return;const _0x1ec010={'layoutConfig':_0x55c317[_0x2eb327(0x179)],'renderConfig':_0x55c317[_0x2eb327(0x198)]};if(_0x1ec010==null)return;this[_0x2eb327(0x1a9)](this[_0x2eb327(0x1ba)][_0x2eb327(0x19a)],_0x1ec010);}})),this[_0x72e214(0x1b2)](this[_0x72e214(0x1ba)][_0x72e214(0x188)],()=>_0x31ffc9[_0x72e214(0x17b)](_0x4ab2d3=>{const _0x48fa01=_0x72e214;if(_0x4ab2d3['id']===_0x225e6b[_0x48fa01(0x19c)]['id']){const _0x3bed03=_0x52e2a9[_0x48fa01(0x1a3)](_0x225e6b[_0x48fa01(0x195)]);if(!this['getActiveUniverSheet']())return;const _0x4cce6e={'layoutConfig':_0x3bed03[_0x48fa01(0x179)],'renderConfig':_0x3bed03[_0x48fa01(0x198)]};if(_0x4cce6e==null)return;this[_0x48fa01(0x1a9)](this[_0x48fa01(0x1ba)]['SheetPrintCanceled'],_0x4cce6e);}}));}}_0x2545cb[_0x50da66(0x191)][_0x50da66(0x192)](_0x4566af);}));function _0xf87e(_0x129365,_0x3b9309){const _0x3bc751=_0x3bc7();return _0xf87e=function(_0xf87e3,_0x4ed360){_0xf87e3=_0xf87e3-0x178;let _0x4ab6ef=_0x3bc751[_0xf87e3];return _0x4ab6ef;},_0xf87e(_0x129365,_0x3b9309);}function _0x3bc7(){const _0x51ef95=['PrintPaperSize','fireEvent','2351718kIVNms','executeCommand','@univerjs/sheets/facade','updatePrintRenderConfig','CanceledError','FEventName','BeforeSheetPrintConfirm','object','registerEventHandler','PrintScale','cancel','_injector','7lKrJzt','PrintHeaderFooter','ICommandService','PrintArea','Event','SheetPrintClientService','_range','@univerjs/core/facade','hasPrintFacadePermission','3lrArID','amd','SheetScreenShotOperation','layoutConfig','getActiveSheet','onCommandExecuted','666780llmtlB','324862YhIIPq','_worksheet','ConfirmSheetPrintOperation','980540ckKJml','PrintAlign','PrintPaperMargin','syncExecuteCommand','beforeCommandExecuted','FWorkbook','@univerjs-pro/print','FRange','SheetPrintCanceled','saveScreenshotToClipboard','FEnum','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','803016fevbvQ','_workbook','1591704xwZzrK','print','FUniver','extend','openPrintDialog','getRangeImage','ISheetPrintManagerService','getUnitId','getSheetId','renderConfig','SheetPrintOpenOperation','SheetPrintConfirmed','PrintDirection','CancelSheetPrintOperation','getActiveUniverSheet','getScreenshot','7662IuwqrP','_initialize','updatePrintConfig','SheetPrintOpen','get','function','BeforeSheetPrintOpen','UniverCore','PrintFreeze'];_0x3bc7=function(){return _0x51ef95;};return _0x3bc7();}
1
+ function _0x23bf(_0x29a5ca,_0x58b184){const _0x2cf8d2=_0x2cf8();return _0x23bf=function(_0x23bfac,_0x271542){_0x23bfac=_0x23bfac-0x1a1;let _0x49feaf=_0x2cf8d2[_0x23bfac];return _0x49feaf;},_0x23bf(_0x29a5ca,_0x58b184);}(function(_0x29040c,_0x20a120){const _0x4d4f27=_0x23bf,_0x5629ac=_0x29040c();while(!![]){try{const _0x3b810b=parseInt(_0x4d4f27(0x1cd))/0x1+parseInt(_0x4d4f27(0x1e9))/0x2+parseInt(_0x4d4f27(0x1e0))/0x3+-parseInt(_0x4d4f27(0x1cc))/0x4*(-parseInt(_0x4d4f27(0x1b5))/0x5)+parseInt(_0x4d4f27(0x1d9))/0x6+-parseInt(_0x4d4f27(0x1e8))/0x7*(-parseInt(_0x4d4f27(0x1a7))/0x8)+-parseInt(_0x4d4f27(0x1a2))/0x9;if(_0x3b810b===_0x20a120)break;else _0x5629ac['push'](_0x5629ac['shift']());}catch(_0x13b096){_0x5629ac['push'](_0x5629ac['shift']());}}}(_0x2cf8,0xb7912),function(_0x34703a,_0x2ea66d){const _0x1d9300=_0x23bf;typeof exports=='object'&&typeof module<'u'?_0x2ea66d(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x1d9300(0x1b2)&&define[_0x1d9300(0x1dd)]?define([_0x1d9300(0x1e3),'@univerjs/core','@univerjs/sheets/facade',_0x1d9300(0x1aa),_0x1d9300(0x1b1)],_0x2ea66d):(_0x34703a=typeof globalThis<'u'?globalThis:_0x34703a||self,_0x2ea66d(_0x34703a[_0x1d9300(0x1a9)],_0x34703a['UniverCore'],_0x34703a[_0x1d9300(0x1ce)],_0x34703a[_0x1d9300(0x1b8)],_0x34703a['UniverProPrint']));}(this,function(_0x40d43f,_0xede973,_0x13ba52,_0x40954c,_0x22cf44){'use strict';const _0x4e3100=_0x23bf;class _0xc82890 extends _0x13ba52[_0x4e3100(0x1ae)]{[_0x4e3100(0x1d2)](_0x3353e8){const _0x410a4c=_0x4e3100;return this[_0x410a4c(0x1b9)][_0x410a4c(0x1c2)](_0x40d43f[_0x410a4c(0x1c4)])[_0x410a4c(0x1a3)](_0x3353e8),this;}[_0x4e3100(0x1d6)](_0x94716f){const _0x4ea55a=_0x4e3100;return this[_0x4ea55a(0x1b9)][_0x4ea55a(0x1c2)](_0x40d43f['ISheetPrintManagerService'])[_0x4ea55a(0x1ac)](_0x94716f),this;}['print'](){const _0x57f7eb=_0x4e3100;return this['_injector']['get'](_0xede973[_0x57f7eb(0x1c9)])[_0x57f7eb(0x1e6)](_0x40d43f[_0x57f7eb(0x1ab)]['id']);}[_0x4e3100(0x1b0)](){const _0x2872c0=_0x4e3100;return this['_injector'][_0x2872c0(0x1c2)](_0xede973[_0x2872c0(0x1c9)])[_0x2872c0(0x1e6)](_0x40d43f[_0x2872c0(0x1c0)]['id']);}[_0x4e3100(0x1eb)](){const _0x235961=_0x4e3100;return this[_0x235961(0x1b9)][_0x235961(0x1c2)](_0xede973[_0x235961(0x1c9)])[_0x235961(0x1e6)](_0x40d43f['CancelSheetPrintOperation']['id']);}async[_0x4e3100(0x1d4)](){const _0x1dd2c2=_0x4e3100;return _0x40d43f[_0x1dd2c2(0x1c3)](this[_0x1dd2c2(0x1b9)])?this[_0x1dd2c2(0x1b9)][_0x1dd2c2(0x1c2)](_0xede973['ICommandService'])[_0x1dd2c2(0x1c1)](_0x40d43f[_0x1dd2c2(0x1c7)]['id']):!0x1;}}_0x13ba52['FWorkbook']['extend'](_0xc82890);class _0x4fe625 extends _0x13ba52['FRange']{[_0x4e3100(0x1d0)](){const _0x44d8d0=_0x4e3100;return _0x40d43f[_0x44d8d0(0x1c3)](this[_0x44d8d0(0x1b9)])?this[_0x44d8d0(0x1b9)][_0x44d8d0(0x1c2)](_0x40d43f[_0x44d8d0(0x1cf)])['getRangeImage'](this['_workbook'][_0x44d8d0(0x1df)](),this[_0x44d8d0(0x1ca)][_0x44d8d0(0x1d1)](),this[_0x44d8d0(0x1d7)]):!0x1;}}_0x13ba52[_0x4e3100(0x1a6)][_0x4e3100(0x1bc)](_0x4fe625);class _0x18aafc{get[_0x4e3100(0x1e2)](){const _0x308692=_0x4e3100;return _0x308692(0x1e2);}get[_0x4e3100(0x1e7)](){const _0x40dd22=_0x4e3100;return _0x40dd22(0x1e7);}get[_0x4e3100(0x1c6)](){const _0x32b2e6=_0x4e3100;return _0x32b2e6(0x1c6);}get['SheetPrintOpen'](){const _0x1d479e=_0x4e3100;return _0x1d479e(0x1a5);}get['SheetPrintConfirmed'](){const _0x4a26e7=_0x4e3100;return _0x4a26e7(0x1bb);}get[_0x4e3100(0x1b7)](){const _0x20da62=_0x4e3100;return _0x20da62(0x1b7);}}_0x40954c[_0x4e3100(0x1a4)][_0x4e3100(0x1bc)](_0x18aafc);class _0x308c0a{get[_0x4e3100(0x1bd)](){const _0x225d2a=_0x4e3100;return _0x40d43f[_0x225d2a(0x1bd)];}get[_0x4e3100(0x1ea)](){const _0x3ab9f1=_0x4e3100;return _0x22cf44[_0x3ab9f1(0x1ea)];}get[_0x4e3100(0x1da)](){const _0x5dede3=_0x4e3100;return _0xede973[_0x5dede3(0x1c5)];}get[_0x4e3100(0x1b4)](){const _0x4f43dd=_0x4e3100;return _0x22cf44[_0x4f43dd(0x1b4)];}get[_0x4e3100(0x1c8)](){const _0x2e3320=_0x4e3100;return _0x22cf44[_0x2e3320(0x1c8)];}get[_0x4e3100(0x1ba)](){const _0x303ffb=_0x4e3100;return _0x22cf44[_0x303ffb(0x1ba)];}get['PrintFreeze'](){const _0x297277=_0x4e3100;return _0x40d43f[_0x297277(0x1e1)];}get[_0x4e3100(0x1bf)](){return _0x40d43f['PrintHeaderFooter'];}get[_0x4e3100(0x1ad)](){return _0x40d43f['PrintHeaderFooterSymbol'];}}_0x40954c[_0x4e3100(0x1a1)][_0x4e3100(0x1bc)](_0x308c0a);class _0x2fc647 extends _0x40954c[_0x4e3100(0x1db)]{[_0x4e3100(0x1be)](_0xef387d){const _0x38f9e=_0x4e3100,_0x411a06=_0xef387d[_0x38f9e(0x1c2)](_0xede973[_0x38f9e(0x1c9)]);this[_0x38f9e(0x1a8)](this[_0x38f9e(0x1e4)]['BeforeSheetPrintOpen'],()=>_0x411a06[_0x38f9e(0x1dc)](_0x420614=>{const _0x510ac9=_0x38f9e;if(_0x420614['id']===_0x40d43f['SheetPrintOpenOperation']['id']){const _0x5a7be0=this[_0x510ac9(0x1d8)]();if(!_0x5a7be0)return;const _0x15ab42={'workbook':_0x5a7be0,'worksheet':_0x5a7be0[_0x510ac9(0x1b3)]()};if(_0x15ab42==null)return;if(this[_0x510ac9(0x1e5)](this[_0x510ac9(0x1e4)][_0x510ac9(0x1e2)],_0x15ab42),_0x15ab42[_0x510ac9(0x1d5)])throw new _0xede973[(_0x510ac9(0x1cb))]();}})),this[_0x38f9e(0x1a8)](this[_0x38f9e(0x1e4)][_0x38f9e(0x1e7)],()=>_0x411a06[_0x38f9e(0x1dc)](_0x18aa3b=>{const _0xd4278e=_0x38f9e;if(_0x18aa3b['id']===_0x40d43f[_0xd4278e(0x1ab)]['id']){const _0x3a4db6=_0xef387d[_0xd4278e(0x1c2)](_0x40d43f['ISheetPrintManagerService']);if(!this[_0xd4278e(0x1d8)]())return;const _0x370c7f={'layoutConfig':_0x3a4db6[_0xd4278e(0x1d3)],'renderConfig':_0x3a4db6['renderConfig']};if(_0x370c7f==null)return;if(this[_0xd4278e(0x1e5)](this[_0xd4278e(0x1e4)][_0xd4278e(0x1e7)],_0x370c7f),_0x370c7f['cancel'])throw new _0xede973['CanceledError']();}})),this['registerEventHandler'](this['Event'][_0x38f9e(0x1c6)],()=>_0x411a06[_0x38f9e(0x1dc)](_0x162314=>{const _0x3d9321=_0x38f9e;if(_0x162314['id']===_0x40d43f[_0x3d9321(0x1de)]['id']){const _0xcbeb0e=_0xef387d['get'](_0x40d43f[_0x3d9321(0x1c4)]);if(!this['getActiveUniverSheet']())return;const _0x3eb5ec={'layoutConfig':_0xcbeb0e['layoutConfig'],'renderConfig':_0xcbeb0e['renderConfig']};if(_0x3eb5ec==null)return;if(this['fireEvent'](this[_0x3d9321(0x1e4)][_0x3d9321(0x1c6)],_0x3eb5ec),_0x3eb5ec[_0x3d9321(0x1d5)])throw new _0xede973[(_0x3d9321(0x1cb))]();}})),this[_0x38f9e(0x1a8)](this[_0x38f9e(0x1e4)]['SheetPrintOpen'],()=>_0x411a06[_0x38f9e(0x1af)](_0x36cf9c=>{const _0x18dcac=_0x38f9e;if(_0x36cf9c['id']===_0x40d43f[_0x18dcac(0x1c0)]['id']){const _0x136b80=this[_0x18dcac(0x1d8)]();if(!_0x136b80)return;const _0x56a559={'workbook':_0x136b80,'worksheet':_0x136b80[_0x18dcac(0x1b3)]()};if(_0x56a559==null)return;this['fireEvent'](this[_0x18dcac(0x1e4)][_0x18dcac(0x1a5)],_0x56a559);}})),this[_0x38f9e(0x1a8)](this[_0x38f9e(0x1e4)][_0x38f9e(0x1bb)],()=>_0x411a06[_0x38f9e(0x1af)](_0x1ba3bb=>{const _0x3dcda4=_0x38f9e;if(_0x1ba3bb['id']===_0x40d43f[_0x3dcda4(0x1ab)]['id']){const _0x4e2208=_0xef387d[_0x3dcda4(0x1c2)](_0x40d43f[_0x3dcda4(0x1c4)]);if(!this[_0x3dcda4(0x1d8)]())return;const _0x36be71={'layoutConfig':_0x4e2208['layoutConfig'],'renderConfig':_0x4e2208[_0x3dcda4(0x1b6)]};if(_0x36be71==null)return;this[_0x3dcda4(0x1e5)](this[_0x3dcda4(0x1e4)]['SheetPrintConfirmed'],_0x36be71);}})),this[_0x38f9e(0x1a8)](this['Event'][_0x38f9e(0x1b7)],()=>_0x411a06[_0x38f9e(0x1af)](_0x45fd73=>{const _0x502011=_0x38f9e;if(_0x45fd73['id']===_0x40d43f[_0x502011(0x1de)]['id']){const _0x450a46=_0xef387d['get'](_0x40d43f[_0x502011(0x1c4)]);if(!this[_0x502011(0x1d8)]())return;const _0x53b2c2={'layoutConfig':_0x450a46['layoutConfig'],'renderConfig':_0x450a46[_0x502011(0x1b6)]};if(_0x53b2c2==null)return;this[_0x502011(0x1e5)](this[_0x502011(0x1e4)]['SheetPrintCanceled'],_0x53b2c2);}}));}}_0x40954c['FUniver'][_0x4e3100(0x1bc)](_0x2fc647);}));function _0x2cf8(){const _0x4159c9=['803484rgBXKk','PrintAlign','closePrintDialog','FEnum','31561506CJNpFi','updateLayoutConfig','FEventName','SheetPrintOpen','FRange','8nsHOQj','registerEventHandler','UniverProSheetsPrint','@univerjs/core/facade','ConfirmSheetPrintOperation','updateRenderConfig','PrintHeaderFooterSymbol','FWorkbook','onCommandExecuted','openPrintDialog','@univerjs-pro/print','function','getActiveSheet','PrintPaperMargin','20OtHKXQ','renderConfig','SheetPrintCanceled','UniverCoreFacade','_injector','PrintDirection','SheetPrintConfirmed','extend','PrintArea','_initialize','PrintHeaderFooter','SheetPrintOpenOperation','executeCommand','get','hasPrintFacadePermission','ISheetPrintManagerService','PaperType','BeforeSheetPrintCanceled','SheetScreenShotOperation','PrintScale','ICommandService','_worksheet','CanceledError','1298896BRdlAl','188210SiWpLZ','UniverSheetsFacade','SheetPrintClientService','getScreenshot','getSheetId','updatePrintConfig','layoutConfig','saveScreenshotToClipboard','cancel','updatePrintRenderConfig','_range','getActiveUniverSheet','7717692GRAHIo','PrintPaperSize','FUniver','beforeCommandExecuted','amd','CancelSheetPrintOperation','getUnitId','2830305UvoVFm','PrintFreeze','BeforeSheetPrintOpen','@univerjs-pro/sheets-print','Event','fireEvent','syncExecuteCommand','BeforeSheetPrintConfirm','981113ZSfLEy'];_0x2cf8=function(){return _0x4159c9;};return _0x2cf8();}