@univerjs-pro/sheets-print 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505231607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +141 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -142
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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
|
@@ -1,3 +1,142 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const locale: {
|
|
2
|
+
print: {
|
|
3
|
+
header: {
|
|
4
|
+
total: string;
|
|
5
|
+
pages: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
next: string;
|
|
8
|
+
printing: string;
|
|
9
|
+
};
|
|
10
|
+
menu: string;
|
|
11
|
+
title: string;
|
|
12
|
+
screenshot: {
|
|
13
|
+
title: string;
|
|
14
|
+
success: string;
|
|
15
|
+
fail: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
title: string;
|
|
19
|
+
letter: string;
|
|
20
|
+
tabloid: string;
|
|
21
|
+
legal: string;
|
|
22
|
+
statement: string;
|
|
23
|
+
executive: string;
|
|
24
|
+
folio: string;
|
|
25
|
+
a3: string;
|
|
26
|
+
a4: string;
|
|
27
|
+
a5: string;
|
|
28
|
+
b4: string;
|
|
29
|
+
b5: string;
|
|
30
|
+
};
|
|
31
|
+
margin: {
|
|
32
|
+
title: string;
|
|
33
|
+
normal: string;
|
|
34
|
+
narrow: string;
|
|
35
|
+
wide: string;
|
|
36
|
+
};
|
|
37
|
+
area: {
|
|
38
|
+
title: string;
|
|
39
|
+
currentSheet: string;
|
|
40
|
+
workbook: string;
|
|
41
|
+
currentSelection: string;
|
|
42
|
+
maxRowsEachPage: string;
|
|
43
|
+
maxColumnsEachPage: string;
|
|
44
|
+
limit: string;
|
|
45
|
+
allSelection: string;
|
|
46
|
+
};
|
|
47
|
+
selection: {
|
|
48
|
+
title: string;
|
|
49
|
+
allWorkbook: string;
|
|
50
|
+
workbookUnit: string;
|
|
51
|
+
};
|
|
52
|
+
scale: {
|
|
53
|
+
title: string;
|
|
54
|
+
normal: string;
|
|
55
|
+
fitWidth: string;
|
|
56
|
+
fitHeight: string;
|
|
57
|
+
fitPage: string;
|
|
58
|
+
custom: string;
|
|
59
|
+
};
|
|
60
|
+
orientation: {
|
|
61
|
+
title: string;
|
|
62
|
+
landscape: string;
|
|
63
|
+
portrait: string;
|
|
64
|
+
};
|
|
65
|
+
formatting: {
|
|
66
|
+
title: string;
|
|
67
|
+
skeleton: string;
|
|
68
|
+
waterMark: string;
|
|
69
|
+
};
|
|
70
|
+
align: {
|
|
71
|
+
title: string;
|
|
72
|
+
horizontal: {
|
|
73
|
+
title: string;
|
|
74
|
+
middle: string;
|
|
75
|
+
start: string;
|
|
76
|
+
end: string;
|
|
77
|
+
};
|
|
78
|
+
vertical: {
|
|
79
|
+
title: string;
|
|
80
|
+
start: string;
|
|
81
|
+
end: string;
|
|
82
|
+
middle: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
headerFooter: {
|
|
86
|
+
title: string;
|
|
87
|
+
page: string;
|
|
88
|
+
workbook: string;
|
|
89
|
+
sheet: string;
|
|
90
|
+
date: string;
|
|
91
|
+
time: string;
|
|
92
|
+
customHeadFooter: string;
|
|
93
|
+
editCustomHeadFooter: string;
|
|
94
|
+
header: string;
|
|
95
|
+
footer: string;
|
|
96
|
+
left: string;
|
|
97
|
+
right: string;
|
|
98
|
+
center: string;
|
|
99
|
+
dateFormat: string;
|
|
100
|
+
dateA: string;
|
|
101
|
+
dateB: string;
|
|
102
|
+
dateC: string;
|
|
103
|
+
dateD: string;
|
|
104
|
+
timeA: string;
|
|
105
|
+
timeB: string;
|
|
106
|
+
timeC: string;
|
|
107
|
+
timeD: string;
|
|
108
|
+
display: {
|
|
109
|
+
page: string;
|
|
110
|
+
title: string;
|
|
111
|
+
sheet: string;
|
|
112
|
+
dateA: string;
|
|
113
|
+
dateB: string;
|
|
114
|
+
dateC: string;
|
|
115
|
+
dateD: string;
|
|
116
|
+
dateE: string;
|
|
117
|
+
dateF: string;
|
|
118
|
+
timeA: string;
|
|
119
|
+
timeB: string;
|
|
120
|
+
timeC: string;
|
|
121
|
+
timeD: string;
|
|
122
|
+
sheetPage: string;
|
|
123
|
+
pageTotal: string;
|
|
124
|
+
sheetPageTotal: string;
|
|
125
|
+
};
|
|
126
|
+
placeholder: string;
|
|
127
|
+
submit: string;
|
|
128
|
+
};
|
|
129
|
+
freeze: {
|
|
130
|
+
title: string;
|
|
131
|
+
desc: string;
|
|
132
|
+
row: string;
|
|
133
|
+
column: string;
|
|
134
|
+
};
|
|
135
|
+
limit: {
|
|
136
|
+
page: string;
|
|
137
|
+
waterMark: string;
|
|
138
|
+
link: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
3
142
|
export default locale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare const locale: typeof
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
3
|
export default locale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare const locale: typeof
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
3
|
export default locale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare const locale: typeof
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
3
|
export default locale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare const locale: typeof
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
3
|
export default locale;
|
|
@@ -1,142 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
total: string;
|
|
5
|
-
pages: string;
|
|
6
|
-
cancel: string;
|
|
7
|
-
next: string;
|
|
8
|
-
printing: string;
|
|
9
|
-
};
|
|
10
|
-
menu: string;
|
|
11
|
-
title: string;
|
|
12
|
-
screenshot: {
|
|
13
|
-
title: string;
|
|
14
|
-
success: string;
|
|
15
|
-
fail: string;
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
title: string;
|
|
19
|
-
letter: string;
|
|
20
|
-
tabloid: string;
|
|
21
|
-
legal: string;
|
|
22
|
-
statement: string;
|
|
23
|
-
executive: string;
|
|
24
|
-
folio: string;
|
|
25
|
-
a3: string;
|
|
26
|
-
a4: string;
|
|
27
|
-
a5: string;
|
|
28
|
-
b4: string;
|
|
29
|
-
b5: string;
|
|
30
|
-
};
|
|
31
|
-
margin: {
|
|
32
|
-
title: string;
|
|
33
|
-
normal: string;
|
|
34
|
-
narrow: string;
|
|
35
|
-
wide: string;
|
|
36
|
-
};
|
|
37
|
-
area: {
|
|
38
|
-
title: string;
|
|
39
|
-
currentSheet: string;
|
|
40
|
-
workbook: string;
|
|
41
|
-
currentSelection: string;
|
|
42
|
-
maxRowsEachPage: string;
|
|
43
|
-
maxColumnsEachPage: string;
|
|
44
|
-
limit: string;
|
|
45
|
-
allSelection: string;
|
|
46
|
-
};
|
|
47
|
-
selection: {
|
|
48
|
-
title: string;
|
|
49
|
-
allWorkbook: string;
|
|
50
|
-
workbookUnit: string;
|
|
51
|
-
};
|
|
52
|
-
scale: {
|
|
53
|
-
title: string;
|
|
54
|
-
normal: string;
|
|
55
|
-
fitWidth: string;
|
|
56
|
-
fitHeight: string;
|
|
57
|
-
fitPage: string;
|
|
58
|
-
custom: string;
|
|
59
|
-
};
|
|
60
|
-
orientation: {
|
|
61
|
-
title: string;
|
|
62
|
-
landscape: string;
|
|
63
|
-
portrait: string;
|
|
64
|
-
};
|
|
65
|
-
formatting: {
|
|
66
|
-
title: string;
|
|
67
|
-
skeleton: string;
|
|
68
|
-
waterMark: string;
|
|
69
|
-
};
|
|
70
|
-
align: {
|
|
71
|
-
title: string;
|
|
72
|
-
horizontal: {
|
|
73
|
-
title: string;
|
|
74
|
-
middle: string;
|
|
75
|
-
start: string;
|
|
76
|
-
end: string;
|
|
77
|
-
};
|
|
78
|
-
vertical: {
|
|
79
|
-
title: string;
|
|
80
|
-
start: string;
|
|
81
|
-
end: string;
|
|
82
|
-
middle: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
headerFooter: {
|
|
86
|
-
title: string;
|
|
87
|
-
page: string;
|
|
88
|
-
workbook: string;
|
|
89
|
-
sheet: string;
|
|
90
|
-
date: string;
|
|
91
|
-
time: string;
|
|
92
|
-
customHeadFooter: string;
|
|
93
|
-
editCustomHeadFooter: string;
|
|
94
|
-
header: string;
|
|
95
|
-
footer: string;
|
|
96
|
-
left: string;
|
|
97
|
-
right: string;
|
|
98
|
-
center: string;
|
|
99
|
-
dateFormat: string;
|
|
100
|
-
dateA: string;
|
|
101
|
-
dateB: string;
|
|
102
|
-
dateC: string;
|
|
103
|
-
dateD: string;
|
|
104
|
-
timeA: string;
|
|
105
|
-
timeB: string;
|
|
106
|
-
timeC: string;
|
|
107
|
-
timeD: string;
|
|
108
|
-
display: {
|
|
109
|
-
page: string;
|
|
110
|
-
title: string;
|
|
111
|
-
sheet: string;
|
|
112
|
-
dateA: string;
|
|
113
|
-
dateB: string;
|
|
114
|
-
dateC: string;
|
|
115
|
-
dateD: string;
|
|
116
|
-
dateE: string;
|
|
117
|
-
dateF: string;
|
|
118
|
-
timeA: string;
|
|
119
|
-
timeB: string;
|
|
120
|
-
timeC: string;
|
|
121
|
-
timeD: string;
|
|
122
|
-
sheetPage: string;
|
|
123
|
-
pageTotal: string;
|
|
124
|
-
sheetPageTotal: string;
|
|
125
|
-
};
|
|
126
|
-
placeholder: string;
|
|
127
|
-
submit: string;
|
|
128
|
-
};
|
|
129
|
-
freeze: {
|
|
130
|
-
title: string;
|
|
131
|
-
desc: string;
|
|
132
|
-
row: string;
|
|
133
|
-
column: string;
|
|
134
|
-
};
|
|
135
|
-
limit: {
|
|
136
|
-
page: string;
|
|
137
|
-
waterMark: string;
|
|
138
|
-
link: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
export default locales;
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
|
+
export default locale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare const locale: typeof
|
|
1
|
+
import { default as enUS } from './en-US';
|
|
2
|
+
declare const locale: typeof enUS;
|
|
3
3
|
export default locale;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x18be(_0x5be67e,_0x170831){const _0x2f17ea=_0x2f17();return _0x18be=function(_0x18becc,_0x497336){_0x18becc=_0x18becc-0xb6;let _0x53f374=_0x2f17ea[_0x18becc];return _0x53f374;},_0x18be(_0x5be67e,_0x170831);}(function(_0x3eee73,_0x3dccb0){const _0x469941=_0x18be,_0x547189=_0x3eee73();while(!![]){try{const _0x12aff0=parseInt(_0x469941(0xc0))/0x1*(-parseInt(_0x469941(0xfc))/0x2)+-parseInt(_0x469941(0xd1))/0x3*(parseInt(_0x469941(0xdf))/0x4)+parseInt(_0x469941(0xe3))/0x5+-parseInt(_0x469941(0xd0))/0x6+parseInt(_0x469941(0xd8))/0x7+-parseInt(_0x469941(0xb6))/0x8*(-parseInt(_0x469941(0xf4))/0x9)+parseInt(_0x469941(0xc8))/0xa*(parseInt(_0x469941(0xfe))/0xb);if(_0x12aff0===_0x3dccb0)break;else _0x547189['push'](_0x547189['shift']());}catch(_0x405246){_0x547189['push'](_0x547189['shift']());}}}(_0x2f17,0x9f733),function(_0x30891b,_0x40c116){const _0x2c6dd1=_0x18be;typeof exports==_0x2c6dd1(0xd9)&&typeof module<'u'?_0x40c116(require(_0x2c6dd1(0xc1)),require('@univerjs/core'),require(_0x2c6dd1(0xb7)),require('@univerjs/core/facade'),require(_0x2c6dd1(0xdb))):typeof define==_0x2c6dd1(0xb9)&&define['amd']?define(['@univerjs-pro/sheets-print','@univerjs/core','@univerjs/sheets/facade','@univerjs/core/facade',_0x2c6dd1(0xdb)],_0x40c116):(_0x30891b=typeof globalThis<'u'?globalThis:_0x30891b||self,_0x40c116(_0x30891b[_0x2c6dd1(0xd6)],_0x30891b['UniverCore'],_0x30891b['UniverSheetsFacade'],_0x30891b[_0x2c6dd1(0xd5)],_0x30891b[_0x2c6dd1(0xbc)]));}(this,function(_0x489803,_0x4aed5b,_0x37a6f5,_0x15a686,_0x457456){'use strict';const _0x49c651=_0x18be;class _0x11d1f2 extends _0x37a6f5[_0x49c651(0xbf)]{['updatePrintConfig'](_0x46e34a){const _0x1554ee=_0x49c651;return this['_injector'][_0x1554ee(0xfa)](_0x489803[_0x1554ee(0xbb)])[_0x1554ee(0xce)](_0x46e34a),this;}[_0x49c651(0xc4)](_0x5a4b5e){const _0x502470=_0x49c651;return this[_0x502470(0xf6)][_0x502470(0xfa)](_0x489803[_0x502470(0xbb)])['updateRenderConfig'](_0x5a4b5e),this;}[_0x49c651(0xee)](){const _0x1b42cc=_0x49c651;return this[_0x1b42cc(0xf6)][_0x1b42cc(0xfa)](_0x4aed5b[_0x1b42cc(0xd7)])[_0x1b42cc(0xf9)](_0x489803[_0x1b42cc(0xe4)]['id']);}[_0x49c651(0xed)](){const _0x49cc2c=_0x49c651;return this[_0x49cc2c(0xf6)][_0x49cc2c(0xfa)](_0x4aed5b[_0x49cc2c(0xd7)])[_0x49cc2c(0xf9)](_0x489803[_0x49cc2c(0xc6)]['id']);}[_0x49c651(0xde)](){const _0x5d9265=_0x49c651;return this['_injector'][_0x5d9265(0xfa)](_0x4aed5b['ICommandService'])[_0x5d9265(0xf9)](_0x489803[_0x5d9265(0xc9)]['id']);}async[_0x49c651(0xeb)](){const _0x469e32=_0x49c651;return _0x489803[_0x469e32(0xb8)](this[_0x469e32(0xf6)])?this[_0x469e32(0xf6)][_0x469e32(0xfa)](_0x4aed5b[_0x469e32(0xd7)])['executeCommand'](_0x489803[_0x469e32(0xf2)]['id']):!0x1;}}_0x37a6f5['FWorkbook'][_0x49c651(0xf0)](_0x11d1f2);class _0x3f76dd extends _0x37a6f5[_0x49c651(0xf3)]{[_0x49c651(0xc7)](){const _0x297608=_0x49c651;return _0x489803[_0x297608(0xb8)](this[_0x297608(0xf6)])?this[_0x297608(0xf6)][_0x297608(0xfa)](_0x489803[_0x297608(0xe7)])[_0x297608(0xe5)](this[_0x297608(0xea)]['getUnitId'](),this[_0x297608(0xdc)]['getSheetId'](),this[_0x297608(0xcb)]):!0x1;}}_0x37a6f5[_0x49c651(0xf3)][_0x49c651(0xf0)](_0x3f76dd);class _0x524c3c{get[_0x49c651(0xd3)](){const _0x576892=_0x49c651;return _0x576892(0xd3);}get[_0x49c651(0xe1)](){return'BeforeSheetPrintConfirm';}get[_0x49c651(0xe2)](){const _0x458427=_0x49c651;return _0x458427(0xe2);}get[_0x49c651(0xca)](){const _0x344d18=_0x49c651;return _0x344d18(0xca);}get[_0x49c651(0xbe)](){const _0x201685=_0x49c651;return _0x201685(0xbe);}get['SheetPrintCanceled'](){const _0x5862d6=_0x49c651;return _0x5862d6(0xc3);}}_0x15a686[_0x49c651(0xda)][_0x49c651(0xf0)](_0x524c3c);class _0xd4131d{get[_0x49c651(0xc5)](){return _0x489803['PrintArea'];}get[_0x49c651(0xcc)](){const _0x26ea61=_0x49c651;return _0x457456[_0x26ea61(0xcc)];}get['PrintPaperSize'](){const _0x11711f=_0x49c651;return _0x4aed5b[_0x11711f(0xe9)];}get[_0x49c651(0xf8)](){const _0x5afc47=_0x49c651;return _0x457456[_0x5afc47(0xf8)];}get[_0x49c651(0xe8)](){return _0x457456['PrintScale'];}get['PrintDirection'](){const _0x484a4b=_0x49c651;return _0x457456[_0x484a4b(0xd4)];}get['PrintFreeze'](){return _0x489803['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x5a6dc5=_0x49c651;return _0x489803[_0x5a6dc5(0xf1)];}get[_0x49c651(0xf5)](){const _0x50a219=_0x49c651;return _0x489803[_0x50a219(0xf5)];}}_0x15a686[_0x49c651(0xfd)][_0x49c651(0xf0)](_0xd4131d);class _0x254c49 extends _0x15a686['FUniver']{[_0x49c651(0xe6)](_0x4c1d52){const _0x5a3c2c=_0x49c651,_0x1110ad=_0x4c1d52[_0x5a3c2c(0xfa)](_0x4aed5b[_0x5a3c2c(0xd7)]);this[_0x5a3c2c(0xd2)](this[_0x5a3c2c(0xfb)][_0x5a3c2c(0xd3)],()=>_0x1110ad[_0x5a3c2c(0xf7)](_0x28a662=>{const _0x4af38b=_0x5a3c2c;if(_0x28a662['id']===_0x489803[_0x4af38b(0xc6)]['id']){const _0x2dff45=this['getActiveUniverSheet']();if(!_0x2dff45)return;const _0x523450={'workbook':_0x2dff45,'worksheet':_0x2dff45[_0x4af38b(0xcd)]()};if(_0x523450==null)return;if(this[_0x4af38b(0xdd)](this['Event'][_0x4af38b(0xd3)],_0x523450),_0x523450[_0x4af38b(0xe0)])throw new _0x4aed5b[(_0x4af38b(0xec))]();}})),this[_0x5a3c2c(0xd2)](this[_0x5a3c2c(0xfb)][_0x5a3c2c(0xe1)],()=>_0x1110ad[_0x5a3c2c(0xf7)](_0x41a82f=>{const _0x51c623=_0x5a3c2c;if(_0x41a82f['id']===_0x489803['ConfirmSheetPrintOperation']['id']){const _0x5d3fc6=_0x4c1d52['get'](_0x489803[_0x51c623(0xbb)]);if(!this[_0x51c623(0xcf)]())return;const _0x310e1a={'layoutConfig':_0x5d3fc6['layoutConfig'],'renderConfig':_0x5d3fc6[_0x51c623(0xba)]};if(_0x310e1a==null)return;if(this[_0x51c623(0xdd)](this[_0x51c623(0xfb)][_0x51c623(0xe1)],_0x310e1a),_0x310e1a[_0x51c623(0xe0)])throw new _0x4aed5b[(_0x51c623(0xec))]();}})),this['registerEventHandler'](this[_0x5a3c2c(0xfb)][_0x5a3c2c(0xe2)],()=>_0x1110ad['beforeCommandExecuted'](_0x40f404=>{const _0x3771f9=_0x5a3c2c;if(_0x40f404['id']===_0x489803[_0x3771f9(0xc9)]['id']){const _0x331067=_0x4c1d52[_0x3771f9(0xfa)](_0x489803[_0x3771f9(0xbb)]);if(!this[_0x3771f9(0xcf)]())return;const _0x438852={'layoutConfig':_0x331067[_0x3771f9(0xbd)],'renderConfig':_0x331067['renderConfig']};if(_0x438852==null)return;if(this[_0x3771f9(0xdd)](this['Event'][_0x3771f9(0xe2)],_0x438852),_0x438852[_0x3771f9(0xe0)])throw new _0x4aed5b[(_0x3771f9(0xec))]();}})),this['registerEventHandler'](this['Event'][_0x5a3c2c(0xca)],()=>_0x1110ad[_0x5a3c2c(0xc2)](_0x582ea5=>{const _0x55662e=_0x5a3c2c;if(_0x582ea5['id']===_0x489803[_0x55662e(0xc6)]['id']){const _0x4867bb=this[_0x55662e(0xcf)]();if(!_0x4867bb)return;const _0x4b88df={'workbook':_0x4867bb,'worksheet':_0x4867bb[_0x55662e(0xcd)]()};if(_0x4b88df==null)return;this[_0x55662e(0xdd)](this[_0x55662e(0xfb)][_0x55662e(0xca)],_0x4b88df);}})),this[_0x5a3c2c(0xd2)](this[_0x5a3c2c(0xfb)][_0x5a3c2c(0xbe)],()=>_0x1110ad[_0x5a3c2c(0xc2)](_0xa982d5=>{const _0xe54217=_0x5a3c2c;if(_0xa982d5['id']===_0x489803['ConfirmSheetPrintOperation']['id']){const _0x153161=_0x4c1d52['get'](_0x489803[_0xe54217(0xbb)]);if(!this[_0xe54217(0xcf)]())return;const _0x1b9eb9={'layoutConfig':_0x153161[_0xe54217(0xbd)],'renderConfig':_0x153161['renderConfig']};if(_0x1b9eb9==null)return;this[_0xe54217(0xdd)](this[_0xe54217(0xfb)][_0xe54217(0xbe)],_0x1b9eb9);}})),this['registerEventHandler'](this[_0x5a3c2c(0xfb)][_0x5a3c2c(0xc3)],()=>_0x1110ad[_0x5a3c2c(0xc2)](_0x1a4e1f=>{const _0x1ecffd=_0x5a3c2c;if(_0x1a4e1f['id']===_0x489803['CancelSheetPrintOperation']['id']){const _0x5a366f=_0x4c1d52['get'](_0x489803[_0x1ecffd(0xbb)]);if(!this['getActiveUniverSheet']())return;const _0x2370f3={'layoutConfig':_0x5a366f['layoutConfig'],'renderConfig':_0x5a366f[_0x1ecffd(0xba)]};if(_0x2370f3==null)return;this[_0x1ecffd(0xdd)](this[_0x1ecffd(0xfb)][_0x1ecffd(0xc3)],_0x2370f3);}}));}}_0x15a686[_0x49c651(0xef)][_0x49c651(0xf0)](_0x254c49);}));function _0x2f17(){const _0x3ffbb8=['saveScreenshotToClipboard','CanceledError','openPrintDialog','print','FUniver','extend','PrintHeaderFooter','SheetScreenShotOperation','FRange','892953zGycCC','PrintHeaderFooterSymbol','_injector','beforeCommandExecuted','PrintPaperMargin','syncExecuteCommand','get','Event','249694bZCUHq','FEnum','66693DNRKRw','104daAsuk','@univerjs/sheets/facade','hasPrintFacadePermission','function','renderConfig','ISheetPrintManagerService','UniverProPrint','layoutConfig','SheetPrintConfirmed','FWorkbook','4WegEqa','@univerjs-pro/sheets-print','onCommandExecuted','SheetPrintCanceled','updatePrintRenderConfig','PrintArea','SheetPrintOpenOperation','getScreenshot','830vxMiuU','CancelSheetPrintOperation','SheetPrintOpen','_range','PrintAlign','getActiveSheet','updateLayoutConfig','getActiveUniverSheet','872196ehohEh','9ZDmVOc','registerEventHandler','BeforeSheetPrintOpen','PrintDirection','UniverCoreFacade','UniverProSheetsPrint','ICommandService','1575518ixVEwh','object','FEventName','@univerjs-pro/print','_worksheet','fireEvent','closePrintDialog','1062508lHCgQb','cancel','BeforeSheetPrintConfirm','BeforeSheetPrintCanceled','383090WGfTHT','ConfirmSheetPrintOperation','getRangeImage','_initialize','SheetPrintClientService','PrintScale','PaperType','_workbook'];_0x2f17=function(){return _0x3ffbb8;};return _0x2f17();}
|