dockview-react 7.0.2 → 7.0.4
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/cjs/react.js +4 -4
- package/dist/dockview-react.js +423 -340
- package/dist/dockview-react.min.js +7 -7
- package/dist/dockview-react.min.js.map +1 -1
- package/dist/esm/react.js +4 -4
- package/dist/package/main.cjs.js +5 -5
- package/dist/package/main.cjs.min.js +1 -1
- package/dist/package/main.esm.min.mjs +1 -1
- package/dist/package/main.esm.mjs +5 -5
- package/dist/styles/dockview.css +8 -8
- package/package.json +2 -2
package/dist/cjs/react.js
CHANGED
|
@@ -99,12 +99,12 @@ var ReactPart = /** @class */ (function () {
|
|
|
99
99
|
if (this.disposed) {
|
|
100
100
|
throw new Error('invalid operation: resource is already disposed');
|
|
101
101
|
}
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
this._initialProps = __assign(__assign({}, this._initialProps), props);
|
|
102
|
+
if (this.componentInstance) {
|
|
103
|
+
this.componentInstance.update(props);
|
|
105
104
|
}
|
|
106
105
|
else {
|
|
107
|
-
|
|
106
|
+
// if the component is yet to be mounted store the props
|
|
107
|
+
this._initialProps = __assign(__assign({}, this._initialProps), props);
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
ReactPart.prototype.createPortal = function () {
|