@quadrel-enterprise-ui/framework 21.4.2 → 21.4.3
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/fesm2022/quadrel-enterprise-ui-framework.mjs +73 -14
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/de.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/i18n/it.json +1 -0
- package/types/quadrel-enterprise-ui-framework.d.ts +30 -4
package/package.json
CHANGED
package/src/assets/i18n/de.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"i18n.qd.datepicker.a11y.yearPicker": "Jahr wählen",
|
|
10
10
|
"i18n.qd.datepicker.a11y.monthPicker": "Monat wählen",
|
|
11
11
|
"i18n.qd.datepicker.a11y.dialogLabel": "Datum wählen",
|
|
12
|
+
"i18n.qd.emptyValue.a11y.label": "Kein Wert",
|
|
12
13
|
"i18n.qd.fileCollector.title": "Datei Upload",
|
|
13
14
|
"i18n.qd.fileCollector.section.title": "QdFileCollector in QdSection",
|
|
14
15
|
"i18n.qd.fileCollector.standalone.addNew": "Hinzufügen",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"i18n.qd.datepicker.a11y.yearPicker": "Choose year",
|
|
10
10
|
"i18n.qd.datepicker.a11y.monthPicker": "Choose month",
|
|
11
11
|
"i18n.qd.datepicker.a11y.dialogLabel": "Choose date",
|
|
12
|
+
"i18n.qd.emptyValue.a11y.label": "No value",
|
|
12
13
|
"i18n.qd.fileCollector.title": "File Upload",
|
|
13
14
|
"i18n.qd.fileCollector.section.title": "QdFileCollector in QdSection",
|
|
14
15
|
"i18n.qd.fileCollector.standalone.addNew": "Add new",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"i18n.qd.datepicker.a11y.yearPicker": "Choisir l'année",
|
|
10
10
|
"i18n.qd.datepicker.a11y.monthPicker": "Choisir le mois",
|
|
11
11
|
"i18n.qd.datepicker.a11y.dialogLabel": "Choisir la date",
|
|
12
|
+
"i18n.qd.emptyValue.a11y.label": "Aucune valeur",
|
|
12
13
|
"i18n.qd.fileCollector.title": "Téléchargement de fichiers",
|
|
13
14
|
"i18n.qd.fileCollector.section.title": "QdFileCollector in QdSection",
|
|
14
15
|
"i18n.qd.fileCollector.standalone.addNew": "Ajouter",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"i18n.qd.datepicker.a11y.yearPicker": "Scegli l'anno",
|
|
10
10
|
"i18n.qd.datepicker.a11y.monthPicker": "Scegli il mese",
|
|
11
11
|
"i18n.qd.datepicker.a11y.dialogLabel": "Scegli la data",
|
|
12
|
+
"i18n.qd.emptyValue.a11y.label": "Nessun valore",
|
|
12
13
|
"i18n.qd.fileCollector.title": "Upload di file",
|
|
13
14
|
"i18n.qd.fileCollector.section.title": "QdFileCollector in QdSection",
|
|
14
15
|
"i18n.qd.fileCollector.standalone.addNew": "Aggiungere",
|
|
@@ -1708,9 +1708,16 @@ interface QdDataFacetsChipConfig {
|
|
|
1708
1708
|
maxChipCount?: number;
|
|
1709
1709
|
}
|
|
1710
1710
|
/**
|
|
1711
|
-
* @description
|
|
1711
|
+
* @description A single chip: either the label as a string, or the object variant.
|
|
1712
|
+
*
|
|
1713
|
+
* A chip shows text. Use the content type that fits a value of another type, for example
|
|
1714
|
+
* "boolean" for `true` and `false`, or "integer" and "currency" for numbers.
|
|
1712
1715
|
*/
|
|
1713
|
-
type
|
|
1716
|
+
type QdDataFacetsChipEntry = string | QdDataFacetsChipDataObject;
|
|
1717
|
+
/**
|
|
1718
|
+
* @description Type definition for data: one chip or a list of chips.
|
|
1719
|
+
*/
|
|
1720
|
+
type QdDataFacetsChipData = QdDataFacetsChipEntry | QdDataFacetsChipEntry[];
|
|
1714
1721
|
/**
|
|
1715
1722
|
* @description object variant for data
|
|
1716
1723
|
*/
|
|
@@ -2270,6 +2277,8 @@ type QdTableRecentSecondaryAction<T extends string> = {
|
|
|
2270
2277
|
* @description Renders one or multiple chips.
|
|
2271
2278
|
*
|
|
2272
2279
|
* * Note: The content type "chip" can handle a single chip or an array of chips. A chip can be a simple string or an object of the form { label: string; state: QdChipState }.
|
|
2280
|
+
* * Note: A chip shows text. A value of another type is dropped and reported as an error. Use the content type that fits the value, for example "boolean" or "integer". Only when none of them fits, convert the value to a string yourself.
|
|
2281
|
+
* * Note: Entries without a label are dropped. If no entry is left at all, the component renders a dash instead of a chip.
|
|
2273
2282
|
* * Note: This is a base component for all potentially derived components and classes.
|
|
2274
2283
|
*/
|
|
2275
2284
|
declare class QdDataFacetsChipComponent implements OnInit, OnChanges {
|
|
@@ -2280,11 +2289,17 @@ declare class QdDataFacetsChipComponent implements OnInit, OnChanges {
|
|
|
2280
2289
|
private _chipsSubject;
|
|
2281
2290
|
chips$: Observable<QdDataFacetsChipDataObject[]>;
|
|
2282
2291
|
truncatedChips$: Observable<QdTableContentDataChipObject[]>;
|
|
2292
|
+
hasNoChips$: Observable<boolean>;
|
|
2293
|
+
readonly emptyValue = "-";
|
|
2294
|
+
readonly emptyValueI18n = "i18n.qd.emptyValue.a11y.label";
|
|
2283
2295
|
get maxChipCount(): number;
|
|
2284
2296
|
ngOnInit(): void;
|
|
2285
2297
|
ngOnChanges(): void;
|
|
2286
2298
|
private setChips;
|
|
2287
2299
|
private getChips;
|
|
2300
|
+
private toChip;
|
|
2301
|
+
private getLabel;
|
|
2302
|
+
private getState;
|
|
2288
2303
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsChipComponent, never>;
|
|
2289
2304
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsChipComponent, "qd-data-facets-chip", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
2290
2305
|
}
|
|
@@ -14844,13 +14859,22 @@ declare class QdValueFacetComponent<T> {
|
|
|
14844
14859
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdValueFacetComponent<any>, "qd-value-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
14845
14860
|
}
|
|
14846
14861
|
|
|
14862
|
+
/**
|
|
14863
|
+
* @description Renders the value of a status facet as a chip.
|
|
14864
|
+
*
|
|
14865
|
+
* * Note: Without a value the facet renders a dash instead of a chip.
|
|
14866
|
+
*/
|
|
14847
14867
|
declare class QdStatusFacetComponent<T> {
|
|
14848
14868
|
facet: QdPageHeaderFacetConfig<T>;
|
|
14849
14869
|
data: T;
|
|
14870
|
+
testId?: string;
|
|
14871
|
+
readonly emptyValue = "-";
|
|
14872
|
+
readonly emptyValueI18n = "i18n.qd.emptyValue.a11y.label";
|
|
14873
|
+
get hasValue(): boolean;
|
|
14850
14874
|
get stringData(): string;
|
|
14851
14875
|
get options(): QdFacetOptionsStatus;
|
|
14852
14876
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdStatusFacetComponent<any>, never>;
|
|
14853
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdStatusFacetComponent<any>, "qd-status-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
14877
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdStatusFacetComponent<any>, "qd-status-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
14854
14878
|
}
|
|
14855
14879
|
|
|
14856
14880
|
declare class QdDynamicFacetDirective {
|
|
@@ -14864,15 +14888,17 @@ declare class QdDynamicFacetComponent<T> implements OnInit, OnChanges {
|
|
|
14864
14888
|
dynamicFacet: QdDynamicFacetDirective;
|
|
14865
14889
|
facet: QdPageHeaderFacetConfig<T>;
|
|
14866
14890
|
data: T;
|
|
14891
|
+
testId?: string;
|
|
14867
14892
|
private ref;
|
|
14868
14893
|
get component(): {
|
|
14869
14894
|
data: Text;
|
|
14870
14895
|
facet: QdPageHeaderFacetConfig<T>;
|
|
14896
|
+
testId?: string;
|
|
14871
14897
|
};
|
|
14872
14898
|
ngOnInit(): void;
|
|
14873
14899
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14874
14900
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDynamicFacetComponent<any>, never>;
|
|
14875
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDynamicFacetComponent<any>, "qd-dynamic-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
14901
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDynamicFacetComponent<any>, "qd-dynamic-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
14876
14902
|
}
|
|
14877
14903
|
|
|
14878
14904
|
declare class QdCriticalityFacetComponent<T> implements OnChanges {
|