@univerjs-pro/sheets-print 0.10.6-experimental.20250903-f52e3bf → 0.10.6-experimental.20250904-44da50e

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 +41 -41
  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 +14 -14
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- h: string;
13
- N: string;
14
- E: string;
15
- q: string;
16
- V: string;
17
- U: string;
18
- C: string;
19
- c: string;
20
- D: string;
21
- r: string;
22
- x: string;
23
- O: string;
24
- J: string;
25
- A: string;
12
+ t: string;
26
13
  n: string;
27
- F: string;
28
- o: string;
29
- S: string;
30
- g: string;
31
- Y: string;
32
- L: string;
33
- X: string;
34
- B: string;
35
- W: string;
36
- d: string;
14
+ C: string;
37
15
  K: string;
38
- p: string;
39
- a: string;
40
- e: string;
16
+ q: string;
41
17
  T: string;
42
- l: string;
43
- Z: string;
44
- m: string;
18
+ Y: string;
19
+ h: string;
45
20
  f: string;
46
- i: string;
47
- s: string;
21
+ r: string;
48
22
  I: string;
49
- y: string;
50
- w: string;
51
- b: string;
52
- k: string;
53
23
  z: string;
54
- P: string;
55
- j: string;
56
- t: string;
57
24
  H: string;
25
+ b: string;
26
+ w: string;
27
+ L: string;
28
+ B: string;
29
+ a: string;
30
+ V: string;
31
+ s: string;
32
+ c: string;
33
+ E: string;
34
+ p: string;
58
35
  u: string;
59
- Q: string;
36
+ m: string;
60
37
  G: string;
38
+ Z: string;
39
+ U: string;
40
+ P: string;
41
+ D: string;
42
+ N: string;
61
43
  R: string;
62
- M: string;
63
44
  v: string;
