@univerjs-pro/sheets-print 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 _0x59bba3=_0x3bca;(function(_0x5a8c4d,_0x131514){const _0x3860dd=_0x3bca,_0xf6cdb6=_0x5a8c4d();while(!![]){try{const _0x4f3fa5=parseInt(_0x3860dd(0xd6))/0x1+parseInt(_0x3860dd(0xbd))/0x2+parseInt(_0x3860dd(0xca))/0x3+-parseInt(_0x3860dd(0xee))/0x4+-parseInt(_0x3860dd(0xd8))/0x5*(-parseInt(_0x3860dd(0xe5))/0x6)+-parseInt(_0x3860dd(0xdb))/0x7*(-parseInt(_0x3860dd(0xc0))/0x8)+-parseInt(_0x3860dd(0xc4))/0x9;if(_0x4f3fa5===_0x131514)break;else _0xf6cdb6['push'](_0xf6cdb6['shift']());}catch(_0x3580c2){_0xf6cdb6['push'](_0xf6cdb6['shift']());}}}(_0x5a99,0xcc45c));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');class S extends d['FWorkbook']{[_0x59bba3(0xe0)](_0x5417ff){const _0x4dff82=_0x59bba3;return this[_0x4dff82(0xd9)][_0x4dff82(0xbf)](e['ISheetPrintManagerService'])[_0x4dff82(0xdd)](_0x5417ff),this;}[_0x59bba3(0xd2)](_0x2aa415){const _0x1089f8=_0x59bba3;return this[_0x1089f8(0xd9)][_0x1089f8(0xbf)](e['ISheetPrintManagerService'])[_0x1089f8(0xc3)](_0x2aa415),this;}[_0x59bba3(0xeb)](){const _0x36ebfa=_0x59bba3;return this[_0x36ebfa(0xd9)][_0x36ebfa(0xbf)](a[_0x36ebfa(0xed)])[_0x36ebfa(0xcc)](e['ConfirmSheetPrintOperation']['id']);}[_0x59bba3(0xf5)](){const _0x3041a4=_0x59bba3;return this[_0x3041a4(0xd9)][_0x3041a4(0xbf)](a[_0x3041a4(0xed)])[_0x3041a4(0xcc)](e['SheetPrintOpenOperation']['id']);}[_0x59bba3(0xbe)](){const _0x186b51=_0x59bba3;return this[_0x186b51(0xd9)][_0x186b51(0xbf)](a[_0x186b51(0xed)])[_0x186b51(0xcc)](e['CancelSheetPrintOperation']['id']);}async[_0x59bba3(0xf0)](){const _0x5e1dad=_0x59bba3;return e[_0x5e1dad(0xcb)](this[_0x5e1dad(0xd9)])?this['_injector'][_0x5e1dad(0xbf)](a[_0x5e1dad(0xed)])[_0x5e1dad(0xe4)](e['SheetScreenShotOperation']['id']):!0x1;}}d['FWorkbook'][_0x59bba3(0xe3)](S);class f extends d['FRange']{[_0x59bba3(0xde)](){const _0x404517=_0x59bba3;return e[_0x404517(0xcb)](this[_0x404517(0xd9)])?this['_injector'][_0x404517(0xbf)](e['SheetPrintClientService'])[_0x404517(0xc8)](this[_0x404517(0xd3)]['getUnitId'](),this[_0x404517(0xf7)][_0x404517(0xe9)](),this['_range']):!0x1;}}d[_0x59bba3(0xc7)][_0x59bba3(0xe3)](f);class P{get[_0x59bba3(0xbc)](){return'BeforeSheetPrintOpen';}get[_0x59bba3(0xf3)](){const _0x650d75=_0x59bba3;return _0x650d75(0xf3);}get[_0x59bba3(0xe8)](){return'BeforeSheetPrintCanceled';}get[_0x59bba3(0xdc)](){const _0x569820=_0x59bba3;return _0x569820(0xdc);}get[_0x59bba3(0xd4)](){const _0x4ff8e6=_0x59bba3;return _0x4ff8e6(0xd4);}get[_0x59bba3(0xc2)](){const _0x1f7826=_0x59bba3;return _0x1f7826(0xc2);}}g['FEventName'][_0x59bba3(0xe3)](P);class u{get[_0x59bba3(0xd5)](){return e['PrintArea'];}get[_0x59bba3(0xe2)](){const _0x309552=_0x59bba3;return c[_0x309552(0xe2)];}get[_0x59bba3(0xf6)](){return a['PaperType'];}get['PrintPaperMargin'](){const _0x1f39ef=_0x59bba3;return c[_0x1f39ef(0xdf)];}get[_0x59bba3(0xec)](){const _0x3af9b3=_0x59bba3;return c[_0x3af9b3(0xec)];}get[_0x59bba3(0xea)](){const _0xe4e1c9=_0x59bba3;return c[_0xe4e1c9(0xea)];}get[_0x59bba3(0xda)](){const _0x2e3622=_0x59bba3;return e[_0x2e3622(0xda)];}get[_0x59bba3(0xe7)](){const _0x4fc871=_0x59bba3;return e[_0x4fc871(0xe7)];}get[_0x59bba3(0xd7)](){const _0x489feb=_0x59bba3;return e[_0x489feb(0xd7)];}}g['FEnum'][_0x59bba3(0xe3)](u);function _0x5a99(){const _0xf0cd85=['SheetPrintCanceled','updateRenderConfig','24572169YGIWnc','beforeCommandExecuted','layoutConfig','FRange','getRangeImage','cancel','4292622SxvyAI','hasPrintFacadePermission','syncExecuteCommand','renderConfig','CancelSheetPrintOperation','ConfirmSheetPrintOperation','fireEvent','CanceledError','updatePrintRenderConfig','_workbook','SheetPrintConfirmed','PrintArea','345456ovTciO','PrintHeaderFooterSymbol','1068805HwQZvI','_injector','PrintFreeze','2793aNloux','SheetPrintOpen','updateLayoutConfig','getScreenshot','PrintPaperMargin','updatePrintConfig','Event','PrintAlign','extend','executeCommand','36oBZvRD','getActiveUniverSheet','PrintHeaderFooter','BeforeSheetPrintCanceled','getSheetId','PrintDirection','print','PrintScale','ICommandService','3471276WDFUOO','getActiveSheet','saveScreenshotToClipboard','onCommandExecuted','FUniver','BeforeSheetPrintConfirm','_initialize','openPrintDialog','PrintPaperSize','_worksheet','registerEventHandler','ISheetPrintManagerService','BeforeSheetPrintOpen','409598yrRlat','closePrintDialog','get','23480pDdnZS','SheetPrintOpenOperation'];_0x5a99=function(){return _0xf0cd85;};return _0x5a99();}class l extends g['FUniver']{[_0x59bba3(0xf4)](_0x482a8b){const _0x4a5cde=_0x59bba3,_0x54fbab=_0x482a8b[_0x4a5cde(0xbf)](a[_0x4a5cde(0xed)]);this[_0x4a5cde(0xf8)](this['Event']['BeforeSheetPrintOpen'],()=>_0x54fbab[_0x4a5cde(0xc5)](_0x2e7c61=>{const _0x5752e4=_0x4a5cde;if(_0x2e7c61['id']===e[_0x5752e4(0xc1)]['id']){const _0x5ae1f=this[_0x5752e4(0xe6)]();if(!_0x5ae1f)return;const _0x23003f={'workbook':_0x5ae1f,'worksheet':_0x5ae1f[_0x5752e4(0xef)]()};if(_0x23003f==null)return;if(this[_0x5752e4(0xd0)](this[_0x5752e4(0xe1)][_0x5752e4(0xbc)],_0x23003f),_0x23003f[_0x5752e4(0xc9)])throw new a[(_0x5752e4(0xd1))]();}})),this[_0x4a5cde(0xf8)](this[_0x4a5cde(0xe1)][_0x4a5cde(0xf3)],()=>_0x54fbab['beforeCommandExecuted'](_0x4f77ab=>{const _0x332992=_0x4a5cde;if(_0x4f77ab['id']===e[_0x332992(0xcf)]['id']){const _0x5a0399=_0x482a8b[_0x332992(0xbf)](e['ISheetPrintManagerService']);if(!this[_0x332992(0xe6)]())return;const _0x4b165={'layoutConfig':_0x5a0399['layoutConfig'],'renderConfig':_0x5a0399['renderConfig']};if(_0x4b165==null)return;if(this['fireEvent'](this[_0x332992(0xe1)]['BeforeSheetPrintConfirm'],_0x4b165),_0x4b165[_0x332992(0xc9)])throw new a[(_0x332992(0xd1))]();}})),this[_0x4a5cde(0xf8)](this[_0x4a5cde(0xe1)]['BeforeSheetPrintCanceled'],()=>_0x54fbab[_0x4a5cde(0xc5)](_0x3de0d1=>{const _0x61fe2=_0x4a5cde;if(_0x3de0d1['id']===e[_0x61fe2(0xce)]['id']){const _0x15c5fd=_0x482a8b[_0x61fe2(0xbf)](e[_0x61fe2(0xf9)]);if(!this[_0x61fe2(0xe6)]())return;const _0x478ae1={'layoutConfig':_0x15c5fd['layoutConfig'],'renderConfig':_0x15c5fd[_0x61fe2(0xcd)]};if(_0x478ae1==null)return;if(this['fireEvent'](this[_0x61fe2(0xe1)][_0x61fe2(0xe8)],_0x478ae1),_0x478ae1['cancel'])throw new a[(_0x61fe2(0xd1))]();}})),this[_0x4a5cde(0xf8)](this[_0x4a5cde(0xe1)][_0x4a5cde(0xdc)],()=>_0x54fbab[_0x4a5cde(0xf1)](_0x14cd52=>{const _0x4389e4=_0x4a5cde;if(_0x14cd52['id']===e[_0x4389e4(0xc1)]['id']){const _0x5df82f=this[_0x4389e4(0xe6)]();if(!_0x5df82f)return;const _0x481112={'workbook':_0x5df82f,'worksheet':_0x5df82f['getActiveSheet']()};if(_0x481112==null)return;this[_0x4389e4(0xd0)](this[_0x4389e4(0xe1)]['SheetPrintOpen'],_0x481112);}})),this[_0x4a5cde(0xf8)](this[_0x4a5cde(0xe1)][_0x4a5cde(0xd4)],()=>_0x54fbab['onCommandExecuted'](_0x498044=>{const _0x2c1671=_0x4a5cde;if(_0x498044['id']===e[_0x2c1671(0xcf)]['id']){const _0x189174=_0x482a8b[_0x2c1671(0xbf)](e[_0x2c1671(0xf9)]);if(!this[_0x2c1671(0xe6)]())return;const _0x2e10c6={'layoutConfig':_0x189174[_0x2c1671(0xc6)],'renderConfig':_0x189174[_0x2c1671(0xcd)]};if(_0x2e10c6==null)return;this[_0x2c1671(0xd0)](this[_0x2c1671(0xe1)][_0x2c1671(0xd4)],_0x2e10c6);}})),this[_0x4a5cde(0xf8)](this[_0x4a5cde(0xe1)][_0x4a5cde(0xc2)],()=>_0x54fbab[_0x4a5cde(0xf1)](_0x103507=>{const _0x420162=_0x4a5cde;if(_0x103507['id']===e[_0x420162(0xce)]['id']){const _0x3a13be=_0x482a8b[_0x420162(0xbf)](e[_0x420162(0xf9)]);if(!this[_0x420162(0xe6)]())return;const _0x1947d5={'layoutConfig':_0x3a13be[_0x420162(0xc6)],'renderConfig':_0x3a13be[_0x420162(0xcd)]};if(_0x1947d5==null)return;this[_0x420162(0xd0)](this['Event'][_0x420162(0xc2)],_0x1947d5);}}));}}function _0x3bca(_0x526a7a,_0x5bfef0){_0x526a7a=_0x526a7a-0xbc;const _0x5a9998=_0x5a99();let _0x3bca92=_0x5a9998[_0x526a7a];return _0x3bca92;}g[_0x59bba3(0xf2)][_0x59bba3(0xe3)](l);
|