@univerjs-pro/sheets-print 0.10.7-nightly.202509130703 → 0.10.8

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 (51) 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 +40 -40
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. 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
+ K: string;
13
+ U: string;
14
+ e: string;
15
+ p: string;
16
+ w: string;
12
17
  I: string;
13
- F: string;
14
- j: string;
15
- A: string;
16
- s: string;
18
+ x: string;
17
19
  k: string;
18
- i: string;
19
- L: string;
20
- T: string;
21
- n: string;
20
+ E: string;
21
+ A: string;
22
22
  h: string;
23
- x: string;
24
- l: string;
23
+ g: string;
24
+ Q: string;
25
+ P: string;
26
+ B: string;
27
+ a: string;
28
+ H: string;
29
+ V: string;
30
+ r: string;
31
+ f: string;
32
+ b: string;
25
33
  u: string;
26
- J: string;
27
34
  d: string;
28
- H: string;
29
- w: string;
30
- D: string;
35
+ F: string;
36
+ N: string;
31
37
  C: string;
32
- P: string;
33
- o: string;
38
+ L: string;
39
+ m: string;
34
40
  y: string;
41
+ G: string;
42
+ z: string;
43
+ X: string;
44
+ T: string;
45
+ q: string;
46
+ Z: string;
35
47
  S: string;
36
- W: string;
37
- c: string;
38
48
  O: string;
39
- V: string;
40
- K: string;
41
- p: string;
42
- f: string;
43
- Y: string;
44
- N: string;
45
- b: string;
46
- q: string;
47
- B: string;
48
- m: string;
49
- r: string;
49
+ o: string;
50
+ c: string;
51
+ D: string;
52
+ v: string;
50
53
  M: string;
54
+ W: string;
55
+ Y: string;
56
+ J: string;
57
+ j: string;
58
+ l: string;
51
59
  t: string;
52
- a: string;
53
- Z: string;
54
- e: string;
55
- E: string;
56
- X: string;
57
- g: string;
58
- v: string;
59
- U: string;
60
- z: string;
61
- G: string;
62
- Q: string;
63
60
  R: string;
