@univerjs-pro/sheets-print 0.10.3 → 0.10.4-nightly.202508220605
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/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 +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x579c05=_0x5b0f;(function(_0x46f72f,_0x21fdc3){const _0x273dae=_0x5b0f,_0x4f8f57=_0x46f72f();while(!![]){try{const _0x3e7189=parseInt(_0x273dae(0xe4))/0x1+parseInt(_0x273dae(0xdf))/0x2*(-parseInt(_0x273dae(0xe7))/0x3)+-parseInt(_0x273dae(0xf9))/0x4+parseInt(_0x273dae(0x112))/0x5*(parseInt(_0x273dae(0xf3))/0x6)+-parseInt(_0x273dae(0x10c))/0x7*(parseInt(_0x273dae(0xef))/0x8)+parseInt(_0x273dae(0x101))/0x9+-parseInt(_0x273dae(0xfc))/0xa;if(_0x3e7189===_0x21fdc3)break;else _0x4f8f57['push'](_0x4f8f57['shift']());}catch(_0x194a62){_0x4f8f57['push'](_0x4f8f57['shift']());}}}(_0x42b3,0x9ebf0));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');class S extends d[_0x579c05(0x10a)]{[_0x579c05(0xda)](_0x88a0f9){const _0x1ef348=_0x579c05;return this['_injector'][_0x1ef348(0xde)](e[_0x1ef348(0xff)])[_0x1ef348(0xe3)](_0x88a0f9),this;}[_0x579c05(0x105)](_0x2bbc00){const _0x1a7c7e=_0x579c05;return this['_injector']['get'](e[_0x1a7c7e(0xff)])[_0x1a7c7e(0xdb)](_0x2bbc00),this;}['print'](){const _0x30a158=_0x579c05;return this['_injector'][_0x30a158(0xde)](a[_0x30a158(0x109)])[_0x30a158(0xed)](e[_0x30a158(0xe5)]['id']);}[_0x579c05(0xf5)](){const _0x11cabe=_0x579c05;return this['_injector'][_0x11cabe(0xde)](a['ICommandService'])[_0x11cabe(0xed)](e[_0x11cabe(0xeb)]['id']);}['closePrintDialog'](){const _0x427c60=_0x579c05;return this[_0x427c60(0x115)][_0x427c60(0xde)](a[_0x427c60(0x109)])['syncExecuteCommand'](e[_0x427c60(0x106)]['id']);}async['saveScreenshotToClipboard'](){const _0xa8a43f=_0x579c05;return e['hasPrintFacadePermission'](this[_0xa8a43f(0x115)])?this['_injector']['get'](a[_0xa8a43f(0x109)])[_0xa8a43f(0xdd)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x579c05(0x10a)]['extend'](S);class f extends d[_0x579c05(0x116)]{['getScreenshot'](){const _0x935faf=_0x579c05;return e[_0x935faf(0xdc)](this[_0x935faf(0x115)])?this['_injector'][_0x935faf(0xde)](e[_0x935faf(0xfb)])['getRangeImage'](this[_0x935faf(0x110)]['getUnitId'](),this[_0x935faf(0xe6)]['getSheetId'](),this[_0x935faf(0xf0)]):!0x1;}}d[_0x579c05(0x116)][_0x579c05(0x10e)](f);function _0x5b0f(_0x4cbad2,_0x3c676a){const _0x42b342=_0x42b3();return _0x5b0f=function(_0x5b0f99,_0x2a4a82){_0x5b0f99=_0x5b0f99-0xda;let _0x290846=_0x42b342[_0x5b0f99];return _0x290846;},_0x5b0f(_0x4cbad2,_0x3c676a);}class P{get[_0x579c05(0x10f)](){const _0x23628c=_0x579c05;return _0x23628c(0x10f);}get[_0x579c05(0xee)](){const _0x2b300d=_0x579c05;return _0x2b300d(0xee);}get['BeforeSheetPrintCanceled'](){const _0x10910a=_0x579c05;return _0x10910a(0xf7);}get[_0x579c05(0xf1)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x579c05(0xe1)](){const _0x509718=_0x579c05;return _0x509718(0xe1);}}g[_0x579c05(0x102)][_0x579c05(0x10e)](P);class u{get[_0x579c05(0xfd)](){const _0x21f535=_0x579c05;return e[_0x21f535(0xfd)];}get[_0x579c05(0x10b)](){const _0x51c6b7=_0x579c05;return c[_0x51c6b7(0x10b)];}get['PrintPaperSize'](){const _0x2f9c27=_0x579c05;return a[_0x2f9c27(0xf6)];}get['PrintPaperMargin'](){const _0x52466e=_0x579c05;return c[_0x52466e(0x107)];}get[_0x579c05(0x113)](){const _0x4a3acb=_0x579c05;return c[_0x4a3acb(0x113)];}get[_0x579c05(0xfa)](){const _0x2799f1=_0x579c05;return c[_0x2799f1(0xfa)];}get[_0x579c05(0x10d)](){return e['PrintFreeze'];}get[_0x579c05(0xea)](){const _0x313889=_0x579c05;return e[_0x313889(0xea)];}get[_0x579c05(0xec)](){return e['PrintHeaderFooterSymbol'];}}g[_0x579c05(0xfe)][_0x579c05(0x10e)](u);class l extends g['FUniver']{[_0x579c05(0xe0)](_0x2433d0){const _0x29a752=_0x579c05,_0x4202d8=_0x2433d0['get'](a['ICommandService']);this[_0x29a752(0x108)](this[_0x29a752(0x111)][_0x29a752(0x10f)],()=>_0x4202d8[_0x29a752(0x114)](_0x4a837c=>{const _0x2c0d59=_0x29a752;if(_0x4a837c['id']===e[_0x2c0d59(0xeb)]['id']){const _0x1dfc2d=this['getActiveUniverSheet']();if(!_0x1dfc2d)return;const _0xc5c803={'workbook':_0x1dfc2d,'worksheet':_0x1dfc2d[_0x2c0d59(0xe9)]()};if(_0xc5c803==null)return;if(this[_0x2c0d59(0xe8)](this[_0x2c0d59(0x111)][_0x2c0d59(0x10f)],_0xc5c803),_0xc5c803[_0x2c0d59(0xf4)])throw new a[(_0x2c0d59(0xf8))]();}})),this[_0x29a752(0x108)](this[_0x29a752(0x111)][_0x29a752(0xee)],()=>_0x4202d8[_0x29a752(0x114)](_0xb8cdd8=>{const _0x3cf986=_0x29a752;if(_0xb8cdd8['id']===e[_0x3cf986(0xe5)]['id']){const _0x16b704=_0x2433d0['get'](e['ISheetPrintManagerService']);if(!this[_0x3cf986(0x100)]())return;const _0x19150d={'layoutConfig':_0x16b704[_0x3cf986(0x103)],'renderConfig':_0x16b704[_0x3cf986(0xf2)]};if(_0x19150d==null)return;if(this[_0x3cf986(0xe8)](this['Event'][_0x3cf986(0xee)],_0x19150d),_0x19150d[_0x3cf986(0xf4)])throw new a['CanceledError']();}})),this[_0x29a752(0x108)](this[_0x29a752(0x111)][_0x29a752(0xf7)],()=>_0x4202d8[_0x29a752(0x114)](_0x5df8eb=>{const _0x2704d1=_0x29a752;if(_0x5df8eb['id']===e[_0x2704d1(0x106)]['id']){const _0xe39e33=_0x2433d0[_0x2704d1(0xde)](e['ISheetPrintManagerService']);if(!this[_0x2704d1(0x100)]())return;const _0x27ea35={'layoutConfig':_0xe39e33['layoutConfig'],'renderConfig':_0xe39e33[_0x2704d1(0xf2)]};if(_0x27ea35==null)return;if(this[_0x2704d1(0xe8)](this[_0x2704d1(0x111)][_0x2704d1(0xf7)],_0x27ea35),_0x27ea35[_0x2704d1(0xf4)])throw new a[(_0x2704d1(0xf8))]();}})),this['registerEventHandler'](this[_0x29a752(0x111)]['SheetPrintOpen'],()=>_0x4202d8[_0x29a752(0xe2)](_0x32bc37=>{const _0x51559a=_0x29a752;if(_0x32bc37['id']===e[_0x51559a(0xeb)]['id']){const _0x43ff79=this[_0x51559a(0x100)]();if(!_0x43ff79)return;const _0x4e5b8d={'workbook':_0x43ff79,'worksheet':_0x43ff79[_0x51559a(0xe9)]()};if(_0x4e5b8d==null)return;this[_0x51559a(0xe8)](this['Event'][_0x51559a(0xf1)],_0x4e5b8d);}})),this[_0x29a752(0x108)](this[_0x29a752(0x111)][_0x29a752(0x104)],()=>_0x4202d8[_0x29a752(0xe2)](_0x5323a3=>{const _0xe9e180=_0x29a752;if(_0x5323a3['id']===e[_0xe9e180(0xe5)]['id']){const _0xdb6026=_0x2433d0[_0xe9e180(0xde)](e[_0xe9e180(0xff)]);if(!this['getActiveUniverSheet']())return;const _0x32e586={'layoutConfig':_0xdb6026[_0xe9e180(0x103)],'renderConfig':_0xdb6026[_0xe9e180(0xf2)]};if(_0x32e586==null)return;this[_0xe9e180(0xe8)](this[_0xe9e180(0x111)][_0xe9e180(0x104)],_0x32e586);}})),this[_0x29a752(0x108)](this[_0x29a752(0x111)][_0x29a752(0xe1)],()=>_0x4202d8['onCommandExecuted'](_0x1a5e7b=>{const _0x3bc597=_0x29a752;if(_0x1a5e7b['id']===e['CancelSheetPrintOperation']['id']){const _0xbd6b68=_0x2433d0[_0x3bc597(0xde)](e['ISheetPrintManagerService']);if(!this[_0x3bc597(0x100)]())return;const _0xdf642={'layoutConfig':_0xbd6b68[_0x3bc597(0x103)],'renderConfig':_0xbd6b68[_0x3bc597(0xf2)]};if(_0xdf642==null)return;this[_0x3bc597(0xe8)](this[_0x3bc597(0x111)][_0x3bc597(0xe1)],_0xdf642);}}));}}function _0x42b3(){const _0x44af50=['5uFaQxs','PrintScale','beforeCommandExecuted','_injector','FRange','updatePrintConfig','updateRenderConfig','hasPrintFacadePermission','executeCommand','get','14pKAMis','_initialize','SheetPrintCanceled','onCommandExecuted','updateLayoutConfig','539761dnWhZW','ConfirmSheetPrintOperation','_worksheet','115881pLYuRH','fireEvent','getActiveSheet','PrintHeaderFooter','SheetPrintOpenOperation','PrintHeaderFooterSymbol','syncExecuteCommand','BeforeSheetPrintConfirm','696matfTC','_range','SheetPrintOpen','renderConfig','4612074FBlKll','cancel','openPrintDialog','PaperType','BeforeSheetPrintCanceled','CanceledError','1011796LDpLMy','PrintDirection','SheetPrintClientService','753540sdacQQ','PrintArea','FEnum','ISheetPrintManagerService','getActiveUniverSheet','2367648YrfsqX','FEventName','layoutConfig','SheetPrintConfirmed','updatePrintRenderConfig','CancelSheetPrintOperation','PrintPaperMargin','registerEventHandler','ICommandService','FWorkbook','PrintAlign','25956oBFmBS','PrintFreeze','extend','BeforeSheetPrintOpen','_workbook','Event'];_0x42b3=function(){return _0x44af50;};return _0x42b3();}g['FUniver'][_0x579c05(0x10e)](l);
|