@univerjs-pro/sheets-print 0.10.2 → 0.10.3-experimental.20250812-b4b6f1a

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 (52) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +38 -38
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/types/index.d.ts +7 -7
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +15 -15
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- N: string;
13
- Q: string;
14
- O: string;
15
- H: string;
16
- K: string;
17
- v: string;
12
+ y: string;
18
13
  q: string;
19
- r: string;
20
- o: string;
21
- G: string;
22
- B: string;
14
+ V: string;
15
+ c: string;
23
16
  J: string;
24
- n: string;
17
+ K: string;
18
+ e: string;
19
+ Z: string;
20
+ u: string;
25
21
  i: string;
26
- s: string;
27
- S: string;
22
+ I: string;
23
+ T: string;
24
+ m: string;
25
+ N: string;
26
+ G: string;
27
+ d: string;
28
28
  k: string;
29
- w: string;
29
+ n: string;
30
30
  b: string;
31
- y: string;
32
31
  F: string;
33
- x: string;
34
- d: string;
32
+ p: string;
33
+ E: string;
34
+ O: string;
35
+ S: string;
36
+ w: string;
37
+ z: string;
38
+ L: string;
35
39
  W: string;
36
- u: string;
37
- a: string;
38
- c: string;
40
+ v: string;
41
+ l: string;
42
+ D: string;
43
+ M: string;
44
+ X: string;
39
45
  A: string;
40
46
  f: string;
41
- P: string;
42
- E: string;
43
- Z: string;
44
- X: string;
47
+ B: string;
48
+ x: string;
45
49
  Y: string;
46
- z: string;
47
- e: string;
48
- R: string;
49
- m: string;
50
- l: string;
50
+ h: string;
51
+ j: string;
52
+ a: string;
53
+ r: string;
54
+ s: string;
51
55
  C: string;
52
- M: string;
53
- p: string;
54
- V: string;
55
- D: string;
56
+ R: string;
57
+ P: string;
58
+ Q: string;
59
+ o: string;
60
+ H: string;
56
61
  U: string;
57
62
  t: string;
58
- I: string;
59
- h: string;
60
63
  g: string;
