@univerjs-pro/sheets-print 0.15.1 → 0.15.2
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 -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-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x36da(_0x1c0e44,_0x3be155){_0x1c0e44=_0x1c0e44-0x10f;const _0x366f47=_0x366f();let _0x36dad4=_0x366f47[_0x1c0e44];return _0x36dad4;}function _0x366f(){const _0x463a9f=['Univer\x20免费版本,由\x20univer.ai\x20提供支持。','复制为截图','YYYY-MM-DD','打印范围','A4(21.0厘米\x20x\x2029.7厘米)','水平居中','子表总页数','子表页码','当前工作表','纸张大小','右对齐','MM-DD','图片已保存到剪贴板','适合宽度','每页最大行数','29702QjWowm','底部对齐','编辑自定义页眉页脚','对齐方式','适合高度','左对齐','点击可添加文本','对折纸(21.6厘米\x20x\x2033.0厘米)','工作簿名称','打印页数:','日期5','已选范围','报表(14.0厘米\x20x\x2021.6厘米)','法律专用纸(21.6厘米\x20x\x2035.6厘米)','自定义页眉页脚','120nSfzgK','张工作表','总页数','工作簿','B4(25.0厘米\x20x\x2035.3厘米)','B5(17.6厘米\x20x\x2025.0厘米)','195310XEsDWY','6108cyYznB','Vertical','10CAkilM','时间4','38331ELOPJH','日期1','https://univer.ai/pro','页眉和页脚','显示分页辅助线','打印布局','日期格式','当前日期','下一步','免费版仅支持\x20{limit}\x20页打印,高级功能请购买商业版!','显示水印','1457036VndfpW','44iyAwMZ','12XoQupb','关闭并隐藏辅助线','96IDeiLF','A5(14.8厘米\x20x\x2021.0厘米)','190qnaflB','每页最大列数','行和列限制','日期2','工作簿标题','重复冻结列','时间3','日期3','日期6','打印设置','行标题与列标题','正在打印,请勿关闭页面','6072573aGPqBm','转到“查看”>“冻结”可选择要在所有页面重复的行/列','重复冻结行','LTS','10602kQUsru','正常\x20(100%)','Custom\x20number','Horizontal','顶部对齐','网格线','小报(27.9厘米\x20x\x2043.2厘米)','HH:mm'];_0x366f=function(){return _0x463a9f;};return _0x366f();}const _0x240829=_0x36da;(function(_0x460d5a,_0x290101){const _0x512382=_0x36da,_0x55d13b=_0x460d5a();while(!![]){try{const _0x4b11be=-parseInt(_0x512382(0x15b))/0x1*(parseInt(_0x512382(0x143))/0x2)+-parseInt(_0x512382(0x159))/0x3*(parseInt(_0x512382(0x11a))/0x4)+-parseInt(_0x512382(0x11c))/0x5*(-parseInt(_0x512382(0x12c))/0x6)+-parseInt(_0x512382(0x116))/0x7+-parseInt(_0x512382(0x152))/0x8*(-parseInt(_0x512382(0x15d))/0x9)+-parseInt(_0x512382(0x158))/0xa*(parseInt(_0x512382(0x117))/0xb)+-parseInt(_0x512382(0x118))/0xc*(-parseInt(_0x512382(0x128))/0xd);if(_0x4b11be===_0x290101)break;else _0x55d13b['push'](_0x55d13b['shift']());}catch(_0x5a0b5f){_0x55d13b['push'](_0x55d13b['shift']());}}}(_0x366f,0x1bf4a));const e={'print':{'header':{'total':_0x240829(0x14c),'pages':'页','cancel':'取消','next':_0x240829(0x113),'printing':_0x240829(0x127)},'menu':'打印','title':_0x240829(0x125),'grid':{'title':_0x240829(0x110),'showGrid':_0x240829(0x10f),'showGridLabel':_0x240829(0x10f),'closeAndHide':_0x240829(0x119)},'screenshot':{'title':_0x240829(0x135),'success':_0x240829(0x140),'fail':'图片已保存失败'},'size':{'title':_0x240829(0x13d),'letter':'信纸(21.6厘米\x20x\x2027.9厘米)','tabloid':_0x240829(0x132),'legal':_0x240829(0x150),'statement':_0x240829(0x14f),'executive':'行政公文纸(18.4厘米\x20x\x2026.7厘米)','folio':_0x240829(0x14a),'a3':'A3(29.7厘米\x20x\x2042.0厘米)','a4':_0x240829(0x138),'a5':_0x240829(0x11b),'b4':_0x240829(0x156),'b5':_0x240829(0x157)},'margin':{'title':'边距','normal':'正常','narrow':'窄','wide':'宽','custom':'自定义页边距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':_0x240829(0x137),'currentSheet':_0x240829(0x13c),'workbook':_0x240829(0x155),'currentSelection':_0x240829(0x14e),'maxRowsEachPage':_0x240829(0x142),'maxColumnsEachPage':_0x240829(0x11d),'limit':_0x240829(0x11e),'allSelection':'所有已选范围'},'selection':{'title':'选择','allWorkbook':'所有工作表','workbookUnit':_0x240829(0x153)},'scale':{'title':'缩放','normal':_0x240829(0x12d),'fitWidth':_0x240829(0x141),'fitHeight':_0x240829(0x147),'fitPage':'适合页面大小','custom':_0x240829(0x12e)},'orientation':{'title':'页面方向','landscape':'横向','portrait':'纵向'},'formatting':{'title':'内容','skeleton':_0x240829(0x131),'waterMark':_0x240829(0x115)},'align':{'title':_0x240829(0x146),'horizontal':{'title':_0x240829(0x12f),'middle':_0x240829(0x139),'start':_0x240829(0x148),'end':_0x240829(0x13e)},'vertical':{'title':_0x240829(0x15a),'start':_0x240829(0x130),'end':_0x240829(0x144),'middle':'垂直居中'}},'headerFooter':{'title':_0x240829(0x160),'page':'页码','workbook':_0x240829(0x120),'sheet':'工作簿名称','date':_0x240829(0x112),'time':'当前时间','customHeadFooter':_0x240829(0x151),'editCustomHeadFooter':_0x240829(0x145),'header':'页眉','footer':'页脚','left':'左','right':'右','center':'中','dateFormat':_0x240829(0x111),'dateA':_0x240829(0x136),'dateB':_0x240829(0x13f),'dateC':'L','dateD':'MM月DD日','timeA':'HH:mm:ss','timeB':_0x240829(0x133),'timeC':_0x240829(0x12b),'timeD':'LT','display':{'page':'页码','title':_0x240829(0x120),'sheet':_0x240829(0x14b),'dateA':_0x240829(0x15e),'dateB':_0x240829(0x11f),'dateC':_0x240829(0x123),'dateD':'日期4','dateE':_0x240829(0x14d),'dateF':_0x240829(0x124),'timeA':'时间1','timeB':'时间2','timeC':_0x240829(0x122),'timeD':_0x240829(0x15c),'sheetPage':_0x240829(0x13b),'pageTotal':_0x240829(0x154),'sheetPageTotal':_0x240829(0x13a)},'placeholder':_0x240829(0x149),'submit':'确定'},'freeze':{'title':_0x240829(0x126),'desc':_0x240829(0x129),'row':_0x240829(0x12a),'column':_0x240829(0x121)},'limit':{'page':_0x240829(0x114),'waterMark':_0x240829(0x134),'link':_0x240829(0x15f)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x39b4f9=_0x1084;(function(_0xc93ce3,_0xb80551){const _0x25fb34=_0x1084,_0x3a557d=_0xc93ce3();while(!![]){try{const _0x217ba9=-parseInt(_0x25fb34(0xca))/0x1*(-parseInt(_0x25fb34(0xde))/0x2)+-parseInt(_0x25fb34(0xfb))/0x3*(parseInt(_0x25fb34(0xd3))/0x4)+parseInt(_0x25fb34(0xc8))/0x5+parseInt(_0x25fb34(0xfa))/0x6*(parseInt(_0x25fb34(0xc1))/0x7)+parseInt(_0x25fb34(0xf0))/0x8*(parseInt(_0x25fb34(0xf8))/0x9)+-parseInt(_0x25fb34(0xd4))/0xa+parseInt(_0x25fb34(0xcf))/0xb;if(_0x217ba9===_0xb80551)break;else _0x3a557d['push'](_0x3a557d['shift']());}catch(_0x2f8938){_0x3a557d['push'](_0x3a557d['shift']());}}}(_0x470e,0xe52b9));function _0x470e(){const _0x81be17=['列印中,請勿關閉頁面','調整至頁面高度','列與欄標題','5134475YKDxcl','張工作表','139ltNoor','列印版面配置','重複凍結的欄','日期F','MM-DD','18267898IAKKkb','關閉並隱藏分頁線','自訂比例','圖片複製到剪貼簿失敗!','164THhATe','17774090SejYID','選取範圍','複製為圖片','活頁簿','Executive\x20(7.25\x22\x20x\x2010.5\x22)','顯示格線','Univer\x20免費版本,由\x20univer.ai\x20提供支援。','頁面方向','調整至頁面寬度','時間D','8110oxxQPw','每頁最大欄數','列與欄限制','HH:mm:ss','每頁最大列數','工作表名稱','目前日期','工作表總頁數','水平對齊','Statement\x20(5.5\x22\x20x\x208.5\x22)','自訂頁首/頁尾','日期C','Letter\x20(8.5\x22\x20x\x2011\x22)','時間C','調整至頁面大小','標準\x20(100%)','B5\x20(6.93\x22\x20x\x209.84\x22)','重複凍結的列','12384mKLFqp','工作表頁碼','https://univer.ai/pro','免費版僅支援\x20{limit}\x20頁列印,進階功能請購買商業版!','YYYY-MM-DD','Legal\x20(8.5\x22\x20x\x2014\x22)','總頁數','hh:mm:ss','3843jKqXDi','所有工作表','6vgeWGb','88509hWqlFt','紙張大小','活頁簿標題','格式設定','日期D','日期A','日期B','日期E','Tabloid\x20(11\x22\x20x\x2017\x22)','hh:mm','時間B','目前工作表','94213MNQvUi','所有選取的儲存格','Folio\x20(8.5\x22\x20x\x2013\x22)','顯示分頁符號'];_0x470e=function(){return _0x81be17;};return _0x470e();}function _0x1084(_0x1b67ec,_0x49e05f){_0x1b67ec=_0x1b67ec-0xb6;const _0x470e01=_0x470e();let _0x10840f=_0x470e01[_0x1b67ec];return _0x10840f;}const e={'print':{'header':{'total':'總計:','pages':'頁','cancel':'取消','next':'下一步','printing':_0x39b4f9(0xc5)},'menu':'列印','title':'列印','grid':{'title':_0x39b4f9(0xcb),'showGrid':_0x39b4f9(0xc4),'showGridLabel':'顯示分頁線','closeAndHide':_0x39b4f9(0xd0)},'screenshot':{'title':_0x39b4f9(0xd6),'success':'圖片已成功複製到剪貼簿!','fail':_0x39b4f9(0xd2)},'size':{'title':_0x39b4f9(0xb6),'letter':_0x39b4f9(0xea),'tabloid':_0x39b4f9(0xbd),'legal':_0x39b4f9(0xf5),'statement':_0x39b4f9(0xe7),'executive':_0x39b4f9(0xd8),'folio':_0x39b4f9(0xc3),'a3':'A3\x20(11.69\x22\x20x\x2016.54\x22)','a4':'A4\x20(8.27\x22\x20x\x2011.69\x22)','a5':'A5\x20(5.83\x22\x20x\x208.27\x22)','b4':'B4\x20(9.84\x22\x20x\x2013.90\x22)','b5':_0x39b4f9(0xee)},'margin':{'title':'邊距','normal':'標準','narrow':'窄','wide':'寬','custom':'自訂义頁邊距','top':'上','bottom':'下','left':'左','right':'右'},'area':{'title':'列印','currentSheet':_0x39b4f9(0xc0),'workbook':_0x39b4f9(0xd7),'currentSelection':'已選取的儲存格','maxRowsEachPage':_0x39b4f9(0xe2),'maxColumnsEachPage':_0x39b4f9(0xdf),'limit':_0x39b4f9(0xe0),'allSelection':_0x39b4f9(0xc2)},'selection':{'title':_0x39b4f9(0xd5),'allWorkbook':_0x39b4f9(0xf9),'workbookUnit':_0x39b4f9(0xc9)},'scale':{'title':'縮放','normal':_0x39b4f9(0xed),'fitWidth':_0x39b4f9(0xdc),'fitHeight':_0x39b4f9(0xc6),'fitPage':_0x39b4f9(0xec),'custom':_0x39b4f9(0xd1)},'orientation':{'title':_0x39b4f9(0xdb),'landscape':'橫向','portrait':'直向'},'formatting':{'title':_0x39b4f9(0xb8),'skeleton':_0x39b4f9(0xd9),'waterMark':'顯示浮水印'},'align':{'title':'對齊','horizontal':{'title':_0x39b4f9(0xe6),'middle':'置中','start':'靠左','end':'靠右'},'vertical':{'title':'垂直對齊','start':'靠上','end':'靠下','middle':'置中'}},'headerFooter':{'title':'頁首和頁尾','page':'頁碼','workbook':_0x39b4f9(0xb7),'sheet':_0x39b4f9(0xe3),'date':_0x39b4f9(0xe4),'time':'目前時間','customHeadFooter':_0x39b4f9(0xe8),'editCustomHeadFooter':'編輯自訂頁首/頁尾','header':'頁首','footer':'頁尾','left':'左側','right':'右側','center':'中間','dateFormat':'日期格式','dateA':_0x39b4f9(0xf4),'dateB':_0x39b4f9(0xce),'dateC':'L','dateD':'MM/DD','timeA':_0x39b4f9(0xe1),'timeB':'HH:mm','timeC':_0x39b4f9(0xf7),'timeD':_0x39b4f9(0xbe),'display':{'page':'頁碼','title':_0x39b4f9(0xb7),'sheet':'工作表名稱','dateA':_0x39b4f9(0xba),'dateB':_0x39b4f9(0xbb),'dateC':_0x39b4f9(0xe9),'dateD':_0x39b4f9(0xb9),'dateE':_0x39b4f9(0xbc),'dateF':_0x39b4f9(0xcd),'timeA':'時間A','timeB':_0x39b4f9(0xbf),'timeC':_0x39b4f9(0xeb),'timeD':_0x39b4f9(0xdd),'sheetPage':_0x39b4f9(0xf1),'pageTotal':_0x39b4f9(0xf6),'sheetPageTotal':_0x39b4f9(0xe5)},'placeholder':'點擊以新增文字','submit':'確定'},'freeze':{'title':_0x39b4f9(0xc7),'desc':'前往\x20檢視\x20>\x20凍結\x20以選擇要在所有頁面重複的列/欄','row':_0x39b4f9(0xef),'column':_0x39b4f9(0xcc)},'limit':{'page':_0x39b4f9(0xf3),'waterMark':_0x39b4f9(0xda),'link':_0x39b4f9(0xf2)}}};export{e as default};
|
|
@@ -9,56 +9,57 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
P: string;
|
|
13
|
-
D: string;
|
|
14
|
-
z: string;
|
|
15
|
-
K: string;
|
|
16
|
-
M: string;
|
|
17
|
-
Q: string;
|
|
18
|
-
n: string;
|
|
19
12
|
H: string;
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
U: string;
|
|
14
|
+
R: string;
|
|
15
|
+
u: string;
|
|
16
|
+
A: string;
|
|
17
|
+
g: string;
|
|
18
|
+
Z: string;
|
|
22
19
|
l: string;
|
|
23
20
|
G: string;
|
|
21
|
+
t: string;
|
|
22
|
+
E: string;
|
|
23
|
+
X: string;
|
|
24
|
+
M: string;
|
|
25
|
+
a: string;
|
|
26
|
+
m: string;
|
|
27
|
+
k: string;
|
|
28
|
+
C: string;
|
|
24
29
|
w: string;
|
|
25
|
-
|
|
30
|
+
D: string;
|
|
31
|
+
W: string;
|
|
32
|
+
b: string;
|
|
33
|
+
p: string;
|
|
34
|
+
o: string;
|
|
35
|
+
J: string;
|
|
36
|
+
r: string;
|
|
37
|
+
F: string;
|
|
26
38
|
L: string;
|
|
39
|
+
z: string;
|
|
40
|
+
q: string;
|
|
41
|
+
Y: string;
|
|
27
42
|
N: string;
|
|
43
|
+
Q: string;
|
|
44
|
+
s: string;
|
|
45
|
+
O: string;
|
|
46
|
+
B: string;
|
|
47
|
+
" ": string;
|
|
48
|
+
c: string;
|
|
49
|
+
K: string;
|
|
50
|
+
j: string;
|
|
51
|
+
d: string;
|
|
28
52
|
T: string;
|
|
29
|
-
m: string;
|
|
30
53
|
x: string;
|
|
31
|
-
f: string;
|
|
32
54
|
e: string;
|
|
33
|
-
O: string;
|
|
34
|
-
j: string;
|
|
35
|
-
i: string;
|
|
36
|
-
C: string;
|
|
37
|
-
B: string;
|
|
38
|
-
I: string;
|
|
39
|
-
J: string;
|
|
40
|
-
s: string;
|
|
41
55
|
h: string;
|
|
42
|
-
V: string;
|
|
43
|
-
d: string;
|
|
44
|
-
A: string;
|
|
45
|
-
c: string;
|
|
46
|
-
p: string;
|
|
47
|
-
r: string;
|
|
48
|
-
g: string;
|
|
49
56
|
S: string;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
v: string;
|
|
53
|
-
b: string;
|
|
54
|
-
u: string;
|
|
55
|
-
a: string;
|
|
56
|
-
X: string;
|
|
57
|
-
Z: string;
|
|
58
|
-
U: string;
|
|
59
|
-
t: string;
|
|
60
|
-
Y: string;
|
|
61
|
-
W: string;
|
|
62
|
-
R: string;
|
|
57
|
+
P: string;
|
|
58
|
+
i: string;
|
|
63
59
|
y: string;
|
|
60
|
+
v: string;
|
|
61
|
+
n: string;
|
|
62
|
+
f: string;
|
|
63
|
+
I: string;
|
|
64
|
+
V: string;
|
|
64
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/*VMoDCWJ-XCotEDMV90MaM0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x16a306(0x1f5))/0x1+parseInt(_0x16a306(0x1f2))/0x2*(parseInt(_0x16a306(0x227))/0x3)+parseInt(_0x16a306(0x221))/0x4+-parseInt(_0x16a306(0x228))/0x5+-parseInt(_0x16a306(0x1f8))/0x6+-parseInt(_0x16a306(0x206))/0x7+parseInt(_0x16a306(0x200))/0x8;if(_0x418e31===_0x2318c7)break;else _0x183108['push'](_0x183108['shift']());}catch(_0x1c92fc){_0x183108['push'](_0x183108['shift']());}}}(_0x1f9b,0xeae9b),function(_0x5b3171,_0x403066){const _0x271435=_0x34f2;typeof exports=='object'&&typeof module<'u'?_0x403066(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x271435(0x22a)&&define[_0x271435(0x1fd)]?define([_0x271435(0x214),_0x271435(0x209),_0x271435(0x204),'@univerjs/core/facade','@univerjs-pro/print'],_0x403066):(_0x5b3171=typeof globalThis<'u'?globalThis:_0x5b3171||self,_0x403066(_0x5b3171[_0x271435(0x20d)],_0x5b3171[_0x271435(0x220)],_0x5b3171[_0x271435(0x1fa)],_0x5b3171[_0x271435(0x203)],_0x5b3171['UniverProPrint']));}(this,function(_0xdfc3b0,_0xdc24e2,_0x2d831c,_0x439c5c,_0x5a1786){'use strict';const _0x1fd60d=_0x34f2;class _0x330d47 extends _0x2d831c['FWorkbook']{[_0x1fd60d(0x1fb)](_0x1e4bf8){const _0x48b946=_0x1fd60d;return this[_0x48b946(0x20a)]['get'](_0xdfc3b0[_0x48b946(0x212)])['updateLayoutConfig'](_0x1e4bf8),this;}[_0x1fd60d(0x20b)](_0x5f078a){const _0x3f3319=_0x1fd60d;return this[_0x3f3319(0x20a)][_0x3f3319(0x211)](_0xdfc3b0[_0x3f3319(0x212)])[_0x3f3319(0x1f3)](_0x5f078a),this;}[_0x1fd60d(0x1e9)](){const _0xd7f7a5=_0x1fd60d;return this[_0xd7f7a5(0x20a)]['get'](_0xdc24e2[_0xd7f7a5(0x201)])[_0xd7f7a5(0x215)](_0xdfc3b0[_0xd7f7a5(0x1f1)]['id']);}[_0x1fd60d(0x1ea)](){const _0x27b779=_0x1fd60d;return this['_injector'][_0x27b779(0x211)](_0xdc24e2[_0x27b779(0x201)])[_0x27b779(0x215)](_0xdfc3b0[_0x27b779(0x1f6)]['id']);}['closePrintDialog'](){const _0x3b3a79=_0x1fd60d;return this[_0x3b3a79(0x20a)]['get'](_0xdc24e2[_0x3b3a79(0x201)])[_0x3b3a79(0x215)](_0xdfc3b0[_0x3b3a79(0x231)]['id']);}async[_0x1fd60d(0x1ee)](){const _0x14e2d9=_0x1fd60d;return _0xdfc3b0['hasPrintFacadePermission'](this[_0x14e2d9(0x20a)])?this[_0x14e2d9(0x20a)][_0x14e2d9(0x211)](_0xdc24e2['ICommandService'])[_0x14e2d9(0x21d)](_0xdfc3b0[_0x14e2d9(0x20f)]['id']):!0x1;}}_0x2d831c[_0x1fd60d(0x21b)][_0x1fd60d(0x20c)](_0x330d47);class _0x279db1 extends _0x2d831c[_0x1fd60d(0x232)]{[_0x1fd60d(0x21a)](_0x49caad){const _0xf1dd02=_0x1fd60d;return _0xdfc3b0[_0xf1dd02(0x22c)](this[_0xf1dd02(0x20a)])?this[_0xf1dd02(0x20a)]['get'](_0xdfc3b0[_0xf1dd02(0x1f7)])[_0xf1dd02(0x21e)](this[_0xf1dd02(0x22e)]['getUnitId'](),this[_0xf1dd02(0x225)][_0xf1dd02(0x218)](),this['_range'],_0x49caad==null?void 0x0:_0x49caad[_0xf1dd02(0x216)]):!0x1;}}_0x2d831c[_0x1fd60d(0x232)]['extend'](_0x279db1);class _0x17e7b4{get[_0x1fd60d(0x1eb)](){const _0x7df405=_0x1fd60d;return _0x7df405(0x1eb);}get[_0x1fd60d(0x219)](){const _0x168642=_0x1fd60d;return _0x168642(0x219);}get['BeforeSheetPrintCanceled'](){const _0x3cf3ab=_0x1fd60d;return _0x3cf3ab(0x208);}get['SheetPrintOpen'](){const _0x5bab23=_0x1fd60d;return _0x5bab23(0x202);}get[_0x1fd60d(0x226)](){const _0x44819c=_0x1fd60d;return _0x44819c(0x226);}get[_0x1fd60d(0x22b)](){const _0x1fc875=_0x1fd60d;return _0x1fc875(0x22b);}}_0x439c5c[_0x1fd60d(0x21c)][_0x1fd60d(0x20c)](_0x17e7b4);class _0x20e858{get[_0x1fd60d(0x1f9)](){return _0xdfc3b0['PrintArea'];}get[_0x1fd60d(0x22f)](){const _0x311361=_0x1fd60d;return _0x5a1786[_0x311361(0x22f)];}get[_0x1fd60d(0x22d)](){const _0x3ba9da=_0x1fd60d;return _0xdc24e2[_0x3ba9da(0x1ed)];}get['PrintPaperMargin'](){const _0x243f72=_0x1fd60d;return _0x5a1786[_0x243f72(0x230)];}get[_0x1fd60d(0x229)](){const _0x43e583=_0x1fd60d;return _0x5a1786[_0x43e583(0x229)];}get[_0x1fd60d(0x1ef)](){const _0x5ada5e=_0x1fd60d;return _0x5a1786[_0x5ada5e(0x1ef)];}get[_0x1fd60d(0x20e)](){return _0xdfc3b0['PrintFreeze'];}get[_0x1fd60d(0x1ff)](){const _0x2d87d3=_0x1fd60d;return _0xdfc3b0[_0x2d87d3(0x1ff)];}get[_0x1fd60d(0x1f0)](){const _0x3b79b2=_0x1fd60d;return _0xdfc3b0[_0x3b79b2(0x1f0)];}}_0x439c5c[_0x1fd60d(0x1fc)][_0x1fd60d(0x20c)](_0x20e858);class _0x54d2c6 extends _0x439c5c['FUniver']{[_0x1fd60d(0x1fe)](_0x8bcdbb){const _0x33f8d6=_0x1fd60d,_0x28d0fa=_0x8bcdbb['get'](_0xdc24e2[_0x33f8d6(0x201)]);this['registerEventHandler'](this[_0x33f8d6(0x213)][_0x33f8d6(0x1eb)],()=>_0x28d0fa['beforeCommandExecuted'](_0x5bd99c=>{const _0x3b3832=_0x33f8d6;if(_0x5bd99c['id']===_0xdfc3b0[_0x3b3832(0x1f6)]['id']){const _0x59a02d=this['getActiveUniverSheet']();if(!_0x59a02d)return;const _0x3274ac={'workbook':_0x59a02d,'worksheet':_0x59a02d['getActiveSheet']()};if(_0x3274ac==null)return;if(this[_0x3b3832(0x217)](this[_0x3b3832(0x213)][_0x3b3832(0x1eb)],_0x3274ac),_0x3274ac[_0x3b3832(0x207)])throw new _0xdc24e2[(_0x3b3832(0x21f))]();}})),this[_0x33f8d6(0x210)](this[_0x33f8d6(0x213)]['BeforeSheetPrintConfirm'],()=>_0x28d0fa[_0x33f8d6(0x205)](_0x48a238=>{const _0x1c3b97=_0x33f8d6;if(_0x48a238['id']===_0xdfc3b0[_0x1c3b97(0x1f1)]['id']){const _0x5d10e6=_0x8bcdbb[_0x1c3b97(0x211)](_0xdfc3b0[_0x1c3b97(0x212)]);if(!this[_0x1c3b97(0x222)]())return;const _0x423649={'layoutConfig':_0x5d10e6['layoutConfig'],'renderConfig':_0x5d10e6[_0x1c3b97(0x1f4)]};if(_0x423649==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintConfirm'],_0x423649),_0x423649[_0x1c3b97(0x207)])throw new _0xdc24e2[(_0x1c3b97(0x21f))]();}})),this[_0x33f8d6(0x210)](this[_0x33f8d6(0x213)][_0x33f8d6(0x208)],()=>_0x28d0fa['beforeCommandExecuted'](_0xdf8d65=>{const _0x25ce2e=_0x33f8d6;if(_0xdf8d65['id']===_0xdfc3b0[_0x25ce2e(0x231)]['id']){const _0x775f1d=_0x8bcdbb[_0x25ce2e(0x211)](_0xdfc3b0[_0x25ce2e(0x212)]);if(!this['getActiveUniverSheet']())return;const _0x40f7e0={'layoutConfig':_0x775f1d['layoutConfig'],'renderConfig':_0x775f1d[_0x25ce2e(0x1f4)]};if(_0x40f7e0==null)return;if(this[_0x25ce2e(0x217)](this[_0x25ce2e(0x213)][_0x25ce2e(0x208)],_0x40f7e0),_0x40f7e0['cancel'])throw new _0xdc24e2['CanceledError']();}})),this['registerEventHandler'](this[_0x33f8d6(0x213)]['SheetPrintOpen'],()=>_0x28d0fa['onCommandExecuted'](_0x1f412c=>{const _0x29ff4f=_0x33f8d6;if(_0x1f412c['id']===_0xdfc3b0[_0x29ff4f(0x1f6)]['id']){const _0x4e9e8a=this[_0x29ff4f(0x222)]();if(!_0x4e9e8a)return;const _0x28062c={'workbook':_0x4e9e8a,'worksheet':_0x4e9e8a[_0x29ff4f(0x224)]()};if(_0x28062c==null)return;this[_0x29ff4f(0x217)](this[_0x29ff4f(0x213)][_0x29ff4f(0x202)],_0x28062c);}})),this['registerEventHandler'](this[_0x33f8d6(0x213)]['SheetPrintConfirmed'],()=>_0x28d0fa[_0x33f8d6(0x223)](_0x110f8d=>{const _0xe19f95=_0x33f8d6;if(_0x110f8d['id']===_0xdfc3b0[_0xe19f95(0x1f1)]['id']){const _0x4cd9eb=_0x8bcdbb['get'](_0xdfc3b0[_0xe19f95(0x212)]);if(!this[_0xe19f95(0x222)]())return;const _0x10c0f4={'layoutConfig':_0x4cd9eb[_0xe19f95(0x1ec)],'renderConfig':_0x4cd9eb['renderConfig']};if(_0x10c0f4==null)return;this['fireEvent'](this[_0xe19f95(0x213)]['SheetPrintConfirmed'],_0x10c0f4);}})),this[_0x33f8d6(0x210)](this[_0x33f8d6(0x213)][_0x33f8d6(0x22b)],()=>_0x28d0fa[_0x33f8d6(0x223)](_0xce0706=>{const _0x2c950a=_0x33f8d6;if(_0xce0706['id']===_0xdfc3b0[_0x2c950a(0x231)]['id']){const _0x35e9b2=_0x8bcdbb[_0x2c950a(0x211)](_0xdfc3b0['ISheetPrintManagerService']);if(!this[_0x2c950a(0x222)]())return;const _0x2291d2={'layoutConfig':_0x35e9b2[_0x2c950a(0x1ec)],'renderConfig':_0x35e9b2[_0x2c950a(0x1f4)]};if(_0x2291d2==null)return;this[_0x2c950a(0x217)](this[_0x2c950a(0x213)][_0x2c950a(0x22b)],_0x2291d2);}}));}}_0x439c5c[_0x1fd60d(0x233)][_0x1fd60d(0x20c)](_0x54d2c6);}));function _0x34f2(_0x1ead61,_0x30e4c8){_0x1ead61=_0x1ead61-0x1e9;const _0x1f9b4b=_0x1f9b();let _0x34f2b0=_0x1f9b4b[_0x1ead61];return _0x34f2b0;}function _0x1f9b(){const _0x1d072f=['UniverCore','5803180NIzhAJ','getActiveUniverSheet','onCommandExecuted','getActiveSheet','_worksheet','SheetPrintConfirmed','15aeTgLy','3684595qjmNDy','PrintScale','function','SheetPrintCanceled','hasPrintFacadePermission','PrintPaperSize','_workbook','PrintAlign','PrintPaperMargin','CancelSheetPrintOperation','FRange','FUniver','print','openPrintDialog','BeforeSheetPrintOpen','layoutConfig','PaperType','saveScreenshotToClipboard','PrintDirection','PrintHeaderFooterSymbol','ConfirmSheetPrintOperation','222370oqiWIM','updateRenderConfig','renderConfig','1372296gMvZMm','SheetPrintOpenOperation','SheetPrintClientService','6323058fzBMuP','PrintArea','UniverSheetsFacade','updatePrintConfig','FEnum','amd','_initialize','PrintHeaderFooter','9061192bWwAkn','ICommandService','SheetPrintOpen','UniverCoreFacade','@univerjs/sheets/facade','beforeCommandExecuted','12310900eSamHc','cancel','BeforeSheetPrintCanceled','@univerjs/core','_injector','updatePrintRenderConfig','extend','UniverProSheetsPrint','PrintFreeze','SheetScreenShotOperation','registerEventHandler','get','ISheetPrintManagerService','Event','@univerjs-pro/sheets-print','syncExecuteCommand','includeHeaders','fireEvent','getSheetId','BeforeSheetPrintConfirm','getScreenshot','FWorkbook','FEventName','executeCommand','getRangeImage','CanceledError'];_0x1f9b=function(){return _0x1d072f;};return _0x1f9b();}
|