@univerjs-pro/sheets-print 0.4.2 → 0.5.0-beta.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.
Files changed (43) hide show
  1. package/lib/cjs/facade.js +1 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -0
  4. package/lib/cjs/locale/fa-IR.js +1 -0
  5. package/lib/cjs/locale/ru-RU.js +1 -0
  6. package/lib/cjs/locale/vi-VN.js +1 -0
  7. package/lib/cjs/locale/zh-CN.js +1 -0
  8. package/lib/cjs/locale/zh-TW.js +1 -0
  9. package/lib/es/facade.js +1 -0
  10. package/lib/es/index.js +1 -1
  11. package/lib/es/locale/en-US.js +1 -0
  12. package/lib/es/locale/fa-IR.js +1 -0
  13. package/lib/es/locale/ru-RU.js +1 -0
  14. package/lib/es/locale/vi-VN.js +1 -0
  15. package/lib/es/locale/zh-CN.js +1 -0
  16. package/lib/es/locale/zh-TW.js +1 -0
  17. package/lib/types/common/const.d.ts +40 -40
  18. package/lib/types/common/types.d.ts +6 -2
  19. package/lib/types/controllers/const.d.ts +1 -1
  20. package/lib/types/facade/f-range.d.ts +23 -0
  21. package/lib/types/facade/f-workbook.d.ts +43 -0
  22. package/lib/types/facade/index.d.ts +2 -0
  23. package/lib/types/index.d.ts +5 -1
  24. package/lib/types/locale/zh-CN.d.ts +4 -0
  25. package/lib/types/utils/header-footer.d.ts +4 -2
  26. package/lib/types/utils/util.d.ts +2 -0
  27. package/lib/types/views/components/sheet-print-canvas-view.d.ts +3 -0
  28. package/lib/umd/facade.js +1 -0
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -0
  31. package/lib/umd/locale/fa-IR.js +1 -0
  32. package/lib/umd/locale/ru-RU.js +1 -0
  33. package/lib/umd/locale/vi-VN.js +1 -0
  34. package/lib/umd/locale/zh-CN.js +1 -0
  35. package/lib/umd/locale/zh-TW.js +1 -0
  36. package/package.json +44 -27
  37. package/lib/locale/en-US.json +0 -135
  38. package/lib/locale/fa-IR.json +0 -135
  39. package/lib/locale/ru-RU.json +0 -135
  40. package/lib/locale/vi-VN.json +0 -135
  41. package/lib/locale/zh-CN.json +0 -135
  42. package/lib/locale/zh-TW.json +0 -135
  43. package/lib/types/services/sheet-print-license.service.d.ts +0 -18
@@ -0,0 +1 @@
1
+ 'use strict';const _0x1bfb25=_0x5b01;(function(_0x72a753,_0x11e5c9){const _0x520c8d=_0x5b01,_0x528530=_0x72a753();while(!![]){try{const _0x180239=parseInt(_0x520c8d(0xa7))/0x1*(parseInt(_0x520c8d(0xa5))/0x2)+parseInt(_0x520c8d(0x97))/0x3+parseInt(_0x520c8d(0xa3))/0x4+parseInt(_0x520c8d(0x8d))/0x5+-parseInt(_0x520c8d(0x91))/0x6*(-parseInt(_0x520c8d(0x90))/0x7)+parseInt(_0x520c8d(0x9e))/0x8+-parseInt(_0x520c8d(0x87))/0x9*(parseInt(_0x520c8d(0x99))/0xa);if(_0x180239===_0x11e5c9)break;else _0x528530['push'](_0x528530['shift']());}catch(_0x18360a){_0x528530['push'](_0x528530['shift']());}}}(_0x1a78,0x9b67f));const t=require(_0x1bfb25(0x95)),n=require('@univerjs/sheets/facade'),e=require(_0x1bfb25(0x93));class o extends n[_0x1bfb25(0xa6)]{[_0x1bfb25(0xa4)](_0x99e105){const _0x65d1fa=_0x1bfb25;return this[_0x65d1fa(0x8f)]['get'](e[_0x65d1fa(0x9a)])['updateLayoutConfig'](_0x99e105);}[_0x1bfb25(0x9f)](_0x369679){const _0xb995b9=_0x1bfb25;return this[_0xb995b9(0x8f)][_0xb995b9(0x8c)](e[_0xb995b9(0x9a)])[_0xb995b9(0x8a)](_0x369679);}[_0x1bfb25(0x88)](){const _0x28d53e=_0x1bfb25;return this[_0x28d53e(0x8f)][_0x28d53e(0x8c)](t[_0x28d53e(0x92)])[_0x28d53e(0xa1)](e['ConfirmSheetPrintOperation']['id']);}[_0x1bfb25(0x94)](){const _0x26432b=_0x1bfb25;return this[_0x26432b(0x8f)]['get'](t['ICommandService'])[_0x26432b(0xa1)](e['SheetPrintOpenOperation']['id']);}[_0x1bfb25(0x89)](){const _0xcfbbca=_0x1bfb25;return this['_injector'][_0xcfbbca(0x8c)](t[_0xcfbbca(0x92)])['syncExecuteCommand'](e[_0xcfbbca(0xa8)]['id']);}async['saveScreenshotToClipboard'](){const _0x5add59=_0x1bfb25;return e[_0x5add59(0x9c)](this[_0x5add59(0x8f)])?this[_0x5add59(0x8f)][_0x5add59(0x8c)](t[_0x5add59(0x92)])[_0x5add59(0x96)](e[_0x5add59(0x9d)]['id']):!0x1;}}function _0x5b01(_0x15649b,_0x16af9a){const _0x1a7802=_0x1a78();return _0x5b01=function(_0x5b01c0,_0x35b0c2){_0x5b01c0=_0x5b01c0-0x87;let _0x428f72=_0x1a7802[_0x5b01c0];return _0x428f72;},_0x5b01(_0x15649b,_0x16af9a);}n[_0x1bfb25(0xa6)][_0x1bfb25(0x8e)](o);class a extends n[_0x1bfb25(0x8b)]{['getScreenshot'](){const _0xe4af5f=_0x1bfb25;return e['hasPrintFacadePermission'](this[_0xe4af5f(0x8f)])?this[_0xe4af5f(0x8f)][_0xe4af5f(0x8c)](e['SheetPrintClientService'])[_0xe4af5f(0x98)](this['_workbook'][_0xe4af5f(0x9b)](),this['_worksheet'][_0xe4af5f(0xa0)](),this[_0xe4af5f(0xa2)]):!0x1;}}n[_0x1bfb25(0x8b)][_0x1bfb25(0x8e)](a);function _0x1a78(){const _0x28bc36=['FRange','get','19050aqrGxh','extend','_injector','9289tvdRbX','4614BEGTBs','ICommandService','@univerjs-pro/sheets-print','openPrintDialog','@univerjs/core','executeCommand','29595ipqJCD','getRangeImage','180mcqazf','ISheetPrintManagerService','getUnitId','hasPrintFacadePermission','SheetScreenShotOperation','2840224bwIKaD','updatePrintRenderConfig','getSheetId','syncExecuteCommand','_range','5005292zeExQo','updatePrintConfig','4IaSMfT','FWorkbook','597138TFNJAh','CancelSheetPrintOperation','1599111KpzqtR','print','closePrintDialog','updateRenderConfig'];_0x1a78=function(){return _0x28bc36;};return _0x1a78();}