@univerjs-pro/sheets-print 0.12.2-nightly.202511290905 → 0.12.3
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x34ae01=_0x1ee9;(function(_0x44ed79,_0x309ecb){const _0x4c8f34=_0x1ee9,_0x461caf=_0x44ed79();while(!![]){try{const _0x35ac9a=-parseInt(_0x4c8f34(0x1b3))/0x1*(parseInt(_0x4c8f34(0x1ae))/0x2)+-parseInt(_0x4c8f34(0x1e7))/0x3*(parseInt(_0x4c8f34(0x1c8))/0x4)+parseInt(_0x4c8f34(0x1ee))/0x5+-parseInt(_0x4c8f34(0x1d9))/0x6*(parseInt(_0x4c8f34(0x1c3))/0x7)+parseInt(_0x4c8f34(0x1cc))/0x8+-parseInt(_0x4c8f34(0x1de))/0x9+parseInt(_0x4c8f34(0x1e5))/0xa*(parseInt(_0x4c8f34(0x1bd))/0xb);if(_0x35ac9a===_0x309ecb)break;else _0x461caf['push'](_0x461caf['shift']());}catch(_0x4573c4){_0x461caf['push'](_0x461caf['shift']());}}}(_0x399f,0x27cb9));const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':'下一步','printing':_0x34ae01(0x1ec)},'menu':'列印','title':'列印','grid':{'title':_0x34ae01(0x1c0),'showGrid':'顯示分頁符號','showGridLabel':'顯示分頁線','closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x34ae01(0x1bb),'success':'圖片已成功複製到剪貼簿!','fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x34ae01(0x1ea),'letter':_0x34ae01(0x1df),'tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x34ae01(0x1e9),'statement':_0x34ae01(0x1f0),'executive':_0x34ae01(0x1c1),'folio':_0x34ae01(0x1b1),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x34ae01(0x1e1),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x34ae01(0x1cd),'b5':_0x34ae01(0x1ad)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x34ae01(0x1f1),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x34ae01(0x1ed),'workbook':_0x34ae01(0x1c2),'currentSelection':_0x34ae01(0x1d5),'maxRowsEachPage':_0x34ae01(0x1ba),'maxColumnsEachPage':'每頁最大欄數','limit':_0x34ae01(0x1c9),'allSelection':_0x34ae01(0x1e6)},'selection':{'title':'選取範圍','allWorkbook':_0x34ae01(0x1cb),'workbookUnit':_0x34ae01(0x1d3)},'scale':{'title':'縮放','normal':_0x34ae01(0x1af),'fitWidth':_0x34ae01(0x1b2),'fitHeight':_0x34ae01(0x1b8),'fitPage':'調整至頁面大小','custom':_0x34ae01(0x1ef)},'orientation':{'title':'頁面方向','landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x34ae01(0x1bf),'skeleton':'顯示格線','waterMark':_0x34ae01(0x1d1)},'align':{'title':'對齊','horizontal':{'title':_0x34ae01(0x1bc),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x34ae01(0x1d0),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x34ae01(0x1e2),'page':'頁碼','workbook':_0x34ae01(0x1db),'sheet':_0x34ae01(0x1c6),'date':_0x34ae01(0x1d6),'time':_0x34ae01(0x1e0),'customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x34ae01(0x1da),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x34ae01(0x1c7),'dateA':_0x34ae01(0x1b5),'dateB':_0x34ae01(0x1e4),'dateC':'L','dateD':'MM/DD','timeA':'HH:mm:ss','timeB':'HH:mm','timeC':'hh:mm:ss','timeD':_0x34ae01(0x1d2),'display':{'page':'頁碼','title':_0x34ae01(0x1db),'sheet':'工作表名稱','dateA':_0x34ae01(0x1d7),'dateB':_0x34ae01(0x1d4),'dateC':_0x34ae01(0x1dd),'dateD':_0x34ae01(0x1dc),'dateE':_0x34ae01(0x1b0),'dateF':_0x34ae01(0x1b7),'timeA':'時間A','timeB':_0x34ae01(0x1cf),'timeC':_0x34ae01(0x1e3),'timeD':_0x34ae01(0x1e8),'sheetPage':_0x34ae01(0x1ce),'pageTotal':_0x34ae01(0x1c4),'sheetPageTotal':_0x34ae01(0x1b9)},'placeholder':_0x34ae01(0x1d8),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x34ae01(0x1c5),'row':_0x34ae01(0x1b4),'column':_0x34ae01(0x1b6)},'limit':{'page':_0x34ae01(0x1ca),'waterMark':_0x34ae01(0x1eb),'link':_0x34ae01(0x1be)}}};function _0x1ee9(_0x25f77f,_0xca6cfd){const _0x399f13=_0x399f();return _0x1ee9=function(_0x1ee98d,_0x3be232){_0x1ee98d=_0x1ee98d-0x1ad;let _0x8c736b=_0x399f13[_0x1ee98d];return _0x8c736b;},_0x1ee9(_0x25f77f,_0xca6cfd);}function _0x399f(){const _0x13af32=['活頁簿','229761qCvKCO','總頁數','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','工作表名稱','日期格式','174068LnGQMQ','列與欄限制','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','所有工作表','1849080oXhBKG','B4\x20(9.84\x22\x20x\x2013.90\x22)','工作表頁碼','時間B','垂直對齊','顯示浮水印','hh:mm','張工作表','日期B','已選取的儲存格','目前日期','日期A','點擊以新增文字','6tIaXSL','編輯自訂頁首/頁尾','活頁簿標題','日期D','日期C','2888361EstTAi','Letter\x20(8.5\x22\x20x\x2011\x22)','目前時間','A4\x20(8.27\x22\x20x\x2011.69\x22)','頁首和頁尾','時間C','MM-DD','10IJqtyQ','所有選取的儲存格','3byhWCX','時間D','Legal\x20(8.5\x22\x20x\x2014\x22)','紙張大小','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','列印中,請勿關閉頁面','目前工作表','817910BFIyNg','自訂比例','Statement\x20(5.5\x22\x20x\x208.5\x22)','自訂义頁邊距','B5\x20(6.93\x22\x20x\x209.84\x22)','2HYrNSz','標準\x20(100%)','日期E','Folio\x20(8.5\x22\x20x\x2013\x22)','調整至頁面寬度','71869Vmgrzj','重複凍結的列','YYYY-MM-DD','重複凍結的欄','日期F','調整至頁面高度','工作表總頁數','每頁最大列數','複製為圖片','水平對齊','2611642UKWdGR','https://univer.ai/pro','格式設定','列印版面配置','Executive\x20(7.25\x22\x20x\x2010.5\x22)'];_0x399f=function(){return _0x13af32;};return _0x399f();}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
|
-
|
|
13
|
-
|
|
12
|
+
A: string;
|
|
13
|
+
Q: string;
|
|
14
|
+
G: string;
|
|
15
|
+
e: string;
|
|
14
16
|
W: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
n: string;
|
|
18
|
+
J: string;
|
|
19
|
+
h: string;
|
|
20
|
+
z: string;
|
|
21
|
+
b: string;
|
|
22
|
+
L: string;
|
|
17
23
|
X: string;
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
m: string;
|
|
25
|
+
l: string;
|
|
26
|
+
a: string;
|
|
20
27
|
t: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
p: string;
|
|
29
|
+
F: string;
|
|
30
|
+
f: string;
|
|
31
|
+
s: string;
|
|
32
|
+
q: string;
|
|
33
|
+
D: string;
|
|
24
34
|
M: string;
|
|
25
|
-
|
|
35
|
+
T: string;
|
|
36
|
+
g: string;
|
|
37
|
+
R: string;
|
|
38
|
+
O: string;
|
|
39
|
+
Z: string;
|
|
40
|
+
x: string;
|
|
41
|
+
v: string;
|
|
42
|
+
Y: string;
|
|
43
|
+
C: string;
|
|
44
|
+
N: string;
|
|
45
|
+
P: string;
|
|
46
|
+
V: string;
|
|
47
|
+
K: string;
|
|
48
|
+
B: string;
|
|
26
49
|
d: string;
|
|
27
50
|
c: string;
|
|
28
|
-
|
|
51
|
+
r: string;
|
|
29
52
|
w: string;
|
|
30
|
-
o: string;
|
|
31
|
-
H: string;
|
|
32
|
-
D: string;
|
|
33
|
-
h: string;
|
|
34
|
-
V: string;
|
|
35
|
-
l: string;
|
|
36
|
-
v: string;
|
|
37
|
-
s: string;
|
|
38
|
-
y: string;
|
|
39
|
-
m: string;
|
|
40
|
-
L: string;
|
|
41
|
-
J: string;
|
|
42
53
|
E: string;
|
|
43
|
-
b: string;
|
|
44
54
|
i: string;
|
|
45
|
-
a: string;
|
|
46
|
-
Z: string;
|
|
47
|
-
q: string;
|
|
48
|
-
r: string;
|
|
49
|
-
Y: string;
|
|
50
55
|
k: string;
|
|
56
|
+
U: string;
|
|
57
|
+
S: string;
|
|
58
|
+
o: string;
|
|
51
59
|
u: string;
|
|
60
|
+
y: string;
|
|
61
|
+
H: string;
|
|
52
62
|
I: string;
|
|
53
|
-
|
|
54
|
-
B: string;
|
|
55
|
-
P: string;
|
|
56
|
-
C: string;
|
|
57
|
-
Q: string;
|
|
58
|
-
G: string;
|
|
59
|
-
T: string;
|
|
60
|
-
N: string;
|
|
61
|
-
S: string;
|
|
62
|
-
R: string;
|
|
63
|
-
g: string;
|
|
63
|
+
j: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "l1DLRp4D XmLgxMRp4D(spLmD5m, M1bspLdmx) { Rgx { L4D5R spLmD5mKDl4izgRYggzx = spLmD5m.5MspR('-'); L4D5R 4gpapDrm55zam = BSEw.Mzg5m(zR4b(spLmD5mKDl4izgRYggzx[7])); pl (!4gpapDrm55zam.1X) { 4gpapDrm55zam.1X = w1qbmg(spLmD5mKDl4izgRYggzx[6]); } L4D5R p584gfmg = RxMm4l 84gfmg3s4bzsSL4Mm !== '1DXmlpDmX' && 5msl pD5RzDLm4l 84gfmg3s4bzsSL4Mm; L4D5R p5Cg425mg = RxMm4l 2pDX42 !== '1DXmlpDmX' && RxMm4l 2pDX42.s4LzRp4D !== '1DXmlpDmX'; L4D5R L4DRmZR = p584gfmg ? 5msl : (p5Cg425mg ? 2pDX42 : as4bzsotp5); L4D5R qm55zam84gX = L4DRmZR.__Cz5mW6__.Mzg5m(spLmD5mKDl4izgRYggzx[7]); L4D5R qm55zam = L4DRmZR.__VmZ__.5RgpDaplx(qm55zam84gX); L4D5R 5paDzR1gm84gX = L4DRmZR.__Cz5mW6__.Mzg5m(spLmD5mKDl4izgRYggzx[G]); L4D5R 5paDzR1gm = L4DRmZR.__VmZ__.5RgpDaplx(5paDzR1gm84gX); L4D5R 5paDyzspX = L4DRmZR.__Omgplx__(5paDzR1gm, qm55zam, M1bspLdmx); L4D5R X4qzpD = 4gpapDrm55zam.Xq; l1DLRp4D p5N4qzpDrzRLtpDa(4izRRmgD, 4V45R) { L4D5R MzRRmgD = 4izRRmgD.gmMszLm(/^.+/, ''); L4D5R t45R = 4V45R.gmMszLm(/^.+/, ''); L4D5R MzRRmgDizgR5 = MzRRmgD.5MspR('.'); L4D5R t45RizgR5 = t45R.5MspR('.'); pl (!MzRRmgD.pDLs1Xm5('*')) { gmR1gD MzRRmgD === t45R; } pl (MzRRmgDizgR5.smDaRt < 7 || MzRRmgDizgR5[A] !== '*') { gmR1gD lzs5m; } L4D5R MzRRmgDS1llpZ = MzRRmgDizgR5.5spLm(Q).F4pD('.'); L4D5R t45RS1llpZ = t45RizgR5.5spLm(-MzRRmgDizgR5.smDaRt + Q).F4pD('.'); gmR1gD MzRRmgDS1llpZ === t45RS1llpZ; } smR X4qzpDyzspX = lzs5m; pl (p5Cg425mg) { X4qzpDyzspX = (X4qzpD && X4qzpD.smDaRt) ? X4qzpD.54qm((XqKRmq) => p5N4qzpDrzRLtpDa(XqKRmq, s4LzRp4D.t45RDzqm)) : Rg1m; pl (s4LzRp4D.t45RDzqm === 's4Lzst45R') { X4qzpDyzspX = Rg1m; } } ms5m { X4qzpDyzspX = Rg1m; } L4D5R OzspX = 5paDyzspX && X4qzpDyzspX; gmR1gD { OzspX, qm55zam: 4gpapDrm55zam, }; } LzRLt (mgg4g) { gmR1gD { OzspX: lzs5m, qm55zam: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x25b0(_0x52d40b,_0x3a7a87){const _0xc96d0f=_0xc96d();return _0x25b0=function(_0x25b0a1,_0x2f0105){_0x25b0a1=_0x25b0a1-0x78;let _0x5137da=_0xc96d0f[_0x25b0a1];return _0x5137da;},_0x25b0(_0x52d40b,_0x3a7a87);}function _0xc96d(){const _0x1efd03=['4688660NNQnaf','FEventName','CanceledError','35tGquvH','PrintHeaderFooterSymbol','saveScreenshotToClipboard','_range','PrintPaperSize','updatePrintConfig','BeforeSheetPrintConfirm','ConfirmSheetPrintOperation','print','BeforeSheetPrintOpen','PrintScale','getSheetId','PrintDirection','FWorkbook','extend','PrintFreeze','_worksheet','FRange','9awAnHI','getActiveUniverSheet','ICommandService','FUniver','fireEvent','CancelSheetPrintOperation','PrintAlign','layoutConfig','18EZjkCz','beforeCommandExecuted','amd','registerEventHandler','closePrintDialog','FEnum','getActiveSheet','hasPrintFacadePermission','SheetPrintClientService','_workbook','SheetPrintCanceled','cancel','@univerjs-pro/sheets-print','function','PrintHeaderFooter','_initialize','updatePrintRenderConfig','UniverProPrint','UniverCoreFacade','PrintArea','updateRenderConfig','SheetPrintOpen','get','Event','syncExecuteCommand','81944KmLJIL','1780064IgXcxZ','onCommandExecuted','@univerjs/core','PrintPaperMargin','UniverCore','ISheetPrintManagerService','SheetPrintConfirmed','SheetScreenShotOperation','UniverProSheetsPrint','4476374aTdrJL','3402NfaUZP','SheetPrintOpenOperation','getScreenshot','BeforeSheetPrintCanceled','367030TLfZnF','executeCommand','_injector','getRangeImage','PaperType','getUnitId','openPrintDialog','4129230IMsmCm','@univerjs/sheets/facade','@univerjs-pro/print','@univerjs/core/facade','renderConfig'];_0xc96d=function(){return _0x1efd03;};return _0xc96d();}(function(_0x57bec6,_0x3f18c2){const _0x1536cd=_0x25b0,_0x57b68e=_0x57bec6();while(!![]){try{const _0x5716ff=-parseInt(_0x1536cd(0x7e))/0x1+parseInt(_0x1536cd(0x7a))/0x2*(-parseInt(_0x1536cd(0x9f))/0x3)+parseInt(_0x1536cd(0xc0))/0x4*(-parseInt(_0x1536cd(0x8d))/0x5)+-parseInt(_0x1536cd(0x85))/0x6+parseInt(_0x1536cd(0x79))/0x7+-parseInt(_0x1536cd(0xc1))/0x8*(-parseInt(_0x1536cd(0xa7))/0x9)+parseInt(_0x1536cd(0x8a))/0xa;if(_0x5716ff===_0x3f18c2)break;else _0x57b68e['push'](_0x57b68e['shift']());}catch(_0x333983){_0x57b68e['push'](_0x57b68e['shift']());}}}(_0xc96d,0x555b8),function(_0x2312ac,_0x5be9b8){const _0x1d1497=_0x25b0;typeof exports=='object'&&typeof module<'u'?_0x5be9b8(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x1d1497(0xb4)&&define[_0x1d1497(0xa9)]?define([_0x1d1497(0xb3),_0x1d1497(0xc3),_0x1d1497(0x86),_0x1d1497(0x88),_0x1d1497(0x87)],_0x5be9b8):(_0x2312ac=typeof globalThis<'u'?globalThis:_0x2312ac||self,_0x5be9b8(_0x2312ac[_0x1d1497(0x78)],_0x2312ac[_0x1d1497(0xc5)],_0x2312ac['UniverSheetsFacade'],_0x2312ac[_0x1d1497(0xb9)],_0x2312ac[_0x1d1497(0xb8)]));}(this,function(_0x6eefae,_0x5f1554,_0x930b72,_0x5c26c6,_0x48548d){'use strict';const _0x333bc1=_0x25b0;class _0x3d0633 extends _0x930b72[_0x333bc1(0x9a)]{[_0x333bc1(0x92)](_0x9753e5){const _0x2327b4=_0x333bc1;return this[_0x2327b4(0x80)][_0x2327b4(0xbd)](_0x6eefae[_0x2327b4(0xc6)])['updateLayoutConfig'](_0x9753e5),this;}[_0x333bc1(0xb7)](_0x2a11c2){const _0x351a6f=_0x333bc1;return this['_injector']['get'](_0x6eefae[_0x351a6f(0xc6)])[_0x351a6f(0xbb)](_0x2a11c2),this;}[_0x333bc1(0x95)](){const _0x23123a=_0x333bc1;return this[_0x23123a(0x80)][_0x23123a(0xbd)](_0x5f1554['ICommandService'])[_0x23123a(0xbf)](_0x6eefae[_0x23123a(0x94)]['id']);}[_0x333bc1(0x84)](){const _0x5b2528=_0x333bc1;return this[_0x5b2528(0x80)][_0x5b2528(0xbd)](_0x5f1554[_0x5b2528(0xa1)])[_0x5b2528(0xbf)](_0x6eefae['SheetPrintOpenOperation']['id']);}[_0x333bc1(0xab)](){const _0x1e034c=_0x333bc1;return this[_0x1e034c(0x80)][_0x1e034c(0xbd)](_0x5f1554[_0x1e034c(0xa1)])['syncExecuteCommand'](_0x6eefae[_0x1e034c(0xa4)]['id']);}async[_0x333bc1(0x8f)](){const _0x4c88e0=_0x333bc1;return _0x6eefae['hasPrintFacadePermission'](this[_0x4c88e0(0x80)])?this[_0x4c88e0(0x80)]['get'](_0x5f1554[_0x4c88e0(0xa1)])[_0x4c88e0(0x7f)](_0x6eefae[_0x4c88e0(0xc8)]['id']):!0x1;}}_0x930b72[_0x333bc1(0x9a)][_0x333bc1(0x9b)](_0x3d0633);class _0x51a10b extends _0x930b72[_0x333bc1(0x9e)]{[_0x333bc1(0x7c)](){const _0x153c98=_0x333bc1;return _0x6eefae[_0x153c98(0xae)](this[_0x153c98(0x80)])?this[_0x153c98(0x80)][_0x153c98(0xbd)](_0x6eefae[_0x153c98(0xaf)])[_0x153c98(0x81)](this[_0x153c98(0xb0)][_0x153c98(0x83)](),this[_0x153c98(0x9d)][_0x153c98(0x98)](),this[_0x153c98(0x90)]):!0x1;}}_0x930b72[_0x333bc1(0x9e)][_0x333bc1(0x9b)](_0x51a10b);class _0x2b4760{get[_0x333bc1(0x96)](){return'BeforeSheetPrintOpen';}get[_0x333bc1(0x93)](){return'BeforeSheetPrintConfirm';}get[_0x333bc1(0x7d)](){const _0x1e3349=_0x333bc1;return _0x1e3349(0x7d);}get['SheetPrintOpen'](){const _0x1a20a2=_0x333bc1;return _0x1a20a2(0xbc);}get[_0x333bc1(0xc7)](){const _0x5d8aa2=_0x333bc1;return _0x5d8aa2(0xc7);}get[_0x333bc1(0xb1)](){const _0x51b346=_0x333bc1;return _0x51b346(0xb1);}}_0x5c26c6[_0x333bc1(0x8b)]['extend'](_0x2b4760);class _0x259f9d{get[_0x333bc1(0xba)](){const _0x15e2a2=_0x333bc1;return _0x6eefae[_0x15e2a2(0xba)];}get[_0x333bc1(0xa5)](){return _0x48548d['PrintAlign'];}get[_0x333bc1(0x91)](){const _0x4a0029=_0x333bc1;return _0x5f1554[_0x4a0029(0x82)];}get[_0x333bc1(0xc4)](){const _0x15bd12=_0x333bc1;return _0x48548d[_0x15bd12(0xc4)];}get['PrintScale'](){const _0x446566=_0x333bc1;return _0x48548d[_0x446566(0x97)];}get['PrintDirection'](){const _0x303f05=_0x333bc1;return _0x48548d[_0x303f05(0x99)];}get['PrintFreeze'](){const _0x4542d9=_0x333bc1;return _0x6eefae[_0x4542d9(0x9c)];}get[_0x333bc1(0xb5)](){return _0x6eefae['PrintHeaderFooter'];}get[_0x333bc1(0x8e)](){const _0x289829=_0x333bc1;return _0x6eefae[_0x289829(0x8e)];}}_0x5c26c6[_0x333bc1(0xac)][_0x333bc1(0x9b)](_0x259f9d);class _0x3d8ec5 extends _0x5c26c6[_0x333bc1(0xa2)]{[_0x333bc1(0xb6)](_0x1959d4){const _0x4b5d08=_0x333bc1,_0x295f88=_0x1959d4['get'](_0x5f1554[_0x4b5d08(0xa1)]);this[_0x4b5d08(0xaa)](this[_0x4b5d08(0xbe)][_0x4b5d08(0x96)],()=>_0x295f88[_0x4b5d08(0xa8)](_0x33ee3b=>{const _0x47586e=_0x4b5d08;if(_0x33ee3b['id']===_0x6eefae[_0x47586e(0x7b)]['id']){const _0x12cca9=this[_0x47586e(0xa0)]();if(!_0x12cca9)return;const _0xbab6e0={'workbook':_0x12cca9,'worksheet':_0x12cca9[_0x47586e(0xad)]()};if(_0xbab6e0==null)return;if(this['fireEvent'](this[_0x47586e(0xbe)][_0x47586e(0x96)],_0xbab6e0),_0xbab6e0[_0x47586e(0xb2)])throw new _0x5f1554['CanceledError']();}})),this[_0x4b5d08(0xaa)](this[_0x4b5d08(0xbe)][_0x4b5d08(0x93)],()=>_0x295f88['beforeCommandExecuted'](_0x30105c=>{const _0x4244a6=_0x4b5d08;if(_0x30105c['id']===_0x6eefae[_0x4244a6(0x94)]['id']){const _0x5bada3=_0x1959d4[_0x4244a6(0xbd)](_0x6eefae[_0x4244a6(0xc6)]);if(!this['getActiveUniverSheet']())return;const _0xdd488={'layoutConfig':_0x5bada3[_0x4244a6(0xa6)],'renderConfig':_0x5bada3[_0x4244a6(0x89)]};if(_0xdd488==null)return;if(this[_0x4244a6(0xa3)](this[_0x4244a6(0xbe)]['BeforeSheetPrintConfirm'],_0xdd488),_0xdd488['cancel'])throw new _0x5f1554[(_0x4244a6(0x8c))]();}})),this['registerEventHandler'](this[_0x4b5d08(0xbe)][_0x4b5d08(0x7d)],()=>_0x295f88['beforeCommandExecuted'](_0x12c8b2=>{const _0x22be47=_0x4b5d08;if(_0x12c8b2['id']===_0x6eefae[_0x22be47(0xa4)]['id']){const _0x3ede82=_0x1959d4[_0x22be47(0xbd)](_0x6eefae[_0x22be47(0xc6)]);if(!this[_0x22be47(0xa0)]())return;const _0x3f1b8b={'layoutConfig':_0x3ede82[_0x22be47(0xa6)],'renderConfig':_0x3ede82[_0x22be47(0x89)]};if(_0x3f1b8b==null)return;if(this[_0x22be47(0xa3)](this[_0x22be47(0xbe)][_0x22be47(0x7d)],_0x3f1b8b),_0x3f1b8b[_0x22be47(0xb2)])throw new _0x5f1554['CanceledError']();}})),this[_0x4b5d08(0xaa)](this[_0x4b5d08(0xbe)][_0x4b5d08(0xbc)],()=>_0x295f88[_0x4b5d08(0xc2)](_0x407599=>{const _0x524f51=_0x4b5d08;if(_0x407599['id']===_0x6eefae[_0x524f51(0x7b)]['id']){const _0x51d9dc=this[_0x524f51(0xa0)]();if(!_0x51d9dc)return;const _0x161226={'workbook':_0x51d9dc,'worksheet':_0x51d9dc['getActiveSheet']()};if(_0x161226==null)return;this['fireEvent'](this['Event'][_0x524f51(0xbc)],_0x161226);}})),this[_0x4b5d08(0xaa)](this['Event'][_0x4b5d08(0xc7)],()=>_0x295f88[_0x4b5d08(0xc2)](_0x31eb1d=>{const _0x409cfe=_0x4b5d08;if(_0x31eb1d['id']===_0x6eefae[_0x409cfe(0x94)]['id']){const _0x1d12ae=_0x1959d4[_0x409cfe(0xbd)](_0x6eefae['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x8ea7b5={'layoutConfig':_0x1d12ae[_0x409cfe(0xa6)],'renderConfig':_0x1d12ae[_0x409cfe(0x89)]};if(_0x8ea7b5==null)return;this['fireEvent'](this[_0x409cfe(0xbe)][_0x409cfe(0xc7)],_0x8ea7b5);}})),this[_0x4b5d08(0xaa)](this[_0x4b5d08(0xbe)]['SheetPrintCanceled'],()=>_0x295f88[_0x4b5d08(0xc2)](_0x1cb863=>{const _0x1ce9c0=_0x4b5d08;if(_0x1cb863['id']===_0x6eefae[_0x1ce9c0(0xa4)]['id']){const _0x3dbee9=_0x1959d4[_0x1ce9c0(0xbd)](_0x6eefae[_0x1ce9c0(0xc6)]);if(!this['getActiveUniverSheet']())return;const _0x3031c0={'layoutConfig':_0x3dbee9['layoutConfig'],'renderConfig':_0x3dbee9[_0x1ce9c0(0x89)]};if(_0x3031c0==null)return;this[_0x1ce9c0(0xa3)](this[_0x1ce9c0(0xbe)][_0x1ce9c0(0xb1)],_0x3031c0);}}));}}_0x5c26c6[_0x333bc1(0xa2)][_0x333bc1(0x9b)](_0x3d8ec5);}));
|