@devexpress/dx-react-core
Advanced tools
Comparing version 4.0.7 to 4.0.8
/** | ||
* Bundle of @devexpress/dx-react-core | ||
* Generated: 2024-01-30 | ||
* Version: 4.0.7 | ||
* Generated: 2024-02-05 | ||
* Version: 4.0.8 | ||
* License: https://js.devexpress.com/Licensing | ||
@@ -380,2 +380,3 @@ */ | ||
/** @internal */ | ||
var ActionBase = /*#__PURE__*/ (function (_super) { | ||
@@ -406,7 +407,17 @@ __extends(ActionBase, _super); | ||
pluginHost.registerPlugin(_this.plugin); | ||
_this.pluginRegistered = true; | ||
return _this; | ||
} | ||
ActionBase.prototype.componentDidMount = function () { | ||
if (this.pluginRegistered) { | ||
return; | ||
} | ||
var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
pluginHost.registerPlugin(this.plugin); | ||
this.pluginRegistered = true; | ||
}; | ||
ActionBase.prototype.componentWillUnmount = function () { | ||
var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
pluginHost.unregisterPlugin(this.plugin); | ||
this.pluginRegistered = false; | ||
}; | ||
@@ -420,2 +431,3 @@ ActionBase.prototype.render = function () { | ||
/** @internal */ | ||
var GetterBase = /*#__PURE__*/ (function (_super) { | ||
@@ -454,4 +466,13 @@ __extends(GetterBase, _super); | ||
pluginHost.registerPlugin(_this.plugin); | ||
_this.pluginRegistered = true; | ||
return _this; | ||
} | ||
GetterBase.prototype.componentDidMount = function () { | ||
if (this.pluginRegistered) { | ||
return; | ||
} | ||
var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
pluginHost.registerPlugin(this.plugin); | ||
this.pluginRegistered = true; | ||
}; | ||
GetterBase.prototype.componentDidUpdate = function () { | ||
@@ -464,2 +485,3 @@ var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
pluginHost.unregisterPlugin(this.plugin); | ||
this.pluginRegistered = false; | ||
}; | ||
@@ -499,4 +521,15 @@ GetterBase.prototype.render = function () { | ||
pluginHost.broadcast(RERENDER_TEMPLATE_SCOPE_EVENT, name); | ||
_this.pluginRegistered = true; | ||
return _this; | ||
} | ||
TemplateBase.prototype.componentDidMount = function () { | ||
if (this.pluginRegistered) { | ||
return; | ||
} | ||
var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
var name = this.props.name; | ||
pluginHost.registerPlugin(this.plugin); | ||
pluginHost.broadcast(RERENDER_TEMPLATE_SCOPE_EVENT, name); | ||
this.pluginRegistered = true; | ||
}; | ||
TemplateBase.prototype.componentDidUpdate = function () { | ||
@@ -511,2 +544,3 @@ var _a = this.props, _b = PLUGIN_HOST_CONTEXT, pluginHost = _a[_b]; | ||
pluginHost.broadcast(RERENDER_TEMPLATE_SCOPE_EVENT, name); | ||
this.pluginRegistered = false; | ||
}; | ||
@@ -513,0 +547,0 @@ TemplateBase.prototype.render = function () { |
{ | ||
"name": "@devexpress/dx-react-core", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Core library for DevExtreme React Components", | ||
@@ -80,3 +80,3 @@ "author": { | ||
"dependencies": { | ||
"@devexpress/dx-core": "4.0.7", | ||
"@devexpress/dx-core": "4.0.8", | ||
"prop-types": "^15.7.2" | ||
@@ -88,3 +88,3 @@ }, | ||
}, | ||
"gitHead": "f6b67ae0770087ca02a10629c014262516c725af" | ||
"gitHead": "039f784aa8da9a261b8801429f7315f0f8bf49d7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
305057
2652
+ Added@devexpress/dx-core@4.0.8(transitive)
- Removed@devexpress/dx-core@4.0.7(transitive)
Updated@devexpress/dx-core@4.0.8