@univerjs-pro/sheets-print 0.8.2-nightly.202506231607 → 0.8.2-nightly.202506251607
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 -0
- 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 -0
- 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 -0
- 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/locale/ko-KR.d.ts +3 -0
- 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 -0
- 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 _0x4538(_0x44c1b7,_0x1a31a2){const _0x50ce38=_0x50ce();return _0x4538=function(_0x4538b2,_0x42c940){_0x4538b2=_0x4538b2-0x8f;let _0x4b4ecc=_0x50ce38[_0x4538b2];return _0x4b4ecc;},_0x4538(_0x44c1b7,_0x1a31a2);}function _0x50ce(){const _0x5222fb=['PrintPaperMargin','FRange','PrintScale','CanceledError','4RZaDfg','49817PHxtJx','layoutConfig','CancelSheetPrintOperation','4vwSrvx','2613744dnvZvL','_range','869238CXUMCh','SheetScreenShotOperation','hasPrintFacadePermission','extend','@univerjs-pro/sheets-print','registerEventHandler','updatePrintRenderConfig','getActiveUniverSheet','cancel','1118157MOteZN','ISheetPrintManagerService','@univerjs/core','1544998PDuoVa','get','UniverProSheetsPrint','beforeCommandExecuted','SheetPrintOpenOperation','UniverSheetsFacade','_workbook','updateLayoutConfig','saveScreenshotToClipboard','ConfirmSheetPrintOperation','FWorkbook','20nvRRsJ','renderConfig','4385271YspmdB','object','function','_injector','@univerjs/sheets/facade','getRangeImage','BeforeSheetPrintCanceled','onCommandExecuted','amd','syncExecuteCommand','_worksheet','PrintAlign','print','SheetPrintConfirmed','Event','SheetPrintCanceled','BeforeSheetPrintOpen','ICommandService','FEventName','PrintArea','FEnum','@univerjs/core/facade','PrintHeaderFooter','fireEvent','FUniver','PrintHeaderFooterSymbol','openPrintDialog','156LHMaWh','UniverCoreFacade','UniverCore','PrintFreeze','UniverProPrint','BeforeSheetPrintConfirm','@univerjs-pro/print','PrintDirection','81745CEGekn'];_0x50ce=function(){return _0x5222fb;};return _0x50ce();}(function(_0x34ef05,_0x59c4fd){const _0x5e9d78=_0x4538,_0x2bec01=_0x34ef05();while(!![]){try{const _0x25e8d7=-parseInt(_0x5e9d78(0xd5))/0x1*(-parseInt(_0x5e9d78(0x90))/0x2)+parseInt(_0x5e9d78(0x9c))/0x3*(-parseInt(_0x5e9d78(0xd4))/0x4)+parseInt(_0x5e9d78(0xcf))/0x5*(parseInt(_0x5e9d78(0xc7))/0x6)+-parseInt(_0x5e9d78(0x9f))/0x7+-parseInt(_0x5e9d78(0x91))/0x8+-parseInt(_0x5e9d78(0x93))/0x9+parseInt(_0x5e9d78(0xaa))/0xa*(parseInt(_0x5e9d78(0xac))/0xb);if(_0x25e8d7===_0x59c4fd)break;else _0x2bec01['push'](_0x2bec01['shift']());}catch(_0x14acc6){_0x2bec01['push'](_0x2bec01['shift']());}}}(_0x50ce,0x4a891),function(_0x41aa94,_0x46eeff){const _0x5a75f6=_0x4538;typeof exports==_0x5a75f6(0xad)&&typeof module<'u'?_0x46eeff(require('@univerjs-pro/sheets-print'),require(_0x5a75f6(0x9e)),require(_0x5a75f6(0xb0)),require(_0x5a75f6(0xc1)),require('@univerjs-pro/print')):typeof define==_0x5a75f6(0xae)&&define[_0x5a75f6(0xb4)]?define([_0x5a75f6(0x97),_0x5a75f6(0x9e),'@univerjs/sheets/facade',_0x5a75f6(0xc1),_0x5a75f6(0xcd)],_0x46eeff):(_0x41aa94=typeof globalThis<'u'?globalThis:_0x41aa94||self,_0x46eeff(_0x41aa94[_0x5a75f6(0xa1)],_0x41aa94[_0x5a75f6(0xc9)],_0x41aa94[_0x5a75f6(0xa4)],_0x41aa94[_0x5a75f6(0xc8)],_0x41aa94[_0x5a75f6(0xcb)]));}(this,function(_0x402019,_0xc5dec8,_0x21f37a,_0x53a901,_0x35f403){'use strict';const _0x8f5766=_0x4538;class _0x5490d6 extends _0x21f37a[_0x8f5766(0xa9)]{['updatePrintConfig'](_0x1dd6ab){const _0x405c73=_0x8f5766;return this[_0x405c73(0xaf)][_0x405c73(0xa0)](_0x402019[_0x405c73(0x9d)])[_0x405c73(0xa6)](_0x1dd6ab),this;}[_0x8f5766(0x99)](_0x32f795){const _0x452529=_0x8f5766;return this[_0x452529(0xaf)][_0x452529(0xa0)](_0x402019[_0x452529(0x9d)])['updateRenderConfig'](_0x32f795),this;}[_0x8f5766(0xb8)](){const _0x419a11=_0x8f5766;return this['_injector'][_0x419a11(0xa0)](_0xc5dec8[_0x419a11(0xbd)])['syncExecuteCommand'](_0x402019[_0x419a11(0xa8)]['id']);}[_0x8f5766(0xc6)](){const _0x13f01e=_0x8f5766;return this[_0x13f01e(0xaf)][_0x13f01e(0xa0)](_0xc5dec8[_0x13f01e(0xbd)])[_0x13f01e(0xb5)](_0x402019['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x1ff526=_0x8f5766;return this['_injector'][_0x1ff526(0xa0)](_0xc5dec8[_0x1ff526(0xbd)])[_0x1ff526(0xb5)](_0x402019[_0x1ff526(0x8f)]['id']);}async[_0x8f5766(0xa7)](){const _0x278c9e=_0x8f5766;return _0x402019[_0x278c9e(0x95)](this[_0x278c9e(0xaf)])?this[_0x278c9e(0xaf)][_0x278c9e(0xa0)](_0xc5dec8[_0x278c9e(0xbd)])['executeCommand'](_0x402019[_0x278c9e(0x94)]['id']):!0x1;}}_0x21f37a[_0x8f5766(0xa9)][_0x8f5766(0x96)](_0x5490d6);class _0x4a0221 extends _0x21f37a['FRange']{['getScreenshot'](){const _0x313ad5=_0x8f5766;return _0x402019[_0x313ad5(0x95)](this[_0x313ad5(0xaf)])?this[_0x313ad5(0xaf)][_0x313ad5(0xa0)](_0x402019['SheetPrintClientService'])[_0x313ad5(0xb1)](this[_0x313ad5(0xa5)]['getUnitId'](),this[_0x313ad5(0xb6)]['getSheetId'](),this[_0x313ad5(0x92)]):!0x1;}}_0x21f37a[_0x8f5766(0xd1)][_0x8f5766(0x96)](_0x4a0221);class _0x157cc0{get[_0x8f5766(0xbc)](){const _0x3e56d8=_0x8f5766;return _0x3e56d8(0xbc);}get[_0x8f5766(0xcc)](){const _0x392bfc=_0x8f5766;return _0x392bfc(0xcc);}get[_0x8f5766(0xb2)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x8f5766(0xb9)](){return'SheetPrintConfirmed';}get[_0x8f5766(0xbb)](){const _0x1894c7=_0x8f5766;return _0x1894c7(0xbb);}}_0x53a901[_0x8f5766(0xbe)][_0x8f5766(0x96)](_0x157cc0);class _0x337381{get['PrintArea'](){const _0x5c431a=_0x8f5766;return _0x402019[_0x5c431a(0xbf)];}get[_0x8f5766(0xb7)](){const _0x11e3c5=_0x8f5766;return _0x35f403[_0x11e3c5(0xb7)];}get['PrintPaperSize'](){return _0xc5dec8['PaperType'];}get[_0x8f5766(0xd0)](){const _0x732d9e=_0x8f5766;return _0x35f403[_0x732d9e(0xd0)];}get['PrintScale'](){const _0x1857d6=_0x8f5766;return _0x35f403[_0x1857d6(0xd2)];}get['PrintDirection'](){const _0x2c9fba=_0x8f5766;return _0x35f403[_0x2c9fba(0xce)];}get[_0x8f5766(0xca)](){const _0x4e6d31=_0x8f5766;return _0x402019[_0x4e6d31(0xca)];}get[_0x8f5766(0xc2)](){const _0xa0a430=_0x8f5766;return _0x402019[_0xa0a430(0xc2)];}get[_0x8f5766(0xc5)](){const _0x21d148=_0x8f5766;return _0x402019[_0x21d148(0xc5)];}}_0x53a901[_0x8f5766(0xc0)][_0x8f5766(0x96)](_0x337381);class _0x47f9d9 extends _0x53a901[_0x8f5766(0xc4)]{['_initialize'](_0xb91b1){const _0x91f4ea=_0x8f5766,_0x249b98=_0xb91b1[_0x91f4ea(0xa0)](_0xc5dec8['ICommandService']);this['registerEventHandler'](this['Event']['BeforeSheetPrintOpen'],()=>_0x249b98[_0x91f4ea(0xa2)](_0x4f314c=>{const _0xfc589=_0x91f4ea;if(_0x4f314c['id']===_0x402019[_0xfc589(0xa3)]['id']){const _0x4a7fda=this[_0xfc589(0x9a)]();if(!_0x4a7fda)return;const _0x164b7e={'workbook':_0x4a7fda,'worksheet':_0x4a7fda['getActiveSheet']()};if(_0x164b7e==null)return;if(this[_0xfc589(0xc3)](this[_0xfc589(0xba)]['BeforeSheetPrintOpen'],_0x164b7e),_0x164b7e[_0xfc589(0x9b)])throw new _0xc5dec8[(_0xfc589(0xd3))]();}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xcc)],()=>_0x249b98[_0x91f4ea(0xa2)](_0x5b4183=>{const _0x49e129=_0x91f4ea;if(_0x5b4183['id']===_0x402019[_0x49e129(0xa8)]['id']){const _0x598331=_0xb91b1[_0x49e129(0xa0)](_0x402019[_0x49e129(0x9d)]);if(!this[_0x49e129(0x9a)]())return;const _0x36864a={'layoutConfig':_0x598331[_0x49e129(0xd6)],'renderConfig':_0x598331[_0x49e129(0xab)]};if(_0x36864a==null)return;if(this[_0x49e129(0xc3)](this[_0x49e129(0xba)][_0x49e129(0xcc)],_0x36864a),_0x36864a[_0x49e129(0x9b)])throw new _0xc5dec8[(_0x49e129(0xd3))]();}})),this['registerEventHandler'](this[_0x91f4ea(0xba)][_0x91f4ea(0xb2)],()=>_0x249b98[_0x91f4ea(0xa2)](_0x543711=>{const _0x3b39dc=_0x91f4ea;if(_0x543711['id']===_0x402019[_0x3b39dc(0x8f)]['id']){const _0x24b2dc=_0xb91b1[_0x3b39dc(0xa0)](_0x402019['ISheetPrintManagerService']);if(!this[_0x3b39dc(0x9a)]())return;const _0x1121a4={'layoutConfig':_0x24b2dc['layoutConfig'],'renderConfig':_0x24b2dc[_0x3b39dc(0xab)]};if(_0x1121a4==null)return;if(this[_0x3b39dc(0xc3)](this['Event'][_0x3b39dc(0xb2)],_0x1121a4),_0x1121a4['cancel'])throw new _0xc5dec8[(_0x3b39dc(0xd3))]();}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)]['SheetPrintOpen'],()=>_0x249b98[_0x91f4ea(0xb3)](_0x247458=>{const _0x387ee1=_0x91f4ea;if(_0x247458['id']===_0x402019['SheetPrintOpenOperation']['id']){const _0x568430=this['getActiveUniverSheet']();if(!_0x568430)return;const _0x48ac32={'workbook':_0x568430,'worksheet':_0x568430['getActiveSheet']()};if(_0x48ac32==null)return;this[_0x387ee1(0xc3)](this['Event']['SheetPrintOpen'],_0x48ac32);}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xb9)],()=>_0x249b98[_0x91f4ea(0xb3)](_0x407456=>{const _0x1e605b=_0x91f4ea;if(_0x407456['id']===_0x402019[_0x1e605b(0xa8)]['id']){const _0x110d7d=_0xb91b1['get'](_0x402019[_0x1e605b(0x9d)]);if(!this[_0x1e605b(0x9a)]())return;const _0xffc72a={'layoutConfig':_0x110d7d['layoutConfig'],'renderConfig':_0x110d7d[_0x1e605b(0xab)]};if(_0xffc72a==null)return;this[_0x1e605b(0xc3)](this[_0x1e605b(0xba)][_0x1e605b(0xb9)],_0xffc72a);}})),this[_0x91f4ea(0x98)](this[_0x91f4ea(0xba)][_0x91f4ea(0xbb)],()=>_0x249b98['onCommandExecuted'](_0x4b5028=>{const _0x21b7c6=_0x91f4ea;if(_0x4b5028['id']===_0x402019[_0x21b7c6(0x8f)]['id']){const _0x222d8e=_0xb91b1['get'](_0x402019[_0x21b7c6(0x9d)]);if(!this['getActiveUniverSheet']())return;const _0x4d92dd={'layoutConfig':_0x222d8e['layoutConfig'],'renderConfig':_0x222d8e[_0x21b7c6(0xab)]};if(_0x4d92dd==null)return;this[_0x21b7c6(0xc3)](this['Event'][_0x21b7c6(0xbb)],_0x4d92dd);}}));}}_0x53a901[_0x8f5766(0xc4)][_0x8f5766(0x96)](_0x47f9d9);}));
|