61
- j: string;
62
- T: string;
63
- L: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "icxBak0x JnBuPdak0x(ykBnx4n, dcGykBMnP) { auP { B0x4a ykBnx4nlxi0U9uaZuu9P = ykBnx4n.4dyka('-'); B0x4a 0ukskxVn449sn = C3D2.d9u4n(9a0G(ykBnx4nlxi0U9uaZuu9P[Q])); ki (!0ukskxVn449sn.cJ) { 0ukskxVn449sn.cJ = 2cFGnu(ykBnx4nlxi0U9uaZuu9P[H]); } B0x4a k4T0ubnu = aPdn0i T0ubnuRy0G9y3B0dn !== 'cxJnikxnJ' && 4nyi kx4a9xBn0i T0ubnuRy0G9y3B0dn; B0x4a B0xanfa = k4T0ubnu ? 4nyi : 7kxJ07; B0x4a Fn449snT0uJ = B0xanfa.__194nvH__.d9u4n(ykBnx4nlxi0U9uaZuu9P[Q]); B0x4a Fn449sn = B0xanfa.__mnf__.4aukxskiP(Fn449snT0uJ); B0x4a 4ksx9acunT0uJ = B0xanfa.__194nvH__.d9u4n(ykBnx4nlxi0U9uaZuu9P[O]); B0x4a 4ksx9acun = B0xanfa.__mnf__.4aukxskiP(4ksx9acunT0uJ); B0x4a 4ksxj9ykJ = B0xanfa.__AnukiP__(4ksx9acun, Fn449sn, dcGykBMnP); B0x4a J0F9kx = 0ukskxVn449sn.JF; icxBak0x k4Y0F9kxV9aBSkxs(0U9aanux, 0m04a) { B0x4a d9aanux = 0U9aanux.undy9Bn(/^.+/, ''); B0x4a S04a = 0m04a.undy9Bn(/^.+/, ''); B0x4a d9aanuxU9ua4 = d9aanux.4dyka('.'); B0x4a S04aU9ua4 = S04a.4dyka('.'); ki (!d9aanux.kxBycJn4('*')) { unacux d9aanux === S04a; } ki (d9aanuxU9ua4.ynxsaS < Q || d9aanuxU9ua4[8] !== '*') { unacux i9y4n; } B0x4a d9aanux3ciikf = d9aanuxU9ua4.4ykBn(N).w0kx('.'); B0x4a S04a3ciikf = S04aU9ua4.4ykBn(-d9aanuxU9ua4.ynxsaS + N).w0kx('.'); unacux d9aanux3ciikf === S04a3ciikf; } yna J0F9kxj9ykJ = (J0F9kx && J0F9kx.ynxsaS) ? J0F9kx.40Fn((JFlanF) => k4Y0F9kxV9aBSkxs(JFlanF, y0B9ak0x.S04ax9Fn)) : aucn; ki (y0B9ak0x.S04ax9Fn === 'y0B9yS04a') { J0F9kxj9ykJ = aucn; } B0x4a A9ykJ = 4ksxj9ykJ && J0F9kxj9ykJ; unacux { A9ykJ, Fn449sn: 0ukskxVn449sn, }; } B9aBS (nuu0u) { unacux { A9ykJ: i9y4n, Fn449sn: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "NL0Izdp0 TmISDEzdp0(bdIm0wm, ELibdIrmD) { zSD { Ip0wz bdIm0wmj0NpPuSz9SSuD = bdIm0wm.wEbdz('-'); Ip0wz pSdGd01mwwuGm = a4RC.EuSwm(uzpi(bdIm0wmj0NpPuSz9SSuD[V])); dN (!pSdGd01mwwuGm.LT) { pSdGd01mwwuGm.LT = CLFimS(bdIm0wmj0NpPuSz9SSuD[J]); } Ip0wz dwHpSnmS = zDEmpN HpSnmSYbpiub4IpEm !== 'L0TmNd0mT' && wmbN d0wzu0ImpN HpSnmSYbpiub4IpEm; Ip0wz Ip0zmlz = dwHpSnmS ? wmbN : vd0Tpv; Ip0wz FmwwuGmHpST = Ip0zmlz.__Xuwm6J__.EuSwm(bdIm0wmj0NpPuSz9SSuD[V]); Ip0wz FmwwuGm = Ip0zmlz.__hml__.wzSd0GdND(FmwwuGmHpST); Ip0wz wdG0uzLSmHpST = Ip0zmlz.__Xuwm6J__.EuSwm(bdIm0wmj0NpPuSz9SSuD[c]); Ip0wz wdG0uzLSm = Ip0zmlz.__hml__.wzSd0GdND(wdG0uzLSmHpST); Ip0wz wdG0oubdT = Ip0zmlz.__WmSdND__(wdG0uzLSm, FmwwuGm, ELibdIrmD); Ip0wz TpFud0 = pSdGd01mwwuGm.TF; NL0Izdp0 dwfpFud01uzI7d0G(pPuzzmS0, phpwz) { Ip0wz EuzzmS0 = pPuzzmS0.SmEbuIm(/^.+/, ''); Ip0wz 7pwz = phpwz.SmEbuIm(/^.+/, ''); Ip0wz EuzzmS0PuSzw = EuzzmS0.wEbdz('.'); Ip0wz 7pwzPuSzw = 7pwz.wEbdz('.'); dN (!EuzzmS0.d0IbLTmw('*')) { SmzLS0 EuzzmS0 === 7pwz; } dN (EuzzmS0PuSzw.bm0Gz7 < V || EuzzmS0PuSzw[y] !== '*') { SmzLS0 Nubwm; } Ip0wz EuzzmS04LNNdl = EuzzmS0PuSzw.wbdIm(q).kpd0('.'); Ip0wz 7pwz4LNNdl = 7pwzPuSzw.wbdIm(-EuzzmS0PuSzw.bm0Gz7 + q).kpd0('.'); SmzLS0 EuzzmS04LNNdl === 7pwz4LNNdl; } bmz TpFud0oubdT = (TpFud0 && TpFud0.bm0Gz7) ? TpFud0.wpFm((TFjzmF) => dwfpFud01uzI7d0G(TFjzmF, bpIuzdp0.7pwz0uFm)) : zSLm; dN (bpIuzdp0.7pwz0uFm === 'bpIub7pwz') { TpFud0oubdT = zSLm; } Ip0wz WubdT = wdG0oubdT && TpFud0oubdT; SmzLS0 { WubdT, FmwwuGm: pSdGd01mwwuGm, }; } IuzI7 (mSSpS) { SmzLS0 { WubdT: Nubwm, FmwwuGm: {}, }; }}";
@@ -1,11 +1,11 @@
1
1
  import './global.css';
2
- export type { ISheetPrintLayoutConfig, ISheetPrintRenderConfig } from './common/types';
3
- export { ISheetPrintManagerService } from './services/sheet-print-manager.service';
4
- export { hasPrintFacadePermission } from './utils/util';
5
- export { UniverSheetsPrintPlugin } from './plugin';
6
- export { SheetPrintClientService } from './services/sheet-print.service';
7
- export { PrintArea, PrintFreeze, PrintHeaderFooter, PrintHeaderFooterSymbol } from './common/types';
8
2
  export { CancelSheetPrintOperation, ConfirmSheetPrintOperation, SheetPrintOpenOperation, SheetPrintOperation, } from './commands/operations/sheet-print.operation';
9
3
  export { SheetScreenShotOperation } from './commands/operations/sheet-screenshot.operation';
10
- export { SheetPrintManagerService } from './services/sheet-print-manager.service';
4
+ export type { ISheetPrintLayoutConfig, ISheetPrintRenderConfig } from './common/types';
5
+ export { PrintArea, PrintFreeze, PrintHeaderFooter, PrintHeaderFooterSymbol } from './common/types';
11
6
  export type { IUniverSheetsPrintConfig } from './controllers/config.schema';
