@pie-element/charting 13.0.6 → 13.0.7-next.20261019062545
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 +263 -263
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/{chart-CX7vDvbm.js → chart-DKqh2rSP.js} +9263 -9248
- package/dist/browser/chart-DKqh2rSP.js.map +1 -0
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +135 -134
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/author/index.js +263 -263
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/{chart-CwvlidAB.js → chart-CMQmcsbF.js} +5651 -5636
- package/dist/browser/editor-runtime/chart-CMQmcsbF.js.map +1 -0
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +135 -134
- package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
- package/dist/index.iife.js +102 -102
- 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 +14 -14
- package/dist/browser/chart-CX7vDvbm.js.map +0 -1
- package/dist/browser/editor-runtime/chart-CwvlidAB.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as e } from "../rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import { $ as t, A as n, B as r, C as i, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, O as h,
|
|
2
|
+
import { $ as t, A as n, B as r, C as i, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, O as h, Q as g, R as _, T as v, U as y, V as b, X as x, Y as S, Z as C, _ as w, a as T, c as E, d as D, et as O, f as k, i as A, l as j, m as M, n as N, nt as P, p as F, q as I, r as L, s as ee, t as R, tt as te, u as z, v as B, w as ne, z as V } from "../chart-DKqh2rSP.js";
|
|
3
3
|
import { f as re, g as ie, l as H, m as U, n as W, v as ae } from "../dist-kMt4MdSv.js";
|
|
4
4
|
import * as G from "react";
|
|
5
5
|
import K, { Component as oe, createElement as se, useEffect as ce, useId as le, useState as ue } from "react";
|
|
6
6
|
import { createRoot as de } from "react-dom/client";
|
|
7
7
|
import { jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
8
8
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/utils/createChainedFunction.js
|
|
9
|
-
var fe =
|
|
9
|
+
var fe = r;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js
|
|
12
12
|
function pe(e) {
|
|
13
|
-
return
|
|
13
|
+
return t("MuiFormControlLabel", e);
|
|
14
14
|
}
|
|
15
|
-
var Y =
|
|
15
|
+
var Y = g("MuiFormControlLabel", [
|
|
16
16
|
"root",
|
|
17
17
|
"labelPlacementStart",
|
|
18
18
|
"labelPlacementTop",
|
|
@@ -24,18 +24,18 @@ var Y = w("MuiFormControlLabel", [
|
|
|
24
24
|
"asterisk"
|
|
25
25
|
]), me = (e) => {
|
|
26
26
|
let { classes: t, disabled: n, labelPlacement: r, error: i, required: a } = e;
|
|
27
|
-
return
|
|
27
|
+
return C({
|
|
28
28
|
root: [
|
|
29
29
|
"root",
|
|
30
30
|
n && "disabled",
|
|
31
|
-
`labelPlacement${
|
|
31
|
+
`labelPlacement${V(r)}`,
|
|
32
32
|
i && "error",
|
|
33
33
|
a && "required"
|
|
34
34
|
],
|
|
35
35
|
label: ["label", n && "disabled"],
|
|
36
36
|
asterisk: ["asterisk", i && "error"]
|
|
37
37
|
}, pe, t);
|
|
38
|
-
}, he =
|
|
38
|
+
}, he = I("label", {
|
|
39
39
|
name: "MuiFormControlLabel",
|
|
40
40
|
slot: "Root",
|
|
41
41
|
overridesResolver: (e, t) => {
|
|
@@ -43,10 +43,10 @@ var Y = w("MuiFormControlLabel", [
|
|
|
43
43
|
return [
|
|
44
44
|
{ [`& .${Y.label}`]: t.label },
|
|
45
45
|
t.root,
|
|
46
|
-
t[`labelPlacement${
|
|
46
|
+
t[`labelPlacement${V(n.labelPlacement)}`]
|
|
47
47
|
];
|
|
48
48
|
}
|
|
49
|
-
})(
|
|
49
|
+
})(l(({ theme: e }) => ({
|
|
50
50
|
display: "inline-flex",
|
|
51
51
|
alignItems: "center",
|
|
52
52
|
cursor: "pointer",
|
|
@@ -77,16 +77,16 @@ var Y = w("MuiFormControlLabel", [
|
|
|
77
77
|
style: { marginLeft: 16 }
|
|
78
78
|
}
|
|
79
79
|
]
|
|
80
|
-
}))), ge =
|
|
80
|
+
}))), ge = I("span", {
|
|
81
81
|
name: "MuiFormControlLabel",
|
|
82
82
|
slot: "Asterisk"
|
|
83
|
-
})(
|
|
84
|
-
let
|
|
83
|
+
})(l(({ theme: e }) => ({ [`&.${Y.error}`]: { color: (e.vars || e).palette.error.main } }))), _e = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
84
|
+
let n = y({
|
|
85
85
|
props: e,
|
|
86
86
|
name: "MuiFormControlLabel"
|
|
87
|
-
}), { checked:
|
|
88
|
-
disabled:
|
|
89
|
-
required:
|
|
87
|
+
}), { checked: r, className: i, componentsProps: a = {}, control: s, disabled: c, disableTypography: l, inputRef: u, label: d, labelPlacement: f = "end", name: p, onChange: m, required: g, slots: _ = {}, slotProps: v = {}, value: x, ...S } = n, C = o(), w = c ?? s.props.disabled ?? C?.disabled, T = g ?? s.props.required, E = {
|
|
88
|
+
disabled: w,
|
|
89
|
+
required: T
|
|
90
90
|
};
|
|
91
91
|
[
|
|
92
92
|
"checked",
|
|
@@ -95,40 +95,40 @@ var Y = w("MuiFormControlLabel", [
|
|
|
95
95
|
"value",
|
|
96
96
|
"inputRef"
|
|
97
97
|
].forEach((e) => {
|
|
98
|
-
|
|
98
|
+
s.props[e] === void 0 && n[e] !== void 0 && (E[e] = n[e]);
|
|
99
99
|
});
|
|
100
|
-
let
|
|
101
|
-
props:
|
|
102
|
-
muiFormControl:
|
|
100
|
+
let D = h({
|
|
101
|
+
props: n,
|
|
102
|
+
muiFormControl: C,
|
|
103
103
|
states: ["error"]
|
|
104
104
|
}), k = {
|
|
105
|
-
...
|
|
106
|
-
disabled:
|
|
107
|
-
labelPlacement:
|
|
108
|
-
required:
|
|
109
|
-
error:
|
|
110
|
-
}, A = me(k), [j,
|
|
111
|
-
elementType:
|
|
105
|
+
...n,
|
|
106
|
+
disabled: w,
|
|
107
|
+
labelPlacement: f,
|
|
108
|
+
required: T,
|
|
109
|
+
error: D.error
|
|
110
|
+
}, A = me(k), [j, N] = b("typography", {
|
|
111
|
+
elementType: M,
|
|
112
112
|
externalForwardedProps: {
|
|
113
|
-
slots:
|
|
113
|
+
slots: _,
|
|
114
114
|
slotProps: {
|
|
115
|
-
...
|
|
116
|
-
...
|
|
115
|
+
...a,
|
|
116
|
+
...v
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
ownerState: k
|
|
120
|
-
}), P =
|
|
121
|
-
return P != null && P.type !==
|
|
120
|
+
}), P = d;
|
|
121
|
+
return P != null && P.type !== M && !l && (P = /*#__PURE__*/ q(j, {
|
|
122
122
|
component: "span",
|
|
123
|
-
...
|
|
124
|
-
className:
|
|
123
|
+
...N,
|
|
124
|
+
className: O(A.label, N?.className),
|
|
125
125
|
children: P
|
|
126
126
|
})), /*#__PURE__*/ J(he, {
|
|
127
|
-
className:
|
|
127
|
+
className: O(A.root, i),
|
|
128
128
|
ownerState: k,
|
|
129
|
-
ref:
|
|
130
|
-
...
|
|
131
|
-
children: [/*#__PURE__*/ G.cloneElement(
|
|
129
|
+
ref: t,
|
|
130
|
+
...S,
|
|
131
|
+
children: [/*#__PURE__*/ G.cloneElement(s, E), T ? /*#__PURE__*/ J("div", { children: [P, /*#__PURE__*/ J(ge, {
|
|
132
132
|
ownerState: k,
|
|
133
133
|
"aria-hidden": !0,
|
|
134
134
|
className: A.asterisk,
|
|
@@ -139,9 +139,9 @@ var Y = w("MuiFormControlLabel", [
|
|
|
139
139
|
//#endregion
|
|
140
140
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js
|
|
141
141
|
function ve(e) {
|
|
142
|
-
return
|
|
142
|
+
return t("MuiInputAdornment", e);
|
|
143
143
|
}
|
|
144
|
-
var ye =
|
|
144
|
+
var ye = g("MuiInputAdornment", [
|
|
145
145
|
"root",
|
|
146
146
|
"filled",
|
|
147
147
|
"standard",
|
|
@@ -155,25 +155,25 @@ var ye = w("MuiInputAdornment", [
|
|
|
155
155
|
let { ownerState: n } = e;
|
|
156
156
|
return [
|
|
157
157
|
t.root,
|
|
158
|
-
t[`position${
|
|
158
|
+
t[`position${V(n.position)}`],
|
|
159
159
|
n.disablePointerEvents === !0 && t.disablePointerEvents,
|
|
160
160
|
t[n.variant]
|
|
161
161
|
];
|
|
162
162
|
}, Se = (e) => {
|
|
163
163
|
let { classes: t, disablePointerEvents: n, hiddenLabel: r, position: i, size: a, variant: o } = e;
|
|
164
|
-
return
|
|
164
|
+
return C({ root: [
|
|
165
165
|
"root",
|
|
166
166
|
n && "disablePointerEvents",
|
|
167
|
-
i && `position${
|
|
167
|
+
i && `position${V(i)}`,
|
|
168
168
|
o,
|
|
169
169
|
r && "hiddenLabel",
|
|
170
|
-
a && `size${
|
|
170
|
+
a && `size${V(a)}`
|
|
171
171
|
] }, ve, t);
|
|
172
|
-
}, Ce =
|
|
172
|
+
}, Ce = I("div", {
|
|
173
173
|
name: "MuiInputAdornment",
|
|
174
174
|
slot: "Root",
|
|
175
175
|
overridesResolver: xe
|
|
176
|
-
})(
|
|
176
|
+
})(l(({ theme: e }) => ({
|
|
177
177
|
display: "flex",
|
|
178
178
|
maxHeight: "2em",
|
|
179
179
|
alignItems: "center",
|
|
@@ -197,45 +197,45 @@ var ye = w("MuiInputAdornment", [
|
|
|
197
197
|
style: { pointerEvents: "none" }
|
|
198
198
|
}
|
|
199
199
|
]
|
|
200
|
-
}))), we = /*#__PURE__*/ G.forwardRef(function(e,
|
|
201
|
-
let
|
|
200
|
+
}))), we = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
201
|
+
let n = y({
|
|
202
202
|
props: e,
|
|
203
203
|
name: "MuiInputAdornment"
|
|
204
|
-
}), { children:
|
|
205
|
-
|
|
206
|
-
let
|
|
207
|
-
...
|
|
208
|
-
hiddenLabel:
|
|
209
|
-
size:
|
|
210
|
-
disablePointerEvents:
|
|
211
|
-
position:
|
|
212
|
-
variant:
|
|
213
|
-
},
|
|
204
|
+
}), { children: r, className: i, component: s = "div", disablePointerEvents: c = !1, disableTypography: l = !1, position: u, variant: d, ...f } = n, p = o() || {}, m = d;
|
|
205
|
+
d && p.variant, p && !m && (m = p.variant);
|
|
206
|
+
let h = {
|
|
207
|
+
...n,
|
|
208
|
+
hiddenLabel: p.hiddenLabel,
|
|
209
|
+
size: p.size,
|
|
210
|
+
disablePointerEvents: c,
|
|
211
|
+
position: u,
|
|
212
|
+
variant: m
|
|
213
|
+
}, g = Se(h);
|
|
214
214
|
return /*#__PURE__*/ q(a.Provider, {
|
|
215
215
|
value: null,
|
|
216
216
|
children: /*#__PURE__*/ q(Ce, {
|
|
217
|
-
as:
|
|
218
|
-
ownerState:
|
|
219
|
-
className:
|
|
220
|
-
ref:
|
|
221
|
-
...
|
|
222
|
-
children: typeof
|
|
217
|
+
as: s,
|
|
218
|
+
ownerState: h,
|
|
219
|
+
className: O(g.root, i),
|
|
220
|
+
ref: t,
|
|
221
|
+
...f,
|
|
222
|
+
children: typeof r == "string" && !l ? /*#__PURE__*/ q(M, {
|
|
223
223
|
color: "textSecondary",
|
|
224
|
-
children:
|
|
225
|
-
}) : /*#__PURE__*/ J(G.Fragment, { children: [
|
|
224
|
+
children: r
|
|
225
|
+
}) : /*#__PURE__*/ J(G.Fragment, { children: [u === "start" ? be ||= /*#__PURE__*/ q("span", {
|
|
226
226
|
className: "notranslate",
|
|
227
227
|
"aria-hidden": !0,
|
|
228
228
|
children: ""
|
|
229
|
-
}) : null,
|
|
229
|
+
}) : null, r] })
|
|
230
230
|
})
|
|
231
231
|
});
|
|
232
|
-
}), Te =
|
|
232
|
+
}), Te = _(/*#__PURE__*/ q("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), "RadioButtonUnchecked"), Ee = _(/*#__PURE__*/ q("path", { d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z" }), "RadioButtonChecked"), De = I("span", {
|
|
233
233
|
name: "MuiRadioButtonIcon",
|
|
234
|
-
shouldForwardProp:
|
|
234
|
+
shouldForwardProp: d
|
|
235
235
|
})({
|
|
236
236
|
position: "relative",
|
|
237
237
|
display: "flex"
|
|
238
|
-
}), Oe =
|
|
238
|
+
}), Oe = I(Te, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), ke = I(Ee, { name: "MuiRadioButtonIcon" })(l(({ theme: e }) => ({
|
|
239
239
|
left: 0,
|
|
240
240
|
position: "absolute",
|
|
241
241
|
transform: "scale(0)",
|
|
@@ -284,9 +284,9 @@ function Me() {
|
|
|
284
284
|
//#endregion
|
|
285
285
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/Radio/radioClasses.js
|
|
286
286
|
function Ne(e) {
|
|
287
|
-
return
|
|
287
|
+
return t("MuiRadio", e);
|
|
288
288
|
}
|
|
289
|
-
var Pe =
|
|
289
|
+
var Pe = g("MuiRadio", [
|
|
290
290
|
"root",
|
|
291
291
|
"checked",
|
|
292
292
|
"disabled",
|
|
@@ -296,26 +296,26 @@ var Pe = w("MuiRadio", [
|
|
|
296
296
|
]), Fe = (e) => {
|
|
297
297
|
let { classes: t, color: n, size: r } = e, i = { root: [
|
|
298
298
|
"root",
|
|
299
|
-
`color${
|
|
300
|
-
r !== "medium" && `size${
|
|
299
|
+
`color${V(n)}`,
|
|
300
|
+
r !== "medium" && `size${V(r)}`
|
|
301
301
|
] };
|
|
302
302
|
return {
|
|
303
303
|
...t,
|
|
304
|
-
...
|
|
304
|
+
...C(i, Ne, t)
|
|
305
305
|
};
|
|
306
|
-
}, Ie =
|
|
307
|
-
shouldForwardProp: (e) =>
|
|
306
|
+
}, Ie = I(A, {
|
|
307
|
+
shouldForwardProp: (e) => d(e) || e === "classes",
|
|
308
308
|
name: "MuiRadio",
|
|
309
309
|
slot: "Root",
|
|
310
310
|
overridesResolver: (e, t) => {
|
|
311
311
|
let { ownerState: n } = e;
|
|
312
312
|
return [
|
|
313
313
|
t.root,
|
|
314
|
-
n.size !== "medium" && t[`size${
|
|
315
|
-
t[`color${
|
|
314
|
+
n.size !== "medium" && t[`size${V(n.size)}`],
|
|
315
|
+
t[`color${V(n.color)}`]
|
|
316
316
|
];
|
|
317
317
|
}
|
|
318
|
-
})(
|
|
318
|
+
})(l(({ theme: e }) => ({
|
|
319
319
|
color: (e.vars || e).palette.text.secondary,
|
|
320
320
|
[`&.${Pe.disabled}`]: { color: (e.vars || e).palette.action.disabled },
|
|
321
321
|
variants: [
|
|
@@ -351,59 +351,59 @@ var Pe = w("MuiRadio", [
|
|
|
351
351
|
function Le(e, t) {
|
|
352
352
|
return typeof t == "object" && t ? e === t : String(e) === String(t);
|
|
353
353
|
}
|
|
354
|
-
var Re = /*#__PURE__*/ q(Ae, { checked: !0 }), ze = /*#__PURE__*/ q(Ae, {}), Be = /*#__PURE__*/ G.forwardRef(function(e,
|
|
355
|
-
let
|
|
354
|
+
var Re = /*#__PURE__*/ q(Ae, { checked: !0 }), ze = /*#__PURE__*/ q(Ae, {}), Be = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
355
|
+
let n = y({
|
|
356
356
|
props: e,
|
|
357
357
|
name: "MuiRadio"
|
|
358
|
-
}), { checked:
|
|
359
|
-
|
|
360
|
-
let
|
|
361
|
-
...
|
|
362
|
-
disabled:
|
|
363
|
-
disableRipple:
|
|
364
|
-
color:
|
|
365
|
-
size:
|
|
366
|
-
},
|
|
367
|
-
|
|
368
|
-
let k =
|
|
369
|
-
ref:
|
|
358
|
+
}), { checked: r, checkedIcon: i = Re, color: a = "primary", icon: s = ze, name: c, onChange: l, size: u = "medium", className: d, disabled: f, disableRipple: p = !1, slots: m = {}, slotProps: h = {}, inputProps: g, ..._ } = n, v = o(), x = f;
|
|
359
|
+
v && x === void 0 && (x = v.disabled), x ??= !1;
|
|
360
|
+
let S = {
|
|
361
|
+
...n,
|
|
362
|
+
disabled: x,
|
|
363
|
+
disableRipple: p,
|
|
364
|
+
color: a,
|
|
365
|
+
size: u
|
|
366
|
+
}, C = Fe(S), w = Me(), T = r, E = fe(l, w && w.onChange), D = c;
|
|
367
|
+
w && (T === void 0 && (T = Le(w.value, n.value)), D === void 0 && (D = w.name));
|
|
368
|
+
let k = h.input ?? g, [A, j] = b("root", {
|
|
369
|
+
ref: t,
|
|
370
370
|
elementType: Ie,
|
|
371
|
-
className:
|
|
371
|
+
className: O(C.root, d),
|
|
372
372
|
shouldForwardComponentProp: !0,
|
|
373
373
|
externalForwardedProps: {
|
|
374
|
-
slots:
|
|
375
|
-
slotProps:
|
|
376
|
-
...
|
|
374
|
+
slots: m,
|
|
375
|
+
slotProps: h,
|
|
376
|
+
..._
|
|
377
377
|
},
|
|
378
378
|
getSlotProps: (e) => ({
|
|
379
379
|
...e,
|
|
380
380
|
onChange: (t, ...n) => {
|
|
381
|
-
e.onChange?.(t, ...n),
|
|
381
|
+
e.onChange?.(t, ...n), E(t, ...n);
|
|
382
382
|
}
|
|
383
383
|
}),
|
|
384
|
-
ownerState:
|
|
384
|
+
ownerState: S,
|
|
385
385
|
additionalProps: {
|
|
386
386
|
type: "radio",
|
|
387
|
-
icon: /*#__PURE__*/ G.cloneElement(
|
|
388
|
-
checkedIcon: /*#__PURE__*/ G.cloneElement(
|
|
389
|
-
disabled:
|
|
390
|
-
name:
|
|
391
|
-
checked:
|
|
392
|
-
slots:
|
|
393
|
-
slotProps: { input: typeof k == "function" ? k(
|
|
387
|
+
icon: /*#__PURE__*/ G.cloneElement(s, { fontSize: s.props.fontSize ?? u }),
|
|
388
|
+
checkedIcon: /*#__PURE__*/ G.cloneElement(i, { fontSize: i.props.fontSize ?? u }),
|
|
389
|
+
disabled: x,
|
|
390
|
+
name: D,
|
|
391
|
+
checked: T,
|
|
392
|
+
slots: m,
|
|
393
|
+
slotProps: { input: typeof k == "function" ? k(S) : k }
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
return /*#__PURE__*/ q(A, {
|
|
397
397
|
...j,
|
|
398
|
-
classes:
|
|
398
|
+
classes: C
|
|
399
399
|
});
|
|
400
400
|
});
|
|
401
401
|
//#endregion
|
|
402
402
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+cb46ce523248780c/node_modules/@mui/material/esm/Switch/switchClasses.js
|
|
403
403
|
function Ve(e) {
|
|
404
|
-
return
|
|
404
|
+
return t("MuiSwitch", e);
|
|
405
405
|
}
|
|
406
|
-
var X =
|
|
406
|
+
var X = g("MuiSwitch", [
|
|
407
407
|
"root",
|
|
408
408
|
"edgeStart",
|
|
409
409
|
"edgeEnd",
|
|
@@ -418,15 +418,15 @@ var X = w("MuiSwitch", [
|
|
|
418
418
|
"thumb",
|
|
419
419
|
"track"
|
|
420
420
|
]), He = (e) => {
|
|
421
|
-
let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s =
|
|
421
|
+
let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s = C({
|
|
422
422
|
root: [
|
|
423
423
|
"root",
|
|
424
|
-
n && `edge${
|
|
425
|
-
`size${
|
|
424
|
+
n && `edge${V(n)}`,
|
|
425
|
+
`size${V(r)}`
|
|
426
426
|
],
|
|
427
427
|
switchBase: [
|
|
428
428
|
"switchBase",
|
|
429
|
-
`color${
|
|
429
|
+
`color${V(i)}`,
|
|
430
430
|
a && "checked",
|
|
431
431
|
o && "disabled"
|
|
432
432
|
],
|
|
@@ -438,15 +438,15 @@ var X = w("MuiSwitch", [
|
|
|
438
438
|
...t,
|
|
439
439
|
...s
|
|
440
440
|
};
|
|
441
|
-
}, Ue =
|
|
441
|
+
}, Ue = I("span", {
|
|
442
442
|
name: "MuiSwitch",
|
|
443
443
|
slot: "Root",
|
|
444
444
|
overridesResolver: (e, t) => {
|
|
445
445
|
let { ownerState: n } = e;
|
|
446
446
|
return [
|
|
447
447
|
t.root,
|
|
448
|
-
n.edge && t[`edge${
|
|
449
|
-
t[`size${
|
|
448
|
+
n.edge && t[`edge${V(n.edge)}`],
|
|
449
|
+
t[`size${V(n.size)}`]
|
|
450
450
|
];
|
|
451
451
|
}
|
|
452
452
|
})({
|
|
@@ -487,7 +487,7 @@ var X = w("MuiSwitch", [
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
]
|
|
490
|
-
}), We =
|
|
490
|
+
}), We = I(A, {
|
|
491
491
|
name: "MuiSwitch",
|
|
492
492
|
slot: "SwitchBase",
|
|
493
493
|
overridesResolver: (e, t) => {
|
|
@@ -495,10 +495,10 @@ var X = w("MuiSwitch", [
|
|
|
495
495
|
return [
|
|
496
496
|
t.switchBase,
|
|
497
497
|
{ [`& .${X.input}`]: t.input },
|
|
498
|
-
n.color !== "default" && t[`color${
|
|
498
|
+
n.color !== "default" && t[`color${V(n.color)}`]
|
|
499
499
|
];
|
|
500
500
|
}
|
|
501
|
-
})(
|
|
501
|
+
})(l(({ theme: e }) => ({
|
|
502
502
|
position: "absolute",
|
|
503
503
|
top: 0,
|
|
504
504
|
left: 0,
|
|
@@ -513,7 +513,7 @@ var X = w("MuiSwitch", [
|
|
|
513
513
|
left: "-100%",
|
|
514
514
|
width: "300%"
|
|
515
515
|
}
|
|
516
|
-
})),
|
|
516
|
+
})), l(({ theme: e }) => ({
|
|
517
517
|
"&:hover": {
|
|
518
518
|
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
|
|
519
519
|
"@media (hover: none)": { backgroundColor: "transparent" }
|
|
@@ -532,10 +532,10 @@ var X = w("MuiSwitch", [
|
|
|
532
532
|
[`&.${X.checked} + .${X.track}`]: { backgroundColor: (e.vars || e).palette[t].main }
|
|
533
533
|
}
|
|
534
534
|
}))]
|
|
535
|
-
}))), Ge =
|
|
535
|
+
}))), Ge = I("span", {
|
|
536
536
|
name: "MuiSwitch",
|
|
537
537
|
slot: "Track"
|
|
538
|
-
})(
|
|
538
|
+
})(l(({ theme: e }) => ({
|
|
539
539
|
height: "100%",
|
|
540
540
|
width: "100%",
|
|
541
541
|
borderRadius: 14 / 2,
|
|
@@ -545,10 +545,10 @@ var X = w("MuiSwitch", [
|
|
|
545
545
|
transition: e.transitions.create(["opacity", "background-color"], { duration: e.transitions.duration.shortest }),
|
|
546
546
|
backgroundColor: e.vars ? e.vars.palette.common.onBackground : `${e.palette.mode === "light" ? e.palette.common.black : e.palette.common.white}`,
|
|
547
547
|
opacity: e.vars ? e.vars.opacity.switchTrack : `${e.palette.mode === "light" ? .38 : .3}`
|
|
548
|
-
}))), Ke =
|
|
548
|
+
}))), Ke = I("span", {
|
|
549
549
|
name: "MuiSwitch",
|
|
550
550
|
slot: "Thumb"
|
|
551
|
-
})(
|
|
551
|
+
})(l(({ theme: e }) => ({
|
|
552
552
|
boxShadow: (e.vars || e).shadows[1],
|
|
553
553
|
backgroundColor: "currentColor",
|
|
554
554
|
boxSizing: "border-box",
|
|
@@ -556,62 +556,62 @@ var X = w("MuiSwitch", [
|
|
|
556
556
|
width: 20,
|
|
557
557
|
height: 20,
|
|
558
558
|
borderRadius: "50%"
|
|
559
|
-
}))), qe = /*#__PURE__*/ G.forwardRef(function(e,
|
|
560
|
-
let
|
|
559
|
+
}))), qe = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
560
|
+
let n = y({
|
|
561
561
|
props: e,
|
|
562
562
|
name: "MuiSwitch"
|
|
563
|
-
}), { className:
|
|
564
|
-
...
|
|
565
|
-
color:
|
|
566
|
-
edge:
|
|
567
|
-
size:
|
|
568
|
-
},
|
|
569
|
-
slots:
|
|
570
|
-
slotProps:
|
|
571
|
-
}, [
|
|
572
|
-
className:
|
|
563
|
+
}), { className: r, color: i = "primary", edge: a = !1, size: o = "medium", sx: s, slots: c = {}, slotProps: l = {}, ...u } = n, d = {
|
|
564
|
+
...n,
|
|
565
|
+
color: i,
|
|
566
|
+
edge: a,
|
|
567
|
+
size: o
|
|
568
|
+
}, f = He(d), m = l.input, h = {
|
|
569
|
+
slots: c,
|
|
570
|
+
slotProps: l
|
|
571
|
+
}, [g, _] = b("root", {
|
|
572
|
+
className: O(f.root, r),
|
|
573
573
|
elementType: Ue,
|
|
574
|
-
externalForwardedProps:
|
|
575
|
-
ownerState:
|
|
576
|
-
additionalProps: { sx:
|
|
577
|
-
}), [
|
|
578
|
-
className:
|
|
574
|
+
externalForwardedProps: h,
|
|
575
|
+
ownerState: d,
|
|
576
|
+
additionalProps: { sx: s }
|
|
577
|
+
}), [v, x] = b("thumb", {
|
|
578
|
+
className: f.thumb,
|
|
579
579
|
elementType: Ke,
|
|
580
|
-
externalForwardedProps:
|
|
581
|
-
ownerState:
|
|
582
|
-
}),
|
|
583
|
-
className:
|
|
580
|
+
externalForwardedProps: h,
|
|
581
|
+
ownerState: d
|
|
582
|
+
}), S = /*#__PURE__*/ q(v, { ...x }), [C, w] = b("track", {
|
|
583
|
+
className: f.track,
|
|
584
584
|
elementType: Ge,
|
|
585
|
-
externalForwardedProps:
|
|
586
|
-
ownerState:
|
|
585
|
+
externalForwardedProps: h,
|
|
586
|
+
ownerState: d
|
|
587
587
|
});
|
|
588
|
-
return /*#__PURE__*/ J(
|
|
589
|
-
...
|
|
588
|
+
return /*#__PURE__*/ J(g, {
|
|
589
|
+
..._,
|
|
590
590
|
children: [/*#__PURE__*/ q(We, {
|
|
591
591
|
type: "checkbox",
|
|
592
|
-
icon:
|
|
593
|
-
checkedIcon:
|
|
594
|
-
ref:
|
|
595
|
-
ownerState:
|
|
596
|
-
...
|
|
592
|
+
icon: S,
|
|
593
|
+
checkedIcon: S,
|
|
594
|
+
ref: t,
|
|
595
|
+
ownerState: d,
|
|
596
|
+
...u,
|
|
597
597
|
classes: {
|
|
598
|
-
...
|
|
599
|
-
root:
|
|
598
|
+
...f,
|
|
599
|
+
root: f.switchBase
|
|
600
600
|
},
|
|
601
601
|
slots: {
|
|
602
|
-
...
|
|
603
|
-
...
|
|
602
|
+
...c.switchBase && { root: c.switchBase },
|
|
603
|
+
...c.input && { input: c.input }
|
|
604
604
|
},
|
|
605
605
|
slotProps: {
|
|
606
|
-
...
|
|
607
|
-
input:
|
|
606
|
+
...l.switchBase && { root: typeof l.switchBase == "function" ? l.switchBase(d) : l.switchBase },
|
|
607
|
+
input: p(typeof m == "function" ? m(d) : m, { role: "switch" })
|
|
608
608
|
}
|
|
609
|
-
}), /*#__PURE__*/ q(
|
|
609
|
+
}), /*#__PURE__*/ q(C, { ...w })]
|
|
610
610
|
});
|
|
611
|
-
}), Je = /* @__PURE__ */ e(ae(), 1), Z = /* @__PURE__ */ e(
|
|
611
|
+
}), Je = /* @__PURE__ */ e(ae(), 1), Z = /* @__PURE__ */ e(P(), 1), Ye = I(_e)(() => ({ "& .MuiFormControlLabel-label": {
|
|
612
612
|
left: "-5px",
|
|
613
613
|
position: "relative"
|
|
614
|
-
} })), Xe =
|
|
614
|
+
} })), Xe = I(Be)(() => ({ color: `${c.tertiary()} !important` })), Ze = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(Ye, {
|
|
615
615
|
value: t,
|
|
616
616
|
control: /* @__PURE__ */ q(Xe, {
|
|
617
617
|
checked: n,
|
|
@@ -627,7 +627,7 @@ Ze.propTypes = {
|
|
|
627
627
|
};
|
|
628
628
|
//#endregion
|
|
629
629
|
//#region ../../lib-react/config-ui/dist/tabs/index.js
|
|
630
|
-
var Qe =
|
|
630
|
+
var Qe = I(E)(() => ({})), $e = class extends K.Component {
|
|
631
631
|
static propTypes = {
|
|
632
632
|
className: Z.default.string,
|
|
633
633
|
contentClassName: Z.default.string,
|
|
@@ -644,7 +644,7 @@ var Qe = f(D)(() => ({})), $e = class extends K.Component {
|
|
|
644
644
|
let { value: e } = this.state, { children: t, className: n, contentClassName: r, contentStyle: i = {} } = this.props;
|
|
645
645
|
return /* @__PURE__ */ J("div", {
|
|
646
646
|
className: n,
|
|
647
|
-
children: [/* @__PURE__ */ q(
|
|
647
|
+
children: [/* @__PURE__ */ q(j, {
|
|
648
648
|
indicatorColor: "primary",
|
|
649
649
|
value: e,
|
|
650
650
|
onChange: this.handleChange,
|
|
@@ -656,7 +656,7 @@ var Qe = f(D)(() => ({})), $e = class extends K.Component {
|
|
|
656
656
|
})]
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
}, et =
|
|
659
|
+
}, et = I(_e)(({ theme: e, mini: t }) => ({
|
|
660
660
|
margin: 0,
|
|
661
661
|
marginLeft: 0,
|
|
662
662
|
padding: 0,
|
|
@@ -666,12 +666,12 @@ var Qe = f(D)(() => ({})), $e = class extends K.Component {
|
|
|
666
666
|
color: "rgba(0,0,0,1.0)",
|
|
667
667
|
...t && {
|
|
668
668
|
marginLeft: e.spacing(1),
|
|
669
|
-
color:
|
|
669
|
+
color: x[700],
|
|
670
670
|
fontSize: e.typography.fontSize - 3
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
|
-
})), tt =
|
|
674
|
-
color: `${
|
|
673
|
+
})), tt = I(L)(({ theme: e, mini: t, error: n }) => ({
|
|
674
|
+
color: `${c.tertiary()} !important`,
|
|
675
675
|
...t && {
|
|
676
676
|
margin: 0,
|
|
677
677
|
padding: 0,
|
|
@@ -704,7 +704,7 @@ nt.propTypes = {
|
|
|
704
704
|
};
|
|
705
705
|
//#endregion
|
|
706
706
|
//#region ../../lib-react/config-ui/dist/number-text-field.js
|
|
707
|
-
var rt = (0, Je.default)("@pie-lib:config-ui:number-text-field"), it =
|
|
707
|
+
var rt = (0, Je.default)("@pie-lib:config-ui:number-text-field"), it = I(z)(({ theme: e }) => ({
|
|
708
708
|
marginRight: e.spacing(1),
|
|
709
709
|
"& .MuiInputLabel-root": {
|
|
710
710
|
width: "auto",
|
|
@@ -819,7 +819,7 @@ var rt = (0, Je.default)("@pie-lib:config-ui:number-text-field"), it = f(B)(({ t
|
|
|
819
819
|
if (st(e)) return (e.s ?? 1) * e.n / e.d;
|
|
820
820
|
let t = String(e).trim(), n = t.match(/^([+-]?\d+)\s*\/\s*([+-]?\d+)$/);
|
|
821
821
|
return n ? Number.parseInt(n[1] ?? "0", 10) / Number.parseInt(n[2] ?? "1", 10) : Number(t);
|
|
822
|
-
}, lt =
|
|
822
|
+
}, lt = _(/*#__PURE__*/ q("path", { d: "M19 13H5v-2h14z" }), "Remove"), ut = _(/*#__PURE__*/ q("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" }), "Add"), dt = I(z)(() => ({
|
|
823
823
|
"& input[type=number]": { MozAppearance: "textfield" },
|
|
824
824
|
"& input[type=number]::-webkit-outer-spin-button": {
|
|
825
825
|
WebkitAppearance: "none",
|
|
@@ -829,7 +829,7 @@ var rt = (0, Je.default)("@pie-lib:config-ui:number-text-field"), it = f(B)(({ t
|
|
|
829
829
|
WebkitAppearance: "none",
|
|
830
830
|
margin: 0
|
|
831
831
|
}
|
|
832
|
-
})), ft =
|
|
832
|
+
})), ft = I(w)(() => ({ padding: "2px" })), pt = (e, t) => {
|
|
833
833
|
if (!W(e) && !W(t)) return 0;
|
|
834
834
|
if (!W(e) && W(t)) return t;
|
|
835
835
|
if (W(e)) return e;
|
|
@@ -1005,7 +1005,7 @@ function ht(e) {
|
|
|
1005
1005
|
function gt(e, t) {
|
|
1006
1006
|
return !e || ht(e) ? e : ht(e.default) ? e.default : t && ht(e[t]) ? e[t] : t && ht(e[t]?.default) ? e[t].default : e;
|
|
1007
1007
|
}
|
|
1008
|
-
var _t =
|
|
1008
|
+
var _t = B, vt = _t.default, yt = vt && typeof vt == "object" ? vt : _t, bt = gt(i, "InputContainer") || gt(yt.InputContainer, "InputContainer"), xt = I("div")(({ theme: e, direction: t }) => ({
|
|
1009
1009
|
display: "flex",
|
|
1010
1010
|
flexWrap: "wrap",
|
|
1011
1011
|
paddingLeft: 0,
|
|
@@ -1078,14 +1078,14 @@ var wt = Object.defineProperty, Tt = (e, t) => {
|
|
|
1078
1078
|
enumerable: !0
|
|
1079
1079
|
});
|
|
1080
1080
|
return t || wt(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
1081
|
-
}, Et =
|
|
1081
|
+
}, Et = I("div")(() => ({
|
|
1082
1082
|
display: "flex",
|
|
1083
1083
|
flexDirection: "column",
|
|
1084
1084
|
position: "relative"
|
|
1085
|
-
})), Dt =
|
|
1085
|
+
})), Dt = I("div")(() => ({
|
|
1086
1086
|
display: "flex",
|
|
1087
1087
|
justifyContent: "space-between"
|
|
1088
|
-
})), Ot =
|
|
1088
|
+
})), Ot = I("div")(({ theme: e }) => ({ padding: `${e.spacing(2)} 0` })), kt = I("div")(() => ({ flex: "1" })), At = I("div")(({ theme: e }) => ({ marginLeft: e.spacing(2) })), jt = class extends K.Component {
|
|
1089
1089
|
static propTypes = {
|
|
1090
1090
|
mode: Z.default.oneOf(["tabbed", "inline"]),
|
|
1091
1091
|
secondary: Z.default.oneOfType([Z.default.arrayOf(Z.default.node), Z.default.node]),
|
|
@@ -1563,9 +1563,9 @@ var gn = hn()(function(e) {
|
|
|
1563
1563
|
gn.displayName = "Measure", gn.propTypes.children = Z.default.func;
|
|
1564
1564
|
//#endregion
|
|
1565
1565
|
//#region ../../lib-react/config-ui/dist/layout/settings-box.js
|
|
1566
|
-
var _n =
|
|
1567
|
-
backgroundColor:
|
|
1568
|
-
border: `2px solid ${
|
|
1566
|
+
var _n = I("div")(() => ({
|
|
1567
|
+
backgroundColor: c.white(),
|
|
1568
|
+
border: `2px solid ${c.border()}`,
|
|
1569
1569
|
display: "flex",
|
|
1570
1570
|
flexDirection: "column",
|
|
1571
1571
|
justifyContent: "flex-start",
|
|
@@ -1586,7 +1586,7 @@ var _n = f("div")(() => ({
|
|
|
1586
1586
|
children: t
|
|
1587
1587
|
});
|
|
1588
1588
|
}
|
|
1589
|
-
}, yn =
|
|
1589
|
+
}, yn = S({
|
|
1590
1590
|
typography: { fontFamily: "inherit" },
|
|
1591
1591
|
components: { MuiButton: { styleOverrides: { contained: {
|
|
1592
1592
|
backgroundColor: "#e0e0e0",
|
|
@@ -1618,15 +1618,15 @@ var _n = f("div")(() => ({
|
|
|
1618
1618
|
constructor(...e) {
|
|
1619
1619
|
super(...e), this.state = { layoutMode: void 0 };
|
|
1620
1620
|
}
|
|
1621
|
-
scopeClass =
|
|
1621
|
+
scopeClass = u("extra-css-rules");
|
|
1622
1622
|
onResize = (e) => {
|
|
1623
1623
|
let { bounds: t } = e, { sidePanelMinWidth: n, dimensions: r } = this.props, { maxWidth: i } = r || {}, a = t.width > n && (!i || i > n) ? "inline" : "tabbed";
|
|
1624
1624
|
a !== this.state.layoutMode && this.setState({ layoutMode: a });
|
|
1625
1625
|
};
|
|
1626
1626
|
render() {
|
|
1627
|
-
return /* @__PURE__ */ q(
|
|
1627
|
+
return /* @__PURE__ */ q(te, {
|
|
1628
1628
|
injectFirst: !0,
|
|
1629
|
-
children: /* @__PURE__ */ q(
|
|
1629
|
+
children: /* @__PURE__ */ q(f, {
|
|
1630
1630
|
theme: yn,
|
|
1631
1631
|
children: /* @__PURE__ */ q(gn, {
|
|
1632
1632
|
bounds: !0,
|
|
@@ -1654,18 +1654,18 @@ var _n = f("div")(() => ({
|
|
|
1654
1654
|
}, xn = hn("bounds")(bn), Sn = /* @__PURE__ */ Tt({
|
|
1655
1655
|
ConfigLayout: () => xn,
|
|
1656
1656
|
LayoutContents: () => jt
|
|
1657
|
-
}), Cn =
|
|
1657
|
+
}), Cn = I("div")(() => ({
|
|
1658
1658
|
display: "flex",
|
|
1659
1659
|
width: "100%",
|
|
1660
1660
|
justifyContent: "space-between"
|
|
1661
|
-
})), wn =
|
|
1661
|
+
})), wn = I(v)(({ theme: e }) => ({
|
|
1662
1662
|
color: "rgba(0, 0, 0, 0.89)",
|
|
1663
1663
|
fontSize: e.typography.fontSize,
|
|
1664
1664
|
paddingTop: e.spacing(2)
|
|
1665
|
-
})), Tn =
|
|
1666
|
-
"&.Mui-checked .MuiSwitch-thumb": { color: `${
|
|
1667
|
-
"&.Mui-checked .MuiSwitch-track": { backgroundColor: `${
|
|
1668
|
-
"& .MuiSwitch-track": { backgroundColor: e ? `${
|
|
1665
|
+
})), Tn = I(qe)(({ checked: e }) => ({
|
|
1666
|
+
"&.Mui-checked .MuiSwitch-thumb": { color: `${c.tertiary()} !important` },
|
|
1667
|
+
"&.Mui-checked .MuiSwitch-track": { backgroundColor: `${c.tertiaryLight()} !important` },
|
|
1668
|
+
"& .MuiSwitch-track": { backgroundColor: e ? `${c.tertiaryLight()} !important` : void 0 }
|
|
1669
1669
|
})), En = ({ checked: e, disabled: t, label: n, toggle: r }) => {
|
|
1670
1670
|
let i = le();
|
|
1671
1671
|
return /* @__PURE__ */ J(Cn, { children: [/* @__PURE__ */ q(wn, {
|
|
@@ -1686,12 +1686,12 @@ En.propTypes = {
|
|
|
1686
1686
|
};
|
|
1687
1687
|
//#endregion
|
|
1688
1688
|
//#region ../../lib-react/config-ui/dist/settings/settings-radio-label.js
|
|
1689
|
-
var Dn =
|
|
1689
|
+
var Dn = I(_e)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": {
|
|
1690
1690
|
color: "rgba(0, 0, 0, 0.89)",
|
|
1691
1691
|
fontSize: e.typography.fontSize - 2,
|
|
1692
1692
|
left: "-5px",
|
|
1693
1693
|
position: "relative"
|
|
1694
|
-
} })), On =
|
|
1694
|
+
} })), On = I(Be)(() => ({ color: `${c.tertiary()} !important` })), kn = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(Dn, {
|
|
1695
1695
|
value: t,
|
|
1696
1696
|
control: /* @__PURE__ */ q(On, {
|
|
1697
1697
|
checked: n,
|
|
@@ -1726,7 +1726,7 @@ Nn.propTypes = {
|
|
|
1726
1726
|
value: Z.default.bool,
|
|
1727
1727
|
onChange: Z.default.func
|
|
1728
1728
|
};
|
|
1729
|
-
var Pn =
|
|
1729
|
+
var Pn = I(St)(({ theme: e }) => ({
|
|
1730
1730
|
marginTop: e.spacing(.5),
|
|
1731
1731
|
paddingBottom: e.spacing(.5),
|
|
1732
1732
|
width: "100%",
|
|
@@ -1749,10 +1749,10 @@ Fn.propTypes = {
|
|
|
1749
1749
|
...Mn,
|
|
1750
1750
|
choices: Z.default.arrayOf(Z.default.shape(jn))
|
|
1751
1751
|
};
|
|
1752
|
-
var In = Fn, Ln =
|
|
1752
|
+
var In = Fn, Ln = I("p")(({ theme: e }) => ({
|
|
1753
1753
|
margin: 0,
|
|
1754
1754
|
fontSize: e.typography.fontSize
|
|
1755
|
-
})), Rn =
|
|
1755
|
+
})), Rn = I(k)(({ theme: e }) => ({
|
|
1756
1756
|
marginTop: e.spacing(.5),
|
|
1757
1757
|
border: "2px solid lightgrey",
|
|
1758
1758
|
padding: `0 ${e.spacing(1)}`,
|
|
@@ -1768,7 +1768,7 @@ var In = Fn, Ln = f("p")(({ theme: e }) => ({
|
|
|
1768
1768
|
enter: 225,
|
|
1769
1769
|
exit: 195
|
|
1770
1770
|
} },
|
|
1771
|
-
children: r.map((e, t) => /* @__PURE__ */ q(
|
|
1771
|
+
children: r.map((e, t) => /* @__PURE__ */ q(D, {
|
|
1772
1772
|
value: a(e),
|
|
1773
1773
|
children: i(e)
|
|
1774
1774
|
}, t))
|
|
@@ -1778,10 +1778,10 @@ zn.propTypes = {
|
|
|
1778
1778
|
...Mn,
|
|
1779
1779
|
choices: Z.default.arrayOf(Z.default.string)
|
|
1780
1780
|
};
|
|
1781
|
-
var Bn =
|
|
1781
|
+
var Bn = I(M)(({ theme: e }) => ({
|
|
1782
1782
|
marginRight: e.spacing(3),
|
|
1783
1783
|
marginTop: e.spacing(1)
|
|
1784
|
-
})), Vn = ({ label: e }) => /* @__PURE__ */ q(Bn, { children: e }), Hn =
|
|
1784
|
+
})), Vn = ({ label: e }) => /* @__PURE__ */ q(Bn, { children: e }), Hn = I(ot)(({ theme: e }) => ({
|
|
1785
1785
|
width: "35%",
|
|
1786
1786
|
marginRight: e.spacing(3),
|
|
1787
1787
|
marginTop: e.spacing(1),
|
|
@@ -1827,12 +1827,12 @@ var Gn = {
|
|
|
1827
1827
|
numberField: Un,
|
|
1828
1828
|
checkbox: Nn,
|
|
1829
1829
|
textField: Vn
|
|
1830
|
-
}, Kn =
|
|
1830
|
+
}, Kn = I("div")(({ theme: e }) => ({ margin: `0 0 ${e.spacing(2)} 0` })), qn = I("div")(({ theme: e }) => ({
|
|
1831
1831
|
color: "#495B8F",
|
|
1832
1832
|
fontSize: e.typography.fontSize + 2,
|
|
1833
1833
|
fontWeight: 600,
|
|
1834
1834
|
marginBottom: e.spacing(1)
|
|
1835
|
-
})), Jn =
|
|
1835
|
+
})), Jn = I("p")(({ theme: e }) => ({
|
|
1836
1836
|
fontSize: e.typography.fontSize,
|
|
1837
1837
|
marginBottom: 0
|
|
1838
1838
|
})), Yn = (e) => {
|
|
@@ -1952,14 +1952,14 @@ function sr(e) {
|
|
|
1952
1952
|
function cr(e, t) {
|
|
1953
1953
|
return !e || sr(e) ? e : sr(e.default) ? e.default : t && sr(e[t]) ? e[t] : t && sr(e[t]?.default) ? e[t].default : e;
|
|
1954
1954
|
}
|
|
1955
|
-
var lr =
|
|
1956
|
-
let i =
|
|
1955
|
+
var lr = B, ur = lr.default, dr = ur && typeof ur == "object" ? ur : lr, fr = cr(i, "InputContainer") || cr(dr.InputContainer, "InputContainer"), pr = I("div")(() => ({ width: "160px" })), mr = I(ne)(() => ({ width: "160px" })), hr = I(v)(() => ({ backgroundColor: "transparent" })), gr = ({ onChange: e, value: t, availableChartTypes: n, chartTypeLabel: r }) => {
|
|
1956
|
+
let i = s("chart-type-label");
|
|
1957
1957
|
return /* @__PURE__ */ q(pr, { children: /* @__PURE__ */ J(mr, {
|
|
1958
1958
|
variant: "outlined",
|
|
1959
1959
|
children: [/* @__PURE__ */ q(hr, {
|
|
1960
1960
|
id: i,
|
|
1961
1961
|
children: r
|
|
1962
|
-
}), /* @__PURE__ */ J(
|
|
1962
|
+
}), /* @__PURE__ */ J(k, {
|
|
1963
1963
|
labelId: i,
|
|
1964
1964
|
id: `${i}-select`,
|
|
1965
1965
|
name: "chartType",
|
|
@@ -1971,27 +1971,27 @@ var lr = V, ur = lr.default, dr = ur && typeof ur == "object" ? ur : lr, fr = cr
|
|
|
1971
1971
|
exit: 195
|
|
1972
1972
|
} },
|
|
1973
1973
|
children: [
|
|
1974
|
-
n?.histogram && /* @__PURE__ */ q(
|
|
1974
|
+
n?.histogram && /* @__PURE__ */ q(D, {
|
|
1975
1975
|
value: "histogram",
|
|
1976
1976
|
children: n.histogram
|
|
1977
1977
|
}),
|
|
1978
|
-
n?.bar && /* @__PURE__ */ q(
|
|
1978
|
+
n?.bar && /* @__PURE__ */ q(D, {
|
|
1979
1979
|
value: "bar",
|
|
1980
1980
|
children: n.bar
|
|
1981
1981
|
}),
|
|
1982
|
-
n?.lineDot && /* @__PURE__ */ q(
|
|
1982
|
+
n?.lineDot && /* @__PURE__ */ q(D, {
|
|
1983
1983
|
value: "lineDot",
|
|
1984
1984
|
children: n.lineDot
|
|
1985
1985
|
}),
|
|
1986
|
-
n?.lineCross && /* @__PURE__ */ q(
|
|
1986
|
+
n?.lineCross && /* @__PURE__ */ q(D, {
|
|
1987
1987
|
value: "lineCross",
|
|
1988
1988
|
children: n.lineCross
|
|
1989
1989
|
}),
|
|
1990
|
-
n?.dotPlot && /* @__PURE__ */ q(
|
|
1990
|
+
n?.dotPlot && /* @__PURE__ */ q(D, {
|
|
1991
1991
|
value: "dotPlot",
|
|
1992
1992
|
children: n.dotPlot
|
|
1993
1993
|
}),
|
|
1994
|
-
n?.linePlot && /* @__PURE__ */ q(
|
|
1994
|
+
n?.linePlot && /* @__PURE__ */ q(D, {
|
|
1995
1995
|
value: "linePlot",
|
|
1996
1996
|
children: n.linePlot
|
|
1997
1997
|
})
|
|
@@ -2022,31 +2022,31 @@ var _r = (e, t, n, r, i) => {
|
|
|
2022
2022
|
...i,
|
|
2023
2023
|
data: e
|
|
2024
2024
|
});
|
|
2025
|
-
}, vr =
|
|
2025
|
+
}, vr = I("div")(() => ({ width: "450px" })), yr = I("div")(({ theme: e }) => ({
|
|
2026
2026
|
display: "flex",
|
|
2027
2027
|
flexDirection: "column",
|
|
2028
2028
|
width: "100%",
|
|
2029
2029
|
marginTop: e.spacing(3)
|
|
2030
|
-
})), br =
|
|
2030
|
+
})), br = I("div")(() => ({
|
|
2031
2031
|
display: "flex",
|
|
2032
2032
|
flexDirection: "column",
|
|
2033
2033
|
alignItems: "center"
|
|
2034
|
-
})), xr =
|
|
2034
|
+
})), xr = I("div")(() => ({
|
|
2035
2035
|
display: "flex",
|
|
2036
2036
|
justifyContent: "space-around",
|
|
2037
2037
|
alignItems: "center"
|
|
2038
|
-
})), Sr =
|
|
2038
|
+
})), Sr = I(mt)(({ theme: e }) => ({
|
|
2039
2039
|
width: "130px",
|
|
2040
2040
|
margin: `${e.spacing(1)} ${e.spacing(.5)}`
|
|
2041
|
-
})), Cr =
|
|
2041
|
+
})), Cr = I(mt)(({ theme: e }) => ({
|
|
2042
2042
|
width: "160px",
|
|
2043
2043
|
margin: `${e.spacing(1)} ${e.spacing(.5)}`
|
|
2044
|
-
})), wr =
|
|
2044
|
+
})), wr = I("div")(({ theme: e }) => ({
|
|
2045
2045
|
display: "flex",
|
|
2046
2046
|
justifyContent: "space-between",
|
|
2047
2047
|
alignItems: "center",
|
|
2048
2048
|
margin: `${e.spacing(3)} 0`
|
|
2049
|
-
})), Tr =
|
|
2049
|
+
})), Tr = I(M)(() => ({ color: c.disabled() })), Er = (e) => {
|
|
2050
2050
|
let { model: t, onChange: n, chartDimensions: r, gridValues: i = {}, labelValues: a = {}, studentNewCategoryDefaultLabel: o = {}, availableChartTypes: s = {}, chartTypeLabel: c } = e, [l, u] = ue({
|
|
2051
2051
|
open: !1,
|
|
2052
2052
|
title: "",
|
|
@@ -2071,20 +2071,20 @@ var _r = (e, t, n, r, i) => {
|
|
|
2071
2071
|
label: "Grid Interval",
|
|
2072
2072
|
value: _.step,
|
|
2073
2073
|
variant: "outlined",
|
|
2074
|
-
onChange: (e, t) =>
|
|
2074
|
+
onChange: (e, t) => R("step", t, e),
|
|
2075
2075
|
...D
|
|
2076
2076
|
}), /* @__PURE__ */ q(Cr, {
|
|
2077
2077
|
label: "Label Interval",
|
|
2078
2078
|
value: _.labelStep,
|
|
2079
2079
|
variant: "outlined",
|
|
2080
|
-
onChange: (e, t) =>
|
|
2080
|
+
onChange: (e, t) => R("labelStep", t, e),
|
|
2081
2081
|
...O
|
|
2082
2082
|
})] }), A = (e) => {
|
|
2083
2083
|
u((t) => ({
|
|
2084
2084
|
...t,
|
|
2085
2085
|
open: e
|
|
2086
2086
|
})), f(e);
|
|
2087
|
-
}, j = (e, t) => e.map((e) => (Object.prototype.hasOwnProperty.call(e, t) && (e[t] = t == "interactive"), e)),
|
|
2087
|
+
}, j = (e, t) => e.map((e) => (Object.prototype.hasOwnProperty.call(e, t) && (e[t] = t == "interactive"), e)), P = (e) => {
|
|
2088
2088
|
let { correctAnswer: r, data: i } = t;
|
|
2089
2089
|
y === !1 && j(i, "interactive"), b === !1 && j(i, "editable"), _r(i, e, _, n, t), _r(r.data, !1, _, n, t);
|
|
2090
2090
|
}, F = () => {
|
|
@@ -2108,21 +2108,21 @@ var _r = (e, t, n, r, i) => {
|
|
|
2108
2108
|
...t,
|
|
2109
2109
|
graph: i
|
|
2110
2110
|
});
|
|
2111
|
-
},
|
|
2112
|
-
g(_[e]), m(e), _[e] = r, (e === "max" || e === "step") && (
|
|
2111
|
+
}, ee = (e, t) => (e || []).find((e) => e.value > t.max || e.value - t.step * Math.floor(e.value / t.step) !== 0), R = (e, r, i) => {
|
|
2112
|
+
g(_[e]), m(e), _[e] = r, (e === "max" || e === "step") && (ee(t.data, _) || ee(t.correctAnswer.data, _)) && i?.target ? f(!0) : n({
|
|
2113
2113
|
...t,
|
|
2114
2114
|
range: _
|
|
2115
2115
|
});
|
|
2116
2116
|
};
|
|
2117
2117
|
ce(() => {
|
|
2118
|
-
|
|
2118
|
+
P(!0), F();
|
|
2119
2119
|
}, []), ce(() => {
|
|
2120
2120
|
d && u({
|
|
2121
2121
|
open: !0,
|
|
2122
2122
|
title: "Warning",
|
|
2123
2123
|
text: "This change will remove values defined for one or more categories",
|
|
2124
2124
|
onConfirm: () => {
|
|
2125
|
-
|
|
2125
|
+
P(), A(!1), n({
|
|
2126
2126
|
...t,
|
|
2127
2127
|
range: _,
|
|
2128
2128
|
correctAnswer: v
|
|
@@ -2133,20 +2133,20 @@ var _r = (e, t, n, r, i) => {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
});
|
|
2135
2135
|
}, [d]);
|
|
2136
|
-
let
|
|
2136
|
+
let te = _.step === 1 && _.labelStep === 1 && 3 <= _.max && _.max <= 10, z = () => {
|
|
2137
2137
|
I.min = 3, I.max = 10, _.max = 10, _.step = 1, _.labelStep = 1, n({
|
|
2138
2138
|
...t,
|
|
2139
2139
|
range: _
|
|
2140
2140
|
});
|
|
2141
|
-
},
|
|
2141
|
+
}, B = (e) => {
|
|
2142
2142
|
if (e.includes("Plot")) {
|
|
2143
|
-
if (!
|
|
2143
|
+
if (!te) {
|
|
2144
2144
|
u({
|
|
2145
2145
|
open: !0,
|
|
2146
2146
|
title: "Warning",
|
|
2147
2147
|
text: "The selected chart type does not support the current chart configuration. Reset chart configuration?",
|
|
2148
2148
|
onConfirm: () => {
|
|
2149
|
-
|
|
2149
|
+
z(), P(), A(!1), n({
|
|
2150
2150
|
...t,
|
|
2151
2151
|
range: _,
|
|
2152
2152
|
chartType: e
|
|
@@ -2170,14 +2170,14 @@ var _r = (e, t, n, r, i) => {
|
|
|
2170
2170
|
});
|
|
2171
2171
|
};
|
|
2172
2172
|
return /* @__PURE__ */ J(vr, { children: [
|
|
2173
|
-
/* @__PURE__ */ q(
|
|
2173
|
+
/* @__PURE__ */ q(M, {
|
|
2174
2174
|
variant: "subtitle1",
|
|
2175
2175
|
children: "Configure Chart"
|
|
2176
2176
|
}),
|
|
2177
2177
|
/* @__PURE__ */ J(yr, { children: [
|
|
2178
2178
|
/* @__PURE__ */ J(xr, { children: [/* @__PURE__ */ q(gr, {
|
|
2179
2179
|
value: t.chartType,
|
|
2180
|
-
onChange: (e) =>
|
|
2180
|
+
onChange: (e) => B(e.target.value),
|
|
2181
2181
|
availableChartTypes: s,
|
|
2182
2182
|
chartTypeLabel: c
|
|
2183
2183
|
}), /* @__PURE__ */ q(Cr, {
|
|
@@ -2186,11 +2186,11 @@ var _r = (e, t, n, r, i) => {
|
|
|
2186
2186
|
min: I(t.chartType).min,
|
|
2187
2187
|
max: I(t.chartType).max,
|
|
2188
2188
|
variant: "outlined",
|
|
2189
|
-
onChange: (e, t) =>
|
|
2189
|
+
onChange: (e, t) => R("max", t, e)
|
|
2190
2190
|
})] }),
|
|
2191
2191
|
!t.chartType.includes("Plot") && k,
|
|
2192
2192
|
S && /* @__PURE__ */ J(wr, { children: [
|
|
2193
|
-
/* @__PURE__ */ q("div", { children: /* @__PURE__ */ q(
|
|
2193
|
+
/* @__PURE__ */ q("div", { children: /* @__PURE__ */ q(M, { children: "Dimensions(px)" }) }),
|
|
2194
2194
|
/* @__PURE__ */ J(br, { children: [/* @__PURE__ */ q(Sr, {
|
|
2195
2195
|
label: "Width",
|
|
2196
2196
|
value: x.width,
|
|
@@ -2211,7 +2211,7 @@ var _r = (e, t, n, r, i) => {
|
|
|
2211
2211
|
}), /* @__PURE__ */ q(Tr, { children: "Min 400, Max 700" })] })
|
|
2212
2212
|
] })
|
|
2213
2213
|
] }),
|
|
2214
|
-
/* @__PURE__ */ q(
|
|
2214
|
+
/* @__PURE__ */ q(N, {
|
|
2215
2215
|
open: l.open,
|
|
2216
2216
|
title: l.title,
|
|
2217
2217
|
text: l.text,
|
|
@@ -2295,11 +2295,11 @@ var Dr = class e extends CustomEvent {
|
|
|
2295
2295
|
detail: t
|
|
2296
2296
|
}), this.handler = t;
|
|
2297
2297
|
}
|
|
2298
|
-
}, Mr =
|
|
2298
|
+
}, Mr = I("div")(({ theme: e }) => ({
|
|
2299
2299
|
marginBottom: e.spacing(2.5),
|
|
2300
2300
|
display: "flex",
|
|
2301
2301
|
flex: 1
|
|
2302
|
-
})), Nr =
|
|
2302
|
+
})), Nr = I("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Pr = I("div")({ flex: 1 }), Fr = I(L)({ color: `${c.tertiary()} !important` }), Ir = (e, t) => {
|
|
2303
2303
|
if (!e) return t;
|
|
2304
2304
|
let n = [];
|
|
2305
2305
|
return (t || []).forEach((t, r) => {
|
|
@@ -2361,12 +2361,12 @@ var Dr = class e extends CustomEvent {
|
|
|
2361
2361
|
render() {
|
|
2362
2362
|
let { model: e, charts: t, labelsPlaceholders: n, titlePlaceholder: r, showPixelGuides: i, authorNewCategoryDefaults: a, chartingOptions: o, mathMlOptions: s = {}, labelsCharactersLimit: c } = this.props, { dialog: l } = this.state, { domain: u = {}, range: d = {} } = e || {};
|
|
2363
2363
|
return /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q(Nr, { children: "Define Initial Chart Attributes" }), /* @__PURE__ */ q(Mr, { children: /* @__PURE__ */ J(Pr, { children: [
|
|
2364
|
-
/* @__PURE__ */ q(
|
|
2364
|
+
/* @__PURE__ */ q(M, {
|
|
2365
2365
|
component: "div",
|
|
2366
2366
|
type: "body1",
|
|
2367
2367
|
children: /* @__PURE__ */ q("span", { children: "Use the tools below to set up the chart as it will initially appear to students." })
|
|
2368
2368
|
}),
|
|
2369
|
-
/* @__PURE__ */ q(
|
|
2369
|
+
/* @__PURE__ */ q(R, {
|
|
2370
2370
|
defineChart: !0,
|
|
2371
2371
|
chartingOptions: o,
|
|
2372
2372
|
showPixelGuides: i,
|
|
@@ -2399,7 +2399,7 @@ var Dr = class e extends CustomEvent {
|
|
|
2399
2399
|
this.changeAddRemoveEnabled(e.target.checked);
|
|
2400
2400
|
}
|
|
2401
2401
|
}), o?.addCategory?.authoringLabel] }),
|
|
2402
|
-
/* @__PURE__ */ q(
|
|
2402
|
+
/* @__PURE__ */ q(N, {
|
|
2403
2403
|
open: l.open,
|
|
2404
2404
|
title: l.title,
|
|
2405
2405
|
text: l.text,
|
|
@@ -2408,15 +2408,15 @@ var Dr = class e extends CustomEvent {
|
|
|
2408
2408
|
})
|
|
2409
2409
|
] }, "graph") })] });
|
|
2410
2410
|
}
|
|
2411
|
-
}, Rr =
|
|
2411
|
+
}, Rr = I("div")(({ theme: e }) => ({
|
|
2412
2412
|
marginBottom: e.spacing(2.5),
|
|
2413
2413
|
display: "flex",
|
|
2414
2414
|
flex: 1
|
|
2415
|
-
})), zr =
|
|
2415
|
+
})), zr = I("div")({ flex: 1 }), Br = I("div")(({ theme: e }) => ({ border: `2px solid ${e.palette.error.main}` })), Vr = I(M)(({ theme: e }) => ({
|
|
2416
2416
|
fontSize: e.typography.fontSize - 2,
|
|
2417
2417
|
color: e.palette.error.main,
|
|
2418
2418
|
paddingTop: e.spacing(1)
|
|
2419
|
-
})), Hr =
|
|
2419
|
+
})), Hr = I("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Ur = (e, t) => e.map((e, n) => ({
|
|
2420
2420
|
...e,
|
|
2421
2421
|
editable: n < t.length ? t[n].editable : !0,
|
|
2422
2422
|
interactive: n < t.length ? t[n].interactive : !0,
|
|
@@ -2485,12 +2485,12 @@ var Dr = class e extends CustomEvent {
|
|
|
2485
2485
|
render() {
|
|
2486
2486
|
let { model: e, charts: t, error: n, studentNewCategoryDefaultLabel: r, correctAnswerErrors: i, mathMlOptions: a = {}, labelsPlaceholders: o = {} } = this.props, { categories: s } = this.state, { domain: c = {}, range: l = {} } = e || {}, { identicalError: u, categoriesError: d } = i || {};
|
|
2487
2487
|
return /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q(Hr, { children: "Define Correct Response" }), /* @__PURE__ */ q(Rr, { children: /* @__PURE__ */ J(zr, { children: [
|
|
2488
|
-
/* @__PURE__ */ q(
|
|
2488
|
+
/* @__PURE__ */ q(M, {
|
|
2489
2489
|
component: "div",
|
|
2490
2490
|
type: "body1",
|
|
2491
2491
|
children: /* @__PURE__ */ q("span", { children: "Use the tools below to define the correct answer." })
|
|
2492
2492
|
}),
|
|
2493
|
-
q(u || d ? Br : "div", { children: /* @__PURE__ */ q(
|
|
2493
|
+
q(u || d ? Br : "div", { children: /* @__PURE__ */ q(R, {
|
|
2494
2494
|
chartType: e.chartType,
|
|
2495
2495
|
size: e.graph,
|
|
2496
2496
|
domain: c,
|
|
@@ -2751,21 +2751,21 @@ var Dr = class e extends CustomEvent {
|
|
|
2751
2751
|
gridValues: i,
|
|
2752
2752
|
labelValues: a
|
|
2753
2753
|
};
|
|
2754
|
-
}, ti = (0, Je.default)("@pie-element:graphing:configure"), { Panel: ni, toggle: $, radio: ri, dropdown: ii, textField: ai } = Zn, oi =
|
|
2754
|
+
}, ti = (0, Je.default)("@pie-element:graphing:configure"), { Panel: ni, toggle: $, radio: ri, dropdown: ii, textField: ai } = Zn, oi = I(fr)(({ theme: e }) => ({
|
|
2755
2755
|
width: "100%",
|
|
2756
2756
|
paddingTop: e.spacing(2),
|
|
2757
2757
|
marginBottom: e.spacing(2)
|
|
2758
|
-
})), si =
|
|
2758
|
+
})), si = I(M)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), ci = I("div")(({ theme: e }) => ({
|
|
2759
2759
|
fontSize: e.typography.fontSize - 2,
|
|
2760
2760
|
color: e.palette.error.main,
|
|
2761
2761
|
paddingTop: e.spacing(1)
|
|
2762
2762
|
})), li = [
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2763
|
+
T.Bar(),
|
|
2764
|
+
T.Histogram(),
|
|
2765
|
+
T.LineDot(),
|
|
2766
|
+
T.LineCross(),
|
|
2767
|
+
T.DotPlot(),
|
|
2768
|
+
T.LinePlot()
|
|
2769
2769
|
], ui = class extends K.Component {
|
|
2770
2770
|
constructor(e) {
|
|
2771
2771
|
super(e);
|
|
@@ -2804,7 +2804,7 @@ var Dr = class e extends CustomEvent {
|
|
|
2804
2804
|
render() {
|
|
2805
2805
|
let { configuration: e, imageSupport: t, model: n, onConfigurationChanged: r, onModelChanged: i, uploadSoundSupport: a } = this.props;
|
|
2806
2806
|
ti("[render] model", n);
|
|
2807
|
-
let { graph: o } = n, { baseInputConfiguration: s = {}, contentDimensions: c = {}, chartDimensions: l = {}, authorNewCategoryDefaults: u = {}, labelsPlaceholders: d = {}, instruction: f = {}, maxImageWidth: p = {}, maxImageHeight: m = {}, prompt: h = {}, rationale: g = {}, scoringType: _ = {}, settingsPanelDisabled: v, spellCheck: y = {}, studentInstructions: b = {}, teacherInstructions: x = {}, titlePlaceholder: S = {}, withRubric: C = {}, chartingOptions: w = {}, availableChartTypes: T = {}, mathMlOptions: E = {}, chartTypeLabel: D, language: O = {}, languageChoices: k = {}, labelsCharactersLimit: A } = e || {}, { errors: j, extraCSSRules: M, promptEnabled: N, rationaleEnabled: P, spellCheckEnabled: F, teacherInstructionsEnabled: I, studentNewCategoryDefaultLabel: L } = n || {}, { categoryErrors:
|
|
2807
|
+
let { graph: o } = n, { baseInputConfiguration: s = {}, contentDimensions: c = {}, chartDimensions: l = {}, authorNewCategoryDefaults: u = {}, labelsPlaceholders: d = {}, instruction: f = {}, maxImageWidth: p = {}, maxImageHeight: m = {}, prompt: h = {}, rationale: g = {}, scoringType: _ = {}, settingsPanelDisabled: v, spellCheck: y = {}, studentInstructions: b = {}, teacherInstructions: x = {}, titlePlaceholder: S = {}, withRubric: C = {}, chartingOptions: w = {}, availableChartTypes: T = {}, mathMlOptions: E = {}, chartTypeLabel: D, language: O = {}, languageChoices: k = {}, labelsCharactersLimit: A } = e || {}, { errors: j, extraCSSRules: M, promptEnabled: N, rationaleEnabled: P, spellCheckEnabled: F, teacherInstructionsEnabled: I, studentNewCategoryDefaultLabel: L } = n || {}, { categoryErrors: R, correctAnswerErrors: te, prompt: z, rationale: B, teacherInstructions: ne } = j || {}, { gridValues: V, labelValues: re } = this.state, ie = l.showInConfigPanel || !0, H = p && p.prompt, U = m && m.prompt, W = {
|
|
2808
2808
|
changeInteractiveEnabled: w.changeInteractive?.settings && $(w.changeInteractive.settingsLabel),
|
|
2809
2809
|
changeEditableEnabled: w.changeEditable?.settings && $(w.changeEditable.settingsLabel),
|
|
2810
2810
|
changeAddCategoryEnabled: w.addCategory?.settings && $(w.addCategory.settingsLabel)
|
|
@@ -2845,12 +2845,12 @@ var Dr = class e extends CustomEvent {
|
|
|
2845
2845
|
}),
|
|
2846
2846
|
I && /* @__PURE__ */ J(oi, {
|
|
2847
2847
|
label: x.label,
|
|
2848
|
-
children: [/* @__PURE__ */ q(
|
|
2848
|
+
children: [/* @__PURE__ */ q(ee, {
|
|
2849
2849
|
markup: n.teacherInstructions || "",
|
|
2850
2850
|
onChange: this.onTeacherInstructionsChange,
|
|
2851
2851
|
imageSupport: t,
|
|
2852
2852
|
nonEmpty: !1,
|
|
2853
|
-
error:
|
|
2853
|
+
error: ne,
|
|
2854
2854
|
spellCheck: F,
|
|
2855
2855
|
pluginProps: G(x?.inputConfiguration),
|
|
2856
2856
|
maxImageWidth: p && p.teacherInstructions || H,
|
|
@@ -2858,16 +2858,16 @@ var Dr = class e extends CustomEvent {
|
|
|
2858
2858
|
uploadSoundSupport: a,
|
|
2859
2859
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
2860
2860
|
mathMlOptions: E
|
|
2861
|
-
}),
|
|
2861
|
+
}), ne && /* @__PURE__ */ q(ci, { children: ne })]
|
|
2862
2862
|
}),
|
|
2863
2863
|
N && /* @__PURE__ */ J(oi, {
|
|
2864
2864
|
label: h.label,
|
|
2865
|
-
children: [/* @__PURE__ */ q(
|
|
2865
|
+
children: [/* @__PURE__ */ q(ee, {
|
|
2866
2866
|
markup: n.prompt,
|
|
2867
2867
|
onChange: this.onPromptChange,
|
|
2868
2868
|
imageSupport: t,
|
|
2869
2869
|
nonEmpty: !1,
|
|
2870
|
-
error:
|
|
2870
|
+
error: z,
|
|
2871
2871
|
spellCheck: F,
|
|
2872
2872
|
disableUnderline: !0,
|
|
2873
2873
|
pluginProps: G(h?.inputConfiguration),
|
|
@@ -2876,12 +2876,12 @@ var Dr = class e extends CustomEvent {
|
|
|
2876
2876
|
uploadSoundSupport: a,
|
|
2877
2877
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
2878
2878
|
mathMlOptions: E
|
|
2879
|
-
}),
|
|
2879
|
+
}), z && /* @__PURE__ */ q(ci, { children: z })]
|
|
2880
2880
|
}),
|
|
2881
2881
|
/* @__PURE__ */ q(Er, {
|
|
2882
2882
|
model: n,
|
|
2883
2883
|
onChange: this.onConfigChange,
|
|
2884
|
-
gridValues:
|
|
2884
|
+
gridValues: V,
|
|
2885
2885
|
labelValues: re,
|
|
2886
2886
|
chartDimensions: l,
|
|
2887
2887
|
studentNewCategoryDefaultLabel: L,
|
|
@@ -2905,19 +2905,19 @@ var Dr = class e extends CustomEvent {
|
|
|
2905
2905
|
model: n,
|
|
2906
2906
|
onChange: i,
|
|
2907
2907
|
charts: li,
|
|
2908
|
-
error:
|
|
2909
|
-
correctAnswerErrors:
|
|
2908
|
+
error: R,
|
|
2909
|
+
correctAnswerErrors: te,
|
|
2910
2910
|
studentNewCategoryDefaultLabel: L,
|
|
2911
2911
|
mathMlOptions: E,
|
|
2912
2912
|
labelsPlaceholders: d
|
|
2913
2913
|
}),
|
|
2914
2914
|
P && /* @__PURE__ */ J(oi, {
|
|
2915
2915
|
label: g.label || "Rationale",
|
|
2916
|
-
children: [/* @__PURE__ */ q(
|
|
2916
|
+
children: [/* @__PURE__ */ q(ee, {
|
|
2917
2917
|
markup: n.rationale || "",
|
|
2918
2918
|
onChange: this.onRationaleChange,
|
|
2919
2919
|
imageSupport: t,
|
|
2920
|
-
error:
|
|
2920
|
+
error: B,
|
|
2921
2921
|
spellCheck: F,
|
|
2922
2922
|
pluginProps: G(g?.inputConfiguration),
|
|
2923
2923
|
maxImageWidth: p && p.rationale || H,
|
|
@@ -2925,7 +2925,7 @@ var Dr = class e extends CustomEvent {
|
|
|
2925
2925
|
uploadSoundSupport: a,
|
|
2926
2926
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
2927
2927
|
mathMlOptions: E
|
|
2928
|
-
}),
|
|
2928
|
+
}), B && /* @__PURE__ */ q(ci, { children: B })]
|
|
2929
2929
|
})
|
|
2930
2930
|
]
|
|
2931
2931
|
});
|
|
@@ -3188,7 +3188,7 @@ var Dr = class e extends CustomEvent {
|
|
|
3188
3188
|
}
|
|
3189
3189
|
}, mi = Object.freeze({
|
|
3190
3190
|
name: "@pie-element/charting",
|
|
3191
|
-
version: "13.0.
|
|
3191
|
+
version: "13.0.7-next.20261019062545"
|
|
3192
3192
|
});
|
|
3193
3193
|
//#endregion
|
|
3194
3194
|
export { pi as default, mi as piePackage };
|