@quadrel-enterprise-ui/framework 18.21.8 → 18.22.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.
@@ -1,10 +1,16 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
2
  import { QdTableEmptyStateView } from '../model/table-config.interface';
2
3
  import { QdTableEmptyStateService } from '../services/empty-state.service';
3
4
  import * as i0 from "@angular/core";
4
- export declare class QdTableEmptyStateComponent {
5
+ export declare class QdTableEmptyStateComponent implements OnInit, OnChanges {
5
6
  private readonly emptyStateService;
6
7
  config: QdTableEmptyStateView;
8
+ translationParameter: {
9
+ [key: string]: string;
10
+ };
7
11
  constructor(emptyStateService: QdTableEmptyStateService);
12
+ ngOnInit(): void;
13
+ ngOnChanges(changes: SimpleChanges): void;
8
14
  getI18n(): string;
9
15
  handleClick(): void;
10
16
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTableEmptyStateComponent, never>;
@@ -257,5 +257,24 @@ export interface QdTableEmptyStateView {
257
257
  * Will only be triggered if "action" is set to "true
258
258
  */
259
259
  handler?: () => void;
260
+ /**
261
+ * @description Optional internationalization configuration parameter.
262
+ *
263
+ * This object specifies a key-value pair used for dynamic translations
264
+ * within the component. It allows developers to set a custom parameter
265
+ * name and corresponding value that is injected into translation string.
266
+ *
267
+ */
268
+ i18nParameter?: {
269
+ /**
270
+ * @description The placeholder name in the translation string.
271
+ * This corresponds to the key used within translation resources.
272
+ */
273
+ name: string;
274
+ /**
275
+ * @description The value to replace the placeholder with in the translated output
276
+ */
277
+ value: string;
278
+ };
260
279
  }
261
280
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "v18.21.8",
3
+ "version": "v18.22.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "~18.2.9",
6
6
  "@angular/common": "~18.2.9",
@@ -228,7 +228,7 @@
228
228
  "openDocuments": "Dokumente öffnen"
229
229
  },
230
230
  "empty": {
231
- "content": "Es sind noch keine Inhalte verfügbar.",
231
+ "content": "Es sind noch keine Inhalte für Warenhaus {{warehouseId}} verfügbar.",
232
232
  "action": "Einträge erstellen"
233
233
  }
234
234
  },