@praxisui/page-builder 8.0.0-beta.99 → 9.0.0-beta.0
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 +12 -5
- package/fesm2022/praxisui-page-builder.mjs +1117 -581
- package/package.json +4 -4
- package/types/praxisui-page-builder.d.ts +69 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/page-builder",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-beta.0",
|
|
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": "^
|
|
12
|
-
"@praxisui/core": "^
|
|
13
|
-
"@praxisui/settings-panel": "^
|
|
11
|
+
"@praxisui/ai": "^9.0.0-beta.0",
|
|
12
|
+
"@praxisui/core": "^9.0.0-beta.0",
|
|
13
|
+
"@praxisui/settings-panel": "^9.0.0-beta.0",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { EventEmitter, OnInit, WritableSignal, InjectionToken, Provider, OnChanges, Type, SimpleChanges } from '@angular/core';
|
|
4
|
-
import { ComponentDocMeta, ComponentMetadataRegistry, WidgetShellConfig, WidgetShellAction, EndpointRef, ComponentPortPathSegment, LinkIntent, CompositionLink, WidgetPageDefinition, TransformKind, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, WidgetPageGroupingDefinition, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, PageIdentity, WidgetStateNode, WidgetDerivedStateNode, AiCapability, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, DomainKnowledgeChangeSetRequest, DomainKnowledgeChangeSet, DomainKnowledgeChangeSetTimelineResponse, DomainKnowledgeChangeSetFilters, DomainKnowledgeValidationResponse, DomainKnowledgeStatusTransitionRequest, DomainRuleIntakeRequest, DomainRuleIntakeResponse, DomainRuleDefinitionRequest, DomainRuleDefinition, DomainRuleSimulationRequest, DomainRuleSimulationResponse, DomainRuleStatusTransitionRequest, DomainRulePublicationRequest, DomainRulePublicationResponse, DomainRuleMaterializationFilters, DomainRuleMaterialization, DomainRuleTimelineResponse, WidgetPageCanvasLayout, WidgetPageDeviceLayouts, WidgetPageSlotAssignments, WidgetPageStateInput, WidgetInstance, ComponentContextPack, ComponentAuthoringManifest, DynamicWidgetPageComponent, WidgetEventEnvelope, SettingsPanelBridge, RichTimelineItem } from '@praxisui/core';
|
|
3
|
+
import { EventEmitter, OnInit, WritableSignal, InjectionToken, Provider, OnChanges, OnDestroy, Type, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { ComponentDocMeta, ComponentMetadataRegistry, WidgetShellConfig, WidgetShellAction, EndpointRef, ComponentPortPathSegment, LinkIntent, CompositionLink, WidgetPageDefinition, TransformKind, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, WidgetPageGroupingDefinition, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, PageIdentity, WidgetStateNode, WidgetDerivedStateNode, AiCapability, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, DomainKnowledgeChangeSetRequest, DomainKnowledgeChangeSet, DomainKnowledgeChangeSetTimelineResponse, DomainKnowledgeChangeSetFilters, DomainKnowledgeValidationResponse, DomainKnowledgeStatusTransitionRequest, DomainRuleIntakeRequest, DomainRuleIntakeResponse, DomainRuleDefinitionRequest, DomainRuleDefinition, DomainRuleSimulationRequest, DomainRuleSimulationResponse, DomainRuleStatusTransitionRequest, DomainRulePublicationRequest, DomainRulePublicationResponse, DomainRuleMaterializationFilters, DomainRuleMaterialization, DomainRuleTimelineResponse, PraxisRuntimeComponentObservationEnvelope, WidgetPageCanvasLayout, WidgetPageDeviceLayouts, WidgetPageSlotAssignments, WidgetPageStateInput, WidgetInstance, ComponentContextPack, ComponentAuthoringManifest, DynamicWidgetPageComponent, WidgetEventEnvelope, SettingsPanelBridge, RichTimelineItem } from '@praxisui/core';
|
|
5
5
|
export { WidgetShellComponent } from '@praxisui/core';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
import { FormGroup, FormControl, FormArray } from '@angular/forms';
|
|
9
9
|
import { SettingsValueProvider } from '@praxisui/settings-panel';
|
|
10
|
-
import { AgenticAuthoringAttachmentSummaryContract, AgenticAuthoringCandidateContract, AiJsonValue, AgenticAuthoringComponentCapabilitiesResultContract, AgenticAuthoringComponentCapabilityCatalogContract, AgenticAuthoringComponentCapabilityContract, AgenticAuthoringComponentFieldAliasContract, AgenticAuthoringComponentCapabilityExampleContract, AgenticAuthoringConversationMessageContract, AgenticAuthoringIntentResolutionRequestContract, AgenticAuthoringQuickReplyContract, AgenticAuthoringPendingClarificationContract, AiContextHintsContract,
|
|
10
|
+
import { AgenticAuthoringAttachmentSummaryContract, AgenticAuthoringCandidateContract, AiJsonValue, AgenticAuthoringComponentCapabilitiesResultContract, AgenticAuthoringComponentCapabilityCatalogContract, AgenticAuthoringComponentCapabilityContract, AgenticAuthoringComponentFieldAliasContract, AgenticAuthoringComponentCapabilityExampleContract, AgenticAuthoringConversationMessageContract, AgenticAuthoringIntentResolutionRequestContract, AiJsonObject, AgenticAuthoringQuickReplyContract, AgenticAuthoringPendingClarificationContract, AiContextHintsContract, AgenticAuthoringSemanticDecisionContract, AgenticAuthoringPlanRequestContract, AgenticAuthoringResourceCandidatesRequestContract, AgenticAuthoringResourceCandidatesResultContract, AgenticAuthoringTurnStreamEnvelopeContract, AgenticAuthoringTurnStreamStartResponseContract, PraxisAssistantShellMessage, PraxisAssistantShellQuickReply, PraxisAssistantShellAttachment, PraxisAssistantShellLayout, PraxisAssistantSessionSnapshot, PraxisAssistantShellLabels, PraxisAssistantShellAction, PraxisAssistantShellState, PraxisAssistantShellContextItem } from '@praxisui/ai';
|
|
11
11
|
|
|
12
12
|
declare const PLACEHOLDER = 1;
|
|
13
13
|
|
|
@@ -42,6 +42,12 @@ declare class FloatingToolbarComponent {
|
|
|
42
42
|
canRedo: boolean;
|
|
43
43
|
showSave: boolean;
|
|
44
44
|
showPreview: boolean;
|
|
45
|
+
editingEnabled: boolean;
|
|
46
|
+
previewActive: boolean;
|
|
47
|
+
connectionMode: boolean;
|
|
48
|
+
modeLabel: string;
|
|
49
|
+
previewLabel: string;
|
|
50
|
+
exitPreviewLabel: string;
|
|
45
51
|
add: EventEmitter<void>;
|
|
46
52
|
undo: EventEmitter<void>;
|
|
47
53
|
redo: EventEmitter<void>;
|
|
@@ -49,7 +55,7 @@ declare class FloatingToolbarComponent {
|
|
|
49
55
|
preview: EventEmitter<void>;
|
|
50
56
|
save: EventEmitter<void>;
|
|
51
57
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FloatingToolbarComponent, never>;
|
|
52
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FloatingToolbarComponent, "praxis-floating-toolbar", never, { "visible": { "alias": "visible"; "required": false; }; "canUndo": { "alias": "canUndo"; "required": false; }; "canRedo": { "alias": "canRedo"; "required": false; }; "showSave": { "alias": "showSave"; "required": false; }; "showPreview": { "alias": "showPreview"; "required": false; }; }, { "add": "add"; "undo": "undo"; "redo": "redo"; "settings": "settings"; "preview": "preview"; "save": "save"; }, never, ["[pdx-toolbar-extra]"], true, never>;
|
|
58
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FloatingToolbarComponent, "praxis-floating-toolbar", never, { "visible": { "alias": "visible"; "required": false; }; "canUndo": { "alias": "canUndo"; "required": false; }; "canRedo": { "alias": "canRedo"; "required": false; }; "showSave": { "alias": "showSave"; "required": false; }; "showPreview": { "alias": "showPreview"; "required": false; }; "editingEnabled": { "alias": "editingEnabled"; "required": false; }; "previewActive": { "alias": "previewActive"; "required": false; }; "connectionMode": { "alias": "connectionMode"; "required": false; }; "modeLabel": { "alias": "modeLabel"; "required": false; }; "previewLabel": { "alias": "previewLabel"; "required": false; }; "exitPreviewLabel": { "alias": "exitPreviewLabel"; "required": false; }; }, { "add": "add"; "undo": "undo"; "redo": "redo"; "settings": "settings"; "preview": "preview"; "save": "save"; }, never, ["[pdx-toolbar-extra]"], true, never>;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
interface ComponentPaletteSelection {
|
|
@@ -61,6 +67,7 @@ interface ComponentPaletteData {
|
|
|
61
67
|
title?: string;
|
|
62
68
|
allowedWidgetIds?: string[];
|
|
63
69
|
allowedWidgetTags?: string[];
|
|
70
|
+
allowedPresetIds?: string[];
|
|
64
71
|
predicate?: (m: ComponentDocMeta) => boolean;
|
|
65
72
|
}
|
|
66
73
|
interface ComponentPaletteEntry {
|
|
@@ -1160,25 +1167,12 @@ interface PageBuilderAgenticAuthoringOptions {
|
|
|
1160
1167
|
sharedRuleGetDefinitionTimeline?: (definitionId: string, options?: {
|
|
1161
1168
|
headers?: Record<string, string> | undefined;
|
|
1162
1169
|
}) => Observable<DomainRuleTimelineResponse>;
|
|
1163
|
-
eventSourceFactory?: PageBuilderAgenticAuthoringEventSourceFactory;
|
|
1164
1170
|
requestTimeoutMs?: number;
|
|
1165
1171
|
streamStartTimeoutMs?: number;
|
|
1166
1172
|
streamTurnTimeoutMs?: number;
|
|
1167
1173
|
streamResultFallbackMs?: number;
|
|
1168
1174
|
streamSilenceStatusMs?: number;
|
|
1169
|
-
streamConnectionErrorGraceMs?: number;
|
|
1170
1175
|
}
|
|
1171
|
-
interface PageBuilderAgenticAuthoringEventSource {
|
|
1172
|
-
readonly readyState?: number;
|
|
1173
|
-
onmessage: ((event: MessageEvent<string>) => void) | null;
|
|
1174
|
-
onerror: ((event: Event) => void) | null;
|
|
1175
|
-
addEventListener?(type: string, listener: (event: MessageEvent<string>) => void): void;
|
|
1176
|
-
close(): void;
|
|
1177
|
-
}
|
|
1178
|
-
interface PageBuilderAgenticAuthoringEventSourceOptions {
|
|
1179
|
-
withCredentials?: boolean;
|
|
1180
|
-
}
|
|
1181
|
-
type PageBuilderAgenticAuthoringEventSourceFactory = (url: string, options?: PageBuilderAgenticAuthoringEventSourceOptions) => PageBuilderAgenticAuthoringEventSource;
|
|
1182
1176
|
interface PageBuilderAgenticAuthoringTurnStreamConnectionError {
|
|
1183
1177
|
readonly praxisAgenticTurnStreamConnectionError: true;
|
|
1184
1178
|
readonly cause: unknown;
|
|
@@ -1214,6 +1208,9 @@ interface PageBuilderAgenticAuthoringTurnStreamRequest {
|
|
|
1214
1208
|
componentCapabilities?: PageBuilderAgenticAuthoringComponentCapabilitiesResult | null;
|
|
1215
1209
|
attachmentSummaries?: PageBuilderAgenticAuthoringAttachmentSummary[];
|
|
1216
1210
|
contextHints?: AiContextHintsContract | null;
|
|
1211
|
+
diagnostics?: AiJsonObject | null;
|
|
1212
|
+
runtimeComponentObservations?: readonly PraxisRuntimeComponentObservationEnvelope[];
|
|
1213
|
+
runtimeComponentObservationTrustBoundary?: 'untrusted_frontend_observation';
|
|
1217
1214
|
}
|
|
1218
1215
|
type PageBuilderAgenticAuthoringConversationMessage = AgenticAuthoringConversationMessageContract;
|
|
1219
1216
|
type PageBuilderAgenticAuthoringPendingClarification = AgenticAuthoringPendingClarificationContract;
|
|
@@ -1294,6 +1291,7 @@ interface PageBuilderAgenticAuthoringIntentResolutionResult {
|
|
|
1294
1291
|
gate: PageBuilderAgenticAuthoringGateResult;
|
|
1295
1292
|
effectivePrompt?: string | null;
|
|
1296
1293
|
assistantMessage?: string | null;
|
|
1294
|
+
assistantContent?: AiJsonObject | null;
|
|
1297
1295
|
quickReplies?: PageBuilderAgenticAuthoringQuickReply[];
|
|
1298
1296
|
pendingClarification?: PageBuilderAgenticAuthoringPendingClarification | null;
|
|
1299
1297
|
clarificationQuestions: string[];
|
|
@@ -1381,6 +1379,7 @@ interface PageBuilderApplyResult {
|
|
|
1381
1379
|
declare const PAGE_BUILDER_AGENTIC_AUTHORING_OPTIONS: InjectionToken<PageBuilderAgenticAuthoringOptions>;
|
|
1382
1380
|
declare class PageBuilderAgenticAuthoringService {
|
|
1383
1381
|
private readonly http;
|
|
1382
|
+
private readonly turnClient;
|
|
1384
1383
|
private readonly options;
|
|
1385
1384
|
private readonly baseUrl;
|
|
1386
1385
|
private readonly headersFactory;
|
|
@@ -1390,23 +1389,18 @@ declare class PageBuilderAgenticAuthoringService {
|
|
|
1390
1389
|
searchResourceCandidates(request: PageBuilderAgenticAuthoringResourceCandidatesRequest): Observable<PageBuilderAgenticAuthoringResourceCandidatesResult>;
|
|
1391
1390
|
streamTurn(request: PageBuilderAgenticAuthoringTurnStreamRequest): Observable<PageBuilderAgenticAuthoringTurnStreamEvent>;
|
|
1392
1391
|
applyPage(request: PageBuilderApplyRequest): Observable<PageBuilderApplyResult>;
|
|
1392
|
+
private buildHeaderRecord;
|
|
1393
1393
|
private buildHeaders;
|
|
1394
|
-
private
|
|
1395
|
-
private
|
|
1396
|
-
private
|
|
1397
|
-
private findSseFrameBoundary;
|
|
1394
|
+
private toTurnStreamEvent;
|
|
1395
|
+
private toTurnStreamError;
|
|
1396
|
+
private toRecord;
|
|
1398
1397
|
private streamStartTimeoutMs;
|
|
1399
1398
|
private streamTurnTimeoutMs;
|
|
1400
1399
|
private streamResultFallbackMs;
|
|
1401
1400
|
private streamSilenceStatusMs;
|
|
1402
|
-
private streamSilenceStatusEvent;
|
|
1403
1401
|
private streamLifecycleStatusEvent;
|
|
1404
1402
|
private requestTimeoutMs;
|
|
1405
1403
|
private streamConnectionError;
|
|
1406
|
-
private buildStreamUrl;
|
|
1407
|
-
private buildStreamProbeUrl;
|
|
1408
|
-
private createEventSource;
|
|
1409
|
-
private probeTurnStreamEndpoint;
|
|
1410
1404
|
private formatEtag;
|
|
1411
1405
|
private normalizeIntentResolutionResult;
|
|
1412
1406
|
private normalizeStringList;
|
|
@@ -1596,6 +1590,20 @@ interface AgenticAuthoringQuickReply extends PraxisAssistantShellQuickReply {
|
|
|
1596
1590
|
kind: string;
|
|
1597
1591
|
}
|
|
1598
1592
|
type AgenticAuthoringPanelLayout = PraxisAssistantShellLayout;
|
|
1593
|
+
type PageBuilderPremiumReadinessSeverity = 'info' | 'warning' | 'error';
|
|
1594
|
+
type PageBuilderPremiumReadinessActionKind = 'open-page-settings' | 'open-connections' | 'open-widget-config' | 'focus-widget';
|
|
1595
|
+
interface PageBuilderPremiumReadinessAction {
|
|
1596
|
+
kind: PageBuilderPremiumReadinessActionKind;
|
|
1597
|
+
label: string;
|
|
1598
|
+
widgetKey?: string;
|
|
1599
|
+
}
|
|
1600
|
+
interface PageBuilderPremiumReadinessIssue {
|
|
1601
|
+
id: string;
|
|
1602
|
+
severity: PageBuilderPremiumReadinessSeverity;
|
|
1603
|
+
title: string;
|
|
1604
|
+
description: string;
|
|
1605
|
+
action?: PageBuilderPremiumReadinessAction;
|
|
1606
|
+
}
|
|
1599
1607
|
type SharedRuleCockpitAction = 'definition' | 'simulation' | 'approve' | 'activate' | 'publication' | 'materializations' | 'timeline' | 'enforcement';
|
|
1600
1608
|
type ProjectKnowledgeCockpitAction = 'change-set' | 'validate' | 'approve' | 'reject' | 'apply' | 'readback';
|
|
1601
1609
|
interface SharedRuleEnforcementSummary {
|
|
@@ -1635,15 +1643,17 @@ interface PageBuilderAgenticAuthoringSharedRuleHandoff {
|
|
|
1635
1643
|
routeDecisionSource?: string | null;
|
|
1636
1644
|
previewDisposition?: string | null;
|
|
1637
1645
|
}
|
|
1638
|
-
declare class DynamicPageBuilderComponent implements OnChanges {
|
|
1646
|
+
declare class DynamicPageBuilderComponent implements OnChanges, OnDestroy {
|
|
1639
1647
|
private dialog;
|
|
1640
1648
|
private settingsPanel;
|
|
1641
1649
|
private readonly i18n;
|
|
1642
1650
|
private readonly injector;
|
|
1651
|
+
private readonly hostElement;
|
|
1643
1652
|
private readonly componentMetadata;
|
|
1644
1653
|
private readonly agenticAuthoring;
|
|
1645
1654
|
private readonly agenticTurnOrchestrator;
|
|
1646
1655
|
private readonly assistantSessions;
|
|
1656
|
+
private readonly runtimeObservationRegistry;
|
|
1647
1657
|
private readonly agenticAuthoringOptions;
|
|
1648
1658
|
runtime?: DynamicWidgetPageComponent;
|
|
1649
1659
|
page?: WidgetPageDefinition | string;
|
|
@@ -1655,6 +1665,9 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1655
1665
|
pageIdentity?: PageIdentity;
|
|
1656
1666
|
componentInstanceId?: string;
|
|
1657
1667
|
pageEditorComponent: Type<any> | undefined;
|
|
1668
|
+
componentPaletteAllowedWidgetIds: string[] | null;
|
|
1669
|
+
componentPaletteAllowedWidgetTags: string[] | null;
|
|
1670
|
+
componentPaletteAllowedPresetIds: string[] | null;
|
|
1658
1671
|
enableAgenticAuthoring: boolean;
|
|
1659
1672
|
agenticAuthoringProvider?: string;
|
|
1660
1673
|
agenticAuthoringModel?: string;
|
|
@@ -1678,6 +1691,7 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1678
1691
|
savedPageDeleteRequested: EventEmitter<void>;
|
|
1679
1692
|
readonly currentPage: _angular_core.WritableSignal<WidgetPageDefinition>;
|
|
1680
1693
|
readonly hasPageWidgets: _angular_core.Signal<boolean>;
|
|
1694
|
+
readonly premiumReadinessIssues: _angular_core.Signal<PageBuilderPremiumReadinessIssue[]>;
|
|
1681
1695
|
readonly connectionsViewerOpen: _angular_core.WritableSignal<boolean>;
|
|
1682
1696
|
readonly agenticAuthoringOpen: _angular_core.WritableSignal<boolean>;
|
|
1683
1697
|
readonly agenticAuthoringPrompt: _angular_core.WritableSignal<string>;
|
|
@@ -1717,11 +1731,17 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1717
1731
|
private agenticComponentCapabilities?;
|
|
1718
1732
|
private agenticComponentCapabilitiesPromise?;
|
|
1719
1733
|
private agenticTurnController?;
|
|
1734
|
+
private readonly agenticTurnCancel$;
|
|
1735
|
+
private agenticTurnRunId;
|
|
1736
|
+
private agenticAuthoringTurnTerminalTimeoutMs;
|
|
1720
1737
|
private sharedRuleHandoffRevision;
|
|
1721
1738
|
private agenticAuthoringPanelLayoutTouched;
|
|
1722
1739
|
constructor(dialog: MatDialog, settingsPanel: SettingsPanelBridge | null);
|
|
1723
1740
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1741
|
+
ngOnDestroy(): void;
|
|
1724
1742
|
showSettings(): boolean;
|
|
1743
|
+
isPreviewMode(): boolean;
|
|
1744
|
+
builderModeLabel(): string;
|
|
1725
1745
|
onRuntimePageChange(next: WidgetPageDefinition): void;
|
|
1726
1746
|
onRuntimeWidgetEvent(event: WidgetEventEnvelope): void;
|
|
1727
1747
|
onConnectionEditorPageChange(next: WidgetPageDefinition): void;
|
|
@@ -1731,11 +1751,20 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1731
1751
|
toggleSharedRuleCockpit(): void;
|
|
1732
1752
|
toggleProjectKnowledgeCockpit(): void;
|
|
1733
1753
|
toggleConnectionsViewer(): void;
|
|
1754
|
+
connectionsToggleLabel(): string;
|
|
1734
1755
|
onAddComponent(): void;
|
|
1735
1756
|
addWidget(selection: string | ComponentPaletteSelection): void;
|
|
1757
|
+
private layoutHintsFor;
|
|
1736
1758
|
openPageSettings(): void;
|
|
1737
1759
|
saveCurrentPage(): void;
|
|
1738
1760
|
canSaveCurrentPage(): boolean;
|
|
1761
|
+
private evaluatePremiumReadiness;
|
|
1762
|
+
runPremiumReadinessAction(issue: PageBuilderPremiumReadinessIssue): void;
|
|
1763
|
+
private isPremiumReadinessCandidate;
|
|
1764
|
+
private hasDisconnectedOperationalWidgets;
|
|
1765
|
+
private latePrimaryChartKey;
|
|
1766
|
+
private usesLocalAnalyticData;
|
|
1767
|
+
private isAnalyticWidget;
|
|
1739
1768
|
applyConfigFromAdapter(config: PageBuilderConfig): void;
|
|
1740
1769
|
private createAdapterHost;
|
|
1741
1770
|
toggleAgenticAuthoring(): void;
|
|
@@ -1864,6 +1893,7 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1864
1893
|
private isAppliedSharedRuleProjection;
|
|
1865
1894
|
private formatSharedRuleTargetLayer;
|
|
1866
1895
|
private loadAgenticComponentCapabilities;
|
|
1896
|
+
private collectRuntimeComponentObservationsForAgenticTurn;
|
|
1867
1897
|
private ensureAgenticTurnController;
|
|
1868
1898
|
private applyAgenticPreviewLocally;
|
|
1869
1899
|
private applyAgenticTurnState;
|
|
@@ -1877,6 +1907,11 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1877
1907
|
private enrichSharedRuleHandoffFromIntake;
|
|
1878
1908
|
private resolveSharedRuleHeaders;
|
|
1879
1909
|
private consumeAgenticTurn;
|
|
1910
|
+
private beginAgenticTurn;
|
|
1911
|
+
private cancelActiveAgenticTurn;
|
|
1912
|
+
private isCurrentAgenticTurn;
|
|
1913
|
+
private createAgenticTurnTimeoutState;
|
|
1914
|
+
private isAgenticTurnTimeoutState;
|
|
1880
1915
|
private isAgenticTurnTerminalState;
|
|
1881
1916
|
agenticAuthoringDiagnosticsTop(): number;
|
|
1882
1917
|
agenticAuthoringLlmDiagnosticsText(): string;
|
|
@@ -1889,6 +1924,11 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1889
1924
|
private toRecord;
|
|
1890
1925
|
private resolvePreviewCompiledFormPatch;
|
|
1891
1926
|
focusCanvasWidget(widgetKey: string): void;
|
|
1927
|
+
private openWidgetConfiguration;
|
|
1928
|
+
private selectInsertedWidget;
|
|
1929
|
+
private deferInsertedWidgetFocus;
|
|
1930
|
+
private scrollInsertedWidgetIntoView;
|
|
1931
|
+
private escapeAttributeValue;
|
|
1892
1932
|
private parsePage;
|
|
1893
1933
|
private clonePage;
|
|
1894
1934
|
private clearSelectedWidgetIfMissing;
|
|
@@ -1909,8 +1949,8 @@ declare class DynamicPageBuilderComponent implements OnChanges {
|
|
|
1909
1949
|
private cloneValue;
|
|
1910
1950
|
tx(key: string, fallback: string): string;
|
|
1911
1951
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicPageBuilderComponent, [null, { optional: true; }]>;
|
|
1912
|
-
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; }; "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>;
|
|
1952
|
+
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>;
|
|
1913
1953
|
}
|
|
1914
1954
|
|
|
1915
1955
|
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 };
|
|
1916
|
-
export type { Capability, CapabilityCatalog, CapabilityCategory, ComponentPaletteData, ComponentPaletteSelection, ConfirmDialogData, PageBuilderAgenticAuthoringAttachmentSummary, PageBuilderAgenticAuthoringCandidate, PageBuilderAgenticAuthoringComponentCapabilitiesResult, PageBuilderAgenticAuthoringComponentCapability, PageBuilderAgenticAuthoringComponentCapabilityCatalog, PageBuilderAgenticAuthoringComponentCapabilityExample, PageBuilderAgenticAuthoringComponentFieldAlias, PageBuilderAgenticAuthoringConversationMessage,
|
|
1956
|
+
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 };
|