@univerjs-pro/sheets-print 0.10.7 → 0.10.8-nightly.202509200616
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.css +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 +39 -39
- package/lib/types/common/types.d.ts +2 -1
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +5 -0
- 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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x1ef5b0=_0x1986;(function(_0x1086e4,_0x537d74){const _0x1ca9ec=_0x1986,_0x3cddd4=_0x1086e4();while(!![]){try{const _0x360f8c=-parseInt(_0x1ca9ec(0x101))/0x1+parseInt(_0x1ca9ec(0x10b))/0x2*(parseInt(_0x1ca9ec(0xe8))/0x3)+parseInt(_0x1ca9ec(0xf9))/0x4+parseInt(_0x1ca9ec(0x108))/0x5+-parseInt(_0x1ca9ec(0x112))/0x6+parseInt(_0x1ca9ec(0xf3))/0x7*(parseInt(_0x1ca9ec(0x109))/0x8)+-parseInt(_0x1ca9ec(0xfa))/0x9*(parseInt(_0x1ca9ec(0x11c))/0xa);if(_0x360f8c===_0x537d74)break;else _0x3cddd4['push'](_0x3cddd4['shift']());}catch(_0x3fa007){_0x3cddd4['push'](_0x3cddd4['shift']());}}}(_0x5475,0x7c018));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 _0x5475(){const _0x1ebddd=['openPrintDialog','SheetPrintCanceled','getScreenshot','PrintDirection','50jKdTyI','updateRenderConfig','_initialize','FUniver','ICommandService','BeforeSheetPrintConfirm','cancel','CancelSheetPrintOperation','FRange','updateLayoutConfig','137169JDJWCJ','closePrintDialog','PrintPaperMargin','print','_injector','_workbook','getActiveUniverSheet','FEventName','SheetPrintOpen','layoutConfig','get','28Ybbxbf','getUnitId','onCommandExecuted','PrintHeaderFooterSymbol','PrintPaperSize','saveScreenshotToClipboard','3300452pmHOLG','448425tDfGzL','SheetScreenShotOperation','hasPrintFacadePermission','Event','getActiveSheet','getRangeImage','PrintFreeze','521156OAHKqj','PrintArea','PaperType','_range','beforeCommandExecuted','registerEventHandler','BeforeSheetPrintOpen','1068525OlyLCy','902456SqPtYU','ISheetPrintManagerService','10LVtLxz','syncExecuteCommand','CanceledError','SheetPrintOpenOperation','BeforeSheetPrintCanceled','renderConfig','fireEvent','2642712wgeEec','executeCommand','ConfirmSheetPrintOperation','FWorkbook','SheetPrintConfirmed','extend'];_0x5475=function(){return _0x1ebddd;};return _0x5475();}class S extends d['FWorkbook']{['updatePrintConfig'](_0x1e8a59){const _0x507c4d=_0x1986;return this['_injector'][_0x507c4d(0xf2)](e[_0x507c4d(0x10a)])[_0x507c4d(0xe7)](_0x1e8a59),this;}['updatePrintRenderConfig'](_0xa8252){const _0x3a6c19=_0x1986;return this[_0x3a6c19(0xec)]['get'](e[_0x3a6c19(0x10a)])[_0x3a6c19(0x11d)](_0xa8252),this;}[_0x1ef5b0(0xeb)](){const _0x1b6a76=_0x1ef5b0;return this[_0x1b6a76(0xec)]['get'](a[_0x1b6a76(0x120)])[_0x1b6a76(0x10c)](e[_0x1b6a76(0x114)]['id']);}[_0x1ef5b0(0x118)](){const _0x281c58=_0x1ef5b0;return this[_0x281c58(0xec)][_0x281c58(0xf2)](a['ICommandService'])['syncExecuteCommand'](e['SheetPrintOpenOperation']['id']);}[_0x1ef5b0(0xe9)](){const _0x29ed0f=_0x1ef5b0;return this[_0x29ed0f(0xec)][_0x29ed0f(0xf2)](a['ICommandService'])['syncExecuteCommand'](e['CancelSheetPrintOperation']['id']);}async[_0x1ef5b0(0xf8)](){const _0x17c197=_0x1ef5b0;return e[_0x17c197(0xfc)](this['_injector'])?this[_0x17c197(0xec)][_0x17c197(0xf2)](a['ICommandService'])[_0x17c197(0x113)](e[_0x17c197(0xfb)]['id']):!0x1;}}d[_0x1ef5b0(0x115)][_0x1ef5b0(0x117)](S);function _0x1986(_0x1b9776,_0x4b841c){const _0x54759d=_0x5475();return _0x1986=function(_0x19869c,_0xbd387f){_0x19869c=_0x19869c-0xe6;let _0x351034=_0x54759d[_0x19869c];return _0x351034;},_0x1986(_0x1b9776,_0x4b841c);}class f extends d[_0x1ef5b0(0xe6)]{[_0x1ef5b0(0x11a)](){const _0x5ae87d=_0x1ef5b0;return e[_0x5ae87d(0xfc)](this[_0x5ae87d(0xec)])?this[_0x5ae87d(0xec)][_0x5ae87d(0xf2)](e['SheetPrintClientService'])[_0x5ae87d(0xff)](this[_0x5ae87d(0xed)][_0x5ae87d(0xf4)](),this['_worksheet']['getSheetId'](),this[_0x5ae87d(0x104)]):!0x1;}}d[_0x1ef5b0(0xe6)]['extend'](f);class P{get['BeforeSheetPrintOpen'](){const _0x2af9e5=_0x1ef5b0;return _0x2af9e5(0x107);}get[_0x1ef5b0(0x121)](){const _0xa965a1=_0x1ef5b0;return _0xa965a1(0x121);}get[_0x1ef5b0(0x10f)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x585a0f=_0x1ef5b0;return _0x585a0f(0xf0);}get[_0x1ef5b0(0x116)](){const _0x3b5bd3=_0x1ef5b0;return _0x3b5bd3(0x116);}get[_0x1ef5b0(0x119)](){const _0x2ab8f1=_0x1ef5b0;return _0x2ab8f1(0x119);}}g[_0x1ef5b0(0xef)]['extend'](P);class u{get[_0x1ef5b0(0x102)](){const _0x5a14af=_0x1ef5b0;return e[_0x5a14af(0x102)];}get['PrintAlign'](){return c['PrintAlign'];}get[_0x1ef5b0(0xf7)](){const _0x5f4c7f=_0x1ef5b0;return a[_0x5f4c7f(0x103)];}get[_0x1ef5b0(0xea)](){const _0x1a2179=_0x1ef5b0;return c[_0x1a2179(0xea)];}get['PrintScale'](){return c['PrintScale'];}get[_0x1ef5b0(0x11b)](){const _0x10cef9=_0x1ef5b0;return c[_0x10cef9(0x11b)];}get[_0x1ef5b0(0x100)](){const _0x4d5039=_0x1ef5b0;return e[_0x4d5039(0x100)];}get['PrintHeaderFooter'](){return e['PrintHeaderFooter'];}get[_0x1ef5b0(0xf6)](){const _0x3c285c=_0x1ef5b0;return e[_0x3c285c(0xf6)];}}g['FEnum'][_0x1ef5b0(0x117)](u);class l extends g['FUniver']{[_0x1ef5b0(0x11e)](_0x247da2){const _0x2684e1=_0x1ef5b0,_0x1fafaa=_0x247da2[_0x2684e1(0xf2)](a[_0x2684e1(0x120)]);this[_0x2684e1(0x106)](this[_0x2684e1(0xfd)][_0x2684e1(0x107)],()=>_0x1fafaa['beforeCommandExecuted'](_0x4349ea=>{const _0x8c677c=_0x2684e1;if(_0x4349ea['id']===e[_0x8c677c(0x10e)]['id']){const _0x3c8364=this['getActiveUniverSheet']();if(!_0x3c8364)return;const _0x4a319b={'workbook':_0x3c8364,'worksheet':_0x3c8364[_0x8c677c(0xfe)]()};if(_0x4a319b==null)return;if(this[_0x8c677c(0x111)](this['Event'][_0x8c677c(0x107)],_0x4a319b),_0x4a319b[_0x8c677c(0x122)])throw new a['CanceledError']();}})),this[_0x2684e1(0x106)](this['Event'][_0x2684e1(0x121)],()=>_0x1fafaa[_0x2684e1(0x105)](_0x4533bc=>{const _0x5def86=_0x2684e1;if(_0x4533bc['id']===e[_0x5def86(0x114)]['id']){const _0x83a16=_0x247da2[_0x5def86(0xf2)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x15fc09={'layoutConfig':_0x83a16[_0x5def86(0xf1)],'renderConfig':_0x83a16[_0x5def86(0x110)]};if(_0x15fc09==null)return;if(this[_0x5def86(0x111)](this[_0x5def86(0xfd)]['BeforeSheetPrintConfirm'],_0x15fc09),_0x15fc09[_0x5def86(0x122)])throw new a['CanceledError']();}})),this[_0x2684e1(0x106)](this[_0x2684e1(0xfd)][_0x2684e1(0x10f)],()=>_0x1fafaa['beforeCommandExecuted'](_0x1ba1f3=>{const _0x437425=_0x2684e1;if(_0x1ba1f3['id']===e[_0x437425(0x123)]['id']){const _0x560ec6=_0x247da2[_0x437425(0xf2)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x1d3132={'layoutConfig':_0x560ec6[_0x437425(0xf1)],'renderConfig':_0x560ec6[_0x437425(0x110)]};if(_0x1d3132==null)return;if(this[_0x437425(0x111)](this[_0x437425(0xfd)]['BeforeSheetPrintCanceled'],_0x1d3132),_0x1d3132[_0x437425(0x122)])throw new a[(_0x437425(0x10d))]();}})),this['registerEventHandler'](this[_0x2684e1(0xfd)][_0x2684e1(0xf0)],()=>_0x1fafaa[_0x2684e1(0xf5)](_0x5c7617=>{const _0x444a46=_0x2684e1;if(_0x5c7617['id']===e[_0x444a46(0x10e)]['id']){const _0x5c99f1=this[_0x444a46(0xee)]();if(!_0x5c99f1)return;const _0x1c96f0={'workbook':_0x5c99f1,'worksheet':_0x5c99f1['getActiveSheet']()};if(_0x1c96f0==null)return;this[_0x444a46(0x111)](this['Event'][_0x444a46(0xf0)],_0x1c96f0);}})),this['registerEventHandler'](this[_0x2684e1(0xfd)][_0x2684e1(0x116)],()=>_0x1fafaa['onCommandExecuted'](_0x248cd9=>{const _0x1535a6=_0x2684e1;if(_0x248cd9['id']===e['ConfirmSheetPrintOperation']['id']){const _0x277ae6=_0x247da2[_0x1535a6(0xf2)](e[_0x1535a6(0x10a)]);if(!this['getActiveUniverSheet']())return;const _0x2a49fc={'layoutConfig':_0x277ae6[_0x1535a6(0xf1)],'renderConfig':_0x277ae6[_0x1535a6(0x110)]};if(_0x2a49fc==null)return;this['fireEvent'](this[_0x1535a6(0xfd)][_0x1535a6(0x116)],_0x2a49fc);}})),this[_0x2684e1(0x106)](this[_0x2684e1(0xfd)][_0x2684e1(0x119)],()=>_0x1fafaa[_0x2684e1(0xf5)](_0x3e6741=>{const _0xc4e27b=_0x2684e1;if(_0x3e6741['id']===e[_0xc4e27b(0x123)]['id']){const _0x524785=_0x247da2[_0xc4e27b(0xf2)](e[_0xc4e27b(0x10a)]);if(!this[_0xc4e27b(0xee)]())return;const _0x1c705d={'layoutConfig':_0x524785[_0xc4e27b(0xf1)],'renderConfig':_0x524785[_0xc4e27b(0x110)]};if(_0x1c705d==null)return;this['fireEvent'](this[_0xc4e27b(0xfd)][_0xc4e27b(0x119)],_0x1c705d);}}));}}g[_0x1ef5b0(0x11f)][_0x1ef5b0(0x117)](l);
|