@deephaven/dashboard-core-plugins 0.60.0 → 0.60.1-beta.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.
@@ -1,4 +1,5 @@
1
1
  import { type WidgetPlugin } from '@deephaven/plugin';
2
- declare const GridPluginConfig: WidgetPlugin;
2
+ import { Table } from '@deephaven/jsapi-types';
3
+ declare const GridPluginConfig: WidgetPlugin<Table>;
3
4
  export default GridPluginConfig;
4
5
  //# sourceMappingURL=GridPluginConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridPluginConfig.d.ts","sourceRoot":"","sources":["../src/GridPluginConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKlE,QAAA,MAAM,gBAAgB,EAAE,YAavB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"GridPluginConfig.d.ts","sourceRoot":"","sources":["../src/GridPluginConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAI/C,QAAA,MAAM,gBAAgB,EAAE,YAAY,CAAC,KAAK,CAazC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridPluginConfig.js","names":["PluginType","dhTable","GridWidgetPlugin","GridPanelPlugin","GridPluginConfig","name","title","type","WIDGET_PLUGIN","component","panelComponent","supportedTypes","icon"],"sources":["../src/GridPluginConfig.ts"],"sourcesContent":["import { PluginType, type WidgetPlugin } from '@deephaven/plugin';\nimport { dhTable } from '@deephaven/icons';\nimport { GridWidgetPlugin } from './GridWidgetPlugin';\nimport { GridPanelPlugin } from './GridPanelPlugin';\n\nconst GridPluginConfig: WidgetPlugin = {\n name: 'IrisGridPanel',\n title: 'Table',\n type: PluginType.WIDGET_PLUGIN,\n component: GridWidgetPlugin,\n panelComponent: GridPanelPlugin,\n supportedTypes: [\n 'Table',\n 'TreeTable',\n 'HierarchicalTable',\n 'PartitionedTable',\n ],\n icon: dhTable,\n};\n\nexport default GridPluginConfig;\n"],"mappings":"AAAA,SAASA,UAAU,QAA2B,mBAAmB;AACjE,SAASC,OAAO,QAAQ,kBAAkB;AAAC,SAClCC,gBAAgB;AAAA,SAChBC,eAAe;AAExB,IAAMC,gBAA8B,GAAG;EACrCC,IAAI,EAAE,eAAe;EACrBC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAEP,UAAU,CAACQ,aAAa;EAC9BC,SAAS,EAAEP,gBAAgB;EAC3BQ,cAAc,EAAEP,eAAe;EAC/BQ,cAAc,EAAE,CACd,OAAO,EACP,WAAW,EACX,mBAAmB,EACnB,kBAAkB,CACnB;EACDC,IAAI,EAAEX;AACR,CAAC;AAED,eAAeG,gBAAgB"}
