14.214.1-openfin-notifications.4 • Published 7 months ago

@genesislcap/foundation-openfin v14.214.1-openfin-notifications.4

Weekly downloads
-
License
SEE LICENSE IN li...
Repository
github
Last release
7 months ago

Genesis Foundation Openfin

This provides a robust implementation of the Openfin workspace container

API Documentation

For more detailed information on API and configurations, please refer to the API documentation in the docs/api directory.

Installation

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.

{
  "dependencies": {
    "@genesislcap/foundation-openfin": "latest"
  }
}

Key Features

  • Openfin Notifications: Implements a component to create openfin notifications

Usage Examples

Adding Intent Listeners

<openfin-notifications
  resource-name="ALL_NOTIFY_ALERT_RECORDS"
  data-pbc-asset-id="interop-notification-listener"
  :notificationsPlatform="${() => ({
  id: PLATFORM_ID,
    icon: PLATFORM_ICON,
    title: PLATFORM_TITLE
  })}"
  :toastButtons="${x => [
  {
    condition: ({details}) => details.HEADER === 'Trade added',
      action: ({details, buttonElement }) => {
    Route.path.push('/trades')
    if (buttonElement) {
      buttonElement.$emit(STORE_EVENTS_ENUM.TRADE_SELECTED, details.TABLE_ENTITY_ID);
    }
  },
    placeholder: 'View Trade',
    task: 'view-trade'
  }
  ]}"
></openfin-notifications>

License

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 for more details.

Licensed components

Genesis low-code platform