@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.
Files changed (46) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +1 -1
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/common/const.d.ts +42 -42
  29. package/lib/types/controllers/const.d.ts +1 -1
  30. package/lib/types/locale/en-US.d.ts +141 -2
  31. package/lib/types/locale/fa-IR.d.ts +2 -2
  32. package/lib/types/locale/fr-FR.d.ts +2 -2
  33. package/lib/types/locale/ru-RU.d.ts +2 -2
  34. package/lib/types/locale/vi-VN.d.ts +2 -2
  35. package/lib/types/locale/zh-CN.d.ts +3 -142
  36. package/lib/types/locale/zh-TW.d.ts +2 -2
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/fa-IR.js +1 -1
  41. package/lib/umd/locale/fr-FR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +15 -15
@@ -1,3 +1,142 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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 zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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 zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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 zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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 zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,142 +1,3 @@
1
- declare const locales: {
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
- };
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 zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
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(_0x38cab2,_0x222b88){const _0x2515ac=_0xea53,_0xa7e76=_0x38cab2();while(!![]){try{const _0x1d84f4=parseInt(_0x2515ac(0x1e9))/0x1*(parseInt(_0x2515ac(0x1a4))/0x2)+-parseInt(_0x2515ac(0x1c0))/0x3+-parseInt(_0x2515ac(0x1c7))/0x4*(-parseInt(_0x2515ac(0x1d4))/0x5)+-parseInt(_0x2515ac(0x1a7))/0x6*(-parseInt(_0x2515ac(0x1aa))/0x7)+parseInt(_0x2515ac(0x1ed))/0x8+parseInt(_0x2515ac(0x1d9))/0x9*(parseInt(_0x2515ac(0x1e4))/0xa)+-parseInt(_0x2515ac(0x1cb))/0xb;if(_0x1d84f4===_0x222b88)break;else _0xa7e76['push'](_0xa7e76['shift']());}catch(_0x56d072){_0xa7e76['push'](_0xa7e76['shift']());}}}(_0x3cba,0x8f063),function(_0x3a2763,_0x16b711){const _0x1433b0=_0xea53;typeof exports==_0x1433b0(0x1de)&&typeof module<'u'?_0x16b711(require(_0x1433b0(0x1ca)),require(_0x1433b0(0x1b5)),require(_0x1433b0(0x1ce)),require(_0x1433b0(0x1ea)),require(_0x1433b0(0x1c3))):typeof define==_0x1433b0(0x1ba)&&define[_0x1433b0(0x1b9)]?define([_0x1433b0(0x1ca),_0x1433b0(0x1b5),_0x1433b0(0x1ce),_0x1433b0(0x1ea),_0x1433b0(0x1c3)],_0x16b711):(_0x3a2763=typeof globalThis<'u'?globalThis:_0x3a2763||self,_0x16b711(_0x3a2763['UniverProSheetsPrint'],_0x3a2763['UniverCore'],_0x3a2763[_0x1433b0(0x1b0)],_0x3a2763[_0x1433b0(0x1bc)],_0x3a2763[_0x1433b0(0x1ad)]));}(this,function(_0x3d388d,_0x19b9d3,_0x117eb6,_0x124188,_0x3a0e3e){'use strict';const _0x5d0259=_0xea53;class _0x379c76 extends _0x117eb6[_0x5d0259(0x1c2)]{[_0x5d0259(0x1c6)](_0x496ffb){const _0x95eef6=_0x5d0259;return this['_injector'][_0x95eef6(0x1b6)](_0x3d388d[_0x95eef6(0x1a8)])[_0x95eef6(0x1d8)](_0x496ffb),this;}[_0x5d0259(0x1ac)](_0x12ecb1){const _0x2b35e2=_0x5d0259;return this['_injector'][_0x2b35e2(0x1b6)](_0x3d388d[_0x2b35e2(0x1a8)])['updateRenderConfig'](_0x12ecb1),this;}[_0x5d0259(0x1cf)](){const _0x4b36b8=_0x5d0259;return this[_0x4b36b8(0x1c9)][_0x4b36b8(0x1b6)](_0x19b9d3[_0x4b36b8(0x1e2)])[_0x4b36b8(0x1e1)](_0x3d388d[_0x4b36b8(0x1eb)]['id']);}[_0x5d0259(0x1e6)](){const _0x35d1c7=_0x5d0259;return this[_0x35d1c7(0x1c9)][_0x35d1c7(0x1b6)](_0x19b9d3['ICommandService'])[_0x35d1c7(0x1e1)](_0x3d388d[_0x35d1c7(0x1ab)]['id']);}[_0x5d0259(0x1cc)](){const _0x5ba5b6=_0x5d0259;return this[_0x5ba5b6(0x1c9)][_0x5ba5b6(0x1b6)](_0x19b9d3['ICommandService'])[_0x5ba5b6(0x1e1)](_0x3d388d['CancelSheetPrintOperation']['id']);}async[_0x5d0259(0x1b1)](){const _0x47dd16=_0x5d0259;return _0x3d388d[_0x47dd16(0x1e3)](this['_injector'])?this['_injector'][_0x47dd16(0x1b6)](_0x19b9d3['ICommandService'])[_0x47dd16(0x1d7)](_0x3d388d['SheetScreenShotOperation']['id']):!0x1;}}_0x117eb6[_0x5d0259(0x1c2)][_0x5d0259(0x1a2)](_0x379c76);class _0xa88960 extends _0x117eb6['FRange']{[_0x5d0259(0x1b8)](){const _0x40c151=_0x5d0259;return _0x3d388d[_0x40c151(0x1e3)](this[_0x40c151(0x1c9)])?this[_0x40c151(0x1c9)][_0x40c151(0x1b6)](_0x3d388d[_0x40c151(0x1e0)])[_0x40c151(0x1ec)](this['_workbook'][_0x40c151(0x1db)](),this[_0x40c151(0x1bb)][_0x40c151(0x1d2)](),this[_0x40c151(0x1a3)]):!0x1;}}_0x117eb6[_0x5d0259(0x1da)][_0x5d0259(0x1a2)](_0xa88960);class _0x40f1b6{get[_0x5d0259(0x1dc)](){const _0x16b30c=_0x5d0259;return _0x16b30c(0x1dc);}get[_0x5d0259(0x1b2)](){const _0x4d6356=_0x5d0259;return _0x4d6356(0x1b2);}get[_0x5d0259(0x1d6)](){const _0x250b03=_0x5d0259;return _0x250b03(0x1d6);}get['SheetPrintOpen'](){const _0x18f291=_0x5d0259;return _0x18f291(0x1b3);}get[_0x5d0259(0x1bf)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x56a3e8=_0x5d0259;return _0x56a3e8(0x1ae);}}_0x124188[_0x5d0259(0x1af)]['extend'](_0x40f1b6);class _0x470d7f{get[_0x5d0259(0x1b4)](){const _0x2b9de1=_0x5d0259;return _0x3d388d[_0x2b9de1(0x1b4)];}get[_0x5d0259(0x1dd)](){const _0x1c59eb=_0x5d0259;return _0x3a0e3e[_0x1c59eb(0x1dd)];}get[_0x5d0259(0x1df)](){return _0x19b9d3['PaperType'];}get[_0x5d0259(0x1e8)](){const _0x20fae9=_0x5d0259;return _0x3a0e3e[_0x20fae9(0x1e8)];}get[_0x5d0259(0x1be)](){const _0x1d2f38=_0x5d0259;return _0x3a0e3e[_0x1d2f38(0x1be)];}get[_0x5d0259(0x1d5)](){const _0x447250=_0x5d0259;return _0x3a0e3e[_0x447250(0x1d5)];}get[_0x5d0259(0x1c5)](){const _0x5c1394=_0x5d0259;return _0x3d388d[_0x5c1394(0x1c5)];}get[_0x5d0259(0x1a6)](){const _0x1bc50c=_0x5d0259;return _0x3d388d[_0x1bc50c(0x1a6)];}get[_0x5d0259(0x1a5)](){const _0x1d553d=_0x5d0259;return _0x3d388d[_0x1d553d(0x1a5)];}}_0x124188['FEnum']['extend'](_0x470d7f);class _0x12f85c extends _0x124188[_0x5d0259(0x1d3)]{[_0x5d0259(0x1a1)](_0x2b605b){const _0x40dd9a=_0x5d0259,_0x4b40bf=_0x2b605b[_0x40dd9a(0x1b6)](_0x19b9d3[_0x40dd9a(0x1e2)]);this[_0x40dd9a(0x1e7)](this[_0x40dd9a(0x1bd)][_0x40dd9a(0x1dc)],()=>_0x4b40bf[_0x40dd9a(0x1cd)](_0x4c1a55=>{const _0x2a1e0e=_0x40dd9a;if(_0x4c1a55['id']===_0x3d388d[_0x2a1e0e(0x1ab)]['id']){const _0x2a266b=this[_0x2a1e0e(0x1c1)]();if(!_0x2a266b)return;const _0x178b10={'workbook':_0x2a266b,'worksheet':_0x2a266b[_0x2a1e0e(0x1e5)]()};if(_0x178b10==null)return;if(this['fireEvent'](this[_0x2a1e0e(0x1bd)][_0x2a1e0e(0x1dc)],_0x178b10),_0x178b10[_0x2a1e0e(0x1c4)])throw new _0x19b9d3[(_0x2a1e0e(0x1d1))]();}})),this[_0x40dd9a(0x1e7)](this[_0x40dd9a(0x1bd)][_0x40dd9a(0x1b2)],()=>_0x4b40bf[_0x40dd9a(0x1cd)](_0x1e0f3a=>{const _0x38c3d5=_0x40dd9a;if(_0x1e0f3a['id']===_0x3d388d[_0x38c3d5(0x1eb)]['id']){const _0x5c5f05=_0x2b605b['get'](_0x3d388d[_0x38c3d5(0x1a8)]);if(!this[_0x38c3d5(0x1c1)]())return;const _0xe6d042={'layoutConfig':_0x5c5f05[_0x38c3d5(0x1a9)],'renderConfig':_0x5c5f05[_0x38c3d5(0x1b7)]};if(_0xe6d042==null)return;if(this[_0x38c3d5(0x1d0)](this[_0x38c3d5(0x1bd)][_0x38c3d5(0x1b2)],_0xe6d042),_0xe6d042[_0x38c3d5(0x1c4)])throw new _0x19b9d3[(_0x38c3d5(0x1d1))]();}})),this['registerEventHandler'](this['Event'][_0x40dd9a(0x1d6)],()=>_0x4b40bf[_0x40dd9a(0x1cd)](_0x42f5f8=>{const _0x1079ec=_0x40dd9a;if(_0x42f5f8['id']===_0x3d388d[_0x1079ec(0x1c8)]['id']){const _0x476fa4=_0x2b605b[_0x1079ec(0x1b6)](_0x3d388d['ISheetPrintManagerService']);if(!this[_0x1079ec(0x1c1)]())return;const _0x3921c2={'layoutConfig':_0x476fa4[_0x1079ec(0x1a9)],'renderConfig':_0x476fa4[_0x1079ec(0x1b7)]};if(_0x3921c2==null)return;if(this[_0x1079ec(0x1d0)](this['Event'][_0x1079ec(0x1d6)],_0x3921c2),_0x3921c2[_0x1079ec(0x1c4)])throw new _0x19b9d3[(_0x1079ec(0x1d1))]();}})),this[_0x40dd9a(0x1e7)](this['Event'][_0x40dd9a(0x1b3)],()=>_0x4b40bf['onCommandExecuted'](_0x4c2261=>{const _0x1a6373=_0x40dd9a;if(_0x4c2261['id']===_0x3d388d['SheetPrintOpenOperation']['id']){const _0x4cbb77=this[_0x1a6373(0x1c1)]();if(!_0x4cbb77)return;const _0xb489bc={'workbook':_0x4cbb77,'worksheet':_0x4cbb77[_0x1a6373(0x1e5)]()};if(_0xb489bc==null)return;this[_0x1a6373(0x1d0)](this[_0x1a6373(0x1bd)]['SheetPrintOpen'],_0xb489bc);}})),this[_0x40dd9a(0x1e7)](this[_0x40dd9a(0x1bd)][_0x40dd9a(0x1bf)],()=>_0x4b40bf[_0x40dd9a(0x1a0)](_0x22688f=>{const _0x1d9190=_0x40dd9a;if(_0x22688f['id']===_0x3d388d[_0x1d9190(0x1eb)]['id']){const _0x58016f=_0x2b605b[_0x1d9190(0x1b6)](_0x3d388d['ISheetPrintManagerService']);if(!this[_0x1d9190(0x1c1)]())return;const _0x5331b1={'layoutConfig':_0x58016f[_0x1d9190(0x1a9)],'renderConfig':_0x58016f[_0x1d9190(0x1b7)]};if(_0x5331b1==null)return;this[_0x1d9190(0x1d0)](this['Event']['SheetPrintConfirmed'],_0x5331b1);}})),this[_0x40dd9a(0x1e7)](this['Event'][_0x40dd9a(0x1ae)],()=>_0x4b40bf[_0x40dd9a(0x1a0)](_0x447371=>{const _0x42833c=_0x40dd9a;if(_0x447371['id']===_0x3d388d[_0x42833c(0x1c8)]['id']){const _0x5573e4=_0x2b605b['get'](_0x3d388d[_0x42833c(0x1a8)]);if(!this['getActiveUniverSheet']())return;const _0x382937={'layoutConfig':_0x5573e4['layoutConfig'],'renderConfig':_0x5573e4[_0x42833c(0x1b7)]};if(_0x382937==null)return;this[_0x42833c(0x1d0)](this['Event']['SheetPrintCanceled'],_0x382937);}}));}}_0x124188[_0x5d0259(0x1d3)]['extend'](_0x12f85c);}));function _0xea53(_0x69f199,_0x216e98){const _0x3cbad1=_0x3cba();return _0xea53=function(_0xea53cc,_0x58b1b9){_0xea53cc=_0xea53cc-0x1a0;let _0x448f1a=_0x3cbad1[_0xea53cc];return _0x448f1a;},_0xea53(_0x69f199,_0x216e98);}function _0x3cba(){const _0x2c5e95=['2041380XaYmvP','closePrintDialog','beforeCommandExecuted','@univerjs/sheets/facade','print','fireEvent','CanceledError','getSheetId','FUniver','163585maUETO','PrintDirection','BeforeSheetPrintCanceled','executeCommand','updateLayoutConfig','9222390qhiUqL','FRange','getUnitId','BeforeSheetPrintOpen','PrintAlign','object','PrintPaperSize','SheetPrintClientService','syncExecuteCommand','ICommandService','hasPrintFacadePermission','10IlDJZJ','getActiveSheet','openPrintDialog','registerEventHandler','PrintPaperMargin','2ziKxNu','@univerjs/core/facade','ConfirmSheetPrintOperation','getRangeImage','536808ZBNADk','onCommandExecuted','_initialize','extend','_range','240794wfwoSR','PrintHeaderFooterSymbol','PrintHeaderFooter','66HqkLgU','ISheetPrintManagerService','layoutConfig','284046dMvWtg','SheetPrintOpenOperation','updatePrintRenderConfig','UniverProPrint','SheetPrintCanceled','FEventName','UniverSheetsFacade','saveScreenshotToClipboard','BeforeSheetPrintConfirm','SheetPrintOpen','PrintArea','@univerjs/core','get','renderConfig','getScreenshot','amd','function','_worksheet','UniverCoreFacade','Event','PrintScale','SheetPrintConfirmed','3317121yvAexa','getActiveUniverSheet','FWorkbook','@univerjs-pro/print','cancel','PrintFreeze','updatePrintConfig','12yyrVgY','CancelSheetPrintOperation','_injector','@univerjs-pro/sheets-print'];_0x3cba=function(){return _0x2c5e95;};return _0x3cba();}
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();}