@praxisui/crud 9.0.0-beta.83 → 9.0.0-beta.85
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-21T15:34:49.320Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.85",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -4503,24 +4503,26 @@ class PraxisCrudComponent {
|
|
|
4503
4503
|
if (!candidate || typeof candidate !== 'object') {
|
|
4504
4504
|
return null;
|
|
4505
4505
|
}
|
|
4506
|
-
const
|
|
4506
|
+
const catalogCandidate = candidate;
|
|
4507
|
+
const normalizedId = String(catalogCandidate.id || '').trim().toLowerCase();
|
|
4507
4508
|
if (!normalizedId || normalizedId !== action) {
|
|
4508
4509
|
return null;
|
|
4509
4510
|
}
|
|
4510
|
-
if (!
|
|
4511
|
+
if (!catalogCandidate.operationId || !catalogCandidate.path || !catalogCandidate.method) {
|
|
4511
4512
|
return null;
|
|
4512
4513
|
}
|
|
4513
|
-
return
|
|
4514
|
+
return catalogCandidate;
|
|
4514
4515
|
}
|
|
4515
4516
|
resolveProvidedSurface(action, candidate) {
|
|
4516
4517
|
if (!candidate || typeof candidate !== 'object') {
|
|
4517
4518
|
return null;
|
|
4518
4519
|
}
|
|
4519
|
-
const
|
|
4520
|
+
const catalogCandidate = candidate;
|
|
4521
|
+
const normalizedId = String(catalogCandidate.id || '').trim().toLowerCase();
|
|
4520
4522
|
if (!normalizedId || normalizedId !== action) {
|
|
4521
4523
|
return null;
|
|
4522
4524
|
}
|
|
4523
|
-
const surface =
|
|
4525
|
+
const surface = catalogCandidate;
|
|
4524
4526
|
if (!surface.kind || !surface.scope || !surface.path || !surface.method) {
|
|
4525
4527
|
return null;
|
|
4526
4528
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/crud",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.85",
|
|
4
4
|
"description": "CRUD building blocks for Praxis UI: integrates dynamic forms and tables with unified configuration and services.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/dynamic-form": "^9.0.0-beta.
|
|
9
|
-
"@praxisui/table": "^9.0.0-beta.
|
|
10
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
12
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
8
|
+
"@praxisui/dynamic-form": "^9.0.0-beta.85",
|
|
9
|
+
"@praxisui/table": "^9.0.0-beta.85",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.85",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.85",
|
|
12
|
+
"@praxisui/settings-panel": "^9.0.0-beta.85",
|
|
13
13
|
"@angular/cdk": "^21.0.0",
|
|
14
14
|
"@angular/forms": "^21.0.0",
|
|
15
15
|
"@angular/material": "^21.0.0",
|
|
16
16
|
"@angular/router": "^21.0.0",
|
|
17
|
-
"@praxisui/ai": "^9.0.0-beta.
|
|
17
|
+
"@praxisui/ai": "^9.0.0-beta.85",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
package/types/praxisui-crud.d.ts
CHANGED
|
@@ -137,7 +137,12 @@ interface CrudValidationContext {
|
|
|
137
137
|
|
|
138
138
|
type CrudActionRuntimeEvent = {
|
|
139
139
|
action?: string;
|
|
140
|
-
actionConfig?: ToolbarAction | ResourceActionCatalogItem | ResourceSurfaceCatalogItem |
|
|
140
|
+
actionConfig?: ToolbarAction | ResourceActionCatalogItem | ResourceSurfaceCatalogItem | {
|
|
141
|
+
id?: string;
|
|
142
|
+
action?: string;
|
|
143
|
+
label?: string;
|
|
144
|
+
resourceKey?: string;
|
|
145
|
+
} | null;
|
|
141
146
|
row?: Record<string, unknown>;
|
|
142
147
|
selectedRow?: Record<string, unknown>;
|
|
143
148
|
selectedRows?: Record<string, unknown>[];
|