@univerjs-pro/sheets-print 0.9.4 → 0.10.0-nightly.202507310307
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 +43 -43
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5e8b0d=_0x5752;(function(_0x2978ed,_0x1a97b6){const _0x840a31=_0x5752,_0x13641e=_0x2978ed();while(!![]){try{const _0x5787f8=-parseInt(_0x840a31(0xc7))/0x1+parseInt(_0x840a31(0xef))/0x2*(parseInt(_0x840a31(0xe7))/0x3)+parseInt(_0x840a31(0xe2))/0x4*(-parseInt(_0x840a31(0xcd))/0x5)+-parseInt(_0x840a31(0xcc))/0x6*(-parseInt(_0x840a31(0xd3))/0x7)+-parseInt(_0x840a31(0xe5))/0x8*(-parseInt(_0x840a31(0xd9))/0x9)+-parseInt(_0x840a31(0xd0))/0xa*(-parseInt(_0x840a31(0xc0))/0xb)+-parseInt(_0x840a31(0xed))/0xc*(-parseInt(_0x840a31(0xea))/0xd);if(_0x5787f8===_0x1a97b6)break;else _0x13641e['push'](_0x13641e['shift']());}catch(_0x4de327){_0x13641e['push'](_0x13641e['shift']());}}}(_0xc6af,0x76318));import{ISheetPrintManagerService as _0x5d0310,ConfirmSheetPrintOperation as _0x15c377,SheetPrintOpenOperation as _0x5140c9,CancelSheetPrintOperation as _0x4a5e61,hasPrintFacadePermission as _0x5867ed,SheetScreenShotOperation as _0x4d35c3,SheetPrintClientService as _0xc32d88,PrintArea as _0x4fbb19,PrintFreeze as _0x50ca0d,PrintHeaderFooter as _0x3a93c6,PrintHeaderFooterSymbol as _0x402725}from'@univerjs-pro/sheets-print';import{ICommandService as _0x178729,PaperType as _0x5aa917,CanceledError as _0x31cca2}from'@univerjs/core';import{FWorkbook as _0x3fbfbb,FRange as _0x127115}from'@univerjs/sheets/facade';import{FEventName as _0x14b39e,FEnum as _0x52f2dd,FUniver as _0x5f258c}from'@univerjs/core/facade';import{PrintAlign as _0x34d354,PrintPaperMargin as _0x3d7f93,PrintScale as _0x2bab95,PrintDirection as _0x55c3a9}from'@univerjs-pro/print';class A extends _0x3fbfbb{[_0x5e8b0d(0xce)](_0x5f26f5){const _0xa00fa5=_0x5e8b0d;return this['_injector'][_0xa00fa5(0xe8)](_0x5d0310)[_0xa00fa5(0xf0)](_0x5f26f5),this;}['updatePrintRenderConfig'](_0x20ea29){const _0x1680d1=_0x5e8b0d;return this[_0x1680d1(0xe3)][_0x1680d1(0xe8)](_0x5d0310)['updateRenderConfig'](_0x20ea29),this;}[_0x5e8b0d(0xd1)](){const _0x51722e=_0x5e8b0d;return this[_0x51722e(0xe3)]['get'](_0x178729)[_0x51722e(0xde)](_0x15c377['id']);}[_0x5e8b0d(0xc1)](){const _0x38bff8=_0x5e8b0d;return this[_0x38bff8(0xe3)][_0x38bff8(0xe8)](_0x178729)['syncExecuteCommand'](_0x5140c9['id']);}[_0x5e8b0d(0xbd)](){const _0xce44fc=_0x5e8b0d;return this[_0xce44fc(0xe3)]['get'](_0x178729)[_0xce44fc(0xde)](_0x4a5e61['id']);}async[_0x5e8b0d(0xeb)](){const _0x290604=_0x5e8b0d;return _0x5867ed(this['_injector'])?this[_0x290604(0xe3)][_0x290604(0xe8)](_0x178729)[_0x290604(0xd6)](_0x4d35c3['id']):!0x1;}}_0x3fbfbb[_0x5e8b0d(0xe9)](A);function _0x5752(_0x29ad08,_0x30b07f){const _0xc6afbd=_0xc6af();return _0x5752=function(_0x5752b4,_0x206208){_0x5752b4=_0x5752b4-0xbc;let _0x3ff8e4=_0xc6afbd[_0x5752b4];return _0x3ff8e4;},_0x5752(_0x29ad08,_0x30b07f);}class B extends _0x127115{[_0x5e8b0d(0xd2)](){const _0x56254a=_0x5e8b0d;return _0x5867ed(this[_0x56254a(0xe3)])?this[_0x56254a(0xe3)][_0x56254a(0xe8)](_0xc32d88)['getRangeImage'](this[_0x56254a(0xee)]['getUnitId'](),this[_0x56254a(0xcb)][_0x56254a(0xca)](),this[_0x56254a(0xc9)]):!0x1;}}_0x127115['extend'](B);class H{get[_0x5e8b0d(0xe0)](){return'BeforeSheetPrintOpen';}get[_0x5e8b0d(0xc2)](){const _0x3b9b92=_0x5e8b0d;return _0x3b9b92(0xc2);}get['BeforeSheetPrintCanceled'](){const _0x2c75ec=_0x5e8b0d;return _0x2c75ec(0xc5);}get[_0x5e8b0d(0xda)](){const _0x23861b=_0x5e8b0d;return _0x23861b(0xda);}get[_0x5e8b0d(0xe6)](){const _0x5b7224=_0x5e8b0d;return _0x5b7224(0xe6);}get[_0x5e8b0d(0xbf)](){const _0x4dab22=_0x5e8b0d;return _0x4dab22(0xbf);}}_0x14b39e['extend'](H);class U{get[_0x5e8b0d(0xdb)](){return _0x4fbb19;}get['PrintAlign'](){return _0x34d354;}get[_0x5e8b0d(0xe4)](){return _0x5aa917;}get[_0x5e8b0d(0xdf)](){return _0x3d7f93;}get[_0x5e8b0d(0xec)](){return _0x2bab95;}get[_0x5e8b0d(0xcf)](){return _0x55c3a9;}get[_0x5e8b0d(0xbe)](){return _0x50ca0d;}get[_0x5e8b0d(0xbc)](){return _0x3a93c6;}get[_0x5e8b0d(0xd5)](){return _0x402725;}}_0x52f2dd[_0x5e8b0d(0xe9)](U);class M extends _0x5f258c{[_0x5e8b0d(0xd4)](_0x238d45){const _0x5ad5c1=_0x5e8b0d,_0x4cdacc=_0x238d45[_0x5ad5c1(0xe8)](_0x178729);this[_0x5ad5c1(0xdd)](this[_0x5ad5c1(0xc4)]['BeforeSheetPrintOpen'],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x1d445e=>{const _0x2001e1=_0x5ad5c1;if(_0x1d445e['id']===_0x5140c9['id']){const _0x2caaed=this[_0x2001e1(0xc6)]();if(!_0x2caaed)return;const _0x8b8099={'workbook':_0x2caaed,'worksheet':_0x2caaed['getActiveSheet']()};if(_0x8b8099==null)return;if(this[_0x2001e1(0xd7)](this[_0x2001e1(0xc4)][_0x2001e1(0xe0)],_0x8b8099),_0x8b8099[_0x2001e1(0xdc)])throw new _0x31cca2();}})),this[_0x5ad5c1(0xdd)](this[_0x5ad5c1(0xc4)][_0x5ad5c1(0xc2)],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x2d5857=>{const _0x5d9e9a=_0x5ad5c1;if(_0x2d5857['id']===_0x15c377['id']){const _0x1cccba=_0x238d45[_0x5d9e9a(0xe8)](_0x5d0310);if(!this[_0x5d9e9a(0xc6)]())return;const _0x39c442={'layoutConfig':_0x1cccba[_0x5d9e9a(0xd8)],'renderConfig':_0x1cccba[_0x5d9e9a(0xe1)]};if(_0x39c442==null)return;if(this['fireEvent'](this[_0x5d9e9a(0xc4)][_0x5d9e9a(0xc2)],_0x39c442),_0x39c442[_0x5d9e9a(0xdc)])throw new _0x31cca2();}})),this[_0x5ad5c1(0xdd)](this['Event'][_0x5ad5c1(0xc5)],()=>_0x4cdacc[_0x5ad5c1(0xc3)](_0x27adf5=>{const _0x5b382f=_0x5ad5c1;if(_0x27adf5['id']===_0x4a5e61['id']){const _0x14c84b=_0x238d45['get'](_0x5d0310);if(!this[_0x5b382f(0xc6)]())return;const _0x5ea5f9={'layoutConfig':_0x14c84b['layoutConfig'],'renderConfig':_0x14c84b[_0x5b382f(0xe1)]};if(_0x5ea5f9==null)return;if(this[_0x5b382f(0xd7)](this[_0x5b382f(0xc4)][_0x5b382f(0xc5)],_0x5ea5f9),_0x5ea5f9[_0x5b382f(0xdc)])throw new _0x31cca2();}})),this['registerEventHandler'](this['Event'][_0x5ad5c1(0xda)],()=>_0x4cdacc[_0x5ad5c1(0xc8)](_0x589572=>{const _0x3cdb71=_0x5ad5c1;if(_0x589572['id']===_0x5140c9['id']){const _0x514839=this[_0x3cdb71(0xc6)]();if(!_0x514839)return;const _0x14fd44={'workbook':_0x514839,'worksheet':_0x514839['getActiveSheet']()};if(_0x14fd44==null)return;this['fireEvent'](this[_0x3cdb71(0xc4)][_0x3cdb71(0xda)],_0x14fd44);}})),this['registerEventHandler'](this[_0x5ad5c1(0xc4)]['SheetPrintConfirmed'],()=>_0x4cdacc['onCommandExecuted'](_0x31fa0f=>{const _0x3fa878=_0x5ad5c1;if(_0x31fa0f['id']===_0x15c377['id']){const _0x3ae2f3=_0x238d45[_0x3fa878(0xe8)](_0x5d0310);if(!this[_0x3fa878(0xc6)]())return;const _0x154dbc={'layoutConfig':_0x3ae2f3[_0x3fa878(0xd8)],'renderConfig':_0x3ae2f3[_0x3fa878(0xe1)]};if(_0x154dbc==null)return;this[_0x3fa878(0xd7)](this[_0x3fa878(0xc4)][_0x3fa878(0xe6)],_0x154dbc);}})),this[_0x5ad5c1(0xdd)](this['Event'][_0x5ad5c1(0xbf)],()=>_0x4cdacc['onCommandExecuted'](_0x1d7c85=>{const _0x2f738a=_0x5ad5c1;if(_0x1d7c85['id']===_0x4a5e61['id']){const _0x560f2d=_0x238d45['get'](_0x5d0310);if(!this[_0x2f738a(0xc6)]())return;const _0x18ddf8={'layoutConfig':_0x560f2d['layoutConfig'],'renderConfig':_0x560f2d[_0x2f738a(0xe1)]};if(_0x18ddf8==null)return;this[_0x2f738a(0xd7)](this[_0x2f738a(0xc4)][_0x2f738a(0xbf)],_0x18ddf8);}}));}}_0x5f258c['extend'](M);function _0xc6af(){const _0x5ee19f=['updateLayoutConfig','PrintHeaderFooter','closePrintDialog','PrintFreeze','SheetPrintCanceled','11MCMzpE','openPrintDialog','BeforeSheetPrintConfirm','beforeCommandExecuted','Event','BeforeSheetPrintCanceled','getActiveUniverSheet','960666BlodEc','onCommandExecuted','_range','getSheetId','_worksheet','12ejWeOa','210835UdHccs','updatePrintConfig','PrintDirection','614260IcbKtG','print','getScreenshot','396515vQUsuh','_initialize','PrintHeaderFooterSymbol','executeCommand','fireEvent','layoutConfig','12798KggoIm','SheetPrintOpen','PrintArea','cancel','registerEventHandler','syncExecuteCommand','PrintPaperMargin','BeforeSheetPrintOpen','renderConfig','52JjjPIt','_injector','PrintPaperSize','712JkOKKr','SheetPrintConfirmed','304230cWbbiv','get','extend','14081899YQLOTP','saveScreenshotToClipboard','PrintScale','12tgknPk','_workbook','12MmVdPi'];_0xc6af=function(){return _0x5ee19f;};return _0xc6af();}
|