yukit-web 0.11.0 → 0.11.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.11.0",
4
+ "version": "0.11.1",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -735,8 +735,10 @@ export interface YuwPageRange {
735
735
  end: number;
736
736
  total: number;
737
737
  }
738
+ /** `ready` holds every load back until it is `true`: a list whose filters are restored asynchronously waits for them. */
738
739
  export interface YuwPagedListOptions<Filters> {
739
740
  filters: Signal<Filters>;
741
+ ready?: Signal<boolean>;
740
742
  total: Signal<number>;
741
743
  load: (query: YuwPageQuery<Filters>) => void;
742
744
  pageSize?: number;
@@ -757,7 +759,8 @@ export interface YuwPagedList<Filters> {
757
759
  /**
758
760
  * State of a list paged at the source and the query derived from it. Changing search, filters,
759
761
  * sorting or size returns to the first page within the same query; a total below the current page
760
- * steps back to the last existing one. Must be created in an injection context.
762
+ * steps back to the last existing one. Nothing is requested until `ready` is `true`, so the first query already carries
763
+ * the restored filters. Must be created in an injection context.
761
764
  */
762
765
  export declare function createPagedList<Filters>(options: YuwPagedListOptions<Filters>): YuwPagedList<Filters>;
763
766
  /**