@univerjs-pro/sheets-print 0.10.3 → 0.10.4
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
o: string;
|
|
17
|
-
A: string;
|
|
12
|
+
u: string;
|
|
13
|
+
E: string;
|
|
14
|
+
l: string;
|
|
15
|
+
B: string;
|
|
18
16
|
M: string;
|
|
19
|
-
|
|
17
|
+
A: string;
|
|
18
|
+
h: string;
|
|
19
|
+
Z: string;
|
|
20
20
|
V: string;
|
|
21
|
+
j: string;
|
|
22
|
+
b: string;
|
|
23
|
+
f: string;
|
|
21
24
|
Y: string;
|
|
22
|
-
|
|
25
|
+
L: string;
|
|
26
|
+
e: string;
|
|
27
|
+
H: string;
|
|
28
|
+
N: string;
|
|
23
29
|
a: string;
|
|
24
|
-
O: string;
|
|
25
|
-
J: string;
|
|
26
|
-
q: string;
|
|
27
|
-
R: string;
|
|
28
|
-
F: string;
|
|
29
|
-
b: string;
|
|
30
|
-
l: string;
|
|
31
|
-
p: string;
|
|
32
|
-
W: string;
|
|
33
|
-
U: string;
|
|
34
30
|
k: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
y: string;
|
|
31
|
+
r: string;
|
|
32
|
+
Q: string;
|
|
33
|
+
F: string;
|
|
34
|
+
c: string;
|
|
35
|
+
t: string;
|
|
36
|
+
x: string;
|
|
42
37
|
d: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
y: string;
|
|
39
|
+
z: string;
|
|
40
|
+
v: string;
|
|
46
41
|
T: string;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
w: string;
|
|
43
|
+
q: string;
|
|
44
|
+
K: string;
|
|
45
|
+
D: string;
|
|
46
|
+
o: string;
|
|
47
|
+
O: string;
|
|
48
|
+
J: string;
|
|
49
|
+
i: string;
|
|
50
|
+
I: string;
|
|
51
|
+
m: string;
|
|
52
|
+
G: string;
|
|
53
|
+
P: string;
|
|
50
54
|
X: string;
|
|
51
|
-
|
|
55
|
+
U: string;
|
|
56
|
+
W: string;
|
|
57
|
+
R: string;
|
|
58
|
+
S: string;
|
|
52
59
|
g: string;
|
|
53
|
-
|
|
60
|
+
p: string;
|
|
61
|
+
n: string;
|
|
54
62
|
s: string;
|
|
55
|
-
Z: string;
|
|
56
|
-
x: string;
|
|
57
|
-
I: string;
|
|
58
|
-
P: string;
|
|
59
|
-
t: string;
|
|
60
|
-
i: string;
|
|
61
|
-
j: string;
|
|
62
|
-
z: string;
|
|
63
63
|
C: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "Lxr7tH9r fY7Fv5tH9r(2H7YrcY, 5xb2H7mYv) { tFv { 79rct 2H7YrcYirL9UjFtwFFjv = 2H7YrcY.c52Ht('-'); 79rct 9FHeHr4YccjeY = ISXP.5jFcY(jt9b(2H7YrcYirL9UjFtwFFjv[E])); HL (!9FHeHr4YccjeY.xf) { 9FHeHr4YccjeY.xf = PxkbYF(2H7YrcYirL9UjFtwFFjv[B]); } 79rct Hcp9FaYF = tv5Y9L p9FaYFJ29bj2S795Y !== 'xrfYLHrYf' && cY2L Hrctjr7Y9L p9FaYFJ29bj2S795Y; 79rct 79rtYzt = Hcp9FaYF ? cY2L : yHrf9y; 79rct kYccjeYp9Ff = 79rtYzt.__qjcYAB__.5jFcY(2H7YrcYirL9UjFtwFFjv[E]); 79rct kYccjeY = 79rtYzt.__1Yz__.ctFHreHLv(kYccjeYp9Ff); 79rct cHerjtxFYp9Ff = 79rtYzt.__qjcYAB__.5jFcY(2H7YrcYirL9UjFtwFFjv[l]); 79rct cHerjtxFY = 79rtYzt.__1Yz__.ctFHreHLv(cHerjtxFYp9Ff); 79rct cHer6j2Hf = 79rtYzt.__dYFHLv__(cHerjtxFY, kYccjeY, 5xb2H7mYv); 79rct f9kjHr = 9FHeHr4YccjeY.fk; Lxr7tH9r HcD9kjHr4jt70Hre(9UjttYFr, 919ct) { 79rct 5jttYFr = 9UjttYFr.FY52j7Y(/^.+/, ''); 79rct 09ct = 919ct.FY52j7Y(/^.+/, ''); 79rct 5jttYFrUjFtc = 5jttYFr.c52Ht('.'); 79rct 09ctUjFtc = 09ct.c52Ht('.'); HL (!5jttYFr.Hr72xfYc('*')) { FYtxFr 5jttYFr === 09ct; } HL (5jttYFrUjFtc.2Yret0 < E || 5jttYFrUjFtc[u] !== '*') { FYtxFr Lj2cY; } 79rct 5jttYFrSxLLHz = 5jttYFrUjFtc.c2H7Y(3).N9Hr('.'); 79rct 09ctSxLLHz = 09ctUjFtc.c2H7Y(-5jttYFrUjFtc.2Yret0 + 3).N9Hr('.'); FYtxFr 5jttYFrSxLLHz === 09ctSxLLHz; } 2Yt f9kjHr6j2Hf = (f9kjHr && f9kjHr.2Yret0) ? f9kjHr.c9kY((fkitYk) => HcD9kjHr4jt70Hre(fkitYk, 297jtH9r.09ctrjkY)) : tFxY; HL (297jtH9r.09ctrjkY === '297j209ct') { f9kjHr6j2Hf = tFxY; } 79rct dj2Hf = cHer6j2Hf && f9kjHr6j2Hf; FYtxFr { dj2Hf, kYccjeY: 9FHeHr4YccjeY, }; } 7jt70 (YFF9F) { FYtxFr { dj2Hf: Lj2cY, kYccjeY: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2aae0f,_0x46d6b9){const _0x103e65=_0x3023,_0x4cd006=_0x2aae0f();while(!![]){try{const _0x26e46f=-parseInt(_0x103e65(0x106))/0x1+-parseInt(_0x103e65(0xed))/0x2+parseInt(_0x103e65(0x109))/0x3*(parseInt(_0x103e65(0xd4))/0x4)+parseInt(_0x103e65(0xeb))/0x5*(-parseInt(_0x103e65(0xdc))/0x6)+-parseInt(_0x103e65(0xea))/0x7+-parseInt(_0x103e65(0xe8))/0x8*(-parseInt(_0x103e65(0xff))/0x9)+-parseInt(_0x103e65(0xd6))/0xa*(-parseInt(_0x103e65(0xfd))/0xb);if(_0x26e46f===_0x46d6b9)break;else _0x4cd006['push'](_0x4cd006['shift']());}catch(_0x1d7f19){_0x4cd006['push'](_0x4cd006['shift']());}}}(_0x2046,0x7de1b),function(_0x44407b,_0x4f0ba9){const _0x32f714=_0x3023;typeof exports==_0x32f714(0x103)&&typeof module<'u'?_0x4f0ba9(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x32f714(0xfb)&&define[_0x32f714(0xd2)]?define([_0x32f714(0xe1),_0x32f714(0xf4),'@univerjs/sheets/facade','@univerjs/core/facade',_0x32f714(0x107)],_0x4f0ba9):(_0x44407b=typeof globalThis<'u'?globalThis:_0x44407b||self,_0x4f0ba9(_0x44407b[_0x32f714(0xfa)],_0x44407b[_0x32f714(0xfe)],_0x44407b['UniverSheetsFacade'],_0x44407b['UniverCoreFacade'],_0x44407b[_0x32f714(0xf6)]));}(this,function(_0x3ab45d,_0x1d0eed,_0x54c817,_0x10513b,_0x1e1aa2){'use strict';const _0x2521cd=_0x3023;class _0x43ab67 extends _0x54c817[_0x2521cd(0x10b)]{[_0x2521cd(0xdb)](_0x2cc150){const _0x57c14c=_0x2521cd;return this['_injector'][_0x57c14c(0xe2)](_0x3ab45d[_0x57c14c(0xdd)])[_0x57c14c(0x105)](_0x2cc150),this;}[_0x2521cd(0xd3)](_0x3d5edc){const _0x21b8e8=_0x2521cd;return this[_0x21b8e8(0xf1)][_0x21b8e8(0xe2)](_0x3ab45d[_0x21b8e8(0xdd)])['updateRenderConfig'](_0x3d5edc),this;}['print'](){const _0x42a8c7=_0x2521cd;return this['_injector'][_0x42a8c7(0xe2)](_0x1d0eed[_0x42a8c7(0xec)])[_0x42a8c7(0xf8)](_0x3ab45d[_0x42a8c7(0xd9)]['id']);}[_0x2521cd(0xf0)](){const _0x2296e8=_0x2521cd;return this[_0x2296e8(0xf1)]['get'](_0x1d0eed[_0x2296e8(0xec)])[_0x2296e8(0xf8)](_0x3ab45d[_0x2296e8(0xcd)]['id']);}[_0x2521cd(0xd5)](){const _0x3c49a0=_0x2521cd;return this['_injector'][_0x3c49a0(0xe2)](_0x1d0eed['ICommandService'])[_0x3c49a0(0xf8)](_0x3ab45d['CancelSheetPrintOperation']['id']);}async[_0x2521cd(0xe5)](){const _0x24937e=_0x2521cd;return _0x3ab45d['hasPrintFacadePermission'](this[_0x24937e(0xf1)])?this['_injector'][_0x24937e(0xe2)](_0x1d0eed[_0x24937e(0xec)])[_0x24937e(0x104)](_0x3ab45d[_0x24937e(0xe9)]['id']):!0x1;}}_0x54c817['FWorkbook']['extend'](_0x43ab67);class _0x1c6527 extends _0x54c817[_0x2521cd(0xc7)]{['getScreenshot'](){const _0x3cb548=_0x2521cd;return _0x3ab45d[_0x3cb548(0xca)](this[_0x3cb548(0xf1)])?this['_injector'][_0x3cb548(0xe2)](_0x3ab45d[_0x3cb548(0x108)])['getRangeImage'](this[_0x3cb548(0xc9)][_0x3cb548(0xdf)](),this['_worksheet']['getSheetId'](),this[_0x3cb548(0x100)]):!0x1;}}_0x54c817['FRange'][_0x2521cd(0xf5)](_0x1c6527);class _0x57ff13{get[_0x2521cd(0xe4)](){const _0x20ddf5=_0x2521cd;return _0x20ddf5(0xe4);}get[_0x2521cd(0xd8)](){const _0x521113=_0x2521cd;return _0x521113(0xd8);}get[_0x2521cd(0x101)](){return'BeforeSheetPrintCanceled';}get[_0x2521cd(0xf3)](){const _0x3c0f88=_0x2521cd;return _0x3c0f88(0xf3);}get[_0x2521cd(0x102)](){return'SheetPrintConfirmed';}get[_0x2521cd(0xef)](){const _0x76a59b=_0x2521cd;return _0x76a59b(0xef);}}_0x10513b[_0x2521cd(0xcf)]['extend'](_0x57ff13);class _0x39c7f2{get[_0x2521cd(0xf9)](){const _0x51f740=_0x2521cd;return _0x3ab45d[_0x51f740(0xf9)];}get[_0x2521cd(0xcc)](){const _0x13f2bd=_0x2521cd;return _0x1e1aa2[_0x13f2bd(0xcc)];}get['PrintPaperSize'](){return _0x1d0eed['PaperType'];}get[_0x2521cd(0xd1)](){return _0x1e1aa2['PrintPaperMargin'];}get[_0x2521cd(0xfc)](){const _0x43918e=_0x2521cd;return _0x1e1aa2[_0x43918e(0xfc)];}get[_0x2521cd(0xc8)](){const _0xf82ba8=_0x2521cd;return _0x1e1aa2[_0xf82ba8(0xc8)];}get[_0x2521cd(0xf2)](){const _0x58462b=_0x2521cd;return _0x3ab45d[_0x58462b(0xf2)];}get['PrintHeaderFooter'](){const _0x1e8e66=_0x2521cd;return _0x3ab45d[_0x1e8e66(0x10d)];}get['PrintHeaderFooterSymbol'](){const _0x5a6f16=_0x2521cd;return _0x3ab45d[_0x5a6f16(0xde)];}}_0x10513b['FEnum'][_0x2521cd(0xf5)](_0x39c7f2);class _0x41ca42 extends _0x10513b[_0x2521cd(0xe0)]{['_initialize'](_0x123a0b){const _0x48239f=_0x2521cd,_0x2e6a02=_0x123a0b[_0x48239f(0xe2)](_0x1d0eed[_0x48239f(0xec)]);this[_0x48239f(0xd7)](this['Event'][_0x48239f(0xe4)],()=>_0x2e6a02[_0x48239f(0xee)](_0x436b54=>{const _0x3e8f15=_0x48239f;if(_0x436b54['id']===_0x3ab45d[_0x3e8f15(0xcd)]['id']){const _0x3319f2=this[_0x3e8f15(0xe6)]();if(!_0x3319f2)return;const _0x48f690={'workbook':_0x3319f2,'worksheet':_0x3319f2[_0x3e8f15(0xda)]()};if(_0x48f690==null)return;if(this[_0x3e8f15(0xe7)](this['Event'][_0x3e8f15(0xe4)],_0x48f690),_0x48f690[_0x3e8f15(0xcb)])throw new _0x1d0eed[(_0x3e8f15(0x10c))]();}})),this[_0x48239f(0xd7)](this[_0x48239f(0xce)]['BeforeSheetPrintConfirm'],()=>_0x2e6a02[_0x48239f(0xee)](_0xc45166=>{const _0x3a8fe8=_0x48239f;if(_0xc45166['id']===_0x3ab45d['ConfirmSheetPrintOperation']['id']){const _0xb6222c=_0x123a0b[_0x3a8fe8(0xe2)](_0x3ab45d['ISheetPrintManagerService']);if(!this[_0x3a8fe8(0xe6)]())return;const _0x57730c={'layoutConfig':_0xb6222c[_0x3a8fe8(0xd0)],'renderConfig':_0xb6222c[_0x3a8fe8(0xf7)]};if(_0x57730c==null)return;if(this[_0x3a8fe8(0xe7)](this[_0x3a8fe8(0xce)][_0x3a8fe8(0xd8)],_0x57730c),_0x57730c[_0x3a8fe8(0xcb)])throw new _0x1d0eed['CanceledError']();}})),this['registerEventHandler'](this[_0x48239f(0xce)][_0x48239f(0x101)],()=>_0x2e6a02[_0x48239f(0xee)](_0x1ea6c5=>{const _0x3b0f5c=_0x48239f;if(_0x1ea6c5['id']===_0x3ab45d[_0x3b0f5c(0xe3)]['id']){const _0x2552d3=_0x123a0b[_0x3b0f5c(0xe2)](_0x3ab45d[_0x3b0f5c(0xdd)]);if(!this[_0x3b0f5c(0xe6)]())return;const _0x3d8f48={'layoutConfig':_0x2552d3[_0x3b0f5c(0xd0)],'renderConfig':_0x2552d3[_0x3b0f5c(0xf7)]};if(_0x3d8f48==null)return;if(this[_0x3b0f5c(0xe7)](this[_0x3b0f5c(0xce)][_0x3b0f5c(0x101)],_0x3d8f48),_0x3d8f48[_0x3b0f5c(0xcb)])throw new _0x1d0eed[(_0x3b0f5c(0x10c))]();}})),this[_0x48239f(0xd7)](this[_0x48239f(0xce)]['SheetPrintOpen'],()=>_0x2e6a02[_0x48239f(0x10a)](_0x2ff4f5=>{const _0x3c5429=_0x48239f;if(_0x2ff4f5['id']===_0x3ab45d['SheetPrintOpenOperation']['id']){const _0x308eb6=this[_0x3c5429(0xe6)]();if(!_0x308eb6)return;const _0x46cdb8={'workbook':_0x308eb6,'worksheet':_0x308eb6[_0x3c5429(0xda)]()};if(_0x46cdb8==null)return;this[_0x3c5429(0xe7)](this[_0x3c5429(0xce)]['SheetPrintOpen'],_0x46cdb8);}})),this['registerEventHandler'](this[_0x48239f(0xce)][_0x48239f(0x102)],()=>_0x2e6a02[_0x48239f(0x10a)](_0x4d4639=>{const _0x5d43b7=_0x48239f;if(_0x4d4639['id']===_0x3ab45d[_0x5d43b7(0xd9)]['id']){const _0x12b637=_0x123a0b[_0x5d43b7(0xe2)](_0x3ab45d[_0x5d43b7(0xdd)]);if(!this[_0x5d43b7(0xe6)]())return;const _0x1d172d={'layoutConfig':_0x12b637[_0x5d43b7(0xd0)],'renderConfig':_0x12b637[_0x5d43b7(0xf7)]};if(_0x1d172d==null)return;this[_0x5d43b7(0xe7)](this[_0x5d43b7(0xce)]['SheetPrintConfirmed'],_0x1d172d);}})),this[_0x48239f(0xd7)](this[_0x48239f(0xce)]['SheetPrintCanceled'],()=>_0x2e6a02[_0x48239f(0x10a)](_0x1bb9b8=>{const _0x555ab8=_0x48239f;if(_0x1bb9b8['id']===_0x3ab45d[_0x555ab8(0xe3)]['id']){const _0x3768e5=_0x123a0b[_0x555ab8(0xe2)](_0x3ab45d[_0x555ab8(0xdd)]);if(!this['getActiveUniverSheet']())return;const _0x41cd2f={'layoutConfig':_0x3768e5[_0x555ab8(0xd0)],'renderConfig':_0x3768e5[_0x555ab8(0xf7)]};if(_0x41cd2f==null)return;this[_0x555ab8(0xe7)](this['Event'][_0x555ab8(0xef)],_0x41cd2f);}}));}}_0x10513b[_0x2521cd(0xe0)][_0x2521cd(0xf5)](_0x41ca42);}));function _0x3023(_0x3593da,_0x469f62){const _0x2046d5=_0x2046();return _0x3023=function(_0x3023d7,_0x1e4521){_0x3023d7=_0x3023d7-0xc7;let _0x19d1a0=_0x2046d5[_0x3023d7];return _0x19d1a0;},_0x3023(_0x3593da,_0x469f62);}function _0x2046(){const _0x2baf91=['@univerjs/core','extend','UniverProPrint','renderConfig','syncExecuteCommand','PrintArea','UniverProSheetsPrint','function','PrintScale','361317uZYstb','UniverCore','80748JwtssX','_range','BeforeSheetPrintCanceled','SheetPrintConfirmed','object','executeCommand','updateLayoutConfig','1011364DXzrOZ','@univerjs-pro/print','SheetPrintClientService','51UpJUaT','onCommandExecuted','FWorkbook','CanceledError','PrintHeaderFooter','FRange','PrintDirection','_workbook','hasPrintFacadePermission','cancel','PrintAlign','SheetPrintOpenOperation','Event','FEventName','layoutConfig','PrintPaperMargin','amd','updatePrintRenderConfig','75068TscOie','closePrintDialog','1110MTjpPb','registerEventHandler','BeforeSheetPrintConfirm','ConfirmSheetPrintOperation','getActiveSheet','updatePrintConfig','1685058pErhNo','ISheetPrintManagerService','PrintHeaderFooterSymbol','getUnitId','FUniver','@univerjs-pro/sheets-print','get','CancelSheetPrintOperation','BeforeSheetPrintOpen','saveScreenshotToClipboard','getActiveUniverSheet','fireEvent','40vqOQOI','SheetScreenShotOperation','4765187XfFRWM','15jYtjBP','ICommandService','1919342njDzza','beforeCommandExecuted','SheetPrintCanceled','openPrintDialog','_injector','PrintFreeze','SheetPrintOpen'];_0x2046=function(){return _0x2baf91;};return _0x2046();}
|