diff --git a/CHANGELOG.md b/CHANGELOG.md index d437c443..e9c26b49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [5.12.2](https://github.com/onecx/onecx-portal-ui-libs/compare/v5.12.1...v5.12.2) (2024-09-24) + +### Bug Fixes + +* p-calendar, p-button accessibility focus selection ([#488](https://github.com/onecx/onecx-portal-ui-libs/issues/488)) ([d1c7c11](https://github.com/onecx/onecx-portal-ui-libs/commit/d1c7c116190cbd79257b6a0b8522ce9d9469d532)) + ## [5.12.0](https://github.com/onecx/onecx-portal-ui-libs/compare/v5.11.1...v5.12.0) (2024-09-20) ### Features diff --git a/libs/accelerator/package.json b/libs/accelerator/package.json index 6164bf55..ccdcabbb 100644 --- a/libs/accelerator/package.json +++ b/libs/accelerator/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/accelerator", - "version": "5.12.0", + "version": "5.12.2", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3", diff --git a/libs/angular-accelerator/assets/i18n/de.json b/libs/angular-accelerator/assets/i18n/de.json index 9ecf587f..b2b6f63e 100644 --- a/libs/angular-accelerator/assets/i18n/de.json +++ b/libs/angular-accelerator/assets/i18n/de.json @@ -1,149 +1,153 @@ { - "OCX_CUSTOM_GROUP_COLUMN_SELECTOR": { - "DROPDOWN_LABEL": "Spalten", - "OPEN_BUTTON_DETAIL": "Dialog zur Auswahl einer benutzerdefinierten Gruppe öffnen", - "ACTIVE_COLUMNS_LABEL": "Aktive Spalten", - "INACTIVE_COLUMNS_LABEL": "Inaktive Spalten", - "SAVE_BUTTON_LABEL": "Speichern", - "CANCEL_BUTTON_LABEL": "Abbrechen", - "DIALOG_TITLE": "Spalten für benutzerdefinierte Gruppe auswählen", - "CONFIGURE_ACTION_COLUMN": { - "TITLE": "Aktionsspalte konfigurieren", - "FREEZE": "Aktionsspalte immer anzeigen", - "POSITION": "Position der Aktionsspalte", - "YES": "Ja", - "NO": "Nein", - "LEFT": "Links", - "RIGHT": "Rechts" - }, - "ARIA_LABELS": { - "UP": "Spalte nach oben verschieben", - "TOP": "Spalte an den Anfang verschieben", - "DOWN": "Spalte nach unten verschieben", - "BOTTOM": "Spalte ans Ende verschieben", - "RIGHT": "Spalte als inaktiv setzen", - "ALL_RIGHT": "Alle Spalten als inaktiv setzen", - "LEFT": "Spalte als aktiv setzen", - "ALL_LEFT": "Alle Spalten als aktiv setzen", - "CLOSE": "Dialog schließen" - } + "OCX_CUSTOM_GROUP_COLUMN_SELECTOR": { + "DROPDOWN_LABEL": "Spalten", + "OPEN_BUTTON_DETAIL": "Dialog zur Auswahl einer benutzerdefinierten Gruppe öffnen", + "ACTIVE_COLUMNS_LABEL": "Aktive Spalten", + "INACTIVE_COLUMNS_LABEL": "Inaktive Spalten", + "SAVE_BUTTON_LABEL": "Speichern", + "CANCEL_BUTTON_LABEL": "Abbrechen", + "DIALOG_TITLE": "Spalten für benutzerdefinierte Gruppe auswählen", + "CONFIGURE_ACTION_COLUMN": { + "TITLE": "Aktionsspalte konfigurieren", + "FREEZE": "Aktionsspalte immer anzeigen", + "POSITION": "Position der Aktionsspalte", + "YES": "Ja", + "NO": "Nein", + "LEFT": "Links", + "RIGHT": "Rechts" }, - "OCX_SEARCH_CONFIG": { - "PLACEHOLDER": "Bitte geben Sie den Namen der Suchkonfiguration an.", - "SAVE_COLUMNS_OPTION": "Möchten Sie die angezeigten Spalten speichern?", - "SAVE_INPUT_FIELDS_OPTION": "Möchten Sie die Werte aus den Suchfeldern speichern?" + "ARIA_LABELS": { + "UP": "Spalte nach oben verschieben", + "TOP": "Spalte an den Anfang verschieben", + "DOWN": "Spalte nach unten verschieben", + "BOTTOM": "Spalte ans Ende verschieben", + "RIGHT": "Spalte als inaktiv setzen", + "ALL_RIGHT": "Alle Spalten als inaktiv setzen", + "LEFT": "Spalte als aktiv setzen", + "ALL_LEFT": "Alle Spalten als aktiv setzen", + "CLOSE": "Dialog schließen" + } + }, + "OCX_SEARCH_CONFIG": { + "PLACEHOLDER": "Bitte geben Sie den Namen der Suchkonfiguration an.", + "SAVE_COLUMNS_OPTION": "Möchten Sie die angezeigten Spalten speichern?", + "SAVE_INPUT_FIELDS_OPTION": "Möchten Sie die Werte aus den Suchfeldern speichern?" + }, + "OCX_LIST_GRID_SORT": { + "DROPDOWN": { + "PLACEHOLDER": "Sortierung auswählen", + "TITLE": "Sortieren nach" }, - "OCX_LIST_GRID_SORT": { - "DROPDOWN": { - "PLACEHOLDER": "Sortierung auswählen", - "TITLE": "Sortieren nach" - }, - "TOGGLE_BUTTON": { - "ASCENDING_TITLE": "Aufsteigend", - "DESCENDING_TITLE": "Absteigend", - "DEFAULT_TITLE": "Standard" - }, - "SORTING_BUTTON_ARIA_LABEL": "{{direction}} sortieren" + "TOGGLE_BUTTON": { + "ASCENDING_TITLE": "Aufsteigend", + "DESCENDING_TITLE": "Absteigend", + "DEFAULT_TITLE": "Standard" }, - "OCX_DATA_TABLE": { - "EMPTY_RESULT": "Keine Daten gefunden.", - "EMPTY_FILTER_MESSAGE": "Keine Filter gefunden.", - "ACTIONS_COLUMN_NAME": "Aktionen", - "COLUMN_FILTER_ARIA_LABEL": "Spaltenfilter", - "FILTER_TITLE": "Filter", - "FILTER_ARIA_LABEL": "Filter {{column}}", - "EDITED": "Bearbeitet", - "SHOWING": "{{first}} - {{last}} von {{totalRecords}}", - "SHOWING_WITH_TOTAL_ON_SERVER": "{{first}} - {{last}} von {{totalRecords}} ({{totalRecordsOnServer}})", - "ALL": "Alle", - "MORE_ACTIONS": "Weitere Aktionen", - "ACTIONS": { - "VIEW": "Anzeigen", - "EDIT": "Bearbeiten", - "DELETE": "Löschen" - }, - "TOGGLE_BUTTON": { - "ASCENDING_TITLE": "Aufsteigend", - "DESCENDING_TITLE": "Absteigend", - "DEFAULT_TITLE": "Standard", - "ARIA_LABEL": "{{column}} {{direction}} sortieren" - }, - "SELECT_ALL_ARIA_LABEL": "Selektiere alle Zeilen der Tabelle", - "SELECT_ARIA_LABEL": "Selektiere die Tabellenspalte mit der ID {{key}}" + "SORTING_BUTTON_ARIA_LABEL": "{{direction}} sortieren" + }, + "OCX_DATA_TABLE": { + "EMPTY_RESULT": "Keine Daten gefunden.", + "EMPTY_FILTER_MESSAGE": "Keine Filter gefunden.", + "ACTIONS_COLUMN_NAME": "Aktionen", + "COLUMN_FILTER_ARIA_LABEL": "Spaltenfilter", + "FILTER_TITLE": "Filter", + "FILTER_ARIA_LABEL": "Filter {{column}}", + "EDITED": "Bearbeitet", + "SHOWING": "{{first}} - {{last}} von {{totalRecords}}", + "SHOWING_WITH_TOTAL_ON_SERVER": "{{first}} - {{last}} von {{totalRecords}} ({{totalRecordsOnServer}})", + "ALL": "Alle", + "MORE_ACTIONS": "Weitere Aktionen", + "ACTIONS": { + "VIEW": "Anzeigen", + "EDIT": "Bearbeiten", + "DELETE": "Löschen" }, - "OCX_DATA_LIST_GRID": { - "EMPTY_RESULT": "Keine Daten gefunden.", - "MENU": { - "VIEW": "Anzeigen", - "EDIT": "Bearbeiten", - "DELETE": "Löschen" - }, - "MORE_ACTIONS": "Weitere Aktionen" + "TOGGLE_BUTTON": { + "ASCENDING_TITLE": "Aufsteigend", + "DESCENDING_TITLE": "Absteigend", + "DEFAULT_TITLE": "Standard", + "ARIA_LABEL": "{{column}} {{direction}} sortieren" }, - "OCX_DATA_LAYOUT_SELECTION": { - "LAYOUT": { - "LIST": "Liste", - "GRID": "Raster", - "TABLE": "Tabelle" - } + "SELECT_ALL_ARIA_LABEL": "Selektiere alle Zeilen der Tabelle", + "SELECT_ARIA_LABEL": "Selektiere die Tabellenspalte mit der ID {{key}}" + }, + "OCX_DATA_LIST_GRID": { + "EMPTY_RESULT": "Keine Daten gefunden.", + "MENU": { + "VIEW": "Anzeigen", + "EDIT": "Bearbeiten", + "DELETE": "Löschen" }, - "OCX_INTERACTIVE_DATA_VIEW": { - "DEFAULT_GROUP": "Standardgruppe", - "CUSTOM_GROUP": "Benutzerdefinierte Gruppe", - "NO_GROUP_SELECTED": "Keine Gruppe ausgewählt" - }, - "OCX_SEARCH_HEADER": { - "TOGGLE_BUTTON": { - "SIMPLE": { - "TEXT": "Einfach", - "DETAIL": "Zu einfachen Suchkriterien wechseln" - }, - "ADVANCED": { - "TEXT": "Erweitert", - "DETAIL": "Zu erweiterten Suchkriterien wechseln" - } - }, - "OCX_SEARCH_CONFIG": { - "DROPDOWN_DEFAULT": "Gespeicherte Suchvorlage auswählen" - }, - "HEADER": "Suche", - "RESET_BUTTON": { - "TEXT": "Zurücksetzen", - "ARIA_LABEL": "Suchkriterien zurücksetzen", - "DETAIL": "Suchkriterien zurücksetzen" - }, - "SEARCH_BUTTON": { - "TEXT": "Suchen", - "ARIA_LABEL": "Suche starten", - "DETAIL": "Suche starten" + "MORE_ACTIONS": "Weitere Aktionen" + }, + "OCX_DATA_LAYOUT_SELECTION": { + "LAYOUT": { + "LIST": "Liste", + "GRID": "Raster", + "TABLE": "Tabelle" + } + }, + "OCX_INTERACTIVE_DATA_VIEW": { + "DEFAULT_GROUP": "Standardgruppe", + "CUSTOM_GROUP": "Benutzerdefinierte Gruppe", + "NO_GROUP_SELECTED": "Keine Gruppe ausgewählt" + }, + "OCX_SEARCH_HEADER": { + "TOGGLE_BUTTON": { + "SIMPLE": { + "TEXT": "Einfach", + "DETAIL": "Zu einfachen Suchkriterien wechseln" }, - "EXPORT": "Alle Ereignisse exportieren" + "ADVANCED": { + "TEXT": "Erweitert", + "DETAIL": "Zu erweiterten Suchkriterien wechseln" + } + }, + "OCX_SEARCH_CONFIG": { + "DROPDOWN_DEFAULT": "Gespeicherte Suchvorlage auswählen" }, - "OCX_PAGE_HEADER": { - "MORE_ACTIONS": "Weitere Aktionen", - "HOME_DEFAULT_ARIA_LABEL": "Zur Startseite navigieren", - "HOME_ARIA_LABEL": "Zu {{page}} navigieren" + "HEADER": "Suche", + "RESET_BUTTON": { + "TEXT": "Zurücksetzen", + "ARIA_LABEL": "Suchkriterien zurücksetzen", + "DETAIL": "Suchkriterien zurücksetzen" }, - "OCX_DIAGRAM": { - "SUM": "Gesamtanzahl", - "NO_DATA": "Es sind keine Daten vorhanden", - "SWITCH_DIAGRAM_TYPE": { - "PIE": "Zu Tortendiagramm wechseln", - "HORIZONTAL_BAR": "Zu horizontalem Balkendiagramm wechseln", - "VERTICAL_BAR": "Zu vertikalem Balkendiagramm wechseln" - } + "SEARCH_BUTTON": { + "TEXT": "Suchen", + "ARIA_LABEL": "Suche starten", + "DETAIL": "Suche starten" }, - "OCX_TIMEAGO": { - "A_DAY_AGO": "vor einem Tag", - "A_FEW_SECONDS_AGO": "vor ein paar Sekunden", - "AN_HOUR_AGO": "vor einer Stunde", - "A_MINUTE_AGO": "vor einer Minute", - "A_MONAT_AGO": "vor einem Monat", - "A_YEAR_AGO": "vor einem Jahr", - "DAYS_AGO": "vor {{days}} Tagen", - "HOURS_AGO": "vor {{hours}} Stunden", - "MINUTES_AGO": "vor {{minutes}} Minuten", - "MONTHS_AGO": "vor {{months}} Monaten", - "YEARS_AGO": "vor {{years}} Jahren" + "EXPORT": "Alle Ereignisse exportieren" + }, + "OCX_PAGE_HEADER": { + "MORE_ACTIONS": "Weitere Aktionen", + "HOME_DEFAULT_ARIA_LABEL": "Zur Startseite navigieren", + "HOME_ARIA_LABEL": "Zu {{page}} navigieren" + }, + "OCX_DIAGRAM": { + "SUM": "Gesamtanzahl", + "NO_DATA": "Es sind keine Daten vorhanden", + "SWITCH_DIAGRAM_TYPE": { + "PIE": "Zu Tortendiagramm wechseln", + "HORIZONTAL_BAR": "Zu horizontalem Balkendiagramm wechseln", + "VERTICAL_BAR": "Zu vertikalem Balkendiagramm wechseln" } - } \ No newline at end of file + }, + "OCX_TIMEAGO": { + "A_DAY_AGO": "vor einem Tag", + "A_FEW_SECONDS_AGO": "vor ein paar Sekunden", + "AN_HOUR_AGO": "vor einer Stunde", + "A_MINUTE_AGO": "vor einer Minute", + "A_MONAT_AGO": "vor einem Monat", + "A_YEAR_AGO": "vor einem Jahr", + "DAYS_AGO": "vor {{days}} Tagen", + "HOURS_AGO": "vor {{hours}} Stunden", + "MINUTES_AGO": "vor {{minutes}} Minuten", + "MONTHS_AGO": "vor {{months}} Monaten", + "YEARS_AGO": "vor {{years}} Jahren" + }, + "OCX_PAGE_NOT_FOUND": { + "TITLE": "Die Seite wurde nicht gefunden.", + "MESSAGE": "Bitte kontaktieren Sie den Administrator, wenn Sie glauben, dass es sich hierbei um einen Fehler des Systems handelt." + } +} \ No newline at end of file diff --git a/libs/angular-accelerator/assets/i18n/en.json b/libs/angular-accelerator/assets/i18n/en.json index 4d89563f..2a4da0f6 100644 --- a/libs/angular-accelerator/assets/i18n/en.json +++ b/libs/angular-accelerator/assets/i18n/en.json @@ -1,149 +1,153 @@ { - "OCX_CUSTOM_GROUP_COLUMN_SELECTOR": { - "DROPDOWN_LABEL": "Columns", - "OPEN_BUTTON_DETAIL": "Open custom group selection dialog", - "ACTIVE_COLUMNS_LABEL": "Active columns", - "INACTIVE_COLUMNS_LABEL": "Inactive columns", - "SAVE_BUTTON_LABEL": "Save", - "CANCEL_BUTTON_LABEL": "Cancel", - "DIALOG_TITLE": "Custom group column selection", - "CONFIGURE_ACTION_COLUMN": { - "TITLE": "Configure action column", - "FREEZE": "Always show action column", - "POSITION": "Position of action column", - "YES": "Yes", - "NO": "No", - "LEFT": "Left", - "RIGHT": "Right" - }, - "ARIA_LABELS": { - "UP": "Move column up", - "TOP": "Move column to the top", - "DOWN": "Move column down", - "BOTTOM": "Move column to the bottom", - "RIGHT": "Set column as inactive", - "ALL_RIGHT": "Set all columns as inactive", - "LEFT": "Set column as active", - "ALL_LEFT": "Set all columns as active", - "CLOSE": "Close dialog" - } + "OCX_CUSTOM_GROUP_COLUMN_SELECTOR": { + "DROPDOWN_LABEL": "Columns", + "OPEN_BUTTON_DETAIL": "Open custom group selection dialog", + "ACTIVE_COLUMNS_LABEL": "Active columns", + "INACTIVE_COLUMNS_LABEL": "Inactive columns", + "SAVE_BUTTON_LABEL": "Save", + "CANCEL_BUTTON_LABEL": "Cancel", + "DIALOG_TITLE": "Custom group column selection", + "CONFIGURE_ACTION_COLUMN": { + "TITLE": "Configure action column", + "FREEZE": "Always show action column", + "POSITION": "Position of action column", + "YES": "Yes", + "NO": "No", + "LEFT": "Left", + "RIGHT": "Right" }, - "OCX_SEARCH_CONFIG": { - "PLACEHOLDER": "Please enter the name of the search configuration", - "SAVE_COLUMNS_OPTION": "Do you want to save the shown columns?", - "SAVE_INPUT_FIELDS_OPTION": "Do you want to save the input values from the input fields?" + "ARIA_LABELS": { + "UP": "Move column up", + "TOP": "Move column to the top", + "DOWN": "Move column down", + "BOTTOM": "Move column to the bottom", + "RIGHT": "Set column as inactive", + "ALL_RIGHT": "Set all columns as inactive", + "LEFT": "Set column as active", + "ALL_LEFT": "Set all columns as active", + "CLOSE": "Close dialog" + } + }, + "OCX_SEARCH_CONFIG": { + "PLACEHOLDER": "Please enter the name of the search configuration", + "SAVE_COLUMNS_OPTION": "Do you want to save the shown columns?", + "SAVE_INPUT_FIELDS_OPTION": "Do you want to save the input values from the input fields?" + }, + "OCX_LIST_GRID_SORT": { + "DROPDOWN": { + "PLACEHOLDER": "Select sorting", + "TITLE": "Sort by" }, - "OCX_LIST_GRID_SORT": { - "DROPDOWN": { - "PLACEHOLDER": "Select sorting", - "TITLE": "Sort by" - }, - "TOGGLE_BUTTON": { - "ASCENDING_TITLE": "Ascending", - "DESCENDING_TITLE": "Descending", - "DEFAULT_TITLE": "Default" - }, - "SORTING_BUTTON_ARIA_LABEL": "Toggle sorting direction to {{direction}}" + "TOGGLE_BUTTON": { + "ASCENDING_TITLE": "Ascending", + "DESCENDING_TITLE": "Descending", + "DEFAULT_TITLE": "Default" }, - "OCX_DATA_TABLE": { - "EMPTY_RESULT": "No data found.", - "EMPTY_FILTER_MESSAGE": "No filters found.", - "ACTIONS_COLUMN_NAME": "Actions", - "COLUMN_FILTER_ARIA_LABEL": "Column filter", - "FILTER_TITLE": "Filter", - "FILTER_ARIA_LABEL": "Filter {{column}}", - "EDITED": "Edited", - "SHOWING": "{{first}} - {{last}} of {{totalRecords}}", - "SHOWING_WITH_TOTAL_ON_SERVER": "{{first}} - {{last}} of {{totalRecords}} ({{totalRecordsOnServer}})", - "ALL": "All", - "MORE_ACTIONS": "More actions", - "ACTIONS": { - "VIEW": "View", - "EDIT": "Edit", - "DELETE": "Delete" - }, - "TOGGLE_BUTTON": { - "ASCENDING_TITLE": "Ascending", - "DESCENDING_TITLE": "Descending", - "DEFAULT_TITLE": "Default", - "ARIA_LABEL": "Toggle {{column}} sorting direction to {{direction}}" - }, - "SELECT_ALL_ARIA_LABEL": "Select all table rows", - "SELECT_ARIA_LABEL": "Select table row with id {{key}}" + "SORTING_BUTTON_ARIA_LABEL": "Toggle sorting direction to {{direction}}" + }, + "OCX_DATA_TABLE": { + "EMPTY_RESULT": "No data found.", + "EMPTY_FILTER_MESSAGE": "No filters found.", + "ACTIONS_COLUMN_NAME": "Actions", + "COLUMN_FILTER_ARIA_LABEL": "Column filter", + "FILTER_TITLE": "Filter", + "FILTER_ARIA_LABEL": "Filter {{column}}", + "EDITED": "Edited", + "SHOWING": "{{first}} - {{last}} of {{totalRecords}}", + "SHOWING_WITH_TOTAL_ON_SERVER": "{{first}} - {{last}} of {{totalRecords}} ({{totalRecordsOnServer}})", + "ALL": "All", + "MORE_ACTIONS": "More actions", + "ACTIONS": { + "VIEW": "View", + "EDIT": "Edit", + "DELETE": "Delete" }, - "OCX_DATA_LIST_GRID": { - "EMPTY_RESULT": "No data found.", - "MENU": { - "VIEW": "View", - "EDIT": "Edit", - "DELETE": "Delete" - }, - "MORE_ACTIONS": "More actions" + "TOGGLE_BUTTON": { + "ASCENDING_TITLE": "Ascending", + "DESCENDING_TITLE": "Descending", + "DEFAULT_TITLE": "Default", + "ARIA_LABEL": "Toggle {{column}} sorting direction to {{direction}}" }, - "OCX_DATA_LAYOUT_SELECTION": { - "LAYOUT": { - "LIST": "List", - "GRID": "Grid", - "TABLE": "Table" - } + "SELECT_ALL_ARIA_LABEL": "Select all table rows", + "SELECT_ARIA_LABEL": "Select table row with id {{key}}" + }, + "OCX_DATA_LIST_GRID": { + "EMPTY_RESULT": "No data found.", + "MENU": { + "VIEW": "View", + "EDIT": "Edit", + "DELETE": "Delete" }, - "OCX_INTERACTIVE_DATA_VIEW": { - "DEFAULT_GROUP": "Default group", - "CUSTOM_GROUP": "Custom group", - "NO_GROUP_SELECTED": "No group selected" - }, - "OCX_SEARCH_HEADER": { - "TOGGLE_BUTTON": { - "SIMPLE": { - "TEXT": "Simple", - "DETAIL": "Switch to simple search criteria" - }, - "ADVANCED": { - "TEXT": "Advanced", - "DETAIL": "Switch to advanced search criteria" - } - }, - "OCX_SEARCH_CONFIG": { - "DROPDOWN_DEFAULT": "Pick predefined template" - }, - "HEADER": "Search", - "RESET_BUTTON": { - "TEXT": "Reset", - "ARIA_LABEL": "Reset search criteria", - "DETAIL": "Reset search criteria" - }, - "SEARCH_BUTTON": { - "TEXT": "Search", - "ARIA_LABEL": "Start search", - "DETAIL": "Start search" + "MORE_ACTIONS": "More actions" + }, + "OCX_DATA_LAYOUT_SELECTION": { + "LAYOUT": { + "LIST": "List", + "GRID": "Grid", + "TABLE": "Table" + } + }, + "OCX_INTERACTIVE_DATA_VIEW": { + "DEFAULT_GROUP": "Default group", + "CUSTOM_GROUP": "Custom group", + "NO_GROUP_SELECTED": "No group selected" + }, + "OCX_SEARCH_HEADER": { + "TOGGLE_BUTTON": { + "SIMPLE": { + "TEXT": "Simple", + "DETAIL": "Switch to simple search criteria" }, - "EXPORT": "Export all events" + "ADVANCED": { + "TEXT": "Advanced", + "DETAIL": "Switch to advanced search criteria" + } + }, + "OCX_SEARCH_CONFIG": { + "DROPDOWN_DEFAULT": "Pick predefined template" }, - "OCX_PAGE_HEADER": { - "MORE_ACTIONS": "More actions", - "HOME_DEFAULT_ARIA_LABEL": "Go to home page", - "HOME_ARIA_LABEL": "Go to {{page}} home page" + "HEADER": "Search", + "RESET_BUTTON": { + "TEXT": "Reset", + "ARIA_LABEL": "Reset search criteria", + "DETAIL": "Reset search criteria" }, - "OCX_DIAGRAM": { - "SUM": "Total", - "NO_DATA": "There is no data available", - "SWITCH_DIAGRAM_TYPE": { - "PIE": "Switch to pie chart", - "HORIZONTAL_BAR": "Switch to horizontal bar chart", - "VERTICAL_BAR": "Switch to vertical bar chart" - } + "SEARCH_BUTTON": { + "TEXT": "Search", + "ARIA_LABEL": "Start search", + "DETAIL": "Start search" }, - "OCX_TIMEAGO": { - "A_DAY_AGO": "a day ago", - "A_FEW_SECONDS_AGO": "a few seconds ago", - "AN_HOUR_AGO": "an hour ago", - "A_MINUTE_AGO": "a minute ago", - "A_MONTH_AGO": "a month ago", - "A_YEAR_AGO": "a year ago", - "DAYS_AGO": "{{days}} days ago", - "HOURS_AGO": "{{hours}} hours ago", - "MINUTES_AGO": "{{minutes}} minutes ago", - "MONTHS_AGO": "{{months}} months ago", - "YEARS_AGO": "{{years}} years ago" + "EXPORT": "Export all events" + }, + "OCX_PAGE_HEADER": { + "MORE_ACTIONS": "More actions", + "HOME_DEFAULT_ARIA_LABEL": "Go to home page", + "HOME_ARIA_LABEL": "Go to {{page}} home page" + }, + "OCX_DIAGRAM": { + "SUM": "Total", + "NO_DATA": "There is no data available", + "SWITCH_DIAGRAM_TYPE": { + "PIE": "Switch to pie chart", + "HORIZONTAL_BAR": "Switch to horizontal bar chart", + "VERTICAL_BAR": "Switch to vertical bar chart" } - } \ No newline at end of file + }, + "OCX_TIMEAGO": { + "A_DAY_AGO": "a day ago", + "A_FEW_SECONDS_AGO": "a few seconds ago", + "AN_HOUR_AGO": "an hour ago", + "A_MINUTE_AGO": "a minute ago", + "A_MONTH_AGO": "a month ago", + "A_YEAR_AGO": "a year ago", + "DAYS_AGO": "{{days}} days ago", + "HOURS_AGO": "{{hours}} hours ago", + "MINUTES_AGO": "{{minutes}} minutes ago", + "MONTHS_AGO": "{{months}} months ago", + "YEARS_AGO": "{{years}} years ago" + }, + "OCX_PAGE_NOT_FOUND": { + "TITLE": "The page was not found.", + "MESSAGE": "Please contact the administrator if you think this happened due to a system error." + } +} \ No newline at end of file diff --git a/libs/angular-accelerator/package.json b/libs/angular-accelerator/package.json index 1b80cffa..d7ecf4db 100644 --- a/libs/angular-accelerator/package.json +++ b/libs/angular-accelerator/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-accelerator", - "version": "5.12.0", + "version": "5.12.2", "license": "Apache-2.0", "peerDependencies": { "@angular/common": "^18.0.5", diff --git a/libs/angular-accelerator/src/index.ts b/libs/angular-accelerator/src/index.ts index dce3968c..8615071f 100644 --- a/libs/angular-accelerator/src/index.ts +++ b/libs/angular-accelerator/src/index.ts @@ -19,6 +19,7 @@ export * from './lib/components/interactive-data-view/interactive-data-view.comp export * from './lib/components/page-header/page-header.component' export * from './lib/components/search-config/search-config.component' export * from './lib/components/search-header/search-header.component' +export * from './lib/components/page-not-found/page-not-found.component' // services export * from './lib/services/breadcrumb.service' diff --git a/libs/angular-accelerator/src/lib/angular-accelerator.module.ts b/libs/angular-accelerator/src/lib/angular-accelerator.module.ts index 5b9c93bf..394181a4 100644 --- a/libs/angular-accelerator/src/lib/angular-accelerator.module.ts +++ b/libs/angular-accelerator/src/lib/angular-accelerator.module.ts @@ -6,6 +6,7 @@ import { MissingTranslationHandler, MissingTranslationHandlerParams, TranslateMo import { UserService } from '@onecx/angular-integration-interface' +import { firstValueFrom, skip } from 'rxjs' import { AngularAcceleratorPrimeNgModule } from './angular-accelerator-primeng.module' import { ColumnGroupSelectionComponent } from './components/column-group-selection/column-group-selection.component' import { CustomGroupColumnSelectorComponent } from './components/custom-group-column-selector/custom-group-column-selector.component' @@ -18,18 +19,18 @@ import { DiagramComponent } from './components/diagram/diagram.component' import { GroupByCountDiagramComponent } from './components/group-by-count-diagram/group-by-count-diagram.component' import { InteractiveDataViewComponent } from './components/interactive-data-view/interactive-data-view.component' import { PageHeaderComponent } from './components/page-header/page-header.component' +import { PageNotFoundComponent } from './components/page-not-found/page-not-found.component' import { SearchConfigComponent } from './components/search-config/search-config.component' import { SearchHeaderComponent } from './components/search-header/search-header.component' import { AdvancedDirective } from './directives/advanced.directive' import { IfBreakpointDirective } from './directives/if-breakpoint.directive' import { HAS_PERMISSION_CHECKER, IfPermissionDirective } from './directives/if-permission.directive' import { SrcDirective } from './directives/src.directive' +import { TooltipOnOverflowDirective } from './directives/tooltipOnOverflow.directive' import { DynamicPipe } from './pipes/dynamic.pipe' import { OcxTimeAgoPipe } from './pipes/ocxtimeago.pipe' import { AppConfigService } from './services/app-config-service' import { DynamicLocaleId } from './utils/dynamic-locale-id' -import { firstValueFrom, skip } from 'rxjs' -import { TooltipOnOverflowDirective } from './directives/tooltipOnOverflow.directive' export class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler { handle(params: MissingTranslationHandlerParams) { @@ -68,6 +69,7 @@ function appInitializer(userService: UserService) { SearchHeaderComponent, DiagramComponent, GroupByCountDiagramComponent, + PageNotFoundComponent, IfPermissionDirective, IfBreakpointDirective, SrcDirective, diff --git a/libs/angular-accelerator/src/lib/components/page-not-found/page-not-found.component.ts b/libs/angular-accelerator/src/lib/components/page-not-found/page-not-found.component.ts new file mode 100644 index 00000000..825ce486 --- /dev/null +++ b/libs/angular-accelerator/src/lib/components/page-not-found/page-not-found.component.ts @@ -0,0 +1,9 @@ +import { Component } from '@angular/core' + +@Component({ + template: `