7
+ export { UniverSheetsPrintPlugin } from './plugin';
8
+ export { ISheetPrintManagerService } from './services/sheet-print-manager.service';
9
+ export { SheetPrintManagerService } from './services/sheet-print-manager.service';
10
+ export { SheetPrintClientService } from './services/sheet-print.service';
11
+ export { hasPrintFacadePermission } from './utils/util';
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x118a(_0x4dca33,_0x2d9b1e){const _0x7a0490=_0x7a04();return _0x118a=function(_0x118ab3,_0x82ca45){_0x118ab3=_0x118ab3-0x1af;let _0xdb4b21=_0x7a0490[_0x118ab3];return _0xdb4b21;},_0x118a(_0x4dca33,_0x2d9b1e);}function _0x7a04(){const _0x45617e=['extend','onCommandExecuted','SheetPrintConfirmed','getActiveSheet','SheetScreenShotOperation','getScreenshot','getActiveUniverSheet','BeforeSheetPrintOpen','@univerjs-pro/sheets-print','PrintAlign','amd','ICommandService','PrintPaperMargin','_injector','SheetPrintOpenOperation','closePrintDialog','print','UniverProSheetsPrint','renderConfig','SheetPrintCanceled','layoutConfig','5WessLL','hasPrintFacadePermission','FWorkbook','SheetPrintClientService','668408yRzrcT','8YSLgLt','beforeCommandExecuted','UniverCoreFacade','FUniver','194890PrYQfz','38317378FBllnZ','UniverCore','registerEventHandler','syncExecuteCommand','saveScreenshotToClipboard','BeforeSheetPrintCanceled','openPrintDialog','BeforeSheetPrintConfirm','CancelSheetPrintOperation','updateRenderConfig','ConfirmSheetPrintOperation','39604rdZOag','function','2103311ksqSRX','CanceledError','2936790WjKDdY','executeCommand','_range','fireEvent','111sjmzPD','getUnitId','PaperType','501773ZeesnS','FEnum','updateLayoutConfig','cancel','@univerjs/core','_workbook','_worksheet','get','PrintScale','SheetPrintOpen','PrintHeaderFooter','PrintFreeze','423TxeMZa','ISheetPrintManagerService','PrintDirection','UniverProPrint','Event','FRange','updatePrintRenderConfig','FEventName','PrintArea','UniverSheetsFacade','PrintHeaderFooterSymbol'];_0x7a04=function(){return _0x45617e;};return _0x7a04();}(function(_0x1794f9,_0x469333){const _0x54cdba=_0x118a,_0xc12575=_0x1794f9();while(!![]){try{const _0x2dc05a=-parseInt(_0x54cdba(0x1d6))/0x1+-parseInt(_0x54cdba(0x1ba))/0x2+-parseInt(_0x54cdba(0x1d3))/0x3*(parseInt(_0x54cdba(0x1cb))/0x4)+parseInt(_0x54cdba(0x1b6))/0x5*(-parseInt(_0x54cdba(0x1cf))/0x6)+-parseInt(_0x54cdba(0x1cd))/0x7*(parseInt(_0x54cdba(0x1bb))/0x8)+parseInt(_0x54cdba(0x1e2))/0x9*(-parseInt(_0x54cdba(0x1bf))/0xa)+parseInt(_0x54cdba(0x1c0))/0xb;if(_0x2dc05a===_0x469333)break;else _0xc12575['push'](_0xc12575['shift']());}catch(_0x518671){_0xc12575['push'](_0xc12575['shift']());}}}(_0x7a04,0x8c6bb),function(_0x17a7be,_0x5ce728){const _0x204806=_0x118a;typeof exports=='object'&&typeof module<'u'?_0x5ce728(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x204806(0x1cc)&&define[_0x204806(0x1f7)]?define([_0x204806(0x1f5),_0x204806(0x1da),'@univerjs/sheets/facade','@univerjs/core/facade','@univerjs-pro/print'],_0x5ce728):(_0x17a7be=typeof globalThis<'u'?globalThis:_0x17a7be||self,_0x5ce728(_0x17a7be[_0x204806(0x1b2)],_0x17a7be[_0x204806(0x1c1)],_0x17a7be[_0x204806(0x1eb)],_0x17a7be[_0x204806(0x1bd)],_0x17a7be[_0x204806(0x1e5)]));}(this,function(_0x2bedec,_0xb7eda5,_0x2e5a93,_0x271dcc,_0x43ab27){'use strict';const _0x200237=_0x118a;class _0x440d1e extends _0x2e5a93[_0x200237(0x1b8)]{['updatePrintConfig'](_0x10a636){const _0x43ef18=_0x200237;return this[_0x43ef18(0x1fa)][_0x43ef18(0x1dd)](_0x2bedec[_0x43ef18(0x1e3)])[_0x43ef18(0x1d8)](_0x10a636),this;}[_0x200237(0x1e8)](_0x62ee18){const _0x3ea411=_0x200237;return this['_injector'][_0x3ea411(0x1dd)](_0x2bedec[_0x3ea411(0x1e3)])[_0x3ea411(0x1c9)](_0x62ee18),this;}[_0x200237(0x1b1)](){const _0x33ce27=_0x200237;return this['_injector']['get'](_0xb7eda5[_0x33ce27(0x1f8)])[_0x33ce27(0x1c3)](_0x2bedec[_0x33ce27(0x1ca)]['id']);}[_0x200237(0x1c6)](){const _0xa59ebc=_0x200237;return this[_0xa59ebc(0x1fa)][_0xa59ebc(0x1dd)](_0xb7eda5[_0xa59ebc(0x1f8)])[_0xa59ebc(0x1c3)](_0x2bedec['SheetPrintOpenOperation']['id']);}[_0x200237(0x1b0)](){const _0x4eda78=_0x200237;return this[_0x4eda78(0x1fa)][_0x4eda78(0x1dd)](_0xb7eda5['ICommandService'])[_0x4eda78(0x1c3)](_0x2bedec[_0x4eda78(0x1c8)]['id']);}async[_0x200237(0x1c4)](){const _0x53d3b8=_0x200237;return _0x2bedec[_0x53d3b8(0x1b7)](this[_0x53d3b8(0x1fa)])?this[_0x53d3b8(0x1fa)][_0x53d3b8(0x1dd)](_0xb7eda5[_0x53d3b8(0x1f8)])[_0x53d3b8(0x1d0)](_0x2bedec[_0x53d3b8(0x1f1)]['id']):!0x1;}}_0x2e5a93['FWorkbook'][_0x200237(0x1ed)](_0x440d1e);class _0x3a7a9e extends _0x2e5a93[_0x200237(0x1e7)]{[_0x200237(0x1f2)](){const _0x261df2=_0x200237;return _0x2bedec[_0x261df2(0x1b7)](this[_0x261df2(0x1fa)])?this[_0x261df2(0x1fa)][_0x261df2(0x1dd)](_0x2bedec[_0x261df2(0x1b9)])['getRangeImage'](this[_0x261df2(0x1db)][_0x261df2(0x1d4)](),this[_0x261df2(0x1dc)]['getSheetId'](),this[_0x261df2(0x1d1)]):!0x1;}}_0x2e5a93[_0x200237(0x1e7)][_0x200237(0x1ed)](_0x3a7a9e);class _0x59ffab{get[_0x200237(0x1f4)](){const _0x118c02=_0x200237;return _0x118c02(0x1f4);}get[_0x200237(0x1c7)](){const _0x245565=_0x200237;return _0x245565(0x1c7);}get[_0x200237(0x1c5)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x200237(0x1ef)](){const _0x460327=_0x200237;return _0x460327(0x1ef);}get[_0x200237(0x1b4)](){const _0x3cd33e=_0x200237;return _0x3cd33e(0x1b4);}}_0x271dcc[_0x200237(0x1e9)][_0x200237(0x1ed)](_0x59ffab);class _0x3c6ece{get['PrintArea'](){const _0x54d6d8=_0x200237;return _0x2bedec[_0x54d6d8(0x1ea)];}get[_0x200237(0x1f6)](){const _0x1d075b=_0x200237;return _0x43ab27[_0x1d075b(0x1f6)];}get['PrintPaperSize'](){const _0x1992d2=_0x200237;return _0xb7eda5[_0x1992d2(0x1d5)];}get[_0x200237(0x1f9)](){const _0x1f582f=_0x200237;return _0x43ab27[_0x1f582f(0x1f9)];}get[_0x200237(0x1de)](){const _0x42a2c9=_0x200237;return _0x43ab27[_0x42a2c9(0x1de)];}get[_0x200237(0x1e4)](){const _0x4541aa=_0x200237;return _0x43ab27[_0x4541aa(0x1e4)];}get[_0x200237(0x1e1)](){const _0x5bfdee=_0x200237;return _0x2bedec[_0x5bfdee(0x1e1)];}get[_0x200237(0x1e0)](){return _0x2bedec['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x131f01=_0x200237;return _0x2bedec[_0x131f01(0x1ec)];}}_0x271dcc[_0x200237(0x1d7)][_0x200237(0x1ed)](_0x3c6ece);class _0x53721b extends _0x271dcc['FUniver']{['_initialize'](_0x4c9d90){const _0x5ba875=_0x200237,_0x27918b=_0x4c9d90[_0x5ba875(0x1dd)](_0xb7eda5[_0x5ba875(0x1f8)]);this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1f4)],()=>_0x27918b[_0x5ba875(0x1bc)](_0xff92e2=>{const _0x2e8a54=_0x5ba875;if(_0xff92e2['id']===_0x2bedec[_0x2e8a54(0x1af)]['id']){const _0x1746b0=this['getActiveUniverSheet']();if(!_0x1746b0)return;const _0x516561={'workbook':_0x1746b0,'worksheet':_0x1746b0[_0x2e8a54(0x1f0)]()};if(_0x516561==null)return;if(this[_0x2e8a54(0x1d2)](this[_0x2e8a54(0x1e6)][_0x2e8a54(0x1f4)],_0x516561),_0x516561[_0x2e8a54(0x1d9)])throw new _0xb7eda5[(_0x2e8a54(0x1ce))]();}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)]['BeforeSheetPrintConfirm'],()=>_0x27918b[_0x5ba875(0x1bc)](_0x84b4be=>{const _0x304740=_0x5ba875;if(_0x84b4be['id']===_0x2bedec['ConfirmSheetPrintOperation']['id']){const _0x137921=_0x4c9d90[_0x304740(0x1dd)](_0x2bedec[_0x304740(0x1e3)]);if(!this[_0x304740(0x1f3)]())return;const _0x365371={'layoutConfig':_0x137921[_0x304740(0x1b5)],'renderConfig':_0x137921[_0x304740(0x1b3)]};if(_0x365371==null)return;if(this[_0x304740(0x1d2)](this['Event']['BeforeSheetPrintConfirm'],_0x365371),_0x365371[_0x304740(0x1d9)])throw new _0xb7eda5['CanceledError']();}})),this['registerEventHandler'](this[_0x5ba875(0x1e6)][_0x5ba875(0x1c5)],()=>_0x27918b[_0x5ba875(0x1bc)](_0xb1f3f=>{const _0x2a7290=_0x5ba875;if(_0xb1f3f['id']===_0x2bedec[_0x2a7290(0x1c8)]['id']){const _0x2b0584=_0x4c9d90['get'](_0x2bedec[_0x2a7290(0x1e3)]);if(!this[_0x2a7290(0x1f3)]())return;const _0x5ac32a={'layoutConfig':_0x2b0584[_0x2a7290(0x1b5)],'renderConfig':_0x2b0584[_0x2a7290(0x1b3)]};if(_0x5ac32a==null)return;if(this[_0x2a7290(0x1d2)](this[_0x2a7290(0x1e6)]['BeforeSheetPrintCanceled'],_0x5ac32a),_0x5ac32a['cancel'])throw new _0xb7eda5[(_0x2a7290(0x1ce))]();}})),this['registerEventHandler'](this[_0x5ba875(0x1e6)][_0x5ba875(0x1df)],()=>_0x27918b[_0x5ba875(0x1ee)](_0x59bb06=>{const _0x195212=_0x5ba875;if(_0x59bb06['id']===_0x2bedec[_0x195212(0x1af)]['id']){const _0x3d326c=this['getActiveUniverSheet']();if(!_0x3d326c)return;const _0x96a62c={'workbook':_0x3d326c,'worksheet':_0x3d326c[_0x195212(0x1f0)]()};if(_0x96a62c==null)return;this[_0x195212(0x1d2)](this[_0x195212(0x1e6)][_0x195212(0x1df)],_0x96a62c);}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1ef)],()=>_0x27918b[_0x5ba875(0x1ee)](_0x32a6ec=>{const _0x45c215=_0x5ba875;if(_0x32a6ec['id']===_0x2bedec[_0x45c215(0x1ca)]['id']){const _0x2006e9=_0x4c9d90[_0x45c215(0x1dd)](_0x2bedec[_0x45c215(0x1e3)]);if(!this[_0x45c215(0x1f3)]())return;const _0x26a2c5={'layoutConfig':_0x2006e9[_0x45c215(0x1b5)],'renderConfig':_0x2006e9[_0x45c215(0x1b3)]};if(_0x26a2c5==null)return;this['fireEvent'](this['Event'][_0x45c215(0x1ef)],_0x26a2c5);}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1b4)],()=>_0x27918b['onCommandExecuted'](_0xabf04b=>{const _0x2ec282=_0x5ba875;if(_0xabf04b['id']===_0x2bedec[_0x2ec282(0x1c8)]['id']){const _0x20733c=_0x4c9d90[_0x2ec282(0x1dd)](_0x2bedec['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x10019c={'layoutConfig':_0x20733c[_0x2ec282(0x1b5)],'renderConfig':_0x20733c['renderConfig']};if(_0x10019c==null)return;this[_0x2ec282(0x1d2)](this[_0x2ec282(0x1e6)]['SheetPrintCanceled'],_0x10019c);}}));}}_0x271dcc[_0x200237(0x1be)]['extend'](_0x53721b);}));
1
+ (function(_0x5aa4c1,_0x5f4325){const _0xc8aa0d=_0xdfd5,_0x52a8e4=_0x5aa4c1();while(!![]){try{const _0x12c0c4=parseInt(_0xc8aa0d(0x1e5))/0x1+parseInt(_0xc8aa0d(0x1f2))/0x2*(-parseInt(_0xc8aa0d(0x1d6))/0x3)+parseInt(_0xc8aa0d(0x1d5))/0x4*(-parseInt(_0xc8aa0d(0x1f0))/0x5)+-parseInt(_0xc8aa0d(0x1e6))/0x6+-parseInt(_0xc8aa0d(0x1c3))/0x7+-parseInt(_0xc8aa0d(0x1f5))/0x8*(parseInt(_0xc8aa0d(0x1ea))/0x9)+-parseInt(_0xc8aa0d(0x1e3))/0xa*(-parseInt(_0xc8aa0d(0x1fb))/0xb);if(_0x12c0c4===_0x5f4325)break;else _0x52a8e4['push'](_0x52a8e4['shift']());}catch(_0x3c87d3){_0x52a8e4['push'](_0x52a8e4['shift']());}}}(_0x3aac,0xa3b0b),function(_0x7b1051,_0x221a29){const _0x2a861e=_0xdfd5;typeof exports=='object'&&typeof module<'u'?_0x221a29(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x2a861e(0x1db)&&define[_0x2a861e(0x1d4)]?define(['@univerjs-pro/sheets-print',_0x2a861e(0x1ca),_0x2a861e(0x1e9),_0x2a861e(0x1d9),_0x2a861e(0x209)],_0x221a29):(_0x7b1051=typeof globalThis<'u'?globalThis:_0x7b1051||self,_0x221a29(_0x7b1051['UniverProSheetsPrint'],_0x7b1051['UniverCore'],_0x7b1051[_0x2a861e(0x204)],_0x7b1051[_0x2a861e(0x1cf)],_0x7b1051[_0x2a861e(0x1f4)]));}(this,function(_0x3e62cc,_0x14d38d,_0x33de72,_0x1f5e72,_0x5278b6){'use strict';const _0x1b2c53=_0xdfd5;class _0x3c17ba extends _0x33de72[_0x1b2c53(0x203)]{[_0x1b2c53(0x1f9)](_0x51e948){const _0x5f57cb=_0x1b2c53;return this[_0x5f57cb(0x1f1)][_0x5f57cb(0x206)](_0x3e62cc[_0x5f57cb(0x1f7)])[_0x5f57cb(0x1d1)](_0x51e948),this;}[_0x1b2c53(0x1fc)](_0x59b199){const _0x1070a4=_0x1b2c53;return this['_injector'][_0x1070a4(0x206)](_0x3e62cc[_0x1070a4(0x1f7)])['updateRenderConfig'](_0x59b199),this;}['print'](){const _0x11d4f5=_0x1b2c53;return this['_injector'][_0x11d4f5(0x206)](_0x14d38d[_0x11d4f5(0x1ff)])[_0x11d4f5(0x1e1)](_0x3e62cc[_0x11d4f5(0x1ed)]['id']);}[_0x1b2c53(0x1cb)](){const _0x110dd8=_0x1b2c53;return this[_0x110dd8(0x1f1)][_0x110dd8(0x206)](_0x14d38d[_0x110dd8(0x1ff)])['syncExecuteCommand'](_0x3e62cc['SheetPrintOpenOperation']['id']);}[_0x1b2c53(0x20a)](){const _0x34563b=_0x1b2c53;return this[_0x34563b(0x1f1)][_0x34563b(0x206)](_0x14d38d[_0x34563b(0x1ff)])[_0x34563b(0x1e1)](_0x3e62cc[_0x34563b(0x1f3)]['id']);}async[_0x1b2c53(0x1d2)](){const _0x5df3a2=_0x1b2c53;return _0x3e62cc[_0x5df3a2(0x1ef)](this[_0x5df3a2(0x1f1)])?this[_0x5df3a2(0x1f1)][_0x5df3a2(0x206)](_0x14d38d[_0x5df3a2(0x1ff)])['executeCommand'](_0x3e62cc[_0x5df3a2(0x1fe)]['id']):!0x1;}}_0x33de72[_0x1b2c53(0x203)][_0x1b2c53(0x205)](_0x3c17ba);class _0x5c61e2 extends _0x33de72[_0x1b2c53(0x1d8)]{[_0x1b2c53(0x1e8)](){const _0x6c9010=_0x1b2c53;return _0x3e62cc[_0x6c9010(0x1ef)](this[_0x6c9010(0x1f1)])?this[_0x6c9010(0x1f1)][_0x6c9010(0x206)](_0x3e62cc[_0x6c9010(0x1c4)])[_0x6c9010(0x1da)](this['_workbook'][_0x6c9010(0x1df)](),this['_worksheet']['getSheetId'](),this[_0x6c9010(0x1d0)]):!0x1;}}_0x33de72[_0x1b2c53(0x1d8)][_0x1b2c53(0x205)](_0x5c61e2);class _0x42ca5d{get[_0x1b2c53(0x201)](){const _0x350d3e=_0x1b2c53;return _0x350d3e(0x201);}get[_0x1b2c53(0x1ec)](){const _0x37ba14=_0x1b2c53;return _0x37ba14(0x1ec);}get[_0x1b2c53(0x1cd)](){const _0x4617ea=_0x1b2c53;return _0x4617ea(0x1cd);}get[_0x1b2c53(0x1fa)](){return'SheetPrintOpen';}get[_0x1b2c53(0x1c9)](){const _0x3baa48=_0x1b2c53;return _0x3baa48(0x1c9);}get[_0x1b2c53(0x1c7)](){const _0x5f4020=_0x1b2c53;return _0x5f4020(0x1c7);}}_0x1f5e72[_0x1b2c53(0x1dc)][_0x1b2c53(0x205)](_0x42ca5d);class _0x1911be{get[_0x1b2c53(0x1f8)](){const _0x5b15de=_0x1b2c53;return _0x3e62cc[_0x5b15de(0x1f8)];}get[_0x1b2c53(0x200)](){const _0x38b8a4=_0x1b2c53;return _0x5278b6[_0x38b8a4(0x200)];}get[_0x1b2c53(0x1c2)](){const _0x25a905=_0x1b2c53;return _0x14d38d[_0x25a905(0x1c5)];}get[_0x1b2c53(0x20c)](){const _0x4eb4f0=_0x1b2c53;return _0x5278b6[_0x4eb4f0(0x20c)];}get[_0x1b2c53(0x207)](){return _0x5278b6['PrintScale'];}get[_0x1b2c53(0x208)](){return _0x5278b6['PrintDirection'];}get[_0x1b2c53(0x1e4)](){const _0x1ec5f0=_0x1b2c53;return _0x3e62cc[_0x1ec5f0(0x1e4)];}get[_0x1b2c53(0x1c8)](){return _0x3e62cc['PrintHeaderFooter'];}get[_0x1b2c53(0x1d7)](){const _0x5b57f2=_0x1b2c53;return _0x3e62cc[_0x5b57f2(0x1d7)];}}_0x1f5e72[_0x1b2c53(0x1ce)]['extend'](_0x1911be);class _0x10bd06 extends _0x1f5e72[_0x1b2c53(0x1ee)]{[_0x1b2c53(0x1c6)](_0xacfe02){const _0x13c431=_0x1b2c53,_0x2003c1=_0xacfe02[_0x13c431(0x206)](_0x14d38d[_0x13c431(0x1ff)]);this['registerEventHandler'](this[_0x13c431(0x20b)]['BeforeSheetPrintOpen'],()=>_0x2003c1[_0x13c431(0x1cc)](_0x4b7a99=>{const _0x2ed026=_0x13c431;if(_0x4b7a99['id']===_0x3e62cc[_0x2ed026(0x1e7)]['id']){const _0x405ae1=this[_0x2ed026(0x1e2)]();if(!_0x405ae1)return;const _0x93cb45={'workbook':_0x405ae1,'worksheet':_0x405ae1[_0x2ed026(0x1dd)]()};if(_0x93cb45==null)return;if(this[_0x2ed026(0x1e0)](this[_0x2ed026(0x20b)][_0x2ed026(0x201)],_0x93cb45),_0x93cb45[_0x2ed026(0x1f6)])throw new _0x14d38d[(_0x2ed026(0x202))]();}})),this['registerEventHandler'](this[_0x13c431(0x20b)][_0x13c431(0x1ec)],()=>_0x2003c1[_0x13c431(0x1cc)](_0x199502=>{const _0x3c4e8c=_0x13c431;if(_0x199502['id']===_0x3e62cc[_0x3c4e8c(0x1ed)]['id']){const _0x6b179=_0xacfe02['get'](_0x3e62cc[_0x3c4e8c(0x1f7)]);if(!this[_0x3c4e8c(0x1e2)]())return;const _0x54e6f6={'layoutConfig':_0x6b179[_0x3c4e8c(0x1eb)],'renderConfig':_0x6b179[_0x3c4e8c(0x1d3)]};if(_0x54e6f6==null)return;if(this['fireEvent'](this[_0x3c4e8c(0x20b)][_0x3c4e8c(0x1ec)],_0x54e6f6),_0x54e6f6[_0x3c4e8c(0x1f6)])throw new _0x14d38d[(_0x3c4e8c(0x202))]();}})),this['registerEventHandler'](this[_0x13c431(0x20b)]['BeforeSheetPrintCanceled'],()=>_0x2003c1[_0x13c431(0x1cc)](_0x13a2a2=>{const _0x14cb92=_0x13c431;if(_0x13a2a2['id']===_0x3e62cc['CancelSheetPrintOperation']['id']){const _0x21ad93=_0xacfe02[_0x14cb92(0x206)](_0x3e62cc[_0x14cb92(0x1f7)]);if(!this[_0x14cb92(0x1e2)]())return;const _0x1687b7={'layoutConfig':_0x21ad93[_0x14cb92(0x1eb)],'renderConfig':_0x21ad93['renderConfig']};if(_0x1687b7==null)return;if(this[_0x14cb92(0x1e0)](this[_0x14cb92(0x20b)]['BeforeSheetPrintCanceled'],_0x1687b7),_0x1687b7[_0x14cb92(0x1f6)])throw new _0x14d38d[(_0x14cb92(0x202))]();}})),this[_0x13c431(0x1fd)](this[_0x13c431(0x20b)][_0x13c431(0x1fa)],()=>_0x2003c1[_0x13c431(0x1de)](_0x3a789f=>{const _0x7e8934=_0x13c431;if(_0x3a789f['id']===_0x3e62cc['SheetPrintOpenOperation']['id']){const _0x291c52=this[_0x7e8934(0x1e2)]();if(!_0x291c52)return;const _0x4e5a14={'workbook':_0x291c52,'worksheet':_0x291c52[_0x7e8934(0x1dd)]()};if(_0x4e5a14==null)return;this[_0x7e8934(0x1e0)](this[_0x7e8934(0x20b)][_0x7e8934(0x1fa)],_0x4e5a14);}})),this[_0x13c431(0x1fd)](this[_0x13c431(0x20b)][_0x13c431(0x1c9)],()=>_0x2003c1['onCommandExecuted'](_0x1bd5bb=>{const _0x5ac96e=_0x13c431;if(_0x1bd5bb['id']===_0x3e62cc[_0x5ac96e(0x1ed)]['id']){const _0x22860f=_0xacfe02['get'](_0x3e62cc[_0x5ac96e(0x1f7)]);if(!this[_0x5ac96e(0x1e2)]())return;const _0x1c27ce={'layoutConfig':_0x22860f[_0x5ac96e(0x1eb)],'renderConfig':_0x22860f[_0x5ac96e(0x1d3)]};if(_0x1c27ce==null)return;this[_0x5ac96e(0x1e0)](this[_0x5ac96e(0x20b)][_0x5ac96e(0x1c9)],_0x1c27ce);}})),this[_0x13c431(0x1fd)](this[_0x13c431(0x20b)][_0x13c431(0x1c7)],()=>_0x2003c1[_0x13c431(0x1de)](_0x533932=>{const _0x658c12=_0x13c431;if(_0x533932['id']===_0x3e62cc[_0x658c12(0x1f3)]['id']){const _0x21f049=_0xacfe02[_0x658c12(0x206)](_0x3e62cc['ISheetPrintManagerService']);if(!this[_0x658c12(0x1e2)]())return;const _0x267172={'layoutConfig':_0x21f049[_0x658c12(0x1eb)],'renderConfig':_0x21f049[_0x658c12(0x1d3)]};if(_0x267172==null)return;this[_0x658c12(0x1e0)](this[_0x658c12(0x20b)]['SheetPrintCanceled'],_0x267172);}}));}}_0x1f5e72[_0x1b2c53(0x1ee)][_0x1b2c53(0x205)](_0x10bd06);}));function _0xdfd5(_0x926f9b,_0x542940){const _0x3aac48=_0x3aac();return _0xdfd5=function(_0xdfd560,_0x4fdebb){_0xdfd560=_0xdfd560-0x1c2;let _0x383025=_0x3aac48[_0xdfd560];return _0x383025;},_0xdfd5(_0x926f9b,_0x542940);}function _0x3aac(){const _0x17cefd=['getActiveUniverSheet','1024250idPskj','PrintFreeze','1133613QWTBHX','2570772nmTujO','SheetPrintOpenOperation','getScreenshot','@univerjs/sheets/facade','1376811oMTxfN','layoutConfig','BeforeSheetPrintConfirm','ConfirmSheetPrintOperation','FUniver','hasPrintFacadePermission','5871620Myvyfs','_injector','12450lqyfAl','CancelSheetPrintOperation','UniverProPrint','56gOdtcZ','cancel','ISheetPrintManagerService','PrintArea','updatePrintConfig','SheetPrintOpen','275qIOEFO','updatePrintRenderConfig','registerEventHandler','SheetScreenShotOperation','ICommandService','PrintAlign','BeforeSheetPrintOpen','CanceledError','FWorkbook','UniverSheetsFacade','extend','get','PrintScale','PrintDirection','@univerjs-pro/print','closePrintDialog','Event','PrintPaperMargin','PrintPaperSize','2407293fdSkHA','SheetPrintClientService','PaperType','_initialize','SheetPrintCanceled','PrintHeaderFooter','SheetPrintConfirmed','@univerjs/core','openPrintDialog','beforeCommandExecuted','BeforeSheetPrintCanceled','FEnum','UniverCoreFacade','_range','updateLayoutConfig','saveScreenshotToClipboard','renderConfig','amd','4uQYvSN','3KOZZXq','PrintHeaderFooterSymbol','FRange','@univerjs/core/facade','getRangeImage','function','FEventName','getActiveSheet','onCommandExecuted','getUnitId','fireEvent','syncExecuteCommand'];_0x3aac=function(){return _0x17cefd;};return _0x3aac();}