@univerjs-pro/sheets-print 0.10.1 → 0.10.2-nightly.202508080617
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 +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/index.d.ts +7 -7
- 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 _0xabd6b1=_0x1f77;(function(_0x10f43b,_0x4d38c6){const _0x5aad0d=_0x1f77,_0x4eb4fc=_0x10f43b();while(!![]){try{const _0x39181c=parseInt(_0x5aad0d(0x194))/0x1*(parseInt(_0x5aad0d(0x187))/0x2)+-parseInt(_0x5aad0d(0x193))/0x3*(-parseInt(_0x5aad0d(0x182))/0x4)+parseInt(_0x5aad0d(0x17e))/0x5+-parseInt(_0x5aad0d(0x175))/0x6*(-parseInt(_0x5aad0d(0x195))/0x7)+parseInt(_0x5aad0d(0x197))/0x8+parseInt(_0x5aad0d(0x199))/0x9*(-parseInt(_0x5aad0d(0x190))/0xa)+-parseInt(_0x5aad0d(0x181))/0xb;if(_0x39181c===_0x4d38c6)break;else _0x4eb4fc['push'](_0x4eb4fc['shift']());}catch(_0x347219){_0x4eb4fc['push'](_0x4eb4fc['shift']());}}}(_0x3828,0xa5938));import{ISheetPrintManagerService as _0x551699,ConfirmSheetPrintOperation as _0x33c538,SheetPrintOpenOperation as _0x3b1f7a,CancelSheetPrintOperation as _0x24084e,hasPrintFacadePermission as _0x50bac8,SheetScreenShotOperation as _0xcadb8a,SheetPrintClientService as _0x29c97e,PrintArea as _0x474dc8,PrintFreeze as _0x52e550,PrintHeaderFooter as _0x140367,PrintHeaderFooterSymbol as _0x2a43a9}from'@univerjs-pro/sheets-print';import{ICommandService as _0x478a91,PaperType as _0x12f9f3,CanceledError as _0x14652f}from'@univerjs/core';import{FWorkbook as _0x4c963d,FRange as _0x22b0a3}from'@univerjs/sheets/facade';import{FEventName as _0x39c32e,FEnum as _0x257c97,FUniver as _0x2212ea}from'@univerjs/core/facade';function _0x3828(){const _0x2db9f=['beforeCommandExecuted','BeforeSheetPrintOpen','SheetPrintOpen','726zUruML','PrintAlign','getActiveUniverSheet','executeCommand','registerEventHandler','SheetPrintCanceled','_workbook','getActiveSheet','print','2816705sEziBW','getSheetId','_injector','27049451CiettT','2726352TSBFqW','syncExecuteCommand','cancel','getScreenshot','Event','762zHfhjz','fireEvent','PrintDirection','updatePrintRenderConfig','get','PrintHeaderFooterSymbol','getUnitId','closePrintDialog','BeforeSheetPrintCanceled','4810FKngRB','renderConfig','_range','3oNvBAQ','2284gdQLWO','41909LYlPNA','getRangeImage','7891784hhckyC','extend','12888NvfCbv','onCommandExecuted','SheetPrintConfirmed','BeforeSheetPrintConfirm','saveScreenshotToClipboard','PrintPaperSize','layoutConfig','updateRenderConfig','PrintHeaderFooter'];_0x3828=function(){return _0x2db9f;};return _0x3828();}import{PrintAlign as _0x2d9594,PrintPaperMargin as _0x1e386a,PrintScale as _0x2250f4,PrintDirection as _0x47bcc4}from'@univerjs-pro/print';class A extends _0x4c963d{['updatePrintConfig'](_0xfeaeac){const _0x3db870=_0x1f77;return this[_0x3db870(0x180)][_0x3db870(0x18b)](_0x551699)['updateLayoutConfig'](_0xfeaeac),this;}[_0xabd6b1(0x18a)](_0x1c605d){const _0x14369f=_0xabd6b1;return this['_injector']['get'](_0x551699)[_0x14369f(0x170)](_0x1c605d),this;}[_0xabd6b1(0x17d)](){const _0x1d435a=_0xabd6b1;return this['_injector'][_0x1d435a(0x18b)](_0x478a91)['syncExecuteCommand'](_0x33c538['id']);}['openPrintDialog'](){const _0x70cc8a=_0xabd6b1;return this[_0x70cc8a(0x180)][_0x70cc8a(0x18b)](_0x478a91)[_0x70cc8a(0x183)](_0x3b1f7a['id']);}[_0xabd6b1(0x18e)](){const _0x4b292a=_0xabd6b1;return this[_0x4b292a(0x180)][_0x4b292a(0x18b)](_0x478a91)[_0x4b292a(0x183)](_0x24084e['id']);}async[_0xabd6b1(0x16d)](){const _0x319948=_0xabd6b1;return _0x50bac8(this[_0x319948(0x180)])?this['_injector'][_0x319948(0x18b)](_0x478a91)[_0x319948(0x178)](_0xcadb8a['id']):!0x1;}}function _0x1f77(_0x265de8,_0x6c2b0a){const _0x382847=_0x3828();return _0x1f77=function(_0x1f770b,_0x22f074){_0x1f770b=_0x1f770b-0x16b;let _0x2b5357=_0x382847[_0x1f770b];return _0x2b5357;},_0x1f77(_0x265de8,_0x6c2b0a);}_0x4c963d[_0xabd6b1(0x198)](A);class B extends _0x22b0a3{[_0xabd6b1(0x185)](){const _0x56de88=_0xabd6b1;return _0x50bac8(this['_injector'])?this[_0x56de88(0x180)][_0x56de88(0x18b)](_0x29c97e)[_0x56de88(0x196)](this[_0x56de88(0x17b)][_0x56de88(0x18d)](),this['_worksheet'][_0x56de88(0x17f)](),this[_0x56de88(0x192)]):!0x1;}}_0x22b0a3['extend'](B);class H{get[_0xabd6b1(0x173)](){return'BeforeSheetPrintOpen';}get[_0xabd6b1(0x16c)](){const _0x36e1a6=_0xabd6b1;return _0x36e1a6(0x16c);}get[_0xabd6b1(0x18f)](){const _0x33824d=_0xabd6b1;return _0x33824d(0x18f);}get[_0xabd6b1(0x174)](){return'SheetPrintOpen';}get[_0xabd6b1(0x16b)](){return'SheetPrintConfirmed';}get[_0xabd6b1(0x17a)](){const _0x38877c=_0xabd6b1;return _0x38877c(0x17a);}}_0x39c32e[_0xabd6b1(0x198)](H);class U{get['PrintArea'](){return _0x474dc8;}get[_0xabd6b1(0x176)](){return _0x2d9594;}get[_0xabd6b1(0x16e)](){return _0x12f9f3;}get['PrintPaperMargin'](){return _0x1e386a;}get['PrintScale'](){return _0x2250f4;}get[_0xabd6b1(0x189)](){return _0x47bcc4;}get['PrintFreeze'](){return _0x52e550;}get[_0xabd6b1(0x171)](){return _0x140367;}get[_0xabd6b1(0x18c)](){return _0x2a43a9;}}_0x257c97[_0xabd6b1(0x198)](U);class M extends _0x2212ea{['_initialize'](_0x14d25c){const _0x22bd6e=_0xabd6b1,_0x3cf04a=_0x14d25c[_0x22bd6e(0x18b)](_0x478a91);this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)][_0x22bd6e(0x173)],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x4ec11d=>{const _0x1eee41=_0x22bd6e;if(_0x4ec11d['id']===_0x3b1f7a['id']){const _0x5adf00=this[_0x1eee41(0x177)]();if(!_0x5adf00)return;const _0x286a1c={'workbook':_0x5adf00,'worksheet':_0x5adf00[_0x1eee41(0x17c)]()};if(_0x286a1c==null)return;if(this[_0x1eee41(0x188)](this[_0x1eee41(0x186)]['BeforeSheetPrintOpen'],_0x286a1c),_0x286a1c[_0x1eee41(0x184)])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)]['BeforeSheetPrintConfirm'],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x408228=>{const _0x517a31=_0x22bd6e;if(_0x408228['id']===_0x33c538['id']){const _0x4b27be=_0x14d25c[_0x517a31(0x18b)](_0x551699);if(!this[_0x517a31(0x177)]())return;const _0x40e360={'layoutConfig':_0x4b27be[_0x517a31(0x16f)],'renderConfig':_0x4b27be[_0x517a31(0x191)]};if(_0x40e360==null)return;if(this[_0x517a31(0x188)](this[_0x517a31(0x186)][_0x517a31(0x16c)],_0x40e360),_0x40e360[_0x517a31(0x184)])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this[_0x22bd6e(0x186)][_0x22bd6e(0x18f)],()=>_0x3cf04a[_0x22bd6e(0x172)](_0x2eb68d=>{const _0x5d068d=_0x22bd6e;if(_0x2eb68d['id']===_0x24084e['id']){const _0x10c2eb=_0x14d25c[_0x5d068d(0x18b)](_0x551699);if(!this[_0x5d068d(0x177)]())return;const _0x79d1c0={'layoutConfig':_0x10c2eb['layoutConfig'],'renderConfig':_0x10c2eb[_0x5d068d(0x191)]};if(_0x79d1c0==null)return;if(this[_0x5d068d(0x188)](this[_0x5d068d(0x186)]['BeforeSheetPrintCanceled'],_0x79d1c0),_0x79d1c0['cancel'])throw new _0x14652f();}})),this[_0x22bd6e(0x179)](this['Event'][_0x22bd6e(0x174)],()=>_0x3cf04a['onCommandExecuted'](_0x3f98d9=>{const _0x2c597c=_0x22bd6e;if(_0x3f98d9['id']===_0x3b1f7a['id']){const _0x4c2969=this[_0x2c597c(0x177)]();if(!_0x4c2969)return;const _0x679a3d={'workbook':_0x4c2969,'worksheet':_0x4c2969[_0x2c597c(0x17c)]()};if(_0x679a3d==null)return;this[_0x2c597c(0x188)](this[_0x2c597c(0x186)][_0x2c597c(0x174)],_0x679a3d);}})),this[_0x22bd6e(0x179)](this['Event'][_0x22bd6e(0x16b)],()=>_0x3cf04a[_0x22bd6e(0x19a)](_0x412319=>{const _0x253fa9=_0x22bd6e;if(_0x412319['id']===_0x33c538['id']){const _0x4311da=_0x14d25c['get'](_0x551699);if(!this[_0x253fa9(0x177)]())return;const _0xb6961d={'layoutConfig':_0x4311da[_0x253fa9(0x16f)],'renderConfig':_0x4311da['renderConfig']};if(_0xb6961d==null)return;this[_0x253fa9(0x188)](this[_0x253fa9(0x186)]['SheetPrintConfirmed'],_0xb6961d);}})),this[_0x22bd6e(0x179)](this['Event']['SheetPrintCanceled'],()=>_0x3cf04a[_0x22bd6e(0x19a)](_0x5d2463=>{const _0x2ce5ff=_0x22bd6e;if(_0x5d2463['id']===_0x24084e['id']){const _0x58fa20=_0x14d25c[_0x2ce5ff(0x18b)](_0x551699);if(!this['getActiveUniverSheet']())return;const _0x596231={'layoutConfig':_0x58fa20[_0x2ce5ff(0x16f)],'renderConfig':_0x58fa20[_0x2ce5ff(0x191)]};if(_0x596231==null)return;this[_0x2ce5ff(0x188)](this['Event'][_0x2ce5ff(0x17a)],_0x596231);}}));}}_0x2212ea[_0xabd6b1(0x198)](M);
|