@univerjs-pro/sheets-print 0.10.5 → 0.10.6
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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x230fdc=_0x5e22;(function(_0x44d4c1,_0x32cdf5){const _0x4b77b0=_0x5e22,_0x491916=_0x44d4c1();while(!![]){try{const _0x127818=parseInt(_0x4b77b0(0x198))/0x1*(parseInt(_0x4b77b0(0x1c3))/0x2)+parseInt(_0x4b77b0(0x18a))/0x3*(parseInt(_0x4b77b0(0x196))/0x4)+-parseInt(_0x4b77b0(0x1a4))/0x5+parseInt(_0x4b77b0(0x199))/0x6*(parseInt(_0x4b77b0(0x189))/0x7)+parseInt(_0x4b77b0(0x19e))/0x8+-parseInt(_0x4b77b0(0x1bb))/0x9+parseInt(_0x4b77b0(0x1ac))/0xa;if(_0x127818===_0x32cdf5)break;else _0x491916['push'](_0x491916['shift']());}catch(_0x4aec99){_0x491916['push'](_0x491916['shift']());}}}(_0x3737,0x522b9));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');function _0x5e22(_0x43419c,_0x3b7e5d){const _0x5e2223=_0x3737();return _0x5e22=function(_0x37bfbb,_0x3a6189){_0x37bfbb=_0x37bfbb-0x186;let _0x9b6d2f=_0x5e2223[_0x37bfbb];return _0x9b6d2f;},_0x5e22(_0x43419c,_0x3b7e5d);}class S extends d[_0x230fdc(0x1c5)]{[_0x230fdc(0x1a9)](_0x1f680d){const _0x3ccd08=_0x230fdc;return this[_0x3ccd08(0x1bf)][_0x3ccd08(0x186)](e[_0x3ccd08(0x18d)])['updateLayoutConfig'](_0x1f680d),this;}['updatePrintRenderConfig'](_0x22cd06){const _0xd4bc13=_0x230fdc;return this[_0xd4bc13(0x1bf)]['get'](e['ISheetPrintManagerService'])[_0xd4bc13(0x1a2)](_0x22cd06),this;}[_0x230fdc(0x188)](){const _0x389c23=_0x230fdc;return this[_0x389c23(0x1bf)][_0x389c23(0x186)](a[_0x389c23(0x1a7)])['syncExecuteCommand'](e[_0x389c23(0x1b1)]['id']);}['openPrintDialog'](){const _0x33832b=_0x230fdc;return this[_0x33832b(0x1bf)][_0x33832b(0x186)](a['ICommandService'])[_0x33832b(0x190)](e[_0x33832b(0x18b)]['id']);}[_0x230fdc(0x1ab)](){const _0x2de6de=_0x230fdc;return this[_0x2de6de(0x1bf)]['get'](a[_0x2de6de(0x1a7)])[_0x2de6de(0x190)](e['CancelSheetPrintOperation']['id']);}async[_0x230fdc(0x1a5)](){const _0x4f771d=_0x230fdc;return e[_0x4f771d(0x1c2)](this[_0x4f771d(0x1bf)])?this[_0x4f771d(0x1bf)][_0x4f771d(0x186)](a['ICommandService'])[_0x4f771d(0x1ae)](e[_0x4f771d(0x191)]['id']):!0x1;}}d[_0x230fdc(0x1c5)]['extend'](S);class f extends d['FRange']{[_0x230fdc(0x1c1)](){const _0x15358a=_0x230fdc;return e[_0x15358a(0x1c2)](this[_0x15358a(0x1bf)])?this[_0x15358a(0x1bf)][_0x15358a(0x186)](e[_0x15358a(0x1a8)])['getRangeImage'](this[_0x15358a(0x1be)][_0x15358a(0x1a0)](),this['_worksheet']['getSheetId'](),this[_0x15358a(0x1bc)]):!0x1;}}d[_0x230fdc(0x1b0)][_0x230fdc(0x1b9)](f);class P{get[_0x230fdc(0x1a1)](){return'BeforeSheetPrintOpen';}get[_0x230fdc(0x1b8)](){const _0x1dec1c=_0x230fdc;return _0x1dec1c(0x1b8);}get[_0x230fdc(0x1c0)](){const _0x19731d=_0x230fdc;return _0x19731d(0x1c0);}get[_0x230fdc(0x1a3)](){const _0x4ab694=_0x230fdc;return _0x4ab694(0x1a3);}get['SheetPrintConfirmed'](){const _0x10eb82=_0x230fdc;return _0x10eb82(0x19f);}get[_0x230fdc(0x19c)](){const _0x3ba065=_0x230fdc;return _0x3ba065(0x19c);}}g[_0x230fdc(0x19a)][_0x230fdc(0x1b9)](P);class u{get[_0x230fdc(0x1b7)](){return e['PrintArea'];}get[_0x230fdc(0x1af)](){const _0x32bf35=_0x230fdc;return c[_0x32bf35(0x1af)];}get[_0x230fdc(0x1b2)](){const _0x5c0d94=_0x230fdc;return a[_0x5c0d94(0x197)];}get[_0x230fdc(0x19d)](){const _0xbee18b=_0x230fdc;return c[_0xbee18b(0x19d)];}get[_0x230fdc(0x193)](){return c['PrintScale'];}get[_0x230fdc(0x194)](){const _0x102de0=_0x230fdc;return c[_0x102de0(0x194)];}get['PrintFreeze'](){return e['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x35ac06=_0x230fdc;return e[_0x35ac06(0x1bd)];}get['PrintHeaderFooterSymbol'](){const _0x51fda9=_0x230fdc;return e[_0x51fda9(0x1a6)];}}function _0x3737(){const _0x253df0=['ISheetPrintManagerService','cancel','onCommandExecuted','syncExecuteCommand','SheetScreenShotOperation','CanceledError','PrintScale','PrintDirection','CancelSheetPrintOperation','100pStEhy','PaperType','12gvHdUo','114HbAJOE','FEventName','renderConfig','SheetPrintCanceled','PrintPaperMargin','3464544hUQKAX','SheetPrintConfirmed','getUnitId','BeforeSheetPrintOpen','updateRenderConfig','SheetPrintOpen','3005515CrUohK','saveScreenshotToClipboard','PrintHeaderFooterSymbol','ICommandService','SheetPrintClientService','updatePrintConfig','fireEvent','closePrintDialog','1725810VZmrDc','FUniver','executeCommand','PrintAlign','FRange','ConfirmSheetPrintOperation','PrintPaperSize','layoutConfig','beforeCommandExecuted','_initialize','Event','PrintArea','BeforeSheetPrintConfirm','extend','getActiveUniverSheet','4435083wEloWE','_range','PrintHeaderFooter','_workbook','_injector','BeforeSheetPrintCanceled','getScreenshot','hasPrintFacadePermission','65422iSqpsM','FEnum','FWorkbook','get','getActiveSheet','print','42259tZtnAp','38109oEfose','SheetPrintOpenOperation','registerEventHandler'];_0x3737=function(){return _0x253df0;};return _0x3737();}g[_0x230fdc(0x1c4)][_0x230fdc(0x1b9)](u);class l extends g['FUniver']{[_0x230fdc(0x1b5)](_0x3df870){const _0x49b28c=_0x230fdc,_0x205a36=_0x3df870[_0x49b28c(0x186)](a[_0x49b28c(0x1a7)]);this[_0x49b28c(0x18c)](this[_0x49b28c(0x1b6)][_0x49b28c(0x1a1)],()=>_0x205a36[_0x49b28c(0x1b4)](_0x52f19a=>{const _0x9c6ec4=_0x49b28c;if(_0x52f19a['id']===e['SheetPrintOpenOperation']['id']){const _0x50d375=this[_0x9c6ec4(0x1ba)]();if(!_0x50d375)return;const _0x51b7cc={'workbook':_0x50d375,'worksheet':_0x50d375[_0x9c6ec4(0x187)]()};if(_0x51b7cc==null)return;if(this[_0x9c6ec4(0x1aa)](this[_0x9c6ec4(0x1b6)][_0x9c6ec4(0x1a1)],_0x51b7cc),_0x51b7cc['cancel'])throw new a[(_0x9c6ec4(0x192))]();}})),this[_0x49b28c(0x18c)](this[_0x49b28c(0x1b6)][_0x49b28c(0x1b8)],()=>_0x205a36[_0x49b28c(0x1b4)](_0x2bfbb0=>{const _0x334d28=_0x49b28c;if(_0x2bfbb0['id']===e[_0x334d28(0x1b1)]['id']){const _0x3d694b=_0x3df870['get'](e['ISheetPrintManagerService']);if(!this[_0x334d28(0x1ba)]())return;const _0x1c2e02={'layoutConfig':_0x3d694b[_0x334d28(0x1b3)],'renderConfig':_0x3d694b[_0x334d28(0x19b)]};if(_0x1c2e02==null)return;if(this[_0x334d28(0x1aa)](this[_0x334d28(0x1b6)][_0x334d28(0x1b8)],_0x1c2e02),_0x1c2e02[_0x334d28(0x18e)])throw new a[(_0x334d28(0x192))]();}})),this['registerEventHandler'](this[_0x49b28c(0x1b6)][_0x49b28c(0x1c0)],()=>_0x205a36[_0x49b28c(0x1b4)](_0x41fd64=>{const _0x2a5dc7=_0x49b28c;if(_0x41fd64['id']===e[_0x2a5dc7(0x195)]['id']){const _0x15261d=_0x3df870[_0x2a5dc7(0x186)](e[_0x2a5dc7(0x18d)]);if(!this['getActiveUniverSheet']())return;const _0x4e450e={'layoutConfig':_0x15261d[_0x2a5dc7(0x1b3)],'renderConfig':_0x15261d[_0x2a5dc7(0x19b)]};if(_0x4e450e==null)return;if(this[_0x2a5dc7(0x1aa)](this[_0x2a5dc7(0x1b6)]['BeforeSheetPrintCanceled'],_0x4e450e),_0x4e450e[_0x2a5dc7(0x18e)])throw new a[(_0x2a5dc7(0x192))]();}})),this[_0x49b28c(0x18c)](this['Event'][_0x49b28c(0x1a3)],()=>_0x205a36[_0x49b28c(0x18f)](_0x208636=>{const _0x63e31b=_0x49b28c;if(_0x208636['id']===e['SheetPrintOpenOperation']['id']){const _0x1b7ec5=this['getActiveUniverSheet']();if(!_0x1b7ec5)return;const _0x2786e0={'workbook':_0x1b7ec5,'worksheet':_0x1b7ec5['getActiveSheet']()};if(_0x2786e0==null)return;this[_0x63e31b(0x1aa)](this['Event'][_0x63e31b(0x1a3)],_0x2786e0);}})),this[_0x49b28c(0x18c)](this[_0x49b28c(0x1b6)]['SheetPrintConfirmed'],()=>_0x205a36[_0x49b28c(0x18f)](_0x5b358c=>{const _0x430ecf=_0x49b28c;if(_0x5b358c['id']===e['ConfirmSheetPrintOperation']['id']){const _0x28c24c=_0x3df870[_0x430ecf(0x186)](e['ISheetPrintManagerService']);if(!this[_0x430ecf(0x1ba)]())return;const _0x10e486={'layoutConfig':_0x28c24c['layoutConfig'],'renderConfig':_0x28c24c[_0x430ecf(0x19b)]};if(_0x10e486==null)return;this[_0x430ecf(0x1aa)](this[_0x430ecf(0x1b6)][_0x430ecf(0x19f)],_0x10e486);}})),this[_0x49b28c(0x18c)](this[_0x49b28c(0x1b6)][_0x49b28c(0x19c)],()=>_0x205a36[_0x49b28c(0x18f)](_0xa1d416=>{const _0x164ea3=_0x49b28c;if(_0xa1d416['id']===e[_0x164ea3(0x195)]['id']){const _0x218e29=_0x3df870[_0x164ea3(0x186)](e[_0x164ea3(0x18d)]);if(!this['getActiveUniverSheet']())return;const _0x4ae9d7={'layoutConfig':_0x218e29[_0x164ea3(0x1b3)],'renderConfig':_0x218e29[_0x164ea3(0x19b)]};if(_0x4ae9d7==null)return;this[_0x164ea3(0x1aa)](this[_0x164ea3(0x1b6)][_0x164ea3(0x19c)],_0x4ae9d7);}}));}}g[_0x230fdc(0x1ad)][_0x230fdc(0x1b9)](l);
|