@univerjs-pro/sheets-print 0.12.3-experimental.20251205-8c9a6bf → 0.12.3-nightly.202512060617
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 +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5022e7=_0x2de3;function _0x2de3(_0x44899c,_0x560e12){_0x44899c=_0x44899c-0xe0;const _0x485d82=_0x485d();let _0x2de342=_0x485d82[_0x44899c];return _0x2de342;}(function(_0x1783e4,_0x2946d7){const _0x5ce6e7=_0x2de3,_0x30d278=_0x1783e4();while(!![]){try{const _0x5bf5d7=-parseInt(_0x5ce6e7(0x118))/0x1+-parseInt(_0x5ce6e7(0x120))/0x2*(parseInt(_0x5ce6e7(0xf8))/0x3)+-parseInt(_0x5ce6e7(0x119))/0x4*(parseInt(_0x5ce6e7(0x102))/0x5)+-parseInt(_0x5ce6e7(0xeb))/0x6*(parseInt(_0x5ce6e7(0x112))/0x7)+parseInt(_0x5ce6e7(0xef))/0x8+-parseInt(_0x5ce6e7(0x11e))/0x9+-parseInt(_0x5ce6e7(0x10f))/0xa*(-parseInt(_0x5ce6e7(0x110))/0xb);if(_0x5bf5d7===_0x2946d7)break;else _0x30d278['push'](_0x30d278['shift']());}catch(_0x6270db){_0x30d278['push'](_0x30d278['shift']());}}}(_0x485d,0xded21));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[_0x5022e7(0xe7)]{[_0x5022e7(0xe4)](_0x533596){const _0xea844a=_0x5022e7;return this[_0xea844a(0xfc)][_0xea844a(0x11d)](e[_0xea844a(0x111)])[_0xea844a(0x104)](_0x533596),this;}[_0x5022e7(0x107)](_0x102f94){const _0x3010a1=_0x5022e7;return this[_0x3010a1(0xfc)][_0x3010a1(0x11d)](e[_0x3010a1(0x111)])[_0x3010a1(0x11b)](_0x102f94),this;}[_0x5022e7(0x108)](){const _0xc1e7fb=_0x5022e7;return this[_0xc1e7fb(0xfc)][_0xc1e7fb(0x11d)](a['ICommandService'])[_0xc1e7fb(0xf1)](e[_0xc1e7fb(0xf7)]['id']);}[_0x5022e7(0x10a)](){const _0x49081c=_0x5022e7;return this[_0x49081c(0xfc)][_0x49081c(0x11d)](a['ICommandService'])[_0x49081c(0xf1)](e[_0x49081c(0x121)]['id']);}['closePrintDialog'](){const _0xdc8f94=_0x5022e7;return this[_0xdc8f94(0xfc)][_0xdc8f94(0x11d)](a[_0xdc8f94(0xfb)])[_0xdc8f94(0xf1)](e[_0xdc8f94(0x11a)]['id']);}async[_0x5022e7(0xe2)](){const _0x52f552=_0x5022e7;return e['hasPrintFacadePermission'](this[_0x52f552(0xfc)])?this[_0x52f552(0xfc)][_0x52f552(0x11d)](a[_0x52f552(0xfb)])[_0x52f552(0x10c)](e[_0x52f552(0xfd)]['id']):!0x1;}}d[_0x5022e7(0xe7)][_0x5022e7(0xf2)](S);class f extends d[_0x5022e7(0xe3)]{['getScreenshot'](){const _0xae052c=_0x5022e7;return e[_0xae052c(0x103)](this['_injector'])?this[_0xae052c(0xfc)][_0xae052c(0x11d)](e[_0xae052c(0xe5)])[_0xae052c(0x105)](this['_workbook'][_0xae052c(0xe8)](),this[_0xae052c(0xf4)][_0xae052c(0x122)](),this[_0xae052c(0x100)]):!0x1;}}d[_0x5022e7(0xe3)][_0x5022e7(0xf2)](f);class P{get['BeforeSheetPrintOpen'](){const _0x10bcbe=_0x5022e7;return _0x10bcbe(0xf9);}get[_0x5022e7(0xe9)](){const _0x201fba=_0x5022e7;return _0x201fba(0xe9);}get['BeforeSheetPrintCanceled'](){const _0x29270b=_0x5022e7;return _0x29270b(0xff);}get[_0x5022e7(0xfe)](){const _0x95917f=_0x5022e7;return _0x95917f(0xfe);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x5022e7(0xed)](){const _0x285c47=_0x5022e7;return _0x285c47(0xed);}}g['FEventName']['extend'](P);class u{get['PrintArea'](){const _0x2ff262=_0x5022e7;return e[_0x2ff262(0xe0)];}get['PrintAlign'](){const _0x48b598=_0x5022e7;return c[_0x48b598(0x115)];}get[_0x5022e7(0x11f)](){const _0xa26cc2=_0x5022e7;return a[_0xa26cc2(0xf0)];}get[_0x5022e7(0xfa)](){const _0x2970db=_0x5022e7;return c[_0x2970db(0xfa)];}get[_0x5022e7(0x10b)](){const _0x189b36=_0x5022e7;return c[_0x189b36(0x10b)];}get['PrintDirection'](){return c['PrintDirection'];}get[_0x5022e7(0x117)](){const _0x35c04d=_0x5022e7;return e[_0x35c04d(0x117)];}get[_0x5022e7(0xf5)](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x1f7022=_0x5022e7;return e[_0x1f7022(0xec)];}}g[_0x5022e7(0x11c)][_0x5022e7(0xf2)](u);class l extends g[_0x5022e7(0xea)]{[_0x5022e7(0xf6)](_0x531ebd){const _0x5f4ac9=_0x5022e7,_0x41f6d4=_0x531ebd['get'](a[_0x5f4ac9(0xfb)]);this[_0x5f4ac9(0x10d)](this[_0x5f4ac9(0x10e)][_0x5f4ac9(0xf9)],()=>_0x41f6d4[_0x5f4ac9(0xe1)](_0x3c3066=>{const _0x3bff7a=_0x5f4ac9;if(_0x3c3066['id']===e[_0x3bff7a(0x121)]['id']){const _0x2821bc=this[_0x3bff7a(0x106)]();if(!_0x2821bc)return;const _0x24ade7={'workbook':_0x2821bc,'worksheet':_0x2821bc['getActiveSheet']()};if(_0x24ade7==null)return;if(this[_0x3bff7a(0xf3)](this['Event'][_0x3bff7a(0xf9)],_0x24ade7),_0x24ade7[_0x3bff7a(0x113)])throw new a['CanceledError']();}})),this[_0x5f4ac9(0x10d)](this[_0x5f4ac9(0x10e)][_0x5f4ac9(0xe9)],()=>_0x41f6d4['beforeCommandExecuted'](_0x146d35=>{const _0x183918=_0x5f4ac9;if(_0x146d35['id']===e[_0x183918(0xf7)]['id']){const _0x5134f2=_0x531ebd[_0x183918(0x11d)](e[_0x183918(0x111)]);if(!this[_0x183918(0x106)]())return;const _0x371c43={'layoutConfig':_0x5134f2['layoutConfig'],'renderConfig':_0x5134f2[_0x183918(0xee)]};if(_0x371c43==null)return;if(this[_0x183918(0xf3)](this[_0x183918(0x10e)][_0x183918(0xe9)],_0x371c43),_0x371c43[_0x183918(0x113)])throw new a[(_0x183918(0xe6))]();}})),this[_0x5f4ac9(0x10d)](this['Event'][_0x5f4ac9(0xff)],()=>_0x41f6d4['beforeCommandExecuted'](_0x5cff61=>{const _0x26d0f3=_0x5f4ac9;if(_0x5cff61['id']===e[_0x26d0f3(0x11a)]['id']){const _0x142626=_0x531ebd[_0x26d0f3(0x11d)](e[_0x26d0f3(0x111)]);if(!this[_0x26d0f3(0x106)]())return;const _0x1a0e37={'layoutConfig':_0x142626[_0x26d0f3(0x109)],'renderConfig':_0x142626[_0x26d0f3(0xee)]};if(_0x1a0e37==null)return;if(this[_0x26d0f3(0xf3)](this[_0x26d0f3(0x10e)][_0x26d0f3(0xff)],_0x1a0e37),_0x1a0e37[_0x26d0f3(0x113)])throw new a[(_0x26d0f3(0xe6))]();}})),this['registerEventHandler'](this[_0x5f4ac9(0x10e)][_0x5f4ac9(0xfe)],()=>_0x41f6d4[_0x5f4ac9(0x101)](_0x27d66f=>{const _0x4b68af=_0x5f4ac9;if(_0x27d66f['id']===e[_0x4b68af(0x121)]['id']){const _0x505e97=this[_0x4b68af(0x106)]();if(!_0x505e97)return;const _0x21b7d1={'workbook':_0x505e97,'worksheet':_0x505e97[_0x4b68af(0x116)]()};if(_0x21b7d1==null)return;this[_0x4b68af(0xf3)](this[_0x4b68af(0x10e)][_0x4b68af(0xfe)],_0x21b7d1);}})),this[_0x5f4ac9(0x10d)](this['Event'][_0x5f4ac9(0x114)],()=>_0x41f6d4[_0x5f4ac9(0x101)](_0x4bdafb=>{const _0x21760d=_0x5f4ac9;if(_0x4bdafb['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2e7427=_0x531ebd[_0x21760d(0x11d)](e['ISheetPrintManagerService']);if(!this[_0x21760d(0x106)]())return;const _0xb02504={'layoutConfig':_0x2e7427[_0x21760d(0x109)],'renderConfig':_0x2e7427['renderConfig']};if(_0xb02504==null)return;this[_0x21760d(0xf3)](this[_0x21760d(0x10e)][_0x21760d(0x114)],_0xb02504);}})),this[_0x5f4ac9(0x10d)](this[_0x5f4ac9(0x10e)]['SheetPrintCanceled'],()=>_0x41f6d4[_0x5f4ac9(0x101)](_0x4abfd9=>{const _0x2c55ec=_0x5f4ac9;if(_0x4abfd9['id']===e['CancelSheetPrintOperation']['id']){const _0x36af4d=_0x531ebd['get'](e['ISheetPrintManagerService']);if(!this[_0x2c55ec(0x106)]())return;const _0x149f5a={'layoutConfig':_0x36af4d[_0x2c55ec(0x109)],'renderConfig':_0x36af4d[_0x2c55ec(0xee)]};if(_0x149f5a==null)return;this[_0x2c55ec(0xf3)](this['Event'][_0x2c55ec(0xed)],_0x149f5a);}}));}}g[_0x5022e7(0xea)][_0x5022e7(0xf2)](l);function _0x485d(){const _0x548ce4=['getActiveSheet','PrintFreeze','1692045ygOSDh','4200036KjkXFz','CancelSheetPrintOperation','updateRenderConfig','FEnum','get','3566259VIFzJN','PrintPaperSize','1210316dVPXlr','SheetPrintOpenOperation','getSheetId','PrintArea','beforeCommandExecuted','saveScreenshotToClipboard','FRange','updatePrintConfig','SheetPrintClientService','CanceledError','FWorkbook','getUnitId','BeforeSheetPrintConfirm','FUniver','1356VXGTAU','PrintHeaderFooterSymbol','SheetPrintCanceled','renderConfig','752840UERzuj','PaperType','syncExecuteCommand','extend','fireEvent','_worksheet','PrintHeaderFooter','_initialize','ConfirmSheetPrintOperation','6esTRYi','BeforeSheetPrintOpen','PrintPaperMargin','ICommandService','_injector','SheetScreenShotOperation','SheetPrintOpen','BeforeSheetPrintCanceled','_range','onCommandExecuted','5rpVfAA','hasPrintFacadePermission','updateLayoutConfig','getRangeImage','getActiveUniverSheet','updatePrintRenderConfig','print','layoutConfig','openPrintDialog','PrintScale','executeCommand','registerEventHandler','Event','1153830ZxhdZt','539NBvWnO','ISheetPrintManagerService','15071qqYQjp','cancel','SheetPrintConfirmed','PrintAlign'];_0x485d=function(){return _0x548ce4;};return _0x485d();}
|