@univerjs-pro/sheets-print 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505031606
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +40 -40
- 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/en-US.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/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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x593b(_0x70288a,_0x5af263){const _0x34373d=_0x3437();return _0x593b=function(_0x593b2f,_0x2c97a1){_0x593b2f=_0x593b2f-0x100;let _0x3b39bd=_0x34373d[_0x593b2f];return _0x3b39bd;},_0x593b(_0x70288a,_0x5af263);}const _0x690f74=_0x593b;(function(_0x3a497c,_0x1bffa4){const _0x2f1fbf=_0x593b,_0x1375f3=_0x3a497c();while(!![]){try{const _0x408db7=-parseInt(_0x2f1fbf(0x10e))/0x1*(-parseInt(_0x2f1fbf(0x13a))/0x2)+-parseInt(_0x2f1fbf(0x11a))/0x3+parseInt(_0x2f1fbf(0x127))/0x4+-parseInt(_0x2f1fbf(0x112))/0x5+-parseInt(_0x2f1fbf(0x109))/0x6+parseInt(_0x2f1fbf(0x113))/0x7+parseInt(_0x2f1fbf(0x12a))/0x8;if(_0x408db7===_0x1bffa4)break;else _0x1375f3['push'](_0x1375f3['shift']());}catch(_0x399008){_0x1375f3['push'](_0x1375f3['shift']());}}}(_0x3437,0x485b9));function _0x3437(){const _0x16685b=['2960265dqbavm','769167cCRfcq','onCommandExecuted','extend','BeforeSheetPrintCanceled','FUniver','SheetScreenShotOperation','PrintArea','1734465WgoZHS','PrintScale','fireEvent','hasPrintFacadePermission','_worksheet','registerEventHandler','Event','SheetPrintOpenOperation','layoutConfig','SheetPrintConfirmed','@univerjs/core/facade','FEnum','PrintDirection','326516SewSYY','beforeCommandExecuted','FEventName','10577368LBRkgh','getUnitId','SheetPrintCanceled','executeCommand','CancelSheetPrintOperation','PrintHeaderFooter','PrintAlign','PaperType','PrintFreeze','updateLayoutConfig','FWorkbook','getRangeImage','saveScreenshotToClipboard','updateRenderConfig','ISheetPrintManagerService','print','105668JZrNtm','closePrintDialog','cancel','PrintPaperMargin','PrintHeaderFooterSymbol','PrintPaperSize','_injector','_range','@univerjs/core','BeforeSheetPrintOpen','get','ICommandService','syncExecuteCommand','getSheetId','SheetPrintClientService','3452616MdBgOc','ConfirmSheetPrintOperation','getActiveUniverSheet','BeforeSheetPrintConfirm','updatePrintConfig','10HbIaaa','SheetPrintOpen','CanceledError','renderConfig'];_0x3437=function(){return _0x16685b;};return _0x3437();}const e=require('@univerjs-pro/sheets-print'),a=require(_0x690f74(0x102)),d=require('@univerjs/sheets/facade'),g=require(_0x690f74(0x124)),c=require('@univerjs-pro/print');class S extends d[_0x690f74(0x134)]{[_0x690f74(0x10d)](_0x39662b){const _0x1acaa4=_0x690f74;return this['_injector']['get'](e[_0x1acaa4(0x138)])[_0x1acaa4(0x133)](_0x39662b),this;}['updatePrintRenderConfig'](_0x2f1e8d){const _0x256821=_0x690f74;return this[_0x256821(0x100)][_0x256821(0x104)](e['ISheetPrintManagerService'])[_0x256821(0x137)](_0x2f1e8d),this;}[_0x690f74(0x139)](){const _0x3c118=_0x690f74;return this[_0x3c118(0x100)]['get'](a[_0x3c118(0x105)])[_0x3c118(0x106)](e[_0x3c118(0x10a)]['id']);}['openPrintDialog'](){const _0x34dfa2=_0x690f74;return this['_injector'][_0x34dfa2(0x104)](a['ICommandService'])[_0x34dfa2(0x106)](e[_0x34dfa2(0x121)]['id']);}[_0x690f74(0x13b)](){const _0x579391=_0x690f74;return this['_injector'][_0x579391(0x104)](a[_0x579391(0x105)])[_0x579391(0x106)](e[_0x579391(0x12e)]['id']);}async[_0x690f74(0x136)](){const _0x5b0592=_0x690f74;return e[_0x5b0592(0x11d)](this[_0x5b0592(0x100)])?this['_injector'][_0x5b0592(0x104)](a[_0x5b0592(0x105)])[_0x5b0592(0x12d)](e[_0x5b0592(0x118)]['id']):!0x1;}}d[_0x690f74(0x134)][_0x690f74(0x115)](S);class f extends d['FRange']{['getScreenshot'](){const _0x4c195d=_0x690f74;return e['hasPrintFacadePermission'](this[_0x4c195d(0x100)])?this['_injector'][_0x4c195d(0x104)](e[_0x4c195d(0x108)])[_0x4c195d(0x135)](this['_workbook'][_0x4c195d(0x12b)](),this[_0x4c195d(0x11e)][_0x4c195d(0x107)](),this[_0x4c195d(0x101)]):!0x1;}}d['FRange']['extend'](f);class P{get[_0x690f74(0x103)](){const _0x804001=_0x690f74;return _0x804001(0x103);}get[_0x690f74(0x10c)](){const _0x17b0c3=_0x690f74;return _0x17b0c3(0x10c);}get['BeforeSheetPrintCanceled'](){const _0x54032b=_0x690f74;return _0x54032b(0x116);}get['SheetPrintOpen'](){const _0x55017a=_0x690f74;return _0x55017a(0x10f);}get[_0x690f74(0x123)](){const _0x2629c2=_0x690f74;return _0x2629c2(0x123);}get[_0x690f74(0x12c)](){const _0x2fdeff=_0x690f74;return _0x2fdeff(0x12c);}}g[_0x690f74(0x129)][_0x690f74(0x115)](P);class u{get[_0x690f74(0x119)](){const _0x25bdc8=_0x690f74;return e[_0x25bdc8(0x119)];}get[_0x690f74(0x130)](){const _0x385c38=_0x690f74;return c[_0x385c38(0x130)];}get[_0x690f74(0x13f)](){const _0x34b266=_0x690f74;return a[_0x34b266(0x131)];}get[_0x690f74(0x13d)](){const _0x19ba9b=_0x690f74;return c[_0x19ba9b(0x13d)];}get[_0x690f74(0x11b)](){const _0x51dfa7=_0x690f74;return c[_0x51dfa7(0x11b)];}get['PrintDirection'](){const _0x5ea849=_0x690f74;return c[_0x5ea849(0x126)];}get['PrintFreeze'](){const _0x4d3e92=_0x690f74;return e[_0x4d3e92(0x132)];}get[_0x690f74(0x12f)](){const _0x5abde5=_0x690f74;return e[_0x5abde5(0x12f)];}get[_0x690f74(0x13e)](){const _0x2284d3=_0x690f74;return e[_0x2284d3(0x13e)];}}g[_0x690f74(0x125)]['extend'](u);class l extends g[_0x690f74(0x117)]{['_initialize'](_0x53d83d){const _0x198c96=_0x690f74,_0x3457f0=_0x53d83d[_0x198c96(0x104)](a['ICommandService']);this['registerEventHandler'](this[_0x198c96(0x120)][_0x198c96(0x103)],()=>_0x3457f0['beforeCommandExecuted'](_0x4532aa=>{const _0x336d29=_0x198c96;if(_0x4532aa['id']===e['SheetPrintOpenOperation']['id']){const _0x5d7c8c=this[_0x336d29(0x10b)]();if(!_0x5d7c8c)return;const _0x2b1906={'workbook':_0x5d7c8c,'worksheet':_0x5d7c8c['getActiveSheet']()};if(_0x2b1906==null)return;if(this[_0x336d29(0x11c)](this[_0x336d29(0x120)][_0x336d29(0x103)],_0x2b1906),_0x2b1906[_0x336d29(0x13c)])throw new a[(_0x336d29(0x110))]();}})),this[_0x198c96(0x11f)](this[_0x198c96(0x120)][_0x198c96(0x10c)],()=>_0x3457f0[_0x198c96(0x128)](_0x2f7598=>{const _0x3a117a=_0x198c96;if(_0x2f7598['id']===e['ConfirmSheetPrintOperation']['id']){const _0x116b06=_0x53d83d['get'](e[_0x3a117a(0x138)]);if(!this[_0x3a117a(0x10b)]())return;const _0x2b33c9={'layoutConfig':_0x116b06[_0x3a117a(0x122)],'renderConfig':_0x116b06[_0x3a117a(0x111)]};if(_0x2b33c9==null)return;if(this[_0x3a117a(0x11c)](this['Event']['BeforeSheetPrintConfirm'],_0x2b33c9),_0x2b33c9[_0x3a117a(0x13c)])throw new a[(_0x3a117a(0x110))]();}})),this[_0x198c96(0x11f)](this['Event'][_0x198c96(0x116)],()=>_0x3457f0[_0x198c96(0x128)](_0x26e1c0=>{const _0x50e951=_0x198c96;if(_0x26e1c0['id']===e[_0x50e951(0x12e)]['id']){const _0x198988=_0x53d83d['get'](e[_0x50e951(0x138)]);if(!this[_0x50e951(0x10b)]())return;const _0x418223={'layoutConfig':_0x198988[_0x50e951(0x122)],'renderConfig':_0x198988[_0x50e951(0x111)]};if(_0x418223==null)return;if(this['fireEvent'](this[_0x50e951(0x120)][_0x50e951(0x116)],_0x418223),_0x418223['cancel'])throw new a[(_0x50e951(0x110))]();}})),this[_0x198c96(0x11f)](this[_0x198c96(0x120)][_0x198c96(0x10f)],()=>_0x3457f0[_0x198c96(0x114)](_0x5248a7=>{const _0x4f48e1=_0x198c96;if(_0x5248a7['id']===e[_0x4f48e1(0x121)]['id']){const _0x34e212=this[_0x4f48e1(0x10b)]();if(!_0x34e212)return;const _0x2d56fc={'workbook':_0x34e212,'worksheet':_0x34e212['getActiveSheet']()};if(_0x2d56fc==null)return;this[_0x4f48e1(0x11c)](this[_0x4f48e1(0x120)]['SheetPrintOpen'],_0x2d56fc);}})),this['registerEventHandler'](this[_0x198c96(0x120)][_0x198c96(0x123)],()=>_0x3457f0[_0x198c96(0x114)](_0x2f21ce=>{const _0x2a9910=_0x198c96;if(_0x2f21ce['id']===e[_0x2a9910(0x10a)]['id']){const _0x33c468=_0x53d83d['get'](e[_0x2a9910(0x138)]);if(!this[_0x2a9910(0x10b)]())return;const _0x4e1505={'layoutConfig':_0x33c468[_0x2a9910(0x122)],'renderConfig':_0x33c468['renderConfig']};if(_0x4e1505==null)return;this['fireEvent'](this[_0x2a9910(0x120)][_0x2a9910(0x123)],_0x4e1505);}})),this['registerEventHandler'](this[_0x198c96(0x120)][_0x198c96(0x12c)],()=>_0x3457f0[_0x198c96(0x114)](_0x4d5e9c=>{const _0x2bb872=_0x198c96;if(_0x4d5e9c['id']===e[_0x2bb872(0x12e)]['id']){const _0x867a0d=_0x53d83d[_0x2bb872(0x104)](e[_0x2bb872(0x138)]);if(!this[_0x2bb872(0x10b)]())return;const _0x5b3e10={'layoutConfig':_0x867a0d[_0x2bb872(0x122)],'renderConfig':_0x867a0d[_0x2bb872(0x111)]};if(_0x5b3e10==null)return;this['fireEvent'](this[_0x2bb872(0x120)][_0x2bb872(0x12c)],_0x5b3e10);}}));}}g['FUniver']['extend'](l);
|