@praxisui/page-builder 10.0.0-rc.60 → 10.0.0-rc.61
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 +6 -0
- package/ai/component-registry.json +40 -7
- package/fesm2022/praxisui-page-builder.mjs +798 -680
- package/package.json +7 -7
- package/types/praxisui-page-builder.d.ts +98 -84
package/README.md
CHANGED
|
@@ -1231,6 +1231,12 @@ Voice language also inherits `PRAXIS_ASSISTANT_VOICE_LANGUAGE`; explicit compone
|
|
|
1231
1231
|
|
|
1232
1232
|
Corporate adoption requires a ready context and current context-version headers, a host resolver bound to the server session/membership, and the correct cookie transport. The quickstart enterprise resolver applies this admission to all its AI callers. Local header-only integration cannot detect cookie changes that the host does not report. Focused/mock tests are not proof of durable session persistence, provider connectivity or published package adoption.
|
|
1233
1233
|
|
|
1234
|
+
## Workspace Shell, Page Integrity, Sanitization & Sibling Grid Sync
|
|
1235
|
+
|
|
1236
|
+
- **Enterprise Workspace Shell (`PraxisEnterpriseWorkspaceShellComponent`):** Locks `switchingContext` synchronously before consulting `PraxisContextSwitchGuard`, logs switch failures cleanly without mutating active context, prioritizes structured `errorCode` values (`TENANT_SCOPE_WRITE_FORBIDDEN`, `GOVERNANCE_DENIED`, `FORBIDDEN`) in save-error banners, guards `onSignOut()` against dirty state (`signOutBlocked`), forwards `canConfigure`, `isTenantWriteBlocked`, `globalSettingsTrigger`, `createPageTrigger`, and the `workspace-scope-bar` -> `shell-scope-bar` projection slot to `<praxis-app-shell>`, and localizes fallback command/search chrome. Import `<praxis-command-palette>` directly from `@praxisui/core` (the re-export from `@praxisui/page-builder` is deprecated).
|
|
1237
|
+
- **Persistence Policy, Integrity & Preview Cleanup:** `DynamicPageBuilderComponent.autoPersistPolicy` (`'independent' | 'suspend-when-agentic' | 'disabled'`) explicitly decouples runtime auto-persistence from agentic authoring, `integrityPolicy` delegates load/save structural reconciliation (`composition.links`, `layoutPreset`, `grouping`, conservative `context` merge) to `PraxisPageReconcilerService`, and `clearAgenticAuthoringPreviewState` discards paused runtime writes unless `{ keepPausedPersistence: true }` is passed.
|
|
1238
|
+
- **Declarative Sibling Grid Sync & Deep Sanitization:** `siblingGridGeometrySync` (`syncSiblingGridGeometry` / `createSiblingGridGeometryPrepareHook`) synchronizes tab sibling coordinates while clamping `col` against `columns - colSpan + 1` (even when `lockSize: true`), inheriting base `constraints` on `deviceLayouts`, preventing positional fallback collisions with explicit `slotMappings`, and deduplicating overlapping groupings. `sanitizeWidgetPageDefinition` recursively strips nested container widgets (`widgets`, `children`, `tabs`, `panels`, `steps`, and embedded `inputs.page`), deep `chartDocumentOverrides`, and optional declared `ComponentDocMeta.transientInputs`.
|
|
1239
|
+
|
|
1234
1240
|
<!-- praxis-npm-catalog-links:start -->
|
|
1235
1241
|
## Official documentation and examples
|
|
1236
1242
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-24T14:00:56.078Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.61",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -16,7 +16,25 @@
|
|
|
16
16
|
"name": "autoPersist",
|
|
17
17
|
"type": "boolean",
|
|
18
18
|
"required": false,
|
|
19
|
-
"description": "Opt-in Core persistence for manual pages; defaults to false. Disabled for authoringDocument and agentic authoring."
|
|
19
|
+
"description": "Opt-in Core persistence for manual pages; defaults to false. Disabled for authoringDocument and agentic authoring unless overridden by autoPersistPolicy."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "autoPersistPolicy",
|
|
23
|
+
"type": "'independent' | 'suspend-when-agentic' | 'disabled' | null",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Explicit policy decoupling Core runtime auto-persistence from agentic authoring."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "siblingGridGeometrySync",
|
|
29
|
+
"type": "boolean | SiblingGridGeometrySyncPolicy | null",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Declaratively aligns sibling tab grid coordinates during persistence preparation."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "integrityPolicy",
|
|
35
|
+
"type": "PageIntegrityPolicy | null",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "Fail-closed load/save structural reconciliation policy enforcing links, presets, grouping, and conservative context merging."
|
|
20
38
|
}
|
|
21
39
|
],
|
|
22
40
|
"outputs": [
|
|
@@ -1542,6 +1560,21 @@
|
|
|
1542
1560
|
"type": "boolean",
|
|
1543
1561
|
"description": "Host-only opt-in Core persistence for manual pages. Disabled for agentic authoring and authoringDocument; never use to persist an AI preview."
|
|
1544
1562
|
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "autoPersistPolicy",
|
|
1565
|
+
"type": "'independent' | 'suspend-when-agentic' | 'disabled' | null",
|
|
1566
|
+
"description": "Host-only policy explicitly decoupling runtime auto-persistence from agentic authoring."
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "siblingGridGeometrySync",
|
|
1570
|
+
"type": "boolean | SiblingGridGeometrySyncPolicy | null",
|
|
1571
|
+
"description": "Declaratively aligns sibling tab canvas coordinates during persistence preparation."
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "integrityPolicy",
|
|
1575
|
+
"type": "PageIntegrityPolicy | null",
|
|
1576
|
+
"description": "Fail-closed structural reconciliation policy enforced during page hydration and persistence."
|
|
1577
|
+
},
|
|
1545
1578
|
{
|
|
1546
1579
|
"name": "page",
|
|
1547
1580
|
"type": "WidgetPageDefinition",
|
|
@@ -4123,9 +4156,9 @@
|
|
|
4123
4156
|
{
|
|
4124
4157
|
"chunkIndex": 0,
|
|
4125
4158
|
"chunkKind": "summary",
|
|
4126
|
-
"content": "Component ID: praxis-page-builder\nSelector: praxis-dynamic-page-builder\nFriendly Name: Praxis Page Builder\nDescription: Page builder using the canonical praxis-dynamic-page runtime.\nCategory: page\nLib/Package: @praxisui/page-builder\nTags: widget, page-builder, configurable\nInputs:\n - autoPersist (boolean)\nOutputs:\n - persistenceChange (WidgetPagePersistenceState)\n - pageChange (WidgetPageDefinition)\n - pageAuthoringChange (WidgetPageDefinition)\n - widgetEvent (WidgetEventEnvelope)\n - pageSaveRequested (WidgetPageDefinition)\n - agenticAuthoringApplied (PageBuilderApplyResult)\n - agenticAuthoringSharedRuleHandoff (PageBuilderAgenticAuthoringSharedRuleHandoff)\n - pageRestart (void)\n - savedPageDeleteRequested (void)\n",
|
|
4159
|
+
"content": "Component ID: praxis-page-builder\nSelector: praxis-dynamic-page-builder\nFriendly Name: Praxis Page Builder\nDescription: Page builder using the canonical praxis-dynamic-page runtime.\nCategory: page\nLib/Package: @praxisui/page-builder\nTags: widget, page-builder, configurable\nInputs:\n - autoPersist (boolean)\n - autoPersistPolicy ('independent' | 'suspend-when-agentic' | 'disabled' | null)\n - siblingGridGeometrySync (boolean | SiblingGridGeometrySyncPolicy | null)\n - integrityPolicy (PageIntegrityPolicy | null)\nOutputs:\n - persistenceChange (WidgetPagePersistenceState)\n - pageChange (WidgetPageDefinition)\n - pageAuthoringChange (WidgetPageDefinition)\n - widgetEvent (WidgetEventEnvelope)\n - pageSaveRequested (WidgetPageDefinition)\n - agenticAuthoringApplied (PageBuilderApplyResult)\n - agenticAuthoringSharedRuleHandoff (PageBuilderAgenticAuthoringSharedRuleHandoff)\n - pageRestart (void)\n - savedPageDeleteRequested (void)\n",
|
|
4127
4160
|
"sourcePointer": "projects/praxis-page-builder/src/lib/praxis-page-builder.metadata.ts",
|
|
4128
|
-
"contentHash": "
|
|
4161
|
+
"contentHash": "a68069ddee613ad3eb0f01b4a7b94036e7b63b55005fbdf55a3fc065b8cf36ec",
|
|
4129
4162
|
"sourceKind": "component_definition",
|
|
4130
4163
|
"sourceId": "praxis-page-builder",
|
|
4131
4164
|
"corpusVersion": "1.0.0"
|
|
@@ -4313,9 +4346,9 @@
|
|
|
4313
4346
|
{
|
|
4314
4347
|
"chunkIndex": 19,
|
|
4315
4348
|
"chunkKind": "authoring_manifest",
|
|
4316
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.5.2\",\"componentId\":\"praxis-page-builder\",\"ownerPackage\":\"@praxisui/page-builder\",\"configSchemaId\":\"WidgetPageDefinition\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"autoPersist\",\"type\":\"boolean\",\"description\":\"Host-only opt-in Core persistence for manual pages. Disabled for agentic authoring and authoringDocument; never use to persist an AI preview.\"},{\"name\":\"page\",\"type\":\"WidgetPageDefinition\",\"description\":\"Canonical renderable page document consumed by praxis-dynamic-page.\"},{\"name\":\"pageIdentity\",\"type\":\"PageIdentity | null\",\"description\":\"Persistence identity for ui_user_config save/apply flows; not persisted inside page.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Enables page-builder authoring chrome around the runtime page.\"},{\"name\":\"authoringCapabilities\",\"type\":\"PageBuilderAuthoringCapabilities | null\",\"description\":\"Host-only grant that limits visible authoring operations without changing WidgetPageDefinition and without granting AI edit authority; omitted capabilities preserve full authoring.\"},{\"name\":\"context\",\"type\":\"Record<string, unknown>\",\"description\":\"Opaque host context passed to catalog resolution and agentic authoring.\"},{\"name\":\"pageChange\",\"type\":\"WidgetPageDefinition\",\"description\":\"Emitted after local apply/preview produces a renderable page.\"},{\"name\":\"pageAuthoringChange\",\"type\":\"WidgetPageDefinition\",\"description\":\"Emitted only after explicit visual authoring operations so hosts can keep authored source separate from runtime state.\"},{\"name\":\"agenticAuthoringEnableStreaming\",\"type\":\"boolean\",\"description\":\"Opt-in flag for the canonical streaming turn endpoints.\"},{\"name\":\"agenticAuthoringIncludeLlmDiagnostics\",\"type\":\"boolean\",\"description\":\"Opt-in flag that exposes governed diagnostics as cockpit evidence for validation and debugging.\"},{\"name\":\"agenticAuthoringContextHints\",\"type\":\"Record<string, unknown>\",\"description\":\"Host-provided semantic hints, including governed domain-catalog references and optional RAG-authored openingMessage used to ground AI-authored decisions.\"}]}",
|
|
4349
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.5.2\",\"componentId\":\"praxis-page-builder\",\"ownerPackage\":\"@praxisui/page-builder\",\"configSchemaId\":\"WidgetPageDefinition\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"autoPersist\",\"type\":\"boolean\",\"description\":\"Host-only opt-in Core persistence for manual pages. Disabled for agentic authoring and authoringDocument; never use to persist an AI preview.\"},{\"name\":\"autoPersistPolicy\",\"type\":\"'independent' | 'suspend-when-agentic' | 'disabled' | null\",\"description\":\"Host-only policy explicitly decoupling runtime auto-persistence from agentic authoring.\"},{\"name\":\"siblingGridGeometrySync\",\"type\":\"boolean | SiblingGridGeometrySyncPolicy | null\",\"description\":\"Declaratively aligns sibling tab canvas coordinates during persistence preparation.\"},{\"name\":\"integrityPolicy\",\"type\":\"PageIntegrityPolicy | null\",\"description\":\"Fail-closed structural reconciliation policy enforced during page hydration and persistence.\"},{\"name\":\"page\",\"type\":\"WidgetPageDefinition\",\"description\":\"Canonical renderable page document consumed by praxis-dynamic-page.\"},{\"name\":\"pageIdentity\",\"type\":\"PageIdentity | null\",\"description\":\"Persistence identity for ui_user_config save/apply flows; not persisted inside page.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Enables page-builder authoring chrome around the runtime page.\"},{\"name\":\"authoringCapabilities\",\"type\":\"PageBuilderAuthoringCapabilities | null\",\"description\":\"Host-only grant that limits visible authoring operations without changing WidgetPageDefinition and without granting AI edit authority; omitted capabilities preserve full authoring.\"},{\"name\":\"context\",\"type\":\"Record<string, unknown>\",\"description\":\"Opaque host context passed to catalog resolution and agentic authoring.\"},{\"name\":\"pageChange\",\"type\":\"WidgetPageDefinition\",\"description\":\"Emitted after local apply/preview produces a renderable page.\"},{\"name\":\"pageAuthoringChange\",\"type\":\"WidgetPageDefinition\",\"description\":\"Emitted only after explicit visual authoring operations so hosts can keep authored source separate from runtime state.\"},{\"name\":\"agenticAuthoringEnableStreaming\",\"type\":\"boolean\",\"description\":\"Opt-in flag for the canonical streaming turn endpoints.\"},{\"name\":\"agenticAuthoringIncludeLlmDiagnostics\",\"type\":\"boolean\",\"description\":\"Opt-in flag that exposes governed diagnostics as cockpit evidence for validation and debugging.\"},{\"name\":\"agenticAuthoringContextHints\",\"type\":\"Record<string, unknown>\",\"description\":\"Host-provided semantic hints, including governed domain-catalog references and optional RAG-authored openingMessage used to ground AI-authored decisions.\"}]}",
|
|
4317
4350
|
"sourcePointer": "projects/praxis-page-builder/src/lib/ai/praxis-page-builder-authoring-manifest.ts",
|
|
4318
|
-
"contentHash": "
|
|
4351
|
+
"contentHash": "c1adfee193d90c8bbca21c1a08c8c1c52213ef2eb041ebef799a1ce09178eb78",
|
|
4319
4352
|
"sourceKind": "component_definition",
|
|
4320
4353
|
"sourceId": "praxis-page-builder",
|
|
4321
4354
|
"corpusVersion": "1.0.0"
|