@univerjs-pro/sheets-print 0.6.10 → 0.7.0-beta.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/en-US.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/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/en-US.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/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.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +40 -40
- package/lib/types/common/types.d.ts +3 -3
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/facade/f-enum.d.ts +4 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 +18 -20
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2160(_0x5716f9,_0x14fa43){const _0x55a660=_0x55a6();return _0x2160=function(_0x2160e7,_0x1c4650){_0x2160e7=_0x2160e7-0x79;let _0x56272e=_0x55a660[_0x2160e7];return _0x56272e;},_0x2160(_0x5716f9,_0x14fa43);}function _0x55a6(){const _0x30fc07=['CanceledError','PrintDirection','SheetPrintOpen','174818PZZurr','getActiveUniverSheet','print','syncExecuteCommand','closePrintDialog','UniverProPrint','_range','_workbook','cancel','_injector','@univerjs/sheets/facade','@univerjs/core','SheetPrintOpenOperation','function','FEnum','get','213038aTslIK','@univerjs/core/facade','208yMMUhO','PrintHeaderFooter','UniverCore','ISheetPrintManagerService','extend','PrintArea','hasPrintFacadePermission','BeforeSheetPrintOpen','_worksheet','updatePrintConfig','saveScreenshotToClipboard','@univerjs-pro/print','layoutConfig','getScreenshot','135777eGpHeT','SheetScreenShotOperation','openPrintDialog','object','20pgTqpx','30lBosTO','44inlwzB','PrintScale','UniverSheetsFacade','Event','getActiveSheet','FWorkbook','1417wdbgsR','FUniver','BeforeSheetPrintConfirm','updateRenderConfig','PrintPaperMargin','@univerjs-pro/sheets-print','SheetPrintCanceled','PrintAlign','UniverProSheetsPrint','SheetPrintConfirmed','FRange','BeforeSheetPrintCanceled','registerEventHandler','CancelSheetPrintOperation','updatePrintRenderConfig','ConfirmSheetPrintOperation','2PfYlNR','58762SExGcx','amd','fireEvent','606598MAqURh','renderConfig','ICommandService','PrintFreeze','PrintHeaderFooterSymbol','executeCommand','getRangeImage','355735SdGAfK','684QelkWE','3353949JiKnwg','updateLayoutConfig','beforeCommandExecuted'];_0x55a6=function(){return _0x30fc07;};return _0x55a6();}(function(_0x3c8428,_0x3cbcad){const _0x2e1577=_0x2160,_0x130e16=_0x3c8428();while(!![]){try{const _0x48ee83=parseInt(_0x2e1577(0x87))/0x1*(parseInt(_0x2e1577(0x83))/0x2)+parseInt(_0x2e1577(0xb6))/0x3*(-parseInt(_0x2e1577(0xbc))/0x4)+parseInt(_0x2e1577(0x8e))/0x5*(parseInt(_0x2e1577(0xbb))/0x6)+-parseInt(_0x2e1577(0x96))/0x7*(-parseInt(_0x2e1577(0xa8))/0x8)+-parseInt(_0x2e1577(0x90))/0x9*(-parseInt(_0x2e1577(0xba))/0xa)+parseInt(_0x2e1577(0x84))/0xb*(parseInt(_0x2e1577(0x8f))/0xc)+parseInt(_0x2e1577(0xc2))/0xd*(-parseInt(_0x2e1577(0xa6))/0xe);if(_0x48ee83===_0x3cbcad)break;else _0x130e16['push'](_0x130e16['shift']());}catch(_0x2dc0f5){_0x130e16['push'](_0x130e16['shift']());}}}(_0x55a6,0x7b48b),function(_0x260d86,_0x421c7e){const _0xbb540d=_0x2160;typeof exports==_0xbb540d(0xb9)&&typeof module<'u'?_0x421c7e(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require(_0xbb540d(0xa7)),require(_0xbb540d(0xb3))):typeof define==_0xbb540d(0xa3)&&define[_0xbb540d(0x85)]?define([_0xbb540d(0xc7),_0xbb540d(0xa1),_0xbb540d(0xa0),_0xbb540d(0xa7),'@univerjs-pro/print'],_0x421c7e):(_0x260d86=typeof globalThis<'u'?globalThis:_0x260d86||self,_0x421c7e(_0x260d86[_0xbb540d(0x7b)],_0x260d86[_0xbb540d(0xaa)],_0x260d86[_0xbb540d(0xbe)],_0x260d86['UniverCoreFacade'],_0x260d86[_0xbb540d(0x9b)]));}(this,function(_0x44ef27,_0x3b02f0,_0x2db2d7,_0xd5e448,_0x107f05){'use strict';const _0x42157d=_0x2160;class _0x150e2b extends _0x2db2d7['FWorkbook']{[_0x42157d(0xb1)](_0x5a5fa7){const _0x5b5f88=_0x42157d;return this[_0x5b5f88(0x9f)]['get'](_0x44ef27[_0x5b5f88(0xab)])[_0x5b5f88(0x91)](_0x5a5fa7),this;}[_0x42157d(0x81)](_0x25572d){const _0x3c6953=_0x42157d;return this['_injector']['get'](_0x44ef27[_0x3c6953(0xab)])[_0x3c6953(0xc5)](_0x25572d),this;}[_0x42157d(0x98)](){const _0x1b9212=_0x42157d;return this[_0x1b9212(0x9f)][_0x1b9212(0xa5)](_0x3b02f0[_0x1b9212(0x89)])[_0x1b9212(0x99)](_0x44ef27[_0x1b9212(0x82)]['id']);}[_0x42157d(0xb8)](){const _0x4c7c70=_0x42157d;return this[_0x4c7c70(0x9f)][_0x4c7c70(0xa5)](_0x3b02f0[_0x4c7c70(0x89)])[_0x4c7c70(0x99)](_0x44ef27[_0x4c7c70(0xa2)]['id']);}[_0x42157d(0x9a)](){const _0xd2c283=_0x42157d;return this[_0xd2c283(0x9f)][_0xd2c283(0xa5)](_0x3b02f0['ICommandService'])[_0xd2c283(0x99)](_0x44ef27[_0xd2c283(0x80)]['id']);}async[_0x42157d(0xb2)](){const _0x505a39=_0x42157d;return _0x44ef27['hasPrintFacadePermission'](this['_injector'])?this[_0x505a39(0x9f)][_0x505a39(0xa5)](_0x3b02f0['ICommandService'])[_0x505a39(0x8c)](_0x44ef27[_0x505a39(0xb7)]['id']):!0x1;}}_0x2db2d7[_0x42157d(0xc1)][_0x42157d(0xac)](_0x150e2b);class _0x2760b2 extends _0x2db2d7[_0x42157d(0x7d)]{[_0x42157d(0xb5)](){const _0x1b77e2=_0x42157d;return _0x44ef27[_0x1b77e2(0xae)](this[_0x1b77e2(0x9f)])?this['_injector'][_0x1b77e2(0xa5)](_0x44ef27['SheetPrintClientService'])[_0x1b77e2(0x8d)](this[_0x1b77e2(0x9d)]['getUnitId'](),this[_0x1b77e2(0xb0)]['getSheetId'](),this[_0x1b77e2(0x9c)]):!0x1;}}_0x2db2d7[_0x42157d(0x7d)]['extend'](_0x2760b2);class _0x30f327{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x42157d(0xc4)](){const _0x5f2044=_0x42157d;return _0x5f2044(0xc4);}get['BeforeSheetPrintCanceled'](){const _0x1f9a95=_0x42157d;return _0x1f9a95(0x7e);}get[_0x42157d(0x95)](){const _0x4ae01a=_0x42157d;return _0x4ae01a(0x95);}get[_0x42157d(0x7c)](){const _0x47d60a=_0x42157d;return _0x47d60a(0x7c);}get['SheetPrintCanceled'](){const _0x333153=_0x42157d;return _0x333153(0x79);}}_0xd5e448['FEventName'][_0x42157d(0xac)](_0x30f327);class _0x3eebe7{get[_0x42157d(0xad)](){const _0x4a3603=_0x42157d;return _0x44ef27[_0x4a3603(0xad)];}get[_0x42157d(0x7a)](){return _0x107f05['PrintAlign'];}get['PrintPaperSize'](){return _0x3b02f0['PaperType'];}get[_0x42157d(0xc6)](){const _0x4eee26=_0x42157d;return _0x107f05[_0x4eee26(0xc6)];}get['PrintScale'](){const _0x536f3f=_0x42157d;return _0x107f05[_0x536f3f(0xbd)];}get[_0x42157d(0x94)](){return _0x107f05['PrintDirection'];}get[_0x42157d(0x8a)](){const _0x5b3397=_0x42157d;return _0x44ef27[_0x5b3397(0x8a)];}get[_0x42157d(0xa9)](){const _0x4e73a5=_0x42157d;return _0x44ef27[_0x4e73a5(0xa9)];}get[_0x42157d(0x8b)](){const _0x1ce17b=_0x42157d;return _0x44ef27[_0x1ce17b(0x8b)];}}_0xd5e448[_0x42157d(0xa4)][_0x42157d(0xac)](_0x3eebe7);class _0x574fc4 extends _0xd5e448[_0x42157d(0xc3)]{['_initialize'](_0x5582cf){const _0xde1108=_0x42157d,_0xe2b457=_0x5582cf[_0xde1108(0xa5)](_0x3b02f0[_0xde1108(0x89)]);this[_0xde1108(0x7f)](this['Event']['BeforeSheetPrintOpen'],()=>_0xe2b457[_0xde1108(0x92)](_0x47ca8b=>{const _0x5210bf=_0xde1108;if(_0x47ca8b['id']===_0x44ef27[_0x5210bf(0xa2)]['id']){const _0x4914f4=this[_0x5210bf(0x97)]();if(!_0x4914f4)return;const _0x2f9518={'workbook':_0x4914f4,'worksheet':_0x4914f4[_0x5210bf(0xc0)]()};if(_0x2f9518==null)return;if(this[_0x5210bf(0x86)](this[_0x5210bf(0xbf)][_0x5210bf(0xaf)],_0x2f9518),_0x2f9518['cancel'])throw new _0x3b02f0[(_0x5210bf(0x93))]();}})),this[_0xde1108(0x7f)](this['Event']['BeforeSheetPrintConfirm'],()=>_0xe2b457[_0xde1108(0x92)](_0x4e45b2=>{const _0x4a43a0=_0xde1108;if(_0x4e45b2['id']===_0x44ef27[_0x4a43a0(0x82)]['id']){const _0x3d0a36=_0x5582cf[_0x4a43a0(0xa5)](_0x44ef27[_0x4a43a0(0xab)]);if(!this[_0x4a43a0(0x97)]())return;const _0x3e0441={'layoutConfig':_0x3d0a36['layoutConfig'],'renderConfig':_0x3d0a36[_0x4a43a0(0x88)]};if(_0x3e0441==null)return;if(this['fireEvent'](this[_0x4a43a0(0xbf)][_0x4a43a0(0xc4)],_0x3e0441),_0x3e0441[_0x4a43a0(0x9e)])throw new _0x3b02f0[(_0x4a43a0(0x93))]();}})),this[_0xde1108(0x7f)](this[_0xde1108(0xbf)]['BeforeSheetPrintCanceled'],()=>_0xe2b457[_0xde1108(0x92)](_0x53713b=>{const _0x25222e=_0xde1108;if(_0x53713b['id']===_0x44ef27['CancelSheetPrintOperation']['id']){const _0x972b1d=_0x5582cf['get'](_0x44ef27['ISheetPrintManagerService']);if(!this[_0x25222e(0x97)]())return;const _0x1d80ff={'layoutConfig':_0x972b1d[_0x25222e(0xb4)],'renderConfig':_0x972b1d[_0x25222e(0x88)]};if(_0x1d80ff==null)return;if(this[_0x25222e(0x86)](this[_0x25222e(0xbf)][_0x25222e(0x7e)],_0x1d80ff),_0x1d80ff[_0x25222e(0x9e)])throw new _0x3b02f0[(_0x25222e(0x93))]();}})),this[_0xde1108(0x7f)](this[_0xde1108(0xbf)][_0xde1108(0x95)],()=>_0xe2b457['onCommandExecuted'](_0x20d574=>{const _0x123766=_0xde1108;if(_0x20d574['id']===_0x44ef27['SheetPrintOpenOperation']['id']){const _0xa39eab=this[_0x123766(0x97)]();if(!_0xa39eab)return;const _0x442eb4={'workbook':_0xa39eab,'worksheet':_0xa39eab[_0x123766(0xc0)]()};if(_0x442eb4==null)return;this['fireEvent'](this['Event']['SheetPrintOpen'],_0x442eb4);}})),this[_0xde1108(0x7f)](this[_0xde1108(0xbf)][_0xde1108(0x7c)],()=>_0xe2b457['onCommandExecuted'](_0x2724ed=>{const _0x443f10=_0xde1108;if(_0x2724ed['id']===_0x44ef27['ConfirmSheetPrintOperation']['id']){const _0x4cdaf2=_0x5582cf[_0x443f10(0xa5)](_0x44ef27[_0x443f10(0xab)]);if(!this[_0x443f10(0x97)]())return;const _0x42f611={'layoutConfig':_0x4cdaf2['layoutConfig'],'renderConfig':_0x4cdaf2[_0x443f10(0x88)]};if(_0x42f611==null)return;this['fireEvent'](this[_0x443f10(0xbf)][_0x443f10(0x7c)],_0x42f611);}})),this[_0xde1108(0x7f)](this[_0xde1108(0xbf)]['SheetPrintCanceled'],()=>_0xe2b457['onCommandExecuted'](_0x17cc86=>{const _0x173588=_0xde1108;if(_0x17cc86['id']===_0x44ef27['CancelSheetPrintOperation']['id']){const _0x30a206=_0x5582cf[_0x173588(0xa5)](_0x44ef27[_0x173588(0xab)]);if(!this[_0x173588(0x97)]())return;const _0xc87f7a={'layoutConfig':_0x30a206[_0x173588(0xb4)],'renderConfig':_0x30a206[_0x173588(0x88)]};if(_0xc87f7a==null)return;this[_0x173588(0x86)](this[_0x173588(0xbf)][_0x173588(0x79)],_0xc87f7a);}}));}}_0xd5e448[_0x42157d(0xc3)][_0x42157d(0xac)](_0x574fc4);}));
|