@univerjs-pro/sheets-print 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507181608
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 +40 -40
- 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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x105653=_0x2598;(function(_0x32db13,_0x2049a2){const _0x562e79=_0x2598,_0x5e6d11=_0x32db13();while(!![]){try{const _0x3706fb=-parseInt(_0x562e79(0x15a))/0x1*(-parseInt(_0x562e79(0x18f))/0x2)+-parseInt(_0x562e79(0x16b))/0x3*(-parseInt(_0x562e79(0x190))/0x4)+-parseInt(_0x562e79(0x164))/0x5+-parseInt(_0x562e79(0x185))/0x6*(-parseInt(_0x562e79(0x166))/0x7)+-parseInt(_0x562e79(0x16a))/0x8+-parseInt(_0x562e79(0x182))/0x9*(parseInt(_0x562e79(0x189))/0xa)+parseInt(_0x562e79(0x179))/0xb*(parseInt(_0x562e79(0x16c))/0xc);if(_0x3706fb===_0x2049a2)break;else _0x5e6d11['push'](_0x5e6d11['shift']());}catch(_0x420855){_0x5e6d11['push'](_0x5e6d11['shift']());}}}(_0x35e4,0x48dc7));function _0x2598(_0x2d4e82,_0x6a5ed6){const _0x35e41c=_0x35e4();return _0x2598=function(_0x259848,_0x2ff4ea){_0x259848=_0x259848-0x159;let _0x13a437=_0x35e41c[_0x259848];return _0x13a437;},_0x2598(_0x2d4e82,_0x6a5ed6);}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']{[_0x105653(0x161)](_0x329304){const _0x2b672c=_0x105653;return this[_0x2b672c(0x173)][_0x2b672c(0x18e)](e[_0x2b672c(0x15d)])['updateLayoutConfig'](_0x329304),this;}['updatePrintRenderConfig'](_0x5bc959){const _0x2c4768=_0x105653;return this[_0x2c4768(0x173)][_0x2c4768(0x18e)](e['ISheetPrintManagerService'])['updateRenderConfig'](_0x5bc959),this;}[_0x105653(0x18b)](){const _0x525d4e=_0x105653;return this[_0x525d4e(0x173)][_0x525d4e(0x18e)](a[_0x525d4e(0x175)])['syncExecuteCommand'](e[_0x525d4e(0x180)]['id']);}['openPrintDialog'](){const _0x59d697=_0x105653;return this[_0x59d697(0x173)][_0x59d697(0x18e)](a[_0x59d697(0x175)])[_0x59d697(0x198)](e[_0x59d697(0x16d)]['id']);}[_0x105653(0x163)](){const _0x3311d2=_0x105653;return this[_0x3311d2(0x173)][_0x3311d2(0x18e)](a['ICommandService'])[_0x3311d2(0x198)](e[_0x3311d2(0x18d)]['id']);}async[_0x105653(0x159)](){const _0x2f4208=_0x105653;return e[_0x2f4208(0x167)](this[_0x2f4208(0x173)])?this[_0x2f4208(0x173)][_0x2f4208(0x18e)](a[_0x2f4208(0x175)])['executeCommand'](e[_0x2f4208(0x17e)]['id']):!0x1;}}d[_0x105653(0x181)]['extend'](S);class f extends d[_0x105653(0x15e)]{[_0x105653(0x197)](){const _0x4dd6c2=_0x105653;return e['hasPrintFacadePermission'](this[_0x4dd6c2(0x173)])?this[_0x4dd6c2(0x173)][_0x4dd6c2(0x18e)](e['SheetPrintClientService'])[_0x4dd6c2(0x192)](this[_0x4dd6c2(0x169)][_0x4dd6c2(0x177)](),this[_0x4dd6c2(0x176)][_0x4dd6c2(0x17b)](),this[_0x4dd6c2(0x187)]):!0x1;}}function _0x35e4(){const _0x245cd2=['onCommandExecuted','getRangeImage','PrintAlign','getActiveUniverSheet','SheetPrintCanceled','_initialize','getScreenshot','syncExecuteCommand','saveScreenshotToClipboard','102503DQpUuP','BeforeSheetPrintOpen','extend','ISheetPrintManagerService','FRange','SheetPrintOpen','registerEventHandler','updatePrintConfig','PrintHeaderFooter','closePrintDialog','780685iBOCos','FEventName','2010652ypsuKx','hasPrintFacadePermission','cancel','_workbook','3965784AAAOCB','6rwmFoB','4760004OLSDJE','SheetPrintOpenOperation','Event','PrintScale','PrintPaperSize','PrintFreeze','getActiveSheet','_injector','fireEvent','ICommandService','_worksheet','getUnitId','PrintHeaderFooterSymbol','11vybwmE','PaperType','getSheetId','renderConfig','BeforeSheetPrintCanceled','SheetScreenShotOperation','beforeCommandExecuted','ConfirmSheetPrintOperation','FWorkbook','1405017lOeSot','PrintPaperMargin','FUniver','6eeKKYV','layoutConfig','_range','SheetPrintConfirmed','10uldFYe','CanceledError','print','BeforeSheetPrintConfirm','CancelSheetPrintOperation','get','2SfGtma','640012lBsBdb'];_0x35e4=function(){return _0x245cd2;};return _0x35e4();}d[_0x105653(0x15e)][_0x105653(0x15c)](f);class P{get['BeforeSheetPrintOpen'](){const _0x5421e3=_0x105653;return _0x5421e3(0x15b);}get['BeforeSheetPrintConfirm'](){const _0x5cd188=_0x105653;return _0x5cd188(0x18c);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x105653(0x15f)](){const _0x2c0939=_0x105653;return _0x2c0939(0x15f);}get[_0x105653(0x188)](){const _0x3923c4=_0x105653;return _0x3923c4(0x188);}get[_0x105653(0x195)](){const _0x35a07d=_0x105653;return _0x35a07d(0x195);}}g[_0x105653(0x165)][_0x105653(0x15c)](P);class u{get['PrintArea'](){return e['PrintArea'];}get[_0x105653(0x193)](){const _0x3069a8=_0x105653;return c[_0x3069a8(0x193)];}get[_0x105653(0x170)](){const _0x2b5eda=_0x105653;return a[_0x2b5eda(0x17a)];}get[_0x105653(0x183)](){return c['PrintPaperMargin'];}get['PrintScale'](){const _0x1b44f3=_0x105653;return c[_0x1b44f3(0x16f)];}get['PrintDirection'](){return c['PrintDirection'];}get[_0x105653(0x171)](){const _0x38e4f0=_0x105653;return e[_0x38e4f0(0x171)];}get[_0x105653(0x162)](){const _0x59d789=_0x105653;return e[_0x59d789(0x162)];}get['PrintHeaderFooterSymbol'](){const _0x3357a0=_0x105653;return e[_0x3357a0(0x178)];}}g['FEnum'][_0x105653(0x15c)](u);class l extends g['FUniver']{[_0x105653(0x196)](_0x51424d){const _0x5cc30b=_0x105653,_0x424ced=_0x51424d[_0x5cc30b(0x18e)](a[_0x5cc30b(0x175)]);this['registerEventHandler'](this['Event'][_0x5cc30b(0x15b)],()=>_0x424ced[_0x5cc30b(0x17f)](_0x2ebe40=>{const _0x4d0b42=_0x5cc30b;if(_0x2ebe40['id']===e['SheetPrintOpenOperation']['id']){const _0x8c3b61=this[_0x4d0b42(0x194)]();if(!_0x8c3b61)return;const _0x2dc098={'workbook':_0x8c3b61,'worksheet':_0x8c3b61[_0x4d0b42(0x172)]()};if(_0x2dc098==null)return;if(this[_0x4d0b42(0x174)](this[_0x4d0b42(0x16e)]['BeforeSheetPrintOpen'],_0x2dc098),_0x2dc098[_0x4d0b42(0x168)])throw new a[(_0x4d0b42(0x18a))]();}})),this[_0x5cc30b(0x160)](this['Event'][_0x5cc30b(0x18c)],()=>_0x424ced[_0x5cc30b(0x17f)](_0x1caddd=>{const _0x426781=_0x5cc30b;if(_0x1caddd['id']===e[_0x426781(0x180)]['id']){const _0x465bc8=_0x51424d[_0x426781(0x18e)](e[_0x426781(0x15d)]);if(!this['getActiveUniverSheet']())return;const _0x3057fa={'layoutConfig':_0x465bc8['layoutConfig'],'renderConfig':_0x465bc8['renderConfig']};if(_0x3057fa==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintConfirm'],_0x3057fa),_0x3057fa[_0x426781(0x168)])throw new a[(_0x426781(0x18a))]();}})),this[_0x5cc30b(0x160)](this['Event']['BeforeSheetPrintCanceled'],()=>_0x424ced[_0x5cc30b(0x17f)](_0x1c69e4=>{const _0x915ca0=_0x5cc30b;if(_0x1c69e4['id']===e['CancelSheetPrintOperation']['id']){const _0x5be68f=_0x51424d[_0x915ca0(0x18e)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x41e63b={'layoutConfig':_0x5be68f['layoutConfig'],'renderConfig':_0x5be68f['renderConfig']};if(_0x41e63b==null)return;if(this['fireEvent'](this[_0x915ca0(0x16e)][_0x915ca0(0x17d)],_0x41e63b),_0x41e63b[_0x915ca0(0x168)])throw new a[(_0x915ca0(0x18a))]();}})),this['registerEventHandler'](this[_0x5cc30b(0x16e)][_0x5cc30b(0x15f)],()=>_0x424ced[_0x5cc30b(0x191)](_0x27066b=>{const _0x337ade=_0x5cc30b;if(_0x27066b['id']===e[_0x337ade(0x16d)]['id']){const _0x137c67=this[_0x337ade(0x194)]();if(!_0x137c67)return;const _0x16fa4f={'workbook':_0x137c67,'worksheet':_0x137c67[_0x337ade(0x172)]()};if(_0x16fa4f==null)return;this[_0x337ade(0x174)](this[_0x337ade(0x16e)][_0x337ade(0x15f)],_0x16fa4f);}})),this[_0x5cc30b(0x160)](this[_0x5cc30b(0x16e)][_0x5cc30b(0x188)],()=>_0x424ced[_0x5cc30b(0x191)](_0x5d2230=>{const _0x3c6514=_0x5cc30b;if(_0x5d2230['id']===e['ConfirmSheetPrintOperation']['id']){const _0x66ada9=_0x51424d[_0x3c6514(0x18e)](e[_0x3c6514(0x15d)]);if(!this[_0x3c6514(0x194)]())return;const _0x565afe={'layoutConfig':_0x66ada9[_0x3c6514(0x186)],'renderConfig':_0x66ada9['renderConfig']};if(_0x565afe==null)return;this[_0x3c6514(0x174)](this['Event'][_0x3c6514(0x188)],_0x565afe);}})),this[_0x5cc30b(0x160)](this[_0x5cc30b(0x16e)][_0x5cc30b(0x195)],()=>_0x424ced['onCommandExecuted'](_0x245335=>{const _0x20ddb0=_0x5cc30b;if(_0x245335['id']===e['CancelSheetPrintOperation']['id']){const _0x5879ec=_0x51424d['get'](e[_0x20ddb0(0x15d)]);if(!this[_0x20ddb0(0x194)]())return;const _0x1587e0={'layoutConfig':_0x5879ec[_0x20ddb0(0x186)],'renderConfig':_0x5879ec[_0x20ddb0(0x17c)]};if(_0x1587e0==null)return;this[_0x20ddb0(0x174)](this[_0x20ddb0(0x16e)]['SheetPrintCanceled'],_0x1587e0);}}));}}g[_0x105653(0x184)][_0x105653(0x15c)](l);
|