@univerjs-pro/sheets-print 0.10.12 → 0.10.13
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
P: string;
|
|
16
|
-
o: string;
|
|
12
|
+
K: string;
|
|
13
|
+
j: string;
|
|
14
|
+
c: string;
|
|
17
15
|
X: string;
|
|
18
|
-
|
|
16
|
+
m: string;
|
|
17
|
+
J: string;
|
|
18
|
+
V: string;
|
|
19
|
+
w: string;
|
|
20
|
+
R: string;
|
|
19
21
|
v: string;
|
|
22
|
+
F: string;
|
|
23
|
+
q: string;
|
|
24
|
+
Z: string;
|
|
25
|
+
E: string;
|
|
26
|
+
g: string;
|
|
27
|
+
u: string;
|
|
28
|
+
x: string;
|
|
20
29
|
h: string;
|
|
21
|
-
|
|
30
|
+
C: string;
|
|
31
|
+
P: string;
|
|
32
|
+
T: string;
|
|
33
|
+
p: string;
|
|
34
|
+
l: string;
|
|
35
|
+
e: string;
|
|
22
36
|
W: string;
|
|
23
|
-
|
|
24
|
-
j: string;
|
|
25
|
-
E: string;
|
|
26
|
-
b: string;
|
|
37
|
+
I: string;
|
|
27
38
|
O: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
s: string;
|
|
40
|
+
d: string;
|
|
41
|
+
z: string;
|
|
42
|
+
B: string;
|
|
43
|
+
S: string;
|
|
44
|
+
o: string;
|
|
34
45
|
r: string;
|
|
35
|
-
i: string;
|
|
36
|
-
U: string;
|
|
37
|
-
p: string;
|
|
38
46
|
y: string;
|
|
47
|
+
L: string;
|
|
48
|
+
i: string;
|
|
39
49
|
Y: string;
|
|
50
|
+
t: string;
|
|
51
|
+
N: string;
|
|
52
|
+
H: string;
|
|
40
53
|
A: string;
|
|
41
|
-
g: string;
|
|
42
|
-
R: string;
|
|
43
54
|
a: string;
|
|
44
|
-
H: string;
|
|
45
|
-
t: string;
|
|
46
55
|
n: string;
|
|
47
|
-
|
|
48
|
-
I: string;
|
|
49
|
-
l: string;
|
|
50
|
-
w: string;
|
|
51
|
-
q: string;
|
|
56
|
+
b: string;
|
|
52
57
|
G: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
z: string;
|
|
56
|
-
L: string;
|
|
57
|
-
C: string;
|
|
58
|
-
c: string;
|
|
59
|
-
Z: string;
|
|
60
|
-
F: string;
|
|
61
|
-
S: string;
|
|
62
|
-
T: string;
|
|
58
|
+
D: string;
|
|
59
|
+
Q: string;
|
|
63
60
|
f: string;
|
|
61
|
+
k: string;
|
|
62
|
+
M: string;
|
|
63
|
+
U: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "qeCvlEPC 1Fvps0lEPC(xEvFC2F, 0eRxEv8Fs) { lps { vPC2l xEvFC2FiCqP5wpl3ppws = xEvFC2F.20xEl('-'); vPC2l PpE6ECNF22w6F = YbAH.0wp2F(wlPR(xEvFC2FiCqP5wpl3ppws[j])); Eq (!PpE6ECNF22w6F.e1) { PpE6ECNF22w6F.e1 = HehRFp(xEvFC2FiCqP5wpl3ppws[c]); } vPC2l E2fPpuFp = ls0FPq fPpuFpyxPRwxbvP0F !== 'eC1FqECF1' && 2Fxq EC2lwCvFPq fPpuFpyxPRwxbvP0F; vPC2l vPClFOl = E2fPpuFp ? 2Fxq : IEC1PI; vPC2l hF22w6FfPp1 = vPClFOl.__zw2Fmc__.0wp2F(xEvFC2FiCqP5wpl3ppws[j]); vPC2l hF22w6F = vPClFOl.__LFO__.2lpEC6Eqs(hF22w6FfPp1); vPC2l 2E6CwlepFfPp1 = vPClFOl.__zw2Fmc__.0wp2F(xEvFC2FiCqP5wpl3ppws[7]); vPC2l 2E6CwlepF = vPClFOl.__LFO__.2lpEC6Eqs(2E6CwlepFfPp1); vPC2l 2E6CQwxE1 = vPClFOl.__WFpEqs__(2E6CwlepF, hF22w6F, 0eRxEv8Fs); vPC2l 1PhwEC = PpE6ECNF22w6F.1h; qeCvlEPC E2SPhwECNwlvZEC6(P5wllFpC, PLP2l) { vPC2l 0wllFpC = P5wllFpC.pF0xwvF(/^.+/, ''); vPC2l ZP2l = PLP2l.pF0xwvF(/^.+/, ''); vPC2l 0wllFpC5wpl2 = 0wllFpC.20xEl('.'); vPC2l ZP2l5wpl2 = ZP2l.20xEl('.'); Eq (!0wllFpC.ECvxe1F2('*')) { pFlepC 0wllFpC === ZP2l; } Eq (0wllFpC5wpl2.xFC6lZ < j || 0wllFpC5wpl2[K] !== '*') { pFlepC qwx2F; } vPC2l 0wllFpCbeqqEO = 0wllFpC5wpl2.2xEvF(4).gPEC('.'); vPC2l ZP2lbeqqEO = ZP2l5wpl2.2xEvF(-0wllFpC5wpl2.xFC6lZ + 4).gPEC('.'); pFlepC 0wllFpCbeqqEO === ZP2lbeqqEO; } xFl 1PhwECQwxE1 = (1PhwEC && 1PhwEC.xFC6lZ) ? 1PhwEC.2PhF((1hilFh) => E2SPhwECNwlvZEC6(1hilFh, xPvwlEPC.ZP2lCwhF)) : lpeF; Eq (xPvwlEPC.ZP2lCwhF === 'xPvwxZP2l') { 1PhwECQwxE1 = lpeF; } vPC2l WwxE1 = 2E6CQwxE1 && 1PhwECQwxE1; pFlepC { WwxE1, hF22w6F: PpE6ECNF22w6F, }; } vwlvZ (FppPp) { pFlepC { WwxE1: qwx2F, hF22w6F: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x36f0(_0xc77e5c,_0x518746){const _0x337570=_0x3375();return _0x36f0=function(_0x36f024,_0x416705){_0x36f024=_0x36f024-0x1dc;let _0x380784=_0x337570[_0x36f024];return _0x380784;},_0x36f0(_0xc77e5c,_0x518746);}function _0x3375(){const _0x2e60e4=['renderConfig','PrintDirection','7554617SQlDWi','onCommandExecuted','ISheetPrintManagerService','@univerjs-pro/sheets-print','FEnum','updateRenderConfig','PrintScale','9darqIL','Event','SheetPrintOpen','updateLayoutConfig','FUniver','2294372aHPCdX','getRangeImage','SheetPrintOpenOperation','updatePrintConfig','beforeCommandExecuted','get','getActiveSheet','1434825IKxtcD','getActiveUniverSheet','PrintArea','UniverProSheetsPrint','openPrintDialog','CanceledError','UniverSheetsFacade','PrintFreeze','PaperType','syncExecuteCommand','getScreenshot','FRange','getSheetId','registerEventHandler','UniverCore','executeCommand','PrintPaperSize','_workbook','amd','16953HFGIWx','hasPrintFacadePermission','@univerjs/sheets/facade','extend','SheetPrintCanceled','PrintAlign','PrintHeaderFooter','428vrEmHx','BeforeSheetPrintOpen','BeforeSheetPrintCanceled','4554050VuJdBM','ICommandService','closePrintDialog','_injector','_worksheet','PrintPaperMargin','6eaCGuC','695308bHALTQ','10023208VITwpL','SheetPrintConfirmed','99NnOhMK','_range','BeforeSheetPrintConfirm','layoutConfig','FEventName','fireEvent','PrintHeaderFooterSymbol','ConfirmSheetPrintOperation','CancelSheetPrintOperation'];_0x3375=function(){return _0x2e60e4;};return _0x3375();}(function(_0x4728dc,_0x38fa25){const _0x33169d=_0x36f0,_0x2f73c3=_0x4728dc();while(!![]){try{const _0x239031=-parseInt(_0x33169d(0x214))/0x1+-parseInt(_0x33169d(0x20a))/0x2*(parseInt(_0x33169d(0x203))/0x3)+parseInt(_0x33169d(0x1e9))/0x4+parseInt(_0x33169d(0x1f0))/0x5+parseInt(_0x33169d(0x213))/0x6*(-parseInt(_0x33169d(0x1dd))/0x7)+parseInt(_0x33169d(0x215))/0x8*(-parseInt(_0x33169d(0x1e4))/0x9)+-parseInt(_0x33169d(0x20d))/0xa*(-parseInt(_0x33169d(0x217))/0xb);if(_0x239031===_0x38fa25)break;else _0x2f73c3['push'](_0x2f73c3['shift']());}catch(_0x4a7083){_0x2f73c3['push'](_0x2f73c3['shift']());}}}(_0x3375,0xb0611),function(_0x421c8b,_0x5a108e){const _0x102238=_0x36f0;typeof exports=='object'&&typeof module<'u'?_0x5a108e(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define=='function'&&define[_0x102238(0x202)]?define([_0x102238(0x1e0),'@univerjs/core',_0x102238(0x205),'@univerjs/core/facade','@univerjs-pro/print'],_0x5a108e):(_0x421c8b=typeof globalThis<'u'?globalThis:_0x421c8b||self,_0x5a108e(_0x421c8b[_0x102238(0x1f3)],_0x421c8b[_0x102238(0x1fe)],_0x421c8b[_0x102238(0x1f6)],_0x421c8b['UniverCoreFacade'],_0x421c8b['UniverProPrint']));}(this,function(_0x4fc212,_0x289be2,_0x581244,_0x51d630,_0xcb0784){'use strict';const _0x4f0808=_0x36f0;class _0x107941 extends _0x581244['FWorkbook']{[_0x4f0808(0x1ec)](_0x43f09d){const _0x23ac5d=_0x4f0808;return this[_0x23ac5d(0x210)][_0x23ac5d(0x1ee)](_0x4fc212['ISheetPrintManagerService'])[_0x23ac5d(0x1e7)](_0x43f09d),this;}['updatePrintRenderConfig'](_0x298aad){const _0x2b4a46=_0x4f0808;return this['_injector'][_0x2b4a46(0x1ee)](_0x4fc212['ISheetPrintManagerService'])[_0x2b4a46(0x1e2)](_0x298aad),this;}['print'](){const _0x1164a9=_0x4f0808;return this[_0x1164a9(0x210)][_0x1164a9(0x1ee)](_0x289be2[_0x1164a9(0x20e)])[_0x1164a9(0x1f9)](_0x4fc212[_0x1164a9(0x21e)]['id']);}[_0x4f0808(0x1f4)](){const _0x5ed8bc=_0x4f0808;return this['_injector'][_0x5ed8bc(0x1ee)](_0x289be2[_0x5ed8bc(0x20e)])['syncExecuteCommand'](_0x4fc212[_0x5ed8bc(0x1eb)]['id']);}[_0x4f0808(0x20f)](){const _0x34ae64=_0x4f0808;return this[_0x34ae64(0x210)][_0x34ae64(0x1ee)](_0x289be2['ICommandService'])[_0x34ae64(0x1f9)](_0x4fc212['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x2b3953=_0x4f0808;return _0x4fc212[_0x2b3953(0x204)](this['_injector'])?this['_injector'][_0x2b3953(0x1ee)](_0x289be2['ICommandService'])[_0x2b3953(0x1ff)](_0x4fc212['SheetScreenShotOperation']['id']):!0x1;}}_0x581244['FWorkbook'][_0x4f0808(0x206)](_0x107941);class _0x1fa1d1 extends _0x581244['FRange']{[_0x4f0808(0x1fa)](){const _0x253b1a=_0x4f0808;return _0x4fc212[_0x253b1a(0x204)](this[_0x253b1a(0x210)])?this[_0x253b1a(0x210)][_0x253b1a(0x1ee)](_0x4fc212['SheetPrintClientService'])[_0x253b1a(0x1ea)](this[_0x253b1a(0x201)]['getUnitId'](),this[_0x253b1a(0x211)][_0x253b1a(0x1fc)](),this[_0x253b1a(0x218)]):!0x1;}}_0x581244[_0x4f0808(0x1fb)][_0x4f0808(0x206)](_0x1fa1d1);class _0x99a0d1{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x4f0808(0x219)](){return'BeforeSheetPrintConfirm';}get[_0x4f0808(0x20c)](){const _0x625b90=_0x4f0808;return _0x625b90(0x20c);}get[_0x4f0808(0x1e6)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x376e53=_0x4f0808;return _0x376e53(0x216);}get[_0x4f0808(0x207)](){const _0x26a9aa=_0x4f0808;return _0x26a9aa(0x207);}}_0x51d630[_0x4f0808(0x21b)][_0x4f0808(0x206)](_0x99a0d1);class _0x522ca6{get[_0x4f0808(0x1f2)](){const _0x5c4153=_0x4f0808;return _0x4fc212[_0x5c4153(0x1f2)];}get[_0x4f0808(0x208)](){return _0xcb0784['PrintAlign'];}get[_0x4f0808(0x200)](){const _0x1c4bd6=_0x4f0808;return _0x289be2[_0x1c4bd6(0x1f8)];}get[_0x4f0808(0x212)](){const _0x5d85bc=_0x4f0808;return _0xcb0784[_0x5d85bc(0x212)];}get[_0x4f0808(0x1e3)](){const _0x1853fa=_0x4f0808;return _0xcb0784[_0x1853fa(0x1e3)];}get['PrintDirection'](){const _0x575983=_0x4f0808;return _0xcb0784[_0x575983(0x1dc)];}get[_0x4f0808(0x1f7)](){const _0x5eedff=_0x4f0808;return _0x4fc212[_0x5eedff(0x1f7)];}get['PrintHeaderFooter'](){const _0x5be858=_0x4f0808;return _0x4fc212[_0x5be858(0x209)];}get[_0x4f0808(0x21d)](){const _0x7b6124=_0x4f0808;return _0x4fc212[_0x7b6124(0x21d)];}}_0x51d630[_0x4f0808(0x1e1)][_0x4f0808(0x206)](_0x522ca6);class _0x4da0bf extends _0x51d630[_0x4f0808(0x1e8)]{['_initialize'](_0x387b69){const _0x4984fa=_0x4f0808,_0x59fc49=_0x387b69['get'](_0x289be2[_0x4984fa(0x20e)]);this[_0x4984fa(0x1fd)](this[_0x4984fa(0x1e5)][_0x4984fa(0x20b)],()=>_0x59fc49[_0x4984fa(0x1ed)](_0x506561=>{const _0x77eec9=_0x4984fa;if(_0x506561['id']===_0x4fc212[_0x77eec9(0x1eb)]['id']){const _0x3eab52=this[_0x77eec9(0x1f1)]();if(!_0x3eab52)return;const _0x130194={'workbook':_0x3eab52,'worksheet':_0x3eab52[_0x77eec9(0x1ef)]()};if(_0x130194==null)return;if(this[_0x77eec9(0x21c)](this[_0x77eec9(0x1e5)]['BeforeSheetPrintOpen'],_0x130194),_0x130194['cancel'])throw new _0x289be2[(_0x77eec9(0x1f5))]();}})),this[_0x4984fa(0x1fd)](this[_0x4984fa(0x1e5)][_0x4984fa(0x219)],()=>_0x59fc49[_0x4984fa(0x1ed)](_0x58b577=>{const _0x290324=_0x4984fa;if(_0x58b577['id']===_0x4fc212['ConfirmSheetPrintOperation']['id']){const _0x3eedba=_0x387b69[_0x290324(0x1ee)](_0x4fc212['ISheetPrintManagerService']);if(!this[_0x290324(0x1f1)]())return;const _0x124348={'layoutConfig':_0x3eedba['layoutConfig'],'renderConfig':_0x3eedba['renderConfig']};if(_0x124348==null)return;if(this[_0x290324(0x21c)](this[_0x290324(0x1e5)][_0x290324(0x219)],_0x124348),_0x124348['cancel'])throw new _0x289be2[(_0x290324(0x1f5))]();}})),this['registerEventHandler'](this[_0x4984fa(0x1e5)][_0x4984fa(0x20c)],()=>_0x59fc49[_0x4984fa(0x1ed)](_0x5344c7=>{const _0x45f760=_0x4984fa;if(_0x5344c7['id']===_0x4fc212[_0x45f760(0x21f)]['id']){const _0x1113a6=_0x387b69[_0x45f760(0x1ee)](_0x4fc212[_0x45f760(0x1df)]);if(!this['getActiveUniverSheet']())return;const _0x55e906={'layoutConfig':_0x1113a6[_0x45f760(0x21a)],'renderConfig':_0x1113a6[_0x45f760(0x220)]};if(_0x55e906==null)return;if(this['fireEvent'](this[_0x45f760(0x1e5)]['BeforeSheetPrintCanceled'],_0x55e906),_0x55e906['cancel'])throw new _0x289be2[(_0x45f760(0x1f5))]();}})),this[_0x4984fa(0x1fd)](this['Event']['SheetPrintOpen'],()=>_0x59fc49[_0x4984fa(0x1de)](_0x24178e=>{const _0x18cc60=_0x4984fa;if(_0x24178e['id']===_0x4fc212['SheetPrintOpenOperation']['id']){const _0x211c41=this['getActiveUniverSheet']();if(!_0x211c41)return;const _0x3ba063={'workbook':_0x211c41,'worksheet':_0x211c41[_0x18cc60(0x1ef)]()};if(_0x3ba063==null)return;this['fireEvent'](this['Event'][_0x18cc60(0x1e6)],_0x3ba063);}})),this[_0x4984fa(0x1fd)](this[_0x4984fa(0x1e5)][_0x4984fa(0x216)],()=>_0x59fc49['onCommandExecuted'](_0x23e058=>{const _0x3005b9=_0x4984fa;if(_0x23e058['id']===_0x4fc212[_0x3005b9(0x21e)]['id']){const _0x529202=_0x387b69[_0x3005b9(0x1ee)](_0x4fc212[_0x3005b9(0x1df)]);if(!this[_0x3005b9(0x1f1)]())return;const _0x133091={'layoutConfig':_0x529202[_0x3005b9(0x21a)],'renderConfig':_0x529202[_0x3005b9(0x220)]};if(_0x133091==null)return;this[_0x3005b9(0x21c)](this['Event']['SheetPrintConfirmed'],_0x133091);}})),this[_0x4984fa(0x1fd)](this[_0x4984fa(0x1e5)][_0x4984fa(0x207)],()=>_0x59fc49[_0x4984fa(0x1de)](_0x5d9ef4=>{const _0x3cde64=_0x4984fa;if(_0x5d9ef4['id']===_0x4fc212[_0x3cde64(0x21f)]['id']){const _0xfb3c7a=_0x387b69[_0x3cde64(0x1ee)](_0x4fc212[_0x3cde64(0x1df)]);if(!this[_0x3cde64(0x1f1)]())return;const _0x427b8f={'layoutConfig':_0xfb3c7a[_0x3cde64(0x21a)],'renderConfig':_0xfb3c7a['renderConfig']};if(_0x427b8f==null)return;this[_0x3cde64(0x21c)](this['Event'][_0x3cde64(0x207)],_0x427b8f);}}));}}_0x51d630[_0x4f0808(0x1e8)][_0x4f0808(0x206)](_0x4da0bf);}));
|