@univerjs-pro/sheets-print 0.7.0-nightly.202505171606 → 0.7.0-nightly.202505181606
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/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/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/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/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/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 _0x563ac8=_0x989d;function _0x989d(_0x439b84,_0x3f433d){const _0x37edc7=_0x37ed();return _0x989d=function(_0x989d60,_0x70ab8){_0x989d60=_0x989d60-0xfe;let _0x57d4f8=_0x37edc7[_0x989d60];return _0x57d4f8;},_0x989d(_0x439b84,_0x3f433d);}(function(_0x42756e,_0x26dd95){const _0x826203=_0x989d,_0x4a2165=_0x42756e();while(!![]){try{const _0x62ee19=parseInt(_0x826203(0x13c))/0x1+parseInt(_0x826203(0x124))/0x2+-parseInt(_0x826203(0x133))/0x3*(parseInt(_0x826203(0x13b))/0x4)+-parseInt(_0x826203(0xff))/0x5+parseInt(_0x826203(0x136))/0x6*(parseInt(_0x826203(0x135))/0x7)+parseInt(_0x826203(0x134))/0x8+-parseInt(_0x826203(0x110))/0x9*(-parseInt(_0x826203(0x128))/0xa);if(_0x62ee19===_0x26dd95)break;else _0x4a2165['push'](_0x4a2165['shift']());}catch(_0x5c728c){_0x4a2165['push'](_0x4a2165['shift']());}}}(_0x37ed,0xa76b7));const e=require(_0x563ac8(0x10f)),a=require(_0x563ac8(0x107)),d=require(_0x563ac8(0x117)),g=require('@univerjs/core/facade'),c=require(_0x563ac8(0x130));function _0x37ed(){const _0x3e92d3=['BeforeSheetPrintConfirm','CancelSheetPrintOperation','SheetPrintClientService','beforeCommandExecuted','ConfirmSheetPrintOperation','@univerjs/sheets/facade','FWorkbook','PrintHeaderFooterSymbol','FEventName','FRange','SheetScreenShotOperation','renderConfig','BeforeSheetPrintOpen','BeforeSheetPrintCanceled','closePrintDialog','CanceledError','saveScreenshotToClipboard','SheetPrintOpen','131214oCcswk','SheetPrintConfirmed','updatePrintRenderConfig','getActiveUniverSheet','20JxqDAP','syncExecuteCommand','PrintAlign','SheetPrintOpenOperation','FUniver','_injector','cancel','SheetPrintCanceled','@univerjs-pro/print','_worksheet','get','54CzxlNm','1577752eUUbJx','652043bLquTT','6DSkyfa','PrintScale','onCommandExecuted','PrintArea','PrintHeaderFooter','179052nEPDRK','334597UwTORZ','updatePrintConfig','openPrintDialog','getScreenshot','getActiveSheet','ISheetPrintManagerService','registerEventHandler','print','fireEvent','4318605cpEBBx','updateRenderConfig','Event','PrintFreeze','PaperType','FEnum','hasPrintFacadePermission','layoutConfig','@univerjs/core','PrintDirection','_workbook','ICommandService','_initialize','executeCommand','updateLayoutConfig','extend','@univerjs-pro/sheets-print','7490853KLdqgt','PrintPaperSize'];_0x37ed=function(){return _0x3e92d3;};return _0x37ed();}class S extends d['FWorkbook']{[_0x563ac8(0x13d)](_0x2096bc){const _0x41e1db=_0x563ac8;return this[_0x41e1db(0x12d)][_0x41e1db(0x132)](e[_0x41e1db(0x141)])[_0x41e1db(0x10d)](_0x2096bc),this;}[_0x563ac8(0x126)](_0x5cf2c0){const _0x405e0f=_0x563ac8;return this['_injector']['get'](e[_0x405e0f(0x141)])[_0x405e0f(0x100)](_0x5cf2c0),this;}[_0x563ac8(0x143)](){const _0x597cf3=_0x563ac8;return this[_0x597cf3(0x12d)][_0x597cf3(0x132)](a[_0x597cf3(0x10a)])[_0x597cf3(0x129)](e[_0x597cf3(0x116)]['id']);}[_0x563ac8(0x13e)](){const _0x41e8f5=_0x563ac8;return this['_injector'][_0x41e8f5(0x132)](a[_0x41e8f5(0x10a)])[_0x41e8f5(0x129)](e[_0x41e8f5(0x12b)]['id']);}[_0x563ac8(0x120)](){const _0x4ff081=_0x563ac8;return this[_0x4ff081(0x12d)]['get'](a['ICommandService'])[_0x4ff081(0x129)](e[_0x4ff081(0x113)]['id']);}async[_0x563ac8(0x122)](){const _0x5cc0aa=_0x563ac8;return e[_0x5cc0aa(0x105)](this['_injector'])?this[_0x5cc0aa(0x12d)][_0x5cc0aa(0x132)](a[_0x5cc0aa(0x10a)])[_0x5cc0aa(0x10c)](e[_0x5cc0aa(0x11c)]['id']):!0x1;}}d[_0x563ac8(0x118)][_0x563ac8(0x10e)](S);class f extends d['FRange']{[_0x563ac8(0x13f)](){const _0x165aca=_0x563ac8;return e[_0x165aca(0x105)](this[_0x165aca(0x12d)])?this[_0x165aca(0x12d)][_0x165aca(0x132)](e[_0x165aca(0x114)])['getRangeImage'](this[_0x165aca(0x109)]['getUnitId'](),this[_0x165aca(0x131)]['getSheetId'](),this['_range']):!0x1;}}d[_0x563ac8(0x11b)][_0x563ac8(0x10e)](f);class P{get[_0x563ac8(0x11e)](){const _0x5a3e2a=_0x563ac8;return _0x5a3e2a(0x11e);}get[_0x563ac8(0x112)](){const _0x709c6c=_0x563ac8;return _0x709c6c(0x112);}get['BeforeSheetPrintCanceled'](){const _0x5b2929=_0x563ac8;return _0x5b2929(0x11f);}get['SheetPrintOpen'](){const _0x19ed1c=_0x563ac8;return _0x19ed1c(0x123);}get[_0x563ac8(0x125)](){const _0x466013=_0x563ac8;return _0x466013(0x125);}get[_0x563ac8(0x12f)](){const _0x1618a5=_0x563ac8;return _0x1618a5(0x12f);}}g[_0x563ac8(0x11a)][_0x563ac8(0x10e)](P);class u{get[_0x563ac8(0x139)](){const _0x25fbe9=_0x563ac8;return e[_0x25fbe9(0x139)];}get[_0x563ac8(0x12a)](){return c['PrintAlign'];}get[_0x563ac8(0x111)](){const _0x358b57=_0x563ac8;return a[_0x358b57(0x103)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get[_0x563ac8(0x137)](){const _0x20ddba=_0x563ac8;return c[_0x20ddba(0x137)];}get['PrintDirection'](){const _0xa0a159=_0x563ac8;return c[_0xa0a159(0x108)];}get[_0x563ac8(0x102)](){return e['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x326a67=_0x563ac8;return e[_0x326a67(0x13a)];}get[_0x563ac8(0x119)](){const _0x2e047e=_0x563ac8;return e[_0x2e047e(0x119)];}}g[_0x563ac8(0x104)][_0x563ac8(0x10e)](u);class l extends g[_0x563ac8(0x12c)]{[_0x563ac8(0x10b)](_0xe5def8){const _0x3b81cd=_0x563ac8,_0x483915=_0xe5def8[_0x3b81cd(0x132)](a[_0x3b81cd(0x10a)]);this[_0x3b81cd(0x142)](this['Event'][_0x3b81cd(0x11e)],()=>_0x483915['beforeCommandExecuted'](_0x22293c=>{const _0x7fae06=_0x3b81cd;if(_0x22293c['id']===e[_0x7fae06(0x12b)]['id']){const _0x155d0f=this['getActiveUniverSheet']();if(!_0x155d0f)return;const _0x3ba7a9={'workbook':_0x155d0f,'worksheet':_0x155d0f['getActiveSheet']()};if(_0x3ba7a9==null)return;if(this[_0x7fae06(0xfe)](this[_0x7fae06(0x101)]['BeforeSheetPrintOpen'],_0x3ba7a9),_0x3ba7a9[_0x7fae06(0x12e)])throw new a[(_0x7fae06(0x121))]();}})),this[_0x3b81cd(0x142)](this[_0x3b81cd(0x101)][_0x3b81cd(0x112)],()=>_0x483915['beforeCommandExecuted'](_0x4ded20=>{const _0x8b2db5=_0x3b81cd;if(_0x4ded20['id']===e[_0x8b2db5(0x116)]['id']){const _0x33dbdb=_0xe5def8['get'](e[_0x8b2db5(0x141)]);if(!this['getActiveUniverSheet']())return;const _0x1a5871={'layoutConfig':_0x33dbdb[_0x8b2db5(0x106)],'renderConfig':_0x33dbdb[_0x8b2db5(0x11d)]};if(_0x1a5871==null)return;if(this[_0x8b2db5(0xfe)](this['Event']['BeforeSheetPrintConfirm'],_0x1a5871),_0x1a5871[_0x8b2db5(0x12e)])throw new a['CanceledError']();}})),this[_0x3b81cd(0x142)](this[_0x3b81cd(0x101)]['BeforeSheetPrintCanceled'],()=>_0x483915[_0x3b81cd(0x115)](_0x204102=>{const _0xd27166=_0x3b81cd;if(_0x204102['id']===e[_0xd27166(0x113)]['id']){const _0x4d9521=_0xe5def8[_0xd27166(0x132)](e['ISheetPrintManagerService']);if(!this[_0xd27166(0x127)]())return;const _0x1f5e8f={'layoutConfig':_0x4d9521['layoutConfig'],'renderConfig':_0x4d9521[_0xd27166(0x11d)]};if(_0x1f5e8f==null)return;if(this[_0xd27166(0xfe)](this[_0xd27166(0x101)][_0xd27166(0x11f)],_0x1f5e8f),_0x1f5e8f[_0xd27166(0x12e)])throw new a[(_0xd27166(0x121))]();}})),this['registerEventHandler'](this[_0x3b81cd(0x101)][_0x3b81cd(0x123)],()=>_0x483915['onCommandExecuted'](_0x4f77e7=>{const _0x40a7be=_0x3b81cd;if(_0x4f77e7['id']===e[_0x40a7be(0x12b)]['id']){const _0x4f3a7e=this[_0x40a7be(0x127)]();if(!_0x4f3a7e)return;const _0x3f6f3e={'workbook':_0x4f3a7e,'worksheet':_0x4f3a7e[_0x40a7be(0x140)]()};if(_0x3f6f3e==null)return;this[_0x40a7be(0xfe)](this[_0x40a7be(0x101)][_0x40a7be(0x123)],_0x3f6f3e);}})),this['registerEventHandler'](this[_0x3b81cd(0x101)][_0x3b81cd(0x125)],()=>_0x483915[_0x3b81cd(0x138)](_0x2227d9=>{const _0x48cf93=_0x3b81cd;if(_0x2227d9['id']===e['ConfirmSheetPrintOperation']['id']){const _0x56b7d7=_0xe5def8[_0x48cf93(0x132)](e[_0x48cf93(0x141)]);if(!this['getActiveUniverSheet']())return;const _0x3e2433={'layoutConfig':_0x56b7d7[_0x48cf93(0x106)],'renderConfig':_0x56b7d7['renderConfig']};if(_0x3e2433==null)return;this[_0x48cf93(0xfe)](this['Event'][_0x48cf93(0x125)],_0x3e2433);}})),this['registerEventHandler'](this['Event'][_0x3b81cd(0x12f)],()=>_0x483915[_0x3b81cd(0x138)](_0x1cbd49=>{const _0x57b2e0=_0x3b81cd;if(_0x1cbd49['id']===e[_0x57b2e0(0x113)]['id']){const _0x2d63a1=_0xe5def8[_0x57b2e0(0x132)](e[_0x57b2e0(0x141)]);if(!this[_0x57b2e0(0x127)]())return;const _0x4a2495={'layoutConfig':_0x2d63a1[_0x57b2e0(0x106)],'renderConfig':_0x2d63a1[_0x57b2e0(0x11d)]};if(_0x4a2495==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0x4a2495);}}));}}g['FUniver']['extend'](l);
|