@pie-element/matrix 4.1.2-next.21 → 4.1.2-next.27

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,5 +1,5 @@
1
1
  import { i as e } from "../rolldown-runtime-CWhphoD1.js";
2
- import { At as t, Et as n, Ot as r, T as i, a, d as o, i as s, it as c, t as l, y as u } from "../Radio-yySmpNc_.js";
2
+ import { Et as t, Ot as n, T as r, a as i, d as a, i as o, it as s, kt as c, t as l, y as u } from "../Radio-BPit4KeW.js";
3
3
  import d from "react";
4
4
  import { createRoot as f } from "react-dom/client";
5
5
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -33,10 +33,10 @@ var h = class e extends CustomEvent {
33
33
  }
34
34
  }), this.component = t, this.complete = n;
35
35
  }
36
- }, g = /* @__PURE__ */ e(r(), 1), _ = c(l)({
37
- "&.MuiRadio-root": { color: `var(--choice-input-color, ${n.text()})` },
38
- "&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${n.primary()})` },
39
- "&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${n.defaults.DISABLED})` }
36
+ }, g = /* @__PURE__ */ e(n(), 1), _ = s(l)({
37
+ "&.MuiRadio-root": { color: `var(--choice-input-color, ${t.text()})` },
38
+ "&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${t.primary()})` },
39
+ "&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${t.defaults.DISABLED})` }
40
40
  }), v = (e) => {
41
41
  let { disabled: t, checked: n, matrixKey: r, matrixValue: i, onChange: a } = e;
42
42
  return /* @__PURE__ */ p(_, {
@@ -68,19 +68,19 @@ function y(e) {
68
68
  function b(e, t) {
69
69
  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;
70
70
  }
71
- var x = b(o, "PreviewPrompt") || b(T.PreviewPrompt, "PreviewPrompt"), S = b(i, "Collapsible") || b(T.Collapsible, "Collapsible"), C = a, w = C.default, T = w && typeof w == "object" ? w : C, E = s.div`
72
- color: ${n.text()};
73
- background-color: ${n.background()};
71
+ var x = b(a, "PreviewPrompt") || b(T.PreviewPrompt, "PreviewPrompt"), S = b(r, "Collapsible") || b(T.Collapsible, "Collapsible"), C = i, w = C.default, T = w && typeof w == "object" ? w : C, E = o.div`
72
+ color: ${t.text()};
73
+ background-color: ${t.background()};
74
74
  font-family: Roboto, Arial, Helvetica, sans-serif;
75
- `, D = s.div`
75
+ `, D = o.div`
76
76
  display: grid;
77
77
  grid-template-columns: ${(e) => e.gridTemplateColumns};
78
78
  grid-column-gap: 30px;
79
79
  grid-row-gap: 20px;
80
80
  margin-top: 20px;
81
- `, O = s(S)`
81
+ `, O = o(S)`
82
82
  margin-bottom: 16px;
83
- `, k = s.div`
83
+ `, k = o.div`
84
84
  align-self: center;
85
85
  justify-self: center;
86
86
  white-space: nowrap;
@@ -141,7 +141,7 @@ function j(e) {
141
141
  function M(e, t) {
142
142
  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;
143
143
  }
144
- var N = M(u, "PreviewLayout") || M(I.PreviewLayout, "PreviewLayout"), P = a, F = P.default, I = F && typeof F == "object" ? F : P, L = class extends d.Component {
144
+ var N = M(u, "PreviewLayout") || M(I.PreviewLayout, "PreviewLayout"), P = i, F = P.default, I = F && typeof F == "object" ? F : P, L = class extends d.Component {
145
145
  static propTypes = {
146
146
  model: g.default.object,
147
147
  session: g.default.object,
@@ -192,7 +192,7 @@ var N = M(u, "PreviewLayout") || M(I.PreviewLayout, "PreviewLayout"), P = a, F =
192
192
  onSessionChange: this.sessionChanged.bind(this)
193
193
  });
194
194
  this._root ||= f(this), this._root.render(e), queueMicrotask(() => {
195
- t(this);
195
+ c(this);
196
196
  });
197
197
  }
198
198
  disconnectedCallback() {