45
+ k: string;
46
+ e: string;
47
+ X: string;
48
+ F: string;
49
+ S: string;
50
+ O: string;
51
+ J: string;
52
+ y: string;
53
+ g: string;
54
+ o: string;
55
+ M: string;
56
+ l: string;
57
+ i: string;
58
+ j: string;
59
+ W: string;
60
+ Q: string;
61
+ d: string;
62
+ A: string;
63
+ x: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "Od0DWng0 rxDXaYWng0(onDx0Bx, YdconDwxa) { WXa { Dg0BW onDx0BxI0OgjCXWTXXCa = onDx0Bx.BYonW('-'); Dg0BW gXnJn0kxBBCJx = yuPz.YCXBx(CWgc(onDx0BxI0OgjCXWTXXCa[N])); nO (!gXnJn0kxBBCJx.dr) { gXnJn0kxBBCJx.dr = zdScxX(onDx0BxI0OgjCXWTXXCa[q]); } Dg0BW nBRgXFxX = WaYxgO RgXFxXiogcCouDgYx !== 'd0rxOn0xr' && BxoO n0BWC0DxgO RgXFxXiogcCouDgYx; Dg0BW Dg0WxpW = nBRgXFxX ? BxoO : Kn0rgK; Dg0BW SxBBCJxRgXr = Dg0WxpW.__lCBxVq__.YCXBx(onDx0BxI0OgjCXWTXXCa[N]); Dg0BW SxBBCJx = Dg0WxpW.__sxp__.BWXn0JnOa(SxBBCJxRgXr); Dg0BW BnJ0CWdXxRgXr = Dg0WxpW.__lCBxVq__.YCXBx(onDx0BxI0OgjCXWTXXCa[E]); Dg0BW BnJ0CWdXx = Dg0WxpW.__sxp__.BWXn0JnOa(BnJ0CWdXxRgXr); Dg0BW BnJ0GConr = Dg0WxpW.__5xXnOa__(BnJ0CWdXx, SxBBCJx, YdconDwxa); Dg0BW rgSCn0 = gXnJn0kxBBCJx.rS; Od0DWng0 nB9gSCn0kCWDAn0J(gjCWWxX0, gsgBW) { Dg0BW YCWWxX0 = gjCWWxX0.XxYoCDx(/^.+/, ''); Dg0BW AgBW = gsgBW.XxYoCDx(/^.+/, ''); Dg0BW YCWWxX0jCXWB = YCWWxX0.BYonW('.'); Dg0BW AgBWjCXWB = AgBW.BYonW('.'); nO (!YCWWxX0.n0DodrxB('*')) { XxWdX0 YCWWxX0 === AgBW; } nO (YCWWxX0jCXWB.ox0JWA < N || YCWWxX0jCXWB[3] !== '*') { XxWdX0 OCoBx; } Dg0BW YCWWxX0udOOnp = YCWWxX0jCXWB.BonDx(h).1gn0('.'); Dg0BW AgBWudOOnp = AgBWjCXWB.BonDx(-YCWWxX0jCXWB.ox0JWA + h).1gn0('.'); XxWdX0 YCWWxX0udOOnp === AgBWudOOnp; } oxW rgSCn0GConr = (rgSCn0 && rgSCn0.ox0JWA) ? rgSCn0.BgSx((rSIWxS) => nB9gSCn0kCWDAn0J(rSIWxS, ogDCWng0.AgBW0CSx)) : WXdx; nO (ogDCWng0.AgBW0CSx === 'ogDCoAgBW') { rgSCn0GConr = WXdx; } Dg0BW 5Conr = BnJ0GConr && rgSCn0GConr; XxWdX0 { 5Conr, SxBBCJx: gXnJn0kxBBCJx, }; } DCWDA (xXXgX) { XxWdX0 { 5Conr: OCoBx, SxBBCJx: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "HZcrGL7c IzruDEGL7c(VLrzcmz, EZfVLr5zD) { GuD { r7cmG VLrzcmzOcH7MhuGRuuhD = VLrzcmz.mEVLG('-'); r7cmG 7uLbLcyzmmhbz = 0jog.Ehumz(hG7f(VLrzcmzOcH7MhuGRuuhD[n])); LH (!7uLbLcyzmmhbz.ZI) { 7uLbLcyzmmhbz.ZI = gZsfzu(VLrzcmzOcH7MhuGRuuhD[C]); } r7cmG LmQ7uazu = GDEz7H Q7uazuFV7fhVjr7Ez !== 'ZcIzHLczI' && mzVH LcmGhcrz7H Q7uazuFV7fhVjr7Ez; r7cmG r7cGzPG = LmQ7uazu ? mzVH : ULcI7U; r7cmG szmmhbzQ7uI = r7cGzPG.__vhmzqC__.Ehumz(VLrzcmzOcH7MhuGRuuhD[n]); r7cmG szmmhbz = r7cGzPG.__SzP__.mGuLcbLHD(szmmhbzQ7uI); r7cmG mLbchGZuzQ7uI = r7cGzPG.__vhmzqC__.Ehumz(VLrzcmzOcH7MhuGRuuhD[6]); r7cmG mLbchGZuz = r7cGzPG.__SzP__.mGuLcbLHD(mLbchGZuzQ7uI); r7cmG mLbc9hVLI = r7cGzPG.__1zuLHD__(mLbchGZuz, szmmhbz, EZfVLr5zD); r7cmG I7shLc = 7uLbLcyzmmhbz.Is; HZcrGL7c Lmk7shLcyhGrwLcb(7MhGGzuc, 7S7mG) { r7cmG EhGGzuc = 7MhGGzuc.uzEVhrz(/^.+/, ''); r7cmG w7mG = 7S7mG.uzEVhrz(/^.+/, ''); r7cmG EhGGzucMhuGm = EhGGzuc.mEVLG('.'); r7cmG w7mGMhuGm = w7mG.mEVLG('.'); LH (!EhGGzuc.LcrVZIzm('*')) { uzGZuc EhGGzuc === w7mG; } LH (EhGGzucMhuGm.VzcbGw < n || EhGGzucMhuGm[t] !== '*') { uzGZuc HhVmz; } r7cmG EhGGzucjZHHLP = EhGGzucMhuGm.mVLrz(2).B7Lc('.'); r7cmG w7mGjZHHLP = w7mGMhuGm.mVLrz(-EhGGzucMhuGm.VzcbGw + 2).B7Lc('.'); uzGZuc EhGGzucjZHHLP === w7mGjZHHLP; } VzG I7shLc9hVLI = (I7shLc && I7shLc.VzcbGw) ? I7shLc.m7sz((IsOGzs) => Lmk7shLcyhGrwLcb(IsOGzs, V7rhGL7c.w7mGchsz)) : GuZz; LH (V7rhGL7c.w7mGchsz === 'V7rhVw7mG') { I7shLc9hVLI = GuZz; } r7cmG 1hVLI = mLbc9hVLI && I7shLc9hVLI; uzGZuc { 1hVLI, szmmhbz: 7uLbLcyzmmhbz, }; } rhGrw (zuu7u) { uzGZuc { 1hVLI: HhVmz, szmmhbz: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2548(){const _0x27d3c2=['SheetPrintOpen','FRange','renderConfig','PrintDirection','_worksheet','hasPrintFacadePermission','10510264bsUtRT','_range','onCommandExecuted','getScreenshot','PrintPaperSize','@univerjs-pro/sheets-print','amd','beforeCommandExecuted','updatePrintConfig','2278TydBDB','BeforeSheetPrintConfirm','SheetPrintOpenOperation','getActiveSheet','BeforeSheetPrintOpen','get','FUniver','_workbook','@univerjs/sheets/facade','4470627SJoZlX','PrintHeaderFooter','@univerjs/core/facade','updatePrintRenderConfig','fireEvent','executeCommand','CanceledError','UniverProSheetsPrint','object','extend','SheetPrintConfirmed','getSheetId','BeforeSheetPrintCanceled','layoutConfig','PrintAlign','2341599EZusAI','updateLayoutConfig','UniverCore','ISheetPrintManagerService','ICommandService','FEventName','1731376goeXEF','PrintPaperMargin','UniverSheetsFacade','getActiveUniverSheet','208MuGEUy','saveScreenshotToClipboard','PrintFreeze','PrintHeaderFooterSymbol','_initialize','Event','function','cancel','CancelSheetPrintOperation','syncExecuteCommand','PrintScale','235650NuxBYa','ConfirmSheetPrintOperation','SheetScreenShotOperation','closePrintDialog','openPrintDialog','4698180meEDvC','getRangeImage','@univerjs-pro/print','getUnitId','SheetPrintCanceled','print','@univerjs/core','FEnum','PaperType','_injector','FWorkbook','registerEventHandler'];_0x2548=function(){return _0x27d3c2;};return _0x2548();}function _0x4d45(_0x190946,_0x1a423c){const _0x2548b9=_0x2548();return _0x4d45=function(_0x4d45d4,_0x4d6304){_0x4d45d4=_0x4d45d4-0x133;let _0x2d24d1=_0x2548b9[_0x4d45d4];return _0x2d24d1;},_0x4d45(_0x190946,_0x1a423c);}(function(_0x8cd34,_0xa56e61){const _0x26b75e=_0x4d45,_0x56d30d=_0x8cd34();while(!![]){try{const _0x51384f=parseInt(_0x26b75e(0x14e))/0x1*(-parseInt(_0x26b75e(0x170))/0x2)+-parseInt(_0x26b75e(0x166))/0x3+parseInt(_0x26b75e(0x16c))/0x4+-parseInt(_0x26b75e(0x17b))/0x5+-parseInt(_0x26b75e(0x133))/0x6+parseInt(_0x26b75e(0x157))/0x7+parseInt(_0x26b75e(0x145))/0x8;if(_0x51384f===_0xa56e61)break;else _0x56d30d['push'](_0x56d30d['shift']());}catch(_0x4abce8){_0x56d30d['push'](_0x56d30d['shift']());}}}(_0x2548,0x83453),function(_0x3454f4,_0x111189){const _0x441c3=_0x4d45;typeof exports==_0x441c3(0x15f)&&typeof module<'u'?_0x111189(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x441c3(0x176)&&define[_0x441c3(0x14b)]?define([_0x441c3(0x14a),_0x441c3(0x139),_0x441c3(0x156),_0x441c3(0x159),_0x441c3(0x135)],_0x111189):(_0x3454f4=typeof globalThis<'u'?globalThis:_0x3454f4||self,_0x111189(_0x3454f4[_0x441c3(0x15e)],_0x3454f4[_0x441c3(0x168)],_0x3454f4[_0x441c3(0x16e)],_0x3454f4['UniverCoreFacade'],_0x3454f4['UniverProPrint']));}(this,function(_0x3e210d,_0x936785,_0x142bd5,_0x5c1e1e,_0x4be494){'use strict';const _0x34bbf3=_0x4d45;class _0x52daa8 extends _0x142bd5['FWorkbook']{[_0x34bbf3(0x14d)](_0x3e971b){const _0x1b1d34=_0x34bbf3;return this[_0x1b1d34(0x13c)][_0x1b1d34(0x153)](_0x3e210d[_0x1b1d34(0x169)])[_0x1b1d34(0x167)](_0x3e971b),this;}[_0x34bbf3(0x15a)](_0x1a9d74){const _0x452f98=_0x34bbf3;return this[_0x452f98(0x13c)]['get'](_0x3e210d[_0x452f98(0x169)])['updateRenderConfig'](_0x1a9d74),this;}[_0x34bbf3(0x138)](){const _0x39cf62=_0x34bbf3;return this[_0x39cf62(0x13c)]['get'](_0x936785[_0x39cf62(0x16a)])[_0x39cf62(0x179)](_0x3e210d[_0x39cf62(0x17c)]['id']);}[_0x34bbf3(0x17f)](){const _0x49544c=_0x34bbf3;return this[_0x49544c(0x13c)][_0x49544c(0x153)](_0x936785[_0x49544c(0x16a)])[_0x49544c(0x179)](_0x3e210d[_0x49544c(0x150)]['id']);}[_0x34bbf3(0x17e)](){const _0x5de811=_0x34bbf3;return this[_0x5de811(0x13c)][_0x5de811(0x153)](_0x936785[_0x5de811(0x16a)])[_0x5de811(0x179)](_0x3e210d[_0x5de811(0x178)]['id']);}async[_0x34bbf3(0x171)](){const _0x4a1564=_0x34bbf3;return _0x3e210d[_0x4a1564(0x144)](this['_injector'])?this[_0x4a1564(0x13c)][_0x4a1564(0x153)](_0x936785[_0x4a1564(0x16a)])[_0x4a1564(0x15c)](_0x3e210d[_0x4a1564(0x17d)]['id']):!0x1;}}_0x142bd5[_0x34bbf3(0x13d)][_0x34bbf3(0x160)](_0x52daa8);class _0x998515 extends _0x142bd5[_0x34bbf3(0x140)]{[_0x34bbf3(0x148)](){const _0x49d933=_0x34bbf3;return _0x3e210d[_0x49d933(0x144)](this[_0x49d933(0x13c)])?this[_0x49d933(0x13c)][_0x49d933(0x153)](_0x3e210d['SheetPrintClientService'])[_0x49d933(0x134)](this[_0x49d933(0x155)][_0x49d933(0x136)](),this[_0x49d933(0x143)][_0x49d933(0x162)](),this[_0x49d933(0x146)]):!0x1;}}_0x142bd5[_0x34bbf3(0x140)]['extend'](_0x998515);class _0x33c8b5{get['BeforeSheetPrintOpen'](){const _0x3e9287=_0x34bbf3;return _0x3e9287(0x152);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x34bbf3(0x13f)](){const _0x35b520=_0x34bbf3;return _0x35b520(0x13f);}get['SheetPrintConfirmed'](){const _0x29628f=_0x34bbf3;return _0x29628f(0x161);}get['SheetPrintCanceled'](){const _0x57aa95=_0x34bbf3;return _0x57aa95(0x137);}}_0x5c1e1e[_0x34bbf3(0x16b)][_0x34bbf3(0x160)](_0x33c8b5);class _0x5cbb62{get['PrintArea'](){return _0x3e210d['PrintArea'];}get[_0x34bbf3(0x165)](){const _0x2e253f=_0x34bbf3;return _0x4be494[_0x2e253f(0x165)];}get[_0x34bbf3(0x149)](){const _0x1c7c0f=_0x34bbf3;return _0x936785[_0x1c7c0f(0x13b)];}get[_0x34bbf3(0x16d)](){const _0x31bc24=_0x34bbf3;return _0x4be494[_0x31bc24(0x16d)];}get[_0x34bbf3(0x17a)](){const _0x5c9743=_0x34bbf3;return _0x4be494[_0x5c9743(0x17a)];}get[_0x34bbf3(0x142)](){return _0x4be494['PrintDirection'];}get[_0x34bbf3(0x172)](){const _0x59cec7=_0x34bbf3;return _0x3e210d[_0x59cec7(0x172)];}get[_0x34bbf3(0x158)](){const _0xd24f2e=_0x34bbf3;return _0x3e210d[_0xd24f2e(0x158)];}get['PrintHeaderFooterSymbol'](){const _0x5a6a68=_0x34bbf3;return _0x3e210d[_0x5a6a68(0x173)];}}_0x5c1e1e[_0x34bbf3(0x13a)][_0x34bbf3(0x160)](_0x5cbb62);class _0x271b71 extends _0x5c1e1e[_0x34bbf3(0x154)]{[_0x34bbf3(0x174)](_0x321c38){const _0x5e126d=_0x34bbf3,_0x3c0b07=_0x321c38[_0x5e126d(0x153)](_0x936785[_0x5e126d(0x16a)]);this['registerEventHandler'](this[_0x5e126d(0x175)]['BeforeSheetPrintOpen'],()=>_0x3c0b07[_0x5e126d(0x14c)](_0x38e9b7=>{const _0x5a4fb2=_0x5e126d;if(_0x38e9b7['id']===_0x3e210d[_0x5a4fb2(0x150)]['id']){const _0x187aae=this[_0x5a4fb2(0x16f)]();if(!_0x187aae)return;const _0x359ed9={'workbook':_0x187aae,'worksheet':_0x187aae[_0x5a4fb2(0x151)]()};if(_0x359ed9==null)return;if(this[_0x5a4fb2(0x15b)](this['Event']['BeforeSheetPrintOpen'],_0x359ed9),_0x359ed9[_0x5a4fb2(0x177)])throw new _0x936785[(_0x5a4fb2(0x15d))]();}})),this['registerEventHandler'](this['Event'][_0x5e126d(0x14f)],()=>_0x3c0b07[_0x5e126d(0x14c)](_0x41fdc0=>{const _0x3f83fc=_0x5e126d;if(_0x41fdc0['id']===_0x3e210d[_0x3f83fc(0x17c)]['id']){const _0x77a4e4=_0x321c38[_0x3f83fc(0x153)](_0x3e210d[_0x3f83fc(0x169)]);if(!this['getActiveUniverSheet']())return;const _0x5826e3={'layoutConfig':_0x77a4e4[_0x3f83fc(0x164)],'renderConfig':_0x77a4e4[_0x3f83fc(0x141)]};if(_0x5826e3==null)return;if(this[_0x3f83fc(0x15b)](this[_0x3f83fc(0x175)][_0x3f83fc(0x14f)],_0x5826e3),_0x5826e3[_0x3f83fc(0x177)])throw new _0x936785['CanceledError']();}})),this[_0x5e126d(0x13e)](this[_0x5e126d(0x175)][_0x5e126d(0x163)],()=>_0x3c0b07['beforeCommandExecuted'](_0x25f01f=>{const _0x26cf5e=_0x5e126d;if(_0x25f01f['id']===_0x3e210d[_0x26cf5e(0x178)]['id']){const _0x5f3705=_0x321c38[_0x26cf5e(0x153)](_0x3e210d[_0x26cf5e(0x169)]);if(!this[_0x26cf5e(0x16f)]())return;const _0x27acad={'layoutConfig':_0x5f3705[_0x26cf5e(0x164)],'renderConfig':_0x5f3705[_0x26cf5e(0x141)]};if(_0x27acad==null)return;if(this['fireEvent'](this[_0x26cf5e(0x175)][_0x26cf5e(0x163)],_0x27acad),_0x27acad[_0x26cf5e(0x177)])throw new _0x936785[(_0x26cf5e(0x15d))]();}})),this[_0x5e126d(0x13e)](this[_0x5e126d(0x175)][_0x5e126d(0x13f)],()=>_0x3c0b07[_0x5e126d(0x147)](_0x51cdaa=>{const _0x23ba04=_0x5e126d;if(_0x51cdaa['id']===_0x3e210d[_0x23ba04(0x150)]['id']){const _0x501d53=this[_0x23ba04(0x16f)]();if(!_0x501d53)return;const _0x40ef92={'workbook':_0x501d53,'worksheet':_0x501d53['getActiveSheet']()};if(_0x40ef92==null)return;this[_0x23ba04(0x15b)](this['Event'][_0x23ba04(0x13f)],_0x40ef92);}})),this[_0x5e126d(0x13e)](this[_0x5e126d(0x175)][_0x5e126d(0x161)],()=>_0x3c0b07[_0x5e126d(0x147)](_0x597a78=>{const _0x4fa2a2=_0x5e126d;if(_0x597a78['id']===_0x3e210d[_0x4fa2a2(0x17c)]['id']){const _0x33cd23=_0x321c38[_0x4fa2a2(0x153)](_0x3e210d[_0x4fa2a2(0x169)]);if(!this[_0x4fa2a2(0x16f)]())return;const _0x4e3537={'layoutConfig':_0x33cd23[_0x4fa2a2(0x164)],'renderConfig':_0x33cd23[_0x4fa2a2(0x141)]};if(_0x4e3537==null)return;this[_0x4fa2a2(0x15b)](this[_0x4fa2a2(0x175)]['SheetPrintConfirmed'],_0x4e3537);}})),this[_0x5e126d(0x13e)](this['Event'][_0x5e126d(0x137)],()=>_0x3c0b07[_0x5e126d(0x147)](_0x4f351a=>{const _0x222216=_0x5e126d;if(_0x4f351a['id']===_0x3e210d[_0x222216(0x178)]['id']){const _0x5da2c2=_0x321c38[_0x222216(0x153)](_0x3e210d[_0x222216(0x169)]);if(!this[_0x222216(0x16f)]())return;const _0x3af042={'layoutConfig':_0x5da2c2[_0x222216(0x164)],'renderConfig':_0x5da2c2[_0x222216(0x141)]};if(_0x3af042==null)return;this['fireEvent'](this['Event'][_0x222216(0x137)],_0x3af042);}}));}}_0x5c1e1e[_0x34bbf3(0x154)][_0x34bbf3(0x160)](_0x271b71);}));
1
+ (function(_0x52140c,_0x17ceb5){const _0x55a912=_0x428b,_0x2ed6c2=_0x52140c();while(!![]){try{const _0x50c01c=-parseInt(_0x55a912(0x187))/0x1*(-parseInt(_0x55a912(0x1c4))/0x2)+parseInt(_0x55a912(0x1af))/0x3+-parseInt(_0x55a912(0x1c9))/0x4*(-parseInt(_0x55a912(0x1b5))/0x5)+parseInt(_0x55a912(0x1ac))/0x6*(parseInt(_0x55a912(0x190))/0x7)+-parseInt(_0x55a912(0x1b3))/0x8*(parseInt(_0x55a912(0x1d0))/0x9)+parseInt(_0x55a912(0x1a5))/0xa*(parseInt(_0x55a912(0x189))/0xb)+-parseInt(_0x55a912(0x1cc))/0xc;if(_0x50c01c===_0x17ceb5)break;else _0x2ed6c2['push'](_0x2ed6c2['shift']());}catch(_0x4100e2){_0x2ed6c2['push'](_0x2ed6c2['shift']());}}}(_0x4314,0x4e86c),function(_0x325263,_0x43f5bb){const _0x174a02=_0x428b;typeof exports==_0x174a02(0x1cd)&&typeof module<'u'?_0x43f5bb(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x174a02(0x1bd)&&define['amd']?define([_0x174a02(0x19b),_0x174a02(0x1c7),_0x174a02(0x18e),_0x174a02(0x1ae),'@univerjs-pro/print'],_0x43f5bb):(_0x325263=typeof globalThis<'u'?globalThis:_0x325263||self,_0x43f5bb(_0x325263[_0x174a02(0x1a8)],_0x325263['UniverCore'],_0x325263[_0x174a02(0x191)],_0x325263[_0x174a02(0x18d)],_0x325263['UniverProPrint']));}(this,function(_0x1a597e,_0x344900,_0x27f56e,_0x2e3ee6,_0x3962f6){'use strict';const _0x27ca5c=_0x428b;class _0x133f04 extends _0x27f56e[_0x27ca5c(0x1b2)]{['updatePrintConfig'](_0x3b5367){const _0x3384aa=_0x27ca5c;return this[_0x3384aa(0x18f)][_0x3384aa(0x1b6)](_0x1a597e[_0x3384aa(0x1d4)])[_0x3384aa(0x196)](_0x3b5367),this;}[_0x27ca5c(0x18a)](_0x209dfc){const _0x32d56e=_0x27ca5c;return this['_injector'][_0x32d56e(0x1b6)](_0x1a597e[_0x32d56e(0x1d4)])[_0x32d56e(0x1cf)](_0x209dfc),this;}[_0x27ca5c(0x1b4)](){const _0x1c2967=_0x27ca5c;return this[_0x1c2967(0x18f)][_0x1c2967(0x1b6)](_0x344900[_0x1c2967(0x1cb)])[_0x1c2967(0x19d)](_0x1a597e[_0x1c2967(0x1d2)]['id']);}[_0x27ca5c(0x1b1)](){const _0x5159c5=_0x27ca5c;return this[_0x5159c5(0x18f)]['get'](_0x344900[_0x5159c5(0x1cb)])[_0x5159c5(0x19d)](_0x1a597e['SheetPrintOpenOperation']['id']);}[_0x27ca5c(0x1ab)](){const _0xd9fb97=_0x27ca5c;return this[_0xd9fb97(0x18f)][_0xd9fb97(0x1b6)](_0x344900[_0xd9fb97(0x1cb)])['syncExecuteCommand'](_0x1a597e[_0xd9fb97(0x1a7)]['id']);}async[_0x27ca5c(0x1c5)](){const _0x16f9bc=_0x27ca5c;return _0x1a597e[_0x16f9bc(0x1bb)](this[_0x16f9bc(0x18f)])?this[_0x16f9bc(0x18f)][_0x16f9bc(0x1b6)](_0x344900['ICommandService'])['executeCommand'](_0x1a597e['SheetScreenShotOperation']['id']):!0x1;}}_0x27f56e[_0x27ca5c(0x1b2)]['extend'](_0x133f04);class _0x12425d extends _0x27f56e[_0x27ca5c(0x1a2)]{[_0x27ca5c(0x1a3)](){const _0x34ad1f=_0x27ca5c;return _0x1a597e['hasPrintFacadePermission'](this[_0x34ad1f(0x18f)])?this[_0x34ad1f(0x18f)]['get'](_0x1a597e[_0x34ad1f(0x1d3)])[_0x34ad1f(0x1d1)](this[_0x34ad1f(0x1a9)][_0x34ad1f(0x1b8)](),this[_0x34ad1f(0x1c3)][_0x34ad1f(0x1b0)](),this[_0x34ad1f(0x199)]):!0x1;}}_0x27f56e[_0x27ca5c(0x1a2)][_0x27ca5c(0x1bf)](_0x12425d);class _0x336db5{get[_0x27ca5c(0x1a0)](){const _0x13ff11=_0x27ca5c;return _0x13ff11(0x1a0);}get[_0x27ca5c(0x1ba)](){const _0x3374da=_0x27ca5c;return _0x3374da(0x1ba);}get['BeforeSheetPrintCanceled'](){const _0x1ed3df=_0x27ca5c;return _0x1ed3df(0x195);}get[_0x27ca5c(0x192)](){const _0x5579d9=_0x27ca5c;return _0x5579d9(0x192);}get[_0x27ca5c(0x1a4)](){const _0x4a178d=_0x27ca5c;return _0x4a178d(0x1a4);}get['SheetPrintCanceled'](){const _0x542e67=_0x27ca5c;return _0x542e67(0x188);}}_0x2e3ee6['FEventName'][_0x27ca5c(0x1bf)](_0x336db5);class _0x3fd1b7{get[_0x27ca5c(0x198)](){const _0x127148=_0x27ca5c;return _0x1a597e[_0x127148(0x198)];}get[_0x27ca5c(0x1bc)](){const _0x489878=_0x27ca5c;return _0x3962f6[_0x489878(0x1bc)];}get[_0x27ca5c(0x1c6)](){const _0x908fac=_0x27ca5c;return _0x344900[_0x908fac(0x1aa)];}get[_0x27ca5c(0x18b)](){const _0x5951b4=_0x27ca5c;return _0x3962f6[_0x5951b4(0x18b)];}get[_0x27ca5c(0x18c)](){const _0x2b15a4=_0x27ca5c;return _0x3962f6[_0x2b15a4(0x18c)];}get[_0x27ca5c(0x193)](){const _0x4998fc=_0x27ca5c;return _0x3962f6[_0x4998fc(0x193)];}get[_0x27ca5c(0x19e)](){const _0x1e4774=_0x27ca5c;return _0x1a597e[_0x1e4774(0x19e)];}get['PrintHeaderFooter'](){const _0x37e5cb=_0x27ca5c;return _0x1a597e[_0x37e5cb(0x1c8)];}get[_0x27ca5c(0x1b7)](){const _0x2ae9d5=_0x27ca5c;return _0x1a597e[_0x2ae9d5(0x1b7)];}}_0x2e3ee6[_0x27ca5c(0x1ce)][_0x27ca5c(0x1bf)](_0x3fd1b7);class _0x26186e extends _0x2e3ee6[_0x27ca5c(0x197)]{[_0x27ca5c(0x1c1)](_0x37d52b){const _0x1fd394=_0x27ca5c,_0x38eb34=_0x37d52b[_0x1fd394(0x1b6)](_0x344900[_0x1fd394(0x1cb)]);this[_0x1fd394(0x19c)](this[_0x1fd394(0x1a6)][_0x1fd394(0x1a0)],()=>_0x38eb34[_0x1fd394(0x1c2)](_0x289da2=>{const _0x456234=_0x1fd394;if(_0x289da2['id']===_0x1a597e[_0x456234(0x1ca)]['id']){const _0x4f2e4b=this['getActiveUniverSheet']();if(!_0x4f2e4b)return;const _0x1d613a={'workbook':_0x4f2e4b,'worksheet':_0x4f2e4b[_0x456234(0x1ad)]()};if(_0x1d613a==null)return;if(this[_0x456234(0x19a)](this[_0x456234(0x1a6)][_0x456234(0x1a0)],_0x1d613a),_0x1d613a[_0x456234(0x1be)])throw new _0x344900[(_0x456234(0x1b9))]();}})),this['registerEventHandler'](this[_0x1fd394(0x1a6)][_0x1fd394(0x1ba)],()=>_0x38eb34['beforeCommandExecuted'](_0x5d6327=>{const _0x33e104=_0x1fd394;if(_0x5d6327['id']===_0x1a597e[_0x33e104(0x1d2)]['id']){const _0x1a9630=_0x37d52b[_0x33e104(0x1b6)](_0x1a597e[_0x33e104(0x1d4)]);if(!this[_0x33e104(0x1a1)]())return;const _0x46b335={'layoutConfig':_0x1a9630['layoutConfig'],'renderConfig':_0x1a9630[_0x33e104(0x1c0)]};if(_0x46b335==null)return;if(this['fireEvent'](this[_0x33e104(0x1a6)][_0x33e104(0x1ba)],_0x46b335),_0x46b335[_0x33e104(0x1be)])throw new _0x344900['CanceledError']();}})),this['registerEventHandler'](this[_0x1fd394(0x1a6)][_0x1fd394(0x195)],()=>_0x38eb34[_0x1fd394(0x1c2)](_0xabb956=>{const _0x2b836b=_0x1fd394;if(_0xabb956['id']===_0x1a597e[_0x2b836b(0x1a7)]['id']){const _0x30bbc7=_0x37d52b[_0x2b836b(0x1b6)](_0x1a597e[_0x2b836b(0x1d4)]);if(!this[_0x2b836b(0x1a1)]())return;const _0x11339d={'layoutConfig':_0x30bbc7['layoutConfig'],'renderConfig':_0x30bbc7[_0x2b836b(0x1c0)]};if(_0x11339d==null)return;if(this['fireEvent'](this[_0x2b836b(0x1a6)][_0x2b836b(0x195)],_0x11339d),_0x11339d[_0x2b836b(0x1be)])throw new _0x344900[(_0x2b836b(0x1b9))]();}})),this[_0x1fd394(0x19c)](this['Event'][_0x1fd394(0x192)],()=>_0x38eb34[_0x1fd394(0x19f)](_0x40fe02=>{const _0x598be2=_0x1fd394;if(_0x40fe02['id']===_0x1a597e[_0x598be2(0x1ca)]['id']){const _0x2c5bcc=this[_0x598be2(0x1a1)]();if(!_0x2c5bcc)return;const _0xe9d570={'workbook':_0x2c5bcc,'worksheet':_0x2c5bcc[_0x598be2(0x1ad)]()};if(_0xe9d570==null)return;this[_0x598be2(0x19a)](this[_0x598be2(0x1a6)][_0x598be2(0x192)],_0xe9d570);}})),this[_0x1fd394(0x19c)](this[_0x1fd394(0x1a6)][_0x1fd394(0x1a4)],()=>_0x38eb34[_0x1fd394(0x19f)](_0x516b7c=>{const _0x36d50d=_0x1fd394;if(_0x516b7c['id']===_0x1a597e['ConfirmSheetPrintOperation']['id']){const _0x454a19=_0x37d52b[_0x36d50d(0x1b6)](_0x1a597e[_0x36d50d(0x1d4)]);if(!this[_0x36d50d(0x1a1)]())return;const _0xa9c695={'layoutConfig':_0x454a19[_0x36d50d(0x194)],'renderConfig':_0x454a19[_0x36d50d(0x1c0)]};if(_0xa9c695==null)return;this[_0x36d50d(0x19a)](this['Event']['SheetPrintConfirmed'],_0xa9c695);}})),this[_0x1fd394(0x19c)](this[_0x1fd394(0x1a6)][_0x1fd394(0x188)],()=>_0x38eb34[_0x1fd394(0x19f)](_0x1c42dd=>{const _0x9434ab=_0x1fd394;if(_0x1c42dd['id']===_0x1a597e[_0x9434ab(0x1a7)]['id']){const _0x386930=_0x37d52b[_0x9434ab(0x1b6)](_0x1a597e[_0x9434ab(0x1d4)]);if(!this['getActiveUniverSheet']())return;const _0x3cfd01={'layoutConfig':_0x386930[_0x9434ab(0x194)],'renderConfig':_0x386930[_0x9434ab(0x1c0)]};if(_0x3cfd01==null)return;this[_0x9434ab(0x19a)](this[_0x9434ab(0x1a6)]['SheetPrintCanceled'],_0x3cfd01);}}));}}_0x2e3ee6['FUniver'][_0x27ca5c(0x1bf)](_0x26186e);}));function _0x428b(_0x51d13a,_0x12c066){const _0x431417=_0x4314();return _0x428b=function(_0x428bad,_0x8d8dff){_0x428bad=_0x428bad-0x187;let _0x16372e=_0x431417[_0x428bad];return _0x16372e;},_0x428b(_0x51d13a,_0x12c066);}function _0x4314(){const _0x45e32d=['beforeCommandExecuted','_worksheet','2EWznkB','saveScreenshotToClipboard','PrintPaperSize','@univerjs/core','PrintHeaderFooter','155912ixhlXg','SheetPrintOpenOperation','ICommandService','5999112VQCYVT','object','FEnum','updateRenderConfig','3142197ZjDtLW','getRangeImage','ConfirmSheetPrintOperation','SheetPrintClientService','ISheetPrintManagerService','197673fqAfUV','SheetPrintCanceled','282249lZqGJw','updatePrintRenderConfig','PrintPaperMargin','PrintScale','UniverCoreFacade','@univerjs/sheets/facade','_injector','22071urmKUL','UniverSheetsFacade','SheetPrintOpen','PrintDirection','layoutConfig','BeforeSheetPrintCanceled','updateLayoutConfig','FUniver','PrintArea','_range','fireEvent','@univerjs-pro/sheets-print','registerEventHandler','syncExecuteCommand','PrintFreeze','onCommandExecuted','BeforeSheetPrintOpen','getActiveUniverSheet','FRange','getScreenshot','SheetPrintConfirmed','110APORKl','Event','CancelSheetPrintOperation','UniverProSheetsPrint','_workbook','PaperType','closePrintDialog','252JOfIsd','getActiveSheet','@univerjs/core/facade','271857KkAckl','getSheetId','openPrintDialog','FWorkbook','8MSqrzm','print','60pxsVOY','get','PrintHeaderFooterSymbol','getUnitId','CanceledError','BeforeSheetPrintConfirm','hasPrintFacadePermission','PrintAlign','function','cancel','extend','renderConfig','_initialize'];_0x4314=function(){return _0x45e32d;};return _0x4314();}