@univerjs-pro/sheets-print 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250106-4af1f4e

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 _0x204d96=_0x9324;(function(_0x6bbe53,_0x3f1a12){const _0x140d5f=_0x9324,_0x33c83c=_0x6bbe53();while(!![]){try{const _0x5da06b=parseInt(_0x140d5f(0x1c7))/0x1*(parseInt(_0x140d5f(0x1b5))/0x2)+parseInt(_0x140d5f(0x1b9))/0x3*(parseInt(_0x140d5f(0x1d3))/0x4)+parseInt(_0x140d5f(0x1c6))/0x5*(-parseInt(_0x140d5f(0x1b7))/0x6)+parseInt(_0x140d5f(0x1ae))/0x7*(-parseInt(_0x140d5f(0x1c9))/0x8)+parseInt(_0x140d5f(0x1cb))/0x9*(-parseInt(_0x140d5f(0x1b3))/0xa)+-parseInt(_0x140d5f(0x1ce))/0xb+-parseInt(_0x140d5f(0x1c5))/0xc*(-parseInt(_0x140d5f(0x1c8))/0xd);if(_0x5da06b===_0x3f1a12)break;else _0x33c83c['push'](_0x33c83c['shift']());}catch(_0x3d814c){_0x33c83c['push'](_0x33c83c['shift']());}}}(_0x41bf,0x364c5));function _0x41bf(){const _0x4e3737=['@univerjs/core','SheetPrintClientService','saveScreenshotToClipboard','21656LBAOZv','openPrintDialog','7zWREwd','_injector','executeCommand','syncExecuteCommand','hasPrintFacadePermission','10iYxtnU','ICommandService','1870LQnwVb','extend','72870AnSAEN','@univerjs/sheets/facade','78rcifUq','SheetPrintOpenOperation','getRangeImage','_workbook','FRange','ISheetPrintManagerService','closePrintDialog','updatePrintRenderConfig','@univerjs-pro/sheets-print','get','updateRenderConfig','updatePrintConfig','29508wujMVf','95bZlrKr','221RWhMjF','4069fKOBry','2389432xWMhkY','SheetScreenShotOperation','1023507UxhKPq','getScreenshot','print','2766544khojFm','CancelSheetPrintOperation'];_0x41bf=function(){return _0x4e3737;};return _0x41bf();}const e=require(_0x204d96(0x1c1)),t=require(_0x204d96(0x1d0)),n=require(_0x204d96(0x1b8));class o extends n['FWorkbook']{[_0x204d96(0x1c4)](_0x313c0b){const _0x438e18=_0x204d96;return this['_injector'][_0x438e18(0x1c2)](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x313c0b);}[_0x204d96(0x1c0)](_0xcd8158){const _0x28e595=_0x204d96;return this['_injector']['get'](e[_0x28e595(0x1be)])[_0x28e595(0x1c3)](_0xcd8158);}[_0x204d96(0x1cd)](){const _0x351920=_0x204d96;return this['_injector'][_0x351920(0x1c2)](t[_0x351920(0x1b4)])[_0x351920(0x1b1)](e['ConfirmSheetPrintOperation']['id']);}[_0x204d96(0x1ad)](){const _0x38eb28=_0x204d96;return this[_0x38eb28(0x1af)]['get'](t[_0x38eb28(0x1b4)])[_0x38eb28(0x1b1)](e[_0x38eb28(0x1ba)]['id']);}[_0x204d96(0x1bf)](){const _0x52ef31=_0x204d96;return this[_0x52ef31(0x1af)][_0x52ef31(0x1c2)](t[_0x52ef31(0x1b4)])[_0x52ef31(0x1b1)](e[_0x52ef31(0x1cf)]['id']);}async[_0x204d96(0x1d2)](){const _0x9f6f79=_0x204d96;return e[_0x9f6f79(0x1b2)](this[_0x9f6f79(0x1af)])?this['_injector']['get'](t[_0x9f6f79(0x1b4)])[_0x9f6f79(0x1b0)](e[_0x9f6f79(0x1ca)]['id']):!0x1;}}n['FWorkbook'][_0x204d96(0x1b6)](o);class a extends n['FRange']{[_0x204d96(0x1cc)](){const _0x34209c=_0x204d96;return e[_0x34209c(0x1b2)](this[_0x34209c(0x1af)])?this[_0x34209c(0x1af)]['get'](e[_0x34209c(0x1d1)])[_0x34209c(0x1bb)](this[_0x34209c(0x1bc)]['getUnitId'](),this['_worksheet']['getSheetId'](),this['_range']):!0x1;}}function _0x9324(_0x1f9fed,_0x1972a6){const _0x41bf96=_0x41bf();return _0x9324=function(_0x932444,_0x2fca92){_0x932444=_0x932444-0x1ad;let _0x59dce5=_0x41bf96[_0x932444];return _0x59dce5;},_0x9324(_0x1f9fed,_0x1972a6);}n[_0x204d96(0x1bd)][_0x204d96(0x1b6)](a);
1
+ 'use strict';const _0x3d1545=_0x53c7;(function(_0x816a8f,_0x3c88bd){const _0xbf14a8=_0x53c7,_0x310c4c=_0x816a8f();while(!![]){try{const _0xb724f=-parseInt(_0xbf14a8(0x99))/0x1+-parseInt(_0xbf14a8(0x9b))/0x2*(-parseInt(_0xbf14a8(0xa6))/0x3)+parseInt(_0xbf14a8(0x90))/0x4+parseInt(_0xbf14a8(0x92))/0x5*(-parseInt(_0xbf14a8(0xa2))/0x6)+parseInt(_0xbf14a8(0x8d))/0x7*(parseInt(_0xbf14a8(0x88))/0x8)+-parseInt(_0xbf14a8(0xa7))/0x9*(-parseInt(_0xbf14a8(0x95))/0xa)+-parseInt(_0xbf14a8(0xa1))/0xb*(parseInt(_0xbf14a8(0xaa))/0xc);if(_0xb724f===_0x3c88bd)break;else _0x310c4c['push'](_0x310c4c['shift']());}catch(_0x165559){_0x310c4c['push'](_0x310c4c['shift']());}}}(_0x489a,0xca34a));const e=require(_0x3d1545(0x9d)),t=require(_0x3d1545(0x8e)),n=require(_0x3d1545(0xab));class o extends n[_0x3d1545(0x9a)]{[_0x3d1545(0x96)](_0x2e12de){const _0x2fb497=_0x3d1545;return this[_0x2fb497(0x89)][_0x2fb497(0xa8)](e['ISheetPrintManagerService'])[_0x2fb497(0x85)](_0x2e12de);}[_0x3d1545(0xa5)](_0x3f20a0){const _0x339f57=_0x3d1545;return this[_0x339f57(0x89)][_0x339f57(0xa8)](e['ISheetPrintManagerService'])[_0x339f57(0x8f)](_0x3f20a0);}[_0x3d1545(0xa3)](){const _0x46b09e=_0x3d1545;return this[_0x46b09e(0x89)][_0x46b09e(0xa8)](t[_0x46b09e(0x98)])['syncExecuteCommand'](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x244a60=_0x3d1545;return this[_0x244a60(0x89)]['get'](t['ICommandService'])[_0x244a60(0x97)](e[_0x244a60(0xac)]['id']);}[_0x3d1545(0x86)](){const _0xd7667=_0x3d1545;return this['_injector'][_0xd7667(0xa8)](t['ICommandService'])[_0xd7667(0x97)](e[_0xd7667(0x8c)]['id']);}async['saveScreenshotToClipboard'](){const _0xa89ee7=_0x3d1545;return e[_0xa89ee7(0x94)](this['_injector'])?this[_0xa89ee7(0x89)][_0xa89ee7(0xa8)](t[_0xa89ee7(0x98)])['executeCommand'](e[_0xa89ee7(0x87)]['id']):!0x1;}}n['FWorkbook'][_0x3d1545(0xa4)](o);function _0x53c7(_0x3fe5e1,_0x1ad84b){const _0x489ac7=_0x489a();return _0x53c7=function(_0x53c792,_0x586c03){_0x53c792=_0x53c792-0x85;let _0x12e423=_0x489ac7[_0x53c792];return _0x12e423;},_0x53c7(_0x3fe5e1,_0x1ad84b);}class a extends n[_0x3d1545(0x8b)]{[_0x3d1545(0xa0)](){const _0x490407=_0x3d1545;return e[_0x490407(0x94)](this[_0x490407(0x89)])?this[_0x490407(0x89)][_0x490407(0xa8)](e[_0x490407(0x9f)])[_0x490407(0x9c)](this[_0x490407(0x93)][_0x490407(0x8a)](),this[_0x490407(0xa9)][_0x490407(0x9e)](),this[_0x490407(0x91)]):!0x1;}}function _0x489a(){const _0x2e315a=['2045Sdxzic','_workbook','hasPrintFacadePermission','2465890bcySbM','updatePrintConfig','syncExecuteCommand','ICommandService','1439709cnKdMu','FWorkbook','212bOfBPr','getRangeImage','@univerjs-pro/sheets-print','getSheetId','SheetPrintClientService','getScreenshot','451JxUDbC','15414ioGpTP','print','extend','updatePrintRenderConfig','27507UyWEKC','54BKvzPT','get','_worksheet','144936UJKBQp','@univerjs/sheets/facade','SheetPrintOpenOperation','updateLayoutConfig','closePrintDialog','SheetScreenShotOperation','344xCBtVh','_injector','getUnitId','FRange','CancelSheetPrintOperation','93226jogKMU','@univerjs/core','updateRenderConfig','3158960tfxSOM','_range'];_0x489a=function(){return _0x2e315a;};return _0x489a();}n[_0x3d1545(0x8b)]['extend'](a);