@deephaven/dashboard-core-plugins 0.77.1-beta.0 → 0.77.1-beta.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridWidgetPlugin.d.ts","sourceRoot":"","sources":["../src/GridWidgetPlugin.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GridWidgetPlugin.d.ts","sourceRoot":"","sources":["../src/GridWidgetPlugin.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,wBAAwB,CAAC;AAUjD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,GACpC,GAAG,CAAC,OAAO,GAAG,IAAI,CAyBpB;AAED,eAAe,gBAAgB,CAAC"}
|
package/dist/GridWidgetPlugin.js
CHANGED
|
@@ -3,9 +3,12 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import { useApi } from '@deephaven/jsapi-bootstrap';
|
|
5
5
|
import { IrisGrid, IrisGridModelFactory } from '@deephaven/iris-grid';
|
|
6
|
+
import { useSelector } from 'react-redux';
|
|
7
|
+
import { getSettings } from '@deephaven/redux';
|
|
6
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
9
|
export function GridWidgetPlugin(props) {
|
|
8
10
|
var dh = useApi();
|
|
11
|
+
var settings = useSelector(getSettings);
|
|
9
12
|
var [model, setModel] = useState();
|
|
10
13
|
var {
|
|
11
14
|
fetch
|
|
@@ -31,7 +34,8 @@ export function GridWidgetPlugin(props) {
|
|
|
31
34
|
};
|
|
32
35
|
}, [dh, fetch]);
|
|
33
36
|
return model ? /*#__PURE__*/_jsx(IrisGrid, {
|
|
34
|
-
model: model
|
|
37
|
+
model: model,
|
|
38
|
+
settings: settings
|
|
35
39
|
}) : null;
|
|
36
40
|
}
|
|
37
41
|
export default GridWidgetPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridWidgetPlugin.js","names":["useEffect","useState","useApi","IrisGrid","IrisGridModelFactory","jsx","_jsx","GridWidgetPlugin","props","dh","model","setModel","fetch","cancelled","init","_init","apply","arguments","_asyncToGenerator","table","newModel","makeModel"],"sources":["../src/GridWidgetPlugin.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { type WidgetComponentProps } from '@deephaven/plugin';\nimport { type dh } from '@deephaven/jsapi-types';\nimport { useApi } from '@deephaven/jsapi-bootstrap';\nimport {\n IrisGrid,\n IrisGridModelFactory,\n type IrisGridModel,\n} from '@deephaven/iris-grid';\n\nexport function GridWidgetPlugin(\n props: WidgetComponentProps<dh.Table>\n): JSX.Element | null {\n const dh = useApi();\n const [model, setModel] = useState<IrisGridModel>();\n\n const { fetch } = props;\n\n useEffect(() => {\n let cancelled = false;\n async function init() {\n const table = await fetch();\n const newModel = await IrisGridModelFactory.makeModel(dh, table);\n if (!cancelled) {\n setModel(newModel);\n }\n }\n\n init();\n\n return () => {\n cancelled = true;\n };\n }, [dh, fetch]);\n\n return model ? <IrisGrid model={model} /> : null;\n}\n\nexport default GridWidgetPlugin;\n"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAG3C,SAASC,MAAM,QAAQ,4BAA4B;AACnD,SACEC,QAAQ,EACRC,oBAAoB,QAEf,sBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"file":"GridWidgetPlugin.js","names":["useEffect","useState","useApi","IrisGrid","IrisGridModelFactory","useSelector","getSettings","jsx","_jsx","GridWidgetPlugin","props","dh","settings","model","setModel","fetch","cancelled","init","_init","apply","arguments","_asyncToGenerator","table","newModel","makeModel"],"sources":["../src/GridWidgetPlugin.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { type WidgetComponentProps } from '@deephaven/plugin';\nimport { type dh } from '@deephaven/jsapi-types';\nimport { useApi } from '@deephaven/jsapi-bootstrap';\nimport {\n IrisGrid,\n IrisGridModelFactory,\n type IrisGridModel,\n} from '@deephaven/iris-grid';\nimport { useSelector } from 'react-redux';\nimport { getSettings, RootState } from '@deephaven/redux';\n\nexport function GridWidgetPlugin(\n props: WidgetComponentProps<dh.Table>\n): JSX.Element | null {\n const dh = useApi();\n const settings = useSelector(getSettings<RootState>);\n const [model, setModel] = useState<IrisGridModel>();\n\n const { fetch } = props;\n\n useEffect(() => {\n let cancelled = false;\n async function init() {\n const table = await fetch();\n const newModel = await IrisGridModelFactory.makeModel(dh, table);\n if (!cancelled) {\n setModel(newModel);\n }\n }\n\n init();\n\n return () => {\n cancelled = true;\n };\n }, [dh, fetch]);\n\n return model ? <IrisGrid model={model} settings={settings} /> : null;\n}\n\nexport default GridWidgetPlugin;\n"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAG3C,SAASC,MAAM,QAAQ,4BAA4B;AACnD,SACEC,QAAQ,EACRC,oBAAoB,QAEf,sBAAsB;AAC7B,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,WAAW,QAAmB,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE1D,OAAO,SAASC,gBAAgBA,CAC9BC,KAAqC,EACjB;EACpB,IAAMC,EAAE,GAAGT,MAAM,CAAC,CAAC;EACnB,IAAMU,QAAQ,GAAGP,WAAW,CAACC,WAAsB,CAAC;EACpD,IAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGb,QAAQ,CAAgB,CAAC;EAEnD,IAAM;IAAEc;EAAM,CAAC,GAAGL,KAAK;EAEvBV,SAAS,CAAC,MAAM;IACd,IAAIgB,SAAS,GAAG,KAAK;IAAC,SACPC,IAAIA,CAAA;MAAA,OAAAC,KAAA,CAAAC,KAAA,OAAAC,SAAA;IAAA;IAAA,SAAAF,MAAA;MAAAA,KAAA,GAAAG,iBAAA,CAAnB,aAAsB;QACpB,IAAMC,KAAK,SAASP,KAAK,CAAC,CAAC;QAC3B,IAAMQ,QAAQ,SAASnB,oBAAoB,CAACoB,SAAS,CAACb,EAAE,EAAEW,KAAK,CAAC;QAChE,IAAI,CAACN,SAAS,EAAE;UACdF,QAAQ,CAACS,QAAQ,CAAC;QACpB;MACF,CAAC;MAAA,OAAAL,KAAA,CAAAC,KAAA,OAAAC,SAAA;IAAA;IAEDH,IAAI,CAAC,CAAC;IAEN,OAAO,MAAM;MACXD,SAAS,GAAG,IAAI;IAClB,CAAC;EACH,CAAC,EAAE,CAACL,EAAE,EAAEI,KAAK,CAAC,CAAC;EAEf,OAAOF,KAAK,gBAAGL,IAAA,CAACL,QAAQ;IAACU,KAAK,EAAEA,KAAM;IAACD,QAAQ,EAAEA;EAAS,CAAE,CAAC,GAAG,IAAI;AACtE;AAEA,eAAeH,gBAAgB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/dashboard-core-plugins",
|
|
3
|
-
"version": "0.77.1-beta.
|
|
3
|
+
"version": "0.77.1-beta.2+3de52d6f",
|
|
4
4
|
"description": "Deephaven Dashboard Core Plugins",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,26 +22,26 @@
|
|
|
22
22
|
"build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@deephaven/chart": "^0.77.1-beta.
|
|
26
|
-
"@deephaven/components": "^0.77.1-beta.
|
|
27
|
-
"@deephaven/console": "^0.77.1-beta.
|
|
28
|
-
"@deephaven/dashboard": "^0.77.1-beta.
|
|
29
|
-
"@deephaven/file-explorer": "^0.77.1-beta.
|
|
30
|
-
"@deephaven/filters": "^0.77.1-beta.
|
|
31
|
-
"@deephaven/golden-layout": "^0.77.1-beta.
|
|
32
|
-
"@deephaven/grid": "^0.77.1-beta.
|
|
33
|
-
"@deephaven/icons": "^0.77.1-beta.
|
|
34
|
-
"@deephaven/iris-grid": "^0.77.1-beta.
|
|
35
|
-
"@deephaven/jsapi-bootstrap": "^0.77.1-beta.
|
|
36
|
-
"@deephaven/jsapi-components": "^0.77.1-beta.
|
|
25
|
+
"@deephaven/chart": "^0.77.1-beta.2+3de52d6f",
|
|
26
|
+
"@deephaven/components": "^0.77.1-beta.2+3de52d6f",
|
|
27
|
+
"@deephaven/console": "^0.77.1-beta.2+3de52d6f",
|
|
28
|
+
"@deephaven/dashboard": "^0.77.1-beta.2+3de52d6f",
|
|
29
|
+
"@deephaven/file-explorer": "^0.77.1-beta.2+3de52d6f",
|
|
30
|
+
"@deephaven/filters": "^0.77.1-beta.2+3de52d6f",
|
|
31
|
+
"@deephaven/golden-layout": "^0.77.1-beta.2+3de52d6f",
|
|
32
|
+
"@deephaven/grid": "^0.77.1-beta.2+3de52d6f",
|
|
33
|
+
"@deephaven/icons": "^0.77.1-beta.2+3de52d6f",
|
|
34
|
+
"@deephaven/iris-grid": "^0.77.1-beta.2+3de52d6f",
|
|
35
|
+
"@deephaven/jsapi-bootstrap": "^0.77.1-beta.2+3de52d6f",
|
|
36
|
+
"@deephaven/jsapi-components": "^0.77.1-beta.2+3de52d6f",
|
|
37
37
|
"@deephaven/jsapi-types": "1.0.0-dev0.34.0",
|
|
38
|
-
"@deephaven/jsapi-utils": "^0.77.1-beta.
|
|
39
|
-
"@deephaven/log": "^0.77.1-beta.
|
|
40
|
-
"@deephaven/plugin": "^0.77.1-beta.
|
|
41
|
-
"@deephaven/react-hooks": "^0.77.1-beta.
|
|
42
|
-
"@deephaven/redux": "^0.77.1-beta.
|
|
43
|
-
"@deephaven/storage": "^0.77.1-beta.
|
|
44
|
-
"@deephaven/utils": "^0.77.1-beta.
|
|
38
|
+
"@deephaven/jsapi-utils": "^0.77.1-beta.2+3de52d6f",
|
|
39
|
+
"@deephaven/log": "^0.77.1-beta.2+3de52d6f",
|
|
40
|
+
"@deephaven/plugin": "^0.77.1-beta.2+3de52d6f",
|
|
41
|
+
"@deephaven/react-hooks": "^0.77.1-beta.2+3de52d6f",
|
|
42
|
+
"@deephaven/redux": "^0.77.1-beta.2+3de52d6f",
|
|
43
|
+
"@deephaven/storage": "^0.77.1-beta.2+3de52d6f",
|
|
44
|
+
"@deephaven/utils": "^0.77.1-beta.2+3de52d6f",
|
|
45
45
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
46
46
|
"classnames": "^2.3.1",
|
|
47
47
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"react-redux": "^7.2.4"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@deephaven/jsapi-shim": "^0.77.1-beta.
|
|
69
|
-
"@deephaven/mocks": "^0.77.1-beta.
|
|
68
|
+
"@deephaven/jsapi-shim": "^0.77.1-beta.2+3de52d6f",
|
|
69
|
+
"@deephaven/mocks": "^0.77.1-beta.2+3de52d6f"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
72
|
"dist",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "3de52d6fa0512792c97928f65f0b4b1080da2c49"
|
|
82
82
|
}
|