@jxsuite/studio 0.34.0 → 0.35.0

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.
@@ -3059,6 +3059,14 @@ async function defineElement(source, baseUrl) {
3059
3059
  } catch {}
3060
3060
  delete this.dataset.jxProps;
3061
3061
  }
3062
+ const propAttrNames = this.getAttributeNames().filter((name) => name.startsWith("props.") && name.length > "props.".length);
3063
+ for (const name of propAttrNames) {
3064
+ const key = name.slice("props.".length);
3065
+ if (key in (def2.state ?? {})) {
3066
+ state[key] = this.getAttribute(name);
3067
+ this.removeAttribute(name);
3068
+ }
3069
+ }
3062
3070
  for (const key of Object.keys(def2.state ?? {})) {
3063
3071
  if (key in this && this[key] !== undefined) {
3064
3072
  state[key] = this[key];
@@ -6226,5 +6234,5 @@ export {
6226
6234
  bootCanvasIframe
6227
6235
  };
6228
6236
 
6229
- //# debugId=DD4B625FEF3BF9CC64756E2164756E21
6237
+ //# debugId=369B0CCF9985BC4564756E2164756E21
6230
6238
  //# sourceMappingURL=iframe-entry.js.map