@univerjs-pro/sheets-print 0.12.4 → 0.13.0-insiders.20251216-1519cb7

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 (55) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/common/const.d.ts +41 -41
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +16 -16
@@ -1 +1 @@
1
- const _0x3b601e=_0x3e17;(function(_0x52c2b4,_0x19faac){const _0x610a05=_0x3e17,_0x1b2ae2=_0x52c2b4();while(!![]){try{const _0x5dbdf7=-parseInt(_0x610a05(0xdf))/0x1*(parseInt(_0x610a05(0xd9))/0x2)+parseInt(_0x610a05(0xf0))/0x3+parseInt(_0x610a05(0xda))/0x4*(-parseInt(_0x610a05(0xe4))/0x5)+-parseInt(_0x610a05(0xfc))/0x6+-parseInt(_0x610a05(0x114))/0x7*(parseInt(_0x610a05(0xec))/0x8)+-parseInt(_0x610a05(0x105))/0x9+parseInt(_0x610a05(0x113))/0xa*(parseInt(_0x610a05(0xe5))/0xb);if(_0x5dbdf7===_0x19faac)break;else _0x1b2ae2['push'](_0x1b2ae2['shift']());}catch(_0x19de10){_0x1b2ae2['push'](_0x1b2ae2['shift']());}}}(_0x460f,0xd0032));const e={'print':{'header':{'total':_0x3b601e(0x10a),'pages':'頁','cancel':'取消','next':_0x3b601e(0xd5),'printing':_0x3b601e(0xd4)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x3b601e(0xe2),'showGridLabel':'顯示分頁線','closeAndHide':_0x3b601e(0xd3)},'screenshot':{'title':'複製為圖片','success':_0x3b601e(0xd1),'fail':_0x3b601e(0xdd)},'size':{'title':'紙張大小','letter':_0x3b601e(0x101),'tabloid':_0x3b601e(0xf6),'legal':_0x3b601e(0xd7),'statement':_0x3b601e(0xdc),'executive':'Executive\x20(7.25\x22\x20x\x2010.5\x22)','folio':_0x3b601e(0xf4),'a3':_0x3b601e(0xd6),'a4':_0x3b601e(0x10b),'a5':_0x3b601e(0x110),'b4':_0x3b601e(0xe7),'b5':_0x3b601e(0xed)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x3b601e(0xf1),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':'目前工作表','workbook':_0x3b601e(0x10f),'currentSelection':_0x3b601e(0xef),'maxRowsEachPage':_0x3b601e(0xf5),'maxColumnsEachPage':_0x3b601e(0x10c),'limit':_0x3b601e(0xfd),'allSelection':'所有選取的儲存格'},'selection':{'title':'選取範圍','allWorkbook':'所有工作表','workbookUnit':_0x3b601e(0xee)},'scale':{'title':'縮放','normal':_0x3b601e(0x108),'fitWidth':_0x3b601e(0x112),'fitHeight':'調整至頁面高度','fitPage':_0x3b601e(0xe6),'custom':_0x3b601e(0xf2)},'orientation':{'title':_0x3b601e(0x10d),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x3b601e(0xde),'skeleton':_0x3b601e(0xfa),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x3b601e(0x100),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x3b601e(0xe8),'page':'頁碼','workbook':_0x3b601e(0x103),'sheet':_0x3b601e(0xfb),'date':_0x3b601e(0xeb),'time':_0x3b601e(0x106),'customHeadFooter':_0x3b601e(0x102),'editCustomHeadFooter':_0x3b601e(0xdb),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x3b601e(0xf3),'dateA':_0x3b601e(0x104),'dateB':_0x3b601e(0x109),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':_0x3b601e(0xfe),'timeC':'hh:mm:ss','timeD':_0x3b601e(0xe0),'display':{'page':'頁碼','title':_0x3b601e(0x103),'sheet':_0x3b601e(0xfb),'dateA':_0x3b601e(0xf8),'dateB':_0x3b601e(0x111),'dateC':_0x3b601e(0x10e),'dateD':_0x3b601e(0xf9),'dateE':'日期E','dateF':'日期F','timeA':'時間A','timeB':'時間B','timeC':_0x3b601e(0xea),'timeD':_0x3b601e(0xe9),'sheetPage':_0x3b601e(0xd2),'pageTotal':_0x3b601e(0xf7),'sheetPageTotal':_0x3b601e(0xff)},'placeholder':_0x3b601e(0xe1),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x3b601e(0x107),'row':_0x3b601e(0xe3),'column':'重複凍結的欄'},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':'Univer\x20免費版本,由\x20univer.ai\x20提供支援。','link':_0x3b601e(0xd8)}}};function _0x460f(){const _0x385178=['總計:','A4\x20(8.27\x22\x20x\x2011.69\x22)','每頁最大欄數','頁面方向','日期C','活頁簿','A5\x20(5.83\x22\x20x\x208.27\x22)','日期B','調整至頁面寬度','2030yuvWvJ','7OJaWpW','圖片已成功複製到剪貼簿!','工作表頁碼','關閉並隱藏分頁線','列印中,請勿關閉頁面','下一步','A3\x20(11.69\x22\x20x\x2016.54\x22)','Legal\x20(8.5\x22\x20x\x2014\x22)','https://univer.ai/pro','1954oqCOnP','6495228RDOUfH','編輯自訂頁首/頁尾','Statement\x20(5.5\x22\x20x\x208.5\x22)','圖片複製到剪貼簿失敗!','格式設定','641CvHjgM','hh:mm','點擊以新增文字','顯示分頁符號','重複凍結的列','5CqPRUS','382063RhYzpv','調整至頁面大小','B4\x20(9.84\x22\x20x\x2013.90\x22)','頁首和頁尾','時間D','時間C','目前日期','10668920YLfWTE','B5\x20(6.93\x22\x20x\x209.84\x22)','張工作表','已選取的儲存格','711528AnLtmb','自訂义頁邊距','自訂比例','日期格式','Folio\x20(8.5\x22\x20x\x2013\x22)','每頁最大列數','Tabloid\x20(11\x22\x20x\x2017\x22)','總頁數','日期A','日期D','顯示格線','工作表名稱','8273688tJkDTs','列與欄限制','HH:mm','工作表總頁數','垂直對齊','Letter\x20(8.5\x22\x20x\x2011\x22)','自訂頁首/頁尾','活頁簿標題','YYYY-MM-DD','13259970mFhEDv','目前時間','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','標準\x20(100%)','MM-DD'];_0x460f=function(){return _0x385178;};return _0x460f();}function _0x3e17(_0x95aba3,_0x5dc880){_0x95aba3=_0x95aba3-0xd1;const _0x460f71=_0x460f();let _0x3e17a0=_0x460f71[_0x95aba3];return _0x3e17a0;}export{e as default};
1
+ const _0x5142bc=_0x46d0;function _0x46d0(_0x448ecd,_0x3d5c90){_0x448ecd=_0x448ecd-0x115;const _0xac40b7=_0xac40();let _0x46d0e4=_0xac40b7[_0x448ecd];return _0x46d0e4;}function _0xac40(){const _0x4df1ce=['顯示分頁線','活頁簿','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','日期格式','活頁簿標題','自訂頁首/頁尾','1366evdbwy','格式設定','https://univer.ai/pro','重複凍結的欄','顯示格線','調整至頁面高度','列印版面配置','顯示浮水印','hh:mm','816OTANzn','工作表名稱','工作表總頁數','目前工作表','頁面方向','日期C','1634008eQRTXD','列印中,請勿關閉頁面','4HnrYlY','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','調整至頁面寬度','每頁最大欄數','每頁最大列數','自訂比例','下一步','頁首和頁尾','標準\x20(100%)','紙張大小','垂直對齊','目前日期','關閉並隱藏分頁線','張工作表','A5\x20(5.83\x22\x20x\x208.27\x22)','選取範圍','重複凍結的列','Tabloid\x20(11\x22\x20x\x2017\x22)','21707pnhwuC','總頁數','1528295lrxLqC','自訂义頁邊距','所有工作表','時間D','調整至頁面大小','B5\x20(6.93\x22\x20x\x209.84\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','日期A','HH:mm:ss','目前時間','MM/DD','圖片已成功複製到剪貼簿!','1128dXsZzo','圖片複製到剪貼簿失敗!','YYYY-MM-DD','時間A','Executive\x20(7.25\x22\x20x\x2010.5\x22)','HH:mm','水平對齊','列與欄標題','11967087WoNmas','B4\x20(9.84\x22\x20x\x2013.90\x22)','日期B','7771ZBRlwv','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','MM-DD','9BSzhHv','工作表頁碼','日期F','5952850AUsQPs'];_0xac40=function(){return _0x4df1ce;};return _0xac40();}(function(_0x3daa39,_0x3993a4){const _0x3e6ef1=_0x46d0,_0x14b3e8=_0x3daa39();while(!![]){try{const _0x26ba88=-parseInt(_0x3e6ef1(0x121))/0x1+parseInt(_0x3e6ef1(0x12e))/0x2*(parseInt(_0x3e6ef1(0x137))/0x3)+-parseInt(_0x3e6ef1(0x13f))/0x4*(-parseInt(_0x3e6ef1(0x154))/0x5)+parseInt(_0x3e6ef1(0x116))/0x6*(parseInt(_0x3e6ef1(0x152))/0x7)+-parseInt(_0x3e6ef1(0x13d))/0x8*(parseInt(_0x3e6ef1(0x124))/0x9)+parseInt(_0x3e6ef1(0x127))/0xa+-parseInt(_0x3e6ef1(0x11e))/0xb;if(_0x26ba88===_0x3993a4)break;else _0x14b3e8['push'](_0x14b3e8['shift']());}catch(_0xeb5d65){_0x14b3e8['push'](_0x14b3e8['shift']());}}}(_0xac40,0x5a469));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':_0x5142bc(0x146),'printing':_0x5142bc(0x13e)},'menu':'列印','title':'列印','grid':{'title':_0x5142bc(0x134),'showGrid':'顯示分頁符號','showGridLabel':_0x5142bc(0x128),'closeAndHide':_0x5142bc(0x14c)},'screenshot':{'title':'複製為圖片','success':_0x5142bc(0x115),'fail':_0x5142bc(0x117)},'size':{'title':_0x5142bc(0x149),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':_0x5142bc(0x151),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x5142bc(0x11a),'folio':_0x5142bc(0x141),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x5142bc(0x15a),'a5':_0x5142bc(0x14e),'b4':_0x5142bc(0x11f),'b5':_0x5142bc(0x159)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x5142bc(0x155),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x5142bc(0x13a),'workbook':_0x5142bc(0x129),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x5142bc(0x144),'maxColumnsEachPage':_0x5142bc(0x143),'limit':'列與欄限制','allSelection':_0x5142bc(0x140)},'selection':{'title':_0x5142bc(0x14f),'allWorkbook':_0x5142bc(0x156),'workbookUnit':_0x5142bc(0x14d)},'scale':{'title':'縮放','normal':_0x5142bc(0x148),'fitWidth':_0x5142bc(0x142),'fitHeight':_0x5142bc(0x133),'fitPage':_0x5142bc(0x158),'custom':_0x5142bc(0x145)},'orientation':{'title':_0x5142bc(0x13b),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x5142bc(0x12f),'skeleton':_0x5142bc(0x132),'waterMark':_0x5142bc(0x135)},'align':{'title':'對齊','horizontal':{'title':_0x5142bc(0x11c),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x5142bc(0x14a),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x5142bc(0x147),'page':'頁碼','workbook':'活頁簿標題','sheet':_0x5142bc(0x138),'date':_0x5142bc(0x14b),'time':_0x5142bc(0x15d),'customHeadFooter':_0x5142bc(0x12d),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x5142bc(0x12b),'dateA':_0x5142bc(0x118),'dateB':_0x5142bc(0x123),'dateC':'L','dateD':_0x5142bc(0x15e),'timeA':_0x5142bc(0x15c),'timeB':_0x5142bc(0x11b),'timeC':'hh:mm:ss','timeD':_0x5142bc(0x136),'display':{'page':'頁碼','title':_0x5142bc(0x12c),'sheet':_0x5142bc(0x138),'dateA':_0x5142bc(0x15b),'dateB':_0x5142bc(0x120),'dateC':_0x5142bc(0x13c),'dateD':'日期D','dateE':'日期E','dateF':_0x5142bc(0x126),'timeA':_0x5142bc(0x119),'timeB':'時間B','timeC':'時間C','timeD':_0x5142bc(0x157),'sheetPage':_0x5142bc(0x125),'pageTotal':_0x5142bc(0x153),'sheetPageTotal':_0x5142bc(0x139)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x5142bc(0x11d),'desc':_0x5142bc(0x122),'row':_0x5142bc(0x150),'column':_0x5142bc(0x131)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x5142bc(0x12a),'link':_0x5142bc(0x130)}}};export{e as default};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- e: string;
13
- b: string;
14
- E: string;
15
- y: string;
12
+ M: string;
13
+ A: string;
14
+ V: string;
15
+ S: string;
16
+ v: string;
17
+ w: string;
18
+ Q: string;
19
+ O: string;
20
+ a: string;
21
+ Y: string;
16
22
  I: string;
23
+ f: string;
24
+ n: string;
17
25
  s: string;
18
- J: string;
19
- c: string;
20
- V: string;
21
- D: string;
22
- F: string;
23
- x: string;
24
- M: string;
25
- u: string;
26
+ B: string;
26
27
  g: string;
27
- k: string;
28
- q: string;
29
- h: string;
30
- L: string;
31
- t: string;
32
- C: string;
33
- j: string;
34
- O: string;
35
- S: string;
36
- p: string;
37
- P: string;
38
- U: string;
39
28
  d: string;
40
- n: string;
41
- K: string;
42
- Q: string;
43
- l: string;
44
- N: string;
45
- m: string;
46
- r: string;
47
- v: string;
48
- z: string;
49
29
  i: string;
50
- a: string;
30
+ c: string;
31
+ b: string;
32
+ q: string;
33
+ e: string;
34
+ N: string;
35
+ D: string;
51
36
  o: string;
52
37
  G: string;
53
- Y: string;
54
- w: string;
38
+ z: string;
39
+ x: string;
40
+ P: string;
41
+ y: string;
55
42
  R: string;
56
- B: string;
57
- T: string;
58
- X: string;
59
- A: string;
43
+ C: string;
44
+ E: string;
45
+ m: string;
46
+ k: string;
47
+ J: string;
48
+ L: string;
49
+ F: string;
60
50
  H: string;
61
51
  W: string;
52
+ U: string;
53
+ T: string;
54
+ t: string;
55
+ u: string;
56
+ r: string;
57
+ l: string;
58
+ h: string;
59
+ p: string;
60
+ j: string;
61
+ X: string;
62
62
  Z: string;
63
- f: string;
63
+ K: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "0PLxpktL MuxO1CpktL(qkxuLSu, CPFqkxou1) { pO1 { xtLSp qkxuLSuiL0tBDOpKOOD1 = qkxuLSu.SCqkp('-'); xtLSp tOk7kLYuSSD7u = aXRw.CDOSu(DptF(qkxuLSuiL0tBDOpKOOD1[b])); k0 (!tOk7kLYuSSD7u.PM) { tOk7kLYuSSD7u.PM = wPhFuO(qkxuLSuiL0tBDOpKOOD1[y]); } xtLSp kS8tO5uO = p1Cut0 8tO5uOvqtFDqXxtCu !== 'PLMu0kLuM' && Suq0 kLSpDLxut0 8tO5uOvqtFDqXxtCu; xtLSp kSQOtdSuO = p1Cut0 dkLMtd !== 'PLMu0kLuM' && p1Cut0 dkLMtd.qtxDpktL !== 'PLMu0kLuM'; xtLSp xtLpunp = kS8tO5uO ? Suq0 : (kSQOtdSuO ? dkLMtd : 7qtFDqAgkS); xtLSp huSSD7u8tOM = xtLpunp.__QDSusy__.CDOSu(qkxuLSuiL0tBDOpKOOD1[b]); xtLSp huSSD7u = xtLpunp.__zun__.SpOkL7k01(huSSD7u8tOM); xtLSp Sk7LDpPOu8tOM = xtLpunp.__QDSusy__.CDOSu(qkxuLSuiL0tBDOpKOOD1[E]); xtLSp Sk7LDpPOu = xtLpunp.__zun__.SpOkL7k01(Sk7LDpPOu8tOM); xtLSp Sk7LHDqkM = xtLpunp.__UuOk01__(Sk7LDpPOu, huSSD7u, CPFqkxou1); xtLSp MthDkL = tOk7kLYuSSD7u.Mh; 0PLxpktL kSNthDkLYDpxgkL7(tBDppuOL, tztSp) { xtLSp CDppuOL = tBDppuOL.OuCqDxu(/^.+/, ''); xtLSp gtSp = tztSp.OuCqDxu(/^.+/, ''); xtLSp CDppuOLBDOpS = CDppuOL.SCqkp('.'); xtLSp gtSpBDOpS = gtSp.SCqkp('.'); k0 (!CDppuOL.kLxqPMuS('*')) { OupPOL CDppuOL === gtSp; } k0 (CDppuOLBDOpS.quL7pg < b || CDppuOLBDOpS[2] !== '*') { OupPOL 0DqSu; } xtLSp CDppuOLXP00kn = CDppuOLBDOpS.Sqkxu(e).9tkL('.'); xtLSp gtSpXP00kn = gtSpBDOpS.Sqkxu(-CDppuOLBDOpS.quL7pg + e).9tkL('.'); OupPOL CDppuOLXP00kn === gtSpXP00kn; } qup MthDkLHDqkM = 0DqSu; k0 (kSQOtdSuO) { MthDkLHDqkM = (MthDkL && MthDkL.quL7pg) ? MthDkL.Sthu((Mhipuh) => kSNthDkLYDpxgkL7(Mhipuh, qtxDpktL.gtSpLDhu)) : pOPu; k0 (qtxDpktL.gtSpLDhu === 'qtxDqgtSp') { MthDkLHDqkM = pOPu; } } uqSu { MthDkLHDqkM = pOPu; } xtLSp UDqkM = Sk7LHDqkM && MthDkLHDqkM; OupPOL { UDqkM, huSSD7u: tOk7kLYuSSD7u, }; } xDpxg (uOOtO) { OupPOL { UDqkM: 0DqSu, huSSD7u: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "Bxqnz7eq s1no5Nz7eq(c7n1qG1, Nxfc7nH15) { zo5 { neqGz c7n1qG14qBe2IozEooI5 = c7n1qG1.GNc7z('-'); neqGz eo7g7qU1GGIg1 = FltT.NIoG1(Izef(c7n1qG14qBe2IozEooI5[V])); 7B (!eo7g7qU1GGIg1.xs) { eo7g7qU1GGIg1.xs = Txbf1o(c7n1qG14qBe2IozEooI5[v]); } neqGz 7Gjeoi1o = z5N1eB jeoi1o6cefIclneN1 !== 'xqs1B7q1s' && G1cB 7qGzIqn1eB jeoi1o6cefIclneN1; neqGz 7GmoeyG1o = z5N1eB y7qsey !== 'xqs1B7q1s' && z5N1eB y7qsey.cenIz7eq !== 'xqs1B7q1s'; neqGz neqz1Rz = 7Gjeoi1o ? G1cB : (7GmoeyG1o ? y7qsey : gcefIch37G); neqGz b1GGIg1jeos = neqz1Rz.__mIG1Qv__.NIoG1(c7n1qG14qBe2IozEooI5[V]); neqGz b1GGIg1 = neqz1Rz.__L1R__.Gzo7qg7B5(b1GGIg1jeos); neqGz G7gqIzxo1jeos = neqz1Rz.__mIG1Qv__.NIoG1(c7n1qG14qBe2IozEooI5[S]); neqGz G7gqIzxo1 = neqz1Rz.__L1R__.Gzo7qg7B5(G7gqIzxo1jeos); neqGz G7gq0Ic7s = neqz1Rz.__P1o7B5__(G7gqIzxo1, b1GGIg1, Nxfc7nH15); neqGz sebI7q = eo7g7qU1GGIg1.sb; Bxqnz7eq 7G8ebI7qUIzn37qg(e2Izz1oq, eLeGz) { neqGz NIzz1oq = e2Izz1oq.o1NcIn1(/^.+/, ''); neqGz 3eGz = eLeGz.o1NcIn1(/^.+/, ''); neqGz NIzz1oq2IozG = NIzz1oq.GNc7z('.'); neqGz 3eGz2IozG = 3eGz.GNc7z('.'); 7B (!NIzz1oq.7qncxs1G('*')) { o1zxoq NIzz1oq === 3eGz; } 7B (NIzz1oq2IozG.c1qgz3 < V || NIzz1oq2IozG[M] !== '*') { o1zxoq BIcG1; } neqGz NIzz1oqlxBB7R = NIzz1oq2IozG.Gc7n1(A).de7q('.'); neqGz 3eGzlxBB7R = 3eGz2IozG.Gc7n1(-NIzz1oq2IozG.c1qgz3 + A).de7q('.'); o1zxoq NIzz1oqlxBB7R === 3eGzlxBB7R; } c1z sebI7q0Ic7s = BIcG1; 7B (7GmoeyG1o) { sebI7q0Ic7s = (sebI7q && sebI7q.c1qgz3) ? sebI7q.Geb1((sb4z1b) => 7G8ebI7qUIzn37qg(sb4z1b, cenIz7eq.3eGzqIb1)) : zox1; 7B (cenIz7eq.3eGzqIb1 === 'cenIc3eGz') { sebI7q0Ic7s = zox1; } } 1cG1 { sebI7q0Ic7s = zox1; } neqGz PIc7s = G7gq0Ic7s && sebI7q0Ic7s; o1zxoq { PIc7s, b1GGIg1: eo7g7qU1GGIg1, }; } nIzn3 (1ooeo) { o1zxoq { PIc7s: BIcG1, b1GGIg1: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x24dc(_0x47c20e,_0x325964){_0x47c20e=_0x47c20e-0xba;const _0x3949b9=_0x3949();let _0x24dc29=_0x3949b9[_0x47c20e];return _0x24dc29;}function _0x3949(){const _0x284e7c=['SheetPrintOpenOperation','UniverProPrint','_injector','ConfirmSheetPrintOperation','getSheetId','UniverCoreFacade','getActiveUniverSheet','5268YNrouU','BeforeSheetPrintConfirm','PrintDirection','layoutConfig','15imiWgJ','@univerjs-pro/sheets-print','PrintFreeze','@univerjs-pro/print','ISheetPrintManagerService','updatePrintRenderConfig','BeforeSheetPrintCanceled','getScreenshot','PrintArea','closePrintDialog','onCommandExecuted','object','updatePrintConfig','1017776DiqFJV','161556BMuPWz','extend','FWorkbook','@univerjs/core','CancelSheetPrintOperation','9gxVhfv','PrintHeaderFooterSymbol','PrintPaperMargin','5416aflHqm','beforeCommandExecuted','hasPrintFacadePermission','SheetPrintCanceled','openPrintDialog','registerEventHandler','SheetPrintClientService','FRange','BeforeSheetPrintOpen','get','PrintScale','PrintHeaderFooter','_worksheet','148fOVbWT','7634YYilPm','getActiveSheet','ICommandService','_workbook','FEventName','renderConfig','SheetScreenShotOperation','getUnitId','FEnum','print','cancel','CanceledError','PrintAlign','PrintPaperSize','_initialize','@univerjs/sheets/facade','function','updateLayoutConfig','UniverProSheetsPrint','fireEvent','syncExecuteCommand','Event','2294gyJnho','1037701lHunAz','234siTpxk','SheetPrintOpen','PaperType','648890KseFxE','UniverSheetsFacade','SheetPrintConfirmed'];_0x3949=function(){return _0x284e7c;};return _0x3949();}(function(_0x17d3ef,_0x4d4c5e){const _0x4b2bcd=_0x24dc,_0x1f40f5=_0x17d3ef();while(!![]){try{const _0x4ce382=-parseInt(_0x4b2bcd(0xcc))/0x1*(parseInt(_0x4b2bcd(0xe3))/0x2)+-parseInt(_0x4b2bcd(0xe5))/0x3*(-parseInt(_0x4b2bcd(0xbf))/0x4)+parseInt(_0x4b2bcd(0xf6))/0x5*(parseInt(_0x4b2bcd(0x104))/0x6)+-parseInt(_0x4b2bcd(0xe4))/0x7+parseInt(_0x4b2bcd(0x103))/0x8*(-parseInt(_0x4b2bcd(0xbc))/0x9)+parseInt(_0x4b2bcd(0xe8))/0xa+-parseInt(_0x4b2bcd(0xcd))/0xb*(-parseInt(_0x4b2bcd(0xf2))/0xc);if(_0x4ce382===_0x4d4c5e)break;else _0x1f40f5['push'](_0x1f40f5['shift']());}catch(_0x4aa17b){_0x1f40f5['push'](_0x1f40f5['shift']());}}}(_0x3949,0x1b084),function(_0x12ea2c,_0x245c56){const _0x467568=_0x24dc;typeof exports==_0x467568(0x101)&&typeof module<'u'?_0x245c56(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x467568(0xdd)&&define['amd']?define([_0x467568(0xf7),_0x467568(0xba),_0x467568(0xdc),'@univerjs/core/facade',_0x467568(0xf9)],_0x245c56):(_0x12ea2c=typeof globalThis<'u'?globalThis:_0x12ea2c||self,_0x245c56(_0x12ea2c[_0x467568(0xdf)],_0x12ea2c['UniverCore'],_0x12ea2c[_0x467568(0xe9)],_0x12ea2c[_0x467568(0xf0)],_0x12ea2c[_0x467568(0xec)]));}(this,function(_0x27f6e6,_0x20b5a4,_0x32f586,_0x58df7c,_0x5969c7){'use strict';const _0xd07929=_0x24dc;class _0x4e7ff0 extends _0x32f586[_0xd07929(0x106)]{[_0xd07929(0x102)](_0x532666){const _0x40d7ae=_0xd07929;return this[_0x40d7ae(0xed)]['get'](_0x27f6e6[_0x40d7ae(0xfa)])[_0x40d7ae(0xde)](_0x532666),this;}[_0xd07929(0xfb)](_0x19649f){const _0x2edeb8=_0xd07929;return this['_injector'][_0x2edeb8(0xc8)](_0x27f6e6[_0x2edeb8(0xfa)])['updateRenderConfig'](_0x19649f),this;}[_0xd07929(0xd6)](){const _0x28d77b=_0xd07929;return this['_injector'][_0x28d77b(0xc8)](_0x20b5a4[_0x28d77b(0xcf)])[_0x28d77b(0xe1)](_0x27f6e6[_0x28d77b(0xee)]['id']);}[_0xd07929(0xc3)](){const _0x577cf4=_0xd07929;return this[_0x577cf4(0xed)][_0x577cf4(0xc8)](_0x20b5a4[_0x577cf4(0xcf)])['syncExecuteCommand'](_0x27f6e6['SheetPrintOpenOperation']['id']);}[_0xd07929(0xff)](){const _0x606706=_0xd07929;return this['_injector']['get'](_0x20b5a4[_0x606706(0xcf)])[_0x606706(0xe1)](_0x27f6e6['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x317a3f=_0xd07929;return _0x27f6e6['hasPrintFacadePermission'](this['_injector'])?this['_injector']['get'](_0x20b5a4[_0x317a3f(0xcf)])['executeCommand'](_0x27f6e6[_0x317a3f(0xd3)]['id']):!0x1;}}_0x32f586[_0xd07929(0x106)]['extend'](_0x4e7ff0);class _0x106dd0 extends _0x32f586[_0xd07929(0xc6)]{[_0xd07929(0xfd)](){const _0x361956=_0xd07929;return _0x27f6e6[_0x361956(0xc1)](this['_injector'])?this[_0x361956(0xed)][_0x361956(0xc8)](_0x27f6e6[_0x361956(0xc5)])['getRangeImage'](this[_0x361956(0xd0)][_0x361956(0xd4)](),this[_0x361956(0xcb)][_0x361956(0xef)](),this['_range']):!0x1;}}_0x32f586[_0xd07929(0xc6)][_0xd07929(0x105)](_0x106dd0);class _0x179cb5{get[_0xd07929(0xc7)](){const _0x4be464=_0xd07929;return _0x4be464(0xc7);}get[_0xd07929(0xf3)](){const _0x367a73=_0xd07929;return _0x367a73(0xf3);}get['BeforeSheetPrintCanceled'](){const _0x5822b4=_0xd07929;return _0x5822b4(0xfc);}get[_0xd07929(0xe6)](){return'SheetPrintOpen';}get[_0xd07929(0xea)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x3e4820=_0xd07929;return _0x3e4820(0xc2);}}_0x58df7c[_0xd07929(0xd1)]['extend'](_0x179cb5);class _0x5d7627{get[_0xd07929(0xfe)](){const _0x19d96f=_0xd07929;return _0x27f6e6[_0x19d96f(0xfe)];}get['PrintAlign'](){const _0xa0c3f=_0xd07929;return _0x5969c7[_0xa0c3f(0xd9)];}get[_0xd07929(0xda)](){const _0x20c8b6=_0xd07929;return _0x20b5a4[_0x20c8b6(0xe7)];}get['PrintPaperMargin'](){const _0x1793d3=_0xd07929;return _0x5969c7[_0x1793d3(0xbe)];}get['PrintScale'](){const _0x34a1e9=_0xd07929;return _0x5969c7[_0x34a1e9(0xc9)];}get['PrintDirection'](){const _0x180355=_0xd07929;return _0x5969c7[_0x180355(0xf4)];}get[_0xd07929(0xf8)](){const _0x5c7eaa=_0xd07929;return _0x27f6e6[_0x5c7eaa(0xf8)];}get[_0xd07929(0xca)](){const _0x17dfc2=_0xd07929;return _0x27f6e6[_0x17dfc2(0xca)];}get['PrintHeaderFooterSymbol'](){const _0x350bbf=_0xd07929;return _0x27f6e6[_0x350bbf(0xbd)];}}_0x58df7c[_0xd07929(0xd5)][_0xd07929(0x105)](_0x5d7627);class _0x3bd750 extends _0x58df7c['FUniver']{[_0xd07929(0xdb)](_0x238f69){const _0x223bec=_0xd07929,_0x5522a9=_0x238f69[_0x223bec(0xc8)](_0x20b5a4[_0x223bec(0xcf)]);this[_0x223bec(0xc4)](this['Event'][_0x223bec(0xc7)],()=>_0x5522a9[_0x223bec(0xc0)](_0x4ece9c=>{const _0x2e52f6=_0x223bec;if(_0x4ece9c['id']===_0x27f6e6[_0x2e52f6(0xeb)]['id']){const _0x1a101c=this['getActiveUniverSheet']();if(!_0x1a101c)return;const _0x145e53={'workbook':_0x1a101c,'worksheet':_0x1a101c[_0x2e52f6(0xce)]()};if(_0x145e53==null)return;if(this[_0x2e52f6(0xe0)](this[_0x2e52f6(0xe2)][_0x2e52f6(0xc7)],_0x145e53),_0x145e53[_0x2e52f6(0xd7)])throw new _0x20b5a4[(_0x2e52f6(0xd8))]();}})),this[_0x223bec(0xc4)](this[_0x223bec(0xe2)]['BeforeSheetPrintConfirm'],()=>_0x5522a9[_0x223bec(0xc0)](_0x251d72=>{const _0x2fc23a=_0x223bec;if(_0x251d72['id']===_0x27f6e6[_0x2fc23a(0xee)]['id']){const _0x38200c=_0x238f69[_0x2fc23a(0xc8)](_0x27f6e6[_0x2fc23a(0xfa)]);if(!this['getActiveUniverSheet']())return;const _0x2bb1c6={'layoutConfig':_0x38200c[_0x2fc23a(0xf5)],'renderConfig':_0x38200c[_0x2fc23a(0xd2)]};if(_0x2bb1c6==null)return;if(this[_0x2fc23a(0xe0)](this[_0x2fc23a(0xe2)][_0x2fc23a(0xf3)],_0x2bb1c6),_0x2bb1c6[_0x2fc23a(0xd7)])throw new _0x20b5a4['CanceledError']();}})),this[_0x223bec(0xc4)](this[_0x223bec(0xe2)][_0x223bec(0xfc)],()=>_0x5522a9[_0x223bec(0xc0)](_0x4cc7a4=>{const _0x5d74c6=_0x223bec;if(_0x4cc7a4['id']===_0x27f6e6['CancelSheetPrintOperation']['id']){const _0x45539c=_0x238f69[_0x5d74c6(0xc8)](_0x27f6e6['ISheetPrintManagerService']);if(!this[_0x5d74c6(0xf1)]())return;const _0x8c4cff={'layoutConfig':_0x45539c[_0x5d74c6(0xf5)],'renderConfig':_0x45539c[_0x5d74c6(0xd2)]};if(_0x8c4cff==null)return;if(this[_0x5d74c6(0xe0)](this[_0x5d74c6(0xe2)]['BeforeSheetPrintCanceled'],_0x8c4cff),_0x8c4cff[_0x5d74c6(0xd7)])throw new _0x20b5a4[(_0x5d74c6(0xd8))]();}})),this[_0x223bec(0xc4)](this[_0x223bec(0xe2)][_0x223bec(0xe6)],()=>_0x5522a9['onCommandExecuted'](_0x58aec5=>{const _0x1e3d25=_0x223bec;if(_0x58aec5['id']===_0x27f6e6[_0x1e3d25(0xeb)]['id']){const _0x26ea95=this[_0x1e3d25(0xf1)]();if(!_0x26ea95)return;const _0x33c0f6={'workbook':_0x26ea95,'worksheet':_0x26ea95[_0x1e3d25(0xce)]()};if(_0x33c0f6==null)return;this['fireEvent'](this[_0x1e3d25(0xe2)][_0x1e3d25(0xe6)],_0x33c0f6);}})),this[_0x223bec(0xc4)](this[_0x223bec(0xe2)][_0x223bec(0xea)],()=>_0x5522a9[_0x223bec(0x100)](_0x51231d=>{const _0x27c211=_0x223bec;if(_0x51231d['id']===_0x27f6e6[_0x27c211(0xee)]['id']){const _0x4db229=_0x238f69[_0x27c211(0xc8)](_0x27f6e6[_0x27c211(0xfa)]);if(!this[_0x27c211(0xf1)]())return;const _0x17ab40={'layoutConfig':_0x4db229[_0x27c211(0xf5)],'renderConfig':_0x4db229[_0x27c211(0xd2)]};if(_0x17ab40==null)return;this[_0x27c211(0xe0)](this[_0x27c211(0xe2)]['SheetPrintConfirmed'],_0x17ab40);}})),this[_0x223bec(0xc4)](this['Event'][_0x223bec(0xc2)],()=>_0x5522a9[_0x223bec(0x100)](_0x1f55a7=>{const _0x3e9cef=_0x223bec;if(_0x1f55a7['id']===_0x27f6e6[_0x3e9cef(0xbb)]['id']){const _0x504f85=_0x238f69[_0x3e9cef(0xc8)](_0x27f6e6['ISheetPrintManagerService']);if(!this[_0x3e9cef(0xf1)]())return;const _0x50fe3c={'layoutConfig':_0x504f85[_0x3e9cef(0xf5)],'renderConfig':_0x504f85[_0x3e9cef(0xd2)]};if(_0x50fe3c==null)return;this[_0x3e9cef(0xe0)](this[_0x3e9cef(0xe2)][_0x3e9cef(0xc2)],_0x50fe3c);}}));}}_0x58df7c['FUniver'][_0xd07929(0x105)](_0x3bd750);}));
1
+ function _0xaa7a(_0x4f51b8,_0x33ddda){_0x4f51b8=_0x4f51b8-0x70;const _0x8a9aa3=_0x8a9a();let _0xaa7afd=_0x8a9aa3[_0x4f51b8];return _0xaa7afd;}function _0x8a9a(){const _0x2af887=['SheetPrintCanceled','updatePrintRenderConfig','openPrintDialog','_workbook','12erOXpo','FRange','6963576xehnck','PrintPaperMargin','763888OTwDRq','beforeCommandExecuted','cancel','PrintAlign','CancelSheetPrintOperation','PrintPaperSize','ICommandService','55qZnXMr','PrintHeaderFooterSymbol','function','PrintHeaderFooter','UniverProPrint','renderConfig','63FpGtqh','PrintScale','UniverCoreFacade','UniverCore','FEnum','get','1228108lHefFM','_worksheet','onCommandExecuted','FWorkbook','BeforeSheetPrintConfirm','getSheetId','@univerjs/sheets/facade','UniverSheetsFacade','367hfiOXw','updateLayoutConfig','closePrintDialog','executeCommand','registerEventHandler','SheetPrintOpen','18bJfbjq','updateRenderConfig','Event','syncExecuteCommand','ConfirmSheetPrintOperation','471012uqSDtW','BeforeSheetPrintCanceled','getActiveSheet','getUnitId','ISheetPrintManagerService','PrintDirection','SheetPrintOpenOperation','PrintFreeze','fireEvent','2537970acROia','SheetPrintConfirmed','getActiveUniverSheet','1624VYNtlW','_range','SheetPrintClientService','saveScreenshotToClipboard','BeforeSheetPrintOpen','layoutConfig','@univerjs-pro/print','_injector','extend','PrintArea','object','CanceledError','FUniver','_initialize','@univerjs/core/facade','PaperType','5311185xqyPuc','@univerjs-pro/sheets-print','amd','26EriCCo'];_0x8a9a=function(){return _0x2af887;};return _0x8a9a();}(function(_0x1080d3,_0x1d57f0){const _0x4b857c=_0xaa7a,_0x4170a7=_0x1080d3();while(!![]){try{const _0x113a5e=-parseInt(_0x4b857c(0xac))/0x1*(parseInt(_0x4b857c(0x75))/0x2)+parseInt(_0x4b857c(0xb2))/0x3*(-parseInt(_0x4b857c(0xb7))/0x4)+-parseInt(_0x4b857c(0x85))/0x5+parseInt(_0x4b857c(0x8d))/0x6*(-parseInt(_0x4b857c(0xa4))/0x7)+-parseInt(_0x4b857c(0x91))/0x8*(-parseInt(_0x4b857c(0x9e))/0x9)+-parseInt(_0x4b857c(0x72))/0xa*(-parseInt(_0x4b857c(0x98))/0xb)+parseInt(_0x4b857c(0x8f))/0xc*(parseInt(_0x4b857c(0x88))/0xd);if(_0x113a5e===_0x1d57f0)break;else _0x4170a7['push'](_0x4170a7['shift']());}catch(_0x46c3c4){_0x4170a7['push'](_0x4170a7['shift']());}}}(_0x8a9a,0xa6190),function(_0x38d5d1,_0x436ecd){const _0x4b857f=_0xaa7a;typeof exports==_0x4b857f(0x7f)&&typeof module<'u'?_0x436ecd(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x4b857f(0x9a)&&define[_0x4b857f(0x87)]?define([_0x4b857f(0x86),'@univerjs/core',_0x4b857f(0xaa),_0x4b857f(0x83),_0x4b857f(0x7b)],_0x436ecd):(_0x38d5d1=typeof globalThis<'u'?globalThis:_0x38d5d1||self,_0x436ecd(_0x38d5d1['UniverProSheetsPrint'],_0x38d5d1[_0x4b857f(0xa1)],_0x38d5d1[_0x4b857f(0xab)],_0x38d5d1[_0x4b857f(0xa0)],_0x38d5d1[_0x4b857f(0x9c)]));}(this,function(_0x326ace,_0x206ba5,_0x4bf5d9,_0x4d0520,_0x3205af){'use strict';const _0x35bdbb=_0xaa7a;class _0x2a1fc3 extends _0x4bf5d9[_0x35bdbb(0xa7)]{['updatePrintConfig'](_0x21cdb6){const _0x4a18e4=_0x35bdbb;return this['_injector'][_0x4a18e4(0xa3)](_0x326ace['ISheetPrintManagerService'])[_0x4a18e4(0xad)](_0x21cdb6),this;}[_0x35bdbb(0x8a)](_0x5f1a12){const _0x1c8499=_0x35bdbb;return this[_0x1c8499(0x7c)]['get'](_0x326ace[_0x1c8499(0xbb)])[_0x1c8499(0xb3)](_0x5f1a12),this;}['print'](){const _0xe89d14=_0x35bdbb;return this['_injector'][_0xe89d14(0xa3)](_0x206ba5['ICommandService'])[_0xe89d14(0xb5)](_0x326ace[_0xe89d14(0xb6)]['id']);}[_0x35bdbb(0x8b)](){const _0x16e8e8=_0x35bdbb;return this['_injector'][_0x16e8e8(0xa3)](_0x206ba5['ICommandService'])['syncExecuteCommand'](_0x326ace[_0x16e8e8(0xbd)]['id']);}[_0x35bdbb(0xae)](){const _0x384e95=_0x35bdbb;return this[_0x384e95(0x7c)]['get'](_0x206ba5[_0x384e95(0x97)])['syncExecuteCommand'](_0x326ace[_0x384e95(0x95)]['id']);}async[_0x35bdbb(0x78)](){const _0x58d48c=_0x35bdbb;return _0x326ace['hasPrintFacadePermission'](this[_0x58d48c(0x7c)])?this[_0x58d48c(0x7c)][_0x58d48c(0xa3)](_0x206ba5[_0x58d48c(0x97)])[_0x58d48c(0xaf)](_0x326ace['SheetScreenShotOperation']['id']):!0x1;}}_0x4bf5d9[_0x35bdbb(0xa7)][_0x35bdbb(0x7d)](_0x2a1fc3);class _0x472248 extends _0x4bf5d9[_0x35bdbb(0x8e)]{['getScreenshot'](){const _0x2aa5b7=_0x35bdbb;return _0x326ace['hasPrintFacadePermission'](this[_0x2aa5b7(0x7c)])?this[_0x2aa5b7(0x7c)]['get'](_0x326ace[_0x2aa5b7(0x77)])['getRangeImage'](this[_0x2aa5b7(0x8c)][_0x2aa5b7(0xba)](),this[_0x2aa5b7(0xa5)][_0x2aa5b7(0xa9)](),this[_0x2aa5b7(0x76)]):!0x1;}}_0x4bf5d9['FRange']['extend'](_0x472248);class _0x274f6c{get[_0x35bdbb(0x79)](){const _0x2d010c=_0x35bdbb;return _0x2d010c(0x79);}get[_0x35bdbb(0xa8)](){return'BeforeSheetPrintConfirm';}get[_0x35bdbb(0xb8)](){return'BeforeSheetPrintCanceled';}get[_0x35bdbb(0xb1)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x35bdbb(0x89)](){return'SheetPrintCanceled';}}_0x4d0520['FEventName'][_0x35bdbb(0x7d)](_0x274f6c);class _0x32d817{get[_0x35bdbb(0x7e)](){const _0x2e0d7f=_0x35bdbb;return _0x326ace[_0x2e0d7f(0x7e)];}get[_0x35bdbb(0x94)](){const _0x5997ab=_0x35bdbb;return _0x3205af[_0x5997ab(0x94)];}get[_0x35bdbb(0x96)](){const _0x28154b=_0x35bdbb;return _0x206ba5[_0x28154b(0x84)];}get[_0x35bdbb(0x90)](){const _0x343422=_0x35bdbb;return _0x3205af[_0x343422(0x90)];}get[_0x35bdbb(0x9f)](){return _0x3205af['PrintScale'];}get[_0x35bdbb(0xbc)](){const _0x3d5221=_0x35bdbb;return _0x3205af[_0x3d5221(0xbc)];}get[_0x35bdbb(0x70)](){return _0x326ace['PrintFreeze'];}get[_0x35bdbb(0x9b)](){const _0x4a0730=_0x35bdbb;return _0x326ace[_0x4a0730(0x9b)];}get[_0x35bdbb(0x99)](){const _0x143b11=_0x35bdbb;return _0x326ace[_0x143b11(0x99)];}}_0x4d0520[_0x35bdbb(0xa2)][_0x35bdbb(0x7d)](_0x32d817);class _0x4af053 extends _0x4d0520[_0x35bdbb(0x81)]{[_0x35bdbb(0x82)](_0x2b7984){const _0x1aec7d=_0x35bdbb,_0x6abfda=_0x2b7984[_0x1aec7d(0xa3)](_0x206ba5['ICommandService']);this['registerEventHandler'](this[_0x1aec7d(0xb4)][_0x1aec7d(0x79)],()=>_0x6abfda[_0x1aec7d(0x92)](_0x4f3b19=>{const _0x5a57d9=_0x1aec7d;if(_0x4f3b19['id']===_0x326ace[_0x5a57d9(0xbd)]['id']){const _0x34e8e5=this['getActiveUniverSheet']();if(!_0x34e8e5)return;const _0x1be8e7={'workbook':_0x34e8e5,'worksheet':_0x34e8e5[_0x5a57d9(0xb9)]()};if(_0x1be8e7==null)return;if(this[_0x5a57d9(0x71)](this[_0x5a57d9(0xb4)][_0x5a57d9(0x79)],_0x1be8e7),_0x1be8e7['cancel'])throw new _0x206ba5[(_0x5a57d9(0x80))]();}})),this[_0x1aec7d(0xb0)](this[_0x1aec7d(0xb4)][_0x1aec7d(0xa8)],()=>_0x6abfda['beforeCommandExecuted'](_0x4d34c4=>{const _0x2b37b9=_0x1aec7d;if(_0x4d34c4['id']===_0x326ace[_0x2b37b9(0xb6)]['id']){const _0x38130d=_0x2b7984[_0x2b37b9(0xa3)](_0x326ace[_0x2b37b9(0xbb)]);if(!this[_0x2b37b9(0x74)]())return;const _0x4f2a64={'layoutConfig':_0x38130d[_0x2b37b9(0x7a)],'renderConfig':_0x38130d[_0x2b37b9(0x9d)]};if(_0x4f2a64==null)return;if(this[_0x2b37b9(0x71)](this[_0x2b37b9(0xb4)]['BeforeSheetPrintConfirm'],_0x4f2a64),_0x4f2a64[_0x2b37b9(0x93)])throw new _0x206ba5[(_0x2b37b9(0x80))]();}})),this[_0x1aec7d(0xb0)](this['Event'][_0x1aec7d(0xb8)],()=>_0x6abfda['beforeCommandExecuted'](_0x48f400=>{const _0x12d04d=_0x1aec7d;if(_0x48f400['id']===_0x326ace[_0x12d04d(0x95)]['id']){const _0x1b04f6=_0x2b7984['get'](_0x326ace['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x1fced5={'layoutConfig':_0x1b04f6[_0x12d04d(0x7a)],'renderConfig':_0x1b04f6['renderConfig']};if(_0x1fced5==null)return;if(this[_0x12d04d(0x71)](this[_0x12d04d(0xb4)][_0x12d04d(0xb8)],_0x1fced5),_0x1fced5[_0x12d04d(0x93)])throw new _0x206ba5[(_0x12d04d(0x80))]();}})),this[_0x1aec7d(0xb0)](this[_0x1aec7d(0xb4)][_0x1aec7d(0xb1)],()=>_0x6abfda[_0x1aec7d(0xa6)](_0xcb0eb5=>{const _0x285015=_0x1aec7d;if(_0xcb0eb5['id']===_0x326ace[_0x285015(0xbd)]['id']){const _0x25cbf2=this[_0x285015(0x74)]();if(!_0x25cbf2)return;const _0x4ce806={'workbook':_0x25cbf2,'worksheet':_0x25cbf2[_0x285015(0xb9)]()};if(_0x4ce806==null)return;this[_0x285015(0x71)](this[_0x285015(0xb4)][_0x285015(0xb1)],_0x4ce806);}})),this[_0x1aec7d(0xb0)](this[_0x1aec7d(0xb4)][_0x1aec7d(0x73)],()=>_0x6abfda[_0x1aec7d(0xa6)](_0x41aa57=>{const _0x3610b2=_0x1aec7d;if(_0x41aa57['id']===_0x326ace['ConfirmSheetPrintOperation']['id']){const _0x4dd495=_0x2b7984[_0x3610b2(0xa3)](_0x326ace['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x510b8d={'layoutConfig':_0x4dd495[_0x3610b2(0x7a)],'renderConfig':_0x4dd495[_0x3610b2(0x9d)]};if(_0x510b8d==null)return;this[_0x3610b2(0x71)](this[_0x3610b2(0xb4)][_0x3610b2(0x73)],_0x510b8d);}})),this[_0x1aec7d(0xb0)](this[_0x1aec7d(0xb4)][_0x1aec7d(0x89)],()=>_0x6abfda['onCommandExecuted'](_0x5502bb=>{const _0x172b43=_0x1aec7d;if(_0x5502bb['id']===_0x326ace[_0x172b43(0x95)]['id']){const _0x2da008=_0x2b7984[_0x172b43(0xa3)](_0x326ace['ISheetPrintManagerService']);if(!this[_0x172b43(0x74)]())return;const _0x529191={'layoutConfig':_0x2da008[_0x172b43(0x7a)],'renderConfig':_0x2da008[_0x172b43(0x9d)]};if(_0x529191==null)return;this['fireEvent'](this[_0x172b43(0xb4)]['SheetPrintCanceled'],_0x529191);}}));}}_0x4d0520[_0x35bdbb(0x81)][_0x35bdbb(0x7d)](_0x4af053);}));