@pie-element/matrix 4.1.2-next.5 → 4.1.2-next.7

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.
@@ -131,4 +131,4 @@ var { Panel: p, toggle: m, radio: h } = f, g = c(u)(({ theme: e }) => ({
131
131
  }
132
132
  };
133
133
  //#endregion
134
- export { b as default };
134
+ export { b as Main, b as default };
@@ -153,4 +153,4 @@ b.propTypes = {
153
153
  onChangeModel: i.func.isRequired
154
154
  };
155
155
  //#endregion
156
- export { b as default };
156
+ export { d as ColumnLabelWrapper, y as Content, _ as GridSeparatorHorizontal, v as GridSeparatorVertical, u as MatrixColumns, f as RowLabelWrapper, l as ScoringContainer, g as ScoringNumberInputWrapper, h as ScoringRows, m as ValueItemWrapper, p as ValueRowWrapper, b as default };
@@ -98,4 +98,4 @@ var e = [
98
98
  ]
99
99
  }, v = (e, t) => _[`${e}_${t}`];
100
100
  //#endregion
101
- export { v as default };
101
+ export { e as AGREEMENT_3, v as default };
@@ -27,5 +27,6 @@ export default class Matrix extends HTMLElement {
27
27
  insertSound(handler: any): void;
28
28
  onDeleteSound(src: any, done: any): void;
29
29
  _render(): void;
30
+ connectedCallback(): void;
30
31
  disconnectedCallback(): void;
31
32
  }
@@ -1,4 +1,4 @@
1
- import e from "./Main.js";
1
+ import { Main as e } from "./Main.js";
2
2
  import t from "./defaults.js";
3
3
  import n from "react";
4
4
  import { createRoot as r } from "react-dom/client";
@@ -58,8 +58,11 @@ var l = a("matrix:configure"), u = (e, n) => ({
58
58
  });
59
59
  this._root ||= r(this), this._root.render(t);
60
60
  }
61
+ connectedCallback() {
62
+ this._render();
63
+ }
61
64
  disconnectedCallback() {
62
- this._root && this._root.unmount();
65
+ this._root &&= (this._root.unmount(), null);
63
66
  }
64
67
  };
65
68
  //#endregion