@univerjs-pro/sheets-print 0.15.0-insiders.20260107-3441c7a → 0.15.0-insiders.20260107-3d1cfdf
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 +42 -42
- 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
|
-
const
|
|
1
|
+
const _0x2470bb=_0x3cf8;(function(_0x147141,_0x51c18f){const _0x25ed9f=_0x3cf8,_0xb2b6ee=_0x147141();while(!![]){try{const _0x2f5be0=-parseInt(_0x25ed9f(0x164))/0x1+-parseInt(_0x25ed9f(0x15b))/0x2+-parseInt(_0x25ed9f(0x133))/0x3*(parseInt(_0x25ed9f(0x15c))/0x4)+parseInt(_0x25ed9f(0x144))/0x5+parseInt(_0x25ed9f(0x14d))/0x6*(parseInt(_0x25ed9f(0x150))/0x7)+-parseInt(_0x25ed9f(0x140))/0x8+parseInt(_0x25ed9f(0x168))/0x9;if(_0x2f5be0===_0x51c18f)break;else _0xb2b6ee['push'](_0xb2b6ee['shift']());}catch(_0x5e7552){_0xb2b6ee['push'](_0xb2b6ee['shift']());}}}(_0x3056,0xc1156));function _0x3cf8(_0x3ebfaa,_0x366a0e){_0x3ebfaa=_0x3ebfaa-0x12f;const _0x305663=_0x3056();let _0x3cf8ec=_0x305663[_0x3ebfaa];return _0x3cf8ec;}function _0x3056(){const _0x187e5c=['活頁簿','點擊以新增文字','B5\x20(6.93\x22\x20x\x209.84\x22)','列與欄限制','工作表名稱','自訂比例','下一步','日期B','Legal\x20(8.5\x22\x20x\x2014\x22)','顯示分頁線','所有工作表','hh:mm:ss','6GQlUMB','https://univer.ai/pro','總計:','日期A','Letter\x20(8.5\x22\x20x\x2011\x22)','調整至頁面大小','A4\x20(8.27\x22\x20x\x2011.69\x22)','張工作表','Folio\x20(8.5\x22\x20x\x2013\x22)','已選取的儲存格','頁首和頁尾','調整至頁面高度','B4\x20(9.84\x22\x20x\x2013.90\x22)','5945504tIHyYp','頁面方向','目前工作表','重複凍結的列','42095fCoSGd','所有選取的儲存格','Executive\x20(7.25\x22\x20x\x2010.5\x22)','工作表頁碼','MM-DD','選取範圍','hh:mm','水平對齊','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','2178hjtriR','時間B','日期C','2079Qyzhvs','自訂頁首/頁尾','HH:mm:ss','時間A','列印中,請勿關閉頁面','總頁數','MM/DD','複製為圖片','工作表總頁數','每頁最大列數','圖片已成功複製到剪貼簿!','2925666EhQQtO','2409700CwOLYL','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','時間C','紙張大小','YYYY-MM-DD','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','列印版面配置','活頁簿標題','1393070HQboTS','顯示格線','時間D','調整至頁面寬度','49307229qStuvX','日期格式','Tabloid\x20(11\x22\x20x\x2017\x22)'];_0x3056=function(){return _0x187e5c;};return _0x3056();}const e={'print':{'header':{'total':_0x2470bb(0x135),'pages':'頁','cancel':'取消','next':_0x2470bb(0x171),'printing':_0x2470bb(0x154)},'menu':'列印','title':'列印','grid':{'title':_0x2470bb(0x162),'showGrid':'顯示分頁符號','showGridLabel':_0x2470bb(0x130),'closeAndHide':'關閉並隱藏分頁線'},'screenshot':{'title':_0x2470bb(0x157),'success':_0x2470bb(0x15a),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x2470bb(0x15f),'letter':_0x2470bb(0x137),'tabloid':_0x2470bb(0x16a),'legal':_0x2470bb(0x12f),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x2470bb(0x146),'folio':_0x2470bb(0x13b),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x2470bb(0x139),'a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':_0x2470bb(0x13f),'b5':_0x2470bb(0x16d)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x2470bb(0x142),'workbook':_0x2470bb(0x16b),'currentSelection':_0x2470bb(0x13c),'maxRowsEachPage':_0x2470bb(0x159),'maxColumnsEachPage':'每頁最大欄數','limit':_0x2470bb(0x16e),'allSelection':_0x2470bb(0x145)},'selection':{'title':_0x2470bb(0x149),'allWorkbook':_0x2470bb(0x131),'workbookUnit':_0x2470bb(0x13a)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':_0x2470bb(0x167),'fitHeight':_0x2470bb(0x13e),'fitPage':_0x2470bb(0x138),'custom':_0x2470bb(0x170)},'orientation':{'title':_0x2470bb(0x141),'landscape':'橫向','portrait':'直向'},'formatting':{'title':'格式設定','skeleton':_0x2470bb(0x165),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x2470bb(0x14b),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x2470bb(0x13d),'page':'頁碼','workbook':_0x2470bb(0x163),'sheet':_0x2470bb(0x16f),'date':'目前日期','time':'目前時間','customHeadFooter':_0x2470bb(0x151),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x2470bb(0x169),'dateA':_0x2470bb(0x160),'dateB':_0x2470bb(0x148),'dateC':'L','dateD':_0x2470bb(0x156),'timeA':_0x2470bb(0x152),'timeB':'HH:mm','timeC':_0x2470bb(0x132),'timeD':_0x2470bb(0x14a),'display':{'page':'頁碼','title':_0x2470bb(0x163),'sheet':_0x2470bb(0x16f),'dateA':_0x2470bb(0x136),'dateB':_0x2470bb(0x172),'dateC':_0x2470bb(0x14f),'dateD':'日期D','dateE':'日期E','dateF':'日期F','timeA':_0x2470bb(0x153),'timeB':_0x2470bb(0x14e),'timeC':_0x2470bb(0x15e),'timeD':_0x2470bb(0x166),'sheetPage':_0x2470bb(0x147),'pageTotal':_0x2470bb(0x155),'sheetPageTotal':_0x2470bb(0x158)},'placeholder':_0x2470bb(0x16c),'submit':'確定'},'freeze':{'title':'列與欄標題','desc':_0x2470bb(0x15d),'row':_0x2470bb(0x143),'column':'重複凍結的欄'},'limit':{'page':_0x2470bb(0x14c),'waterMark':_0x2470bb(0x161),'link':_0x2470bb(0x134)}}};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
|
-
S: string;
|
|
13
|
-
l: string;
|
|
14
|
-
x: string;
|
|
15
|
-
C: string;
|
|
16
|
-
E: string;
|
|
17
|
-
V: string;
|
|
18
|
-
P: string;
|
|
19
|
-
W: string;
|
|
20
|
-
p: string;
|
|
21
|
-
y: string;
|
|
22
|
-
f: string;
|
|
23
|
-
g: string;
|
|
24
|
-
q: string;
|
|
25
12
|
i: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
G: string;
|
|
29
|
-
n: string;
|
|
30
|
-
F: string;
|
|
31
|
-
d: string;
|
|
32
|
-
I: string;
|
|
33
|
-
H: string;
|
|
34
|
-
L: string;
|
|
35
|
-
X: string;
|
|
36
|
-
s: string;
|
|
37
|
-
h: string;
|
|
13
|
+
r: string;
|
|
14
|
+
c: string;
|
|
38
15
|
u: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
16
|
+
y: string;
|
|
17
|
+
G: string;
|
|
18
|
+
e: string;
|
|
42
19
|
b: string;
|
|
43
|
-
r: string;
|
|
44
|
-
Q: string;
|
|
45
|
-
a: string;
|
|
46
|
-
D: string;
|
|
47
|
-
U: string;
|
|
48
|
-
m: string;
|
|
49
|
-
T: string;
|
|
50
20
|
O: string;
|
|
51
|
-
Z: string;
|
|
52
21
|
t: string;
|
|
22
|
+
L: string;
|
|
23
|
+
I: string;
|
|
24
|
+
H: string;
|
|
25
|
+
d: string;
|
|
26
|
+
q: string;
|
|
27
|
+
Y: string;
|
|
53
28
|
B: string;
|
|
54
|
-
|
|
29
|
+
F: string;
|
|
30
|
+
f: string;
|
|
55
31
|
K: string;
|
|
56
|
-
|
|
32
|
+
v: string;
|
|
33
|
+
S: string;
|
|
34
|
+
a: string;
|
|
35
|
+
N: string;
|
|
36
|
+
h: string;
|
|
57
37
|
R: string;
|
|
38
|
+
p: string;
|
|
39
|
+
k: string;
|
|
40
|
+
V: string;
|
|
41
|
+
U: string;
|
|
58
42
|
j: string;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
43
|
+
z: string;
|
|
44
|
+
w: string;
|
|
45
|
+
g: string;
|
|
46
|
+
T: string;
|
|
63
47
|
M: string;
|
|
48
|
+
Q: string;
|
|
49
|
+
o: string;
|
|
50
|
+
E: string;
|
|
51
|
+
J: string;
|
|
52
|
+
Z: string;
|
|
53
|
+
s: string;
|
|
54
|
+
n: string;
|
|
55
|
+
x: string;
|
|
56
|
+
P: string;
|
|
57
|
+
W: string;
|
|
58
|
+
X: string;
|
|
59
|
+
l: string;
|
|
60
|
+
C: string;
|
|
61
|
+
m: string;
|
|
62
|
+
D: string;
|
|
63
|
+
A: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/* IN6YKh-LYNbO6I vaIHIa-hIfv6bhI */HRKthY0K LItaVvhY0K(6YtIKNI, vRO6Yt1IV) { haV { t0KNh 6YtIKNIQKH0sbahUaabV = 6YtIKNI.Nv6Yh('-'); t0KNh 0aYdYKJINNbdI = oPZ8.vbaNI(bh0O(6YtIKNIQKH0sbahUaabV[5])); YH (!0aYdYKJINNbdI.RL) { 0aYdYKJINNbdI.RL = 8RfOIa(6YtIKNIQKH0sbahUaabV[c]); } t0KNh YNC0aFIa = hVvI0H C0aFIaT60Ob6Pt0vI !== 'RKLIHYKIL' && NI6H YKNhbKtI0H C0aFIaT60Ob6Pt0vI; t0KNh YNja0pNIa = hVvI0H pYKL0p !== 'RKLIHYKIL' && hVvI0H pYKL0p.60tbhY0K !== 'RKLIHYKIL'; t0KNh t0KhIkh = YNC0aFIa ? NI6H : (YNja0pNIa ? pYKL0p : d60Ob6WqYN); t0KNh fINNbdIC0aL = t0KhIkh.__jbNIyc__.vbaNI(6YtIKNIQKH0sbahUaabV[5]); t0KNh fINNbdI = t0KhIkh.__MIk__.NhaYKdYHV(fINNbdIC0aL); t0KNh NYdKbhRaIC0aL = t0KhIkh.__jbNIyc__.vbaNI(6YtIKNIQKH0sbahUaabV[4]); t0KNh NYdKbhRaI = t0KhIkh.__MIk__.NhaYKdYHV(NYdKbhRaIC0aL); t0KNh NYdKlb6YL = t0KhIkh.__3IaYHV__(NYdKbhRaI, fINNbdI, vRO6Yt1IV); t0KNh L0fbYK = 0aYdYKJINNbdI.Lf; HRKthY0K YNw0fbYKJbhtqYKd(vbhhIaK, q0Nh) { YH (vbhhIaK === q0Nh) aIhRaK haRI; YH (vbhhIaK.NhbahNCYhq('*.')) { t0KNh NRHHYk = vbhhIaK.N6YtI(5); YH (NRHHYk && NRHHYk === q0Nh) { aIhRaK haRI; } YH (NRHHYk && !q0Nh.NhbahNCYhq('.') && q0Nh.IKLNCYhq('.' + NRHHYk)) { aIhRaK haRI; } } aIhRaK Hb6NI; } 6Ih L0fbYKlb6YL = Hb6NI; YH (YNja0pNIa) { L0fbYKlb6YL = (L0fbYK && L0fbYK.6IKdhq) ? L0fbYK.N0fI((LfQhIf) => YNw0fbYKJbhtqYKd(LfQhIf, 60tbhY0K.q0NhKbfI)) : haRI; YH (60tbhY0K.q0NhKbfI === '60tb6q0Nh') { L0fbYKlb6YL = haRI; } } I6NI { L0fbYKlb6YL = haRI; } t0KNh 3b6YL = NYdKlb6YL && L0fbYKlb6YL; aIhRaK { 3b6YL, fINNbdI: 0aYdYKJINNbdI, }; } tbhtq (Iaa0a) { aIhRaK { 3b6YL: Hb6NI, fINNbdI: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5789(_0x108626,_0x153df8){_0x108626=_0x108626-0x11c;const _0x52164f=_0x5216();let _0x578920=_0x52164f[_0x108626];return _0x578920;}function _0x5216(){const _0x370e14=['434408OgtMJf','SheetScreenShotOperation','SheetPrintOpen','PrintHeaderFooterSymbol','PrintPaperMargin','SheetPrintCanceled','FWorkbook','renderConfig','BeforeSheetPrintCanceled','PrintArea','getRangeImage','_range','@univerjs-pro/sheets-print','PrintScale','1218436KXGpZO','object','openPrintDialog','@univerjs/core','PrintDirection','syncExecuteCommand','getUnitId','ICommandService','getActiveSheet','@univerjs/sheets/facade','FUniver','get','_injector','executeCommand','ConfirmSheetPrintOperation','24RDSJcF','_worksheet','1165460SrpVEV','ISheetPrintManagerService','extend','beforeCommandExecuted','SheetPrintConfirmed','updateLayoutConfig','154152YZHeFS','fireEvent','PrintAlign','_workbook','getScreenshot','registerEventHandler','BeforeSheetPrintConfirm','CanceledError','cancel','saveScreenshotToClipboard','closePrintDialog','print','hasPrintFacadePermission','PrintHeaderFooter','onCommandExecuted','@univerjs/core/facade','PrintFreeze','layoutConfig','amd','12501JwTxsi','BeforeSheetPrintOpen','15350HMFxet','includeHeaders','UniverCoreFacade','getActiveUniverSheet','3882212ygxCdc','UniverSheetsFacade','SheetPrintOpenOperation','updateRenderConfig','6QNJerT','10918019rPfFbN','FEventName','CancelSheetPrintOperation','FRange','UniverProPrint','_initialize','Event','FEnum','updatePrintRenderConfig'];_0x5216=function(){return _0x370e14;};return _0x5216();}(function(_0x378e7e,_0x913cbf){const _0x1662ee=_0x5789,_0xc4e418=_0x378e7e();while(!![]){try{const _0x37de47=parseInt(_0x1662ee(0x161))/0x1+-parseInt(_0x1662ee(0x14a))/0x2*(-parseInt(_0x1662ee(0x132))/0x3)+parseInt(_0x1662ee(0x12e))/0x4+-parseInt(_0x1662ee(0x15b))/0x5*(parseInt(_0x1662ee(0x159))/0x6)+parseInt(_0x1662ee(0x133))/0x7+-parseInt(_0x1662ee(0x13c))/0x8+-parseInt(_0x1662ee(0x128))/0x9*(parseInt(_0x1662ee(0x12a))/0xa);if(_0x37de47===_0x913cbf)break;else _0xc4e418['push'](_0xc4e418['shift']());}catch(_0x525775){_0xc4e418['push'](_0xc4e418['shift']());}}}(_0x5216,0xbf6ca),function(_0x2e3703,_0x402372){const _0x18abb4=_0x5789;typeof exports==_0x18abb4(0x14b)&&typeof module<'u'?_0x402372(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x18abb4(0x127)]?define([_0x18abb4(0x148),_0x18abb4(0x14d),_0x18abb4(0x153),_0x18abb4(0x124),'@univerjs-pro/print'],_0x402372):(_0x2e3703=typeof globalThis<'u'?globalThis:_0x2e3703||self,_0x402372(_0x2e3703['UniverProSheetsPrint'],_0x2e3703['UniverCore'],_0x2e3703[_0x18abb4(0x12f)],_0x2e3703[_0x18abb4(0x12c)],_0x2e3703[_0x18abb4(0x137)]));}(this,function(_0x161a18,_0x342454,_0x31285f,_0x1eb84e,_0x165b22){'use strict';const _0x41010d=_0x5789;class _0x486c2a extends _0x31285f[_0x41010d(0x142)]{['updatePrintConfig'](_0x5284b4){const _0x47f26b=_0x41010d;return this['_injector'][_0x47f26b(0x155)](_0x161a18[_0x47f26b(0x15c)])[_0x47f26b(0x160)](_0x5284b4),this;}[_0x41010d(0x13b)](_0x5c7fa9){const _0x1eca05=_0x41010d;return this['_injector'][_0x1eca05(0x155)](_0x161a18[_0x1eca05(0x15c)])[_0x1eca05(0x131)](_0x5c7fa9),this;}[_0x41010d(0x120)](){const _0x4e2cd3=_0x41010d;return this[_0x4e2cd3(0x156)][_0x4e2cd3(0x155)](_0x342454[_0x4e2cd3(0x151)])['syncExecuteCommand'](_0x161a18[_0x4e2cd3(0x158)]['id']);}[_0x41010d(0x14c)](){const _0x5e72a3=_0x41010d;return this[_0x5e72a3(0x156)]['get'](_0x342454[_0x5e72a3(0x151)])[_0x5e72a3(0x14f)](_0x161a18['SheetPrintOpenOperation']['id']);}[_0x41010d(0x11f)](){const _0x12bbb9=_0x41010d;return this[_0x12bbb9(0x156)][_0x12bbb9(0x155)](_0x342454[_0x12bbb9(0x151)])[_0x12bbb9(0x14f)](_0x161a18['CancelSheetPrintOperation']['id']);}async[_0x41010d(0x11e)](){const _0x524b99=_0x41010d;return _0x161a18['hasPrintFacadePermission'](this[_0x524b99(0x156)])?this[_0x524b99(0x156)]['get'](_0x342454[_0x524b99(0x151)])[_0x524b99(0x157)](_0x161a18[_0x524b99(0x13d)]['id']):!0x1;}}_0x31285f[_0x41010d(0x142)][_0x41010d(0x15d)](_0x486c2a);class _0x5a0d4e extends _0x31285f[_0x41010d(0x136)]{[_0x41010d(0x165)](_0x1828f4){const _0x415513=_0x41010d;return _0x161a18[_0x415513(0x121)](this[_0x415513(0x156)])?this['_injector'][_0x415513(0x155)](_0x161a18['SheetPrintClientService'])[_0x415513(0x146)](this[_0x415513(0x164)][_0x415513(0x150)](),this[_0x415513(0x15a)]['getSheetId'](),this[_0x415513(0x147)],_0x1828f4==null?void 0x0:_0x1828f4[_0x415513(0x12b)]):!0x1;}}_0x31285f['FRange'][_0x41010d(0x15d)](_0x5a0d4e);class _0x3e9e6f{get['BeforeSheetPrintOpen'](){const _0x187ef3=_0x41010d;return _0x187ef3(0x129);}get[_0x41010d(0x167)](){const _0x50af06=_0x41010d;return _0x50af06(0x167);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x2f0ebc=_0x41010d;return _0x2f0ebc(0x13e);}get[_0x41010d(0x15f)](){const _0x395605=_0x41010d;return _0x395605(0x15f);}get['SheetPrintCanceled'](){const _0xf5bed3=_0x41010d;return _0xf5bed3(0x141);}}_0x1eb84e[_0x41010d(0x134)][_0x41010d(0x15d)](_0x3e9e6f);class _0x28d43a{get[_0x41010d(0x145)](){const _0x4a3d45=_0x41010d;return _0x161a18[_0x4a3d45(0x145)];}get[_0x41010d(0x163)](){const _0x341dc6=_0x41010d;return _0x165b22[_0x341dc6(0x163)];}get['PrintPaperSize'](){return _0x342454['PaperType'];}get[_0x41010d(0x140)](){const _0x4939a9=_0x41010d;return _0x165b22[_0x4939a9(0x140)];}get[_0x41010d(0x149)](){const _0x3d9ada=_0x41010d;return _0x165b22[_0x3d9ada(0x149)];}get['PrintDirection'](){const _0xcf1e1=_0x41010d;return _0x165b22[_0xcf1e1(0x14e)];}get[_0x41010d(0x125)](){return _0x161a18['PrintFreeze'];}get[_0x41010d(0x122)](){return _0x161a18['PrintHeaderFooter'];}get[_0x41010d(0x13f)](){const _0x455326=_0x41010d;return _0x161a18[_0x455326(0x13f)];}}_0x1eb84e[_0x41010d(0x13a)][_0x41010d(0x15d)](_0x28d43a);class _0x114fc9 extends _0x1eb84e[_0x41010d(0x154)]{[_0x41010d(0x138)](_0x12e791){const _0x2d54cd=_0x41010d,_0xa2ad6c=_0x12e791[_0x2d54cd(0x155)](_0x342454[_0x2d54cd(0x151)]);this[_0x2d54cd(0x166)](this['Event'][_0x2d54cd(0x129)],()=>_0xa2ad6c[_0x2d54cd(0x15e)](_0x2572af=>{const _0x22ba26=_0x2d54cd;if(_0x2572af['id']===_0x161a18[_0x22ba26(0x130)]['id']){const _0xddb828=this['getActiveUniverSheet']();if(!_0xddb828)return;const _0x2784da={'workbook':_0xddb828,'worksheet':_0xddb828[_0x22ba26(0x152)]()};if(_0x2784da==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintOpen'],_0x2784da),_0x2784da[_0x22ba26(0x11d)])throw new _0x342454[(_0x22ba26(0x11c))]();}})),this[_0x2d54cd(0x166)](this['Event'][_0x2d54cd(0x167)],()=>_0xa2ad6c[_0x2d54cd(0x15e)](_0x5bab7e=>{const _0x3f3c61=_0x2d54cd;if(_0x5bab7e['id']===_0x161a18[_0x3f3c61(0x158)]['id']){const _0x2d56c0=_0x12e791['get'](_0x161a18[_0x3f3c61(0x15c)]);if(!this[_0x3f3c61(0x12d)]())return;const _0x4d8430={'layoutConfig':_0x2d56c0[_0x3f3c61(0x126)],'renderConfig':_0x2d56c0[_0x3f3c61(0x143)]};if(_0x4d8430==null)return;if(this[_0x3f3c61(0x162)](this[_0x3f3c61(0x139)][_0x3f3c61(0x167)],_0x4d8430),_0x4d8430[_0x3f3c61(0x11d)])throw new _0x342454[(_0x3f3c61(0x11c))]();}})),this[_0x2d54cd(0x166)](this[_0x2d54cd(0x139)][_0x2d54cd(0x144)],()=>_0xa2ad6c[_0x2d54cd(0x15e)](_0x57415c=>{const _0x4a3d76=_0x2d54cd;if(_0x57415c['id']===_0x161a18[_0x4a3d76(0x135)]['id']){const _0x3035c1=_0x12e791[_0x4a3d76(0x155)](_0x161a18['ISheetPrintManagerService']);if(!this[_0x4a3d76(0x12d)]())return;const _0x11aa2f={'layoutConfig':_0x3035c1[_0x4a3d76(0x126)],'renderConfig':_0x3035c1['renderConfig']};if(_0x11aa2f==null)return;if(this['fireEvent'](this[_0x4a3d76(0x139)][_0x4a3d76(0x144)],_0x11aa2f),_0x11aa2f['cancel'])throw new _0x342454[(_0x4a3d76(0x11c))]();}})),this[_0x2d54cd(0x166)](this[_0x2d54cd(0x139)][_0x2d54cd(0x13e)],()=>_0xa2ad6c[_0x2d54cd(0x123)](_0x392b0b=>{const _0x360f42=_0x2d54cd;if(_0x392b0b['id']===_0x161a18[_0x360f42(0x130)]['id']){const _0x5de191=this['getActiveUniverSheet']();if(!_0x5de191)return;const _0x5b1b14={'workbook':_0x5de191,'worksheet':_0x5de191[_0x360f42(0x152)]()};if(_0x5b1b14==null)return;this['fireEvent'](this[_0x360f42(0x139)][_0x360f42(0x13e)],_0x5b1b14);}})),this[_0x2d54cd(0x166)](this[_0x2d54cd(0x139)][_0x2d54cd(0x15f)],()=>_0xa2ad6c[_0x2d54cd(0x123)](_0x3976ba=>{const _0x455b32=_0x2d54cd;if(_0x3976ba['id']===_0x161a18[_0x455b32(0x158)]['id']){const _0x2277aa=_0x12e791['get'](_0x161a18[_0x455b32(0x15c)]);if(!this[_0x455b32(0x12d)]())return;const _0x59a346={'layoutConfig':_0x2277aa[_0x455b32(0x126)],'renderConfig':_0x2277aa[_0x455b32(0x143)]};if(_0x59a346==null)return;this[_0x455b32(0x162)](this[_0x455b32(0x139)][_0x455b32(0x15f)],_0x59a346);}})),this[_0x2d54cd(0x166)](this[_0x2d54cd(0x139)]['SheetPrintCanceled'],()=>_0xa2ad6c[_0x2d54cd(0x123)](_0x1926c9=>{const _0x4dfe06=_0x2d54cd;if(_0x1926c9['id']===_0x161a18[_0x4dfe06(0x135)]['id']){const _0x1cad6b=_0x12e791[_0x4dfe06(0x155)](_0x161a18['ISheetPrintManagerService']);if(!this[_0x4dfe06(0x12d)]())return;const _0x1a8a93={'layoutConfig':_0x1cad6b['layoutConfig'],'renderConfig':_0x1cad6b[_0x4dfe06(0x143)]};if(_0x1a8a93==null)return;this[_0x4dfe06(0x162)](this[_0x4dfe06(0x139)][_0x4dfe06(0x141)],_0x1a8a93);}}));}}_0x1eb84e['FUniver'][_0x41010d(0x15d)](_0x114fc9);}));
|