@praxisui/page-builder 9.0.0-beta.11 → 9.0.0-beta.14
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.
|
@@ -22422,6 +22422,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
22422
22422
|
type: Output
|
|
22423
22423
|
}] } });
|
|
22424
22424
|
|
|
22425
|
+
/** Metadata for Praxis Page Builder component */
|
|
22426
|
+
const PRAXIS_PAGE_BUILDER_COMPONENT_METADATA = {
|
|
22427
|
+
id: 'praxis-page-builder',
|
|
22428
|
+
selector: 'praxis-dynamic-page-builder',
|
|
22429
|
+
component: DynamicPageBuilderComponent,
|
|
22430
|
+
friendlyName: 'Praxis Page Builder',
|
|
22431
|
+
description: 'Page builder using the canonical praxis-dynamic-page runtime.',
|
|
22432
|
+
tags: ['widget', 'page-builder', 'configurable'],
|
|
22433
|
+
lib: '@praxisui/page-builder',
|
|
22434
|
+
outputs: [
|
|
22435
|
+
{
|
|
22436
|
+
name: 'pageChange',
|
|
22437
|
+
type: 'WidgetPageDefinition',
|
|
22438
|
+
description: 'Emits the governed page definition after runtime or builder edits.',
|
|
22439
|
+
},
|
|
22440
|
+
{
|
|
22441
|
+
name: 'widgetEvent',
|
|
22442
|
+
type: 'WidgetEventEnvelope',
|
|
22443
|
+
description: 'Reemits child runtime widget events so host integrations can open governed previews, actions, and discovery surfaces.',
|
|
22444
|
+
},
|
|
22445
|
+
{
|
|
22446
|
+
name: 'pageSaveRequested',
|
|
22447
|
+
type: 'WidgetPageDefinition',
|
|
22448
|
+
description: 'Requests persistence for the current page definition.',
|
|
22449
|
+
},
|
|
22450
|
+
{
|
|
22451
|
+
name: 'agenticAuthoringApplied',
|
|
22452
|
+
type: 'PageBuilderApplyResult',
|
|
22453
|
+
description: 'Emits after an agentic authoring proposal is applied.',
|
|
22454
|
+
},
|
|
22455
|
+
{
|
|
22456
|
+
name: 'agenticAuthoringSharedRuleHandoff',
|
|
22457
|
+
type: 'PageBuilderAgenticAuthoringSharedRuleHandoff',
|
|
22458
|
+
description: 'Emits a governed shared-rule handoff from the agentic authoring flow.',
|
|
22459
|
+
},
|
|
22460
|
+
{
|
|
22461
|
+
name: 'pageRestart',
|
|
22462
|
+
type: 'void',
|
|
22463
|
+
description: 'Requests a host-confirmed page restart.',
|
|
22464
|
+
},
|
|
22465
|
+
{
|
|
22466
|
+
name: 'savedPageDeleteRequested',
|
|
22467
|
+
type: 'void',
|
|
22468
|
+
description: 'Requests deletion of the saved page revision.',
|
|
22469
|
+
},
|
|
22470
|
+
],
|
|
22471
|
+
};
|
|
22472
|
+
/** Provider para auto-registrar metadados do componente Page Builder. */
|
|
22473
|
+
function providePraxisPageBuilderMetadata() {
|
|
22474
|
+
return {
|
|
22475
|
+
provide: ENVIRONMENT_INITIALIZER,
|
|
22476
|
+
multi: true,
|
|
22477
|
+
useFactory: (registry) => () => {
|
|
22478
|
+
registry.register(PRAXIS_PAGE_BUILDER_COMPONENT_METADATA);
|
|
22479
|
+
},
|
|
22480
|
+
deps: [ComponentMetadataRegistry],
|
|
22481
|
+
};
|
|
22482
|
+
}
|
|
22483
|
+
|
|
22425
22484
|
/*
|
|
22426
22485
|
* Public API Surface of @praxisui/page-builder
|
|
22427
22486
|
*/
|
|
@@ -22431,4 +22490,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
22431
22490
|
* Generated bundle index. Do not edit.
|
|
22432
22491
|
*/
|
|
22433
22492
|
|
|
22434
|
-
export { ComponentPaletteDialogComponent, ConfirmDialogComponent, ConnectionEditorComponent, DynamicPageBuilderComponent, DynamicPageConfigEditorComponent, FloatingToolbarComponent, PAGE_BUILDER_AGENTIC_AUTHORING_OPTIONS, PAGE_BUILDER_AI_CAPABILITIES, PAGE_BUILDER_COMPONENT_CONTEXT_PACK, PAGE_BUILDER_WIDGET_AI_CATALOGS, PLACEHOLDER, PRAXIS_PAGE_BUILDER_AUTHORING_MANIFEST, PageBuilderAgenticAuthoringService, PageConfigEditorComponent, TileToolbarComponent, WidgetShellEditorComponent, clearWidgetAiCatalogs, compileUiCompositionPlan, getPageAiCatalog, getWidgetAiCapabilities, providePageBuilderWidgetAiCatalogs, registerWidgetAiCatalog, registerWidgetAiCatalogs, validateUiCompositionPlan };
|
|
22493
|
+
export { ComponentPaletteDialogComponent, ConfirmDialogComponent, ConnectionEditorComponent, DynamicPageBuilderComponent, DynamicPageConfigEditorComponent, FloatingToolbarComponent, PAGE_BUILDER_AGENTIC_AUTHORING_OPTIONS, PAGE_BUILDER_AI_CAPABILITIES, PAGE_BUILDER_COMPONENT_CONTEXT_PACK, PAGE_BUILDER_WIDGET_AI_CATALOGS, PLACEHOLDER, PRAXIS_PAGE_BUILDER_AUTHORING_MANIFEST, PRAXIS_PAGE_BUILDER_COMPONENT_METADATA, PageBuilderAgenticAuthoringService, PageConfigEditorComponent, TileToolbarComponent, WidgetShellEditorComponent, clearWidgetAiCatalogs, compileUiCompositionPlan, getPageAiCatalog, getWidgetAiCapabilities, providePageBuilderWidgetAiCatalogs, providePraxisPageBuilderMetadata, registerWidgetAiCatalog, registerWidgetAiCatalogs, validateUiCompositionPlan };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/page-builder",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.14",
|
|
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.
|
|
12
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
13
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
11
|
+
"@praxisui/ai": "^9.0.0-beta.14",
|
|
12
|
+
"@praxisui/core": "^9.0.0-beta.14",
|
|
13
|
+
"@praxisui/settings-panel": "^9.0.0-beta.14",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
".": {
|
|
40
40
|
"types": "./types/praxisui-page-builder.d.ts",
|
|
41
41
|
"default": "./fesm2022/praxisui-page-builder.mjs"
|
|
42
|
+
},
|
|
43
|
+
"./ai/component-registry.json": {
|
|
44
|
+
"default": "./ai/component-registry.json"
|
|
42
45
|
}
|
|
43
46
|
},
|
|
44
47
|
"type": "module"
|
|
45
|
-
}
|
|
48
|
+
}
|
|
@@ -1959,5 +1959,10 @@ declare class DynamicPageBuilderComponent implements OnChanges, OnDestroy {
|
|
|
1959
1959
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicPageBuilderComponent, "praxis-dynamic-page-builder", never, { "page": { "alias": "page"; "required": false; }; "context": { "alias": "context"; "required": false; }; "strictValidation": { "alias": "strictValidation"; "required": false; }; "autoPersist": { "alias": "autoPersist"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "showSettingsButton": { "alias": "showSettingsButton"; "required": false; }; "pageIdentity": { "alias": "pageIdentity"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "pageEditorComponent": { "alias": "pageEditorComponent"; "required": false; }; "componentPaletteAllowedWidgetIds": { "alias": "componentPaletteAllowedWidgetIds"; "required": false; }; "componentPaletteAllowedWidgetTags": { "alias": "componentPaletteAllowedWidgetTags"; "required": false; }; "componentPaletteAllowedPresetIds": { "alias": "componentPaletteAllowedPresetIds"; "required": false; }; "enableAgenticAuthoring": { "alias": "enableAgenticAuthoring"; "required": false; }; "agenticAuthoringProvider": { "alias": "agenticAuthoringProvider"; "required": false; }; "agenticAuthoringModel": { "alias": "agenticAuthoringModel"; "required": false; }; "agenticAuthoringApiKey": { "alias": "agenticAuthoringApiKey"; "required": false; }; "agenticAuthoringComponentId": { "alias": "agenticAuthoringComponentId"; "required": false; }; "agenticAuthoringScope": { "alias": "agenticAuthoringScope"; "required": false; }; "agenticAuthoringEtag": { "alias": "agenticAuthoringEtag"; "required": false; }; "agenticAuthoringIncludeLlmDiagnostics": { "alias": "agenticAuthoringIncludeLlmDiagnostics"; "required": false; }; "agenticAuthoringEnableStreaming": { "alias": "agenticAuthoringEnableStreaming"; "required": false; }; "agenticAuthoringContextHints": { "alias": "agenticAuthoringContextHints"; "required": false; }; "showPageLifecycleActions": { "alias": "showPageLifecycleActions"; "required": false; }; "canDeleteSavedPage": { "alias": "canDeleteSavedPage"; "required": false; }; "pageLifecycleBusy": { "alias": "pageLifecycleBusy"; "required": false; }; "pageLifecycleResetRevision": { "alias": "pageLifecycleResetRevision"; "required": false; }; }, { "pageChange": "pageChange"; "widgetEvent": "widgetEvent"; "pageSaveRequested": "pageSaveRequested"; "agenticAuthoringApplied": "agenticAuthoringApplied"; "agenticAuthoringSharedRuleHandoff": "agenticAuthoringSharedRuleHandoff"; "pageRestart": "pageRestart"; "savedPageDeleteRequested": "savedPageDeleteRequested"; }, never, never, true, never>;
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
|
-
|
|
1962
|
+
/** Metadata for Praxis Page Builder component */
|
|
1963
|
+
declare const PRAXIS_PAGE_BUILDER_COMPONENT_METADATA: ComponentDocMeta;
|
|
1964
|
+
/** Provider para auto-registrar metadados do componente Page Builder. */
|
|
1965
|
+
declare function providePraxisPageBuilderMetadata(): Provider;
|
|
1966
|
+
|
|
1967
|
+
export { ComponentPaletteDialogComponent, ConfirmDialogComponent, ConnectionEditorComponent, DynamicPageBuilderComponent, DynamicPageConfigEditorComponent, FloatingToolbarComponent, PAGE_BUILDER_AGENTIC_AUTHORING_OPTIONS, PAGE_BUILDER_AI_CAPABILITIES, PAGE_BUILDER_COMPONENT_CONTEXT_PACK, PAGE_BUILDER_WIDGET_AI_CATALOGS, PLACEHOLDER, PRAXIS_PAGE_BUILDER_AUTHORING_MANIFEST, PRAXIS_PAGE_BUILDER_COMPONENT_METADATA, PageBuilderAgenticAuthoringService, PageConfigEditorComponent, TileToolbarComponent, WidgetShellEditorComponent, clearWidgetAiCatalogs, compileUiCompositionPlan, getPageAiCatalog, getWidgetAiCapabilities, providePageBuilderWidgetAiCatalogs, providePraxisPageBuilderMetadata, registerWidgetAiCatalog, registerWidgetAiCatalogs, validateUiCompositionPlan };
|
|
1963
1968
|
export type { Capability, CapabilityCatalog, CapabilityCategory, ComponentPaletteData, ComponentPaletteSelection, ConfirmDialogData, PageBuilderAgenticAuthoringAttachmentSummary, PageBuilderAgenticAuthoringCandidate, PageBuilderAgenticAuthoringComponentCapabilitiesResult, PageBuilderAgenticAuthoringComponentCapability, PageBuilderAgenticAuthoringComponentCapabilityCatalog, PageBuilderAgenticAuthoringComponentCapabilityExample, PageBuilderAgenticAuthoringComponentFieldAlias, PageBuilderAgenticAuthoringConversationMessage, PageBuilderAgenticAuthoringGateResult, PageBuilderAgenticAuthoringIntentResolutionRequest, PageBuilderAgenticAuthoringIntentResolutionResult, PageBuilderAgenticAuthoringOptions, PageBuilderAgenticAuthoringPendingClarification, PageBuilderAgenticAuthoringPromptRequest, PageBuilderAgenticAuthoringProvider, PageBuilderAgenticAuthoringQuickReply, PageBuilderAgenticAuthoringResourceCandidatesRequest, PageBuilderAgenticAuthoringResourceCandidatesResult, PageBuilderAgenticAuthoringSharedRuleHandoff, PageBuilderAgenticAuthoringTarget, PageBuilderAgenticAuthoringTurnStreamConnectionError, PageBuilderAgenticAuthoringTurnStreamEvent, PageBuilderAgenticAuthoringTurnStreamRequest, PageBuilderAgenticAuthoringTurnStreamStartResponse, PageBuilderApplyRequest, PageBuilderApplyResult, PageBuilderCompiledFormPatch, PageBuilderMinimalFormPlanResult, PageBuilderPreviewDiagnostics, PageBuilderPreviewResult, PageBuilderProjectKnowledgeAudit, UiCompositionPlan, UiCompositionPlanBinding, UiCompositionPlanCompileResult, UiCompositionPlanComponentPortEndpoint, UiCompositionPlanDiagnostic, UiCompositionPlanEndpoint, UiCompositionPlanGlobalActionEndpoint, UiCompositionPlanInputSource, UiCompositionPlanSourceEndpoint, UiCompositionPlanStateEndpoint, UiCompositionPlanTargetEndpoint, UiCompositionPlanTransform, UiCompositionPlanWidget, ValueKind };
|