@design.estate/dees-catalog 1.0.251 → 1.0.254
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 +21 -15
- 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 +21 -15
- package/dist_watch/bundle.js +21 -14
- 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 +26 -20
package/dist_bundle/bundle.js
CHANGED
|
@@ -1341,7 +1341,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1341
1341
|
name: "john" AND age: 18
|
|
1342
1342
|
\`\`\`
|
|
1343
1343
|
|
|
1344
|
-
`}
|
|
1344
|
+
`}
|
|
1345
|
+
></dees-input-text>
|
|
1345
1346
|
<dees-input-multitoggle
|
|
1346
1347
|
.label=${"search mode"}
|
|
1347
1348
|
.options=${["table","data","server"]}
|
|
@@ -1393,13 +1394,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1393
1394
|
${(()=>{if(this.dataActions&&this.dataActions.length>0)return I`
|
|
1394
1395
|
<td>
|
|
1395
1396
|
<div class="innerCellContainer">
|
|
1396
|
-
${this.getActionsForType("inRow").map(o=>I`<div
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1397
|
+
${this.getActionsForType("inRow").map(o=>I`<div class="actionContainer">
|
|
1398
|
+
<div
|
|
1399
|
+
class="action"
|
|
1400
|
+
@click=${()=>o.actionFunc({item:a,table:this})}
|
|
1401
|
+
>
|
|
1402
|
+
${o.iconName?I`
|
|
1403
|
+
<dees-icon .iconFA=${o.iconName}></dees-icon>
|
|
1404
|
+
`:o.name}
|
|
1405
|
+
</div>
|
|
1403
1406
|
</div>`)}
|
|
1404
1407
|
</div>
|
|
1405
1408
|
</td>
|
|
@@ -1425,7 +1428,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1425
1428
|
</div>
|
|
1426
1429
|
</div>
|
|
1427
1430
|
</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*
|
|
1431
|
+
`}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
1432
|
.mainbox {
|
|
1430
1433
|
color: ${O.bdTheme("#333","#fff")};
|
|
1431
1434
|
font-family: 'Roboto', 'Inter', sans-serif;
|
|
@@ -1577,18 +1580,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`),J=D,h=A),U===void 0&&(
|
|
|
1577
1580
|
font-weight: inherit;
|
|
1578
1581
|
padding: 0px 6px;
|
|
1579
1582
|
}
|
|
1580
|
-
|
|
1583
|
+
.actionContainer {
|
|
1584
|
+
height: 24px;
|
|
1585
|
+
display: inline-block;
|
|
1586
|
+
transform: translateY(-4px);
|
|
1587
|
+
}
|
|
1581
1588
|
.action {
|
|
1582
|
-
|
|
1589
|
+
position: relative;
|
|
1583
1590
|
padding: 8px 10px;
|
|
1584
|
-
line-height:
|
|
1591
|
+
line-height: 24px;
|
|
1585
1592
|
height: 32px;
|
|
1586
1593
|
size: 16px;
|
|
1587
|
-
display: inline-block;
|
|
1588
1594
|
border-radius: 8px;
|
|
1589
1595
|
}
|
|
1590
1596
|
|
|
1591
|
-
.
|
|
1597
|
+
.actionContainer:first-child {
|
|
1592
1598
|
margin-left: -6px;
|
|
1593
1599
|
width: min-content;
|
|
1594
1600
|
}
|
|
@@ -3728,7 +3734,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
3728
3734
|
.windowControls div:hover {
|
|
3729
3735
|
background: #333333;
|
|
3730
3736
|
}
|
|
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.
|
|
3737
|
+
`],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.254",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
3738
|
/*! Bundled license information:
|
|
3733
3739
|
|
|
3734
3740
|
@lit/reactive-element/css-tag.js:
|