@hpcc-js/dgrid2 2.3.13 → 2.3.14
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/dist/index.es6.js +1709 -1849
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +1709 -1849
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +5 -5
- package/src/__package__.ts +2 -2
- package/src/reactTable.tsx +3 -5
- package/types/__package__.d.ts +2 -2
- package/types/reactTable.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/dgrid2",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.14",
|
|
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.
|
|
43
|
-
"@hpcc-js/preact-shim": "^2.16.
|
|
42
|
+
"@hpcc-js/common": "^2.71.14",
|
|
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-
|
|
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": "
|
|
62
|
+
"gitHead": "afae5cc2bcc06ab57b23af729d18b8b4db0b70db"
|
|
63
63
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/dgrid2";
|
|
2
|
-
export const PKG_VERSION = "2.3.
|
|
3
|
-
export const BUILD_VERSION = "2.104.
|
|
2
|
+
export const PKG_VERSION = "2.3.14";
|
|
3
|
+
export const BUILD_VERSION = "2.104.35";
|
package/src/reactTable.tsx
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
152
|
+
onRowClick={multiSelect ? undefined : (rowIdx, row, column) => onCellClick(row, column)}
|
|
155
153
|
aria-describedby={""}
|
|
156
154
|
aria-label={""}
|
|
157
155
|
aria-labelledby={""}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/dgrid2";
|
|
2
|
-
export declare const PKG_VERSION = "2.3.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.3.14";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.35";
|
|
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;
|
|
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.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.3.14";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.35";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|