@trops/dash-core 0.1.242 → 0.1.244
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/electron/index.js +62 -2
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +13 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -25613,7 +25613,19 @@ function isWidgetResolvable(componentKey) {
|
|
|
25613
25613
|
// Layout containers are always resolvable (handled specially by WidgetFactory)
|
|
25614
25614
|
if (ComponentManager.isLayoutContainer(componentKey)) return true;
|
|
25615
25615
|
var m = ComponentManager.componentMap();
|
|
25616
|
-
|
|
25616
|
+
if (!m) return false;
|
|
25617
|
+
// Exact key match (scoped id)
|
|
25618
|
+
if (m[componentKey] && typeof m[componentKey].component === "function") {
|
|
25619
|
+
return true;
|
|
25620
|
+
}
|
|
25621
|
+
// Fallback: match by config.name (mirrors getComponent's name fallback)
|
|
25622
|
+
for (var _i = 0, _Object$keys = Object.keys(m); _i < _Object$keys.length; _i++) {
|
|
25623
|
+
var key = _Object$keys[_i];
|
|
25624
|
+
if (m[key].name === componentKey && typeof m[key].component === "function") {
|
|
25625
|
+
return true;
|
|
25626
|
+
}
|
|
25627
|
+
}
|
|
25628
|
+
return false;
|
|
25617
25629
|
}
|
|
25618
25630
|
|
|
25619
25631
|
// export {
|