@deephaven/dashboard 1.22.1 → 1.22.2-alpha-pivot-builder.0730ba6.0

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.
Files changed (39) hide show
  1. package/dist/BasePanel.js +48 -75
  2. package/dist/BasePanel.js.map +1 -1
  3. package/dist/Dashboard.js +32 -16
  4. package/dist/Dashboard.js.map +1 -1
  5. package/dist/DashboardEvents.js +10 -10
  6. package/dist/DashboardEvents.js.map +1 -1
  7. package/dist/DashboardLayout.js +42 -25
  8. package/dist/DashboardLayout.js.map +1 -1
  9. package/dist/DashboardPanelWrapper.js +19 -14
  10. package/dist/DashboardPanelWrapper.js.map +1 -1
  11. package/dist/DashboardUtils.js +6 -13
  12. package/dist/DashboardUtils.js.map +1 -1
  13. package/dist/LazyDashboard.js +13 -6
  14. package/dist/LazyDashboard.js.map +1 -1
  15. package/dist/NavigationEvent.js +20 -20
  16. package/dist/NavigationEvent.js.map +1 -1
  17. package/dist/PanelContextMenu.js +13 -24
  18. package/dist/PanelContextMenu.js.map +1 -1
  19. package/dist/PanelErrorBoundary.js +5 -10
  20. package/dist/PanelErrorBoundary.js.map +1 -1
  21. package/dist/PanelEvent.js +10 -11
  22. package/dist/PanelEvent.js.map +1 -1
  23. package/dist/PanelManager.js +10 -28
  24. package/dist/PanelManager.js.map +1 -1
  25. package/dist/PersistentStateContext.js +22 -19
  26. package/dist/PersistentStateContext.js.map +1 -1
  27. package/dist/RenameDialog.js +17 -34
  28. package/dist/RenameDialog.js.map +1 -1
  29. package/dist/layout/LayoutUtils.js +28 -37
  30. package/dist/layout/LayoutUtils.js.map +1 -1
  31. package/dist/layout/useDashboardPanel.js +16 -25
  32. package/dist/layout/useDashboardPanel.js.map +1 -1
  33. package/dist/redux/index.js +9 -1
  34. package/dist/redux/index.js.map +1 -1
  35. package/dist/useFiber.js +10 -4
  36. package/dist/useFiber.js.map +1 -1
  37. package/dist/usePersistentState.js +25 -16
  38. package/dist/usePersistentState.js.map +1 -1
  39. package/package.json +10 -10
@@ -1,3 +1,9 @@
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
1
7
  import { useContext, useDebugValue, useEffect, useMemo, useState } from 'react';
2
8
  import { nanoid } from 'nanoid';
3
9
  import { PersistentStateContext } from "./PersistentStateContext.js";
