@univerjs-pro/sheets-print 0.8.3-nightly.202507011607 → 0.8.3-nightly.202507021607
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/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/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/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/en-US.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/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/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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x46e7(_0x1b86ea,_0xe2c8ee){const _0x321f82=_0x321f();return _0x46e7=function(_0x46e77f,_0x42bd56){_0x46e77f=_0x46e77f-0x10a;let _0x428124=_0x321f82[_0x46e77f];return _0x428124;},_0x46e7(_0x1b86ea,_0xe2c8ee);}function _0x321f(){const _0x34ca70=['@univerjs/core/facade','PaperType','PrintPaperSize','extend','updateRenderConfig','_injector','registerEventHandler','SheetPrintOpenOperation','cancel','function','2978074IlPyqA','UniverProSheetsPrint','PrintHeaderFooterSymbol','SheetPrintConfirmed','FEnum','renderConfig','BeforeSheetPrintConfirm','SheetPrintOpen','getActiveUniverSheet','_range','361801wKTAMY','ICommandService','beforeCommandExecuted','25890vENBwy','FEventName','UniverSheetsFacade','ConfirmSheetPrintOperation','print','PrintArea','get','_worksheet','@univerjs-pro/print','1510FjbFWF','PrintAlign','645astGIj','SheetPrintClientService','hasPrintFacadePermission','fireEvent','FWorkbook','CanceledError','16saJGSA','UniverProPrint','FRange','1150807SGHjvl','3010pdAvhz','@univerjs-pro/sheets-print','getUnitId','BeforeSheetPrintOpen','FUniver','Event','1122rABNwt','onCommandExecuted','PrintFreeze','layoutConfig','117gNkQMc','openPrintDialog','CancelSheetPrintOperation','UniverCoreFacade','getActiveSheet','SheetPrintCanceled','717440llkoRQ','saveScreenshotToClipboard','ISheetPrintManagerService','syncExecuteCommand','BeforeSheetPrintCanceled','PrintScale','PrintPaperMargin'];_0x321f=function(){return _0x34ca70;};return _0x321f();}(function(_0x5299b0,_0x3bd4a8){const _0x17a6a0=_0x46e7,_0x30cc97=_0x5299b0();while(!![]){try{const _0x2f8f9d=parseInt(_0x17a6a0(0x120))/0x1+-parseInt(_0x17a6a0(0x12c))/0x2*(-parseInt(_0x17a6a0(0x12e))/0x3)+-parseInt(_0x17a6a0(0x148))/0x4+-parseInt(_0x17a6a0(0x138))/0x5*(parseInt(_0x17a6a0(0x13e))/0x6)+-parseInt(_0x17a6a0(0x137))/0x7*(parseInt(_0x17a6a0(0x134))/0x8)+parseInt(_0x17a6a0(0x142))/0x9*(parseInt(_0x17a6a0(0x123))/0xa)+parseInt(_0x17a6a0(0x116))/0xb;if(_0x2f8f9d===_0x3bd4a8)break;else _0x30cc97['push'](_0x30cc97['shift']());}catch(_0x1b8556){_0x30cc97['push'](_0x30cc97['shift']());}}}(_0x321f,0x32ba5),function(_0x2dcc49,_0x49b7a4){const _0xabce9c=_0x46e7;typeof exports=='object'&&typeof module<'u'?_0x49b7a4(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0xabce9c(0x115)&&define['amd']?define([_0xabce9c(0x139),'@univerjs/core','@univerjs/sheets/facade',_0xabce9c(0x10c),_0xabce9c(0x12b)],_0x49b7a4):(_0x2dcc49=typeof globalThis<'u'?globalThis:_0x2dcc49||self,_0x49b7a4(_0x2dcc49[_0xabce9c(0x117)],_0x2dcc49['UniverCore'],_0x2dcc49[_0xabce9c(0x125)],_0x2dcc49[_0xabce9c(0x145)],_0x2dcc49[_0xabce9c(0x135)]));}(this,function(_0x912cc0,_0x3bbea0,_0x3beed1,_0x2dda3a,_0x376614){'use strict';const _0x11ca2f=_0x46e7;class _0x3dba6e extends _0x3beed1[_0x11ca2f(0x132)]{['updatePrintConfig'](_0x3725a6){const _0x241c0b=_0x11ca2f;return this[_0x241c0b(0x111)][_0x241c0b(0x129)](_0x912cc0[_0x241c0b(0x14a)])['updateLayoutConfig'](_0x3725a6),this;}['updatePrintRenderConfig'](_0x224e69){const _0x264850=_0x11ca2f;return this[_0x264850(0x111)][_0x264850(0x129)](_0x912cc0[_0x264850(0x14a)])[_0x264850(0x110)](_0x224e69),this;}[_0x11ca2f(0x127)](){const _0x27ebd5=_0x11ca2f;return this[_0x27ebd5(0x111)]['get'](_0x3bbea0[_0x27ebd5(0x121)])['syncExecuteCommand'](_0x912cc0[_0x27ebd5(0x126)]['id']);}[_0x11ca2f(0x143)](){const _0x3ae6f7=_0x11ca2f;return this[_0x3ae6f7(0x111)][_0x3ae6f7(0x129)](_0x3bbea0[_0x3ae6f7(0x121)])[_0x3ae6f7(0x14b)](_0x912cc0['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x30b2be=_0x11ca2f;return this[_0x30b2be(0x111)][_0x30b2be(0x129)](_0x3bbea0['ICommandService'])[_0x30b2be(0x14b)](_0x912cc0[_0x30b2be(0x144)]['id']);}async[_0x11ca2f(0x149)](){const _0x1a43b5=_0x11ca2f;return _0x912cc0[_0x1a43b5(0x130)](this[_0x1a43b5(0x111)])?this[_0x1a43b5(0x111)]['get'](_0x3bbea0[_0x1a43b5(0x121)])['executeCommand'](_0x912cc0['SheetScreenShotOperation']['id']):!0x1;}}_0x3beed1[_0x11ca2f(0x132)]['extend'](_0x3dba6e);class _0x152657 extends _0x3beed1[_0x11ca2f(0x136)]{['getScreenshot'](){const _0x2aff3c=_0x11ca2f;return _0x912cc0[_0x2aff3c(0x130)](this[_0x2aff3c(0x111)])?this['_injector'][_0x2aff3c(0x129)](_0x912cc0[_0x2aff3c(0x12f)])['getRangeImage'](this['_workbook'][_0x2aff3c(0x13a)](),this[_0x2aff3c(0x12a)]['getSheetId'](),this[_0x2aff3c(0x11f)]):!0x1;}}_0x3beed1['FRange'][_0x11ca2f(0x10f)](_0x152657);class _0x7ca1fa{get[_0x11ca2f(0x13b)](){return'BeforeSheetPrintOpen';}get[_0x11ca2f(0x11c)](){const _0x5a7f18=_0x11ca2f;return _0x5a7f18(0x11c);}get['BeforeSheetPrintCanceled'](){const _0x4e2864=_0x11ca2f;return _0x4e2864(0x14c);}get[_0x11ca2f(0x11d)](){const _0x29bdc1=_0x11ca2f;return _0x29bdc1(0x11d);}get[_0x11ca2f(0x119)](){const _0x277ffc=_0x11ca2f;return _0x277ffc(0x119);}get[_0x11ca2f(0x147)](){const _0x20ea92=_0x11ca2f;return _0x20ea92(0x147);}}_0x2dda3a[_0x11ca2f(0x124)][_0x11ca2f(0x10f)](_0x7ca1fa);class _0x7e33ec{get[_0x11ca2f(0x128)](){return _0x912cc0['PrintArea'];}get[_0x11ca2f(0x12d)](){const _0x3e065f=_0x11ca2f;return _0x376614[_0x3e065f(0x12d)];}get[_0x11ca2f(0x10e)](){const _0x1ef224=_0x11ca2f;return _0x3bbea0[_0x1ef224(0x10d)];}get[_0x11ca2f(0x10b)](){const _0x3f9b3f=_0x11ca2f;return _0x376614[_0x3f9b3f(0x10b)];}get['PrintScale'](){const _0x3da129=_0x11ca2f;return _0x376614[_0x3da129(0x10a)];}get['PrintDirection'](){return _0x376614['PrintDirection'];}get[_0x11ca2f(0x140)](){const _0x3cf828=_0x11ca2f;return _0x912cc0[_0x3cf828(0x140)];}get['PrintHeaderFooter'](){return _0x912cc0['PrintHeaderFooter'];}get[_0x11ca2f(0x118)](){const _0x51ec5d=_0x11ca2f;return _0x912cc0[_0x51ec5d(0x118)];}}_0x2dda3a[_0x11ca2f(0x11a)][_0x11ca2f(0x10f)](_0x7e33ec);class _0x38280c extends _0x2dda3a[_0x11ca2f(0x13c)]{['_initialize'](_0x10e657){const _0x3e4221=_0x11ca2f,_0x2c1de7=_0x10e657[_0x3e4221(0x129)](_0x3bbea0[_0x3e4221(0x121)]);this[_0x3e4221(0x112)](this[_0x3e4221(0x13d)][_0x3e4221(0x13b)],()=>_0x2c1de7['beforeCommandExecuted'](_0x5bc5c2=>{const _0x36ac25=_0x3e4221;if(_0x5bc5c2['id']===_0x912cc0[_0x36ac25(0x113)]['id']){const _0xbf5c1c=this['getActiveUniverSheet']();if(!_0xbf5c1c)return;const _0x449ff7={'workbook':_0xbf5c1c,'worksheet':_0xbf5c1c[_0x36ac25(0x146)]()};if(_0x449ff7==null)return;if(this['fireEvent'](this[_0x36ac25(0x13d)][_0x36ac25(0x13b)],_0x449ff7),_0x449ff7[_0x36ac25(0x114)])throw new _0x3bbea0['CanceledError']();}})),this[_0x3e4221(0x112)](this['Event'][_0x3e4221(0x11c)],()=>_0x2c1de7[_0x3e4221(0x122)](_0x17f7e0=>{const _0x3347c7=_0x3e4221;if(_0x17f7e0['id']===_0x912cc0[_0x3347c7(0x126)]['id']){const _0x378566=_0x10e657[_0x3347c7(0x129)](_0x912cc0['ISheetPrintManagerService']);if(!this[_0x3347c7(0x11e)]())return;const _0x810690={'layoutConfig':_0x378566[_0x3347c7(0x141)],'renderConfig':_0x378566[_0x3347c7(0x11b)]};if(_0x810690==null)return;if(this[_0x3347c7(0x131)](this[_0x3347c7(0x13d)][_0x3347c7(0x11c)],_0x810690),_0x810690[_0x3347c7(0x114)])throw new _0x3bbea0[(_0x3347c7(0x133))]();}})),this[_0x3e4221(0x112)](this[_0x3e4221(0x13d)][_0x3e4221(0x14c)],()=>_0x2c1de7[_0x3e4221(0x122)](_0x54613d=>{const _0x1e3d78=_0x3e4221;if(_0x54613d['id']===_0x912cc0[_0x1e3d78(0x144)]['id']){const _0x2573b5=_0x10e657[_0x1e3d78(0x129)](_0x912cc0[_0x1e3d78(0x14a)]);if(!this[_0x1e3d78(0x11e)]())return;const _0x1cfdc2={'layoutConfig':_0x2573b5['layoutConfig'],'renderConfig':_0x2573b5[_0x1e3d78(0x11b)]};if(_0x1cfdc2==null)return;if(this[_0x1e3d78(0x131)](this['Event']['BeforeSheetPrintCanceled'],_0x1cfdc2),_0x1cfdc2[_0x1e3d78(0x114)])throw new _0x3bbea0[(_0x1e3d78(0x133))]();}})),this[_0x3e4221(0x112)](this[_0x3e4221(0x13d)][_0x3e4221(0x11d)],()=>_0x2c1de7[_0x3e4221(0x13f)](_0x198949=>{const _0x899d02=_0x3e4221;if(_0x198949['id']===_0x912cc0[_0x899d02(0x113)]['id']){const _0x40b2ef=this[_0x899d02(0x11e)]();if(!_0x40b2ef)return;const _0x4bb278={'workbook':_0x40b2ef,'worksheet':_0x40b2ef[_0x899d02(0x146)]()};if(_0x4bb278==null)return;this[_0x899d02(0x131)](this['Event'][_0x899d02(0x11d)],_0x4bb278);}})),this[_0x3e4221(0x112)](this['Event']['SheetPrintConfirmed'],()=>_0x2c1de7[_0x3e4221(0x13f)](_0x2f1556=>{const _0x35ac9f=_0x3e4221;if(_0x2f1556['id']===_0x912cc0[_0x35ac9f(0x126)]['id']){const _0xd7437f=_0x10e657[_0x35ac9f(0x129)](_0x912cc0[_0x35ac9f(0x14a)]);if(!this[_0x35ac9f(0x11e)]())return;const _0x39c1f7={'layoutConfig':_0xd7437f[_0x35ac9f(0x141)],'renderConfig':_0xd7437f[_0x35ac9f(0x11b)]};if(_0x39c1f7==null)return;this[_0x35ac9f(0x131)](this[_0x35ac9f(0x13d)][_0x35ac9f(0x119)],_0x39c1f7);}})),this[_0x3e4221(0x112)](this['Event'][_0x3e4221(0x147)],()=>_0x2c1de7['onCommandExecuted'](_0x6e7d3c=>{const _0x3f4ed0=_0x3e4221;if(_0x6e7d3c['id']===_0x912cc0[_0x3f4ed0(0x144)]['id']){const _0x413314=_0x10e657[_0x3f4ed0(0x129)](_0x912cc0[_0x3f4ed0(0x14a)]);if(!this['getActiveUniverSheet']())return;const _0x4fbb53={'layoutConfig':_0x413314['layoutConfig'],'renderConfig':_0x413314[_0x3f4ed0(0x11b)]};if(_0x4fbb53==null)return;this[_0x3f4ed0(0x131)](this[_0x3f4ed0(0x13d)][_0x3f4ed0(0x147)],_0x4fbb53);}}));}}_0x2dda3a[_0x11ca2f(0x13c)][_0x11ca2f(0x10f)](_0x38280c);}));
|