@univerjs-pro/sheets-print 0.9.3 → 0.9.4-nightly.202507290713
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 +39 -39
- 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 +16 -16
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
k: string;
|
|
13
12
|
c: string;
|
|
14
|
-
E: string;
|
|
15
|
-
d: string;
|
|
16
|
-
v: string;
|
|
17
|
-
H: string;
|
|
18
|
-
O: string;
|
|
19
|
-
Y: string;
|
|
20
|
-
B: string;
|
|
21
|
-
s: string;
|
|
22
|
-
K: string;
|
|
23
|
-
n: string;
|
|
24
|
-
a: string;
|
|
25
13
|
o: string;
|
|
26
|
-
L: string;
|
|
27
|
-
T: string;
|
|
28
|
-
I: string;
|
|
29
14
|
y: string;
|
|
30
|
-
|
|
15
|
+
l: string;
|
|
16
|
+
z: string;
|
|
17
|
+
E: string;
|
|
18
|
+
D: string;
|
|
19
|
+
N: string;
|
|
20
|
+
a: string;
|
|
21
|
+
f: string;
|
|
22
|
+
K: string;
|
|
23
|
+
F: string;
|
|
31
24
|
A: string;
|
|
32
|
-
t: string;
|
|
33
|
-
m: string;
|
|
34
25
|
M: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
N: string;
|
|
26
|
+
i: string;
|
|
27
|
+
O: string;
|
|
28
|
+
k: string;
|
|
29
|
+
g: string;
|
|
40
30
|
P: string;
|
|
31
|
+
s: string;
|
|
41
32
|
b: string;
|
|
33
|
+
W: string;
|
|
34
|
+
L: string;
|
|
35
|
+
I: string;
|
|
36
|
+
d: string;
|
|
37
|
+
t: string;
|
|
42
38
|
Z: string;
|
|
39
|
+
T: string;
|
|
40
|
+
Q: string;
|
|
41
|
+
m: string;
|
|
43
42
|
X: string;
|
|
44
43
|
V: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
H: string;
|
|
45
|
+
v: string;
|
|
46
|
+
n: string;
|
|
47
|
+
e: string;
|
|
48
|
+
u: string;
|
|
49
|
+
j: string;
|
|
50
|
+
R: string;
|
|
49
51
|
r: string;
|
|
50
52
|
U: string;
|
|
51
|
-
i: string;
|
|
52
|
-
h: string;
|
|
53
|
-
f: string;
|
|
54
|
-
w: string;
|
|
55
|
-
j: string;
|
|
56
|
-
D: string;
|
|
57
|
-
l: string;
|
|
58
|
-
z: string;
|
|
59
|
-
u: string;
|
|
60
|
-
g: string;
|
|
61
|
-
x: string;
|
|
62
|
-
W: string;
|
|
63
53
|
C: string;
|
|
54
|
+
p: string;
|
|
55
|
+
x: string;
|
|
56
|
+
q: string;
|
|
57
|
+
B: string;
|
|
58
|
+
w: string;
|
|
59
|
+
J: string;
|
|
60
|
+
h: string;
|
|
61
|
+
G: string;
|
|
62
|
+
Y: string;
|
|
63
|
+
S: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "FIgKL4Pg 02KbT5L4Pg(O4K2gW2, 5IfO4Kj2T) { LbT { KPgWL O4K2gW2ugFPpabLmbbaT = O4K2gW2.W5O4L('-'); KPgWL Pb464gr2WWa62 = 3BCU.5abW2(aLPf(O4K2gW2ugFPpabLmbbaT[o])); 4F (!Pb464gr2WWa62.I0) { Pb464gr2WWa62.I0 = UIkf2b(O4K2gW2ugFPpabLmbbaT[l]); } KPgWL 4WGPbi2b = LT52PF GPbi2bnOPfaOBKP52 !== 'Ig02F4g20' && W2OF 4gWLagK2PF GPbi2bnOPfaOBKP52; KPgWL KPgL2ZL = 4WGPbi2b ? W2OF : t4g0Pt; KPgWL k2WWa62GPb0 = KPgL2ZL.__XaW2El__.5abW2(O4K2gW2ugFPpabLmbbaT[o]); KPgWL k2WWa62 = KPgL2ZL.__e2Z__.WLb4g64FT(k2WWa62GPb0); KPgWL W46gaLIb2GPb0 = KPgL2ZL.__XaW2El__.5abW2(O4K2gW2ugFPpabLmbbaT[y]); KPgWL W46gaLIb2 = KPgL2ZL.__e2Z__.WLb4g64FT(W46gaLIb2GPb0); KPgWL W46ghaO40 = KPgL2ZL.__d2b4FT__(W46gaLIb2, k2WWa62, 5IfO4Kj2T); KPgWL 0Pka4g = Pb464gr2WWa62.0k; FIgKL4Pg 4WHPka4graLKA4g6(PpaLL2bg, PePWL) { KPgWL 5aLL2bg = PpaLL2bg.b25OaK2(/^.+/, ''); KPgWL APWL = PePWL.b25OaK2(/^.+/, ''); KPgWL 5aLL2bgpabLW = 5aLL2bg.W5O4L('.'); KPgWL APWLpabLW = APWL.W5O4L('.'); 4F (!5aLL2bg.4gKOI02W('*')) { b2LIbg 5aLL2bg === APWL; } 4F (5aLL2bgpabLW.O2g6LA < o || 5aLL2bgpabLW[8] !== '*') { b2LIbg FaOW2; } KPgWL 5aLL2bgBIFF4Z = 5aLL2bgpabLW.WO4K2(c).MP4g('.'); KPgWL APWLBIFF4Z = APWLpabLW.WO4K2(-5aLL2bgpabLW.O2g6LA + c).MP4g('.'); b2LIbg 5aLL2bgBIFF4Z === APWLBIFF4Z; } O2L 0Pka4ghaO40 = (0Pka4g && 0Pka4g.O2g6LA) ? 0Pka4g.WPk2((0kuL2k) => 4WHPka4graLKA4g6(0kuL2k, OPKaL4Pg.APWLgak2)) : LbI2; 4F (OPKaL4Pg.APWLgak2 === 'OPKaOAPWL') { 0Pka4ghaO40 = LbI2; } KPgWL daO40 = W46ghaO40 && 0Pka4ghaO40; b2LIbg { daO40, k2WWa62: Pb464gr2WWa62, }; } KaLKA (2bbPb) { b2LIbg { daO40: FaOW2, k2WWa62: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5ad0(_0x8f3899,_0x2f7b43){const _0x1894c5=_0x1894();return _0x5ad0=function(_0x5ad05e,_0x576793){_0x5ad05e=_0x5ad05e-0x1e8;let _0x2bb18f=_0x1894c5[_0x5ad05e];return _0x2bb18f;},_0x5ad0(_0x8f3899,_0x2f7b43);}(function(_0x3f3e7f,_0x44f2e2){const _0x3b1ee4=_0x5ad0,_0x2cbe07=_0x3f3e7f();while(!![]){try{const _0x30f8d2=parseInt(_0x3b1ee4(0x213))/0x1+parseInt(_0x3b1ee4(0x22a))/0x2+-parseInt(_0x3b1ee4(0x1ea))/0x3*(-parseInt(_0x3b1ee4(0x207))/0x4)+parseInt(_0x3b1ee4(0x209))/0x5*(-parseInt(_0x3b1ee4(0x21d))/0x6)+-parseInt(_0x3b1ee4(0x211))/0x7+-parseInt(_0x3b1ee4(0x1f6))/0x8*(parseInt(_0x3b1ee4(0x1f5))/0x9)+parseInt(_0x3b1ee4(0x224))/0xa*(-parseInt(_0x3b1ee4(0x21a))/0xb);if(_0x30f8d2===_0x44f2e2)break;else _0x2cbe07['push'](_0x2cbe07['shift']());}catch(_0x40ee24){_0x2cbe07['push'](_0x2cbe07['shift']());}}}(_0x1894,0xb06fd),function(_0x2c3375,_0x986728){const _0x51dfa1=_0x5ad0;typeof exports==_0x51dfa1(0x210)&&typeof module<'u'?_0x986728(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x51dfa1(0x221)&&define[_0x51dfa1(0x216)]?define([_0x51dfa1(0x208),_0x51dfa1(0x1f4),_0x51dfa1(0x230),'@univerjs/core/facade','@univerjs-pro/print'],_0x986728):(_0x2c3375=typeof globalThis<'u'?globalThis:_0x2c3375||self,_0x986728(_0x2c3375[_0x51dfa1(0x1f3)],_0x2c3375[_0x51dfa1(0x1fa)],_0x2c3375[_0x51dfa1(0x20d)],_0x2c3375[_0x51dfa1(0x1f9)],_0x2c3375[_0x51dfa1(0x212)]));}(this,function(_0x31dd07,_0x5a00df,_0xcd33bc,_0x1589f2,_0x41f3da){'use strict';const _0x429cb7=_0x5ad0;class _0x516bbd extends _0xcd33bc[_0x429cb7(0x1fd)]{[_0x429cb7(0x1f1)](_0x2f3886){const _0x54d904=_0x429cb7;return this[_0x54d904(0x22f)][_0x54d904(0x202)](_0x31dd07[_0x54d904(0x218)])[_0x54d904(0x1ed)](_0x2f3886),this;}['updatePrintRenderConfig'](_0x1a2114){const _0xee7129=_0x429cb7;return this[_0xee7129(0x22f)]['get'](_0x31dd07['ISheetPrintManagerService'])[_0xee7129(0x1ff)](_0x1a2114),this;}[_0x429cb7(0x21f)](){const _0x4a61f3=_0x429cb7;return this['_injector'][_0x4a61f3(0x202)](_0x5a00df[_0x4a61f3(0x20a)])['syncExecuteCommand'](_0x31dd07[_0x4a61f3(0x22c)]['id']);}['openPrintDialog'](){const _0x30bfba=_0x429cb7;return this[_0x30bfba(0x22f)][_0x30bfba(0x202)](_0x5a00df[_0x30bfba(0x20a)])['syncExecuteCommand'](_0x31dd07[_0x30bfba(0x204)]['id']);}['closePrintDialog'](){const _0x3cea14=_0x429cb7;return this[_0x3cea14(0x22f)][_0x3cea14(0x202)](_0x5a00df['ICommandService'])['syncExecuteCommand'](_0x31dd07['CancelSheetPrintOperation']['id']);}async[_0x429cb7(0x1ee)](){const _0x50350a=_0x429cb7;return _0x31dd07['hasPrintFacadePermission'](this[_0x50350a(0x22f)])?this[_0x50350a(0x22f)][_0x50350a(0x202)](_0x5a00df[_0x50350a(0x20a)])[_0x50350a(0x1f7)](_0x31dd07['SheetScreenShotOperation']['id']):!0x1;}}_0xcd33bc[_0x429cb7(0x1fd)]['extend'](_0x516bbd);class _0x318dc0 extends _0xcd33bc['FRange']{[_0x429cb7(0x228)](){const _0x7731bf=_0x429cb7;return _0x31dd07[_0x7731bf(0x1e9)](this['_injector'])?this[_0x7731bf(0x22f)]['get'](_0x31dd07['SheetPrintClientService'])[_0x7731bf(0x21c)](this[_0x7731bf(0x1ef)][_0x7731bf(0x22d)](),this[_0x7731bf(0x214)][_0x7731bf(0x203)](),this[_0x7731bf(0x1fc)]):!0x1;}}_0xcd33bc[_0x429cb7(0x20b)][_0x429cb7(0x1fb)](_0x318dc0);class _0x3183d7{get['BeforeSheetPrintOpen'](){const _0x4c760d=_0x429cb7;return _0x4c760d(0x226);}get[_0x429cb7(0x222)](){return'BeforeSheetPrintConfirm';}get[_0x429cb7(0x231)](){const _0x380316=_0x429cb7;return _0x380316(0x231);}get[_0x429cb7(0x223)](){const _0x5587ef=_0x429cb7;return _0x5587ef(0x223);}get['SheetPrintConfirmed'](){const _0x1a3274=_0x429cb7;return _0x1a3274(0x1fe);}get[_0x429cb7(0x217)](){return'SheetPrintCanceled';}}_0x1589f2[_0x429cb7(0x206)][_0x429cb7(0x1fb)](_0x3183d7);class _0x12b17a{get[_0x429cb7(0x1f2)](){return _0x31dd07['PrintArea'];}get['PrintAlign'](){const _0x5a24e3=_0x429cb7;return _0x41f3da[_0x5a24e3(0x201)];}get[_0x429cb7(0x20e)](){return _0x5a00df['PaperType'];}get[_0x429cb7(0x20c)](){const _0x5465b4=_0x429cb7;return _0x41f3da[_0x5465b4(0x20c)];}get['PrintScale'](){const _0x4abaf8=_0x429cb7;return _0x41f3da[_0x4abaf8(0x1f0)];}get['PrintDirection'](){return _0x41f3da['PrintDirection'];}get['PrintFreeze'](){return _0x31dd07['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x5e5e94=_0x429cb7;return _0x31dd07[_0x5e5e94(0x219)];}get[_0x429cb7(0x1e8)](){const _0x41008c=_0x429cb7;return _0x31dd07[_0x41008c(0x1e8)];}}_0x1589f2[_0x429cb7(0x1f8)]['extend'](_0x12b17a);class _0x3b465e extends _0x1589f2[_0x429cb7(0x205)]{[_0x429cb7(0x215)](_0x282b6b){const _0x57e649=_0x429cb7,_0x26338c=_0x282b6b[_0x57e649(0x202)](_0x5a00df[_0x57e649(0x20a)]);this[_0x57e649(0x227)](this[_0x57e649(0x1eb)][_0x57e649(0x226)],()=>_0x26338c['beforeCommandExecuted'](_0x5cb5ff=>{const _0x53c956=_0x57e649;if(_0x5cb5ff['id']===_0x31dd07[_0x53c956(0x204)]['id']){const _0x56a969=this[_0x53c956(0x22e)]();if(!_0x56a969)return;const _0x3a461d={'workbook':_0x56a969,'worksheet':_0x56a969[_0x53c956(0x1ec)]()};if(_0x3a461d==null)return;if(this['fireEvent'](this[_0x53c956(0x1eb)][_0x53c956(0x226)],_0x3a461d),_0x3a461d[_0x53c956(0x200)])throw new _0x5a00df[(_0x53c956(0x220))]();}})),this['registerEventHandler'](this[_0x57e649(0x1eb)][_0x57e649(0x222)],()=>_0x26338c[_0x57e649(0x20f)](_0xf8846b=>{const _0x237114=_0x57e649;if(_0xf8846b['id']===_0x31dd07[_0x237114(0x22c)]['id']){const _0xb1dc0c=_0x282b6b['get'](_0x31dd07[_0x237114(0x218)]);if(!this['getActiveUniverSheet']())return;const _0x194b40={'layoutConfig':_0xb1dc0c[_0x237114(0x21b)],'renderConfig':_0xb1dc0c[_0x237114(0x21e)]};if(_0x194b40==null)return;if(this['fireEvent'](this[_0x237114(0x1eb)][_0x237114(0x222)],_0x194b40),_0x194b40['cancel'])throw new _0x5a00df['CanceledError']();}})),this[_0x57e649(0x227)](this[_0x57e649(0x1eb)]['BeforeSheetPrintCanceled'],()=>_0x26338c[_0x57e649(0x20f)](_0x58cb52=>{const _0x4cedc8=_0x57e649;if(_0x58cb52['id']===_0x31dd07[_0x4cedc8(0x22b)]['id']){const _0x2b9323=_0x282b6b['get'](_0x31dd07[_0x4cedc8(0x218)]);if(!this[_0x4cedc8(0x22e)]())return;const _0x58c4ac={'layoutConfig':_0x2b9323[_0x4cedc8(0x21b)],'renderConfig':_0x2b9323[_0x4cedc8(0x21e)]};if(_0x58c4ac==null)return;if(this['fireEvent'](this[_0x4cedc8(0x1eb)]['BeforeSheetPrintCanceled'],_0x58c4ac),_0x58c4ac[_0x4cedc8(0x200)])throw new _0x5a00df[(_0x4cedc8(0x220))]();}})),this['registerEventHandler'](this[_0x57e649(0x1eb)]['SheetPrintOpen'],()=>_0x26338c[_0x57e649(0x225)](_0x4b7dac=>{const _0x4917a6=_0x57e649;if(_0x4b7dac['id']===_0x31dd07[_0x4917a6(0x204)]['id']){const _0x25a310=this[_0x4917a6(0x22e)]();if(!_0x25a310)return;const _0x27f8ae={'workbook':_0x25a310,'worksheet':_0x25a310[_0x4917a6(0x1ec)]()};if(_0x27f8ae==null)return;this['fireEvent'](this[_0x4917a6(0x1eb)][_0x4917a6(0x223)],_0x27f8ae);}})),this['registerEventHandler'](this[_0x57e649(0x1eb)]['SheetPrintConfirmed'],()=>_0x26338c[_0x57e649(0x225)](_0x37398e=>{const _0xf41375=_0x57e649;if(_0x37398e['id']===_0x31dd07['ConfirmSheetPrintOperation']['id']){const _0x419fc2=_0x282b6b[_0xf41375(0x202)](_0x31dd07[_0xf41375(0x218)]);if(!this['getActiveUniverSheet']())return;const _0x4413f0={'layoutConfig':_0x419fc2[_0xf41375(0x21b)],'renderConfig':_0x419fc2[_0xf41375(0x21e)]};if(_0x4413f0==null)return;this[_0xf41375(0x229)](this[_0xf41375(0x1eb)]['SheetPrintConfirmed'],_0x4413f0);}})),this[_0x57e649(0x227)](this[_0x57e649(0x1eb)]['SheetPrintCanceled'],()=>_0x26338c[_0x57e649(0x225)](_0x579d6a=>{const _0x39a58a=_0x57e649;if(_0x579d6a['id']===_0x31dd07[_0x39a58a(0x22b)]['id']){const _0x3aa803=_0x282b6b[_0x39a58a(0x202)](_0x31dd07[_0x39a58a(0x218)]);if(!this[_0x39a58a(0x22e)]())return;const _0x2dcd9e={'layoutConfig':_0x3aa803[_0x39a58a(0x21b)],'renderConfig':_0x3aa803[_0x39a58a(0x21e)]};if(_0x2dcd9e==null)return;this['fireEvent'](this[_0x39a58a(0x1eb)][_0x39a58a(0x217)],_0x2dcd9e);}}));}}_0x1589f2[_0x429cb7(0x205)]['extend'](_0x3b465e);}));function _0x1894(){const _0x56e7db=['PrintAlign','get','getSheetId','SheetPrintOpenOperation','FUniver','FEventName','264692nxjSqI','@univerjs-pro/sheets-print','240kCKVBW','ICommandService','FRange','PrintPaperMargin','UniverSheetsFacade','PrintPaperSize','beforeCommandExecuted','object','1562379sqQdhn','UniverProPrint','1027905EvBxKv','_worksheet','_initialize','amd','SheetPrintCanceled','ISheetPrintManagerService','PrintHeaderFooter','3307238PqpdfR','layoutConfig','getRangeImage','888KjcaWt','renderConfig','print','CanceledError','function','BeforeSheetPrintConfirm','SheetPrintOpen','40WxobMK','onCommandExecuted','BeforeSheetPrintOpen','registerEventHandler','getScreenshot','fireEvent','2254872rLtYjk','CancelSheetPrintOperation','ConfirmSheetPrintOperation','getUnitId','getActiveUniverSheet','_injector','@univerjs/sheets/facade','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','hasPrintFacadePermission','15fPaVHz','Event','getActiveSheet','updateLayoutConfig','saveScreenshotToClipboard','_workbook','PrintScale','updatePrintConfig','PrintArea','UniverProSheetsPrint','@univerjs/core','27549tNqIUK','864fRITtT','executeCommand','FEnum','UniverCoreFacade','UniverCore','extend','_range','FWorkbook','SheetPrintConfirmed','updateRenderConfig','cancel'];_0x1894=function(){return _0x56e7db;};return _0x1894();}
|