@univerjs-pro/sheets-print 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510170942
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 +42 -42
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20ff87=_0x5da7;(function(_0x1244be,_0x5914bb){const _0x38c99a=_0x5da7,_0x1f9899=_0x1244be();while(!![]){try{const _0x4685e4=parseInt(_0x38c99a(0x165))/0x1*(parseInt(_0x38c99a(0x164))/0x2)+-parseInt(_0x38c99a(0x16d))/0x3+parseInt(_0x38c99a(0x182))/0x4+-parseInt(_0x38c99a(0x179))/0x5+-parseInt(_0x38c99a(0x176))/0x6*(parseInt(_0x38c99a(0x178))/0x7)+-parseInt(_0x38c99a(0x170))/0x8*(-parseInt(_0x38c99a(0x154))/0x9)+parseInt(_0x38c99a(0x15f))/0xa*(-parseInt(_0x38c99a(0x159))/0xb);if(_0x4685e4===_0x5914bb)break;else _0x1f9899['push'](_0x1f9899['shift']());}catch(_0x159ad8){_0x1f9899['push'](_0x1f9899['shift']());}}}(_0x557d,0xe73b3));import{ISheetPrintManagerService as _0x4c2607,ConfirmSheetPrintOperation as _0xbb70e1,SheetPrintOpenOperation as _0x5313be,CancelSheetPrintOperation as _0x4ffae4,hasPrintFacadePermission as _0xc8d3c4,SheetScreenShotOperation as _0x2747fc,SheetPrintClientService as _0x19fd94,PrintArea as _0x3c66c4,PrintFreeze as _0x41e948,PrintHeaderFooter as _0x56800d,PrintHeaderFooterSymbol as _0x4364ba}from'@univerjs-pro/sheets-print';import{ICommandService as _0x38d1d9,PaperType as _0x18e57b,CanceledError as _0x2a44a8}from'@univerjs/core';import{FWorkbook as _0x5356c6,FRange as _0x168139}from'@univerjs/sheets/facade';function _0x5da7(_0x54a35e,_0xe19d0b){const _0x557da4=_0x557d();return _0x5da7=function(_0x5da7c8,_0x5923e7){_0x5da7c8=_0x5da7c8-0x14e;let _0x2fc444=_0x557da4[_0x5da7c8];return _0x2fc444;},_0x5da7(_0x54a35e,_0xe19d0b);}import{FEventName as _0x1b8a27,FEnum as _0x404cec,FUniver as _0x111763}from'@univerjs/core/facade';import{PrintAlign as _0xf99f91,PrintPaperMargin as _0x3e8e1c,PrintScale as _0x1b49ea,PrintDirection as _0x386ae7}from'@univerjs-pro/print';class A extends _0x5356c6{[_0x20ff87(0x16e)](_0xea6efc){const _0x1d88b3=_0x20ff87;return this[_0x1d88b3(0x172)][_0x1d88b3(0x16f)](_0x4c2607)[_0x1d88b3(0x17e)](_0xea6efc),this;}[_0x20ff87(0x15d)](_0x30ab60){const _0x19c05c=_0x20ff87;return this[_0x19c05c(0x172)][_0x19c05c(0x16f)](_0x4c2607)[_0x19c05c(0x17b)](_0x30ab60),this;}[_0x20ff87(0x17a)](){const _0x110761=_0x20ff87;return this[_0x110761(0x172)][_0x110761(0x16f)](_0x38d1d9)[_0x110761(0x17f)](_0xbb70e1['id']);}[_0x20ff87(0x158)](){const _0x341aae=_0x20ff87;return this[_0x341aae(0x172)][_0x341aae(0x16f)](_0x38d1d9)['syncExecuteCommand'](_0x5313be['id']);}[_0x20ff87(0x175)](){const _0x490e75=_0x20ff87;return this['_injector'][_0x490e75(0x16f)](_0x38d1d9)[_0x490e75(0x17f)](_0x4ffae4['id']);}async[_0x20ff87(0x163)](){const _0x284dcd=_0x20ff87;return _0xc8d3c4(this[_0x284dcd(0x172)])?this[_0x284dcd(0x172)]['get'](_0x38d1d9)[_0x284dcd(0x181)](_0x2747fc['id']):!0x1;}}_0x5356c6[_0x20ff87(0x173)](A);class B extends _0x168139{[_0x20ff87(0x15c)](){const _0x5cb8a9=_0x20ff87;return _0xc8d3c4(this[_0x5cb8a9(0x172)])?this[_0x5cb8a9(0x172)]['get'](_0x19fd94)['getRangeImage'](this[_0x5cb8a9(0x16b)][_0x5cb8a9(0x177)](),this[_0x5cb8a9(0x16c)][_0x5cb8a9(0x152)](),this['_range']):!0x1;}}_0x168139['extend'](B);class H{get[_0x20ff87(0x161)](){const _0x43e0b7=_0x20ff87;return _0x43e0b7(0x161);}get['BeforeSheetPrintConfirm'](){const _0x4a0d14=_0x20ff87;return _0x4a0d14(0x168);}get['BeforeSheetPrintCanceled'](){const _0x3276d6=_0x20ff87;return _0x3276d6(0x17c);}get['SheetPrintOpen'](){const _0x19989f=_0x20ff87;return _0x19989f(0x153);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x20ff87(0x150)](){const _0x472f8f=_0x20ff87;return _0x472f8f(0x150);}}function _0x557d(){const _0x1d49d1=['_worksheet','476796VgNdZb','updatePrintConfig','get','6747976PmfgQZ','fireEvent','_injector','extend','PrintScale','closePrintDialog','30144fqNBmQ','getUnitId','602UUlAtQ','2015815VspbuH','print','updateRenderConfig','BeforeSheetPrintCanceled','PrintAlign','updateLayoutConfig','syncExecuteCommand','onCommandExecuted','executeCommand','4191616LDsBgX','getActiveSheet','beforeCommandExecuted','PrintFreeze','PrintHeaderFooter','SheetPrintCanceled','layoutConfig','getSheetId','SheetPrintOpen','9klSAdW','getActiveUniverSheet','PrintPaperSize','_initialize','openPrintDialog','275eKJMxY','PrintDirection','SheetPrintConfirmed','getScreenshot','updatePrintRenderConfig','PrintHeaderFooterSymbol','644890DCwjEA','Event','BeforeSheetPrintOpen','renderConfig','saveScreenshotToClipboard','1662106tcXNRw','2ykxtxL','PrintPaperMargin','registerEventHandler','BeforeSheetPrintConfirm','PrintArea','cancel','_workbook'];_0x557d=function(){return _0x1d49d1;};return _0x557d();}_0x1b8a27['extend'](H);class U{get[_0x20ff87(0x169)](){return _0x3c66c4;}get[_0x20ff87(0x17d)](){return _0xf99f91;}get[_0x20ff87(0x156)](){return _0x18e57b;}get[_0x20ff87(0x166)](){return _0x3e8e1c;}get[_0x20ff87(0x174)](){return _0x1b49ea;}get[_0x20ff87(0x15a)](){return _0x386ae7;}get[_0x20ff87(0x14e)](){return _0x41e948;}get[_0x20ff87(0x14f)](){return _0x56800d;}get[_0x20ff87(0x15e)](){return _0x4364ba;}}_0x404cec[_0x20ff87(0x173)](U);class M extends _0x111763{[_0x20ff87(0x157)](_0x2eb0aa){const _0xee3f6f=_0x20ff87,_0x1c987e=_0x2eb0aa[_0xee3f6f(0x16f)](_0x38d1d9);this[_0xee3f6f(0x167)](this[_0xee3f6f(0x160)][_0xee3f6f(0x161)],()=>_0x1c987e[_0xee3f6f(0x184)](_0x18257f=>{const _0xe4732=_0xee3f6f;if(_0x18257f['id']===_0x5313be['id']){const _0x38c60c=this[_0xe4732(0x155)]();if(!_0x38c60c)return;const _0x1ab361={'workbook':_0x38c60c,'worksheet':_0x38c60c[_0xe4732(0x183)]()};if(_0x1ab361==null)return;if(this[_0xe4732(0x171)](this[_0xe4732(0x160)][_0xe4732(0x161)],_0x1ab361),_0x1ab361['cancel'])throw new _0x2a44a8();}})),this[_0xee3f6f(0x167)](this['Event'][_0xee3f6f(0x168)],()=>_0x1c987e[_0xee3f6f(0x184)](_0x336a8b=>{const _0x51d3ea=_0xee3f6f;if(_0x336a8b['id']===_0xbb70e1['id']){const _0x190e1d=_0x2eb0aa[_0x51d3ea(0x16f)](_0x4c2607);if(!this[_0x51d3ea(0x155)]())return;const _0x5d3e8a={'layoutConfig':_0x190e1d[_0x51d3ea(0x151)],'renderConfig':_0x190e1d[_0x51d3ea(0x162)]};if(_0x5d3e8a==null)return;if(this['fireEvent'](this[_0x51d3ea(0x160)]['BeforeSheetPrintConfirm'],_0x5d3e8a),_0x5d3e8a['cancel'])throw new _0x2a44a8();}})),this[_0xee3f6f(0x167)](this[_0xee3f6f(0x160)][_0xee3f6f(0x17c)],()=>_0x1c987e[_0xee3f6f(0x184)](_0x514e3c=>{const _0x2fb4cc=_0xee3f6f;if(_0x514e3c['id']===_0x4ffae4['id']){const _0x4554b2=_0x2eb0aa[_0x2fb4cc(0x16f)](_0x4c2607);if(!this[_0x2fb4cc(0x155)]())return;const _0x203e85={'layoutConfig':_0x4554b2[_0x2fb4cc(0x151)],'renderConfig':_0x4554b2[_0x2fb4cc(0x162)]};if(_0x203e85==null)return;if(this[_0x2fb4cc(0x171)](this[_0x2fb4cc(0x160)][_0x2fb4cc(0x17c)],_0x203e85),_0x203e85[_0x2fb4cc(0x16a)])throw new _0x2a44a8();}})),this[_0xee3f6f(0x167)](this[_0xee3f6f(0x160)]['SheetPrintOpen'],()=>_0x1c987e['onCommandExecuted'](_0x59c040=>{const _0x380f95=_0xee3f6f;if(_0x59c040['id']===_0x5313be['id']){const _0x5456e0=this[_0x380f95(0x155)]();if(!_0x5456e0)return;const _0x4e415c={'workbook':_0x5456e0,'worksheet':_0x5456e0[_0x380f95(0x183)]()};if(_0x4e415c==null)return;this[_0x380f95(0x171)](this[_0x380f95(0x160)][_0x380f95(0x153)],_0x4e415c);}})),this[_0xee3f6f(0x167)](this['Event'][_0xee3f6f(0x15b)],()=>_0x1c987e[_0xee3f6f(0x180)](_0x3c3cec=>{const _0x132d31=_0xee3f6f;if(_0x3c3cec['id']===_0xbb70e1['id']){const _0x32b81d=_0x2eb0aa[_0x132d31(0x16f)](_0x4c2607);if(!this[_0x132d31(0x155)]())return;const _0x2674b9={'layoutConfig':_0x32b81d[_0x132d31(0x151)],'renderConfig':_0x32b81d[_0x132d31(0x162)]};if(_0x2674b9==null)return;this[_0x132d31(0x171)](this['Event'][_0x132d31(0x15b)],_0x2674b9);}})),this[_0xee3f6f(0x167)](this[_0xee3f6f(0x160)][_0xee3f6f(0x150)],()=>_0x1c987e['onCommandExecuted'](_0x1c36b8=>{const _0x397df5=_0xee3f6f;if(_0x1c36b8['id']===_0x4ffae4['id']){const _0x3c5893=_0x2eb0aa['get'](_0x4c2607);if(!this['getActiveUniverSheet']())return;const _0x360c9e={'layoutConfig':_0x3c5893['layoutConfig'],'renderConfig':_0x3c5893[_0x397df5(0x162)]};if(_0x360c9e==null)return;this['fireEvent'](this[_0x397df5(0x160)][_0x397df5(0x150)],_0x360c9e);}}));}}_0x111763[_0x20ff87(0x173)](M);
|