@univerjs-pro/sheets-print 0.4.2 → 0.5.0-alpha.0
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 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/index.d.ts +208 -4
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +43 -25
- package/lib/locale/en-US.json +0 -135
- package/lib/locale/fa-IR.json +0 -135
- package/lib/locale/ru-RU.json +0 -135
- package/lib/locale/vi-VN.json +0 -135
- package/lib/locale/zh-CN.json +0 -135
- package/lib/locale/zh-TW.json +0 -135
- package/lib/types/commands/operations/sheet-print.operation.d.ts +0 -10
- package/lib/types/commands/operations/sheet-screenshot.operation.d.ts +0 -3
- package/lib/types/common/const.d.ts +0 -64
- package/lib/types/common/constant.d.ts +0 -4
- package/lib/types/common/hooks.d.ts +0 -1
- package/lib/types/common/plugin-name.d.ts +0 -1
- package/lib/types/common/types.d.ts +0 -68
- package/lib/types/controllers/config.schema.d.ts +0 -7
- package/lib/types/controllers/const.d.ts +0 -1
- package/lib/types/controllers/menu.d.ts +0 -4
- package/lib/types/controllers/menu.schema.d.ts +0 -2
- package/lib/types/controllers/sheet-print.controller.d.ts +0 -22
- package/lib/types/controllers/shortcut.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -136
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/types/models/model.d.ts +0 -0
- package/lib/types/plugin.d.ts +0 -12
- package/lib/types/services/sheet-print-license.service.d.ts +0 -18
- package/lib/types/services/sheet-print-manager.service.d.ts +0 -102
- package/lib/types/services/sheet-print.service.d.ts +0 -14
- package/lib/types/utils/crypto/index.d.ts +0 -9
- package/lib/types/utils/header-footer.d.ts +0 -21
- package/lib/types/utils/util.d.ts +0 -6
- package/lib/types/views/components/footer-header-editor/index.d.ts +0 -5
- package/lib/types/views/components/sheet-print-canvas-view.d.ts +0 -67
- package/lib/types/views/components/sheet-print-page-preview.d.ts +0 -9
- package/lib/types/views/components/sheet-print-view.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0xa44d81=_0x4ef5;(function(_0x240639,_0x17aa51){const _0x25d656=_0x4ef5,_0x3ae9c2=_0x240639();while(!![]){try{const _0x281c3c=parseInt(_0x25d656(0x136))/0x1+parseInt(_0x25d656(0x131))/0x2*(parseInt(_0x25d656(0x141))/0x3)+parseInt(_0x25d656(0x145))/0x4*(-parseInt(_0x25d656(0x13d))/0x5)+-parseInt(_0x25d656(0x142))/0x6+parseInt(_0x25d656(0x129))/0x7*(parseInt(_0x25d656(0x137))/0x8)+parseInt(_0x25d656(0x12c))/0x9*(-parseInt(_0x25d656(0x133))/0xa)+-parseInt(_0x25d656(0x13f))/0xb;if(_0x281c3c===_0x17aa51)break;else _0x3ae9c2['push'](_0x3ae9c2['shift']());}catch(_0x588e29){_0x3ae9c2['push'](_0x3ae9c2['shift']());}}}(_0x1b03,0xe95a5));const t=require(_0xa44d81(0x13a)),n=require(_0xa44d81(0x124)),e=require(_0xa44d81(0x122));function _0x1b03(){const _0x2cf5e4=['476TigFAd','_worksheet','updatePrintConfig','@univerjs-pro/sheets-print','get','@univerjs/sheets/facade','ICommandService','_injector','openPrintDialog','saveScreenshotToClipboard','11718014wvCuZe','hasPrintFacadePermission','syncExecuteCommand','2511288ZGKzlf','ISheetPrintManagerService','SheetPrintOpenOperation','getRangeImage','CancelSheetPrintOperation','1253566OoNqmv','_workbook','30BUOIIH','getUnitId','FWorkbook','1841119vqfnjE','8mtNesG','FRange','SheetScreenShotOperation','@univerjs/core','ConfirmSheetPrintOperation','closePrintDialog','17775nUdFPb','extend','18552787RwTKHj','print','3bijxWp','1435998fWRIYp','getSheetId','updatePrintRenderConfig'];_0x1b03=function(){return _0x2cf5e4;};return _0x1b03();}class o extends n['FWorkbook']{[_0xa44d81(0x121)](_0x22f99d){const _0x472fd5=_0xa44d81;return this[_0x472fd5(0x126)]['get'](e[_0x472fd5(0x12d)])['updateLayoutConfig'](_0x22f99d);}[_0xa44d81(0x144)](_0x138f88){const _0x37a386=_0xa44d81;return this[_0x37a386(0x126)][_0x37a386(0x123)](e[_0x37a386(0x12d)])['updateRenderConfig'](_0x138f88);}[_0xa44d81(0x140)](){const _0x4c73e3=_0xa44d81;return this['_injector'][_0x4c73e3(0x123)](t[_0x4c73e3(0x125)])[_0x4c73e3(0x12b)](e[_0x4c73e3(0x13b)]['id']);}[_0xa44d81(0x127)](){const _0x2adf73=_0xa44d81;return this['_injector']['get'](t[_0x2adf73(0x125)])[_0x2adf73(0x12b)](e[_0x2adf73(0x12e)]['id']);}[_0xa44d81(0x13c)](){const _0x19cbe3=_0xa44d81;return this['_injector'][_0x19cbe3(0x123)](t[_0x19cbe3(0x125)])[_0x19cbe3(0x12b)](e[_0x19cbe3(0x130)]['id']);}async[_0xa44d81(0x128)](){const _0x378da8=_0xa44d81;return e[_0x378da8(0x12a)](this['_injector'])?this[_0x378da8(0x126)][_0x378da8(0x123)](t[_0x378da8(0x125)])['executeCommand'](e[_0x378da8(0x139)]['id']):!0x1;}}n[_0xa44d81(0x135)][_0xa44d81(0x13e)](o);class a extends n[_0xa44d81(0x138)]{['getScreenshot'](){const _0x47c8f0=_0xa44d81;return e[_0x47c8f0(0x12a)](this[_0x47c8f0(0x126)])?this[_0x47c8f0(0x126)][_0x47c8f0(0x123)](e['SheetPrintClientService'])[_0x47c8f0(0x12f)](this[_0x47c8f0(0x132)][_0x47c8f0(0x134)](),this[_0x47c8f0(0x120)][_0x47c8f0(0x143)](),this['_range']):!0x1;}}function _0x4ef5(_0x2677ee,_0x405c11){const _0x1b03c4=_0x1b03();return _0x4ef5=function(_0x4ef569,_0x404184){_0x4ef569=_0x4ef569-0x120;let _0x421431=_0x1b03c4[_0x4ef569];return _0x421431;},_0x4ef5(_0x2677ee,_0x405c11);}n[_0xa44d81(0x138)]['extend'](a);
|