@hpcc-js/dgrid2 2.3.13 → 2.3.15

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": "@hpcc-js/dgrid2",
3
- "version": "2.3.13",
3
+ "version": "2.3.15",
4
4
  "description": "hpcc-js - DGrid2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es6",
@@ -39,13 +39,13 @@
39
39
  "update": "npx --yes npm-check-updates -u -t minor"
40
40
  },
41
41
  "dependencies": {
42
- "@hpcc-js/common": "^2.71.13",
43
- "@hpcc-js/preact-shim": "^2.16.7",
42
+ "@hpcc-js/common": "^2.71.15",
43
+ "@hpcc-js/preact-shim": "^2.16.8",
44
44
  "@hpcc-js/util": "^2.50.6"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@hpcc-js/bundle": "^2.11.5",
48
- "react-data-grid": "7.0.0-beta.40",
48
+ "react-data-grid": "7.0.0-canary.49",
49
49
  "tslib": "2.6.2"
50
50
  },
51
51
  "repository": {
@@ -59,5 +59,5 @@
59
59
  "url": "https://github.com/hpcc-systems/Visualization/issues"
60
60
  },
61
61
  "homepage": "https://github.com/hpcc-systems/Visualization",
62
- "gitHead": "3b949c1e18901191ffd0138e84f1713f30621f43"
62
+ "gitHead": "6a9c3dabbcea36fec7d25461ca3149c4846926da"
63
63
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/dgrid2";
2
- export const PKG_VERSION = "2.3.13";
3
- export const BUILD_VERSION = "2.104.32";
2
+ export const PKG_VERSION = "2.3.15";
3
+ export const BUILD_VERSION = "2.104.37";
@@ -27,13 +27,11 @@ const EmptyRowsRenderer: React.FunctionComponent<EmptyRowsRendererProps> = ({
27
27
 
28
28
  return <div style={{ textAlign: "center", gridColumn: "1/-1" }} >
29
29
  {message}
30
- <span>
31
- --- * --- * ---
32
- </span>
33
30
  </div>;
34
31
  };
35
32
 
36
33
  interface ColumnEx<TRow, TSummaryRow = unknown> extends Column<TRow, TSummaryRow> {
34
+ renderCell?: (props: any) => React.JSX.Element;
37
35
  __hpcc_pattern?: ReturnType<typeof timeParse>;
38
36
  __hpcc_format?: ReturnType<typeof format> | ReturnType<typeof timeFormat>;
39
37
  }
@@ -145,13 +143,13 @@ export const ReactTable: React.FunctionComponent<ReactTableProps> = ({
145
143
  rows={rows}
146
144
  rowKeyGetter={rowKeyGetter}
147
145
  rowHeight={20}
148
- renderers={{ noRowsFallback: <EmptyRowsRenderer message={table.noDataMessage()} /> }}
146
+ emptyRowsRenderer={() => <EmptyRowsRenderer message={table.noDataMessage()} />}
149
147
  className={table.darkMode() ? "rdg-dark" : "rdg-light"}
150
148
  sortColumns={sortColumn ? [sortColumn] : []}
151
149
  onSortColumnsChange={onSortColumnsChange}
152
150
  selectedRows={selectedRows}
153
151
  onSelectedRowsChange={multiSelect ? onSelectedRowsChange : undefined}
154
- onCellClick={multiSelect ? undefined : onCellClick}
152
+ onRowClick={multiSelect ? undefined : (rowIdx, row, column) => onCellClick(row, column)}
155
153
  aria-describedby={""}
156
154
  aria-label={""}
157
155
  aria-labelledby={""}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid2";
2
- export declare const PKG_VERSION = "2.3.13";
3
- export declare const BUILD_VERSION = "2.104.32";
2
+ export declare const PKG_VERSION = "2.3.15";
3
+ export declare const BUILD_VERSION = "2.104.37";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactTable.d.ts","sourceRoot":"","sources":["../src/reactTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AAkCvE,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkH/D,CAAC"}
1
+ {"version":3,"file":"reactTable.d.ts","sourceRoot":"","sources":["../src/reactTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AAgCvE,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAkH/D,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid2";
2
- export declare const PKG_VERSION = "2.3.13";
3
- export declare const BUILD_VERSION = "2.104.32";
2
+ export declare const PKG_VERSION = "2.3.15";
3
+ export declare const BUILD_VERSION = "2.104.37";
4
4
  //# sourceMappingURL=__package__.d.ts.map