@praxisui/dynamic-fields 9.0.4-rc.21 → 9.0.4-rc.22

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-04T13:04:30.466Z",
3
+ "generatedAt": "2026-08-04T13:18:22.150Z",
4
4
  "packageName": "@praxisui/dynamic-fields",
5
- "packageVersion": "9.0.4-rc.21",
5
+ "packageVersion": "9.0.4-rc.22",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 76,
@@ -14637,10 +14637,20 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
14637
14637
  }
14638
14638
  }
14639
14639
  itemSurfacesHref(resourcePath, resourceId) {
14640
- const path = String(resourcePath || '')
14641
- .trim()
14642
- .replace(/^\/+/, '')
14643
- .replace(/\/+$/, '');
14640
+ const rawPath = String(resourcePath || '').trim();
14641
+ let path = rawPath;
14642
+ if (/^https?:\/\//i.test(path)) {
14643
+ try {
14644
+ path = new URL(path).pathname;
14645
+ }
14646
+ catch {
14647
+ path = '';
14648
+ }
14649
+ }
14650
+ path = path.replace(/^\/+/, '').replace(/\/+$/, '');
14651
+ if (path && !/^api(?:\/|$)/i.test(path)) {
14652
+ path = `api/${path}`;
14653
+ }
14644
14654
  return `/${path}/${encodeURIComponent(resourceId)}/surfaces`;
14645
14655
  }
14646
14656
  selectDetailSurface(surfaces, preferredSurfaceId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-fields",
3
- "version": "9.0.4-rc.21",
3
+ "version": "9.0.4-rc.22",
4
4
  "description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -11,8 +11,8 @@
11
11
  "@angular/platform-browser": "^21.0.0",
12
12
  "@angular/router": "^21.0.0",
13
13
  "rxjs": "^7.8.0",
14
- "@praxisui/core": "^9.0.4-rc.21",
15
- "@praxisui/cron-builder": "^9.0.4-rc.21"
14
+ "@praxisui/core": "^9.0.4-rc.22",
15
+ "@praxisui/cron-builder": "^9.0.4-rc.22"
16
16
  },
17
17
  "dependencies": {
18
18
  "libphonenumber-js": "^1.12.41",