@univerjs-pro/sheets-print 0.12.0 → 0.12.1-nightly.202511221011
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
|
-
const
|
|
1
|
+
const _0x3026f9=_0x3bf5;(function(_0x1ebd01,_0x2774e9){const _0x169ccb=_0x3bf5,_0x2e2ae0=_0x1ebd01();while(!![]){try{const _0x16168f=parseInt(_0x169ccb(0x9f))/0x1+-parseInt(_0x169ccb(0xbe))/0x2*(-parseInt(_0x169ccb(0x99))/0x3)+parseInt(_0x169ccb(0xbf))/0x4+-parseInt(_0x169ccb(0x94))/0x5+parseInt(_0x169ccb(0x86))/0x6*(-parseInt(_0x169ccb(0xa3))/0x7)+parseInt(_0x169ccb(0xa7))/0x8+parseInt(_0x169ccb(0x80))/0x9*(-parseInt(_0x169ccb(0xb0))/0xa);if(_0x16168f===_0x2774e9)break;else _0x2e2ae0['push'](_0x2e2ae0['shift']());}catch(_0x228bda){_0x2e2ae0['push'](_0x2e2ae0['shift']());}}}(_0x5c4a,0x421ca));const e={'print':{'header':{'total':_0x3026f9(0x8e),'pages':'頁','cancel':'取消','next':_0x3026f9(0x7f),'printing':_0x3026f9(0x9e)},'menu':'列印','title':'列印','grid':{'title':_0x3026f9(0x8a),'showGrid':_0x3026f9(0x84),'showGridLabel':_0x3026f9(0xaf),'closeAndHide':_0x3026f9(0x83)},'screenshot':{'title':_0x3026f9(0x89),'success':_0x3026f9(0xa5),'fail':'圖片複製到剪貼簿失敗!'},'size':{'title':'紙張大小','letter':_0x3026f9(0x97),'tabloid':_0x3026f9(0x9b),'legal':_0x3026f9(0x81),'statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x3026f9(0xa9),'folio':'Folio\x20(8.5\x22\x20x\x2013\x22)','a3':_0x3026f9(0xa8),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x3026f9(0xb2),'b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x3026f9(0x82)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':_0x3026f9(0x8b),'top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x3026f9(0x9a),'workbook':'活頁簿','currentSelection':'已選取的儲存格','maxRowsEachPage':_0x3026f9(0xb1),'maxColumnsEachPage':_0x3026f9(0xab),'limit':_0x3026f9(0x93),'allSelection':_0x3026f9(0xb9)},'selection':{'title':_0x3026f9(0xb6),'allWorkbook':'所有工作表','workbookUnit':_0x3026f9(0xa2)},'scale':{'title':'縮放','normal':'標準\x20(100%)','fitWidth':'調整至頁面寬度','fitHeight':_0x3026f9(0xad),'fitPage':'調整至頁面大小','custom':_0x3026f9(0xa0)},'orientation':{'title':_0x3026f9(0x8c),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x3026f9(0xac),'skeleton':_0x3026f9(0x8d),'waterMark':_0x3026f9(0xaa)},'align':{'title':'對齊','horizontal':{'title':_0x3026f9(0x92),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':_0x3026f9(0xc0),'page':'頁碼','workbook':_0x3026f9(0xb8),'sheet':'工作表名稱','date':'目前日期','time':_0x3026f9(0x85),'customHeadFooter':_0x3026f9(0x87),'editCustomHeadFooter':_0x3026f9(0xc2),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':_0x3026f9(0x88),'dateA':'YYYY-MM-DD','dateB':_0x3026f9(0x91),'dateC':'L','dateD':'MM/DD','timeA':_0x3026f9(0xb4),'timeB':'HH:mm','timeC':_0x3026f9(0x8f),'timeD':_0x3026f9(0x90),'display':{'page':'頁碼','title':_0x3026f9(0xb8),'sheet':_0x3026f9(0x9c),'dateA':'日期A','dateB':_0x3026f9(0x9d),'dateC':'日期C','dateD':_0x3026f9(0xa1),'dateE':_0x3026f9(0x96),'dateF':_0x3026f9(0xbd),'timeA':_0x3026f9(0xbb),'timeB':'時間B','timeC':'時間C','timeD':_0x3026f9(0xa6),'sheetPage':_0x3026f9(0xbc),'pageTotal':_0x3026f9(0xba),'sheetPageTotal':_0x3026f9(0x95)},'placeholder':_0x3026f9(0xae),'submit':'確定'},'freeze':{'title':_0x3026f9(0xb5),'desc':_0x3026f9(0xc1),'row':_0x3026f9(0xb3),'column':_0x3026f9(0xb7)},'limit':{'page':'免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','waterMark':_0x3026f9(0x98),'link':_0x3026f9(0xa4)}}};export{e as default};function _0x3bf5(_0x34701b,_0x5c3d34){const _0x5c4a58=_0x5c4a();return _0x3bf5=function(_0x3bf567,_0x395e57){_0x3bf567=_0x3bf567-0x7f;let _0x47c8c3=_0x5c4a58[_0x3bf567];return _0x47c8c3;},_0x3bf5(_0x34701b,_0x5c3d34);}function _0x5c4a(){const _0x23dc04=['張工作表','1848RWwrMb','https://univer.ai/pro','圖片已成功複製到剪貼簿!','時間D','600912RKRkgN','A3\x20(11.69\x22\x20x\x2016.54\x22)','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示浮水印','每頁最大欄數','格式設定','調整至頁面高度','點擊以新增文字','顯示分頁線','166220fMupZn','每頁最大列數','A5\x20(5.83\x22\x20x\x208.27\x22)','重複凍結的列','HH:mm:ss','列與欄標題','選取範圍','重複凍結的欄','活頁簿標題','所有選取的儲存格','總頁數','時間A','工作表頁碼','日期F','8244RBRYUi','1309204zcrHQv','頁首和頁尾','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','編輯自訂頁首/頁尾','下一步','279phdzLt','Legal\x20(8.5\x22\x20x\x2014\x22)','B5\x20(6.93\x22\x20x\x209.84\x22)','關閉並隱藏分頁線','顯示分頁符號','目前時間','1926WuHaZc','自訂頁首/頁尾','日期格式','複製為圖片','列印版面配置','自訂义頁邊距','頁面方向','顯示格線','總計:','hh:mm:ss','hh:mm','MM-DD','水平對齊','列與欄限制','592510OiMYXF','工作表總頁數','日期E','Letter\x20(8.5\x22\x20x\x2011\x22)','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','270QCKPej','目前工作表','Tabloid\x20(11\x22\x20x\x2017\x22)','工作表名稱','日期B','列印中,請勿關閉頁面','215927oajLef','自訂比例','日期D'];_0x5c4a=function(){return _0x23dc04;};return _0x5c4a();}
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
x: string;
|
|
15
|
-
Z: string;
|
|
16
|
-
U: string;
|
|
17
|
-
u: string;
|
|
18
|
-
W: string;
|
|
19
|
-
d: string;
|
|
20
|
-
y: string;
|
|
21
|
-
k: string;
|
|
22
|
-
c: string;
|
|
23
|
-
w: string;
|
|
24
|
-
i: string;
|
|
25
|
-
T: string;
|
|
26
|
-
z: string;
|
|
27
|
-
p: string;
|
|
28
|
-
h: string;
|
|
12
|
+
P: string;
|
|
13
|
+
a: string;
|
|
29
14
|
f: string;
|
|
30
|
-
|
|
31
|
-
|
|
15
|
+
p: string;
|
|
16
|
+
D: string;
|
|
17
|
+
H: string;
|
|
32
18
|
N: string;
|
|
33
|
-
|
|
19
|
+
c: string;
|
|
20
|
+
X: string;
|
|
21
|
+
d: string;
|
|
34
22
|
Y: string;
|
|
35
|
-
V: string;
|
|
36
23
|
E: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
v: string;
|
|
25
|
+
T: string;
|
|
26
|
+
M: string;
|
|
27
|
+
l: string;
|
|
28
|
+
x: string;
|
|
40
29
|
C: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
G: string;
|
|
45
|
-
J: string;
|
|
30
|
+
i: string;
|
|
31
|
+
y: string;
|
|
32
|
+
t: string;
|
|
46
33
|
K: string;
|
|
47
|
-
|
|
48
|
-
M: string;
|
|
34
|
+
s: string;
|
|
49
35
|
S: string;
|
|
50
|
-
H: string;
|
|
51
|
-
v: string;
|
|
52
|
-
l: string;
|
|
53
36
|
q: string;
|
|
54
|
-
|
|
37
|
+
Z: string;
|
|
38
|
+
h: string;
|
|
39
|
+
u: string;
|
|
40
|
+
L: string;
|
|
41
|
+
n: string;
|
|
42
|
+
F: string;
|
|
43
|
+
V: string;
|
|
44
|
+
g: string;
|
|
55
45
|
R: string;
|
|
56
46
|
Q: string;
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
r: string;
|
|
48
|
+
z: string;
|
|
49
|
+
b: string;
|
|
50
|
+
w: string;
|
|
51
|
+
o: string;
|
|
52
|
+
W: string;
|
|
53
|
+
U: string;
|
|
59
54
|
I: string;
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
e: string;
|
|
56
|
+
J: string;
|
|
62
57
|
j: string;
|
|
63
|
-
|
|
58
|
+
O: string;
|
|
59
|
+
B: string;
|
|
60
|
+
m: string;
|
|
61
|
+
G: string;
|
|
62
|
+
k: string;
|
|
63
|
+
A: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "Eqi3STyi dY3KL9STyi(xT3YisY, 9qXxT3oYL) { SKL { 3yisS xT3YisYbiEyIcKS8KKcL = xT3YisY.s9xTS('-'); 3yisS yKT4TiWYssc4Y = wJU5.9cKsY(cSyX(xT3YisYbiEyIcKS8KKcL[a])); TE (!yKT4TiWYssc4Y.qd) { yKT4TiWYssc4Y.qd = 5qCXYK(xT3YisYbiEyIcKS8KKcL[p]); } 3yisS TsmyKlYK = SL9YyE myKlYKrxyXcxJ3y9Y !== 'qidYETiYd' && sYxE TisSci3YyE myKlYKrxyXcxJ3y9Y; 3yisS TsFKyhsYK = SL9YyE hTidyh !== 'qidYETiYd' && SL9YyE hTidyh.xy3cSTyi !== 'qidYETiYd'; 3yisS 3yiSYuS = TsmyKlYK ? sYxE : (TsFKyhsYK ? hTidyh : 4xyXcxjvTs); 3yisS CYssc4YmyKd = 3yiSYuS.__FcsYHp__.9cKsY(xT3YisYbiEyIcKS8KKcL[a]); 3yisS CYssc4Y = 3yiSYuS.__zYu__.sSKTi4TEL(CYssc4YmyKd); 3yisS sT4icSqKYmyKd = 3yiSYuS.__FcsYHp__.9cKsY(xT3YisYbiEyIcKS8KKcL[f]); 3yisS sT4icSqKY = 3yiSYuS.__zYu__.sSKTi4TEL(sT4icSqKYmyKd); 3yisS sT4iBcxTd = 3yiSYuS.__ZYKTEL__(sT4icSqKY, CYssc4Y, 9qXxT3oYL); 3yisS dyCcTi = yKT4TiWYssc4Y.dC; Eqi3STyi TsgyCcTiWcS3vTi4(yIcSSYKi, yzysS) { 3yisS 9cSSYKi = yIcSSYKi.KY9xc3Y(/^.+/, ''); 3yisS vysS = yzysS.KY9xc3Y(/^.+/, ''); 3yisS 9cSSYKiIcKSs = 9cSSYKi.s9xTS('.'); 3yisS vysSIcKSs = vysS.s9xTS('.'); TE (!9cSSYKi.Ti3xqdYs('*')) { KYSqKi 9cSSYKi === vysS; } TE (9cSSYKiIcKSs.xYi4Sv < a || 9cSSYKiIcKSs[P] !== '*') { KYSqKi EcxsY; } 3yisS 9cSSYKiJqEETu = 9cSSYKiIcKSs.sxT3Y(6).MyTi('.'); 3yisS vysSJqEETu = vysSIcKSs.sxT3Y(-9cSSYKiIcKSs.xYi4Sv + 6).MyTi('.'); KYSqKi 9cSSYKiJqEETu === vysSJqEETu; } xYS dyCcTiBcxTd = EcxsY; TE (TsFKyhsYK) { dyCcTiBcxTd = (dyCcTi && dyCcTi.xYi4Sv) ? dyCcTi.syCY((dCbSYC) => TsgyCcTiWcS3vTi4(dCbSYC, xy3cSTyi.vysSicCY)) : SKqY; TE (xy3cSTyi.vysSicCY === 'xy3cxvysS') { dyCcTiBcxTd = SKqY; } } YxsY { dyCcTiBcxTd = SKqY; } 3yisS ZcxTd = sT4iBcxTd && dyCcTiBcxTd; KYSqKi { ZcxTd, CYssc4Y: yKT4TiWYssc4Y, }; } 3cS3v (YKKyK) { KYSqKi { ZcxTd: EcxsY, CYssc4Y: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c8f(_0x442995,_0x3ea783){const _0x8995f6=_0x8995();return _0x5c8f=function(_0x5c8f17,_0xe7ac57){_0x5c8f17=_0x5c8f17-0x127;let _0x37feed=_0x8995f6[_0x5c8f17];return _0x37feed;},_0x5c8f(_0x442995,_0x3ea783);}(function(_0x43ac3d,_0x1ca54c){const _0x53776f=_0x5c8f,_0x4b52bb=_0x43ac3d();while(!![]){try{const _0x5f468e=-parseInt(_0x53776f(0x12e))/0x1+-parseInt(_0x53776f(0x12a))/0x2*(-parseInt(_0x53776f(0x12d))/0x3)+parseInt(_0x53776f(0x14f))/0x4*(parseInt(_0x53776f(0x148))/0x5)+parseInt(_0x53776f(0x12b))/0x6+-parseInt(_0x53776f(0x159))/0x7+-parseInt(_0x53776f(0x175))/0x8*(parseInt(_0x53776f(0x134))/0x9)+parseInt(_0x53776f(0x12f))/0xa*(-parseInt(_0x53776f(0x145))/0xb);if(_0x5f468e===_0x1ca54c)break;else _0x4b52bb['push'](_0x4b52bb['shift']());}catch(_0x51d248){_0x4b52bb['push'](_0x4b52bb['shift']());}}}(_0x8995,0x42b78),function(_0x158057,_0x25c885){const _0x4f8851=_0x5c8f;typeof exports==_0x4f8851(0x16e)&&typeof module<'u'?_0x25c885(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x4f8851(0x13e)]?define(['@univerjs-pro/sheets-print',_0x4f8851(0x160),'@univerjs/sheets/facade',_0x4f8851(0x137),_0x4f8851(0x128)],_0x25c885):(_0x158057=typeof globalThis<'u'?globalThis:_0x158057||self,_0x25c885(_0x158057[_0x4f8851(0x141)],_0x158057[_0x4f8851(0x14b)],_0x158057[_0x4f8851(0x156)],_0x158057[_0x4f8851(0x14e)],_0x158057[_0x4f8851(0x176)]));}(this,function(_0x55d9d6,_0x423985,_0x311cc1,_0x47f4d8,_0x132c79){'use strict';const _0x26b2a1=_0x5c8f;class _0x3b98b5 extends _0x311cc1[_0x26b2a1(0x14d)]{[_0x26b2a1(0x13c)](_0x598809){const _0x5278b9=_0x26b2a1;return this[_0x5278b9(0x12c)][_0x5278b9(0x144)](_0x55d9d6[_0x5278b9(0x16d)])['updateLayoutConfig'](_0x598809),this;}[_0x26b2a1(0x173)](_0x237ff6){const _0x1c04cd=_0x26b2a1;return this[_0x1c04cd(0x12c)][_0x1c04cd(0x144)](_0x55d9d6['ISheetPrintManagerService'])[_0x1c04cd(0x130)](_0x237ff6),this;}[_0x26b2a1(0x140)](){const _0x49d097=_0x26b2a1;return this[_0x49d097(0x12c)]['get'](_0x423985[_0x49d097(0x16b)])['syncExecuteCommand'](_0x55d9d6['ConfirmSheetPrintOperation']['id']);}[_0x26b2a1(0x169)](){const _0x5bdb4e=_0x26b2a1;return this[_0x5bdb4e(0x12c)][_0x5bdb4e(0x144)](_0x423985[_0x5bdb4e(0x16b)])[_0x5bdb4e(0x153)](_0x55d9d6[_0x5bdb4e(0x154)]['id']);}[_0x26b2a1(0x133)](){const _0x5568f9=_0x26b2a1;return this['_injector'][_0x5568f9(0x144)](_0x423985[_0x5568f9(0x16b)])[_0x5568f9(0x153)](_0x55d9d6[_0x5568f9(0x147)]['id']);}async[_0x26b2a1(0x158)](){const _0x4a8a50=_0x26b2a1;return _0x55d9d6[_0x4a8a50(0x14a)](this[_0x4a8a50(0x12c)])?this[_0x4a8a50(0x12c)]['get'](_0x423985[_0x4a8a50(0x16b)])[_0x4a8a50(0x174)](_0x55d9d6[_0x4a8a50(0x15e)]['id']):!0x1;}}_0x311cc1[_0x26b2a1(0x14d)][_0x26b2a1(0x15c)](_0x3b98b5);class _0x8e54a8 extends _0x311cc1[_0x26b2a1(0x172)]{[_0x26b2a1(0x171)](){const _0x23bd32=_0x26b2a1;return _0x55d9d6['hasPrintFacadePermission'](this[_0x23bd32(0x12c)])?this[_0x23bd32(0x12c)][_0x23bd32(0x144)](_0x55d9d6[_0x23bd32(0x127)])[_0x23bd32(0x146)](this[_0x23bd32(0x136)][_0x23bd32(0x167)](),this[_0x23bd32(0x135)][_0x23bd32(0x15f)](),this[_0x23bd32(0x13d)]):!0x1;}}_0x311cc1[_0x26b2a1(0x172)][_0x26b2a1(0x15c)](_0x8e54a8);class _0x3eb3d1{get[_0x26b2a1(0x164)](){const _0x3cba48=_0x26b2a1;return _0x3cba48(0x164);}get[_0x26b2a1(0x13a)](){return'BeforeSheetPrintConfirm';}get[_0x26b2a1(0x16c)](){const _0x4facfc=_0x26b2a1;return _0x4facfc(0x16c);}get[_0x26b2a1(0x139)](){const _0x308b87=_0x26b2a1;return _0x308b87(0x139);}get['SheetPrintConfirmed'](){const _0x2a42b7=_0x26b2a1;return _0x2a42b7(0x16f);}get[_0x26b2a1(0x14c)](){return'SheetPrintCanceled';}}_0x47f4d8[_0x26b2a1(0x150)][_0x26b2a1(0x15c)](_0x3eb3d1);class _0x5700bb{get[_0x26b2a1(0x152)](){return _0x55d9d6['PrintArea'];}get[_0x26b2a1(0x16a)](){const _0x1f9284=_0x26b2a1;return _0x132c79[_0x1f9284(0x16a)];}get[_0x26b2a1(0x142)](){const _0x484a5b=_0x26b2a1;return _0x423985[_0x484a5b(0x15d)];}get[_0x26b2a1(0x129)](){const _0x497048=_0x26b2a1;return _0x132c79[_0x497048(0x129)];}get[_0x26b2a1(0x15a)](){const _0x3c8d2b=_0x26b2a1;return _0x132c79[_0x3c8d2b(0x15a)];}get[_0x26b2a1(0x131)](){const _0x4f392f=_0x26b2a1;return _0x132c79[_0x4f392f(0x131)];}get[_0x26b2a1(0x13b)](){const _0x2d4ed8=_0x26b2a1;return _0x55d9d6[_0x2d4ed8(0x13b)];}get[_0x26b2a1(0x161)](){const _0x8f54e9=_0x26b2a1;return _0x55d9d6[_0x8f54e9(0x161)];}get[_0x26b2a1(0x143)](){const _0x58f2f7=_0x26b2a1;return _0x55d9d6[_0x58f2f7(0x143)];}}_0x47f4d8['FEnum'][_0x26b2a1(0x15c)](_0x5700bb);class _0x2a8788 extends _0x47f4d8[_0x26b2a1(0x170)]{[_0x26b2a1(0x15b)](_0x2386e4){const _0x5b38c3=_0x26b2a1,_0x3f91c1=_0x2386e4[_0x5b38c3(0x144)](_0x423985[_0x5b38c3(0x16b)]);this['registerEventHandler'](this[_0x5b38c3(0x162)][_0x5b38c3(0x164)],()=>_0x3f91c1[_0x5b38c3(0x13f)](_0x1d979b=>{const _0x5cf2f8=_0x5b38c3;if(_0x1d979b['id']===_0x55d9d6['SheetPrintOpenOperation']['id']){const _0x206127=this['getActiveUniverSheet']();if(!_0x206127)return;const _0x1569cf={'workbook':_0x206127,'worksheet':_0x206127[_0x5cf2f8(0x149)]()};if(_0x1569cf==null)return;if(this[_0x5cf2f8(0x165)](this[_0x5cf2f8(0x162)][_0x5cf2f8(0x164)],_0x1569cf),_0x1569cf[_0x5cf2f8(0x157)])throw new _0x423985['CanceledError']();}})),this['registerEventHandler'](this[_0x5b38c3(0x162)][_0x5b38c3(0x13a)],()=>_0x3f91c1[_0x5b38c3(0x13f)](_0x568bf2=>{const _0x59ef76=_0x5b38c3;if(_0x568bf2['id']===_0x55d9d6[_0x59ef76(0x151)]['id']){const _0x53889b=_0x2386e4[_0x59ef76(0x144)](_0x55d9d6[_0x59ef76(0x16d)]);if(!this[_0x59ef76(0x155)]())return;const _0x44d662={'layoutConfig':_0x53889b[_0x59ef76(0x166)],'renderConfig':_0x53889b[_0x59ef76(0x138)]};if(_0x44d662==null)return;if(this['fireEvent'](this[_0x59ef76(0x162)][_0x59ef76(0x13a)],_0x44d662),_0x44d662[_0x59ef76(0x157)])throw new _0x423985[(_0x59ef76(0x163))]();}})),this[_0x5b38c3(0x132)](this[_0x5b38c3(0x162)][_0x5b38c3(0x16c)],()=>_0x3f91c1['beforeCommandExecuted'](_0x35584d=>{const _0x5e1e00=_0x5b38c3;if(_0x35584d['id']===_0x55d9d6[_0x5e1e00(0x147)]['id']){const _0x4a3b19=_0x2386e4[_0x5e1e00(0x144)](_0x55d9d6['ISheetPrintManagerService']);if(!this[_0x5e1e00(0x155)]())return;const _0x18492f={'layoutConfig':_0x4a3b19[_0x5e1e00(0x166)],'renderConfig':_0x4a3b19[_0x5e1e00(0x138)]};if(_0x18492f==null)return;if(this[_0x5e1e00(0x165)](this[_0x5e1e00(0x162)]['BeforeSheetPrintCanceled'],_0x18492f),_0x18492f[_0x5e1e00(0x157)])throw new _0x423985[(_0x5e1e00(0x163))]();}})),this['registerEventHandler'](this[_0x5b38c3(0x162)][_0x5b38c3(0x139)],()=>_0x3f91c1[_0x5b38c3(0x168)](_0x3135f1=>{const _0x1fbb87=_0x5b38c3;if(_0x3135f1['id']===_0x55d9d6['SheetPrintOpenOperation']['id']){const _0x2c0a09=this['getActiveUniverSheet']();if(!_0x2c0a09)return;const _0x5f053a={'workbook':_0x2c0a09,'worksheet':_0x2c0a09[_0x1fbb87(0x149)]()};if(_0x5f053a==null)return;this[_0x1fbb87(0x165)](this[_0x1fbb87(0x162)]['SheetPrintOpen'],_0x5f053a);}})),this['registerEventHandler'](this['Event'][_0x5b38c3(0x16f)],()=>_0x3f91c1['onCommandExecuted'](_0x4b8ed2=>{const _0x40d53c=_0x5b38c3;if(_0x4b8ed2['id']===_0x55d9d6[_0x40d53c(0x151)]['id']){const _0x2560b7=_0x2386e4[_0x40d53c(0x144)](_0x55d9d6[_0x40d53c(0x16d)]);if(!this[_0x40d53c(0x155)]())return;const _0xd54b45={'layoutConfig':_0x2560b7[_0x40d53c(0x166)],'renderConfig':_0x2560b7[_0x40d53c(0x138)]};if(_0xd54b45==null)return;this[_0x40d53c(0x165)](this[_0x40d53c(0x162)][_0x40d53c(0x16f)],_0xd54b45);}})),this[_0x5b38c3(0x132)](this[_0x5b38c3(0x162)]['SheetPrintCanceled'],()=>_0x3f91c1[_0x5b38c3(0x168)](_0x41f0cd=>{const _0x50aa1a=_0x5b38c3;if(_0x41f0cd['id']===_0x55d9d6[_0x50aa1a(0x147)]['id']){const _0x1d75ca=_0x2386e4[_0x50aa1a(0x144)](_0x55d9d6[_0x50aa1a(0x16d)]);if(!this[_0x50aa1a(0x155)]())return;const _0x7bb575={'layoutConfig':_0x1d75ca['layoutConfig'],'renderConfig':_0x1d75ca[_0x50aa1a(0x138)]};if(_0x7bb575==null)return;this[_0x50aa1a(0x165)](this[_0x50aa1a(0x162)]['SheetPrintCanceled'],_0x7bb575);}}));}}_0x47f4d8['FUniver']['extend'](_0x2a8788);}));function _0x8995(){const _0x1d0fc8=['BeforeSheetPrintOpen','fireEvent','layoutConfig','getUnitId','onCommandExecuted','openPrintDialog','PrintAlign','ICommandService','BeforeSheetPrintCanceled','ISheetPrintManagerService','object','SheetPrintConfirmed','FUniver','getScreenshot','FRange','updatePrintRenderConfig','executeCommand','8TjIaPe','UniverProPrint','SheetPrintClientService','@univerjs-pro/print','PrintPaperMargin','2cxzIEK','951270bPOOLD','_injector','409719JhNcpc','116023dQICyn','1466120iaQxNk','updateRenderConfig','PrintDirection','registerEventHandler','closePrintDialog','2600793gGqBFZ','_worksheet','_workbook','@univerjs/core/facade','renderConfig','SheetPrintOpen','BeforeSheetPrintConfirm','PrintFreeze','updatePrintConfig','_range','amd','beforeCommandExecuted','print','UniverProSheetsPrint','PrintPaperSize','PrintHeaderFooterSymbol','get','11qbKvlw','getRangeImage','CancelSheetPrintOperation','1890iEFRWh','getActiveSheet','hasPrintFacadePermission','UniverCore','SheetPrintCanceled','FWorkbook','UniverCoreFacade','5780JDkUSq','FEventName','ConfirmSheetPrintOperation','PrintArea','syncExecuteCommand','SheetPrintOpenOperation','getActiveUniverSheet','UniverSheetsFacade','cancel','saveScreenshotToClipboard','115108naDTCS','PrintScale','_initialize','extend','PaperType','SheetScreenShotOperation','getSheetId','@univerjs/core','PrintHeaderFooter','Event','CanceledError'];_0x8995=function(){return _0x1d0fc8;};return _0x8995();}
|