@univerjs-pro/sheets-print 0.12.1 → 0.12.2-experimental.20251201-5b27b55
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 +17 -17
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x23f9(){const _0x13998c=['列與欄限制','Tabloid\x20(11\x22\x20x\x2017\x22)','自訂頁首/頁尾','所有工作表','6QnNWBt','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','列印版面配置','工作表頁碼','標準\x20(100%)','選取範圍','總計:','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','目前工作表','日期F','重複凍結的列','10233180mupHZP','日期D','圖片複製到剪貼簿失敗!','HH:mm:ss','93yRAFhm','hh:mm','Letter\x20(8.5\x22\x20x\x2011\x22)','頁首和頁尾','日期A','關閉並隱藏分頁線','8nXZdVM','https://univer.ai/pro','每頁最大欄數','日期格式','Legal\x20(8.5\x22\x20x\x2014\x22)','活頁簿','MM/DD','點擊以新增文字','自訂义頁邊距','自訂比例','重複凍結的欄','YYYY-MM-DD','1YjEhFy','總頁數','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','調整至頁面寬度','所有選取的儲存格','時間C','複製為圖片','格式設定','94832CHmnLi','頁面方向','時間A','編輯自訂頁首/頁尾','列與欄標題','9LaiytI','顯示格線','1810746KGOQbj','目前日期','活頁簿標題','9877490ygbZDf','日期C','日期E','工作表名稱','1812797oVjygP','垂直對齊','水平對齊','Executive\x20(7.25\x22\x20x\x2010.5\x22)','8057599bDeaDC','已選取的儲存格','顯示分頁符號','A5\x20(5.83\x22\x20x\x208.27\x22)','A4\x20(8.27\x22\x20x\x2011.69\x22)','B4\x20(9.84\x22\x20x\x2013.90\x22)','1692560zwVluH','下一步','目前時間','顯示分頁線','HH:mm'];_0x23f9=function(){return _0x13998c;};return _0x23f9();}const _0x166146=_0x2e65;function _0x2e65(_0x15d16f,_0x1987b0){const _0x23f94b=_0x23f9();return _0x2e65=function(_0x2e659a,_0x191bc4){_0x2e659a=_0x2e659a-0x1e5;let _0x1be375=_0x23f94b[_0x2e659a];return _0x1be375;},_0x2e65(_0x15d16f,_0x1987b0);}(function(_0x1b2577,_0x28422f){const _0x2d0bce=_0x2e65,_0x58c0cb=_0x1b2577();while(!![]){try{const _0x5bfb0e=parseInt(_0x2d0bce(0x207))/0x1*(-parseInt(_0x2d0bce(0x216))/0x2)+parseInt(_0x2d0bce(0x1f5))/0x3*(parseInt(_0x2d0bce(0x20f))/0x4)+parseInt(_0x2d0bce(0x227))/0x5*(-parseInt(_0x2d0bce(0x1e6))/0x6)+parseInt(_0x2d0bce(0x21d))/0x7*(parseInt(_0x2d0bce(0x1fb))/0x8)+parseInt(_0x2d0bce(0x214))/0x9*(parseInt(_0x2d0bce(0x219))/0xa)+parseInt(_0x2d0bce(0x221))/0xb+-parseInt(_0x2d0bce(0x1f1))/0xc;if(_0x5bfb0e===_0x28422f)break;else _0x58c0cb['push'](_0x58c0cb['shift']());}catch(_0x491966){_0x58c0cb['push'](_0x58c0cb['shift']());}}}(_0x23f9,0x96c37));const e={'print':{'header':{'total':_0x166146(0x1ec),'pages':'頁','cancel':'取消','next':_0x166146(0x228),'printing':'列印中,請勿關閉頁面'},'menu':'列印','title':'列印','grid':{'title':_0x166146(0x1e8),'showGrid':_0x166146(0x223),'showGridLabel':_0x166146(0x22a),'closeAndHide':_0x166146(0x1fa)},'screenshot':{'title':_0x166146(0x20d),'success':'圖片已成功複製到剪貼簿!','fail':_0x166146(0x1f3)},'size':{'title':'紙張大小','letter':_0x166146(0x1f7),'tabloid':_0x166146(0x22d),'legal':_0x166146(0x1ff),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x166146(0x220),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':_0x166146(0x225),'a5':_0x166146(0x224),'b4':_0x166146(0x226),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x166146(0x203),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x166146(0x1ee),'workbook':_0x166146(0x200),'currentSelection':_0x166146(0x222),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x166146(0x1fd),'limit':_0x166146(0x22c),'allSelection':_0x166146(0x20b)},'selection':{'title':_0x166146(0x1eb),'allWorkbook':_0x166146(0x1e5),'workbookUnit':'張工作表'},'scale':{'title':'縮放','normal':_0x166146(0x1ea),'fitWidth':_0x166146(0x20a),'fitHeight':'調整至頁面高度','fitPage':'調整至頁面大小','custom':_0x166146(0x204)},'orientation':{'title':_0x166146(0x210),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x166146(0x20e),'skeleton':_0x166146(0x215),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x166146(0x21f),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x166146(0x21e),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x166146(0x1f8),'page':'頁碼','workbook':_0x166146(0x218),'sheet':_0x166146(0x21c),'date':_0x166146(0x217),'time':_0x166146(0x229),'customHeadFooter':_0x166146(0x22e),'editCustomHeadFooter':_0x166146(0x212),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x166146(0x1fe),'dateA':_0x166146(0x206),'dateB':'MM-DD','dateC':'L','dateD':_0x166146(0x201),'timeA':_0x166146(0x1f4),'timeB':_0x166146(0x22b),'timeC':'hh:mm:ss','timeD':_0x166146(0x1f6),'display':{'page':'頁碼','title':_0x166146(0x218),'sheet':_0x166146(0x21c),'dateA':_0x166146(0x1f9),'dateB':'日期B','dateC':_0x166146(0x21a),'dateD':_0x166146(0x1f2),'dateE':_0x166146(0x21b),'dateF':_0x166146(0x1ef),'timeA':_0x166146(0x211),'timeB':'時間B','timeC':_0x166146(0x20c),'timeD':'時間D','sheetPage':_0x166146(0x1e9),'pageTotal':_0x166146(0x208),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x166146(0x202),'submit':'確定'},'freeze':{'title':_0x166146(0x213),'desc':_0x166146(0x209),'row':_0x166146(0x1f0),'column':_0x166146(0x205)},'limit':{'page':_0x166146(0x1ed),'waterMark':_0x166146(0x1e7),'link':_0x166146(0x1fc)}}};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
|
-
|
|
14
|
-
|
|
15
|
-
x: string;
|
|
16
|
-
T: string;
|
|
17
|
-
A: string;
|
|
18
|
-
L: string;
|
|
12
|
+
a: string;
|
|
13
|
+
j: string;
|
|
14
|
+
q: string;
|
|
19
15
|
i: string;
|
|
20
|
-
|
|
21
|
-
S: string;
|
|
22
|
-
d: string;
|
|
16
|
+
X: string;
|
|
23
17
|
Y: string;
|
|
24
|
-
|
|
25
|
-
V: string;
|
|
26
|
-
C: string;
|
|
18
|
+
W: string;
|
|
27
19
|
J: string;
|
|
28
|
-
H: string;
|
|
29
|
-
I: string;
|
|
30
|
-
k: string;
|
|
31
|
-
r: string;
|
|
32
20
|
M: string;
|
|
33
|
-
W: string;
|
|
34
|
-
Z: string;
|
|
35
|
-
o: string;
|
|
36
|
-
l: string;
|
|
37
|
-
g: string;
|
|
38
|
-
p: string;
|
|
39
|
-
e: string;
|
|
40
|
-
y: string;
|
|
41
|
-
F: string;
|
|
42
|
-
u: string;
|
|
43
|
-
U: string;
|
|
44
|
-
E: string;
|
|
45
21
|
n: string;
|
|
46
|
-
|
|
22
|
+
V: string;
|
|
23
|
+
v: string;
|
|
24
|
+
P: string;
|
|
25
|
+
w: string;
|
|
26
|
+
k: string;
|
|
27
|
+
E: string;
|
|
28
|
+
S: string;
|
|
29
|
+
F: string;
|
|
47
30
|
t: string;
|
|
31
|
+
o: string;
|
|
32
|
+
T: string;
|
|
33
|
+
L: string;
|
|
34
|
+
A: string;
|
|
35
|
+
G: string;
|
|
36
|
+
Q: string;
|
|
48
37
|
h: string;
|
|
49
38
|
R: string;
|
|
50
|
-
|
|
51
|
-
m: string;
|
|
39
|
+
H: string;
|
|
52
40
|
z: string;
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
l: string;
|
|
42
|
+
r: string;
|
|
43
|
+
g: string;
|
|
55
44
|
O: string;
|
|
56
|
-
P: string;
|
|
57
|
-
s: string;
|
|
58
|
-
K: string;
|
|
59
|
-
X: string;
|
|
60
|
-
c: string;
|
|
61
|
-
a: string;
|
|
62
45
|
B: string;
|
|
46
|
+
K: string;
|
|
47
|
+
C: string;
|
|
48
|
+
u: string;
|
|
49
|
+
f: string;
|
|
50
|
+
x: string;
|
|
51
|
+
s: string;
|
|
52
|
+
e: string;
|
|
53
|
+
D: string;
|
|
54
|
+
y: string;
|
|
55
|
+
m: string;
|
|
56
|
+
I: string;
|
|
57
|
+
U: string;
|
|
58
|
+
p: string;
|
|
63
59
|
N: string;
|
|
60
|
+
d: string;
|
|
61
|
+
Z: string;
|
|
62
|
+
c: string;
|
|
63
|
+
b: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "PRTv5ELT 71vQrA5ELT(tEv1Th1, ARVtEve1r) { 5Qr { vLTh5 tEv1Th10TPLInQ5OQQnr = tEv1Th1.hAtE5('-'); vLTh5 LQEwET21hhnw1 = s6my.AnQh1(n5LV(tEv1Th10TPLInQ5OQQnr[q])); EP (!LQEwET21hhnw1.R7) { LQEwET21hhnw1.R7 = yRoV1Q(tEv1Th10TPLInQ5OQQnr[i]); } vLTh5 EhZLQF1Q = 5rA1LP ZLQF1QftLVnt6vLA1 !== 'RT71PET17' && h1tP ETh5nTv1LP ZLQF1QftLVnt6vLA1; vLTh5 EhBQLzh1Q = 5rA1LP zET7Lz !== 'RT71PET17' && 5rA1LP zET7Lz.tLvn5ELT !== 'RT71PET17'; vLTh5 vLT51l5 = EhZLQF1Q ? h1tP : (EhBQLzh1Q ? zET7Lz : wtLVnt8kEh); vLTh5 o1hhnw1ZLQ7 = vLT51l5.__Bnh1Yi__.AnQh1(tEv1Th10TPLInQ5OQQnr[q]); vLTh5 o1hhnw1 = vLT51l5.__x1l__.h5QETwEPr(o1hhnw1ZLQ7); vLTh5 hEwTn5RQ1ZLQ7 = vLT51l5.__Bnh1Yi__.AnQh1(tEv1Th10TPLInQ5OQQnr[4]); vLTh5 hEwTn5RQ1 = vLT51l5.__x1l__.h5QETwEPr(hEwTn5RQ1ZLQ7); vLTh5 hEwTdntE7 = vLT51l5.__H1QEPr__(hEwTn5RQ1, o1hhnw1, ARVtEve1r); vLTh5 7LonET = LQEwET21hhnw1.7o; PRTv5ELT EhCLonET2n5vkETw(LIn551QT, LxLh5) { vLTh5 An551QT = LIn551QT.Q1Atnv1(/^.+/, ''); vLTh5 kLh5 = LxLh5.Q1Atnv1(/^.+/, ''); vLTh5 An551QTInQ5h = An551QT.hAtE5('.'); vLTh5 kLh5InQ5h = kLh5.hAtE5('.'); EP (!An551QT.ETvtR71h('*')) { Q15RQT An551QT === kLh5; } EP (An551QTInQ5h.t1Tw5k < q || An551QTInQ5h[a] !== '*') { Q15RQT Pnth1; } vLTh5 An551QT6RPPEl = An551QTInQ5h.htEv1(j).SLET('.'); vLTh5 kLh56RPPEl = kLh5InQ5h.htEv1(-An551QTInQ5h.t1Tw5k + j).SLET('.'); Q15RQT An551QT6RPPEl === kLh56RPPEl; } t15 7LonETdntE7 = Pnth1; EP (EhBQLzh1Q) { 7LonETdntE7 = (7LonET && 7LonET.t1Tw5k) ? 7LonET.hLo1((7o051o) => EhCLonET2n5vkETw(7o051o, tLvn5ELT.kLh5Tno1)) : 5QR1; EP (tLvn5ELT.kLh5Tno1 === 'tLvntkLh5') { 7LonETdntE7 = 5QR1; } } 1th1 { 7LonETdntE7 = 5QR1; } vLTh5 HntE7 = hEwTdntE7 && 7LonETdntE7; Q15RQT { HntE7, o1hhnw1: LQEwET21hhnw1, }; } vn5vk (1QQLQ) { Q15RQT { HntE7: Pnth1, o1hhnw1: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x52d5(_0x2b5eef,_0x52b650){const _0x134432=_0x1344();return _0x52d5=function(_0x52d5e2,_0x1b1351){_0x52d5e2=_0x52d5e2-0x15c;let _0x25c521=_0x134432[_0x52d5e2];return _0x25c521;},_0x52d5(_0x2b5eef,_0x52b650);}function _0x1344(){const _0x266f19=['PaperType','SheetPrintOpenOperation','syncExecuteCommand','_worksheet','PrintHeaderFooterSymbol','FWorkbook','Event','5IRxUJt','ICommandService','getSheetId','registerEventHandler','BeforeSheetPrintConfirm','beforeCommandExecuted','@univerjs/core','UniverProPrint','SheetPrintClientService','BeforeSheetPrintOpen','FUniver','updateLayoutConfig','extend','CanceledError','getScreenshot','_range','9737660mWjwxy','SheetScreenShotOperation','updatePrintConfig','cancel','fireEvent','1888188fOhVDK','_initialize','9XDvjGa','CancelSheetPrintOperation','4148800yKCauz','PrintDirection','3615568jaSODJ','getUnitId','@univerjs/core/facade','get','function','@univerjs/sheets/facade','getActiveSheet','ISheetPrintManagerService','SheetPrintConfirmed','_workbook','layoutConfig','getRangeImage','BeforeSheetPrintCanceled','updatePrintRenderConfig','_injector','SheetPrintOpen','updateRenderConfig','4821803eBdwlc','getActiveUniverSheet','print','@univerjs-pro/sheets-print','hasPrintFacadePermission','executeCommand','4846386BdgotO','openPrintDialog','UniverSheetsFacade','amd','PrintPaperMargin','FEnum','onCommandExecuted','2426GPRhOi','31vJnhAY','saveScreenshotToClipboard','object','renderConfig','PrintFreeze','ConfirmSheetPrintOperation','PrintPaperSize','closePrintDialog','PrintArea','PrintHeaderFooter'];_0x1344=function(){return _0x266f19;};return _0x1344();}(function(_0x574007,_0x19034a){const _0x3857d8=_0x52d5,_0x4a6be2=_0x574007();while(!![]){try{const _0x26aaef=-parseInt(_0x3857d8(0x191))/0x1*(parseInt(_0x3857d8(0x190))/0x2)+parseInt(_0x3857d8(0x16c))/0x3+-parseInt(_0x3857d8(0x170))/0x4+-parseInt(_0x3857d8(0x1a2))/0x5*(-parseInt(_0x3857d8(0x189))/0x6)+parseInt(_0x3857d8(0x183))/0x7+-parseInt(_0x3857d8(0x172))/0x8*(-parseInt(_0x3857d8(0x16e))/0x9)+-parseInt(_0x3857d8(0x167))/0xa;if(_0x26aaef===_0x19034a)break;else _0x4a6be2['push'](_0x4a6be2['shift']());}catch(_0x4fae7f){_0x4a6be2['push'](_0x4a6be2['shift']());}}}(_0x1344,0x813b5),function(_0x956864,_0x4460db){const _0xd79866=_0x52d5;typeof exports==_0xd79866(0x193)&&typeof module<'u'?_0x4460db(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0xd79866(0x176)&&define[_0xd79866(0x18c)]?define([_0xd79866(0x186),_0xd79866(0x15d),_0xd79866(0x177),_0xd79866(0x174),'@univerjs-pro/print'],_0x4460db):(_0x956864=typeof globalThis<'u'?globalThis:_0x956864||self,_0x4460db(_0x956864['UniverProSheetsPrint'],_0x956864['UniverCore'],_0x956864[_0xd79866(0x18b)],_0x956864['UniverCoreFacade'],_0x956864[_0xd79866(0x15e)]));}(this,function(_0x544f2a,_0x5360bb,_0x54fac2,_0x1af69a,_0x226fca){'use strict';const _0x4102d0=_0x52d5;class _0x3b77ad extends _0x54fac2[_0x4102d0(0x1a0)]{[_0x4102d0(0x169)](_0x28961f){const _0x448941=_0x4102d0;return this[_0x448941(0x180)][_0x448941(0x175)](_0x544f2a[_0x448941(0x179)])[_0x448941(0x162)](_0x28961f),this;}[_0x4102d0(0x17f)](_0x486add){const _0x2dcd69=_0x4102d0;return this[_0x2dcd69(0x180)]['get'](_0x544f2a['ISheetPrintManagerService'])[_0x2dcd69(0x182)](_0x486add),this;}[_0x4102d0(0x185)](){const _0x1c6bbb=_0x4102d0;return this['_injector'][_0x1c6bbb(0x175)](_0x5360bb[_0x1c6bbb(0x1a3)])[_0x1c6bbb(0x19d)](_0x544f2a['ConfirmSheetPrintOperation']['id']);}[_0x4102d0(0x18a)](){const _0xc38871=_0x4102d0;return this[_0xc38871(0x180)]['get'](_0x5360bb[_0xc38871(0x1a3)])[_0xc38871(0x19d)](_0x544f2a[_0xc38871(0x19c)]['id']);}[_0x4102d0(0x198)](){const _0x2ed168=_0x4102d0;return this[_0x2ed168(0x180)][_0x2ed168(0x175)](_0x5360bb[_0x2ed168(0x1a3)])[_0x2ed168(0x19d)](_0x544f2a[_0x2ed168(0x16f)]['id']);}async[_0x4102d0(0x192)](){const _0x18cb52=_0x4102d0;return _0x544f2a[_0x18cb52(0x187)](this[_0x18cb52(0x180)])?this[_0x18cb52(0x180)][_0x18cb52(0x175)](_0x5360bb[_0x18cb52(0x1a3)])[_0x18cb52(0x188)](_0x544f2a[_0x18cb52(0x168)]['id']):!0x1;}}_0x54fac2['FWorkbook'][_0x4102d0(0x163)](_0x3b77ad);class _0x40c910 extends _0x54fac2['FRange']{[_0x4102d0(0x165)](){const _0x1ef990=_0x4102d0;return _0x544f2a[_0x1ef990(0x187)](this['_injector'])?this[_0x1ef990(0x180)][_0x1ef990(0x175)](_0x544f2a[_0x1ef990(0x15f)])[_0x1ef990(0x17d)](this[_0x1ef990(0x17b)][_0x1ef990(0x173)](),this[_0x1ef990(0x19e)][_0x1ef990(0x1a4)](),this[_0x1ef990(0x166)]):!0x1;}}_0x54fac2['FRange'][_0x4102d0(0x163)](_0x40c910);class _0x1b8325{get[_0x4102d0(0x160)](){const _0x2ef688=_0x4102d0;return _0x2ef688(0x160);}get[_0x4102d0(0x1a6)](){const _0x4533d0=_0x4102d0;return _0x4533d0(0x1a6);}get[_0x4102d0(0x17e)](){return'BeforeSheetPrintCanceled';}get[_0x4102d0(0x181)](){const _0x310ccf=_0x4102d0;return _0x310ccf(0x181);}get['SheetPrintConfirmed'](){const _0x5be92a=_0x4102d0;return _0x5be92a(0x17a);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}_0x1af69a['FEventName'][_0x4102d0(0x163)](_0x1b8325);class _0x1ef97c{get[_0x4102d0(0x199)](){return _0x544f2a['PrintArea'];}get['PrintAlign'](){return _0x226fca['PrintAlign'];}get[_0x4102d0(0x197)](){const _0x4a8374=_0x4102d0;return _0x5360bb[_0x4a8374(0x19b)];}get[_0x4102d0(0x18d)](){const _0x320aaf=_0x4102d0;return _0x226fca[_0x320aaf(0x18d)];}get['PrintScale'](){return _0x226fca['PrintScale'];}get[_0x4102d0(0x171)](){return _0x226fca['PrintDirection'];}get[_0x4102d0(0x195)](){const _0x388f00=_0x4102d0;return _0x544f2a[_0x388f00(0x195)];}get[_0x4102d0(0x19a)](){return _0x544f2a['PrintHeaderFooter'];}get[_0x4102d0(0x19f)](){return _0x544f2a['PrintHeaderFooterSymbol'];}}_0x1af69a[_0x4102d0(0x18e)][_0x4102d0(0x163)](_0x1ef97c);class _0x36f556 extends _0x1af69a[_0x4102d0(0x161)]{[_0x4102d0(0x16d)](_0x32d14a){const _0x3d6c34=_0x4102d0,_0x2baf0a=_0x32d14a['get'](_0x5360bb[_0x3d6c34(0x1a3)]);this['registerEventHandler'](this[_0x3d6c34(0x1a1)]['BeforeSheetPrintOpen'],()=>_0x2baf0a[_0x3d6c34(0x15c)](_0x2cd9c8=>{const _0x483d29=_0x3d6c34;if(_0x2cd9c8['id']===_0x544f2a['SheetPrintOpenOperation']['id']){const _0x52ce03=this[_0x483d29(0x184)]();if(!_0x52ce03)return;const _0x30f5dd={'workbook':_0x52ce03,'worksheet':_0x52ce03[_0x483d29(0x178)]()};if(_0x30f5dd==null)return;if(this[_0x483d29(0x16b)](this[_0x483d29(0x1a1)][_0x483d29(0x160)],_0x30f5dd),_0x30f5dd[_0x483d29(0x16a)])throw new _0x5360bb[(_0x483d29(0x164))]();}})),this[_0x3d6c34(0x1a5)](this[_0x3d6c34(0x1a1)][_0x3d6c34(0x1a6)],()=>_0x2baf0a[_0x3d6c34(0x15c)](_0x382a98=>{const _0x28cd85=_0x3d6c34;if(_0x382a98['id']===_0x544f2a[_0x28cd85(0x196)]['id']){const _0x15754c=_0x32d14a[_0x28cd85(0x175)](_0x544f2a['ISheetPrintManagerService']);if(!this[_0x28cd85(0x184)]())return;const _0x380bd9={'layoutConfig':_0x15754c[_0x28cd85(0x17c)],'renderConfig':_0x15754c[_0x28cd85(0x194)]};if(_0x380bd9==null)return;if(this['fireEvent'](this[_0x28cd85(0x1a1)][_0x28cd85(0x1a6)],_0x380bd9),_0x380bd9[_0x28cd85(0x16a)])throw new _0x5360bb[(_0x28cd85(0x164))]();}})),this[_0x3d6c34(0x1a5)](this['Event'][_0x3d6c34(0x17e)],()=>_0x2baf0a[_0x3d6c34(0x15c)](_0x4f2bc3=>{const _0x151fe1=_0x3d6c34;if(_0x4f2bc3['id']===_0x544f2a[_0x151fe1(0x16f)]['id']){const _0x515046=_0x32d14a[_0x151fe1(0x175)](_0x544f2a[_0x151fe1(0x179)]);if(!this['getActiveUniverSheet']())return;const _0x2bb25e={'layoutConfig':_0x515046[_0x151fe1(0x17c)],'renderConfig':_0x515046[_0x151fe1(0x194)]};if(_0x2bb25e==null)return;if(this[_0x151fe1(0x16b)](this[_0x151fe1(0x1a1)][_0x151fe1(0x17e)],_0x2bb25e),_0x2bb25e[_0x151fe1(0x16a)])throw new _0x5360bb[(_0x151fe1(0x164))]();}})),this['registerEventHandler'](this[_0x3d6c34(0x1a1)][_0x3d6c34(0x181)],()=>_0x2baf0a[_0x3d6c34(0x18f)](_0x1c255e=>{const _0x43f9ef=_0x3d6c34;if(_0x1c255e['id']===_0x544f2a['SheetPrintOpenOperation']['id']){const _0x2f83e5=this[_0x43f9ef(0x184)]();if(!_0x2f83e5)return;const _0x5c8052={'workbook':_0x2f83e5,'worksheet':_0x2f83e5[_0x43f9ef(0x178)]()};if(_0x5c8052==null)return;this[_0x43f9ef(0x16b)](this[_0x43f9ef(0x1a1)]['SheetPrintOpen'],_0x5c8052);}})),this['registerEventHandler'](this[_0x3d6c34(0x1a1)][_0x3d6c34(0x17a)],()=>_0x2baf0a['onCommandExecuted'](_0x45c293=>{const _0x3e908d=_0x3d6c34;if(_0x45c293['id']===_0x544f2a[_0x3e908d(0x196)]['id']){const _0x4da536=_0x32d14a[_0x3e908d(0x175)](_0x544f2a[_0x3e908d(0x179)]);if(!this[_0x3e908d(0x184)]())return;const _0x24413b={'layoutConfig':_0x4da536[_0x3e908d(0x17c)],'renderConfig':_0x4da536[_0x3e908d(0x194)]};if(_0x24413b==null)return;this[_0x3e908d(0x16b)](this[_0x3e908d(0x1a1)]['SheetPrintConfirmed'],_0x24413b);}})),this[_0x3d6c34(0x1a5)](this['Event']['SheetPrintCanceled'],()=>_0x2baf0a[_0x3d6c34(0x18f)](_0x257e23=>{const _0x3666c2=_0x3d6c34;if(_0x257e23['id']===_0x544f2a[_0x3666c2(0x16f)]['id']){const _0x3a6faf=_0x32d14a[_0x3666c2(0x175)](_0x544f2a[_0x3666c2(0x179)]);if(!this[_0x3666c2(0x184)]())return;const _0x3b2ef8={'layoutConfig':_0x3a6faf[_0x3666c2(0x17c)],'renderConfig':_0x3a6faf[_0x3666c2(0x194)]};if(_0x3b2ef8==null)return;this[_0x3666c2(0x16b)](this[_0x3666c2(0x1a1)]['SheetPrintCanceled'],_0x3b2ef8);}}));}}_0x1af69a[_0x4102d0(0x161)][_0x4102d0(0x163)](_0x36f556);}));
|