@univerjs-pro/sheets-print 0.25.0 → 0.25.1
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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ea2df=_0x3333;(function(_0x1f3dc8,_0x5f2faf){const _0x2af347=_0x3333,_0x12f144=_0x1f3dc8();while(!![]){try{const _0xb4ad97=parseInt(_0x2af347(0x12e))/0x1*(parseInt(_0x2af347(0x112))/0x2)+parseInt(_0x2af347(0x10b))/0x3*(-parseInt(_0x2af347(0x129))/0x4)+parseInt(_0x2af347(0x116))/0x5+-parseInt(_0x2af347(0x10d))/0x6*(-parseInt(_0x2af347(0x105))/0x7)+parseInt(_0x2af347(0x134))/0x8*(parseInt(_0x2af347(0x128))/0x9)+-parseInt(_0x2af347(0x101))/0xa+parseInt(_0x2af347(0x123))/0xb;if(_0xb4ad97===_0x5f2faf)break;else _0x12f144['push'](_0x12f144['shift']());}catch(_0x41c856){_0x12f144['push'](_0x12f144['shift']());}}}(_0x41d1,0xa09c1));function _0x3333(_0x155bf7,_0x42113d){_0x155bf7=_0x155bf7-0xf8;const _0x41d131=_0x41d1();let _0x33333b=_0x41d131[_0x155bf7];return _0x33333b;}let e=require('@univerjs-pro/sheets-print'),t=require('@univerjs/core'),n=require('@univerjs/sheets/facade'),r=require('@univerjs/core/facade'),i=require('@univerjs-pro/print');var a=class extends n[_0x4ea2df(0x100)]{['updatePrintConfig'](_0x35ee4a){const _0x404df4=_0x4ea2df;return this['_injector']['get'](e[_0x404df4(0x11b)])[_0x404df4(0x107)](_0x35ee4a),this;}[_0x4ea2df(0x12a)](_0xfec637){const _0x8184dc=_0x4ea2df;return this[_0x8184dc(0x12d)][_0x8184dc(0x10e)](e[_0x8184dc(0x11b)])['updateRenderConfig'](_0xfec637),this;}[_0x4ea2df(0x12f)](){const _0x3e04d8=_0x4ea2df;return this[_0x3e04d8(0x12d)][_0x3e04d8(0x10e)](t['ICommandService'])[_0x3e04d8(0x103)](e[_0x3e04d8(0x122)]['id']);}['openPrintDialog'](){const _0x4e5811=_0x4ea2df;return this[_0x4e5811(0x12d)]['get'](t['ICommandService'])[_0x4e5811(0x103)](e[_0x4e5811(0x120)]['id']);}[_0x4ea2df(0x138)](){const _0x4b1492=_0x4ea2df;return this[_0x4b1492(0x12d)]['get'](t[_0x4b1492(0x111)])[_0x4b1492(0x103)](e[_0x4b1492(0x110)]['id']);}async['saveScreenshotToClipboard'](){const _0x3024c9=_0x4ea2df;return(0x0,e[_0x3024c9(0x10c)])(this[_0x3024c9(0x12d)])?this[_0x3024c9(0x12d)]['get'](t[_0x3024c9(0x111)])['executeCommand'](e[_0x3024c9(0x115)]['id']):!0x1;}};n['FWorkbook'][_0x4ea2df(0xfe)](a);var o=class extends n[_0x4ea2df(0x10a)]{[_0x4ea2df(0x130)](_0x2f8b54){const _0x370cd8=_0x4ea2df;return(0x0,e[_0x370cd8(0x10c)])(this[_0x370cd8(0x12d)])?this[_0x370cd8(0x12d)]['get'](e[_0x370cd8(0xfc)])[_0x370cd8(0x121)](this[_0x370cd8(0x104)][_0x370cd8(0xf9)](),this['_worksheet'][_0x370cd8(0x11c)](),this[_0x370cd8(0x124)],_0x2f8b54==null?void 0x0:_0x2f8b54[_0x370cd8(0xfa)]):!0x1;}};function _0x41d1(){const _0x3ac160=['3FrBJHa','print','getScreenshot','PaperType','PrintDirection','cancel','8uqetbk','beforeCommandExecuted','_initialize','SheetPrintCanceled','closePrintDialog','layoutConfig','SheetPrintOpen','getUnitId','includeHeaders','CanceledError','SheetPrintClientService','PrintFreeze','extend','FEventName','FWorkbook','286400qUuWiJ','onCommandExecuted','syncExecuteCommand','_workbook','650405UUpmwr','getActiveUniverSheet','updateLayoutConfig','Event','PrintAlign','FRange','27CzWFsN','hasPrintFacadePermission','24tdmmNv','get','PrintHeaderFooter','CancelSheetPrintOperation','ICommandService','194772AbfIxM','PrintHeaderFooterSymbol','renderConfig','SheetScreenShotOperation','3126270WxiGJq','PrintArea','SheetPrintConfirmed','FUniver','registerEventHandler','ISheetPrintManagerService','getSheetId','FEnum','disposeWithMe','PrintScale','SheetPrintOpenOperation','getRangeImage','ConfirmSheetPrintOperation','414612FvGsuq','_range','PrintPaperMargin','BeforeSheetPrintConfirm','fireEvent','5351202wZaUDJ','548820qaOKdN','updatePrintRenderConfig','BeforeSheetPrintOpen','BeforeSheetPrintCanceled','_injector'];_0x41d1=function(){return _0x3ac160;};return _0x41d1();}n[_0x4ea2df(0x10a)][_0x4ea2df(0xfe)](o);var s=class extends r[_0x4ea2df(0xff)]{get[_0x4ea2df(0x12b)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x291c6f=_0x4ea2df;return _0x291c6f(0x126);}get[_0x4ea2df(0x12c)](){const _0x18e74c=_0x4ea2df;return _0x18e74c(0x12c);}get['SheetPrintOpen'](){const _0x188605=_0x4ea2df;return _0x188605(0xf8);}get['SheetPrintConfirmed'](){const _0x1a4752=_0x4ea2df;return _0x1a4752(0x118);}get[_0x4ea2df(0x137)](){const _0x3dfaf5=_0x4ea2df;return _0x3dfaf5(0x137);}};r[_0x4ea2df(0xff)][_0x4ea2df(0xfe)](s);var c=class extends r[_0x4ea2df(0x11d)]{get[_0x4ea2df(0x117)](){return e['PrintArea'];}get[_0x4ea2df(0x109)](){const _0x3cbf36=_0x4ea2df;return i[_0x3cbf36(0x109)];}get['PrintPaperSize'](){const _0x900559=_0x4ea2df;return t[_0x900559(0x131)];}get[_0x4ea2df(0x125)](){return i['PrintPaperMargin'];}get['PrintScale'](){const _0x399e23=_0x4ea2df;return i[_0x399e23(0x11f)];}get['PrintDirection'](){const _0x3ad78e=_0x4ea2df;return i[_0x3ad78e(0x132)];}get[_0x4ea2df(0xfd)](){const _0x49ad5f=_0x4ea2df;return e[_0x49ad5f(0xfd)];}get[_0x4ea2df(0x10f)](){const _0x1a1911=_0x4ea2df;return e[_0x1a1911(0x10f)];}get[_0x4ea2df(0x113)](){const _0x5146f5=_0x4ea2df;return e[_0x5146f5(0x113)];}};r[_0x4ea2df(0x11d)]['extend'](c);var l=class extends r[_0x4ea2df(0x119)]{[_0x4ea2df(0x136)](_0xbf4fa4){const _0x1cc360=_0x4ea2df;let _0x5219a6=_0xbf4fa4[_0x1cc360(0x10e)](t['ICommandService']);this[_0x1cc360(0x11e)](this[_0x1cc360(0x11a)](this[_0x1cc360(0x108)]['BeforeSheetPrintOpen'],()=>_0x5219a6[_0x1cc360(0x135)](_0x174d6a=>{const _0x46c2fc=_0x1cc360;if(_0x174d6a['id']===e[_0x46c2fc(0x120)]['id']){let _0xa2a706=this[_0x46c2fc(0x106)]();if(!_0xa2a706)return;let _0x4a1980={'workbook':_0xa2a706,'worksheet':_0xa2a706['getActiveSheet']()};if(_0x4a1980==null)return;if(this[_0x46c2fc(0x127)](this[_0x46c2fc(0x108)][_0x46c2fc(0x12b)],_0x4a1980),_0x4a1980['cancel'])throw new t[(_0x46c2fc(0xfb))]();}}))),this['disposeWithMe'](this[_0x1cc360(0x11a)](this[_0x1cc360(0x108)][_0x1cc360(0x126)],()=>_0x5219a6[_0x1cc360(0x135)](_0x479a18=>{const _0x204a26=_0x1cc360;if(_0x479a18['id']===e[_0x204a26(0x122)]['id']){let _0x4af359=_0xbf4fa4[_0x204a26(0x10e)](e['ISheetPrintManagerService']);if(!this[_0x204a26(0x106)]())return;let _0x5154={'layoutConfig':_0x4af359['layoutConfig'],'renderConfig':_0x4af359['renderConfig']};if(_0x5154==null)return;if(this[_0x204a26(0x127)](this[_0x204a26(0x108)][_0x204a26(0x126)],_0x5154),_0x5154[_0x204a26(0x133)])throw new t[(_0x204a26(0xfb))]();}}))),this[_0x1cc360(0x11e)](this[_0x1cc360(0x11a)](this[_0x1cc360(0x108)]['BeforeSheetPrintCanceled'],()=>_0x5219a6[_0x1cc360(0x135)](_0x9a0d82=>{const _0x46feb3=_0x1cc360;if(_0x9a0d82['id']===e[_0x46feb3(0x110)]['id']){let _0x29230d=_0xbf4fa4[_0x46feb3(0x10e)](e[_0x46feb3(0x11b)]);if(!this[_0x46feb3(0x106)]())return;let _0x4e2c4a={'layoutConfig':_0x29230d['layoutConfig'],'renderConfig':_0x29230d[_0x46feb3(0x114)]};if(_0x4e2c4a==null)return;if(this[_0x46feb3(0x127)](this['Event'][_0x46feb3(0x12c)],_0x4e2c4a),_0x4e2c4a[_0x46feb3(0x133)])throw new t[(_0x46feb3(0xfb))]();}}))),this[_0x1cc360(0x11e)](this['registerEventHandler'](this[_0x1cc360(0x108)][_0x1cc360(0xf8)],()=>_0x5219a6[_0x1cc360(0x102)](_0x1701a6=>{const _0x44f9d5=_0x1cc360;if(_0x1701a6['id']===e[_0x44f9d5(0x120)]['id']){let _0x38d0ce=this[_0x44f9d5(0x106)]();if(!_0x38d0ce)return;let _0x28fea9={'workbook':_0x38d0ce,'worksheet':_0x38d0ce['getActiveSheet']()};if(_0x28fea9==null)return;this[_0x44f9d5(0x127)](this[_0x44f9d5(0x108)][_0x44f9d5(0xf8)],_0x28fea9);}}))),this[_0x1cc360(0x11e)](this['registerEventHandler'](this[_0x1cc360(0x108)]['SheetPrintConfirmed'],()=>_0x5219a6[_0x1cc360(0x102)](_0x49aacf=>{const _0x4c2340=_0x1cc360;if(_0x49aacf['id']===e['ConfirmSheetPrintOperation']['id']){let _0x4f581d=_0xbf4fa4['get'](e['ISheetPrintManagerService']);if(!this[_0x4c2340(0x106)]())return;let _0x54f366={'layoutConfig':_0x4f581d[_0x4c2340(0x139)],'renderConfig':_0x4f581d[_0x4c2340(0x114)]};if(_0x54f366==null)return;this[_0x4c2340(0x127)](this[_0x4c2340(0x108)]['SheetPrintConfirmed'],_0x54f366);}}))),this[_0x1cc360(0x11e)](this[_0x1cc360(0x11a)](this[_0x1cc360(0x108)]['SheetPrintCanceled'],()=>_0x5219a6[_0x1cc360(0x102)](_0x100a7b=>{const _0x2f98bb=_0x1cc360;if(_0x100a7b['id']===e['CancelSheetPrintOperation']['id']){let _0x128f74=_0xbf4fa4['get'](e['ISheetPrintManagerService']);if(!this[_0x2f98bb(0x106)]())return;let _0x574255={'layoutConfig':_0x128f74[_0x2f98bb(0x139)],'renderConfig':_0x128f74[_0x2f98bb(0x114)]};if(_0x574255==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0x574255);}})));}};r[_0x4ea2df(0x119)][_0x4ea2df(0xfe)](l);
|