@genesislcap/foundation-openfin 14.408.0 → 14.409.0

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.
package/README.md CHANGED
@@ -1,78 +1,25 @@
1
- # Genesis Foundation Openfin
1
+ # @genesislcap/foundation-openfin
2
2
 
3
- This provides a robust implementation of the Openfin workspace container
3
+ Documentation for this package is published on the Genesis docs site:
4
4
 
5
- ## API Documentation
6
-
7
- For more detailed information on API and configurations, please refer to the [API documentation](docs/api/index.md) in the `docs/api` directory.
5
+ **Docs: [Foundation Openfin](https://docs.genesis.global/docs/develop/client-capabilities/desktop-interoperability/openfin/foundation-openfin/)**
8
6
 
9
7
  ## Installation
10
8
 
11
- To include `@genesislcap/foundation-openfin` in your project, add it as a dependency in your `package.json` file and follow your project's routine for dependency installation.
12
-
13
- This package depends on a newer version of typescript which you will also need to add to your package json
9
+ Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
14
10
 
15
11
  ```json
16
12
  {
17
13
  "dependencies": {
18
- ...
19
- "@genesislcap/foundation-openfin": "latest",
20
- "typescript": "^5.6.3",
21
- ...
14
+ "@genesislcap/foundation-openfin": "latest"
22
15
  }
23
16
  }
24
17
  ```
25
18
 
26
- ## Key Features
27
-
28
- - **Openfin Notifications:** Implements a component to create openfin notifications
29
-
30
- ## Usage Examples
31
-
32
- ### Adding Intent Listeners
33
-
34
- ```html
35
- <openfin-notifications
36
- resource-name="ALL_NOTIFY_ALERT_RECORDS"
37
- data-pbc-asset-id="interop-notification-listener"
38
- :notificationsPlatform="${() => ({
39
- id: PLATFORM_ID,
40
- icon: PLATFORM_ICON,
41
- title: PLATFORM_TITLE
42
- })}"
43
- :toastButtons="${x => [
44
- {
45
- condition: ({details}) => details.HEADER === 'Trade added',
46
- action: ({details, buttonElement }) => {
47
- Route.path.push('/some-route')
48
- if (buttonElement) {
49
- buttonElement.$emit('some-event', details.TABLE_ENTITY_ID);
50
- }
51
- },
52
- {
53
- condition: ({details}) => details.HEADER === 'Trade added',
54
- action: async ({details, buttonElement }) => {
55
- const connect = getConnect();
56
- const response = await connect.commitEvent('EVENT_APPROVE_TRADE', {
57
- DETAILS: {
58
- TRADE_ID: details.TABLE_ENTITY_ID
59
- }
60
- })
61
-
62
- if (response.ERROR?.length) {
63
- debugger;
64
- }
65
- },
66
- placeholder: 'Approve Trade',
67
- task: 'approve-trade'
68
- },
69
- ]}"
70
- ></openfin-notifications>
71
- ```
72
-
73
19
  ## License
74
20
 
75
21
  Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
76
22
 
77
23
  ### Licensed components
24
+
78
25
  Genesis low-code platform
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-openfin",
3
3
  "description": "Genesis Foundation Openfin",
4
- "version": "14.408.0",
4
+ "version": "14.409.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -61,22 +61,22 @@
61
61
  }
62
62
  },
63
63
  "devDependencies": {
64
- "@genesislcap/foundation-testing": "14.408.0",
65
- "@genesislcap/genx": "14.408.0",
66
- "@genesislcap/rollup-builder": "14.408.0",
67
- "@genesislcap/ts-builder": "14.408.0",
68
- "@genesislcap/uvu-playwright-builder": "14.408.0",
69
- "@genesislcap/vite-builder": "14.408.0",
70
- "@genesislcap/webpack-builder": "14.408.0",
64
+ "@genesislcap/foundation-testing": "14.409.0",
65
+ "@genesislcap/genx": "14.409.0",
66
+ "@genesislcap/rollup-builder": "14.409.0",
67
+ "@genesislcap/ts-builder": "14.409.0",
68
+ "@genesislcap/uvu-playwright-builder": "14.409.0",
69
+ "@genesislcap/vite-builder": "14.409.0",
70
+ "@genesislcap/webpack-builder": "14.409.0",
71
71
  "sinon": "^17.0.1"
72
72
  },