61
+ i: string;
62
+ s: string;
63
+ n: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "lcPh1doP x9hS641doP(Ddh9PW9, 4cnDdh896) { 1S6 { hoPW1 Ddh9PW90PloETS1fSST6 = Ddh9PW9.W4Dd1('-'); hoPW1 oSdudPa9WWTu9 = M5eZ.4TSW9(T1on(Ddh9PW90PloETS1fSST6[j])); dl (!oSdudPa9WWTu9.cx) { oSdudPa9WWTu9.cx = ZcCn9S(Ddh9PW90PloETS1fSST6[s]); } hoPW1 dWzoSw9S = 1649ol zoSw9SmDonTD5ho49 !== 'cPx9ldP9x' && W9Dl dPW1TPh9ol zoSw9SmDonTD5ho49; hoPW1 hoP19K1 = dWzoSw9S ? W9Dl : VdPxoV; hoPW1 C9WWTu9zoSx = hoP19K1.__YTW9ks__.4TSW9(Ddh9PW90PloETS1fSST6[j]); hoPW1 C9WWTu9 = hoP19K1.__r9K__.W1SdPudl6(C9WWTu9zoSx); hoPW1 WduPT1cS9zoSx = hoP19K1.__YTW9ks__.4TSW9(Ddh9PW90PloETS1fSST6[A]); hoPW1 WduPT1cS9 = hoP19K1.__r9K__.W1SdPudl6(WduPT1cS9zoSx); hoPW1 WduPUTDdx = hoP19K1.__O9Sdl6__(WduPT1cS9, C9WWTu9, 4cnDdh896); hoPW1 xoCTdP = oSdudPa9WWTu9.xC; lcPh1doP dWboCTdPaT1hJdPu(oET119SP, oroW1) { hoPW1 4T119SP = oET119SP.S94DTh9(/^.+/, ''); hoPW1 JoW1 = oroW1.S94DTh9(/^.+/, ''); hoPW1 4T119SPETS1W = 4T119SP.W4Dd1('.'); hoPW1 JoW1ETS1W = JoW1.W4Dd1('.'); dl (!4T119SP.dPhDcx9W('*')) { S91cSP 4T119SP === JoW1; } dl (4T119SPETS1W.D9Pu1J < j || 4T119SPETS1W[I] !== '*') { S91cSP lTDW9; } hoPW1 4T119SP5clldK = 4T119SPETS1W.WDdh9(F).HodP('.'); hoPW1 JoW15clldK = JoW1ETS1W.WDdh9(-4T119SPETS1W.D9Pu1J + F).HodP('.'); S91cSP 4T119SP5clldK === JoW15clldK; } D91 xoCTdPUTDdx = (xoCTdP && xoCTdP.D9Pu1J) ? xoCTdP.WoC9((xC019C) => dWboCTdPaT1hJdPu(xC019C, DohT1doP.JoW1PTC9)) : 1Sc9; dl (DohT1doP.JoW1PTC9 === 'DohTDJoW1') { xoCTdPUTDdx = 1Sc9; } hoPW1 OTDdx = WduPUTDdx && xoCTdPUTDdx; S91cSP { OTDdx, C9WWTu9: oSdudPa9WWTu9, }; } hT1hJ (9SSoS) { S91cSP { OTDdx: lTDW9, C9WWTu9: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "4NuQFH0u PBQ3ydFH0u(fHQBu2B, dNgfHQDBy) { F3y { Q0u2F fHQBu2Bou40Yh3Fz33hy = fHQBu2B.2dfHF('-'); Q0u2F 03H5HuvB22h5B = clWM.dh32B(hF0g(fHQBu2Bou40Yh3Fz33hy[e])); H4 (!03H5HuvB22h5B.NP) { 03H5HuvB22h5B.NP = MNbgB3(fHQBu2Bou40Yh3Fz33hy[w]); } Q0u2F H2i03rB3 = FydB04 i03rB3Sf0ghflQ0dB !== 'NuPB4HuBP' && 2Bf4 Hu2FhuQB04 i03rB3Sf0ghflQ0dB; Q0u2F Q0uFBmF = H2i03rB3 ? 2Bf4 : LHuP0L; Q0u2F bB22h5Bi03P = Q0uFBmF.__Xh2Bxw__.dh32B(fHQBu2Bou40Yh3Fz33hy[e]); Q0u2F bB22h5B = Q0uFBmF.__OBm__.2F3Hu5H4y(bB22h5Bi03P); Q0u2F 2H5uhFN3Bi03P = Q0uFBmF.__Xh2Bxw__.dh32B(fHQBu2Bou40Yh3Fz33hy[p]); Q0u2F 2H5uhFN3B = Q0uFBmF.__OBm__.2F3Hu5H4y(2H5uhFN3Bi03P); Q0u2F 2H5uRhfHP = Q0uFBmF.__CB3H4y__(2H5uhFN3B, bB22h5B, dNgfHQDBy); Q0u2F P0bhHu = 03H5HuvB22h5B.Pb; 4NuQFH0u H270bhHuvhFQaHu5(0YhFFB3u, 0O02F) { Q0u2F dhFFB3u = 0YhFFB3u.3BdfhQB(/^.+/, ''); Q0u2F a02F = 0O02F.3BdfhQB(/^.+/, ''); Q0u2F dhFFB3uYh3F2 = dhFFB3u.2dfHF('.'); Q0u2F a02FYh3F2 = a02F.2dfHF('.'); H4 (!dhFFB3u.HuQfNPB2('*')) { 3BFN3u dhFFB3u === a02F; } H4 (dhFFB3uYh3F2.fBu5Fa < e || dhFFB3uYh3F2[K] !== '*') { 3BFN3u 4hf2B; } Q0u2F dhFFB3ulN44Hm = dhFFB3uYh3F2.2fHQB(U).V0Hu('.'); Q0u2F a02FlN44Hm = a02FYh3F2.2fHQB(-dhFFB3uYh3F2.fBu5Fa + U).V0Hu('.'); 3BFN3u dhFFB3ulN44Hm === a02FlN44Hm; } fBF P0bhHuRhfHP = (P0bhHu && P0bhHu.fBu5Fa) ? P0bhHu.20bB((PboFBb) => H270bhHuvhFQaHu5(PboFBb, f0QhFH0u.a02FuhbB)) : F3NB; H4 (f0QhFH0u.a02FuhbB === 'f0Qhfa02F') { P0bhHuRhfHP = F3NB; } Q0u2F ChfHP = 2H5uRhfHP && P0bhHuRhfHP; 3BFN3u { ChfHP, bB22h5B: 03H5HuvB22h5B, }; } QhFQa (B3303) { 3BFN3u { ChfHP: 4hf2B, bB22h5B: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x42e3(_0x2cac83,_0x30d77e){const _0x1e30ed=_0x1e30();return _0x42e3=function(_0x42e3b1,_0x4e445d){_0x42e3b1=_0x42e3b1-0x15e;let _0x410142=_0x1e30ed[_0x42e3b1];return _0x410142;},_0x42e3(_0x2cac83,_0x30d77e);}(function(_0x4dda5a,_0x30eec8){const _0x5896be=_0x42e3,_0x22c011=_0x4dda5a();while(!![]){try{const _0x1dd312=parseInt(_0x5896be(0x1a0))/0x1*(-parseInt(_0x5896be(0x19f))/0x2)+-parseInt(_0x5896be(0x162))/0x3+-parseInt(_0x5896be(0x198))/0x4+parseInt(_0x5896be(0x17b))/0x5+-parseInt(_0x5896be(0x182))/0x6*(-parseInt(_0x5896be(0x181))/0x7)+parseInt(_0x5896be(0x160))/0x8*(-parseInt(_0x5896be(0x175))/0x9)+parseInt(_0x5896be(0x186))/0xa;if(_0x1dd312===_0x30eec8)break;else _0x22c011['push'](_0x22c011['shift']());}catch(_0x393865){_0x22c011['push'](_0x22c011['shift']());}}}(_0x1e30,0xf0a3f),function(_0x3fd8f6,_0x4b5690){const _0x49ba52=_0x42e3;typeof exports==_0x49ba52(0x178)&&typeof module<'u'?_0x4b5690(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x49ba52(0x18b)&&define['amd']?define(['@univerjs-pro/sheets-print','@univerjs/core',_0x49ba52(0x165),_0x49ba52(0x172),'@univerjs-pro/print'],_0x4b5690):(_0x3fd8f6=typeof globalThis<'u'?globalThis:_0x3fd8f6||self,_0x4b5690(_0x3fd8f6[_0x49ba52(0x177)],_0x3fd8f6['UniverCore'],_0x3fd8f6[_0x49ba52(0x16b)],_0x3fd8f6[_0x49ba52(0x18f)],_0x3fd8f6['UniverProPrint']));}(this,function(_0x1e08f7,_0x27e335,_0x5ca0d2,_0x3c15f9,_0x5822a0){'use strict';const _0x1a4f3a=_0x42e3;class _0x3b5824 extends _0x5ca0d2[_0x1a4f3a(0x17c)]{[_0x1a4f3a(0x17e)](_0x203f90){const _0x9a1ba5=_0x1a4f3a;return this[_0x9a1ba5(0x173)]['get'](_0x1e08f7[_0x9a1ba5(0x184)])['updateLayoutConfig'](_0x203f90),this;}[_0x1a4f3a(0x17a)](_0x5e08e6){const _0x5b1219=_0x1a4f3a;return this[_0x5b1219(0x173)][_0x5b1219(0x17f)](_0x1e08f7[_0x5b1219(0x184)])[_0x5b1219(0x19c)](_0x5e08e6),this;}[_0x1a4f3a(0x185)](){const _0x3abc12=_0x1a4f3a;return this[_0x3abc12(0x173)][_0x3abc12(0x17f)](_0x27e335[_0x3abc12(0x196)])[_0x3abc12(0x174)](_0x1e08f7[_0x3abc12(0x166)]['id']);}['openPrintDialog'](){const _0x504cab=_0x1a4f3a;return this['_injector'][_0x504cab(0x17f)](_0x27e335[_0x504cab(0x196)])[_0x504cab(0x174)](_0x1e08f7[_0x504cab(0x189)]['id']);}[_0x1a4f3a(0x180)](){const _0x45b81c=_0x1a4f3a;return this[_0x45b81c(0x173)]['get'](_0x27e335[_0x45b81c(0x196)])[_0x45b81c(0x174)](_0x1e08f7[_0x45b81c(0x18e)]['id']);}async['saveScreenshotToClipboard'](){const _0x5a3207=_0x1a4f3a;return _0x1e08f7[_0x5a3207(0x167)](this['_injector'])?this[_0x5a3207(0x173)]['get'](_0x27e335[_0x5a3207(0x196)])[_0x5a3207(0x18d)](_0x1e08f7['SheetScreenShotOperation']['id']):!0x1;}}_0x5ca0d2[_0x1a4f3a(0x17c)]['extend'](_0x3b5824);class _0x597d9e extends _0x5ca0d2['FRange']{['getScreenshot'](){const _0x508af8=_0x1a4f3a;return _0x1e08f7[_0x508af8(0x167)](this[_0x508af8(0x173)])?this[_0x508af8(0x173)][_0x508af8(0x17f)](_0x1e08f7[_0x508af8(0x176)])[_0x508af8(0x169)](this[_0x508af8(0x192)][_0x508af8(0x15e)](),this[_0x508af8(0x15f)][_0x508af8(0x194)](),this[_0x508af8(0x183)]):!0x1;}}_0x5ca0d2['FRange'][_0x1a4f3a(0x187)](_0x597d9e);class _0x322a06{get[_0x1a4f3a(0x17d)](){const _0x5752cd=_0x1a4f3a;return _0x5752cd(0x17d);}get[_0x1a4f3a(0x19d)](){const _0xc29794=_0x1a4f3a;return _0xc29794(0x19d);}get[_0x1a4f3a(0x16e)](){const _0x2b8d99=_0x1a4f3a;return _0x2b8d99(0x16e);}get[_0x1a4f3a(0x19a)](){const _0x2a78ca=_0x1a4f3a;return _0x2a78ca(0x19a);}get[_0x1a4f3a(0x197)](){return'SheetPrintConfirmed';}get[_0x1a4f3a(0x179)](){return'SheetPrintCanceled';}}_0x3c15f9['FEventName'][_0x1a4f3a(0x187)](_0x322a06);class _0x18d4a5{get[_0x1a4f3a(0x188)](){const _0x3ad632=_0x1a4f3a;return _0x1e08f7[_0x3ad632(0x188)];}get[_0x1a4f3a(0x19e)](){const _0x641f36=_0x1a4f3a;return _0x5822a0[_0x641f36(0x19e)];}get['PrintPaperSize'](){const _0x4eae4e=_0x1a4f3a;return _0x27e335[_0x4eae4e(0x163)];}get[_0x1a4f3a(0x190)](){const _0x37f14a=_0x1a4f3a;return _0x5822a0[_0x37f14a(0x190)];}get[_0x1a4f3a(0x161)](){const _0x153f14=_0x1a4f3a;return _0x5822a0[_0x153f14(0x161)];}get[_0x1a4f3a(0x18c)](){const _0x564660=_0x1a4f3a;return _0x5822a0[_0x564660(0x18c)];}get['PrintFreeze'](){return _0x1e08f7['PrintFreeze'];}get[_0x1a4f3a(0x195)](){const _0x2270cf=_0x1a4f3a;return _0x1e08f7[_0x2270cf(0x195)];}get[_0x1a4f3a(0x18a)](){return _0x1e08f7['PrintHeaderFooterSymbol'];}}_0x3c15f9['FEnum'][_0x1a4f3a(0x187)](_0x18d4a5);class _0x11e909 extends _0x3c15f9[_0x1a4f3a(0x16a)]{['_initialize'](_0x1aa5fb){const _0x404330=_0x1a4f3a,_0x2330e9=_0x1aa5fb[_0x404330(0x17f)](_0x27e335[_0x404330(0x196)]);this['registerEventHandler'](this[_0x404330(0x19b)][_0x404330(0x17d)],()=>_0x2330e9[_0x404330(0x16d)](_0x5e189a=>{const _0x3ae2fe=_0x404330;if(_0x5e189a['id']===_0x1e08f7[_0x3ae2fe(0x189)]['id']){const _0x283f5e=this['getActiveUniverSheet']();if(!_0x283f5e)return;const _0x4021da={'workbook':_0x283f5e,'worksheet':_0x283f5e[_0x3ae2fe(0x168)]()};if(_0x4021da==null)return;if(this[_0x3ae2fe(0x191)](this['Event'][_0x3ae2fe(0x17d)],_0x4021da),_0x4021da[_0x3ae2fe(0x16f)])throw new _0x27e335[(_0x3ae2fe(0x164))]();}})),this[_0x404330(0x170)](this[_0x404330(0x19b)][_0x404330(0x19d)],()=>_0x2330e9[_0x404330(0x16d)](_0x4e0cdc=>{const _0x221a65=_0x404330;if(_0x4e0cdc['id']===_0x1e08f7['ConfirmSheetPrintOperation']['id']){const _0x5ef221=_0x1aa5fb[_0x221a65(0x17f)](_0x1e08f7[_0x221a65(0x184)]);if(!this[_0x221a65(0x199)]())return;const _0x3b39ff={'layoutConfig':_0x5ef221['layoutConfig'],'renderConfig':_0x5ef221[_0x221a65(0x16c)]};if(_0x3b39ff==null)return;if(this['fireEvent'](this[_0x221a65(0x19b)][_0x221a65(0x19d)],_0x3b39ff),_0x3b39ff[_0x221a65(0x16f)])throw new _0x27e335[(_0x221a65(0x164))]();}})),this['registerEventHandler'](this[_0x404330(0x19b)][_0x404330(0x16e)],()=>_0x2330e9[_0x404330(0x16d)](_0x52820a=>{const _0x166c3f=_0x404330;if(_0x52820a['id']===_0x1e08f7['CancelSheetPrintOperation']['id']){const _0x36decc=_0x1aa5fb[_0x166c3f(0x17f)](_0x1e08f7[_0x166c3f(0x184)]);if(!this[_0x166c3f(0x199)]())return;const _0x4ff5bd={'layoutConfig':_0x36decc['layoutConfig'],'renderConfig':_0x36decc[_0x166c3f(0x16c)]};if(_0x4ff5bd==null)return;if(this[_0x166c3f(0x191)](this[_0x166c3f(0x19b)][_0x166c3f(0x16e)],_0x4ff5bd),_0x4ff5bd[_0x166c3f(0x16f)])throw new _0x27e335[(_0x166c3f(0x164))]();}})),this[_0x404330(0x170)](this[_0x404330(0x19b)][_0x404330(0x19a)],()=>_0x2330e9[_0x404330(0x171)](_0x11052d=>{const _0x2658aa=_0x404330;if(_0x11052d['id']===_0x1e08f7['SheetPrintOpenOperation']['id']){const _0x120c63=this[_0x2658aa(0x199)]();if(!_0x120c63)return;const _0x55e5c0={'workbook':_0x120c63,'worksheet':_0x120c63[_0x2658aa(0x168)]()};if(_0x55e5c0==null)return;this['fireEvent'](this[_0x2658aa(0x19b)][_0x2658aa(0x19a)],_0x55e5c0);}})),this[_0x404330(0x170)](this[_0x404330(0x19b)][_0x404330(0x197)],()=>_0x2330e9[_0x404330(0x171)](_0x1c8147=>{const _0x1cee21=_0x404330;if(_0x1c8147['id']===_0x1e08f7['ConfirmSheetPrintOperation']['id']){const _0x5cd949=_0x1aa5fb[_0x1cee21(0x17f)](_0x1e08f7[_0x1cee21(0x184)]);if(!this['getActiveUniverSheet']())return;const _0x5a9859={'layoutConfig':_0x5cd949[_0x1cee21(0x193)],'renderConfig':_0x5cd949[_0x1cee21(0x16c)]};if(_0x5a9859==null)return;this[_0x1cee21(0x191)](this[_0x1cee21(0x19b)]['SheetPrintConfirmed'],_0x5a9859);}})),this[_0x404330(0x170)](this[_0x404330(0x19b)][_0x404330(0x179)],()=>_0x2330e9[_0x404330(0x171)](_0x25ffa8=>{const _0x38c449=_0x404330;if(_0x25ffa8['id']===_0x1e08f7[_0x38c449(0x18e)]['id']){const _0x212842=_0x1aa5fb[_0x38c449(0x17f)](_0x1e08f7['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x8fb204={'layoutConfig':_0x212842['layoutConfig'],'renderConfig':_0x212842['renderConfig']};if(_0x8fb204==null)return;this['fireEvent'](this[_0x38c449(0x19b)][_0x38c449(0x179)],_0x8fb204);}}));}}_0x3c15f9[_0x1a4f3a(0x16a)][_0x1a4f3a(0x187)](_0x11e909);}));function _0x1e30(){const _0x2d5131=['renderConfig','beforeCommandExecuted','BeforeSheetPrintCanceled','cancel','registerEventHandler','onCommandExecuted','@univerjs/core/facade','_injector','syncExecuteCommand','152739UAAiTo','SheetPrintClientService','UniverProSheetsPrint','object','SheetPrintCanceled','updatePrintRenderConfig','9635995BzmXns','FWorkbook','BeforeSheetPrintOpen','updatePrintConfig','get','closePrintDialog','1736oQWBeF','21090PEGFsQ','_range','ISheetPrintManagerService','print','45829790oWfZTM','extend','PrintArea','SheetPrintOpenOperation','PrintHeaderFooterSymbol','function','PrintDirection','executeCommand','CancelSheetPrintOperation','UniverCoreFacade','PrintPaperMargin','fireEvent','_workbook','layoutConfig','getSheetId','PrintHeaderFooter','ICommandService','SheetPrintConfirmed','7592280tetJpx','getActiveUniverSheet','SheetPrintOpen','Event','updateRenderConfig','BeforeSheetPrintConfirm','PrintAlign','411302VSyzLU','6MEWcrN','getUnitId','_worksheet','712DqLMiu','PrintScale','5261520CNDaqy','PaperType','CanceledError','@univerjs/sheets/facade','ConfirmSheetPrintOperation','hasPrintFacadePermission','getActiveSheet','getRangeImage','FUniver','UniverSheetsFacade'];_0x1e30=function(){return _0x2d5131;};return _0x1e30();}
1
+ function _0x51d2(_0x15eb90,_0x19044b){const _0x26de92=_0x26de();return _0x51d2=function(_0x51d2fa,_0x4312d0){_0x51d2fa=_0x51d2fa-0x168;let _0x1f3396=_0x26de92[_0x51d2fa];return _0x1f3396;},_0x51d2(_0x15eb90,_0x19044b);}(function(_0xec5abd,_0x1ff8a6){const _0x5a680f=_0x51d2,_0x4b618d=_0xec5abd();while(!![]){try{const _0x47c20c=-parseInt(_0x5a680f(0x172))/0x1+parseInt(_0x5a680f(0x1ad))/0x2+-parseInt(_0x5a680f(0x183))/0x3*(-parseInt(_0x5a680f(0x16e))/0x4)+-parseInt(_0x5a680f(0x1a0))/0x5*(-parseInt(_0x5a680f(0x1a5))/0x6)+parseInt(_0x5a680f(0x16a))/0x7*(-parseInt(_0x5a680f(0x175))/0x8)+parseInt(_0x5a680f(0x178))/0x9+-parseInt(_0x5a680f(0x1b2))/0xa;if(_0x47c20c===_0x1ff8a6)break;else _0x4b618d['push'](_0x4b618d['shift']());}catch(_0x39ac80){_0x4b618d['push'](_0x4b618d['shift']());}}}(_0x26de,0xbab0f),function(_0x59ee57,_0x363995){const _0x528d3d=_0x51d2;typeof exports==_0x528d3d(0x16d)&&typeof module<'u'?_0x363995(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x528d3d(0x17c)]?define([_0x528d3d(0x1a7),'@univerjs/core',_0x528d3d(0x17b),_0x528d3d(0x18e),_0x528d3d(0x1ab)],_0x363995):(_0x59ee57=typeof globalThis<'u'?globalThis:_0x59ee57||self,_0x363995(_0x59ee57[_0x528d3d(0x1a9)],_0x59ee57['UniverCore'],_0x59ee57[_0x528d3d(0x18d)],_0x59ee57[_0x528d3d(0x193)],_0x59ee57[_0x528d3d(0x19c)]));}(this,function(_0xe2b89d,_0x36fdfc,_0x12eefc,_0x2c6d1a,_0x30c872){'use strict';const _0x13c87f=_0x51d2;class _0x497c95 extends _0x12eefc['FWorkbook']{[_0x13c87f(0x188)](_0x4cd58c){const _0x2c536e=_0x13c87f;return this[_0x2c536e(0x1ac)][_0x2c536e(0x197)](_0xe2b89d['ISheetPrintManagerService'])[_0x2c536e(0x177)](_0x4cd58c),this;}[_0x13c87f(0x191)](_0x595131){const _0x34e48a=_0x13c87f;return this[_0x34e48a(0x1ac)][_0x34e48a(0x197)](_0xe2b89d[_0x34e48a(0x170)])[_0x34e48a(0x189)](_0x595131),this;}[_0x13c87f(0x176)](){const _0x5a338d=_0x13c87f;return this['_injector']['get'](_0x36fdfc['ICommandService'])[_0x5a338d(0x190)](_0xe2b89d[_0x5a338d(0x181)]['id']);}[_0x13c87f(0x169)](){const _0x408af7=_0x13c87f;return this[_0x408af7(0x1ac)]['get'](_0x36fdfc[_0x408af7(0x195)])[_0x408af7(0x190)](_0xe2b89d['SheetPrintOpenOperation']['id']);}[_0x13c87f(0x17e)](){const _0x10c2d2=_0x13c87f;return this['_injector']['get'](_0x36fdfc[_0x10c2d2(0x195)])[_0x10c2d2(0x190)](_0xe2b89d[_0x10c2d2(0x16f)]['id']);}async[_0x13c87f(0x196)](){const _0x5b21b1=_0x13c87f;return _0xe2b89d['hasPrintFacadePermission'](this[_0x5b21b1(0x1ac)])?this[_0x5b21b1(0x1ac)][_0x5b21b1(0x197)](_0x36fdfc[_0x5b21b1(0x195)])['executeCommand'](_0xe2b89d['SheetScreenShotOperation']['id']):!0x1;}}_0x12eefc['FWorkbook'][_0x13c87f(0x1a4)](_0x497c95);class _0xc5ca9 extends _0x12eefc[_0x13c87f(0x18f)]{[_0x13c87f(0x19b)](){const _0x51c7c9=_0x13c87f;return _0xe2b89d[_0x51c7c9(0x17d)](this['_injector'])?this[_0x51c7c9(0x1ac)][_0x51c7c9(0x197)](_0xe2b89d[_0x51c7c9(0x19f)])[_0x51c7c9(0x184)](this[_0x51c7c9(0x1af)]['getUnitId'](),this['_worksheet'][_0x51c7c9(0x18c)](),this[_0x51c7c9(0x192)]):!0x1;}}_0x12eefc[_0x13c87f(0x18f)][_0x13c87f(0x1a4)](_0xc5ca9);class _0x4239f1{get[_0x13c87f(0x185)](){const _0x21ced5=_0x13c87f;return _0x21ced5(0x185);}get[_0x13c87f(0x19a)](){const _0x393ecd=_0x13c87f;return _0x393ecd(0x19a);}get[_0x13c87f(0x168)](){const _0x401add=_0x13c87f;return _0x401add(0x168);}get[_0x13c87f(0x19e)](){const _0x3ee3d6=_0x13c87f;return _0x3ee3d6(0x19e);}get[_0x13c87f(0x17a)](){const _0x5bf62e=_0x13c87f;return _0x5bf62e(0x17a);}get['SheetPrintCanceled'](){const _0x530515=_0x13c87f;return _0x530515(0x198);}}_0x2c6d1a[_0x13c87f(0x199)][_0x13c87f(0x1a4)](_0x4239f1);class _0x5e686b{get[_0x13c87f(0x1a1)](){return _0xe2b89d['PrintArea'];}get[_0x13c87f(0x179)](){return _0x30c872['PrintAlign'];}get[_0x13c87f(0x19d)](){return _0x36fdfc['PaperType'];}get[_0x13c87f(0x182)](){const _0x3c75e5=_0x13c87f;return _0x30c872[_0x3c75e5(0x182)];}get['PrintScale'](){const _0x34baae=_0x13c87f;return _0x30c872[_0x34baae(0x18a)];}get[_0x13c87f(0x174)](){return _0x30c872['PrintDirection'];}get[_0x13c87f(0x1b1)](){const _0x29a191=_0x13c87f;return _0xe2b89d[_0x29a191(0x1b1)];}get[_0x13c87f(0x1a6)](){const _0x4e1b54=_0x13c87f;return _0xe2b89d[_0x4e1b54(0x1a6)];}get[_0x13c87f(0x1ae)](){const _0x276ecd=_0x13c87f;return _0xe2b89d[_0x276ecd(0x1ae)];}}_0x2c6d1a[_0x13c87f(0x173)]['extend'](_0x5e686b);class _0x3e83e8 extends _0x2c6d1a[_0x13c87f(0x1aa)]{[_0x13c87f(0x1a2)](_0x1f8890){const _0x59c512=_0x13c87f,_0xebbbe4=_0x1f8890[_0x59c512(0x197)](_0x36fdfc[_0x59c512(0x195)]);this[_0x59c512(0x186)](this['Event'][_0x59c512(0x185)],()=>_0xebbbe4[_0x59c512(0x194)](_0x56ed5b=>{const _0x780293=_0x59c512;if(_0x56ed5b['id']===_0xe2b89d['SheetPrintOpenOperation']['id']){const _0x37338d=this[_0x780293(0x1b0)]();if(!_0x37338d)return;const _0x225891={'workbook':_0x37338d,'worksheet':_0x37338d[_0x780293(0x180)]()};if(_0x225891==null)return;if(this['fireEvent'](this['Event'][_0x780293(0x185)],_0x225891),_0x225891['cancel'])throw new _0x36fdfc['CanceledError']();}})),this[_0x59c512(0x186)](this['Event'][_0x59c512(0x19a)],()=>_0xebbbe4['beforeCommandExecuted'](_0xd28606=>{const _0x565ad1=_0x59c512;if(_0xd28606['id']===_0xe2b89d[_0x565ad1(0x181)]['id']){const _0x444608=_0x1f8890['get'](_0xe2b89d[_0x565ad1(0x170)]);if(!this['getActiveUniverSheet']())return;const _0x292c82={'layoutConfig':_0x444608['layoutConfig'],'renderConfig':_0x444608['renderConfig']};if(_0x292c82==null)return;if(this['fireEvent'](this[_0x565ad1(0x17f)]['BeforeSheetPrintConfirm'],_0x292c82),_0x292c82[_0x565ad1(0x16c)])throw new _0x36fdfc[(_0x565ad1(0x1a3))]();}})),this[_0x59c512(0x186)](this[_0x59c512(0x17f)]['BeforeSheetPrintCanceled'],()=>_0xebbbe4[_0x59c512(0x194)](_0x37ab59=>{const _0x113413=_0x59c512;if(_0x37ab59['id']===_0xe2b89d[_0x113413(0x16f)]['id']){const _0x4b2922=_0x1f8890[_0x113413(0x197)](_0xe2b89d[_0x113413(0x170)]);if(!this[_0x113413(0x1b0)]())return;const _0x8183f3={'layoutConfig':_0x4b2922[_0x113413(0x18b)],'renderConfig':_0x4b2922[_0x113413(0x1a8)]};if(_0x8183f3==null)return;if(this[_0x113413(0x187)](this[_0x113413(0x17f)][_0x113413(0x168)],_0x8183f3),_0x8183f3[_0x113413(0x16c)])throw new _0x36fdfc[(_0x113413(0x1a3))]();}})),this[_0x59c512(0x186)](this['Event'][_0x59c512(0x19e)],()=>_0xebbbe4[_0x59c512(0x16b)](_0x22911d=>{const _0x137a4a=_0x59c512;if(_0x22911d['id']===_0xe2b89d[_0x137a4a(0x171)]['id']){const _0x3bd49a=this[_0x137a4a(0x1b0)]();if(!_0x3bd49a)return;const _0x493447={'workbook':_0x3bd49a,'worksheet':_0x3bd49a[_0x137a4a(0x180)]()};if(_0x493447==null)return;this[_0x137a4a(0x187)](this['Event'][_0x137a4a(0x19e)],_0x493447);}})),this['registerEventHandler'](this[_0x59c512(0x17f)][_0x59c512(0x17a)],()=>_0xebbbe4[_0x59c512(0x16b)](_0x3656fd=>{const _0xd3cfe9=_0x59c512;if(_0x3656fd['id']===_0xe2b89d['ConfirmSheetPrintOperation']['id']){const _0x34285b=_0x1f8890['get'](_0xe2b89d[_0xd3cfe9(0x170)]);if(!this[_0xd3cfe9(0x1b0)]())return;const _0x440b36={'layoutConfig':_0x34285b[_0xd3cfe9(0x18b)],'renderConfig':_0x34285b['renderConfig']};if(_0x440b36==null)return;this[_0xd3cfe9(0x187)](this['Event'][_0xd3cfe9(0x17a)],_0x440b36);}})),this[_0x59c512(0x186)](this[_0x59c512(0x17f)]['SheetPrintCanceled'],()=>_0xebbbe4[_0x59c512(0x16b)](_0x5d5073=>{const _0x4a7e3a=_0x59c512;if(_0x5d5073['id']===_0xe2b89d[_0x4a7e3a(0x16f)]['id']){const _0x46526d=_0x1f8890[_0x4a7e3a(0x197)](_0xe2b89d['ISheetPrintManagerService']);if(!this[_0x4a7e3a(0x1b0)]())return;const _0x5388d5={'layoutConfig':_0x46526d[_0x4a7e3a(0x18b)],'renderConfig':_0x46526d[_0x4a7e3a(0x1a8)]};if(_0x5388d5==null)return;this[_0x4a7e3a(0x187)](this[_0x4a7e3a(0x17f)][_0x4a7e3a(0x198)],_0x5388d5);}}));}}_0x2c6d1a[_0x13c87f(0x1aa)][_0x13c87f(0x1a4)](_0x3e83e8);}));function _0x26de(){const _0x3da31b=['getActiveSheet','ConfirmSheetPrintOperation','PrintPaperMargin','3UJhbYI','getRangeImage','BeforeSheetPrintOpen','registerEventHandler','fireEvent','updatePrintConfig','updateRenderConfig','PrintScale','layoutConfig','getSheetId','UniverSheetsFacade','@univerjs/core/facade','FRange','syncExecuteCommand','updatePrintRenderConfig','_range','UniverCoreFacade','beforeCommandExecuted','ICommandService','saveScreenshotToClipboard','get','SheetPrintCanceled','FEventName','BeforeSheetPrintConfirm','getScreenshot','UniverProPrint','PrintPaperSize','SheetPrintOpen','SheetPrintClientService','1260530RMPmsw','PrintArea','_initialize','CanceledError','extend','6TUVLrB','PrintHeaderFooter','@univerjs-pro/sheets-print','renderConfig','UniverProSheetsPrint','FUniver','@univerjs-pro/print','_injector','2699366rJsnnJ','PrintHeaderFooterSymbol','_workbook','getActiveUniverSheet','PrintFreeze','6623730ZoAPCh','BeforeSheetPrintCanceled','openPrintDialog','322pFFjwf','onCommandExecuted','cancel','object','1603024bhexfh','CancelSheetPrintOperation','ISheetPrintManagerService','SheetPrintOpenOperation','536927AEZAwY','FEnum','PrintDirection','169584SmfZNc','print','updateLayoutConfig','8428950MfUMDj','PrintAlign','SheetPrintConfirmed','@univerjs/sheets/facade','amd','hasPrintFacadePermission','closePrintDialog','Event'];_0x26de=function(){return _0x3da31b;};return _0x26de();}