@univerjs-pro/sheets-print 1.0.1 → 1.0.3
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xee100d=_0x32dc;(function(_0x40f688,_0x3c733c){const _0x5cf209=_0x32dc,_0x208c3e=_0x40f688();while(!![]){try{const _0x16970f=-parseInt(_0x5cf209(0x1ca))/0x1+-parseInt(_0x5cf209(0x1da))/0x2*(-parseInt(_0x5cf209(0x1e4))/0x3)+-parseInt(_0x5cf209(0x1e9))/0x4+parseInt(_0x5cf209(0x1e0))/0x5+-parseInt(_0x5cf209(0x1c4))/0x6+parseInt(_0x5cf209(0x1e5))/0x7*(parseInt(_0x5cf209(0x1dc))/0x8)+parseInt(_0x5cf209(0x1d0))/0x9*(parseInt(_0x5cf209(0x1e1))/0xa);if(_0x16970f===_0x3c733c)break;else _0x208c3e['push'](_0x208c3e['shift']());}catch(_0x4badbf){_0x208c3e['push'](_0x208c3e['shift']());}}}(_0x884c,0x9773a));function _0x884c(){const _0x176e25=['includeHeaders','fireEvent','PrintAlign','cancel','914ZLqWKe','disposeWithMe','8LFeEKO','BeforeSheetPrintCanceled','updateLayoutConfig','extend','4772945HOKIju','43830IPqsVF','PrintHeaderFooterSymbol','_injector','2445meCJgu','1861909MzECUF','registerEventHandler','PrintFreeze','SheetPrintCanceled','763544hKKRGw','onCommandExecuted','_workbook','layoutConfig','renderConfig','SheetPrintConfirmed','syncExecuteCommand','get','Event','5292402TOIjQS','SheetPrintOpen','BeforeSheetPrintOpen','getScreenshot','beforeCommandExecuted','closePrintDialog','500203htOXts','getUnitId','saveScreenshotToClipboard','BeforeSheetPrintConfirm','_range','PrintHeaderFooter','1233VIXdvQ','getSheetId','_worksheet','openPrintDialog','getActiveWorkbook','PrintArea'];_0x884c=function(){return _0x176e25;};return _0x884c();}function _0x32dc(_0x1f2740,_0x2e2c93){_0x1f2740=_0x1f2740-0x1bc;const _0x884cae=_0x884c();let _0x32dcc6=_0x884cae[_0x1f2740];return _0x32dcc6;}import{CancelSheetPrintOperation as _0x3f8d11,ConfirmSheetPrintOperation as _0x3da494,ISheetPrintManagerService as _0x4b27d7,PrintArea as _0x26f2d7,PrintFreeze as _0x1b3198,PrintHeaderFooter as _0x51a129,PrintHeaderFooterSymbol as _0x106056,SheetPrintClientService as _0xd8475c,SheetPrintOpenOperation as _0x3f7615,SheetScreenShotOperation as _0xc0a0f,hasPrintFacadePermission as _0x1d7f8d}from'@univerjs-pro/sheets-print';import{CanceledError as _0x10991f,ICommandService as _0x83cc00,PaperType as _0x15be0b}from'@univerjs/core';import{FRange as _0x24a76f,FWorkbook as _0x46b6c8}from'@univerjs/sheets/facade';import{FEnum as _0xc9571,FEventName as _0x4f849d,FUniver as _0x43985b}from'@univerjs/core/facade';import{PrintAlign as _0x137f82,PrintDirection as _0x3c7366,PrintPaperMargin as _0x2b3c6f,PrintScale as _0x802cd7}from'@univerjs-pro/print';var C=class extends _0x46b6c8{['updatePrintConfig'](_0x59ada9){const _0x479645=_0x32dc;return this[_0x479645(0x1e3)][_0x479645(0x1c2)](_0x4b27d7)[_0x479645(0x1de)](_0x59ada9),this;}['updatePrintRenderConfig'](_0xf71fa7){const _0x3b5628=_0x32dc;return this[_0x3b5628(0x1e3)][_0x3b5628(0x1c2)](_0x4b27d7)['updateRenderConfig'](_0xf71fa7),this;}['print'](){const _0x20d2bb=_0x32dc;return this['_injector'][_0x20d2bb(0x1c2)](_0x83cc00)[_0x20d2bb(0x1c1)](_0x3da494['id']);}[_0xee100d(0x1d3)](){const _0x1df360=_0xee100d;return this[_0x1df360(0x1e3)][_0x1df360(0x1c2)](_0x83cc00)['syncExecuteCommand'](_0x3f7615['id']);}[_0xee100d(0x1c9)](){const _0x44fbfb=_0xee100d;return this[_0x44fbfb(0x1e3)][_0x44fbfb(0x1c2)](_0x83cc00)[_0x44fbfb(0x1c1)](_0x3f8d11['id']);}async[_0xee100d(0x1cc)](){const _0x2fac8f=_0xee100d;return _0x1d7f8d(this[_0x2fac8f(0x1e3)])?this[_0x2fac8f(0x1e3)][_0x2fac8f(0x1c2)](_0x83cc00)['executeCommand'](_0xc0a0f['id']):!0x1;}};_0x46b6c8[_0xee100d(0x1df)](C);var w=class extends _0x24a76f{[_0xee100d(0x1c7)](_0x5c5aec){const _0x35b80a=_0xee100d;return _0x1d7f8d(this[_0x35b80a(0x1e3)])?this['_injector'][_0x35b80a(0x1c2)](_0xd8475c)['getRangeImage'](this[_0x35b80a(0x1bd)][_0x35b80a(0x1cb)](),this[_0x35b80a(0x1d2)][_0x35b80a(0x1d1)](),this[_0x35b80a(0x1ce)],_0x5c5aec==null?void 0x0:_0x5c5aec[_0x35b80a(0x1d6)]):!0x1;}};_0x24a76f['extend'](w);var T=class extends _0x4f849d{get[_0xee100d(0x1c6)](){const _0x17e192=_0xee100d;return _0x17e192(0x1c6);}get[_0xee100d(0x1cd)](){const _0x110101=_0xee100d;return _0x110101(0x1cd);}get[_0xee100d(0x1dd)](){const _0x10a9b5=_0xee100d;return _0x10a9b5(0x1dd);}get[_0xee100d(0x1c5)](){const _0x245d47=_0xee100d;return _0x245d47(0x1c5);}get[_0xee100d(0x1c0)](){const _0x1a2ac6=_0xee100d;return _0x1a2ac6(0x1c0);}get[_0xee100d(0x1e8)](){const _0x5484ef=_0xee100d;return _0x5484ef(0x1e8);}};_0x4f849d[_0xee100d(0x1df)](T);var E=class extends _0xc9571{get[_0xee100d(0x1d5)](){return _0x26f2d7;}get[_0xee100d(0x1d8)](){return _0x137f82;}get['PrintPaperSize'](){return _0x15be0b;}get['PrintPaperMargin'](){return _0x2b3c6f;}get['PrintScale'](){return _0x802cd7;}get['PrintDirection'](){return _0x3c7366;}get[_0xee100d(0x1e7)](){return _0x1b3198;}get[_0xee100d(0x1cf)](){return _0x51a129;}get[_0xee100d(0x1e2)](){return _0x106056;}};_0xc9571[_0xee100d(0x1df)](E);var D=class extends _0x43985b{['_initialize'](_0x3f60e6){const _0x14c3ab=_0xee100d;let _0x1a2438=_0x3f60e6[_0x14c3ab(0x1c2)](_0x83cc00);this['disposeWithMe'](this[_0x14c3ab(0x1e6)](this[_0x14c3ab(0x1c3)][_0x14c3ab(0x1c6)],()=>_0x1a2438[_0x14c3ab(0x1c8)](_0x2637ea=>{const _0x1e012d=_0x14c3ab;if(_0x2637ea['id']===_0x3f7615['id']){let _0x283a70=this[_0x1e012d(0x1d4)]();if(!_0x283a70)return;let _0x379709={'workbook':_0x283a70,'worksheet':_0x283a70['getActiveSheet']()};if(_0x379709==null)return;if(this[_0x1e012d(0x1d7)](this[_0x1e012d(0x1c3)][_0x1e012d(0x1c6)],_0x379709),_0x379709['cancel'])throw new _0x10991f();}}))),this[_0x14c3ab(0x1db)](this[_0x14c3ab(0x1e6)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x1a2438['beforeCommandExecuted'](_0x17e042=>{const _0xa57b22=_0x14c3ab;if(_0x17e042['id']===_0x3da494['id']){let _0x5b087f=_0x3f60e6[_0xa57b22(0x1c2)](_0x4b27d7);if(!this[_0xa57b22(0x1d4)]())return;let _0x4e311c={'layoutConfig':_0x5b087f[_0xa57b22(0x1be)],'renderConfig':_0x5b087f['renderConfig']};if(_0x4e311c==null)return;if(this['fireEvent'](this['Event'][_0xa57b22(0x1cd)],_0x4e311c),_0x4e311c[_0xa57b22(0x1d9)])throw new _0x10991f();}}))),this[_0x14c3ab(0x1db)](this[_0x14c3ab(0x1e6)](this['Event'][_0x14c3ab(0x1dd)],()=>_0x1a2438['beforeCommandExecuted'](_0x13d9ab=>{const _0x585227=_0x14c3ab;if(_0x13d9ab['id']===_0x3f8d11['id']){let _0x1bd935=_0x3f60e6[_0x585227(0x1c2)](_0x4b27d7);if(!this[_0x585227(0x1d4)]())return;let _0x4b7b33={'layoutConfig':_0x1bd935[_0x585227(0x1be)],'renderConfig':_0x1bd935[_0x585227(0x1bf)]};if(_0x4b7b33==null)return;if(this[_0x585227(0x1d7)](this[_0x585227(0x1c3)]['BeforeSheetPrintCanceled'],_0x4b7b33),_0x4b7b33['cancel'])throw new _0x10991f();}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x14c3ab(0x1c3)]['SheetPrintOpen'],()=>_0x1a2438[_0x14c3ab(0x1bc)](_0x2068fa=>{const _0x5a48a5=_0x14c3ab;if(_0x2068fa['id']===_0x3f7615['id']){let _0x57cbc3=this[_0x5a48a5(0x1d4)]();if(!_0x57cbc3)return;let _0x393422={'workbook':_0x57cbc3,'worksheet':_0x57cbc3['getActiveSheet']()};if(_0x393422==null)return;this[_0x5a48a5(0x1d7)](this[_0x5a48a5(0x1c3)][_0x5a48a5(0x1c5)],_0x393422);}}))),this[_0x14c3ab(0x1db)](this[_0x14c3ab(0x1e6)](this[_0x14c3ab(0x1c3)]['SheetPrintConfirmed'],()=>_0x1a2438['onCommandExecuted'](_0x664c87=>{const _0xb45ca8=_0x14c3ab;if(_0x664c87['id']===_0x3da494['id']){let _0xd91c68=_0x3f60e6[_0xb45ca8(0x1c2)](_0x4b27d7);if(!this[_0xb45ca8(0x1d4)]())return;let _0x22755a={'layoutConfig':_0xd91c68['layoutConfig'],'renderConfig':_0xd91c68[_0xb45ca8(0x1bf)]};if(_0x22755a==null)return;this['fireEvent'](this[_0xb45ca8(0x1c3)][_0xb45ca8(0x1c0)],_0x22755a);}}))),this[_0x14c3ab(0x1db)](this[_0x14c3ab(0x1e6)](this[_0x14c3ab(0x1c3)]['SheetPrintCanceled'],()=>_0x1a2438[_0x14c3ab(0x1bc)](_0x29179b=>{const _0x220caa=_0x14c3ab;if(_0x29179b['id']===_0x3f8d11['id']){let _0x2f68af=_0x3f60e6[_0x220caa(0x1c2)](_0x4b27d7);if(!this[_0x220caa(0x1d4)]())return;let _0x556238={'layoutConfig':_0x2f68af[_0x220caa(0x1be)],'renderConfig':_0x2f68af[_0x220caa(0x1bf)]};if(_0x556238==null)return;this[_0x220caa(0x1d7)](this[_0x220caa(0x1c3)][_0x220caa(0x1e8)],_0x556238);}})));}};_0x43985b[_0xee100d(0x1df)](D);export{};
|