@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.
- package/esm2022/lib/table/empty-state/table-empty-state.component.mjs +15 -3
- package/esm2022/lib/table/model/table-config.interface.mjs +1 -1
- package/fesm2022/quadrel-enterprise-ui-framework.mjs +14 -2
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/lib/table/empty-state/table-empty-state.component.d.ts +7 -1
- package/lib/table/model/table-config.interface.d.ts +19 -0
- package/package.json +1 -1
- package/src/assets/i18n/de.json +1 -1
|
@@ -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
package/src/assets/i18n/de.json
CHANGED