@univerjs-pro/sheets-print 0.10.1 → 0.10.2
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 +39 -39
- 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 +15 -15
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
A: string;
|
|
12
|
+
N: string;
|
|
13
|
+
Q: string;
|
|
15
14
|
O: string;
|
|
16
|
-
g: string;
|
|
17
|
-
i: string;
|
|
18
|
-
z: string;
|
|
19
|
-
c: string;
|
|
20
15
|
H: string;
|
|
21
|
-
h: string;
|
|
22
|
-
D: string;
|
|
23
16
|
K: string;
|
|
24
|
-
|
|
17
|
+
v: string;
|
|
18
|
+
q: string;
|
|
19
|
+
r: string;
|
|
20
|
+
o: string;
|
|
21
|
+
G: string;
|
|
22
|
+
B: string;
|
|
23
|
+
J: string;
|
|
24
|
+
n: string;
|
|
25
|
+
i: string;
|
|
25
26
|
s: string;
|
|
26
|
-
|
|
27
|
+
S: string;
|
|
28
|
+
k: string;
|
|
29
|
+
w: string;
|
|
30
|
+
b: string;
|
|
31
|
+
y: string;
|
|
27
32
|
F: string;
|
|
28
|
-
|
|
33
|
+
x: string;
|
|
29
34
|
d: string;
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
W: string;
|
|
36
|
+
u: string;
|
|
37
|
+
a: string;
|
|
38
|
+
c: string;
|
|
39
|
+
A: string;
|
|
40
|
+
f: string;
|
|
32
41
|
P: string;
|
|
33
|
-
Q: string;
|
|
34
|
-
S: string;
|
|
35
42
|
E: string;
|
|
36
|
-
f: string;
|
|
37
|
-
C: string;
|
|
38
|
-
l: string;
|
|
39
|
-
R: string;
|
|
40
|
-
X: string;
|
|
41
|
-
G: string;
|
|
42
|
-
r: string;
|
|
43
|
-
J: string;
|
|
44
43
|
Z: string;
|
|
45
|
-
|
|
46
|
-
t: string;
|
|
47
|
-
a: string;
|
|
48
|
-
W: string;
|
|
49
|
-
n: string;
|
|
50
|
-
T: string;
|
|
51
|
-
L: string;
|
|
52
|
-
y: string;
|
|
53
|
-
o: string;
|
|
54
|
-
B: string;
|
|
55
|
-
v: string;
|
|
56
|
-
x: string;
|
|
57
|
-
N: string;
|
|
58
|
-
q: string;
|
|
44
|
+
X: string;
|
|
59
45
|
Y: string;
|
|
46
|
+
z: string;
|
|
47
|
+
e: string;
|
|
48
|
+
R: string;
|
|
49
|
+
m: string;
|
|
50
|
+
l: string;
|
|
51
|
+
C: string;
|
|
60
52
|
M: string;
|
|
53
|
+
p: string;
|
|
61
54
|
V: string;
|
|
55
|
+
D: string;
|
|
56
|
+
U: string;
|
|
57
|
+
t: string;
|
|
62
58
|
I: string;
|
|
63
|
-
|
|
59
|
+
h: string;
|
|
60
|
+
g: string;
|
|
61
|
+
j: string;
|
|
62
|
+
T: string;
|
|
63
|
+
L: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "icxBak0x JnBuPdak0x(ykBnx4n, dcGykBMnP) { auP { B0x4a ykBnx4nlxi0U9uaZuu9P = ykBnx4n.4dyka('-'); B0x4a 0ukskxVn449sn = C3D2.d9u4n(9a0G(ykBnx4nlxi0U9uaZuu9P[Q])); ki (!0ukskxVn449sn.cJ) { 0ukskxVn449sn.cJ = 2cFGnu(ykBnx4nlxi0U9uaZuu9P[H]); } B0x4a k4T0ubnu = aPdn0i T0ubnuRy0G9y3B0dn !== 'cxJnikxnJ' && 4nyi kx4a9xBn0i T0ubnuRy0G9y3B0dn; B0x4a B0xanfa = k4T0ubnu ? 4nyi : 7kxJ07; B0x4a Fn449snT0uJ = B0xanfa.__194nvH__.d9u4n(ykBnx4nlxi0U9uaZuu9P[Q]); B0x4a Fn449sn = B0xanfa.__mnf__.4aukxskiP(Fn449snT0uJ); B0x4a 4ksx9acunT0uJ = B0xanfa.__194nvH__.d9u4n(ykBnx4nlxi0U9uaZuu9P[O]); B0x4a 4ksx9acun = B0xanfa.__mnf__.4aukxskiP(4ksx9acunT0uJ); B0x4a 4ksxj9ykJ = B0xanfa.__AnukiP__(4ksx9acun, Fn449sn, dcGykBMnP); B0x4a J0F9kx = 0ukskxVn449sn.JF; icxBak0x k4Y0F9kxV9aBSkxs(0U9aanux, 0m04a) { B0x4a d9aanux = 0U9aanux.undy9Bn(/^.+/, ''); B0x4a S04a = 0m04a.undy9Bn(/^.+/, ''); B0x4a d9aanuxU9ua4 = d9aanux.4dyka('.'); B0x4a S04aU9ua4 = S04a.4dyka('.'); ki (!d9aanux.kxBycJn4('*')) { unacux d9aanux === S04a; } ki (d9aanuxU9ua4.ynxsaS < Q || d9aanuxU9ua4[8] !== '*') { unacux i9y4n; } B0x4a d9aanux3ciikf = d9aanuxU9ua4.4ykBn(N).w0kx('.'); B0x4a S04a3ciikf = S04aU9ua4.4ykBn(-d9aanuxU9ua4.ynxsaS + N).w0kx('.'); unacux d9aanux3ciikf === S04a3ciikf; } yna J0F9kxj9ykJ = (J0F9kx && J0F9kx.ynxsaS) ? J0F9kx.40Fn((JFlanF) => k4Y0F9kxV9aBSkxs(JFlanF, y0B9ak0x.S04ax9Fn)) : aucn; ki (y0B9ak0x.S04ax9Fn === 'y0B9yS04a') { J0F9kxj9ykJ = aucn; } B0x4a A9ykJ = 4ksxj9ykJ && J0F9kxj9ykJ; unacux { A9ykJ, Fn449sn: 0ukskxVn449sn, }; } B9aBS (nuu0u) { unacux { A9ykJ: i9y4n, Fn449sn: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x118a(_0x4dca33,_0x2d9b1e){const _0x7a0490=_0x7a04();return _0x118a=function(_0x118ab3,_0x82ca45){_0x118ab3=_0x118ab3-0x1af;let _0xdb4b21=_0x7a0490[_0x118ab3];return _0xdb4b21;},_0x118a(_0x4dca33,_0x2d9b1e);}function _0x7a04(){const _0x45617e=['extend','onCommandExecuted','SheetPrintConfirmed','getActiveSheet','SheetScreenShotOperation','getScreenshot','getActiveUniverSheet','BeforeSheetPrintOpen','@univerjs-pro/sheets-print','PrintAlign','amd','ICommandService','PrintPaperMargin','_injector','SheetPrintOpenOperation','closePrintDialog','print','UniverProSheetsPrint','renderConfig','SheetPrintCanceled','layoutConfig','5WessLL','hasPrintFacadePermission','FWorkbook','SheetPrintClientService','668408yRzrcT','8YSLgLt','beforeCommandExecuted','UniverCoreFacade','FUniver','194890PrYQfz','38317378FBllnZ','UniverCore','registerEventHandler','syncExecuteCommand','saveScreenshotToClipboard','BeforeSheetPrintCanceled','openPrintDialog','BeforeSheetPrintConfirm','CancelSheetPrintOperation','updateRenderConfig','ConfirmSheetPrintOperation','39604rdZOag','function','2103311ksqSRX','CanceledError','2936790WjKDdY','executeCommand','_range','fireEvent','111sjmzPD','getUnitId','PaperType','501773ZeesnS','FEnum','updateLayoutConfig','cancel','@univerjs/core','_workbook','_worksheet','get','PrintScale','SheetPrintOpen','PrintHeaderFooter','PrintFreeze','423TxeMZa','ISheetPrintManagerService','PrintDirection','UniverProPrint','Event','FRange','updatePrintRenderConfig','FEventName','PrintArea','UniverSheetsFacade','PrintHeaderFooterSymbol'];_0x7a04=function(){return _0x45617e;};return _0x7a04();}(function(_0x1794f9,_0x469333){const _0x54cdba=_0x118a,_0xc12575=_0x1794f9();while(!![]){try{const _0x2dc05a=-parseInt(_0x54cdba(0x1d6))/0x1+-parseInt(_0x54cdba(0x1ba))/0x2+-parseInt(_0x54cdba(0x1d3))/0x3*(parseInt(_0x54cdba(0x1cb))/0x4)+parseInt(_0x54cdba(0x1b6))/0x5*(-parseInt(_0x54cdba(0x1cf))/0x6)+-parseInt(_0x54cdba(0x1cd))/0x7*(parseInt(_0x54cdba(0x1bb))/0x8)+parseInt(_0x54cdba(0x1e2))/0x9*(-parseInt(_0x54cdba(0x1bf))/0xa)+parseInt(_0x54cdba(0x1c0))/0xb;if(_0x2dc05a===_0x469333)break;else _0xc12575['push'](_0xc12575['shift']());}catch(_0x518671){_0xc12575['push'](_0xc12575['shift']());}}}(_0x7a04,0x8c6bb),function(_0x17a7be,_0x5ce728){const _0x204806=_0x118a;typeof exports=='object'&&typeof module<'u'?_0x5ce728(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x204806(0x1cc)&&define[_0x204806(0x1f7)]?define([_0x204806(0x1f5),_0x204806(0x1da),'@univerjs/sheets/facade','@univerjs/core/facade','@univerjs-pro/print'],_0x5ce728):(_0x17a7be=typeof globalThis<'u'?globalThis:_0x17a7be||self,_0x5ce728(_0x17a7be[_0x204806(0x1b2)],_0x17a7be[_0x204806(0x1c1)],_0x17a7be[_0x204806(0x1eb)],_0x17a7be[_0x204806(0x1bd)],_0x17a7be[_0x204806(0x1e5)]));}(this,function(_0x2bedec,_0xb7eda5,_0x2e5a93,_0x271dcc,_0x43ab27){'use strict';const _0x200237=_0x118a;class _0x440d1e extends _0x2e5a93[_0x200237(0x1b8)]{['updatePrintConfig'](_0x10a636){const _0x43ef18=_0x200237;return this[_0x43ef18(0x1fa)][_0x43ef18(0x1dd)](_0x2bedec[_0x43ef18(0x1e3)])[_0x43ef18(0x1d8)](_0x10a636),this;}[_0x200237(0x1e8)](_0x62ee18){const _0x3ea411=_0x200237;return this['_injector'][_0x3ea411(0x1dd)](_0x2bedec[_0x3ea411(0x1e3)])[_0x3ea411(0x1c9)](_0x62ee18),this;}[_0x200237(0x1b1)](){const _0x33ce27=_0x200237;return this['_injector']['get'](_0xb7eda5[_0x33ce27(0x1f8)])[_0x33ce27(0x1c3)](_0x2bedec[_0x33ce27(0x1ca)]['id']);}[_0x200237(0x1c6)](){const _0xa59ebc=_0x200237;return this[_0xa59ebc(0x1fa)][_0xa59ebc(0x1dd)](_0xb7eda5[_0xa59ebc(0x1f8)])[_0xa59ebc(0x1c3)](_0x2bedec['SheetPrintOpenOperation']['id']);}[_0x200237(0x1b0)](){const _0x4eda78=_0x200237;return this[_0x4eda78(0x1fa)][_0x4eda78(0x1dd)](_0xb7eda5['ICommandService'])[_0x4eda78(0x1c3)](_0x2bedec[_0x4eda78(0x1c8)]['id']);}async[_0x200237(0x1c4)](){const _0x53d3b8=_0x200237;return _0x2bedec[_0x53d3b8(0x1b7)](this[_0x53d3b8(0x1fa)])?this[_0x53d3b8(0x1fa)][_0x53d3b8(0x1dd)](_0xb7eda5[_0x53d3b8(0x1f8)])[_0x53d3b8(0x1d0)](_0x2bedec[_0x53d3b8(0x1f1)]['id']):!0x1;}}_0x2e5a93['FWorkbook'][_0x200237(0x1ed)](_0x440d1e);class _0x3a7a9e extends _0x2e5a93[_0x200237(0x1e7)]{[_0x200237(0x1f2)](){const _0x261df2=_0x200237;return _0x2bedec[_0x261df2(0x1b7)](this[_0x261df2(0x1fa)])?this[_0x261df2(0x1fa)][_0x261df2(0x1dd)](_0x2bedec[_0x261df2(0x1b9)])['getRangeImage'](this[_0x261df2(0x1db)][_0x261df2(0x1d4)](),this[_0x261df2(0x1dc)]['getSheetId'](),this[_0x261df2(0x1d1)]):!0x1;}}_0x2e5a93[_0x200237(0x1e7)][_0x200237(0x1ed)](_0x3a7a9e);class _0x59ffab{get[_0x200237(0x1f4)](){const _0x118c02=_0x200237;return _0x118c02(0x1f4);}get[_0x200237(0x1c7)](){const _0x245565=_0x200237;return _0x245565(0x1c7);}get[_0x200237(0x1c5)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){return'SheetPrintOpen';}get[_0x200237(0x1ef)](){const _0x460327=_0x200237;return _0x460327(0x1ef);}get[_0x200237(0x1b4)](){const _0x3cd33e=_0x200237;return _0x3cd33e(0x1b4);}}_0x271dcc[_0x200237(0x1e9)][_0x200237(0x1ed)](_0x59ffab);class _0x3c6ece{get['PrintArea'](){const _0x54d6d8=_0x200237;return _0x2bedec[_0x54d6d8(0x1ea)];}get[_0x200237(0x1f6)](){const _0x1d075b=_0x200237;return _0x43ab27[_0x1d075b(0x1f6)];}get['PrintPaperSize'](){const _0x1992d2=_0x200237;return _0xb7eda5[_0x1992d2(0x1d5)];}get[_0x200237(0x1f9)](){const _0x1f582f=_0x200237;return _0x43ab27[_0x1f582f(0x1f9)];}get[_0x200237(0x1de)](){const _0x42a2c9=_0x200237;return _0x43ab27[_0x42a2c9(0x1de)];}get[_0x200237(0x1e4)](){const _0x4541aa=_0x200237;return _0x43ab27[_0x4541aa(0x1e4)];}get[_0x200237(0x1e1)](){const _0x5bfdee=_0x200237;return _0x2bedec[_0x5bfdee(0x1e1)];}get[_0x200237(0x1e0)](){return _0x2bedec['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x131f01=_0x200237;return _0x2bedec[_0x131f01(0x1ec)];}}_0x271dcc[_0x200237(0x1d7)][_0x200237(0x1ed)](_0x3c6ece);class _0x53721b extends _0x271dcc['FUniver']{['_initialize'](_0x4c9d90){const _0x5ba875=_0x200237,_0x27918b=_0x4c9d90[_0x5ba875(0x1dd)](_0xb7eda5[_0x5ba875(0x1f8)]);this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1f4)],()=>_0x27918b[_0x5ba875(0x1bc)](_0xff92e2=>{const _0x2e8a54=_0x5ba875;if(_0xff92e2['id']===_0x2bedec[_0x2e8a54(0x1af)]['id']){const _0x1746b0=this['getActiveUniverSheet']();if(!_0x1746b0)return;const _0x516561={'workbook':_0x1746b0,'worksheet':_0x1746b0[_0x2e8a54(0x1f0)]()};if(_0x516561==null)return;if(this[_0x2e8a54(0x1d2)](this[_0x2e8a54(0x1e6)][_0x2e8a54(0x1f4)],_0x516561),_0x516561[_0x2e8a54(0x1d9)])throw new _0xb7eda5[(_0x2e8a54(0x1ce))]();}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)]['BeforeSheetPrintConfirm'],()=>_0x27918b[_0x5ba875(0x1bc)](_0x84b4be=>{const _0x304740=_0x5ba875;if(_0x84b4be['id']===_0x2bedec['ConfirmSheetPrintOperation']['id']){const _0x137921=_0x4c9d90[_0x304740(0x1dd)](_0x2bedec[_0x304740(0x1e3)]);if(!this[_0x304740(0x1f3)]())return;const _0x365371={'layoutConfig':_0x137921[_0x304740(0x1b5)],'renderConfig':_0x137921[_0x304740(0x1b3)]};if(_0x365371==null)return;if(this[_0x304740(0x1d2)](this['Event']['BeforeSheetPrintConfirm'],_0x365371),_0x365371[_0x304740(0x1d9)])throw new _0xb7eda5['CanceledError']();}})),this['registerEventHandler'](this[_0x5ba875(0x1e6)][_0x5ba875(0x1c5)],()=>_0x27918b[_0x5ba875(0x1bc)](_0xb1f3f=>{const _0x2a7290=_0x5ba875;if(_0xb1f3f['id']===_0x2bedec[_0x2a7290(0x1c8)]['id']){const _0x2b0584=_0x4c9d90['get'](_0x2bedec[_0x2a7290(0x1e3)]);if(!this[_0x2a7290(0x1f3)]())return;const _0x5ac32a={'layoutConfig':_0x2b0584[_0x2a7290(0x1b5)],'renderConfig':_0x2b0584[_0x2a7290(0x1b3)]};if(_0x5ac32a==null)return;if(this[_0x2a7290(0x1d2)](this[_0x2a7290(0x1e6)]['BeforeSheetPrintCanceled'],_0x5ac32a),_0x5ac32a['cancel'])throw new _0xb7eda5[(_0x2a7290(0x1ce))]();}})),this['registerEventHandler'](this[_0x5ba875(0x1e6)][_0x5ba875(0x1df)],()=>_0x27918b[_0x5ba875(0x1ee)](_0x59bb06=>{const _0x195212=_0x5ba875;if(_0x59bb06['id']===_0x2bedec[_0x195212(0x1af)]['id']){const _0x3d326c=this['getActiveUniverSheet']();if(!_0x3d326c)return;const _0x96a62c={'workbook':_0x3d326c,'worksheet':_0x3d326c[_0x195212(0x1f0)]()};if(_0x96a62c==null)return;this[_0x195212(0x1d2)](this[_0x195212(0x1e6)][_0x195212(0x1df)],_0x96a62c);}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1ef)],()=>_0x27918b[_0x5ba875(0x1ee)](_0x32a6ec=>{const _0x45c215=_0x5ba875;if(_0x32a6ec['id']===_0x2bedec[_0x45c215(0x1ca)]['id']){const _0x2006e9=_0x4c9d90[_0x45c215(0x1dd)](_0x2bedec[_0x45c215(0x1e3)]);if(!this[_0x45c215(0x1f3)]())return;const _0x26a2c5={'layoutConfig':_0x2006e9[_0x45c215(0x1b5)],'renderConfig':_0x2006e9[_0x45c215(0x1b3)]};if(_0x26a2c5==null)return;this['fireEvent'](this['Event'][_0x45c215(0x1ef)],_0x26a2c5);}})),this[_0x5ba875(0x1c2)](this[_0x5ba875(0x1e6)][_0x5ba875(0x1b4)],()=>_0x27918b['onCommandExecuted'](_0xabf04b=>{const _0x2ec282=_0x5ba875;if(_0xabf04b['id']===_0x2bedec[_0x2ec282(0x1c8)]['id']){const _0x20733c=_0x4c9d90[_0x2ec282(0x1dd)](_0x2bedec['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x10019c={'layoutConfig':_0x20733c[_0x2ec282(0x1b5)],'renderConfig':_0x20733c['renderConfig']};if(_0x10019c==null)return;this[_0x2ec282(0x1d2)](this[_0x2ec282(0x1e6)]['SheetPrintCanceled'],_0x10019c);}}));}}_0x271dcc[_0x200237(0x1be)]['extend'](_0x53721b);}));
|