@univerjs-pro/sheets-print 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060724
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';
|
|
1
|
+
'use strict';const _0x2b8844=_0x4db3;(function(_0x17a115,_0x134028){const _0x2659ba=_0x4db3,_0xe24e85=_0x17a115();while(!![]){try{const _0x2a6a27=parseInt(_0x2659ba(0xa3))/0x1*(parseInt(_0x2659ba(0xbc))/0x2)+parseInt(_0x2659ba(0xe3))/0x3*(-parseInt(_0x2659ba(0xd8))/0x4)+-parseInt(_0x2659ba(0xbf))/0x5*(-parseInt(_0x2659ba(0xcc))/0x6)+parseInt(_0x2659ba(0xcb))/0x7*(-parseInt(_0x2659ba(0xe2))/0x8)+parseInt(_0x2659ba(0xa6))/0x9+-parseInt(_0x2659ba(0xe1))/0xa*(parseInt(_0x2659ba(0xb5))/0xb)+parseInt(_0x2659ba(0xa0))/0xc;if(_0x2a6a27===_0x134028)break;else _0xe24e85['push'](_0xe24e85['shift']());}catch(_0x4df990){_0xe24e85['push'](_0xe24e85['shift']());}}}(_0x2f73,0x2d0ca));function _0x4db3(_0x154095,_0x277e55){const _0x2f73f2=_0x2f73();return _0x4db3=function(_0x4db360,_0x5ea705){_0x4db360=_0x4db360-0xa0;let _0x555a53=_0x2f73f2[_0x4db360];return _0x555a53;},_0x4db3(_0x154095,_0x277e55);}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['FWorkbook']{[_0x2b8844(0xdf)](_0x5ecac0){const _0x501c16=_0x2b8844;return this[_0x501c16(0xa1)][_0x501c16(0xd5)](e[_0x501c16(0xd7)])[_0x501c16(0xbb)](_0x5ecac0),this;}[_0x2b8844(0xae)](_0x19695c){const _0x4c2daa=_0x2b8844;return this[_0x4c2daa(0xa1)][_0x4c2daa(0xd5)](e['ISheetPrintManagerService'])[_0x4c2daa(0xb8)](_0x19695c),this;}[_0x2b8844(0xd3)](){const _0x1c8ae6=_0x2b8844;return this['_injector'][_0x1c8ae6(0xd5)](a['ICommandService'])[_0x1c8ae6(0xd9)](e[_0x1c8ae6(0xd1)]['id']);}[_0x2b8844(0xb1)](){const _0xaaaf9a=_0x2b8844;return this[_0xaaaf9a(0xa1)][_0xaaaf9a(0xd5)](a['ICommandService'])[_0xaaaf9a(0xd9)](e['SheetPrintOpenOperation']['id']);}[_0x2b8844(0xa8)](){const _0x12f9f0=_0x2b8844;return this[_0x12f9f0(0xa1)][_0x12f9f0(0xd5)](a['ICommandService'])[_0x12f9f0(0xd9)](e[_0x12f9f0(0xc3)]['id']);}async['saveScreenshotToClipboard'](){const _0x3f32e9=_0x2b8844;return e[_0x3f32e9(0xbe)](this[_0x3f32e9(0xa1)])?this[_0x3f32e9(0xa1)][_0x3f32e9(0xd5)](a['ICommandService'])[_0x3f32e9(0xca)](e[_0x3f32e9(0xba)]['id']):!0x1;}}d['FWorkbook']['extend'](S);class f extends d[_0x2b8844(0xcd)]{['getScreenshot'](){const _0x4a57ef=_0x2b8844;return e['hasPrintFacadePermission'](this[_0x4a57ef(0xa1)])?this['_injector'][_0x4a57ef(0xd5)](e[_0x4a57ef(0xad)])[_0x4a57ef(0xb3)](this[_0x4a57ef(0xb4)]['getUnitId'](),this[_0x4a57ef(0xaa)][_0x4a57ef(0xd4)](),this[_0x4a57ef(0xc1)]):!0x1;}}d[_0x2b8844(0xcd)][_0x2b8844(0xd2)](f);function _0x2f73(){const _0x3db3dd=['103076XhWEEd','PrintFreeze','PrintHeaderFooterSymbol','2820717Scczuq','CanceledError','closePrintDialog','fireEvent','_worksheet','_initialize','PrintArea','SheetPrintClientService','updatePrintRenderConfig','SheetPrintOpenOperation','renderConfig','openPrintDialog','registerEventHandler','getRangeImage','_workbook','3163809AICWOc','layoutConfig','PrintHeaderFooter','updateRenderConfig','PrintScale','SheetScreenShotOperation','updateLayoutConfig','2TcxdfH','PaperType','hasPrintFacadePermission','344290xDFaTY','cancel','_range','beforeCommandExecuted','CancelSheetPrintOperation','Event','SheetPrintCanceled','FEventName','BeforeSheetPrintConfirm','SheetPrintConfirmed','getActiveUniverSheet','executeCommand','343gfajYI','6uDgOTe','FRange','onCommandExecuted','PrintAlign','BeforeSheetPrintOpen','ConfirmSheetPrintOperation','extend','print','getSheetId','get','BeforeSheetPrintCanceled','ISheetPrintManagerService','716RpuKim','syncExecuteCommand','FUniver','PrintPaperSize','getActiveSheet','FEnum','SheetPrintOpen','updatePrintConfig','PrintDirection','10mXtHCh','58600ryvSCs','723OCrSFw','4666296seRlHA','_injector','PrintPaperMargin'];_0x2f73=function(){return _0x3db3dd;};return _0x2f73();}class P{get[_0x2b8844(0xd0)](){const _0x28ff5c=_0x2b8844;return _0x28ff5c(0xd0);}get[_0x2b8844(0xc7)](){const _0x507b5e=_0x2b8844;return _0x507b5e(0xc7);}get['BeforeSheetPrintCanceled'](){const _0x5466ef=_0x2b8844;return _0x5466ef(0xd6);}get[_0x2b8844(0xde)](){const _0x15cd94=_0x2b8844;return _0x15cd94(0xde);}get[_0x2b8844(0xc8)](){const _0x508b6d=_0x2b8844;return _0x508b6d(0xc8);}get[_0x2b8844(0xc5)](){const _0x1297f0=_0x2b8844;return _0x1297f0(0xc5);}}g[_0x2b8844(0xc6)]['extend'](P);class u{get[_0x2b8844(0xac)](){const _0x359b48=_0x2b8844;return e[_0x359b48(0xac)];}get[_0x2b8844(0xcf)](){return c['PrintAlign'];}get[_0x2b8844(0xdb)](){const _0x362753=_0x2b8844;return a[_0x362753(0xbd)];}get[_0x2b8844(0xa2)](){const _0x5620a8=_0x2b8844;return c[_0x5620a8(0xa2)];}get[_0x2b8844(0xb9)](){return c['PrintScale'];}get[_0x2b8844(0xe0)](){const _0x4b8a98=_0x2b8844;return c[_0x4b8a98(0xe0)];}get['PrintFreeze'](){const _0x416ce2=_0x2b8844;return e[_0x416ce2(0xa4)];}get[_0x2b8844(0xb7)](){const _0x4a99de=_0x2b8844;return e[_0x4a99de(0xb7)];}get[_0x2b8844(0xa5)](){const _0x469be2=_0x2b8844;return e[_0x469be2(0xa5)];}}g[_0x2b8844(0xdd)][_0x2b8844(0xd2)](u);class l extends g['FUniver']{[_0x2b8844(0xab)](_0x3e3f1b){const _0xb1fc61=_0x2b8844,_0x28f101=_0x3e3f1b[_0xb1fc61(0xd5)](a['ICommandService']);this['registerEventHandler'](this[_0xb1fc61(0xc4)]['BeforeSheetPrintOpen'],()=>_0x28f101['beforeCommandExecuted'](_0x10f4af=>{const _0x4e1a38=_0xb1fc61;if(_0x10f4af['id']===e['SheetPrintOpenOperation']['id']){const _0x1ab629=this[_0x4e1a38(0xc9)]();if(!_0x1ab629)return;const _0x3374f9={'workbook':_0x1ab629,'worksheet':_0x1ab629[_0x4e1a38(0xdc)]()};if(_0x3374f9==null)return;if(this['fireEvent'](this[_0x4e1a38(0xc4)][_0x4e1a38(0xd0)],_0x3374f9),_0x3374f9['cancel'])throw new a[(_0x4e1a38(0xa7))]();}})),this[_0xb1fc61(0xb2)](this[_0xb1fc61(0xc4)]['BeforeSheetPrintConfirm'],()=>_0x28f101[_0xb1fc61(0xc2)](_0x548f1e=>{const _0x207ac1=_0xb1fc61;if(_0x548f1e['id']===e[_0x207ac1(0xd1)]['id']){const _0x42f9df=_0x3e3f1b[_0x207ac1(0xd5)](e[_0x207ac1(0xd7)]);if(!this[_0x207ac1(0xc9)]())return;const _0x5dfb87={'layoutConfig':_0x42f9df[_0x207ac1(0xb6)],'renderConfig':_0x42f9df[_0x207ac1(0xb0)]};if(_0x5dfb87==null)return;if(this[_0x207ac1(0xa9)](this[_0x207ac1(0xc4)][_0x207ac1(0xc7)],_0x5dfb87),_0x5dfb87['cancel'])throw new a[(_0x207ac1(0xa7))]();}})),this[_0xb1fc61(0xb2)](this[_0xb1fc61(0xc4)][_0xb1fc61(0xd6)],()=>_0x28f101[_0xb1fc61(0xc2)](_0x555be3=>{const _0x54fe31=_0xb1fc61;if(_0x555be3['id']===e['CancelSheetPrintOperation']['id']){const _0x5e19c0=_0x3e3f1b[_0x54fe31(0xd5)](e['ISheetPrintManagerService']);if(!this[_0x54fe31(0xc9)]())return;const _0x16e3e3={'layoutConfig':_0x5e19c0[_0x54fe31(0xb6)],'renderConfig':_0x5e19c0[_0x54fe31(0xb0)]};if(_0x16e3e3==null)return;if(this[_0x54fe31(0xa9)](this[_0x54fe31(0xc4)][_0x54fe31(0xd6)],_0x16e3e3),_0x16e3e3[_0x54fe31(0xc0)])throw new a[(_0x54fe31(0xa7))]();}})),this[_0xb1fc61(0xb2)](this[_0xb1fc61(0xc4)][_0xb1fc61(0xde)],()=>_0x28f101[_0xb1fc61(0xce)](_0x2260c9=>{const _0x140fa1=_0xb1fc61;if(_0x2260c9['id']===e[_0x140fa1(0xaf)]['id']){const _0x4ede64=this[_0x140fa1(0xc9)]();if(!_0x4ede64)return;const _0x155377={'workbook':_0x4ede64,'worksheet':_0x4ede64['getActiveSheet']()};if(_0x155377==null)return;this['fireEvent'](this['Event'][_0x140fa1(0xde)],_0x155377);}})),this[_0xb1fc61(0xb2)](this[_0xb1fc61(0xc4)]['SheetPrintConfirmed'],()=>_0x28f101[_0xb1fc61(0xce)](_0x284beb=>{const _0x2ea2dd=_0xb1fc61;if(_0x284beb['id']===e[_0x2ea2dd(0xd1)]['id']){const _0x3482f4=_0x3e3f1b['get'](e[_0x2ea2dd(0xd7)]);if(!this[_0x2ea2dd(0xc9)]())return;const _0x205199={'layoutConfig':_0x3482f4[_0x2ea2dd(0xb6)],'renderConfig':_0x3482f4[_0x2ea2dd(0xb0)]};if(_0x205199==null)return;this[_0x2ea2dd(0xa9)](this['Event'][_0x2ea2dd(0xc8)],_0x205199);}})),this['registerEventHandler'](this[_0xb1fc61(0xc4)][_0xb1fc61(0xc5)],()=>_0x28f101[_0xb1fc61(0xce)](_0x370535=>{const _0xf70349=_0xb1fc61;if(_0x370535['id']===e['CancelSheetPrintOperation']['id']){const _0x15538e=_0x3e3f1b['get'](e[_0xf70349(0xd7)]);if(!this[_0xf70349(0xc9)]())return;const _0x294700={'layoutConfig':_0x15538e[_0xf70349(0xb6)],'renderConfig':_0x15538e[_0xf70349(0xb0)]};if(_0x294700==null)return;this['fireEvent'](this[_0xf70349(0xc4)][_0xf70349(0xc5)],_0x294700);}}));}}g[_0x2b8844(0xda)][_0x2b8844(0xd2)](l);
|