@decaf-ts/for-angular 0.0.72 → 0.0.74

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
@@ -5521,7 +5521,7 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
5521
5521
  * @returns {KeyValue} A mapper object that contains string values mapped to the
5522
5522
  * component's public keys.
5523
5523
  */
5524
- protected get _mapper(): KeyValue;
5524
+ protected getMapper(): Promise<KeyValue>;
5525
5525
  /**
5526
5526
  * @description Refreshes the list data from the configured source.
5527
5527
  * @summary This method handles both initial data loading and subsequent refresh operations,
@@ -5851,7 +5851,7 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
5851
5851
  *
5852
5852
  * @memberOf ListComponent
5853
5853
  */
5854
- mapResults(data: KeyValue[]): KeyValue[];
5854
+ mapResults(data: KeyValue[]): Promise<KeyValue[]>;
5855
5855
  parseSearchValue(): string | IFilterQuery;
5856
5856
  static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
5857
5857
  static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ngx-decaf-list", never, { "type": { "alias": "type"; "required": false; }; "showSearchbar": { "alias": "showSearchbar"; "required": false; }; "searchbarPlaceholder": { "alias": "searchbarPlaceholder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "source": { "alias": "source"; "required": false; }; "start": { "alias": "start"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "loadMoreData": { "alias": "loadMoreData"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; }; "scrollPosition": { "alias": "scrollPosition"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "showRefresher": { "alias": "showRefresher"; "required": false; }; "createButton": { "alias": "createButton"; "required": false; }; "loadingSpinner": { "alias": "loadingSpinner"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
@@ -8157,7 +8157,7 @@ declare class TableComponent extends ListComponent implements OnInit {
8157
8157
  ngOnInit(): Promise<void>;
8158
8158
  protected getFilterOptions(): Promise<void>;
8159
8159
  protected itemMapper(item: KeyValue, mapper: KeyValue, props?: KeyValue): KeyValue;
8160
- mapResults(data: KeyValue[]): KeyValue[];
8160
+ mapResults(data: KeyValue[]): Promise<KeyValue[]>;
8161
8161
  handleAction(event: Event, action: CrudOperations, uid: string): Promise<void>;
8162
8162
  openFilterSelectOptions(event: Event): Promise<void>;
8163
8163
  handleFilterSelectClear(event: CustomEvent): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-angular",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "author": "Tiago Venceslau and Contributors",
5
5
  "license": "MPL-2.0 OR AGPL-3.0",
6
6
  "repository": {