@univerjs-pro/sheets-print 0.13.0-insiders.20251215-64041bb → 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.
- 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 +41 -41
- 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
|
-
function
|
|
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
|
-
|
|
13
|
-
Q: string;
|
|
14
|
-
S: string;
|
|
15
|
-
s: string;
|
|
16
|
-
t: string;
|
|
17
|
-
d: string;
|
|
18
|
-
H: string;
|
|
19
|
-
e: string;
|
|
20
|
-
W: string;
|
|
21
|
-
q: string;
|
|
22
|
-
L: string;
|
|
23
|
-
F: string;
|
|
24
|
-
a: string;
|
|
25
|
-
k: string;
|
|
26
|
-
y: string;
|
|
27
|
-
T: string;
|
|
28
|
-
P: string;
|
|
29
|
-
g: string;
|
|
30
|
-
U: string;
|
|
31
|
-
C: string;
|
|
12
|
+
M: string;
|
|
32
13
|
A: string;
|
|
33
|
-
R: string;
|
|
34
|
-
K: string;
|
|
35
|
-
b: string;
|
|
36
14
|
V: string;
|
|
15
|
+
S: string;
|
|
16
|
+
v: string;
|
|
17
|
+
w: string;
|
|
18
|
+
Q: string;
|
|
37
19
|
O: string;
|
|
38
|
-
|
|
20
|
+
a: string;
|
|
21
|
+
Y: string;
|
|
22
|
+
I: string;
|
|
39
23
|
f: string;
|
|
40
|
-
M: string;
|
|
41
24
|
n: string;
|
|
25
|
+
s: string;
|
|
26
|
+
B: string;
|
|
27
|
+
g: string;
|
|
28
|
+
d: string;
|
|
29
|
+
i: string;
|
|
30
|
+
c: string;
|
|
31
|
+
b: string;
|
|
32
|
+
q: string;
|
|
33
|
+
e: string;
|
|
42
34
|
N: string;
|
|
43
|
-
p: string;
|
|
44
|
-
o: string;
|
|
45
|
-
u: string;
|
|
46
35
|
D: string;
|
|
47
|
-
|
|
36
|
+
o: string;
|
|
37
|
+
G: string;
|
|
48
38
|
z: string;
|
|
49
|
-
m: string;
|
|
50
|
-
Y: string;
|
|
51
|
-
B: string;
|
|
52
|
-
X: string;
|
|
53
|
-
i: string;
|
|
54
|
-
Z: string;
|
|
55
39
|
x: string;
|
|
56
|
-
|
|
40
|
+
P: string;
|
|
41
|
+
y: string;
|
|
42
|
+
R: string;
|
|
43
|
+
C: string;
|
|
44
|
+
E: string;
|
|
45
|
+
m: string;
|
|
46
|
+
k: string;
|
|
57
47
|
J: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
48
|
+
L: string;
|
|
49
|
+
F: string;
|
|
50
|
+
H: string;
|
|
51
|
+
W: string;
|
|
52
|
+
U: string;
|
|
53
|
+
T: string;
|
|
54
|
+
t: string;
|
|
55
|
+
u: string;
|
|
56
|
+
r: string;
|
|
63
57
|
l: string;
|
|
58
|
+
h: string;
|
|
59
|
+
p: string;
|
|
60
|
+
j: string;
|
|
61
|
+
X: string;
|
|
62
|
+
Z: string;
|
|
63
|
+
K: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
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
|
|
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);}));
|