@univerjs-pro/sheets-print 0.8.0-nightly.202506051607 → 0.8.0-nightly.202506071606
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.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/controllers/const.d.ts +1 -1
- 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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3fcb(){const _0x313f54=['getRangeImage','2639988AqyuXY','FWorkbook','renderConfig','477hOICGs','@univerjs/sheets/facade','FEnum','_worksheet','PaperType','188992YSNhkT','_range','cancel','get','PrintPaperMargin','executeCommand','BeforeSheetPrintOpen','updatePrintRenderConfig','registerEventHandler','SheetPrintConfirmed','216465kuTPlE','Event','FUniver','saveScreenshotToClipboard','769601fWepvd','closePrintDialog','BeforeSheetPrintConfirm','getUnitId','157590crzvTt','PrintDirection','22285hmKtqk','updatePrintConfig','SheetPrintOpen','SheetPrintCanceled','getActiveUniverSheet','fireEvent','CancelSheetPrintOperation','_workbook','PrintAlign','CanceledError','ISheetPrintManagerService','_initialize','ICommandService','extend','FRange','layoutConfig','PrintArea','SheetScreenShotOperation','updateLayoutConfig','SheetPrintClientService','getActiveSheet','573294dmYGwz','PrintFreeze','_injector','updateRenderConfig','@univerjs/core','246DCmyMl','PrintHeaderFooterSymbol','beforeCommandExecuted','@univerjs-pro/print','getSheetId','syncExecuteCommand','PrintPaperSize','BeforeSheetPrintCanceled','print','4HInHyJ','SheetPrintOpenOperation','PrintScale','ConfirmSheetPrintOperation','openPrintDialog','onCommandExecuted'];_0x3fcb=function(){return _0x313f54;};return _0x3fcb();}const _0x333a16=_0x2c9a;function _0x2c9a(_0x4856fe,_0x752288){const _0x3fcb28=_0x3fcb();return _0x2c9a=function(_0x2c9a6e,_0x3ae6e3){_0x2c9a6e=_0x2c9a6e-0xbc;let _0x4a749b=_0x3fcb28[_0x2c9a6e];return _0x4a749b;},_0x2c9a(_0x4856fe,_0x752288);}(function(_0x1c8878,_0x5c4d8f){const _0x17f6e8=_0x2c9a,_0xd522eb=_0x1c8878();while(!![]){try{const _0x41cc31=parseInt(_0x17f6e8(0xcf))/0x1*(parseInt(_0x17f6e8(0xfc))/0x2)+parseInt(_0x17f6e8(0xee))/0x3+-parseInt(_0x17f6e8(0xbd))/0x4+-parseInt(_0x17f6e8(0xd9))/0x5*(parseInt(_0x17f6e8(0xf3))/0x6)+-parseInt(_0x17f6e8(0xd3))/0x7+parseInt(_0x17f6e8(0xc5))/0x8+-parseInt(_0x17f6e8(0xc0))/0x9*(-parseInt(_0x17f6e8(0xd7))/0xa);if(_0x41cc31===_0x5c4d8f)break;else _0xd522eb['push'](_0xd522eb['shift']());}catch(_0x411bb8){_0xd522eb['push'](_0xd522eb['shift']());}}}(_0x3fcb,0x8171a));const e=require('@univerjs-pro/sheets-print'),a=require(_0x333a16(0xf2)),d=require(_0x333a16(0xc1)),g=require('@univerjs/core/facade'),c=require(_0x333a16(0xf6));class S extends d[_0x333a16(0xbe)]{[_0x333a16(0xda)](_0xf74b7){const _0x56bfe1=_0x333a16;return this[_0x56bfe1(0xf0)]['get'](e[_0x56bfe1(0xe3)])[_0x56bfe1(0xeb)](_0xf74b7),this;}[_0x333a16(0xcc)](_0x55d908){const _0x54fc06=_0x333a16;return this[_0x54fc06(0xf0)][_0x54fc06(0xc8)](e['ISheetPrintManagerService'])[_0x54fc06(0xf1)](_0x55d908),this;}[_0x333a16(0xfb)](){const _0x106ae2=_0x333a16;return this[_0x106ae2(0xf0)][_0x106ae2(0xc8)](a['ICommandService'])[_0x106ae2(0xf8)](e[_0x106ae2(0xff)]['id']);}[_0x333a16(0x100)](){const _0x508fa2=_0x333a16;return this['_injector']['get'](a[_0x508fa2(0xe5)])[_0x508fa2(0xf8)](e[_0x508fa2(0xfd)]['id']);}[_0x333a16(0xd4)](){const _0x8528cc=_0x333a16;return this[_0x8528cc(0xf0)][_0x8528cc(0xc8)](a['ICommandService'])[_0x8528cc(0xf8)](e['CancelSheetPrintOperation']['id']);}async[_0x333a16(0xd2)](){const _0x4df1c8=_0x333a16;return e['hasPrintFacadePermission'](this[_0x4df1c8(0xf0)])?this[_0x4df1c8(0xf0)][_0x4df1c8(0xc8)](a[_0x4df1c8(0xe5)])[_0x4df1c8(0xca)](e[_0x4df1c8(0xea)]['id']):!0x1;}}d[_0x333a16(0xbe)][_0x333a16(0xe6)](S);class f extends d[_0x333a16(0xe7)]{['getScreenshot'](){const _0x5cc9c8=_0x333a16;return e['hasPrintFacadePermission'](this[_0x5cc9c8(0xf0)])?this[_0x5cc9c8(0xf0)]['get'](e[_0x5cc9c8(0xec)])[_0x5cc9c8(0xbc)](this[_0x5cc9c8(0xe0)][_0x5cc9c8(0xd6)](),this[_0x5cc9c8(0xc3)][_0x5cc9c8(0xf7)](),this[_0x5cc9c8(0xc6)]):!0x1;}}d[_0x333a16(0xe7)][_0x333a16(0xe6)](f);class P{get[_0x333a16(0xcb)](){const _0x430bf1=_0x333a16;return _0x430bf1(0xcb);}get[_0x333a16(0xd5)](){const _0x4a228f=_0x333a16;return _0x4a228f(0xd5);}get[_0x333a16(0xfa)](){const _0x1da339=_0x333a16;return _0x1da339(0xfa);}get['SheetPrintOpen'](){const _0x5706d1=_0x333a16;return _0x5706d1(0xdb);}get[_0x333a16(0xce)](){const _0x3fe4=_0x333a16;return _0x3fe4(0xce);}get[_0x333a16(0xdc)](){return'SheetPrintCanceled';}}g['FEventName'][_0x333a16(0xe6)](P);class u{get[_0x333a16(0xe9)](){const _0x44f8a0=_0x333a16;return e[_0x44f8a0(0xe9)];}get[_0x333a16(0xe1)](){const _0x362338=_0x333a16;return c[_0x362338(0xe1)];}get[_0x333a16(0xf9)](){const _0xd6b6de=_0x333a16;return a[_0xd6b6de(0xc4)];}get[_0x333a16(0xc9)](){const _0x437687=_0x333a16;return c[_0x437687(0xc9)];}get[_0x333a16(0xfe)](){return c['PrintScale'];}get[_0x333a16(0xd8)](){const _0x3cb19a=_0x333a16;return c[_0x3cb19a(0xd8)];}get[_0x333a16(0xef)](){return e['PrintFreeze'];}get['PrintHeaderFooter'](){return e['PrintHeaderFooter'];}get[_0x333a16(0xf4)](){const _0x368ac2=_0x333a16;return e[_0x368ac2(0xf4)];}}g[_0x333a16(0xc2)][_0x333a16(0xe6)](u);class l extends g[_0x333a16(0xd1)]{[_0x333a16(0xe4)](_0x51ab31){const _0x5020f6=_0x333a16,_0x2f538c=_0x51ab31['get'](a[_0x5020f6(0xe5)]);this['registerEventHandler'](this[_0x5020f6(0xd0)][_0x5020f6(0xcb)],()=>_0x2f538c[_0x5020f6(0xf5)](_0x3b40dc=>{const _0x2e51b3=_0x5020f6;if(_0x3b40dc['id']===e['SheetPrintOpenOperation']['id']){const _0x3baa76=this[_0x2e51b3(0xdd)]();if(!_0x3baa76)return;const _0x32d0f9={'workbook':_0x3baa76,'worksheet':_0x3baa76[_0x2e51b3(0xed)]()};if(_0x32d0f9==null)return;if(this[_0x2e51b3(0xde)](this[_0x2e51b3(0xd0)]['BeforeSheetPrintOpen'],_0x32d0f9),_0x32d0f9[_0x2e51b3(0xc7)])throw new a[(_0x2e51b3(0xe2))]();}})),this[_0x5020f6(0xcd)](this[_0x5020f6(0xd0)]['BeforeSheetPrintConfirm'],()=>_0x2f538c[_0x5020f6(0xf5)](_0x48ca00=>{const _0x4102a0=_0x5020f6;if(_0x48ca00['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2cc59a=_0x51ab31[_0x4102a0(0xc8)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x55fcac={'layoutConfig':_0x2cc59a[_0x4102a0(0xe8)],'renderConfig':_0x2cc59a[_0x4102a0(0xbf)]};if(_0x55fcac==null)return;if(this[_0x4102a0(0xde)](this[_0x4102a0(0xd0)][_0x4102a0(0xd5)],_0x55fcac),_0x55fcac[_0x4102a0(0xc7)])throw new a[(_0x4102a0(0xe2))]();}})),this['registerEventHandler'](this[_0x5020f6(0xd0)][_0x5020f6(0xfa)],()=>_0x2f538c[_0x5020f6(0xf5)](_0x5eeb12=>{const _0x2967a8=_0x5020f6;if(_0x5eeb12['id']===e[_0x2967a8(0xdf)]['id']){const _0x20bb74=_0x51ab31[_0x2967a8(0xc8)](e['ISheetPrintManagerService']);if(!this[_0x2967a8(0xdd)]())return;const _0x24f87d={'layoutConfig':_0x20bb74[_0x2967a8(0xe8)],'renderConfig':_0x20bb74[_0x2967a8(0xbf)]};if(_0x24f87d==null)return;if(this[_0x2967a8(0xde)](this[_0x2967a8(0xd0)][_0x2967a8(0xfa)],_0x24f87d),_0x24f87d[_0x2967a8(0xc7)])throw new a[(_0x2967a8(0xe2))]();}})),this[_0x5020f6(0xcd)](this[_0x5020f6(0xd0)]['SheetPrintOpen'],()=>_0x2f538c[_0x5020f6(0x101)](_0x34972b=>{const _0x2a0420=_0x5020f6;if(_0x34972b['id']===e[_0x2a0420(0xfd)]['id']){const _0x190128=this[_0x2a0420(0xdd)]();if(!_0x190128)return;const _0x47bfac={'workbook':_0x190128,'worksheet':_0x190128[_0x2a0420(0xed)]()};if(_0x47bfac==null)return;this[_0x2a0420(0xde)](this[_0x2a0420(0xd0)]['SheetPrintOpen'],_0x47bfac);}})),this[_0x5020f6(0xcd)](this[_0x5020f6(0xd0)]['SheetPrintConfirmed'],()=>_0x2f538c['onCommandExecuted'](_0x4281a4=>{const _0x2abf6a=_0x5020f6;if(_0x4281a4['id']===e[_0x2abf6a(0xff)]['id']){const _0x3dec88=_0x51ab31['get'](e['ISheetPrintManagerService']);if(!this[_0x2abf6a(0xdd)]())return;const _0x920b45={'layoutConfig':_0x3dec88[_0x2abf6a(0xe8)],'renderConfig':_0x3dec88[_0x2abf6a(0xbf)]};if(_0x920b45==null)return;this[_0x2abf6a(0xde)](this[_0x2abf6a(0xd0)][_0x2abf6a(0xce)],_0x920b45);}})),this[_0x5020f6(0xcd)](this[_0x5020f6(0xd0)][_0x5020f6(0xdc)],()=>_0x2f538c[_0x5020f6(0x101)](_0x33ddb=>{const _0xdbfb0c=_0x5020f6;if(_0x33ddb['id']===e[_0xdbfb0c(0xdf)]['id']){const _0x6877eb=_0x51ab31['get'](e['ISheetPrintManagerService']);if(!this[_0xdbfb0c(0xdd)]())return;const _0x47f2e8={'layoutConfig':_0x6877eb[_0xdbfb0c(0xe8)],'renderConfig':_0x6877eb[_0xdbfb0c(0xbf)]};if(_0x47f2e8==null)return;this[_0xdbfb0c(0xde)](this[_0xdbfb0c(0xd0)][_0xdbfb0c(0xdc)],_0x47f2e8);}}));}}g['FUniver'][_0x333a16(0xe6)](l);
|