@pie-element/charting 13.0.1-next.20261004235022 → 13.0.1-next.20261005000911

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.
@@ -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, N as h, O as g, P as _, Q as v, R as y, T as b, U as x, W as S, X as C, Y as w, Z as T, _ as E, a as D, c as O, d as k, f as A, i as j, l as M, m as N, n as P, p as F, q as I, r as L, s as R, t as z, u as ee, v as B, w as te, z as V } from "../chart-BUotjScT.js";
2
+ import { $ as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, P as h, Q as g, R as _, S as v, T as y, U as b, W as x, X as S, Y as C, Z as w, _ as T, a as E, c as D, d as O, f as k, g as A, i as j, k as M, l as N, m as P, n as F, p as I, q as L, r as ee, s as R, t as te, u as z, w as B, z as V } from "../chart-BtpeSAuy.js";
3
3
  import { f as ne, g as re, i as H, r as U, t as W, v as ie } from "../dist-Csg_Ufh1.js";
4
4
  import * as G from "react";
5
5
  import K, { Component as ae, createElement as oe, useEffect as se, useId as ce, useState as le } from "react";
6
6
  import { createRoot as ue } 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+eb26afe407ed7030/node_modules/@mui/material/esm/utils/createChainedFunction.js
9
- var de = p;
9
+ var de = f;
10
10
  //#endregion
11
11
  //#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js
12
12
  function fe(e) {
13
- return C("MuiFormControlLabel", e);
13
+ return S("MuiFormControlLabel", e);
14
14
  }
