@progress/kendo-spreadsheet-common 1.2.9-develop.2 → 1.2.9
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/index-esm.js +13 -3
- package/dist/index.js +13 -3
- package/package.json +1 -1
package/dist/index-esm.js
CHANGED
|
@@ -21875,11 +21875,21 @@ function applyStyle(sheet, ref, styles, styleIndex) {
|
|
|
21875
21875
|
}
|
|
21876
21876
|
|
|
21877
21877
|
range._property(prop, value);
|
|
21878
|
+
return true;
|
|
21879
|
+
}
|
|
21880
|
+
|
|
21881
|
+
if (!set("left", "borderLeft")) {
|
|
21882
|
+
// start/end should mean right/left borders in RtL
|
|
21883
|
+
// context, but we don't support that anyway; assume
|
|
21884
|
+
// LtR for now.
|
|
21885
|
+
set("start", "borderLeft");
|
|
21886
|
+
}
|
|
21887
|
+
|
|
21888
|
+
if (!set("right", "borderRight")) {
|
|
21889
|
+
set("end", "borderRight");
|
|
21878
21890
|
}
|
|
21879
21891
|
|
|
21880
|
-
set("left", "borderLeft");
|
|
21881
21892
|
set("top", "borderTop");
|
|
21882
|
-
set("right", "borderRight");
|
|
21883
21893
|
set("bottom", "borderBottom");
|
|
21884
21894
|
set("diagonal", "dBorders");
|
|
21885
21895
|
}
|
|
@@ -22066,7 +22076,7 @@ async function readStyles(zip, theme) {
|
|
|
22066
22076
|
border = null;
|
|
22067
22077
|
}
|
|
22068
22078
|
} else if (border) {
|
|
22069
|
-
if (/^(?:left|top|right|bottom|diagonal)$/.test(tag)) {
|
|
22079
|
+
if (/^(?:left|start|top|right|end|bottom|diagonal)$/.test(tag)) {
|
|
22070
22080
|
border[tag] = { style: attrs.style || "none" };
|
|
22071
22081
|
if (tag === "diagonal") {
|
|
22072
22082
|
border.diagonal.up = border.diagonalUp;
|
package/dist/index.js
CHANGED
|
@@ -21876,11 +21876,21 @@
|
|
|
21876
21876
|
}
|
|
21877
21877
|
|
|
21878
21878
|
range._property(prop, value);
|
|
21879
|
+
return true;
|
|
21880
|
+
}
|
|
21881
|
+
|
|
21882
|
+
if (!set("left", "borderLeft")) {
|
|
21883
|
+
// start/end should mean right/left borders in RtL
|
|
21884
|
+
// context, but we don't support that anyway; assume
|
|
21885
|
+
// LtR for now.
|
|
21886
|
+
set("start", "borderLeft");
|
|
21887
|
+
}
|
|
21888
|
+
|
|
21889
|
+
if (!set("right", "borderRight")) {
|
|
21890
|
+
set("end", "borderRight");
|
|
21879
21891
|
}
|
|
21880
21892
|
|
|
21881
|
-
set("left", "borderLeft");
|
|
21882
21893
|
set("top", "borderTop");
|
|
21883
|
-
set("right", "borderRight");
|
|
21884
21894
|
set("bottom", "borderBottom");
|
|
21885
21895
|
set("diagonal", "dBorders");
|
|
21886
21896
|
}
|
|
@@ -22067,7 +22077,7 @@
|
|
|
22067
22077
|
border = null;
|
|
22068
22078
|
}
|
|
22069
22079
|
} else if (border) {
|
|
22070
|
-
if (/^(?:left|top|right|bottom|diagonal)$/.test(tag)) {
|
|
22080
|
+
if (/^(?:left|start|top|right|end|bottom|diagonal)$/.test(tag)) {
|
|
22071
22081
|
border[tag] = { style: attrs.style || "none" };
|
|
22072
22082
|
if (tag === "diagonal") {
|
|
22073
22083
|
border.diagonal.up = border.diagonalUp;
|