Skip to content

core 0.13.0

Install from the command line:
Learn more about npm packages
$ npm install @fireflyframework/core@0.13.0
Install via package.json:
"@fireflyframework/core": "0.13.0"

About this version

@fireflyframework/core

Angular services, providers, pipes, and guards for the Firefly Frontend Framework.

Installation

npm install @fireflyframework/core

Peer dependencies

npm install @angular/core @angular/common @angular/router rxjs @jsverse/transloco @fireflyframework/utils

Modules

Module Provider Service Key exports
Auth provideAuth() AuthService authGuard, authInterceptor
Session provideSession() SessionService SESSION_TIMEOUT_CONFIG
User context UserContextService
API runtime provideApiRuntime() ApiClient TransportRegistry, HttpTransportAdapter
Permissions providePermissions() PermissionService permissionGuard, roleGuard, HasPermissionDirective
Master data provideMasterData() MasterDataService
Navigation provideNavigation() NavigationService BreadcrumbService
Alerts provideAlerts() AlertService ALERT_CONFIG
Tenant theming provideTenantTheming() TenantThemeService TENANT_THEMING_CONFIG
I18n provideI18n() I18nService FfTranslatePipe, formatting pipes

Quick start

// app.config.ts
import { provideI18n } from '@fireflyframework/core';

export const appConfig: ApplicationConfig = {
  providers: [
    provideI18n({
      defaultLocale: 'es',
      availableLocales: [
        { code: 'es', label: 'Espanol' },
        { code: 'en', label: 'English' },
      ],
    }),
  ],
};
<!-- template -->
{{ 'common.greeting' | ffTranslate }}
{{ amount | ffCurrency:'es' }}

License

Private — Firefly Framework

Details


Assets

  • core-0.13.0.tgz

Download activity

  • Total downloads 6
  • Last 30 days 0
  • Last week 0
  • Today 0