@univerjs-pro/sheets-print 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618
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 +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/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 +14 -14
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xfbfcd6=_0x2d51;function _0x2d51(_0x2686ac,_0x2e451d){const _0x137311=_0x1373();return _0x2d51=function(_0x2d514f,_0x373fbd){_0x2d514f=_0x2d514f-0x12f;let _0x133ad6=_0x137311[_0x2d514f];return _0x133ad6;},_0x2d51(_0x2686ac,_0x2e451d);}(function(_0x5d8bd6,_0x3e47ad){const _0x37f6cd=_0x2d51,_0xde8b3a=_0x5d8bd6();while(!![]){try{const _0x5c6644=-parseInt(_0x37f6cd(0x13c))/0x1*(parseInt(_0x37f6cd(0x155))/0x2)+parseInt(_0x37f6cd(0x152))/0x3*(-parseInt(_0x37f6cd(0x154))/0x4)+-parseInt(_0x37f6cd(0x135))/0x5+parseInt(_0x37f6cd(0x157))/0x6+parseInt(_0x37f6cd(0x131))/0x7+parseInt(_0x37f6cd(0x132))/0x8+-parseInt(_0x37f6cd(0x153))/0x9*(-parseInt(_0x37f6cd(0x156))/0xa);if(_0x5c6644===_0x3e47ad)break;else _0xde8b3a['push'](_0xde8b3a['shift']());}catch(_0x20dfbf){_0xde8b3a['push'](_0xde8b3a['shift']());}}}(_0x1373,0x2383e));function _0x1373(){const _0x241020=['SheetPrintConfirmed','SheetPrintOpen','getActiveUniverSheet','layoutConfig','BeforeSheetPrintOpen','BeforeSheetPrintConfirm','1pXlpLL','PrintFreeze','get','onCommandExecuted','beforeCommandExecuted','syncExecuteCommand','_initialize','closePrintDialog','cancel','saveScreenshotToClipboard','PrintArea','SheetPrintCanceled','extend','getSheetId','PrintPaperSize','getActiveSheet','PrintScale','BeforeSheetPrintCanceled','getRangeImage','PrintPaperMargin','Event','_range','10797XCedfT','36IrvgzR','296qMwGur','290558bxitur','502030LYuQij','1015926cLVfkS','_injector','print','renderConfig','fireEvent','registerEventHandler','_worksheet','getUnitId','getScreenshot','1814141DnvuzP','274472zItiIK','PrintHeaderFooter','_workbook','532650lugKZQ'];_0x1373=function(){return _0x241020;};return _0x1373();}import{ISheetPrintManagerService as _0x45bd03,ConfirmSheetPrintOperation as _0x424ab2,SheetPrintOpenOperation as _0x517552,CancelSheetPrintOperation as _0x43b4d6,hasPrintFacadePermission as _0x597aef,SheetScreenShotOperation as _0x235188,SheetPrintClientService as _0x2391f6,PrintArea as _0x3376ea,PrintFreeze as _0x1ad233,PrintHeaderFooter as _0x2667b9,PrintHeaderFooterSymbol as _0x2376c7}from'@univerjs-pro/sheets-print';import{ICommandService as _0x56f1ff,PaperType as _0x411c1d,CanceledError as _0xdda20e}from'@univerjs/core';import{FWorkbook as _0x3ffdb6,FRange as _0x57a831}from'@univerjs/sheets/facade';import{FEventName as _0x2b5254,FEnum as _0x2011e9,FUniver as _0xbaacc2}from'@univerjs/core/facade';import{PrintAlign as _0xb00b5d,PrintPaperMargin as _0x50e108,PrintScale as _0x5413a8,PrintDirection as _0x5cdd59}from'@univerjs-pro/print';class A extends _0x3ffdb6{['updatePrintConfig'](_0x4c50d9){const _0x179785=_0x2d51;return this['_injector'][_0x179785(0x13e)](_0x45bd03)['updateLayoutConfig'](_0x4c50d9),this;}['updatePrintRenderConfig'](_0x1b4310){const _0x18b86c=_0x2d51;return this[_0x18b86c(0x158)]['get'](_0x45bd03)['updateRenderConfig'](_0x1b4310),this;}[_0xfbfcd6(0x159)](){const _0x53ccee=_0xfbfcd6;return this[_0x53ccee(0x158)][_0x53ccee(0x13e)](_0x56f1ff)['syncExecuteCommand'](_0x424ab2['id']);}['openPrintDialog'](){const _0x3c831e=_0xfbfcd6;return this[_0x3c831e(0x158)][_0x3c831e(0x13e)](_0x56f1ff)['syncExecuteCommand'](_0x517552['id']);}[_0xfbfcd6(0x143)](){const _0x1eac98=_0xfbfcd6;return this[_0x1eac98(0x158)][_0x1eac98(0x13e)](_0x56f1ff)[_0x1eac98(0x141)](_0x43b4d6['id']);}async[_0xfbfcd6(0x145)](){const _0x2c3687=_0xfbfcd6;return _0x597aef(this[_0x2c3687(0x158)])?this[_0x2c3687(0x158)][_0x2c3687(0x13e)](_0x56f1ff)['executeCommand'](_0x235188['id']):!0x1;}}_0x3ffdb6[_0xfbfcd6(0x148)](A);class B extends _0x57a831{[_0xfbfcd6(0x130)](){const _0x131997=_0xfbfcd6;return _0x597aef(this['_injector'])?this[_0x131997(0x158)]['get'](_0x2391f6)[_0x131997(0x14e)](this[_0x131997(0x134)][_0x131997(0x12f)](),this[_0x131997(0x15d)][_0x131997(0x149)](),this[_0x131997(0x151)]):!0x1;}}_0x57a831[_0xfbfcd6(0x148)](B);class H{get[_0xfbfcd6(0x13a)](){const _0x105560=_0xfbfcd6;return _0x105560(0x13a);}get[_0xfbfcd6(0x13b)](){return'BeforeSheetPrintConfirm';}get[_0xfbfcd6(0x14d)](){return'BeforeSheetPrintCanceled';}get[_0xfbfcd6(0x137)](){const _0x35be5a=_0xfbfcd6;return _0x35be5a(0x137);}get['SheetPrintConfirmed'](){const _0x4e1a1f=_0xfbfcd6;return _0x4e1a1f(0x136);}get[_0xfbfcd6(0x147)](){const _0x48f9b9=_0xfbfcd6;return _0x48f9b9(0x147);}}_0x2b5254[_0xfbfcd6(0x148)](H);class U{get[_0xfbfcd6(0x146)](){return _0x3376ea;}get['PrintAlign'](){return _0xb00b5d;}get[_0xfbfcd6(0x14a)](){return _0x411c1d;}get[_0xfbfcd6(0x14f)](){return _0x50e108;}get[_0xfbfcd6(0x14c)](){return _0x5413a8;}get['PrintDirection'](){return _0x5cdd59;}get[_0xfbfcd6(0x13d)](){return _0x1ad233;}get[_0xfbfcd6(0x133)](){return _0x2667b9;}get['PrintHeaderFooterSymbol'](){return _0x2376c7;}}_0x2011e9['extend'](U);class M extends _0xbaacc2{[_0xfbfcd6(0x142)](_0x5e0976){const _0x32d6ba=_0xfbfcd6,_0x410146=_0x5e0976['get'](_0x56f1ff);this['registerEventHandler'](this[_0x32d6ba(0x150)][_0x32d6ba(0x13a)],()=>_0x410146[_0x32d6ba(0x140)](_0x477fdb=>{const _0x361a6a=_0x32d6ba;if(_0x477fdb['id']===_0x517552['id']){const _0x2fa286=this[_0x361a6a(0x138)]();if(!_0x2fa286)return;const _0x31100e={'workbook':_0x2fa286,'worksheet':_0x2fa286[_0x361a6a(0x14b)]()};if(_0x31100e==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintOpen'],_0x31100e),_0x31100e[_0x361a6a(0x144)])throw new _0xdda20e();}})),this[_0x32d6ba(0x15c)](this[_0x32d6ba(0x150)][_0x32d6ba(0x13b)],()=>_0x410146[_0x32d6ba(0x140)](_0xb9616b=>{const _0x43e2b5=_0x32d6ba;if(_0xb9616b['id']===_0x424ab2['id']){const _0x459cc0=_0x5e0976[_0x43e2b5(0x13e)](_0x45bd03);if(!this['getActiveUniverSheet']())return;const _0x2d4c9d={'layoutConfig':_0x459cc0['layoutConfig'],'renderConfig':_0x459cc0[_0x43e2b5(0x15a)]};if(_0x2d4c9d==null)return;if(this[_0x43e2b5(0x15b)](this['Event'][_0x43e2b5(0x13b)],_0x2d4c9d),_0x2d4c9d[_0x43e2b5(0x144)])throw new _0xdda20e();}})),this[_0x32d6ba(0x15c)](this[_0x32d6ba(0x150)][_0x32d6ba(0x14d)],()=>_0x410146[_0x32d6ba(0x140)](_0x5ed59c=>{const _0x2d6358=_0x32d6ba;if(_0x5ed59c['id']===_0x43b4d6['id']){const _0xc3c974=_0x5e0976[_0x2d6358(0x13e)](_0x45bd03);if(!this[_0x2d6358(0x138)]())return;const _0x4a8086={'layoutConfig':_0xc3c974['layoutConfig'],'renderConfig':_0xc3c974[_0x2d6358(0x15a)]};if(_0x4a8086==null)return;if(this[_0x2d6358(0x15b)](this[_0x2d6358(0x150)][_0x2d6358(0x14d)],_0x4a8086),_0x4a8086[_0x2d6358(0x144)])throw new _0xdda20e();}})),this[_0x32d6ba(0x15c)](this['Event'][_0x32d6ba(0x137)],()=>_0x410146[_0x32d6ba(0x13f)](_0x34c593=>{const _0x5c957c=_0x32d6ba;if(_0x34c593['id']===_0x517552['id']){const _0x3c1af9=this[_0x5c957c(0x138)]();if(!_0x3c1af9)return;const _0x2af124={'workbook':_0x3c1af9,'worksheet':_0x3c1af9['getActiveSheet']()};if(_0x2af124==null)return;this[_0x5c957c(0x15b)](this[_0x5c957c(0x150)][_0x5c957c(0x137)],_0x2af124);}})),this[_0x32d6ba(0x15c)](this[_0x32d6ba(0x150)]['SheetPrintConfirmed'],()=>_0x410146[_0x32d6ba(0x13f)](_0x2aecff=>{const _0xa11c6a=_0x32d6ba;if(_0x2aecff['id']===_0x424ab2['id']){const _0x2ebf36=_0x5e0976[_0xa11c6a(0x13e)](_0x45bd03);if(!this['getActiveUniverSheet']())return;const _0x17cc7c={'layoutConfig':_0x2ebf36[_0xa11c6a(0x139)],'renderConfig':_0x2ebf36[_0xa11c6a(0x15a)]};if(_0x17cc7c==null)return;this['fireEvent'](this[_0xa11c6a(0x150)][_0xa11c6a(0x136)],_0x17cc7c);}})),this[_0x32d6ba(0x15c)](this[_0x32d6ba(0x150)][_0x32d6ba(0x147)],()=>_0x410146[_0x32d6ba(0x13f)](_0xe08f6f=>{const _0x266c6a=_0x32d6ba;if(_0xe08f6f['id']===_0x43b4d6['id']){const _0x1ff99d=_0x5e0976[_0x266c6a(0x13e)](_0x45bd03);if(!this['getActiveUniverSheet']())return;const _0x79935e={'layoutConfig':_0x1ff99d['layoutConfig'],'renderConfig':_0x1ff99d[_0x266c6a(0x15a)]};if(_0x79935e==null)return;this[_0x266c6a(0x15b)](this[_0x266c6a(0x150)]['SheetPrintCanceled'],_0x79935e);}}));}}_0xbaacc2['extend'](M);
|