@design.estate/dees-catalog 1.0.197 → 1.0.200

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "1.0.197",
3
+ "version": "1.0.200",
4
4
  "private": false,
5
5
  "description": "website for lossless.com",
6
6
  "main": "dist_ts_web/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '1.0.197',
6
+ version: '1.0.200',
7
7
  description: 'website for lossless.com'
8
8
  }
@@ -42,6 +42,7 @@ import {
42
42
  faCircleInfo as faCircleInfoSolid,
43
43
  faCircleCheck as faCircleCheckSolid,
44
44
  faCircleXmark as faCircleXmarkSolid,
45
+ faClockRotateLeft as faClockRotateLeftSolid,
45
46
  faCopy as faCopySolid,
46
47
  faDesktop as faDesktopSolid,
47
48
  faEye as faEyeSolid,
@@ -82,6 +83,8 @@ export const faIcons = {
82
83
  circleCheckSolid: faCircleCheckSolid,
83
84
  circleXmark: faCircleXmarkRegular,
84
85
  circleXmarkSolid: faCircleXmarkSolid,
86
+ clockRotateLeft: faClockRotateLeftSolid,
87
+ clockRotateLeftSolid: faClockRotateLeftSolid,
85
88
  copy: faCopyRegular,
86
89
  copySolid: faCopySolid,
87
90
  desktop: faDesktopSolid,
@@ -2,6 +2,12 @@ import { type ITableAction } from './dees-table.js';
2
2
  import * as plugins from './plugins.js';
3
3
  import { html } from '@design.estate/dees-element';
4
4
 
5
+ interface ITableDemoData {
6
+ date: string;
7
+ amount: string;
8
+ description: string;
9
+ }
10
+
5
11
  export const demoFunc = () => html`
6
12
  <style>
7
13
  .demoWrapper {
@@ -51,7 +57,7 @@ export const demoFunc = () => html`
51
57
  iconName: 'bell',
52
58
  useTableBehaviour: 'upload',
53
59
  type: ['inRow'],
54
- actionFunc: async (itemArg: any) => {
60
+ actionFunc: async (itemArg) => {
55
61
  alert(itemArg.amount);
56
62
  },
57
63
  },
@@ -100,7 +106,7 @@ export const demoFunc = () => html`
100
106
  return null;
101
107
  },
102
108
  },
103
- ] as ITableAction[]}"
109
+ ] as (ITableAction<ITableDemoData>)[] as any}"
104
110
  .displayFunction=${(itemArg) => {
105
111
  return {
106
112
  ...itemArg,
@@ -84,7 +84,7 @@ export class DeesTable<T> extends DeesElement {
84
84
  @property({
85
85
  type: Array,
86
86
  })
87
- public dataActions: ITableAction[] = [];
87
+ public dataActions: ITableAction<T>[] = [];
88
88
 
89
89
  @property({
90
90
  attribute: false,