@univerjs-pro/sheets-print 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256
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 +14 -14
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x36adb2=_0x4449;function _0x4449(_0x429e3b,_0x21ce72){const _0x249348=_0x2493();return _0x4449=function(_0x4449ab,_0x1dd48d){_0x4449ab=_0x4449ab-0x171;let _0x37cbd8=_0x249348[_0x4449ab];return _0x37cbd8;},_0x4449(_0x429e3b,_0x21ce72);}(function(_0x367d65,_0x4ce023){const _0x563944=_0x4449,_0x5e822b=_0x367d65();while(!![]){try{const _0x5a0233=parseInt(_0x563944(0x186))/0x1*(-parseInt(_0x563944(0x185))/0x2)+parseInt(_0x563944(0x17e))/0x3*(-parseInt(_0x563944(0x17b))/0x4)+parseInt(_0x563944(0x17c))/0x5*(parseInt(_0x563944(0x19a))/0x6)+parseInt(_0x563944(0x191))/0x7+-parseInt(_0x563944(0x18c))/0x8*(parseInt(_0x563944(0x188))/0x9)+-parseInt(_0x563944(0x194))/0xa+parseInt(_0x563944(0x19c))/0xb;if(_0x5a0233===_0x4ce023)break;else _0x5e822b['push'](_0x5e822b['shift']());}catch(_0x165ce5){_0x5e822b['push'](_0x5e822b['shift']());}}}(_0x2493,0x29060));import{ISheetPrintManagerService as _0x2a666b,ConfirmSheetPrintOperation as _0xcd0fef,SheetPrintOpenOperation as _0x1db403,CancelSheetPrintOperation as _0xe25d0b,hasPrintFacadePermission as _0x181d41,SheetScreenShotOperation as _0x285db3,SheetPrintClientService as _0x409ce4,PrintArea as _0x3b9815,PrintFreeze as _0x92bee3,PrintHeaderFooter as _0x241fab,PrintHeaderFooterSymbol as _0x85de48}from'@univerjs-pro/sheets-print';import{ICommandService as _0x322363,PaperType as _0x2bb113,CanceledError as _0x7bd633}from'@univerjs/core';import{FWorkbook as _0x5056f5,FRange as _0x4067c3}from'@univerjs/sheets/facade';import{FEventName as _0x23b16a,FEnum as _0x88b597,FUniver as _0x1d1fbf}from'@univerjs/core/facade';import{PrintAlign as _0x30e9cd,PrintPaperMargin as _0x176644,PrintScale as _0x3fae0c,PrintDirection as _0x5d0394}from'@univerjs-pro/print';class A extends _0x5056f5{['updatePrintConfig'](_0x4d1b94){const _0x5ddd9e=_0x4449;return this[_0x5ddd9e(0x182)]['get'](_0x2a666b)[_0x5ddd9e(0x196)](_0x4d1b94),this;}[_0x36adb2(0x1a1)](_0x3fe5bb){const _0x39645c=_0x36adb2;return this[_0x39645c(0x182)][_0x39645c(0x1a4)](_0x2a666b)[_0x39645c(0x198)](_0x3fe5bb),this;}[_0x36adb2(0x190)](){const _0x291105=_0x36adb2;return this[_0x291105(0x182)][_0x291105(0x1a4)](_0x322363)['syncExecuteCommand'](_0xcd0fef['id']);}[_0x36adb2(0x189)](){const _0x9f05a3=_0x36adb2;return this[_0x9f05a3(0x182)][_0x9f05a3(0x1a4)](_0x322363)[_0x9f05a3(0x177)](_0x1db403['id']);}[_0x36adb2(0x183)](){const _0x1abf66=_0x36adb2;return this[_0x1abf66(0x182)][_0x1abf66(0x1a4)](_0x322363)[_0x1abf66(0x177)](_0xe25d0b['id']);}async['saveScreenshotToClipboard'](){const _0x4d274e=_0x36adb2;return _0x181d41(this['_injector'])?this[_0x4d274e(0x182)][_0x4d274e(0x1a4)](_0x322363)['executeCommand'](_0x285db3['id']):!0x1;}}_0x5056f5['extend'](A);class B extends _0x4067c3{[_0x36adb2(0x193)](){const _0x13a161=_0x36adb2;return _0x181d41(this[_0x13a161(0x182)])?this[_0x13a161(0x182)][_0x13a161(0x1a4)](_0x409ce4)['getRangeImage'](this[_0x13a161(0x17f)][_0x13a161(0x18e)](),this[_0x13a161(0x1a2)][_0x13a161(0x174)](),this[_0x13a161(0x18f)]):!0x1;}}_0x4067c3[_0x36adb2(0x197)](B);class H{get[_0x36adb2(0x19d)](){const _0x165f26=_0x36adb2;return _0x165f26(0x19d);}get[_0x36adb2(0x199)](){const _0x25224f=_0x36adb2;return _0x25224f(0x199);}get[_0x36adb2(0x178)](){const _0x58f366=_0x36adb2;return _0x58f366(0x178);}get[_0x36adb2(0x179)](){return'SheetPrintOpen';}get[_0x36adb2(0x19b)](){const _0x8d6332=_0x36adb2;return _0x8d6332(0x19b);}get[_0x36adb2(0x192)](){return'SheetPrintCanceled';}}_0x23b16a[_0x36adb2(0x197)](H);function _0x2493(){const _0x4dea51=['extend','updateRenderConfig','BeforeSheetPrintConfirm','42xOPBea','SheetPrintConfirmed','8291063QJrdXL','BeforeSheetPrintOpen','PrintDirection','PrintAlign','getActiveUniverSheet','updatePrintRenderConfig','_worksheet','PrintPaperSize','get','getActiveSheet','onCommandExecuted','fireEvent','getSheetId','PrintFreeze','PrintArea','syncExecuteCommand','BeforeSheetPrintCanceled','SheetPrintOpen','Event','8pIhMEb','92755DdhmcI','renderConfig','424752eDXkUH','_workbook','_initialize','cancel','_injector','closePrintDialog','layoutConfig','122818jFboDC','5dgCLsX','beforeCommandExecuted','9FnNUXv','openPrintDialog','PrintScale','registerEventHandler','2219968CzYdDQ','PrintPaperMargin','getUnitId','_range','print','2086434UDnYgc','SheetPrintCanceled','getScreenshot','1459110QOJrqY','PrintHeaderFooterSymbol','updateLayoutConfig'];_0x2493=function(){return _0x4dea51;};return _0x2493();}class U{get[_0x36adb2(0x176)](){return _0x3b9815;}get[_0x36adb2(0x19f)](){return _0x30e9cd;}get[_0x36adb2(0x1a3)](){return _0x2bb113;}get[_0x36adb2(0x18d)](){return _0x176644;}get[_0x36adb2(0x18a)](){return _0x3fae0c;}get[_0x36adb2(0x19e)](){return _0x5d0394;}get[_0x36adb2(0x175)](){return _0x92bee3;}get['PrintHeaderFooter'](){return _0x241fab;}get[_0x36adb2(0x195)](){return _0x85de48;}}_0x88b597['extend'](U);class M extends _0x1d1fbf{[_0x36adb2(0x180)](_0x80afb0){const _0xd90724=_0x36adb2,_0x436aed=_0x80afb0[_0xd90724(0x1a4)](_0x322363);this[_0xd90724(0x18b)](this['Event']['BeforeSheetPrintOpen'],()=>_0x436aed[_0xd90724(0x187)](_0x2f5cef=>{const _0x34aec7=_0xd90724;if(_0x2f5cef['id']===_0x1db403['id']){const _0x4c9418=this[_0x34aec7(0x1a0)]();if(!_0x4c9418)return;const _0x3ac22c={'workbook':_0x4c9418,'worksheet':_0x4c9418[_0x34aec7(0x171)]()};if(_0x3ac22c==null)return;if(this[_0x34aec7(0x173)](this['Event'][_0x34aec7(0x19d)],_0x3ac22c),_0x3ac22c[_0x34aec7(0x181)])throw new _0x7bd633();}})),this[_0xd90724(0x18b)](this[_0xd90724(0x17a)][_0xd90724(0x199)],()=>_0x436aed[_0xd90724(0x187)](_0x5bb9e0=>{const _0x4fdffe=_0xd90724;if(_0x5bb9e0['id']===_0xcd0fef['id']){const _0x1bd186=_0x80afb0[_0x4fdffe(0x1a4)](_0x2a666b);if(!this[_0x4fdffe(0x1a0)]())return;const _0x448ea3={'layoutConfig':_0x1bd186['layoutConfig'],'renderConfig':_0x1bd186[_0x4fdffe(0x17d)]};if(_0x448ea3==null)return;if(this['fireEvent'](this[_0x4fdffe(0x17a)][_0x4fdffe(0x199)],_0x448ea3),_0x448ea3[_0x4fdffe(0x181)])throw new _0x7bd633();}})),this[_0xd90724(0x18b)](this['Event'][_0xd90724(0x178)],()=>_0x436aed['beforeCommandExecuted'](_0x22f0f9=>{const _0x51746d=_0xd90724;if(_0x22f0f9['id']===_0xe25d0b['id']){const _0x225150=_0x80afb0[_0x51746d(0x1a4)](_0x2a666b);if(!this[_0x51746d(0x1a0)]())return;const _0x23bcde={'layoutConfig':_0x225150['layoutConfig'],'renderConfig':_0x225150[_0x51746d(0x17d)]};if(_0x23bcde==null)return;if(this['fireEvent'](this[_0x51746d(0x17a)][_0x51746d(0x178)],_0x23bcde),_0x23bcde['cancel'])throw new _0x7bd633();}})),this[_0xd90724(0x18b)](this[_0xd90724(0x17a)][_0xd90724(0x179)],()=>_0x436aed[_0xd90724(0x172)](_0x3088cb=>{const _0x7c753d=_0xd90724;if(_0x3088cb['id']===_0x1db403['id']){const _0x56306a=this['getActiveUniverSheet']();if(!_0x56306a)return;const _0x44da38={'workbook':_0x56306a,'worksheet':_0x56306a[_0x7c753d(0x171)]()};if(_0x44da38==null)return;this[_0x7c753d(0x173)](this[_0x7c753d(0x17a)][_0x7c753d(0x179)],_0x44da38);}})),this[_0xd90724(0x18b)](this[_0xd90724(0x17a)]['SheetPrintConfirmed'],()=>_0x436aed['onCommandExecuted'](_0x41fcfe=>{const _0x27828b=_0xd90724;if(_0x41fcfe['id']===_0xcd0fef['id']){const _0xc4d0b9=_0x80afb0[_0x27828b(0x1a4)](_0x2a666b);if(!this['getActiveUniverSheet']())return;const _0x534d8d={'layoutConfig':_0xc4d0b9[_0x27828b(0x184)],'renderConfig':_0xc4d0b9['renderConfig']};if(_0x534d8d==null)return;this[_0x27828b(0x173)](this[_0x27828b(0x17a)]['SheetPrintConfirmed'],_0x534d8d);}})),this[_0xd90724(0x18b)](this[_0xd90724(0x17a)][_0xd90724(0x192)],()=>_0x436aed['onCommandExecuted'](_0x3a8224=>{const _0x18252c=_0xd90724;if(_0x3a8224['id']===_0xe25d0b['id']){const _0x17d37f=_0x80afb0[_0x18252c(0x1a4)](_0x2a666b);if(!this['getActiveUniverSheet']())return;const _0x5568f2={'layoutConfig':_0x17d37f[_0x18252c(0x184)],'renderConfig':_0x17d37f[_0x18252c(0x17d)]};if(_0x5568f2==null)return;this[_0x18252c(0x173)](this[_0x18252c(0x17a)][_0x18252c(0x192)],_0x5568f2);}}));}}_0x1d1fbf[_0x36adb2(0x197)](M);
|