@univerjs-pro/sheets-print 0.4.2 → 0.5.0-nightly.202411091605

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 (63) 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/index.d.ts +208 -4
  18. package/lib/umd/facade.js +1 -0
  19. package/lib/umd/index.js +1 -1
  20. package/lib/umd/locale/en-US.js +1 -0
  21. package/lib/umd/locale/fa-IR.js +1 -0
  22. package/lib/umd/locale/ru-RU.js +1 -0
  23. package/lib/umd/locale/vi-VN.js +1 -0
  24. package/lib/umd/locale/zh-CN.js +1 -0
  25. package/lib/umd/locale/zh-TW.js +1 -0
  26. package/package.json +43 -25
  27. package/lib/locale/en-US.json +0 -135
  28. package/lib/locale/fa-IR.json +0 -135
  29. package/lib/locale/ru-RU.json +0 -135
  30. package/lib/locale/vi-VN.json +0 -135
  31. package/lib/locale/zh-CN.json +0 -135
  32. package/lib/locale/zh-TW.json +0 -135
  33. package/lib/types/commands/operations/sheet-print.operation.d.ts +0 -10
  34. package/lib/types/commands/operations/sheet-screenshot.operation.d.ts +0 -3
  35. package/lib/types/common/const.d.ts +0 -64
  36. package/lib/types/common/constant.d.ts +0 -4
  37. package/lib/types/common/hooks.d.ts +0 -1
  38. package/lib/types/common/plugin-name.d.ts +0 -1
  39. package/lib/types/common/types.d.ts +0 -68
  40. package/lib/types/controllers/config.schema.d.ts +0 -7
  41. package/lib/types/controllers/const.d.ts +0 -1
  42. package/lib/types/controllers/menu.d.ts +0 -4
  43. package/lib/types/controllers/menu.schema.d.ts +0 -2
  44. package/lib/types/controllers/sheet-print.controller.d.ts +0 -22
  45. package/lib/types/controllers/shortcut.d.ts +0 -2
  46. package/lib/types/locale/en-US.d.ts +0 -3
  47. package/lib/types/locale/fa-IR.d.ts +0 -3
  48. package/lib/types/locale/ru-RU.d.ts +0 -3
  49. package/lib/types/locale/vi-VN.d.ts +0 -3
  50. package/lib/types/locale/zh-CN.d.ts +0 -136
  51. package/lib/types/locale/zh-TW.d.ts +0 -3
  52. package/lib/types/models/model.d.ts +0 -0
  53. package/lib/types/plugin.d.ts +0 -12
  54. package/lib/types/services/sheet-print-license.service.d.ts +0 -18
  55. package/lib/types/services/sheet-print-manager.service.d.ts +0 -102
  56. package/lib/types/services/sheet-print.service.d.ts +0 -14
  57. package/lib/types/utils/crypto/index.d.ts +0 -9
  58. package/lib/types/utils/header-footer.d.ts +0 -21
  59. package/lib/types/utils/util.d.ts +0 -6
  60. package/lib/types/views/components/footer-header-editor/index.d.ts +0 -5
  61. package/lib/types/views/components/sheet-print-canvas-view.d.ts +0 -67
  62. package/lib/types/views/components/sheet-print-page-preview.d.ts +0 -9
  63. package/lib/types/views/components/sheet-print-view.d.ts +0 -2
