@univerjs-pro/sheets-print 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506181607
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 +39 -39
- 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';const _0x477b28=_0x2412;(function(_0x28274f,_0x532b53){const _0x4874c4=_0x2412,_0x1ebfcd=_0x28274f();while(!![]){try{const _0x559e51=-parseInt(_0x4874c4(0x204))/0x1+parseInt(_0x4874c4(0x1ed))/0x2*(parseInt(_0x4874c4(0x1d6))/0x3)+parseInt(_0x4874c4(0x205))/0x4+-parseInt(_0x4874c4(0x1e0))/0x5+parseInt(_0x4874c4(0x1e3))/0x6+parseInt(_0x4874c4(0x212))/0x7*(parseInt(_0x4874c4(0x1d8))/0x8)+parseInt(_0x4874c4(0x1f6))/0x9*(-parseInt(_0x4874c4(0x211))/0xa);if(_0x559e51===_0x532b53)break;else _0x1ebfcd['push'](_0x1ebfcd['shift']());}catch(_0x2e618d){_0x1ebfcd['push'](_0x1ebfcd['shift']());}}}(_0x3cbd,0xdea29));function _0x2412(_0x52d104,_0x45690d){const _0x3cbd59=_0x3cbd();return _0x2412=function(_0x2412db,_0x6b748d){_0x2412db=_0x2412db-0x1d0;let _0x4087ff=_0x3cbd59[_0x2412db];return _0x4087ff;},_0x2412(_0x52d104,_0x45690d);}const e=require(_0x477b28(0x1f0)),a=require(_0x477b28(0x213)),d=require(_0x477b28(0x1d9)),g=require(_0x477b28(0x1ff)),c=require('@univerjs-pro/print');class S extends d[_0x477b28(0x1f2)]{[_0x477b28(0x1e5)](_0x223fdb){return this['_injector']['get'](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x223fdb),this;}[_0x477b28(0x1fe)](_0x5040ec){const _0x1328c1=_0x477b28;return this[_0x1328c1(0x208)][_0x1328c1(0x1d1)](e['ISheetPrintManagerService'])[_0x1328c1(0x209)](_0x5040ec),this;}['print'](){const _0x451a83=_0x477b28;return this[_0x451a83(0x208)][_0x451a83(0x1d1)](a[_0x451a83(0x20a)])[_0x451a83(0x1e4)](e[_0x451a83(0x1f1)]['id']);}[_0x477b28(0x1e9)](){const _0x475b6b=_0x477b28;return this['_injector'][_0x475b6b(0x1d1)](a[_0x475b6b(0x20a)])[_0x475b6b(0x1e4)](e[_0x475b6b(0x1d2)]['id']);}['closePrintDialog'](){const _0x513589=_0x477b28;return this[_0x513589(0x208)][_0x513589(0x1d1)](a[_0x513589(0x20a)])[_0x513589(0x1e4)](e[_0x513589(0x20f)]['id']);}async[_0x477b28(0x1f9)](){const _0x1f66f6=_0x477b28;return e[_0x1f66f6(0x1f3)](this[_0x1f66f6(0x208)])?this['_injector'][_0x1f66f6(0x1d1)](a['ICommandService'])[_0x1f66f6(0x1fd)](e[_0x1f66f6(0x1de)]['id']):!0x1;}}function _0x3cbd(){const _0x4ca013=['_initialize','99gBcNqN','FUniver','getActiveUniverSheet','saveScreenshotToClipboard','cancel','BeforeSheetPrintOpen','Event','executeCommand','updatePrintRenderConfig','@univerjs/core/facade','PrintScale','PrintDirection','PrintHeaderFooter','_workbook','932351ngDpKS','5953824uxNsqJ','SheetPrintCanceled','PrintArea','_injector','updateRenderConfig','ICommandService','PrintPaperSize','getActiveSheet','PrintAlign','CanceledError','CancelSheetPrintOperation','FEnum','1070800OsdmIe','3728802XtmIHU','@univerjs/core','PrintFreeze','get','SheetPrintOpenOperation','SheetPrintClientService','FRange','extend','6CahRWh','SheetPrintConfirmed','24lNsWzG','@univerjs/sheets/facade','SheetPrintOpen','beforeCommandExecuted','PrintPaperMargin','renderConfig','SheetScreenShotOperation','fireEvent','4788435dtdeEo','PaperType','onCommandExecuted','1562310pregSF','syncExecuteCommand','updatePrintConfig','registerEventHandler','_worksheet','layoutConfig','openPrintDialog','BeforeSheetPrintCanceled','ISheetPrintManagerService','PrintHeaderFooterSymbol','632932EMMRLC','BeforeSheetPrintConfirm','getUnitId','@univerjs-pro/sheets-print','ConfirmSheetPrintOperation','FWorkbook','hasPrintFacadePermission','_range'];_0x3cbd=function(){return _0x4ca013;};return _0x3cbd();}d['FWorkbook'][_0x477b28(0x1d5)](S);class f extends d[_0x477b28(0x1d4)]{['getScreenshot'](){const _0x3344f7=_0x477b28;return e[_0x3344f7(0x1f3)](this[_0x3344f7(0x208)])?this[_0x3344f7(0x208)]['get'](e[_0x3344f7(0x1d3)])['getRangeImage'](this[_0x3344f7(0x203)][_0x3344f7(0x1ef)](),this[_0x3344f7(0x1e7)]['getSheetId'](),this[_0x3344f7(0x1f4)]):!0x1;}}d[_0x477b28(0x1d4)][_0x477b28(0x1d5)](f);class P{get[_0x477b28(0x1fb)](){const _0x21d659=_0x477b28;return _0x21d659(0x1fb);}get[_0x477b28(0x1ee)](){const _0x5e8c10=_0x477b28;return _0x5e8c10(0x1ee);}get[_0x477b28(0x1ea)](){const _0x2a60dd=_0x477b28;return _0x2a60dd(0x1ea);}get[_0x477b28(0x1da)](){const _0x4737e7=_0x477b28;return _0x4737e7(0x1da);}get[_0x477b28(0x1d7)](){const _0x241a0e=_0x477b28;return _0x241a0e(0x1d7);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}g['FEventName'][_0x477b28(0x1d5)](P);class u{get[_0x477b28(0x207)](){return e['PrintArea'];}get[_0x477b28(0x20d)](){const _0x20038f=_0x477b28;return c[_0x20038f(0x20d)];}get[_0x477b28(0x20b)](){const _0x44b114=_0x477b28;return a[_0x44b114(0x1e1)];}get['PrintPaperMargin'](){const _0x4b9c9d=_0x477b28;return c[_0x4b9c9d(0x1dc)];}get['PrintScale'](){const _0x2ec1c3=_0x477b28;return c[_0x2ec1c3(0x200)];}get[_0x477b28(0x201)](){const _0x14b23a=_0x477b28;return c[_0x14b23a(0x201)];}get['PrintFreeze'](){const _0x4638ac=_0x477b28;return e[_0x4638ac(0x1d0)];}get[_0x477b28(0x202)](){const _0x1780b9=_0x477b28;return e[_0x1780b9(0x202)];}get[_0x477b28(0x1ec)](){const _0x4706ea=_0x477b28;return e[_0x4706ea(0x1ec)];}}g[_0x477b28(0x210)][_0x477b28(0x1d5)](u);class l extends g[_0x477b28(0x1f7)]{[_0x477b28(0x1f5)](_0x364b14){const _0x47ca54=_0x477b28,_0x3cb7b4=_0x364b14[_0x47ca54(0x1d1)](a['ICommandService']);this[_0x47ca54(0x1e6)](this[_0x47ca54(0x1fc)][_0x47ca54(0x1fb)],()=>_0x3cb7b4[_0x47ca54(0x1db)](_0x204645=>{const _0x411187=_0x47ca54;if(_0x204645['id']===e[_0x411187(0x1d2)]['id']){const _0x4ce496=this['getActiveUniverSheet']();if(!_0x4ce496)return;const _0x36491c={'workbook':_0x4ce496,'worksheet':_0x4ce496['getActiveSheet']()};if(_0x36491c==null)return;if(this[_0x411187(0x1df)](this['Event']['BeforeSheetPrintOpen'],_0x36491c),_0x36491c[_0x411187(0x1fa)])throw new a[(_0x411187(0x20e))]();}})),this[_0x47ca54(0x1e6)](this[_0x47ca54(0x1fc)][_0x47ca54(0x1ee)],()=>_0x3cb7b4[_0x47ca54(0x1db)](_0x5acff1=>{const _0x27966d=_0x47ca54;if(_0x5acff1['id']===e[_0x27966d(0x1f1)]['id']){const _0x59d4bf=_0x364b14[_0x27966d(0x1d1)](e['ISheetPrintManagerService']);if(!this[_0x27966d(0x1f8)]())return;const _0x3dbbc5={'layoutConfig':_0x59d4bf[_0x27966d(0x1e8)],'renderConfig':_0x59d4bf[_0x27966d(0x1dd)]};if(_0x3dbbc5==null)return;if(this[_0x27966d(0x1df)](this[_0x27966d(0x1fc)][_0x27966d(0x1ee)],_0x3dbbc5),_0x3dbbc5[_0x27966d(0x1fa)])throw new a[(_0x27966d(0x20e))]();}})),this[_0x47ca54(0x1e6)](this[_0x47ca54(0x1fc)][_0x47ca54(0x1ea)],()=>_0x3cb7b4[_0x47ca54(0x1db)](_0x2a460b=>{const _0x470b11=_0x47ca54;if(_0x2a460b['id']===e[_0x470b11(0x20f)]['id']){const _0x41084f=_0x364b14[_0x470b11(0x1d1)](e[_0x470b11(0x1eb)]);if(!this[_0x470b11(0x1f8)]())return;const _0x498b9e={'layoutConfig':_0x41084f[_0x470b11(0x1e8)],'renderConfig':_0x41084f[_0x470b11(0x1dd)]};if(_0x498b9e==null)return;if(this['fireEvent'](this[_0x470b11(0x1fc)]['BeforeSheetPrintCanceled'],_0x498b9e),_0x498b9e['cancel'])throw new a[(_0x470b11(0x20e))]();}})),this['registerEventHandler'](this[_0x47ca54(0x1fc)][_0x47ca54(0x1da)],()=>_0x3cb7b4[_0x47ca54(0x1e2)](_0x44d338=>{const _0x30e7c3=_0x47ca54;if(_0x44d338['id']===e['SheetPrintOpenOperation']['id']){const _0x59f0be=this[_0x30e7c3(0x1f8)]();if(!_0x59f0be)return;const _0x512f1c={'workbook':_0x59f0be,'worksheet':_0x59f0be[_0x30e7c3(0x20c)]()};if(_0x512f1c==null)return;this['fireEvent'](this[_0x30e7c3(0x1fc)][_0x30e7c3(0x1da)],_0x512f1c);}})),this[_0x47ca54(0x1e6)](this[_0x47ca54(0x1fc)][_0x47ca54(0x1d7)],()=>_0x3cb7b4[_0x47ca54(0x1e2)](_0x4885c6=>{const _0x17a4c5=_0x47ca54;if(_0x4885c6['id']===e[_0x17a4c5(0x1f1)]['id']){const _0x5eea70=_0x364b14[_0x17a4c5(0x1d1)](e['ISheetPrintManagerService']);if(!this[_0x17a4c5(0x1f8)]())return;const _0x1c7202={'layoutConfig':_0x5eea70[_0x17a4c5(0x1e8)],'renderConfig':_0x5eea70[_0x17a4c5(0x1dd)]};if(_0x1c7202==null)return;this[_0x17a4c5(0x1df)](this['Event'][_0x17a4c5(0x1d7)],_0x1c7202);}})),this[_0x47ca54(0x1e6)](this['Event'][_0x47ca54(0x206)],()=>_0x3cb7b4['onCommandExecuted'](_0x2be51e=>{const _0x24b695=_0x47ca54;if(_0x2be51e['id']===e[_0x24b695(0x20f)]['id']){const _0x38e150=_0x364b14[_0x24b695(0x1d1)](e[_0x24b695(0x1eb)]);if(!this[_0x24b695(0x1f8)]())return;const _0x1b929c={'layoutConfig':_0x38e150['layoutConfig'],'renderConfig':_0x38e150['renderConfig']};if(_0x1b929c==null)return;this[_0x24b695(0x1df)](this['Event']['SheetPrintCanceled'],_0x1b929c);}}));}}g[_0x477b28(0x1f7)][_0x477b28(0x1d5)](l);
|