Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,152 changes: 124 additions & 2,028 deletions frameworks/angular/container/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions frameworks/angular/container/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-container-starter",
"version": "19.2.0",
"version": "21.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -21,8 +21,8 @@
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@finos/fdc3": "2.0.3",
"@openfin/core": "38.83.80",
"@openfin/workspace": "19.2.12",
"@openfin/core": "41.100.115",
"@openfin/workspace": "21.0.7",
"rxjs": "~7.8.1",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
Expand All @@ -31,7 +31,7 @@
"@angular-devkit/build-angular": "^19.0.1",
"@angular/cli": "^19.0.1",
"@angular/compiler-cli": "^19.0.0",
"@openfin/node-adapter": "38.83.80",
"@openfin/node-adapter": "41.100.117",
"@types/jasmine": "~5.1.4",
"angular-eslint": "18.3.1",
"eslint": "^9.9.1",
Expand Down
2 changes: 1 addition & 1 deletion frameworks/angular/container/public/manifest.fin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"runtime": {
"arguments": "--v=1 --inspect",
"version": "38.126.83.80"
"version": "41.134.100.117"
},
"platform": {
"uuid": "angular-container-starter",
Expand Down
28 changes: 25 additions & 3 deletions frameworks/angular/container/src/app/view1/view1.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CommonModule } from "@angular/common";
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { create } from "@openfin/workspace/notifications";
import { ChangeDetectionStrategy, Component, type OnInit, signal } from "@angular/core";
import { addEventListener, create, register } from "@openfin/workspace/notifications";

@Component({
selector: "app-view1",
Expand All @@ -23,17 +23,39 @@ import { create } from "@openfin/workspace/notifications";
<button (click)="broadcastFDC3ContextAppChannel()">
Broadcast FDC3 Context on App Channel
</button>
<div>{{ notificationActionMessage() }}</div>
</main>
</div>
`,
})
export class View1Component {
export class View1Component implements OnInit {
notificationActionMessage = signal("");

ngOnInit(): void {
register().then(() => {
addEventListener("notification-action", (event) => {
console.log("Notification clicked:", event.result["customData"]);
this.notificationActionMessage.set(event.result["customData"]);
});
});
}

showNotification(): void {
create({
platform: fin.me.identity.uuid,
title: "Simple Notification",
body: "This is a simple notification",
toast: "transient",
buttons: [
{
title: "Click me",
type: "button",
cta: true,
onClick: {
customData: "Notification action data",
},
},
],
});
}

Expand Down
2 changes: 1 addition & 1 deletion frameworks/angular/creating-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class AppComponent {
{
"runtime": {
"arguments": "--v=1 --inspect",
"version": "38.126.83.80"
"version": "41.134.100.117"
},
"platform": {
"uuid": "angular-container-starter",
Expand Down
2 changes: 1 addition & 1 deletion frameworks/angular/creating-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class AppComponent {
"licenseKey": "openfin-demo-license-key",
"runtime": {
"arguments": "--v=1 --inspect",
"version": "38.126.83.80"
"version": "41.134.100.117"
},
"platform": {
"uuid": "angular-workspace-starter",
Expand Down
22 changes: 11 additions & 11 deletions frameworks/angular/web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frameworks/angular/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@angular/platform-browser": "^19.2.1",
"@angular/platform-browser-dynamic": "^19.2.1",
"@angular/router": "^19.2.1",
"@openfin/core-web": "~0.40.51",
"@openfin/core-web": "~0.41.119",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
Expand Down
Loading