wacom 20.0.19 → 20.0.21

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
@@ -129,6 +129,7 @@ interface CrudServiceInterface<Document> {
129
129
  update: (doc: Document) => any;
130
130
  delete: (doc: Document) => any;
131
131
  setPerPage?: (count: number) => void;
132
+ loaded: Promise<unknown>;
132
133
  }
133
134
  interface TableConfig<Document> {
134
135
  paginate?: (page?: number) => void;
@@ -318,6 +319,8 @@ declare abstract class CrudComponent<Service extends CrudServiceInterface<Docume
318
319
  private __core;
319
320
  /** AlertService handles alerts */
320
321
  private __alert;
322
+ /** ChangeDetectorRef handles on push strategy */
323
+ private __cdr;
321
324
  /** Internal reference to form service matching FormServiceInterface */
322
325
  private __form;
323
326
  /**
@@ -334,7 +337,7 @@ declare abstract class CrudComponent<Service extends CrudServiceInterface<Docume
334
337
  /**
335
338
  * Loads documents for a given page.
336
339
  */
337
- protected setDocuments(page?: number): void;
340
+ protected setDocuments(page?: number): Promise<void>;
338
341
  protected updatableFields: string[];
339
342
  /**
340
343
  * Clears temporary metadata before document creation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wacom",
3
- "version": "20.0.19",
3
+ "version": "20.0.21",
4
4
  "license": "MIT",
5
5
  "repository": "WebArtWork/wacom",
6
6
  "keywords": [