fix(core): update
This commit is contained in:
parent
61f646743a
commit
0229eefa4d
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-catalog',
|
name: '@design.estate/dees-catalog',
|
||||||
version: '1.0.197',
|
version: '1.0.198',
|
||||||
description: 'website for lossless.com'
|
description: 'website for lossless.com'
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,12 @@ import { type ITableAction } from './dees-table.js';
|
|||||||
import * as plugins from './plugins.js';
|
import * as plugins from './plugins.js';
|
||||||
import { html } from '@design.estate/dees-element';
|
import { html } from '@design.estate/dees-element';
|
||||||
|
|
||||||
|
interface ITableDemoData {
|
||||||
|
date: string;
|
||||||
|
amount: string;
|
||||||
|
description: string;
|
||||||
|
}
|
||||||
|
|
||||||
export const demoFunc = () => html`
|
export const demoFunc = () => html`
|
||||||
<style>
|
<style>
|
||||||
.demoWrapper {
|
.demoWrapper {
|
||||||
@ -51,7 +57,7 @@ export const demoFunc = () => html`
|
|||||||
iconName: 'bell',
|
iconName: 'bell',
|
||||||
useTableBehaviour: 'upload',
|
useTableBehaviour: 'upload',
|
||||||
type: ['inRow'],
|
type: ['inRow'],
|
||||||
actionFunc: async (itemArg: any) => {
|
actionFunc: async (itemArg) => {
|
||||||
alert(itemArg.amount);
|
alert(itemArg.amount);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -100,7 +106,7 @@ export const demoFunc = () => html`
|
|||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
] as ITableAction[]}"
|
] as (ITableAction<ITableDemoData>)[] as any}"
|
||||||
.displayFunction=${(itemArg) => {
|
.displayFunction=${(itemArg) => {
|
||||||
return {
|
return {
|
||||||
...itemArg,
|
...itemArg,
|
||||||
|
@ -84,7 +84,7 @@ export class DeesTable<T> extends DeesElement {
|
|||||||
@property({
|
@property({
|
||||||
type: Array,
|
type: Array,
|
||||||
})
|
})
|
||||||
public dataActions: ITableAction[] = [];
|
public dataActions: ITableAction<T>[] = [];
|
||||||
|
|
||||||
@property({
|
@property({
|
||||||
attribute: false,
|
attribute: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user