devextreme-exceljs-fork 4.4.4 → 4.4.6
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/dist/dx-exceljs-fork.bare.js +39 -9
- package/dist/dx-exceljs-fork.bare.js.map +5 -5
- package/dist/dx-exceljs-fork.bare.min.js +5 -5
- package/dist/dx-exceljs-fork.bare.min.js.map +1 -1
- package/dist/dx-exceljs-fork.js +657 -507
- package/dist/dx-exceljs-fork.js.map +18 -12
- package/dist/dx-exceljs-fork.min.js +9 -9
- package/dist/dx-exceljs-fork.min.js.map +1 -1
- package/dist/es5/utils/col-cache.js +23 -4
- package/dist/es5/utils/col-cache.js.map +1 -1
- package/lib/utils/col-cache.js +23 -3
- package/package.json +8 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* DevExtreme-ExcelJS Fork v.4.4.
|
|
2
|
+
* DevExtreme-ExcelJS Fork v.4.4.6
|
|
3
3
|
* https://js.devexpress.com/
|
|
4
4
|
* Copyright (c) 2025, Developer Express Inc.
|
|
5
5
|
* Copyright (c) 2014-2019 Guyon Roche
|
|
6
|
-
* Read about DevExtreme-ExcelJS Fork licensing here: https://cdn.jsdelivr.net/npm/devextreme-exceljs-fork@4.4.
|
|
6
|
+
* Read about DevExtreme-ExcelJS Fork licensing here: https://cdn.jsdelivr.net/npm/devextreme-exceljs-fork@4.4.6/LICENSE
|
|
7
7
|
*/
|
|
8
8
|
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ExcelJS = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
9
9
|
"use strict";
|
|
@@ -4582,10 +4582,29 @@ const colCache = {
|
|
|
4582
4582
|
},
|
|
4583
4583
|
// convert [sheetName!][$]col[$]row[[$]col[$]row] into address or range structures
|
|
4584
4584
|
decodeEx(value) {
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4585
|
+
let sheetName;
|
|
4586
|
+
let reference = value;
|
|
4587
|
+
if (value.startsWith('\'')) {
|
|
4588
|
+
for (let i = 1; i < value.length; i++) {
|
|
4589
|
+
if (value[i] === '\'') {
|
|
4590
|
+
if (i + 1 < value.length && value[i + 1] === '\'') {
|
|
4591
|
+
i++;
|
|
4592
|
+
continue;
|
|
4593
|
+
}
|
|
4594
|
+
if (i + 1 < value.length && value[i + 1] === '!') {
|
|
4595
|
+
sheetName = value.slice(1, i).replace(/''/g, '\'');
|
|
4596
|
+
reference = value.slice(i + 2);
|
|
4597
|
+
}
|
|
4598
|
+
break;
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
} else {
|
|
4602
|
+
const bang = value.indexOf('!');
|
|
4603
|
+
if (bang > 0) {
|
|
4604
|
+
sheetName = value.slice(0, bang);
|
|
4605
|
+
reference = value.slice(bang + 1);
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4589
4608
|
const parts = reference.split(':');
|
|
4590
4609
|
if (parts.length > 1) {
|
|
4591
4610
|
let tl = this.decodeAddress(parts[0]);
|
|
@@ -22026,6 +22045,10 @@ PEMEncoder.prototype.encode = function encode(data, options) {
|
|
|
22026
22045
|
var mask = 0x3ffffff ^ 0x3ffffff >>> r << r;
|
|
22027
22046
|
this.words[this.length - 1] &= mask;
|
|
22028
22047
|
}
|
|
22048
|
+
if (this.length === 0) {
|
|
22049
|
+
this.words[0] = 0;
|
|
22050
|
+
this.length = 1;
|
|
22051
|
+
}
|
|
22029
22052
|
return this.strip();
|
|
22030
22053
|
};
|
|
22031
22054
|
|
|
@@ -25239,6 +25262,10 @@ function fromByteArray(uint8) {
|
|
|
25239
25262
|
var mask = 0x3ffffff ^ 0x3ffffff >>> r << r;
|
|
25240
25263
|
this.words[this.length - 1] &= mask;
|
|
25241
25264
|
}
|
|
25265
|
+
if (this.length === 0) {
|
|
25266
|
+
this.words[0] = 0;
|
|
25267
|
+
this.length = 1;
|
|
25268
|
+
}
|
|
25242
25269
|
return this._strip();
|
|
25243
25270
|
};
|
|
25244
25271
|
|
|
@@ -59950,8 +59977,10 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
59950
59977
|
// @ts-expect-error TS won't narrow inside a closure
|
|
59951
59978
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
59952
59979
|
}
|
|
59953
|
-
|
|
59954
|
-
|
|
59980
|
+
if (descriptor && descriptor.get) {
|
|
59981
|
+
var bound = callBind(descriptor.get);
|
|
59982
|
+
cache[(/** @type {`$${import('.').TypedArrayName}`} */'$' + typedArray)] = bound;
|
|
59983
|
+
}
|
|
59955
59984
|
}
|
|
59956
59985
|
});
|
|
59957
59986
|
} else {
|
|
@@ -59959,9 +59988,10 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
59959
59988
|
var arr = new g[typedArray]();
|
|
59960
59989
|
var fn = arr.slice || arr.set;
|
|
59961
59990
|
if (fn) {
|
|
59962
|
-
|
|
59991
|
+
var bound = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
59963
59992
|
// @ts-expect-error TODO FIXME
|
|
59964
59993
|
callBind(fn);
|
|
59994
|
+
cache[(/** @type {`$${import('.').TypedArrayName}`} */'$' + typedArray)] = bound;
|
|
59965
59995
|
}
|
|
59966
59996
|
});
|
|
59967
59997
|
}
|