@praxisui/core 9.0.24 → 9.0.25
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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-26T20:18:42.419Z",
|
|
4
4
|
"packageName": "@praxisui/core",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.25",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 4,
|
|
@@ -31677,6 +31677,7 @@ const MATERIALIZATION_METADATA_INPUTS = [
|
|
|
31677
31677
|
'schemaUrl',
|
|
31678
31678
|
'kpis',
|
|
31679
31679
|
];
|
|
31680
|
+
const MUTABLE_INITIAL_BINDING_INPUTS = new Set(['enableCustomization']);
|
|
31680
31681
|
/**
|
|
31681
31682
|
* Carrega dinamicamente um componente "widget" (de página) a partir de um id registrado
|
|
31682
31683
|
* no ComponentMetadataRegistry e aplica bindings declarados em JSON (WidgetDefinition).
|
|
@@ -31814,6 +31815,10 @@ class DynamicWidgetLoaderDirective {
|
|
|
31814
31815
|
if (!this.currentUsesInitialBindings) {
|
|
31815
31816
|
inputsChanged = this.bindInputs(this.compRef, def.id, inputs, def.bindingOrder, meta || undefined);
|
|
31816
31817
|
}
|
|
31818
|
+
else {
|
|
31819
|
+
const mutableInputs = Object.fromEntries(Object.entries(inputs).filter(([key]) => MUTABLE_INITIAL_BINDING_INPUTS.has(key)));
|
|
31820
|
+
inputsChanged = this.bindInputs(this.compRef, def.id, mutableInputs, def.bindingOrder, meta || undefined);
|
|
31821
|
+
}
|
|
31817
31822
|
this.bindOutputs(this.compRef.instance, def.id, outputs, meta || undefined);
|
|
31818
31823
|
if (recreated || inputsChanged) {
|
|
31819
31824
|
this.compRef.changeDetectorRef.detectChanges();
|
|
@@ -31963,6 +31968,7 @@ class DynamicWidgetLoaderDirective {
|
|
|
31963
31968
|
}
|
|
31964
31969
|
initialBindingSignature(id, inputs, bindingOrder, meta) {
|
|
31965
31970
|
const resolvedEntries = this.orderedInputEntries(id, inputs, bindingOrder)
|
|
31971
|
+
.filter(([key]) => !MUTABLE_INITIAL_BINDING_INPUTS.has(key))
|
|
31966
31972
|
.map(([key, raw]) => [key, this.resolveAndCoerceValue(key, raw, meta)]);
|
|
31967
31973
|
return this.stableStringify(resolvedEntries);
|
|
31968
31974
|
}
|
package/package.json
CHANGED