@praxisui/page-builder 9.0.0-beta.16 → 9.0.0-beta.18
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/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.18",
|
|
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.18",
|
|
12
|
+
"@praxisui/core": "^9.0.0-beta.18",
|
|
13
|
+
"@praxisui/settings-panel": "^9.0.0-beta.18",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -373,6 +373,7 @@ type ConnectionEditorFlowMode = 'all' | 'data' | 'event' | 'capability' | 'simul
|
|
|
373
373
|
type ConnectionEditorDockTab = 'json' | 'links' | 'derived' | 'export';
|
|
374
374
|
type ConnectionEditorConditionPreset = 'source-present' | 'source-id-present';
|
|
375
375
|
type ConnectionEditorPolicyPreset = 'stable-delivery' | 'skip-missing';
|
|
376
|
+
type ConnectionEditorVisualDensity = 'guided' | 'full';
|
|
376
377
|
interface DragState {
|
|
377
378
|
port: ConnectionEditorPort;
|
|
378
379
|
source: ConnectionEditorPoint;
|
|
@@ -465,6 +466,8 @@ declare class ConnectionEditorComponent {
|
|
|
465
466
|
readonly traceStepIndex: _angular_core.WritableSignal<number>;
|
|
466
467
|
readonly traceSourceNodeId: _angular_core.WritableSignal<string | null>;
|
|
467
468
|
readonly selectedPort: _angular_core.WritableSignal<ConnectionEditorPort | null>;
|
|
469
|
+
readonly hoveredNodeId: _angular_core.WritableSignal<string | null>;
|
|
470
|
+
readonly visualDensity: _angular_core.WritableSignal<ConnectionEditorVisualDensity>;
|
|
468
471
|
readonly globalActionPayloadError: _angular_core.WritableSignal<string | null>;
|
|
469
472
|
readonly pendingSegmentState: _angular_core.WritableSignal<PendingSegmentState | null>;
|
|
470
473
|
readonly dragState: _angular_core.WritableSignal<DragState | null>;
|
|
@@ -544,6 +547,8 @@ declare class ConnectionEditorComponent {
|
|
|
544
547
|
readonly visibleEdges: _angular_core.Signal<ConnectionsViewerEdge[]>;
|
|
545
548
|
readonly selectedEdge: _angular_core.Signal<ConnectionsViewerEdge | null>;
|
|
546
549
|
readonly editorGraph: _angular_core.Signal<ConnectionEditorGraph>;
|
|
550
|
+
readonly connectedNodeIds: _angular_core.Signal<Set<string>>;
|
|
551
|
+
readonly connectedPortIds: _angular_core.Signal<Set<string>>;
|
|
547
552
|
readonly editorNodes: _angular_core.Signal<ConnectionEditorNode[]>;
|
|
548
553
|
readonly navigationBounds: _angular_core.Signal<ConnectionEditorBounds>;
|
|
549
554
|
readonly minimapViewBox: _angular_core.Signal<string>;
|
|
@@ -613,6 +618,8 @@ declare class ConnectionEditorComponent {
|
|
|
613
618
|
handleEditorKeydown(event: KeyboardEvent): void;
|
|
614
619
|
setFilter(filter: ConnectionsEditorFilter): void;
|
|
615
620
|
setMode(mode: ConnectionEditorFlowMode): void;
|
|
621
|
+
toggleVisualDensity(event: Event): void;
|
|
622
|
+
visualDensityAriaLabel(): string;
|
|
616
623
|
activeModeStatus(): string;
|
|
617
624
|
setDockTab(tab: ConnectionEditorDockTab): void;
|
|
618
625
|
handleDockTabKeydown(event: KeyboardEvent, tab: ConnectionEditorDockTab): void;
|
|
@@ -694,6 +701,12 @@ declare class ConnectionEditorComponent {
|
|
|
694
701
|
isModeDimmedConnection(connection: ConnectionEditorConnection): boolean;
|
|
695
702
|
isModeDimmedNode(node: ConnectionEditorNode): boolean;
|
|
696
703
|
isModeDimmedPort(port: ConnectionEditorPort): boolean;
|
|
704
|
+
isGuidedQuietNode(node: ConnectionEditorNode): boolean;
|
|
705
|
+
areNodePortsVisible(node: ConnectionEditorNode): boolean;
|
|
706
|
+
isGuidedPortVisible(port: ConnectionEditorPort): boolean;
|
|
707
|
+
isGuidedSegmentLabelVisible(port: ConnectionEditorPort): boolean;
|
|
708
|
+
clearHoveredNode(nodeId: string): void;
|
|
709
|
+
private updateAutoExpandedNode;
|
|
697
710
|
edgeMatchesMode(edge: ConnectionsViewerEdge): boolean;
|
|
698
711
|
isNodeFocusedByConnection(node: ConnectionEditorNode): boolean;
|
|
699
712
|
isPortFocusedByConnection(port: ConnectionEditorPort): boolean;
|
|
@@ -834,20 +847,37 @@ type DeviceVariantForm = FormGroup<{
|
|
|
834
847
|
groupingOverrides: FormControl<string>;
|
|
835
848
|
widgetOverrides: FormControl<string>;
|
|
836
849
|
}>;
|
|
850
|
+
type LayoutPresetEntry = {
|
|
851
|
+
id: string;
|
|
852
|
+
label: string;
|
|
853
|
+
description: string;
|
|
854
|
+
category: string;
|
|
855
|
+
defaultColumns: number;
|
|
856
|
+
defaultGap: string;
|
|
857
|
+
slotLabels: string[];
|
|
858
|
+
requiredSlotLabels: string[];
|
|
859
|
+
deviceStacking: string;
|
|
860
|
+
preferTabsOnMobile: boolean;
|
|
861
|
+
hideSecondaryContentOnMobile: boolean;
|
|
862
|
+
defaultThemePreset: string;
|
|
863
|
+
};
|
|
864
|
+
type ThemePresetEntry = {
|
|
865
|
+
id: string;
|
|
866
|
+
label: string;
|
|
867
|
+
description: string;
|
|
868
|
+
density: string;
|
|
869
|
+
motion: string;
|
|
870
|
+
shellPreset: string;
|
|
871
|
+
chartThemePreset: string;
|
|
872
|
+
};
|
|
837
873
|
declare class DynamicPageConfigEditorComponent implements OnInit, SettingsValueProvider$1 {
|
|
838
874
|
set page(value: WidgetPageDefinition | string | null | undefined);
|
|
839
875
|
layout?: unknown;
|
|
840
876
|
presets?: unknown;
|
|
841
877
|
pagePreset?: string | null;
|
|
842
878
|
pageChange: EventEmitter<WidgetPageDefinition>;
|
|
843
|
-
readonly layoutPresetEntries:
|
|
844
|
-
|
|
845
|
-
label: string;
|
|
846
|
-
}[];
|
|
847
|
-
readonly themePresetEntries: {
|
|
848
|
-
id: string;
|
|
849
|
-
label: string;
|
|
850
|
-
}[];
|
|
879
|
+
readonly layoutPresetEntries: LayoutPresetEntry[];
|
|
880
|
+
readonly themePresetEntries: ThemePresetEntry[];
|
|
851
881
|
readonly shellPresetEntries: {
|
|
852
882
|
id: string;
|
|
853
883
|
label: string;
|
|
@@ -875,6 +905,7 @@ declare class DynamicPageConfigEditorComponent implements OnInit, SettingsValueP
|
|
|
875
905
|
readonly stateError: WritableSignal<string | null>;
|
|
876
906
|
readonly deviceError: WritableSignal<string | null>;
|
|
877
907
|
private readonly injectedData;
|
|
908
|
+
private readonly i18n;
|
|
878
909
|
private pageInput;
|
|
879
910
|
private snapshot;
|
|
880
911
|
private hydrating;
|
|
@@ -888,13 +919,24 @@ declare class DynamicPageConfigEditorComponent implements OnInit, SettingsValueP
|
|
|
888
919
|
get dirtyStateLabel(): string;
|
|
889
920
|
get selectedLayoutPresetLabel(): string;
|
|
890
921
|
get selectedThemePresetLabel(): string;
|
|
922
|
+
get selectedLayoutPresetEntry(): LayoutPresetEntry | null;
|
|
923
|
+
get selectedThemePresetEntry(): ThemePresetEntry | null;
|
|
924
|
+
get recommendedThemePresetEntry(): ThemePresetEntry | null;
|
|
891
925
|
get canvasSummaryLabel(): string;
|
|
892
926
|
onSelectedTabIndexChange(index: number): void;
|
|
893
927
|
getSettingsValue(): WidgetPageDefinition | null;
|
|
894
928
|
onSave(): WidgetPageDefinition | null;
|
|
895
929
|
reset(): void;
|
|
930
|
+
pinRecommendedThemePreset(): void;
|
|
896
931
|
addGroupingNode(seed?: WidgetPageGroupingDefinition): void;
|
|
897
932
|
removeGroupingNode(index: number): void;
|
|
933
|
+
layoutPresetSummary(preset: LayoutPresetEntry): string;
|
|
934
|
+
slotsSummary(preset: LayoutPresetEntry): string;
|
|
935
|
+
requiredSlotsSummary(preset: LayoutPresetEntry): string;
|
|
936
|
+
devicePolicySummary(preset: LayoutPresetEntry): string;
|
|
937
|
+
inheritedThemeHelp(theme: ThemePresetEntry): string;
|
|
938
|
+
groupLabel(index: number): string;
|
|
939
|
+
tx(key: string, fallback: string): string;
|
|
898
940
|
private createDeviceVariantForm;
|
|
899
941
|
private createGroupingNodeGroup;
|
|
900
942
|
private hydrate;
|