@univerjs-pro/sheets-print 0.5.0 → 0.5.1-nightly.202411301606
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 _0x2af7a9=_0x26c1;(function(_0x16b726,_0xd5ed1a){const _0x3e41ab=_0x26c1,_0x29a801=_0x16b726();while(!![]){try{const _0x14bfd7=-parseInt(_0x3e41ab(0x1cd))/0x1*(parseInt(_0x3e41ab(0x1b7))/0x2)+parseInt(_0x3e41ab(0x1cb))/0x3*(parseInt(_0x3e41ab(0x1c6))/0x4)+-parseInt(_0x3e41ab(0x1c1))/0x5+-parseInt(_0x3e41ab(0x1c7))/0x6+-parseInt(_0x3e41ab(0x1b8))/0x7+-parseInt(_0x3e41ab(0x1b9))/0x8*(parseInt(_0x3e41ab(0x1bf))/0x9)+parseInt(_0x3e41ab(0x1bc))/0xa;if(_0x14bfd7===_0xd5ed1a)break;else _0x29a801['push'](_0x29a801['shift']());}catch(_0xa8fc36){_0x29a801['push'](_0x29a801['shift']());}}}(_0x333e,0xb8dec));function _0x26c1(_0x59eb78,_0x3a3632){const _0x333e39=_0x333e();return _0x26c1=function(_0x26c1cf,_0x4dcfc6){_0x26c1cf=_0x26c1cf-0x1af;let _0x2aa4b2=_0x333e39[_0x26c1cf];return _0x2aa4b2;},_0x26c1(_0x59eb78,_0x3a3632);}function _0x333e(){const _0x126a35=['SheetPrintOpenOperation','@univerjs/sheets/facade','6uVWgKb','ISheetPrintManagerService','1141849qfamgs','_range','_injector','closePrintDialog','print','openPrintDialog','_worksheet','extend','SheetPrintClientService','2HavbUk','7956445HiXTWo','680Ejgzxv','getSheetId','SheetScreenShotOperation','38905490TratAY','FWorkbook','updateRenderConfig','63981FhGKgR','syncExecuteCommand','1801415sBfOBQ','ICommandService','get','executeCommand','FRange','1585656UrjGYq','4098702HvQGXB','hasPrintFacadePermission'];_0x333e=function(){return _0x126a35;};return _0x333e();}const t=require('@univerjs/core'),n=require(_0x2af7a9(0x1ca)),e=require('@univerjs-pro/sheets-print');class o extends n[_0x2af7a9(0x1bd)]{['updatePrintConfig'](_0x256404){const _0x8244a1=_0x2af7a9;return this[_0x8244a1(0x1b0)][_0x8244a1(0x1c3)](e[_0x8244a1(0x1cc)])['updateLayoutConfig'](_0x256404);}['updatePrintRenderConfig'](_0x107251){const _0x450a4a=_0x2af7a9;return this[_0x450a4a(0x1b0)][_0x450a4a(0x1c3)](e[_0x450a4a(0x1cc)])[_0x450a4a(0x1be)](_0x107251);}[_0x2af7a9(0x1b2)](){const _0x5bb8f4=_0x2af7a9;return this[_0x5bb8f4(0x1b0)][_0x5bb8f4(0x1c3)](t[_0x5bb8f4(0x1c2)])[_0x5bb8f4(0x1c0)](e['ConfirmSheetPrintOperation']['id']);}[_0x2af7a9(0x1b3)](){const _0x4947ec=_0x2af7a9;return this[_0x4947ec(0x1b0)][_0x4947ec(0x1c3)](t[_0x4947ec(0x1c2)])[_0x4947ec(0x1c0)](e[_0x4947ec(0x1c9)]['id']);}[_0x2af7a9(0x1b1)](){const _0x45709f=_0x2af7a9;return this[_0x45709f(0x1b0)][_0x45709f(0x1c3)](t[_0x45709f(0x1c2)])[_0x45709f(0x1c0)](e['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x2b22e3=_0x2af7a9;return e[_0x2b22e3(0x1c8)](this['_injector'])?this[_0x2b22e3(0x1b0)][_0x2b22e3(0x1c3)](t[_0x2b22e3(0x1c2)])[_0x2b22e3(0x1c4)](e[_0x2b22e3(0x1bb)]['id']):!0x1;}}n[_0x2af7a9(0x1bd)]['extend'](o);class a extends n[_0x2af7a9(0x1c5)]{['getScreenshot'](){const _0x398713=_0x2af7a9;return e[_0x398713(0x1c8)](this[_0x398713(0x1b0)])?this[_0x398713(0x1b0)][_0x398713(0x1c3)](e[_0x398713(0x1b6)])['getRangeImage'](this['_workbook']['getUnitId'](),this[_0x398713(0x1b4)][_0x398713(0x1ba)](),this[_0x398713(0x1af)]):!0x1;}}n['FRange'][_0x2af7a9(0x1b5)](a);
|