@hpcc-js/dgrid2 2.1.0 → 2.1.1
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 +863 -1232
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +863 -1232
- 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/table.md +1 -1
- package/src/table.tsx +4 -3
- package/types/__package__.d.ts +2 -2
- package/types/table.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.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "hpcc-js - DGrid2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"update": "npx npm-check-updates -u -t minor"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@hpcc-js/common": "^2.68.
|
|
42
|
-
"@hpcc-js/util": "^2.47.
|
|
41
|
+
"@hpcc-js/common": "^2.68.1",
|
|
42
|
+
"@hpcc-js/util": "^2.47.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@githubocto/flat-ui": "0.14.0",
|
|
46
46
|
"@hpcc-js/bundle": "^2.11.1",
|
|
47
47
|
"preact": "10.7.1",
|
|
48
|
-
"react-data-grid": "7.0.0-
|
|
48
|
+
"react-data-grid": "7.0.0-canary.49",
|
|
49
49
|
"tslib": "2.3.1"
|
|
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": "b7c5d9a853196b53078d665df4368629a1a87903"
|
|
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.1.
|
|
3
|
-
export const BUILD_VERSION = "2.103.
|
|
2
|
+
export const PKG_VERSION = "2.1.1";
|
|
3
|
+
export const BUILD_VERSION = "2.103.1";
|
package/src/table.md
CHANGED
package/src/table.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HTMLWidget, publish } from "@hpcc-js/common";
|
|
2
|
-
import * as React from "
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { render, unmountComponentAtNode } from "react-dom";
|
|
3
4
|
import DataGrid, { Column, SelectColumn, SortColumn } from "react-data-grid";
|
|
4
5
|
|
|
5
6
|
import "../src/table.css";
|
|
@@ -149,11 +150,11 @@ export class Table extends HTMLWidget {
|
|
|
149
150
|
super.update(domNode, element);
|
|
150
151
|
this._div.style("width", this.width() + "px");
|
|
151
152
|
this._div.style("height", this.height() + "px");
|
|
152
|
-
|
|
153
|
+
render(this.renderTable(), this._div.node());
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
exit(domNode, element) {
|
|
156
|
-
|
|
157
|
+
unmountComponentAtNode(this._div.node());
|
|
157
158
|
this._div.remove();
|
|
158
159
|
super.exit(domNode, element);
|
|
159
160
|
}
|
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.1.
|
|
3
|
-
export declare const BUILD_VERSION = "2.103.
|
|
2
|
+
export declare const PKG_VERSION = "2.1.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.103.1";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAKtD,OAAO,kBAAkB,CAAC;AAE1B,oBAAY,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AA0GvE,qBAAa,KAAM,SAAQ,UAAU;IAEjC,SAAS,CAAC,IAAI,MAAC;;IAOf,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEjC,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEpC,QAAQ,MAAC;IACT,WAAW,MAAC;IACZ,OAAO,CAAC,WAAW;IAanB,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOvB,IAAI,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOrB,KAAK,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA;CAEtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/dgrid2";
|
|
2
|
-
export declare const PKG_VERSION = "2.1.
|
|
3
|
-
export declare const BUILD_VERSION = "2.103.
|
|
2
|
+
export declare const PKG_VERSION = "2.1.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.103.1";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|