@univerjs-pro/sheets-print 0.7.0 → 0.8.0-nightly.202505261607
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 +39 -39
- 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 _0x5c0a(_0x2ee0d4,_0x2ab770){const _0x53d323=_0x53d3();return _0x5c0a=function(_0x5c0ab2,_0x11e543){_0x5c0ab2=_0x5c0ab2-0xeb;let _0x327923=_0x53d323[_0x5c0ab2];return _0x327923;},_0x5c0a(_0x2ee0d4,_0x2ab770);}(function(_0x5e23e7,_0x27cb5f){const _0x478d23=_0x5c0a,_0x2b5a29=_0x5e23e7();while(!![]){try{const _0x5a4821=parseInt(_0x478d23(0x12f))/0x1*(parseInt(_0x478d23(0x135))/0x2)+-parseInt(_0x478d23(0x107))/0x3*(parseInt(_0x478d23(0xf8))/0x4)+parseInt(_0x478d23(0xf1))/0x5+-parseInt(_0x478d23(0x128))/0x6+parseInt(_0x478d23(0xef))/0x7*(parseInt(_0x478d23(0x130))/0x8)+-parseInt(_0x478d23(0x115))/0x9+-parseInt(_0x478d23(0x131))/0xa;if(_0x5a4821===_0x27cb5f)break;else _0x2b5a29['push'](_0x2b5a29['shift']());}catch(_0x1fecca){_0x2b5a29['push'](_0x2b5a29['shift']());}}}(_0x53d3,0x83247),function(_0x2b8881,_0x1437fe){const _0x30d80e=_0x5c0a;typeof exports==_0x30d80e(0x12e)&&typeof module<'u'?_0x1437fe(require(_0x30d80e(0x100)),require('@univerjs/core'),require(_0x30d80e(0xf0)),require(_0x30d80e(0xeb)),require('@univerjs-pro/print')):typeof define==_0x30d80e(0x132)&&define['amd']?define([_0x30d80e(0x100),'@univerjs/core',_0x30d80e(0xf0),_0x30d80e(0xeb),_0x30d80e(0xf9)],_0x1437fe):(_0x2b8881=typeof globalThis<'u'?globalThis:_0x2b8881||self,_0x1437fe(_0x2b8881[_0x30d80e(0xff)],_0x2b8881[_0x30d80e(0x116)],_0x2b8881[_0x30d80e(0xec)],_0x2b8881[_0x30d80e(0x133)],_0x2b8881[_0x30d80e(0x12b)]));}(this,function(_0x2da865,_0x320d9b,_0x3ab345,_0x3000e8,_0x99f37c){'use strict';const _0x5a9e7c=_0x5c0a;class _0x442a72 extends _0x3ab345[_0x5a9e7c(0x103)]{[_0x5a9e7c(0x10e)](_0x1a010a){const _0x5cadc4=_0x5a9e7c;return this[_0x5cadc4(0x12a)]['get'](_0x2da865[_0x5cadc4(0x120)])['updateLayoutConfig'](_0x1a010a),this;}[_0x5a9e7c(0xfe)](_0xe7a163){const _0x21b78b=_0x5a9e7c;return this['_injector'][_0x21b78b(0x10b)](_0x2da865[_0x21b78b(0x120)])[_0x21b78b(0x11c)](_0xe7a163),this;}[_0x5a9e7c(0x104)](){const _0x4fbab4=_0x5a9e7c;return this[_0x4fbab4(0x12a)][_0x4fbab4(0x10b)](_0x320d9b['ICommandService'])[_0x4fbab4(0x10c)](_0x2da865['ConfirmSheetPrintOperation']['id']);}[_0x5a9e7c(0xf3)](){const _0x135026=_0x5a9e7c;return this[_0x135026(0x12a)][_0x135026(0x10b)](_0x320d9b[_0x135026(0x110)])[_0x135026(0x10c)](_0x2da865['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x1f0359=_0x5a9e7c;return this['_injector'][_0x1f0359(0x10b)](_0x320d9b['ICommandService'])[_0x1f0359(0x10c)](_0x2da865[_0x1f0359(0x11a)]['id']);}async[_0x5a9e7c(0xf4)](){const _0x5257b8=_0x5a9e7c;return _0x2da865[_0x5257b8(0xed)](this[_0x5257b8(0x12a)])?this[_0x5257b8(0x12a)]['get'](_0x320d9b['ICommandService'])[_0x5257b8(0x121)](_0x2da865['SheetScreenShotOperation']['id']):!0x1;}}_0x3ab345[_0x5a9e7c(0x103)][_0x5a9e7c(0x11f)](_0x442a72);class _0x21cfd2 extends _0x3ab345[_0x5a9e7c(0x114)]{[_0x5a9e7c(0x11d)](){const _0x3bb9d0=_0x5a9e7c;return _0x2da865[_0x3bb9d0(0xed)](this[_0x3bb9d0(0x12a)])?this[_0x3bb9d0(0x12a)]['get'](_0x2da865['SheetPrintClientService'])['getRangeImage'](this[_0x3bb9d0(0x105)]['getUnitId'](),this[_0x3bb9d0(0xfc)][_0x3bb9d0(0xfd)](),this[_0x3bb9d0(0xee)]):!0x1;}}_0x3ab345[_0x5a9e7c(0x114)]['extend'](_0x21cfd2);class _0x40554f{get[_0x5a9e7c(0x102)](){const _0xb90047=_0x5a9e7c;return _0xb90047(0x102);}get['BeforeSheetPrintConfirm'](){const _0x207183=_0x5a9e7c;return _0x207183(0xf7);}get[_0x5a9e7c(0x101)](){return'BeforeSheetPrintCanceled';}get[_0x5a9e7c(0x122)](){return'SheetPrintOpen';}get[_0x5a9e7c(0xf5)](){const _0x7544a1=_0x5a9e7c;return _0x7544a1(0xf5);}get[_0x5a9e7c(0x10f)](){const _0x35d4f2=_0x5a9e7c;return _0x35d4f2(0x10f);}}_0x3000e8[_0x5a9e7c(0x117)][_0x5a9e7c(0x11f)](_0x40554f);class _0x1adca9{get[_0x5a9e7c(0x129)](){const _0x4019ea=_0x5a9e7c;return _0x2da865[_0x4019ea(0x129)];}get[_0x5a9e7c(0x11e)](){const _0x398f2d=_0x5a9e7c;return _0x99f37c[_0x398f2d(0x11e)];}get[_0x5a9e7c(0x126)](){const _0x441fb6=_0x5a9e7c;return _0x320d9b[_0x441fb6(0x12c)];}get[_0x5a9e7c(0x106)](){const _0x2f5ae5=_0x5a9e7c;return _0x99f37c[_0x2f5ae5(0x106)];}get[_0x5a9e7c(0xf2)](){return _0x99f37c['PrintScale'];}get[_0x5a9e7c(0xfa)](){const _0x2f8e99=_0x5a9e7c;return _0x99f37c[_0x2f8e99(0xfa)];}get[_0x5a9e7c(0x134)](){const _0xa197d7=_0x5a9e7c;return _0x2da865[_0xa197d7(0x134)];}get[_0x5a9e7c(0x113)](){return _0x2da865['PrintHeaderFooter'];}get[_0x5a9e7c(0x112)](){const _0x169fe4=_0x5a9e7c;return _0x2da865[_0x169fe4(0x112)];}}_0x3000e8[_0x5a9e7c(0x108)][_0x5a9e7c(0x11f)](_0x1adca9);class _0x724ba6 extends _0x3000e8['FUniver']{[_0x5a9e7c(0x10a)](_0x1228f5){const _0x2023c0=_0x5a9e7c,_0x390092=_0x1228f5[_0x2023c0(0x10b)](_0x320d9b[_0x2023c0(0x110)]);this[_0x2023c0(0x111)](this['Event'][_0x2023c0(0x102)],()=>_0x390092[_0x2023c0(0x119)](_0xf695c6=>{const _0x1dcdfb=_0x2023c0;if(_0xf695c6['id']===_0x2da865[_0x1dcdfb(0x12d)]['id']){const _0x139d86=this[_0x1dcdfb(0xf6)]();if(!_0x139d86)return;const _0x3d8c25={'workbook':_0x139d86,'worksheet':_0x139d86[_0x1dcdfb(0x11b)]()};if(_0x3d8c25==null)return;if(this['fireEvent'](this[_0x1dcdfb(0x124)][_0x1dcdfb(0x102)],_0x3d8c25),_0x3d8c25[_0x1dcdfb(0x123)])throw new _0x320d9b[(_0x1dcdfb(0x109))]();}})),this['registerEventHandler'](this[_0x2023c0(0x124)][_0x2023c0(0xf7)],()=>_0x390092['beforeCommandExecuted'](_0x246cf3=>{const _0x41b3c5=_0x2023c0;if(_0x246cf3['id']===_0x2da865['ConfirmSheetPrintOperation']['id']){const _0x53d373=_0x1228f5['get'](_0x2da865[_0x41b3c5(0x120)]);if(!this['getActiveUniverSheet']())return;const _0x4c4c30={'layoutConfig':_0x53d373['layoutConfig'],'renderConfig':_0x53d373[_0x41b3c5(0x125)]};if(_0x4c4c30==null)return;if(this[_0x41b3c5(0x10d)](this[_0x41b3c5(0x124)][_0x41b3c5(0xf7)],_0x4c4c30),_0x4c4c30['cancel'])throw new _0x320d9b[(_0x41b3c5(0x109))]();}})),this['registerEventHandler'](this[_0x2023c0(0x124)][_0x2023c0(0x101)],()=>_0x390092[_0x2023c0(0x119)](_0x26166d=>{const _0x5de8d2=_0x2023c0;if(_0x26166d['id']===_0x2da865[_0x5de8d2(0x11a)]['id']){const _0x2e63f1=_0x1228f5['get'](_0x2da865[_0x5de8d2(0x120)]);if(!this[_0x5de8d2(0xf6)]())return;const _0x326144={'layoutConfig':_0x2e63f1['layoutConfig'],'renderConfig':_0x2e63f1[_0x5de8d2(0x125)]};if(_0x326144==null)return;if(this[_0x5de8d2(0x10d)](this[_0x5de8d2(0x124)]['BeforeSheetPrintCanceled'],_0x326144),_0x326144[_0x5de8d2(0x123)])throw new _0x320d9b['CanceledError']();}})),this[_0x2023c0(0x111)](this['Event'][_0x2023c0(0x122)],()=>_0x390092[_0x2023c0(0x118)](_0x40be17=>{const _0x3d3ffb=_0x2023c0;if(_0x40be17['id']===_0x2da865[_0x3d3ffb(0x12d)]['id']){const _0x6e0f9f=this[_0x3d3ffb(0xf6)]();if(!_0x6e0f9f)return;const _0x3ad436={'workbook':_0x6e0f9f,'worksheet':_0x6e0f9f[_0x3d3ffb(0x11b)]()};if(_0x3ad436==null)return;this['fireEvent'](this[_0x3d3ffb(0x124)]['SheetPrintOpen'],_0x3ad436);}})),this[_0x2023c0(0x111)](this[_0x2023c0(0x124)]['SheetPrintConfirmed'],()=>_0x390092[_0x2023c0(0x118)](_0x3f3b98=>{const _0x334c40=_0x2023c0;if(_0x3f3b98['id']===_0x2da865['ConfirmSheetPrintOperation']['id']){const _0x599c23=_0x1228f5['get'](_0x2da865[_0x334c40(0x120)]);if(!this[_0x334c40(0xf6)]())return;const _0x14239e={'layoutConfig':_0x599c23['layoutConfig'],'renderConfig':_0x599c23[_0x334c40(0x125)]};if(_0x14239e==null)return;this[_0x334c40(0x10d)](this[_0x334c40(0x124)][_0x334c40(0xf5)],_0x14239e);}})),this[_0x2023c0(0x111)](this['Event'][_0x2023c0(0x10f)],()=>_0x390092[_0x2023c0(0x118)](_0x106410=>{const _0x569520=_0x2023c0;if(_0x106410['id']===_0x2da865[_0x569520(0x11a)]['id']){const _0x18e78f=_0x1228f5[_0x569520(0x10b)](_0x2da865[_0x569520(0x120)]);if(!this['getActiveUniverSheet']())return;const _0x2baf81={'layoutConfig':_0x18e78f[_0x569520(0xfb)],'renderConfig':_0x18e78f[_0x569520(0x125)]};if(_0x2baf81==null)return;this[_0x569520(0x10d)](this['Event'][_0x569520(0x10f)],_0x2baf81);}}));}}_0x3000e8[_0x5a9e7c(0x127)]['extend'](_0x724ba6);}));function _0x53d3(){const _0x94f17d=['fireEvent','updatePrintConfig','SheetPrintCanceled','ICommandService','registerEventHandler','PrintHeaderFooterSymbol','PrintHeaderFooter','FRange','1603728dtueXk','UniverCore','FEventName','onCommandExecuted','beforeCommandExecuted','CancelSheetPrintOperation','getActiveSheet','updateRenderConfig','getScreenshot','PrintAlign','extend','ISheetPrintManagerService','executeCommand','SheetPrintOpen','cancel','Event','renderConfig','PrintPaperSize','FUniver','4184772oDByzT','PrintArea','_injector','UniverProPrint','PaperType','SheetPrintOpenOperation','object','330470fZpEai','6688kQnosJ','2290340tvcHtD','function','UniverCoreFacade','PrintFreeze','4eUbVbU','@univerjs/core/facade','UniverSheetsFacade','hasPrintFacadePermission','_range','5754zIQFTS','@univerjs/sheets/facade','1745130NPqaJz','PrintScale','openPrintDialog','saveScreenshotToClipboard','SheetPrintConfirmed','getActiveUniverSheet','BeforeSheetPrintConfirm','12ktdFWZ','@univerjs-pro/print','PrintDirection','layoutConfig','_worksheet','getSheetId','updatePrintRenderConfig','UniverProSheetsPrint','@univerjs-pro/sheets-print','BeforeSheetPrintCanceled','BeforeSheetPrintOpen','FWorkbook','print','_workbook','PrintPaperMargin','55311iTaiFc','FEnum','CanceledError','_initialize','get','syncExecuteCommand'];_0x53d3=function(){return _0x94f17d;};return _0x53d3();}
|