15
- var Y = w("MuiFormControlLabel", [
15
+ var Y = C("MuiFormControlLabel", [
16
16
  "root",
17
17
  "labelPlacementStart",
18
18
  "labelPlacementTop",
@@ -24,18 +24,18 @@ var Y = w("MuiFormControlLabel", [
24
24
  "asterisk"
25
25
  ]), pe = (e) => {
26
26
  let { classes: t, disabled: n, labelPlacement: r, error: i, required: a } = e;
27
- return d({
27
+ return u({
28
28
  root: [
29
29
  "root",
30
30
  n && "disabled",
31
- `labelPlacement${u(r)}`,
31
+ `labelPlacement${l(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
  }, fe, t);
38
- }, me = S("label", {
38
+ }, me = x("label", {
39
39
  name: "MuiFormControlLabel",
40
40
  slot: "Root",
41
41
  overridesResolver: (e, t) => {
@@ -43,7 +43,7 @@ var Y = w("MuiFormControlLabel", [
43
43
  return [
44
44
  { [`& .${Y.label}`]: t.label },
45
45
  t.root,
46
- t[`labelPlacement${u(n.labelPlacement)}`]
46
+ t[`labelPlacement${l(n.labelPlacement)}`]
47
47
  ];
48
48
  }
49
49
  })(V(({ theme: e }) => ({
@@ -77,15 +77,15 @@ var Y = w("MuiFormControlLabel", [
77
77
  style: { marginLeft: 16 }
78
78
  }
79
79
  ]
80
- }))), he = S("span", {
80
+ }))), he = x("span", {
81
81
  name: "MuiFormControlLabel",
82
82
  slot: "Asterisk"
83
83
  })(V(({ theme: e }) => ({ [`&.${Y.error}`]: { color: (e.vars || e).palette.error.main } }))), ge = /*#__PURE__*/ G.forwardRef(function(e, t) {
84
- let n = r({
84
+ let r = n({
85
85
  props: e,
86
86
  name: "MuiFormControlLabel"
87
- }), { checked: i, className: a, componentsProps: s = {}, control: c, disabled: l, disableTypography: u, inputRef: d, label: f, labelPlacement: p = "end", name: m, onChange: h, required: _, slots: v = {}, slotProps: b = {}, value: x, ...S } = n, C = o(), w = l ?? c.props.disabled ?? C?.disabled, E = _ ?? c.props.required, D = {
88
- disabled: w,
87
+ }), { checked: a, className: o, componentsProps: s = {}, control: c, disabled: l, disableTypography: u, inputRef: d, label: f, labelPlacement: p = "end", name: m, onChange: h, required: g, slots: v = {}, slotProps: b = {}, value: x, ...S } = r, C = y(), T = l ?? c.props.disabled ?? C?.disabled, E = g ?? c.props.required, D = {
88
+ disabled: T,
89
89
  required: E
90
90
  };
91
91
  [
@@ -95,20 +95,20 @@ var Y = w("MuiFormControlLabel", [
95
95
  "value",
96
96
  "inputRef"
97
97
  ].forEach((e) => {
98
- c.props[e] === void 0 && n[e] !== void 0 && (D[e] = n[e]);
98
+ c.props[e] === void 0 && r[e] !== void 0 && (D[e] = r[e]);
99
99
  });
100
- let O = g({
101
- props: n,
100
+ let O = i({
101
+ props: r,
102
102
  muiFormControl: C,
103
103
  states: ["error"]
104
104
  }), k = {
105
- ...n,
106
- disabled: w,
105
+ ...r,
106
+ disabled: T,
107
107
  labelPlacement: p,
108
108
  required: E,
109
109
  error: O.error
110
- }, A = pe(k), [j, M] = y("typography", {
111
- elementType: N,
110
+ }, A = pe(k), [j, M] = _("typography", {
111
+ elementType: P,
112
112
  externalForwardedProps: {
113
113
  slots: v,
114
114
  slotProps: {
@@ -117,31 +117,31 @@ var Y = w("MuiFormControlLabel", [
117
117
  }
118
118
  },
119
119
  ownerState: k
120
- }), P = f;
121
- return P != null && P.type !== N && !u && (P = /*#__PURE__*/ q(j, {
120
+ }), N = f;
121
+ return N != null && N.type !== P && !u && (N = /*#__PURE__*/ q(j, {
122
122
  component: "span",
123
123
  ...M,
124
- className: T(A.label, M?.className),
125
- children: P
124
+ className: w(A.label, M?.className),
125
+ children: N
126
126
  })), /*#__PURE__*/ J(me, {
127
- className: T(A.root, a),
127
+ className: w(A.root, o),
128
128
  ownerState: k,
129
129
  ref: t,
130
130
  ...S,
131
- children: [/*#__PURE__*/ G.cloneElement(c, D), E ? /*#__PURE__*/ J("div", { children: [P, /*#__PURE__*/ J(he, {
131
+ children: [/*#__PURE__*/ G.cloneElement(c, D), E ? /*#__PURE__*/ J("div", { children: [N, /*#__PURE__*/ J(he, {
132
132
  ownerState: k,
133
133
  "aria-hidden": !0,
134
134
  className: A.asterisk,
135
135
  children: [" ", "*"]
136
- })] }) : P]
136
+ })] }) : N]
137
137
  });
138
138
  });
139
139
  //#endregion
140
140
  //#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js
141
141
  function _e(e) {
142
- return C("MuiInputAdornment", e);
142
+ return S("MuiInputAdornment", e);
143
143
  }
144
- var ve = w("MuiInputAdornment", [
144
+ var ve = C("MuiInputAdornment", [
145
145
  "root",
146
146
  "filled",
147
147
  "standard",
@@ -155,21 +155,21 @@ var ve = w("MuiInputAdornment", [
155
155
  let { ownerState: n } = e;
156
156
  return [
157
157
  t.root,
158
- t[`position${u(n.position)}`],
158
+ t[`position${l(n.position)}`],
159
159
  n.disablePointerEvents === !0 && t.disablePointerEvents,
160
160
  t[n.variant]
161
161
  ];
162
162
  }, xe = (e) => {
163
163
  let { classes: t, disablePointerEvents: n, hiddenLabel: r, position: i, size: a, variant: o } = e;
164
- return d({ root: [
164
+ return u({ root: [
165
165
  "root",
166
166
  n && "disablePointerEvents",
167
- i && `position${u(i)}`,
167
+ i && `position${l(i)}`,
168
168
  o,
169
169
  r && "hiddenLabel",
170
- a && `size${u(a)}`
170
+ a && `size${l(a)}`
171
171
  ] }, _e, t);
172
- }, Se = S("div", {
172
+ }, Se = x("div", {
173
173
  name: "MuiInputAdornment",
174
174
  slot: "Root",
175
175
  overridesResolver: be
@@ -198,44 +198,44 @@ var ve = w("MuiInputAdornment", [
198
198
  }
199
199
  ]
200
200
  }))), Ce = /*#__PURE__*/ G.forwardRef(function(e, t) {
201
- let n = r({
201
+ let r = n({
202
202
  props: e,
203
203
  name: "MuiInputAdornment"
204
- }), { children: i, className: s, component: c = "div", disablePointerEvents: l = !1, disableTypography: u = !1, position: d, variant: f, ...p } = n, m = o() || {}, h = f;
205
- f && m.variant, m && !h && (h = m.variant);
206
- let g = {
207
- ...n,
208
- hiddenLabel: m.hiddenLabel,
209
- size: m.size,
210
- disablePointerEvents: l,
211
- position: d,
212
- variant: h
213
- }, _ = xe(g);
204
+ }), { children: i, className: o, component: s = "div", disablePointerEvents: c = !1, disableTypography: l = !1, position: u, variant: d, ...f } = r, p = y() || {}, m = d;
205
+ d && p.variant, p && !m && (m = p.variant);
206
+ let h = {
207
+ ...r,
208
+ hiddenLabel: p.hiddenLabel,
209
+ size: p.size,
210
+ disablePointerEvents: c,
211
+ position: u,
212
+ variant: m
213
+ }, g = xe(h);
214
214
  return /*#__PURE__*/ q(a.Provider, {
215
215
  value: null,
216
216
  children: /*#__PURE__*/ q(Se, {
217
- as: c,
218
- ownerState: g,
219
- className: T(_.root, s),
217
+ as: s,
218
+ ownerState: h,
219
+ className: w(g.root, o),
220
220
  ref: t,
221
- ...p,
222
- children: typeof i == "string" && !u ? /*#__PURE__*/ q(N, {
221
+ ...f,
222
+ children: typeof i == "string" && !l ? /*#__PURE__*/ q(P, {
223
223
  color: "textSecondary",
224
224
  children: i
225
- }) : /*#__PURE__*/ J(G.Fragment, { children: [d === "start" ? ye ||= /*#__PURE__*/ q("span", {
225
+ }) : /*#__PURE__*/ J(G.Fragment, { children: [u === "start" ? ye ||= /*#__PURE__*/ q("span", {
226
226
  className: "notranslate",
227
227
  "aria-hidden": !0,
228
228
  children: "​"
229
229
  }) : null, i] })
230
230
  })
231
231
  });
232
- }), we = s(/*#__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"), Te = s(/*#__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"), Ee = S("span", {
232
+ }), we = o(/*#__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"), Te = o(/*#__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"), Ee = x("span", {
233
233
  name: "MuiRadioButtonIcon",
234
- shouldForwardProp: c
234
+ shouldForwardProp: s
235
235
  })({
236
236
  position: "relative",
237
237
  display: "flex"
238
- }), De = S(we, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), Oe = S(Te, { name: "MuiRadioButtonIcon" })(V(({ theme: e }) => ({
238
+ }), De = x(we, { name: "MuiRadioButtonIcon" })({ transform: "scale(1)" }), Oe = x(Te, { name: "MuiRadioButtonIcon" })(V(({ theme: e }) => ({
239
239
  left: 0,
240
240
  position: "absolute",
241
241
  transform: "scale(0)",
@@ -284,9 +284,9 @@ function je() {
284
284
  //#endregion
285
285
  //#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Radio/radioClasses.js
286
286
  function Me(e) {
287
- return C("MuiRadio", e);
287
+ return S("MuiRadio", e);
288
288
  }
289
- var Ne = w("MuiRadio", [
289
+ var Ne = C("MuiRadio", [
290
290
  "root",
291
291
  "checked",
292
292
  "disabled",
@@ -296,23 +296,23 @@ var Ne = w("MuiRadio", [
296
296
  ]), Pe = (e) => {
297
297
  let { classes: t, color: n, size: r } = e, i = { root: [
298
298
  "root",
299
- `color${u(n)}`,
300
- r !== "medium" && `size${u(r)}`
299
+ `color${l(n)}`,
300
+ r !== "medium" && `size${l(r)}`
301
301
  ] };
302
302
  return {
303
303
  ...t,
304
- ...d(i, Me, t)
304
+ ...u(i, Me, t)
305
305
  };
306
- }, Fe = S(j, {
307
- shouldForwardProp: (e) => c(e) || e === "classes",
306
+ }, Fe = x(j, {
307
+ shouldForwardProp: (e) => s(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${u(n.size)}`],
315
- t[`color${u(n.color)}`]
314
+ n.size !== "medium" && t[`size${l(n.size)}`],
315
+ t[`color${l(n.color)}`]
316
316
  ];
317
317
  }
318
318
  })(V(({ theme: e }) => ({
@@ -327,7 +327,7 @@ var Ne = w("MuiRadio", [
327
327
  },
328
328
  style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity) } }
329
329
  },
330
- ...Object.entries(e.palette).filter(n()).map(([t]) => ({
330
+ ...Object.entries(e.palette).filter(M()).map(([t]) => ({
331
331
  props: {
332
332
  color: t,
333
333
  disabled: !1,
@@ -335,7 +335,7 @@ var Ne = w("MuiRadio", [
335
335
  },
336
336
  style: { "&:hover": { backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity) } }
337
337
  })),
338
- ...Object.entries(e.palette).filter(n()).map(([t]) => ({
338
+ ...Object.entries(e.palette).filter(M()).map(([t]) => ({
339
339
  props: {
340
340
  color: t,
341
341
  disabled: !1
@@ -352,27 +352,27 @@ function Ie(e, t) {
352
352
  return typeof t == "object" && t ? e === t : String(e) === String(t);
353
353
  }
354
354
  var Le = /*#__PURE__*/ q(ke, { checked: !0 }), Re = /*#__PURE__*/ q(ke, {}), ze = /*#__PURE__*/ G.forwardRef(function(e, t) {
355
- let n = r({
355
+ let r = n({
356
356
  props: e,
357
357
  name: "MuiRadio"
358
- }), { checked: i, checkedIcon: a = Le, color: s = "primary", icon: c = Re, name: l, onChange: u, size: d = "medium", className: f, disabled: p, disableRipple: m = !1, slots: h = {}, slotProps: g = {}, inputProps: _, ...v } = n, b = o(), x = p;
358
+ }), { checked: i, checkedIcon: a = Le, color: o = "primary", icon: s = Re, name: c, onChange: l, size: u = "medium", className: d, disabled: f, disableRipple: p = !1, slots: m = {}, slotProps: h = {}, inputProps: g, ...v } = r, b = y(), x = f;
359
359
  b && x === void 0 && (x = b.disabled), x ??= !1;
360
360
  let S = {
361
- ...n,
361
+ ...r,
362
362
  disabled: x,
363
- disableRipple: m,
364
- color: s,
365
- size: d
366
- }, C = Pe(S), w = je(), E = i, D = de(u, w && w.onChange), O = l;
367
- w && (E === void 0 && (E = Ie(w.value, n.value)), O === void 0 && (O = w.name));
368
- let k = g.input ?? _, [A, j] = y("root", {
363
+ disableRipple: p,
364
+ color: o,
365
+ size: u
366
+ }, C = Pe(S), T = je(), E = i, D = de(l, T && T.onChange), O = c;
367
+ T && (E === void 0 && (E = Ie(T.value, r.value)), O === void 0 && (O = T.name));
368
+ let k = h.input ?? g, [A, j] = _("root", {
369
369
  ref: t,
370
370
  elementType: Fe,
371
- className: T(C.root, f),
371
+ className: w(C.root, d),
372
372
  shouldForwardComponentProp: !0,
373
373
  externalForwardedProps: {
374
- slots: h,
375
- slotProps: g,
374
+ slots: m,
375
+ slotProps: h,
376
376
  ...v
377
377
  },
378
378
  getSlotProps: (e) => ({
@@ -384,12 +384,12 @@ var Le = /*#__PURE__*/ q(ke, { checked: !0 }), Re = /*#__PURE__*/ q(ke, {}), ze
384
384
  ownerState: S,
385
385
  additionalProps: {
386
386
  type: "radio",
387
- icon: /*#__PURE__*/ G.cloneElement(c, { fontSize: c.props.fontSize ?? d }),
388
- checkedIcon: /*#__PURE__*/ G.cloneElement(a, { fontSize: a.props.fontSize ?? d }),
387
+ icon: /*#__PURE__*/ G.cloneElement(s, { fontSize: s.props.fontSize ?? u }),
388
+ checkedIcon: /*#__PURE__*/ G.cloneElement(a, { fontSize: a.props.fontSize ?? u }),
389
389
  disabled: x,
390
390
  name: O,
391
391
  checked: E,
392
- slots: h,
392
+ slots: m,
393
393
  slotProps: { input: typeof k == "function" ? k(S) : k }
394
394
  }
395
395
  });
@@ -401,9 +401,9 @@ var Le = /*#__PURE__*/ q(ke, { checked: !0 }), Re = /*#__PURE__*/ q(ke, {}), ze
401
401
  //#endregion
402
402
  //#region ../../../node_modules/.bun/@mui+material@7.3.11+eb26afe407ed7030/node_modules/@mui/material/esm/Switch/switchClasses.js
403
403
  function Be(e) {
404
- return C("MuiSwitch", e);
404
+ return S("MuiSwitch", e);
405
405
  }
406
- var X = w("MuiSwitch", [
406
+ var X = C("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
  ]), Ve = (e) => {
421
- let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s = d({
421
+ let { classes: t, edge: n, size: r, color: i, checked: a, disabled: o } = e, s = u({
422
422
  root: [
423
423
  "root",
424
- n && `edge${u(n)}`,
425
- `size${u(r)}`
424
+ n && `edge${l(n)}`,
425
+ `size${l(r)}`
426
426
  ],
427
427
  switchBase: [
428
428
  "switchBase",
429
- `color${u(i)}`,
429
+ `color${l(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
- }, He = S("span", {
441
+ }, He = x("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${u(n.edge)}`],
449
- t[`size${u(n.size)}`]
448
+ n.edge && t[`edge${l(n.edge)}`],
449
+ t[`size${l(n.size)}`]
450
450
  ];
451
451
  }
452
452
  })({
@@ -487,7 +487,7 @@ var X = w("MuiSwitch", [
487
487
  }
488
488
  }
489
489
  ]
490
- }), Ue = S(j, {
490
+ }), Ue = x(j, {
491
491
  name: "MuiSwitch",
492
492
  slot: "SwitchBase",
493
493
  overridesResolver: (e, t) => {
@@ -495,7 +495,7 @@ var X = w("MuiSwitch", [
495
495
  return [
496
496
  t.switchBase,
497
497
  { [`& .${X.input}`]: t.input },
498
- n.color !== "default" && t[`color${u(n.color)}`]
498
+ n.color !== "default" && t[`color${l(n.color)}`]
499
499
  ];
500
500
  }
501
501
  })(V(({ theme: e }) => ({
@@ -518,7 +518,7 @@ var X = w("MuiSwitch", [
518
518
  backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
519
519
  "@media (hover: none)": { backgroundColor: "transparent" }
520
520
  },
521
- variants: [...Object.entries(e.palette).filter(n(["light"])).map(([t]) => ({
521
+ variants: [...Object.entries(e.palette).filter(M(["light"])).map(([t]) => ({
522
522
  props: { color: t },
523
523
  style: {
524
524
  [`&.${X.checked}`]: {
@@ -532,7 +532,7 @@ var X = w("MuiSwitch", [
532
532
  [`&.${X.checked} + .${X.track}`]: { backgroundColor: (e.vars || e).palette[t].main }
533
533
  }
534
534
  }))]
535
- }))), We = S("span", {
535
+ }))), We = x("span", {
536
536
  name: "MuiSwitch",
537
537
  slot: "Track"
538
538
  })(V(({ theme: e }) => ({
@@ -545,7 +545,7 @@ 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
- }))), Ge = S("span", {
548
+ }))), Ge = x("span", {
549
549
  name: "MuiSwitch",
550
550
  slot: "Thumb"
551
551
  })(V(({ theme: e }) => ({
@@ -557,36 +557,36 @@ var X = w("MuiSwitch", [
557
557
  height: 20,
558
558
  borderRadius: "50%"
559
559
  }))), Ke = /*#__PURE__*/ G.forwardRef(function(e, t) {
560
- let n = r({
560
+ let r = n({
561
561
  props: e,
562
562
  name: "MuiSwitch"
563
- }), { className: i, color: a = "primary", edge: o = !1, size: s = "medium", sx: c, slots: l = {}, slotProps: u = {}, ...d } = n, f = {
564
- ...n,
563
+ }), { className: i, color: a = "primary", edge: o = !1, size: s = "medium", sx: c, slots: l = {}, slotProps: u = {}, ...d } = r, f = {
564
+ ...r,
565
565
  color: a,
566
566
  edge: o,
567
567
  size: s
568
- }, p = Ve(f), m = u.input, h = {
568
+ }, p = Ve(f), m = u.input, g = {
569
569
  slots: l,
570
570
  slotProps: u
571
- }, [g, v] = y("root", {
572
- className: T(p.root, i),
571
+ }, [v, y] = _("root", {
572
+ className: w(p.root, i),
573
573
  elementType: He,
574
- externalForwardedProps: h,
574
+ externalForwardedProps: g,
575
575
  ownerState: f,
576
576
  additionalProps: { sx: c }
577
- }), [b, x] = y("thumb", {
577
+ }), [b, x] = _("thumb", {
578
578
  className: p.thumb,
579
579
  elementType: Ge,
580
- externalForwardedProps: h,
580
+ externalForwardedProps: g,
581
581
  ownerState: f
582
- }), S = /*#__PURE__*/ q(b, { ...x }), [C, w] = y("track", {
582
+ }), S = /*#__PURE__*/ q(b, { ...x }), [C, T] = _("track", {
583
583
  className: p.track,
584
584
  elementType: We,
585
- externalForwardedProps: h,
585
+ externalForwardedProps: g,
586
586
  ownerState: f
587
587
  });
588
- return /*#__PURE__*/ J(g, {
589
- ...v,
588
+ return /*#__PURE__*/ J(v, {
589
+ ...y,
590
590
  children: [/*#__PURE__*/ q(Ue, {
591
591
  type: "checkbox",
592
592
  icon: S,
@@ -604,14 +604,14 @@ var X = w("MuiSwitch", [
604
604
  },
605
605
  slotProps: {
606
606
  ...u.switchBase && { root: typeof u.switchBase == "function" ? u.switchBase(f) : u.switchBase },
607
- input: _(typeof m == "function" ? m(f) : m, { role: "switch" })
607
+ input: h(typeof m == "function" ? m(f) : m, { role: "switch" })
608
608
  }
609
- }), /*#__PURE__*/ q(C, { ...w })]
609
+ }), /*#__PURE__*/ q(C, { ...T })]
610
610
  });
611
- }), qe = /* @__PURE__ */ e(ie(), 1), Z = /* @__PURE__ */ e(t(), 1), Je = S(ge)(() => ({ "& .MuiFormControlLabel-label": {
611
+ }), qe = /* @__PURE__ */ e(ie(), 1), Z = /* @__PURE__ */ e(t(), 1), Je = x(ge)(() => ({ "& .MuiFormControlLabel-label": {
612
612
  left: "-5px",
613
613
  position: "relative"
614
- } })), Ye = S(ze)(() => ({ color: `${l.tertiary()} !important` })), Xe = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(Je, {
614
+ } })), Ye = x(ze)(() => ({ color: `${c.tertiary()} !important` })), Xe = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(Je, {
615
615
  value: t,
616
616
  control: /* @__PURE__ */ q(Ye, {
617
617
  checked: n,
@@ -627,7 +627,7 @@ Xe.propTypes = {
627
627
  };
628
628
  //#endregion
629
629
  //#region ../../lib-react/config-ui/dist/tabs/index.js
630
- var Ze = S(O)(() => ({})), Qe = class extends K.Component {
630
+ var Ze = x(D)(() => ({})), Qe = 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 Ze = S(O)(() => ({})), Qe = 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(M, {
647
+ children: [/* @__PURE__ */ q(N, {
648
648
  indicatorColor: "primary",
649
649
  value: e,
650
650
  onChange: this.handleChange,
@@ -656,7 +656,7 @@ var Ze = S(O)(() => ({})), Qe = class extends K.Component {
656
656
  })]
657
657
  });
658
658
  }
659
- }, $e = S(ge)(({ theme: e, mini: t }) => ({
659
+ }, $e = x(ge)(({ theme: e, mini: t }) => ({
660
660
  margin: 0,
661
661
  marginLeft: 0,
662
662
  padding: 0,
@@ -666,12 +666,12 @@ var Ze = S(O)(() => ({})), Qe = class extends K.Component {
666
666
  color: "rgba(0,0,0,1.0)",
667
667
  ...t && {
668
668
  marginLeft: e.spacing(1),
669
- color: I[700],
669
+ color: L[700],
670
670
  fontSize: e.typography.fontSize - 3
671
671
  }
672
672
  }
673
- })), et = S(L)(({ theme: e, mini: t, error: n }) => ({
674
- color: `${l.tertiary()} !important`,
673
+ })), et = x(ee)(({ 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 @@ tt.propTypes = {
704
704
  };
705
705
  //#endregion
706
706
  //#region ../../lib-react/config-ui/dist/number-text-field.js
707
- var nt = (0, qe.default)("@pie-lib:config-ui:number-text-field"), rt = S(ee)(({ theme: e }) => ({
707
+ var nt = (0, qe.default)("@pie-lib:config-ui:number-text-field"), rt = x(z)(({ theme: e }) => ({
708
708
  marginRight: e.spacing(1),
709
709
  "& .MuiInputLabel-root": {
710
710
  width: "auto",
@@ -819,7 +819,7 @@ var nt = (0, qe.default)("@pie-lib:config-ui:number-text-field"), rt = S(ee)(({
819
819
  if (ot(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
- }, ct = s(/*#__PURE__*/ q("path", { d: "M19 13H5v-2h14z" }), "Remove"), lt = s(/*#__PURE__*/ q("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" }), "Add"), ut = S(ee)(() => ({
822
+ }, ct = o(/*#__PURE__*/ q("path", { d: "M19 13H5v-2h14z" }), "Remove"), lt = o(/*#__PURE__*/ q("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" }), "Add"), ut = x(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 nt = (0, qe.default)("@pie-lib:config-ui:number-text-field"), rt = S(ee)(({
829
829
  WebkitAppearance: "none",
830
830
  margin: 0
831
831
  }
832
- })), dt = S(E)(() => ({ padding: "2px" })), ft = (e, t) => {
832
+ })), dt = x(A)(() => ({ padding: "2px" })), ft = (e, t) => {
833
833
  if (!H(e) && !H(t)) return 0;
834
834
  if (!H(e) && H(t)) return t;
835
835
  if (H(e)) return e;
@@ -1005,7 +1005,7 @@ function mt(e) {
1005
1005
  function ht(e, t) {
1006
1006
  return !e || mt(e) ? e : mt(e.default) ? e.default : t && mt(e[t]) ? e[t] : t && mt(e[t]?.default) ? e[t].default : e;
1007
1007
  }
1008
- var gt = ht(i, "InputContainer") || ht(yt.InputContainer, "InputContainer"), _t = B, vt = _t.default, yt = vt && typeof vt == "object" ? vt : _t, bt = S("div")(({ theme: e, direction: t }) => ({
1008
+ var gt = ht(v, "InputContainer") || ht(yt.InputContainer, "InputContainer"), _t = T, vt = _t.default, yt = vt && typeof vt == "object" ? vt : _t, bt = x("div")(({ theme: e, direction: t }) => ({
1009
1009
  display: "flex",
1010
1010
  flexWrap: "wrap",
1011
1011
  paddingLeft: 0,
@@ -1078,14 +1078,14 @@ var Ct = Object.defineProperty, wt = (e, t) => {
1078
1078
  enumerable: !0
1079
1079
  });
1080
1080
  return t || Ct(n, Symbol.toStringTag, { value: "Module" }), n;
1081
- }, Tt = S("div")(() => ({
1081
+ }, Tt = x("div")(() => ({
1082
1082
  display: "flex",
1083
1083
  flexDirection: "column",
1084
1084
  position: "relative"
1085
- })), Et = S("div")(() => ({
1085
+ })), Et = x("div")(() => ({
1086
1086
  display: "flex",
1087
1087
  justifyContent: "space-between"
1088
- })), Dt = S("div")(({ theme: e }) => ({ padding: `${e.spacing(2)} 0` })), Ot = S("div")(() => ({ flex: "1" })), kt = S("div")(({ theme: e }) => ({ marginLeft: e.spacing(2) })), At = class extends K.Component {
1088
+ })), Dt = x("div")(({ theme: e }) => ({ padding: `${e.spacing(2)} 0` })), Ot = x("div")(() => ({ flex: "1" })), kt = x("div")(({ theme: e }) => ({ marginLeft: e.spacing(2) })), At = 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 hn = mn()(function(e) {
1563
1563
  hn.displayName = "Measure", hn.propTypes.children = Z.default.func;
1564
1564
  //#endregion
1565
1565
  //#region ../../lib-react/config-ui/dist/layout/settings-box.js
1566
- var gn = S("div")(() => ({
1567
- backgroundColor: l.white(),
1568
- border: `2px solid ${l.border()}`,
1566
+ var gn = x("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 gn = S("div")(() => ({
1586
1586
  children: t
1587
1587
  });
1588
1588
  }
1589
- }, vn = f({
1589
+ }, vn = d({
1590
1590
  typography: { fontFamily: "inherit" },
1591
1591
  components: { MuiButton: { styleOverrides: { contained: {
1592
1592
  backgroundColor: "#e0e0e0",
@@ -1623,9 +1623,9 @@ var gn = S("div")(() => ({
1623
1623
  a !== this.state.layoutMode && this.setState({ layoutMode: a });
1624
1624
  };
1625
1625
  render() {
1626
- return /* @__PURE__ */ q(v, {
1626
+ return /* @__PURE__ */ q(g, {
1627
1627
  injectFirst: !0,
1628
- children: /* @__PURE__ */ q(x, {
1628
+ children: /* @__PURE__ */ q(b, {
1629
1629
  theme: vn,
1630
1630
  children: /* @__PURE__ */ q(hn, {
1631
1631
  bounds: !0,
@@ -1653,18 +1653,18 @@ var gn = S("div")(() => ({
1653
1653
  }, bn = mn("bounds")(yn), xn = /* @__PURE__ */ wt({
1654
1654
  ConfigLayout: () => bn,
1655
1655
  LayoutContents: () => At
1656
- }), Sn = S("div")(() => ({
1656
+ }), Sn = x("div")(() => ({
1657
1657
  display: "flex",
1658
1658
  width: "100%",
1659
1659
  justifyContent: "space-between"
1660
- })), Cn = S(b)(({ theme: e }) => ({
1660
+ })), Cn = x(B)(({ theme: e }) => ({
1661
1661
  color: "rgba(0, 0, 0, 0.89)",
1662
1662
  fontSize: e.typography.fontSize,
1663
1663
  paddingTop: e.spacing(2)
1664
- })), wn = S(Ke)(({ checked: e }) => ({
1665
- "&.Mui-checked .MuiSwitch-thumb": { color: `${l.tertiary()} !important` },
1666
- "&.Mui-checked .MuiSwitch-track": { backgroundColor: `${l.tertiaryLight()} !important` },
1667
- "& .MuiSwitch-track": { backgroundColor: e ? `${l.tertiaryLight()} !important` : void 0 }
1664
+ })), wn = x(Ke)(({ checked: e }) => ({
1665
+ "&.Mui-checked .MuiSwitch-thumb": { color: `${c.tertiary()} !important` },
1666
+ "&.Mui-checked .MuiSwitch-track": { backgroundColor: `${c.tertiaryLight()} !important` },
1667
+ "& .MuiSwitch-track": { backgroundColor: e ? `${c.tertiaryLight()} !important` : void 0 }
1668
1668
  })), Tn = ({ checked: e, disabled: t, label: n, toggle: r }) => {
1669
1669
  let i = ce();
1670
1670
  return /* @__PURE__ */ J(Sn, { children: [/* @__PURE__ */ q(Cn, {
@@ -1685,12 +1685,12 @@ Tn.propTypes = {
1685
1685
  };
1686
1686
  //#endregion
1687
1687
  //#region ../../lib-react/config-ui/dist/settings/settings-radio-label.js
1688
- var En = S(ge)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": {
1688
+ var En = x(ge)(({ theme: e }) => ({ "& .MuiFormControlLabel-label": {
1689
1689
  color: "rgba(0, 0, 0, 0.89)",
1690
1690
  fontSize: e.typography.fontSize - 2,
1691
1691
  left: "-5px",
1692
1692
  position: "relative"
1693
- } })), Dn = S(ze)(() => ({ color: `${l.tertiary()} !important` })), On = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(En, {
1693
+ } })), Dn = x(ze)(() => ({ color: `${c.tertiary()} !important` })), On = ({ label: e, value: t, checked: n, onChange: r }) => /* @__PURE__ */ q(En, {
1694
1694
  value: t,
1695
1695
  control: /* @__PURE__ */ q(Dn, {
1696
1696
  checked: n,
@@ -1725,7 +1725,7 @@ Mn.propTypes = {
1725
1725
  value: Z.default.bool,
1726
1726
  onChange: Z.default.func
1727
1727
  };
1728
- var Nn = S(xt)(({ theme: e }) => ({
1728
+ var Nn = x(xt)(({ theme: e }) => ({
1729
1729
  marginTop: e.spacing(.5),
1730
1730
  paddingBottom: e.spacing(.5),
1731
1731
  width: "100%",
@@ -1748,10 +1748,10 @@ Pn.propTypes = {
1748
1748
  ...jn,
1749
1749
  choices: Z.default.arrayOf(Z.default.shape(An))
1750
1750
  };
1751
- var Fn = Pn, In = S("p")(({ theme: e }) => ({
1751
+ var Fn = Pn, In = x("p")(({ theme: e }) => ({
1752
1752
  margin: 0,
1753
1753
  fontSize: e.typography.fontSize
1754
- })), Ln = S(A)(({ theme: e }) => ({
1754
+ })), Ln = x(k)(({ theme: e }) => ({
1755
1755
  marginTop: e.spacing(.5),
1756
1756
  border: "2px solid lightgrey",
1757
1757
  padding: `0 ${e.spacing(1)}`,
@@ -1761,13 +1761,13 @@ var Fn = Pn, In = S("p")(({ theme: e }) => ({
1761
1761
  return /* @__PURE__ */ J("div", { children: [e && /* @__PURE__ */ q(In, { children: e }), /* @__PURE__ */ q(Ln, {
1762
1762
  value: t || r && r[0],
1763
1763
  onChange: ({ target: e }) => n(e.value),
1764
- input: /* @__PURE__ */ q(F, { id: `dropdown-${e}` }),
1764
+ input: /* @__PURE__ */ q(I, { id: `dropdown-${e}` }),
1765
1765
  disableUnderline: !0,
1766
1766
  MenuProps: { transitionDuration: {
1767
1767
  enter: 225,
1768
1768
  exit: 195
1769
1769
  } },
1770
- children: r.map((e, t) => /* @__PURE__ */ q(k, {
1770
+ children: r.map((e, t) => /* @__PURE__ */ q(O, {
1771
1771
  value: a(e),
1772
1772
  children: i(e)
1773
1773
  }, t))
@@ -1777,10 +1777,10 @@ Rn.propTypes = {
1777
1777
  ...jn,
1778
1778
  choices: Z.default.arrayOf(Z.default.string)
1779
1779
  };
1780
- var zn = S(N)(({ theme: e }) => ({
1780
+ var zn = x(P)(({ theme: e }) => ({
1781
1781
  marginRight: e.spacing(3),
1782
1782
  marginTop: e.spacing(1)
1783
- })), Bn = ({ label: e }) => /* @__PURE__ */ q(zn, { children: e }), Vn = S(at)(({ theme: e }) => ({
1783
+ })), Bn = ({ label: e }) => /* @__PURE__ */ q(zn, { children: e }), Vn = x(at)(({ theme: e }) => ({
1784
1784
  width: "35%",
1785
1785
  marginRight: e.spacing(3),
1786
1786
  marginTop: e.spacing(1),
@@ -1826,12 +1826,12 @@ var Wn = {
1826
1826
  numberField: Hn,
1827
1827
  checkbox: Mn,
1828
1828
  textField: Bn
1829
- }, Gn = S("div")(({ theme: e }) => ({ margin: `0 0 ${e.spacing(2)} 0` })), Kn = S("div")(({ theme: e }) => ({
1829
+ }, Gn = x("div")(({ theme: e }) => ({ margin: `0 0 ${e.spacing(2)} 0` })), Kn = x("div")(({ theme: e }) => ({
1830
1830
  color: "#495B8F",
1831
1831
  fontSize: e.typography.fontSize + 2,
1832
1832
  fontWeight: 600,
1833
1833
  marginBottom: e.spacing(1)
1834
- })), qn = S("p")(({ theme: e }) => ({
1834
+ })), qn = x("p")(({ theme: e }) => ({
1835
1835
  fontSize: e.typography.fontSize,
1836
1836
  marginBottom: 0
1837
1837
  })), Jn = (e) => {
@@ -1954,14 +1954,14 @@ function or(e) {
1954
1954
  function sr(e, t) {
1955
1955
  return !e || or(e) ? e : or(e.default) ? e.default : t && or(e[t]) ? e[t] : t && or(e[t]?.default) ? e[t].default : e;
1956
1956
  }
1957
- var cr = sr(i, "InputContainer") || sr(dr.InputContainer, "InputContainer"), lr = B, ur = lr.default, dr = ur && typeof ur == "object" ? ur : lr, fr = S("div")(() => ({ width: "160px" })), pr = S(te)(() => ({ width: "160px" })), mr = S(b)(() => ({ backgroundColor: "transparent" })), hr = ({ onChange: e, value: t, availableChartTypes: n, chartTypeLabel: r }) => {
1958
- let i = h("chart-type-label");
1957
+ var cr = sr(v, "InputContainer") || sr(dr.InputContainer, "InputContainer"), lr = T, ur = lr.default, dr = ur && typeof ur == "object" ? ur : lr, fr = x("div")(() => ({ width: "160px" })), pr = x(r)(() => ({ width: "160px" })), mr = x(B)(() => ({ backgroundColor: "transparent" })), hr = ({ onChange: e, value: t, availableChartTypes: n, chartTypeLabel: r }) => {
1958
+ let i = m("chart-type-label");
1959
1959
  return /* @__PURE__ */ q(fr, { children: /* @__PURE__ */ J(pr, {
1960
1960
  variant: "outlined",
1961
1961
  children: [/* @__PURE__ */ q(mr, {
1962
1962
  id: i,
1963
1963
  children: r
1964
- }), /* @__PURE__ */ J(A, {
1964
+ }), /* @__PURE__ */ J(k, {
1965
1965
  labelId: i,
1966
1966
  id: `${i}-select`,
1967
1967
  name: "chartType",
@@ -1973,27 +1973,27 @@ var cr = sr(i, "InputContainer") || sr(dr.InputContainer, "InputContainer"), lr
1973
1973
  exit: 195
1974
1974
  } },
1975
1975
  children: [
1976
- n?.histogram && /* @__PURE__ */ q(k, {
1976
+ n?.histogram && /* @__PURE__ */ q(O, {
1977
1977
  value: "histogram",
1978
1978
  children: n.histogram
1979
1979
  }),
1980
- n?.bar && /* @__PURE__ */ q(k, {
1980
+ n?.bar && /* @__PURE__ */ q(O, {
1981
1981
  value: "bar",
1982
1982
  children: n.bar
1983
1983
  }),
1984
- n?.lineDot && /* @__PURE__ */ q(k, {
1984
+ n?.lineDot && /* @__PURE__ */ q(O, {
1985
1985
  value: "lineDot",
1986
1986
  children: n.lineDot
1987
1987
  }),
1988
- n?.lineCross && /* @__PURE__ */ q(k, {
1988
+ n?.lineCross && /* @__PURE__ */ q(O, {
1989
1989
  value: "lineCross",
1990
1990
  children: n.lineCross
1991
1991
  }),
1992
- n?.dotPlot && /* @__PURE__ */ q(k, {
1992
+ n?.dotPlot && /* @__PURE__ */ q(O, {
1993
1993
  value: "dotPlot",
1994
1994
  children: n.dotPlot
1995
1995
  }),
1996
- n?.linePlot && /* @__PURE__ */ q(k, {
1996
+ n?.linePlot && /* @__PURE__ */ q(O, {
1997
1997
  value: "linePlot",
1998
1998
  children: n.linePlot
1999
1999
  })
@@ -2024,31 +2024,31 @@ var gr = (e, t, n, r, i) => {
2024
2024
  ...i,
2025
2025
  data: e
2026
2026
  });
2027
- }, _r = S("div")(() => ({ width: "450px" })), vr = S("div")(({ theme: e }) => ({
2027
+ }, _r = x("div")(() => ({ width: "450px" })), vr = x("div")(({ theme: e }) => ({
2028
2028
  display: "flex",
2029
2029
  flexDirection: "column",
2030
2030
  width: "100%",
2031
2031
  marginTop: e.spacing(3)
2032
- })), yr = S("div")(() => ({
2032
+ })), yr = x("div")(() => ({
2033
2033
  display: "flex",
2034
2034
  flexDirection: "column",
2035
2035
  alignItems: "center"
2036
- })), br = S("div")(() => ({
2036
+ })), br = x("div")(() => ({
2037
2037
  display: "flex",
2038
2038
  justifyContent: "space-around",
2039
2039
  alignItems: "center"
2040
- })), xr = S(pt)(({ theme: e }) => ({
2040
+ })), xr = x(pt)(({ theme: e }) => ({
2041
2041
  width: "130px",
2042
2042
  margin: `${e.spacing(1)} ${e.spacing(.5)}`
2043
- })), Sr = S(pt)(({ theme: e }) => ({
2043
+ })), Sr = x(pt)(({ theme: e }) => ({
2044
2044
  width: "160px",
2045
2045
  margin: `${e.spacing(1)} ${e.spacing(.5)}`
2046
- })), Cr = S("div")(({ theme: e }) => ({
2046
+ })), Cr = x("div")(({ theme: e }) => ({
2047
2047
  display: "flex",
2048
2048
  justifyContent: "space-between",
2049
2049
  alignItems: "center",
2050
2050
  margin: `${e.spacing(3)} 0`
2051
- })), wr = S(N)(() => ({ color: l.disabled() })), Tr = (e) => {
2051
+ })), wr = x(P)(() => ({ color: c.disabled() })), Tr = (e) => {
2052
2052
  let { model: t, onChange: n, chartDimensions: r, gridValues: i = {}, labelValues: a = {}, studentNewCategoryDefaultLabel: o = {}, availableChartTypes: s = {}, chartTypeLabel: c } = e, [l, u] = le({
2053
2053
  open: !1,
2054
2054
  title: "",
@@ -2073,13 +2073,13 @@ var gr = (e, t, n, r, i) => {
2073
2073
  label: "Grid Interval",
2074
2074
  value: _.step,
2075
2075
  variant: "outlined",
2076
- onChange: (e, t) => z("step", t, e),
2076
+ onChange: (e, t) => R("step", t, e),
2077
2077
  ...D
2078
2078
  }), /* @__PURE__ */ q(Sr, {
2079
2079
  label: "Label Interval",
2080
2080
  value: _.labelStep,
2081
2081
  variant: "outlined",
2082
- onChange: (e, t) => z("labelStep", t, e),
2082
+ onChange: (e, t) => R("labelStep", t, e),
2083
2083
  ...O
2084
2084
  })] }), A = (e) => {
2085
2085
  u((t) => ({
@@ -2089,7 +2089,7 @@ var gr = (e, t, n, r, i) => {
2089
2089
  }, j = (e, t) => e.map((e) => (Object.prototype.hasOwnProperty.call(e, t) && (e[t] = t == "interactive"), e)), M = (e) => {
2090
2090
  let { correctAnswer: r, data: i } = t;
2091
2091
  y === !1 && j(i, "interactive"), b === !1 && j(i, "editable"), gr(i, e, _, n, t), gr(r.data, !1, _, n, t);
2092
- }, F = () => {
2092
+ }, N = () => {
2093
2093
  let e = o?.label;
2094
2094
  n({
2095
2095
  ...t,
@@ -2110,14 +2110,14 @@ var gr = (e, t, n, r, i) => {
2110
2110
  ...t,
2111
2111
  graph: i
2112
2112
  });
2113
- }, R = (e, t) => (e || []).find((e) => e.value > t.max || e.value - t.step * Math.floor(e.value / t.step) !== 0), z = (e, r, i) => {
2114
- g(_[e]), m(e), _[e] = r, (e === "max" || e === "step") && (R(t.data, _) || R(t.correctAnswer.data, _)) && i?.target ? f(!0) : n({
2113
+ }, 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) => {
2114
+ g(_[e]), m(e), _[e] = r, (e === "max" || e === "step") && (ee(t.data, _) || ee(t.correctAnswer.data, _)) && i?.target ? f(!0) : n({
2115
2115
  ...t,
2116
2116
  range: _
2117
2117
  });
2118
2118
  };
2119
2119
  se(() => {
2120
- M(!0), F();
2120
+ M(!0), N();
2121
2121
  }, []), se(() => {
2122
2122
  d && u({
2123
2123
  open: !0,
@@ -2135,20 +2135,20 @@ var gr = (e, t, n, r, i) => {
2135
2135
  }
2136
2136
  });
2137
2137
  }, [d]);
2138
- let ee = _.step === 1 && _.labelStep === 1 && 3 <= _.max && _.max <= 10, B = () => {
2138
+ let te = _.step === 1 && _.labelStep === 1 && 3 <= _.max && _.max <= 10, z = () => {
2139
2139
  I.min = 3, I.max = 10, _.max = 10, _.step = 1, _.labelStep = 1, n({
2140
2140
  ...t,
2141
2141
  range: _
2142
2142
  });
2143
- }, te = (e) => {
2143
+ }, B = (e) => {
2144
2144
  if (e.includes("Plot")) {
2145
- if (!ee) {
2145
+ if (!te) {
2146
2146
  u({
2147
2147
  open: !0,
2148
2148
  title: "Warning",
2149
2149
  text: "The selected chart type does not support the current chart configuration. Reset chart configuration?",
2150
2150
  onConfirm: () => {
2151
- B(), M(), A(!1), n({
2151
+ z(), M(), A(!1), n({
2152
2152
  ...t,
2153
2153
  range: _,
2154
2154
  chartType: e
@@ -2172,14 +2172,14 @@ var gr = (e, t, n, r, i) => {
2172
2172
  });
2173
2173
  };
2174
2174
  return /* @__PURE__ */ J(_r, { children: [
2175
- /* @__PURE__ */ q(N, {
2175
+ /* @__PURE__ */ q(P, {
2176
2176
  variant: "subtitle1",
2177
2177
  children: "Configure Chart"
2178
2178
  }),
2179
2179
  /* @__PURE__ */ J(vr, { children: [
2180
2180
  /* @__PURE__ */ J(br, { children: [/* @__PURE__ */ q(hr, {
2181
2181
  value: t.chartType,
2182
- onChange: (e) => te(e.target.value),
2182
+ onChange: (e) => B(e.target.value),
2183
2183
  availableChartTypes: s,
2184
2184
  chartTypeLabel: c
2185
2185
  }), /* @__PURE__ */ q(Sr, {
@@ -2188,11 +2188,11 @@ var gr = (e, t, n, r, i) => {
2188
2188
  min: I(t.chartType).min,
2189
2189
  max: I(t.chartType).max,
2190
2190
  variant: "outlined",
2191
- onChange: (e, t) => z("max", t, e)
2191
+ onChange: (e, t) => R("max", t, e)
2192
2192
  })] }),
2193
2193
  !t.chartType.includes("Plot") && k,
2194
2194
  S && /* @__PURE__ */ J(Cr, { children: [
2195
- /* @__PURE__ */ q("div", { children: /* @__PURE__ */ q(N, { children: "Dimensions(px)" }) }),
2195
+ /* @__PURE__ */ q("div", { children: /* @__PURE__ */ q(P, { children: "Dimensions(px)" }) }),
2196
2196
  /* @__PURE__ */ J(yr, { children: [/* @__PURE__ */ q(xr, {
2197
2197
  label: "Width",
2198
2198
  value: x.width,
@@ -2213,7 +2213,7 @@ var gr = (e, t, n, r, i) => {
2213
2213
  }), /* @__PURE__ */ q(wr, { children: "Min 400, Max 700" })] })
2214
2214
  ] })
2215
2215
  ] }),
2216
- /* @__PURE__ */ q(P, {
2216
+ /* @__PURE__ */ q(F, {
2217
2217
  open: l.open,
2218
2218
  title: l.title,
2219
2219
  text: l.text,
@@ -2297,11 +2297,11 @@ var Er = class e extends CustomEvent {
2297
2297
  detail: t
2298
2298
  }), this.handler = t;
2299
2299
  }
2300
- }, jr = S("div")(({ theme: e }) => ({
2300
+ }, jr = x("div")(({ theme: e }) => ({
2301
2301
  marginBottom: e.spacing(2.5),
2302
2302
  display: "flex",
2303
2303
  flex: 1
2304
- })), Mr = S("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Nr = S("div")({ flex: 1 }), Pr = S(L)({ color: `${l.tertiary()} !important` }), Fr = (e, t) => {
2304
+ })), Mr = x("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Nr = x("div")({ flex: 1 }), Pr = x(ee)({ color: `${c.tertiary()} !important` }), Fr = (e, t) => {
2305
2305
  if (!e) return t;
2306
2306
  let n = [];
2307
2307
  return (t || []).forEach((t, r) => {
@@ -2363,12 +2363,12 @@ var Er = class e extends CustomEvent {
2363
2363
  render() {
2364
2364
  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 || {};
2365
2365
  return /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q(Mr, { children: "Define Initial Chart Attributes" }), /* @__PURE__ */ q(jr, { children: /* @__PURE__ */ J(Nr, { children: [
2366
- /* @__PURE__ */ q(N, {
2366
+ /* @__PURE__ */ q(P, {
2367
2367
  component: "div",
2368
2368
  type: "body1",
2369
2369
  children: /* @__PURE__ */ q("span", { children: "Use the tools below to set up the chart as it will initially appear to students." })
2370
2370
  }),
2371
- /* @__PURE__ */ q(z, {
2371
+ /* @__PURE__ */ q(te, {
2372
2372
  defineChart: !0,
2373
2373
  chartingOptions: o,
2374
2374
  showPixelGuides: i,
@@ -2401,7 +2401,7 @@ var Er = class e extends CustomEvent {
2401
2401
  this.changeAddRemoveEnabled(e.target.checked);
2402
2402
  }
2403
2403
  }), o?.addCategory?.authoringLabel] }),
2404
- /* @__PURE__ */ q(P, {
2404
+ /* @__PURE__ */ q(F, {
2405
2405
  open: l.open,
2406
2406
  title: l.title,
2407
2407
  text: l.text,
@@ -2410,15 +2410,15 @@ var Er = class e extends CustomEvent {
2410
2410
  })
2411
2411
  ] }, "graph") })] });
2412
2412
  }
2413
- }, Lr = S("div")(({ theme: e }) => ({
2413
+ }, Lr = x("div")(({ theme: e }) => ({
2414
2414
  marginBottom: e.spacing(2.5),
2415
2415
  display: "flex",
2416
2416
  flex: 1
2417
- })), Rr = S("div")({ flex: 1 }), zr = S("div")(({ theme: e }) => ({ border: `2px solid ${e.palette.error.main}` })), Br = S(N)(({ theme: e }) => ({
2417
+ })), Rr = x("div")({ flex: 1 }), zr = x("div")(({ theme: e }) => ({ border: `2px solid ${e.palette.error.main}` })), Br = x(P)(({ theme: e }) => ({
2418
2418
  fontSize: e.typography.fontSize - 2,
2419
2419
  color: e.palette.error.main,
2420
2420
  paddingTop: e.spacing(1)
2421
- })), Vr = S("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Hr = (e, t) => e.map((e, n) => ({
2421
+ })), Vr = x("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), Hr = (e, t) => e.map((e, n) => ({
2422
2422
  ...e,
2423
2423
  editable: n < t.length ? t[n].editable : !0,
2424
2424
  interactive: n < t.length ? t[n].interactive : !0,
@@ -2487,12 +2487,12 @@ var Er = class e extends CustomEvent {
2487
2487
  render() {
2488
2488
  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 || {};
2489
2489
  return /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q(Vr, { children: "Define Correct Response" }), /* @__PURE__ */ q(Lr, { children: /* @__PURE__ */ J(Rr, { children: [
2490
- /* @__PURE__ */ q(N, {
2490
+ /* @__PURE__ */ q(P, {
2491
2491
  component: "div",
2492
2492
  type: "body1",
2493
2493
  children: /* @__PURE__ */ q("span", { children: "Use the tools below to define the correct answer." })
2494
2494
  }),
2495
- q(u || d ? zr : "div", { children: /* @__PURE__ */ q(z, {
2495
+ q(u || d ? zr : "div", { children: /* @__PURE__ */ q(te, {
2496
2496
  chartType: e.chartType,
2497
2497
  size: e.graph,
2498
2498
  domain: c,
@@ -2753,21 +2753,21 @@ var Er = class e extends CustomEvent {
2753
2753
  gridValues: i,
2754
2754
  labelValues: a
2755
2755
  };
2756
- }, ei = (0, qe.default)("@pie-element:graphing:configure"), { Panel: ti, toggle: $, radio: ni, dropdown: ri, textField: ii } = Xn, ai = S(cr)(({ theme: e }) => ({
2756
+ }, ei = (0, qe.default)("@pie-element:graphing:configure"), { Panel: ti, toggle: $, radio: ni, dropdown: ri, textField: ii } = Xn, ai = x(cr)(({ theme: e }) => ({
2757
2757
  width: "100%",
2758
2758
  paddingTop: e.spacing(2),
2759
2759
  marginBottom: e.spacing(2)
2760
- })), oi = S(N)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), si = S("div")(({ theme: e }) => ({
2760
+ })), oi = x(P)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), si = x("div")(({ theme: e }) => ({
2761
2761
  fontSize: e.typography.fontSize - 2,
2762
2762
  color: e.palette.error.main,
2763
2763
  paddingTop: e.spacing(1)
2764
2764
  })), ci = [
2765
- D.Bar(),
2766
- D.Histogram(),
2767
- D.LineDot(),
2768
- D.LineCross(),
2769
- D.DotPlot(),
2770
- D.LinePlot()
2765
+ E.Bar(),
2766
+ E.Histogram(),
2767
+ E.LineDot(),
2768
+ E.LineCross(),
2769
+ E.DotPlot(),
2770
+ E.LinePlot()
2771
2771
  ], li = class extends K.Component {
2772
2772
  static propTypes = {
2773
2773
  onModelChanged: Z.default.func,
@@ -2815,7 +2815,7 @@ var Er = class e extends CustomEvent {
2815
2815
  render() {
2816
2816
  let { configuration: e, imageSupport: t, model: n, onConfigurationChanged: r, onModelChanged: i, uploadSoundSupport: a } = this.props;
2817
2817
  ei("[render] model", n);
2818
- 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: z, correctAnswerErrors: ee, prompt: B, rationale: te, teacherInstructions: V } = j || {}, { gridValues: ne, labelValues: re } = this.state, H = l.showInConfigPanel || !0, U = p && p.prompt, W = m && m.prompt, ie = {
2818
+ 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: ee, correctAnswerErrors: te, prompt: z, rationale: B, teacherInstructions: V } = j || {}, { gridValues: ne, labelValues: re } = this.state, H = l.showInConfigPanel || !0, U = p && p.prompt, W = m && m.prompt, ie = {
2819
2819
  changeInteractiveEnabled: w.changeInteractive?.settings && $(w.changeInteractive.settingsLabel),
2820
2820
  changeEditableEnabled: w.changeEditable?.settings && $(w.changeEditable.settingsLabel),
2821
2821
  changeAddCategoryEnabled: w.addCategory?.settings && $(w.addCategory.settingsLabel)
@@ -2878,7 +2878,7 @@ var Er = class e extends CustomEvent {
2878
2878
  onChange: this.onPromptChange,
2879
2879
  imageSupport: t,
2880
2880
  nonEmpty: !1,
2881
- error: B,
2881
+ error: z,
2882
2882
  spellCheck: F,
2883
2883
  disableUnderline: !0,
2884
2884
  pluginProps: K(h?.inputConfiguration),
@@ -2887,7 +2887,7 @@ var Er = class e extends CustomEvent {
2887
2887
  uploadSoundSupport: a,
2888
2888
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
2889
2889
  mathMlOptions: E
2890
- }), B && /* @__PURE__ */ q(si, { children: B })]
2890
+ }), z && /* @__PURE__ */ q(si, { children: z })]
2891
2891
  }),
2892
2892
  /* @__PURE__ */ q(Tr, {
2893
2893
  model: n,
@@ -2917,8 +2917,8 @@ var Er = class e extends CustomEvent {
2917
2917
  model: n,
2918
2918
  onChange: i,
2919
2919
  charts: ci,
2920
- error: z,
2921
- correctAnswerErrors: ee,
2920
+ error: ee,
2921
+ correctAnswerErrors: te,
2922
2922
  studentNewCategoryDefaultLabel: L,
2923
2923
  mathMlOptions: E,
2924
2924
  labelsPlaceholders: d
@@ -2929,7 +2929,7 @@ var Er = class e extends CustomEvent {
2929
2929
  markup: n.rationale || "",
2930
2930
  onChange: this.onRationaleChange,
2931
2931
  imageSupport: t,
2932
- error: te,
2932
+ error: B,
2933
2933
  spellCheck: F,
2934
2934
  pluginProps: K(g?.inputConfiguration),
2935
2935
  maxImageWidth: p && p.rationale || U,
@@ -2937,7 +2937,7 @@ var Er = class e extends CustomEvent {
2937
2937
  uploadSoundSupport: a,
2938
2938
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
2939
2939
  mathMlOptions: E
2940
- }), te && /* @__PURE__ */ q(si, { children: te })]
2940
+ }), B && /* @__PURE__ */ q(si, { children: B })]
2941
2941
  })
2942
2942
  ]
2943
2943
  });
@@ -3180,7 +3180,7 @@ var Er = class e extends CustomEvent {
3180
3180
  }
3181
3181
  });
3182
3182
  this._root ||= ue(this), this._root.render(e), queueMicrotask(() => {
3183
- m(this);
3183
+ p(this);
3184
3184
  });
3185
3185
  }
3186
3186
  }