@univerjs-pro/sheets-print 0.9.3 → 0.9.4
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 +43 -43
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e2559=_0x3d0d;function _0x8bca(){const _0x116c72=['executeCommand','getUnitId','updateRenderConfig','layoutConfig','SheetPrintOpen','openPrintDialog','get','398110lNWZJJ','_range','beforeCommandExecuted','registerEventHandler','extend','PrintPaperSize','syncExecuteCommand','BeforeSheetPrintCanceled','BeforeSheetPrintOpen','PrintDirection','renderConfig','BeforeSheetPrintConfirm','PrintHeaderFooterSymbol','getRangeImage','updateLayoutConfig','1772832kaWcvc','getActiveUniverSheet','_worksheet','214650qRUHGQ','983590ShfseW','getScreenshot','_injector','1157208YosJNJ','saveScreenshotToClipboard','_workbook','cancel','PrintAlign','21eahPXE','PrintPaperMargin','getActiveSheet','SheetPrintCanceled','Event','7RnZhxG','print','SheetPrintConfirmed','closePrintDialog','fireEvent','24HWzbmC','131148yPAleQ','_initialize','209ZYTOWt','22856VuAEqD','onCommandExecuted','PrintArea'];_0x8bca=function(){return _0x116c72;};return _0x8bca();}(function(_0x4577f4,_0x2646a7){const _0x58e2e7=_0x3d0d,_0x3207e9=_0x4577f4();while(!![]){try{const _0x4263f2=parseInt(_0x58e2e7(0xf4))/0x1+parseInt(_0x58e2e7(0xd8))/0x2*(-parseInt(_0x58e2e7(0xfd))/0x3)+-parseInt(_0x58e2e7(0xf8))/0x4+-parseInt(_0x58e2e7(0xf5))/0x5+-parseInt(_0x58e2e7(0xf1))/0x6*(parseInt(_0x58e2e7(0x102))/0x7)+-parseInt(_0x58e2e7(0xd4))/0x8*(-parseInt(_0x58e2e7(0xd5))/0x9)+-parseInt(_0x58e2e7(0xe2))/0xa*(-parseInt(_0x58e2e7(0xd7))/0xb);if(_0x4263f2===_0x2646a7)break;else _0x3207e9['push'](_0x3207e9['shift']());}catch(_0x51d39a){_0x3207e9['push'](_0x3207e9['shift']());}}}(_0x8bca,0x256c7));import{ISheetPrintManagerService as _0xea0f,ConfirmSheetPrintOperation as _0x6d736f,SheetPrintOpenOperation as _0x2fbf0c,CancelSheetPrintOperation as _0x1d2523,hasPrintFacadePermission as _0x214ce5,SheetScreenShotOperation as _0x195dc8,SheetPrintClientService as _0x30b356,PrintArea as _0x205b0c,PrintFreeze as _0x35fd7c,PrintHeaderFooter as _0x462b86,PrintHeaderFooterSymbol as _0x45721d}from'@univerjs-pro/sheets-print';import{ICommandService as _0x3448dc,PaperType as _0x40bf76,CanceledError as _0xf42e9e}from'@univerjs/core';import{FWorkbook as _0x2325f0,FRange as _0x2efd9a}from'@univerjs/sheets/facade';import{FEventName as _0xb1458b,FEnum as _0x2100bd,FUniver as _0xa0c916}from'@univerjs/core/facade';import{PrintAlign as _0x48f9f5,PrintPaperMargin as _0x41145d,PrintScale as _0x5ce847,PrintDirection as _0xe67eb0}from'@univerjs-pro/print';class A extends _0x2325f0{['updatePrintConfig'](_0x57ec94){const _0x2d6f3f=_0x3d0d;return this[_0x2d6f3f(0xf7)][_0x2d6f3f(0xe1)](_0xea0f)[_0x2d6f3f(0xf0)](_0x57ec94),this;}['updatePrintRenderConfig'](_0x385a88){const _0x277ff9=_0x3d0d;return this['_injector'][_0x277ff9(0xe1)](_0xea0f)[_0x277ff9(0xdd)](_0x385a88),this;}[_0x4e2559(0x103)](){const _0x41248a=_0x4e2559;return this[_0x41248a(0xf7)]['get'](_0x3448dc)[_0x41248a(0xe8)](_0x6d736f['id']);}[_0x4e2559(0xe0)](){const _0x3a4024=_0x4e2559;return this[_0x3a4024(0xf7)][_0x3a4024(0xe1)](_0x3448dc)['syncExecuteCommand'](_0x2fbf0c['id']);}[_0x4e2559(0xd2)](){const _0x3afaf7=_0x4e2559;return this[_0x3afaf7(0xf7)][_0x3afaf7(0xe1)](_0x3448dc)['syncExecuteCommand'](_0x1d2523['id']);}async[_0x4e2559(0xf9)](){const _0x79679e=_0x4e2559;return _0x214ce5(this[_0x79679e(0xf7)])?this[_0x79679e(0xf7)][_0x79679e(0xe1)](_0x3448dc)[_0x79679e(0xdb)](_0x195dc8['id']):!0x1;}}_0x2325f0[_0x4e2559(0xe6)](A);class B extends _0x2efd9a{[_0x4e2559(0xf6)](){const _0x1786a6=_0x4e2559;return _0x214ce5(this['_injector'])?this['_injector']['get'](_0x30b356)[_0x1786a6(0xef)](this[_0x1786a6(0xfa)][_0x1786a6(0xdc)](),this[_0x1786a6(0xf3)]['getSheetId'](),this[_0x1786a6(0xe3)]):!0x1;}}_0x2efd9a['extend'](B);class H{get[_0x4e2559(0xea)](){return'BeforeSheetPrintOpen';}get[_0x4e2559(0xed)](){const _0x21a407=_0x4e2559;return _0x21a407(0xed);}get[_0x4e2559(0xe9)](){const _0x137907=_0x4e2559;return _0x137907(0xe9);}get[_0x4e2559(0xdf)](){const _0x14061c=_0x4e2559;return _0x14061c(0xdf);}get['SheetPrintConfirmed'](){const _0x2752a3=_0x4e2559;return _0x2752a3(0x104);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}_0xb1458b[_0x4e2559(0xe6)](H);class U{get[_0x4e2559(0xda)](){return _0x205b0c;}get[_0x4e2559(0xfc)](){return _0x48f9f5;}get[_0x4e2559(0xe7)](){return _0x40bf76;}get[_0x4e2559(0xfe)](){return _0x41145d;}get['PrintScale'](){return _0x5ce847;}get[_0x4e2559(0xeb)](){return _0xe67eb0;}get['PrintFreeze'](){return _0x35fd7c;}get['PrintHeaderFooter'](){return _0x462b86;}get[_0x4e2559(0xee)](){return _0x45721d;}}_0x2100bd[_0x4e2559(0xe6)](U);class M extends _0xa0c916{[_0x4e2559(0xd6)](_0x119b40){const _0x2def62=_0x4e2559,_0x1d578e=_0x119b40[_0x2def62(0xe1)](_0x3448dc);this[_0x2def62(0xe5)](this[_0x2def62(0x101)][_0x2def62(0xea)],()=>_0x1d578e[_0x2def62(0xe4)](_0x15accb=>{const _0x1ed8b3=_0x2def62;if(_0x15accb['id']===_0x2fbf0c['id']){const _0x5ef2c1=this[_0x1ed8b3(0xf2)]();if(!_0x5ef2c1)return;const _0x1a2d85={'workbook':_0x5ef2c1,'worksheet':_0x5ef2c1['getActiveSheet']()};if(_0x1a2d85==null)return;if(this[_0x1ed8b3(0xd3)](this[_0x1ed8b3(0x101)][_0x1ed8b3(0xea)],_0x1a2d85),_0x1a2d85['cancel'])throw new _0xf42e9e();}})),this[_0x2def62(0xe5)](this[_0x2def62(0x101)][_0x2def62(0xed)],()=>_0x1d578e['beforeCommandExecuted'](_0x2bd8dc=>{const _0x511523=_0x2def62;if(_0x2bd8dc['id']===_0x6d736f['id']){const _0x33f9f4=_0x119b40[_0x511523(0xe1)](_0xea0f);if(!this[_0x511523(0xf2)]())return;const _0x435750={'layoutConfig':_0x33f9f4[_0x511523(0xde)],'renderConfig':_0x33f9f4[_0x511523(0xec)]};if(_0x435750==null)return;if(this['fireEvent'](this[_0x511523(0x101)][_0x511523(0xed)],_0x435750),_0x435750['cancel'])throw new _0xf42e9e();}})),this[_0x2def62(0xe5)](this[_0x2def62(0x101)][_0x2def62(0xe9)],()=>_0x1d578e[_0x2def62(0xe4)](_0xc90eb7=>{const _0xc76b57=_0x2def62;if(_0xc90eb7['id']===_0x1d2523['id']){const _0x1016c5=_0x119b40[_0xc76b57(0xe1)](_0xea0f);if(!this[_0xc76b57(0xf2)]())return;const _0x441b5a={'layoutConfig':_0x1016c5['layoutConfig'],'renderConfig':_0x1016c5[_0xc76b57(0xec)]};if(_0x441b5a==null)return;if(this[_0xc76b57(0xd3)](this['Event'][_0xc76b57(0xe9)],_0x441b5a),_0x441b5a[_0xc76b57(0xfb)])throw new _0xf42e9e();}})),this[_0x2def62(0xe5)](this[_0x2def62(0x101)][_0x2def62(0xdf)],()=>_0x1d578e[_0x2def62(0xd9)](_0x41b476=>{const _0x5893f6=_0x2def62;if(_0x41b476['id']===_0x2fbf0c['id']){const _0x2583c8=this[_0x5893f6(0xf2)]();if(!_0x2583c8)return;const _0x2ace40={'workbook':_0x2583c8,'worksheet':_0x2583c8[_0x5893f6(0xff)]()};if(_0x2ace40==null)return;this[_0x5893f6(0xd3)](this[_0x5893f6(0x101)]['SheetPrintOpen'],_0x2ace40);}})),this['registerEventHandler'](this[_0x2def62(0x101)][_0x2def62(0x104)],()=>_0x1d578e[_0x2def62(0xd9)](_0x30a01f=>{const _0x42d0a4=_0x2def62;if(_0x30a01f['id']===_0x6d736f['id']){const _0x4735bf=_0x119b40[_0x42d0a4(0xe1)](_0xea0f);if(!this['getActiveUniverSheet']())return;const _0x5e2d7f={'layoutConfig':_0x4735bf['layoutConfig'],'renderConfig':_0x4735bf['renderConfig']};if(_0x5e2d7f==null)return;this[_0x42d0a4(0xd3)](this[_0x42d0a4(0x101)][_0x42d0a4(0x104)],_0x5e2d7f);}})),this[_0x2def62(0xe5)](this['Event'][_0x2def62(0x100)],()=>_0x1d578e['onCommandExecuted'](_0x515bbe=>{const _0x191840=_0x2def62;if(_0x515bbe['id']===_0x1d2523['id']){const _0x2f6aa1=_0x119b40['get'](_0xea0f);if(!this[_0x191840(0xf2)]())return;const _0x4cf94f={'layoutConfig':_0x2f6aa1[_0x191840(0xde)],'renderConfig':_0x2f6aa1[_0x191840(0xec)]};if(_0x4cf94f==null)return;this[_0x191840(0xd3)](this[_0x191840(0x101)][_0x191840(0x100)],_0x4cf94f);}}));}}function _0x3d0d(_0x2133e9,_0x222ae5){const _0x8bcad6=_0x8bca();return _0x3d0d=function(_0x3d0da8,_0x3cee6b){_0x3d0da8=_0x3d0da8-0xd2;let _0x3bbf49=_0x8bcad6[_0x3d0da8];return _0x3bbf49;},_0x3d0d(_0x2133e9,_0x222ae5);}_0xa0c916['extend'](M);
|