@univerjs-pro/sheets-print 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511070939
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 +14 -14
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x301e86=_0x3959;(function(_0x524bcf,_0x362238){const _0x485ea5=_0x3959,_0x4bf224=_0x524bcf();while(!![]){try{const _0x31f145=-parseInt(_0x485ea5(0x1e1))/0x1+-parseInt(_0x485ea5(0x1db))/0x2+-parseInt(_0x485ea5(0x1e8))/0x3*(parseInt(_0x485ea5(0x1d5))/0x4)+-parseInt(_0x485ea5(0x1ee))/0x5+parseInt(_0x485ea5(0x1ec))/0x6+-parseInt(_0x485ea5(0x1ed))/0x7*(-parseInt(_0x485ea5(0x1e0))/0x8)+parseInt(_0x485ea5(0x1d3))/0x9*(parseInt(_0x485ea5(0x1d8))/0xa);if(_0x31f145===_0x362238)break;else _0x4bf224['push'](_0x4bf224['shift']());}catch(_0x19ab5a){_0x4bf224['push'](_0x4bf224['shift']());}}}(_0x3d0f,0x68a2f));import{ISheetPrintManagerService as _0x4f0f34,ConfirmSheetPrintOperation as _0x326c24,SheetPrintOpenOperation as _0x1f826f,CancelSheetPrintOperation as _0x11016e,hasPrintFacadePermission as _0x12b977,SheetScreenShotOperation as _0x3dfd90,SheetPrintClientService as _0x2fe763,PrintArea as _0x5bd608,PrintFreeze as _0x2b6d02,PrintHeaderFooter as _0x35aa6c,PrintHeaderFooterSymbol as _0x58c774}from'@univerjs-pro/sheets-print';import{ICommandService as _0x65d205,PaperType as _0x2e40a,CanceledError as _0x5d512f}from'@univerjs/core';import{FWorkbook as _0x1c29db,FRange as _0x5498b4}from'@univerjs/sheets/facade';import{FEventName as _0x56e97f,FEnum as _0x12e572,FUniver as _0x2e9d29}from'@univerjs/core/facade';import{PrintAlign as _0x464e7c,PrintPaperMargin as _0x226f73,PrintScale as _0x34cbf4,PrintDirection as _0x10f213}from'@univerjs-pro/print';class A extends _0x1c29db{[_0x301e86(0x1ce)](_0xfaa287){const _0x2d2162=_0x301e86;return this['_injector'][_0x2d2162(0x1da)](_0x4f0f34)[_0x2d2162(0x1c1)](_0xfaa287),this;}[_0x301e86(0x1dd)](_0x17b9ee){const _0xc479ef=_0x301e86;return this[_0xc479ef(0x1c4)][_0xc479ef(0x1da)](_0x4f0f34)[_0xc479ef(0x1e5)](_0x17b9ee),this;}[_0x301e86(0x1e3)](){const _0x545299=_0x301e86;return this[_0x545299(0x1c4)]['get'](_0x65d205)[_0x545299(0x1d0)](_0x326c24['id']);}[_0x301e86(0x1d1)](){const _0xcebc20=_0x301e86;return this['_injector'][_0xcebc20(0x1da)](_0x65d205)[_0xcebc20(0x1d0)](_0x1f826f['id']);}[_0x301e86(0x1d4)](){const _0x3d30c4=_0x301e86;return this['_injector']['get'](_0x65d205)[_0x3d30c4(0x1d0)](_0x11016e['id']);}async[_0x301e86(0x1d9)](){const _0x2d4ad4=_0x301e86;return _0x12b977(this[_0x2d4ad4(0x1c4)])?this[_0x2d4ad4(0x1c4)][_0x2d4ad4(0x1da)](_0x65d205)['executeCommand'](_0x3dfd90['id']):!0x1;}}_0x1c29db[_0x301e86(0x1c7)](A);class B extends _0x5498b4{['getScreenshot'](){const _0x79b265=_0x301e86;return _0x12b977(this[_0x79b265(0x1c4)])?this['_injector'][_0x79b265(0x1da)](_0x2fe763)['getRangeImage'](this[_0x79b265(0x1cd)][_0x79b265(0x1ca)](),this[_0x79b265(0x1d7)]['getSheetId'](),this[_0x79b265(0x1c3)]):!0x1;}}_0x5498b4[_0x301e86(0x1c7)](B);class H{get[_0x301e86(0x1c8)](){const _0x171891=_0x301e86;return _0x171891(0x1c8);}get['BeforeSheetPrintConfirm'](){const _0xa00026=_0x301e86;return _0xa00026(0x1c5);}get[_0x301e86(0x1e9)](){const _0x292caa=_0x301e86;return _0x292caa(0x1e9);}get[_0x301e86(0x1cf)](){const _0x35a0c5=_0x301e86;return _0x35a0c5(0x1cf);}get[_0x301e86(0x1f0)](){const _0x34b583=_0x301e86;return _0x34b583(0x1f0);}get['SheetPrintCanceled'](){const _0x2a3fd4=_0x301e86;return _0x2a3fd4(0x1ea);}}_0x56e97f[_0x301e86(0x1c7)](H);function _0x3d0f(){const _0xcda61a=['PrintDirection','updatePrintRenderConfig','Event','PrintHeaderFooterSymbol','456WAcddm','241367UjhHaj','renderConfig','print','cancel','updateRenderConfig','PrintHeaderFooter','PrintArea','6bzFOAG','BeforeSheetPrintCanceled','SheetPrintCanceled','registerEventHandler','2644140LxdUJU','49938tBjDUx','1103825gYvkJl','PrintPaperSize','SheetPrintConfirmed','getActiveSheet','PrintScale','updateLayoutConfig','PrintAlign','_range','_injector','BeforeSheetPrintConfirm','PrintFreeze','extend','BeforeSheetPrintOpen','fireEvent','getUnitId','_initialize','layoutConfig','_workbook','updatePrintConfig','SheetPrintOpen','syncExecuteCommand','openPrintDialog','getActiveUniverSheet','81LkDhit','closePrintDialog','99628YENPox','beforeCommandExecuted','_worksheet','399370rCOgsM','saveScreenshotToClipboard','get','532448cvIChK'];_0x3d0f=function(){return _0xcda61a;};return _0x3d0f();}class U{get[_0x301e86(0x1e7)](){return _0x5bd608;}get[_0x301e86(0x1c2)](){return _0x464e7c;}get[_0x301e86(0x1ef)](){return _0x2e40a;}get['PrintPaperMargin'](){return _0x226f73;}get[_0x301e86(0x1f2)](){return _0x34cbf4;}get[_0x301e86(0x1dc)](){return _0x10f213;}get[_0x301e86(0x1c6)](){return _0x2b6d02;}get[_0x301e86(0x1e6)](){return _0x35aa6c;}get[_0x301e86(0x1df)](){return _0x58c774;}}_0x12e572['extend'](U);function _0x3959(_0x1ff3f9,_0x426119){const _0x3d0f07=_0x3d0f();return _0x3959=function(_0x395973,_0x109c0c){_0x395973=_0x395973-0x1c1;let _0x42f616=_0x3d0f07[_0x395973];return _0x42f616;},_0x3959(_0x1ff3f9,_0x426119);}class M extends _0x2e9d29{[_0x301e86(0x1cb)](_0x510f11){const _0x32f21d=_0x301e86,_0x242d97=_0x510f11[_0x32f21d(0x1da)](_0x65d205);this['registerEventHandler'](this[_0x32f21d(0x1de)][_0x32f21d(0x1c8)],()=>_0x242d97[_0x32f21d(0x1d6)](_0x5e3c14=>{const _0x199f1b=_0x32f21d;if(_0x5e3c14['id']===_0x1f826f['id']){const _0x1ea686=this[_0x199f1b(0x1d2)]();if(!_0x1ea686)return;const _0x44b4a7={'workbook':_0x1ea686,'worksheet':_0x1ea686[_0x199f1b(0x1f1)]()};if(_0x44b4a7==null)return;if(this['fireEvent'](this[_0x199f1b(0x1de)][_0x199f1b(0x1c8)],_0x44b4a7),_0x44b4a7[_0x199f1b(0x1e4)])throw new _0x5d512f();}})),this['registerEventHandler'](this[_0x32f21d(0x1de)][_0x32f21d(0x1c5)],()=>_0x242d97[_0x32f21d(0x1d6)](_0x2205e1=>{const _0x19c345=_0x32f21d;if(_0x2205e1['id']===_0x326c24['id']){const _0xc09c2b=_0x510f11['get'](_0x4f0f34);if(!this[_0x19c345(0x1d2)]())return;const _0x3ef257={'layoutConfig':_0xc09c2b[_0x19c345(0x1cc)],'renderConfig':_0xc09c2b[_0x19c345(0x1e2)]};if(_0x3ef257==null)return;if(this[_0x19c345(0x1c9)](this['Event'][_0x19c345(0x1c5)],_0x3ef257),_0x3ef257['cancel'])throw new _0x5d512f();}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)]['BeforeSheetPrintCanceled'],()=>_0x242d97[_0x32f21d(0x1d6)](_0x2c9f34=>{const _0x405408=_0x32f21d;if(_0x2c9f34['id']===_0x11016e['id']){const _0x3d84fe=_0x510f11[_0x405408(0x1da)](_0x4f0f34);if(!this[_0x405408(0x1d2)]())return;const _0x5f07c8={'layoutConfig':_0x3d84fe['layoutConfig'],'renderConfig':_0x3d84fe[_0x405408(0x1e2)]};if(_0x5f07c8==null)return;if(this[_0x405408(0x1c9)](this['Event'][_0x405408(0x1e9)],_0x5f07c8),_0x5f07c8[_0x405408(0x1e4)])throw new _0x5d512f();}})),this['registerEventHandler'](this[_0x32f21d(0x1de)]['SheetPrintOpen'],()=>_0x242d97['onCommandExecuted'](_0x56670b=>{const _0x287d91=_0x32f21d;if(_0x56670b['id']===_0x1f826f['id']){const _0x1bad6d=this[_0x287d91(0x1d2)]();if(!_0x1bad6d)return;const _0xa3307c={'workbook':_0x1bad6d,'worksheet':_0x1bad6d[_0x287d91(0x1f1)]()};if(_0xa3307c==null)return;this[_0x287d91(0x1c9)](this[_0x287d91(0x1de)][_0x287d91(0x1cf)],_0xa3307c);}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)]['SheetPrintConfirmed'],()=>_0x242d97['onCommandExecuted'](_0x2f86b2=>{const _0x11a55b=_0x32f21d;if(_0x2f86b2['id']===_0x326c24['id']){const _0x1a4af9=_0x510f11[_0x11a55b(0x1da)](_0x4f0f34);if(!this[_0x11a55b(0x1d2)]())return;const _0x234837={'layoutConfig':_0x1a4af9[_0x11a55b(0x1cc)],'renderConfig':_0x1a4af9[_0x11a55b(0x1e2)]};if(_0x234837==null)return;this[_0x11a55b(0x1c9)](this[_0x11a55b(0x1de)][_0x11a55b(0x1f0)],_0x234837);}})),this[_0x32f21d(0x1eb)](this[_0x32f21d(0x1de)][_0x32f21d(0x1ea)],()=>_0x242d97['onCommandExecuted'](_0xb52707=>{const _0x9cec04=_0x32f21d;if(_0xb52707['id']===_0x11016e['id']){const _0x28894a=_0x510f11[_0x9cec04(0x1da)](_0x4f0f34);if(!this['getActiveUniverSheet']())return;const _0x2acb59={'layoutConfig':_0x28894a[_0x9cec04(0x1cc)],'renderConfig':_0x28894a['renderConfig']};if(_0x2acb59==null)return;this[_0x9cec04(0x1c9)](this[_0x9cec04(0x1de)][_0x9cec04(0x1ea)],_0x2acb59);}}));}}_0x2e9d29['extend'](M);
|