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

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 +43 -43
  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 +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x93cc6b=_0x492b;(function(_0xd4e6ac,_0x2b0251){const _0x1c542e=_0x492b,_0x96c175=_0xd4e6ac();while(!![]){try{const _0x4be074=parseInt(_0x1c542e(0x1c4))/0x1*(parseInt(_0x1c542e(0x1cd))/0x2)+parseInt(_0x1c542e(0x1b8))/0x3*(-parseInt(_0x1c542e(0x1d8))/0x4)+-parseInt(_0x1c542e(0x1ea))/0x5+parseInt(_0x1c542e(0x1eb))/0x6+parseInt(_0x1c542e(0x1c8))/0x7*(parseInt(_0x1c542e(0x1db))/0x8)+parseInt(_0x1c542e(0x1c9))/0x9*(-parseInt(_0x1c542e(0x1e9))/0xa)+-parseInt(_0x1c542e(0x1d7))/0xb;if(_0x4be074===_0x2b0251)break;else _0x96c175['push'](_0x96c175['shift']());}catch(_0x807c36){_0x96c175['push'](_0x96c175['shift']());}}}(_0x52e0,0x9373f));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['FWorkbook']{[_0x93cc6b(0x1b2)](_0x31eb96){const _0x19775d=_0x93cc6b;return this[_0x19775d(0x1d5)]['get'](e[_0x19775d(0x1ef)])[_0x19775d(0x1ee)](_0x31eb96),this;}[_0x93cc6b(0x1b4)](_0x4dfba6){const _0x4b71da=_0x93cc6b;return this[_0x4b71da(0x1d5)]['get'](e[_0x4b71da(0x1ef)])['updateRenderConfig'](_0x4dfba6),this;}[_0x93cc6b(0x1c6)](){const _0x2f9409=_0x93cc6b;return this[_0x2f9409(0x1d5)][_0x2f9409(0x1c3)](a['ICommandService'])[_0x2f9409(0x1e7)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x1d35d7=_0x93cc6b;return this[_0x1d35d7(0x1d5)][_0x1d35d7(0x1c3)](a['ICommandService'])[_0x1d35d7(0x1e7)](e[_0x1d35d7(0x1d2)]['id']);}[_0x93cc6b(0x1ca)](){const _0xa1702e=_0x93cc6b;return this['_injector'][_0xa1702e(0x1c3)](a[_0xa1702e(0x1da)])[_0xa1702e(0x1e7)](e[_0xa1702e(0x1d9)]['id']);}async[_0x93cc6b(0x1dd)](){const _0x3742f0=_0x93cc6b;return e[_0x3742f0(0x1e1)](this[_0x3742f0(0x1d5)])?this['_injector'][_0x3742f0(0x1c3)](a['ICommandService'])['executeCommand'](e[_0x3742f0(0x1c7)]['id']):!0x1;}}d[_0x93cc6b(0x1df)][_0x93cc6b(0x1e4)](S);class f extends d['FRange']{[_0x93cc6b(0x1e3)](){const _0x12befd=_0x93cc6b;return e[_0x12befd(0x1e1)](this['_injector'])?this[_0x12befd(0x1d5)][_0x12befd(0x1c3)](e[_0x12befd(0x1cb)])[_0x12befd(0x1bb)](this[_0x12befd(0x1b0)][_0x12befd(0x1bd)](),this['_worksheet'][_0x12befd(0x1c1)](),this[_0x12befd(0x1b6)]):!0x1;}}d[_0x93cc6b(0x1dc)][_0x93cc6b(0x1e4)](f);function _0x52e0(){const _0xb2cc68=['4186358xOEpiO','20OUzQBH','CancelSheetPrintOperation','ICommandService','7888544WenioB','FRange','saveScreenshotToClipboard','SheetPrintConfirmed','FWorkbook','CanceledError','hasPrintFacadePermission','Event','getScreenshot','extend','PaperType','PrintPaperMargin','syncExecuteCommand','SheetPrintCanceled','1205440IORFuk','3961790TWWXGD','4327578dlkzSK','getActiveSheet','PrintAlign','updateLayoutConfig','ISheetPrintManagerService','registerEventHandler','_workbook','getActiveUniverSheet','updatePrintConfig','PrintDirection','updatePrintRenderConfig','PrintArea','_range','cancel','192969lUYPbS','PrintHeaderFooterSymbol','ConfirmSheetPrintOperation','getRangeImage','fireEvent','getUnitId','FEventName','beforeCommandExecuted','PrintHeaderFooter','getSheetId','BeforeSheetPrintOpen','get','90325okOdkr','renderConfig','print','SheetScreenShotOperation','7uhuQCV','18MRZWoq','closePrintDialog','SheetPrintClientService','FEnum','14WedEvz','BeforeSheetPrintCanceled','onCommandExecuted','PrintFreeze','PrintScale','SheetPrintOpenOperation','SheetPrintOpen','layoutConfig','_injector','BeforeSheetPrintConfirm'];_0x52e0=function(){return _0xb2cc68;};return _0x52e0();}function _0x492b(_0xad08a6,_0x31ceb3){const _0x52e048=_0x52e0();return _0x492b=function(_0x492b6f,_0x3bd705){_0x492b6f=_0x492b6f-0x1af;let _0x539374=_0x52e048[_0x492b6f];return _0x539374;},_0x492b(_0xad08a6,_0x31ceb3);}class P{get[_0x93cc6b(0x1c2)](){const _0x22415c=_0x93cc6b;return _0x22415c(0x1c2);}get[_0x93cc6b(0x1d6)](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){const _0x4e532c=_0x93cc6b;return _0x4e532c(0x1ce);}get['SheetPrintOpen'](){const _0x45e742=_0x93cc6b;return _0x45e742(0x1d3);}get[_0x93cc6b(0x1de)](){return'SheetPrintConfirmed';}get[_0x93cc6b(0x1e8)](){const _0x206f2f=_0x93cc6b;return _0x206f2f(0x1e8);}}g[_0x93cc6b(0x1be)]['extend'](P);class u{get[_0x93cc6b(0x1b5)](){const _0x528352=_0x93cc6b;return e[_0x528352(0x1b5)];}get[_0x93cc6b(0x1ed)](){const _0x42f678=_0x93cc6b;return c[_0x42f678(0x1ed)];}get['PrintPaperSize'](){const _0x445a04=_0x93cc6b;return a[_0x445a04(0x1e5)];}get['PrintPaperMargin'](){const _0x4b27c1=_0x93cc6b;return c[_0x4b27c1(0x1e6)];}get['PrintScale'](){const _0x348760=_0x93cc6b;return c[_0x348760(0x1d1)];}get[_0x93cc6b(0x1b3)](){const _0x5ac215=_0x93cc6b;return c[_0x5ac215(0x1b3)];}get[_0x93cc6b(0x1d0)](){const _0x221ffc=_0x93cc6b;return e[_0x221ffc(0x1d0)];}get[_0x93cc6b(0x1c0)](){const _0x387b2c=_0x93cc6b;return e[_0x387b2c(0x1c0)];}get[_0x93cc6b(0x1b9)](){const _0x5d79c0=_0x93cc6b;return e[_0x5d79c0(0x1b9)];}}g[_0x93cc6b(0x1cc)][_0x93cc6b(0x1e4)](u);class l extends g['FUniver']{['_initialize'](_0xa6b9f5){const _0x2ed7d2=_0x93cc6b,_0x265872=_0xa6b9f5[_0x2ed7d2(0x1c3)](a[_0x2ed7d2(0x1da)]);this[_0x2ed7d2(0x1af)](this['Event'][_0x2ed7d2(0x1c2)],()=>_0x265872[_0x2ed7d2(0x1bf)](_0x464c15=>{const _0x274bfd=_0x2ed7d2;if(_0x464c15['id']===e[_0x274bfd(0x1d2)]['id']){const _0x305e96=this['getActiveUniverSheet']();if(!_0x305e96)return;const _0x388b4e={'workbook':_0x305e96,'worksheet':_0x305e96[_0x274bfd(0x1ec)]()};if(_0x388b4e==null)return;if(this[_0x274bfd(0x1bc)](this[_0x274bfd(0x1e2)]['BeforeSheetPrintOpen'],_0x388b4e),_0x388b4e['cancel'])throw new a[(_0x274bfd(0x1e0))]();}})),this['registerEventHandler'](this[_0x2ed7d2(0x1e2)]['BeforeSheetPrintConfirm'],()=>_0x265872['beforeCommandExecuted'](_0x464a7b=>{const _0x333663=_0x2ed7d2;if(_0x464a7b['id']===e[_0x333663(0x1ba)]['id']){const _0x1cd1eb=_0xa6b9f5[_0x333663(0x1c3)](e[_0x333663(0x1ef)]);if(!this[_0x333663(0x1b1)]())return;const _0x2c7df0={'layoutConfig':_0x1cd1eb[_0x333663(0x1d4)],'renderConfig':_0x1cd1eb['renderConfig']};if(_0x2c7df0==null)return;if(this[_0x333663(0x1bc)](this[_0x333663(0x1e2)][_0x333663(0x1d6)],_0x2c7df0),_0x2c7df0['cancel'])throw new a['CanceledError']();}})),this['registerEventHandler'](this['Event']['BeforeSheetPrintCanceled'],()=>_0x265872[_0x2ed7d2(0x1bf)](_0x10448e=>{const _0x393ed6=_0x2ed7d2;if(_0x10448e['id']===e['CancelSheetPrintOperation']['id']){const _0x58421d=_0xa6b9f5[_0x393ed6(0x1c3)](e[_0x393ed6(0x1ef)]);if(!this[_0x393ed6(0x1b1)]())return;const _0x46200c={'layoutConfig':_0x58421d[_0x393ed6(0x1d4)],'renderConfig':_0x58421d['renderConfig']};if(_0x46200c==null)return;if(this[_0x393ed6(0x1bc)](this[_0x393ed6(0x1e2)][_0x393ed6(0x1ce)],_0x46200c),_0x46200c[_0x393ed6(0x1b7)])throw new a[(_0x393ed6(0x1e0))]();}})),this[_0x2ed7d2(0x1af)](this[_0x2ed7d2(0x1e2)][_0x2ed7d2(0x1d3)],()=>_0x265872[_0x2ed7d2(0x1cf)](_0x406202=>{const _0x2e6fc1=_0x2ed7d2;if(_0x406202['id']===e[_0x2e6fc1(0x1d2)]['id']){const _0x4ebcc5=this[_0x2e6fc1(0x1b1)]();if(!_0x4ebcc5)return;const _0x15338f={'workbook':_0x4ebcc5,'worksheet':_0x4ebcc5[_0x2e6fc1(0x1ec)]()};if(_0x15338f==null)return;this[_0x2e6fc1(0x1bc)](this[_0x2e6fc1(0x1e2)][_0x2e6fc1(0x1d3)],_0x15338f);}})),this[_0x2ed7d2(0x1af)](this[_0x2ed7d2(0x1e2)][_0x2ed7d2(0x1de)],()=>_0x265872['onCommandExecuted'](_0x362a54=>{const _0x141116=_0x2ed7d2;if(_0x362a54['id']===e['ConfirmSheetPrintOperation']['id']){const _0x43cb2d=_0xa6b9f5[_0x141116(0x1c3)](e[_0x141116(0x1ef)]);if(!this[_0x141116(0x1b1)]())return;const _0xfe67da={'layoutConfig':_0x43cb2d[_0x141116(0x1d4)],'renderConfig':_0x43cb2d['renderConfig']};if(_0xfe67da==null)return;this[_0x141116(0x1bc)](this[_0x141116(0x1e2)][_0x141116(0x1de)],_0xfe67da);}})),this[_0x2ed7d2(0x1af)](this['Event']['SheetPrintCanceled'],()=>_0x265872[_0x2ed7d2(0x1cf)](_0x4469bd=>{const _0x2bdb1e=_0x2ed7d2;if(_0x4469bd['id']===e[_0x2bdb1e(0x1d9)]['id']){const _0x18de6e=_0xa6b9f5['get'](e[_0x2bdb1e(0x1ef)]);if(!this[_0x2bdb1e(0x1b1)]())return;const _0x5423ef={'layoutConfig':_0x18de6e[_0x2bdb1e(0x1d4)],'renderConfig':_0x18de6e[_0x2bdb1e(0x1c5)]};if(_0x5423ef==null)return;this['fireEvent'](this['Event'][_0x2bdb1e(0x1e8)],_0x5423ef);}}));}}g['FUniver'][_0x93cc6b(0x1e4)](l);
1
+ 'use strict';const _0xed3aba=_0x2972;(function(_0x5c57dc,_0x2d6899){const _0x3d5730=_0x2972,_0x391ce5=_0x5c57dc();while(!![]){try{const _0x12939c=parseInt(_0x3d5730(0xc6))/0x1+-parseInt(_0x3d5730(0xa6))/0x2+parseInt(_0x3d5730(0xba))/0x3*(-parseInt(_0x3d5730(0xcc))/0x4)+-parseInt(_0x3d5730(0xaf))/0x5*(-parseInt(_0x3d5730(0xce))/0x6)+-parseInt(_0x3d5730(0xa8))/0x7+parseInt(_0x3d5730(0xa4))/0x8+-parseInt(_0x3d5730(0xaa))/0x9*(-parseInt(_0x3d5730(0xc3))/0xa);if(_0x12939c===_0x2d6899)break;else _0x391ce5['push'](_0x391ce5['shift']());}catch(_0x4a53f1){_0x391ce5['push'](_0x391ce5['shift']());}}}(_0x5467,0x3653d));function _0x2972(_0x4084b5,_0x2d402d){const _0x546741=_0x5467();return _0x2972=function(_0x297208,_0x3ed01c){_0x297208=_0x297208-0x9a;let _0xbd2b27=_0x546741[_0x297208];return _0xbd2b27;},_0x2972(_0x4084b5,_0x2d402d);}function _0x5467(){const _0x541b7e=['321850Wroavo','getSheetId','renderConfig','416595hPbJJA','PrintHeaderFooterSymbol','_worksheet','SheetScreenShotOperation','updatePrintConfig','onCommandExecuted','60ABSXuV','ICommandService','5142viVFPK','PrintPaperMargin','saveScreenshotToClipboard','SheetPrintOpen','ISheetPrintManagerService','getActiveUniverSheet','updateLayoutConfig','BeforeSheetPrintConfirm','PrintPaperSize','SheetPrintOpenOperation','getUnitId','getActiveSheet','cancel','_injector','getScreenshot','registerEventHandler','SheetPrintCanceled','PrintFreeze','hasPrintFacadePermission','ConfirmSheetPrintOperation','PrintScale','extend','CancelSheetPrintOperation','121120SWDOfM','closePrintDialog','370690LSnzAQ','PrintDirection','1227394HZDVUg','BeforeSheetPrintOpen','45eMxsZA','get','FEventName','FRange','PrintAlign','305UTVOck','PrintHeaderFooter','_range','SheetPrintClientService','PrintArea','layoutConfig','executeCommand','openPrintDialog','FWorkbook','updatePrintRenderConfig','CanceledError','12345OfovYf','Event','syncExecuteCommand','_workbook','SheetPrintConfirmed','FUniver','beforeCommandExecuted','BeforeSheetPrintCanceled','fireEvent'];_0x5467=function(){return _0x541b7e;};return _0x5467();}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['FWorkbook']{[_0xed3aba(0xca)](_0x49071d){const _0x59ca05=_0xed3aba;return this[_0x59ca05(0x9a)]['get'](e[_0x59ca05(0xd2)])[_0x59ca05(0xd4)](_0x49071d),this;}[_0xed3aba(0xb8)](_0x231f06){const _0x44e99e=_0xed3aba;return this[_0x44e99e(0x9a)][_0x44e99e(0xab)](e[_0x44e99e(0xd2)])['updateRenderConfig'](_0x231f06),this;}['print'](){const _0x195a08=_0xed3aba;return this[_0x195a08(0x9a)][_0x195a08(0xab)](a[_0x195a08(0xcd)])[_0x195a08(0xbc)](e[_0x195a08(0xa0)]['id']);}[_0xed3aba(0xb6)](){const _0x861cc2=_0xed3aba;return this[_0x861cc2(0x9a)][_0x861cc2(0xab)](a[_0x861cc2(0xcd)])[_0x861cc2(0xbc)](e[_0x861cc2(0xd7)]['id']);}[_0xed3aba(0xa5)](){const _0x1d62a8=_0xed3aba;return this[_0x1d62a8(0x9a)][_0x1d62a8(0xab)](a['ICommandService'])[_0x1d62a8(0xbc)](e[_0x1d62a8(0xa3)]['id']);}async[_0xed3aba(0xd0)](){const _0x438677=_0xed3aba;return e[_0x438677(0x9f)](this[_0x438677(0x9a)])?this[_0x438677(0x9a)][_0x438677(0xab)](a[_0x438677(0xcd)])[_0x438677(0xb5)](e[_0x438677(0xc9)]['id']):!0x1;}}d[_0xed3aba(0xb7)]['extend'](S);class f extends d['FRange']{[_0xed3aba(0x9b)](){const _0x4a6e52=_0xed3aba;return e['hasPrintFacadePermission'](this[_0x4a6e52(0x9a)])?this[_0x4a6e52(0x9a)]['get'](e[_0x4a6e52(0xb2)])['getRangeImage'](this[_0x4a6e52(0xbd)][_0x4a6e52(0xd8)](),this[_0x4a6e52(0xc8)][_0x4a6e52(0xc4)](),this[_0x4a6e52(0xb1)]):!0x1;}}d[_0xed3aba(0xad)][_0xed3aba(0xa2)](f);class P{get[_0xed3aba(0xa9)](){return'BeforeSheetPrintOpen';}get[_0xed3aba(0xd5)](){const _0x147fea=_0xed3aba;return _0x147fea(0xd5);}get[_0xed3aba(0xc1)](){return'BeforeSheetPrintCanceled';}get[_0xed3aba(0xd1)](){const _0x1e7ca9=_0xed3aba;return _0x1e7ca9(0xd1);}get['SheetPrintConfirmed'](){const _0x46e1c1=_0xed3aba;return _0x46e1c1(0xbe);}get[_0xed3aba(0x9d)](){return'SheetPrintCanceled';}}g[_0xed3aba(0xac)][_0xed3aba(0xa2)](P);class u{get[_0xed3aba(0xb3)](){const _0x198aca=_0xed3aba;return e[_0x198aca(0xb3)];}get[_0xed3aba(0xae)](){const _0x3179b8=_0xed3aba;return c[_0x3179b8(0xae)];}get[_0xed3aba(0xd6)](){return a['PaperType'];}get[_0xed3aba(0xcf)](){const _0x322567=_0xed3aba;return c[_0x322567(0xcf)];}get[_0xed3aba(0xa1)](){const _0x45e752=_0xed3aba;return c[_0x45e752(0xa1)];}get['PrintDirection'](){const _0x2c1933=_0xed3aba;return c[_0x2c1933(0xa7)];}get['PrintFreeze'](){const _0x4287c2=_0xed3aba;return e[_0x4287c2(0x9e)];}get[_0xed3aba(0xb0)](){const _0x23f50d=_0xed3aba;return e[_0x23f50d(0xb0)];}get[_0xed3aba(0xc7)](){const _0x5d50b0=_0xed3aba;return e[_0x5d50b0(0xc7)];}}g['FEnum']['extend'](u);class l extends g[_0xed3aba(0xbf)]{['_initialize'](_0x18d62d){const _0x294656=_0xed3aba,_0x6bcc61=_0x18d62d[_0x294656(0xab)](a['ICommandService']);this['registerEventHandler'](this[_0x294656(0xbb)][_0x294656(0xa9)],()=>_0x6bcc61[_0x294656(0xc0)](_0x3d5283=>{const _0x2a2d07=_0x294656;if(_0x3d5283['id']===e['SheetPrintOpenOperation']['id']){const _0x2594aa=this[_0x2a2d07(0xd3)]();if(!_0x2594aa)return;const _0x566027={'workbook':_0x2594aa,'worksheet':_0x2594aa[_0x2a2d07(0xd9)]()};if(_0x566027==null)return;if(this[_0x2a2d07(0xc2)](this[_0x2a2d07(0xbb)][_0x2a2d07(0xa9)],_0x566027),_0x566027['cancel'])throw new a[(_0x2a2d07(0xb9))]();}})),this['registerEventHandler'](this[_0x294656(0xbb)]['BeforeSheetPrintConfirm'],()=>_0x6bcc61['beforeCommandExecuted'](_0xa89a4b=>{const _0x5643c4=_0x294656;if(_0xa89a4b['id']===e[_0x5643c4(0xa0)]['id']){const _0x568631=_0x18d62d[_0x5643c4(0xab)](e[_0x5643c4(0xd2)]);if(!this[_0x5643c4(0xd3)]())return;const _0x1ce3c7={'layoutConfig':_0x568631[_0x5643c4(0xb4)],'renderConfig':_0x568631[_0x5643c4(0xc5)]};if(_0x1ce3c7==null)return;if(this[_0x5643c4(0xc2)](this[_0x5643c4(0xbb)][_0x5643c4(0xd5)],_0x1ce3c7),_0x1ce3c7['cancel'])throw new a[(_0x5643c4(0xb9))]();}})),this[_0x294656(0x9c)](this['Event'][_0x294656(0xc1)],()=>_0x6bcc61[_0x294656(0xc0)](_0x315d80=>{const _0x46cd9f=_0x294656;if(_0x315d80['id']===e[_0x46cd9f(0xa3)]['id']){const _0x1fce88=_0x18d62d[_0x46cd9f(0xab)](e[_0x46cd9f(0xd2)]);if(!this[_0x46cd9f(0xd3)]())return;const _0x5f2c1b={'layoutConfig':_0x1fce88[_0x46cd9f(0xb4)],'renderConfig':_0x1fce88[_0x46cd9f(0xc5)]};if(_0x5f2c1b==null)return;if(this['fireEvent'](this['Event'][_0x46cd9f(0xc1)],_0x5f2c1b),_0x5f2c1b[_0x46cd9f(0xda)])throw new a[(_0x46cd9f(0xb9))]();}})),this[_0x294656(0x9c)](this['Event']['SheetPrintOpen'],()=>_0x6bcc61['onCommandExecuted'](_0x42feae=>{const _0x14e4d2=_0x294656;if(_0x42feae['id']===e[_0x14e4d2(0xd7)]['id']){const _0x215bab=this[_0x14e4d2(0xd3)]();if(!_0x215bab)return;const _0x58c9f4={'workbook':_0x215bab,'worksheet':_0x215bab[_0x14e4d2(0xd9)]()};if(_0x58c9f4==null)return;this[_0x14e4d2(0xc2)](this[_0x14e4d2(0xbb)][_0x14e4d2(0xd1)],_0x58c9f4);}})),this[_0x294656(0x9c)](this[_0x294656(0xbb)][_0x294656(0xbe)],()=>_0x6bcc61['onCommandExecuted'](_0x4c42b3=>{const _0x22a721=_0x294656;if(_0x4c42b3['id']===e['ConfirmSheetPrintOperation']['id']){const _0x5d2111=_0x18d62d[_0x22a721(0xab)](e[_0x22a721(0xd2)]);if(!this[_0x22a721(0xd3)]())return;const _0x50b38e={'layoutConfig':_0x5d2111['layoutConfig'],'renderConfig':_0x5d2111['renderConfig']};if(_0x50b38e==null)return;this[_0x22a721(0xc2)](this[_0x22a721(0xbb)][_0x22a721(0xbe)],_0x50b38e);}})),this['registerEventHandler'](this[_0x294656(0xbb)][_0x294656(0x9d)],()=>_0x6bcc61[_0x294656(0xcb)](_0xbf05b9=>{const _0x47a49b=_0x294656;if(_0xbf05b9['id']===e['CancelSheetPrintOperation']['id']){const _0x1b3474=_0x18d62d['get'](e[_0x47a49b(0xd2)]);if(!this['getActiveUniverSheet']())return;const _0x724f6c={'layoutConfig':_0x1b3474['layoutConfig'],'renderConfig':_0x1b3474[_0x47a49b(0xc5)]};if(_0x724f6c==null)return;this[_0x47a49b(0xc2)](this[_0x47a49b(0xbb)][_0x47a49b(0x9d)],_0x724f6c);}}));}}g['FUniver'][_0xed3aba(0xa2)](l);