@univerjs-pro/sheets-print 0.9.3 → 0.9.4-nightly.202507290757
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 +42 -42
- 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 +16 -16
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x21fe34=_0x1eaa;(function(_0x1263fc,_0x5d3721){const _0x1519ba=_0x1eaa,_0xb7ad6b=_0x1263fc();while(!![]){try{const _0x44af47=-parseInt(_0x1519ba(0x1a6))/0x1*(parseInt(_0x1519ba(0x1b9))/0x2)+-parseInt(_0x1519ba(0x1b2))/0x3+-parseInt(_0x1519ba(0x1b8))/0x4+-parseInt(_0x1519ba(0x1c8))/0x5+-parseInt(_0x1519ba(0x1b0))/0x6*(-parseInt(_0x1519ba(0x1b5))/0x7)+-parseInt(_0x1519ba(0x1a4))/0x8+parseInt(_0x1519ba(0x1c2))/0x9;if(_0x44af47===_0x5d3721)break;else _0xb7ad6b['push'](_0xb7ad6b['shift']());}catch(_0x517457){_0xb7ad6b['push'](_0xb7ad6b['shift']());}}}(_0x3b2c,0x50df2));import{ISheetPrintManagerService as _0x4e243c,ConfirmSheetPrintOperation as _0x3dc7de,SheetPrintOpenOperation as _0x55477f,CancelSheetPrintOperation as _0x5ee755,hasPrintFacadePermission as _0x164e61,SheetScreenShotOperation as _0x15f5f6,SheetPrintClientService as _0x35ffbc,PrintArea as _0xf44ae8,PrintFreeze as _0x477364,PrintHeaderFooter as _0x5a3703,PrintHeaderFooterSymbol as _0x5043b6}from'@univerjs-pro/sheets-print';import{ICommandService as _0x50310f,PaperType as _0x2a0f03,CanceledError as _0x40eb86}from'@univerjs/core';import{FWorkbook as _0xe87fb9,FRange as _0x19ba5d}from'@univerjs/sheets/facade';import{FEventName as _0x19d35e,FEnum as _0x494ca6,FUniver as _0x22ba69}from'@univerjs/core/facade';import{PrintAlign as _0x5df78f,PrintPaperMargin as _0x5e1563,PrintScale as _0x51cac8,PrintDirection as _0x2151dd}from'@univerjs-pro/print';class A extends _0xe87fb9{[_0x21fe34(0x1a5)](_0x2a7200){const _0x3e0324=_0x21fe34;return this[_0x3e0324(0x1af)]['get'](_0x4e243c)[_0x3e0324(0x1be)](_0x2a7200),this;}[_0x21fe34(0x1bc)](_0x53622a){const _0x46d293=_0x21fe34;return this[_0x46d293(0x1af)][_0x46d293(0x1c3)](_0x4e243c)['updateRenderConfig'](_0x53622a),this;}[_0x21fe34(0x1a3)](){const _0x2243dc=_0x21fe34;return this['_injector'][_0x2243dc(0x1c3)](_0x50310f)['syncExecuteCommand'](_0x3dc7de['id']);}[_0x21fe34(0x1cb)](){const _0x5b6f11=_0x21fe34;return this[_0x5b6f11(0x1af)]['get'](_0x50310f)['syncExecuteCommand'](_0x55477f['id']);}['closePrintDialog'](){const _0xf86ac9=_0x21fe34;return this[_0xf86ac9(0x1af)]['get'](_0x50310f)['syncExecuteCommand'](_0x5ee755['id']);}async[_0x21fe34(0x1a2)](){const _0x41b4fc=_0x21fe34;return _0x164e61(this[_0x41b4fc(0x1af)])?this['_injector'][_0x41b4fc(0x1c3)](_0x50310f)[_0x41b4fc(0x1ae)](_0x15f5f6['id']):!0x1;}}_0xe87fb9['extend'](A);function _0x1eaa(_0x51724d,_0x49adc1){const _0x3b2c54=_0x3b2c();return _0x1eaa=function(_0x1eaad3,_0x5d3103){_0x1eaad3=_0x1eaad3-0x1a2;let _0x55ccc7=_0x3b2c54[_0x1eaad3];return _0x55ccc7;},_0x1eaa(_0x51724d,_0x49adc1);}class B extends _0x19ba5d{[_0x21fe34(0x1ac)](){const _0x340dd7=_0x21fe34;return _0x164e61(this['_injector'])?this[_0x340dd7(0x1af)][_0x340dd7(0x1c3)](_0x35ffbc)['getRangeImage'](this[_0x340dd7(0x1a8)][_0x340dd7(0x1c1)](),this['_worksheet'][_0x340dd7(0x1ab)](),this['_range']):!0x1;}}_0x19ba5d[_0x21fe34(0x1d0)](B);class H{get[_0x21fe34(0x1d1)](){const _0x146e24=_0x21fe34;return _0x146e24(0x1d1);}get['BeforeSheetPrintConfirm'](){const _0x211efa=_0x21fe34;return _0x211efa(0x1cc);}get[_0x21fe34(0x1c7)](){const _0x439dc7=_0x21fe34;return _0x439dc7(0x1c7);}get['SheetPrintOpen'](){const _0x4a88c6=_0x21fe34;return _0x4a88c6(0x1c0);}get[_0x21fe34(0x1b6)](){const _0xdbc8bb=_0x21fe34;return _0xdbc8bb(0x1b6);}get[_0x21fe34(0x1a7)](){const _0x129460=_0x21fe34;return _0x129460(0x1a7);}}_0x19d35e['extend'](H);class U{get[_0x21fe34(0x1cd)](){return _0xf44ae8;}get['PrintAlign'](){return _0x5df78f;}get[_0x21fe34(0x1ca)](){return _0x2a0f03;}get[_0x21fe34(0x1bd)](){return _0x5e1563;}get[_0x21fe34(0x1ad)](){return _0x51cac8;}get[_0x21fe34(0x1bb)](){return _0x2151dd;}get[_0x21fe34(0x1c9)](){return _0x477364;}get[_0x21fe34(0x1b7)](){return _0x5a3703;}get[_0x21fe34(0x1aa)](){return _0x5043b6;}}function _0x3b2c(){const _0x468122=['extend','BeforeSheetPrintOpen','saveScreenshotToClipboard','print','4412808cxXVDm','updatePrintConfig','25HINqlt','SheetPrintCanceled','_workbook','fireEvent','PrintHeaderFooterSymbol','getSheetId','getScreenshot','PrintScale','executeCommand','_injector','24AWenhS','layoutConfig','273948xuQOOz','getActiveSheet','beforeCommandExecuted','1146698ILFeTF','SheetPrintConfirmed','PrintHeaderFooter','96956wxMIhJ','1654jHxnqn','cancel','PrintDirection','updatePrintRenderConfig','PrintPaperMargin','updateLayoutConfig','renderConfig','SheetPrintOpen','getUnitId','6191892twmLbb','get','Event','_initialize','registerEventHandler','BeforeSheetPrintCanceled','1620815bFhKJP','PrintFreeze','PrintPaperSize','openPrintDialog','BeforeSheetPrintConfirm','PrintArea','getActiveUniverSheet','onCommandExecuted'];_0x3b2c=function(){return _0x468122;};return _0x3b2c();}_0x494ca6['extend'](U);class M extends _0x22ba69{[_0x21fe34(0x1c5)](_0x4cee72){const _0x8bb3d2=_0x21fe34,_0x1311eb=_0x4cee72[_0x8bb3d2(0x1c3)](_0x50310f);this[_0x8bb3d2(0x1c6)](this['Event'][_0x8bb3d2(0x1d1)],()=>_0x1311eb[_0x8bb3d2(0x1b4)](_0x245bff=>{const _0x2ab4be=_0x8bb3d2;if(_0x245bff['id']===_0x55477f['id']){const _0x4ce50d=this[_0x2ab4be(0x1ce)]();if(!_0x4ce50d)return;const _0x4d6adc={'workbook':_0x4ce50d,'worksheet':_0x4ce50d[_0x2ab4be(0x1b3)]()};if(_0x4d6adc==null)return;if(this[_0x2ab4be(0x1a9)](this[_0x2ab4be(0x1c4)]['BeforeSheetPrintOpen'],_0x4d6adc),_0x4d6adc[_0x2ab4be(0x1ba)])throw new _0x40eb86();}})),this[_0x8bb3d2(0x1c6)](this['Event'][_0x8bb3d2(0x1cc)],()=>_0x1311eb[_0x8bb3d2(0x1b4)](_0xa4260b=>{const _0x4def22=_0x8bb3d2;if(_0xa4260b['id']===_0x3dc7de['id']){const _0x420db5=_0x4cee72[_0x4def22(0x1c3)](_0x4e243c);if(!this[_0x4def22(0x1ce)]())return;const _0x13d94b={'layoutConfig':_0x420db5[_0x4def22(0x1b1)],'renderConfig':_0x420db5['renderConfig']};if(_0x13d94b==null)return;if(this[_0x4def22(0x1a9)](this[_0x4def22(0x1c4)][_0x4def22(0x1cc)],_0x13d94b),_0x13d94b[_0x4def22(0x1ba)])throw new _0x40eb86();}})),this['registerEventHandler'](this[_0x8bb3d2(0x1c4)]['BeforeSheetPrintCanceled'],()=>_0x1311eb['beforeCommandExecuted'](_0x3ffe23=>{const _0x587f07=_0x8bb3d2;if(_0x3ffe23['id']===_0x5ee755['id']){const _0x488909=_0x4cee72[_0x587f07(0x1c3)](_0x4e243c);if(!this[_0x587f07(0x1ce)]())return;const _0x224c1c={'layoutConfig':_0x488909[_0x587f07(0x1b1)],'renderConfig':_0x488909[_0x587f07(0x1bf)]};if(_0x224c1c==null)return;if(this[_0x587f07(0x1a9)](this[_0x587f07(0x1c4)][_0x587f07(0x1c7)],_0x224c1c),_0x224c1c[_0x587f07(0x1ba)])throw new _0x40eb86();}})),this[_0x8bb3d2(0x1c6)](this[_0x8bb3d2(0x1c4)]['SheetPrintOpen'],()=>_0x1311eb[_0x8bb3d2(0x1cf)](_0x191429=>{const _0x13b056=_0x8bb3d2;if(_0x191429['id']===_0x55477f['id']){const _0x2bdead=this['getActiveUniverSheet']();if(!_0x2bdead)return;const _0xb8d35a={'workbook':_0x2bdead,'worksheet':_0x2bdead['getActiveSheet']()};if(_0xb8d35a==null)return;this[_0x13b056(0x1a9)](this['Event'][_0x13b056(0x1c0)],_0xb8d35a);}})),this[_0x8bb3d2(0x1c6)](this[_0x8bb3d2(0x1c4)][_0x8bb3d2(0x1b6)],()=>_0x1311eb['onCommandExecuted'](_0x5d71d3=>{const _0x3a7aa1=_0x8bb3d2;if(_0x5d71d3['id']===_0x3dc7de['id']){const _0x18db0a=_0x4cee72[_0x3a7aa1(0x1c3)](_0x4e243c);if(!this['getActiveUniverSheet']())return;const _0x30f4bb={'layoutConfig':_0x18db0a['layoutConfig'],'renderConfig':_0x18db0a[_0x3a7aa1(0x1bf)]};if(_0x30f4bb==null)return;this[_0x3a7aa1(0x1a9)](this['Event'][_0x3a7aa1(0x1b6)],_0x30f4bb);}})),this['registerEventHandler'](this[_0x8bb3d2(0x1c4)][_0x8bb3d2(0x1a7)],()=>_0x1311eb[_0x8bb3d2(0x1cf)](_0x423792=>{const _0x4b3ccc=_0x8bb3d2;if(_0x423792['id']===_0x5ee755['id']){const _0x1fb971=_0x4cee72[_0x4b3ccc(0x1c3)](_0x4e243c);if(!this[_0x4b3ccc(0x1ce)]())return;const _0x891410={'layoutConfig':_0x1fb971[_0x4b3ccc(0x1b1)],'renderConfig':_0x1fb971['renderConfig']};if(_0x891410==null)return;this['fireEvent'](this[_0x4b3ccc(0x1c4)][_0x4b3ccc(0x1a7)],_0x891410);}}));}}_0x22ba69[_0x21fe34(0x1d0)](M);
|