alit-layout 1.1.38 → 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.
- package/dist/index.es.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2117,7 +2117,7 @@ const me = (e, t) => {
|
|
|
2117
2117
|
autoLine: "",
|
|
2118
2118
|
dir: "right",
|
|
2119
2119
|
style: X(i.value),
|
|
2120
|
-
onChange: n[0] || (n[0] = (c) => t("change", {
|
|
2120
|
+
onChange: n[0] || (n[0] = (c) => t("change", { slogan: c }))
|
|
2121
2121
|
}, null, 8, ["value", "style"]));
|
|
2122
2122
|
}
|
|
2123
2123
|
}), Po = ["width", "height"], Mo = ["xlink:href"], Ao = /* @__PURE__ */ ne({
|
|
@@ -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);
|