igniteui-webcomponents-excel 1.4.2 → 3.2.2
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/bundles/igniteui-webcomponents-excel.umd.js +3531 -3356
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AlignmentInfo.js +2 -2
- package/esm2015/lib/DataValidationImeMode.js +61 -0
- package/esm2015/lib/DefaultStyleHelper_combined.js +672 -616
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm2015/lib/ProtectionInfo.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +458 -457
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm2015/lib/XlsxUtilities_combined.js +105 -73
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AlignmentInfo.js +2 -2
- package/esm5/lib/DataValidationImeMode.js +61 -0
- package/esm5/lib/DefaultStyleHelper_combined.js +2878 -2800
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm5/lib/ProtectionInfo.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +467 -466
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm5/lib/XlsxUtilities_combined.js +105 -73
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-excel.js +1317 -1166
- package/fesm5/igniteui-webcomponents-excel.js +3530 -3357
- package/lib/DataValidationImeMode.d.ts +54 -0
- package/lib/DefaultStyleHelper_combined.d.ts +243 -228
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +7 -7
- package/lib/XlsxUtilities_combined.d.ts +68 -64
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
|
@@ -13261,8 +13261,9 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13261
13261
|
break;
|
|
13262
13262
|
default: return;
|
|
13263
13263
|
}
|
|
13264
|
-
o.
|
|
13264
|
+
o._r = i;
|
|
13265
13265
|
o.errorStyle = g;
|
|
13266
|
+
o.imeMode = k;
|
|
13266
13267
|
o.showInputMessage = l;
|
|
13267
13268
|
o.showErrorMessageForInvalidValue = m;
|
|
13268
13269
|
var q = ((function () { var r = a._av.readFormattedStringFromBuffer(1, c, d); c = r.p1; d = r.p2; return r.ret; })())._y;
|
|
@@ -13283,8 +13284,8 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13283
13284
|
o.errorMessageDescription = w;
|
|
13284
13285
|
var y = ((function () { var z = a._av._readUInt16FromBuffer(c, d); c = z.p0; d = z.p1; return z.ret; })());
|
|
13285
13286
|
d += 2;
|
|
13286
|
-
var z = ((function () { var aa = a._au(o.
|
|
13287
|
-
o.
|
|
13287
|
+
var z = ((function () { var aa = a._au(o._k, y, c, d); c = aa.p2; d = aa.p3; return aa.ret; })());
|
|
13288
|
+
o._at(z, null);
|
|
13288
13289
|
if (h && z != null && z._e.length == 1) {
|
|
13289
13290
|
var aa = typeCast(StrToken.$, z._e[0]);
|
|
13290
13291
|
if (aa != null) {
|
|
@@ -13293,8 +13294,8 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13293
13294
|
}
|
|
13294
13295
|
var ab = ((function () { var ac = a._av._readUInt16FromBuffer(c, d); c = ac.p0; d = ac.p1; return ac.ret; })());
|
|
13295
13296
|
d += 2;
|
|
13296
|
-
var ac = ((function () { var ad = a._au(o.
|
|
13297
|
-
o.
|
|
13297
|
+
var ac = ((function () { var ad = a._au(o._k, ab, c, d); c = ad.p2; d = ad.p3; return ad.ret; })());
|
|
13298
|
+
o._au(ac, null);
|
|
13298
13299
|
var ad = ((function () { var ae = a._av._ao(c, d); c = ae.p0; d = ae.p1; return ae.ret; })());
|
|
13299
13300
|
var ae = new WorksheetReferenceCollection(b);
|
|
13300
13301
|
try {
|
|
@@ -13330,17 +13331,18 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13330
13331
|
return;
|
|
13331
13332
|
}
|
|
13332
13333
|
var d = typeCast(ListDataValidationRule.$, b);
|
|
13333
|
-
var e = b.
|
|
13334
|
+
var e = b._n(null);
|
|
13334
13335
|
var f = 0;
|
|
13335
|
-
f = u32BitwiseOr(f, b.
|
|
13336
|
+
f = u32BitwiseOr(f, b._m);
|
|
13336
13337
|
f = u32BitwiseOr(f, u32LS(b.errorStyle, 4));
|
|
13338
|
+
f = u32BitwiseOr(f, u32LS(b.imeMode, 10));
|
|
13337
13339
|
if (d != null && e != null && e._e.length == 1 && typeCast(StrToken.$, e._e[0]) !== null) {
|
|
13338
13340
|
e = e._g();
|
|
13339
13341
|
var g = e._e[0];
|
|
13340
13342
|
e._e[0] = new StrToken(1, stringReplace(g.p, ",", "\0"));
|
|
13341
13343
|
f = u32BitwiseOr(f, 128);
|
|
13342
13344
|
}
|
|
13343
|
-
if (b.
|
|
13345
|
+
if (b._r) {
|
|
13344
13346
|
f = u32BitwiseOr(f, 256);
|
|
13345
13347
|
}
|
|
13346
13348
|
if (d != null && d.showDropdown == false) {
|
|
@@ -13352,7 +13354,7 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13352
13354
|
if (b.showErrorMessageForInvalidValue) {
|
|
13353
13355
|
f = u32BitwiseOr(f, 524288);
|
|
13354
13356
|
}
|
|
13355
|
-
f = u32BitwiseOr(f, u32LS(b.
|
|
13357
|
+
f = u32BitwiseOr(f, u32LS(b._l, 20));
|
|
13356
13358
|
a._ck._write18(f);
|
|
13357
13359
|
var h = b.inputMessageTitle;
|
|
13358
13360
|
var i = DVRecord.p(h);
|
|
@@ -13385,7 +13387,7 @@ var DVRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13385
13387
|
var s = a._ck.position;
|
|
13386
13388
|
a._ck._write17(0);
|
|
13387
13389
|
a._ck._write17(0);
|
|
13388
|
-
var t = b.
|
|
13390
|
+
var t = b._o(null);
|
|
13389
13391
|
if (t != null) {
|
|
13390
13392
|
var u = a._c4(t, false, false, false);
|
|
13391
13393
|
var v = a._ck.position;
|
|
@@ -14118,7 +14120,7 @@ var FILEPASSRecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14118
14120
|
FILEPASSRecord.prototype.h = function (a) {
|
|
14119
14121
|
FILEPASSRecord.q(a);
|
|
14120
14122
|
if (a._aj == null) {
|
|
14121
|
-
a._b.
|
|
14123
|
+
a._b._i7();
|
|
14122
14124
|
}
|
|
14123
14125
|
};
|
|
14124
14126
|
FILEPASSRecord.prototype.i = function (a) {
|
|
@@ -18388,7 +18390,7 @@ var TEMPLATERecord = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
18388
18390
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
18389
18391
|
}
|
|
18390
18392
|
TEMPLATERecord.prototype.h = function (a) {
|
|
18391
|
-
a._b.
|
|
18393
|
+
a._b._i3(1);
|
|
18392
18394
|
};
|
|
18393
18395
|
TEMPLATERecord.prototype.i = function (a) {
|
|
18394
18396
|
};
|
|
@@ -49,7 +49,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
49
49
|
function XlsxUtilities() {
|
|
50
50
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
51
51
|
}
|
|
52
|
-
XlsxUtilities.
|
|
52
|
+
XlsxUtilities.ag = function (a) {
|
|
53
53
|
var b = a._getBoundsInTwips();
|
|
54
54
|
return ((function () {
|
|
55
55
|
var $ret = new CT_GroupTransform2D();
|
|
@@ -83,7 +83,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
83
83
|
return $ret;
|
|
84
84
|
})());
|
|
85
85
|
};
|
|
86
|
-
XlsxUtilities.
|
|
86
|
+
XlsxUtilities.ah = function (a) {
|
|
87
87
|
var b = a._getBoundsInTwips();
|
|
88
88
|
return ((function () {
|
|
89
89
|
var $ret = new CT_Transform2D();
|
|
@@ -105,13 +105,13 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
105
105
|
return $ret;
|
|
106
106
|
})());
|
|
107
107
|
};
|
|
108
|
-
XlsxUtilities.
|
|
108
|
+
XlsxUtilities.v = function (a) {
|
|
109
109
|
var b = typeCast(ImageHolder.$, a.e);
|
|
110
110
|
if (b == null) {
|
|
111
111
|
{
|
|
112
112
|
var c = new MemoryStream(2, a.b);
|
|
113
113
|
try {
|
|
114
|
-
b = XlsxUtilities.
|
|
114
|
+
b = XlsxUtilities.w(c, a.d);
|
|
115
115
|
}
|
|
116
116
|
finally {
|
|
117
117
|
if (c != null) {
|
|
@@ -123,7 +123,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
123
123
|
}
|
|
124
124
|
return b;
|
|
125
125
|
};
|
|
126
|
-
XlsxUtilities.
|
|
126
|
+
XlsxUtilities.w = function (a, b) {
|
|
127
127
|
var c = new ExcelImage(1, b, a);
|
|
128
128
|
return new ImageHolder(c, b);
|
|
129
129
|
};
|
|
@@ -135,7 +135,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
135
135
|
default: return 1;
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
|
-
XlsxUtilities.
|
|
138
|
+
XlsxUtilities.g = function (a) {
|
|
139
139
|
switch (a) {
|
|
140
140
|
case 0: return 0;
|
|
141
141
|
case 1: return 1;
|
|
@@ -188,7 +188,23 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
188
188
|
default: return 2;
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
|
-
XlsxUtilities.
|
|
191
|
+
XlsxUtilities.e = function (a) {
|
|
192
|
+
switch (a) {
|
|
193
|
+
case 0: return 0;
|
|
194
|
+
case 1: return 2;
|
|
195
|
+
case 2: return 1;
|
|
196
|
+
case 3: return 3;
|
|
197
|
+
case 4: return 4;
|
|
198
|
+
case 5: return 5;
|
|
199
|
+
case 6: return 6;
|
|
200
|
+
case 7: return 7;
|
|
201
|
+
case 8: return 8;
|
|
202
|
+
case 9: return 9;
|
|
203
|
+
case 10: return 10;
|
|
204
|
+
default: return 0;
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
XlsxUtilities.t = function (a) {
|
|
192
208
|
switch (a) {
|
|
193
209
|
case 0: return 0;
|
|
194
210
|
case 2: return 2;
|
|
@@ -201,7 +217,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
201
217
|
default: return 2;
|
|
202
218
|
}
|
|
203
219
|
};
|
|
204
|
-
XlsxUtilities.
|
|
220
|
+
XlsxUtilities.u = function (a) {
|
|
205
221
|
switch (a) {
|
|
206
222
|
case 0: return 0;
|
|
207
223
|
case 4: return 4;
|
|
@@ -214,20 +230,20 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
214
230
|
default: return 0;
|
|
215
231
|
}
|
|
216
232
|
};
|
|
217
|
-
XlsxUtilities.
|
|
233
|
+
XlsxUtilities.a9 = function (a) {
|
|
218
234
|
return wrapNullable(Boolean_$type, (a));
|
|
219
235
|
};
|
|
220
|
-
XlsxUtilities.
|
|
236
|
+
XlsxUtilities.a8 = function (a) {
|
|
221
237
|
var b = toNullable(Boolean_$type, a);
|
|
222
238
|
return wrapNullable(Boolean_$type, (b));
|
|
223
239
|
};
|
|
224
|
-
XlsxUtilities.
|
|
240
|
+
XlsxUtilities.ba = function (a) {
|
|
225
241
|
if (nullableEquals(a, null)) {
|
|
226
242
|
return toNullable(FillPatternStyle_$type, null);
|
|
227
243
|
}
|
|
228
|
-
return toNullable(FillPatternStyle_$type, XlsxUtilities.
|
|
244
|
+
return toNullable(FillPatternStyle_$type, XlsxUtilities.f(a.value));
|
|
229
245
|
};
|
|
230
|
-
XlsxUtilities.
|
|
246
|
+
XlsxUtilities.f = function (a) {
|
|
231
247
|
switch (a) {
|
|
232
248
|
case 0: return 0;
|
|
233
249
|
case 1: return 1;
|
|
@@ -251,7 +267,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
251
267
|
default: return 0;
|
|
252
268
|
}
|
|
253
269
|
};
|
|
254
|
-
XlsxUtilities.
|
|
270
|
+
XlsxUtilities.h = function (a) {
|
|
255
271
|
switch (a) {
|
|
256
272
|
case 0: return 0;
|
|
257
273
|
case 1: return 1;
|
|
@@ -259,7 +275,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
259
275
|
default: return 0;
|
|
260
276
|
}
|
|
261
277
|
};
|
|
262
|
-
XlsxUtilities.
|
|
278
|
+
XlsxUtilities.j = function (a) {
|
|
263
279
|
switch (a) {
|
|
264
280
|
case 4: return 0;
|
|
265
281
|
case 0: return 1;
|
|
@@ -269,7 +285,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
269
285
|
default: return 0;
|
|
270
286
|
}
|
|
271
287
|
};
|
|
272
|
-
XlsxUtilities.
|
|
288
|
+
XlsxUtilities.i = function (a) {
|
|
273
289
|
switch (a) {
|
|
274
290
|
case 0: return 0;
|
|
275
291
|
case 2: return 1;
|
|
@@ -277,13 +293,13 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
277
293
|
default: return 1;
|
|
278
294
|
}
|
|
279
295
|
};
|
|
280
|
-
XlsxUtilities.
|
|
296
|
+
XlsxUtilities.l = function (a) {
|
|
281
297
|
if (nullableEquals(a, null)) {
|
|
282
298
|
return -1;
|
|
283
299
|
}
|
|
284
|
-
return XlsxUtilities.
|
|
300
|
+
return XlsxUtilities.k(a.value);
|
|
285
301
|
};
|
|
286
|
-
XlsxUtilities.
|
|
302
|
+
XlsxUtilities.k = function (a) {
|
|
287
303
|
switch (a) {
|
|
288
304
|
case 0: return 0;
|
|
289
305
|
case 1: return 1;
|
|
@@ -296,7 +312,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
296
312
|
default: return 0;
|
|
297
313
|
}
|
|
298
314
|
};
|
|
299
|
-
XlsxUtilities.
|
|
315
|
+
XlsxUtilities.m = function (a) {
|
|
300
316
|
switch (a) {
|
|
301
317
|
case 1: return 0;
|
|
302
318
|
case 3: return 2;
|
|
@@ -308,7 +324,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
308
324
|
default: return 4;
|
|
309
325
|
}
|
|
310
326
|
};
|
|
311
|
-
XlsxUtilities.
|
|
327
|
+
XlsxUtilities.q = function (a) {
|
|
312
328
|
switch (a) {
|
|
313
329
|
case 3: return 3;
|
|
314
330
|
case 1: return 1;
|
|
@@ -317,7 +333,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
317
333
|
default: return 3;
|
|
318
334
|
}
|
|
319
335
|
};
|
|
320
|
-
XlsxUtilities.
|
|
336
|
+
XlsxUtilities.n = function (a) {
|
|
321
337
|
switch (a) {
|
|
322
338
|
case 2: return 2;
|
|
323
339
|
case 0: return 0;
|
|
@@ -325,7 +341,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
325
341
|
default: return 0;
|
|
326
342
|
}
|
|
327
343
|
};
|
|
328
|
-
XlsxUtilities.
|
|
344
|
+
XlsxUtilities.o = function (a) {
|
|
329
345
|
switch (a) {
|
|
330
346
|
case 0: return 2;
|
|
331
347
|
case 2: return 0;
|
|
@@ -333,14 +349,14 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
333
349
|
default: return 2;
|
|
334
350
|
}
|
|
335
351
|
};
|
|
336
|
-
XlsxUtilities.
|
|
352
|
+
XlsxUtilities.p = function (a) {
|
|
337
353
|
switch (a) {
|
|
338
354
|
case 0: return 0;
|
|
339
355
|
case 1: return 1;
|
|
340
356
|
default: return 1;
|
|
341
357
|
}
|
|
342
358
|
};
|
|
343
|
-
XlsxUtilities.
|
|
359
|
+
XlsxUtilities.r = function (a) {
|
|
344
360
|
switch (a) {
|
|
345
361
|
case 1: return 1;
|
|
346
362
|
case 2: return 2;
|
|
@@ -349,7 +365,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
349
365
|
default: return 0;
|
|
350
366
|
}
|
|
351
367
|
};
|
|
352
|
-
XlsxUtilities.
|
|
368
|
+
XlsxUtilities.s = function (a) {
|
|
353
369
|
switch (a) {
|
|
354
370
|
case 0: return 0;
|
|
355
371
|
case 1: return 1;
|
|
@@ -357,7 +373,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
357
373
|
default: return 0;
|
|
358
374
|
}
|
|
359
375
|
};
|
|
360
|
-
XlsxUtilities.
|
|
376
|
+
XlsxUtilities.x = function (a) {
|
|
361
377
|
switch (a) {
|
|
362
378
|
case 2: return 3;
|
|
363
379
|
case 0: return 0;
|
|
@@ -365,7 +381,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
365
381
|
default: return 3;
|
|
366
382
|
}
|
|
367
383
|
};
|
|
368
|
-
XlsxUtilities.
|
|
384
|
+
XlsxUtilities.an = function (a) {
|
|
369
385
|
switch (a) {
|
|
370
386
|
case 9: return 9;
|
|
371
387
|
case 11: return 11;
|
|
@@ -385,7 +401,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
385
401
|
default: return 0;
|
|
386
402
|
}
|
|
387
403
|
};
|
|
388
|
-
XlsxUtilities.
|
|
404
|
+
XlsxUtilities.ar = function (a) {
|
|
389
405
|
switch (a) {
|
|
390
406
|
case 2: return 2;
|
|
391
407
|
case 0: return 0;
|
|
@@ -393,7 +409,23 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
393
409
|
default: return 2;
|
|
394
410
|
}
|
|
395
411
|
};
|
|
396
|
-
XlsxUtilities.
|
|
412
|
+
XlsxUtilities.as = function (a) {
|
|
413
|
+
switch (a) {
|
|
414
|
+
case 0: return 0;
|
|
415
|
+
case 2: return 1;
|
|
416
|
+
case 1: return 2;
|
|
417
|
+
case 3: return 3;
|
|
418
|
+
case 4: return 4;
|
|
419
|
+
case 5: return 5;
|
|
420
|
+
case 6: return 6;
|
|
421
|
+
case 7: return 7;
|
|
422
|
+
case 8: return 8;
|
|
423
|
+
case 9: return 9;
|
|
424
|
+
case 10: return 10;
|
|
425
|
+
default: return 0;
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
XlsxUtilities.at = function (a) {
|
|
397
429
|
switch (a) {
|
|
398
430
|
case 0: return 0;
|
|
399
431
|
case 2: return 2;
|
|
@@ -406,7 +438,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
406
438
|
default: return 2;
|
|
407
439
|
}
|
|
408
440
|
};
|
|
409
|
-
XlsxUtilities.
|
|
441
|
+
XlsxUtilities.au = function (a) {
|
|
410
442
|
switch (a) {
|
|
411
443
|
case 0: return 0;
|
|
412
444
|
case 4: return 4;
|
|
@@ -419,7 +451,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
419
451
|
default: return 0;
|
|
420
452
|
}
|
|
421
453
|
};
|
|
422
|
-
XlsxUtilities.
|
|
454
|
+
XlsxUtilities.ao = function (a) {
|
|
423
455
|
switch (a) {
|
|
424
456
|
case 1: return 1;
|
|
425
457
|
case 2: return 2;
|
|
@@ -427,7 +459,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
427
459
|
default: return 1;
|
|
428
460
|
}
|
|
429
461
|
};
|
|
430
|
-
XlsxUtilities.
|
|
462
|
+
XlsxUtilities.ap = function (a) {
|
|
431
463
|
switch (a) {
|
|
432
464
|
case 0: return 0;
|
|
433
465
|
case 1: return 1;
|
|
@@ -446,7 +478,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
446
478
|
default: return 10;
|
|
447
479
|
}
|
|
448
480
|
};
|
|
449
|
-
XlsxUtilities.
|
|
481
|
+
XlsxUtilities.aq = function (a) {
|
|
450
482
|
switch (a) {
|
|
451
483
|
case 0: return 0;
|
|
452
484
|
case 1: return 1;
|
|
@@ -454,7 +486,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
454
486
|
default: return 0;
|
|
455
487
|
}
|
|
456
488
|
};
|
|
457
|
-
XlsxUtilities.
|
|
489
|
+
XlsxUtilities.av = function (a) {
|
|
458
490
|
switch (a) {
|
|
459
491
|
case 3: return 2;
|
|
460
492
|
case 0: return 0;
|
|
@@ -462,7 +494,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
462
494
|
default: return 2;
|
|
463
495
|
}
|
|
464
496
|
};
|
|
465
|
-
XlsxUtilities.
|
|
497
|
+
XlsxUtilities.bb = function (a) {
|
|
466
498
|
switch (a) {
|
|
467
499
|
case -1: return toNullable(ST_HorizontalAlignment_$type, null);
|
|
468
500
|
case 0: return toNullable(ST_HorizontalAlignment_$type, 0);
|
|
@@ -476,7 +508,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
476
508
|
default: return toNullable(ST_HorizontalAlignment_$type, 0);
|
|
477
509
|
}
|
|
478
510
|
};
|
|
479
|
-
XlsxUtilities.
|
|
511
|
+
XlsxUtilities.aw = function (a) {
|
|
480
512
|
switch (a) {
|
|
481
513
|
case 2: return 2;
|
|
482
514
|
case 0: return 0;
|
|
@@ -484,7 +516,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
484
516
|
default: return 0;
|
|
485
517
|
}
|
|
486
518
|
};
|
|
487
|
-
XlsxUtilities.
|
|
519
|
+
XlsxUtilities.ax = function (a) {
|
|
488
520
|
switch (a) {
|
|
489
521
|
case 2: return 0;
|
|
490
522
|
case 0: return 2;
|
|
@@ -492,14 +524,14 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
492
524
|
default: return 0;
|
|
493
525
|
}
|
|
494
526
|
};
|
|
495
|
-
XlsxUtilities.
|
|
527
|
+
XlsxUtilities.ay = function (a) {
|
|
496
528
|
switch (a) {
|
|
497
529
|
case 0: return 0;
|
|
498
530
|
case 1: return 1;
|
|
499
531
|
default: return 1;
|
|
500
532
|
}
|
|
501
533
|
};
|
|
502
|
-
XlsxUtilities.
|
|
534
|
+
XlsxUtilities.az = function (a) {
|
|
503
535
|
switch (a) {
|
|
504
536
|
case 3: return 3;
|
|
505
537
|
case 1: return 1;
|
|
@@ -508,13 +540,13 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
508
540
|
default: return 3;
|
|
509
541
|
}
|
|
510
542
|
};
|
|
511
|
-
XlsxUtilities.
|
|
543
|
+
XlsxUtilities.bc = function (a) {
|
|
512
544
|
if (nullableEquals(a, null)) {
|
|
513
545
|
return toNullable(ST_PatternType_$type, null);
|
|
514
546
|
}
|
|
515
|
-
return toNullable(ST_PatternType_$type, XlsxUtilities.
|
|
547
|
+
return toNullable(ST_PatternType_$type, XlsxUtilities.a0(a.value));
|
|
516
548
|
};
|
|
517
|
-
XlsxUtilities.
|
|
549
|
+
XlsxUtilities.a0 = function (a) {
|
|
518
550
|
switch (a) {
|
|
519
551
|
case 0: return 0;
|
|
520
552
|
case 1: return 1;
|
|
@@ -538,7 +570,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
538
570
|
default: return 0;
|
|
539
571
|
}
|
|
540
572
|
};
|
|
541
|
-
XlsxUtilities.
|
|
573
|
+
XlsxUtilities.a1 = function (a) {
|
|
542
574
|
switch (a) {
|
|
543
575
|
case 1: return 1;
|
|
544
576
|
case 2: return 2;
|
|
@@ -547,14 +579,14 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
547
579
|
default: return 0;
|
|
548
580
|
}
|
|
549
581
|
};
|
|
550
|
-
XlsxUtilities.
|
|
582
|
+
XlsxUtilities.a2 = function (a) {
|
|
551
583
|
switch (a) {
|
|
552
584
|
case 1: return 0;
|
|
553
585
|
case 0: return 1;
|
|
554
586
|
default: return 0;
|
|
555
587
|
}
|
|
556
588
|
};
|
|
557
|
-
XlsxUtilities.
|
|
589
|
+
XlsxUtilities.ai = function (a) {
|
|
558
590
|
switch (a) {
|
|
559
591
|
case 4: return 4;
|
|
560
592
|
case 5: return 5;
|
|
@@ -571,7 +603,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
571
603
|
default: return 4;
|
|
572
604
|
}
|
|
573
605
|
};
|
|
574
|
-
XlsxUtilities.
|
|
606
|
+
XlsxUtilities.a3 = function (a) {
|
|
575
607
|
switch (a) {
|
|
576
608
|
case 1: return 1;
|
|
577
609
|
case 2: return 2;
|
|
@@ -579,7 +611,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
579
611
|
default: return 0;
|
|
580
612
|
}
|
|
581
613
|
};
|
|
582
|
-
XlsxUtilities.
|
|
614
|
+
XlsxUtilities.a4 = function (a) {
|
|
583
615
|
switch (a) {
|
|
584
616
|
case 0: return 0;
|
|
585
617
|
case 2: return 1;
|
|
@@ -587,7 +619,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
587
619
|
default: return 0;
|
|
588
620
|
}
|
|
589
621
|
};
|
|
590
|
-
XlsxUtilities.
|
|
622
|
+
XlsxUtilities.a5 = function (a) {
|
|
591
623
|
switch (a) {
|
|
592
624
|
case 0: return 0;
|
|
593
625
|
case 1: return 1;
|
|
@@ -595,7 +627,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
595
627
|
default: return 0;
|
|
596
628
|
}
|
|
597
629
|
};
|
|
598
|
-
XlsxUtilities.
|
|
630
|
+
XlsxUtilities.bd = function (a) {
|
|
599
631
|
if (ExcelUtils.al(a) == false) {
|
|
600
632
|
return toNullable(ST_SystemColorVal_$type, null);
|
|
601
633
|
}
|
|
@@ -682,10 +714,10 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
682
714
|
}
|
|
683
715
|
return toNullable(ST_SystemColorVal_$type, null);
|
|
684
716
|
};
|
|
685
|
-
XlsxUtilities.
|
|
717
|
+
XlsxUtilities.a6 = function (a) {
|
|
686
718
|
return a;
|
|
687
719
|
};
|
|
688
|
-
XlsxUtilities.
|
|
720
|
+
XlsxUtilities.aj = function (a) {
|
|
689
721
|
switch (a) {
|
|
690
722
|
case 0: return 1;
|
|
691
723
|
case 2: return 3;
|
|
@@ -697,7 +729,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
697
729
|
default: return 0;
|
|
698
730
|
}
|
|
699
731
|
};
|
|
700
|
-
XlsxUtilities.
|
|
732
|
+
XlsxUtilities.ak = function (a) {
|
|
701
733
|
switch (a) {
|
|
702
734
|
case 0: return 2;
|
|
703
735
|
case 1: return 1;
|
|
@@ -705,7 +737,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
705
737
|
default: return 2;
|
|
706
738
|
}
|
|
707
739
|
};
|
|
708
|
-
XlsxUtilities.
|
|
740
|
+
XlsxUtilities.al = function (a) {
|
|
709
741
|
switch (a) {
|
|
710
742
|
case -1:
|
|
711
743
|
case 0: return 0;
|
|
@@ -716,7 +748,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
716
748
|
default: return 0;
|
|
717
749
|
}
|
|
718
750
|
};
|
|
719
|
-
XlsxUtilities.
|
|
751
|
+
XlsxUtilities.a7 = function (a) {
|
|
720
752
|
switch (a) {
|
|
721
753
|
case -1:
|
|
722
754
|
case 0: return 4;
|
|
@@ -727,7 +759,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
727
759
|
default: return 4;
|
|
728
760
|
}
|
|
729
761
|
};
|
|
730
|
-
XlsxUtilities.
|
|
762
|
+
XlsxUtilities.be = function (a) {
|
|
731
763
|
switch (a) {
|
|
732
764
|
case -1: return toNullable(ST_VerticalAlignment_$type, null);
|
|
733
765
|
case 0: return toNullable(ST_VerticalAlignment_$type, 0);
|
|
@@ -738,7 +770,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
738
770
|
default: return toNullable(ST_VerticalAlignment_$type, 2);
|
|
739
771
|
}
|
|
740
772
|
};
|
|
741
|
-
XlsxUtilities.
|
|
773
|
+
XlsxUtilities.am = function (a) {
|
|
742
774
|
switch (a) {
|
|
743
775
|
case -1:
|
|
744
776
|
case 0: return 0;
|
|
@@ -747,7 +779,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
747
779
|
default: return 0;
|
|
748
780
|
}
|
|
749
781
|
};
|
|
750
|
-
XlsxUtilities.
|
|
782
|
+
XlsxUtilities.bh = function (a) {
|
|
751
783
|
switch (a) {
|
|
752
784
|
case 0: return SystemColorsInternal.d;
|
|
753
785
|
case 1: return SystemColorsInternal.f;
|
|
@@ -780,13 +812,13 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
780
812
|
}
|
|
781
813
|
return ColorsInternal.c;
|
|
782
814
|
};
|
|
783
|
-
XlsxUtilities.
|
|
815
|
+
XlsxUtilities.z = function (a) {
|
|
784
816
|
if (nullableEquals(a, null)) {
|
|
785
817
|
return -1;
|
|
786
818
|
}
|
|
787
|
-
return XlsxUtilities.
|
|
819
|
+
return XlsxUtilities.y(a.value);
|
|
788
820
|
};
|
|
789
|
-
XlsxUtilities.
|
|
821
|
+
XlsxUtilities.y = function (a) {
|
|
790
822
|
switch (a) {
|
|
791
823
|
case 0: return 0;
|
|
792
824
|
case 1: return 1;
|
|
@@ -796,7 +828,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
796
828
|
default: return 2;
|
|
797
829
|
}
|
|
798
830
|
};
|
|
799
|
-
XlsxUtilities.
|
|
831
|
+
XlsxUtilities.aa = function (a) {
|
|
800
832
|
switch (a) {
|
|
801
833
|
case 2: return 0;
|
|
802
834
|
case 1: return 1;
|
|
@@ -806,13 +838,13 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
806
838
|
default: return 0;
|
|
807
839
|
}
|
|
808
840
|
};
|
|
809
|
-
XlsxUtilities.
|
|
841
|
+
XlsxUtilities.ab = function (a, b) {
|
|
810
842
|
return a._accept$2$i(Workbook.$, WorkbookColorInfo.$, XlsxUtilities_WorkbookColorInfoCreator.a, b);
|
|
811
843
|
};
|
|
812
|
-
XlsxUtilities.
|
|
844
|
+
XlsxUtilities.ac = function (a, b) {
|
|
813
845
|
return a._accept$2$i(Workbook.$, WorkbookColorInfo.$, XlsxUtilities_WorkbookColorInfoCreator.a, b);
|
|
814
846
|
};
|
|
815
|
-
XlsxUtilities.
|
|
847
|
+
XlsxUtilities.ad = function (a) {
|
|
816
848
|
switch (a) {
|
|
817
849
|
case 4: return 4;
|
|
818
850
|
case 5: return 5;
|
|
@@ -833,7 +865,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
833
865
|
default: return 4;
|
|
834
866
|
}
|
|
835
867
|
};
|
|
836
|
-
XlsxUtilities.
|
|
868
|
+
XlsxUtilities.bf = function (a, b) {
|
|
837
869
|
var c = new WorksheetCellAddress(1, a.d, a.c);
|
|
838
870
|
var d = b._gd(a.c, true);
|
|
839
871
|
var e = b._gh(a.d, true, true);
|
|
@@ -842,7 +874,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
842
874
|
var h = { $type: Point_$type, x: d == 0 ? 0 : ((f * 100) / d), y: e == 0 ? 0 : ((g * 100) / e) };
|
|
843
875
|
return Tuple.a(WorksheetCellAddress.$, Point_$type, c, h);
|
|
844
876
|
};
|
|
845
|
-
XlsxUtilities.
|
|
877
|
+
XlsxUtilities.ae = function (a) {
|
|
846
878
|
switch (a) {
|
|
847
879
|
case 0: return 0;
|
|
848
880
|
case 1: return 2;
|
|
@@ -850,7 +882,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
850
882
|
default: return 0;
|
|
851
883
|
}
|
|
852
884
|
};
|
|
853
|
-
XlsxUtilities.
|
|
885
|
+
XlsxUtilities.af = function (a) {
|
|
854
886
|
switch (a) {
|
|
855
887
|
case 1: return 1;
|
|
856
888
|
case 2: return 2;
|
|
@@ -858,7 +890,7 @@ var XlsxUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
858
890
|
default: return 0;
|
|
859
891
|
}
|
|
860
892
|
};
|
|
861
|
-
XlsxUtilities.
|
|
893
|
+
XlsxUtilities.bg = function (a) {
|
|
862
894
|
var b = EnumUtil.getName(ST_PresetColorVal_$type, a);
|
|
863
895
|
if (stringStartsWith(b, "dk")) {
|
|
864
896
|
b = "dark" + b.substr(2);
|
|
@@ -887,7 +919,7 @@ var XlsxUtilities_WorkbookColorInfoCreator = /** @class */ /*@__PURE__*/ (functi
|
|
|
887
919
|
return _super.call(this) || this;
|
|
888
920
|
}
|
|
889
921
|
XlsxUtilities_WorkbookColorInfoCreator.prototype._visitCT_SchemeColor$i = function (a, b) {
|
|
890
|
-
var c = new WorkbookColorInfo(XlsxUtilities.
|
|
922
|
+
var c = new WorkbookColorInfo(XlsxUtilities.ad(a.c));
|
|
891
923
|
var d = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, c);
|
|
892
924
|
c = d.p2;
|
|
893
925
|
return c;
|
|
@@ -902,13 +934,13 @@ var XlsxUtilities_WorkbookColorInfoCreator = /** @class */ /*@__PURE__*/ (functi
|
|
|
902
934
|
if (a.d == 27 && a.b.count == 0) {
|
|
903
935
|
return WorkbookColorInfo.automatic;
|
|
904
936
|
}
|
|
905
|
-
var c = new WorkbookColorInfo(XlsxUtilities.
|
|
937
|
+
var c = new WorkbookColorInfo(XlsxUtilities.bh(a.d));
|
|
906
938
|
var d = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, c);
|
|
907
939
|
c = d.p2;
|
|
908
940
|
return c;
|
|
909
941
|
};
|
|
910
942
|
XlsxUtilities_WorkbookColorInfoCreator.prototype._visitCT_PresetColor$i = function (a, b) {
|
|
911
|
-
var c = XlsxUtilities.
|
|
943
|
+
var c = XlsxUtilities.bg(a.c);
|
|
912
944
|
var d = new WorkbookColorInfo(c);
|
|
913
945
|
var e = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, d);
|
|
914
946
|
d = e.p2;
|
|
@@ -924,7 +956,7 @@ var XlsxUtilities_WorkbookColorInfoCreator = /** @class */ /*@__PURE__*/ (functi
|
|
|
924
956
|
return null;
|
|
925
957
|
};
|
|
926
958
|
XlsxUtilities_WorkbookColorInfoCreator.prototype._visitCT_SolidFillProperties$i = function (a, b) {
|
|
927
|
-
return XlsxUtilities.
|
|
959
|
+
return XlsxUtilities.ab(a.a, b);
|
|
928
960
|
};
|
|
929
961
|
XlsxUtilities_WorkbookColorInfoCreator.b = function (a, b, c) {
|
|
930
962
|
var e_1, _a;
|