@univerjs-pro/sheets-print 0.5.0 → 0.5.1
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 -0
- 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 -0
- 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/types/common/const.d.ts +38 -38
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/facade/f-range.d.ts +5 -2
- package/lib/types/facade/f-workbook.d.ts +1 -2
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/views/components/sheet-print-canvas-view.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 -0
- 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 +20 -18
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3b5d93=_0xdbe2;(function(_0x234660,_0x4cc829){const _0x37fdce=_0xdbe2,_0x5ed176=_0x234660();while(!![]){try{const _0x1579fd=parseInt(_0x37fdce(0x1a4))/0x1*(parseInt(_0x37fdce(0x1a8))/0x2)+parseInt(_0x37fdce(0x1a3))/0x3+parseInt(_0x37fdce(0x19e))/0x4*(parseInt(_0x37fdce(0x1b1))/0x5)+parseInt(_0x37fdce(0x1a0))/0x6*(parseInt(_0x37fdce(0x1b8))/0x7)+parseInt(_0x37fdce(0x1ab))/0x8*(-parseInt(_0x37fdce(0x1b5))/0x9)+-parseInt(_0x37fdce(0x19a))/0xa*(parseInt(_0x37fdce(0x1aa))/0xb)+parseInt(_0x37fdce(0x1b0))/0xc;if(_0x1579fd===_0x4cc829)break;else _0x5ed176['push'](_0x5ed176['shift']());}catch(_0x4ee2fb){_0x5ed176['push'](_0x5ed176['shift']());}}}(_0x3d3c,0xd26e5));function _0xdbe2(_0x4c0271,_0x521ee3){const _0x3d3c84=_0x3d3c();return _0xdbe2=function(_0xdbe28d,_0x919001){_0xdbe28d=_0xdbe28d-0x194;let _0x1b8304=_0x3d3c84[_0xdbe28d];return _0x1b8304;},_0xdbe2(_0x4c0271,_0x521ee3);}const t=require(_0x3b5d93(0x197)),n=require(_0x3b5d93(0x1ae)),e=require('@univerjs-pro/sheets-print');class o extends n[_0x3b5d93(0x1a7)]{[_0x3b5d93(0x1a5)](_0x12472c){const _0x4038da=_0x3b5d93;return this[_0x4038da(0x1b6)][_0x4038da(0x195)](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x12472c);}[_0x3b5d93(0x198)](_0x4282bc){const _0xe0e076=_0x3b5d93;return this[_0xe0e076(0x1b6)][_0xe0e076(0x195)](e[_0xe0e076(0x19c)])[_0xe0e076(0x1b7)](_0x4282bc);}[_0x3b5d93(0x19d)](){const _0x1b7d94=_0x3b5d93;return this[_0x1b7d94(0x1b6)][_0x1b7d94(0x195)](t['ICommandService'])[_0x1b7d94(0x1b4)](e[_0x1b7d94(0x1a1)]['id']);}[_0x3b5d93(0x1b2)](){const _0x51638d=_0x3b5d93;return this[_0x51638d(0x1b6)][_0x51638d(0x195)](t['ICommandService'])[_0x51638d(0x1b4)](e[_0x51638d(0x19b)]['id']);}[_0x3b5d93(0x1a2)](){const _0x25f9ed=_0x3b5d93;return this['_injector'][_0x25f9ed(0x195)](t['ICommandService'])['syncExecuteCommand'](e['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x42633e=_0x3b5d93;return e[_0x42633e(0x1a9)](this[_0x42633e(0x1b6)])?this[_0x42633e(0x1b6)][_0x42633e(0x195)](t['ICommandService'])['executeCommand'](e[_0x42633e(0x199)]['id']):!0x1;}}n[_0x3b5d93(0x1a7)][_0x3b5d93(0x19f)](o);function _0x3d3c(){const _0x31afc6=['30oNcrNw','SheetPrintOpenOperation','ISheetPrintManagerService','print','4YKlksE','extend','660hjLvXO','ConfirmSheetPrintOperation','closePrintDialog','2347194ZpVCXZ','1000WTtWfk','updatePrintConfig','getSheetId','FWorkbook','330HQTDFl','hasPrintFacadePermission','3700290zVzpGl','5283664RHRSlg','getUnitId','SheetPrintClientService','@univerjs/sheets/facade','_worksheet','20702592NCWANo','2213085kZNfUM','openPrintDialog','FRange','syncExecuteCommand','18UGJFXM','_injector','updateRenderConfig','4886PTZkao','getRangeImage','get','_range','@univerjs/core','updatePrintRenderConfig','SheetScreenShotOperation'];_0x3d3c=function(){return _0x31afc6;};return _0x3d3c();}class a extends n['FRange']{['getScreenshot'](){const _0x1c5ef1=_0x3b5d93;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x1c5ef1(0x1b6)][_0x1c5ef1(0x195)](e[_0x1c5ef1(0x1ad)])[_0x1c5ef1(0x194)](this['_workbook'][_0x1c5ef1(0x1ac)](),this[_0x1c5ef1(0x1af)][_0x1c5ef1(0x1a6)](),this[_0x1c5ef1(0x196)]):!0x1;}}n[_0x3b5d93(0x1b3)][_0x3b5d93(0x19f)](a);
|