73
73
  "dependencies": {
74
74
  "@finos/fdc3": "2.1.1",
75
- "@genesislcap/foundation-logger": "14.408.0",
76
- "@genesislcap/foundation-notifications": "14.408.0",
77
- "@genesislcap/foundation-ui": "14.408.0",
78
- "@genesislcap/foundation-utils": "14.408.0",
79
- "@genesislcap/web-core": "14.408.0",
75
+ "@genesislcap/foundation-logger": "14.409.0",
76
+ "@genesislcap/foundation-notifications": "14.409.0",
77
+ "@genesislcap/foundation-ui": "14.409.0",
78
+ "@genesislcap/foundation-utils": "14.409.0",
79
+ "@genesislcap/web-core": "14.409.0",
80
80
  "@interopio/desktop": "^6.3.1",
81
81
  "@openfin/workspace": "^20.4.0",
82
82
  "@openfin/workspace-platform": "^20.4.0",
@@ -90,5 +90,5 @@
90
90
  "publishConfig": {
91
91
  "access": "public"
92
92
  },
93
- "gitHead": "26b08831fd001b4ee95c8a0d3364a18c0ec4005b"
93
+ "gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
94
94
  }
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [isOpenFin](./foundation-openfin.isopenfin.md)
4
-
5
- ## isOpenFin() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isOpenFin: () => boolean
11
- ```
12
- **Returns:**
13
-
14
- boolean
15
-
16
- ## Remarks
17
-
18
- Util method to check whether an application is running in an openfin workspace container
19
-
@@ -1,78 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md)
4
-
5
- ## foundation-openfin package
6
-
7
- ## Classes
8
-
9
- <table><thead><tr><th>
10
-
11
- Class
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-
31
- ## Functions
32
-
33
- <table><thead><tr><th>
34
-
35
- Function
36
-
37
-
38
- </th><th>
39
-
40
- Description
41
-
42
-
43
- </th></tr></thead>
44
- <tbody><tr><td>
45
-
46
- [isOpenFin()](./foundation-openfin.isopenfin.md)
47
-
48
-
49
- </td><td>
50
-
51
-
52
- </td></tr>
53
- </tbody></table>
54
-
55
- ## Interfaces
56
-
57
- <table><thead><tr><th>
58
-
59
- Interface
60
-
61
-
62
- </th><th>
63
-
64
- Description
65
-
66
-
67
- </th></tr></thead>
68
- <tbody><tr><td>
69
-
70
- [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md)
71
-
72
-
73
- </td><td>
74
-
75
-
76
- </td></tr>
77
- </tbody></table>
78
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [connectedCallback](./foundation-openfin.openfinnotificationlistener.connectedcallback.md)
4
-
5
- ## OpenfinNotificationListener.connectedCallback() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- connectedCallback(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,164 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md)
4
-
5
- ## OpenfinNotificationListener class
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- export declare class OpenfinNotificationListener extends NotificationListener
11
- ```
12
- **Extends:** NotificationListener
13
-
14
- ## Remarks
15
-
16
- Openfin Notifications custom element
17
-
18
- ## Properties
19
-
20
- <table><thead><tr><th>
21
-
22
- Property
23
-
24
-
25
- </th><th>
26
-
27
- Modifiers
28
-
29
-
30
- </th><th>
31
-
32
- Type
33
-
34
-
35
- </th><th>
36
-
37
- Description
38
-
39
-
40
- </th></tr></thead>
41
- <tbody><tr><td>
42
-
43
- [mode](./foundation-openfin.openfinnotificationlistener.mode.md)
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td><td>
50
-
51
- 'default' \| 'silent'
52
-
53
-
54
- </td><td>
55
-
56
- **_(BETA)_**
57
-
58
-
59
- </td></tr>
60
- <tr><td>
61
-
62
- [notificationsPlatform](./foundation-openfin.openfinnotificationlistener.notificationsplatform.md)
63
-
64
-
65
- </td><td>
66
-
67
-
68
- </td><td>
69
-
70
- NotificationsPlatform
71
-
72
-
73
- </td><td>
74
-
75
- **_(BETA)_**
76
-
77
-
78
- </td></tr>
79
- <tr><td>
80
-
81
- [toast](./foundation-openfin.openfinnotificationlistener.toast.md)
82
-
83
-
84
- </td><td>
85
-
86
-
87
- </td><td>
88
-
89
- 'transient' \| 'sticky' \| 'none'
90
-
91
-
92
- </td><td>
93
-
94
- **_(BETA)_**
95
-
96
-
97
- </td></tr>
98
- <tr><td>
99
-
100
- [toastButtons](./foundation-openfin.openfinnotificationlistener.toastbuttons.md)
101
-
102
-
103
- </td><td>
104
-
105
-
106
- </td><td>
107
-
108
- [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md)<!-- -->\[\]
109
-
110
-
111
- </td><td>
112
-
113
- Array of button configs for openfin notification toasts
114
-
115
-
116
- </td></tr>
117
- </tbody></table>
118
-
119
- ## Methods
120
-
121
- <table><thead><tr><th>
122
-
123
- Method
124
-
125
-
126
- </th><th>
127
-
128
- Modifiers
129
-
130
-
131
- </th><th>
132
-
133
- Description
134
-
135
-
136
- </th></tr></thead>
137
- <tbody><tr><td>
138
-
139
- [connectedCallback()](./foundation-openfin.openfinnotificationlistener.connectedcallback.md)
140
-
141
-
142
- </td><td>
143
-
144
-
145
- </td><td>
146
-
147
-
148
- </td></tr>
149
- <tr><td>
150
-
151
- [showNotificationToast(row)](./foundation-openfin.openfinnotificationlistener.shownotificationtoast.md)
152
-
153
-
154
- </td><td>
155
-
156
- `protected`
157
-
158
-
159
- </td><td>
160
-
161
-
162
- </td></tr>
163
- </tbody></table>
164
-
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [mode](./foundation-openfin.openfinnotificationlistener.mode.md)
4
-
5
- ## OpenfinNotificationListener.mode property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- mode: 'default' | 'silent';
14
- ```
15
-
16
- ## Remarks
17
-
18
- The notification sound mode
19
-
@@ -1,40 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [notificationsPlatform](./foundation-openfin.openfinnotificationlistener.notificationsplatform.md)
4
-
5
- ## OpenfinNotificationListener.notificationsPlatform property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- notificationsPlatform: NotificationsPlatform;
14
- ```
15
-
16
- ## Remarks
17
-
18
- Config for registering a workspace with the Openfin notifications component
19
-
20
- ## Example
21
-
22
- Create your notifications platform constant
23
-
24
- ```ts
25
- const notificationsPlatform: NotificationsPlatform = {
26
- id: 'platform-id', // the id of your openfin workspace
27
- icon: 'https://localhost:8080/path/to/icon.svg', // the url to the icon for your workspace
28
- title: 'Platform title' // the platform title which will appear in notifications
29
- }
30
- ```
31
- Setting the property in an html view template
32
-
33
- ```html
34
- <openfin-notifications-listener
35
- ...
36
- :notificationsPlatform="${() => notificationsPlatform}"
37
- >
38
- </openfin-notifications-listener>
39
- ```
40
-
@@ -1,50 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [showNotificationToast](./foundation-openfin.openfinnotificationlistener.shownotificationtoast.md)
4
-
5
- ## OpenfinNotificationListener.showNotificationToast() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected showNotificationToast(row: NotificationDataRow): Promise<void>;
11
- ```
12
-
13
- ## Parameters
14
-
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- row
34
-
35
-
36
- </td><td>
37
-
38
- NotificationDataRow
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- </tbody></table>
46
-
47
- **Returns:**
48
-
49
- Promise&lt;void&gt;
50
-
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [toast](./foundation-openfin.openfinnotificationlistener.toast.md)
4
-
5
- ## OpenfinNotificationListener.toast property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- toast: 'transient' | 'sticky' | 'none';
14
- ```
15
-
16
- ## Remarks
17
-
18
- The notification type of toast messages
19
-
@@ -1,71 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinNotificationListener](./foundation-openfin.openfinnotificationlistener.md) &gt; [toastButtons](./foundation-openfin.openfinnotificationlistener.toastbuttons.md)
4
-
5
- ## OpenfinNotificationListener.toastButtons property
6
-
7
- Array of button configs for openfin notification toasts
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- toastButtons: OpenfinToastButton[];
13
- ```
14
-
15
- ## Example
16
-
17
- In these examples you could 1. View a trade, this is done by routing to the corresponding route. Dispatching the highlighted record id to the store and retrieving it in the view from the store. 2. Call an endpoint to approve a trade 3. Call an endpoint to reject a trade
18
-
19
- ```html
20
- <openfin-notifications-listener
21
- ...
22
- :toastButtons="${x => [
23
- {
24
- {
25
- condition: ({details}) => details.HEADER === 'Trade added',
26
- action: ({details, buttonElement }) => {
27
- Route.path.push('/some-route') // redirect to a route
28
- buttonElement.$emit('some-store-event', details.TABLE_ENTITY_ID); //emit the entity id to the store
29
- }
30
- },
31
- placeholder: 'View Trade',
32
- task: 'view-trade'
33
- },
34
- {
35
- {
36
- condition: ({details}) => details.HEADER === 'Trade added',
37
- action: ({details, buttonElement }) => {
38
- const connect = getConnect();
39
- connect.commitEvent('approve-trade', {
40
- DETAILS: {
41
- TRADE_ID: details.TABLE_ENTITY_ID,
42
- APPROVED: true
43
- }
44
- })
45
- }
46
- },
47
- placeholder: 'Approve Trade',
48
- task: 'approve-trade'
49
- },
50
- {
51
- {
52
- condition: ({details}) => details.HEADER === 'Trade added',
53
- action: ({details, buttonElement }) => {
54
- const connect = getConnect();
55
- connect.commitEvent('approve-trade', {
56
- DETAILS: {
57
- TRADE_ID: details.TABLE_ENTITY_ID,
58
- APPROVED: false
59
- }
60
- })
61
- }
62
- },
63
- placeholder: 'Reject Trade',
64
- task: 'reject-trade'
65
- },
66
-
67
- ]
68
- >
69
- </openfin-notifications-listener>
70
- ```
71
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md) &gt; [cta](./foundation-openfin.openfintoastbutton.cta.md)
4
-
5
- ## OpenfinToastButton.cta property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- cta?: boolean;
11
- ```
@@ -1,97 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md)
4
-
5
- ## OpenfinToastButton interface
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- export interface OpenfinToastButton extends ToastButton
11
- ```
12
- **Extends:** ToastButton
13
-
14
- ## Remarks
15
-
16
- OpenfinToastButton interface which extends ToastButton. Adds the task property which is used in mapping button actions to their corresponding callbacks
17
-
18
- ## Properties
19
-
20
- <table><thead><tr><th>
21
-
22
- Property
23
-
24
-
25
- </th><th>
26
-
27
- Modifiers
28
-
29
-
30
- </th><th>
31
-
32
- Type
33
-
34
-
35
- </th><th>
36
-
37
- Description
38
-
39
-
40
- </th></tr></thead>
41
- <tbody><tr><td>
42
-
43
- [cta?](./foundation-openfin.openfintoastbutton.cta.md)
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td><td>
50
-
51
- boolean
52
-
53
-
54
- </td><td>
55
-
56
- _(Optional)_
57
-
58
-
59
- </td></tr>
60
- <tr><td>
61
-
62
- [message?](./foundation-openfin.openfintoastbutton.message.md)
63
-
64
-
65
- </td><td>
66
-
67
-
68
- </td><td>
69
-
70
- string
71
-
72
-
73
- </td><td>
74
-
75
- _(Optional)_
76
-
77
-
78
- </td></tr>
79
- <tr><td>
80
-
81
- [task](./foundation-openfin.openfintoastbutton.task.md)
82
-
83
-
84
- </td><td>
85
-
86
-
87
- </td><td>
88
-
89
- string
90
-
91
-
92
- </td><td>
93
-
94
-
95
- </td></tr>
96
- </tbody></table>
97
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md) &gt; [message](./foundation-openfin.openfintoastbutton.message.md)
4
-
5
- ## OpenfinToastButton.message property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- message?: string;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-openfin](./foundation-openfin.md) &gt; [OpenfinToastButton](./foundation-openfin.openfintoastbutton.md) &gt; [task](./foundation-openfin.openfintoastbutton.task.md)
4
-
5
- ## OpenfinToastButton.task property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- task: string;
11
- ```
package/docs/api/index.md DELETED
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [@genesislcap/foundation-openfin](./foundation-openfin.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-
@@ -1,42 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-openfin"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { NotificationDataRow } from '@genesislcap/foundation-notifications';
8
- import { NotificationListener } from '@genesislcap/foundation-ui';
9
- import { NotificationsPlatform } from '@openfin/workspace/notifications';
10
- import { ToastButton } from '@genesislcap/foundation-notifications';
11
-
12
- // @public (undocumented)
13
- export const isOpenFin: () => boolean;
14
-
15
- // @public (undocumented)
16
- export class OpenfinNotificationListener extends NotificationListener {
17
- // (undocumented)
18
- connectedCallback(): Promise<void>;
19
- // @beta (undocumented)
20
- mode: 'default' | 'silent';
21
- // @beta (undocumented)
22
- notificationsPlatform: NotificationsPlatform;
23
- // (undocumented)
24
- protected showNotificationToast(row: NotificationDataRow): Promise<void>;
25
- // @beta (undocumented)
26
- toast: 'transient' | 'sticky' | 'none';
27
- toastButtons: OpenfinToastButton[];
28
- }
29
-
30
- // @public (undocumented)
31
- export interface OpenfinToastButton extends ToastButton {
32
- // (undocumented)
33
- cta?: boolean;
34
- // (undocumented)
35
- message?: string;
36
- // (undocumented)
37
- task: string;
38
- }
39
-
40
- // (No @packageDocumentation comment for this package)
41
-
42
- ```