@univerjs-pro/sheets-print 0.10.9 → 0.10.10
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 +38 -38
- 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
|
-
K: string;
|
|
12
|
+
G: string;
|
|
13
|
+
f: string;
|
|
15
14
|
k: string;
|
|
16
|
-
|
|
17
|
-
|
|
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;
|
|
15
|
+
N: string;
|
|
16
|
+
C: string;
|
|
27
17
|
P: string;
|
|
28
18
|
D: string;
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
Z: string;
|
|
20
|
+
o: string;
|
|
21
|
+
M: string;
|
|
31
22
|
b: string;
|
|
32
|
-
|
|
23
|
+
S: string;
|
|
24
|
+
n: string;
|
|
33
25
|
F: string;
|
|
34
26
|
A: string;
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
u: string;
|
|
28
|
+
c: string;
|
|
37
29
|
B: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
z: string;
|
|
30
|
+
W: string;
|
|
31
|
+
x: string;
|
|
41
32
|
O: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Y: string;
|
|
45
|
-
q: string;
|
|
33
|
+
y: string;
|
|
34
|
+
K: string;
|
|
46
35
|
e: string;
|
|
47
|
-
u: string;
|
|
48
|
-
R: string;
|
|
49
|
-
v: string;
|
|
50
|
-
a: string;
|
|
51
|
-
n: string;
|
|
52
|
-
X: string;
|
|
53
36
|
L: string;
|
|
54
|
-
|
|
37
|
+
j: string;
|
|
38
|
+
q: string;
|
|
39
|
+
d: string;
|
|
40
|
+
v: string;
|
|
55
41
|
g: string;
|
|
42
|
+
R: string;
|
|
43
|
+
Y: string;
|
|
44
|
+
m: string;
|
|
45
|
+
E: string;
|
|
46
|
+
r: string;
|
|
47
|
+
z: string;
|
|
48
|
+
Q: string;
|
|
49
|
+
U: string;
|
|
50
|
+
H: string;
|
|
51
|
+
a: string;
|
|
56
52
|
T: string;
|
|
53
|
+
w: string;
|
|
54
|
+
s: string;
|
|
55
|
+
i: string;
|
|
56
|
+
J: string;
|
|
57
57
|
V: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
C: string;
|
|
61
|
-
f: string;
|
|
62
|
-
m: string;
|
|
58
|
+
I: string;
|
|
59
|
+
h: string;
|
|
63
60
|
p: string;
|
|
61
|
+
X: string;
|
|
62
|
+
t: string;
|
|
63
|
+
l: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "SeB3KAWB 0b3Od9KAWB(5A3bByb, 9eM5A3Ubd) { KOd { 3WByK 5A3bByb6BSWwoOKgOOod = 5A3bByb.y95AK('-'); 3WByK WOAnABHbyyonb = QJTa.9oOyb(oKWM(5A3bByb6BSWwoOKgOOod[k])); AS (!WOAnABHbyyonb.e0) { WOAnABHbyyonb.e0 = aecMbO(5A3bByb6BSWwoOKgOOod[8]); } 3WByK AypWO2bO = Kd9bWS pWO2bOr5WMo5J3W9b !== 'eB0bSABb0' && yb5S AByKoB3bWS pWO2bOr5WMo5J3W9b; 3WByK 3WBKbqK = AypWO2bO ? yb5S : jAB0Wj; 3WByK cbyyonbpWO0 = 3WBKbqK.__RoybC8__.9oOyb(5A3bByb6BSWwoOKgOOod[k]); 3WByK cbyyonb = 3WBKbqK.__zbq__.yKOABnASd(cbyyonbpWO0); 3WByK yAnBoKeObpWO0 = 3WBKbqK.__RoybC8__.9oOyb(5A3bByb6BSWwoOKgOOod[7]); 3WByK yAnBoKeOb = 3WBKbqK.__zbq__.yKOABnASd(yAnBoKeObpWO0); 3WByK yAnBho5A0 = 3WBKbqK.__LbOASd__(yAnBoKeOb, cbyyonb, 9eM5A3Ubd); 3WByK 0WcoAB = WOAnABHbyyonb.0c; SeB3KAWB AyYWcoABHoK3FABn(WwoKKbOB, WzWyK) { 3WByK 9oKKbOB = WwoKKbOB.Ob95o3b(/^.+/, ''); 3WByK FWyK = WzWyK.Ob95o3b(/^.+/, ''); 3WByK 9oKKbOBwoOKy = 9oKKbOB.y95AK('.'); 3WByK FWyKwoOKy = FWyK.y95AK('.'); AS (!9oKKbOB.AB35e0by('*')) { ObKeOB 9oKKbOB === FWyK; } AS (9oKKbOBwoOKy.5bBnKF < k || 9oKKbOBwoOKy[G] !== '*') { ObKeOB So5yb; } 3WByK 9oKKbOBJeSSAq = 9oKKbOBwoOKy.y5A3b(f).uWAB('.'); 3WByK FWyKJeSSAq = FWyKwoOKy.y5A3b(-9oKKbOBwoOKy.5bBnKF + f).uWAB('.'); ObKeOB 9oKKbOBJeSSAq === FWyKJeSSAq; } 5bK 0WcoABho5A0 = (0WcoAB && 0WcoAB.5bBnKF) ? 0WcoAB.yWcb((0c6Kbc) => AyYWcoABHoK3FABn(0c6Kbc, 5W3oKAWB.FWyKBocb)) : KOeb; AS (5W3oKAWB.FWyKBocb === '5W3o5FWyK') { 0WcoABho5A0 = KOeb; } 3WByK Lo5A0 = yAnBho5A0 && 0WcoABho5A0; ObKeOB { Lo5A0, cbyyonb: WOAnABHbyyonb, }; } 3oK3F (bOOWO) { ObKeOB { Lo5A0: So5yb, cbyyonb: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3476(){const _0x29f6bf=['getScreenshot','PrintScale','getActiveSheet','CancelSheetPrintOperation','beforeCommandExecuted','PaperType','FUniver','registerEventHandler','extend','5486436ZlgXXq','get','5193652ILAmWv','UniverSheetsFacade','PrintDirection','closePrintDialog','fireEvent','3LSOFNi','SheetPrintOpenOperation','ISheetPrintManagerService','FRange','206864cXayqq','_initialize','SheetPrintClientService','hasPrintFacadePermission','renderConfig','SheetPrintCanceled','object','_range','SheetPrintConfirmed','@univerjs/core','getUnitId','6876755DQrPNh','cancel','BeforeSheetPrintConfirm','FEnum','PrintHeaderFooter','layoutConfig','getRangeImage','onCommandExecuted','UniverCore','ICommandService','SheetPrintOpen','ConfirmSheetPrintOperation','getActiveUniverSheet','_injector','print','CanceledError','PrintPaperSize','PrintPaperMargin','syncExecuteCommand','executeCommand','PrintHeaderFooterSymbol','@univerjs/core/facade','PrintFreeze','PrintArea','UniverProSheetsPrint','36043yqGslf','updatePrintConfig','Event','openPrintDialog','SheetScreenShotOperation','BeforeSheetPrintOpen','PrintAlign','7249319WeSnua','_worksheet','5949200peSGIh','UniverCoreFacade','BeforeSheetPrintCanceled','@univerjs-pro/sheets-print'];_0x3476=function(){return _0x29f6bf;};return _0x3476();}function _0x8ab2(_0x1343af,_0x4e3f9b){const _0x347609=_0x3476();return _0x8ab2=function(_0x8ab2f7,_0x5c867c){_0x8ab2f7=_0x8ab2f7-0xfb;let _0x5b8251=_0x347609[_0x8ab2f7];return _0x5b8251;},_0x8ab2(_0x1343af,_0x4e3f9b);}(function(_0x4b4987,_0x1f8088){const _0x54e6b5=_0x8ab2,_0x53bd61=_0x4b4987();while(!![]){try{const _0x270e5e=parseInt(_0x54e6b5(0x113))/0x1+-parseInt(_0x54e6b5(0x134))/0x2+-parseInt(_0x54e6b5(0x130))/0x3*(-parseInt(_0x54e6b5(0x12b))/0x4)+-parseInt(_0x54e6b5(0x13f))/0x5+-parseInt(_0x54e6b5(0x129))/0x6+parseInt(_0x54e6b5(0x11a))/0x7+parseInt(_0x54e6b5(0x11c))/0x8;if(_0x270e5e===_0x1f8088)break;else _0x53bd61['push'](_0x53bd61['shift']());}catch(_0x23081c){_0x53bd61['push'](_0x53bd61['shift']());}}}(_0x3476,0xafe96),function(_0x27f852,_0x16225a){const _0x578906=_0x8ab2;typeof exports==_0x578906(0x13a)&&typeof module<'u'?_0x16225a(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define['amd']?define([_0x578906(0x11f),_0x578906(0x13d),'@univerjs/sheets/facade',_0x578906(0x10f),'@univerjs-pro/print'],_0x16225a):(_0x27f852=typeof globalThis<'u'?globalThis:_0x27f852||self,_0x16225a(_0x27f852[_0x578906(0x112)],_0x27f852[_0x578906(0x102)],_0x27f852[_0x578906(0x12c)],_0x27f852[_0x578906(0x11d)],_0x27f852['UniverProPrint']));}(this,function(_0x4eda06,_0x2eebbe,_0x7ad7c0,_0x311d1e,_0x151ae8){'use strict';const _0x283e52=_0x8ab2;class _0x12d11d extends _0x7ad7c0['FWorkbook']{[_0x283e52(0x114)](_0x3a21cd){const _0x553072=_0x283e52;return this['_injector']['get'](_0x4eda06[_0x553072(0x132)])['updateLayoutConfig'](_0x3a21cd),this;}['updatePrintRenderConfig'](_0x5da027){const _0x5a4487=_0x283e52;return this[_0x5a4487(0x107)]['get'](_0x4eda06[_0x5a4487(0x132)])['updateRenderConfig'](_0x5da027),this;}[_0x283e52(0x108)](){const _0x416de5=_0x283e52;return this[_0x416de5(0x107)][_0x416de5(0x12a)](_0x2eebbe[_0x416de5(0x103)])[_0x416de5(0x10c)](_0x4eda06[_0x416de5(0x105)]['id']);}[_0x283e52(0x116)](){const _0x236f13=_0x283e52;return this[_0x236f13(0x107)][_0x236f13(0x12a)](_0x2eebbe['ICommandService'])[_0x236f13(0x10c)](_0x4eda06['SheetPrintOpenOperation']['id']);}[_0x283e52(0x12e)](){const _0x33f81b=_0x283e52;return this[_0x33f81b(0x107)][_0x33f81b(0x12a)](_0x2eebbe['ICommandService'])['syncExecuteCommand'](_0x4eda06[_0x33f81b(0x123)]['id']);}async['saveScreenshotToClipboard'](){const _0x907e57=_0x283e52;return _0x4eda06[_0x907e57(0x137)](this[_0x907e57(0x107)])?this[_0x907e57(0x107)][_0x907e57(0x12a)](_0x2eebbe[_0x907e57(0x103)])[_0x907e57(0x10d)](_0x4eda06[_0x907e57(0x117)]['id']):!0x1;}}_0x7ad7c0['FWorkbook']['extend'](_0x12d11d);class _0x58ea65 extends _0x7ad7c0[_0x283e52(0x133)]{[_0x283e52(0x120)](){const _0xb4091f=_0x283e52;return _0x4eda06['hasPrintFacadePermission'](this[_0xb4091f(0x107)])?this['_injector'][_0xb4091f(0x12a)](_0x4eda06[_0xb4091f(0x136)])[_0xb4091f(0x100)](this['_workbook'][_0xb4091f(0x13e)](),this[_0xb4091f(0x11b)]['getSheetId'](),this[_0xb4091f(0x13b)]):!0x1;}}_0x7ad7c0['FRange'][_0x283e52(0x128)](_0x58ea65);class _0x56d558{get[_0x283e52(0x118)](){const _0x17ba7f=_0x283e52;return _0x17ba7f(0x118);}get[_0x283e52(0xfc)](){const _0x1a290c=_0x283e52;return _0x1a290c(0xfc);}get[_0x283e52(0x11e)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x55ce4f=_0x283e52;return _0x55ce4f(0x104);}get['SheetPrintConfirmed'](){const _0x3cf700=_0x283e52;return _0x3cf700(0x13c);}get[_0x283e52(0x139)](){return'SheetPrintCanceled';}}_0x311d1e['FEventName'][_0x283e52(0x128)](_0x56d558);class _0x8d7dbe{get['PrintArea'](){const _0x585417=_0x283e52;return _0x4eda06[_0x585417(0x111)];}get[_0x283e52(0x119)](){return _0x151ae8['PrintAlign'];}get[_0x283e52(0x10a)](){const _0x3550d7=_0x283e52;return _0x2eebbe[_0x3550d7(0x125)];}get['PrintPaperMargin'](){const _0x56beec=_0x283e52;return _0x151ae8[_0x56beec(0x10b)];}get[_0x283e52(0x121)](){return _0x151ae8['PrintScale'];}get['PrintDirection'](){const _0x21678c=_0x283e52;return _0x151ae8[_0x21678c(0x12d)];}get[_0x283e52(0x110)](){const _0x32924b=_0x283e52;return _0x4eda06[_0x32924b(0x110)];}get[_0x283e52(0xfe)](){return _0x4eda06['PrintHeaderFooter'];}get[_0x283e52(0x10e)](){const _0xfa0d23=_0x283e52;return _0x4eda06[_0xfa0d23(0x10e)];}}_0x311d1e[_0x283e52(0xfd)]['extend'](_0x8d7dbe);class _0x24facc extends _0x311d1e[_0x283e52(0x126)]{[_0x283e52(0x135)](_0x520fc1){const _0x5cd7bc=_0x283e52,_0x2a1e84=_0x520fc1['get'](_0x2eebbe['ICommandService']);this['registerEventHandler'](this[_0x5cd7bc(0x115)][_0x5cd7bc(0x118)],()=>_0x2a1e84[_0x5cd7bc(0x124)](_0x47aae8=>{const _0x43a178=_0x5cd7bc;if(_0x47aae8['id']===_0x4eda06[_0x43a178(0x131)]['id']){const _0x43f79c=this[_0x43a178(0x106)]();if(!_0x43f79c)return;const _0x3553c4={'workbook':_0x43f79c,'worksheet':_0x43f79c[_0x43a178(0x122)]()};if(_0x3553c4==null)return;if(this[_0x43a178(0x12f)](this[_0x43a178(0x115)][_0x43a178(0x118)],_0x3553c4),_0x3553c4[_0x43a178(0xfb)])throw new _0x2eebbe[(_0x43a178(0x109))]();}})),this[_0x5cd7bc(0x127)](this[_0x5cd7bc(0x115)][_0x5cd7bc(0xfc)],()=>_0x2a1e84['beforeCommandExecuted'](_0x2fe4e4=>{const _0x64531e=_0x5cd7bc;if(_0x2fe4e4['id']===_0x4eda06['ConfirmSheetPrintOperation']['id']){const _0x22d744=_0x520fc1[_0x64531e(0x12a)](_0x4eda06[_0x64531e(0x132)]);if(!this[_0x64531e(0x106)]())return;const _0x1fafd6={'layoutConfig':_0x22d744[_0x64531e(0xff)],'renderConfig':_0x22d744['renderConfig']};if(_0x1fafd6==null)return;if(this[_0x64531e(0x12f)](this[_0x64531e(0x115)][_0x64531e(0xfc)],_0x1fafd6),_0x1fafd6['cancel'])throw new _0x2eebbe[(_0x64531e(0x109))]();}})),this[_0x5cd7bc(0x127)](this[_0x5cd7bc(0x115)]['BeforeSheetPrintCanceled'],()=>_0x2a1e84[_0x5cd7bc(0x124)](_0x360e8d=>{const _0x110f0e=_0x5cd7bc;if(_0x360e8d['id']===_0x4eda06[_0x110f0e(0x123)]['id']){const _0x106687=_0x520fc1['get'](_0x4eda06['ISheetPrintManagerService']);if(!this[_0x110f0e(0x106)]())return;const _0x3c4578={'layoutConfig':_0x106687[_0x110f0e(0xff)],'renderConfig':_0x106687['renderConfig']};if(_0x3c4578==null)return;if(this[_0x110f0e(0x12f)](this['Event'][_0x110f0e(0x11e)],_0x3c4578),_0x3c4578['cancel'])throw new _0x2eebbe['CanceledError']();}})),this[_0x5cd7bc(0x127)](this[_0x5cd7bc(0x115)][_0x5cd7bc(0x104)],()=>_0x2a1e84[_0x5cd7bc(0x101)](_0x87a4c=>{const _0x4f2888=_0x5cd7bc;if(_0x87a4c['id']===_0x4eda06[_0x4f2888(0x131)]['id']){const _0xe6d40a=this[_0x4f2888(0x106)]();if(!_0xe6d40a)return;const _0x496d46={'workbook':_0xe6d40a,'worksheet':_0xe6d40a[_0x4f2888(0x122)]()};if(_0x496d46==null)return;this['fireEvent'](this[_0x4f2888(0x115)][_0x4f2888(0x104)],_0x496d46);}})),this[_0x5cd7bc(0x127)](this[_0x5cd7bc(0x115)][_0x5cd7bc(0x13c)],()=>_0x2a1e84[_0x5cd7bc(0x101)](_0x56ae92=>{const _0x5a7b0d=_0x5cd7bc;if(_0x56ae92['id']===_0x4eda06[_0x5a7b0d(0x105)]['id']){const _0x46bfdb=_0x520fc1[_0x5a7b0d(0x12a)](_0x4eda06['ISheetPrintManagerService']);if(!this[_0x5a7b0d(0x106)]())return;const _0x532dde={'layoutConfig':_0x46bfdb[_0x5a7b0d(0xff)],'renderConfig':_0x46bfdb[_0x5a7b0d(0x138)]};if(_0x532dde==null)return;this[_0x5a7b0d(0x12f)](this[_0x5a7b0d(0x115)]['SheetPrintConfirmed'],_0x532dde);}})),this[_0x5cd7bc(0x127)](this['Event']['SheetPrintCanceled'],()=>_0x2a1e84[_0x5cd7bc(0x101)](_0x12ae3c=>{const _0x46b335=_0x5cd7bc;if(_0x12ae3c['id']===_0x4eda06[_0x46b335(0x123)]['id']){const _0x4e72da=_0x520fc1[_0x46b335(0x12a)](_0x4eda06['ISheetPrintManagerService']);if(!this[_0x46b335(0x106)]())return;const _0x1ecb32={'layoutConfig':_0x4e72da[_0x46b335(0xff)],'renderConfig':_0x4e72da[_0x46b335(0x138)]};if(_0x1ecb32==null)return;this[_0x46b335(0x12f)](this[_0x46b335(0x115)][_0x46b335(0x139)],_0x1ecb32);}}));}}_0x311d1e[_0x283e52(0x126)][_0x283e52(0x128)](_0x24facc);}));
|