@vuu-ui/vuu-table-types 0.8.82 → 0.8.83

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.
Files changed (2) hide show
  1. package/index.d.ts +9 -9
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -31,13 +31,13 @@ export type TableHeadings = TableHeading[][];
31
31
  export type ValueFormatter = (value: unknown) => string;
32
32
 
33
33
  export type ClientSideValidationChecker = (
34
- value?: VuuRowDataItemType
34
+ value?: VuuRowDataItemType,
35
35
  ) => string | false | undefined;
36
36
 
37
37
  export type DataCellEditHandler = (
38
38
  row: DataSourceRow,
39
39
  columnName: string,
40
- value: VuuRowDataItemType
40
+ value: VuuRowDataItemType,
41
41
  ) => Promise<string | true>;
42
42
 
43
43
  export interface TableCellProps {
@@ -52,7 +52,7 @@ export interface TableCellProps {
52
52
  export type CommitResponse = Promise<true | string>;
53
53
 
54
54
  export type DataItemCommitHandler<
55
- T extends VuuRowDataItemType = VuuRowDataItemType
55
+ T extends VuuRowDataItemType = VuuRowDataItemType,
56
56
  > = (value: T) => CommitResponse;
57
57
 
58
58
  export type TableRowSelectHandler = (row: DataSourceRowObject | null) => void;
@@ -63,14 +63,14 @@ export type TableRowSelectHandlerInternal = (row: DataSourceRow | null) => void;
63
63
  */
64
64
  export type TableRowClickHandler = (
65
65
  evt: MouseEvent<HTMLDivElement>,
66
- row: DataSourceRowObject
66
+ row: DataSourceRowObject,
67
67
  ) => void;
68
68
 
69
69
  export type TableRowClickHandlerInternal = (
70
70
  evt: MouseEvent<HTMLDivElement>,
71
71
  row: DataSourceRow,
72
72
  rangeSelect: boolean,
73
- keepExistingSelection: boolean
73
+ keepExistingSelection: boolean,
74
74
  ) => void;
75
75
 
76
76
  export interface TableCellRendererProps
@@ -216,7 +216,7 @@ export declare type ColumnTypeDescriptorCustomRenderer = {
216
216
  };
217
217
 
218
218
  export interface FormattingSettingsProps<
219
- T extends ColumnDescriptor = ColumnDescriptor
219
+ T extends ColumnDescriptor = ColumnDescriptor,
220
220
  > {
221
221
  column: T;
222
222
  onChangeFormatting: (formatting: ColumnTypeFormatting) => void;
@@ -381,11 +381,11 @@ export interface TableSettingsProps {
381
381
 
382
382
  export type DefaultColumnConfiguration = <T extends string = string>(
383
383
  tableName: T,
384
- columnName: string
384
+ columnName: string,
385
385
  ) => Partial<ColumnDescriptor> | undefined;
386
386
 
387
387
  export type DefaultTableConfiguration = (
388
- vuuTable?: VuuTable
388
+ vuuTable?: VuuTable,
389
389
  ) => Partial<Omit<TableConfig, "columns">> | undefined;
390
390
 
391
391
  export type ResizePhase = "begin" | "resize" | "end";
@@ -393,7 +393,7 @@ export type ResizePhase = "begin" | "resize" | "end";
393
393
  export type TableColumnResizeHandler = (
394
394
  phase: ResizePhase,
395
395
  columnName: string,
396
- width?: number
396
+ width?: number,
397
397
  ) => void;
398
398
 
399
399
  export interface BaseRowProps {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-table-types",
3
- "version": "0.8.82",
3
+ "version": "0.8.83",
4
4
  "devDependencies": {
5
- "@vuu-ui/vuu-data-types": "0.8.82",
6
- "@vuu-ui/vuu-filter-types": "0.8.82",
7
- "@vuu-ui/vuu-protocol-types": "0.8.82"
5
+ "@vuu-ui/vuu-data-types": "0.8.83",
6
+ "@vuu-ui/vuu-filter-types": "0.8.83",
7
+ "@vuu-ui/vuu-protocol-types": "0.8.83"
8
8
  },
9
9
  "author": "heswell",
10
10
  "license": "Apache-2.0",