@praxisui/page-builder 9.0.0-beta.78 → 9.0.0-beta.79

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-07-19T03:55:15.480Z",
3
+ "generatedAt": "2026-07-19T20:13:41.218Z",
4
4
  "packageName": "@praxisui/page-builder",
5
- "packageVersion": "9.0.0-beta.78",
5
+ "packageVersion": "9.0.0-beta.79",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -17261,7 +17261,7 @@ class PageBuilderAgenticAuthoringTurnFlow {
17261
17261
  if (intentResolution.artifactKind !== 'dashboard') {
17262
17262
  return false;
17263
17263
  }
17264
- if (preview.uiCompositionPlan) {
17264
+ if (this.hasCanonicalUiCompositionPlan(preview.uiCompositionPlan)) {
17265
17265
  return false;
17266
17266
  }
17267
17267
  return true;
@@ -17355,11 +17355,17 @@ class PageBuilderAgenticAuthoringTurnFlow {
17355
17355
  if (!preview) {
17356
17356
  return false;
17357
17357
  }
17358
- if (preview.uiCompositionPlan) {
17358
+ if (this.hasCanonicalUiCompositionPlan(preview.uiCompositionPlan)) {
17359
17359
  return true;
17360
17360
  }
17361
17361
  return this.hasCompiledPagePatch(preview);
17362
17362
  }
17363
+ hasCanonicalUiCompositionPlan(value) {
17364
+ const plan = this.toJsonObject(value);
17365
+ return plan?.['kind'] === 'praxis.ui-composition-plan'
17366
+ && plan['version'] === '1.0'
17367
+ && Array.isArray(plan['widgets']);
17368
+ }
17363
17369
  hasCompiledPagePatch(preview) {
17364
17370
  const patch = this.toJsonObject(preview?.compiledFormPatch)?.['patch'];
17365
17371
  const page = this.toJsonObject(patch)?.['page'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/page-builder",
3
- "version": "9.0.0-beta.78",
3
+ "version": "9.0.0-beta.79",
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.78",
12
- "@praxisui/core": "^9.0.0-beta.78",
13
- "@praxisui/settings-panel": "^9.0.0-beta.78",
11
+ "@praxisui/ai": "^9.0.0-beta.79",
12
+ "@praxisui/core": "^9.0.0-beta.79",
13
+ "@praxisui/settings-panel": "^9.0.0-beta.79",
14
14
  "rxjs": "~7.8.0"
15
15
  },
16
16
  "dependencies": {