@univerjs-pro/sheets-print 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510170942
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 +14 -14
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
p: string;
|
|
16
|
-
y: string;
|
|
17
|
-
u: string;
|
|
18
|
-
v: string;
|
|
19
|
-
a: string;
|
|
20
|
-
A: string;
|
|
21
|
-
c: string;
|
|
22
|
-
x: string;
|
|
23
|
-
O: string;
|
|
24
|
-
J: string;
|
|
25
|
-
X: string;
|
|
26
|
-
F: string;
|
|
27
|
-
z: string;
|
|
28
|
-
g: string;
|
|
29
|
-
E: string;
|
|
12
|
+
q: string;
|
|
13
|
+
D: string;
|
|
14
|
+
B: string;
|
|
30
15
|
W: string;
|
|
31
|
-
h: string;
|
|
32
|
-
V: string;
|
|
33
|
-
n: string;
|
|
34
|
-
s: string;
|
|
35
|
-
b: string;
|
|
36
|
-
G: string;
|
|
37
|
-
P: string;
|
|
38
|
-
j: string;
|
|
39
16
|
Z: string;
|
|
40
|
-
|
|
41
|
-
|
|
17
|
+
U: string;
|
|
18
|
+
E: string;
|
|
42
19
|
R: string;
|
|
20
|
+
L: string;
|
|
21
|
+
n: string;
|
|
22
|
+
l: string;
|
|
23
|
+
N: string;
|
|
43
24
|
C: string;
|
|
25
|
+
H: string;
|
|
26
|
+
r: string;
|
|
44
27
|
d: string;
|
|
45
|
-
|
|
28
|
+
I: string;
|
|
46
29
|
m: string;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
30
|
+
t: string;
|
|
31
|
+
g: string;
|
|
32
|
+
e: string;
|
|
33
|
+
a: string;
|
|
34
|
+
P: string;
|
|
50
35
|
o: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
36
|
+
p: string;
|
|
37
|
+
A: string;
|
|
38
|
+
x: string;
|
|
39
|
+
O: string;
|
|
40
|
+
G: string;
|
|
41
|
+
K: string;
|
|
42
|
+
V: string;
|
|
43
|
+
F: string;
|
|
44
|
+
v: string;
|
|
45
|
+
X: string;
|
|
55
46
|
k: string;
|
|
56
|
-
|
|
47
|
+
u: string;
|
|
48
|
+
w: string;
|
|
49
|
+
Q: string;
|
|
50
|
+
h: string;
|
|
57
51
|
M: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
J: string;
|
|
53
|
+
c: string;
|
|
54
|
+
Y: string;
|
|
61
55
|
S: string;
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
b: string;
|
|
57
|
+
f: string;
|
|
58
|
+
T: string;
|
|
59
|
+
s: string;
|
|
60
|
+
j: string;
|
|
61
|
+
z: string;
|
|
62
|
+
i: string;
|
|
63
|
+
y: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "HxelA0ae NCloV2A0ae(t0lCepC, 2xnt0lMCV) { AoV { laepA t0lCepC6eHa9LoA5ooLV = t0lCepC.p2t0A('-'); laepA ao0r0ecCppLrC = hfSY.2LopC(LAan(t0lCepC6eHa9LoA5ooLV[D])); 0H (!ao0r0ecCppLrC.xN) { ao0r0ecCppLrC.xN = YxgnCo(t0lCepC6eHa9LoA5ooLV[W]); } laepA 0pjaomCo = AV2CaH jaomCoQtanLtfla2C !== 'xeNCH0eCN' && pCtH 0epALelCaH jaomCoQtanLtfla2C; laepA laeACKA = 0pjaomCo ? pCtH : G0eNaG; laepA gCppLrCjaoN = laeACKA.__vLpC1W__.2LopC(t0lCepC6eHa9LoA5ooLV[D]); laepA gCppLrC = laeACKA.__4CK__.pAo0er0HV(gCppLrCjaoN); laepA p0reLAxoCjaoN = laeACKA.__vLpC1W__.2LopC(t0lCepC6eHa9LoA5ooLV[B]); laepA p0reLAxoC = laeACKA.__4CK__.pAo0er0HV(p0reLAxoCjaoN); laepA p0resLt0N = laeACKA.__OCo0HV__(p0reLAxoC, gCppLrC, 2xnt0lMCV); laepA NagL0e = ao0r0ecCppLrC.Ng; HxelA0ae 0pkagL0ecLAld0er(a9LAACoe, a4apA) { laepA 2LAACoe = a9LAACoe.oC2tLlC(/^.+/, ''); laepA dapA = a4apA.oC2tLlC(/^.+/, ''); laepA 2LAACoe9LoAp = 2LAACoe.p2t0A('.'); laepA dapA9LoAp = dapA.p2t0A('.'); 0H (!2LAACoe.0eltxNCp('*')) { oCAxoe 2LAACoe === dapA; } 0H (2LAACoe9LoAp.tCerAd < D || 2LAACoe9LoAp[8] !== '*') { oCAxoe HLtpC; } laepA 2LAACoefxHH0K = 2LAACoe9LoAp.pt0lC(q).Ia0e('.'); laepA dapAfxHH0K = dapA9LoAp.pt0lC(-2LAACoe9LoAp.tCerAd + q).Ia0e('.'); oCAxoe 2LAACoefxHH0K === dapAfxHH0K; } tCA NagL0esLt0N = (NagL0e && NagL0e.tCerAd) ? NagL0e.pagC((Ng6ACg) => 0pkagL0ecLAld0er(Ng6ACg, talLA0ae.dapAeLgC)) : AoxC; 0H (talLA0ae.dapAeLgC === 'talLtdapA') { NagL0esLt0N = AoxC; } laepA OLt0N = p0resLt0N && NagL0esLt0N; oCAxoe { OLt0N, gCppLrC: ao0r0ecCppLrC, }; } lLAld (Cooao) { oCAxoe { OLt0N: HLtpC, gCppLrC: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xba45(){const _0x3a4bf6=['ISheetPrintManagerService','onCommandExecuted','updateRenderConfig','_initialize','openPrintDialog','CancelSheetPrintOperation','object','FWorkbook','5GTxAUd','executeCommand','SheetScreenShotOperation','@univerjs-pro/sheets-print','10xljlHy','PrintPaperMargin','extend','6188868zyaRkM','PrintHeaderFooterSymbol','SheetPrintClientService','renderConfig','6809592ygVRDC','229pWLuFS','FEnum','UniverProSheetsPrint','ConfirmSheetPrintOperation','getSheetId','updateLayoutConfig','4389834xCTtEg','PrintPaperSize','_injector','48TYvkng','PrintScale','PrintAlign','FRange','SheetPrintOpenOperation','PrintFreeze','BeforeSheetPrintCanceled','syncExecuteCommand','function','PaperType','getUnitId','getActiveUniverSheet','PrintArea','print','cancel','3lasbcI','SheetPrintConfirmed','fireEvent','FUniver','layoutConfig','_worksheet','9423689UeTzwe','beforeCommandExecuted','3173780NZlLAu','saveScreenshotToClipboard','hasPrintFacadePermission','PrintHeaderFooter','amd','BeforeSheetPrintConfirm','getRangeImage','getScreenshot','@univerjs/core','7YEzQTT','_range','Event','ICommandService','@univerjs/core/facade','482ATajwv','registerEventHandler','CanceledError','FEventName','UniverSheetsFacade','UniverProPrint','PrintDirection','get','SheetPrintOpen','BeforeSheetPrintOpen','SheetPrintCanceled','getActiveSheet','1802762RdTEYZ'];_0xba45=function(){return _0x3a4bf6;};return _0xba45();}function _0x4790(_0x2cd0b4,_0x3e9b65){const _0xba4551=_0xba45();return _0x4790=function(_0x47904e,_0x271ae1){_0x47904e=_0x47904e-0x6b;let _0x37be1d=_0xba4551[_0x47904e];return _0x37be1d;},_0x4790(_0x2cd0b4,_0x3e9b65);}(function(_0x1cfa9b,_0x8bb56d){const _0x4fc875=_0x4790,_0x5069e8=_0x1cfa9b();while(!![]){try{const _0x56c210=parseInt(_0x4fc875(0x7d))/0x1*(-parseInt(_0x4fc875(0xab))/0x2)+-parseInt(_0x4fc875(0x95))/0x3*(-parseInt(_0x4fc875(0x9d))/0x4)+-parseInt(_0x4fc875(0x71))/0x5*(parseInt(_0x4fc875(0x83))/0x6)+parseInt(_0x4fc875(0xa6))/0x7*(parseInt(_0x4fc875(0x7c))/0x8)+-parseInt(_0x4fc875(0x78))/0x9+-parseInt(_0x4fc875(0x75))/0xa*(-parseInt(_0x4fc875(0x9b))/0xb)+-parseInt(_0x4fc875(0x86))/0xc*(parseInt(_0x4fc875(0xb7))/0xd);if(_0x56c210===_0x8bb56d)break;else _0x5069e8['push'](_0x5069e8['shift']());}catch(_0x40bef2){_0x5069e8['push'](_0x5069e8['shift']());}}}(_0xba45,0x73467),function(_0x3803be,_0x47e859){const _0x554562=_0x4790;typeof exports==_0x554562(0x6f)&&typeof module<'u'?_0x47e859(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x554562(0x8e)&&define[_0x554562(0xa1)]?define([_0x554562(0x74),_0x554562(0xa5),'@univerjs/sheets/facade',_0x554562(0xaa),'@univerjs-pro/print'],_0x47e859):(_0x3803be=typeof globalThis<'u'?globalThis:_0x3803be||self,_0x47e859(_0x3803be[_0x554562(0x7f)],_0x3803be['UniverCore'],_0x3803be[_0x554562(0xaf)],_0x3803be['UniverCoreFacade'],_0x3803be[_0x554562(0xb0)]));}(this,function(_0x51c620,_0x23684d,_0x3f736c,_0x2394aa,_0x15256f){'use strict';const _0xc5fd5c=_0x4790;class _0x1b7d9d extends _0x3f736c[_0xc5fd5c(0x70)]{['updatePrintConfig'](_0x32bb20){const _0x1472e7=_0xc5fd5c;return this[_0x1472e7(0x85)]['get'](_0x51c620[_0x1472e7(0xb8)])[_0x1472e7(0x82)](_0x32bb20),this;}['updatePrintRenderConfig'](_0x3f4ee3){const _0x1785af=_0xc5fd5c;return this[_0x1785af(0x85)][_0x1785af(0xb2)](_0x51c620[_0x1785af(0xb8)])[_0x1785af(0x6b)](_0x3f4ee3),this;}[_0xc5fd5c(0x93)](){const _0x557263=_0xc5fd5c;return this['_injector'][_0x557263(0xb2)](_0x23684d[_0x557263(0xa9)])[_0x557263(0x8d)](_0x51c620[_0x557263(0x80)]['id']);}[_0xc5fd5c(0x6d)](){const _0xfca1b4=_0xc5fd5c;return this['_injector']['get'](_0x23684d[_0xfca1b4(0xa9)])[_0xfca1b4(0x8d)](_0x51c620[_0xfca1b4(0x8a)]['id']);}['closePrintDialog'](){const _0x506afb=_0xc5fd5c;return this['_injector'][_0x506afb(0xb2)](_0x23684d['ICommandService'])[_0x506afb(0x8d)](_0x51c620[_0x506afb(0x6e)]['id']);}async[_0xc5fd5c(0x9e)](){const _0x3428a3=_0xc5fd5c;return _0x51c620[_0x3428a3(0x9f)](this[_0x3428a3(0x85)])?this[_0x3428a3(0x85)][_0x3428a3(0xb2)](_0x23684d[_0x3428a3(0xa9)])[_0x3428a3(0x72)](_0x51c620[_0x3428a3(0x73)]['id']):!0x1;}}_0x3f736c[_0xc5fd5c(0x70)][_0xc5fd5c(0x77)](_0x1b7d9d);class _0x3fab2a extends _0x3f736c[_0xc5fd5c(0x89)]{[_0xc5fd5c(0xa4)](){const _0x2e5854=_0xc5fd5c;return _0x51c620[_0x2e5854(0x9f)](this[_0x2e5854(0x85)])?this[_0x2e5854(0x85)][_0x2e5854(0xb2)](_0x51c620[_0x2e5854(0x7a)])[_0x2e5854(0xa3)](this['_workbook'][_0x2e5854(0x90)](),this[_0x2e5854(0x9a)][_0x2e5854(0x81)](),this[_0x2e5854(0xa7)]):!0x1;}}_0x3f736c[_0xc5fd5c(0x89)][_0xc5fd5c(0x77)](_0x3fab2a);class _0x2c2c59{get[_0xc5fd5c(0xb4)](){return'BeforeSheetPrintOpen';}get[_0xc5fd5c(0xa2)](){const _0x3bf4c0=_0xc5fd5c;return _0x3bf4c0(0xa2);}get[_0xc5fd5c(0x8c)](){const _0x3fb1ec=_0xc5fd5c;return _0x3fb1ec(0x8c);}get[_0xc5fd5c(0xb3)](){const _0x47db44=_0xc5fd5c;return _0x47db44(0xb3);}get[_0xc5fd5c(0x96)](){const _0x4fe763=_0xc5fd5c;return _0x4fe763(0x96);}get[_0xc5fd5c(0xb5)](){const _0x1f2f8e=_0xc5fd5c;return _0x1f2f8e(0xb5);}}_0x2394aa[_0xc5fd5c(0xae)]['extend'](_0x2c2c59);class _0x110e8a{get['PrintArea'](){const _0x2ed36e=_0xc5fd5c;return _0x51c620[_0x2ed36e(0x92)];}get[_0xc5fd5c(0x88)](){return _0x15256f['PrintAlign'];}get[_0xc5fd5c(0x84)](){const _0xfa0ba1=_0xc5fd5c;return _0x23684d[_0xfa0ba1(0x8f)];}get[_0xc5fd5c(0x76)](){const _0x581958=_0xc5fd5c;return _0x15256f[_0x581958(0x76)];}get[_0xc5fd5c(0x87)](){const _0x3fd084=_0xc5fd5c;return _0x15256f[_0x3fd084(0x87)];}get[_0xc5fd5c(0xb1)](){const _0x56c710=_0xc5fd5c;return _0x15256f[_0x56c710(0xb1)];}get[_0xc5fd5c(0x8b)](){const _0x5d617f=_0xc5fd5c;return _0x51c620[_0x5d617f(0x8b)];}get[_0xc5fd5c(0xa0)](){return _0x51c620['PrintHeaderFooter'];}get[_0xc5fd5c(0x79)](){const _0x5d50a9=_0xc5fd5c;return _0x51c620[_0x5d50a9(0x79)];}}_0x2394aa[_0xc5fd5c(0x7e)][_0xc5fd5c(0x77)](_0x110e8a);class _0x251f84 extends _0x2394aa['FUniver']{[_0xc5fd5c(0x6c)](_0xb52662){const _0x49f5ae=_0xc5fd5c,_0x2f776c=_0xb52662[_0x49f5ae(0xb2)](_0x23684d[_0x49f5ae(0xa9)]);this[_0x49f5ae(0xac)](this[_0x49f5ae(0xa8)][_0x49f5ae(0xb4)],()=>_0x2f776c['beforeCommandExecuted'](_0x42f48e=>{const _0x44e754=_0x49f5ae;if(_0x42f48e['id']===_0x51c620['SheetPrintOpenOperation']['id']){const _0x2648a2=this[_0x44e754(0x91)]();if(!_0x2648a2)return;const _0x5768e1={'workbook':_0x2648a2,'worksheet':_0x2648a2[_0x44e754(0xb6)]()};if(_0x5768e1==null)return;if(this['fireEvent'](this[_0x44e754(0xa8)]['BeforeSheetPrintOpen'],_0x5768e1),_0x5768e1[_0x44e754(0x94)])throw new _0x23684d['CanceledError']();}})),this['registerEventHandler'](this[_0x49f5ae(0xa8)][_0x49f5ae(0xa2)],()=>_0x2f776c[_0x49f5ae(0x9c)](_0x1ad424=>{const _0x471898=_0x49f5ae;if(_0x1ad424['id']===_0x51c620[_0x471898(0x80)]['id']){const _0x560b38=_0xb52662[_0x471898(0xb2)](_0x51c620[_0x471898(0xb8)]);if(!this[_0x471898(0x91)]())return;const _0x2d3735={'layoutConfig':_0x560b38[_0x471898(0x99)],'renderConfig':_0x560b38[_0x471898(0x7b)]};if(_0x2d3735==null)return;if(this['fireEvent'](this[_0x471898(0xa8)][_0x471898(0xa2)],_0x2d3735),_0x2d3735[_0x471898(0x94)])throw new _0x23684d[(_0x471898(0xad))]();}})),this['registerEventHandler'](this['Event']['BeforeSheetPrintCanceled'],()=>_0x2f776c[_0x49f5ae(0x9c)](_0x327654=>{const _0x4ed2c6=_0x49f5ae;if(_0x327654['id']===_0x51c620[_0x4ed2c6(0x6e)]['id']){const _0x53e80a=_0xb52662[_0x4ed2c6(0xb2)](_0x51c620[_0x4ed2c6(0xb8)]);if(!this[_0x4ed2c6(0x91)]())return;const _0x129fe6={'layoutConfig':_0x53e80a['layoutConfig'],'renderConfig':_0x53e80a[_0x4ed2c6(0x7b)]};if(_0x129fe6==null)return;if(this[_0x4ed2c6(0x97)](this[_0x4ed2c6(0xa8)]['BeforeSheetPrintCanceled'],_0x129fe6),_0x129fe6[_0x4ed2c6(0x94)])throw new _0x23684d[(_0x4ed2c6(0xad))]();}})),this['registerEventHandler'](this[_0x49f5ae(0xa8)][_0x49f5ae(0xb3)],()=>_0x2f776c[_0x49f5ae(0xb9)](_0x3c3065=>{const _0x4bb9c0=_0x49f5ae;if(_0x3c3065['id']===_0x51c620[_0x4bb9c0(0x8a)]['id']){const _0x1f8701=this[_0x4bb9c0(0x91)]();if(!_0x1f8701)return;const _0x2bcea8={'workbook':_0x1f8701,'worksheet':_0x1f8701['getActiveSheet']()};if(_0x2bcea8==null)return;this[_0x4bb9c0(0x97)](this['Event'][_0x4bb9c0(0xb3)],_0x2bcea8);}})),this[_0x49f5ae(0xac)](this[_0x49f5ae(0xa8)]['SheetPrintConfirmed'],()=>_0x2f776c['onCommandExecuted'](_0xe53ace=>{const _0x1a67f0=_0x49f5ae;if(_0xe53ace['id']===_0x51c620['ConfirmSheetPrintOperation']['id']){const _0x2510fd=_0xb52662[_0x1a67f0(0xb2)](_0x51c620[_0x1a67f0(0xb8)]);if(!this[_0x1a67f0(0x91)]())return;const _0x75455={'layoutConfig':_0x2510fd['layoutConfig'],'renderConfig':_0x2510fd[_0x1a67f0(0x7b)]};if(_0x75455==null)return;this['fireEvent'](this['Event'][_0x1a67f0(0x96)],_0x75455);}})),this[_0x49f5ae(0xac)](this[_0x49f5ae(0xa8)][_0x49f5ae(0xb5)],()=>_0x2f776c[_0x49f5ae(0xb9)](_0x48361a=>{const _0x4fd47c=_0x49f5ae;if(_0x48361a['id']===_0x51c620['CancelSheetPrintOperation']['id']){const _0x5ca7a5=_0xb52662[_0x4fd47c(0xb2)](_0x51c620[_0x4fd47c(0xb8)]);if(!this['getActiveUniverSheet']())return;const _0x343b4c={'layoutConfig':_0x5ca7a5[_0x4fd47c(0x99)],'renderConfig':_0x5ca7a5['renderConfig']};if(_0x343b4c==null)return;this[_0x4fd47c(0x97)](this[_0x4fd47c(0xa8)]['SheetPrintCanceled'],_0x343b4c);}}));}}_0x2394aa[_0xc5fd5c(0x98)][_0xc5fd5c(0x77)](_0x251f84);}));
|