@univerjs-pro/sheets-print 0.7.0 → 0.8.0-beta.1
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 +40 -40
- 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 +17 -17
|
@@ -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 _0x2f33(){const _0x304b52=['@univerjs/core','renderConfig','UniverProSheetsPrint','updateLayoutConfig','saveScreenshotToClipboard','executeCommand','fireEvent','getUnitId','191gxLhEw','CancelSheetPrintOperation','updateRenderConfig','ISheetPrintManagerService','@univerjs/core/facade','SheetPrintCanceled','10574564deHwWm','layoutConfig','_initialize','1052aBxpTB','SheetPrintOpenOperation','beforeCommandExecuted','PrintFreeze','updatePrintRenderConfig','SheetPrintOpen','SheetPrintClientService','_injector','amd','extend','getActiveUniverSheet','get','getScreenshot','_worksheet','PrintPaperMargin','SheetPrintConfirmed','7998627QzGvIV','Event','FEnum','@univerjs/sheets/facade','1474140wQkWlW','PrintHeaderFooter','PaperType','8fLxUdw','2770tNlBSM','FRange','FWorkbook','2864GdumuC','registerEventHandler','PrintPaperSize','4442046FqHtSZ','getRangeImage','PrintHeaderFooterSymbol','getSheetId','PrintArea','PrintDirection','PrintAlign','updatePrintConfig','print','hasPrintFacadePermission','FEventName','ICommandService','BeforeSheetPrintConfirm','UniverProPrint','BeforeSheetPrintOpen','FUniver','@univerjs-pro/print','BeforeSheetPrintCanceled','CanceledError','getActiveSheet','function','ConfirmSheetPrintOperation','21245QUXOrm','19503mazISL','object','PrintScale','onCommandExecuted','@univerjs-pro/sheets-print','syncExecuteCommand'];_0x2f33=function(){return _0x304b52;};return _0x2f33();}function _0x5b9a(_0x542d5c,_0xe7b6dd){const _0x2f33b7=_0x2f33();return _0x5b9a=function(_0x5b9a87,_0x3e3b50){_0x5b9a87=_0x5b9a87-0x103;let _0x11fac0=_0x2f33b7[_0x5b9a87];return _0x11fac0;},_0x5b9a(_0x542d5c,_0xe7b6dd);}(function(_0x4adc17,_0x1db880){const _0x261ec8=_0x5b9a,_0xbf1da5=_0x4adc17();while(!![]){try{const _0x10fa06=parseInt(_0x261ec8(0x128))/0x1*(parseInt(_0x261ec8(0x14c))/0x2)+parseInt(_0x261ec8(0x145))/0x3+parseInt(_0x261ec8(0x131))/0x4*(parseInt(_0x261ec8(0x119))/0x5)+-parseInt(_0x261ec8(0x103))/0x6+parseInt(_0x261ec8(0x141))/0x7*(parseInt(_0x261ec8(0x148))/0x8)+-parseInt(_0x261ec8(0x11a))/0x9*(parseInt(_0x261ec8(0x149))/0xa)+-parseInt(_0x261ec8(0x12e))/0xb;if(_0x10fa06===_0x1db880)break;else _0xbf1da5['push'](_0xbf1da5['shift']());}catch(_0x26075f){_0xbf1da5['push'](_0xbf1da5['shift']());}}}(_0x2f33,0xb08ac),function(_0x57f795,_0x481672){const _0x88fd9a=_0x5b9a;typeof exports==_0x88fd9a(0x11b)&&typeof module<'u'?_0x481672(require(_0x88fd9a(0x11e)),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require(_0x88fd9a(0x113))):typeof define==_0x88fd9a(0x117)&&define[_0x88fd9a(0x139)]?define([_0x88fd9a(0x11e),_0x88fd9a(0x120),_0x88fd9a(0x144),_0x88fd9a(0x12c),'@univerjs-pro/print'],_0x481672):(_0x57f795=typeof globalThis<'u'?globalThis:_0x57f795||self,_0x481672(_0x57f795[_0x88fd9a(0x122)],_0x57f795['UniverCore'],_0x57f795['UniverSheetsFacade'],_0x57f795['UniverCoreFacade'],_0x57f795[_0x88fd9a(0x110)]));}(this,function(_0x191f1c,_0x16bc5e,_0x19f0c2,_0x1c9cdf,_0x3162c8){'use strict';const _0x171299=_0x5b9a;class _0x57b719 extends _0x19f0c2[_0x171299(0x14b)]{[_0x171299(0x10a)](_0x580568){const _0x564619=_0x171299;return this[_0x564619(0x138)]['get'](_0x191f1c['ISheetPrintManagerService'])[_0x564619(0x123)](_0x580568),this;}[_0x171299(0x135)](_0x5b8fd7){const _0x2c0c9c=_0x171299;return this[_0x2c0c9c(0x138)][_0x2c0c9c(0x13c)](_0x191f1c['ISheetPrintManagerService'])[_0x2c0c9c(0x12a)](_0x5b8fd7),this;}[_0x171299(0x10b)](){const _0x17b445=_0x171299;return this[_0x17b445(0x138)][_0x17b445(0x13c)](_0x16bc5e[_0x17b445(0x10e)])[_0x17b445(0x11f)](_0x191f1c[_0x17b445(0x118)]['id']);}['openPrintDialog'](){const _0x561dcc=_0x171299;return this[_0x561dcc(0x138)][_0x561dcc(0x13c)](_0x16bc5e[_0x561dcc(0x10e)])['syncExecuteCommand'](_0x191f1c[_0x561dcc(0x132)]['id']);}['closePrintDialog'](){const _0x100ea1=_0x171299;return this[_0x100ea1(0x138)][_0x100ea1(0x13c)](_0x16bc5e[_0x100ea1(0x10e)])[_0x100ea1(0x11f)](_0x191f1c[_0x100ea1(0x129)]['id']);}async[_0x171299(0x124)](){const _0x37d444=_0x171299;return _0x191f1c[_0x37d444(0x10c)](this['_injector'])?this[_0x37d444(0x138)][_0x37d444(0x13c)](_0x16bc5e[_0x37d444(0x10e)])[_0x37d444(0x125)](_0x191f1c['SheetScreenShotOperation']['id']):!0x1;}}_0x19f0c2[_0x171299(0x14b)][_0x171299(0x13a)](_0x57b719);class _0x51aa4d extends _0x19f0c2[_0x171299(0x14a)]{[_0x171299(0x13d)](){const _0xbe78fa=_0x171299;return _0x191f1c[_0xbe78fa(0x10c)](this[_0xbe78fa(0x138)])?this[_0xbe78fa(0x138)][_0xbe78fa(0x13c)](_0x191f1c[_0xbe78fa(0x137)])[_0xbe78fa(0x104)](this['_workbook'][_0xbe78fa(0x127)](),this[_0xbe78fa(0x13e)][_0xbe78fa(0x106)](),this['_range']):!0x1;}}_0x19f0c2[_0x171299(0x14a)][_0x171299(0x13a)](_0x51aa4d);class _0x2bc499{get[_0x171299(0x111)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x2a261b=_0x171299;return _0x2a261b(0x10f);}get[_0x171299(0x114)](){const _0xe6d90b=_0x171299;return _0xe6d90b(0x114);}get['SheetPrintOpen'](){const _0x44cbe3=_0x171299;return _0x44cbe3(0x136);}get[_0x171299(0x140)](){const _0x3a8059=_0x171299;return _0x3a8059(0x140);}get[_0x171299(0x12d)](){const _0x11548c=_0x171299;return _0x11548c(0x12d);}}_0x1c9cdf[_0x171299(0x10d)][_0x171299(0x13a)](_0x2bc499);class _0x4c4e8b{get[_0x171299(0x107)](){const _0x3ebd42=_0x171299;return _0x191f1c[_0x3ebd42(0x107)];}get[_0x171299(0x109)](){const _0x4b4929=_0x171299;return _0x3162c8[_0x4b4929(0x109)];}get[_0x171299(0x14e)](){const _0x3f630c=_0x171299;return _0x16bc5e[_0x3f630c(0x147)];}get['PrintPaperMargin'](){const _0x41e1ca=_0x171299;return _0x3162c8[_0x41e1ca(0x13f)];}get[_0x171299(0x11c)](){const _0x2c4953=_0x171299;return _0x3162c8[_0x2c4953(0x11c)];}get[_0x171299(0x108)](){const _0x5560b5=_0x171299;return _0x3162c8[_0x5560b5(0x108)];}get[_0x171299(0x134)](){const _0x4df7b5=_0x171299;return _0x191f1c[_0x4df7b5(0x134)];}get[_0x171299(0x146)](){const _0x1eeeab=_0x171299;return _0x191f1c[_0x1eeeab(0x146)];}get[_0x171299(0x105)](){return _0x191f1c['PrintHeaderFooterSymbol'];}}_0x1c9cdf[_0x171299(0x143)]['extend'](_0x4c4e8b);class _0x1627fc extends _0x1c9cdf[_0x171299(0x112)]{[_0x171299(0x130)](_0x118155){const _0x2d0fd8=_0x171299,_0x3e6e10=_0x118155['get'](_0x16bc5e[_0x2d0fd8(0x10e)]);this[_0x2d0fd8(0x14d)](this['Event'][_0x2d0fd8(0x111)],()=>_0x3e6e10[_0x2d0fd8(0x133)](_0x17f0c9=>{const _0x34e4ed=_0x2d0fd8;if(_0x17f0c9['id']===_0x191f1c['SheetPrintOpenOperation']['id']){const _0x284674=this['getActiveUniverSheet']();if(!_0x284674)return;const _0x168dd0={'workbook':_0x284674,'worksheet':_0x284674['getActiveSheet']()};if(_0x168dd0==null)return;if(this['fireEvent'](this[_0x34e4ed(0x142)][_0x34e4ed(0x111)],_0x168dd0),_0x168dd0['cancel'])throw new _0x16bc5e['CanceledError']();}})),this['registerEventHandler'](this[_0x2d0fd8(0x142)][_0x2d0fd8(0x10f)],()=>_0x3e6e10[_0x2d0fd8(0x133)](_0x47d3b4=>{const _0x40504e=_0x2d0fd8;if(_0x47d3b4['id']===_0x191f1c['ConfirmSheetPrintOperation']['id']){const _0x250fca=_0x118155['get'](_0x191f1c[_0x40504e(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x50f5fc={'layoutConfig':_0x250fca[_0x40504e(0x12f)],'renderConfig':_0x250fca[_0x40504e(0x121)]};if(_0x50f5fc==null)return;if(this[_0x40504e(0x126)](this[_0x40504e(0x142)][_0x40504e(0x10f)],_0x50f5fc),_0x50f5fc['cancel'])throw new _0x16bc5e[(_0x40504e(0x115))]();}})),this[_0x2d0fd8(0x14d)](this[_0x2d0fd8(0x142)][_0x2d0fd8(0x114)],()=>_0x3e6e10[_0x2d0fd8(0x133)](_0x18138d=>{const _0x1531cb=_0x2d0fd8;if(_0x18138d['id']===_0x191f1c[_0x1531cb(0x129)]['id']){const _0x252984=_0x118155['get'](_0x191f1c[_0x1531cb(0x12b)]);if(!this[_0x1531cb(0x13b)]())return;const _0x3446e8={'layoutConfig':_0x252984[_0x1531cb(0x12f)],'renderConfig':_0x252984[_0x1531cb(0x121)]};if(_0x3446e8==null)return;if(this['fireEvent'](this[_0x1531cb(0x142)][_0x1531cb(0x114)],_0x3446e8),_0x3446e8['cancel'])throw new _0x16bc5e[(_0x1531cb(0x115))]();}})),this[_0x2d0fd8(0x14d)](this['Event']['SheetPrintOpen'],()=>_0x3e6e10[_0x2d0fd8(0x11d)](_0x48832e=>{const _0x3a9f54=_0x2d0fd8;if(_0x48832e['id']===_0x191f1c[_0x3a9f54(0x132)]['id']){const _0x56d89a=this[_0x3a9f54(0x13b)]();if(!_0x56d89a)return;const _0x535bfd={'workbook':_0x56d89a,'worksheet':_0x56d89a[_0x3a9f54(0x116)]()};if(_0x535bfd==null)return;this[_0x3a9f54(0x126)](this[_0x3a9f54(0x142)][_0x3a9f54(0x136)],_0x535bfd);}})),this[_0x2d0fd8(0x14d)](this[_0x2d0fd8(0x142)]['SheetPrintConfirmed'],()=>_0x3e6e10[_0x2d0fd8(0x11d)](_0x418119=>{const _0x133288=_0x2d0fd8;if(_0x418119['id']===_0x191f1c[_0x133288(0x118)]['id']){const _0x1c3154=_0x118155[_0x133288(0x13c)](_0x191f1c[_0x133288(0x12b)]);if(!this[_0x133288(0x13b)]())return;const _0x5a64d4={'layoutConfig':_0x1c3154['layoutConfig'],'renderConfig':_0x1c3154['renderConfig']};if(_0x5a64d4==null)return;this['fireEvent'](this[_0x133288(0x142)][_0x133288(0x140)],_0x5a64d4);}})),this[_0x2d0fd8(0x14d)](this['Event'][_0x2d0fd8(0x12d)],()=>_0x3e6e10['onCommandExecuted'](_0x3e06f9=>{const _0x37a610=_0x2d0fd8;if(_0x3e06f9['id']===_0x191f1c[_0x37a610(0x129)]['id']){const _0x17a55a=_0x118155['get'](_0x191f1c[_0x37a610(0x12b)]);if(!this[_0x37a610(0x13b)]())return;const _0x46d8d7={'layoutConfig':_0x17a55a[_0x37a610(0x12f)],'renderConfig':_0x17a55a[_0x37a610(0x121)]};if(_0x46d8d7==null)return;this[_0x37a610(0x126)](this[_0x37a610(0x142)][_0x37a610(0x12d)],_0x46d8d7);}}));}}_0x1c9cdf['FUniver'][_0x171299(0x13a)](_0x1627fc);}));
|