@quadrel-enterprise-ui/framework 20.32.0 → 20.32.1
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/index.d.ts
CHANGED
|
@@ -1840,13 +1840,20 @@ declare class QdDataFacetsBlankComponent {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
1842
|
/**
|
|
1843
|
-
* @description Renders a checkmark icon
|
|
1843
|
+
* @description Renders a checkmark icon when the value is `true` and a "x" icon when it is `false`.
|
|
1844
1844
|
*
|
|
1845
|
-
*
|
|
1845
|
+
* #### Notes & Best Practices:
|
|
1846
|
+
*
|
|
1847
|
+
* * The icon is only rendered when a value exists. `null` and `undefined` mean "no value"
|
|
1848
|
+
* and render nothing, so a cell without a value stays empty instead of showing a "x" icon.
|
|
1849
|
+
* * In a table or tree, group rows have no value of their own and therefore show no icon.
|
|
1850
|
+
* * This is a base component for all potentially derived components and classes.
|
|
1846
1851
|
*/
|
|
1847
|
-
declare class QdDataFacetsBooleanComponent {
|
|
1848
|
-
data?: boolean;
|
|
1852
|
+
declare class QdDataFacetsBooleanComponent implements OnChanges {
|
|
1853
|
+
data?: boolean | null;
|
|
1849
1854
|
testId?: string;
|
|
1855
|
+
hasValue: boolean;
|
|
1856
|
+
ngOnChanges(): void;
|
|
1850
1857
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsBooleanComponent, never>;
|
|
1851
1858
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsBooleanComponent, "qd-data-facets-boolean", never, { "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
1852
1859
|
}
|
|
@@ -2338,14 +2345,24 @@ declare class QdDataFacetsLinkComponent {
|
|
|
2338
2345
|
/**
|
|
2339
2346
|
* @description Renders a progress bar.
|
|
2340
2347
|
*
|
|
2341
|
-
*
|
|
2342
|
-
*
|
|
2343
|
-
*
|
|
2348
|
+
* #### Features:
|
|
2349
|
+
*
|
|
2350
|
+
* * The displayed text and the bar width both come from {@link normalizedValue}.
|
|
2351
|
+
* * Values are clamped to the inclusive range `[0, 100]`. `NaN` falls back to `0`.
|
|
2352
|
+
* * A value of `0` is a real value and renders a bar with `0%`.
|
|
2353
|
+
*
|
|
2354
|
+
* #### Notes & Best Practices:
|
|
2355
|
+
*
|
|
2356
|
+
* * The bar is only rendered when a value exists. `null` and `undefined` mean "no value"
|
|
2357
|
+
* and render nothing at all, so rows without a value stay empty instead of showing `0%`.
|
|
2358
|
+
* * In a table or tree, a cell without a value keeps the column empty. Group rows of a tree
|
|
2359
|
+
* have no progress of their own and therefore show no bar.
|
|
2344
2360
|
*/
|
|
2345
2361
|
declare class QdDataFacetsProgressComponent implements OnChanges {
|
|
2346
2362
|
data?: number | null;
|
|
2347
2363
|
testId?: string;
|
|
2348
2364
|
normalizedValue: number;
|
|
2365
|
+
hasValue: boolean;
|
|
2349
2366
|
ngOnChanges(): void;
|
|
2350
2367
|
private normalize;
|
|
2351
2368
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsProgressComponent, never>;
|