@univerjs-pro/sheets-print 0.8.3 → 0.9.0

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 +40 -40
  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 +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x5646(_0x3c5923,_0x287f7d){const _0x3cce2c=_0x3cce();return _0x5646=function(_0x564645,_0x1c6067){_0x564645=_0x564645-0x105;let _0x4bd581=_0x3cce2c[_0x564645];return _0x4bd581;},_0x5646(_0x3c5923,_0x287f7d);}const _0x395013=_0x5646;(function(_0x14390d,_0x306ec3){const _0x4f4d3d=_0x5646,_0x587f11=_0x14390d();while(!![]){try{const _0x45024b=-parseInt(_0x4f4d3d(0x134))/0x1*(-parseInt(_0x4f4d3d(0x105))/0x2)+parseInt(_0x4f4d3d(0x128))/0x3*(parseInt(_0x4f4d3d(0x12b))/0x4)+-parseInt(_0x4f4d3d(0x127))/0x5+parseInt(_0x4f4d3d(0x142))/0x6+parseInt(_0x4f4d3d(0x107))/0x7+-parseInt(_0x4f4d3d(0x115))/0x8*(parseInt(_0x4f4d3d(0x106))/0x9)+parseInt(_0x4f4d3d(0x11c))/0xa;if(_0x45024b===_0x306ec3)break;else _0x587f11['push'](_0x587f11['shift']());}catch(_0x424dc6){_0x587f11['push'](_0x587f11['shift']());}}}(_0x3cce,0x61b9f));const e=require(_0x395013(0x12d)),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require(_0x395013(0x12f)),c=require(_0x395013(0x10d));class S extends d['FWorkbook']{['updatePrintConfig'](_0x474a77){const _0x506527=_0x395013;return this[_0x506527(0x138)]['get'](e[_0x506527(0x11b)])[_0x506527(0x119)](_0x474a77),this;}['updatePrintRenderConfig'](_0x4ac8ed){const _0x203b1a=_0x395013;return this['_injector'][_0x203b1a(0x112)](e['ISheetPrintManagerService'])[_0x203b1a(0x109)](_0x4ac8ed),this;}['print'](){const _0x57ef46=_0x395013;return this['_injector'][_0x57ef46(0x112)](a[_0x57ef46(0x13f)])[_0x57ef46(0x12e)](e[_0x57ef46(0x121)]['id']);}['openPrintDialog'](){const _0xe05211=_0x395013;return this['_injector'][_0xe05211(0x112)](a[_0xe05211(0x13f)])[_0xe05211(0x12e)](e[_0xe05211(0x10c)]['id']);}['closePrintDialog'](){const _0x513bd6=_0x395013;return this[_0x513bd6(0x138)]['get'](a[_0x513bd6(0x13f)])[_0x513bd6(0x12e)](e[_0x513bd6(0x12a)]['id']);}async['saveScreenshotToClipboard'](){const _0x54505b=_0x395013;return e[_0x54505b(0x125)](this[_0x54505b(0x138)])?this[_0x54505b(0x138)][_0x54505b(0x112)](a[_0x54505b(0x13f)])[_0x54505b(0x11a)](e[_0x54505b(0x114)]['id']):!0x1;}}d[_0x395013(0x120)][_0x395013(0x110)](S);function _0x3cce(){const _0x3919c4=['PaperType','FEventName','extend','fireEvent','get','getActiveUniverSheet','SheetScreenShotOperation','136axdcoo','PrintPaperMargin','getRangeImage','PrintFreeze','updateLayoutConfig','executeCommand','ISheetPrintManagerService','4021010lEZegW','onCommandExecuted','BeforeSheetPrintConfirm','FRange','FWorkbook','ConfirmSheetPrintOperation','BeforeSheetPrintOpen','PrintScale','SheetPrintCanceled','hasPrintFacadePermission','SheetPrintOpen','3655760JuLJeQ','342693DOqQYt','beforeCommandExecuted','CancelSheetPrintOperation','12VxdevT','getUnitId','@univerjs-pro/sheets-print','syncExecuteCommand','@univerjs/core/facade','SheetPrintClientService','layoutConfig','renderConfig','PrintArea','80185hjMxER','PrintHeaderFooterSymbol','getActiveSheet','getScreenshot','_injector','SheetPrintConfirmed','BeforeSheetPrintCanceled','PrintHeaderFooter','_initialize','Event','PrintAlign','ICommandService','cancel','FUniver','1000380XMstDD','_range','2gtJFTv','99081KhbwrH','2288181hMTiEc','FEnum','updateRenderConfig','CanceledError','registerEventHandler','SheetPrintOpenOperation','@univerjs-pro/print'];_0x3cce=function(){return _0x3919c4;};return _0x3cce();}class f extends d[_0x395013(0x11f)]{[_0x395013(0x137)](){const _0x3f4906=_0x395013;return e['hasPrintFacadePermission'](this[_0x3f4906(0x138)])?this[_0x3f4906(0x138)][_0x3f4906(0x112)](e[_0x3f4906(0x130)])[_0x3f4906(0x117)](this['_workbook'][_0x3f4906(0x12c)](),this['_worksheet']['getSheetId'](),this[_0x3f4906(0x143)]):!0x1;}}d[_0x395013(0x11f)][_0x395013(0x110)](f);class P{get[_0x395013(0x122)](){const _0x153627=_0x395013;return _0x153627(0x122);}get[_0x395013(0x11e)](){return'BeforeSheetPrintConfirm';}get[_0x395013(0x13a)](){return'BeforeSheetPrintCanceled';}get[_0x395013(0x126)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x2d70de=_0x395013;return _0x2d70de(0x139);}get[_0x395013(0x124)](){const _0xd42ca=_0x395013;return _0xd42ca(0x124);}}g[_0x395013(0x10f)]['extend'](P);class u{get[_0x395013(0x133)](){const _0x57d876=_0x395013;return e[_0x57d876(0x133)];}get[_0x395013(0x13e)](){const _0x5f568e=_0x395013;return c[_0x5f568e(0x13e)];}get['PrintPaperSize'](){const _0x1c06ad=_0x395013;return a[_0x1c06ad(0x10e)];}get[_0x395013(0x116)](){return c['PrintPaperMargin'];}get[_0x395013(0x123)](){const _0x589a09=_0x395013;return c[_0x589a09(0x123)];}get['PrintDirection'](){return c['PrintDirection'];}get['PrintFreeze'](){const _0x4b742d=_0x395013;return e[_0x4b742d(0x118)];}get[_0x395013(0x13b)](){const _0x15461d=_0x395013;return e[_0x15461d(0x13b)];}get[_0x395013(0x135)](){return e['PrintHeaderFooterSymbol'];}}g[_0x395013(0x108)][_0x395013(0x110)](u);class l extends g[_0x395013(0x141)]{[_0x395013(0x13c)](_0x712d2b){const _0xe82fc5=_0x395013,_0x1aae77=_0x712d2b[_0xe82fc5(0x112)](a['ICommandService']);this[_0xe82fc5(0x10b)](this['Event'][_0xe82fc5(0x122)],()=>_0x1aae77[_0xe82fc5(0x129)](_0x2f5c81=>{const _0x1a8fba=_0xe82fc5;if(_0x2f5c81['id']===e[_0x1a8fba(0x10c)]['id']){const _0x3c9884=this[_0x1a8fba(0x113)]();if(!_0x3c9884)return;const _0x598e93={'workbook':_0x3c9884,'worksheet':_0x3c9884[_0x1a8fba(0x136)]()};if(_0x598e93==null)return;if(this[_0x1a8fba(0x111)](this[_0x1a8fba(0x13d)]['BeforeSheetPrintOpen'],_0x598e93),_0x598e93[_0x1a8fba(0x140)])throw new a['CanceledError']();}})),this[_0xe82fc5(0x10b)](this[_0xe82fc5(0x13d)]['BeforeSheetPrintConfirm'],()=>_0x1aae77['beforeCommandExecuted'](_0xdbb8f9=>{const _0x4716c8=_0xe82fc5;if(_0xdbb8f9['id']===e[_0x4716c8(0x121)]['id']){const _0x1f7139=_0x712d2b[_0x4716c8(0x112)](e[_0x4716c8(0x11b)]);if(!this['getActiveUniverSheet']())return;const _0x528137={'layoutConfig':_0x1f7139['layoutConfig'],'renderConfig':_0x1f7139[_0x4716c8(0x132)]};if(_0x528137==null)return;if(this[_0x4716c8(0x111)](this[_0x4716c8(0x13d)]['BeforeSheetPrintConfirm'],_0x528137),_0x528137['cancel'])throw new a[(_0x4716c8(0x10a))]();}})),this[_0xe82fc5(0x10b)](this['Event'][_0xe82fc5(0x13a)],()=>_0x1aae77['beforeCommandExecuted'](_0x4bfb9e=>{const _0x3bceca=_0xe82fc5;if(_0x4bfb9e['id']===e['CancelSheetPrintOperation']['id']){const _0x34ab5e=_0x712d2b[_0x3bceca(0x112)](e[_0x3bceca(0x11b)]);if(!this[_0x3bceca(0x113)]())return;const _0x32fb4d={'layoutConfig':_0x34ab5e[_0x3bceca(0x131)],'renderConfig':_0x34ab5e['renderConfig']};if(_0x32fb4d==null)return;if(this['fireEvent'](this[_0x3bceca(0x13d)][_0x3bceca(0x13a)],_0x32fb4d),_0x32fb4d['cancel'])throw new a[(_0x3bceca(0x10a))]();}})),this[_0xe82fc5(0x10b)](this[_0xe82fc5(0x13d)]['SheetPrintOpen'],()=>_0x1aae77['onCommandExecuted'](_0x302496=>{const _0x163f93=_0xe82fc5;if(_0x302496['id']===e[_0x163f93(0x10c)]['id']){const _0x1e0d65=this['getActiveUniverSheet']();if(!_0x1e0d65)return;const _0x11dbc0={'workbook':_0x1e0d65,'worksheet':_0x1e0d65[_0x163f93(0x136)]()};if(_0x11dbc0==null)return;this['fireEvent'](this[_0x163f93(0x13d)][_0x163f93(0x126)],_0x11dbc0);}})),this[_0xe82fc5(0x10b)](this[_0xe82fc5(0x13d)][_0xe82fc5(0x139)],()=>_0x1aae77[_0xe82fc5(0x11d)](_0x14f0b3=>{const _0x22162f=_0xe82fc5;if(_0x14f0b3['id']===e[_0x22162f(0x121)]['id']){const _0x2a40ce=_0x712d2b['get'](e[_0x22162f(0x11b)]);if(!this[_0x22162f(0x113)]())return;const _0x48fd5a={'layoutConfig':_0x2a40ce[_0x22162f(0x131)],'renderConfig':_0x2a40ce[_0x22162f(0x132)]};if(_0x48fd5a==null)return;this[_0x22162f(0x111)](this[_0x22162f(0x13d)][_0x22162f(0x139)],_0x48fd5a);}})),this[_0xe82fc5(0x10b)](this[_0xe82fc5(0x13d)]['SheetPrintCanceled'],()=>_0x1aae77['onCommandExecuted'](_0x442836=>{const _0x2ab27e=_0xe82fc5;if(_0x442836['id']===e[_0x2ab27e(0x12a)]['id']){const _0x53752f=_0x712d2b['get'](e[_0x2ab27e(0x11b)]);if(!this[_0x2ab27e(0x113)]())return;const _0x344005={'layoutConfig':_0x53752f['layoutConfig'],'renderConfig':_0x53752f[_0x2ab27e(0x132)]};if(_0x344005==null)return;this[_0x2ab27e(0x111)](this[_0x2ab27e(0x13d)][_0x2ab27e(0x124)],_0x344005);}}));}}g[_0x395013(0x141)][_0x395013(0x110)](l);
