@praxisui/page-builder 10.0.0-rc.30 → 10.0.0-rc.32
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": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.32",
|
|
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": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
11
|
+
"@praxisui/ai": "^10.0.0-rc.32",
|
|
12
|
+
"@praxisui/core": "^10.0.0-rc.32",
|
|
13
|
+
"@praxisui/settings-panel": "^10.0.0-rc.32",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -71,6 +71,7 @@ interface ComponentPaletteSelection {
|
|
|
71
71
|
presetId?: string;
|
|
72
72
|
inputs?: Record<string, unknown>;
|
|
73
73
|
shell?: WidgetShellConfig;
|
|
74
|
+
colSpan?: number;
|
|
74
75
|
}
|
|
75
76
|
interface ComponentPaletteData {
|
|
76
77
|
title?: string;
|
|
@@ -78,6 +79,7 @@ interface ComponentPaletteData {
|
|
|
78
79
|
allowedWidgetTags?: string[];
|
|
79
80
|
allowedPresetIds?: string[];
|
|
80
81
|
predicate?: (m: ComponentDocMeta) => boolean;
|
|
82
|
+
onInsert?: (selection: ComponentPaletteSelection) => void;
|
|
81
83
|
}
|
|
82
84
|
interface ComponentPaletteEntry {
|
|
83
85
|
key: string;
|
|
@@ -104,6 +106,13 @@ declare class ComponentPaletteDialogComponent implements OnInit {
|
|
|
104
106
|
data?: ComponentPaletteData | undefined;
|
|
105
107
|
private readonly hostElement;
|
|
106
108
|
query: _angular_core.WritableSignal<string>;
|
|
109
|
+
readonly selectedColSpan: _angular_core.WritableSignal<number | undefined>;
|
|
110
|
+
readonly keepOpen: _angular_core.WritableSignal<boolean>;
|
|
111
|
+
readonly insertedCount: _angular_core.WritableSignal<number>;
|
|
112
|
+
readonly spanOptions: ReadonlyArray<{
|
|
113
|
+
label: string;
|
|
114
|
+
value: number | undefined;
|
|
115
|
+
}>;
|
|
107
116
|
private all;
|
|
108
117
|
filtered: _angular_core.Signal<ComponentPaletteEntry[]>;
|
|
109
118
|
density: _angular_core.Signal<"roomy" | "dense" | "normal">;
|
|
@@ -1424,6 +1433,8 @@ declare class DynamicPageConfigEditorComponent implements OnInit, SettingsValueP
|
|
|
1424
1433
|
inputPath: string;
|
|
1425
1434
|
token: string;
|
|
1426
1435
|
}>;
|
|
1436
|
+
unbindStateTokenFromWidget(widgetKey: string, inputPath: string): boolean;
|
|
1437
|
+
autoBindWidgetStatePlaceholders(): number;
|
|
1427
1438
|
composeCollectionScreen(overrides?: Partial<CollectionScreenComposerConfig>): WidgetPageDefinition | null;
|
|
1428
1439
|
quickCanvasWidgets(): Array<{
|
|
1429
1440
|
key: string;
|
|
@@ -1511,6 +1522,9 @@ declare class DynamicPageConfigEditorComponent implements OnInit, SettingsValueP
|
|
|
1511
1522
|
private buildSamplePayloadForDataSource;
|
|
1512
1523
|
private collectStateTokensForValue;
|
|
1513
1524
|
private assignNestedValue;
|
|
1525
|
+
private readNestedValue;
|
|
1526
|
+
private deleteNestedValue;
|
|
1527
|
+
private collectTemplatePlaceholdersRecursive;
|
|
1514
1528
|
private collectWidgetBindingsRecursive;
|
|
1515
1529
|
private humanizeResourceTitle;
|
|
1516
1530
|
private clone;
|