@univerjs-pro/sheets-print 0.10.11 → 0.10.12
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
|
-
Q: string;
|
|
13
|
-
t: string;
|
|
14
|
-
x: string;
|
|
15
|
-
i: string;
|
|
16
|
-
k: string;
|
|
17
|
-
I: string;
|
|
18
|
-
e: string;
|
|
19
12
|
B: string;
|
|
20
|
-
G: string;
|
|
21
13
|
V: string;
|
|
22
|
-
|
|
14
|
+
s: string;
|
|
23
15
|
P: string;
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
o: string;
|
|
17
|
+
X: string;
|
|
18
|
+
k: string;
|
|
19
|
+
v: string;
|
|
20
|
+
h: string;
|
|
21
|
+
m: string;
|
|
26
22
|
W: string;
|
|
27
23
|
d: string;
|
|
28
|
-
|
|
24
|
+
j: string;
|
|
25
|
+
E: string;
|
|
26
|
+
b: string;
|
|
27
|
+
O: string;
|
|
28
|
+
e: string;
|
|
29
|
+
x: string;
|
|
30
|
+
Q: string;
|
|
31
|
+
N: string;
|
|
29
32
|
K: string;
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
D: string;
|
|
34
|
+
r: string;
|
|
35
|
+
i: string;
|
|
36
|
+
U: string;
|
|
37
|
+
p: string;
|
|
32
38
|
y: string;
|
|
39
|
+
Y: string;
|
|
40
|
+
A: string;
|
|
33
41
|
g: string;
|
|
34
|
-
r: string;
|
|
35
|
-
o: string;
|
|
36
42
|
R: string;
|
|
43
|
+
a: string;
|
|
44
|
+
H: string;
|
|
45
|
+
t: string;
|
|
46
|
+
n: string;
|
|
37
47
|
M: string;
|
|
38
|
-
|
|
39
|
-
|
|
48
|
+
I: string;
|
|
49
|
+
l: string;
|
|
50
|
+
w: string;
|
|
51
|
+
q: string;
|
|
52
|
+
G: string;
|
|
40
53
|
u: string;
|
|
41
|
-
|
|
54
|
+
J: string;
|
|
55
|
+
z: string;
|
|
42
56
|
L: string;
|
|
43
|
-
O: string;
|
|
44
|
-
a: string;
|
|
45
|
-
v: string;
|
|
46
|
-
j: string;
|
|
47
|
-
T: string;
|
|
48
|
-
p: string;
|
|
49
|
-
f: string;
|
|
50
|
-
F: string;
|
|
51
|
-
Y: string;
|
|
52
57
|
C: string;
|
|
53
|
-
h: string;
|
|
54
|
-
q: string;
|
|
55
|
-
J: string;
|
|
56
|
-
E: string;
|
|
57
|
-
l: string;
|
|
58
|
-
w: string;
|
|
59
|
-
n: string;
|
|
60
|
-
b: string;
|
|
61
58
|
c: string;
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
Z: string;
|
|
60
|
+
F: string;
|
|
61
|
+
S: string;
|
|
62
|
+
T: string;
|
|
63
|
+
f: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "3yKd2eDK jEdURr2eDK(NedEKpE, ryWNed8ER) { 2UR { dDKp2 NedEKpEqK3D0mU29UUmR = NedEKpE.prNe2('-'); dDKp2 DUebeKJEppmbE = GZLz.rmUpE(m2DW(NedEKpEqK3D0mU29UUmR[6])); e3 (!DUebeKJEppmbE.yj) { DUebeKJEppmbE.yj = zy5WEU(NedEKpEqK3D0mU29UUmR[P]); } dDKp2 ep1DUQEU = 2RrED3 1DUQEUlNDWmNZdDrE !== 'yKjE3eKEj' && pEN3 eKp2mKdED3 1DUQEUlNDWmNZdDrE; dDKp2 dDK2Eg2 = ep1DUQEU ? pEN3 : AeKjDA; dDKp2 5EppmbE1DUj = dDK2Eg2.__HmpEXP__.rmUpE(NedEKpEqK3D0mU29UUmR[6]); dDKp2 5EppmbE = dDK2Eg2.__wEg__.p2UeKbe3R(5EppmbE1DUj); dDKp2 pebKm2yUE1DUj = dDK2Eg2.__HmpEXP__.rmUpE(NedEKpEqK3D0mU29UUmR[s]); dDKp2 pebKm2yUE = dDK2Eg2.__wEg__.p2UeKbe3R(pebKm2yUE1DUj); dDKp2 pebKSmNej = dDK2Eg2.__YEUe3R__(pebKm2yUE, 5EppmbE, ryWNed8ER); dDKp2 jD5meK = DUebeKJEppmbE.j5; 3yKd2eDK epnD5meKJm2dOeKb(D0m22EUK, DwDp2) { dDKp2 rm22EUK = D0m22EUK.UErNmdE(/^.+/, ''); dDKp2 ODp2 = DwDp2.UErNmdE(/^.+/, ''); dDKp2 rm22EUK0mU2p = rm22EUK.prNe2('.'); dDKp2 ODp20mU2p = ODp2.prNe2('.'); e3 (!rm22EUK.eKdNyjEp('*')) { UE2yUK rm22EUK === ODp2; } e3 (rm22EUK0mU2p.NEKb2O < 6 || rm22EUK0mU2p[B] !== '*') { UE2yUK 3mNpE; } dDKp2 rm22EUKZy33eg = rm22EUK0mU2p.pNedE(V).xDeK('.'); dDKp2 ODp2Zy33eg = ODp20mU2p.pNedE(-rm22EUK0mU2p.NEKb2O + V).xDeK('.'); UE2yUK rm22EUKZy33eg === ODp2Zy33eg; } NE2 jD5meKSmNej = (jD5meK && jD5meK.NEKb2O) ? jD5meK.pD5E((j5q2E5) => epnD5meKJm2dOeKb(j5q2E5, NDdm2eDK.ODp2Km5E)) : 2UyE; e3 (NDdm2eDK.ODp2Km5E === 'NDdmNODp2') { jD5meKSmNej = 2UyE; } dDKp2 YmNej = pebKSmNej && jD5meKSmNej; UE2yUK { YmNej, 5EppmbE: DUebeKJEppmbE, }; } dm2dO (EUUDU) { UE2yUK { YmNej: 3mNpE, 5EppmbE: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x421212,_0x5bbe78){const _0x6d032d=_0x27f5,_0x1b523c=_0x421212();while(!![]){try{const _0x24bb2a=-parseInt(_0x6d032d(0xea))/0x1*(parseInt(_0x6d032d(0xb3))/0x2)+parseInt(_0x6d032d(0xe4))/0x3*(parseInt(_0x6d032d(0xcb))/0x4)+-parseInt(_0x6d032d(0xba))/0x5*(-parseInt(_0x6d032d(0xde))/0x6)+parseInt(_0x6d032d(0xe7))/0x7*(parseInt(_0x6d032d(0xeb))/0x8)+parseInt(_0x6d032d(0xec))/0x9*(-parseInt(_0x6d032d(0xe3))/0xa)+parseInt(_0x6d032d(0xb4))/0xb*(-parseInt(_0x6d032d(0xe2))/0xc)+parseInt(_0x6d032d(0xce))/0xd;if(_0x24bb2a===_0x5bbe78)break;else _0x1b523c['push'](_0x1b523c['shift']());}catch(_0x9112d8){_0x1b523c['push'](_0x1b523c['shift']());}}}(_0x5dd9,0x8427c),function(_0x1b6f3c,_0x20d574){const _0x2728a9=_0x27f5;typeof exports==_0x2728a9(0xc7)&&typeof module<'u'?_0x20d574(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x2728a9(0xb8)&&define['amd']?define([_0x2728a9(0xe0),'@univerjs/core','@univerjs/sheets/facade',_0x2728a9(0xc3),_0x2728a9(0xc0)],_0x20d574):(_0x1b6f3c=typeof globalThis<'u'?globalThis:_0x1b6f3c||self,_0x20d574(_0x1b6f3c[_0x2728a9(0xbb)],_0x1b6f3c[_0x2728a9(0xc8)],_0x1b6f3c['UniverSheetsFacade'],_0x1b6f3c[_0x2728a9(0xdb)],_0x1b6f3c[_0x2728a9(0xed)]));}(this,function(_0x272088,_0x33ba62,_0x48905e,_0x293599,_0x12dfd8){'use strict';const _0x442a64=_0x27f5;class _0x2792de extends _0x48905e[_0x442a64(0xaf)]{[_0x442a64(0xd0)](_0x334ee8){const _0xbf5a47=_0x442a64;return this['_injector'][_0xbf5a47(0xe8)](_0x272088[_0xbf5a47(0xae)])[_0xbf5a47(0xe5)](_0x334ee8),this;}['updatePrintRenderConfig'](_0x7525ca){const _0x52a40b=_0x442a64;return this[_0x52a40b(0xdf)]['get'](_0x272088['ISheetPrintManagerService'])['updateRenderConfig'](_0x7525ca),this;}[_0x442a64(0xc2)](){const _0x38551d=_0x442a64;return this[_0x38551d(0xdf)]['get'](_0x33ba62[_0x38551d(0xc4)])[_0x38551d(0xcc)](_0x272088[_0x38551d(0xc1)]['id']);}[_0x442a64(0xb1)](){const _0x2e4493=_0x442a64;return this[_0x2e4493(0xdf)][_0x2e4493(0xe8)](_0x33ba62[_0x2e4493(0xc4)])['syncExecuteCommand'](_0x272088[_0x2e4493(0xe9)]['id']);}[_0x442a64(0xdc)](){const _0x57247f=_0x442a64;return this['_injector'][_0x57247f(0xe8)](_0x33ba62[_0x57247f(0xc4)])['syncExecuteCommand'](_0x272088['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x9dd0ef=_0x442a64;return _0x272088[_0x9dd0ef(0xd9)](this[_0x9dd0ef(0xdf)])?this['_injector'][_0x9dd0ef(0xe8)](_0x33ba62[_0x9dd0ef(0xc4)])['executeCommand'](_0x272088[_0x9dd0ef(0xd5)]['id']):!0x1;}}_0x48905e['FWorkbook']['extend'](_0x2792de);class _0x448d87 extends _0x48905e[_0x442a64(0xd8)]{[_0x442a64(0xd4)](){const _0x1cac73=_0x442a64;return _0x272088[_0x1cac73(0xd9)](this[_0x1cac73(0xdf)])?this[_0x1cac73(0xdf)][_0x1cac73(0xe8)](_0x272088[_0x1cac73(0xa9)])['getRangeImage'](this[_0x1cac73(0xbe)]['getUnitId'](),this['_worksheet'][_0x1cac73(0xc5)](),this[_0x1cac73(0xca)]):!0x1;}}_0x48905e[_0x442a64(0xd8)][_0x442a64(0xb5)](_0x448d87);class _0x36426f{get[_0x442a64(0xef)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x15a5dc=_0x442a64;return _0x15a5dc(0xf2);}get[_0x442a64(0xe1)](){return'BeforeSheetPrintCanceled';}get[_0x442a64(0xb6)](){const _0x2fac64=_0x442a64;return _0x2fac64(0xb6);}get[_0x442a64(0xe6)](){const _0x1da9c4=_0x442a64;return _0x1da9c4(0xe6);}get[_0x442a64(0xd2)](){return'SheetPrintCanceled';}}_0x293599[_0x442a64(0xcf)]['extend'](_0x36426f);class _0x515644{get[_0x442a64(0xee)](){const _0x34316b=_0x442a64;return _0x272088[_0x34316b(0xee)];}get[_0x442a64(0xd3)](){return _0x12dfd8['PrintAlign'];}get[_0x442a64(0xab)](){return _0x33ba62['PaperType'];}get[_0x442a64(0xd1)](){return _0x12dfd8['PrintPaperMargin'];}get[_0x442a64(0xb0)](){const _0x3b60fb=_0x442a64;return _0x12dfd8[_0x3b60fb(0xb0)];}get[_0x442a64(0xf0)](){const _0x913c1a=_0x442a64;return _0x12dfd8[_0x913c1a(0xf0)];}get[_0x442a64(0xbd)](){const _0x2f7214=_0x442a64;return _0x272088[_0x2f7214(0xbd)];}get['PrintHeaderFooter'](){const _0x6b05c1=_0x442a64;return _0x272088[_0x6b05c1(0xb9)];}get[_0x442a64(0xd6)](){return _0x272088['PrintHeaderFooterSymbol'];}}_0x293599[_0x442a64(0xac)][_0x442a64(0xb5)](_0x515644);class _0x4c5617 extends _0x293599[_0x442a64(0xb7)]{[_0x442a64(0xb2)](_0x43a2f2){const _0x99c81=_0x442a64,_0x21ee55=_0x43a2f2[_0x99c81(0xe8)](_0x33ba62['ICommandService']);this[_0x99c81(0xbf)](this['Event'][_0x99c81(0xef)],()=>_0x21ee55[_0x99c81(0xda)](_0x4750bc=>{const _0x3eeb10=_0x99c81;if(_0x4750bc['id']===_0x272088[_0x3eeb10(0xe9)]['id']){const _0x574c26=this[_0x3eeb10(0xbc)]();if(!_0x574c26)return;const _0x18b3b0={'workbook':_0x574c26,'worksheet':_0x574c26[_0x3eeb10(0xd7)]()};if(_0x18b3b0==null)return;if(this[_0x3eeb10(0xaa)](this['Event'][_0x3eeb10(0xef)],_0x18b3b0),_0x18b3b0[_0x3eeb10(0xc9)])throw new _0x33ba62['CanceledError']();}})),this[_0x99c81(0xbf)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x21ee55['beforeCommandExecuted'](_0x17a8df=>{const _0x18e9c2=_0x99c81;if(_0x17a8df['id']===_0x272088[_0x18e9c2(0xc1)]['id']){const _0x1fd71e=_0x43a2f2[_0x18e9c2(0xe8)](_0x272088['ISheetPrintManagerService']);if(!this[_0x18e9c2(0xbc)]())return;const _0x1ac54c={'layoutConfig':_0x1fd71e[_0x18e9c2(0xad)],'renderConfig':_0x1fd71e[_0x18e9c2(0xcd)]};if(_0x1ac54c==null)return;if(this[_0x18e9c2(0xaa)](this[_0x18e9c2(0xc6)][_0x18e9c2(0xf2)],_0x1ac54c),_0x1ac54c[_0x18e9c2(0xc9)])throw new _0x33ba62[(_0x18e9c2(0xdd))]();}})),this['registerEventHandler'](this[_0x99c81(0xc6)][_0x99c81(0xe1)],()=>_0x21ee55[_0x99c81(0xda)](_0x4bca94=>{const _0x49b926=_0x99c81;if(_0x4bca94['id']===_0x272088['CancelSheetPrintOperation']['id']){const _0x3b8d1a=_0x43a2f2[_0x49b926(0xe8)](_0x272088[_0x49b926(0xae)]);if(!this[_0x49b926(0xbc)]())return;const _0x59f718={'layoutConfig':_0x3b8d1a[_0x49b926(0xad)],'renderConfig':_0x3b8d1a[_0x49b926(0xcd)]};if(_0x59f718==null)return;if(this[_0x49b926(0xaa)](this[_0x49b926(0xc6)][_0x49b926(0xe1)],_0x59f718),_0x59f718['cancel'])throw new _0x33ba62[(_0x49b926(0xdd))]();}})),this[_0x99c81(0xbf)](this[_0x99c81(0xc6)][_0x99c81(0xb6)],()=>_0x21ee55[_0x99c81(0xf1)](_0x2bbb3c=>{const _0xa55752=_0x99c81;if(_0x2bbb3c['id']===_0x272088[_0xa55752(0xe9)]['id']){const _0x373ef3=this[_0xa55752(0xbc)]();if(!_0x373ef3)return;const _0x5cda3a={'workbook':_0x373ef3,'worksheet':_0x373ef3[_0xa55752(0xd7)]()};if(_0x5cda3a==null)return;this[_0xa55752(0xaa)](this[_0xa55752(0xc6)][_0xa55752(0xb6)],_0x5cda3a);}})),this[_0x99c81(0xbf)](this['Event'][_0x99c81(0xe6)],()=>_0x21ee55[_0x99c81(0xf1)](_0x4e801b=>{const _0x359f45=_0x99c81;if(_0x4e801b['id']===_0x272088['ConfirmSheetPrintOperation']['id']){const _0x46ed1e=_0x43a2f2[_0x359f45(0xe8)](_0x272088[_0x359f45(0xae)]);if(!this[_0x359f45(0xbc)]())return;const _0x420a29={'layoutConfig':_0x46ed1e['layoutConfig'],'renderConfig':_0x46ed1e[_0x359f45(0xcd)]};if(_0x420a29==null)return;this['fireEvent'](this[_0x359f45(0xc6)][_0x359f45(0xe6)],_0x420a29);}})),this['registerEventHandler'](this[_0x99c81(0xc6)][_0x99c81(0xd2)],()=>_0x21ee55['onCommandExecuted'](_0x484510=>{const _0x5bb849=_0x99c81;if(_0x484510['id']===_0x272088['CancelSheetPrintOperation']['id']){const _0x4d530f=_0x43a2f2[_0x5bb849(0xe8)](_0x272088[_0x5bb849(0xae)]);if(!this['getActiveUniverSheet']())return;const _0x552df1={'layoutConfig':_0x4d530f['layoutConfig'],'renderConfig':_0x4d530f['renderConfig']};if(_0x552df1==null)return;this[_0x5bb849(0xaa)](this[_0x5bb849(0xc6)]['SheetPrintCanceled'],_0x552df1);}}));}}_0x293599['FUniver'][_0x442a64(0xb5)](_0x4c5617);}));function _0x27f5(_0x710a8a,_0x2c9cd6){const _0x5dd9f5=_0x5dd9();return _0x27f5=function(_0x27f5ef,_0x5c7b4e){_0x27f5ef=_0x27f5ef-0xa9;let _0x2ff013=_0x5dd9f5[_0x27f5ef];return _0x2ff013;},_0x27f5(_0x710a8a,_0x2c9cd6);}function _0x5dd9(){const _0x422686=['CanceledError','4131210musGds','_injector','@univerjs-pro/sheets-print','BeforeSheetPrintCanceled','63156iCJHgA','693010McvyhH','213BRMiCg','updateLayoutConfig','SheetPrintConfirmed','889KWucWM','get','SheetPrintOpenOperation','839381vqVRcc','37592hOmdPT','36XQuioj','UniverProPrint','PrintArea','BeforeSheetPrintOpen','PrintDirection','onCommandExecuted','BeforeSheetPrintConfirm','SheetPrintClientService','fireEvent','PrintPaperSize','FEnum','layoutConfig','ISheetPrintManagerService','FWorkbook','PrintScale','openPrintDialog','_initialize','2Jairzz','33rOxwnF','extend','SheetPrintOpen','FUniver','function','PrintHeaderFooter','5ICEhzj','UniverProSheetsPrint','getActiveUniverSheet','PrintFreeze','_workbook','registerEventHandler','@univerjs-pro/print','ConfirmSheetPrintOperation','print','@univerjs/core/facade','ICommandService','getSheetId','Event','object','UniverCore','cancel','_range','2916LUCzUx','syncExecuteCommand','renderConfig','4375995gesYQK','FEventName','updatePrintConfig','PrintPaperMargin','SheetPrintCanceled','PrintAlign','getScreenshot','SheetScreenShotOperation','PrintHeaderFooterSymbol','getActiveSheet','FRange','hasPrintFacadePermission','beforeCommandExecuted','UniverCoreFacade','closePrintDialog'];_0x5dd9=function(){return _0x422686;};return _0x5dd9();}
|