@praxisui/crud 9.0.0-beta.69 → 9.0.0-beta.70
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-10T23:38:40.443Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.70",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -6,7 +6,7 @@ import { Router, ActivatedRoute, RouterLink } from '@angular/router';
|
|
|
6
6
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
7
7
|
import { firstValueFrom, BehaviorSubject, Subscription } from 'rxjs';
|
|
8
8
|
import * as i2$1 from '@praxisui/core';
|
|
9
|
-
import { ASYNC_CONFIG_STORAGE, GlobalConfigService, CrudOperationResolutionService, fillUndefined, SETTINGS_PANEL_DATA, PraxisI18nService, PraxisIconDirective, providePraxisI18nConfig, createDefaultTableConfig, GLOBAL_SURFACE_SERVICE, ComponentKeyService, ResourceDiscoveryService, ResourceActionOpenAdapterService, ResourceSurfaceOpenAdapterService, translateUnavailableWorkflowMessage, EmptyStateCardComponent, RESOURCE_DISCOVERY_I18N_CONFIG, GenericCrudService, ComponentMetadataRegistry } from '@praxisui/core';
|
|
9
|
+
import { ASYNC_CONFIG_STORAGE, GlobalConfigService, CrudOperationResolutionService, fillUndefined, SETTINGS_PANEL_DATA, PraxisI18nService, PraxisIconDirective, providePraxisI18nConfig, createDefaultTableConfig, GLOBAL_SURFACE_SERVICE, SurfaceOutletRegistryService, ComponentKeyService, ResourceDiscoveryService, ResourceActionOpenAdapterService, ResourceSurfaceOpenAdapterService, translateUnavailableWorkflowMessage, EmptyStateCardComponent, RESOURCE_DISCOVERY_I18N_CONFIG, GenericCrudService, ComponentMetadataRegistry } from '@praxisui/core';
|
|
10
10
|
import { SettingsPanelService } from '@praxisui/settings-panel';
|
|
11
11
|
import { PraxisTableInlineAuthoringEditorComponent, PraxisTable } from '@praxisui/table';
|
|
12
12
|
import { ConfirmDialogComponent } from '@praxisui/dynamic-fields';
|
|
@@ -3661,6 +3661,7 @@ class PraxisCrudComponent {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
})();
|
|
3663
3663
|
surfaceService = inject(GLOBAL_SURFACE_SERVICE, { optional: true });
|
|
3664
|
+
surfaceOutlets = inject(SurfaceOutletRegistryService);
|
|
3664
3665
|
componentKeys = inject(ComponentKeyService);
|
|
3665
3666
|
route = (() => {
|
|
3666
3667
|
try {
|
|
@@ -4230,7 +4231,7 @@ class PraxisCrudComponent {
|
|
|
4230
4231
|
}
|
|
4231
4232
|
let openPromise;
|
|
4232
4233
|
try {
|
|
4233
|
-
|
|
4234
|
+
const surfaceContext = {
|
|
4234
4235
|
sourceId: this.componentKeyId() || undefined,
|
|
4235
4236
|
payload: { action: normalizedAction, row: row ?? null },
|
|
4236
4237
|
meta: {
|
|
@@ -4247,7 +4248,9 @@ class PraxisCrudComponent {
|
|
|
4247
4248
|
resourcePath,
|
|
4248
4249
|
},
|
|
4249
4250
|
},
|
|
4250
|
-
}
|
|
4251
|
+
};
|
|
4252
|
+
const handledInline = await this.surfaceOutlets.tryActivate(payload, surfaceContext);
|
|
4253
|
+
openPromise = handledInline ? Promise.resolve(undefined) : Promise.resolve(this.surfaceService.open(payload, surfaceContext));
|
|
4251
4254
|
}
|
|
4252
4255
|
catch {
|
|
4253
4256
|
return false;
|
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.70",
|
|
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.70",
|
|
9
|
+
"@praxisui/table": "^9.0.0-beta.70",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.70",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.70",
|
|
12
|
+
"@praxisui/settings-panel": "^9.0.0-beta.70",
|
|
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.70",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
package/types/praxisui-crud.d.ts
CHANGED
|
@@ -199,6 +199,7 @@ declare class PraxisCrudComponent implements OnChanges {
|
|
|
199
199
|
private materializedRefreshSequence;
|
|
200
200
|
private readonly global;
|
|
201
201
|
private readonly surfaceService;
|
|
202
|
+
private readonly surfaceOutlets;
|
|
202
203
|
private readonly componentKeys;
|
|
203
204
|
private readonly route;
|
|
204
205
|
private warnedMissingId;
|