@messaia/cdk 13.0.0 → 13.0.3

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.
@@ -203,6 +203,11 @@ export declare abstract class GenericFormBaseComponent<TEntity extends IEntity,
203
203
  * @param control
204
204
  */
205
205
  protected invalidateControl(control: AbstractControl): void;
206
+ /**
207
+ * Shows form errors
208
+ * @param form
209
+ */
210
+ protected debugForm(form?: NgForm | FormGroup): void;
206
211
  /**
207
212
  * Loads the previous URL in the history list.
208
213
  * @param action
@@ -175,13 +175,11 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
175
175
  deleteItem(item: TEntity): void;
176
176
  /**
177
177
  * Deletes an item from the database.
178
- * @param ids the IDs of the items to delete
179
178
  */
180
179
  deleteItems(): void;
181
180
  /**
182
181
  * Toggles a property
183
- * @param id
184
- * @param enabled
182
+ * @param item
185
183
  * @param property
186
184
  */
187
185
  toggle(item: TEntity, property?: string): void;
@@ -213,6 +211,10 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
213
211
  * @param inc
214
212
  */
215
213
  protected include(...inc: string[]): void;
214
+ /**
215
+ * Add row menu items
216
+ */
217
+ protected addRowMenuItems(): void;
216
218
  /**
217
219
  * Check if the item is deleteable
218
220
  */
@@ -37,6 +37,11 @@ export declare abstract class GenericReactiveFormComponent<TEntity extends IEnti
37
37
  * Builds a new form
38
38
  */
39
39
  protected buildForm(): void;
40
+ /**
41
+ * Shows form errors
42
+ * @param form
43
+ */
44
+ protected debugForm(form?: FormGroup): void;
40
45
  static ɵfac: i0.ɵɵFactoryDeclaration<GenericReactiveFormComponent<any, any>, never>;
41
46
  static ɵdir: i0.ɵɵDirectiveDeclaration<GenericReactiveFormComponent<any, any>, never, never, {}, {}, never>;
42
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "13.0.0",
3
+ "version": "13.0.3",
4
4
  "peerDependencies": {},
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"