@design.estate/dees-catalog 1.0.212 → 1.0.213
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 +7 -7
- package/dist_bundle/bundle.js.map +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.d.ts +4 -1
- package/dist_ts_web/elements/dees-table.demo.js +4 -4
- package/dist_ts_web/elements/dees-table.js +21 -6
- package/dist_watch/bundle.js +23 -8
- 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.demo.ts +3 -3
- package/ts_web/elements/dees-table.ts +24 -6
package/dist_bundle/bundle.js
CHANGED
|
@@ -2587,7 +2587,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2587
2587
|
.editableFields="${["description"]}"
|
|
2588
2588
|
.data=${[{date:"2021-04-01",amount:"2464.65 \u20AC",description:"Printing Paper (Office Supplies) - STAPLES BREMEN"},{date:"2021-04-02",amount:"165.65 \u20AC",description:"Logitech Mouse (Hardware) - logi.com OnlineShop"},{date:"2021-04-03",amount:"2999,00 \u20AC",description:"Macbook Pro 16inch (Hardware) - Apple.de OnlineShop"},{date:"2021-04-01",amount:"2464.65 \u20AC",description:"Office-Supplies - STAPLES BREMEN"},{date:"2021-04-01",amount:"2464.65 \u20AC",description:"Office-Supplies - STAPLES BREMEN"}]}
|
|
2589
2589
|
dataName="transactions"
|
|
2590
|
-
.dataActions="${[{name:"upload",iconName:"bell",useTableBehaviour:"upload",type:["inRow"],actionFunc:async e=>{alert(e.amount)}},{name:"visibility",iconName:"copy",type:["inRow"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"create new",iconName:"instagram",type:["header"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"to gallery",iconName:"message",type:["footer"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"copy",iconName:"copySolid",type:["contextmenu","inRow"],action:async()=>null},{name:"edit (from demo)",iconName:"penToSquare",type:["contextmenu"],action:async()=>null},{name:"paste",iconName:"pasteSolid",type:["contextmenu"],action:async()=>null},{name:"preview",type:["doubleClick","contextmenu"],iconName:"eye",actionFunc:async e=>(alert(e.amount),null)}]}"
|
|
2590
|
+
.dataActions="${[{name:"upload",iconName:"bell",useTableBehaviour:"upload",type:["inRow"],actionFunc:async e=>{alert(e.item.amount)}},{name:"visibility",iconName:"copy",type:["inRow"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"create new",iconName:"instagram",type:["header"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"to gallery",iconName:"message",type:["footer"],useTableBehaviour:"preview",actionFunc:async e=>{}},{name:"copy",iconName:"copySolid",type:["contextmenu","inRow"],action:async()=>null},{name:"edit (from demo)",iconName:"penToSquare",type:["contextmenu"],action:async()=>null},{name:"paste",iconName:"pasteSolid",type:["contextmenu"],action:async()=>null},{name:"preview",type:["doubleClick","contextmenu"],iconName:"eye",actionFunc:async e=>(alert(e.item.amount),null)}]}"
|
|
2591
2591
|
.displayFunction=${e=>({...e,onlyDisplayProp:"onlyDisplay"})}
|
|
2592
2592
|
>This is a slotted Text</dees-table
|
|
2593
2593
|
>
|
|
@@ -2603,7 +2603,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2603
2603
|
<div class="headerActions">
|
|
2604
2604
|
${$n(async()=>{let a=[];for(let r of this.dataActions)r.type.includes("header")&&a.push(L`<div
|
|
2605
2605
|
class="headerAction"
|
|
2606
|
-
@click=${()=>{r.actionFunc(this.selectedDataRow)}}
|
|
2606
|
+
@click=${()=>{r.actionFunc({item:this.selectedDataRow,dataArray:this.data})}}
|
|
2607
2607
|
>
|
|
2608
2608
|
${r.iconName?L`<dees-icon .iconSize=${14} .iconFA=${r.iconName}></dees-icon>
|
|
2609
2609
|
${r.name}`:r.name}
|
|
@@ -2635,12 +2635,12 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2635
2635
|
@dragleave=${async o=>{o.preventDefault(),o.stopPropagation(),c(o.target).classList.remove("hasAttachment")}}
|
|
2636
2636
|
@dragover=${async o=>{o.preventDefault()}}
|
|
2637
2637
|
@drop=${async o=>{o.preventDefault();let s=[];for(let f of Array.from(o.dataTransfer.files))this.files.push(f),s.push(f),this.requestUpdate();let l=this.fileWeakMap.get(n);l?l.push(...s):this.fileWeakMap.set(n,s)}}
|
|
2638
|
-
@contextmenu=${async o=>{i2.openContextMenuWithOptions(o,this.getActionsForType("contextmenu").map(s=>({name:s.name,iconName:s.iconName,action:async()=>(await s.actionFunc(n),null)})))}}
|
|
2638
|
+
@contextmenu=${async o=>{i2.openContextMenuWithOptions(o,this.getActionsForType("contextmenu").map(s=>({name:s.name,iconName:s.iconName,action:async()=>(await s.actionFunc({item:n,dataArray:this.data}),null)})))}}
|
|
2639
2639
|
class="${n===this.selectedDataRow?"selected":""}"
|
|
2640
2640
|
>
|
|
2641
2641
|
${r.map(o=>L`
|
|
2642
2642
|
<td
|
|
2643
|
-
@dblclick=${s=>{if(this.editableFields.includes(o))this.handleCellEditing(s,n,o);else{let l=this.dataActions.find(f=>f.type.includes("doubleClick"));l&&l.actionFunc(n)}}}
|
|
2643
|
+
@dblclick=${s=>{if(this.editableFields.includes(o))this.handleCellEditing(s,n,o);else{let l=this.dataActions.find(f=>f.type.includes("doubleClick"));l&&l.actionFunc({item:n,dataArray:this.data})}}}
|
|
2644
2644
|
>
|
|
2645
2645
|
<div class="innerCellContainer">${i[o]}</div>
|
|
2646
2646
|
</td>
|
|
@@ -2650,7 +2650,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2650
2650
|
<div class="innerCellContainer">
|
|
2651
2651
|
${this.getActionsForType("inRow").map(o=>L`<div
|
|
2652
2652
|
class="action"
|
|
2653
|
-
@click=${()=>o.actionFunc(n)}
|
|
2653
|
+
@click=${()=>o.actionFunc({item:n,dataArray:this.data})}
|
|
2654
2654
|
>
|
|
2655
2655
|
${o.iconName?L`
|
|
2656
2656
|
<dees-icon .iconFA=${o.iconName}></dees-icon>
|
|
@@ -2672,7 +2672,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2672
2672
|
<div class="footerActions">
|
|
2673
2673
|
${$n(async()=>{let a=[];for(let r of this.dataActions)r.type.includes("footer")&&a.push(L`<div
|
|
2674
2674
|
class="footerAction"
|
|
2675
|
-
@click=${()=>{r.actionFunc(this.selectedDataRow)}}
|
|
2675
|
+
@click=${()=>{r.actionFunc({item:this.selectedDataRow,dataArray:this.data})}}
|
|
2676
2676
|
>
|
|
2677
2677
|
${r.iconName?L`<dees-icon .iconSize=${14} .iconFA=${r.iconName}></dees-icon>
|
|
2678
2678
|
${r.name}`:r.name}
|
|
@@ -2920,7 +2920,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2920
2920
|
display: grid;
|
|
2921
2921
|
grid-template-columns: 50% 50%;
|
|
2922
2922
|
}
|
|
2923
|
-
`],A([V({type:String})],Ye.prototype,"currentVersion",2),A([V({type:String})],Ye.prototype,"updatedVersion",2),Ye=A([r1("dees-updater")],Ye);var Ez={name:"@design.estate/dees-catalog",version:"1.0.
|
|
2923
|
+
`],A([V({type:String})],Ye.prototype,"currentVersion",2),A([V({type:String})],Ye.prototype,"updatedVersion",2),Ye=A([r1("dees-updater")],Ye);var Ez={name:"@design.estate/dees-catalog",version:"1.0.212",description:"website for lossless.com"};export{N2 as DeesButton,b4 as DeesButtonExit,ee as DeesChips,i2 as DeesContextmenu,Ve as DeesDataviewCodebox,b3 as DeesDataviewStatusobject,bt as DeesForm,F2 as DeesFormSubmit,Ue as DeesIcon,y2 as DeesInputCheckbox,A2 as DeesInputDropdown,h2 as DeesInputFileupload,x2 as DeesInputQuantitySelector,R2 as DeesInputRadio,d2 as DeesInputText,U2 as DeesMobilenavigation,S2 as DeesModal,m2 as DeesPdf,y3 as DeesSimpleAppDash,x3 as DeesSimpleLogin,ae as DeesSpeechbubble,Ce as DeesSpinner,Ge as DeesStepper,o2 as DeesTable,Ka as DeesToast,Ye as DeesUpdater,c2 as DeesWindowLayer,Ez as commitinfo,Hi as faIcons};
|
|
2924
2924
|
/*! Bundled license information:
|
|
2925
2925
|
|
|
2926
2926
|
ieee754/index.js:
|