@pie-element/matrix 5.0.5 → 5.0.6-next.20261016234357
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/browser/author/index.js +5765 -5765
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +15 -15
- package/dist/browser/{Radio-B9esqhiG.js → dist-CYypTpqs.js} +5904 -5621
- package/dist/browser/dist-CYypTpqs.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +715 -715
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +15 -15
- package/dist/browser/editor-runtime/{Radio-xpT0fBwu.js → dist-BD7DtVNy.js} +5904 -5621
- package/dist/browser/editor-runtime/dist-BD7DtVNy.js.map +1 -0
- package/dist/browser/editor-runtime/es-BkpdVdfR.js +10 -0
- package/dist/browser/editor-runtime/es-BkpdVdfR.js.map +1 -0
- package/dist/browser/es-BkpdVdfR.js +10 -0
- package/dist/browser/es-BkpdVdfR.js.map +1 -0
- package/dist/index.iife.js +30 -30
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +11 -11
- package/dist/browser/Radio-B9esqhiG.js.map +0 -1
- package/dist/browser/editor-runtime/Radio-xpT0fBwu.js.map +0 -1
|
@@ -55,7 +55,7 @@ var a = (e, t) => new Promise((n) => {
|
|
|
55
55
|
}), n;
|
|
56
56
|
}, c = Object.freeze({
|
|
57
57
|
name: "@pie-element/matrix",
|
|
58
|
-
version: "5.0.
|
|
58
|
+
version: "5.0.6-next.20261016234357"
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { a as createCorrectResponseSession, n as createDefaultModel, r as model, i as outcome, c as piePackage, s as validate };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as e } from "../speech-worker-CTpOB9m5-pwCKeQ9c.js";
|
|
2
|
-
import { E as t, Mt as n, O as r,
|
|
2
|
+
import { E as t, Mt as n, O as r, a as i, b as a, f as o, jt as s, kt as c, n as l, o as u, st as d, t as f } from "../dist-BD7DtVNy.js";
|
|
3
3
|
import p from "react";
|
|
4
4
|
import { createRoot as m } from "react-dom/client";
|
|
5
5
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
@@ -33,10 +33,10 @@ var _ = class e extends CustomEvent {
|
|
|
33
33
|
}
|
|
34
34
|
}), this.component = t, this.complete = n;
|
|
35
35
|
}
|
|
36
|
-
}, v = /* @__PURE__ */ e(
|
|
37
|
-
"&.MuiRadio-root": { color: `var(--choice-input-color, ${
|
|
38
|
-
"&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${
|
|
39
|
-
"&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${
|
|
36
|
+
}, v = /* @__PURE__ */ e(s(), 1), y = d(l)({
|
|
37
|
+
"&.MuiRadio-root": { color: `var(--choice-input-color, ${c.text()})` },
|
|
38
|
+
"&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${c.primary()})` },
|
|
39
|
+
"&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${c.defaults.DISABLED})` }
|
|
40
40
|
}), b = (e) => {
|
|
41
41
|
let { disabled: t, checked: n, labelledBy: r, matrixKey: i, matrixValue: a, name: o, onChange: s } = e;
|
|
42
42
|
return /* @__PURE__ */ h(y, {
|
|
@@ -66,30 +66,30 @@ b.propTypes = {
|
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/delivery/Matrix.tsx
|
|
69
|
-
var { translator: x } =
|
|
69
|
+
var { translator: x } = f;
|
|
70
70
|
function S(e) {
|
|
71
71
|
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
72
72
|
}
|
|
73
73
|
function C(e, t) {
|
|
74
74
|
return !e || S(e) ? e : S(e.default) ? e.default : t && S(e[t]) ? e[t] : t && S(e[t]?.default) ? e[t].default : e;
|
|
75
75
|
}
|
|
76
|
-
var w =
|
|
77
|
-
color: ${
|
|
78
|
-
background-color: ${
|
|
76
|
+
var w = u, T = w.default, E = T && typeof T == "object" ? T : w, D = C(o, "PreviewPrompt") || C(E.PreviewPrompt, "PreviewPrompt"), O = C(t, "Collapsible") || C(E.Collapsible, "Collapsible"), k = i.div`
|
|
77
|
+
color: ${c.text()};
|
|
78
|
+
background-color: ${c.background()};
|
|
79
79
|
font-family: Roboto, Arial, Helvetica, sans-serif;
|
|
80
|
-
`, A =
|
|
80
|
+
`, A = i.div`
|
|
81
81
|
display: grid;
|
|
82
82
|
grid-template-columns: ${(e) => e.gridTemplateColumns};
|
|
83
83
|
grid-column-gap: 30px;
|
|
84
84
|
grid-row-gap: 20px;
|
|
85
85
|
margin-top: 20px;
|
|
86
|
-
`, j =
|
|
86
|
+
`, j = i.div`
|
|
87
87
|
grid-column: 1 / -1;
|
|
88
88
|
display: grid;
|
|
89
89
|
grid-template-columns: subgrid;
|
|
90
|
-
`, M =
|
|
90
|
+
`, M = i(O)`
|
|
91
91
|
margin-bottom: 16px;
|
|
92
|
-
`, N =
|
|
92
|
+
`, N = i.div`
|
|
93
93
|
align-self: center;
|
|
94
94
|
justify-self: center;
|
|
95
95
|
white-space: nowrap;
|
|
@@ -158,7 +158,7 @@ function F(e) {
|
|
|
158
158
|
function I(e, t) {
|
|
159
159
|
return !e || F(e) ? e : F(e.default) ? e.default : t && F(e[t]) ? e[t] : t && F(e[t]?.default) ? e[t].default : e;
|
|
160
160
|
}
|
|
161
|
-
var L =
|
|
161
|
+
var L = u, R = L.default, z = R && typeof R == "object" ? R : L, B = I(a, "PreviewLayout") || I(z.PreviewLayout, "PreviewLayout"), V = class extends p.Component {
|
|
162
162
|
static propTypes = {
|
|
163
163
|
model: v.default.object,
|
|
164
164
|
session: v.default.object,
|
|
@@ -217,7 +217,7 @@ var L = a, R = L.default, z = R && typeof R == "object" ? R : L, B = I(f, "Previ
|
|
|
217
217
|
}
|
|
218
218
|
}, W = Object.freeze({
|
|
219
219
|
name: "@pie-element/matrix",
|
|
220
|
-
version: "5.0.
|
|
220
|
+
version: "5.0.6-next.20261016234357"
|
|
221
221
|
});
|
|
222
222
|
//#endregion
|
|
223
223
|
export { U as default, H as isComplete, W as piePackage };
|