@univerjs-pro/sheets-print 0.5.2 → 0.5.3-nightly.202501051605

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 _0x40de47=_0x3a69;(function(_0x295284,_0x189733){const _0x59d48a=_0x3a69,_0x4bb597=_0x295284();while(!![]){try{const _0x411c26=parseInt(_0x59d48a(0x1df))/0x1*(-parseInt(_0x59d48a(0x1f4))/0x2)+-parseInt(_0x59d48a(0x1f9))/0x3*(parseInt(_0x59d48a(0x200))/0x4)+parseInt(_0x59d48a(0x1ff))/0x5*(-parseInt(_0x59d48a(0x1e3))/0x6)+parseInt(_0x59d48a(0x1e4))/0x7*(parseInt(_0x59d48a(0x1e0))/0x8)+parseInt(_0x59d48a(0x1fb))/0x9+-parseInt(_0x59d48a(0x1e8))/0xa*(parseInt(_0x59d48a(0x1de))/0xb)+parseInt(_0x59d48a(0x1ee))/0xc*(parseInt(_0x59d48a(0x1ef))/0xd);if(_0x411c26===_0x189733)break;else _0x4bb597['push'](_0x4bb597['shift']());}catch(_0x4b314d){_0x4bb597['push'](_0x4bb597['shift']());}}}(_0x571f,0x9f315));const e=require(_0x40de47(0x1e9)),t=require(_0x40de47(0x1f8)),n=require(_0x40de47(0x1ec));class o extends n[_0x40de47(0x1dd)]{[_0x40de47(0x1f7)](_0xca2b2e){const _0x2b28ed=_0x40de47;return this[_0x2b28ed(0x201)][_0x2b28ed(0x1e7)](e[_0x2b28ed(0x1e6)])['updateLayoutConfig'](_0xca2b2e);}[_0x40de47(0x1e2)](_0x20de2a){const _0x2609aa=_0x40de47;return this[_0x2609aa(0x201)][_0x2609aa(0x1e7)](e[_0x2609aa(0x1e6)])[_0x2609aa(0x1fe)](_0x20de2a);}['print'](){const _0x17a7fe=_0x40de47;return this[_0x17a7fe(0x201)][_0x17a7fe(0x1e7)](t['ICommandService'])[_0x17a7fe(0x1f1)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x3d22ab=_0x40de47;return this[_0x3d22ab(0x201)][_0x3d22ab(0x1e7)](t['ICommandService'])[_0x3d22ab(0x1f1)](e['SheetPrintOpenOperation']['id']);}[_0x40de47(0x1ea)](){const _0x25e9f8=_0x40de47;return this[_0x25e9f8(0x201)][_0x25e9f8(0x1e7)](t[_0x25e9f8(0x1f5)])[_0x25e9f8(0x1f1)](e[_0x25e9f8(0x1ed)]['id']);}async[_0x40de47(0x1f2)](){const _0x2b7e3e=_0x40de47;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x2b7e3e(0x201)][_0x2b7e3e(0x1e7)](t['ICommandService'])[_0x2b7e3e(0x1f3)](e[_0x2b7e3e(0x1e5)]['id']):!0x1;}}n[_0x40de47(0x1dd)][_0x40de47(0x1f6)](o);function _0x3a69(_0x3f5830,_0x26c0dd){const _0x571f2d=_0x571f();return _0x3a69=function(_0x3a6974,_0x2a3a3d){_0x3a6974=_0x3a6974-0x1dc;let _0x574594=_0x571f2d[_0x3a6974];return _0x574594;},_0x3a69(_0x3f5830,_0x26c0dd);}class a extends n[_0x40de47(0x1f0)]{[_0x40de47(0x1fa)](){const _0x3e9f8e=_0x40de47;return e[_0x3e9f8e(0x1e1)](this['_injector'])?this[_0x3e9f8e(0x201)]['get'](e[_0x3e9f8e(0x1fc)])[_0x3e9f8e(0x1dc)](this[_0x3e9f8e(0x1eb)]['getUnitId'](),this['_worksheet']['getSheetId'](),this[_0x3e9f8e(0x1fd)]):!0x1;}}n[_0x40de47(0x1f0)][_0x40de47(0x1f6)](a);function _0x571f(){const _0x1d490d=['2472svbUJY','102362gMKUhB','FRange','syncExecuteCommand','saveScreenshotToClipboard','executeCommand','4HFTgMV','ICommandService','extend','updatePrintConfig','@univerjs/core','3367635cnsltS','getScreenshot','8494686dUzwOq','SheetPrintClientService','_range','updateRenderConfig','3016715QzEtuG','4PlRDaG','_injector','getRangeImage','FWorkbook','44cEUiSe','188659yTxhyo','4433896qstyJL','hasPrintFacadePermission','updatePrintRenderConfig','6rvDvbz','7XuFVKY','SheetScreenShotOperation','ISheetPrintManagerService','get','912190KVeasF','@univerjs-pro/sheets-print','closePrintDialog','_workbook','@univerjs/sheets/facade','CancelSheetPrintOperation'];_0x571f=function(){return _0x1d490d;};return _0x571f();}
1
+ 'use strict';const _0x42197e=_0x1eab;(function(_0x2172a4,_0x81c694){const _0x296c34=_0x1eab,_0xd1ec4e=_0x2172a4();while(!![]){try{const _0xf9e971=-parseInt(_0x296c34(0x1b1))/0x1*(parseInt(_0x296c34(0x1a8))/0x2)+parseInt(_0x296c34(0x1b0))/0x3*(-parseInt(_0x296c34(0x1a2))/0x4)+parseInt(_0x296c34(0x199))/0x5*(-parseInt(_0x296c34(0x1b2))/0x6)+-parseInt(_0x296c34(0x19e))/0x7+-parseInt(_0x296c34(0x197))/0x8*(parseInt(_0x296c34(0x193))/0x9)+parseInt(_0x296c34(0x192))/0xa+-parseInt(_0x296c34(0x191))/0xb*(-parseInt(_0x296c34(0x19a))/0xc);if(_0xf9e971===_0x81c694)break;else _0xd1ec4e['push'](_0xd1ec4e['shift']());}catch(_0x2e3e31){_0xd1ec4e['push'](_0xd1ec4e['shift']());}}}(_0x2052,0x3e7aa));const e=require(_0x42197e(0x1a6)),t=require(_0x42197e(0x1a9)),n=require(_0x42197e(0x1aa));class o extends n[_0x42197e(0x1a5)]{[_0x42197e(0x19f)](_0x1d1d73){const _0x29f7a5=_0x42197e;return this[_0x29f7a5(0x19b)][_0x29f7a5(0x1b5)](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x1d1d73);}[_0x42197e(0x19d)](_0x448c95){const _0x381aa6=_0x42197e;return this[_0x381aa6(0x19b)][_0x381aa6(0x1b5)](e[_0x381aa6(0x194)])['updateRenderConfig'](_0x448c95);}[_0x42197e(0x1af)](){const _0x7db2aa=_0x42197e;return this[_0x7db2aa(0x19b)][_0x7db2aa(0x1b5)](t[_0x7db2aa(0x1a0)])[_0x7db2aa(0x19c)](e[_0x7db2aa(0x1b6)]['id']);}[_0x42197e(0x190)](){const _0x39e958=_0x42197e;return this[_0x39e958(0x19b)][_0x39e958(0x1b5)](t[_0x39e958(0x1a0)])[_0x39e958(0x19c)](e[_0x39e958(0x198)]['id']);}[_0x42197e(0x1a3)](){const _0x4770a3=_0x42197e;return this[_0x4770a3(0x19b)]['get'](t[_0x4770a3(0x1a0)])[_0x4770a3(0x19c)](e[_0x4770a3(0x1ab)]['id']);}async['saveScreenshotToClipboard'](){const _0x365c5c=_0x42197e;return e[_0x365c5c(0x196)](this[_0x365c5c(0x19b)])?this[_0x365c5c(0x19b)][_0x365c5c(0x1b5)](t['ICommandService'])[_0x365c5c(0x1ad)](e[_0x365c5c(0x1ac)]['id']):!0x1;}}function _0x1eab(_0x2448ce,_0x85fa59){const _0x205247=_0x2052();return _0x1eab=function(_0x1eabfc,_0x1525bf){_0x1eabfc=_0x1eabfc-0x190;let _0x3e60f4=_0x205247[_0x1eabfc];return _0x3e60f4;},_0x1eab(_0x2448ce,_0x85fa59);}n[_0x42197e(0x1a5)][_0x42197e(0x1b7)](o);class a extends n[_0x42197e(0x1a7)]{[_0x42197e(0x195)](){const _0x4db0c6=_0x42197e;return e[_0x4db0c6(0x196)](this[_0x4db0c6(0x19b)])?this['_injector'][_0x4db0c6(0x1b5)](e['SheetPrintClientService'])[_0x4db0c6(0x1a1)](this[_0x4db0c6(0x1a4)][_0x4db0c6(0x1ae)](),this[_0x4db0c6(0x1b4)]['getSheetId'](),this[_0x4db0c6(0x1b3)]):!0x1;}}n[_0x42197e(0x1a7)][_0x42197e(0x1b7)](a);function _0x2052(){const _0x3e7426=['_injector','syncExecuteCommand','updatePrintRenderConfig','2989588QMxEEq','updatePrintConfig','ICommandService','getRangeImage','1499612eKrpkF','closePrintDialog','_workbook','FWorkbook','@univerjs-pro/sheets-print','FRange','2jVJobV','@univerjs/core','@univerjs/sheets/facade','CancelSheetPrintOperation','SheetScreenShotOperation','executeCommand','getUnitId','print','3lfGWIk','120314qboKjJ','30jxBhZR','_range','_worksheet','get','ConfirmSheetPrintOperation','extend','openPrintDialog','130625XLwlMw','4373560jMTOye','11862mITFSu','ISheetPrintManagerService','getScreenshot','hasPrintFacadePermission','2936aPTqUj','SheetPrintOpenOperation','390435tZOMkp','1632AjKoTc'];_0x2052=function(){return _0x3e7426;};return _0x2052();}