@univerjs-pro/sheets-print 0.10.9 → 0.10.10-experimental.20251016-33b0941
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +18 -18
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
o: string;
|
|
13
|
-
N: string;
|
|
14
12
|
K: string;
|
|
15
|
-
k: string;
|
|
16
|
-
i: string;
|
|
17
|
-
r: string;
|
|
18
|
-
J: string;
|
|
19
|
-
Z: string;
|
|
20
|
-
W: string;
|
|
21
|
-
j: string;
|
|
22
|
-
E: string;
|
|
23
|
-
M: string;
|
|
24
|
-
s: string;
|
|
25
|
-
h: string;
|
|
26
|
-
Q: string;
|
|
27
|
-
P: string;
|
|
28
|
-
D: string;
|
|
29
|
-
t: string;
|
|
30
|
-
S: string;
|
|
31
|
-
b: string;
|
|
32
|
-
I: string;
|
|
33
|
-
F: string;
|
|
34
|
-
A: string;
|
|
35
|
-
l: string;
|
|
36
|
-
G: string;
|
|
37
|
-
B: string;
|
|
38
|
-
y: string;
|
|
39
|
-
w: string;
|
|
40
|
-
z: string;
|
|
41
|
-
O: string;
|
|
42
|
-
U: string;
|
|
43
|
-
d: string;
|
|
44
13
|
Y: string;
|
|
45
|
-
|
|
46
|
-
|
|
14
|
+
U: string;
|
|
15
|
+
p: string;
|
|
16
|
+
y: string;
|
|
47
17
|
u: string;
|
|
48
|
-
R: string;
|
|
49
18
|
v: string;
|
|
50
19
|
a: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
L: string;
|
|
20
|
+
A: string;
|
|
21
|
+
c: string;
|
|
54
22
|
x: string;
|
|
23
|
+
O: string;
|
|
24
|
+
J: string;
|
|
25
|
+
X: string;
|
|
26
|
+
F: string;
|
|
27
|
+
z: string;
|
|
55
28
|
g: string;
|
|
56
|
-
|
|
29
|
+
E: string;
|
|
30
|
+
W: string;
|
|
31
|
+
h: string;
|
|
57
32
|
V: string;
|
|
58
|
-
|
|
59
|
-
|
|
33
|
+
n: string;
|
|
34
|
+
s: string;
|
|
35
|
+
b: string;
|
|
36
|
+
G: string;
|
|
37
|
+
P: string;
|
|
38
|
+
j: string;
|
|
39
|
+
Z: string;
|
|
40
|
+
t: string;
|
|
41
|
+
r: string;
|
|
42
|
+
R: string;
|
|
60
43
|
C: string;
|
|
61
|
-
|
|
44
|
+
d: string;
|
|
45
|
+
D: string;
|
|
62
46
|
m: string;
|
|
63
|
-
|
|
47
|
+
l: string;
|
|
48
|
+
T: string;
|
|
49
|
+
L: string;
|
|
50
|
+
o: string;
|
|
51
|
+
w: string;
|
|
52
|
+
B: string;
|
|
53
|
+
f: string;
|
|
54
|
+
i: string;
|
|
55
|
+
k: string;
|
|
56
|
+
e: string;
|
|
57
|
+
M: string;
|
|
58
|
+
H: string;
|
|
59
|
+
I: string;
|
|
60
|
+
q: string;
|
|
61
|
+
S: string;
|
|
62
|
+
N: string;
|
|
63
|
+
Q: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "J7VxPz9V O1xbtnPz9V(Wzx1VG1, n7cWzxo1t) { Pbt { x9VGP Wzx1VG1TVJ98AbP4bbAt = Wzx1VG1.GnWzP('-'); x9VGP 9bzXzVB1GGAX1 = LMif.nAbG1(AP9c(Wzx1VG1TVJ98AbP4bbAt[6])); zJ (!9bzXzVB1GGAX1.7O) { 9bzXzVB1GGAX1.7O = f7hc1b(Wzx1VG1TVJ98AbP4bbAt[U]); } x9VGP zG29bE1b = Ptn19J 29bE1bmW9cAWMx9n1 !== '7VO1JzV1O' && G1WJ zVGPAVx19J 29bE1bmW9cAWMx9n1; x9VGP x9VP15P = zG29bE1b ? G1WJ : ZzVO9Z; x9VGP h1GGAX129bO = x9VP15P.__RAG1yU__.nAbG1(Wzx1VG1TVJ98AbP4bbAt[6]); x9VGP h1GGAX1 = x9VP15P.__l15__.GPbzVXzJt(h1GGAX129bO); x9VGP GzXVAP7b129bO = x9VP15P.__RAG1yU__.nAbG1(Wzx1VG1TVJ98AbP4bbAt[3]); x9VGP GzXVAP7b1 = x9VP15P.__l15__.GPbzVXzJt(GzXVAP7b129bO); x9VGP GzXVqAWzO = x9VP15P.__j1bzJt__(GzXVAP7b1, h1GGAX1, n7cWzxo1t); x9VGP O9hAzV = 9bzXzVB1GGAX1.Oh; J7VxPz9V zGd9hAzVBAPxFzVX(98APP1bV, 9l9GP) { x9VGP nAPP1bV = 98APP1bV.b1nWAx1(/^.+/, ''); x9VGP F9GP = 9l9GP.b1nWAx1(/^.+/, ''); x9VGP nAPP1bV8AbPG = nAPP1bV.GnWzP('.'); x9VGP F9GP8AbPG = F9GP.GnWzP('.'); zJ (!nAPP1bV.zVxW7O1G('*')) { b1P7bV nAPP1bV === F9GP; } zJ (nAPP1bV8AbPG.W1VXPF < 6 || nAPP1bV8AbPG[K] !== '*') { b1P7bV JAWG1; } x9VGP nAPP1bVM7JJz5 = nAPP1bV8AbPG.GWzx1(Y).g9zV('.'); x9VGP F9GPM7JJz5 = F9GP8AbPG.GWzx1(-nAPP1bV8AbPG.W1VXPF + Y).g9zV('.'); b1P7bV nAPP1bVM7JJz5 === F9GPM7JJz5; } W1P O9hAzVqAWzO = (O9hAzV && O9hAzV.W1VXPF) ? O9hAzV.G9h1((OhTP1h) => zGd9hAzVBAPxFzVX(OhTP1h, W9xAPz9V.F9GPVAh1)) : Pb71; zJ (W9xAPz9V.F9GPVAh1 === 'W9xAWF9GP') { O9hAzVqAWzO = Pb71; } x9VGP jAWzO = GzXVqAWzO && O9hAzVqAWzO; b1P7bV { jAWzO, h1GGAX1: 9bzXzVB1GGAX1, }; } xAPxF (1bb9b) { b1P7bV { jAWzO: JAWG1, h1GGAX1: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4cbb(){const _0x31c014=['FRange','12451932sqYVCi','PrintFreeze','cancel','SheetPrintCanceled','PrintArea','110607yvzpkA','7162288hpShXM','BeforeSheetPrintOpen','UniverCore','layoutConfig','UniverProPrint','BeforeSheetPrintCanceled','getUnitId','2949961OcNOyf','69714omYmQp','object','_workbook','SheetPrintOpen','UniverProSheetsPrint','PrintHeaderFooterSymbol','FUniver','updateRenderConfig','function','hasPrintFacadePermission','PrintHeaderFooter','amd','syncExecuteCommand','onCommandExecuted','PaperType','1328065CRDRCg','PrintPaperSize','11ERebwh','getScreenshot','saveScreenshotToClipboard','SheetPrintConfirmed','getActiveUniverSheet','596RLFTCi','FEventName','fireEvent','getActiveSheet','ICommandService','registerEventHandler','getSheetId','executeCommand','76gWkOZF','@univerjs-pro/print','CancelSheetPrintOperation','SheetScreenShotOperation','SheetPrintOpenOperation','CanceledError','ISheetPrintManagerService','SheetPrintClientService','get','FWorkbook','@univerjs-pro/sheets-print','updatePrintRenderConfig','updateLayoutConfig','300DGBvKa','extend','renderConfig','6TBnonK','PrintScale','Event','openPrintDialog','beforeCommandExecuted','PrintDirection','BeforeSheetPrintConfirm','PrintPaperMargin','_initialize','ConfirmSheetPrintOperation','getRangeImage','3651sHfsll','_injector','@univerjs/core'];_0x4cbb=function(){return _0x31c014;};return _0x4cbb();}function _0x2e6b(_0x162bae,_0x1863aa){const _0x4cbb34=_0x4cbb();return _0x2e6b=function(_0x2e6bee,_0x32cc1b){_0x2e6bee=_0x2e6bee-0xcb;let _0x24dbae=_0x4cbb34[_0x2e6bee];return _0x24dbae;},_0x2e6b(_0x162bae,_0x1863aa);}(function(_0x4aeb3d,_0x175f1e){const _0x5ea8ab=_0x2e6b,_0x51d786=_0x4aeb3d();while(!![]){try{const _0x5f0573=parseInt(_0x5ea8ab(0xe5))/0x1*(parseInt(_0x5ea8ab(0x10d))/0x2)+-parseInt(_0x5ea8ab(0xee))/0x3*(parseInt(_0x5ea8ab(0x115))/0x4)+-parseInt(_0x5ea8ab(0x106))/0x5*(-parseInt(_0x5ea8ab(0xda))/0x6)+-parseInt(_0x5ea8ab(0xf6))/0x7+-parseInt(_0x5ea8ab(0xef))/0x8+-parseInt(_0x5ea8ab(0xf7))/0x9*(-parseInt(_0x5ea8ab(0xd7))/0xa)+parseInt(_0x5ea8ab(0x108))/0xb*(parseInt(_0x5ea8ab(0xe9))/0xc);if(_0x5f0573===_0x175f1e)break;else _0x51d786['push'](_0x51d786['shift']());}catch(_0x2e884b){_0x51d786['push'](_0x51d786['shift']());}}}(_0x4cbb,0x940e0),function(_0x3d3184,_0xcca3ab){const _0x1183d6=_0x2e6b;typeof exports==_0x1183d6(0xf8)&&typeof module<'u'?_0xcca3ab(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x1183d6(0xff)&&define[_0x1183d6(0x102)]?define([_0x1183d6(0xd4),_0x1183d6(0xe7),'@univerjs/sheets/facade','@univerjs/core/facade',_0x1183d6(0xcb)],_0xcca3ab):(_0x3d3184=typeof globalThis<'u'?globalThis:_0x3d3184||self,_0xcca3ab(_0x3d3184[_0x1183d6(0xfb)],_0x3d3184[_0x1183d6(0xf1)],_0x3d3184['UniverSheetsFacade'],_0x3d3184['UniverCoreFacade'],_0x3d3184[_0x1183d6(0xf3)]));}(this,function(_0x5287ae,_0x5b5371,_0x4b36a1,_0x468ecf,_0x30c075){'use strict';const _0x1b6b71=_0x2e6b;class _0x406f31 extends _0x4b36a1[_0x1b6b71(0xd3)]{['updatePrintConfig'](_0x3421c8){const _0x481b78=_0x1b6b71;return this[_0x481b78(0xe6)][_0x481b78(0xd2)](_0x5287ae[_0x481b78(0xd0)])[_0x481b78(0xd6)](_0x3421c8),this;}[_0x1b6b71(0xd5)](_0x3bf269){const _0x9cf317=_0x1b6b71;return this[_0x9cf317(0xe6)][_0x9cf317(0xd2)](_0x5287ae[_0x9cf317(0xd0)])[_0x9cf317(0xfe)](_0x3bf269),this;}['print'](){const _0x38b0de=_0x1b6b71;return this[_0x38b0de(0xe6)][_0x38b0de(0xd2)](_0x5b5371['ICommandService'])[_0x38b0de(0x103)](_0x5287ae[_0x38b0de(0xe3)]['id']);}[_0x1b6b71(0xdd)](){const _0x448e8b=_0x1b6b71;return this[_0x448e8b(0xe6)][_0x448e8b(0xd2)](_0x5b5371[_0x448e8b(0x111)])['syncExecuteCommand'](_0x5287ae['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x1fe699=_0x1b6b71;return this[_0x1fe699(0xe6)][_0x1fe699(0xd2)](_0x5b5371[_0x1fe699(0x111)])[_0x1fe699(0x103)](_0x5287ae[_0x1fe699(0xcc)]['id']);}async[_0x1b6b71(0x10a)](){const _0x32e346=_0x1b6b71;return _0x5287ae[_0x32e346(0x100)](this['_injector'])?this[_0x32e346(0xe6)][_0x32e346(0xd2)](_0x5b5371[_0x32e346(0x111)])[_0x32e346(0x114)](_0x5287ae[_0x32e346(0xcd)]['id']):!0x1;}}_0x4b36a1[_0x1b6b71(0xd3)][_0x1b6b71(0xd8)](_0x406f31);class _0x3e05aa extends _0x4b36a1[_0x1b6b71(0xe8)]{[_0x1b6b71(0x109)](){const _0x357d0c=_0x1b6b71;return _0x5287ae[_0x357d0c(0x100)](this[_0x357d0c(0xe6)])?this['_injector'][_0x357d0c(0xd2)](_0x5287ae[_0x357d0c(0xd1)])[_0x357d0c(0xe4)](this[_0x357d0c(0xf9)][_0x357d0c(0xf5)](),this['_worksheet'][_0x357d0c(0x113)](),this['_range']):!0x1;}}_0x4b36a1[_0x1b6b71(0xe8)][_0x1b6b71(0xd8)](_0x3e05aa);class _0x57e6fd{get['BeforeSheetPrintOpen'](){const _0x2bd8c9=_0x1b6b71;return _0x2bd8c9(0xf0);}get['BeforeSheetPrintConfirm'](){const _0x2af82d=_0x1b6b71;return _0x2af82d(0xe0);}get['BeforeSheetPrintCanceled'](){const _0x3f8b63=_0x1b6b71;return _0x3f8b63(0xf4);}get[_0x1b6b71(0xfa)](){return'SheetPrintOpen';}get[_0x1b6b71(0x10b)](){const _0xa609a7=_0x1b6b71;return _0xa609a7(0x10b);}get[_0x1b6b71(0xec)](){const _0x1645cd=_0x1b6b71;return _0x1645cd(0xec);}}_0x468ecf[_0x1b6b71(0x10e)]['extend'](_0x57e6fd);class _0x1a0bac{get['PrintArea'](){const _0x2c4366=_0x1b6b71;return _0x5287ae[_0x2c4366(0xed)];}get['PrintAlign'](){return _0x30c075['PrintAlign'];}get[_0x1b6b71(0x107)](){const _0x49403b=_0x1b6b71;return _0x5b5371[_0x49403b(0x105)];}get[_0x1b6b71(0xe1)](){const _0x38d763=_0x1b6b71;return _0x30c075[_0x38d763(0xe1)];}get[_0x1b6b71(0xdb)](){const _0x543874=_0x1b6b71;return _0x30c075[_0x543874(0xdb)];}get['PrintDirection'](){const _0x3be0a2=_0x1b6b71;return _0x30c075[_0x3be0a2(0xdf)];}get[_0x1b6b71(0xea)](){const _0x3b45a2=_0x1b6b71;return _0x5287ae[_0x3b45a2(0xea)];}get[_0x1b6b71(0x101)](){const _0x5e96fc=_0x1b6b71;return _0x5287ae[_0x5e96fc(0x101)];}get[_0x1b6b71(0xfc)](){const _0x4937d1=_0x1b6b71;return _0x5287ae[_0x4937d1(0xfc)];}}_0x468ecf['FEnum'][_0x1b6b71(0xd8)](_0x1a0bac);class _0x260f6c extends _0x468ecf[_0x1b6b71(0xfd)]{[_0x1b6b71(0xe2)](_0x4e94bf){const _0x2aa270=_0x1b6b71,_0x1f0f17=_0x4e94bf['get'](_0x5b5371[_0x2aa270(0x111)]);this[_0x2aa270(0x112)](this[_0x2aa270(0xdc)][_0x2aa270(0xf0)],()=>_0x1f0f17[_0x2aa270(0xde)](_0x280a8d=>{const _0x489c3b=_0x2aa270;if(_0x280a8d['id']===_0x5287ae['SheetPrintOpenOperation']['id']){const _0x57f086=this[_0x489c3b(0x10c)]();if(!_0x57f086)return;const _0xcb7c8a={'workbook':_0x57f086,'worksheet':_0x57f086[_0x489c3b(0x110)]()};if(_0xcb7c8a==null)return;if(this[_0x489c3b(0x10f)](this[_0x489c3b(0xdc)][_0x489c3b(0xf0)],_0xcb7c8a),_0xcb7c8a['cancel'])throw new _0x5b5371['CanceledError']();}})),this[_0x2aa270(0x112)](this[_0x2aa270(0xdc)][_0x2aa270(0xe0)],()=>_0x1f0f17['beforeCommandExecuted'](_0x2358ad=>{const _0x1e7335=_0x2aa270;if(_0x2358ad['id']===_0x5287ae[_0x1e7335(0xe3)]['id']){const _0x363ae6=_0x4e94bf['get'](_0x5287ae['ISheetPrintManagerService']);if(!this[_0x1e7335(0x10c)]())return;const _0x34954e={'layoutConfig':_0x363ae6[_0x1e7335(0xf2)],'renderConfig':_0x363ae6['renderConfig']};if(_0x34954e==null)return;if(this['fireEvent'](this['Event'][_0x1e7335(0xe0)],_0x34954e),_0x34954e['cancel'])throw new _0x5b5371[(_0x1e7335(0xcf))]();}})),this[_0x2aa270(0x112)](this[_0x2aa270(0xdc)][_0x2aa270(0xf4)],()=>_0x1f0f17[_0x2aa270(0xde)](_0x51daef=>{const _0x105803=_0x2aa270;if(_0x51daef['id']===_0x5287ae[_0x105803(0xcc)]['id']){const _0x30f474=_0x4e94bf[_0x105803(0xd2)](_0x5287ae[_0x105803(0xd0)]);if(!this[_0x105803(0x10c)]())return;const _0x2dd912={'layoutConfig':_0x30f474[_0x105803(0xf2)],'renderConfig':_0x30f474[_0x105803(0xd9)]};if(_0x2dd912==null)return;if(this[_0x105803(0x10f)](this[_0x105803(0xdc)]['BeforeSheetPrintCanceled'],_0x2dd912),_0x2dd912[_0x105803(0xeb)])throw new _0x5b5371[(_0x105803(0xcf))]();}})),this[_0x2aa270(0x112)](this['Event'][_0x2aa270(0xfa)],()=>_0x1f0f17[_0x2aa270(0x104)](_0x48dc06=>{const _0x4e24b1=_0x2aa270;if(_0x48dc06['id']===_0x5287ae[_0x4e24b1(0xce)]['id']){const _0x41fcd8=this[_0x4e24b1(0x10c)]();if(!_0x41fcd8)return;const _0xc52fd4={'workbook':_0x41fcd8,'worksheet':_0x41fcd8[_0x4e24b1(0x110)]()};if(_0xc52fd4==null)return;this[_0x4e24b1(0x10f)](this[_0x4e24b1(0xdc)]['SheetPrintOpen'],_0xc52fd4);}})),this['registerEventHandler'](this[_0x2aa270(0xdc)]['SheetPrintConfirmed'],()=>_0x1f0f17['onCommandExecuted'](_0x3eb1fa=>{const _0x1016b0=_0x2aa270;if(_0x3eb1fa['id']===_0x5287ae[_0x1016b0(0xe3)]['id']){const _0x592811=_0x4e94bf[_0x1016b0(0xd2)](_0x5287ae[_0x1016b0(0xd0)]);if(!this[_0x1016b0(0x10c)]())return;const _0x212168={'layoutConfig':_0x592811[_0x1016b0(0xf2)],'renderConfig':_0x592811[_0x1016b0(0xd9)]};if(_0x212168==null)return;this[_0x1016b0(0x10f)](this[_0x1016b0(0xdc)][_0x1016b0(0x10b)],_0x212168);}})),this[_0x2aa270(0x112)](this[_0x2aa270(0xdc)]['SheetPrintCanceled'],()=>_0x1f0f17[_0x2aa270(0x104)](_0x5261d4=>{const _0x247068=_0x2aa270;if(_0x5261d4['id']===_0x5287ae[_0x247068(0xcc)]['id']){const _0x26011d=_0x4e94bf[_0x247068(0xd2)](_0x5287ae[_0x247068(0xd0)]);if(!this[_0x247068(0x10c)]())return;const _0x100f1a={'layoutConfig':_0x26011d[_0x247068(0xf2)],'renderConfig':_0x26011d['renderConfig']};if(_0x100f1a==null)return;this[_0x247068(0x10f)](this[_0x247068(0xdc)][_0x247068(0xec)],_0x100f1a);}}));}}_0x468ecf[_0x1b6b71(0xfd)][_0x1b6b71(0xd8)](_0x260f6c);}));
|