@univerjs-pro/sheets-print 0.24.0 → 0.25.0-insiders.20260604-29ebbff
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 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -0
- 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 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- 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 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -0
- 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 -0
- package/lib/es/locale/it-IT.js +1 -0
- 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 -0
- package/lib/es/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- 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 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/sheet-print.controller.d.ts +4 -2
- package/lib/types/facade/f-range.d.ts +2 -1
- package/lib/types/facade/f-workbook.d.ts +2 -1
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +4 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/services/sheet-print.service.d.ts +3 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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 -0
- package/lib/umd/locale/it-IT.js +1 -0
- 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 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d01fa=_0x1b9d;(function(_0x2f0484,_0x4b4295){const _0x4baf22=_0x1b9d,_0x5aab38=_0x2f0484();while(!![]){try{const _0x2dfed8=-parseInt(_0x4baf22(0x124))/0x1*(parseInt(_0x4baf22(0x129))/0x2)+parseInt(_0x4baf22(0xf5))/0x3*(parseInt(_0x4baf22(0x10f))/0x4)+-parseInt(_0x4baf22(0x12a))/0x5+-parseInt(_0x4baf22(0x120))/0x6+parseInt(_0x4baf22(0x123))/0x7+-parseInt(_0x4baf22(0x122))/0x8*(-parseInt(_0x4baf22(0x10e))/0x9)+-parseInt(_0x4baf22(0x101))/0xa;if(_0x2dfed8===_0x4b4295)break;else _0x5aab38['push'](_0x5aab38['shift']());}catch(_0xb80296){_0x5aab38['push'](_0x5aab38['shift']());}}}(_0x2892,0x561bf));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[_0x5d01fa(0x111)]{[_0x5d01fa(0x106)](_0x20c536){const _0x563391=_0x5d01fa;return this['_injector'][_0x563391(0x131)](e[_0x563391(0x108)])['updateLayoutConfig'](_0x20c536),this;}[_0x5d01fa(0xfe)](_0x23d108){const _0x453237=_0x5d01fa;return this[_0x453237(0x11a)][_0x453237(0x131)](e[_0x453237(0x108)])['updateRenderConfig'](_0x23d108),this;}[_0x5d01fa(0x130)](){const _0x1e67c1=_0x5d01fa;return this[_0x1e67c1(0x11a)][_0x1e67c1(0x131)](t['ICommandService'])[_0x1e67c1(0xfc)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x3635ad=_0x5d01fa;return this[_0x3635ad(0x11a)][_0x3635ad(0x131)](t[_0x3635ad(0x11d)])['syncExecuteCommand'](e['SheetPrintOpenOperation']['id']);}[_0x5d01fa(0xf9)](){const _0x32e6c1=_0x5d01fa;return this['_injector']['get'](t[_0x32e6c1(0x11d)])['syncExecuteCommand'](e[_0x32e6c1(0x117)]['id']);}async[_0x5d01fa(0x104)](){const _0x1fb1e7=_0x5d01fa;return(0x0,e[_0x1fb1e7(0x11c)])(this[_0x1fb1e7(0x11a)])?this[_0x1fb1e7(0x11a)]['get'](t[_0x1fb1e7(0x11d)])[_0x1fb1e7(0x12f)](e[_0x1fb1e7(0xff)]['id']):!0x1;}};n[_0x5d01fa(0x111)][_0x5d01fa(0x11f)](a);var o=class extends n[_0x5d01fa(0x109)]{['getScreenshot'](_0x4232b7){const _0x4b138b=_0x5d01fa;return(0x0,e['hasPrintFacadePermission'])(this[_0x4b138b(0x11a)])?this[_0x4b138b(0x11a)][_0x4b138b(0x131)](e['SheetPrintClientService'])['getRangeImage'](this[_0x4b138b(0x115)][_0x4b138b(0x118)](),this['_worksheet'][_0x4b138b(0x12c)](),this['_range'],_0x4232b7==null?void 0x0:_0x4232b7[_0x4b138b(0x128)]):!0x1;}};n[_0x5d01fa(0x109)]['extend'](o);var s=class extends r[_0x5d01fa(0x12d)]{get[_0x5d01fa(0x10c)](){const _0x2bce07=_0x5d01fa;return _0x2bce07(0x10c);}get[_0x5d01fa(0x126)](){const _0x5859a5=_0x5d01fa;return _0x5859a5(0x126);}get[_0x5d01fa(0x10d)](){const _0x32c2a4=_0x5d01fa;return _0x32c2a4(0x10d);}get['SheetPrintOpen'](){const _0x14e71c=_0x5d01fa;return _0x14e71c(0x107);}get[_0x5d01fa(0x114)](){const _0x998217=_0x5d01fa;return _0x998217(0x114);}get[_0x5d01fa(0x12e)](){const _0x4bfbca=_0x5d01fa;return _0x4bfbca(0x12e);}};r[_0x5d01fa(0x12d)][_0x5d01fa(0x11f)](s);var c=class extends r['FEnum']{get[_0x5d01fa(0xf8)](){const _0x1f521f=_0x5d01fa;return e[_0x1f521f(0xf8)];}get[_0x5d01fa(0x10a)](){const _0x4c57ee=_0x5d01fa;return i[_0x4c57ee(0x10a)];}get[_0x5d01fa(0x121)](){const _0x4b82ec=_0x5d01fa;return t[_0x4b82ec(0x12b)];}get[_0x5d01fa(0x119)](){const _0xe6fba8=_0x5d01fa;return i[_0xe6fba8(0x119)];}get[_0x5d01fa(0xf6)](){const _0x3dea01=_0x5d01fa;return i[_0x3dea01(0xf6)];}get[_0x5d01fa(0x125)](){return i['PrintDirection'];}get[_0x5d01fa(0x102)](){const _0x4926ae=_0x5d01fa;return e[_0x4926ae(0x102)];}get[_0x5d01fa(0x113)](){const _0x5b1445=_0x5d01fa;return e[_0x5b1445(0x113)];}get[_0x5d01fa(0xfa)](){return e['PrintHeaderFooterSymbol'];}};r[_0x5d01fa(0xfb)][_0x5d01fa(0x11f)](c);function _0x2892(){const _0x5f3a62=['8635570ZXdaRw','PrintFreeze','Event','saveScreenshotToClipboard','disposeWithMe','updatePrintConfig','SheetPrintOpen','ISheetPrintManagerService','FRange','PrintAlign','layoutConfig','BeforeSheetPrintOpen','BeforeSheetPrintCanceled','270BWMJRf','12DMpJwX','SheetPrintOpenOperation','FWorkbook','getActiveWorkbook','PrintHeaderFooter','SheetPrintConfirmed','_workbook','renderConfig','CancelSheetPrintOperation','getUnitId','PrintPaperMargin','_injector','CanceledError','hasPrintFacadePermission','ICommandService','beforeCommandExecuted','extend','1361142khkIrv','PrintPaperSize','96488XqWLGe','4206160tqthdK','13099wPkTWO','PrintDirection','BeforeSheetPrintConfirm','cancel','includeHeaders','22cCcyEY','83035rJqcCd','PaperType','getSheetId','FEventName','SheetPrintCanceled','executeCommand','print','get','fireEvent','onCommandExecuted','FUniver','641103LuCkXe','PrintScale','registerEventHandler','PrintArea','closePrintDialog','PrintHeaderFooterSymbol','FEnum','syncExecuteCommand','getActiveSheet','updatePrintRenderConfig','SheetScreenShotOperation','ConfirmSheetPrintOperation'];_0x2892=function(){return _0x5f3a62;};return _0x2892();}var l=class extends r['FUniver']{['_initialize'](_0xe8b9c1){const _0x391980=_0x5d01fa;let _0x4098fe=_0xe8b9c1[_0x391980(0x131)](t[_0x391980(0x11d)]);this[_0x391980(0x105)](this['registerEventHandler'](this[_0x391980(0x103)][_0x391980(0x10c)],()=>_0x4098fe[_0x391980(0x11e)](_0x6c418e=>{const _0x52cc53=_0x391980;if(_0x6c418e['id']===e[_0x52cc53(0x110)]['id']){let _0x282fc7=this['getActiveWorkbook']();if(!_0x282fc7)return;let _0x2f3448={'workbook':_0x282fc7,'worksheet':_0x282fc7['getActiveSheet']()};if(_0x2f3448==null)return;if(this[_0x52cc53(0x132)](this['Event'][_0x52cc53(0x10c)],_0x2f3448),_0x2f3448[_0x52cc53(0x127)])throw new t[(_0x52cc53(0x11b))]();}}))),this['disposeWithMe'](this[_0x391980(0xf7)](this[_0x391980(0x103)][_0x391980(0x126)],()=>_0x4098fe[_0x391980(0x11e)](_0x1227c9=>{const _0x2a0131=_0x391980;if(_0x1227c9['id']===e[_0x2a0131(0x100)]['id']){let _0x4469aa=_0xe8b9c1['get'](e['ISheetPrintManagerService']);if(!this[_0x2a0131(0x112)]())return;let _0x40ec1b={'layoutConfig':_0x4469aa[_0x2a0131(0x10b)],'renderConfig':_0x4469aa[_0x2a0131(0x116)]};if(_0x40ec1b==null)return;if(this[_0x2a0131(0x132)](this[_0x2a0131(0x103)]['BeforeSheetPrintConfirm'],_0x40ec1b),_0x40ec1b[_0x2a0131(0x127)])throw new t['CanceledError']();}}))),this[_0x391980(0x105)](this[_0x391980(0xf7)](this[_0x391980(0x103)][_0x391980(0x10d)],()=>_0x4098fe[_0x391980(0x11e)](_0x3b0a64=>{const _0x44844d=_0x391980;if(_0x3b0a64['id']===e[_0x44844d(0x117)]['id']){let _0x2af28d=_0xe8b9c1['get'](e[_0x44844d(0x108)]);if(!this['getActiveWorkbook']())return;let _0x217178={'layoutConfig':_0x2af28d[_0x44844d(0x10b)],'renderConfig':_0x2af28d['renderConfig']};if(_0x217178==null)return;if(this[_0x44844d(0x132)](this[_0x44844d(0x103)]['BeforeSheetPrintCanceled'],_0x217178),_0x217178['cancel'])throw new t[(_0x44844d(0x11b))]();}}))),this[_0x391980(0x105)](this[_0x391980(0xf7)](this[_0x391980(0x103)]['SheetPrintOpen'],()=>_0x4098fe[_0x391980(0xf3)](_0x2118bb=>{const _0x40909f=_0x391980;if(_0x2118bb['id']===e['SheetPrintOpenOperation']['id']){let _0x4d29f3=this[_0x40909f(0x112)]();if(!_0x4d29f3)return;let _0x5dd7c1={'workbook':_0x4d29f3,'worksheet':_0x4d29f3[_0x40909f(0xfd)]()};if(_0x5dd7c1==null)return;this[_0x40909f(0x132)](this['Event'][_0x40909f(0x107)],_0x5dd7c1);}}))),this[_0x391980(0x105)](this[_0x391980(0xf7)](this['Event']['SheetPrintConfirmed'],()=>_0x4098fe[_0x391980(0xf3)](_0x3fa090=>{const _0x337151=_0x391980;if(_0x3fa090['id']===e['ConfirmSheetPrintOperation']['id']){let _0x481d1b=_0xe8b9c1[_0x337151(0x131)](e[_0x337151(0x108)]);if(!this[_0x337151(0x112)]())return;let _0x35d4={'layoutConfig':_0x481d1b[_0x337151(0x10b)],'renderConfig':_0x481d1b['renderConfig']};if(_0x35d4==null)return;this[_0x337151(0x132)](this[_0x337151(0x103)]['SheetPrintConfirmed'],_0x35d4);}}))),this[_0x391980(0x105)](this[_0x391980(0xf7)](this[_0x391980(0x103)]['SheetPrintCanceled'],()=>_0x4098fe[_0x391980(0xf3)](_0x301a8d=>{const _0x520d6d=_0x391980;if(_0x301a8d['id']===e[_0x520d6d(0x117)]['id']){let _0x104ab3=_0xe8b9c1['get'](e[_0x520d6d(0x108)]);if(!this[_0x520d6d(0x112)]())return;let _0x544c6d={'layoutConfig':_0x104ab3['layoutConfig'],'renderConfig':_0x104ab3[_0x520d6d(0x116)]};if(_0x544c6d==null)return;this['fireEvent'](this[_0x520d6d(0x103)][_0x520d6d(0x12e)],_0x544c6d);}})));}};function _0x1b9d(_0x289b37,_0x5d4888){_0x289b37=_0x289b37-0xf3;const _0x2892ab=_0x2892();let _0x1b9d55=_0x2892ab[_0x289b37];return _0x1b9d55;}r[_0x5d01fa(0xf4)][_0x5d01fa(0x11f)](l);
|