@praxisui/crud 9.0.4-rc.40 → 9.0.4-rc.42
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-08-
|
|
3
|
+
"generatedAt": "2026-08-10T19:08:21.527Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "9.0.4-rc.
|
|
5
|
+
"packageVersion": "9.0.4-rc.42",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -4659,13 +4659,28 @@ class PraxisCrudComponent {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
let payload;
|
|
4661
4661
|
try {
|
|
4662
|
+
const resourceId = this.resolveRowResourceId(row);
|
|
4662
4663
|
payload = this.getActionOpenAdapter().toPayload(discoveredAction, {
|
|
4663
4664
|
resourcePath,
|
|
4664
|
-
resourceId
|
|
4665
|
+
resourceId,
|
|
4665
4666
|
endpointKey: this.resolvedMetadata?.resource?.endpointKey,
|
|
4666
4667
|
apiUrlEntry: this.resolveDiscoveryApiEntry(),
|
|
4667
4668
|
group: catalog?.group ?? null,
|
|
4668
4669
|
});
|
|
4670
|
+
const resourceIdentity = runtimeEvent?.resourceIdentity ?? null;
|
|
4671
|
+
if (resourceId != null && resourceIdentity) {
|
|
4672
|
+
payload.context = {
|
|
4673
|
+
...(payload.context || {}),
|
|
4674
|
+
operation: {
|
|
4675
|
+
...(payload.context?.operation || {}),
|
|
4676
|
+
subject: {
|
|
4677
|
+
resourceKey: discoveredAction.resourceKey,
|
|
4678
|
+
resourceId,
|
|
4679
|
+
identity: resourceIdentity,
|
|
4680
|
+
},
|
|
4681
|
+
},
|
|
4682
|
+
};
|
|
4683
|
+
}
|
|
4669
4684
|
}
|
|
4670
4685
|
catch (error) {
|
|
4671
4686
|
if (this.notifySurfaceNavigationFailure(error)) {
|
|
@@ -5640,6 +5655,7 @@ class DynamicFormDialogHostComponent {
|
|
|
5640
5655
|
formConfig = {};
|
|
5641
5656
|
formActions;
|
|
5642
5657
|
formConfigPersistenceStrategy = 'input-first';
|
|
5658
|
+
fieldIconPolicy = 'presentation-only';
|
|
5643
5659
|
mode = 'create';
|
|
5644
5660
|
backConfig;
|
|
5645
5661
|
idField = 'id';
|
|
@@ -6232,6 +6248,7 @@ class DynamicFormDialogHostComponent {
|
|
|
6232
6248
|
[configPersistenceStrategy]="formConfigPersistenceStrategy"
|
|
6233
6249
|
[layoutPolicy]="layoutPolicy"
|
|
6234
6250
|
[presentationModeGlobal]="mode === 'view' ? true : null"
|
|
6251
|
+
[fieldIconPolicy]="fieldIconPolicy"
|
|
6235
6252
|
[backConfig]="backConfig"
|
|
6236
6253
|
[actions]="formActions"
|
|
6237
6254
|
(formSubmit)="onSave($event)"
|
|
@@ -6349,6 +6366,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
6349
6366
|
[configPersistenceStrategy]="formConfigPersistenceStrategy"
|
|
6350
6367
|
[layoutPolicy]="layoutPolicy"
|
|
6351
6368
|
[presentationModeGlobal]="mode === 'view' ? true : null"
|
|
6369
|
+
[fieldIconPolicy]="fieldIconPolicy"
|
|
6352
6370
|
[backConfig]="backConfig"
|
|
6353
6371
|
[actions]="formActions"
|
|
6354
6372
|
(formSubmit)="onSave($event)"
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/crud",
|
|
3
|
-
"version": "9.0.4-rc.
|
|
3
|
+
"version": "9.0.4-rc.42",
|
|
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.4-rc.
|
|
9
|
-
"@praxisui/table": "^9.0.4-rc.
|
|
10
|
-
"@praxisui/core": "^9.0.4-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.4-rc.
|
|
12
|
-
"@praxisui/settings-panel": "^9.0.4-rc.
|
|
8
|
+
"@praxisui/dynamic-form": "^9.0.4-rc.42",
|
|
9
|
+
"@praxisui/table": "^9.0.4-rc.42",
|
|
10
|
+
"@praxisui/core": "^9.0.4-rc.42",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.4-rc.42",
|
|
12
|
+
"@praxisui/settings-panel": "^9.0.4-rc.42",
|
|
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.4-rc.
|
|
17
|
+
"@praxisui/ai": "^9.0.4-rc.42",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
package/types/praxisui-crud.d.ts
CHANGED
|
@@ -453,6 +453,7 @@ declare class DynamicFormDialogHostComponent implements OnInit, AfterViewInit {
|
|
|
453
453
|
formConfig: FormConfig;
|
|
454
454
|
formActions?: FormConfig['actions'];
|
|
455
455
|
readonly formConfigPersistenceStrategy = "input-first";
|
|
456
|
+
readonly fieldIconPolicy = "presentation-only";
|
|
456
457
|
mode: 'create' | 'edit' | 'view';
|
|
457
458
|
backConfig?: BackConfig;
|
|
458
459
|
private idField;
|