@praxisui/page-builder 10.0.0-rc.45 → 10.0.0-rc.46
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-11-
|
|
3
|
+
"generatedAt": "2026-11-15T00:03:48.148Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.46",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -31502,6 +31502,7 @@ class DynamicPageBuilderComponent {
|
|
|
31502
31502
|
}
|
|
31503
31503
|
switch (componentId) {
|
|
31504
31504
|
case 'praxis-crud':
|
|
31505
|
+
case 'praxis-organogram':
|
|
31505
31506
|
return { recommendedCols: 12, recommendedRows: 6 };
|
|
31506
31507
|
case 'praxis-table':
|
|
31507
31508
|
return { recommendedCols: 8, recommendedRows: 6 };
|
|
@@ -31548,8 +31549,9 @@ class DynamicPageBuilderComponent {
|
|
|
31548
31549
|
&& this.hasPendingAgenticPreview()
|
|
31549
31550
|
&& this.agenticAuthoringCanApply()
|
|
31550
31551
|
&& !this.agenticAuthoringBusy();
|
|
31552
|
+
const hasPreviewPageWidgets = (this.agenticAuthoringPreviewResult()?.compiledFormPatch?.patch?.page?.widgets?.length ?? 0) > 0;
|
|
31551
31553
|
return this.isAuthoringCapabilityEnabled('save')
|
|
31552
|
-
&& this.hasPageWidgets()
|
|
31554
|
+
&& (this.hasPageWidgets() || (canAutoCommitLocalPreview && hasPreviewPageWidgets))
|
|
31553
31555
|
&& (!this.hasPendingAgenticPreview() || canAutoCommitLocalPreview);
|
|
31554
31556
|
}
|
|
31555
31557
|
applyConfigFromAdapter(config) {
|
|
@@ -32920,7 +32922,11 @@ class DynamicPageBuilderComponent {
|
|
|
32920
32922
|
}
|
|
32921
32923
|
commitLocalAgenticPreview() {
|
|
32922
32924
|
const preview = this.agenticAuthoringPreviewResult();
|
|
32923
|
-
const
|
|
32925
|
+
const previewPage = preview?.compiledFormPatch?.patch?.page;
|
|
32926
|
+
const basePage = (this.currentPage().widgets?.length ?? 0) === 0 && previewPage
|
|
32927
|
+
? previewPage
|
|
32928
|
+
: this.currentPage();
|
|
32929
|
+
const committedPage = this.clonePage(basePage);
|
|
32924
32930
|
const componentId = this.resolveAgenticComponentId() || 'visitor-lab-page';
|
|
32925
32931
|
const localResult = {
|
|
32926
32932
|
applied: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/page-builder",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.46",
|
|
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",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
11
|
"@angular/router": "^21.0.0",
|
|
12
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table": "^10.0.0-rc.
|
|
12
|
+
"@praxisui/ai": "^10.0.0-rc.46",
|
|
13
|
+
"@praxisui/core": "^10.0.0-rc.46",
|
|
14
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.46",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.46",
|
|
16
|
+
"@praxisui/table": "^10.0.0-rc.46",
|
|
17
17
|
"rxjs": "~7.8.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|