@univerjs-pro/sheets-print 0.10.13 → 0.10.14-nightly.202511031023
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 +41 -41
- 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 +16 -16
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x42cc(){const _0x3a6ee2=['_injector','fireEvent','PrintArea','116814CbRmOe','_workbook','getRangeImage','4CQOxqN','_worksheet','get','registerEventHandler','1CpzXrA','getActiveUniverSheet','renderConfig','updateLayoutConfig','getScreenshot','PrintHeaderFooter','getSheetId','SheetPrintOpen','60OZqzlQ','BeforeSheetPrintConfirm','cancel','6142257JooRtG','PrintScale','getUnitId','344rzqeVD','12096528AScZUq','layoutConfig','PrintDirection','PrintPaperSize','SheetPrintConfirmed','46039yWqKbL','onCommandExecuted','print','beforeCommandExecuted','595162zrbCCc','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','updateRenderConfig','PrintFreeze','SheetPrintCanceled','saveScreenshotToClipboard','230SGXIEF','198735quuVZl','PrintAlign','syncExecuteCommand','closePrintDialog','_range','extend','376119FMheAI','_initialize','getActiveSheet','Event'];_0x42cc=function(){return _0x3a6ee2;};return _0x42cc();}const _0x4b619e=_0x338e;(function(_0x76c7c4,_0x3c1bfd){const _0x27cc1d=_0x338e,_0xbc539b=_0x76c7c4();while(!![]){try{const _0x3fbd00=parseInt(_0x27cc1d(0xe2))/0x1*(parseInt(_0x27cc1d(0xfa))/0x2)+parseInt(_0x27cc1d(0x102))/0x3*(parseInt(_0x27cc1d(0x112))/0x4)+-parseInt(_0x27cc1d(0x101))/0x5*(parseInt(_0x27cc1d(0x10f))/0x6)+-parseInt(_0x27cc1d(0xf6))/0x7*(-parseInt(_0x27cc1d(0xf0))/0x8)+parseInt(_0x27cc1d(0x108))/0x9*(parseInt(_0x27cc1d(0xea))/0xa)+-parseInt(_0x27cc1d(0xed))/0xb+parseInt(_0x27cc1d(0xf1))/0xc;if(_0x3fbd00===_0x3c1bfd)break;else _0xbc539b['push'](_0xbc539b['shift']());}catch(_0x5108e6){_0xbc539b['push'](_0xbc539b['shift']());}}}(_0x42cc,0x6e38a));import{ISheetPrintManagerService as _0x25c02f,ConfirmSheetPrintOperation as _0x3e44a9,SheetPrintOpenOperation as _0x2a2747,CancelSheetPrintOperation as _0x2b4ba9,hasPrintFacadePermission as _0x2d06e0,SheetScreenShotOperation as _0x27b989,SheetPrintClientService as _0x435446,PrintArea as _0x108704,PrintFreeze as _0x5ca4a0,PrintHeaderFooter as _0x575b89,PrintHeaderFooterSymbol as _0x3f540b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x23a598,PaperType as _0xe2bccb,CanceledError as _0x6d1728}from'@univerjs/core';import{FWorkbook as _0x2a3780,FRange as _0x58d49a}from'@univerjs/sheets/facade';import{FEventName as _0x2443e8,FEnum as _0x233b14,FUniver as _0x4b4353}from'@univerjs/core/facade';import{PrintAlign as _0x41c079,PrintPaperMargin as _0x15d200,PrintScale as _0x30f75e,PrintDirection as _0x5970de}from'@univerjs-pro/print';class A extends _0x2a3780{['updatePrintConfig'](_0x5c3ed5){const _0x25915e=_0x338e;return this[_0x25915e(0x10c)][_0x25915e(0x114)](_0x25c02f)[_0x25915e(0xe5)](_0x5c3ed5),this;}['updatePrintRenderConfig'](_0x3bf3ba){const _0x473e98=_0x338e;return this['_injector'][_0x473e98(0x114)](_0x25c02f)[_0x473e98(0xfd)](_0x3bf3ba),this;}[_0x4b619e(0xf8)](){const _0x3730cf=_0x4b619e;return this['_injector'][_0x3730cf(0x114)](_0x23a598)['syncExecuteCommand'](_0x3e44a9['id']);}['openPrintDialog'](){const _0x4c79a4=_0x4b619e;return this[_0x4c79a4(0x10c)][_0x4c79a4(0x114)](_0x23a598)[_0x4c79a4(0x104)](_0x2a2747['id']);}[_0x4b619e(0x105)](){const _0x3eb6b9=_0x4b619e;return this[_0x3eb6b9(0x10c)][_0x3eb6b9(0x114)](_0x23a598)[_0x3eb6b9(0x104)](_0x2b4ba9['id']);}async[_0x4b619e(0x100)](){const _0x3d24c0=_0x4b619e;return _0x2d06e0(this['_injector'])?this['_injector'][_0x3d24c0(0x114)](_0x23a598)['executeCommand'](_0x27b989['id']):!0x1;}}_0x2a3780[_0x4b619e(0x107)](A);class B extends _0x58d49a{[_0x4b619e(0xe6)](){const _0x10e356=_0x4b619e;return _0x2d06e0(this['_injector'])?this[_0x10e356(0x10c)][_0x10e356(0x114)](_0x435446)[_0x10e356(0x111)](this[_0x10e356(0x110)][_0x10e356(0xef)](),this[_0x10e356(0x113)][_0x10e356(0xe8)](),this[_0x10e356(0x106)]):!0x1;}}function _0x338e(_0x3bbc6b,_0x4ba218){const _0x42cc25=_0x42cc();return _0x338e=function(_0x338ebb,_0x524781){_0x338ebb=_0x338ebb-0xe2;let _0x34478e=_0x42cc25[_0x338ebb];return _0x34478e;},_0x338e(_0x3bbc6b,_0x4ba218);}_0x58d49a[_0x4b619e(0x107)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x4b619e(0xeb)](){const _0x316645=_0x4b619e;return _0x316645(0xeb);}get[_0x4b619e(0xfb)](){const _0x28fc69=_0x4b619e;return _0x28fc69(0xfb);}get[_0x4b619e(0xe9)](){const _0x4d6622=_0x4b619e;return _0x4d6622(0xe9);}get['SheetPrintConfirmed'](){const _0x58d409=_0x4b619e;return _0x58d409(0xf5);}get[_0x4b619e(0xff)](){return'SheetPrintCanceled';}}_0x2443e8[_0x4b619e(0x107)](H);class U{get[_0x4b619e(0x10e)](){return _0x108704;}get[_0x4b619e(0x103)](){return _0x41c079;}get[_0x4b619e(0xf4)](){return _0xe2bccb;}get['PrintPaperMargin'](){return _0x15d200;}get[_0x4b619e(0xee)](){return _0x30f75e;}get[_0x4b619e(0xf3)](){return _0x5970de;}get[_0x4b619e(0xfe)](){return _0x5ca4a0;}get[_0x4b619e(0xe7)](){return _0x575b89;}get[_0x4b619e(0xfc)](){return _0x3f540b;}}_0x233b14[_0x4b619e(0x107)](U);class M extends _0x4b4353{[_0x4b619e(0x109)](_0x57507f){const _0x19a11e=_0x4b619e,_0xba527b=_0x57507f[_0x19a11e(0x114)](_0x23a598);this['registerEventHandler'](this[_0x19a11e(0x10b)]['BeforeSheetPrintOpen'],()=>_0xba527b[_0x19a11e(0xf9)](_0x444f46=>{const _0x5a882f=_0x19a11e;if(_0x444f46['id']===_0x2a2747['id']){const _0x220007=this[_0x5a882f(0xe3)]();if(!_0x220007)return;const _0x483124={'workbook':_0x220007,'worksheet':_0x220007[_0x5a882f(0x10a)]()};if(_0x483124==null)return;if(this[_0x5a882f(0x10d)](this[_0x5a882f(0x10b)]['BeforeSheetPrintOpen'],_0x483124),_0x483124[_0x5a882f(0xec)])throw new _0x6d1728();}})),this['registerEventHandler'](this['Event'][_0x19a11e(0xeb)],()=>_0xba527b[_0x19a11e(0xf9)](_0x852aa7=>{const _0x3ea8a9=_0x19a11e;if(_0x852aa7['id']===_0x3e44a9['id']){const _0x5d15f0=_0x57507f[_0x3ea8a9(0x114)](_0x25c02f);if(!this[_0x3ea8a9(0xe3)]())return;const _0x42af07={'layoutConfig':_0x5d15f0[_0x3ea8a9(0xf2)],'renderConfig':_0x5d15f0[_0x3ea8a9(0xe4)]};if(_0x42af07==null)return;if(this[_0x3ea8a9(0x10d)](this[_0x3ea8a9(0x10b)][_0x3ea8a9(0xeb)],_0x42af07),_0x42af07[_0x3ea8a9(0xec)])throw new _0x6d1728();}})),this[_0x19a11e(0x115)](this[_0x19a11e(0x10b)][_0x19a11e(0xfb)],()=>_0xba527b['beforeCommandExecuted'](_0x35a9ea=>{const _0x2bb23e=_0x19a11e;if(_0x35a9ea['id']===_0x2b4ba9['id']){const _0x1bade7=_0x57507f['get'](_0x25c02f);if(!this[_0x2bb23e(0xe3)]())return;const _0x736496={'layoutConfig':_0x1bade7['layoutConfig'],'renderConfig':_0x1bade7[_0x2bb23e(0xe4)]};if(_0x736496==null)return;if(this[_0x2bb23e(0x10d)](this[_0x2bb23e(0x10b)][_0x2bb23e(0xfb)],_0x736496),_0x736496[_0x2bb23e(0xec)])throw new _0x6d1728();}})),this[_0x19a11e(0x115)](this[_0x19a11e(0x10b)][_0x19a11e(0xe9)],()=>_0xba527b[_0x19a11e(0xf7)](_0x350f1a=>{const _0x55fd2a=_0x19a11e;if(_0x350f1a['id']===_0x2a2747['id']){const _0x5c21cb=this[_0x55fd2a(0xe3)]();if(!_0x5c21cb)return;const _0x4e8d86={'workbook':_0x5c21cb,'worksheet':_0x5c21cb['getActiveSheet']()};if(_0x4e8d86==null)return;this[_0x55fd2a(0x10d)](this[_0x55fd2a(0x10b)][_0x55fd2a(0xe9)],_0x4e8d86);}})),this['registerEventHandler'](this[_0x19a11e(0x10b)]['SheetPrintConfirmed'],()=>_0xba527b[_0x19a11e(0xf7)](_0x3409dd=>{const _0x45b7ad=_0x19a11e;if(_0x3409dd['id']===_0x3e44a9['id']){const _0x5d83ba=_0x57507f[_0x45b7ad(0x114)](_0x25c02f);if(!this[_0x45b7ad(0xe3)]())return;const _0xc0b5b={'layoutConfig':_0x5d83ba['layoutConfig'],'renderConfig':_0x5d83ba[_0x45b7ad(0xe4)]};if(_0xc0b5b==null)return;this['fireEvent'](this[_0x45b7ad(0x10b)]['SheetPrintConfirmed'],_0xc0b5b);}})),this[_0x19a11e(0x115)](this['Event'][_0x19a11e(0xff)],()=>_0xba527b[_0x19a11e(0xf7)](_0x3d5f86=>{const _0x44c3cc=_0x19a11e;if(_0x3d5f86['id']===_0x2b4ba9['id']){const _0x384e97=_0x57507f[_0x44c3cc(0x114)](_0x25c02f);if(!this[_0x44c3cc(0xe3)]())return;const _0x1bf1b1={'layoutConfig':_0x384e97['layoutConfig'],'renderConfig':_0x384e97[_0x44c3cc(0xe4)]};if(_0x1bf1b1==null)return;this['fireEvent'](this[_0x44c3cc(0x10b)][_0x44c3cc(0xff)],_0x1bf1b1);}}));}}_0x4b4353[_0x4b619e(0x107)](M);
|