@univerjs-pro/sheets-print 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff
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
|
-
const
|
|
1
|
+
const _0x210f15=_0x3151;(function(_0x194f4e,_0x247b57){const _0x44ab28=_0x3151,_0x188a65=_0x194f4e();while(!![]){try{const _0x241781=parseInt(_0x44ab28(0xe6))/0x1*(-parseInt(_0x44ab28(0xf0))/0x2)+parseInt(_0x44ab28(0xd5))/0x3+parseInt(_0x44ab28(0xb0))/0x4+parseInt(_0x44ab28(0xbe))/0x5+-parseInt(_0x44ab28(0xb9))/0x6*(-parseInt(_0x44ab28(0xed))/0x7)+-parseInt(_0x44ab28(0xc4))/0x8*(parseInt(_0x44ab28(0xf1))/0x9)+-parseInt(_0x44ab28(0xf4))/0xa*(-parseInt(_0x44ab28(0xe0))/0xb);if(_0x241781===_0x247b57)break;else _0x188a65['push'](_0x188a65['shift']());}catch(_0x4eb812){_0x188a65['push'](_0x188a65['shift']());}}}(_0x2a06,0x3cd7f));function _0x2a06(){const _0x8a05da=['張工作表','18MedjDu','工作表名稱','Letter\x20(8.5\x22\x20x\x2011\x22)','重複凍結的欄','已選取的儲存格','1213850cRfXfr','格式設定','Folio\x20(8.5\x22\x20x\x2013\x22)','標準\x20(100%)','列印中,請勿關閉頁面','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','18896ApvFuO','頁面方向','日期C','顯示格線','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','複製為圖片','點擊以新增文字','日期B','目前工作表','時間D','顯示浮水印','工作表頁碼','總頁數','Executive\x20(7.25\x22\x20x\x2010.5\x22)','hh:mm','日期E','列與欄限制','738843cUCcVU','B4\x20(9.84\x22\x20x\x2013.90\x22)','日期D','所有工作表','目前時間','日期A','A5\x20(5.83\x22\x20x\x208.27\x22)','時間A','活頁簿','調整至頁面高度','時間B','344993IlGAtB','https://univer.ai/pro','HH:mm','MM-DD','列與欄標題','顯示分頁符號','2152qaAJgG','選取範圍','目前日期','紙張大小','自訂比例','日期F','垂直對齊','352415pvowTX','YYYY-MM-DD','A3\x20(11.69\x22\x20x\x2016.54\x22)','426VsRWGK','1278YIwVha','活頁簿標題','關閉並隱藏分頁線','100vnTmfo','hh:mm:ss','編輯自訂頁首/頁尾','調整至頁面大小','MM/DD','357116WvNDMx','每頁最大欄數','重複凍結的列','Tabloid\x20(11\x22\x20x\x2017\x22)','總計:','前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','所有選取的儲存格','自訂頁首/頁尾'];_0x2a06=function(){return _0x8a05da;};return _0x2a06();}function _0x3151(_0x2c534b,_0x56ae2e){_0x2c534b=_0x2c534b-0xac;const _0x2a0648=_0x2a06();let _0x3151fe=_0x2a0648[_0x2c534b];return _0x3151fe;}const e={'print':{'header':{'total':_0x210f15(0xb4),'pages':'頁','cancel':'取消','next':'下一步','printing':_0x210f15(0xc2)},'menu':'列印','title':'列印','grid':{'title':'列印版面配置','showGrid':_0x210f15(0xe5),'showGridLabel':'顯示分頁線','closeAndHide':_0x210f15(0xf3)},'screenshot':{'title':_0x210f15(0xc9),'success':'圖片已成功複製到剪貼簿!','fail':'圖片複製到剪貼簿失敗!'},'size':{'title':_0x210f15(0xe9),'letter':_0x210f15(0xbb),'tabloid':_0x210f15(0xb3),'legal':'Legal\x20(8.5\x22\x20x\x2014\x22)','statement':'Statement\x20(5.5\x22\x20x\x208.5\x22)','executive':_0x210f15(0xd1),'folio':_0x210f15(0xc0),'a3':_0x210f15(0xef),'a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':_0x210f15(0xdb),'b4':_0x210f15(0xd6),'b5':'B5\x20(6.93\x22\x20x\x209.84\x22)'},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x210f15(0xcc),'workbook':_0x210f15(0xdd),'currentSelection':_0x210f15(0xbd),'maxRowsEachPage':'每頁最大列數','maxColumnsEachPage':_0x210f15(0xb1),'limit':_0x210f15(0xd4),'allSelection':_0x210f15(0xb6)},'selection':{'title':_0x210f15(0xe7),'allWorkbook':_0x210f15(0xd8),'workbookUnit':_0x210f15(0xb8)},'scale':{'title':'縮放','normal':_0x210f15(0xc1),'fitWidth':'調整至頁面寬度','fitHeight':_0x210f15(0xde),'fitPage':_0x210f15(0xae),'custom':_0x210f15(0xea)},'orientation':{'title':_0x210f15(0xc5),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x210f15(0xbf),'skeleton':_0x210f15(0xc7),'waterMark':_0x210f15(0xce)},'align':{'title':'對齊','horizontal':{'title':'水平對齊','middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':_0x210f15(0xec),'start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x210f15(0xf2),'sheet':_0x210f15(0xba),'date':_0x210f15(0xe8),'time':_0x210f15(0xd9),'customHeadFooter':_0x210f15(0xb7),'editCustomHeadFooter':_0x210f15(0xad),'header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x210f15(0xee),'dateB':_0x210f15(0xe3),'dateC':'L','dateD':_0x210f15(0xaf),'timeA':'HH:mm:ss','timeB':_0x210f15(0xe2),'timeC':_0x210f15(0xac),'timeD':_0x210f15(0xd2),'display':{'page':'頁碼','title':_0x210f15(0xf2),'sheet':_0x210f15(0xba),'dateA':_0x210f15(0xda),'dateB':_0x210f15(0xcb),'dateC':_0x210f15(0xc6),'dateD':_0x210f15(0xd7),'dateE':_0x210f15(0xd3),'dateF':_0x210f15(0xeb),'timeA':_0x210f15(0xdc),'timeB':_0x210f15(0xdf),'timeC':'時間C','timeD':_0x210f15(0xcd),'sheetPage':_0x210f15(0xcf),'pageTotal':_0x210f15(0xd0),'sheetPageTotal':'工作表總頁數'},'placeholder':_0x210f15(0xca),'submit':'確定'},'freeze':{'title':_0x210f15(0xe4),'desc':_0x210f15(0xb5),'row':_0x210f15(0xb2),'column':_0x210f15(0xbc)},'limit':{'page':_0x210f15(0xc3),'waterMark':_0x210f15(0xc8),'link':_0x210f15(0xe1)}}};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
|
-
|
|
12
|
+
J: string;
|
|
13
|
+
Y: string;
|
|
14
|
+
y: string;
|
|
15
|
+
q: string;
|
|
16
|
+
z: string;
|
|
17
|
+
x: string;
|
|
18
|
+
j: string;
|
|
19
|
+
u: string;
|
|
20
|
+
t: string;
|
|
21
|
+
N: string;
|
|
22
|
+
V: string;
|
|
23
|
+
I: string;
|
|
14
24
|
n: string;
|
|
15
|
-
|
|
25
|
+
D: string;
|
|
26
|
+
B: string;
|
|
27
|
+
f: string;
|
|
16
28
|
w: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Q: string;
|
|
20
|
-
Y: string;
|
|
29
|
+
p: string;
|
|
30
|
+
R: string;
|
|
21
31
|
L: string;
|
|
32
|
+
Q: string;
|
|
33
|
+
h: string;
|
|
34
|
+
G: string;
|
|
35
|
+
o: string;
|
|
36
|
+
v: string;
|
|
37
|
+
E: string;
|
|
22
38
|
W: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
39
|
+
K: string;
|
|
40
|
+
S: string;
|
|
41
|
+
F: string;
|
|
42
|
+
l: string;
|
|
43
|
+
O: string;
|
|
44
|
+
m: string;
|
|
45
|
+
Z: string;
|
|
29
46
|
k: string;
|
|
30
|
-
|
|
31
|
-
B: string;
|
|
47
|
+
d: string;
|
|
32
48
|
T: string;
|
|
33
|
-
|
|
34
|
-
|
|
49
|
+
A: string;
|
|
50
|
+
P: string;
|
|
51
|
+
g: string;
|
|
52
|
+
U: string;
|
|
53
|
+
c: string;
|
|
54
|
+
b: string;
|
|
35
55
|
C: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
G: string;
|
|
39
|
-
Z: string;
|
|
56
|
+
r: string;
|
|
57
|
+
i: string;
|
|
40
58
|
X: string;
|
|
41
59
|
s: string;
|
|
42
|
-
|
|
43
|
-
K: string;
|
|
44
|
-
u: string;
|
|
60
|
+
e: string;
|
|
45
61
|
a: string;
|
|
46
|
-
x: string;
|
|
47
|
-
N: string;
|
|
48
|
-
z: string;
|
|
49
|
-
P: string;
|
|
50
|
-
V: string;
|
|
51
|
-
A: string;
|
|
52
|
-
J: string;
|
|
53
|
-
i: string;
|
|
54
|
-
l: string;
|
|
55
|
-
H: string;
|
|
56
|
-
y: string;
|
|
57
|
-
m: string;
|
|
58
|
-
o: string;
|
|
59
62
|
M: string;
|
|
60
|
-
|
|
61
|
-
F: string;
|
|
62
|
-
E: string;
|
|
63
|
-
O: string;
|
|
63
|
+
H: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "86LIv9QL n5IGKhv9QL(p9I5Lo5, h6Vp9IA5K) { vGK { IQLov p9I5Lo54L8QbNGv1GGNK = p9I5Lo5.ohp9v('-'); IQLov QG9D9Lg5ooND5 = TicU.hNGo5(NvQV(p9I5Lo54L8QbNGv1GGNK[y])); 98 (!QG9D9Lg5ooND5.6n) { QG9D9Lg5ooND5.6n = U6RV5G(p9I5Lo54L8QbNGv1GGNK[z]); } IQLov 9oeQGw5G = vKh5Q8 eQGw5GkpQVNpiIQh5 !== '6Ln589L5n' && o5p8 9LovNLI5Q8 eQGw5GkpQVNpiIQh5; IQLov 9oFGQWo5G = vKh5Q8 W9LnQW !== '6Ln589L5n' && vKh5Q8 W9LnQW.pQINv9QL !== '6Ln589L5n'; IQLov IQLv50v = 9oeQGw5G ? o5p8 : (9oFGQWo5G ? W9LnQW : DpQVNpXB9o); IQLov R5ooND5eQGn = IQLv50v.__FNo52z__.hNGo5(p9I5Lo54L8QbNGv1GGNK[y]); IQLov R5ooND5 = IQLv50v.__d50__.ovG9LD98K(R5ooND5eQGn); IQLov o9DLNv6G5eQGn = IQLv50v.__FNo52z__.hNGo5(p9I5Lo54L8QbNGv1GGNK[q]); IQLov o9DLNv6G5 = IQLv50v.__d50__.ovG9LD98K(o9DLNv6G5eQGn); IQLov o9DLsNp9n = IQLv50v.__E5G98K__(o9DLNv6G5, R5ooND5, h6Vp9IA5K); IQLov nQRN9L = QG9D9Lg5ooND5.nR; 86LIv9QL 9oOQRN9LgNvIB9LD(QbNvv5GL, QdQov) { IQLov hNvv5GL = QbNvv5GL.G5hpNI5(/^.+/, ''); IQLov BQov = QdQov.G5hpNI5(/^.+/, ''); IQLov hNvv5GLbNGvo = hNvv5GL.ohp9v('.'); IQLov BQovbNGvo = BQov.ohp9v('.'); 98 (!hNvv5GL.9LIp6n5o('*')) { G5v6GL hNvv5GL === BQov; } 98 (hNvv5GLbNGvo.p5LDvB < y || hNvv5GLbNGvo[J] !== '*') { G5v6GL 8Npo5; } IQLov hNvv5GLi68890 = hNvv5GLbNGvo.op9I5(Y).fQ9L('.'); IQLov BQovi68890 = BQovbNGvo.op9I5(-hNvv5GLbNGvo.p5LDvB + Y).fQ9L('.'); G5v6GL hNvv5GLi68890 === BQovi68890; } p5v nQRN9LsNp9n = 8Npo5; 98 (9oFGQWo5G) { nQRN9LsNp9n = (nQRN9L && nQRN9L.p5LDvB) ? nQRN9L.oQR5((nR4v5R) => 9oOQRN9LgNvIB9LD(nR4v5R, pQINv9QL.BQovLNR5)) : vG65; 98 (pQINv9QL.BQovLNR5 === 'pQINpBQov') { nQRN9LsNp9n = vG65; } } 5po5 { nQRN9LsNp9n = vG65; } IQLov ENp9n = o9DLsNp9n && nQRN9LsNp9n; G5v6GL { ENp9n, R5ooND5: QG9D9Lg5ooND5, }; } INvIB (5GGQG) { G5v6GL { ENp9n: 8Npo5, R5ooND5: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1032(_0x1ae12e,_0x1cae7a){_0x1ae12e=_0x1ae12e-0x9a;const _0x430f7b=_0x430f();let _0x1032d9=_0x430f7b[_0x1ae12e];return _0x1032d9;}(function(_0x1d51e8,_0xfa652c){const _0x16b437=_0x1032,_0x1fd39a=_0x1d51e8();while(!![]){try{const _0x16f4ba=-parseInt(_0x16b437(0xb0))/0x1+-parseInt(_0x16b437(0xc5))/0x2*(parseInt(_0x16b437(0xe0))/0x3)+-parseInt(_0x16b437(0xdc))/0x4+parseInt(_0x16b437(0xab))/0x5+parseInt(_0x16b437(0xcb))/0x6*(parseInt(_0x16b437(0xa9))/0x7)+parseInt(_0x16b437(0xc9))/0x8+parseInt(_0x16b437(0xb6))/0x9;if(_0x16f4ba===_0xfa652c)break;else _0x1fd39a['push'](_0x1fd39a['shift']());}catch(_0x1494e5){_0x1fd39a['push'](_0x1fd39a['shift']());}}}(_0x430f,0xa0320),function(_0x371c8c,_0x24878c){const _0x3e4b92=_0x1032;typeof exports==_0x3e4b92(0xd0)&&typeof module<'u'?_0x24878c(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x3e4b92(0xb8)]?define(['@univerjs-pro/sheets-print',_0x3e4b92(0xc2),_0x3e4b92(0xa1),_0x3e4b92(0xbf),_0x3e4b92(0x9d)],_0x24878c):(_0x371c8c=typeof globalThis<'u'?globalThis:_0x371c8c||self,_0x24878c(_0x371c8c[_0x3e4b92(0xcf)],_0x371c8c['UniverCore'],_0x371c8c[_0x3e4b92(0xcd)],_0x371c8c[_0x3e4b92(0xcc)],_0x371c8c['UniverProPrint']));}(this,function(_0x2e8da2,_0x259651,_0x37c965,_0x2d7ff8,_0x34c248){'use strict';const _0x33083c=_0x1032;class _0x1782e6 extends _0x37c965[_0x33083c(0xda)]{[_0x33083c(0xd9)](_0x14a68c){const _0x593979=_0x33083c;return this[_0x593979(0xbc)][_0x593979(0xa2)](_0x2e8da2[_0x593979(0xd6)])[_0x593979(0xdb)](_0x14a68c),this;}[_0x33083c(0x9e)](_0x28b9ec){const _0xb440fb=_0x33083c;return this[_0xb440fb(0xbc)][_0xb440fb(0xa2)](_0x2e8da2['ISheetPrintManagerService'])[_0xb440fb(0xdf)](_0x28b9ec),this;}['print'](){const _0x335cbc=_0x33083c;return this['_injector'][_0x335cbc(0xa2)](_0x259651[_0x335cbc(0xba)])[_0x335cbc(0xc8)](_0x2e8da2[_0x335cbc(0xa0)]['id']);}[_0x33083c(0xae)](){const _0x152f19=_0x33083c;return this[_0x152f19(0xbc)][_0x152f19(0xa2)](_0x259651[_0x152f19(0xba)])[_0x152f19(0xc8)](_0x2e8da2[_0x152f19(0xb1)]['id']);}[_0x33083c(0xc0)](){const _0xdd49be=_0x33083c;return this[_0xdd49be(0xbc)][_0xdd49be(0xa2)](_0x259651['ICommandService'])[_0xdd49be(0xc8)](_0x2e8da2[_0xdd49be(0xd5)]['id']);}async['saveScreenshotToClipboard'](){const _0x984b1e=_0x33083c;return _0x2e8da2[_0x984b1e(0xb7)](this[_0x984b1e(0xbc)])?this['_injector']['get'](_0x259651[_0x984b1e(0xba)])['executeCommand'](_0x2e8da2[_0x984b1e(0xc7)]['id']):!0x1;}}_0x37c965[_0x33083c(0xda)][_0x33083c(0xc1)](_0x1782e6);class _0x4eca05 extends _0x37c965['FRange']{['getScreenshot'](){const _0x7ffb3a=_0x33083c;return _0x2e8da2[_0x7ffb3a(0xb7)](this[_0x7ffb3a(0xbc)])?this['_injector'][_0x7ffb3a(0xa2)](_0x2e8da2[_0x7ffb3a(0xac)])['getRangeImage'](this[_0x7ffb3a(0xbb)][_0x7ffb3a(0xb2)](),this[_0x7ffb3a(0x9f)][_0x7ffb3a(0xb9)](),this[_0x7ffb3a(0xd4)]):!0x1;}}_0x37c965[_0x33083c(0xa8)][_0x33083c(0xc1)](_0x4eca05);class _0x2c1cf0{get[_0x33083c(0xd8)](){const _0x28f7b2=_0x33083c;return _0x28f7b2(0xd8);}get[_0x33083c(0xce)](){const _0x37fd29=_0x33083c;return _0x37fd29(0xce);}get[_0x33083c(0xb3)](){const _0x3e46b6=_0x33083c;return _0x3e46b6(0xb3);}get['SheetPrintOpen'](){const _0x2f425b=_0x33083c;return _0x2f425b(0xa6);}get[_0x33083c(0xbe)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}_0x2d7ff8[_0x33083c(0xc6)][_0x33083c(0xc1)](_0x2c1cf0);class _0x58bd42{get['PrintArea'](){return _0x2e8da2['PrintArea'];}get[_0x33083c(0xd2)](){const _0x33f698=_0x33083c;return _0x34c248[_0x33f698(0xd2)];}get[_0x33083c(0xb5)](){const _0x3efe65=_0x33083c;return _0x259651[_0x3efe65(0xaa)];}get[_0x33083c(0x9c)](){const _0x4fff8d=_0x33083c;return _0x34c248[_0x4fff8d(0x9c)];}get['PrintScale'](){const _0x448aaf=_0x33083c;return _0x34c248[_0x448aaf(0xa3)];}get['PrintDirection'](){const _0x2a9096=_0x33083c;return _0x34c248[_0x2a9096(0xd1)];}get['PrintFreeze'](){return _0x2e8da2['PrintFreeze'];}get[_0x33083c(0xb4)](){return _0x2e8da2['PrintHeaderFooter'];}get[_0x33083c(0xd7)](){return _0x2e8da2['PrintHeaderFooterSymbol'];}}_0x2d7ff8[_0x33083c(0xbd)]['extend'](_0x58bd42);class _0x279568 extends _0x2d7ff8['FUniver']{[_0x33083c(0xa5)](_0x1674ea){const _0x460d0b=_0x33083c,_0x2c224e=_0x1674ea[_0x460d0b(0xa2)](_0x259651[_0x460d0b(0xba)]);this['registerEventHandler'](this[_0x460d0b(0xc3)][_0x460d0b(0xd8)],()=>_0x2c224e[_0x460d0b(0xad)](_0x2f9781=>{const _0xf87f3e=_0x460d0b;if(_0x2f9781['id']===_0x2e8da2['SheetPrintOpenOperation']['id']){const _0x3c066c=this[_0xf87f3e(0x9b)]();if(!_0x3c066c)return;const _0x3717f1={'workbook':_0x3c066c,'worksheet':_0x3c066c['getActiveSheet']()};if(_0x3717f1==null)return;if(this[_0xf87f3e(0xc4)](this[_0xf87f3e(0xc3)][_0xf87f3e(0xd8)],_0x3717f1),_0x3717f1[_0xf87f3e(0xde)])throw new _0x259651[(_0xf87f3e(0xa7))]();}})),this['registerEventHandler'](this[_0x460d0b(0xc3)][_0x460d0b(0xce)],()=>_0x2c224e['beforeCommandExecuted'](_0xd18b1e=>{const _0x2a27bf=_0x460d0b;if(_0xd18b1e['id']===_0x2e8da2['ConfirmSheetPrintOperation']['id']){const _0x12a43e=_0x1674ea[_0x2a27bf(0xa2)](_0x2e8da2[_0x2a27bf(0xd6)]);if(!this['getActiveUniverSheet']())return;const _0x4230e6={'layoutConfig':_0x12a43e[_0x2a27bf(0x9a)],'renderConfig':_0x12a43e['renderConfig']};if(_0x4230e6==null)return;if(this['fireEvent'](this[_0x2a27bf(0xc3)]['BeforeSheetPrintConfirm'],_0x4230e6),_0x4230e6[_0x2a27bf(0xde)])throw new _0x259651[(_0x2a27bf(0xa7))]();}})),this['registerEventHandler'](this[_0x460d0b(0xc3)][_0x460d0b(0xb3)],()=>_0x2c224e['beforeCommandExecuted'](_0x5c4caa=>{const _0x37af8e=_0x460d0b;if(_0x5c4caa['id']===_0x2e8da2[_0x37af8e(0xd5)]['id']){const _0x146c21=_0x1674ea[_0x37af8e(0xa2)](_0x2e8da2['ISheetPrintManagerService']);if(!this[_0x37af8e(0x9b)]())return;const _0x18003d={'layoutConfig':_0x146c21[_0x37af8e(0x9a)],'renderConfig':_0x146c21['renderConfig']};if(_0x18003d==null)return;if(this[_0x37af8e(0xc4)](this[_0x37af8e(0xc3)]['BeforeSheetPrintCanceled'],_0x18003d),_0x18003d[_0x37af8e(0xde)])throw new _0x259651[(_0x37af8e(0xa7))]();}})),this[_0x460d0b(0xdd)](this[_0x460d0b(0xc3)][_0x460d0b(0xa6)],()=>_0x2c224e[_0x460d0b(0xd3)](_0x29a202=>{const _0x5c54a=_0x460d0b;if(_0x29a202['id']===_0x2e8da2[_0x5c54a(0xb1)]['id']){const _0x5b9a59=this[_0x5c54a(0x9b)]();if(!_0x5b9a59)return;const _0x6c0581={'workbook':_0x5b9a59,'worksheet':_0x5b9a59[_0x5c54a(0xca)]()};if(_0x6c0581==null)return;this[_0x5c54a(0xc4)](this[_0x5c54a(0xc3)][_0x5c54a(0xa6)],_0x6c0581);}})),this[_0x460d0b(0xdd)](this['Event'][_0x460d0b(0xbe)],()=>_0x2c224e[_0x460d0b(0xd3)](_0x2ebec8=>{const _0x1f40b6=_0x460d0b;if(_0x2ebec8['id']===_0x2e8da2[_0x1f40b6(0xa0)]['id']){const _0x29b100=_0x1674ea[_0x1f40b6(0xa2)](_0x2e8da2[_0x1f40b6(0xd6)]);if(!this[_0x1f40b6(0x9b)]())return;const _0x11623a={'layoutConfig':_0x29b100[_0x1f40b6(0x9a)],'renderConfig':_0x29b100[_0x1f40b6(0xaf)]};if(_0x11623a==null)return;this[_0x1f40b6(0xc4)](this[_0x1f40b6(0xc3)][_0x1f40b6(0xbe)],_0x11623a);}})),this[_0x460d0b(0xdd)](this[_0x460d0b(0xc3)][_0x460d0b(0xa4)],()=>_0x2c224e[_0x460d0b(0xd3)](_0x159f80=>{const _0x3a230a=_0x460d0b;if(_0x159f80['id']===_0x2e8da2[_0x3a230a(0xd5)]['id']){const _0x5deb7c=_0x1674ea['get'](_0x2e8da2[_0x3a230a(0xd6)]);if(!this[_0x3a230a(0x9b)]())return;const _0xa294ce={'layoutConfig':_0x5deb7c['layoutConfig'],'renderConfig':_0x5deb7c[_0x3a230a(0xaf)]};if(_0xa294ce==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0xa294ce);}}));}}_0x2d7ff8['FUniver']['extend'](_0x279568);}));function _0x430f(){const _0x2055bd=['ISheetPrintManagerService','PrintHeaderFooterSymbol','BeforeSheetPrintOpen','updatePrintConfig','FWorkbook','updateLayoutConfig','4012788ahsabA','registerEventHandler','cancel','updateRenderConfig','9WccFrO','layoutConfig','getActiveUniverSheet','PrintPaperMargin','@univerjs-pro/print','updatePrintRenderConfig','_worksheet','ConfirmSheetPrintOperation','@univerjs/sheets/facade','get','PrintScale','SheetPrintCanceled','_initialize','SheetPrintOpen','CanceledError','FRange','7emlnLY','PaperType','5344345HbhXPr','SheetPrintClientService','beforeCommandExecuted','openPrintDialog','renderConfig','1025463xicBvD','SheetPrintOpenOperation','getUnitId','BeforeSheetPrintCanceled','PrintHeaderFooter','PrintPaperSize','10579032nWqAIb','hasPrintFacadePermission','amd','getSheetId','ICommandService','_workbook','_injector','FEnum','SheetPrintConfirmed','@univerjs/core/facade','closePrintDialog','extend','@univerjs/core','Event','fireEvent','295206BMqsvt','FEventName','SheetScreenShotOperation','syncExecuteCommand','6767096PbmbYa','getActiveSheet','224550lJlqzz','UniverCoreFacade','UniverSheetsFacade','BeforeSheetPrintConfirm','UniverProSheetsPrint','object','PrintDirection','PrintAlign','onCommandExecuted','_range','CancelSheetPrintOperation'];_0x430f=function(){return _0x2055bd;};return _0x430f();}
|