@@ -0,0 +1 @@
1
+ 'use strict';const _0x1df72f=_0x497a;(function(_0x3b1504,_0x4daf72){const _0x1aa005=_0x497a,_0x59cebd=_0x3b1504();while(!![]){try{const _0x4f292a=-parseInt(_0x1aa005(0x81))/0x1+parseInt(_0x1aa005(0x94))/0x2*(-parseInt(_0x1aa005(0x97))/0x3)+-parseInt(_0x1aa005(0x90))/0x4*(-parseInt(_0x1aa005(0x7a))/0x5)+-parseInt(_0x1aa005(0x8d))/0x6+-parseInt(_0x1aa005(0x84))/0x7+parseInt(_0x1aa005(0x86))/0x8*(-parseInt(_0x1aa005(0x7d))/0x9)+-parseInt(_0x1aa005(0x96))/0xa*(-parseInt(_0x1aa005(0x88))/0xb);if(_0x4f292a===_0x4daf72)break;else _0x59cebd['push'](_0x59cebd['shift']());}catch(_0xdd7860){_0x59cebd['push'](_0x59cebd['shift']());}}}(_0x19d8,0xef24b));function _0x19d8(){const _0x312ff9=['7970436GyhkJW','@univerjs-pro/sheets-print','openPrintDialog','212kozvwB','closePrintDialog','SheetPrintClientService','SheetScreenShotOperation','4946PyCXTw','updatePrintConfig','3440210ZjbfLY','51kmvgTY','FRange','hasPrintFacadePermission','getSheetId','_worksheet','_injector','getUnitId','@univerjs/sheets/facade','SheetPrintOpenOperation','saveScreenshotToClipboard','133235Jeayss','ISheetPrintManagerService','get','18InvyLP','getRangeImage','updatePrintRenderConfig','extend','701037lRFaIu','ConfirmSheetPrintOperation','updateRenderConfig','4651787wQgZKK','syncExecuteCommand','5923864UXqHPj','@univerjs/core','121FrxqLu','_range','executeCommand','FWorkbook','ICommandService'];_0x19d8=function(){return _0x312ff9;};return _0x19d8();}function _0x497a(_0x3a7e89,_0x3dcab0){const _0x19d86d=_0x19d8();return _0x497a=function(_0x497ae1,_0x289cb2){_0x497ae1=_0x497ae1-0x79;let _0x4bdf6f=_0x19d86d[_0x497ae1];return _0x4bdf6f;},_0x497a(_0x3a7e89,_0x3dcab0);}const t=require(_0x1df72f(0x87)),n=require(_0x1df72f(0x9e)),e=require(_0x1df72f(0x8e));class o extends n[_0x1df72f(0x8b)]{[_0x1df72f(0x95)](_0x402f02){const _0x37b9a4=_0x1df72f;return this['_injector'][_0x37b9a4(0x7c)](e[_0x37b9a4(0x7b)])['updateLayoutConfig'](_0x402f02);}[_0x1df72f(0x7f)](_0x15d402){const _0x4a2eb7=_0x1df72f;return this[_0x4a2eb7(0x9c)][_0x4a2eb7(0x7c)](e[_0x4a2eb7(0x7b)])[_0x4a2eb7(0x83)](_0x15d402);}['print'](){const _0xb0c22b=_0x1df72f;return this['_injector'][_0xb0c22b(0x7c)](t[_0xb0c22b(0x8c)])[_0xb0c22b(0x85)](e[_0xb0c22b(0x82)]['id']);}[_0x1df72f(0x8f)](){const _0x16f1d3=_0x1df72f;return this[_0x16f1d3(0x9c)][_0x16f1d3(0x7c)](t[_0x16f1d3(0x8c)])['syncExecuteCommand'](e[_0x16f1d3(0x9f)]['id']);}[_0x1df72f(0x91)](){const _0x452e3c=_0x1df72f;return this[_0x452e3c(0x9c)][_0x452e3c(0x7c)](t[_0x452e3c(0x8c)])[_0x452e3c(0x85)](e['CancelSheetPrintOperation']['id']);}async[_0x1df72f(0x79)](){const _0x4f8036=_0x1df72f;return e[_0x4f8036(0x99)](this[_0x4f8036(0x9c)])?this[_0x4f8036(0x9c)]['get'](t['ICommandService'])[_0x4f8036(0x8a)](e[_0x4f8036(0x93)]['id']):!0x1;}}n['FWorkbook']['extend'](o);class a extends n[_0x1df72f(0x98)]{['getScreenshot'](){const _0x4e4337=_0x1df72f;return e[_0x4e4337(0x99)](this[_0x4e4337(0x9c)])?this[_0x4e4337(0x9c)][_0x4e4337(0x7c)](e[_0x4e4337(0x92)])[_0x4e4337(0x7e)](this['_workbook'][_0x4e4337(0x9d)](),this[_0x4e4337(0x9b)][_0x4e4337(0x9a)](),this[_0x4e4337(0x89)]):!0x1;}}n[_0x1df72f(0x98)][_0x1df72f(0x80)](a);