@univerjs-pro/sheets-print 0.25.0 → 0.25.2
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.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
|
-
const
|
|
1
|
+
const _0x29b2dc=_0x2b64;(function(_0x1d1594,_0x48f058){const _0x5ce003=_0x2b64,_0x105280=_0x1d1594();while(!![]){try{const _0x34a329=-parseInt(_0x5ce003(0x14a))/0x1*(-parseInt(_0x5ce003(0x132))/0x2)+-parseInt(_0x5ce003(0x148))/0x3*(-parseInt(_0x5ce003(0x15d))/0x4)+-parseInt(_0x5ce003(0x13c))/0x5+parseInt(_0x5ce003(0x15e))/0x6*(parseInt(_0x5ce003(0x150))/0x7)+parseInt(_0x5ce003(0x12e))/0x8*(parseInt(_0x5ce003(0x155))/0x9)+parseInt(_0x5ce003(0x13b))/0xa+-parseInt(_0x5ce003(0x156))/0xb;if(_0x34a329===_0x48f058)break;else _0x105280['push'](_0x105280['shift']());}catch(_0x51e239){_0x105280['push'](_0x105280['shift']());}}}(_0x5aec,0xf227a));let e=require('@univerjs-pro/sheets-print'),t=require('@univerjs/core'),n=require('@univerjs/sheets/facade'),r=require('@univerjs/core/facade'),i=require('@univerjs-pro/print');var a=class extends n['FWorkbook']{['updatePrintConfig'](_0x17f2ab){const _0x5eb9c1=_0x2b64;return this[_0x5eb9c1(0x169)]['get'](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x17f2ab),this;}['updatePrintRenderConfig'](_0x1effaf){const _0x1493de=_0x2b64;return this[_0x1493de(0x169)][_0x1493de(0x151)](e[_0x1493de(0x15f)])[_0x1493de(0x12f)](_0x1effaf),this;}['print'](){const _0x200e57=_0x2b64;return this[_0x200e57(0x169)]['get'](t['ICommandService'])[_0x200e57(0x164)](e['ConfirmSheetPrintOperation']['id']);}[_0x29b2dc(0x144)](){const _0x48e049=_0x29b2dc;return this[_0x48e049(0x169)]['get'](t[_0x48e049(0x13a)])[_0x48e049(0x164)](e['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x6ae94e=_0x29b2dc;return this[_0x6ae94e(0x169)][_0x6ae94e(0x151)](t[_0x6ae94e(0x13a)])[_0x6ae94e(0x164)](e[_0x6ae94e(0x168)]['id']);}async[_0x29b2dc(0x165)](){const _0x41d454=_0x29b2dc;return(0x0,e[_0x41d454(0x14e)])(this['_injector'])?this['_injector'][_0x41d454(0x151)](t[_0x41d454(0x13a)])[_0x41d454(0x12d)](e[_0x41d454(0x138)]['id']):!0x1;}};function _0x2b64(_0x5edc6b,_0x5ee0b0){_0x5edc6b=_0x5edc6b-0x12d;const _0x5aec5e=_0x5aec();let _0x2b6457=_0x5aec5e[_0x5edc6b];return _0x2b6457;}n['FWorkbook'][_0x29b2dc(0x146)](a);var o=class extends n[_0x29b2dc(0x130)]{['getScreenshot'](_0x25193a){const _0x3ed119=_0x29b2dc;return(0x0,e['hasPrintFacadePermission'])(this[_0x3ed119(0x169)])?this[_0x3ed119(0x169)][_0x3ed119(0x151)](e[_0x3ed119(0x167)])['getRangeImage'](this[_0x3ed119(0x13d)][_0x3ed119(0x154)](),this[_0x3ed119(0x160)]['getSheetId'](),this['_range'],_0x25193a==null?void 0x0:_0x25193a[_0x3ed119(0x15b)]):!0x1;}};n['FRange'][_0x29b2dc(0x146)](o);var s=class extends r[_0x29b2dc(0x15c)]{get[_0x29b2dc(0x133)](){const _0x2d8bbb=_0x29b2dc;return _0x2d8bbb(0x133);}get['BeforeSheetPrintConfirm'](){const _0x12b7f1=_0x29b2dc;return _0x12b7f1(0x158);}get[_0x29b2dc(0x157)](){const _0x12f0c7=_0x29b2dc;return _0x12f0c7(0x157);}get[_0x29b2dc(0x14d)](){const _0x2dc708=_0x29b2dc;return _0x2dc708(0x14d);}get['SheetPrintConfirmed'](){const _0x597149=_0x29b2dc;return _0x597149(0x14c);}get[_0x29b2dc(0x139)](){const _0x39cd56=_0x29b2dc;return _0x39cd56(0x139);}};r[_0x29b2dc(0x15c)][_0x29b2dc(0x146)](s);function _0x5aec(){const _0x1e1119=['CanceledError','syncExecuteCommand','saveScreenshotToClipboard','onCommandExecuted','SheetPrintClientService','CancelSheetPrintOperation','_injector','cancel','registerEventHandler','executeCommand','1127432uaquaU','updateRenderConfig','FRange','_initialize','536482zcRgZk','BeforeSheetPrintOpen','SheetPrintOpenOperation','PrintPaperSize','Event','ConfirmSheetPrintOperation','SheetScreenShotOperation','SheetPrintCanceled','ICommandService','9771460RCfzTL','4430345ggDvYY','_workbook','renderConfig','getActiveUniverSheet','PrintHeaderFooter','disposeWithMe','layoutConfig','PrintArea','openPrintDialog','PrintScale','extend','PrintHeaderFooterSymbol','431223TPtrDI','getActiveSheet','6GEHBzC','PrintAlign','SheetPrintConfirmed','SheetPrintOpen','hasPrintFacadePermission','PrintPaperMargin','169519oNPMLi','get','FUniver','FEnum','getUnitId','72QGRunX','27337915LCoyWn','BeforeSheetPrintCanceled','BeforeSheetPrintConfirm','PrintDirection','fireEvent','includeHeaders','FEventName','12ClOhqW','54TLXTUr','ISheetPrintManagerService','_worksheet','beforeCommandExecuted','PrintFreeze'];_0x5aec=function(){return _0x1e1119;};return _0x5aec();}var c=class extends r[_0x29b2dc(0x153)]{get[_0x29b2dc(0x143)](){const _0x56293f=_0x29b2dc;return e[_0x56293f(0x143)];}get[_0x29b2dc(0x14b)](){const _0x9dc0a4=_0x29b2dc;return i[_0x9dc0a4(0x14b)];}get[_0x29b2dc(0x135)](){return t['PaperType'];}get[_0x29b2dc(0x14f)](){return i['PrintPaperMargin'];}get[_0x29b2dc(0x145)](){return i['PrintScale'];}get[_0x29b2dc(0x159)](){return i['PrintDirection'];}get[_0x29b2dc(0x162)](){return e['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x187df0=_0x29b2dc;return e[_0x187df0(0x140)];}get['PrintHeaderFooterSymbol'](){const _0xda5ce9=_0x29b2dc;return e[_0xda5ce9(0x147)];}};r[_0x29b2dc(0x153)]['extend'](c);var l=class extends r['FUniver']{[_0x29b2dc(0x131)](_0x30dab0){const _0x186d3b=_0x29b2dc;let _0x1fda3f=_0x30dab0[_0x186d3b(0x151)](t['ICommandService']);this['disposeWithMe'](this[_0x186d3b(0x16b)](this[_0x186d3b(0x136)]['BeforeSheetPrintOpen'],()=>_0x1fda3f[_0x186d3b(0x161)](_0x2e785c=>{const _0x10e64a=_0x186d3b;if(_0x2e785c['id']===e['SheetPrintOpenOperation']['id']){let _0x54d428=this['getActiveUniverSheet']();if(!_0x54d428)return;let _0x4fe578={'workbook':_0x54d428,'worksheet':_0x54d428[_0x10e64a(0x149)]()};if(_0x4fe578==null)return;if(this[_0x10e64a(0x15a)](this[_0x10e64a(0x136)][_0x10e64a(0x133)],_0x4fe578),_0x4fe578[_0x10e64a(0x16a)])throw new t[(_0x10e64a(0x163))]();}}))),this[_0x186d3b(0x141)](this[_0x186d3b(0x16b)](this[_0x186d3b(0x136)][_0x186d3b(0x158)],()=>_0x1fda3f[_0x186d3b(0x161)](_0x9345f3=>{const _0x23519a=_0x186d3b;if(_0x9345f3['id']===e[_0x23519a(0x137)]['id']){let _0x5dcf1f=_0x30dab0[_0x23519a(0x151)](e[_0x23519a(0x15f)]);if(!this[_0x23519a(0x13f)]())return;let _0x282a00={'layoutConfig':_0x5dcf1f[_0x23519a(0x142)],'renderConfig':_0x5dcf1f['renderConfig']};if(_0x282a00==null)return;if(this['fireEvent'](this['Event'][_0x23519a(0x158)],_0x282a00),_0x282a00[_0x23519a(0x16a)])throw new t[(_0x23519a(0x163))]();}}))),this[_0x186d3b(0x141)](this[_0x186d3b(0x16b)](this[_0x186d3b(0x136)][_0x186d3b(0x157)],()=>_0x1fda3f[_0x186d3b(0x161)](_0x4251eb=>{const _0x1c5421=_0x186d3b;if(_0x4251eb['id']===e[_0x1c5421(0x168)]['id']){let _0x541e77=_0x30dab0[_0x1c5421(0x151)](e[_0x1c5421(0x15f)]);if(!this[_0x1c5421(0x13f)]())return;let _0x1fc779={'layoutConfig':_0x541e77['layoutConfig'],'renderConfig':_0x541e77[_0x1c5421(0x13e)]};if(_0x1fc779==null)return;if(this[_0x1c5421(0x15a)](this['Event'][_0x1c5421(0x157)],_0x1fc779),_0x1fc779[_0x1c5421(0x16a)])throw new t[(_0x1c5421(0x163))]();}}))),this[_0x186d3b(0x141)](this[_0x186d3b(0x16b)](this[_0x186d3b(0x136)][_0x186d3b(0x14d)],()=>_0x1fda3f[_0x186d3b(0x166)](_0x5ab116=>{const _0x3262cf=_0x186d3b;if(_0x5ab116['id']===e[_0x3262cf(0x134)]['id']){let _0x225813=this[_0x3262cf(0x13f)]();if(!_0x225813)return;let _0x4d6325={'workbook':_0x225813,'worksheet':_0x225813[_0x3262cf(0x149)]()};if(_0x4d6325==null)return;this[_0x3262cf(0x15a)](this['Event']['SheetPrintOpen'],_0x4d6325);}}))),this[_0x186d3b(0x141)](this[_0x186d3b(0x16b)](this['Event'][_0x186d3b(0x14c)],()=>_0x1fda3f[_0x186d3b(0x166)](_0x90188a=>{const _0xc35c56=_0x186d3b;if(_0x90188a['id']===e[_0xc35c56(0x137)]['id']){let _0x5a7832=_0x30dab0[_0xc35c56(0x151)](e[_0xc35c56(0x15f)]);if(!this[_0xc35c56(0x13f)]())return;let _0x4af950={'layoutConfig':_0x5a7832[_0xc35c56(0x142)],'renderConfig':_0x5a7832[_0xc35c56(0x13e)]};if(_0x4af950==null)return;this[_0xc35c56(0x15a)](this[_0xc35c56(0x136)][_0xc35c56(0x14c)],_0x4af950);}}))),this['disposeWithMe'](this[_0x186d3b(0x16b)](this[_0x186d3b(0x136)][_0x186d3b(0x139)],()=>_0x1fda3f[_0x186d3b(0x166)](_0xf425c=>{const _0x38d83b=_0x186d3b;if(_0xf425c['id']===e[_0x38d83b(0x168)]['id']){let _0x13103f=_0x30dab0['get'](e[_0x38d83b(0x15f)]);if(!this['getActiveUniverSheet']())return;let _0x301ee8={'layoutConfig':_0x13103f[_0x38d83b(0x142)],'renderConfig':_0x13103f[_0x38d83b(0x13e)]};if(_0x301ee8==null)return;this[_0x38d83b(0x15a)](this[_0x38d83b(0x136)][_0x38d83b(0x139)],_0x301ee8);}})));}};r[_0x29b2dc(0x152)][_0x29b2dc(0x146)](l);
|