@univerjs-pro/sheets-print 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506171607
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 +39 -39
- 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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5e679c,_0x19b00f){const _0x402fe9=_0x2630,_0x22cae8=_0x5e679c();while(!![]){try{const _0x128360=parseInt(_0x402fe9(0x153))/0x1+-parseInt(_0x402fe9(0x178))/0x2+parseInt(_0x402fe9(0x17f))/0x3+-parseInt(_0x402fe9(0x17a))/0x4+-parseInt(_0x402fe9(0x177))/0x5*(-parseInt(_0x402fe9(0x187))/0x6)+parseInt(_0x402fe9(0x18c))/0x7*(-parseInt(_0x402fe9(0x158))/0x8)+parseInt(_0x402fe9(0x14b))/0x9;if(_0x128360===_0x19b00f)break;else _0x22cae8['push'](_0x22cae8['shift']());}catch(_0x2c2c12){_0x22cae8['push'](_0x22cae8['shift']());}}}(_0x385a,0x7be6a),function(_0x1294d4,_0x5d70fb){const _0x41671c=_0x2630;typeof exports==_0x41671c(0x192)&&typeof module<'u'?_0x5d70fb(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require(_0x41671c(0x17e))):typeof define==_0x41671c(0x193)&&define[_0x41671c(0x185)]?define([_0x41671c(0x17b),_0x41671c(0x169),_0x41671c(0x184),'@univerjs/core/facade',_0x41671c(0x17e)],_0x5d70fb):(_0x1294d4=typeof globalThis<'u'?globalThis:_0x1294d4||self,_0x5d70fb(_0x1294d4[_0x41671c(0x150)],_0x1294d4[_0x41671c(0x188)],_0x1294d4[_0x41671c(0x148)],_0x1294d4[_0x41671c(0x182)],_0x1294d4[_0x41671c(0x17c)]));}(this,function(_0x52b88b,_0x36a7b7,_0x39ca90,_0x161968,_0x2cf11d){'use strict';const _0x10ac6c=_0x2630;class _0x3b778f extends _0x39ca90[_0x10ac6c(0x16a)]{[_0x10ac6c(0x159)](_0x1f8ce6){const _0x32a17e=_0x10ac6c;return this[_0x32a17e(0x16f)]['get'](_0x52b88b[_0x32a17e(0x173)])[_0x32a17e(0x147)](_0x1f8ce6),this;}[_0x10ac6c(0x16d)](_0x5c9406){const _0x1c2cc0=_0x10ac6c;return this[_0x1c2cc0(0x16f)][_0x1c2cc0(0x151)](_0x52b88b['ISheetPrintManagerService'])[_0x1c2cc0(0x149)](_0x5c9406),this;}[_0x10ac6c(0x15b)](){const _0x62c301=_0x10ac6c;return this['_injector'][_0x62c301(0x151)](_0x36a7b7[_0x62c301(0x15c)])['syncExecuteCommand'](_0x52b88b[_0x62c301(0x170)]['id']);}[_0x10ac6c(0x161)](){const _0x24daf3=_0x10ac6c;return this[_0x24daf3(0x16f)][_0x24daf3(0x151)](_0x36a7b7[_0x24daf3(0x15c)])[_0x24daf3(0x174)](_0x52b88b['SheetPrintOpenOperation']['id']);}[_0x10ac6c(0x160)](){const _0xc143f9=_0x10ac6c;return this[_0xc143f9(0x16f)][_0xc143f9(0x151)](_0x36a7b7[_0xc143f9(0x15c)])[_0xc143f9(0x174)](_0x52b88b['CancelSheetPrintOperation']['id']);}async[_0x10ac6c(0x16b)](){const _0xf5f6c=_0x10ac6c;return _0x52b88b[_0xf5f6c(0x17d)](this['_injector'])?this['_injector'][_0xf5f6c(0x151)](_0x36a7b7['ICommandService'])[_0xf5f6c(0x154)](_0x52b88b[_0xf5f6c(0x164)]['id']):!0x1;}}_0x39ca90['FWorkbook']['extend'](_0x3b778f);class _0x43526d extends _0x39ca90[_0x10ac6c(0x183)]{[_0x10ac6c(0x167)](){const _0x50f137=_0x10ac6c;return _0x52b88b['hasPrintFacadePermission'](this[_0x50f137(0x16f)])?this['_injector'][_0x50f137(0x151)](_0x52b88b[_0x50f137(0x191)])['getRangeImage'](this['_workbook'][_0x50f137(0x18e)](),this[_0x50f137(0x189)][_0x50f137(0x157)](),this['_range']):!0x1;}}_0x39ca90[_0x10ac6c(0x183)]['extend'](_0x43526d);class _0x38a99a{get[_0x10ac6c(0x190)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x10ac6c(0x16c)](){return'BeforeSheetPrintCanceled';}get[_0x10ac6c(0x176)](){const _0x28aca9=_0x10ac6c;return _0x28aca9(0x176);}get['SheetPrintConfirmed'](){const _0x2a1f19=_0x10ac6c;return _0x2a1f19(0x18d);}get['SheetPrintCanceled'](){const _0x5e551f=_0x10ac6c;return _0x5e551f(0x14a);}}_0x161968[_0x10ac6c(0x15d)][_0x10ac6c(0x179)](_0x38a99a);class _0x392627{get[_0x10ac6c(0x156)](){const _0x22a217=_0x10ac6c;return _0x52b88b[_0x22a217(0x156)];}get[_0x10ac6c(0x175)](){const _0x29424d=_0x10ac6c;return _0x2cf11d[_0x29424d(0x175)];}get['PrintPaperSize'](){const _0x45d581=_0x10ac6c;return _0x36a7b7[_0x45d581(0x168)];}get[_0x10ac6c(0x14d)](){return _0x2cf11d['PrintPaperMargin'];}get[_0x10ac6c(0x152)](){const _0xc05b66=_0x10ac6c;return _0x2cf11d[_0xc05b66(0x152)];}get['PrintDirection'](){const _0x2a822e=_0x10ac6c;return _0x2cf11d[_0x2a822e(0x162)];}get['PrintFreeze'](){return _0x52b88b['PrintFreeze'];}get[_0x10ac6c(0x171)](){const _0x2de9fd=_0x10ac6c;return _0x52b88b[_0x2de9fd(0x171)];}get[_0x10ac6c(0x18a)](){const _0x595179=_0x10ac6c;return _0x52b88b[_0x595179(0x18a)];}}_0x161968[_0x10ac6c(0x180)][_0x10ac6c(0x179)](_0x392627);class _0x2ae41a extends _0x161968[_0x10ac6c(0x15e)]{[_0x10ac6c(0x14e)](_0xd263c5){const _0x49ebdb=_0x10ac6c,_0x54a58f=_0xd263c5[_0x49ebdb(0x151)](_0x36a7b7[_0x49ebdb(0x15c)]);this['registerEventHandler'](this[_0x49ebdb(0x18b)][_0x49ebdb(0x190)],()=>_0x54a58f[_0x49ebdb(0x18f)](_0x4e5827=>{const _0x509a06=_0x49ebdb;if(_0x4e5827['id']===_0x52b88b[_0x509a06(0x14f)]['id']){const _0x50ae41=this['getActiveUniverSheet']();if(!_0x50ae41)return;const _0xfdaa2f={'workbook':_0x50ae41,'worksheet':_0x50ae41[_0x509a06(0x155)]()};if(_0xfdaa2f==null)return;if(this[_0x509a06(0x165)](this[_0x509a06(0x18b)][_0x509a06(0x190)],_0xfdaa2f),_0xfdaa2f[_0x509a06(0x16e)])throw new _0x36a7b7[(_0x509a06(0x15f))]();}})),this[_0x49ebdb(0x14c)](this[_0x49ebdb(0x18b)][_0x49ebdb(0x163)],()=>_0x54a58f[_0x49ebdb(0x18f)](_0x147de9=>{const _0x416fbb=_0x49ebdb;if(_0x147de9['id']===_0x52b88b[_0x416fbb(0x170)]['id']){const _0x1e13c6=_0xd263c5[_0x416fbb(0x151)](_0x52b88b[_0x416fbb(0x173)]);if(!this[_0x416fbb(0x186)]())return;const _0x47c2e3={'layoutConfig':_0x1e13c6[_0x416fbb(0x181)],'renderConfig':_0x1e13c6[_0x416fbb(0x15a)]};if(_0x47c2e3==null)return;if(this[_0x416fbb(0x165)](this[_0x416fbb(0x18b)][_0x416fbb(0x163)],_0x47c2e3),_0x47c2e3[_0x416fbb(0x16e)])throw new _0x36a7b7['CanceledError']();}})),this['registerEventHandler'](this[_0x49ebdb(0x18b)][_0x49ebdb(0x16c)],()=>_0x54a58f[_0x49ebdb(0x18f)](_0x37afcc=>{const _0xfb60f1=_0x49ebdb;if(_0x37afcc['id']===_0x52b88b[_0xfb60f1(0x166)]['id']){const _0x13f23a=_0xd263c5[_0xfb60f1(0x151)](_0x52b88b[_0xfb60f1(0x173)]);if(!this[_0xfb60f1(0x186)]())return;const _0x4a0fe3={'layoutConfig':_0x13f23a[_0xfb60f1(0x181)],'renderConfig':_0x13f23a['renderConfig']};if(_0x4a0fe3==null)return;if(this['fireEvent'](this[_0xfb60f1(0x18b)][_0xfb60f1(0x16c)],_0x4a0fe3),_0x4a0fe3[_0xfb60f1(0x16e)])throw new _0x36a7b7['CanceledError']();}})),this[_0x49ebdb(0x14c)](this[_0x49ebdb(0x18b)][_0x49ebdb(0x176)],()=>_0x54a58f[_0x49ebdb(0x172)](_0x21f88d=>{const _0x7c474d=_0x49ebdb;if(_0x21f88d['id']===_0x52b88b['SheetPrintOpenOperation']['id']){const _0x57038b=this[_0x7c474d(0x186)]();if(!_0x57038b)return;const _0x1b39d2={'workbook':_0x57038b,'worksheet':_0x57038b[_0x7c474d(0x155)]()};if(_0x1b39d2==null)return;this[_0x7c474d(0x165)](this[_0x7c474d(0x18b)][_0x7c474d(0x176)],_0x1b39d2);}})),this[_0x49ebdb(0x14c)](this[_0x49ebdb(0x18b)][_0x49ebdb(0x18d)],()=>_0x54a58f['onCommandExecuted'](_0x5dfd2f=>{const _0x1b7365=_0x49ebdb;if(_0x5dfd2f['id']===_0x52b88b['ConfirmSheetPrintOperation']['id']){const _0x497681=_0xd263c5[_0x1b7365(0x151)](_0x52b88b[_0x1b7365(0x173)]);if(!this['getActiveUniverSheet']())return;const _0x521521={'layoutConfig':_0x497681[_0x1b7365(0x181)],'renderConfig':_0x497681[_0x1b7365(0x15a)]};if(_0x521521==null)return;this['fireEvent'](this[_0x1b7365(0x18b)][_0x1b7365(0x18d)],_0x521521);}})),this[_0x49ebdb(0x14c)](this[_0x49ebdb(0x18b)][_0x49ebdb(0x14a)],()=>_0x54a58f['onCommandExecuted'](_0x25fd7e=>{const _0x10eb4f=_0x49ebdb;if(_0x25fd7e['id']===_0x52b88b[_0x10eb4f(0x166)]['id']){const _0x130dfd=_0xd263c5[_0x10eb4f(0x151)](_0x52b88b[_0x10eb4f(0x173)]);if(!this[_0x10eb4f(0x186)]())return;const _0x207f8e={'layoutConfig':_0x130dfd[_0x10eb4f(0x181)],'renderConfig':_0x130dfd[_0x10eb4f(0x15a)]};if(_0x207f8e==null)return;this[_0x10eb4f(0x165)](this[_0x10eb4f(0x18b)][_0x10eb4f(0x14a)],_0x207f8e);}}));}}_0x161968[_0x10ac6c(0x15e)][_0x10ac6c(0x179)](_0x2ae41a);}));function _0x2630(_0x149cab,_0x392241){const _0x385aa5=_0x385a();return _0x2630=function(_0x263038,_0xf94974){_0x263038=_0x263038-0x147;let _0x2ad15e=_0x385aa5[_0x263038];return _0x2ad15e;},_0x2630(_0x149cab,_0x392241);}function _0x385a(){const _0x829974=['CancelSheetPrintOperation','getScreenshot','PaperType','@univerjs/core','FWorkbook','saveScreenshotToClipboard','BeforeSheetPrintCanceled','updatePrintRenderConfig','cancel','_injector','ConfirmSheetPrintOperation','PrintHeaderFooter','onCommandExecuted','ISheetPrintManagerService','syncExecuteCommand','PrintAlign','SheetPrintOpen','95KNcrHF','683292pRBtIW','extend','1270520vaBMdC','@univerjs-pro/sheets-print','UniverProPrint','hasPrintFacadePermission','@univerjs-pro/print','49125epdTvX','FEnum','layoutConfig','UniverCoreFacade','FRange','@univerjs/sheets/facade','amd','getActiveUniverSheet','189330BkTWuA','UniverCore','_worksheet','PrintHeaderFooterSymbol','Event','1480416baeFdw','SheetPrintConfirmed','getUnitId','beforeCommandExecuted','BeforeSheetPrintOpen','SheetPrintClientService','object','function','updateLayoutConfig','UniverSheetsFacade','updateRenderConfig','SheetPrintCanceled','1120842INrqoB','registerEventHandler','PrintPaperMargin','_initialize','SheetPrintOpenOperation','UniverProSheetsPrint','get','PrintScale','849292crPXtK','executeCommand','getActiveSheet','PrintArea','getSheetId','16ITFWsn','updatePrintConfig','renderConfig','print','ICommandService','FEventName','FUniver','CanceledError','closePrintDialog','openPrintDialog','PrintDirection','BeforeSheetPrintConfirm','SheetScreenShotOperation','fireEvent'];_0x385a=function(){return _0x829974;};return _0x385a();}
|