@univerjs-pro/sheets-print 0.10.2 → 0.10.3-nightly.202508121228
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/types/index.d.ts +7 -7
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4703(_0xf110ae,_0x396f00){const _0x1e80e2=_0x1e80();return _0x4703=function(_0x470337,_0x385304){_0x470337=_0x470337-0xaf;let _0x76c9e0=_0x1e80e2[_0x470337];return _0x76c9e0;},_0x4703(_0xf110ae,_0x396f00);}const _0x1b1780=_0x4703;function _0x1e80(){const _0x230fba=['saveScreenshotToClipboard','53625876zyiSpO','extend','getActiveUniverSheet','registerEventHandler','4685508EoDETj','getScreenshot','3300RDNNQJ','Event','30iskqnC','SheetPrintCanceled','BeforeSheetPrintOpen','1306620OFnbjW','PrintAlign','openPrintDialog','renderConfig','updateRenderConfig','PrintScale','PrintHeaderFooterSymbol','beforeCommandExecuted','getSheetId','fireEvent','66425gaKKlJ','getActiveSheet','5xSglXF','26873iNkxlT','layoutConfig','PrintDirection','PrintPaperSize','_workbook','SheetPrintOpen','6421975XfhKKk','cancel','get','getRangeImage','executeCommand','PrintHeaderFooter','_injector','onCommandExecuted','_range','PrintFreeze','syncExecuteCommand','PrintArea','updatePrintConfig','PrintPaperMargin','12aPUVQC','BeforeSheetPrintConfirm','_worksheet','BeforeSheetPrintCanceled','4828764HaxJia','8uGVkZh','SheetPrintConfirmed'];_0x1e80=function(){return _0x230fba;};return _0x1e80();}(function(_0x4fe94d,_0x4db304){const _0x33fc64=_0x4703,_0x1d2099=_0x4fe94d();while(!![]){try{const _0x2bc816=-parseInt(_0x33fc64(0xc8))/0x1*(parseInt(_0x33fc64(0xbb))/0x2)+parseInt(_0x33fc64(0xbe))/0x3*(-parseInt(_0x33fc64(0xdf))/0x4)+-parseInt(_0x33fc64(0xca))/0x5*(-parseInt(_0x33fc64(0xaf))/0x6)+-parseInt(_0x33fc64(0xd1))/0x7+parseInt(_0x33fc64(0xb0))/0x8*(-parseInt(_0x33fc64(0xb7))/0x9)+parseInt(_0x33fc64(0xb9))/0xa*(-parseInt(_0x33fc64(0xcb))/0xb)+parseInt(_0x33fc64(0xb3))/0xc;if(_0x2bc816===_0x4db304)break;else _0x1d2099['push'](_0x1d2099['shift']());}catch(_0xbc324a){_0x1d2099['push'](_0x1d2099['shift']());}}}(_0x1e80,0xb157b));import{ISheetPrintManagerService as _0x11fa71,ConfirmSheetPrintOperation as _0x41c2d4,SheetPrintOpenOperation as _0x38014d,CancelSheetPrintOperation as _0x30ce90,hasPrintFacadePermission as _0x495de9,SheetScreenShotOperation as _0xf445d2,SheetPrintClientService as _0x379d45,PrintArea as _0x2f8d3,PrintFreeze as _0x4071c0,PrintHeaderFooter as _0x17bcdd,PrintHeaderFooterSymbol as _0x266412}from'@univerjs-pro/sheets-print';import{ICommandService as _0x3d693f,PaperType as _0x153397,CanceledError as _0x587416}from'@univerjs/core';import{FWorkbook as _0x192bfe,FRange as _0x43b76d}from'@univerjs/sheets/facade';import{FEventName as _0x4a24f0,FEnum as _0x3ae6c3,FUniver as _0x59cd65}from'@univerjs/core/facade';import{PrintAlign as _0x649103,PrintPaperMargin as _0xb75f87,PrintScale as _0x49be97,PrintDirection as _0x56b91e}from'@univerjs-pro/print';class A extends _0x192bfe{[_0x1b1780(0xdd)](_0x437011){const _0x50b2f8=_0x1b1780;return this['_injector'][_0x50b2f8(0xd3)](_0x11fa71)['updateLayoutConfig'](_0x437011),this;}['updatePrintRenderConfig'](_0x51f9bc){const _0x1f7d27=_0x1b1780;return this['_injector']['get'](_0x11fa71)[_0x1f7d27(0xc2)](_0x51f9bc),this;}['print'](){const _0x3181c4=_0x1b1780;return this[_0x3181c4(0xd7)]['get'](_0x3d693f)[_0x3181c4(0xdb)](_0x41c2d4['id']);}[_0x1b1780(0xc0)](){const _0x545915=_0x1b1780;return this['_injector'][_0x545915(0xd3)](_0x3d693f)[_0x545915(0xdb)](_0x38014d['id']);}['closePrintDialog'](){const _0x5c99e1=_0x1b1780;return this[_0x5c99e1(0xd7)]['get'](_0x3d693f)[_0x5c99e1(0xdb)](_0x30ce90['id']);}async[_0x1b1780(0xb2)](){const _0x221257=_0x1b1780;return _0x495de9(this[_0x221257(0xd7)])?this[_0x221257(0xd7)]['get'](_0x3d693f)[_0x221257(0xd5)](_0xf445d2['id']):!0x1;}}_0x192bfe['extend'](A);class B extends _0x43b76d{[_0x1b1780(0xb8)](){const _0x4cc2c8=_0x1b1780;return _0x495de9(this['_injector'])?this[_0x4cc2c8(0xd7)][_0x4cc2c8(0xd3)](_0x379d45)[_0x4cc2c8(0xd4)](this[_0x4cc2c8(0xcf)]['getUnitId'](),this[_0x4cc2c8(0xe1)][_0x4cc2c8(0xc6)](),this[_0x4cc2c8(0xd9)]):!0x1;}}_0x43b76d[_0x1b1780(0xb4)](B);class H{get[_0x1b1780(0xbd)](){const _0x3d6744=_0x1b1780;return _0x3d6744(0xbd);}get[_0x1b1780(0xe0)](){const _0x1a8bc7=_0x1b1780;return _0x1a8bc7(0xe0);}get[_0x1b1780(0xe2)](){const _0x452584=_0x1b1780;return _0x452584(0xe2);}get[_0x1b1780(0xd0)](){const _0x476231=_0x1b1780;return _0x476231(0xd0);}get[_0x1b1780(0xb1)](){const _0x9fda8b=_0x1b1780;return _0x9fda8b(0xb1);}get[_0x1b1780(0xbc)](){return'SheetPrintCanceled';}}_0x4a24f0['extend'](H);class U{get[_0x1b1780(0xdc)](){return _0x2f8d3;}get[_0x1b1780(0xbf)](){return _0x649103;}get[_0x1b1780(0xce)](){return _0x153397;}get[_0x1b1780(0xde)](){return _0xb75f87;}get[_0x1b1780(0xc3)](){return _0x49be97;}get[_0x1b1780(0xcd)](){return _0x56b91e;}get[_0x1b1780(0xda)](){return _0x4071c0;}get[_0x1b1780(0xd6)](){return _0x17bcdd;}get[_0x1b1780(0xc4)](){return _0x266412;}}_0x3ae6c3['extend'](U);class M extends _0x59cd65{['_initialize'](_0x49e0f0){const _0x7c5b1b=_0x1b1780,_0x4289eb=_0x49e0f0['get'](_0x3d693f);this[_0x7c5b1b(0xb6)](this[_0x7c5b1b(0xba)]['BeforeSheetPrintOpen'],()=>_0x4289eb[_0x7c5b1b(0xc5)](_0x415e1e=>{const _0x1330f3=_0x7c5b1b;if(_0x415e1e['id']===_0x38014d['id']){const _0x51f0d9=this[_0x1330f3(0xb5)]();if(!_0x51f0d9)return;const _0x151b81={'workbook':_0x51f0d9,'worksheet':_0x51f0d9[_0x1330f3(0xc9)]()};if(_0x151b81==null)return;if(this[_0x1330f3(0xc7)](this[_0x1330f3(0xba)][_0x1330f3(0xbd)],_0x151b81),_0x151b81[_0x1330f3(0xd2)])throw new _0x587416();}})),this[_0x7c5b1b(0xb6)](this[_0x7c5b1b(0xba)][_0x7c5b1b(0xe0)],()=>_0x4289eb[_0x7c5b1b(0xc5)](_0x553414=>{const _0xf101e4=_0x7c5b1b;if(_0x553414['id']===_0x41c2d4['id']){const _0x4b6f63=_0x49e0f0[_0xf101e4(0xd3)](_0x11fa71);if(!this['getActiveUniverSheet']())return;const _0x15c031={'layoutConfig':_0x4b6f63['layoutConfig'],'renderConfig':_0x4b6f63['renderConfig']};if(_0x15c031==null)return;if(this['fireEvent'](this[_0xf101e4(0xba)][_0xf101e4(0xe0)],_0x15c031),_0x15c031[_0xf101e4(0xd2)])throw new _0x587416();}})),this[_0x7c5b1b(0xb6)](this[_0x7c5b1b(0xba)][_0x7c5b1b(0xe2)],()=>_0x4289eb[_0x7c5b1b(0xc5)](_0x11354f=>{const _0x28d28c=_0x7c5b1b;if(_0x11354f['id']===_0x30ce90['id']){const _0x658eae=_0x49e0f0[_0x28d28c(0xd3)](_0x11fa71);if(!this['getActiveUniverSheet']())return;const _0xdf3b3e={'layoutConfig':_0x658eae[_0x28d28c(0xcc)],'renderConfig':_0x658eae[_0x28d28c(0xc1)]};if(_0xdf3b3e==null)return;if(this[_0x28d28c(0xc7)](this['Event'][_0x28d28c(0xe2)],_0xdf3b3e),_0xdf3b3e[_0x28d28c(0xd2)])throw new _0x587416();}})),this[_0x7c5b1b(0xb6)](this[_0x7c5b1b(0xba)][_0x7c5b1b(0xd0)],()=>_0x4289eb[_0x7c5b1b(0xd8)](_0x5ffee0=>{const _0x4fd11f=_0x7c5b1b;if(_0x5ffee0['id']===_0x38014d['id']){const _0x8406b9=this[_0x4fd11f(0xb5)]();if(!_0x8406b9)return;const _0x27b8de={'workbook':_0x8406b9,'worksheet':_0x8406b9[_0x4fd11f(0xc9)]()};if(_0x27b8de==null)return;this['fireEvent'](this[_0x4fd11f(0xba)][_0x4fd11f(0xd0)],_0x27b8de);}})),this['registerEventHandler'](this[_0x7c5b1b(0xba)]['SheetPrintConfirmed'],()=>_0x4289eb[_0x7c5b1b(0xd8)](_0x49f507=>{const _0x50982e=_0x7c5b1b;if(_0x49f507['id']===_0x41c2d4['id']){const _0x16adde=_0x49e0f0[_0x50982e(0xd3)](_0x11fa71);if(!this['getActiveUniverSheet']())return;const _0x9fb62a={'layoutConfig':_0x16adde[_0x50982e(0xcc)],'renderConfig':_0x16adde[_0x50982e(0xc1)]};if(_0x9fb62a==null)return;this[_0x50982e(0xc7)](this[_0x50982e(0xba)][_0x50982e(0xb1)],_0x9fb62a);}})),this[_0x7c5b1b(0xb6)](this['Event'][_0x7c5b1b(0xbc)],()=>_0x4289eb[_0x7c5b1b(0xd8)](_0x5bca68=>{const _0x3f289f=_0x7c5b1b;if(_0x5bca68['id']===_0x30ce90['id']){const _0x6faaa7=_0x49e0f0[_0x3f289f(0xd3)](_0x11fa71);if(!this[_0x3f289f(0xb5)]())return;const _0x31af0e={'layoutConfig':_0x6faaa7[_0x3f289f(0xcc)],'renderConfig':_0x6faaa7[_0x3f289f(0xc1)]};if(_0x31af0e==null)return;this[_0x3f289f(0xc7)](this[_0x3f289f(0xba)][_0x3f289f(0xbc)],_0x31af0e);}}));}}_0x59cd65[_0x1b1780(0xb4)](M);
|