@univerjs-pro/sheets-print 0.13.0 → 0.14.0-insiders.20251222-4efcfbb
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x5d0f(){const _0x5f17ee=['_worksheet','Event','onCommandExecuted','print','47838cNnrrf','get','_range','5619053djRAuX','ICommandService','ISheetPrintManagerService','FEventName','fireEvent','BeforeSheetPrintOpen','PrintFreeze','301LIDAgo','_injector','closePrintDialog','FWorkbook','24731832bOZBaS','2147514elsWBv','executeCommand','PrintAlign','updatePrintConfig','PrintHeaderFooter','SheetPrintOpen','SheetPrintClientService','getUnitId','PrintArea','getActiveSheet','1162215YQilze','PrintDirection','PaperType','layoutConfig','826623CjCHqy','PrintHeaderFooterSymbol','saveScreenshotToClipboard','CancelSheetPrintOperation','SheetPrintOpenOperation','cancel','BeforeSheetPrintConfirm','openPrintDialog','updateLayoutConfig','getSheetId','ConfirmSheetPrintOperation','211733jQGbHI','BeforeSheetPrintCanceled','updateRenderConfig','10TnIGdX','FRange','registerEventHandler','PrintScale','beforeCommandExecuted','hasPrintFacadePermission','FUniver','SheetPrintConfirmed','20mxJXhX','FEnum','extend','SheetPrintCanceled','8mNDVes','renderConfig','syncExecuteCommand','getScreenshot','getActiveUniverSheet','4dMlFEv'];_0x5d0f=function(){return _0x5f17ee;};return _0x5d0f();}const _0x447761=_0x322a;(function(_0x18e1d4,_0x201d5b){const _0x142c57=_0x322a,_0x45238a=_0x18e1d4();while(!![]){try{const _0x841b40=parseInt(_0x142c57(0x114))/0x1*(parseInt(_0x142c57(0x117))/0x2)+-parseInt(_0x142c57(0xfb))/0x3*(-parseInt(_0x142c57(0x128))/0x4)+parseInt(_0x142c57(0x105))/0x5+-parseInt(_0x142c57(0x12d))/0x6*(parseInt(_0x142c57(0xf6))/0x7)+-parseInt(_0x142c57(0x123))/0x8*(parseInt(_0x142c57(0x109))/0x9)+-parseInt(_0x142c57(0x11f))/0xa*(-parseInt(_0x142c57(0x130))/0xb)+-parseInt(_0x142c57(0xfa))/0xc;if(_0x841b40===_0x201d5b)break;else _0x45238a['push'](_0x45238a['shift']());}catch(_0x45260d){_0x45238a['push'](_0x45238a['shift']());}}}(_0x5d0f,0x821b8));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');function _0x322a(_0x46e6c2,_0x18b60b){_0x46e6c2=_0x46e6c2-0xf0;const _0x5d0ffb=_0x5d0f();let _0x322abf=_0x5d0ffb[_0x46e6c2];return _0x322abf;}class S extends d[_0x447761(0xf9)]{[_0x447761(0xfe)](_0x3c7eb3){const _0x4872b9=_0x447761;return this[_0x4872b9(0xf7)][_0x4872b9(0x12e)](e[_0x4872b9(0xf1)])[_0x4872b9(0x111)](_0x3c7eb3),this;}['updatePrintRenderConfig'](_0x2aac06){const _0x544a16=_0x447761;return this[_0x544a16(0xf7)][_0x544a16(0x12e)](e[_0x544a16(0xf1)])[_0x544a16(0x116)](_0x2aac06),this;}[_0x447761(0x12c)](){const _0x1ae366=_0x447761;return this[_0x1ae366(0xf7)][_0x1ae366(0x12e)](a[_0x1ae366(0xf0)])[_0x1ae366(0x125)](e[_0x1ae366(0x113)]['id']);}[_0x447761(0x110)](){const _0x50d668=_0x447761;return this[_0x50d668(0xf7)]['get'](a['ICommandService'])[_0x50d668(0x125)](e[_0x50d668(0x10d)]['id']);}[_0x447761(0xf8)](){const _0x13d837=_0x447761;return this['_injector'][_0x13d837(0x12e)](a[_0x13d837(0xf0)])['syncExecuteCommand'](e[_0x13d837(0x10c)]['id']);}async[_0x447761(0x10b)](){const _0x501c38=_0x447761;return e[_0x501c38(0x11c)](this['_injector'])?this[_0x501c38(0xf7)][_0x501c38(0x12e)](a['ICommandService'])[_0x501c38(0xfc)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x447761(0xf9)]['extend'](S);class f extends d[_0x447761(0x118)]{[_0x447761(0x126)](){const _0x3955d6=_0x447761;return e['hasPrintFacadePermission'](this[_0x3955d6(0xf7)])?this[_0x3955d6(0xf7)][_0x3955d6(0x12e)](e[_0x3955d6(0x101)])['getRangeImage'](this['_workbook'][_0x3955d6(0x102)](),this[_0x3955d6(0x129)][_0x3955d6(0x112)](),this[_0x3955d6(0x12f)]):!0x1;}}d[_0x447761(0x118)][_0x447761(0x121)](f);class P{get[_0x447761(0xf4)](){const _0x9e11ee=_0x447761;return _0x9e11ee(0xf4);}get[_0x447761(0x10f)](){const _0x503940=_0x447761;return _0x503940(0x10f);}get[_0x447761(0x115)](){return'BeforeSheetPrintCanceled';}get[_0x447761(0x100)](){const _0x4f58cb=_0x447761;return _0x4f58cb(0x100);}get[_0x447761(0x11e)](){const _0x5cd8f4=_0x447761;return _0x5cd8f4(0x11e);}get[_0x447761(0x122)](){return'SheetPrintCanceled';}}g[_0x447761(0xf2)][_0x447761(0x121)](P);class u{get[_0x447761(0x103)](){const _0x205eee=_0x447761;return e[_0x205eee(0x103)];}get[_0x447761(0xfd)](){return c['PrintAlign'];}get['PrintPaperSize'](){const _0x362cfe=_0x447761;return a[_0x362cfe(0x107)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get[_0x447761(0x11a)](){const _0x2200db=_0x447761;return c[_0x2200db(0x11a)];}get['PrintDirection'](){const _0x1ab31a=_0x447761;return c[_0x1ab31a(0x106)];}get['PrintFreeze'](){const _0xcadc4c=_0x447761;return e[_0xcadc4c(0xf5)];}get['PrintHeaderFooter'](){const _0x2bcc12=_0x447761;return e[_0x2bcc12(0xff)];}get['PrintHeaderFooterSymbol'](){const _0x57e654=_0x447761;return e[_0x57e654(0x10a)];}}g[_0x447761(0x120)][_0x447761(0x121)](u);class l extends g[_0x447761(0x11d)]{['_initialize'](_0x594591){const _0x3d6074=_0x447761,_0x2cee8d=_0x594591[_0x3d6074(0x12e)](a[_0x3d6074(0xf0)]);this[_0x3d6074(0x119)](this[_0x3d6074(0x12a)][_0x3d6074(0xf4)],()=>_0x2cee8d[_0x3d6074(0x11b)](_0x355219=>{const _0x4499ca=_0x3d6074;if(_0x355219['id']===e['SheetPrintOpenOperation']['id']){const _0x7c0712=this[_0x4499ca(0x127)]();if(!_0x7c0712)return;const _0x4e02bb={'workbook':_0x7c0712,'worksheet':_0x7c0712['getActiveSheet']()};if(_0x4e02bb==null)return;if(this[_0x4499ca(0xf3)](this[_0x4499ca(0x12a)][_0x4499ca(0xf4)],_0x4e02bb),_0x4e02bb[_0x4499ca(0x10e)])throw new a['CanceledError']();}})),this[_0x3d6074(0x119)](this[_0x3d6074(0x12a)][_0x3d6074(0x10f)],()=>_0x2cee8d[_0x3d6074(0x11b)](_0x13638b=>{const _0x9828cc=_0x3d6074;if(_0x13638b['id']===e[_0x9828cc(0x113)]['id']){const _0x5b0110=_0x594591[_0x9828cc(0x12e)](e['ISheetPrintManagerService']);if(!this[_0x9828cc(0x127)]())return;const _0x56ad67={'layoutConfig':_0x5b0110['layoutConfig'],'renderConfig':_0x5b0110[_0x9828cc(0x124)]};if(_0x56ad67==null)return;if(this['fireEvent'](this[_0x9828cc(0x12a)][_0x9828cc(0x10f)],_0x56ad67),_0x56ad67[_0x9828cc(0x10e)])throw new a['CanceledError']();}})),this[_0x3d6074(0x119)](this[_0x3d6074(0x12a)][_0x3d6074(0x115)],()=>_0x2cee8d['beforeCommandExecuted'](_0x86b93a=>{const _0x1bb33d=_0x3d6074;if(_0x86b93a['id']===e[_0x1bb33d(0x10c)]['id']){const _0x1fa335=_0x594591[_0x1bb33d(0x12e)](e[_0x1bb33d(0xf1)]);if(!this[_0x1bb33d(0x127)]())return;const _0x2e3f2a={'layoutConfig':_0x1fa335['layoutConfig'],'renderConfig':_0x1fa335[_0x1bb33d(0x124)]};if(_0x2e3f2a==null)return;if(this[_0x1bb33d(0xf3)](this[_0x1bb33d(0x12a)]['BeforeSheetPrintCanceled'],_0x2e3f2a),_0x2e3f2a[_0x1bb33d(0x10e)])throw new a['CanceledError']();}})),this[_0x3d6074(0x119)](this[_0x3d6074(0x12a)][_0x3d6074(0x100)],()=>_0x2cee8d['onCommandExecuted'](_0x5b85f5=>{const _0x715d0f=_0x3d6074;if(_0x5b85f5['id']===e[_0x715d0f(0x10d)]['id']){const _0x1a4299=this[_0x715d0f(0x127)]();if(!_0x1a4299)return;const _0xfd30fc={'workbook':_0x1a4299,'worksheet':_0x1a4299[_0x715d0f(0x104)]()};if(_0xfd30fc==null)return;this['fireEvent'](this[_0x715d0f(0x12a)][_0x715d0f(0x100)],_0xfd30fc);}})),this[_0x3d6074(0x119)](this[_0x3d6074(0x12a)][_0x3d6074(0x11e)],()=>_0x2cee8d[_0x3d6074(0x12b)](_0x200f9c=>{const _0xf7765a=_0x3d6074;if(_0x200f9c['id']===e[_0xf7765a(0x113)]['id']){const _0xbda08f=_0x594591['get'](e[_0xf7765a(0xf1)]);if(!this[_0xf7765a(0x127)]())return;const _0x53d1da={'layoutConfig':_0xbda08f[_0xf7765a(0x108)],'renderConfig':_0xbda08f[_0xf7765a(0x124)]};if(_0x53d1da==null)return;this[_0xf7765a(0xf3)](this[_0xf7765a(0x12a)][_0xf7765a(0x11e)],_0x53d1da);}})),this[_0x3d6074(0x119)](this['Event'][_0x3d6074(0x122)],()=>_0x2cee8d['onCommandExecuted'](_0x19d53d=>{const _0xffbc4e=_0x3d6074;if(_0x19d53d['id']===e[_0xffbc4e(0x10c)]['id']){const _0x14c491=_0x594591[_0xffbc4e(0x12e)](e[_0xffbc4e(0xf1)]);if(!this['getActiveUniverSheet']())return;const _0x5efe60={'layoutConfig':_0x14c491[_0xffbc4e(0x108)],'renderConfig':_0x14c491[_0xffbc4e(0x124)]};if(_0x5efe60==null)return;this[_0xffbc4e(0xf3)](this[_0xffbc4e(0x12a)][_0xffbc4e(0x122)],_0x5efe60);}}));}}g['FUniver'][_0x447761(0x121)](l);
|