@univerjs-pro/sheets-print 0.10.2 → 0.10.3-experimental.20250812-b4b6f1a
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 +38 -38
- 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/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x240ef6=_0x5903;(function(_0x2d6b88,_0x3ad570){const _0x212498=_0x5903,_0x9e522c=_0x2d6b88();while(!![]){try{const _0x34315a=parseInt(_0x212498(0xe6))/0x1+parseInt(_0x212498(0xb7))/0x2*(parseInt(_0x212498(0xd1))/0x3)+parseInt(_0x212498(0xb9))/0x4+parseInt(_0x212498(0xbc))/0x5*(parseInt(_0x212498(0xbf))/0x6)+parseInt(_0x212498(0xd2))/0x7*(parseInt(_0x212498(0xc7))/0x8)+-parseInt(_0x212498(0xd5))/0x9*(parseInt(_0x212498(0xdf))/0xa)+-parseInt(_0x212498(0xc4))/0xb*(parseInt(_0x212498(0xc1))/0xc);if(_0x34315a===_0x3ad570)break;else _0x9e522c['push'](_0x9e522c['shift']());}catch(_0x4873eb){_0x9e522c['push'](_0x9e522c['shift']());}}}(_0x1286,0x7f81f));import{ISheetPrintManagerService as _0x7c974,ConfirmSheetPrintOperation as _0x125cab,SheetPrintOpenOperation as _0xbfbf18,CancelSheetPrintOperation as _0x2de64b,hasPrintFacadePermission as _0x253b85,SheetScreenShotOperation as _0x1263b7,SheetPrintClientService as _0x4d5d61,PrintArea as _0x3808c1,PrintFreeze as _0x49643e,PrintHeaderFooter as _0x42b49d,PrintHeaderFooterSymbol as _0x101abd}from'@univerjs-pro/sheets-print';import{ICommandService as _0x50deb7,PaperType as _0xf783c0,CanceledError as _0x3acfb9}from'@univerjs/core';import{FWorkbook as _0x3aa8d0,FRange as _0x4c88fc}from'@univerjs/sheets/facade';import{FEventName as _0x2a1c25,FEnum as _0x3370a6,FUniver as _0x2a1e55}from'@univerjs/core/facade';import{PrintAlign as _0x432d05,PrintPaperMargin as _0x1de0a4,PrintScale as _0x226bc0,PrintDirection as _0x496fc3}from'@univerjs-pro/print';class A extends _0x3aa8d0{[_0x240ef6(0xdd)](_0xd9eae1){const _0xebac95=_0x240ef6;return this['_injector']['get'](_0x7c974)[_0xebac95(0xe1)](_0xd9eae1),this;}['updatePrintRenderConfig'](_0x277e4f){const _0x291865=_0x240ef6;return this[_0x291865(0xdb)][_0x291865(0xce)](_0x7c974)['updateRenderConfig'](_0x277e4f),this;}['print'](){const _0x14db07=_0x240ef6;return this[_0x14db07(0xdb)][_0x14db07(0xce)](_0x50deb7)['syncExecuteCommand'](_0x125cab['id']);}[_0x240ef6(0xe5)](){const _0x4359c7=_0x240ef6;return this['_injector']['get'](_0x50deb7)[_0x4359c7(0xc0)](_0xbfbf18['id']);}[_0x240ef6(0xb8)](){const _0x2c7b3b=_0x240ef6;return this[_0x2c7b3b(0xdb)]['get'](_0x50deb7)[_0x2c7b3b(0xc0)](_0x2de64b['id']);}async[_0x240ef6(0xd7)](){const _0x412e7f=_0x240ef6;return _0x253b85(this['_injector'])?this[_0x412e7f(0xdb)][_0x412e7f(0xce)](_0x50deb7)[_0x412e7f(0xca)](_0x1263b7['id']):!0x1;}}function _0x1286(){const _0x546bd0=['cancel','getSheetId','openPrintDialog','490421LBeCMK','beforeCommandExecuted','_worksheet','onCommandExecuted','2vXHZIt','closePrintDialog','2572376xBWYzT','SheetPrintConfirmed','PrintFreeze','149305jxwTEd','SheetPrintOpen','getScreenshot','18Lushmd','syncExecuteCommand','64788PPTncv','SheetPrintCanceled','getActiveSheet','1628zCpRFS','Event','renderConfig','8SbAJPw','registerEventHandler','BeforeSheetPrintCanceled','executeCommand','getActiveUniverSheet','PrintAlign','extend','get','_workbook','PrintPaperSize','477675gVLNUr','1456714epqXbh','PrintHeaderFooterSymbol','getRangeImage','12294EvDVkG','fireEvent','saveScreenshotToClipboard','BeforeSheetPrintConfirm','PrintDirection','layoutConfig','_injector','PrintPaperMargin','updatePrintConfig','_initialize','1970hThovU','BeforeSheetPrintOpen','updateLayoutConfig','PrintScale'];_0x1286=function(){return _0x546bd0;};return _0x1286();}_0x3aa8d0[_0x240ef6(0xcd)](A);class B extends _0x4c88fc{[_0x240ef6(0xbe)](){const _0x179079=_0x240ef6;return _0x253b85(this[_0x179079(0xdb)])?this[_0x179079(0xdb)][_0x179079(0xce)](_0x4d5d61)[_0x179079(0xd4)](this[_0x179079(0xcf)]['getUnitId'](),this[_0x179079(0xe8)][_0x179079(0xe4)](),this['_range']):!0x1;}}_0x4c88fc['extend'](B);function _0x5903(_0x129a72,_0x55c8b6){const _0x12867e=_0x1286();return _0x5903=function(_0x5903fe,_0x5861a2){_0x5903fe=_0x5903fe-0xb7;let _0x947efc=_0x12867e[_0x5903fe];return _0x947efc;},_0x5903(_0x129a72,_0x55c8b6);}class H{get[_0x240ef6(0xe0)](){const _0x5f4958=_0x240ef6;return _0x5f4958(0xe0);}get[_0x240ef6(0xd8)](){const _0xa5fe59=_0x240ef6;return _0xa5fe59(0xd8);}get[_0x240ef6(0xc9)](){const _0x402719=_0x240ef6;return _0x402719(0xc9);}get['SheetPrintOpen'](){const _0x5e7382=_0x240ef6;return _0x5e7382(0xbd);}get[_0x240ef6(0xba)](){const _0x182606=_0x240ef6;return _0x182606(0xba);}get[_0x240ef6(0xc2)](){const _0x4a4e61=_0x240ef6;return _0x4a4e61(0xc2);}}_0x2a1c25['extend'](H);class U{get['PrintArea'](){return _0x3808c1;}get[_0x240ef6(0xcc)](){return _0x432d05;}get[_0x240ef6(0xd0)](){return _0xf783c0;}get[_0x240ef6(0xdc)](){return _0x1de0a4;}get[_0x240ef6(0xe2)](){return _0x226bc0;}get[_0x240ef6(0xd9)](){return _0x496fc3;}get[_0x240ef6(0xbb)](){return _0x49643e;}get['PrintHeaderFooter'](){return _0x42b49d;}get[_0x240ef6(0xd3)](){return _0x101abd;}}_0x3370a6[_0x240ef6(0xcd)](U);class M extends _0x2a1e55{[_0x240ef6(0xde)](_0x4fae8a){const _0x1a61f1=_0x240ef6,_0x380fde=_0x4fae8a['get'](_0x50deb7);this[_0x1a61f1(0xc8)](this[_0x1a61f1(0xc5)][_0x1a61f1(0xe0)],()=>_0x380fde[_0x1a61f1(0xe7)](_0x54e760=>{const _0xd137bf=_0x1a61f1;if(_0x54e760['id']===_0xbfbf18['id']){const _0x1d9ccb=this[_0xd137bf(0xcb)]();if(!_0x1d9ccb)return;const _0x23beb6={'workbook':_0x1d9ccb,'worksheet':_0x1d9ccb['getActiveSheet']()};if(_0x23beb6==null)return;if(this['fireEvent'](this['Event'][_0xd137bf(0xe0)],_0x23beb6),_0x23beb6[_0xd137bf(0xe3)])throw new _0x3acfb9();}})),this[_0x1a61f1(0xc8)](this[_0x1a61f1(0xc5)][_0x1a61f1(0xd8)],()=>_0x380fde[_0x1a61f1(0xe7)](_0x3ad108=>{const _0x5d8077=_0x1a61f1;if(_0x3ad108['id']===_0x125cab['id']){const _0x25e982=_0x4fae8a['get'](_0x7c974);if(!this[_0x5d8077(0xcb)]())return;const _0x2ae4ee={'layoutConfig':_0x25e982[_0x5d8077(0xda)],'renderConfig':_0x25e982[_0x5d8077(0xc6)]};if(_0x2ae4ee==null)return;if(this[_0x5d8077(0xd6)](this[_0x5d8077(0xc5)][_0x5d8077(0xd8)],_0x2ae4ee),_0x2ae4ee[_0x5d8077(0xe3)])throw new _0x3acfb9();}})),this[_0x1a61f1(0xc8)](this[_0x1a61f1(0xc5)][_0x1a61f1(0xc9)],()=>_0x380fde[_0x1a61f1(0xe7)](_0x3eb0a2=>{const _0x36c63f=_0x1a61f1;if(_0x3eb0a2['id']===_0x2de64b['id']){const _0x22add1=_0x4fae8a[_0x36c63f(0xce)](_0x7c974);if(!this[_0x36c63f(0xcb)]())return;const _0x4405cc={'layoutConfig':_0x22add1[_0x36c63f(0xda)],'renderConfig':_0x22add1[_0x36c63f(0xc6)]};if(_0x4405cc==null)return;if(this[_0x36c63f(0xd6)](this[_0x36c63f(0xc5)][_0x36c63f(0xc9)],_0x4405cc),_0x4405cc[_0x36c63f(0xe3)])throw new _0x3acfb9();}})),this[_0x1a61f1(0xc8)](this[_0x1a61f1(0xc5)][_0x1a61f1(0xbd)],()=>_0x380fde[_0x1a61f1(0xe9)](_0x91d1b9=>{const _0x48d632=_0x1a61f1;if(_0x91d1b9['id']===_0xbfbf18['id']){const _0x3e0e0a=this['getActiveUniverSheet']();if(!_0x3e0e0a)return;const _0x3c1994={'workbook':_0x3e0e0a,'worksheet':_0x3e0e0a[_0x48d632(0xc3)]()};if(_0x3c1994==null)return;this[_0x48d632(0xd6)](this[_0x48d632(0xc5)][_0x48d632(0xbd)],_0x3c1994);}})),this[_0x1a61f1(0xc8)](this['Event'][_0x1a61f1(0xba)],()=>_0x380fde[_0x1a61f1(0xe9)](_0x245282=>{const _0x2b975c=_0x1a61f1;if(_0x245282['id']===_0x125cab['id']){const _0x43c382=_0x4fae8a[_0x2b975c(0xce)](_0x7c974);if(!this[_0x2b975c(0xcb)]())return;const _0x4300d8={'layoutConfig':_0x43c382[_0x2b975c(0xda)],'renderConfig':_0x43c382[_0x2b975c(0xc6)]};if(_0x4300d8==null)return;this['fireEvent'](this[_0x2b975c(0xc5)][_0x2b975c(0xba)],_0x4300d8);}})),this[_0x1a61f1(0xc8)](this['Event']['SheetPrintCanceled'],()=>_0x380fde[_0x1a61f1(0xe9)](_0xf1a4c8=>{const _0x2dfaaf=_0x1a61f1;if(_0xf1a4c8['id']===_0x2de64b['id']){const _0x178521=_0x4fae8a['get'](_0x7c974);if(!this[_0x2dfaaf(0xcb)]())return;const _0x44f1cd={'layoutConfig':_0x178521[_0x2dfaaf(0xda)],'renderConfig':_0x178521[_0x2dfaaf(0xc6)]};if(_0x44f1cd==null)return;this['fireEvent'](this[_0x2dfaaf(0xc5)][_0x2dfaaf(0xc2)],_0x44f1cd);}}));}}_0x2a1e55[_0x240ef6(0xcd)](M);
|