1
+ {"version":3,"file":"GridPluginConfig.js","names":["PluginType","dhTable","GridWidgetPlugin","GridPanelPlugin","GridPluginConfig","name","title","type","WIDGET_PLUGIN","component","panelComponent","supportedTypes","icon"],"sources":["../src/GridPluginConfig.ts"],"sourcesContent":["import { PluginType, type WidgetPlugin } from '@deephaven/plugin';\nimport { dhTable } from '@deephaven/icons';\nimport { Table } from '@deephaven/jsapi-types';\nimport { GridWidgetPlugin } from './GridWidgetPlugin';\nimport { GridPanelPlugin } from './GridPanelPlugin';\n\nconst GridPluginConfig: WidgetPlugin<Table> = {\n name: 'IrisGridPanel',\n title: 'Table',\n type: PluginType.WIDGET_PLUGIN,\n component: GridWidgetPlugin,\n panelComponent: GridPanelPlugin,\n supportedTypes: [\n 'Table',\n 'TreeTable',\n 'HierarchicalTable',\n 'PartitionedTable',\n ],\n icon: dhTable,\n};\n\nexport default GridPluginConfig;\n"],"mappings":"AAAA,SAASA,UAAU,QAA2B,mBAAmB;AACjE,SAASC,OAAO,QAAQ,kBAAkB;AAAC,SAElCC,gBAAgB;AAAA,SAChBC,eAAe;AAExB,IAAMC,gBAAqC,GAAG;EAC5CC,IAAI,EAAE,eAAe;EACrBC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAEP,UAAU,CAACQ,aAAa;EAC9BC,SAAS,EAAEP,gBAAgB;EAC3BQ,cAAc,EAAEP,eAAe;EAC/BQ,cAAc,EAAE,CACd,OAAO,EACP,WAAW,EACX,mBAAmB,EACnB,kBAAkB,CACnB;EACDC,IAAI,EAAEX;AACR,CAAC;AAED,eAAeG,gBAAgB"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type WidgetComponentProps } from '@deephaven/plugin';
3
- export declare function GridWidgetPlugin(props: WidgetComponentProps): JSX.Element | null;
3
+ import { type Table } from '@deephaven/jsapi-types';
4
+ export declare function GridWidgetPlugin(props: WidgetComponentProps<Table>): JSX.Element | null;
4
5
  export default GridWidgetPlugin;
5
6
  //# sourceMappingURL=GridWidgetPlugin.d.ts.map
@@ -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;AAS9D,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,oBAAoB,GAC1B,GAAG,CAAC,OAAO,GAAG,IAAI,CAwBpB;AAED,eAAe,gBAAgB,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,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAQpD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,GACjC,GAAG,CAAC,OAAO,GAAG,IAAI,CAwBpB;AAED,eAAe,gBAAgB,CAAC"}
@@ -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 Table } 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\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()) as unknown as Table;\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;AAE9B,OAAO,SAASC,gBAAgBA,CAC9BC,KAA2B,EACP;EACpB,IAAMC,EAAE,GAAGP,MAAM,CAAC,CAAC;EACnB,IAAM,CAACQ,KAAK,EAAEC,QAAQ,CAAC,GAAGV,QAAQ,CAAgB,CAAC;EAEnD,IAAM;IAAEW;EAAM,CAAC,GAAGJ,KAAK;EAEvBR,SAAS,CAAC,MAAM;IACd,IAAIa,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,SAAUP,KAAK,CAAC,CAAsB;QACjD,IAAMQ,QAAQ,SAAShB,oBAAoB,CAACiB,SAAS,CAACZ,EAAE,EAAEU,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,CAACJ,EAAE,EAAEG,KAAK,CAAC,CAAC;EAEf,OAAOF,KAAK,gBAAGJ,IAAA,CAACH,QAAQ;IAACO,KAAK,EAAEA;EAAM,CAAE,CAAC,GAAG,IAAI;AAClD;AAEA,eAAeH,gBAAgB"}
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 Table } 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<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;AAE9B,OAAO,SAASC,gBAAgBA,CAC9BC,KAAkC,EACd;EACpB,IAAMC,EAAE,GAAGP,MAAM,CAAC,CAAC;EACnB,IAAM,CAACQ,KAAK,EAAEC,QAAQ,CAAC,GAAGV,QAAQ,CAAgB,CAAC;EAEnD,IAAM;IAAEW;EAAM,CAAC,GAAGJ,KAAK;EAEvBR,SAAS,CAAC,MAAM;IACd,IAAIa,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,SAAShB,oBAAoB,CAACiB,SAAS,CAACZ,EAAE,EAAEU,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,CAACJ,EAAE,EAAEG,KAAK,CAAC,CAAC;EAEf,OAAOF,KAAK,gBAAGJ,IAAA,CAACH,QAAQ;IAACO,KAAK,EAAEA;EAAM,CAAE,CAAC,GAAG,IAAI;AAClD;AAEA,eAAeH,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/dashboard-core-plugins",
3
- "version": "0.60.0",
3
+ "version": "0.60.1-beta.1+b14b714a",
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.60.0",
26
- "@deephaven/components": "^0.60.0",
27
- "@deephaven/console": "^0.60.0",
28
- "@deephaven/dashboard": "^0.60.0",
29
- "@deephaven/file-explorer": "^0.60.0",
30
- "@deephaven/filters": "^0.60.0",
31
- "@deephaven/golden-layout": "^0.60.0",
32
- "@deephaven/grid": "^0.60.0",
33
- "@deephaven/icons": "^0.60.0",
34
- "@deephaven/iris-grid": "^0.60.0",
35
- "@deephaven/jsapi-bootstrap": "^0.60.0",
36
- "@deephaven/jsapi-components": "^0.60.0",
37
- "@deephaven/jsapi-types": "^0.60.0",
38
- "@deephaven/jsapi-utils": "^0.60.0",
39
- "@deephaven/log": "^0.60.0",
40
- "@deephaven/plugin": "^0.60.0",
41
- "@deephaven/react-hooks": "^0.60.0",
42
- "@deephaven/redux": "^0.60.0",
43
- "@deephaven/storage": "^0.60.0",
44
- "@deephaven/utils": "^0.60.0",
25
+ "@deephaven/chart": "^0.60.1-beta.1+b14b714a",
26
+ "@deephaven/components": "^0.60.1-beta.1+b14b714a",
27
+ "@deephaven/console": "^0.60.1-beta.1+b14b714a",
28
+ "@deephaven/dashboard": "^0.60.1-beta.1+b14b714a",
29
+ "@deephaven/file-explorer": "^0.60.1-beta.1+b14b714a",
30
+ "@deephaven/filters": "^0.60.1-beta.1+b14b714a",
31
+ "@deephaven/golden-layout": "^0.60.1-beta.1+b14b714a",
32
+ "@deephaven/grid": "^0.60.1-beta.1+b14b714a",
33
+ "@deephaven/icons": "^0.60.1-beta.1+b14b714a",
34
+ "@deephaven/iris-grid": "^0.60.1-beta.1+b14b714a",
35
+ "@deephaven/jsapi-bootstrap": "^0.60.1-beta.1+b14b714a",
36
+ "@deephaven/jsapi-components": "^0.60.1-beta.1+b14b714a",
37
+ "@deephaven/jsapi-types": "^0.60.1-beta.1+b14b714a",
38
+ "@deephaven/jsapi-utils": "^0.60.1-beta.1+b14b714a",
39
+ "@deephaven/log": "^0.60.1-beta.1+b14b714a",
40
+ "@deephaven/plugin": "^0.60.1-beta.1+b14b714a",
41
+ "@deephaven/react-hooks": "^0.60.1-beta.1+b14b714a",
42
+ "@deephaven/redux": "^0.60.1-beta.1+b14b714a",
43
+ "@deephaven/storage": "^0.60.1-beta.1+b14b714a",
44
+ "@deephaven/utils": "^0.60.1-beta.1+b14b714a",
45
45
  "@fortawesome/react-fontawesome": "^0.2.0",
46
46
  "classnames": "^2.3.1",
47
47
  "deep-equal": "^2.0.5",
@@ -64,8 +64,8 @@
64
64
  "react-redux": "^7.2.4"
65
65
  },
66
66
  "devDependencies": {
67
- "@deephaven/jsapi-shim": "^0.60.0",
68
- "@deephaven/mocks": "^0.60.0"
67
+ "@deephaven/jsapi-shim": "^0.60.1-beta.1+b14b714a",
68
+ "@deephaven/mocks": "^0.60.1-beta.1+b14b714a"
69
69
  },
70
70
  "files": [
71
71
  "dist"
@@ -76,5 +76,5 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "f0ae05534532a30472bb426cfa82f9d41b1bca75"
79
+ "gitHead": "b14b714a7573ed4a3585b2e65334b57f9870b1ad"
80
80
  }