@praxisui/crud 9.0.0-beta.52 → 9.0.0-beta.54
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-08T21:38:45.010Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.54",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -637,10 +637,15 @@ function normalizeCrudMetadata(metadata) {
|
|
|
637
637
|
if (base.resource && typeof base.resource === 'object') {
|
|
638
638
|
normalized.resource = stripUndefinedShallow({
|
|
639
639
|
path: trimString(base.resource.path) || undefined,
|
|
640
|
+
schemaPath: trimString(base.resource.schemaPath) || undefined,
|
|
640
641
|
idField: typeof base.resource.idField === 'string'
|
|
641
642
|
? trimString(base.resource.idField) || undefined
|
|
642
643
|
: base.resource.idField,
|
|
644
|
+
title: trimString(base.resource.title) || undefined,
|
|
645
|
+
label: trimString(base.resource.label) || undefined,
|
|
646
|
+
formTitle: trimString(base.resource.formTitle) || undefined,
|
|
643
647
|
endpointKey: trimString(base.resource.endpointKey) || undefined,
|
|
648
|
+
apiUrlEntry: base.resource.apiUrlEntry || undefined,
|
|
644
649
|
});
|
|
645
650
|
}
|
|
646
651
|
if (base.defaults && typeof base.defaults === 'object') {
|
|
@@ -5004,6 +5009,7 @@ class DynamicFormDialogHostComponent {
|
|
|
5004
5009
|
layoutPolicy;
|
|
5005
5010
|
formConfig = {};
|
|
5006
5011
|
formActions;
|
|
5012
|
+
formConfigPersistenceStrategy = 'input-first';
|
|
5007
5013
|
mode = 'create';
|
|
5008
5014
|
backConfig;
|
|
5009
5015
|
idField = 'id';
|
|
@@ -5375,6 +5381,7 @@ class DynamicFormDialogHostComponent {
|
|
|
5375
5381
|
[submitMethod]="submitMethod"
|
|
5376
5382
|
[apiEndpointKey]="apiEndpointKey"
|
|
5377
5383
|
[apiUrlEntry]="apiUrlEntry"
|
|
5384
|
+
[configPersistenceStrategy]="formConfigPersistenceStrategy"
|
|
5378
5385
|
[layoutPolicy]="layoutPolicy"
|
|
5379
5386
|
[presentationModeGlobal]="mode === 'view' ? true : null"
|
|
5380
5387
|
[backConfig]="backConfig"
|
|
@@ -5441,6 +5448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
5441
5448
|
[submitMethod]="submitMethod"
|
|
5442
5449
|
[apiEndpointKey]="apiEndpointKey"
|
|
5443
5450
|
[apiUrlEntry]="apiUrlEntry"
|
|
5451
|
+
[configPersistenceStrategy]="formConfigPersistenceStrategy"
|
|
5444
5452
|
[layoutPolicy]="layoutPolicy"
|
|
5445
5453
|
[presentationModeGlobal]="mode === 'view' ? true : null"
|
|
5446
5454
|
[backConfig]="backConfig"
|
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.54",
|
|
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.54",
|
|
9
|
+
"@praxisui/table": "^9.0.0-beta.54",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.54",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.54",
|
|
12
|
+
"@praxisui/settings-panel": "^9.0.0-beta.54",
|
|
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.54",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
package/types/praxisui-crud.d.ts
CHANGED
|
@@ -373,6 +373,7 @@ declare class DynamicFormDialogHostComponent implements OnInit {
|
|
|
373
373
|
layoutPolicy?: DynamicFormLayoutPolicy | null;
|
|
374
374
|
formConfig: FormConfig;
|
|
375
375
|
formActions?: FormConfig['actions'];
|
|
376
|
+
readonly formConfigPersistenceStrategy = "input-first";
|
|
376
377
|
mode: 'create' | 'edit' | 'view';
|
|
377
378
|
backConfig?: BackConfig;
|
|
378
379
|
private idField;
|