1
+ 'use strict';const _0x2c3258=_0xe03a;(function(_0x30385c,_0x50c814){const _0x39c6d7=_0xe03a,_0x1ccbdf=_0x30385c();while(!![]){try{const _0x57dda8=-parseInt(_0x39c6d7(0x125))/0x1+parseInt(_0x39c6d7(0x121))/0x2*(parseInt(_0x39c6d7(0x132))/0x3)+parseInt(_0x39c6d7(0x111))/0x4*(-parseInt(_0x39c6d7(0x115))/0x5)+-parseInt(_0x39c6d7(0x11a))/0x6*(-parseInt(_0x39c6d7(0x12b))/0x7)+-parseInt(_0x39c6d7(0x13e))/0x8+parseInt(_0x39c6d7(0x129))/0x9*(parseInt(_0x39c6d7(0x113))/0xa)+parseInt(_0x39c6d7(0x142))/0xb;if(_0x57dda8===_0x50c814)break;else _0x1ccbdf['push'](_0x1ccbdf['shift']());}catch(_0x360f4d){_0x1ccbdf['push'](_0x1ccbdf['shift']());}}}(_0x5706,0xa0285));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[_0x2c3258(0x12e)]{[_0x2c3258(0x13b)](_0x36e22a){const _0x1e84dd=_0x2c3258;return this['_injector'][_0x1e84dd(0x127)](e[_0x1e84dd(0x145)])[_0x1e84dd(0x148)](_0x36e22a),this;}['updatePrintRenderConfig'](_0x4ab427){const _0x4ccbbb=_0x2c3258;return this[_0x4ccbbb(0x144)][_0x4ccbbb(0x127)](e[_0x4ccbbb(0x145)])[_0x4ccbbb(0x10d)](_0x4ab427),this;}[_0x2c3258(0x12c)](){const _0x481478=_0x2c3258;return this[_0x481478(0x144)][_0x481478(0x127)](a[_0x481478(0x120)])['syncExecuteCommand'](e['ConfirmSheetPrintOperation']['id']);}[_0x2c3258(0x14a)](){const _0x3ee751=_0x2c3258;return this['_injector'][_0x3ee751(0x127)](a['ICommandService'])[_0x3ee751(0x10a)](e[_0x3ee751(0x141)]['id']);}['closePrintDialog'](){const _0x5b1eb6=_0x2c3258;return this[_0x5b1eb6(0x144)][_0x5b1eb6(0x127)](a['ICommandService'])[_0x5b1eb6(0x10a)](e[_0x5b1eb6(0x146)]['id']);}async[_0x2c3258(0x116)](){const _0x445b1d=_0x2c3258;return e[_0x445b1d(0x124)](this[_0x445b1d(0x144)])?this[_0x445b1d(0x144)][_0x445b1d(0x127)](a[_0x445b1d(0x120)])['executeCommand'](e[_0x445b1d(0x11f)]['id']):!0x1;}}d[_0x2c3258(0x12e)][_0x2c3258(0x134)](S);class f extends d[_0x2c3258(0x147)]{[_0x2c3258(0x131)](){const _0x48c976=_0x2c3258;return e[_0x48c976(0x124)](this[_0x48c976(0x144)])?this[_0x48c976(0x144)][_0x48c976(0x127)](e[_0x48c976(0x11c)])[_0x48c976(0x10f)](this[_0x48c976(0x128)][_0x48c976(0x12d)](),this[_0x48c976(0x12f)]['getSheetId'](),this[_0x48c976(0x114)]):!0x1;}}d[_0x2c3258(0x147)][_0x2c3258(0x134)](f);function _0xe03a(_0x317215,_0x1e2ee1){const _0x570676=_0x5706();return _0xe03a=function(_0xe03a98,_0x3e8849){_0xe03a98=_0xe03a98-0x10a;let _0xa4e2ae=_0x570676[_0xe03a98];return _0xa4e2ae;},_0xe03a(_0x317215,_0x1e2ee1);}class P{get[_0x2c3258(0x10b)](){const _0x27f480=_0x2c3258;return _0x27f480(0x10b);}get[_0x2c3258(0x110)](){const _0x487ed1=_0x2c3258;return _0x487ed1(0x110);}get[_0x2c3258(0x138)](){const _0x471583=_0x2c3258;return _0x471583(0x138);}get[_0x2c3258(0x149)](){const _0x56c833=_0x2c3258;return _0x56c833(0x149);}get['SheetPrintConfirmed'](){const _0x58d412=_0x2c3258;return _0x58d412(0x10e);}get[_0x2c3258(0x135)](){return'SheetPrintCanceled';}}g[_0x2c3258(0x122)][_0x2c3258(0x134)](P);function _0x5706(){const _0x5b015e=['PrintPaperSize','updateRenderConfig','SheetPrintConfirmed','getRangeImage','BeforeSheetPrintConfirm','356nzflTd','PrintAlign','310ZtljtN','_range','36535EoHGSU','saveScreenshotToClipboard','renderConfig','PrintFreeze','fireEvent','36JCWNTI','beforeCommandExecuted','SheetPrintClientService','Event','PrintScale','SheetScreenShotOperation','ICommandService','2mHSWEz','FEventName','ConfirmSheetPrintOperation','hasPrintFacadePermission','1239779txMoYz','PrintArea','get','_workbook','33993hTuwji','PrintPaperMargin','46571ohxsDF','print','getUnitId','FWorkbook','_worksheet','PrintDirection','getScreenshot','857958SObyMd','_initialize','extend','SheetPrintCanceled','cancel','onCommandExecuted','BeforeSheetPrintCanceled','getActiveSheet','CanceledError','updatePrintConfig','getActiveUniverSheet','registerEventHandler','10346920WmHLXA','PrintHeaderFooterSymbol','layoutConfig','SheetPrintOpenOperation','37361291tEWFVr','PaperType','_injector','ISheetPrintManagerService','CancelSheetPrintOperation','FRange','updateLayoutConfig','SheetPrintOpen','openPrintDialog','FUniver','syncExecuteCommand','BeforeSheetPrintOpen'];_0x5706=function(){return _0x5b015e;};return _0x5706();}class u{get[_0x2c3258(0x126)](){const _0x21244a=_0x2c3258;return e[_0x21244a(0x126)];}get[_0x2c3258(0x112)](){const _0x24290e=_0x2c3258;return c[_0x24290e(0x112)];}get[_0x2c3258(0x10c)](){const _0x4c65bb=_0x2c3258;return a[_0x4c65bb(0x143)];}get[_0x2c3258(0x12a)](){return c['PrintPaperMargin'];}get[_0x2c3258(0x11e)](){const _0x5c6720=_0x2c3258;return c[_0x5c6720(0x11e)];}get[_0x2c3258(0x130)](){const _0x59596b=_0x2c3258;return c[_0x59596b(0x130)];}get['PrintFreeze'](){const _0x584cd3=_0x2c3258;return e[_0x584cd3(0x118)];}get['PrintHeaderFooter'](){return e['PrintHeaderFooter'];}get[_0x2c3258(0x13f)](){return e['PrintHeaderFooterSymbol'];}}g['FEnum'][_0x2c3258(0x134)](u);class l extends g[_0x2c3258(0x14b)]{[_0x2c3258(0x133)](_0x5608f1){const _0x142180=_0x2c3258,_0x16652b=_0x5608f1[_0x142180(0x127)](a['ICommandService']);this['registerEventHandler'](this[_0x142180(0x11d)][_0x142180(0x10b)],()=>_0x16652b['beforeCommandExecuted'](_0xe8a330=>{const _0x3bc1b7=_0x142180;if(_0xe8a330['id']===e[_0x3bc1b7(0x141)]['id']){const _0x338b10=this['getActiveUniverSheet']();if(!_0x338b10)return;const _0x43f1c7={'workbook':_0x338b10,'worksheet':_0x338b10[_0x3bc1b7(0x139)]()};if(_0x43f1c7==null)return;if(this[_0x3bc1b7(0x119)](this[_0x3bc1b7(0x11d)][_0x3bc1b7(0x10b)],_0x43f1c7),_0x43f1c7[_0x3bc1b7(0x136)])throw new a['CanceledError']();}})),this[_0x142180(0x13d)](this[_0x142180(0x11d)][_0x142180(0x110)],()=>_0x16652b[_0x142180(0x11b)](_0x5816ae=>{const _0x131c6b=_0x142180;if(_0x5816ae['id']===e[_0x131c6b(0x123)]['id']){const _0x251e89=_0x5608f1[_0x131c6b(0x127)](e[_0x131c6b(0x145)]);if(!this[_0x131c6b(0x13c)]())return;const _0x34dc8c={'layoutConfig':_0x251e89[_0x131c6b(0x140)],'renderConfig':_0x251e89[_0x131c6b(0x117)]};if(_0x34dc8c==null)return;if(this[_0x131c6b(0x119)](this[_0x131c6b(0x11d)][_0x131c6b(0x110)],_0x34dc8c),_0x34dc8c[_0x131c6b(0x136)])throw new a[(_0x131c6b(0x13a))]();}})),this['registerEventHandler'](this['Event']['BeforeSheetPrintCanceled'],()=>_0x16652b[_0x142180(0x11b)](_0x578d55=>{const _0x240b84=_0x142180;if(_0x578d55['id']===e[_0x240b84(0x146)]['id']){const _0x1fb4f1=_0x5608f1[_0x240b84(0x127)](e[_0x240b84(0x145)]);if(!this[_0x240b84(0x13c)]())return;const _0x31a65e={'layoutConfig':_0x1fb4f1[_0x240b84(0x140)],'renderConfig':_0x1fb4f1[_0x240b84(0x117)]};if(_0x31a65e==null)return;if(this[_0x240b84(0x119)](this[_0x240b84(0x11d)]['BeforeSheetPrintCanceled'],_0x31a65e),_0x31a65e[_0x240b84(0x136)])throw new a['CanceledError']();}})),this[_0x142180(0x13d)](this[_0x142180(0x11d)][_0x142180(0x149)],()=>_0x16652b[_0x142180(0x137)](_0x5e39a0=>{const _0x3d6b06=_0x142180;if(_0x5e39a0['id']===e[_0x3d6b06(0x141)]['id']){const _0x220c4c=this['getActiveUniverSheet']();if(!_0x220c4c)return;const _0x162ed7={'workbook':_0x220c4c,'worksheet':_0x220c4c[_0x3d6b06(0x139)]()};if(_0x162ed7==null)return;this[_0x3d6b06(0x119)](this['Event'][_0x3d6b06(0x149)],_0x162ed7);}})),this['registerEventHandler'](this['Event'][_0x142180(0x10e)],()=>_0x16652b[_0x142180(0x137)](_0x7585bf=>{const _0x2829f3=_0x142180;if(_0x7585bf['id']===e['ConfirmSheetPrintOperation']['id']){const _0x20d4ef=_0x5608f1[_0x2829f3(0x127)](e[_0x2829f3(0x145)]);if(!this[_0x2829f3(0x13c)]())return;const _0x19a33b={'layoutConfig':_0x20d4ef[_0x2829f3(0x140)],'renderConfig':_0x20d4ef[_0x2829f3(0x117)]};if(_0x19a33b==null)return;this[_0x2829f3(0x119)](this['Event']['SheetPrintConfirmed'],_0x19a33b);}})),this[_0x142180(0x13d)](this[_0x142180(0x11d)][_0x142180(0x135)],()=>_0x16652b[_0x142180(0x137)](_0x5d98c2=>{const _0x1c7552=_0x142180;if(_0x5d98c2['id']===e[_0x1c7552(0x146)]['id']){const _0x3437ca=_0x5608f1[_0x1c7552(0x127)](e[_0x1c7552(0x145)]);if(!this[_0x1c7552(0x13c)]())return;const _0x55c05c={'layoutConfig':_0x3437ca[_0x1c7552(0x140)],'renderConfig':_0x3437ca[_0x1c7552(0x117)]};if(_0x55c05c==null)return;this[_0x1c7552(0x119)](this[_0x1c7552(0x11d)][_0x1c7552(0x135)],_0x55c05c);}}));}}g[_0x2c3258(0x14b)][_0x2c3258(0x134)](l);