@design.estate/dees-catalog 1.0.251 → 1.0.253

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.
@@ -1425,7 +1425,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
1425
1425
  </div>
1426
1426
  </div>
1427
1427
  </div>
1428
- `}async firstUpdated(){}async updated(r){super.updated(r),this.determineColumnWidths()}async determineColumnWidths(){await(await this.domtoolsPromise).convenience.smartdelay.delayFor(0);let n=this.shadowRoot.querySelector("table");if(!n)return;let a=n.rows[0].cells,i=async(c,o=!1)=>{let s=y1.defer(),l=a[c],u=window.getComputedStyle(l).width;if(l.textContent.includes("Actions")){let f=this.dataActions.filter(m=>m.type.includes("inRow")).length*35;l.style.width=`${Math.max(f,68)}px`}else l.style.width=u;o&&(requestAnimationFrame(()=>{s.resolve()}),await s.promise)};a[a.length-1].textContent.includes("Actions")&&await i(a.length-1,!0);for(let c=0;c<a.length;c++)a[c].textContent.includes("Actions")||await i(c);n.style.tableLayout="fixed"}getActionsForType(r){let n=[];for(let a of this.dataActions)a.type.includes(r)&&n.push(a);return n}async handleCellEditing(r,n,a){let i=await this.domtoolsPromise,c=r.target,o=c.style.color;c.style.color="transparent";let l=this.displayFunction(n)[a]||"",u=document.createElement("input");u.type="text",u.value=l;let f=async(m=!0,p=!1)=>{m&&u.blur(),p&&(n[a]=u.value,this.changeSubject.next(this)),u.remove(),c.style.color=o,this.requestUpdate()};u.addEventListener("blur",()=>{f(!1,!1)}),u.addEventListener("keydown",m=>{m.key==="Enter"&&f(!0,!0)}),c.appendChild(u),u.focus()}};ie.demo=tk,ie.styles=[O.defaultStyles,u1`
1428
+ `}async firstUpdated(){}async updated(r){super.updated(r),this.determineColumnWidths()}async determineColumnWidths(){await(await this.domtoolsPromise).convenience.smartdelay.delayFor(0);let n=this.shadowRoot.querySelector("table");if(!n)return;let a=n.rows[0].cells,i=async(c,o=!1)=>{let s=y1.defer(),l=a[c],u=window.getComputedStyle(l).width;if(l.textContent.includes("Actions")){let f=this.dataActions.filter(m=>m.type.includes("inRow")).length*36;l.style.width=`${Math.max(f,68)}px`}else l.style.width=u;o&&(requestAnimationFrame(()=>{s.resolve()}),await s.promise)};a[a.length-1].textContent.includes("Actions")&&await i(a.length-1,!0);for(let c=0;c<a.length;c++)a[c].textContent.includes("Actions")||await i(c);n.style.tableLayout="fixed"}getActionsForType(r){let n=[];for(let a of this.dataActions)a.type.includes(r)&&n.push(a);return n}async handleCellEditing(r,n,a){let i=await this.domtoolsPromise,c=r.target,o=c.style.color;c.style.color="transparent";let l=this.displayFunction(n)[a]||"",u=document.createElement("input");u.type="text",u.value=l;let f=async(m=!0,p=!1)=>{m&&u.blur(),p&&(n[a]=u.value,this.changeSubject.next(this)),u.remove(),c.style.color=o,this.requestUpdate()};u.addEventListener("blur",()=>{f(!1,!1)}),u.addEventListener("keydown",m=>{m.key==="Enter"&&f(!0,!0)}),c.appendChild(u),u.focus()}};ie.demo=tk,ie.styles=[O.defaultStyles,u1`
1429
1429
  .mainbox {
1430
1430
  color: ${O.bdTheme("#333","#fff")};
1431
1431
  font-family: 'Roboto', 'Inter', sans-serif;
@@ -1579,13 +1579,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
1579
1579
  }
1580
1580
 
1581
1581
  .action {
1582
+ position: relative;
1582
1583
  margin: -4px 0px;
1583
1584
  padding: 8px 10px;
1584
- line-height: 32px;
1585
+ line-height: 24px;
1585
1586
  height: 32px;
1586
1587
  size: 16px;
1587
1588
  display: inline-block;
1588
1589
  border-radius: 8px;
1590
+ overflow: hidden;
1589
1591
  }
1590
1592
 
1591
1593
  .action:first-child {
@@ -3728,7 +3730,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3728
3730
  .windowControls div:hover {
3729
3731
  background: #333333;
3730
3732
  }
3731
- `],R([F({reflect:!0})],pt.prototype,"type",2),R([F({reflect:!0})],pt.prototype,"position",2),pt=R([c1("dees-windowcontrols")],pt);var Ua1={name:"@design.estate/dees-catalog",version:"1.0.251",description:"website for lossless.com"};export{v2 as DeesButton,Wr as DeesButtonExit,w2 as DeesChips,G1 as DeesContextmenu,it as DeesDataviewCodebox,v4 as DeesDataviewStatusobject,ka as DeesForm,H2 as DeesFormSubmit,b4 as DeesHint,ut as DeesIcon,b2 as DeesInputCheckbox,Ce as DeesInputDropdown,c2 as DeesInputFileupload,je as DeesInputIban,Je as DeesInputMultitoggle,Ka as DeesInputPhone,C2 as DeesInputQuantitySelector,T2 as DeesInputRadio,ve as DeesInputText,N4 as DeesInputTypelist,ft as DeesLabel,k2 as DeesMobilenavigation,o2 as DeesModal,e2 as DeesPdf,M4 as DeesProgressbar,A4 as DeesSimpleAppDash,R4 as DeesSimpleLogin,s2 as DeesSpeechbubble,R3 as DeesSpinner,mt as DeesStepper,ie as DeesTable,Za as DeesToast,y2 as DeesUpdater,pt as DeesWindowControls,Ee as DeesWindowLayer,Ua1 as commitinfo,Uu as faIcons};
3733
+ `],R([F({reflect:!0})],pt.prototype,"type",2),R([F({reflect:!0})],pt.prototype,"position",2),pt=R([c1("dees-windowcontrols")],pt);var Ua1={name:"@design.estate/dees-catalog",version:"1.0.253",description:"website for lossless.com"};export{v2 as DeesButton,Wr as DeesButtonExit,w2 as DeesChips,G1 as DeesContextmenu,it as DeesDataviewCodebox,v4 as DeesDataviewStatusobject,ka as DeesForm,H2 as DeesFormSubmit,b4 as DeesHint,ut as DeesIcon,b2 as DeesInputCheckbox,Ce as DeesInputDropdown,c2 as DeesInputFileupload,je as DeesInputIban,Je as DeesInputMultitoggle,Ka as DeesInputPhone,C2 as DeesInputQuantitySelector,T2 as DeesInputRadio,ve as DeesInputText,N4 as DeesInputTypelist,ft as DeesLabel,k2 as DeesMobilenavigation,o2 as DeesModal,e2 as DeesPdf,M4 as DeesProgressbar,A4 as DeesSimpleAppDash,R4 as DeesSimpleLogin,s2 as DeesSpeechbubble,R3 as DeesSpinner,mt as DeesStepper,ie as DeesTable,Za as DeesToast,y2 as DeesUpdater,pt as DeesWindowControls,Ee as DeesWindowLayer,Ua1 as commitinfo,Uu as faIcons};
3732
3734
  /*! Bundled license information:
3733
3735
 
3734
3736
  @lit/reactive-element/css-tag.js: