@deephaven/dashboard-core-plugins 0.15.5-vite.12 → 0.15.5
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/ChartBuilderPlugin.d.ts.map +1 -1
- package/dist/ChartBuilderPlugin.js +2 -1
- package/dist/ChartBuilderPlugin.js.map +1 -1
- package/dist/ChartPlugin.js.map +1 -1
- package/dist/ConsolePlugin.js.map +1 -1
- package/dist/FilterPlugin.js +1 -1
- package/dist/FilterPlugin.js.map +1 -1
- package/dist/GridPlugin.js.map +1 -1
- package/dist/LinkerPlugin.js.map +1 -1
- package/dist/MarkdownPlugin.js.map +1 -1
- package/dist/PandasPlugin.js.map +1 -1
- package/dist/controls/ControlType.d.ts +1 -1
- package/dist/controls/ControlType.d.ts.map +1 -1
- package/dist/controls/ControlType.js.map +1 -1
- package/dist/controls/dropdown-filter/DropdownFilter.d.ts +73 -81
- package/dist/controls/dropdown-filter/DropdownFilter.d.ts.map +1 -1
- package/dist/controls/dropdown-filter/DropdownFilter.js +41 -58
- package/dist/controls/dropdown-filter/DropdownFilter.js.map +1 -1
- package/dist/controls/input-filter/InputFilter.d.ts +46 -46
- package/dist/controls/input-filter/InputFilter.d.ts.map +1 -1
- package/dist/controls/input-filter/InputFilter.js +32 -39
- package/dist/controls/input-filter/InputFilter.js.map +1 -1
- package/dist/controls/markdown/MarkdownContainer.d.ts +11 -16
- package/dist/controls/markdown/MarkdownContainer.d.ts.map +1 -1
- package/dist/controls/markdown/MarkdownContainer.js +5 -8
- package/dist/controls/markdown/MarkdownContainer.js.map +1 -1
- package/dist/controls/markdown/MarkdownEditor.d.ts +17 -19
- package/dist/controls/markdown/MarkdownEditor.d.ts.map +1 -1
- package/dist/controls/markdown/MarkdownEditor.js +5 -8
- package/dist/controls/markdown/MarkdownEditor.js.map +1 -1
- package/dist/controls/markdown/MarkdownStartPage.d.ts +24 -28
- package/dist/controls/markdown/MarkdownStartPage.d.ts.map +1 -1
- package/dist/controls/markdown/MarkdownStartPage.js +19 -23
- package/dist/controls/markdown/MarkdownStartPage.js.map +1 -1
- package/dist/controls/markdown/MarkdownUtils.d.ts +4 -4
- package/dist/controls/markdown/MarkdownUtils.d.ts.map +1 -1
- package/dist/controls/markdown/MarkdownUtils.js +2 -2
- package/dist/controls/markdown/MarkdownUtils.js.map +1 -1
- package/dist/events/ChartEvent.d.ts +1 -1
- package/dist/events/ChartEvent.d.ts.map +1 -1
- package/dist/events/ChartEvent.js.map +1 -1
- package/dist/events/ConsoleEvent.d.ts +1 -1
- package/dist/events/ConsoleEvent.d.ts.map +1 -1
- package/dist/events/ConsoleEvent.js.map +1 -1
- package/dist/events/InputFilterEvent.d.ts +1 -1
- package/dist/events/InputFilterEvent.d.ts.map +1 -1
- package/dist/events/InputFilterEvent.js.map +1 -1
- package/dist/events/IrisGridEvent.d.ts +1 -1
- package/dist/events/IrisGridEvent.d.ts.map +1 -1
- package/dist/events/IrisGridEvent.js.map +1 -1
- package/dist/events/MarkdownEvent.js.map +1 -1
- package/dist/events/NotebookEvent.d.ts +1 -1
- package/dist/events/NotebookEvent.d.ts.map +1 -1
- package/dist/events/NotebookEvent.js.map +1 -1
- package/dist/events/PQEvent.d.ts +1 -1
- package/dist/events/PQEvent.d.ts.map +1 -1
- package/dist/events/PQEvent.js.map +1 -1
- package/dist/events/PandasEvent.d.ts +1 -1
- package/dist/events/PandasEvent.d.ts.map +1 -1
- package/dist/events/PandasEvent.js.map +1 -1
- package/dist/events/TabEvent.d.ts +1 -1
- package/dist/events/TabEvent.d.ts.map +1 -1
- package/dist/events/TabEvent.js.map +1 -1
- package/dist/events/index.d.ts +8 -8
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/linker/ColumnSelectionValidator.d.ts +4 -0
- package/dist/linker/ColumnSelectionValidator.d.ts.map +1 -0
- package/dist/linker/ColumnSelectionValidator.js +2 -0
- package/dist/linker/ColumnSelectionValidator.js.map +1 -0
- package/dist/linker/Linker.d.ts +11 -11
- package/dist/linker/Linker.js +1 -1
- package/dist/linker/Linker.js.map +1 -1
- package/dist/linker/LinkerLink.js.map +1 -1
- package/dist/linker/LinkerOverlayContent.js.map +1 -1
- package/dist/linker/LinkerUtils.d.ts +3 -3
- package/dist/linker/LinkerUtils.d.ts.map +1 -1
- package/dist/linker/LinkerUtils.js.map +1 -1
- package/dist/linker/ToolType.d.ts +1 -1
- package/dist/linker/ToolType.d.ts.map +1 -1
- package/dist/linker/ToolType.js.map +1 -1
- package/dist/panels/ChartColumnSelectorOverlay.d.ts +22 -26
- package/dist/panels/ChartColumnSelectorOverlay.d.ts.map +1 -1
- package/dist/panels/ChartColumnSelectorOverlay.js +5 -14
- package/dist/panels/ChartColumnSelectorOverlay.js.map +1 -1
- package/dist/panels/ChartFilterOverlay.d.ts +27 -21
- package/dist/panels/ChartFilterOverlay.d.ts.map +1 -1
- package/dist/panels/ChartFilterOverlay.js.map +1 -1
- package/dist/panels/ChartPanel.d.ts +149 -152
- package/dist/panels/ChartPanel.d.ts.map +1 -1
- package/dist/panels/ChartPanel.js +65 -73
- package/dist/panels/ChartPanel.js.map +1 -1
- package/dist/panels/CommandHistoryPanel.d.ts +41 -56
- package/dist/panels/CommandHistoryPanel.d.ts.map +1 -1
- package/dist/panels/CommandHistoryPanel.js +13 -35
- package/dist/panels/CommandHistoryPanel.js.map +1 -1
- package/dist/panels/ConsolePanel.d.ts +63 -73
- package/dist/panels/ConsolePanel.d.ts.map +1 -1
- package/dist/panels/ConsolePanel.js +67 -83
- package/dist/panels/ConsolePanel.js.map +1 -1
- package/dist/panels/DropdownFilterPanel.d.ts +110 -106
- package/dist/panels/DropdownFilterPanel.d.ts.map +1 -1
- package/dist/panels/DropdownFilterPanel.js +60 -62
- package/dist/panels/DropdownFilterPanel.js.map +1 -1
- package/dist/panels/FileExplorerPanel.d.ts +5 -7
- package/dist/panels/FileExplorerPanel.d.ts.map +1 -1
- package/dist/panels/FileExplorerPanel.js.map +1 -1
- package/dist/panels/FilterSetManager.d.ts +3 -1
- package/dist/panels/FilterSetManager.d.ts.map +1 -1
- package/dist/panels/FilterSetManager.js.map +1 -1
- package/dist/panels/FilterSetManagerPanel.d.ts +83 -62
- package/dist/panels/FilterSetManagerPanel.d.ts.map +1 -1
- package/dist/panels/FilterSetManagerPanel.js +58 -36
- package/dist/panels/FilterSetManagerPanel.js.map +1 -1
- package/dist/panels/InputFilterPanel.d.ts +50 -51
- package/dist/panels/InputFilterPanel.d.ts.map +1 -1
- package/dist/panels/InputFilterPanel.js +35 -34
- package/dist/panels/InputFilterPanel.js.map +1 -1
- package/dist/panels/IrisGridPanel.d.ts +191 -178
- package/dist/panels/IrisGridPanel.d.ts.map +1 -1
- package/dist/panels/IrisGridPanel.js +150 -179
- package/dist/panels/IrisGridPanel.js.map +1 -1
- package/dist/panels/LogPanel.d.ts +29 -45
- package/dist/panels/LogPanel.d.ts.map +1 -1
- package/dist/panels/LogPanel.js +9 -11
- package/dist/panels/LogPanel.js.map +1 -1
- package/dist/panels/MarkdownNotebook.d.ts +34 -34
- package/dist/panels/MarkdownNotebook.d.ts.map +1 -1
- package/dist/panels/MarkdownNotebook.js +21 -18
- package/dist/panels/MarkdownNotebook.js.map +1 -1
- package/dist/panels/MarkdownPanel.d.ts +41 -47
- package/dist/panels/MarkdownPanel.d.ts.map +1 -1
- package/dist/panels/MarkdownPanel.js +17 -19
- package/dist/panels/MarkdownPanel.js.map +1 -1
- package/dist/panels/NotebookPanel.d.ts +137 -115
- package/dist/panels/NotebookPanel.d.ts.map +1 -1
- package/dist/panels/NotebookPanel.js +95 -68
- package/dist/panels/NotebookPanel.js.map +1 -1
- package/dist/panels/PandasPanel.d.ts +20 -17
- package/dist/panels/PandasPanel.d.ts.map +1 -1
- package/dist/panels/PandasPanel.js +18 -14
- package/dist/panels/PandasPanel.js.map +1 -1
- package/dist/panels/Panel.d.ts +87 -123
- package/dist/panels/Panel.d.ts.map +1 -1
- package/dist/panels/Panel.js +29 -54
- package/dist/panels/Panel.js.map +1 -1
- package/dist/panels/PanelContextMenu.d.ts +16 -31
- package/dist/panels/PanelContextMenu.d.ts.map +1 -1
- package/dist/panels/PanelContextMenu.js +12 -15
- package/dist/panels/PanelContextMenu.js.map +1 -1
- package/dist/panels/RenameDialog.d.ts +26 -28
- package/dist/panels/RenameDialog.d.ts.map +1 -1
- package/dist/panels/RenameDialog.js +15 -19
- package/dist/panels/RenameDialog.js.map +1 -1
- package/dist/panels/WidgetPanel.d.ts +72 -106
- package/dist/panels/WidgetPanel.d.ts.map +1 -1
- package/dist/panels/WidgetPanel.js +17 -47
- package/dist/panels/WidgetPanel.js.map +1 -1
- package/dist/panels/WidgetPanelTooltip.d.ts +29 -22
- package/dist/panels/WidgetPanelTooltip.d.ts.map +1 -1
- package/dist/panels/WidgetPanelTooltip.js +1 -1
- package/dist/panels/WidgetPanelTooltip.js.map +1 -1
- package/dist/panels/index.js.map +1 -1
- package/dist/prop-types/CommonPropTypes.d.ts +4 -4
- package/dist/prop-types/CommonPropTypes.d.ts.map +1 -1
- package/dist/prop-types/CommonPropTypes.js +1 -1
- package/dist/prop-types/CommonPropTypes.js.map +1 -1
- package/dist/prop-types/UIPropTypes.d.ts +2 -7
- package/dist/prop-types/UIPropTypes.d.ts.map +1 -1
- package/dist/prop-types/UIPropTypes.js +0 -7
- package/dist/prop-types/UIPropTypes.js.map +1 -1
- package/dist/prop-types/index.d.ts +2 -2
- package/dist/prop-types/index.d.ts.map +1 -1
- package/dist/prop-types/index.js.map +1 -1
- package/dist/redux/actionTypes.d.ts +1 -1
- package/dist/redux/actionTypes.d.ts.map +1 -1
- package/dist/redux/actionTypes.js.map +1 -1
- package/dist/redux/actions.d.ts +63 -8
- package/dist/redux/actions.d.ts.map +1 -1
- package/dist/redux/actions.js +17 -17
- package/dist/redux/actions.js.map +1 -1
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/reducers/index.d.ts +3 -4
- package/dist/redux/reducers/index.d.ts.map +1 -1
- package/dist/redux/reducers/index.js.map +1 -1
- package/dist/redux/reducers/sessionWrapper.d.ts +1 -1
- package/dist/redux/reducers/sessionWrapper.d.ts.map +1 -1
- package/dist/redux/reducers/sessionWrapper.js.map +1 -1
- package/dist/redux/selectors.d.ts +63 -9
- package/dist/redux/selectors.d.ts.map +1 -1
- package/dist/redux/selectors.js +24 -24
- package/dist/redux/selectors.js.map +1 -1
- package/package.json +21 -17
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import './WidgetPanelTooltip.scss';
|
|
4
|
+
import { ReactElement } from 'react-markdown';
|
|
5
|
+
import GoldenLayout from '@deephaven/golden-layout';
|
|
6
|
+
interface WidgetPanelTooltipProps {
|
|
7
|
+
glContainer: GoldenLayout.Container;
|
|
8
|
+
widgetType: string;
|
|
9
|
+
widgetName: string;
|
|
10
|
+
description: string;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const WidgetPanelTooltip: {
|
|
14
|
+
(props: WidgetPanelTooltipProps): ReactElement;
|
|
15
|
+
propTypes: {
|
|
16
|
+
glContainer: PropTypes.Validator<PropTypes.InferProps<{
|
|
6
17
|
on: PropTypes.Requireable<(...args: any[]) => any>;
|
|
7
18
|
off: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
19
|
isHidden: PropTypes.Requireable<boolean>;
|
|
@@ -17,21 +28,17 @@ declare namespace WidgetPanelTooltip {
|
|
|
17
28
|
setTitle: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
29
|
close: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
30
|
}>>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export { children_1 as children };
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
import PropTypes from "prop-types";
|
|
31
|
+
widgetType: PropTypes.Requireable<string>;
|
|
32
|
+
widgetName: PropTypes.Requireable<string>;
|
|
33
|
+
description: PropTypes.Requireable<string>;
|
|
34
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
35
|
+
};
|
|
36
|
+
defaultProps: {
|
|
37
|
+
widgetType: string;
|
|
38
|
+
widgetName: string;
|
|
39
|
+
description: null;
|
|
40
|
+
children: null;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default WidgetPanelTooltip;
|
|
37
44
|
//# sourceMappingURL=WidgetPanelTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetPanelTooltip.d.ts","sourceRoot":"","sources":["../../src/panels/WidgetPanelTooltip.
|
|
1
|
+
{"version":3,"file":"WidgetPanelTooltip.d.ts","sourceRoot":"","sources":["../../src/panels/WidgetPanelTooltip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AACnD,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAIpD,UAAU,uBAAuB;IAC/B,WAAW,EAAE,YAAY,CAAC,SAAS,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AACD,QAAA,MAAM,kBAAkB;YAAW,uBAAuB,GAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCxE,CAAC;AAiBF,eAAe,kBAAkB,CAAC"}
|
|
@@ -30,7 +30,7 @@ var WidgetPanelTooltip = props => {
|
|
|
30
30
|
className: "tab-tooltip-copy",
|
|
31
31
|
icon: copied ? vsPassFilled : vsCopy,
|
|
32
32
|
onClick: () => {
|
|
33
|
-
ContextActionUtils.copyToClipboard(widgetName).then(setCopied(true)).catch(e => log.error('Unable to column name', e));
|
|
33
|
+
ContextActionUtils.copyToClipboard(widgetName).then(() => setCopied(true)).catch(e => log.error('Unable to column name', e));
|
|
34
34
|
},
|
|
35
35
|
tooltip: copied ? 'Copied text' : 'Copy name'
|
|
36
36
|
})), widgetName !== panelTitle && /*#__PURE__*/React.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/panels/WidgetPanelTooltip.tsx"],"names":["React","useState","PropTypes","Button","ContextActionUtils","vsCopy","vsPassFilled","GLPropTypes","LayoutUtils","Log","log","module","WidgetPanelTooltip","props","widgetType","widgetName","glContainer","description","children","panelTitle","getTitleFromContainer","copied","setCopied","copyToClipboard","then","catch","e","error","propTypes","Container","isRequired","string","node","defaultProps"],"mappings":"AAAA,OAAOA,KAAP,IAA2BC,QAA3B,QAA2C,OAA3C;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SAASC,MAAT,EAAiBC,kBAAjB,QAA2C,uBAA3C;AACA,SAASC,MAAT,EAAiBC,YAAjB,QAAqC,kBAArC;AACA,SAASC,WAAT,EAAsBC,WAAtB,QAAyC,sBAAzC;AACA,OAAOC,GAAP,MAAgB,gBAAhB;;AAKA,IAAMC,GAAG,GAAGD,GAAG,CAACE,MAAJ,CAAW,oBAAX,CAAZ;;AASA,IAAMC,kBAAkB,GAAIC,KAAD,IAAkD;AAC3E,MAAM;AAAEC,IAAAA,UAAF;AAAcC,IAAAA,UAAd;AAA0BC,IAAAA,WAA1B;AAAuCC,IAAAA,WAAvC;AAAoDC,IAAAA;AAApD,MAAiEL,KAAvE;AACA,MAAMM,UAAU,GAAGX,WAAW,CAACY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G7BhB,EAAAA,UAAU,EAAEb,SAAS,CAAC6B,MAHO;AAI7Bd,EAAAA,WAAW,EAAEf,SAAS,CAAC6B,MAJM;AAK7Bb,EAAAA,QAAQ,EAAEhB,SAAS,CAAC8B;AALS,CAA/B;AAQApB,kBAAkB,CAACqB,YAAnB,GAAkC;AAChCnB,EAAAA,UAAU,EAAE,EADoB;AAEhCC,EAAAA,UAAU,EAAE,EAFoB;AAGhCE,EAAAA,WAAW,EAAE,IAHmB;AAIhCC,EAAAA,QAAQ,EAAE;AAJsB,CAAlC;AAOA,eAAeN,kBAAf","sourcesContent":["import React, { ReactNode, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Button, ContextActionUtils } from '@deephaven/components';\nimport { vsCopy, vsPassFilled } from '@deephaven/icons';\nimport { GLPropTypes, LayoutUtils } from '@deephaven/dashboard';\nimport Log from '@deephaven/log';\nimport './WidgetPanelTooltip.scss';\nimport { ReactElement } from 'react-markdown';\nimport GoldenLayout from '@deephaven/golden-layout';\n\nconst log = Log.module('WidgetPanelTooltip');\n\ninterface WidgetPanelTooltipProps {\n glContainer: GoldenLayout.Container;\n widgetType: string;\n widgetName: string;\n description: string;\n children: ReactNode;\n}\nconst WidgetPanelTooltip = (props: WidgetPanelTooltipProps): ReactElement => {\n const { widgetType, widgetName, glContainer, description, children } = props;\n const panelTitle = LayoutUtils.getTitleFromContainer(glContainer);\n const [copied, setCopied] = useState(false);\n\n return (\n <div className=\"tab-tooltip-container\">\n <div className=\"row flex-nowrap align-items-start\">\n <span className=\"tab-tooltip-title\">\n <b>{widgetType} Name </b>\n </span>\n <span className=\"tab-tooltip-name\">{widgetName}</span>\n\n <Button\n kind=\"ghost\"\n className=\"tab-tooltip-copy\"\n icon={copied ? vsPassFilled : vsCopy}\n onClick={() => {\n ContextActionUtils.copyToClipboard(widgetName)\n .then(() => setCopied(true))\n .catch(e => log.error('Unable to column name', e));\n }}\n tooltip={copied ? 'Copied text' : 'Copy name'}\n />\n </div>\n {widgetName !== panelTitle && (\n <div className=\"row\">\n <span className=\"tab-tooltip-title\">\n <b>Display Name</b>\n </span>\n <span className=\"tab-tooltip-name\">{panelTitle}</span>\n </div>\n )}\n {description && (\n <div className=\"row\">\n <span className=\"tab-tooltip-description\">{description}</span>\n </div>\n )}\n {children}\n </div>\n );\n};\n\nWidgetPanelTooltip.propTypes = {\n glContainer: GLPropTypes.Container.isRequired,\n widgetType: PropTypes.string,\n widgetName: PropTypes.string,\n description: PropTypes.string,\n children: PropTypes.node,\n};\n\nWidgetPanelTooltip.defaultProps = {\n widgetType: '',\n widgetName: '',\n description: null,\n children: null,\n};\n\nexport default WidgetPanelTooltip;\n"],"file":"WidgetPanelTooltip.js"}
|
package/dist/panels/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/panels/index.ts"],"names":["default","ChartPanel","CommandHistoryPanel","ConsolePanel","DropdownFilterPanel","FileExplorerPanel","FilterSetManager","FilterSetManagerPanel","InputFilterPanel","IrisGridPanel","LogPanel","MarkdownPanel","NotebookPanel","PandasPanel","Panel","WidgetPanel","WidgetPanelTooltip"],"mappings":"SAASA,OAAO,IAAIC,U;SACXD,OAAO,IAAIE,mB;SACXF,OAAO,IAAIG,Y;SACXH,OAAO,IAAII,mB;SACXJ,OAAO,IAAIK,iB;SACXL,OAAO,IAAIM,gB;SAEXN,OAAO,IAAIO,qB;SACXP,OAAO,IAAIQ,gB;SACXR,OAAO,IAAIS,a;SACXT,OAAO,IAAIU,Q;SACXV,OAAO,IAAIW,a;SACXX,OAAO,IAAIY,a;SACXZ,OAAO,IAAIa,W;SACXb,OAAO,IAAIc,K;SACXd,OAAO,IAAIe,W;SACXf,OAAO,IAAIgB,kB","sourcesContent":["export { default as ChartPanel } from './ChartPanel';\nexport { default as CommandHistoryPanel } from './CommandHistoryPanel';\nexport { default as ConsolePanel } from './ConsolePanel';\nexport { default as DropdownFilterPanel } from './DropdownFilterPanel';\nexport { default as FileExplorerPanel } from './FileExplorerPanel';\nexport { default as FilterSetManager } from './FilterSetManager';\nexport type { FilterSet } from './FilterSetManager';\nexport { default as FilterSetManagerPanel } from './FilterSetManagerPanel';\nexport { default as InputFilterPanel } from './InputFilterPanel';\nexport { default as IrisGridPanel } from './IrisGridPanel';\nexport { default as LogPanel } from './LogPanel';\nexport { default as MarkdownPanel } from './MarkdownPanel';\nexport { default as NotebookPanel } from './NotebookPanel';\nexport { default as PandasPanel } from './PandasPanel';\nexport { default as Panel } from './Panel';\nexport { default as WidgetPanel } from './WidgetPanel';\nexport { default as WidgetPanelTooltip } from './WidgetPanelTooltip';\n"],"file":"index.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
2
|
declare const CommonPropTypes: Readonly<{
|
|
3
|
-
nullableBoolean: (props:
|
|
4
|
-
nullableString: (props:
|
|
3
|
+
nullableBoolean: (props: Record<string, unknown>, propName: string) => PropTypes.Requireable<boolean> | null;
|
|
4
|
+
nullableString: (props: Record<string, unknown>, propName: string) => PropTypes.Requireable<string> | null;
|
|
5
5
|
}>;
|
|
6
|
-
|
|
6
|
+
export default CommonPropTypes;
|
|
7
7
|
//# sourceMappingURL=CommonPropTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonPropTypes.d.ts","sourceRoot":"","sources":["../../src/prop-types/CommonPropTypes.
|
|
1
|
+
{"version":3,"file":"CommonPropTypes.d.ts","sourceRoot":"","sources":["../../src/prop-types/CommonPropTypes.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,QAAA,MAAM,eAAe;6BANW,OAAO,MAAM,EAAE,OAAO,CAAC,YAAY,MAAM;4BAG1C,OAAO,MAAM,EAAE,OAAO,CAAC,YAAY,MAAM;EAGE,CAAC;AAE3E,eAAe,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
|
|
3
|
-
var nullableBoolean = (props, propName) => props[propName] === null ? null : PropTypes.
|
|
3
|
+
var nullableBoolean = (props, propName) => props[propName] === null ? null : PropTypes.bool;
|
|
4
4
|
|
|
5
5
|
var nullableString = (props, propName) => props[propName] === null ? null : PropTypes.string;
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/prop-types/CommonPropTypes.ts"],"names":["PropTypes","nullableBoolean","props","propName","bool","nullableString","string","CommonPropTypes","Object","freeze"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;;AAEA,IAAMC,eAAe,GAAG,CAACC,KAAD,EAAiCC,QAAjC,KACtBD,KAAK,CAACC,QAAD,CAAL,KAAoB,IAApB,GAA2B,IAA3B,GAAkCH,SAAS,CAACI,IAD9C;;AAGA,IAAMC,cAAc,GAAG,CAACH,KAAD,EAAiCC,QAAjC,KACrBD,KAAK,CAACC,QAAD,CAAL,KAAoB,IAApB,GAA2B,IAA3B,GAAkCH,SAAS,CAACM,MAD9C;;AAGA,IAAMC,eAAe,GAAGC,MAAM,CAACC,MAAP,CAAc;AAAER,EAAAA,eAAF;AAAmBI,EAAAA;AAAnB,CAAd,CAAxB;AAEA,eAAeE,eAAf","sourcesContent":["import PropTypes from 'prop-types';\n\nconst nullableBoolean = (props: Record<string, unknown>, propName: string) =>\n props[propName] === null ? null : PropTypes.bool;\n\nconst nullableString = (props: Record<string, unknown>, propName: string) =>\n props[propName] === null ? null : PropTypes.string;\n\nconst CommonPropTypes = Object.freeze({ nullableBoolean, nullableString });\n\nexport default CommonPropTypes;\n"],"file":"CommonPropTypes.js"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
2
|
declare const UIPropTypes: Readonly<{
|
|
3
|
-
InputFilter: PropTypes.Requireable<PropTypes.InferProps<{
|
|
4
|
-
name: PropTypes.Validator<string>;
|
|
5
|
-
type: PropTypes.Validator<string>;
|
|
6
|
-
value: any;
|
|
7
|
-
}>>;
|
|
8
3
|
LinkPoint: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
4
|
panelId: PropTypes.Validator<string>;
|
|
10
5
|
columnName: PropTypes.Validator<string>;
|
|
@@ -56,5 +51,5 @@ declare const UIPropTypes: Readonly<{
|
|
|
56
51
|
}>>;
|
|
57
52
|
}>>;
|
|
58
53
|
}>;
|
|
59
|
-
|
|
54
|
+
export default UIPropTypes;
|
|
60
55
|
//# sourceMappingURL=UIPropTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIPropTypes.d.ts","sourceRoot":"","sources":["../../src/prop-types/UIPropTypes.
|
|
1
|
+
{"version":3,"file":"UIPropTypes.d.ts","sourceRoot":"","sources":["../../src/prop-types/UIPropTypes.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AA6CnC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMf,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import CommonPropTypes from "./CommonPropTypes.js";
|
|
3
|
-
var InputFilter = PropTypes.shape({
|
|
4
|
-
name: PropTypes.string.isRequired,
|
|
5
|
-
type: PropTypes.string.isRequired,
|
|
6
|
-
value: CommonPropTypes.nullableString.isRequired
|
|
7
|
-
});
|
|
8
2
|
var Panel = PropTypes.shape({
|
|
9
3
|
state: PropTypes.shape({
|
|
10
4
|
panelState: PropTypes.shape({})
|
|
@@ -43,7 +37,6 @@ var User = PropTypes.shape({
|
|
|
43
37
|
}).isRequired
|
|
44
38
|
});
|
|
45
39
|
var UIPropTypes = Object.freeze({
|
|
46
|
-
InputFilter,
|
|
47
40
|
LinkPoint,
|
|
48
41
|
Link,
|
|
49
42
|
Links,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/prop-types/UIPropTypes.ts"],"names":["PropTypes","Panel","shape","state","panelState","LinkPoint","panelId","string","isRequired","columnName","columnType","LinkPointUntyped","Link","start","end","id","isReversed","bool","Links","arrayOf","User","name","operateAs","groups","permissions","isSuperUser","isQueryViewOnly","isNonInteractive","canUsePanels","canCreateDashboard","canCreateCodeStudio","canCreateQueryMonitor","canCopy","canDownloadCsv","UIPropTypes","Object","freeze"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,IAAMC,KAAK,GAAGD,SAAS,CAACE,KAAV,CAAgB;AAC5BC,EAAAA,KAAK,EAAEH,SAAS,CAACE,KAAV,CAAgB;AACrBE,IAAAA,UAAU,EAAEJ,SAAS,CAACE,KAAV,CAAgB,EAAhB;AADS,GAAhB;AADqB,CAAhB,CAAd;AAMA,IAAMG,SAAS,GAAGL,SAAS,CAACE,KAAV,CAAgB;AAChCI,EAAAA,OAAO,EAAEN,SAAS,CAACO,MAAV,CAAiBC,UADM;AAEhCC,EAAAA,UAAU,EAAET,SAAS,CAACO,MAAV,CAAiBC,UAFG;AAGhCE,EAAAA,UAAU,EAAEV,SAAS,CAACO,MAAV,CAAiBC;AAHG,CAAhB,CAAlB;AAMA,IAAMG,gBAAgB,GAAGX,SAAS,CAACE,KAAV,CAAgB;AACvCI,EAAAA,OAAO,EAAEN,SAAS,CAACO,MAAV,CAAiBC,UADa;AAEvCC,EAAAA,UAAU,EAAET,SAAS,CAACO,MAAV,CAAiBC;AAFU,CAAhB,CAAzB;AAKA,IAAMI,IAAI,GAAGZ,SAAS,CAACE,KAAV,CAAgB;AAC3BW,EAAAA,KAAK,EAAEF,gBADoB;AAE3BG,EAAAA,GAAG,EAAEH,gBAFsB;AAG3BI,EAAAA,EAAE,EAAEf,SAAS,CAACO,MAHa;AAI3BS,EAAAA,UAAU,EAAEhB,SAAS,CAACiB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cesContent":["import PropTypes from 'prop-types';\n\nconst Panel = PropTypes.shape({\n state: PropTypes.shape({\n panelState: PropTypes.shape({}),\n }),\n});\n\nconst LinkPoint = PropTypes.shape({\n panelId: PropTypes.string.isRequired,\n columnName: PropTypes.string.isRequired,\n columnType: PropTypes.string.isRequired,\n});\n\nconst LinkPointUntyped = PropTypes.shape({\n panelId: PropTypes.string.isRequired,\n columnName: PropTypes.string.isRequired,\n});\n\nconst Link = PropTypes.shape({\n start: LinkPointUntyped,\n end: LinkPointUntyped,\n id: PropTypes.string,\n isReversed: PropTypes.bool,\n});\n\nconst Links = PropTypes.arrayOf(Link);\n\nconst User = PropTypes.shape({\n name: PropTypes.string.isRequired,\n operateAs: PropTypes.string.isRequired,\n groups: PropTypes.arrayOf(PropTypes.string).isRequired,\n permissions: PropTypes.shape({\n isSuperUser: PropTypes.bool.isRequired,\n isQueryViewOnly: PropTypes.bool.isRequired,\n isNonInteractive: PropTypes.bool.isRequired,\n canUsePanels: PropTypes.bool.isRequired,\n canCreateDashboard: PropTypes.bool.isRequired,\n canCreateCodeStudio: PropTypes.bool.isRequired,\n canCreateQueryMonitor: PropTypes.bool.isRequired,\n canCopy: PropTypes.bool.isRequired,\n canDownloadCsv: PropTypes.bool.isRequired,\n }).isRequired,\n});\n\nconst UIPropTypes = Object.freeze({\n LinkPoint,\n Link,\n Links,\n Panel,\n User,\n});\n\nexport default UIPropTypes;\n"],"file":"UIPropTypes.js"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as UIPropTypes } from
|
|
2
|
-
export { default as CommonPropTypes } from
|
|
1
|
+
export { default as UIPropTypes } from './UIPropTypes';
|
|
2
|
+
export { default as CommonPropTypes } from './CommonPropTypes';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prop-types/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prop-types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/prop-types/index.ts"],"names":["default","UIPropTypes","CommonPropTypes"],"mappings":"SAASA,OAAO,IAAIC,W;SACXD,OAAO,IAAIE,e","sourcesContent":["export { default as UIPropTypes } from './UIPropTypes';\nexport { default as CommonPropTypes } from './CommonPropTypes';\n"],"file":"index.js"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SET_SESSION_WRAPPER
|
|
1
|
+
export declare const SET_SESSION_WRAPPER = "SET_SESSION_WRAPPER";
|
|
2
2
|
//# sourceMappingURL=actionTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionTypes.d.ts","sourceRoot":"","sources":["../../src/redux/actionTypes.
|
|
1
|
+
{"version":3,"file":"actionTypes.d.ts","sourceRoot":"","sources":["../../src/redux/actionTypes.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/redux/actionTypes.ts"],"names":["SET_SESSION_WRAPPER"],"mappings":"AAAA;AACA,OAAO,IAAMA,mBAAmB,GAAG,qBAA5B","sourcesContent":["// eslint-disable-next-line import/prefer-default-export\nexport const SET_SESSION_WRAPPER = 'SET_SESSION_WRAPPER';\n"],"file":"actionTypes.js"}
|
package/dist/redux/actions.d.ts
CHANGED
|
@@ -1,9 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
1
|
+
import { ThunkAction } from 'redux-thunk';
|
|
2
|
+
import { RootState } from '@deephaven/redux';
|
|
3
|
+
import { Action } from 'redux';
|
|
4
|
+
import { IdeConnection, IdeSession } from '@deephaven/jsapi-shim';
|
|
5
|
+
import { FilterSet } from '../panels';
|
|
6
|
+
import { Link } from '../linker/LinkerUtils';
|
|
7
|
+
import { ColumnSelectionValidator } from '../linker/ColumnSelectionValidator';
|
|
8
|
+
export interface SessionWrapper {
|
|
9
|
+
session: IdeSession;
|
|
10
|
+
connection: IdeConnection;
|
|
11
|
+
config: {
|
|
12
|
+
type: string;
|
|
13
|
+
id: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Set the session wrapper for the dashboard specified
|
|
18
|
+
* @param id The ID of the dashboard to set the session for
|
|
19
|
+
* @param sessionWrapper The session wrapper object to set for the dashboard
|
|
20
|
+
*/
|
|
21
|
+
export declare const setDashboardSessionWrapper: (id: string, sessionWrapper: SessionWrapper) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
22
|
+
/**
|
|
23
|
+
* Set the links for a given dashboard
|
|
24
|
+
* @param id The ID of the dashboard to set the links for
|
|
25
|
+
* @param links The links to set
|
|
26
|
+
*/
|
|
27
|
+
export declare const setDashboardLinks: (id: string, links: Link[]) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
28
|
+
/**
|
|
29
|
+
* Add links to the existing links in a dashboard. Filters out any duplicate links.
|
|
30
|
+
* @param id The ID of the dashboard to add links to
|
|
31
|
+
* @param newLinks The new links to add
|
|
32
|
+
*/
|
|
33
|
+
export declare const addDashboardLinks: (id: string, newLinks: Link[]) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete links from a dashboard
|
|
36
|
+
* @param id The ID of the dashboard to delete links from
|
|
37
|
+
* @param linkIds The link IDs to delete
|
|
38
|
+
*/
|
|
39
|
+
export declare const deleteDashboardLinks: (id: string, linkIds: string[]) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
40
|
+
/**
|
|
41
|
+
* Set the isolated linker panel ID for a dashboard
|
|
42
|
+
* @param id The ID of the dashboard to set the isolated linker panel ID in
|
|
43
|
+
* @param isolatedLinkerPanelId The isolated panel ID, or undefined to unset
|
|
44
|
+
*/
|
|
45
|
+
export declare const setDashboardIsolatedLinkerPanelId: (id: string, isolatedLinkerPanelId: string | string[] | undefined) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
46
|
+
/**
|
|
47
|
+
* Set the column selection validator for a dashboard
|
|
48
|
+
* @param id The ID of the dashboard to set the column selection validator on
|
|
49
|
+
* @param columnSelectionValidator The column selection validator to set
|
|
50
|
+
*/
|
|
51
|
+
export declare const setDashboardColumnSelectionValidator: (id: string, columnSelectionValidator: ColumnSelectionValidator | undefined) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
52
|
+
/**
|
|
53
|
+
* Set the console settings for a dashboard
|
|
54
|
+
* @param id The ID of the dashboard to set the console settings on
|
|
55
|
+
* @param consoleSettings The console settings to set for the dashboard
|
|
56
|
+
*/
|
|
57
|
+
export declare const setDashboardConsoleSettings: (id: string, consoleSettings: Record<string, unknown>) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
58
|
+
/**
|
|
59
|
+
* Set the filter sets for a specific dashboard
|
|
60
|
+
* @param id The ID of the dashboard to set the filter sets for
|
|
61
|
+
* @param filterSets The filter sets to set
|
|
62
|
+
*/
|
|
63
|
+
export declare const setDashboardFilterSets: (id: string, filterSets: FilterSet[]) => ThunkAction<unknown, RootState, undefined, Action<unknown>>;
|
|
9
64
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/redux/actions.
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/redux/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAA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EAAE,OAAO,OAAO,CAAC,CACC,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,OAC3C,MAAM,4BACgB,wBAAwB,GAAG,SAAS,KAC7D,YAAY,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,OAAO,CAAC,CACI,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,OAClC,MAAM,mBACO,OAAO,MAAM,EAAE,OAAO,CAAC,KACvC,YAAY,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,OAAO,CAAC,CACL,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,OAC7B,MAAM,cACE,SAAS,EAAE,KACtB,YAAY,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,OAAO,CAAC,CACV,CAAC"}
|
package/dist/redux/actions.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import deepEqual from 'deep-equal';
|
|
2
2
|
import { updateDashboardData } from '@deephaven/dashboard';
|
|
3
3
|
import { getLinksForDashboard } from "./selectors.js";
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* Set the session wrapper for the dashboard specified
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
7
|
+
* @param id The ID of the dashboard to set the session for
|
|
8
|
+
* @param sessionWrapper The session wrapper object to set for the dashboard
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
10
|
export var setDashboardSessionWrapper = (id, sessionWrapper) => dispatch => dispatch(updateDashboardData(id, {
|
|
11
11
|
sessionWrapper
|
|
12
12
|
}));
|
|
13
13
|
/**
|
|
14
14
|
* Set the links for a given dashboard
|
|
15
|
-
* @param
|
|
16
|
-
* @param
|
|
15
|
+
* @param id The ID of the dashboard to set the links for
|
|
16
|
+
* @param links The links to set
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
export var setDashboardLinks = (id, links) => dispatch => dispatch(updateDashboardData(id, {
|
|
@@ -21,8 +21,8 @@ export var setDashboardLinks = (id, links) => dispatch => dispatch(updateDashboa
|
|
|
21
21
|
}));
|
|
22
22
|
/**
|
|
23
23
|
* Add links to the existing links in a dashboard. Filters out any duplicate links.
|
|
24
|
-
* @param
|
|
25
|
-
* @param
|
|
24
|
+
* @param id The ID of the dashboard to add links to
|
|
25
|
+
* @param newLinks The new links to add
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
export var addDashboardLinks = (id, newLinks) => (dispatch, getState) => {
|
|
@@ -32,8 +32,8 @@ export var addDashboardLinks = (id, newLinks) => (dispatch, getState) => {
|
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Delete links from a dashboard
|
|
35
|
-
* @param
|
|
36
|
-
* @param
|
|
35
|
+
* @param id The ID of the dashboard to delete links from
|
|
36
|
+
* @param linkIds The link IDs to delete
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
39
|
export var deleteDashboardLinks = (id, linkIds) => (dispatch, getState) => {
|
|
@@ -43,8 +43,8 @@ export var deleteDashboardLinks = (id, linkIds) => (dispatch, getState) => {
|
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Set the isolated linker panel ID for a dashboard
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
46
|
+
* @param id The ID of the dashboard to set the isolated linker panel ID in
|
|
47
|
+
* @param isolatedLinkerPanelId The isolated panel ID, or undefined to unset
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
export var setDashboardIsolatedLinkerPanelId = (id, isolatedLinkerPanelId) => dispatch => dispatch(updateDashboardData(id, {
|
|
@@ -52,8 +52,8 @@ export var setDashboardIsolatedLinkerPanelId = (id, isolatedLinkerPanelId) => di
|
|
|
52
52
|
}));
|
|
53
53
|
/**
|
|
54
54
|
* Set the column selection validator for a dashboard
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
55
|
+
* @param id The ID of the dashboard to set the column selection validator on
|
|
56
|
+
* @param columnSelectionValidator The column selection validator to set
|
|
57
57
|
*/
|
|
58
58
|
|
|
59
59
|
export var setDashboardColumnSelectionValidator = (id, columnSelectionValidator) => dispatch => dispatch(updateDashboardData(id, {
|
|
@@ -61,8 +61,8 @@ export var setDashboardColumnSelectionValidator = (id, columnSelectionValidator)
|
|
|
61
61
|
}));
|
|
62
62
|
/**
|
|
63
63
|
* Set the console settings for a dashboard
|
|
64
|
-
* @param
|
|
65
|
-
* @param
|
|
64
|
+
* @param id The ID of the dashboard to set the console settings on
|
|
65
|
+
* @param consoleSettings The console settings to set for the dashboard
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
68
|
export var setDashboardConsoleSettings = (id, consoleSettings) => dispatch => dispatch(updateDashboardData(id, {
|
|
@@ -70,8 +70,8 @@ export var setDashboardConsoleSettings = (id, consoleSettings) => dispatch => di
|
|
|
70
70
|
}));
|
|
71
71
|
/**
|
|
72
72
|
* Set the filter sets for a specific dashboard
|
|
73
|
-
* @param
|
|
74
|
-
* @param
|
|
73
|
+
* @param id The ID of the dashboard to set the filter sets for
|
|
74
|
+
* @param filterSets The filter sets to set
|
|
75
75
|
*/
|
|
76
76
|
|
|
77
77
|
export var setDashboardFilterSets = (id, filterSets) => dispatch => dispatch(updateDashboardData(id, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/redux/actions.ts"],"names":["deepEqual","updateDashboardData","getLinksForDashboard","setDashboardSessionWrapper","id","sessionWrapper","dispatch","setDashboardLinks","links","addDashboardLinks","newLinks","getState","filtered","filter","newLink","findIndex","link","start","end","concat","deleteDashboardLinks","linkIds","includes","setDashboardIsolatedLinkerPanelId","isolatedLinkerPanelId","setDashboardColumnSelectionValidator","columnSelectionValidator","setDashboardConsoleSettings","consoleSettings","setDashboardFilterSets","filterSets"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAASC,mBAAT,QAAoC,sBAApC;SAKSC,oB;;AAaT;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,0BAA0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AAtB,CAAjB;AACA,SAAOE,QAAQ,CAACC,iBAAiB,CAACH,EAAD,EAAKM,QAAL,CAAlB,CAAf;AACD,CAVM;AAYP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMa,iCAAiC,GAAG,CAC/CnB,EAD+C,EAE/CoB,qBAF+C,KAGiBlB,QAAQ,IACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEoB,EAAAA;AAAF,CAAL,CAApB,CAJH;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,oCAAoC,GAAG,CAClDrB,EADkD,EAElDsB,wBAFkD,KAGcpB,QAAQ,IACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEsB,EAAAA;AAAF,CAAL,CAApB,CAJH;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,2BAA2B,GAAG,CACzCvB,EADyC,EAEzCwB,eAFyC,KAGuBtB,QAAQ,IACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAEwB,EAAAA;AAAF,CAAL,CAApB,CAJH;AAMP;AACA;AACA;AACA;AACA;;AACA,OAAO,IAAMC,sBAAsB,GAAG,CACpCzB,EADoC,EAEpC0B,UAFoC,KAG4BxB,QAAQ,IACxEA,QAAQ,CAACL,mBAAmB,CAACG,EAAD,EAAK;AAAE0B,EAAAA;AAAF,CAAL,CAApB,CAJH","sourcesContent":["import deepEqual from 'deep-equal';\nimport { updateDashboardData } from '@deephaven/dashboard';\nimport { ThunkAction } from 'redux-thunk';\nimport { RootState } from '@deephaven/redux';\nimport { Action } from 'redux';\nimport { IdeConnection, IdeSession } from '@deephaven/jsapi-shim';\nimport { getLinksForDashboard } from './selectors';\nimport { FilterSet } from '../panels';\nimport { Link } from '../linker/LinkerUtils';\nimport { ColumnSelectionValidator } from '../linker/ColumnSelectionValidator';\n\nexport interface SessionWrapper {\n session: IdeSession;\n connection: IdeConnection;\n config: {\n type: string;\n id: string;\n };\n}\n/**\n * Set the session wrapper for the dashboard specified\n * @param id The ID of the dashboard to set the session for\n * @param sessionWrapper The session wrapper object to set for the dashboard\n */\nexport const setDashboardSessionWrapper = (\n id: string,\n sessionWrapper: SessionWrapper\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { sessionWrapper }));\n\n/**\n * Set the links for a given dashboard\n * @param id The ID of the dashboard to set the links for\n * @param links The links to set\n */\nexport const setDashboardLinks = (\n id: string,\n links: Link[]\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { links }));\n\n/**\n * Add links to the existing links in a dashboard. Filters out any duplicate links.\n * @param id The ID of the dashboard to add links to\n * @param newLinks The new links to add\n */\nexport const addDashboardLinks = (\n id: string,\n newLinks: Link[]\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => (\n dispatch,\n getState\n) => {\n const links = getLinksForDashboard(getState(), id);\n const filtered = newLinks.filter(\n newLink =>\n links.findIndex(\n link =>\n deepEqual(link.start, newLink.start) &&\n deepEqual(link.end, newLink.end)\n ) < 0\n );\n return dispatch(setDashboardLinks(id, links.concat(filtered)));\n};\n\n/**\n * Delete links from a dashboard\n * @param id The ID of the dashboard to delete links from\n * @param linkIds The link IDs to delete\n */\nexport const deleteDashboardLinks = (\n id: string,\n linkIds: string[]\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => (\n dispatch,\n getState\n) => {\n const links = getLinksForDashboard(getState(), id);\n const newLinks = links.filter(link => !linkIds.includes(link.id));\n return dispatch(setDashboardLinks(id, newLinks));\n};\n\n/**\n * Set the isolated linker panel ID for a dashboard\n * @param id The ID of the dashboard to set the isolated linker panel ID in\n * @param isolatedLinkerPanelId The isolated panel ID, or undefined to unset\n */\nexport const setDashboardIsolatedLinkerPanelId = (\n id: string,\n isolatedLinkerPanelId: string | string[] | undefined\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { isolatedLinkerPanelId }));\n\n/**\n * Set the column selection validator for a dashboard\n * @param id The ID of the dashboard to set the column selection validator on\n * @param columnSelectionValidator The column selection validator to set\n */\nexport const setDashboardColumnSelectionValidator = (\n id: string,\n columnSelectionValidator: ColumnSelectionValidator | undefined\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { columnSelectionValidator }));\n\n/**\n * Set the console settings for a dashboard\n * @param id The ID of the dashboard to set the console settings on\n * @param consoleSettings The console settings to set for the dashboard\n */\nexport const setDashboardConsoleSettings = (\n id: string,\n consoleSettings: Record<string, unknown>\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { consoleSettings }));\n\n/**\n * Set the filter sets for a specific dashboard\n * @param id The ID of the dashboard to set the filter sets for\n * @param filterSets The filter sets to set\n */\nexport const setDashboardFilterSets = (\n id: string,\n filterSets: FilterSet[]\n): ThunkAction<unknown, RootState, undefined, Action<unknown>> => dispatch =>\n dispatch(updateDashboardData(id, { filterSets }));\n"],"file":"actions.js"}
|
package/dist/redux/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/redux/index.ts"],"names":["reducerRegistry","reducers","Object","entries","map","name","reducer","register"],"mappings":"AAAA,SAASA,eAAT,QAAgC,kBAAhC;OACOC,Q;AAEPC,MAAM,CAACC,OAAP,CAAeF,QAAf,EAAyBG,GAAzB,CAA6B;AAAA,MAAC,CAACC,IAAD,EAAOC,OAAP,CAAD;AAAA,SAC3BN,eAAe,CAACO,QAAhB,CAAyBF,IAAzB,EAA+BC,OAA/B,CAD2B;AAAA,CAA7B","sourcesContent":["import { reducerRegistry } from '@deephaven/redux';\nimport reducers from './reducers';\n\nObject.entries(reducers).map(([name, reducer]) =>\n reducerRegistry.register(name, reducer)\n);\n\nexport * from './actions';\nexport * from './actionTypes';\nexport * from './selectors';\n"],"file":"index.js"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
sessionWrapper: import("redux").Reducer<null, import("redux").AnyAction>;
|
|
3
|
+
};
|
|
4
4
|
export default _default;
|
|
5
|
-
import sessionWrapper from "./sessionWrapper";
|
|
6
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/index.ts"],"names":[],"mappings":";;;AAEA,wBAAkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/redux/reducers/index.ts"],"names":["sessionWrapper"],"mappings":"OAAOA,c;AAEP,eAAe;AAAEA,EAAAA;AAAF,CAAf","sourcesContent":["import sessionWrapper from './sessionWrapper';\n\nexport default { sessionWrapper };\n"],"file":"index.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionWrapper.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/sessionWrapper.
|
|
1
|
+
{"version":3,"file":"sessionWrapper.d.ts","sourceRoot":"","sources":["../../../src/redux/reducers/sessionWrapper.ts"],"names":[],"mappings":";AAMA,wBAAyD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/redux/reducers/sessionWrapper.ts"],"names":["replaceReducer","SET_SESSION_WRAPPER"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,cAAT,QAA+B,kBAA/B;SACSC,mB;AAET,eAAeD,cAAc,CAACC,mBAAD,EAAsB,IAAtB,CAA7B","sourcesContent":["/**\n * Set the active session being used to communicate with the server.\n */\nimport { replaceReducer } from '@deephaven/redux';\nimport { SET_SESSION_WRAPPER } from '../actionTypes';\n\nexport default replaceReducer(SET_SESSION_WRAPPER, null);\n"],"file":"sessionWrapper.js"}
|
|
@@ -1,10 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { Column, Table } from '@deephaven/jsapi-shim';
|
|
2
|
+
import { RootState } from '@deephaven/redux';
|
|
3
|
+
import { FilterChangeEvent } from '../FilterPlugin';
|
|
4
|
+
import { Link } from '../linker/LinkerUtils';
|
|
5
|
+
import { FilterSet } from '../panels';
|
|
6
|
+
import { ColumnSelectionValidator } from '../linker/ColumnSelectionValidator';
|
|
7
|
+
import { SessionWrapper } from './actions';
|
|
8
|
+
/**
|
|
9
|
+
* @param store The redux store
|
|
10
|
+
* @param dashboardId The dashboard ID to get data for
|
|
11
|
+
* @returns All column objects found in all panels in this dashboard
|
|
12
|
+
*/
|
|
13
|
+
export declare const getColumnsForDashboard: (store: RootState, dashboardId: string) => Column[];
|
|
14
|
+
/**
|
|
15
|
+
* Get the known filter sets for the dashboard.
|
|
16
|
+
* @param store The redux store
|
|
17
|
+
* @param dashboardId The dashboard ID to get data for
|
|
18
|
+
* @returns The filter sets set on this dashboard
|
|
19
|
+
*/
|
|
20
|
+
export declare const getFilterSetsForDashboard: (store: RootState, dashboardId: string) => FilterSet[];
|
|
21
|
+
/**
|
|
22
|
+
* @param store The redux store
|
|
23
|
+
* @param dashboardId The dashboard ID to get data for
|
|
24
|
+
* @returns The filters set on this dashboard
|
|
25
|
+
*/
|
|
26
|
+
export declare const getInputFiltersForDashboard: (store: RootState, dashboardId: string) => FilterChangeEvent[];
|
|
27
|
+
/**
|
|
28
|
+
* @param store The redux store
|
|
29
|
+
* @param dashboardId The dashboard ID to get data for
|
|
30
|
+
* @returns Map from panel ID to the table used in that panel
|
|
31
|
+
*/
|
|
32
|
+
export declare const getTableMapForDashboard: (store: RootState, dashboardId: string) => Map<string, Table>;
|
|
33
|
+
/**
|
|
34
|
+
* @param store The redux store
|
|
35
|
+
* @param dashboardId The dashboard ID to get the data for
|
|
36
|
+
* @return The panel ID that is isolated, undefined if none is isolated
|
|
37
|
+
*/
|
|
38
|
+
export declare const getIsolatedLinkerPanelIdForDashboard: (store: RootState, dashboardId: string) => string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @param store The redux store
|
|
41
|
+
* @param dashboardId The dashboard ID to get the data from
|
|
42
|
+
* @returns The links for the dashboard
|
|
43
|
+
*/
|
|
44
|
+
export declare const getLinksForDashboard: (store: RootState, dashboardId: string) => Link[];
|
|
45
|
+
/**
|
|
46
|
+
* @param store The redux store
|
|
47
|
+
* @param dashboardId The dashboard ID to get the column selection validators for
|
|
48
|
+
* @returns Column selection validator active on a dashboard
|
|
49
|
+
*/
|
|
50
|
+
export declare const getColumnSelectionValidatorForDashboard: (store: RootState, dashboardId: string) => ColumnSelectionValidator | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @param {Store} store The redux store
|
|
53
|
+
* @param {string} dashboardId The dashboard ID to get the console settings for
|
|
54
|
+
* @returns {ConsoleSettings|undefined} Console settings for this dashboard
|
|
55
|
+
*/
|
|
56
|
+
export declare const getDashboardConsoleSettings: (store: RootState, dashboardId: string) => Record<string, unknown>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @param store The redux store
|
|
60
|
+
* @param dashboardId The dashboard ID to get the SessionWrapper for
|
|
61
|
+
* @returns The session wrapper for the dashboard
|
|
62
|
+
*/
|
|
63
|
+
export declare const getDashboardSessionWrapper: (store: RootState, dashboardId: string) => SessionWrapper;
|
|
10
64
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/redux/selectors.
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/redux/selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,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