@univerjs-pro/sheets-print 0.10.10 → 0.10.11
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 +41 -41
- 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
|
-
|
|
13
|
-
|
|
12
|
+
Q: string;
|
|
13
|
+
t: string;
|
|
14
|
+
x: string;
|
|
15
|
+
i: string;
|
|
14
16
|
k: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
I: string;
|
|
18
|
+
e: string;
|
|
19
|
+
B: string;
|
|
20
|
+
G: string;
|
|
21
|
+
V: string;
|
|
22
|
+
S: string;
|
|
17
23
|
P: string;
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
U: string;
|
|
25
|
+
z: string;
|
|
26
|
+
W: string;
|
|
27
|
+
d: string;
|
|
28
|
+
H: string;
|
|
29
|
+
K: string;
|
|
30
|
+
X: string;
|
|
31
|
+
m: string;
|
|
32
|
+
y: string;
|
|
33
|
+
g: string;
|
|
34
|
+
r: string;
|
|
20
35
|
o: string;
|
|
36
|
+
R: string;
|
|
21
37
|
M: string;
|
|
22
|
-
b: string;
|
|
23
|
-
S: string;
|
|
24
|
-
n: string;
|
|
25
|
-
F: string;
|
|
26
38
|
A: string;
|
|
39
|
+
Z: string;
|
|
27
40
|
u: string;
|
|
28
|
-
|
|
29
|
-
B: string;
|
|
30
|
-
W: string;
|
|
31
|
-
x: string;
|
|
32
|
-
O: string;
|
|
33
|
-
y: string;
|
|
34
|
-
K: string;
|
|
35
|
-
e: string;
|
|
41
|
+
s: string;
|
|
36
42
|
L: string;
|
|
37
|
-
|
|
38
|
-
q: string;
|
|
39
|
-
d: string;
|
|
40
|
-
v: string;
|
|
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;
|
|
43
|
+
O: string;
|
|
51
44
|
a: string;
|
|
45
|
+
v: string;
|
|
46
|
+
j: string;
|
|
52
47
|
T: string;
|
|
53
|
-
w: string;
|
|
54
|
-
s: string;
|
|
55
|
-
i: string;
|
|
56
|
-
J: string;
|
|
57
|
-
V: string;
|
|
58
|
-
I: string;
|
|
59
|
-
h: string;
|
|
60
48
|
p: string;
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
f: string;
|
|
50
|
+
F: string;
|
|
51
|
+
Y: string;
|
|
52
|
+
C: string;
|
|
53
|
+
h: string;
|
|
54
|
+
q: string;
|
|
55
|
+
J: string;
|
|
56
|
+
E: string;
|
|
63
57
|
l: string;
|
|
58
|
+
w: string;
|
|
59
|
+
n: string;
|
|
60
|
+
b: string;
|
|
61
|
+
c: string;
|
|
62
|
+
D: string;
|
|
63
|
+
N: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "W6gPMH3g UzP92rMH3g(mHPzgRz, r6SmHP5z2) { M92 { P3gRM mHPzgRz0gW3hV9ML99V2 = mHPzgRz.RrmHM('-'); P3gRM 39H7HgFzRRV7z = pECY.rV9Rz(VM3S(mHPzgRz0gW3hV9ML99V2[x])); HW (!39H7HgFzRRV7z.6U) { 39H7HgFzRRV7z.6U = Y6ySz9(mHPzgRz0gW3hV9ML99V2[k]); } P3gRM HRb39Xz9 = M2rz3W b39Xz91m3SVmEP3rz !== '6gUzWHgzU' && RzmW HgRMVgPz3W b39Xz91m3SVmEP3rz; P3gRM P3gMzuM = HRb39Xz9 ? RzmW : ZHgU3Z; P3gRM yzRRV7zb39U = P3gMzuM.__8VRzIk__.rV9Rz(mHPzgRz0gW3hV9ML99V2[x]); P3gRM yzRRV7z = P3gMzuM.__Tzu__.RM9Hg7HW2(yzRRV7zb39U); P3gRM RH7gVM69zb39U = P3gMzuM.__8VRzIk__.rV9Rz(mHPzgRz0gW3hV9ML99V2[i]); P3gRM RH7gVM69z = P3gMzuM.__Tzu__.RM9Hg7HW2(RH7gVM69zb39U); P3gRM RH7gnVmHU = P3gMzuM.__Az9HW2__(RH7gVM69z, yzRRV7z, r6SmHP5z2); P3gRM U3yVHg = 39H7HgFzRRV7z.Uy; W6gPMH3g HRa3yVHgFVMPdHg7(3hVMMz9g, 3T3RM) { P3gRM rVMMz9g = 3hVMMz9g.9zrmVPz(/^.+/, ''); P3gRM d3RM = 3T3RM.9zrmVPz(/^.+/, ''); P3gRM rVMMz9ghV9MR = rVMMz9g.RrmHM('.'); P3gRM d3RMhV9MR = d3RM.RrmHM('.'); HW (!rVMMz9g.HgPm6UzR('*')) { 9zM69g rVMMz9g === d3RM; } HW (rVMMz9ghV9MR.mzg7Md < x || rVMMz9ghV9MR[Q] !== '*') { 9zM69g WVmRz; } P3gRM rVMMz9gE6WWHu = rVMMz9ghV9MR.RmHPz(t).K3Hg('.'); P3gRM d3RME6WWHu = d3RMhV9MR.RmHPz(-rVMMz9ghV9MR.mzg7Md + t).K3Hg('.'); 9zM69g rVMMz9gE6WWHu === d3RME6WWHu; } mzM U3yVHgnVmHU = (U3yVHg && U3yVHg.mzg7Md) ? U3yVHg.R3yz((Uy0Mzy) => HRa3yVHgFVMPdHg7(Uy0Mzy, m3PVMH3g.d3RMgVyz)) : M96z; HW (m3PVMH3g.d3RMgVyz === 'm3PVmd3RM') { U3yVHgnVmHU = M96z; } P3gRM AVmHU = RH7gnVmHU && U3yVHgnVmHU; 9zM69g { AVmHU, yzRRV7z: 39H7HgFzRRV7z, }; } PVMPd (z9939) { 9zM69g { AVmHU: WVmRz, yzRRV7z: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x45e2(_0xb8d6bd,_0x163b28){const _0x160c27=_0x160c();return _0x45e2=function(_0x45e2a4,_0x10d44f){_0x45e2a4=_0x45e2a4-0x145;let _0x583143=_0x160c27[_0x45e2a4];return _0x583143;},_0x45e2(_0xb8d6bd,_0x163b28);}function _0x160c(){const _0xfead54=['7669700zxKyBh','FRange','SheetPrintClientService','@univerjs-pro/sheets-print','CancelSheetPrintOperation','PrintAlign','Event','4802xlBWRO','_worksheet','ConfirmSheetPrintOperation','onCommandExecuted','PaperType','hasPrintFacadePermission','BeforeSheetPrintCanceled','_injector','getSheetId','FEnum','10gXAgJX','updatePrintConfig','UniverProPrint','_initialize','7274637jCRxif','updatePrintRenderConfig','PrintFreeze','PrintHeaderFooter','FUniver','1036968cpIVVS','updateLayoutConfig','layoutConfig','PrintArea','SheetPrintOpen','SheetPrintCanceled','syncExecuteCommand','21tNbExM','ISheetPrintManagerService','SheetPrintOpenOperation','getUnitId','335zeoHDi','cancel','ICommandService','SheetPrintConfirmed','PrintPaperMargin','PrintPaperSize','_range','PrintDirection','registerEventHandler','PrintHeaderFooterSymbol','BeforeSheetPrintConfirm','closePrintDialog','beforeCommandExecuted','BeforeSheetPrintOpen','3146ypFmbf','extend','object','UniverProSheetsPrint','CanceledError','@univerjs/sheets/facade','fireEvent','saveScreenshotToClipboard','get','132kiJoyh','38652ZLgSAM','updateRenderConfig','PrintScale','renderConfig','6867VMXwNq','2102766LVavfF','UniverSheetsFacade','@univerjs/core/facade','executeCommand','getActiveUniverSheet'];_0x160c=function(){return _0xfead54;};return _0x160c();}(function(_0x3b5622,_0x433d92){const _0x30c142=_0x45e2,_0xbbfb44=_0x3b5622();while(!![]){try{const _0x13013d=parseInt(_0x30c142(0x14d))/0x1*(parseInt(_0x30c142(0x176))/0x2)+parseInt(_0x30c142(0x169))/0x3*(parseInt(_0x30c142(0x164))/0x4)+parseInt(_0x30c142(0x180))/0x5*(-parseInt(_0x30c142(0x16a))/0x6)+-parseInt(_0x30c142(0x149))/0x7*(parseInt(_0x30c142(0x189))/0x8)+parseInt(_0x30c142(0x184))/0x9+parseInt(_0x30c142(0x16f))/0xa+parseInt(_0x30c142(0x15b))/0xb*(-parseInt(_0x30c142(0x165))/0xc);if(_0x13013d===_0x433d92)break;else _0xbbfb44['push'](_0xbbfb44['shift']());}catch(_0x5a29a5){_0xbbfb44['push'](_0xbbfb44['shift']());}}}(_0x160c,0x6c6f0),function(_0x5e91c6,_0x573db8){const _0x3d0409=_0x45e2;typeof exports==_0x3d0409(0x15d)&&typeof module<'u'?_0x573db8(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([_0x3d0409(0x172),'@univerjs/core',_0x3d0409(0x160),_0x3d0409(0x16c),'@univerjs-pro/print'],_0x573db8):(_0x5e91c6=typeof globalThis<'u'?globalThis:_0x5e91c6||self,_0x573db8(_0x5e91c6[_0x3d0409(0x15e)],_0x5e91c6['UniverCore'],_0x5e91c6[_0x3d0409(0x16b)],_0x5e91c6['UniverCoreFacade'],_0x5e91c6[_0x3d0409(0x182)]));}(this,function(_0x95a7fb,_0x2579c4,_0x40a211,_0x1b8910,_0xfd234a){'use strict';const _0x458eb7=_0x45e2;class _0x384ea9 extends _0x40a211['FWorkbook']{[_0x458eb7(0x181)](_0xa7188c){const _0x4094cf=_0x458eb7;return this[_0x4094cf(0x17d)][_0x4094cf(0x163)](_0x95a7fb[_0x4094cf(0x14a)])[_0x4094cf(0x18a)](_0xa7188c),this;}[_0x458eb7(0x185)](_0x132bf7){const _0x24d05f=_0x458eb7;return this['_injector']['get'](_0x95a7fb[_0x24d05f(0x14a)])[_0x24d05f(0x166)](_0x132bf7),this;}['print'](){const _0x33627e=_0x458eb7;return this[_0x33627e(0x17d)][_0x33627e(0x163)](_0x2579c4[_0x33627e(0x14f)])['syncExecuteCommand'](_0x95a7fb['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x2d759d=_0x458eb7;return this[_0x2d759d(0x17d)][_0x2d759d(0x163)](_0x2579c4['ICommandService'])['syncExecuteCommand'](_0x95a7fb[_0x2d759d(0x14b)]['id']);}[_0x458eb7(0x158)](){const _0x3e50a5=_0x458eb7;return this[_0x3e50a5(0x17d)][_0x3e50a5(0x163)](_0x2579c4[_0x3e50a5(0x14f)])[_0x3e50a5(0x148)](_0x95a7fb[_0x3e50a5(0x173)]['id']);}async[_0x458eb7(0x162)](){const _0x5a99e4=_0x458eb7;return _0x95a7fb[_0x5a99e4(0x17b)](this['_injector'])?this[_0x5a99e4(0x17d)][_0x5a99e4(0x163)](_0x2579c4[_0x5a99e4(0x14f)])[_0x5a99e4(0x16d)](_0x95a7fb['SheetScreenShotOperation']['id']):!0x1;}}_0x40a211['FWorkbook']['extend'](_0x384ea9);class _0x1e2439 extends _0x40a211['FRange']{['getScreenshot'](){const _0x44d625=_0x458eb7;return _0x95a7fb[_0x44d625(0x17b)](this['_injector'])?this[_0x44d625(0x17d)][_0x44d625(0x163)](_0x95a7fb[_0x44d625(0x171)])['getRangeImage'](this['_workbook'][_0x44d625(0x14c)](),this[_0x44d625(0x177)][_0x44d625(0x17e)](),this[_0x44d625(0x153)]):!0x1;}}_0x40a211[_0x458eb7(0x170)][_0x458eb7(0x15c)](_0x1e2439);class _0x355b79{get[_0x458eb7(0x15a)](){const _0x39efbe=_0x458eb7;return _0x39efbe(0x15a);}get[_0x458eb7(0x157)](){return'BeforeSheetPrintConfirm';}get[_0x458eb7(0x17c)](){const _0x1ed7ee=_0x458eb7;return _0x1ed7ee(0x17c);}get[_0x458eb7(0x146)](){const _0x29220d=_0x458eb7;return _0x29220d(0x146);}get[_0x458eb7(0x150)](){const _0x4b8a28=_0x458eb7;return _0x4b8a28(0x150);}get[_0x458eb7(0x147)](){return'SheetPrintCanceled';}}_0x1b8910['FEventName']['extend'](_0x355b79);class _0x32d141{get[_0x458eb7(0x145)](){const _0x3f2278=_0x458eb7;return _0x95a7fb[_0x3f2278(0x145)];}get[_0x458eb7(0x174)](){const _0x138c14=_0x458eb7;return _0xfd234a[_0x138c14(0x174)];}get[_0x458eb7(0x152)](){const _0x16e54f=_0x458eb7;return _0x2579c4[_0x16e54f(0x17a)];}get[_0x458eb7(0x151)](){return _0xfd234a['PrintPaperMargin'];}get['PrintScale'](){const _0x47bb51=_0x458eb7;return _0xfd234a[_0x47bb51(0x167)];}get[_0x458eb7(0x154)](){return _0xfd234a['PrintDirection'];}get[_0x458eb7(0x186)](){const _0x516040=_0x458eb7;return _0x95a7fb[_0x516040(0x186)];}get['PrintHeaderFooter'](){const _0xdad10e=_0x458eb7;return _0x95a7fb[_0xdad10e(0x187)];}get[_0x458eb7(0x156)](){const _0x183956=_0x458eb7;return _0x95a7fb[_0x183956(0x156)];}}_0x1b8910[_0x458eb7(0x17f)][_0x458eb7(0x15c)](_0x32d141);class _0x4d63df extends _0x1b8910[_0x458eb7(0x188)]{[_0x458eb7(0x183)](_0x4126a7){const _0x58d131=_0x458eb7,_0x4e3bf9=_0x4126a7['get'](_0x2579c4[_0x58d131(0x14f)]);this[_0x58d131(0x155)](this['Event'][_0x58d131(0x15a)],()=>_0x4e3bf9[_0x58d131(0x159)](_0x5524b6=>{const _0x4e0054=_0x58d131;if(_0x5524b6['id']===_0x95a7fb[_0x4e0054(0x14b)]['id']){const _0x22f349=this['getActiveUniverSheet']();if(!_0x22f349)return;const _0x1613e6={'workbook':_0x22f349,'worksheet':_0x22f349['getActiveSheet']()};if(_0x1613e6==null)return;if(this[_0x4e0054(0x161)](this['Event'][_0x4e0054(0x15a)],_0x1613e6),_0x1613e6[_0x4e0054(0x14e)])throw new _0x2579c4[(_0x4e0054(0x15f))]();}})),this[_0x58d131(0x155)](this[_0x58d131(0x175)]['BeforeSheetPrintConfirm'],()=>_0x4e3bf9[_0x58d131(0x159)](_0x345e1b=>{const _0x11d496=_0x58d131;if(_0x345e1b['id']===_0x95a7fb[_0x11d496(0x178)]['id']){const _0x20d76e=_0x4126a7['get'](_0x95a7fb[_0x11d496(0x14a)]);if(!this[_0x11d496(0x16e)]())return;const _0x4419a7={'layoutConfig':_0x20d76e[_0x11d496(0x18b)],'renderConfig':_0x20d76e['renderConfig']};if(_0x4419a7==null)return;if(this[_0x11d496(0x161)](this[_0x11d496(0x175)][_0x11d496(0x157)],_0x4419a7),_0x4419a7['cancel'])throw new _0x2579c4[(_0x11d496(0x15f))]();}})),this[_0x58d131(0x155)](this[_0x58d131(0x175)][_0x58d131(0x17c)],()=>_0x4e3bf9[_0x58d131(0x159)](_0x2ab1f9=>{const _0x361c73=_0x58d131;if(_0x2ab1f9['id']===_0x95a7fb[_0x361c73(0x173)]['id']){const _0x37ec99=_0x4126a7[_0x361c73(0x163)](_0x95a7fb['ISheetPrintManagerService']);if(!this[_0x361c73(0x16e)]())return;const _0x3b95f3={'layoutConfig':_0x37ec99[_0x361c73(0x18b)],'renderConfig':_0x37ec99[_0x361c73(0x168)]};if(_0x3b95f3==null)return;if(this[_0x361c73(0x161)](this['Event'][_0x361c73(0x17c)],_0x3b95f3),_0x3b95f3['cancel'])throw new _0x2579c4[(_0x361c73(0x15f))]();}})),this[_0x58d131(0x155)](this[_0x58d131(0x175)]['SheetPrintOpen'],()=>_0x4e3bf9[_0x58d131(0x179)](_0x23d2ea=>{const _0x55d571=_0x58d131;if(_0x23d2ea['id']===_0x95a7fb[_0x55d571(0x14b)]['id']){const _0x2c1337=this['getActiveUniverSheet']();if(!_0x2c1337)return;const _0x1ef44d={'workbook':_0x2c1337,'worksheet':_0x2c1337['getActiveSheet']()};if(_0x1ef44d==null)return;this[_0x55d571(0x161)](this[_0x55d571(0x175)][_0x55d571(0x146)],_0x1ef44d);}})),this[_0x58d131(0x155)](this[_0x58d131(0x175)]['SheetPrintConfirmed'],()=>_0x4e3bf9[_0x58d131(0x179)](_0x55fa1=>{const _0x5ddded=_0x58d131;if(_0x55fa1['id']===_0x95a7fb[_0x5ddded(0x178)]['id']){const _0x11dab3=_0x4126a7['get'](_0x95a7fb['ISheetPrintManagerService']);if(!this[_0x5ddded(0x16e)]())return;const _0x2983f8={'layoutConfig':_0x11dab3[_0x5ddded(0x18b)],'renderConfig':_0x11dab3[_0x5ddded(0x168)]};if(_0x2983f8==null)return;this['fireEvent'](this[_0x5ddded(0x175)]['SheetPrintConfirmed'],_0x2983f8);}})),this[_0x58d131(0x155)](this[_0x58d131(0x175)][_0x58d131(0x147)],()=>_0x4e3bf9['onCommandExecuted'](_0x45f407=>{const _0x4bce76=_0x58d131;if(_0x45f407['id']===_0x95a7fb[_0x4bce76(0x173)]['id']){const _0x4498bf=_0x4126a7[_0x4bce76(0x163)](_0x95a7fb['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x4f3a34={'layoutConfig':_0x4498bf['layoutConfig'],'renderConfig':_0x4498bf[_0x4bce76(0x168)]};if(_0x4f3a34==null)return;this[_0x4bce76(0x161)](this[_0x4bce76(0x175)][_0x4bce76(0x147)],_0x4f3a34);}}));}}_0x1b8910[_0x458eb7(0x188)]['extend'](_0x4d63df);}));
|