alit-layout 1.1.39 → 1.1.40

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.
Files changed (2) hide show
  1. package/dist/index.es.js +1 -1
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -3871,7 +3871,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3871
3871
  let o = 0, l = {};
3872
3872
  return [...Array(e.pageDom.length).keys()].map((i) => {
3873
3873
  var c, y, s, m;
3874
- const a = Math.floor(i / 2) * (e.layout.column + e.layout.backColumn) + (i % 2 ? e.layout.column : 0), n = (m = (s = t[t.length - 1]) == null ? void 0 : s.data[((y = (c = t[t.length - 1]) == null ? void 0 : c.data) == null ? void 0 : y.length) - 1]) == null ? void 0 : m.children;
3874
+ const a = Math.floor(i / 2) * (e.layout.column + e.layout.backColumn) + (i % 2 ? e.layout.column : 0), n = ((m = (s = t[t.length - 1]) == null ? void 0 : s.data[((y = (c = t[t.length - 1]) == null ? void 0 : c.data) == null ? void 0 : y.length) - 1]) == null ? void 0 : m.children) || [];
3875
3875
  return [...Array(i % 2 ? e.layout.backColumn : e.layout.column).keys()].filter((A, p) => a + p < t.length).map((A, p) => {
3876
3876
  const P = e.pageDom[i], z = Q(P), j = e.colDom[a + p], J = Q(j), D = e.colViewDom[a + p], w = Q(D), G = t[a + p].data.map((C) => C.children).flat(), ie = t[a + p].data.filter((C) => [Ce.one_choice, Ce.another_choice].includes(C.problemType) && C.rawChildren.length).map((C) => {
3877
3877
  const U = he(`${$.choice}${C.id}`, j);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alit-layout",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "main": "dist/index.es.js",
5
5
  "module": "dist/index.es.js",
6
6
  "devDependencies": {