@univerjs-pro/sheets-print 0.5.0 → 0.5.1-nightly.202412011605

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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x42bac8=_0x3207;(function(_0x4a4818,_0x573a18){const _0x2377af=_0x3207,_0x594649=_0x4a4818();while(!![]){try{const _0x9338f5=parseInt(_0x2377af(0xf6))/0x1+-parseInt(_0x2377af(0x101))/0x2+-parseInt(_0x2377af(0xf1))/0x3+parseInt(_0x2377af(0xf5))/0x4*(parseInt(_0x2377af(0xfd))/0x5)+parseInt(_0x2377af(0xf8))/0x6*(-parseInt(_0x2377af(0xf2))/0x7)+parseInt(_0x2377af(0xe7))/0x8*(-parseInt(_0x2377af(0x103))/0x9)+parseInt(_0x2377af(0x106))/0xa;if(_0x9338f5===_0x573a18)break;else _0x594649['push'](_0x594649['shift']());}catch(_0x2185b6){_0x594649['push'](_0x594649['shift']());}}}(_0x2803,0xe13fe));function _0x3207(_0x57df5d,_0x18b6a7){const _0x2803f0=_0x2803();return _0x3207=function(_0x3207f6,_0x16b46d){_0x3207f6=_0x3207f6-0xe6;let _0x5ee2ec=_0x2803f0[_0x3207f6];return _0x5ee2ec;},_0x3207(_0x57df5d,_0x18b6a7);}const t=require(_0x42bac8(0x108)),n=require(_0x42bac8(0xec)),e=require(_0x42bac8(0xfb));class o extends n[_0x42bac8(0xea)]{['updatePrintConfig'](_0x251043){const _0x43a66f=_0x42bac8;return this[_0x43a66f(0xf4)][_0x43a66f(0xfe)](e[_0x43a66f(0xef)])[_0x43a66f(0xed)](_0x251043);}[_0x42bac8(0xe9)](_0x5e225e){const _0x522c73=_0x42bac8;return this[_0x522c73(0xf4)]['get'](e[_0x522c73(0xef)])[_0x522c73(0xfa)](_0x5e225e);}['print'](){const _0x4764a6=_0x42bac8;return this[_0x4764a6(0xf4)][_0x4764a6(0xfe)](t[_0x4764a6(0xff)])[_0x4764a6(0x107)](e['ConfirmSheetPrintOperation']['id']);}[_0x42bac8(0xeb)](){const _0x2df833=_0x42bac8;return this['_injector']['get'](t[_0x2df833(0xff)])[_0x2df833(0x107)](e[_0x2df833(0xf0)]['id']);}[_0x42bac8(0xee)](){const _0x4fc9a0=_0x42bac8;return this[_0x4fc9a0(0xf4)]['get'](t[_0x4fc9a0(0xff)])[_0x4fc9a0(0x107)](e['CancelSheetPrintOperation']['id']);}async[_0x42bac8(0xfc)](){const _0x28e30b=_0x42bac8;return e[_0x28e30b(0xe6)](this[_0x28e30b(0xf4)])?this[_0x28e30b(0xf4)][_0x28e30b(0xfe)](t['ICommandService'])[_0x28e30b(0x100)](e[_0x28e30b(0xf3)]['id']):!0x1;}}n['FWorkbook'][_0x42bac8(0x105)](o);class a extends n['FRange']{[_0x42bac8(0xf7)](){const _0x11b121=_0x42bac8;return e['hasPrintFacadePermission'](this[_0x11b121(0xf4)])?this[_0x11b121(0xf4)][_0x11b121(0xfe)](e['SheetPrintClientService'])[_0x11b121(0x102)](this[_0x11b121(0x104)]['getUnitId'](),this['_worksheet']['getSheetId'](),this[_0x11b121(0xf9)]):!0x1;}}n[_0x42bac8(0xe8)][_0x42bac8(0x105)](a);function _0x2803(){const _0x2ca4ad=['_injector','172JBEhnQ','451797vEdhcV','getScreenshot','12aGvoqp','_range','updateRenderConfig','@univerjs-pro/sheets-print','saveScreenshotToClipboard','45685hHpsVB','get','ICommandService','executeCommand','2805108sTEAIJ','getRangeImage','18gkoZBs','_workbook','extend','53703600NJnHcA','syncExecuteCommand','@univerjs/core','hasPrintFacadePermission','2663528oanpKn','FRange','updatePrintRenderConfig','FWorkbook','openPrintDialog','@univerjs/sheets/facade','updateLayoutConfig','closePrintDialog','ISheetPrintManagerService','SheetPrintOpenOperation','4501284JHwTOD','6032467WkJBli','SheetScreenShotOperation'];_0x2803=function(){return _0x2ca4ad;};return _0x2803();}
1
+ 'use strict';const _0x378dac=_0x4352;function _0x4352(_0x7750c,_0x869ae){const _0x3f3534=_0x3f35();return _0x4352=function(_0x4352c8,_0x4a4605){_0x4352c8=_0x4352c8-0x1cb;let _0x46c8dd=_0x3f3534[_0x4352c8];return _0x46c8dd;},_0x4352(_0x7750c,_0x869ae);}function _0x3f35(){const _0x1b3bfa=['get','ISheetPrintManagerService','getScreenshot','hasPrintFacadePermission','getUnitId','365099nqcXuy','FWorkbook','updateRenderConfig','executeCommand','getSheetId','SheetPrintClientService','274374phTomG','490616ETciGC','ICommandService','1094508FRuUZB','syncExecuteCommand','openPrintDialog','_range','3669088qntZWS','@univerjs/sheets/facade','extend','_injector','_worksheet','7KcvGsB','8126001YWOQRq','closePrintDialog','updatePrintConfig','45njFmOZ','@univerjs-pro/sheets-print','_workbook','ConfirmSheetPrintOperation','updatePrintRenderConfig','SheetPrintOpenOperation','CancelSheetPrintOperation','print','saveScreenshotToClipboard','FRange','36564MVUfpn','getRangeImage'];_0x3f35=function(){return _0x1b3bfa;};return _0x3f35();}(function(_0x126105,_0xf73158){const _0x1b2bc4=_0x4352,_0x4fd48a=_0x126105();while(!![]){try{const _0x171064=-parseInt(_0x1b2bc4(0x1e3))/0x1+parseInt(_0x1b2bc4(0x1ec))/0x2+-parseInt(_0x1b2bc4(0x1dc))/0x3+-parseInt(_0x1b2bc4(0x1f0))/0x4+-parseInt(_0x1b2bc4(0x1d2))/0x5*(-parseInt(_0x1b2bc4(0x1e9))/0x6)+parseInt(_0x1b2bc4(0x1ce))/0x7*(parseInt(_0x1b2bc4(0x1ea))/0x8)+parseInt(_0x1b2bc4(0x1cf))/0x9;if(_0x171064===_0xf73158)break;else _0x4fd48a['push'](_0x4fd48a['shift']());}catch(_0x1e8197){_0x4fd48a['push'](_0x4fd48a['shift']());}}}(_0x3f35,0x996f8));const t=require('@univerjs/core'),n=require(_0x378dac(0x1f1)),e=require(_0x378dac(0x1d3));class o extends n[_0x378dac(0x1e4)]{[_0x378dac(0x1d1)](_0x54aded){const _0x4ecc5c=_0x378dac;return this[_0x4ecc5c(0x1cc)][_0x4ecc5c(0x1de)](e[_0x4ecc5c(0x1df)])['updateLayoutConfig'](_0x54aded);}[_0x378dac(0x1d6)](_0x288879){const _0x4291d5=_0x378dac;return this['_injector'][_0x4291d5(0x1de)](e[_0x4291d5(0x1df)])[_0x4291d5(0x1e5)](_0x288879);}[_0x378dac(0x1d9)](){const _0x33c654=_0x378dac;return this[_0x33c654(0x1cc)][_0x33c654(0x1de)](t[_0x33c654(0x1eb)])[_0x33c654(0x1ed)](e[_0x33c654(0x1d5)]['id']);}[_0x378dac(0x1ee)](){const _0x45931a=_0x378dac;return this['_injector'][_0x45931a(0x1de)](t['ICommandService'])[_0x45931a(0x1ed)](e[_0x45931a(0x1d7)]['id']);}[_0x378dac(0x1d0)](){const _0x4b73fd=_0x378dac;return this[_0x4b73fd(0x1cc)][_0x4b73fd(0x1de)](t[_0x4b73fd(0x1eb)])[_0x4b73fd(0x1ed)](e[_0x4b73fd(0x1d8)]['id']);}async[_0x378dac(0x1da)](){const _0x31cf5d=_0x378dac;return e[_0x31cf5d(0x1e1)](this[_0x31cf5d(0x1cc)])?this[_0x31cf5d(0x1cc)][_0x31cf5d(0x1de)](t[_0x31cf5d(0x1eb)])[_0x31cf5d(0x1e6)](e['SheetScreenShotOperation']['id']):!0x1;}}n[_0x378dac(0x1e4)][_0x378dac(0x1cb)](o);class a extends n[_0x378dac(0x1db)]{[_0x378dac(0x1e0)](){const _0x413a57=_0x378dac;return e[_0x413a57(0x1e1)](this[_0x413a57(0x1cc)])?this[_0x413a57(0x1cc)][_0x413a57(0x1de)](e[_0x413a57(0x1e8)])[_0x413a57(0x1dd)](this[_0x413a57(0x1d4)][_0x413a57(0x1e2)](),this[_0x413a57(0x1cd)][_0x413a57(0x1e7)](),this[_0x413a57(0x1ef)]):!0x1;}}n[_0x378dac(0x1db)][_0x378dac(0x1cb)](a);