@univerjs-pro/sheets-print 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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/common/constant.d.ts +0 -1
- package/lib/types/controllers/sheet-print.controller.d.ts +7 -2
- package/lib/types/facade/f-range.d.ts +2 -1
- package/lib/types/facade/f-workbook.d.ts +2 -1
- package/lib/types/index.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/plugin.d.ts +1 -1
- package/lib/types/services/sheet-print-dialog.service.d.ts +16 -0
- package/lib/types/services/sheet-print.service.d.ts +3 -1
- package/lib/types/views/components/PrintGridSidebar.d.ts +1 -1
- package/lib/types/views/components/SheetPrintView.d.ts +2 -1
- package/lib/types/views/components/footer-header-editor/Grid.d.ts +1 -1
- package/lib/types/views/components/footer-header-editor/index.d.ts +1 -1
- package/lib/types/views/components/hover-menu/index.d.ts +1 -1
- 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 +18 -19
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x59ca43=_0x571b;(function(_0x2d41e7,_0x77d901){const _0x52ffc2=_0x571b,_0x3b8b36=_0x2d41e7();while(!![]){try{const _0x58571d=parseInt(_0x52ffc2(0x142))/0x1+-parseInt(_0x52ffc2(0x16f))/0x2+-parseInt(_0x52ffc2(0x150))/0x3*(parseInt(_0x52ffc2(0x173))/0x4)+-parseInt(_0x52ffc2(0x17b))/0x5*(parseInt(_0x52ffc2(0x163))/0x6)+-parseInt(_0x52ffc2(0x140))/0x7*(parseInt(_0x52ffc2(0x17a))/0x8)+parseInt(_0x52ffc2(0x171))/0x9*(-parseInt(_0x52ffc2(0x16e))/0xa)+-parseInt(_0x52ffc2(0x166))/0xb*(-parseInt(_0x52ffc2(0x13b))/0xc);if(_0x58571d===_0x77d901)break;else _0x3b8b36['push'](_0x3b8b36['shift']());}catch(_0x1b1cc8){_0x3b8b36['push'](_0x3b8b36['shift']());}}}(_0x10b9,0x5e8b8));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[_0x59ca43(0x14c)]{[_0x59ca43(0x17d)](_0x544857){const _0x3564d2=_0x59ca43;return this[_0x3564d2(0x16a)][_0x3564d2(0x15f)](e['ISheetPrintManagerService'])[_0x3564d2(0x148)](_0x544857),this;}[_0x59ca43(0x143)](_0x2d9dd1){const _0x2c92a1=_0x59ca43;return this[_0x2c92a1(0x16a)][_0x2c92a1(0x15f)](e[_0x2c92a1(0x167)])[_0x2c92a1(0x13d)](_0x2d9dd1),this;}[_0x59ca43(0x139)](){const _0x41fd01=_0x59ca43;return this[_0x41fd01(0x16a)][_0x41fd01(0x15f)](t[_0x41fd01(0x169)])[_0x41fd01(0x179)](e[_0x41fd01(0x153)]['id']);}[_0x59ca43(0x15d)](){const _0x2c76ad=_0x59ca43;return this[_0x2c76ad(0x16a)][_0x2c76ad(0x15f)](t[_0x2c76ad(0x169)])['syncExecuteCommand'](e[_0x2c76ad(0x146)]['id']);}[_0x59ca43(0x175)](){const _0x110513=_0x59ca43;return this[_0x110513(0x16a)][_0x110513(0x15f)](t['ICommandService'])[_0x110513(0x179)](e[_0x110513(0x14a)]['id']);}async[_0x59ca43(0x13e)](){const _0x5628aa=_0x59ca43;return(0x0,e['hasPrintFacadePermission'])(this[_0x5628aa(0x16a)])?this[_0x5628aa(0x16a)][_0x5628aa(0x15f)](t[_0x5628aa(0x169)])[_0x5628aa(0x172)](e['SheetScreenShotOperation']['id']):!0x1;}};n[_0x59ca43(0x14c)][_0x59ca43(0x14b)](a);var o=class extends n['FRange']{[_0x59ca43(0x158)](_0x1c5386){const _0xc5c0bf=_0x59ca43;return(0x0,e['hasPrintFacadePermission'])(this[_0xc5c0bf(0x16a)])?this[_0xc5c0bf(0x16a)][_0xc5c0bf(0x15f)](e[_0xc5c0bf(0x170)])[_0xc5c0bf(0x178)](this['_workbook'][_0xc5c0bf(0x152)](),this[_0xc5c0bf(0x17c)][_0xc5c0bf(0x161)](),this['_range'],_0x1c5386==null?void 0x0:_0x1c5386[_0xc5c0bf(0x145)]):!0x1;}};n[_0x59ca43(0x159)][_0x59ca43(0x14b)](o);var s=class extends r[_0x59ca43(0x176)]{get[_0x59ca43(0x15a)](){return'BeforeSheetPrintOpen';}get[_0x59ca43(0x174)](){return'BeforeSheetPrintConfirm';}get[_0x59ca43(0x151)](){const _0x4a4df7=_0x59ca43;return _0x4a4df7(0x151);}get[_0x59ca43(0x160)](){const _0xcddb0=_0x59ca43;return _0xcddb0(0x160);}get['SheetPrintConfirmed'](){const _0x53c7a2=_0x59ca43;return _0x53c7a2(0x14d);}get['SheetPrintCanceled'](){const _0x63e065=_0x59ca43;return _0x63e065(0x15c);}};function _0x571b(_0x1e43ba,_0x34e55b){_0x1e43ba=_0x1e43ba-0x139;const _0x10b999=_0x10b9();let _0x571b27=_0x10b999[_0x1e43ba];return _0x571b27;}r[_0x59ca43(0x176)][_0x59ca43(0x14b)](s);var c=class extends r[_0x59ca43(0x168)]{get[_0x59ca43(0x15b)](){const _0x71d13a=_0x59ca43;return e[_0x71d13a(0x15b)];}get['PrintAlign'](){const _0x5a3586=_0x59ca43;return i[_0x5a3586(0x13a)];}get['PrintPaperSize'](){const _0x4faf61=_0x59ca43;return t[_0x4faf61(0x177)];}get['PrintPaperMargin'](){return i['PrintPaperMargin'];}get[_0x59ca43(0x155)](){const _0x1c3efc=_0x59ca43;return i[_0x1c3efc(0x155)];}get[_0x59ca43(0x13c)](){return i['PrintDirection'];}get[_0x59ca43(0x154)](){const _0x56dfb2=_0x59ca43;return e[_0x56dfb2(0x154)];}get[_0x59ca43(0x149)](){const _0xb00210=_0x59ca43;return e[_0xb00210(0x149)];}get[_0x59ca43(0x162)](){const _0x178378=_0x59ca43;return e[_0x178378(0x162)];}};r['FEnum'][_0x59ca43(0x14b)](c);var l=class extends r[_0x59ca43(0x157)]{[_0x59ca43(0x144)](_0x1b76e8){const _0x439195=_0x59ca43;let _0x495282=_0x1b76e8[_0x439195(0x15f)](t[_0x439195(0x169)]);this['disposeWithMe'](this[_0x439195(0x16b)](this[_0x439195(0x16d)][_0x439195(0x15a)],()=>_0x495282[_0x439195(0x164)](_0x2592ea=>{const _0x1d927f=_0x439195;if(_0x2592ea['id']===e[_0x1d927f(0x146)]['id']){let _0x2726f5=this['getActiveWorkbook']();if(!_0x2726f5)return;let _0x5ca522={'workbook':_0x2726f5,'worksheet':_0x2726f5['getActiveSheet']()};if(_0x5ca522==null)return;if(this[_0x1d927f(0x147)](this[_0x1d927f(0x16d)][_0x1d927f(0x15a)],_0x5ca522),_0x5ca522[_0x1d927f(0x13f)])throw new t[(_0x1d927f(0x165))]();}}))),this[_0x439195(0x156)](this[_0x439195(0x16b)](this[_0x439195(0x16d)][_0x439195(0x174)],()=>_0x495282[_0x439195(0x164)](_0x59c28f=>{const _0xdb0f3=_0x439195;if(_0x59c28f['id']===e[_0xdb0f3(0x153)]['id']){let _0x2dace2=_0x1b76e8[_0xdb0f3(0x15f)](e[_0xdb0f3(0x167)]);if(!this[_0xdb0f3(0x15e)]())return;let _0x7156d1={'layoutConfig':_0x2dace2[_0xdb0f3(0x14e)],'renderConfig':_0x2dace2[_0xdb0f3(0x14f)]};if(_0x7156d1==null)return;if(this['fireEvent'](this[_0xdb0f3(0x16d)][_0xdb0f3(0x174)],_0x7156d1),_0x7156d1['cancel'])throw new t[(_0xdb0f3(0x165))]();}}))),this[_0x439195(0x156)](this[_0x439195(0x16b)](this[_0x439195(0x16d)][_0x439195(0x151)],()=>_0x495282[_0x439195(0x164)](_0x2a0cdb=>{const _0x2d7c26=_0x439195;if(_0x2a0cdb['id']===e[_0x2d7c26(0x14a)]['id']){let _0x3e119d=_0x1b76e8[_0x2d7c26(0x15f)](e['ISheetPrintManagerService']);if(!this[_0x2d7c26(0x15e)]())return;let _0x25a39c={'layoutConfig':_0x3e119d[_0x2d7c26(0x14e)],'renderConfig':_0x3e119d[_0x2d7c26(0x14f)]};if(_0x25a39c==null)return;if(this['fireEvent'](this[_0x2d7c26(0x16d)]['BeforeSheetPrintCanceled'],_0x25a39c),_0x25a39c[_0x2d7c26(0x13f)])throw new t[(_0x2d7c26(0x165))]();}}))),this['disposeWithMe'](this[_0x439195(0x16b)](this['Event'][_0x439195(0x160)],()=>_0x495282[_0x439195(0x141)](_0x33f036=>{const _0x4a51e0=_0x439195;if(_0x33f036['id']===e['SheetPrintOpenOperation']['id']){let _0x3f610c=this['getActiveWorkbook']();if(!_0x3f610c)return;let _0x46deb2={'workbook':_0x3f610c,'worksheet':_0x3f610c[_0x4a51e0(0x16c)]()};if(_0x46deb2==null)return;this['fireEvent'](this[_0x4a51e0(0x16d)][_0x4a51e0(0x160)],_0x46deb2);}}))),this[_0x439195(0x156)](this[_0x439195(0x16b)](this['Event'][_0x439195(0x14d)],()=>_0x495282[_0x439195(0x141)](_0xd96344=>{const _0x407eec=_0x439195;if(_0xd96344['id']===e[_0x407eec(0x153)]['id']){let _0xe7afc4=_0x1b76e8[_0x407eec(0x15f)](e['ISheetPrintManagerService']);if(!this['getActiveWorkbook']())return;let _0x1dbee0={'layoutConfig':_0xe7afc4[_0x407eec(0x14e)],'renderConfig':_0xe7afc4[_0x407eec(0x14f)]};if(_0x1dbee0==null)return;this[_0x407eec(0x147)](this[_0x407eec(0x16d)][_0x407eec(0x14d)],_0x1dbee0);}}))),this[_0x439195(0x156)](this[_0x439195(0x16b)](this[_0x439195(0x16d)]['SheetPrintCanceled'],()=>_0x495282[_0x439195(0x141)](_0x1ff5f1=>{const _0x207412=_0x439195;if(_0x1ff5f1['id']===e['CancelSheetPrintOperation']['id']){let _0x576042=_0x1b76e8[_0x207412(0x15f)](e[_0x207412(0x167)]);if(!this['getActiveWorkbook']())return;let _0x177f9a={'layoutConfig':_0x576042['layoutConfig'],'renderConfig':_0x576042[_0x207412(0x14f)]};if(_0x177f9a==null)return;this[_0x207412(0x147)](this[_0x207412(0x16d)][_0x207412(0x15c)],_0x177f9a);}})));}};function _0x10b9(){const _0x22b16c=['ConfirmSheetPrintOperation','PrintFreeze','PrintScale','disposeWithMe','FUniver','getScreenshot','FRange','BeforeSheetPrintOpen','PrintArea','SheetPrintCanceled','openPrintDialog','getActiveWorkbook','get','SheetPrintOpen','getSheetId','PrintHeaderFooterSymbol','13974rWmMPS','beforeCommandExecuted','CanceledError','471185wfOISA','ISheetPrintManagerService','FEnum','ICommandService','_injector','registerEventHandler','getActiveSheet','Event','93680qcPlpz','880072ElLTOw','SheetPrintClientService','63DiPkhV','executeCommand','476cGAAUO','BeforeSheetPrintConfirm','closePrintDialog','FEventName','PaperType','getRangeImage','syncExecuteCommand','136624pqBNBd','990Wzrvlp','_worksheet','updatePrintConfig','print','PrintAlign','420CxQbso','PrintDirection','updateRenderConfig','saveScreenshotToClipboard','cancel','91Zivjqp','onCommandExecuted','355140fWpeep','updatePrintRenderConfig','_initialize','includeHeaders','SheetPrintOpenOperation','fireEvent','updateLayoutConfig','PrintHeaderFooter','CancelSheetPrintOperation','extend','FWorkbook','SheetPrintConfirmed','layoutConfig','renderConfig','7017xDtYUn','BeforeSheetPrintCanceled','getUnitId'];_0x10b9=function(){return _0x22b16c;};return _0x10b9();}r[_0x59ca43(0x157)][_0x59ca43(0x14b)](l);
|