@univerjs-pro/sheets-print 0.9.3-nightly.202507250750 → 0.9.3-nightly.202507250819
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 +15 -28
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x6a371e=_0x4dbe;function _0x594b(){const _0x518ca7=['_initialize','17709baAmdY','getSheetId','48377oEYhwK','closePrintDialog','getActiveUniverSheet','onCommandExecuted','extend','fireEvent','_worksheet','get','updateLayoutConfig','_injector','2864XxKIMC','PrintHeaderFooterSymbol','_workbook','renderConfig','BeforeSheetPrintConfirm','SheetPrintCanceled','Event','41769zNHyWA','6682515QuMZWb','getRangeImage','openPrintDialog','beforeCommandExecuted','layoutConfig','SheetPrintConfirmed','8qFdMJK','BeforeSheetPrintCanceled','updatePrintRenderConfig','syncExecuteCommand','802572zcgaCr','getActiveSheet','print','30HBjEwn','PrintArea','registerEventHandler','getUnitId','PrintPaperSize','26457940JPQhNX','executeCommand','1134201ORWBbz','BeforeSheetPrintOpen','_range','SheetPrintOpen'];_0x594b=function(){return _0x518ca7;};return _0x594b();}(function(_0x419117,_0x30fbc2){const _0x5f23c1=_0x4dbe,_0x1cb34c=_0x419117();while(!![]){try{const _0x35c952=-parseInt(_0x5f23c1(0x8c))/0x1+-parseInt(_0x5f23c1(0x82))/0x2+parseInt(_0x5f23c1(0x91))/0x3*(parseInt(_0x5f23c1(0x7e))/0x4)+parseInt(_0x5f23c1(0x78))/0x5+parseInt(_0x5f23c1(0x85))/0x6*(parseInt(_0x5f23c1(0x93))/0x7)+-parseInt(_0x5f23c1(0x9d))/0x8*(parseInt(_0x5f23c1(0x77))/0x9)+parseInt(_0x5f23c1(0x8a))/0xa;if(_0x35c952===_0x30fbc2)break;else _0x1cb34c['push'](_0x1cb34c['shift']());}catch(_0x4a9e25){_0x1cb34c['push'](_0x1cb34c['shift']());}}}(_0x594b,0xcb0cd));import{ISheetPrintManagerService as _0x2150db,ConfirmSheetPrintOperation as _0x2bd535,SheetPrintOpenOperation as _0x386d5e,CancelSheetPrintOperation as _0xeb3649,hasPrintFacadePermission as _0x33f6bf,SheetScreenShotOperation as _0x5ec1f0,SheetPrintClientService as _0x32f4cf,PrintArea as _0xce82f9,PrintFreeze as _0x2cdc1e,PrintHeaderFooter as _0x13d7e5,PrintHeaderFooterSymbol as _0x223c98}from'@univerjs-pro/sheets-print';import{ICommandService as _0x372593,PaperType as _0x22e4e6,CanceledError as _0x4731ca}from'@univerjs/core';import{FWorkbook as _0x3ab77c,FRange as _0x57584d}from'@univerjs/sheets/facade';import{FEventName as _0x198d7b,FEnum as _0x18bc28,FUniver as _0x5bd4aa}from'@univerjs/core/facade';import{PrintAlign as _0x2e0e41,PrintPaperMargin as _0x4ac6dd,PrintScale as _0x1d51e4,PrintDirection as _0x57c3ee}from'@univerjs-pro/print';class A extends _0x3ab77c{['updatePrintConfig'](_0x5f499f){const _0x593e4d=_0x4dbe;return this[_0x593e4d(0x9c)][_0x593e4d(0x9a)](_0x2150db)[_0x593e4d(0x9b)](_0x5f499f),this;}[_0x6a371e(0x80)](_0x51b9d5){const _0x192bc4=_0x6a371e;return this[_0x192bc4(0x9c)][_0x192bc4(0x9a)](_0x2150db)['updateRenderConfig'](_0x51b9d5),this;}[_0x6a371e(0x84)](){const _0x57a539=_0x6a371e;return this[_0x57a539(0x9c)]['get'](_0x372593)[_0x57a539(0x81)](_0x2bd535['id']);}[_0x6a371e(0x7a)](){const _0x45cead=_0x6a371e;return this['_injector']['get'](_0x372593)[_0x45cead(0x81)](_0x386d5e['id']);}[_0x6a371e(0x94)](){const _0x78560a=_0x6a371e;return this[_0x78560a(0x9c)][_0x78560a(0x9a)](_0x372593)['syncExecuteCommand'](_0xeb3649['id']);}async['saveScreenshotToClipboard'](){const _0x1c45fd=_0x6a371e;return _0x33f6bf(this[_0x1c45fd(0x9c)])?this['_injector'][_0x1c45fd(0x9a)](_0x372593)[_0x1c45fd(0x8b)](_0x5ec1f0['id']):!0x1;}}_0x3ab77c[_0x6a371e(0x97)](A);class B extends _0x57584d{['getScreenshot'](){const _0x59f1dd=_0x6a371e;return _0x33f6bf(this['_injector'])?this[_0x59f1dd(0x9c)]['get'](_0x32f4cf)[_0x59f1dd(0x79)](this[_0x59f1dd(0x9f)][_0x59f1dd(0x88)](),this[_0x59f1dd(0x99)][_0x59f1dd(0x92)](),this[_0x59f1dd(0x8e)]):!0x1;}}_0x57584d['extend'](B);class H{get[_0x6a371e(0x8d)](){const _0x41d96b=_0x6a371e;return _0x41d96b(0x8d);}get[_0x6a371e(0x74)](){const _0x23bb43=_0x6a371e;return _0x23bb43(0x74);}get[_0x6a371e(0x7f)](){const _0x1085dc=_0x6a371e;return _0x1085dc(0x7f);}get['SheetPrintOpen'](){const _0x5f2825=_0x6a371e;return _0x5f2825(0x8f);}get[_0x6a371e(0x7d)](){const _0x4b1b63=_0x6a371e;return _0x4b1b63(0x7d);}get['SheetPrintCanceled'](){const _0xc328dc=_0x6a371e;return _0xc328dc(0x75);}}_0x198d7b[_0x6a371e(0x97)](H);function _0x4dbe(_0x2e7dc0,_0x195c8c){const _0x594bdd=_0x594b();return _0x4dbe=function(_0x4dbe8e,_0x4b1b4d){_0x4dbe8e=_0x4dbe8e-0x73;let _0xc53b16=_0x594bdd[_0x4dbe8e];return _0xc53b16;},_0x4dbe(_0x2e7dc0,_0x195c8c);}class U{get[_0x6a371e(0x86)](){return _0xce82f9;}get['PrintAlign'](){return _0x2e0e41;}get[_0x6a371e(0x89)](){return _0x22e4e6;}get['PrintPaperMargin'](){return _0x4ac6dd;}get['PrintScale'](){return _0x1d51e4;}get['PrintDirection'](){return _0x57c3ee;}get['PrintFreeze'](){return _0x2cdc1e;}get['PrintHeaderFooter'](){return _0x13d7e5;}get[_0x6a371e(0x9e)](){return _0x223c98;}}_0x18bc28[_0x6a371e(0x97)](U);class M extends _0x5bd4aa{[_0x6a371e(0x90)](_0x58a1ab){const _0x578fad=_0x6a371e,_0x3711cf=_0x58a1ab[_0x578fad(0x9a)](_0x372593);this[_0x578fad(0x87)](this[_0x578fad(0x76)]['BeforeSheetPrintOpen'],()=>_0x3711cf[_0x578fad(0x7b)](_0x1eeca3=>{const _0x1c779b=_0x578fad;if(_0x1eeca3['id']===_0x386d5e['id']){const _0x324f50=this[_0x1c779b(0x95)]();if(!_0x324f50)return;const _0xdb3c12={'workbook':_0x324f50,'worksheet':_0x324f50['getActiveSheet']()};if(_0xdb3c12==null)return;if(this[_0x1c779b(0x98)](this[_0x1c779b(0x76)][_0x1c779b(0x8d)],_0xdb3c12),_0xdb3c12['cancel'])throw new _0x4731ca();}})),this[_0x578fad(0x87)](this[_0x578fad(0x76)][_0x578fad(0x74)],()=>_0x3711cf[_0x578fad(0x7b)](_0x235c92=>{const _0x3e3810=_0x578fad;if(_0x235c92['id']===_0x2bd535['id']){const _0x2d7aab=_0x58a1ab[_0x3e3810(0x9a)](_0x2150db);if(!this[_0x3e3810(0x95)]())return;const _0x308346={'layoutConfig':_0x2d7aab[_0x3e3810(0x7c)],'renderConfig':_0x2d7aab[_0x3e3810(0x73)]};if(_0x308346==null)return;if(this[_0x3e3810(0x98)](this['Event']['BeforeSheetPrintConfirm'],_0x308346),_0x308346['cancel'])throw new _0x4731ca();}})),this['registerEventHandler'](this[_0x578fad(0x76)][_0x578fad(0x7f)],()=>_0x3711cf[_0x578fad(0x7b)](_0x5515fa=>{const _0x19edd7=_0x578fad;if(_0x5515fa['id']===_0xeb3649['id']){const _0x1ff914=_0x58a1ab[_0x19edd7(0x9a)](_0x2150db);if(!this[_0x19edd7(0x95)]())return;const _0x16e7cb={'layoutConfig':_0x1ff914[_0x19edd7(0x7c)],'renderConfig':_0x1ff914[_0x19edd7(0x73)]};if(_0x16e7cb==null)return;if(this[_0x19edd7(0x98)](this['Event'][_0x19edd7(0x7f)],_0x16e7cb),_0x16e7cb['cancel'])throw new _0x4731ca();}})),this[_0x578fad(0x87)](this['Event'][_0x578fad(0x8f)],()=>_0x3711cf['onCommandExecuted'](_0x457fe1=>{const _0x32d285=_0x578fad;if(_0x457fe1['id']===_0x386d5e['id']){const _0x22a75f=this[_0x32d285(0x95)]();if(!_0x22a75f)return;const _0xc01826={'workbook':_0x22a75f,'worksheet':_0x22a75f[_0x32d285(0x83)]()};if(_0xc01826==null)return;this[_0x32d285(0x98)](this['Event']['SheetPrintOpen'],_0xc01826);}})),this['registerEventHandler'](this[_0x578fad(0x76)][_0x578fad(0x7d)],()=>_0x3711cf[_0x578fad(0x96)](_0x14ca27=>{const _0x4bdb1e=_0x578fad;if(_0x14ca27['id']===_0x2bd535['id']){const _0xe838a=_0x58a1ab[_0x4bdb1e(0x9a)](_0x2150db);if(!this[_0x4bdb1e(0x95)]())return;const _0x47023b={'layoutConfig':_0xe838a[_0x4bdb1e(0x7c)],'renderConfig':_0xe838a['renderConfig']};if(_0x47023b==null)return;this['fireEvent'](this['Event'][_0x4bdb1e(0x7d)],_0x47023b);}})),this[_0x578fad(0x87)](this['Event'][_0x578fad(0x75)],()=>_0x3711cf[_0x578fad(0x96)](_0x11a4c4=>{const _0x34356b=_0x578fad;if(_0x11a4c4['id']===_0xeb3649['id']){const _0x388048=_0x58a1ab[_0x34356b(0x9a)](_0x2150db);if(!this['getActiveUniverSheet']())return;const _0x45c08f={'layoutConfig':_0x388048[_0x34356b(0x7c)],'renderConfig':_0x388048[_0x34356b(0x73)]};if(_0x45c08f==null)return;this[_0x34356b(0x98)](this['Event'][_0x34356b(0x75)],_0x45c08f);}}));}}_0x5bd4aa['extend'](M);
|