@univerjs-pro/sheets-print 0.8.0-nightly.202505271607 → 0.8.0-nightly.202505281606
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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x352ec1=_0x481a;(function(_0x2e6573,_0x1c8ed4){const _0x13b62f=_0x481a,_0x381fed=_0x2e6573();while(!![]){try{const _0x484d2f=-parseInt(_0x13b62f(0x109))/0x1*(-parseInt(_0x13b62f(0xd4))/0x2)+parseInt(_0x13b62f(0xe3))/0x3*(-parseInt(_0x13b62f(0xef))/0x4)+parseInt(_0x13b62f(0x100))/0x5*(-parseInt(_0x13b62f(0xdd))/0x6)+parseInt(_0x13b62f(0x102))/0x7+parseInt(_0x13b62f(0xda))/0x8+parseInt(_0x13b62f(0xf5))/0x9*(-parseInt(_0x13b62f(0xfa))/0xa)+parseInt(_0x13b62f(0xd7))/0xb*(parseInt(_0x13b62f(0xde))/0xc);if(_0x484d2f===_0x1c8ed4)break;else _0x381fed['push'](_0x381fed['shift']());}catch(_0x41b9a6){_0x381fed['push'](_0x381fed['shift']());}}}(_0x2c5a,0x520ba));const e=require(_0x352ec1(0xd8)),a=require(_0x352ec1(0xfb)),d=require(_0x352ec1(0x113)),g=require(_0x352ec1(0x11c)),c=require(_0x352ec1(0x103));class S extends d['FWorkbook']{[_0x352ec1(0xf6)](_0x87b2c1){const _0x42114f=_0x352ec1;return this[_0x42114f(0x112)][_0x42114f(0xf8)](e[_0x42114f(0x115)])[_0x42114f(0xec)](_0x87b2c1),this;}[_0x352ec1(0x10f)](_0x5bcacd){const _0x28e539=_0x352ec1;return this['_injector'][_0x28e539(0xf8)](e[_0x28e539(0x115)])[_0x28e539(0x119)](_0x5bcacd),this;}[_0x352ec1(0xe7)](){const _0x17d75c=_0x352ec1;return this['_injector'][_0x17d75c(0xf8)](a[_0x17d75c(0xd9)])['syncExecuteCommand'](e[_0x17d75c(0xf2)]['id']);}['openPrintDialog'](){const _0x2126f9=_0x352ec1;return this[_0x2126f9(0x112)][_0x2126f9(0xf8)](a['ICommandService'])['syncExecuteCommand'](e[_0x2126f9(0x10a)]['id']);}[_0x352ec1(0xf7)](){const _0x2d55c6=_0x352ec1;return this[_0x2d55c6(0x112)]['get'](a['ICommandService'])[_0x2d55c6(0x10e)](e[_0x2d55c6(0xe1)]['id']);}async[_0x352ec1(0xeb)](){const _0x534b2e=_0x352ec1;return e['hasPrintFacadePermission'](this['_injector'])?this['_injector'][_0x534b2e(0xf8)](a[_0x534b2e(0xd9)])[_0x534b2e(0xf3)](e[_0x534b2e(0xf4)]['id']):!0x1;}}d[_0x352ec1(0xfe)][_0x352ec1(0x11b)](S);class f extends d[_0x352ec1(0x114)]{[_0x352ec1(0xf1)](){const _0xa1e2ed=_0x352ec1;return e[_0xa1e2ed(0xed)](this[_0xa1e2ed(0x112)])?this[_0xa1e2ed(0x112)][_0xa1e2ed(0xf8)](e[_0xa1e2ed(0xee)])[_0xa1e2ed(0xe5)](this[_0xa1e2ed(0x10b)][_0xa1e2ed(0x110)](),this['_worksheet']['getSheetId'](),this['_range']):!0x1;}}function _0x481a(_0x583388,_0x4814d2){const _0x2c5a55=_0x2c5a();return _0x481a=function(_0x481a06,_0x5a4870){_0x481a06=_0x481a06-0xd4;let _0x545530=_0x2c5a55[_0x481a06];return _0x545530;},_0x481a(_0x583388,_0x4814d2);}d[_0x352ec1(0x114)][_0x352ec1(0x11b)](f);class P{get[_0x352ec1(0xe2)](){const _0x1be84f=_0x352ec1;return _0x1be84f(0xe2);}get[_0x352ec1(0xdf)](){return'BeforeSheetPrintConfirm';}get[_0x352ec1(0xe6)](){const _0x41cb2d=_0x352ec1;return _0x41cb2d(0xe6);}get[_0x352ec1(0x101)](){return'SheetPrintOpen';}get[_0x352ec1(0x108)](){const _0x280a23=_0x352ec1;return _0x280a23(0x108);}get[_0x352ec1(0x10d)](){const _0x336b6a=_0x352ec1;return _0x336b6a(0x10d);}}g[_0x352ec1(0xff)][_0x352ec1(0x11b)](P);class u{get[_0x352ec1(0xf9)](){return e['PrintArea'];}get[_0x352ec1(0xe0)](){const _0x12f058=_0x352ec1;return c[_0x12f058(0xe0)];}get[_0x352ec1(0xdc)](){return a['PaperType'];}get['PrintPaperMargin'](){const _0x59fa1f=_0x352ec1;return c[_0x59fa1f(0x117)];}get['PrintScale'](){const _0x3939a7=_0x352ec1;return c[_0x3939a7(0xd6)];}get['PrintDirection'](){const _0x42e66c=_0x352ec1;return c[_0x42e66c(0xfd)];}get[_0x352ec1(0x104)](){const _0x48e62a=_0x352ec1;return e[_0x48e62a(0x104)];}get[_0x352ec1(0xe8)](){const _0x2446ee=_0x352ec1;return e[_0x2446ee(0xe8)];}get[_0x352ec1(0xe4)](){const _0x1e0fcb=_0x352ec1;return e[_0x1e0fcb(0xe4)];}}g[_0x352ec1(0x11a)][_0x352ec1(0x11b)](u);class l extends g[_0x352ec1(0x111)]{[_0x352ec1(0x106)](_0x717a1d){const _0x4f69a4=_0x352ec1,_0x149f88=_0x717a1d[_0x4f69a4(0xf8)](a[_0x4f69a4(0xd9)]);this[_0x4f69a4(0x116)](this[_0x4f69a4(0xd5)][_0x4f69a4(0xe2)],()=>_0x149f88[_0x4f69a4(0x118)](_0x16d11b=>{const _0x25acf4=_0x4f69a4;if(_0x16d11b['id']===e[_0x25acf4(0x10a)]['id']){const _0x31826c=this[_0x25acf4(0xfc)]();if(!_0x31826c)return;const _0x525e02={'workbook':_0x31826c,'worksheet':_0x31826c[_0x25acf4(0xea)]()};if(_0x525e02==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintOpen'],_0x525e02),_0x525e02[_0x25acf4(0xdb)])throw new a['CanceledError']();}})),this['registerEventHandler'](this[_0x4f69a4(0xd5)][_0x4f69a4(0xdf)],()=>_0x149f88[_0x4f69a4(0x118)](_0x1c8c61=>{const _0x4a9cb0=_0x4f69a4;if(_0x1c8c61['id']===e['ConfirmSheetPrintOperation']['id']){const _0x7ee540=_0x717a1d[_0x4a9cb0(0xf8)](e[_0x4a9cb0(0x115)]);if(!this[_0x4a9cb0(0xfc)]())return;const _0x24c689={'layoutConfig':_0x7ee540[_0x4a9cb0(0x107)],'renderConfig':_0x7ee540[_0x4a9cb0(0xf0)]};if(_0x24c689==null)return;if(this[_0x4a9cb0(0xe9)](this[_0x4a9cb0(0xd5)][_0x4a9cb0(0xdf)],_0x24c689),_0x24c689['cancel'])throw new a['CanceledError']();}})),this[_0x4f69a4(0x116)](this['Event'][_0x4f69a4(0xe6)],()=>_0x149f88[_0x4f69a4(0x118)](_0x228008=>{const _0x380922=_0x4f69a4;if(_0x228008['id']===e[_0x380922(0xe1)]['id']){const _0x333d0e=_0x717a1d[_0x380922(0xf8)](e[_0x380922(0x115)]);if(!this[_0x380922(0xfc)]())return;const _0x203917={'layoutConfig':_0x333d0e['layoutConfig'],'renderConfig':_0x333d0e[_0x380922(0xf0)]};if(_0x203917==null)return;if(this[_0x380922(0xe9)](this[_0x380922(0xd5)][_0x380922(0xe6)],_0x203917),_0x203917[_0x380922(0xdb)])throw new a[(_0x380922(0x105))]();}})),this[_0x4f69a4(0x116)](this[_0x4f69a4(0xd5)][_0x4f69a4(0x101)],()=>_0x149f88[_0x4f69a4(0x10c)](_0x1a16c9=>{const _0x1362e8=_0x4f69a4;if(_0x1a16c9['id']===e[_0x1362e8(0x10a)]['id']){const _0x2dd8c6=this[_0x1362e8(0xfc)]();if(!_0x2dd8c6)return;const _0x3ba682={'workbook':_0x2dd8c6,'worksheet':_0x2dd8c6[_0x1362e8(0xea)]()};if(_0x3ba682==null)return;this[_0x1362e8(0xe9)](this[_0x1362e8(0xd5)][_0x1362e8(0x101)],_0x3ba682);}})),this[_0x4f69a4(0x116)](this[_0x4f69a4(0xd5)][_0x4f69a4(0x108)],()=>_0x149f88[_0x4f69a4(0x10c)](_0x3e6455=>{const _0x1d5f57=_0x4f69a4;if(_0x3e6455['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2b5b9d=_0x717a1d[_0x1d5f57(0xf8)](e[_0x1d5f57(0x115)]);if(!this[_0x1d5f57(0xfc)]())return;const _0x126d26={'layoutConfig':_0x2b5b9d[_0x1d5f57(0x107)],'renderConfig':_0x2b5b9d[_0x1d5f57(0xf0)]};if(_0x126d26==null)return;this[_0x1d5f57(0xe9)](this[_0x1d5f57(0xd5)][_0x1d5f57(0x108)],_0x126d26);}})),this[_0x4f69a4(0x116)](this[_0x4f69a4(0xd5)][_0x4f69a4(0x10d)],()=>_0x149f88[_0x4f69a4(0x10c)](_0x2ec4e3=>{const _0x5e2274=_0x4f69a4;if(_0x2ec4e3['id']===e[_0x5e2274(0xe1)]['id']){const _0x1e89fe=_0x717a1d[_0x5e2274(0xf8)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x41ff16={'layoutConfig':_0x1e89fe[_0x5e2274(0x107)],'renderConfig':_0x1e89fe['renderConfig']};if(_0x41ff16==null)return;this['fireEvent'](this[_0x5e2274(0xd5)]['SheetPrintCanceled'],_0x41ff16);}}));}}function _0x2c5a(){const _0x2b3625=['42455IdUmey','@univerjs-pro/print','PrintFreeze','CanceledError','_initialize','layoutConfig','SheetPrintConfirmed','1Bcihqy','SheetPrintOpenOperation','_workbook','onCommandExecuted','SheetPrintCanceled','syncExecuteCommand','updatePrintRenderConfig','getUnitId','FUniver','_injector','@univerjs/sheets/facade','FRange','ISheetPrintManagerService','registerEventHandler','PrintPaperMargin','beforeCommandExecuted','updateRenderConfig','FEnum','extend','@univerjs/core/facade','739666YLTQEy','Event','PrintScale','209XrSpQs','@univerjs-pro/sheets-print','ICommandService','4011536nUOtBR','cancel','PrintPaperSize','706086uFwSkJ','569028ZxoLmA','BeforeSheetPrintConfirm','PrintAlign','CancelSheetPrintOperation','BeforeSheetPrintOpen','426TPxcBe','PrintHeaderFooterSymbol','getRangeImage','BeforeSheetPrintCanceled','print','PrintHeaderFooter','fireEvent','getActiveSheet','saveScreenshotToClipboard','updateLayoutConfig','hasPrintFacadePermission','SheetPrintClientService','6456ylFotD','renderConfig','getScreenshot','ConfirmSheetPrintOperation','executeCommand','SheetScreenShotOperation','90brElEc','updatePrintConfig','closePrintDialog','get','PrintArea','624650HorbHC','@univerjs/core','getActiveUniverSheet','PrintDirection','FWorkbook','FEventName','25CWSXGZ','SheetPrintOpen'];_0x2c5a=function(){return _0x2b3625;};return _0x2c5a();}g[_0x352ec1(0x111)][_0x352ec1(0x11b)](l);
|