@univerjs-pro/sheets-print 0.21.0 → 0.21.1

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 (57) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +14 -14
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x14eb18=_0x68f0;(function(_0x200843,_0x1730c6){const _0x2ed80f=_0x68f0,_0x4d45ab=_0x200843();while(!![]){try{const _0x29c9b9=parseInt(_0x2ed80f(0x198))/0x1+-parseInt(_0x2ed80f(0x19a))/0x2*(parseInt(_0x2ed80f(0x193))/0x3)+-parseInt(_0x2ed80f(0x1b1))/0x4+-parseInt(_0x2ed80f(0x1a1))/0x5+-parseInt(_0x2ed80f(0x19e))/0x6+parseInt(_0x2ed80f(0x1ad))/0x7+parseInt(_0x2ed80f(0x1b5))/0x8*(parseInt(_0x2ed80f(0x1cc))/0x9);if(_0x29c9b9===_0x1730c6)break;else _0x4d45ab['push'](_0x4d45ab['shift']());}catch(_0x1c88ce){_0x4d45ab['push'](_0x4d45ab['shift']());}}}(_0x565e,0x8f643));let _univerjs_pro_sheets_print=require('@univerjs-pro/sheets-print'),_univerjs_core=require('@univerjs/core'),_univerjs_sheets_facade=require('@univerjs/sheets/facade'),_univerjs_core_facade=require('@univerjs/core/facade'),_univerjs_pro_print=require('@univerjs-pro/print');var FWorkbookSheetsPrintMixin=class extends _univerjs_sheets_facade['FWorkbook']{[_0x14eb18(0x1c3)](_0x362b10){const _0x263ef8=_0x14eb18;return this[_0x263ef8(0x1c4)][_0x263ef8(0x1cf)](_univerjs_pro_sheets_print['ISheetPrintManagerService'])['updateLayoutConfig'](_0x362b10),this;}[_0x14eb18(0x19c)](_0x5e2ad1){const _0x100945=_0x14eb18;return this['_injector'][_0x100945(0x1cf)](_univerjs_pro_sheets_print[_0x100945(0x199)])['updateRenderConfig'](_0x5e2ad1),this;}[_0x14eb18(0x1ca)](){const _0x38d0ee=_0x14eb18;return this['_injector'][_0x38d0ee(0x1cf)](_univerjs_core['ICommandService'])[_0x38d0ee(0x1b3)](_univerjs_pro_sheets_print[_0x38d0ee(0x1ce)]['id']);}[_0x14eb18(0x1c9)](){const _0x27abd1=_0x14eb18;return this[_0x27abd1(0x1c4)][_0x27abd1(0x1cf)](_univerjs_core[_0x27abd1(0x1bd)])[_0x27abd1(0x1b3)](_univerjs_pro_sheets_print[_0x27abd1(0x197)]['id']);}['closePrintDialog'](){const _0x4543e5=_0x14eb18;return this[_0x4543e5(0x1c4)][_0x4543e5(0x1cf)](_univerjs_core[_0x4543e5(0x1bd)])[_0x4543e5(0x1b3)](_univerjs_pro_sheets_print['CancelSheetPrintOperation']['id']);}async[_0x14eb18(0x1ac)](){const _0x3ad322=_0x14eb18;if(!(0x0,_univerjs_pro_sheets_print[_0x3ad322(0x1b2)])(this['_injector']))return![];return this[_0x3ad322(0x1c4)][_0x3ad322(0x1cf)](_univerjs_core[_0x3ad322(0x1bd)])[_0x3ad322(0x1c2)](_univerjs_pro_sheets_print[_0x3ad322(0x1b0)]['id']);}};_univerjs_sheets_facade[_0x14eb18(0x1c6)][_0x14eb18(0x1c7)](FWorkbookSheetsPrintMixin);var FRangeSheetsPrint=class extends _univerjs_sheets_facade[_0x14eb18(0x1a7)]{['getScreenshot'](_0x135e65){const _0x18b621=_0x14eb18;if(!(0x0,_univerjs_pro_sheets_print[_0x18b621(0x1b2)])(this[_0x18b621(0x1c4)]))return![];return this[_0x18b621(0x1c4)][_0x18b621(0x1cf)](_univerjs_pro_sheets_print['SheetPrintClientService'])['getRangeImage'](this[_0x18b621(0x1b7)][_0x18b621(0x1a4)](),this['_worksheet'][_0x18b621(0x19f)](),this[_0x18b621(0x1c1)],_0x135e65===null||_0x135e65===void 0x0?void 0x0:_0x135e65['includeHeaders']);}};_univerjs_sheets_facade[_0x14eb18(0x1a7)][_0x14eb18(0x1c7)](FRangeSheetsPrint);function _0x68f0(_0x44b241,_0x1e62bc){_0x44b241=_0x44b241-0x192;const _0x565eb1=_0x565e();let _0x68f0cb=_0x565eb1[_0x44b241];return _0x68f0cb;}var FSheetsPrintEventNameMixin=class extends _univerjs_core_facade[_0x14eb18(0x1ba)]{get[_0x14eb18(0x1b8)](){const _0x44a2cf=_0x14eb18;return _0x44a2cf(0x1b8);}get[_0x14eb18(0x1b6)](){const _0x30c0ce=_0x14eb18;return _0x30c0ce(0x1b6);}get[_0x14eb18(0x1a5)](){const _0x453270=_0x14eb18;return _0x453270(0x1a5);}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x14eb18(0x1cd)](){return'SheetPrintConfirmed';}get[_0x14eb18(0x1bf)](){const _0x551d89=_0x14eb18;return _0x551d89(0x1bf);}};_univerjs_core_facade[_0x14eb18(0x1ba)][_0x14eb18(0x1c7)](FSheetsPrintEventNameMixin);var FSheetsPrintEnumMixin=class extends _univerjs_core_facade['FEnum']{get[_0x14eb18(0x1a0)](){const _0x1a37c2=_0x14eb18;return _univerjs_pro_sheets_print[_0x1a37c2(0x1a0)];}get['PrintAlign'](){const _0x776915=_0x14eb18;return _univerjs_pro_print[_0x776915(0x1a8)];}get['PrintPaperSize'](){const _0x2ef1b7=_0x14eb18;return _univerjs_core[_0x2ef1b7(0x1c8)];}get['PrintPaperMargin'](){return _univerjs_pro_print['PrintPaperMargin'];}get[_0x14eb18(0x1b4)](){const _0x16f6cc=_0x14eb18;return _univerjs_pro_print[_0x16f6cc(0x1b4)];}get[_0x14eb18(0x1ab)](){const _0x1902de=_0x14eb18;return _univerjs_pro_print[_0x1902de(0x1ab)];}get[_0x14eb18(0x1bc)](){const _0x37cb1e=_0x14eb18;return _univerjs_pro_sheets_print[_0x37cb1e(0x1bc)];}get[_0x14eb18(0x19b)](){const _0x4d4432=_0x14eb18;return _univerjs_pro_sheets_print[_0x4d4432(0x19b)];}get[_0x14eb18(0x1c5)](){const _0x5095ca=_0x14eb18;return _univerjs_pro_sheets_print[_0x5095ca(0x1c5)];}};function _0x565e(){const _0x13b78a=['extend','PaperType','openPrintDialog','print','registerEventHandler','2230659jKyBRD','SheetPrintConfirmed','ConfirmSheetPrintOperation','get','getActiveSheet','72NJELST','fireEvent','getActiveUniverSheet','CancelSheetPrintOperation','SheetPrintOpenOperation','584318YEJNCd','ISheetPrintManagerService','21594xOEhqQ','PrintHeaderFooter','updatePrintRenderConfig','onCommandExecuted','6876144MUhMHS','getSheetId','PrintArea','1361305QPwgHU','CanceledError','renderConfig','getUnitId','BeforeSheetPrintCanceled','beforeCommandExecuted','FRange','PrintAlign','_initialize','FEnum','PrintDirection','saveScreenshotToClipboard','3288124LrgmZV','disposeWithMe','layoutConfig','SheetScreenShotOperation','2097052GhXbaC','hasPrintFacadePermission','syncExecuteCommand','PrintScale','56pTAvdB','BeforeSheetPrintConfirm','_workbook','BeforeSheetPrintOpen','SheetPrintOpen','FEventName','FUniver','PrintFreeze','ICommandService','Event','SheetPrintCanceled','cancel','_range','executeCommand','updatePrintConfig','_injector','PrintHeaderFooterSymbol','FWorkbook'];_0x565e=function(){return _0x13b78a;};return _0x565e();}_univerjs_core_facade[_0x14eb18(0x1aa)][_0x14eb18(0x1c7)](FSheetsPrintEnumMixin);var FUniverSheetsPrintMixin=class extends _univerjs_core_facade[_0x14eb18(0x1bb)]{[_0x14eb18(0x1a9)](_0x2f0481){const _0x3f5aad=_0x14eb18,_0xdd4816=_0x2f0481[_0x3f5aad(0x1cf)](_univerjs_core[_0x3f5aad(0x1bd)]);this[_0x3f5aad(0x1ae)](this[_0x3f5aad(0x1cb)](this[_0x3f5aad(0x1be)][_0x3f5aad(0x1b8)],()=>_0xdd4816[_0x3f5aad(0x1a6)](_0x47e0d9=>{const _0x3466fb=_0x3f5aad;if(_0x47e0d9['id']===_univerjs_pro_sheets_print[_0x3466fb(0x197)]['id']){const _0x13cd2f=this[_0x3466fb(0x195)]();if(!_0x13cd2f)return;const _0x51c574={'workbook':_0x13cd2f,'worksheet':_0x13cd2f[_0x3466fb(0x192)]()};if(_0x51c574==null)return;this[_0x3466fb(0x194)](this['Event'][_0x3466fb(0x1b8)],_0x51c574);if(_0x51c574[_0x3466fb(0x1c0)])throw new _univerjs_core['CanceledError']();}}))),this['disposeWithMe'](this[_0x3f5aad(0x1cb)](this['Event'][_0x3f5aad(0x1b6)],()=>_0xdd4816['beforeCommandExecuted'](_0x3e0a13=>{const _0x4ec06d=_0x3f5aad;if(_0x3e0a13['id']===_univerjs_pro_sheets_print['ConfirmSheetPrintOperation']['id']){const _0xe0fcd2=_0x2f0481[_0x4ec06d(0x1cf)](_univerjs_pro_sheets_print[_0x4ec06d(0x199)]);if(!this['getActiveUniverSheet']())return;const _0x3e8793={'layoutConfig':_0xe0fcd2[_0x4ec06d(0x1af)],'renderConfig':_0xe0fcd2['renderConfig']};if(_0x3e8793==null)return;this[_0x4ec06d(0x194)](this[_0x4ec06d(0x1be)]['BeforeSheetPrintConfirm'],_0x3e8793);if(_0x3e8793[_0x4ec06d(0x1c0)])throw new _univerjs_core[(_0x4ec06d(0x1a2))]();}}))),this[_0x3f5aad(0x1ae)](this['registerEventHandler'](this[_0x3f5aad(0x1be)][_0x3f5aad(0x1a5)],()=>_0xdd4816[_0x3f5aad(0x1a6)](_0x597f69=>{const _0x2c3470=_0x3f5aad;if(_0x597f69['id']===_univerjs_pro_sheets_print[_0x2c3470(0x196)]['id']){const _0x5c48c3=_0x2f0481[_0x2c3470(0x1cf)](_univerjs_pro_sheets_print['ISheetPrintManagerService']);if(!this[_0x2c3470(0x195)]())return;const _0x15aee9={'layoutConfig':_0x5c48c3['layoutConfig'],'renderConfig':_0x5c48c3['renderConfig']};if(_0x15aee9==null)return;this[_0x2c3470(0x194)](this[_0x2c3470(0x1be)][_0x2c3470(0x1a5)],_0x15aee9);if(_0x15aee9['cancel'])throw new _univerjs_core[(_0x2c3470(0x1a2))]();}}))),this[_0x3f5aad(0x1ae)](this[_0x3f5aad(0x1cb)](this[_0x3f5aad(0x1be)][_0x3f5aad(0x1b9)],()=>_0xdd4816[_0x3f5aad(0x19d)](_0x3530ce=>{const _0x4c8fe7=_0x3f5aad;if(_0x3530ce['id']===_univerjs_pro_sheets_print['SheetPrintOpenOperation']['id']){const _0x312388=this[_0x4c8fe7(0x195)]();if(!_0x312388)return;const _0x112a1d={'workbook':_0x312388,'worksheet':_0x312388[_0x4c8fe7(0x192)]()};if(_0x112a1d==null)return;this[_0x4c8fe7(0x194)](this[_0x4c8fe7(0x1be)][_0x4c8fe7(0x1b9)],_0x112a1d);}}))),this[_0x3f5aad(0x1ae)](this[_0x3f5aad(0x1cb)](this[_0x3f5aad(0x1be)][_0x3f5aad(0x1cd)],()=>_0xdd4816[_0x3f5aad(0x19d)](_0x41e82a=>{const _0x22743a=_0x3f5aad;if(_0x41e82a['id']===_univerjs_pro_sheets_print[_0x22743a(0x1ce)]['id']){const _0x591da5=_0x2f0481[_0x22743a(0x1cf)](_univerjs_pro_sheets_print[_0x22743a(0x199)]);if(!this[_0x22743a(0x195)]())return;const _0x2acbc0={'layoutConfig':_0x591da5[_0x22743a(0x1af)],'renderConfig':_0x591da5[_0x22743a(0x1a3)]};if(_0x2acbc0==null)return;this[_0x22743a(0x194)](this['Event']['SheetPrintConfirmed'],_0x2acbc0);}}))),this[_0x3f5aad(0x1ae)](this[_0x3f5aad(0x1cb)](this[_0x3f5aad(0x1be)][_0x3f5aad(0x1bf)],()=>_0xdd4816[_0x3f5aad(0x19d)](_0xb45294=>{const _0x548169=_0x3f5aad;if(_0xb45294['id']===_univerjs_pro_sheets_print[_0x548169(0x196)]['id']){const _0xe02ac1=_0x2f0481[_0x548169(0x1cf)](_univerjs_pro_sheets_print[_0x548169(0x199)]);if(!this['getActiveUniverSheet']())return;const _0x33c23e={'layoutConfig':_0xe02ac1['layoutConfig'],'renderConfig':_0xe02ac1[_0x548169(0x1a3)]};if(_0x33c23e==null)return;this[_0x548169(0x194)](this[_0x548169(0x1be)][_0x548169(0x1bf)],_0x33c23e);}})));}};_univerjs_core_facade[_0x14eb18(0x1bb)][_0x14eb18(0x1c7)](FUniverSheetsPrintMixin);
1
+ const _0x92f4e4=_0x180a;(function(_0x1d8e7d,_0x571bbd){const _0x37fbbc=_0x180a,_0x2101b8=_0x1d8e7d();while(!![]){try{const _0x573728=parseInt(_0x37fbbc(0xc6))/0x1+-parseInt(_0x37fbbc(0xac))/0x2+-parseInt(_0x37fbbc(0xa6))/0x3+parseInt(_0x37fbbc(0x92))/0x4*(parseInt(_0x37fbbc(0xb3))/0x5)+-parseInt(_0x37fbbc(0x8f))/0x6*(-parseInt(_0x37fbbc(0xd2))/0x7)+-parseInt(_0x37fbbc(0xbd))/0x8*(parseInt(_0x37fbbc(0x9f))/0x9)+-parseInt(_0x37fbbc(0x9a))/0xa*(parseInt(_0x37fbbc(0xbf))/0xb);if(_0x573728===_0x571bbd)break;else _0x2101b8['push'](_0x2101b8['shift']());}catch(_0x47db3b){_0x2101b8['push'](_0x2101b8['shift']());}}}(_0xc2aa,0x55dda));let _univerjs_pro_sheets_print=require('@univerjs-pro/sheets-print'),_univerjs_core=require('@univerjs/core'),_univerjs_sheets_facade=require('@univerjs/sheets/facade'),_univerjs_core_facade=require('@univerjs/core/facade'),_univerjs_pro_print=require('@univerjs-pro/print');var FWorkbookSheetsPrintMixin=class extends _univerjs_sheets_facade[_0x92f4e4(0xd0)]{[_0x92f4e4(0xbb)](_0x34ba50){const _0x37b10a=_0x92f4e4;return this[_0x37b10a(0xa8)][_0x37b10a(0xa1)](_univerjs_pro_sheets_print['ISheetPrintManagerService'])[_0x37b10a(0x95)](_0x34ba50),this;}[_0x92f4e4(0x9d)](_0x94f48b){const _0x563498=_0x92f4e4;return this[_0x563498(0xa8)]['get'](_univerjs_pro_sheets_print[_0x563498(0xc5)])[_0x563498(0xaa)](_0x94f48b),this;}[_0x92f4e4(0xb2)](){const _0x27d52c=_0x92f4e4;return this[_0x27d52c(0xa8)][_0x27d52c(0xa1)](_univerjs_core['ICommandService'])[_0x27d52c(0xa3)](_univerjs_pro_sheets_print['ConfirmSheetPrintOperation']['id']);}[_0x92f4e4(0xab)](){const _0x37e65f=_0x92f4e4;return this['_injector'][_0x37e65f(0xa1)](_univerjs_core['ICommandService'])[_0x37e65f(0xa3)](_univerjs_pro_sheets_print[_0x37e65f(0xcf)]['id']);}[_0x92f4e4(0x9c)](){const _0x4df6c1=_0x92f4e4;return this['_injector'][_0x4df6c1(0xa1)](_univerjs_core[_0x4df6c1(0xa9)])[_0x4df6c1(0xa3)](_univerjs_pro_sheets_print[_0x4df6c1(0x8d)]['id']);}async[_0x92f4e4(0xc3)](){const _0x5c3e42=_0x92f4e4;if(!(0x0,_univerjs_pro_sheets_print[_0x5c3e42(0x94)])(this[_0x5c3e42(0xa8)]))return![];return this['_injector']['get'](_univerjs_core['ICommandService'])[_0x5c3e42(0x99)](_univerjs_pro_sheets_print[_0x5c3e42(0xa7)]['id']);}};function _0xc2aa(){const _0x45a837=['ICommandService','updateRenderConfig','openPrintDialog','344118lBJHaO','getActiveUniverSheet','FRange','_worksheet','disposeWithMe','BeforeSheetPrintOpen','print','49870kVfgBE','beforeCommandExecuted','FUniver','PrintDirection','PrintArea','PrintFreeze','CanceledError','PrintScale','updatePrintConfig','SheetPrintOpen','64568lycufS','includeHeaders','25883yqRzrr','PrintHeaderFooter','PrintPaperMargin','getActiveSheet','saveScreenshotToClipboard','onCommandExecuted','ISheetPrintManagerService','416629fHNaaf','PrintHeaderFooterSymbol','FEnum','BeforeSheetPrintConfirm','ConfirmSheetPrintOperation','renderConfig','fireEvent','PrintAlign','SheetPrintCanceled','SheetPrintOpenOperation','FWorkbook','SheetPrintConfirmed','105ZXJDzg','PaperType','CancelSheetPrintOperation','cancel','280338NijdcR','_range','layoutConfig','12byMmja','getScreenshot','hasPrintFacadePermission','updateLayoutConfig','registerEventHandler','FEventName','getSheetId','executeCommand','70AJXwYt','_workbook','closePrintDialog','updatePrintRenderConfig','extend','459TTDdHF','BeforeSheetPrintCanceled','get','getUnitId','syncExecuteCommand','Event','getRangeImage','586617EHfhnQ','SheetScreenShotOperation','_injector'];_0xc2aa=function(){return _0x45a837;};return _0xc2aa();}_univerjs_sheets_facade[_0x92f4e4(0xd0)]['extend'](FWorkbookSheetsPrintMixin);var FRangeSheetsPrint=class extends _univerjs_sheets_facade[_0x92f4e4(0xae)]{[_0x92f4e4(0x93)](_0x13ff02){const _0x567149=_0x92f4e4;if(!(0x0,_univerjs_pro_sheets_print[_0x567149(0x94)])(this[_0x567149(0xa8)]))return![];return this['_injector']['get'](_univerjs_pro_sheets_print['SheetPrintClientService'])[_0x567149(0xa5)](this[_0x567149(0x9b)][_0x567149(0xa2)](),this[_0x567149(0xaf)][_0x567149(0x98)](),this[_0x567149(0x90)],_0x13ff02===null||_0x13ff02===void 0x0?void 0x0:_0x13ff02[_0x567149(0xbe)]);}};_univerjs_sheets_facade['FRange'][_0x92f4e4(0x9e)](FRangeSheetsPrint);function _0x180a(_0x5800f3,_0x31c647){_0x5800f3=_0x5800f3-0x8c;const _0xc2aaac=_0xc2aa();let _0x180a33=_0xc2aaac[_0x5800f3];return _0x180a33;}var FSheetsPrintEventNameMixin=class extends _univerjs_core_facade['FEventName']{get[_0x92f4e4(0xb1)](){const _0x55effe=_0x92f4e4;return _0x55effe(0xb1);}get[_0x92f4e4(0xc9)](){const _0x55d7a8=_0x92f4e4;return _0x55d7a8(0xc9);}get[_0x92f4e4(0xa0)](){const _0x105c7f=_0x92f4e4;return _0x105c7f(0xa0);}get[_0x92f4e4(0xbc)](){const _0x21f4f8=_0x92f4e4;return _0x21f4f8(0xbc);}get['SheetPrintConfirmed'](){const _0x4c6a15=_0x92f4e4;return _0x4c6a15(0xd1);}get[_0x92f4e4(0xce)](){const _0x479861=_0x92f4e4;return _0x479861(0xce);}};_univerjs_core_facade[_0x92f4e4(0x97)][_0x92f4e4(0x9e)](FSheetsPrintEventNameMixin);var FSheetsPrintEnumMixin=class extends _univerjs_core_facade['FEnum']{get[_0x92f4e4(0xb7)](){const _0x4bb681=_0x92f4e4;return _univerjs_pro_sheets_print[_0x4bb681(0xb7)];}get[_0x92f4e4(0xcd)](){const _0x1b9c0a=_0x92f4e4;return _univerjs_pro_print[_0x1b9c0a(0xcd)];}get['PrintPaperSize'](){const _0x38cd37=_0x92f4e4;return _univerjs_core[_0x38cd37(0x8c)];}get[_0x92f4e4(0xc1)](){const _0x991a3f=_0x92f4e4;return _univerjs_pro_print[_0x991a3f(0xc1)];}get[_0x92f4e4(0xba)](){const _0x12f80e=_0x92f4e4;return _univerjs_pro_print[_0x12f80e(0xba)];}get[_0x92f4e4(0xb6)](){const _0x4f6f96=_0x92f4e4;return _univerjs_pro_print[_0x4f6f96(0xb6)];}get[_0x92f4e4(0xb8)](){const _0x64aa3a=_0x92f4e4;return _univerjs_pro_sheets_print[_0x64aa3a(0xb8)];}get[_0x92f4e4(0xc0)](){const _0x5e6c58=_0x92f4e4;return _univerjs_pro_sheets_print[_0x5e6c58(0xc0)];}get[_0x92f4e4(0xc7)](){const _0x3d43b5=_0x92f4e4;return _univerjs_pro_sheets_print[_0x3d43b5(0xc7)];}};_univerjs_core_facade[_0x92f4e4(0xc8)][_0x92f4e4(0x9e)](FSheetsPrintEnumMixin);var FUniverSheetsPrintMixin=class extends _univerjs_core_facade[_0x92f4e4(0xb5)]{['_initialize'](_0x4b37e9){const _0x4f04b5=_0x92f4e4,_0x403dec=_0x4b37e9[_0x4f04b5(0xa1)](_univerjs_core[_0x4f04b5(0xa9)]);this['disposeWithMe'](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xb1)],()=>_0x403dec['beforeCommandExecuted'](_0x156141=>{const _0x56b594=_0x4f04b5;if(_0x156141['id']===_univerjs_pro_sheets_print[_0x56b594(0xcf)]['id']){const _0x540d92=this[_0x56b594(0xad)]();if(!_0x540d92)return;const _0x5292a2={'workbook':_0x540d92,'worksheet':_0x540d92['getActiveSheet']()};if(_0x5292a2==null)return;this[_0x56b594(0xcc)](this[_0x56b594(0xa4)][_0x56b594(0xb1)],_0x5292a2);if(_0x5292a2[_0x56b594(0x8e)])throw new _univerjs_core['CanceledError']();}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xc9)],()=>_0x403dec[_0x4f04b5(0xb4)](_0x47a32d=>{const _0x695296=_0x4f04b5;if(_0x47a32d['id']===_univerjs_pro_sheets_print[_0x695296(0xca)]['id']){const _0x5f0943=_0x4b37e9[_0x695296(0xa1)](_univerjs_pro_sheets_print[_0x695296(0xc5)]);if(!this[_0x695296(0xad)]())return;const _0x5baf4c={'layoutConfig':_0x5f0943[_0x695296(0x91)],'renderConfig':_0x5f0943[_0x695296(0xcb)]};if(_0x5baf4c==null)return;this[_0x695296(0xcc)](this['Event']['BeforeSheetPrintConfirm'],_0x5baf4c);if(_0x5baf4c[_0x695296(0x8e)])throw new _univerjs_core['CanceledError']();}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xa0)],()=>_0x403dec['beforeCommandExecuted'](_0xb9dc01=>{const _0x30f48a=_0x4f04b5;if(_0xb9dc01['id']===_univerjs_pro_sheets_print['CancelSheetPrintOperation']['id']){const _0x15ecbb=_0x4b37e9[_0x30f48a(0xa1)](_univerjs_pro_sheets_print['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x481cbf={'layoutConfig':_0x15ecbb['layoutConfig'],'renderConfig':_0x15ecbb[_0x30f48a(0xcb)]};if(_0x481cbf==null)return;this[_0x30f48a(0xcc)](this[_0x30f48a(0xa4)][_0x30f48a(0xa0)],_0x481cbf);if(_0x481cbf[_0x30f48a(0x8e)])throw new _univerjs_core[(_0x30f48a(0xb9))]();}}))),this[_0x4f04b5(0xb0)](this['registerEventHandler'](this[_0x4f04b5(0xa4)][_0x4f04b5(0xbc)],()=>_0x403dec['onCommandExecuted'](_0x436a86=>{const _0xda7cbf=_0x4f04b5;if(_0x436a86['id']===_univerjs_pro_sheets_print[_0xda7cbf(0xcf)]['id']){const _0x354642=this['getActiveUniverSheet']();if(!_0x354642)return;const _0x199cee={'workbook':_0x354642,'worksheet':_0x354642[_0xda7cbf(0xc2)]()};if(_0x199cee==null)return;this['fireEvent'](this[_0xda7cbf(0xa4)][_0xda7cbf(0xbc)],_0x199cee);}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this[_0x4f04b5(0xa4)][_0x4f04b5(0xd1)],()=>_0x403dec['onCommandExecuted'](_0x47aa25=>{const _0x5327c0=_0x4f04b5;if(_0x47aa25['id']===_univerjs_pro_sheets_print['ConfirmSheetPrintOperation']['id']){const _0x20f0bc=_0x4b37e9['get'](_univerjs_pro_sheets_print[_0x5327c0(0xc5)]);if(!this[_0x5327c0(0xad)]())return;const _0x1f4284={'layoutConfig':_0x20f0bc['layoutConfig'],'renderConfig':_0x20f0bc[_0x5327c0(0xcb)]};if(_0x1f4284==null)return;this[_0x5327c0(0xcc)](this[_0x5327c0(0xa4)][_0x5327c0(0xd1)],_0x1f4284);}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xce)],()=>_0x403dec[_0x4f04b5(0xc4)](_0x26535b=>{const _0x4c5a03=_0x4f04b5;if(_0x26535b['id']===_univerjs_pro_sheets_print[_0x4c5a03(0x8d)]['id']){const _0x16249e=_0x4b37e9[_0x4c5a03(0xa1)](_univerjs_pro_sheets_print[_0x4c5a03(0xc5)]);if(!this[_0x4c5a03(0xad)]())return;const _0x241658={'layoutConfig':_0x16249e[_0x4c5a03(0x91)],'renderConfig':_0x16249e[_0x4c5a03(0xcb)]};if(_0x241658==null)return;this[_0x4c5a03(0xcc)](this[_0x4c5a03(0xa4)][_0x4c5a03(0xce)],_0x241658);}})));}};_univerjs_core_facade['FUniver'][_0x92f4e4(0x9e)](FUniverSheetsPrintMixin);