@univerjs-pro/sheets-print 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260108-7b9120d
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 +14 -14
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x56b6(_0x5bf5ff,_0x262e2c){_0x5bf5ff=_0x5bf5ff-0xb0;const _0x31fbc9=_0x31fb();let _0x56b668=_0x31fbc9[_0x5bf5ff];return _0x56b668;}const _0x4780f7=_0x56b6;function _0x31fb(){const _0x5b62e6=['50366JhyCQf','垂直對齊','目前工作表','40maocaB','自訂比例','YYYY-MM-DD','9IHSnYO','日期E','hh:mm','顯示分頁符號','調整至頁面大小','1098105QfZPxE','已選取的儲存格','自訂义頁邊距','選取範圍','頁首和頁尾','顯示分頁線','A3\x20(11.69\x22\x20x\x2016.54\x22)','調整至頁面高度','3276730XjmGTw','B4\x20(9.84\x22\x20x\x2013.90\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','張工作表','B5\x20(6.93\x22\x20x\x209.84\x22)','31632YkuPgL','7wqghhj','1431282WkXbzG','Executive\x20(7.25\x22\x20x\x2010.5\x22)','29508qQEIqM','重複凍結的欄','4664cTJmTN','格式設定','Folio\x20(8.5\x22\x20x\x2013\x22)','總計:','時間D','下一步','重複凍結的列','總頁數','3928928MPBPoz','Legal\x20(8.5\x22\x20x\x2014\x22)','工作表總頁數','所有工作表','時間C','MM/DD','水平對齊','MM-DD','18sSZhkI','時間A','每頁最大列數','列印中,請勿關閉頁面','紙張大小','目前日期','圖片已成功複製到剪貼簿!','頁面方向','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','關閉並隱藏分頁線','工作表頁碼','A5\x20(5.83\x22\x20x\x208.27\x22)','活頁簿標題','日期C','圖片複製到剪貼簿失敗!','時間B','編輯自訂頁首/頁尾','日期B','每頁最大欄數','複製為圖片','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','日期A','列印版面配置','列與欄限制','A4\x20(8.27\x22\x20x\x2011.69\x22)'];_0x31fb=function(){return _0x5b62e6;};return _0x31fb();}(function(_0x142745,_0x369b91){const _0x140876=_0x56b6,_0x43cf23=_0x142745();while(!![]){try{const _0x537cb8=-parseInt(_0x140876(0xb8))/0x1*(parseInt(_0x140876(0xb2))/0x2)+parseInt(_0x140876(0xce))/0x3*(parseInt(_0x140876(0xb5))/0x4)+parseInt(_0x140876(0xbd))/0x5+-parseInt(_0x140876(0xcc))/0x6*(-parseInt(_0x140876(0xcb))/0x7)+parseInt(_0x140876(0xd8))/0x8+-parseInt(_0x140876(0xe0))/0x9*(-parseInt(_0x140876(0xc5))/0xa)+parseInt(_0x140876(0xd0))/0xb*(-parseInt(_0x140876(0xca))/0xc);if(_0x537cb8===_0x369b91)break;else _0x43cf23['push'](_0x43cf23['shift']());}catch(_0x115ff4){_0x43cf23['push'](_0x43cf23['shift']());}}}(_0x31fb,0x57917));const e={'print':{'header':{'total':_0x4780f7(0xd3),'pages':'頁','cancel':'取消','next':_0x4780f7(0xd5),'printing':_0x4780f7(0xe3)},'menu':'列印','title':'列印','grid':{'title':_0x4780f7(0xf6),'showGrid':_0x4780f7(0xbb),'showGridLabel':_0x4780f7(0xc2),'closeAndHide':_0x4780f7(0xe9)},'screenshot':{'title':_0x4780f7(0xf3),'success':_0x4780f7(0xe6),'fail':_0x4780f7(0xee)},'size':{'title':_0x4780f7(0xe4),'letter':'Letter\x20(8.5\x22\x20x\x2011\x22)','tabloid':'Tabloid\x20(11\x22\x20x\x2017\x22)','legal':_0x4780f7(0xd9),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x4780f7(0xcd),'folio':_0x4780f7(0xd2),'a3':_0x4780f7(0xc3),'a4':_0x4780f7(0xb1),'a5':_0x4780f7(0xeb),'b4':_0x4780f7(0xc6),'b5':_0x4780f7(0xc9)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x4780f7(0xbf),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x4780f7(0xb4),'workbook':'活頁簿','currentSelection':_0x4780f7(0xbe),'maxRowsEachPage':_0x4780f7(0xe2),'maxColumnsEachPage':_0x4780f7(0xf2),'limit':_0x4780f7(0xb0),'allSelection':'所有選取的儲存格'},'selection':{'title':_0x4780f7(0xc0),'allWorkbook':_0x4780f7(0xdb),'workbookUnit':_0x4780f7(0xc8)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x4780f7(0xc4),'fitPage':_0x4780f7(0xbc),'custom':_0x4780f7(0xb6)},'orientation':{'title':_0x4780f7(0xe7),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x4780f7(0xd1),'skeleton':'顯示格線','waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x4780f7(0xde),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x4780f7(0xb3),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x4780f7(0xc1),'page':'頁碼','workbook':_0x4780f7(0xec),'sheet':'工作表名稱','date':_0x4780f7(0xe5),'time':'目前時間','customHeadFooter':'自訂頁首/頁尾','editCustomHeadFooter':_0x4780f7(0xf0),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x4780f7(0xb7),'dateB':_0x4780f7(0xdf),'dateC':'L','dateD':_0x4780f7(0xdd),'timeA':'HH:mm:ss','timeB':'HH:mm','timeC':'hh:mm:ss','timeD':_0x4780f7(0xba),'display':{'page':'頁碼','title':'活頁簿標題','sheet':'工作表名稱','dateA':_0x4780f7(0xf5),'dateB':_0x4780f7(0xf1),'dateC':_0x4780f7(0xed),'dateD':'日期D','dateE':_0x4780f7(0xb9),'dateF':'日期F','timeA':_0x4780f7(0xe1),'timeB':_0x4780f7(0xef),'timeC':_0x4780f7(0xdc),'timeD':_0x4780f7(0xd4),'sheetPage':_0x4780f7(0xea),'pageTotal':_0x4780f7(0xd7),'sheetPageTotal':_0x4780f7(0xda)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x4780f7(0xf4),'row':_0x4780f7(0xd6),'column':_0x4780f7(0xcf)},'limit':{'page':_0x4780f7(0xe8),'waterMark':_0x4780f7(0xc7),'link':'https://univer.ai/pro'}}};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
|
-
A: string;
|
|
14
|
-
F: string;
|
|
15
|
-
v: string;
|
|
16
|
-
R: string;
|
|
17
|
-
L: string;
|
|
18
|
-
m: string;
|
|
19
|
-
U: string;
|
|
20
|
-
x: string;
|
|
21
|
-
a: string;
|
|
22
|
-
X: string;
|
|
23
|
-
g: string;
|
|
24
|
-
r: string;
|
|
25
|
-
t: string;
|
|
26
|
-
p: string;
|
|
27
|
-
q: string;
|
|
28
|
-
w: string;
|
|
29
|
-
o: string;
|
|
30
|
-
k: string;
|
|
31
|
-
u: string;
|
|
32
|
-
Z: string;
|
|
33
|
-
T: string;
|
|
12
|
+
l: string;
|
|
34
13
|
s: string;
|
|
35
|
-
h: string;
|
|
36
14
|
O: string;
|
|
37
|
-
|
|
38
|
-
E: string;
|
|
39
|
-
i: string;
|
|
40
|
-
S: string;
|
|
41
|
-
l: string;
|
|
15
|
+
w: string;
|
|
42
16
|
C: string;
|
|
43
17
|
e: string;
|
|
44
|
-
|
|
18
|
+
Z: string;
|
|
19
|
+
j: string;
|
|
20
|
+
n: string;
|
|
45
21
|
f: string;
|
|
46
|
-
c: string;
|
|
47
22
|
M: string;
|
|
48
|
-
|
|
49
|
-
|
|
23
|
+
u: string;
|
|
24
|
+
J: string;
|
|
25
|
+
a: string;
|
|
26
|
+
i: string;
|
|
27
|
+
g: string;
|
|
28
|
+
P: string;
|
|
29
|
+
A: string;
|
|
30
|
+
x: string;
|
|
50
31
|
Y: string;
|
|
32
|
+
p: string;
|
|
33
|
+
y: string;
|
|
34
|
+
R: string;
|
|
35
|
+
V: string;
|
|
36
|
+
m: string;
|
|
37
|
+
v: string;
|
|
38
|
+
b: string;
|
|
39
|
+
h: string;
|
|
40
|
+
I: string;
|
|
41
|
+
S: string;
|
|
51
42
|
z: string;
|
|
43
|
+
G: string;
|
|
44
|
+
E: string;
|
|
45
|
+
B: string;
|
|
46
|
+
o: string;
|
|
47
|
+
F: string;
|
|
48
|
+
L: string;
|
|
49
|
+
t: string;
|
|
52
50
|
K: string;
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
N: string;
|
|
52
|
+
q: string;
|
|
53
|
+
c: string;
|
|
55
54
|
d: string;
|
|
56
55
|
W: string;
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
X: string;
|
|
57
|
+
k: string;
|
|
58
|
+
T: string;
|
|
59
|
+
D: string;
|
|
60
|
+
r: string;
|
|
61
|
+
H: string;
|
|
59
62
|
Q: string;
|
|
60
|
-
|
|
61
|
-
B: string;
|
|
62
|
-
J: string;
|
|
63
|
-
V: string;
|
|
63
|
+
U: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/* MVPixm-1iV0nPM pRMuMR-mMApP0mM */uvxfmiYx 1MfRSpmiYx(PifMxVM, pvnPifKMS) { mRS { fYxVm PifMxVMtxuYW0RmGRR0S = PifMxVM.VpPim('-'); fYxVm YRiJixqMVV0JM = 93dc.p0RVM(0mYn(PifMxVMtxuYW0RmGRR0S[O])); iu (!YRiJixqMVV0JM.v1) { YRiJixqMVV0JM.v1 = cvAnMR(PifMxVMtxuYW0RmGRR0S[w]); } fYxVm iV6YR5MR = mSpMYu 6YR5MRFPYn0P3fYpM !== 'vx1MuixM1' && VMPu ixVm0xfMYu 6YR5MRFPYn0P3fYpM; fYxVm iV4RYhVMR = mSpMYu hix1Yh !== 'vx1MuixM1' && mSpMYu hix1Yh.PYf0miYx !== 'vx1MuixM1'; fYxVm fYxmMIm = iV6YR5MR ? VMPu : (iV4RYhVMR ? hix1Yh : JPYn0PTaiV); fYxVm AMVV0JM6YR1 = fYxmMIm.__40VMew__.p0RVM(PifMxVMtxuYW0RmGRR0S[O]); fYxVm AMVV0JM = fYxmMIm.__LMI__.VmRixJiuS(AMVV0JM6YR1); fYxVm ViJx0mvRM6YR1 = fYxmMIm.__40VMew__.p0RVM(PifMxVMtxuYW0RmGRR0S[7]); fYxVm ViJx0mvRM = fYxmMIm.__LMI__.VmRixJiuS(ViJx0mvRM6YR1); fYxVm ViJxr0Pi1 = fYxmMIm.__bMRiuS__(ViJx0mvRM, AMVV0JM, pvnPifKMS); fYxVm 1YA0ix = YRiJixqMVV0JM.1A; uvxfmiYx iV8YA0ixq0mfaixJ(p0mmMRx, aYVm) { iu (p0mmMRx === aYVm) RMmvRx mRvM; iu (p0mmMRx.Vm0RmV6ima('*.')) { fYxVm VvuuiI = p0mmMRx.VPifM(O); iu (VvuuiI && VvuuiI === aYVm) { RMmvRx mRvM; } iu (VvuuiI && !aYVm.Vm0RmV6ima('.') && aYVm.Mx1V6ima('.' + VvuuiI)) { RMmvRx mRvM; } } RMmvRx u0PVM; } PMm 1YA0ixr0Pi1 = u0PVM; iu (iV4RYhVMR) { 1YA0ixr0Pi1 = (1YA0ix && 1YA0ix.PMxJma) ? 1YA0ix.VYAM((1AtmMA) => iV8YA0ixq0mfaixJ(1AtmMA, PYf0miYx.aYVmx0AM)) : mRvM; iu (PYf0miYx.aYVmx0AM === 'PYf0PaYVm') { 1YA0ixr0Pi1 = mRvM; } } MPVM { 1YA0ixr0Pi1 = mRvM; } fYxVm b0Pi1 = ViJxr0Pi1 && 1YA0ixr0Pi1; RMmvRx { b0Pi1, AMVV0JM: YRiJixqMVV0JM, }; } f0mfa (MRRYR) { RMmvRx { b0Pi1: u0PVM, AMVV0JM: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x35b3(){const _0x13fb19=['3maIutU','ConfirmSheetPrintOperation','updatePrintConfig','syncExecuteCommand','renderConfig','@univerjs/sheets/facade','@univerjs/core/facade','BeforeSheetPrintOpen','UniverProPrint','2lqxhHg','ISheetPrintManagerService','updateRenderConfig','openPrintDialog','getActiveSheet','UniverSheetsFacade','_injector','PrintArea','152128QbPyOH','CancelSheetPrintOperation','Event','_worksheet','UniverProSheetsPrint','_initialize','PrintScale','extend','BeforeSheetPrintConfirm','PrintFreeze','954705kErdxp','SheetPrintOpenOperation','105324OKrPWH','getUnitId','getSheetId','SheetPrintOpen','get','onCommandExecuted','saveScreenshotToClipboard','updateLayoutConfig','_workbook','layoutConfig','@univerjs/core','FRange','PaperType','UniverCore','UniverCoreFacade','amd','BeforeSheetPrintCanceled','FUniver','SheetScreenShotOperation','9fxRLeb','PrintHeaderFooterSymbol','function','closePrintDialog','includeHeaders','executeCommand','FEventName','getActiveUniverSheet','1276748aCOOhX','SheetPrintConfirmed','3602434abPFnP','PrintAlign','@univerjs-pro/sheets-print','PrintDirection','FEnum','hasPrintFacadePermission','ICommandService','fireEvent','1591730cHDbgp','PrintHeaderFooter','print','SheetPrintCanceled','getRangeImage','updatePrintRenderConfig','FWorkbook','PrintPaperMargin','cancel','119UXchmi','object','beforeCommandExecuted','1696744nGJRiz','CanceledError','registerEventHandler'];_0x35b3=function(){return _0x13fb19;};return _0x35b3();}function _0x19b4(_0x21769b,_0x3f4fab){_0x21769b=_0x21769b-0x1f0;const _0x35b383=_0x35b3();let _0x19b4d3=_0x35b383[_0x21769b];return _0x19b4d3;}(function(_0x16a0cc,_0x4ade15){const _0x3947f1=_0x19b4,_0x3565db=_0x16a0cc();while(!![]){try{const _0x4ca43a=-parseInt(_0x3947f1(0x22b))/0x1*(-parseInt(_0x3947f1(0x223))/0x2)+parseInt(_0x3947f1(0x21a))/0x3*(parseInt(_0x3947f1(0x201))/0x4)+-parseInt(_0x3947f1(0x235))/0x5+parseInt(_0x3947f1(0x237))/0x6*(parseInt(_0x3947f1(0x214))/0x7)+-parseInt(_0x3947f1(0x217))/0x8+-parseInt(_0x3947f1(0x1f9))/0x9*(-parseInt(_0x3947f1(0x20b))/0xa)+-parseInt(_0x3947f1(0x203))/0xb;if(_0x4ca43a===_0x4ade15)break;else _0x3565db['push'](_0x3565db['shift']());}catch(_0x50a82c){_0x3565db['push'](_0x3565db['shift']());}}}(_0x35b3,0x306ea),function(_0x47245f,_0x146516){const _0x962644=_0x19b4;typeof exports==_0x962644(0x215)&&typeof module<'u'?_0x146516(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x962644(0x1fb)&&define[_0x962644(0x1f5)]?define([_0x962644(0x205),_0x962644(0x1f0),_0x962644(0x21f),_0x962644(0x220),'@univerjs-pro/print'],_0x146516):(_0x47245f=typeof globalThis<'u'?globalThis:_0x47245f||self,_0x146516(_0x47245f[_0x962644(0x22f)],_0x47245f[_0x962644(0x1f3)],_0x47245f[_0x962644(0x228)],_0x47245f[_0x962644(0x1f4)],_0x47245f[_0x962644(0x222)]));}(this,function(_0x44db61,_0x56ea07,_0x22febe,_0x54d5c5,_0x4a2e12){'use strict';const _0x496b97=_0x19b4;class _0x4e60ef extends _0x22febe[_0x496b97(0x211)]{[_0x496b97(0x21c)](_0x1ab2b4){const _0x540f04=_0x496b97;return this['_injector'][_0x540f04(0x23b)](_0x44db61[_0x540f04(0x224)])[_0x540f04(0x23e)](_0x1ab2b4),this;}[_0x496b97(0x210)](_0x5e5972){const _0x177bea=_0x496b97;return this[_0x177bea(0x229)]['get'](_0x44db61[_0x177bea(0x224)])[_0x177bea(0x225)](_0x5e5972),this;}[_0x496b97(0x20d)](){const _0xa049ca=_0x496b97;return this['_injector'][_0xa049ca(0x23b)](_0x56ea07[_0xa049ca(0x209)])[_0xa049ca(0x21d)](_0x44db61[_0xa049ca(0x21b)]['id']);}[_0x496b97(0x226)](){const _0x5e7514=_0x496b97;return this[_0x5e7514(0x229)][_0x5e7514(0x23b)](_0x56ea07[_0x5e7514(0x209)])['syncExecuteCommand'](_0x44db61[_0x5e7514(0x236)]['id']);}[_0x496b97(0x1fc)](){const _0x421372=_0x496b97;return this[_0x421372(0x229)][_0x421372(0x23b)](_0x56ea07['ICommandService'])[_0x421372(0x21d)](_0x44db61[_0x421372(0x22c)]['id']);}async[_0x496b97(0x23d)](){const _0x9d8628=_0x496b97;return _0x44db61[_0x9d8628(0x208)](this[_0x9d8628(0x229)])?this[_0x9d8628(0x229)][_0x9d8628(0x23b)](_0x56ea07[_0x9d8628(0x209)])[_0x9d8628(0x1fe)](_0x44db61[_0x9d8628(0x1f8)]['id']):!0x1;}}_0x22febe[_0x496b97(0x211)][_0x496b97(0x232)](_0x4e60ef);class _0x312858 extends _0x22febe[_0x496b97(0x1f1)]{['getScreenshot'](_0x17df9c){const _0x135c8c=_0x496b97;return _0x44db61['hasPrintFacadePermission'](this['_injector'])?this['_injector'][_0x135c8c(0x23b)](_0x44db61['SheetPrintClientService'])[_0x135c8c(0x20f)](this[_0x135c8c(0x23f)][_0x135c8c(0x238)](),this[_0x135c8c(0x22e)][_0x135c8c(0x239)](),this['_range'],_0x17df9c==null?void 0x0:_0x17df9c[_0x135c8c(0x1fd)]):!0x1;}}_0x22febe[_0x496b97(0x1f1)][_0x496b97(0x232)](_0x312858);class _0x1410fd{get[_0x496b97(0x221)](){const _0x33f146=_0x496b97;return _0x33f146(0x221);}get[_0x496b97(0x233)](){return'BeforeSheetPrintConfirm';}get[_0x496b97(0x1f6)](){const _0x2153ed=_0x496b97;return _0x2153ed(0x1f6);}get[_0x496b97(0x23a)](){const _0xdd126e=_0x496b97;return _0xdd126e(0x23a);}get[_0x496b97(0x202)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x373b46=_0x496b97;return _0x373b46(0x20e);}}_0x54d5c5[_0x496b97(0x1ff)][_0x496b97(0x232)](_0x1410fd);class _0x15ef5d{get['PrintArea'](){const _0x5ec389=_0x496b97;return _0x44db61[_0x5ec389(0x22a)];}get[_0x496b97(0x204)](){return _0x4a2e12['PrintAlign'];}get['PrintPaperSize'](){const _0x39aec7=_0x496b97;return _0x56ea07[_0x39aec7(0x1f2)];}get[_0x496b97(0x212)](){return _0x4a2e12['PrintPaperMargin'];}get[_0x496b97(0x231)](){const _0x16a740=_0x496b97;return _0x4a2e12[_0x16a740(0x231)];}get[_0x496b97(0x206)](){return _0x4a2e12['PrintDirection'];}get[_0x496b97(0x234)](){const _0x4a2009=_0x496b97;return _0x44db61[_0x4a2009(0x234)];}get['PrintHeaderFooter'](){const _0x31073d=_0x496b97;return _0x44db61[_0x31073d(0x20c)];}get[_0x496b97(0x1fa)](){const _0x319937=_0x496b97;return _0x44db61[_0x319937(0x1fa)];}}_0x54d5c5[_0x496b97(0x207)][_0x496b97(0x232)](_0x15ef5d);class _0x3965a7 extends _0x54d5c5[_0x496b97(0x1f7)]{[_0x496b97(0x230)](_0x1e718d){const _0x4e2c3d=_0x496b97,_0x4e31d8=_0x1e718d[_0x4e2c3d(0x23b)](_0x56ea07[_0x4e2c3d(0x209)]);this[_0x4e2c3d(0x219)](this['Event']['BeforeSheetPrintOpen'],()=>_0x4e31d8[_0x4e2c3d(0x216)](_0xbae2a5=>{const _0x4d282d=_0x4e2c3d;if(_0xbae2a5['id']===_0x44db61['SheetPrintOpenOperation']['id']){const _0x37f79e=this[_0x4d282d(0x200)]();if(!_0x37f79e)return;const _0x173c3b={'workbook':_0x37f79e,'worksheet':_0x37f79e[_0x4d282d(0x227)]()};if(_0x173c3b==null)return;if(this['fireEvent'](this[_0x4d282d(0x22d)][_0x4d282d(0x221)],_0x173c3b),_0x173c3b[_0x4d282d(0x213)])throw new _0x56ea07[(_0x4d282d(0x218))]();}})),this[_0x4e2c3d(0x219)](this[_0x4e2c3d(0x22d)][_0x4e2c3d(0x233)],()=>_0x4e31d8[_0x4e2c3d(0x216)](_0x2325ed=>{const _0x3e20f0=_0x4e2c3d;if(_0x2325ed['id']===_0x44db61['ConfirmSheetPrintOperation']['id']){const _0x46ced9=_0x1e718d[_0x3e20f0(0x23b)](_0x44db61[_0x3e20f0(0x224)]);if(!this[_0x3e20f0(0x200)]())return;const _0x94cee4={'layoutConfig':_0x46ced9[_0x3e20f0(0x240)],'renderConfig':_0x46ced9['renderConfig']};if(_0x94cee4==null)return;if(this[_0x3e20f0(0x20a)](this['Event']['BeforeSheetPrintConfirm'],_0x94cee4),_0x94cee4[_0x3e20f0(0x213)])throw new _0x56ea07['CanceledError']();}})),this[_0x4e2c3d(0x219)](this[_0x4e2c3d(0x22d)]['BeforeSheetPrintCanceled'],()=>_0x4e31d8[_0x4e2c3d(0x216)](_0x1fe2cb=>{const _0x17a5c7=_0x4e2c3d;if(_0x1fe2cb['id']===_0x44db61[_0x17a5c7(0x22c)]['id']){const _0x388d68=_0x1e718d['get'](_0x44db61['ISheetPrintManagerService']);if(!this[_0x17a5c7(0x200)]())return;const _0x1a11cd={'layoutConfig':_0x388d68[_0x17a5c7(0x240)],'renderConfig':_0x388d68[_0x17a5c7(0x21e)]};if(_0x1a11cd==null)return;if(this[_0x17a5c7(0x20a)](this[_0x17a5c7(0x22d)]['BeforeSheetPrintCanceled'],_0x1a11cd),_0x1a11cd[_0x17a5c7(0x213)])throw new _0x56ea07[(_0x17a5c7(0x218))]();}})),this[_0x4e2c3d(0x219)](this[_0x4e2c3d(0x22d)][_0x4e2c3d(0x23a)],()=>_0x4e31d8['onCommandExecuted'](_0x317b5e=>{const _0x3248b2=_0x4e2c3d;if(_0x317b5e['id']===_0x44db61[_0x3248b2(0x236)]['id']){const _0x250634=this[_0x3248b2(0x200)]();if(!_0x250634)return;const _0x4a799e={'workbook':_0x250634,'worksheet':_0x250634[_0x3248b2(0x227)]()};if(_0x4a799e==null)return;this['fireEvent'](this['Event'][_0x3248b2(0x23a)],_0x4a799e);}})),this[_0x4e2c3d(0x219)](this['Event'][_0x4e2c3d(0x202)],()=>_0x4e31d8[_0x4e2c3d(0x23c)](_0x6f57fd=>{const _0x5585dd=_0x4e2c3d;if(_0x6f57fd['id']===_0x44db61[_0x5585dd(0x21b)]['id']){const _0x6d29d9=_0x1e718d[_0x5585dd(0x23b)](_0x44db61[_0x5585dd(0x224)]);if(!this['getActiveUniverSheet']())return;const _0x2ee4ab={'layoutConfig':_0x6d29d9[_0x5585dd(0x240)],'renderConfig':_0x6d29d9[_0x5585dd(0x21e)]};if(_0x2ee4ab==null)return;this[_0x5585dd(0x20a)](this[_0x5585dd(0x22d)]['SheetPrintConfirmed'],_0x2ee4ab);}})),this[_0x4e2c3d(0x219)](this['Event'][_0x4e2c3d(0x20e)],()=>_0x4e31d8[_0x4e2c3d(0x23c)](_0x26a9f5=>{const _0xc2a71=_0x4e2c3d;if(_0x26a9f5['id']===_0x44db61['CancelSheetPrintOperation']['id']){const _0x3d140c=_0x1e718d[_0xc2a71(0x23b)](_0x44db61['ISheetPrintManagerService']);if(!this[_0xc2a71(0x200)]())return;const _0x28af7f={'layoutConfig':_0x3d140c[_0xc2a71(0x240)],'renderConfig':_0x3d140c[_0xc2a71(0x21e)]};if(_0x28af7f==null)return;this['fireEvent'](this['Event'][_0xc2a71(0x20e)],_0x28af7f);}}));}}_0x54d5c5[_0x496b97(0x1f7)][_0x496b97(0x232)](_0x3965a7);}));
|