builder-settings-types 0.0.372 → 0.0.373

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.
@@ -354,7 +354,7 @@
354
354
  align-items: center;
355
355
  justify-content: center;
356
356
  line-height: 1;
357
- `,n.addEventListener("click",()=>this.closePopup()),i.appendChild(s),i.appendChild(n),e.appendChild(i);const o=document.createElement("div");return o.classList.add("multi-language-popup-content"),this.props.languages.forEach(a=>{var h;const l=((h=this.value)==null?void 0:h[a])||"",r=this.createTextareaRow(a,l);o.appendChild(r)}),e.appendChild(o),t.appendChild(e),t.addEventListener("click",a=>{a.target===t&&this.closePopup()}),t}showPopup(){this.popup||(this.popup=this.createPopup(),document.body.appendChild(this.popup))}closePopup(){this.popup&&(document.body.removeChild(this.popup),this.popup=null)}draw(){if(window.testDraws=window.testDraws||[],window.testDraws.filter(l=>l==this.value.$id)){console.log("opaaaaaaaaaaaaa");debugger}window.testDraw.push(this.value.$id);const t=document.createElement("div");t.classList.add("simple-multi-language-wrapper");const e=document.createElement("div");e.classList.add("simple-multi-language-title"),e.style.cssText=`
357
+ `,n.addEventListener("click",()=>this.closePopup()),i.appendChild(s),i.appendChild(n),e.appendChild(i);const o=document.createElement("div");return o.classList.add("multi-language-popup-content"),this.props.languages.forEach(a=>{var h;const l=((h=this.value)==null?void 0:h[a])||"",r=this.createTextareaRow(a,l);o.appendChild(r)}),e.appendChild(o),t.appendChild(e),t.addEventListener("click",a=>{a.target===t&&this.closePopup()}),t}showPopup(){this.popup||(this.popup=this.createPopup(),document.body.appendChild(this.popup))}closePopup(){this.popup&&(document.body.removeChild(this.popup),this.popup=null)}draw(){if(window.testDraws=window.testDraws||[],window.testDraws.filter(l=>l==this.value.$id).length){console.log("opaaaaaaaaaaaaa");debugger}window.testDraw.push(this.value.$id);const t=document.createElement("div");t.classList.add("simple-multi-language-wrapper");const e=document.createElement("div");e.classList.add("simple-multi-language-title"),e.style.cssText=`
358
358
  display: flex;
359
359
  justify-content: space-between;
360
360
  align-items: center;
@@ -4943,7 +4943,7 @@ class yi extends w {
4943
4943
  this.popup && (document.body.removeChild(this.popup), this.popup = null);
4944
4944
  }
4945
4945
  draw() {
4946
- if (window.testDraws = window.testDraws || [], window.testDraws.filter((l) => l == this.value.$id)) {
4946
+ if (window.testDraws = window.testDraws || [], window.testDraws.filter((l) => l == this.value.$id).length) {
4947
4947
  console.log("opaaaaaaaaaaaaa");
4948
4948
  debugger;
4949
4949
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "builder-settings-types",
3
3
  "description": "builder settings",
4
- "version": "0.0.372",
4
+ "version": "0.0.373",
5
5
  "type": "module",
6
6
  "main": "dist/builder-settings-types.cjs.js",
7
7
  "module": "dist/builder-settings-types.es.js",