@deephaven/golden-layout 0.49.1-beta.0 → 0.49.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":"ReactComponentHandler.d.ts","sourceRoot":"","sources":["../../src/utils/ReactComponentHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,SAAS,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAqB;IACxC,OAAO,CAAC,UAAU,CAAsC;IAExD,OAAO,CAAC,eAAe,CAAgC;IACvD,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,OAAO,CAAC,4BAA4B,CAAyB;IAC7D,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,WAAW,CAAuB;gBAE9B,SAAS,EAAE,aAAa,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,EAAE,OAAO;IAW3E;;;OAGG;IACH,IAAI,IAAI,MAAM;IAed;;;;;;;;;OASG;IACH,OAAO;IAWP;;;;;;;;OAQG;IACH,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS;IAe7C;;OAEG;IACH,QAAQ;IASR;;;OAGG;IACH,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAShE;;;OAGG;IACH,cAAc;IA0Bd;;OAEG;IACH,kBAAkB;
|
|
1
|
+
{"version":3,"file":"ReactComponentHandler.d.ts","sourceRoot":"","sources":["../../src/utils/ReactComponentHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,SAAS,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAqB;IACxC,OAAO,CAAC,UAAU,CAAsC;IAExD,OAAO,CAAC,eAAe,CAAgC;IACvD,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,OAAO,CAAC,4BAA4B,CAAyB;IAC7D,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,WAAW,CAAuB;gBAE9B,SAAS,EAAE,aAAa,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,EAAE,OAAO;IAW3E;;;OAGG;IACH,IAAI,IAAI,MAAM;IAed;;;;;;;;;OASG;IACH,OAAO;IAWP;;;;;;;;OAQG;IACH,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS;IAe7C;;OAEG;IACH,QAAQ;IASR;;;OAGG;IACH,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAShE;;;OAGG;IACH,cAAc;IA0Bd;;OAEG;IACH,kBAAkB;CAmBnB"}
|
|
@@ -126,7 +126,18 @@ export default class ReactComponentHandler {
|
|
|
126
126
|
_getReactComponent() {
|
|
127
127
|
var defaultProps = {
|
|
128
128
|
glEventHub: this._container.layoutManager.eventHub,
|
|
129
|
-
glContainer: this._container
|
|
129
|
+
glContainer: this._container,
|
|
130
|
+
/**
|
|
131
|
+
* This ref assignment makes use of callback refs which is a legacy ref style in React.
|
|
132
|
+
* It uses the callback to inject GoldenLayout _onUpdate into the React componentWillUpdate lifecycle.
|
|
133
|
+
* This allows GoldenLayout to track the internal state of class components.
|
|
134
|
+
* We then emit this state change and somewhere furter up, serialize it.
|
|
135
|
+
* Specifically we look for state.panelState changes.
|
|
136
|
+
* We should not do this going forward as it's quite unclear where/why your component's state might be saved.
|
|
137
|
+
* This ref cannot be removed unless we refactor all existing panels to not rely on the magic of panelState.
|
|
138
|
+
* DashboardUtils#dehydrate is where the panelState gets read/saved.
|
|
139
|
+
*/
|
|
140
|
+
ref: this._gotReactComponent.bind(this)
|
|
130
141
|
};
|
|
131
142
|
var props = $.extend(defaultProps, this._container._config.props);
|
|
132
143
|
return /*#__PURE__*/React.createElement(this._reactClass, props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactComponentHandler.js","names":["React","ReactDOM","$","ReactComponentHandler","constructor","container","state","_reactComponent","_portalComponent","_originalComponentWillUpdate","_container","_initialState","_reactClass","_getReactClass","on","_render","_destroy","_key","id","_config","Error","Array","isArray","join","key","createPortal","_getReactComponent","getElement","layoutManager","addReactChild","_gotReactComponent","component","componentWillUpdate","_onUpdate","bind","getState","setState","removeReactChild","off","nextProps","nextState","call","componentName","reactClass","getComponent","getFallbackComponent","defaultProps","glEventHub","eventHub","glContainer","props","extend","createElement"],"sources":["../../src/utils/ReactComponentHandler.tsx"],"sourcesContent":["import React from 'react';\nimport ReactDOM from 'react-dom';\nimport $ from 'jquery';\nimport type ItemContainer from '../container/ItemContainer';\nimport type { ReactComponentConfig } from '../config/ItemConfig';\nimport { Container } from '../container';\nimport EventEmitter from './EventEmitter';\n\nexport type GLPanelProps = {\n glContainer: Container;\n glEventHub: EventEmitter;\n};\n\n/**\n * A specialised GoldenLayout component that binds GoldenLayout container\n * lifecycle events to react components\n *\n * @param container\n * @param state state is not required for react components\n */\nexport default class ReactComponentHandler {\n private _container: ItemContainer<ReactComponentConfig>;\n\n private _reactComponent: React.Component | null = null;\n private _portalComponent: React.ReactPortal | null = null;\n private _originalComponentWillUpdate: Function | null = null;\n private _initialState: unknown;\n private _reactClass: React.ComponentClass;\n\n constructor(container: ItemContainer<ReactComponentConfig>, state?: unknown) {\n this._reactComponent = null;\n this._portalComponent = null;\n this._originalComponentWillUpdate = null;\n this._container = container;\n this._initialState = state;\n this._reactClass = this._getReactClass();\n this._container.on('open', this._render, this);\n this._container.on('destroy', this._destroy, this);\n }\n\n /**\n * Gets the unique key to use for the react component\n * @returns Unique key for the component\n */\n _key(): string {\n const id = this._container._config.id;\n if (!id) {\n throw new Error('Cannot mount panel without id');\n }\n\n // If addId is called multiple times, an element can have multiple IDs in golden-layout\n // We don't use it, but changing the type requires many changes and a separate PR\n if (Array.isArray(id)) {\n return id.join(',');\n }\n\n return id;\n }\n\n /**\n * Creates the react class and component and hydrates it with\n * the initial state - if one is present\n *\n * By default, react's getInitialState will be used\n *\n * Creates a portal so the non-react golden-layout code still works,\n * but also allows us to mount the React components in the app's tree\n * instead of separate sibling root trees\n */\n _render() {\n const key = this._key();\n this._portalComponent = ReactDOM.createPortal(\n this._getReactComponent(),\n this._container.getElement()[0],\n key\n );\n\n this._container.layoutManager.addReactChild(key, this._portalComponent);\n }\n\n /**\n * Fired by react when the component is created.\n * <p>\n * Note: This callback is used instead of the return from `ReactDOM.render` because\n *\t of https://github.com/facebook/react/issues/10309.\n * </p>\n *\n * @param component The component instance created by the `ReactDOM.render` call in the `_render` method.\n */\n _gotReactComponent(component: React.Component) {\n if (!component) {\n return;\n }\n\n this._reactComponent = component;\n this._originalComponentWillUpdate =\n this._reactComponent.componentWillUpdate || function () {};\n this._reactComponent.componentWillUpdate = this._onUpdate.bind(this);\n const state = this._container.getState();\n if (state) {\n this._reactComponent.setState(state);\n }\n }\n\n /**\n * Removes the component from the DOM and thus invokes React's unmount lifecycle\n */\n _destroy() {\n this._container.layoutManager.removeReactChild(\n this._key(),\n this._portalComponent\n );\n this._container.off('open', this._render, this);\n this._container.off('destroy', this._destroy, this);\n }\n\n /**\n * Hooks into React's state management and applies the componentstate\n * to GoldenLayout\n */\n _onUpdate(nextProps: unknown, nextState: Record<string, unknown>) {\n this._container.setState(nextState);\n this._originalComponentWillUpdate?.call(\n this._reactComponent,\n nextProps,\n nextState\n );\n }\n\n /**\n * Retrieves the react class from GoldenLayout's registry\n * @returns react class\n */\n _getReactClass() {\n var componentName = this._container._config.component;\n\n if (!componentName) {\n throw new Error(\n 'No react component name. type: react-component needs a field `component`'\n );\n }\n\n const reactClass = (this._container.layoutManager.getComponent(\n componentName\n ) ||\n this._container.layoutManager.getFallbackComponent()) as unknown as React.ComponentClass;\n\n if (!reactClass) {\n throw new Error(\n 'React component \"' +\n componentName +\n '\" not found. ' +\n 'Please register all components with GoldenLayout using `registerComponent(name, component)`'\n );\n }\n\n return reactClass;\n }\n\n /**\n * Copies and extends the properties array and returns the React element\n */\n _getReactComponent() {\n var defaultProps = {\n glEventHub: this._container.layoutManager.eventHub,\n glContainer: this._container,\n };\n var props = $.extend(defaultProps, this._container._config.props);\n return React.createElement(this._reactClass, props);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,WAAW;AAChC,OAAOC,CAAC,MAAM,QAAQ;AAWtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,MAAMC,qBAAqB,CAAC;EASzCC,WAAW,CAACC,SAA8C,EAAEC,KAAe,EAAE;IAAA;IAAA,yCAN3B,IAAI;IAAA,0CACD,IAAI;IAAA,sDACD,IAAI;IAAA;IAAA;IAK1D,IAAI,CAACC,eAAe,GAAG,IAAI;IAC3B,IAAI,CAACC,gBAAgB,GAAG,IAAI;IAC5B,IAAI,CAACC,4BAA4B,GAAG,IAAI;IACxC,IAAI,CAACC,UAAU,GAAGL,SAAS;IAC3B,IAAI,CAACM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AE;MACf,MAAM,IAAIvB,KAAK,CACb,mBAAmB,GACjBsB,aAAa,GACb,eAAe,GACf,6FAA6F,CAChG;IACH;IAEA,OAAOC,UAAU;EACnB;;EAEA;AACF;AACA;EACEjB,kBAAkB,GAAG;IACnB,IAAIoB,YAAY,GAAG;MACjBC,UAAU,EAAE,IAAI,CAACrC,UAAU,CAACkB,aAAa,CAACoB,QAAQ;MAClDC,WAAW,EAAE,IAAI,CAACvC;IACpB,CAAC;IACD,IAAIwC,KAAK,GAAGhD,CAAC,CAACiD,MAAM,CAACL,YAAY,EAAE,IAAI,CAACpC,UAAU,CAACS,OAAO,CAAC+B,KAAK,CAAC;IACjE,oBAAOlD,KAAK,CAACoD,aAAa,CAAC,IAAI,CAACxC,WAAW,EAAEsC,KAAK,CAAC;EACrD;AACF"}
|
|
1
|
+
{"version":3,"file":"ReactComponentHandler.js","names":["React","ReactDOM","$","ReactComponentHandler","constructor","container","state","_reactComponent","_portalComponent","_originalComponentWillUpdate","_container","_initialState","_reactClass","_getReactClass","on","_render","_destroy","_key","id","_config","Error","Array","isArray","join","key","createPortal","_getReactComponent","getElement","layoutManager","addReactChild","_gotReactComponent","component","componentWillUpdate","_onUpdate","bind","getState","setState","removeReactChild","off","nextProps","nextState","call","componentName","reactClass","getComponent","getFallbackComponent","defaultProps","glEventHub","eventHub","glContainer","ref","props","extend","createElement"],"sources":["../../src/utils/ReactComponentHandler.tsx"],"sourcesContent":["import React from 'react';\nimport ReactDOM from 'react-dom';\nimport $ from 'jquery';\nimport type ItemContainer from '../container/ItemContainer';\nimport type { ReactComponentConfig } from '../config/ItemConfig';\nimport { Container } from '../container';\nimport EventEmitter from './EventEmitter';\n\nexport type GLPanelProps = {\n glContainer: Container;\n glEventHub: EventEmitter;\n};\n\n/**\n * A specialised GoldenLayout component that binds GoldenLayout container\n * lifecycle events to react components\n *\n * @param container\n * @param state state is not required for react components\n */\nexport default class ReactComponentHandler {\n private _container: ItemContainer<ReactComponentConfig>;\n\n private _reactComponent: React.Component | null = null;\n private _portalComponent: React.ReactPortal | null = null;\n private _originalComponentWillUpdate: Function | null = null;\n private _initialState: unknown;\n private _reactClass: React.ComponentClass;\n\n constructor(container: ItemContainer<ReactComponentConfig>, state?: unknown) {\n this._reactComponent = null;\n this._portalComponent = null;\n this._originalComponentWillUpdate = null;\n this._container = container;\n this._initialState = state;\n this._reactClass = this._getReactClass();\n this._container.on('open', this._render, this);\n this._container.on('destroy', this._destroy, this);\n }\n\n /**\n * Gets the unique key to use for the react component\n * @returns Unique key for the component\n */\n _key(): string {\n const id = this._container._config.id;\n if (!id) {\n throw new Error('Cannot mount panel without id');\n }\n\n // If addId is called multiple times, an element can have multiple IDs in golden-layout\n // We don't use it, but changing the type requires many changes and a separate PR\n if (Array.isArray(id)) {\n return id.join(',');\n }\n\n return id;\n }\n\n /**\n * Creates the react class and component and hydrates it with\n * the initial state - if one is present\n *\n * By default, react's getInitialState will be used\n *\n * Creates a portal so the non-react golden-layout code still works,\n * but also allows us to mount the React components in the app's tree\n * instead of separate sibling root trees\n */\n _render() {\n const key = this._key();\n this._portalComponent = ReactDOM.createPortal(\n this._getReactComponent(),\n this._container.getElement()[0],\n key\n );\n\n this._container.layoutManager.addReactChild(key, this._portalComponent);\n }\n\n /**\n * Fired by react when the component is created.\n * <p>\n * Note: This callback is used instead of the return from `ReactDOM.render` because\n *\t of https://github.com/facebook/react/issues/10309.\n * </p>\n *\n * @param component The component instance created by the `ReactDOM.render` call in the `_render` method.\n */\n _gotReactComponent(component: React.Component) {\n if (!component) {\n return;\n }\n\n this._reactComponent = component;\n this._originalComponentWillUpdate =\n this._reactComponent.componentWillUpdate || function () {};\n this._reactComponent.componentWillUpdate = this._onUpdate.bind(this);\n const state = this._container.getState();\n if (state) {\n this._reactComponent.setState(state);\n }\n }\n\n /**\n * Removes the component from the DOM and thus invokes React's unmount lifecycle\n */\n _destroy() {\n this._container.layoutManager.removeReactChild(\n this._key(),\n this._portalComponent\n );\n this._container.off('open', this._render, this);\n this._container.off('destroy', this._destroy, this);\n }\n\n /**\n * Hooks into React's state management and applies the componentstate\n * to GoldenLayout\n */\n _onUpdate(nextProps: unknown, nextState: Record<string, unknown>) {\n this._container.setState(nextState);\n this._originalComponentWillUpdate?.call(\n this._reactComponent,\n nextProps,\n nextState\n );\n }\n\n /**\n * Retrieves the react class from GoldenLayout's registry\n * @returns react class\n */\n _getReactClass() {\n var componentName = this._container._config.component;\n\n if (!componentName) {\n throw new Error(\n 'No react component name. type: react-component needs a field `component`'\n );\n }\n\n const reactClass = (this._container.layoutManager.getComponent(\n componentName\n ) ||\n this._container.layoutManager.getFallbackComponent()) as unknown as React.ComponentClass;\n\n if (!reactClass) {\n throw new Error(\n 'React component \"' +\n componentName +\n '\" not found. ' +\n 'Please register all components with GoldenLayout using `registerComponent(name, component)`'\n );\n }\n\n return reactClass;\n }\n\n /**\n * Copies and extends the properties array and returns the React element\n */\n _getReactComponent() {\n var defaultProps = {\n glEventHub: this._container.layoutManager.eventHub,\n glContainer: this._container,\n /**\n * This ref assignment makes use of callback refs which is a legacy ref style in React.\n * It uses the callback to inject GoldenLayout _onUpdate into the React componentWillUpdate lifecycle.\n * This allows GoldenLayout to track the internal state of class components.\n * We then emit this state change and somewhere furter up, serialize it.\n * Specifically we look for state.panelState changes.\n * We should not do this going forward as it's quite unclear where/why your component's state might be saved.\n * This ref cannot be removed unless we refactor all existing panels to not rely on the magic of panelState.\n * DashboardUtils#dehydrate is where the panelState gets read/saved.\n */\n ref: this._gotReactComponent.bind(this),\n };\n var props = $.extend(defaultProps, this._container._config.props);\n return React.createElement(this._reactClass, props);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,WAAW;AAChC,OAAOC,CAAC,MAAM,QAAQ;AAWtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,MAAMC,qBAAqB,CAAC;EASzCC,WAAW,CAACC,SAA8C,EAAEC,KAAe,EAAE;IAAA;IA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a,EAAE;MAClB,MAAM,IAAItB,KAAK,CACb,0EAA0E,CAC3E;IACH;IAEA,IAAMuB,UAAU,GAAI,IAAI,CAACjC,UAAU,CAACkB,aAAa,CAACgB,YAAY,CAC5DF,aAAa,CACd,IACC,IAAI,CAAChC,UAAU,CAACkB,aAAa,CAACiB,oBAAoB,EAAsC;IAE1F,IAAI,CAACF,UAAU,EAAE;MACf,MAAM,IAAIvB,KAAK,CACb,mBAAmB,GACjBsB,aAAa,GACb,eAAe,GACf,6FAA6F,CAChG;IACH;IAEA,OAAOC,UAAU;EACnB;;EAEA;AACF;AACA;EACEjB,kBAAkB,GAAG;IACnB,IAAIoB,YAAY,GAAG;MACjBC,UAAU,EAAE,IAAI,CAACrC,UAAU,CAACkB,aAAa,CAACoB,QAAQ;MAClDC,WAAW,EAAE,IAAI,CAACvC,UAAU;MAC5B;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACMwC,GAAG,EAAE,IAAI,CAACpB,kBAAkB,CAACI,IAAI,CAAC,IAAI;IACxC,CAAC;IACD,IAAIiB,KAAK,GAAGjD,CAAC,CAACkD,MAAM,CAACN,YAAY,EAAE,IAAI,CAACpC,UAAU,CAACS,OAAO,CAACgC,KAAK,CAAC;IACjE,oBAAOnD,KAAK,CAACqD,aAAa,CAAC,IAAI,CAACzC,WAAW,EAAEuC,KAAK,CAAC;EACrD;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/golden-layout",
|
|
3
|
-
"version": "0.49.1-beta.
|
|
3
|
+
"version": "0.49.1-beta.2+3e834de3",
|
|
4
4
|
"author": "Deephaven Data Labs LLC",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "A multi-screen javascript Layout manager",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"source": "src/index.ts",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@deephaven/components": "^0.49.1-beta.
|
|
13
|
+
"@deephaven/components": "^0.49.1-beta.2+3e834de3",
|
|
14
14
|
"jquery": "^3.6.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"karma-browserify": "^8.1.0",
|
|
56
56
|
"watchify": "^4.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "3e834de31a5ba8df8041637ece4aacfa7fbcd794"
|
|
59
59
|
}
|