@univerjs/sheets 0.9.4 → 0.10.0
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/index.js +1 -1
- package/lib/es/index.js +3 -3
- package/lib/index.js +3 -3
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -6134,14 +6134,14 @@ function Rs(n, e) {
|
|
|
6134
6134
|
return `${n}_${e}`;
|
|
6135
6135
|
}
|
|
6136
6136
|
function Pl() {
|
|
6137
|
-
const n = ["startRow", "startColumn", "endRow", "endColumn", "rangeType"]
|
|
6137
|
+
const n = ["startRow", "startColumn", "endRow", "endColumn", "rangeType"];
|
|
6138
6138
|
return {
|
|
6139
6139
|
deserialize: (t) => {
|
|
6140
6140
|
const o = n.reduce(
|
|
6141
6141
|
(r, i, a) => (r[String(a)] = i, r),
|
|
6142
6142
|
{}
|
|
6143
6143
|
);
|
|
6144
|
-
return t.split(
|
|
6144
|
+
return t.split("_").reduce(
|
|
6145
6145
|
(r, i, a) => {
|
|
6146
6146
|
const u = String(a);
|
|
6147
6147
|
return i && o[u] && (r[o[u]] = i), r;
|
|
@@ -6151,7 +6151,7 @@ function Pl() {
|
|
|
6151
6151
|
},
|
|
6152
6152
|
serialize: (t) => n.reduce((o, s, r) => {
|
|
6153
6153
|
const i = t[s];
|
|
6154
|
-
return i !== void 0 ? `${o}${r > 0 ?
|
|
6154
|
+
return i !== void 0 ? `${o}${r > 0 ? "_" : ""}${i}` : `${o}`;
|
|
6155
6155
|
}, "")
|
|
6156
6156
|
};
|
|
6157
6157
|
}
|
package/lib/index.js
CHANGED
|
@@ -6134,14 +6134,14 @@ function Rs(n, e) {
|
|
|
6134
6134
|
return `${n}_${e}`;
|
|
6135
6135
|
}
|
|
6136
6136
|
function Pl() {
|
|
6137
|
-
const n = ["startRow", "startColumn", "endRow", "endColumn", "rangeType"]
|
|
6137
|
+
const n = ["startRow", "startColumn", "endRow", "endColumn", "rangeType"];
|
|
6138
6138
|
return {
|
|
6139
6139
|
deserialize: (t) => {
|
|
6140
6140
|
const o = n.reduce(
|
|
6141
6141
|
(r, i, a) => (r[String(a)] = i, r),
|
|
6142
6142
|
{}
|
|
6143
6143
|
);
|
|
6144
|
-
return t.split(
|
|
6144
|
+
return t.split("_").reduce(
|
|
6145
6145
|
(r, i, a) => {
|
|
6146
6146
|
const u = String(a);
|
|
6147
6147
|
return i && o[u] && (r[o[u]] = i), r;
|
|
@@ -6151,7 +6151,7 @@ function Pl() {
|
|
|
6151
6151
|
},
|
|
6152
6152
|
serialize: (t) => n.reduce((o, s, r) => {
|
|
6153
6153
|
const i = t[s];
|
|
6154
|
-
return i !== void 0 ? `${o}${r > 0 ?
|
|
6154
|
+
return i !== void 0 ? `${o}${r > 0 ? "_" : ""}${i}` : `${o}`;
|
|
6155
6155
|
}, "")
|
|
6156
6156
|
};
|
|
6157
6157
|
}
|