@univerjs-pro/sheets-print 0.10.11 → 0.10.12-nightly.202510221114
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 +15 -15
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
+
M: string;
|
|
12
13
|
Q: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
h: string;
|
|
15
|
+
w: string;
|
|
16
|
+
n: string;
|
|
17
|
+
b: string;
|
|
18
|
+
E: string;
|
|
19
|
+
Z: string;
|
|
20
|
+
Y: string;
|
|
21
|
+
l: string;
|
|
22
|
+
T: string;
|
|
23
|
+
f: string;
|
|
24
|
+
o: string;
|
|
25
|
+
j: string;
|
|
26
|
+
s: string;
|
|
24
27
|
U: string;
|
|
28
|
+
F: string;
|
|
29
|
+
g: string;
|
|
30
|
+
V: string;
|
|
25
31
|
z: string;
|
|
32
|
+
a: string;
|
|
33
|
+
t: string;
|
|
34
|
+
C: string;
|
|
35
|
+
N: string;
|
|
26
36
|
W: string;
|
|
27
|
-
d: string;
|
|
28
|
-
H: string;
|
|
29
|
-
K: string;
|
|
30
|
-
X: string;
|
|
31
|
-
m: string;
|
|
32
|
-
y: string;
|
|
33
|
-
g: string;
|
|
34
37
|
r: string;
|
|
35
|
-
o: string;
|
|
36
38
|
R: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
u: string;
|
|
41
|
-
s: string;
|
|
39
|
+
k: string;
|
|
40
|
+
H: string;
|
|
41
|
+
e: string;
|
|
42
42
|
L: string;
|
|
43
43
|
O: string;
|
|
44
|
-
|
|
44
|
+
d: string;
|
|
45
|
+
G: string;
|
|
46
|
+
K: string;
|
|
47
|
+
c: string;
|
|
48
|
+
I: string;
|
|
49
|
+
S: string;
|
|
50
|
+
A: string;
|
|
45
51
|
v: string;
|
|
46
|
-
|
|
47
|
-
T: string;
|
|
48
|
-
p: string;
|
|
49
|
-
f: string;
|
|
50
|
-
F: string;
|
|
51
|
-
Y: string;
|
|
52
|
-
C: string;
|
|
53
|
-
h: string;
|
|
52
|
+
y: string;
|
|
54
53
|
q: string;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
l: string;
|
|
58
|
-
w: string;
|
|
59
|
-
n: string;
|
|
60
|
-
b: string;
|
|
61
|
-
c: string;
|
|
54
|
+
u: string;
|
|
55
|
+
B: string;
|
|
62
56
|
D: string;
|
|
63
|
-
|
|
57
|
+
i: string;
|
|
58
|
+
x: string;
|
|
59
|
+
p: string;
|
|
60
|
+
J: string;
|
|
61
|
+
X: string;
|
|
62
|
+
P: string;
|
|
63
|
+
m: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "sRafrFta ojfNe9rFta(zFfjaWj, 9RTzFfvje) { rNe { ftaWr zFfjaWj5astulNrONNle = zFfjaWj.W9zFr('-'); ftaWr tNFUFaqjWWlUj = Ai28.9lNWj(lrtT(zFfjaWj5astulNrONNle[Q])); Fs (!tNFUFaqjWWlUj.Ro) { tNFUFaqjWWlUj.Ro = 8R3TjN(zFfjaWj5astulNrONNle[w]); } ftaWr FWXtNVjN = re9jts XtNVjNIztTlzift9j !== 'RaojsFajo' && Wjzs FaWrlafjts XtNVjNIztTlzift9j; ftaWr ftarj4r = FWXtNVjN ? Wjzs : HFaotH; ftaWr 3jWWlUjXtNo = ftarj4r.__1lWjbw__.9lNWj(zFfjaWj5astulNrONNle[Q]); ftaWr 3jWWlUj = ftarj4r.__Sj4__.WrNFaUFse(3jWWlUjXtNo); ftaWr WFUalrRNjXtNo = ftarj4r.__1lWjbw__.9lNWj(zFfjaWj5astulNrONNle[h]); ftaWr WFUalrRNj = ftarj4r.__Sj4__.WrNFaUFse(WFUalrRNjXtNo); ftaWr WFUaJlzFo = ftarj4r.__kjNFse__(WFUalrRNj, 3jWWlUj, 9RTzFfvje); ftaWr ot3lFa = tNFUFaqjWWlUj.o3; sRafrFta FWGt3lFaqlrf6FaU(tulrrjNa, tStWr) { ftaWr 9lrrjNa = tulrrjNa.Nj9zlfj(/^.+/, ''); ftaWr 6tWr = tStWr.Nj9zlfj(/^.+/, ''); ftaWr 9lrrjNaulNrW = 9lrrjNa.W9zFr('.'); ftaWr 6tWrulNrW = 6tWr.W9zFr('.'); Fs (!9lrrjNa.FafzRojW('*')) { NjrRNa 9lrrjNa === 6tWr; } Fs (9lrrjNaulNrW.zjaUr6 < Q || 9lrrjNaulNrW[0] !== '*') { NjrRNa slzWj; } ftaWr 9lrrjNaiRssF4 = 9lrrjNaulNrW.WzFfj(M).gtFa('.'); ftaWr 6tWriRssF4 = 6tWrulNrW.WzFfj(-9lrrjNaulNrW.zjaUr6 + M).gtFa('.'); NjrRNa 9lrrjNaiRssF4 === 6tWriRssF4; } zjr ot3lFaJlzFo = (ot3lFa && ot3lFa.zjaUr6) ? ot3lFa.Wt3j((o35rj3) => FWGt3lFaqlrf6FaU(o35rj3, ztflrFta.6tWral3j)) : rNRj; Fs (ztflrFta.6tWral3j === 'ztflz6tWr') { ot3lFaJlzFo = rNRj; } ftaWr klzFo = WFUaJlzFo && ot3lFaJlzFo; NjrRNa { klzFo, 3jWWlUj: tNFUFaqjWWlUj, }; } flrf6 (jNNtN) { NjrRNa { klzFo: slzWj, 3jWWlUj: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4521(_0x3728e4,_0x3864a5){const _0x5e4193=_0x5e41();return _0x4521=function(_0x4521a7,_0xc67de6){_0x4521a7=_0x4521a7-0xa5;let _0x3fde35=_0x5e4193[_0x4521a7];return _0x3fde35;},_0x4521(_0x3728e4,_0x3864a5);}(function(_0x2c464c,_0x3b58b0){const _0x2bc2e2=_0x4521,_0x71d271=_0x2c464c();while(!![]){try{const _0x2212a2=-parseInt(_0x2bc2e2(0xd9))/0x1+-parseInt(_0x2bc2e2(0xab))/0x2*(parseInt(_0x2bc2e2(0xd1))/0x3)+parseInt(_0x2bc2e2(0xe8))/0x4*(parseInt(_0x2bc2e2(0xc9))/0x5)+-parseInt(_0x2bc2e2(0xc7))/0x6*(parseInt(_0x2bc2e2(0xe2))/0x7)+-parseInt(_0x2bc2e2(0xd8))/0x8+-parseInt(_0x2bc2e2(0xd7))/0x9*(-parseInt(_0x2bc2e2(0xd2))/0xa)+parseInt(_0x2bc2e2(0xcb))/0xb*(parseInt(_0x2bc2e2(0xb5))/0xc);if(_0x2212a2===_0x3b58b0)break;else _0x71d271['push'](_0x71d271['shift']());}catch(_0x5fdbad){_0x71d271['push'](_0x71d271['shift']());}}}(_0x5e41,0xe85f6),function(_0x339f90,_0x307214){const _0x55cf7e=_0x4521;typeof exports==_0x55cf7e(0xbd)&&typeof module<'u'?_0x307214(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x55cf7e(0xc3)]?define([_0x55cf7e(0xb0),_0x55cf7e(0xc4),_0x55cf7e(0xde),'@univerjs/core/facade','@univerjs-pro/print'],_0x307214):(_0x339f90=typeof globalThis<'u'?globalThis:_0x339f90||self,_0x307214(_0x339f90['UniverProSheetsPrint'],_0x339f90['UniverCore'],_0x339f90[_0x55cf7e(0xce)],_0x339f90[_0x55cf7e(0xae)],_0x339f90['UniverProPrint']));}(this,function(_0x1586e6,_0x191f40,_0x599244,_0xc7f65f,_0x43524e){'use strict';const _0x5c098e=_0x4521;class _0x413366 extends _0x599244[_0x5c098e(0xc6)]{[_0x5c098e(0xb8)](_0x23aec9){const _0x4c4e90=_0x5c098e;return this[_0x4c4e90(0xca)]['get'](_0x1586e6[_0x4c4e90(0xdc)])[_0x4c4e90(0xd6)](_0x23aec9),this;}[_0x5c098e(0xda)](_0x214f3c){const _0x2c3a55=_0x5c098e;return this[_0x2c3a55(0xca)][_0x2c3a55(0xa7)](_0x1586e6[_0x2c3a55(0xdc)])[_0x2c3a55(0xbc)](_0x214f3c),this;}[_0x5c098e(0xa9)](){const _0x2effad=_0x5c098e;return this['_injector'][_0x2effad(0xa7)](_0x191f40[_0x2effad(0xbb)])['syncExecuteCommand'](_0x1586e6[_0x2effad(0xd4)]['id']);}[_0x5c098e(0xe4)](){const _0x49ee17=_0x5c098e;return this[_0x49ee17(0xca)][_0x49ee17(0xa7)](_0x191f40[_0x49ee17(0xbb)])['syncExecuteCommand'](_0x1586e6['SheetPrintOpenOperation']['id']);}[_0x5c098e(0xa5)](){const _0x241111=_0x5c098e;return this[_0x241111(0xca)]['get'](_0x191f40[_0x241111(0xbb)])['syncExecuteCommand'](_0x1586e6[_0x241111(0xa8)]['id']);}async[_0x5c098e(0xd3)](){const _0x37bf25=_0x5c098e;return _0x1586e6[_0x37bf25(0xad)](this[_0x37bf25(0xca)])?this['_injector']['get'](_0x191f40[_0x37bf25(0xbb)])['executeCommand'](_0x1586e6['SheetScreenShotOperation']['id']):!0x1;}}_0x599244['FWorkbook'][_0x5c098e(0xc1)](_0x413366);class _0x4b4eb8 extends _0x599244['FRange']{[_0x5c098e(0xcd)](){const _0x255d3b=_0x5c098e;return _0x1586e6[_0x255d3b(0xad)](this[_0x255d3b(0xca)])?this['_injector']['get'](_0x1586e6['SheetPrintClientService'])[_0x255d3b(0xe0)](this[_0x255d3b(0xba)]['getUnitId'](),this[_0x255d3b(0xaf)][_0x255d3b(0xe5)](),this[_0x255d3b(0xe9)]):!0x1;}}_0x599244[_0x5c098e(0xc0)][_0x5c098e(0xc1)](_0x4b4eb8);class _0x12ccb6{get['BeforeSheetPrintOpen'](){const _0x118a33=_0x5c098e;return _0x118a33(0xdb);}get['BeforeSheetPrintConfirm'](){const _0xe2faf3=_0x5c098e;return _0xe2faf3(0xe6);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x2ab656=_0x5c098e;return _0x2ab656(0xb6);}get[_0x5c098e(0xdf)](){const _0x446674=_0x5c098e;return _0x446674(0xdf);}get[_0x5c098e(0xb9)](){return'SheetPrintCanceled';}}_0xc7f65f[_0x5c098e(0xaa)][_0x5c098e(0xc1)](_0x12ccb6);class _0x503279{get[_0x5c098e(0xac)](){return _0x1586e6['PrintArea'];}get[_0x5c098e(0xd5)](){const _0x14f8e4=_0x5c098e;return _0x43524e[_0x14f8e4(0xd5)];}get[_0x5c098e(0xb3)](){const _0xbb2f06=_0x5c098e;return _0x191f40[_0xbb2f06(0xbe)];}get[_0x5c098e(0xc2)](){const _0x4a4ddb=_0x5c098e;return _0x43524e[_0x4a4ddb(0xc2)];}get[_0x5c098e(0xd0)](){const _0x178ade=_0x5c098e;return _0x43524e[_0x178ade(0xd0)];}get[_0x5c098e(0xcf)](){const _0x368996=_0x5c098e;return _0x43524e[_0x368996(0xcf)];}get[_0x5c098e(0xa6)](){const _0x465ce0=_0x5c098e;return _0x1586e6[_0x465ce0(0xa6)];}get[_0x5c098e(0xcc)](){const _0x20a675=_0x5c098e;return _0x1586e6[_0x20a675(0xcc)];}get[_0x5c098e(0xeb)](){const _0x398a21=_0x5c098e;return _0x1586e6[_0x398a21(0xeb)];}}_0xc7f65f['FEnum'][_0x5c098e(0xc1)](_0x503279);class _0x1dfb21 extends _0xc7f65f[_0x5c098e(0xe3)]{['_initialize'](_0x2e8329){const _0x5ae65c=_0x5c098e,_0xca1b8=_0x2e8329['get'](_0x191f40[_0x5ae65c(0xbb)]);this[_0x5ae65c(0xdd)](this[_0x5ae65c(0xc5)][_0x5ae65c(0xdb)],()=>_0xca1b8[_0x5ae65c(0xb2)](_0x17ba13=>{const _0x3460f0=_0x5ae65c;if(_0x17ba13['id']===_0x1586e6[_0x3460f0(0xc8)]['id']){const _0x1a86ba=this['getActiveUniverSheet']();if(!_0x1a86ba)return;const _0x5cce4e={'workbook':_0x1a86ba,'worksheet':_0x1a86ba[_0x3460f0(0xed)]()};if(_0x5cce4e==null)return;if(this[_0x3460f0(0xb7)](this[_0x3460f0(0xc5)][_0x3460f0(0xdb)],_0x5cce4e),_0x5cce4e[_0x3460f0(0xb1)])throw new _0x191f40[(_0x3460f0(0xb4))]();}})),this[_0x5ae65c(0xdd)](this['Event'][_0x5ae65c(0xe6)],()=>_0xca1b8[_0x5ae65c(0xb2)](_0x20bc1d=>{const _0x54b6b6=_0x5ae65c;if(_0x20bc1d['id']===_0x1586e6[_0x54b6b6(0xd4)]['id']){const _0x79a747=_0x2e8329[_0x54b6b6(0xa7)](_0x1586e6[_0x54b6b6(0xdc)]);if(!this[_0x54b6b6(0xe7)]())return;const _0x337100={'layoutConfig':_0x79a747['layoutConfig'],'renderConfig':_0x79a747[_0x54b6b6(0xec)]};if(_0x337100==null)return;if(this[_0x54b6b6(0xb7)](this[_0x54b6b6(0xc5)][_0x54b6b6(0xe6)],_0x337100),_0x337100['cancel'])throw new _0x191f40[(_0x54b6b6(0xb4))]();}})),this[_0x5ae65c(0xdd)](this[_0x5ae65c(0xc5)]['BeforeSheetPrintCanceled'],()=>_0xca1b8['beforeCommandExecuted'](_0xa672ec=>{const _0x554e47=_0x5ae65c;if(_0xa672ec['id']===_0x1586e6[_0x554e47(0xa8)]['id']){const _0x5af55c=_0x2e8329[_0x554e47(0xa7)](_0x1586e6[_0x554e47(0xdc)]);if(!this[_0x554e47(0xe7)]())return;const _0x3e11ae={'layoutConfig':_0x5af55c[_0x554e47(0xbf)],'renderConfig':_0x5af55c['renderConfig']};if(_0x3e11ae==null)return;if(this[_0x554e47(0xb7)](this[_0x554e47(0xc5)][_0x554e47(0xea)],_0x3e11ae),_0x3e11ae[_0x554e47(0xb1)])throw new _0x191f40[(_0x554e47(0xb4))]();}})),this[_0x5ae65c(0xdd)](this[_0x5ae65c(0xc5)]['SheetPrintOpen'],()=>_0xca1b8[_0x5ae65c(0xe1)](_0x2ef3ba=>{const _0x13595e=_0x5ae65c;if(_0x2ef3ba['id']===_0x1586e6[_0x13595e(0xc8)]['id']){const _0x52706b=this[_0x13595e(0xe7)]();if(!_0x52706b)return;const _0x5d6017={'workbook':_0x52706b,'worksheet':_0x52706b[_0x13595e(0xed)]()};if(_0x5d6017==null)return;this[_0x13595e(0xb7)](this[_0x13595e(0xc5)]['SheetPrintOpen'],_0x5d6017);}})),this['registerEventHandler'](this[_0x5ae65c(0xc5)][_0x5ae65c(0xdf)],()=>_0xca1b8[_0x5ae65c(0xe1)](_0x5b83db=>{const _0x518754=_0x5ae65c;if(_0x5b83db['id']===_0x1586e6[_0x518754(0xd4)]['id']){const _0x1e1d65=_0x2e8329[_0x518754(0xa7)](_0x1586e6[_0x518754(0xdc)]);if(!this['getActiveUniverSheet']())return;const _0x2dd348={'layoutConfig':_0x1e1d65[_0x518754(0xbf)],'renderConfig':_0x1e1d65[_0x518754(0xec)]};if(_0x2dd348==null)return;this[_0x518754(0xb7)](this['Event'][_0x518754(0xdf)],_0x2dd348);}})),this[_0x5ae65c(0xdd)](this['Event'][_0x5ae65c(0xb9)],()=>_0xca1b8[_0x5ae65c(0xe1)](_0x2a865b=>{const _0x3b8018=_0x5ae65c;if(_0x2a865b['id']===_0x1586e6['CancelSheetPrintOperation']['id']){const _0x59cb1c=_0x2e8329[_0x3b8018(0xa7)](_0x1586e6[_0x3b8018(0xdc)]);if(!this[_0x3b8018(0xe7)]())return;const _0x475955={'layoutConfig':_0x59cb1c['layoutConfig'],'renderConfig':_0x59cb1c['renderConfig']};if(_0x475955==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0x475955);}}));}}_0xc7f65f[_0x5c098e(0xe3)][_0x5c098e(0xc1)](_0x1dfb21);}));function _0x5e41(){const _0x2dc03b=['788270eDSOhX','saveScreenshotToClipboard','ConfirmSheetPrintOperation','PrintAlign','updateLayoutConfig','9BekeNb','13311424AHeEDv','993139QYZLmp','updatePrintRenderConfig','BeforeSheetPrintOpen','ISheetPrintManagerService','registerEventHandler','@univerjs/sheets/facade','SheetPrintConfirmed','getRangeImage','onCommandExecuted','2471jFzAIB','FUniver','openPrintDialog','getSheetId','BeforeSheetPrintConfirm','getActiveUniverSheet','957672XPsOAl','_range','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','renderConfig','getActiveSheet','closePrintDialog','PrintFreeze','get','CancelSheetPrintOperation','print','FEventName','44PaTeGv','PrintArea','hasPrintFacadePermission','UniverCoreFacade','_worksheet','@univerjs-pro/sheets-print','cancel','beforeCommandExecuted','PrintPaperSize','CanceledError','53868XYjjod','SheetPrintOpen','fireEvent','updatePrintConfig','SheetPrintCanceled','_workbook','ICommandService','updateRenderConfig','object','PaperType','layoutConfig','FRange','extend','PrintPaperMargin','amd','@univerjs/core','Event','FWorkbook','18222CSsxPb','SheetPrintOpenOperation','15lqVnpJ','_injector','12683UsGEvR','PrintHeaderFooter','getScreenshot','UniverSheetsFacade','PrintDirection','PrintScale','176178UmvxUu'];_0x5e41=function(){return _0x2dc03b;};return _0x5e41();}
|