@@ -60,22 +66,25 @@ export function usePersistentState(initialState, config) {
60
66
  var panelId = useDhId();
61
67
  var hookId = useMemo(() => nanoid(), []);
62
68
  var context = useContext(PersistentStateContext);
63
- var {
64
- type,
65
- version,
66
- migrations = [],
67
- deleteOnUnmount = true
68
- } = config;
69
- var [state, setState] = useState(() => {
70
- var persistedData = panelId != null ? context === null || context === void 0 ? void 0 : context.getState(panelId, type) : undefined;
71
- if (persistedData == null) {
72
- return typeof initialState === 'function' ? initialState() : initialState;
73
- }
74
- if (persistedData.version !== version) {
75
- return migrateState(persistedData.state, persistedData.version, version, migrations, type);
76
- }
77
- return persistedData.state;
78
- });
69
+ var type = config.type,
70
+ version = config.version,
71
+ _config$migrations = config.migrations,
72
+ migrations = _config$migrations === void 0 ? [] : _config$migrations,
73
+ _config$deleteOnUnmou = config.deleteOnUnmount,
74
+ deleteOnUnmount = _config$deleteOnUnmou === void 0 ? true : _config$deleteOnUnmou;
75
+ var _useState = useState(() => {
76
+ var persistedData = panelId != null ? context === null || context === void 0 ? void 0 : context.getState(panelId, type) : undefined;
77
+ if (persistedData == null) {
78
+ return typeof initialState === 'function' ? initialState() : initialState;
79
+ }
80
+ if (persistedData.version !== version) {
81
+ return migrateState(persistedData.state, persistedData.version, version, migrations, type);
82
+ }
83
+ return persistedData.state;
84
+ }),
85
+ _useState2 = _slicedToArray(_useState, 2),
86
+ state = _useState2[0],
87
+ setState = _useState2[1];
79
88
  var stateWithConfig = useMemo(() => ({
80
89
  type,
81
90
  version,
@@ -1 +1 @@
1
- {"version":3,"file":"usePersistentState.js","names":["useContext","useDebugValue","useEffect","useMemo","useState","nanoid","PersistentStateContext","useDhId","migrateState","state","from","to","migrations","type","Error","concat","migratedState","currentVersion","possibleMigration","filter","m","length","migration","migrate","e","cause","usePersistentState","initialState","config","panelId","hookId","context","version","deleteOnUnmount","setState","persistedData","getState","undefined","stateWithConfig","addState","removeOnUnmount","removeState","deregisterHook"],"sources":["../src/usePersistentState.ts"],"sourcesContent":["import {\n useContext,\n useDebugValue,\n useEffect,\n useMemo,\n useState,\n type Dispatch,\n type SetStateAction,\n} from 'react';\nimport { nanoid } from 'nanoid';\nimport { PersistentStateContext } from './PersistentStateContext';\nimport { useDhId } from './useDhId';\n\nexport type PersistentStateMigration = {\n from: number;\n migrate: (state: unknown) => unknown;\n};\n\n/**\n * Migrates persisted state to the provided version using the provided migrations.\n *\n * @param state The current state\n * @param from The current version\n * @param to The version to migrate to\n * @param migrations The list of all migrations (may include those already applied)\n * @param type The type of the state. Used for better error messages\n * @returns The state at the new version\n * @throws Error if trying to migrate backwards or no migration exists for the to version\n */\nfunction migrateState(\n state: unknown,\n from: number,\n to: number,\n migrations: PersistentStateMigration[],\n type: string\n): unknown {\n if (from > to) {\n throw new Error(\n `Persisted state ${type} is a newer version than the current version. Persisted version: ${from}. Current version: ${to}`\n );\n }\n\n let migratedState = state;\n let currentVersion = from;\n while (currentVersion < to) {\n // eslint-disable-next-line no-loop-func\n const possibleMigration = migrations.filter(m => m.from === currentVersion);\n if (possibleMigration.length === 0) {\n throw new Error(\n `No migration found for persisted state ${type} from version ${currentVersion}`\n );\n }\n\n if (possibleMigration.length > 1) {\n throw new Error(\n `Multiple migrations found for persisted state ${type} from version ${currentVersion}`\n );\n }\n\n const migration = possibleMigration[0];\n\n try {\n migratedState = migration.migrate(migratedState);\n currentVersion += 1;\n } catch (e) {\n throw new Error(\n `Error migrating persisted state ${type} from version ${migration.from}: ${e}`,\n { cause: e }\n );\n }\n }\n return migratedState;\n}\n\n/**\n * Functions identically to useState except that a PersistentStateProvider can be used to\n * track all calls to this hook and persist the value for future page loads.\n * Primarily used in Deephaven UI so we can persist state of multiple components within a panel.\n *\n * @param initialState The initial state if there is no previously persisted state.\n * @param config.type The type of the state. This identifier is used to validate the state being rehydrated. Should be unique to your component.\n * @param config.version The version of the state. This should be an integer, and is used to determine if the state needs to be migrated. Value should be incremented when data structure changes for this type.\n * @param config.migrations An array of migrations to apply to the state if the version of the persisted state is below the current version. Each migration increments the version by 1.\n * @param config.migrations.from The starting version of the migration. The migration will increment the version by 1.\n * @param config.migrations.migrate The function to call to migrate the state.\n * @param config.deleteOnUnmount If true, the state will be deleted from the PersistentStateProvider when the component using this hook is unmounted. Defaults to true.\n * May be useful to set to false for components which are conditionally rendered within a panel like console creator settings.\n * @returns [state, setState] tuple just like useState.\n */\nexport function usePersistentState<S>(\n initialState: S | (() => S),\n config: {\n type: string;\n version: number;\n migrations?: PersistentStateMigration[];\n deleteOnUnmount?: boolean;\n }\n): [state: S, setState: Dispatch<SetStateAction<S>>] {\n const panelId = useDhId();\n const hookId = useMemo(() => nanoid(), []);\n const context = useContext(PersistentStateContext);\n const { type, version, migrations = [], deleteOnUnmount = true } = config;\n\n const [state, setState] = useState<S>(() => {\n const persistedData =\n panelId != null ? context?.getState<S>(panelId, type) : undefined;\n if (persistedData == null) {\n return typeof initialState === 'function'\n ? (initialState as () => S)()\n : initialState;\n }\n\n if (persistedData.version !== version) {\n return migrateState(\n persistedData.state,\n persistedData.version,\n version,\n migrations,\n type\n ) as S;\n }\n\n return persistedData.state;\n });\n\n const stateWithConfig = useMemo(\n () => ({\n type,\n version,\n state,\n }),\n [state, type, version]\n );\n\n useDebugValue(stateWithConfig);\n\n useEffect(\n function addState() {\n if (panelId != null) {\n context?.addState(hookId, panelId, stateWithConfig);\n }\n },\n [context, hookId, panelId, stateWithConfig]\n );\n\n useEffect(\n function removeOnUnmount() {\n return () => {\n if (deleteOnUnmount && panelId != null) {\n context?.removeState(hookId, panelId, type);\n }\n };\n },\n [context, deleteOnUnmount, hookId, panelId, type]\n );\n\n useEffect(\n () => () => {\n if (panelId != null) {\n context?.deregisterHook(hookId, panelId, type);\n }\n },\n [context, hookId, panelId, type]\n );\n\n return [state, setState];\n}\n\nexport default usePersistentState;\n"],"mappings":"AAAA,SACEA,UAAU,EACVC,aAAa,EACbC,SAAS,EACTC,OAAO,EACPC,QAAQ,QAGH,OAAO;AACd,SAASC,MAAM,QAAQ,QAAQ;AAAC,SACvBC,sBAAsB;AAAA,SACtBC,OAAO;AAOhB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,YAAYA,CACnBC,KAAc,EACdC,IAAY,EACZC,EAAU,EACVC,UAAsC,EACtCC,IAAY,EACH;EACT,IAAIH,IAAI,GA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AM,EAAED,OAAO,EAAES,eAAe,CAC5C,CAAC;EAEDpC,SAAS,CACP,SAASsC,eAAeA,CAAA,EAAG;IACzB,OAAO,MAAM;MACX,IAAIP,eAAe,IAAIJ,OAAO,IAAI,IAAI,EAAE;QACtCE,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEU,WAAW,CAACX,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAAC;MAC7C;IACF,CAAC;EACH,CAAC,EACD,CAACkB,OAAO,EAAEE,eAAe,EAAEH,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAClD,CAAC;EAEDX,SAAS,CACP,MAAM,MAAM;IACV,IAAI2B,OAAO,IAAI,IAAI,EAAE;MACnBE,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEW,cAAc,CAACZ,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAAC;IAChD;EACF,CAAC,EACD,CAACkB,OAAO,EAAED,MAAM,EAAED,OAAO,EAAEhB,IAAI,CACjC,CAAC;EAED,OAAO,CAACJ,KAAK,EAAEyB,QAAQ,CAAC;AAC1B;AAEA,eAAeR,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"usePersistentState.js","names":["useContext","useDebugValue","useEffect","useMemo","useState","nanoid","PersistentStateContext","useDhId","migrateState","state","from","to","migrations","type","Error","concat","migratedState","currentVersion","possibleMigration","filter","m","length","migration","migrate","e","cause","usePersistentState","initialState","config","panelId","hookId","context","version","_config$migrations","_config$deleteOnUnmou","deleteOnUnmount","_useState","persistedData","getState","undefined","_useState2","_slicedToArray","setState","stateWithConfig","addState","removeOnUnmount","removeState","deregisterHook"],"sources":["../src/usePersistentState.ts"],"sourcesContent":["import {\n useContext,\n useDebugValue,\n useEffect,\n useMemo,\n useState,\n type Dispatch,\n type SetStateAction,\n} from 'react';\nimport { nanoid } from 'nanoid';\nimport { PersistentStateContext } from './PersistentStateContext';\nimport { useDhId } from './useDhId';\n\nexport type PersistentStateMigration = {\n from: number;\n migrate: (state: unknown) => unknown;\n};\n\n/**\n * Migrates persisted state to the provided version using the provided migrations.\n *\n * @param state The current state\n * @param from The current version\n * @param to The version to migrate to\n * @param migrations The list of all migrations (may include those already applied)\n * @param type The type of the state. Used for better error messages\n * @returns The state at the new version\n * @throws Error if trying to migrate backwards or no migration exists for the to version\n */\nfunction migrateState(\n state: unknown,\n from: number,\n to: number,\n migrations: PersistentStateMigration[],\n type: string\n): unknown {\n if (from > to) {\n throw new Error(\n `Persisted state ${type} is a newer version than the current version. Persisted version: ${from}. Current version: ${to}`\n );\n }\n\n let migratedState = state;\n let currentVersion = from;\n while (currentVersion < to) {\n // eslint-disable-next-line no-loop-func\n const possibleMigration = migrations.filter(m => m.from === currentVersion);\n if (possibleMigration.length === 0) {\n throw new Error(\n `No migration found for persisted state ${type} from version ${currentVersion}`\n );\n }\n\n if (possibleMigration.length > 1) {\n throw new Error(\n `Multiple migrations found for persisted state ${type} from version ${currentVersion}`\n );\n }\n\n const migration = possibleMigration[0];\n\n try {\n migratedState = migration.migrate(migratedState);\n currentVersion += 1;\n } catch (e) {\n throw new Error(\n `Error migrating persisted state ${type} from version ${migration.from}: ${e}`,\n { cause: e }\n );\n }\n }\n return migratedState;\n}\n\n/**\n * Functions identically to useState except that a PersistentStateProvider can be used to\n * track all calls to this hook and persist the value for future page loads.\n * Primarily used in Deephaven UI so we can persist state of multiple components within a panel.\n *\n * @param initialState The initial state if there is no previously persisted state.\n * @param config.type The type of the state. This identifier is used to validate the state being rehydrated. Should be unique to your component.\n * @param config.version The version of the state. This should be an integer, and is used to determine if the state needs to be migrated. Value should be incremented when data structure changes for this type.\n * @param config.migrations An array of migrations to apply to the state if the version of the persisted state is below the current version. Each migration increments the version by 1.\n * @param config.migrations.from The starting version of the migration. The migration will increment the version by 1.\n * @param config.migrations.migrate The function to call to migrate the state.\n * @param config.deleteOnUnmount If true, the state will be deleted from the PersistentStateProvider when the component using this hook is unmounted. Defaults to true.\n * May be useful to set to false for components which are conditionally rendered within a panel like console creator settings.\n * @returns [state, setState] tuple just like useState.\n */\nexport function usePersistentState<S>(\n initialState: S | (() => S),\n config: {\n type: string;\n version: number;\n migrations?: PersistentStateMigration[];\n deleteOnUnmount?: boolean;\n }\n): [state: S, setState: Dispatch<SetStateAction<S>>] {\n const panelId = useDhId();\n const hookId = useMemo(() => nanoid(), []);\n const context = useContext(PersistentStateContext);\n const { type, version, migrations = [], deleteOnUnmount = true } = config;\n\n const [state, setState] = useState<S>(() => {\n const persistedData =\n panelId != null ? context?.getState<S>(panelId, type) : undefined;\n if (persistedData == null) {\n return typeof initialState === 'function'\n ? (initialState as () => S)()\n : initialState;\n }\n\n if (persistedData.version !== version) {\n return migrateState(\n persistedData.state,\n persistedData.version,\n version,\n migrations,\n type\n ) as S;\n }\n\n return persistedData.state;\n });\n\n const stateWithConfig = useMemo(\n () => ({\n type,\n version,\n state,\n }),\n [state, type, version]\n );\n\n useDebugValue(stateWithConfig);\n\n useEffect(\n function addState() {\n if (panelId != null) {\n context?.addState(hookId, panelId, stateWithConfig);\n }\n },\n [context, hookId, panelId, stateWithConfig]\n );\n\n useEffect(\n function removeOnUnmount() {\n return () => {\n if (deleteOnUnmount && panelId != null) {\n context?.removeState(hookId, panelId, type);\n }\n };\n },\n [context, deleteOnUnmount, hookId, panelId, type]\n );\n\n useEffect(\n () => () => {\n if (panelId != null) {\n context?.deregisterHook(hookId, panelId, type);\n }\n },\n [context, hookId, panelId, type]\n );\n\n return [state, setState];\n}\n\nexport default usePersistentState;\n"],"mappings":";;;;;;AAAA,SACEA,UAAU,EACVC,aAAa,EACbC,SAAS,EACTC,OAAO,EACPC,QAAQ,QAGH,OAAO;AACd,SAASC,MAAM,QAAQ,QAAQ;AAAC,SACvBC,sBAAsB;AAAA,SACtBC,OAAO;AAOhB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,YAAYA,CACnBC,KAAc,EACdC,IAAY,EACZC,EAAU,EACVC,UAAsC,EACtCC,IAAY,EACH;EACT,IAA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AAC;EAED/B,aAAa,CAAC0C,eAAe,CAAC;EAE9BzC,SAAS,CACP,SAAS0C,QAAQA,CAAA,EAAG;IAClB,IAAIf,OAAO,IAAI,IAAI,EAAE;MACnBE,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEa,QAAQ,CAACd,MAAM,EAAED,OAAO,EAAEc,eAAe,CAAC;IACrD;EACF,CAAC,EACD,CAACZ,OAAO,EAAED,MAAM,EAAED,OAAO,EAAEc,eAAe,CAC5C,CAAC;EAEDzC,SAAS,CACP,SAAS2C,eAAeA,CAAA,EAAG;IACzB,OAAO,MAAM;MACX,IAAIV,eAAe,IAAIN,OAAO,IAAI,IAAI,EAAE;QACtCE,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEe,WAAW,CAAChB,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAAC;MAC7C;IACF,CAAC;EACH,CAAC,EACD,CAACkB,OAAO,EAAEI,eAAe,EAAEL,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAClD,CAAC;EAEDX,SAAS,CACP,MAAM,MAAM;IACV,IAAI2B,OAAO,IAAI,IAAI,EAAE;MACnBE,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEgB,cAAc,CAACjB,MAAM,EAAED,OAAO,EAAEhB,IAAI,CAAC;IAChD;EACF,CAAC,EACD,CAACkB,OAAO,EAAED,MAAM,EAAED,OAAO,EAAEhB,IAAI,CACjC,CAAC;EAED,OAAO,CAACJ,KAAK,EAAEiC,QAAQ,CAAC;AAC1B;AAEA,eAAehB,kBAAkB","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/dashboard",
3
- "version": "1.22.1",
3
+ "version": "1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
4
4
  "description": "Deephaven Dashboard",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -22,12 +22,12 @@
22
22
  "build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
23
23
  },
24
24
  "dependencies": {
25
- "@deephaven/components": "^1.22.1",
26
- "@deephaven/golden-layout": "^1.22.1",
27
- "@deephaven/log": "^1.8.0",
28
- "@deephaven/react-hooks": "^1.21.1",
29
- "@deephaven/redux": "^1.22.1",
30
- "@deephaven/utils": "^1.10.0",
25
+ "@deephaven/components": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
26
+ "@deephaven/golden-layout": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
27
+ "@deephaven/log": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
28
+ "@deephaven/react-hooks": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
29
+ "@deephaven/redux": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
30
+ "@deephaven/utils": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
31
31
  "classnames": "^2.3.1",
32
32
  "fast-deep-equal": "^3.1.3",
33
33
  "lodash.ismatch": "^4.1.1",
@@ -42,8 +42,8 @@
42
42
  "react-redux": "^7.2.4"
43
43
  },
44
44
  "devDependencies": {
45
- "@deephaven/mocks": "^1.1.0",
46
- "@deephaven/test-utils": "^1.8.0",
45
+ "@deephaven/mocks": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
46
+ "@deephaven/test-utils": "^1.22.2-alpha-pivot-builder.0730ba6.0+0730ba6",
47
47
  "@types/lodash.ismatch": "^4.4.0",
48
48
  "@types/react-reconciler": "^0.32.0"
49
49
  },
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "d0ac1eabfef8efac88058247aeaef0ed526722d1"
56
+ "gitHead": "0730ba6b285033ec30d1578e855b7a4319c8be99"
57
57
  }