@univerjs-pro/sheets-print 0.10.10-nightly.202510180256 → 0.10.10-nightly.202510180327
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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x565ed0=_0x2311;(function(_0x5a1d5a,_0x549b9d){const _0x1dabfa=_0x2311,_0x517583=_0x5a1d5a();while(!![]){try{const _0x26f162=parseInt(_0x1dabfa(0x140))/0x1+-parseInt(_0x1dabfa(0x13e))/0x2+parseInt(_0x1dabfa(0x155))/0x3+parseInt(_0x1dabfa(0x13b))/0x4+parseInt(_0x1dabfa(0x163))/0x5+parseInt(_0x1dabfa(0x13d))/0x6*(-parseInt(_0x1dabfa(0x130))/0x7)+-parseInt(_0x1dabfa(0x148))/0x8*(parseInt(_0x1dabfa(0x169))/0x9);if(_0x26f162===_0x549b9d)break;else _0x517583['push'](_0x517583['shift']());}catch(_0x339421){_0x517583['push'](_0x517583['shift']());}}}(_0x4b73,0xcfe79));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['FWorkbook']{[_0x565ed0(0x16b)](_0x9cde01){const _0xc67ef1=_0x565ed0;return this[_0xc67ef1(0x15c)][_0xc67ef1(0x16c)](e['ISheetPrintManagerService'])[_0xc67ef1(0x153)](_0x9cde01),this;}['updatePrintRenderConfig'](_0x2487c3){const _0x51851d=_0x565ed0;return this[_0x51851d(0x15c)][_0x51851d(0x16c)](e['ISheetPrintManagerService'])['updateRenderConfig'](_0x2487c3),this;}[_0x565ed0(0x144)](){const _0x424101=_0x565ed0;return this[_0x424101(0x15c)]['get'](a[_0x424101(0x168)])[_0x424101(0x158)](e['ConfirmSheetPrintOperation']['id']);}[_0x565ed0(0x15e)](){const _0x3ec35e=_0x565ed0;return this['_injector'][_0x3ec35e(0x16c)](a[_0x3ec35e(0x168)])[_0x3ec35e(0x158)](e[_0x3ec35e(0x132)]['id']);}[_0x565ed0(0x152)](){const _0x1a6ec4=_0x565ed0;return this['_injector'][_0x1a6ec4(0x16c)](a['ICommandService'])['syncExecuteCommand'](e[_0x1a6ec4(0x133)]['id']);}async[_0x565ed0(0x142)](){const _0x1cf00e=_0x565ed0;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x1cf00e(0x15c)][_0x1cf00e(0x16c)](a[_0x1cf00e(0x168)])[_0x1cf00e(0x16a)](e['SheetScreenShotOperation']['id']):!0x1;}}function _0x4b73(){const _0x459792=['671775FhEaHD','FEnum','beforeCommandExecuted','syncExecuteCommand','getUnitId','SheetPrintOpen','ConfirmSheetPrintOperation','_injector','hasPrintFacadePermission','openPrintDialog','PrintFreeze','PrintHeaderFooterSymbol','onCommandExecuted','getActiveUniverSheet','4812740DqIFGv','fireEvent','renderConfig','_workbook','_worksheet','ICommandService','1503cYAPwQ','executeCommand','updatePrintConfig','get','BeforeSheetPrintConfirm','105539sUuTyA','PrintDirection','SheetPrintOpenOperation','CancelSheetPrintOperation','_range','PrintArea','SheetPrintConfirmed','getScreenshot','PrintAlign','getRangeImage','BeforeSheetPrintCanceled','6498428PMPGDU','registerEventHandler','180rjsFCM','3078176WlGjRi','layoutConfig','560116jhyEXh','BeforeSheetPrintOpen','saveScreenshotToClipboard','PrintHeaderFooter','print','cancel','FWorkbook','PaperType','25304NmxRfu','PrintPaperSize','SheetPrintCanceled','PrintPaperMargin','CanceledError','ISheetPrintManagerService','extend','Event','_initialize','getActiveSheet','closePrintDialog','updateLayoutConfig','FUniver'];_0x4b73=function(){return _0x459792;};return _0x4b73();}d[_0x565ed0(0x146)][_0x565ed0(0x14e)](S);class f extends d['FRange']{[_0x565ed0(0x137)](){const _0x1292fe=_0x565ed0;return e[_0x1292fe(0x15d)](this[_0x1292fe(0x15c)])?this['_injector']['get'](e['SheetPrintClientService'])[_0x1292fe(0x139)](this[_0x1292fe(0x166)][_0x1292fe(0x159)](),this[_0x1292fe(0x167)]['getSheetId'](),this[_0x1292fe(0x134)]):!0x1;}}d['FRange'][_0x565ed0(0x14e)](f);class P{get[_0x565ed0(0x141)](){const _0x5295b4=_0x565ed0;return _0x5295b4(0x141);}get[_0x565ed0(0x16d)](){const _0x4c1787=_0x565ed0;return _0x4c1787(0x16d);}get[_0x565ed0(0x13a)](){return'BeforeSheetPrintCanceled';}get[_0x565ed0(0x15a)](){const _0x4f1115=_0x565ed0;return _0x4f1115(0x15a);}get[_0x565ed0(0x136)](){return'SheetPrintConfirmed';}get[_0x565ed0(0x14a)](){const _0x5134e2=_0x565ed0;return _0x5134e2(0x14a);}}g['FEventName'][_0x565ed0(0x14e)](P);class u{get[_0x565ed0(0x135)](){return e['PrintArea'];}get[_0x565ed0(0x138)](){const _0x3eb748=_0x565ed0;return c[_0x3eb748(0x138)];}get[_0x565ed0(0x149)](){const _0x5c933c=_0x565ed0;return a[_0x5c933c(0x147)];}get[_0x565ed0(0x14b)](){const _0x3814a8=_0x565ed0;return c[_0x3814a8(0x14b)];}get['PrintScale'](){return c['PrintScale'];}get[_0x565ed0(0x131)](){return c['PrintDirection'];}get[_0x565ed0(0x15f)](){const _0x14fbf5=_0x565ed0;return e[_0x14fbf5(0x15f)];}get[_0x565ed0(0x143)](){const _0x56c814=_0x565ed0;return e[_0x56c814(0x143)];}get['PrintHeaderFooterSymbol'](){const _0x18591f=_0x565ed0;return e[_0x18591f(0x160)];}}g[_0x565ed0(0x156)]['extend'](u);class l extends g[_0x565ed0(0x154)]{[_0x565ed0(0x150)](_0x22b923){const _0x2998ee=_0x565ed0,_0x14f678=_0x22b923[_0x2998ee(0x16c)](a[_0x2998ee(0x168)]);this['registerEventHandler'](this[_0x2998ee(0x14f)]['BeforeSheetPrintOpen'],()=>_0x14f678[_0x2998ee(0x157)](_0x588357=>{const _0x3b94b4=_0x2998ee;if(_0x588357['id']===e[_0x3b94b4(0x132)]['id']){const _0x5732e7=this[_0x3b94b4(0x162)]();if(!_0x5732e7)return;const _0x131dc3={'workbook':_0x5732e7,'worksheet':_0x5732e7['getActiveSheet']()};if(_0x131dc3==null)return;if(this[_0x3b94b4(0x164)](this['Event'][_0x3b94b4(0x141)],_0x131dc3),_0x131dc3[_0x3b94b4(0x145)])throw new a['CanceledError']();}})),this[_0x2998ee(0x13c)](this[_0x2998ee(0x14f)]['BeforeSheetPrintConfirm'],()=>_0x14f678[_0x2998ee(0x157)](_0x3c8312=>{const _0x198981=_0x2998ee;if(_0x3c8312['id']===e[_0x198981(0x15b)]['id']){const _0x458657=_0x22b923['get'](e[_0x198981(0x14d)]);if(!this[_0x198981(0x162)]())return;const _0x13671f={'layoutConfig':_0x458657[_0x198981(0x13f)],'renderConfig':_0x458657[_0x198981(0x165)]};if(_0x13671f==null)return;if(this[_0x198981(0x164)](this[_0x198981(0x14f)][_0x198981(0x16d)],_0x13671f),_0x13671f[_0x198981(0x145)])throw new a[(_0x198981(0x14c))]();}})),this[_0x2998ee(0x13c)](this[_0x2998ee(0x14f)][_0x2998ee(0x13a)],()=>_0x14f678[_0x2998ee(0x157)](_0x2fb35c=>{const _0x292cc3=_0x2998ee;if(_0x2fb35c['id']===e['CancelSheetPrintOperation']['id']){const _0x376750=_0x22b923['get'](e[_0x292cc3(0x14d)]);if(!this['getActiveUniverSheet']())return;const _0x43d898={'layoutConfig':_0x376750[_0x292cc3(0x13f)],'renderConfig':_0x376750['renderConfig']};if(_0x43d898==null)return;if(this[_0x292cc3(0x164)](this['Event'][_0x292cc3(0x13a)],_0x43d898),_0x43d898['cancel'])throw new a[(_0x292cc3(0x14c))]();}})),this[_0x2998ee(0x13c)](this['Event'][_0x2998ee(0x15a)],()=>_0x14f678[_0x2998ee(0x161)](_0x393efe=>{const _0x23fc2c=_0x2998ee;if(_0x393efe['id']===e[_0x23fc2c(0x132)]['id']){const _0x4500c5=this[_0x23fc2c(0x162)]();if(!_0x4500c5)return;const _0x5791b3={'workbook':_0x4500c5,'worksheet':_0x4500c5[_0x23fc2c(0x151)]()};if(_0x5791b3==null)return;this[_0x23fc2c(0x164)](this[_0x23fc2c(0x14f)][_0x23fc2c(0x15a)],_0x5791b3);}})),this['registerEventHandler'](this[_0x2998ee(0x14f)][_0x2998ee(0x136)],()=>_0x14f678['onCommandExecuted'](_0x3f1016=>{const _0x50709f=_0x2998ee;if(_0x3f1016['id']===e[_0x50709f(0x15b)]['id']){const _0x25877e=_0x22b923[_0x50709f(0x16c)](e[_0x50709f(0x14d)]);if(!this[_0x50709f(0x162)]())return;const _0x1c909d={'layoutConfig':_0x25877e[_0x50709f(0x13f)],'renderConfig':_0x25877e[_0x50709f(0x165)]};if(_0x1c909d==null)return;this['fireEvent'](this['Event'][_0x50709f(0x136)],_0x1c909d);}})),this['registerEventHandler'](this['Event']['SheetPrintCanceled'],()=>_0x14f678[_0x2998ee(0x161)](_0x39c6a0=>{const _0x57952f=_0x2998ee;if(_0x39c6a0['id']===e['CancelSheetPrintOperation']['id']){const _0x43352a=_0x22b923[_0x57952f(0x16c)](e['ISheetPrintManagerService']);if(!this[_0x57952f(0x162)]())return;const _0x2129bb={'layoutConfig':_0x43352a['layoutConfig'],'renderConfig':_0x43352a['renderConfig']};if(_0x2129bb==null)return;this[_0x57952f(0x164)](this[_0x57952f(0x14f)][_0x57952f(0x14a)],_0x2129bb);}}));}}function _0x2311(_0x18b3cd,_0x1e21fa){const _0x4b73d2=_0x4b73();return _0x2311=function(_0x2311c2,_0x1b7833){_0x2311c2=_0x2311c2-0x130;let _0x1abda8=_0x4b73d2[_0x2311c2];return _0x1abda8;},_0x2311(_0x18b3cd,_0x1e21fa);}g['FUniver'][_0x565ed0(0x14e)](l);
|