@praxisui/page-builder 9.0.0-beta.15 → 9.0.0-beta.16

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-06-24T11:17:27.420Z",
3
+ "generatedAt": "2026-06-24T12:52:02.312Z",
4
4
  "packageName": "@praxisui/page-builder",
5
- "packageVersion": "9.0.0-beta.15",
5
+ "packageVersion": "9.0.0-beta.16",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -3706,6 +3706,14 @@ function isTableRowSelectionToFormResourceId(source, target) {
3706
3706
  && targetPort === 'resourceid';
3707
3707
  }
3708
3708
  function deriveConnectionEditorSuggestions(graph, limit = 5) {
3709
+ return buildConnectionEditorSuggestions(graph).slice(0, limit);
3710
+ }
3711
+ function deriveRecommendedMasterDetailSuggestion(graph) {
3712
+ return buildConnectionEditorSuggestions(graph)
3713
+ .find((suggestion) => isTableRowSelectionToFormResourceId(suggestion.source, suggestion.target))
3714
+ ?? null;
3715
+ }
3716
+ function buildConnectionEditorSuggestions(graph) {
3709
3717
  const connectedPairs = new Set(graph.connections.map((connection) => connection.fromPort && connection.toPort
3710
3718
  ? `${endpointKey(connection.fromPort.endpoint)}->${endpointKey(connection.toPort.endpoint)}`
3711
3719
  : ''));
@@ -3728,8 +3736,7 @@ function deriveConnectionEditorSuggestions(graph, limit = 5) {
3728
3736
  score,
3729
3737
  };
3730
3738
  }))
3731
- .sort((a, b) => b.score - a.score || a.id.localeCompare(b.id))
3732
- .slice(0, limit);
3739
+ .sort((a, b) => b.score - a.score || a.id.localeCompare(b.id));
3733
3740
  }
3734
3741
  function uniqueConnectionLinkId(source, target, links) {
3735
3742
  const base = `${source.nodeId}-${source.label}-to-${target.nodeId}-${target.label}`
@@ -4787,8 +4794,7 @@ class ConnectionEditorComponent {
4787
4794
  return ids;
4788
4795
  }, ...(ngDevMode ? [{ debugName: "modeMatchedPortIds" }] : /* istanbul ignore next */ []));
4789
4796
  smartSuggestions = computed(() => deriveConnectionEditorSuggestions(this.editorGraph(), 5), ...(ngDevMode ? [{ debugName: "smartSuggestions" }] : /* istanbul ignore next */ []));
4790
- recommendedMasterDetailSuggestion = computed(() => this.smartSuggestions().find((suggestion) => this.isCanonicalSelectionToDetailConnection(suggestion.source, suggestion.target))
4791
- ?? null, ...(ngDevMode ? [{ debugName: "recommendedMasterDetailSuggestion" }] : /* istanbul ignore next */ []));
4797
+ recommendedMasterDetailSuggestion = computed(() => deriveRecommendedMasterDetailSuggestion(this.editorGraph()), ...(ngDevMode ? [{ debugName: "recommendedMasterDetailSuggestion" }] : /* istanbul ignore next */ []));
4792
4798
  masterDetailReadinessDiagnostic = computed(() => {
4793
4799
  if (this.recommendedMasterDetailSuggestion())
4794
4800
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/page-builder",
3
- "version": "9.0.0-beta.15",
3
+ "version": "9.0.0-beta.16",
4
4
  "description": "Page and widget builder utilities for Praxis UI (grid, dynamic widgets, editors).",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -8,9 +8,9 @@
8
8
  "@angular/forms": "^21.0.0",
9
9
  "@angular/cdk": "^21.0.0",
10
10
  "@angular/material": "^21.0.0",
11
- "@praxisui/ai": "^9.0.0-beta.15",
12
- "@praxisui/core": "^9.0.0-beta.15",
13
- "@praxisui/settings-panel": "^9.0.0-beta.15",
11
+ "@praxisui/ai": "^9.0.0-beta.16",
12
+ "@praxisui/core": "^9.0.0-beta.16",
13
+ "@praxisui/settings-panel": "^9.0.0-beta.16",
14
14
  "rxjs": "~7.8.0"
15
15
  },
16
16
  "dependencies": {