@univerjs-pro/sheets-print 0.7.0 → 0.8.0-beta.0
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.css +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 +16 -16
|
@@ -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 _0x54b1(_0x23263e,_0x66d5ee){const _0x1f28d4=_0x1f28();return _0x54b1=function(_0x54b100,_0x4b2abc){_0x54b100=_0x54b100-0x8f;let _0xf99b26=_0x1f28d4[_0x54b100];return _0xf99b26;},_0x54b1(_0x23263e,_0x66d5ee);}(function(_0x3b8d5a,_0x247df9){const _0x257e3e=_0x54b1,_0x577b4b=_0x3b8d5a();while(!![]){try{const _0x587e30=parseInt(_0x257e3e(0xd3))/0x1*(parseInt(_0x257e3e(0xa8))/0x2)+-parseInt(_0x257e3e(0x9d))/0x3*(parseInt(_0x257e3e(0xae))/0x4)+parseInt(_0x257e3e(0xc4))/0x5+parseInt(_0x257e3e(0xad))/0x6+parseInt(_0x257e3e(0xa4))/0x7+-parseInt(_0x257e3e(0xd0))/0x8+-parseInt(_0x257e3e(0xb7))/0x9;if(_0x587e30===_0x247df9)break;else _0x577b4b['push'](_0x577b4b['shift']());}catch(_0x24b128){_0x577b4b['push'](_0x577b4b['shift']());}}}(_0x1f28,0xbb6e1),function(_0x2651c5,_0x3edffa){const _0x4973fc=_0x54b1;typeof exports==_0x4973fc(0xb4)&&typeof module<'u'?_0x3edffa(require(_0x4973fc(0x91)),require('@univerjs/core'),require(_0x4973fc(0x97)),require(_0x4973fc(0xb6)),require(_0x4973fc(0xc6))):typeof define=='function'&&define[_0x4973fc(0xce)]?define([_0x4973fc(0x91),'@univerjs/core',_0x4973fc(0x97),_0x4973fc(0xb6),_0x4973fc(0xc6)],_0x3edffa):(_0x2651c5=typeof globalThis<'u'?globalThis:_0x2651c5||self,_0x3edffa(_0x2651c5['UniverProSheetsPrint'],_0x2651c5[_0x4973fc(0xca)],_0x2651c5['UniverSheetsFacade'],_0x2651c5[_0x4973fc(0xa1)],_0x2651c5[_0x4973fc(0xc8)]));}(this,function(_0x32b81d,_0x5b3b96,_0x56c593,_0x3e300d,_0x22a64b){'use strict';const _0x4a2aad=_0x54b1;class _0x9410fe extends _0x56c593[_0x4a2aad(0xc7)]{['updatePrintConfig'](_0xced545){const _0x4be499=_0x4a2aad;return this[_0x4be499(0xc5)][_0x4be499(0xbc)](_0x32b81d[_0x4be499(0x9a)])['updateLayoutConfig'](_0xced545),this;}[_0x4a2aad(0xc0)](_0x1fc56d){const _0x5a25d2=_0x4a2aad;return this[_0x5a25d2(0xc5)][_0x5a25d2(0xbc)](_0x32b81d['ISheetPrintManagerService'])[_0x5a25d2(0xba)](_0x1fc56d),this;}[_0x4a2aad(0x93)](){const _0x134b5f=_0x4a2aad;return this[_0x134b5f(0xc5)]['get'](_0x5b3b96[_0x134b5f(0xcd)])[_0x134b5f(0xb0)](_0x32b81d['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x4d81c0=_0x4a2aad;return this[_0x4d81c0(0xc5)][_0x4d81c0(0xbc)](_0x5b3b96[_0x4d81c0(0xcd)])[_0x4d81c0(0xb0)](_0x32b81d[_0x4d81c0(0xcc)]['id']);}[_0x4a2aad(0xa0)](){const _0x392a2d=_0x4a2aad;return this['_injector'][_0x392a2d(0xbc)](_0x5b3b96['ICommandService'])['syncExecuteCommand'](_0x32b81d[_0x392a2d(0x90)]['id']);}async[_0x4a2aad(0x98)](){const _0x2ed0db=_0x4a2aad;return _0x32b81d[_0x2ed0db(0xa3)](this[_0x2ed0db(0xc5)])?this[_0x2ed0db(0xc5)]['get'](_0x5b3b96[_0x2ed0db(0xcd)])[_0x2ed0db(0xa7)](_0x32b81d['SheetScreenShotOperation']['id']):!0x1;}}_0x56c593['FWorkbook'][_0x4a2aad(0xc1)](_0x9410fe);class _0x51d052 extends _0x56c593[_0x4a2aad(0xc2)]{[_0x4a2aad(0xb2)](){const _0x1bcb1f=_0x4a2aad;return _0x32b81d[_0x1bcb1f(0xa3)](this[_0x1bcb1f(0xc5)])?this[_0x1bcb1f(0xc5)]['get'](_0x32b81d[_0x1bcb1f(0x92)])[_0x1bcb1f(0xd5)](this[_0x1bcb1f(0x9e)][_0x1bcb1f(0xa2)](),this[_0x1bcb1f(0xc3)][_0x1bcb1f(0xa9)](),this['_range']):!0x1;}}_0x56c593[_0x4a2aad(0xc2)][_0x4a2aad(0xc1)](_0x51d052);class _0xa47b54{get[_0x4a2aad(0xbf)](){return'BeforeSheetPrintOpen';}get[_0x4a2aad(0x96)](){const _0x597303=_0x4a2aad;return _0x597303(0x96);}get['BeforeSheetPrintCanceled'](){const _0x4be708=_0x4a2aad;return _0x4be708(0xb1);}get['SheetPrintOpen'](){const _0x216072=_0x4a2aad;return _0x216072(0xa5);}get['SheetPrintConfirmed'](){const _0x1c431c=_0x4a2aad;return _0x1c431c(0xc9);}get['SheetPrintCanceled'](){const _0x25a645=_0x4a2aad;return _0x25a645(0xd1);}}_0x3e300d[_0x4a2aad(0x8f)][_0x4a2aad(0xc1)](_0xa47b54);class _0x4ff3a9{get[_0x4a2aad(0x9b)](){const _0x57553a=_0x4a2aad;return _0x32b81d[_0x57553a(0x9b)];}get[_0x4a2aad(0xb3)](){const _0x32ae42=_0x4a2aad;return _0x22a64b[_0x32ae42(0xb3)];}get[_0x4a2aad(0xb5)](){const _0x5b9d38=_0x4a2aad;return _0x5b3b96[_0x5b9d38(0xac)];}get['PrintPaperMargin'](){const _0x3b362a=_0x4a2aad;return _0x22a64b[_0x3b362a(0xd2)];}get[_0x4a2aad(0x94)](){const _0x112c97=_0x4a2aad;return _0x22a64b[_0x112c97(0x94)];}get['PrintDirection'](){return _0x22a64b['PrintDirection'];}get[_0x4a2aad(0xd4)](){const _0x52a4d6=_0x4a2aad;return _0x32b81d[_0x52a4d6(0xd4)];}get[_0x4a2aad(0xb8)](){const _0x38538f=_0x4a2aad;return _0x32b81d[_0x38538f(0xb8)];}get[_0x4a2aad(0xb9)](){const _0x279f06=_0x4a2aad;return _0x32b81d[_0x279f06(0xb9)];}}_0x3e300d['FEnum'][_0x4a2aad(0xc1)](_0x4ff3a9);class _0xa58280 extends _0x3e300d[_0x4a2aad(0xcb)]{[_0x4a2aad(0xaa)](_0xb7160d){const _0x480303=_0x4a2aad,_0x2d082b=_0xb7160d[_0x480303(0xbc)](_0x5b3b96[_0x480303(0xcd)]);this[_0x480303(0xd6)](this[_0x480303(0xcf)][_0x480303(0xbf)],()=>_0x2d082b[_0x480303(0xab)](_0x4d85f9=>{const _0x5c85a4=_0x480303;if(_0x4d85f9['id']===_0x32b81d[_0x5c85a4(0xcc)]['id']){const _0x29f037=this[_0x5c85a4(0xbd)]();if(!_0x29f037)return;const _0x514002={'workbook':_0x29f037,'worksheet':_0x29f037[_0x5c85a4(0xbb)]()};if(_0x514002==null)return;if(this['fireEvent'](this[_0x5c85a4(0xcf)][_0x5c85a4(0xbf)],_0x514002),_0x514002[_0x5c85a4(0x9f)])throw new _0x5b3b96['CanceledError']();}})),this[_0x480303(0xd6)](this[_0x480303(0xcf)][_0x480303(0x96)],()=>_0x2d082b[_0x480303(0xab)](_0x43770f=>{const _0x427a71=_0x480303;if(_0x43770f['id']===_0x32b81d[_0x427a71(0x95)]['id']){const _0x129518=_0xb7160d['get'](_0x32b81d[_0x427a71(0x9a)]);if(!this[_0x427a71(0xbd)]())return;const _0x2ddcd5={'layoutConfig':_0x129518[_0x427a71(0xbe)],'renderConfig':_0x129518['renderConfig']};if(_0x2ddcd5==null)return;if(this[_0x427a71(0xaf)](this['Event'][_0x427a71(0x96)],_0x2ddcd5),_0x2ddcd5['cancel'])throw new _0x5b3b96[(_0x427a71(0x99))]();}})),this[_0x480303(0xd6)](this['Event'][_0x480303(0xb1)],()=>_0x2d082b[_0x480303(0xab)](_0x3eec31=>{const _0x56681b=_0x480303;if(_0x3eec31['id']===_0x32b81d[_0x56681b(0x90)]['id']){const _0xd59b08=_0xb7160d[_0x56681b(0xbc)](_0x32b81d[_0x56681b(0x9a)]);if(!this[_0x56681b(0xbd)]())return;const _0x423e06={'layoutConfig':_0xd59b08[_0x56681b(0xbe)],'renderConfig':_0xd59b08['renderConfig']};if(_0x423e06==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintCanceled'],_0x423e06),_0x423e06[_0x56681b(0x9f)])throw new _0x5b3b96[(_0x56681b(0x99))]();}})),this['registerEventHandler'](this[_0x480303(0xcf)][_0x480303(0xa5)],()=>_0x2d082b[_0x480303(0xa6)](_0x2c5834=>{const _0x578b66=_0x480303;if(_0x2c5834['id']===_0x32b81d[_0x578b66(0xcc)]['id']){const _0x42b2f0=this[_0x578b66(0xbd)]();if(!_0x42b2f0)return;const _0x234e32={'workbook':_0x42b2f0,'worksheet':_0x42b2f0[_0x578b66(0xbb)]()};if(_0x234e32==null)return;this[_0x578b66(0xaf)](this[_0x578b66(0xcf)][_0x578b66(0xa5)],_0x234e32);}})),this['registerEventHandler'](this[_0x480303(0xcf)][_0x480303(0xc9)],()=>_0x2d082b[_0x480303(0xa6)](_0x416e76=>{const _0x2ce79f=_0x480303;if(_0x416e76['id']===_0x32b81d[_0x2ce79f(0x95)]['id']){const _0x3ca4fa=_0xb7160d['get'](_0x32b81d[_0x2ce79f(0x9a)]);if(!this['getActiveUniverSheet']())return;const _0x5af5fe={'layoutConfig':_0x3ca4fa['layoutConfig'],'renderConfig':_0x3ca4fa[_0x2ce79f(0x9c)]};if(_0x5af5fe==null)return;this[_0x2ce79f(0xaf)](this[_0x2ce79f(0xcf)][_0x2ce79f(0xc9)],_0x5af5fe);}})),this[_0x480303(0xd6)](this[_0x480303(0xcf)][_0x480303(0xd1)],()=>_0x2d082b['onCommandExecuted'](_0x280e19=>{const _0x316105=_0x480303;if(_0x280e19['id']===_0x32b81d[_0x316105(0x90)]['id']){const _0x5e92d6=_0xb7160d[_0x316105(0xbc)](_0x32b81d[_0x316105(0x9a)]);if(!this[_0x316105(0xbd)]())return;const _0x515ec2={'layoutConfig':_0x5e92d6[_0x316105(0xbe)],'renderConfig':_0x5e92d6[_0x316105(0x9c)]};if(_0x515ec2==null)return;this[_0x316105(0xaf)](this[_0x316105(0xcf)][_0x316105(0xd1)],_0x515ec2);}}));}}_0x3e300d[_0x4a2aad(0xcb)][_0x4a2aad(0xc1)](_0xa58280);}));function _0x1f28(){const _0x36e6f5=['1288986DajWlW','getSheetId','_initialize','beforeCommandExecuted','PaperType','7215588ZrZYBw','1425588Pmjpde','fireEvent','syncExecuteCommand','BeforeSheetPrintCanceled','getScreenshot','PrintAlign','object','PrintPaperSize','@univerjs/core/facade','8557110HfrANq','PrintHeaderFooter','PrintHeaderFooterSymbol','updateRenderConfig','getActiveSheet','get','getActiveUniverSheet','layoutConfig','BeforeSheetPrintOpen','updatePrintRenderConfig','extend','FRange','_worksheet','6014075ydbznK','_injector','@univerjs-pro/print','FWorkbook','UniverProPrint','SheetPrintConfirmed','UniverCore','FUniver','SheetPrintOpenOperation','ICommandService','amd','Event','9085784oVzJjf','SheetPrintCanceled','PrintPaperMargin','1GGEWBl','PrintFreeze','getRangeImage','registerEventHandler','FEventName','CancelSheetPrintOperation','@univerjs-pro/sheets-print','SheetPrintClientService','print','PrintScale','ConfirmSheetPrintOperation','BeforeSheetPrintConfirm','@univerjs/sheets/facade','saveScreenshotToClipboard','CanceledError','ISheetPrintManagerService','PrintArea','renderConfig','3VvDQVR','_workbook','cancel','closePrintDialog','UniverCoreFacade','getUnitId','hasPrintFacadePermission','1125019YTFVGM','SheetPrintOpen','onCommandExecuted','executeCommand'];_0x1f28=function(){return _0x36e6f5;};return _0x1f28();}
|