@univerjs-pro/sheets-print 0.10.6-nightly.202509060724 → 0.10.6-nightly.202509060832
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/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/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/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 +38 -38
- 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/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 _0x3eab11=_0x18b7;(function(_0x48befd,_0x151fe1){const _0x371eac=_0x18b7,_0x3c010f=_0x48befd();while(!![]){try{const _0x2c4e9a=-parseInt(_0x371eac(0x218))/0x1+-parseInt(_0x371eac(0x20a))/0x2*(-parseInt(_0x371eac(0x1ff))/0x3)+-parseInt(_0x371eac(0x216))/0x4*(parseInt(_0x371eac(0x201))/0x5)+-parseInt(_0x371eac(0x200))/0x6*(-parseInt(_0x371eac(0x225))/0x7)+parseInt(_0x371eac(0x1f7))/0x8*(parseInt(_0x371eac(0x219))/0x9)+parseInt(_0x371eac(0x222))/0xa+-parseInt(_0x371eac(0x223))/0xb;if(_0x2c4e9a===_0x151fe1)break;else _0x3c010f['push'](_0x3c010f['shift']());}catch(_0x375e57){_0x3c010f['push'](_0x3c010f['shift']());}}}(_0x1ad6,0xf0161));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[_0x3eab11(0x215)]{['updatePrintConfig'](_0x34cb42){const _0x5c9c86=_0x3eab11;return this[_0x5c9c86(0x1ef)][_0x5c9c86(0x220)](e[_0x5c9c86(0x1f2)])[_0x5c9c86(0x1fd)](_0x34cb42),this;}['updatePrintRenderConfig'](_0x266aa0){const _0x58016c=_0x3eab11;return this['_injector'][_0x58016c(0x220)](e['ISheetPrintManagerService'])[_0x58016c(0x1f8)](_0x266aa0),this;}[_0x3eab11(0x205)](){const _0x1aa4e4=_0x3eab11;return this[_0x1aa4e4(0x1ef)]['get'](a[_0x1aa4e4(0x212)])['syncExecuteCommand'](e[_0x1aa4e4(0x1f6)]['id']);}[_0x3eab11(0x21e)](){const _0xccfd57=_0x3eab11;return this[_0xccfd57(0x1ef)][_0xccfd57(0x220)](a[_0xccfd57(0x212)])[_0xccfd57(0x206)](e['SheetPrintOpenOperation']['id']);}[_0x3eab11(0x1f1)](){const _0x533072=_0x3eab11;return this['_injector'][_0x533072(0x220)](a[_0x533072(0x212)])[_0x533072(0x206)](e[_0x533072(0x1e7)]['id']);}async['saveScreenshotToClipboard'](){const _0x37c2d3=_0x3eab11;return e['hasPrintFacadePermission'](this[_0x37c2d3(0x1ef)])?this[_0x37c2d3(0x1ef)][_0x37c2d3(0x220)](a['ICommandService'])['executeCommand'](e[_0x37c2d3(0x1ee)]['id']):!0x1;}}d['FWorkbook']['extend'](S);class f extends d[_0x3eab11(0x20d)]{[_0x3eab11(0x21f)](){const _0xa8004b=_0x3eab11;return e[_0xa8004b(0x1f0)](this[_0xa8004b(0x1ef)])?this[_0xa8004b(0x1ef)][_0xa8004b(0x220)](e[_0xa8004b(0x1ed)])[_0xa8004b(0x1fb)](this[_0xa8004b(0x1fc)][_0xa8004b(0x1e8)](),this[_0xa8004b(0x21c)]['getSheetId'](),this[_0xa8004b(0x226)]):!0x1;}}d['FRange'][_0x3eab11(0x20e)](f);function _0x18b7(_0x4376be,_0x6c3534){const _0x1ad6fa=_0x1ad6();return _0x18b7=function(_0x18b79c,_0x2ad2ad){_0x18b79c=_0x18b79c-0x1e7;let _0x2baaa3=_0x1ad6fa[_0x18b79c];return _0x2baaa3;},_0x18b7(_0x4376be,_0x6c3534);}function _0x1ad6(){const _0x4de7ab=['840boawVK','updateRenderConfig','PrintScale','PaperType','getRangeImage','_workbook','updateLayoutConfig','FUniver','44667WVrKkS','1803798YLjGyL','3235yipFAV','BeforeSheetPrintConfirm','PrintFreeze','CanceledError','print','syncExecuteCommand','Event','layoutConfig','_initialize','218ylPpHT','beforeCommandExecuted','SheetPrintConfirmed','FRange','extend','SheetPrintCanceled','PrintAlign','PrintDirection','ICommandService','registerEventHandler','PrintHeaderFooterSymbol','FWorkbook','5192jrmDOB','PrintPaperSize','835797PDqBfI','86472nFnTSS','PrintArea','BeforeSheetPrintCanceled','_worksheet','FEventName','openPrintDialog','getScreenshot','get','onCommandExecuted','15738690MpGqid','20319717NtoPsv','fireEvent','7IPZPOL','_range','PrintHeaderFooter','CancelSheetPrintOperation','getUnitId','renderConfig','SheetPrintOpenOperation','BeforeSheetPrintOpen','SheetPrintOpen','SheetPrintClientService','SheetScreenShotOperation','_injector','hasPrintFacadePermission','closePrintDialog','ISheetPrintManagerService','getActiveUniverSheet','cancel','FEnum','ConfirmSheetPrintOperation'];_0x1ad6=function(){return _0x4de7ab;};return _0x1ad6();}class P{get[_0x3eab11(0x1eb)](){const _0x54a9dc=_0x3eab11;return _0x54a9dc(0x1eb);}get[_0x3eab11(0x202)](){const _0x1cde2a=_0x3eab11;return _0x1cde2a(0x202);}get[_0x3eab11(0x21b)](){return'BeforeSheetPrintCanceled';}get[_0x3eab11(0x1ec)](){const _0x457feb=_0x3eab11;return _0x457feb(0x1ec);}get[_0x3eab11(0x20c)](){const _0x5ebe94=_0x3eab11;return _0x5ebe94(0x20c);}get[_0x3eab11(0x20f)](){const _0x4f3cf2=_0x3eab11;return _0x4f3cf2(0x20f);}}g[_0x3eab11(0x21d)][_0x3eab11(0x20e)](P);class u{get['PrintArea'](){const _0x37a6a4=_0x3eab11;return e[_0x37a6a4(0x21a)];}get['PrintAlign'](){const _0x5a62a1=_0x3eab11;return c[_0x5a62a1(0x210)];}get[_0x3eab11(0x217)](){const _0x3f4cdc=_0x3eab11;return a[_0x3f4cdc(0x1fa)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get[_0x3eab11(0x1f9)](){const _0x575dd2=_0x3eab11;return c[_0x575dd2(0x1f9)];}get[_0x3eab11(0x211)](){const _0xf633df=_0x3eab11;return c[_0xf633df(0x211)];}get[_0x3eab11(0x203)](){const _0x3bbb1f=_0x3eab11;return e[_0x3bbb1f(0x203)];}get[_0x3eab11(0x227)](){const _0x51c450=_0x3eab11;return e[_0x51c450(0x227)];}get[_0x3eab11(0x214)](){return e['PrintHeaderFooterSymbol'];}}g[_0x3eab11(0x1f5)][_0x3eab11(0x20e)](u);class l extends g[_0x3eab11(0x1fe)]{[_0x3eab11(0x209)](_0x3f8fef){const _0x53f53d=_0x3eab11,_0x41fe50=_0x3f8fef[_0x53f53d(0x220)](a[_0x53f53d(0x212)]);this['registerEventHandler'](this[_0x53f53d(0x207)][_0x53f53d(0x1eb)],()=>_0x41fe50[_0x53f53d(0x20b)](_0x10e340=>{const _0x59cd79=_0x53f53d;if(_0x10e340['id']===e[_0x59cd79(0x1ea)]['id']){const _0x377771=this[_0x59cd79(0x1f3)]();if(!_0x377771)return;const _0x12397a={'workbook':_0x377771,'worksheet':_0x377771['getActiveSheet']()};if(_0x12397a==null)return;if(this[_0x59cd79(0x224)](this[_0x59cd79(0x207)][_0x59cd79(0x1eb)],_0x12397a),_0x12397a[_0x59cd79(0x1f4)])throw new a[(_0x59cd79(0x204))]();}})),this['registerEventHandler'](this[_0x53f53d(0x207)][_0x53f53d(0x202)],()=>_0x41fe50['beforeCommandExecuted'](_0x63b4c8=>{const _0x22622c=_0x53f53d;if(_0x63b4c8['id']===e['ConfirmSheetPrintOperation']['id']){const _0x1ec52f=_0x3f8fef[_0x22622c(0x220)](e[_0x22622c(0x1f2)]);if(!this[_0x22622c(0x1f3)]())return;const _0x40cde0={'layoutConfig':_0x1ec52f[_0x22622c(0x208)],'renderConfig':_0x1ec52f[_0x22622c(0x1e9)]};if(_0x40cde0==null)return;if(this[_0x22622c(0x224)](this[_0x22622c(0x207)][_0x22622c(0x202)],_0x40cde0),_0x40cde0[_0x22622c(0x1f4)])throw new a[(_0x22622c(0x204))]();}})),this[_0x53f53d(0x213)](this['Event'][_0x53f53d(0x21b)],()=>_0x41fe50[_0x53f53d(0x20b)](_0x230ab0=>{const _0xbbf9f0=_0x53f53d;if(_0x230ab0['id']===e['CancelSheetPrintOperation']['id']){const _0x28b27c=_0x3f8fef['get'](e[_0xbbf9f0(0x1f2)]);if(!this[_0xbbf9f0(0x1f3)]())return;const _0x243244={'layoutConfig':_0x28b27c[_0xbbf9f0(0x208)],'renderConfig':_0x28b27c['renderConfig']};if(_0x243244==null)return;if(this[_0xbbf9f0(0x224)](this['Event'][_0xbbf9f0(0x21b)],_0x243244),_0x243244[_0xbbf9f0(0x1f4)])throw new a[(_0xbbf9f0(0x204))]();}})),this[_0x53f53d(0x213)](this[_0x53f53d(0x207)]['SheetPrintOpen'],()=>_0x41fe50[_0x53f53d(0x221)](_0x3193ba=>{const _0x4b8983=_0x53f53d;if(_0x3193ba['id']===e[_0x4b8983(0x1ea)]['id']){const _0x314a6a=this[_0x4b8983(0x1f3)]();if(!_0x314a6a)return;const _0x2e3cf2={'workbook':_0x314a6a,'worksheet':_0x314a6a['getActiveSheet']()};if(_0x2e3cf2==null)return;this[_0x4b8983(0x224)](this[_0x4b8983(0x207)]['SheetPrintOpen'],_0x2e3cf2);}})),this[_0x53f53d(0x213)](this['Event']['SheetPrintConfirmed'],()=>_0x41fe50[_0x53f53d(0x221)](_0x558255=>{const _0x3bdda7=_0x53f53d;if(_0x558255['id']===e[_0x3bdda7(0x1f6)]['id']){const _0x206a09=_0x3f8fef[_0x3bdda7(0x220)](e[_0x3bdda7(0x1f2)]);if(!this[_0x3bdda7(0x1f3)]())return;const _0x370feb={'layoutConfig':_0x206a09[_0x3bdda7(0x208)],'renderConfig':_0x206a09[_0x3bdda7(0x1e9)]};if(_0x370feb==null)return;this[_0x3bdda7(0x224)](this[_0x3bdda7(0x207)]['SheetPrintConfirmed'],_0x370feb);}})),this['registerEventHandler'](this[_0x53f53d(0x207)][_0x53f53d(0x20f)],()=>_0x41fe50[_0x53f53d(0x221)](_0x26cf17=>{const _0x213ce0=_0x53f53d;if(_0x26cf17['id']===e[_0x213ce0(0x1e7)]['id']){const _0x46442e=_0x3f8fef[_0x213ce0(0x220)](e[_0x213ce0(0x1f2)]);if(!this[_0x213ce0(0x1f3)]())return;const _0x3f9e96={'layoutConfig':_0x46442e[_0x213ce0(0x208)],'renderConfig':_0x46442e[_0x213ce0(0x1e9)]};if(_0x3f9e96==null)return;this['fireEvent'](this[_0x213ce0(0x207)][_0x213ce0(0x20f)],_0x3f9e96);}}));}}g[_0x3eab11(0x1fe)]['extend'](l);
|