@univerjs-pro/sheets-print 0.9.3 → 0.9.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 +43 -43
- 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
|
-
|
|
17
|
-
|
|
12
|
+
D: string;
|
|
13
|
+
p: string;
|
|
14
|
+
L: string;
|
|
15
|
+
N: string;
|
|
16
|
+
o: string;
|
|
17
|
+
f: string;
|
|
18
18
|
O: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
V: string;
|
|
20
|
+
t: string;
|
|
21
|
+
R: string;
|
|
22
|
+
h: string;
|
|
22
23
|
K: string;
|
|
23
|
-
|
|
24
|
+
U: string;
|
|
25
|
+
G: string;
|
|
26
|
+
e: string;
|
|
27
|
+
z: string;
|
|
28
|
+
l: string;
|
|
29
|
+
F: string;
|
|
30
|
+
X: string;
|
|
31
|
+
i: string;
|
|
32
|
+
C: string;
|
|
33
|
+
v: string;
|
|
34
|
+
S: string;
|
|
35
|
+
x: string;
|
|
36
|
+
Y: string;
|
|
37
|
+
Z: string;
|
|
38
|
+
c: string;
|
|
24
39
|
a: string;
|
|
25
|
-
o: string;
|
|
26
|
-
L: string;
|
|
27
|
-
T: string;
|
|
28
40
|
I: string;
|
|
29
41
|
y: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
M: string;
|
|
35
|
-
J: string;
|
|
36
|
-
F: string;
|
|
37
|
-
e: string;
|
|
38
|
-
R: string;
|
|
39
|
-
N: string;
|
|
40
|
-
P: string;
|
|
41
|
-
b: string;
|
|
42
|
-
Z: string;
|
|
43
|
-
X: string;
|
|
44
|
-
V: string;
|
|
45
|
-
p: string;
|
|
46
|
-
G: string;
|
|
42
|
+
j: string;
|
|
43
|
+
g: string;
|
|
44
|
+
n: string;
|
|
45
|
+
T: string;
|
|
47
46
|
Q: string;
|
|
47
|
+
d: string;
|
|
48
|
+
J: string;
|
|
48
49
|
q: string;
|
|
50
|
+
H: string;
|
|
51
|
+
W: string;
|
|
52
|
+
b: string;
|
|
53
|
+
u: string;
|
|
49
54
|
r: string;
|
|
50
|
-
U: string;
|
|
51
|
-
i: string;
|
|
52
|
-
h: string;
|
|
53
|
-
f: string;
|
|
54
55
|
w: string;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
C: string;
|
|
56
|
+
B: string;
|
|
57
|
+
P: string;
|
|
58
|
+
E: string;
|
|
59
|
+
A: string;
|
|
60
|
+
m: string;
|
|
61
|
+
s: string;
|
|
62
|
+
k: string;
|
|
63
|
+
M: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "UcihZeCi 5Khx0vZeCi(FehKiYK, vcRFehHK0) { Zx0 { hCiYZ FehKiYKJiUCrtxZjxxt0 = FehKiYK.YvFeZ('-'); hCiYZ Cxe1ei9KYYt1K = qPub.vtxYK(tZCR(FehKiYKJiUCrtxZjxxt0[3])); eU (!Cxe1ei9KYYt1K.c5) { Cxe1ei9KYYt1K.c5 = bcXRKx(FehKiYKJiUCrtxZjxxt0[L]); } hCiYZ eYsCxlKx = Z0vKCU sCxlKxdFCRtFPhCvK !== 'ci5KUeiK5' && YKFU eiYZtihKCU sCxlKxdFCRtFPhCvK; hCiYZ hCiZKIZ = eYsCxlKx ? YKFU : aei5Ca; hCiYZ XKYYt1KsCx5 = hCiZKIZ.__gtYKoL__.vtxYK(FehKiYKJiUCrtxZjxxt0[3]); hCiYZ XKYYt1K = hCiZKIZ.__4KI__.YZxei1eU0(XKYYt1KsCx5); hCiYZ Ye1itZcxKsCx5 = hCiZKIZ.__gtYKoL__.vtxYK(FehKiYKJiUCrtxZjxxt0[p]); hCiYZ Ye1itZcxK = hCiZKIZ.__4KI__.YZxei1eU0(Ye1itZcxKsCx5); hCiYZ Ye1imtFe5 = hCiZKIZ.__2KxeU0__(Ye1itZcxK, XKYYt1K, vcRFehHK0); hCiYZ 5CXtei = Cxe1ei9KYYt1K.5X; UcihZeCi eY7CXtei9tZhGei1(CrtZZKxi, C4CYZ) { hCiYZ vtZZKxi = CrtZZKxi.xKvFthK(/^.+/, ''); hCiYZ GCYZ = C4CYZ.xKvFthK(/^.+/, ''); hCiYZ vtZZKxirtxZY = vtZZKxi.YvFeZ('.'); hCiYZ GCYZrtxZY = GCYZ.YvFeZ('.'); eU (!vtZZKxi.eihFc5KY('*')) { xKZcxi vtZZKxi === GCYZ; } eU (vtZZKxirtxZY.FKi1ZG < 3 || vtZZKxirtxZY[6] !== '*') { xKZcxi UtFYK; } hCiYZ vtZZKxiPcUUeI = vtZZKxirtxZY.YFehK(D).zCei('.'); hCiYZ GCYZPcUUeI = GCYZrtxZY.YFehK(-vtZZKxirtxZY.FKi1ZG + D).zCei('.'); xKZcxi vtZZKxiPcUUeI === GCYZPcUUeI; } FKZ 5CXteimtFe5 = (5CXtei && 5CXtei.FKi1ZG) ? 5CXtei.YCXK((5XJZKX) => eY7CXtei9tZhGei1(5XJZKX, FChtZeCi.GCYZitXK)) : ZxcK; eU (FChtZeCi.GCYZitXK === 'FChtFGCYZ') { 5CXteimtFe5 = ZxcK; } hCiYZ 2tFe5 = Ye1imtFe5 && 5CXteimtFe5; xKZcxi { 2tFe5, XKYYt1K: Cxe1ei9KYYt1K, }; } htZhG (KxxCx) { xKZcxi { 2tFe5: UtFYK, XKYYt1K: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1616ea,_0x1101d5){const _0x11ac8b=_0x574a,_0x276359=_0x1616ea();while(!![]){try{const _0x52be8b=parseInt(_0x11ac8b(0xb8))/0x1+-parseInt(_0x11ac8b(0xa0))/0x2*(parseInt(_0x11ac8b(0xa4))/0x3)+parseInt(_0x11ac8b(0x92))/0x4+parseInt(_0x11ac8b(0x90))/0x5+parseInt(_0x11ac8b(0x9d))/0x6+parseInt(_0x11ac8b(0xa6))/0x7*(-parseInt(_0x11ac8b(0x9c))/0x8)+-parseInt(_0x11ac8b(0xa8))/0x9*(parseInt(_0x11ac8b(0x9e))/0xa);if(_0x52be8b===_0x1101d5)break;else _0x276359['push'](_0x276359['shift']());}catch(_0x271934){_0x276359['push'](_0x276359['shift']());}}}(_0x2696,0xc3b2a),function(_0x3b5b40,_0xd57166){const _0x2e13db=_0x574a;typeof exports==_0x2e13db(0xb6)&&typeof module<'u'?_0xd57166(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x2e13db(0xb9)&&define['amd']?define(['@univerjs-pro/sheets-print',_0x2e13db(0xae),_0x2e13db(0xc2),_0x2e13db(0xcd),_0x2e13db(0xbe)],_0xd57166):(_0x3b5b40=typeof globalThis<'u'?globalThis:_0x3b5b40||self,_0xd57166(_0x3b5b40['UniverProSheetsPrint'],_0x3b5b40['UniverCore'],_0x3b5b40[_0x2e13db(0xc8)],_0x3b5b40[_0x2e13db(0xc9)],_0x3b5b40[_0x2e13db(0x9a)]));}(this,function(_0x469951,_0x179846,_0x3e659b,_0x5450b9,_0x2a89d2){'use strict';const _0x25da07=_0x574a;class _0x5c5fb9 extends _0x3e659b['FWorkbook']{['updatePrintConfig'](_0x2fa58b){const _0xa16b96=_0x574a;return this[_0xa16b96(0x8c)][_0xa16b96(0xb1)](_0x469951[_0xa16b96(0x96)])[_0xa16b96(0xd1)](_0x2fa58b),this;}[_0x25da07(0xca)](_0x54a75f){const _0x3948ad=_0x25da07;return this[_0x3948ad(0x8c)][_0x3948ad(0xb1)](_0x469951['ISheetPrintManagerService'])['updateRenderConfig'](_0x54a75f),this;}[_0x25da07(0xba)](){const _0x422be8=_0x25da07;return this[_0x422be8(0x8c)][_0x422be8(0xb1)](_0x179846['ICommandService'])[_0x422be8(0xbb)](_0x469951[_0x422be8(0x8d)]['id']);}[_0x25da07(0xa1)](){const _0x3b01ec=_0x25da07;return this['_injector']['get'](_0x179846[_0x3b01ec(0x94)])[_0x3b01ec(0xbb)](_0x469951['SheetPrintOpenOperation']['id']);}[_0x25da07(0xa5)](){const _0x24f125=_0x25da07;return this[_0x24f125(0x8c)][_0x24f125(0xb1)](_0x179846[_0x24f125(0x94)])[_0x24f125(0xbb)](_0x469951['CancelSheetPrintOperation']['id']);}async[_0x25da07(0x8f)](){const _0x39589a=_0x25da07;return _0x469951[_0x39589a(0xcf)](this['_injector'])?this[_0x39589a(0x8c)][_0x39589a(0xb1)](_0x179846[_0x39589a(0x94)])[_0x39589a(0xaa)](_0x469951[_0x39589a(0xad)]['id']):!0x1;}}_0x3e659b['FWorkbook'][_0x25da07(0xbd)](_0x5c5fb9);class _0x5dceb8 extends _0x3e659b[_0x25da07(0xc4)]{['getScreenshot'](){const _0x10a861=_0x25da07;return _0x469951[_0x10a861(0xcf)](this[_0x10a861(0x8c)])?this[_0x10a861(0x8c)]['get'](_0x469951[_0x10a861(0xbf)])[_0x10a861(0x91)](this[_0x10a861(0xa2)]['getUnitId'](),this['_worksheet'][_0x10a861(0x93)](),this[_0x10a861(0xbc)]):!0x1;}}_0x3e659b[_0x25da07(0xc4)][_0x25da07(0xbd)](_0x5dceb8);class _0x32e7db{get[_0x25da07(0xaf)](){const _0x307020=_0x25da07;return _0x307020(0xaf);}get['BeforeSheetPrintConfirm'](){const _0x339432=_0x25da07;return _0x339432(0xc3);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x3516a5=_0x25da07;return _0x3516a5(0xc1);}get[_0x25da07(0xb5)](){return'SheetPrintConfirmed';}get[_0x25da07(0xb0)](){return'SheetPrintCanceled';}}_0x5450b9[_0x25da07(0x9f)][_0x25da07(0xbd)](_0x32e7db);class _0x5c1deb{get[_0x25da07(0xc7)](){const _0x315ffd=_0x25da07;return _0x469951[_0x315ffd(0xc7)];}get['PrintAlign'](){const _0x24ef60=_0x25da07;return _0x2a89d2[_0x24ef60(0xa3)];}get[_0x25da07(0xb3)](){const _0x1d0371=_0x25da07;return _0x179846[_0x1d0371(0xc0)];}get[_0x25da07(0xab)](){const _0x382c82=_0x25da07;return _0x2a89d2[_0x382c82(0xab)];}get[_0x25da07(0x97)](){const _0x299e8a=_0x25da07;return _0x2a89d2[_0x299e8a(0x97)];}get['PrintDirection'](){const _0x538176=_0x25da07;return _0x2a89d2[_0x538176(0xd0)];}get['PrintFreeze'](){const _0x21b73a=_0x25da07;return _0x469951[_0x21b73a(0xb4)];}get[_0x25da07(0xc6)](){const _0x4c4db0=_0x25da07;return _0x469951[_0x4c4db0(0xc6)];}get[_0x25da07(0xc5)](){const _0x3eba97=_0x25da07;return _0x469951[_0x3eba97(0xc5)];}}_0x5450b9['FEnum']['extend'](_0x5c1deb);class _0x257205 extends _0x5450b9[_0x25da07(0x8e)]{[_0x25da07(0xcc)](_0xbcc09c){const _0x531927=_0x25da07,_0x35d427=_0xbcc09c[_0x531927(0xb1)](_0x179846[_0x531927(0x94)]);this['registerEventHandler'](this[_0x531927(0xcb)][_0x531927(0xaf)],()=>_0x35d427[_0x531927(0x8a)](_0x7292f8=>{const _0x439101=_0x531927;if(_0x7292f8['id']===_0x469951['SheetPrintOpenOperation']['id']){const _0x325360=this[_0x439101(0xce)]();if(!_0x325360)return;const _0xc29963={'workbook':_0x325360,'worksheet':_0x325360[_0x439101(0xa7)]()};if(_0xc29963==null)return;if(this[_0x439101(0xa9)](this[_0x439101(0xcb)][_0x439101(0xaf)],_0xc29963),_0xc29963[_0x439101(0x8b)])throw new _0x179846['CanceledError']();}})),this[_0x531927(0xb2)](this['Event'][_0x531927(0xc3)],()=>_0x35d427[_0x531927(0x8a)](_0x39ccba=>{const _0x2f7de8=_0x531927;if(_0x39ccba['id']===_0x469951['ConfirmSheetPrintOperation']['id']){const _0x3c6aec=_0xbcc09c[_0x2f7de8(0xb1)](_0x469951[_0x2f7de8(0x96)]);if(!this[_0x2f7de8(0xce)]())return;const _0x3f9c6f={'layoutConfig':_0x3c6aec[_0x2f7de8(0x99)],'renderConfig':_0x3c6aec[_0x2f7de8(0x9b)]};if(_0x3f9c6f==null)return;if(this[_0x2f7de8(0xa9)](this[_0x2f7de8(0xcb)][_0x2f7de8(0xc3)],_0x3f9c6f),_0x3f9c6f[_0x2f7de8(0x8b)])throw new _0x179846[(_0x2f7de8(0x98))]();}})),this[_0x531927(0xb2)](this[_0x531927(0xcb)]['BeforeSheetPrintCanceled'],()=>_0x35d427[_0x531927(0x8a)](_0x56793a=>{const _0x58a514=_0x531927;if(_0x56793a['id']===_0x469951[_0x58a514(0x95)]['id']){const _0x5017c5=_0xbcc09c['get'](_0x469951[_0x58a514(0x96)]);if(!this[_0x58a514(0xce)]())return;const _0x48a099={'layoutConfig':_0x5017c5[_0x58a514(0x99)],'renderConfig':_0x5017c5[_0x58a514(0x9b)]};if(_0x48a099==null)return;if(this[_0x58a514(0xa9)](this['Event']['BeforeSheetPrintCanceled'],_0x48a099),_0x48a099[_0x58a514(0x8b)])throw new _0x179846['CanceledError']();}})),this[_0x531927(0xb2)](this[_0x531927(0xcb)][_0x531927(0xc1)],()=>_0x35d427['onCommandExecuted'](_0x98f07e=>{const _0x316308=_0x531927;if(_0x98f07e['id']===_0x469951[_0x316308(0xb7)]['id']){const _0x245806=this[_0x316308(0xce)]();if(!_0x245806)return;const _0x1a7a00={'workbook':_0x245806,'worksheet':_0x245806['getActiveSheet']()};if(_0x1a7a00==null)return;this[_0x316308(0xa9)](this['Event'][_0x316308(0xc1)],_0x1a7a00);}})),this[_0x531927(0xb2)](this[_0x531927(0xcb)][_0x531927(0xb5)],()=>_0x35d427[_0x531927(0xac)](_0x22706a=>{const _0x3eae8e=_0x531927;if(_0x22706a['id']===_0x469951[_0x3eae8e(0x8d)]['id']){const _0x4e3b0d=_0xbcc09c[_0x3eae8e(0xb1)](_0x469951['ISheetPrintManagerService']);if(!this[_0x3eae8e(0xce)]())return;const _0xfabec7={'layoutConfig':_0x4e3b0d[_0x3eae8e(0x99)],'renderConfig':_0x4e3b0d[_0x3eae8e(0x9b)]};if(_0xfabec7==null)return;this[_0x3eae8e(0xa9)](this['Event'][_0x3eae8e(0xb5)],_0xfabec7);}})),this['registerEventHandler'](this[_0x531927(0xcb)][_0x531927(0xb0)],()=>_0x35d427[_0x531927(0xac)](_0x5b452f=>{const _0x57b0ee=_0x531927;if(_0x5b452f['id']===_0x469951[_0x57b0ee(0x95)]['id']){const _0x1b3025=_0xbcc09c[_0x57b0ee(0xb1)](_0x469951[_0x57b0ee(0x96)]);if(!this['getActiveUniverSheet']())return;const _0x422dd2={'layoutConfig':_0x1b3025[_0x57b0ee(0x99)],'renderConfig':_0x1b3025[_0x57b0ee(0x9b)]};if(_0x422dd2==null)return;this[_0x57b0ee(0xa9)](this[_0x57b0ee(0xcb)][_0x57b0ee(0xb0)],_0x422dd2);}}));}}_0x5450b9[_0x25da07(0x8e)][_0x25da07(0xbd)](_0x257205);}));function _0x574a(_0x56e9d0,_0x4ad5a3){const _0x269675=_0x2696();return _0x574a=function(_0x574a2d,_0x27e98a){_0x574a2d=_0x574a2d-0x8a;let _0x168356=_0x269675[_0x574a2d];return _0x168356;},_0x574a(_0x56e9d0,_0x4ad5a3);}function _0x2696(){const _0x285d74=['layoutConfig','UniverProPrint','renderConfig','6518456IbdpWl','1283190qCEUTn','30cQDnxA','FEventName','44460iOdSFL','openPrintDialog','_workbook','PrintAlign','27gurqEm','closePrintDialog','7RPSoeF','getActiveSheet','6086556Uyvhmw','fireEvent','executeCommand','PrintPaperMargin','onCommandExecuted','SheetScreenShotOperation','@univerjs/core','BeforeSheetPrintOpen','SheetPrintCanceled','get','registerEventHandler','PrintPaperSize','PrintFreeze','SheetPrintConfirmed','object','SheetPrintOpenOperation','1566756foGHJX','function','print','syncExecuteCommand','_range','extend','@univerjs-pro/print','SheetPrintClientService','PaperType','SheetPrintOpen','@univerjs/sheets/facade','BeforeSheetPrintConfirm','FRange','PrintHeaderFooterSymbol','PrintHeaderFooter','PrintArea','UniverSheetsFacade','UniverCoreFacade','updatePrintRenderConfig','Event','_initialize','@univerjs/core/facade','getActiveUniverSheet','hasPrintFacadePermission','PrintDirection','updateLayoutConfig','beforeCommandExecuted','cancel','_injector','ConfirmSheetPrintOperation','FUniver','saveScreenshotToClipboard','7670610sYGYQe','getRangeImage','2122256yIBIHC','getSheetId','ICommandService','CancelSheetPrintOperation','ISheetPrintManagerService','PrintScale','CanceledError'];_0x2696=function(){return _0x285d74;};return _0x2696();}
|