@pie-element/extended-text-entry 15.1.2-next.10 → 15.1.2-next.12
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 +172 -172
- package/dist/browser/delivery/index.js +72 -18
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/{dist-BefNeqwZ.js → dist-CnfFKHzv.js} +6515 -6501
- package/dist/browser/{dist-BefNeqwZ.js.map → dist-CnfFKHzv.js.map} +1 -1
- package/dist/browser/{main-1U6_tsVt.js → main-C6TaNfom.js} +180 -182
- package/dist/browser/{main-1U6_tsVt.js.map → main-C6TaNfom.js.map} +1 -1
- package/dist/browser/print/index.js +5 -5
- package/dist/delivery/index.js +17 -13
- package/dist/delivery/main.d.ts +0 -2
- package/dist/delivery/main.js +57 -60
- package/dist/index.iife.js +34 -34
- package/dist/print/index.js +13 -13
- package/module/print.js +465 -456
- package/module/print.js.map +1 -1
- package/package.json +5 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t } from "../browser-kkT1XVKw.js";
|
|
2
|
-
import { 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,
|
|
2
|
+
import { 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, N as m, O as h, P as g, R as _, S as v, T as y, U as b, V as x, W as S, Y as C, a as w, b as T, c as E, d as D, f as O, h as k, i as A, k as j, l as M, m as N, n as P, o as F, p as I, q as L, r as R, s as z, t as ee, w as te, z as B } from "../dist-CnfFKHzv.js";
|
|
3
3
|
import * as V from "react";
|
|
4
4
|
import H, { Component as ne, createElement as re } from "react";
|
|
5
5
|
import { jsx as U, jsxs as W } from "react/jsx-runtime";
|
|
@@ -9,9 +9,9 @@ var ae = a;
|
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/internal/switchBaseClasses.js
|
|
11
11
|
function oe(e) {
|
|
12
|
-
return
|
|
12
|
+
return c("PrivateSwitchBase", e);
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
S("PrivateSwitchBase", [
|
|
15
15
|
"root",
|
|
16
16
|
"checked",
|
|
17
17
|
"disabled",
|
|
@@ -23,7 +23,7 @@ B("PrivateSwitchBase", [
|
|
|
23
23
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/internal/SwitchBase.js
|
|
24
24
|
var se = (e) => {
|
|
25
25
|
let { classes: t, checked: n, disabled: r, edge: i } = e;
|
|
26
|
-
return
|
|
26
|
+
return L({
|
|
27
27
|
root: [
|
|
28
28
|
"root",
|
|
29
29
|
n && "checked",
|
|
@@ -32,7 +32,7 @@ var se = (e) => {
|
|
|
32
32
|
],
|
|
33
33
|
input: ["input"]
|
|
34
34
|
}, oe, t);
|
|
35
|
-
}, ce =
|
|
35
|
+
}, ce = r(i, { name: "MuiSwitchBase" })({
|
|
36
36
|
padding: 9,
|
|
37
37
|
borderRadius: "50%",
|
|
38
38
|
variants: [
|
|
@@ -59,9 +59,9 @@ var se = (e) => {
|
|
|
59
59
|
style: { marginRight: -12 }
|
|
60
60
|
}
|
|
61
61
|
]
|
|
62
|
-
}), le =
|
|
62
|
+
}), le = r("input", {
|
|
63
63
|
name: "MuiSwitchBase",
|
|
64
|
-
shouldForwardProp:
|
|
64
|
+
shouldForwardProp: x
|
|
65
65
|
})({
|
|
66
66
|
cursor: "inherit",
|
|
67
67
|
position: "absolute",
|
|
@@ -79,7 +79,7 @@ var se = (e) => {
|
|
|
79
79
|
default: !!a,
|
|
80
80
|
name: "SwitchBase",
|
|
81
81
|
state: "checked"
|
|
82
|
-
}), k =
|
|
82
|
+
}), k = I(), A = (e) => {
|
|
83
83
|
g && g(e), k && k.onFocus && k.onFocus(e);
|
|
84
84
|
}, j = (e) => {
|
|
85
85
|
m && m(e), k && k.onBlur && k.onBlur(e);
|
|
@@ -95,7 +95,7 @@ var se = (e) => {
|
|
|
95
95
|
disabled: N,
|
|
96
96
|
disableFocusRipple: s,
|
|
97
97
|
edge: c
|
|
98
|
-
},
|
|
98
|
+
}, L = se(F), R = {
|
|
99
99
|
slots: C,
|
|
100
100
|
slotProps: {
|
|
101
101
|
input: d,
|
|
@@ -104,7 +104,7 @@ var se = (e) => {
|
|
|
104
104
|
}, [z, ee] = T("root", {
|
|
105
105
|
ref: t,
|
|
106
106
|
elementType: ce,
|
|
107
|
-
className:
|
|
107
|
+
className: L.root,
|
|
108
108
|
shouldForwardComponentProp: !0,
|
|
109
109
|
externalForwardedProps: {
|
|
110
110
|
...R,
|
|
@@ -130,7 +130,7 @@ var se = (e) => {
|
|
|
130
130
|
}), [te, B] = T("input", {
|
|
131
131
|
ref: f,
|
|
132
132
|
elementType: le,
|
|
133
|
-
className:
|
|
133
|
+
className: L.input,
|
|
134
134
|
externalForwardedProps: R,
|
|
135
135
|
getSlotProps: (e) => ({
|
|
136
136
|
...e,
|
|
@@ -161,9 +161,9 @@ var se = (e) => {
|
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js
|
|
163
163
|
function me(e) {
|
|
164
|
-
return
|
|
164
|
+
return c("MuiCheckbox", e);
|
|
165
165
|
}
|
|
166
|
-
var he =
|
|
166
|
+
var he = S("MuiCheckbox", [
|
|
167
167
|
"root",
|
|
168
168
|
"checked",
|
|
169
169
|
"disabled",
|
|
@@ -173,7 +173,7 @@ var he = B("MuiCheckbox", [
|
|
|
173
173
|
"sizeSmall",
|
|
174
174
|
"sizeMedium"
|
|
175
175
|
]), ge = (e) => {
|
|
176
|
-
let { classes: t, indeterminate: n, color: r, size: i } = e, a =
|
|
176
|
+
let { classes: t, indeterminate: n, color: r, size: i } = e, a = L({ root: [
|
|
177
177
|
"root",
|
|
178
178
|
n && "indeterminate",
|
|
179
179
|
`color${p(r)}`,
|
|
@@ -183,8 +183,8 @@ var he = B("MuiCheckbox", [
|
|
|
183
183
|
...t,
|
|
184
184
|
...a
|
|
185
185
|
};
|
|
186
|
-
}, _e =
|
|
187
|
-
shouldForwardProp: (e) =>
|
|
186
|
+
}, _e = r(ue, {
|
|
187
|
+
shouldForwardProp: (e) => x(e) || e === "classes",
|
|
188
188
|
name: "MuiCheckbox",
|
|
189
189
|
slot: "Root",
|
|
190
190
|
overridesResolver: (e, t) => {
|
|
@@ -196,7 +196,7 @@ var he = B("MuiCheckbox", [
|
|
|
196
196
|
n.color !== "default" && t[`color${p(n.color)}`]
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
|
-
})(
|
|
199
|
+
})(B(({ theme: e }) => ({
|
|
200
200
|
color: (e.vars || e).palette.text.secondary,
|
|
201
201
|
variants: [
|
|
202
202
|
{
|
|
@@ -206,14 +206,14 @@ var he = B("MuiCheckbox", [
|
|
|
206
206
|
},
|
|
207
207
|
style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity) } }
|
|
208
208
|
},
|
|
209
|
-
...Object.entries(e.palette).filter(
|
|
209
|
+
...Object.entries(e.palette).filter(u()).map(([t]) => ({
|
|
210
210
|
props: {
|
|
211
211
|
color: t,
|
|
212
212
|
disableRipple: !1
|
|
213
213
|
},
|
|
214
214
|
style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity) } }
|
|
215
215
|
})),
|
|
216
|
-
...Object.entries(e.palette).filter(
|
|
216
|
+
...Object.entries(e.palette).filter(u()).map(([t]) => ({
|
|
217
217
|
props: { color: t },
|
|
218
218
|
style: {
|
|
219
219
|
[`&.${he.checked}, &.${he.indeterminate}`]: { color: (e.vars || e).palette[t].main },
|
|
@@ -226,33 +226,33 @@ var he = B("MuiCheckbox", [
|
|
|
226
226
|
}
|
|
227
227
|
]
|
|
228
228
|
}))), ve = /*#__PURE__*/ U(fe, {}), ye = /*#__PURE__*/ U(de, {}), be = /*#__PURE__*/ U(pe, {}), xe = /*#__PURE__*/ V.forwardRef(function(e, t) {
|
|
229
|
-
let n =
|
|
229
|
+
let n = _({
|
|
230
230
|
props: e,
|
|
231
231
|
name: "MuiCheckbox"
|
|
232
|
-
}), { checkedIcon: r = ve, color: i = "primary", icon: a = ye, indeterminate: o = !1, indeterminateIcon: s = be, inputProps: c, size: l = "medium", disableRipple: u = !1, className:
|
|
232
|
+
}), { checkedIcon: r = ve, color: i = "primary", icon: a = ye, indeterminate: o = !1, indeterminateIcon: s = be, inputProps: c, size: l = "medium", disableRipple: u = !1, className: f, slots: p = {}, slotProps: m = {}, ...h } = n, g = o ? s : a, v = o ? s : r, y = {
|
|
233
233
|
...n,
|
|
234
234
|
disableRipple: u,
|
|
235
235
|
color: i,
|
|
236
236
|
indeterminate: o,
|
|
237
237
|
size: l
|
|
238
|
-
},
|
|
238
|
+
}, b = ge(y), x = m.input ?? c, [S, C] = T("root", {
|
|
239
239
|
ref: t,
|
|
240
240
|
elementType: _e,
|
|
241
|
-
className: b
|
|
241
|
+
className: d(b.root, f),
|
|
242
242
|
shouldForwardComponentProp: !0,
|
|
243
243
|
externalForwardedProps: {
|
|
244
|
-
slots:
|
|
245
|
-
slotProps:
|
|
244
|
+
slots: p,
|
|
245
|
+
slotProps: m,
|
|
246
246
|
...h
|
|
247
247
|
},
|
|
248
|
-
ownerState:
|
|
248
|
+
ownerState: y,
|
|
249
249
|
additionalProps: {
|
|
250
250
|
type: "checkbox",
|
|
251
251
|
icon: /*#__PURE__*/ V.cloneElement(g, { fontSize: g.props.fontSize ?? l }),
|
|
252
|
-
checkedIcon: /*#__PURE__*/ V.cloneElement(
|
|
252
|
+
checkedIcon: /*#__PURE__*/ V.cloneElement(v, { fontSize: v.props.fontSize ?? l }),
|
|
253
253
|
disableRipple: u,
|
|
254
|
-
slots:
|
|
255
|
-
slotProps: { input: te(typeof x == "function" ? x(
|
|
254
|
+
slots: p,
|
|
255
|
+
slotProps: { input: te(typeof x == "function" ? x(y) : x, {
|
|
256
256
|
"data-indeterminate": o,
|
|
257
257
|
"aria-checked": o ? "mixed" : void 0
|
|
258
258
|
}) }
|
|
@@ -260,15 +260,15 @@ var he = B("MuiCheckbox", [
|
|
|
260
260
|
});
|
|
261
261
|
return /*#__PURE__*/ U(S, {
|
|
262
262
|
...C,
|
|
263
|
-
classes:
|
|
263
|
+
classes: b
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
266
|
//#endregion
|
|
267
267
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js
|
|
268
268
|
function Se(e) {
|
|
269
|
-
return
|
|
269
|
+
return c("MuiFormControlLabel", e);
|
|
270
270
|
}
|
|
271
|
-
var G =
|
|
271
|
+
var G = S("MuiFormControlLabel", [
|
|
272
272
|
"root",
|
|
273
273
|
"labelPlacementStart",
|
|
274
274
|
"labelPlacementTop",
|
|
@@ -280,7 +280,7 @@ var G = B("MuiFormControlLabel", [
|
|
|
280
280
|
"asterisk"
|
|
281
281
|
]), Ce = (e) => {
|
|
282
282
|
let { classes: t, disabled: n, labelPlacement: r, error: i, required: a } = e;
|
|
283
|
-
return
|
|
283
|
+
return L({
|
|
284
284
|
root: [
|
|
285
285
|
"root",
|
|
286
286
|
n && "disabled",
|
|
@@ -291,7 +291,7 @@ var G = B("MuiFormControlLabel", [
|
|
|
291
291
|
label: ["label", n && "disabled"],
|
|
292
292
|
asterisk: ["asterisk", i && "error"]
|
|
293
293
|
}, Se, t);
|
|
294
|
-
}, we =
|
|
294
|
+
}, we = r("label", {
|
|
295
295
|
name: "MuiFormControlLabel",
|
|
296
296
|
slot: "Root",
|
|
297
297
|
overridesResolver: (e, t) => {
|
|
@@ -302,7 +302,7 @@ var G = B("MuiFormControlLabel", [
|
|
|
302
302
|
t[`labelPlacement${p(n.labelPlacement)}`]
|
|
303
303
|
];
|
|
304
304
|
}
|
|
305
|
-
})(
|
|
305
|
+
})(B(({ theme: e }) => ({
|
|
306
306
|
display: "inline-flex",
|
|
307
307
|
alignItems: "center",
|
|
308
308
|
cursor: "pointer",
|
|
@@ -333,14 +333,14 @@ var G = B("MuiFormControlLabel", [
|
|
|
333
333
|
style: { marginLeft: 16 }
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
|
-
}))), Te =
|
|
336
|
+
}))), Te = r("span", {
|
|
337
337
|
name: "MuiFormControlLabel",
|
|
338
338
|
slot: "Asterisk"
|
|
339
|
-
})(
|
|
340
|
-
let
|
|
339
|
+
})(B(({ theme: e }) => ({ [`&.${G.error}`]: { color: (e.vars || e).palette.error.main } }))), Ee = /*#__PURE__*/ V.forwardRef(function(e, t) {
|
|
340
|
+
let n = _({
|
|
341
341
|
props: e,
|
|
342
342
|
name: "MuiFormControlLabel"
|
|
343
|
-
}), { checked:
|
|
343
|
+
}), { checked: r, className: i, componentsProps: a = {}, control: o, disabled: c, disableTypography: l, inputRef: u, label: f, labelPlacement: p = "end", name: m, onChange: h, required: g, slots: v = {}, slotProps: y = {}, value: b, ...x } = n, S = I(), C = c ?? o.props.disabled ?? S?.disabled, w = g ?? o.props.required, E = {
|
|
344
344
|
disabled: C,
|
|
345
345
|
required: w
|
|
346
346
|
};
|
|
@@ -351,40 +351,40 @@ var G = B("MuiFormControlLabel", [
|
|
|
351
351
|
"value",
|
|
352
352
|
"inputRef"
|
|
353
353
|
].forEach((e) => {
|
|
354
|
-
|
|
354
|
+
o.props[e] === void 0 && n[e] !== void 0 && (E[e] = n[e]);
|
|
355
355
|
});
|
|
356
356
|
let D = k({
|
|
357
|
-
props:
|
|
357
|
+
props: n,
|
|
358
358
|
muiFormControl: S,
|
|
359
359
|
states: ["error"]
|
|
360
360
|
}), O = {
|
|
361
|
-
...
|
|
361
|
+
...n,
|
|
362
362
|
disabled: C,
|
|
363
|
-
labelPlacement:
|
|
363
|
+
labelPlacement: p,
|
|
364
364
|
required: w,
|
|
365
365
|
error: D.error
|
|
366
366
|
}, A = Ce(O), [j, M] = T("typography", {
|
|
367
|
-
elementType:
|
|
367
|
+
elementType: s,
|
|
368
368
|
externalForwardedProps: {
|
|
369
|
-
slots:
|
|
369
|
+
slots: v,
|
|
370
370
|
slotProps: {
|
|
371
|
-
...
|
|
372
|
-
...
|
|
371
|
+
...a,
|
|
372
|
+
...y
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
ownerState: O
|
|
376
|
-
}), N =
|
|
377
|
-
return N != null && N.type !==
|
|
376
|
+
}), N = f;
|
|
377
|
+
return N != null && N.type !== s && !l && (N = /*#__PURE__*/ U(j, {
|
|
378
378
|
component: "span",
|
|
379
379
|
...M,
|
|
380
|
-
className:
|
|
380
|
+
className: d(A.label, M?.className),
|
|
381
381
|
children: N
|
|
382
382
|
})), /*#__PURE__*/ W(we, {
|
|
383
|
-
className:
|
|
383
|
+
className: d(A.root, i),
|
|
384
384
|
ownerState: O,
|
|
385
385
|
ref: t,
|
|
386
386
|
...x,
|
|
387
|
-
children: [/*#__PURE__*/ V.cloneElement(
|
|
387
|
+
children: [/*#__PURE__*/ V.cloneElement(o, E), w ? /*#__PURE__*/ W("div", { children: [N, /*#__PURE__*/ W(Te, {
|
|
388
388
|
ownerState: O,
|
|
389
389
|
"aria-hidden": !0,
|
|
390
390
|
className: A.asterisk,
|
|
@@ -395,9 +395,9 @@ var G = B("MuiFormControlLabel", [
|
|
|
395
395
|
//#endregion
|
|
396
396
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js
|
|
397
397
|
function De(e) {
|
|
398
|
-
return
|
|
398
|
+
return c("MuiInputAdornment", e);
|
|
399
399
|
}
|
|
400
|
-
var Oe =
|
|
400
|
+
var Oe = S("MuiInputAdornment", [
|
|
401
401
|
"root",
|
|
402
402
|
"filled",
|
|
403
403
|
"standard",
|
|
@@ -417,7 +417,7 @@ var Oe = B("MuiInputAdornment", [
|
|
|
417
417
|
];
|
|
418
418
|
}, je = (e) => {
|
|
419
419
|
let { classes: t, disablePointerEvents: n, hiddenLabel: r, position: i, size: a, variant: o } = e;
|
|
420
|
-
return
|
|
420
|
+
return L({ root: [
|
|
421
421
|
"root",
|
|
422
422
|
n && "disablePointerEvents",
|
|
423
423
|
i && `position${p(i)}`,
|
|
@@ -425,11 +425,11 @@ var Oe = B("MuiInputAdornment", [
|
|
|
425
425
|
r && "hiddenLabel",
|
|
426
426
|
a && `size${p(a)}`
|
|
427
427
|
] }, De, t);
|
|
428
|
-
}, Me =
|
|
428
|
+
}, Me = r("div", {
|
|
429
429
|
name: "MuiInputAdornment",
|
|
430
430
|
slot: "Root",
|
|
431
431
|
overridesResolver: Ae
|
|
432
|
-
})(
|
|
432
|
+
})(B(({ theme: e }) => ({
|
|
433
433
|
display: "flex",
|
|
434
434
|
maxHeight: "2em",
|
|
435
435
|
alignItems: "center",
|
|
@@ -454,44 +454,44 @@ var Oe = B("MuiInputAdornment", [
|
|
|
454
454
|
}
|
|
455
455
|
]
|
|
456
456
|
}))), Ne = /*#__PURE__*/ V.forwardRef(function(e, t) {
|
|
457
|
-
let
|
|
457
|
+
let n = _({
|
|
458
458
|
props: e,
|
|
459
459
|
name: "MuiInputAdornment"
|
|
460
|
-
}), { children:
|
|
461
|
-
u &&
|
|
460
|
+
}), { children: r, className: i, component: a = "div", disablePointerEvents: o = !1, disableTypography: c = !1, position: l, variant: u, ...f } = n, p = I() || {}, m = u;
|
|
461
|
+
u && p.variant, p && !m && (m = p.variant);
|
|
462
462
|
let h = {
|
|
463
|
-
...
|
|
464
|
-
hiddenLabel:
|
|
465
|
-
size:
|
|
466
|
-
disablePointerEvents:
|
|
463
|
+
...n,
|
|
464
|
+
hiddenLabel: p.hiddenLabel,
|
|
465
|
+
size: p.size,
|
|
466
|
+
disablePointerEvents: o,
|
|
467
467
|
position: l,
|
|
468
|
-
variant:
|
|
468
|
+
variant: m
|
|
469
469
|
}, g = je(h);
|
|
470
|
-
return /*#__PURE__*/ U(
|
|
470
|
+
return /*#__PURE__*/ U(N.Provider, {
|
|
471
471
|
value: null,
|
|
472
472
|
children: /*#__PURE__*/ U(Me, {
|
|
473
|
-
as:
|
|
473
|
+
as: a,
|
|
474
474
|
ownerState: h,
|
|
475
|
-
className:
|
|
475
|
+
className: d(g.root, i),
|
|
476
476
|
ref: t,
|
|
477
|
-
...
|
|
478
|
-
children: typeof
|
|
477
|
+
...f,
|
|
478
|
+
children: typeof r == "string" && !c ? /*#__PURE__*/ U(s, {
|
|
479
479
|
color: "textSecondary",
|
|
480
|
-
children:
|
|
480
|
+
children: r
|
|
481
481
|
}) : /*#__PURE__*/ W(V.Fragment, { children: [l === "start" ? ke ||= /*#__PURE__*/ U("span", {
|
|
482
482
|
className: "notranslate",
|
|
483
483
|
"aria-hidden": !0,
|
|
484
484
|
children: ""
|
|
485
|
-
}) : null,
|
|
485
|
+
}) : null, r] })
|
|
486
486
|
})
|
|
487
487
|
});
|
|
488
|
-
}), Pe = o(/*#__PURE__*/ U("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"), Fe = o(/*#__PURE__*/ U("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"), Ie =
|
|
488
|
+
}), Pe = o(/*#__PURE__*/ U("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"), Fe = o(/*#__PURE__*/ U("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"), Ie = r("span", {
|
|
489
489
|
name: "MuiRadioButtonIcon",
|
|
490
|
-
shouldForwardProp:
|
|
490
|
+
shouldForwardProp: x
|
|
491
491
|
})({
|
|
492
492
|
position: "relative",
|
|
493
493
|
display: "flex"
|
|
494
|
-
}), Le =
|
|
494
|
+
}), Le = r(Pe, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), Re = r(Fe, { name: "MuiRadioButtonIcon" })(B(({ theme: e }) => ({
|
|
495
495
|
left: 0,
|
|
496
496
|
position: "absolute",
|
|
497
497
|
transform: "scale(0)",
|
|
@@ -540,9 +540,9 @@ function Ve() {
|
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Radio/radioClasses.js
|
|
542
542
|
function He(e) {
|
|
543
|
-
return
|
|
543
|
+
return c("MuiRadio", e);
|
|
544
544
|
}
|
|
545
|
-
var Ue =
|
|
545
|
+
var Ue = S("MuiRadio", [
|
|
546
546
|
"root",
|
|
547
547
|
"checked",
|
|
548
548
|
"disabled",
|
|
@@ -557,10 +557,10 @@ var Ue = B("MuiRadio", [
|
|
|
557
557
|
] };
|
|
558
558
|
return {
|
|
559
559
|
...t,
|
|
560
|
-
...
|
|
560
|
+
...L(i, He, t)
|
|
561
561
|
};
|
|
562
|
-
}, Ge =
|
|
563
|
-
shouldForwardProp: (e) =>
|
|
562
|
+
}, Ge = r(ue, {
|
|
563
|
+
shouldForwardProp: (e) => x(e) || e === "classes",
|
|
564
564
|
name: "MuiRadio",
|
|
565
565
|
slot: "Root",
|
|
566
566
|
overridesResolver: (e, t) => {
|
|
@@ -571,7 +571,7 @@ var Ue = B("MuiRadio", [
|
|
|
571
571
|
t[`color${p(n.color)}`]
|
|
572
572
|
];
|
|
573
573
|
}
|
|
574
|
-
})(
|
|
574
|
+
})(B(({ theme: e }) => ({
|
|
575
575
|
color: (e.vars || e).palette.text.secondary,
|
|
576
576
|
[`&.${Ue.disabled}`]: { color: (e.vars || e).palette.action.disabled },
|
|
577
577
|
variants: [
|
|
@@ -583,7 +583,7 @@ var Ue = B("MuiRadio", [
|
|
|
583
583
|
},
|
|
584
584
|
style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity) } }
|
|
585
585
|
},
|
|
586
|
-
...Object.entries(e.palette).filter(
|
|
586
|
+
...Object.entries(e.palette).filter(u()).map(([t]) => ({
|
|
587
587
|
props: {
|
|
588
588
|
color: t,
|
|
589
589
|
disabled: !1,
|
|
@@ -591,7 +591,7 @@ var Ue = B("MuiRadio", [
|
|
|
591
591
|
},
|
|
592
592
|
style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity) } }
|
|
593
593
|
})),
|
|
594
|
-
...Object.entries(e.palette).filter(
|
|
594
|
+
...Object.entries(e.palette).filter(u()).map(([t]) => ({
|
|
595
595
|
props: {
|
|
596
596
|
color: t,
|
|
597
597
|
disabled: !1
|
|
@@ -608,15 +608,15 @@ function Ke(e, t) {
|
|
|
608
608
|
return typeof t == "object" && t ? e === t : String(e) === String(t);
|
|
609
609
|
}
|
|
610
610
|
var qe = /*#__PURE__*/ U(ze, { checked: !0 }), Je = /*#__PURE__*/ U(ze, {}), Ye = /*#__PURE__*/ V.forwardRef(function(e, t) {
|
|
611
|
-
let n =
|
|
611
|
+
let n = _({
|
|
612
612
|
props: e,
|
|
613
613
|
name: "MuiRadio"
|
|
614
|
-
}), { checked: r, checkedIcon: i = qe, color: a = "primary", icon: o = Je, name: s, onChange: c, size: l = "medium", className: u, disabled:
|
|
615
|
-
|
|
614
|
+
}), { checked: r, checkedIcon: i = qe, color: a = "primary", icon: o = Je, name: s, onChange: c, size: l = "medium", className: u, disabled: f, disableRipple: p = !1, slots: m = {}, slotProps: h = {}, inputProps: g, ...v } = n, y = I(), b = f;
|
|
615
|
+
y && b === void 0 && (b = y.disabled), b ??= !1;
|
|
616
616
|
let x = {
|
|
617
617
|
...n,
|
|
618
|
-
disabled:
|
|
619
|
-
disableRipple:
|
|
618
|
+
disabled: b,
|
|
619
|
+
disableRipple: p,
|
|
620
620
|
color: a,
|
|
621
621
|
size: l
|
|
622
622
|
}, S = We(x), C = Ve(), w = r, E = ae(c, C && C.onChange), D = s;
|
|
@@ -624,12 +624,12 @@ var qe = /*#__PURE__*/ U(ze, { checked: !0 }), Je = /*#__PURE__*/ U(ze, {}), Ye
|
|
|
624
624
|
let O = h.input ?? g, [k, A] = T("root", {
|
|
625
625
|
ref: t,
|
|
626
626
|
elementType: Ge,
|
|
627
|
-
className:
|
|
627
|
+
className: d(S.root, u),
|
|
628
628
|
shouldForwardComponentProp: !0,
|
|
629
629
|
externalForwardedProps: {
|
|
630
|
-
slots:
|
|
630
|
+
slots: m,
|
|
631
631
|
slotProps: h,
|
|
632
|
-
...
|
|
632
|
+
...v
|
|
633
633
|
},
|
|
634
634
|
getSlotProps: (e) => ({
|
|
635
635
|
...e,
|
|
@@ -642,10 +642,10 @@ var qe = /*#__PURE__*/ U(ze, { checked: !0 }), Je = /*#__PURE__*/ U(ze, {}), Ye
|
|
|
642
642
|
type: "radio",
|
|
643
643
|
icon: /*#__PURE__*/ V.cloneElement(o, { fontSize: o.props.fontSize ?? l }),
|
|
644
644
|
checkedIcon: /*#__PURE__*/ V.cloneElement(i, { fontSize: i.props.fontSize ?? l }),
|
|
645
|
-
disabled:
|
|
645
|
+
disabled: b,
|
|
646
646
|
name: D,
|
|
647
647
|
checked: w,
|
|
648
|
-
slots:
|
|
648
|
+
slots: m,
|
|
649
649
|
slotProps: { input: typeof O == "function" ? O(x) : O }
|
|
650
650
|
}
|
|
651
651
|
});
|
|
@@ -657,9 +657,9 @@ var qe = /*#__PURE__*/ U(ze, { checked: !0 }), Je = /*#__PURE__*/ U(ze, {}), Ye
|
|
|
657
657
|
//#endregion
|
|
658
658
|
//#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Switch/switchClasses.js
|
|
659
659
|
function Xe(e) {
|
|
660
|
-
return
|
|
660
|
+
return c("MuiSwitch", e);
|
|
661
661
|
}
|
|
662
|
-
var K =
|
|
662
|
+
var K = S("MuiSwitch", [
|
|
663
663
|
"root",
|
|
664
664
|
"edgeStart",
|
|
665
665
|
"edgeEnd",
|
|
@@ -674,7 +674,7 @@ var K = B("MuiSwitch", [
|
|
|
674
674
|
"thumb",
|
|
675
675
|
"track"
|
|
676
676
|
]), Ze = (e) => {
|
|
677
|
-
let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s =
|
|
677
|
+
let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s = L({
|
|
678
678
|
root: [
|
|
679
679
|
"root",
|
|
680
680
|
n && `edge${p(n)}`,
|
|
@@ -694,7 +694,7 @@ var K = B("MuiSwitch", [
|
|
|
694
694
|
...t,
|
|
695
695
|
...s
|
|
696
696
|
};
|
|
697
|
-
}, Qe =
|
|
697
|
+
}, Qe = r("span", {
|
|
698
698
|
name: "MuiSwitch",
|
|
699
699
|
slot: "Root",
|
|
700
700
|
overridesResolver: (e, t) => {
|
|
@@ -743,7 +743,7 @@ var K = B("MuiSwitch", [
|
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
]
|
|
746
|
-
}), $e =
|
|
746
|
+
}), $e = r(ue, {
|
|
747
747
|
name: "MuiSwitch",
|
|
748
748
|
slot: "SwitchBase",
|
|
749
749
|
overridesResolver: (e, t) => {
|
|
@@ -754,7 +754,7 @@ var K = B("MuiSwitch", [
|
|
|
754
754
|
n.color !== "default" && t[`color${p(n.color)}`]
|
|
755
755
|
];
|
|
756
756
|
}
|
|
757
|
-
})(
|
|
757
|
+
})(B(({ theme: e }) => ({
|
|
758
758
|
position: "absolute",
|
|
759
759
|
top: 0,
|
|
760
760
|
left: 0,
|
|
@@ -769,12 +769,12 @@ var K = B("MuiSwitch", [
|
|
|
769
769
|
left: "-100%",
|
|
770
770
|
width: "300%"
|
|
771
771
|
}
|
|
772
|
-
})),
|
|
772
|
+
})), B(({ theme: e }) => ({
|
|
773
773
|
"&:hover": {
|
|
774
774
|
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
|
|
775
775
|
"@media (hover: none)": { backgroundColor: "transparent" }
|
|
776
776
|
},
|
|
777
|
-
variants: [...Object.entries(e.palette).filter(
|
|
777
|
+
variants: [...Object.entries(e.palette).filter(u(["light"])).map(([t]) => ({
|
|
778
778
|
props: { color: t },
|
|
779
779
|
style: {
|
|
780
780
|
[`&.${K.checked}`]: {
|
|
@@ -788,10 +788,10 @@ var K = B("MuiSwitch", [
|
|
|
788
788
|
[`&.${K.checked} + .${K.track}`]: { backgroundColor: (e.vars || e).palette[t].main }
|
|
789
789
|
}
|
|
790
790
|
}))]
|
|
791
|
-
}))), et =
|
|
791
|
+
}))), et = r("span", {
|
|
792
792
|
name: "MuiSwitch",
|
|
793
793
|
slot: "Track"
|
|
794
|
-
})(
|
|
794
|
+
})(B(({ theme: e }) => ({
|
|
795
795
|
height: "100%",
|
|
796
796
|
width: "100%",
|
|
797
797
|
borderRadius: 14 / 2,
|
|
@@ -801,10 +801,10 @@ var K = B("MuiSwitch", [
|
|
|
801
801
|
transition: e.transitions.create(["opacity", "background-color"], { duration: e.transitions.duration.shortest }),
|
|
802
802
|
backgroundColor: e.vars ? e.vars.palette.common.onBackground : `${e.palette.mode === "light" ? e.palette.common.black : e.palette.common.white}`,
|
|
803
803
|
opacity: e.vars ? e.vars.opacity.switchTrack : `${e.palette.mode === "light" ? .38 : .3}`
|
|
804
|
-
}))), tt =
|
|
804
|
+
}))), tt = r("span", {
|
|
805
805
|
name: "MuiSwitch",
|
|
806
806
|
slot: "Thumb"
|
|
807
|
-
})(
|
|
807
|
+
})(B(({ theme: e }) => ({
|
|
808
808
|
boxShadow: (e.vars || e).shadows[1],
|
|
809
809
|
backgroundColor: "currentColor",
|
|
810
810
|
boxSizing: "border-box",
|
|
@@ -813,61 +813,61 @@ var K = B("MuiSwitch", [
|
|
|
813
813
|
height: 20,
|
|
814
814
|
borderRadius: "50%"
|
|
815
815
|
}))), nt = /*#__PURE__*/ V.forwardRef(function(e, t) {
|
|
816
|
-
let n =
|
|
816
|
+
let n = _({
|
|
817
817
|
props: e,
|
|
818
818
|
name: "MuiSwitch"
|
|
819
|
-
}), { className: r, color: i = "primary", edge: a = !1, size: o = "medium", sx: s, slots: c = {}, slotProps: l = {}, ...u } = n,
|
|
819
|
+
}), { className: r, color: i = "primary", edge: a = !1, size: o = "medium", sx: s, slots: c = {}, slotProps: l = {}, ...u } = n, f = {
|
|
820
820
|
...n,
|
|
821
821
|
color: i,
|
|
822
822
|
edge: a,
|
|
823
823
|
size: o
|
|
824
|
-
},
|
|
824
|
+
}, p = Ze(f), m = l.input, h = {
|
|
825
825
|
slots: c,
|
|
826
826
|
slotProps: l
|
|
827
|
-
}, [g,
|
|
828
|
-
className:
|
|
827
|
+
}, [g, v] = T("root", {
|
|
828
|
+
className: d(p.root, r),
|
|
829
829
|
elementType: Qe,
|
|
830
830
|
externalForwardedProps: h,
|
|
831
|
-
ownerState:
|
|
831
|
+
ownerState: f,
|
|
832
832
|
additionalProps: { sx: s }
|
|
833
|
-
}), [
|
|
834
|
-
className:
|
|
833
|
+
}), [y, b] = T("thumb", {
|
|
834
|
+
className: p.thumb,
|
|
835
835
|
elementType: tt,
|
|
836
836
|
externalForwardedProps: h,
|
|
837
|
-
ownerState:
|
|
838
|
-
}), x = /*#__PURE__*/ U(
|
|
839
|
-
className:
|
|
837
|
+
ownerState: f
|
|
838
|
+
}), x = /*#__PURE__*/ U(y, { ...b }), [S, C] = T("track", {
|
|
839
|
+
className: p.track,
|
|
840
840
|
elementType: et,
|
|
841
841
|
externalForwardedProps: h,
|
|
842
|
-
ownerState:
|
|
842
|
+
ownerState: f
|
|
843
843
|
});
|
|
844
844
|
return /*#__PURE__*/ W(g, {
|
|
845
|
-
...
|
|
845
|
+
...v,
|
|
846
846
|
children: [/*#__PURE__*/ U($e, {
|
|
847
847
|
type: "checkbox",
|
|
848
848
|
icon: x,
|
|
849
849
|
checkedIcon: x,
|
|
850
850
|
ref: t,
|
|
851
|
-
ownerState:
|
|
851
|
+
ownerState: f,
|
|
852
852
|
...u,
|
|
853
853
|
classes: {
|
|
854
|
-
...
|
|
855
|
-
root:
|
|
854
|
+
...p,
|
|
855
|
+
root: p.switchBase
|
|
856
856
|
},
|
|
857
857
|
slots: {
|
|
858
858
|
...c.switchBase && { root: c.switchBase },
|
|
859
859
|
...c.input && { input: c.input }
|
|
860
860
|
},
|
|
861
861
|
slotProps: {
|
|
862
|
-
...l.switchBase && { root: typeof l.switchBase == "function" ? l.switchBase(
|
|
863
|
-
input: te(typeof
|
|
862
|
+
...l.switchBase && { root: typeof l.switchBase == "function" ? l.switchBase(f) : l.switchBase },
|
|
863
|
+
input: te(typeof m == "function" ? m(f) : m, { role: "switch" })
|
|
864
864
|
}
|
|
865
865
|
}), /*#__PURE__*/ U(S, { ...C })]
|
|
866
866
|
});
|
|
867
|
-
}), q = /* @__PURE__ */ e(C(), 1), rt =
|
|
867
|
+
}), q = /* @__PURE__ */ e(C(), 1), rt = r(Ee)(() => ({ "& .MuiFormControlLabel-label": {
|
|
868
868
|
left: "-5px",
|
|
869
869
|
position: "relative"
|
|
870
|
-
} })), it =
|
|
870
|
+
} })), it = r(Ye)(() => ({ color: `${v.tertiary()} !important` })), at = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ U(rt, {
|
|
871
871
|
value: t,
|
|
872
872
|
control: /* @__PURE__ */ U(it, {
|
|
873
873
|
checked: n,
|
|
@@ -883,13 +883,13 @@ at.propTypes = {
|
|
|
883
883
|
};
|
|
884
884
|
//#endregion
|
|
885
885
|
//#region ../../lib-react/config-ui/dist/feedback-config/group.js
|
|
886
|
-
var ot =
|
|
886
|
+
var ot = r("div")(() => ({
|
|
887
887
|
display: "flex",
|
|
888
888
|
alignItems: "center"
|
|
889
|
-
})), st =
|
|
889
|
+
})), st = r("div")(() => ({
|
|
890
890
|
display: "flex",
|
|
891
891
|
alignItems: "center"
|
|
892
|
-
})), ct =
|
|
892
|
+
})), ct = r(at)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": { fontSize: e.typography.fontSize - 2 } })), lt = (e) => {
|
|
893
893
|
let { feedbackLabels: t, value: n, className: r, onChange: i, keys: a } = e;
|
|
894
894
|
return /* @__PURE__ */ U(ot, {
|
|
895
895
|
className: r,
|
|
@@ -916,17 +916,17 @@ function J(e) {
|
|
|
916
916
|
function ut(e, t) {
|
|
917
917
|
return !e || J(e) ? e : J(e.default) ? e.default : t && J(e[t]) ? e[t] : t && J(e[t]?.default) ? e[t].default : e;
|
|
918
918
|
}
|
|
919
|
-
var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft =
|
|
919
|
+
var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft = M, pt = ft.default, mt = pt && typeof pt == "object" ? pt : ft, ht = r(P)(({ theme: e }) => ({ fontFamily: e.typography.fontFamily })), gt = {
|
|
920
920
|
default: "Simple Feedback",
|
|
921
921
|
none: "No Feedback",
|
|
922
922
|
custom: "Customized Feedback"
|
|
923
|
-
}, _t =
|
|
923
|
+
}, _t = r("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), vt = r(dt)(() => ({ paddingBottom: 0 })), yt = r("div")(({ theme: e }) => ({
|
|
924
924
|
marginTop: "0px",
|
|
925
925
|
background: v.backgroundDark(),
|
|
926
926
|
padding: 0,
|
|
927
927
|
marginBottom: e.spacing(2),
|
|
928
928
|
borderRadius: "4px"
|
|
929
|
-
})), bt =
|
|
929
|
+
})), bt = r("div")(({ theme: e }) => ({
|
|
930
930
|
marginTop: "0px",
|
|
931
931
|
background: v.backgroundDark(),
|
|
932
932
|
padding: e.spacing(2),
|
|
@@ -934,7 +934,7 @@ var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft
|
|
|
934
934
|
borderRadius: "4px",
|
|
935
935
|
fontFamily: e.typography.fontFamily,
|
|
936
936
|
cursor: "default"
|
|
937
|
-
})), xt =
|
|
937
|
+
})), xt = r(lt)(({ theme: e }) => ({ paddingTop: e.spacing(1) })), St = {
|
|
938
938
|
type: q.default.oneOf([
|
|
939
939
|
"default",
|
|
940
940
|
"custom",
|
|
@@ -990,7 +990,7 @@ var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft
|
|
|
990
990
|
n.type === "default" && /* @__PURE__ */ W(bt, { children: [" ", n.default] })
|
|
991
991
|
] });
|
|
992
992
|
}
|
|
993
|
-
}, wt =
|
|
993
|
+
}, wt = r(R)(() => ({})), Tt = class extends H.Component {
|
|
994
994
|
static propTypes = {
|
|
995
995
|
className: q.default.string,
|
|
996
996
|
contentClassName: q.default.string,
|
|
@@ -1019,7 +1019,7 @@ var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft
|
|
|
1019
1019
|
})]
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
1022
|
-
}, Et =
|
|
1022
|
+
}, Et = r(Ee)(({ theme: e, mini: t }) => ({
|
|
1023
1023
|
margin: 0,
|
|
1024
1024
|
marginLeft: 0,
|
|
1025
1025
|
padding: 0,
|
|
@@ -1029,11 +1029,11 @@ var dt = ut(D, "InputContainer") || ut(mt.InputContainer, "InputContainer"), ft
|
|
|
1029
1029
|
color: "rgba(0,0,0,1.0)",
|
|
1030
1030
|
...t && {
|
|
1031
1031
|
marginLeft: e.spacing(1),
|
|
1032
|
-
color:
|
|
1032
|
+
color: b[700],
|
|
1033
1033
|
fontSize: e.typography.fontSize - 3
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
|
-
})), Dt =
|
|
1036
|
+
})), Dt = r(xe)(({ theme: e, mini: t, error: n }) => ({
|
|
1037
1037
|
color: `${v.tertiary()} !important`,
|
|
1038
1038
|
...t && {
|
|
1039
1039
|
margin: 0,
|
|
@@ -1067,7 +1067,7 @@ Ot.propTypes = {
|
|
|
1067
1067
|
};
|
|
1068
1068
|
//#endregion
|
|
1069
1069
|
//#region ../../lib-react/config-ui/dist/number-text-field.js
|
|
1070
|
-
var kt = /* @__PURE__ */ e(t(), 1), At = (0, kt.default)("@pie-lib:config-ui:number-text-field"), jt =
|
|
1070
|
+
var kt = /* @__PURE__ */ e(t(), 1), At = (0, kt.default)("@pie-lib:config-ui:number-text-field"), jt = r(w)(({ theme: e }) => ({
|
|
1071
1071
|
marginRight: e.spacing(1),
|
|
1072
1072
|
"& .MuiInputLabel-root": {
|
|
1073
1073
|
width: "auto",
|
|
@@ -1090,9 +1090,9 @@ var kt = /* @__PURE__ */ e(t(), 1), At = (0, kt.default)("@pie-lib:config-ui:num
|
|
|
1090
1090
|
padding: "6px 0 7px"
|
|
1091
1091
|
}
|
|
1092
1092
|
})), Mt = (e, t) => {
|
|
1093
|
-
if (!
|
|
1094
|
-
if (!
|
|
1095
|
-
if (
|
|
1093
|
+
if (!n(e) && !n(t)) return 0;
|
|
1094
|
+
if (!n(e) && n(t)) return t;
|
|
1095
|
+
if (n(e)) return e;
|
|
1096
1096
|
}, Nt = class extends H.Component {
|
|
1097
1097
|
static propTypes = {
|
|
1098
1098
|
disabled: q.default.bool,
|
|
@@ -1118,8 +1118,8 @@ var kt = /* @__PURE__ */ e(t(), 1), At = (0, kt.default)("@pie-lib:config-ui:num
|
|
|
1118
1118
|
let t = this.clamp(e.value, e.min, e.max);
|
|
1119
1119
|
this.setState({ value: t });
|
|
1120
1120
|
}
|
|
1121
|
-
clamp(e, t = this.props.min,
|
|
1122
|
-
return
|
|
1121
|
+
clamp(e, t = this.props.min, r = this.props.max) {
|
|
1122
|
+
return n(e) ? (n(r) && (e = Math.min(e, r)), n(t) && (e = Math.max(e, t)), e) : Mt(t, r);
|
|
1123
1123
|
}
|
|
1124
1124
|
onBlur = (e) => {
|
|
1125
1125
|
let t = e.target.value, n = parseFloat(t);
|
|
@@ -1186,7 +1186,7 @@ function Y(e) {
|
|
|
1186
1186
|
function Pt(e, t) {
|
|
1187
1187
|
return !e || Y(e) ? e : Y(e.default) ? e.default : t && Y(e[t]) ? e[t] : t && Y(e[t]?.default) ? e[t].default : e;
|
|
1188
1188
|
}
|
|
1189
|
-
var Ft = Pt(D, "InputContainer") || Pt(Rt.InputContainer, "InputContainer"), It =
|
|
1189
|
+
var Ft = Pt(D, "InputContainer") || Pt(Rt.InputContainer, "InputContainer"), It = M, Lt = It.default, Rt = Lt && typeof Lt == "object" ? Lt : It, zt = r("div")(({ theme: e, direction: t }) => ({
|
|
1190
1190
|
display: "flex",
|
|
1191
1191
|
flexWrap: "wrap",
|
|
1192
1192
|
paddingLeft: 0,
|
|
@@ -1259,14 +1259,14 @@ var Ht = Object.defineProperty, Ut = (e, t) => {
|
|
|
1259
1259
|
enumerable: !0
|
|
1260
1260
|
});
|
|
1261
1261
|
return t || Ht(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
1262
|
-
}, Wt =
|
|
1262
|
+
}, Wt = r("div")(() => ({
|
|
1263
1263
|
display: "flex",
|
|
1264
1264
|
flexDirection: "column",
|
|
1265
1265
|
position: "relative"
|
|
1266
|
-
})), Gt =
|
|
1266
|
+
})), Gt = r("div")(() => ({
|
|
1267
1267
|
display: "flex",
|
|
1268
1268
|
justifyContent: "space-between"
|
|
1269
|
-
})), Kt =
|
|
1269
|
+
})), Kt = r("div")(({ theme: e }) => ({ padding: `${e.spacing(2)} 0` })), qt = r("div")(() => ({ flex: "1" })), Jt = r("div")(({ theme: e }) => ({ marginLeft: e.spacing(2) })), Yt = class extends H.Component {
|
|
1270
1270
|
static propTypes = {
|
|
1271
1271
|
mode: q.default.oneOf(["tabbed", "inline"]),
|
|
1272
1272
|
secondary: q.default.oneOfType([q.default.arrayOf(q.default.node), q.default.node]),
|
|
@@ -1744,7 +1744,7 @@ var Nn = Mn()(function(e) {
|
|
|
1744
1744
|
Nn.displayName = "Measure", Nn.propTypes.children = q.default.func;
|
|
1745
1745
|
//#endregion
|
|
1746
1746
|
//#region ../../lib-react/config-ui/dist/layout/settings-box.js
|
|
1747
|
-
var Pn =
|
|
1747
|
+
var Pn = r("div")(() => ({
|
|
1748
1748
|
backgroundColor: v.white(),
|
|
1749
1749
|
border: `2px solid ${v.border()}`,
|
|
1750
1750
|
display: "flex",
|
|
@@ -1767,7 +1767,7 @@ var Pn = s("div")(() => ({
|
|
|
1767
1767
|
children: t
|
|
1768
1768
|
});
|
|
1769
1769
|
}
|
|
1770
|
-
}, In =
|
|
1770
|
+
}, In = l({
|
|
1771
1771
|
typography: { fontFamily: "inherit" },
|
|
1772
1772
|
components: { MuiButton: { styleOverrides: { contained: {
|
|
1773
1773
|
backgroundColor: "#e0e0e0",
|
|
@@ -1804,9 +1804,9 @@ var Pn = s("div")(() => ({
|
|
|
1804
1804
|
a !== this.state.layoutMode && this.setState({ layoutMode: a });
|
|
1805
1805
|
};
|
|
1806
1806
|
render() {
|
|
1807
|
-
return /* @__PURE__ */ U(
|
|
1807
|
+
return /* @__PURE__ */ U(f, {
|
|
1808
1808
|
injectFirst: !0,
|
|
1809
|
-
children: /* @__PURE__ */ U(
|
|
1809
|
+
children: /* @__PURE__ */ U(g, {
|
|
1810
1810
|
theme: In,
|
|
1811
1811
|
children: /* @__PURE__ */ U(Nn, {
|
|
1812
1812
|
bounds: !0,
|
|
@@ -1834,15 +1834,15 @@ var Pn = s("div")(() => ({
|
|
|
1834
1834
|
}, Rn = Mn("bounds")(Ln), zn = /* @__PURE__ */ Ut({
|
|
1835
1835
|
ConfigLayout: () => Rn,
|
|
1836
1836
|
LayoutContents: () => Yt
|
|
1837
|
-
}), Bn =
|
|
1837
|
+
}), Bn = r("div")(() => ({
|
|
1838
1838
|
display: "flex",
|
|
1839
1839
|
width: "100%",
|
|
1840
1840
|
justifyContent: "space-between"
|
|
1841
|
-
})), Vn =
|
|
1841
|
+
})), Vn = r(O)(({ theme: e }) => ({
|
|
1842
1842
|
color: "rgba(0, 0, 0, 0.89)",
|
|
1843
1843
|
fontSize: e.typography.fontSize,
|
|
1844
1844
|
paddingTop: e.spacing(2)
|
|
1845
|
-
})), Hn =
|
|
1845
|
+
})), Hn = r(nt)(({ checked: e }) => ({
|
|
1846
1846
|
"&.Mui-checked .MuiSwitch-thumb": { color: `${v.tertiary()} !important` },
|
|
1847
1847
|
"&.Mui-checked .MuiSwitch-track": { backgroundColor: `${v.tertiaryLight()} !important` },
|
|
1848
1848
|
"& .MuiSwitch-track": { backgroundColor: e ? `${v.tertiaryLight()} !important` : void 0 }
|
|
@@ -1859,12 +1859,12 @@ Un.propTypes = {
|
|
|
1859
1859
|
};
|
|
1860
1860
|
//#endregion
|
|
1861
1861
|
//#region ../../lib-react/config-ui/dist/settings/settings-radio-label.js
|
|
1862
|
-
var Wn =
|
|
1862
|
+
var Wn = r(Ee)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": {
|
|
1863
1863
|
color: "rgba(0, 0, 0, 0.89)",
|
|
1864
1864
|
fontSize: e.typography.fontSize - 2,
|
|
1865
1865
|
left: "-5px",
|
|
1866
1866
|
position: "relative"
|
|
1867
|
-
} })), Gn =
|
|
1867
|
+
} })), Gn = r(Ye)(() => ({ color: `${v.tertiary()} !important` })), Kn = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ U(Wn, {
|
|
1868
1868
|
value: t,
|
|
1869
1869
|
control: /* @__PURE__ */ U(Gn, {
|
|
1870
1870
|
checked: n,
|
|
@@ -1899,7 +1899,7 @@ Yn.propTypes = {
|
|
|
1899
1899
|
value: q.default.bool,
|
|
1900
1900
|
onChange: q.default.func
|
|
1901
1901
|
};
|
|
1902
|
-
var Xn =
|
|
1902
|
+
var Xn = r(Bt)(({ theme: e }) => ({
|
|
1903
1903
|
marginTop: e.spacing(.5),
|
|
1904
1904
|
paddingBottom: e.spacing(.5),
|
|
1905
1905
|
width: "100%",
|
|
@@ -1922,10 +1922,10 @@ Zn.propTypes = {
|
|
|
1922
1922
|
...Q,
|
|
1923
1923
|
choices: q.default.arrayOf(q.default.shape(Jn))
|
|
1924
1924
|
};
|
|
1925
|
-
var Qn = Zn, $n =
|
|
1925
|
+
var Qn = Zn, $n = r("p")(({ theme: e }) => ({
|
|
1926
1926
|
margin: 0,
|
|
1927
1927
|
fontSize: e.typography.fontSize
|
|
1928
|
-
})), er =
|
|
1928
|
+
})), er = r(z)(({ theme: e }) => ({
|
|
1929
1929
|
marginTop: e.spacing(.5),
|
|
1930
1930
|
border: "2px solid lightgrey",
|
|
1931
1931
|
padding: `0 ${e.spacing(1)}`,
|
|
@@ -1941,7 +1941,7 @@ var Qn = Zn, $n = s("p")(({ theme: e }) => ({
|
|
|
1941
1941
|
enter: 225,
|
|
1942
1942
|
exit: 195
|
|
1943
1943
|
} },
|
|
1944
|
-
children: r.map((e, t) => /* @__PURE__ */ U(
|
|
1944
|
+
children: r.map((e, t) => /* @__PURE__ */ U(F, {
|
|
1945
1945
|
value: a(e),
|
|
1946
1946
|
children: i(e)
|
|
1947
1947
|
}, t))
|
|
@@ -1951,10 +1951,10 @@ tr.propTypes = {
|
|
|
1951
1951
|
...Q,
|
|
1952
1952
|
choices: q.default.arrayOf(q.default.string)
|
|
1953
1953
|
};
|
|
1954
|
-
var nr = s
|
|
1954
|
+
var nr = r(s)(({ theme: e }) => ({
|
|
1955
1955
|
marginRight: e.spacing(3),
|
|
1956
1956
|
marginTop: e.spacing(1)
|
|
1957
|
-
})), rr = ({ label: e }) => /* @__PURE__ */ U(nr, { children: e }), ir =
|
|
1957
|
+
})), rr = ({ label: e }) => /* @__PURE__ */ U(nr, { children: e }), ir = r(Nt)(({ theme: e }) => ({
|
|
1958
1958
|
width: "35%",
|
|
1959
1959
|
marginRight: e.spacing(3),
|
|
1960
1960
|
marginTop: e.spacing(1),
|
|
@@ -2000,17 +2000,17 @@ var sr = {
|
|
|
2000
2000
|
numberField: ar,
|
|
2001
2001
|
checkbox: Yn,
|
|
2002
2002
|
textField: rr
|
|
2003
|
-
}, cr =
|
|
2003
|
+
}, cr = r("div")(({ theme: e }) => ({ margin: `0 0 ${e.spacing(2)} 0` })), lr = r("div")(({ theme: e }) => ({
|
|
2004
2004
|
color: "#495B8F",
|
|
2005
2005
|
fontSize: e.typography.fontSize + 2,
|
|
2006
2006
|
fontWeight: 600,
|
|
2007
2007
|
marginBottom: e.spacing(1)
|
|
2008
|
-
})), ur =
|
|
2008
|
+
})), ur = r("p")(({ theme: e }) => ({
|
|
2009
2009
|
fontSize: e.typography.fontSize,
|
|
2010
2010
|
marginBottom: 0
|
|
2011
2011
|
})), dr = (e) => {
|
|
2012
2012
|
let { model: t, label: n, group: r, configuration: i, onChange: a } = e, o = (e, n, r) => {
|
|
2013
|
-
let { isConfigProperty: o, ...s } =
|
|
2013
|
+
let { isConfigProperty: o, ...s } = m(e, r || n), c = m(o ? i : t, n), l = {
|
|
2014
2014
|
...s,
|
|
2015
2015
|
key: n,
|
|
2016
2016
|
value: c
|
|
@@ -2050,7 +2050,7 @@ var fr = class extends H.Component {
|
|
|
2050
2050
|
change = (e, t, n = !1) => {
|
|
2051
2051
|
qn("[changeModel]", e, t);
|
|
2052
2052
|
let { onChangeModel: r, onChangeConfiguration: i } = this.props, a = { ...this.props.model }, o = { ...this.props.configuration };
|
|
2053
|
-
n ? (
|
|
2053
|
+
n ? (j(o, e, t), i(o, e)) : (j(a, e, t), r(a, e));
|
|
2054
2054
|
};
|
|
2055
2055
|
render() {
|
|
2056
2056
|
let { groups: e, model: t, configuration: n, modal: r } = this.props;
|
|
@@ -2181,12 +2181,12 @@ var fr = class extends H.Component {
|
|
|
2181
2181
|
}, { Panel: Or, toggle: $, numberFields: kr, dropdown: Ar } = pr, jr = {
|
|
2182
2182
|
type: "default",
|
|
2183
2183
|
default: "Your answer has been submitted"
|
|
2184
|
-
}, Mr = s
|
|
2184
|
+
}, Mr = r(s)(({ theme: e }) => ({ paddingBottom: e.spacing(1) })), Nr = r(ee)(({ theme: e }) => ({
|
|
2185
2185
|
paddingTop: e.spacing(1),
|
|
2186
2186
|
marginTop: e.spacing(2),
|
|
2187
2187
|
marginBottom: e.spacing(2),
|
|
2188
2188
|
width: "100%"
|
|
2189
|
-
})), Pr =
|
|
2189
|
+
})), Pr = r("div")(({ theme: e }) => ({
|
|
2190
2190
|
fontSize: e.typography.fontSize - 2,
|
|
2191
2191
|
color: e.palette.error.main,
|
|
2192
2192
|
paddingTop: e.spacing(1)
|
|
@@ -2224,7 +2224,7 @@ var fr = class extends H.Component {
|
|
|
2224
2224
|
});
|
|
2225
2225
|
};
|
|
2226
2226
|
render() {
|
|
2227
|
-
let { model: e, configuration: t, imageSupport: n, onConfigurationChanged: r, onModelChanged: i, uploadSoundSupport: a } = this.props, { annotations: o = {}, contentDimensions: s = {}, dimensions: c = {}, equationEditor: l = {}, feedback: u = {}, playerSpellCheck: d = {}, prompt: f = {}, settingsPanelDisabled: p, spanishInput: m = {}, specialInput: g = {}, spellCheck: _ = {}, studentInstructions: v = {}, teacherInstructions: y = {}, mathInput: b = {}, maxImageWidth: x = {}, maxImageHeight: S = {}, multiple: C = {}, withRubric: w = {}, mathMlOptions: T = {}, baseInputConfiguration: E = {} } = t || {}, { errors: D = {}, extraCSSRules: O, feedbackEnabled: k, promptEnabled: A, spellCheckEnabled: j, teacherInstructionsEnabled: M, toolbarEditorPosition: N } = e || {}, { prompt:
|
|
2227
|
+
let { model: e, configuration: t, imageSupport: n, onConfigurationChanged: r, onModelChanged: i, uploadSoundSupport: a } = this.props, { annotations: o = {}, contentDimensions: s = {}, dimensions: c = {}, equationEditor: l = {}, feedback: u = {}, playerSpellCheck: d = {}, prompt: f = {}, settingsPanelDisabled: p, spanishInput: m = {}, specialInput: g = {}, spellCheck: _ = {}, studentInstructions: v = {}, teacherInstructions: y = {}, mathInput: b = {}, maxImageWidth: x = {}, maxImageHeight: S = {}, multiple: C = {}, withRubric: w = {}, mathMlOptions: T = {}, baseInputConfiguration: E = {} } = t || {}, { errors: D = {}, extraCSSRules: O, feedbackEnabled: k, promptEnabled: A, spellCheckEnabled: j, teacherInstructionsEnabled: M, toolbarEditorPosition: N } = e || {}, { prompt: F, teacherInstructions: I } = D, L = x && x.prompt, R = S && S.prompt, z = { position: N === "top" ? "top" : "bottom" }, ee = {
|
|
2228
2228
|
mathInput: b.settings && $(b.label),
|
|
2229
2229
|
equationEditor: l.enabled && e.mathInput && Ar(l.label, [
|
|
2230
2230
|
"non-negative-integers",
|
|
@@ -2284,7 +2284,7 @@ var fr = class extends H.Component {
|
|
|
2284
2284
|
children: [
|
|
2285
2285
|
M && /* @__PURE__ */ W(Nr, {
|
|
2286
2286
|
label: y.label,
|
|
2287
|
-
children: [/* @__PURE__ */ U(
|
|
2287
|
+
children: [/* @__PURE__ */ U(P, {
|
|
2288
2288
|
className: "prompt",
|
|
2289
2289
|
markup: e.teacherInstructions || "",
|
|
2290
2290
|
onChange: this.changeTeacherInstructions,
|
|
@@ -2303,14 +2303,14 @@ var fr = class extends H.Component {
|
|
|
2303
2303
|
}),
|
|
2304
2304
|
A && /* @__PURE__ */ W(Nr, {
|
|
2305
2305
|
label: f.label,
|
|
2306
|
-
children: [/* @__PURE__ */ U(
|
|
2306
|
+
children: [/* @__PURE__ */ U(P, {
|
|
2307
2307
|
activePlugins: h,
|
|
2308
2308
|
className: "prompt",
|
|
2309
2309
|
markup: e.prompt || "",
|
|
2310
2310
|
onChange: this.onPromptChange,
|
|
2311
2311
|
imageSupport: n,
|
|
2312
2312
|
nonEmpty: !1,
|
|
2313
|
-
error:
|
|
2313
|
+
error: F,
|
|
2314
2314
|
toolbarOpts: z,
|
|
2315
2315
|
spellCheck: j,
|
|
2316
2316
|
maxImageWidth: L,
|
|
@@ -2319,7 +2319,7 @@ var fr = class extends H.Component {
|
|
|
2319
2319
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
2320
2320
|
mathMlOptions: T,
|
|
2321
2321
|
pluginProps: B(f?.inputConfiguration)
|
|
2322
|
-
}),
|
|
2322
|
+
}), F && /* @__PURE__ */ U(Pr, { children: F })]
|
|
2323
2323
|
}),
|
|
2324
2324
|
k && /* @__PURE__ */ W(H.Fragment, { children: [/* @__PURE__ */ U(Mr, {
|
|
2325
2325
|
variant: "h6",
|