@design.estate/dees-catalog 1.0.249 → 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.
- package/dist_bundle/bundle.js +8 -5
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.js +8 -5
- package/dist_watch/bundle.js +7 -4
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-table.ts +7 -4
package/dist_bundle/bundle.js
CHANGED
|
@@ -1345,6 +1345,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1345
1345
|
<dees-input-multitoggle
|
|
1346
1346
|
.label=${"search mode"}
|
|
1347
1347
|
.options=${["table","data","server"]}
|
|
1348
|
+
.selectedOption=${"table"}
|
|
1348
1349
|
.description=${`
|
|
1349
1350
|
There are three basic modes:
|
|
1350
1351
|
|
|
@@ -1424,7 +1425,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1424
1425
|
</div>
|
|
1425
1426
|
</div>
|
|
1426
1427
|
</div>
|
|
1427
|
-
`}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*
|
|
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`
|
|
1428
1429
|
.mainbox {
|
|
1429
1430
|
color: ${O.bdTheme("#333","#fff")};
|
|
1430
1431
|
font-family: 'Roboto', 'Inter', sans-serif;
|
|
@@ -1578,13 +1579,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1578
1579
|
}
|
|
1579
1580
|
|
|
1580
1581
|
.action {
|
|
1582
|
+
position: relative;
|
|
1581
1583
|
margin: -4px 0px;
|
|
1582
|
-
padding: 10px;
|
|
1583
|
-
line-height:
|
|
1584
|
-
height:
|
|
1584
|
+
padding: 8px 10px;
|
|
1585
|
+
line-height: 24px;
|
|
1586
|
+
height: 32px;
|
|
1585
1587
|
size: 16px;
|
|
1586
1588
|
display: inline-block;
|
|
1587
1589
|
border-radius: 8px;
|
|
1590
|
+
overflow: hidden;
|
|
1588
1591
|
}
|
|
1589
1592
|
|
|
1590
1593
|
.action:first-child {
|
|
@@ -3727,7 +3730,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
3727
3730
|
.windowControls div:hover {
|
|
3728
3731
|
background: #333333;
|
|
3729
3732
|
}
|
|
3730
|
-
`],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.
|
|
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};
|
|
3731
3734
|
/*! Bundled license information:
|
|
3732
3735
|
|
|
3733
3736
|
@lit/reactive-element/css-tag.js:
|