@a2simcode/ui 0.0.134 → 0.0.136
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/simcode-ui.es.js +2 -2
- package/dist/simcode-ui.umd.js +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/simcode-ui.es.js
CHANGED
|
@@ -5529,7 +5529,7 @@ var Cp = class {
|
|
|
5529
5529
|
async createEditor(e) {
|
|
5530
5530
|
const { container: t, referencePosition: n, col: a, row: o, table: i } = e, r = i.getBodyField(a, o), l = i.options?.columns || [], c = this.findColumnByField(l, r), s = c?._compConfig || {}, u = O(i.getCellOriginRecord(a, o) || {});
|
|
5531
5531
|
if (!t) return !1;
|
|
5532
|
-
if (!jc(u.value._compTypeByRender))
|
|
5532
|
+
if (u.value._compTypeByRender && !jc(u.value._compTypeByRender))
|
|
5533
5533
|
return this.currentValue = u.value[r], !1;
|
|
5534
5534
|
const f = document.createElement("div");
|
|
5535
5535
|
f.style.position = "absolute", f.style.width = "100%", f.style.height = "100%", f.style.boxSizing = "border-box";
|
|
@@ -6488,7 +6488,7 @@ var Ap = { class: "j-table-footer" }, jp = {
|
|
|
6488
6488
|
if (Pe?._compType === "checkbox" || Pe?.customRender === Ft || Pe?.customRender === Ie || Array.isArray(Pe?.columns) && je(Pe.columns)) return !0;
|
|
6489
6489
|
return !1;
|
|
6490
6490
|
};
|
|
6491
|
-
return je(ne) && (Y.defaultRowHeight = "auto", Y.defaultHeaderRowHeight = 40), {
|
|
6491
|
+
return je(ne) && !(o.subColumns && o.subColumns.length > 0) && (Y.defaultRowHeight = "auto", Y.defaultHeaderRowHeight = 40), {
|
|
6492
6492
|
columns: ne,
|
|
6493
6493
|
option: Y
|
|
6494
6494
|
};
|