@vuu-ui/vuu-table-types 2.1.13 → 2.1.16

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 +12 -3
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -131,6 +131,12 @@ export declare type TableRowClickHandlerInternal = (
131
131
 
132
132
  export interface TableCellRendererProps
133
133
  extends Omit<TableCellProps, "onDataEdited"> {
134
+ /**
135
+ * has the value of this edit control been changed during the current edit session.
136
+ * This can go from true to false if control is edited to revert a previous change
137
+ * during same session. It will be undefined if the control has not been edited.
138
+ */
139
+ editedDuringCurrentSession?: boolean;
134
140
  onEdit?: TableCellEditHandler;
135
141
  }
136
142
 
@@ -354,10 +360,13 @@ export interface ColumnDescriptor extends DataValueDescriptor {
354
360
  selected?: boolean;
355
361
  sortable?: boolean;
356
362
  /**
357
- * 'client' columns will not receive data from dataSource.
363
+ * 'client' columns are not directly associated with a dataSource column.
364
+ * They are not validated against the dataSource to ensure data is included
365
+ * in subscription.
358
366
  * They can be used with a custom renderer, e.g to render
359
- * action buttons.
360
- * default is 'server'
367
+ * action buttons. They do have access to the dataRow, so a custom renderer
368
+ * can consume data from any column included in dataSource subscription.
369
+ * Default is 'server'
361
370
  */
362
371
  source?: "client" | "server";
363
372
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-table-types",
3
- "version": "2.1.13",
3
+ "version": "2.1.16",
4
4
  "devDependencies": {
5
- "@vuu-ui/vuu-data-types": "2.1.13",
6
- "@vuu-ui/vuu-filter-types": "2.1.13",
7
- "@vuu-ui/vuu-protocol-types": "2.1.13"
5
+ "@vuu-ui/vuu-data-types": "2.1.16",
6
+ "@vuu-ui/vuu-filter-types": "2.1.16",
7
+ "@vuu-ui/vuu-protocol-types": "2.1.16"
8
8
  },
9
9
  "author": "heswell",
10
10
  "license": "Apache-2.0",