@devexpress/dx-react-core
Advanced tools
Comparing version
/** | ||
* 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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
305057
2.39%2652
2.63%+ Added
- Removed
Updated