@praxisui/crud 9.0.4-rc.40 → 9.0.4-rc.41

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-10T11:49:21.807Z",
3
+ "generatedAt": "2026-08-10T16:19:04.275Z",
4
4
  "packageName": "@praxisui/crud",
5
- "packageVersion": "9.0.4-rc.40",
5
+ "packageVersion": "9.0.4-rc.41",
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: this.resolveRowResourceId(row),
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)) {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@praxisui/crud",
3
- "version": "9.0.4-rc.40",
3
+ "version": "9.0.4-rc.41",
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.40",
9
- "@praxisui/table": "^9.0.4-rc.40",
10
- "@praxisui/core": "^9.0.4-rc.40",
11
- "@praxisui/dynamic-fields": "^9.0.4-rc.40",
12
- "@praxisui/settings-panel": "^9.0.4-rc.40",
8
+ "@praxisui/dynamic-form": "^9.0.4-rc.41",
9
+ "@praxisui/table": "^9.0.4-rc.41",
10
+ "@praxisui/core": "^9.0.4-rc.41",
11
+ "@praxisui/dynamic-fields": "^9.0.4-rc.41",
12
+ "@praxisui/settings-panel": "^9.0.4-rc.41",
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.40",
17
+ "@praxisui/ai": "^9.0.4-rc.41",
18
18
  "rxjs": "~7.8.0"
19
19
  },
20
20
  "dependencies": {