@praxisui/page-builder 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.
package/README.md CHANGED
@@ -71,7 +71,8 @@ The persisted document remains `WidgetPageDefinition` from `@praxisui/core`. Pag
71
71
 
72
72
  - `page`: `WidgetPageDefinition | string`
73
73
  - `context`: runtime context shared with widgets and composition links
74
- - `enableCustomization`: enables builder affordances
74
+ - `enableCustomization`: enables builder and child authoring affordances; when `false`, the same
75
+ runtime remains mounted in presentation mode without editing chrome
75
76
  - `pageIdentity`: persistence identity used by governed config flows
76
77
  - `componentInstanceId`: stable component instance id
77
78
  - `componentPaletteAllowedWidgetIds`, `componentPaletteAllowedWidgetTags`, `componentPaletteAllowedPresetIds`
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-08-26T15:04:46.491Z",
3
+ "generatedAt": "2026-08-26T20:18:42.419Z",
4
4
  "packageName": "@praxisui/page-builder",
5
- "packageVersion": "9.0.24",
5
+ "packageVersion": "9.0.25",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -21035,7 +21035,7 @@ class DynamicPageBuilderComponent {
21035
21035
  }
21036
21036
  runtimePage() {
21037
21037
  const page = this.currentPage();
21038
- if (!this.previewMode) {
21038
+ if (!this.previewMode && this.showSettings()) {
21039
21039
  if (this.runtimeAuthoringPageCache?.source === page) {
21040
21040
  return this.runtimeAuthoringPageCache.value;
21041
21041
  }
@@ -23825,10 +23825,13 @@ class DynamicPageBuilderComponent {
23825
23825
  return cloned;
23826
23826
  }
23827
23827
  toPresentationRuntimeWidget(widget) {
23828
- const inputs = widget.definition?.inputs;
23829
- if (!inputs || inputs['enableCustomization'] !== true) {
23828
+ const metadata = this.componentMetadata.get(widget.definition?.id);
23829
+ if (!metadata?.inputs?.some((input) => input.name === 'enableCustomization')) {
23830
23830
  return widget;
23831
23831
  }
23832
+ const inputs = widget.definition?.inputs || {};
23833
+ if (inputs['enableCustomization'] === false)
23834
+ return widget;
23832
23835
  return {
23833
23836
  ...widget,
23834
23837
  definition: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/page-builder",
3
- "version": "9.0.24",
3
+ "version": "9.0.25",
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.24",
12
- "@praxisui/core": "^9.0.24",
13
- "@praxisui/settings-panel": "^9.0.24",
11
+ "@praxisui/ai": "^9.0.25",
12
+ "@praxisui/core": "^9.0.25",
13
+ "@praxisui/settings-panel": "^9.0.25",
14
14
  "rxjs": "~7.8.0"
15
15
  },
16
16
  "dependencies": {