fix(core): update

This commit is contained in:
Philipp Kunz 2023-09-22 20:02:48 +02:00
parent df7c5ebafc
commit 286a843b67
2 changed files with 8 additions and 8 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-catalog',
version: '1.0.214',
version: '1.0.215',
description: 'website for lossless.com'
}

View File

@ -62,7 +62,7 @@ export interface ITableAction<T = any> {
export interface ITableActionDataArg<T> {
item: T,
dataArray: T[],
table: DeesTable<T>,
}
export type TDisplayFunction<T = any> = (itemArg: T) => object;
@ -122,7 +122,7 @@ export class DeesTable<T> extends DeesElement {
public files: File[] = [];
public fileWeakMap = new WeakMap();
public itemChangeSubject = new domtools.plugins.smartrx.rxjs.Subject();
public dataChangeSubject = new domtools.plugins.smartrx.rxjs.Subject();
constructor() {
super();
@ -346,7 +346,7 @@ export class DeesTable<T> extends DeesElement {
@click=${() => {
action.actionFunc({
item: this.selectedDataRow,
dataArray: this.data
table: this,
});
}}
>
@ -449,7 +449,7 @@ export class DeesTable<T> extends DeesElement {
action: async () => {
await action.actionFunc({
item: itemArg,
dataArray: this.data
table: this,
});
return null;
},
@ -473,7 +473,7 @@ export class DeesTable<T> extends DeesElement {
if (wantedAction) {
wantedAction.actionFunc({
item: itemArg,
dataArray: this.data
table: this,
});
}
}
@ -493,7 +493,7 @@ export class DeesTable<T> extends DeesElement {
class="action"
@click=${() => actionArg.actionFunc({
item: itemArg,
dataArray: this.data
table: this,
})}
>
${actionArg.iconName
@ -532,7 +532,7 @@ export class DeesTable<T> extends DeesElement {
@click=${() => {
action.actionFunc({
item: this.selectedDataRow,
dataArray: this.data
table: this,
});
}}
>