@univerjs-pro/sheets-print 0.10.5 → 0.10.6
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4b317d=_0x403a;(function(_0x254b99,_0x79ea04){const _0x5154f6=_0x403a,_0x23bfba=_0x254b99();while(!![]){try{const _0x4fab5c=parseInt(_0x5154f6(0x14a))/0x1+parseInt(_0x5154f6(0x141))/0x2+-parseInt(_0x5154f6(0x14f))/0x3*(-parseInt(_0x5154f6(0x163))/0x4)+-parseInt(_0x5154f6(0x15a))/0x5*(parseInt(_0x5154f6(0x149))/0x6)+parseInt(_0x5154f6(0x142))/0x7+parseInt(_0x5154f6(0x161))/0x8*(-parseInt(_0x5154f6(0x167))/0x9)+parseInt(_0x5154f6(0x15e))/0xa;if(_0x4fab5c===_0x79ea04)break;else _0x23bfba['push'](_0x23bfba['shift']());}catch(_0x271341){_0x23bfba['push'](_0x23bfba['shift']());}}}(_0xff24,0x71f26));import{ISheetPrintManagerService as _0x30d8c3,ConfirmSheetPrintOperation as _0x1e77bc,SheetPrintOpenOperation as _0x444e48,CancelSheetPrintOperation as _0x30e3c3,hasPrintFacadePermission as _0x4a7c6f,SheetScreenShotOperation as _0x2e0489,SheetPrintClientService as _0x24f4d3,PrintArea as _0x59c465,PrintFreeze as _0x1243e7,PrintHeaderFooter as _0xb1ff8d,PrintHeaderFooterSymbol as _0x41b3ea}from'@univerjs-pro/sheets-print';import{ICommandService as _0x4f2a5f,PaperType as _0xaecfe,CanceledError as _0x4d9cba}from'@univerjs/core';import{FWorkbook as _0x4bfae4,FRange as _0xb6a81e}from'@univerjs/sheets/facade';import{FEventName as _0x4275c5,FEnum as _0x39763c,FUniver as _0x48d146}from'@univerjs/core/facade';import{PrintAlign as _0xaa3862,PrintPaperMargin as _0x9a6594,PrintScale as _0x11007e,PrintDirection as _0x5167f4}from'@univerjs-pro/print';class A extends _0x4bfae4{[_0x4b317d(0x16c)](_0x517824){const _0x41c5a0=_0x4b317d;return this[_0x41c5a0(0x171)][_0x41c5a0(0x146)](_0x30d8c3)[_0x41c5a0(0x147)](_0x517824),this;}[_0x4b317d(0x16f)](_0xb36a3b){const _0x3bfc3d=_0x4b317d;return this[_0x3bfc3d(0x171)][_0x3bfc3d(0x146)](_0x30d8c3)[_0x3bfc3d(0x162)](_0xb36a3b),this;}[_0x4b317d(0x16e)](){const _0x42ec6a=_0x4b317d;return this[_0x42ec6a(0x171)][_0x42ec6a(0x146)](_0x4f2a5f)[_0x42ec6a(0x14c)](_0x1e77bc['id']);}[_0x4b317d(0x155)](){const _0x1216c7=_0x4b317d;return this[_0x1216c7(0x171)][_0x1216c7(0x146)](_0x4f2a5f)[_0x1216c7(0x14c)](_0x444e48['id']);}[_0x4b317d(0x166)](){const _0x445e52=_0x4b317d;return this['_injector'][_0x445e52(0x146)](_0x4f2a5f)[_0x445e52(0x14c)](_0x30e3c3['id']);}async[_0x4b317d(0x14e)](){const _0x4beb2b=_0x4b317d;return _0x4a7c6f(this['_injector'])?this[_0x4beb2b(0x171)][_0x4beb2b(0x146)](_0x4f2a5f)['executeCommand'](_0x2e0489['id']):!0x1;}}function _0x403a(_0x25969f,_0x5c5c1b){const _0xff2467=_0xff24();return _0x403a=function(_0x403aa9,_0x3fdaaa){_0x403aa9=_0x403aa9-0x141;let _0xea8f48=_0xff2467[_0x403aa9];return _0xea8f48;},_0x403a(_0x25969f,_0x5c5c1b);}_0x4bfae4[_0x4b317d(0x157)](A);class B extends _0xb6a81e{['getScreenshot'](){const _0x4e7ded=_0x4b317d;return _0x4a7c6f(this[_0x4e7ded(0x171)])?this[_0x4e7ded(0x171)][_0x4e7ded(0x146)](_0x24f4d3)[_0x4e7ded(0x165)](this[_0x4e7ded(0x172)]['getUnitId'](),this[_0x4e7ded(0x143)][_0x4e7ded(0x16b)](),this[_0x4e7ded(0x156)]):!0x1;}}_0xb6a81e[_0x4b317d(0x157)](B);class H{get[_0x4b317d(0x15b)](){const _0x4fcc05=_0x4b317d;return _0x4fcc05(0x15b);}get[_0x4b317d(0x168)](){const _0x340688=_0x4b317d;return _0x340688(0x168);}get[_0x4b317d(0x170)](){const _0x4d2218=_0x4b317d;return _0x4d2218(0x170);}get[_0x4b317d(0x15d)](){const _0x37ecc8=_0x4b317d;return _0x37ecc8(0x15d);}get[_0x4b317d(0x153)](){const _0x2a1987=_0x4b317d;return _0x2a1987(0x153);}get[_0x4b317d(0x148)](){const _0x266210=_0x4b317d;return _0x266210(0x148);}}_0x4275c5[_0x4b317d(0x157)](H);class U{get[_0x4b317d(0x160)](){return _0x59c465;}get[_0x4b317d(0x145)](){return _0xaa3862;}get['PrintPaperSize'](){return _0xaecfe;}get['PrintPaperMargin'](){return _0x9a6594;}get['PrintScale'](){return _0x11007e;}get[_0x4b317d(0x150)](){return _0x5167f4;}get[_0x4b317d(0x169)](){return _0x1243e7;}get[_0x4b317d(0x15f)](){return _0xb1ff8d;}get[_0x4b317d(0x15c)](){return _0x41b3ea;}}function _0xff24(){const _0x347516=['5szKnoH','BeforeSheetPrintOpen','PrintHeaderFooterSymbol','SheetPrintOpen','2386310uaconS','PrintHeaderFooter','PrintArea','1109288NYoRLx','updateRenderConfig','35828LDUcid','_initialize','getRangeImage','closePrintDialog','27dKMEcl','BeforeSheetPrintConfirm','PrintFreeze','renderConfig','getSheetId','updatePrintConfig','beforeCommandExecuted','print','updatePrintRenderConfig','BeforeSheetPrintCanceled','_injector','_workbook','130630nKuTPM','1434244VrtyHm','_worksheet','getActiveSheet','PrintAlign','get','updateLayoutConfig','SheetPrintCanceled','507294lIZzcs','28484gOmvpK','fireEvent','syncExecuteCommand','layoutConfig','saveScreenshotToClipboard','144RqmOAL','PrintDirection','Event','getActiveUniverSheet','SheetPrintConfirmed','registerEventHandler','openPrintDialog','_range','extend','onCommandExecuted','cancel'];_0xff24=function(){return _0x347516;};return _0xff24();}_0x39763c[_0x4b317d(0x157)](U);class M extends _0x48d146{[_0x4b317d(0x164)](_0x2c71de){const _0x45ae07=_0x4b317d,_0x1c6af2=_0x2c71de['get'](_0x4f2a5f);this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x15b)],()=>_0x1c6af2['beforeCommandExecuted'](_0x3a3295=>{const _0x1e8604=_0x45ae07;if(_0x3a3295['id']===_0x444e48['id']){const _0xc4de38=this[_0x1e8604(0x152)]();if(!_0xc4de38)return;const _0x3b7c83={'workbook':_0xc4de38,'worksheet':_0xc4de38['getActiveSheet']()};if(_0x3b7c83==null)return;if(this['fireEvent'](this[_0x1e8604(0x151)]['BeforeSheetPrintOpen'],_0x3b7c83),_0x3b7c83[_0x1e8604(0x159)])throw new _0x4d9cba();}})),this['registerEventHandler'](this[_0x45ae07(0x151)]['BeforeSheetPrintConfirm'],()=>_0x1c6af2[_0x45ae07(0x16d)](_0x405df3=>{const _0xa2682e=_0x45ae07;if(_0x405df3['id']===_0x1e77bc['id']){const _0x19dc02=_0x2c71de[_0xa2682e(0x146)](_0x30d8c3);if(!this[_0xa2682e(0x152)]())return;const _0x2b7aa2={'layoutConfig':_0x19dc02['layoutConfig'],'renderConfig':_0x19dc02['renderConfig']};if(_0x2b7aa2==null)return;if(this[_0xa2682e(0x14b)](this['Event']['BeforeSheetPrintConfirm'],_0x2b7aa2),_0x2b7aa2['cancel'])throw new _0x4d9cba();}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x170)],()=>_0x1c6af2[_0x45ae07(0x16d)](_0x499d2c=>{const _0x1a73da=_0x45ae07;if(_0x499d2c['id']===_0x30e3c3['id']){const _0x338af8=_0x2c71de[_0x1a73da(0x146)](_0x30d8c3);if(!this['getActiveUniverSheet']())return;const _0x420d67={'layoutConfig':_0x338af8['layoutConfig'],'renderConfig':_0x338af8[_0x1a73da(0x16a)]};if(_0x420d67==null)return;if(this[_0x1a73da(0x14b)](this[_0x1a73da(0x151)][_0x1a73da(0x170)],_0x420d67),_0x420d67[_0x1a73da(0x159)])throw new _0x4d9cba();}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x15d)],()=>_0x1c6af2[_0x45ae07(0x158)](_0x4cdf41=>{const _0x52d960=_0x45ae07;if(_0x4cdf41['id']===_0x444e48['id']){const _0x11b150=this[_0x52d960(0x152)]();if(!_0x11b150)return;const _0x123553={'workbook':_0x11b150,'worksheet':_0x11b150[_0x52d960(0x144)]()};if(_0x123553==null)return;this[_0x52d960(0x14b)](this[_0x52d960(0x151)][_0x52d960(0x15d)],_0x123553);}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)]['SheetPrintConfirmed'],()=>_0x1c6af2[_0x45ae07(0x158)](_0x3973b6=>{const _0x284877=_0x45ae07;if(_0x3973b6['id']===_0x1e77bc['id']){const _0x2d166f=_0x2c71de[_0x284877(0x146)](_0x30d8c3);if(!this['getActiveUniverSheet']())return;const _0x59ae19={'layoutConfig':_0x2d166f[_0x284877(0x14d)],'renderConfig':_0x2d166f['renderConfig']};if(_0x59ae19==null)return;this[_0x284877(0x14b)](this[_0x284877(0x151)][_0x284877(0x153)],_0x59ae19);}})),this[_0x45ae07(0x154)](this[_0x45ae07(0x151)][_0x45ae07(0x148)],()=>_0x1c6af2[_0x45ae07(0x158)](_0x134cc6=>{const _0x2691be=_0x45ae07;if(_0x134cc6['id']===_0x30e3c3['id']){const _0x408122=_0x2c71de['get'](_0x30d8c3);if(!this[_0x2691be(0x152)]())return;const _0x16fc6b={'layoutConfig':_0x408122[_0x2691be(0x14d)],'renderConfig':_0x408122[_0x2691be(0x16a)]};if(_0x16fc6b==null)return;this[_0x2691be(0x14b)](this[_0x2691be(0x151)][_0x2691be(0x148)],_0x16fc6b);}}));}}_0x48d146[_0x4b317d(0x157)](M);
|