@elasticias/ui 1.0.27 → 1.0.28
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/package.json
CHANGED
package/types/elasticias-ui.d.ts
CHANGED
|
@@ -4407,6 +4407,11 @@ type EfTableDensity = 'compact' | 'default' | 'comfortable';
|
|
|
4407
4407
|
* 2. **`tbl-head-info` / `tbl-head-actions` slots**: still projected
|
|
4408
4408
|
* so the consumer can render the count text + density / columns /
|
|
4409
4409
|
* view-toggle buttons next to the table header.
|
|
4410
|
+
* 3. **`[loading]` is not optional.** Bind the screen's own loading
|
|
4411
|
+
* signal: without it the card can't tell "still fetching" from
|
|
4412
|
+
* "nothing to fetch" and greets a waiting user with the empty
|
|
4413
|
+
* state. While loading with no rows yet it shimmers `ef-skeleton`
|
|
4414
|
+
* rows (table and mobile list alike) and flags `aria-busy`.
|
|
4410
4415
|
*
|
|
4411
4416
|
* ```html
|
|
4412
4417
|
* <ef-data-card
|
|
@@ -4499,10 +4504,27 @@ declare class EfDataCardComponent<TRow = any> implements AfterContentInit {
|
|
|
4499
4504
|
readonly hidePager: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4500
4505
|
/** Currently active sort. Header click toggles asc / desc. */
|
|
4501
4506
|
readonly sort: _angular_core.InputSignal<EfDataCardSort>;
|
|
4507
|
+
/**
|
|
4508
|
+
* First load and every refresh. While true with no rows yet, the body
|
|
4509
|
+
* shimmers `ef-skeleton` placeholders instead of the empty state — a
|
|
4510
|
+
* list that is still loading must never say "nothing here yet". A
|
|
4511
|
+
* refresh that already has rows (paging, sorting, filtering) keeps
|
|
4512
|
+
* them on screen rather than blanking the table; either way the row
|
|
4513
|
+
* container is flagged `aria-busy`, as `ef-card` does.
|
|
4514
|
+
*/
|
|
4502
4515
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4503
4516
|
/** Empty string = no error. Non-empty triggers an error chip in tbl-head. */
|
|
4504
4517
|
readonly errorMsg: _angular_core.InputSignal<string>;
|
|
4505
4518
|
readonly loadingKey: _angular_core.InputSignal<string>;
|
|
4519
|
+
/**
|
|
4520
|
+
* Placeholder rows drawn while the first load is in flight. The page
|
|
4521
|
+
* size is what the operator is about to get, so it sets the height —
|
|
4522
|
+
* clamped so a 100-per-page list doesn't shimmer a full screen of
|
|
4523
|
+
* bars, and a 5-per-page one still reads as a list.
|
|
4524
|
+
*/
|
|
4525
|
+
readonly skeletonLines: _angular_core.Signal<number[]>;
|
|
4526
|
+
/** First load: nothing to show yet, so the rows are placeholders. */
|
|
4527
|
+
readonly showSkeleton: _angular_core.Signal<boolean>;
|
|
4506
4528
|
/**
|
|
4507
4529
|
* When `true`, double-clicking anywhere on a `<tr>` emits the row
|
|
4508
4530
|
* via `rowDoubleClick` and the body rows render with
|