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 = { export const commitinfo = {
name: '@design.estate/dees-catalog', name: '@design.estate/dees-catalog',
version: '1.0.214', version: '1.0.215',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

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