@univerjs-pro/sheets-print 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507141607
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/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/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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/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/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';function
|
|
1
|
+
'use strict';function _0x169e(_0x2b670f,_0x277a8f){const _0x2a4cf7=_0x2a4c();return _0x169e=function(_0x169e36,_0x3ad46d){_0x169e36=_0x169e36-0x64;let _0x478f24=_0x2a4cf7[_0x169e36];return _0x478f24;},_0x169e(_0x2b670f,_0x277a8f);}function _0x2a4c(){const _0x53de59=['getActiveUniverSheet','updateLayoutConfig','SheetScreenShotOperation','BeforeSheetPrintOpen','closePrintDialog','11955753wWDwfm','BeforeSheetPrintCanceled','executeCommand','cancel','renderConfig','Event','onCommandExecuted','1167567POrMns','openPrintDialog','registerEventHandler','fireEvent','SheetPrintCanceled','PrintScale','PrintFreeze','FEnum','getScreenshot','get','PrintHeaderFooter','syncExecuteCommand','_initialize','PrintPaperSize','SheetPrintOpen','FUniver','1032068EMGOZV','ConfirmSheetPrintOperation','_workbook','getUnitId','getRangeImage','saveScreenshotToClipboard','PrintHeaderFooterSymbol','_worksheet','PrintArea','PaperType','extend','CanceledError','452432lJtNuz','SheetPrintClientService','SheetPrintConfirmed','235qclBPj','943512KpMWpd','hasPrintFacadePermission','7MgEjNk','3490098yjSifM','_injector','layoutConfig','FWorkbook','23820KdDTsg','PrintAlign','BeforeSheetPrintConfirm','updatePrintRenderConfig','ISheetPrintManagerService','ICommandService','getActiveSheet','beforeCommandExecuted','SheetPrintOpenOperation','FEventName','PrintDirection','CancelSheetPrintOperation'];_0x2a4c=function(){return _0x53de59;};return _0x2a4c();}const _0x2f6063=_0x169e;(function(_0x4c275b,_0x1bf2ab){const _0x361cac=_0x169e,_0x4efe8c=_0x4c275b();while(!![]){try{const _0x5b84f8=parseInt(_0x361cac(0x9b))/0x1+-parseInt(_0x361cac(0x8f))/0x2+parseInt(_0x361cac(0x7f))/0x3+parseInt(_0x361cac(0x67))/0x4*(-parseInt(_0x361cac(0x9e))/0x5)+-parseInt(_0x361cac(0xa2))/0x6*(parseInt(_0x361cac(0xa1))/0x7)+parseInt(_0x361cac(0x9f))/0x8+parseInt(_0x361cac(0x78))/0x9;if(_0x5b84f8===_0x1bf2ab)break;else _0x4efe8c['push'](_0x4efe8c['shift']());}catch(_0x246eea){_0x4efe8c['push'](_0x4efe8c['shift']());}}}(_0x2a4c,0xde427));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[_0x2f6063(0x66)]{['updatePrintConfig'](_0x646e39){const _0x5f4704=_0x2f6063;return this[_0x5f4704(0x64)]['get'](e[_0x5f4704(0x6b)])[_0x5f4704(0x74)](_0x646e39),this;}[_0x2f6063(0x6a)](_0x36d3f2){const _0x596035=_0x2f6063;return this[_0x596035(0x64)][_0x596035(0x88)](e[_0x596035(0x6b)])['updateRenderConfig'](_0x36d3f2),this;}['print'](){const _0x28468f=_0x2f6063;return this[_0x28468f(0x64)][_0x28468f(0x88)](a[_0x28468f(0x6c)])[_0x28468f(0x8a)](e['ConfirmSheetPrintOperation']['id']);}[_0x2f6063(0x80)](){const _0x521ebc=_0x2f6063;return this[_0x521ebc(0x64)]['get'](a['ICommandService'])[_0x521ebc(0x8a)](e[_0x521ebc(0x6f)]['id']);}[_0x2f6063(0x77)](){const _0x2352be=_0x2f6063;return this['_injector']['get'](a[_0x2352be(0x6c)])['syncExecuteCommand'](e['CancelSheetPrintOperation']['id']);}async[_0x2f6063(0x94)](){const _0x9c10fc=_0x2f6063;return e[_0x9c10fc(0xa0)](this[_0x9c10fc(0x64)])?this['_injector'][_0x9c10fc(0x88)](a[_0x9c10fc(0x6c)])[_0x9c10fc(0x7a)](e[_0x9c10fc(0x75)]['id']):!0x1;}}d[_0x2f6063(0x66)]['extend'](S);class f extends d['FRange']{[_0x2f6063(0x87)](){const _0xd92bf2=_0x2f6063;return e[_0xd92bf2(0xa0)](this['_injector'])?this[_0xd92bf2(0x64)][_0xd92bf2(0x88)](e[_0xd92bf2(0x9c)])[_0xd92bf2(0x93)](this[_0xd92bf2(0x91)][_0xd92bf2(0x92)](),this[_0xd92bf2(0x96)]['getSheetId'](),this['_range']):!0x1;}}d['FRange'][_0x2f6063(0x99)](f);class P{get['BeforeSheetPrintOpen'](){const _0x525598=_0x2f6063;return _0x525598(0x76);}get[_0x2f6063(0x69)](){return'BeforeSheetPrintConfirm';}get[_0x2f6063(0x79)](){const _0x5d4cda=_0x2f6063;return _0x5d4cda(0x79);}get[_0x2f6063(0x8d)](){const _0x2c6fd0=_0x2f6063;return _0x2c6fd0(0x8d);}get['SheetPrintConfirmed'](){const _0x3d04ef=_0x2f6063;return _0x3d04ef(0x9d);}get[_0x2f6063(0x83)](){return'SheetPrintCanceled';}}g[_0x2f6063(0x70)][_0x2f6063(0x99)](P);class u{get[_0x2f6063(0x97)](){const _0x1876c2=_0x2f6063;return e[_0x1876c2(0x97)];}get[_0x2f6063(0x68)](){const _0x299974=_0x2f6063;return c[_0x299974(0x68)];}get[_0x2f6063(0x8c)](){const _0x138186=_0x2f6063;return a[_0x138186(0x98)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get[_0x2f6063(0x84)](){return c['PrintScale'];}get[_0x2f6063(0x71)](){const _0x18ff1c=_0x2f6063;return c[_0x18ff1c(0x71)];}get[_0x2f6063(0x85)](){const _0x4b3516=_0x2f6063;return e[_0x4b3516(0x85)];}get[_0x2f6063(0x89)](){const _0x145f18=_0x2f6063;return e[_0x145f18(0x89)];}get[_0x2f6063(0x95)](){const _0x5b0bfc=_0x2f6063;return e[_0x5b0bfc(0x95)];}}g[_0x2f6063(0x86)][_0x2f6063(0x99)](u);class l extends g[_0x2f6063(0x8e)]{[_0x2f6063(0x8b)](_0x2df87c){const _0x381331=_0x2f6063,_0x241ab7=_0x2df87c[_0x381331(0x88)](a[_0x381331(0x6c)]);this[_0x381331(0x81)](this[_0x381331(0x7d)][_0x381331(0x76)],()=>_0x241ab7[_0x381331(0x6e)](_0x5c06ed=>{const _0x1f8719=_0x381331;if(_0x5c06ed['id']===e[_0x1f8719(0x6f)]['id']){const _0x185c1d=this[_0x1f8719(0x73)]();if(!_0x185c1d)return;const _0x4377b4={'workbook':_0x185c1d,'worksheet':_0x185c1d[_0x1f8719(0x6d)]()};if(_0x4377b4==null)return;if(this[_0x1f8719(0x82)](this['Event']['BeforeSheetPrintOpen'],_0x4377b4),_0x4377b4[_0x1f8719(0x7b)])throw new a[(_0x1f8719(0x9a))]();}})),this[_0x381331(0x81)](this[_0x381331(0x7d)][_0x381331(0x69)],()=>_0x241ab7['beforeCommandExecuted'](_0x2c86de=>{const _0x409513=_0x381331;if(_0x2c86de['id']===e[_0x409513(0x90)]['id']){const _0x5becf6=_0x2df87c[_0x409513(0x88)](e[_0x409513(0x6b)]);if(!this[_0x409513(0x73)]())return;const _0x2ed5f2={'layoutConfig':_0x5becf6[_0x409513(0x65)],'renderConfig':_0x5becf6[_0x409513(0x7c)]};if(_0x2ed5f2==null)return;if(this[_0x409513(0x82)](this[_0x409513(0x7d)][_0x409513(0x69)],_0x2ed5f2),_0x2ed5f2[_0x409513(0x7b)])throw new a[(_0x409513(0x9a))]();}})),this[_0x381331(0x81)](this[_0x381331(0x7d)]['BeforeSheetPrintCanceled'],()=>_0x241ab7[_0x381331(0x6e)](_0x4267ed=>{const _0x1fe70a=_0x381331;if(_0x4267ed['id']===e[_0x1fe70a(0x72)]['id']){const _0xb1c3b3=_0x2df87c[_0x1fe70a(0x88)](e['ISheetPrintManagerService']);if(!this[_0x1fe70a(0x73)]())return;const _0x13213b={'layoutConfig':_0xb1c3b3[_0x1fe70a(0x65)],'renderConfig':_0xb1c3b3[_0x1fe70a(0x7c)]};if(_0x13213b==null)return;if(this[_0x1fe70a(0x82)](this[_0x1fe70a(0x7d)][_0x1fe70a(0x79)],_0x13213b),_0x13213b[_0x1fe70a(0x7b)])throw new a[(_0x1fe70a(0x9a))]();}})),this[_0x381331(0x81)](this[_0x381331(0x7d)][_0x381331(0x8d)],()=>_0x241ab7[_0x381331(0x7e)](_0xea384e=>{const _0x26a111=_0x381331;if(_0xea384e['id']===e[_0x26a111(0x6f)]['id']){const _0xd24a12=this[_0x26a111(0x73)]();if(!_0xd24a12)return;const _0x5f2d8b={'workbook':_0xd24a12,'worksheet':_0xd24a12[_0x26a111(0x6d)]()};if(_0x5f2d8b==null)return;this[_0x26a111(0x82)](this['Event'][_0x26a111(0x8d)],_0x5f2d8b);}})),this[_0x381331(0x81)](this['Event'][_0x381331(0x9d)],()=>_0x241ab7[_0x381331(0x7e)](_0x20b795=>{const _0x5dcf98=_0x381331;if(_0x20b795['id']===e[_0x5dcf98(0x90)]['id']){const _0x2e7267=_0x2df87c[_0x5dcf98(0x88)](e['ISheetPrintManagerService']);if(!this[_0x5dcf98(0x73)]())return;const _0xcdb92b={'layoutConfig':_0x2e7267['layoutConfig'],'renderConfig':_0x2e7267['renderConfig']};if(_0xcdb92b==null)return;this[_0x5dcf98(0x82)](this[_0x5dcf98(0x7d)]['SheetPrintConfirmed'],_0xcdb92b);}})),this[_0x381331(0x81)](this[_0x381331(0x7d)][_0x381331(0x83)],()=>_0x241ab7['onCommandExecuted'](_0x4c215d=>{const _0x2d0bd6=_0x381331;if(_0x4c215d['id']===e[_0x2d0bd6(0x72)]['id']){const _0x3e8a4d=_0x2df87c['get'](e['ISheetPrintManagerService']);if(!this[_0x2d0bd6(0x73)]())return;const _0xfac6c0={'layoutConfig':_0x3e8a4d['layoutConfig'],'renderConfig':_0x3e8a4d[_0x2d0bd6(0x7c)]};if(_0xfac6c0==null)return;this[_0x2d0bd6(0x82)](this['Event']['SheetPrintCanceled'],_0xfac6c0);}}));}}g[_0x2f6063(0x8e)][_0x2f6063(0x99)](l);
|