@praxisui/dialog 9.0.38 → 9.0.40
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-30T07:25:27.035Z",
|
|
4
4
|
"packageName": "@praxisui/dialog",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.40",
|
|
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, LoggerService, SURFACE_DRAWER_BRIDGE, PraxisSurfaceHostComponent, SurfaceNavigationError } from '@praxisui/core';
|
|
12
|
+
import { PraxisIconDirective, PraxisLayerScaleStyleService, GlobalConfigService, GLOBAL_DIALOG_SERVICE, ComponentMetadataRegistry, markGlobalActionProviderOperational, 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';
|
|
@@ -1211,7 +1211,7 @@ function providePraxisDialogGlobalActions() {
|
|
|
1211
1211
|
catch {
|
|
1212
1212
|
return null;
|
|
1213
1213
|
} })();
|
|
1214
|
-
return {
|
|
1214
|
+
return markGlobalActionProviderOperational({
|
|
1215
1215
|
alert: async (payload) => {
|
|
1216
1216
|
const cfg = buildConfig(payload);
|
|
1217
1217
|
const ref = dialog.alert(cfg);
|
|
@@ -1243,7 +1243,11 @@ function providePraxisDialogGlobalActions() {
|
|
|
1243
1243
|
applyInputs(ref?.componentInstance, payload?.inputs, ref);
|
|
1244
1244
|
return firstValueFrom(ref.afterClosed());
|
|
1245
1245
|
},
|
|
1246
|
-
}
|
|
1246
|
+
}, {
|
|
1247
|
+
providerId: 'providePraxisDialogGlobalActions:PraxisDialog',
|
|
1248
|
+
actionIds: ['dialog.alert', 'dialog.confirm', 'dialog.prompt', 'dialog.open'],
|
|
1249
|
+
scope: 'host-adapter',
|
|
1250
|
+
});
|
|
1247
1251
|
},
|
|
1248
1252
|
};
|
|
1249
1253
|
}
|
|
@@ -1442,7 +1446,7 @@ function providePraxisSurfaceGlobalActions() {
|
|
|
1442
1446
|
const defaultSurfaceDrawer = inject(SURFACE_DRAWER_BRIDGE, {
|
|
1443
1447
|
optional: true,
|
|
1444
1448
|
});
|
|
1445
|
-
return {
|
|
1449
|
+
return markGlobalActionProviderOperational({
|
|
1446
1450
|
open: async (payload, context) => {
|
|
1447
1451
|
const runtimeInjector = resolveRuntimeInjector(context, injector);
|
|
1448
1452
|
const contextualMaterializer = runtimeInjector.get(SurfaceOpenMaterializerService, materializer);
|
|
@@ -1534,7 +1538,11 @@ function providePraxisSurfaceGlobalActions() {
|
|
|
1534
1538
|
});
|
|
1535
1539
|
return ref;
|
|
1536
1540
|
},
|
|
1537
|
-
}
|
|
1541
|
+
}, {
|
|
1542
|
+
providerId: 'providePraxisSurfaceGlobalActions:SurfaceOpenMaterializerService',
|
|
1543
|
+
actionIds: ['surface.open'],
|
|
1544
|
+
scope: 'host-adapter',
|
|
1545
|
+
});
|
|
1538
1546
|
},
|
|
1539
1547
|
};
|
|
1540
1548
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dialog",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.40",
|
|
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.
|
|
10
|
+
"@praxisui/core": "^9.0.40",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
|
12
12
|
"@angular/platform-browser": "^21.0.0",
|
|
13
13
|
"rxjs": "~7.8.0"
|