@praxisui/dialog 9.0.4-rc.30 → 9.0.4-rc.32
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-05T09:56:10.324Z",
|
|
4
4
|
"packageName": "@praxisui/dialog",
|
|
5
|
-
"packageVersion": "9.0.4-rc.
|
|
5
|
+
"packageVersion": "9.0.4-rc.32",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -9,7 +9,7 @@ import * as i3 from '@angular/cdk/a11y';
|
|
|
9
9
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
10
10
|
import * as i4 from '@angular/material/icon';
|
|
11
11
|
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import { PraxisIconDirective, PraxisLayerScaleStyleService, GlobalConfigService, GLOBAL_DIALOG_SERVICE, ComponentMetadataRegistry, GLOBAL_SURFACE_SERVICE, SurfaceOpenMaterializerService, SURFACE_DRAWER_BRIDGE, PraxisSurfaceHostComponent } from '@praxisui/core';
|
|
12
|
+
import { PraxisIconDirective, PraxisLayerScaleStyleService, GlobalConfigService, GLOBAL_DIALOG_SERVICE, ComponentMetadataRegistry, GLOBAL_SURFACE_SERVICE, SurfaceOpenMaterializerService, LoggerService, SURFACE_DRAWER_BRIDGE, PraxisSurfaceHostComponent, SurfaceNavigationError } from '@praxisui/core';
|
|
13
13
|
import { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
14
14
|
import * as i1$1 from '@angular/forms';
|
|
15
15
|
import { FormsModule } from '@angular/forms';
|
|
@@ -1276,6 +1276,7 @@ function providePraxisSurfaceGlobalActions() {
|
|
|
1276
1276
|
useFactory: () => {
|
|
1277
1277
|
const dialog = inject(PraxisDialog);
|
|
1278
1278
|
const materializer = inject(SurfaceOpenMaterializerService);
|
|
1279
|
+
const logger = inject(LoggerService, { optional: true });
|
|
1279
1280
|
const surfaceDrawer = inject(SURFACE_DRAWER_BRIDGE, {
|
|
1280
1281
|
optional: true,
|
|
1281
1282
|
});
|
|
@@ -1302,7 +1303,25 @@ function providePraxisSurfaceGlobalActions() {
|
|
|
1302
1303
|
if (typeof parentRuntime?.['push'] === 'function') {
|
|
1303
1304
|
const frameRef = await parentRuntime['push'](frame);
|
|
1304
1305
|
if (!frameRef) {
|
|
1305
|
-
|
|
1306
|
+
const error = new SurfaceNavigationError('SURFACE_SESSION_NAVIGATION_REJECTED', 'push', frame.id);
|
|
1307
|
+
logger?.warn('Surface session rejected nested navigation frame.', {
|
|
1308
|
+
context: {
|
|
1309
|
+
lib: '@praxisui/dialog',
|
|
1310
|
+
component: 'SurfaceGlobalActionsProvider',
|
|
1311
|
+
actionId: 'surface.open',
|
|
1312
|
+
correlationId: typeof context?.meta?.['correlationId'] === 'string'
|
|
1313
|
+
? context.meta['correlationId']
|
|
1314
|
+
: undefined,
|
|
1315
|
+
},
|
|
1316
|
+
data: {
|
|
1317
|
+
code: error.code,
|
|
1318
|
+
operation: error.operation,
|
|
1319
|
+
frameId: error.frameId,
|
|
1320
|
+
widgetId: materializedPayload.widget.id,
|
|
1321
|
+
},
|
|
1322
|
+
throttleKey: `${error.code}:dialog:${frame.id}`,
|
|
1323
|
+
});
|
|
1324
|
+
throw error;
|
|
1306
1325
|
}
|
|
1307
1326
|
return frameRef;
|
|
1308
1327
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dialog",
|
|
3
|
-
"version": "9.0.4-rc.
|
|
3
|
+
"version": "9.0.4-rc.32",
|
|
4
4
|
"description": "Dialog helpers and components for Praxis UI with Angular Material integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/cdk": "^21.0.0",
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
|
-
"@praxisui/core": "^9.0.4-rc.
|
|
10
|
+
"@praxisui/core": "^9.0.4-rc.32",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
|
12
12
|
"@angular/platform-browser": "^21.0.0",
|
|
13
13
|
"rxjs": "~7.8.0"
|